diff --git a/.gitignore b/.gitignore index 35d50b35af..2ffb438219 100644 --- a/.gitignore +++ b/.gitignore @@ -90,7 +90,7 @@ /nix/config.h.in /nix/nix-daemon/nix-daemon.cc /nix/nix-setuid-helper/nix-setuid-helper.cc -/nix/scripts/guix-authenticate +/nix/scripts/authenticate /nix/scripts/list-runtime-roots /nix/scripts/offload /nix/scripts/substitute diff --git a/Makefile.am b/Makefile.am index 7fd29b90a8..4a190c4095 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,6 +12,7 @@ # Copyright © 2018 Nils Gillmann # Copyright © 2018 Julien Lepiller # Copyright © 2018 Oleg Pykhalov +# Copyright © 2018 Alex Vong # # This file is part of GNU Guix. # @@ -61,7 +62,9 @@ MODULES = \ guix/base16.scm \ guix/base32.scm \ guix/base64.scm \ + guix/ci.scm \ guix/cpio.scm \ + guix/docker.scm \ guix/records.scm \ guix/pki.scm \ guix/progress.scm \ @@ -74,6 +77,7 @@ MODULES = \ guix/discovery.scm \ guix/git-download.scm \ guix/hg-download.scm \ + guix/swh.scm \ guix/monads.scm \ guix/monad-repl.scm \ guix/gexp.scm \ @@ -100,6 +104,7 @@ MODULES = \ guix/build-system/android-ndk.scm \ guix/build-system/ant.scm \ guix/build-system/cargo.scm \ + guix/build-system/clojure.scm \ guix/build-system/cmake.scm \ guix/build-system/dub.scm \ guix/build-system/emacs.scm \ @@ -172,6 +177,8 @@ MODULES = \ guix/build/syscalls.scm \ guix/build/gremlin.scm \ guix/build/debug-link.scm \ + guix/build/clojure-build-system.scm \ + guix/build/clojure-utils.scm \ guix/build/emacs-utils.scm \ guix/build/java-utils.scm \ guix/build/lisp-utils.scm \ @@ -181,15 +188,24 @@ MODULES = \ guix/build/make-bootstrap.scm \ guix/search-paths.scm \ guix/packages.scm \ - guix/import/print.scm \ - guix/import/utils.scm \ - guix/import/gnu.scm \ - guix/import/snix.scm \ guix/import/cabal.scm \ + guix/import/cpan.scm \ guix/import/cran.scm \ - guix/import/hackage.scm \ + guix/import/crate.scm \ guix/import/elpa.scm \ + guix/import/gem.scm \ + guix/import/github.scm \ + guix/import/gnome.scm \ + guix/import/gnu.scm \ + guix/import/hackage.scm \ + guix/import/json.scm \ + guix/import/opam.scm \ + guix/import/print.scm \ + guix/import/pypi.scm \ + guix/import/snix.scm \ + guix/import/stackage.scm \ guix/import/texlive.scm \ + guix/import/utils.scm \ guix/scripts.scm \ guix/scripts/download.scm \ guix/scripts/perform-download.scm \ @@ -201,6 +217,7 @@ MODULES = \ guix/scripts/hash.scm \ guix/scripts/pack.scm \ guix/scripts/pull.scm \ + guix/scripts/processes.scm \ guix/scripts/substitute.scm \ guix/scripts/authenticate.scm \ guix/scripts/refresh.scm \ @@ -210,46 +227,29 @@ MODULES = \ guix/scripts/system/search.scm \ guix/scripts/lint.scm \ guix/scripts/challenge.scm \ + guix/scripts/import/crate.scm \ guix/scripts/import/cran.scm \ - guix/scripts/import/gnu.scm \ - guix/scripts/import/nix.scm \ - guix/scripts/import/hackage.scm \ guix/scripts/import/elpa.scm \ + guix/scripts/import/gem.scm \ + guix/scripts/import/gnu.scm \ + guix/scripts/import/hackage.scm \ + guix/scripts/import/json.scm \ + guix/scripts/import/nix.scm \ + guix/scripts/import/opam.scm \ + guix/scripts/import/pypi.scm \ + guix/scripts/import/stackage.scm \ guix/scripts/import/texlive.scm \ guix/scripts/environment.scm \ guix/scripts/publish.scm \ guix/scripts/edit.scm \ guix/scripts/size.scm \ guix/scripts/graph.scm \ + guix/scripts/weather.scm \ guix/scripts/container.scm \ guix/scripts/container/exec.scm \ guix.scm \ $(GNU_SYSTEM_MODULES) -if HAVE_GUILE_JSON - -MODULES += \ - guix/ci.scm \ - guix/docker.scm \ - guix/import/cpan.scm \ - guix/import/crate.scm \ - guix/import/gem.scm \ - guix/import/github.scm \ - guix/import/gnome.scm \ - guix/import/json.scm \ - guix/import/opam.scm \ - guix/import/pypi.scm \ - guix/import/stackage.scm \ - guix/scripts/import/crate.scm \ - guix/scripts/import/gem.scm \ - guix/scripts/import/json.scm \ - guix/scripts/import/opam.scm \ - guix/scripts/import/pypi.scm \ - guix/scripts/import/stackage.scm \ - guix/scripts/weather.scm - -endif - if HAVE_GUILE_SSH MODULES += \ @@ -279,10 +279,10 @@ dist_noinst_DATA = guix/tests.scm guix/tests/http.scm # Auxiliary files for packages. AUX_FILES = \ gnu/packages/aux-files/emacs/guix-emacs.el \ - gnu/packages/aux-files/linux-libre/4.18-arm.conf \ - gnu/packages/aux-files/linux-libre/4.18-arm64.conf \ - gnu/packages/aux-files/linux-libre/4.18-i686.conf \ - gnu/packages/aux-files/linux-libre/4.18-x86_64.conf \ + gnu/packages/aux-files/linux-libre/4.19-arm.conf \ + gnu/packages/aux-files/linux-libre/4.19-arm64.conf \ + gnu/packages/aux-files/linux-libre/4.19-i686.conf \ + gnu/packages/aux-files/linux-libre/4.19-x86_64.conf \ gnu/packages/aux-files/linux-libre/4.14-arm.conf \ gnu/packages/aux-files/linux-libre/4.14-i686.conf \ gnu/packages/aux-files/linux-libre/4.14-x86_64.conf \ @@ -329,7 +329,11 @@ SCM_TESTS = \ tests/base16.scm \ tests/base32.scm \ tests/base64.scm \ + tests/channels.scm \ + tests/cpan.scm \ tests/cpio.scm \ + tests/crate.scm \ + tests/gem.scm \ tests/pki.scm \ tests/print.scm \ tests/sets.scm \ @@ -343,6 +347,7 @@ SCM_TESTS = \ tests/ui.scm \ tests/status.scm \ tests/records.scm \ + tests/processes.scm \ tests/upstream.scm \ tests/combinators.scm \ tests/discovery.scm \ @@ -382,28 +387,22 @@ SCM_TESTS = \ tests/services.scm \ tests/scripts-build.scm \ tests/containers.scm \ + tests/opam.scm \ tests/pack.scm \ + tests/pypi.scm \ tests/import-utils.scm \ tests/store-database.scm \ tests/store-deduplication.scm -if HAVE_GUILE_JSON - -SCM_TESTS += \ - tests/pypi.scm \ - tests/opam.scm \ - tests/cpan.scm \ - tests/gem.scm \ - tests/crate.scm - -endif - SH_TESTS = \ tests/guix-build.sh \ + tests/guix-build-branch.sh \ tests/guix-download.sh \ tests/guix-gc.sh \ tests/guix-hash.sh \ tests/guix-pack.sh \ + tests/guix-pack-localstatedir.sh \ + tests/guix-pack-relocatable.sh \ tests/guix-package.sh \ tests/guix-package-net.sh \ tests/guix-system.sh \ @@ -460,8 +459,9 @@ check-system: $(GOBJECTS) # Public key used to sign substitutes from hydra.gnu.org & co. dist_pkgdata_DATA = \ - hydra.gnu.org.pub \ - berlin.guixsd.org.pub + etc/substitutes/hydra.gnu.org.pub \ + etc/substitutes/berlin.guixsd.org.pub \ + etc/substitutes/ci.guix.info.pub # Bash completion file. dist_bashcompletion_DATA = etc/completion/bash/guix \ @@ -593,18 +593,17 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ --enable-daemon \ ac_cv_guix_test_root="$(GUIX_TEST_ROOT)" -# The self-contained tarball. Add 'glibc-utf8-locales' along with glibc just -# so 'etc/profile' defines 'GUIX_LOCPATH' pointing to a valid set of locales. +# The self-contained tarball. guix-binary.%.tar.xz: $(AM_V_GEN)GUIX_PACKAGE_PATH= \ tarball=`$(top_builddir)/pre-inst-env guix pack -K -C xz \ - -s "$*" --localstatedir guix glibc-utf8-locales \ - -e '(@@ (gnu packages commencement) glibc-final)'` ; \ + -s "$*" --localstatedir --profile-name=current-guix guix` ; \ cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@" dist-hook: $(distdir)/ChangeLog gen-AUTHORS gen-tarball-version dist-hook: assert-no-store-file-names +dist-hook: doc-po-update distcheck-hook: assert-binaries-available assert-final-inputs-self-contained @@ -765,7 +764,7 @@ assert-no-store-file-names: $(distdir)/ChangeLog exit 1 ; \ fi -# Make sure hydra.gnu.org has the important binaries. +# Make sure important substitutes are available. assert-binaries-available: $(GOBJECTS) $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \ "$(top_srcdir)/build-aux/check-available-binaries.scm" diff --git a/NEWS b/NEWS index 891eb9e57a..b78c2c6a71 100644 --- a/NEWS +++ b/NEWS @@ -11,15 +11,109 @@ Copyright © 2016, 2017, 2018 Ricardo Wurmus Please send Guix bug reports to bug-guix@gnu.org. -* Changes since 0.15.0 +* Changes in 0.16.0 (since 0.15.0) ** Package management +*** Default substitute URL changed to https://ci.guix.info +*** ‘guix pull -l’ lists new and upgraded packages +*** ‘guix pull’ now supports channels via ~/.config/guix/channels.scm +*** New ‘--profile’ or ‘-p’ option for ‘guix pull’ +*** ~/.config/guix/current is now a symlink to /var/guix/profiles +*** New ‘guix describe’ command +*** ‘guix package’ no longer shows build logs by default +*** ‘guix’ commands now produce colored output by default +*** User interface now reports grafts separately +*** Manifests can now refer to arbitrary Guix commits using “inferiors” +*** New ‘--with-branch’ and ‘--with-commit’ package transformation options +*** ‘guix build -f’ now accepts any kind of “file-like object” +*** Git checkouts may now be fetched from Software Heritage +*** New ‘guix repl’ command for use by inferiors +*** New ‘guix processes’ command +*** ‘guix pack’ now honors ‘--localstatedir’ for all its backends +*** New ‘opam’ importer for ‘guix import’ *** ‘guix import pypi’ has a new ‘--recursive’ option *** ‘guix import hackage’ has a new ‘--recursive’ option *** ‘guix import stackage’ has a new ‘--recursive’ option The short option for ‘--lts-version’ is now ‘-l’ (used to be ‘-r’). +*** ‘guix refresh’ now stores upstream keys in ~/.config/guix/upstream +*** Guix now depends on Guile-Gcrypt +*** Guix now requires Guile-JSON +** Distribution + +*** Rust is now bootstrapped from mrustc +*** The GNU Shepherd was upgraded to 0.5.0 +*** ‘guix system reconfigure’ now loads Shepherd service replacements +*** ‘herd schedule mcron’ now displays mcron’s job schedule +*** ‘herd statistics nscd’ now displays nscd statistics +*** ‘herd invalidate nscd TABLE’ instructs nscd to invalidate TABLE +*** New services + +ddclient, gitolite, iptables, pcscd, prometheus-node-exporter, varnish + +*** 985 new packages + +*** 1945 package updates + +Noteworthy updates: +bash 4.4.23, binutils 2.31.1, cups 2.2.8, enlightenment 0.22.4, gcc 8.2.0, +gdb 8.2, ghc 8.4.3, gimp 2.10.6, glibc 2.28, gnupg 2.2.11, go 1.11.1, +guile 2.2.4, icecat 60.3.0-gnu1, icedtea 3.7.0, libreoffice 6.1.3.2, +linux-libre 4.19.6, ocaml 4.07.1, octave 4.4.1, perl 5.28.0, +python2 2.7.15, python 3.7.0, racket 7.0, rust 1.28.0, r 3.5.1, +sbcl 1.4.13, shepherd 0.5.0, xorg-server 1.20.3 + +** Programming interfaces + +*** New (guix channels) module, see “Channels” in the manual +*** New (guix inferior) module, see “Inferiors” in the manual +*** New (guix describe) module, used by ‘guix describe’ +*** New (guix status) module, for build progress reporting +*** ‘packages->manifest’ now accepts inferior packages +*** New build systems: ‘clojure’, ‘guile’ +*** New ‘git-checkout’ record constructor in (guix git) +*** Shepherd services can now declare custom actions +*** More of the (gnu system …) APIs are now non-monadic +*** New ‘add-file-tree-to-store’ procedure in (guix store) +*** New (guix swh) module to access Software Heritage +*** New (guix build debug-link) module, for ELF ‘.gnu_debuglink’ sections + +** Noteworthy bug fixes + +*** Fix GCC crashes caused by a patch of ours () +*** ‘guix import hackage’ now supports ‘custom-setup’ field + () +*** ‘guix-daemon’ taken from ‘guix pull’ looks up ‘guix’ in the right place + () +*** Try several file names when looking up kernel modules + () +*** ‘file-system-*’ services are now always started after ‘udev’ + () +*** Racket now ignores bytecode checksums for files in the store + () +*** Grafting now updates CRCs in ‘.gnu_debuglink’ ELF sections + () +*** UUID computation for VMs is now deterministic () +*** ‘git-predicate’ from (guix git) now uses Guile-Git, which fixes corner cases + () +*** (guix store database) registers each store item only once + () +*** The File > Open dialog in LibreOffice no longer triggers a crash + () +*** Account home directory is always honored () + +** Native language support + +*** The manual is now partially translated into German, in addition to French + +To read the German manual, just type “info guix.de” or read it on-line at +. Consider translating the manual +to your native language by joining the Translation Project: +. + +*** Updated translations: +*** New translations: * Changes in 0.15.0 (since 0.14.0) diff --git a/README b/README index 4c76c4bc43..e7871917f2 100644 --- a/README +++ b/README @@ -24,10 +24,10 @@ GNU Guix currently depends on the following packages: - [[https://notabug.org/cwebber/guile-gcrypt][Guile-Gcrypt]] 0.1.0 or later - [[https://www.gnu.org/software/make/][GNU Make]] - [[https://www.gnutls.org][GnuTLS]] compiled with guile support enabled - - [[https://notabug.org/civodul/guile-sqlite3][Guile-SQLite3]], version 0.1.0 or later + - [[https://notabug.org/guile-sqlite3/guile-sqlite3][Guile-SQLite3]], version 0.1.0 or later - [[https://gitlab.com/guile-git/guile-git][Guile-Git]] - [[http://www.zlib.net/][zlib]] - - optionally [[https://savannah.nongnu.org/projects/guile-json/][Guile-JSON]], for the 'guix import pypi' command + - [[https://savannah.nongnu.org/projects/guile-json/][Guile-JSON]] Unless `--disable-daemon' was passed, the following packages are needed: diff --git a/build-aux/check-available-binaries.scm b/build-aux/check-available-binaries.scm index b832d99935..c80db1a37e 100644 --- a/build-aux/check-available-binaries.scm +++ b/build-aux/check-available-binaries.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -17,7 +17,7 @@ ;;; along with GNU Guix. If not, see . ;;; -;;; Check whether important binaries are available at hydra.gnu.org. +;;; Check whether important binaries are available. ;;; (use-modules (guix store) diff --git a/build-aux/check-final-inputs-self-contained.scm b/build-aux/check-final-inputs-self-contained.scm index 37dc883d3c..c819086508 100644 --- a/build-aux/check-final-inputs-self-contained.scm +++ b/build-aux/check-final-inputs-self-contained.scm @@ -17,7 +17,7 @@ ;;; along with GNU Guix. If not, see . ;;; -;;; Check whether important binaries are available at hydra.gnu.org. +;;; Check whether important binaries are available. ;;; (use-modules (guix store) diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm index d6b0132807..05d430df0a 100644 --- a/build-aux/hydra/gnu-system.scm +++ b/build-aux/hydra/gnu-system.scm @@ -187,14 +187,14 @@ system.") (bootloader u-boot-bootloader) (target #f)))) #:disk-image-size - (* 1024 MiB)))))) + (* 1500 MiB)))))) (list (->job 'usb-image (run-with-store store (mbegin %store-monad (set-guile-for-build (default-guile)) (system-disk-image installation-os #:disk-image-size - (* 1024 MiB))))) + (* 1500 MiB))))) (->job 'iso9660-image (run-with-store store (mbegin %store-monad diff --git a/build-aux/update-NEWS.scm b/build-aux/update-NEWS.scm index a9dffef1d2..bf5f0e141b 100644 --- a/build-aux/update-NEWS.scm +++ b/build-aux/update-NEWS.scm @@ -30,6 +30,7 @@ (ice-9 match) (ice-9 rdelim) (ice-9 regex) + (ice-9 vlist) (ice-9 pretty-print)) (define %header-rx @@ -98,31 +99,60 @@ paragraph." (lambda (match port) (let ((stars (match:substring match 1))) (format port - "~a ~a new packages~%~%~a~%~%" - stars (length added) - (enumeration->paragraph added))))))))) + "~a ~a new packages~%~%" + stars (length added))))))))) (define (write-packages-updates news-file old new) "Write to NEWS-FILE the list of packages upgraded between OLD and NEW." - (let ((upgraded (filter-map (match-lambda - ((package . new-version) - (match (assoc package old) - ((_ . old-version) - (and (version>? new-version old-version) - (string-append package "@" - new-version))) - (_ #f)))) - new))) + (define important + '("gcc" "glibc" "binutils" "gdb" ;toolchain + "shepherd" "linux-libre" "xorg-server" "cups" ;OS + "gnome" "xfce" "enlightenment" "lxde" "mate" ;desktop env. + "guile" "bash" "python" "python2" "perl" ;languages + "ghc" "rust" "go" "julia" "r" "ocaml" + "icedtea" "openjdk" "clojure" "sbcl" "racket" + "emacs" "gimp" "inkscape" "libreoffice" ;applications + "octave" "icecat" "gnupg")) + + (let* ((table (fold (lambda (package table) + (match package + ((name . version) + (vhash-cons name version table)))) + vlist-null + new)) + (latest (lambda (name) + (let ((versions (vhash-fold* cons '() name table))) + (match (sort versions version>?) + ((latest . _) latest))))) + (upgraded (filter-map (match-lambda + ((package . new-version) + (match (assoc package old) + ((_ . old-version) + (and (string=? new-version + (latest package)) + (version>? new-version old-version) + (cons package new-version))) + (_ #f)))) + new)) + (noteworthy (filter (match-lambda + ((package . version) + (member package important))) + upgraded))) (with-atomic-file-replacement news-file (lambda (input output) (rewrite-org-section input output (make-regexp "^(\\*+) (.*) package updates") (lambda (match port) - (let ((stars (match:substring match 1))) + (let ((stars (match:substring match 1)) + (lst (map (match-lambda + ((package . version) + (string-append package " " + version))) + noteworthy))) (format port - "~a ~a package updates~%~%~a~%~%" + "~a ~a package updates~%~%Noteworthy updates:~%~a~%~%" stars (length upgraded) - (enumeration->paragraph upgraded))))))))) + (enumeration->paragraph lst))))))))) (define (main . args) @@ -138,6 +168,8 @@ paragraph." (let-values (((previous-version new-version) (call-with-input-file news-file NEWS->versions))) + (format (current-error-port) "Updating NEWS for ~a to ~a...~%" + previous-version new-version) (let* ((old (call-with-input-file (package-file previous-version) read)) (new (fold-packages (lambda (p r) diff --git a/build-aux/update-guix-package.scm b/build-aux/update-guix-package.scm index 9598872dfd..83f6eca6bb 100644 --- a/build-aux/update-guix-package.scm +++ b/build-aux/update-guix-package.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017 Ludovic Courtès +;;; Copyright © 2017, 2018 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -133,7 +133,8 @@ COMMIT." ;; Add an indirect GC root for SOURCE in the current directory. (false-if-exception (delete-file root)) (symlink source root) - (add-indirect-root store root) + (add-indirect-root store + (string-append (getcwd) "/" root)) (format #t "source code for commit ~a: ~a (GC root: ~a)~%" commit source root))))) diff --git a/config-daemon.ac b/config-daemon.ac index 04f0fde3b2..e5b0ee082c 100644 --- a/config-daemon.ac +++ b/config-daemon.ac @@ -120,15 +120,7 @@ if test "x$guix_build_daemon" = "xyes"; then dnl Determine the appropriate default list of substitute URLs (GnuTLS dnl is required so we can default to 'https'.) - case "x$host_cpu" in - xaarch64) - # Currently only berlin.guixsd.org provides aarch64 binaries. - guix_substitute_urls="https://berlin.guixsd.org" - ;; - *) - guix_substitute_urls="https://mirror.hydra.gnu.org" - ;; - esac + guix_substitute_urls="https://ci.guix.info" AC_MSG_CHECKING([for default substitute URLs]) AC_MSG_RESULT([$guix_substitute_urls]) @@ -163,8 +155,8 @@ if test "x$guix_build_daemon" = "xyes"; then [chmod +x nix/scripts/download]) AC_CONFIG_FILES([nix/scripts/substitute], [chmod +x nix/scripts/substitute]) - AC_CONFIG_FILES([nix/scripts/guix-authenticate], - [chmod +x nix/scripts/guix-authenticate]) + AC_CONFIG_FILES([nix/scripts/authenticate], + [chmod +x nix/scripts/authenticate]) AC_CONFIG_FILES([nix/scripts/offload], [chmod +x nix/scripts/offload]) fi diff --git a/configure.ac b/configure.ac index 2a1edbc321..2817e6e24d 100644 --- a/configure.ac +++ b/configure.ac @@ -122,9 +122,11 @@ if test "x$have_guile_git" != "xyes"; then AC_MSG_ERROR([Guile-Git is missing; please install it.]) fi -dnl Guile-JSON is used in various places. +dnl Check for Guile-JSON. GUILE_MODULE_AVAILABLE([have_guile_json], [(json)]) -AM_CONDITIONAL([HAVE_GUILE_JSON], [test "x$have_guile_json" = "xyes"]) +if test "x$have_guile_json" != "xyes"; then + AC_MSG_ERROR([Guile-JSON is missing; please install it.]) +fi dnl Guile-Sqlite3 is used by the (guix store ...) modules. GUIX_CHECK_GUILE_SQLITE3 diff --git a/doc/contributing.de.texi b/doc/contributing.de.texi new file mode 100644 index 0000000000..9997092a9e --- /dev/null +++ b/doc/contributing.de.texi @@ -0,0 +1,534 @@ +@node Mitwirken +@chapter Mitwirken + +Dieses Projekt basiert auf Kooperation, daher benötigen wir Ihre Hilfe, um +es wachsen zu lassen! Bitte kontaktieren Sie uns auf +@email{guix-devel@@gnu.org} und @code{#guix} im Freenode-IRC-Netzwerk. Wir +freuen uns auf Ihre Ideen, Fehlerberichte, Patches und alles, was hilfreich +für das Projekt sein könnte. Besonders willkommen ist Hilfe bei der +Erstellung von Paketen (@pxref{Paketrichtlinien}). + +@cindex Verhaltensregeln, für Mitwirkende +@cindex Verhaltenskodex für Mitwirkende +Wir möchten eine angenehme, freundliche und von Belästigungen freie Umgebung +bereitstellen, so dass jeder Beiträge nach seinen Fähigkeiten leisten +kann. Zu diesem Zweck verwendet unser Projekt einen »Verhaltenskodex für +Mitwirkende«, der von @url{http://contributor-covenant.org/} übernommen +wurde. Eine übersetzte Fassung finden Sie auf +@url{https://www.contributor-covenant.org/de/version/1/4/code-of-conduct} +sowie eine mitgelieferte, englische Fassung in der Datei +@file{CODE-OF-CONDUCT} im Quellbaum. + +Von Mitwirkenden wird nicht erwartet, dass sie in Patches oder in der +Online-Kommunikation ihre echten Namen preisgeben. Sie können einen +beliebigen Namen oder ein Pseudonym ihrer Wahl verwenden. + +@menu +* Erstellung aus dem Git:: Das Neueste und Beste. +* Guix vor der Installation ausführen:: Hacker-Tricks. +* Perfekt eingerichtet:: Die richtigen Werkzeuge. +* Code-Stil:: Wie Mitwirkende hygienisch arbeiten. +* Einreichen von Patches:: Teilen Sie Ihre Arbeit. +@end menu + +@node Erstellung aus dem Git +@section Erstellung aus dem Git + +Wenn Sie an Guix selbst hacken wollen, ist es empfehlenswert, dass Sie die +neueste Version aus dem Git-Softwarebestand verwenden: + +@example +git clone https://git.savannah.gnu.org/git/guix.git +@end example + +Wenn Sie Guix aus einem Checkout erstellen, sind außer den bereits in den +Installationsanweisungen genannten Paketen weitere nötig +(@pxref{Voraussetzungen}). + +@itemize +@item @url{http://gnu.org/software/autoconf/, GNU Autoconf}; +@item @url{http://gnu.org/software/automake/, GNU Automake}; +@item @url{http://gnu.org/software/gettext/, GNU Gettext}; +@item @url{http://gnu.org/software/texinfo/, GNU Texinfo}; +@item @url{http://www.graphviz.org/, Graphviz}; +@item @url{http://www.gnu.org/software/help2man/, GNU Help2man (optional)}. +@end itemize + +Der einfachste Weg, eine Entwicklungsumgebung für Guix einzurichten, ist +natürlich, Guix zu benutzen! Der folgende Befehl startet eine neue Shell, in +der alle Abhängigkeiten und Umgebungsvariablen bereits eingerichtet sind, um +an Guix zu arbeiten: + +@example +guix environment guix +@end example + +In @xref{Aufruf von guix environment} finden Sie weitere Informationen zu +diesem Befehl. Zusätzliche Abhängigkeiten können mit @option{--ad-hoc} +hinzugefügt werden: + +@example +guix environment guix --ad-hoc help2man git strace +@end example + +Führen Sie @command{./bootstrap} aus, um die Infrastruktur des +Erstellungssystems mit Autoconf und Automake zu erstellen. Möglicherweise +erhalten Sie eine Fehlermeldung wie diese: + +@example +configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES +@end example + +@noindent +Das bedeutet wahrscheinlich, dass Autoconf @file{pkg.m4} nicht finden +konnte, welches von pkg-config bereitgestellt wird. Stellen Sie sicher, dass +@file{pkg.m4} verfügbar ist. Gleiches gilt für den von Guile +bereitgestellten Makrosatz @file{guile.m4}. Wenn Sie beispielsweise Automake +in @file{/usr/local} installiert haben, würde in @file{/usr/share} nicht +nach @file{.m4}-Dateien geschaut. In einem solchen Fall müssen Sie folgenden +Befehl aufrufen: + +@example +export ACLOCAL_PATH=/usr/share/aclocal +@end example + +In @xref{Macro Search Path,,, automake, The GNU Automake Manual} finden Sie +weitere Informationen. + +Dann führen Sie wie gewohnt @command{./configure} aus. Achten Sie darauf, +@code{--localstatedir=@var{Verzeichnis}} zu übergeben, wobei +@var{Verzeichnis} der von Ihrer aktuellen Installation verwendete +@code{localstatedir}-Wert ist (weitere Informationen auf @pxref{Der Store}). + +Zum Schluss müssen Sie @code{make check} aufrufen, um die Tests auszuführen +(@pxref{Die Testsuite laufen lassen}). Falls etwas fehlschlägt, werfen Sie einen +Blick auf die Installationsanweisungen (@pxref{Installation}) oder senden +Sie eine E-Mail an die @email{guix-devel@@gnu.org, Mailingliste}. + + +@node Guix vor der Installation ausführen +@section Guix vor der Installation ausführen + +Um eine gesunde Arbeitsumgebung zu erhalten, ist es hilfreich, die im +lokalen Quellbaum vorgenommenen Änderungen zunächst zu testen, ohne sie +tatsächlich zu installieren. So können Sie zwischen Ihrem +Endnutzer-»Straßenanzug« und Ihrem »Faschingskostüm« unterscheiden. + +To that end, all the command-line tools can be used even if you have not run +@code{make install}. To do that, you first need to have an environment with +all the dependencies available (@pxref{Erstellung aus dem Git}), and then simply +prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} +script lives in the top build tree of Guix; it is generated by +@command{./configure}), as in@footnote{The @option{-E} flag to +@command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such +that @command{guix-daemon} and the tools it uses can find the Guile modules +they need.}: + +@example +$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild +$ ./pre-inst-env guix build hello +@end example + +@noindent +Entsprechend, um eine Guile-Sitzung zu öffnen, die die Guix-Module benutzt: + +@example +$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))' + +;;; ("x86_64-linux") +@end example + +@noindent +@cindex REPL +@cindex Lese-Auswerten-Schreiben-Schleife +@dots{} und auf einer REPL (@pxref{Using Guile Interactively,,, guile, Guile +Reference Manual}): + +@example +$ ./pre-inst-env guile +scheme@@(guile-user)> ,use(guix) +scheme@@(guile-user)> ,use(gnu) +scheme@@(guile-user)> (define snakes + (fold-packages + (lambda (package lst) + (if (string-prefix? "python" + (package-name package)) + (cons package lst) + lst)) + '())) +scheme@@(guile-user)> (length snakes) +$1 = 361 +@end example + +Das @command{pre-inst-env}-Skript richtet alle Umgebungsvariablen ein, die +nötig sind, um dies zu ermöglichen, einschließlich @env{PATH} und +@env{GUILE_LOAD_PATH}. + +Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the +local source tree; it simply updates the @file{~/.config/guix/current} +symlink (@pxref{Aufruf von guix pull}). Run @command{git pull} instead if you +want to upgrade your local source tree. + + +@node Perfekt eingerichtet +@section Perfekt eingerichtet + +Um perfekt für das Hacken an Guix eingerichtet zu sein, brauchen Sie an sich +dasselbe wie um perfekt für das Hacken mit Guile (@pxref{Using Guile in +Emacs,,, guile, Guile Reference Manual}). Zunächst brauchen Sie mehr als +ein Textverarbeitungsprogramm, Sie brauchen +@url{http://www.gnu.org/software/emacs, Emacs}, ermächtigt vom wunderbaren +@url{http://nongnu.org/geiser/, Geiser}. + +Geiser ermöglicht interaktive und inkrementelle Entwicklung aus Emacs +heraus: Code kann in Puffern kompiliert und ausgewertet werden. Zugang zu +Online-Dokumentation (Docstrings) steht ebenso zur Verfügung wie +kontextabhängige Vervollständigung, @kbd{M-.} um zu einer Objektdefinition +zu springen, eine REPL, um Ihren Code auszuprobieren, und mehr +(@pxref{Einführung,,, geiser, Geiser User Manual}). Zur bequemen +Guix-Entwicklung sollten Sie Guiles Ladepfad so ergänzen, dass die +Quelldateien in Ihrem Checkout gefunden werden. + +@lisp +;; @r{Angenommen das Guix-Checkout ist in ~/src/guix.} +(with-eval-after-load 'geiser-guile + (add-to-list 'geiser-guile-load-path "~/src/guix")) +@end lisp + +Um den Code tatsächlich zu bearbeiten, bietet Emacs schon einen netten +Scheme-Modus. Aber Sie dürfen auch +@url{http://www.emacswiki.org/emacs/ParEdit, Paredit} nicht verpassen. Es +bietet Hilfsmittel, um direkt mit dem Syntaxbaum zu arbeiten, und kann so +zum Beispiel einen S-Ausdruck hochheben oder ihn umhüllen, ihn verschlucken +oder den nachfolgenden S-Ausdruck verwerfen, etc. + +@cindex Code-Schnipsel +@cindex Vorlagen +@cindex Tipparbeit sparen +Wir bieten auch Vorlagen für häufige Git-Commit-Nachrichten und +Paketdefinitionen im Verzeichnis @file{etc/snippets}. Diese Vorlagen können +mit @url{http://joaotavora.github.io/yasnippet/, YASnippet} zusammen benutzt +werden, um kurze Auslöse-Zeichenketten zu interaktiven Textschnipseln +umzuschreiben. Vielleicht möchten Sie das Schnipselverzeichnis zu Ihrer +@var{yas-snippet-dirs}-Variablen in Emacs hinzufügen. + +@lisp +;; @r{Angenommen das Guix-Checkout ist in ~/src/guix.} +(with-eval-after-load 'yasnippet + (add-to-list 'yas-snippet-dirs "~/src/guix/etc/snippets")) +@end lisp + +The commit message snippets depend on @url{https://magit.vc/, Magit} to +display staged files. When editing a commit message type @code{add} +followed by @kbd{TAB} to insert a commit message template for adding a +package; type @code{update} followed by @kbd{TAB} to insert a template for +updating a package; type @code{https} followed by @kbd{TAB} to insert a +template for changing the home page URI of a package to HTTPS. + +Das Hauptschnipsel für @code{scheme-mode} wird ausgelöst, indem Sie +@code{package...} gefolgt von @kbd{TAB} eintippen. Dieses Snippet fügt auch +die Auslöse-Zeichenkette @code{origin...} ein, die danach weiter +umgeschrieben werden kann. Das @code{origin}-Schnipsel kann wiederum andere +Auslöse-Zeichenketten einfügen, die alle auf @code{...} enden, was selbst +wieder weiter umgeschrieben werden kann. + + +@node Code-Stil +@section Code-Stil + +Im Allgemeinen folgt unser Code den GNU Coding Standards (@pxref{Top,,, +standards, GNU Coding Standards}). Da diese aber nicht viel über Scheme zu +sagen haben, folgen hier einige zusätzliche Regeln. + +@menu +* Programmierparadigmen:: Wie Sie Ihre Elemente zusammenstellen. +* Module:: Wo Sie Ihren Code unterbringen. +* Datentypen und Mustervergleich:: Implementierung von Datenstrukturen. +* Formatierung von Code:: Schreibkonventionen. +@end menu + +@node Programmierparadigmen +@subsection Programmierparadigmen + +Scheme-Code wird in Guix auf rein funktionale Weise geschrieben. Eine +Ausnahme ist Code, der mit Ein- und Ausgabe zu tun hat, und Prozeduren, die +grundlegende Konzepte implementieren, wie zum Beispiel die Prozedur +@code{memoize}. + +@node Module +@subsection Module + +Guile-Module, die beim Erstellen nutzbar sein sollen, müssen im Namensraum +@code{(guix build @dots{})} leben. Sie dürfen auf keine anderen Guix- oder +GNU-Module Bezug nehmen. Jedoch ist es in Ordnung, wenn ein »wirtsseitiges« +Modul ein erstellungsseitiges Modul benutzt. + +Module, die mit dem weiteren GNU-System zu tun haben, sollten im Namensraum +@code{(gnu @dots{})} und nicht in @code{(guix @dots{})} stehen. + +@node Datentypen und Mustervergleich +@subsection Datentypen und Mustervergleich + +Im klassischen Lisp gibt es die Tendenz, Listen zur Darstellung von allem zu +benutzen, und diese dann »händisch« zu durchlaufen mit @code{car}, +@code{cdr}, @code{cadr} und so weiter. Dieser Stil ist aus verschiedenen +Gründen problematisch, insbesondere wegen der Tatsache, dass er schwer zu +lesen, schnell fehlerbehaftet und ein Hindernis beim Melden von Typfehlern +ist. + +Guix-Code sollte angemessene Datentypen definieren (zum Beispiel mit +@code{define-record-type*}) statt Listen zu missbrauchen. Außerdem sollte er +das @code{(ice-9 match)}-Modul von Guile zum Mustervergleich benutzen, +besonders mit Listen. + +@node Formatierung von Code +@subsection Formatierung von Code + +@cindex Formatierung von Code +@cindex Code-Stil +Beim Schreiben von Scheme-Code halten wir uns an die üblichen +Gepflogenheiten unter Scheme-Programmierern. Im Allgemeinen bedeutet das, +dass wir uns an @url{http://mumble.net/~campbell/scheme/style.txt, +Riastradh's Lisp Style Rules} halten. Es hat sich ergeben, dass dieses +Dokument auch die Konventionen beschreibt, die im Code von Guile +hauptsächlich verwendet werden. Es ist gut durchdacht und schön geschrieben, +also lesen Sie es bitte. + +Ein paar in Guix eingeführte Sonderformen, wie zum Beispiel das +@code{substitute*}-Makro, haben abweichende Regeln für die Einrückung. Diese +sind in der Datei @file{.dir-locals.el} definiert, die Emacs automatisch +benutzt. Beachten Sie auch, dass Emacs-Guix einen Modus namens +@code{guix-devel-mode} bereitstellt, der Guix-Code richtig einrückt und +hervorhebt (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference +Manual}). + +@cindex Einrückung, Code- +@cindex Formatierung, Code- +Falls Sie nicht Emacs verwenden, sollten Sie sicherstellen, dass Ihr Editor +diese Regeln kennt. Um eine Paketdefinition automatisch einzurücken, können +Sie auch Folgendes ausführen: + +@example +./etc/indent-code.el gnu/packages/@var{Datei}.scm @var{Paket} +@end example + +@noindent +Dadurch wird die Definition von @var{Paket} in +@file{gnu/packages/@var{Datei}.scm} automatisch eingerückt, indem Emacs im +Batch-Modus läuft. Um die Einrückung in einer gesamten Datei vorzunehmen, +lassen Sie das zweite Argument weg: + +@example +./etc/indent-code.el gnu/services/@var{Datei}.scm +@end example + +@cindex Vim, zum Editieren von Scheme-Code +Wenn Sie Code mit Vim bearbeiten, empfehlen wir, dass Sie @code{:set +autoindent} ausführen, damit Ihr Code automatisch eingerückt wird, während +Sie ihn schreiben. Außerdem könnte Ihnen +@uref{https://www.vim.org/scripts/script.php?script_id=3998, +@code{paredit.vim}} dabei helfen, mit all diesen Klammern fertigzuwerden. + +Wir fordern von allen Prozeduren auf oberster Ebene, dass sie über einen +Docstring verfügen. Diese Voraussetzung kann jedoch bei einfachen, privaten +Prozeduren im Namensraum @code{(guix build @dots{})} aufgeweicht werden. + +Prozeduren sollten nicht mehr als vier positionsbestimmte Parameter +haben. Benutzen Sie Schlüsselwort-Parameter für Prozeduren, die mehr als +vier Parameter entgegennehmen. + + +@node Einreichen von Patches +@section Einreichen von Patches + +Die Entwicklung wird mit Hilfe des verteilten Versionskontrollsystems Git +durchgeführt. Daher ist eine ständige Verbindung zum Repository nicht +unbedingt erforderlich. Wir begrüßen Beiträge in Form von Patches, die +mittels @code{git format-patch} erstellt und an die Mailingliste +@email{guix-patches@@gnu.org} geschickt werden. + +Diese Mailing-Liste setzt auf einer Debbugs-Instanz auf, die zugänglich ist +unter @uref{https://bugs.gnu.org/guix-patches}, wodurch wir den Überblick +über Eingereichtes behalten können. Jede an diese Mailing-Liste gesendete +Nachricht bekommt eine neue Folgenummer zugewiesen, so dass man eine +Folge-Email zur Einreichung an @code{@var{NNN}@@debbugs.gnu.org} senden +kann, wobei @var{NNN} für die Folgenummer steht (@pxref{Senden einer Patch-Reihe}). + +Bitte schreiben Sie Commit-Logs im ChangeLog-Format (@pxref{Change Logs,,, +standards, GNU Coding Standards}); dazu finden Sie Beispiele unter den +bisherigen Commits. + +Bevor Sie einen Patch einreichen, der eine Paketdefinition hinzufügt oder +verändert, gehen Sie bitte diese Prüfliste durch: + +@enumerate +@item +Wenn die Autoren der verpackten Software eine kryptographische Signatur für +den Tarball der Veröffentlichung anbieten, so machen Sie sich bitte die +Mühe, die Echtheit des Archivs zu überprüfen. Für eine abgetrennte +GPG-Signaturdatei würden Sie das mit dem Befehl @code{gpg --verify} tun. + +@item +Nehmen Sie sich die Zeit, eine passende Zusammenfassung und Beschreibung für +das Paket zu verfassen. Unter @xref{Zusammenfassungen und Beschreibungen} finden Sie +dazu einige Richtlinien. + +@item +Verwenden Sie @code{guix lint @var{Paket}}, wobei @var{Paket} das neue oder +geänderte Paket bezeichnet, und beheben Sie alle gemeldeten Fehler +(@pxref{Aufruf von guix lint}). + +@item +Stellen Sie sicher, dass das Paket auf Ihrer Plattform erstellt werden kann, +indem Sie @code{guix build @var{Paket}} ausführen. + +@item +@cindex gebündelt +Achten Sie darauf, dass im Paket keine Software gebündelt mitgeliefert wird, +die bereits in separaten Paketen zur Verfügung steht. + +Manchmal enthalten Pakete Kopien des Quellcodes ihrer Abhängigkeiten, um +Nutzern die Installation zu erleichtern. Als eine Distribution wollen wir +jedoch sicherstellen, dass solche Pakete die schon in der Distribution +verfügbare Fassung benutzen, sofern es eine gibt. Dadurch wird sowohl der +Ressourcenverbrauch optimiert (die Abhängigkeit wird so nur einmal erstellt +und gespeichert) als auch der Distribution die Möglichkeit gegeben, +ergänzende Änderungen durchzuführen, um beispielsweise +Sicherheitsaktualisierungen für ein bestimmtes Paket an nur einem Ort +einzuspielen, die aber das gesamte System betreffen — gebündelt +mitgelieferte Kopien würden dies verhindern. + +@item +Schauen Sie sich das von @command{guix size} ausgegebene Profil an +(@pxref{Aufruf von guix size}). Dadurch können Sie Referenzen auf andere +Pakete finden, die ungewollt vorhanden sind. Dies kann auch dabei helfen, zu +entscheiden, ob das Paket aufgespalten werden sollte (@pxref{Pakete mit mehreren Ausgaben.}) und welche optionalen Abhängigkeiten verwendet werden +sollten. + +@item +Achten Sie bei wichtigen Änderungen darauf, dass abhängige Pakete (falls +vorhanden) nicht von der Änderung beeinträchtigt werden; @code{guix refresh +--list-dependent @var{Paket}} hilft Ihnen dabei (@pxref{Aufruf von guix refresh}). + +@c =========================================================================== +@c +@c This file was generated with po4a. Translate the source file. +@c +@c =========================================================================== +@c See . +@cindex Branching-Strategie +@cindex Neuerstellungs-Zeitplan +Je nachdem, wieviele abhängige Pakete es gibt, und entsprechend wieviele +Neuerstellungen dadurch nötig würden, finden Commits auf anderen Branches +statt, nach ungefähr diesen Regeln: + +@table @asis +@item 300 abhängige Pakete oder weniger +@code{master}-Branch (störfreie Änderungen). + +@item zwischen 300 und 1200 abhängige Pakete +@code{staging}-Branch (störfreie Änderungen). Dieser Branch wird circa alle +3 Wochen in @code{master} gemerget. Themenbezogene Änderungen (z.B. eine +Aktualisierung der GNOME-Plattform) können stattdessen auch auf einem +eigenen Branch umgesetzt werden (wie @code{gnome-updates}). + +@item mehr als 1200 abhängige Pakete +@code{core-updates}-Branch (kann auch größere und womöglich andere Software +beeinträchtigende Änderungen umfassen). Dieser Branch wird planmäßig in +@code{master} alle 2,5 Monate oder so gemerget. +@end table + +All these branches are @uref{https://hydra.gnu.org/project/gnu, tracked by +our build farm} and merged into @code{master} once everything has been +successfully built. This allows us to fix issues before they hit users, and +to reduce the window during which pre-built binaries are not available. + +@c TODO: It would be good with badges on the website that tracks these +@c branches. Or maybe even a status page. +Generally, branches other than @code{master} are considered @emph{frozen} if +there has been a recent evaluation, or there is a corresponding @code{-next} +branch. Please ask on the mailing list or IRC if unsure where to place a +patch. + +@item +@cindex Determinismus, von Erstellungsprozessen +@cindex Reproduzierbare Erstellungen, Überprüfung +Überprüfen Sie, ob der Erstellungsprozess deterministisch ist. Dazu prüfen +Sie typischerweise, ob eine unabhängige Erstellung des Pakets genau dasselbe +Ergebnis wie Ihre Erstellung hat, Bit für Bit. + +Dies können Sie leicht tun, indem Sie dasselbe Paket mehrere Male +hintereinander auf Ihrer Maschine erstellen (@pxref{Aufruf von guix build}): + +@example +guix build --rounds=2 mein-paket +@end example + +Dies reicht aus, um eine ganze Klasse häufiger Ursachen von +Nichtdeterminismus zu finden, wie zum Beispiel Zeitstempel oder +zufallsgenerierte Ausgaben im Ergebnis der Erstellung. + +Eine weitere Möglichkeit ist, @command{guix challenge} (@pxref{Aufruf von guix challenge}) zu benutzen. Sie können es ausführen, sobald ein Paket commitet +und von @code{hydra.gnu.org} erstellt wurde, um zu sehen, ob dort dasselbe +Ergebnis wie bei Ihnen geliefert wurde. Noch besser: Finden Sie eine andere +Maschine, die das Paket erstellen kann, und führen Sie @command{guix +publish} aus. Da sich die entfernte Erstellungsmaschine wahrscheinlich von +Ihrer unterscheidet, können Sie auf diese Weise Probleme durch +Nichtdeterminismus erkennen, die mit der Hardware zu tun haben — zum +Beispiel die Nutzung anderer Befehlssatzerweiterungen — oder mit dem +Betriebssystem-Kernel — zum Beispiel, indem @code{uname} oder +@file{/proc}-Dateien verwendet werden. + +@item +Beim Schreiben von Dokumentation achten Sie bitte auf eine +geschlechtsneutrale Wortwahl, wenn Sie sich auf Personen beziehen, wie +@uref{https://en.wikipedia.org/wiki/Singular_they, »they«@comma{} +»their«@comma{} »them« im Singular}, und so weiter. + +@item +Stelllen Sie sicher, dass Ihr Patch nur einen Satz zusammengehöriger +Änderungen umfasst. Das Zusammenfassen nicht zusammengehöriger Änderungen +erschwert und bremst das Durchsehen Ihres Patches. + +Beispiele für nicht zusammengehörige Änderungen sind das Hinzufügen mehrerer +Pakete auf einmal, oder das Aktualisieren eines Pakets auf eine neue Version +zusammen mit Fehlerbehebungen für das Paket. + +@item +Bitte befolgen Sie unsere Richtlinien für die Code-Formatierung, womöglich +wollen Sie dies automatisch tun lassen durch das Skript +@command{etc/indent-code.el} (@pxref{Formatierung von Code}). + +@item +When possible, use mirrors in the source URL (@pxref{Aufruf von guix download}). Use reliable URLs, not generated ones. For instance, GitHub +archives are not necessarily identical from one generation to the next, so +in this case it's often better to clone the repository. Don't use the +@command{name} field in the URL: it is not very useful and if the name +changes, the URL will probably be wrong. + +@end enumerate + +Bitte benutzen Sie @samp{[PATCH] @dots{}} als Betreff, wenn Sie einen Patch +an die Mailing-Liste schicken. Sie können dazu Ihr E-Mail-Programm oder den +Befehl @command{git send-email} benutzen (@pxref{Senden einer Patch-Reihe}). Wir bevorzugen es, Patches als reine Textnachrichten zu erhalten, +entweder eingebettet (inline) oder als MIME-Anhänge. Sie sind dazu +angehalten, zu überprüfen, ob Ihr Mail-Programm solche Dinge wie +Zeilenumbrüche oder die Einrückung verändert, wodurch die Patches womöglich +nicht mehr funktionieren. + +Wenn dadurch ein Fehler behoben wurde, schließen Sie bitte den Thread, indem +Sie eine E-Mail an @email{@var{NNN}-done@@debbugs.gnu.org} senden. + +@unnumberedsubsec Senden einer Patch-Reihe +@anchor{Senden einer Patch-Reihe} +@cindex Patch-Reihe +@cindex @code{git send-email} +@cindex @code{git-send-email} + +@c Debbugs bug: https://debbugs.gnu.org/db/15/15361.html +Wenn Sie eine Patch-Reihe senden (z.B. mit @code{git send-email}), schicken +Sie bitte als Erstes eine Nachricht an @email{guix-patches@@gnu.org} und +dann nachfolgende Patches an @email{@var{NNN}@@debbugs.gnu.org}, um +sicherzustellen, dass sie zusammen bearbeitet werden. Siehe +@uref{https://debbugs.gnu.org/Advanced.html, die Debbugs-Dokumentation} für +weitere Informationen. diff --git a/doc/contributing.fr.texi b/doc/contributing.fr.texi index 1bba7f7d5e..502de9f7f0 100644 --- a/doc/contributing.fr.texi +++ b/doc/contributing.fr.texi @@ -110,14 +110,15 @@ changement localement sans les installer pour de vrai. Pour pouvoir distinguer votre rôle « d'utilisateur final » de celui parfois haut en couleur de « développeur ». -To that end, all the command-line tools can be used even if you have not run -@code{make install}. To do that, you first need to have an environment with -all the dependencies available (@pxref{Construire depuis Git}), and then simply -prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} -script lives in the top build tree of Guix), as in@footnote{The @option{-E} -flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly -set such that @command{guix-daemon} and the tools it uses can find the Guile -modules they need.}: +Pour cela, tous les outils en ligne de commande sont utilisables même sans +avoir lancé @code{make install}. Pour cela, vous devez d'abord avoir un +environnement avec toutes les dépendances disponibles (@pxref{Construire depuis Git}), puis préfixer chaque commande par @command{./pre-inst-env} (le script +@file{pre-inst-env} se trouve dans le répertoire de plus haut niveau de +l'arborescence des sources de Guix ; il est généré par +@command{./configure}) comme cela@footnote{L'option @option{-E} de +@command{sudo} garantie que @code{GUILE_LOAD_PATH} est bien paramétré pour +@command{guix-daemon} et pour que les outils qu'il utilise puissent trouver +les modules Guile dont ils ont besoin.} : @example $ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild @@ -213,12 +214,13 @@ variables @var{yas-snippet-dirs} d'Emacs. (add-to-list 'yas-snippet-dirs "~/src/guix/etc/snippets")) @end lisp -The commit message snippets depend on @url{https://magit.vc/, Magit} to -display staged files. When editing a commit message type @code{add} -followed by @kbd{TAB} to insert a commit message template for adding a -package; type @code{update} followed by @kbd{TAB} to insert a template for -updating a package; type @code{https} followed by @kbd{TAB} to insert a -template for changing the home page URI of a package to HTTPS. +Les extraits de messages de commit dépendent de @url{https://magit.vc/, +Magit} pour afficher les fichiers sélectionnés. Lors de la modification +d'un message de commit, tapez @code{add} suivi de @kbd{TAB} pour insérer un +modèle de message de commit pour ajouter un paquet ; tapez @code{update} +suivi de @kbd{TAB} pour insérer un modèle pour la mise à jour d'un paquet ; +tapez @code{https} suivi de @kbd{TAB} pour insérer un modèle pour le +changement à HTTPS de l'URI de la page d'accueil. L'extrait principal pour @code{scheme-mode} est lancé en tapant @code{package…} suivi par @kbd{TAB}. Cet extrait insère aussi la chaîne de @@ -487,6 +489,13 @@ Suivez nos règles de formatage de code, éventuellement en lançant le script @command{et/indent-code.el} pour le faire automatiquement (@pxref{Formatage du code}). +@item +Si possible, utilisez des miroirs dans l'URL des sources (@pxref{Invoquer guix download}). Utilisez des URL stable, pas des URL générées. Par +exemple, les archives GitHub ne sont pas nécessairement identiques d'une +génération à la suivante, donc il vaut mieux dans ce cas cloner le dépôt. +N'utilisez pas le champ @command{name} dans l'URL : ce n'est pas très utile +et si le nom change, l'URL sera probablement erronée. + @end enumerate Lorsque vous envoyez un correctif à la liste de diffusion, utilisez diff --git a/doc/contributing.texi b/doc/contributing.texi index 91a87ef2dd..c55eb63382 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -112,7 +112,8 @@ run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the -top build tree of Guix), as in@footnote{The @option{-E} flag to +top build tree of Guix; it is generated by @command{./configure}), +as in@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}: @@ -442,7 +443,7 @@ as timestamps or randomly-generated output in the build result. Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and -built by @code{hydra.gnu.org} to check whether it obtains the same +built by @code{@value{SUBSTITUTE-SERVER}} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues diff --git a/doc/guix.de.texi b/doc/guix.de.texi new file mode 100644 index 0000000000..ef04eed346 --- /dev/null +++ b/doc/guix.de.texi @@ -0,0 +1,24155 @@ +\input texinfo +@c =========================================================================== +@c +@c This file was generated with po4a. Translate the source file. +@c +@c =========================================================================== +@c -*-texinfo-*- + +@c %**start of header +@setfilename guix.de.info +@documentencoding UTF-8 +@documentlanguage de +@frenchspacing on +@settitle Referenzhandbuch zu GNU Guix +@c %**end of header + +@include version-de.texi + +@c Identifier of the OpenPGP key used to sign tarballs and such. +@set OPENPGP-SIGNING-KEY-ID 3CE464558A84FDC69DB40CFB090B11993D9AEBB5 +@set KEY-SERVER pool.sks-keyservers.net + +@copying +Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic +Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright +@copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, +2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* +Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} +2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 +Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo +Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} +2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 +Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright +@copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017, +2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* +Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, +2018 Clément Lassieur@* Copyright @copyright{} 2017, 2018 Mathieu Othacehe@* +Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, +2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* +Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 +Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* +Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 +Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* +Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 +Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright +@copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* +Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike +Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright +@copyright{} 2018 Gábor Boskovits@* Copyright @copyright{} 2018 Florian +Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} +2018 Alex Vong@* + +Es ist Ihnen gestattet, dieses Dokument zu vervielfältigen, weiterzugeben +und/oder zu verändern, unter den Bedingungen der GNU Free Documentation +License, entweder gemäß Version 1.3 der Lizenz oder (nach Ihrer Option) +einer späteren Version, die von der Free Software Foundation veröffentlicht +wurde, ohne unveränderliche Abschnitte, ohne vorderen Umschlagtext und ohne +hinteren Umschlagtext. Eine Kopie der Lizenz finden Sie im Abschnitt mit dem +Titel »GNU Free Documentation License«. +@end copying + +@dircategory Systemadministration +@direntry +* Guix: (guix.de). Installierte Software und Systemkonfigurationen + verwalten. +* guix package: (guix.de)guix package aufrufen. Pakete installieren, + entfernen und + aktualisieren. +* guix gc: (guix.de)guix gc aufrufen. Unbenutzten Plattenspeicher wieder + freigeben. +* guix pull: (guix.de)guix pull aufrufen. Die Liste verfügbarer Pakete + aktualisieren. +* guix system: (guix.de)guix system aufrufen. Die + Betriebssystemkonfiguration + verwalten. +@end direntry + +@dircategory Softwareentwicklung +@direntry +* guix environment: (guix.de)guix environment aufrufen. Umgebungen für + Entwickler + erstellen +* guix build: (guix.de)guix build aufrufen. Erstellen von Paketen. +* guix pack: (guix.de)guix pack aufrufen. Bündel aus Binärdateien + erstellen. +@end direntry + +@titlepage +@title Referenzhandbuch zu GNU Guix +@subtitle Den funktionalen Paketmanager GNU Guix benutzen +@author Die GNU-Guix-Entwickler + +@page +@vskip 0pt plus 1filll +Edition @value{EDITION} @* @value{UPDATED} @* + +@insertcopying +@end titlepage + +@contents + +@c ********************************************************************* +@node Top +@top GNU Guix + +Dieses Dokument beschreibt GNU Guix, Version @value{VERSION}, ein +funktionales Paketverwaltungswerkzeug, das für das GNU-System geschrieben +wurde. + +@c TRANSLATORS: You can replace the following paragraph with information on +@c how to join your own translation team and how to report issues with the +@c translation. +This manual is also available in French (@pxref{Top,,, guix.fr, Manuel de +référence de GNU Guix}) and German (@pxref{Top,,, guix.de, Referenzhandbuch +zu GNU Guix}). If you would like to translate it in your native language, +consider joining the +@uref{https://translationproject.org/domain/guix-manual.html, Translation +Project}. + +@menu +* Einführung:: Was ist Guix überhaupt? +* Installation:: Guix installieren. +* Paketverwaltung:: Pakete installieren, aktualisieren usw. +* Programmierschnittstelle:: Guix in Scheme verwenden. +* Zubehör:: Befehle zur Paketverwaltung. +* GNU-Distribution:: Software für Ihr freundliches GNU-System. +* Mitwirken:: Ihre Hilfe ist nötig! + +* Danksagungen:: Danke! +* GNU-Lizenz für freie Dokumentation:: Die Lizenz dieses Handbuchs. +* Konzeptverzeichnis:: Konzepte. +* Programmierverzeichnis:: Datentypen, Funktionen und Variable. + +@detailmenu + --- Detaillierte Liste der Knoten --- + + + +Installation + + + +* Aus Binärdatei installieren:: Guix installieren, ohne Zeit zu verlieren! +* Voraussetzungen:: Zum Erstellen und Benutzen von Guix nötige + Software. +* Die Testsuite laufen lassen:: Guix testen. +* Den Daemon einrichten:: Wie man die Umgebung des Erstellungs-Daemons + einrichtet. +* Aufruf des guix-daemon:: Den Erstellungs-Daemon laufen lassen. +* Anwendungen einrichten:: Anwendungsspezifische Einstellungen. + +Den Daemon einrichten + + + +* Einrichten der Erstellungsumgebung:: Die isolierte Umgebung zum Erstellen + vorbereiten. +* Auslagern des Daemons einrichten:: Erstellungen auf entfernte Maschinen + auslagern. +* SELinux-Unterstützung:: Wie man eine SELinux-Richtlinie für den Daemon + einrichtet. + +Paketverwaltung + + + +* Funktionalitäten:: Wie Guix Ihr Leben schöner machen wird. +* Aufruf von guix package:: Pakete installieren, entfernen usw. +* Substitute:: Vorerstelle Binärdateien herunterladen. +* Pakete mit mehreren Ausgaben.:: Ein Quellpaket, mehrere Ausgaben. +* Aufruf von guix gc:: Den Müllsammler laufen lassen. +* Aufruf von guix pull:: Das neueste Guix samt Distribution laden. +* Channels:: Customizing the package collection. +* Inferiors:: Interacting with another revision of Guix. +* Invoking guix describe:: Display information about your Guix revision. +* Aufruf von guix pack:: Software-Bündel erstellen. +* Aufruf von guix archive:: Import und Export von Store-Dateien. + +Substitute + + + +* Offizieller Substitut-Server:: Eine besondere Quelle von Substituten. +* Substitut-Server autorisieren:: Wie man Substitute an- und abschaltet. +* Substitutauthentifizierung:: Wie Guix Substitute verifiziert. +* Proxy-Einstellungen:: Wie Sie Substitute über einen Proxy beziehen. +* Fehler bei der Substitution:: Was passiert, wenn die Substitution + fehlschlägt. +* Vom Vertrauen gegenüber Binärdateien:: Wie können Sie diesem binären + Blob trauen? + +Programmierschnittstelle + + + +* Pakete definieren:: Wie Sie neue Pakete definieren. +* Erstellungssysteme:: Angeben, wie Pakete erstellt werden. +* Der Store:: Den Paket-Store verändern. +* Ableitungen:: Systemnahe Schnittstelle für Paketableitungen. +* Die Store-Monade:: Rein funktionale Schnittstelle zum Store. +* G-Ausdrücke:: Erstellungsausdrücke verarbeiten. +* Invoking guix repl:: Fiddling with Guix interactively. + +Pakete definieren + + + +* „package“-Referenz:: Der Datentyp für Pakete. +* „origin“-Referenz:: Datentyp für Paketursprünge. + +Zubehör + + + +* Aufruf von guix build:: Pakete aus der Befehlszeile heraus erstellen. +* Aufruf von guix edit:: Paketdefinitionen bearbeiten. +* Aufruf von guix download:: Herunterladen einer Datei und Ausgabe ihres + Hashes. +* Aufruf von guix hash:: Den kryptographischen Hash einer Datei + berechnen. +* Aufruf von guix import:: Paketdefinitionen importieren. +* Aufruf von guix refresh:: Paketdefinitionen aktualisieren. +* Aufruf von guix lint:: Fehler in Paketdefinitionen finden. +* Aufruf von guix size:: Plattenverbrauch profilieren. +* Aufruf von guix graph:: Den Paketgraphen visualisieren. +* Aufruf von guix environment:: Entwicklungsumgebungen einrichten. +* Aufruf von guix publish:: Substitute teilen. +* Aufruf von guix challenge:: Die Substitut-Server anfechten. +* Aufruf von guix copy:: Mit einem entfernten Store Dateien austauschen. +* Aufruf von guix container:: Prozesse isolieren. +* Aufruf von guix weather:: Die Verfügbarkeit von Substituten + einschätzen. +* Invoking guix processes:: Listing client processes. + +Aufruf von @command{guix build} + + + +* Gemeinsame Erstellungsoptionen:: Erstellungsoptionen für die meisten + Befehle. +* Paketumwandlungsoptionen:: Varianten von Paketen erzeugen. +* Zusätzliche Erstellungsoptionen:: Optionen spezifisch für »guix + build«. +* Fehlschläge beim Erstellen untersuchen:: Praxiserfahrung bei der + Paketerstellung. + +GNU-Distribution + + + +* Systeminstallation:: Das ganze Betriebssystem installieren. +* Systemkonfiguration:: Das Betriebssystem konfigurieren. +* Dokumentation:: Wie man Nutzerhandbücher von Software liest. +* Dateien zur Fehlersuche installieren:: Womit man seinen Debugger + füttert. +* Sicherheitsaktualisierungen:: Sicherheits-Patches schnell einspielen. +* Paketmodule:: Pakete aus Sicht des Programmierers. +* Paketrichtlinien:: Die Distribution wachsen lassen. +* Bootstrapping:: GNU/Linux von Grund auf selbst erstellen. +* Portierung:: Guix auf andere Plattformen und Kernels + bringen. + +Systeminstallation + + + +* Einschränkungen:: Was Sie erwarten dürfen. +* Hardware-Überlegungen:: Unterstützte Hardware. +* Installation von USB-Stick oder DVD:: Das Installationsmedium + vorbereiten. +* Vor der Installation:: Netzwerkanbindung, Partitionierung etc. +* Fortfahren mit der Installation:: Die Hauptsache. +* GuixSD in einer VM installieren:: Ein GuixSD-Spielplatz. +* Ein Abbild zur Installation erstellen:: Wie ein solches entsteht. + +Systemkonfiguration + + + +* Das Konfigurationssystem nutzen:: Ihr GNU-System anpassen. +* „operating-system“-Referenz:: Details der + Betriebssystem-Deklarationen. +* Dateisysteme:: Die Dateisystemeinbindungen konfigurieren. +* Abgebildete Geräte:: Näheres zu blockorientierten Speichermedien. +* Benutzerkonten:: Benutzerkonten festlegen. +* Locales:: Sprache und kulturelle Konventionen. +* Dienste:: Systemdienste festlegen. +* Setuid-Programme:: Mit Administratorrechten startende Programme. +* X.509-Zertifikate:: HTTPS-Server authentifizieren. +* Name Service Switch:: Den Name Service Switch von libc konfigurieren. +* Initiale RAM-Disk:: Linux-libre hochfahren. +* Bootloader-Konfiguration:: Den Bootloader konfigurieren. +* Aufruf von guix system:: Instanzierung einer Systemkonfiguration. +* GuixSD in einer VM starten:: Wie man GuixSD in einer virtuellen Maschine + startet. +* Dienste definieren:: Neue Dienstdefinitionen hinzufügen. + +Dienste + + + +* Basisdienste:: Essenzielle Systemdienste. +* Geplante Auftragsausführung:: Der mcron-Dienst. +* Log-Rotation:: Der rottlog-Dienst. +* Netzwerkdienste:: Netzwerkeinrichtung, SSH-Daemon etc. +* X Window:: Graphische Anzeige. +* Druckdienste:: Unterstützung für lokale und entfernte + Drucker. +* Desktop-Dienste:: D-Bus- und Desktop-Dienste. +* Sound Services:: ALSA and Pulseaudio services. +* Datenbankdienste:: SQL-Datenbanken, Schlüssel-Wert-Speicher etc. +* Mail-Dienste:: IMAP, POP3, SMTP und so weiter. +* Kurznachrichtendienste:: Dienste für Kurznachrichten. +* Telefondienste:: Telefoniedienste. +* Überwachungsdienste:: Dienste zur Systemüberwachung. +* Kerberos-Dienste:: Kerberos-Dienste. +* Web-Dienste:: Web-Server. +* Zertifikatsdienste:: TLS-Zertifikate via Let’s Encrypt. +* DNS-Dienste:: DNS-Daemons. +* VPN-Dienste:: VPN-Daemons. +* Network File System:: Dienste mit Bezug zum Netzwerkdateisystem. +* Kontinuierliche Integration:: Der Cuirass-Dienst. +* Power Management Services:: Extending battery life. +* Audio-Dienste:: Der MPD. +* Virtualisierungsdienste:: Dienste für virtuelle Maschinen. +* Versionskontrolldienste:: Entfernten Zugang zu Git-Repositorys bieten. +* Spieldienste:: Spielserver. +* Verschiedene Dienste:: Andere Dienste. + +Dienste definieren + + + +* Dienstkompositionen:: Wie Dienste zusammengestellt werden. +* Diensttypen und Dienste:: Typen und Dienste. +* Service-Referenz:: Referenz zur Programmierschnittstelle. +* Shepherd-Dienste:: Eine spezielle Art von Dienst. + +Paketrichtlinien + + + +* Software-Freiheit:: Was in die Distribution aufgenommen werden + darf. +* Paketbenennung:: Was macht einen Namen aus? +* Versionsnummern:: Wenn der Name noch nicht genug ist. +* Zusammenfassungen und Beschreibungen:: Den Nutzern helfen, das richtige + Paket zu finden. +* Python-Module:: Ein Touch britischer Comedy. +* Perl-Module:: Kleine Perlen. +* Java-Pakete:: Kaffeepause. +* Schriftarten:: Schriften verschriftlicht. + +Mitwirken + + + +* Erstellung aus dem Git:: Das Neueste und Beste. +* Guix vor der Installation ausführen:: Hacker-Tricks. +* Perfekt eingerichtet:: Die richtigen Werkzeuge. +* Code-Stil:: Wie Mitwirkende hygienisch arbeiten. +* Einreichen von Patches:: Teilen Sie Ihre Arbeit. + +Code-Stil + + + +* Programmierparadigmen:: Wie Sie Ihre Elemente zusammenstellen. +* Module:: Wo Sie Ihren Code unterbringen. +* Datentypen und Mustervergleich:: Implementierung von Datenstrukturen. +* Formatierung von Code:: Schreibkonventionen. + +@end detailmenu +@end menu + +@c ********************************************************************* +@node Einführung +@chapter Einführung + +@cindex Zweck +GNU Guix@footnote{»Guix« wird wie »geeks« ausgesprochen, also als »ɡiːks« in +der Notation des Internationalen Phonetischen Alphabets (IPA).} ist ein +Werkzeug zur Paketverwaltung für das GNU-System. Guix macht es +unprivilegierten Nutzern leicht, Pakete zu installieren, zu aktualisieren +oder zu entfernen, zu einem vorherigen Satz von Paketen zurückzuwechseln, +Pakete aus ihrem Quellcode heraus zu erstellen und hilft allgemein bei der +Schöpfung und Wartung von Software-Umgebungen. + +@cindex Benutzeroberflächen +Guix bietet eine befehlszeilenbasierte Paketverwaltungsschnittstelle +(@pxref{Aufruf von guix package}), einen Satz Befehlszeilenwerkzeuge +(@pxref{Zubehör}) sowie Schnittstellen zur Programmierung in Scheme +(@pxref{Programmierschnittstelle}). +@cindex Erstellungs-Daemon +Der @dfn{Erstellungs-Daemon} ist für das Erstellen von Paketen im Auftrag +von Nutzern verantwortlich (@pxref{Den Daemon einrichten}) und für das +Herunterladen vorerstellter Binärdateien aus autorisierten Quellen +(@pxref{Substitute}). + +@cindex Erweiterbarkeit der Distribution +@cindex Anpassung, von Paketen +Guix enthält Paketdefinitionen für viele Pakete, von GNU und nicht von GNU, +die alle @uref{https://www.gnu.org/philosophy/free-sw.html, die Freiheit des +Computernutzers respektieren}. Es ist @emph{erweiterbar}: Nutzer können ihre +eigenen Paketdefinitionen schreiben (@pxref{Pakete definieren}) und sie als +unabhängige Paketmodule verfügbar machen (@pxref{Paketmodule}). Es ist +auch @emph{anpassbar}: Nutzer können spezialisierte Paketdefinitionen aus +bestehenden @emph{ableiten}, auch von der Befehlszeile (@pxref{Paketumwandlungsoptionen}). + +@cindex Guix System Distribution +@cindex GuixSD +Sie können GNU@tie{}Guix auf ein bestehendes GNU/Linux-System aufsetzen, wo +es die bereits verfügbaren Werkzeuge ergänzt, ohne zu stören +(@pxref{Installation}), oder Sie können es eigenständig als Teil der +@dfn{Guix System Distribution}, kurz GuixSD (@pxref{GNU-Distribution}), +verwenden. Mit GNU@tie{}GuixSD @emph{deklarieren} Sie alle Aspekte der +Betriebssystemkonfiguration und Guix kümmert sich darum, die Konfiguration +auf transaktionsbasierte, reproduzierbare und zustandslose Weise zu +instanzieren (@pxref{Systemkonfiguration}). + +@cindex funktionale Paketverwaltung +@cindex isolation +Intern implementiert Guix die Disziplin der @dfn{funktionalen +Paketverwaltung}, zu der Nix schon die Pionierarbeit geleistet hat +(@pxref{Danksagungen}). In Guix wird der Prozess, ein Paket zu erstellen +und zu installieren, als eine @emph{Funktion} im mathematischen Sinn +aufgefasst. Diese Funktion hat Eingaben, wie zum Beispiel +Erstellungs-Skripts, einen Compiler und Bibliotheken, und liefert ein +installiertes Paket. Als eine reine Funktion hängt sein Ergebnis allein von +seinen Eingaben ab — zum Beispiel kann er nicht auf Software oder Skripts +Bezug nehmen, die nicht ausdrücklich als Eingaben übergeben wurden. Eine +Erstellungsfunktion führt immer zum selben Ergebnis, wenn ihr die gleiche +Menge an Eingaben übergeben wurde. Sie kann die Umgebung des laufenden +Systems auf keine Weise beeinflussen, zum Beispiel kann sie keine Dateien +außerhalb ihrer Erstellungs- und Installationsverzeichnisse verändern. Um +dies zu erreichen, laufen Erstellungsprozesse in isolieren Umgebungen +(sogenannte @dfn{Container}), wo nur ausdrückliche Eingaben sichtbar sind. + +@cindex Store +Das Ergebnis von Paketerstellungsfunktionen wird im Dateisystem +@dfn{zwischengespeichert} in einem besonderen Verzeichnis, was als @dfn{der +Store} bezeichnet wird (@pxref{Der Store}). Jedes Paket wird in sein eigenes +Verzeichnis im Store installiert — standardmäßig ist er unter +@file{/gnu/store} zu finden. Der Verzeichnisname enthält einen Hash aller +Eingaben, anhand derer das Paket erzeugt wurde, somit hat das Ändern einer +Eingabe einen völlig anderen Verzeichnisnamen zur Folge. + +Dieses Vorgehen ist die Grundlage für die Guix auszeichnenden +Funktionalitäten: Unterstützung transaktionsbasierter Paketaktualisierungen +und -rückstufungen, Installation von Paketen als einfacher Nutzer sowie +Garbage Collection für Pakete (@pxref{Funktionalitäten}). + + +@c ********************************************************************* +@node Installation +@chapter Installation + +@cindex Guix installieren +@cindex official website +GNU Guix kann von seiner Webseite unter +@url{http://www.gnu.org/software/guix/} heruntergeladen werden. Dieser +Abschnitt beschreibt die Software-Voraussetzungen von Guix und wie man es +installiert, so dass man es benutzen kann. + +Beachten Sie, dass es in diesem Abschnitt um die Installation des +Paketverwaltungswerkzeugs geht, welche auf einem laufenden GNU/Linux-System +vollzogen werden kann. Falls Sie stattdessen das vollständige +GNU-Betriebssystem installieren möchten, werfen Sie einen Blick in den +Abschnitt @pxref{Systeminstallation}. + +@cindex Fremddistribution +@cindex directories related to foreign distro + +Wenn es auf ein bestehendes GNU/Linux-System installiert wird — im Folgenden +als @dfn{Fremddistribution} bezeichnet —, ergänzt GNU@tie{}Guix die +verfügbaren Werkzeuge, ohne dass sie sich gegenseitig stören. Guix’ Daten +befinden sich ausschließlich in zwei Verzeichnissen, üblicherweise +@file{/gnu/store} und @file{/var/guix}; andere Dateien auf Ihrem System wie +@file{/etc} bleiben unberührt. + +Sobald es installiert ist, kann Guix durch Ausführen von @command{guix pull} +aktualisiert werden (@pxref{Aufruf von guix pull}). + +@menu +* Aus Binärdatei installieren:: Guix installieren, ohne Zeit zu verlieren! +* Voraussetzungen:: Zum Erstellen und Benutzen von Guix nötige + Software. +* Die Testsuite laufen lassen:: Guix testen. +* Den Daemon einrichten:: Wie man die Umgebung des Erstellungs-Daemons + einrichtet. +* Aufruf des guix-daemon:: Den Erstellungs-Daemon laufen lassen. +* Anwendungen einrichten:: Anwendungsspezifische Einstellungen. +@end menu + +@node Aus Binärdatei installieren +@section Aus Binärdatei installieren + +@cindex Guix aus Binärdateien installieren +@cindex installer script +Dieser Abschnitt beschreibt, wie sich Guix auf einem beliebigen System aus +einem alle Komponenten umfassenden Tarball installieren lässt, der +Binärdateien für Guix und all seine Abhängigkeiten liefert. Dies geht in der +Regel schneller, als Guix aus seinen Quelldateien zu installieren, was in +den nächsten Abschnitten beschrieben wird. Vorausgesetzt wird hier +lediglich, dass GNU@tie{}tar und Xz verfügbar sind. + +Wir bieten ein +@uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, +Installations-Skript für die Shell}, welches Guix automatisch herunterlädt, +installiert und eine erste Konfiguration von Guix mit sich bringt. Es sollte +als der Administratornutzer (als »root«) ausgeführt werden. + +Die Installation läuft so ab: + +@enumerate +@item +@cindex Guix-Binärdatei herunterladen +Download the binary tarball from +@indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz}, +where @var{system} is @code{x86_64-linux} for an @code{x86_64} machine +already running the kernel Linux, and so on. + +@c The following is somewhat duplicated in ``System Installation''. +Achten Sie darauf, auch die zugehörige @file{.sig}-Datei herunterzuladen und +verifizieren Sie damit die Authentizität des Tarballs, ungefähr so: + +@example +$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig +$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig +@end example + +Falls dieser Befehl fehlschlägt, weil Sie nicht über den nötigen +öffentlichen Schlüssel verfügen, können Sie ihn mit diesem Befehl +importieren: + +@example +$ gpg --keyserver @value{KEY-SERVER} \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +@end example + +@noindent +@c end authentication part +und den Befehl @code{gpg --verify} erneut ausführen. + +@item +Nun müssen Sie zum Administratornutzer @code{root} wechseln. Abhängig von +Ihrer Distribution müssen Sie dazu etwa @code{su -} oder @code{sudo -i} +ausführen. Danach führen Sie als @code{root}-Nutzer aus: + +@example +# cd /tmp +# tar --warning=no-timestamp -xf \ + guix-binary-@value{VERSION}.@var{system}.tar.xz +# mv var/guix /var/ && mv gnu / +@end example + +Dadurch wird @file{/gnu/store} (@pxref{Der Store}) und @file{/var/guix} +erzeugt. Letzteres enthält ein fertiges Guix-Profil für den +Administratornutzer @code{root} (wie im nächsten Schritt beschrieben). + +Entpacken Sie den Tarball @emph{nicht} auf einem schon funktionierenden +Guix-System, denn es würde seine eigenen essenziellen Dateien überschreiben. + +Die Befehlszeilenoption @code{--warning=no-timestamp} stellt sicher, dass +GNU@tie{}tar nicht vor »unplausibel alten Zeitstempeln« warnt (solche +Warnungen traten bei GNU@tie{}tar 1.26 und älter auf, neue Versionen machen +keine Probleme). Sie treten auf, weil alle Dateien im Archiv als +Änderungszeitpunkt null eingetragen bekommen haben (das bezeichnet den +1. Januar 1970). Das ist Absicht, damit der Inhalt des Archivs nicht davon +abhängt, wann es erstellt wurde, und es somit reproduzierbar wird. + +@item +Make the profile available under @file{~root/.config/guix/current}, which is +where @command{guix pull} will install updates (@pxref{Aufruf von guix pull}): + +@example +# mkdir -p ~root/.config/guix +# ln -sf /var/guix/profiles/per-user/root/current-guix \ + ~root/.config/guix/current +@end example + +»Sourcen« Sie @file{etc/profile}, um @code{PATH} und andere relevante +Umgebungsvariable zu ergänzen: + +@example +# GUIX_PROFILE="`echo ~root`/.config/guix/current" ; \ + source $GUIX_PROFILE/etc/profile +@end example + +@item +Erzeugen Sie Nutzergruppe und Nutzerkonten für die Erstellungs-Benutzer wie +folgt (@pxref{Einrichten der Erstellungsumgebung}). + +@item +Führen Sie den Daemon aus, und lassen Sie ihn automatisch bei jedem +Hochfahren starten. + +Wenn Ihre Wirts-Distribution systemd als »init«-System verwendet, können Sie +das mit folgenden Befehlen veranlassen: + +@c Versions of systemd that supported symlinked service files are not +@c yet widely deployed, so we should suggest that users copy the service +@c files into place. +@c +@c See this thread for more information: +@c http://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html + +@example +# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ + /etc/systemd/system/ +# systemctl start guix-daemon && systemctl enable guix-daemon +@end example + +Wenn Ihre Wirts-Distribution als »init«-System Upstart verwendet: + +@example +# initctl reload-configuration +# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \ + /etc/init/ +# start guix-daemon +@end example + +Andernfalls können Sie den Daemon immer noch manuell starten, mit: + +@example +# ~root/.config/guix/current/bin/guix-daemon \ + --build-users-group=guixbuild +@end example + +@item +Stellen Sie den @command{guix}-Befehl auch anderen Nutzern Ihrer Maschine +zur Verfügung, zum Beispiel so: + +@example +# mkdir -p /usr/local/bin +# cd /usr/local/bin +# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix +@end example + +Es ist auch eine gute Idee, die Info-Version dieses Handbuchs ebenso +verfügbar zu machen: + +@example +# mkdir -p /usr/local/share/info +# cd /usr/local/share/info +# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ; + do ln -s $i ; done +@end example + +Auf diese Art wird, unter der Annahme, dass bei Ihnen +@file{/usr/local/share/info} im Suchpfad eingetragen ist, das Ausführen von +@command{info guix} dieses Handbuch öffnen (@pxref{Other Info Directories,,, +texinfo, GNU Texinfo} hat weitere Details, wie Sie den Info-Suchpfad ändern +können). + +@item +@cindex Substitute, deren Autorisierung +Um Substitute von @code{hydra.gnu.org} oder einem Spiegelserver davon zu +benutzen (@pxref{Substitute}), müssen sie erst autorisiert werden: + +@example +# guix archive --authorize < \ + ~root/.config/guix/current/share/guix/hydra.gnu.org.pub +@end example + +@item +Alle Nutzer müssen womöglich ein paar zusätzliche Schritte ausführen, damit +ihre Guix-Umgebung genutzt werden kann, siehe @pxref{Anwendungen einrichten}. +@end enumerate + +Voilà, die Installation ist fertig! + +Sie können nachprüfen, dass Guix funktioniert, indem Sie ein Beispielpaket +in das root-Profil installieren: + +@example +# guix package -i hello +@end example + +The @code{guix} package must remain available in @code{root}'s profile, or +it would become subject to garbage collection---in which case you would find +yourself badly handicapped by the lack of the @command{guix} command. In +other words, do not remove @code{guix} by running @code{guix package -r +guix}. + +Der Tarball zur Installation aus einer Binärdatei kann einfach durch +Ausführung des folgenden Befehls im Guix-Quellbaum (re-)produziert und +verifiziert werden: + +@example +make guix-binary.@var{system}.tar.xz +@end example + +@noindent +...@: which, in turn, runs: + +@example +guix pack -s @var{system} --localstatedir \ + --profile-name=current-guix guix +@end example + +Siehe @xref{Aufruf von guix pack} für weitere Informationen zu diesem +praktischen Werkzeug. + +@node Voraussetzungen +@section Voraussetzungen + +Dieser Abschnitt listet Voraussetzungen auf, um Guix aus seinem Quellcode zu +erstellen. Der Erstellungsprozess für Guix ist derselbe wie für andere +GNU-Software und wird hier nicht beschrieben. Bitte lesen Sie die Dateien +@file{README} und @file{INSTALL} im Guix-Quellbaum, um weitere Details zu +erfahren. + +GNU Guix hat folgende Pakete als Abhängigkeiten: + +@itemize +@item @url{http://gnu.org/software/guile/, GNU Guile}, Version 2.0.13 oder +neuer, einschließlich 2.2.x, +@item @url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version +0.1.0 or later; +@item +@uref{http://gnutls.org/, GnuTLS}, im Speziellen dessen Bindungen für Guile +(@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, +gnutls-guile, GnuTLS-Guile}), +@item +@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, +version 0.1.0 or later; +@item +@c FIXME: Specify a version number once a release has been made. +@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, vom August 2017 +oder neuer, +@item @url{http://zlib.net, zlib}, +@item @url{http://www.gnu.org/software/make/, GNU Make}. +@end itemize + +Folgende Abhängigkeiten sind optional: + +@itemize +@item +Wenn Sie @url{http://savannah.nongnu.org/projects/guile-json/, Guile-JSON} +installieren, können Sie den Befehl @command{guix import pypi} benutzen +(@pxref{Aufruf von guix import}). Das spielt hauptsächlich für Entwickler und +nicht für Gelegenheitsnutzer eine Rolle. + +@item +@c Note: We need at least 0.10.2 for 'channel-send-eof'. +Unterstützung für das Auslagern von Erstellungen (@pxref{Auslagern des Daemons einrichten}) und @command{guix copy} (@pxref{Aufruf von guix copy}) hängt von +@uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, Version +0.10.2 oder neuer, ab. + +@item +Wenn @url{http://www.bzip.org, libbz2} verfügbar ist, kann +@command{guix-daemon} damit Erstellungsprotokolle komprimieren. +@end itemize + +Sofern nicht @code{--disable-daemon} beim Aufruf von @command{configure} +übergeben wurde, benötigen Sie auch folgende Pakete: + +@itemize +@item @url{http://gnupg.org/, GNU libgcrypt}, +@item @url{http://sqlite.org, SQLite 3}, +@item @url{http://gcc.gnu.org, GCC's g++} mit Unterstützung für den +C++11-Standard. +@end itemize + +@cindex Zustandsverzeichnis +Sollten Sie Guix auf einem System konfigurieren, auf dem Guix bereits +installiert ist, dann stellen Sie sicher, dasselbe Zustandsverzeichnis wie +für die bestehende Installation zu verwenden. Benutzen Sie dazu die +Befehlszeilenoption @code{--localstatedir} des @command{configure}-Skripts +(@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding +Standards}). Das @command{configure}-Skript schützt vor ungewollter +Fehlkonfiguration der @var{localstatedir}, damit sie nicht versehentlich +Ihren Store verfälschen (@pxref{Der Store}). + +@cindex Nix, Kompatibilität +Wenn eine funktionierende Installation of @url{http://nixos.org/nix/, the +Nix package manager} verfügbar ist, können Sie Guix stattdessen mit +@code{--disable-daemon} konfigurieren. In diesem Fall ersetzt Nix die drei +oben genannten Abhängigkeiten. + +Guix ist mit Nix kompatibel, daher ist es möglich, denselben Store für beide +zu verwenden. Dazu müssen Sie an @command{configure} nicht nur denselben +Wert für @code{--with-store-dir} übergeben, sondern auch denselben Wert für +@code{--localstatedir}. Letzterer ist deswegen essenziell, weil er unter +Anderem angibt, wo die Datenbank liegt, in der sich die Metainformationen +über den Store befinden. Für Nix sind die Werte standardmäßig +@code{--with-store-dir=/nix/store} und +@code{--localstatedir=/nix/var}. Beachten Sie, dass @code{--disable-daemon} +nicht erforderlich ist, wenn Sie die Absicht haben, den Store mit Nix zu +teilen. + +@node Die Testsuite laufen lassen +@section Die Testsuite laufen lassen + +@cindex Testkatalog +Nachdem @command{configure} und @code{make} erfolgreich durchgelaufen sind, +ist es ratsam, den Testkatalog auszuführen. Er kann dabei helfen, Probleme +mit der Einrichtung oder Systemumgebung zu finden, oder auch Probleme in +Guix selbst — und Testfehler zu melden ist eine wirklich gute Art und Weise, +bei der Verbesserung von Guix mitzuhelfen. Um den Testkatalog auszuführen, +geben Sie Folgendes ein: + +@example +make check +@end example + +Testfälle können parallel ausgeführt werden. Sie können die +Befehlszeiltenoption @code{-j} von GNU@tie{}make benutzen, damit es +schneller geht. Der erste Durchlauf kann auf neuen Maschinen ein paar +Minuten dauern, nachfolgende Ausführungen werden schneller sein, weil der +für die Tests erstellte Store schon einige Dinge zwischengespeichert haben +wird. + +Es ist auch möglich, eine Teilmenge der Tests laufen zu lassen, indem Sie +die @code{TESTS}-Variable des Makefiles ähnlich wie in diesem Beispiel +definieren: + +@example +make check TESTS="tests/store.scm tests/cpio.scm" +@end example + +Standardmäßig werden Testergebnisse pro Datei angezeigt. Um die Details +jedes einzelnen Testfalls zu sehen, können Sie wie in diesem Beispiel die +@code{SCM_LOG_DRIVER_FLAGS}-Variable des Makefiles definieren: + +@example +make check TESTS="tests/base64.scm" SCM_LOG_DRIVER_FLAGS="--brief=no" +@end example + +Kommt es zum Fehlschlag, senden Sie bitte eine E-Mail an +@email{bug-guix@@gnu.org} und fügen Sie die Datei @file{test-suite.log} als +Anhang bei. Bitte geben Sie dabei in Ihrer Nachricht die benutzte Version +von Guix an sowie die Versionsnummern der Abhängigkeiten +(@pxref{Voraussetzungen}). + +Guix wird auch mit einem Testkatalog für das ganze System ausgeliefert, der +vollständige Instanzen des GuixSD-Betriebssystems testet. Er kann nur auf +Systemen benutzt werden, auf denen Guix bereits installiert ist, mit +folgendem Befehl: + +@example +make check-system +@end example + +@noindent +Oder, auch hier, indem Sie @code{TESTS} definieren, um eine Teilmenge der +auszuführenden Tests anzugeben: + +@example +make check-system TESTS="basic mcron" +@end example + +Diese Systemtests sind in den @code{(gnu tests @dots{})}-Modulen +definiert. Sie funktionieren, indem Sie das getestete Betriebssystem mitsamt +schlichter Instrumentierung in einer virtuellen Maschine (VM) ausführen. Die +Tests können aufwendige Berechnungen durchführen oder sie günstig umgehen, +je nachdem, ob für ihre Abhängigkeiten Substitute zur Verfügung stehen +(@pxref{Substitute}). Manche von ihnen nehmen viel Speicherplatz in +Anspruch, um die VM-Abbilder zu speichern. + +Auch hier gilt: Falls Testfehler auftreten, senden Sie bitte alle Details an +@email{bug-guix@@gnu.org}. + +@node Den Daemon einrichten +@section Den Daemon einrichten + +@cindex Daemon +Operationen wie das Erstellen eines Pakets oder Laufenlassen des +Müllsammlers werden alle durch einen spezialisierten Prozess durchgeführt, +den @dfn{Erstellungs-Daemon}, im Auftrag seiner Kunden (den Clients). Nur +der Daemon darf auf den Store und seine zugehörige Datenbank +zugreifen. Daher wird jede den Store verändernde Operation durch den Daemon +durchgeführt. Zum Beispiel kommunizieren Befehlszeilenwerkzeuge wie +@command{guix package} und @command{guix build} mit dem Daemon (mittels +entfernter Prozeduraufrufe), um ihm Anweisungen zu geben, was er tun soll. + +Folgende Abschnitte beschreiben, wie Sie die Umgebung des +Erstellungs-Daemons ausstatten sollten. Siehe auch @ref{Substitute} für +Informationen darüber, wie Sie es dem Daemon ermöglichen, vorerstellte +Binärdateien herunterzuladen. + +@menu +* Einrichten der Erstellungsumgebung:: Die isolierte Umgebung zum Erstellen + vorbereiten. +* Auslagern des Daemons einrichten:: Erstellungen auf entfernte Maschinen + auslagern. +* SELinux-Unterstützung:: Wie man eine SELinux-Richtlinie für den Daemon + einrichtet. +@end menu + +@node Einrichten der Erstellungsumgebung +@subsection Einrichten der Erstellungsumgebung + +@cindex Erstellungsumgebung +In einem normalen Mehrbenutzersystem werden Guix und sein Daemon — das +Programm @command{guix-daemon} — vom Systemadministrator installiert; +@file{/gnu/store} gehört @code{root} und @command{guix-daemon} läuft als +@code{root}. Nicht mit erweiterten Rechten ausgestattete Nutzer können +Guix-Werkzeuge benutzen, um Pakete zu erstellen oder anderweitig auf den +Store zuzugreifen, und der Daemon wird dies für sie erledigen und dabei +sicherstellen, dass der Store in einem konsistenten Zustand verbleibt und +sich die Nutzer erstellte Pakete teilen. + +@cindex Erstellungsbenutzer +Wenn @command{guix-daemon} als Administratornutzer @code{root} läuft, wollen +Sie aber vielleicht dennoch nicht, dass Paketerstellungsprozesse auch als +@code{root} ablaufen, aus offensichtlichen Sicherheitsgründen. Um dies zu +vermeiden, sollte ein besonderer Pool aus @dfn{Erstellungsbenutzern} +geschaffen werden, damit vom Daemon gestartete Erstellungsprozesse ihn +benutzen. Diese Erstellungsbenutzer müssen weder eine Shell noch einen +Persönlichen Ordner zugewiesen bekommen, sie werden lediglich benutzt, wenn +der Daemon @code{root}-Rechte in Erstellungsprozessen ablegt. Mehrere solche +Benutzer zu haben, ermöglicht es dem Daemon, verschiedene +Erstellungsprozessen unter verschiedenen Benutzeridentifikatoren (UIDs) zu +starten, was garantiert, dass sie einander nicht stören — eine essenzielle +Funktionalität, da Erstellungen als reine Funktionen angesehen werden +(@pxref{Einführung}). + +Auf einem GNU/Linux-System kann ein Pool von Erstellungsbenutzern wie folgt +erzeugt werden (mit Bash-Syntax und den Befehlen von @code{shadow}): + +@c See http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00239.html +@c for why `-G' is needed. +@example +# groupadd --system guixbuild +# for i in `seq -w 1 10`; + do + useradd -g guixbuild -G guixbuild \ + -d /var/empty -s `which nologin` \ + -c "Guix-Erstellungsbenutzer $i" --system \ + guixbuilder$i; + done +@end example + +@noindent +Die Anzahl der Erstellungsbenutzer entscheidet, wieviele Erstellungsaufträge +parallel ausgeführt werden können, wie es mit der Befehlszeilenoption +@option{--max-jobs} vorgegeben werden kann (@pxref{Aufruf des guix-daemon, +@option{--max-jobs}}). Um @command{guix system vm} und ähnliche Befehle +nutzen zu können, müssen Sie die Erstellungsbenutzer unter Umständen zur +@code{kvm}-Benutzergruppe hinzufügen, damit sie Zugriff auf @file{/dev/kvm} +haben, mit @code{-G guixbuild,kvm} statt @code{-G guixbuild} +(@pxref{Aufruf von guix system}). + +Das Programm @code{guix-daemon} kann mit dem folgenden Befehl als +@code{root} gestartet werden@footnote{Wenn Ihre Maschine systemd als +»init«-System verwendet, genügt es, die Datei +@file{@var{prefix}/lib/systemd/system/guix-daemon.service} in +@file{/etc/systemd/system} zu platzieren, damit @command{guix-daemon} +automatisch gestartet wird. Ebenso können Sie, wenn Ihre Maschine Upstart +als »init«-System benutzt, die Datei +@file{@var{prefix}/lib/upstart/system/guix-daemon.conf} in @file{/etc/init} +platzieren.}: + +@example +# guix-daemon --build-users-group=guixbuild +@end example + +@cindex chroot +@noindent +Auf diese Weise startet der Daemon Erstellungsprozesse in einem chroot als +einer der @code{guixbuilder}-Benutzer. Auf GNU/Linux enthält die +chroot-Umgebung standardmäßig nichts außer: + +@c Keep this list in sync with libstore/build.cc! ----------------------- +@itemize +@item +einem minimalen @code{/dev}-Verzeichnis, was größtenteils vom @code{/dev} +des Wirtssystems unabhängig erstellt wurde@footnote{»Größtenteils«, denn +obwohl die Menge an Dateien, die im @code{/dev} des chroots vorkommen, fest +ist, können die meisten dieser Dateien nur dann erstellt werden, wenn das +Wirtssystem sie auch hat.}, + +@item +dem @code{/proc}-Verzeichnis, es zeigt nur die Prozesse des Containers, weil +ein separater Namensraum für Prozess-IDs (PIDs) benutzt wird, + +@item +@file{/etc/passwd} mit einem Eintrag für den aktuellen Benutzer und einem +Eintrag für den Benutzer @file{nobody}, + +@item +@file{/etc/group} mit einem Eintrag für die Gruppe des Benutzers, + +@item +@file{/etc/hosts} mit einem Eintrag, der @code{localhost} auf +@code{127.0.0.1} abbildet, + +@item +einem @file{/tmp}-Verzeichnis mit Schreibrechten. +@end itemize + +Sie können beeinflussen, in welchem Verzeichnis der Daemon Erstellungsbäume +unterbringt, indem sie den Wert der Umgebungsvariablen @code{TMPDIR} +ändern. Allerdings heißt innerhalb des chroots der Erstellungsbaum immer +@file{/tmp/guix-build-@var{name}.drv-0}, wobei @var{name} der Ableitungsname +ist — z.B. @code{coreutils-8.24}. Dadurch hat der Wert von @code{TMPDIR} +keinen Einfluss auf die Erstellungsumgebung, wodurch Unterschiede vermieden +werden, falls Erstellungsprozesse den Namen ihres Erstellungsbaumes +einfangen. + +@vindex http_proxy +Der Daemon befolgt außerdem den Wert der Umgebungsvariablen +@code{http_proxy} für von ihm durchgeführte HTTP-Downloads, sei es für +Ableitungen mit fester Ausgabe (@pxref{Ableitungen}) oder für Substitute +(@pxref{Substitute}). + +Wenn Sie Guix als ein Benutzer ohne erweiterte Rechte installieren, ist es +dennoch möglich, @command{guix-daemon} auszuführen, sofern Sie +@code{--disable-chroot} übergeben. Allerdings können Erstellungsprozesse +dann nicht voneinander und vom Rest des Systems isoliert werden. Daher +können sich Erstellungsprozesse gegenseitig stören und auf Programme, +Bibliotheken und andere Dateien zugreifen, die dem restlichen System zur +Verfügung stehen — was es deutlich schwerer macht, sie als @emph{reine} +Funktionen aufzufassen. + + +@node Auslagern des Daemons einrichten +@subsection Nutzung der Auslagerungsfunktionalität + +@cindex auslagern +@cindex Build-Hook +Wenn erwünscht kann der Erstellungs-Daemon Ableitungserstellungen +@dfn{auslagern} auf andere Maschinen, auf denen Guix läuft, mit Hilfe des +@code{offload}-»@dfn{Build-Hooks}«@footnote{Diese Funktionalität ist nur +verfügbar, wenn @uref{https://github.com/artyom-poptsov/guile-ssh, +Guile-SSH} vorhanden ist.}. Wenn diese Funktionalität aktiviert ist, wird +eine nutzerspezifizierte Liste von Erstellungsmaschinen aus +@file{/etc/guix/machines.scm} gelesen. Wann immer eine Erstellung angefragt +wird, zum Beispiel durch @code{guix build}, versucht der Daemon, sie an eine +der Erstellungsmaschinen auszulagern, die die Einschränkungen der Ableitung +erfüllen, insbesondere ihren Systemtyp — z.B. @file{x86_64-linux}. Fehlende +Voraussetzungen für die Erstellung werden über SSH auf die Zielmaschine +kopiert, welche dann mit der Erstellung weitermacht. Hat sie Erfolg damit, +so werden die Ausgabe oder Ausgaben der Erstellung zurück auf die +ursprüngliche Maschine kopiert. + +Die Datei @file{/etc/guix/machines.scm} sieht normalerweise so aus: + +@example +(list (build-machine + (name "eightysix.example.org") + (system "x86_64-linux") + (host-key "ssh-ed25519 AAAAC3Nza@dots{}") + (user "bob") + (speed 2.)) ;unglaublich schnell! + + (build-machine + (name "meeps.example.org") + (system "mips64el-linux") + (host-key "ssh-rsa AAAAB3Nza@dots{}") + (user "alice") + (private-key + (string-append (getenv "HOME") + "/.ssh/identität-für-guix")))) +@end example + +@noindent +Im obigen Beispiel geben wir eine Liste mit zwei Erstellungsmaschinen vor, +eine für die @code{x86_64}-Architektur und eine für die +@code{mips64el}-Architektur. + +Tatsächlich ist diese Datei — wenig überraschend! — eine Scheme-Datei, die +ausgewertet wird, wenn der @code{offload}-Hook gestartet wird. Der Wert, den +sie zurückliefert, muss eine Liste von @code{build-machine}-Objekten +sein. Obwohl dieses Beispiel eine feste Liste von Erstellungsmaschinen +zeigt, könnte man auch auf die Idee kommen, etwa mit DNS-SD eine Liste +möglicher im lokalen Netzwerk entdeckter Erstellungsmaschinen zu liefern +(@pxref{Einführung, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme +Programs}). Der Datentyp @code{build-machine} wird im Folgenden weiter +ausgeführt. + +@deftp {Datentyp} build-machine +Dieser Datentyp repräsentiert Erstellungsmaschinen, an die der Daemon +Erstellungen auslagern darf. Die wichtigen Felder sind: + +@table @code + +@item name +Der Hostname der entfernten Maschine. + +@item system +Der Systemtyp der entfernten Maschine — z.B. @code{"x86_64-linux"}. + +@item user +Das Benutzerkonto, mit dem eine Verbindung zur entfernten Maschine über SSH +aufgebaut werden soll. Beachten Sie, dass das SSH-Schlüsselpaar @emph{nicht} +durch eine Passphrase geschützt sein darf, damit nicht-interaktive +Anmeldungen möglich sind. + +@item host-key +Dies muss der @dfn{öffentliche SSH-Host-Schlüssel} der Maschine im +OpenSSH-Format sein. Er wird benutzt, um die Identität der Maschine zu +prüfen, wenn wir uns mit ihr verbinden. Er ist eine lange Zeichenkette, die +ungefähr so aussieht: + +@example +ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org +@end example + +Wenn auf der Maschine der OpenSSH-Daemon, @command{sshd}, läuft, ist der +Host-Schlüssel in einer Datei wie @file{/etc/ssh/ssh_host_ed25519_key.pub} +zu finden. + +Wenn auf der Maschine der SSH-Daemon von GNU@tie{}lsh, nämlich +@command{lshd}, läuft, befindet sich der Host-Schlüssel in +@file{/etc/lsh/host-key.pub} oder einer ähnlichen Datei. Er kann ins +OpenSSH-Format umgewandelt werden durch @command{lsh-export-key} +(@pxref{Converting keys,,, lsh, LSH Manual}): + +@example +$ lsh-export-key --openssh < /etc/lsh/host-key.pub +ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{} +@end example + +@end table + +Eine Reihe optionaler Felder kann festgelegt werden: + +@table @asis + +@item @code{port} (Vorgabe: @code{22}) +Portnummer des SSH-Servers auf der Maschine. + +@item @code{private-key} (Vorgabe: @file{~root/.ssh/id_rsa}) +The SSH private key file to use when connecting to the machine, in OpenSSH +format. This key must not be protected with a passphrase. + +Beachten Sie, dass als Vorgabewert der private Schlüssel @emph{des +root-Benutzers} genommen wird. Vergewissern Sie sich, dass er existiert, +wenn Sie die Standardeinstellung verwenden. + +@item @code{compression} (Vorgabe: @code{"zlib@@openssh.com,zlib"}) +@itemx @code{compression-level} (Vorgabe: @code{3}) +Die Kompressionsmethoden auf SSH-Ebene und das angefragte +Kompressionsniveau. + +Beachten Sie, dass Auslagerungen SSH-Kompression benötigen, um beim +Übertragen von Dateien an Erstellungsmaschinen und zurück weniger Bandbreite +zu benutzen. + +@item @code{daemon-socket} (Vorgabe: @code{"/var/guix/daemon-socket/socket"}) +Dateiname des Unix-Sockets, auf dem @command{guix-daemon} auf der Maschine +lauscht. + +@item @code{parallel-builds} (Vorgabe: @code{1}) +Die Anzahl der Erstellungen, die auf der Maschine parallel ausgeführt werden +können. + +@item @code{speed} (Vorgabe: @code{1.0}) +Ein »relativer Geschwindigkeitsfaktor«. Der Auslagerungsplaner gibt +tendenziell Maschinen mit höherem Geschwindigkeitsfaktor den Vorrang. + +@item @code{features} (Vorgabe: @code{'()}) +Eine Liste von Zeichenketten, die besondere von der Maschine unterstützte +Funktionalitäten bezeichnen. Ein Beispiel ist @code{"kvm"} für Maschinen, +die über die KVM-Linux-Module zusammen mit entsprechender +Hardware-Unterstützung verfügen. Ableitungen können Funktionalitäten dem +Namen nach anfragen und werden dann auf passenden Erstellungsmaschinen +eingeplant. + +@end table +@end deftp + +Der Befehl @code{guile} muss sich im Suchpfad der Erstellungsmaschinen +befinden. Zusätzlich müssen die Guix-Module im @code{$GUILE_LOAD_PATH} auf +den Erstellungsmaschinen zu finden sein — um dies nachzuprüfen, können Sie +Folgendes ausführen: + +@example +ssh build-machine guile -c "'(use-modules (guix config))'" +@end example + +Es gibt noch eine weitere Sache zu tun, sobald @file{machines.scm} +eingerichtet ist. Wie zuvor erklärt, werden beim Auslagern Dateien zwischen +den Stores der Maschinen hin- und hergeschickt. Damit das funktioniert, +müssen Sie als Erstes ein Schlüsselpaar auf jeder Maschine erzeugen, damit +der Daemon signierte Archive mit den Dateien aus dem Store versenden kann +(@pxref{Aufruf von guix archive}): + +@example +# guix archive --generate-key +@end example + +@noindent +Jede Erstellungsmaschine muss den Schlüssel der Hauptmaschine autorisieren, +damit diese Store-Objekte von der Hauptmaschine empfangen kann: + +@example +# guix archive --authorize < öffentlicher-schlüssel-hauptmaschine.txt +@end example + +@noindent +Andersherum muss auch die Hauptmaschine den jeweiligen Schlüssel jeder +Erstellungsmaschine autorisieren. + +Der ganze Umstand mit den Schlüsseln soll ausdrücken, dass sich Haupt- und +Erstellungsmaschinen paarweise gegenseitig vertrauen. Konkret kann der +Erstellungs-Daemon auf der Hauptmaschine die Echtheit von den +Erstellungsmaschinen empfangener Dateien gewährleisten (und umgekehrt), und +auch dass sie nicht sabotiert wurden und mit einem autorisierten Schlüssel +signiert wurden. + +@cindex Auslagerung testen +Um zu testen, ob Ihr System funktioniert, führen Sie diesen Befehl auf der +Hauptmaschine aus: + +@example +# guix offload test +@end example + +Dadurch wird versucht, zu jeder Erstellungsmaschine eine Verbindung +herzustellen, die in @file{/etc/guix/machines.scm} angegeben wurde, +sichergestellt, dass auf jeder Guile und die Guix-Module nutzbar sind, und +jeweils versucht, etwas auf die Erstellungsmaschine zu exportieren und von +dort zu imporieren. Dabei auftretende Fehler werden gemeldet. + +Wenn Sie stattdessen eine andere Maschinendatei verwenden möchten, geben Sie +diese einfach auf der Befehlszeile an: + +@example +# guix offload test maschinen-qualif.scm +@end example + +Letztendlich können Sie hiermit nur die Teilmenge der Maschinen testen, +deren Name zu einem regulären Ausdruck passt: + +@example +# guix offload test maschinen.scm '\.gnu\.org$' +@end example + +@cindex Auslagerungs-Lagebericht +Um die momentane Auslastung aller Erstellungs-Hosts anzuzeigen, führen Sie +diesen Befehl auf dem Hauptknoten aus: + +@example +# guix offload status +@end example + + +@node SELinux-Unterstützung +@subsection SELinux-Unterstützung + +@cindex SELinux, Policy für den Daemon +@cindex Mandatory Access Control, SELinux +@cindex Sicherheit, des guix-daemon +Guix enthält eine SELinux-Richtliniendatei (»Policy«) unter +@file{etc/guix-daemon.cil}, die auf einem System installiert werden +kann, auf dem SELinux aktiviert ist, damit Guix-Dateien gekennzeichnet +sind, und um das erwartete Verhalten des Daemons anzugeben. Da GuixSD +keine Grundrichtlinie (»Base Policy«) für SELinux bietet, kann diese +Richtlinie für den Daemon auf GuixSD nicht benutzt werden. + +@subsubsection Installieren der SELinux-Policy +@cindex SELinux, Policy installieren +Um die Richtlinie (Policy) zu installieren, führen Sie folgenden Befehl mit +Administratorrechten aus: + +@example +semodule -i etc/guix-daemon.cil +@end example + +Kennzeichnen Sie dann das Dateisystem neu mit @code{restorecon} oder einem +anderen, von Ihrem System angebotenen Mechanismus. + +Sobald die Richtlinie installiert ist, das Dateisystem neu gekennzeichnet +wurde und der Daemon neugestartet wurde, sollte er im Kontext +@code{guix_daemon_t} laufen. Sie können dies mit dem folgenden Befehl +nachprüfen: + +@example +ps -Zax | grep guix-daemon +@end example + +Beobachten Sie die Protokolldateien von SELinux, wenn Sie einen Befehl wie +@code{guix build hello} ausführen, um sich zu überzeugen, dass SELinux alle +notwendigen Operationen gestattet. + +@subsubsection Einschränkungen +@cindex SELinux, Einschränkungen + +Diese Richtlinie ist nicht perfekt. Im Folgenden finden Sie eine Liste von +Einschränkungen oder merkwürdigen Verhaltensweisen, die bedacht werden +sollten, wenn man die mitgelieferte SELinux-Richtlinie für den Guix-Daemon +einspielt. + +@enumerate +@item +@code{guix_daemon_socket_t} wird nicht wirklich benutzt. Keine der +Socket-Operationen benutzt Kontexte, die irgendetwas mit +@code{guix_daemon_socket_t} zu tun haben. Es schadet nicht, diese ungenutzte +Kennzeichnung zu haben, aber es wäre besser, für die Kennzeichnung auch +Socket-Regeln festzulegen. + +@item +@code{guix gc} kann nicht auf beliebige Verknüpfungen zu Profilen +zugreifen. Die Kennzeichnung des Ziels einer symbolischen Verknüpfung ist +notwendigerweise unabhängig von der Dateikennzeichnung der +Verknüpfung. Obwohl alle Profile unter $localstatedir gekennzeichnet sind, +erben die Verknüpfungen auf diese Profile die Kennzeichnung desjenigen +Verzeichnisses, in dem sie sich befinden. Für Verknüpfungen im Persönlichen +Ordner des Benutzers ist das @code{user_home_t}, aber Verknüpfungen aus dem +Persönlichen Ordner des Administratornutzers, oder @file{/tmp}, oder das +Arbeitsverzeichnis des HTTP-Servers, etc., funktioniert das +nicht. @code{guix gc} würde es nicht gestattet, diese Verknüpfungen +auszulesen oder zu verfolgen. + +@item +Die vom Daemon gebotene Funktionalität, auf TCP-Verbindungen zu lauschen, +könnte nicht mehr funktionieren. Dies könnte zusätzliche Regeln brauchen, +weil SELinux Netzwerk-Sockets anders behandelt als Dateien. + +@item +Derzeit wird allen Dateien mit einem Namen, der zum regulären Ausdruck +@code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} passt, die +Kennzeichnung @code{guix_daemon_exec_t} zugewiesen, wodurch @emph{jede +beliebige} Datei mit diesem Namen in irgendeinem Profil gestattet wäre, in +der Domäne @code{guix_daemon_t} ausgeführt zu werden. Das ist nicht +ideal. Ein Angreifer könnte ein Paket erstellen, dass solch eine ausführbare +Datei enthält, und den Nutzer überzeugen, es zu installieren und +auszuführen. Dadurch käme es in die Domäne @code{guix_daemon_t}. Ab diesem +Punkt könnte SELinux nicht mehr verhindern, dass es auf Dateien zugreift, +auf die Prozesse in dieser Domäne zugreifen dürfen. + +Wir könnten zum Zeitpunkt der Installation eine wesentlich restriktivere +Richtlinie generieren, für die nur @emph{genau derselbe} Dateiname des +gerade installierten @code{guix-daemon}-Programms als +@code{guix_daemon_exec_t} gekennzeichnet würde, statt einen vieles +umfassenden regulären Ausdruck zu benutzen. Aber dann müsste der +Administratornutzer zum Zeitpunkt der Installation jedes Mal die Richtlinie +installieren oder aktualisieren müssen, sobald das Guix-Paket aktualisiert +wird, dass das tatsächlich in Benutzung befindliche +@code{guix-daemon}-Programm enthält. +@end enumerate + +@node Aufruf des guix-daemon +@section Aufruf von @command{guix-daemon} + +Das Programm @command{guix-daemon} implementiert alle Funktionalitäten, um +auf den Store zuzugreifen. Dazu gehört das Starten von Erstellungsprozessen, +das Ausführen des Müllsammlers, das Abfragen, ob ein Erstellungsergebnis +verfügbar ist, etc. Normalerweise wird er so als Administratornutzer +(@code{root}) gestartet: + +@example +# guix-daemon --build-users-group=guixbuild +@end example + +@noindent +Details, wie Sie ihn einrichten, finden Sie im Abschnitt @pxref{Den Daemon einrichten}. + +@cindex chroot +@cindex Container, Erstellungsumgebung +@cindex Erstellungsumgebung +@cindex Reproduzierbare Erstellungen +Standardmäßig führt @command{guix-daemon} Erstellungsprozesse mit +unterschiedlichen UIDs aus, die aus der Erstellungsgruppe stammen, deren +Name mit @code{--build-users-group} übergeben wurde. Außerdem läuft jeder +Erstellungsprozess in einer chroot-Umgebung, die nur die Teilmenge des +Stores enthält, von der der Erstellungsprozess abhängt, entsprechend seiner +Ableitung (@pxref{Programmierschnittstelle, derivation}), und ein paar +bestimmte Systemverzeichnisse, darunter standardmäßig auch @file{/dev} und +@file{/dev/pts}. Zudem ist die Erstellungsumgebung auf GNU/Linux ein +@dfn{Container}: Nicht nur hat er seinen eigenen Dateisystembaum, er hat +auch einen separaten Namensraum zum Einhängen von Dateisystemen, seinen +eigenen Namensraum für PIDs, für Netzwerke, etc. Dies hilft dabei, +reproduzierbare Erstellungen zu garantieren (@pxref{Funktionalitäten}). + +When the daemon performs a build on behalf of the user, it creates a build +directory under @file{/tmp} or under the directory specified by its +@code{TMPDIR} environment variable. This directory is shared with the +container for the duration of the build, though within the container, the +build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}. + +Nach Abschluss der Erstellung wird das Erstellungsverzeichnis automatisch +entfernt, außer wenn die Erstellung fehlgeschlagen ist und der Client +@option{--keep-failed} angegeben hat (@pxref{Aufruf von guix build, +@option{--keep-failed}}). + +The daemon listens for connections and spawns one sub-process for each +session started by a client (one of the @command{guix} sub-commands.) The +@command{guix processes} command allows you to get an overview of the +activity on your system by viewing each of the active sessions and clients. +@xref{Invoking guix processes}, for more information. + +Die folgenden Befehlszeilenoptionen werden unterstützt: + +@table @code +@item --build-users-group=@var{Gruppe} +Verwende die Benutzerkonten aus der @var{Gruppe}, um Erstellungsprozesse +auszuführen (@pxref{Den Daemon einrichten, build users}). + +@item --no-substitutes +@cindex Substitute +Benutze keine Substitute für Erstellungsergebnisse. Das heißt, dass alle +Objekte lokal erstellt werden müssen, und kein Herunterladen von vorab +erstellten Binärdateien erlaubt ist (@pxref{Substitute}). + +Wenn der Daemon mit @code{--no-substitutes} ausgeführt wird, können Clients +trotzdem Substitute explizit aktivieren über den entfernten Prozeduraufruf +@code{set-build-options} (@pxref{Der Store}). + +@item --substitute-urls=@var{URLs} +@anchor{daemon-substitute-urls} +Benutze @var{URLs} als standardmäßige, leerzeichengetrennte Liste der +Quell-URLs für Substitute. Wenn diese Befehlszeilenoption nicht angegeben +wird, wird @indicateurl{https://mirror.hydra.gnu.org https://hydra.gnu.org} +verwendet (@code{mirror.hydra.gnu.org} ist ein Spiegelserver für +@code{hydra.gnu.org}). + +Das hat zur Folge, dass Substitute von den @var{URLs} heruntergeladen werden +können, solange sie mit einer Signatur versehen sind, der vertraut wird +(@pxref{Substitute}). + +@cindex Build-Hook +@item --no-build-hook +Den »@dfn{Build-Hook}« nicht benutzen. + +»Build-Hook« ist der Name eines Hilfsprogramms, das der Daemon starten kann +und an das er Erstellungsanfragen übermittelt. Durch diesen Mechanismus +können Erstellungen an andere Maschinen ausgelagert werden (@pxref{Auslagern des Daemons einrichten}). + +@item --cache-failures +Fehler bei der Erstellung zwischenspeichern. Normalerweise werden nur +erfolgreiche Erstellungen gespeichert. + +Wenn diese Befehlszeilenoption benutzt wird, kann @command{guix gc +--list-failures} benutzt werden, um die Menge an Store-Objekten abzufragen, +die als Fehlschläge markiert sind; @command{guix gc --clear-failures} +entfernt Store-Objekte aus der Menge zwischengespeicherter +Fehlschläge. @xref{Aufruf von guix gc}. + +@item --cores=@var{n} +@itemx -c @var{n} +@var{n} CPU-Kerne zum Erstellen jeder Ableitung benutzen; @code{0} heißt, so +viele wie verfügbar sind. + +Der Vorgabewert ist @code{0}, jeder Client kann jedoch eine abweichende +Anzahl vorgeben, zum Beispiel mit der Befehlszeilenoption @code{--cores} von +@command{guix build} (@pxref{Aufruf von guix build}). + +Dadurch wird die Umgebungsvariable @code{NIX_BUILD_CORES} im +Erstellungsprozess definiert, welcher sie benutzen kann, um intern parallele +Ausführungen zuzulassen — zum Beispiel durch Nutzung von @code{make +-j$NIX_BUILD_CORES}. + +@item --max-jobs=@var{n} +@itemx -M @var{n} +Höchstenss @var{n} Erstellungsaufträge parallel bearbeiten. Der Vorgabewert +liegt bei @code{1}. Wird er auf @code{0} gesetzt, werden keine Erstellungen +lokal durchgeführt, stattdessen lagert der Daemon sie nur aus (@pxref{Auslagern des Daemons einrichten}) oder sie schlagen einfach fehl. + +@item --max-silent-time=@var{Sekunden} +Wenn der Erstellungs- oder Substitutionsprozess länger als +@var{Sekunden}-lang keine Ausgabe erzeugt, wird er abgebrochen und ein +Fehler beim Erstellen gemeldet. + +Der Vorgabewert ist @code{0}, was bedeutet, dass es keine Zeitbeschränkung +gibt. + +Clients können einen anderen Wert als den hier angegebenen verwenden lassen +(@pxref{Gemeinsame Erstellungsoptionen, @code{--max-silent-time}}). + +@item --timeout=@var{Sekunden} +Entsprechend wird hier der Erstellungs- oder Substitutionsprozess +abgebrochen und als Fehlschlag gemeldet, wenn er mehr als +@var{Sekunden}-lang dauert. + +Der Vorgabewert ist @code{0}, was bedeutet, dass es keine Zeitbeschränkung +gibt. + +Clients können einen anderen Wert verwenden lassen (@pxref{Gemeinsame Erstellungsoptionen, @code{--timeout}}). + +@item --rounds=@var{N} +Jede Ableitung @var{n}-mal hintereinander erstellen und einen Fehler melden, +wenn nacheinander ausgewertete Erstellungsergebnisse nicht Bit für Bit +identisch sind. Beachten Sie, dass Clients wie @command{guix build} einen +anderen Wert verwenden lassen können (@pxref{Aufruf von guix build}). + +Wenn dies zusammen mit @option{--keep-failed} benutzt wird, bleiben die sich +unterscheidenden Ausgaben im Store unter dem Namen +@file{/gnu/store/@dots{}-check}. Dadurch können Unterschiede zwischen den +beiden Ergebnissen leicht erkannt werden. + +@item --debug +Informationen zur Fehlersuche ausgeben. + +Dies ist nützlich, um Probleme beim Starten des Daemons nachzuvollziehen; +Clients könn aber auch ein abweichenden Wert verwenden lassen, zum Beispiel +mit der Befehlszeilenoption @code{--verbosity} von @command{guix build} +(@pxref{Aufruf von guix build}). + +@item --chroot-directory=@var{Verzeichnis} +Füge das @var{Verzeichnis} zum chroot von Erstellungen hinzu. + +Dadurch kann sich das Ergebnis von Erstellungsprozessen ändern — zum +Beispiel, wenn diese optionale Abhängigkeiten aus dem @var{Verzeichnis} +verwenden, wenn sie verfügbar sind, und nicht, wenn es fehlt. Deshalb ist es +nicht empfohlen, dass Sie diese Befehlszeilenoption verwenden, besser +sollten Sie dafür sorgen, dass jede Ableitung alle von ihr benötigten +Eingabgen deklariert. + +@item --disable-chroot +Erstellungen ohne chroot durchführen. + +Diese Befehlszeilenoption zu benutzen, wird nicht empfohlen, denn auch +dadurch bekämen Erstellungsprozesse Zugriff auf nicht deklarierte +Abhängigkeiten. Sie ist allerdings unvermeidlich, wenn @command{guix-daemon} +auf einem Benutzerkonto ohne ausreichende Berechtigungen ausgeführt wird. + +@item --log-compression=@var{Typ} +Erstellungsprotokolle werden entsprechend dem @var{Typ} komprimiert, der +entweder @code{gzip}, @code{bzip2} oder @code{none} (für keine Kompression) +sein muss. + +Sofern nicht @code{--lose-logs} angegeben wurde, werden alle +Erstellungsprotokolle in der @var{localstatedir} gespeichert. Um Platz zu +sparen, komprimiert sie der Daemon standardmäßig automatisch mit bzip2. + +@item --disable-deduplication +@cindex Deduplizieren +Automatische Dateien-»Deduplizierung« im Store ausschalten. + +Standardmäßig werden zum Store hinzugefügte Objekte automatisch +»dedupliziert«: Wenn eine neue Datei mit einer anderen im Store +übereinstimmt, wird die neue Datei stattdessen als harte Verknüpfung auf die +andere Datei angelegt. Dies reduziert den Speicherverbrauch auf der Platte +merklich, jedoch steigt andererseits die Auslastung bei der Ein-/Ausgabe im +Erstellungsprozess geringfügig. Durch diese Option wird keine solche +Optimierung durchgeführt. + +@item --gc-keep-outputs[=yes|no] +Gibt an, ob der Müllsammler (Garbage Collector, GC) die Ausgaben lebendiger +Ableitungen behalten muss (»yes«) oder nicht (»no«). + +@cindex GC-Wurzeln +@cindex Müllsammlerwurzeln +When set to ``yes'', the GC will keep the outputs of any live derivation +available in the store---the @code{.drv} files. The default is ``no'', +meaning that derivation outputs are kept only if they are reachable from a +GC root. @xref{Aufruf von guix gc}, for more on GC roots. + +@item --gc-keep-derivations[=yes|no] +Gibt an, ob der Müllsammler (GC) Ableitungen behalten muss (»yes«), wenn sie +lebendige Ausgaben haben, oder nicht (»no«). + +Für »yes«, den Vorgabewert, behält der Müllsammler Ableitungen — +z.B. @code{.drv}-Dateien —, solange zumindest eine ihrer Ausgaben lebendig +ist. Dadurch können Nutzer den Ursprung der Dateien in ihrem Store +nachvollziehen. Setzt man den Wert auf »no«, wird ein bisschen weniger +Speicher auf der Platte verbraucht. + +In this way, setting @code{--gc-keep-derivations} to ``yes'' causes liveness +to flow from outputs to derivations, and setting @code{--gc-keep-outputs} to +``yes'' causes liveness to flow from derivations to outputs. When both are +set to ``yes'', the effect is to keep all the build prerequisites (the +sources, compiler, libraries, and other build-time tools) of live objects in +the store, regardless of whether these prerequisites are reachable from a GC +root. This is convenient for developers since it saves rebuilds or +downloads. + +@item --impersonate-linux-2.6 +Auf Linux-basierten Systemen wird hiermit vorgetäuscht, dass es sich um +Linux 2.6 handeln würde, indem der Kernel für einen +@code{uname}-Systemaufruf als Version der Veröffentlichung mit 2.6 +antwortet. + +Dies kann hilfreich sein, um Programme zu erstellen, die (normalerweise zu +Unrecht) von der Kernel-Versionsnummer abhängen. + +@item --lose-logs +Keine Protokolle der Erstellungen vorhalten. Normalerweise würden solche in +@code{@var{localstatedir}/guix/log} gespeichert. + +@item --system=@var{System} +Verwende @var{System} als aktuellen Systemtyp. Standardmäßig ist dies das +Paar aus Befehlssatz und Kernel, welches beim Aufruf von @code{configure} +erkannt wurde, wie zum Beispiel @code{x86_64-linux}. + +@item --listen=@var{Endpunkt} +Lausche am @var{Endpunkt} auf Verbindungen. Dabei wird der @var{Endpunkt} +als Dateiname eines Unix-Sockets verstanden, wenn er mit einem @code{/} +(Schrägstrich) beginnt. Andernfalls wird der @var{Endpunkt} als Hostname +oder als Hostname-Port-Paar verstanden, auf dem gelauscht wird. Hier sind +ein paar Beispiele: + +@table @code +@item --listen=/gnu/var/daemon +Lausche auf Verbindungen am Unix-Socket @file{/gnu/var/daemon}, falls nötig +wird er dazu erstellt. + +@item --listen=localhost +@cindex Daemon, Fernzugriff +@cindex Fernzugriff auf den Daemon +@cindex Daemon, Einrichten auf Clustern +@cindex Cluster, Einrichtung des Daemons +Lausche auf TCP-Verbindungen an der Netzwerkschnittstelle, die +@code{localhost} entspricht, auf Port 44146. + +@item --listen=128.0.0.42:1234 +Lausche auf TCP-Verbindungen an der Netzwerkschnittstelle, die +@code{128.0.0.42} entspricht, auf Port 1234. +@end table + +Diese Befehlszeilenoption kann mehrmals wiederholt werden. In diesem Fall +akzeptiert @command{guix-daemon} Verbindungen auf allen angegebenen +Endpunkten. Benutzer können bei Client-Befehlen angeben, mit welchem +Endpunkt sie sich verbinden möchten, indem sie die Umgebungsvariable +@code{GUIX_DAEMON_SOCKET} festlegen (@pxref{Der Store, +@code{GUIX_DAEMON_SOCKET}}). + +@quotation Anmerkung +Das Daemon-Protokoll ist @emph{weder authentifiziert noch +verschlüsselt}. Die Benutzung von @code{--listen=@var{Host}} eignet sich für +lokale Netzwerke, wie z.B. in Rechen-Clustern, wo sich nur solche Knoten mit +dem Daemon verbinden, denen man vertraut. In Situationen, wo ein Fernzugriff +auf den Daemon durchgeführt wird, empfehlen wir, über Unix-Sockets in +Verbindung mit SSH zuzugreifen. +@end quotation + +Wird @code{--listen} nicht angegeben, lauscht @command{guix-daemon} auf +Verbindungen auf dem Unix-Socket, der sich unter +@file{@var{localstatedir}/guix/daemon-socket/socket} befindet. +@end table + + +@node Anwendungen einrichten +@section Anwendungen einrichten + +@cindex Fremddistribution +Läuft Guix aufgesetzt auf einer GNU/Linux-Distribution außer GuixSD — einer +sogenannten @dfn{Fremddistribution} —, so sind ein paar zusätzliche Schritte +bei der Einrichtung nötig. Hier finden Sie manche davon. + +@subsection Locales + +@anchor{locales-and-locpath} +@cindex Locales, nicht auf GuixSD +@vindex LOCPATH +@vindex GUIX_LOCPATH +Über Guix installierte Pakete benutzen nicht die Daten zu Regions- und +Spracheinstellungen (Locales) des Wirtssystems. Stattdessen müssen Sie erst +eines der Locale-Pakete installieren, die für Guix verfügbar sind, und dann +den Wert Ihrer Umgebungsvariablen @code{GUIX_LOCPATH} passend festlegen: + +@example +$ guix package -i glibc-locales +$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale +@end example + +Beachten Sie, dass das Paket @code{glibc-locales} Daten für alle von +GNU@tie{}libc unterstützten Locales enthält und deswegen um die 110@tie{}MiB +wiegt. Alternativ gibt es auch @code{glibc-utf8-locales}, was kleiner, aber +auf ein paar UTF-8-Locales beschränkt ist. + +Die Variable @code{GUIX_LOCPATH} spielt eine ähnliche Rolle wie +@code{LOCPATH} (@pxref{Locale Names, @code{LOCPATH},, libc, The GNU C +Library Reference Manual}). Es gibt jedoch zwei wichtige Unterschiede: + +@enumerate +@item +@code{GUIX_LOCPATH} wird nur von der libc in Guix beachtet und nicht der von +Fremddistributionen bereitgestellten libc. Mit @code{GUIX_LOCPATH} können +Sie daher sicherstellen, dass die Programme der Fremddistribution keine +inkompatiblen Locale-Daten von Guix laden. + +@item +libc hängt an jeden @code{GUIX_LOCPATH}-Eintrag @code{/X.Y} an, wobei +@code{X.Y} die Version von libc ist — z.B. @code{2.22}. Sollte Ihr +Guix-Profil eine Mischung aus Programmen enthalten, die an verschiedene +libc-Versionen gebunden sind, wird jede nur die Locale-Daten im richtigen +Format zu laden versuchen. +@end enumerate + +Das ist wichtig, weil das Locale-Datenformat verschiedener libc-Versionen +inkompatibel sein könnte. + +@subsection Name Service Switch + +@cindex Name Service Switch, glibc +@cindex NSS (Name Service Switch), glibc +@cindex nscd (Name Service Caching Daemon) +@cindex Name Service Caching Daemon (nscd) +Wenn Sie Guix auf einer Fremddistribution verwenden, @emph{empfehlen wir +stärkstens}, dass Sie den @dfn{Name Service Cache Daemon} der +GNU-C-Bibliothek, @command{nscd}, laufen lassen, welcher auf dem Socket +@file{/var/run/nscd/socket} lauschen sollte. Wenn Sie das nicht tun, könnten +mit Guix installierte Anwendungen Probleme beim Auflösen von Hostnamen oder +Benutzerkonten haben, oder sogar abstürzen. Die nächsten Absätze erklären +warum. + +@cindex @file{nsswitch.conf} +Die GNU-C-Bibliothek implementiert einen @dfn{Name Service Switch} (NSS), +welcher einen erweiterbaren Mechanismus zur allgemeinen »Namensauflösung« +darstellt: Hostnamensauflösung, Benutzerkonten und weiteres (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual}). + +@cindex Network Information Service (NIS) +@cindex NIS (Network Information Service) +Für die Erweiterbarkeit unterstützt der NSS @dfn{Plugins}, welche neue +Implementierungen zur Namensauflösung bieten: Zum Beispiel ermöglicht das +Plugin @code{nss-mdns} die Namensauflösung für @code{.local}-Hostnamen, das +Plugin @code{nis} gestattet die Auflösung von Benutzerkonten über den +Network Information Service (NIS) und so weiter. Diese zusätzlichen +»Auflösungsdienste« werden systemweit konfiguriert in +@file{/etc/nsswitch.conf} und alle auf dem System laufenden Programme halten +sich an diese Einstellungen (@pxref{NSS Configuration File,,, libc, The GNU +C Reference Manual}). + +Wenn sie eine Namensauflösung durchführen — zum Beispiel, indem sie die +@code{getaddrinfo}-Funktion in C aufrufen — versuchen die Anwendungen als +Erstes, sich mit dem nscd zu verbinden; ist dies erfolgreich, führt nscd für +sie die weiteren Namensauflösungen durch. Falls nscd nicht läuft, führen sie +selbst die Namensauflösungen durch, indem sie die Namensauflösungsdienste in +ihren eigenen Adressraum laden und ausführen. Diese Namensauflösungsdienste +— die @file{libnss_*.so}-Dateien — werden mit @code{dlopen} geladen, aber +sie kommen von der C-Bibliothek des Wirtssystems und nicht von der +C-Bibliothek, mit der die Anwendung gebunden wurde (also der C-Bibliothek +von Guix). + +Und hier kommt es zum Problem: Wenn die Anwendung mit der C-Bibliothek von +Guix (etwa glibc 2.24) gebunden wurde und die NSS-Plugins von einer anderen +C-Bibliothek (etwa @code{libnss_mdns.so} für glibc 2.22) zu laden versucht, +wird sie vermutlich abstürzen oder die Namensauflösungen werden unerwartet +fehlschlagen. + +Durch das Ausführen von @command{nscd} auf dem System wird, neben anderen +Vorteilen, dieses Problem der binären Inkompatibilität vermieden, weil diese +@code{libnss_*.so}-Dateien vom @command{nscd}-Prozess geladen werden, nicht +in den Anwendungen selbst. + +@subsection X11-Schriftarten + +@cindex Schriftarten +Die Mehrheit der graphischen Anwendungen benutzen Fontconfig zum Finden und +Laden von Schriftarten und für die Darstellung im X11-Client. Im Paket +@code{fontconfig} in Guix werden Schriftarten standardmäßig in +@file{$HOME/.guix-profile} gesucht. Um es graphischen Anwendungen, die mit +Guix installiert wurden, zu ermöglichen, Schriftarten anzuzeigen, müssen Sie +die Schriftarten auch mit Guix installieren. Essenzielle Pakete für +Schriftarten sind unter Anderem @code{gs-fonts}, @code{font-dejavu} und +@code{font-gnu-freefont-ttf}. + +Um auf Chinesisch, Japanisch oder Koreanisch verfassten Text in graphischen +Anwendungen anzeigen zu können, möchten Sie vielleicht +@code{font-adobe-source-han-sans} oder @code{font-wqy-zenhei} +installieren. Ersteres hat mehrere Ausgaben, für jede Sprachfamilie eine +(@pxref{Pakete mit mehreren Ausgaben.}). Zum Beispiel installiert folgender +Befehl Schriftarten für chinesische Sprachen: + +@example +guix package -i font-adobe-source-han-sans:cn +@end example + +@cindex @code{xterm} +Ältere Programme wie @command{xterm} benutzen kein Fontconfig, sondern +X-Server-seitige Schriftartendarstellung. Solche Programme setzen voraus, +dass der volle Name einer Schriftart mit XLFD (X Logical Font Description) +angegeben wird, z.B. so: + +@example +-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1 +@end example + +Um solche vollen Namen für die in Ihrem Guix-Profil installierten +TrueType-Schriftarten zu verwenden, müssen Sie den Pfad für Schriftarten +(Font Path) des X-Servers anpassen: + +@c Note: 'xset' does not accept symlinks so the trick below arranges to +@c get at the real directory. See . +@example +xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir)) +@end example + +@cindex @code{xlsfonts} +Danach können Sie den Befehl @code{xlsfonts} ausführen (aus dem Paket +@code{xlsfonts}), um sicherzustellen, dass dort Ihre TrueType-Schriftarten +aufgeführt sind. + +@cindex @code{fc-cache} +@cindex Font-Cache +Nach der Installation der Schriftarten müssen Sie unter Umständen den +Schriftarten-Zwischenspeicher (Font-Cache) erneuern, um diese in Anwendungen +benutzen zu können. Gleiches gilt, wenn mit Guix installierte Anwendungen +anscheinend keine Schriftarten finden können. Um das Erneuern des +Font-Caches zu erzwingen, führen Sie @code{fc-cache -f} aus. Der Befehl +@code{fc-cache} wird vom Paket @code{fontconfig} angeboten. + +@subsection X.509-Zertifikate + +@cindex @code{nss-certs} +Das Paket @code{nss-certs} bietet X.509-Zertifikate, womit Programme die +Identität von Web-Servern authentifizieren können, auf die über HTTPS +zugegriffen wird. + +Wenn Sie Guix auf einer Fremddistribution verwenden, können Sie dieses Paket +installieren und die relevanten Umgebungsvariablen festlegen, damit Pakete +wissen, wo sie Zertifikate finden. In @xref{X.509-Zertifikate} stehen +genaue Informationen. + +@subsection Emacs-Pakete + +@cindex @code{emacs} +Wenn Sie mit Guix Pakete für Emacs installieren, werden deren elisp-Dateien +entweder in @file{$HOME/.guix-profile/share/emacs/site-lisp/} oder in +Unterverzeichnissen von +@file{$HOME/.guix-profile/share/emacs/site-lisp/guix.d/} +gespeichert. Letzteres Verzeichnis gibt es, weil es Tausende von +Emacs-Paketen gibt und sie alle im selben Verzeichnis zu speichern +vielleicht nicht verlässlich funktioniert (wegen Namenskonflikten). Daher +halten wir es für richtig, für jedes Paket ein anderes Verzeichnis zu +benutzen. Das Emacs-Paketsystem organisiert die Dateistruktur ähnlich +(@pxref{Package Files,,, emacs, The GNU Emacs Manual}). + +Standardmäßig »weiß« Emacs (wenn er mit Guix installiert wurde), wo diese +Pakete liegen, Sie müssen also nichts selbst konfigurieren. Wenn Sie aber +aus irgendeinem Grund mit Guix installierte Pakete nicht automatisch laden +lassen möchten, können Sie Emacs mit der Befehlszeilenoption +@code{--no-site-file} starten (@pxref{Init File,,, emacs, The GNU Emacs +Manual}). + +@subsection GCC-Toolchain + +@cindex GCC +@cindex ld-wrapper + +Guix bietet individuelle Compiler-Pakete wie etwa @code{gcc}, aber wenn Sie +einen vollständigen Satz an Werkzeugen zum Kompilieren und Binden von +Quellcode brauchen, werden Sie eigentlich das Paket @code{gcc-toolchain} +haben wollen. Das Paket bietet eine vollständige GCC-Toolchain für die +Entwicklung mit C/C++, einschließlich GCC selbst, der GNU-C-Bibliothek +(Header-Dateien und Binärdateien samt Symbolen zur Fehlersuche/Debugging in +der @code{debug}-Ausgabe), Binutils und einen Wrapper für den Binder/Linker. + +@cindex Versuch, unreine Bibliothek zu benutzen, Fehlermeldung + +Der Zweck des Wrappers ist, die an den Binder übergebenen +Befehlszeilenoptionen mit @code{-L} und @code{-l} zu überprüfen und jeweils +passende Argumente mit @code{-rpath} anzufügen, womit dann der echte Binder +aufgerufen wird. Standardmäßig weigert sich der Binder-Wrapper, mit +Bibliotheken außerhalb des Stores zu binden, um »Reinheit« zu +gewährleisten. Das kann aber stören, wenn man die Toolchain benutzt, um mit +lokalen Bibliotheken zu binden. Um Referenzen auf Bibliotheken außerhalb des +Stores zu erlauben, müssen Sie die Umgebungsvariable +@code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} setzen. + +@c TODO What else? + +@c ********************************************************************* +@node Paketverwaltung +@chapter Paketverwaltung + +@cindex Pakete +Der Zweck von GNU Guix ist, Benutzern die leichte Installation, +Aktualisierung und Entfernung von Software-Paketen zu ermöglichen, ohne dass +sie ihre Erstellungsprozeduren oder Abhängigkeiten kennen müssen. Guix kann +natürlich noch mehr als diese offensichtlichen Funktionalitäten. + +Dieses Kapitel beschreibt die Hauptfunktionalitäten von Guix, sowie die von +Guix angebotenen Paketverwaltungswerkzeuge. Zusätzlich von den im Folgenden +beschriebenen Befehlszeilen-Benutzerschnittstellen (@pxref{Aufruf von guix package, @code{guix package}}) können Sie auch mit der +Emacs-Guix-Schnittstelle (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference +Manual}) arbeiten, nachdem Sie das Paket @code{emacs-guix} installiert haben +(führen Sie zum Einstieg in Emacs-Guix den Emacs-Befehl @kbd{M-x guix-help} +aus): + +@example +guix package -i emacs-guix +@end example + +@menu +* Funktionalitäten:: Wie Guix Ihr Leben schöner machen wird. +* Aufruf von guix package:: Pakete installieren, entfernen usw. +* Substitute:: Vorerstelle Binärdateien herunterladen. +* Pakete mit mehreren Ausgaben.:: Ein Quellpaket, mehrere Ausgaben. +* Aufruf von guix gc:: Den Müllsammler laufen lassen. +* Aufruf von guix pull:: Das neueste Guix samt Distribution laden. +* Channels:: Customizing the package collection. +* Inferiors:: Interacting with another revision of Guix. +* Invoking guix describe:: Display information about your Guix revision. +* Aufruf von guix pack:: Software-Bündel erstellen. +* Aufruf von guix archive:: Import und Export von Store-Dateien. +@end menu + +@node Funktionalitäten +@section Funktionalitäten + +Wenn Sie Guix benutzen, landet jedes Paket schließlich im @dfn{Paket-Store} +in seinem eigenen Verzeichnis — der Name ist ähnlich wie +@file{/gnu/store/xxx-package-1.2}, wobei @code{xxx} eine Zeichenkette in +Base32-Darstellung ist. + +Statt diese Verzeichnisse direkt anzugeben, haben Nutzer ihr eigenes +@dfn{Profil}, welches auf diejenigen Pakete zeigt, die sie tatsächlich +benutzen wollen. Diese Profile sind im Persönlichen Ordner des jeweiligen +Nutzers gespeichert als @code{$HOME/.guix-profile}. + +Zum Beispiel installiert @code{alice} GCC 4.7.2. Dadurch zeigt dann +@file{/home/alice/.guix-profile/bin/gcc} auf +@file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Auf demselben Rechner hat +@code{bob} bereits GCC 4.8.0 installiert. Das Profil von @code{bob} zeigt +dann einfach weiterhin auf @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc} — +d.h. beide Versionen von GCC koexistieren auf demselben System, ohne sich zu +stören. + +Der Befehl @command{guix package} ist das zentrale Werkzeug, um Pakete zu +verwalten (@pxref{Aufruf von guix package}). Es arbeitet auf dem eigenen +Profil jedes Nutzers und kann @emph{mit normalen Benutzerrechten} ausgeführt +werden. + +@cindex Transaktionen +Der Befehl stellt die offensichtlichen Installations-, Entfernungs- und +Aktualisierungsoperationen zur Verfügung. Jeder Aufruf ist tatsächlich eine +eigene @emph{Transaktion}: Entweder die angegebene Operation wird +erfolgreich durchgeführt, oder gar nichts passiert. Wenn also der Prozess +von @command{guix package} während der Transaktion beendet wird, oder es zum +Stromausfall während der Transaktion kommt, dann bleibt der alte, nutzbare +Zustands des Nutzerprofils erhalten. + +Zudem kann jede Pakettransaktion @emph{zurückgesetzt} werden +(Rollback). Wird also zum Beispiel durch eine Aktualisierung eine neue +Version eines Pakets installiert, die einen schwerwiegenden Fehler zur Folge +hat, können Nutzer ihr Profil einfach auf die vorherige Profilinstanz +zurücksetzen, von der sie wissen, dass sie gut lief. Ebenso unterliegt auf +GuixSD auch die globale Systemkonfiguration transaktionellen +Aktualisierungen und Rücksetzungen (@pxref{Das Konfigurationssystem nutzen}). + +Alle Pakete im Paket-Store können vom @emph{Müllsammler} (Garbage Collector) +gelöscht werden. Guix ist in der Lage, festzustellen, welche Pakete noch +durch Benutzerprofile referenziert werden, und entfernt nur diese, die +nachweislich nicht mehr referenziert werden (@pxref{Aufruf von guix gc}). Benutzer können auch ausdrücklich alte Generationen ihres Profils +löschen, damit die zugehörigen Pakete vom Müllsammler gelöscht werden +können. + +@cindex Reproduzierbarkeit +@cindex Reproduzierbare Erstellungen +Guix takes a @dfn{purely functional} approach to package management, as +described in the introduction (@pxref{Einführung}). Each +@file{/gnu/store} package directory name contains a hash of all the inputs +that were used to build that package---compiler, libraries, build scripts, +etc. This direct correspondence allows users to make sure a given package +installation matches the current state of their distribution. It also helps +maximize @dfn{build reproducibility}: thanks to the isolated build +environments that are used, a given build is likely to yield bit-identical +files when performed on different machines (@pxref{Aufruf des guix-daemon, +container}). + +@cindex Substitute +Auf dieser Grundlage kann Guix @dfn{transparent Binär- oder Quelldateien +ausliefern}. Wenn eine vorerstellte Binärdatei für ein +@file{/gnu/store}-Objekt von einer externen Quelle verfügbar ist — ein +@dfn{Substitut} —, lädt Guix sie einfach herunter und entpackt sie, +andernfalls erstellt Guix das Paket lokal aus seinem Quellcode +(@pxref{Substitute}). Weil Erstellungsergebnisse normalerweise Bit für Bit +reproduzierbar sind, müssen die Nutzer den Servern, die Substitute anbieten, +nicht blind vertrauen; sie können eine lokale Erstellung erzwingen und +Substitute @emph{anfechten} (@pxref{Aufruf von guix challenge}). + +Kontrolle über die Erstellungsumgebung ist eine auch für Entwickler +nützliche Funktionalität. Der Befehl @command{guix environment} ermöglicht +es Entwicklern eines Pakets, schnell die richtige Entwicklungsumgebung für +ihr Paket einzurichten, ohne manuell die Abhängigkeiten des Pakets in ihr +Profil installieren zu müssen (@pxref{Aufruf von guix environment}). + +@cindex replication, of software environments +@cindex provenance tracking, of software artifacts +All of Guix and its package definitions is version-controlled, and +@command{guix pull} allows you to ``travel in time'' on the history of Guix +itself (@pxref{Aufruf von guix pull}). This makes it possible to replicate a +Guix instance on a different machine or at a later point in time, which in +turn allows you to @emph{replicate complete software environments}, while +retaining precise @dfn{provenance tracking} of the software. + +@node Aufruf von guix package +@section Invoking @command{guix package} + +@cindex Installieren von Paketen +@cindex Entfernen von Paketen +@cindex Paketinstallation +@cindex Paketentfernung +Der Befehl @command{guix package} ist ein Werkzeug, womit Nutzer Pakete +installieren, aktualisieren, entfernen und auf vorherige Konfigurationen +zurücksetzen können. Dabei wird nur das eigene Profil des Nutzers verwendet, +und es funktioniert mit normalen Benutzerrechten, ohne Administratorrechte +(@pxref{Funktionalitäten}). Die Syntax ist: + +@example +guix package @var{Optionen} +@end example +@cindex Transaktionen +In erster Linie geben die @var{Optionen} an, welche Operationen in der +Transaktion durchgeführt werden sollen. Nach Abschluss wird ein neues Profil +erzeugt, aber vorherige @dfn{Generationen} des Profils bleiben verfügbar, +falls der Benutzer auf sie zurückwechseln will. + +Um zum Beispiel @code{lua} zu entfernen und @code{guile} und +@code{guile-cairo} in einer einzigen Transaktion zu installieren: + +@example +guix package -r lua -i guile guile-cairo +@end example + +@command{guix package} unterstützt auch ein @dfn{deklaratives Vorgehen}, +wobei der Nutzer die genaue Menge an Paketen, die verfügbar sein sollen, +festlegt und über die Befehlszeilenoption @option{--manifest} übergibt +(@pxref{profile-manifest, @option{--manifest}}). + +@cindex Profil +Für jeden Benutzer wird automatisch eine symbolische Verknüpfung zu seinem +Standardprofil angelegt als @file{$HOME/.guix-profile}. Diese symbolische +Verknüpfung zeigt immer auf die aktuelle Generation des Standardprofils des +Benutzers. Somit können Nutzer @file{$HOME/.guix-profile/bin} z.B. zu ihrer +Umgebungsvariablen @code{PATH} hinzufügen. +@cindex Suchpfade +Wenn Sie nicht die Guix System Distribution benutzen, sollten Sie in +Betracht ziehen, folgende Zeilen zu Ihrem @file{~/.bash_profile} +hinzuzufügen (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference +Manual}), damit in neu erzeugten Shells alle Umgebungsvariablen richtig +definiert werden: + +@example +GUIX_PROFILE="$HOME/.guix-profile" ; \ +source "$HOME/.guix-profile/etc/profile" +@end example + +Ist Ihr System für mehrere Nutzer eingerichtet, werden Nutzerprofile an +einem Ort gespeichert, der als @dfn{Müllsammlerwurzel} registriert ist, auf +die @file{$HOME/.guix-profile} zeigt (@pxref{Aufruf von guix gc}). Dieses +Verzeichnis ist normalerweise +@code{@var{localstatedir}/guix/profiles/per-user/@var{Benutzer}}, wobei +@var{localstatedir} der an @code{configure} als @code{--localstatedir} +übergebene Wert ist und @var{Benutzer} für den jeweiligen Benutzernamen +steht. Das @file{per-user}-Verzeichnis wird erstellt, wenn +@command{guix-daemon} gestartet wird, und das Unterverzeichnis +@var{Benutzer} wird durch @command{guix package} erstellt. + +Als @var{Optionen} kann vorkommen: + +@table @code + +@item --install=@var{Paket} @dots{} +@itemx -i @var{Paket} @dots{} +Die angegebenen @var{Paket}e installieren. + +Jedes @var{Paket} kann entweder einfach durch seinen Paketnamen aufgeführt +werden, wie @code{guile}, oder als Paketname gefolgt von einem At-Zeichen @@ +und einer Versionsnummer, wie @code{guile@@1.8.8} oder auch nur +@code{guile@@1.8} (in letzterem Fall wird die neueste Version mit Präfix +@code{1.8} ausgewählt.) + +Wird keine Versionsnummer angegeben, wird die neueste verfügbare Version +ausgewählt. Zudem kann im @var{Paket} ein Doppelpunkt auftauchen, gefolgt +vom Namen einer der Ausgaben des Pakets, wie @code{gcc:doc} oder +@code{binutils@@2.22:lib} (@pxref{Pakete mit mehreren Ausgaben.}). Pakete +mit zugehörigem Namen (und optional der Version) werden unter den Modulen +der GNU-Distribution gesucht (@pxref{Paketmodule}). + +@cindex propagierte Eingaben +Manchmal haben Pakete @dfn{propagierte Eingaben}: Als solche werden +Abhängigkeiten bezeichnet, die automatisch zusammen mit dem angeforderten +Paket installiert werden (im Abschnitt @pxref{package-propagated-inputs, +@code{propagated-inputs} in @code{package} objects} sind weitere +Informationen über propagierte Eingaben in Paketdefinitionen zu finden). + +@anchor{package-cmd-propagated-inputs} +Ein Beispiel ist die GNU-MPC-Bibliothek: Ihre C-Headerdateien verweisen auf +die der GNU-MPFR-Bibliothek, welche wiederum auf die der GMP-Bibliothek +verweisen. Wenn also MPC installiert wird, werden auch die MPFR- und +GMP-Bibliotheken in das Profil installiert; entfernt man MPC, werden auch +MPFR und GMP entfernt — außer sie wurden noch auf andere Art ausdrücklich +vom Nutzer installiert. + +Abgesehen davon setzen Pakete manchmal die Definition von Umgebungsvariablen +für ihre Suchpfade voraus (siehe die Erklärung von @code{--search-paths} +weiter unten). Alle fehlenden oder womöglich falschen Definitionen von +Umgebungsvariablen werden hierbei gemeldet. + +@item --install-from-expression=@var{Ausdruck} +@itemx -e @var{Ausdruck} +Das Paket installieren, zu dem der @var{Ausdruck} ausgewertet wird. + +Beim @var{Ausdruck} muss es sich um einen Scheme-Ausdruck handeln, der zu +einem @code{}-Objekt ausgewertet wird. Diese Option ist besonders +nützlich, um zwischen gleichnamigen Varianten eines Pakets zu unterscheiden, +durch Ausdrücke wie @code{(@@ (gnu packages base) guile-final)}. + +Beachten Sie, dass mit dieser Option die erste Ausgabe des angegebenen +Pakets installiert wird, was unzureichend sein kann, wenn eine bestimmte +Ausgabe eines Pakets mit mehreren Ausgaben gewünscht ist. + +@item --install-from-file=@var{Datei} +@itemx -f @var{Datei} +Das Paket installieren, zu dem der Code in der @var{Datei} ausgewertet wird. + +Zum Beispiel könnte die @var{Datei} eine Definition wie diese enthalten +(@pxref{Pakete definieren}): + +@example +@verbatiminclude package-hello.scm +@end example + +Entwickler könnten es für nützlich erachten, eine solche +@file{guix.scm}-Datei im Quellbaum ihres Projekts abzulegen, mit der +Zwischenstände der Entwicklung getestet und reproduzierbare +Erstellungsumgebungen aufgebaut werden können (@pxref{Aufruf von guix environment}). + +@item --remove=@var{Paket} @dots{} +@itemx -r @var{Paket} @dots{} +Die angegebenen @var{Paket}e entfernen. + +Wie auch bei @code{--install} kann jedes @var{Paket} neben dem Paketnamen +auch eine Versionsnummer und/oder eine Ausgabe benennen. Zum Beispiel würde +@code{-r glibc:debug} die @code{debug}-Ausgabe von @code{glibc} aus dem +Profil entfernen. + +@item --upgrade[=@var{Regexp} @dots{}] +@itemx -u [@var{Regexp} @dots{}] +@cindex Pakete aktualisieren +Alle installierten Pakete aktualisieren. Wenn einer oder mehr reguläre +Ausdrücke (Regexps) angegeben wurden, werden nur diejenigen installierten +Pakete aktualisiert, deren Name zu einer der @var{Regexp}s passt. Siehe auch +weiter unten die Befehlszeilenoption @code{--do-not-upgrade}. + +Beachten Sie, dass das Paket so auf die neueste Version unter den Paketen +gebracht wird, die in der aktuell installierten Distribution vorliegen. Um +jedoch Ihre Distribution zu aktualisieren, sollten Sie regelmäßig +@command{guix pull} ausführen (@pxref{Aufruf von guix pull}). + +@item --do-not-upgrade[=@var{Regexp} @dots{}] +In Verbindung mit der Befehlszeilenoption @code{--upgrade}, führe +@emph{keine} Aktualisierung von Paketen durch, deren Name zum regulären +Ausdruck @var{Regexp} passt. Um zum Beispiel alle Pakete im aktuellen Profil +zu aktualisieren mit Ausnahme derer, die »emacs« im Namen haben: + +@example +$ guix package --upgrade . --do-not-upgrade emacs +@end example + +@item @anchor{profile-manifest}--manifest=@var{Datei} +@itemx -m @var{Datei} +@cindex Profildeklaration +@cindex Profilmanifest +Erstellt eine neue Generation des Profils aus dem vom Scheme-Code in +@var{Datei} gelieferten Manifest-Objekt. + +Dadurch könnrn Sie den Inhalt des Profils @emph{deklarieren}, statt ihn +durch eine Folge von Befehlen wie @code{--install} u.Ä. zu generieren. Der +Vorteil ist, dass die @var{Datei} unter Versionskontrolle gestellt werden +kann, auf andere Maschinen zum Reproduzieren desselben Profils kopiert +werden kann und Ähnliches. + +@c FIXME: Add reference to (guix profile) documentation when available. +Der Code in der @var{Datei} muss ein @dfn{Manifest}-Objekt liefern, was +ungefähr einer Liste von Paketen entspricht: + +@findex packages->manifest +@example +(use-package-modules guile emacs) + +(packages->manifest + (list emacs + guile-2.0 + ;; Eine bestimmte Paketausgabe nutzen. + (list guile-2.0 "debug"))) +@end example + +@findex specifications->manifest +In diesem Beispiel müssen wir wissen, welche Module die Variablen +@code{emacs} und @code{guile-2.0} definieren, um die richtige Angabe mit +@code{use-package-modules} machen zu können, was umständlich sein kann. Wir +können auch normale Paketnamen angeben und sie durch +@code{specifications->manifest} zu den entsprechenden Paketobjekten +auflösen, zum Beispiel so: + +@example +(specifications->manifest + '("emacs" "guile@@2.2" "guile@@2.2:debug")) +@end example + +@item --roll-back +@cindex rücksetzen +@cindex Zurücksetzen von Transaktionen +@cindex Transaktionen, zurücksetzen +Wechselt zur vorherigen @dfn{Generation} des Profils zurück — d.h. macht die +letzte Transaktion rückgängig. + +In Verbindung mit Befehlszeilenoptionen wie @code{--install} wird zuerst +zurückgesetzt, bevor andere Aktionen durchgeführt werden. + +Ein Rücksetzen der ersten Generation, die installierte Pakete enthält, +wechselt das Profil zur @dfn{nullten Generation}, die keinerlei Dateien +enthält, abgesehen von Metadaten über sich selbst. + +Nach dem Zurücksetzen überschreibt das Installieren, Entfernen oder +Aktualisieren von Paketen vormals zukünftige Generationen, d.h. der Verlauf +der Generationen eines Profils ist immer linear. + +@item --switch-generation=@var{Muster} +@itemx -S @var{Muster} +@cindex Generationen +Wechselt zu der bestimmten Generation, die durch das @var{Muster} bezeichnet +wird. + +Als @var{Muster} kann entweder die Nummer einer Generation oder eine Nummer +mit vorangestelltem »+« oder »-« dienen. Letzteres springt die angegebene +Anzahl an Generationen vor oder zurück. Zum Beispiel kehrt +@code{--switch-generation=+1} nach einem Zurücksetzen wieder zur neueren +Generation zurück. + +Der Unterschied zwischen @code{--roll-back} und +@code{--switch-generation=-1} ist, dass @code{--switch-generation} keine +nullte Generation erzeugen wird; existiert die angegebene Generation nicht, +bleibt schlicht die aktuelle Generation erhalten. + +@item --search-paths[=@var{Art}] +@cindex Suchpfade +Führe die Definitionen von Umgebungsvariablen auf, in Bash-Syntax, die nötig +sein könnten, um alle installierten Pakete nutzen zu können. Diese +Umgebungsvariablen werden benutzt, um die @dfn{Suchpfade} für Dateien +festzulegen, die von einigen installierten Paketen benutzt werden. + +Zum Beispiel braucht GCC die Umgebungsvariablen @code{CPATH} und +@code{LIBRARY_PATH}, um zu wissen, wo sich im Benutzerprofil Header und +Bibliotheken befinden (@pxref{Environment Variables,,, gcc, Using the GNU +Compiler Collection (GCC)}). Wenn GCC und, sagen wir, die C-Bibliothek im +Profil installiert sind, schlägt @code{--search-paths} also vor, diese +Variablen jeweils auf @code{@var{profile}/include} und +@code{@var{profile}/lib} verweisen zu lassen. + +Die typische Nutzung ist, in der Shell diese Variablen zu definieren: + +@example +$ eval `guix package --search-paths` +@end example + +Als @var{Art} kann entweder @code{exact}, @code{prefix} oder @code{suffix} +gewählt werden, wodurch die gelieferten Definitionen der Umgebungsvariablen +entweder exakt die Einstellungen für Guix meldet, oder sie als Präfix oder +Suffix an den aktuellen Wert dieser Variablen anhängt. Gibt man keine +@var{Art} an, wird der Vorgabewert @code{exact} verwendet. + +Diese Befehlszeilenoption kann auch benutzt werden, um die +@emph{kombinierten} Suchpfade mehrerer Profile zu berechnen. Betrachten Sie +dieses Beispiel: + +@example +$ guix package -p foo -i guile +$ guix package -p bar -i guile-json +$ guix package -p foo -p bar --search-paths +@end example + +Der letzte Befehl oben meldet auch die Definition der Umgebungsvariablen +@code{GUILE_LOAD_PATH}, obwohl für sich genommen weder @file{foo} noch +@file{bar} zu dieser Empfehlung führen würden. + + +@item --profile=@var{Profil} +@itemx -p @var{Profil} +Auf @var{Profil} anstelle des Standardprofils des Benutzers arbeiten. + +@cindex Kollisionen, in einem Profil +@cindex Paketkollisionen in Profilen +@cindex Profilkollisionen +@item --allow-collisions +Kollidierende Pakete im neuen Profil zulassen. Benutzung auf eigene Gefahr! + +Standardmäßig wird @command{guix package} @dfn{Kollisionen} als Fehler +auffassen und melden. Zu Kollisionen kommt es, wenn zwei oder mehr +verschiedene Versionen oder Varianten desselben Pakets im Profil landen. + +@item --verbose +Erzeugt ausführliche Textausgaben. Insbesondere wird auch das +Erstellungsprotokoll der Umgebung auf dem Standard-Fehler-Port (stderr) +ausgegeben. + +@item --bootstrap +Erstellt das Profil mit dem Bootstrap-Guile. Diese Option ist nur für +Entwickler der Distribution nützlich. + +@end table + +Zusätzlich zu diesen Aktionen unterstützt @command{guix package} folgende +Befehlszeilenoptionen, um den momentanen Zustand eines Profils oder die +Verfügbarkeit von Paketen nachzulesen: + +@table @option + +@item --search=@var{Regexp} +@itemx -s @var{Regexp} +@cindex Suche nach Paketen +Führt alle verfügbaren Pakete auf, deren Name, Zusammenfassung oder +Beschreibung zum regulären Ausdruck @var{Regexp} passt, sortiert nach ihrer +Relevanz. Alle Metadaten passender Pakete werden im @code{recutils}-Format +geliefert (@pxref{Top, GNU recutils databases,, recutils, GNU recutils +manual}). + +So können bestimmte Felder mit dem Befehl @command{recsel} extrahiert +werden, zum Beispiel: + +@example +$ guix package -s malloc | recsel -p name,version,relevance +name: jemalloc +version: 4.5.0 +relevance: 6 + +name: glibc +version: 2.25 +relevance: 1 + +name: libgc +version: 7.6.0 +relevance: 1 +@end example + +Ebenso kann der Name aller zu den Bedingungen der GNU@tie{}LGPL, Version 3, +verfügbaren Pakete ermittelt werden: + +@example +$ guix package -s "" | recsel -p name -e 'license ~ "LGPL 3"' +name: elfutils + +name: gmp +@dots{} +@end example + +Es ist auch möglich, Suchergebnisse näher einzuschränken, indem Sie +@code{-s} mehrmals übergeben. Zum Beispiel liefert folgender Befehl eines +Liste von Brettspielen: + +@example +$ guix package -s '\' -s game | recsel -p name +name: gnubg +@dots{} +@end example + +Würden wir @code{-s game} weglassen, bekämen wir auch Software-Pakete +aufgelistet, die mit »printed circuit boards« (elektronischen Leiterplatten) +zu tun haben; ohne die spitzen Klammern um @code{board} bekämen wir auch +Pakete, die mit »keyboards« (Tastaturen, oder musikalischen Keyboard) zu tun +haben. + +Es ist Zeit für ein komplexeres Beispiel. Folgender Befehl sucht +kryptographische Bibliotheken, filtert Haskell-, Perl-, Python- und +Ruby-Bibliotheken heraus und gibt Namen und Zusammenfassung passender Pakete +aus: + +@example +$ guix package -s crypto -s library | \ + recsel -e '! (name ~ "^(ghc|perl|python|ruby)")' -p name,synopsis +@end example + +@noindent +@xref{Selection Expressions,,, recutils, GNU recutils manual} enthält +weitere Informationen über @dfn{Auswahlausdrücke} mit @code{recsel -e}. + +@item --show=@var{Paket} +Zeigt Details über das @var{Paket} aus der Liste verfügbarer Pakete, im +@code{recutils}-Format (@pxref{Top, GNU recutils databases,, recutils, GNU +recutils manual}). + +@example +$ guix package --show=python | recsel -p name,version +name: python +version: 2.7.6 + +name: python +version: 3.3.5 +@end example + +Sie können auch den vollständigen Namen eines Pakets angeben, um Details nur +über diese Version angezeigt zu bekommen: +@example +$ guix package --show=python@@3.4 | recsel -p name,version +name: python +version: 3.4.3 +@end example + + + +@item --list-installed[=@var{Regexp}] +@itemx -I [@var{Regexp}] +Listet die derzeit installierten Pakete im angegebenen Profil auf, die +zuletzt installierten Pakete zuletzt. Wenn ein regulärer Ausdruck +@var{Regexp} angegeben wird, werden nur installierte Pakete aufgeführt, +deren Name zu @var{Regexp} passt. + +Zu jedem installierten Paket werden folgende Informationen angezeigt, durch +Tabulatorzeichen getrennt: der Paketname, die Version als Zeichenkette, +welche Teile des Pakets installiert sind (zum Beispiel @code{out}, wenn die +Standard-Paketausgabe installiert ist, @code{include}, wenn seine Header +installiert sind, usw.) und an welchem Pfad das Paket im Store zu finden +ist. + +@item --list-available[=@var{Regexp}] +@itemx -A [@var{Regexp}] +Listet Pakete auf, die in der aktuell installierten Distribution dieses +Systems verfügbar sind (@pxref{GNU-Distribution}). Wenn ein regulärer +Ausdruck @var{Regexp} angegeben wird, werden nur Pakete aufgeführt, deren +Name zum regulären Ausdruck @var{Regexp} passt. + +Zu jedem Paket werden folgende Informationen getrennt durch Tabulatorzeichen +ausgegeben: der Name, die Version als Zeichenkette, die Teile des Programms +(@pxref{Pakete mit mehreren Ausgaben.}) und die Stelle im Quellcode, an der +das Paket definiert ist. + +@item --list-generations[=@var{Muster}] +@itemx -l [@var{Muster}] +@cindex Generationen +Liefert eine Liste der Generationen zusammen mit dem Datum, an dem sie +erzeugt wurden; zu jeder Generation werden zudem die installierten Pakete +angezeigt, zuletzt installierte Pakete zuletzt. Beachten Sie, dass die +nullte Generation niemals angezeigt wird. + +Zu jedem installierten Paket werden folgende Informationen durch +Tabulatorzeichen getrennt angezeigt: der Name des Pakets, die Version als +Zeichenkette, welcher Teil des Pakets installiert ist (@pxref{Pakete mit mehreren Ausgaben.}) und an welcher Stelle sich das Paket im Store befindet. + +Wenn ein @var{Muster} angegeben wird, liefert der Befehl nur dazu passende +Generationen. Gültige Muster sind zum Beispiel: + +@itemize +@item @emph{Ganze Zahlen und kommagetrennte ganze Zahlen}. Beide Muster bezeichnen +Generationsnummern. Zum Beispiel liefert @code{--list-generations=1} die +erste Generation. + +Durch @code{--list-generations=1,8,2} werden drei Generationen in der +angegebenen Reihenfolge angezeigt. Weder Leerzeichen noch ein Komma am +Schluss der Liste ist erlaubt. + +@item @emph{Bereiche}. @code{--list-generations=2..9} gibt die +angegebenen Generationen und alles dazwischen aus. Beachten Sie, dass der +Bereichsanfang eine kleinere Zahl als das Bereichsende sein muss. + +Sie können auch kein Bereichsende angeben, zum Beispiel liefert +@code{--list-generations=2..} alle Generationen ab der zweiten. + +@item @emph{Zeitdauern}. Sie können auch die letzten @emph{N}@tie{}Tage, Wochen +or months by passing an integer along with the first letter of the +duration. For example, @code{--list-generations=20d} lists generations that +are up to 20 days old. +@end itemize + +@item --delete-generations[=@var{Muster}] +@itemx -d [@var{Muster}] +Wird kein @var{Muster} angegeben, werden alle Generationen außer der +aktuellen entfernt. + +Dieser Befehl akzeptiert dieselben Muster wie +@option{--list-generations}. Wenn ein @var{Muster} angegeben wird, werden +die passenden Generationen gelöscht. Wenn das @var{Muster} für eine +Zeitdauer steht, werden diejenigen Generationen gelöscht, die @emph{älter} +als die angegebene Dauer sind. Zum Beispiel löscht +@code{--delete-generations=1m} die Generationen, die mehr als einen Monat +alt sind. + +Falls die aktuelle Generation zum Muster passt, wird sie @emph{nicht} +gelöscht. Auch die nullte Generation wird niemals gelöscht. + +Beachten Sie, dass Sie auf gelöschte Generationen nicht zurückwechseln +können. Dieser Befehl sollte also nur mit Vorsicht benutzt werden. + +@end table + +Zu guter Letzt können Sie, da @command{guix package} Erstellungsprozesse zu +starten vermag, auch alle gemeinsamen Erstellungsoptionen (@pxref{Gemeinsame Erstellungsoptionen}) verwenden. Auch Paketumwandlungsoptionen wie +@option{--with-source} sind möglich (@pxref{Paketumwandlungsoptionen}). Beachten Sie jedoch, dass die verwendeten +Paketumwandlungsoptionen verloren gehen, nachdem Sie die Pakete aktualisiert +haben. Damit Paketumwandlungen über Aktualisierungen hinweg erhalten +bleiben, sollten Sie Ihre eigene Paketvariante in einem Guile-Modul +definieren und zur Umgebungsvariablen @code{GUIX_PACKAGE_PATH} hinzufügen +(@pxref{Pakete definieren}). + +@node Substitute +@section Substitute + +@cindex Substitute +@cindex vorerstellte Binärdateien +Guix kann transparent Binär- oder Quelldateien ausliefern. Das heißt, Dinge +können sowohl lokal erstellt, als auch als vorerstellte Objekte von einem +Server heruntergeladen werden, oder beides gemischt. Wir bezeichnen diese +vorerstellten Objekte als @dfn{Substitute} — sie substituieren lokale +Erstellungsergebnisse. In vielen Fällen geht das Herunterladen eines +Substituts wesentlich schneller, als Dinge lokal zu erstellen. + +Substitute können alles sein, was das Ergebnis einer Ableitungserstellung +ist (@pxref{Ableitungen}). Natürlich sind sie üblicherweise vorerstellte +Paket-Binärdateien, aber wenn zum Beispiel ein Quell-Tarball das Ergebnis +einer Ableitungserstellung ist, kann auch er als Substitut verfügbar sein. + +@menu +* Offizieller Substitut-Server:: Eine besondere Quelle von Substituten. +* Substitut-Server autorisieren:: Wie man Substitute an- und abschaltet. +* Substitutauthentifizierung:: Wie Guix Substitute verifiziert. +* Proxy-Einstellungen:: Wie Sie Substitute über einen Proxy beziehen. +* Fehler bei der Substitution:: Was passiert, wenn die Substitution + fehlschlägt. +* Vom Vertrauen gegenüber Binärdateien:: Wie können Sie diesem binären + Blob trauen? +@end menu + +@node Offizieller Substitut-Server +@subsection Offizieller Substitut-Server + +@cindex Hydra +@cindex Build-Farm +Der Server @code{mirror.hydra.gnu.org} ist die Façade für eine offizielle +»Build-Farm«, ein Erstellungswerk, das kontinuierlich Guix-Pakete für einige +Prozessorarchitekturen erstellt und sie als Substitute zur Verfügung +stellt. Dies ist die standardmäßige Quelle von Substituten; durch Übergeben +der Befehlszeilenoption @option{--substitute-urls} an entweder den +@command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon +--substitute-urls}}) oder Client-Werkzeuge wie @command{guix package} +(@pxref{client-substitute-urls,, client @option{--substitute-urls} option}) +kann eine abweichende Einstellung benutzt werden. + +Substitut-URLs können entweder HTTP oder HTTPS sein. HTTPS wird empfohlen, +weil die Kommunikation verschlüsselt ist; umgekehrt kann bei HTTP die +Kommunikation belauscht werden, wodurch der Angreifer zum Beispiel erfahren +könnte, ob Ihr System über noch nicht behobene Sicherheitsschwachstellen +verfügt. + +Substitute von der offiziellen Build-Farm sind standardmäßig erlaubt, wenn +Sie die Guix-System-Distribution verwenden (@pxref{GNU-Distribution}). Auf +Fremddistributionen sind sie allerdings standardmäßig ausgeschaltet, solange +Sie sie nicht ausdrücklich in einem der empfohlenen Installationsschritte +erlaubt haben (@pxref{Installation}). Die folgenden Absätze beschreiben, wie +Sie Substitute für die offizielle Build-Farm an- oder ausschalten; dieselbe +Prozedur kann auch benutzt werden, um Substitute für einen beliebigen +anderen Substitutsserver zu erlauben. + +@node Substitut-Server autorisieren +@subsection Substitut-Server autorisieren + +@cindex Sicherheit +@cindex Substitute, deren Autorisierung +@cindex Access Control List (ACL), für Substitute +@cindex ACL (Access Control List), für Substitute +Um es Guix zu gestatten, Substitute von @code{hydra.gnu.org} oder einem +Spiegelserver davon herunterzuladen, müssen Sie den zugehörigen öffentlichen +Schlüssel zur Access Control List (ACL, Zugriffssteuerungsliste) für +Archivimporte hinzufügen, mit Hilfe des Befehls @command{guix archive} +(@pxref{Aufruf von guix archive}). Dies impliziert, dass Sie darauf vertrauen, +dass @code{hydra.gnu.org} nicht kompromittiert wurde und echte Substitute +liefert. + +Der öffentliche Schlüssel für @code{hydra.gnu.org} wird zusammen mit Guix +installiert, in das Verzeichnis +@code{@var{prefix}/share/guix/hydra.gnu.org.pub}, wobei @var{prefix} das +Installationspräfix von Guix ist. Wenn Sie Guix aus seinem Quellcode heraus +installieren, stellen Sie sicher, dass Sie die GPG-Signatur von +@file{guix-@value{VERSION}.tar.gz} prüfen, worin sich dieser öffentliche +Schlüssel befindet. Dann können Sie so etwas wie hier ausführen: + +@example +# guix archive --authorize < @var{prefix}/share/guix/hydra.gnu.org.pub +@end example + +@quotation Anmerkung +Genauso enthält die Datei @file{berlin.guixsd.org.pub} den öffentlichen +Schlüssel für die neue Build-Farm des Guix-Projekts, die unter +@indicateurl{https://berlin.guixsd.org} erreichbar ist. + +Derzeit, als dieser Text geschrieben wurde, wird @code{berlin.guixsd.org} +ausgebaut, um besser skalieren zu können, aber Sie könnten es +ausprobieren. Dahinter stecken 20 x86_64-/i686-Erstellungsknoten, die +Substitute früher anbieten könnten als @code{mirror.hydra.gnu.org}. +@end quotation + +Sobald es eingerichtet wurde, sollte sich die Ausgabe eines Befehls wie +@code{guix build} von so etwas: + +@example +$ guix build emacs --dry-run +Folgende Ableitungen würden erstellt: + /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv + /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv + /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv + /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv +@dots{} +@end example + +@noindent +in so etwas verwandeln: + +@example +$ guix build emacs --dry-run +112.3 MB würden heruntergeladen: + /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3 + /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d + /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16 + /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7 +@dots{} +@end example + +@noindent +Das zeigt an, dass Substitute von @code{hydra.gnu.org} nutzbar sind und für +zukünftige Erstellungen heruntergeladen werden, wann immer es möglich ist. + +@cindex Substitute, wie man sie ausschaltet +Der Substitutsmechanismus kann global ausgeschaltet werden, indem Sie dem +@code{guix-daemon} beim Starten die Befehlszeilenoption +@code{--no-substitutes} übergeben (@pxref{Aufruf des guix-daemon}). Er kann +auch temporär ausgeschaltet werden, indem Sie @code{--no-substitutes} an +@command{guix package}, @command{guix build} und andere +Befehlszeilenwerkzeuge übergeben. + +@node Substitutauthentifizierung +@subsection Substitutauthentifizierung + +@cindex digitale Signaturen +Guix erkennt, wenn ein verfälschtes Substitut benutzt würde, und meldet +einen Fehler. Ebenso werden Substitute ignoriert, die nich signiert sind, +oder nicht mit einem in der ACL aufgelisteten Schlüssel signiert sind. + +Es gibt nur eine Ausnahme: Wenn ein unautorisierter Server Substitute +anbietet, die @emph{Bit für Bit identisch} mit denen von einem autorisierten +Server sind, können sie auch vom unautorisierten Server heruntergeladen +werden. Zum Beispiel, angenommen wir haben zwei Substitutserver mit dieser +Befehlszeilenoption ausgewählt: + +@example +--substitute-urls="https://a.example.org https://b.example.org" +@end example + +@noindent +@cindex Reproduzierbare Erstellungen +Wenn in der ACL nur der Schlüssel für @code{b.example.org} aufgeführt wurde, +aber @code{a.example.org} @emph{exakt dieselben} Substitute anbietet, wird +Guix auch Substitute von @code{a.example.org} herunterladen, weil es in der +Liste zuerst kommt und als Spiegelserver für @code{b.example.org} aufgefasst +werden kann. In der Praxis haben unabhängige Maschinen bei der Erstellung +normalerweise dieselben Binärdateien als Ergebnis, dank bit-reproduzierbarer +Erstellungen (siehe unten). + +Wenn Sie HTTPS benutzen, wird das X.509-Zertifikat des Servers @emph{nicht} +validiert (mit anderen Worten, die Identität des Servers wird nicht +authentifiziert), entgegen dem, was HTTPS-Clients wie Web-Browser +normalerweise tun. Da Guix Substitutinformationen selbst überprüft, wie oben +erklärt, wäre es unnötig (wohingegen mit X.509-Zertifikaten geprüft wird, ob +ein Domain-Name zu öffentlichen Schlüsseln passt). + +@node Proxy-Einstellungen +@subsection Proxy-Einstellungen + +@vindex http_proxy +Substitute werden über HTTP oder HTTPS heruntergeladen. Die +Umgebungsvariable @code{http_proxy} kann in der Umgebung von +@command{guix-daemon} definiert werden und wirkt sich dann auf das +Herunterladen von Substituten aus. Beachten Sie, dass der Wert von +@code{http_proxy} in der Umgebung, in der @command{guix build}, +@command{guix package} und andere Client-Befehle ausgeführt werden, +@emph{keine Rolle spielt}. + +@node Fehler bei der Substitution +@subsection Fehler bei der Substitution + +Selbst wenn ein Substitut für eine Ableitung verfügbar ist, schlägt die +versuchte Substitution manchmal fehl. Das kann aus vielen Gründen geschehen: +die Substitutsserver könnten offline sein, das Substitut könnte kürzlich +gelöscht worden sein, die Netzwerkverbindunge könnte unterbrochen worden +sein, usw. + +Wenn Substitute aktiviert sind und ein Substitut für eine Ableitung zwar +verfügbar ist, aber die versuchte Substitution fehlschlägt, kann Guix +versuchen, die Ableitung lokal zu erstellen, je nachdem, ob +@code{--fallback} übergeben wurde (@pxref{fallback-option,, common build +option @code{--fallback}}). Genauer gesagt, wird keine lokale Erstellung +durchgeführt, solange kein @code{--fallback} angegeben wurde, und die +Ableitung wird als Fehlschlag angesehen. Wenn @code{--fallback} übergeben +wurde, wird Guix versuchen, die Ableitung lokal zu erstellen, und ob die +Ableitung erfolgreich ist oder nicht, hängt davon ab, ob die lokale +Erstellung erfolgreich ist oder nicht. Beachten Sie, dass, falls Substitute +ausgeschaltet oder erst gar kein Substitut verfügbar ist, @emph{immer} eine +lokale Erstellung durchgeführt wird, egal ob @code{--fallback} übergeben +wurde oder nicht. + +Um eine Vorstellung zu bekommen, wieviele Substitute gerade verfügbar sind, +können Sie den Befehl @command{guix weather} benutzen (@pxref{Aufruf von guix weather}). Dieser Befehl zeigt Statistiken darüber an, wie es um die von +einem Server verfügbaren Substitute steht. + +@node Vom Vertrauen gegenüber Binärdateien +@subsection Vom Vertrauen gegenüber Binärdateien + +@cindex Vertrauen, gegenüber vorerstellten Binärdateien +Derzeit hängt die Kontrolle jedes Individuums über seine Rechner von +Institutionen, Unternehmen und solchen Gruppierungen ab, die über genug +Macht und Entschlusskraft verfügen, die Rechnerinfrastruktur zu sabotieren +und ihre Schwachstellen auszunutzen. Auch wenn es bequem ist, Substitute von +@code{hydra.gnu.org} zu benutzen, ermuntern wir Nutzer, auch selbst +Erstellungen durchzuführen oder gar ihre eigene Build-Farm zu betreiben, +damit @code{hydra.gnu.org} ein weniger interessantes Ziel wird. Eine Art, +uns zu helfen, ist, die von Ihnen erstellte Software mit dem Befehl +@command{guix publish} zu veröffentlichen, damit andere eine größere Auswahl +haben, von welchem Server sie Substitute beziehen möchten (@pxref{Aufruf von guix publish}). + +Guix hat die richtigen Grundlagen, um die Reproduzierbarkeit von +Erstellungen zu maximieren (@pxref{Funktionalitäten}). In den meisten Fällen sollten +unabhängige Erstellungen eines bestimmten Pakets zu bitweise identischen +Ergebnissen führen. Wir können also mit Hilfe einer vielschichtigen Menge an +unabhängigen Paketerstellungen die Integrität unseres Systems besser +gewährleisten. Der Befehl @command{guix challenge} hat das Ziel, Nutzern zu +ermöglichen, Substitutserver zu beurteilen, und Entwickler dabei zu +unterstützen, nichtdeterministische Paketerstellungen zu finden +(@pxref{Aufruf von guix challenge}). Ebenso ermöglicht es die +Befehlszeilenoption @option{--check} von @command{guix build}, dass Nutzer +bereits installierte Substitute auf Echtheit zu prüfen, indem sie lokal +nachgebaut werden (@pxref{build-check, @command{guix build --check}}). + +In Zukunft wollen wir, dass Guix Binärdateien an und von Nutzern +peer-to-peer veröffentlichen kann. Wenn Sie mit uns dieses Projekt +diskuttieren möchten, kommen Sie auf unsere Mailing-Liste +@email{guix-devel@@gnu.org}. + +@node Pakete mit mehreren Ausgaben. +@section Pakete mit mehreren Ausgaben. + +@cindex mehrere Ausgaben, bei Paketen +@cindex Paketausgaben +@cindex Ausgaben + +Oft haben in Guix definierte Pakete eine einzige @dfn{Ausgabe} — d.h. aus +dem Quellpaket entsteht genau ein Verzeichnis im Store. Wenn Sie +@command{guix package -i glibc} ausführen, wird die Standard-Paketausgabe +des GNU-libc-Pakets installiert; die Standardausgabe wird @code{out} +genannt, aber ihr Name kann weggelassen werden, wie sie an obigem Befehl +sehen. In diesem speziellen Fall enthält die Standard-Paketausgabe von +@code{glibc} alle C-Headerdateien, gemeinsamen Bibliotheken (»Shared +Libraries«), statische Bibliotheken (»Static Libraries«), Dokumentation für +Info sowie andere zusätzliche Dateien. + +Manchmal ist es besser, die verschiedenen Arten von Dateien, die aus einem +einzelnen Quellpaket hervorgehen, in getrennte Ausgaben zu unterteilen. Zum +Beispiel installiert die GLib-C-Bibliothek (die von GTK+ und damit +zusammenhängenden Paketen benutzt wird) mehr als 20 MiB an HTML-Seiten mit +Referenzdokumentation. Um den Nutzern, die das nicht brauchen, Platz zu +sparen, wird die Dokumentation in einer separaten Ausgabe abgelegt, genannt +@code{doc}. Um also die Hauptausgabe von GLib zu installieren, zu der alles +außer der Dokumentation gehört, ist der Befehl: + +@example +guix package -i glib +@end example + +@cindex Dokumentation +Der Befehl, um die Dokumentation zu installieren, ist: + +@example +guix package -i glib:doc +@end example + +Manche Pakete installieren Programme mit unterschiedlich großem +»Abhängigkeiten-Fußabdruck«. Zum Beispiel installiert das Paket WordNet +sowohl Befehlszeilenwerkzeuge als auch grafische Benutzerschnittstellen +(GUIs). Erstere hängen nur von der C-Bibliothek ab, während Letztere auch +von Tcl/Tk und den zu Grunde liegenden X-Bibliotheken abhängen. Jedenfalls +belassen wir deshalb die Befehlszeilenwerkzeuge in der +Standard-Paketausgabe, während sich die GUIs in einer separaten Ausgabe +befinden. So können Benutzer, die die GUIs nicht brauchen, Platz sparen. Der +Befehl @command{guix size} kann dabei helfen, solche Situationen zu erkennen +(@pxref{Aufruf von guix size}). @command{guix graph} kann auch helfen +(@pxref{Aufruf von guix graph}). + +In der GNU-Distribution gibt es viele solche Pakete mit mehreren +Ausgaben. Andere Konventionen für Ausgabenamen sind zum Beispiel @code{lib} +für Bibliotheken und eventuell auch ihre Header-Dateien,, @code{bin} für +eigenständige Programme und @code{debug} für Informationen zur +Fehlerbehandlung (@pxref{Dateien zur Fehlersuche installieren}). Die Ausgaben eines +Pakets stehen in der dritten Spalte der Anzeige von @command{guix package +--list-available} (@pxref{Aufruf von guix package}). + + +@node Aufruf von guix gc +@section @command{guix gc} aufrufen + +@cindex Müllsammler +@cindex Plattenspeicher +Pakete, die zwar installiert sind, aber nicht benutzt werden, können vom +@dfn{Müllsammler} entfernt werden. Mit dem Befehl @command{guix gc} können +Benutzer den Müllsammler ausdrücklich aufrufen, um Speicher im Verzeichnis +@file{/gnu/store} freizugeben. Dies ist der @emph{einzige} Weg, Dateien aus +@file{/gnu/store} zu entfernen — das manuelle Entfernen von Dateien kann den +Store irreparabel beschädigen! + +@cindex GC-Wurzeln +@cindex Müllsammlerwurzeln +Der Müllsammler kennt eine Reihe von @dfn{Wurzeln}: Jede Datei in +@file{/gnu/store}, die von einer Wurzel aus erreichbar ist, gilt als +@dfn{lebendig} und kann nicht entfernt werden; jede andere Datei gilt als +@dfn{tot} und ist ein Kandidat, gelöscht zu werden. Die Menge der +Müllsammlerwurzeln (kurz auch »GC-Wurzeln«, von englisch »Garbage +Collector«) umfasst Standard-Benutzerprofile; standardmäßig werden diese +Müllsammlerwurzeln durch symbolische Verknüpfungen in +@file{/var/guix/gcroots} dargestellt. Neue Müllsammlerwurzeln können zum +Beispiel mit @command{guix build --root} festgelegt werden (@pxref{Aufruf von guix build}). + +Bevor Sie mit @code{guix gc --collect-garbage} Speicher freimachen, wollen +Sie vielleicht alte Generationen von Benutzerprofilen löschen, damit alte +Paketerstellungen von diesen Generationen entfernt werden können. Führen Sie +dazu @code{guix package --delete-generations} aus (@pxref{Aufruf von guix package}). + +Unsere Empfehlung ist, dass Sie den Müllsammler regelmäßig laufen lassen und +wenn Sie wenig freien Speicherplatz zur Verfügung haben. Um zum Beispiel +sicherzustellen, dass Sie mindestens 5@tie{}GB auf Ihrer Platte zur +Verfügung haben, benutzen Sie einfach: + +@example +guix gc -F 5G +@end example + +Es ist völlig sicher, dafür eine nicht interaktive, regelmäßige +Auftragsausführung vorzugeben (@pxref{Geplante Auftragsausführung}, für eine +Erklärung, wie man das in GuixSD tun kann). @command{guix gc} ohne +Befehlszeilenargumente auszuführen, lässt so viel Müll wie möglich sammeln, +aber das ist oft nicht, was man will, denn so muss man unter Umständen +Software erneut erstellen oder erneut herunterladen, weil der Müllsammler +sie als »tot« ansieht, sie aber zur Erstellung anderer Software wieder +gebraucht wird — das trifft zum Beispiel auf die Compiler-Toolchain zu. + +Der Befehl @command{guix gc} hat drei Arbeitsmodi: Er kann benutzt werden, +um als Müllsammler tote Dateien zu entfernen (das Standardverhalten), um +ganz bestimmte, angegebene Datein zu löschen (mit der Befehlszeilenoption +@code{--delete}), um Müllsammlerinformationen auszugeben oder +fortgeschrittenere Anfragen zu verarbeiten. Die +Müllsammler-Befehlszeilenoptionen sind wie folgt: + +@table @code +@item --collect-garbage[=@var{Minimum}] +@itemx -C [@var{Minimum}] +Lässt Müll sammeln — z.B. nicht erreichbare Dateien in @file{/gnu/store} und +seinen Unterverzeichnissen. Wird keine andere Befehlszeilenoption angegeben, +wird standardmäßig diese durchgeführt. + +Wenn ein @var{Minimum} angegeben wurde, hört der Müllsammler auf, sobald +@var{Minimum} Bytes gesammelt wurden. Das @var{Minimum} kann die Anzahl der +Bytes bezeichnen oder mit einer Einheit als Suffix versehen sein, wie etwa +@code{MiB} für Mebibytes und @code{GB} für Gigabytes (@pxref{Block size, +size specifications,, coreutils, GNU Coreutils}). + +Wird kein @var{Minimum} angegeben, sammelt der Müllsammler allen Müll. + +@item --free-space=@var{Menge} +@itemx -F @var{Menge} +Sammelt Müll, bis die angegebene @var{Menge} an freiem Speicher in +@file{/gnu/store} zur Verfügung steht, falls möglich; die @var{Menge} ist +eine Speichergröße wie @code{500MiB}, wie oben beschrieben. + +Wenn die angegebene @var{Menge} oder mehr bereits in @file{/gnu/store} frei +verfügbar ist, passiert nichts. + +@item --delete +@itemx -d +Versucht, alle als Argumente angegebenen Dateien oder Verzeichnisse im Store +zu löschen. Dies schlägt fehl, wenn manche der Dateien oder Verzeichnisse +nicht im Store oder noch immer lebendig sind. + +@item --list-failures +Store-Objekte auflisten, die zwischengespeicherten Erstellungsfehlern +entsprechen. + +Hierbei wird nichts ausgegeben, sofern der Daemon nicht mit +@option{--cache-failures} gestartet wurde (@pxref{Aufruf des guix-daemon, +@option{--cache-failures}}). + +@item --clear-failures +Die angegebenen Store-Objekte aus dem Zwischenspeicher für fehlgeschlagene +Erstellungen entfernen. + +Auch diese Option macht nur Sinn, wenn der Daemon mit +@option{--cache-failures} gestartet wurde. Andernfalls passiert nichts. + +@item --list-dead +Zeigt die Liste toter Dateien und Verzeichnisse an, die sich noch im Store +befinden — das heißt, Dateien, die von keiner Wurzel mehr erreichbar sind. + +@item --list-live +Zeige die Liste lebendiger Store-Dateien und -Verzeichnisse. + +@end table + +Außerdem können Referenzen unter bestehenden Store-Dateien gefunden werden: + +@table @code + +@item --references +@itemx --referrers +@cindex Paketabhängigkeiten +Listet die referenzierten bzw. sie referenzierenden Objekte der angegebenen +Store-Dateien auf. + +@item --requisites +@itemx -R +@cindex Abschluss +Listet alle Voraussetzungen der als Argumente übergebenen Store-Dateien +auf. Voraussetzungen sind die Store-Dateien selbst, ihre Referenzen sowie +die Referenzen davon, rekursiv. Mit anderen Worten, die zurückgelieferte +Liste ist der @dfn{transitive Abschluss} dieser Store-Dateien. + +Der Abschnitt @xref{Aufruf von guix size} erklärt ein Werkzeug, um den +Speicherbedarf des Abschlusses eines Elements zu ermitteln. Siehe +@xref{Aufruf von guix graph} für ein Werkzeug, um den Referenzgraphen zu +veranschaulichen. + +@item --derivers +@cindex Ableitung +Liefert die Ableitung(en), die zu den angegebenen Store-Objekten führen +(@pxref{Ableitungen}). + +Zum Beispiel liefert dieser Befehl: + +@example +guix gc --derivers `guix package -I ^emacs$ | cut -f4` +@end example + +@noindent +die @file{.drv}-Datei(en), die zum in Ihrem Profil installierten +@code{emacs}-Paket führen. + +Beachten Sie, dass es auch sein kann, dass keine passenden +@file{.drv}-Dateien existieren, zum Beispiel wenn diese Dateien bereits dem +Müllsammler zum Opfer gefallen sind. Es kann auch passieren, dass es mehr +als eine passende @file{.drv} gibt, bei Ableitungen mit fester Ausgabe. +@end table + +Zuletzt können Sie mit folgenden Befehlszeilenoptionen die Integrität des +Stores prüfen und den Plattenspeicherverbrauch im Zaum halten. + +@table @option + +@item --verify[=@var{Optionen}] +@cindex Integrität, des Stores +@cindex Integritätsprüfung +Die Integrität des Stores verifizieren + +Standardmäßig wird sichergestellt, dass alle Store-Objekte, die in der +Datenbank des Daemons als gültig markiert wurden, auch tatsächlich in +@file{/gnu/store} existieren. + +Wenn angegeben, müssen die @var{Optionen} eine kommagetrennte Liste aus +mindestens einem der Worte @code{contents} und @code{repair} sein. + +Wenn Sie @option{--verify=contents} übergeben, berechnet der Daemon den Hash +des Inhalts jedes Store-Objekts und vergleicht ihn mit dem Hash in der +Datenbank. Sind die Hashes ungleich, wird eine Datenbeschädigung +gemeldet. Weil dabei @emph{alle Dateien im Store} durchlaufen werden, kann +der Befehl viel Zeit brauchen, besonders auf Systemen mit langsamer Platte. + +@cindex Store, reparieren +@cindex Datenbeschädigung, Behebung +Mit @option{--verify=repair} oder @option{--verify=contents,repair} versucht +der Daemon, beschädigte Store-Objekte zu reparieren, indem er Substitute für +selbige herunterlädt (@pxref{Substitute}). Weil die Reparatur nicht atomar +und daher womöglich riskant ist, kann nur der Systemadministrator den Befehl +benutzen. Eine weniger aufwendige Alternative, wenn Sie wissen, welches +Objekt beschädigt ist, ist, @command{guix build --repair} zu benutzen +(@pxref{Aufruf von guix build}). + +@item --optimize +@cindex Deduplizieren +Den Store durch Nutzung harter Verknüpfungen für identische Dateien +optimieren — mit anderen Worten wird der Store @dfn{dedupliziert}. + +Der Daemon führt Deduplizierung automatisch nach jeder erfolgreichen +Erstellung und jedem Importieren eines Archivs durch, sofern er nicht mit +@code{--disable-deduplication} (@pxref{Aufruf des guix-daemon, +@code{--disable-deduplication}}) gestartet wurde. Diese Befehlszeilenoption +brauchen Sie also in erster Linie dann, wenn der Daemon zuvor mit +@code{--disable-deduplication} gestartet worden ist. + +@end table + +@node Aufruf von guix pull +@section @command{guix pull} aufrufen + +@cindex Aktualisieren von Guix +@cindex Updaten von Guix +@cindex @command{guix pull} +@cindex pull +Packages are installed or upgraded to the latest version available in the +distribution currently available on your local machine. To update that +distribution, along with the Guix tools, you must run @command{guix pull}: +the command downloads the latest Guix source code and package descriptions, +and deploys it. Source code is downloaded from a @uref{https://git-scm.com, +Git} repository, by default the official GNU@tie{}Guix repository, though +this can be customized. + +Danach wird @command{guix package} Pakete und ihre Versionen entsprechend +der gerade heruntergeladenen Kopie von Guix benutzen. Nicht nur das, auch +alle Guix-Befehle und Scheme-Module werden aus der neuesten Version von Guix +kommen. Neue @command{guix}-Unterbefehle, die durch die Aktualisierung +hinzugekommen sind, werden also auch verfügbar. + +Any user can update their Guix copy using @command{guix pull}, and the +effect is limited to the user who run @command{guix pull}. For instance, +when user @code{root} runs @command{guix pull}, this has no effect on the +version of Guix that user @code{alice} sees, and vice versa. + +The result of running @command{guix pull} is a @dfn{profile} available under +@file{~/.config/guix/current} containing the latest Guix. Thus, make sure +to add it to the beginning of your search path so that you use the latest +version, and similarly for the Info manual (@pxref{Dokumentation}): + +@example +export PATH="$HOME/.config/guix/current/bin:$PATH" +export INFOPATH="$HOME/.config/guix/current/share/info:$INFOPATH" +@end example + +The @code{--list-generations} or @code{-l} option lists past generations +produced by @command{guix pull}, along with details about their provenance: + +@example +$ guix pull -l +Generation 1 Jun 10 2018 00:18:18 + guix 65956ad + repository URL: https://git.savannah.gnu.org/git/guix.git + branch: origin/master + commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe + +Generation 2 Jun 11 2018 11:02:49 + guix e0cc7f6 + repository URL: https://git.savannah.gnu.org/git/guix.git + branch: origin/master + commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d + 2 new packages: keepalived, libnfnetlink + 6 packages upgraded: emacs-nix-mode@@2.0.4, + guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac, + heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4 + +Generation 3 Jun 13 2018 23:31:07 (current) + guix 844cc1c + repository URL: https://git.savannah.gnu.org/git/guix.git + branch: origin/master + commit: 844cc1c8f394f03b404c5bb3aee086922373490c + 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{} + 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{} +@end example + +@ref{Invoking guix describe, @command{guix describe}}, for other ways to +describe the current status of Guix. + +This @code{~/.config/guix/current} profile works like any other profile +created by @command{guix package} (@pxref{Aufruf von guix package}). That is, +you can list generations, roll back to the previous generation---i.e., the +previous Guix---and so on: + +@example +$ guix package -p ~/.config/guix/current --roll-back +switched from generation 3 to 2 +$ guix package -p ~/.config/guix/current --delete-generations=1 +deleting /var/guix/profiles/per-user/charlie/current-guix-1-link +@end example + +Der Befehl @command{guix pull} wird in der Regel ohne Befehlszeilenargumente +aufgerufen, aber er versteht auch folgende Befehlszeilenoptionen: + +@table @code +@item --url=@var{URL} +@itemx --commit=@var{Commit} +@itemx --branch=@var{Branch} +Download code from the specified @var{url}, at the given @var{commit} (a +valid Git commit ID represented as a hexadecimal string), or @var{branch}. + +@cindex @file{channels.scm}, configuration file +@cindex configuration file for channels +These options are provided for convenience, but you can also specify your +configuration in the @file{~/.config/guix/channels.scm} file or using the +@option{--channels} option (see below). + +@item --channels=@var{file} +@itemx -C @var{file} +Read the list of channels from @var{file} instead of +@file{~/.config/guix/channels.scm}. @var{file} must contain Scheme code +that evaluates to a list of channel objects. @xref{Channels}, for more +information. + +@item --list-generations[=@var{Muster}] +@itemx -l [@var{Muster}] +List all the generations of @file{~/.config/guix/current} or, if +@var{pattern} is provided, the subset of generations that match +@var{pattern}. The syntax of @var{pattern} is the same as with @code{guix +package --list-generations} (@pxref{Aufruf von guix package}). + +@ref{Invoking guix describe}, for a way to display information about the +current generation only. + +@item --profile=@var{Profil} +@itemx -p @var{Profil} +Use @var{profile} instead of @file{~/.config/guix/current}. + +@item --dry-run +@itemx -n +Show which channel commit(s) would be used and what would be built or +substituted but do not actually do it. + +@item --verbose +Ausführliche Informationen ausgeben und Erstellungsprotokolle auf der +Standardfehlerausgabe ausgeben. + +@item --bootstrap +Use the bootstrap Guile to build the latest Guix. This option is only +useful to Guix developers. +@end table + +The @dfn{channel} mechanism allows you to instruct @command{guix pull} which +repository and branch to pull from, as well as @emph{additional} +repositories containing package modules that should be deployed. +@xref{Channels}, for more information. + +In addition, @command{guix pull} supports all the common build options +(@pxref{Gemeinsame Erstellungsoptionen}). + +@node Channels +@section Channels + +@cindex channels +@cindex @file{channels.scm}, configuration file +@cindex configuration file for channels +@cindex @command{guix pull}, configuration file +@cindex configuration of @command{guix pull} +Guix and its package collection are updated by running @command{guix pull} +(@pxref{Aufruf von guix pull}). By default @command{guix pull} downloads and +deploys Guix itself from the official GNU@tie{}Guix repository. This can be +customized by defining @dfn{channels} in the +@file{~/.config/guix/channels.scm} file. A channel specifies a URL and +branch of a Git repository to be deployed, and @command{guix pull} can be +instructed to pull from one or more channels. In other words, channels can +be used to @emph{customize} and to @emph{extend} Guix, as we will see below. + +@subsection Using a Custom Guix Channel + +The channel called @code{guix} specifies where Guix itself---its +command-line tools as well as its package collection---should be +downloaded. For instance, suppose you want to update from your own copy of +the Guix repository at @code{example.org}, and specifically the +@code{super-hacks} branch, you can write in +@code{~/.config/guix/channels.scm} this specification: + +@lisp +;; Tell 'guix pull' to use my own repo. +(list (channel + (name 'guix) + (url "https://example.org/my-guix.git") + (branch "super-hacks"))) +@end lisp + +@noindent +From there on, @command{guix pull} will fetch code from the +@code{super-hacks} branch of the repository at @code{example.org}. + +@subsection Specifying Additional Channels + +@cindex extending the package collection (channels) +@cindex personal packages (channels) +@cindex channels, for personal packages +You can also specify @emph{additional channels} to pull from. Let's say you +have a bunch of custom package variants or personal packages that you think +would make little sense to contribute to the Guix project, but would like to +have these packages transparently available to you at the command line. You +would first write modules containing those package definitions +(@pxref{Paketmodule}), maintain them in a Git repository, and then you +and anyone else can use it as an additional channel to get packages from. +Neat, no? + +@c What follows stems from discussions at +@c as well as +@c earlier discussions on guix-devel@gnu.org. +@quotation Warning +Before you, dear user, shout---``woow this is @emph{soooo coool}!''---and +publish your personal channel to the world, we would like to share a few +words of caution: + +@itemize +@item +Before publishing a channel, please consider contributing your package +definitions to Guix proper (@pxref{Mitwirken}). Guix as a project is +open to free software of all sorts, and packages in Guix proper are readily +available to all Guix users and benefit from the project's quality assurance +process. + +@item +When you maintain package definitions outside Guix, we, Guix developers, +consider that @emph{the compatibility burden is on you}. Remember that +package modules and package definitions are just Scheme code that uses +various programming interfaces (APIs). We want to remain free to change +these APIs to keep improving Guix, possibly in ways that break your +channel. We never change APIs gratuitously, but we will @emph{not} commit +to freezing APIs either. + +@item +Corollary: if you're using an external channel and that channel breaks, +please @emph{report the issue to the channel authors}, not to the Guix +project. +@end itemize + +You've been warned! Having said this, we believe external channels are a +practical way to exert your freedom to augment Guix' package collection and +to share your improvements, which are basic tenets of +@uref{https://www.gnu.org/philosophy/free-sw.html, free software}. Please +email us at @email{guix-devel@@gnu.org} if you'd like to discuss this. +@end quotation + +Once you have a Git repository containing your own package modules, you can +write @code{~/.config/guix/channels.scm} to instruct @command{guix pull} to +pull from your personal channel @emph{in addition} to the default Guix +channel(s): + +@vindex %default-channels +@lisp +;; Add my personal packages to those Guix provides. +(cons (channel + (name 'my-personal-packages) + (url "https://example.org/personal-packages.git")) + %default-channels) +@end lisp + +@noindent +Note that the snippet above is (as always!)@: Scheme code; we use +@code{cons} to add a channel the list of channels that the variable +@code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, +guile, GNU Guile Reference Manual}). With this file in place, @command{guix +pull} builds not only Guix but also the package modules from your own +repository. The result in @file{~/.config/guix/current} is the union of +Guix with your own package modules: + +@example +$ guix pull --list-generations +@dots{} +Generation 19 Aug 27 2018 16:20:48 + guix d894ab8 + repository URL: https://git.savannah.gnu.org/git/guix.git + branch: master + commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300 + my-personal-packages dd3df5e + repository URL: https://example.org/personal-packages.git + branch: master + commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb + 11 new packages: my-gimp, my-emacs-with-cool-features, @dots{} + 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{} +@end example + +@noindent +The output of @command{guix pull} above shows that Generation@tie{}19 +includes both Guix and packages from the @code{my-personal-packages} +channel. Among the new and upgraded packages that are listed, some like +@code{my-gimp} and @code{my-emacs-with-cool-features} might come from +@code{my-personal-packages}, while others come from the Guix default +channel. + +@subsection Replicating Guix + +@cindex pinning, channels +@cindex replicating Guix +@cindex reproducibility, of Guix +The @command{guix pull --list-generations} output above shows precisely +which commits were used to build this instance of Guix. We can thus +replicate it, say, on another machine, by providing a channel specification +in @file{~/.config/guix/channels.scm} that is ``pinned'' to these commits: + +@lisp +;; Deploy specific commits of my channels of interest. +(list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit "d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300")) + (channel + (name 'my-personal-packages) + (url "https://example.org/personal-packages.git") + (branch "dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb"))) +@end lisp + +The @command{guix describe --format=channels} command can even generate this +list of channels directly (@pxref{Invoking guix describe}). + +At this point the two machines run the @emph{exact same Guix}, with access +to the @emph{exact same packages}. The output of @command{guix build gimp} +on one machine will be exactly the same, bit for bit, as the output of the +same command on the other machine. It also means both machines have access +to all the source code of Guix and, transitively, to all the source code of +every package it defines. + +This gives you super powers, allowing you to track the provenance of binary +artifacts with very fine grain, and to reproduce software environments at +will---some sort of ``meta reproducibility'' capabilities, if you will. +@xref{Inferiors}, for another way to take advantage of these super powers. + +@node Inferiors +@section Inferiors + +@c TODO: Remove this once we're more confident about API stability. +@quotation Anmerkung +The functionality described here is a ``technology preview'' as of version +@value{VERSION}. As such, the interface is subject to change. +@end quotation + +@cindex inferiors +@cindex composition of Guix revisions +Sometimes you might need to mix packages from the revision of Guix you're +currently running with packages available in a different revision of Guix. +Guix @dfn{inferiors} allow you to achieve that by composing different Guix +revisions in arbitrary ways. + +@cindex inferior packages +Technically, an ``inferior'' is essentially a separate Guix process +connected to your main Guix process through a REPL (@pxref{Invoking guix +repl}). The @code{(guix inferior)} module allows you to create inferiors +and to communicate with them. It also provides a high-level interface to +browse and manipulate the packages that an inferior provides---@dfn{inferior +packages}. + +When combined with channels (@pxref{Channels}), inferiors provide a simple +way to interact with a separate revision of Guix. For example, let's assume +you want to install in your profile the current @code{guile} package, along +with the @code{guile-json} as it existed in an older revision of +Guix---perhaps because the newer @code{guile-json} has an incompatible API +and you want to run your code against the old API@. To do that, you could +write a manifest for use by @code{guix package --manifest} (@pxref{Aufruf von guix package}); in that manifest, you would create an inferior for that old +Guix revision you care about, and you would look up the @code{guile-json} +package in the inferior: + +@lisp +(use-modules (guix inferior) (guix channels) + (srfi srfi-1)) ;for 'first' + +(define channels + ;; This is the old revision from which we want to + ;; extract guile-json. + (list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit + "65956ad3526ba09e1f7a40722c96c6ef7c0936fe")))) + +(define inferior + ;; An inferior representing the above revision. + (inferior-for-channels channels)) + +;; Now create a manifest with the current "guile" package +;; and the old "guile-json" package. +(packages->manifest + (list (first (lookup-inferior-packages inferior "guile-json")) + (specification->package "guile"))) +@end lisp + +On its first run, @command{guix package --manifest} might have to build the +channel you specified before it can create the inferior; subsequent runs +will be much faster because the Guix revision will be cached. + +The @code{(guix inferior)} module provides the following procedures to open +an inferior: + +@deffn {Scheme Procedure} inferior-for-channels @var{channels} @ + [#:cache-directory] [#:ttl] Return an inferior for @var{channels}, a list of +channels. Use the cache at @var{cache-directory}, where entries can be +reclaimed after @var{ttl} seconds. This procedure opens a new connection to +the build daemon. + +As a side effect, this procedure may build or substitute binaries for +@var{channels}, which can take time. +@end deffn + +@deffn {Scheme Procedure} open-inferior @var{directory} @ + [#:command "bin/guix"] Open the inferior Guix in @var{directory}, running +@code{@var{directory}/@var{command} repl} or equivalent. Return @code{#f} +if the inferior could not be launched. +@end deffn + +@cindex inferior packages +The procedures listed below allow you to obtain and manipulate inferior +packages. + +@deffn {Scheme Procedure} inferior-packages @var{inferior} +Return the list of packages known to @var{inferior}. +@end deffn + +@deffn {Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @ + [@var{version}] Return the sorted list of inferior packages matching +@var{name} in @var{inferior}, with highest version numbers first. If +@var{version} is true, return only packages with a version number prefixed +by @var{version}. +@end deffn + +@deffn {Scheme Procedure} inferior-package? @var{obj} +Return true if @var{obj} is an inferior package. +@end deffn + +@deffn {Scheme Procedure} inferior-package-name @var{package} +@deffnx {Scheme Procedure} inferior-package-version @var{package} +@deffnx {Scheme Procedure} inferior-package-synopsis @var{package} +@deffnx {Scheme Procedure} inferior-package-description @var{package} +@deffnx {Scheme Procedure} inferior-package-home-page @var{package} +@deffnx {Scheme Procedure} inferior-package-location @var{package} +@deffnx {Scheme Procedure} inferior-package-inputs @var{package} +@deffnx {Scheme Procedure} inferior-package-native-inputs @var{package} +@deffnx {Scheme Procedure} inferior-package-propagated-inputs @var{package} +@deffnx {Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package} +@deffnx {Scheme Procedure} inferior-package-native-search-paths @var{package} +@deffnx {Scheme Procedure} inferior-package-transitive-native-search-paths @var{package} +@deffnx {Scheme Procedure} inferior-package-search-paths @var{package} +These procedures are the counterpart of package record accessors +(@pxref{„package“-Referenz}). Most of them work by querying the inferior +@var{package} comes from, so the inferior must still be live when you call +these procedures. +@end deffn + +Inferior packages can be used transparently like any other package or +file-like object in G-expressions (@pxref{G-Ausdrücke}). They are also +transparently handled by the @code{packages->manifest} procedure, which is +commonly use in manifests (@pxref{Aufruf von guix package, the +@option{--manifest} option of @command{guix package}}). Thus you can insert +an inferior package pretty much anywhere you would insert a regular package: +in manifests, in the @code{packages} field of your @code{operating-system} +declaration, and so on. + +@node Invoking guix describe +@section Invoking @command{guix describe} + +@cindex Reproduzierbarkeit +@cindex replicating Guix +Often you may want to answer questions like: ``Which revision of Guix am I +using?'' or ``Which channels am I using?'' This is useful information in +many situations: if you want to @emph{replicate} an environment on a +different machine or user account, if you want to report a bug or to +determine what change in the channels you are using caused it, or if you +want to record your system state for reproducibility purposes. The +@command{guix describe} command answers these questions. + +When run from a @command{guix pull}ed @command{guix}, @command{guix +describe} displays the channel(s) that it was built from, including their +repository URL and commit IDs (@pxref{Channels}): + +@example +$ guix describe +Generation 10 Sep 03 2018 17:32:44 (current) + guix e0fa68c + repository URL: https://git.savannah.gnu.org/git/guix.git + branch: master + commit: e0fa68c7718fffd33d81af415279d6ddb518f727 +@end example + +If you're familiar with the Git version control system, this is similar in +spirit to @command{git describe}; the output is also similar to that of +@command{guix pull --list-generations}, but limited to the current +generation (@pxref{Aufruf von guix pull, the @option{--list-generations} +option}). Because the Git commit ID shown above unambiguously refers to a +snapshot of Guix, this information is all it takes to describe the revision +of Guix you're using, and also to replicate it. + +To make it easier to replicate Guix, @command{guix describe} can also be +asked to return a list of channels instead of the human-readable description +above: + +@example +$ guix describe -f channels +(list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit + "e0fa68c7718fffd33d81af415279d6ddb518f727"))) +@end example + +@noindent +You can save this to a file and feed it to @command{guix pull -C} on some +other machine or at a later point in time, which will instantiate @emph{this +exact Guix revision} (@pxref{Aufruf von guix pull, the @option{-C} option}). +From there on, since you're able to deploy the same revision of Guix, you +can just as well @emph{replicate a complete software environment}. We +humbly think that this is @emph{awesome}, and we hope you'll like it too! + +The details of the options supported by @command{guix describe} are as +follows: + +@table @code +@item --format=@var{format} +@itemx -f @var{format} +Produce output in the specified @var{format}, one of: + +@table @code +@item human +produce human-readable output; +@item channels +produce a list of channel specifications that can be passed to @command{guix +pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Aufruf von guix pull}); +@item json +@cindex JSON +produce a list of channel specifications in JSON format; +@item recutils +produce a list of channel specifications in Recutils format. +@end table + +@item --profile=@var{Profil} +@itemx -p @var{Profil} +Display information about @var{profile}. +@end table + +@node Aufruf von guix pack +@section Invoking @command{guix pack} + +Occasionally you want to pass software to people who are not (yet!) lucky +enough to be using Guix. You'd tell them to run @command{guix package -i +@var{something}}, but that's not possible in this case. This is where +@command{guix pack} comes in. + +@quotation Anmerkung +If you are looking for ways to exchange binaries among machines that already +run Guix, @pxref{Aufruf von guix copy}, @ref{Aufruf von guix publish}, and +@ref{Aufruf von guix archive}. +@end quotation + +@cindex pack +@cindex bundle +@cindex application bundle +@cindex software bundle +The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or +@dfn{software bundle}: it creates a tarball or some other archive containing +the binaries of the software you're interested in, and all its +dependencies. The resulting archive can be used on any machine that does +not have Guix, and people can run the exact same binaries as those you have +with Guix. The pack itself is created in a bit-reproducible fashion, so +anyone can verify that it really contains the build results that you pretend +to be shipping. + +For example, to create a bundle containing Guile, Emacs, Geiser, and all +their dependencies, you can run: + +@example +$ guix pack guile emacs geiser +@dots{} +/gnu/store/@dots{}-pack.tar.gz +@end example + +The result here is a tarball containing a @file{/gnu/store} directory with +all the relevant packages. The resulting tarball contains a @dfn{profile} +with the three packages of interest; the profile is the same as would be +created by @command{guix package -i}. It is this mechanism that is used to +create Guix's own standalone binary tarball (@pxref{Aus Binärdatei installieren}). + +Users of this pack would have to run +@file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find +inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} +symlink to the profile: + +@example +guix pack -S /opt/gnu/bin=bin guile emacs geiser +@end example + +@noindent +That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy. + +@cindex relocatable binaries, with @command{guix pack} +What if the recipient of your pack does not have root privileges on their +machine, and thus cannot unpack it in the root file system? In that case, +you will want to use the @code{--relocatable} option (see below). This +option produces @dfn{relocatable binaries}, meaning they they can be placed +anywhere in the file system hierarchy: in the example above, users can +unpack your tarball in their home directory and directly run +@file{./opt/gnu/bin/guile}. + +@cindex Docker, build an image with guix pack +Alternatively, you can produce a pack in the Docker image format using the +following command: + +@example +guix pack -f docker guile emacs geiser +@end example + +@noindent +The result is a tarball that can be passed to the @command{docker load} +command. See the +@uref{https://docs.docker.com/engine/reference/commandline/load/, Docker +documentation} for more information. + +@cindex Singularity, build an image with guix pack +@cindex SquashFS, build an image with guix pack +Yet another option is to produce a SquashFS image with the following +command: + +@example +guix pack -f squashfs guile emacs geiser +@end example + +@noindent +The result is a SquashFS file system image that can either be mounted or +directly be used as a file system container image with the +@uref{http://singularity.lbl.gov, Singularity container execution +environment}, using commands like @command{singularity shell} or +@command{singularity exec}. + +Several command-line options allow you to customize your pack: + +@table @code +@item --format=@var{format} +@itemx -f @var{format} +Produce a pack in the given @var{format}. + +The available formats are: + +@table @code +@item tarball +This is the default format. It produces a tarball containing all the +specified binaries and symlinks. + +@item docker +This produces a tarball that follows the +@uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, +Docker Image Specification}. + +@item squashfs +This produces a SquashFS image containing all the specified binaries and +symlinks, as well as empty mount points for virtual file systems like +procfs. +@end table + +@item --relocatable +@itemx -R +Produce @dfn{relocatable binaries}---i.e., binaries that can be placed +anywhere in the file system hierarchy and run from there. For example, if +you create a pack containing Bash with: + +@example +guix pack -R -S /mybin=bin bash +@end example + +@noindent +...@: you can copy that pack to a machine that lacks Guix, and from your +home directory as a normal user, run: + +@example +tar xf pack.tar.gz +./mybin/sh +@end example + +@noindent +In that shell, if you type @code{ls /gnu/store}, you'll notice that +@file{/gnu/store} shows up and contains all the dependencies of @code{bash}, +even though the machine actually lacks @file{/gnu/store} altogether! That is +probably the simplest way to deploy Guix-built software on a non-Guix +machine. + +There's a gotcha though: this technique relies on the @dfn{user namespace} +feature of the kernel Linux, which allows unprivileged users to mount or +change root. Old versions of Linux did not support it, and some GNU/Linux +distributions turn it off; on these systems, programs from the pack +@emph{will fail to run}, unless they are unpacked in the root file system. + +@item --expression=@var{expr} +@itemx -e @var{expr} +Consider the package @var{expr} evaluates to. + +This has the same purpose as the same-named option in @command{guix build} +(@pxref{Zusätzliche Erstellungsoptionen, @code{--expression} in @command{guix +build}}). + +@item --manifest=@var{Datei} +@itemx -m @var{Datei} +Use the packages contained in the manifest object returned by the Scheme +code in @var{file}. + +This has a similar purpose as the same-named option in @command{guix +package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same +manifest files. It allows you to define a collection of packages once and +use it both for creating profiles and for creating archives for use on +machines that do not have Guix installed. Note that you can specify +@emph{either} a manifest file @emph{or} a list of packages, but not both. + +@item --system=@var{System} +@itemx -s @var{system} +Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the +system type of the build host. + +@item --target=@var{triplet} +@cindex cross-compilation +Cross-build for @var{triplet}, which must be a valid GNU triplet, such as +@code{"mips64el-linux-gnu"} (@pxref{Specifying target triplets, GNU +configuration triplets,, autoconf, Autoconf}). + +@item --compression=@var{tool} +@itemx -C @var{tool} +Compress the resulting tarball using @var{tool}---one of @code{gzip}, +@code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression. + +@item --symlink=@var{spec} +@itemx -S @var{spec} +Add the symlinks specified by @var{spec} to the pack. This option can +appear several times. + +@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} +is the symlink that will be created and @var{target} is the symlink target. + +For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} +symlink pointing to the @file{bin} sub-directory of the profile. + +@item --localstatedir +@itemx --profile-name=@var{name} +Include the ``local state directory'', @file{/var/guix}, in the resulting +pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} +profile---by default @var{name} is @code{guix-profile}, which corresponds to +@file{~root/.guix-profile}. + +@file{/var/guix} contains the store database (@pxref{Der Store}) as well as +garbage-collector roots (@pxref{Aufruf von guix gc}). Providing it in the +pack means that the store is ``complete'' and manageable by Guix; not +providing it pack means that the store is ``dead'': items cannot be added to +it or removed from it after extraction of the pack. + +One use case for this is the Guix self-contained binary tarball +(@pxref{Aus Binärdatei installieren}). + +@item --bootstrap +Use the bootstrap binaries to build the pack. This option is only useful to +Guix developers. +@end table + +In addition, @command{guix pack} supports all the common build options +(@pxref{Gemeinsame Erstellungsoptionen}) and all the package transformation options +(@pxref{Paketumwandlungsoptionen}). + + +@node Aufruf von guix archive +@section Invoking @command{guix archive} + +@cindex @command{guix archive} +@cindex archive +The @command{guix archive} command allows users to @dfn{export} files from +the store into a single archive, and to later @dfn{import} them on a machine +that runs Guix. In particular, it allows store files to be transferred from +one machine to the store on another machine. + +@quotation Anmerkung +If you're looking for a way to produce archives in a format suitable for +tools other than Guix, @pxref{Aufruf von guix pack}. +@end quotation + +@cindex exporting store items +To export store files as an archive to standard output, run: + +@example +guix archive --export @var{options} @var{specifications}... +@end example + +@var{specifications} may be either store file names or package +specifications, as for @command{guix package} (@pxref{Aufruf von guix package}). For instance, the following command creates an archive +containing the @code{gui} output of the @code{git} package and the main +output of @code{emacs}: + +@example +guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar +@end example + +If the specified packages are not built yet, @command{guix archive} +automatically builds them. The build process may be controlled with the +common build options (@pxref{Gemeinsame Erstellungsoptionen}). + +To transfer the @code{emacs} package to a machine connected over SSH, one +would run: + +@example +guix archive --export -r emacs | ssh the-machine guix archive --import +@end example + +@noindent +Similarly, a complete user profile may be transferred from one machine to +another like this: + +@example +guix archive --export -r $(readlink -f ~/.guix-profile) | \ + ssh the-machine guix-archive --import +@end example + +@noindent +However, note that, in both examples, all of @code{emacs} and the profile as +well as all of their dependencies are transferred (due to @code{-r}), +regardless of what is already available in the store on the target machine. +The @code{--missing} option can help figure out which items are missing from +the target store. The @command{guix copy} command simplifies and optimizes +this whole process, so this is probably what you should use in this case +(@pxref{Aufruf von guix copy}). + +@cindex nar, archive format +@cindex normalized archive (nar) +Archives are stored in the ``normalized archive'' or ``nar'' format, which +is comparable in spirit to `tar', but with differences that make it more +appropriate for our purposes. First, rather than recording all Unix +metadata for each file, the nar format only mentions the file type (regular, +directory, or symbolic link); Unix permissions and owner/group are +dismissed. Second, the order in which directory entries are stored always +follows the order of file names according to the C locale collation order. +This makes archive production fully deterministic. + +@c FIXME: Add xref to daemon doc about signatures. +When exporting, the daemon digitally signs the contents of the archive, and +that digital signature is appended. When importing, the daemon verifies the +signature and rejects the import in case of an invalid signature or if the +signing key is not authorized. + +The main options are: + +@table @code +@item --export +Export the specified store files or packages (see below.) Write the +resulting archive to the standard output. + +Dependencies are @emph{not} included in the output, unless +@code{--recursive} is passed. + +@item -r +@itemx --recursive +When combined with @code{--export}, this instructs @command{guix archive} to +include dependencies of the given items in the archive. Thus, the resulting +archive is self-contained: it contains the closure of the exported store +items. + +@item --import +Read an archive from the standard input, and import the files listed therein +into the store. Abort if the archive has an invalid digital signature, or +if it is signed by a public key not among the authorized keys (see +@code{--authorize} below.) + +@item --missing +Read a list of store file names from the standard input, one per line, and +write on the standard output the subset of these files missing from the +store. + +@item --generate-key[=@var{parameters}] +@cindex signing, archives +Generate a new key pair for the daemon. This is a prerequisite before +archives can be exported with @code{--export}. Note that this operation +usually takes time, because it needs to gather enough entropy to generate +the key pair. + +The generated key pair is typically stored under @file{/etc/guix}, in +@file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, +which must be kept secret.) When @var{parameters} is omitted, an ECDSA key +using the Ed25519 curve is generated, or, for Libgcrypt versions before +1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can +specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General +public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt +Reference Manual}). + +@item --authorize +@cindex authorizing, archives +Authorize imports signed by the public key passed on standard input. The +public key must be in ``s-expression advanced format''---i.e., the same +format as the @file{signing-key.pub} file. + +The list of authorized keys is kept in the human-editable file +@file{/etc/guix/acl}. The file contains +@url{http://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format +s-expressions''} and is structured as an access-control list in the +@url{http://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure +(SPKI)}. + +@item --extract=@var{directory} +@itemx -x @var{directory} +Read a single-item archive as served by substitute servers +(@pxref{Substitute}) and extract it to @var{directory}. This is a +low-level operation needed in only very narrow use cases; see below. + +For example, the following command extracts the substitute for Emacs served +by @code{hydra.gnu.org} to @file{/tmp/emacs}: + +@example +$ wget -O - \ + https://hydra.gnu.org/nar/@dots{}-emacs-24.5 \ + | bunzip2 | guix archive -x /tmp/emacs +@end example + +Single-item archives are different from multiple-item archives produced by +@command{guix archive --export}; they contain a single store item, and they +do @emph{not} embed a signature. Thus this operation does @emph{no} +signature verification and its output should be considered unsafe. + +The primary purpose of this operation is to facilitate inspection of archive +contents coming from possibly untrusted substitute servers. + +@end table + +@c ********************************************************************* +@node Programmierschnittstelle +@chapter Programmierschnittstelle + +GNU Guix provides several Scheme programming interfaces (APIs) to define, +build, and query packages. The first interface allows users to write +high-level package definitions. These definitions refer to familiar +packaging concepts, such as the name and version of a package, its build +system, and its dependencies. These definitions can then be turned into +concrete build actions. + +Build actions are performed by the Guix daemon, on behalf of users. In a +standard setup, the daemon has write access to the store---the +@file{/gnu/store} directory---whereas users do not. The recommended setup +also has the daemon perform builds in chroots, under a specific build users, +to minimize interference with the rest of the system. + +@cindex Ableitung +Lower-level APIs are available to interact with the daemon and the store. +To instruct the daemon to perform a build action, users actually provide it +with a @dfn{derivation}. A derivation is a low-level representation of the +build actions to be taken, and the environment in which they should +occur---derivations are to package definitions what assembly is to C +programs. The term ``derivation'' comes from the fact that build results +@emph{derive} from them. + +This chapter describes all these APIs in turn, starting from high-level +package definitions. + +@menu +* Pakete definieren:: Wie Sie neue Pakete definieren. +* Erstellungssysteme:: Angeben, wie Pakete erstellt werden. +* Der Store:: Den Paket-Store verändern. +* Ableitungen:: Systemnahe Schnittstelle für Paketableitungen. +* Die Store-Monade:: Rein funktionale Schnittstelle zum Store. +* G-Ausdrücke:: Erstellungsausdrücke verarbeiten. +* Invoking guix repl:: Fiddling with Guix interactively. +@end menu + +@node Pakete definieren +@section Pakete definieren + +The high-level interface to package definitions is implemented in the +@code{(guix packages)} and @code{(guix build-system)} modules. As an +example, the package definition, or @dfn{recipe}, for the GNU Hello package +looks like this: + +@example +(define-module (gnu packages hello) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses) + #:use-module (gnu packages gawk)) + +(define-public hello + (package + (name "hello") + (version "2.10") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/hello/hello-" version + ".tar.gz")) + (sha256 + (base32 + "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags '("--enable-silent-rules"))) + (inputs `(("gawk" ,gawk))) + (synopsis "Hello, GNU world: An example GNU package") + (description "Guess what GNU Hello prints!") + (home-page "http://www.gnu.org/software/hello/") + (license gpl3+))) +@end example + +@noindent +Without being a Scheme expert, the reader may have guessed the meaning of +the various fields here. This expression binds the variable @code{hello} to +a @code{} object, which is essentially a record (@pxref{SRFI-9, +Scheme records,, guile, GNU Guile Reference Manual}). This package object +can be inspected using procedures found in the @code{(guix packages)} +module; for instance, @code{(package-name hello)} +returns---surprise!---@code{"hello"}. + +With luck, you may be able to import part or all of the definition of the +package you are interested in from another repository, using the @code{guix +import} command (@pxref{Aufruf von guix import}). + +In the example above, @var{hello} is defined in a module of its own, +@code{(gnu packages hello)}. Technically, this is not strictly necessary, +but it is convenient to do so: all the packages defined in modules under +@code{(gnu packages @dots{})} are automatically known to the command-line +tools (@pxref{Paketmodule}). + +There are a few points worth noting in the above package definition: + +@itemize +@item +The @code{source} field of the package is an @code{} object +(@pxref{„origin“-Referenz}, for the complete reference). Here, the +@code{url-fetch} method from @code{(guix download)} is used, meaning that +the source is a file to be downloaded over FTP or HTTP. + +The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the +GNU mirrors defined in @code{(guix download)}. + +The @code{sha256} field specifies the expected SHA256 hash of the file being +downloaded. It is mandatory, and allows Guix to check the integrity of the +file. The @code{(base32 @dots{})} form introduces the base32 representation +of the hash. You can obtain this information with @code{guix download} +(@pxref{Aufruf von guix download}) and @code{guix hash} (@pxref{Aufruf von guix hash}). + +@cindex patches +When needed, the @code{origin} form can also have a @code{patches} field +listing patches to be applied, and a @code{snippet} field giving a Scheme +expression to modify the source code. + +@item +@cindex GNU-Erstellungssystem +The @code{build-system} field specifies the procedure to build the package +(@pxref{Erstellungssysteme}). Here, @var{gnu-build-system} represents the +familiar GNU Build System, where packages may be configured, built, and +installed with the usual @code{./configure && make && make check && make +install} command sequence. + +@item +The @code{arguments} field specifies options for the build system +(@pxref{Erstellungssysteme}). Here it is interpreted by @var{gnu-build-system} +as a request run @file{configure} with the @code{--enable-silent-rules} +flag. + +@cindex quote +@cindex quoting +@findex ' +@findex quote +What about these quote (@code{'}) characters? They are Scheme syntax to +introduce a literal list; @code{'} is synonymous with @code{quote}. +@xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for +details. Here the value of the @code{arguments} field is a list of +arguments passed to the build system down the road, as with @code{apply} +(@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual}). + +The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} +(@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and +@code{#:configure-flags} is a keyword used to pass a keyword argument to the +build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference +Manual}). + +@item +The @code{inputs} field specifies inputs to the build process---i.e., +build-time or run-time dependencies of the package. Here, we define an +input called @code{"gawk"} whose value is that of the @var{gawk} variable; +@var{gawk} is itself bound to a @code{} object. + +@cindex backquote (quasiquote) +@findex ` +@findex quasiquote +@cindex comma (unquote) +@findex , +@findex unquote +@findex ,@@ +@findex unquote-splicing +Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us +to introduce a literal list in the @code{inputs} field, while @code{,} (a +comma, synonymous with @code{unquote}) allows us to insert a value in that +list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference +Manual}). + +Note that GCC, Coreutils, Bash, and other essential tools do not need to be +specified as inputs here. Instead, @var{gnu-build-system} takes care of +ensuring that they are present (@pxref{Erstellungssysteme}). + +However, any other dependencies need to be specified in the @code{inputs} +field. Any dependency not specified here will simply be unavailable to the +build process, possibly leading to a build failure. +@end itemize + +@xref{„package“-Referenz}, for a full description of possible fields. + +Once a package definition is in place, the package may actually be built +using the @code{guix build} command-line tool (@pxref{Aufruf von guix build}), +troubleshooting any build failures you encounter (@pxref{Fehlschläge beim Erstellen untersuchen}). You can easily jump back to the package definition using the +@command{guix edit} command (@pxref{Aufruf von guix edit}). @xref{Paketrichtlinien}, for more information on how to test package definitions, and +@ref{Aufruf von guix lint}, for information on how to check a definition for +style conformance. +@vindex GUIX_PACKAGE_PATH +Lastly, @pxref{Channels}, for information on how to extend the distribution +by adding your own package definitions in a ``channel''. + +Finally, updating the package definition to a new upstream version can be +partly automated by the @command{guix refresh} command (@pxref{Aufruf von guix refresh}). + +Behind the scenes, a derivation corresponding to the @code{} object +is first computed by the @code{package-derivation} procedure. That +derivation is stored in a @code{.drv} file under @file{/gnu/store}. The +build actions it prescribes may then be realized by using the +@code{build-derivations} procedure (@pxref{Der Store}). + +@deffn {Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}] +Return the @code{} object of @var{package} for @var{system} +(@pxref{Ableitungen}). + +@var{package} must be a valid @code{} object, and @var{system} must +be a string denoting the target system type---e.g., @code{"x86_64-linux"} +for an x86_64 Linux-based GNU system. @var{store} must be a connection to +the daemon, which operates on the store (@pxref{Der Store}). +@end deffn + +@noindent +@cindex cross-compilation +Similarly, it is possible to compute a derivation that cross-builds a +package for some other system: + +@deffn {Scheme Procedure} package-cross-derivation @var{store} @ + @var{package} @var{target} [@var{system}] Return the @code{} +object of @var{package} cross-built from @var{system} to @var{target}. + +@var{target} must be a valid GNU triplet denoting the target hardware and +operating system, such as @code{"mips64el-linux-gnu"} (@pxref{Configuration +Names, GNU configuration triplets,, configure, GNU Configure and Build +System}). +@end deffn + +@cindex package transformations +@cindex input rewriting +@cindex dependency tree rewriting +Packages can be manipulated in arbitrary ways. An example of a useful +transformation is @dfn{input rewriting}, whereby the dependency tree of a +package is rewritten by replacing specific inputs by others: + +@deffn {Scheme Procedure} package-input-rewriting @var{replacements} @ + [@var{rewrite-name}] Return a procedure that, when passed a package, +replaces its direct and indirect dependencies (but not its implicit inputs) +according to @var{replacements}. @var{replacements} is a list of package +pairs; the first element of each pair is the package to replace, and the +second one is the replacement. + +Optionally, @var{rewrite-name} is a one-argument procedure that takes the +name of a package and returns its new name after rewrite. +@end deffn + +@noindent +Consider this example: + +@example +(define libressl-instead-of-openssl + ;; This is a procedure to replace OPENSSL by LIBRESSL, + ;; recursively. + (package-input-rewriting `((,openssl . ,libressl)))) + +(define git-with-libressl + (libressl-instead-of-openssl git)) +@end example + +@noindent +Here we first define a rewriting procedure that replaces @var{openssl} with +@var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} +package that uses @var{libressl} instead of @var{openssl}. This is exactly +what the @option{--with-input} command-line option does (@pxref{Paketumwandlungsoptionen, @option{--with-input}}). + +A more generic procedure to rewrite a package dependency graph is +@code{package-mapping}: it supports arbitrary changes to nodes in the graph. + +@deffn {Scheme Procedure} package-mapping @var{proc} [@var{cut?}] +Return a procedure that, given a package, applies @var{proc} to all the +packages depended on and returns the resulting package. The procedure stops +recursion when @var{cut?} returns true for a given package. +@end deffn + +@menu +* „package“-Referenz:: Der Datentyp für Pakete. +* „origin“-Referenz:: Datentyp für Paketursprünge. +@end menu + + +@node „package“-Referenz +@subsection @code{package} Reference + +This section summarizes all the options available in @code{package} +declarations (@pxref{Pakete definieren}). + +@deftp {Data Type} package +This is the data type representing a package recipe. + +@table @asis +@item @code{name} +The name of the package, as a string. + +@item @code{version} +The version of the package, as a string. + +@item @code{source} +An object telling how the source code for the package should be acquired. +Most of the time, this is an @code{origin} object, which denotes a file +fetched from the Internet (@pxref{„origin“-Referenz}). It can also be any +other ``file-like'' object such as a @code{local-file}, which denotes a file +from the local file system (@pxref{G-Ausdrücke, @code{local-file}}). + +@item @code{build-system} +The build system that should be used to build the package (@pxref{Erstellungssysteme}). + +@item @code{arguments} (default: @code{'()}) +The arguments that should be passed to the build system. This is a list, +typically containing sequential keyword-value pairs. + +@item @code{inputs} (default: @code{'()}) +@itemx @code{native-inputs} (default: @code{'()}) +@itemx @code{propagated-inputs} (default: @code{'()}) +@cindex inputs, of packages +These fields list dependencies of the package. Each one is a list of +tuples, where each tuple has a label for the input (a string) as its first +element, a package, origin, or derivation as its second element, and +optionally the name of the output thereof that should be used, which +defaults to @code{"out"} (@pxref{Pakete mit mehreren Ausgaben.}, for more +on package outputs). For example, the list below specifies three inputs: + +@example +`(("libffi" ,libffi) + ("libunistring" ,libunistring) + ("glib:bin" ,glib "bin")) ;the "bin" output of Glib +@end example + +@cindex cross compilation, package dependencies +The distinction between @code{native-inputs} and @code{inputs} is necessary +when considering cross-compilation. When cross-compiling, dependencies +listed in @code{inputs} are built for the @emph{target} architecture; +conversely, dependencies listed in @code{native-inputs} are built for the +architecture of the @emph{build} machine. + +@code{native-inputs} is typically used to list tools needed at build time, +but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or +Bison. @command{guix lint} can report likely mistakes in this area +(@pxref{Aufruf von guix lint}). + +@anchor{package-propagated-inputs} +Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the +specified packages will be automatically installed alongside the package +they belong to (@pxref{package-cmd-propagated-inputs, @command{guix +package}}, for information on how @command{guix package} deals with +propagated inputs.) + +For example this is necessary when a C/C++ library needs headers of another +library to compile, or when a pkg-config file refers to another one @i{via} +its @code{Requires} field. + +Another example where @code{propagated-inputs} is useful is for languages +that lack a facility to record the run-time search path akin to the +@code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. +To ensure that libraries written in those languages can find library code +they depend on at run time, run-time dependencies must be listed in +@code{propagated-inputs} rather than @code{inputs}. + +@item @code{self-native-input?} (default: @code{#f}) +This is a Boolean field telling whether the package should use itself as a +native input when cross-compiling. + +@item @code{outputs} (default: @code{'("out")}) +The list of output names of the package. @xref{Pakete mit mehreren Ausgaben.}, for typical uses of additional outputs. + +@item @code{native-search-paths} (default: @code{'()}) +@itemx @code{search-paths} (default: @code{'()}) +A list of @code{search-path-specification} objects describing search-path +environment variables honored by the package. + +@item @code{replacement} (default: @code{#f}) +This must be either @code{#f} or a package object that will be used as a +@dfn{replacement} for this package. @xref{Sicherheitsaktualisierungen, grafts}, for +details. + +@item @code{synopsis} +Eine einzeilige Beschreibung des Pakets. + +@item @code{description} +Eine ausführlichere Beschreibung des Pakets. + +@item @code{license} +@cindex license, of packages +The license of the package; a value from @code{(guix licenses)}, or a list +of such values. + +@item @code{home-page} +The URL to the home-page of the package, as a string. + +@item @code{supported-systems} (default: @var{%supported-systems}) +The list of systems supported by the package, as strings of the form +@code{architecture-kernel}, for example @code{"x86_64-linux"}. + +@item @code{maintainers} (default: @code{'()}) +The list of maintainers of the package, as @code{maintainer} objects. + +@item @code{location} (default: source location of the @code{package} form) +The source location of the package. It is useful to override this when +inheriting from another package, in which case this field is not +automatically corrected. +@end table +@end deftp + + +@node „origin“-Referenz +@subsection @code{origin} Reference + +This section summarizes all the options available in @code{origin} +declarations (@pxref{Pakete definieren}). + +@deftp {Data Type} origin +This is the data type representing a source code origin. + +@table @asis +@item @code{uri} +An object containing the URI of the source. The object type depends on the +@code{method} (see below). For example, when using the @var{url-fetch} +method of @code{(guix download)}, the valid @code{uri} values are: a URL +represented as a string, or a list thereof. + +@item @code{method} +A procedure that handles the URI. + +Examples include: + +@table @asis +@item @var{url-fetch} from @code{(guix download)} +download a file from the HTTP, HTTPS, or FTP URL specified in the @code{uri} +field; + +@vindex git-fetch +@item @var{git-fetch} from @code{(guix git-download)} +clone the Git version control repository, and check out the revision +specified in the @code{uri} field as a @code{git-reference} object; a +@code{git-reference} looks like this: + +@example +(git-reference + (url "git://git.debian.org/git/pkg-shadow/shadow") + (commit "v4.1.5.1")) +@end example +@end table + +@item @code{sha256} +A bytevector containing the SHA-256 hash of the source. Typically the +@code{base32} form is used here to generate the bytevector from a base-32 +string. + +You can obtain this information using @code{guix download} (@pxref{Aufruf von guix download}) or @code{guix hash} (@pxref{Aufruf von guix hash}). + +@item @code{file-name} (default: @code{#f}) +The file name under which the source code should be saved. When this is +@code{#f}, a sensible default value will be used in most cases. In case the +source is fetched from a URL, the file name from the URL will be used. For +version control checkouts, it is recommended to provide the file name +explicitly because the default is not very descriptive. + +@item @code{patches} (default: @code{'()}) +A list of file names, origins, or file-like objects (@pxref{G-Ausdrücke, +file-like objects}) pointing to patches to be applied to the source. + +This list of patches must be unconditional. In particular, it cannot depend +on the value of @code{%current-system} or @code{%current-target-system}. + +@item @code{snippet} (default: @code{#f}) +A G-expression (@pxref{G-Ausdrücke}) or S-expression that will be run in +the source directory. This is a convenient way to modify the source, +sometimes more convenient than a patch. + +@item @code{patch-flags} (default: @code{'("-p1")}) +A list of command-line flags that should be passed to the @code{patch} +command. + +@item @code{patch-inputs} (default: @code{#f}) +Input packages or derivations to the patching process. When this is +@code{#f}, the usual set of inputs necessary for patching are provided, such +as GNU@tie{}Patch. + +@item @code{modules} (default: @code{'()}) +A list of Guile modules that should be loaded during the patching process +and while running the code in the @code{snippet} field. + +@item @code{patch-guile} (default: @code{#f}) +The Guile package that should be used in the patching process. When this is +@code{#f}, a sensible default is used. +@end table +@end deftp + + +@node Erstellungssysteme +@section Erstellungssysteme + +@cindex build system +Each package definition specifies a @dfn{build system} and arguments for +that build system (@pxref{Pakete definieren}). This @code{build-system} +field represents the build procedure of the package, as well as implicit +dependencies of that build procedure. + +Build systems are @code{} objects. The interface to create +and manipulate them is provided by the @code{(guix build-system)} module, +and actual build systems are exported by specific modules. + +@cindex bag (low-level package representation) +Under the hood, build systems first compile package objects to @dfn{bags}. +A @dfn{bag} is like a package, but with less ornamentation---in other words, +a bag is a lower-level representation of a package, which includes all the +inputs of that package, including some that were implicitly added by the +build system. This intermediate representation is then compiled to a +derivation (@pxref{Ableitungen}). + +Build systems accept an optional list of @dfn{arguments}. In package +definitions, these are passed @i{via} the @code{arguments} field +(@pxref{Pakete definieren}). They are typically keyword arguments +(@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile +Reference Manual}). The value of these arguments is usually evaluated in +the @dfn{build stratum}---i.e., by a Guile process launched by the daemon +(@pxref{Ableitungen}). + +The main build system is @var{gnu-build-system}, which implements the +standard build procedure for GNU and many other packages. It is provided by +the @code{(guix build-system gnu)} module. + +@defvr {Scheme Variable} gnu-build-system +@var{gnu-build-system} represents the GNU Build System, and variants thereof +(@pxref{Configuration, configuration and makefile conventions,, standards, +GNU Coding Standards}). + +@cindex build phases +In a nutshell, packages using it are configured, built, and installed with +the usual @code{./configure && make && make check && make install} command +sequence. In practice, a few additional steps are often needed. All these +steps are split up in separate @dfn{phases}, notably@footnote{Please see the +@code{(guix build gnu-build-system)} modules for more details about the +build phases.}: + +@table @code +@item unpack +Unpack the source tarball, and change the current directory to the extracted +source tree. If the source is actually a directory, copy it to the build +tree, and enter that directory. + +@item patch-source-shebangs +Patch shebangs encountered in source files so they refer to the right store +file names. For instance, this changes @code{#!/bin/sh} to +@code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}. + +@item configure +Run the @file{configure} script with a number of default options, such as +@code{--prefix=/gnu/store/@dots{}}, as well as the options specified by the +@code{#:configure-flags} argument. + +@item build +Run @code{make} with the list of flags specified with @code{#:make-flags}. +If the @code{#:parallel-build?} argument is true (the default), build with +@code{make -j}. + +@item check +Run @code{make check}, or some other target specified with +@code{#:test-target}, unless @code{#:tests? #f} is passed. If the +@code{#:parallel-tests?} argument is true (the default), run @code{make +check -j}. + +@item install +Run @code{make install} with the flags listed in @code{#:make-flags}. + +@item patch-shebangs +Patch shebangs on the installed executable files. + +@item strip +Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is +false), copying them to the @code{debug} output when available +(@pxref{Dateien zur Fehlersuche installieren}). +@end table + +@vindex %standard-phases +The build-side module @code{(guix build gnu-build-system)} defines +@var{%standard-phases} as the default list of build phases. +@var{%standard-phases} is a list of symbol/procedure pairs, where the +procedure implements the actual phase. + +The list of phases used for a particular package can be changed with the +@code{#:phases} parameter. For instance, passing: + +@example +#:phases (modify-phases %standard-phases (delete 'configure)) +@end example + +means that all the phases described above will be used, except the +@code{configure} phase. + +In addition, this build system ensures that the ``standard'' environment for +GNU packages is available. This includes tools such as GCC, libc, +Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix +build-system gnu)} module for a complete list). We call these the +@dfn{implicit inputs} of a package, because package definitions do not have +to mention them. +@end defvr + +Other @code{} objects are defined to support other conventions +and tools used by free software packages. They inherit most of +@var{gnu-build-system}, and differ mainly in the set of inputs implicitly +added to the build process, and in the list of phases executed. Some of +these build systems are listed below. + +@defvr {Scheme Variable} ant-build-system +This variable is exported by @code{(guix build-system ant)}. It implements +the build procedure for Java packages that can be built with +@url{http://ant.apache.org/, Ant build tool}. + +It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided +by the @code{icedtea} package to the set of inputs. Different packages can +be specified with the @code{#:ant} and @code{#:jdk} parameters, +respectively. + +When the original package does not provide a suitable Ant build file, the +parameter @code{#:jar-name} can be used to generate a minimal Ant build file +@file{build.xml} with tasks to build the specified jar archive. In this +case the parameter @code{#:source-dir} can be used to specify the source +sub-directory, defaulting to ``src''. + +The @code{#:main-class} parameter can be used with the minimal ant buildfile +to specify the main class of the resulting jar. This makes the jar file +executable. The @code{#:test-include} parameter can be used to specify the +list of junit tests to run. It defaults to @code{(list "**/*Test.java")}. +The @code{#:test-exclude} can be used to disable some tests. It defaults to +@code{(list "**/Abstract*.java")}, because abstract classes cannot be run as +tests. + +The parameter @code{#:build-target} can be used to specify the Ant task that +should be run during the @code{build} phase. By default the ``jar'' task +will be run. + +@end defvr + +@defvr {Scheme Variable} android-ndk-build-system +@cindex Android distribution +@cindex Android NDK build system +This variable is exported by @code{(guix build-system android-ndk)}. It +implements a build procedure for Android NDK (native development kit) +packages using a Guix-specific build process. + +The build system assumes that packages install their public interface +(header) files to the subdirectory "include" of the "out" output and their +libraries to the subdirectory "lib" of the "out" output. + +It's also assumed that the union of all the dependencies of a package has no +conflicting files. + +For the time being, cross-compilation is not supported - so right now the +libraries and header files are assumed to be host tools. + +@end defvr + +@defvr {Scheme Variable} asdf-build-system/source +@defvrx {Scheme Variable} asdf-build-system/sbcl +@defvrx {Scheme Variable} asdf-build-system/ecl + +These variables, exported by @code{(guix build-system asdf)}, implement +build procedures for Common Lisp packages using +@url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system +definition facility for Common Lisp programs and libraries. + +The @code{asdf-build-system/source} system installs the packages in source +form, and can be loaded using any common lisp implementation, via ASDF. The +others, such as @code{asdf-build-system/sbcl}, install binary systems in the +format which a particular implementation understands. These build systems +can also be used to produce executable programs, or lisp images which +contain a set of packages pre-loaded. + +The build system uses naming conventions. For binary packages, the package +name should be prefixed with the lisp implementation, such as @code{sbcl-} +for @code{asdf-build-system/sbcl}. + +Additionally, the corresponding source package should be labeled using the +same convention as python packages (see @ref{Python-Module}), using the +@code{cl-} prefix. + +For binary packages, each system should be defined as a Guix package. If +one package @code{origin} contains several systems, package variants can be +created in order to build all the systems. Source packages, which use +@code{asdf-build-system/source}, may contain several systems. + +In order to create executable programs and images, the build-side procedures +@code{build-program} and @code{build-image} can be used. They should be +called in a build phase after the @code{create-symlinks} phase, so that the +system which was just built can be used within the resulting image. +@code{build-program} requires a list of Common Lisp expressions to be passed +as the @code{#:entry-program} argument. + +If the system is not defined within its own @code{.asd} file of the same +name, then the @code{#:asd-file} parameter should be used to specify which +file the system is defined in. Furthermore, if the package defines a system +for its tests in a separate file, it will be loaded before the tests are run +if it is specified by the @code{#:test-asd-file} parameter. If it is not +set, the files @code{-tests.asd}, @code{-test.asd}, +@code{tests.asd}, and @code{test.asd} will be tried if they exist. + +If for some reason the package must be named in a different way than the +naming conventions suggest, the @code{#:asd-system-name} parameter can be +used to specify the name of the system. + +@end defvr + +@defvr {Scheme Variable} cargo-build-system +@cindex Rust programming language +@cindex Cargo (Rust build system) +This variable is exported by @code{(guix build-system cargo)}. It supports +builds of packages using Cargo, the build tool of the +@uref{https://www.rust-lang.org, Rust programming language}. + +In its @code{configure} phase, this build system replaces dependencies +specified in the @file{Carto.toml} file with inputs to the Guix package. +The @code{install} phase installs the binaries, and it also installs the +source code and @file{Cargo.toml} file. +@end defvr + +@cindex Clojure (programming language) +@cindex simple Clojure build system +@defvr {Scheme Variable} clojure-build-system +This variable is exported by @code{(guix build-system clojure)}. It +implements a simple build procedure for @uref{https://clojure.org/, Clojure} +packages using plain old @code{compile} in Clojure. Cross-compilation is +not supported yet. + +It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. +Different packages can be specified with the @code{#:clojure}, @code{#:jdk} +and @code{#:zip} parameters, respectively. + +A list of source directories, test directories and jar names can be +specified with the @code{#:source-dirs}, @code{#:test-dirs} and +@code{#:jar-names} parameters, respectively. Compile directory and main +class can be specified with the @code{#:compile-dir} and @code{#:main-class} +parameters, respectively. Other parameters are documented below. + +This build system is an extension of @var{ant-build-system}, but with the +following phases changed: + +@table @code + +@item build +This phase calls @code{compile} in Clojure to compile source files and runs +@command{jar} to create jars from both source files and compiled files +according to the include list and exclude list specified in +@code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude +list has priority over the include list. These lists consist of symbols +representing Clojure libraries or the special keyword @code{#:all} +representing all Clojure libraries found under the source directories. The +parameter @code{#:omit-source?} decides if source should be included into +the jars. + +@item check +This phase runs tests according to the include list and exclude list +specified in @code{#:test-include} and @code{#:test-exclude}, respectively. +Their meanings are analogous to that of @code{#:aot-include} and +@code{#:aot-exclude}, except that the special keyword @code{#:all} now +stands for all Clojure libraries found under the test directories. The +parameter @code{#:tests?} decides if tests should be run. + +@item install +This phase installs all jars built previously. +@end table + +Apart from the above, this build system also contains an additional phase: + +@table @code + +@item install-doc +This phase installs all top-level files with base name matching +@var{%doc-regex}. A different regex can be specified with the +@code{#:doc-regex} parameter. All files (recursively) inside the +documentation directories specified in @code{#:doc-dirs} are installed as +well. +@end table +@end defvr + +@defvr {Scheme Variable} cmake-build-system +This variable is exported by @code{(guix build-system cmake)}. It +implements the build procedure for packages using the +@url{http://www.cmake.org, CMake build tool}. + +It automatically adds the @code{cmake} package to the set of inputs. Which +package is used can be specified with the @code{#:cmake} parameter. + +The @code{#:configure-flags} parameter is taken as a list of flags passed to +the @command{cmake} command. The @code{#:build-type} parameter specifies in +abstract terms the flags passed to the compiler; it defaults to +@code{"RelWithDebInfo"} (short for ``release mode with debugging +information''), which roughly means that code is compiled with @code{-O2 +-g}, as is the case for Autoconf-based packages by default. +@end defvr + +@defvr {Scheme Variable} go-build-system +This variable is exported by @code{(guix build-system go)}. It implements a +build procedure for Go packages using the standard +@url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go +build mechanisms}. + +The user is expected to provide a value for the key @code{#:import-path} +and, in some cases, @code{#:unpack-path}. The +@url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds +to the file system path expected by the package's build scripts and any +referring packages, and provides a unique way to refer to a Go package. It +is typically based on a combination of the package source code's remote URI +and file system hierarchy structure. In some cases, you will need to unpack +the package's source code to a different directory structure than the one +indicated by the import path, and @code{#:unpack-path} should be used in +such cases. + +Packages that provide Go libraries should be installed along with their +source code. The key @code{#:install-source?}, which defaults to @code{#t}, +controls whether or not the source code is installed. It can be set to +@code{#f} for packages that only provide executable files. +@end defvr + +@defvr {Scheme Variable} glib-or-gtk-build-system +This variable is exported by @code{(guix build-system glib-or-gtk)}. It is +intended for use with packages making use of GLib or GTK+. + +This build system adds the following two phases to the ones defined by +@var{gnu-build-system}: + +@table @code +@item glib-or-gtk-wrap +The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are +able to find GLib ``schemas'' and +@uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ +modules}. This is achieved by wrapping the programs in launch scripts that +appropriately set the @code{XDG_DATA_DIRS} and @code{GTK_PATH} environment +variables. + +It is possible to exclude specific package outputs from that wrapping +process by listing their names in the +@code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when +an output is known not to contain any GLib or GTK+ binaries, and where +wrapping would gratuitously add a dependency of that output on GLib and +GTK+. + +@item glib-or-gtk-compile-schemas +The phase @code{glib-or-gtk-compile-schemas} makes sure that all +@uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, +GSettings schemas} of GLib are compiled. Compilation is performed by the +@command{glib-compile-schemas} program. It is provided by the package +@code{glib:bin} which is automatically imported by the build system. The +@code{glib} package providing @command{glib-compile-schemas} can be +specified with the @code{#:glib} parameter. +@end table + +Both phases are executed after the @code{install} phase. +@end defvr + +@defvr {Scheme Variable} guile-build-system +This build system is for Guile packages that consist exclusively of Scheme +code and that are so lean that they don't even have a makefile, let alone a +@file{configure} script. It compiles Scheme code using @command{guild +compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and +installs the @file{.scm} and @file{.go} files in the right place. It also +installs documentation. + +This build system supports cross-compilation by using the @code{--target} +option of @command{guild compile}. + +Packages built with @code{guile-build-system} must provide a Guile package +in their @code{native-inputs} field. +@end defvr + +@defvr {Scheme Variable} minify-build-system +This variable is exported by @code{(guix build-system minify)}. It +implements a minification procedure for simple JavaScript packages. + +It adds @code{uglify-js} to the set of inputs and uses it to compress all +JavaScript files in the @file{src} directory. A different minifier package +can be specified with the @code{#:uglify-js} parameter, but it is expected +that the package writes the minified code to the standard output. + +When the input JavaScript files are not all located in the @file{src} +directory, the parameter @code{#:javascript-files} can be used to specify a +list of file names to feed to the minifier. +@end defvr + +@defvr {Scheme Variable} ocaml-build-system +This variable is exported by @code{(guix build-system ocaml)}. It +implements a build procedure for @uref{https://ocaml.org, OCaml} packages, +which consists of choosing the correct set of commands to run for each +package. OCaml packages can expect many different commands to be run. This +build system will try some of them. + +When the package has a @file{setup.ml} file present at the top-level, it +will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and +@code{ocaml setup.ml -install}. The build system will assume that this file +was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will +take care of setting the prefix and enabling tests if they are not +disabled. You can pass configure and build flags with the +@code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} +key can be passed to change the set of flags used to enable tests. The +@code{#:use-make?} key can be used to bypass this system in the build and +install phases. + +When the package has a @file{configure} file, it is assumed that it is a +hand-made configure script that requires a different argument format than in +the @code{gnu-build-system}. You can add more flags with the +@code{#:configure-flags} key. + +When the package has a @file{Makefile} file (or @code{#:use-make?} is +@code{#t}), it will be used and more flags can be passed to the build and +install phases with the @code{#:make-flags} key. + +Finally, some packages do not have these files and use a somewhat standard +location for its build system. In that case, the build system will run +@code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of +providing the path to the required findlib module. Additional flags can be +passed via the @code{#:build-flags} key. Install is taken care of by +@command{opam-installer}. In this case, the @code{opam} package must be +added to the @code{native-inputs} field of the package definition. + +Note that most OCaml packages assume they will be installed in the same +directory as OCaml, which is not what we want in guix. In particular, they +will install @file{.so} files in their module's directory, which is usually +fine because it is in the OCaml compiler directory. In guix though, these +libraries cannot be found and we use @code{CAML_LD_LIBRARY_PATH}. This +variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where +@file{.so} libraries should be installed. +@end defvr + +@defvr {Scheme Variable} python-build-system +This variable is exported by @code{(guix build-system python)}. It +implements the more or less standard build procedure used by Python +packages, which consists in running @code{python setup.py build} and then +@code{python setup.py install --prefix=/gnu/store/@dots{}}. + +For packages that install stand-alone Python programs under @code{bin/}, it +takes care of wrapping these programs so that their @code{PYTHONPATH} +environment variable points to all the Python libraries they depend on. + +Which Python package is used to perform the build can be specified with the +@code{#:python} parameter. This is a useful way to force a package to be +built for a specific version of the Python interpreter, which might be +necessary if the package is only compatible with a single interpreter +version. + +By default guix calls @code{setup.py} under control of @code{setuptools}, +much like @command{pip} does. Some packages are not compatible with +setuptools (and pip), thus you can disable this by setting the +@code{#:use-setuptools} parameter to @code{#f}. +@end defvr + +@defvr {Scheme Variable} perl-build-system +This variable is exported by @code{(guix build-system perl)}. It implements +the standard build procedure for Perl packages, which either consists in +running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by +@code{Build} and @code{Build install}; or in running @code{perl Makefile.PL +PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, +depending on which of @code{Build.PL} or @code{Makefile.PL} is present in +the package distribution. Preference is given to the former if both +@code{Build.PL} and @code{Makefile.PL} exist in the package distribution. +This preference can be reversed by specifying @code{#t} for the +@code{#:make-maker?} parameter. + +The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation +passes flags specified by the @code{#:make-maker-flags} or +@code{#:module-build-flags} parameter, respectively. + +Which Perl package is used can be specified with @code{#:perl}. +@end defvr + +@defvr {Scheme Variable} r-build-system +This variable is exported by @code{(guix build-system r)}. It implements +the build procedure used by @uref{http://r-project.org, R} packages, which +essentially is little more than running @code{R CMD INSTALL +--library=/gnu/store/@dots{}} in an environment where @code{R_LIBS_SITE} +contains the paths to all R package inputs. Tests are run after +installation using the R function @code{tools::testInstalledPackage}. +@end defvr + +@defvr {Scheme Variable} texlive-build-system +This variable is exported by @code{(guix build-system texlive)}. It is used +to build TeX packages in batch mode with a specified engine. The build +system sets the @code{TEXINPUTS} variable to find all TeX source files in +the inputs. + +By default it runs @code{luatex} on all files ending on @code{ins}. A +different engine and format can be specified with the @code{#:tex-format} +argument. Different build targets can be specified with the +@code{#:build-targets} argument, which expects a list of file names. The +build system adds only @code{texlive-bin} and @code{texlive-latex-base} +(both from @code{(gnu packages tex}) to the inputs. Both can be overridden +with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, +respectively. + +The @code{#:tex-directory} parameter tells the build system where to install +the built files under the texmf tree. +@end defvr + +@defvr {Scheme Variable} ruby-build-system +This variable is exported by @code{(guix build-system ruby)}. It implements +the RubyGems build procedure used by Ruby packages, which involves running +@code{gem build} followed by @code{gem install}. + +The @code{source} field of a package that uses this build system typically +references a gem archive, since this is the format that Ruby developers use +when releasing their software. The build system unpacks the gem archive, +potentially patches the source, runs the test suite, repackages the gem, and +installs it. Additionally, directories and tarballs may be referenced to +allow building unreleased gems from Git or a traditional source release +tarball. + +Which Ruby package is used can be specified with the @code{#:ruby} +parameter. A list of additional flags to be passed to the @command{gem} +command can be specified with the @code{#:gem-flags} parameter. +@end defvr + +@defvr {Scheme Variable} waf-build-system +This variable is exported by @code{(guix build-system waf)}. It implements +a build procedure around the @code{waf} script. The common +phases---@code{configure}, @code{build}, and @code{install}---are +implemented by passing their names as arguments to the @code{waf} script. + +The @code{waf} script is executed by the Python interpreter. Which Python +package is used to run the script can be specified with the @code{#:python} +parameter. +@end defvr + +@defvr {Scheme Variable} scons-build-system +This variable is exported by @code{(guix build-system scons)}. It +implements the build procedure used by the SCons software construction +tool. This build system runs @code{scons} to build the package, @code{scons +test} to run tests, and then @code{scons install} to install the package. + +Additional flags to be passed to @code{scons} can be specified with the +@code{#:scons-flags} parameter. The version of Python used to run SCons can +be specified by selecting the appropriate SCons package with the +@code{#:scons} parameter. +@end defvr + +@defvr {Scheme Variable} haskell-build-system +This variable is exported by @code{(guix build-system haskell)}. It +implements the Cabal build procedure used by Haskell packages, which +involves running @code{runhaskell Setup.hs configure +--prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead +of installing the package by running @code{runhaskell Setup.hs install}, to +avoid trying to register libraries in the read-only compiler store +directory, the build system uses @code{runhaskell Setup.hs copy}, followed +by @code{runhaskell Setup.hs register}. In addition, the build system +generates the package documentation by running @code{runhaskell Setup.hs +haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock +parameters can be passed with the help of the @code{#:haddock-flags} +parameter. If the file @code{Setup.hs} is not found, the build system looks +for @code{Setup.lhs} instead. + +Which Haskell compiler is used can be specified with the @code{#:haskell} +parameter which defaults to @code{ghc}. +@end defvr + +@defvr {Scheme Variable} dub-build-system +This variable is exported by @code{(guix build-system dub)}. It implements +the Dub build procedure used by D packages, which involves running @code{dub +build} and @code{dub run}. Installation is done by copying the files +manually. + +Which D compiler is used can be specified with the @code{#:ldc} parameter +which defaults to @code{ldc}. +@end defvr + +@defvr {Scheme Variable} emacs-build-system +This variable is exported by @code{(guix build-system emacs)}. It +implements an installation procedure similar to the packaging system of +Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual}). + +It first creates the @code{@var{package}-autoloads.el} file, then it byte +compiles all Emacs Lisp files. Differently from the Emacs packaging system, +the Info documentation files are moved to the standard documentation +directory and the @file{dir} file is deleted. Each package is installed in +its own directory under @file{share/emacs/site-lisp/guix.d}. +@end defvr + +@defvr {Scheme Variable} font-build-system +This variable is exported by @code{(guix build-system font)}. It implements +an installation procedure for font packages where upstream provides +pre-compiled TrueType, OpenType, etc.@: font files that merely need to be +copied into place. It copies font files to standard locations in the output +directory. +@end defvr + +@defvr {Scheme Variable} meson-build-system +This variable is exported by @code{(guix build-system meson)}. It +implements the build procedure for packages that use +@url{http://mesonbuild.com, Meson} as their build system. + +It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of +inputs, and they can be changed with the parameters @code{#:meson} and +@code{#:ninja} if needed. The default Meson is @code{meson-for-build}, +which is special because it doesn't clear the @code{RUNPATH} of binaries and +libraries when they are installed. + +This build system is an extension of @var{gnu-build-system}, but with the +following phases changed to some specific for Meson: + +@table @code + +@item configure +The phase runs @code{meson} with the flags specified in +@code{#:configure-flags}. The flag @code{--build-type} is always set to +@code{plain} unless something else is specified in @code{#:build-type}. + +@item build +The phase runs @code{ninja} to build the package in parallel by default, but +this can be changed with @code{#:parallel-build?}. + +@item check +The phase runs @code{ninja} with the target specified in +@code{#:test-target}, which is @code{"test"} by default. + +@item install +The phase runs @code{ninja install} and can not be changed. +@end table + +Apart from that, the build system also adds the following phases: + +@table @code + +@item fix-runpath +This phase ensures that all binaries can find the libraries they need. It +searches for required libraries in subdirectories of the package being +built, and adds those to @code{RUNPATH} where needed. It also removes +references to libraries left over from the build phase by +@code{meson-for-build}, such as test dependencies, that aren't actually +required for the program to run. + +@item glib-or-gtk-wrap +This phase is the phase provided by @code{glib-or-gtk-build-system}, and it +is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}. + +@item glib-or-gtk-compile-schemas +This phase is the phase provided by @code{glib-or-gtk-build-system}, and it +is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}. +@end table +@end defvr + +Lastly, for packages that do not need anything as sophisticated, a +``trivial'' build system is provided. It is trivial in the sense that it +provides basically no support: it does not pull any implicit inputs, and +does not have a notion of build phases. + +@defvr {Scheme Variable} trivial-build-system +This variable is exported by @code{(guix build-system trivial)}. + +This build system requires a @code{#:builder} argument. This argument must +be a Scheme expression that builds the package output(s)---as with +@code{build-expression->derivation} (@pxref{Ableitungen, +@code{build-expression->derivation}}). +@end defvr + +@node Der Store +@section Der Store + +@cindex Store +@cindex store items +@cindex store paths + +Conceptually, the @dfn{store} is the place where derivations that have been +built successfully are stored---by default, @file{/gnu/store}. +Sub-directories in the store are referred to as @dfn{store items} or +sometimes @dfn{store paths}. The store has an associated database that +contains information such as the store paths referred to by each store path, +and the list of @emph{valid} store items---results of successful builds. +This database resides in @file{@var{localstatedir}/guix/db}, where +@var{localstatedir} is the state directory specified @i{via} +@option{--localstatedir} at configure time, usually @file{/var}. + +The store is @emph{always} accessed by the daemon on behalf of its clients +(@pxref{Aufruf des guix-daemon}). To manipulate the store, clients connect to +the daemon over a Unix-domain socket, send requests to it, and read the +result---these are remote procedure calls, or RPCs. + +@quotation Anmerkung +Users must @emph{never} modify files under @file{/gnu/store} directly. This +would lead to inconsistencies and break the immutability assumptions of +Guix's functional model (@pxref{Einführung}). + +@xref{Aufruf von guix gc, @command{guix gc --verify}}, for information on how +to check the integrity of the store and attempt recovery from accidental +modifications. +@end quotation + +The @code{(guix store)} module provides procedures to connect to the daemon, +and to perform RPCs. These are described below. By default, +@code{open-connection}, and thus all the @command{guix} commands, connect to +the local daemon or to the URI specified by the @code{GUIX_DAEMON_SOCKET} +environment variable. + +@defvr {Environment Variable} GUIX_DAEMON_SOCKET +When set, the value of this variable should be a file name or a URI +designating the daemon endpoint. When it is a file name, it denotes a +Unix-domain socket to connect to. In addition to file names, the supported +URI schemes are: + +@table @code +@item file +@itemx unix +These are for Unix-domain sockets. +@code{file:///var/guix/daemon-socket/socket} is equivalent to +@file{/var/guix/daemon-socket/socket}. + +@item guix +@cindex Daemon, Fernzugriff +@cindex Fernzugriff auf den Daemon +@cindex Daemon, Einrichten auf Clustern +@cindex Cluster, Einrichtung des Daemons +These URIs denote connections over TCP/IP, without encryption nor +authentication of the remote host. The URI must specify the host name and +optionally a port number (by default port 44146 is used): + +@example +guix://master.guix.example.org:1234 +@end example + +This setup is suitable on local networks, such as clusters, where only +trusted nodes may connect to the build daemon at +@code{master.guix.example.org}. + +The @code{--listen} option of @command{guix-daemon} can be used to instruct +it to listen for TCP connections (@pxref{Aufruf des guix-daemon, +@code{--listen}}). + +@item ssh +@cindex SSH access to build daemons +These URIs allow you to connect to a remote daemon over SSH@footnote{This +feature requires Guile-SSH (@pxref{Voraussetzungen}).}. A typical URL might +look like this: + +@example +ssh://charlie@@guix.example.org:22 +@end example + +As for @command{guix copy}, the usual OpenSSH client configuration files are +honored (@pxref{Aufruf von guix copy}). +@end table + +Additional URI schemes may be supported in the future. + +@c XXX: Remove this note when the protocol incurs fewer round trips +@c and when (guix derivations) no longer relies on file system access. +@quotation Anmerkung +The ability to connect to remote build daemons is considered experimental as +of @value{VERSION}. Please get in touch with us to share any problems or +suggestions you may have (@pxref{Mitwirken}). +@end quotation +@end defvr + +@deffn {Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t] +Connect to the daemon over the Unix-domain socket at @var{uri} (a string). +When @var{reserve-space?} is true, instruct it to reserve a little bit of +extra space on the file system so that the garbage collector can still +operate should the disk become full. Return a server object. + +@var{file} defaults to @var{%default-socket-path}, which is the normal +location given the options that were passed to @command{configure}. +@end deffn + +@deffn {Scheme Procedure} close-connection @var{server} +Close the connection to @var{server}. +@end deffn + +@defvr {Scheme Variable} current-build-output-port +This variable is bound to a SRFI-39 parameter, which refers to the port +where build and error logs sent by the daemon should be written. +@end defvr + +Procedures that make RPCs all take a server object as their first argument. + +@deffn {Scheme Procedure} valid-path? @var{server} @var{path} +@cindex invalid store items +Return @code{#t} when @var{path} designates a valid store item and @code{#f} +otherwise (an invalid item may exist on disk but still be invalid, for +instance because it is the result of an aborted or failed build.) + +A @code{&nix-protocol-error} condition is raised if @var{path} is not +prefixed by the store directory (@file{/gnu/store}). +@end deffn + +@deffn {Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}] +Add @var{text} under file @var{name} in the store, and return its store +path. @var{references} is the list of store paths referred to by the +resulting store path. +@end deffn + +@deffn {Scheme Procedure} build-derivations @var{server} @var{derivations} +Build @var{derivations} (a list of @code{} objects or derivation +paths), and return when the worker is done building them. Return @code{#t} +on success. +@end deffn + +Note that the @code{(guix monads)} module provides a monad as well as +monadic versions of the above procedures, with the goal of making it more +convenient to work with code that accesses the store (@pxref{Die Store-Monade}). + +@c FIXME +@i{This section is currently incomplete.} + +@node Ableitungen +@section Ableitungen + +@cindex derivations +Low-level build actions and the environment in which they are performed are +represented by @dfn{derivations}. A derivation contains the following +pieces of information: + +@itemize +@item +The outputs of the derivation---derivations produce at least one file or +directory in the store, but may produce more. + +@item +The inputs of the derivations, which may be other derivations or plain files +in the store (patches, build scripts, etc.) + +@item +The system type targeted by the derivation---e.g., @code{x86_64-linux}. + +@item +The file name of a build script in the store, along with the arguments to be +passed. + +@item +A list of environment variables to be defined. + +@end itemize + +@cindex derivation path +Derivations allow clients of the daemon to communicate build actions to the +store. They exist in two forms: as an in-memory representation, both on the +client- and daemon-side, and as files in the store whose name end in +@code{.drv}---these files are referred to as @dfn{derivation paths}. +Derivations paths can be passed to the @code{build-derivations} procedure to +perform the build actions they prescribe (@pxref{Der Store}). + +@cindex fixed-output derivations +Operations such as file downloads and version-control checkouts for which +the expected content hash is known in advance are modeled as +@dfn{fixed-output derivations}. Unlike regular derivations, the outputs of +a fixed-output derivation are independent of its inputs---e.g., a source +code download produces the same result regardless of the download method and +tools being used. + +The @code{(guix derivations)} module provides a representation of +derivations as Scheme objects, along with procedures to create and otherwise +manipulate derivations. The lowest-level primitive to create a derivation +is the @code{derivation} procedure: + +@deffn {Scheme Procedure} derivation @var{store} @var{name} @var{builder} @ + @var{args} [#:outputs '("out")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? +#f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] +[#:references-graphs #f] @ [#:allowed-references #f] +[#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ +[#:substitutable? #t] [#:properties '()] Build a derivation with the given +arguments, and return the resulting @code{} object. + +When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output +derivation} is created---i.e., one whose result is known in advance, such as +a file download. If, in addition, @var{recursive?} is true, then that fixed +output may be an executable file or a directory and @var{hash} must be the +hash of an archive containing this output. + +When @var{references-graphs} is true, it must be a list of file name/store +path pairs. In that case, the reference graph of each store path is +exported in the build environment in the corresponding file, in a simple +text format. + +When @var{allowed-references} is true, it must be a list of store items or +outputs that the derivation's output may refer to. Likewise, +@var{disallowed-references}, if true, must be a list of things the outputs +may @emph{not} refer to. + +When @var{leaked-env-vars} is true, it must be a list of strings denoting +environment variables that are allowed to ``leak'' from the daemon's +environment to the build environment. This is only applicable to +fixed-output derivations---i.e., when @var{hash} is true. The main use is +to allow variables such as @code{http_proxy} to be passed to derivations +that download files. + +When @var{local-build?} is true, declare that the derivation is not a good +candidate for offloading and should rather be built locally (@pxref{Auslagern des Daemons einrichten}). This is the case for small derivations where the costs of +data transfers would outweigh the benefits. + +When @var{substitutable?} is false, declare that substitutes of the +derivation's output should not be used (@pxref{Substitute}). This is +useful, for instance, when building packages that capture details of the +host CPU instruction set. + +@var{properties} must be an association list describing ``properties'' of +the derivation. It is kept as-is, uninterpreted, in the derivation. +@end deffn + +@noindent +Here's an example with a shell script as its builder, assuming @var{store} +is an open connection to the daemon, and @var{bash} points to a Bash +executable in the store: + +@lisp +(use-modules (guix utils) + (guix store) + (guix derivations)) + +(let ((builder ; add the Bash script to the store + (add-text-to-store store "my-builder.sh" + "echo hello world > $out\n" '()))) + (derivation store "foo" + bash `("-e" ,builder) + #:inputs `((,bash) (,builder)) + #:env-vars '(("HOME" . "/homeless")))) +@result{} # /gnu/store/@dots{}-foo> +@end lisp + +As can be guessed, this primitive is cumbersome to use directly. A better +approach is to write build scripts in Scheme, of course! The best course of +action for that is to write the build code as a ``G-expression'', and to +pass it to @code{gexp->derivation}. For more information, +@pxref{G-Ausdrücke}. + +Once upon a time, @code{gexp->derivation} did not exist and constructing +derivations with build code written in Scheme was achieved with +@code{build-expression->derivation}, documented below. This procedure is +now deprecated in favor of the much nicer @code{gexp->derivation}. + +@deffn {Scheme Procedure} build-expression->derivation @var{store} @ + @var{name} @var{exp} @ [#:system (%current-system)] [#:inputs '()] @ +[#:outputs '("out")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] +[#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] +[#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? +#f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that +executes Scheme expression @var{exp} as a builder for derivation +@var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} +tuples; when @var{sub-drv} is omitted, @code{"out"} is assumed. +@var{modules} is a list of names of Guile modules from the current search +path to be copied in the store, compiled, and made available in the load +path during the execution of @var{exp}---e.g., @code{((guix build utils) +(guix build gnu-build-system))}. + +@var{exp} is evaluated in an environment where @code{%outputs} is bound to a +list of output/path pairs, and where @code{%build-inputs} is bound to a list +of string/output-path pairs made from @var{inputs}. Optionally, +@var{env-vars} is a list of string pairs specifying the name and value of +environment variables visible to the builder. The builder terminates by +passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns +@code{#f}, the build is considered to have failed. + +@var{exp} is built using @var{guile-for-build} (a derivation). When +@var{guile-for-build} is omitted or is @code{#f}, the value of the +@code{%guile-for-build} fluid is used instead. + +See the @code{derivation} procedure for the meaning of +@var{references-graphs}, @var{allowed-references}, +@var{disallowed-references}, @var{local-build?}, and @var{substitutable?}. +@end deffn + +@noindent +Here's an example of a single-output derivation that creates a directory +containing one file: + +@lisp +(let ((builder '(let ((out (assoc-ref %outputs "out"))) + (mkdir out) ; create /gnu/store/@dots{}-goo + (call-with-output-file (string-append out "/test") + (lambda (p) + (display '(hello guix) p)))))) + (build-expression->derivation store "goo" builder)) + +@result{} # @dots{}> +@end lisp + + +@node Die Store-Monade +@section Die Store-Monade + +@cindex monad + +The procedures that operate on the store described in the previous sections +all take an open connection to the build daemon as their first argument. +Although the underlying model is functional, they either have side effects +or depend on the current state of the store. + +The former is inconvenient: the connection to the build daemon has to be +carried around in all those functions, making it impossible to compose +functions that do not take that parameter with functions that do. The +latter can be problematic: since store operations have side effects and/or +depend on external state, they have to be properly sequenced. + +@cindex monadic values +@cindex monadic functions +This is where the @code{(guix monads)} module comes in. This module +provides a framework for working with @dfn{monads}, and a particularly +useful monad for our uses, the @dfn{store monad}. Monads are a construct +that allows two things: associating ``context'' with values (in our case, +the context is the store), and building sequences of computations (here +computations include accesses to the store). Values in a monad---values +that carry this additional context---are called @dfn{monadic values}; +procedures that return such values are called @dfn{monadic procedures}. + +Consider this ``normal'' procedure: + +@example +(define (sh-symlink store) + ;; Return a derivation that symlinks the 'bash' executable. + (let* ((drv (package-derivation store bash)) + (out (derivation->output-path drv)) + (sh (string-append out "/bin/bash"))) + (build-expression->derivation store "sh" + `(symlink ,sh %output)))) +@end example + +Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a +monadic function: + +@example +(define (sh-symlink) + ;; Same, but return a monadic value. + (mlet %store-monad ((drv (package->derivation bash))) + (gexp->derivation "sh" + #~(symlink (string-append #$drv "/bin/bash") + #$output)))) +@end example + +There are several things to note in the second version: the @code{store} +parameter is now implicit and is ``threaded'' in the calls to the +@code{package->derivation} and @code{gexp->derivation} monadic procedures, +and the monadic value returned by @code{package->derivation} is @dfn{bound} +using @code{mlet} instead of plain @code{let}. + +As it turns out, the call to @code{package->derivation} can even be omitted +since it will take place implicitly, as we will see later +(@pxref{G-Ausdrücke}): + +@example +(define (sh-symlink) + (gexp->derivation "sh" + #~(symlink (string-append #$bash "/bin/bash") + #$output))) +@end example + +@c See +@c +@c for the funny quote. +Calling the monadic @code{sh-symlink} has no effect. As someone once said, +``you exit a monad like you exit a building on fire: by running''. So, to +exit the monad and get the desired effect, one must use +@code{run-with-store}: + +@example +(run-with-store (open-connection) (sh-symlink)) +@result{} /gnu/store/...-sh-symlink +@end example + +Note that the @code{(guix monad-repl)} module extends the Guile REPL with +new ``meta-commands'' to make it easier to deal with monadic procedures: +@code{run-in-store}, and @code{enter-store-monad}. The former is used to +``run'' a single monadic value through the store: + +@example +scheme@@(guile-user)> ,run-in-store (package->derivation hello) +$1 = # @dots{}> +@end example + +The latter enters a recursive REPL, where all the return values are +automatically run through the store: + +@example +scheme@@(guile-user)> ,enter-store-monad +store-monad@@(guile-user) [1]> (package->derivation hello) +$2 = # @dots{}> +store-monad@@(guile-user) [1]> (text-file "foo" "Hello!") +$3 = "/gnu/store/@dots{}-foo" +store-monad@@(guile-user) [1]> ,q +scheme@@(guile-user)> +@end example + +@noindent +Note that non-monadic values cannot be returned in the @code{store-monad} +REPL. + +The main syntactic forms to deal with monads in general are provided by the +@code{(guix monads)} module and are described below. + +@deffn {Scheme Syntax} with-monad @var{monad} @var{body} ... +Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in +@var{monad}. +@end deffn + +@deffn {Scheme Syntax} return @var{val} +Return a monadic value that encapsulates @var{val}. +@end deffn + +@deffn {Scheme Syntax} >>= @var{mval} @var{mproc} ... +@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic +procedures @var{mproc}@dots{}@footnote{This operation is commonly referred +to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus +we use this somewhat cryptic symbol inherited from the Haskell language.}. +There can be one @var{mproc} or several of them, as in this example: + +@example +(run-with-state + (with-monad %state-monad + (>>= (return 1) + (lambda (x) (return (+ 1 x))) + (lambda (x) (return (* 2 x))))) + 'some-state) + +@result{} 4 +@result{} some-state +@end example +@end deffn + +@deffn {Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @ + @var{body} ... +@deffnx {Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @ + @var{body} ... Bind the variables @var{var} to the monadic values +@var{mval} in @var{body}, which is a sequence of expressions. As with the +bind operator, this can be thought of as ``unpacking'' the raw, non-monadic +value ``contained'' in @var{mval} and making @var{var} refer to that raw, +non-monadic value within the scope of the @var{body}. The form (@var{var} +-> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per +@code{let}. The binding operations occur in sequence from left to right. +The last expression of @var{body} must be a monadic expression, and its +result will become the result of the @code{mlet} or @code{mlet*} when run in +the @var{monad}. + +@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} +(@pxref{Local Bindings,,, guile, GNU Guile Reference Manual}). +@end deffn + +@deffn {Scheme System} mbegin @var{monad} @var{mexp} ... +Bind @var{mexp} and the following monadic expressions in sequence, returning +the result of the last expression. Every expression in the sequence must be +a monadic expression. + +This is akin to @code{mlet}, except that the return values of the monadic +expressions are ignored. In that sense, it is analogous to @code{begin}, +but applied to monadic expressions. +@end deffn + +@deffn {Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ... +When @var{condition} is true, evaluate the sequence of monadic expressions +@var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is +false, return @code{*unspecified*} in the current monad. Every expression +in the sequence must be a monadic expression. +@end deffn + +@deffn {Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ... +When @var{condition} is false, evaluate the sequence of monadic expressions +@var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is +true, return @code{*unspecified*} in the current monad. Every expression in +the sequence must be a monadic expression. +@end deffn + +@cindex state monad +The @code{(guix monads)} module provides the @dfn{state monad}, which allows +an additional value---the state---to be @emph{threaded} through monadic +procedure calls. + +@defvr {Scheme Variable} %state-monad +The state monad. Procedures in the state monad can access and change the +state that is threaded. + +Consider the example below. The @code{square} procedure returns a value in +the state monad. It returns the square of its argument, but also increments +the current state value: + +@example +(define (square x) + (mlet %state-monad ((count (current-state))) + (mbegin %state-monad + (set-current-state (+ 1 count)) + (return (* x x))))) + +(run-with-state (sequence %state-monad (map square (iota 3))) 0) +@result{} (0 1 4) +@result{} 3 +@end example + +When ``run'' through @var{%state-monad}, we obtain that additional state +value, which is the number of @code{square} calls. +@end defvr + +@deffn {Monadic Procedure} current-state +Return the current state as a monadic value. +@end deffn + +@deffn {Monadic Procedure} set-current-state @var{value} +Set the current state to @var{value} and return the previous state as a +monadic value. +@end deffn + +@deffn {Monadic Procedure} state-push @var{value} +Push @var{value} to the current state, which is assumed to be a list, and +return the previous state as a monadic value. +@end deffn + +@deffn {Monadic Procedure} state-pop +Pop a value from the current state and return it as a monadic value. The +state is assumed to be a list. +@end deffn + +@deffn {Scheme Procedure} run-with-state @var{mval} [@var{state}] +Run monadic value @var{mval} starting with @var{state} as the initial +state. Return two values: the resulting value, and the resulting state. +@end deffn + +The main interface to the store monad, provided by the @code{(guix store)} +module, is as follows. + +@defvr {Scheme Variable} %store-monad +The store monad---an alias for @var{%state-monad}. + +Values in the store monad encapsulate accesses to the store. When its +effect is needed, a value of the store monad must be ``evaluated'' by +passing it to the @code{run-with-store} procedure (see below.) +@end defvr + +@deffn {Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)] +Run @var{mval}, a monadic value in the store monad, in @var{store}, an open +store connection. +@end deffn + +@deffn {Monadic Procedure} text-file @var{name} @var{text} [@var{references}] +Return as a monadic value the absolute file name in the store of the file +containing @var{text}, a string. @var{references} is a list of store items +that the resulting text file refers to; it defaults to the empty list. +@end deffn + +@deffn {Monadic Procedure} binary-file @var{name} @var{data} [@var{references}] +Return as a monadic value the absolute file name in the store of the file +containing @var{data}, a bytevector. @var{references} is a list of store +items that the resulting binary file refers to; it defaults to the empty +list. +@end deffn + +@deffn {Monadic Procedure} interned-file @var{file} [@var{name}] @ + [#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once +interned in the store. Use @var{name} as its store name, or the basename of +@var{file} if @var{name} is omitted. + +When @var{recursive?} is true, the contents of @var{file} are added +recursively; if @var{file} designates a flat file and @var{recursive?} is +true, its contents are added, and its permission bits are kept. + +When @var{recursive?} is true, call @code{(@var{select?} @var{file} +@var{stat})} for each directory entry, where @var{file} is the entry's +absolute file name and @var{stat} is the result of @code{lstat}; exclude +entries for which @var{select?} does not return true. + +The example below adds a file to the store, under two different names: + +@example +(run-with-store (open-connection) + (mlet %store-monad ((a (interned-file "README")) + (b (interned-file "README" "LEGU-MIN"))) + (return (list a b)))) + +@result{} ("/gnu/store/rwm@dots{}-README" "/gnu/store/44i@dots{}-LEGU-MIN") +@end example + +@end deffn + +The @code{(guix packages)} module exports the following package-related +monadic procedures: + +@deffn {Monadic Procedure} package-file @var{package} [@var{file}] @ + [#:system (%current-system)] [#:target #f] @ [#:output "out"] Return as a +monadic value in the absolute file name of @var{file} within the +@var{output} directory of @var{package}. When @var{file} is omitted, return +the name of the @var{output} directory of @var{package}. When @var{target} +is true, use it as a cross-compilation target triplet. +@end deffn + +@deffn {Monadic Procedure} package->derivation @var{package} [@var{system}] +@deffnx {Monadic Procedure} package->cross-derivation @var{package} @ + @var{target} [@var{system}] Monadic version of @code{package-derivation} and +@code{package-cross-derivation} (@pxref{Pakete definieren}). +@end deffn + + +@node G-Ausdrücke +@section G-Ausdrücke + +@cindex G-expression +@cindex build code quoting +So we have ``derivations'', which represent a sequence of build actions to +be performed to produce an item in the store (@pxref{Ableitungen}). These +build actions are performed when asking the daemon to actually build the +derivations; they are run by the daemon in a container (@pxref{Aufruf des guix-daemon}). + +@cindex strata of code +It should come as no surprise that we like to write these build actions in +Scheme. When we do that, we end up with two @dfn{strata} of Scheme +code@footnote{The term @dfn{stratum} in this context was coined by Manuel +Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who +has written insightful +@url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on +this topic}, refers to this kind of code generation as @dfn{staging}.}: the +``host code''---code that defines packages, talks to the daemon, etc.---and +the ``build code''---code that actually performs build actions, such as +making directories, invoking @command{make}, etc. + +To describe a derivation and its build actions, one typically needs to embed +build code inside host code. It boils down to manipulating build code as +data, and the homoiconicity of Scheme---code has a direct representation as +data---comes in handy for that. But we need more than the normal +@code{quasiquote} mechanism in Scheme to construct build expressions. + +The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of +S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, +consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, +and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and +@code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and +@code{unquote-splicing}, respectively (@pxref{Expression Syntax, +@code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are +major differences: + +@itemize +@item +Gexps are meant to be written to a file and run or manipulated by other +processes. + +@item +When a high-level object such as a package or derivation is unquoted inside +a gexp, the result is as if its output file name had been introduced. + +@item +Gexps carry information about the packages or derivations they refer to, and +these dependencies are automatically added as inputs to the build processes +that use them. +@end itemize + +@cindex lowering, of high-level objects in gexps +This mechanism is not limited to package and derivation objects: +@dfn{compilers} able to ``lower'' other high-level objects to derivations or +files in the store can be defined, such that these objects can also be +inserted into gexps. For example, a useful type of high-level objects that +can be inserted in a gexp is ``file-like objects'', which make it easy to +add files to the store and to refer to them in derivations and such (see +@code{local-file} and @code{plain-file} below.) + +To illustrate the idea, here is an example of a gexp: + +@example +(define build-exp + #~(begin + (mkdir #$output) + (chdir #$output) + (symlink (string-append #$coreutils "/bin/ls") + "list-files"))) +@end example + +This gexp can be passed to @code{gexp->derivation}; we obtain a derivation +that builds a directory containing exactly one symlink to +@file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}: + +@example +(gexp->derivation "the-thing" build-exp) +@end example + +As one would expect, the @code{"/gnu/store/@dots{}-coreutils-8.22"} string +is substituted to the reference to the @var{coreutils} package in the actual +build code, and @var{coreutils} is automatically made an input to the +derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp +output)}) is replaced by a string containing the directory name of the +output of the derivation. + +@cindex cross compilation +In a cross-compilation context, it is useful to distinguish between +references to the @emph{native} build of a package---that can run on the +host---versus references to cross builds of a package. To that end, the +@code{#+} plays the same role as @code{#$}, but is a reference to a native +package build: + +@example +(gexp->derivation "vi" + #~(begin + (mkdir #$output) + (system* (string-append #+coreutils "/bin/ln") + "-s" + (string-append #$emacs "/bin/emacs") + (string-append #$output "/bin/vi"))) + #:target "mips64el-linux-gnu") +@end example + +@noindent +In the example above, the native build of @var{coreutils} is used, so that +@command{ln} can actually run on the host; but then the cross-compiled build +of @var{emacs} is referenced. + +@cindex imported modules, for gexps +@findex with-imported-modules +Another gexp feature is @dfn{imported modules}: sometimes you want to be +able to use certain Guile modules from the ``host environment'' in the gexp, +so those modules should be imported in the ``build environment''. The +@code{with-imported-modules} form allows you to express that: + +@example +(let ((build (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + (mkdir-p (string-append #$output "/bin")))))) + (gexp->derivation "empty-dir" + #~(begin + #$build + (display "success!\n") + #t))) +@end example + +@noindent +In this example, the @code{(guix build utils)} module is automatically +pulled into the isolated build environment of our gexp, such that +@code{(use-modules (guix build utils))} works as expected. + +@cindex module closure +@findex source-module-closure +Usually you want the @emph{closure} of the module to be imported---i.e., the +module itself and all the modules it depends on---rather than just the +module; failing to do that, attempts to use the module will fail because of +missing dependent modules. The @code{source-module-closure} procedure +computes the closure of a module by looking at its source file headers, +which comes in handy in this case: + +@example +(use-modules (guix modules)) ;for 'source-module-closure' + +(with-imported-modules (source-module-closure + '((guix build utils) + (gnu build vm))) + (gexp->derivation "something-with-vms" + #~(begin + (use-modules (guix build utils) + (gnu build vm)) + @dots{}))) +@end example + +@cindex extensions, for gexps +@findex with-extensions +In the same vein, sometimes you want to import not just pure-Scheme modules, +but also ``extensions'' such as Guile bindings to C libraries or other +``full-blown'' packages. Say you need the @code{guile-json} package +available on the build side, here's how you would do it: + +@example +(use-modules (gnu packages guile)) ;for 'guile-json' + +(with-extensions (list guile-json) + (gexp->derivation "something-with-json" + #~(begin + (use-modules (json)) + @dots{}))) +@end example + +The syntactic form to construct gexps is summarized below. + +@deffn {Scheme Syntax} #~@var{exp} +@deffnx {Scheme Syntax} (gexp @var{exp}) +Return a G-expression containing @var{exp}. @var{exp} may contain one or +more of the following forms: + +@table @code +@item #$@var{obj} +@itemx (ungexp @var{obj}) +Introduce a reference to @var{obj}. @var{obj} may have one of the supported +types, for example a package or a derivation, in which case the +@code{ungexp} form is replaced by its output file name---e.g., +@code{"/gnu/store/@dots{}-coreutils-8.22}. + +If @var{obj} is a list, it is traversed and references to supported objects +are substituted similarly. + +If @var{obj} is another gexp, its contents are inserted and its dependencies +are added to those of the containing gexp. + +If @var{obj} is another kind of object, it is inserted as is. + +@item #$@var{obj}:@var{output} +@itemx (ungexp @var{obj} @var{output}) +This is like the form above, but referring explicitly to the @var{output} of +@var{obj}---this is useful when @var{obj} produces multiple outputs +(@pxref{Pakete mit mehreren Ausgaben.}). + +@item #+@var{obj} +@itemx #+@var{obj}:output +@itemx (ungexp-native @var{obj}) +@itemx (ungexp-native @var{obj} @var{output}) +Same as @code{ungexp}, but produces a reference to the @emph{native} build +of @var{obj} when used in a cross compilation context. + +@item #$output[:@var{output}] +@itemx (ungexp output [@var{output}]) +Insert a reference to derivation output @var{output}, or to the main output +when @var{output} is omitted. + +This only makes sense for gexps passed to @code{gexp->derivation}. + +@item #$@@@var{lst} +@itemx (ungexp-splicing @var{lst}) +Like the above, but splices the contents of @var{lst} inside the containing +list. + +@item #+@@@var{lst} +@itemx (ungexp-native-splicing @var{lst}) +Like the above, but refers to native builds of the objects listed in +@var{lst}. + +@end table + +G-expressions created by @code{gexp} or @code{#~} are run-time objects of +the @code{gexp?} type (see below.) +@end deffn + +@deffn {Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{} +Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in +their execution environment. + +Each item in @var{modules} can be the name of a module, such as @code{(guix +build utils)}, or it can be a module name, followed by an arrow, followed by +a file-like object: + +@example +`((guix build utils) + (guix gcrypt) + ((guix config) => ,(scheme-file "config.scm" + #~(define-module @dots{})))) +@end example + +@noindent +In the example above, the first two modules are taken from the search path, +and the last one is created from the given file-like object. + +This form has @emph{lexical} scope: it has an effect on the gexps directly +defined in @var{body}@dots{}, but not on those defined, say, in procedures +called from @var{body}@dots{}. +@end deffn + +@deffn {Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{} +Mark the gexps defined in @var{body}@dots{} as requiring @var{extensions} in +their build and execution environment. @var{extensions} is typically a list +of package objects such as those defined in the @code{(gnu packages guile)} +module. + +Concretely, the packages listed in @var{extensions} are added to the load +path while compiling imported modules in @var{body}@dots{}; they are also +added to the load path of the gexp returned by @var{body}@dots{}. +@end deffn + +@deffn {Scheme Procedure} gexp? @var{obj} +Return @code{#t} if @var{obj} is a G-expression. +@end deffn + +G-expressions are meant to be written to disk, either as code building some +derivation, or as plain files in the store. The monadic procedures below +allow you to do that (@pxref{Die Store-Monade}, for more information about +monads.) + +@deffn {Monadic Procedure} gexp->derivation @var{name} @var{exp} @ + [#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] +[#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ +[#:module-path @var{%load-path}] @ [#:effective-version "2.2"] @ +[#:references-graphs #f] [#:allowed-references #f] @ +[#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name +(string-append @var{name} "-builder")] @ [#:deprecation-warnings #f] @ +[#:local-build? #f] [#:substitutable? #t] @ [#:properties '()] +[#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a +gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} +is stored in a file called @var{script-name}. When @var{target} is true, it +is used as the cross-compilation target triplet for packages referred to by +@var{exp}. + +@var{modules} is deprecated in favor of @code{with-imported-modules}. Its +meaning is to make @var{modules} available in the evaluation context of +@var{exp}; @var{modules} is a list of names of Guile modules searched in +@var{module-path} to be copied in the store, compiled, and made available in +the load path during the execution of @var{exp}---e.g., @code{((guix build +utils) (guix build gnu-build-system))}. + +@var{effective-version} determines the string to use when adding extensions +of @var{exp} (see @code{with-extensions}) to the search path---e.g., +@code{"2.2"}. + +@var{graft?} determines whether packages referred to by @var{exp} should be +grafted when applicable. + +When @var{references-graphs} is true, it must be a list of tuples of one of +the following forms: + +@example +(@var{file-name} @var{package}) +(@var{file-name} @var{package} @var{output}) +(@var{file-name} @var{derivation}) +(@var{file-name} @var{derivation} @var{output}) +(@var{file-name} @var{store-item}) +@end example + +The right-hand-side of each element of @var{references-graphs} is +automatically made an input of the build process of @var{exp}. In the build +environment, each @var{file-name} contains the reference graph of the +corresponding item, in a simple text format. + +@var{allowed-references} must be either @code{#f} or a list of output names +and packages. In the latter case, the list denotes store items that the +result is allowed to refer to. Any reference to another store item will +lead to a build error. Similarly for @var{disallowed-references}, which can +list items that must not be referenced by the outputs. + +@var{deprecation-warnings} determines whether to show deprecation warnings +while compiling modules. It can be @code{#f}, @code{#t}, or +@code{'detailed}. + +The other arguments are as for @code{derivation} (@pxref{Ableitungen}). +@end deffn + +@cindex file-like objects +The @code{local-file}, @code{plain-file}, @code{computed-file}, +@code{program-file}, and @code{scheme-file} procedures below return +@dfn{file-like objects}. That is, when unquoted in a G-expression, these +objects lead to a file in the store. Consider this G-expression: + +@example +#~(system* #$(file-append glibc "/sbin/nscd") "-f" + #$(local-file "/tmp/my-nscd.conf")) +@end example + +The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to +the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the +G-expression refers to that copy under @file{/gnu/store}; thus, modifying or +removing the file in @file{/tmp} does not have any effect on what the +G-expression does. @code{plain-file} can be used similarly; it differs in +that the file content is directly passed as a string. + +@deffn {Scheme Procedure} local-file @var{file} [@var{name}] @ + [#:recursive? #f] [#:select? (const #t)] Return an object representing local +file @var{file} to add to the store; this object can be used in a gexp. If +@var{file} is a relative file name, it is looked up relative to the source +file where this form appears. @var{file} will be added to the store under +@var{name}--by default the base name of @var{file}. + +When @var{recursive?} is true, the contents of @var{file} are added +recursively; if @var{file} designates a flat file and @var{recursive?} is +true, its contents are added, and its permission bits are kept. + +When @var{recursive?} is true, call @code{(@var{select?} @var{file} +@var{stat})} for each directory entry, where @var{file} is the entry's +absolute file name and @var{stat} is the result of @code{lstat}; exclude +entries for which @var{select?} does not return true. + +This is the declarative counterpart of the @code{interned-file} monadic +procedure (@pxref{Die Store-Monade, @code{interned-file}}). +@end deffn + +@deffn {Scheme Procedure} plain-file @var{name} @var{content} +Return an object representing a text file called @var{name} with the given +@var{content} (a string or a bytevector) to be added to the store. + +This is the declarative counterpart of @code{text-file}. +@end deffn + +@deffn {Scheme Procedure} computed-file @var{name} @var{gexp} @ + [#:options '(#:local-build? #t)] Return an object representing the store +item @var{name}, a file or directory computed by @var{gexp}. @var{options} +is a list of additional arguments to pass to @code{gexp->derivation}. + +This is the declarative counterpart of @code{gexp->derivation}. +@end deffn + +@deffn {Monadic Procedure} gexp->script @var{name} @var{exp} @ + [#:guile (default-guile)] [#:module-path %load-path] Return an executable +script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s +imported modules in its search path. Look up @var{exp}'s modules in +@var{module-path}. + +The example below builds a script that simply invokes the @command{ls} +command: + +@example +(use-modules (guix gexp) (gnu packages base)) + +(gexp->script "list-files" + #~(execl #$(file-append coreutils "/bin/ls") + "ls")) +@end example + +When ``running'' it through the store (@pxref{Die Store-Monade, +@code{run-with-store}}), we obtain a derivation that produces an executable +file @file{/gnu/store/@dots{}-list-files} along these lines: + +@example +#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds +!# +(execl "/gnu/store/@dots{}-coreutils-8.22"/bin/ls" "ls") +@end example +@end deffn + +@deffn {Scheme Procedure} program-file @var{name} @var{exp} @ + [#:guile #f] [#:module-path %load-path] Return an object representing the +executable store item @var{name} that runs @var{gexp}. @var{guile} is the +Guile package used to execute that script. Imported modules of @var{gexp} +are looked up in @var{module-path}. + +This is the declarative counterpart of @code{gexp->script}. +@end deffn + +@deffn {Monadic Procedure} gexp->file @var{name} @var{exp} @ + [#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile +(default-guile)] Return a derivation that builds a file @var{name} +containing @var{exp}. When @var{splice?} is true, @var{exp} is considered +to be a list of expressions that will be spliced in the resulting file. + +When @var{set-load-path?} is true, emit code in the resulting file to set +@code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s +imported modules. Look up @var{exp}'s modules in @var{module-path}. + +The resulting file holds references to all the dependencies of @var{exp} or +a subset thereof. +@end deffn + +@deffn {Scheme Procedure} scheme-file @var{name} @var{exp} [#:splice? #f] +Return an object representing the Scheme file @var{name} that contains +@var{exp}. + +This is the declarative counterpart of @code{gexp->file}. +@end deffn + +@deffn {Monadic Procedure} text-file* @var{name} @var{text} @dots{} +Return as a monadic value a derivation that builds a text file containing +all of @var{text}. @var{text} may list, in addition to strings, objects of +any type that can be used in a gexp: packages, derivations, local file +objects, etc. The resulting store file holds references to all these. + +This variant should be preferred over @code{text-file} anytime the file to +create will reference items from the store. This is typically the case when +building a configuration file that embeds store file names, like this: + +@example +(define (profile.sh) + ;; Return the name of a shell script in the store that + ;; initializes the 'PATH' environment variable. + (text-file* "profile.sh" + "export PATH=" coreutils "/bin:" + grep "/bin:" sed "/bin\n")) +@end example + +In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file +will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby +preventing them from being garbage-collected during its lifetime. +@end deffn + +@deffn {Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{} +Return an object representing store file @var{name} containing @var{text}. +@var{text} is a sequence of strings and file-like objects, as in: + +@example +(mixed-text-file "profile" + "export PATH=" coreutils "/bin:" grep "/bin") +@end example + +This is the declarative counterpart of @code{text-file*}. +@end deffn + +@deffn {Scheme Procedure} file-union @var{name} @var{files} +Return a @code{} that builds a directory containing all of +@var{files}. Each item in @var{files} must be a two-element list where the +first element is the file name to use in the new directory, and the second +element is a gexp denoting the target file. Here's an example: + +@example +(file-union "etc" + `(("hosts" ,(plain-file "hosts" + "127.0.0.1 localhost")) + ("bashrc" ,(plain-file "bashrc" + "alias ls='ls --color=auto'")))) +@end example + +This yields an @code{etc} directory containing these two files. +@end deffn + +@deffn {Scheme Procedure} directory-union @var{name} @var{things} +Return a directory that is the union of @var{things}, where @var{things} is +a list of file-like objects denoting directories. For example: + +@example +(directory-union "guile+emacs" (list guile emacs)) +@end example + +yields a directory that is the union of the @code{guile} and @code{emacs} +packages. +@end deffn + +@deffn {Scheme Procedure} file-append @var{obj} @var{suffix} @dots{} +Return a file-like object that expands to the concatenation of @var{obj} and +@var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is +a string. + +As an example, consider this gexp: + +@example +(gexp->script "run-uname" + #~(system* #$(file-append coreutils + "/bin/uname"))) +@end example + +The same effect could be achieved with: + +@example +(gexp->script "run-uname" + #~(system* (string-append #$coreutils + "/bin/uname"))) +@end example + +There is one difference though: in the @code{file-append} case, the +resulting script contains the absolute file name as a string, whereas in the +second case, the resulting script contains a @code{(string-append @dots{})} +expression to construct the file name @emph{at run time}. +@end deffn + + +Of course, in addition to gexps embedded in ``host'' code, there are also +modules containing build tools. To make it clear that they are meant to be +used in the build stratum, these modules are kept in the @code{(guix build +@dots{})} name space. + +@cindex lowering, of high-level objects in gexps +Internally, high-level objects are @dfn{lowered}, using their compiler, to +either derivations or store items. For instance, lowering a package yields +a derivation, and lowering a @code{plain-file} yields a store item. This is +achieved using the @code{lower-object} monadic procedure. + +@deffn {Monadic Procedure} lower-object @var{obj} [@var{system}] @ + [#:target #f] Return as a value in @var{%store-monad} the derivation or +store item corresponding to @var{obj} for @var{system}, cross-compiling for +@var{target} if @var{target} is true. @var{obj} must be an object that has +an associated gexp compiler, such as a @code{}. +@end deffn + +@node Invoking guix repl +@section Invoking @command{guix repl} + +@cindex REPL, read-eval-print loop +The @command{guix repl} command spawns a Guile @dfn{read-eval-print loop} +(REPL) for interactive programming (@pxref{Using Guile Interactively,,, +guile, GNU Guile Reference Manual}). Compared to just launching the +@command{guile} command, @command{guix repl} guarantees that all the Guix +modules and all its dependencies are available in the search path. You can +use it this way: + +@example +$ guix repl +scheme@@(guile-user)> ,use (gnu packages base) +scheme@@(guile-user)> coreutils +$1 = # +@end example + +@cindex inferiors +In addition, @command{guix repl} implements a simple machine-readable REPL +protocol for use by @code{(guix inferior)}, a facility to interact with +@dfn{inferiors}, separate processes running a potentially different revision +of Guix. + +The available options are as follows: + +@table @code +@item --type=@var{type} +@itemx -t @var{type} +Start a REPL of the given @var{TYPE}, which can be one of the following: + +@table @code +@item guile +This is default, and it spawns a standard full-featured Guile REPL. +@item machine +Spawn a REPL that uses the machine-readable protocol. This is the protocol +that the @code{(guix inferior)} module speaks. +@end table + +@item --listen=@var{Endpunkt} +By default, @command{guix repl} reads from standard input and writes to +standard output. When this option is passed, it will instead listen for +connections on @var{endpoint}. Here are examples of valid options: + +@table @code +@item --listen=tcp:37146 +Accept connections on localhost on port 37146. + +@item --listen=unix:/tmp/socket +Accept connections on the Unix-domain socket @file{/tmp/socket}. +@end table +@end table + +@c ********************************************************************* +@node Zubehör +@chapter Zubehör + +This section describes Guix command-line utilities. Some of them are +primarily targeted at developers and users who write new package +definitions, while others are more generally useful. They complement the +Scheme programming interface of Guix in a convenient way. + +@menu +* Aufruf von guix build:: Pakete aus der Befehlszeile heraus erstellen. +* Aufruf von guix edit:: Paketdefinitionen bearbeiten. +* Aufruf von guix download:: Herunterladen einer Datei und Ausgabe ihres + Hashes. +* Aufruf von guix hash:: Den kryptographischen Hash einer Datei + berechnen. +* Aufruf von guix import:: Paketdefinitionen importieren. +* Aufruf von guix refresh:: Paketdefinitionen aktualisieren. +* Aufruf von guix lint:: Fehler in Paketdefinitionen finden. +* Aufruf von guix size:: Plattenverbrauch profilieren. +* Aufruf von guix graph:: Den Paketgraphen visualisieren. +* Aufruf von guix environment:: Entwicklungsumgebungen einrichten. +* Aufruf von guix publish:: Substitute teilen. +* Aufruf von guix challenge:: Die Substitut-Server anfechten. +* Aufruf von guix copy:: Mit einem entfernten Store Dateien austauschen. +* Aufruf von guix container:: Prozesse isolieren. +* Aufruf von guix weather:: Die Verfügbarkeit von Substituten + einschätzen. +* Invoking guix processes:: Listing client processes. +@end menu + +@node Aufruf von guix build +@section Aufruf von @command{guix build} + +@cindex package building +@cindex @command{guix build} +The @command{guix build} command builds packages or derivations and their +dependencies, and prints the resulting store paths. Note that it does not +modify the user's profile---this is the job of the @command{guix package} +command (@pxref{Aufruf von guix package}). Thus, it is mainly useful for +distribution developers. + +The general syntax is: + +@example +guix build @var{options} @var{package-or-derivation}@dots{} +@end example + +As an example, the following command builds the latest versions of Emacs and +of Guile, displays their build logs, and finally displays the resulting +directories: + +@example +guix build emacs guile +@end example + +Similarly, the following command builds all the available packages: + +@example +guix build --quiet --keep-going \ + `guix package -A | cut -f1,2 --output-delimiter=@@` +@end example + +@var{package-or-derivation} may be either the name of a package found in the +software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or +a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the +former case, a package with the corresponding name (and optionally version) +is searched for among the GNU distribution modules (@pxref{Paketmodule}). + +Alternatively, the @code{--expression} option may be used to specify a +Scheme expression that evaluates to a package; this is useful when +disambiguating among several same-named packages or package variants is +needed. + +There may be zero or more @var{options}. The available options are +described in the subsections below. + +@menu +* Gemeinsame Erstellungsoptionen:: Erstellungsoptionen für die meisten + Befehle. +* Paketumwandlungsoptionen:: Varianten von Paketen erzeugen. +* Zusätzliche Erstellungsoptionen:: Optionen spezifisch für »guix + build«. +* Fehlschläge beim Erstellen untersuchen:: Praxiserfahrung bei der + Paketerstellung. +@end menu + +@node Gemeinsame Erstellungsoptionen +@subsection Gemeinsame Erstellungsoptionen + +A number of options that control the build process are common to +@command{guix build} and other commands that can spawn builds, such as +@command{guix package} or @command{guix archive}. These are the following: + +@table @code + +@item --load-path=@var{directory} +@itemx -L @var{directory} +Add @var{directory} to the front of the package module search path +(@pxref{Paketmodule}). + +This allows users to define their own packages and make them visible to the +command-line tools. + +@item --keep-failed +@itemx -K +Keep the build tree of failed builds. Thus, if a build fails, its build +tree is kept under @file{/tmp}, in a directory whose name is shown at the +end of the build log. This is useful when debugging build issues. +@xref{Fehlschläge beim Erstellen untersuchen}, for tips and tricks on how to debug build +issues. + +This option has no effect when connecting to a remote daemon with a +@code{guix://} URI (@pxref{Der Store, the @code{GUIX_DAEMON_SOCKET} +variable}). + +@item --keep-going +@itemx -k +Keep going when some of the derivations fail to build; return only once all +the builds have either completed or failed. + +The default behavior is to stop as soon as one of the specified derivations +has failed. + +@item --dry-run +@itemx -n +Do not build the derivations. + +@anchor{fallback-option} +@item --fallback +When substituting a pre-built binary fails, fall back to building packages +locally (@pxref{Fehler bei der Substitution}). + +@item --substitute-urls=@var{URLs} +@anchor{client-substitute-urls} +Consider @var{urls} the whitespace-separated list of substitute source URLs, +overriding the default list of URLs of @command{guix-daemon} +(@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs}). + +This means that substitutes may be downloaded from @var{urls}, provided they +are signed by a key authorized by the system administrator +(@pxref{Substitute}). + +When @var{urls} is the empty string, substitutes are effectively disabled. + +@item --no-substitutes +Benutze keine Substitute für Erstellungsergebnisse. Das heißt, dass alle +Objekte lokal erstellt werden müssen, und kein Herunterladen von vorab +erstellten Binärdateien erlaubt ist (@pxref{Substitute}). + +@item --no-grafts +Do not ``graft'' packages. In practice, this means that package updates +available as grafts are not applied. @xref{Sicherheitsaktualisierungen}, for more +information on grafts. + +@item --rounds=@var{n} +Build each derivation @var{n} times in a row, and raise an error if +consecutive build results are not bit-for-bit identical. + +This is a useful way to detect non-deterministic builds processes. +Non-deterministic build processes are a problem because they make it +practically impossible for users to @emph{verify} whether third-party +binaries are genuine. @xref{Aufruf von guix challenge}, for more. + +Note that, currently, the differing build results are not kept around, so +you will have to manually investigate in case of an error---e.g., by +stashing one of the build results with @code{guix archive --export} +(@pxref{Aufruf von guix archive}), then rebuilding, and finally comparing the +two results. + +@item --no-build-hook +Nicht versuchen, Erstellungen über den »Build-Hook« des Daemons auszulagern +(@pxref{Auslagern des Daemons einrichten}). Somit wird lokal erstellt, statt +Erstellungen auf entfernte Maschinen auszulagern. + +@item --max-silent-time=@var{Sekunden} +Wenn der Erstellungs- oder Substitutionsprozess länger als +@var{Sekunden}-lang keine Ausgabe erzeugt, wird er abgebrochen und ein +Fehler beim Erstellen gemeldet. + +By default, the daemon's setting is honored (@pxref{Aufruf des guix-daemon, +@code{--max-silent-time}}). + +@item --timeout=@var{Sekunden} +Entsprechend wird hier der Erstellungs- oder Substitutionsprozess +abgebrochen und als Fehlschlag gemeldet, wenn er mehr als +@var{Sekunden}-lang dauert. + +By default, the daemon's setting is honored (@pxref{Aufruf des guix-daemon, +@code{--timeout}}). + +@item --verbosity=@var{level} +Use the given verbosity level. @var{level} must be an integer between 0 and +5; higher means more verbose output. Setting a level of 4 or more may be +helpful when debugging setup issues with the build daemon. + +@item --cores=@var{n} +@itemx -c @var{n} +Allow the use of up to @var{n} CPU cores for the build. The special value +@code{0} means to use as many CPU cores as available. + +@item --max-jobs=@var{n} +@itemx -M @var{n} +Allow at most @var{n} build jobs in parallel. @xref{Aufruf des guix-daemon, +@code{--max-jobs}}, for details about this option and the equivalent +@command{guix-daemon} option. + +@end table + +Behind the scenes, @command{guix build} is essentially an interface to the +@code{package-derivation} procedure of the @code{(guix packages)} module, +and to the @code{build-derivations} procedure of the @code{(guix +derivations)} module. + +In addition to options explicitly passed on the command line, @command{guix +build} and other @command{guix} commands that support building honor the +@code{GUIX_BUILD_OPTIONS} environment variable. + +@defvr {Environment Variable} GUIX_BUILD_OPTIONS +Users can define this variable to a list of command line options that will +automatically be used by @command{guix build} and other @command{guix} +commands that can perform builds, as in the example below: + +@example +$ export GUIX_BUILD_OPTIONS="--no-substitutes -c 2 -L /foo/bar" +@end example + +These options are parsed independently, and the result is appended to the +parsed command-line options. +@end defvr + + +@node Paketumwandlungsoptionen +@subsection Paketumwandlungsoptionen + +@cindex package variants +Another set of command-line options supported by @command{guix build} and +also @command{guix package} are @dfn{package transformation options}. These +are options that make it possible to define @dfn{package variants}---for +instance, packages built from different source code. This is a convenient +way to create customized packages on the fly without having to type in the +definitions of package variants (@pxref{Pakete definieren}). + +@table @code + +@item --with-source=@var{source} +@itemx --with-source=@var{package}=@var{source} +@itemx --with-source=@var{package}@@@var{version}=@var{source} +Use @var{source} as the source of @var{package}, and @var{version} as its +version number. @var{source} must be a file name or a URL, as for +@command{guix download} (@pxref{Aufruf von guix download}). + +When @var{package} is omitted, it is taken to be the package name specified +on the command line that matches the base of @var{source}---e.g., if +@var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package +is @code{guile}. + +Likewise, when @var{version} is omitted, the version string is inferred from +@var{source}; in the previous example, it is @code{2.0.10}. + +This option allows users to try out versions of packages other than the one +provided by the distribution. The example below downloads +@file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the +@code{ed} package: + +@example +guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz +@end example + +As a developer, @code{--with-source} makes it easy to test release +candidates: + +@example +guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz +@end example + +@dots{} or to build from a checkout in a pristine environment: + +@example +$ git clone git://git.sv.gnu.org/guix.git +$ guix build guix --with-source=guix@@1.0=./guix +@end example + +@item --with-input=@var{package}=@var{replacement} +Replace dependency on @var{package} by a dependency on @var{replacement}. +@var{package} must be a package name, and @var{replacement} must be a +package specification such as @code{guile} or @code{guile@@1.8}. + +For instance, the following command builds Guix, but replaces its dependency +on the current stable version of Guile with a dependency on the legacy +version of Guile, @code{guile@@2.0}: + +@example +guix build --with-input=guile=guile@@2.0 guix +@end example + +This is a recursive, deep replacement. So in this example, both @code{guix} +and its dependency @code{guile-json} (which also depends on @code{guile}) +get rebuilt against @code{guile@@2.0}. + +This is implemented using the @code{package-input-rewriting} Scheme +procedure (@pxref{Pakete definieren, @code{package-input-rewriting}}). + +@item --with-graft=@var{package}=@var{replacement} +This is similar to @code{--with-input} but with an important difference: +instead of rebuilding the whole dependency chain, @var{replacement} is built +and then @dfn{grafted} onto the binaries that were initially referring to +@var{package}. @xref{Sicherheitsaktualisierungen}, for more information on grafts. + +For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and +all its dependencies, replacing references to the version of GnuTLS they +currently refer to: + +@example +guix build --with-graft=gnutls=gnutls@@3.5.4 wget +@end example + +This has the advantage of being much faster than rebuilding everything. But +there is a caveat: it works if and only if @var{package} and +@var{replacement} are strictly compatible---for example, if they provide a +library, the application binary interface (ABI) of those libraries must be +compatible. If @var{replacement} is somehow incompatible with +@var{package}, then the resulting package may be unusable. Use with care! + +@item --with-branch=@var{package}=@var{branch} +@cindex Git, using the latest commit +@cindex latest commit, building +Build @var{package} from the latest commit of @var{branch}. The +@code{source} field of @var{package} must be an origin with the +@code{git-fetch} method (@pxref{„origin“-Referenz}) or a @code{git-checkout} +object; the repository URL is taken from that @code{source}. + +For instance, the following command builds @code{guile-sqlite3} from the +latest commit of its @code{master} branch, and then builds @code{guix} +(which depends on it) and @code{cuirass} (which depends on @code{guix}) +against this specific @code{guile-sqlite3} build: + +@example +guix build --with-branch=guile-sqlite3=master cuirass +@end example + +@cindex continuous integration +Obviously, since it uses the latest commit of the given branch, the result +of such a command varies over time. Nevertheless it is a convenient way to +rebuild entire software stacks against the latest commit of one or more +packages. This is particularly useful in the context of continuous +integration (CI). + +Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed +up consecutive accesses to the same repository. You may want to clean it up +once in a while to save disk space. + +@item --with-commit=@var{package}=@var{commit} +This is similar to @code{--with-branch}, except that it builds from +@var{commit} rather than the tip of a branch. @var{commit} must be a valid +Git commit SHA1 identifier. +@end table + +@node Zusätzliche Erstellungsoptionen +@subsection Zusätzliche Erstellungsoptionen + +The command-line options presented below are specific to @command{guix +build}. + +@table @code + +@item --quiet +@itemx -q +Build quietly, without displaying the build log. Upon completion, the build +log is kept in @file{/var} (or similar) and can always be retrieved using +the @option{--log-file} option. + +@item --file=@var{file} +@itemx -f @var{Datei} +Build the package, derivation, or other file-like object that the code +within @var{file} evaluates to (@pxref{G-Ausdrücke, file-like objects}). + +As an example, @var{file} might contain a package definition like this +(@pxref{Pakete definieren}): + +@example +@verbatiminclude package-hello.scm +@end example + +@item --expression=@var{expr} +@itemx -e @var{expr} +Build the package or derivation @var{expr} evaluates to. + +For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, +which unambiguously designates this specific variant of version 1.8 of +Guile. + +Alternatively, @var{expr} may be a G-expression, in which case it is used as +a build program passed to @code{gexp->derivation} (@pxref{G-Ausdrücke}). + +Lastly, @var{expr} may refer to a zero-argument monadic procedure +(@pxref{Die Store-Monade}). The procedure must return a derivation as a +monadic value, which is then passed through @code{run-with-store}. + +@item --source +@itemx -S +Build the source derivations of the packages, rather than the packages +themselves. + +For instance, @code{guix build -S gcc} returns something like +@file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source +tarball. + +The returned source tarball is the result of applying any patches and code +snippets specified in the package @code{origin} (@pxref{Pakete definieren}). + +@item --sources +Fetch and return the source of @var{package-or-derivation} and all their +dependencies, recursively. This is a handy way to obtain a local copy of +all the source code needed to build @var{packages}, allowing you to +eventually build them even without network access. It is an extension of +the @code{--source} option and can accept one of the following optional +argument values: + +@table @code +@item package +This value causes the @code{--sources} option to behave in the same way as +the @code{--source} option. + +@item all +Build the source derivations of all packages, including any source that +might be listed as @code{inputs}. This is the default value. + +@example +$ guix build --sources tzdata +The following derivations will be built: + /gnu/store/@dots{}-tzdata2015b.tar.gz.drv + /gnu/store/@dots{}-tzcode2015b.tar.gz.drv +@end example + +@item transitive +Build the source derivations of all packages, as well of all transitive +inputs to the packages. This can be used e.g.@: to prefetch package source +for later offline building. + +@example +$ guix build --sources=transitive tzdata +The following derivations will be built: + /gnu/store/@dots{}-tzcode2015b.tar.gz.drv + /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv + /gnu/store/@dots{}-grep-2.21.tar.xz.drv + /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv + /gnu/store/@dots{}-make-4.1.tar.xz.drv + /gnu/store/@dots{}-bash-4.3.tar.xz.drv +@dots{} +@end example + +@end table + +@item --system=@var{System} +@itemx -s @var{system} +Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the +system type of the build host. + +@quotation Anmerkung +The @code{--system} flag is for @emph{native} compilation and must not be +confused with cross-compilation. See @code{--target} below for information +on cross-compilation. +@end quotation + +An example use of this is on Linux-based systems, which can emulate +different personalities. For instance, passing @code{--system=i686-linux} +on an @code{x86_64-linux} system or @code{--system=armhf-linux} on an +@code{aarch64-linux} system allows you to build packages in a complete +32-bit environment. + +@quotation Anmerkung +Building for an @code{armhf-linux} system is unconditionally enabled on +@code{aarch64-linux} machines, although certain aarch64 chipsets do not +allow for this functionality, notably the ThunderX. +@end quotation + +Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is +enabled (@pxref{Virtualisierungsdienste, @code{qemu-binfmt-service-type}}), +you can build for any system for which a QEMU @code{binfmt_misc} handler is +installed. + +Builds for a system other than that of the machine you are using can also be +offloaded to a remote machine of the right architecture. @xref{Auslagern des Daemons einrichten}, for more information on offloading. + +@item --target=@var{triplet} +@cindex cross-compilation +Cross-build for @var{triplet}, which must be a valid GNU triplet, such as +@code{"mips64el-linux-gnu"} (@pxref{Specifying target triplets, GNU +configuration triplets,, autoconf, Autoconf}). + +@anchor{build-check} +@item --check +@cindex determinism, checking +@cindex reproducibility, checking +Rebuild @var{package-or-derivation}, which are already available in the +store, and raise an error if the build results are not bit-for-bit +identical. + +This mechanism allows you to check whether previously installed substitutes +are genuine (@pxref{Substitute}), or whether the build result of a package +is deterministic. @xref{Aufruf von guix challenge}, for more background +information and tools. + +Wenn dies zusammen mit @option{--keep-failed} benutzt wird, bleiben die sich +unterscheidenden Ausgaben im Store unter dem Namen +@file{/gnu/store/@dots{}-check}. Dadurch können Unterschiede zwischen den +beiden Ergebnissen leicht erkannt werden. + +@item --repair +@cindex repairing store items +@cindex Datenbeschädigung, Behebung +Attempt to repair the specified store items, if they are corrupt, by +re-downloading or rebuilding them. + +This operation is not atomic and thus restricted to @code{root}. + +@item --derivations +@itemx -d +Return the derivation paths, not the output paths, of the given packages. + +@item --root=@var{file} +@itemx -r @var{file} +@cindex GC roots, adding +@cindex garbage collector roots, adding +Make @var{file} a symlink to the result, and register it as a garbage +collector root. + +Consequently, the results of this @command{guix build} invocation are +protected from garbage collection until @var{file} is removed. When that +option is omitted, build results are eligible for garbage collection as soon +as the build completes. @xref{Aufruf von guix gc}, for more on GC roots. + +@item --log-file +@cindex build logs, access +Return the build log file names or URLs for the given +@var{package-or-derivation}, or raise an error if build logs are missing. + +This works regardless of how packages or derivations are specified. For +instance, the following invocations are equivalent: + +@example +guix build --log-file `guix build -d guile` +guix build --log-file `guix build guile` +guix build --log-file guile +guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)' +@end example + +If a log is unavailable locally, and unless @code{--no-substitutes} is +passed, the command looks for a corresponding log on one of the substitute +servers (as specified with @code{--substitute-urls}.) + +So for instance, imagine you want to see the build log of GDB on MIPS, but +you are actually on an @code{x86_64} machine: + +@example +$ guix build --log-file gdb -s mips64el-linux +https://hydra.gnu.org/log/@dots{}-gdb-7.10 +@end example + +You can freely access a huge library of build logs! +@end table + +@node Fehlschläge beim Erstellen untersuchen +@subsection Fehlschläge beim Erstellen untersuchen + +@cindex build failures, debugging +When defining a new package (@pxref{Pakete definieren}), you will probably +find yourself spending some time debugging and tweaking the build until it +succeeds. To do that, you need to operate the build commands yourself in an +environment as close as possible to the one the build daemon uses. + +To that end, the first thing to do is to use the @option{--keep-failed} or +@option{-K} option of @command{guix build}, which will keep the failed build +tree in @file{/tmp} or whatever directory you specified as @code{TMPDIR} +(@pxref{Aufruf von guix build, @code{--keep-failed}}). + +From there on, you can @command{cd} to the failed build tree and source the +@file{environment-variables} file, which contains all the environment +variable definitions that were in place when the build failed. So let's say +you're debugging a build failure in package @code{foo}; a typical session +would look like this: + +@example +$ guix build foo -K +@dots{} @i{build fails} +$ cd /tmp/guix-build-foo.drv-0 +$ source ./environment-variables +$ cd foo-1.2 +@end example + +Now, you can invoke commands as if you were the daemon (almost) and +troubleshoot your build process. + +Sometimes it happens that, for example, a package's tests pass when you run +them manually but they fail when the daemon runs them. This can happen +because the daemon runs builds in containers where, unlike in our +environment above, network access is missing, @file{/bin/sh} does not exist, +etc. (@pxref{Einrichten der Erstellungsumgebung}). + +In such cases, you may need to run inspect the build process from within a +container similar to the one the build daemon creates: + +@example +$ guix build -K foo +@dots{} +$ cd /tmp/guix-build-foo.drv-0 +$ guix environment --no-grafts -C foo --ad-hoc strace gdb +[env]# source ./environment-variables +[env]# cd foo-1.2 +@end example + +Here, @command{guix environment -C} creates a container and spawns a new +shell in it (@pxref{Aufruf von guix environment}). The @command{--ad-hoc +strace gdb} part adds the @command{strace} and @command{gdb} commands to the +container, which would may find handy while debugging. The +@option{--no-grafts} option makes sure we get the exact same environment, +with ungrafted packages (@pxref{Sicherheitsaktualisierungen}, for more info on grafts). + +To get closer to a container like that used by the build daemon, we can +remove @file{/bin/sh}: + +@example +[env]# rm /bin/sh +@end example + +(Don't worry, this is harmless: this is all happening in the throw-away +container created by @command{guix environment}.) + +The @command{strace} command is probably not in the search path, but we can +run: + +@example +[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check +@end example + +In this way, not only you will have reproduced the environment variables the +daemon uses, you will also be running the build process in a container +similar to the one the daemon uses. + + +@node Aufruf von guix edit +@section Invoking @command{guix edit} + +@cindex @command{guix edit} +@cindex package definition, editing +So many packages, so many source files! The @command{guix edit} command +facilitates the life of users and packagers by pointing their editor at the +source file containing the definition of the specified packages. For +instance: + +@example +guix edit gcc@@4.9 vim +@end example + +@noindent +launches the program specified in the @code{VISUAL} or in the @code{EDITOR} +environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim. + +If you are using a Guix Git checkout (@pxref{Erstellung aus dem Git}), or have +created your own packages on @code{GUIX_PACKAGE_PATH} (@pxref{Paketmodule}), you will be able to edit the package recipes. In other cases, +you will be able to examine the read-only recipes for packages currently in +the store. + + +@node Aufruf von guix download +@section Invoking @command{guix download} + +@cindex @command{guix download} +@cindex downloading package sources +When writing a package definition, developers typically need to download a +source tarball, compute its SHA256 hash, and write that hash in the package +definition (@pxref{Pakete definieren}). The @command{guix download} tool +helps with this task: it downloads a file from the given URI, adds it to the +store, and prints both its file name in the store and its SHA256 hash. + +The fact that the downloaded file is added to the store saves bandwidth: +when the developer eventually tries to build the newly defined package with +@command{guix build}, the source tarball will not have to be downloaded +again because it is already in the store. It is also a convenient way to +temporarily stash files, which may be deleted eventually (@pxref{Aufruf von guix gc}). + +The @command{guix download} command supports the same URIs as used in +package definitions. In particular, it supports @code{mirror://} URIs. +@code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile +bindings for GnuTLS are available in the user's environment; when they are +not available, an error is raised. @xref{Guile Preparations, how to install +the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more +information. + +@command{guix download} verifies HTTPS server certificates by loading the +certificates of X.509 authorities from the directory pointed to by the +@code{SSL_CERT_DIR} environment variable (@pxref{X.509-Zertifikate}), +unless @option{--no-check-certificate} is used. + +The following options are available: + +@table @code +@item --format=@var{fmt} +@itemx -f @var{fmt} +Write the hash in the format specified by @var{fmt}. For more information +on the valid values for @var{fmt}, @pxref{Aufruf von guix hash}. + +@item --no-check-certificate +Do not validate the X.509 certificates of HTTPS servers. + +When using this option, you have @emph{absolutely no guarantee} that you are +communicating with the authentic server responsible for the given URL, which +makes you vulnerable to ``man-in-the-middle'' attacks. + +@item --output=@var{file} +@itemx -o @var{file} +Save the downloaded file to @var{file} instead of adding it to the store. +@end table + +@node Aufruf von guix hash +@section Invoking @command{guix hash} + +@cindex @command{guix hash} +The @command{guix hash} command computes the SHA256 hash of a file. It is +primarily a convenience tool for anyone contributing to the distribution: it +computes the cryptographic hash of a file, which can be used in the +definition of a package (@pxref{Pakete definieren}). + +The general syntax is: + +@example +guix hash @var{option} @var{file} +@end example + +When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the +hash of data read from standard input. @command{guix hash} has the +following options: + +@table @code + +@item --format=@var{fmt} +@itemx -f @var{fmt} +Write the hash in the format specified by @var{fmt}. + +Supported formats: @code{nix-base32}, @code{base32}, @code{base16} +(@code{hex} and @code{hexadecimal} can be used as well). + +If the @option{--format} option is not specified, @command{guix hash} will +output the hash in @code{nix-base32}. This representation is used in the +definitions of packages. + +@item --recursive +@itemx -r +Compute the hash on @var{file} recursively. + +@c FIXME: Replace xref above with xref to an ``Archive'' section when +@c it exists. +In this case, the hash is computed on an archive containing @var{file}, +including its children if it is a directory. Some of the metadata of +@var{file} is part of the archive; for instance, when @var{file} is a +regular file, the hash is different depending on whether @var{file} is +executable or not. Metadata such as time stamps has no impact on the hash +(@pxref{Aufruf von guix archive}). + +@item --exclude-vcs +@itemx -x +When combined with @option{--recursive}, exclude version control system +directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.) + +@vindex git-fetch +As an example, here is how you would compute the hash of a Git checkout, +which is useful when using the @code{git-fetch} method (@pxref{„origin“-Referenz}): + +@example +$ git clone http://example.org/foo.git +$ cd foo +$ guix hash -rx . +@end example +@end table + +@node Aufruf von guix import +@section Invoking @command{guix import} + +@cindex importing packages +@cindex package import +@cindex package conversion +@cindex Invoking @command{guix import} +The @command{guix import} command is useful for people who would like to add +a package to the distribution with as little work as possible---a legitimate +demand. The command knows of a few repositories from which it can +``import'' package metadata. The result is a package definition, or a +template thereof, in the format we know (@pxref{Pakete definieren}). + +The general syntax is: + +@example +guix import @var{importer} @var{options}@dots{} +@end example + +@var{importer} specifies the source from which to import package metadata, +and @var{options} specifies a package identifier and other options specific +to @var{importer}. Currently, the available ``importers'' are: + +@table @code +@item gnu +Import metadata for the given GNU package. This provides a template for the +latest version of that GNU package, including the hash of its source +tarball, and its canonical synopsis and description. + +Additional information such as the package dependencies and its license +needs to be figured out manually. + +For example, the following command returns a package definition for +GNU@tie{}Hello: + +@example +guix import gnu hello +@end example + +Specific command-line options are: + +@table @code +@item --key-download=@var{policy} +As for @code{guix refresh}, specify the policy to handle missing OpenPGP +keys when verifying the package signature. @xref{Aufruf von guix refresh, +@code{--key-download}}. +@end table + +@item pypi +@cindex pypi +Import metadata from the @uref{https://pypi.python.org/, Python Package +Index}@footnote{This functionality requires Guile-JSON to be installed. +@xref{Voraussetzungen}.}. Information is taken from the JSON-formatted +description available at @code{pypi.python.org} and usually includes all the +relevant information, including package dependencies. For maximum +efficiency, it is recommended to install the @command{unzip} utility, so +that the importer can unzip Python wheels and gather data from them. + +The command below imports metadata for the @code{itsdangerous} Python +package: + +@example +guix import pypi itsdangerous +@end example + +@table @code +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively and +generate package expressions for all those packages that are not yet in +Guix. +@end table + +@item gem +@cindex gem +Import metadata from @uref{https://rubygems.org/, RubyGems}@footnote{This +functionality requires Guile-JSON to be installed. @xref{Voraussetzungen}.}. +Information is taken from the JSON-formatted description available at +@code{rubygems.org} and includes most relevant information, including +runtime dependencies. There are some caveats, however. The metadata +doesn't distinguish between synopses and descriptions, so the same string is +used for both fields. Additionally, the details of non-Ruby dependencies +required to build native extensions is unavailable and left as an exercise +to the packager. + +The command below imports metadata for the @code{rails} Ruby package: + +@example +guix import gem rails +@end example + +@table @code +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively and +generate package expressions for all those packages that are not yet in +Guix. +@end table + +@item cpan +@cindex CPAN +Import metadata from @uref{https://www.metacpan.org/, +MetaCPAN}@footnote{This functionality requires Guile-JSON to be installed. +@xref{Voraussetzungen}.}. Information is taken from the JSON-formatted +metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's +API} and includes most relevant information, such as module dependencies. +License information should be checked closely. If Perl is available in the +store, then the @code{corelist} utility will be used to filter core modules +out of the list of dependencies. + +The command command below imports metadata for the @code{Acme::Boolean} Perl +module: + +@example +guix import cpan Acme::Boolean +@end example + +@item cran +@cindex CRAN +@cindex Bioconductor +Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central +repository for the @uref{http://r-project.org, GNU@tie{}R statistical and +graphical environment}. + +Information is extracted from the @code{DESCRIPTION} file of the package. + +The command command below imports metadata for the @code{Cairo} R package: + +@example +guix import cran Cairo +@end example + +When @code{--recursive} is added, the importer will traverse the dependency +graph of the given upstream package recursively and generate package +expressions for all those packages that are not yet in Guix. + +When @code{--archive=bioconductor} is added, metadata is imported from +@uref{https://www.bioconductor.org/, Bioconductor}, a repository of R +packages for for the analysis and comprehension of high-throughput genomic +data in bioinformatics. + +Information is extracted from the @code{DESCRIPTION} file of a package +published on the web interface of the Bioconductor SVN repository. + +The command below imports metadata for the @code{GenomicRanges} R package: + +@example +guix import cran --archive=bioconductor GenomicRanges +@end example + +@item texlive +@cindex TeX Live +@cindex CTAN +Import metadata from @uref{http://www.ctan.org/, CTAN}, the comprehensive +TeX archive network for TeX packages that are part of the +@uref{https://www.tug.org/texlive/, TeX Live distribution}. + +Information about the package is obtained through the XML API provided by +CTAN, while the source code is downloaded from the SVN repository of the Tex +Live project. This is done because the CTAN does not keep versioned +archives. + +The command command below imports metadata for the @code{fontspec} TeX +package: + +@example +guix import texlive fontspec +@end example + +When @code{--archive=DIRECTORY} is added, the source code is downloaded not +from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in +the TeX Live SVN repository, but from the specified sibling directory under +the same root. + +The command below imports metadata for the @code{ifxetex} package from CTAN +while fetching the sources from the directory @file{texmf/source/generic}: + +@example +guix import texlive --archive=generic ifxetex +@end example + +@item json +@cindex JSON, import +Import package metadata from a local JSON file@footnote{This functionality +requires Guile-JSON to be installed. @xref{Voraussetzungen}.}. Consider the +following example package definition in JSON format: + +@example +@{ + "name": "hello", + "version": "2.10", + "source": "mirror://gnu/hello/hello-2.10.tar.gz", + "build-system": "gnu", + "home-page": "https://www.gnu.org/software/hello/", + "synopsis": "Hello, GNU world: An example GNU package", + "description": "GNU Hello prints a greeting.", + "license": "GPL-3.0+", + "native-inputs": ["gcc@@6"] +@} +@end example + +The field names are the same as for the @code{} record +(@xref{Pakete definieren}). References to other packages are provided as +JSON lists of quoted package specification strings such as @code{guile} or +@code{guile@@2.0}. + +The importer also supports a more explicit source definition using the +common fields for @code{} records: + +@example +@{ + @dots{} + "source": @{ + "method": "url-fetch", + "uri": "mirror://gnu/hello/hello-2.10.tar.gz", + "sha256": @{ + "base32": "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i" + @} + @} + @dots{} +@} +@end example + +The command below reads metadata from the JSON file @code{hello.json} and +outputs a package expression: + +@example +guix import json hello.json +@end example + +@item nix +Import metadata from a local copy of the source of the +@uref{http://nixos.org/nixpkgs/, Nixpkgs distribution}@footnote{This relies +on the @command{nix-instantiate} command of @uref{http://nixos.org/nix/, +Nix}.}. Package definitions in Nixpkgs are typically written in a mixture +of Nix-language and Bash code. This command only imports the high-level +package structure that is written in the Nix language. It normally includes +all the basic fields of a package definition. + +When importing a GNU package, the synopsis and descriptions are replaced by +their canonical upstream variant. + +Usually, you will first need to do: + +@example +export NIX_REMOTE=daemon +@end example + +@noindent +so that @command{nix-instantiate} does not try to open the Nix database. + +As an example, the command below imports the package definition of +LibreOffice (more precisely, it imports the definition of the package bound +to the @code{libreoffice} top-level attribute): + +@example +guix import nix ~/path/to/nixpkgs libreoffice +@end example + +@item hackage +@cindex hackage +Import metadata from the Haskell community's central package archive +@uref{https://hackage.haskell.org/, Hackage}. Information is taken from +Cabal files and includes all the relevant information, including package +dependencies. + +Specific command-line options are: + +@table @code +@item --stdin +@itemx -s +Read a Cabal file from standard input. +@item --no-test-dependencies +@itemx -t +Do not include dependencies required only by the test suites. +@item --cabal-environment=@var{alist} +@itemx -e @var{alist} +@var{alist} is a Scheme alist defining the environment in which the Cabal +conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, +@code{impl} and a string representing the name of a flag. The value +associated with a flag has to be either the symbol @code{true} or +@code{false}. The value associated with other keys has to conform to the +Cabal file format definition. The default value associated with the keys +@code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and +@samp{ghc}, respectively. +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively and +generate package expressions for all those packages that are not yet in +Guix. +@end table + +The command below imports metadata for the latest version of the @code{HTTP} +Haskell package without including test dependencies and specifying the value +of the flag @samp{network-uri} as @code{false}: + +@example +guix import hackage -t -e "'((\"network-uri\" . false))" HTTP +@end example + +A specific package version may optionally be specified by following the +package name by an at-sign and a version number as in the following example: + +@example +guix import hackage mtl@@2.1.3.1 +@end example + +@item stackage +@cindex stackage +The @code{stackage} importer is a wrapper around the @code{hackage} one. It +takes a package name, looks up the package version included in a long-term +support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the +@code{hackage} importer to retrieve its metadata. Note that it is up to you +to select an LTS release compatible with the GHC compiler used by Guix. + +Specific command-line options are: + +@table @code +@item --no-test-dependencies +@itemx -t +Do not include dependencies required only by the test suites. +@item --lts-version=@var{version} +@itemx -l @var{version} +@var{version} is the desired LTS release version. If omitted the latest +release is used. +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively and +generate package expressions for all those packages that are not yet in +Guix. +@end table + +The command below imports metadata for the @code{HTTP} Haskell package +included in the LTS Stackage release version 7.18: + +@example +guix import stackage --lts-version=7.18 HTTP +@end example + +@item elpa +@cindex elpa +Import metadata from an Emacs Lisp Package Archive (ELPA) package repository +(@pxref{Packages,,, emacs, The GNU Emacs Manual}). + +Specific command-line options are: + +@table @code +@item --archive=@var{repo} +@itemx -a @var{repo} +@var{repo} identifies the archive repository from which to retrieve the +information. Currently the supported repositories and their identifiers +are: +@itemize - +@item +@uref{http://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} +identifier. This is the default. + +Packages from @code{elpa.gnu.org} are signed with one of the keys contained +in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or +similar) in the @code{emacs} package (@pxref{Package Installation, ELPA +package signatures,, emacs, The GNU Emacs Manual}). + +@item +@uref{http://stable.melpa.org/packages, MELPA-Stable}, selected by the +@code{melpa-stable} identifier. + +@item +@uref{http://melpa.org/packages, MELPA}, selected by the @code{melpa} +identifier. +@end itemize + +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively and +generate package expressions for all those packages that are not yet in +Guix. +@end table + +@item crate +@cindex crate +Import metadata from the crates.io Rust package repository +@uref{https://crates.io, crates.io}. + +@item opam +@cindex OPAM +@cindex OCaml +Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package +repository used by the OCaml community. +@end table + +The structure of the @command{guix import} code is modular. It would be +useful to have more importers for other package formats, and your help is +welcome here (@pxref{Mitwirken}). + +@node Aufruf von guix refresh +@section Invoking @command{guix refresh} + +@cindex @command{guix refresh} +The primary audience of the @command{guix refresh} command is developers of +the GNU software distribution. By default, it reports any packages provided +by the distribution that are outdated compared to the latest upstream +version, like this: + +@example +$ guix refresh +gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1 +gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0 +@end example + +Alternately, one can specify packages to consider, in which case a warning +is emitted for packages that lack an updater: + +@example +$ guix refresh coreutils guile guile-ssh +gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh +gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13 +@end example + +@command{guix refresh} browses the upstream repository of each package and +determines the highest version number of the releases therein. The command +knows how to update specific types of packages: GNU packages, ELPA packages, +etc.---see the documentation for @option{--type} below. There are many +packages, though, for which it lacks a method to determine whether a new +upstream release is available. However, the mechanism is extensible, so +feel free to get in touch with us to add a new method! + +Sometimes the upstream name differs from the package name used in Guix, and +@command{guix refresh} needs a little help. Most updaters honor the +@code{upstream-name} property in package definitions, which can be used to +that effect: + +@example +(define-public network-manager + (package + (name "network-manager") + ;; @dots{} + (properties '((upstream-name . "NetworkManager"))))) +@end example + +When passed @code{--update}, it modifies distribution source files to update +the version numbers and source tarball hashes of those package recipes +(@pxref{Pakete definieren}). This is achieved by downloading each package's +latest source tarball and its associated OpenPGP signature, authenticating +the downloaded tarball against its signature using @command{gpg}, and +finally computing its hash. When the public key used to sign the tarball is +missing from the user's keyring, an attempt is made to automatically +retrieve it from a public key server; when this is successful, the key is +added to the user's keyring; otherwise, @command{guix refresh} reports an +error. + +The following options are supported: + +@table @code + +@item --expression=@var{expr} +@itemx -e @var{expr} +Consider the package @var{expr} evaluates to. + +This is useful to precisely refer to a package, as in this example: + +@example +guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)' +@end example + +This command lists the dependents of the ``final'' libc (essentially all the +packages.) + +@item --update +@itemx -u +Update distribution source files (package recipes) in place. This is +usually run from a checkout of the Guix source tree (@pxref{Guix vor der Installation ausführen}): + +@example +$ ./pre-inst-env guix refresh -s non-core -u +@end example + +@xref{Pakete definieren}, for more information on package definitions. + +@item --select=[@var{subset}] +@itemx -s @var{subset} +Select all the packages in @var{subset}, one of @code{core} or +@code{non-core}. + +The @code{core} subset refers to all the packages at the core of the +distribution---i.e., packages that are used to build ``everything else''. +This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of +these packages in the distribution entails a rebuild of all the others. +Thus, such updates are an inconvenience to users in terms of build time or +bandwidth used to achieve the upgrade. + +The @code{non-core} subset refers to the remaining packages. It is +typically useful in cases where an update of the core packages would be +inconvenient. + +@item --manifest=@var{Datei} +@itemx -m @var{Datei} +Select all the packages from the manifest in @var{file}. This is useful to +check if any packages of the user manifest can be updated. + +@item --type=@var{updater} +@itemx -t @var{updater} +Select only packages handled by @var{updater} (may be a comma-separated list +of updaters). Currently, @var{updater} may be one of: + +@table @code +@item gnu +the updater for GNU packages; +@item gnome +the updater for GNOME packages; +@item kde +the updater for KDE packages; +@item xorg +the updater for X.org packages; +@item kernel.org +the updater for packages hosted on kernel.org; +@item elpa +the updater for @uref{http://elpa.gnu.org/, ELPA} packages; +@item cran +the updater for @uref{https://cran.r-project.org/, CRAN} packages; +@item bioconductor +the updater for @uref{https://www.bioconductor.org/, Bioconductor} R +packages; +@item cpan +the updater for @uref{http://www.cpan.org/, CPAN} packages; +@item pypi +the updater for @uref{https://pypi.python.org, PyPI} packages. +@item gem +the updater for @uref{https://rubygems.org, RubyGems} packages. +@item github +the updater for @uref{https://github.com, GitHub} packages. +@item hackage +the updater for @uref{https://hackage.haskell.org, Hackage} packages. +@item stackage +the updater for @uref{https://www.stackage.org, Stackage} packages. +@item crate +the updater for @uref{https://crates.io, Crates} packages. +@end table + +For instance, the following command only checks for updates of Emacs +packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages: + +@example +$ guix refresh --type=elpa,cran +gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0 +gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9 +@end example + +@end table + +In addition, @command{guix refresh} can be passed one or more package names, +as in this example: + +@example +$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8 +@end example + +@noindent +The command above specifically updates the @code{emacs} and @code{idutils} +packages. The @code{--select} option would have no effect in this case. + +When considering whether to upgrade a package, it is sometimes convenient to +know which packages would be affected by the upgrade and should be checked +for compatibility. For this the following option may be used when passing +@command{guix refresh} one or more package names: + +@table @code + +@item --list-updaters +@itemx -L +List available updaters and exit (see @option{--type} above.) + +For each updater, display the fraction of packages it covers; at the end, +display the fraction of packages covered by all these updaters. + +@item --list-dependent +@itemx -l +List top-level dependent packages that would need to be rebuilt as a result +of upgrading one or more packages. + +@xref{Aufruf von guix graph, the @code{reverse-package} type of @command{guix +graph}}, for information on how to visualize the list of dependents of a +package. + +@end table + +Be aware that the @code{--list-dependent} option only @emph{approximates} +the rebuilds that would be required as a result of an upgrade. More +rebuilds might be required under some circumstances. + +@example +$ guix refresh --list-dependent flex +Building the following 120 packages would ensure 213 dependent packages are rebuilt: +hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{} +@end example + +The command above lists a set of packages that could be built to check for +compatibility with an upgraded @code{flex} package. + +The following options can be used to customize GnuPG operation: + +@table @code + +@item --gpg=@var{command} +Use @var{command} as the GnuPG 2.x command. @var{command} is searched for +in @code{$PATH}. + +@item --keyring=@var{file} +Use @var{file} as the keyring for upstream keys. @var{file} must be in the +@dfn{keybox format}. Keybox files usually have a name ending in @file{.kbx} +and the GNU@tie{}Privacy Guard (GPG) can manipulate these files +(@pxref{kbxutil, @command{kbxutil},, gnupg, Using the GNU Privacy Guard}, +for information on a tool to manipulate keybox files). + +When this option is omitted, @command{guix refresh} uses +@file{~/.config/guix/upstream/trustedkeys.kbx} as the keyring for upstream +signing keys. OpenPGP signatures are checked against keys from this +keyring; missing keys are downloaded to this keyring as well (see +@option{--key-download} below.) + +You can export keys from your default GPG keyring into a keybox file using +commands like this one: + +@example +gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx +@end example + +Likewise, you can fetch keys to a specific keybox file like this: + +@example +gpg --no-default-keyring --keyring mykeyring.kbx \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +@end example + +@ref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU +Privacy Guard}, for more information on GPG's @option{--keyring} option. + +@item --key-download=@var{policy} +Handle missing OpenPGP keys according to @var{policy}, which may be one of: + +@table @code +@item always +Always download missing OpenPGP keys from the key server, and add them to +the user's GnuPG keyring. + +@item never +Never try to download missing OpenPGP keys. Instead just bail out. + +@item interactive +When a package signed with an unknown OpenPGP key is encountered, ask the +user whether to download it or not. This is the default behavior. +@end table + +@item --key-server=@var{host} +Use @var{host} as the OpenPGP key server when importing a public key. + +@end table + +The @code{github} updater uses the @uref{https://developer.github.com/v3/, +GitHub API} to query for new releases. When used repeatedly e.g.@: when +refreshing all packages, GitHub will eventually refuse to answer any further +API requests. By default 60 API requests per hour are allowed, and a full +refresh on all GitHub packages in Guix requires more than this. +Authentication with GitHub through the use of an API token alleviates these +limits. To use an API token, set the environment variable +@code{GUIX_GITHUB_TOKEN} to a token procured from +@uref{https://github.com/settings/tokens} or otherwise. + + +@node Aufruf von guix lint +@section Invoking @command{guix lint} + +@cindex @command{guix lint} +@cindex package, checking for errors +The @command{guix lint} command is meant to help package developers avoid +common errors and use a consistent style. It runs a number of checks on a +given set of packages in order to find common mistakes in their +definitions. Available @dfn{checkers} include (see @code{--list-checkers} +for a complete list): + +@table @code +@item synopsis +@itemx description +Validate certain typographical and stylistic rules about package +descriptions and synopses. + +@item inputs-should-be-native +Identify inputs that should most likely be native inputs. + +@item source +@itemx home-page +@itemx mirror-url +@itemx source-file-name +Probe @code{home-page} and @code{source} URLs and report those that are +invalid. Suggest a @code{mirror://} URL when applicable. Check that the +source file name is meaningful, e.g.@: is not just a version number or +``git-checkout'', without a declared @code{file-name} (@pxref{„origin“-Referenz}). + +@item cve +@cindex security vulnerabilities +@cindex CVE, Common Vulnerabilities and Exposures +Report known vulnerabilities found in the Common Vulnerabilities and +Exposures (CVE) databases of the current and past year +@uref{https://nvd.nist.gov/download.cfm#CVE_FEED, published by the US NIST}. + +To view information about a particular vulnerability, visit pages such as: + +@itemize +@item +@indicateurl{https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD} +@item +@indicateurl{https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD} +@end itemize + +@noindent +where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., +@code{CVE-2015-7554}. + +Package developers can specify in package recipes the +@uref{https://nvd.nist.gov/cpe.cfm,Common Platform Enumeration (CPE)} name +and version of the package when they differ from the name or version that +Guix uses, as in this example: + +@example +(package + (name "grub") + ;; @dots{} + ;; CPE calls this package "grub2". + (properties '((cpe-name . "grub2") + (cpe-version . "2.3"))) +@end example + +@c See . +Some entries in the CVE database do not specify which version of a package +they apply to, and would thus ``stick around'' forever. Package developers +who found CVE alerts and verified they can be ignored can declare them as in +this example: + +@example +(package + (name "t1lib") + ;; @dots{} + ;; These CVEs no longer apply and can be safely ignored. + (properties `((lint-hidden-cve . ("CVE-2011-0433" + "CVE-2011-1553" + "CVE-2011-1554" + "CVE-2011-5244"))))) +@end example + +@item formatting +Warn about obvious source code formatting issues: trailing white space, use +of tabulations, etc. +@end table + +The general syntax is: + +@example +guix lint @var{options} @var{package}@dots{} +@end example + +If no package is given on the command line, then all packages are checked. +The @var{options} may be zero or more of the following: + +@table @code +@item --list-checkers +@itemx -l +List and describe all the available checkers that will be run on packages +and exit. + +@item --checkers +@itemx -c +Only enable the checkers specified in a comma-separated list using the names +returned by @code{--list-checkers}. + +@end table + +@node Aufruf von guix size +@section Invoking @command{guix size} + +@cindex size +@cindex package size +@cindex Abschluss +@cindex @command{guix size} +The @command{guix size} command helps package developers profile the disk +usage of packages. It is easy to overlook the impact of an additional +dependency added to a package, or the impact of using a single output for a +package that could easily be split (@pxref{Pakete mit mehreren Ausgaben.}). Such are the typical issues that @command{guix size} can +highlight. + +The command can be passed one or more package specifications such as +@code{gcc@@4.8} or @code{guile:debug}, or a file name in the store. +Consider this example: + +@example +$ guix size coreutils +store item total self +/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1% +/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6% +/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0% +/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4% +/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9% +/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5% +/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3% +/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2% +total: 78.9 MiB +@end example + +@cindex Abschluss +The store items listed here constitute the @dfn{transitive closure} of +Coreutils---i.e., Coreutils and all its dependencies, recursively---as would +be returned by: + +@example +$ guix gc -R /gnu/store/@dots{}-coreutils-8.23 +@end example + +Here the output shows three columns next to store items. The first column, +labeled ``total'', shows the size in mebibytes (MiB) of the closure of the +store item---that is, its own size plus the size of all its dependencies. +The next column, labeled ``self'', shows the size of the item itself. The +last column shows the ratio of the size of the item itself to the space +occupied by all the items listed here. + +In this example, we see that the closure of Coreutils weighs in at +79@tie{}MiB, most of which is taken by libc and GCC's run-time support +libraries. (That libc and GCC's libraries represent a large fraction of the +closure is not a problem @i{per se} because they are always available on the +system anyway.) + +When the package(s) passed to @command{guix size} are available in the +store@footnote{More precisely, @command{guix size} looks for the +@emph{ungrafted} variant of the given package(s), as returned by @code{guix +build @var{package} --no-grafts}. @xref{Sicherheitsaktualisierungen}, for information +on grafts.}, @command{guix size} queries the daemon to determine its +dependencies, and measures its size in the store, similar to @command{du -ms +--apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils}). + +When the given packages are @emph{not} in the store, @command{guix size} +reports information based on the available substitutes +(@pxref{Substitute}). This makes it possible it to profile disk usage of +store items that are not even on disk, only available remotely. + +You can also specify several package names: + +@example +$ guix size coreutils grep sed bash +store item total self +/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4% +/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8% +/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6% +/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2% +@dots{} +total: 102.3 MiB +@end example + +@noindent +In this example we see that the combination of the four packages takes +102.3@tie{}MiB in total, which is much less than the sum of each closure +since they have a lot of dependencies in common. + +The available options are: + +@table @option + +@item --substitute-urls=@var{URLs} +Use substitute information from @var{urls}. @xref{client-substitute-urls, +the same option for @code{guix build}}. + +@item --sort=@var{key} +Sort lines according to @var{key}, one of the following options: + +@table @code +@item self +the size of each item (the default); +@item Abschluss +the total size of the item's closure. +@end table + +@item --map-file=@var{file} +Write a graphical map of disk usage in PNG format to @var{file}. + +For the example above, the map looks like this: + +@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced +by @command{guix size}} + +This option requires that +@uref{http://wingolog.org/software/guile-charting/, Guile-Charting} be +installed and visible in Guile's module search path. When that is not the +case, @command{guix size} fails as it tries to load it. + +@item --system=@var{System} +@itemx -s @var{system} +Consider packages for @var{system}---e.g., @code{x86_64-linux}. + +@end table + +@node Aufruf von guix graph +@section Invoking @command{guix graph} + +@cindex DAG +@cindex @command{guix graph} +@cindex Paketabhängigkeiten +Packages and their dependencies form a @dfn{graph}, specifically a directed +acyclic graph (DAG). It can quickly become difficult to have a mental model +of the package DAG, so the @command{guix graph} command provides a visual +representation of the DAG. By default, @command{guix graph} emits a DAG +representation in the input format of @uref{http://www.graphviz.org/, +Graphviz}, so its output can be passed directly to the @command{dot} command +of Graphviz. It can also emit an HTML page with embedded JavaScript code to +display a ``chord diagram'' in a Web browser, using the +@uref{https://d3js.org/, d3.js} library, or emit Cypher queries to construct +a graph in a graph database supporting the @uref{http://www.opencypher.org/, +openCypher} query language. The general syntax is: + +@example +guix graph @var{options} @var{package}@dots{} +@end example + +For example, the following command generates a PDF file representing the +package DAG for the GNU@tie{}Core Utilities, showing its build-time +dependencies: + +@example +guix graph coreutils | dot -Tpdf > dag.pdf +@end example + +The output looks like this: + +@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils} + +Nice little graph, no? + +But there is more than one graph! The one above is concise: it is the graph +of package objects, omitting implicit inputs such as GCC, libc, grep, etc. +It is often useful to have such a concise graph, but sometimes one may want +to see more details. @command{guix graph} supports several types of graphs, +allowing you to choose the level of detail: + +@table @code +@item package +This is the default type used in the example above. It shows the DAG of +package objects, excluding implicit dependencies. It is concise, but +filters out many details. + +@item reverse-package +This shows the @emph{reverse} DAG of packages. For example: + +@example +guix graph --type=reverse-package ocaml +@end example + +...@: yields the graph of packages that depend on OCaml. + +Note that for core packages this can yield huge graphs. If all you want is +to know the number of packages that depend on a given package, use +@command{guix refresh --list-dependent} (@pxref{Aufruf von guix refresh, +@option{--list-dependent}}). + +@item bag-emerged +This is the package DAG, @emph{including} implicit inputs. + +For instance, the following command: + +@example +guix graph --type=bag-emerged coreutils | dot -Tpdf > dag.pdf +@end example + +...@: yields this bigger graph: + +@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU +Coreutils} + +At the bottom of the graph, we see all the implicit inputs of +@var{gnu-build-system} (@pxref{Erstellungssysteme, @code{gnu-build-system}}). + +Now, note that the dependencies of these implicit inputs---that is, the +@dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, +for conciseness. + +@item bag +Similar to @code{bag-emerged}, but this time including all the bootstrap +dependencies. + +@item bag-with-origins +Similar to @code{bag}, but also showing origins and their dependencies. + +@item Ableitung +This is the most detailed representation: It shows the DAG of derivations +(@pxref{Ableitungen}) and plain store items. Compared to the above +representation, many additional nodes are visible, including build scripts, +patches, Guile modules, etc. + +For this type of graph, it is also possible to pass a @file{.drv} file name +instead of a package name, as in: + +@example +guix graph -t derivation `guix system build -d my-config.scm` +@end example + +@item module +This is the graph of @dfn{package modules} (@pxref{Paketmodule}). For +example, the following command shows the graph for the package module that +defines the @code{guile} package: + +@example +guix graph -t module guile | dot -Tpdf > module-graph.pdf +@end example +@end table + +All the types above correspond to @emph{build-time dependencies}. The +following graph type represents the @emph{run-time dependencies}: + +@table @code +@item references +This is the graph of @dfn{references} of a package output, as returned by +@command{guix gc --references} (@pxref{Aufruf von guix gc}). + +If the given package output is not available in the store, @command{guix +graph} attempts to obtain dependency information from substitutes. + +Here you can also pass a store file name instead of a package name. For +example, the command below produces the reference graph of your profile +(which can be big!): + +@example +guix graph -t references `readlink -f ~/.guix-profile` +@end example + +@item referrers +This is the graph of the @dfn{referrers} of a store item, as returned by +@command{guix gc --referrers} (@pxref{Aufruf von guix gc}). + +This relies exclusively on local information from your store. For instance, +let us suppose that the current Inkscape is available in 10 profiles on your +machine; @command{guix graph -t referrers inkscape} will show a graph rooted +at Inkscape and with those 10 profiles linked to it. + +It can help determine what is preventing a store item from being garbage +collected. + +@end table + +The available options are the following: + +@table @option +@item --type=@var{type} +@itemx -t @var{type} +Produce a graph output of @var{type}, where @var{type} must be one of the +values listed above. + +@item --list-types +List the supported graph types. + +@item --backend=@var{backend} +@itemx -b @var{backend} +Produce a graph using the selected @var{backend}. + +@item --list-backends +List the supported graph backends. + +Currently, the available backends are Graphviz and d3.js. + +@item --expression=@var{expr} +@itemx -e @var{expr} +Consider the package @var{expr} evaluates to. + +This is useful to precisely refer to a package, as in this example: + +@example +guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)' +@end example + +@item --system=@var{System} +@itemx -s @var{system} +Display the graph for @var{system}---e.g., @code{i686-linux}. + +The package dependency graph is largely architecture-independent, but there +are some architecture-dependent bits that this option allows you to +visualize. +@end table + + +@node Aufruf von guix environment +@section Invoking @command{guix environment} + +@cindex reproducible build environments +@cindex development environments +@cindex @command{guix environment} +@cindex environment, package build environment +The purpose of @command{guix environment} is to assist hackers in creating +reproducible development environments without polluting their package +profile. The @command{guix environment} tool takes one or more packages, +builds all of their inputs, and creates a shell environment to use them. + +The general syntax is: + +@example +guix environment @var{options} @var{package}@dots{} +@end example + +The following example spawns a new shell set up for the development of +GNU@tie{}Guile: + +@example +guix environment guile +@end example + +If the needed dependencies are not built yet, @command{guix environment} +automatically builds them. The environment of the new shell is an augmented +version of the environment that @command{guix environment} was run in. It +contains the necessary search paths for building the given package added to +the existing environment variables. To create a ``pure'' environment, in +which the original environment variables have been unset, use the +@code{--pure} option@footnote{Users sometimes wrongfully augment environment +variables such as @code{PATH} in their @file{~/.bashrc} file. As a +consequence, when @code{guix environment} launches it, Bash may read +@file{~/.bashrc}, thereby introducing ``impurities'' in these environment +variables. It is an error to define such environment variables in +@file{.bashrc}; instead, they should be defined in @file{.bash_profile}, +which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, +The GNU Bash Reference Manual}, for details on Bash start-up files.}. + +@vindex GUIX_ENVIRONMENT +@command{guix environment} defines the @code{GUIX_ENVIRONMENT} variable in +the shell it spawns; its value is the file name of the profile of this +environment. This allows users to, say, define a specific prompt for +development environments in their @file{.bashrc} (@pxref{Bash Startup +Files,,, bash, The GNU Bash Reference Manual}): + +@example +if [ -n "$GUIX_ENVIRONMENT" ] +then + export PS1="\u@@\h \w [dev]\$ " +fi +@end example + +@noindent +...@: or to browse the profile: + +@example +$ ls "$GUIX_ENVIRONMENT/bin" +@end example + +Additionally, more than one package may be specified, in which case the +union of the inputs for the given packages are used. For example, the +command below spawns a shell where all of the dependencies of both Guile and +Emacs are available: + +@example +guix environment guile emacs +@end example + +Sometimes an interactive shell session is not desired. An arbitrary command +may be invoked by placing the @code{--} token to separate the command from +the rest of the arguments: + +@example +guix environment guile -- make -j4 +@end example + +In other situations, it is more convenient to specify the list of packages +needed in the environment. For example, the following command runs +@command{python} from an environment containing Python@tie{}2.7 and NumPy: + +@example +guix environment --ad-hoc python2-numpy python-2.7 -- python +@end example + +Furthermore, one might want the dependencies of a package and also some +additional packages that are not build-time or runtime dependencies, but are +useful when developing nonetheless. Because of this, the @code{--ad-hoc} +flag is positional. Packages appearing before @code{--ad-hoc} are +interpreted as packages whose dependencies will be added to the +environment. Packages appearing after are interpreted as packages that will +be added to the environment directly. For example, the following command +creates a Guix development environment that additionally includes Git and +strace: + +@example +guix environment guix --ad-hoc git strace +@end example + +Sometimes it is desirable to isolate the environment as much as possible, +for maximal purity and reproducibility. In particular, when using Guix on a +host distro that is not GuixSD, it is desirable to prevent access to +@file{/usr/bin} and other system-wide resources from the development +environment. For example, the following command spawns a Guile REPL in a +``container'' where only the store and the current working directory are +mounted: + +@example +guix environment --ad-hoc --container guile -- guile +@end example + +@quotation Anmerkung +The @code{--container} option requires Linux-libre 3.19 or newer. +@end quotation + +The available options are summarized below. + +@table @code +@item --root=@var{file} +@itemx -r @var{file} +@cindex persistent environment +@cindex garbage collector root, for environments +Make @var{file} a symlink to the profile for this environment, and register +it as a garbage collector root. + +This is useful if you want to protect your environment from garbage +collection, to make it ``persistent''. + +When this option is omitted, the environment is protected from garbage +collection only for the duration of the @command{guix environment} session. +This means that next time you recreate the same environment, you could have +to rebuild or re-download packages. @xref{Aufruf von guix gc}, for more on GC +roots. + +@item --expression=@var{expr} +@itemx -e @var{expr} +Create an environment for the package or list of packages that @var{expr} +evaluates to. + +For example, running: + +@example +guix environment -e '(@@ (gnu packages maths) petsc-openmpi)' +@end example + +starts a shell with the environment for this specific variant of the PETSc +package. + +Running: + +@example +guix environment --ad-hoc -e '(@@ (gnu) %base-packages)' +@end example + +starts a shell with all the GuixSD base packages available. + +The above commands only use the default output of the given packages. To +select other outputs, two element tuples can be specified: + +@example +guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) "include")' +@end example + +@item --load=@var{file} +@itemx -l @var{file} +Create an environment for the package or list of packages that the code +within @var{file} evaluates to. + +Zum Beispiel könnte die @var{Datei} eine Definition wie diese enthalten +(@pxref{Pakete definieren}): + +@example +@verbatiminclude environment-gdb.scm +@end example + +@item --manifest=@var{Datei} +@itemx -m @var{Datei} +Create an environment for the packages contained in the manifest object +returned by the Scheme code in @var{file}. + +This is similar to the same-named option in @command{guix package} +(@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest +files. + +@item --ad-hoc +Include all specified packages in the resulting environment, as if an @i{ad +hoc} package were defined with them as inputs. This option is useful for +quickly creating an environment without having to write a package expression +to contain the desired inputs. + +For instance, the command: + +@example +guix environment --ad-hoc guile guile-sdl -- guile +@end example + +runs @command{guile} in an environment where Guile and Guile-SDL are +available. + +Note that this example implicitly asks for the default output of +@code{guile} and @code{guile-sdl}, but it is possible to ask for a specific +output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} +(@pxref{Pakete mit mehreren Ausgaben.}). + +This option may be composed with the default behavior of @command{guix +environment}. Packages appearing before @code{--ad-hoc} are interpreted as +packages whose dependencies will be added to the environment, the default +behavior. Packages appearing after are interpreted as packages that will be +added to the environment directly. + +@item --pure +Unset existing environment variables when building the new environment. +This has the effect of creating an environment in which search paths only +contain package inputs. + +@item --search-paths +Display the environment variable definitions that make up the environment. + +@item --system=@var{System} +@itemx -s @var{system} +Attempt to build for @var{system}---e.g., @code{i686-linux}. + +@item --container +@itemx -C +@cindex container +Run @var{command} within an isolated container. The current working +directory outside the container is mapped inside the container. +Additionally, unless overridden with @code{--user}, a dummy home directory +is created that matches the current user's home directory, and +@file{/etc/passwd} is configured accordingly. The spawned process runs as +the current user outside the container, but has root privileges in the +context of the container. + +@item --network +@itemx -N +For containers, share the network namespace with the host system. +Containers created without this flag only have access to the loopback +device. + +@item --link-profile +@itemx -P +For containers, link the environment profile to @file{~/.guix-profile} +within the container. This is equivalent to running the command @command{ln +-s $GUIX_ENVIRONMENT ~/.guix-profile} within the container. Linking will +fail and abort the environment if the directory already exists, which will +certainly be the case if @command{guix environment} was invoked in the +user's home directory. + +Certain packages are configured to look in @code{~/.guix-profile} for +configuration files and data;@footnote{For example, the @code{fontconfig} +package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} +@code{--link-profile} allows these programs to behave as expected within the +environment. + +@item --user=@var{user} +@itemx -u @var{user} +For containers, use the username @var{user} in place of the current user. +The generated @file{/etc/passwd} entry within the container will contain the +name @var{user}; the home directory will be @file{/home/USER}; and no user +GECOS data will be copied. @var{user} need not exist on the system. + +Additionally, any shared or exposed path (see @code{--share} and +@code{--expose} respectively) whose target is within the current user's home +directory will be remapped relative to @file{/home/USER}; this includes the +automatic mapping of the current working directory. + +@example +# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target +cd $HOME/wd +guix environment --container --user=foo \ + --expose=$HOME/test \ + --expose=/tmp/target=$HOME/target +@end example + +While this will limit the leaking of user identity through home paths and +each of the user fields, this is only one useful component of a broader +privacy/anonymity solution---not one in and of itself. + +@item --expose=@var{source}[=@var{target}] +For containers, expose the file system @var{source} from the host system as +the read-only file system @var{target} within the container. If +@var{target} is not specified, @var{source} is used as the target mount +point in the container. + +The example below spawns a Guile REPL in a container in which the user's +home directory is accessible read-only via the @file{/exchange} directory: + +@example +guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile +@end example + +@item --share=@var{source}[=@var{target}] +For containers, share the file system @var{source} from the host system as +the writable file system @var{target} within the container. If @var{target} +is not specified, @var{source} is used as the target mount point in the +container. + +The example below spawns a Guile REPL in a container in which the user's +home directory is accessible for both reading and writing via the +@file{/exchange} directory: + +@example +guix environment --container --share=$HOME=/exchange --ad-hoc guile -- guile +@end example +@end table + +@command{guix environment} also supports all of the common build options +that @command{guix build} supports (@pxref{Gemeinsame Erstellungsoptionen}). + + +@node Aufruf von guix publish +@section Invoking @command{guix publish} + +@cindex @command{guix publish} +The purpose of @command{guix publish} is to enable users to easily share +their store with others, who can then use it as a substitute server +(@pxref{Substitute}). + +When @command{guix publish} runs, it spawns an HTTP server which allows +anyone with network access to obtain substitutes from it. This means that +any machine running Guix can also act as if it were a build farm, since the +HTTP interface is compatible with Hydra, the software behind the +@code{hydra.gnu.org} build farm. + +For security, each substitute is signed, allowing recipients to check their +authenticity and integrity (@pxref{Substitute}). Because @command{guix +publish} uses the signing key of the system, which is only readable by the +system administrator, it must be started as root; the @code{--user} option +makes it drop root privileges early on. + +The signing key pair must be generated before @command{guix publish} is +launched, using @command{guix archive --generate-key} (@pxref{Aufruf von guix archive}). + +The general syntax is: + +@example +guix publish @var{options}@dots{} +@end example + +Running @command{guix publish} without any additional arguments will spawn +an HTTP server on port 8080: + +@example +guix publish +@end example + +Once a publishing server has been authorized (@pxref{Aufruf von guix archive}), the daemon may download substitutes from it: + +@example +guix-daemon --substitute-urls=http://example.org:8080 +@end example + +By default, @command{guix publish} compresses archives on the fly as it +serves them. This ``on-the-fly'' mode is convenient in that it requires no +setup and is immediately available. However, when serving lots of clients, +we recommend using the @option{--cache} option, which enables caching of the +archives before they are sent to clients---see below for details. The +@command{guix weather} command provides a handy way to check what a server +provides (@pxref{Aufruf von guix weather}). + +As a bonus, @command{guix publish} also serves as a content-addressed mirror +for source files referenced in @code{origin} records (@pxref{„origin“-Referenz}). For instance, assuming @command{guix publish} is running on +@code{example.org}, the following URL returns the raw +@file{hello-2.10.tar.gz} file with the given SHA256 hash (represented in +@code{nix-base32} format, @pxref{Aufruf von guix hash}): + +@example +http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i +@end example + +Obviously, these URLs only work for files that are in the store; in other +cases, they return 404 (``Not Found''). + +@cindex build logs, publication +Build logs are available from @code{/log} URLs like: + +@example +http://example.org/log/gwspk@dots{}-guile-2.2.3 +@end example + +@noindent +When @command{guix-daemon} is configured to save compressed build logs, as +is the case by default (@pxref{Aufruf des guix-daemon}), @code{/log} URLs +return the compressed log as-is, with an appropriate @code{Content-Type} +and/or @code{Content-Encoding} header. We recommend running +@command{guix-daemon} with @code{--log-compression=gzip} since Web browsers +can automatically decompress it, which is not the case with bzip2 +compression. + +The following options are available: + +@table @code +@item --port=@var{port} +@itemx -p @var{port} +Listen for HTTP requests on @var{port}. + +@item --listen=@var{host} +Listen on the network interface for @var{host}. The default is to accept +connections from any interface. + +@item --user=@var{user} +@itemx -u @var{user} +Change privileges to @var{user} as soon as possible---i.e., once the server +socket is open and the signing key has been read. + +@item --compression[=@var{level}] +@itemx -C [@var{level}] +Compress data using the given @var{level}. When @var{level} is zero, +disable compression. The range 1 to 9 corresponds to different gzip +compression levels: 1 is the fastest, and 9 is the best (CPU-intensive). +The default is 3. + +Unless @option{--cache} is used, compression occurs on the fly and the +compressed streams are not cached. Thus, to reduce load on the machine that +runs @command{guix publish}, it may be a good idea to choose a low +compression level, to run @command{guix publish} behind a caching proxy, or +to use @option{--cache}. Using @option{--cache} has the advantage that it +allows @command{guix publish} to add @code{Content-Length} HTTP header to +its responses. + +@item --cache=@var{directory} +@itemx -c @var{directory} +Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and +only serve archives that are in cache. + +When this option is omitted, archives and meta-data are created on-the-fly. +This can reduce the available bandwidth, especially when compression is +enabled, since this may become CPU-bound. Another drawback of the default +mode is that the length of archives is not known in advance, so +@command{guix publish} does not add a @code{Content-Length} HTTP header to +its responses, which in turn prevents clients from knowing the amount of +data being downloaded. + +Conversely, when @option{--cache} is used, the first request for a store +item (@i{via} a @code{.narinfo} URL) returns 404 and triggers a background +process to @dfn{bake} the archive---computing its @code{.narinfo} and +compressing the archive, if needed. Once the archive is cached in +@var{directory}, subsequent requests succeed and are served directly from +the cache, which guarantees that clients get the best possible bandwidth. + +The ``baking'' process is performed by worker threads. By default, one +thread per CPU core is created, but this can be customized. See +@option{--workers} below. + +When @option{--ttl} is used, cached entries are automatically deleted when +they have expired. + +@item --workers=@var{N} +When @option{--cache} is used, request the allocation of @var{N} worker +threads to ``bake'' archives. + +@item --ttl=@var{ttl} +Produce @code{Cache-Control} HTTP headers that advertise a time-to-live +(TTL) of @var{ttl}. @var{ttl} must denote a duration: @code{5d} means 5 +days, @code{1m} means 1 month, and so on. + +This allows the user's Guix to keep substitute information in cache for +@var{ttl}. However, note that @code{guix publish} does not itself guarantee +that the store items it provides will indeed remain available for as long as +@var{ttl}. + +Additionally, when @option{--cache} is used, cached entries that have not +been accessed for @var{ttl} and that no longer have a corresponding item in +the store, may be deleted. + +@item --nar-path=@var{path} +Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Aufruf von guix archive, normalized archives}). + +By default, nars are served at a URL such as +@code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to change +the @code{/nar} part to @var{path}. + +@item --public-key=@var{file} +@itemx --private-key=@var{file} +Use the specific @var{file}s as the public/private key pair used to sign the +store items being published. + +The files must correspond to the same key pair (the private key is used for +signing and the public key is merely advertised in the signature metadata). +They must contain keys in the canonical s-expression format as produced by +@command{guix archive --generate-key} (@pxref{Aufruf von guix archive}). By +default, @file{/etc/guix/signing-key.pub} and +@file{/etc/guix/signing-key.sec} are used. + +@item --repl[=@var{port}] +@itemx -r [@var{port}] +Spawn a Guile REPL server (@pxref{REPL Servers,,, guile, GNU Guile Reference +Manual}) on @var{port} (37146 by default). This is used primarily for +debugging a running @command{guix publish} server. +@end table + +Enabling @command{guix publish} on a GuixSD system is a one-liner: just +instantiate a @code{guix-publish-service-type} service in the +@code{services} field of the @code{operating-system} declaration +(@pxref{guix-publish-service-type, @code{guix-publish-service-type}}). + +If you are instead running Guix on a ``foreign distro'', follow these +instructions:” + +@itemize +@item +If your host distro uses the systemd init system: + +@example +# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \ + /etc/systemd/system/ +# systemctl start guix-publish && systemctl enable guix-publish +@end example + +@item +Wenn Ihre Wirts-Distribution als »init«-System Upstart verwendet: + +@example +# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/ +# start guix-publish +@end example + +@item +Otherwise, proceed similarly with your distro's init system. +@end itemize + +@node Aufruf von guix challenge +@section Invoking @command{guix challenge} + +@cindex Reproduzierbare Erstellungen +@cindex verifiable builds +@cindex @command{guix challenge} +@cindex challenge +Do the binaries provided by this server really correspond to the source code +it claims to build? Is a package build process deterministic? These are the +questions the @command{guix challenge} command attempts to answer. + +The former is obviously an important question: Before using a substitute +server (@pxref{Substitute}), one had better @emph{verify} that it provides +the right binaries, and thus @emph{challenge} it. The latter is what +enables the former: If package builds are deterministic, then independent +builds of the package should yield the exact same result, bit for bit; if a +server provides a binary different from the one obtained locally, it may be +either corrupt or malicious. + +We know that the hash that shows up in @file{/gnu/store} file names is the +hash of all the inputs of the process that built the file or +directory---compilers, libraries, build scripts, +etc. (@pxref{Einführung}). Assuming deterministic build processes, one +store file name should map to exactly one build output. @command{guix +challenge} checks whether there is, indeed, a single mapping by comparing +the build outputs of several independent builds of any given store item. + +The command output looks like this: + +@smallexample +$ guix challenge --substitute-urls="https://hydra.gnu.org https://guix.example.org" +updating list of substitutes from 'https://hydra.gnu.org'... 100.0% +updating list of substitutes from 'https://guix.example.org'... 100.0% +/gnu/store/@dots{}-openssl-1.0.2d contents differ: + local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q + https://hydra.gnu.org/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q + https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim +/gnu/store/@dots{}-git-2.5.0 contents differ: + local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha + https://hydra.gnu.org/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f + https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 +/gnu/store/@dots{}-pius-2.1.1 contents differ: + local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax + https://hydra.gnu.org/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax + https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs + +@dots{} + +6,406 store items were analyzed: + - 4,749 (74.1%) were identical + - 525 (8.2%) differed + - 1,132 (17.7%) were inconclusive +@end smallexample + +@noindent +In this example, @command{guix challenge} first scans the store to determine +the set of locally-built derivations---as opposed to store items that were +downloaded from a substitute server---and then queries all the substitute +servers. It then reports those store items for which the servers obtained a +result different from the local build. + +@cindex non-determinism, in package builds +As an example, @code{guix.example.org} always gets a different answer. +Conversely, @code{hydra.gnu.org} agrees with local builds, except in the +case of Git. This might indicate that the build process of Git is +non-deterministic, meaning that its output varies as a function of various +things that Guix does not fully control, in spite of building packages in +isolated environments (@pxref{Funktionalitäten}). Most common sources of +non-determinism include the addition of timestamps in build results, the +inclusion of random numbers, and directory listings sorted by inode number. +See @uref{https://reproducible-builds.org/docs/}, for more information. + +To find out what is wrong with this Git binary, we can do something along +these lines (@pxref{Aufruf von guix archive}): + +@example +$ wget -q -O - https://hydra.gnu.org/nar/@dots{}-git-2.5.0 \ + | guix archive -x /tmp/git +$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git +@end example + +This command shows the difference between the files resulting from the local +build, and the files resulting from the build on @code{hydra.gnu.org} +(@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and +Merging Files}). The @command{diff} command works great for text files. +When binary files differ, a better option is @uref{https://diffoscope.org/, +Diffoscope}, a tool that helps visualize differences for all kinds of files. + +Once you have done that work, you can tell whether the differences are due +to a non-deterministic build process or to a malicious server. We try hard +to remove sources of non-determinism in packages to make it easier to verify +substitutes, but of course, this is a process that involves not just Guix, +but a large part of the free software community. In the meantime, +@command{guix challenge} is one tool to help address the problem. + +If you are writing packages for Guix, you are encouraged to check whether +@code{hydra.gnu.org} and other substitute servers obtain the same build +result as you did with: + +@example +$ guix challenge @var{package} +@end example + +@noindent +where @var{package} is a package specification such as @code{guile@@2.0} or +@code{glibc:debug}. + +The general syntax is: + +@example +guix challenge @var{options} [@var{packages}@dots{}] +@end example + +When a difference is found between the hash of a locally-built item and that +of a server-provided substitute, or among substitutes provided by different +servers, the command displays it as in the example above and its exit code +is 2 (other non-zero exit codes denote other kinds of errors.) + +The one option that matters is: + +@table @code + +@item --substitute-urls=@var{URLs} +Consider @var{urls} the whitespace-separated list of substitute source URLs +to compare to. + +@item --verbose +@itemx -v +Show details about matches (identical contents) in addition to information +about mismatches. + +@end table + +@node Aufruf von guix copy +@section Invoking @command{guix copy} + +@cindex copy, of store items, over SSH +@cindex SSH, copy of store items +@cindex sharing store items across machines +@cindex transferring store items across machines +The @command{guix copy} command copies items from the store of one machine +to that of another machine over a secure shell (SSH) +connection@footnote{This command is available only when Guile-SSH was +found. @xref{Voraussetzungen}, for details.}. For example, the following +command copies the @code{coreutils} package, the user's profile, and all +their dependencies over to @var{host}, logged in as @var{user}: + +@example +guix copy --to=@var{user}@@@var{host} \ + coreutils `readlink -f ~/.guix-profile` +@end example + +If some of the items to be copied are already present on @var{host}, they +are not actually sent. + +The command below retrieves @code{libreoffice} and @code{gimp} from +@var{host}, assuming they are available there: + +@example +guix copy --from=@var{host} libreoffice gimp +@end example + +The SSH connection is established using the Guile-SSH client, which is +compatible with OpenSSH: it honors @file{~/.ssh/known_hosts} and +@file{~/.ssh/config}, and uses the SSH agent for authentication. + +The key used to sign items that are sent must be accepted by the remote +machine. Likewise, the key used by the remote machine to sign items you are +retrieving must be in @file{/etc/guix/acl} so it is accepted by your own +daemon. @xref{Aufruf von guix archive}, for more information about store item +authentication. + +The general syntax is: + +@example +guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{} +@end example + +You must always specify one of the following options: + +@table @code +@item --to=@var{spec} +@itemx --from=@var{spec} +Specify the host to send to or receive from. @var{spec} must be an SSH spec +such as @code{example.org}, @code{charlie@@example.org}, or +@code{charlie@@example.org:2222}. +@end table + +The @var{items} can be either package names, such as @code{gimp}, or store +items, such as @file{/gnu/store/@dots{}-idutils-4.6}. + +When specifying the name of a package to send, it is first built if needed, +unless @option{--dry-run} was specified. Common build options are supported +(@pxref{Gemeinsame Erstellungsoptionen}). + + +@node Aufruf von guix container +@section Invoking @command{guix container} +@cindex container +@cindex @command{guix container} +@quotation Anmerkung +As of version @value{VERSION}, this tool is experimental. The interface is +subject to radical change in the future. +@end quotation + +The purpose of @command{guix container} is to manipulate processes running +within an isolated environment, commonly known as a ``container'', typically +created by the @command{guix environment} (@pxref{Aufruf von guix environment}) and @command{guix system container} (@pxref{Aufruf von guix system}) commands. + +The general syntax is: + +@example +guix container @var{action} @var{options}@dots{} +@end example + +@var{action} specifies the operation to perform with a container, and +@var{options} specifies the context-specific arguments for the action. + +The following actions are available: + +@table @code +@item exec +Execute a command within the context of a running container. + +The syntax is: + +@example +guix container exec @var{pid} @var{program} @var{arguments}@dots{} +@end example + +@var{pid} specifies the process ID of the running container. @var{program} +specifies an executable file name within the root file system of the +container. @var{arguments} are the additional options that will be passed +to @var{program}. + +The following command launches an interactive login shell inside a GuixSD +container, started by @command{guix system container}, and whose process ID +is 9001: + +@example +guix container exec 9001 /run/current-system/profile/bin/bash --login +@end example + +Note that the @var{pid} cannot be the parent process of a container. It +must be PID 1 of the container or one of its child processes. + +@end table + +@node Aufruf von guix weather +@section Invoking @command{guix weather} + +Occasionally you're grumpy because substitutes are lacking and you end up +building packages by yourself (@pxref{Substitute}). The @command{guix +weather} command reports on substitute availability on the specified servers +so you can have an idea of whether you'll be grumpy today. It can sometimes +be useful info as a user, but it is primarily useful to people running +@command{guix publish} (@pxref{Aufruf von guix publish}). + +@cindex statistics, for substitutes +@cindex availability of substitutes +@cindex substitute availability +@cindex weather, substitute availability +Here's a sample run: + +@example +$ guix weather --substitute-urls=https://guix.example.org +computing 5,872 package derivations for x86_64-linux... +looking for 6,128 store items on https://guix.example.org.. +updating list of substitutes from 'https://guix.example.org'... 100.0% +https://guix.example.org + 43.4% substitutes available (2,658 out of 6,128) + 7,032.5 MiB of nars (compressed) + 19,824.2 MiB on disk (uncompressed) + 0.030 seconds per request (182.9 seconds in total) + 33.5 requests per second + + 9.8% (342 out of 3,470) of the missing items are queued + 867 queued builds + x86_64-linux: 518 (59.7%) + i686-linux: 221 (25.5%) + aarch64-linux: 128 (14.8%) + build rate: 23.41 builds per hour + x86_64-linux: 11.16 builds per hour + i686-linux: 6.03 builds per hour + aarch64-linux: 6.41 builds per hour +@end example + +@cindex continuous integration, statistics +As you can see, it reports the fraction of all the packages for which +substitutes are available on the server---regardless of whether substitutes +are enabled, and regardless of whether this server's signing key is +authorized. It also reports the size of the compressed archives (``nars'') +provided by the server, the size the corresponding store items occupy in the +store (assuming deduplication is turned off), and the server's throughput. +The second part gives continuous integration (CI) statistics, if the server +supports it. + +To achieve that, @command{guix weather} queries over HTTP(S) meta-data +(@dfn{narinfos}) for all the relevant store items. Like @command{guix +challenge}, it ignores signatures on those substitutes, which is innocuous +since the command only gathers statistics and cannot install those +substitutes. + +Among other things, it is possible to query specific system types and +specific package sets. The available options are listed below. + +@table @code +@item --substitute-urls=@var{URLs} +@var{urls} is the space-separated list of substitute server URLs to query. +When this option is omitted, the default set of substitute servers is +queried. + +@item --system=@var{System} +@itemx -s @var{system} +Query substitutes for @var{system}---e.g., @code{aarch64-linux}. This +option can be repeated, in which case @command{guix weather} will query +substitutes for several system types. + +@item --manifest=@var{Datei} +Instead of querying substitutes for all the packages, only ask for those +specified in @var{file}. @var{file} must contain a @dfn{manifest}, as with +the @code{-m} option of @command{guix package} (@pxref{Aufruf von guix package}). +@end table + +@node Invoking guix processes +@section Invoking @command{guix processes} + +The @command{guix processes} command can be useful to developers and system +administrators, especially on multi-user machines and on build farms: it +lists the current sessions (connections to the daemon), as well as +information about the processes involved@footnote{Remote sessions, when +@command{guix-daemon} is started with @option{--listen} specifying a TCP +endpoint, are @emph{not} listed.}. Here's an example of the information it +returns: + +@example +$ sudo guix processes +SessionPID: 19002 +ClientPID: 19090 +ClientCommand: guix environment --ad-hoc python + +SessionPID: 19402 +ClientPID: 19367 +ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{} + +SessionPID: 19444 +ClientPID: 19419 +ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} +LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock +LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock +LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock +ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800 +ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800 +ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800 +@end example + +In this example we see that @command{guix-daemon} has three clients: +@command{guix environment}, @command{guix publish}, and the Cuirass +continuous integration tool; their process identifier (PID) is given by the +@code{ClientPID} field. The @code{SessionPID} field gives the PID of the +@command{guix-daemon} sub-process of this particular session. + +The @code{LockHeld} fields show which store items are currently locked by +this session, which corresponds to store items being built or substituted +(the @code{LockHeld} field is not displayed when @command{guix processes} is +not running as root.) Last, by looking at the @code{ChildProcess} field, we +understand that these three builds are being offloaded (@pxref{Auslagern des Daemons einrichten}). + +The output is in Recutils format so we can use the handy @command{recsel} +command to select sessions of interest (@pxref{Selection Expressions,,, +recutils, GNU recutils manual}). As an example, the command shows the +command line and PID of the client that triggered the build of a Perl +package: + +@example +$ sudo guix processes | \ + recsel -p ClientPID,ClientCommand -e 'LockHeld ~ "perl"' +ClientPID: 19419 +ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} +@end example + +@c ********************************************************************* +@node GNU-Distribution +@chapter GNU-Distribution + +@cindex Guix System Distribution +@cindex GuixSD +Guix comes with a distribution of the GNU system consisting entirely of free +software@footnote{The term ``free'' here refers to the +@url{http://www.gnu.org/philosophy/free-sw.html,freedom provided to users of +that software}.}. The distribution can be installed on its own +(@pxref{Systeminstallation}), but it is also possible to install Guix as a +package manager on top of an installed GNU/Linux system +(@pxref{Installation}). To distinguish between the two, we refer to the +standalone distribution as the Guix System Distribution, or GuixSD. + +The distribution provides core GNU packages such as GNU libc, GCC, and +Binutils, as well as many GNU and non-GNU applications. The complete list +of available packages can be browsed +@url{http://www.gnu.org/software/guix/packages,on-line} or by running +@command{guix package} (@pxref{Aufruf von guix package}): + +@example +guix package --list-available +@end example + +Our goal is to provide a practical 100% free software distribution of +Linux-based and other variants of GNU, with a focus on the promotion and +tight integration of GNU components, and an emphasis on programs and tools +that help users exert that freedom. + +Packages are currently available on the following platforms: + +@table @code + +@item x86_64-linux +Intel/AMD @code{x86_64} architecture, Linux-Libre kernel; + +@item i686-linux +Intel 32-bit architecture (IA32), Linux-Libre kernel; + +@item armhf-linux +ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI +hard-float application binary interface (ABI), and Linux-Libre kernel. + +@item aarch64-linux +little-endian 64-bit ARMv8-A processors, Linux-Libre kernel. This is +currently in an experimental stage, with limited support. +@xref{Mitwirken}, for how to help! + +@item mips64el-linux +little-endian 64-bit MIPS processors, specifically the Loongson series, n32 +ABI, and Linux-Libre kernel. + +@end table + +GuixSD itself is currently only available on @code{i686} and @code{x86_64}. + +@noindent +For information on porting to other architectures or kernels, +@pxref{Portierung}. + +@menu +* Systeminstallation:: Das ganze Betriebssystem installieren. +* Systemkonfiguration:: Das Betriebssystem konfigurieren. +* Dokumentation:: Wie man Nutzerhandbücher von Software liest. +* Dateien zur Fehlersuche installieren:: Womit man seinen Debugger + füttert. +* Sicherheitsaktualisierungen:: Sicherheits-Patches schnell einspielen. +* Paketmodule:: Pakete aus Sicht des Programmierers. +* Paketrichtlinien:: Die Distribution wachsen lassen. +* Bootstrapping:: GNU/Linux von Grund auf selbst erstellen. +* Portierung:: Guix auf andere Plattformen und Kernels + bringen. +@end menu + +Building this distribution is a cooperative effort, and you are invited to +join! @xref{Mitwirken}, for information about how you can help. + +@node Systeminstallation +@section Systeminstallation + +@cindex installing GuixSD +@cindex Guix System Distribution +This section explains how to install the Guix System Distribution (GuixSD) +on a machine. The Guix package manager can also be installed on top of a +running GNU/Linux system, @pxref{Installation}. + +@ifinfo +@quotation Anmerkung +@c This paragraph is for people reading this from tty2 of the +@c installation image. +You are reading this documentation with an Info reader. For details on how +to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that +follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit +@kbd{l} afterwards to come back here. + +Alternately, run @command{info info} in another tty to keep the manual +available. +@end quotation +@end ifinfo + +@menu +* Einschränkungen:: Was Sie erwarten dürfen. +* Hardware-Überlegungen:: Unterstützte Hardware. +* Installation von USB-Stick oder DVD:: Das Installationsmedium + vorbereiten. +* Vor der Installation:: Netzwerkanbindung, Partitionierung etc. +* Fortfahren mit der Installation:: Die Hauptsache. +* GuixSD in einer VM installieren:: Ein GuixSD-Spielplatz. +* Ein Abbild zur Installation erstellen:: Wie ein solches entsteht. +@end menu + +@node Einschränkungen +@subsection Einschränkungen + +As of version @value{VERSION}, the Guix System Distribution (GuixSD) is not +production-ready. It may contain bugs and lack important features. Thus, +if you are looking for a stable production system that respects your freedom +as a computer user, a good solution at this point is to consider +@url{http://www.gnu.org/distros/free-distros.html, one of the more +established GNU/Linux distributions}. We hope you can soon switch to the +GuixSD without fear, of course. In the meantime, you can also keep using +your distribution and try out the package manager on top of it +(@pxref{Installation}). + +Before you proceed with the installation, be aware of the following +noteworthy limitations applicable to version @value{VERSION}: + +@itemize +@item +The installation process does not include a graphical user interface and +requires familiarity with GNU/Linux (see the following subsections to get a +feel of what that means.) + +@item +Support for the Logical Volume Manager (LVM) is missing. + +@item +More and more system services are provided (@pxref{Dienste}), but some may +be missing. + +@item +More than 7,500 packages are available, but you might occasionally find that +a useful package is missing. + +@item +GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop-Dienste}), as well as a number of X11 window managers. However, some +graphical applications may be missing, as well as KDE. +@end itemize + +You have been warned! But more than a disclaimer, this is an invitation to +report issues (and success stories!), and to join us in improving it. +@xref{Mitwirken}, for more info. + + +@node Hardware-Überlegungen +@subsection Hardware-Überlegungen + +@cindex hardware support on GuixSD +GNU@tie{}GuixSD focuses on respecting the user's computing freedom. It +builds around the kernel Linux-libre, which means that only hardware for +which free software drivers and firmware exist is supported. Nowadays, a +wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from +keyboards to graphics cards to scanners and Ethernet controllers. +Unfortunately, there are still areas where hardware vendors deny users +control over their own computing, and such hardware is not supported on +GuixSD. + +@cindex WiFi, hardware support +One of the main areas where free drivers or firmware are lacking is WiFi +devices. WiFi devices known to work include those using Atheros chips +(AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre +driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core +Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. +Free firmware exists for both and is available out-of-the-box on GuixSD, as +part of @var{%base-firmware} (@pxref{„operating-system“-Referenz, +@code{firmware}}). + +@cindex RYF, Respects Your Freedom +The @uref{https://www.fsf.org/, Free Software Foundation} runs +@uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a +certification program for hardware products that respect your freedom and +your privacy and ensure that you have control over your device. We +encourage you to check the list of RYF-certified devices. + +Another useful resource is the @uref{https://www.h-node.org/, H-Node} web +site. It contains a catalog of hardware devices with information about +their support in GNU/Linux. + + +@node Installation von USB-Stick oder DVD +@subsection Installation von USB-Stick oder DVD + +An ISO-9660 installation image that can be written to a USB stick or burnt +to a DVD can be downloaded from +@indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz}, +where @var{system} is one of: + +@table @code +@item x86_64-linux +for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs; + +@item i686-linux +for a 32-bit GNU/Linux system on Intel-compatible CPUs. +@end table + +@c start duplication of authentication part from ``Binary Installation'' +Make sure to download the associated @file{.sig} file and to verify the +authenticity of the image against it, along these lines: + +@example +$ wget https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig +$ gpg --verify guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig +@end example + +Falls dieser Befehl fehlschlägt, weil Sie nicht über den nötigen +öffentlichen Schlüssel verfügen, können Sie ihn mit diesem Befehl +importieren: + +@example +$ gpg --keyserver @value{KEY-SERVER} \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +@end example + +@noindent +@c end duplication +und den Befehl @code{gpg --verify} erneut ausführen. + +This image contains the tools necessary for an installation. It is meant to +be copied @emph{as is} to a large-enough USB stick or DVD. + +@unnumberedsubsubsec Copying to a USB Stick + +To copy the image to a USB stick, follow these steps: + +@enumerate +@item +Decompress the image using the @command{xz} command: + +@example +xz -d guixsd-install-@value{VERSION}.@var{system}.iso.xz +@end example + +@item +Insert a USB stick of 1@tie{}GiB or more into your machine, and determine +its device name. Assuming that the USB stick is known as @file{/dev/sdX}, +copy the image with: + +@example +dd if=guixsd-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX +sync +@end example + +Access to @file{/dev/sdX} usually requires root privileges. +@end enumerate + +@unnumberedsubsubsec Burning on a DVD + +To copy the image to a DVD, follow these steps: + +@enumerate +@item +Decompress the image using the @command{xz} command: + +@example +xz -d guixsd-install-@value{VERSION}.@var{system}.iso.xz +@end example + +@item +Insert a blank DVD into your machine, and determine its device name. +Assuming that the DVD drive is known as @file{/dev/srX}, copy the image +with: + +@example +growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.x86_64.iso +@end example + +Access to @file{/dev/srX} usually requires root privileges. +@end enumerate + +@unnumberedsubsubsec Booting + +Once this is done, you should be able to reboot the system and boot from the +USB stick or DVD. The latter usually requires you to get in the BIOS or +UEFI boot menu, where you can choose to boot from the USB stick. + +@xref{GuixSD in einer VM installieren}, if, instead, you would like to install +GuixSD in a virtual machine (VM). + + +@node Vor der Installation +@subsection Vor der Installation + +Once you have successfully booted your computer using the installation +medium, you should end up with a root prompt. Several console TTYs are +configured and can be used to run commands as root. TTY2 shows this +documentation, browsable using the Info reader commands (@pxref{Top,,, +info-stnd, Stand-alone GNU Info}). The installation system runs the GPM +mouse daemon, which allows you to select text with the left mouse button and +to paste it with the middle button. + +@quotation Anmerkung +Installation requires access to the Internet so that any missing +dependencies of your system configuration can be downloaded. See the +``Networking'' section below. +@end quotation + +The installation system includes many common tools needed for this task. +But it is also a full-blown GuixSD system, which means that you can install +additional packages, should you need it, using @command{guix package} +(@pxref{Aufruf von guix package}). + +@subsubsection Keyboard Layout + +@cindex keyboard layout +The installation image uses the US qwerty keyboard layout. If you want to +change it, you can use the @command{loadkeys} command. For example, the +following command selects the Dvorak keyboard layout: + +@example +loadkeys dvorak +@end example + +See the files under @file{/run/current-system/profile/share/keymaps} for a +list of available keyboard layouts. Run @command{man loadkeys} for more +information. + +@subsubsection Networking + +Run the following command to see what your network interfaces are called: + +@example +ifconfig -a +@end example + +@noindent +@dots{} or, using the GNU/Linux-specific @command{ip} command: + +@example +ip a +@end example + +@c http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n20 +Wired interfaces have a name starting with @samp{e}; for example, the +interface corresponding to the first on-board Ethernet controller is called +@samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like +@samp{w1p2s0}. + +@table @asis +@item Wired connection +To configure a wired network run the following command, substituting +@var{interface} with the name of the wired interface you want to use. + +@example +ifconfig @var{interface} up +@end example + +@item Wireless connection +@cindex wireless +@cindex WiFi +To configure wireless networking, you can create a configuration file for +the @command{wpa_supplicant} configuration tool (its location is not +important) using one of the available text editors such as @command{nano}: + +@example +nano wpa_supplicant.conf +@end example + +As an example, the following stanza can go to this file and will work for +many wireless networks, provided you give the actual SSID and passphrase for +the network you are connecting to: + +@example +network=@{ + ssid="@var{my-ssid}" + key_mgmt=WPA-PSK + psk="the network's secret passphrase" +@} +@end example + +Start the wireless service and run it in the background with the following +command (substitute @var{interface} with the name of the network interface +you want to use): + +@example +wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B +@end example + +Run @command{man wpa_supplicant} for more information. +@end table + +@cindex DHCP +At this point, you need to acquire an IP address. On a network where IP +addresses are automatically assigned @i{via} DHCP, you can run: + +@example +dhclient -v @var{interface} +@end example + +Try to ping a server to see if networking is up and running: + +@example +ping -c 3 gnu.org +@end example + +Setting up network access is almost always a requirement because the image +does not contain all the software and tools that may be needed. + +@cindex installing over SSH +If you want to, you can continue the installation remotely by starting an +SSH server: + +@example +herd start ssh-daemon +@end example + +Make sure to either set a password with @command{passwd}, or configure +OpenSSH public key authentication before logging in. + +@subsubsection Disk Partitioning + +Unless this has already been done, the next step is to partition, and then +format the target partition(s). + +The installation image includes several partitioning tools, including Parted +(@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and +@command{cfdisk}. Run it and set up your disk with the partition layout you +want: + +@example +cfdisk +@end example + +If your disk uses the GUID Partition Table (GPT) format and you plan to +install BIOS-based GRUB (which is the default), make sure a BIOS Boot +Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual}). + +@cindex EFI, installation +@cindex UEFI, installation +@cindex ESP, EFI system partition +If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System +Partition} (ESP) is required. This partition should be mounted at +@file{/boot/efi} and must have the @code{esp} flag set. E.g., for +@command{parted}: + +@example +parted /dev/sda set 1 esp on +@end example + +@quotation Anmerkung +@vindex grub-bootloader +@vindex grub-efi-bootloader +Unsure whether to use EFI- or BIOS-based GRUB? If the directory +@file{/sys/firmware/efi} exists in the installation image, then you should +probably perform an EFI installation, using @code{grub-efi-bootloader}. +Otherwise you should use the BIOS-based GRUB, known as +@code{grub-bootloader}. @xref{Bootloader-Konfiguration}, for more info on +bootloaders. +@end quotation + +Once you are done partitioning the target hard disk drive, you have to +create a file system on the relevant partition(s)@footnote{Currently GuixSD +only supports ext4 and btrfs file systems. In particular, code that reads +file system UUIDs and labels only works for these file system types.}. For +the ESP, if you have one and assuming it is @file{/dev/sda1}, run: + +@example +mkfs.fat -F32 /dev/sda1 +@end example + +Preferably, assign file systems a label so that you can easily and reliably +refer to them in @code{file-system} declarations (@pxref{Dateisysteme}). +This is typically done using the @code{-L} option of @command{mkfs.ext4} and +related commands. So, assuming the target root partition lives at +@file{/dev/sda2}, a file system with the label @code{my-root} can be created +with: + +@example +mkfs.ext4 -L my-root /dev/sda2 +@end example + +@cindex encrypted disk +If you are instead planning to encrypt the root partition, you can use the +Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, +@uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, +@code{man cryptsetup}} for more information.) Assuming you want to store +the root partition on @file{/dev/sda2}, the command sequence would be along +these lines: + +@example +cryptsetup luksFormat /dev/sda2 +cryptsetup open --type luks /dev/sda2 my-partition +mkfs.ext4 -L my-root /dev/mapper/my-partition +@end example + +Once that is done, mount the target file system under @file{/mnt} with a +command like (again, assuming @code{my-root} is the label of the root file +system): + +@example +mount LABEL=my-root /mnt +@end example + +Also mount any other file systems you would like to use on the target system +relative to this path. If you have @file{/boot} on a separate partition for +example, mount it at @file{/mnt/boot} now so it is found by @code{guix +system init} afterwards. + +Finally, if you plan to use one or more swap partitions (@pxref{Memory +Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure +to initialize them with @command{mkswap}. Assuming you have one swap +partition on @file{/dev/sda3}, you would run: + +@example +mkswap /dev/sda3 +swapon /dev/sda3 +@end example + +Alternatively, you may use a swap file. For example, assuming that in the +new system you want to use the file @file{/swapfile} as a swap file, you +would run@footnote{This example will work for many types of file systems +(e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the +required steps may be different. For details, see the manual pages for +@command{mkswap} and @command{swapon}.}: + +@example +# This is 10 GiB of swap space. Adjust "count" to change the size. +dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240 +# For security, make the file readable and writable only by root. +chmod 600 /mnt/swapfile +mkswap /mnt/swapfile +swapon /mnt/swapfile +@end example + +Note that if you have encrypted the root partition and created a swap file +in its file system as described above, then the encryption also protects the +swap file, just like any other file in that file system. + +@node Fortfahren mit der Installation +@subsection Fortfahren mit der Installation + +With the target partitions ready and the target root mounted on @file{/mnt}, +we're ready to go. First, run: + +@example +herd start cow-store /mnt +@end example + +This makes @file{/gnu/store} copy-on-write, such that packages added to it +during the installation phase are written to the target disk on @file{/mnt} +rather than kept in memory. This is necessary because the first phase of +the @command{guix system init} command (see below) entails downloads or +builds to @file{/gnu/store} which, initially, is an in-memory file system. + +Next, you have to edit a file and provide the declaration of the operating +system to be installed. To that end, the installation system comes with +three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano +Manual}), which supports syntax highlighting and parentheses matching; other +editors include GNU Zile (an Emacs clone), and nvi (a clone of the original +BSD @command{vi} editor). We strongly recommend storing that file on the +target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do +that, you will have lost your configuration file once you have rebooted into +the newly-installed system. + +@xref{Das Konfigurationssystem nutzen}, for an overview of the configuration +file. The example configurations discussed in that section are available +under @file{/etc/configuration} in the installation image. Thus, to get +started with a system configuration providing a graphical display server (a +``desktop'' system), you can run something along these lines: + +@example +# mkdir /mnt/etc +# cp /etc/configuration/desktop.scm /mnt/etc/config.scm +# nano /mnt/etc/config.scm +@end example + +You should pay attention to what your configuration file contains, and in +particular: + +@itemize +@item +Make sure the @code{bootloader-configuration} form refers to the target you +want to install GRUB on. It should mention @code{grub-bootloader} if you +are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for +newer UEFI systems. For legacy systems, the @code{target} field names a +device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted +EFI partition, like @code{/boot/efi}, and do make sure the path is actually +mounted. + +@item +Be sure that your file system labels match the value of their respective +@code{device} fields in your @code{file-system} configuration, assuming your +@code{file-system} configuration uses the @code{file-system-label} procedure +in its @code{device} field. + +@item +If there are encrypted or RAID partitions, make sure to add a +@code{mapped-devices} field to describe them (@pxref{Abgebildete Geräte}). +@end itemize + +Once you are done preparing the configuration file, the new system must be +initialized (remember that the target root file system is mounted under +@file{/mnt}): + +@example +guix system init /mnt/etc/config.scm /mnt +@end example + +@noindent +This copies all the necessary files and installs GRUB on @file{/dev/sdX}, +unless you pass the @option{--no-bootloader} option. For more information, +@pxref{Aufruf von guix system}. This command may trigger downloads or builds +of missing packages, which can take some time. + +Once that command has completed---and hopefully succeeded!---you can run +@command{reboot} and boot into the new system. The @code{root} password in +the new system is initially empty; other users' passwords need to be +initialized by running the @command{passwd} command as @code{root}, unless +your configuration specifies otherwise (@pxref{user-account-password, user +account passwords}). + +@cindex upgrading GuixSD +From then on, you can update GuixSD whenever you want by running +@command{guix pull} as @code{root} (@pxref{Aufruf von guix pull}), and then +running @command{guix system reconfigure} to build a new system generation +with the latest packages and services (@pxref{Aufruf von guix system}). We +recommend doing that regularly so that your system includes the latest +security updates (@pxref{Sicherheitsaktualisierungen}). + +Join us on @code{#guix} on the Freenode IRC network or on +@file{guix-devel@@gnu.org} to share your experience---good or not so good. + +@node GuixSD in einer VM installieren +@subsection Installing GuixSD in a Virtual Machine + +@cindex virtual machine, GuixSD installation +@cindex virtual private server (VPS) +@cindex VPS (virtual private server) +If you'd like to install GuixSD in a virtual machine (VM) or on a virtual +private server (VPS) rather than on your beloved machine, this section is +for you. + +To boot a @uref{http://qemu.org/,QEMU} VM for installing GuixSD in a disk +image, follow these steps: + +@enumerate +@item +First, retrieve and decompress the GuixSD installation image as described +previously (@pxref{Installation von USB-Stick oder DVD}). + +@item +Create a disk image that will hold the installed system. To make a +qcow2-formatted disk image, use the @command{qemu-img} command: + +@example +qemu-img create -f qcow2 guixsd.img 50G +@end example + +The resulting file will be much smaller than 50 GB (typically less than 1 +MB), but it will grow as the virtualized storage device is filled up. + +@item +Boot the USB installation image in an VM: + +@example +qemu-system-x86_64 -m 1024 -smp 1 \ + -net user -net nic,model=virtio -boot menu=on \ + -drive file=guixsd-install-@value{VERSION}.@var{system}.iso \ + -drive file=guixsd.img +@end example + +The ordering of the drives matters. + +In the VM console, quickly press the @kbd{F12} key to enter the boot menu. +Then press the @kbd{2} key and the @kbd{RET} key to validate your selection. + +@item +You're now root in the VM, proceed with the installation process. +@xref{Vor der Installation}, and follow the instructions. +@end enumerate + +Once installation is complete, you can boot the system that's on your +@file{guixsd.img} image. @xref{GuixSD in einer VM starten}, for how to do that. + +@node Ein Abbild zur Installation erstellen +@subsection Ein Abbild zur Installation erstellen + +@cindex installation image +The installation image described above was built using the @command{guix +system} command, specifically: + +@example +guix system disk-image gnu/system/install.scm +@end example + +Have a look at @file{gnu/system/install.scm} in the source tree, and see +also @ref{Aufruf von guix system} for more information about the installation +image. + +@subsection Building the Installation Image for ARM Boards + +Many ARM boards require a specific variant of the +@uref{http://www.denx.de/wiki/U-Boot/, U-Boot} bootloader. + +If you build a disk image and the bootloader is not available otherwise (on +another boot drive etc), it's advisable to build an image that includes the +bootloader, specifically: + +@example +guix system disk-image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) "A20-OLinuXino-Lime2")' +@end example + +@code{A20-OLinuXino-Lime2} is the name of the board. If you specify an +invalid board, a list of possible boards will be printed. + +@node Systemkonfiguration +@section Systemkonfiguration + +@cindex system configuration +The Guix System Distribution supports a consistent whole-system +configuration mechanism. By that we mean that all aspects of the global +system configuration---such as the available system services, timezone and +locale settings, user accounts---are declared in a single place. Such a +@dfn{system configuration} can be @dfn{instantiated}---i.e., effected. + +@c Yes, we're talking of Puppet, Chef, & co. here. ↑ +One of the advantages of putting all the system configuration under the +control of Guix is that it supports transactional system upgrades, and makes +it possible to roll back to a previous system instantiation, should +something go wrong with the new one (@pxref{Funktionalitäten}). Another advantage +is that it makes it easy to replicate the exact same configuration across +different machines, or at different points in time, without having to resort +to additional administration tools layered on top of the own tools of the +system. + +This section describes this mechanism. First we focus on the system +administrator's viewpoint---explaining how the system is configured and +instantiated. Then we show how this mechanism can be extended, for instance +to support new system services. + +@menu +* Das Konfigurationssystem nutzen:: Ihr GNU-System anpassen. +* „operating-system“-Referenz:: Details der + Betriebssystem-Deklarationen. +* Dateisysteme:: Die Dateisystemeinbindungen konfigurieren. +* Abgebildete Geräte:: Näheres zu blockorientierten Speichermedien. +* Benutzerkonten:: Benutzerkonten festlegen. +* Locales:: Sprache und kulturelle Konventionen. +* Dienste:: Systemdienste festlegen. +* Setuid-Programme:: Mit Administratorrechten startende Programme. +* X.509-Zertifikate:: HTTPS-Server authentifizieren. +* Name Service Switch:: Den Name Service Switch von libc konfigurieren. +* Initiale RAM-Disk:: Linux-libre hochfahren. +* Bootloader-Konfiguration:: Den Bootloader konfigurieren. +* Aufruf von guix system:: Instanzierung einer Systemkonfiguration. +* GuixSD in einer VM starten:: Wie man GuixSD in einer virtuellen Maschine + startet. +* Dienste definieren:: Neue Dienstdefinitionen hinzufügen. +@end menu + +@node Das Konfigurationssystem nutzen +@subsection Das Konfigurationssystem nutzen + +The operating system is configured by providing an @code{operating-system} +declaration in a file that can then be passed to the @command{guix system} +command (@pxref{Aufruf von guix system}). A simple setup, with the default +system services, the default Linux-Libre kernel, initial RAM disk, and boot +loader looks like this: + +@findex operating-system +@lisp +@include os-config-bare-bones.texi +@end lisp + +This example should be self-describing. Some of the fields defined above, +such as @code{host-name} and @code{bootloader}, are mandatory. Others, such +as @code{packages} and @code{services}, can be omitted, in which case they +get a default value. + +Below we discuss the effect of some of the most important fields +(@pxref{„operating-system“-Referenz}, for details about all the available +fields), and how to @dfn{instantiate} the operating system using +@command{guix system}. + +@unnumberedsubsubsec Bootloader + +@cindex legacy boot, on Intel machines +@cindex BIOS boot, on Intel machines +@cindex UEFI boot +@cindex EFI boot +The @code{bootloader} field describes the method that will be used to boot +your system. Machines based on Intel processors can boot in ``legacy'' BIOS +mode, as in the example above. However, more recent machines rely instead +on the @dfn{Unified Extensible Firmware Interface} (UEFI) to boot. In that +case, the @code{bootloader} field should contain something along these +lines: + +@example +(bootloader-configuration + (bootloader grub-efi-bootloader) + (target "/boot/efi")) +@end example + +@xref{Bootloader-Konfiguration}, for more information on the available +configuration options. + +@unnumberedsubsubsec Globally-Visible Packages + +@vindex %base-packages +The @code{packages} field lists packages that will be globally visible on +the system, for all user accounts---i.e., in every user's @code{PATH} +environment variable---in addition to the per-user profiles (@pxref{Aufruf von guix package}). The @var{%base-packages} variable provides all the tools +one would expect for basic user and administrator tasks---including the GNU +Core Utilities, the GNU Networking Utilities, the GNU Zile lightweight text +editor, @command{find}, @command{grep}, etc. The example above adds +GNU@tie{}Screen to those, taken from the @code{(gnu packages screen)} module +(@pxref{Paketmodule}). The @code{(list package output)} syntax can be +used to add a specific output of a package: + +@lisp +(use-modules (gnu packages)) +(use-modules (gnu packages dns)) + +(operating-system + ;; ... + (packages (cons (list bind "utils") + %base-packages))) +@end lisp + +@findex specification->package +Referring to packages by variable name, like @code{bind} above, has the +advantage of being unambiguous; it also allows typos and such to be +diagnosed right away as ``unbound variables''. The downside is that one +needs to know which module defines which package, and to augment the +@code{use-package-modules} line accordingly. To avoid that, one can use the +@code{specification->package} procedure of the @code{(gnu packages)} module, +which returns the best package for a given name or name and version: + +@lisp +(use-modules (gnu packages)) + +(operating-system + ;; ... + (packages (append (map specification->package + '("tcpdump" "htop" "gnupg@@2.0")) + %base-packages))) +@end lisp + +@unnumberedsubsubsec System Services + +@cindex services +@vindex %base-services +The @code{services} field lists @dfn{system services} to be made available +when the system starts (@pxref{Dienste}). The @code{operating-system} +declaration above specifies that, in addition to the basic services, we want +the @command{lshd} secure shell daemon listening on port 2222 +(@pxref{Netzwerkdienste, @code{lsh-service}}). Under the hood, +@code{lsh-service} arranges so that @code{lshd} is started with the right +command-line options, possibly with supporting configuration files generated +as needed (@pxref{Dienste definieren}). + +@cindex customization, of services +@findex modify-services +Occasionally, instead of using the base services as is, you will want to +customize them. To do this, use @code{modify-services} (@pxref{Service-Referenz, @code{modify-services}}) to modify the list. + +For example, suppose you want to modify @code{guix-daemon} and Mingetty (the +console log-in) in the @var{%base-services} list (@pxref{Basisdienste, +@code{%base-services}}). To do that, you can write the following in your +operating system declaration: + +@lisp +(define %my-services + ;; My very own list of services. + (modify-services %base-services + (guix-service-type config => + (guix-configuration + (inherit config) + (use-substitutes? #f) + (extra-options '("--gc-keep-derivations")))) + (mingetty-service-type config => + (mingetty-configuration + (inherit config))))) + +(operating-system + ;; @dots{} + (services %my-services)) +@end lisp + +This changes the configuration---i.e., the service parameters---of the +@code{guix-service-type} instance, and that of all the +@code{mingetty-service-type} instances in the @var{%base-services} list. +Observe how this is accomplished: first, we arrange for the original +configuration to be bound to the identifier @code{config} in the @var{body}, +and then we write the @var{body} so that it evaluates to the desired +configuration. In particular, notice how we use @code{inherit} to create a +new configuration which has the same values as the old configuration, but +with a few modifications. + +@cindex encrypted disk +The configuration for a typical ``desktop'' usage, with an encrypted root +partition, the X11 display server, GNOME and Xfce (users can choose which of +these desktop environments to use at the log-in screen by pressing +@kbd{F1}), network management, power management, and more, would look like +this: + +@lisp +@include os-config-desktop.texi +@end lisp + +A graphical system with a choice of lightweight window managers instead of +full-blown desktop environments would look like this: + +@lisp +@include os-config-lightweight-desktop.texi +@end lisp + +This example refers to the @file{/boot/efi} file system by its UUID, +@code{1234-ABCD}. Replace this UUID with the right UUID on your system, as +returned by the @command{blkid} command. + +@xref{Desktop-Dienste}, for the exact list of services provided by +@var{%desktop-services}. @xref{X.509-Zertifikate}, for background +information about the @code{nss-certs} package that is used here. + +Again, @var{%desktop-services} is just a list of service objects. If you +want to remove services from there, you can do so using the procedures for +list filtering (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile +Reference Manual}). For instance, the following expression returns a list +that contains all the services in @var{%desktop-services} minus the Avahi +service: + +@example +(remove (lambda (service) + (eq? (service-kind service) avahi-service-type)) + %desktop-services) +@end example + +@unnumberedsubsubsec Instantiating the System + +Assuming the @code{operating-system} declaration is stored in the +@file{my-system-config.scm} file, the @command{guix system reconfigure +my-system-config.scm} command instantiates that configuration, and makes it +the default GRUB boot entry (@pxref{Aufruf von guix system}). + +The normal way to change the system configuration is by updating this file +and re-running @command{guix system reconfigure}. One should never have to +touch files in @file{/etc} or to run commands that modify the system state +such as @command{useradd} or @command{grub-install}. In fact, you must +avoid that since that would not only void your warranty but also prevent you +from rolling back to previous versions of your system, should you ever need +to. + +@cindex roll-back, of the operating system +Speaking of roll-back, each time you run @command{guix system reconfigure}, +a new @dfn{generation} of the system is created---without modifying or +deleting previous generations. Old system generations get an entry in the +bootloader boot menu, allowing you to boot them in case something went wrong +with the latest generation. Reassuring, no? The @command{guix system +list-generations} command lists the system generations available on disk. +It is also possible to roll back the system via the commands @command{guix +system roll-back} and @command{guix system switch-generation}. + +Although the @command{guix system reconfigure} command will not modify +previous generations, you must take care when the current generation is not +the latest (e.g., after invoking @command{guix system roll-back}), since the +operation might overwrite a later generation (@pxref{Aufruf von guix system}). + +@unnumberedsubsubsec The Programming Interface + +At the Scheme level, the bulk of an @code{operating-system} declaration is +instantiated with the following monadic procedure (@pxref{Die Store-Monade}): + +@deffn {Monadic Procedure} operating-system-derivation os +Return a derivation that builds @var{os}, an @code{operating-system} object +(@pxref{Ableitungen}). + +The output of the derivation is a single directory that refers to all the +packages, configuration files, and other supporting files needed to +instantiate @var{os}. +@end deffn + +This procedure is provided by the @code{(gnu system)} module. Along with +@code{(gnu services)} (@pxref{Dienste}), this module contains the guts of +GuixSD. Make sure to visit it! + + +@node „operating-system“-Referenz +@subsection @code{operating-system} Reference + +This section summarizes all the options available in @code{operating-system} +declarations (@pxref{Das Konfigurationssystem nutzen}). + +@deftp {Data Type} operating-system +This is the data type representing an operating system configuration. By +that, we mean all the global system configuration, not per-user +configuration (@pxref{Das Konfigurationssystem nutzen}). + +@table @asis +@item @code{kernel} (default: @var{linux-libre}) +The package object of the operating system kernel to use@footnote{Currently +only the Linux-libre kernel is supported. In the future, it will be +possible to use the GNU@tie{}Hurd.}. + +@item @code{kernel-arguments} (default: @code{'()}) +List of strings or gexps representing additional arguments to pass on the +command-line of the kernel---e.g., @code{("console=ttyS0")}. + +@item @code{bootloader} +The system bootloader configuration object. @xref{Bootloader-Konfiguration}. + +@item @code{initrd-modules} (default: @code{%base-initrd-modules}) +@cindex initrd +@cindex initial RAM disk +The list of Linux kernel modules that need to be available in the initial +RAM disk. @xref{Initiale RAM-Disk}. + +@item @code{initrd} (default: @code{base-initrd}) +A procedure that returns an initial RAM disk for the Linux kernel. This +field is provided to support low-level customization and should rarely be +needed for casual use. @xref{Initiale RAM-Disk}. + +@item @code{firmware} (default: @var{%base-firmware}) +@cindex firmware +List of firmware packages loadable by the operating system kernel. + +The default includes firmware needed for Atheros- and Broadcom-based WiFi +devices (Linux-libre modules @code{ath9k} and @code{b43-open}, +respectively). @xref{Hardware-Überlegungen}, for more info on supported +hardware. + +@item @code{host-name} +The host name. + +@item @code{hosts-file} +@cindex hosts file +A file-like object (@pxref{G-Ausdrücke, file-like objects}) for use as +@file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference +Manual}). The default is a file with entries for @code{localhost} and +@var{host-name}. + +@item @code{mapped-devices} (default: @code{'()}) +A list of mapped devices. @xref{Abgebildete Geräte}. + +@item @code{file-systems} +A list of file systems. @xref{Dateisysteme}. + +@item @code{swap-devices} (default: @code{'()}) +@cindex swap devices +A list of strings identifying devices or files to be used for ``swap space'' +(@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). For +example, @code{'("/dev/sda3")} or @code{'("/swapfile")}. It is possible to +specify a swap file in a file system on a mapped device, provided that the +necessary device mapping and file system are also specified. @xref{Abgebildete Geräte} and @ref{Dateisysteme}. + +@item @code{users} (default: @code{%base-user-accounts}) +@itemx @code{groups} (default: @var{%base-groups}) +List of user accounts and groups. @xref{Benutzerkonten}. + +If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' +account with UID@tie{}0 is automatically added. + +@item @code{skeletons} (default: @code{(default-skeletons)}) +A list target file name/file-like object tuples (@pxref{G-Ausdrücke, +file-like objects}). These are the skeleton files that will be added to the +home directory of newly-created user accounts. + +For instance, a valid value may look like this: + +@example +`((".bashrc" ,(plain-file "bashrc" "echo Hello\n")) + (".guile" ,(plain-file "guile" + "(use-modules (ice-9 readline)) + (activate-readline)"))) +@end example + +@item @code{issue} (default: @var{%default-issue}) +A string denoting the contents of the @file{/etc/issue} file, which is +displayed when users log in on a text console. + +@item @code{packages} (default: @var{%base-packages}) +The set of packages installed in the global profile, which is accessible at +@file{/run/current-system/profile}. + +The default set includes core utilities and it is good practice to install +non-core utilities in user profiles (@pxref{Aufruf von guix package}). + +@item @code{timezone} +A timezone identifying string---e.g., @code{"Europe/Paris"}. + +You can run the @command{tzselect} command to find out which timezone string +corresponds to your region. Choosing an invalid timezone name causes +@command{guix system} to fail. + +@item @code{locale} (default: @code{"en_US.utf8"}) +The name of the default locale (@pxref{Locale Names,,, libc, The GNU C +Library Reference Manual}). @xref{Locales}, for more information. + +@item @code{locale-definitions} (default: @var{%default-locale-definitions}) +The list of locale definitions to be compiled and that may be used at run +time. @xref{Locales}. + +@item @code{locale-libcs} (default: @code{(list @var{glibc})}) +The list of GNU@tie{}libc packages whose locale data and tools are used to +build the locale definitions. @xref{Locales}, for compatibility +considerations that justify this option. + +@item @code{name-service-switch} (default: @var{%default-nss}) +Configuration of the libc name service switch (NSS)---a +@code{} object. @xref{Name Service Switch}, for +details. + +@item @code{services} (default: @var{%base-services}) +A list of service objects denoting system services. @xref{Dienste}. + +@item @code{pam-services} (default: @code{(base-pam-services)}) +@cindex PAM +@cindex pluggable authentication modules +@c FIXME: Add xref to PAM services section. +Linux @dfn{pluggable authentication module} (PAM) services. + +@item @code{setuid-programs} (default: @var{%setuid-programs}) +List of string-valued G-expressions denoting setuid programs. @xref{Setuid-Programme}. + +@item @code{sudoers-file} (default: @var{%sudoers-specification}) +@cindex sudoers file +The contents of the @file{/etc/sudoers} file as a file-like object +(@pxref{G-Ausdrücke, @code{local-file} and @code{plain-file}}). + +This file specifies which users can use the @command{sudo} command, what +they are allowed to do, and what privileges they may gain. The default is +that only @code{root} and members of the @code{wheel} group may use +@code{sudo}. + +@end table +@end deftp + +@node Dateisysteme +@subsection Dateisysteme + +The list of file systems to be mounted is specified in the +@code{file-systems} field of the operating system declaration (@pxref{Das Konfigurationssystem nutzen}). Each file system is declared using the +@code{file-system} form, like this: + +@example +(file-system + (mount-point "/home") + (device "/dev/sda3") + (type "ext4")) +@end example + +As usual, some of the fields are mandatory---those shown in the example +above---while others can be omitted. These are described below. + +@deftp {Data Type} file-system +Objects of this type represent file systems to be mounted. They contain the +following members: + +@table @asis +@item @code{type} +This is a string specifying the type of the file system---e.g., +@code{"ext4"}. + +@item @code{mount-point} +This designates the place where the file system is to be mounted. + +@item @code{device} +This names the ``source'' of the file system. It can be one of three +things: a file system label, a file system UUID, or the name of a +@file{/dev} node. Labels and UUIDs offer a way to refer to file systems +without having to hard-code their actual device name@footnote{Note that, +while it is tempting to use @file{/dev/disk/by-uuid} and similar device +names to achieve the same result, this is not recommended: These special +device nodes are created by the udev daemon and may be unavailable at the +time the device is mounted.}. + +@findex file-system-label +File system labels are created using the @code{file-system-label} procedure, +UUIDs are created using @code{uuid}, and @file{/dev} node are plain +strings. Here's an example of a file system referred to by its label, as +shown by the @command{e2label} command: + +@example +(file-system + (mount-point "/home") + (type "ext4") + (device (file-system-label "my-home"))) +@end example + +@findex uuid +UUIDs are converted from their string representation (as shown by the +@command{tune2fs -l} command) using the @code{uuid} form@footnote{The +@code{uuid} form expects 16-byte UUIDs as defined in +@uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. This is the form +of UUID used by the ext2 family of file systems and others, but it is +different from ``UUIDs'' found in FAT file systems, for instance.}, like +this: + +@example +(file-system + (mount-point "/home") + (type "ext4") + (device (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb"))) +@end example + +When the source of a file system is a mapped device (@pxref{Abgebildete Geräte}), its @code{device} field @emph{must} refer to the mapped device +name---e.g., @file{"/dev/mapper/root-partition"}. This is required so that +the system knows that mounting the file system depends on having the +corresponding device mapping established. + +@item @code{flags} (default: @code{'()}) +This is a list of symbols denoting mount flags. Recognized flags include +@code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to +special files), @code{no-suid} (ignore setuid and setgid bits), and +@code{no-exec} (disallow program execution.) + +@item @code{options} (default: @code{#f}) +This is either @code{#f}, or a string denoting mount options. + +@item @code{mount?} (default: @code{#t}) +This value indicates whether to automatically mount the file system when the +system is brought up. When set to @code{#f}, the file system gets an entry +in @file{/etc/fstab} (read by the @command{mount} command) but is not +automatically mounted. + +@item @code{needed-for-boot?} (default: @code{#f}) +This Boolean value indicates whether the file system is needed when +booting. If that is true, then the file system is mounted when the initial +RAM disk (initrd) is loaded. This is always the case, for instance, for the +root file system. + +@item @code{check?} (default: @code{#t}) +This Boolean indicates whether the file system needs to be checked for +errors before being mounted. + +@item @code{create-mount-point?} (default: @code{#f}) +When true, the mount point is created if it does not exist yet. + +@item @code{dependencies} (default: @code{'()}) +This is a list of @code{} or @code{} objects +representing file systems that must be mounted or mapped devices that must +be opened before (and unmounted or closed after) this one. + +As an example, consider a hierarchy of mounts: @file{/sys/fs/cgroup} is a +dependency of @file{/sys/fs/cgroup/cpu} and @file{/sys/fs/cgroup/memory}. + +Another example is a file system that depends on a mapped device, for +example for an encrypted partition (@pxref{Abgebildete Geräte}). +@end table +@end deftp + +The @code{(gnu system file-systems)} exports the following useful variables. + +@defvr {Scheme Variable} %base-file-systems +These are essential file systems that are required on normal systems, such +as @var{%pseudo-terminal-file-system} and @var{%immutable-store} (see +below.) Operating system declarations should always contain at least these. +@end defvr + +@defvr {Scheme Variable} %pseudo-terminal-file-system +This is the file system to be mounted as @file{/dev/pts}. It supports +@dfn{pseudo-terminals} created @i{via} @code{openpty} and similar functions +(@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). +Pseudo-terminals are used by terminal emulators such as @command{xterm}. +@end defvr + +@defvr {Scheme Variable} %shared-memory-file-system +This file system is mounted as @file{/dev/shm} and is used to support memory +sharing across processes (@pxref{Memory-mapped I/O, @code{shm_open},, libc, +The GNU C Library Reference Manual}). +@end defvr + +@defvr {Scheme Variable} %immutable-store +This file system performs a read-only ``bind mount'' of @file{/gnu/store}, +making it read-only for all the users including @code{root}. This prevents +against accidental modification by software running as @code{root} or by +system administrators. + +The daemon itself is still able to write to the store: it remounts it +read-write in its own ``name space.'' +@end defvr + +@defvr {Scheme Variable} %binary-format-file-system +The @code{binfmt_misc} file system, which allows handling of arbitrary +executable file types to be delegated to user space. This requires the +@code{binfmt.ko} kernel module to be loaded. +@end defvr + +@defvr {Scheme Variable} %fuse-control-file-system +The @code{fusectl} file system, which allows unprivileged users to mount and +unmount user-space FUSE file systems. This requires the @code{fuse.ko} +kernel module to be loaded. +@end defvr + +@node Abgebildete Geräte +@subsection Abgebildete Geräte + +@cindex device mapping +@cindex mapped devices +The Linux kernel has a notion of @dfn{device mapping}: a block device, such +as a hard disk partition, can be @dfn{mapped} into another device, usually +in @code{/dev/mapper/}, with additional processing over the data that flows +through it@footnote{Note that the GNU@tie{}Hurd makes no difference between +the concept of a ``mapped device'' and that of a file system: both boil down +to @emph{translating} input/output operations made on a file to operations +on its backing store. Thus, the Hurd implements mapped devices, like file +systems, using the generic @dfn{translator} mechanism (@pxref{Translators,,, +hurd, The GNU Hurd Reference Manual}).}. A typical example is encryption +device mapping: all writes to the mapped device are encrypted, and all reads +are deciphered, transparently. Guix extends this notion by considering any +device or set of devices that are @dfn{transformed} in some way to create a +new device; for instance, RAID devices are obtained by @dfn{assembling} +several other devices, such as hard disks or partitions, into a new one that +behaves as one partition. Other examples, not yet implemented, are LVM +logical volumes. + +Mapped devices are declared using the @code{mapped-device} form, defined as +follows; for examples, see below. + +@deftp {Data Type} mapped-device +Objects of this type represent device mappings that will be made when the +system boots up. + +@table @code +@item source +This is either a string specifying the name of the block device to be +mapped, such as @code{"/dev/sda3"}, or a list of such strings when several +devices need to be assembled for creating a new one. + +@item target +This string specifies the name of the resulting mapped device. For kernel +mappers such as encrypted devices of type @code{luks-device-mapping}, +specifying @code{"my-partition"} leads to the creation of the +@code{"/dev/mapper/my-partition"} device. For RAID devices of type +@code{raid-device-mapping}, the full device name such as @code{"/dev/md0"} +needs to be given. + +@item type +This must be a @code{mapped-device-kind} object, which specifies how +@var{source} is mapped to @var{target}. +@end table +@end deftp + +@defvr {Scheme Variable} luks-device-mapping +This defines LUKS block device encryption using the @command{cryptsetup} +command from the package with the same name. It relies on the +@code{dm-crypt} Linux kernel module. +@end defvr + +@defvr {Scheme Variable} raid-device-mapping +This defines a RAID device, which is assembled using the @code{mdadm} +command from the package with the same name. It requires a Linux kernel +module for the appropriate RAID level to be loaded, such as @code{raid456} +for RAID-4, RAID-5 or RAID-6, or @code{raid10} for RAID-10. +@end defvr + +@cindex disk encryption +@cindex LUKS +The following example specifies a mapping from @file{/dev/sda3} to +@file{/dev/mapper/home} using LUKS---the +@url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, a +standard mechanism for disk encryption. The @file{/dev/mapper/home} device +can then be used as the @code{device} of a @code{file-system} declaration +(@pxref{Dateisysteme}). + +@example +(mapped-device + (source "/dev/sda3") + (target "home") + (type luks-device-mapping)) +@end example + +Alternatively, to become independent of device numbering, one may obtain the +LUKS UUID (@dfn{unique identifier}) of the source device by a command like: + +@example +cryptsetup luksUUID /dev/sda3 +@end example + +and use it as follows: + +@example +(mapped-device + (source (uuid "cb67fc72-0d54-4c88-9d4b-b225f30b0f44")) + (target "home") + (type luks-device-mapping)) +@end example + +@cindex swap encryption +It is also desirable to encrypt swap space, since swap space may contain +sensitive data. One way to accomplish that is to use a swap file in a file +system on a device mapped via LUKS encryption. In this way, the swap file +is encrypted because the entire device is encrypted. @xref{Vor der Installation,,Disk Partitioning}, for an example. + +A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} +may be declared as follows: + +@example +(mapped-device + (source (list "/dev/sda1" "/dev/sdb1")) + (target "/dev/md0") + (type raid-device-mapping)) +@end example + +The @file{/dev/md0} device can then be used as the @code{device} of a +@code{file-system} declaration (@pxref{Dateisysteme}). Note that the RAID +level need not be given; it is chosen during the initial creation and +formatting of the RAID device and is determined automatically later. + + +@node Benutzerkonten +@subsection Benutzerkonten + +@cindex users +@cindex accounts +@cindex user accounts +User accounts and groups are entirely managed through the +@code{operating-system} declaration. They are specified with the +@code{user-account} and @code{user-group} forms: + +@example +(user-account + (name "alice") + (group "users") + (supplementary-groups '("wheel" ;allow use of sudo, etc. + "audio" ;sound card + "video" ;video devices such as webcams + "cdrom")) ;the good ol' CD-ROM + (comment "Bob's sister") + (home-directory "/home/alice")) +@end example + +When booting or upon completion of @command{guix system reconfigure}, the +system ensures that only the user accounts and groups specified in the +@code{operating-system} declaration exist, and with the specified +properties. Thus, account or group creations or modifications made by +directly invoking commands such as @command{useradd} are lost upon +reconfiguration or reboot. This ensures that the system remains exactly as +declared. + +@deftp {Data Type} user-account +Objects of this type represent user accounts. The following members may be +specified: + +@table @asis +@item @code{name} +The name of the user account. + +@item @code{group} +@cindex groups +This is the name (a string) or identifier (a number) of the user group this +account belongs to. + +@item @code{supplementary-groups} (default: @code{'()}) +Optionally, this can be defined as a list of group names that this account +belongs to. + +@item @code{uid} (default: @code{#f}) +This is the user ID for this account (a number), or @code{#f}. In the +latter case, a number is automatically chosen by the system when the account +is created. + +@item @code{comment} (default: @code{""}) +A comment about the account, such as the account owner's full name. + +@item @code{home-directory} +This is the name of the home directory for the account. + +@item @code{create-home-directory?} (default: @code{#t}) +Indicates whether the home directory of this account should be created if it +does not exist yet. + +@item @code{shell} (default: Bash) +This is a G-expression denoting the file name of a program to be used as the +shell (@pxref{G-Ausdrücke}). + +@item @code{system?} (default: @code{#f}) +This Boolean value indicates whether the account is a ``system'' account. +System accounts are sometimes treated specially; for instance, graphical +login managers do not list them. + +@anchor{user-account-password} +@item @code{password} (default: @code{#f}) +You would normally leave this field to @code{#f}, initialize user passwords +as @code{root} with the @command{passwd} command, and then let users change +it with @command{passwd}. Passwords set with @command{passwd} are of course +preserved across reboot and reconfiguration. + +If you @emph{do} want to have a preset password for an account, then this +field must contain the encrypted password, as a string. @xref{crypt,,, +libc, The GNU C Library Reference Manual}, for more information on password +encryption, and @ref{Encryption,,, guile, GNU Guile Reference Manual}, for +information on Guile's @code{crypt} procedure. + +@end table +@end deftp + +@cindex groups +User group declarations are even simpler: + +@example +(user-group (name "students")) +@end example + +@deftp {Data Type} user-group +This type is for, well, user groups. There are just a few fields: + +@table @asis +@item @code{name} +The name of the group. + +@item @code{id} (default: @code{#f}) +The group identifier (a number). If @code{#f}, a new number is +automatically allocated when the group is created. + +@item @code{system?} (default: @code{#f}) +This Boolean value indicates whether the group is a ``system'' group. +System groups have low numerical IDs. + +@item @code{password} (default: @code{#f}) +What, user groups can have a password? Well, apparently yes. Unless +@code{#f}, this field specifies the password of the group. + +@end table +@end deftp + +For convenience, a variable lists all the basic user groups one may expect: + +@defvr {Scheme Variable} %base-groups +This is the list of basic user groups that users and/or packages expect to +be present on the system. This includes groups such as ``root'', ``wheel'', +and ``users'', as well as groups used to control access to specific devices +such as ``audio'', ``disk'', and ``cdrom''. +@end defvr + +@defvr {Scheme Variable} %base-user-accounts +This is the list of basic system accounts that programs may expect to find +on a GNU/Linux system, such as the ``nobody'' account. + +Note that the ``root'' account is not included here. It is a special-case +and is automatically added whether or not it is specified. +@end defvr + +@node Locales +@subsection Locales + +@cindex locale +A @dfn{locale} defines cultural conventions for a particular language and +region of the world (@pxref{Locales,,, libc, The GNU C Library Reference +Manual}). Each locale has a name that typically has the form +@code{@var{language}_@var{territory}.@var{codeset}}---e.g., +@code{fr_LU.utf8} designates the locale for the French language, with +cultural conventions from Luxembourg, and using the UTF-8 encoding. + +@cindex locale definition +Usually, you will want to specify the default locale for the machine using +the @code{locale} field of the @code{operating-system} declaration +(@pxref{„operating-system“-Referenz, @code{locale}}). + +The selected locale is automatically added to the @dfn{locale definitions} +known to the system if needed, with its codeset inferred from its +name---e.g., @code{bo_CN.utf8} will be assumed to use the @code{UTF-8} +codeset. Additional locale definitions can be specified in the +@code{locale-definitions} slot of @code{operating-system}---this is useful, +for instance, if the codeset could not be inferred from the locale name. +The default set of locale definitions includes some widely used locales, but +not all the available locales, in order to save space. + +For instance, to add the North Frisian locale for Germany, the value of that +field may be: + +@example +(cons (locale-definition + (name "fy_DE.utf8") (source "fy_DE")) + %default-locale-definitions) +@end example + +Likewise, to save space, one might want @code{locale-definitions} to list +only the locales that are actually used, as in: + +@example +(list (locale-definition + (name "ja_JP.eucjp") (source "ja_JP") + (charset "EUC-JP"))) +@end example + +@vindex LOCPATH +The compiled locale definitions are available at +@file{/run/current-system/locale/X.Y}, where @code{X.Y} is the libc version, +which is the default location where the GNU@tie{}libc provided by Guix looks +for locale data. This can be overridden using the @code{LOCPATH} +environment variable (@pxref{locales-and-locpath, @code{LOCPATH} and locale +packages}). + +The @code{locale-definition} form is provided by the @code{(gnu system +locale)} module. Details are given below. + +@deftp {Data Type} locale-definition +This is the data type of a locale definition. + +@table @asis + +@item @code{name} +The name of the locale. @xref{Locale Names,,, libc, The GNU C Library +Reference Manual}, for more information on locale names. + +@item @code{source} +The name of the source for that locale. This is typically the +@code{@var{language}_@var{territory}} part of the locale name. + +@item @code{charset} (default: @code{"UTF-8"}) +The ``character set'' or ``code set'' for that locale, +@uref{http://www.iana.org/assignments/character-sets, as defined by IANA}. + +@end table +@end deftp + +@defvr {Scheme Variable} %default-locale-definitions +A list of commonly used UTF-8 locales, used as the default value of the +@code{locale-definitions} field of @code{operating-system} declarations. + +@cindex locale name +@cindex normalized codeset in locale names +These locale definitions use the @dfn{normalized codeset} for the part that +follows the dot in the name (@pxref{Using gettextized software, normalized +codeset,, libc, The GNU C Library Reference Manual}). So for instance it +has @code{uk_UA.utf8} but @emph{not}, say, @code{uk_UA.UTF-8}. +@end defvr + +@subsubsection Locale Data Compatibility Considerations + +@cindex incompatibility, of locale data +@code{operating-system} declarations provide a @code{locale-libcs} field to +specify the GNU@tie{}libc packages that are used to compile locale +declarations (@pxref{„operating-system“-Referenz}). ``Why would I care?'', +you may ask. Well, it turns out that the binary format of locale data is +occasionally incompatible from one libc version to another. + +@c See +@c and . +For instance, a program linked against libc version 2.21 is unable to read +locale data produced with libc 2.22; worse, that program @emph{aborts} +instead of simply ignoring the incompatible locale data@footnote{Versions +2.23 and later of GNU@tie{}libc will simply skip the incompatible locale +data, which is already an improvement.}. Similarly, a program linked +against libc 2.22 can read most, but not all, of the locale data from libc +2.21 (specifically, @code{LC_COLLATE} data is incompatible); thus calls to +@code{setlocale} may fail, but programs will not abort. + +The ``problem'' in GuixSD is that users have a lot of freedom: They can +choose whether and when to upgrade software in their profiles, and might be +using a libc version different from the one the system administrator used to +build the system-wide locale data. + +Fortunately, unprivileged users can also install their own locale data and +define @var{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath, +@code{GUIX_LOCPATH} and locale packages}). + +Still, it is best if the system-wide locale data at +@file{/run/current-system/locale} is built for all the libc versions +actually in use on the system, so that all the programs can access it---this +is especially crucial on a multi-user system. To do that, the administrator +can specify several libc packages in the @code{locale-libcs} field of +@code{operating-system}: + +@example +(use-package-modules base) + +(operating-system + ;; @dots{} + (locale-libcs (list glibc-2.21 (canonical-package glibc)))) +@end example + +This example would lead to a system containing locale definitions for both +libc 2.21 and the current version of libc in +@file{/run/current-system/locale}. + + +@node Dienste +@subsection Dienste + +@cindex system services +An important part of preparing an @code{operating-system} declaration is +listing @dfn{system services} and their configuration (@pxref{Das Konfigurationssystem nutzen}). System services are typically daemons launched when +the system boots, or other actions needed at that time---e.g., configuring +network access. + +GuixSD has a broad definition of ``service'' (@pxref{Dienstkompositionen}), +but many services are managed by the GNU@tie{}Shepherd (@pxref{Shepherd-Dienste}). On a running system, the @command{herd} command allows you to +list the available services, show their status, start and stop them, or do +other specific operations (@pxref{Jump Start,,, shepherd, The GNU Shepherd +Manual}). For example: + +@example +# herd status +@end example + +The above command, run as @code{root}, lists the currently defined +services. The @command{herd doc} command shows a synopsis of the given +service and its associated actions: + +@example +# herd doc nscd +Run libc's name service cache daemon (nscd). + +# herd doc nscd action invalidate +invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups. +@end example + +The @command{start}, @command{stop}, and @command{restart} sub-commands have +the effect you would expect. For instance, the commands below stop the nscd +service and restart the Xorg display server: + +@example +# herd stop nscd +Service nscd has been stopped. +# herd restart xorg-server +Service xorg-server has been stopped. +Service xorg-server has been started. +@end example + +The following sections document the available services, starting with the +core services, that may be used in an @code{operating-system} declaration. + +@menu +* Basisdienste:: Essenzielle Systemdienste. +* Geplante Auftragsausführung:: Der mcron-Dienst. +* Log-Rotation:: Der rottlog-Dienst. +* Netzwerkdienste:: Netzwerkeinrichtung, SSH-Daemon etc. +* X Window:: Graphische Anzeige. +* Druckdienste:: Unterstützung für lokale und entfernte + Drucker. +* Desktop-Dienste:: D-Bus- und Desktop-Dienste. +* Sound Services:: ALSA and Pulseaudio services. +* Datenbankdienste:: SQL-Datenbanken, Schlüssel-Wert-Speicher etc. +* Mail-Dienste:: IMAP, POP3, SMTP und so weiter. +* Kurznachrichtendienste:: Dienste für Kurznachrichten. +* Telefondienste:: Telefoniedienste. +* Überwachungsdienste:: Dienste zur Systemüberwachung. +* Kerberos-Dienste:: Kerberos-Dienste. +* Web-Dienste:: Web-Server. +* Zertifikatsdienste:: TLS-Zertifikate via Let’s Encrypt. +* DNS-Dienste:: DNS-Daemons. +* VPN-Dienste:: VPN-Daemons. +* Network File System:: Dienste mit Bezug zum Netzwerkdateisystem. +* Kontinuierliche Integration:: Der Cuirass-Dienst. +* Power Management Services:: Extending battery life. +* Audio-Dienste:: Der MPD. +* Virtualisierungsdienste:: Dienste für virtuelle Maschinen. +* Versionskontrolldienste:: Entfernten Zugang zu Git-Repositorys bieten. +* Spieldienste:: Spielserver. +* Verschiedene Dienste:: Andere Dienste. +@end menu + +@node Basisdienste +@subsubsection Basisdienste + +The @code{(gnu services base)} module provides definitions for the basic +services that one expects from the system. The services exported by this +module are listed below. + +@defvr {Scheme Variable} %base-services +This variable contains a list of basic services (@pxref{Diensttypen und Dienste}, for more information on service objects) one would expect from +the system: a login service (mingetty) on each tty, syslogd, the libc name +service cache daemon (nscd), the udev device manager, and more. + +This is the default value of the @code{services} field of +@code{operating-system} declarations. Usually, when customizing a system, +you will want to append services to @var{%base-services}, like this: + +@example +(cons* (avahi-service) (lsh-service) %base-services) +@end example +@end defvr + +@defvr {Scheme Variable} special-files-service-type +This is the service that sets up ``special files'' such as @file{/bin/sh}; +an instance of it is part of @code{%base-services}. + +The value associated with @code{special-files-service-type} services must be +a list of tuples where the first element is the ``special file'' and the +second element is its target. By default it is: + +@cindex @file{/bin/sh} +@cindex @file{sh}, in @file{/bin} +@example +`(("/bin/sh" ,(file-append @var{bash} "/bin/sh"))) +@end example + +@cindex @file{/usr/bin/env} +@cindex @file{env}, in @file{/usr/bin} +If you want to add, say, @code{/usr/bin/env} to your system, you can change +it to: + +@example +`(("/bin/sh" ,(file-append @var{bash} "/bin/sh")) + ("/usr/bin/env" ,(file-append @var{coreutils} "/bin/env"))) +@end example + +Since this is part of @code{%base-services}, you can use +@code{modify-services} to customize the set of special files (@pxref{Service-Referenz, @code{modify-services}}). But the simple way to add a special +file is @i{via} the @code{extra-special-file} procedure (see below.) +@end defvr + +@deffn {Scheme Procedure} extra-special-file @var{file} @var{target} +Use @var{target} as the ``special file'' @var{file}. + +For example, adding the following lines to the @code{services} field of your +operating system declaration leads to a @file{/usr/bin/env} symlink: + +@example +(extra-special-file "/usr/bin/env" + (file-append coreutils "/bin/env")) +@end example +@end deffn + +@deffn {Scheme Procedure} host-name-service @var{name} +Return a service that sets the host name to @var{name}. +@end deffn + +@deffn {Scheme Procedure} login-service @var{config} +Return a service to run login according to @var{config}, a +@code{} object, which specifies the message of the day, +among other things. +@end deffn + +@deftp {Data Type} login-configuration +This is the data type representing the configuration of login. + +@table @asis + +@item @code{motd} +@cindex message of the day +A file-like object containing the ``message of the day''. + +@item @code{allow-empty-passwords?} (default: @code{#t}) +Allow empty passwords by default so that first-time users can log in when +the 'root' account has just been created. + +@end table +@end deftp + +@deffn {Scheme Procedure} mingetty-service @var{config} +Return a service to run mingetty according to @var{config}, a +@code{} object, which specifies the tty to run, +among other things. +@end deffn + +@deftp {Data Type} mingetty-configuration +This is the data type representing the configuration of Mingetty, which +provides the default implementation of virtual console log-in. + +@table @asis + +@item @code{tty} +The name of the console this Mingetty runs on---e.g., @code{"tty1"}. + +@item @code{auto-login} (default: @code{#f}) +When true, this field must be a string denoting the user name under which +the system automatically logs in. When it is @code{#f}, a user name and +password must be entered to log in. + +@item @code{login-program} (default: @code{#f}) +This must be either @code{#f}, in which case the default log-in program is +used (@command{login} from the Shadow tool suite), or a gexp denoting the +name of the log-in program. + +@item @code{login-pause?} (default: @code{#f}) +When set to @code{#t} in conjunction with @var{auto-login}, the user will +have to press a key before the log-in shell is launched. + +@item @code{mingetty} (default: @var{mingetty}) +The Mingetty package to use. + +@end table +@end deftp + +@deffn {Scheme Procedure} agetty-service @var{config} +Return a service to run agetty according to @var{config}, an +@code{} object, which specifies the tty to run, among +other things. +@end deffn + +@deftp {Data Type} agetty-configuration +This is the data type representing the configuration of agetty, which +implements virtual and serial console log-in. See the @code{agetty(8)} man +page for more information. + +@table @asis + +@item @code{tty} +The name of the console this agetty runs on, as a string---e.g., +@code{"ttyS0"}. This argument is optional, it will default to a reasonable +default serial port used by the kernel Linux. + +For this, if there is a value for an option @code{agetty.tty} in the kernel +command line, agetty will extract the device name of the serial port from it +and use that. + +If not and if there is a value for an option @code{console} with a tty in +the Linux command line, agetty will extract the device name of the serial +port from it and use that. + +In both cases, agetty will leave the other serial device settings (baud rate +etc.)@: alone---in the hope that Linux pinned them to the correct values. + +@item @code{baud-rate} (default: @code{#f}) +A string containing a comma-separated list of one or more baud rates, in +descending order. + +@item @code{term} (default: @code{#f}) +A string containing the value used for the @code{TERM} environment variable. + +@item @code{eight-bits?} (default: @code{#f}) +When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection +is disabled. + +@item @code{auto-login} (default: @code{#f}) +When passed a login name, as a string, the specified user will be logged in +automatically without prompting for their login name or password. + +@item @code{no-reset?} (default: @code{#f}) +When @code{#t}, don't reset terminal cflags (control modes). + +@item @code{host} (default: @code{#f}) +This accepts a string containing the "login_host", which will be written +into the @file{/var/run/utmpx} file. + +@item @code{remote?} (default: @code{#f}) +When set to @code{#t} in conjunction with @var{host}, this will add an +@code{-r} fakehost option to the command line of the login program specified +in @var{login-program}. + +@item @code{flow-control?} (default: @code{#f}) +When set to @code{#t}, enable hardware (RTS/CTS) flow control. + +@item @code{no-issue?} (default: @code{#f}) +When set to @code{#t}, the contents of the @file{/etc/issue} file will not +be displayed before presenting the login prompt. + +@item @code{init-string} (default: @code{#f}) +This accepts a string that will be sent to the tty or modem before sending +anything else. It can be used to initialize a modem. + +@item @code{no-clear?} (default: @code{#f}) +When set to @code{#t}, agetty will not clear the screen before showing the +login prompt. + +@item @code{login-program} (default: (file-append shadow "/bin/login")) +This must be either a gexp denoting the name of a log-in program, or unset, +in which case the default value is the @command{login} from the Shadow tool +suite. + +@item @code{local-line} (default: @code{#f}) +Control the CLOCAL line flag. This accepts one of three symbols as +arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f}, the +default value chosen by agetty is @code{'auto}. + +@item @code{extract-baud?} (default: @code{#f}) +When set to @code{#t}, instruct agetty to try to extract the baud rate from +the status messages produced by certain types of modems. + +@item @code{skip-login?} (default: @code{#f}) +When set to @code{#t}, do not prompt the user for a login name. This can be +used with @var{login-program} field to use non-standard login systems. + +@item @code{no-newline?} (default: @code{#f}) +When set to @code{#t}, do not print a newline before printing the +@file{/etc/issue} file. + +@c Is this dangerous only when used with login-program, or always? +@item @code{login-options} (default: @code{#f}) +This option accepts a string containing options that are passed to the login +program. When used with the @var{login-program}, be aware that a malicious +user could try to enter a login name containing embedded options that could +be parsed by the login program. + +@item @code{login-pause} (default: @code{#f}) +When set to @code{#t}, wait for any key before showing the login prompt. +This can be used in conjunction with @var{auto-login} to save memory by +lazily spawning shells. + +@item @code{chroot} (default: @code{#f}) +Change root to the specified directory. This option accepts a directory +path as a string. + +@item @code{hangup?} (default: @code{#f}) +Use the Linux system call @code{vhangup} to do a virtual hangup of the +specified terminal. + +@item @code{keep-baud?} (default: @code{#f}) +When set to @code{#t}, try to keep the existing baud rate. The baud rates +from @var{baud-rate} are used when agetty receives a @key{BREAK} character. + +@item @code{timeout} (default: @code{#f}) +When set to an integer value, terminate if no user name could be read within +@var{timeout} seconds. + +@item @code{detect-case?} (default: @code{#f}) +When set to @code{#t}, turn on support for detecting an uppercase-only +terminal. This setting will detect a login name containing only uppercase +letters as indicating an uppercase-only terminal and turn on some +upper-to-lower case conversions. Note that this will not support Unicode +characters. + +@item @code{wait-cr?} (default: @code{#f}) +When set to @code{#t}, wait for the user or modem to send a carriage-return +or linefeed character before displaying @file{/etc/issue} or login prompt. +This is typically used with the @var{init-string} option. + +@item @code{no-hints?} (default: @code{#f}) +When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks. + +@item @code{no-hostname?} (default: @code{#f}) +By default, the hostname is printed. When this option is set to @code{#t}, +no hostname will be shown at all. + +@item @code{long-hostname?} (default: @code{#f}) +By default, the hostname is only printed until the first dot. When this +option is set to @code{#t}, the fully qualified hostname by +@code{gethostname} or @code{getaddrinfo} is shown. + +@item @code{erase-characters} (default: @code{#f}) +This option accepts a string of additional characters that should be +interpreted as backspace when the user types their login name. + +@item @code{kill-characters} (default: @code{#f}) +This option accepts a string that should be interpreted to mean "ignore all +previous characters" (also called a "kill" character) when the types their +login name. + +@item @code{chdir} (default: @code{#f}) +This option accepts, as a string, a directory path that will be changed to +before login. + +@item @code{delay} (default: @code{#f}) +This options accepts, as an integer, the number of seconds to sleep before +opening the tty and displaying the login prompt. + +@item @code{nice} (default: @code{#f}) +This option accepts, as an integer, the nice value with which to run the +@command{login} program. + +@item @code{extra-options} (default: @code{'()}) +This option provides an "escape hatch" for the user to provide arbitrary +command-line arguments to @command{agetty} as a list of strings. + +@end table +@end deftp + +@deffn {Scheme Procedure} kmscon-service-type @var{config} +Return a service to run +@uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} according to +@var{config}, a @code{} object, which specifies the +tty to run, among other things. +@end deffn + +@deftp {Data Type} kmscon-configuration +This is the data type representing the configuration of Kmscon, which +implements virtual console log-in. + +@table @asis + +@item @code{virtual-terminal} +The name of the console this Kmscon runs on---e.g., @code{"tty1"}. + +@item @code{login-program} (default: @code{#~(string-append #$shadow "/bin/login")}) +A gexp denoting the name of the log-in program. The default log-in program +is @command{login} from the Shadow tool suite. + +@item @code{login-arguments} (default: @code{'("-p")}) +A list of arguments to pass to @command{login}. + +@item @code{auto-login} (default: @code{#f}) +When passed a login name, as a string, the specified user will be logged in +automatically without prompting for their login name or password. + +@item @code{hardware-acceleration?} (default: #f) +Whether to use hardware acceleration. + +@item @code{kmscon} (default: @var{kmscon}) +The Kmscon package to use. + +@end table +@end deftp + +@cindex name service cache daemon +@cindex nscd +@deffn {Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @ + [#:name-services '()] Return a service that runs the libc name service cache +daemon (nscd) with the given @var{config}---an @code{} +object. @xref{Name Service Switch}, for an example. + +For convenience, the Shepherd service for nscd provides the following +actions: + +@table @code +@item invalidate +@cindex cache invalidation, nscd +@cindex nscd, cache invalidation +This invalidate the given cache. For instance, running: + +@example +herd invalidate nscd hosts +@end example + +@noindent +invalidates the host name lookup cache of nscd. + +@item statistics +Running @command{herd statistics nscd} displays information about nscd usage +and caches. +@end table + +@end deffn + +@defvr {Scheme Variable} %nscd-default-configuration +This is the default @code{} value (see below) used by +@code{nscd-service}. It uses the caches defined by +@var{%nscd-default-caches}; see below. +@end defvr + +@deftp {Data Type} nscd-configuration +This is the data type representing the name service cache daemon (nscd) +configuration. + +@table @asis + +@item @code{name-services} (default: @code{'()}) +List of packages denoting @dfn{name services} that must be visible to the +nscd---e.g., @code{(list @var{nss-mdns})}. + +@item @code{glibc} (default: @var{glibc}) +Package object denoting the GNU C Library providing the @command{nscd} +command. + +@item @code{log-file} (default: @code{"/var/log/nscd.log"}) +Name of the nscd log file. This is where debugging output goes when +@code{debug-level} is strictly positive. + +@item @code{debug-level} (default: @code{0}) +Integer denoting the debugging levels. Higher numbers mean that more +debugging output is logged. + +@item @code{caches} (default: @var{%nscd-default-caches}) +List of @code{} objects denoting things to be cached; see below. + +@end table +@end deftp + +@deftp {Data Type} nscd-cache +Data type representing a cache database of nscd and its parameters. + +@table @asis + +@item @code{database} +This is a symbol representing the name of the database to be cached. Valid +values are @code{passwd}, @code{group}, @code{hosts}, and @code{services}, +which designate the corresponding NSS database (@pxref{NSS Basics,,, libc, +The GNU C Library Reference Manual}). + +@item @code{positive-time-to-live} +@itemx @code{negative-time-to-live} (default: @code{20}) +A number representing the number of seconds during which a positive or +negative lookup result remains in cache. + +@item @code{check-files?} (default: @code{#t}) +Whether to check for updates of the files corresponding to @var{database}. + +For instance, when @var{database} is @code{hosts}, setting this flag +instructs nscd to check for updates in @file{/etc/hosts} and to take them +into account. + +@item @code{persistent?} (default: @code{#t}) +Whether the cache should be stored persistently on disk. + +@item @code{shared?} (default: @code{#t}) +Whether the cache should be shared among users. + +@item @code{max-database-size} (default: 32@tie{}MiB) +Maximum size in bytes of the database cache. + +@c XXX: 'suggested-size' and 'auto-propagate?' seem to be expert +@c settings, so leave them out. + +@end table +@end deftp + +@defvr {Scheme Variable} %nscd-default-caches +List of @code{} objects used by default by +@code{nscd-configuration} (see above). + +It enables persistent and aggressive caching of service and host name +lookups. The latter provides better host name lookup performance, +resilience in the face of unreliable name servers, and also better +privacy---often the result of host name lookups is in local cache, so +external name servers do not even need to be queried. +@end defvr + +@anchor{syslog-configuration-type} +@cindex syslog +@cindex logging +@deftp {Data Type} syslog-configuration +This data type represents the configuration of the syslog daemon. + +@table @asis +@item @code{syslogd} (default: @code{#~(string-append #$inetutils "/libexec/syslogd")}) +The syslog daemon to use. + +@item @code{config-file} (default: @code{%default-syslog.conf}) +The syslog configuration file to use. + +@end table +@end deftp + +@anchor{syslog-service} +@cindex syslog +@deffn {Scheme Procedure} syslog-service @var{config} +Return a service that runs a syslog daemon according to @var{config}. + +@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information +on the configuration file syntax. +@end deffn + +@defvr {Scheme Variable} guix-service-type +This is the type of the service that runs the build daemon, +@command{guix-daemon} (@pxref{Aufruf des guix-daemon}). Its value must be a +@code{guix-configuration} record as described below. +@end defvr + +@anchor{guix-configuration-type} +@deftp {Data Type} guix-configuration +This data type represents the configuration of the Guix build daemon. +@xref{Aufruf des guix-daemon}, for more information. + +@table @asis +@item @code{guix} (default: @var{guix}) +The Guix package to use. + +@item @code{build-group} (default: @code{"guixbuild"}) +Name of the group for build user accounts. + +@item @code{build-accounts} (default: @code{10}) +Number of build user accounts to create. + +@item @code{authorize-key?} (default: @code{#t}) +@cindex Substitute, deren Autorisierung +Whether to authorize the substitute keys listed in +@code{authorized-keys}---by default that of @code{hydra.gnu.org} +(@pxref{Substitute}). + +@vindex %default-authorized-guix-keys +@item @code{authorized-keys} (default: @var{%default-authorized-guix-keys}) +The list of authorized key files for archive imports, as a list of +string-valued gexps (@pxref{Aufruf von guix archive}). By default, it +contains that of @code{hydra.gnu.org} (@pxref{Substitute}). + +@item @code{use-substitutes?} (default: @code{#t}) +Whether to use substitutes. + +@item @code{substitute-urls} (default: @var{%default-substitute-urls}) +The list of URLs where to look for substitutes by default. + +@item @code{max-silent-time} (default: @code{0}) +@itemx @code{timeout} (default: @code{0}) +The number of seconds of silence and the number of seconds of activity, +respectively, after which a build process times out. A value of zero +disables the timeout. + +@item @code{log-compression} (default: @code{'bzip2}) +The type of compression used for build logs---one of @code{gzip}, +@code{bzip2}, or @code{none}. + +@item @code{extra-options} (default: @code{'()}) +List of extra command-line options for @command{guix-daemon}. + +@item @code{log-file} (default: @code{"/var/log/guix-daemon.log"}) +File where @command{guix-daemon}'s standard output and standard error are +written. + +@item @code{http-proxy} (default: @code{#f}) +The HTTP proxy used for downloading fixed-output derivations and +substitutes. + +@item @code{tmpdir} (default: @code{#f}) +A directory path where the @command{guix-daemon} will perform builds. + +@end table +@end deftp + +@deffn {Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}] +Run @var{udev}, which populates the @file{/dev} directory dynamically. udev +rules can be provided as a list of files through the @var{rules} variable. +The procedures @var{udev-rule} and @var{file->udev-rule} from @code{(gnu +services base)} simplify the creation of such rule files. + +@deffn {Scheme Procedure} udev-rule [@var{file-name} @var{contents}] +Return a udev-rule file named @var{file-name} containing the rules defined +by the @var{contents} literal. + +In the following example, a rule for a USB device is defined to be stored in +the file @file{90-usb-thing.rules}. The rule runs a script upon detecting a +USB device with a given product identifier. + +@example +(define %example-udev-rule + (udev-rule + "90-usb-thing.rules" + (string-append "ACTION==\"add\", SUBSYSTEM==\"usb\", " + "ATTR@{product@}==\"Example\", " + "RUN+=\"/path/to/script\""))) +@end example +@end deffn + +Here we show how the default @var{udev-service} can be extended with it. + +@example +(operating-system + ;; @dots{} + (services + (modify-services %desktop-services + (udev-service-type config => + (udev-configuration (inherit config) + (rules (append (udev-configuration-rules config) + (list %example-udev-rule)))))))) +@end example + +@deffn {Scheme Procedure} file->udev-rule [@var{file-name} @var{file}] +Return a udev file named @var{file-name} containing the rules defined within +@var{file}, a file-like object. + +The following example showcases how we can use an existing rule file. + +@example +(use-modules (guix download) ;for url-fetch + (guix packages) ;for origin + ;; @dots{}) + +(define %android-udev-rules + (file->udev-rule + "51-android-udev.rules" + (let ((version "20170910")) + (origin + (method url-fetch) + (uri (string-append "https://raw.githubusercontent.com/M0Rf30/" + "android-udev-rules/" version "/51-android.rules")) + (sha256 + (base32 "0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003")))))) +@end example +@end deffn + +Additionally, Guix package definitions can be included in @var{rules} in +order to extend the udev rules with the definitions found under their +@file{lib/udev/rules.d} sub-directory. In lieu of the previous +@var{file->udev-rule} example, we could have used the +@var{android-udev-rules} package which exists in Guix in the @code{(gnu +packages android)} module. + +The following example shows how to use the @var{android-udev-rules} package +so that the Android tool @command{adb} can detect devices without root +privileges. It also details how to create the @code{adbusers} group, which +is required for the proper functioning of the rules defined within the +@var{android-udev-rules} package. To create such a group, we must define it +both as part of the @var{supplementary-groups} of our @var{user-account} +declaration, as well as in the @var{groups} field of the +@var{operating-system} record. + +@example +(use-modules (gnu packages android) ;for android-udev-rules + (gnu system shadow) ;for user-group + ;; @dots{}) + +(operating-system + ;; @dots{} + (users (cons (user-acount + ;; @dots{} + (supplementary-groups + '("adbusers" ;for adb + "wheel" "netdev" "audio" "video")) + ;; @dots{}))) + + (groups (cons (user-group (system? #t) (name "adbusers")) + %base-groups)) + + ;; @dots{} + + (services + (modify-services %desktop-services + (udev-service-type config => + (udev-configuration (inherit config) + (rules (cons* android-udev-rules + (udev-configuration-rules config)))))))) +@end example +@end deffn + +@defvr {Scheme Variable} urandom-seed-service-type +Save some entropy in @var{%random-seed-file} to seed @file{/dev/urandom} +when rebooting. It also tries to seed @file{/dev/urandom} from +@file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is +readable. +@end defvr + +@defvr {Scheme Variable} %random-seed-file +This is the name of the file where some random bytes are saved by +@var{urandom-seed-service} to seed @file{/dev/urandom} when rebooting. It +defaults to @file{/var/lib/random-seed}. +@end defvr + +@cindex keymap +@cindex keyboard +@deffn {Scheme Procedure} console-keymap-service @var{files} ... +@cindex keyboard layout +Return a service to load console keymaps from @var{files} using +@command{loadkeys} command. Most likely, you want to load some default +keymap, which can be done like this: + +@example +(console-keymap-service "dvorak") +@end example + +Or, for example, for a Swedish keyboard, you may need to combine the +following keymaps: +@example +(console-keymap-service "se-lat6" "se-fi-lat6") +@end example + +Also you can specify a full file name (or file names) of your keymap(s). +See @code{man loadkeys} for details. + +@end deffn + +@cindex mouse +@cindex gpm +@defvr {Scheme Variable} gpm-service-type +This is the type of the service that runs GPM, the @dfn{general-purpose +mouse daemon}, which provides mouse support to the Linux console. GPM +allows users to use the mouse in the console, notably to select, copy, and +paste text. + +The value for services of this type must be a @code{gpm-configuration} (see +below). This service is not part of @var{%base-services}. +@end defvr + +@deftp {Data Type} gpm-configuration +Data type representing the configuration of GPM. + +@table @asis +@item @code{options} (default: @code{%default-gpm-options}) +Command-line options passed to @command{gpm}. The default set of options +instruct @command{gpm} to listen to mouse events on @file{/dev/input/mice}. +@xref{Command Line,,, gpm, gpm manual}, for more information. + +@item @code{gpm} (default: @code{gpm}) +The GPM package to use. + +@end table +@end deftp + +@anchor{guix-publish-service-type} +@deffn {Scheme Variable} guix-publish-service-type +This is the service type for @command{guix publish} (@pxref{Aufruf von guix publish}). Its value must be a @code{guix-configuration} object, as +described below. + +This assumes that @file{/etc/guix} already contains a signing key pair as +created by @command{guix archive --generate-key} (@pxref{Aufruf von guix archive}). If that is not the case, the service will fail to start. +@end deffn + +@deftp {Data Type} guix-publish-configuration +Data type representing the configuration of the @code{guix publish} service. + +@table @asis +@item @code{guix} (default: @code{guix}) +The Guix package to use. + +@item @code{port} (default: @code{80}) +The TCP port to listen for connections. + +@item @code{host} (default: @code{"localhost"}) +The host (and thus, network interface) to listen to. Use @code{"0.0.0.0"} +to listen on all the network interfaces. + +@item @code{compression-level} (Vorgabe: @code{3}) +The gzip compression level at which substitutes are compressed. Use +@code{0} to disable compression altogether, and @code{9} to get the best +compression ratio at the expense of increased CPU usage. + +@item @code{nar-path} (default: @code{"nar"}) +The URL path at which ``nars'' can be fetched. @xref{Aufruf von guix publish, +@code{--nar-path}}, for details. + +@item @code{cache} (default: @code{#f}) +When it is @code{#f}, disable caching and instead generate archives on +demand. Otherwise, this should be the name of a directory---e.g., +@code{"/var/cache/guix/publish"}---where @command{guix publish} caches +archives and meta-data ready to be sent. @xref{Aufruf von guix publish, +@option{--cache}}, for more information on the tradeoffs involved. + +@item @code{workers} (default: @code{#f}) +When it is an integer, this is the number of worker threads used for +caching; when @code{#f}, the number of processors is used. @xref{Aufruf von guix publish, @option{--workers}}, for more information. + +@item @code{ttl} (default: @code{#f}) +When it is an integer, this denotes the @dfn{time-to-live} in seconds of the +published archives. @xref{Aufruf von guix publish, @option{--ttl}}, for more +information. +@end table +@end deftp + +@anchor{rngd-service} +@deffn {Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @ + [#:device "/dev/hwrng"] Return a service that runs the @command{rngd} +program from @var{rng-tools} to add @var{device} to the kernel's entropy +pool. The service will fail if @var{device} does not exist. +@end deffn + +@anchor{pam-limits-service} +@cindex session limits +@cindex ulimit +@cindex priority +@cindex realtime +@cindex jackd +@deffn {Scheme Procedure} pam-limits-service [#:limits @code{'()}] + +Return a service that installs a configuration file for the +@uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, +@code{pam_limits} module}. The procedure optionally takes a list of +@code{pam-limits-entry} values, which can be used to specify @code{ulimit} +limits and nice priority limits to user sessions. + +The following limits definition sets two hard and soft limits for all login +sessions of users in the @code{realtime} group: + +@example +(pam-limits-service + (list + (pam-limits-entry "@@realtime" 'both 'rtprio 99) + (pam-limits-entry "@@realtime" 'both 'memlock 'unlimited))) +@end example + +The first entry increases the maximum realtime priority for non-privileged +processes; the second entry lifts any restriction of the maximum address +space that can be locked in memory. These settings are commonly used for +real-time audio systems. +@end deffn + +@node Geplante Auftragsausführung +@subsubsection Geplante Auftragsausführung + +@cindex cron +@cindex mcron +@cindex scheduling jobs +The @code{(gnu services mcron)} module provides an interface to +GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, +mcron, GNU@tie{}mcron}). GNU@tie{}mcron is similar to the traditional Unix +@command{cron} daemon; the main difference is that it is implemented in +Guile Scheme, which provides a lot of flexibility when specifying the +scheduling of jobs and their actions. + +The example below defines an operating system that runs the +@command{updatedb} (@pxref{Invoking updatedb,,, find, Finding Files}) and +the @command{guix gc} commands (@pxref{Aufruf von guix gc}) daily, as well as +the @command{mkid} command on behalf of an unprivileged user (@pxref{mkid +invocation,,, idutils, ID Database Utilities}). It uses gexps to introduce +job definitions that are passed to mcron (@pxref{G-Ausdrücke}). + +@lisp +(use-modules (guix) (gnu) (gnu services mcron)) +(use-package-modules base idutils) + +(define updatedb-job + ;; Run 'updatedb' at 3AM every day. Here we write the + ;; job's action as a Scheme procedure. + #~(job '(next-hour '(3)) + (lambda () + (execl (string-append #$findutils "/bin/updatedb") + "updatedb" + "--prunepaths=/tmp /var/tmp /gnu/store")))) + +(define garbage-collector-job + ;; Collect garbage 5 minutes after midnight every day. + ;; The job's action is a shell command. + #~(job "5 0 * * *" ;Vixie cron syntax + "guix gc -F 1G")) + +(define idutils-job + ;; Update the index database as user "charlie" at 12:15PM + ;; and 19:15PM. This runs from the user's home directory. + #~(job '(next-minute-from (next-hour '(12 19)) '(15)) + (string-append #$idutils "/bin/mkid src") + #:user "charlie")) + +(operating-system + ;; @dots{} + (services (cons (mcron-service (list garbage-collector-job + updatedb-job + idutils-job)) + %base-services))) +@end lisp + +@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, for +more information on mcron job specifications. Below is the reference of the +mcron service. + +On a running system, you can use the @code{schedule} action of the service +to visualize the mcron jobs that will be executed next: + +@example +# herd schedule mcron +@end example + +@noindent +The example above lists the next five tasks that will be executed, but you +can also specify the number of tasks to display: + +@example +# herd schedule mcron 10 +@end example + +@deffn {Scheme Procedure} mcron-service @var{jobs} [#:mcron @var{mcron}] +Return an mcron service running @var{mcron} that schedules @var{jobs}, a +list of gexps denoting mcron job specifications. + +This is a shorthand for: +@example +(service mcron-service-type + (mcron-configuration (mcron mcron) (jobs jobs))) +@end example +@end deffn + +@defvr {Scheme Variable} mcron-service-type +This is the type of the @code{mcron} service, whose value is an +@code{mcron-configuration} object. + +This service type can be the target of a service extension that provides it +additional job specifications (@pxref{Dienstkompositionen}). In other +words, it is possible to define services that provide additional mcron jobs +to run. +@end defvr + +@deftp {Data Type} mcron-configuration +Data type representing the configuration of mcron. + +@table @asis +@item @code{mcron} (default: @var{mcron}) +The mcron package to use. + +@item @code{jobs} +This is a list of gexps (@pxref{G-Ausdrücke}), where each gexp corresponds +to an mcron job specification (@pxref{Syntax, mcron job specifications,, +mcron, GNU@tie{}mcron}). +@end table +@end deftp + + +@node Log-Rotation +@subsubsection Log-Rotation + +@cindex rottlog +@cindex log rotation +@cindex logging +Log files such as those found in @file{/var/log} tend to grow endlessly, so +it's a good idea to @dfn{rotate} them once in a while---i.e., archive their +contents in separate files, possibly compressed. The @code{(gnu services +admin)} module provides an interface to GNU@tie{}Rot[t]log, a log rotation +tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual}). + +The example below defines an operating system that provides log rotation +with the default settings, for commonly encountered log files. + +@lisp +(use-modules (guix) (gnu)) +(use-service-modules admin mcron) +(use-package-modules base idutils) + +(operating-system + ;; @dots{} + (services (cons (service rottlog-service-type) + %base-services))) +@end lisp + +@defvr {Scheme Variable} rottlog-service-type +This is the type of the Rottlog service, whose value is a +@code{rottlog-configuration} object. + +Other services can extend this one with new @code{log-rotation} objects (see +below), thereby augmenting the set of files to be rotated. + +This service type can define mcron jobs (@pxref{Geplante Auftragsausführung}) to +run the rottlog service. +@end defvr + +@deftp {Data Type} rottlog-configuration +Data type representing the configuration of rottlog. + +@table @asis +@item @code{rottlog} (default: @code{rottlog}) +The Rottlog package to use. + +@item @code{rc-file} (default: @code{(file-append rottlog "/etc/rc")}) +The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, +rottlog, GNU Rot[t]log Manual}). + +@item @code{rotations} (default: @code{%default-rotations}) +A list of @code{log-rotation} objects as defined below. + +@item @code{jobs} +This is a list of gexps where each gexp corresponds to an mcron job +specification (@pxref{Geplante Auftragsausführung}). +@end table +@end deftp + +@deftp {Data Type} log-rotation +Data type representing the rotation of a group of log files. + +Taking an example from the Rottlog manual (@pxref{Period Related File +Examples,,, rottlog, GNU Rot[t]log Manual}), a log rotation might be defined +like this: + +@example +(log-rotation + (frequency 'daily) + (files '("/var/log/apache/*")) + (options '("storedir apache-archives" + "rotate 6" + "notifempty" + "nocompress"))) +@end example + +The list of fields is as follows: + +@table @asis +@item @code{frequency} (default: @code{'weekly}) +The log rotation frequency, a symbol. + +@item @code{files} +The list of files or file glob patterns to rotate. + +@item @code{options} (default: @code{'()}) +The list of rottlog options for this rotation (@pxref{Configuration +parameters,,, rottlog, GNU Rot[t]lg Manual}). + +@item @code{post-rotate} (default: @code{#f}) +Either @code{#f} or a gexp to execute once the rotation has completed. +@end table +@end deftp + +@defvr {Scheme Variable} %default-rotations +Specifies weekly rotation of @var{%rotated-files} and a couple of other +files. +@end defvr + +@defvr {Scheme Variable} %rotated-files +The list of syslog-controlled files to be rotated. By default it is: +@code{'("/var/log/messages" "/var/log/secure")}. +@end defvr + +@node Netzwerkdienste +@subsubsection Netzwerkdienste + +The @code{(gnu services networking)} module provides services to configure +the network interface. + +@cindex DHCP, networking service +@defvr {Scheme Variable} dhcp-client-service-type +This is the type of services that run @var{dhcp}, a Dynamic Host +Configuration Protocol (DHCP) client, on all the non-loopback network +interfaces. Its value is the DHCP client package to use, @code{isc-dhcp} by +default. +@end defvr + +@deffn {Scheme Procedure} dhcpd-service-type +This type defines a service that runs a DHCP daemon. To create a service of +this type, you must supply a @code{}. For example: + +@example +(service dhcpd-service-type + (dhcpd-configuration + (config-file (local-file "my-dhcpd.conf")) + (interfaces '("enp0s25")))) +@end example +@end deffn + +@deftp {Data Type} dhcpd-configuration +@table @asis +@item @code{package} (default: @code{isc-dhcp}) +The package that provides the DHCP daemon. This package is expected to +provide the daemon at @file{sbin/dhcpd} relative to its output directory. +The default package is the @uref{http://www.isc.org/products/DHCP, ISC's +DHCP server}. +@item @code{config-file} (default: @code{#f}) +The configuration file to use. This is required. It will be passed to +@code{dhcpd} via its @code{-cf} option. This may be any ``file-like'' +object (@pxref{G-Ausdrücke, file-like objects}). See @code{man +dhcpd.conf} for details on the configuration file syntax. +@item @code{version} (default: @code{"4"}) +The DHCP version to use. The ISC DHCP server supports the values ``4'', +``6'', and ``4o6''. These correspond to the @code{dhcpd} program options +@code{-4}, @code{-6}, and @code{-4o6}. See @code{man dhcpd} for details. +@item @code{run-directory} (default: @code{"/run/dhcpd"}) +The run directory to use. At service activation time, this directory will +be created if it does not exist. +@item @code{pid-file} (default: @code{"/run/dhcpd/dhcpd.pid"}) +The PID file to use. This corresponds to the @code{-pf} option of +@code{dhcpd}. See @code{man dhcpd} for details. +@item @code{interfaces} (default: @code{'()}) +The names of the network interfaces on which dhcpd should listen for +broadcasts. If this list is not empty, then its elements (which must be +strings) will be appended to the @code{dhcpd} invocation when starting the +daemon. It may not be necessary to explicitly specify any interfaces here; +see @code{man dhcpd} for details. +@end table +@end deftp + +@defvr {Scheme Variable} static-networking-service-type +@c TODO Document data structures. +This is the type for statically-configured network interfaces. +@end defvr + +@deffn {Scheme Procedure} static-networking-service @var{interface} @var{ip} @ + [#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement +@code{'(udev)}] Return a service that starts @var{interface} with address +@var{ip}. If @var{netmask} is true, use it as the network mask. If +@var{gateway} is true, it must be a string specifying the default network +gateway. @var{requirement} can be used to declare a dependency on another +service before configuring the interface. + +This procedure can be called several times, one for each network interface +of interest. Behind the scenes what it does is extend +@code{static-networking-service-type} with additional network interfaces to +handle. + +For example: + +@example +(static-networking-service "eno1" "192.168.1.82" + #:gateway "192.168.1.2" + #:name-servers '("192.168.1.2")) +@end example +@end deffn + +@cindex wicd +@cindex wireless +@cindex WiFi +@cindex network management +@deffn {Scheme Procedure} wicd-service [#:wicd @var{wicd}] +Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network +management daemon that aims to simplify wired and wireless networking. + +This service adds the @var{wicd} package to the global profile, providing +several commands to interact with the daemon and configure networking: +@command{wicd-client}, a graphical user interface, and the +@command{wicd-cli} and @command{wicd-curses} user interfaces. +@end deffn + +@cindex ModemManager + +@defvr {Scheme Variable} modem-manager-service-type +This is the service type for the +@uref{https://wiki.gnome.org/Projects/ModemManager, ModemManager} +service. The value for this service type is a +@code{modem-manager-configuration} record. + +This service is part of @code{%desktop-services} (@pxref{Desktop-Dienste}). +@end defvr + +@deftp {Data Type} modem-manager-configuration +Data type representing the configuration of ModemManager. + +@table @asis +@item @code{modem-manager} (default: @code{modem-manager}) +The ModemManager package to use. + +@end table +@end deftp + +@cindex NetworkManager + +@defvr {Scheme Variable} network-manager-service-type +This is the service type for the +@uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager} +service. The value for this service type is a +@code{network-manager-configuration} record. + +This service is part of @code{%desktop-services} (@pxref{Desktop-Dienste}). +@end defvr + +@deftp {Data Type} network-manager-configuration +Data type representing the configuration of NetworkManager. + +@table @asis +@item @code{network-manager} (default: @code{network-manager}) +The NetworkManager package to use. + +@item @code{dns} (default: @code{"default"}) +Processing mode for DNS, which affects how NetworkManager uses the +@code{resolv.conf} configuration file. + +@table @samp +@item default +NetworkManager will update @code{resolv.conf} to reflect the nameservers +provided by currently active connections. + +@item dnsmasq +NetworkManager will run @code{dnsmasq} as a local caching nameserver, using +a "split DNS" configuration if you are connected to a VPN, and then update +@code{resolv.conf} to point to the local nameserver. + +@item none +NetworkManager will not modify @code{resolv.conf}. +@end table + +@item @code{vpn-plugins} (default: @code{'()}) +This is the list of available plugins for virtual private networks (VPNs). +An example of this is the @code{network-manager-openvpn} package, which +allows NetworkManager to manage VPNs @i{via} OpenVPN. + +@end table +@end deftp + +@cindex Connman +@deffn {Scheme Variable} connman-service-type +This is the service type to run @url{https://01.org/connman,Connman}, a +network connection manager. + +Its value must be an @code{connman-configuration} record as in this example: + +@example +(service connman-service-type + (connman-configuration + (disable-vpn? #t))) +@end example + +See below for details about @code{connman-configuration}. +@end deffn + +@deftp {Data Type} connman-configuration +Data Type representing the configuration of connman. + +@table @asis +@item @code{connman} (default: @var{connman}) +The connman package to use. + +@item @code{disable-vpn?} (default: @code{#f}) +When true, disable connman's vpn plugin. +@end table +@end deftp + +@cindex WPA Supplicant +@defvr {Scheme Variable} wpa-supplicant-service-type +This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA +supplicant}, an authentication daemon required to authenticate against +encrypted WiFi or ethernet networks. +@end defvr + +@deftp {Data Type} wpa-supplicant-configuration +Data type representing the configuration of WPA Supplicant. + +It takes the following parameters: + +@table @asis +@item @code{wpa-supplicant} (default: @code{wpa-supplicant}) +The WPA Supplicant package to use. + +@item @code{dbus?} (default: @code{#t}) +Whether to listen for requests on D-Bus. + +@item @code{pid-file} (default: @code{"/var/run/wpa_supplicant.pid"}) +Where to store the PID file. + +@item @code{interface} (default: @code{#f}) +If this is set, it must specify the name of a network interface that WPA +supplicant will control. + +@item @code{config-file} (default: @code{#f}) +Optional configuration file to use. + +@item @code{extra-options} (default: @code{'()}) +List of additional command-line arguments to pass to the daemon. +@end table +@end deftp + +@cindex iptables +@defvr {Scheme Variable} iptables-service-type +This is the service type to set up an iptables configuration. iptables is a +packet filtering framework supported by the Linux kernel. This service +supports configuring iptables for both IPv4 and IPv6. A simple example +configuration rejecting all incoming connections except those to the ssh +port 22 is shown below. + +@lisp +(service iptables-service-type + (iptables-configuration + (ipv4-rules (plain-file "iptables.rules" "*filter +:INPUT ACCEPT +:FORWARD ACCEPT +:OUTPUT ACCEPT +-A INPUT -p tcp --dport 22 -j ACCEPT +-A INPUT -j REJECT --reject-with icmp-port-unreachable +COMMIT +")) + (ipv6-rules (plain-file "ip6tables.rules" "*filter +:INPUT ACCEPT +:FORWARD ACCEPT +:OUTPUT ACCEPT +-A INPUT -p tcp --dport 22 -j ACCEPT +-A INPUT -j REJECT --reject-with icmp6-port-unreachable +COMMIT +")))) +@end lisp +@end defvr + +@deftp {Data Type} iptables-configuration +The data type representing the configuration of iptables. + +@table @asis +@item @code{iptables} (default: @code{iptables}) +The iptables package that provides @code{iptables-restore} and +@code{ip6tables-restore}. +@item @code{ipv4-rules} (default: @code{%iptables-accept-all-rules}) +The iptables rules to use. It will be passed to @code{iptables-restore}. +This may be any ``file-like'' object (@pxref{G-Ausdrücke, file-like +objects}). +@item @code{ipv6-rules} (default: @code{%iptables-accept-all-rules}) +The ip6tables rules to use. It will be passed to @code{ip6tables-restore}. +This may be any ``file-like'' object (@pxref{G-Ausdrücke, file-like +objects}). +@end table +@end deftp + +@cindex NTP (Network Time Protocol), service +@cindex real time clock +@defvr {Scheme Variable} ntp-service-type +This is the type of the service running the @uref{http://www.ntp.org, +Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep +the system clock synchronized with that of the specified NTP servers. + +The value of this service is an @code{ntpd-configuration} object, as +described below. +@end defvr + +@deftp {Data Type} ntp-configuration +This is the data type for the NTP service configuration. + +@table @asis +@item @code{servers} (default: @code{%ntp-servers}) +This is the list of servers (host names) with which @command{ntpd} will be +synchronized. + +@item @code{allow-large-adjustment?} (default: @code{#f}) +This determines whether @command{ntpd} is allowed to make an initial +adjustment of more than 1,000 seconds. + +@item @code{ntp} (default: @code{ntp}) +The NTP package to use. +@end table +@end deftp + +@defvr {Scheme Variable} %ntp-servers +List of host names used as the default NTP servers. These are servers of +the @uref{https://www.ntppool.org/en/, NTP Pool Project}. +@end defvr + +@cindex OpenNTPD +@deffn {Scheme Procedure} openntpd-service-type +Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as +implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will +keep the system clock synchronized with that of the given servers. + +@example +(service + openntpd-service-type + (openntpd-configuration + (listen-on '("127.0.0.1" "::1")) + (sensor '("udcf0 correction 70000")) + (constraint-from '("www.gnu.org")) + (constraints-from '("https://www.google.com/")) + (allow-large-adjustment? #t))) + +@end example +@end deffn + +@deftp {Data Type} openntpd-configuration +@table @asis +@item @code{openntpd} (default: @code{(file-append openntpd "/sbin/ntpd")}) +The openntpd executable to use. +@item @code{listen-on} (default: @code{'("127.0.0.1" "::1")}) +A list of local IP addresses or hostnames the ntpd daemon should listen on. +@item @code{query-from} (default: @code{'()}) +A list of local IP address the ntpd daemon should use for outgoing queries. +@item @code{sensor} (default: @code{'()}) +Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} +will listen to each sensor that acutally exists and ignore non-existant +ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} +for more information. +@item @code{server} (default: @var{%ntp-servers}) +Specify a list of IP addresses or hostnames of NTP servers to synchronize +to. +@item @code{servers} (default: @code{'()}) +Specify a list of IP addresses or hostnames of NTP pools to synchronize to. +@item @code{constraint-from} (default: @code{'()}) +@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers +via TLS. This time information is not used for precision but acts as an +authenticated constraint, thereby reducing the impact of unauthenticated NTP +man-in-the-middle attacks. Specify a list of URLs, IP addresses or +hostnames of HTTPS servers to provide a constraint. +@item @code{constraints-from} (default: @code{'()}) +As with constraint from, specify a list of URLs, IP addresses or hostnames +of HTTPS servers to provide a constraint. Should the hostname resolve to +multiple IP addresses, @code{ntpd} will calculate a median constraint from +all of them. +@item @code{allow-large-adjustment?} (default: @code{#f}) +Determines if @code{ntpd} is allowed to make an initial adjustment of more +than 180 seconds. +@end table +@end deftp + +@cindex inetd +@deffn {Scheme variable} inetd-service-type +This service runs the @command{inetd} (@pxref{inetd invocation,,, inetutils, +GNU Inetutils}) daemon. @command{inetd} listens for connections on internet +sockets, and lazily starts the specified server program when a connection is +made on one of these sockets. + +The value of this service is an @code{inetd-configuration} object. The +following example configures the @command{inetd} daemon to provide the +built-in @command{echo} service, as well as an smtp service which forwards +smtp traffic over ssh to a server @code{smtp-server} behind a gateway +@code{hostname}: + +@example +(service + inetd-service-type + (inetd-configuration + (entries (list + (inetd-entry + (name "echo") + (socket-type 'stream) + (protocol "tcp") + (wait? #f) + (user "root")) + (inetd-entry + (node "127.0.0.1") + (name "smtp") + (socket-type 'stream) + (protocol "tcp") + (wait? #f) + (user "root") + (program (file-append openssh "/bin/ssh")) + (arguments + '("ssh" "-qT" "-i" "/path/to/ssh_key" + "-W" "smtp-server:25" "user@@hostname"))))) +@end example + +See below for more details about @code{inetd-configuration}. +@end deffn + +@deftp {Data Type} inetd-configuration +Data type representing the configuration of @command{inetd}. + +@table @asis +@item @code{program} (default: @code{(file-append inetutils "/libexec/inetd")}) +The @command{inetd} executable to use. + +@item @code{entries} (default: @code{'()}) +A list of @command{inetd} service entries. Each entry should be created by +the @code{inetd-entry} constructor. +@end table +@end deftp + +@deftp {Data Type} inetd-entry +Data type representing an entry in the @command{inetd} configuration. Each +entry corresponds to a socket where @command{inetd} will listen for +requests. + +@table @asis +@item @code{node} (Vorgabe: @code{#f}) +Optional string, a comma-separated list of local addresses @command{inetd} +should use when listening for this service. @xref{Configuration file,,, +inetutils, GNU Inetutils} for a complete description of all options. +@item @code{name} +A string, the name must correspond to an entry in @code{/etc/services}. +@item @code{socket-type} +One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or +@code{'seqpacket}. +@item @code{protocol} +A string, must correspond to an entry in @code{/etc/protocols}. +@item @code{wait?} (Vorgabe: @code{#t}) +Whether @command{inetd} should wait for the server to exit before listening +to new service requests. +@item @code{user} +A string containing the user (and, optionally, group) name of the user as +whom the server should run. The group name can be specified in a suffix, +separated by a colon or period, i.e.@: @code{"user"}, @code{"user:group"} or +@code{"user.group"}. +@item @code{program} (default: @code{"internal"}) +The server program which will serve the requests, or @code{"internal"} if +@command{inetd} should use a built-in service. +@item @code{arguments} (default: @code{'()}) +A list strings or file-like objects, which are the server program's +arguments, starting with the zeroth argument, i.e.@: the name of the program +itself. For @command{inetd}'s internal services, this entry must be +@code{'()} or @code{'("internal")}. +@end table + +@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed +discussion of each configuration field. +@end deftp + +@cindex Tor +@defvr {Scheme Variable} tor-service-type +This is the type for a service that runs the @uref{https://torproject.org, +Tor} anonymous networking daemon. The service is configured using a +@code{} record. By default, the Tor daemon runs as the +@code{tor} unprivileged user, which is a member of the @code{tor} group. + +@end defvr + +@deffn {Scheme Procedure} tor-service [@var{config-file}] [#:tor @var{tor}] +This procedure is deprecated and will be removed in a future release. +Return a service of the @code{tor-service-type} type. @var{config-file} and +@var{tor} have the same meaning as in @code{}. +@end deffn + +@deftp {Data Type} tor-configuration +@table @asis +@item @code{tor} (default: @code{tor}) +The package that provides the Tor daemon. This package is expected to +provide the daemon at @file{bin/tor} relative to its output directory. The +default package is the @uref{https://www.torproject.org, Tor Project's} +implementation. + +@item @code{config-file} (default: @code{(plain-file "empty" "")}) +The configuration file to use. It will be appended to a default +configuration file, and the final configuration file will be passed to +@code{tor} via its @code{-f} option. This may be any ``file-like'' object +(@pxref{G-Ausdrücke, file-like objects}). See @code{man tor} for details +on the configuration file syntax. + +@item @code{hidden-services} (default: @code{'()}) +The list of @code{} records to use. For any hidden service +you include in this list, appropriate configuration to enable the hidden +service will be automatically added to the default configuration file. You +may conveniently create @code{} records using the +@code{tor-hidden-service} procedure described below. + +@item @code{socks-socket-type} (default: @code{'tcp}) +The default socket type that Tor should use for its SOCKS socket. This must +be either @code{'tcp} or @code{'unix}. If it is @code{'tcp}, then by +default Tor will listen on TCP port 9050 on the loopback interface (i.e., +localhost). If it is @code{'unix}, then Tor will listen on the UNIX domain +socket @file{/var/run/tor/socks-sock}, which will be made writable by +members of the @code{tor} group. + +If you want to customize the SOCKS socket in more detail, leave +@code{socks-socket-type} at its default value of @code{'tcp} and use +@code{config-file} to override the default by providing your own +@code{SocksPort} option. +@end table +@end deftp + +@cindex hidden service +@deffn {Scheme Procedure} tor-hidden-service @var{name} @var{mapping} +Define a new Tor @dfn{hidden service} called @var{name} and implementing +@var{mapping}. @var{mapping} is a list of port/host tuples, such as: + +@example + '((22 "127.0.0.1:22") + (80 "127.0.0.1:8080")) +@end example + +In this example, port 22 of the hidden service is mapped to local port 22, +and port 80 is mapped to local port 8080. + +This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, +where the @file{hostname} file contains the @code{.onion} host name for the +hidden service. + +See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the +Tor project's documentation} for more information. +@end deffn + +The @code{(gnu services rsync)} module provides the following services: + +You might want an rsync daemon if you have files that you want available so +anyone (or just yourself) can download existing files or upload new files. + +@deffn {Scheme Variable} rsync-service-type +This is the type for the @uref{https://rsync.samba.org, rsync} rsync daemon, +@command{rsync-configuration} record as in this example: + +@example +(service rsync-service-type) +@end example + +See below for details about @code{rsync-configuration}. +@end deffn + +@deftp {Data Type} rsync-configuration +Data type representing the configuration for @code{rsync-service}. + +@table @asis +@item @code{package} (default: @var{rsync}) +@code{rsync} package to use. + +@item @code{port-number} (default: @code{873}) +TCP port on which @command{rsync} listens for incoming connections. If port +is less than @code{1024} @command{rsync} needs to be started as the +@code{root} user and group. + +@item @code{pid-file} (default: @code{"/var/run/rsyncd/rsyncd.pid"}) +Name of the file where @command{rsync} writes its PID. + +@item @code{lock-file} (default: @code{"/var/run/rsyncd/rsyncd.lock"}) +Name of the file where @command{rsync} writes its lock file. + +@item @code{log-file} (default: @code{"/var/log/rsyncd.log"}) +Name of the file where @command{rsync} writes its log file. + +@item @code{use-chroot?} (default: @var{#t}) +Whether to use chroot for @command{rsync} shared directory. + +@item @code{share-path} (default: @file{/srv/rsync}) +Location of the @command{rsync} shared directory. + +@item @code{share-comment} (default: @code{"Rsync share"}) +Comment of the @command{rsync} shared directory. + +@item @code{read-only?} (default: @var{#f}) +Read-write permissions to shared directory. + +@item @code{timeout} (default: @code{300}) +I/O timeout in seconds. + +@item @code{user} (default: @var{"root"}) +Owner of the @code{rsync} process. + +@item @code{group} (default: @var{"root"}) +Group of the @code{rsync} process. + +@item @code{uid} (default: @var{"rsyncd"}) +User name or user ID that file transfers to and from that module should take +place as when the daemon was run as @code{root}. + +@item @code{gid} (default: @var{"rsyncd"}) +Group name or group ID that will be used when accessing the module. + +@end table +@end deftp + +Furthermore, @code{(gnu services ssh)} provides the following services. +@cindex SSH +@cindex SSH server + +@deffn {Scheme Procedure} lsh-service [#:host-key "/etc/lsh/host-key"] @ + [#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @ +[#:allow-empty-passwords? #f] [#:root-login? #f] @ [#:syslog-output? #t] +[#:x11-forwarding? #t] @ [#:tcp/ip-forwarding? #t] +[#:password-authentication? #t] @ [#:public-key-authentication? #t] +[#:initialize? #t] Run the @command{lshd} program from @var{lsh} to listen +on port @var{port-number}. @var{host-key} must designate a file containing +the host key, and readable only by root. + +When @var{daemonic?} is true, @command{lshd} will detach from the +controlling terminal and log its output to syslogd, unless one sets +@var{syslog-output?} to false. Obviously, it also makes lsh-service depend +on existence of syslogd service. When @var{pid-file?} is true, +@command{lshd} writes its PID to the file called @var{pid-file}. + +When @var{initialize?} is true, automatically create the seed and host key +upon service activation if they do not exist yet. This may take long and +require interaction. + +When @var{initialize?} is false, it is up to the user to initialize the +randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to +create a key pair with the private key stored in file @var{host-key} +(@pxref{lshd basics,,, lsh, LSH Manual}). + +When @var{interfaces} is empty, lshd listens for connections on all the +network interfaces; otherwise, @var{interfaces} must be a list of host names +or addresses. + +@var{allow-empty-passwords?} specifies whether to accept log-ins with empty +passwords, and @var{root-login?} specifies whether to accept log-ins as +root. + +The other options should be self-descriptive. +@end deffn + +@cindex SSH +@cindex SSH server +@deffn {Scheme Variable} openssh-service-type +This is the type for the @uref{http://www.openssh.org, OpenSSH} secure shell +daemon, @command{sshd}. Its value must be an @code{openssh-configuration} +record as in this example: + +@example +(service openssh-service-type + (openssh-configuration + (x11-forwarding? #t) + (permit-root-login 'without-password) + (authorized-keys + `(("alice" ,(local-file "alice.pub")) + ("bob" ,(local-file "bob.pub")))))) +@end example + +See below for details about @code{openssh-configuration}. + +This service can be extended with extra authorized keys, as in this example: + +@example +(service-extension openssh-service-type + (const `(("charlie" + ,(local-file "charlie.pub"))))) +@end example +@end deffn + +@deftp {Data Type} openssh-configuration +This is the configuration record for OpenSSH's @command{sshd}. + +@table @asis +@item @code{pid-file} (default: @code{"/var/run/sshd.pid"}) +Name of the file where @command{sshd} writes its PID. + +@item @code{port-number} (default: @code{22}) +TCP port on which @command{sshd} listens for incoming connections. + +@item @code{permit-root-login} (default: @code{#f}) +This field determines whether and when to allow logins as root. If +@code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If +it's the symbol @code{'without-password}, then root logins are permitted but +not with password-based authentication. + +@item @code{allow-empty-passwords?} (default: @code{#f}) +When true, users with empty passwords may log in. When false, they may not. + +@item @code{password-authentication?} (default: @code{#t}) +When true, users may log in with their password. When false, they have +other authentication methods. + +@item @code{public-key-authentication?} (default: @code{#t}) +When true, users may log in using public key authentication. When false, +users have to use other authentication method. + +Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is +used only by protocol version 2. + +@item @code{x11-forwarding?} (default: @code{#f}) +When true, forwarding of X11 graphical client connections is enabled---in +other words, @command{ssh} options @option{-X} and @option{-Y} will work. + +@item @code{allow-agent-forwarding?} (default: @code{#t}) +Whether to allow agent forwarding. + +@item @code{allow-tcp-forwarding?} (default: @code{#t}) +Whether to allow TCP forwarding. + +@item @code{gateway-ports?} (default: @code{#f}) +Whether to allow gateway ports. + +@item @code{challenge-response-authentication?} (default: @code{#f}) +Specifies whether challenge response authentication is allowed (e.g.@: via +PAM). + +@item @code{use-pam?} (default: @code{#t}) +Enables the Pluggable Authentication Module interface. If set to @code{#t}, +this will enable PAM authentication using +@code{challenge-response-authentication?} and +@code{password-authentication?}, in addition to PAM account and session +module processing for all authentication types. + +Because PAM challenge response authentication usually serves an equivalent +role to password authentication, you should disable either +@code{challenge-response-authentication?} or +@code{password-authentication?}. + +@item @code{print-last-log?} (default: @code{#t}) +Specifies whether @command{sshd} should print the date and time of the last +user login when a user logs in interactively. + +@item @code{subsystems} (default: @code{'(("sftp" "internal-sftp"))}) +Configures external subsystems (e.g.@: file transfer daemon). + +This is a list of two-element lists, each of which containing the subsystem +name and a command (with optional arguments) to execute upon subsystem +request. + +The command @command{internal-sftp} implements an in-process SFTP server. +Alternately, one can specify the @command{sftp-server} command: +@example +(service openssh-service-type + (openssh-configuration + (subsystems + `(("sftp" ,(file-append openssh "/libexec/sftp-server")))))) +@end example + +@item @code{accepted-environment} (default: @code{'()}) +List of strings describing which environment variables may be exported. + +Each string gets on its own line. See the @code{AcceptEnv} option in +@code{man sshd_config}. + +This example allows ssh-clients to export the @code{COLORTERM} variable. It +is set by terminal emulators, which support colors. You can use it in your +shell's ressource file to enable colors for the prompt and commands if this +variable is set. + +@example +(service openssh-service-type + (openssh-configuration + (accepted-environment '("COLORTERM")))) +@end example + +@item @code{authorized-keys} (default: @code{'()}) +@cindex authorized keys, SSH +@cindex SSH authorized keys +This is the list of authorized keys. Each element of the list is a user +name followed by one or more file-like objects that represent SSH public +keys. For example: + +@example +(openssh-configuration + (authorized-keys + `(("rekado" ,(local-file "rekado.pub")) + ("chris" ,(local-file "chris.pub")) + ("root" ,(local-file "rekado.pub") ,(local-file "chris.pub"))))) +@end example + +@noindent +registers the specified public keys for user accounts @code{rekado}, +@code{chris}, and @code{root}. + +Additional authorized keys can be specified @i{via} +@code{service-extension}. + +Note that this does @emph{not} interfere with the use of +@file{~/.ssh/authorized_keys}. + +@item @code{log-level} (default: @code{'info}) +This is a symbol specifying the logging level: @code{quiet}, @code{fatal}, +@code{error}, @code{info}, @code{verbose}, @code{debug}, etc. See the man +page for @file{sshd_config} for the full list of level names. + +@end table +@end deftp + +@deffn {Scheme Procedure} dropbear-service [@var{config}] +Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH +daemon} with the given @var{config}, a @code{} +object. + +For example, to specify a Dropbear service listening on port 1234, add this +call to the operating system's @code{services} field: + +@example +(dropbear-service (dropbear-configuration + (port-number 1234))) +@end example +@end deffn + +@deftp {Data Type} dropbear-configuration +This data type represents the configuration of a Dropbear SSH daemon. + +@table @asis +@item @code{dropbear} (default: @var{dropbear}) +The Dropbear package to use. + +@item @code{port-number} (default: 22) +The TCP port where the daemon waits for incoming connections. + +@item @code{syslog-output?} (default: @code{#t}) +Whether to enable syslog output. + +@item @code{pid-file} (default: @code{"/var/run/dropbear.pid"}) +File name of the daemon's PID file. + +@item @code{root-login?} (default: @code{#f}) +Whether to allow @code{root} logins. + +@item @code{allow-empty-passwords?} (default: @code{#f}) +Whether to allow empty passwords. + +@item @code{password-authentication?} (default: @code{#t}) +Whether to enable password-based authentication. +@end table +@end deftp + +@defvr {Scheme Variable} %facebook-host-aliases +This variable contains a string for use in @file{/etc/hosts} (@pxref{Host +Names,,, libc, The GNU C Library Reference Manual}). Each line contains a +entry that maps a known server name of the Facebook on-line service---e.g., +@code{www.facebook.com}---to the local host---@code{127.0.0.1} or its IPv6 +equivalent, @code{::1}. + +This variable is typically used in the @code{hosts-file} field of an +@code{operating-system} declaration (@pxref{„operating-system“-Referenz, +@file{/etc/hosts}}): + +@example +(use-modules (gnu) (guix)) + +(operating-system + (host-name "mymachine") + ;; ... + (hosts-file + ;; Create a /etc/hosts file with aliases for "localhost" + ;; and "mymachine", as well as for Facebook servers. + (plain-file "hosts" + (string-append (local-host-aliases host-name) + %facebook-host-aliases)))) +@end example + +This mechanism can prevent programs running locally, such as Web browsers, +from accessing Facebook. +@end defvr + +The @code{(gnu services avahi)} provides the following definition. + +@deffn {Scheme Procedure} avahi-service [#:avahi @var{avahi}] @ + [#:host-name #f] [#:publish? #t] [#:ipv4? #t] @ [#:ipv6? #t] [#:wide-area? +#f] @ [#:domains-to-browse '()] [#:debug? #f] Return a service that runs +@command{avahi-daemon}, a system-wide mDNS/DNS-SD responder that allows for +service discovery and "zero-configuration" host name lookups (see +@uref{http://avahi.org/}), and extends the name service cache daemon (nscd) +so that it can resolve @code{.local} host names using +@uref{http://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. +Additionally, add the @var{avahi} package to the system profile so that +commands such as @command{avahi-browse} are directly usable. + +If @var{host-name} is different from @code{#f}, use that as the host name to +publish for this machine; otherwise, use the machine's actual host name. + +When @var{publish?} is true, publishing of host names and services is +allowed; in particular, avahi-daemon will publish the machine's host name +and IP address via mDNS on the local network. + +When @var{wide-area?} is true, DNS-SD over unicast DNS is enabled. + +Boolean values @var{ipv4?} and @var{ipv6?} determine whether to use +IPv4/IPv6 sockets. +@end deffn + +@deffn {Scheme Variable} openvswitch-service-type +This is the type of the @uref{http://www.openvswitch.org, Open vSwitch} +service, whose value should be an @code{openvswitch-configuration} object. +@end deffn + +@deftp {Data Type} openvswitch-configuration +Data type representing the configuration of Open vSwitch, a multilayer +virtual switch which is designed to enable massive network automation +through programmatic extension. + +@table @asis +@item @code{package} (default: @var{openvswitch}) +Package object of the Open vSwitch. + +@end table +@end deftp + +@node X Window +@subsubsection X Window + +@cindex X11 +@cindex X Window System +@cindex login manager +Support for the X Window graphical display system---specifically Xorg---is +provided by the @code{(gnu services xorg)} module. Note that there is no +@code{xorg-service} procedure. Instead, the X server is started by the +@dfn{login manager}, by default SLiM. + +@cindex window manager +To use X11, you must install at least one @dfn{window manager}---for example +the @code{windowmaker} or @code{openbox} packages---preferably by adding it +to the @code{packages} field of your operating system definition +(@pxref{„operating-system“-Referenz, system-wide packages}). + +@defvr {Scheme Variable} slim-service-type +This is the type for the SLiM graphical login manager for X11. + +@cindex session types (X11) +@cindex X11 session types +SLiM looks for @dfn{session types} described by the @file{.desktop} files in +@file{/run/current-system/profile/share/xsessions} and allows users to +choose a session from the log-in screen using @kbd{F1}. Packages such as +@code{xfce}, @code{sawfish}, and @code{ratpoison} provide @file{.desktop} +files; adding them to the system-wide set of packages automatically makes +them available at the log-in screen. + +In addition, @file{~/.xsession} files are honored. When available, +@file{~/.xsession} must be an executable that starts a window manager and/or +other X clients. +@end defvr + +@deftp {Data Type} slim-configuration +Data type representing the configuration of @code{slim-service-type}. + +@table @asis +@item @code{allow-empty-passwords?} (default: @code{#t}) +Whether to allow logins with empty passwords. + +@item @code{auto-login?} (default: @code{#f}) +@itemx @code{default-user} (default: @code{""}) +When @code{auto-login?} is false, SLiM presents a log-in screen. + +When @code{auto-login?} is true, SLiM logs in directly as +@code{default-user}. + +@item @code{theme} (default: @code{%default-slim-theme}) +@itemx @code{theme-name} (default: @code{%default-slim-theme-name}) +The graphical theme to use and its name. + +@item @code{auto-login-session} (default: @code{#f}) +If true, this must be the name of the executable to start as the default +session---e.g., @code{(file-append windowmaker "/bin/windowmaker")}. + +If false, a session described by one of the available @file{.desktop} files +in @code{/run/current-system/profile} and @code{~/.guix-profile} will be +used. + +@quotation Anmerkung +You must install at least one window manager in the system profile or in +your user profile. Failing to do that, if @code{auto-login-session} is +false, you will be unable to log in. +@end quotation + +@item @code{startx} (default: @code{(xorg-start-command)}) +The command used to start the X11 graphical server. + +@item @code{xauth} (default: @code{xauth}) +The XAuth package to use. + +@item @code{shepherd} (default: @code{shepherd}) +The Shepherd package used when invoking @command{halt} and @command{reboot}. + +@item @code{sessreg} (default: @code{sessreg}) +The sessreg package used in order to register the session. + +@item @code{slim} (default: @code{slim}) +The SLiM package to use. +@end table +@end deftp + +@defvr {Scheme Variable} %default-theme +@defvrx {Scheme Variable} %default-theme-name +The default SLiM theme and its name. +@end defvr + + +@deftp {Data Type} sddm-configuration +This is the data type representing the sddm service configuration. + +@table @asis +@item @code{display-server} (default: "x11") +Select display server to use for the greeter. Valid values are "x11" or +"wayland". + +@item @code{numlock} (default: "on") +Valid values are "on", "off" or "none". + +@item @code{halt-command} (default @code{#~(string-apppend #$shepherd "/sbin/halt")}) +Command to run when halting. + +@item @code{reboot-command} (default @code{#~(string-append #$shepherd "/sbin/reboot")}) +Command to run when rebooting. + +@item @code{theme} (default "maldives") +Theme to use. Default themes provided by SDDM are "elarun" or "maldives". + +@item @code{themes-directory} (default "/run/current-system/profile/share/sddm/themes") +Directory to look for themes. + +@item @code{faces-directory} (default "/run/current-system/profile/share/sddm/faces") +Directory to look for faces. + +@item @code{default-path} (default "/run/current-system/profile/bin") +Default PATH to use. + +@item @code{minimum-uid} (default 1000) +Minimum UID to display in SDDM. + +@item @code{maximum-uid} (default 2000) +Maximum UID to display in SDDM + +@item @code{remember-last-user?} (default #t) +Remember last user. + +@item @code{remember-last-session?} (default #t) +Remember last session. + +@item @code{hide-users} (default "") +Usernames to hide from SDDM greeter. + +@item @code{hide-shells} (default @code{#~(string-append #$shadow "/sbin/nologin")}) +Users with shells listed will be hidden from the SDDM greeter. + +@item @code{session-command} (default @code{#~(string-append #$sddm "/share/sddm/scripts/wayland-session")}) +Script to run before starting a wayland session. + +@item @code{sessions-directory} (default "/run/current-system/profile/share/wayland-sessions") +Directory to look for desktop files starting wayland sessions. + +@item @code{xorg-server-path} (default @code{xorg-start-command}) +Path to xorg-server. + +@item @code{xauth-path} (default @code{#~(string-append #$xauth "/bin/xauth")}) +Path to xauth. + +@item @code{xephyr-path} (default @code{#~(string-append #$xorg-server "/bin/Xephyr")}) +Path to Xephyr. + +@item @code{xdisplay-start} (default @code{#~(string-append #$sddm "/share/sddm/scripts/Xsetup")}) +Script to run after starting xorg-server. + +@item @code{xdisplay-stop} (default @code{#~(string-append #$sddm "/share/sddm/scripts/Xstop")}) +Script to run before stopping xorg-server. + +@item @code{xsession-command} (default: @code{xinitrc}) +Script to run before starting a X session. + +@item @code{xsessions-directory} (default: "/run/current-system/profile/share/xsessions") +Directory to look for desktop files starting X sessions. + +@item @code{minimum-vt} (default: 7) +Minimum VT to use. + +@item @code{xserver-arguments} (default "-nolisten tcp") +Arguments to pass to xorg-server. + +@item @code{auto-login-user} (default "") +User to use for auto-login. + +@item @code{auto-login-session} (default "") +Desktop file to use for auto-login. + +@item @code{relogin?} (default #f) +Relogin after logout. + +@end table +@end deftp + +@cindex login manager +@cindex X11 login +@deffn {Scheme Procedure} sddm-service config +Return a service that spawns the SDDM graphical login manager for config of +type @code{}. + +@example + (sddm-service (sddm-configuration + (auto-login-user "Alice") + (auto-login-session "xfce.desktop"))) +@end example +@end deffn + +@deffn {Scheme Procedure} xorg-start-command [#:guile] @ + [#:modules %default-xorg-modules] @ [#:fonts %default-xorg-fonts] @ +[#:configuration-file (xorg-configuration-file @dots{})] @ [#:xorg-server +@var{xorg-server}] Return a @code{startx} script in which @var{modules}, a +list of X module packages, and @var{fonts}, a list of X font directories, +are available. See @code{xorg-wrapper} for more details on the arguments. +The result should be used in place of @code{startx}. + +Usually the X server is started by a login manager. +@end deffn + +@deffn {Scheme Procedure} xorg-configuration-file @ + [#:modules %default-xorg-modules] @ [#:fonts %default-xorg-fonts] @ +[#:drivers '()] [#:resolutions '()] [#:extra-config '()] Return a +configuration file for the Xorg server containing search paths for all the +common drivers. + +@var{modules} must be a list of @dfn{module packages} loaded by the Xorg +server---e.g., @code{xf86-video-vesa}, @code{xf86-input-keyboard}, and so +on. @var{fonts} must be a list of font directories to add to the server's +@dfn{font path}. + +@var{drivers} must be either the empty list, in which case Xorg chooses a +graphics driver automatically, or a list of driver names that will be tried +in this order---e.g., @code{("modesetting" "vesa")}. + +Likewise, when @var{resolutions} is the empty list, Xorg chooses an +appropriate screen resolution; otherwise, it must be a list of +resolutions---e.g., @code{((1024 768) (640 480))}. + +Last, @var{extra-config} is a list of strings or objects appended to the +configuration file. It is used to pass extra text to be added verbatim to +the configuration file. + +@cindex keymap +@cindex keyboard layout +This procedure is especially useful to configure a different keyboard layout +than the default US keymap. For instance, to use the ``bépo'' keymap by +default on the display manager: + +@example +(define bepo-evdev + "Section \"InputClass\" + Identifier \"evdev keyboard catchall\" + Driver \"evdev\" + MatchIsKeyboard \"on\" + Option \"xkb_layout\" \"fr\" + Option \"xkb_variant\" \"bepo\" +EndSection") + +(operating-system + ... + (services + (modify-services %desktop-services + (slim-service-type config => + (slim-configuration + (inherit config) + (startx (xorg-start-command + #:configuration-file + (xorg-configuration-file + #:extra-config + (list bepo-evdev))))))))) +@end example + +The @code{MatchIsKeyboard} line specifies that we only apply the +configuration to keyboards. Without this line, other devices such as +touchpad may not work correctly because they will be attached to the wrong +driver. In this example, the user typically used @code{setxkbmap fr bepo} +to set their favorite keymap once logged in. The first argument corresponds +to the layout, while the second argument corresponds to the variant. The +@code{xkb_variant} line can be omitted to select the default variant. +@end deffn + +@deffn {Scheme Procedure} screen-locker-service @var{package} [@var{program}] +Add @var{package}, a package for a screen locker or screen saver whose +command is @var{program}, to the set of setuid programs and add a PAM entry +for it. For example: + +@lisp +(screen-locker-service xlockmore "xlock") +@end lisp + +makes the good ol' XlockMore usable. +@end deffn + + +@node Druckdienste +@subsubsection Druckdienste + +@cindex printer support with CUPS +The @code{(gnu services cups)} module provides a Guix service definition for +the CUPS printing service. To add printer support to a GuixSD system, add a +@code{cups-service} to the operating system definition: + +@deffn {Scheme Variable} cups-service-type +The service type for the CUPS print server. Its value should be a valid +CUPS configuration (see below). To use the default settings, simply write: +@example +(service cups-service-type) +@end example +@end deffn + +The CUPS configuration controls the basic things about your CUPS +installation: what interfaces it listens on, what to do if a print job +fails, how much logging to do, and so on. To actually add a printer, you +have to visit the @url{http://localhost:631} URL, or use a tool such as +GNOME's printer configuration services. By default, configuring a CUPS +service will generate a self-signed certificate if needed, for secure +connections to the print server. + +Suppose you want to enable the Web interface of CUPS and also add support +for Epson printers @i{via} the @code{escpr} package and for HP printers +@i{via} the @code{hplip-minimal} package. You can do that directly, like +this (you need to use the @code{(gnu packages cups)} module): + +@example +(service cups-service-type + (cups-configuration + (web-interface? #t) + (extensions + (list cups-filters escpr hplip-minimal)))) +@end example + +Note: If you wish to use the Qt5 based GUI which comes with the hplip +package then it is suggested that you install the @code{hplip} package, +either in your OS configuration file or as your user. + +The available configuration parameters follow. Each parameter definition is +preceded by its type; for example, @samp{string-list foo} indicates that the +@code{foo} parameter should be specified as a list of strings. There is +also a way to specify the configuration as a string, if you have an old +@code{cupsd.conf} file that you want to port over from some other system; +see the end for more details. + +@c The following documentation was initially generated by +@c (generate-documentation) in (gnu services cups). Manually maintained +@c documentation is better, so we shouldn't hesitate to edit below as +@c needed. However if the change you want to make to this documentation +@c can be done in an automated way, it's probably easier to change +@c (generate-documentation) than to make it below and have to deal with +@c the churn as CUPS updates. + + +Available @code{cups-configuration} fields are: + +@deftypevr {@code{cups-configuration} parameter} package cups +The CUPS package. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} package-list extensions +Drivers and other extensions to the CUPS package. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} files-configuration files-configuration +Configuration of where to write logs, what directories to use for print +spools, and related privileged configuration parameters. + +Available @code{files-configuration} fields are: + +@deftypevr {@code{files-configuration} parameter} log-location access-log +Defines the access log filename. Specifying a blank filename disables +access log generation. The value @code{stderr} causes log entries to be +sent to the standard error file when the scheduler is running in the +foreground, or to the system log daemon when run in the background. The +value @code{syslog} causes log entries to be sent to the system log daemon. +The server name may be included in filenames using the string @code{%s}, as +in @code{/var/log/cups/%s-access_log}. + +Defaults to @samp{"/var/log/cups/access_log"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} file-name cache-dir +Where CUPS should cache data. + +Defaults to @samp{"/var/cache/cups"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} string config-file-perm +Specifies the permissions for all configuration files that the scheduler +writes. + +Note that the permissions for the printers.conf file are currently masked to +only allow access from the scheduler user (typically root). This is done +because printer device URIs sometimes contain sensitive authentication +information that should not be generally known on the system. There is no +way to disable this security feature. + +Defaults to @samp{"0640"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} log-location error-log +Defines the error log filename. Specifying a blank filename disables access +log generation. The value @code{stderr} causes log entries to be sent to +the standard error file when the scheduler is running in the foreground, or +to the system log daemon when run in the background. The value +@code{syslog} causes log entries to be sent to the system log daemon. The +server name may be included in filenames using the string @code{%s}, as in +@code{/var/log/cups/%s-error_log}. + +Defaults to @samp{"/var/log/cups/error_log"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} string fatal-errors +Specifies which errors are fatal, causing the scheduler to exit. The kind +strings are: + +@table @code +@item none +No errors are fatal. + +@item all +All of the errors below are fatal. + +@item browse +Browsing initialization errors are fatal, for example failed connections to +the DNS-SD daemon. + +@item config +Configuration file syntax errors are fatal. + +@item listen +Listen or Port errors are fatal, except for IPv6 failures on the loopback or +@code{any} addresses. + +@item log +Log file creation or write errors are fatal. + +@item permissions +Bad startup file permissions are fatal, for example shared TLS certificate +and key files with world-read permissions. +@end table + +Defaults to @samp{"all -browse"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} boolean file-device? +Specifies whether the file pseudo-device can be used for new printer +queues. The URI @uref{file:///dev/null} is always allowed. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} string group +Specifies the group name or ID that will be used when executing external +programs. + +Defaults to @samp{"lp"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} string log-file-perm +Specifies the permissions for all log files that the scheduler writes. + +Defaults to @samp{"0644"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} log-location page-log +Defines the page log filename. Specifying a blank filename disables access +log generation. The value @code{stderr} causes log entries to be sent to +the standard error file when the scheduler is running in the foreground, or +to the system log daemon when run in the background. The value +@code{syslog} causes log entries to be sent to the system log daemon. The +server name may be included in filenames using the string @code{%s}, as in +@code{/var/log/cups/%s-page_log}. + +Defaults to @samp{"/var/log/cups/page_log"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} string remote-root +Specifies the username that is associated with unauthenticated accesses by +clients claiming to be the root user. The default is @code{remroot}. + +Defaults to @samp{"remroot"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} file-name request-root +Specifies the directory that contains print jobs and other HTTP request +data. + +Defaults to @samp{"/var/spool/cups"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} sandboxing sandboxing +Specifies the level of security sandboxing that is applied to print filters, +backends, and other child processes of the scheduler; either @code{relaxed} +or @code{strict}. This directive is currently only used/supported on macOS. + +Defaults to @samp{strict}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} file-name server-keychain +Specifies the location of TLS certificates and private keys. CUPS will look +for public and private keys in this directory: a @code{.crt} files for +PEM-encoded certificates and corresponding @code{.key} files for PEM-encoded +private keys. + +Defaults to @samp{"/etc/cups/ssl"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} file-name server-root +Specifies the directory containing the server configuration files. + +Defaults to @samp{"/etc/cups"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} boolean sync-on-close? +Specifies whether the scheduler calls fsync(2) after writing configuration +or state files. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} space-separated-string-list system-group +Specifies the group(s) to use for @code{@@SYSTEM} group authentication. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} file-name temp-dir +Specifies the directory where temporary files are stored. + +Defaults to @samp{"/var/spool/cups/tmp"}. +@end deftypevr + +@deftypevr {@code{files-configuration} parameter} string user +Specifies the user name or ID that is used when running external programs. + +Defaults to @samp{"lp"}. +@end deftypevr +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} access-log-level access-log-level +Specifies the logging level for the AccessLog file. The @code{config} level +logs when printers and classes are added, deleted, or modified and when +configuration files are accessed or updated. The @code{actions} level logs +when print jobs are submitted, held, released, modified, or canceled, and +any of the conditions for @code{config}. The @code{all} level logs all +requests. + +Defaults to @samp{actions}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean auto-purge-jobs? +Specifies whether to purge job history data automatically when it is no +longer required for quotas. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols +Specifies which protocols to use for local printer sharing. + +Defaults to @samp{dnssd}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean browse-web-if? +Specifies whether the CUPS web interface is advertised. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean browsing? +Specifies whether shared printers are advertised. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string classification +Specifies the security classification of the server. Any valid banner name +can be used, including "classified", "confidential", "secret", "topsecret", +and "unclassified", or the banner can be omitted to disable secure printing +functions. + +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean classify-override? +Specifies whether users may override the classification (cover page) of +individual print jobs using the @code{job-sheets} option. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} default-auth-type default-auth-type +Specifies the default type of authentication to use. + +Defaults to @samp{Basic}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} default-encryption default-encryption +Specifies whether encryption will be used for authenticated requests. + +Defaults to @samp{Required}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string default-language +Specifies the default language to use for text and web content. + +Defaults to @samp{"en"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string default-paper-size +Specifies the default paper size for new print queues. @samp{"Auto"} uses a +locale-specific default, while @samp{"None"} specifies there is no default +paper size. Specific size names are typically @samp{"Letter"} or +@samp{"A4"}. + +Defaults to @samp{"Auto"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string default-policy +Specifies the default access policy to use. + +Defaults to @samp{"default"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean default-shared? +Specifies whether local printers are shared by default. + +Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval +Specifies the delay for updating of configuration and state files, in +seconds. A value of 0 causes the update to happen as soon as possible, +typically within a few milliseconds. + +Defaults to @samp{30}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} error-policy error-policy +Specifies what to do when an error occurs. Possible values are +@code{abort-job}, which will discard the failed print job; @code{retry-job}, +which will retry the job at a later time; @code{retry-this-job}, which +retries the failed job immediately; and @code{stop-printer}, which stops the +printer. + +Defaults to @samp{stop-printer}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer filter-limit +Specifies the maximum cost of filters that are run concurrently, which can +be used to minimize disk, memory, and CPU resource problems. A limit of 0 +disables filter limiting. An average print to a non-PostScript printer +needs a filter limit of about 200. A PostScript printer needs about half +that (100). Setting the limit below these thresholds will effectively limit +the scheduler to printing a single job at any time. + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer filter-nice +Specifies the scheduling priority of filters that are run to print a job. +The nice value ranges from 0, the highest priority, to 19, the lowest +priority. + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} host-name-lookups host-name-lookups +Specifies whether to do reverse lookups on connecting clients. The +@code{double} setting causes @code{cupsd} to verify that the hostname +resolved from the address matches one of the addresses returned for that +hostname. Double lookups also prevent clients with unregistered addresses +from connecting to your server. Only set this option to @code{#t} or +@code{double} if absolutely required. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer job-kill-delay +Specifies the number of seconds to wait before killing the filters and +backend associated with a canceled or held job. + +Defaults to @samp{30}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer job-retry-interval +Specifies the interval between retries of jobs in seconds. This is +typically used for fax queues but can also be used with normal print queues +whose error policy is @code{retry-job} or @code{retry-current-job}. + +Defaults to @samp{30}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer job-retry-limit +Specifies the number of retries that are done for jobs. This is typically +used for fax queues but can also be used with normal print queues whose +error policy is @code{retry-job} or @code{retry-current-job}. + +Defaults to @samp{5}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean keep-alive? +Specifies whether to support HTTP keep-alive connections. + +Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout +Specifies how long an idle client connection remains open, in seconds. + +Defaults to @samp{30}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer limit-request-body +Specifies the maximum size of print files, IPP requests, and HTML form +data. A limit of 0 disables the limit check. + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} multiline-string-list listen +Listens on the specified interfaces for connections. Valid values are of +the form @var{address}:@var{port}, where @var{address} is either an IPv6 +address enclosed in brackets, an IPv4 address, or @code{*} to indicate all +addresses. Values can also be file names of local UNIX domain sockets. The +Listen directive is similar to the Port directive but allows you to restrict +access to specific interfaces or networks. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer listen-back-log +Specifies the number of pending connections that will be allowed. This +normally only affects very busy servers that have reached the MaxClients +limit, but can also be triggered by large numbers of simultaneous +connections. When the limit is reached, the operating system will refuse +additional connections until the scheduler can accept the pending ones. + +Defaults to @samp{128}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} location-access-control-list location-access-controls +Specifies a set of additional access controls. + +Available @code{location-access-controls} fields are: + +@deftypevr {@code{location-access-controls} parameter} file-name path +Specifies the URI path to which the access control applies. +@end deftypevr + +@deftypevr {@code{location-access-controls} parameter} access-control-list access-controls +Access controls for all access to this path, in the same format as the +@code{access-controls} of @code{operation-access-control}. + +Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{location-access-controls} parameter} method-access-control-list method-access-controls +Access controls for method-specific access to this path. + +Defaults to @samp{()}. + +Available @code{method-access-controls} fields are: + +@deftypevr {@code{method-access-controls} parameter} boolean reverse? +If @code{#t}, apply access controls to all methods except the listed +methods. Otherwise apply to only the listed methods. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{method-access-controls} parameter} method-list methods +Methods to which this access control applies. + +Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{method-access-controls} parameter} access-control-list access-controls +Access control directives, as a list of strings. Each string should be one +directive, such as "Order allow,deny". + +Defaults to @samp{()}. +@end deftypevr +@end deftypevr +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer log-debug-history +Specifies the number of debugging messages that are retained for logging if +an error occurs in a print job. Debug messages are logged regardless of the +LogLevel setting. + +Defaults to @samp{100}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} log-level log-level +Specifies the level of logging for the ErrorLog file. The value @code{none} +stops all logging while @code{debug2} logs everything. + +Defaults to @samp{info}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} log-time-format log-time-format +Specifies the format of the date and time in the log files. The value +@code{standard} logs whole seconds while @code{usecs} logs microseconds. + +Defaults to @samp{standard}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-clients +Specifies the maximum number of simultaneous clients that are allowed by the +scheduler. + +Defaults to @samp{100}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-clients-per-host +Specifies the maximum number of simultaneous clients that are allowed from a +single address. + +Defaults to @samp{100}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-copies +Specifies the maximum number of copies that a user can print of each job. + +Defaults to @samp{9999}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-hold-time +Specifies the maximum time a job may remain in the @code{indefinite} hold +state before it is canceled. A value of 0 disables cancellation of held +jobs. + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-jobs +Specifies the maximum number of simultaneous jobs that are allowed. Set to +0 to allow an unlimited number of jobs. + +Defaults to @samp{500}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer +Specifies the maximum number of simultaneous jobs that are allowed per +printer. A value of 0 allows up to MaxJobs jobs per printer. + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user +Specifies the maximum number of simultaneous jobs that are allowed per +user. A value of 0 allows up to MaxJobs jobs per user. + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-job-time +Specifies the maximum time a job may take to print before it is canceled, in +seconds. Set to 0 to disable cancellation of "stuck" jobs. + +Defaults to @samp{10800}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer max-log-size +Specifies the maximum size of the log files before they are rotated, in +bytes. The value 0 disables log rotation. + +Defaults to @samp{1048576}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout +Specifies the maximum amount of time to allow between files in a multiple +file print job, in seconds. + +Defaults to @samp{300}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string page-log-format +Specifies the format of PageLog lines. Sequences beginning with percent +(@samp{%}) characters are replaced with the corresponding information, while +all other characters are copied literally. The following percent sequences +are recognized: + +@table @samp +@item %% +insert a single percent character + +@item %@{name@} +insert the value of the specified IPP attribute + +@item %C +insert the number of copies for the current page + +@item %P +insert the current page number + +@item %T +insert the current date and time in common log format + +@item %j +insert the job ID + +@item %p +insert the printer name + +@item %u +insert the username +@end table + +A value of the empty string disables page logging. The string @code{%p %u +%j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} +%@{media@} %@{sides@}} creates a page log with the standard items. + +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} environment-variables environment-variables +Passes the specified environment variable(s) to child processes; a list of +strings. + +Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} policy-configuration-list policies +Specifies named access control policies. + +Available @code{policy-configuration} fields are: + +@deftypevr {@code{policy-configuration} parameter} string name +Name of the policy. +@end deftypevr + +@deftypevr {@code{policy-configuration} parameter} string job-private-access +Specifies an access list for a job's private values. @code{@@ACL} maps to +the printer's requesting-user-name-allowed or requesting-user-name-denied +values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to +the groups listed for the @code{system-group} field of the +@code{files-config} configuration, which is reified into the +@code{cups-files.conf(5)} file. Other possible elements of the access list +include specific user names, and @code{@@@var{group}} to indicate members of +a specific group. The access list may also be simply @code{all} or +@code{default}. + +Defaults to @samp{"@@OWNER @@SYSTEM"}. +@end deftypevr + +@deftypevr {@code{policy-configuration} parameter} string job-private-values +Specifies the list of job values to make private, or @code{all}, +@code{default}, or @code{none}. + +Defaults to @samp{"job-name job-originating-host-name +job-originating-user-name phone"}. +@end deftypevr + +@deftypevr {@code{policy-configuration} parameter} string subscription-private-access +Specifies an access list for a subscription's private values. @code{@@ACL} +maps to the printer's requesting-user-name-allowed or +requesting-user-name-denied values. @code{@@OWNER} maps to the job's +owner. @code{@@SYSTEM} maps to the groups listed for the +@code{system-group} field of the @code{files-config} configuration, which is +reified into the @code{cups-files.conf(5)} file. Other possible elements of +the access list include specific user names, and @code{@@@var{group}} to +indicate members of a specific group. The access list may also be simply +@code{all} or @code{default}. + +Defaults to @samp{"@@OWNER @@SYSTEM"}. +@end deftypevr + +@deftypevr {@code{policy-configuration} parameter} string subscription-private-values +Specifies the list of job values to make private, or @code{all}, +@code{default}, or @code{none}. + +Defaults to @samp{"notify-events notify-pull-method notify-recipient-uri +notify-subscriber-user-name notify-user-data"}. +@end deftypevr + +@deftypevr {@code{policy-configuration} parameter} operation-access-control-list access-controls +Access control by IPP operation. + +Defaults to @samp{()}. +@end deftypevr +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files +Specifies whether job files (documents) are preserved after a job is +printed. If a numeric value is specified, job files are preserved for the +indicated number of seconds after printing. Otherwise a boolean value +applies indefinitely. + +Defaults to @samp{86400}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history +Specifies whether the job history is preserved after a job is printed. If a +numeric value is specified, the job history is preserved for the indicated +number of seconds after printing. If @code{#t}, the job history is +preserved until the MaxJobs limit is reached. + +Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer reload-timeout +Specifies the amount of time to wait for job completion before restarting +the scheduler. + +Defaults to @samp{30}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string rip-cache +Specifies the maximum amount of memory to use when converting documents into +bitmaps for a printer. + +Defaults to @samp{"128m"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string server-admin +Specifies the email address of the server administrator. + +Defaults to @samp{"root@@localhost.localdomain"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} host-name-list-or-* server-alias +The ServerAlias directive is used for HTTP Host header validation when +clients connect to the scheduler from external interfaces. Using the +special name @code{*} can expose your system to known browser-based DNS +rebinding attacks, even when accessing sites through a firewall. If the +auto-discovery of alternate names does not work, we recommend listing each +alternate name with a ServerAlias directive instead of using @code{*}. + +Defaults to @samp{*}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string server-name +Specifies the fully-qualified host name of the server. + +Defaults to @samp{"localhost"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} server-tokens server-tokens +Specifies what information is included in the Server header of HTTP +responses. @code{None} disables the Server header. @code{ProductOnly} +reports @code{CUPS}. @code{Major} reports @code{CUPS 2}. @code{Minor} +reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. +@code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the +output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 +(@var{uname}) IPP/2.0}. + +Defaults to @samp{Minimal}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} string set-env +Set the specified environment variable to be passed to child processes. + +Defaults to @samp{"variable value"}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} multiline-string-list ssl-listen +Listens on the specified interfaces for encrypted connections. Valid values +are of the form @var{address}:@var{port}, where @var{address} is either an +IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate +all addresses. + +Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} ssl-options ssl-options +Sets encryption options. By default, CUPS only supports encryption using +TLS v1.0 or higher using known secure cipher suites. The @code{AllowRC4} +option enables the 128-bit RC4 cipher suites, which are required for some +older clients that do not implement newer ones. The @code{AllowSSL3} option +enables SSL v3.0, which is required for some older clients that do not +support TLS v1.0. + +Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean strict-conformance? +Specifies whether the scheduler requires clients to strictly adhere to the +IPP specifications. + +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} non-negative-integer timeout +Specifies the HTTP request timeout, in seconds. + +Defaults to @samp{300}. + +@end deftypevr + +@deftypevr {@code{cups-configuration} parameter} boolean web-interface? +Specifies whether the web interface is enabled. + +Defaults to @samp{#f}. +@end deftypevr + +At this point you're probably thinking ``oh dear, Guix manual, I like you +but you can stop already with the configuration options''. Indeed. +However, one more point: it could be that you have an existing +@code{cupsd.conf} that you want to use. In that case, you can pass an +@code{opaque-cups-configuration} as the configuration of a +@code{cups-service-type}. + +Available @code{opaque-cups-configuration} fields are: + +@deftypevr {@code{opaque-cups-configuration} parameter} package cups +The CUPS package. +@end deftypevr + +@deftypevr {@code{opaque-cups-configuration} parameter} string cupsd.conf +The contents of the @code{cupsd.conf}, as a string. +@end deftypevr + +@deftypevr {@code{opaque-cups-configuration} parameter} string cups-files.conf +The contents of the @code{cups-files.conf} file, as a string. +@end deftypevr + +For example, if your @code{cupsd.conf} and @code{cups-files.conf} are in +strings of the same name, you could instantiate a CUPS service like this: + +@example +(service cups-service-type + (opaque-cups-configuration + (cupsd.conf cupsd.conf) + (cups-files.conf cups-files.conf))) +@end example + + +@node Desktop-Dienste +@subsubsection Desktop-Dienste + +The @code{(gnu services desktop)} module provides services that are usually +useful in the context of a ``desktop'' setup---that is, on a machine running +a graphical display server, possibly with graphical user interfaces, etc. +It also defines services that provide specific desktop environments like +GNOME, XFCE or MATE. + +To simplify things, the module defines a variable containing the set of +services that users typically expect on a machine with a graphical +environment and networking: + +@defvr {Scheme Variable} %desktop-services +This is a list of services that builds upon @var{%base-services} and adds or +adjusts services for a typical ``desktop'' setup. + +In particular, it adds a graphical login manager (@pxref{X Window, +@code{slim-service}}), screen lockers, a network management tool +(@pxref{Netzwerkdienste, @code{network-manager-service-type}}), energy +and color management services, the @code{elogind} login and seat manager, +the Polkit privilege service, the GeoClue location service, the +AccountsService daemon that allows authorized users change system passwords, +an NTP client (@pxref{Netzwerkdienste}), the Avahi daemon, and has the +name service switch service configured to be able to use @code{nss-mdns} +(@pxref{Name Service Switch, mDNS}). +@end defvr + +The @var{%desktop-services} variable can be used as the @code{services} +field of an @code{operating-system} declaration (@pxref{„operating-system“-Referenz, @code{services}}). + +Additionally, the @code{gnome-desktop-service}, @code{xfce-desktop-service}, +@code{mate-desktop-service} and @code{enlightenment-desktop-service-type} +procedures can add GNOME, XFCE, MATE and/or Enlightenment to a system. To +``add GNOME'' means that system-level services like the backlight adjustment +helpers and the power management utilities are added to the system, +extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to +operate with elevated privileges on a limited number of special-purpose +system interfaces. Additionally, adding a service made by +@code{gnome-desktop-service} adds the GNOME metapackage to the system +profile. Likewise, adding the XFCE service not only adds the @code{xfce} +metapackage to the system profile, but it also gives the Thunar file manager +the ability to open a ``root-mode'' file management window, if the user +authenticates using the administrator's password via the standard polkit +graphical interface. To ``add MATE'' means that @code{polkit} and +@code{dbus} are extended appropriately, allowing MATE to operate with +elevated privileges on a limited number of special-purpose system +interfaces. Additionally, adding a service made by +@code{mate-desktop-service} adds the MATE metapackage to the system +profile. ``Adding ENLIGHTENMENT'' means that @code{dbus} is extended +appropriately, and several of Enlightenment's binaries are set as setuid, +allowing Enlightenment's screen locker and other functionality to work as +expetected. + +The desktop environments in Guix use the Xorg display server by default. If +you'd like to use the newer display server protocol called Wayland, you need +to use the @code{sddm-service} instead of the @code{slim-service} for the +graphical login manager. You should then select the ``GNOME (Wayland)'' +session in SDDM. Alternatively you can also try starting GNOME on Wayland +manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec +dbus-run-session gnome-session``. Currently only GNOME has support for +Wayland. + +@deffn {Scheme Procedure} gnome-desktop-service +Return a service that adds the @code{gnome} package to the system profile, +and extends polkit with the actions from @code{gnome-settings-daemon}. +@end deffn + +@deffn {Scheme Procedure} xfce-desktop-service +Return a service that adds the @code{xfce} package to the system profile, +and extends polkit with the ability for @code{thunar} to manipulate the file +system as root from within a user session, after the user has authenticated +with the administrator's password. +@end deffn + +@deffn {Scheme Procedure} mate-desktop-service +Return a service that adds the @code{mate} package to the system profile, +and extends polkit with the actions from @code{mate-settings-daemon}. +@end deffn + +@deffn {Scheme Procedure} enlightenment-desktop-service-type +Return a service that adds the @code{enlightenment} package to the system +profile, and extends dbus with actions from @code{efl}. +@end deffn + +@deftp {Data Type} enlightenment-desktop-service-configuration +@table @asis +@item @code{enlightenment} (default @code{enlightenment}) +The enlightenment package to use. +@end table +@end deftp + +Because the GNOME, XFCE and MATE desktop services pull in so many packages, +the default @code{%desktop-services} variable doesn't include any of them by +default. To add GNOME, XFCE or MATE, just @code{cons} them onto +@code{%desktop-services} in the @code{services} field of your +@code{operating-system}: + +@example +(use-modules (gnu)) +(use-service-modules desktop) +(operating-system + ... + ;; cons* adds items to the list given as its last argument. + (services (cons* (gnome-desktop-service) + (xfce-desktop-service) + %desktop-services)) + ...) +@end example + +These desktop environments will then be available as options in the +graphical login window. + +The actual service definitions included in @code{%desktop-services} and +provided by @code{(gnu services dbus)} and @code{(gnu services desktop)} are +described below. + +@deffn {Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()] +Return a service that runs the ``system bus'', using @var{dbus}, with +support for @var{services}. + +@uref{http://dbus.freedesktop.org/, D-Bus} is an inter-process communication +facility. Its system bus is used to allow system services to communicate +and to be notified of system-wide events. + +@var{services} must be a list of packages that provide an +@file{etc/dbus-1/system.d} directory containing additional D-Bus +configuration and policy files. For example, to allow avahi-daemon to use +the system bus, @var{services} must be equal to @code{(list avahi)}. +@end deffn + +@deffn {Scheme Procedure} elogind-service [#:config @var{config}] +Return a service that runs the @code{elogind} login and seat management +daemon. @uref{https://github.com/elogind/elogind, Elogind} exposes a D-Bus +interface that can be used to know which users are logged in, know what kind +of sessions they have open, suspend the system, inhibit system suspend, +reboot the system, and other tasks. + +Elogind handles most system-level power events for a computer, for example +suspending the system when a lid is closed, or shutting it down when the +power button is pressed. + +The @var{config} keyword argument specifies the configuration for elogind, +and should be the result of an @code{(elogind-configuration (@var{parameter} +@var{value})...)} invocation. Available parameters and their default values +are: + +@table @code +@item kill-user-processes? +@code{#f} +@item kill-only-users +@code{()} +@item kill-exclude-users +@code{("root")} +@item inhibit-delay-max-seconds +@code{5} +@item handle-power-key +@code{poweroff} +@item handle-suspend-key +@code{suspend} +@item handle-hibernate-key +@code{hibernate} +@item handle-lid-switch +@code{suspend} +@item handle-lid-switch-docked +@code{ignore} +@item power-key-ignore-inhibited? +@code{#f} +@item suspend-key-ignore-inhibited? +@code{#f} +@item hibernate-key-ignore-inhibited? +@code{#f} +@item lid-switch-ignore-inhibited? +@code{#t} +@item holdoff-timeout-seconds +@code{30} +@item idle-action +@code{ignore} +@item idle-action-seconds +@code{(* 30 60)} +@item runtime-directory-size-percent +@code{10} +@item runtime-directory-size +@code{#f} +@item remove-ipc? +@code{#t} +@item suspend-state +@code{("mem" "standby" "freeze")} +@item suspend-mode +@code{()} +@item hibernate-state +@code{("disk")} +@item hibernate-mode +@code{("platform" "shutdown")} +@item hybrid-sleep-state +@code{("disk")} +@item hybrid-sleep-mode +@code{("suspend" "platform" "shutdown")} +@end table +@end deffn + +@deffn {Scheme Procedure} accountsservice-service @ + [#:accountsservice @var{accountsservice}] Return a service that runs +AccountsService, a system service that can list available accounts, change +their passwords, and so on. AccountsService integrates with PolicyKit to +enable unprivileged users to acquire the capability to modify their system +configuration. +@uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the +accountsservice web site} for more information. + +The @var{accountsservice} keyword argument is the @code{accountsservice} +package to expose as a service. +@end deffn + +@deffn {Scheme Procedure} polkit-service @ + [#:polkit @var{polkit}] Return a service that runs the +@uref{http://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege +management service}, which allows system administrators to grant access to +privileged operations in a structured way. By querying the Polkit service, +a privileged system component can know when it should grant additional +capabilities to ordinary users. For example, an ordinary user can be +granted the capability to suspend the system if the user is logged in +locally. +@end deffn + +@deffn {Scheme Procedure} upower-service [#:upower @var{upower}] @ + [#:watts-up-pro? #f] @ [#:poll-batteries? #t] @ [#:ignore-lid? #f] @ +[#:use-percentage-for-policy? #f] @ [#:percentage-low 10] @ +[#:percentage-critical 3] @ [#:percentage-action 2] @ [#:time-low 1200] @ +[#:time-critical 300] @ [#:time-action 120] @ [#:critical-power-action +'hybrid-sleep] Return a service that runs +@uref{http://upower.freedesktop.org/, @command{upowerd}}, a system-wide +monitor for power consumption and battery levels, with the given +configuration settings. It implements the @code{org.freedesktop.UPower} +D-Bus interface, and is notably used by GNOME. +@end deffn + +@deffn {Scheme Procedure} udisks-service [#:udisks @var{udisks}] +Return a service for @uref{http://udisks.freedesktop.org/docs/latest/, +UDisks}, a @dfn{disk management} daemon that provides user interfaces with +notifications and ways to mount/unmount disks. Programs that talk to UDisks +include the @command{udisksctl} command, part of UDisks, and GNOME Disks. +@end deffn + +@deffn {Scheme Procedure} colord-service [#:colord @var{colord}] +Return a service that runs @command{colord}, a system service with a D-Bus +interface to manage the color profiles of input and output devices such as +screens and scanners. It is notably used by the GNOME Color Manager +graphical tool. See @uref{http://www.freedesktop.org/software/colord/, the +colord web site} for more information. +@end deffn + +@deffn {Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()] +Return a configuration allowing an application to access GeoClue location +data. @var{name} is the Desktop ID of the application, without the +@code{.desktop} part. If @var{allowed?} is true, the application will have +access to location information by default. The boolean @var{system?} value +indicates whether an application is a system component or not. Finally +@var{users} is a list of UIDs of all users for which this application is +allowed location info access. An empty users list means that all users are +allowed. +@end deffn + +@defvr {Scheme Variable} %standard-geoclue-applications +The standard list of well-known GeoClue application configurations, granting +authority to the GNOME date-and-time utility to ask for the current location +in order to set the time zone, and allowing the IceCat and Epiphany web +browsers to request location information. IceCat and Epiphany both query +the user before allowing a web page to know the user's location. +@end defvr + +@deffn {Scheme Procedure} geoclue-service [#:colord @var{colord}] @ + [#:whitelist '()] @ [#:wifi-geolocation-url +"https://location.services.mozilla.com/v1/geolocate?key=geoclue"] @ +[#:submit-data? #f] [#:wifi-submission-url +"https://location.services.mozilla.com/v1/submit?key=geoclue"] @ +[#:submission-nick "geoclue"] @ [#:applications +%standard-geoclue-applications] Return a service that runs the GeoClue +location service. This service provides a D-Bus interface to allow +applications to request access to a user's physical location, and optionally +to add information to online location databases. See +@uref{https://wiki.freedesktop.org/www/Software/GeoClue/, the GeoClue web +site} for more information. +@end deffn + +@deffn {Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @ + [@w{#:auto-enable? #f}] Return a service that runs the @command{bluetoothd} +daemon, which manages all the Bluetooth devices and provides a number of +D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is +powered automatically at boot, which can be useful when using a bluetooth +keyboard or mouse. + +Users need to be in the @code{lp} group to access the D-Bus service. +@end deffn + +@node Sound Services +@subsubsection Sound Services + +@cindex sound support +@cindex ALSA +@cindex PulseAudio, sound support + +The @code{(gnu services sound)} module provides a service to configure the +Advanced Linux Sound Architecture (ALSA) system, which makes PulseAudio the +preferred ALSA output driver. + +@deffn {Scheme Variable} alsa-service-type +This is the type for the @uref{https://alsa-project.org/, Advanced Linux +Sound Architecture} (ALSA) system, which generates the +@file{/etc/asound.conf} configuration file. The value for this type is a +@command{alsa-configuration} record as in this example: + +@example +(service alsa-service-type) +@end example + +See below for details about @code{alsa-configuration}. +@end deffn + +@deftp {Data Type} alsa-configuration +Data type representing the configuration for @code{alsa-service}. + +@table @asis +@item @code{alsa-plugins} (default: @var{alsa-plugins}) +@code{alsa-plugins} package to use. + +@item @code{pulseaudio?} (default: @var{#t}) +Whether ALSA applications should transparently be made to use the +@uref{http://www.pulseaudio.org/, PulseAudio} sound server. + +Using PulseAudio allows you to run several sound-producing applications at +the same time and to individual control them @i{via} @command{pavucontrol}, +among other things. + +@item @code{extra-options} (default: @var{""}) +String to append to the @file{/etc/asound.conf} file. + +@end table +@end deftp + +Individual users who want to override the system configuration of ALSA can +do it with the @file{~/.asoundrc} file: + +@example +# In guix, we have to specify the absolute path for plugins. +pcm_type.jack @{ + lib "/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so" +@} + +# Routing ALSA to jack: +# . +pcm.rawjack @{ + type jack + playback_ports @{ + 0 system:playback_1 + 1 system:playback_2 + @} + + capture_ports @{ + 0 system:capture_1 + 1 system:capture_2 + @} +@} + +pcm.!default @{ + type plug + slave @{ + pcm "rawjack" + @} +@} +@end example + +See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the +details. + + +@node Datenbankdienste +@subsubsection Datenbankdienste + +@cindex database +@cindex SQL +The @code{(gnu services databases)} module provides the following services. + +@deffn {Scheme Procedure} postgresql-service [#:postgresql postgresql] @ + [#:config-file] [#:data-directory ``/var/lib/postgresql/data''] @ [#:port +5432] [#:locale ``en_US.utf8''] Return a service that runs @var{postgresql}, +the PostgreSQL database server. + +The PostgreSQL daemon loads its runtime configuration from +@var{config-file}, creates a database cluster with @var{locale} as the +default locale, stored in @var{data-directory}. It then listens on +@var{port}. +@end deffn + +@deffn {Scheme Procedure} mysql-service [#:config (mysql-configuration)] +Return a service that runs @command{mysqld}, the MySQL or MariaDB database +server. + +The optional @var{config} argument specifies the configuration for +@command{mysqld}, which should be a @code{} object. +@end deffn + +@deftp {Data Type} mysql-configuration +Data type representing the configuration of @var{mysql-service}. + +@table @asis +@item @code{mysql} (default: @var{mariadb}) +Package object of the MySQL database server, can be either @var{mariadb} or +@var{mysql}. + +For MySQL, a temporary root password will be displayed at activation time. +For MariaDB, the root password is empty. + +@item @code{port} (default: @code{3306}) +TCP port on which the database server listens for incoming connections. +@end table +@end deftp + +@defvr {Scheme Variable} memcached-service-type +This is the service type for the @uref{https://memcached.org/, Memcached} +service, which provides a distributed in memory cache. The value for the +service type is a @code{memcached-configuration} object. +@end defvr + +@example +(service memcached-service-type) +@end example + +@deftp {Data Type} memcached-configuration +Data type representing the configuration of memcached. + +@table @asis +@item @code{memcached} (default: @code{memcached}) +The Memcached package to use. + +@item @code{interfaces} (default: @code{'("0.0.0.0")}) +Network interfaces on which to listen. + +@item @code{tcp-port} (default: @code{11211}) +Port on which to accept connections on, + +@item @code{udp-port} (default: @code{11211}) +Port on which to accept UDP connections on, a value of 0 will disable +listening on a UDP socket. + +@item @code{additional-options} (default: @code{'()}) +Additional command line options to pass to @code{memcached}. +@end table +@end deftp + +@defvr {Scheme Variable} mongodb-service-type +This is the service type for @uref{https://www.mongodb.com/, MongoDB}. The +value for the service type is a @code{mongodb-configuration} object. +@end defvr + +@example +(service mongodb-service-type) +@end example + +@deftp {Data Type} mongodb-configuration +Data type representing the configuration of mongodb. + +@table @asis +@item @code{mongodb} (default: @code{mongodb}) +The MongoDB package to use. + +@item @code{config-file} (default: @code{%default-mongodb-configuration-file}) +The configuration file for MongoDB. + +@item @code{data-directory} (default: @code{"/var/lib/mongodb"}) +This value is used to create the directory, so that it exists and is owned +by the mongodb user. It should match the data-directory which MongoDB is +configured to use through the configuration file. +@end table +@end deftp + +@defvr {Scheme Variable} redis-service-type +This is the service type for the @uref{https://redis.io/, Redis} key/value +store, whose value is a @code{redis-configuration} object. +@end defvr + +@deftp {Data Type} redis-configuration +Data type representing the configuration of redis. + +@table @asis +@item @code{redis} (default: @code{redis}) +The Redis package to use. + +@item @code{bind} (default: @code{"127.0.0.1"}) +Network interface on which to listen. + +@item @code{port} (default: @code{6379}) +Port on which to accept connections on, a value of 0 will disable listening +on a TCP socket. + +@item @code{working-directory} (default: @code{"/var/lib/redis"}) +Directory in which to store the database and related files. +@end table +@end deftp + +@node Mail-Dienste +@subsubsection Mail-Dienste + +@cindex mail +@cindex email +The @code{(gnu services mail)} module provides Guix service definitions for +email services: IMAP, POP3, and LMTP servers, as well as mail transport +agents (MTAs). Lots of acronyms! These services are detailed in the +subsections below. + +@subsubheading Dovecot Service + +@deffn {Scheme Procedure} dovecot-service [#:config (dovecot-configuration)] +Return a service that runs the Dovecot IMAP/POP3/LMTP mail server. +@end deffn + +By default, Dovecot does not need much configuration; the default +configuration object created by @code{(dovecot-configuration)} will suffice +if your mail is delivered to @code{~/Maildir}. A self-signed certificate +will be generated for TLS-protected connections, though Dovecot will also +listen on cleartext ports by default. There are a number of options, +though, which mail administrators might need to change, and as is the case +with other services, Guix allows the system administrator to specify these +parameters via a uniform Scheme interface. + +For example, to specify that mail is located at @code{maildir~/.mail}, one +would instantiate the Dovecot service like this: + +@example +(dovecot-service #:config + (dovecot-configuration + (mail-location "maildir:~/.mail"))) +@end example + +The available configuration parameters follow. Each parameter definition is +preceded by its type; for example, @samp{string-list foo} indicates that the +@code{foo} parameter should be specified as a list of strings. There is +also a way to specify the configuration as a string, if you have an old +@code{dovecot.conf} file that you want to port over from some other system; +see the end for more details. + +@c The following documentation was initially generated by +@c (generate-documentation) in (gnu services mail). Manually maintained +@c documentation is better, so we shouldn't hesitate to edit below as +@c needed. However if the change you want to make to this documentation +@c can be done in an automated way, it's probably easier to change +@c (generate-documentation) than to make it below and have to deal with +@c the churn as dovecot updates. + +Available @code{dovecot-configuration} fields are: + +@deftypevr {@code{dovecot-configuration} parameter} package dovecot +The dovecot package. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} comma-separated-string-list listen +A list of IPs or hosts where to listen for connections. @samp{*} listens on +all IPv4 interfaces, @samp{::} listens on all IPv6 interfaces. If you want +to specify non-default ports or anything more complex, customize the address +and port fields of the @samp{inet-listener} of the specific services you are +interested in. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} protocol-configuration-list protocols +List of protocols we want to serve. Available protocols include +@samp{imap}, @samp{pop3}, and @samp{lmtp}. + +Available @code{protocol-configuration} fields are: + +@deftypevr {@code{protocol-configuration} parameter} string name +The name of the protocol. +@end deftypevr + +@deftypevr {@code{protocol-configuration} parameter} string auth-socket-path +UNIX socket path to the master authentication server to find users. This is +used by imap (for shared users) and lda. It defaults to +@samp{"/var/run/dovecot/auth-userdb"}. +@end deftypevr + +@deftypevr {@code{protocol-configuration} parameter} space-separated-string-list mail-plugins +Space separated list of plugins to load. +@end deftypevr + +@deftypevr {@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections +Maximum number of IMAP connections allowed for a user from each IP address. +NOTE: The username is compared case-sensitively. Defaults to @samp{10}. +@end deftypevr + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} service-configuration-list services +List of services to enable. Available services include @samp{imap}, +@samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and +@samp{lmtp}. + +Available @code{service-configuration} fields are: + +@deftypevr {@code{service-configuration} parameter} string kind +The service kind. Valid values include @code{director}, @code{imap-login}, +@code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, +@code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning}, or +anything else. +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} listener-configuration-list listeners +Listeners for the service. A listener is either a +@code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or +an @code{inet-listener-configuration}. Defaults to @samp{()}. + +Available @code{unix-listener-configuration} fields are: + +@deftypevr {@code{unix-listener-configuration} parameter} string path +Path to the file, relative to @code{base-dir} field. This is also used as +the section name. +@end deftypevr + +@deftypevr {@code{unix-listener-configuration} parameter} string mode +The access mode for the socket. Defaults to @samp{"0600"}. +@end deftypevr + +@deftypevr {@code{unix-listener-configuration} parameter} string user +The user to own the socket. Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{unix-listener-configuration} parameter} string group +The group to own the socket. Defaults to @samp{""}. +@end deftypevr + + +Available @code{fifo-listener-configuration} fields are: + +@deftypevr {@code{fifo-listener-configuration} parameter} string path +Path to the file, relative to @code{base-dir} field. This is also used as +the section name. +@end deftypevr + +@deftypevr {@code{fifo-listener-configuration} parameter} string mode +The access mode for the socket. Defaults to @samp{"0600"}. +@end deftypevr + +@deftypevr {@code{fifo-listener-configuration} parameter} string user +The user to own the socket. Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{fifo-listener-configuration} parameter} string group +The group to own the socket. Defaults to @samp{""}. +@end deftypevr + + +Available @code{inet-listener-configuration} fields are: + +@deftypevr {@code{inet-listener-configuration} parameter} string protocol +The protocol to listen for. +@end deftypevr + +@deftypevr {@code{inet-listener-configuration} parameter} string address +The address on which to listen, or empty for all addresses. Defaults to +@samp{""}. +@end deftypevr + +@deftypevr {@code{inet-listener-configuration} parameter} non-negative-integer port +The port on which to listen. +@end deftypevr + +@deftypevr {@code{inet-listener-configuration} parameter} boolean ssl? +Whether to use SSL for this service; @samp{yes}, @samp{no}, or +@samp{required}. Defaults to @samp{#t}. +@end deftypevr + +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} non-negative-integer client-limit +Maximum number of simultaneous client connections per process. Once this +number of connections is received, the next incoming connection will prompt +Dovecot to spawn another process. If set to 0, @code{default-client-limit} +is used instead. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} non-negative-integer service-count +Number of connections to handle before starting a new process. Typically +the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is +faster. . Defaults to @samp{1}. + +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} non-negative-integer process-limit +Maximum number of processes that can exist for this service. If set to 0, +@code{default-process-limit} is used instead. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} non-negative-integer process-min-avail +Number of processes to always keep waiting for more connections. Defaults +to @samp{0}. +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} non-negative-integer vsz-limit +If you set @samp{service-count 0}, you probably need to grow this. Defaults +to @samp{256000000}. +@end deftypevr + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} dict-configuration dict +Dict configuration, as created by the @code{dict-configuration} constructor. + +Available @code{dict-configuration} fields are: + +@deftypevr {@code{dict-configuration} parameter} free-form-fields entries +A list of key-value pairs that this dict should hold. Defaults to +@samp{()}. +@end deftypevr + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} passdb-configuration-list passdbs +A list of passdb configurations, each one created by the +@code{passdb-configuration} constructor. + +Available @code{passdb-configuration} fields are: + +@deftypevr {@code{passdb-configuration} parameter} string driver +The driver that the passdb should use. Valid values include @samp{pam}, +@samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{static}. Defaults +to @samp{"pam"}. +@end deftypevr + +@deftypevr {@code{passdb-configuration} parameter} space-separated-string-list args +Space separated list of arguments to the passdb driver. Defaults to +@samp{""}. +@end deftypevr + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} userdb-configuration-list userdbs +List of userdb configurations, each one created by the +@code{userdb-configuration} constructor. + +Available @code{userdb-configuration} fields are: + +@deftypevr {@code{userdb-configuration} parameter} string driver +The driver that the userdb should use. Valid values include @samp{passwd} +and @samp{static}. Defaults to @samp{"passwd"}. +@end deftypevr + +@deftypevr {@code{userdb-configuration} parameter} space-separated-string-list args +Space separated list of arguments to the userdb driver. Defaults to +@samp{""}. +@end deftypevr + +@deftypevr {@code{userdb-configuration} parameter} free-form-args override-fields +Override fields from passwd. Defaults to @samp{()}. +@end deftypevr + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration +Plug-in configuration, created by the @code{plugin-configuration} +constructor. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces +List of namespaces. Each item in the list is created by the +@code{namespace-configuration} constructor. + +Available @code{namespace-configuration} fields are: + +@deftypevr {@code{namespace-configuration} parameter} string name +Name for this namespace. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} string type +Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to +@samp{"private"}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} string separator +Hierarchy separator to use. You should use the same separator for all +namespaces or some clients get confused. @samp{/} is usually a good one. +The default however depends on the underlying mail storage format. Defaults +to @samp{""}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} string prefix +Prefix required to access this namespace. This needs to be different for +all namespaces. For example @samp{Public/}. Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} string location +Physical location of the mailbox. This is in the same format as +mail_location, which is also the default for it. Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} boolean inbox? +There can be only one INBOX, and this setting defines which namespace has +it. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} boolean hidden? +If namespace is hidden, it's not advertised to clients via NAMESPACE +extension. You'll most likely also want to set @samp{list? #f}. This is +mostly useful when converting from another server with different namespaces +which you want to deprecate but still keep working. For example you can +create hidden namespaces with prefixes @samp{~/mail/}, @samp{~%u/mail/} and +@samp{mail/}. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} boolean list? +Show the mailboxes under this namespace with the LIST command. This makes +the namespace visible for clients that do not support the NAMESPACE +extension. The special @code{children} value lists child mailboxes, but +hides the namespace prefix. Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} boolean subscriptions? +Namespace handles its own subscriptions. If set to @code{#f}, the parent +namespace handles them. The empty prefix should always have this as +@code{#t}). Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes +List of predefined mailboxes in this namespace. Defaults to @samp{()}. + +Available @code{mailbox-configuration} fields are: + +@deftypevr {@code{mailbox-configuration} parameter} string name +Name for this mailbox. +@end deftypevr + +@deftypevr {@code{mailbox-configuration} parameter} string auto +@samp{create} will automatically create this mailbox. @samp{subscribe} will +both create and subscribe to the mailbox. Defaults to @samp{"no"}. +@end deftypevr + +@deftypevr {@code{mailbox-configuration} parameter} space-separated-string-list special-use +List of IMAP @code{SPECIAL-USE} attributes as specified by RFC 6154. Valid +values are @code{\All}, @code{\Archive}, @code{\Drafts}, @code{\Flagged}, +@code{\Junk}, @code{\Sent}, and @code{\Trash}. Defaults to @samp{()}. +@end deftypevr + +@end deftypevr + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} file-name base-dir +Base directory where to store runtime data. Defaults to +@samp{"/var/run/dovecot/"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string login-greeting +Greeting message for clients. Defaults to @samp{"Dovecot ready."}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks +List of trusted network ranges. Connections from these IPs are allowed to +override their IP addresses and ports (for logging and for authentication +checks). @samp{disable-plaintext-auth} is also ignored for these networks. +Typically you would specify your IMAP proxy servers here. Defaults to +@samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets +List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean verbose-proctitle? +Show more verbose process titles (in ps). Currently shows user name and IP +address. Useful for seeing who is actually using the IMAP processes (e.g.@: +shared mailboxes or if the same uid is used for multiple accounts). +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean shutdown-clients? +Should all processes be killed when Dovecot master process shuts down. +Setting this to @code{#f} means that Dovecot can be upgraded without forcing +existing client connections to close (although that could also be a problem +if the upgrade is e.g.@: due to a security fix). Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count +If non-zero, run mail commands via this many connections to doveadm server, +instead of running them directly in the same process. Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string doveadm-socket-path +UNIX socket or host:port used for connecting to doveadm server. Defaults to +@samp{"doveadm-server"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list import-environment +List of environment variables that are preserved on Dovecot startup and +passed down to all of its child processes. You can also give key=value +pairs to always set specific settings. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean disable-plaintext-auth? +Disable LOGIN command and all other plaintext authentications unless SSL/TLS +is used (LOGINDISABLED capability). Note that if the remote IP matches the +local IP (i.e.@: you're connecting from the same computer), the connection +is considered secure and plaintext authentication is allowed. See also +ssl=required setting. Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size +Authentication cache size (e.g.@: @samp{#e10e6}). 0 means it's disabled. +Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for +caching to be used. Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-cache-ttl +Time to live for cached data. After TTL expires the cached record is no +longer used, *except* if the main database lookup returns internal failure. +We also try to handle password changes automatically: If user's previous +authentication was successful, but this one wasn't, the cache isn't used. +For now this works only with plaintext authentication. Defaults to @samp{"1 +hour"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-cache-negative-ttl +TTL for negative hits (user not found, password mismatch). 0 disables +caching them completely. Defaults to @samp{"1 hour"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list auth-realms +List of realms for SASL authentication mechanisms that need them. You can +leave it empty if you don't want to support multiple realms. Many clients +simply use the first one listed here, so keep the default realm first. +Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-default-realm +Default realm/domain to use if none was specified. This is used for both +SASL realms and appending @@domain to username in plaintext logins. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-username-chars +List of allowed characters in username. If the user-given username contains +a character not listed in here, the login automatically fails. This is just +an extra check to make sure user can't exploit any potential quote escaping +vulnerabilities with SQL/LDAP databases. If you want to allow all +characters, set this value to empty. Defaults to +@samp{"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@@"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-username-translation +Username character translations before it's looked up from databases. The +value contains series of from -> to characters. For example @samp{#@@/@@} +means that @samp{#} and @samp{/} characters are translated to @samp{@@}. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-username-format +Username formatting before it's looked up from databases. You can use the +standard variables here, e.g.@: %Lu would lowercase the username, %n would +drop away the domain if it was given, or @samp{%n-AT-%d} would change the +@samp{@@} into @samp{-AT-}. This translation is done after +@samp{auth-username-translation} changes. Defaults to @samp{"%Lu"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-master-user-separator +If you want to allow master users to log in by specifying the master +username within the normal username string (i.e.@: not using SASL +mechanism's support for it), you can specify the separator character here. +The format is then . UW-IMAP uses +@samp{*} as the separator, so that could be a good choice. Defaults to +@samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-anonymous-username +Username to use for users logging in with ANONYMOUS SASL mechanism. +Defaults to @samp{"anonymous"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count +Maximum number of dovecot-auth worker processes. They're used to execute +blocking passdb and userdb queries (e.g.@: MySQL and PAM). They're +automatically created and destroyed as needed. Defaults to @samp{30}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-gssapi-hostname +Host name to use in GSSAPI principal names. The default is to use the name +returned by gethostname(). Use @samp{$ALL} (with quotes) to allow all +keytab entries. Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-krb5-keytab +Kerberos keytab to use for the GSSAPI mechanism. Will use the system +default (usually @file{/etc/krb5.keytab}) if not specified. You may need to +change the auth service to run as root to be able to read this file. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-use-winbind? +Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and +@samp{ntlm-auth} helper. . +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path +Path for Samba's @samp{ntlm-auth} helper binary. Defaults to +@samp{"/usr/bin/ntlm_auth"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string auth-failure-delay +Time to delay before replying to failed authentications. Defaults to +@samp{"2 secs"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert? +Require a valid SSL client certificate or the authentication fails. +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert? +Take the username from client's SSL certificate, using +@code{X509_NAME_get_text_by_NID()} which returns the subject's DN's +CommonName. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms +List of wanted authentication mechanisms. Supported mechanisms are: +@samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, +@samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, +@samp{skey}, and @samp{gss-spnego}. NOTE: See also +@samp{disable-plaintext-auth} setting. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list director-servers +List of IPs or hostnames to all director servers, including ourself. Ports +can be specified as ip:port. The default port is the same as what director +service's @samp{inet-listener} is using. Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers +List of IPs or hostnames to all backend mail servers. Ranges are allowed +too, like 10.0.0.10-10.0.0.30. Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string director-user-expire +How long to redirect users to a specific server after it no longer has any +connections. Defaults to @samp{"15 min"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string director-username-hash +How the username is translated before being hashed. Useful values include +%Ln if user can log in with or without @@domain, %Ld if mailboxes are shared +within domain. Defaults to @samp{"%Lu"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string log-path +Log file to use for error messages. @samp{syslog} logs to syslog, +@samp{/dev/stderr} logs to stderr. Defaults to @samp{"syslog"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string info-log-path +Log file to use for informational messages. Defaults to @samp{log-path}. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string debug-log-path +Log file to use for debug messages. Defaults to @samp{info-log-path}. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string syslog-facility +Syslog facility to use if you're logging to syslog. Usually if you don't +want to use @samp{mail}, you'll use local0..local7. Also other standard +facilities are supported. Defaults to @samp{"mail"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-verbose? +Log unsuccessful authentication attempts and the reasons why they failed. +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-verbose-passwords? +In case of password mismatches, log the attempted password. Valid values +are no, plain and sha1. sha1 can be useful for detecting brute force +password attempts vs. user simply trying the same password over and over +again. You can also truncate the value to n chars by appending ":n" (e.g.@: +sha1:6). Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-debug? +Even more verbose logging for debugging purposes. Shows for example SQL +queries. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean auth-debug-passwords? +In case of password mismatches, log the passwords and used scheme so the +problem can be debugged. Enabling this also enables @samp{auth-debug}. +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mail-debug? +Enable mail process debugging. This can help you figure out why Dovecot +isn't finding your mails. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean verbose-ssl? +Show protocol level SSL errors. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string log-timestamp +Prefix for each line written to log file. % codes are in strftime(3) +format. Defaults to @samp{"\"%b %d %H:%M:%S \""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements +List of elements we want to log. The elements which have a non-empty +variable value are joined together to form a comma-separated string. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string login-log-format +Login log format. %s contains @samp{login-log-format-elements} string, %$ +contains the data we want to log. Defaults to @samp{"%$: %s"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-log-prefix +Log prefix for mail processes. See doc/wiki/Variables.txt for list of +possible variables you can use. Defaults to +@samp{"\"%s(%u)<%@{pid@}><%@{session@}>: \""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string deliver-log-format +Format to use for logging mail deliveries. You can use variables: +@table @code +@item %$ +Delivery status message (e.g.@: @samp{saved to INBOX}) +@item %m +Message-ID +@item %s +Subject +@item %f +From address +@item %p +Physical size +@item %w +Virtual size. +@end table +Defaults to @samp{"msgid=%m: %$"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-location +Location for users' mailboxes. The default is empty, which means that +Dovecot tries to find the mailboxes automatically. This won't work if the +user doesn't yet have any mail, so you should explicitly tell Dovecot the +full location. + +If you're using mbox, giving a path to the INBOX file (e.g.@: /var/mail/%u) +isn't enough. You'll also need to tell Dovecot where the other mailboxes +are kept. This is called the "root mail directory", and it must be the +first path given in the @samp{mail-location} setting. + +There are a few special variables you can use, eg.: + +@table @samp +@item %u +username +@item %n +user part in user@@domain, same as %u if there's no domain +@item %d +domain part in user@@domain, empty if there's no domain +@item %h +home director +@end table + +See doc/wiki/Variables.txt for full list. Some examples: +@table @samp +@item maildir:~/Maildir +@item mbox:~/mail:INBOX=/var/mail/%u +@item mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/% +@end table +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-uid +System user and group used to access mails. If you use multiple, userdb can +override these by returning uid or gid fields. You can use either numbers +or names. . Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-gid + +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-privileged-group +Group to enable temporarily for privileged operations. Currently this is +used only with INBOX when either its initial creation or dotlocking fails. +Typically this is set to "mail" to give access to /var/mail. Defaults to +@samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-access-groups +Grant access to these supplementary groups for mail processes. Typically +these are used to set up access to shared mailboxes. Note that it may be +dangerous to set these if users can create symlinks (e.g.@: if "mail" group +is set here, ln -s /var/mail ~/mail/var could allow a user to delete others' +mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow reading +it). Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access? +Allow full file system access to clients. There's no access checks other +than what the operating system does for the active UID/GID. It works with +both maildir and mboxes, allowing you to prefix mailboxes names with e.g.@: +/path/ or ~user/. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mmap-disable? +Don't use mmap() at all. This is required if you store indexes to shared +file systems (NFS or clustered file system). Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean dotlock-use-excl? +Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports +@samp{O_EXCL} since version 3, so this should be safe to use nowadays by +default. Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-fsync +When to use fsync() or fdatasync() calls: +@table @code +@item optimized +Whenever necessary to avoid losing important data +@item always +Useful with e.g.@: NFS when write()s are delayed +@item never +Never use it (best performance, but crashes can lose data). +@end table +Defaults to @samp{"optimized"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mail-nfs-storage? +Mail storage exists in NFS. Set this to yes to make Dovecot flush NFS +caches whenever needed. If you're using only a single mail server this +isn't needed. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mail-nfs-index? +Mail index files also exist in NFS. Setting this to yes requires +@samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to +@samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string lock-method +Locking method for index files. Alternatives are fcntl, flock and dotlock. +Dotlocking uses some tricks which may create more disk I/O than other +locking methods. NFS users: flock doesn't work, remember to change +@samp{mmap-disable}. Defaults to @samp{"fcntl"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} file-name mail-temp-dir +Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. +Defaults to @samp{"/tmp"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid +Valid UID range for users. This is mostly to make sure that users can't log +in as daemons or other system users. Note that denying root logins is +hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} +is set to 0. Defaults to @samp{500}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid +Valid GID range for users. Users having non-valid GID as primary group ID +aren't allowed to log in. If user belongs to supplementary groups with +non-valid GIDs, those groups are not set. Defaults to @samp{1}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid + +Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length +Maximum allowed length for mail keyword name. It's only forced when trying +to create new keywords. Defaults to @samp{50}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs +List of directories under which chrooting is allowed for mail processes +(i.e.@: /var/mail will allow chrooting to /var/mail/foo/bar too). This +setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot +settings. If this setting is empty, "/./" in home dirs are ignored. +WARNING: Never add directories here which local users can modify, that may +lead to root exploit. Usually this should be done only if you don't allow +shell access for users. . Defaults to @samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-chroot +Default chroot directory for mail processes. This can be overridden for +specific users in user database by giving /./ in user's home directory +(e.g.@: /home/./user chroots into /home). Note that usually there is no +real need to do chrooting, Dovecot doesn't allow users to access files +outside their mail directory anyway. If your home directories are prefixed +with the chroot directory, append "/."@: to @samp{mail-chroot}. +. Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} file-name auth-socket-path +UNIX socket path to master authentication server to find users. This is +used by imap (for shared users) and lda. Defaults to +@samp{"/var/run/dovecot/auth-userdb"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} file-name mail-plugin-dir +Directory where to look up mail plugins. Defaults to +@samp{"/usr/lib/dovecot"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins +List of plugins to load for all services. Plugins specific to IMAP, LDA, +etc.@: are added to this list in their own .conf files. Defaults to +@samp{()}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count +The minimum number of mails in a mailbox before updates are done to cache +file. This allows optimizing Dovecot's behavior to do less disk writes at +the cost of more disk reads. Defaults to @samp{0}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mailbox-idle-check-interval +When IDLE command is running, mailbox is checked once in a while to see if +there are any new mails or other changes. This setting defines the minimum +time to wait between those checks. Dovecot can also use dnotify, inotify +and kqueue to find out immediately when changes occur. Defaults to +@samp{"30 secs"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mail-save-crlf? +Save mails with CR+LF instead of plain LF. This makes sending those mails +take less CPU, especially with sendfile() syscall with Linux and FreeBSD. +But it also creates a bit more disk I/O which may just make it slower. Also +note that if other software reads the mboxes/maildirs, they may handle the +extra CRs wrong and cause problems. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean maildir-stat-dirs? +By default LIST command returns all entries in maildir beginning with a +dot. Enabling this option makes Dovecot return only entries which are +directories. This is done by stat()ing each entry, so it causes more disk +I/O. (For systems setting struct @samp{dirent->d_type} this check is free +and it's done always regardless of this setting). Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks? +When copying a message, do it with hard links whenever possible. This makes +the performance much better, and it's unlikely to have any side effects. +Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs? +Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only +when its mtime changes unexpectedly or when we can't find the mail +otherwise. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks +Which locking methods to use for locking mbox. There are four available: + +@table @code +@item dotlock +Create .lock file. This is the oldest and most NFS-safe solution. +If you want to use /var/mail/ like directory, the users will need write +access to that directory. +@item dotlock-try +Same as dotlock, but if it fails because of permissions or because there +isn't enough disk space, just skip it. +@item fcntl +Use this if possible. Works with NFS too if lockd is used. +@item flock +May not exist in all systems. Doesn't work with NFS. +@item lockf +May not exist in all systems. Doesn't work with NFS. +@end table + +You can use multiple locking methods; if you do the order they're declared +in is important to avoid deadlocks if other MTAs/MUAs are using multiple +locking methods as well. Some operating systems don't allow using some of +them simultaneously. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks + +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mbox-lock-timeout +Maximum time to wait for lock (all of them) before aborting. Defaults to +@samp{"5 mins"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout +If dotlock exists but the mailbox isn't modified in any way, override the +lock file after this much time. Defaults to @samp{"2 mins"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs? +When mbox changes unexpectedly we have to fully read it to find out what +changed. If the mbox is large this can take a long time. Since the change +is usually just a newly appended mail, it'd be faster to simply read the new +mails. If this setting is enabled, Dovecot does this but still safely +fallbacks to re-reading the whole mbox file whenever something in mbox isn't +how it's expected to be. The only real downside to this setting is that if +some other MUA changes message flags, Dovecot doesn't notice it +immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE +and CHECK commands. Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs? +Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, +EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} +is ignored. Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mbox-lazy-writes? +Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK +commands and when closing the mailbox). This is especially useful for POP3 +where clients often delete all mails. The downside is that our changes +aren't immediately visible to other MUAs. Defaults to @samp{#t}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size +If mbox size is smaller than this (e.g.@: 100k), don't write index files. +If an index file already exists it's still read, just not updated. Defaults +to @samp{0}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size +Maximum dbox file size until it's rotated. Defaults to @samp{10000000}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mdbox-rotate-interval +Maximum dbox file age until it's rotated. Typically in days. Day begins +from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. +Defaults to @samp{"1d"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space? +When creating new mdbox files, immediately preallocate their size to +@samp{mdbox-rotate-size}. This setting currently works only in Linux with +some file systems (ext4, xfs). Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-attachment-dir +sdbox and mdbox support saving mail attachments to external files, which +also allows single instance storage for them. Other backends don't support +this for now. + +WARNING: This feature hasn't been tested much yet. Use at your own risk. + +Directory root where to store mail attachments. Disabled, if empty. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size +Attachments smaller than this aren't saved externally. It's also possible +to write a plugin to disable saving specific attachments externally. +Defaults to @samp{128000}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-attachment-fs +File system backend to use for saving attachments: +@table @code +@item posix +No SiS done by Dovecot (but this might help FS's own deduplication) +@item sis posix +SiS with immediate byte-by-byte comparison during saving +@item sis-queue posix +SiS with delayed comparison and deduplication. +@end table +Defaults to @samp{"sis posix"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string mail-attachment-hash +Hash format to use in attachment filenames. You can add any text and +variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, +@code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be +truncated, e.g.@: @code{%@{sha256:80@}} returns only first 80 bits. +Defaults to @samp{"%@{sha1@}"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer default-process-limit + +Defaults to @samp{100}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer default-client-limit + +Defaults to @samp{1000}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit +Default VSZ (virtual memory size) limit for service processes. This is +mainly intended to catch and kill processes that leak memory before they eat +up everything. Defaults to @samp{256000000}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string default-login-user +Login user is internally used by login processes. This is the most +untrusted user in Dovecot system. It shouldn't have access to anything at +all. Defaults to @samp{"dovenull"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string default-internal-user +Internal user is used by unprivileged processes. It should be separate from +login user, so that login processes can't disturb other processes. Defaults +to @samp{"dovecot"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string ssl? +SSL/TLS support: yes, no, required. . Defaults to +@samp{"required"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string ssl-cert +PEM encoded X.509 SSL/TLS certificate (public key). Defaults to +@samp{" was automatically rejected:%n%r"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string recipient-delimiter +Delimiter character between local-part and detail in email address. +Defaults to @samp{"+"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string lda-original-recipient-header +Header where the original recipient address (SMTP's RCPT TO: address) is +taken from if not available elsewhere. With dovecot-lda -a parameter +overrides this. A commonly used header for this is X-Original-To. Defaults +to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate? +Should saving a mail to a nonexistent mailbox automatically create it?. +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe? +Should automatically created mailboxes be also automatically subscribed?. +Defaults to @samp{#f}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length +Maximum IMAP command line length. Some clients generate very long command +lines with huge mailboxes, so you may need to raise this if you get "Too +long argument" or "IMAP command line too large" errors often. Defaults to +@samp{64000}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string imap-logout-format +IMAP logout format string: +@table @code +@item %i +total number of bytes read from client +@item %o +total number of bytes sent to client. +@end table +See @file{doc/wiki/Variables.txt} for a list of all the variables you can +use. Defaults to @samp{"in=%i out=%o deleted=%@{deleted@} +expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} +hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} +body_bytes=%@{fetch_body_bytes@}"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string imap-capability +Override the IMAP CAPABILITY response. If the value begins with '+', add +the given capabilities on top of the defaults (e.g.@: +XFOO XBAR). Defaults +to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string imap-idle-notify-interval +How long to wait between "OK Still here" notifications when client is +IDLEing. Defaults to @samp{"2 mins"}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string imap-id-send +ID field names and values to send to clients. Using * as the value makes +Dovecot use the default value. The following fields have default values +currently: name, version, os, os-version, support-url, support-email. +Defaults to @samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} string imap-id-log +ID fields sent by client to log. * means everything. Defaults to +@samp{""}. +@end deftypevr + +@deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds +Workarounds for various client bugs: + +@table @code +@item delay-newmail +Send EXISTS/RECENT new mail notifications only when replying to NOOP and +CHECK commands. Some clients ignore them otherwise, for example OSX Mail +(' before setting it here, to get a feel for which cipher suites you +will get. After setting this option, it is recommend that you inspect your +Murmur log to ensure that Murmur is using the cipher suites that you +expected it to. + +Note: Changing this option may impact the backwards compatibility of your +Murmur server, and can remove the ability for older Mumble clients to be +able to connect to it. + +@item @code{public-registration} (default: @code{#f}) +Must be a @code{} record or +@code{#f}. + +You can optionally register your server in the public server list that the +@code{mumble} client shows on startup. You cannot register your server if +you have set a @code{server-password}, or set @code{allow-ping} to +@code{#f}. + +It might take a few hours until it shows up in the public list. + +@item @code{file} (default: @code{#f}) +Optional alternative override for this configuration. +@end table +@end deftp + +@deftp {Data Type} murmur-public-registration-configuration +Configuration for public registration of a murmur service. + +@table @asis +@item @code{name} +This is a display name for your server. Not to be confused with the +hostname. + +@item @code{password} +A password to identify your registration. Subsequent updates will need the +same password. Don't lose your password. + +@item @code{url} +This should be a @code{http://} or @code{https://} link to your web site. + +@item @code{hostname} (default: @code{#f}) +By default your server will be listed by its IP address. If it is set your +server will be linked by this host name instead. +@end table +@end deftp + + + +@node Überwachungsdienste +@subsubsection Überwachungsdienste + +@subsubheading Tailon Service + +@uref{https://tailon.readthedocs.io/, Tailon} is a web application for +viewing and searching log files. + +The following example will configure the service with default values. By +default, Tailon can be accessed on port 8080 (@code{http://localhost:8080}). + +@example +(service tailon-service-type) +@end example + +The following example customises more of the Tailon configuration, adding +@command{sed} to the list of allowed commands. + +@example +(service tailon-service-type + (tailon-configuration + (config-file + (tailon-configuration-file + (allowed-commands '("tail" "grep" "awk" "sed")))))) +@end example + + +@deftp {Data Type} tailon-configuration +Data type representing the configuration of Tailon. This type has the +following parameters: + +@table @asis +@item @code{config-file} (default: @code{(tailon-configuration-file)}) +The configuration file to use for Tailon. This can be set to a +@dfn{tailon-configuration-file} record value, or any gexp +(@pxref{G-Ausdrücke}). + +For example, to instead use a local file, the @code{local-file} function can +be used: + +@example +(service tailon-service-type + (tailon-configuration + (config-file (local-file "./my-tailon.conf")))) +@end example + +@item @code{package} (default: @code{tailon}) +The tailon package to use. + +@end table +@end deftp + +@deftp {Data Type} tailon-configuration-file +Data type representing the configuration options for Tailon. This type has +the following parameters: + +@table @asis +@item @code{files} (default: @code{(list "/var/log")}) +List of files to display. The list can include strings for a single file or +directory, or a list, where the first item is the name of a subsection, and +the remaining items are the files or directories in that subsection. + +@item @code{bind} (default: @code{"localhost:8080"}) +Address and port to which Tailon should bind on. + +@item @code{relative-root} (default: @code{#f}) +URL path to use for Tailon, set to @code{#f} to not use a path. + +@item @code{allow-transfers?} (default: @code{#t}) +Allow downloading the log files in the web interface. + +@item @code{follow-names?} (default: @code{#t}) +Allow tailing of not-yet existent files. + +@item @code{tail-lines} (default: @code{200}) +Number of lines to read initially from each file. + +@item @code{allowed-commands} (default: @code{(list "tail" "grep" "awk")}) +Commands to allow running. By default, @code{sed} is disabled. + +@item @code{debug?} (default: @code{#f}) +Set @code{debug?} to @code{#t} to show debug messages. + +@item @code{wrap-lines} (default: @code{#t}) +Initial line wrapping state in the web interface. Set to @code{#t} to +initially wrap lines (the default), or to @code{#f} to initially not wrap +lines. + +@item @code{http-auth} (default: @code{#f}) +HTTP authentication type to use. Set to @code{#f} to disable authentication +(the default). Supported values are @code{"digest"} or @code{"basic"}. + +@item @code{users} (default: @code{#f}) +If HTTP authentication is enabled (see @code{http-auth}), access will be +restricted to the credentials provided here. To configure users, use a list +of pairs, where the first element of the pair is the username, and the 2nd +element of the pair is the password. + +@example +(tailon-configuration-file + (http-auth "basic") + (users '(("user1" . "password1") + ("user2" . "password2")))) +@end example + +@end table +@end deftp + + +@subsubheading Darkstat Service +@cindex darkstat +Darkstat is a packet sniffer that captures network traffic, calculates +statistics about usage, and serves reports over HTTP. + +@defvar {Scheme Variable} darkstat-service-type +This is the service type for the @uref{https://unix4lyfe.org/darkstat/, +darkstat} service, its value must be a @code{darkstat-configuration} record +as in this example: + +@example +(service darkstat-service-type + (darkstat-configuration + (interface "eno1"))) +@end example +@end defvar + +@deftp {Data Type} darkstat-configuration +Data type representing the configuration of @command{darkstat}. + +@table @asis +@item @code{package} (default: @code{darkstat}) +The darkstat package to use. + +@item @code{interface} +Capture traffic on the specified network interface. + +@item @code{port} (default: @code{"667"}) +Bind the web interface to the specified port. + +@item @code{bind-address} (default: @code{"127.0.0.1"}) +Bind the web interface to the specified address. + +@item @code{base} (default: @code{"/"}) +Specify the path of the base URL. This can be useful if @command{darkstat} +is accessed via a reverse proxy. + +@end table +@end deftp + +@subsubheading Prometheus Node Exporter Service + +@cindex prometheus-node-exporter +The Prometheus ``node exporter'' makes hardware and operating system +statistics provided by the Linux kernel available for the Prometheus +monitoring system. This service should be deployed on all physical nodes +and virtual machines, where monitoring these statistics is desirable. + +@defvar {Scheme variable} prometheus-node-exporter-service-type +This is the service type for the +@uref{https://github.com/prometheus/node_exporter/, +prometheus-node-exporter} service, its value must be a +@code{prometheus-node-exporter-configuration} record as in this example: + +@example +(service prometheus-node-exporter-service-type + (prometheus-node-exporter-configuration + (web-listen-address ":9100"))) +@end example +@end defvar + +@deftp {Data Type} prometheus-node-exporter-configuration +Data type representing the configuration of @command{node_exporter}. + +@table @asis +@item @code{package} (default: @code{go-github-com-prometheus-node-exporter}) +The prometheus-node-exporter package to use. + +@item @code{web-listen-address} (default: @code{":9100"}) +Bind the web interface to the specified address. + +@end table +@end deftp + +@node Kerberos-Dienste +@subsubsection Kerberos-Dienste +@cindex Kerberos + +The @code{(gnu services kerberos)} module provides services relating to the +authentication protocol @dfn{Kerberos}. + +@subsubheading Krb5 Service + +Programs using a Kerberos client library normally expect a configuration +file in @file{/etc/krb5.conf}. This service generates such a file from a +definition provided in the operating system declaration. It does not cause +any daemon to be started. + +No ``keytab'' files are provided by this service---you must explicitly +create them. This service is known to work with the MIT client library, +@code{mit-krb5}. Other implementations have not been tested. + +@defvr {Scheme Variable} krb5-service-type +A service type for Kerberos 5 clients. +@end defvr + +@noindent +Here is an example of its use: +@lisp +(service krb5-service-type + (krb5-configuration + (default-realm "EXAMPLE.COM") + (allow-weak-crypto? #t) + (realms (list + (krb5-realm + (name "EXAMPLE.COM") + (admin-server "groucho.example.com") + (kdc "karl.example.com")) + (krb5-realm + (name "ARGRX.EDU") + (admin-server "kerb-admin.argrx.edu") + (kdc "keys.argrx.edu")))))) +@end lisp + +@noindent +This example provides a Kerberos@tie{}5 client configuration which: +@itemize +@item Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both +of which have distinct administration servers and key distribution centers; +@item Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly +specified by clients; +@item Accepts services which only support encryption types known to be weak. +@end itemize + +The @code{krb5-realm} and @code{krb5-configuration} types have many fields. +Only the most commonly used ones are described here. For a full list, and +more detailed explanation of each, see the MIT +@uref{http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} +documentation. + + +@deftp {Data Type} krb5-realm +@cindex realm, kerberos +@table @asis +@item @code{name} +This field is a string identifying the name of the realm. A common +convention is to use the fully qualified DNS name of your organization, +converted to upper case. + +@item @code{admin-server} +This field is a string identifying the host where the administration server +is running. + +@item @code{kdc} +This field is a string identifying the key distribution center for the +realm. +@end table +@end deftp + +@deftp {Data Type} krb5-configuration + +@table @asis +@item @code{allow-weak-crypto?} (default: @code{#f}) +If this flag is @code{#t} then services which only offer encryption +algorithms known to be weak will be accepted. + +@item @code{default-realm} (default: @code{#f}) +This field should be a string identifying the default Kerberos realm for the +client. You should set this field to the name of your Kerberos realm. If +this value is @code{#f} then a realm must be specified with every Kerberos +principal when invoking programs such as @command{kinit}. + +@item @code{realms} +This should be a non-empty list of @code{krb5-realm} objects, which clients +may access. Normally, one of them will have a @code{name} field matching +the @code{default-realm} field. +@end table +@end deftp + + +@subsubheading PAM krb5 Service +@cindex pam-krb5 + +The @code{pam-krb5} service allows for login authentication and password +management via Kerberos. You will need this service if you want PAM enabled +applications to authenticate users using Kerberos. + +@defvr {Scheme Variable} pam-krb5-service-type +A service type for the Kerberos 5 PAM module. +@end defvr + +@deftp {Data Type} pam-krb5-configuration +Data type representing the configuration of the Kerberos 5 PAM module This +type has the following parameters: +@table @asis +@item @code{pam-krb5} (default: @code{pam-krb5}) +The pam-krb5 package to use. + +@item @code{minimum-uid} (default: @code{1000}) +The smallest user ID for which Kerberos authentications should be +attempted. Local accounts with lower values will silently fail to +authenticate. +@end table +@end deftp + + +@node Web-Dienste +@subsubsection Web-Dienste + +@cindex web +@cindex www +@cindex HTTP +The @code{(gnu services web)} module provides the Apache HTTP Server, the +nginx web server, and also a fastcgi wrapper daemon. + +@subsubheading Apache HTTP Server + +@deffn {Scheme Variable} httpd-service-type +Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server +(@dfn{httpd}). The value for this service type is a +@code{httpd-configuration} record. + +A simple example configuration is given below. + +@example +(service httpd-service-type + (httpd-configuration + (config + (httpd-config-file + (server-name "www.example.com") + (document-root "/srv/http/www.example.com"))))) +@end example + +Other services can also extend the @code{httpd-service-type} to add to the +configuration. + +@example +(simple-service 'my-extra-server httpd-service-type + (list + (httpd-virtualhost + "*:80" + (list (string-append + "ServerName "www.example.com + DocumentRoot \"/srv/http/www.example.com\""))))) +@end example +@end deffn + +The details for the @code{httpd-configuration}, @code{httpd-module}, +@code{httpd-config-file} and @code{httpd-virtualhost} record types are given +below. + +@deffn {Data Type} httpd-configuration +This data type represents the configuration for the httpd service. + +@table @asis +@item @code{package} (default: @code{httpd}) +The httpd package to use. + +@item @code{pid-file} (default: @code{"/var/run/httpd"}) +The pid file used by the shepherd-service. + +@item @code{config} (default: @code{(httpd-config-file)}) +The configuration file to use with the httpd service. The default value is a +@code{httpd-config-file} record, but this can also be a different +G-expression that generates a file, for example a @code{plain-file}. A file +outside of the store can also be specified through a string. + +@end table +@end deffn + +@deffn {Data Type} httpd-module +This data type represents a module for the httpd service. + +@table @asis +@item @code{name} +The name of the module. + +@item @code{file} +The file for the module. This can be relative to the httpd package being +used, the absolute location of a file, or a G-expression for a file within +the store, for example @code{(file-append mod-wsgi "/modules/mod_wsgi.so")}. + +@end table +@end deffn + +@defvr {Scheme Variable} %default-httpd-modules +A default list of @code{httpd-module} objects. +@end defvr + +@deffn {Data Type} httpd-config-file +This data type represents a configuration file for the httpd service. + +@table @asis +@item @code{modules} (default: @code{%default-httpd-modules}) +The modules to load. Additional modules can be added here, or loaded by +additional configuration. + +For example, in order to handle requests for PHP files, you can use Apache’s +@code{mod_proxy_fcgi} module along with @code{php-fpm-service-type}: + +@example +(service httpd-service-type + (httpd-configuration + (config + (httpd-config-file + (modules (cons* + (httpd-module + (name "proxy_module") + (file "modules/mod_proxy.so")) + (httpd-module + (name "proxy_fcgi_module") + (file "modules/mod_proxy_fcgi.so")) + %default-httpd-modules)) + (extra-config (list "\ + + SetHandler \"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\" +")))))) +(service php-fpm-service-type + (php-fpm-configuration + (socket "/var/run/php-fpm.sock") + (socket-group "httpd"))) +@end example + +@item @code{server-root} (default: @code{httpd}) +The @code{ServerRoot} in the configuration file, defaults to the httpd +package. Directives including @code{Include} and @code{LoadModule} are taken +as relative to the server root. + +@item @code{server-name} (default: @code{#f}) +The @code{ServerName} in the configuration file, used to specify the request +scheme, hostname and port that the server uses to identify itself. + +This doesn't need to be set in the server config, and can be specifyed in +virtual hosts. The default is @code{#f} to not specify a @code{ServerName}. + +@item @code{document-root} (default: @code{"/srv/http"}) +The @code{DocumentRoot} from which files will be served. + +@item @code{listen} (default: @code{'("80")}) +The list of values for the @code{Listen} directives in the config file. The +value should be a list of strings, when each string can specify the port +number to listen on, and optionally the IP address and protocol to use. + +@item @code{pid-file} (default: @code{"/var/run/httpd"}) +The @code{PidFile} to use. This should match the @code{pid-file} set in the +@code{httpd-configuration} so that the Shepherd service is configured +correctly. + +@item @code{error-log} (default: @code{"/var/log/httpd/error_log"}) +The @code{ErrorLog} to which the server will log errors. + +@item @code{user} (default: @code{"httpd"}) +The @code{User} which the server will answer requests as. + +@item @code{group} (default: @code{"httpd"}) +The @code{Group} which the server will answer requests as. + +@item @code{extra-config} (default: @code{(list "TypesConfig etc/httpd/mime.types")}) +A flat list of strings and G-expressions which will be added to the end of +the configuration file. + +Any values which the service is extended with will be appended to this list. + +@end table +@end deffn + +@deffn {Data Type} httpd-virtualhost +This data type represents a virtualhost configuration block for the httpd +service. + +These should be added to the extra-config for the httpd-service. + +@example +(simple-service 'my-extra-server httpd-service-type + (list + (httpd-virtualhost + "*:80" + (list (string-append + "ServerName "www.example.com + DocumentRoot \"/srv/http/www.example.com\""))))) +@end example + +@table @asis +@item @code{addresses-and-ports} +The addresses and ports for the @code{VirtualHost} directive. + +@item @code{contents} +The contents of the @code{VirtualHost} directive, this should be a list of +strings and G-expressions. + +@end table +@end deffn + +@subsubheading NGINX + +@deffn {Scheme Variable} nginx-service-type +Service type for the @uref{https://nginx.org/,NGinx} web server. The value +for this service type is a @code{} record. + +A simple example configuration is given below. + +@example +(service nginx-service-type + (nginx-configuration + (server-blocks + (list (nginx-server-configuration + (server-name '("www.example.com")) + (root "/srv/http/www.example.com")))))) +@end example + +In addition to adding server blocks to the service configuration directly, +this service can be extended by other services to add server blocks, as in +this example: + +@example +(simple-service 'my-extra-server nginx-service-type + (list (nginx-server-configuration + (root "/srv/http/extra-website") + (try-files (list "$uri" "$uri/index.html"))))) +@end example +@end deffn + +At startup, @command{nginx} has not yet read its configuration file, so it +uses a default file to log error messages. If it fails to load its +configuration file, that is where error messages are logged. After the +configuration file is loaded, the default error log file changes as per +configuration. In our case, startup error messages can be found in +@file{/var/run/nginx/logs/error.log}, and after configuration in +@file{/var/log/nginx/error.log}. The second location can be changed with +the @var{log-directory} configuration option. + +@deffn {Data Type} nginx-configuration +This data type represents the configuration for NGinx. Some configuration +can be done through this and the other provided record types, or +alternatively, a config file can be provided. + +@table @asis +@item @code{nginx} (default: @code{nginx}) +The nginx package to use. + +@item @code{log-directory} (default: @code{"/var/log/nginx"}) +The directory to which NGinx will write log files. + +@item @code{run-directory} (default: @code{"/var/run/nginx"}) +The directory in which NGinx will create a pid file, and write temporary +files. + +@item @code{server-blocks} (default: @code{'()}) +A list of @dfn{server blocks} to create in the generated configuration file, +the elements should be of type @code{}. + +The following example would setup NGinx to serve @code{www.example.com} from +the @code{/srv/http/www.example.com} directory, without using HTTPS. +@example +(service nginx-service-type + (nginx-configuration + (server-blocks + (list (nginx-server-configuration + (server-name '("www.example.com")) + (root "/srv/http/www.example.com")))))) +@end example + +@item @code{upstream-blocks} (default: @code{'()}) +A list of @dfn{upstream blocks} to create in the generated configuration +file, the elements should be of type @code{}. + +Configuring upstreams through the @code{upstream-blocks} can be useful when +combined with @code{locations} in the @code{} +records. The following example creates a server configuration with one +location configuration, that will proxy requests to a upstream +configuration, which will handle requests with two servers. + +@example +(service + nginx-service-type + (nginx-configuration + (server-blocks + (list (nginx-server-configuration + (server-name '("www.example.com")) + (root "/srv/http/www.example.com") + (locations + (list + (nginx-location-configuration + (uri "/path1") + (body '("proxy_pass http://server-proxy;")))))))) + (upstream-blocks + (list (nginx-upstream-configuration + (name "server-proxy") + (servers (list "server1.example.com" + "server2.example.com"))))))) +@end example + +@item @code{file} (default: @code{#f}) +If a configuration @var{file} is provided, this will be used, rather than +generating a configuration file from the provided @code{log-directory}, +@code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For +proper operation, these arguments should match what is in @var{file} to +ensure that the directories are created when the service is activated. + +This can be useful if you have an existing configuration file, or it's not +possible to do what is required through the other parts of the +nginx-configuration record. + +@item @code{server-names-hash-bucket-size} (default: @code{#f}) +Bucket size for the server names hash tables, defaults to @code{#f} to use +the size of the processors cache line. + +@item @code{server-names-hash-bucket-max-size} (default: @code{#f}) +Maximum bucket size for the server names hash tables. + +@item @code{extra-content} (default: @code{""}) +Extra content for the @code{http} block. Should be string or a string +valued G-expression. + +@end table +@end deffn + +@deftp {Data Type} nginx-server-configuration +Data type representing the configuration of an nginx server block. This +type has the following parameters: + +@table @asis +@item @code{listen} (default: @code{'("80" "443 ssl")}) +Each @code{listen} directive sets the address and port for IP, or the path +for a UNIX-domain socket on which the server will accept requests. Both +address and port, or only address or only port can be specified. An address +may also be a hostname, for example: + +@example +'("127.0.0.1:8000" "127.0.0.1" "8000" "*:8000" "localhost:8000") +@end example + +@item @code{server-name} (default: @code{(list 'default)}) +A list of server names this server represents. @code{'default} represents +the default server for connections matching no other server. + +@item @code{root} (default: @code{"/srv/http"}) +Root of the website nginx will serve. + +@item @code{locations} (default: @code{'()}) +A list of @dfn{nginx-location-configuration} or +@dfn{nginx-named-location-configuration} records to use within this server +block. + +@item @code{index} (default: @code{(list "index.html")}) +Index files to look for when clients ask for a directory. If it cannot be +found, Nginx will send the list of files in the directory. + +@item @code{try-files} (default: @code{'()}) +A list of files whose existence is checked in the specified order. +@code{nginx} will use the first file it finds to process the request. + +@item @code{ssl-certificate} (default: @code{#f}) +Where to find the certificate for secure connections. Set it to @code{#f} +if you don't have a certificate or you don't want to use HTTPS. + +@item @code{ssl-certificate-key} (default: @code{#f}) +Where to find the private key for secure connections. Set it to @code{#f} +if you don't have a key or you don't want to use HTTPS. + +@item @code{server-tokens?} (default: @code{#f}) +Whether the server should add its configuration to response. + +@item @code{raw-content} (default: @code{'()}) +A list of raw lines added to the server block. + +@end table +@end deftp + +@deftp {Data Type} nginx-upstream-configuration +Data type representing the configuration of an nginx @code{upstream} block. +This type has the following parameters: + +@table @asis +@item @code{name} +Name for this group of servers. + +@item @code{servers} +Specify the addresses of the servers in the group. The address can be +specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name (e.g.@: +@samp{backend1.example.com}) or a path to a UNIX socket using the prefix +@samp{unix:}. For addresses using an IP address or domain name, the default +port is 80, and a different port can be specified explicitly. + +@end table +@end deftp + +@deftp {Data Type} nginx-location-configuration +Data type representing the configuration of an nginx @code{location} block. +This type has the following parameters: + +@table @asis +@item @code{uri} +URI which this location block matches. + +@anchor{nginx-location-configuration body} +@item @code{body} +Body of the location block, specified as a list of strings. This can contain +many configuration directives. For example, to pass requests to a upstream +server group defined using an @code{nginx-upstream-configuration} block, the +following directive would be specified in the body @samp{(list "proxy_pass +http://upstream-name;")}. + +@end table +@end deftp + +@deftp {Data Type} nginx-named-location-configuration +Data type representing the configuration of an nginx named location block. +Named location blocks are used for request redirection, and not used for +regular request processing. This type has the following parameters: + +@table @asis +@item @code{name} +Name to identify this location block. + +@item @code{body} +@xref{nginx-location-configuration body}, as the body for named location +blocks can be used in a similar way to the +@code{nginx-location-configuration body}. One restriction is that the body +of a named location block cannot contain location blocks. + +@end table +@end deftp + +@subsubheading Varnish Cache +@cindex Varnish +Varnish is a fast cache server that sits in between web applications and end +users. It proxies requests from clients and caches the accessed URLs such +that multiple requests for the same resource only creates one request to the +back-end. + +@defvr {Scheme Variable} varnish-service-type +Service type for the Varnish daemon. +@end defvr + +@deftp {Data Type} varnish-configuration +Data type representing the @code{varnish} service configuration. This type +has the following parameters: + +@table @asis +@item @code{package} (default: @code{varnish}) +The Varnish package to use. + +@item @code{name} (default: @code{"default"}) +A name for this Varnish instance. Varnish will create a directory in +@file{/var/varnish/} with this name and keep temporary files there. If the +name starts with a forward slash, it is interpreted as an absolute directory +name. + +Pass the @code{-n} argument to other Varnish programs to connect to the +named instance, e.g.@: @command{varnishncsa -n default}. + +@item @code{backend} (default: @code{"localhost:8080"}) +The backend to use. This option has no effect if @code{vcl} is set. + +@item @code{vcl} (default: #f) +The @dfn{VCL} (Varnish Configuration Language) program to run. If this is +@code{#f}, Varnish will proxy @code{backend} using the default +configuration. Otherwise this must be a file-like object with valid VCL +syntax. + +@c Varnish does not support HTTPS, so keep this URL to avoid confusion. +For example, to mirror @url{http://www.gnu.org,www.gnu.org} with VCL you can +do something along these lines: + +@example +(define %gnu-mirror + (plain-file + "gnu.vcl" + "vcl 4.1; +backend gnu @{ .host = "www.gnu.org"; @}")) + +(operating-system + ... + (services (cons (service varnish-service-type + (varnish-configuration + (listen '(":80")) + (vcl %gnu-mirror))) + %base-services))) +@end example + +The configuration of an already running Varnish instance can be inspected +and changed using the @command{varnishadm} program. + +Consult the @url{https://varnish-cache.org/docs/,Varnish User Guide} and +@url{https://book.varnish-software.com/4.0/,Varnish Book} for comprehensive +documentation on Varnish and its configuration language. + +@item @code{listen} (default: @code{'("localhost:80")}) +List of addresses Varnish will listen on. + +@item @code{storage} (default: @code{'("malloc,128m")}) +List of storage backends that will be available in VCL. + +@item @code{parameters} (default: @code{'()}) +List of run-time parameters in the form @code{'(("parameter" . "value"))}. + +@item @code{extra-options} (default: @code{'()}) +Additional arguments to pass to the @command{varnishd} process. + +@end table +@end deftp + +@subsubheading FastCGI +@cindex fastcgi +@cindex fcgiwrap +FastCGI is an interface between the front-end and the back-end of a web +service. It is a somewhat legacy facility; new web services should +generally just talk HTTP between the front-end and the back-end. However +there are a number of back-end services such as PHP or the optimized HTTP +Git repository access that use FastCGI, so we have support for it in Guix. + +To use FastCGI, you configure the front-end web server (e.g., nginx) to +dispatch some subset of its requests to the fastcgi backend, which listens +on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} +program that sits between the actual backend process and the web server. +The front-end indicates which backend program to run, passing that +information to the @code{fcgiwrap} process. + +@defvr {Scheme Variable} fcgiwrap-service-type +A service type for the @code{fcgiwrap} FastCGI proxy. +@end defvr + +@deftp {Data Type} fcgiwrap-configuration +Data type representing the configuration of the @code{fcgiwrap} serice. +This type has the following parameters: +@table @asis +@item @code{package} (default: @code{fcgiwrap}) +The fcgiwrap package to use. + +@item @code{socket} (default: @code{tcp:127.0.0.1:9000}) +The socket on which the @code{fcgiwrap} process should listen, as a string. +Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, +@code{tcp:@var{dot.ted.qu.ad}:@var{port}} and +@code{tcp6:[@var{ipv6_addr}]:port}. + +@item @code{user} (default: @code{fcgiwrap}) +@itemx @code{group} (default: @code{fcgiwrap}) +The user and group names, as strings, under which to run the @code{fcgiwrap} +process. The @code{fastcgi} service will ensure that if the user asks for +the specific user or group names @code{fcgiwrap} that the corresponding user +and/or group is present on the system. + +It is possible to configure a FastCGI-backed web service to pass HTTP +authentication information from the front-end to the back-end, and to allow +@code{fcgiwrap} to run the back-end process as a corresponding local user. +To enable this capability on the back-end., run @code{fcgiwrap} as the +@code{root} user and group. Note that this capability also has to be +configured on the front-end as well. +@end table +@end deftp + +@cindex php-fpm +PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI +implementation with some additional features useful for sites of any size. + +These features include: +@itemize @bullet +@item Adaptive process spawning +@item Basic statistics (similar to Apache's mod_status) +@item Advanced process management with graceful stop/start +@item Ability to start workers with different uid/gid/chroot/environment +and different php.ini (replaces safe_mode) +@item Stdout & stderr logging +@item Emergency restart in case of accidental opcode cache destruction +@item Accelerated upload support +@item Support for a "slowlog" +@item Enhancements to FastCGI, such as fastcgi_finish_request() - +a special function to finish request & flush all data while continuing to do +something time-consuming (video converting, stats processing, etc.) +@end itemize +...@: and much more. + +@defvr {Scheme Variable} php-fpm-service-type +A Service type for @code{php-fpm}. +@end defvr + +@deftp {Data Type} php-fpm-configuration +Data Type for php-fpm service configuration. +@table @asis +@item @code{php} (default: @code{php}) +The php package to use. +@item @code{socket} (default: @code{(string-append "/var/run/php" (version-major (package-version php)) "-fpm.sock")}) +The address on which to accept FastCGI requests. Valid syntaxes are: +@table @asis +@item @code{"ip.add.re.ss:port"} +Listen on a TCP socket to a specific address on a specific port. +@item @code{"port"} +Listen on a TCP socket to all addresses on a specific port. +@item @code{"/path/to/unix/socket"} +Listen on a unix socket. +@end table + +@item @code{user} (default: @code{php-fpm}) +User who will own the php worker processes. +@item @code{group} (default: @code{php-fpm}) +Group of the worker processes. +@item @code{socket-user} (default: @code{php-fpm}) +User who can speak to the php-fpm socket. +@item @code{socket-group} (default: @code{php-fpm}) +Group that can speak to the php-fpm socket. +@item @code{pid-file} (default: @code{(string-append "/var/run/php" (version-major (package-version php)) "-fpm.pid")}) +The process id of the php-fpm process is written to this file once the +service has started. +@item @code{log-file} (default: @code{(string-append "/var/log/php" (version-major (package-version php)) "-fpm.log")}) +Log for the php-fpm master process. +@item @code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)}) +Detailed settings for the php-fpm process manager. Must be either: +@table @asis +@item @code{} +@item @code{} +@item @code{} +@end table +@item @code{display-errors} (default @code{#f}) +Determines whether php errors and warning should be sent to clients and +displayed in their browsers. This is useful for local php development, but +a security risk for public sites, as error messages can reveal passwords and +personal data. +@item @code{workers-logfile} (default @code{(string-append "/var/log/php" (version-major (package-version php)) "-fpm.www.log")}) +This file will log the @code{stderr} outputs of php worker processes. Can +be set to @code{#f} to disable logging. +@item @code{file} (default @code{#f}) +An optional override of the whole configuration. You can use the +@code{mixed-text-file} function or an absolute filepath for it. +@end table +@end deftp + +@deftp {Data type} php-fpm-dynamic-process-manager-configuration +Data Type for the @code{dynamic} php-fpm process manager. With the +@code{dynamic} process manager, spare worker processes are kept around based +on it's configured limits. +@table @asis +@item @code{max-children} (default: @code{5}) +Maximum of worker processes. +@item @code{start-servers} (default: @code{2}) +How many worker processes should be started on start-up. +@item @code{min-spare-servers} (default: @code{1}) +How many spare worker processes should be kept around at minimum. +@item @code{max-spare-servers} (default: @code{3}) +How many spare worker processes should be kept around at maximum. +@end table +@end deftp + +@deftp {Data type} php-fpm-static-process-manager-configuration +Data Type for the @code{static} php-fpm process manager. With the +@code{static} process manager, an unchanging number of worker processes are +created. +@table @asis +@item @code{max-children} (default: @code{5}) +Maximum of worker processes. +@end table +@end deftp + +@deftp {Data type} php-fpm-on-demand-process-manager-configuration +Data Type for the @code{on-demand} php-fpm process manager. With the +@code{on-demand} process manager, worker processes are only created as +requests arrive. +@table @asis +@item @code{max-children} (default: @code{5}) +Maximum of worker processes. +@item @code{process-idle-timeout} (default: @code{10}) +The time in seconds after which a process with no requests is killed. +@end table +@end deftp + + +@deffn {Scheme Procedure} nginx-php-fpm-location @ + [#:nginx-package nginx] @ [socket (string-append "/var/run/php" @ +(version-major (package-version php)) @ "-fpm.sock")] A helper function to +quickly add php to an @code{nginx-server-configuration}. +@end deffn + +A simple services setup for nginx with php can look like this: +@example +(services (cons* (service dhcp-client-service-type) + (service php-fpm-service-type) + (service nginx-service-type + (nginx-server-configuration + (server-name '("example.com")) + (root "/srv/http/") + (locations + (list (nginx-php-location))) + (https-port #f) + (ssl-certificate #f) + (ssl-certificate-key #f))) + %base-services)) +@end example + +@cindex cat-avatar-generator +The cat avatar generator is a simple service to demonstrate the use of +php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for +instance the hash of a user's email address. + +@deffn {Scheme Procedure} cat-avatar-generator-serice @ + [#:cache-dir "/var/cache/cat-avatar-generator"] @ [#:package +cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] +Returns an nginx-server-configuration that inherits @code{configuration}. +It extends the nginx configuration to add a server block that serves +@code{package}, a version of cat-avatar-generator. During execution, +cat-avatar-generator will be able to use @code{cache-dir} as its cache +directory. +@end deffn + +A simple setup for cat-avatar-generator can look like this: +@example +(services (cons* (cat-avatar-generator-service + #:configuration + (nginx-server-configuration + (server-name '("example.com")))) + ... + %base-services)) +@end example + +@subsubheading Hpcguix-web + +@cindex hpcguix-web +The @uref{hpcguix-web, https://github.com/UMCUGenetics/hpcguix-web/} program +is a customizable web interface to browse Guix packages, initially designed +for users of high-performance computing (HPC) clusters. + +@defvr {Scheme Variable} hpcguix-web-service-type +The service type for @code{hpcguix-web}. +@end defvr + +@deftp {Data Type} hpcguix-web-configuration +Data type for the hpcguix-web service configuration. + +@table @asis +@item @code{specs} +A gexp (@pxref{G-Ausdrücke}) specifying the hpcguix-web service +configuration. The main items available in this spec are: + +@table @asis +@item @code{title-prefix} (default: @code{"hpcguix | "}) +The page title prefix. + +@item @code{guix-command} (default: @code{"guix"}) +The @command{guix} command. + +@item @code{package-filter-proc} (default: @code{(const #t)}) +A procedure specifying how to filter packages that are displayed. + +@item @code{package-page-extension-proc} (default: @code{(const '())}) +Extension package for @code{hpcguix-web}. + +@item @code{menu} (default: @code{'()}) +Additional entry in page @code{menu}. + +@item @code{channels} (default: @code{%default-channels}) +List of channels from which the package list is built (@pxref{Channels}). + +@item @code{package-list-expiration} (default: @code{(* 12 3600)}) +The expiration time, in seconds, after which the package list is rebuilt +from the latest instances of the given channels. +@end table + +See the hpcguix-web repository for a +@uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, +complete example}. + +@item @code{package} (default: @code{hpcguix-web}) +The hpcguix-web package to use. +@end table +@end deftp + +A typical hpcguix-web service declaration looks like this: + +@example +(service hpcguix-web-service-type + (hpcguix-web-configuration + (specs + #~(define site-config + (hpcweb-configuration + (title-prefix "Guix-HPC - ") + (menu '(("/about" "ABOUT")))))))) +@end example + +@quotation Anmerkung +The hpcguix-web service periodically updates the package list it publishes +by pulling channels from Git. To that end, it needs to access X.509 +certificates so that it can authenticate Git servers when communicating over +HTTPS, and it assumes that @file{/etc/ssl/certs} contains those +certificates. + +Thus, make sure to add @code{nss-certs} or another certificate package to +the @code{packages} field of your configuration. @ref{X.509-Zertifikate}, +for more information on X.509 certificates. +@end quotation + +@node Zertifikatsdienste +@subsubsection Zertifikatsdienste + +@cindex Web +@cindex HTTP, HTTPS +@cindex Let's Encrypt +@cindex TLS certificates +The @code{(gnu services certbot)} module provides a service to automatically +obtain a valid TLS certificate from the Let's Encrypt certificate +authority. These certificates can then be used to serve content securely +over HTTPS or other TLS-based protocols, with the knowledge that the client +will be able to verify the server's authenticity. + +@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} +tool to automate the certification process. This tool first securely +generates a key on the server. It then makes a request to the Let's Encrypt +certificate authority (CA) to sign the key. The CA checks that the request +originates from the host in question by using a challenge-response protocol, +requiring the server to provide its response over HTTP. If that protocol +completes successfully, the CA signs the key, resulting in a certificate. +That certificate is valid for a limited period of time, and therefore to +continue to provide TLS services, the server needs to periodically ask the +CA to renew its signature. + +The certbot service automates this process: the initial key generation, the +initial certification request to the Let's Encrypt service, the web server +challenge/response integration, writing the certificate to disk, the +automated periodic renewals, and the deployment tasks associated with the +renewal (e.g.@: reloading services, copying keys with different +permissions). + +Certbot is run twice a day, at a random minute within the hour. It won't do +anything until your certificates are due for renewal or revoked, but running +it regularly would give your service a chance of staying online in case a +Let's Encrypt-initiated revocation happened for some reason. + +By using this service, you agree to the ACME Subscriber Agreement, which can +be found there: @url{https://acme-v01.api.letsencrypt.org/directory}. + +@defvr {Scheme Variable} certbot-service-type +A service type for the @code{certbot} Let's Encrypt client. Its value must +be a @code{certbot-configuration} record as in this example: + +@example +(define %nginx-deploy-hook + (program-file + "nginx-deploy-hook" + #~(let ((pid (call-with-input-file "/var/run/nginx/pid" read))) + (kill pid SIGHUP)))) + +(service certbot-service-type + (certbot-configuration + (email "foo@@example.net") + (certificates + (list + (certificate-configuration + (domains '("example.net" "www.example.net")) + (deploy-hook %nginx-deploy-hook)) + (certificate-configuration + (domains '("bar.example.net"))))))) +@end example + +See below for details about @code{certbot-configuration}. +@end defvr + +@deftp {Data Type} certbot-configuration +Data type representing the configuration of the @code{certbot} service. +This type has the following parameters: + +@table @asis +@item @code{package} (default: @code{certbot}) +The certbot package to use. + +@item @code{webroot} (default: @code{/var/www}) +The directory from which to serve the Let's Encrypt challenge/response +files. + +@item @code{certificates} (default: @code{()}) +A list of @code{certificates-configuration}s for which to generate +certificates and request signatures. Each certificate has a @code{name} and +several @code{domains}. + +@item @code{email} +Mandatory email used for registration, recovery contact, and important +account notifications. + +@item @code{rsa-key-size} (default: @code{2048}) +Size of the RSA key. + +@item @code{default-location} (default: @i{see below}) +The default @code{nginx-location-configuration}. Because @code{certbot} +needs to be able to serve challenges and responses, it needs to be able to +run a web server. It does so by extending the @code{nginx} web service with +an @code{nginx-server-configuration} listening on the @var{domains} on port +80, and which has a @code{nginx-location-configuration} for the +@code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web-Dienste}, for more on these nginx configuration data types. + +Requests to other URL paths will be matched by the @code{default-location}, +which if present is added to all @code{nginx-server-configuration}s. + +By default, the @code{default-location} will issue a redirect from +@code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving +you to define what to serve on your site via @code{https}. + +Pass @code{#f} to not issue a default location. +@end table +@end deftp + +@deftp {Data Type} certificate-configuration +Data type representing the configuration of a certificate. This type has +the following parameters: + +@table @asis +@item @code{name} (default: @i{see below}) +This name is used by Certbot for housekeeping and in file paths; it doesn't +affect the content of the certificate itself. To see certificate names, run +@code{certbot certificates}. + +Its default is the first provided domain. + +@item @code{domains} (default: @code{()}) +The first domain provided will be the subject CN of the certificate, and all +domains will be Subject Alternative Names on the certificate. + +@item @code{deploy-hook} (default: @code{#f}) +Command to be run in a shell once for each successfully issued certificate. +For this command, the shell variable @code{$RENEWED_LINEAGE} will point to +the config live subdirectory (for example, +@samp{"/etc/letsencrypt/live/example.com"}) containing the new certificates +and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a +space-delimited list of renewed certificate domains (for example, +@samp{"example.com www.example.com"}. + +@end table +@end deftp + +For each @code{certificate-configuration}, the certificate is saved to +@code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved +to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}. +@node DNS-Dienste +@subsubsection DNS-Dienste +@cindex DNS (domain name system) +@cindex domain name system (DNS) + +The @code{(gnu services dns)} module provides services related to the +@dfn{domain name system} (DNS). It provides a server service for hosting an +@emph{authoritative} DNS server for multiple zones, slave or master. This +service uses @uref{https://www.knot-dns.cz/, Knot DNS}. And also a caching +and forwarding DNS server for the LAN, which uses +@uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}. + +@subsubheading Knot Service + +An example configuration of an authoritative server for two zones, one +master and one slave, is: + +@lisp +(define-zone-entries example.org.zone +;; Name TTL Class Type Data + ("@@" "" "IN" "A" "127.0.0.1") + ("@@" "" "IN" "NS" "ns") + ("ns" "" "IN" "A" "127.0.0.1")) + +(define master-zone + (knot-zone-configuration + (domain "example.org") + (zone (zone-file + (origin "example.org") + (entries example.org.zone))))) + +(define slave-zone + (knot-zone-configuration + (domain "plop.org") + (dnssec-policy "default") + (master (list "plop-master")))) + +(define plop-master + (knot-remote-configuration + (id "plop-master") + (address (list "208.76.58.171")))) + +(operating-system + ;; ... + (services (cons* (service knot-service-type + (knot-configuration + (remotes (list plop-master)) + (zones (list master-zone slave-zone)))) + ;; ... + %base-services))) +@end lisp + +@deffn {Scheme Variable} knot-service-type +This is the type for the Knot DNS server. + +Knot DNS is an authoritative DNS server, meaning that it can serve multiple +zones, that is to say domain names you would buy from a registrar. This +server is not a resolver, meaning that it can only resolve names for which +it is authoritative. This server can be configured to serve zones as a +master server or a slave server as a per-zone basis. Slave zones will get +their data from masters, and will serve it as an authoritative server. From +the point of view of a resolver, there is no difference between master and +slave. + +The following data types are used to configure the Knot DNS server: +@end deffn + +@deftp {Data Type} knot-key-configuration +Data type representing a key. This type has the following parameters: + +@table @asis +@item @code{id} (default: @code{""}) +An identifier for other configuration fields to refer to this key. IDs must +be unique and must not be empty. + +@item @code{algorithm} (default: @code{#f}) +The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, +@code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, +@code{'hmac-sha384} and @code{'hmac-sha512}. + +@item @code{secret} (default: @code{""}) +The secret key itself. + +@end table +@end deftp + +@deftp {Data Type} knot-acl-configuration +Data type representing an Access Control List (ACL) configuration. This +type has the following parameters: + +@table @asis +@item @code{id} (default: @code{""}) +An identifier for ether configuration fields to refer to this key. IDs must +be unique and must not be empty. + +@item @code{address} (default: @code{'()}) +An ordered list of IP addresses, network subnets, or network ranges +represented with strings. The query must match one of them. Empty value +means that address match is not required. + +@item @code{key} (default: @code{'()}) +An ordered list of references to keys represented with strings. The string +must match a key ID defined in a @code{knot-key-configuration}. No key +means that a key is not require to match that ACL. + +@item @code{action} (default: @code{'()}) +An ordered list of actions that are permitted or forbidden by this ACL. +Possible values are lists of zero or more elements from @code{'transfer}, +@code{'notify} and @code{'update}. + +@item @code{deny?} (default: @code{#f}) +When true, the ACL defines restrictions. Listed actions are forbidden. +When false, listed actions are allowed. + +@end table +@end deftp + +@deftp {Data Type} zone-entry +Data type represnting a record entry in a zone file. This type has the +following parameters: + +@table @asis +@item @code{name} (default: @code{"@@"}) +The name of the record. @code{"@@"} refers to the origin of the zone. +Names are relative to the origin of the zone. For example, in the +@code{example.org} zone, @code{"ns.example.org"} actually refers to +@code{ns.example.org.example.org}. Names ending with a dot are absolute, +which means that @code{"ns.example.org."} refers to @code{ns.example.org}. + +@item @code{ttl} (default: @code{""}) +The Time-To-Live (TTL) of this record. If not set, the default TTL is used. + +@item @code{class} (default: @code{"IN"}) +The class of the record. Knot currently supports only @code{"IN"} and +partially @code{"CH"}. + +@item @code{type} (default: @code{"A"}) +The type of the record. Common types include A (IPv4 address), AAAA (IPv6 +address), NS (Name Server) and MX (Mail eXchange). Many other types are +defined. + +@item @code{data} (default: @code{""}) +The data contained in the record. For instance an IP address associated +with an A record, or a domain name associated with an NS record. Remember +that domain names are relative to the origin unless they end with a dot. + +@end table +@end deftp + +@deftp {Data Type} zone-file +Data type representing the content of a zone file. This type has the +following parameters: + +@table @asis +@item @code{entries} (default: @code{'()}) +The list of entries. The SOA record is taken care of, so you don't need to +put it in the list of entries. This list should probably contain an entry +for your primary authoritative DNS server. Other than using a list of +entries directly, you can use @code{define-zone-entries} to define a object +containing the list of entries more easily, that you can later pass to the +@code{entries} field of the @code{zone-file}. + +@item @code{origin} (default: @code{""}) +The name of your zone. This parameter cannot be empty. + +@item @code{ns} (default: @code{"ns"}) +The domain of your primary authoritative DNS server. The name is relative +to the origin, unless it ends with a dot. It is mandatory that this primary +DNS server corresponds to an NS record in the zone and that it is associated +to an IP address in the list of entries. + +@item @code{mail} (default: @code{"hostmaster"}) +An email address people can contact you at, as the owner of the zone. This +is translated as @code{@@}. + +@item @code{serial} (default: @code{1}) +The serial number of the zone. As this is used to keep track of changes by +both slaves and resolvers, it is mandatory that it @emph{never} decreases. +Always increment it when you make a change in your zone. + +@item @code{refresh} (default: @code{(* 2 24 3600)}) +The frequency at which slaves will do a zone transfer. This value is a +number of seconds. It can be computed by multiplications or with +@code{(string->duration)}. + +@item @code{retry} (default: @code{(* 15 60)}) +The period after which a slave will retry to contact its master when it +fails to do so a first time. + +@item @code{expiry} (default: @code{(* 14 24 3600)}) +Default TTL of records. Existing records are considered correct for at most +this amount of time. After this period, resolvers will invalidate their +cache and check again that it still exists. + +@item @code{nx} (default: @code{3600}) +Default TTL of inexistant records. This delay is usually short because you +want your new domains to reach everyone quickly. + +@end table +@end deftp + +@deftp {Data Type} knot-remote-configuration +Data type representing a remote configuration. This type has the following +parameters: + +@table @asis +@item @code{id} (default: @code{""}) +An identifier for other configuration fields to refer to this remote. IDs +must be unique and must not be empty. + +@item @code{address} (default: @code{'()}) +An ordered list of destination IP addresses. Addresses are tried in +sequence. An optional port can be given with the @@ separator. For +instance: @code{(list "1.2.3.4" "2.3.4.5@@53")}. Default port is 53. + +@item @code{via} (default: @code{'()}) +An ordered list of source IP addresses. An empty list will have Knot choose +an appropriate source IP. An optional port can be given with the @@ +separator. The default is to choose at random. + +@item @code{key} (default: @code{#f}) +A reference to a key, that is a string containing the identifier of a key +defined in a @code{knot-key-configuration} field. + +@end table +@end deftp + +@deftp {Data Type} knot-keystore-configuration +Data type representing a keystore to hold dnssec keys. This type has the +following parameters: + +@table @asis +@item @code{id} (default: @code{""}) +The id of the keystore. It must not be empty. + +@item @code{backend} (default: @code{'pem}) +The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}. + +@item @code{config} (default: @code{"/var/lib/knot/keys/keys"}) +The configuration string of the backend. An example for the PKCS#11 is: +@code{"pkcs11:token=knot;pin-value=1234 +/gnu/store/.../lib/pkcs11/libsofthsm2.so"}. For the pem backend, the string +reprensents a path in the file system. + +@end table +@end deftp + +@deftp {Data Type} knot-policy-configuration +Data type representing a dnssec policy. Knot DNS is able to automatically +sign your zones. It can either generate and manage your keys automatically +or use keys that you generate. + +Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that +is used to sign the second, and a Zone Signing Key (ZSK) that is used to +sign the zone. In order to be trusted, the KSK needs to be present in the +parent zone (usually a top-level domain). If your registrar supports +dnssec, you will have to send them your KSK's hash so they can add a DS +record in their zone. This is not automated and need to be done each time +you change your KSK. + +The policy also defines the lifetime of keys. Usually, ZSK can be changed +easily and use weaker cryptographic functions (they use lower parameters) in +order to sign records quickly, so they are changed often. The KSK however +requires manual interaction with the registrar, so they are changed less +often and use stronger parameters because they sign only one record. + +This type has the following parameters: + +@table @asis +@item @code{id} (default: @code{""}) +The id of the policy. It must not be empty. + +@item @code{keystore} (default: @code{"default"}) +A reference to a keystore, that is a string containing the identifier of a +keystore defined in a @code{knot-keystore-configuration} field. The +@code{"default"} identifier means the default keystore (a kasp database that +was setup by this service). + +@item @code{manual?} (default: @code{#f}) +Whether the key management is manual or automatic. + +@item @code{single-type-signing?} (default: @code{#f}) +When @code{#t}, use the Single-Type Signing Scheme. + +@item @code{algorithm} (default: @code{"ecdsap256sha256"}) +An algorithm of signing keys and issued signatures. + +@item @code{ksk-size} (default: @code{256}) +The length of the KSK. Note that this value is correct for the default +algorithm, but would be unsecure for other algorithms. + +@item @code{zsk-size} (default: @code{256}) +The length of the ZSK. Note that this value is correct for the default +algorithm, but would be unsecure for other algorithms. + +@item @code{dnskey-ttl} (default: @code{'default}) +The TTL value for DNSKEY records added into zone apex. The special +@code{'default} value means same as the zone SOA TTL. + +@item @code{zsk-lifetime} (default: @code{(* 30 24 3600)}) +The period between ZSK publication and the next rollover initiation. + +@item @code{propagation-delay} (default: @code{(* 24 3600)}) +An extra delay added for each key rollover step. This value should be high +enough to cover propagation of data from the master server to all slaves. + +@item @code{rrsig-lifetime} (default: @code{(* 14 24 3600)}) +A validity period of newly issued signatures. + +@item @code{rrsig-refresh} (default: @code{(* 7 24 3600)}) +A period how long before a signature expiration the signature will be +refreshed. + +@item @code{nsec3?} (default: @code{#f}) +When @code{#t}, NSEC3 will be used instead of NSEC. + +@item @code{nsec3-iterations} (default: @code{5}) +The number of additional times the hashing is performed. + +@item @code{nsec3-salt-length} (default: @code{8}) +The length of a salt field in octets, which is appended to the original +owner name before hashing. + +@item @code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)}) +The validity period of newly issued salt field. + +@end table +@end deftp + +@deftp {Data Type} knot-zone-configuration +Data type representing a zone served by Knot. This type has the following +parameters: + +@table @asis +@item @code{domain} (default: @code{""}) +The domain served by this configuration. It must not be empty. + +@item @code{file} (default: @code{""}) +The file where this zone is saved. This parameter is ignored by master +zones. Empty means default location that depends on the domain name. + +@item @code{zone} (default: @code{(zone-file)}) +The content of the zone file. This parameter is ignored by slave zones. It +must contain a zone-file record. + +@item @code{master} (default: @code{'()}) +A list of master remotes. When empty, this zone is a master. When set, +this zone is a slave. This is a list of remotes identifiers. + +@item @code{ddns-master} (default: @code{#f}) +The main master. When empty, it defaults to the first master in the list of +masters. + +@item @code{notify} (default: @code{'()}) +A list of slave remote identifiers. + +@item @code{acl} (default: @code{'()}) +A list of acl identifiers. + +@item @code{semantic-checks?} (default: @code{#f}) +When set, this adds more semantic checks to the zone. + +@item @code{disable-any?} (default: @code{#f}) +When set, this forbids queries of the ANY type. + +@item @code{zonefile-sync} (default: @code{0}) +The delay between a modification in memory and on disk. 0 means immediate +synchronization. + +@item @code{serial-policy} (default: @code{'increment}) +A policy between @code{'increment} and @code{'unixtime}. + +@end table +@end deftp + +@deftp {Data Type} knot-configuration +Data type representing the Knot configuration. This type has the following +parameters: + +@table @asis +@item @code{knot} (default: @code{knot}) +The Knot package. + +@item @code{run-directory} (default: @code{"/var/run/knot"}) +The run directory. This directory will be used for pid file and sockets. + +@item @code{listen-v4} (default: @code{"0.0.0.0"}) +An ip address on which to listen. + +@item @code{listen-v6} (default: @code{"::"}) +An ip address on which to listen. + +@item @code{listen-port} (default: @code{53}) +A port on which to listen. + +@item @code{keys} (default: @code{'()}) +The list of knot-key-configuration used by this configuration. + +@item @code{acls} (default: @code{'()}) +The list of knot-acl-configuration used by this configuration. + +@item @code{remotes} (default: @code{'()}) +The list of knot-remote-configuration used by this configuration. + +@item @code{zones} (default: @code{'()}) +The list of knot-zone-configuration used by this configuration. + +@end table +@end deftp + +@subsubheading Dnsmasq Service + +@deffn {Scheme Variable} dnsmasq-service-type +This is the type of the dnsmasq service, whose value should be an +@code{dnsmasq-configuration} object as in this example: + +@example +(service dnsmasq-service-type + (dnsmasq-configuration + (no-resolv? #t) + (servers '("192.168.1.1")))) +@end example +@end deffn + +@deftp {Data Type} dnsmasq-configuration +Data type representing the configuration of dnsmasq. + +@table @asis +@item @code{package} (default: @var{dnsmasq}) +Package object of the dnsmasq server. + +@item @code{no-hosts?} (default: @code{#f}) +When true, don't read the hostnames in /etc/hosts. + +@item @code{port} (default: @code{53}) +The port to listen on. Setting this to zero completely disables DNS +responses, leaving only DHCP and/or TFTP functions. + +@item @code{local-service?} (default: @code{#t}) +Accept DNS queries only from hosts whose address is on a local subnet, ie a +subnet for which an interface exists on the server. + +@item @code{listen-addresses} (default: @code{'()}) +Listen on the given IP addresses. + +@item @code{resolv-file} (default: @code{"/etc/resolv.conf"}) +The file to read the IP address of the upstream nameservers from. + +@item @code{no-resolv?} (default: @code{#f}) +When true, don't read @var{resolv-file}. + +@item @code{servers} (default: @code{'()}) +Specify IP address of upstream servers directly. + +@item @code{cache-size} (default: @code{150}) +Set the size of dnsmasq's cache. Setting the cache size to zero disables +caching. + +@item @code{negative-cache?} (default: @code{#t}) +When false, disable negative caching. + +@end table +@end deftp + +@subsubheading ddclient Service + +@cindex ddclient +The ddclient service described below runs the ddclient daemon, which takes +care of automatically updating DNS entries for service providers such as +@uref{https://dyn.com/dns/, Dyn}. + +The following example show instantiates the service with its default +configuration: + +@example +(service ddclient-service-type) +@end example + +Note that ddclient needs to access credentials that are stored in a +@dfn{secret file}, by default @file{/etc/ddclient/secrets} (see +@code{secret-file} below.) You are expected to create this file manually, +in an ``out-of-band'' fashion (you @emph{could} make this file part of the +service configuration, for instance by using @code{plain-file}, but it will +be world-readable @i{via} @file{/gnu/store}.) See the examples in the +@file{share/ddclient} directory of the @code{ddclient} package. + +@c %start of fragment + +Available @code{ddclient-configuration} fields are: + +@deftypevr {@code{ddclient-configuration} parameter} package ddclient +The ddclient package. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} integer daemon +The period after which ddclient will retry to check IP and domain name. + +Defaults to @samp{300}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} boolean syslog +Use syslog for the output. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} string mail +Mail to user. + +Defaults to @samp{"root"}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} string mail-failure +Mail failed update to user. + +Defaults to @samp{"root"}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} string pid +The ddclient PID file. + +Defaults to @samp{"/var/run/ddclient/ddclient.pid"}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} boolean ssl +Enable SSL support. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} string user +Specifies the user name or ID that is used when running ddclient program. + +Defaults to @samp{"ddclient"}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} string group +Group of the user who will run the ddclient program. + +Defaults to @samp{"ddclient"}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} string secret-file +Secret file which will be appended to @file{ddclient.conf} file. This file +contains credentials for use by ddclient. You are expected to create it +manually. + +Defaults to @samp{"/etc/ddclient/secrets.conf"}. + +@end deftypevr + +@deftypevr {@code{ddclient-configuration} parameter} list extra-options +Extra options will be appended to @file{ddclient.conf} file. + +Defaults to @samp{()}. + +@end deftypevr + + +@c %end of fragment + + +@node VPN-Dienste +@subsubsection VPN-Dienste +@cindex VPN (virtual private network) +@cindex virtual private network (VPN) + +The @code{(gnu services vpn)} module provides services related to +@dfn{virtual private networks} (VPNs). It provides a @emph{client} service +for your machine to connect to a VPN, and a @emph{servire} service for your +machine to host a VPN. Both services use @uref{https://openvpn.net/, +OpenVPN}. + +@deffn {Scheme Procedure} openvpn-client-service @ + [#:config (openvpn-client-configuration)] + +Return a service that runs @command{openvpn}, a VPN daemon, as a client. +@end deffn + +@deffn {Scheme Procedure} openvpn-server-service @ + [#:config (openvpn-server-configuration)] + +Return a service that runs @command{openvpn}, a VPN daemon, as a server. + +Both can be run simultaneously. +@end deffn + +@c %automatically generated documentation + +Available @code{openvpn-client-configuration} fields are: + +@deftypevr {@code{openvpn-client-configuration} parameter} package openvpn +The OpenVPN package. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} string pid-file +The OpenVPN pid file. + +Defaults to @samp{"/var/run/openvpn/openvpn.pid"}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} proto proto +The protocol (UDP or TCP) used to open a channel between clients and +servers. + +Defaults to @samp{udp}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} dev dev +The device type used to represent the VPN connection. + +Defaults to @samp{tun}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} string ca +The certificate authority to check connections against. + +Defaults to @samp{"/etc/openvpn/ca.crt"}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} string cert +The certificate of the machine the daemon is running on. It should be +signed by the authority given in @code{ca}. + +Defaults to @samp{"/etc/openvpn/client.crt"}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} string key +The key of the machine the daemon is running on. It must be the key whose +certificate is @code{cert}. + +Defaults to @samp{"/etc/openvpn/client.key"}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} boolean comp-lzo? +Whether to use the lzo compression algorithm. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} boolean persist-key? +Don't re-read key files across SIGUSR1 or --ping-restart. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} boolean persist-tun? +Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 +or --ping-restart restarts. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} number verbosity +Verbosity level. + +Defaults to @samp{3}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth +Add an additional layer of HMAC authentication on top of the TLS control +channel to protect against DoS attacks. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} key-usage verify-key-usage? +Whether to check the server certificate has server usage extension. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} bind bind? +Bind to a specific local port number. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry? +Retry resolving server address. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-client-configuration} parameter} openvpn-remote-list remote +A list of remote servers to connect to. + +Defaults to @samp{()}. + +Available @code{openvpn-remote-configuration} fields are: + +@deftypevr {@code{openvpn-remote-configuration} parameter} string name +Server name. + +Defaults to @samp{"my-server"}. + +@end deftypevr + +@deftypevr {@code{openvpn-remote-configuration} parameter} number port +Port number the server listens to. + +Defaults to @samp{1194}. + +@end deftypevr + +@end deftypevr +@c %end of automatic openvpn-client documentation + +@c %automatically generated documentation + +Available @code{openvpn-server-configuration} fields are: + +@deftypevr {@code{openvpn-server-configuration} parameter} package openvpn +The OpenVPN package. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string pid-file +The OpenVPN pid file. + +Defaults to @samp{"/var/run/openvpn/openvpn.pid"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} proto proto +The protocol (UDP or TCP) used to open a channel between clients and +servers. + +Defaults to @samp{udp}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} dev dev +The device type used to represent the VPN connection. + +Defaults to @samp{tun}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string ca +The certificate authority to check connections against. + +Defaults to @samp{"/etc/openvpn/ca.crt"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string cert +The certificate of the machine the daemon is running on. It should be +signed by the authority given in @code{ca}. + +Defaults to @samp{"/etc/openvpn/client.crt"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string key +The key of the machine the daemon is running on. It must be the key whose +certificate is @code{cert}. + +Defaults to @samp{"/etc/openvpn/client.key"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} boolean comp-lzo? +Whether to use the lzo compression algorithm. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} boolean persist-key? +Don't re-read key files across SIGUSR1 or --ping-restart. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} boolean persist-tun? +Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 +or --ping-restart restarts. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} number verbosity +Verbosity level. + +Defaults to @samp{3}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth +Add an additional layer of HMAC authentication on top of the TLS control +channel to protect against DoS attacks. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} number port +Specifies the port number on which the server listens. + +Defaults to @samp{1194}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} ip-mask server +An ip and mask specifying the subnet inside the virtual network. + +Defaults to @samp{"10.8.0.0 255.255.255.0"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} cidr6 server-ipv6 +A CIDR notation specifying the IPv6 subnet inside the virtual network. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string dh +The Diffie-Hellman parameters file. + +Defaults to @samp{"/etc/openvpn/dh2048.pem"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist +The file that records client IPs. + +Defaults to @samp{"/etc/openvpn/ipp.txt"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} gateway redirect-gateway? +When true, the server will act as a gateway for its clients. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} boolean client-to-client? +When true, clients are allowed to talk to each other inside the VPN. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} keepalive keepalive +Causes ping-like messages to be sent back and forth over the link so that +each side knows when the other side has gone down. @code{keepalive} +requires a pair. The first element is the period of the ping sending, and +the second element is the timeout before considering the other side down. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} number max-clients +The maximum number of clients. + +Defaults to @samp{100}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} string status +The status file. This file shows a small report on current connection. It +is truncated and rewritten every minute. + +Defaults to @samp{"/var/run/openvpn/status"}. + +@end deftypevr + +@deftypevr {@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir +The list of configuration for some clients. + +Defaults to @samp{()}. + +Available @code{openvpn-ccd-configuration} fields are: + +@deftypevr {@code{openvpn-ccd-configuration} parameter} string name +Client name. + +Defaults to @samp{"client"}. + +@end deftypevr + +@deftypevr {@code{openvpn-ccd-configuration} parameter} ip-mask iroute +Client own network + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push +Client VPN IP. + +Defaults to @samp{#f}. + +@end deftypevr + +@end deftypevr + + +@c %end of automatic openvpn-server documentation + + +@node Network File System +@subsubsection Network File System +@cindex NFS + +The @code{(gnu services nfs)} module provides the following services, which +are most commonly used in relation to mounting or exporting directory trees +as @dfn{network file systems} (NFS). + +@subsubheading RPC Bind Service +@cindex rpcbind + +The RPC Bind service provides a facility to map program numbers into +universal addresses. Many NFS related services use this facility. Hence it +is automatically started when a dependent service starts. + +@defvr {Scheme Variable} rpcbind-service-type +A service type for the RPC portmapper daemon. +@end defvr + + +@deftp {Data Type} rpcbind-configuration +Data type representing the configuration of the RPC Bind Service. This type +has the following parameters: +@table @asis +@item @code{rpcbind} (default: @code{rpcbind}) +The rpcbind package to use. + +@item @code{warm-start?} (default: @code{#t}) +If this parameter is @code{#t}, then the daemon will read a state file on +startup thus reloading state information saved by a previous instance. +@end table +@end deftp + + +@subsubheading Pipefs Pseudo File System +@cindex pipefs +@cindex rpc_pipefs + +The pipefs file system is used to transfer NFS related data between the +kernel and user space programs. + +@defvr {Scheme Variable} pipefs-service-type +A service type for the pipefs pseudo file system. +@end defvr + +@deftp {Data Type} pipefs-configuration +Data type representing the configuration of the pipefs pseudo file system +service. This type has the following parameters: +@table @asis +@item @code{mount-point} (default: @code{"/var/lib/nfs/rpc_pipefs"}) +The directory to which the file system is to be attached. +@end table +@end deftp + + +@subsubheading GSS Daemon Service +@cindex GSSD +@cindex GSS +@cindex global security system + +The @dfn{global security system} (GSS) daemon provides strong security for +RPC based protocols. Before exchanging RPC requests an RPC client must +establish a security context. Typically this is done using the Kerberos +command @command{kinit} or automatically at login time using PAM services +(@pxref{Kerberos-Dienste}). + +@defvr {Scheme Variable} gss-service-type +A service type for the Global Security System (GSS) daemon. +@end defvr + +@deftp {Data Type} gss-configuration +Data type representing the configuration of the GSS daemon service. This +type has the following parameters: +@table @asis +@item @code{nfs-utils} (default: @code{nfs-utils}) +The package in which the @command{rpc.gssd} command is to be found. + +@item @code{pipefs-directory} (default: @code{"/var/lib/nfs/rpc_pipefs"}) +The directory where the pipefs file system is mounted. + +@end table +@end deftp + + +@subsubheading IDMAP Daemon Service +@cindex idmapd +@cindex name mapper + +The idmap daemon service provides mapping between user IDs and user names. +Typically it is required in order to access file systems mounted via NFSv4. + +@defvr {Scheme Variable} idmap-service-type +A service type for the Identity Mapper (IDMAP) daemon. +@end defvr + +@deftp {Data Type} idmap-configuration +Data type representing the configuration of the IDMAP daemon service. This +type has the following parameters: +@table @asis +@item @code{nfs-utils} (default: @code{nfs-utils}) +The package in which the @command{rpc.idmapd} command is to be found. + +@item @code{pipefs-directory} (default: @code{"/var/lib/nfs/rpc_pipefs"}) +The directory where the pipefs file system is mounted. + +@item @code{domain} (default: @code{#f}) +The local NFSv4 domain name. This must be a string or @code{#f}. If it is +@code{#f} then the daemon will use the host's fully qualified domain name. + +@end table +@end deftp + +@node Kontinuierliche Integration +@subsubsection Kontinuierliche Integration + +@cindex continuous integration +@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} is a +continuous integration tool for Guix. It can be used both for development +and for providing substitutes to others (@pxref{Substitute}). + +The @code{(gnu services cuirass)} module provides the following service. + +@defvr {Scheme Procedure} cuirass-service-type +The type of the Cuirass service. Its value must be a +@code{cuirass-configuration} object, as described below. +@end defvr + +To add build jobs, you have to set the @code{specifications} field of the +configuration. Here is an example of a service that polls the Guix +repository and builds the packages from a manifest. Some of the packages +are defined in the @code{"custom-packages"} input, which is the equivalent +of @code{GUIX_PACKAGE_PATH}. + +@example +(define %cuirass-specs + #~(list + '((#:name . "my-manifest") + (#:load-path-inputs . ("guix")) + (#:package-path-inputs . ("custom-packages")) + (#:proc-input . "guix") + (#:proc-file . "build-aux/cuirass/gnu-system.scm") + (#:proc . cuirass-jobs) + (#:proc-args . ((subset . "manifests") + (systems . ("x86_64-linux")) + (manifests . (("config" . "guix/manifest.scm"))))) + (#:inputs . (((#:name . "guix") + (#:url . "git://git.savannah.gnu.org/guix.git") + (#:load-path . ".") + (#:branch . "master") + (#:no-compile? . #t)) + ((#:name . "config") + (#:url . "git://git.example.org/config.git") + (#:load-path . ".") + (#:branch . "master") + (#:no-compile? . #t)) + ((#:name . "custom-packages") + (#:url . "git://git.example.org/custom-packages.git") + (#:load-path . ".") + (#:branch . "master") + (#:no-compile? . #t))))))) + +(service cuirass-service-type + (cuirass-configuration + (specifications %cuirass-specs))) +@end example + +While information related to build jobs is located directly in the +specifications, global settings for the @command{cuirass} process are +accessible in other @code{cuirass-configuration} fields. + +@deftp {Data Type} cuirass-configuration +Data type representing the configuration of Cuirass. + +@table @asis +@item @code{log-file} (default: @code{"/var/log/cuirass.log"}) +Location of the log file. + +@item @code{cache-directory} (default: @code{"/var/cache/cuirass"}) +Location of the repository cache. + +@item @code{user} (default: @code{"cuirass"}) +Owner of the @code{cuirass} process. + +@item @code{group} (default: @code{"cuirass"}) +Owner's group of the @code{cuirass} process. + +@item @code{interval} (default: @code{60}) +Number of seconds between the poll of the repositories followed by the +Cuirass jobs. + +@item @code{database} (default: @code{"/var/lib/cuirass/cuirass.db"}) +Location of sqlite database which contains the build results and previously +added specifications. + +@item @code{ttl} (default: @code{(* 30 24 3600)}) +Specifies the time-to-live (TTL) in seconds of garbage collector roots that +are registered for build results. This means that build results are +protected from garbage collection for at least @var{ttl} seconds. + +@item @code{port} (default: @code{8081}) +Port number used by the HTTP server. + +@item --listen=@var{host} +Listen on the network interface for @var{host}. The default is to accept +connections from localhost. + +@item @code{specifications} (default: @code{#~'()}) +A gexp (@pxref{G-Ausdrücke}) that evaluates to a list of specifications, +where a specification is an association list (@pxref{Associations Lists,,, +guile, GNU Guile Reference Manual}) whose keys are keywords +(@code{#:keyword-example}) as shown in the example above. + +@item @code{use-substitutes?} (default: @code{#f}) +This allows using substitutes to avoid building every dependencies of a job +from source. + +@item @code{one-shot?} (default: @code{#f}) +Only evaluate specifications and build derivations once. + +@item @code{fallback?} (default: @code{#f}) +When substituting a pre-built binary fails, fall back to building packages +locally. + +@item @code{cuirass} (default: @code{cuirass}) +The Cuirass package to use. +@end table +@end deftp + +@node Power Management Services +@subsubsection Power Management Services + +@cindex tlp +@cindex power management with TLP +@subsubheading TLP daemon + +The @code{(gnu services pm)} module provides a Guix service definition for +the Linux power management tool TLP. + +TLP enables various powersaving modes in userspace and kernel. Contrary to +@code{upower-service}, it is not a passive, monitoring tool, as it will +apply custom settings each time a new power source is detected. More +information can be found at @uref{http://linrunner.de/en/tlp/tlp.html, TLP +home page}. + +@deffn {Scheme Variable} tlp-service-type +The service type for the TLP tool. Its value should be a valid TLP +configuration (see below). To use the default settings, simply write: +@example +(service tlp-service-type) +@end example +@end deffn + +By default TLP does not need much configuration but most TLP parameters can +be tweaked using @code{tlp-configuration}. + +Each parameter definition is preceded by its type; for example, +@samp{boolean foo} indicates that the @code{foo} parameter should be +specified as a boolean. Types starting with @code{maybe-} denote parameters +that won't show up in TLP config file when their value is @code{'disabled}. + +@c The following documentation was initially generated by +@c (generate-tlp-documentation) in (gnu services pm). Manually maintained +@c documentation is better, so we shouldn't hesitate to edit below as +@c needed. However if the change you want to make to this documentation +@c can be done in an automated way, it's probably easier to change +@c (generate-documentation) than to make it below and have to deal with +@c the churn as TLP updates. + +Available @code{tlp-configuration} fields are: + +@deftypevr {@code{tlp-configuration} parameter} package tlp +The TLP package. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean tlp-enable? +Set to true if you wish to enable TLP. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string tlp-default-mode +Default mode when no power supply can be detected. Alternatives are AC and +BAT. + +Defaults to @samp{"AC"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac +Number of seconds Linux kernel has to wait after the disk goes idle, before +syncing on AC. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat +Same as @code{disk-idle-ac} but on BAT mode. + +Defaults to @samp{2}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac +Dirty pages flushing periodicity, expressed in seconds. + +Defaults to @samp{15}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat +Same as @code{max-lost-work-secs-on-ac} but on BAT mode. + +Defaults to @samp{60}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac +CPU frequency scaling governor on AC mode. With intel_pstate driver, +alternatives are powersave and performance. With acpi-cpufreq driver, +alternatives are ondemand, powersave, performance and conservative. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat +Same as @code{cpu-scaling-governor-on-ac} but on BAT mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac +Set the min available frequency for the scaling governor on AC. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac +Set the max available frequency for the scaling governor on AC. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat +Set the min available frequency for the scaling governor on BAT. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat +Set the max available frequency for the scaling governor on BAT. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac +Limit the min P-state to control the power dissipation of the CPU, in AC +mode. Values are stated as a percentage of the available performance. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac +Limit the max P-state to control the power dissipation of the CPU, in AC +mode. Values are stated as a percentage of the available performance. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat +Same as @code{cpu-min-perf-on-ac} on BAT mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat +Same as @code{cpu-max-perf-on-ac} on BAT mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac? +Enable CPU turbo boost feature on AC mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat? +Same as @code{cpu-boost-on-ac?} on BAT mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean sched-powersave-on-ac? +Allow Linux kernel to minimize the number of CPU cores/hyper-threads used +under light load conditions. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean sched-powersave-on-bat? +Same as @code{sched-powersave-on-ac?} but on BAT mode. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean nmi-watchdog? +Enable Linux kernel NMI watchdog. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-string phc-controls +For Linux kernels with PHC patch applied, change CPU voltages. An example +value would be @samp{"F:V F:V F:V F:V"}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string energy-perf-policy-on-ac +Set CPU performance versus energy saving policy on AC. Alternatives are +performance, normal, powersave. + +Defaults to @samp{"performance"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string energy-perf-policy-on-bat +Same as @code{energy-perf-policy-ac} but on BAT mode. + +Defaults to @samp{"powersave"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} space-separated-string-list disks-devices +Hard disk devices. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac +Hard disk advanced power management level. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat +Same as @code{disk-apm-bat} but on BAT mode. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac +Hard disk spin down timeout. One value has to be specified for each +declared hard disk. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat +Same as @code{disk-spindown-timeout-on-ac} but on BAT mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched +Select IO scheduler for disk devices. One value has to be specified for +each declared hard disk. Example alternatives are cfq, deadline and noop. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string sata-linkpwr-on-ac +SATA aggressive link power management (ALPM) level. Alternatives are +min_power, medium_power, max_performance. + +Defaults to @samp{"max_performance"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string sata-linkpwr-on-bat +Same as @code{sata-linkpwr-ac} but on BAT mode. + +Defaults to @samp{"min_power"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist +Exclude specified SATA host devices for link power management. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac? +Enable Runtime Power Management for AHCI controller and disks on AC mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat? +Same as @code{ahci-runtime-pm-on-ac} on BAT mode. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout +Seconds of inactivity before disk is suspended. + +Defaults to @samp{15}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string pcie-aspm-on-ac +PCI Express Active State Power Management level. Alternatives are default, +performance, powersave. + +Defaults to @samp{"performance"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string pcie-aspm-on-bat +Same as @code{pcie-aspm-ac} but on BAT mode. + +Defaults to @samp{"powersave"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string radeon-power-profile-on-ac +Radeon graphics clock speed level. Alternatives are low, mid, high, auto, +default. + +Defaults to @samp{"high"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string radeon-power-profile-on-bat +Same as @code{radeon-power-ac} but on BAT mode. + +Defaults to @samp{"low"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac +Radeon dynamic power management method (DPM). Alternatives are battery, +performance. + +Defaults to @samp{"performance"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat +Same as @code{radeon-dpm-state-ac} but on BAT mode. + +Defaults to @samp{"battery"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac +Radeon DPM performance level. Alternatives are auto, low, high. + +Defaults to @samp{"auto"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat +Same as @code{radeon-dpm-perf-ac} but on BAT mode. + +Defaults to @samp{"auto"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac? +Wifi power saving mode. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat? +Same as @code{wifi-power-ac?} but on BAT mode. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} y-n-boolean wol-disable? +Disable wake on LAN. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac +Timeout duration in seconds before activating audio power saving on Intel +HDA and AC97 devices. A value of 0 disables power saving. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat +Same as @code{sound-powersave-ac} but on BAT mode. + +Defaults to @samp{1}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller? +Disable controller in powersaving mode on Intel HDA devices. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat? +Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered +on again by releasing (and reinserting) the eject lever or by pressing the +disc eject button on newer models. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string bay-device +Name of the optical drive device to power off. + +Defaults to @samp{"sr0"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string runtime-pm-on-ac +Runtime Power Management for PCI(e) bus devices. Alternatives are on and +auto. + +Defaults to @samp{"on"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} string runtime-pm-on-bat +Same as @code{runtime-pm-ac} but on BAT mode. + +Defaults to @samp{"auto"}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean runtime-pm-all? +Runtime Power Management for all PCI(e) bus devices, except blacklisted +ones. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist +Exclude specified PCI(e) device addresses from Runtime Power Management. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist +Exclude PCI(e) devices assigned to the specified drivers from Runtime Power +Management. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean usb-autosuspend? +Enable USB autosuspend feature. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-string usb-blacklist +Exclude specified devices from USB autosuspend. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean usb-blacklist-wwan? +Exclude WWAN devices from USB autosuspend. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-string usb-whitelist +Include specified devices into USB autosuspend, even if they are already +excluded by the driver or via @code{usb-blacklist-wwan?}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown? +Enable USB autosuspend before shutdown. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{tlp-configuration} parameter} boolean restore-device-state-on-startup? +Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on +system startup. + +Defaults to @samp{#f}. + +@end deftypevr + +@cindex thermald +@cindex CPU frequency scaling with thermald +@subsubheading Thermald daemon + +The @code{(gnu services pm)} module provides an interface to thermald, a CPU +frequency scaling service which helps prevent overheating. + +@defvr {Scheme Variable} thermald-service-type +This is the service type for @uref{https://01.org/linux-thermal-daemon/, +thermald}, the Linux Thermal Daemon, which is responsible for controlling +the thermal state of processors and preventing overheating. +@end defvr + +@deftp {Data Type} thermald-configuration +Data type representing the configuration of @code{thermald-service-type}. + +@table @asis +@item @code{ignore-cpuid-check?} (default: @code{#f}) +Ignore cpuid check for supported CPU models. + +@item @code{thermald} (default: @var{thermald}) +Package object of thermald. + +@end table +@end deftp + +@node Audio-Dienste +@subsubsection Audio-Dienste + +The @code{(gnu services audio)} module provides a service to start MPD (the +Music Player Daemon). + +@cindex mpd +@subsubheading Music Player Daemon + +The Music Player Daemon (MPD) is a service that can play music while being +controlled from the local machine or over the network by a variety of +clients. + +The following example shows how one might run @code{mpd} as user +@code{"bob"} on port @code{6666}. It uses pulseaudio for output. + +@example +(service mpd-service-type + (mpd-configuration + (user "bob") + (port "6666"))) +@end example + +@defvr {Scheme Variable} mpd-service-type +The service type for @command{mpd} +@end defvr + +@deftp {Data Type} mpd-configuration +Data type representing the configuration of @command{mpd}. + +@table @asis +@item @code{user} (default: @code{"mpd"}) +The user to run mpd as. + +@item @code{music-dir} (default: @code{"~/Music"}) +The directory to scan for music files. + +@item @code{playlist-dir} (default: @code{"~/.mpd/playlists"}) +The directory to store playlists. + +@item @code{port} (default: @code{"6600"}) +The port to run mpd on. + +@item @code{address} (default: @code{"any"}) +The address that mpd will bind to. To use a Unix domain socket, an absolute +path can be specified here. + +@end table +@end deftp + +@node Virtualisierungsdienste +@subsubsection Virtualization services + +The @code{(gnu services virtualization)} module provides services for the +libvirt and virtlog daemons, as well as other virtualization-related +services. + +@subsubheading Libvirt daemon +@code{libvirtd} is the server side daemon component of the libvirt +virtualization management system. This daemon runs on host servers and +performs required management tasks for virtualized guests. + +@deffn {Scheme Variable} libvirt-service-type +This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its +value must be a @code{libvirt-configuration}. + +@example +(service libvirt-service-type + (libvirt-configuration + (unix-sock-group "libvirt") + (tls-port "16555"))) +@end example +@end deffn + +@c Auto-generated with (generate-libvirt-documentation) +Available @code{libvirt-configuration} fields are: + +@deftypevr {@code{libvirt-configuration} parameter} package libvirt +Libvirt package. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} boolean listen-tls? +Flag listening for secure TLS connections on the public TCP/IP port. must +set @code{listen} for this to have any effect. + +It is necessary to setup a CA and issue server certificates before using +this capability. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} boolean listen-tcp? +Listen for unencrypted TCP connections on the public TCP/IP port. must set +@code{listen} for this to have any effect. + +Using the TCP socket requires SASL authentication by default. Only SASL +mechanisms which support data encryption are allowed. This is DIGEST_MD5 +and GSSAPI (Kerberos5) + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string tls-port +Port for accepting secure TLS connections This can be a port number, or +service name + +Defaults to @samp{"16514"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string tcp-port +Port for accepting insecure TCP connections This can be a port number, or +service name + +Defaults to @samp{"16509"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string listen-addr +IP address or hostname used for client connections. + +Defaults to @samp{"0.0.0.0"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} boolean mdns-adv? +Flag toggling mDNS advertisement of the libvirt service. + +Alternatively can disable for all services on a host by stopping the Avahi +daemon. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string mdns-name +Default mDNS advertisement name. This must be unique on the immediate +broadcast network. + +Defaults to @samp{"Virtualization Host "}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string unix-sock-group +UNIX domain socket group ownership. This can be used to allow a 'trusted' +set of users access to management capabilities without becoming root. + +Defaults to @samp{"root"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string unix-sock-ro-perms +UNIX socket permissions for the R/O socket. This is used for monitoring VM +status only. + +Defaults to @samp{"0777"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string unix-sock-rw-perms +UNIX socket permissions for the R/W socket. Default allows only root. If +PolicyKit is enabled on the socket, the default will change to allow +everyone (eg, 0777) + +Defaults to @samp{"0770"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string unix-sock-admin-perms +UNIX socket permissions for the admin socket. Default allows only owner +(root), do not change it unless you are sure to whom you are exposing the +access to. + +Defaults to @samp{"0777"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string unix-sock-dir +The directory in which sockets will be found/created. + +Defaults to @samp{"/var/run/libvirt"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string auth-unix-ro +Authentication scheme for UNIX read-only sockets. By default socket +permissions allow anyone to connect + +Defaults to @samp{"polkit"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string auth-unix-rw +Authentication scheme for UNIX read-write sockets. By default socket +permissions only allow root. If PolicyKit support was compiled into +libvirt, the default will be to use 'polkit' auth. + +Defaults to @samp{"polkit"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string auth-tcp +Authentication scheme for TCP sockets. If you don't enable SASL, then all +TCP traffic is cleartext. Don't do this outside of a dev/test scenario. + +Defaults to @samp{"sasl"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string auth-tls +Authentication scheme for TLS sockets. TLS sockets already have encryption +provided by the TLS layer, and limited authentication is done by +certificates. + +It is possible to make use of any SASL authentication mechanism as well, by +using 'sasl' for this option + +Defaults to @samp{"none"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} optional-list access-drivers +API access control scheme. + +By default an authenticated user is allowed access to all APIs. Access +drivers can place restrictions on this. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string key-file +Server key file path. If set to an empty string, then no private key is +loaded. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string cert-file +Server key file path. If set to an empty string, then no certificate is +loaded. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string ca-file +Server key file path. If set to an empty string, then no CA certificate is +loaded. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string crl-file +Certificate revocation list path. If set to an empty string, then no CRL is +loaded. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert +Disable verification of our own server certificates. + +When libvirtd starts it performs some sanity checks against its own +certificates. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} boolean tls-no-verify-cert +Disable verification of client certificates. + +Client certificate verification is the primary authentication mechanism. +Any client which does not present a certificate signed by the CA will be +rejected. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list +Whitelist of allowed x509 Distinguished Name. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames +Whitelist of allowed SASL usernames. The format for username depends on the +SASL authentication mechanism. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string tls-priority +Override the compile time default TLS priority string. The default is +usually "NORMAL" unless overridden at build time. Only set this is it is +desired for libvirt to deviate from the global default settings. + +Defaults to @samp{"NORMAL"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer max-clients +Maximum number of concurrent client connections to allow over all sockets +combined. + +Defaults to @samp{5000}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer max-queued-clients +Maximum length of queue of connections waiting to be accepted by the +daemon. Note, that some protocols supporting retransmission may obey this +so that a later reattempt at connection succeeds. + +Defaults to @samp{1000}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer max-anonymous-clients +Maximum length of queue of accepted but not yet authenticated clients. Set +this to zero to turn this feature off + +Defaults to @samp{20}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer min-workers +Number of workers to start up initially. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer max-workers +Maximum number of worker threads. + +If the number of active clients exceeds @code{min-workers}, then more +threads are spawned, up to max_workers limit. Typically you'd want +max_workers to equal maximum number of clients allowed. + +Defaults to @samp{20}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer prio-workers +Number of priority workers. If all workers from above pool are stuck, some +calls marked as high priority (notably domainDestroy) can be executed in +this pool. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer max-requests +Total global limit on concurrent RPC calls. + +Defaults to @samp{20}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer max-client-requests +Limit on concurrent requests from a single client connection. To avoid one +client monopolizing the server this should be a small fraction of the global +max_requests and max_workers parameter. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-min-workers +Same as @code{min-workers} but for the admin interface. + +Defaults to @samp{1}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-max-workers +Same as @code{max-workers} but for the admin interface. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-max-clients +Same as @code{max-clients} but for the admin interface. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-max-queued-clients +Same as @code{max-queued-clients} but for the admin interface. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-max-client-requests +Same as @code{max-client-requests} but for the admin interface. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer log-level +Logging level. 4 errors, 3 warnings, 2 information, 1 debug. + +Defaults to @samp{3}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string log-filters +Logging filters. + +A filter allows to select a different logging level for a given category of +logs The format for a filter is one of: + +@itemize @bullet +@item +x:name + +@item +x:+name + +@end itemize + +where @code{name} is a string which is matched against the category given in +the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., +"remote", "qemu", or "util.json" (the name in the filter can be a substring +of the full category name, in order to match multiple similar categories), +the optional "+" prefix tells libvirt to log stack trace for each message +matching name, and @code{x} is the minimal level where matching messages +should be logged: + +@itemize @bullet +@item +1: DEBUG + +@item +2: INFO + +@item +3: WARNING + +@item +4: ERROR + +@end itemize + +Multiple filters can be defined in a single filters statement, they just +need to be separated by spaces. + +Defaults to @samp{"3:remote 4:event"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string log-outputs +Logging outputs. + +An output is one of the places to save logging information The format for an +output can be: + +@table @code +@item x:stderr +output goes to stderr + +@item x:syslog:name +use syslog for the output and use the given name as the ident + +@item x:file:file_path +output to a file, with the given filepath + +@item x:journald +output to journald logging system + +@end table + +In all case the x prefix is the minimal level, acting as a filter + +@itemize @bullet +@item +1: DEBUG + +@item +2: INFO + +@item +3: WARNING + +@item +4: ERROR + +@end itemize + +Multiple outputs can be defined, they just need to be separated by spaces. + +Defaults to @samp{"3:stderr"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer audit-level +Allows usage of the auditing subsystem to be altered + +@itemize @bullet +@item +0: disable all auditing + +@item +1: enable auditing, only if enabled on host + +@item +2: enable auditing, and exit if disabled on host. + +@end itemize + +Defaults to @samp{1}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} boolean audit-logging +Send audit messages via libvirt logging infrastructure. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} optional-string host-uuid +Host UUID. UUID must not have all digits be the same. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} string host-uuid-source +Source to read host UUID. + +@itemize @bullet +@item +@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid} + +@item +@code{machine-id}: fetch the UUID from @code{/etc/machine-id} + +@end itemize + +If @code{dmidecode} does not provide a valid UUID a temporary UUID will be +generated. + +Defaults to @samp{"smbios"}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer keepalive-interval +A keepalive message is sent to a client after @code{keepalive_interval} +seconds of inactivity to check if the client is still responding. If set to +-1, libvirtd will never send keepalive requests; however clients can still +send them and the daemon will send responses. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer keepalive-count +Maximum number of keepalive messages that are allowed to be sent to the +client without getting any response before the connection is considered +broken. + +In other words, the connection is automatically closed approximately after +@code{keepalive_interval * (keepalive_count + 1)} seconds since the last +message received from the client. When @code{keepalive-count} is set to 0, +connections will be automatically closed after @code{keepalive-interval} +seconds of inactivity without sending any keepalive messages. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-keepalive-interval +Same as above but for admin interface. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer admin-keepalive-count +Same as above but for admin interface. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{libvirt-configuration} parameter} integer ovs-timeout +Timeout for Open vSwitch calls. + +The @code{ovs-vsctl} utility is used for the configuration and its timeout +option is set by default to 5 seconds to avoid potential infinite waits +blocking libvirt. + +Defaults to @samp{5}. + +@end deftypevr + +@c %end of autogenerated docs + +@subsubheading Virtlog daemon +The virtlogd service is a server side daemon component of libvirt that is +used to manage logs from virtual machine consoles. + +This daemon is not used directly by libvirt client applications, rather it +is called on their behalf by @code{libvirtd}. By maintaining the logs in a +standalone daemon, the main @code{libvirtd} daemon can be restarted without +risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() +itself upon receiving @code{SIGUSR1}, to allow live upgrades without +downtime. + +@deffn {Scheme Variable} virtlog-service-type +This is the type of the virtlog daemon. Its value must be a +@code{virtlog-configuration}. + +@example +(service virtlog-service-type + (virtlog-configuration + (max-clients 1000))) +@end example +@end deffn + +@deftypevr {@code{virtlog-configuration} parameter} integer log-level +Logging level. 4 errors, 3 warnings, 2 information, 1 debug. + +Defaults to @samp{3}. + +@end deftypevr + +@deftypevr {@code{virtlog-configuration} parameter} string log-filters +Logging filters. + +A filter allows to select a different logging level for a given category of +logs The format for a filter is one of: + +@itemize @bullet +@item +x:name + +@item +x:+name + +@end itemize + +where @code{name} is a string which is matched against the category given in +the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., +"remote", "qemu", or "util.json" (the name in the filter can be a substring +of the full category name, in order to match multiple similar categories), +the optional "+" prefix tells libvirt to log stack trace for each message +matching name, and @code{x} is the minimal level where matching messages +should be logged: + +@itemize @bullet +@item +1: DEBUG + +@item +2: INFO + +@item +3: WARNING + +@item +4: ERROR + +@end itemize + +Multiple filters can be defined in a single filters statement, they just +need to be separated by spaces. + +Defaults to @samp{"3:remote 4:event"}. + +@end deftypevr + +@deftypevr {@code{virtlog-configuration} parameter} string log-outputs +Logging outputs. + +An output is one of the places to save logging information The format for an +output can be: + +@table @code +@item x:stderr +output goes to stderr + +@item x:syslog:name +use syslog for the output and use the given name as the ident + +@item x:file:file_path +output to a file, with the given filepath + +@item x:journald +output to journald logging system + +@end table + +In all case the x prefix is the minimal level, acting as a filter + +@itemize @bullet +@item +1: DEBUG + +@item +2: INFO + +@item +3: WARNING + +@item +4: ERROR + +@end itemize + +Multiple outputs can be defined, they just need to be separated by spaces. + +Defaults to @samp{"3:stderr"}. + +@end deftypevr + +@deftypevr {@code{virtlog-configuration} parameter} integer max-clients +Maximum number of concurrent client connections to allow over all sockets +combined. + +Defaults to @samp{1024}. + +@end deftypevr + +@deftypevr {@code{virtlog-configuration} parameter} integer max-size +Maximum file size before rolling over. + +Defaults to @samp{2MB} + +@end deftypevr + +@deftypevr {@code{virtlog-configuration} parameter} integer max-backups +Maximum number of backup files to keep. + +Defaults to @samp{3} + +@end deftypevr + +@subsubheading Transparent Emulation with QEMU + +@cindex emulation +@cindex @code{binfmt_misc} +@code{qemu-binfmt-service-type} provides support for transparent emulation +of program binaries built for different architectures---e.g., it allows you +to transparently execute an ARMv7 program on an x86_64 machine. It achieves +this by combining the @uref{https://www.qemu.org, QEMU} emulator and the +@code{binfmt_misc} feature of the kernel Linux. + +@defvr {Scheme Variable} qemu-binfmt-service-type +This is the type of the QEMU/binfmt service for transparent emulation. Its +value must be a @code{qemu-binfmt-configuration} object, which specifies the +QEMU package to use as well as the architecture we want to emulated: + +@example +(service qemu-binfmt-service-type + (qemu-binfmt-configuration + (platforms (lookup-qemu-platforms "arm" "aarch64" "ppc")))) +@end example + +In this example, we enable transparent emulation for the ARM and aarch64 +platforms. Running @code{herd stop qemu-binfmt} turns it off, and running +@code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the +@command{herd} command,, shepherd, The GNU Shepherd Manual}). +@end defvr + +@deftp {Data Type} qemu-binfmt-configuration +This is the configuration for the @code{qemu-binfmt} service. + +@table @asis +@item @code{platforms} (default: @code{'()}) +The list of emulated QEMU platforms. Each item must be a @dfn{platform +object} as returned by @code{lookup-qemu-platforms} (see below). + +@item @code{guix-support?} (default: @code{#f}) +When it is true, QEMU and all its dependencies are added to the build +environment of @command{guix-daemon} (@pxref{Aufruf des guix-daemon, +@code{--chroot-directory} option}). This allows the @code{binfmt_misc} +handlers to be used within the build environment, which in turn means that +you can transparently build programs for another architecture. + +For example, let's suppose you're on an x86_64 machine and you have this +service: + +@example +(service qemu-binfmt-service-type + (qemu-binfmt-configuration + (platforms (lookup-qemu-platforms "arm")) + (guix-support? #t))) +@end example + +You can run: + +@example +guix build -s armhf-linux inkscape +@end example + +@noindent +and it will build Inkscape for ARMv7 @emph{as if it were a native build}, +transparently using QEMU to emulate the ARMv7 CPU. Pretty handy if you'd +like to test a package build for an architecture you don't have access to! + +@item @code{qemu} (default: @code{qemu}) +The QEMU package to use. +@end table +@end deftp + +@deffn {Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{} +Return the list of QEMU platform objects corresponding to +@var{platforms}@dots{}. @var{platforms} must be a list of strings +corresponding to platform names, such as @code{"arm"}, @code{"sparc"}, +@code{"mips64el"}, and so on. +@end deffn + +@deffn {Scheme Procedure} qemu-platform? @var{obj} +Return true if @var{obj} is a platform object. +@end deffn + +@deffn {Scheme Procedure} qemu-platform-name @var{platform} +Return the name of @var{platform}---a string such as @code{"arm"}. +@end deffn + +@node Versionskontrolldienste +@subsubsection Versionskontrolldienste + +The @code{(gnu services version-control)} module provides a service to allow +remote access to local Git repositories. There are three options: the +@code{git-daemon-service}, which provides access to repositories via the +@code{git://} unsecured TCP-based protocol, extending the @code{nginx} web +server to proxy some requests to @code{git-http-backend}, or providing a web +interface with @code{cgit-service-type}. + +@deffn {Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)] + +Return a service that runs @command{git daemon}, a simple TCP server to +expose repositories over the Git protocol for anonymous access. + +The optional @var{config} argument should be a +@code{} object, by default it allows read-only +access to exported@footnote{By creating the magic file +"git-daemon-export-ok" in the repository directory.} repositories under +@file{/srv/git}. + +@end deffn + +@deftp {Data Type} git-daemon-configuration +Data type representing the configuration for @code{git-daemon-service}. + +@table @asis +@item @code{package} (default: @var{git}) +Package object of the Git distributed version control system. + +@item @code{export-all?} (default: @var{#f}) +Whether to allow access for all Git repositories, even if they do not have +the @file{git-daemon-export-ok} file. + +@item @code{base-path} (default: @file{/srv/git}) +Whether to remap all the path requests as relative to the given path. If +you run git daemon with @var{(base-path "/srv/git")} on example.com, then if +you later try to pull @code{git://example.com/hello.git}, git daemon will +interpret the path as @code{/srv/git/hello.git}. + +@item @code{user-path} (default: @var{#f}) +Whether to allow @code{~user} notation to be used in requests. When +specified with empty string, requests to @code{git://host/~alice/foo} is +taken as a request to access @code{foo} repository in the home directory of +user @code{alice}. If @var{(user-path "path")} is specified, the same +request is taken as a request to access @code{path/foo} repository in the +home directory of user @code{alice}. + +@item @code{listen} (default: @var{'()}) +Whether to listen on specific IP addresses or hostnames, defaults to all. + +@item @code{port} (default: @var{#f}) +Whether to listen on an alternative port, which defaults to 9418. + +@item @code{whitelist} (default: @var{'()}) +If not empty, only allow access to this list of directories. + +@item @code{extra-options} (default: @var{'()}) +Extra options will be passed to @code{git daemon}, please run @command{man +git-daemon} for more information. + +@end table +@end deftp + +The @code{git://} protocol lacks authentication. When you pull from a +repository fetched via @code{git://}, you don't know that the data you +receive was modified is really coming from the specified host, and you have +your connection is subject to eavesdropping. It's better to use an +authenticated and encrypted transport, such as @code{https}. Although Git +allows you to serve repositories using unsophisticated file-based web +servers, there is a faster protocol implemented by the +@code{git-http-backend} program. This program is the back-end of a proper +Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web-Dienste}, for more on running the necessary @code{fcgiwrap} daemon. + +Guix has a separate configuration data type for serving Git repositories +over HTTP. + +@deftp {Data Type} git-http-configuration +Data type representing the configuration for @code{git-http-service}. + +@table @asis +@item @code{package} (default: @var{git}) +Package object of the Git distributed version control system. + +@item @code{git-root} (default: @file{/srv/git}) +Directory containing the Git repositories to expose to the world. + +@item @code{export-all?} (default: @var{#f}) +Whether to expose access for all Git repositories in @var{git-root}, even if +they do not have the @file{git-daemon-export-ok} file. + +@item @code{uri-path} (default: @file{/git/}) +Path prefix for Git access. With the default @code{/git/} prefix, this will +map @code{http://@var{server}/git/@var{repo}.git} to +@code{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with +this prefix are not passed on to this Git instance. + +@item @code{fcgiwrap-socket} (default: @code{127.0.0.1:9000}) +The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web-Dienste}. +@end table +@end deftp + +There is no @code{git-http-service-type}, currently; instead you can create +an @code{nginx-location-configuration} from a @code{git-http-configuration} +and then add that location to a web server. + +@deffn {Scheme Procedure} git-http-nginx-location-configuration @ + [config=(git-http-configuration)] Compute an +@code{nginx-location-configuration} that corresponds to the given Git http +configuration. An example nginx service definition to serve the default +@file{/srv/git} over HTTPS might be: + +@example +(service nginx-service-type + (nginx-configuration + (server-blocks + (list + (nginx-server-configuration + (listen '("443 ssl")) + (server-name "git.my-host.org") + (ssl-certificate + "/etc/letsencrypt/live/git.my-host.org/fullchain.pem") + (ssl-certificate-key + "/etc/letsencrypt/live/git.my-host.org/privkey.pem") + (locations + (list + (git-http-nginx-location-configuration + (git-http-configuration (uri-path "/")))))))))) +@end example + +This example assumes that you are using Let's Encrypt to get your TLS +certificate. @xref{Zertifikatsdienste}. The default @code{certbot} +service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS. +You will also need to add an @code{fcgiwrap} proxy to your system services. +@xref{Web-Dienste}. +@end deffn + +@subsubheading Cgit Service + +@cindex Cgit service +@cindex Git, web interface +@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git +repositories written in C. + +The following example will configure the service with default values. By +default, Cgit can be accessed on port 80 (@code{http://localhost:80}). + +@example +(service cgit-service-type) +@end example + +The @code{file-object} type designates either a file-like object +(@pxref{G-Ausdrücke, file-like objects}) or a string. + +@c %start of fragment + +Available @code{cgit-configuration} fields are: + +@deftypevr {@code{cgit-configuration} parameter} package package +The CGIT package. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} nginx-server-configuration-list nginx +NGINX configuration. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object about-filter +Specifies a command which will be invoked to format the content of about +pages (both top-level and for each repository). + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string agefile +Specifies a path, relative to each repository path, which can be used to +specify the date and time of the youngest commit in the repository. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object auth-filter +Specifies a command that will be invoked for authenticating repository +access. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string branch-sort +Flag which, when set to @samp{age}, enables date ordering in the branch ref +list, and when set @samp{name} enables ordering by branch name. + +Defaults to @samp{"name"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string cache-root +Path used to store the cgit cache entries. + +Defaults to @samp{"/var/cache/cgit"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-static-ttl +Number which specifies the time-to-live, in minutes, for the cached version +of repository pages accessed with a fixed SHA1. + +Defaults to @samp{-1}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-dynamic-ttl +Number which specifies the time-to-live, in minutes, for the cached version +of repository pages accessed without a fixed SHA1. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-repo-ttl +Number which specifies the time-to-live, in minutes, for the cached version +of the repository summary page. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-root-ttl +Number which specifies the time-to-live, in minutes, for the cached version +of the repository index page. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-scanrc-ttl +Number which specifies the time-to-live, in minutes, for the result of +scanning a path for Git repositories. + +Defaults to @samp{15}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-about-ttl +Number which specifies the time-to-live, in minutes, for the cached version +of the repository about page. + +Defaults to @samp{15}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-snapshot-ttl +Number which specifies the time-to-live, in minutes, for the cached version +of snapshots. + +Defaults to @samp{5}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer cache-size +The maximum number of entries in the cgit cache. When set to @samp{0}, +caching is disabled. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean case-sensitive-sort? +Sort items in the repo list case sensitively. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} list clone-prefix +List of common prefixes which, when combined with a repository URL, +generates valid clone URLs for the repository. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} list clone-url +List of @code{clone-url} templates. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object commit-filter +Command which will be invoked to format commit messages. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string commit-sort +Flag which, when set to @samp{date}, enables strict date ordering in the +commit log, and when set to @samp{topo} enables strict topological ordering. + +Defaults to @samp{"git log"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object css +URL which specifies the css document to include in all cgit pages. + +Defaults to @samp{"/share/cgit/cgit.css"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object email-filter +Specifies a command which will be invoked to format names and email address +of committers, authors, and taggers, as represented in various places +throughout the cgit interface. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean embedded? +Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment +suitable for embedding in other HTML pages. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-commit-graph? +Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit +history graph to the left of the commit messages in the repository log page. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-filter-overrides? +Flag which, when set to @samp{#t}, allows all filter settings to be +overridden in repository-specific cgitrc files. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-follow-links? +Flag which, when set to @samp{#t}, allows users to follow a file in the log +view. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-http-clone? +If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-index-links? +Flag which, when set to @samp{#t}, will make cgit generate extra links +"summary", "commit", "tree" for each repo in the repository index. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-index-owner? +Flag which, when set to @samp{#t}, will make cgit display the owner of each +repo in the repository index. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-log-filecount? +Flag which, when set to @samp{#t}, will make cgit print the number of +modified files for each commit on the repository log page. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-log-linecount? +Flag which, when set to @samp{#t}, will make cgit print the number of added +and removed lines for each commit on the repository log page. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-remote-branches? +Flag which, when set to @code{#t}, will make cgit display remote branches in +the summary and refs views. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-subject-links? +Flag which, when set to @code{1}, will make cgit use the subject of the +parent commit as link text when generating links to parent commits in commit +view. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-html-serving? +Flag which, when set to @samp{#t}, will make cgit use the subject of the +parent commit as link text when generating links to parent commits in commit +view. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-tree-linenumbers? +Flag which, when set to @samp{#t}, will make cgit generate linenumber links +for plaintext blobs printed in the tree view. + +Defaults to @samp{#t}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean enable-git-config? +Flag which, when set to @samp{#f}, will allow cgit to use Git config to set +any repo specific settings. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object favicon +URL used as link to a shortcut icon for cgit. + +Defaults to @samp{"/favicon.ico"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string footer +The content of the file specified with this option will be included verbatim +at the bottom of all pages (i.e.@: it replaces the standard "generated +by..."@: message). + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string head-include +The content of the file specified with this option will be included verbatim +in the HTML HEAD section on all pages. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string header +The content of the file specified with this option will be included verbatim +at the top of all pages. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object include +Name of a configfile to include before the rest of the current config- file +is parsed. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string index-header +The content of the file specified with this option will be included verbatim +above the repository index. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string index-info +The content of the file specified with this option will be included verbatim +below the heading on the repository index page. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean local-time? +Flag which, if set to @samp{#t}, makes cgit print commit and tag times in +the servers timezone. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object logo +URL which specifies the source of an image which will be used as a logo on +all cgit pages. + +Defaults to @samp{"/share/cgit/cgit.png"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string logo-link +URL loaded when clicking on the cgit logo image. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object owner-filter +Command which will be invoked to format the Owner column of the main page. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer max-atom-items +Number of items to display in atom feeds view. + +Defaults to @samp{10}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer max-commit-count +Number of entries to list per page in "log" view. + +Defaults to @samp{50}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer max-message-length +Number of commit message characters to display in "log" view. + +Defaults to @samp{80}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer max-repo-count +Specifies the number of entries to list per page on the repository index +page. + +Defaults to @samp{50}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer max-repodesc-length +Specifies the maximum number of repo description characters to display on +the repository index page. + +Defaults to @samp{80}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer max-blob-size +Specifies the maximum size of a blob to display HTML for in KBytes. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string max-stats +Maximum statistics period. Valid values are @samp{week},@samp{month}, +@samp{quarter} and @samp{year}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} mimetype-alist mimetype +Mimetype for the specified filename extension. + +Defaults to @samp{((gif "image/gif") (html "text/html") (jpg "image/jpeg") +(jpeg "image/jpeg") (pdf "application/pdf") (png "image/png") (svg +"image/svg+xml"))}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object mimetype-file +Specifies the file to use for automatic mimetype lookup. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string module-link +Text which will be used as the formatstring for a hyperlink when a submodule +is printed in a directory listing. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean nocache? +If set to the value @samp{#t} caching will be disabled. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean noplainemail? +If set to @samp{#t} showing full author email addresses will be disabled. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean noheader? +Flag which, when set to @samp{#t}, will make cgit omit the standard header +on all pages. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} project-list project-list +A list of subdirectories inside of @code{repository-directory}, relative to +it, that should loaded as Git repositories. An empty list means that all +subdirectories will be loaded. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object readme +Text which will be used as default value for @code{cgit-repo-readme}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean remove-suffix? +If set to @code{#t} and @code{repository-directory} is enabled, if any +repositories are found with a suffix of @code{.git}, this suffix will be +removed for the URL and name. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer renamelimit +Maximum number of files to consider when detecting renames. + +Defaults to @samp{-1}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string repository-sort +The way in which repositories in each section are sorted. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} robots-list robots +Text used as content for the @code{robots} meta-tag. + +Defaults to @samp{("noindex" "nofollow")}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string root-desc +Text printed below the heading on the repository index page. + +Defaults to @samp{"a fast webinterface for the git dscm"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string root-readme +The content of the file specified with this option will be included verbatim +below thef "about" link on the repository index page. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string root-title +Text printed as heading on the repository index page. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean scan-hidden-path +If set to @samp{#t} and repository-directory is enabled, +repository-directory will recurse into directories whose name starts with a +period. Otherwise, repository-directory will stay away from such +directories, considered as "hidden". Note that this does not apply to the +".git" directory in non-bare repos. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} list snapshots +Text which specifies the default set of snapshot formats that cgit generates +links for. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} repository-directory repository-directory +Name of the directory to scan for repositories (represents +@code{scan-path}). + +Defaults to @samp{"/srv/git"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string section +The name of the current repository section - all repositories defined after +this option will inherit the current section name. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string section-sort +Flag which, when set to @samp{1}, will sort the sections on the repository +listing by name. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer section-from-path +A number which, if defined prior to repository-directory, specifies how many +path elements from each repo path to use as a default section name. + +Defaults to @samp{0}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} boolean side-by-side-diffs? +If set to @samp{#t} shows side-by-side diffs instead of unidiffs per +default. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} file-object source-filter +Specifies a command which will be invoked to format plaintext blobs in the +tree view. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer summary-branches +Specifies the number of branches to display in the repository "summary" +view. + +Defaults to @samp{10}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer summary-log +Specifies the number of log entries to display in the repository "summary" +view. + +Defaults to @samp{10}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} integer summary-tags +Specifies the number of tags to display in the repository "summary" view. + +Defaults to @samp{10}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string strict-export +Filename which, if specified, needs to be present within the repository for +cgit to allow access to that repository. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} string virtual-root +URL which, if specified, will be used as root for all cgit links. + +Defaults to @samp{"/"}. + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories +A list of @dfn{cgit-repo} records to use with config. + +Defaults to @samp{()}. + +Available @code{repository-cgit-configuration} fields are: + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-list snapshots +A mask of snapshot formats for this repo that cgit generates links for, +restricted by the global @code{snapshots} setting. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-file-object source-filter +Override the default @code{source-filter}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string url +The relative URL used to access the repository. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-file-object about-filter +Override the default @code{about-filter}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string branch-sort +Flag which, when set to @samp{age}, enables date ordering in the branch ref +list, and when set to @samp{name} enables ordering by branch name. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-list clone-url +A list of URLs which can be used to clone repo. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-file-object commit-filter +Override the default @code{commit-filter}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string commit-sort +Flag which, when set to @samp{date}, enables strict date ordering in the +commit log, and when set to @samp{topo} enables strict topological ordering. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string defbranch +The name of the default branch for this repository. If no such branch +exists in the repository, the first branch name (when sorted) is used as +default instead. By default branch pointed to by HEAD, or "master" if there +is no suitable HEAD. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string desc +The value to show as repository description. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string homepage +The value to show as repository homepage. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-file-object email-filter +Override the default @code{email-filter}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph? +A flag which can be used to disable the global setting +@code{enable-commit-graph?}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount? +A flag which can be used to disable the global setting +@code{enable-log-filecount?}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount? +A flag which can be used to disable the global setting +@code{enable-log-linecount?}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches? +Flag which, when set to @code{#t}, will make cgit display remote branches in +the summary and refs views. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links? +A flag which can be used to override the global setting +@code{enable-subject-links?}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving? +A flag which can be used to override the global setting +@code{enable-html-serving?}. + +Defaults to @samp{disabled}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-boolean hide? +Flag which, when set to @code{#t}, hides the repository from the repository +index. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-boolean ignore? +Flag which, when set to @samp{#t}, ignores the repository. + +Defaults to @samp{#f}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-file-object logo +URL which specifies the source of an image which will be used as a logo on +this repo’s pages. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string logo-link +URL loaded when clicking on the cgit logo image. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-file-object owner-filter +Override the default @code{owner-filter}. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string module-link +Text which will be used as the formatstring for a hyperlink when a submodule +is printed in a directory listing. The arguments for the formatstring are +the path and SHA1 of the submodule commit. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} module-link-path module-link-path +Text which will be used as the formatstring for a hyperlink when a submodule +with the specified subdirectory path is printed in a directory listing. + +Defaults to @samp{()}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string max-stats +Override the default maximum statistics period. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string name +The value to show as repository name. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string owner +A value used to identify the owner of the repository. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string path +An absolute path to the repository directory. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string readme +A path (relative to repo) which specifies a file to include verbatim as the +"About" page for this repo. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-string section +The name of the current repository section - all repositories defined after +this option will inherit the current section name. + +Defaults to @samp{""}. + +@end deftypevr + +@deftypevr {@code{repository-cgit-configuration} parameter} repo-list extra-options +Extra options will be appended to cgitrc file. + +Defaults to @samp{()}. + +@end deftypevr + +@end deftypevr + +@deftypevr {@code{cgit-configuration} parameter} list extra-options +Extra options will be appended to cgitrc file. + +Defaults to @samp{()}. + +@end deftypevr + + +@c %end of fragment + +However, it could be that you just want to get a @code{cgitrc} up and +running. In that case, you can pass an @code{opaque-cgit-configuration} as +a record to @code{cgit-service-type}. As its name indicates, an opaque +configuration does not have easy reflective capabilities. + +Available @code{opaque-cgit-configuration} fields are: + +@deftypevr {@code{opaque-cgit-configuration} parameter} package cgit +The cgit package. +@end deftypevr + +@deftypevr {@code{opaque-cgit-configuration} parameter} string string +The contents of the @code{cgitrc}, as a string. +@end deftypevr + +For example, if your @code{cgitrc} is just the empty string, you could +instantiate a cgit service like this: + +@example +(service cgit-service-type + (opaque-cgit-configuration + (cgitrc ""))) +@end example + +@subsubheading Gitolite Service + +@cindex Gitolite service +@cindex Git, hosting +@uref{http://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git +repositories on a central server. + +Gitolite can handle multiple repositories and users, and supports flexible +configuration of the permissions for the users on the repositories. + +The following example will configure Gitolite using the default @code{git} +user, and the provided SSH public key. + +@example +(service gitolite-service-type + (gitolite-configuration + (admin-pubkey (plain-file + "yourname.pub" + "ssh-rsa AAAA... guix@@example.com")))) +@end example + +Gitolite is configured through a special admin repository which you can +clone, for example, if you setup Gitolite on @code{example.com}, you would +run the following command to clone the admin repository. + +@example +git clone git@@example.com:gitolite-admin +@end example + +When the Gitolite service is activated, the provided @code{admin-pubkey} +will be inserted in to the @file{keydir} directory in the gitolite-admin +repository. If this results in a change in the repository, it will be +committed using the message ``gitolite setup by GNU Guix''. + +@deftp {Data Type} gitolite-configuration +Data type representing the configuration for @code{gitolite-service-type}. + +@table @asis +@item @code{package} (default: @var{gitolite}) +Gitolite package to use. + +@item @code{user} (default: @var{git}) +User to use for Gitolite. This will be user that you use when accessing +Gitolite over SSH. + +@item @code{group} (default: @var{git}) +Group to use for Gitolite. + +@item @code{home-directory} (default: @var{"/var/lib/gitolite"}) +Directory in which to store the Gitolite configuration and repositories. + +@item @code{rc-file} (default: @var{(gitolite-rc-file)}) +A ``file-like'' object (@pxref{G-Ausdrücke, file-like objects}), +representing the configuration for Gitolite. + +@item @code{admin-pubkey} (default: @var{#f}) +A ``file-like'' object (@pxref{G-Ausdrücke, file-like objects}) used to +setup Gitolite. This will be inserted in to the @file{keydir} directory +within the gitolite-admin repository. + +To specify the SSH key as a string, use the @code{plain-file} function. + +@example +(plain-file "yourname.pub" "ssh-rsa AAAA... guix@@example.com") +@end example + +@end table +@end deftp + +@deftp {Data Type} gitolite-rc-file +Data type representing the Gitolite RC file. + +@table @asis +@item @code{umask} (default: @code{#o0077}) +This controls the permissions Gitolite sets on the repositories and their +contents. + +A value like @code{#o0027} will give read access to the group used by +Gitolite (by default: @code{git}). This is necessary when using Gitolite +with software like cgit or gitweb. + +@item @code{git-config-keys} (default: @code{""}) +Gitolite allows you to set git config values using the "config" +keyword. This setting allows control over the config keys to accept. + +@item @code{roles} (default: @code{'(("READERS" . 1) ("WRITERS" . ))}) +Set the role names allowed to be used by users running the perms command. + +@item @code{enable} (default: @code{'("help" "desc" "info" "perms" "writable" "ssh-authkeys" "git-config" "daemon" "gitweb")}) +This setting controls the commands and features to enable within Gitolite. + +@end table +@end deftp + + +@node Spieldienste +@subsubsection Spieldienste + +@subsubheading The Battle for Wesnoth Service +@cindex wesnothd +@uref{https://wesnoth.org, The Battle for Wesnoth} is a fantasy, turn based +tactical strategy game, with several single player campaigns, and +multiplayer games (both networked and local). + +@defvar {Scheme Variable} wesnothd-service-type +Service type for the wesnothd service. Its value must be a +@code{wesnothd-configuration} object. To run wesnothd in the default +configuration, instantiate it as: + +@example +(service wesnothd-service-type) +@end example +@end defvar + +@deftp {Data Type} wesnothd-configuration +Data type representing the configuration of @command{wesnothd}. + +@table @asis +@item @code{package} (default: @code{wesnoth-server}) +The wesnoth server package to use. + +@item @code{port} (default: @code{15000}) +The port to bind the server to. +@end table +@end deftp + +@node Verschiedene Dienste +@subsubsection Verschiedene Dienste + +@cindex fingerprint +@subsubheading Fingerprint Service + +The @code{(gnu services fingerprint)} module provides a DBus service to read +and identify fingerprints via a fingerprint sensor. + +@defvr {Scheme Variable} fprintd-service-type +The service type for @command{fprintd}, which provides the fingerprint +reading capability. + +@example +(service fprintd-service-type) +@end example +@end defvr + +@cindex sysctl +@subsubheading System Control Service + +The @code{(gnu services sysctl)} provides a service to configure kernel +parameters at boot. + +@defvr {Scheme Variable} sysctl-service-type +The service type for @command{sysctl}, which modifies kernel parameters +under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated +as: + +@example +(service sysctl-service-type + (sysctl-configuration + (settings '(("net.ipv4.ip_forward" . "1"))))) +@end example +@end defvr + +@deftp {Data Type} sysctl-configuration +The data type representing the configuration of @command{sysctl}. + +@table @asis +@item @code{sysctl} (default: @code{(file-append procps "/sbin/sysctl"}) +The @command{sysctl} executable to use. + +@item @code{settings} (default: @code{'()}) +An association list specifies kernel parameters and their values. +@end table +@end deftp + +@cindex pcscd +@subsubheading PC/SC Smart Card Daemon Service + +The @code{(gnu services security-token)} module provides the following +service to run @command{pcscd}, the PC/SC Smart Card Daemon. +@command{pcscd} is the daemon program for pcsc-lite and the MuscleCard +framework. It is a resource manager that coordinates communications with +smart card readers, smart cards and cryptographic tokens that are connected +to the system. + +@defvr {Scheme Variable} pcscd-service-type +Service type for the @command{pcscd} service. Its value must be a +@code{pcscd-configuration} object. To run pcscd in the default +configuration, instantiate it as: + +@example +(service pcscd-service-type) +@end example +@end defvr + +@deftp {Data Type} pcscd-configuration +The data type representing the configuration of @command{pcscd}. + +@table @asis +@item @code{pcsc-lite} (default: @code{pcsc-lite}) +The pcsc-lite package that provides pcscd. +@item @code{usb-drivers} (default: @code{(list ccid)}) +List of packages that provide USB drivers to pcscd. Drivers are expected to +be under @file{pcsc/drivers} in the store directory of the package. +@end table +@end deftp + +@cindex lirc +@subsubheading Lirc Service + +The @code{(gnu services lirc)} module provides the following service. + +@deffn {Scheme Procedure} lirc-service [#:lirc lirc] @ + [#:device #f] [#:driver #f] [#:config-file #f] @ [#:extra-options '()] +Return a service that runs @url{http://www.lirc.org,LIRC}, a daemon that +decodes infrared signals from remote controls. + +Optionally, @var{device}, @var{driver} and @var{config-file} (configuration +file name) may be specified. See @command{lircd} manual for details. + +Finally, @var{extra-options} is a list of additional command-line options +passed to @command{lircd}. +@end deffn + +@cindex spice +@subsubheading Spice Service + +The @code{(gnu services spice)} module provides the following service. + +@deffn {Scheme Procedure} spice-vdagent-service [#:spice-vdagent] +Returns a service that runs @url{http://www.spice-space.org,VDAGENT}, a +daemon that enables sharing the clipboard with a vm and setting the guest +display resolution when the graphical console window resizes. +@end deffn + +@subsubsection Dictionary Services +@cindex dictionary +The @code{(gnu services dict)} module provides the following service: + +@deffn {Scheme Procedure} dicod-service [#:config (dicod-configuration)] +Return a service that runs the @command{dicod} daemon, an implementation of +DICT server (@pxref{Dicod,,, dico, GNU Dico Manual}). + +The optional @var{config} argument specifies the configuration for +@command{dicod}, which should be a @code{} object, by +default it serves the GNU Collaborative International Dictonary of English. + +You can add @command{open localhost} to your @file{~/.dico} file to make +@code{localhost} the default server for @command{dico} client +(@pxref{Initialization File,,, dico, GNU Dico Manual}). +@end deffn + +@deftp {Data Type} dicod-configuration +Data type representing the configuration of dicod. + +@table @asis +@item @code{dico} (default: @var{dico}) +Package object of the GNU Dico dictionary server. + +@item @code{interfaces} (default: @var{'("localhost")}) +This is the list of IP addresses and ports and possibly socket file names to +listen to (@pxref{Server Settings, @code{listen} directive,, dico, GNU Dico +Manual}). + +@item @code{handlers} (default: @var{'()}) +List of @code{} objects denoting handlers (module instances). + +@item @code{databases} (default: @var{(list %dicod-database:gcide)}) +List of @code{} objects denoting dictionaries to be served. +@end table +@end deftp + +@deftp {Data Type} dicod-handler +Data type representing a dictionary handler (module instance). + +@table @asis +@item @code{name} +Name of the handler (module instance). + +@item @code{module} (default: @var{#f}) +Name of the dicod module of the handler (instance). If it is @code{#f}, the +module has the same name as the handler. (@pxref{Module,,, dico, GNU Dico +Manual}). + +@item @code{options} +List of strings or gexps representing the arguments for the module handler +@end table +@end deftp + +@deftp {Data Type} dicod-database +Data type representing a dictionary database. + +@table @asis +@item @code{name} +Name of the database, will be used in DICT commands. + +@item @code{handler} +Name of the dicod handler (module instance) used by this database +(@pxref{Handlers,,, dico, GNU Dico Manual}). + +@item @code{complex?} (default: @var{#f}) +Whether the database configuration complex. The complex configuration will +need a corresponding @code{} object, otherwise not. + +@item @code{options} +List of strings or gexps representing the arguments for the database +(@pxref{Databases,,, dico, GNU Dico Manual}). +@end table +@end deftp + +@defvr {Scheme Variable} %dicod-database:gcide +A @code{} object serving the GNU Collaborative International +Dictionary of English using the @code{gcide} package. +@end defvr + +The following is an example @code{dicod-service} configuration. + +@example +(dicod-service #:config + (dicod-configuration + (handlers (list (dicod-handler + (name "wordnet") + (module "dictorg") + (options + (list #~(string-append "dbdir=" #$wordnet)))))) + (databases (list (dicod-database + (name "wordnet") + (complex? #t) + (handler "wordnet") + (options '("database=wn"))) + %dicod-database:gcide)))) +@end example + +@node Setuid-Programme +@subsection Setuid-Programme + +@cindex setuid programs +Some programs need to run with ``root'' privileges, even when they are +launched by unprivileged users. A notorious example is the @command{passwd} +program, which users can run to change their password, and which needs to +access the @file{/etc/passwd} and @file{/etc/shadow} files---something +normally restricted to root, for obvious security reasons. To address that, +these executables are @dfn{setuid-root}, meaning that they always run with +root privileges (@pxref{How Change Persona,,, libc, The GNU C Library +Reference Manual}, for more info about the setuid mechanism.) + +The store itself @emph{cannot} contain setuid programs: that would be a +security issue since any user on the system can write derivations that +populate the store (@pxref{Der Store}). Thus, a different mechanism is +used: instead of changing the setuid bit directly on files that are in the +store, we let the system administrator @emph{declare} which programs should +be setuid root. + +The @code{setuid-programs} field of an @code{operating-system} declaration +contains a list of G-expressions denoting the names of programs to be +setuid-root (@pxref{Das Konfigurationssystem nutzen}). For instance, the +@command{passwd} program, which is part of the Shadow package, can be +designated by this G-expression (@pxref{G-Ausdrücke}): + +@example +#~(string-append #$shadow "/bin/passwd") +@end example + +A default set of setuid programs is defined by the @code{%setuid-programs} +variable of the @code{(gnu system)} module. + +@defvr {Scheme Variable} %setuid-programs +A list of G-expressions denoting common programs that are setuid-root. + +The list includes commands such as @command{passwd}, @command{ping}, +@command{su}, and @command{sudo}. +@end defvr + +Under the hood, the actual setuid programs are created in the +@file{/run/setuid-programs} directory at system activation time. The files +in this directory refer to the ``real'' binaries, which are in the store. + +@node X.509-Zertifikate +@subsection X.509-Zertifikate + +@cindex HTTPS, certificates +@cindex X.509 certificates +@cindex TLS +Web servers available over HTTPS (that is, HTTP over the transport-layer +security mechanism, TLS) send client programs an @dfn{X.509 certificate} +that the client can then use to @emph{authenticate} the server. To do that, +clients verify that the server's certificate is signed by a so-called +@dfn{certificate authority} (CA). But to verify the CA's signature, clients +must have first acquired the CA's certificate. + +Web browsers such as GNU@tie{}IceCat include their own set of CA +certificates, such that they are able to verify CA signatures +out-of-the-box. + +However, most other programs that can talk HTTPS---@command{wget}, +@command{git}, @command{w3m}, etc.---need to be told where CA certificates +can be found. + +@cindex @code{nss-certs} +In GuixSD, this is done by adding a package that provides certificates to +the @code{packages} field of the @code{operating-system} declaration +(@pxref{„operating-system“-Referenz}). GuixSD includes one such package, +@code{nss-certs}, which is a set of CA certificates provided as part of +Mozilla's Network Security Services. + +Note that it is @emph{not} part of @var{%base-packages}, so you need to +explicitly add it. The @file{/etc/ssl/certs} directory, which is where most +applications and libraries look for certificates by default, points to the +certificates installed globally. + +Unprivileged users, including users of Guix on a foreign distro, can also +install their own certificate package in their profile. A number of +environment variables need to be defined so that applications and libraries +know where to find them. Namely, the OpenSSL library honors the +@code{SSL_CERT_DIR} and @code{SSL_CERT_FILE} variables. Some applications +add their own environment variables; for instance, the Git version control +system honors the certificate bundle pointed to by the @code{GIT_SSL_CAINFO} +environment variable. Thus, you would typically run something like: + +@example +$ guix package -i nss-certs +$ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" +$ export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" +$ export GIT_SSL_CAINFO="$SSL_CERT_FILE" +@end example + +As another example, R requires the @code{CURL_CA_BUNDLE} environment +variable to point to a certificate bundle, so you would have to run +something like this: + +@example +$ guix package -i nss-certs +$ export CURL_CA_BUNDLE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" +@end example + +For other applications you may want to look up the required environment +variable in the relevant documentation. + + +@node Name Service Switch +@subsection Name Service Switch + +@cindex name service switch +@cindex NSS +The @code{(gnu system nss)} module provides bindings to the configuration +file of the libc @dfn{name service switch} or @dfn{NSS} (@pxref{NSS +Configuration File,,, libc, The GNU C Library Reference Manual}). In a +nutshell, the NSS is a mechanism that allows libc to be extended with new +``name'' lookup methods for system databases, which includes host names, +service names, user accounts, and more (@pxref{Name Service Switch, System +Databases and Name Service Switch,, libc, The GNU C Library Reference +Manual}). + +The NSS configuration specifies, for each system database, which lookup +method is to be used, and how the various methods are chained together---for +instance, under which circumstances NSS should try the next method in the +list. The NSS configuration is given in the @code{name-service-switch} +field of @code{operating-system} declarations (@pxref{„operating-system“-Referenz, @code{name-service-switch}}). + +@cindex nss-mdns +@cindex .local, host name lookup +As an example, the declaration below configures the NSS to use the +@uref{http://0pointer.de/lennart/projects/nss-mdns/, @code{nss-mdns} +back-end}, which supports host name lookups over multicast DNS (mDNS) for +host names ending in @code{.local}: + +@example +(name-service-switch + (hosts (list %files ;first, check /etc/hosts + + ;; If the above did not succeed, try + ;; with 'mdns_minimal'. + (name-service + (name "mdns_minimal") + + ;; 'mdns_minimal' is authoritative for + ;; '.local'. When it returns "not found", + ;; no need to try the next methods. + (reaction (lookup-specification + (not-found => return)))) + + ;; Then fall back to DNS. + (name-service + (name "dns")) + + ;; Finally, try with the "full" 'mdns'. + (name-service + (name "mdns"))))) +@end example + +Do not worry: the @code{%mdns-host-lookup-nss} variable (see below) +contains this configuration, so you will not have to type it if all you want +is to have @code{.local} host lookup working. + +Note that, in this case, in addition to setting the +@code{name-service-switch} of the @code{operating-system} declaration, you +also need to use @code{avahi-service} (@pxref{Netzwerkdienste, +@code{avahi-service}}), or @var{%desktop-services}, which includes it +(@pxref{Desktop-Dienste}). Doing this makes @code{nss-mdns} accessible to +the name service cache daemon (@pxref{Basisdienste, @code{nscd-service}}). + +For convenience, the following variables provide typical NSS configurations. + +@defvr {Scheme Variable} %default-nss +This is the default name service switch configuration, a +@code{name-service-switch} object. +@end defvr + +@defvr {Scheme Variable} %mdns-host-lookup-nss +This is the name service switch configuration with support for host name +lookup over multicast DNS (mDNS) for host names ending in @code{.local}. +@end defvr + +The reference for name service switch configuration is given below. It is a +direct mapping of the configuration file format of the C library , so please +refer to the C library manual for more information (@pxref{NSS Configuration +File,,, libc, The GNU C Library Reference Manual}). Compared to the +configuration file format of libc NSS, it has the advantage not only of +adding this warm parenthetic feel that we like, but also static checks: you +will know about syntax errors and typos as soon as you run @command{guix +system}. + +@deftp {Data Type} name-service-switch + +This is the data type representation the configuration of libc's name +service switch (NSS). Each field below represents one of the supported +system databases. + +@table @code +@item aliases +@itemx ethers +@itemx group +@itemx gshadow +@itemx hosts +@itemx initgroups +@itemx netgroup +@itemx networks +@itemx password +@itemx public-key +@itemx rpc +@itemx services +@itemx shadow +The system databases handled by the NSS. Each of these fields must be a +list of @code{} objects (see below). +@end table +@end deftp + +@deftp {Data Type} name-service + +This is the data type representing an actual name service and the associated +lookup action. + +@table @code +@item name +A string denoting the name service (@pxref{Services in the NSS +configuration,,, libc, The GNU C Library Reference Manual}). + +Note that name services listed here must be visible to nscd. This is +achieved by passing the @code{#:name-services} argument to +@code{nscd-service} the list of packages providing the needed name services +(@pxref{Basisdienste, @code{nscd-service}}). + +@item reaction +An action specified using the @code{lookup-specification} macro +(@pxref{Actions in the NSS configuration,,, libc, The GNU C Library +Reference Manual}). For example: + +@example +(lookup-specification (unavailable => continue) + (success => return)) +@end example +@end table +@end deftp + +@node Initiale RAM-Disk +@subsection Initiale RAM-Disk + +@cindex initrd +@cindex initial RAM disk +For bootstrapping purposes, the Linux-Libre kernel is passed an @dfn{initial +RAM disk}, or @dfn{initrd}. An initrd contains a temporary root file system +as well as an initialization script. The latter is responsible for mounting +the real root file system, and for loading any kernel modules that may be +needed to achieve that. + +The @code{initrd-modules} field of an @code{operating-system} declaration +allows you to specify Linux-libre kernel modules that must be available in +the initrd. In particular, this is where you would list modules needed to +actually drive the hard disk where your root partition is---although the +default value of @code{initrd-modules} should cover most use cases. For +example, assuming you need the @code{megaraid_sas} module in addition to the +default modules to be able to access your root file system, you would write: + +@example +(operating-system + ;; @dots{} + (initrd-modules (cons "megaraid_sas" %base-initrd-modules))) +@end example + +@defvr {Scheme Variable} %base-initrd-modules +This is the list of kernel modules included in the initrd by default. +@end defvr + +Furthermore, if you need lower-level customization, the @code{initrd} field +of an @code{operating-system} declaration allows you to specify which initrd +you would like to use. The @code{(gnu system linux-initrd)} module provides +three ways to build an initrd: the high-level @code{base-initrd} procedure +and the low-level @code{raw-initrd} and @code{expression->initrd} +procedures. + +The @code{base-initrd} procedure is intended to cover most common uses. For +example, if you want to add a bunch of kernel modules to be loaded at boot +time, you can define the @code{initrd} field of the operating system +declaration like this: + +@example +(initrd (lambda (file-systems . rest) + ;; Create a standard initrd but set up networking + ;; with the parameters QEMU expects by default. + (apply base-initrd file-systems + #:qemu-networking? #t + rest))) +@end example + +The @code{base-initrd} procedure also handles common use cases that involves +using the system as a QEMU guest, or as a ``live'' system with volatile root +file system. + +The @code{base-initrd} procedure is built from @code{raw-initrd} procedure. +Unlike @code{base-initrd}, @code{raw-initrd} doesn't do anything high-level, +such as trying to guess which kernel modules and packages should be included +to the initrd. An example use of @code{raw-initrd} is when a user has a +custom Linux kernel configuration and default kernel modules included by +@code{base-initrd} are not available. + +The initial RAM disk produced by @code{base-initrd} or @code{raw-initrd} +honors several options passed on the Linux kernel command line (that is, +arguments passed @i{via} the @code{linux} command of GRUB, or the +@code{-append} option of QEMU), notably: + +@table @code +@item --load=@var{boot} +Tell the initial RAM disk to load @var{boot}, a file containing a Scheme +program, once it has mounted the root file system. + +GuixSD uses this option to yield control to a boot program that runs the +service activation programs and then spawns the GNU@tie{}Shepherd, the +initialization system. + +@item --root=@var{root} +Mount @var{root} as the root file system. @var{root} can be a device name +like @code{/dev/sda1}, a file system label, or a file system UUID. + +@item --system=@var{System} +Have @file{/run/booted-system} and @file{/run/current-system} point to +@var{system}. + +@item modprobe.blacklist=@var{modules}@dots{} +@cindex module, black-listing +@cindex black list, of kernel modules +Instruct the initial RAM disk as well as the @command{modprobe} command +(from the kmod package) to refuse to load @var{modules}. @var{modules} must +be a comma-separated list of module names---e.g., @code{usbkbd,9pnet}. + +@item --repl +Start a read-eval-print loop (REPL) from the initial RAM disk before it +tries to load kernel modules and to mount the root file system. Our +marketing team calls it @dfn{boot-to-Guile}. The Schemer in you will love +it. @xref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}, +for more information on Guile's REPL. + +@end table + +Now that you know all the features that initial RAM disks produced by +@code{base-initrd} and @code{raw-initrd} provide, here is how to use it and +customize it further. + +@cindex initrd +@cindex initial RAM disk +@deffn {Scheme Procedure} raw-initrd @var{file-systems} @ + [#:linux-modules '()] [#:mapped-devices '()] @ [#:helper-packages '()] +[#:qemu-networking? #f] [#:volatile-root? #f] Return a derivation that +builds a raw initrd. @var{file-systems} is a list of file systems to be +mounted by the initrd, possibly in addition to the root file system +specified on the kernel command line via @code{--root}. @var{linux-modules} +is a list of kernel modules to be loaded at boot time. @var{mapped-devices} +is a list of device mappings to realize before @var{file-systems} are +mounted (@pxref{Abgebildete Geräte}). @var{helper-packages} is a list of +packages to be copied in the initrd. It may include @code{e2fsck/static} or +other packages needed by the initrd to check the root file system. + +When @var{qemu-networking?} is true, set up networking with the standard +QEMU parameters. When @var{virtio?} is true, load additional modules so +that the initrd can be used as a QEMU guest with para-virtualized I/O +drivers. + +When @var{volatile-root?} is true, the root file system is writable but any +changes to it are lost. +@end deffn + +@deffn {Scheme Procedure} base-initrd @var{file-systems} @ + [#:mapped-devices '()] [#:qemu-networking? #f] [#:volatile-root? #f]@ +[#:linux-modules '()] Return as a file-like object a generic initrd, with +kernel modules taken from @var{linux}. @var{file-systems} is a list of +file-systems to be mounted by the initrd, possibly in addition to the root +file system specified on the kernel command line via @code{--root}. +@var{mapped-devices} is a list of device mappings to realize before +@var{file-systems} are mounted. + +@var{qemu-networking?} and @var{volatile-root?} behaves as in +@code{raw-initrd}. + +The initrd is automatically populated with all the kernel modules necessary +for @var{file-systems} and for the given options. Additional kernel modules +can be listed in @var{linux-modules}. They will be added to the initrd, and +loaded at boot time in the order in which they appear. +@end deffn + +Needless to say, the initrds we produce and use embed a statically-linked +Guile, and the initialization program is a Guile program. That gives a lot +of flexibility. The @code{expression->initrd} procedure builds such an +initrd, given the program to run in that initrd. + +@deffn {Scheme Procedure} expression->initrd @var{exp} @ + [#:guile %guile-static-stripped] [#:name "guile-initrd"] Return as a +file-like object a Linux initrd (a gzipped cpio archive) containing +@var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All +the derivations referenced by @var{exp} are automatically copied to the +initrd. +@end deffn + +@node Bootloader-Konfiguration +@subsection Bootloader-Konfiguration + +@cindex bootloader +@cindex boot loader + +The operating system supports multiple bootloaders. The bootloader is +configured using @code{bootloader-configuration} declaration. All the +fields of this structure are bootloader agnostic except for one field, +@code{bootloader} that indicates the bootloader to be configured and +installed. + +Some of the bootloaders do not honor every field of +@code{bootloader-configuration}. For instance, the extlinux bootloader does +not support themes and thus ignores the @code{theme} field. + +@deftp {Data Type} bootloader-configuration +The type of a bootloader configuration declaration. + +@table @asis + +@item @code{bootloader} +@cindex EFI, bootloader +@cindex UEFI, bootloader +@cindex BIOS, bootloader +The bootloader to use, as a @code{bootloader} object. For now +@code{grub-bootloader}, @code{grub-efi-bootloader}, +@code{extlinux-bootloader} and @code{u-boot-bootloader} are supported. + +@vindex grub-efi-bootloader +@code{grub-efi-bootloader} allows to boot on modern systems using the +@dfn{Unified Extensible Firmware Interface} (UEFI). This is what you should +use if the installation image contains a @file{/sys/firmware/efi} directory +when you boot it on your system. + +@vindex grub-bootloader +@code{grub-bootloader} allows you to boot in particular Intel-based machines +in ``legacy'' BIOS mode. + +@cindex ARM, bootloaders +@cindex AArch64, bootloaders +Available bootloaders are described in @code{(gnu bootloader @dots{})} +modules. In particular, @code{(gnu bootloader u-boot)} contains definitions +of bootloaders for a wide range of ARM and AArch64 systems, using the +@uref{http://www.denx.de/wiki/U-Boot/, U-Boot bootloader}. + +@item @code{target} +This is a string denoting the target onto which to install the bootloader. + +The interpretation depends on the bootloader in question. For +@code{grub-bootloader}, for example, it should be a device name understood +by the bootloader @command{installer} command, such as @code{/dev/sda} or +@code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For +@code{grub-efi-bootloader}, it should be the mount point of the EFI file +system, usually @file{/boot/efi}. + +@item @code{menu-entries} (default: @code{()}) +A possibly empty list of @code{menu-entry} objects (see below), denoting +entries to appear in the bootloader menu, in addition to the current system +entry and the entry pointing to previous system generations. + +@item @code{default-entry} (default: @code{0}) +The index of the default boot menu entry. Index 0 is for the entry of the +current system. + +@item @code{timeout} (default: @code{5}) +The number of seconds to wait for keyboard input before booting. Set to 0 +to boot immediately, and to -1 to wait indefinitely. + +@item @code{theme} (default: @var{#f}) +The bootloader theme object describing the theme to use. If no theme is +provided, some bootloaders might use a default theme, that's true for GRUB. + +@item @code{terminal-outputs} (default: @code{'gfxterm}) +The output terminals used for the bootloader boot menu, as a list of +symbols. GRUB accepts the values: @code{console}, @code{serial}, +@code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, +@code{morse}, and @code{pkmodem}. This field corresponds to the GRUB +variable @code{GRUB_TERMINAL_OUTPUT} (@pxref{Simple configuration,,, +grub,GNU GRUB manual}). + +@item @code{terminal-inputs} (default: @code{'()}) +The input terminals used for the bootloader boot menu, as a list of +symbols. For GRUB, the default is the native platform terminal as +determined at run-time. GRUB accepts the values: @code{console}, +@code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and +@code{usb_keyboard}. This field corresponds to the GRUB variable +@code{GRUB_TERMINAL_INPUT} (@pxref{Simple configuration,,, grub,GNU GRUB +manual}). + +@item @code{serial-unit} (default: @code{#f}) +The serial unit used by the bootloader, as an integer from 0 to 3. For +GRUB, it is chosen at run-time; currently GRUB chooses 0, which corresponds +to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual}). + +@item @code{serial-speed} (default: @code{#f}) +The speed of the serial interface, as an integer. For GRUB, the default +value is chosen at run-time; currently GRUB chooses 9600@tie{}bps +(@pxref{Serial terminal,,, grub,GNU GRUB manual}). +@end table + +@end deftp + +@cindex dual boot +@cindex boot menu +Should you want to list additional boot menu entries @i{via} the +@code{menu-entries} field above, you will need to create them with the +@code{menu-entry} form. For example, imagine you want to be able to boot +another distro (hard to imagine!), you can define a menu entry along these +lines: + +@example +(menu-entry + (label "The Other Distro") + (linux "/boot/old/vmlinux-2.6.32") + (linux-arguments '("root=/dev/sda2")) + (initrd "/boot/old/initrd")) +@end example + +Details below. + +@deftp {Data Type} menu-entry +The type of an entry in the bootloader menu. + +@table @asis + +@item @code{label} +The label to show in the menu---e.g., @code{"GNU"}. + +@item @code{linux} +The Linux kernel image to boot, for example: + +@example +(file-append linux-libre "/bzImage") +@end example + +For GRUB, it is also possible to specify a device explicitly in the file +path using GRUB's device naming convention (@pxref{Naming convention,,, +grub, GNU GRUB manual}), for example: + +@example +"(hd0,msdos1)/boot/vmlinuz" +@end example + +If the device is specified explicitly as above, then the @code{device} field +is ignored entirely. + +@item @code{linux-arguments} (default: @code{()}) +The list of extra Linux kernel command-line arguments---e.g., +@code{("console=ttyS0")}. + +@item @code{initrd} +A G-Expression or string denoting the file name of the initial RAM disk to +use (@pxref{G-Ausdrücke}). +@item @code{device} (default: @code{#f}) +The device where the kernel and initrd are to be found---i.e., for GRUB, +@dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual}). + +This may be a file system label (a string), a file system UUID (a +bytevector, @pxref{Dateisysteme}), or @code{#f}, in which case the +bootloader will search the device containing the file specified by the +@code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It must +@emph{not} be an OS device name such as @file{/dev/sda1}. + +@end table +@end deftp + +@c FIXME: Write documentation once it's stable. +Fow now only GRUB has theme support. GRUB themes are created using the +@code{grub-theme} form, which is not documented yet. + +@defvr {Scheme Variable} %default-theme +This is the default GRUB theme used by the operating system if no +@code{theme} field is specified in @code{bootloader-configuration} record. + +It comes with a fancy background image displaying the GNU and Guix logos. +@end defvr + + +@node Aufruf von guix system +@subsection Invoking @code{guix system} + +Once you have written an operating system declaration as seen in the +previous section, it can be @dfn{instantiated} using the @command{guix +system} command. The synopsis is: + +@example +guix system @var{options}@dots{} @var{action} @var{file} +@end example + +@var{file} must be the name of a file containing an @code{operating-system} +declaration. @var{action} specifies how the operating system is +instantiated. Currently the following values are supported: + +@table @code +@item search +Display available service type definitions that match the given regular +expressions, sorted by relevance: + +@example +$ guix system search console font +name: console-fonts +location: gnu/services/base.scm:729:2 +extends: shepherd-root +description: Install the given fonts on the specified ttys (fonts are ++ per virtual console on GNU/Linux). The value of this service is a list ++ of tty/font pairs like: ++ ++ '(("tty1" . "LatGrkCyr-8x16")) +relevance: 20 + +name: mingetty +location: gnu/services/base.scm:1048:2 +extends: shepherd-root +description: Provide console login using the `mingetty' program. +relevance: 2 + +name: login +location: gnu/services/base.scm:775:2 +extends: pam +description: Provide a console log-in service as specified by its ++ configuration value, a `login-configuration' object. +relevance: 2 + +@dots{} +@end example + +As for @command{guix package --search}, the result is written in +@code{recutils} format, which makes it easy to filter the output +(@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual}). + +@item reconfigure +Build the operating system described in @var{file}, activate it, and switch +to it@footnote{This action (and the related actions @code{switch-generation} +and @code{roll-back}) are usable only on systems already running GuixSD.}. + +This effects all the configuration specified in @var{file}: user accounts, +system services, global package list, setuid programs, etc. The command +starts system services specified in @var{file} that are not currently +running; if a service is currently running this command will arrange for it +to be upgraded the next time it is stopped (e.g.@: by @code{herd stop X} or +@code{herd restart X}). + +This command creates a new generation whose number is one greater than the +current generation (as reported by @command{guix system list-generations}). +If that generation already exists, it will be overwritten. This behavior +mirrors that of @command{guix package} (@pxref{Aufruf von guix package}). + +It also adds a bootloader menu entry for the new OS configuration, ---unless +@option{--no-bootloader} is passed. For GRUB, it moves entries for older +configurations to a submenu, allowing you to choose an older system +generation at boot time should you need it. + +@quotation Anmerkung +@c The paragraph below refers to the problem discussed at +@c . +It is highly recommended to run @command{guix pull} once before you run +@command{guix system reconfigure} for the first time (@pxref{Aufruf von guix pull}). Failing to do that you would see an older version of Guix once +@command{reconfigure} has completed. +@end quotation + +@item switch-generation +@cindex Generationen +Switch to an existing system generation. This action atomically switches +the system profile to the specified system generation. It also rearranges +the system's existing bootloader menu entries. It makes the menu entry for +the specified system generation the default, and it moves the entries for +the other generatiors to a submenu, if supported by the bootloader being +used. The next time the system boots, it will use the specified system +generation. + +The bootloader itself is not being reinstalled when using this command. +Thus, the installed bootloader is used with an updated configuration file. + +The target generation can be specified explicitly by its generation number. +For example, the following invocation would switch to system generation 7: + +@example +guix system switch-generation 7 +@end example + +The target generation can also be specified relative to the current +generation with the form @code{+N} or @code{-N}, where @code{+3} means ``3 +generations ahead of the current generation,'' and @code{-1} means ``1 +generation prior to the current generation.'' When specifying a negative +value such as @code{-1}, you must precede it with @code{--} to prevent it +from being parsed as an option. For example: + +@example +guix system switch-generation -- -1 +@end example + +Currently, the effect of invoking this action is @emph{only} to switch the +system profile to an existing generation and rearrange the bootloader menu +entries. To actually start using the target system generation, you must +reboot after running this action. In the future, it will be updated to do +the same things as @command{reconfigure}, like activating and deactivating +services. + +This action will fail if the specified generation does not exist. + +@item roll-back +@cindex rücksetzen +Switch to the preceding system generation. The next time the system boots, +it will use the preceding system generation. This is the inverse of +@command{reconfigure}, and it is exactly the same as invoking +@command{switch-generation} with an argument of @code{-1}. + +Currently, as with @command{switch-generation}, you must reboot after +running this action to actually start using the preceding system generation. + +@item build +Build the derivation of the operating system, which includes all the +configuration files and programs needed to boot and run the system. This +action does not actually install anything. + +@item init +Populate the given directory with all the files necessary to run the +operating system specified in @var{file}. This is useful for first-time +installations of GuixSD. For instance: + +@example +guix system init my-os-config.scm /mnt +@end example + +copies to @file{/mnt} all the store items required by the configuration +specified in @file{my-os-config.scm}. This includes configuration files, +packages, and so on. It also creates other essential files needed for the +system to operate correctly---e.g., the @file{/etc}, @file{/var}, and +@file{/run} directories, and the @file{/bin/sh} file. + +This command also installs bootloader on the target specified in +@file{my-os-config}, unless the @option{--no-bootloader} option was passed. + +@item vm +@cindex virtual machine +@cindex VM +@anchor{guix system vm} +Build a virtual machine that contains the operating system declared in +@var{file}, and return a script to run that virtual machine (VM). Arguments +given to the script are passed to QEMU as in the example below, which +enables networking and requests 1@tie{}GiB of RAM for the emulated machine: + +@example +$ /gnu/store/@dots{}-run-vm.sh -m 1024 -net user +@end example + +The VM shares its store with the host system. + +Additional file systems can be shared between the host and the VM using the +@code{--share} and @code{--expose} command-line options: the former +specifies a directory to be shared with write access, while the latter +provides read-only access to the shared directory. + +The example below creates a VM in which the user's home directory is +accessible read-only, and where the @file{/exchange} directory is a +read-write mapping of @file{$HOME/tmp} on the host: + +@example +guix system vm my-config.scm \ + --expose=$HOME --share=$HOME/tmp=/exchange +@end example + +On GNU/Linux, the default is to boot directly to the kernel; this has the +advantage of requiring only a very tiny root disk image since the store of +the host can then be mounted. + +The @code{--full-boot} option forces a complete boot sequence, starting with +the bootloader. This requires more disk space since a root image containing +at least the kernel, initrd, and bootloader data files must be created. The +@code{--image-size} option can be used to specify the size of the image. + +@cindex System images, creation in various formats +@cindex Creating system images in various formats +@item vm-image +@itemx disk-image +@itemx docker-image +Return a virtual machine, disk image, or Docker image of the operating +system declared in @var{file} that stands alone. By default, @command{guix +system} estimates the size of the image needed to store the system, but you +can use the @option{--image-size} option to specify a value. Docker images +are built to contain exactly what they need, so the @option{--image-size} +option is ignored in the case of @code{docker-image}. + +You can specify the root file system type by using the +@option{--file-system-type} option. It defaults to @code{ext4}. + +When using @code{vm-image}, the returned image is in qcow2 format, which the +QEMU emulator can efficiently use. @xref{GuixSD in einer VM starten}, for more +information on how to run the image in a virtual machine. + +When using @code{disk-image}, a raw disk image is produced; it can be copied +as is to a USB stick, for instance. Assuming @code{/dev/sdc} is the device +corresponding to a USB stick, one can copy the image to it using the +following command: + +@example +# dd if=$(guix system disk-image my-os.scm) of=/dev/sdc +@end example + +When using @code{docker-image}, a Docker image is produced. Guix builds the +image from scratch, not from a pre-existing Docker base image. As a result, +it contains @emph{exactly} what you define in the operating system +configuration file. You can then load the image and launch a Docker +container using commands like the following: + +@example +image_id="$(docker load < guixsd-docker-image.tar.gz)" +docker run -e GUIX_NEW_SYSTEM=/var/guix/profiles/system \\ + --entrypoint /var/guix/profiles/system/profile/bin/guile \\ + $image_id /var/guix/profiles/system/boot +@end example + +This command starts a new Docker container from the specified image. It +will boot the GuixSD system in the usual manner, which means it will start +any services you have defined in the operating system configuration. +Depending on what you run in the Docker container, it may be necessary to +give the container additional permissions. For example, if you intend to +build software using Guix inside of the Docker container, you may need to +pass the @option{--privileged} option to @code{docker run}. + +@item container +Return a script to run the operating system declared in @var{file} within a +container. Containers are a set of lightweight isolation mechanisms +provided by the kernel Linux-libre. Containers are substantially less +resource-demanding than full virtual machines since the kernel, shared +objects, and other resources can be shared with the host system; this also +means they provide thinner isolation. + +Currently, the script must be run as root in order to support more than a +single user and group. The container shares its store with the host system. + +As with the @code{vm} action (@pxref{guix system vm}), additional file +systems to be shared between the host and container can be specified using +the @option{--share} and @option{--expose} options: + +@example +guix system container my-config.scm \ + --expose=$HOME --share=$HOME/tmp=/exchange +@end example + +@quotation Anmerkung +This option requires Linux-libre 3.19 or newer. +@end quotation + +@end table + +@var{options} can contain any of the common build options (@pxref{Gemeinsame Erstellungsoptionen}). In addition, @var{options} can contain one of the +following: + +@table @option +@item --expression=@var{expr} +@itemx -e @var{expr} +Consider the operating-system @var{expr} evaluates to. This is an +alternative to specifying a file which evaluates to an operating system. +This is used to generate the GuixSD installer @pxref{Ein Abbild zur Installation erstellen}). + +@item --system=@var{System} +@itemx -s @var{system} +Attempt to build for @var{system} instead of the host system type. This +works as per @command{guix build} (@pxref{Aufruf von guix build}). + +@item --derivation +@itemx -d +Return the derivation file name of the given operating system without +building anything. + +@item --file-system-type=@var{type} +@itemx -t @var{type} +For the @code{disk-image} action, create a file system of the given +@var{type} on the image. + +When this option is omitted, @command{guix system} uses @code{ext4}. + +@cindex ISO-9660 format +@cindex CD image format +@cindex DVD image format +@code{--file-system-type=iso9660} produces an ISO-9660 image, suitable for +burning on CDs and DVDs. + +@item --image-size=@var{size} +For the @code{vm-image} and @code{disk-image} actions, create an image of +the given @var{size}. @var{size} may be a number of bytes, or it may +include a unit as a suffix (@pxref{Block size, size specifications,, +coreutils, GNU Coreutils}). + +When this option is omitted, @command{guix system} computes an estimate of +the image size as a function of the size of the system declared in +@var{file}. + +@item --root=@var{file} +@itemx -r @var{file} +Make @var{file} a symlink to the result, and register it as a garbage +collector root. + +@item --skip-checks +Skip pre-installation safety checks. + +By default, @command{guix system init} and @command{guix system reconfigure} +perform safety checks: they make sure the file systems that appear in the +@code{operating-system} declaration actually exist (@pxref{Dateisysteme}), +and that any Linux kernel modules that may be needed at boot time are listed +in @code{initrd-modules} (@pxref{Initiale RAM-Disk}). Passing this option +skips these tests altogether. + +@item --on-error=@var{strategy} +Apply @var{strategy} when an error occurs when reading @var{file}. +@var{strategy} may be one of the following: + +@table @code +@item nothing-special +Report the error concisely and exit. This is the default strategy. + +@item backtrace +Likewise, but also display a backtrace. + +@item debug +Report the error and enter Guile's debugger. From there, you can run +commands such as @code{,bt} to get a backtrace, @code{,locals} to display +local variable values, and more generally inspect the state of the program. +@xref{Debug Commands,,, guile, GNU Guile Reference Manual}, for a list of +available debugging commands. +@end table +@end table + +@quotation Anmerkung +All the actions above, except @code{build} and @code{init}, can use KVM +support in the Linux-libre kernel. Specifically, if the machine has +hardware virtualization support, the corresponding KVM kernel module should +be loaded, and the @file{/dev/kvm} device node must exist and be readable +and writable by the user and by the build users of the daemon (@pxref{Einrichten der Erstellungsumgebung}). +@end quotation + +Once you have built, configured, re-configured, and re-re-configured your +GuixSD installation, you may find it useful to list the operating system +generations available on disk---and that you can choose from the bootloader +boot menu: + +@table @code + +@item list-generations +List a summary of each generation of the operating system available on disk, +in a human-readable way. This is similar to the @option{--list-generations} +option of @command{guix package} (@pxref{Aufruf von guix package}). + +Optionally, one can specify a pattern, with the same syntax that is used in +@command{guix package --list-generations}, to restrict the list of +generations displayed. For instance, the following command displays +generations that are up to 10 days old: + +@example +$ guix system list-generations 10d +@end example + +@end table + +The @command{guix system} command has even more to offer! The following +sub-commands allow you to visualize how your system services relate to each +other: + +@anchor{system-extension-graph} +@table @code + +@item extension-graph +Emit in Dot/Graphviz format to standard output the @dfn{service extension +graph} of the operating system defined in @var{file} (@pxref{Dienstkompositionen}, for more information on service extensions.) + +The command: + +@example +$ guix system extension-graph @var{file} | dot -Tpdf > services.pdf +@end example + +produces a PDF file showing the extension relations among services. + +@anchor{system-shepherd-graph} +@item shepherd-graph +Emit in Dot/Graphviz format to standard output the @dfn{dependency graph} of +shepherd services of the operating system defined in @var{file}. +@xref{Shepherd-Dienste}, for more information and for an example graph. + +@end table + +@node GuixSD in einer VM starten +@subsection Running GuixSD in a Virtual Machine + +@cindex virtual machine +To run GuixSD in a virtual machine (VM), one can either use the pre-built +GuixSD VM image distributed at +@indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-vm-image-@value{VERSION}.@var{system}.xz} +, or build their own virtual machine image using @command{guix system +vm-image} (@pxref{Aufruf von guix system}). The returned image is in qcow2 +format, which the @uref{http://qemu.org/, QEMU emulator} can efficiently +use. + +@cindex QEMU +If you built your own image, you must copy it out of the store (@pxref{Der Store}) and give yourself permission to write to the copy before you can use +it. When invoking QEMU, you must choose a system emulator that is suitable +for your hardware platform. Here is a minimal QEMU invocation that will +boot the result of @command{guix system vm-image} on x86_64 hardware: + +@example +$ qemu-system-x86_64 \ + -net user -net nic,model=virtio \ + -enable-kvm -m 256 /tmp/qemu-image +@end example + +Here is what each of these options means: + +@table @code +@item qemu-system-x86_64 +This specifies the hardware platform to emulate. This should match the +host. + +@item -net user +Enable the unprivileged user-mode network stack. The guest OS can access +the host but not vice versa. This is the simplest way to get the guest OS +online. + +@item -net nic,model=virtio +You must create a network interface of a given model. If you do not create +a NIC, the boot will fail. Assuming your hardware platform is x86_64, you +can get a list of available NIC models by running +@command{qemu-system-x86_64 -net nic,model=help}. + +@item -enable-kvm +If your system has hardware virtualization extensions, enabling the virtual +machine support (KVM) of the Linux kernel will make things run faster. + +@item -m 256 +RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, +which may be insufficient for some operations. + +@item /tmp/qemu-image +The file name of the qcow2 image. +@end table + +The default @command{run-vm.sh} script that is returned by an invocation of +@command{guix system vm} does not add a @command{-net user} flag by +default. To get network access from within the vm add the +@code{(dhcp-client-service)} to your system definition and start the VM +using @command{`guix system vm config.scm` -net user}. An important caveat +of using @command{-net user} for networking is that @command{ping} will not +work, because it uses the ICMP protocol. You'll have to use a different +command to check for network connectivity, for example @command{guix +download}. + +@subsubsection Connecting Through SSH + +@cindex SSH +@cindex SSH server +To enable SSH inside a VM you need to add a SSH server like +@code{(dropbear-service)} or @code{(lsh-service)} to your VM. The +@code{(lsh-service}) doesn't currently boot unsupervised. It requires you +to type some characters to initialize the randomness generator. In addition +you need to forward the SSH port, 22 by default, to the host. You can do +this with + +@example +`guix system vm config.scm` -net user,hostfwd=tcp::10022-:22 +@end example + +To connect to the VM you can run + +@example +ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 +@end example + +The @command{-p} tells @command{ssh} the port you want to connect to. +@command{-o UserKnownHostsFile=/dev/null} prevents @command{ssh} from +complaining every time you modify your @command{config.scm} file and the +@command{-o StrictHostKeyChecking=no} prevents you from having to allow a +connection to an unknown host every time you connect. + +@subsubsection Using @command{virt-viewer} with Spice + +As an alternative to the default @command{qemu} graphical client you can use +the @command{remote-viewer} from the @command{virt-viewer} package. To +connect pass the @command{-spice port=5930,disable-ticketing} flag to +@command{qemu}. See previous section for further information on how to do +this. + +Spice also allows you to do some nice stuff like share your clipboard with +your VM. To enable that you'll also have to pass the following flags to +@command{qemu}: + +@example +-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 +-chardev spicevmc,name=vdagent,id=vdagent +-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent, +name=com.redhat.spice.0 +@end example + +You'll also need to add the @pxref{Verschiedene Dienste, Spice service}. + +@node Dienste definieren +@subsection Dienste definieren + +The previous sections show the available services and how one can combine +them in an @code{operating-system} declaration. But how do we define them +in the first place? And what is a service anyway? + +@menu +* Dienstkompositionen:: Wie Dienste zusammengestellt werden. +* Diensttypen und Dienste:: Typen und Dienste. +* Service-Referenz:: Referenz zur Programmierschnittstelle. +* Shepherd-Dienste:: Eine spezielle Art von Dienst. +@end menu + +@node Dienstkompositionen +@subsubsection Dienstkompositionen + +@cindex services +@cindex daemons +Here we define a @dfn{service} as, broadly, something that extends the +functionality of the operating system. Often a service is a process---a +@dfn{daemon}---started when the system boots: a secure shell server, a Web +server, the Guix build daemon, etc. Sometimes a service is a daemon whose +execution can be triggered by another daemon---e.g., an FTP server started +by @command{inetd} or a D-Bus service activated by @command{dbus-daemon}. +Occasionally, a service does not map to a daemon. For instance, the +``account'' service collects user accounts and makes sure they exist when +the system runs; the ``udev'' service collects device management rules and +makes them available to the eudev daemon; the @file{/etc} service populates +the @file{/etc} directory of the system. + +@cindex service extensions +GuixSD services are connected by @dfn{extensions}. For instance, the secure +shell service @emph{extends} the Shepherd---the GuixSD initialization +system, running as PID@tie{}1---by giving it the command lines to start and +stop the secure shell daemon (@pxref{Netzwerkdienste, +@code{lsh-service}}); the UPower service extends the D-Bus service by +passing it its @file{.service} specification, and extends the udev service +by passing it device management rules (@pxref{Desktop-Dienste, +@code{upower-service}}); the Guix daemon service extends the Shepherd by +passing it the command lines to start and stop the daemon, and extends the +account service by passing it a list of required build user accounts +(@pxref{Basisdienste}). + +All in all, services and their ``extends'' relations form a directed acyclic +graph (DAG). If we represent services as boxes and extensions as arrows, a +typical system might provide something like this: + +@image{images/service-graph,,5in,Typical service extension graph.} + +@cindex system service +At the bottom, we see the @dfn{system service}, which produces the directory +containing everything to run and boot the system, as returned by the +@command{guix system build} command. @xref{Service-Referenz}, to learn +about the other service types shown here. @xref{system-extension-graph, the +@command{guix system extension-graph} command}, for information on how to +generate this representation for a particular operating system definition. + +@cindex service types +Technically, developers can define @dfn{service types} to express these +relations. There can be any number of services of a given type on the +system---for instance, a system running two instances of the GNU secure +shell server (lsh) has two instances of @var{lsh-service-type}, with +different parameters. + +The following section describes the programming interface for service types +and services. + +@node Diensttypen und Dienste +@subsubsection Diensttypen und Dienste + +A @dfn{service type} is a node in the DAG described above. Let us start +with a simple example, the service type for the Guix build daemon +(@pxref{Aufruf des guix-daemon}): + +@example +(define guix-service-type + (service-type + (name 'guix) + (extensions + (list (service-extension shepherd-root-service-type guix-shepherd-service) + (service-extension account-service-type guix-accounts) + (service-extension activation-service-type guix-activation))) + (default-value (guix-configuration)))) +@end example + +@noindent +It defines three things: + +@enumerate +@item +A name, whose sole purpose is to make inspection and debugging easier. + +@item +A list of @dfn{service extensions}, where each extension designates the +target service type and a procedure that, given the parameters of the +service, returns a list of objects to extend the service of that type. + +Every service type has at least one service extension. The only exception +is the @dfn{boot service type}, which is the ultimate service. + +@item +Optionally, a default value for instances of this type. +@end enumerate + +In this example, @var{guix-service-type} extends three services: + +@table @var +@item shepherd-root-service-type +The @var{guix-shepherd-service} procedure defines how the Shepherd service +is extended. Namely, it returns a @code{} object that +defines how @command{guix-daemon} is started and stopped (@pxref{Shepherd-Dienste}). + +@item account-service-type +This extension for this service is computed by @var{guix-accounts}, which +returns a list of @code{user-group} and @code{user-account} objects +representing the build user accounts (@pxref{Aufruf des guix-daemon}). + +@item activation-service-type +Here @var{guix-activation} is a procedure that returns a gexp, which is a +code snippet to run at ``activation time''---e.g., when the service is +booted. +@end table + +A service of this type is instantiated like this: + +@example +(service guix-service-type + (guix-configuration + (build-accounts 5) + (use-substitutes? #f))) +@end example + +The second argument to the @code{service} form is a value representing the +parameters of this specific service instance. +@xref{guix-configuration-type, @code{guix-configuration}}, for information +about the @code{guix-configuration} data type. When the value is omitted, +the default value specified by @code{guix-service-type} is used: + +@example +(service guix-service-type) +@end example + +@var{guix-service-type} is quite simple because it extends other services +but is not extensible itself. + +@c @subsubsubsection Extensible Service Types + +The service type for an @emph{extensible} service looks like this: + +@example +(define udev-service-type + (service-type (name 'udev) + (extensions + (list (service-extension shepherd-root-service-type + udev-shepherd-service))) + + (compose concatenate) ;concatenate the list of rules + (extend (lambda (config rules) + (match config + (($ udev initial-rules) + (udev-configuration + (udev udev) ;the udev package to use + (rules (append initial-rules rules))))))))) +@end example + +This is the service type for the +@uref{https://wiki.gentoo.org/wiki/Project:Eudev, eudev device management +daemon}. Compared to the previous example, in addition to an extension of +@var{shepherd-root-service-type}, we see two new fields: + +@table @code +@item compose +This is the procedure to @dfn{compose} the list of extensions to services of +this type. + +Services can extend the udev service by passing it lists of rules; we +compose those extensions simply by concatenating them. + +@item extend +This procedure defines how the value of the service is @dfn{extended} with +the composition of the extensions. + +Udev extensions are composed into a list of rules, but the udev service +value is itself a @code{} record. So here, we extend +that record by appending the list of rules it contains to the list of +contributed rules. + +@item description +This is a string giving an overview of the service type. The string can +contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). The +@command{guix system search} command searches these strings and displays +them (@pxref{Aufruf von guix system}). +@end table + +There can be only one instance of an extensible service type such as +@var{udev-service-type}. If there were more, the @code{service-extension} +specifications would be ambiguous. + +Still here? The next section provides a reference of the programming +interface for services. + +@node Service-Referenz +@subsubsection Service-Referenz + +We have seen an overview of service types (@pxref{Diensttypen und Dienste}). This section provides a reference on how to manipulate services +and service types. This interface is provided by the @code{(gnu services)} +module. + +@deffn {Scheme Procedure} service @var{type} [@var{value}] +Return a new service of @var{type}, a @code{} object (see +below.) @var{value} can be any object; it represents the parameters of this +particular service instance. + +When @var{value} is omitted, the default value specified by @var{type} is +used; if @var{type} does not specify a default value, an error is raised. + +For instance, this: + +@example +(service openssh-service-type) +@end example + +@noindent +is equivalent to this: + +@example +(service openssh-service-type + (openssh-configuration)) +@end example + +In both cases the result is an instance of @code{openssh-service-type} with +the default configuration. +@end deffn + +@deffn {Scheme Procedure} service? @var{obj} +Return true if @var{obj} is a service. +@end deffn + +@deffn {Scheme Procedure} service-kind @var{service} +Return the type of @var{service}---i.e., a @code{} object. +@end deffn + +@deffn {Scheme Procedure} service-value @var{service} +Return the value associated with @var{service}. It represents its +parameters. +@end deffn + +Here is an example of how a service is created and manipulated: + +@example +(define s + (service nginx-service-type + (nginx-configuration + (nginx nginx) + (log-directory log-directory) + (run-directory run-directory) + (file config-file)))) + +(service? s) +@result{} #t + +(eq? (service-kind s) nginx-service-type) +@result{} #t +@end example + +The @code{modify-services} form provides a handy way to change the +parameters of some of the services of a list such as @var{%base-services} +(@pxref{Basisdienste, @code{%base-services}}). It evaluates to a list of +services. Of course, you could always use standard list combinators such as +@code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,, guile, +GNU Guile Reference Manual}); @code{modify-services} simply provides a more +concise form for this common pattern. + +@deffn {Scheme Syntax} modify-services @var{services} @ + (@var{type} @var{variable} => @var{body}) @dots{} + +Modify the services listed in @var{services} according to the given +clauses. Each clause has the form: + +@example +(@var{type} @var{variable} => @var{body}) +@end example + +where @var{type} is a service type---e.g., @code{guix-service-type}---and +@var{variable} is an identifier that is bound within the @var{body} to the +service parameters---e.g., a @code{guix-configuration} instance---of the +original service of that @var{type}. + +The @var{body} should evaluate to the new service parameters, which will be +used to configure the new service. This new service will replace the +original in the resulting list. Because a service's service parameters are +created using @code{define-record-type*}, you can write a succinct +@var{body} that evaluates to the new service parameters by using the +@code{inherit} feature that @code{define-record-type*} provides. + +@xref{Das Konfigurationssystem nutzen}, for example usage. + +@end deffn + +Next comes the programming interface for service types. This is something +you want to know when writing new service definitions, but not necessarily +when simply looking for ways to customize your @code{operating-system} +declaration. + +@deftp {Data Type} service-type +@cindex service type +This is the representation of a @dfn{service type} (@pxref{Diensttypen und Dienste}). + +@table @asis +@item @code{name} +This is a symbol, used only to simplify inspection and debugging. + +@item @code{extensions} +A non-empty list of @code{} objects (see below). + +@item @code{compose} (default: @code{#f}) +If this is @code{#f}, then the service type denotes services that cannot be +extended---i.e., services that do not receive ``values'' from other +services. + +Otherwise, it must be a one-argument procedure. The procedure is called by +@code{fold-services} and is passed a list of values collected from +extensions. It may return any single value. + +@item @code{extend} (default: @code{#f}) +If this is @code{#f}, services of this type cannot be extended. + +Otherwise, it must be a two-argument procedure: @code{fold-services} calls +it, passing it the initial value of the service as the first argument and +the result of applying @code{compose} to the extension values as the second +argument. It must return a value that is a valid parameter value for the +service instance. +@end table + +@xref{Diensttypen und Dienste}, for examples. +@end deftp + +@deffn {Scheme Procedure} service-extension @var{target-type} @ + @var{compute} Return a new extension for services of type +@var{target-type}. @var{compute} must be a one-argument procedure: +@code{fold-services} calls it, passing it the value associated with the +service that provides the extension; it must return a valid value for the +target service. +@end deffn + +@deffn {Scheme Procedure} service-extension? @var{obj} +Return true if @var{obj} is a service extension. +@end deffn + +Occasionally, you might want to simply extend an existing service. This +involves creating a new service type and specifying the extension of +interest, which can be verbose; the @code{simple-service} procedure provides +a shorthand for this. + +@deffn {Scheme Procedure} simple-service @var{name} @var{target} @var{value} +Return a service that extends @var{target} with @var{value}. This works by +creating a singleton service type @var{name}, of which the returned service +is an instance. + +For example, this extends mcron (@pxref{Geplante Auftragsausführung}) with an +additional job: + +@example +(simple-service 'my-mcron-job mcron-service-type + #~(job '(next-hour (3)) "guix gc -F 2G")) +@end example +@end deffn + +At the core of the service abstraction lies the @code{fold-services} +procedure, which is responsible for ``compiling'' a list of services down to +a single directory that contains everything needed to boot and run the +system---the directory shown by the @command{guix system build} command +(@pxref{Aufruf von guix system}). In essence, it propagates service +extensions down the service graph, updating each node parameters on the way, +until it reaches the root node. + +@deffn {Scheme Procedure} fold-services @var{services} @ + [#:target-type @var{system-service-type}] Fold @var{services} by propagating +their extensions down to the root of type @var{target-type}; return the root +service adjusted accordingly. +@end deffn + +Lastly, the @code{(gnu services)} module also defines several essential +service types, some of which are listed below. + +@defvr {Scheme Variable} system-service-type +This is the root of the service graph. It produces the system directory as +returned by the @command{guix system build} command. +@end defvr + +@defvr {Scheme Variable} boot-service-type +The type of the ``boot service'', which produces the @dfn{boot script}. The +boot script is what the initial RAM disk runs when booting. +@end defvr + +@defvr {Scheme Variable} etc-service-type +The type of the @file{/etc} service. This service is used to create files +under @file{/etc} and can be extended by passing it name/file tuples such +as: + +@example +(list `("issue" ,(plain-file "issue" "Welcome!\n"))) +@end example + +In this example, the effect would be to add an @file{/etc/issue} file +pointing to the given file. +@end defvr + +@defvr {Scheme Variable} setuid-program-service-type +Type for the ``setuid-program service''. This service collects lists of +executable file names, passed as gexps, and adds them to the set of +setuid-root programs on the system (@pxref{Setuid-Programme}). +@end defvr + +@defvr {Scheme Variable} profile-service-type +Type of the service that populates the @dfn{system profile}---i.e., the +programs under @file{/run/current-system/profile}. Other services can +extend it by passing it lists of packages to add to the system profile. +@end defvr + + +@node Shepherd-Dienste +@subsubsection Shepherd-Dienste + +@cindex shepherd services +@cindex PID 1 +@cindex init system +The @code{(gnu services shepherd)} module provides a way to define services +managed by the GNU@tie{}Shepherd, which is the GuixSD initialization +system---the first process that is started when the system boots, also known +as PID@tie{}1 (@pxref{Einführung,,, shepherd, The GNU Shepherd Manual}). + +Services in the Shepherd can depend on each other. For instance, the SSH +daemon may need to be started after the syslog daemon has been started, +which in turn can only happen once all the file systems have been mounted. +The simple operating system defined earlier (@pxref{Das Konfigurationssystem nutzen}) results in a service graph like this: + +@image{images/shepherd-graph,,5in,Typical shepherd service graph.} + +You can actually generate such a graph for any operating system definition +using the @command{guix system shepherd-graph} command +(@pxref{system-shepherd-graph, @command{guix system shepherd-graph}}). + +The @var{%shepherd-root-service} is a service object representing +PID@tie{}1, of type @var{shepherd-root-service-type}; it can be extended by +passing it lists of @code{} objects. + +@deftp {Data Type} shepherd-service +The data type representing a service managed by the Shepherd. + +@table @asis +@item @code{provision} +This is a list of symbols denoting what the service provides. + +These are the names that may be passed to @command{herd start}, +@command{herd status}, and similar commands (@pxref{Invoking herd,,, +shepherd, The GNU Shepherd Manual}). @xref{Slots of services, the +@code{provides} slot,, shepherd, The GNU Shepherd Manual}, for details. + +@item @code{requirements} (default: @code{'()}) +List of symbols denoting the Shepherd services this one depends on. + +@item @code{respawn?} (default: @code{#t}) +Whether to restart the service when it stops, for instance when the +underlying process dies. + +@item @code{start} +@itemx @code{stop} (default: @code{#~(const #f)}) +The @code{start} and @code{stop} fields refer to the Shepherd's facilities +to start and stop processes (@pxref{Service De- and Constructors,,, +shepherd, The GNU Shepherd Manual}). They are given as G-expressions that +get expanded in the Shepherd configuration file (@pxref{G-Ausdrücke}). + +@item @code{actions} (default: @code{'()}) +@cindex actions, of Shepherd services +This is a list of @code{shepherd-action} objects (see below) defining +@dfn{actions} supported by the service, in addition to the standard +@code{start} and @code{stop} actions. Actions listed here become available +as @command{herd} sub-commands: + +@example +herd @var{action} @var{service} [@var{arguments}@dots{}] +@end example + +@item @code{Dokumentation} +A documentation string, as shown when running: + +@example +herd doc @var{service-name} +@end example + +where @var{service-name} is one of the symbols in @var{provision} +(@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual}). + +@item @code{modules} (default: @var{%default-modules}) +This is the list of modules that must be in scope when @code{start} and +@code{stop} are evaluated. + +@end table +@end deftp + +@deftp {Data Type} shepherd-action +This is the data type that defines additional actions implemented by a +Shepherd service (see above). + +@table @code +@item name +Symbol naming the action. + +@item Dokumentation +This is a documentation string for the action. It can be viewed by running: + +@example +herd doc @var{service} action @var{action} +@end example + +@item procedure +This should be a gexp that evaluates to a procedure of at least one +argument, which is the ``running value'' of the service (@pxref{Slots of +services,,, shepherd, The GNU Shepherd Manual}). +@end table + +The following example defines an action called @code{say-hello} that kindly +greets the user: + +@example +(shepherd-action + (name 'say-hello) + (documentation "Say hi!") + (procedure #~(lambda (running . args) + (format #t "Hello, friend! arguments: ~s\n" + args) + #t))) +@end example + +Assuming this action is added to the @code{example} service, then you can +do: + +@example +# herd say-hello example +Hello, friend! arguments: () +# herd say-hello example a b c +Hello, friend! arguments: ("a" "b" "c") +@end example + +This, as you can see, is a fairly sophisticated way to say hello. +@xref{Service Convenience,,, shepherd, The GNU Shepherd Manual}, for more +info on actions. +@end deftp + +@defvr {Scheme Variable} shepherd-root-service-type +The service type for the Shepherd ``root service''---i.e., PID@tie{}1. + +This is the service type that extensions target when they want to create +shepherd services (@pxref{Diensttypen und Dienste}, for an example). +Each extension must pass a list of @code{}. +@end defvr + +@defvr {Scheme Variable} %shepherd-root-service +This service represents PID@tie{}1. +@end defvr + + +@node Dokumentation +@section Dokumentation + +@cindex documentation, searching for +@cindex searching for documentation +@cindex Info, documentation format +@cindex man pages +@cindex manual pages +In most cases packages installed with Guix come with documentation. There +are two main documentation formats: ``Info'', a browseable hypertext format +used for GNU software, and ``manual pages'' (or ``man pages''), the linear +documentation format traditionally found on Unix. Info manuals are accessed +with the @command{info} command or with Emacs, and man pages are accessed +using @command{man}. + +You can look for documentation of software installed on your system by +keyword. For example, the following command searches for information about +``TLS'' in Info manuals: + +@example +$ info -k TLS +"(emacs)Network Security" -- STARTTLS +"(emacs)Network Security" -- TLS +"(gnutls)Core TLS API" -- gnutls_certificate_set_verify_flags +"(gnutls)Core TLS API" -- gnutls_certificate_set_verify_function +@dots{} +@end example + +@noindent +The command below searches for the same keyword in man pages: + +@example +$ man -k TLS +SSL (7) - OpenSSL SSL/TLS library +certtool (1) - GnuTLS certificate tool +@dots {} +@end example + +These searches are purely local to your computer so you have the guarantee +that documentation you find corresponds to what you have actually installed, +you can access it off-line, and your privacy is respected. + +Once you have these results, you can view the relevant documentation by +running, say: + +@example +$ info "(gnutls)Core TLS API" +@end example + +@noindent +or: + +@example +$ man certtool +@end example + +Info manuals contain sections and indices as well as hyperlinks like those +found in Web pages. The @command{info} reader (@pxref{Top, Info reader,, +info-stnd, Stand-alone GNU Info}) and its Emacs counterpart (@pxref{Misc +Help,,, emacs, The GNU Emacs Manual}) provide intuitive key bindings to +navigate manuals. @xref{Getting Started,,, info, Info: An Introduction}, +for an introduction to Info navigation. + +@node Dateien zur Fehlersuche installieren +@section Dateien zur Fehlersuche installieren + +@cindex debugging files +Program binaries, as produced by the GCC compilers for instance, are +typically written in the ELF format, with a section containing +@dfn{debugging information}. Debugging information is what allows the +debugger, GDB, to map binary code to source code; it is required to debug a +compiled program in good conditions. + +The problem with debugging information is that is takes up a fair amount of +disk space. For example, debugging information for the GNU C Library weighs +in at more than 60 MiB. Thus, as a user, keeping all the debugging info of +all the installed programs is usually not an option. Yet, space savings +should not come at the cost of an impediment to debugging---especially in +the GNU system, which should make it easier for users to exert their +computing freedom (@pxref{GNU-Distribution}). + +Thankfully, the GNU Binary Utilities (Binutils) and GDB provide a mechanism +that allows users to get the best of both worlds: debugging information can +be stripped from the binaries and stored in separate files. GDB is then +able to load debugging information from those files, when they are available +(@pxref{Separate Debug Files,,, gdb, Debugging with GDB}). + +The GNU distribution takes advantage of this by storing debugging +information in the @code{lib/debug} sub-directory of a separate package +output unimaginatively called @code{debug} (@pxref{Pakete mit mehreren Ausgaben.}). Users can choose to install the @code{debug} output of a package +when they need it. For instance, the following command installs the +debugging information for the GNU C Library and for GNU Guile: + +@example +guix package -i glibc:debug guile:debug +@end example + +GDB must then be told to look for debug files in the user's profile, by +setting the @code{debug-file-directory} variable (consider setting it from +the @file{~/.gdbinit} file, @pxref{Startup,,, gdb, Debugging with GDB}): + +@example +(gdb) set debug-file-directory ~/.guix-profile/lib/debug +@end example + +From there on, GDB will pick up debugging information from the @code{.debug} +files under @file{~/.guix-profile/lib/debug}. + +In addition, you will most likely want GDB to be able to show the source +code being debugged. To do that, you will have to unpack the source code of +the package of interest (obtained with @code{guix build --source}, +@pxref{Aufruf von guix build}), and to point GDB to that source directory +using the @code{directory} command (@pxref{Source Path, @code{directory},, +gdb, Debugging with GDB}). + +@c XXX: keep me up-to-date +The @code{debug} output mechanism in Guix is implemented by the +@code{gnu-build-system} (@pxref{Erstellungssysteme}). Currently, it is +opt-in---debugging information is available only for the packages with +definitions explicitly declaring a @code{debug} output. This may be changed +to opt-out in the future if our build farm servers can handle the load. To +check whether a package has a @code{debug} output, use @command{guix package +--list-available} (@pxref{Aufruf von guix package}). + + +@node Sicherheitsaktualisierungen +@section Sicherheitsaktualisierungen + +@cindex security updates +@cindex security vulnerabilities +Occasionally, important security vulnerabilities are discovered in software +packages and must be patched. Guix developers try hard to keep track of +known vulnerabilities and to apply fixes as soon as possible in the +@code{master} branch of Guix (we do not yet provide a ``stable'' branch +containing only security updates.) The @command{guix lint} tool helps +developers find out about vulnerable versions of software packages in the +distribution: + +@smallexample +$ guix lint -c cve +gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547 +gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276 +gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924 +@dots{} +@end smallexample + +@xref{Aufruf von guix lint}, for more information. + +@quotation Anmerkung +As of version @value{VERSION}, the feature described below is considered +``beta''. +@end quotation + +Guix follows a functional package management discipline +(@pxref{Einführung}), which implies that, when a package is changed, +@emph{every package that depends on it} must be rebuilt. This can +significantly slow down the deployment of fixes in core packages such as +libc or Bash, since basically the whole distribution would need to be +rebuilt. Using pre-built binaries helps (@pxref{Substitute}), but +deployment may still take more time than desired. + +@cindex grafts +To address this, Guix implements @dfn{grafts}, a mechanism that allows for +fast deployment of critical updates without the costs associated with a +whole-distribution rebuild. The idea is to rebuild only the package that +needs to be patched, and then to ``graft'' it onto packages explicitly +installed by the user and that were previously referring to the original +package. The cost of grafting is typically very low, and order of +magnitudes lower than a full rebuild of the dependency chain. + +@cindex replacements of packages, for grafts +For instance, suppose a security update needs to be applied to Bash. Guix +developers will provide a package definition for the ``fixed'' Bash, say +@var{bash-fixed}, in the usual way (@pxref{Pakete definieren}). Then, the +original package definition is augmented with a @code{replacement} field +pointing to the package containing the bug fix: + +@example +(define bash + (package + (name "bash") + ;; @dots{} + (replacement bash-fixed))) +@end example + +From there on, any package depending directly or indirectly on Bash---as +reported by @command{guix gc --requisites} (@pxref{Aufruf von guix gc})---that +is installed is automatically ``rewritten'' to refer to @var{bash-fixed} +instead of @var{bash}. This grafting process takes time proportional to the +size of the package, usually less than a minute for an ``average'' package +on a recent machine. Grafting is recursive: when an indirect dependency +requires grafting, then grafting ``propagates'' up to the package that the +user is installing. + +Currently, the length of the name and version of the graft and that of the +package it replaces (@var{bash-fixed} and @var{bash} in the example above) +must be equal. This restriction mostly comes from the fact that grafting +works by patching files, including binary files, directly. Other +restrictions may apply: for instance, when adding a graft to a package +providing a shared library, the original shared library and its replacement +must have the same @code{SONAME} and be binary-compatible. + +The @option{--no-grafts} command-line option allows you to forcefully avoid +grafting (@pxref{Gemeinsame Erstellungsoptionen, @option{--no-grafts}}). Thus, the +command: + +@example +guix build bash --no-grafts +@end example + +@noindent +returns the store file name of the original Bash, whereas: + +@example +guix build bash +@end example + +@noindent +returns the store file name of the ``fixed'', replacement Bash. This allows +you to distinguish between the two variants of Bash. + +To verify which Bash your whole profile refers to, you can run +(@pxref{Aufruf von guix gc}): + +@example +guix gc -R `readlink -f ~/.guix-profile` | grep bash +@end example + +@noindent +@dots{} and compare the store file names that you get with those above. +Likewise for a complete GuixSD system generation: + +@example +guix gc -R `guix system build my-config.scm` | grep bash +@end example + +Lastly, to check which Bash running processes are using, you can use the +@command{lsof} command: + +@example +lsof | grep /gnu/store/.*bash +@end example + + +@node Paketmodule +@section Paketmodule + +From a programming viewpoint, the package definitions of the GNU +distribution are provided by Guile modules in the @code{(gnu packages +@dots{})} name space@footnote{Note that packages under the @code{(gnu +packages @dots{})} module name space are not necessarily ``GNU packages''. +This module naming scheme follows the usual Guile module naming convention: +@code{gnu} means that these modules are distributed as part of the GNU +system, and @code{packages} identifies modules that define packages.} +(@pxref{Module, Guile modules,, guile, GNU Guile Reference Manual}). For +instance, the @code{(gnu packages emacs)} module exports a variable named +@code{emacs}, which is bound to a @code{} object (@pxref{Pakete definieren}). + +The @code{(gnu packages @dots{})} module name space is automatically scanned +for packages by the command-line tools. For instance, when running +@code{guix package -i emacs}, all the @code{(gnu packages @dots{})} modules +are scanned until one that exports a package object whose name is +@code{emacs} is found. This package search facility is implemented in the +@code{(gnu packages)} module. + +@cindex Anpassung, von Paketen +@cindex package module search path +Users can store package definitions in modules with different names---e.g., +@code{(my-packages emacs)}@footnote{Note that the file name and module name +must match. For instance, the @code{(my-packages emacs)} module must be +stored in a @file{my-packages/emacs.scm} file relative to the load path +specified with @option{--load-path} or @code{GUIX_PACKAGE_PATH}. +@xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for +details.}. There are two ways to make these package definitions visible to +the user interfaces: + +@enumerate +@item +By adding the directory containing your package modules to the search path +with the @code{-L} flag of @command{guix package} and other commands +(@pxref{Gemeinsame Erstellungsoptionen}), or by setting the @code{GUIX_PACKAGE_PATH} +environment variable described below. + +@item +By defining a @dfn{channel} and configuring @command{guix pull} so that it +pulls from it. A channel is essentially a Git repository containing package +modules. @xref{Channels}, for more information on how to define and use +channels. +@end enumerate + +@code{GUIX_PACKAGE_PATH} works similarly to other search path variables: + +@defvr {Environment Variable} GUIX_PACKAGE_PATH +This is a colon-separated list of directories to search for additional +package modules. Directories listed in this variable take precedence over +the own modules of the distribution. +@end defvr + +The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each +package is built based solely on other packages in the distribution. The +root of this dependency graph is a small set of @dfn{bootstrap binaries}, +provided by the @code{(gnu packages bootstrap)} module. For more +information on bootstrapping, @pxref{Bootstrapping}. + +@node Paketrichtlinien +@section Paketrichtlinien + +@cindex packages, creating +The GNU distribution is nascent and may well lack some of your favorite +packages. This section describes how you can help make the distribution +grow. @xref{Mitwirken}, for additional information on how you can help. + +Free software packages are usually distributed in the form of @dfn{source +code tarballs}---typically @file{tar.gz} files that contain all the source +files. Adding a package to the distribution means essentially two things: +adding a @dfn{recipe} that describes how to build the package, including a +list of other packages required to build it, and adding @dfn{package +metadata} along with that recipe, such as a description and licensing +information. + +In Guix all this information is embodied in @dfn{package definitions}. +Package definitions provide a high-level view of the package. They are +written using the syntax of the Scheme programming language; in fact, for +each package we define a variable bound to the package definition, and +export that variable from a module (@pxref{Paketmodule}). However, +in-depth Scheme knowledge is @emph{not} a prerequisite for creating +packages. For more information on package definitions, @pxref{Pakete definieren}. + +Once a package definition is in place, stored in a file in the Guix source +tree, it can be tested using the @command{guix build} command +(@pxref{Aufruf von guix build}). For example, assuming the new package is +called @code{gnew}, you may run this command from the Guix build tree +(@pxref{Guix vor der Installation ausführen}): + +@example +./pre-inst-env guix build gnew --keep-failed +@end example + +Using @code{--keep-failed} makes it easier to debug build failures since it +provides access to the failed build tree. Another useful command-line +option when debugging is @code{--log-file}, to access the build log. + +If the package is unknown to the @command{guix} command, it may be that the +source file contains a syntax error, or lacks a @code{define-public} clause +to export the package variable. To figure it out, you may load the module +from Guile to get more information about the actual error: + +@example +./pre-inst-env guile -c '(use-modules (gnu packages gnew))' +@end example + +Once your package builds correctly, please send us a patch +(@pxref{Mitwirken}). Well, if you need help, we will be happy to help +you too. Once the patch is committed in the Guix repository, the new +package automatically gets built on the supported platforms by +@url{http://hydra.gnu.org/jobset/gnu/master, our continuous integration +system}. + +@cindex substituter +Users can obtain the new package definition simply by running @command{guix +pull} (@pxref{Aufruf von guix pull}). When @code{hydra.gnu.org} is done +building the package, installing the package automatically downloads +binaries from there (@pxref{Substitute}). The only place where human +intervention is needed is to review and apply the patch. + + +@menu +* Software-Freiheit:: Was in die Distribution aufgenommen werden + darf. +* Paketbenennung:: Was macht einen Namen aus? +* Versionsnummern:: Wenn der Name noch nicht genug ist. +* Zusammenfassungen und Beschreibungen:: Den Nutzern helfen, das richtige + Paket zu finden. +* Python-Module:: Ein Touch britischer Comedy. +* Perl-Module:: Kleine Perlen. +* Java-Pakete:: Kaffeepause. +* Schriftarten:: Schriften verschriftlicht. +@end menu + +@node Software-Freiheit +@subsection Software-Freiheit + +@c Adapted from http://www.gnu.org/philosophy/philosophy.html. +@cindex free software +The GNU operating system has been developed so that users can have freedom +in their computing. GNU is @dfn{free software}, meaning that users have the +@url{http://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to +run the program, to study and change the program in source code form, to +redistribute exact copies, and to distribute modified versions. Packages +found in the GNU distribution provide only software that conveys these four +freedoms. + +In addition, the GNU distribution follow the +@url{http://www.gnu.org/distros/free-system-distribution-guidelines.html,free +software distribution guidelines}. Among other things, these guidelines +reject non-free firmware, recommendations of non-free software, and discuss +ways to deal with trademarks and patents. + +Some otherwise free upstream package sources contain a small and optional +subset that violates the above guidelines, for instance because this subset +is itself non-free code. When that happens, the offending items are removed +with appropriate patches or code snippets in the @code{origin} form of the +package (@pxref{Pakete definieren}). This way, @code{guix build --source} +returns the ``freed'' source rather than the unmodified upstream source. + + +@node Paketbenennung +@subsection Paketbenennung + +@cindex package name +A package has actually two names associated with it: First, there is the +name of the @emph{Scheme variable}, the one following @code{define-public}. +By this name, the package can be made known in the Scheme code, for instance +as input to another package. Second, there is the string in the @code{name} +field of a package definition. This name is used by package management +commands such as @command{guix package} and @command{guix build}. + +Both are usually the same and correspond to the lowercase conversion of the +project name chosen upstream, with underscores replaced with hyphens. For +instance, GNUnet is available as @code{gnunet}, and SDL_net as +@code{sdl-net}. + +We do not add @code{lib} prefixes for library packages, unless these are +already part of the official project name. But @pxref{Python-Module} and +@ref{Perl-Module} for special rules concerning modules for the Python and +Perl languages. + +Font package names are handled differently, @pxref{Schriftarten}. + + +@node Versionsnummern +@subsection Versionsnummern + +@cindex package version +We usually package only the latest version of a given free software +project. But sometimes, for instance for incompatible library versions, two +(or more) versions of the same package are needed. These require different +Scheme variable names. We use the name as defined in @ref{Paketbenennung} +for the most recent version; previous versions use the same name, suffixed +by @code{-} and the smallest prefix of the version number that may +distinguish the two versions. + +The name inside the package definition is the same for all versions of a +package and does not contain any version number. + +For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as +follows: + +@example +(define-public gtk+ + (package + (name "gtk+") + (version "3.9.12") + ...)) +(define-public gtk+-2 + (package + (name "gtk+") + (version "2.24.20") + ...)) +@end example +If we also wanted GTK+ 3.8.2, this would be packaged as +@example +(define-public gtk+-3.8 + (package + (name "gtk+") + (version "3.8.2") + ...)) +@end example + +@c See , +@c for a discussion of what follows. +@cindex version number, for VCS snapshots +Occasionally, we package snapshots of upstream's version control system +(VCS) instead of formal releases. This should remain exceptional, because +it is up to upstream developers to clarify what the stable release is. Yet, +it is sometimes necessary. So, what should we put in the @code{version} +field? + +Clearly, we need to make the commit identifier of the VCS snapshot visible +in the version string, but we also need to make sure that the version string +is monotonically increasing so that @command{guix package --upgrade} can +determine which version is newer. Since commit identifiers, notably with +Git, are not monotonically increasing, we add a revision number that we +increase each time we upgrade to a newer snapshot. The resulting version +string looks like this: + +@example +2.0.11-3.cabba9e + ^ ^ ^ + | | `-- upstream commit ID + | | + | `--- Guix package revision + | +latest upstream version +@end example + +It is a good idea to strip commit identifiers in the @code{version} field +to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics +have a role to play here) as well as problems related to OS limits such as +the maximum shebang length (127 bytes for the Linux kernel.) It is best to +use the full commit identifiers in @code{origin}s, though, to avoid +ambiguities. A typical package definition may look like this: + +@example +(define my-package + (let ((commit "c3f29bc928d5900971f65965feaae59e1272a3f7") + (revision "1")) ;Guix package revision + (package + (version (git-version "0.9" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://example.org/my-package.git") + (commit commit))) + (sha256 (base32 "1mbikn@dots{}")) + (file-name (git-file-name name version)))) + ;; @dots{} + ))) +@end example + +@node Zusammenfassungen und Beschreibungen +@subsection Zusammenfassungen und Beschreibungen + +@cindex package description +@cindex package synopsis +As we have seen before, each package in GNU@tie{}Guix includes a synopsis +and a description (@pxref{Pakete definieren}). Synopses and descriptions +are important: They are what @command{guix package --search} searches, and a +crucial piece of information to help users determine whether a given package +suits their needs. Consequently, packagers should pay attention to what +goes into them. + +Synopses must start with a capital letter and must not end with a period. +They must not start with ``a'' or ``the'', which usually does not bring +anything; for instance, prefer ``File-frobbing tool'' over ``A tool that +frobs files''. The synopsis should say what the package is---e.g., ``Core +GNU utilities (file, text, shell)''---or what it is used for---e.g., the +synopsis for GNU@tie{}grep is ``Print lines matching a pattern''. + +Keep in mind that the synopsis must be meaningful for a very wide audience. +For example, ``Manipulate alignments in the SAM format'' might make sense +for a seasoned bioinformatics researcher, but might be fairly unhelpful or +even misleading to a non-specialized audience. It is a good idea to come up +with a synopsis that gives an idea of the application domain of the +package. In this example, this might give something like ``Manipulate +nucleotide sequence alignments'', which hopefully gives the user a better +idea of whether this is what they are looking for. + +Descriptions should take between five and ten lines. Use full sentences, +and avoid using acronyms without first introducing them. Please avoid +marketing phrases such as ``world-leading'', ``industrial-strength'', and +``next-generation'', and avoid superlatives like ``the most +advanced''---they are not helpful to users looking for a package and may +even sound suspicious. Instead, try to be factual, mentioning use cases and +features. + +@cindex Texinfo markup, in package descriptions +Descriptions can include Texinfo markup, which is useful to introduce +ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks +(@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful +when using some characters for example @samp{@@} and curly braces which are +the basic special characters in Texinfo (@pxref{Special Characters,,, +texinfo, GNU Texinfo}). User interfaces such as @command{guix package +--show} take care of rendering it appropriately. + +Synopses and descriptions are translated by volunteers +@uref{http://translationproject.org/domain/guix-packages.html, at the +Translation Project} so that as many users as possible can read them in +their native language. User interfaces search them and display them in the +language specified by the current locale. + +To allow @command{xgettext} to extract them as translatable strings, +synopses and descriptions @emph{must be literal strings}. This means that +you cannot use @code{string-append} or @code{format} to construct these +strings: + +@lisp +(package + ;; @dots{} + (synopsis "This is translatable") + (description (string-append "This is " "*not*" " translatable."))) +@end lisp + +Translation is a lot of work so, as a packager, please pay even more +attention to your synopses and descriptions as every change may entail +additional work for translators. In order to help them, it is possible to +make recommendations or instructions visible to them by inserting special +comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}): + +@example +;; TRANSLATORS: "X11 resize-and-rotate" should not be translated. +(description "ARandR is designed to provide a simple visual front end +for the X11 resize-and-rotate (RandR) extension. @dots{}") +@end example + + +@node Python-Module +@subsection Python-Module + +@cindex python +We currently package Python 2 and Python 3, under the Scheme variable names +@code{python-2} and @code{python} as explained in @ref{Versionsnummern}. To +avoid confusion and naming clashes with other programming languages, it +seems desirable that the name of a package for a Python module contains the +word @code{python}. + +Some modules are compatible with only one version of Python, others with +both. If the package Foo compiles only with Python 3, we name it +@code{python-foo}; if it compiles only with Python 2, we name it +@code{python2-foo}. If it is compatible with both versions, we create two +packages with the corresponding names. + +If a project already contains the word @code{python}, we drop this; for +instance, the module python-dateutil is packaged under the names +@code{python-dateutil} and @code{python2-dateutil}. If the project name +starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as +described above. + +@subsubsection Specifying Dependencies +@cindex inputs, for Python packages + +Dependency information for Python packages is usually available in the +package source tree, with varying degrees of accuracy: in the +@file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}. + +Your mission, when writing a recipe for a Python package, is to map these +dependencies to the appropriate type of ``input'' (@pxref{„package“-Referenz, +inputs}). Although the @code{pypi} importer normally does a good job +(@pxref{Aufruf von guix import}), you may want to check the following check +list to determine which dependency goes where. + +@itemize + +@item +We currently package Python 2 with @code{setuptools} and @code{pip} +installed like Python 3.4 has per default. Thus you don't need to specify +either of these as an input. @command{guix lint} will warn you if you do. + +@item +Python dependencies required at run time go into @code{propagated-inputs}. +They are typically defined with the @code{install_requires} keyword in +@file{setup.py}, or in the @file{requirements.txt} file. + +@item +Python packages required only at build time---e.g., those listed with the +@code{setup_requires} keyword in @file{setup.py}---or only for +testing---e.g., those in @code{tests_require}---go into +@code{native-inputs}. The rationale is that (1) they do not need to be +propagated because they are not needed at run time, and (2) in a +cross-compilation context, it's the ``native'' input that we'd want. + +Examples are the @code{pytest}, @code{mock}, and @code{nose} test +frameworks. Of course if any of these packages is also required at +run-time, it needs to go to @code{propagated-inputs}. + +@item +Anything that does not fall in the previous categories goes to +@code{inputs}, for example programs or C libraries required for building +Python packages containing C extensions. + +@item +If a Python package has optional dependencies (@code{extras_require}), it is +up to you to decide whether to add them or not, based on their +usefulness/overhead ratio (@pxref{Einreichen von Patches, @command{guix size}}). + +@end itemize + + +@node Perl-Module +@subsection Perl-Module + +@cindex perl +Perl programs standing for themselves are named as any other package, using +the lowercase upstream name. For Perl packages containing a single class, +we use the lowercase class name, replace all occurrences of @code{::} by +dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} +becomes @code{perl-xml-parser}. Modules containing several classes keep +their lowercase upstream name and are also prepended by @code{perl-}. Such +modules tend to have the word @code{perl} somewhere in their name, which +gets dropped in favor of the prefix. For instance, @code{libwww-perl} +becomes @code{perl-libwww}. + + +@node Java-Pakete +@subsection Java-Pakete + +@cindex java +Java programs standing for themselves are named as any other package, using +the lowercase upstream name. + +To avoid confusion and naming clashes with other programming languages, it +is desirable that the name of a package for a Java package is prefixed with +@code{java-}. If a project already contains the word @code{java}, we drop +this; for instance, the package @code{ngsjava} is packaged under the name +@code{java-ngs}. + +For Java packages containing a single class or a small class hierarchy, we +use the lowercase class name, replace all occurrences of @code{.} by dashes +and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} +becomes package @code{java-apache-commons-cli}. + + +@node Schriftarten +@subsection Schriftarten + +@cindex Schriftarten +For fonts that are in general not installed by a user for typesetting +purposes, or that are distributed as part of a larger software package, we +rely on the general packaging rules for software; for instance, this applies +to the fonts delivered as part of the X.Org system or fonts that are part of +TeX Live. + +To make it easier for a user to search for fonts, names for other packages +containing only fonts are constructed as follows, independently of the +upstream package name. + +The name of a package containing only one font family starts with +@code{font-}; it is followed by the foundry name and a dash @code{-} if the +foundry is known, and the font family name, in which spaces are replaced by +dashes (and as usual, all upper case letters are transformed to lower +case). For example, the Gentium font family by SIL is packaged under the +name @code{font-sil-gentium}. + +For a package containing several font families, the name of the collection +is used in the place of the font family name. For instance, the Liberation +fonts consist of three families, Liberation Sans, Liberation Serif and +Liberation Mono. These could be packaged separately under the names +@code{font-liberation-sans} and so on; but as they are distributed together +under a common name, we prefer to package them together as +@code{font-liberation}. + +In the case where several formats of the same font family or font collection +are packaged separately, a short form of the format, prepended by a dash, is +added to the package name. We use @code{-ttf} for TrueType fonts, +@code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 +fonts. + + + +@node Bootstrapping +@section Bootstrapping + +@c Adapted from the ELS 2013 paper. + +@cindex bootstrapping + +Bootstrapping in our context refers to how the distribution gets built +``from nothing''. Remember that the build environment of a derivation +contains nothing but its declared inputs (@pxref{Einführung}). So there's +an obvious chicken-and-egg problem: how does the first package get built? +How does the first compiler get compiled? Note that this is a question of +interest only to the curious hacker, not to the regular user, so you can +shamelessly skip this section if you consider yourself a ``regular user''. + +@cindex bootstrap binaries +The GNU system is primarily made of C code, with libc at its core. The GNU +build system itself assumes the availability of a Bourne shell and +command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and +`grep'. Furthermore, build programs---programs that run @code{./configure}, +@code{make}, etc.---are written in Guile Scheme (@pxref{Ableitungen}). +Consequently, to be able to build anything at all, from scratch, Guix relies +on pre-built binaries of Guile, GCC, Binutils, libc, and the other packages +mentioned above---the @dfn{bootstrap binaries}. + +These bootstrap binaries are ``taken for granted'', though we can also +re-create them if needed (more on that later). + +@unnumberedsubsec Preparing to Use the Bootstrap Binaries + +@c As of Emacs 24.3, Info-mode displays the image, but since it's a +@c large image, it's hard to scroll. Oh well. +@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap +derivations} + +The figure above shows the very beginning of the dependency graph of the +distribution, corresponding to the package definitions of the @code{(gnu +packages bootstrap)} module. A similar figure can be generated with +@command{guix graph} (@pxref{Aufruf von guix graph}), along the lines of: + +@example +guix graph -t derivation \ + -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \ + | dot -Tps > t.ps +@end example + +At this level of detail, things are slightly complex. First, Guile itself +consists of an ELF executable, along with many source and compiled Scheme +files that are dynamically loaded when it runs. This gets stored in the +@file{guile-2.0.7.tar.xz} tarball shown in this graph. This tarball is part +of Guix's ``source'' distribution, and gets inserted into the store with +@code{add-to-store} (@pxref{Der Store}). + +But how do we write a derivation that unpacks this tarball and adds it to +the store? To solve this problem, the @code{guile-bootstrap-2.0.drv} +derivation---the first one that gets built---uses @code{bash} as its +builder, which runs @code{build-bootstrap-guile.sh}, which in turn calls +@code{tar} to unpack the tarball. Thus, @file{bash}, @file{tar}, @file{xz}, +and @file{mkdir} are statically-linked binaries, also part of the Guix +source distribution, whose sole purpose is to allow the Guile tarball to be +unpacked. + +Once @code{guile-bootstrap-2.0.drv} is built, we have a functioning Guile +that can be used to run subsequent build programs. Its first task is to +download tarballs containing the other pre-built binaries---this is what the +@code{.tar.xz.drv} derivations do. Guix modules such as +@code{ftp-client.scm} are used for this purpose. The +@code{module-import.drv} derivations import those modules in a directory in +the store, using the original layout. The @code{module-import-compiled.drv} +derivations compile those modules, and write them in an output directory +with the right layout. This corresponds to the @code{#:modules} argument of +@code{build-expression->derivation} (@pxref{Ableitungen}). + +Finally, the various tarballs are unpacked by the derivations +@code{gcc-bootstrap-0.drv}, @code{glibc-bootstrap-0.drv}, etc., at which +point we have a working C tool chain. + + +@unnumberedsubsec Building the Build Tools + +Bootstrapping is complete when we have a full tool chain that does not +depend on the pre-built bootstrap tools discussed above. This no-dependency +requirement is verified by checking whether the files of the final tool +chain contain references to the @file{/gnu/store} directories of the +bootstrap inputs. The process that leads to this ``final'' tool chain is +described by the package definitions found in the @code{(gnu packages +commencement)} module. + +The @command{guix graph} command allows us to ``zoom out'' compared to the +graph above, by looking at the level of package objects instead of +individual derivations---remember that a package may translate to several +derivations, typically one derivation to download its source, one to build +the Guile modules it needs, and one to actually build the package from +source. The command: + +@example +guix graph -t bag \ + -e '(@@@@ (gnu packages commencement) + glibc-final-with-bootstrap-bash)' | dot -Tps > t.ps +@end example + +@noindent +produces the dependency graph leading to the ``final'' C +library@footnote{You may notice the @code{glibc-intermediate} label, +suggesting that it is not @emph{quite} final, but as a good approximation, +we will consider it final.}, depicted below. + +@image{images/bootstrap-packages,6in,,Dependency graph of the early +packages} + +@c See . +The first tool that gets built with the bootstrap binaries is +GNU@tie{}Make---noted @code{make-boot0} above---which is a prerequisite for +all the following packages. From there Findutils and Diffutils get built. + +Then come the first-stage Binutils and GCC, built as pseudo cross +tools---i.e., with @code{--target} equal to @code{--host}. They are used to +build libc. Thanks to this cross-build trick, this libc is guaranteed not +to hold any reference to the initial tool chain. + +From there the final Binutils and GCC (not shown above) are built. GCC uses +@code{ld} from the final Binutils, and links programs against the just-built +libc. This tool chain is used to build the other packages used by Guix and +by the GNU Build System: Guile, Bash, Coreutils, etc. + +And voilà! At this point we have the complete set of build tools that the +GNU Build System expects. These are in the @code{%final-inputs} variable of +the @code{(gnu packages commencement)} module, and are implicitly used by +any package that uses @code{gnu-build-system} (@pxref{Erstellungssysteme, +@code{gnu-build-system}}). + + +@unnumberedsubsec Building the Bootstrap Binaries + +@cindex bootstrap binaries +Because the final tool chain does not depend on the bootstrap binaries, +those rarely need to be updated. Nevertheless, it is useful to have an +automated way to produce them, should an update occur, and this is what the +@code{(gnu packages make-bootstrap)} module provides. + +The following command builds the tarballs containing the bootstrap binaries +(Guile, Binutils, GCC, libc, and a tarball containing a mixture of Coreutils +and other basic command-line tools): + +@example +guix build bootstrap-tarballs +@end example + +The generated tarballs are those that should be referred to in the +@code{(gnu packages bootstrap)} module mentioned at the beginning of this +section. + +Still here? Then perhaps by now you've started to wonder: when do we reach a +fixed point? That is an interesting question! The answer is unknown, but if +you would like to investigate further (and have significant computational +and storage resources to do so), then let us know. + +@unnumberedsubsec Reducing the Set of Bootstrap Binaries + +Our bootstrap binaries currently include GCC, Guile, etc. That's a lot of +binary code! Why is that a problem? It's a problem because these big chunks +of binary code are practically non-auditable, which makes it hard to +establish what source code produced them. Every unauditable binary also +leaves us vulnerable to compiler backdoors as described by Ken Thompson in +the 1984 paper @emph{Reflections on Trusting Trust}. + +This is mitigated by the fact that our bootstrap binaries were generated +from an earlier Guix revision. Nevertheless it lacks the level of +transparency that we get in the rest of the package dependency graph, where +Guix always gives us a source-to-binary mapping. Thus, our goal is to +reduce the set of bootstrap binaries to the bare minimum. + +The @uref{http://bootstrappable.org, Bootstrappable.org web site} lists +on-going projects to do that. One of these is about replacing the bootstrap +GCC with a sequence of assemblers, interpreters, and compilers of increasing +complexity, which could be built from source starting from a simple and +auditable assembler. Your help is welcome! + + +@node Portierung +@section Porting to a New Platform + +As discussed above, the GNU distribution is self-contained, and +self-containment is achieved by relying on pre-built ``bootstrap binaries'' +(@pxref{Bootstrapping}). These binaries are specific to an operating system +kernel, CPU architecture, and application binary interface (ABI). Thus, to +port the distribution to a platform that is not yet supported, one must +build those bootstrap binaries, and update the @code{(gnu packages +bootstrap)} module to use them on that platform. + +Fortunately, Guix can @emph{cross compile} those bootstrap binaries. When +everything goes well, and assuming the GNU tool chain supports the target +platform, this can be as simple as running a command like this one: + +@example +guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs +@end example + +For this to work, the @code{glibc-dynamic-linker} procedure in @code{(gnu +packages bootstrap)} must be augmented to return the right file name for +libc's dynamic linker on that platform; likewise, +@code{system->linux-architecture} in @code{(gnu packages linux)} must be +taught about the new platform. + +Once these are built, the @code{(gnu packages bootstrap)} module needs to be +updated to refer to these binaries on the target platform. That is, the +hashes and URLs of the bootstrap tarballs for the new platform must be added +alongside those of the currently supported platforms. The bootstrap Guile +tarball is treated specially: it is expected to be available locally, and +@file{gnu/local.mk} has rules to download it for the supported +architectures; a rule for the new platform must be added as well. + +In practice, there may be some complications. First, it may be that the +extended GNU triplet that specifies an ABI (like the @code{eabi} suffix +above) is not recognized by all the GNU tools. Typically, glibc recognizes +some of these, whereas GCC uses an extra @code{--with-abi} configure flag +(see @code{gcc.scm} for examples of how to handle this). Second, some of +the required packages could fail to build for that platform. Lastly, the +generated binaries could be broken for some reason. + +@c ********************************************************************* +@include contributing.de.texi + +@c ********************************************************************* +@node Danksagungen +@chapter Danksagungen + +Guix is based on the @uref{http://nixos.org/nix/, Nix package manager}, +which was designed and implemented by Eelco Dolstra, with contributions from +other people (see the @file{nix/AUTHORS} file in Guix.) Nix pioneered +functional package management, and promoted unprecedented features, such as +transactional package upgrades and rollbacks, per-user profiles, and +referentially transparent build processes. Without this work, Guix would +not exist. + +The Nix-based software distributions, Nixpkgs and NixOS, have also been an +inspiration for Guix. + +GNU@tie{}Guix itself is a collective work with contributions from a number +of people. See the @file{AUTHORS} file in Guix for more information on +these fine people. The @file{THANKS} file lists people who have helped by +reporting bugs, taking care of the infrastructure, providing artwork and +themes, making suggestions, and more---thank you! + + +@c ********************************************************************* +@node GNU-Lizenz für freie Dokumentation +@appendix GNU-Lizenz für freie Dokumentation +@cindex license, GNU Free Documentation License +@include fdl-1.3.texi + +@c ********************************************************************* +@node Konzeptverzeichnis +@unnumbered Konzeptverzeichnis +@printindex cp + +@node Programmierverzeichnis +@unnumbered Programmierverzeichnis +@syncodeindex tp fn +@syncodeindex vr fn +@printindex fn + +@bye + +@c Local Variables: +@c ispell-local-dictionary: "american"; +@c End: diff --git a/doc/guix.fr.texi b/doc/guix.fr.texi index b70806eccb..c8a01f18c6 100644 --- a/doc/guix.fr.texi +++ b/doc/guix.fr.texi @@ -18,6 +18,7 @@ @c Identifier of the OpenPGP key used to sign tarballs and such. @set OPENPGP-SIGNING-KEY-ID 3CE464558A84FDC69DB40CFB090B11993D9AEBB5 +@set KEY-SERVER pool.sks-keyservers.net @copying Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic @@ -33,19 +34,21 @@ Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017, 2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, -2018 Clément Lassieur@* Copyright @copyright{} 2017 Mathieu Othacehe@* -Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017 -Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright -@copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher -Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright -@copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim -Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* +2018 Clément Lassieur@* Copyright @copyright{} 2017, 2018 Mathieu Othacehe@* +Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, +2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* +Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 +Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* +Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 +Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright -@copyright{} 2018 Gábor Boskovits@* +@copyright{} 2018 Gábor Boskovits@* Copyright @copyright{} 2018 Florian +Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} +2018 Alex Vong@* Vous avez la permission de copier, distribuer ou modifier ce document sous les termes de la Licence GNU Free Documentation, version 1.3 ou toute @@ -104,11 +107,14 @@ gestion de paquets fonctionnel écrit pour le système GNU@. @c TRANSLATORS: You can replace the following paragraph with information on @c how to join your own translation team and how to report issues with the @c translation. -This manual is also available in French (@pxref{Top,,, guix.fr, Manuel de -référence de GNU Guix}). If you would like to translate it in your native -language, consider joining the -@uref{https://translationproject.org/domain/guix-manual.html, Translation -Project}. +Ce manuel est aussi disponible en anglais (@pxref{Top,,, guix, GNU Guix +Reference Manual}) et en allemand (@pxref{Top,,, guix.de, Referenzhandbuch +zu GNU Guix}). Si vous souhaitez nous aider à traduire ce manuel en +français, vous pouvez nous rejoindre sur le +@uref{https://translationproject.org/domain/guix-manual.html, projet de +traduction} et sur la liste de diffusion +@uref{https://listes.traduc.org/mailman/listinfo/traduc/, +traduc@@traduc.org}. @menu * Introduction:: Qu'est-ce que Guix ? @@ -165,6 +171,10 @@ Gestion de paquets * Invoquer guix gc:: Lancer le ramasse-miettes. * Invoquer guix pull:: Récupérer la dernière version de Guix et de la distribution. +* Canaux:: Personnaliser la collection des paquets. +* Inférieurs:: Interagir avec une autre révision de Guix. +* Invoquer guix describe:: Affiche des informations sur la révision Guix + actuelle. * Invoquer guix pack:: Créer des lots de logiciels. * Invoquer guix archive:: Exporter et importer des fichiers du dépôt. @@ -194,7 +204,7 @@ Interface de programmation * La monad du dépôt:: Interface purement fonctionnelle avec le dépôt. * G-Expressions:: Manipuler les expressions de construction. -* Invoking guix repl:: Fiddling with Guix interactively. +* Invoquer guix repl:: S'amuser avec Guix de manière interactive. Définition des paquets @@ -225,6 +235,7 @@ Utilitaires * Invoquer guix copy:: Copier vers et depuis un dépôt distant. * Invoquer guix container:: Isolation de processus. * Invoquer guix weather:: Mesurer la disponibilité des substituts. +* Invoquer guix processes:: Lister les processus clients. Invoquer @command{guix build} @@ -318,7 +329,8 @@ Services * Services VPN:: Démons VPN * Système de fichiers en réseau:: Services liés à NFS@. * Intégration continue:: Le service Cuirass. -* Power Management Services:: Extending battery life. +* Services de gestion de l'énergie:: Augmenter la durée de vie de la + batterie. * Services audio:: MPD@. * Services de virtualisation:: Services de virtualisation. * Services de contrôle de version:: Fournit des accès distants à des @@ -419,6 +431,7 @@ transactionnelle, reproductible et sans état (@pxref{Configuration système}). @cindex gestion de paquet fonctionnelle +@cindex isolation Sous le capot, Guix implémente la discipline de @dfn{gestion de paquet fonctionnel} inventé par Nix (@pxref{Remerciements}). Dans Guix le processus de construction et d'installation des paquets est vu comme une @@ -455,6 +468,7 @@ de miettes pour les paquets (@pxref{Fonctionnalités}). @chapter Installation @cindex installer Guix +@cindex site officiel GNU Guix est disponible au téléchargement depuis son site web sur @url{http://www.gnu.org/software/guix/}. Cette section décrit les pré-requis logiciels de Guix ainsi que la manière de l'installer et de se @@ -466,7 +480,9 @@ vous souhaitez plutôt installer le système d'exploitation GNU complet, @pxref{Installation du système}. @cindex distro extérieure -Lorsqu'il est installé sur an système GNU/Linux existant — ci-après nommé +@cindex répertoires liés aux distro extérieures + +Lorsqu'il est installé sur un système GNU/Linux existant — ci-après nommé @dfn{distro extérieure} — GNU@tie{}Guix complète les outils disponibles sans interférence. Ses données se trouvent exclusivement dans deux répertoires, typiquement @file{/gnu/store} et @file{/var/guix} ; les autres fichiers de @@ -491,6 +507,7 @@ Une fois installé, Guix peut être mis à jour en lançant @command{guix pull} @section Installation binaire @cindex installer Guix depuis les binaires +@cindex script d'installation Cette section décrit comment intaller Guix sur un système quelconque depuis un archive autonome qui fournit les binaires pour Guix et toutes ses dépendances. C'est souvent plus rapide que d'installer depuis les sources, @@ -508,25 +525,26 @@ L'installation se comme ceci : @enumerate @item @cindex téléchargement du Guix binaire -Download the binary tarball from -@indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz}, -where @var{system} is @code{x86_64-linux} for an @code{x86_64} machine -already running the kernel Linux, and so on. +Téléchargez l'archive binaire depuis +@indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{système}.tar.xz}, +où @var{système} est @code{x86_64-linux} pour une machine @code{x86_64} sur +laquelle tourne déjà le noyau Linux, etc. @c The following is somewhat duplicated in ``System Installation''. Assurez-vous de télécharger le fichier @file{.sig} associé et de vérifier l'authenticité de l'archive avec, comme ceci : @example -$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig -$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig +$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{système}.tar.xz.sig +$ gpg --verify guix-binary-@value{VERSION}.@var{système}.tar.xz.sig @end example Si cette commande échoue parce que vous n'avez pas la clef publique requise, lancez cette commande pour l'importer : @example -$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +$ gpg --keyserver @value{KEY-SERVER} \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} @end example @noindent @@ -562,18 +580,21 @@ contenu de l'archive ne dépende pas de la date de création, ce qui la rend reproductible. @item -Rendez le profil de @code{root} disponible sous @file{~root/.guix-profile} : +Rendez le profil disponible sous @file{~root/.config/guix/current}, qui est +l'emplacement où @command{guix pull} installera les mises à jour +(@pxref{Invoquer guix pull}) : @example -# ln -sf /var/guix/profiles/per-user/root/guix-profile \ - ~root/.guix-profile +# mkdir -p ~root/.config/guix +# ln -sf /var/guix/profiles/per-user/root/current-guix \ + ~root/.config/guix/current @end example Sourcez @file{etc/profile} pour augmenter @code{PATH} et les autres variables d'environnement nécessaires : @example -# GUIX_PROFILE="`echo ~root`/.guix-profile" ; \ +# GUIX_PROFILE="`echo ~root`/.config/guix/current" ; \ source $GUIX_PROFILE/etc/profile @end example @@ -595,8 +616,8 @@ peut se faire avec ces commandes : @c http://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html @example -# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \ - /etc/systemd/system/ +# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ + /etc/systemd/system/ # systemctl start guix-daemon && systemctl enable guix-daemon @end example @@ -604,14 +625,16 @@ Si votre distribution hôte utilise le système d'initialisation Upstart : @example # initctl reload-configuration -# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/ +# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \ + /etc/init/ # start guix-daemon @end example Sinon, vous pouvez toujours démarrer le démon manuellement avec : @example -# ~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild +# ~root/.config/guix/current/bin/guix-daemon \ + --build-users-group=guixbuild @end example @item @@ -621,7 +644,7 @@ sur la machine, par exemple avec : @example # mkdir -p /usr/local/bin # cd /usr/local/bin -# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix +# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix @end example C'est aussi une bonne idée de rendre la version Info de ce manuel disponible @@ -630,7 +653,7 @@ ici : @example # mkdir -p /usr/local/share/info # cd /usr/local/share/info -# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ; +# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ; do ln -s $i ; done @end example @@ -645,7 +668,8 @@ Pour utiliser les substituts de @code{hydra.gnu.org} ou l'un de ses mirroirs (@pxref{Substituts}), autorisez-les : @example -# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub +# guix archive --authorize < \ + ~root/.config/guix/current/share/guix/hydra.gnu.org.pub @end example @item @@ -678,10 +702,11 @@ make guix-binary.@var{system}.tar.xz @end example @noindent -… ce qui à son tour lance : +...@: which, in turn, runs: @example -guix pack -s @var{system} --localstatedir guix +guix pack -s @var{system} --localstatedir \ + --profile-name=current-guix guix @end example @xref{Invoquer guix pack}, pour plus d'info sur cet outil pratique. @@ -699,15 +724,16 @@ GNU Guix dépend des paquets suivants : @itemize @item @url{http://gnu.org/software/guile/, GNU Guile}, version 2.0.13 ou -ultérieure, dont 2.2.x, -@item @url{http://gnupg.org/, GNU libgcrypt}, +supérieure, dont 2.2.x, +@item @url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version +0.1.0 ou supérieure, @item @uref{http://gnutls.org/, GnuTLS}, en particulier ses liaisons Guile (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}), @item -@uref{https://notabug.org/civodul/guile-sqlite3, Guile-SQLite3}, version -0.1.0 or later; +@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, +version 0.1.0 ou supérieure, @item @c FIXME: Specify a version number once a release has been made. @uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, d'août 2017 ou @@ -742,6 +768,7 @@ construction. paquets suivants sont aussi requis : @itemize +@item @url{http://gnupg.org/, GNU libgcrypt}, @item @url{http://sqlite.org, SQLite 3}, @item @url{http://gcc.gnu.org, GCC's g++}, avec le support pour le standard C++11. @@ -1092,8 +1119,9 @@ Il y a un certain nombre de champs facultatifs que vous pouvez remplir : Numéro de port du serveur SSH sur la machine. @item @code{private-key} (par défaut : @file{~root/.ssh/id_rsa}) -The SSH private key file to use when connecting to the machine, in OpenSSH -format. This key must not be protected with a passphrase. +Le fichier de clef privée SSH à utiliser lors de la connexion à la machine, +au format OpenSSH@. Cette clef ne doit pas être protégée par phrase de +passe. Remarquez que la valeur par défaut est la clef privée @emph{du compte root}. Assurez-vous qu'elle existe si vous utilisez la valeur par défaut. @@ -1327,18 +1355,21 @@ obtenir des constructions reproductibles (@pxref{Fonctionnalités}). Lorsque le démon effectue une construction pour le compte de l'utilisateur, il crée un répertoire sous @file{/tmp} ou sous le répertoire spécifié par sa variable d'environnement @code{TMPDIR}. Ce répertoire est partagé avec le -conteneur pendant la durée de la construction. Soyez conscient qu'utiliser -un répertoire différent de @file{/tmp} peut affecter les résultats de la -construction — par exemple avec un nom de répertoire plus long, un processus -de construction qui utiliserait des socket Unix-domain pourrait atteindre la -limite de longueur de nom de fichier pour @code{sun_path}, qu'il n'aurait -sinon pas atteinte. +conteneur pendant la durée de la construction, bien que dans le conteneur, +l'arborescence de construction est toujours appelée +@file{/tmp/guix-build-@var{name}.drv-0}. Le répertoire de construction est automatiquement supprimé à la fin, à moins que la construction n'ait échoué et que le client ait spécifié @option{--keep-failed} (@pxref{Invoquer guix build, @option{--keep-failed}}). +Le démon écoute les connexions et démarre un sous-processus pour chaque +session démarrée par un client (l'une des sous-commandes de +@command{guix}). La commande @command{guix processes} vous permet d'obtenir +un aperçu de l'activité sur votre système en affichant chaque session et +client actif. @xref{Invoquer guix processes} pour plus d'informations. + Les options en ligne de commande suivantes sont disponibles : @table @code @@ -1480,10 +1511,12 @@ utilisées. @cindex racines du GC @cindex racines du ramasse-miettes -When set to ``yes'', the GC will keep the outputs of any live derivation -available in the store---the @code{.drv} files. The default is ``no'', -meaning that derivation outputs are kept only if they are reachable from a -GC root. @xref{Invoquer guix gc}, for more on GC roots. +Lorsqu'elle est à « yes », le GC gardera les sorties de toutes les +dérivations — les fichiers @code{.drv} — accessibles dans le dépôt. La +valeur par défaut est « no », ce qui signifie que les sorties des +dérivations ne sont gardées que si elles sont accessibles à partir d'une +racine du GC. @xref{Invoquer guix gc} pour plus d'informations sur les +racines du GC. @item --gc-keep-derivations[=yes|no] Dire si le ramasse-miettes (GC) doit garder les dérivations correspondant à @@ -1495,14 +1528,15 @@ leurs sorties est utilisée. Cela permet aux utilisateurs de garder une trace de l'origine des éléments du dépôt. Le mettre à « no » préserve un peu d'espace disque. -In this way, setting @code{--gc-keep-derivations} to ``yes'' causes liveness -to flow from outputs to derivations, and setting @code{--gc-keep-outputs} to -``yes'' causes liveness to flow from derivations to outputs. When both are -set to ``yes'', the effect is to keep all the build prerequisites (the -sources, compiler, libraries, and other build-time tools) of live objects in -the store, regardless of whether these prerequisites are reachable from a GC -root. This is convenient for developers since it saves rebuilds or -downloads. +De cette manière, avec @code{--gc-keep-derivations} à « yes », +l'accessibilité des sorties s'étend des sorties aux dérivations et avec +@code{--gc-keep-outputs} à « yes », elle s'étend des dérivations aux +sorties. Quand les deux options sont à « yes », le GC gardera tous les +prérequis de construction (les sources, le compilateur, les bibliothèques, +et les autres outils de construction) des objets accessibles dans le dépôt, +indépendamment du fait qu'ils soient ou non accessibles depuis une racine du +GC. Cela est pratique pour les développeurs car ça leur fait gagner du +temps de reconstruction et de téléchargement. @item --impersonate-linux-2.6 Sur les système basés sur Linux, se faire passer pour Linux 2.6. Cela @@ -1813,6 +1847,10 @@ guix package -i emacs-guix * Invoquer guix gc:: Lancer le ramasse-miettes. * Invoquer guix pull:: Récupérer la dernière version de Guix et de la distribution. +* Canaux:: Personnaliser la collection des paquets. +* Inférieurs:: Interagir avec une autre révision de Guix. +* Invoquer guix describe:: Affiche des informations sur la révision Guix + actuelle. * Invoquer guix pack:: Créer des lots de logiciels. * Invoquer guix archive:: Exporter et importer des fichiers du dépôt. @end menu @@ -1867,18 +1905,18 @@ les paquets auxquels elles faisaient référence puissent être glanés. @cindex reproductibilité @cindex constructions reproductibles -Finalement, Guix prend une approche @dfn{purement fonctionnelle} de la -gestion de paquets, telle que décrite dans l'introduction -(@pxref{Introduction}). Chaque nom de répertoire de paquet dans -@file{/gnu/store} contient un hash de toutes les entrées qui ont été -utilisées pendant la construction de ce paquet — le compilateur, les -bibliothèques, les scripts de construction, etc. Cette correspondance -directe permet aux utilisateurs de s'assurer que l'installation d'un paquet -donné correspond à l'état actuel de leur distribution. Elle aide aussi à -maximiser la @dfn{reproductibilité} : grâce aux environnements de -construction utilisés, une construction donnée à de forte chances de donner -des fichiers identiques bit-à-bit lorsqu'elle est effectuée sur des machines -différents (@pxref{Invoquer guix-daemon, container}). +Guix prend une approche @dfn{purement fonctionnelle} de la gestion de +paquets, telle que décrite dans l'introduction (@pxref{Introduction}). +Chaque nom de répertoire de paquet dans @file{/gnu/store} contient un hash +de toutes les entrées qui ont été utilisées pendant la construction de ce +paquet — le compilateur, les bibliothèques, les scripts de construction, +etc. Cette correspondance directe permet aux utilisateurs de s'assurer que +l'installation d'un paquet donné correspond à l'état actuel de leur +distribution. Elle aide aussi à maximiser la @dfn{reproductibilité} : grâce +aux environnements de construction utilisés, une construction donnée à de +forte chances de donner des fichiers identiques bit-à-bit lorsqu'elle est +effectuée sur des machines différents (@pxref{Invoquer guix-daemon, +container}). @cindex substituts Ce fondement permet à Guix de supporter le @dfn{déploiement transparent de @@ -1897,6 +1935,16 @@ aux développeurs d'un paquet de mettre en place rapidement le bon environnement de développement pour leur paquet, sans avoir à installer manuellement les dépendances du paquet dans leur profil (@pxref{Invoquer guix environment}). +@cindex réplication, des environnements logiciels +@cindex suivi de la provenance, des artefacts logiciels +La totalité de Guix et des définitions de paquets sont placés sous contrôle +de version, et @command{guix pull} vous permet de « voyager dans le temps » +de l'historique de Guix lui-même (@pxref{Invoquer guix pull}). Cela est +rend possible la réplication d'une instance Guix sur une machine différente +ou plus tard, ce qui vous permet de @emph{répliquer des environnements +logiciels complets}, tout en garantissant un @dfn{suivi de provenance} +précis des logiciels. + @node Invoquer guix package @section Invoquer @command{guix package} @@ -2882,7 +2930,8 @@ dans la distribution actuellement disponible sur votre machine locale. Pour mettre à jour cette distribution, en même temps que les outils Guix, vous devez lancer @command{guix pull} ; la commande télécharge le dernier code source de Guix et des descriptions de paquets et le déploie. Le code source -est téléchargé depuis un dépôt @uref{https://git-scm.com, Git}. +est téléchargé depuis un dépôt @uref{https://git-scm.com, Git}, par défaut +le dépôt officiel de GNU@tie{}Guix, bien que cela puisse être personnalisé. À la fin, @command{guix package} utilisera les paquets et les versions des paquets de la copie de Guix tout juste récupérée. Non seulement ça, mais @@ -2919,25 +2968,28 @@ Génération 1 10 juin 2018 00:18:18 branche : origin/master commit : 65956ad3526ba09e1f7a40722c96c6ef7c0936fe -Generation 2 Jun 11 2018 11:02:49 +Génération 2 11 juin 2018 11:02:49 guix e0cc7f6 - repository URL: https://git.savannah.gnu.org/git/guix.git - branch: origin/master - commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d - 2 new packages: keepalived, libnfnetlink - 6 packages upgraded: emacs-nix-mode@@2.0.4, + URL du dépôt : https://git.savannah.gnu.org/git/guix.git + branche : origin/master + commit : e0cc7f669bec22c37481dd03a7941c7d11a64f1d + 2 nouveaux paquets : keepalived, libnfnetlink + 6 paquets mis à jour : emacs-nix-mode@@2.0.4, guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac, heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4 -Generation 3 Jun 13 2018 23:31:07 (current) +Génération 3 13 juin 2018 23:31:07 (actuelle) guix 844cc1c - repository URL: https://git.savannah.gnu.org/git/guix.git - branch: origin/master - commit: 844cc1c8f394f03b404c5bb3aee086922373490c - 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{} - 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{} + URL du dépôt : https://git.savannah.gnu.org/git/guix.git + branche : origin/master + commit : 844cc1c8f394f03b404c5bb3aee086922373490c + 28 nouveaux paquets : emacs-helm-ls-git, emacs-helm-mu, @dots{} + 69 paquets mis à jour : borg@@1.1.6, cheese@@3.28.0, @dots{} @end example +@ref{Invoquer guix describe, @command{guix describe}} pour d'autres manières +de décrire le statut actuel de Guix. + Ce profil @code{~/.config/guix/current} fonctionne comme les autres profils créés par @command{guix package} (@pxref{Invoquer guix package}). C'est-à-dire que vous pouvez lister les générations, revenir en arrière à @@ -2947,32 +2999,33 @@ une génération précédente — c.-à-d.@: la version de Guix précédente — $ guix package -p ~/.config/guix/current --roll-back passé de la génération 3 à 2 $ guix package -p ~/.config/guix/current --delete-generations=1 -suppression de /home/charlie/.config/guix/current-1-link +suppression de /var/guix/profiles/per-user/charlie/current-guix-1-link @end example La commande @command{guix pull} est typiquement invoquée sans arguments mais il supporte les options suivantes : @table @code -@item --verbose -Produire une sortie verbeuse, en écrivant les journaux de construction sur -la sortie d'erreur standard. - @item --url=@var{url} -Télécharger Guix depuis le dépôt Git à @var{url}. +@itemx --commit=@var{commit} +@itemx --branch=@var{branche} +Télécharger le code depuis l'@var{url} spécifié, au @var{commit} donné (un +commit Git valide représenté par une chaîne hexadécimale) ou à la branche +@var{branch}. -@vindex GUIX_PULL_URL -Par défaut, la source est récupérée depuis le dépôt Git canonique sur -@code{gnu.org}, pour la branche stable de Guix. Pour utiliser une autre -source, paramétrez la variable d'environnement @code{GUIX_PULL_URL}. +@cindex @file{channels.scm}, fichier de configuration +@cindex fichier de configuration pour les canaux +Ces options sont fournies pour votre confort, mais vous pouvez aussi +spécifier votre configuration dans le fichier +@file{~/.config/guix/channels.scm} ou en utilisant l'option +@option{--channels} (voir plus bas). -@item --commit=@var{commit} -Déployer de @var{commit}, un ID de commit Git valide représenté par une -chaîne hexadécimale. - -@item --branch=@var{branche} -Déployer le haut de la @var{branche}, le nom d'une branche Git disponible -sur le répertoire à @var{url}. +@item --channels=@var{file} +@itemx -C @var{file} +Lit la liste des canaux dans @var{file} plutôt que dans +@file{~/.config/guix/channels.scm}. @var{file} doit contenir un code Scheme +qui s'évalue en une liste d'objets de canaux. @xref{Canaux} pour plus +d'informations. @item --list-generations[=@var{motif}] @itemx -l [@var{motif}] @@ -2981,14 +3034,434 @@ Liste toutes les générations de @file{~/.config/guix/current} ou, si à @var{motif}. La syntaxe de @var{motif} est la même qu'avec @code{guix package --list-generations} (@pxref{Invoquer guix package}). +@ref{Invoquer guix describe}, pour une manière d'afficher des informations +sur la génération actuelle uniquement. + +@item --profile=@var{profil} +@itemx -p @var{profil} +Utiliser le @var{profil} à la place de @file{~/.config/guix/current}. + +@item --dry-run +@itemx -n +Montrer quels commits des canaux seraient utilisés et ce qui serait +construit ou substitué mais ne pas le faire vraiment. + +@item --verbose +Produire une sortie verbeuse, en écrivant les journaux de construction sur +la sortie d'erreur standard. + @item --bootstrap Utiliser le programme d'amorçage Guile pour construire la dernière version de Guix. Cette option n'est utile que pour les développeurs de Guix. @end table +Le mécanisme de @dfn{canaux} vous permet de dire à @command{guix pull} quels +répertoires et branches récupérer, ainsi que les dépôts +@emph{supplémentaires} contenant des modules de paquets qui devraient être +déployés. @xref{Canaux} pour plus d'information. + En plus, @command{guix pull} supporte toutes les options de construction communes (@pxref{Options de construction communes}). +@node Canaux +@section Canaux + +@cindex canaux +@cindex @file{channels.scm}, fichier de configuration +@cindex fichier de configuration pour les canaux +@cindex @command{guix pull}, fichier de configuration +@cindex configuration de @command{guix pull} +Guix et sa collection de paquets sont mis à jour en lançant @command{guix +pull} (@pxref{Invoquer guix pull}). Par défaut @command{guix pull} +télécharge et déploie Guix lui-même depuis le dépôt officiel de +GNU@tie{}Guix. Cela peut être personnalisé en définissant des @dfn{canaux} +dans le fichier @file{~/.config/guix/channels.scm}. Un canal spécifie l'URL +et la branche d'un répertoire Git à déployer et on peut demander à +@command{guix pull} de récupérer un ou plusieurs canaux. En d'autres +termes, les canaux peuvent être utilisés pour personnaliser et pour +@emph{étendre} Guix, comme on le verra plus bas. + +@subsection Utiliser un canal Guix personnalisé + +Le canal nommé @code{guix} spécifie où Guix lui-même — ses outils en ligne +de commande ainsi que sa collection de paquets — sera téléchargé. Par +exemple, supposons que vous voulez effectuer les mises à jour depuis votre +propre copie du dépôt Guix sur @code{example.org}, et plus particulièrement +depuis la branche @code{super-hacks}. Vous pouvez écrire cette +spécification dans @code{~/.config/guix/channels.scm} : + +@lisp +;; Dit à « guix pull » d'utiliser mon propre dépôt. +(list (channel + (name 'guix) + (url "https://example.org/my-guix.git") + (branch "super-hacks"))) +@end lisp + +@noindent +Maintenant, @command{guix pull} récupérera le code depuis la branche +@code{super-hacks} du dépôt sur @code{example.org}. + +@subsection Spécifier des canaux supplémentaires + +@cindex étendre la collection de paquets (canaux) +@cindex paquets personnels (canaux) +@cindex canaux, pour des paquets personnels +Vous pouvez aussi spécifier des @emph{canaux supplémentaires} à récupérer. +Disons que vous avez un ensemble de paquets personnels ou de variantes +personnalisées qu'il ne vaudrait pas le coup de contribuer au projet Guix, +mais que vous voudriez pouvoir utiliser de manière transparente sur la ligne +de commande. Vous écririez d'abord des modules contenant ces définitions de +paquets (@pxref{Modules de paquets}), en les maintenant dans un dépôt Git, puis +vous ou n'importe qui d'autre pourrait l'utiliser comme un canal +supplémentaire où trouver ces paquets. Sympa, non ? + +@c What follows stems from discussions at +@c as well as +@c earlier discussions on guix-devel@gnu.org. +@quotation Attention +Avant que vous, cher utilisateur, ne vous exclamiez « Oh mais c'est +@emph{super génial} ! » et que vous ne publiez vos canaux personnels +publiquement, nous voudrions vous donner quelques avertissements : + +@itemize +@item +Avant de publier un canal, envisagez de contribuer vos définitions de +paquets dans Guix (@pxref{Contribuer}). Guix en tant que projet est +ouvert à tous les logiciels libres de toutes sortes, et les paquets dans +Guix sont déjà disponibles à tous les utilisateurs de Guix et bénéficient +des processus d'assurance qualité du projet. + +@item +Lorsque vous maintenez des définitions de paquets en dehors de Guix, nous, +les développeurs de Guix, considérons que @emph{la charge de la +compatibilité vous incombe}. Rappelez-vous que les modules de paquets et +les définitions de paquets ne sont que du code Scheme qui utilise diverses +interfaces de programmation (API). Nous souhaitons rester libres de changer +ces API pour continuer à améliorer Guix, éventuellement d'une manière qui +casse votre canal. Nous ne changeons jamais l'API gratuitement, mais nous +ne nous engageons @emph{pas} à geler les API non plus. + +@item +Corollaire : si vous utilisez un canal externe et que le canal est cassé, +merci de @emph{rapporter le problème à l'auteur du canal}, pas au projet +Guix. +@end itemize + +Vous avez été prévenus ! Maintenant, nous pensons que des canaux externes +sont une manière pratique d'exercer votre liberté pour augmenter la +collection de paquets de Guix et de partager vos améliorations, qui sont les +principes de bases du @uref{https://www.gnu.org/philosophy/free-sw.html, +logiciel libe}. Contactez-nous par courriel sur @email{guix-devel@@gnu.org} +si vous souhaitez discuter à ce propos. +@end quotation + +Une fois que vous avez un dépôt Git contenant vos propres modules de +paquets, vous pouvez écrire @code{~/.config/guix/channels.scm} pour dire à +@command{guix pull} de récupérer votre canal personnel @emph{en plus} des +canaux Guix par défaut : + +@vindex %default-channels +@lisp +;; Ajouter mes paquets personnels à ceux fournis par Guix. +(cons (channel + (name 'my-personal-packages) + (url "https://example.org/personal-packages.git")) + %default-channels) +@end lisp + +@noindent +Note that the snippet above is (as always!)@: Scheme code; we use +@code{cons} to add a channel the list of channels that the variable +@code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, +guile, GNU Guile Reference Manual}). With this file in place, @command{guix +pull} builds not only Guix but also the package modules from your own +repository. The result in @file{~/.config/guix/current} is the union of +Guix with your own package modules: + +@example +$ guix pull --list-generations +@dots{} +Génération 19 Aug 27 2018 16:20:48 + guix d894ab8 + URL du dépôt : https://git.savannah.gnu.org/git/guix.git + branche : master + commit : d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300 + my-personal-packages dd3df5e + URL du dépôt : https://example.org/personal-packages.git + branche : master + commit : dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb + 11 nouveaux paquets : my-gimp, my-emacs-with-cool-features, @dots{} + 4 paquets mis à jour : emacs-racket-mode@@0.0.2-2.1b78827, @dots{} +@end example + +@noindent +La sortie de @command{guix pull} ci-dessus montre que la génération@tie{}19 +contient aussi bien Guix que les paquets du canal +@code{my-personal-packages}. Parmi les nouveaux paquets et les paquets mis +à jour qui sont listés, certains comme @code{my-gimp} et +@code{my-emacs-with-cool-features} peuvent provenir de +@code{my-personal-packages}, tandis que d'autres viennent du canal par +défaut de Guix. + +@subsection Répliquer Guix + +@cindex épinglage, canaux +@cindex répliquer Guix +@cindex reproductibilité, de Guix +La sortie de @command{guix pull --list-generations} ci-dessus montre +précisément quels commits ont été utilisés pour construire cette instance de +Guix. Nous pouvons donc la répliquer, disons sur une autre machine, en +fournissant une spécification de canal dans +@file{~/.config/guix/channels.scm} qui est « épinglé » à ces commits : + +@lisp +;; Déployer des commits précis de mes canaux préférés. +(list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit "d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300")) + (channel + (name 'my-personal-packages) + (url "https://example.org/personal-packages.git") + (branch "dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb"))) +@end lisp + +La commande @command{guix describe --format=channels} peut même générer +cette liste de canaux directement (@pxref{Invoquer guix describe}). + +À ce moment les deux machines font tourner @emph{exactement le même Guix}, +avec l'accès @emph{exactement aux même paquets}. La sortie de @command{guix +build gimp} sur une machine sera exactement la même, au bit près, que la +sortie de la même commande sur l'autre machine. Cela signifie aussi que les +deux machines ont accès à tous les codes sources de Guix, et transitivement, +à tous les codes sources de tous les paquets qu'il définit. + +Cela vous donne des super-pouvoirs, ce qui vous permet de suivre la +provenance des artefacts binaires avec un grain très fin et de reproduire +les environnements logiciels à volonté — une sorte de capacité de « +méta-reproductibilité », si vous voulez. @xref{Inférieurs}, pour une autre +manière d'utiliser ces super-pouvoirs. + +@node Inférieurs +@section Inférieurs + +@c TODO: Remove this once we're more confident about API stability. +@quotation Remarque +La fonctionnalité décrite ici est un « démonstrateur technique » à la +version @value{VERSION}. Ainsi, l'interface est sujette à changements. +@end quotation + +@cindex inférieurs +@cindex composition de révisions de Guix +Parfois vous pourriez avoir à mélanger des paquets de votre révision de Guix +avec des paquets disponibles dans une révision différente de Guix. Les +@dfn{inférieurs} de Guix vous permettent d'accomplir cette tâche en +composant différentes versions de Guix de manière arbitraire. + +@cindex paquets inférieurs +Techniquement, un « inférieur » est surtout un processus Guix séparé +connecté à votre processus Guix principal à travers un REPL (@pxref{Invoquer guix repl}). Le module @code{(guix inferior)} vous permet de créer des +inférieurs et de communiquer avec eux. Il fournit aussi une interface de +haut-niveau pour naviguer dans les paquets d'un inférieur — @dfn{des paquets +inférieurs} — et les manipuler. + +Lorsqu'on les combine avec des canaux (@pxref{Canaux}), les inférieurs +fournissent une manière simple d'interagir avec un révision de Guix +séparée. Par exemple, disons que vous souhaitiez installer dans votre +profil le paquet guile actuel, avec le @code{guile-json} d'une ancienne +révision de Guix — peut-être parce que la nouvelle version de +@code{guile-json} a une API incompatible et que vous voulez lancer du code +avec l'ancienne API. Pour cela, vous pourriez écrire un manifeste à +utiliser avec @code{guix package --manifest} (@pxref{Invoquer guix package}) +; dans ce manifeste, vous créeriez un inférieur pour l'ancienne révision de +Guix qui vous intéresse et vous chercheriez le paquet @code{guile-json} dans +l'inférieur : + +@lisp +(use-modules (guix inferior) (guix channels) + (srfi srfi-1)) ;pour « first » + +(define channels + ;; L'ancienne révision depuis laquelle on veut + ;; extraire guile-json. + (list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit + "65956ad3526ba09e1f7a40722c96c6ef7c0936fe")))) + +(define inferior + ;; Un inférieur représentant la révision ci-dessus. + (inferior-for-channels channels)) + +;; Maintenant on crée un manifeste avec le paquet « guile » actuel +;; et l'ancien paquet « guile-json ». +(packages->manifest + (list (first (lookup-inferior-packages inferior "guile-json")) + (specification->package "guile"))) +@end lisp + +Durant la première exécution, @command{guix package --manifest} pourrait +avoir besoin de construire le canal que vous avez spécifié avant de créer +l'inférieur ; les exécutions suivantes seront bien plus rapides parce que la +révision de Guix sera déjà en cache. + +Le module @code{(guix inferior)} fournit les procédures suivantes pour +ouvrir un inférieur : + +@deffn {Procédure Scheme} inferior-for-channels @var{channels} @ + [#:cache-directory] [#:ttl] +Renvoie un inférieur pour @var{channels}, une liste de canaux. Elle utilise +le cache dans @var{cache-directory}, où les entrées peuvent être glanées +après @var{ttl} secondes. Cette procédure ouvre une nouvelle connexion au +démon de construction. + +Elle a pour effet de bord de construire ou de substituer des binaires pour +@var{channels}, ce qui peut prendre du temps. +@end deffn + +@deffn {Procédure Scheme} open-inferior @var{directory} @ + [#:command "bin/guix"] +Ouvre le Guix inférieur dans @var{directory} et lance +@code{@var{directory}/@var{command} repl} ou équivalent. Renvoie @code{#f} +si l'inférieur n'a pas pu être lancé. +@end deffn + +@cindex paquets inférieurs +Les procédures listées plus bas vous permettent d'obtenir et de manipuler +des paquets inférieurs. + +@deffn {Procédure Scheme} inferior-packages @var{inferior} +Renvoie la liste des paquets connus de l'inférieur @var{inferior}. +@end deffn + +@deffn {Procédure Scheme} lookup-inferior-packages @var{inferior} @var{name} @ + [@var{version}] +Renvoie la liste triée des paquets inférieurs qui correspondent à @var{name} +dans @var{inferior}, avec le plus haut numéro de version en premier. Si +@var{version} est vrai, renvoie seulement les paquets avec un numéro de +version préfixé par @var{version}. +@end deffn + +@deffn {Procédure Scheme} inferior-package? @var{obj} +Renvoie vrai si @var{obj} est un paquet inférieur. +@end deffn + +@deffn {Procédure Scheme} inferior-package-name @var{package} +@deffnx {Procédure Scheme} inferior-package-version @var{package} +@deffnx {Procédure Scheme} inferior-package-synopsis @var{package} +@deffnx {Procédure Scheme} inferior-package-description @var{package} +@deffnx {Procédure Scheme} inferior-package-home-page @var{package} +@deffnx {Procédure Scheme} inferior-package-location @var{package} +@deffnx {Procédure Scheme} inferior-package-inputs @var{package} +@deffnx {Procédure Scheme} inferior-package-native-inputs @var{package} +@deffnx {Procédure Scheme} inferior-package-propagated-inputs @var{package} +@deffnx {Procédure Scheme} inferior-package-transitive-propagated-inputs @var{package} +@deffnx {Procédure Scheme} inferior-package-native-search-paths @var{package} +@deffnx {Procédure Scheme} inferior-package-transitive-native-search-paths @var{package} +@deffnx {Procédure Scheme} inferior-package-search-paths @var{package} +Ces procédures sont la contrepartie des accesseurs des enregistrements de +paquets (@pxref{Référence de paquet}). La plupart fonctionne en effectuant +des requêtes à l'inférieur dont provient @var{package}, donc l'inférieur +doit toujours être disponible lorsque vous appelez ces procédures. +@end deffn + +Les paquets inférieurs peuvent être utilisés de manière transparente comme +tout autre paquet ou objet simili-fichier dans des G-expressions +(@pxref{G-Expressions}). Ils sont aussi gérés de manière transparente par +la procédure @code{packages->manifest}, qui est typiquement utilisée dans +des manifestes (@pxref{Invoquer guix package, l'option @option{--manifest} +de @command{guix package}}). Ainsi, vous pouvez insérer un paquet inférieur +à peu près n'importe où vous utiliseriez un paquet normal : dans des +manifestes, dans le champ @code{packages} de votre déclaration +@code{operating-system}, etc. + +@node Invoquer guix describe +@section Invoquer @command{guix describe} + +@cindex reproductibilité +@cindex répliquer Guix +Souvent vous voudrez répondre à des questions comme « quelle révision de +Guix j'utilise ? » ou « quels canaux est-ce que j'utilise ? ». C'est une +information utile dans de nombreuses situations : si vous voulez +@emph{répliquer} un environnement sur une machine différente ou un compte +utilisateur, si vous voulez rapporter un bogue ou pour déterminer quel +changement dans les canaux que vous utilisez l'a causé ou si vous voulez +enregistrer l'état de votre système pour le reproduire. La commande +@command{guix describe} répond à ces questions. + +Lorsqu'elle est lancée depuis un @command{guix} mis à jour avec +@command{guix pull}, @command{guix describe} affiche les canaux qui ont été +construits, avec l'URL de leur dépôt et l'ID de leur commit +(@pxref{Canaux}) : + +@example +$ guix describe +Generation 10 03 sep. 2018 17:32:44 (actuelle) + guix e0fa68c + URL du dépôt : https://git.savannah.gnu.org/git/guix.git + branche : master + commit : e0fa68c7718fffd33d81af415279d6ddb518f727 +@end example + +Si vous connaissez bien le système de contrôle de version Git, cela +ressemble en essence à @command{git describe} ; la sortie est aussi +similaire à celle de @command{guix pull --list-generations}, mais limitée à +la génération actuelle (@pxref{Invoquer guix pull, l'option +@option{--list-generations}}). Comme l'ID de commit de Git ci-dessus se +réfère sans aucune ambiguïté à un instantané de Guix, cette information est +tout ce dont vous avez besoin pour décrire la révision de Guix que vous +utilisez et pour la répliquer. + +Pour rendre plus facile la réplication de Guix, @command{guix describe} peut +aussi renvoyer une liste de canaux plutôt que la description lisible par un +humain au-dessus : + +@example +$ guix describe -f channels +(list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit + "e0fa68c7718fffd33d81af415279d6ddb518f727"))) +@end example + +@noindent +Vous pouvez sauvegarder ceci dans un fichier et le donner à @command{guix +pull -C} sur une autre machine ou plus tard, ce qui instantiera +@emph{exactement la même révision de Guix} (@pxref{Invoquer guix pull, +l'option @option{-C}}). À partir de là, comme vous pouvez déployer la même +révision de Guix, vous pouvez aussi bien @emph{répliquer un environnement +logiciel complet}. Nous pensons humblement que c'est @emph{génial}, et nous +espérons que vous aimerez ça aussi ! + +Voici les détails des options supportées par @command{guix describe} : + +@table @code +@item --format=@var{format} +@itemx -f @var{format} +Produire la sortie dans le @var{format} donné, parmi : + +@table @code +@item human +produire une sortie lisible par un humain, +@item canaux +produire une liste de spécifications de canaux qui peut être passée à +@command{guix pull -C} ou installée dans @file{~/.config/guix/channels.scm} +(@pxref{Invoquer guix pull}), +@item json +@cindex JSON +produire une liste de spécifications de canaux dans le format JSON, +@item recutils +produire une liste de spécifications de canaux dans le format Recutils. +@end table + +@item --profile=@var{profil} +@itemx -p @var{profil} +Afficher les informations sur le @var{profil}. +@end table + @node Invoquer guix pack @section Invoquer @command{guix pack} @@ -3123,8 +3596,8 @@ guix pack -R -S /mybin=bin bash @end example @noindent -… vous pouvez copier ce pack sur une machine qui n'a pas Guix et depuis -votre répertoire personnel en tant qu'utilisateur non-privilégié, lancer : +...@: you can copy that pack to a machine that lacks Guix, and from your +home directory as a normal user, run: @example tar xf pack.tar.gz @@ -3195,8 +3668,11 @@ Par exemple, @code{-S /opt/gnu/bin=bin} crée un lien symbolique @file{/opt/gnu/bin} qui pointe vers le sous-répertoire @file{bin} du profil. @item --localstatedir -Inclure le « répertoire d'état local », @file{/var/guix} dans le paquet -résultant. +@itemx --profile-name=@var{nom} +Inclus le « répertoire d'état local », @file{/var/guix}, dans le lot qui en +résulte, et notamment le profil +@file{/var/guix/profiles/per-user/root/@var{nom}} — par défaut @var{nom} est +@code{guix-profile}, ce qui correspond à @file{~root/.guix-profile}. @file{/var/guix} contient la base de données du dépôt (@pxref{Le dépôt}) ainsi que les racines du ramasse-miettes (@pxref{Invoquer guix gc}). Le @@ -3425,7 +3901,7 @@ paquets à haut-niveau. * La monad du dépôt:: Interface purement fonctionnelle avec le dépôt. * G-Expressions:: Manipuler les expressions de construction. -* Invoking guix repl:: Fiddling with Guix interactively. +* Invoquer guix repl:: S'amuser avec Guix de manière interactive. @end menu @node Définition des paquets @@ -3582,9 +4058,9 @@ d'inforamtions sur la manière de tester des définitions de paquets et @ref{Invoquer guix lint}, pour des informations sur la manière de vérifier que la définition réspecte les conventions de style. @vindex GUIX_PACKAGE_PATH -Enfin, @pxref{Modules de paquets} pour des informations sur la manière -d'étendre la distribution en ajoutant vos propres définitions de paquets -dans @code{GUIX_PACKAGE_PATH}. +Enfin, @pxref{Canaux} pour des informations sur la manière d'étendre la +distribution en ajoutant vos propres définitions de paquets dans un « canal +». Finalement, la mise à jour de la définition du paquet à une nouvelle version amont peut en partie s'automatiser avec la commande @command{guix refresh} @@ -4139,10 +4615,73 @@ Guix. La phase @code{install} installe les binaires et installe aussi le code source et le fichier @file{Cargo.toml}. @end defvr +@cindex Clojure (langage de programmation) +@cindex système de construction Clojure simple +@defvr {Variable Scheme} clojure-build-system +Cette variable est exportée par @code{(guix build-system clojure)}. Elle +implémente une procédure de construction des paquets simple qui utilise le +bon vieux @code{compile} de Clojure. La compilation croisée n'est pas +encore supportée. + +Elle ajoute @code{clojure}, @code{icedtea} et @code{zip} à l'ensemble des +entrées. Des paquets différents peuvent être spécifiés avec les paramètres +@code{#:clojure}, @code{#:jdk} et @code{#:zip}. + +Une liste de répertoires sources, de répertoires de tests et de noms de jar +peuvent être spécifiés avec les paramètres @code{#:source-dirs}, +@code{#:test-dirs} et @code{#:jar-names}. Le répertoire de construction est +la classe principale peuvent être spécifiés avec les paramètres +@code{#:compile-dir} et @code{#:main-class}. Les autres paramètres sont +documentés plus bas. + +Ce système de construction est une extension de @var{ant-build-system}, mais +avec les phases suivantes modifiées : + +@table @code + +@item build +Cette phase appelle @code{compile} en Clojure pour compiler les fichiers +sources et lance @command{jar} pour créer les fichiers jar à partir des +fichiers sources et des fichiers compilés en suivant la liste d'inclusion et +d'exclusion spécifiées dans @code{#:aot-include} et @code{#:aot-exclude}. +La liste d'exclusion a la priorité sur la liste d'inclusion. Ces listes +consistent en des symboles représentant des bibliothèque Clojure ou le mot +clef spécial @code{#:all}, représentant toutes les bibliothèques Clojure +trouvées dans les répertoires des sources. Le paramètre +@code{#:omit-source?} décide si les sources devraient être incluses dans les +fichiers jar. + +@item check +Cette phase lance les tests en suivant les liste d'inclusion et d'exclusion +spécifiées dans @code{#:test-include} et @code{#:test-exclude}. Leur +signification est analogue à celle de @code{#:aot-include} et +@code{#:aot-exclude}, sauf que le mot-clef spécial @code{#:all} signifie +maintenant toutes les bibliothèques Clojure trouvées dans les répertoires de +tests. Le paramètre @code{#:tests?} décide si les tests devraient être +lancés. + +@item install +Cette phase installe tous les fichiers jar précédemment construits. +@end table + +En dehors de cela, le système de construction contient aussi la phase +suivante : + +@table @code + +@item install-doc +Cette phase installe tous les fichiers dans le répertoire de plus haut +niveau dont le nom correspond à @var{%doc-regex}. On peut spécifier une +regex différente avec le paramètre @code{#:doc-regex}. Tous les fichiers +(récursivement) dans les répertoires de documentations spécifiés dans +@code{#:doc-dirs} sont aussi installés. +@end table +@end defvr + @defvr {Variable Scheme} cmake-build-system Cette variable est exportée par @code{(guix build-system cmake)}. Elle implémente la procédure de construction des paquets qui utilisent -l'@url{http://www.cmake.org, outils de construction CMake}. +l'@url{http://www.cmake.org, outil de construction CMake}. Elle ajoute automatiquement le paquet @code{cmake} à l'ensemble des entrées. Le paquet utilisé peut être spécifié par le paramètre @@ -4218,19 +4757,19 @@ construction. Le paquet @code{glib} qui fournit Ces deux phases sont exécutées après la phase @code{install}. @end defvr -@defvr {Scheme Variable} guile-build-system -This build system is for Guile packages that consist exclusively of Scheme -code and that are so lean that they don't even have a makefile, let alone a -@file{configure} script. It compiles Scheme code using @command{guild -compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and -installs the @file{.scm} and @file{.go} files in the right place. It also -installs documentation. +@defvr {Variable Scheme} guile-build-system +Ce système de construction sert aux paquets Guile qui consistent +exclusivement en code Scheme et qui sont si simple qu'ils n'ont même pas un +makefile, sans parler d'un script @file{configure}. Il compile le code +Scheme en utilisant @command{guild compile} (@pxref{Compilation,,, guile, +GNU Guile Reference Manual}) et installe les fichiers @file{.scm} et +@file{.go} aux bons emplacements. Il installe aussi la documentation. -This build system supports cross-compilation by using the @code{--target} -option of @command{guild compile}. +Ce système de construction supporte la compilation croisée en utilisant +l'option @code{--target} de @command{guild compile}. -Packages built with @code{guile-build-system} must provide a Guile package -in their @code{native-inputs} field. +Les paquets construits avec @code{guile-build-system} doivent fournir un +paquet Guile dans leur champ @code{native-inputs}. @end defvr @defvr {Variable Scheme} minify-build-system @@ -4458,11 +4997,11 @@ paquet est installé dans son propre répertoire dans @end defvr @defvr {Variable Scheme} font-build-system -Cette variable est exportée par @code{(guix build-system font)}. Elle -implémente une procédure d'installation pour les paquets de polices où des -fichiers de polices TrueType, OpenType, etc sont fournis en amont et n'ont -qu'à être copiés à leur emplacement final. Elle copie les fichiers de -polices à l'emplacement standard dans le répertoire de sortie. +This variable is exported by @code{(guix build-system font)}. It implements +an installation procedure for font packages where upstream provides +pre-compiled TrueType, OpenType, etc.@: font files that merely need to be +copied into place. It copies font files to standard locations in the output +directory. @end defvr @defvr {Variable Scheme} meson-build-system @@ -4745,13 +5284,12 @@ dérivation est la procédure @code{derivation} : @deffn {Procédure Scheme} derivation @var{store} @var{name} @var{builder} @ @var{args} [#:outputs '("out")] [#:hash #f] [#:hash-algo #f] @ -[#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system -(%current-system)] [#:references-graphs #f] @ +[#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ +[#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ -[#:substitutable? #t] - -Construit une dérivation avec les arguments donnés et renvie l'objet +[#:substitutable? #t] [#:properties '()] +Construit une dérivation avec les arguments donnés et renvoie l'objet @code{} obtenu. Lorsque @var{hash} et @var{hash-algo} sont donnés, une @dfn{dérivation à @@ -4789,6 +5327,10 @@ Lorsque que @var{substitutable?} est faux, déclare que les substituts de la sortie de la dérivation ne devraient pas être utilisés (@pxref{Substituts}). Cela est utile par exemple pour construire des paquets qui utilisent des détails du jeu d'instruction du CPU hôte. + +@var{properties} doit être une liste d'association décrivant les « +propriétés » de la dérivation. Elle est gardée telle-quelle, sans être +interprétée, dans la dérivation. @end deffn @noindent @@ -5097,21 +5639,21 @@ Lorsqu'on la lance à travers @var{%state-monad}, on obtient cet valeur d'état supplémentaire, qui est le nombre d'appels à @code{square}. @end defvr -@deffn {Procédure Monadic} current-state +@deffn {Procédure monadique} current-state Renvoie l'état actuel dans une valeur monadique. @end deffn -@deffn {Procédure Monadic} set-current-state @var{value} +@deffn {Procédure monadique} set-current-state @var{value} Initialise l'état actuel à @var{value} et renvoie l'état précédent dans une valeur monadique. @end deffn -@deffn {Procédure Monadic} state-push @var{value} +@deffn {Procédure monadique} state-push @var{value} Pousse @var{value} sur l'état actuel, qui est supposé être une liste, et renvoie l'état précédent dans une valeur monadique. @end deffn -@deffn {Procédure Monadic} state-pop +@deffn {Procédure monadique} state-pop Récupère (pop) une valeur dans l'état actuel et la renvoie comme une valeur monadique. L'état est supposé être une liste. @end deffn @@ -5138,21 +5680,21 @@ Lance @var{mval}, une valeur monadique dans la monad du dépôt, dans @var{store}, une connexion ouvert au dépôt. @end deffn -@deffn {Procédure Monadique} text-file @var{name} @var{text} [@var{references}] +@deffn {Procédure monadique} text-file @var{name} @var{text} [@var{references}] Renvoie une valeur monadique correspondant au nom de fichier dans le dépôt du fichier contenant @var{text}, une chaîne de caractères. @var{references} est une liste d'éléments du dépôt auxquels le fichier texte en résultat se réfère ; c'est la liste vide par défaut. @end deffn -@deffn {Monadic Procedure} binary-file @var{name} @var{data} [@var{references}] -Return as a monadic value the absolute file name in the store of the file -containing @var{data}, a bytevector. @var{references} is a list of store -items that the resulting binary file refers to; it defaults to the empty -list. +@deffn {Procédure monadique} binary-file @var{name} @var{data} [@var{references}] +Renvoie une valeur monadique correspondant au nom de fichier absolu dans le +dépôt du fichier contenant @var{data}, un vecteur d'octets. +@var{references} est une liste d'éléments du dépôt auxquels le fichier +binaire en résultat se réfère ; c'est la liste vide par défaut. @end deffn -@deffn {Procédure Monadique} interned-file @var{file} [@var{name}] @ +@deffn {Procédure monadique} interned-file @var{file} [@var{name}] @ [#:recursive? #t] [#:select? (const #t)] Renvoie le nom de @var{file} une fois ajouté au dépôt. Utilise @var{name} comme nom dans le dépôt ou le nom de fichier de @var{file} si @var{name} est @@ -5184,7 +5726,7 @@ L'exemple ci-dessous ajoute un fichier au dépôt, sous deux noms différents : Le module @code{(guix packages)} exporte les procédures monadiques liées aux paquets suivantes : -@deffn {Procédure Monadique} package-file @var{package} [@var{file}] @ +@deffn {Procédure monadique} package-file @var{package} [@var{file}] @ [#:system (%current-system)] [#:target #f] @ [#:output "out"] Renvoie une valeur monadique qui contient le nom de fichier absolu de @@ -5194,8 +5736,8 @@ Renvoie une valeur monadique qui contient le nom de fichier absolu de cible pour la compilation croisée. @end deffn -@deffn {Procédure Monadique} package->derivation @var{package} [@var{system}] -@deffnx {Procédure Monadique} package->cross-derivation @var{package} @ +@deffn {Procédure monadique} package->derivation @var{package} [@var{system}] +@deffnx {Procédure monadique} package->cross-derivation @var{package} @ @var{target} [@var{system}] Version monadique de @code{package-derivation} et @code{package-cross-derivation} (@pxref{Définition des paquets}). @@ -5489,18 +6031,18 @@ que code pour construire une dérivation, soit en tant que fichier normal dans le dépôt. Les procédure monadiques suivantes vous permettent de faire cela (@pxref{La monad du dépôt}, pour plus d'information sur les monads). -@deffn {Procédure Monadique} gexp->derivation @var{name} @var{exp} @ +@deffn {Procédure monadique} gexp->derivation @var{name} @var{exp} @ [#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @var{%load-path}] @ [#:effective-version "2.2"] @ [#:references-graphs #f] [#:allowed-references #f] @ -[#:disallowed-references #f] @ -[#:leaked-env-vars #f] @ +[#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} "-builder")] @ [#:deprecation-warnings #f] @ -[#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] +[#:local-build? #f] [#:substitutable? #t] @ +[#:properties '()] [#:guile-for-build #f] Renvoie une dérivation @var{name} qui lance @var{exp} (une gexp) avec @var{guile-for-build} (une dérivation) sur @var{system} ; @var{exp} est stocké dans un fichier appelé @var{script-name}. Lorsque @var{target} est @@ -5596,8 +6138,9 @@ C'est la version déclarative de la procédure monadique @code{interned-file} @end deffn @deffn {Procédure Scheme} plain-file @var{name} @var{content} -Return an object representing a text file called @var{name} with the given -@var{content} (a string or a bytevector) to be added to the store. +Renvoie un objet représentant un fichier texte nommé @var{name} avec pour +contenu @var{content} (une chaîne de caractères ou un vecteur d'octets) à +ajouter un dépôt. C'est la version déclarative de @code{text-file}. @end deffn @@ -5783,7 +6326,7 @@ exemple, abaisser un paquet crée une dérivation, et abaisser un @code{plain-file} crée un élément du dépôt. Cela est effectué par la procédure monadique @code{lower-object}. -@deffn {Procédure Monadique} lower-object @var{obj} [@var{system}] @ +@deffn {Procédure monadique} lower-object @var{obj} [@var{system}] @ [#:target #f] Renvoie la dérivation ou l'élément du dépôt comme une valeur de @var{%store-monad} qui correspond à @var{obj} pour @var{system}, en @@ -5792,16 +6335,16 @@ compilant de manière croisée pour @var{target} si @var{target} est vrai. @code{}. @end deffn -@node Invoking guix repl -@section Invoking @command{guix repl} +@node Invoquer guix repl +@section Invoquer @command{guix repl} @cindex REPL, read-eval-print loop -The @command{guix repl} command spawns a Guile @dfn{read-eval-print loop} -(REPL) for interactive programming (@pxref{Using Guile Interactively,,, -guile, GNU Guile Reference Manual}). Compared to just launching the -@command{guile} command, @command{guix repl} guarantees that all the Guix -modules and all its dependencies are available in the search path. You can -use it this way: +La commande @command{guix repl} démarre un @dfn{boucle +lecture-évaluation-affichage} Guile pour la programmation interactive +(@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}). +Comparé au lancement de la commande @command{guile}, @command{guix repl} +garanti que tous les modules Guix et toutes ses dépendances sont disponibles +dans le chemin de recherche. Vous pouvez l'utiliser de cette manière : @example $ guix repl @@ -5810,38 +6353,39 @@ scheme@@(guile-user)> coreutils $1 = # @end example -@cindex inferiors -In addition, @command{guix repl} implements a simple machine-readable REPL -protocol for use by @code{(guix inferior)}, a facility to interact with -@dfn{inferiors}, separate processes running a potentially different revision -of Guix. +@cindex inférieurs +En plus, @command{guix repl} implémente un protocole REPL simple lisible par +une machine à utiliser avec @code{(guix inferior)}, un dispositif pour +interagir avec des @dfn{inférieurs}, des processus séparés qui font tourner +une version potentiellement différente de Guix. -The available options are as follows: +Les options disponibles sont les suivante : @table @code @item --type=@var{type} @itemx -t @var{type} -Start a REPL of the given @var{TYPE}, which can be one of the following: +Démarrer un REPL du @var{type} donné, qui peut être l'un de ces types : @table @code @item guile -This is default, and it spawns a standard full-featured Guile REPL. +C'est la valeur par défaut. Elle démarre un REPL Guile standard +fonctionnel. @item machine -Spawn a REPL that uses the machine-readable protocol. This is the protocol -that the @code{(guix inferior)} module speaks. +Démarre un REPL qui utilise le protocole lisible par machine. C'est le +protocole que parle le module @code{(guix inferior)}. @end table @item --listen=@var{extrémité} -By default, @command{guix repl} reads from standard input and writes to -standard output. When this option is passed, it will instead listen for -connections on @var{endpoint}. Here are examples of valid options: +Par défaut, @command{guix repl} lit depuis l'entrée standard et écrit sur la +sortie standard. Lorsque cette option est passée, il écoutera plutôt les +connexions sur @var{endpoint}. Voici un exemple d'options valides : @table @code @item --listen=tcp:37146 -Accept connections on localhost on port 37146. +Accepte les connexions sur localhost, sur le port 31. @item --listen=unix:/tmp/socket -Accept connections on the Unix-domain socket @file{/tmp/socket}. +Accepte les connexions sur le socket Unix-domain @file{/tmp/socket}. @end table @end table @@ -5874,6 +6418,7 @@ Guix d'une manière pratique. * Invoquer guix copy:: Copier vers et depuis un dépôt distant. * Invoquer guix container:: Isolation de processus. * Invoquer guix weather:: Mesurer la disponibilité des substituts. +* Invoquer guix processes:: Lister les processus clients. @end menu @node Invoquer guix build @@ -5958,6 +6503,10 @@ de construction. Cela est utile pour déboguer des échecs de construction. @xref{Débogage des échecs de construction}, pour des astuces sur la manière de déboguer des problèmes de construction. +Cette option n'a pas d'effet lors de la connexion à un démon distant avec +l'URI @code{guix://} (@pxref{Le dépôt, la variable +@code{GUIX_DAEMON_SOCKET}}). + @item --keep-going @itemx -k Continue lorsque certaines dérivations échouent ; ne s'arrête que lorsque @@ -6173,6 +6722,38 @@ doivent être compatibles. Si @var{remplaçant} est incompatible avec @var{paquet}, alors le paquet qui en résulte peut devenir inutilisable. À utilisez avec précaution ! +@item --with-branch=@var{package}=@var{branch} +@cindex Git, using the latest commit +@cindex latest commit, building +Build @var{package} from the latest commit of @var{branch}. The +@code{source} field of @var{package} must be an origin with the +@code{git-fetch} method (@pxref{Référence d'origine}) or a @code{git-checkout} +object; the repository URL is taken from that @code{source}. + +For instance, the following command builds @code{guile-sqlite3} from the +latest commit of its @code{master} branch, and then builds @code{guix} +(which depends on it) and @code{cuirass} (which depends on @code{guix}) +against this specific @code{guile-sqlite3} build: + +@example +guix build --with-branch=guile-sqlite3=master cuirass +@end example + +@cindex intégration continue +Obviously, since it uses the latest commit of the given branch, the result +of such a command varies over time. Nevertheless it is a convenient way to +rebuild entire software stacks against the latest commit of one or more +packages. This is particularly useful in the context of continuous +integration (CI). + +Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed +up consecutive accesses to the same repository. You may want to clean it up +once in a while to save disk space. + +@item --with-commit=@var{package}=@var{commit} +This is similar to @code{--with-branch}, except that it builds from +@var{commit} rather than the tip of a branch. @var{commit} must be a valid +Git commit SHA1 identifier. @end table @node Options de construction supplémentaires @@ -6191,9 +6772,8 @@ on peut toujours l'y trouver avec l'option @option{--log-file}. @item --file=@var{fichier} @itemx -f @var{fichier} - -Construit le paquet ou la dérivation en lequel le code dans @var{file} -s'évalue. +Construit le paquet, la dérivation ou l'objet simili-fichier en lequel le +code dans @var{file} s'évalue (@pxref{G-Expressions, file-like objects}). Par exemple, @var{file} peut contenir une définition de paquet comme ceci (@pxref{Définition des paquets}) : @@ -6257,10 +6837,9 @@ The following derivations will be built: @end example @item transitive -Construit les dérivations des sources de tous les paquets, ainsi que toutes -celles les entrées transitives des paquets. On peut utiliser cette option -pour précharger les sources des paquets pour les construire plus tard hors -ligne par exemple. +Build the source derivations of all packages, as well of all transitive +inputs to the packages. This can be used e.g.@: to prefetch package source +for later offline building. @example $ guix build --sources=transitive tzdata @@ -6495,9 +7074,9 @@ ou @code{EDITOR} pour visionner la recette de GCC@tie{}4.9.3 et cele de Vim. Si vous utilisez une copie du dépôt Git de Guix (@pxref{Construire depuis Git}), ou que vous avez créé vos propres paquets dans @code{GUIX_PACKAGE_PATH} -(@pxref{Définition des paquets}), vous pourrez modifier les recettes des -paquets. Sinon, vous pourrez examiner les recettes en lecture-seule des -paquets actuellement dans le dépôt. +(@pxref{Modules de paquets}), vous pourrez modifier les recettes des paquets. +Sinon, vous pourrez examiner les recettes en lecture-seule des paquets +actuellement dans le dépôt. @node Invoquer guix download @@ -6682,6 +7261,13 @@ La commande ci-dessous importe les métadonnées du paquet Python guix import pypi itsdangerous @end example +@table @code +@item --recursive +@itemx -r +Traverse le graphe des dépendances du paquet amont donné et génère les +expressions de paquets de tous ceux qui ne sont pas déjà dans Guix. +@end table + @item gem @cindex gem Importe des métadonnées de @uref{https://rubygems.org/, @@ -6939,9 +7525,13 @@ Les options spécifiques sont : @itemx -t N'inclut pas les dépendances requises uniquement par les suites de tests. @item --lts-version=@var{version} -@itemx -r @var{version} +@itemx -l @var{version} @var{version} est la version LTS désirée. Si elle est omise, la dernière version est utilisée. +@item --recursive +@itemx -r +Traverse le graphe des dépendances du paquet amont donné et génère les +expressions de paquets de tous ceux qui ne sont pas déjà dans Guix. @end table La commande ci-dessous importe les métadonnées du paquet Haskell @code{HTTP} @@ -6997,8 +7587,8 @@ Importe les métadonnées du répertoire des paquets Rust @item opam @cindex OPAM @cindex OCaml -Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package -repository used by the OCaml community. +Importe les métadonnées du répertoire de paquets +@uref{https://opam.ocaml.org/, OPAM} utilisé par la communauté OCaml @end table La structure du code de @command{guix import} est modulaire. Il serait @@ -7240,6 +7830,39 @@ opérations avec GnuPG : Utilise @var{commande} comme la commande de GnuPG 2.x. @var{commande} est recherchée dans @code{PATH}. +@item --keyring=@var{fichier} +Utilise @var{fichier} comme porte-clefs pour les clefs amont. @var{fichier} +doit être dans le @dfn{format keybox}. Les fichiers Keybox ont d'habitude +un nom qui fini par @file{.kbx} et GNU@tie{}Privacy Guard (GPG) peut +manipuler ces fichiers (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the +Privacy Guard}, pour plus d'informations sur un outil pour manipuler des +fichiers keybox). + +Lorsque cette option est omise, @command{guix refresh} utilise +@file{~/.config/guix/upstream/trustedkeys.kbx} comme porte-clefs pour les +clefs de signature amont. Les signatures OpenPGP sont vérifiées avec ces +clefs ; les clefs manquantes sont aussi téléchargées dans ce porte-clefs +(voir @option{--key-download} plus bas). + +Vous pouvez exporter les clefs de votre porte-clefs GPG par défaut dans un +fichier keybox avec une commande telle que : + +@example +gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx +@end example + +De même, vous pouvez récupérer des clefs dans un fichier keybox spécifique +comme ceci : + +@example +gpg --no-default-keyring --keyring mykeyring.kbx \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +@end example + +@ref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU +Privacy Guard} pour plus d'informations sur l'option @option{--keyring} de +GPG. + @item --key-download=@var{politique} Gère les clefs OpenPGP manquantes d'après la @var{politique}, qui peut être l'une des suivantes : @@ -7265,17 +7888,15 @@ clef publique. @end table -Le gestionnaire de mises à jour @code{github} utilise -@uref{https://developer.github.com/v3/, l'API de GitHub} pour faire des -requêtes sur les nouvelles versions. Lorsqu'elle est utilisé de manière -répétée, p.@: ex.@: lorsque vous vérifiez tous les paquets, GitHub finira -par refuser de répondre à d'autres requêtes de l'API. Par défaut 60 -requêtes à l'heure sont autorisées, et une vérification complète de tous les -paquets GitHub dans Guix requiert bien plus que cela. L'authentification -avec GitHub à travers l'utilisation d'un jeton d'API lève ces limites. Pour -utiliser un jeton de l'API, initialisez la variable d'environnement -@code{GUIX_GITHUB_TOKEN} avec un jeton que vous vous serez procuré sur -@uref{https://github.com/settings/tokens} ou autrement. +The @code{github} updater uses the @uref{https://developer.github.com/v3/, +GitHub API} to query for new releases. When used repeatedly e.g.@: when +refreshing all packages, GitHub will eventually refuse to answer any further +API requests. By default 60 API requests per hour are allowed, and a full +refresh on all GitHub packages in Guix requires more than this. +Authentication with GitHub through the use of an API token alleviates these +limits. To use an API token, set the environment variable +@code{GUIX_GITHUB_TOKEN} to a token procured from +@uref{https://github.com/settings/tokens} or otherwise. @node Invoquer guix lint @@ -7304,11 +7925,10 @@ natives. @itemx home-page @itemx mirror-url @itemx source-file-name -Sonde les URL @code{home-page} et @code{source} et rapporte celles qui sont -invalides. Suggère une URL en @code{mirror://} lorsque c'est possible. -Vérifie que le nom du fichier source a un sens, p.@: ex.@: qu'il ne s'agisse -pas juste d'un numéro de version ou « git-checkou », sans avoir déclaré un -@code{file-name} (@pxref{Référence d'origine}). +Probe @code{home-page} and @code{source} URLs and report those that are +invalid. Suggest a @code{mirror://} URL when applicable. Check that the +source file name is meaningful, e.g.@: is not just a version number or +``git-checkout'', without a declared @code{file-name} (@pxref{Référence d'origine}). @item cve @cindex vulnérabilités @@ -7574,7 +8194,7 @@ Cela montre le DAG @emph{inversé} des paquets. Par exemple : guix graph --type=reverse-package ocaml @end example -… montre le graphe des paquets qui dépendent de OCaml. +...@: yields the graph of packages that depend on OCaml. Remarquez que pour les paquets du cœur de la distribution, cela crée des graphes énormes. Si vous voulez seulement voir le nombre de paquets qui @@ -7591,7 +8211,7 @@ Par exemple, la commande suivante : guix graph --type=bag-emerged coreutils | dot -Tpdf > dag.pdf @end example -… montre ce graphe plus gros : +...@: yields this bigger graph: @image{images/coreutils-bag-graph,,5in,Graphe des dépendances détaillé de GNU Coreutils} @@ -7698,6 +8318,14 @@ C'est utile pour précisément se référer à un paquet, comme dans cet exemple @example guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)' @end example + +@item --system=@var{système} +@itemx -s @var{système} +Affiche le graphe pour @var{système} — p.@: ex.@: @code{i686-linux}. + +Le graphe de dépendance des paquets est la plupart du temps indépendant de +l'architecture, mais il y a quelques parties qui dépendent de l'architecture +que cette option vous permet de visualiser. @end table @@ -7759,7 +8387,7 @@ fi @end example @noindent -… ou de naviguer dans le profil : +...@: or to browse the profile: @example $ ls "$GUIX_ENVIRONMENT/bin" @@ -8584,6 +9212,63 @@ contenir un @dfn{manifeste} comme avec l'option @code{-m} de @command{guix package} (@pxref{Invoquer guix package}). @end table +@node Invoquer guix processes +@section Invoquer @command{guix processes} + +La commande @command{guix processes} peut être utile pour les développeurs +et les administrateurs systèmes, surtout sur des machines multi-utilisateurs +et sur les fermes de construction : elle liste les sessions actuelles (les +connexions au démon), ainsi que des informations sur les processus en +question@footnote{Les sessions distantes, lorsque @command{guix-daemon} est +démarré avec @option{--listen} en spécifiant un point d'entrée TCP, ne sont +@emph{pas} listées.}. Voici un exemple des informations qu'elle renvoie : + +@example +$ sudo guix processes +SessionPID: 19002 +ClientPID: 19090 +ClientCommand: guix environment --ad-hoc python + +SessionPID: 19402 +ClientPID: 19367 +ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{} + +SessionPID: 19444 +ClientPID: 19419 +ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} +LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock +LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock +LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock +ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800 +ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800 +ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800 +@end example + +Dans cet exemple, on voit que @command{guix-daemon} a trois clients directs +: @command{guix environment}, @command{guix publish} et l'outil +d'intégration continue Cuirass ; leur identifiant de processus (PID) est +donné par le champ @code{ClientPID}. Le champ @code{SessionPID} fournit le +PID du sous-processus @command{guix-daemon} de cette session particulière. + +Les champs @code{LockHeld} montrent quels éléments du dépôt sont +actuellement verrouillés par cette session, ce qui correspond aux éléments +du dépôt qui sont en train d'être construits ou d'être substitués (le champ +@code{LockHeld} n'est pas montré si @command{guix processes} n'est pas lancé +en root). Enfin, en regardant le champ @code{ChildProcess}, on comprend que +ces trois constructions sont déchargées (@pxref{Réglages du délestage du démon}). + +La sortie est dans le format Recutils pour qu'on puisse utiliser la commande +@command{recsel} pour sélectionner les sessions qui nous intéressent +(@pxref{Selection Expressions,,, recutils, GNU recutils manual}). Par +exemple, la commande montre la ligne de commande et le PID du client qui +effectue la construction d'un paquet Perl : + +@example +$ sudo guix processes | \ + recsel -p ClientPID,ClientCommand -e 'LockHeld ~ "perl"' +ClientPID: 19419 +ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} +@end example @c ********************************************************************* @node Distribution GNU @@ -8731,8 +9416,8 @@ De plus en plus de services systèmes sont fournis (@pxref{Services}) mais certains manquent toujours cruellement. @item -More than 7,500 packages are available, but you might occasionally find that -a useful package is missing. +Plus de 7@tie{}500 paquets sont disponibles, mais vous pourrez parfois +trouver qu'un paquet utile est absent. @item GNOME, Xfce, LXDE et Enlightenment sont disponibles (@pxref{Services de bureaux}), ainsi qu'un certain nombre de gestionnaires de fenêtres X11. @@ -8785,10 +9470,10 @@ leur support dans GNU/Linux. @node Installation depuis une clef USB ou un DVD @subsection Installation depuis une clef USB ou un DVD -An ISO-9660 installation image that can be written to a USB stick or burnt -to a DVD can be downloaded from -@indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz}, -where @var{system} is one of: +Une image d'installation ISO-9660 téléchargeable depuis +@indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{système}.iso.xz} +peut être écrite sur une clef USB ou gravée sur un DVD, où @var{système} est +l'une de ces valeurs : @table @code @item x86_64-linux @@ -8811,7 +9496,8 @@ Si cette commande échoue parce que vous n'avez pas la clef publique requise, lancez cette commande pour l'importer : @example -$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +$ gpg --keyserver @value{KEY-SERVER} \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} @end example @noindent @@ -8924,7 +9610,8 @@ loadkey} pour plus d'informations. @subsubsection Réseau -Run the following command to see what your network interfaces are called: +Lancez la commande suivante pour voir comment vos interfaces réseau sont +appelées : @example ifconfig -a @@ -9051,42 +9738,44 @@ parted /dev/sda set 1 esp on @quotation Remarque @vindex grub-bootloader @vindex grub-efi-bootloader -Unsure whether to use EFI- or BIOS-based GRUB? If the directory -@file{/sys/firmware/efi} exists in the installation image, then you should -probably perform an EFI installation, using @code{grub-efi-bootloader}. -Otherwise you should use the BIOS-based GRUB, known as -@code{grub-bootloader}. @xref{Configuration du chargeur d'amorçage}, for more info on -bootloaders. +Vous n'êtes pas sûr de savoir si vous devez utiliser un GRUB EFI ou BIOS ? +Si le répertoire @file{/sys/firmware/efi} existe sur l'image d'installation, +vous devriez probablement effectuer une installation EFI, avec +@code{grub-efi-bootloader}. Sinon, vous devriez utiliser le GRUB en BIOS, +@code{grub-bootloader}. @xref{Configuration du chargeur d'amorçage} pour plus +d'information sur le chargeur d'amorçage. @end quotation -Once you are done partitioning the target hard disk drive, you have to -create a file system on the relevant partition(s)@footnote{Currently GuixSD -only supports ext4 and btrfs file systems. In particular, code that reads -file system UUIDs and labels only works for these file system types.}. For -the ESP, if you have one and assuming it is @file{/dev/sda1}, run: +Une fois que vous avez fini le partitionnement du disque dur cible, vous +devez créer un système de fichier sur les partitions@footnote{Actuellement +GuixSD ne supporte que les systèmes de fichiers ext4 et btrfs. En +particulier, le code qui lit les UUID des systèmes de fichiers et les +étiquettes ne fonctionne que pour ces types de systèmes de fichiers.}. Pour +l'ESP, si vous en avez une et en supposant que ce soit @file{/dev/sda1}, +lancez : @example mkfs.fat -F32 /dev/sda1 @end example -Preferably, assign file systems a label so that you can easily and reliably -refer to them in @code{file-system} declarations (@pxref{Systèmes de fichiers}). -This is typically done using the @code{-L} option of @command{mkfs.ext4} and -related commands. So, assuming the target root partition lives at -@file{/dev/sda2}, a file system with the label @code{my-root} can be created -with: +Préférez assigner une étiquette au système de fichier pour que vous puissiez +vous y référer de manière fiable dans la déclaration @code{file-system} +(@pxref{Systèmes de fichiers}). On le fait habituellement avec l'option @code{-L} +de @command{mkfs.ext4} et des commandes liées. Donc, en supposant que la +partition racine soit sur @file{/dev/sda2}, on peut créer un système de +fichier avec pour étiquette @code{my-root} avec : @example mkfs.ext4 -L my-root /dev/sda2 @end example @cindex chiffrement du disque -If you are instead planning to encrypt the root partition, you can use the -Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, +Si vous voulez plutôt chiffrer la partition racine, vous pouvez utiliser les +utilitaires Cryptsetup et LUKS pour cela (voir @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, -@code{man cryptsetup}} for more information.) Assuming you want to store -the root partition on @file{/dev/sda2}, the command sequence would be along -these lines: +@code{man cryptsetup}} pour plus d'informations). En supposant que vous +voulez stocker la partition racine sur @file{/dev/sda2}, la séquence de +commandes suivante vous mènerait à ce résultat : @example cryptsetup luksFormat /dev/sda2 @@ -9107,10 +9796,11 @@ système cible relativement à ce chemin. Si vous avez un @file{/boot} sur une partition séparé par exemple, montez-le sur @file{/mnt/boot} maintenant pour qu'il puisse être trouvé par @code{guix system init} ensuite. -Finally, if you plan to use one or more swap partitions (@pxref{Memory -Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure -to initialize them with @command{mkswap}. Assuming you have one swap -partition on @file{/dev/sda3}, you would run: +Enfin, si vous souhaitez utiliser une ou plusieurs partitions de swap +(@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference +Manual}), assurez-vous de les initialiser avec @command{mkswap}. En +supposant que vous avez une partition de swap sur @file{/dev/sda3}, vous +pouvez lancer : @example mkswap /dev/sda3 @@ -9196,10 +9886,10 @@ partition EFI montée, comme @code{/boot/efi}, et assurez-vous que ce chemin est bien monté. @item -Be sure that your file system labels match the value of their respective -@code{device} fields in your @code{file-system} configuration, assuming your -@code{file-system} configuration uses the @code{file-system-label} procedure -in its @code{device} field. +Assurez-vous que les étiquettes de vos systèmes de fichiers correspondent +aux valeurs de leur champs @code{device} dans votre configuration +@code{file-system}, en supposant que la configuration @code{file-system} +utilise la procédure @code{file-system-label} dans son champ @code{device}. @item Si vous avez des partitions RAID ou chiffrées, assurez-vous d'ajouter un @@ -9407,16 +10097,16 @@ d'exploitation avec @command{guix system}. @unnumberedsubsubsec Bootloader -@cindex legacy boot, on Intel machines -@cindex BIOS boot, on Intel machines -@cindex UEFI boot -@cindex EFI boot -The @code{bootloader} field describes the method that will be used to boot -your system. Machines based on Intel processors can boot in ``legacy'' BIOS -mode, as in the example above. However, more recent machines rely instead -on the @dfn{Unified Extensible Firmware Interface} (UEFI) to boot. In that -case, the @code{bootloader} field should contain something along these -lines: +@cindex ancien système de démarrage, sur les machines Intel +@cindex démarrage BIOS, sur les machines Intel +@cindex démarrage UEFI +@cindex démarrage EFI +Le champ @code{bootloader} décrit la méthode qui sera utilisée pour démarrer +votre système. Les machines basées sur les processeurs Intel peuvent +démarrer dans l'ancien mode BIOS, comme dans l'exemple au-dessus. +Cependant, les machines plus récentes s'appuient sur l'UEFI (@dfn{Unified +Extensible Firmware Interface}) pour démarrer. Dans ce cas, le champ +@code{bootloader} devrait contenir quelque chose comme cela : @example (bootloader-configuration @@ -9424,23 +10114,23 @@ lines: (target "/boot/efi")) @end example -@xref{Configuration du chargeur d'amorçage}, for more information on the available -configuration options. +@xref{Configuration du chargeur d'amorçage}, pour plus d'informations sur les options de +configuration disponibles. @unnumberedsubsubsec Paquets visibles sur tout le système @vindex %base-packages Le champ @code{packages} liste les paquets qui seront visibles sur tout le système, pour tous les comptes utilisateurs — c.-à-d.@: dans la variable -d'environnement @code{PATH} de tous les utilisateurs — en plus des paquets -par profil (@pxref{Invoquer guix package}). La variable +d'environnement @code{PATH} de tous les utilisateurs — en plus des profils +utilisateurs (@pxref{Invoquer guix package}). La variable @var{%base-packages} fournit tous les outils qu'on pourrait attendre pour les taches de base de l'administrateur et de l'utilisateur — dont les GNU Core Utilities, les GNU Networking Utilities, l'éditeur de texte léger GNU -Zile, @command{find}, @command{grep}, etc. L'exemple au-dessus ajout -GNU@tie{}Screen et OpenSSH à ces paquets, récupérés depuis les modules -@code{(gnu packages screen)} et @code{(gnu packages ssh)} (@pxref{Modules de paquets}). La syntaxe @code{(list paquet sortie)} peut être utilisée pour -ajouter une sortie spécifique d'un paquet : +Zile, @command{find}, @command{grep}, etc. L'exemple au-dessus ajoute +GNU@tie{}Screen à ces paquets, récupéré depuis le module @code{(gnu packages +screen)} (@pxref{Modules de paquets}). Vous pouvez utiliser la syntaxe +@code{(list paquet sortie)} pour ajouter une sortie spécifique d'un paquet : @lisp (use-modules (gnu packages)) @@ -9535,8 +10225,8 @@ l'énergie, et bien plus, ressemblerait à ceci : @include os-config-desktop.texi @end lisp -A graphical system with a choice of lightweight window managers instead of -full-blown desktop environments would look like this: +Un système graphique avec un choix de gestionnaires de fenêtres légers +plutôt que des environnement de bureaux complets ressemblerait à cela : @lisp @include os-config-lightweight-desktop.texi @@ -9590,17 +10280,18 @@ système disponibles sur le disque. Il est possible de revenir à une ancienne génération via les commandes @command{guix system roll-back} et @command{guix system switch-generation}. -Although the @command{guix system reconfigure} command will not modify -previous generations, you must take care when the current generation is not -the latest (e.g., after invoking @command{guix system roll-back}), since the -operation might overwrite a later generation (@pxref{Invoquer guix system}). +Bien que la commande @command{guix system reconfigure} ne modifiera pas les +générations précédentes, vous devez faire attention lorsque votre génération +actuelle n'est pas la dernière (p.@: ex.@: après avoir invoqué @command{guix +system roll-back}), puisque l'opération pourrait remplacer une génération +suivante (@pxref{Invoquer guix system}). @unnumberedsubsubsec L'interface de programmation Au niveau Scheme, la grosse déclaration @code{operating-system} est instanciée avec la procédure monadique suivante (@pxref{La monad du dépôt}) : -@deffn {Procédure Monadique} operating-system-derivation os +@deffn {Procédure monadique} operating-system-derivation os Renvoie une dérivation qui construit @var{os}, un objet @code{operating-system} (@pxref{Dérivations}). @@ -9645,9 +10336,9 @@ La liste des modules du noyau linux requis dans l'image disque de RAM initiale. @xref{Disque de RAM initial}. @item @code{initrd} (par défaut : @code{base-initrd}) -Une procédure monadique qui renvoie un disque de RAM initial pour le noyau -Linux. Ce champ est fournit pour pouvoir personnaliser son système à -bas-niveau et n'est que rarement utile dans le cas général. @xref{Disque de RAM initial}. +Une procédure qui renvoie un disque de RAM initial pour le noyau Linux. Ce +champ est fournit pour pouvoir personnaliser son système à bas-niveau et +n'est que rarement utile dans le cas général. @xref{Disque de RAM initial}. @item @code{firmware} (par défaut : @var{%base-firmware}) @cindex firmware @@ -10375,11 +11066,14 @@ exemple : La commande ci-dessus, lancée en @code{root}, liste les services actuellement définis. La commande @command{herd doc} montre un synopsis du -service donné : +service donné et ses actions associées : @example # herd doc nscd Run libc's name service cache daemon (nscd). + +# herd doc nscd action invalidate +invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups. @end example Les sous-commandes @command{start}, @command{stop} et @command{restart} ont @@ -10420,7 +11114,8 @@ par les services de base qui peuvent être utilisés avec une déclaration * Services VPN:: Démons VPN * Système de fichiers en réseau:: Services liés à NFS@. * Intégration continue:: Le service Cuirass. -* Power Management Services:: Extending battery life. +* Services de gestion de l'énergie:: Augmenter la durée de vie de la + batterie. * Services audio:: MPD@. * Services de virtualisation:: Services de virtualisation. * Services de contrôle de version:: Fournit des accès distants à des @@ -10587,9 +11282,8 @@ Sinon et s'il y a une valeur pour une option @code{console} avec un tty sur la ligne de commande du noyau Linux, agetty extraira le nom du périphérique du port série et l'utilisera. -Dans les deux cas, agetty laissera les autres paramètres du périphérique -série (baud, etc) sans y toucher — dans l'espoir que Linux leur a assigné -les bonnes valeurs. +In both cases, agetty will leave the other serial device settings (baud rate +etc.)@: alone---in the hope that Linux pinned them to the correct values. @item @code{baud-rate} (par défaut : @code{#f}) Une chaîne qui contient une liste d'un ou plusieurs taux de baud séparés par @@ -10770,6 +11464,11 @@ connexion par défaut est @command{login} de la suite d'outils Shadow. @item @code{login-arguments} (par défaut : @code{'("-p")}) Une liste d'arguments à passer à @command{login}. +@item @code{auto-login} (par défaut : @code{#f}) +Lorsqu'un nom de connexion est passé comme une chaîne de caractères, +l'utilisateur spécifié sera automatiquement connecté sans demande du nom +d'utilisateur ni du mot de passe. + @item @code{hardware-acceleration?} (par défaut : #f) S'il faut utiliser l'accélération matérielle. @@ -10786,6 +11485,28 @@ Le paquet Kmscon à utiliser. Renvoie un service qui lance le démon de cache de services de noms de la libc (nscd) avec la @var{config} donnée — un objet @code{}. @xref{Name Service Switch}, pour un exemple. + +Parce que c'est pratique, le service du Shepherd pour nscd fournit les +actions suivantes : + +@table @code +@item invalidate +@cindex invalidation du cache, nscd +@cindex nscd, invalidation du cache +Cela invalide le cache dnné. Par exemple, en laçant : + +@example +herd invalidate nscd hosts +@end example + +@noindent +on invalide le cache de noms d'hôtes de nscd. + +@item statistiques +Lancer @command{herd statistics nscd} affiche des informations sur +l'utilisation de nscd et des caches. +@end table + @end deffn @defvr {Variable Scheme} %nscd-default-configuration @@ -10901,6 +11622,12 @@ Renvoie un service qui lance un démon syslog en suivant @var{config}. d'informations sur la syntaxe du fichier de configuration. @end deffn +@defvr {Variable Scheme} guix-service-type +C'est le type de service qui lance le démon de construction, +@command{guix-daemon} (@pxref{Invoquer guix-daemon}). Sa valeur doit être +un enregistrement @code{guix-configuration} décrit plus bas. +@end defvr + @anchor{guix-configuration-type} @deftp {Type de données} guix-configuration Ce type de données représente la configuration du démon de construction de @@ -10961,11 +11688,6 @@ Un répertoire où @command{guix-daemon} effectuera ses constructions. @end table @end deftp -@deffn {Procédure Scheme} guix-service @var{config} -Renvoie un service qui fait tourner le démon de construction de Guix en -suivant @var{config}. -@end deffn - @deffn {Procédure Scheme} udev-service [#:udev @var{eudev} #:rules @code{'()}] Lance @var{udev}, qui rempli le répertoire @file{/dev} dynamiquement. Les règles udev peuvent être fournies comme une liste de fichier via la variable @@ -11288,16 +12010,16 @@ gexps pour introduire des définitions de tâches qui sont passées à mcron plus d'informations sur les spécifications des tâche de mcron. Ci-dessous est la référence du service mcron. -On a running system, you can use the @code{schedule} action of the service -to visualize the mcron jobs that will be executed next: +Sur un système lancé, vous pouvez utiliser l'action @code{schedule} du +service pour visualiser les travaux mcron qui seront exécutés ensuite : @example # herd schedule mcron @end example @noindent -The example above lists the next five tasks that will be executed, but you -can also specify the number of tasks to display: +Cet exemple ci-dessus montre les cinq tâches qui seront exécutés, mais vous +pouvez spécifier le nombre de tâches à afficher : @example # herd schedule mcron 10 @@ -11451,11 +12173,12 @@ Le module @code{(gnu services networking)} fournit des services pour configurer les interfaces réseaux. @cindex DHCP, service réseau -@deffn {Procédure Scheme} dhcp-client-service [#:dhcp @var{isc-dhcp}] -Renvoie un service qui lance @var{dhcp}, un client DHCP (Dynamic Host -Configuration Protocol) sur toutes les interfaces réseaux en dehors de la -boucle locale. -@end deffn +@defvr {Variable Scheme} dhcp-client-service-type +C'est le type de services qui lance @var{dhcp}, un client DHC (protocole de +configuration d'hôte dynamique) sur toutes les interfaces réseau +non-loopback. Sa valeur est le paquet du client DHCP à utiliser, +@code{isc-dhcp} par défaut. +@end defvr @deffn {Procédure Scheme} dhcpd-service-type Ce type définie un service qui lance un démon DHCP. Pour créer un service @@ -11508,17 +12231,27 @@ C'est le type des interfaces réseaux configurés statiquement. @end defvr @deffn {Procédure Scheme} static-networking-service @var{interface} @var{ip} @ - [#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement -@code{'(udev)}] Return a service that starts @var{interface} with address -@var{ip}. If @var{netmask} is true, use it as the network mask. If -@var{gateway} is true, it must be a string specifying the default network -gateway. @var{requirement} can be used to declare a dependency on another -service before configuring the interface. + [#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ +[#:requirement @code{'(udev)}] +Renvoie un service qui démarre @var{interface} avec l'adresse @var{ip}. Si +@var{netmask} est vrai, il sera utilisé comme masque de sous-réseau. Si +@var{gateway} est vrai, ce doit être une chaîne de caractères qui spécifie +la passerelle par défaut du réseau. @var{requirement} peut être utilisé +pour déclarer une dépendance sur un autre service avant de configurer +l'interface. On peut appeler cette procédure plusieurs fois, une fois par interface réseau qui nous intéresse. Dans les coulisses, elle étend @code{static-networking-service-type} avec les interfaces réseaux supplémentaires à gérer. + +Par exemple : + +@example +(static-networking-service "eno1" "192.168.1.82" + #:gateway "192.168.1.2" + #:name-servers '("192.168.1.2")) +@end example @end deffn @cindex wicd @@ -11627,41 +12360,123 @@ Type de données représentant la configuration de connman. Le paquet connman à utiliser. @item @code{disable-vpn?} (par défaut : @code{#f}) -Lorsque la valeur est vraie, active le greffon vpn de connman. +Lorsque la valeur est vraie, désactive le greffon vpn de connman. @end table @end deftp @cindex WPA Supplicant @defvr {Variable Scheme} wpa-supplicant-service-type -C'est le type du service qui lance @url{https://w1.fi/wpa_supplicant/,WPA +C'est le type du service qui lance@url{https://w1.fi/wpa_supplicant/,WPA supplicant}, un démon d'authentification requis pour s'authentifier sur des -WiFi chiffrés ou des réseaux ethernet. l est configuré pour écouter des -requêtes sur D-Bus. +WiFi chiffrés ou des réseaux ethernet. +@end defvr -La valeur de ce service est le paquet @code{wpa-supplicant} à utiliser. -Ainsi, il peut être instancié de cette manière : +@deftp {Type de données} wpa-supplicant-configuration +Type données qui représente la configuration de WPA Supplicant. + +Il prend les paramètres suivants : + +@table @asis +@item @code{wpa-supplicant} (par défaut : @code{wpa-supplicant}) +Le paquet WPA Supplicant à utiliser. + +@item @code{dbus?} (par défaut : @code{#t}) +Indique s'il faut écouter les requêtes sur D-Bus. + +@item @code{pid-file} (par défaut : @code{"/var/run/wpa_supplicant.pid"}) +Où stocker votre fichier de PID. + +@item @code{interface} (par défaut : @code{#f}) +Si une valeur est indiquée, elle doit spécifier le nom d'une interface +réseau que WPA supplicant contrôlera. + +@item @code{config-file} (par défaut : @code{#f}) +Fichier de configuration facultatif à utiliser. + +@item @code{extra-options} (par défaut : @code{'()}) +Liste d'arguments de la ligne de commande supplémentaires à passer au démon. +@end table +@end deftp + +@cindex iptables +@defvr {Variable Scheme} iptables-service-type +This is the service type to set up an iptables configuration. iptables is a +packet filtering framework supported by the Linux kernel. This service +supports configuring iptables for both IPv4 and IPv6. A simple example +configuration rejecting all incoming connections except those to the ssh +port 22 is shown below. @lisp -(use-modules (gnu services networking)) - -(service wpa-supplicant-service-type) +(service iptables-service-type + (iptables-configuration + (ipv4-rules (plain-file "iptables.rules" "*filter +:INPUT ACCEPT +:FORWARD ACCEPT +:OUTPUT ACCEPT +-A INPUT -p tcp --dport 22 -j ACCEPT +-A INPUT -j REJECT --reject-with icmp-port-unreachable +COMMIT +")) + (ipv6-rules (plain-file "ip6tables.rules" "*filter +:INPUT ACCEPT +:FORWARD ACCEPT +:OUTPUT ACCEPT +-A INPUT -p tcp --dport 22 -j ACCEPT +-A INPUT -j REJECT --reject-with icmp6-port-unreachable +COMMIT +")))) @end lisp @end defvr -@cindex NTP +@deftp {Type de données} iptables-configuration +Type de données représentant la configuration d'iptables. + +@table @asis +@item @code{iptables} (par défaut : @code{iptables}) +Le paquet iptables qui fournit @code{iptables-restore} et +@code{ip6tables-restore}. +@item @code{ipv4-rules} (par défaut : @code{%iptables-accept-all-rules}) +Les règles iptables à utiliser. Elles seront passées à +@code{iptables-restore}. Cela peut être un objet « simili-fichier » +(@pxref{G-Expressions, file-like objects}). +@item @code{ipv6-rules} (par défaut : @code{%iptables-accept-all-rules}) +Les règles iptables à utiliser. Elles seront passées à +@code{ip6tables-restore}. Cela peut être un objet « simili-fichier » +(@pxref{G-Expressions, file-like objects}). +@end table +@end deftp + +@cindex NTP (Network Time Protocol), service @cindex horloge -@deffn {Procédure Scheme} ntp-service [#:ntp @var{ntp}] @ - [#:servers @var{%ntp-servers}] @ -[#:allow-large-adjustment? #f] -Renvoie un service qui lance le démon de @var{ntp}, le -@uref{http://www.ntp.org, paquet Network Time Protocol}. Le démon gardera -l'horloge système synchronisée avec celle des serveurs @var{servers}. -@var{allow-large-adjustment?} détermine si @command{ntpd} a le droit de -faire des ajustements initiaux de plus de 1 000 secondes. -@end deffn +@defvr {Variable Scheme} ntp-service-type +This is the type of the service running the @uref{http://www.ntp.org, +Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep +the system clock synchronized with that of the specified NTP servers. + +La valeur de ce service est un objet @code{ntpd-configuration}, décrit +ci-dessous. +@end defvr + +@deftp {Type de données} ntp-configuration +C'est le type de données représentant la configuration du service NTP. + +@table @asis +@item @code{servers} (par défaut : @code{%ntp-servers}) +C'est la liste des serveurs (noms d'hôtes) avec lesquels @command{ntpd} sera +synchronisé. + +@item @code{allow-large-adjustment?} (par défaut : @code{#f}) +Détermine si @code{ntpd} peut faire un ajustement initial de plus de +1@tie{}000 secondes. + +@item @code{ntp} (par défaut : @code{ntp}) +Le paquet NTP à utiliser. +@end table +@end deftp @defvr {Variable Scheme} %ntp-servers -Liste des noms d'hôtes utilisés comme serveurs NTP par défaut. +Liste de noms d'hôtes à utiliser comme serveurs NTP par défaut. Ce sont les +serveurs du @uref{https://www.ntppool.org/fr/, projet NTP Pool} @end defvr @cindex OpenNTPD @@ -11799,19 +12614,18 @@ Une chaîne de caractères qui doit correspondre à une entrée dans Indique si @command{inetd} devrait attendre que le serveur ait quitté avant d'écouter de nouvelles demandes de service. @item @code{user} -Une chaîne de caractères contenant le nom d'utilisateur (et éventuellement -de groupe) de l'utilisateur en tant que lequel le serveur devrait tourner. -Le nom du groupe peut être spécifié comme un suffixe, séparé par un -deux-points ou un point, c.-à-d.@: @code{"utilisateur"}, -@code{"utilisateur:groupe"} ou @code{"utilisateur.groupe"}. +A string containing the user (and, optionally, group) name of the user as +whom the server should run. The group name can be specified in a suffix, +separated by a colon or period, i.e.@: @code{"user"}, @code{"user:group"} or +@code{"user.group"}. @item @code{program} (par défaut : @code{"internal"}) Le programme du serveur qui servira les requêtes, ou @code{"internal"} si @command{inetd} devrait utiliser un service inclus. @item @code{arguments} (par défaut : @code{'()}) -Une liste de chaînes de caractères ou d'objets simili-fichiers qui sont les -arguments du programme du serveur, en commençant par le zéroième argument, -c.-à-d.@: le nom du programme lui-même. Pour les services internes à -@command{inetd}, cette entrée doit être @code{'()} ou @code{'("internal")}. +A list strings or file-like objects, which are the server program's +arguments, starting with the zeroth argument, i.e.@: the name of the program +itself. For @command{inetd}'s internal services, this entry must be +@code{'()} or @code{'("internal")}. @end table @xref{Configuration file,,, inetutils, GNU Inetutils} pour trouver une @@ -11819,17 +12633,60 @@ discussion plus détaillée de chaque champ de configuration. @end deftp @cindex Tor -@deffn {Procédure Scheme} tor-service [@var{config-file}] [#:tor @var{tor}] -Renvoie un service qui lance le démon de réseau anonyme -@uref{https://torproject.org, Tor}. +@defvr {Variable Scheme} tor-service-type +C'est le type pour un service qui lance le démon de navigation anonyme +@uref{https://torproject.org, Tor}. Le service est configuré avec un +enregistrement @code{}. Par défaut, le démon Tor est +lancé en tant qu'utilisateur non privilégié @code{tor}, membre du groupe +@code{tor}. -Le démon est lancé avec l'identité de l'utilisateur non privilégié -@code{tor}. Il lit @var{config-file}, un objet simili-fichier, avec une -ligne @code{User tor} supplémentaire et des lignes pour les services cachés -ajoutées par des @code{tor-hidden-service}. Lncez @command{man tor} pour -obtenir des informations sur le fichier de configuration. +@end defvr + +@deffn {Procédure Scheme} tor-service [@var{config-file}] [#:tor @var{tor}] +Cette procédure est obsolète et sera supprimée dans les futures versions. +Renvoie un service de type @code{tor-service-type}. @var{config-file} et +@var{tor} ont la même signification que dans @code{}. @end deffn +@deftp {Type de données} tor-configuration +@table @asis +@item @code{tor} (par défaut : @code{tor}) +Le paquet qui fournit le démon Tor. Ce paquet doit fournir le démon +@file{bin/tor} relativement à son répertoire de sortie. Le paquet par +défaut est le l'implémentation du @uref{https://www.torproject.org, projet +Tor}. + +@item @code{config-file} (par défaut : @code{(plain-file "empty" "")}) +Le fichier de configuration à utiliser. Il sera ajouté au fichier de +configuration par défaut, et le fichier de configuration final sera passé à +@code{tor} via son option @code{-f}. Cela peut être n'importe quel objet « +simili-fichier » (@pxref{G-Expressions, file-like objects}). Voir @code{man +tor} pour plus de détails sur la syntaxe du fichier de configuration. + +@item @code{hidden-services} (par défaut : @code{'()}) +La liste des enregistrements @code{} à utiliser. Pour +n'importe quel service cache que vous ajoutez à cette liste, la +configuration appropriée pour activer le service caché sera automatiquement +ajouté au fichier de configuration par défaut. Vous pouvez aussi créer des +enregistrements @code{} avec la procédure +@code{tor-hidden-service} décrite plus bas. + +@item @code{socks-socket-type} (par défaut : @code{'tcp}) +Le type de socket par défaut que Tor devrait utiliser pour les socket +SOCKS. Cela doit être soit @code{'tcp} soit @code{'unix}. S'il s'agit de +@code{'tcp}, alors Tor écoutera pas défaut sur le port TCP 9050 sur +l'interface de boucle locale (c.-à-d.@: localhost). S'il s'agit de +@code{'unix}, Tor écoutera sur le socket UNIX domain +@file{/var/run/tor/socks-sock}, qui sera inscriptible pour les membres du +groupe @code{tor}. + +Si vous voulez personnaliser le socket SOCKS plus avant, laissez +@code{socks-socket-type} à sa valeur par défaut de @code{'tcp} et utilisez +@code{config-file} pour remplacer les valeurs par défaut avec votre propre +option @code{SocksPort}. +@end table +@end deftp + @cindex service caché @deffn {Procédure Scheme} tor-hidden-service @var{name} @var{mapping} Définie un @dfn{service caché} pour Tor nommé @var{name} qui implémente @@ -12032,17 +12889,18 @@ Lorsque la valeur est vraie, le transfert de connexion du client graphique X11 est activé — en d'autre termes, les options @option{-X} et @option{-Y} de @command{ssh} fonctionneront. -@item @code{allow-agent-forwarding?} (default: @code{#t}) -Whether to allow agent forwarding. +@item @code{allow-agent-forwarding?} (par défaut : @code{#t}) +Indique s'il faut autoriser la redirection d'agent. -@item @code{allow-tcp-forwarding?} (default: @code{#t}) -Whether to allow TCP forwarding. +@item @code{allow-tcp-forwarding?} (par défaut : @code{#t}) +Indique s'il faut autoriser la redirection TCP. -@item @code{gateway-ports?} (default: @code{#f}) -Whether to allow gateway ports. +@item @code{gateway-ports?} (par défaut : @code{#f}) +Indique s'il faut autoriser les ports de passerelle. @item @code{challenge-response-authentication?} (par défaut : @code{#f}) -Spécifie si l'authentification par défi est autorisée (p.@: ex.@: via PAM). +Specifies whether challenge response authentication is allowed (e.g.@: via +PAM). @item @code{use-pam?} (par défaut : @code{#t}) Active l'interface avec le module d'authentification greffable, PAM. Si la @@ -12062,8 +12920,7 @@ connexion des utilisateurs lorsqu'un utilisateur se connecte de manière interactive. @item @code{subsystems} (par défaut : @code{'(("sftp" "internal-sftp"))}) -Configure les sous-systèmes externes (p.@: ex.@: le démon de transfert de -fichiers). +Configures external subsystems (e.g.@: file transfer daemon). C'est une liste de paires, composées chacune du nom du sous-système et d'une commande (avec éventuellement des arguments) à exécuter à la demande du @@ -12121,6 +12978,13 @@ Des clefs autorisées supplémentaires peuvent être spécifiées via Remarquez que cela n'interfère @emph{pas} avec l'utilisation de @file{~/.ssh/authorized_keys}. + +@item @code{log-level} (par défaut : @code{'info}) +C'est le symbole qui spécifie le niveau de journalisation : @code{quiet}, +@code{fatal}, @code{error}, @code{info}, @code{verbose}, @code{debug}, etc. +Voir la page de manuel de @file{sshd_config} pour trouver la liste complète +des noms de niveaux. + @end table @end deftp @@ -12563,10 +13427,11 @@ GNOME. Par défaut, la configuration du service CUPS générera un certificat auto-signé si besoin, pour les connexions sécurisée avec le serveur d'impression. -Suppose you want to enable the Web interface of CUPS and also add support -for Epson printers @i{via} the @code{escpr} package and for HP printers -@i{via} the @code{hplip-minimal} package. You can do that directly, like -this (you need to use the @code{(gnu packages cups)} module): +Supposons que vous souhaitiez activer l'interface Web de CUPS et ajouter le +support pour les imprimantes Epson via le paquet @code{escpr} et our les +imprimantes HP via le paquet @code{hplip-minimal}. Vous pouvez le faire +directement, comme ceci (vous devez utiliser le module @code{(gnu packages +cups)}) : @example (service cups-service-type @@ -12576,9 +13441,9 @@ this (you need to use the @code{(gnu packages cups)} module): (list cups-filters escpr hplip-minimal)))) @end example -Note: If you wish to use the Qt5 based GUI which comes with the hplip -package then it is suggested that you install the @code{hplip} package, -either in your OS configuration file or as your user. +Remarque : si vous souhaitez utiliser la GUI basée sur Qt5 qui provient du +paquet hplip, nous vous suggérons d'installer le paquet @code{hplip}, soit +dans votre configuration d'OS, soit en tant qu'utilisateur. Les paramètres de configuration disponibles sont les suivants. Chaque définition des paramètres est précédé par son type ; par exemple, @@ -13731,15 +14596,15 @@ service D-Bus. @cindex ALSA @cindex PulseAudio, support du son -The @code{(gnu services sound)} module provides a service to configure the -Advanced Linux Sound Architecture (ALSA) system, which making PulseAudio the -prefered ALSA output driver. +Le module @code{(gnu services sound)} fournit un service pour configurer le +système ALSA (architecture son linux avancée), qui fait de PulseAudio le +pilote de sortie préféré d'ALSA. @deffn {Variable Scheme} alsa-service-type -This is the type for the @uref{https://alsa-project.org/, Advanced Linux -Sound Architecture} (ALSA) system, which generates the -@file{/etc/asound.conf} configuration file. The value for this type is a -@command{alsa-configuration} record as in this example: +C'est le type pour le système @uref{https://alsa-project.org/, Advanced +Linux Sound Architecture} (ALSA), qui génère le fichier de configuration +@file{/etc/asound.conf}. La valer de ce type est un enregistrement +@command{alsa-configuration} comme dans cet exemple : @example (service alsa-service-type) @@ -13752,8 +14617,8 @@ Voir plus bas pour des détails sur @code{alsa-configuration}. Type de données représentant la configuration pour @code{alsa-service}. @table @asis -@item @code{alsa-plugins} (default: @var{alsa-plugins}) -@code{alsa-plugins} package to use. +@item @code{alsa-plugins} (par défaut : @var{alsa-plugins}) +Le paquet @code{alsa-plugins} à utiliser. @item @code{pulseaudio?} (par défaut : @var{#t}) Indique si les applications ALSA devraient utiliser le serveur de son @@ -13765,21 +14630,21 @@ produisent du son en même temps et de les contrôler individuellement via @command{pavucontrol} entre autres choses. @item @code{extra-options} (par défaut : @var{""}) -String to append to the @file{/etc/asound.conf} file. +Chaîne à ajouter au fichier @file{/etc/asound.conf}. @end table @end deftp -Individual users who want to override the system configuration of ALSA can -do it with the @file{~/.asoundrc} file: +Les utilisateurs individuels qui veulent modifier la configuration système +d'ALSA peuvent le faire avec le fichier @file{~/.asoundrc} : @example -# In guix, we have to specify the absolute path for plugins. +# Dans guix, il faut spécifier le chemin absolu des greffons. pcm_type.jack @{ lib "/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so" @} -# Routing ALSA to jack: +# Faire passer ALSA par Jack : # . pcm.rawjack @{ type jack @@ -13802,8 +14667,8 @@ pcm.!default @{ @} @end example -See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the -details. +Voir @uref{https://www.alsa-project.org/main/index.php/Asoundrc} pour les +détails. @node Services de bases de données @@ -14110,11 +14975,30 @@ S'il faut utiliser SSL pour ce service ; @samp{yes}, @samp{no} ou @end deftypevr +@deftypevr {paramètre de @code{service-configuration}} non-negative-integer client-limit +Connexions de clients simultanées maximum par processus. Une fois ce nombre +de connections atteint, la connexion suivante fera en sorte que Dovecot +démarre un autre processus. Si la valeur est 0, @code{default-client-limit} +est utilisé à la place. + +La valeur par défaut est @samp{0}. + +@end deftypevr + @deftypevr {paramètre de @code{service-configuration}} non-negative-integer service-count Nombre de connexions à gérer avant de démarrer un nouveau processus. Typiquement les valeurs utiles sont 0 (sans limite) ou 1. 1 est plus sûr, mais 0 est plus rapide. . La valeur par défaut est @samp{1}. + +@end deftypevr + +@deftypevr {paramètre de @code{service-configuration}} non-negative-integer process-limit +Nombre de processus maximum qui peut exister pour ce service. Si la valeur +est 0, @code{default-process-limit} est utilisé à la place. + +La valeur par défaut est @samp{0}. + @end deftypevr @deftypevr {paramètre de @code{service-configuration}} non-negative-integer process-min-avail @@ -14300,24 +15184,21 @@ défaut est @samp{()}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} space-separated-string-list login-access-sockets -Liste des sockets de vérification d'accès de connexion (p.@: ex.@: -tcpwrap). La valeur par défaut est @samp{()}. +List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean verbose-proctitle? -Montre des titres de processus plus verbeux (dans ps). Actuellement, montre -le nom d'utilisateur et l'adresse IP. Utile pour voir qui utilise les -processus IMAP (p.@: ex.@: des boîtes aux lettres partagées ou si le même -uid est utilisé pour plusieurs comptes). La valeur par défaut est -@samp{#f}. +Show more verbose process titles (in ps). Currently shows user name and IP +address. Useful for seeing who is actually using the IMAP processes (e.g.@: +shared mailboxes or if the same uid is used for multiple accounts). +Defaults to @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean shutdown-clients? -Indique si les processus devraient toujours être tués lorsque le processus -maître de Dovecot est éteint. La valeur @code{#f} signifie que Dovecot peut -être mis à jour sans forcer les connexions clientes existantes à se fermer -(bien que cela puisse être un problème si la mise à jour est un correctif de -sécurité par exemple). La valeur par défaut est @samp{#t}. +Should all processes be killed when Dovecot master process shuts down. +Setting this to @code{#f} means that Dovecot can be upgraded without forcing +existing client connections to close (although that could also be a problem +if the upgrade is e.g.@: due to a security fix). Defaults to @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer doveadm-worker-count @@ -14338,19 +15219,17 @@ paires clef=valeur pour toujours spécifier ce paramètre. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean disable-plaintext-auth? -Désactive la commande LOGIN et toutes les autres authentifications en texte -clair à moins que SSL/TLS ne soit utilisé (capacité LOGINDISABLED). -Remarquez que si l'IP distante correspond à l'IP locale (c.-à-d.@: que vous -vous connectez depuis le même ordinateur), la connexion est considérée comme -sécurisée et l'authentification en texte clair est permise. Voir aussi le -paramètre ssl=required. La valeur par défaut est @samp{#t}. +Disable LOGIN command and all other plaintext authentications unless SSL/TLS +is used (LOGINDISABLED capability). Note that if the remote IP matches the +local IP (i.e.@: you're connecting from the same computer), the connection +is considered secure and plaintext authentication is allowed. See also +ssl=required setting. Defaults to @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer auth-cache-size -Taille du cache d'authentification (p.@: ex.@: @samp{#e10e6}). 0 signifie -qu'il est désactivé. Remarquez que bsdauth, PAM et vpopmail ont besoin que -@samp{cache-key} soit indiqué pour que le cache soit utilisé. La valeur par -défaut est @samp{0}. +Authentication cache size (e.g.@: @samp{#e10e6}). 0 means it's disabled. +Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for +caching to be used. Defaults to @samp{0}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string auth-cache-ttl @@ -14402,22 +15281,20 @@ exemple @samp{#@@/@@} signifie que @samp{#} et @samp{/} sont traduits en @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string auth-username-format -Format des noms d'utilisateur avant qu'ils ne soient cherchés en base. Vous -pouvez utiliser les variables standard ici, p.@: ex.@: %Lu est le nom -d'utilisateur en minuscule, %n enlève le domaine s'il est donné ou -@samp{%n-AT-%d} changerait le @samp{@@} en @samp{-AT-}. Cette traduction -est faite après les changements de @samp{auth-username-translation}. La -valeur par défaut est @samp{"%Lu"}. +Username formatting before it's looked up from databases. You can use the +standard variables here, e.g.@: %Lu would lowercase the username, %n would +drop away the domain if it was given, or @samp{%n-AT-%d} would change the +@samp{@@} into @samp{-AT-}. This translation is done after +@samp{auth-username-translation} changes. Defaults to @samp{"%Lu"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string auth-master-user-separator -Si vous voulez permettre aux utilisateurs maîtres de se connecter en -spécifiant le nom d'utilisateur maître dans la chaîne de nom d'utilisateur -normal (c.-à-d.@: sans utiliser le support du mécanisme SASL pour cela), -vous pouvez spécifier le caractère de séparation ici. Le format est ensuite -. UW-IMAP utilise -@samp{*} comme séparateur, donc ça pourrait être un bon choix. La valeur -par défaut est @samp{""}. +If you want to allow master users to log in by specifying the master +username within the normal username string (i.e.@: not using SASL +mechanism's support for it), you can specify the separator character here. +The format is then . UW-IMAP uses +@samp{*} as the separator, so that could be a good choice. Defaults to +@samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string auth-anonymous-username @@ -14426,10 +15303,9 @@ mécanisme SASL ANONYMOUS. La valeur par défaut est @samp{"anonymous"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer auth-worker-max-count -Nombre maximum de processus de travail dovecot-auth. Ils sont utilisés pour -exécuter des requêtes passdb et userdb bloquantes (p.@: ex.@: MySQL et -PAM). Ils sont créés automatiquement et détruits au besoin. La valeur par -défaut est @samp{30}. +Maximum number of dovecot-auth worker processes. They're used to execute +blocking passdb and userdb queries (e.g.@: MySQL and PAM). They're +automatically created and destroyed as needed. Defaults to @samp{30}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string auth-gssapi-hostname @@ -14533,103 +15409,114 @@ par défaut est @samp{"mail"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean auth-verbose? -Log unsuccessful authentication attempts and the reasons why they failed. -Defaults to @samp{#f}. +Indique s'il faut enregistrer les tentatives de connexion échouées et la +raison de leur échec. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean auth-verbose-passwords? In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over -again. You can also truncate the value to n chars by appending ":n" -(e.g. sha1:6). Defaults to @samp{#f}. +again. You can also truncate the value to n chars by appending ":n" (e.g.@: +sha1:6). Defaults to @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean auth-debug? -Even more verbose logging for debugging purposes. Shows for example SQL -queries. Defaults to @samp{#f}. +Journaux encore plus verbeux pour le débogage. Cela montre par exemple les +requêtes SQL effectuées. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean auth-debug-passwords? -In case of password mismatches, log the passwords and used scheme so the -problem can be debugged. Enabling this also enables @samp{auth-debug}. -Defaults to @samp{#f}. +Dans le cas où le mot de passe était incorrect, indique s'il faut +enregistrer les mots de passe et les schémas utilisés pour que le problème +puisse être débogué. Activer cette option active aussi @samp{auth-debug}. +La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mail-debug? -Enable mail process debugging. This can help you figure out why Dovecot -isn't finding your mails. Defaults to @samp{#f}. +Indique s'il faut activer le débogage du traitement des courriels. Cela +peut vous aider à comprendre pourquoi Dovecot ne trouve pas vos courriels. +La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean verbose-ssl? -Show protocol level SSL errors. Defaults to @samp{#f}. +Indique s'il faut montrer les erreurs au niveau SSL. La valeur par défaut +est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string log-timestamp -Prefix for each line written to log file. % codes are in strftime(3) -format. Defaults to @samp{"\"%b %d %H:%M:%S \""}. +Préfixe à utiliser devant chaque ligne écrite dans le fichier journal. Les +codes % sont au format strftime(3). La valeur par défaut est @samp{"\"%b %d +%H:%M:%S \""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} space-separated-string-list login-log-format-elements -List of elements we want to log. The elements which have a non-empty -variable value are joined together to form a comma-separated string. +Liste des éléments qu'il faut enregistrer. Les éléments qui ont une +variable non vide sont agrégés pour former une chaîne de mots séparés par +des virgules. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string login-log-format -Login log format. %s contains @samp{login-log-format-elements} string, %$ -contains the data we want to log. Defaults to @samp{"%$: %s"}. +Format du journal de connexion. %s contient la chaîne +@samp{login-log-format-elements}, %$ contient la donnée à enregistrer. La +valeur par défaut est @samp{"%$: %s"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-log-prefix -Log prefix for mail processes. See doc/wiki/Variables.txt for list of -possible variables you can use. Defaults to +Préfixe à utiliser devant chaque ligne du fichier de journal pour les +processus traitant les courriels. Voir doc/wiki/Variables.txt pour trouver +la liste des variables que vous pouvez utiliser. La valeur par défaut est @samp{"\"%s(%u)<%@{pid@}><%@{session@}>: \""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string deliver-log-format -Format to use for logging mail deliveries. You can use variables: +Format à utiliser pour enregistrer les livraisons de courriels. Vous pouvez +utiliser ces variables : @table @code @item %$ -Delivery status message (e.g. @samp{saved to INBOX}) +Delivery status message (e.g.@: @samp{saved to INBOX}) @item %m Message-ID @item %s -Subject +Objet @item %f -From address +Adresse « de » @item %p -Physical size +Taille physique @item %w -Virtual size. +Taille virtuelle. @end table La valeur par défaut est @samp{"msgid=%m: %$"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-location -Location for users' mailboxes. The default is empty, which means that -Dovecot tries to find the mailboxes automatically. This won't work if the -user doesn't yet have any mail, so you should explicitly tell Dovecot the -full location. +Emplacement des boîtes à lettre des utilisateurs. La valeur par défaut est +vide, ce qui signifie que Dovecot essaiera de trouver les boîte aux lettres +automatiquement. Cela ne fonctionnera pas si l'utilisateur n'a aucun +courriel, donc il vaut mieux indiquer explicitement le bon emplacement à +Dovecot. -If you're using mbox, giving a path to the INBOX file (e.g. /var/mail/%u) +If you're using mbox, giving a path to the INBOX file (e.g.@: /var/mail/%u) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the "root mail directory", and it must be the first path given in the @samp{mail-location} setting. -There are a few special variables you can use, eg.: +Il y a quelques variables spéciales que vous pouvez utiliser : @table @samp @item %u -username +nom d'utilisateur @item %n -user part in user@@domain, same as %u if there's no domain +la partie « utilisateur » dans « utilisateur@@domaine », comme %u s'il n'y a +pas de domaine. @item %d -domain part in user@@domain, empty if there's no domain +la partie « domaine » dans « utilisateur@@domaine », vide s'il n'y a pas de +domaine @item %h -home director +répertoire personnel @end table -See doc/wiki/Variables.txt for full list. Some examples: +Voir doc/wiki/Variables.txt pour la liste complète. Quelques exemple : @table @samp @item maildir:~/Maildir @item mbox:~/mail:INBOX=/var/mail/%u @@ -14639,9 +15526,10 @@ La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-uid -System user and group used to access mails. If you use multiple, userdb can -override these by returning uid or gid fields. You can use either numbers -or names. . Defaults to @samp{""}. +Utilisateur et groupe système utilisé pour accéder aux courriels. Si vous +utilisez multiple, userdb peut remplacer ces valeurs en renvoyant les champs +uid et gid. Vous pouvez utiliser soit des nombres, soit des noms. +. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-gid @@ -14650,17 +15538,17 @@ La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-privileged-group -Group to enable temporarily for privileged operations. Currently this is -used only with INBOX when either its initial creation or dotlocking fails. -Typically this is set to "mail" to give access to /var/mail. Defaults to -@samp{""}. +Groupe à activer temporairement pour les opérations privilégiées. +Actuellement cela est utilisé uniquement avec INBOX lors de sa création +initiale et quand le verrouillage échoie. Typiquement, vous pouvez utiliser +« mail » pour donner accès à /var/mail. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-access-groups Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be -dangerous to set these if users can create symlinks (e.g. if "mail" group is -set here, ln -s /var/mail ~/mail/var could allow a user to delete others' +dangerous to set these if users can create symlinks (e.g.@: if "mail" group +is set here, ln -s /var/mail ~/mail/var could allow a user to delete others' mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow reading it). Defaults to @samp{""}. @end deftypevr @@ -14668,63 +15556,70 @@ it). Defaults to @samp{""}. @deftypevr {paramètre de @code{dovecot-configuration}} boolean mail-full-filesystem-access? Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID. It works with -both maildir and mboxes, allowing you to prefix mailboxes names with -e.g. /path/ or ~user/. Defaults to @samp{#f}. +both maildir and mboxes, allowing you to prefix mailboxes names with e.g.@: +/path/ or ~user/. Defaults to @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mmap-disable? -Don't use mmap() at all. This is required if you store indexes to shared -file systems (NFS or clustered file system). Defaults to @samp{#f}. +Ne pas du tout utiliser mmap(). Cela est requis si vous stockez les index +dans des systèmes de fichiers partagés (NFS ou clusterfs). La valeur par +défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean dotlock-use-excl? -Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports -@samp{O_EXCL} since version 3, so this should be safe to use nowadays by -default. Defaults to @samp{#t}. +S'appuyer sur @samp{O_EXCL} lors de la création de fichiers de +verrouillage. NFS supporte @samp{O_EXCL} depuis la version 3, donc cette +option est sûre de nos jours. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-fsync -When to use fsync() or fdatasync() calls: +Quand utiliser les appels à fsync() ou fdatasync() : @table @code @item optimized -Whenever necessary to avoid losing important data +Lorsque cela est nécessaire pour éviter de perdre des données importantes @item always -Useful with e.g. NFS when write()s are delayed +Useful with e.g.@: NFS when write()s are delayed @item never -Never use it (best performance, but crashes can lose data). +Ne l'utilisez pas (ça a de meilleures performances, mais les crashs font +perdre toutes les données). @end table La valeur par défaut est @samp{"optimized"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mail-nfs-storage? -Mail storage exists in NFS. Set this to yes to make Dovecot flush NFS -caches whenever needed. If you're using only a single mail server this -isn't needed. Defaults to @samp{#f}. +Le stockage des courriels se fait sur NFS. Utilisez cette option pour que +Dovecot vide les caches NFS lorsque c'est nécessaire. Si vous utilisez +seulement un simple serveur de courriel, ce n'est pas nécessaire. La valeur +par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mail-nfs-index? -Mail index files also exist in NFS. Setting this to yes requires -@samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to -@samp{#f}. +Les fichiers d'index de courriels sont sur un système de fichiers NFS. Pour +utiliser cette option, vous aurez besoin de @samp{mmap-disable? #t} et +@samp{fsync-disable? #f}. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string lock-method -Locking method for index files. Alternatives are fcntl, flock and dotlock. -Dotlocking uses some tricks which may create more disk I/O than other -locking methods. NFS users: flock doesn't work, remember to change -@samp{mmap-disable}. Defaults to @samp{"fcntl"}. +Méthode de verrouillage des fichiers d'index. Les alternatives sont fcntl, +flock et dotlock. Le verrouillage-point (dotlocking) utilise des astuces +qui peuvent créer plus d'utilisation du disque que les autres méthodes de +verrouillage. Pour les utilisateurs de NFS, flock ne marche pas, et +rappelez-vous de modifier @samp{mmap-disable}. La valeur par défaut est +@samp{"fcntl"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} file-name mail-temp-dir -Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. -Defaults to @samp{"/tmp"}. +Le répertoire dans lequel LDA/LMTP stockent temporairement les courriels de +plus de 128 Ko. La valeur par défaut est @samp{"/tmp"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer first-valid-uid -Valid UID range for users. This is mostly to make sure that users can't log -in as daemons or other system users. Note that denying root logins is -hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} -is set to 0. Defaults to @samp{500}. +L'intervalle d'UID valides pour les utilisateurs. Cette option est surtout +utile pour s'assurer que les utilisateurs ne peuvent pas s'authentifier en +tant que démon ou qu'un autre utilisateur système. Remarquez que la +connexion en root est interdite en dur dans le binaire de dovecot et qu'on +ne peut pas l'autoriser même si @samp{first-valid-uid} vaut 0. La valeur +par défaut est @samp{500}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer last-valid-uid @@ -14733,9 +15628,10 @@ La valeur par défaut est @samp{0}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer first-valid-gid -Valid GID range for users. Users having non-valid GID as primary group ID -aren't allowed to log in. If user belongs to supplementary groups with -non-valid GIDs, those groups are not set. Defaults to @samp{1}. +Li'ntervalle de GID valides pour les utilisateurs. Les utilisateurs qui ont +un GID non-valide comme numéro de groupe primaire ne peuvent pas se +connecter. Si l'utilisateur appartient à un groupe avec un GID non valide, +ce groupe n'est pas utilisable. La valeur par défaut est @samp{1}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer last-valid-gid @@ -14744,13 +15640,14 @@ La valeur par défaut est @samp{0}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer mail-max-keyword-length -Maximum allowed length for mail keyword name. It's only forced when trying -to create new keywords. Defaults to @samp{50}. +Longueur maximale autorisée pour les mots-clefs. Elle n'est utilisée que +lors de la création de nouveaux mots-clefs. La valeur par défaut est +@samp{50}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} colon-separated-file-name-list valid-chroot-dirs List of directories under which chrooting is allowed for mail processes -(i.e. /var/mail will allow chrooting to /var/mail/foo/bar too). This +(i.e.@: /var/mail will allow chrooting to /var/mail/foo/bar too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, "/./" in home dirs are ignored. WARNING: Never add directories here which local users can modify, that may @@ -14761,95 +15658,104 @@ shell access for users. . Defaults to @samp{()}. @deftypevr {paramètre de @code{dovecot-configuration}} string mail-chroot Default chroot directory for mail processes. This can be overridden for specific users in user database by giving /./ in user's home directory -(e.g. /home/./user chroots into /home). Note that usually there is no real -need to do chrooting, Dovecot doesn't allow users to access files outside -their mail directory anyway. If your home directories are prefixed with the -chroot directory, append "/." to @samp{mail-chroot}. +(e.g.@: /home/./user chroots into /home). Note that usually there is no +real need to do chrooting, Dovecot doesn't allow users to access files +outside their mail directory anyway. If your home directories are prefixed +with the chroot directory, append "/."@: to @samp{mail-chroot}. . Defaults to @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} file-name auth-socket-path -UNIX socket path to master authentication server to find users. This is -used by imap (for shared users) and lda. Defaults to -@samp{"/var/run/dovecot/auth-userdb"}. +Chemin de socket UNIX vers le serveur d'authentification maître pour trouver +les utilisateurs. C'est utilisé par imap (pour les utilisateurs partagés) +et lda. La valeur par défaut est @samp{"/var/run/dovecot/auth-userdb"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} file-name mail-plugin-dir -Directory where to look up mail plugins. Defaults to +Répertoire où trouver les greffons. La valeur par défaut est @samp{"/usr/lib/dovecot"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} space-separated-string-list mail-plugins List of plugins to load for all services. Plugins specific to IMAP, LDA, -etc. are added to this list in their own .conf files. Defaults to +etc.@: are added to this list in their own .conf files. Defaults to @samp{()}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer mail-cache-min-mail-count -The minimum number of mails in a mailbox before updates are done to cache -file. This allows optimizing Dovecot's behavior to do less disk writes at -the cost of more disk reads. Defaults to @samp{0}. +Le nombre minimal de courriels dans une boîte aux lettres avant de mettre à +jour le fichier de cache. Cela permet d'optimiser le comportement de +Dovecot pour qu'il fasse moins d'écriture disque contre plus de lecture +disque. La valeur par défaut est @samp{0}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mailbox-idle-check-interval -When IDLE command is running, mailbox is checked once in a while to see if -there are any new mails or other changes. This setting defines the minimum -time to wait between those checks. Dovecot can also use dnotify, inotify -and kqueue to find out immediately when changes occur. Defaults to -@samp{"30 secs"}. +Lorsque la commande IDLE est lancée, la boîte aux lettres est vérifiée de +temps en temps pour voir s'il y a de nouveaux messages ou d'autres +changements. Ce paramètre défini le temps d'attente minimum entre deux +vérifications. Dovecot peut aussi utilise dnotify, inotify et kqueue pour +trouver immédiatement les changements. La valeur par défaut est @samp{"30 +secs"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mail-save-crlf? -Save mails with CR+LF instead of plain LF. This makes sending those mails -take less CPU, especially with sendfile() syscall with Linux and FreeBSD. -But it also creates a bit more disk I/O which may just make it slower. Also -note that if other software reads the mboxes/maildirs, they may handle the -extra CRs wrong and cause problems. Defaults to @samp{#f}. +Sauvegarder les courriels avec CR+LF plutôt que seulement LF. Cela permet +de consommer moins de CPU en envoyant ces courriels, surtout avec l'appel +système sendfile() de Linux et FreeBSD. Mais cela crée un peu plus +d'utilisation du disque, ce qui peut aussi le ralentir. Remarquez aussi que +si d'autres logiciels lisent les mbox/maildirs, ils peuvent se tromper dans +leur traitement de ces CR supplémentaires et causer des problèmes. La +valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean maildir-stat-dirs? -By default LIST command returns all entries in maildir beginning with a -dot. Enabling this option makes Dovecot return only entries which are -directories. This is done by stat()ing each entry, so it causes more disk -I/O. (For systems setting struct @samp{dirent->d_type} this check is free -and it's done always regardless of this setting). Defaults to @samp{#f}. +Par défaut la commande LIST renvoie toutes les entrées du maildir qui +commencent par un point. Activer cette option permet à Dovecot de renvoyer +uniquement les entrées qui sont des répertoires. Cela se fait avec stat() +sur chaque entrée, ce qui cause plus d'utilisation du disque. For systems +setting struct @samp{dirent->d_type} this check is free and it's done always +regardless of this setting). La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean maildir-copy-with-hardlinks? -When copying a message, do it with hard links whenever possible. This makes -the performance much better, and it's unlikely to have any side effects. -Defaults to @samp{#t}. +Lors de la copie d'un message, le faire avec des liens en dur si possible. +Cela améliore un peu la performance et n'a que peu de chance d'avoir des +effets secondaires. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean maildir-very-dirty-syncs? -Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only -when its mtime changes unexpectedly or when we can't find the mail -otherwise. Defaults to @samp{#f}. +Suppose que Dovecot est le seul MUA qui accède à Maildir : scanne le +répertoire cur/ seulement lorsque son mtime change de manière inattendue ou +lorsqu'il ne peut pas trouver le courriel autrement. La valeur par défaut +est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} space-separated-string-list mbox-read-locks -Which locking methods to use for locking mbox. There are four available: +La méthode de verrouillage à utiliser pour verrouiller le boîtes aux lettres +mbox. Il y en a quatre : @table @code @item dotlock -Create .lock file. This is the oldest and most NFS-safe solution. -If you want to use /var/mail/ like directory, the users will need write -access to that directory. +Crée un fichier .lock. C'est la solution la plus ancienne et la +plus sûr pour NFS. Si vous voulez utiliser /var/mail/, les utilisateurs +auront besoin de l'accès en écriture à ce répertoire. @item dotlock-try -Same as dotlock, but if it fails because of permissions or because there -isn't enough disk space, just skip it. +Comme pour dotlock, mais si elle échoue à cause d'un problème de permission +ou parce qu'il n'y a pas assez d'espace disque, l'ignore. @item fcntl -Use this if possible. Works with NFS too if lockd is used. +Utilisez cette méthode si possible. Elle fonctionne aussi avec NFS si vous +utilisez lockd. @item flock -May not exist in all systems. Doesn't work with NFS. +Peut ne pas exister sur tous les systèmes. Ne fonctionne pas avec NFS. @item lockf -May not exist in all systems. Doesn't work with NFS. +Peut ne pas exister sur tous les systèmes. Ne fonctionne pas avec NFS. @end table -You can use multiple locking methods; if you do the order they're declared -in is important to avoid deadlocks if other MTAs/MUAs are using multiple -locking methods as well. Some operating systems don't allow using some of -them simultaneously. +Vous pouvez utiliser plusieurs méthodes de verrouillage ; dans ce cas +l'ordre dans lequel elles sont déclarées est important pour éviter des +interblocages si d'autres MTA/MUA utilisent aussi plusieurs méthodes. +Certains systèmes d'exploitation ne permettent pas d'utiliser certaines +méthodes en même temps. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} space-separated-string-list mbox-write-locks @@ -14857,88 +15763,100 @@ them simultaneously. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mbox-lock-timeout -Maximum time to wait for lock (all of them) before aborting. Defaults to -@samp{"5 mins"}. +Temps d'attente maximal pour un verrou (tous les verrous) avant +d'abandonner. La valeur par défaut est @samp{"5 mins"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mbox-dotlock-change-timeout -If dotlock exists but the mailbox isn't modified in any way, override the -lock file after this much time. Defaults to @samp{"2 mins"}. +Si le fichier dotlock existe mais que la boîte aux lettres n'est pas +modifiée, remplacer le fichier de verrouillage après ce temps d'attente. La +valeur par défaut est @samp{"2 mins"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mbox-dirty-syncs? -When mbox changes unexpectedly we have to fully read it to find out what -changed. If the mbox is large this can take a long time. Since the change -is usually just a newly appended mail, it'd be faster to simply read the new -mails. If this setting is enabled, Dovecot does this but still safely -fallbacks to re-reading the whole mbox file whenever something in mbox isn't -how it's expected to be. The only real downside to this setting is that if -some other MUA changes message flags, Dovecot doesn't notice it -immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE -and CHECK commands. Defaults to @samp{#t}. +Lorsqu'un mbox change ne manière inattendue, il faut le lire en entier pour +savoir ce qui a changé. Si le mbox est assez grand cela peut prendre +beaucoup de temps. Comme le changement est habituellement un simple +courriel supplémentaire, il serait plus rapide de lire le nouveaux +courriels. Si ce paramètre est activé, Dovecot fait cela mais revient +toujours à relire le fichier mbox complet si le fichier n'est pas comme +attendu. Le seul réel inconvénient à ce paramètre est que certains MUA +changent les drapeaux des messages, et dans ce cas Dovecot ne s'en rend pas +immédiatement compte. Remarquez qu'une synchronisation complète est +effectuée avec les commandes SELECT, EXAMINE, EXPUNGE et CHECK. La valeur +par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mbox-very-dirty-syncs? -Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, -EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} -is ignored. Defaults to @samp{#f}. +Comme @samp{mbox-dirty-syncs}, mais ne synchronise pas complètement même +avec les commandes SELECT, EXAMINE, EXPUNGE ou CHECK. Si l'option n'est pas +actifée, @samp{mbox-dirty-syncs} est ignorée. La valeur par défaut est +@samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mbox-lazy-writes? -Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK -commands and when closing the mailbox). This is especially useful for POP3 -where clients often delete all mails. The downside is that our changes -aren't immediately visible to other MUAs. Defaults to @samp{#t}. +Attendre avant d'écrire les en-têtes mbox jusqu'à la prochaine +synchronisation des écritures (les commandes EXPUNGE et CHECK et quand on +ferme la boîte aux lettres). C'est surtout utile pour POP3 où les clients +suppriment souvent tous les courriels. L'inconvénient c'est que vos +changements ne sont pas immédiatement visibles pour les autres MUA. La +valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer mbox-min-index-size -If mbox size is smaller than this (e.g. 100k), don't write index files. If -an index file already exists it's still read, just not updated. Defaults to -@samp{0}. +If mbox size is smaller than this (e.g.@: 100k), don't write index files. +If an index file already exists it's still read, just not updated. Defaults +to @samp{0}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer mdbox-rotate-size -Maximum dbox file size until it's rotated. Defaults to @samp{10000000}. +Taille du fichier dbox maximale avant rotation. La valeur par défaut est +@samp{10000000}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mdbox-rotate-interval -Maximum dbox file age until it's rotated. Typically in days. Day begins -from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. -Defaults to @samp{"1d"}. +Âge maximum du fichier dbox avant rotation. Typiquement en jours. Les +jours commencent à minuit, donc 1d signifie aujourd'hui, 2d pour hier, etc. +0 pour désactiver la vérification. La valeur par défaut est @samp{"1d"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean mdbox-preallocate-space? -When creating new mdbox files, immediately preallocate their size to -@samp{mdbox-rotate-size}. This setting currently works only in Linux with -some file systems (ext4, xfs). Defaults to @samp{#f}. +Lors de la création des fichiers mdbox, préallouer immédiatement leur taille +à @samp{mdbox-rotate-size}. Ce paramètre ne fonctionne actuellement que +dans Linux avec certains systèmes de fichiers (ext4, xfs). La valeur par +défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-attachment-dir -sdbox and mdbox support saving mail attachments to external files, which -also allows single instance storage for them. Other backends don't support -this for now. +Les formats sdbox et mdbox supportent la sauvegarde des pièces-jointes dans +des fichiers externes, ce qui permet de les stocker une seule fois. Les +autres moteurs ne le supportent pas pour le moment. -WARNING: This feature hasn't been tested much yet. Use at your own risk. +ATTENTION : Cette fonctionnalité n'a pas été beaucoup testée. Utilisez-la à +vos risques et périls. -Directory root where to store mail attachments. Disabled, if empty. -Defaults to @samp{""}. +Racine du répertoire où stocker les pièces-jointes. Désactivé si vide. La +valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer mail-attachment-min-size -Attachments smaller than this aren't saved externally. It's also possible -to write a plugin to disable saving specific attachments externally. -Defaults to @samp{128000}. +Les pièces-jointes plus petites que cela ne sont pas enregistrées à part. +Il est aussi possible d'écrire un greffon pour désactiver l'enregistrement +externe de certaines pièces-jointes spécifiques. La valeur par défaut est +@samp{128000}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string mail-attachment-fs -File system backend to use for saving attachments: +Moteur du système de fichier à utiliser pour sauvegarder les pièces-jointes +: @table @code @item posix -No SiS done by Dovecot (but this might help FS's own deduplication) +Pas de SiS (single instance storage) par Dovecot (mais cela peut aider la +déduplication du système de fichier) @item sis posix -SiS with immediate byte-by-byte comparison during saving +SiS avec comparaison bit-à-bit immédiate pendant la sauvegarde @item sis-queue posix -SiS with delayed comparison and deduplication. +SiS avec déduplication et comparaison différées @end table La valeur par défaut est @samp{"sis posix"}. @end deftypevr @@ -14947,8 +15865,8 @@ La valeur par défaut est @samp{"sis posix"}. Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be -truncated, e.g. @code{%@{sha256:80@}} returns only first 80 bits. Defaults -to @samp{"%@{sha1@}"}. +truncated, e.g.@: @code{%@{sha256:80@}} returns only first 80 bits. +Defaults to @samp{"%@{sha1@}"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer default-process-limit @@ -14962,216 +15880,226 @@ La valeur par défaut est @samp{1000}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer default-vsz-limit -Default VSZ (virtual memory size) limit for service processes. This is -mainly intended to catch and kill processes that leak memory before they eat -up everything. Defaults to @samp{256000000}. +Limite VSZ (taille mémoire virtuelle) par défaut pour les processus de +service. C'est surtout pour attraper et tuer les processus qui font fuiter +la mémoire avant qu'ils ne l'utilisent en entier. La valeur par défaut est +@samp{256000000}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string default-login-user -Login user is internally used by login processes. This is the most -untrusted user in Dovecot system. It shouldn't have access to anything at -all. Defaults to @samp{"dovenull"}. +Utilisateur de connexion utilisé en interne par les processus de connexion. +C'est l'utilisateur avec la confiance minimale pour Dovecot. Il ne devrait +avoir accès à rien du tout. La valeur par défaut est @samp{"dovenull"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string default-internal-user -Internal user is used by unprivileged processes. It should be separate from -login user, so that login processes can't disturb other processes. Defaults -to @samp{"dovecot"}. +Utilisateur utilisé en interne par les processus non privilégiés. Il +devrait être différent de l'utilisateur de connexion, pour que les processus +de connexion ne puissent pas perturber les autres processus. La valeur par +défaut est @samp{"dovecot"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string ssl? -SSL/TLS support: yes, no, required. . Defaults to -@samp{"required"}. +Support SSL/TLS : yes, no, required. . La valeur par +défaut est @samp{"required"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string ssl-cert -PEM encoded X.509 SSL/TLS certificate (public key). Defaults to -@samp{" was automatically rejected:%n%r"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string recipient-delimiter -Delimiter character between local-part and detail in email address. -Defaults to @samp{"+"}. +Caractère de délimitation entre la partie locale et le détail des adresses +de courriel. La valeur par défaut est @samp{"+"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string lda-original-recipient-header -Header where the original recipient address (SMTP's RCPT TO: address) is -taken from if not available elsewhere. With dovecot-lda -a parameter -overrides this. A commonly used header for this is X-Original-To. Defaults -to @samp{""}. +En-tête où l'adresse du destinataire d'origine (l'adresse RCPT TO de SMTP) +est récupérée si elle n'est pas disponible ailleurs. Le paramètre -a de +dovecot-lda le remplace. L'en-tête couramment utilisée pour cela est +X-Original-To. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean lda-mailbox-autocreate? -Should saving a mail to a nonexistent mailbox automatically create it?. -Defaults to @samp{#f}. +Sauvegarder un courriel dans un fichier qui n'existe pas devrait-il le créer +? La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} boolean lda-mailbox-autosubscribe? -Should automatically created mailboxes be also automatically subscribed?. -Defaults to @samp{#f}. +Devrait-on aussi se souscrire aux boîtes aux lettres nouvellement créées ? +La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} non-negative-integer imap-max-line-length -Maximum IMAP command line length. Some clients generate very long command -lines with huge mailboxes, so you may need to raise this if you get "Too -long argument" or "IMAP command line too large" errors often. Defaults to -@samp{64000}. +Longueur maximale de la ligne de commande IMAP. Certains clients génèrent +des lignes de commandes très longues avec des boîtes aux lettres énormes, +donc vous pourriez avoir besoin d'augmenter cette limite si vous obtenez les +erreurs « Too long argument » ou « IMAP command line too large ». La valeur +par défaut est @samp{64000}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string imap-logout-format -IMAP logout format string: +Format de la chaîne de déconnexion IMAP : @table @code @item %i -total number of bytes read from client +nombre d'octets lus par le client @item %o -total number of bytes sent to client. +nombre total d'octets envoyés au client. @end table -See @file{doc/wiki/Variables.txt} for a list of all the variables you can -use. Defaults to @samp{"in=%i out=%o deleted=%@{deleted@} -expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} -hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} -body_bytes=%@{fetch_body_bytes@}"}. +Voir @file{doc/wiki/Variables.txt} pour une liste de toutes les variables +utilisables. La valeur par défaut est @samp{"in=%i out=%o +deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} +hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} +body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string imap-capability Override the IMAP CAPABILITY response. If the value begins with '+', add -the given capabilities on top of the defaults (e.g. +XFOO XBAR). Defaults +the given capabilities on top of the defaults (e.g.@: +XFOO XBAR). Defaults to @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string imap-idle-notify-interval -How long to wait between "OK Still here" notifications when client is -IDLEing. Defaults to @samp{"2 mins"}. +Temps d'attente entre les notifications « OK Still here » lorsque le client +est en IDLE. La valeur par défaut est @samp{"2 mins"}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string imap-id-send -ID field names and values to send to clients. Using * as the value makes -Dovecot use the default value. The following fields have default values -currently: name, version, os, os-version, support-url, support-email. -Defaults to @samp{""}. +Noms des champs ID et de leur valeur à envoyer aux clients. « * » signifie +la valeur par défaut. Les champs suivants ont actuellement des valeurs par +défaut : name, version, os, os-version, support-url, support-email. La +valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} string imap-id-log -ID fields sent by client to log. * means everything. Defaults to -@samp{""}. +Champs ID envoyés par le client à enregistrer. « * » signifie tout. La +valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{dovecot-configuration}} space-separated-string-list imap-client-workarounds -Workarounds for various client bugs: +Contournements pour divers bogues de certains client : @table @code @item delay-newmail -Send EXISTS/RECENT new mail notifications only when replying to NOOP and -CHECK commands. Some clients ignore them otherwise, for example OSX Mail -(' before setting it here, to get a feel for which cipher suites you -will get. After setting this option, it is recommend that you inspect your -Murmur log to ensure that Murmur is using the cipher suites that you -expected it to. +Nous vous recommandons d'essayer votre chaîne de suites de chiffrements avec +« openssl ciphers » avant de l'indiquer ici, pour avoir une idée +des suites de chiffrement que vous aurez. Après avoir indiqué cette option, +nous vous recommandons d'inspecter les journaux de Murmur pour vous assurer +que Murmur utilise les suites de chiffrements auxquelles vous vous attendez. -Note: Changing this option may impact the backwards compatibility of your -Murmur server, and can remove the ability for older Mumble clients to be -able to connect to it. +Remarque : modifier cette option peut impacter la rétrocompatibilité de +votre serveur Murmur, et peut empêcher que des clients Mumble anciens se +connectent. @item @code{public-registration} (par défaut : @code{#f}) -Must be a @code{} record or -@code{#f}. +Doit être un enregistrement +@code{} ou @code{#f}. -You can optionally register your server in the public server list that the -@code{mumble} client shows on startup. You cannot register your server if -you have set a @code{server-password}, or set @code{allow-ping} to -@code{#f}. +Vous pouvez aussi enregistrer votre serveur dans la liste des serveurs +publiques que le client @code{mumble} affiche au démarrage. Vous ne pouvez +pas enregistrer votre serveur si vous avez un @code{server-password} ou +@code{allow-ping} à @code{#f}. -It might take a few hours until it shows up in the public list. +Cela peut prendre quelques heures avant d'arriver sur la liste publique. @item @code{file} (par défaut : @code{#f}) -Optional alternative override for this configuration. +Version alternative de cette configuration : si vous indiquez quelque chose, +le reste est ignoré. @end table @end deftp @deftp {Type de données} murmur-public-registration-configuration -Configuration for public registration of a murmur service. +Configuration pour l'enregistrement public du service murmur. @table @asis @item @code{name} -This is a display name for your server. Not to be confused with the -hostname. +C'est le nom d'affichage de votre serveur. Ne pas le confondre avec le nom +d'hôte. @item @code{password} -A password to identify your registration. Subsequent updates will need the -same password. Don't lose your password. +Un mot de passe pour identifier votre enregistrement. Les mises à jours +suivantes devront utiliser le même mot de passe. Ne le perdez pas. @item @code{url} -This should be a @code{http://} or @code{https://} link to your web site. +Cela devrait être le lien @code{http://} ou @code{https://} vers votre site +web. @item @code{hostname} (par défaut : @code{#f}) -By default your server will be listed by its IP address. If it is set your -server will be linked by this host name instead. +Par défaut votre serveur sera listé par son adresse IP. Si cette option est +indiquée votre serveur sera listé par son nom d'hôte. @end table @end deftp @@ -16006,20 +16980,21 @@ server will be linked by this host name instead. @node Services de surveillance @subsubsection Services de surveillance -@subsubheading Tailon Service +@subsubheading Service Tailon -@uref{https://tailon.readthedocs.io/, Tailon} is a web application for -viewing and searching log files. +@uref{https://tailon.readthedocs.io/, Tailon} est une application web pour +visualiser et chercher des fichiers de journaux. -The following example will configure the service with default values. By -default, Tailon can be accessed on port 8080 (@code{http://localhost:8080}). +L'exemple suivant configurera le service avec les valeurs par défaut. Par +défaut, on peut accéder à Tailon sur le pour 8080 +(@code{http://localhost:8080}). @example (service tailon-service-type) @end example -The following example customises more of the Tailon configuration, adding -@command{sed} to the list of allowed commands. +L'exemple suivant personnalise un peu plus la configuration de Tailon, en +ajoutant @command{sed} à la liste des commandes autorisées. @example (service tailon-service-type @@ -16031,17 +17006,17 @@ The following example customises more of the Tailon configuration, adding @deftp {Type de données} tailon-configuration -Data type representing the configuration of Tailon. This type has the -following parameters: +Type de données représentant la configuration de Tailon. Ce type a les +paramètres suivants : @table @asis @item @code{config-file} (par défaut : @code{(tailon-configuration-file)}) -The configuration file to use for Tailon. This can be set to a -@dfn{tailon-configuration-file} record value, or any gexp +Le fichier de configuration à utiliser pour Tailon. Ce champ peut contenir +un enregistrement @dfn{tailon-configuration-file} ou n'importe quelle gexp (@pxref{G-Expressions}). -For example, to instead use a local file, the @code{local-file} function can -be used: +Par exemple, pour utiliser un fichier local à la place, on peut utiliser la +fonction @code{local-file} : @example (service tailon-service-type @@ -16056,50 +17031,53 @@ Le paquet tailon à utiliser. @end deftp @deftp {Type de données} tailon-configuration-file -Data type representing the configuration options for Tailon. This type has -the following parameters: +Type de données représentant les options de configuration de Tailon. Ce +type a les paramètres suivants : @table @asis @item @code{files} (par défaut : @code{(list "/var/log")}) -List of files to display. The list can include strings for a single file or -directory, or a list, where the first item is the name of a subsection, and -the remaining items are the files or directories in that subsection. +Liste des fichiers à afficher. La liste peut inclure des chaînes pour des +fichiers simple ou des répertoires, ou une liste, où le premier élément est +le nom d'un sous-section et le reste des fichiers ou des répertoires de +cette sous-section. @item @code{bind} (par défaut : @code{"localhost:8080"}) -Address and port to which Tailon should bind on. +Adresse et port sur lesquels Tailon écoute. @item @code{relative-root} (par défaut : @code{#f}) -URL path to use for Tailon, set to @code{#f} to not use a path. +Chemin de l'URL à utiliser pour Tailon, ou @code{#f} pour ne pas utiliser de +chemin. @item @code{allow-transfers?} (par défaut : @code{#t}) -Allow downloading the log files in the web interface. +Permet de télécharger les journaux dans l'interface web. @item @code{follow-names?} (par défaut : @code{#t}) -Allow tailing of not-yet existent files. +Permet de surveiller des fichiers qui n'existent pas encore. @item @code{tail-lines} (par défaut : @code{200}) -Number of lines to read initially from each file. +Nombre de lignes à lire initialement dans chaque fichier. @item @code{allowed-commands} (par défaut : @code{(list "tail" "grep" "awk")}) -Commands to allow running. By default, @code{sed} is disabled. +Commandes autorisées. Par défaut, @code{sed} est désactivé. @item @code{debug?} (par défaut : @code{#f}) -Set @code{debug?} to @code{#t} to show debug messages. +Configurez @code{debug?} à @code{#t} pour montrer les messages de débogage. @item @code{wrap-lines} (par défaut : @code{#t}) -Initial line wrapping state in the web interface. Set to @code{#t} to -initially wrap lines (the default), or to @code{#f} to initially not wrap -lines. +État initial du retour à la ligne dans l'interface web. Configurez l'option +à @code{#t} pour retourner à la ligne (par défaut) ou à @code{#f} pour ne +pas retourner à la ligne au début. @item @code{http-auth} (par défaut : @code{#f}) -HTTP authentication type to use. Set to @code{#f} to disable authentication -(the default). Supported values are @code{"digest"} or @code{"basic"}. +Type d'authentification HTTP à utiliser. Indiquez @code{#f} pour désactiver +l'authentification (par défaut). Les valeur supportées sont @code{"digest"} +et @code{"basic"}. @item @code{users} (par défaut : @code{#f}) -If HTTP authentication is enabled (see @code{http-auth}), access will be -restricted to the credentials provided here. To configure users, use a list -of pairs, where the first element of the pair is the username, and the 2nd -element of the pair is the password. +Si l'authentification HTTP est activée (voir @code{http-auth}), l'accès sera +restreint aux identifiants fournis ici. Pour configurer des utilisateurs, +utilisez une liste de paires, où le premier élément de la paire est le nom +d'utilisateur et le second élément est le mot de passe. @example (tailon-configuration-file @@ -16112,15 +17090,15 @@ element of the pair is the password. @end deftp -@subsubheading Darkstat Service +@subsubheading Service Darkstat @cindex darkstat -Darkstat is a packet sniffer that captures network traffic, calculates -statistics about usage, and serves reports over HTTP. +Darkstat est un « renifleur de paquets » qui capture le trafic réseau, +calcul des statistiques sur l'utilisation et sert des rapport sur HTTP. @defvar {Variable Scheme} darkstat-service-type -This is the service type for the @uref{https://unix4lyfe.org/darkstat/, -darkstat} service, its value must be a @code{darkstat-configuration} record -as in this example: +C'est le type de service pour le service +@uref{https://unix4lyfe.org/darkstat/, darkstat}, sa valeur doit être un +enregistrement @code{darkstat-configuration} comme dans cet exemple : @example (service darkstat-service-type @@ -16130,41 +17108,42 @@ as in this example: @end defvar @deftp {Type de données} darkstat-configuration -Data type representing the configuration of @command{darkstat}. +Type de données représentant la configuration de @command{darkstat}. @table @asis @item @code{package} (par défaut : @code{darkstat}) Le paquet darkstat à utiliser. @item @code{interface} -Capture traffic on the specified network interface. +Capture le trafic sur l'interface réseau spécifiée. @item @code{port} (par défaut : @code{"667"}) -Bind the web interface to the specified port. +Lie l'interface web sur le port spécifié. @item @code{bind-address} (par défaut : @code{"127.0.0.1"}) -Bind the web interface to the specified address. +Lie l'interface web sur l'adresse spécifiée. @item @code{base} (par défaut : @code{"/"}) -Specify the path of the base URL. This can be useful if @command{darkstat} -is accessed via a reverse proxy. +Spécifie le chemin de base des URL. C'est utile si on accède à +@command{darkstat} à travers un proxy inverse. @end table @end deftp -@subsubheading Prometheus Node Exporter Service +@subsubheading Service d'export de nœud de Prometheus @cindex prometheus-node-exporter -The Prometheus ``node exporter'' makes hardware and operating system -statistics provided by the Linux kernel available for the Prometheus -monitoring system. This service should be deployed on all physical nodes -and virtual machines, where monitoring these statistics is desirable. +L'exportateur de nœuds de Prometheus rend disponible les statistiques sur le +matériel et le système d'exploitation fournies par le noyau Linux pour le +système de surveillance Prometheus. Ce service devrait être déployé sur +tous les nœuds physiques et les machines virtuelles, où vous voulez +surveiller ces statistiques. -@defvar {Scheme variable} prometheus-node-exporter-service-type -This is the service type for the +@defvar {Variable Scheme} prometheus-node-exporter-service-type +C'est le type de service pour le service @uref{https://github.com/prometheus/node_exporter/, -prometheus-node-exporter} service, its value must be a -@code{prometheus-node-exporter-configuration} record as in this example: +prometheus-node-exporter}, sa valeur doit être un enregistrement +@code{prometheus-node-exporter-configuration} comme dans cet exemple : @example (service prometheus-node-exporter-service-type @@ -16173,15 +17152,15 @@ prometheus-node-exporter} service, its value must be a @end example @end defvar -@deftp {Data Type} prometheus-node-exporter-configuration -Data type representing the configuration of @command{node_exporter}. +@deftp {Type de données} prometheus-node-exporter-configuration +Type de données représentant la configuration de @command{node_exporter} @table @asis -@item @code{package} (default: @code{go-github-com-prometheus-node-exporter}) -The prometheus-node-exporter package to use. +@item @code{package} (par défaut : @code{go-github-com-prometheus-node-exporter}) +Le paquet prometheus-node-exporter à utiliser. -@item @code{web-listen-address} (default: @code{":9100"}) -Bind the web interface to the specified address. +@item @code{web-listen-address} (par défaut : @code{":9100"}) +Lie l'interface web sur l'adresse spécifiée. @end table @end deftp @@ -16190,26 +17169,27 @@ Bind the web interface to the specified address. @subsubsection Services Kerberos @cindex Kerberos -The @code{(gnu services kerberos)} module provides services relating to the -authentication protocol @dfn{Kerberos}. +Le module @code{(gnu services kerberos)} fournit des services liés au +protocole d'authentification @dfn{Kerberos}. -@subsubheading Krb5 Service +@subsubheading Service Krb5 -Programs using a Kerberos client library normally expect a configuration -file in @file{/etc/krb5.conf}. This service generates such a file from a -definition provided in the operating system declaration. It does not cause -any daemon to be started. +Les programmes qui utilisent une bibliothèque cliente Kerberos s'attendent à +trouver un fichier de configuration dans @file{/etc/krb5.conf}. Ce service +génère un tel fichier à partir d'une définition fournie par la déclaration +de système d'exploitation. Il ne démarre aucun démon. -No ``keytab'' files are provided by this service---you must explicitly -create them. This service is known to work with the MIT client library, -@code{mit-krb5}. Other implementations have not been tested. +Aucun fichier « keytab » n'est fourni par ce service — vous devez les créer +explicitement. Ce service est connu pour fonctionner avec la bibliothèque +cliente MIT, @code{mit-krb5}. Les autres implémentations n'ont pas été +testées. @defvr {Variable Scheme} krb5-service-type -A service type for Kerberos 5 clients. +Un type de service pour les clients Kerberos 5. @end defvr @noindent -Here is an example of its use: +Voici un exemple d'utilisation : @lisp (service krb5-service-type (krb5-configuration @@ -16227,37 +17207,37 @@ Here is an example of its use: @end lisp @noindent -This example provides a Kerberos@tie{}5 client configuration which: +Cet exemple fournit une configuration cliente Kerberos@tie{}5 qui : @itemize -@item Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both -of which have distinct administration servers and key distribution centers; -@item Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly -specified by clients; -@item Accepts services which only support encryption types known to be weak. +@item Reconnais deux domaines : « EXAMPLE.COM » et « ARGREX.EDU », tous deux +aillant des serveurs d'administration et des centres de distribution de +clefs distincts ; +@item Utilisera le domaine « EXAMPLE.COM » pr défaut si le domaine n'est pas spécifié +explicitement par les clients ; +@item Acceptera les services qui ne supportent que des types de chiffrements connus pour être faibles. @end itemize -The @code{krb5-realm} and @code{krb5-configuration} types have many fields. -Only the most commonly used ones are described here. For a full list, and -more detailed explanation of each, see the MIT -@uref{http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} -documentation. +Les types @code{krb5-realm} et @code{krb5-configuration} ont de nombreux +champs. Seuls les plus communs sont décrits ici. Pour une liste complète, +et plus de détails sur chacun d'entre eux, voir la documentation de MIT +@uref{http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf}. @deftp {Type de données} krb5-realm -@cindex realm, kerberos +@cindex domaine, kerberos @table @asis @item @code{name} -This field is a string identifying the name of the realm. A common -convention is to use the fully qualified DNS name of your organization, -converted to upper case. +Ce champ est une chaîne identifiant le nom d'un domaine. Une convention +courante est d'utiliser le nom pleinement qualifié de votre organisation, +converti en majuscule. @item @code{admin-server} -This field is a string identifying the host where the administration server -is running. +Ce champ est une chaîne identifiant l'hôte où le serveur d'administration +tourne. @item @code{kdc} -This field is a string identifying the key distribution center for the -realm. +Ce champ est une chaîne identifiant le centre de distribution de clefs pour +ce domaine. @end table @end deftp @@ -16265,45 +17245,47 @@ realm. @table @asis @item @code{allow-weak-crypto?} (par défaut : @code{#f}) -If this flag is @code{#t} then services which only offer encryption -algorithms known to be weak will be accepted. +Si ce drapeau est @code{#t} les services qui n'offrent que des algorithmes +de chiffrement faibles seront acceptés. @item @code{default-realm} (par défaut : @code{#f}) -This field should be a string identifying the default Kerberos realm for the -client. You should set this field to the name of your Kerberos realm. If -this value is @code{#f} then a realm must be specified with every Kerberos -principal when invoking programs such as @command{kinit}. +Ce champ devrait être une chaîne identifiant le domaine Kerberos par défaut +pour le client. Vous devriez mettre le nom de votre domaine Kerberos dans +ce champ. Si cette valeur est @code{#f} alors un domaine doit être spécifié +pour chaque principal Kerberos à l'invocation des programmes comme +@command{kinit}. @item @code{realms} -This should be a non-empty list of @code{krb5-realm} objects, which clients -may access. Normally, one of them will have a @code{name} field matching -the @code{default-realm} field. +Cela doit être une liste non-vide d'objets @code{krb5-realm}, auxquels les +clients peuvent accéder. Normalement, l'un d'entre eux aura un champ +@code{name} qui correspond au champ @code{default-realm}. @end table @end deftp -@subsubheading PAM krb5 Service +@subsubheading Service PAM krb5 @cindex pam-krb5 -The @code{pam-krb5} service allows for login authentication and password -management via Kerberos. You will need this service if you want PAM enabled -applications to authenticate users using Kerberos. +Le service @code{pam-krb5} permet la connexion et la gestion des mots de +passe par Kerberos. Vous aurez besoin de ce service si vous voulez que les +applications qui utilisent PAM puissent authentifier automatiquement les +utilisateurs avec Kerberos. @defvr {Variable Scheme} pam-krb5-service-type -A service type for the Kerberos 5 PAM module. +Un type de service pour le module PAM Kerberos 5. @end defvr @deftp {Type de données} pam-krb5-configuration -Data type representing the configuration of the Kerberos 5 PAM module This -type has the following parameters: +Type de données représentant la configuration du module PAM Kerberos 5. Ce +type a les paramètres suivants : @table @asis @item @code{pam-krb5} (par défaut : @code{pam-krb5}) Le paquet pam-krb5 à utiliser. @item @code{minimum-uid} (par défaut : @code{1000}) -The smallest user ID for which Kerberos authentications should be -attempted. Local accounts with lower values will silently fail to -authenticate. +Le plus petite ID utilisateur pour lequel les authentifications Kerberos +devraient être tentées. Les comptes locaux avec une valeur plus petite +échoueront silencieusement leur authentification Kerberos. @end table @end deftp @@ -16314,17 +17296,17 @@ authenticate. @cindex web @cindex www @cindex HTTP -The @code{(gnu services web)} module provides the Apache HTTP Server, the -nginx web server, and also a fastcgi wrapper daemon. +Le module @code{(gnu services web)} fournit le serveur Apache HTTP, le +serveur web nginx et aussi un démon fastcgi. -@subsubheading Apache HTTP Server +@subsubheading Serveur Apache HTTP @deffn {Variable Scheme} httpd-service-type -Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server -(@dfn{httpd}). The value for this service type is a -@code{https-configuration} record. +Type de service pour le serveur @uref{https://httpd.apache.org/,Apache HTTP} +(@dfn{httpd}). La valeur de ce type de service est un enregistrement +@code{httpd-configuration}. -A simple example configuration is given below. +Un exemple de configuration simple est donné ci-dessous. @example (service httpd-service-type @@ -16335,8 +17317,8 @@ A simple example configuration is given below. (document-root "/srv/http/www.example.com"))))) @end example -Other services can also extend the @code{httpd-service-type} to add to the -configuration. +D'autres services peuvent aussi étendre @code{httpd-service-type} pour être +ajouté à la configuration. @example (simple-service 'my-extra-server httpd-service-type @@ -16349,100 +17331,137 @@ configuration. @end example @end deffn -The details for the @code{httpd-configuration}, @code{httpd-module}, -@code{httpd-config-file} and @code{httpd-virtualhost} record types are given -below. +Les détails des types d'enregistrement @code{httpd-configuration}, +@code{httpd-module}, @code{httpd-config-file} et @code{httpd-virtualhost} +sont donnés plus bas. @deffn {Type de données} httpd-configuration -This data type represents the configuration for the httpd service. +Ce type de données représente la configuration du service httpd. @table @asis @item @code{package} (par défaut : @code{httpd}) Le paquet httpd à utiliser. @item @code{pid-file} (par défaut : @code{"/var/run/httpd"}) -The pid file used by the shepherd-service. +Le fichier de pid utilisé par le service shepherd. @item @code{config} (par défaut : @code{(httpd-config-file)}) -The configuration file to use with the httpd service. The default value is a -@code{httpd-config-file} record, but this can also be a different -G-expression that generates a file, for example a @code{plain-file}. A file -outside of the store can also be specified through a string. +Le fichier de configuration à utiliser avec le service httpd. La valeur par +défaut est un enregistrement @code{httpd-config-file} mais cela peut aussi +être un G-expression qui génère un fichier, par exemple un +@code{plain-file}. Un fichier en dehors du dépôt peut aussi être spécifié +avec une chaîne de caractères. @end table @end deffn @deffn {Type de données} httpd-module -This data type represents a module for the httpd service. +Ce type de données représente un module pour le service httpd. @table @asis @item @code{name} -The name of the module. +Le nom du module. @item @code{file} -The file for the module. This can be relative to the httpd package being -used, the absolute location of a file, or a G-expression for a file within -the store, for example @code{(file-append mod-wsgi "/modules/mod_wsgi.so")}. +Le fichier pour le module. Cela peut être relatif au paquet httpd utilisé, +l'emplacement absolu d'un fichier ou une G-expression pour un fichier dans +le dépôt, par exemple @code{(file-append mod-wsgi "/modules/mod_wsgi.so")}. @end table @end deffn +@defvr {Variable Scheme} %default-httpd-modules +Une liste par défaut des objets @code{httpd-module}. +@end defvr + @deffn {Type de données} httpd-config-file -This data type represents a configuration file for the httpd service. +Ce type de données représente un fichier de configuration pour le service +httpd. @table @asis @item @code{modules} (par défaut : @code{%default-httpd-modules}) -The modules to load. Additional modules can be added here, or loaded by -additional configuration. +Les modules à charger. Les modules supplémentaires peuvent être ajoutés ici +ou chargés par des configuration supplémentaires. + +Par exemple, pour gérer les requêtes pour des fichiers PHP, vous pouvez +utiliser le module @code{mod_proxy_fcgi} d'Apache avec +@code{php-fpm-service-type} : + +@example +(service httpd-service-type + (httpd-configuration + (config + (httpd-config-file + (modules (cons* + (httpd-module + (name "proxy_module") + (file "modules/mod_proxy.so")) + (httpd-module + (name "proxy_fcgi_module") + (file "modules/mod_proxy_fcgi.so")) + %default-httpd-modules)) + (extra-config (list "\ + + SetHandler \"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\" +")))))) +(service php-fpm-service-type + (php-fpm-configuration + (socket "/var/run/php-fpm.sock") + (socket-group "httpd"))) +@end example @item @code{server-root} (par défaut : @code{httpd}) -The @code{ServerRoot} in the configuration file, defaults to the httpd -package. Directives including @code{Include} and @code{LoadModule} are taken -as relative to the server root. +Le @code{ServerRoot} dans le fichier de configuration, par défaut le paquet +httpd. Les directives comme @code{Include} et @code{LoadModule} sont prises +relativement à la racine du serveur. @item @code{server-name} (par défaut : @code{#f}) -The @code{ServerName} in the configuration file, used to specify the request -scheme, hostname and port that the server uses to identify itself. +Le @code{ServerName} dans le fichier de configuration, utilisé pour +spécifier le schéma de requête, le nom d'hôte et le port que le serveur +utilise pour s'identifier. -This doesn't need to be set in the server config, and can be specifyed in -virtual hosts. The default is @code{#f} to not specify a @code{ServerName}. +Cela n'a pas besoin d'être dans la configuration du serveur, et peut être +spécifié dans les hôtes virtuels. La valeur par défaut est @code{#f} pour +ne pas spécifier de @code{ServerName}. @item @code{document-root} (par défaut : @code{"/srv/http"}) -The @code{DocumentRoot} from which files will be served. +Le @code{DocumentRoot} depuis lequel les fichiers seront servis. @item @code{listen} (par défaut : @code{'("80")}) -The list of values for the @code{Listen} directives in the config file. The -value should be a list of strings, when each string can specify the port -number to listen on, and optionally the IP address and protocol to use. +La liste des valeurs pour les directives @code{Listen} dans le fichier de +configuration. La valeur devrait être une liste de chaînes, où chacune +spécifie le port sur lequel écouter et éventuellement une adresse IP et un +protocole à utiliser. @item @code{pid-file} (par défaut : @code{"/var/run/httpd"}) -The @code{PidFile} to use. This should match the @code{pid-file} set in the -@code{httpd-configuration} so that the Shepherd service is configured -correctly. +Le @code{PidFile} à utiliser. Cela devrait correspondre à @code{pid-file} +indiqué dans @code{httpd-configuration} pour que le service Shepherd soit +correctement configuré. @item @code{error-log} (par défaut : @code{"/var/log/httpd/error_log"}) -The @code{ErrorLog} to which the server will log errors. +Le @code{ErrorLog} où le serveur écrit les journaux d'erreurs. @item @code{user} (par défaut : @code{"httpd"}) -The @code{User} which the server will answer requests as. +Le @code{User} en tant que lequel le serveur répondra aux requêtes. @item @code{group} (par défaut : @code{"httpd"}) -The @code{Group} which the server will answer requests as. +Le @code{Group} que le serveur utilisera pour répondre aux requêtes. @item @code{extra-config} (par défaut : @code{(list "TypesConfig etc/httpd/mime.types")}) -A flat list of strings and G-expressions which will be added to the end of -the configuration file. +Une liste plate de chaînes et de G-expressions qui seront ajoutées à la fin +du fichier de configuration. -Any values which the service is extended with will be appended to this list. +N'importe quelle valeur avec laquelle le service est étendu sera ajouté à +cette liste. @end table @end deffn @deffn {Type de données} httpd-virtualhost -This data type represents a virtualhost configuration block for the httpd -service. +Ce type de données représente la configuration d'un hôte virtuel pour le +service httpd. -These should be added to the extra-config for the httpd-service. +Ils devraient être ajoutés à extra-config dans httpd-service. @example (simple-service 'my-extra-server httpd-service-type @@ -16456,11 +17475,11 @@ These should be added to the extra-config for the httpd-service. @table @asis @item @code{addresses-and-ports} -The addresses and ports for the @code{VirtualHost} directive. +L'adresse et le port pour la directive @code{VirtualHost}. @item @code{contents} -The contents of the @code{VirtualHost} directive, this should be a list of -strings and G-expressions. +Le contenu de la directive @code{VirtualHost}, cela devrait être une liste +de chaîne et de G-expressions. @end table @end deffn @@ -16468,10 +17487,10 @@ strings and G-expressions. @subsubheading NGINX @deffn {Variable Scheme} nginx-service-type -Service type for the @uref{https://nginx.org/,NGinx} web server. The value -for this service type is a @code{} record. +Type de service pour le serveur web @uref{https://nginx.org/,NGinx}. La +valeur de ce service est un enregistrement @code{}. -A simple example configuration is given below. +Un exemple de configuration simple est donné ci-dessous. @example (service nginx-service-type @@ -16482,9 +17501,9 @@ A simple example configuration is given below. (root "/srv/http/www.example.com")))))) @end example -In addition to adding server blocks to the service configuration directly, -this service can be extended by other services to add server blocks, as in -this example: +En plus d'ajouter des blocs de serveurs dans la configuration du service +directement, ce service peut être étendu par d'autres services pour ajouter +des blocs de serveurs, comme dans cet exemple : @example (simple-service 'my-extra-server nginx-service-type @@ -16494,37 +17513,39 @@ this example: @end example @end deffn -At startup, @command{nginx} has not yet read its configuration file, so it -uses a default file to log error messages. If it fails to load its -configuration file, that is where error messages are logged. After the -configuration file is loaded, the default error log file changes as per -configuration. In our case, startup error messages can be found in -@file{/var/run/nginx/logs/error.log}, and after configuration in -@file{/var/log/nginx/error.log}. The second location can be changed with -the @var{log-directory} configuration option. +Au démarrage, @command{nginx} n'a pas encore lu son fichier de +configuration, donc il utilise les fichiers par défaut pour les messages +d'erreur. S'il échoue à charger sa configuration, c'est là où les messages +seront enregistrés. Après la lecture du fichier de configuration, le +fichier de journal d'erreur par défaut change en fonction de celle-ci. Dans +notre cas, les messages d'erreur au démarage se trouvent dans +@file{/var/run/nginx/logs/error.log} et après la configuration dans +@file{/var/log/nginx/error.log}. Ce second emplacement peut être modifié +avec l'option de configuration @var{log-directory}. @deffn {Type de données} nginx-configuration -This data type represents the configuration for NGinx. Some configuration -can be done through this and the other provided record types, or -alternatively, a config file can be provided. +Ce type de données représente la configuration de NGinx. Certaines +configurations peuvent se faire ici et d'autres fournissent des types +d'enregistrement ou éventuellement, on peut fournir un fichier de +configuration. @table @asis @item @code{nginx} (par défaut : @code{nginx}) Le paquet nginx à utiliser. @item @code{log-directory} (par défaut : @code{"/var/log/nginx"}) -The directory to which NGinx will write log files. +Le répertoire dans lequel NGinx écrira ses fichiers journaux. @item @code{run-directory} (par défaut : @code{"/var/run/nginx"}) -The directory in which NGinx will create a pid file, and write temporary -files. +Le répertoire dans lequel NGinx créera un fichier de pid et écrira des +fichiers temporaires. @item @code{server-blocks} (par défaut : @code{'()}) -A list of @dfn{server blocks} to create in the generated configuration file, -the elements should be of type @code{}. +Une liste de @dfn{blocs serveur} à créer dans le fichier de configuration +généré, dont les éléments sont de type @code{}. -The following example would setup NGinx to serve @code{www.example.com} from -the @code{/srv/http/www.example.com} directory, without using HTTPS. +L'exemple suivant paramètre NGinx pour servir @code{www.example.com} depuis +le répertoire @code{/srv/http/www.example.com} sans utiliser HTTPS. @example (service nginx-service-type (nginx-configuration @@ -16535,14 +17556,16 @@ the @code{/srv/http/www.example.com} directory, without using HTTPS. @end example @item @code{upstream-blocks} (par défaut : @code{'()}) -A list of @dfn{upstream blocks} to create in the generated configuration -file, the elements should be of type @code{}. +Une liste de @dfn{blocs amont} à créer dans le fichier de configuration +généré, dont les éléments sont de type +@code{}. -Configuring upstreams through the @code{upstream-blocks} can be useful when -combined with @code{locations} in the @code{} -records. The following example creates a server configuration with one -location configuration, that will proxy requests to a upstream -configuration, which will handle requests with two servers. +Configurer les serveurs amont à travers les @code{upstream-blocks} peut être +utile en combinaison avec @code{locations} dans les enregistrements +@code{}. L'exemple suivant crée une +configuration de serveur avec une configuration « location » qui sera +mandataire pour une configuration amont, qui gérera les requêtes avec deux +serveurs. @example (service @@ -16565,308 +17588,410 @@ configuration, which will handle requests with two servers. @end example @item @code{file} (par défaut : @code{#f}) -If a configuration @var{file} is provided, this will be used, rather than -generating a configuration file from the provided @code{log-directory}, -@code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For -proper operation, these arguments should match what is in @var{file} to -ensure that the directories are created when the service is activated. +Si un fichier de configuration @var{file} est fourni, il sera utilisé au +lieu de générer un fichier de configuration à partir des +@code{log-directory}, @code{run-directory}, @code{server-blocks} et +@code{upstream-blocks} fournis. Pour un bon fonctionnement, ces arguments +devraient correspondre à ce qui se trouve dans @var{file} pour s'assurer que +les répertoires sont créé lorsque le service est activé. -This can be useful if you have an existing configuration file, or it's not -possible to do what is required through the other parts of the -nginx-configuration record. +Cela peut être utile si vous avez déjà un fichier de configuration existant +ou s'il n'est pas possible de faire ce dont vous avez besoin avec les autres +parties de l'enregistrement nginx-configuration. @item @code{server-names-hash-bucket-size} (par défaut : @code{#f}) -Bucket size for the server names hash tables, defaults to @code{#f} to use -the size of the processors cache line. +Taille du seau pour les tables de hashage des noms de serveurs, par dauft +@code{#f} pour utilise la taille des lignes de cache du processeur. @item @code{server-names-hash-bucket-max-size} (par défaut : @code{#f}) -Maximum bucket size for the server names hash tables. +Taille maximum des seaux pour les tables de hashage des serveurs de noms. @item @code{extra-content} (par défaut : @code{""}) -Extra content for the @code{http} block. Should be string or a string -valued G-expression. +Contenu supplémentaire du bloc @code{http}. Cela devrait être une chaîne ou +un G-expression. @end table @end deffn @deftp {Type de données} nginx-server-configuration -Data type representing the configuration of an nginx server block. This -type has the following parameters: +Type de données représentant la configuration d'un bloc serveur de nginx. +Ce type a les paramètres suivants : @table @asis @item @code{listen} (par défaut : @code{'("80" "443 ssl")}) -Each @code{listen} directive sets the address and port for IP, or the path -for a UNIX-domain socket on which the server will accept requests. Both -address and port, or only address or only port can be specified. An address -may also be a hostname, for example: +Chaque directive @code{listen} indique l'adresse et le port pour le +protocole IP ou le chemin d'un socket UNIX-domain sur lequel le serveur +acceptera les connexions. On peut spécifier l'adresse et le port, ou juste +l'adresse ou juste le port. Une adresse peut aussi être un nom d'hôte, par +exemple : @example '("127.0.0.1:8000" "127.0.0.1" "8000" "*:8000" "localhost:8000") @end example @item @code{server-name} (par défaut : @code{(list 'default)}) -A list of server names this server represents. @code{'default} represents -the default server for connections matching no other server. +Une liste de noms de serveurs que ce serveur représente. @code{'default} +représente le serveur par défaut pour les connexions qui ne correspondent à +aucun autre serveur. @item @code{root} (par défaut : @code{"/srv/http"}) -Root of the website nginx will serve. +Racine du site web que sert nginx. @item @code{locations} (par défaut : @code{'()}) -A list of @dfn{nginx-location-configuration} or -@dfn{nginx-named-location-configuration} records to use within this server -block. +Une liste d'enregistrements @dfn{nginx-location-configuration} ou +@dfn{nginx-named-location-configuration} à utiliser dans ce bloc serveur. @item @code{index} (par défaut : @code{(list "index.html")}) -Index files to look for when clients ask for a directory. If it cannot be -found, Nginx will send the list of files in the directory. +Fichiers d'index à chercher lorsque les clients demandent un répertoire. +S'il ne peut pas être trouvé, Nginx enverra la liste des fichiers dans le +répertoire. @item @code{try-files} (par défaut : @code{'()}) -A list of files whose existence is checked in the specified order. -@code{nginx} will use the first file it finds to process the request. +Une liste de fichiers dont l'existence doit être vérifiée dans l'ordre +spécifié. @code{nginx} utilisera le premier fichier trouvé pour satisfaire +la requête. @item @code{ssl-certificate} (par défaut : @code{#f}) -Where to find the certificate for secure connections. Set it to @code{#f} -if you don't have a certificate or you don't want to use HTTPS. +Où trouver les certificats pour les connexions sécurisées. Indiquez +@code{#f} si vous n'avez pas de certificats et que vous ne voulez pas +utiliser HTTPS. @item @code{ssl-certificate-key} (par défaut : @code{#f}) -Where to find the private key for secure connections. Set it to @code{#f} -if you don't have a key or you don't want to use HTTPS. +Où trouver la clef privée pour les connexions sécurisées. Indiquez +@code{#f} si vous n'avez pas de clef et que vous ne voulez pas utiliser +HTTPS. @item @code{server-tokens?} (par défaut : @code{#f}) -Whether the server should add its configuration to response. +Indique si le serveur devrait ajouter sa configuration dans les réponses. @item @code{raw-content} (par défaut : @code{'()}) -A list of raw lines added to the server block. +Une liste de lignes brutes à ajouter dans le bloc serveur. @end table @end deftp @deftp {Type de données} nginx-upstream-configuration -Data type representing the configuration of an nginx @code{upstream} block. -This type has the following parameters: +Type de données représentant la configuration d'un bloc @code{upstream} +nginx. Ce type a les paramètres suivants : @table @asis @item @code{name} -Name for this group of servers. +Nome de ces groupe de serveurs. -@item @code{servers} +@item @code{serveurs} Specify the addresses of the servers in the group. The address can be -specified as a IP address (e.g. @samp{127.0.0.1}), domain name -(e.g. @samp{backend1.example.com}) or a path to a UNIX socket using the -prefix @samp{unix:}. For addresses using an IP address or domain name, the -default port is 80, and a different port can be specified explicitly. +specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name (e.g.@: +@samp{backend1.example.com}) or a path to a UNIX socket using the prefix +@samp{unix:}. For addresses using an IP address or domain name, the default +port is 80, and a different port can be specified explicitly. @end table @end deftp @deftp {Type de données} nginx-location-configuration -Data type representing the configuration of an nginx @code{location} block. -This type has the following parameters: +Type de données représentant la configuration d'un bloc @code{location} +nginx. Ce type a les paramètres suivants : @table @asis @item @code{uri} -URI which this location block matches. +URI qui correspond à ce bloc. @anchor{nginx-location-configuration body} @item @code{body} -Body of the location block, specified as a list of strings. This can contain -many configuration directives. For example, to pass requests to a upstream -server group defined using an @code{nginx-upstream-configuration} block, the -following directive would be specified in the body @samp{(list "proxy_pass -http://upstream-name;")}. +Corps du block location, spécifié comme une liste de chaînes de caractères. +Cela peut contenir de nombreuses directives de configuration. PAr exemple, +pour passer des requêtes à un groupe de serveurs amont définis dans un bloc +@code{nginx-upstream-configuration}, la directive suivante peut être +spécifiée dans le corps : @samp{(list "proxy_pass http://upstream-name;")}. @end table @end deftp @deftp {Type de données} nginx-named-location-configuration -Data type representing the configuration of an nginx named location block. -Named location blocks are used for request redirection, and not used for -regular request processing. This type has the following parameters: +Type de données représentant la configuration d'un bloc location nginx +nommé. Les blocs location nommés sont utilisé les redirections de requêtes +et pas pour le traitement des requêtes normales. Ce type a les paramètres +suivants : @table @asis @item @code{name} -Name to identify this location block. +Nom pour identifier ce bloc location. @item @code{body} -@xref{nginx-location-configuration body}, as the body for named location -blocks can be used in a similar way to the -@code{nginx-location-configuration body}. One restriction is that the body -of a named location block cannot contain location blocks. +@xref{nginx-location-configuration body}, comme le corps d'un bloc location +nommé peut être utilisé de la même manière que +@code{nginx-location-configuration body}. Une restriction est que le corps +d'un bloc location nommé ne peut pas contenir de bloc location. @end table @end deftp +@subsubheading Cache Varnish +@cindex Varnish +Varnish est un serveur de cache rapide qui se trouve entre les applications +web et les utilisateurs. Il sert de serveur mandataire pour les requêtes +des clients et met les URL accédées en cache pour que plusieurs requêtes à +la même ressource ne crée qu'une requête au moteur. + +@defvr {Variable Scheme} varnish-service-type +Type de service pour le démon Varnish. +@end defvr + +@deftp {Type de données} varnish-configuration +Type de données représentant la configuration du service @code{varnish}. Ce +type a les paramètres suivants : + +@table @asis +@item @code{package} (par défaut : @code{varnish}) +Le paquet Varnish à utiliser. + +@item @code{name} (par défaut : @code{"default"}) +Un nom pour cet instance de Varnish. Varnish va créer un répertoire dans +@file{/var/varnish/} avec ce nom et gardera des fichiers temporaires à cet +endroit. Si le nom commence par une barre oblique, il est interprété comme +un nom de répertoire absolu. + +Pass the @code{-n} argument to other Varnish programs to connect to the +named instance, e.g.@: @command{varnishncsa -n default}. + +@item @code{backend} (par défaut : @code{"localhost:8080"}) +Le moteur à utiliser. Cette option n'a pas d'effet si @code{vcl} est vrai. + +@item @code{vcl} (par défaut : #f) +Le programme @dfn{VCL} (Varnish Configuration Language) à lancer. Si la +valeur est @code{#f}, Varnsh servira de mandataire pour @code{backend} avec +la configuration par défaut. Sinon, ce doit être un objet simili-fichier +avec une syntaxe VCL valide. + +@c Varnish does not support HTTPS, so keep this URL to avoid confusion. +Par exemple, pour créer un miroir de @url{http://www.gnu.org,www.gnu.org} +avec VCL vous pouvez faire quelque chose comme cela : + +@example +(define %gnu-mirror + (plain-file + "gnu.vcl" + "vcl 4.1; +backend gnu @{ .host = "www.gnu.org"; @}")) + +(operating-system + ... + (services (cons (service varnish-service-type + (varnish-configuration + (listen '(":80")) + (vcl %gnu-mirror))) + %base-services))) +@end example + +On peut inspecter la configuration d'une instance Varnish actuellement +lancée en utilisant le programme @command{varnishadm}. + +Consultez le @url{https://varnish-cache.org/docs/,guide utilisateur de +varnish} et le @url{https://book.varnish-software.com/4.0/,livre varnish} +pour une documentation complète sur Varnish et son langage de configuration. + +@item @code{listen} (par défaut : @code{'("localhost:80")}) +Liste des adresses sur lesquelles écoute Varnish. + +@item @code{storage} (par défaut : @code{'("malloc,128m")}) +Liste de moteurs de stockage qui seront disponibles en VCL. + +@item @code{parameters} (par défaut : @code{'()}) +Liste des paramètres à l'exécution de la forme @code{'(("parameter" +. "value"))}. + +@item @code{extra-options} (par défaut : @code{'()}) +Arguments supplémentaires à passer au processus @command{varnishd}. + +@end table +@end deftp + +@subsubheading FastCGI @cindex fastcgi @cindex fcgiwrap -FastCGI is an interface between the front-end and the back-end of a web -service. It is a somewhat legacy facility; new web services should -generally just talk HTTP between the front-end and the back-end. However -there are a number of back-end services such as PHP or the optimized HTTP -Git repository access that use FastCGI, so we have support for it in Guix. +FastCGI est une interface entre le frontal et le moteur d'un service web. +C'est un dispositif quelque peu désué ; les nouveaux services devraient +généralement juste parler HTTP entre le frontal et le moteur. Cependant il +y a un certain nombre de services de moteurs comme PHP ou l'accès aux dépôts +Git optimisé en HTTP qui utilisent FastCGI, donc nous le supportons dans +Guix. -To use FastCGI, you configure the front-end web server (e.g., nginx) to -dispatch some subset of its requests to the fastcgi backend, which listens -on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} -program that sits between the actual backend process and the web server. -The front-end indicates which backend program to run, passing that -information to the @code{fcgiwrap} process. +Pour utiliser FastCGI, vous configurez le serveur web frontal (p.@: ex.@: +nginx) pour envoyer un sous-ensemble de ses requêtes au moteur fastcgi, qui +écoute sur un socket UNIX ou TCP local. Il y a un programme @code{fcgiwrap} +intermédiaire qui se trouve entre le processus du moteur et le serveur web. +Le frontal indique quel moteur lancer, en passant cette information au +processus @code{fcgiwrap}. @defvr {Variable Scheme} fcgiwrap-service-type -A service type for the @code{fcgiwrap} FastCGI proxy. +Un type de service pour le mandataire FastCGI @code{fcgiwrap}. @end defvr @deftp {Type de données} fcgiwrap-configuration -Data type representing the configuration of the @code{fcgiwrap} serice. -This type has the following parameters: +Type de données représentant la configuration d'un service @code{fcgiwrap}. +Ce type a les paramètres suivants : @table @asis @item @code{package} (par défaut : @code{fcgiwrap}) Le paquet fcgiwrap à utiliser. @item @code{socket} (par défaut : @code{tcp:127.0.0.1:9000}) -The socket on which the @code{fcgiwrap} process should listen, as a string. -Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, -@code{tcp:@var{dot.ted.qu.ad}:@var{port}} and +Le socket sur lequel le processus @code{fcgiwrap} écoute, en tant que chaîne +de caractères. Les valeurs valides de @var{socket} sont +@code{unix:@var{/path/to/unix/socket}}, +@code{tcp:@var{dot.ted.qu.ad}:@var{port}} et @code{tcp6:[@var{ipv6_addr}]:port}. @item @code{user} (par défaut : @code{fcgiwrap}) @itemx @code{group} (par défaut : @code{fcgiwrap}) -The user and group names, as strings, under which to run the @code{fcgiwrap} -process. The @code{fastcgi} service will ensure that if the user asks for -the specific user or group names @code{fcgiwrap} that the corresponding user -and/or group is present on the system. +Les noms de l'utilisateur et du groupe, en tant que chaînes de caractères, +sous lesquels lancer le processus @code{fcgiwrap}. Le service +@code{fastcgi} s'assurera que si l'utilisateur demande les noms +d'utilisateurs et de groupes @code{fcgiwrap} l'utilisateur et le groupe +correspondant seront présents sur le système. -It is possible to configure a FastCGI-backed web service to pass HTTP -authentication information from the front-end to the back-end, and to allow -@code{fcgiwrap} to run the back-end process as a corresponding local user. -To enable this capability on the back-end., run @code{fcgiwrap} as the -@code{root} user and group. Note that this capability also has to be -configured on the front-end as well. +Il est possible de configurer un service web soutenu par FastCGI pour passer +les informations d'authentification HTTP depuis le frontal jusqu'au moteur, +et de permettre à @code{fcgiwrap} dans lancer le processus de moteur avec +l'utilisateur correspondant. Pour activer cette fonctionnalité sur le +moteur, lancez @code{fcgiwrap} en tant qu'utilisateur et groupe +@code{root}. Remarquez que cette fonctionnalité doit aussi être configurée +sur le frontal. @end table @end deftp @cindex php-fpm -PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI -implementation with some additional features useful for sites of any size. +PHP-FPM (FastCGI Process Manager) est une implémentation FastCGI de PHP +alternative avec quelques fonctionnalités supplémentaires utiles pour les +sites de toutes tailles. -These features include: +Ces fonctionnalités comprennent : @itemize @bullet -@item Adaptive process spawning -@item Basic statistics (similar to Apache's mod_status) -@item Advanced process management with graceful stop/start -@item Ability to start workers with different uid/gid/chroot/environment -and different php.ini (replaces safe_mode) -@item Stdout & stderr logging -@item Emergency restart in case of accidental opcode cache destruction -@item Accelerated upload support -@item Support for a "slowlog" -@item Enhancements to FastCGI, such as fastcgi_finish_request() - -a special function to finish request & flush all data while continuing to do -something time-consuming (video converting, stats processing, etc.) +@item La création de processus adaptative +@item Des statistiques de base (comme le mod_status d'Apache) +@item La gestion des processus avancée avec arrêt et démarrage sans heurts +@item La possibilité de démarrer des processus de travail avec différents uid/gid/chroot/environnement +et différents php.ini (à la place de safe_mode) +@item L'enregistrement des journaux sur stdout et stderr +@item Le redémarrage d'urgence dans le cas de la destruction accidentelle du cache des opcodes +@item Le support des téléversements accélérés +@item Le support de « showlog » +@item Des améliorations à FastCGI, comme fastcgi_finish_request() - +une fonction spéciale pour terminer la requête et nettoyer toutes les +données tout en continuant à faire d'autres choses qui prennent du temps +(conversion vidéo, gestion des stats, etc…). @end itemize -... and much more. +...@: and much more. @defvr {Variable Scheme} php-fpm-service-type -A Service type for @code{php-fpm}. +Un type de service pour @code{php-fpm}. @end defvr @deftp {Type de données} php-fpm-configuration -Data Type for php-fpm service configuration. +Type de données pour la configuration du service php-fpm. @table @asis @item @code{php} (par défaut : @code{php}) Le paquet php à utiliser. @item @code{socket} (par défaut : @code{(string-append "/var/run/php" (version-major (package-version php)) "-fpm.sock")}) -The address on which to accept FastCGI requests. Valid syntaxes are: +L'adresse sur laquelle accepter les requêts FastCGI. Les syntaxes valides +sont : @table @asis @item @code{"ip.add.re.ss:port"} -Listen on a TCP socket to a specific address on a specific port. +Écoute sur un socket TCP sur l'adresse spécifiée sur un port spécifié. @item @code{"port"} -Listen on a TCP socket to all addresses on a specific port. +Écoute sur un socket TCP sur toutes les adresse sur un port spécifique. @item @code{"/path/to/unix/socket"} -Listen on a unix socket. +Écoute sur un socket unix. @end table @item @code{user} (par défaut : @code{php-fpm}) -User who will own the php worker processes. +Utilisateur à qui appartiendra le processus de travail de php. @item @code{group} (par défaut : @code{php-fpm}) -Group of the worker processes. +Groupe du processus de travail. @item @code{socket-user} (par défaut : @code{php-fpm}) -User who can speak to the php-fpm socket. +Utilisateur qui peut parler au socket php-fpm. @item @code{socket-group} (par défaut : @code{php-fpm}) -Group that can speak to the php-fpm socket. +Groupe qui peut parler au socket php-fpm. @item @code{pid-file} (par défaut : @code{(string-append "/var/run/php" (version-major (package-version php)) "-fpm.pid")}) -The process id of the php-fpm process is written to this file once the -service has started. +Le pid de php-fpm est écrit dans ce fichier une fois que le service a +démarré. @item @code{log-file} (par défaut : @code{(string-append "/var/log/php" (version-major (package-version php)) "-fpm.log")}) -Log for the php-fpm master process. +Fichier de journal pour le processus maître de php-fpm. @item @code{process-manager} (par défaut : @code{(php-fpm-dynamic-process-manager-configuration)}) -Detailed settings for the php-fpm process manager. Must be either: +Configuration détaillée pour le gestionnaire de processus de php-fpm. Il +doit s'agir soit de : @table @asis -@item @code{} -@item @code{} +@item @code{,} +@item @code{ ou} @item @code{} @end table @item @code{display-errors} (par défaut : @code{#f}) -Determines whether php errors and warning should be sent to clients and -displayed in their browsers. This is useful for local php development, but -a security risk for public sites, as error messages can reveal passwords and -personal data. +Détermine si les erreurs et les avertissements php doivent être envoyés aux +clients et affichés dans leur navigateur. Cela est utile pour un +développement php local, mais un risque pour la sécurité pour les sites +publics, comme les messages d'erreur peuvent révéler des mots de passes et +des données personnelles. @item @code{workers-logfile} (par défaut : @code{(string-append "/var/log/php" (version-major (package-version php)) "-fpm.www.log")}) -This file will log the @code{stderr} outputs of php worker processes. Can -be set to @code{#f} to disable logging. +Ce fichier enregistrera la sortie @code{stderr} des processus de travail de +php. On peut indiquer @code{#f} pour désactiver la journalisation. @item @code{file} (par défaut : @code{#f}) -An optional override of the whole configuration. You can use the -@code{mixed-text-file} function or an absolute filepath for it. +Une version alternative de la configuration complète. Vous pouvez utiliser +la fonction @code{mixed-text-file} ou un chemin de fichier absolu. @end table @end deftp -@deftp {Data type} php-fpm-dynamic-process-manager-configuration -Data Type for the @code{dynamic} php-fpm process manager. With the -@code{dynamic} process manager, spare worker processes are kept around based -on it's configured limits. +@deftp {Type de données} php-fpm-dynamic-process-manager-configuration +Type de données pour le gestionnaire de processus @code{dynamic} de +php-fpm. Avec le gestionnaire de processus @code{dynamic}, des processus de +travail de secours sont gardés en fonction des limites configurées. @table @asis @item @code{max-children} (par défaut : @code{5}) -Maximum of worker processes. +Nombre maximum de processus de travail. @item @code{start-servers} (par défaut : @code{2}) -How many worker processes should be started on start-up. +Nombre de processus de travail au démarrage. @item @code{min-spare-servers} (par défaut : @code{1}) -How many spare worker processes should be kept around at minimum. +Nombre de processus de travail de secours minimum qui doivent rester à +disposition. @item @code{max-spare-servers} (par défaut : @code{3}) -How many spare worker processes should be kept around at maximum. +Nombre maximum de processus de travail de secours qui peuvent rester à +disposition. @end table @end deftp -@deftp {Data type} php-fpm-static-process-manager-configuration -Data Type for the @code{static} php-fpm process manager. With the -@code{static} process manager, an unchanging number of worker processes are -created. +@deftp {Type de données} php-fpm-static-process-manager-configuration +Type de données pour le gestionnaire de processus @code{static} de php-fpm. +Avec le gestionnaire de processus @code{static}, un nombre constant de +processus de travail est créé. @table @asis @item @code{max-children} (par défaut : @code{5}) -Maximum of worker processes. +Nombre maximum de processus de travail. @end table @end deftp -@deftp {Data type} php-fpm-on-demand-process-manager-configuration -Data Type for the @code{on-demand} php-fpm process manager. With the -@code{on-demand} process manager, worker processes are only created as -requests arrive. +@deftp {Type de données} php-fpm-on-demand-process-manager-configuration +Type de données pour le gestionnaire de processus @code{on-demand} de +php-fpm. Avec le gestionnaire de processus @code{on-demand}, les processus +de travail ne sont créés que lorsque les requêtes arrivent. @table @asis @item @code{max-children} (par défaut : @code{5}) -Maximum of worker processes. +Nombre maximum de processus de travail. @item @code{process-idle-timeout} (par défaut : @code{10}) -The time in seconds after which a process with no requests is killed. +La durée en secondes après laquelle un processus sans requête sera tué. @end table @end deftp @deffn {Procédure Scheme} nginx-php-fpm-location @ - [#:nginx-package nginx] @ [socket (string-append "/var/run/php" @ -(version-major (package-version php)) @ "-fpm.sock")] A helper function to -quickly add php to an @code{nginx-server-configuration}. + [#:nginx-package nginx] @ +[socket (string-append "/var/run/php" @ +(version-major (package-version php)) @ +"-fpm.sock")] +Une fonction d'aide pour ajouter rapidement php à un +@code{nginx-server-configuration}. @end deffn -A simple services setup for nginx with php can look like this: +Une configuration simple de services pour php ressemble à ceci : @example -(services (cons* (dhcp-client-service) +(services (cons* (service dhcp-client-service-type) (service php-fpm-service-type) (service nginx-service-type (nginx-server-configuration @@ -16881,21 +18006,23 @@ A simple services setup for nginx with php can look like this: @end example @cindex cat-avatar-generator -The cat avatar generator is a simple service to demonstrate the use of -php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for -instance the hash of a user's email address. +Le générateur d'avatar de chat est un simple service pour démontrer +l'utilisation de php-fpm dans @code{Nginx}. Il permet de générer des +avatars de chats à partir d'une graine, par exemple le hash de l'adresse de +courriel d'un utilisateur. @deffn {Procédure Scheme} cat-avatar-generator-serice @ - [#:cache-dir "/var/cache/cat-avatar-generator"] @ [#:package -cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] -Returns an nginx-server-configuration that inherits @code{configuration}. -It extends the nginx configuration to add a server block that serves -@code{package}, a version of cat-avatar-generator. During execution, -cat-avatar-generator will be able to use @code{cache-dir} as its cache -directory. + [#:cache-dir "/var/cache/cat-avatar-generator"] @ +[#:package cat-avatar-generator] @ +[#:configuration (nginx-server-configuration)] +Renvoie un nginx-server-configuration qui hérite de @code{configuration}. +Il étend la configuration nginx pour ajouter un bloc de serveur qui sert +@code{package}, une version de cat-avatar-generator. Pendant l'exécution, +cat-avatar-generator pourra utiliser @code{cache-dir} comme répertoire de +cache. @end deffn -A simple setup for cat-avatar-generator can look like this: +Une configuration simple de cat-avatar-generator ressemble à ceci : @example (services (cons* (cat-avatar-generator-service #:configuration @@ -16908,21 +18035,22 @@ A simple setup for cat-avatar-generator can look like this: @subsubheading Hpcguix-web @cindex hpcguix-web -The @uref{hpcguix-web, https://github.com/UMCUGenetics/hpcguix-web/} program -is a customizable web interface to browse Guix packages, initially designed -for users of high-performance computing (HPC) clusters. +Le programme @uref{hpcguix-web, +https://github.com/UMCUGenetics/hpcguix-web/} est une interface web +personnalisable pour naviguer dans les paquets Guix, initialement conçue +pour les utilisateurs des grappes de calcul de haute performance (HPC). @defvr {Variable Scheme} hpcguix-web-service-type -The service type for @code{hpcguix-web}. +Le type de service pour @code{hpcguix-web}. @end defvr @deftp {Type de données} hpcguix-web-configuration -Data type for the hpcguix-web service configuration. +Type de données pour la configuration du service hpcguix-web. @table @asis @item @code{specs} -A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service -configuration. The main items available in this spec are: +Une gexp (@pxref{G-Expressions}) spécifiant la configuration du service +hpcguix-web. Les éléments principaux disponibles dans cette spec sont : @table @asis @item @code{title-prefix} (par défaut : @code{"hpcguix | "}) @@ -16935,22 +18063,30 @@ La commande @command{guix} Une procédure qui spécifie comment filtrer les paquets qui seront affichés. @item @code{package-page-extension-proc} (par défaut : @code{(const '())}) -Extension package for @code{hpcguix-web}. +Paquet d'extensions pour @code{hpcguix-web}. @item @code{menu} (par défaut : @code{'()}) -Additional entry in page @code{menu}. +Entrée supplémentaire dans la page @code{menu}. + +@item @code{channels} (par défaut : @code{%default-channels}) +Liste des canaux depuis lesquels la liste des paquets est construite +(@pxref{Canaux}). + +@item @code{package-list-expiration} (par défaut : @code{(* 12 3600)}) +Le temps d'expiration, en secondes, après lequel la liste des paquets est +reconstruite depuis les dernières instance des canaux donnés. @end table -See the hpcguix-web repository for a +Voir le dépôt hpcguix-web pour un @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, -complete example}. +exemple complet} @item @code{package} (par défaut : @code{hpcguix-web}) Le paquet hpcguix-web à utiliser. @end table @end deftp -A typical hpcguix-web service declaration looks like this: +Une déclaration de service hpcguix-web typique ressemble à cela : @example (service hpcguix-web-service-type @@ -16962,47 +18098,62 @@ A typical hpcguix-web service declaration looks like this: (menu '(("/about" "ABOUT")))))))) @end example +@quotation Remarque +Le service hpcguix-web met régulièrement à jour la liste des paquets qu'il +publie en récupérant les canaux depuis Git. Pour cela, il doit accéder aux +certificats X.509 pour qu'il puisse authentifier les serveurs Git quand il +communique en HTTPS, et il suppose que @file{/etc/ssl/certs} contient ces +certificats. + +Ainsi, assurez-vous d'ajouter @code{nss-certs} ou un autre paquet de +certificats dans le champ @code{packages} de votre configuration. +@ref{Certificats X.509} pour plus d'informations sur les certificats X.509. +@end quotation + @node Services de certificats @subsubsection Services de certificats @cindex Web @cindex HTTP, HTTPS @cindex Let's Encrypt -@cindex TLS certificates -The @code{(gnu services certbot)} module provides a service to automatically -obtain a valid TLS certificate from the Let's Encrypt certificate -authority. These certificates can then be used to serve content securely -over HTTPS or other TLS-based protocols, with the knowledge that the client -will be able to verify the server's authenticity. +@cindex certificats TLS +Le module @code{(gnu services certbot)} fournit un service qui récupère +automatiquement un certificat TLS valide de l'autorité de certification +Let's Encrypt. Ces certificats peuvent ensuite être utilisés pour servir du +contenu de manière sécurisée sur HTTPS et d'autres protocoles basés sur TLS, +en sachant que le client sera capable de vérifier l'authenticité du serveur. -@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} -tool to automate the certification process. This tool first securely -generates a key on the server. It then makes a request to the Let's Encrypt -certificate authority (CA) to sign the key. The CA checks that the request -originates from the host in question by using a challenge-response protocol, -requiring the server to provide its response over HTTP. If that protocol -completes successfully, the CA signs the key, resulting in a certificate. -That certificate is valid for a limited period of time, and therefore to -continue to provide TLS services, the server needs to periodically ask the -CA to renew its signature. +@url{https://letsencrypt.org/, Let's Encrypt} fournit l'outil @code{certbot} +pour automatiser le processus de certification. Cet outil génère d'abord un +clef sur le serveur de manière sécurisée. Ensuite il demande à l'autorité +de certification Let's Encrypt de signer la clef. La CA vérifie que la +requête provient de l'hôte en question en utilisant un protocole de +défi-réponse, ce qui requiert que le serveur fournisse sa réponse par HTTP. +Si ce protocole se passe sans encombre, la CA signe la clef et on obtient un +certificat. Ce certificat est valide pour une durée limitée et donc, pour +continuer à fournir des services en TLS, le serveur doit régulièrement +demander à la CA de renouveler sa signature. The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the -renewal (e.g. reloading services, copying keys with different permissions). +renewal (e.g.@: reloading services, copying keys with different +permissions). -Certbot is run twice a day, at a random minute within the hour. It won't do -anything until your certificates are due for renewal or revoked, but running -it regularly would give your service a chance of staying online in case a -Let's Encrypt-initiated revocation happened for some reason. +Certbot est lancé deux fois par jour, à une minute aléatoire dans l'heure. +Il ne fera rien sauf si vos certificats doivent être renouvelés ou sont +révoqués, mais le lancer régulièrement permettra à vos services de rester en +ligne si Let's Encrypt décide de révoquer votre certificat. -By using this service, you agree to the ACME Subscriber Agreement, which can -be found there: @url{https://acme-v01.api.letsencrypt.org/directory}. +En utilisant ce service, vous acceptez le document « ACME Subscriber +Agreement », qu'on peut trouver ici : +@url{https://acme-v01.api.letsencrypt.org/directory}. @defvr {Variable Scheme} certbot-service-type -A service type for the @code{certbot} Let's Encrypt client. Its value must -be a @code{certbot-configuration} record as in this example: +Un type de service pour le client Let's Encrypt @code{certbot}. Sa valeur +doit être un enregistrement @code{certbot-configuration} comme dans cet +exemple : @example (define %nginx-deploy-hook @@ -17023,99 +18174,102 @@ be a @code{certbot-configuration} record as in this example: (domains '("bar.example.net"))))))) @end example -See below for details about @code{certbot-configuration}. +Voir plus bas pour des détails sur @code{certbot-configuration}. @end defvr @deftp {Type de données} certbot-configuration -Data type representing the configuration of the @code{certbot} service. -This type has the following parameters: +Type données représentant la configuration du service @code{certbot}. Ce +type a les paramètres suivants : @table @asis @item @code{package} (par défaut : @code{certbot}) Le paquet certbot à utiliser. @item @code{webroot} (par défaut : @code{/var/www}) -The directory from which to serve the Let's Encrypt challenge/response -files. +Le répertoire depuis lequel servir les fichiers du défi/réponse de Let's +Encrypt. @item @code{certificates} (par défaut : @code{()}) -A list of @code{certificates-configuration}s for which to generate -certificates and request signatures. Each certificate has a @code{name} and -several @code{domains}. +Une liste de @code{certificates-configuration} pour lesquels générer des +certificats et demander des signatures. Chaque certificat a un @code{name} +et plusieurs @code{domains}. @item @code{email} -Mandatory email used for registration, recovery contact, and important -account notifications. +Courriel obligatoire utilisé pour la création de compte, le contact en cas +de problème et des notifications importantes sur le compte. @item @code{rsa-key-size} (par défaut : @code{2048}) -Size of the RSA key. +Taille de la clef RSA. -@item @code{default-location} (default: @i{see below}) -The default @code{nginx-location-configuration}. Because @code{certbot} -needs to be able to serve challenges and responses, it needs to be able to -run a web server. It does so by extending the @code{nginx} web service with -an @code{nginx-server-configuration} listening on the @var{domains} on port -80, and which has a @code{nginx-location-configuration} for the -@code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Services web}, for more on these nginx configuration data types. +@item @code{default-location} (par défaut : @i{voir plus bas}) +Le @code{nginx-location-configuration} par défaut. Come @code{certbot} doit +pouvoir servir les défis et les réponses, il doit être capable de lancer un +serveur web. Cela se fait en étendant le service web @code{nginx} avec un +@code{nginx-server-configuration} qui écoute sur les @var{domains} sur le +port 80 et qui a un @code{nginx-location-configuration} pour le chemin +@code{/.well-known/} utilisé par Let's Encrypt. @xref{Services web} pour +plus d'information sur les types de données de la configuration de nginx. -Requests to other URL paths will be matched by the @code{default-location}, -which if present is added to all @code{nginx-server-configuration}s. +Les requêtes vers d'autres URL correspondra à @code{default-location}, qui, +s'il est présent, sera ajout é à tous les @code{nginx-server-configuration}. -By default, the @code{default-location} will issue a redirect from -@code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving -you to define what to serve on your site via @code{https}. +Par défaut, le @code{default-location} sera une redirection de +@code{http://@var{domain}/…} vers @code{https://@var{domain}/…}, en vous +laissant définir ce que vous voulez servir sur votre site en @code{https}. -Pass @code{#f} to not issue a default location. +Passez @code{#f} pour ne pas utiliser de location par défaut. @end table @end deftp @deftp {Type de données} certificate-configuration -Data type representing the configuration of a certificate. This type has -the following parameters: +Type de données représentant la configuration d'un certificat. Ce type a +les paramètres suivants : @table @asis -@item @code{name} (default: @i{see below}) -This name is used by Certbot for housekeeping and in file paths; it doesn't -affect the content of the certificate itself. To see certificate names, run -@code{certbot certificates}. +@item @code{name} (par défaut : @i{voir plus bas}) +Ce nom est utilisé par Certbot pour ses tâches quotidiennes et dans les +chemins de fichiers ; il n'affecte pas le contenu des certificats +eux-mêmes. Pour voir les noms des certificats, lancez @code{certbot +certificates}. -Its default is the first provided domain. +Sa valeur par défaut est le premier domaine spécifié. @item @code{domains} (par défaut : @code{()}) -The first domain provided will be the subject CN of the certificate, and all -domains will be Subject Alternative Names on the certificate. +Le premier domaine spécifié sera le CN du sujet du certificat, et tous les +domaines seront les noms alternatifs du sujet dans le certificat. @item @code{deploy-hook} (par défaut : @code{#f}) -Command to be run in a shell once for each successfully issued certificate. -For this command, the shell variable @code{$RENEWED_LINEAGE} will point to -the config live subdirectory (for example, -@samp{"/etc/letsencrypt/live/example.com"}) containing the new certificates -and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a -space-delimited list of renewed certificate domains (for example, -@samp{"example.com www.example.com"}. +Commande à lancer dans un shell une fois par certificat récupéré avec +succès. Pour cette commande, la variable @code{$RENEWED_LINEAGE} pointera +sur le sous-répertoire live (par exemple, +@samp{"/etc/letsencrypt/live/example.com"}) contenant le nouveau certificat +et la clef ; la variable @code{$RENEWED_DOMAINS} contiendra les noms de +domaines séparés par des espaces (par exemple @samp{"example.com +www.example.com"}). @end table @end deftp -For each @code{certificate-configuration}, the certificate is saved to -@code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved -to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}. +Pour chaque @code{certificate-configuration}, le certificat est sauvegardé +dans @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} et la clef est +sauvegardée dans @code{/etc/letsencrypt/live/@var{name}/privkey.pem}. @node Services DNS @subsubsection Services DNS @cindex DNS (domain name system) @cindex domain name system (DNS) -The @code{(gnu services dns)} module provides services related to the -@dfn{domain name system} (DNS). It provides a server service for hosting an -@emph{authoritative} DNS server for multiple zones, slave or master. This -service uses @uref{https://www.knot-dns.cz/, Knot DNS}. And also a caching -and forwarding DNS server for the LAN, which uses -@uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}. +Le module @code{(gnu services dns)} fournit des services liés au +@dfn{système de noms de domaines} (DNS). Il fournit un service de serveur +pour héberger un serveur DNS @emph{faisant autorité} pour plusieurs zones, +en esclave ou en maître. Ce service utilise @uref{https://www.knot-dns.cz/, +Knot DNS}. Il fournit aussi un service de cache et de renvoie DNS pour le +LAN, qui utilise @uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, +dnsmasq}. @subsubheading Service Knot -An example configuration of an authoritative server for two zones, one -master and one slave, is: +Voici un exemple de configuration pour un serveur faisant autorité sur deux +zone, un maître et un esclave : @lisp (define-zone-entries example.org.zone @@ -17153,359 +18307,387 @@ master and one slave, is: @end lisp @deffn {Variable Scheme} knot-service-type -This is the type for the Knot DNS server. +C'est le type pour le serveur DNS Knot. -Knot DNS is an authoritative DNS server, meaning that it can serve multiple -zones, that is to say domain names you would buy from a registrar. This -server is not a resolver, meaning that it can only resolve names for which -it is authoritative. This server can be configured to serve zones as a -master server or a slave server as a per-zone basis. Slave zones will get -their data from masters, and will serve it as an authoritative server. From -the point of view of a resolver, there is no difference between master and -slave. +Knot DNS est un serveur DNS faisant autorité, ce qui signifie qu'il peut +servir plusieurs zones, c'est-à-dire des noms de domaines que vous achetez à +un registrar. Ce serveur n'est pas un résolveur, ce qui signifie qu'il ne +peut pas résoudre les noms pour lesquels il ne fait pas autorité. Ce +serveur peut être configuré pour servir des zones comme un serveur maître ou +comme un serveur esclave, en fonction des zones. Les zones esclaves +récupèrent leurs données des maîtres, et seront servies comme faisant +autorité. Du point de vue d'un résolveur, il n'y a pas de différence entre +un maître et un esclave@footnote{NdT : Voir la conférence en Français de +Stéphane Bortzmeyer pour en apprendre plus sur le DNS : +@url{https://iletaitunefoisinternet.fr/dns-bortzmeyer/index.html}}. -The following data types are used to configure the Knot DNS server: +Les types de données suivants sont utilisés pour configurer le serveur DNS +Knot : @end deffn @deftp {Type de données} knot-key-configuration -Data type representing a key. This type has the following parameters: +Type de données représentant une clef. Ce type a les paramètres suivants : @table @asis @item @code{id} (par défaut : @code{""}) -An identifier for other configuration fields to refer to this key. IDs must -be unique and must not be empty. +Un identifiant pour d'autres champs de configuration qui se réfèrent à cette +clef. Les ID doivent être uniques et non vides. @item @code{algorithm} (par défaut : @code{#f}) -The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, +L'algorithme à utiliser. Choisissez entre @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, -@code{'hmac-sha384} and @code{'hmac-sha512}. +@code{'hmac-sha384} et @code{'hmac-sha512}. @item @code{secret} (par défaut : @code{""}) -The secret key itself. +La clef secrète elle-même. @end table @end deftp @deftp {Type de données} knot-acl-configuration -Data type representing an Access Control List (ACL) configuration. This -type has the following parameters: +Type de données représentant une configuration de liste de contrôle d'accès +(ACL). Ce type a les paramètres suivants : @table @asis @item @code{id} (par défaut : @code{""}) -An identifier for ether configuration fields to refer to this key. IDs must -be unique and must not be empty. +Un identifiant pour d'autres champs de configuration qui se réfèrent à cette +clef. Les ID doivent être uniques et non vides. @item @code{address} (par défaut : @code{'()}) -An ordered list of IP addresses, network subnets, or network ranges -represented with strings. The query must match one of them. Empty value -means that address match is not required. +Une liste ordonnée d'adresses IP, de sous-réseaux ou d'intervalles de +réseaux représentés par des chaînes de caractères. La requête doit +correspondre à l'une d'entre elles. La valeur vide signifie que l'adresse +n'a pas besoin de correspondre. @item @code{key} (par défaut : @code{'()}) -An ordered list of references to keys represented with strings. The string -must match a key ID defined in a @code{knot-key-configuration}. No key -means that a key is not require to match that ACL. +Une liste ordonnées de références à des clefs représentés par des chaînes. +La chaîne doit correspondre à un ID définie dans un +@code{knot-key-configuration}. Aucune clef signifie qu'une clef n'est pas +nécessaire pour correspondre à l'ACL. @item @code{action} (par défaut : @code{'()}) -An ordered list of actions that are permitted or forbidden by this ACL. -Possible values are lists of zero or more elements from @code{'transfer}, -@code{'notify} and @code{'update}. +Une liste ordonnée d'actions permises ou interdites par cet ACL. Les +valeurs possibles sont une liste de zéro ou plus d'éléments entre +@code{'transfer}, @code{'notify} et @code{'update}. @item @code{deny?} (par défaut : @code{#f}) -When true, the ACL defines restrictions. Listed actions are forbidden. -When false, listed actions are allowed. +Lorsque la valeur est vraie, l'ACL définie des restrictions. Les actions +listées sont interdites. Lorsque la valeur est fausse, les actions listées +sont autorisées. @end table @end deftp @deftp {Type de données} zone-entry -Data type represnting a record entry in a zone file. This type has the -following parameters: +Type de données représentant une entrée dans un fichier de zone. Ce type a +les paramètres suivants : @table @asis @item @code{name} (par défaut : @code{"@@"}) -The name of the record. @code{"@@"} refers to the origin of the zone. -Names are relative to the origin of the zone. For example, in the -@code{example.org} zone, @code{"ns.example.org"} actually refers to -@code{ns.example.org.example.org}. Names ending with a dot are absolute, -which means that @code{"ns.example.org."} refers to @code{ns.example.org}. +Le nom de l'enregistrement. @code{"@@"} se réfère à l'origine de la zone. +Les noms sont relatifs à l'origine de la zone. Par exemple, dans la zone +@code{example.org}, @code{"ns.example.org"} se réfère en fait à +@code{ns.example.org.example.org}. Les noms qui finissent par un point sont +absolus, ce qui signifie que @code{"ns.example.org."} se réfère bien à +@code{ns.example.org}. @item @code{ttl} (par défaut : @code{""}) -The Time-To-Live (TTL) of this record. If not set, the default TTL is used. +La durée de vie (TTL) de cet enregistrement. S'il n'est pas indiqué, le TTL +par défaut est utilisé. @item @code{class} (par défaut : @code{"IN"}) -The class of the record. Knot currently supports only @code{"IN"} and -partially @code{"CH"}. +La classe de l'enregistrement. Knot ne supporte actuellement que +@code{"IN"} et partiellement @code{"CH"}. @item @code{type} (par défaut : @code{"A"}) -The type of the record. Common types include A (IPv4 address), AAAA (IPv6 -address), NS (Name Server) and MX (Mail eXchange). Many other types are -defined. +Le type d'enregistrement. Les types usuels sont A (une adresse IPv4), NS +(serveur de nom) et MX (serveur de courriel). Bien d'autres types sont +définis. @item @code{data} (par défaut : @code{""}) -The data contained in the record. For instance an IP address associated -with an A record, or a domain name associated with an NS record. Remember -that domain names are relative to the origin unless they end with a dot. +Les données contenues dans l'enregistrement. Par exemple une adresse IP +associée à un enregistrement A, ou un nom de domaine associé à un +enregistrement NS. Rappelez-vous que les noms de domaines sont relatifs à +l'origine à moins qu'ils ne finissent par un point. @end table @end deftp @deftp {Type de données} zone-file -Data type representing the content of a zone file. This type has the -following parameters: +Type données représentant le contenu d'un fichier de zone. Ce type a les +paramètres suivants : @table @asis @item @code{entries} (par défaut : @code{'()}) -The list of entries. The SOA record is taken care of, so you don't need to -put it in the list of entries. This list should probably contain an entry -for your primary authoritative DNS server. Other than using a list of -entries directly, you can use @code{define-zone-entries} to define a object -containing the list of entries more easily, that you can later pass to the -@code{entries} field of the @code{zone-file}. +La liste des entrées. On s'occupe de l'enregistrement SOA, donc vous n'avez +pas besoin de l'ajouter dans la liste des entrées. Cette liste devrait +contenir une entrée pour votre serveur DNS primaire faisant autorité. En +plus d'utiliser une liste des entrées directement, vous pouvez utiliser +@code{define-zone-entries} pour définir un objet contenant la liste des +entrées plus facilement, que vous pouvez ensuite passer au champ +@code{entries} de @code{zone-file}. @item @code{origin} (par défaut : @code{""}) -The name of your zone. This parameter cannot be empty. +Le nom de votre zone. Ce paramètre ne peut pas être vide. @item @code{ns} (par défaut : @code{"ns"}) -The domain of your primary authoritative DNS server. The name is relative -to the origin, unless it ends with a dot. It is mandatory that this primary -DNS server corresponds to an NS record in the zone and that it is associated -to an IP address in the list of entries. +Le domaine de votre serveur DNS primaire faisant autorité. Le nom est +relatif à l'origine, à moins qu'il finisse par un point. Il est nécessaire +que ce serveur DNS primaire corresponde à un enregistrement NS dans la zone +et qu'il soit associé à une adresse IP dans la liste des entrées. @item @code{mail} (par défaut : @code{"hostmaster"}) -An email address people can contact you at, as the owner of the zone. This -is translated as @code{@@}. +Une adresse de courriel pour vous contacter en tant que propriétaire de la +zone. Cela se transforme en @code{@@}. @item @code{serial} (par défaut : @code{1}) -The serial number of the zone. As this is used to keep track of changes by -both slaves and resolvers, it is mandatory that it @emph{never} decreases. -Always increment it when you make a change in your zone. +Le numéro de série de la zone. Comme c'est utilisé pour vérifier les +changements à la fois par les esclaves et par les résolveurs, il est +nécessaire qu'il ne décroisse @emph{jamais}. Incrémentez-le toujours quand +vous faites un changement sur votre zone. @item @code{refresh} (par défaut : @code{(* 2 24 3600)}) -The frequency at which slaves will do a zone transfer. This value is a -number of seconds. It can be computed by multiplications or with -@code{(string->duration)}. +La fréquence à laquelle les esclaves demanderont un transfert de zone. +Cette valeur est un nombre de secondes. On peut le calculer avec des +multiplications ou avec @code{(string->duration)}. @item @code{retry} (par défaut : @code{(* 15 60)}) -The period after which a slave will retry to contact its master when it -fails to do so a first time. +La période après laquelle un esclave essaiera de contacter son maître +lorsqu'il échoue à le faire la première fois. @item @code{expiry} (par défaut : @code{(* 14 24 3600)}) -Default TTL of records. Existing records are considered correct for at most -this amount of time. After this period, resolvers will invalidate their -cache and check again that it still exists. +TTL par défaut des enregistrements. Les enregistrements existants sont +considérés corrects pour au moins cette durée. Après cette période, les +résolveurs invalideront leur cache et vérifieront de nouveau qu'ils existent +toujours. @item @code{nx} (par défaut : @code{3600}) -Default TTL of inexistant records. This delay is usually short because you -want your new domains to reach everyone quickly. +TTL par défaut des enregistrement inexistants. Ce TTL est habituellement +court parce que vous voulez que vous nouveaux domaines soient disponibles +pour tout le monde le plus rapidement possible. @end table @end deftp @deftp {Type de données} knot-remote-configuration -Data type representing a remote configuration. This type has the following -parameters: +Type de données représentant une configuration de serveurs distants. Ce +type a les paramètres suivants : @table @asis @item @code{id} (par défaut : @code{""}) -An identifier for other configuration fields to refer to this remote. IDs -must be unique and must not be empty. +Un identifiant pour que les autres champs de configuration se réfèrent à ce +serveur distant. les ID doivent être uniques et non vides. @item @code{address} (par défaut : @code{'()}) -An ordered list of destination IP addresses. Addresses are tried in -sequence. An optional port can be given with the @@ separator. For -instance: @code{(list "1.2.3.4" "2.3.4.5@@53")}. Default port is 53. +Une liste ordonnée d'adresses IP de destination. Ces adresses sont essayées +en séquence. Un port facultatif peut être donné avec le séparateur @@. Par +exemple @code{(list "1.2.3.4" "2.3.4.5@@53")}. Le port par défaut est le +53. @item @code{via} (par défaut : @code{'()}) -An ordered list of source IP addresses. An empty list will have Knot choose -an appropriate source IP. An optional port can be given with the @@ -separator. The default is to choose at random. +Une liste ordonnée d'adresses IP sources. Une liste vide fera choisir une +IP source appropriée à Knot. Un port facultatif peut être donné avec le +séparateur @@. La valeur par défaut est de choisir aléatoirement. @item @code{key} (par défaut : @code{#f}) -A reference to a key, that is a string containing the identifier of a key -defined in a @code{knot-key-configuration} field. +Une référence à une clef, c'est-à-dire une chaîne contenant l'identifiant +d'une clef définie dans un champ @code{knot-key-configuration}. @end table @end deftp @deftp {Type de données} knot-keystore-configuration -Data type representing a keystore to hold dnssec keys. This type has the -following parameters: +Type de données représentant une base de clefs pour garder les clefs +dnssec. Ce type a les paramètres suivants : @table @asis @item @code{id} (par défaut : @code{""}) -The id of the keystore. It must not be empty. +L'id de cette base de clefs. Il ne doit pas être vide. @item @code{backend} (par défaut : @code{'pem}) -The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}. +Le moteur de stockage des clefs. Cela peut être @code{'pem} ou +@code{'pkcs11}. @item @code{config} (par défaut : @code{"/var/lib/knot/keys/keys"}) -The configuration string of the backend. An example for the PKCS#11 is: +La chaîne de configuration pour le moteur. Voici un exemple pour PKCS#11 : @code{"pkcs11:token=knot;pin-value=1234 -/gnu/store/.../lib/pkcs11/libsofthsm2.so"}. For the pem backend, the string -reprensents a path in the file system. +/gnu/store/.../lib/pkcs11/libsofthsm2.so"}. Pour le moteur pem, la chaîne +représente un chemin dans le système de fichiers. @end table @end deftp @deftp {Type de données} knot-policy-configuration -Data type representing a dnssec policy. Knot DNS is able to automatically -sign your zones. It can either generate and manage your keys automatically -or use keys that you generate. +Type de données représentant une politique dnssec. Knot DNS est capable de +signer automatiquement vos zones. Il peut soit générer et gérer vos clefs +automatiquement ou utiliser des clefs que vous générez. -Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that -is used to sign the second, and a Zone Signing Key (ZSK) that is used to -sign the zone. In order to be trusted, the KSK needs to be present in the -parent zone (usually a top-level domain). If your registrar supports -dnssec, you will have to send them your KSK's hash so they can add a DS -record in their zone. This is not automated and need to be done each time -you change your KSK. +Dnssec est habituellement implémenté avec deux clefs : une KSK (key signing +key) qui est utilisé pour signer une seconde, la ZSK (zone signing key) qui +est utilisée pour signer la zone. Pour pouvoir être de confiance, la KSK +doit être présente dans la zone parente (normalement un domaine de haut +niveau). Si votre registrar supporte dnssec, vous devrez leur envoyer le +hash de votre KSK pour qu'il puisse ajouter un enregistrement DS dans la +zone parente. Ce n'est pas automatique et vous devrez le faire à chaque +fois que vous changerez votre KSK. -The policy also defines the lifetime of keys. Usually, ZSK can be changed -easily and use weaker cryptographic functions (they use lower parameters) in -order to sign records quickly, so they are changed often. The KSK however -requires manual interaction with the registrar, so they are changed less -often and use stronger parameters because they sign only one record. +La politique définie aussi la durée de vie des clefs. Habituellement, la +ZSK peut être changée facilement et utilise des fonctions cryptographiques +plus faibles (avec un paramètre plus faible) pour signer les enregistrements +rapidement, donc elles sont changées très régulièrement. La KSK en revanche +requiert une interaction manuelle avec le registrar, donc elle change moins +souvent et utilise des paramètres plus robustes puisqu'elle ne signe qu'un +seul enregistrement. -This type has the following parameters: +Ce type a les paramètres suivants : @table @asis @item @code{id} (par défaut : @code{""}) -The id of the policy. It must not be empty. +L'id de la politique. Il ne doit pas être vide. @item @code{keystore} (par défaut : @code{"default"}) -A reference to a keystore, that is a string containing the identifier of a -keystore defined in a @code{knot-keystore-configuration} field. The -@code{"default"} identifier means the default keystore (a kasp database that -was setup by this service). +Une référence à une base de clefs, c'est-à-dire une chaîne contenant +l'identifiant d'une base de clefs définie dans un champ +@code{knot-keystore-configuration}. L'identifiant @code{"default"} signifie +la base par défaut (une base de données kasp initialisée par ce service). @item @code{manual?} (par défaut : @code{#f}) -Whether the key management is manual or automatic. +Indique si la clef est gérée manuellement ou automatiquement. @item @code{single-type-signing?} (par défaut : @code{#f}) -When @code{#t}, use the Single-Type Signing Scheme. +Lorsque la valeur est @code{#t}, utilise le schéma de signature Single-Type @item @code{algorithm} (par défaut : @code{"ecdsap256sha256"}) -An algorithm of signing keys and issued signatures. +Un algorithme de clef de signature et de signatures. @item @code{ksk-size} (par défaut : @code{256}) -The length of the KSK. Note that this value is correct for the default -algorithm, but would be unsecure for other algorithms. +La longueur de la KSK. Remarquez que cette valeur est correcte pour +l'algorithme par défaut, mais ne serait pas sécurisée pour d'autres +algorithmes. @item @code{zsk-size} (par défaut : @code{256}) -The length of the ZSK. Note that this value is correct for the default -algorithm, but would be unsecure for other algorithms. +La longueur de la ZSK. Remarquez que cette valeur est correcte pour +l'algorithme par défaut, mais ne serait pas sécurisée pour d'autres +algorithmes. @item @code{dnskey-ttl} (par défaut : @code{'default}) -The TTL value for DNSKEY records added into zone apex. The special -@code{'default} value means same as the zone SOA TTL. +La valeur du TTL pour les enregistrements DNSKEY ajoutés au sommet de la +zone. La valeur spéciale @code{'default} signifie la même valeur que le TTL +du SOA de la zone. @item @code{zsk-lifetime} (par défaut : @code{(* 30 24 3600)}) -The period between ZSK publication and the next rollover initiation. +La période entre la publication d'une ZSK et l'initialisation d'un nouveau +changement. @item @code{propagation-delay} (par défaut : @code{(* 24 3600)}) -An extra delay added for each key rollover step. This value should be high -enough to cover propagation of data from the master server to all slaves. +Un délai supplémentaire pour chaque étape du changement. Cette valeur +devrait être assez grande pour couvrir le temps de propagation des données +entre le serveur primaire et tous les secondaires. @item @code{rrsig-lifetime} (par défaut : @code{(* 14 24 3600)}) -A validity period of newly issued signatures. +Une période de validité des nouvelles signatures. @item @code{rrsig-refresh} (par défaut : @code{(* 7 24 3600)}) -A period how long before a signature expiration the signature will be -refreshed. +Une période qui indique combien de temps avant l'expiration d'une signature +elle sera rafraîchie. @item @code{nsec3?} (par défaut : @code{#f}) -When @code{#t}, NSEC3 will be used instead of NSEC. +Lorsque la valeur est @code{#t}, on utilisera NSEC3 au lien de NSEC. @item @code{nsec3-iterations} (par défaut : @code{5}) -The number of additional times the hashing is performed. +Le nombre de fois supplémentaires que le hash est effectué. @item @code{nsec3-salt-length} (par défaut : @code{8}) -The length of a salt field in octets, which is appended to the original -owner name before hashing. +La longueur du champ de sel en octets, ajouté au nom du propriétaire avant +de hasher. @item @code{nsec3-salt-lifetime} (par défaut : @code{(* 30 24 3600)}) -The validity period of newly issued salt field. +La période de validité des nouveaux champs sel. @end table @end deftp @deftp {Type de données} knot-zone-configuration -Data type representing a zone served by Knot. This type has the following -parameters: +Type de données représentant la zone servie par Knot. ce type a les +paramètres suivants : @table @asis @item @code{domain} (par défaut : @code{""}) -The domain served by this configuration. It must not be empty. +Le domaine servi par cette configuration. Il ne doit pas être vide. @item @code{file} (par défaut : @code{""}) -The file where this zone is saved. This parameter is ignored by master -zones. Empty means default location that depends on the domain name. +Le fichier où la zone est sauvegardée. Ce paramètre est ignoré pour les +zones maîtres. La valeur vide signifie l'emplacement par défaut qui dépend +du nom de domaine. @item @code{zone} (par défaut : @code{(zone-file)}) -The content of the zone file. This parameter is ignored by slave zones. It -must contain a zone-file record. +Le contenu du fichier de zone. Ce paramètre est ignoré par les zones +esclaves. Il doit contenir un enregistrement zone-file. @item @code{master} (par défaut : @code{'()}) -A list of master remotes. When empty, this zone is a master. When set, -this zone is a slave. This is a list of remotes identifiers. +Une liste des serveurs distants maîtres. Lorsque la liste est vide, cette +zone est un maître. Lorsque la valeur est indiquée, cette zone est un +esclave. C'est al liste des identifiants des serveurs distants. @item @code{ddns-master} (par défaut : @code{#f}) -The main master. When empty, it defaults to the first master in the list of -masters. +Le maître principal. Lorsque la valeur est vide, la valeur par défaut est +le premier maître de la liste des maîtres. @item @code{notify} (par défaut : @code{'()}) -A list of slave remote identifiers. +Une liste d'identifiants de groupe de serveurs esclaves. @item @code{acl} (par défaut : @code{'()}) -A list of acl identifiers. +Une liste d'identifiants d'ACL. @item @code{semantic-checks?} (par défaut : @code{#f}) -When set, this adds more semantic checks to the zone. +Lorsque la valeur est indiquée, cela ajoute plus de vérifications +sémantiques à la zone. @item @code{disable-any?} (par défaut : @code{#f}) -When set, this forbids queries of the ANY type. +Lorsque la valeur est vraie, cela interdit les requêtes de type ANY. @item @code{zonefile-sync} (par défaut : @code{0}) -The delay between a modification in memory and on disk. 0 means immediate -synchronization. +Le délai entre une modification en mémoire et sur le disque. 0 signifie une +synchronisation immédiate. @item @code{serial-policy} (par défaut : @code{'increment}) -A policy between @code{'increment} and @code{'unixtime}. +Une politique entre @code{'increment} et @code{'unixtime}. @end table @end deftp @deftp {Type de données} knot-configuration -Data type representing the Knot configuration. This type has the following -parameters: +Type de donées représentant la configuration de Knot. Ce type a les +paramètres suivants : @table @asis @item @code{knot} (par défaut : @code{knot}) -The Knot package. +Le paquet Knot. @item @code{run-directory} (par défaut : @code{"/var/run/knot"}) -The run directory. This directory will be used for pid file and sockets. +Le répertoire de travail. Ce répertoire sera utilisé pour le fichier pid et +les sockets. @item @code{listen-v4} (par défaut : @code{"0.0.0.0"}) -An ip address on which to listen. +Une adresse IP sur laquelle écouter. @item @code{listen-v6} (par défaut : @code{"::"}) -An ip address on which to listen. +Une adresse IP sur laquelle écouter. @item @code{listen-port} (par défaut : @code{53}) -A port on which to listen. +Un port sur lequel écouter. @item @code{keys} (par défaut : @code{'()}) -The list of knot-key-configuration used by this configuration. +La liste des knot-key-configuration utilisés par cette configuration. @item @code{acls} (par défaut : @code{'()}) -The list of knot-acl-configuration used by this configuration. +La liste des knot-acl-configuration utilisés par cette configuration. @item @code{remotes} (par défaut : @code{'()}) -The list of knot-remote-configuration used by this configuration. +La liste des knot-remote-configuration utilisés par cette configuration. @item @code{zones} (par défaut : @code{'()}) -The list of knot-zone-configuration used by this configuration. +La liste des knot-zone-configuration utilisés par cette configuration. @end table @end deftp @@ -17513,8 +18695,8 @@ The list of knot-zone-configuration used by this configuration. @subsubheading Services Dnsmasq @deffn {Variable Scheme} dnsmasq-service-type -This is the type of the dnsmasq service, whose value should be an -@code{dnsmasq-configuration} object as in this example: +C'est le type du service dnsmasq, dont la valeur devrait être un objet +@code{dnsmasq-configuration} comme dans cet exemple : @example (service dnsmasq-service-type @@ -17529,64 +18711,176 @@ Type de données qui représente la configuration de dnsmasq. @table @asis @item @code{package} (par défaut : @var{dnsmasq}) -Package object of the dnsmasq server. +L'objet de paquet du serveur dnsmasq. @item @code{no-hosts?} (par défaut : @code{#f}) -When true, don't read the hostnames in /etc/hosts. +Lorsque la valeur est vraie, ne pas lire les noms d'hôte dans /etc/hosts. @item @code{port} (par défaut : @code{53}) -The port to listen on. Setting this to zero completely disables DNS -funtion, leaving only DHCP and/or TFTP. +Le port sur lequel écouter. Le mettre à zéro désactive complètement les +réponses DNS, ce qui ne laisse que les fonctions DHCP et TFTP. @item @code{local-service?} (par défaut : @code{#t}) -Accept DNS queries only from hosts whose address is on a local subnet, ie a -subnet for which an interface exists on the server. +Accepte les requêtes DNS seulement des hôtes dont les adresses sont sur le +sous-réseau local, c.-à-d.@: sur un sous-réseau pour lequel une interface +existe sur le serveur. @item @code{listen-addresses} (par défaut : @code{'()}) -Listen on the given IP addresses. +Écoute sur le adresses IP données. @item @code{resolv-file} (par défaut : @code{"/etc/resolv.conf"}) -The file to read the IP address of the upstream nameservers from. +Le fichier où lire l'adresse IP des serveurs de noms en amont. @item @code{no-resolv?} (par défaut : @code{#f}) -When true, don't read @var{resolv-file}. +Lorsque la valeur est vraie, ne pas lire @var{resolv-file}. @item @code{servers} (par défaut : @code{'()}) -Specify IP address of upstream servers directly. +Spécifiez l'adresse IP des serveurs en amont directement. @item @code{cache-size} (par défaut : @code{150}) -Set the size of dnsmasq's cache. Setting the cache size to zero disables -caching. +Indique la taille du cache de dnsmasq. Indiquer 0 désactive le cache. @item @code{negative-cache?} (par défaut : @code{#t}) -When false, disable negative caching. +Lorsque la valeur est fausse, désactive le cache des réponses négatives. @end table @end deftp +@subsubheading Service ddclient + +@cindex ddclient +Le srevice ddclient décrit plus bas lance le démon ddclient, qui prend en +charge la mise à jour automatique des entrées DNS pour les fournisseurs de +service comme @uref{https://dyn.com/dns/, Dyn}. + +L'exemple suivant montre comment instantier le service avec sa configuration +par défaut : + +@example +(service ddclient-service-type) +@end example + +Remarquez que ddclient a besoin d'accéder à des identifiants stockés dans un +@dfn{fichier de secrets}, par défaut @file{/etc/ddclient/secrets} (voir +@code{secret-file} plus bas). On s'attend à ce que vous créiez ce fichier +manuellement, de manière externe à guix (vous @emph{pourriez} ajouter ce +fichier dans une partie de votre configuration, par exemple avec +@code{plain-file}, mais il serait lisible pour tout le monde via +@file{/gnu/store}). Vois les exemples dans le répertoire +@file{share/ddclient} du paquet @code{ddclient}. + +@c %start of fragment + +Les champs de @code{ddclient-configuration} disponibles sont : + +@deftypevr {paramètre de @code{ddclient-configuration}} package ddclient +Le paquet ddclient. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} integer daemon +La période après laquelle ddclient réessaiera de vérifier l'IP et le nom de +domaine. + +La valeur par défaut est @samp{300}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} boolean syslog +Utiliser syslog pour la sortie. + +La valeur par défaut est @samp{#t}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} string mail +Courriel de l'utilisateur. + +La valeur par défaut est @samp{"root"}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} string mail-failure +Courriel de l'utilisateur pour les échecs. + +La valeur par défaut est @samp{"root"}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} string pid +Le fichier de PID de ddclient. + +La valeur par défaut est @samp{"/var/run/ddclient/ddclient.pid"}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} boolean ssl +Activer le support de SSL. + +La valeur par défaut est @samp{#t}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} string user +Spécifie le nm d'utilisateur ou l'ID qui est utilisé pour lancer le +programme ddclient. + +La valeur par défaut est @samp{"ddclient"}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} string group +Groupe de l'utilisateur qui lancera le programme ddclient. + +La valeur par défaut est @samp{"ddclient"}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} string secret-file +Fichier de secrets qui sera ajouté au fichier @file{ddclient.conf}. Ce +fichier contient les paramètres d'authentification utilisés par ddclient. +On s'attend à ce que vous le créiez manuellement. + +La valeur par défaut est @samp{"/etc/ddclient/secrets.conf"}. + +@end deftypevr + +@deftypevr {paramètre de @code{ddclient-configuration}} list extra-options +Options supplémentaires qui seront ajoutées au fichier @file{ddclient.conf}. + +La valeur par défaut est @samp{()}. + +@end deftypevr + + +@c %end of fragment + + @node Services VPN @subsubsection Services VPN -@cindex VPN (virtual private network) -@cindex virtual private network (VPN) +@cindex VPN (réseau privé virtuel) +@cindex réseau privé virtuel (VPN) -The @code{(gnu services vpn)} module provides services related to -@dfn{virtual private networks} (VPNs). It provides a @emph{client} service -for your machine to connect to a VPN, and a @emph{servire} service for your -machine to host a VPN. Both services use @uref{https://openvpn.net/, -OpenVPN}. +Le module @code{(gnu services vpn)} fournit des services liés aux +@dfn{réseaux privés virtuels} (VPN). Il fournit un srevice @emph{client} +pour que votre machine se connecte à un VPN et un service @emph{serveur} +pour que votre machine héberge un VPN. Les deux services utilisent +@uref{https://openvpn.net/, OpenVPN}. @deffn {Procédure Scheme} openvpn-client-service @ [#:config (openvpn-client-configuration)] -Return a service that runs @command{openvpn}, a VPN daemon, as a client. +Renvoie un service qui lance @command{openvpn}, un démon VPN, en tant que +client. @end deffn @deffn {Procédure Scheme} openvpn-server-service @ [#:config (openvpn-server-configuration)] -Return a service that runs @command{openvpn}, a VPN daemon, as a server. +Renvoie un service qui lance @command{openvpn}, un démon VPN, en tant que +serveur. -Both can be run simultaneously. +Les deux services peuvent être lancés en même temps. @end deffn @c %automatically generated documentation @@ -17594,129 +18888,130 @@ Both can be run simultaneously. Les champs de @code{openvpn-client-configuration} disponibles sont : @deftypevr {paramètre de @code{openvpn-client-configuration}} package openvpn -The OpenVPN package. +Le paquet OpenVPN. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} string pid-file -The OpenVPN pid file. +Le fichier de PID d'OpenVPN. La valeur par défaut est @samp{"/var/run/openvpn/openvpn.pid"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} proto proto -The protocol (UDP or TCP) used to open a channel between clients and -servers. +Le protocole (UDP ou TCP) utilisé pour ouvrir un canal entre les clients et +les serveurs. La valeur par défaut est @samp{udp}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} dev dev -The device type used to represent the VPN connection. +Le périphérique utilisé pour représenter la connexion VPN. La valeur par défaut est @samp{tun}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} string ca -The certificate authority to check connections against. +L'autorité de certification qui sert à vérifier les connexions. La valeur par défaut est @samp{"/etc/openvpn/ca.crt"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} string cert -The certificate of the machine the daemon is running on. It should be -signed by the authority given in @code{ca}. +Le certificat de la machine sur laquelle tourne le démon. Il devrait être +signé par l'autorité indiquée dans @code{ca}. La valeur par défaut est @samp{"/etc/openvpn/client.crt"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} string key -The key of the machine the daemon is running on. It must be the key whose -certificate is @code{cert}. +La clef de la machine sur laquelle tourne le démon. Elle doit être la clef +dont le certificat est donné dans @code{cert}. La valeur par défaut est @samp{"/etc/openvpn/client.key"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} boolean comp-lzo? -Whether to use the lzo compression algorithm. +Indique s'il faut utiliser l'algorithme de compression lzo. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} boolean persist-key? -Don't re-read key files across SIGUSR1 or --ping-restart. +Ne pas relire les fichiers de clefs entre les SIGUSR1 et les --ping-restart. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} boolean persist-tun? -Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 -or --ping-restart restarts. +Ne pas fermer et rouvrir les périphériques TUN/TAP ou lancer de scripts de +démarrage/d'arrêt entre les SIGUSR1 et les --ping-restart. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} number verbosity -Verbosity level. +Niveau de verbosité. La valeur par défaut est @samp{3}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} tls-auth-client tls-auth -Add an additional layer of HMAC authentication on top of the TLS control -channel to protect against DoS attacks. +Ajoute une couche d'authentification HMAC supplémentaire au dessus du canal +de contrôle TLS pour se protéger contre les attaques DoS. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} key-usage verify-key-usage? -Whether to check the server certificate has server usage extension. +Indique s'il faut vérifier que le certificat du serveur a l'extension +d'utilisation. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} bind bind? -Bind to a specific local port number. +Se lier à un port spécifique. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} resolv-retry resolv-retry? -Retry resolving server address. +Réessayer de résoudre l'adresse du serveur. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-client-configuration}} openvpn-remote-list remote -A list of remote servers to connect to. +Une liste de serveurs distants sur lesquels se connecter. La valeur par défaut est @samp{()}. Les champs de @code{openvpn-remote-configuration} disponibles sont : @deftypevr {paramètre de @code{openvpn-remote-configuration}} string name -Server name. +Nom du serveur. La valeur par défaut est @samp{"my-server"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-remote-configuration}} number port -Port number the server listens to. +Numéro de port sur lequel écoute le serveur. La valeur par défaut est @samp{1194}. @@ -17730,187 +19025,191 @@ La valeur par défaut est @samp{1194}. Les champs de @code{openvpn-server-configuration} disponibles sont : @deftypevr {paramètre de @code{openvpn-server-configuration}} package openvpn -The OpenVPN package. +Le paquet OpenVPN. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string pid-file -The OpenVPN pid file. +Le fichier de PID d'OpenVPN. La valeur par défaut est @samp{"/var/run/openvpn/openvpn.pid"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} proto proto -The protocol (UDP or TCP) used to open a channel between clients and -servers. +Le protocole (UDP ou TCP) utilisé pour ouvrir un canal entre les clients et +les serveurs. La valeur par défaut est @samp{udp}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} dev dev -The device type used to represent the VPN connection. +Le périphérique utilisé pour représenter la connexion VPN. La valeur par défaut est @samp{tun}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string ca -The certificate authority to check connections against. +L'autorité de certification qui sert à vérifier les connexions. La valeur par défaut est @samp{"/etc/openvpn/ca.crt"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string cert -The certificate of the machine the daemon is running on. It should be -signed by the authority given in @code{ca}. +Le certificat de la machine sur laquelle tourne le démon. Il devrait être +signé par l'autorité indiquée dans @code{ca}. La valeur par défaut est @samp{"/etc/openvpn/client.crt"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string key -The key of the machine the daemon is running on. It must be the key whose -certificate is @code{cert}. +La clef de la machine sur laquelle tourne le démon. Elle doit être la clef +dont le certificat est donné dans @code{cert}. La valeur par défaut est @samp{"/etc/openvpn/client.key"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} boolean comp-lzo? -Whether to use the lzo compression algorithm. +Indique s'il faut utiliser l'algorithme de compression lzo. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} boolean persist-key? -Don't re-read key files across SIGUSR1 or --ping-restart. +Ne pas relire les fichiers de clefs entre les SIGUSR1 et les --ping-restart. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} boolean persist-tun? -Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 -or --ping-restart restarts. +Ne pas fermer et rouvrir les périphériques TUN/TAP ou lancer de scripts de +démarrage/d'arrêt entre les SIGUSR1 et les --ping-restart. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} number verbosity -Verbosity level. +Niveau de verbosité. La valeur par défaut est @samp{3}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} tls-auth-server tls-auth -Add an additional layer of HMAC authentication on top of the TLS control -channel to protect against DoS attacks. +Ajoute une couche d'authentification HMAC supplémentaire au dessus du canal +de contrôle TLS pour se protéger contre les attaques DoS. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} number port -Specifies the port number on which the server listens. +Spécifie le numéro de port sur lequel les serveurs écoutent. La valeur par défaut est @samp{1194}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} ip-mask server -An ip and mask specifying the subnet inside the virtual network. +Une ip et un masque de sous-réseau spécifiant le sous-réseau dans le réseau +virtuel. La valeur par défaut est @samp{"10.8.0.0 255.255.255.0"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} cidr6 server-ipv6 -A CIDR notation specifying the IPv6 subnet inside the virtual network. +Une notation CIDR pour spécifier le sous-réseau IPv6 dans le réseau virtuel. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string dh -The Diffie-Hellman parameters file. +Le fichier de paramètres Diffie-Hellman. La valeur par défaut est @samp{"/etc/openvpn/dh2048.pem"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string ifconfig-pool-persist -The file that records client IPs. +Le fichier qui enregistre les IP des clients. La valeur par défaut est @samp{"/etc/openvpn/ipp.txt"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} gateway redirect-gateway? -When true, the server will act as a gateway for its clients. +Lorsque la valeur est vraie, le serveur agira comme une passerelle pour ses +clients. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} boolean client-to-client? -When true, clients are allowed to talk to each other inside the VPN. +Lorsque la valeur est vraie, les clients sont autorisés à se parler entre +eux dans le VPN. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} keepalive keepalive -Causes ping-like messages to be sent back and forth over the link so that -each side knows when the other side has gone down. @code{keepalive} -requires a pair. The first element is the period of the ping sending, and -the second element is the timeout before considering the other side down. +Fait que des messages de ping sont envoyés régulièrement dans les deux sens +pour que chaque côté sache quand l'autre n'est plus disponible. +@code{keepalive} a besoin d'une paire. Le premier élément est la période +d'envoie du ping, et le second élément est le délai d'attente avant de +considéré que l'autre côté n'est plus disponible. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} number max-clients -The maximum number of clients. +Le nombre maximum de clients. La valeur par défaut est @samp{100}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} string status -The status file. This file shows a small report on current connection. It -is truncated and rewritten every minute. +Le fichier de statut. Ce fichier montre un court rapport sur les connexions +actuelles. Il est tronqué et réécrit toutes les minutes. La valeur par défaut est @samp{"/var/run/openvpn/status"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-server-configuration}} openvpn-ccd-list client-config-dir -The list of configuration for some clients. +La liste des configuration pour certains clients. La valeur par défaut est @samp{()}. Les champs de @code{openvpn-ccd-configuration} disponibles sont : @deftypevr {paramètre de @code{openvpn-ccd-configuration}} string name -Client name. +Nom du client. La valeur par défaut est @samp{"client"}. @end deftypevr @deftypevr {paramètre de @code{openvpn-ccd-configuration}} ip-mask iroute -Client own network +Le réseau du client. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{openvpn-ccd-configuration}} ip-mask ifconfig-push -Client VPN IP. +IP du client sur le VPN. La valeur par défaut est @samp{#f}. @@ -17926,110 +19225,114 @@ La valeur par défaut est @samp{#f}. @subsubsection Système de fichiers en réseau @cindex NFS -The @code{(gnu services nfs)} module provides the following services, which -are most commonly used in relation to mounting or exporting directory trees -as @dfn{network file systems} (NFS). +Le module @code{(gnu services nfs)} fournit les services suivants, qui sont +tous utilisés pour monter et exporter des arborescences de répertoires en +@dfn{network file systems} (NFS). -@subsubheading RPC Bind Service +@subsubheading Service RPC Bind @cindex rpcbind -The RPC Bind service provides a facility to map program numbers into -universal addresses. Many NFS related services use this facility. Hence it -is automatically started when a dependent service starts. +Le service RPC Bind fournit un dispositif pour faire correspondre les +numéros de programmes à des adresses universelles. De nombreux services +liés à NFS utilisent ce dispositif. Donc il est automatiquement démarré +lorsqu'un service qui en dépend est démarré. @defvr {Variable Scheme} rpcbind-service-type -A service type for the RPC portmapper daemon. +Un type de service pour le démon RPC portmapper. @end defvr @deftp {Type de données} rpcbind-configuration -Data type representing the configuration of the RPC Bind Service. This type -has the following parameters: +Type données représentant la configuration du service RPC Bind. Ce type a +les paramètres suivants : @table @asis @item @code{rpcbind} (par défaut : @code{rpcbind}) Le paquet rpcbind à utiliser. @item @code{warm-start?} (par défaut : @code{#t}) -If this parameter is @code{#t}, then the daemon will read a state file on -startup thus reloading state information saved by a previous instance. +Si ce paramètre est @code{#t}, alors le démon lira un fichier d'état au +démarrage ce qui lui fait recharger les informations d'états sauvegardés par +une instance précédente. @end table @end deftp -@subsubheading Pipefs Pseudo File System +@subsubheading Pseudo-système de fichiers Pipefs @cindex pipefs @cindex rpc_pipefs -The pipefs file system is used to transfer NFS related data between the -kernel and user space programs. +Le système de fichiers pipefs est utilisé pour transférer des données liées +à NFS entre le noyau et les programmes en espace utilisateur. @defvr {Variable Scheme} pipefs-service-type -A service type for the pipefs pseudo file system. +Un type de service pour le pseudo-système de fichiers pipefs. @end defvr @deftp {Type de données} pipefs-configuration -Data type representing the configuration of the pipefs pseudo file system -service. This type has the following parameters: +Type de données représentant la configuration du service du pseudo-système +de fichiers pipefs. Ce type a les paramètres suivants : @table @asis @item @code{mount-point} (par défaut : @code{"/var/lib/nfs/rpc_pipefs"}) -The directory to which the file system is to be attached. +Le répertoire dans lequel le système de fichiers est attaché. @end table @end deftp -@subsubheading GSS Daemon Service +@subsubheading Service de démon GSS @cindex GSSD @cindex GSS -@cindex global security system +@cindex système de sécurité global -The @dfn{global security system} (GSS) daemon provides strong security for -RPC based protocols. Before exchanging RPC requests an RPC client must -establish a security context. Typically this is done using the Kerberos -command @command{kinit} or automatically at login time using PAM services -(@pxref{Services Kerberos}). +Le démon du @dfn{système de sécurité global} (GSS) fournit une sécurité +forte pour les protocoles basés sur des RPC. Avant d'échanger des requêtes +RPC, un client RPC doit établir un contexte sécurisé. Typiquement cela se +fait avec la commande Kerberos @command{kinit} ou automatiquement à la +connexion avec les services PAM (@pxref{Services Kerberos}). @defvr {Variable Scheme} gss-service-type -A service type for the Global Security System (GSS) daemon. +Un type de service pour le démon du système de sécurité global (GSS). @end defvr @deftp {Type de données} gss-configuration -Data type representing the configuration of the GSS daemon service. This -type has the following parameters: +Type de données représentant la configuration du service du démon GSS. Ce +type a les paramètres suivants : @table @asis @item @code{nfs-utils} (par défaut : @code{nfs-utils}) -The package in which the @command{rpc.gssd} command is to be found. +Le paquet dans lequel la commande @command{rpc.gssd} se trouve. @item @code{pipefs-directory} (par défaut : @code{"/var/lib/nfs/rpc_pipefs"}) -The directory where the pipefs file system is mounted. +Le répertoire où le système de fichier pipefs doit être monté. @end table @end deftp -@subsubheading IDMAP Daemon Service +@subsubheading Service de démon IDMAP @cindex idmapd -@cindex name mapper +@cindex correspondance de nom -The idmap daemon service provides mapping between user IDs and user names. -Typically it is required in order to access file systems mounted via NFSv4. +Le service du démon idmap fournit une correspondance entre les ID +utilisateur et les noms d'utilisateurs. Typiquement, cela est requis pour +accéder aux systèmes de fichiers montés via NFSv4. @defvr {Variable Scheme} idmap-service-type -A service type for the Identity Mapper (IDMAP) daemon. +Un type de service pour le démon de correspondance d'identité (IDMAP). @end defvr @deftp {Type de données} idmap-configuration -Data type representing the configuration of the IDMAP daemon service. This -type has the following parameters: +Type de données représentant la configuration du service du démon IDMAP. Ce +type a les paramètres suivants : @table @asis @item @code{nfs-utils} (par défaut : @code{nfs-utils}) -The package in which the @command{rpc.idmapd} command is to be found. +Le paquet dans lequel se trouve la commande @command{rpc.idmapd}. @item @code{pipefs-directory} (par défaut : @code{"/var/lib/nfs/rpc_pipefs"}) -The directory where the pipefs file system is mounted. +Le répertoire où le système de fichier pipefs doit être monté. @item @code{domain} (par défaut : @code{#f}) -The local NFSv4 domain name. This must be a string or @code{#f}. If it is -@code{#f} then the daemon will use the host's fully qualified domain name. +Le nom de domaine NFSv4 local. Il faut que ce soit une chaîne de caractères +ou @code{#f}. Si la valeur est @code{#f} le démon utilisera le nom de +domaine pleinement qualifié de l'hôte. @end table @end deftp @@ -18037,125 +19340,157 @@ The local NFSv4 domain name. This must be a string or @code{#f}. If it is @node Intégration continue @subsubsection Intégration continue -@cindex continuous integration -@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} is a -continuous integration tool for Guix. It can be used both for development -and for providing substitutes to others (@pxref{Substituts}). +@cindex intégration continue +@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} est +un outil d'intégration continue pour Guix. On peut l'utiliser aussi bien +pour le développement que pour fournir des substituts à d'autres +(@pxref{Substituts}). -The @code{(gnu services cuirass)} module provides the following service. +Le module @code{(gnu services cuirass)} fournit le service suivant. @defvr {Procédure Scheme} cuirass-service-type -The type of the Cuirass service. Its value must be a -@code{cuirass-configuration} object, as described below. +Le type du service Cuirass. Sa valeur doit être un objet +@code{cuirass-configuration}, décrit ci-dessous. @end defvr -To add build jobs, you have to set the @code{specifications} field of the -configuration. Here is an example of a service defining a build job based -on a specification that can be found in Cuirass source tree. This service -polls the Guix repository and builds a subset of the Guix packages, as -prescribed in the @file{gnu-system.scm} example spec: +Pour ajouter des travaux de construction, vous devez indiquer le champ +@code{specifications} de la configuration. Voici un exemple de service qui +récupère le dépôt Guix et construit les paquets depuis un manifeste. +Certains des paquets sont définis dans l'entrée @code{"custom-packages"}, +qui est l'équivalent de @code{GUIX_PACKAGE_PATH}. @example -(let ((spec #~((#:name . "guix") - (#:url . "git://git.savannah.gnu.org/guix.git") - (#:load-path . ".") - (#:file . "build-aux/cuirass/gnu-system.scm") - (#:proc . cuirass-jobs) - (#:arguments (subset . "hello")) - (#:branch . "master")))) - (service cuirass-service-type - (cuirass-configuration - (specifications #~(list '#$spec))))) +(define %cuirass-specs + #~(list + '((#:name . "my-manifest") + (#:load-path-inputs . ("guix")) + (#:package-path-inputs . ("custom-packages")) + (#:proc-input . "guix") + (#:proc-file . "build-aux/cuirass/gnu-system.scm") + (#:proc . cuirass-jobs) + (#:proc-args . ((subset . "manifests") + (systems . ("x86_64-linux")) + (manifests . (("config" . "guix/manifest.scm"))))) + (#:inputs . (((#:name . "guix") + (#:url . "git://git.savannah.gnu.org/guix.git") + (#:load-path . ".") + (#:branch . "master") + (#:no-compile? . #t)) + ((#:name . "config") + (#:url . "git://git.example.org/config.git") + (#:load-path . ".") + (#:branch . "master") + (#:no-compile? . #t)) + ((#:name . "custom-packages") + (#:url . "git://git.example.org/custom-packages.git") + (#:load-path . ".") + (#:branch . "master") + (#:no-compile? . #t))))))) + +(service cuirass-service-type + (cuirass-configuration + (specifications %cuirass-specs))) @end example -While information related to build jobs is located directly in the -specifications, global settings for the @command{cuirass} process are -accessible in other @code{cuirass-configuration} fields. +Tandis que les informations liés aux travaux de construction sont +directement dans les spécifications, les paramètres globaux pour le +processus @command{cuirass} sont accessibles dans les autres champs de +@code{cuirass-configuration}. @deftp {Type de données} cuirass-configuration -Data type representing the configuration of Cuirass. +Type de données représentant la configuration de Cuirass. @table @asis @item @code{log-file} (par défaut : @code{"/var/log/cuirass.log"}) -Location of the log file. +Emplacement du fichier de journal. @item @code{cache-directory} (par défaut : @code{"/var/cache/cuirass"}) -Location of the repository cache. +Emplacement du cache du dépôt. @item @code{user} (par défaut : @code{"cuirass"}) -Owner of the @code{cuirass} process. +Propriétaire du processus @code{cuirass}. @item @code{group} (par défaut : @code{"cuirass"}) -Owner's group of the @code{cuirass} process. +Groupe du propriétaire du processus @code{cuirass}. @item @code{interval} (par défaut : @code{60}) -Number of seconds between the poll of the repositories followed by the -Cuirass jobs. +Nombre de secondes entre les mises à jour du dépôt suivis des travaux de +Cuirass. -@item @code{database} (par défaut : @code{"/var/run/cuirass/cuirass.db"}) -Location of sqlite database which contains the build results and previously -added specifications. +@item @code{database} (par défaut : @code{"/var/lib/cuirass/cuirass.db"}) +Emplacement de la base de données sqlite qui contient les résultats de +construction et les spécifications précédemment ajoutées. + +@item @code{ttl} (par défaut : @code{(* 30 24 3600)}) +Spécifie la durée de vie (TTL) en seconde des racines du ramasse-miette qui +sont enregistrés comme des résultats de construction. Cela signifie que les +résultats de construction ne seront pas glanés pendant au moins @var{ttl} +secondes. @item @code{port} (par défaut : @code{8081}) -Port number used by the HTTP server. +Numéro de port utilisé pour le serveur HTTP. @item --listen=@var{hôte} -Listen on the network interface for @var{host}. The default is to accept -connections from localhost. +Écoute sur l'interface réseau de @var{host}. La valeur par défaut est +d'accepter les connexions depuis localhost. @item @code{specifications} (par défaut : @code{#~'()}) -A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications, -where a specification is an association list (@pxref{Associations Lists,,, -guile, GNU Guile Reference Manual}) whose keys are keywords -(@code{#:keyword-example}) as shown in the example above. +Une gexp (@pxref{G-Expressions}) qui s'évalue en une liste de +spécifications, où une spécification est une liste d'association +(@pxref{Associations Lists,,, guile, GNU Guile Reference Manual}) dont les +clefs sont des mots-clefs (@code{#:exemple-de-mot-clef}) comme dans +l'exemple plus haut. @item @code{use-substitutes?} (par défaut : @code{#f}) -This allows using substitutes to avoid building every dependencies of a job -from source. +Cela permet d'utiliser des substituts pour éviter de construire toutes les +dépendance d'un travail depuis les sources. @item @code{one-shot?} (par défaut : @code{#f}) -Only evaluate specifications and build derivations once. +N'évaluer les spécification et construire les dérivations qu'une seule fois. @item @code{fallback?} (par défaut : @code{#f}) -When substituting a pre-built binary fails, fall back to building packages -locally. +Lorsque la substitution d'un binaire pré-construit échoue, revenir à la +construction locale du paquet. @item @code{cuirass} (par défaut : @code{cuirass}) Le paquet Cuirass à utiliser. @end table @end deftp -@node Power Management Services -@subsubsection Power Management Services +@node Services de gestion de l'énergie +@subsubsection Services de gestion de l'énergie @cindex tlp -@cindex power management with TLP -@subsubheading TLP daemon +@cindex gestion de l'énergie avec TLP +@subsubheading démon TLP -The @code{(gnu services pm)} module provides a Guix service definition for -the Linux power management tool TLP. +Le module @code{(gnu services pm)} fournit une définition de service Guix +pour l'outil de gestion d'énergie Linux TLP. -TLP enables various powersaving modes in userspace and kernel. Contrary to -@code{upower-service}, it is not a passive, monitoring tool, as it will -apply custom settings each time a new power source is detected. More -information can be found at @uref{http://linrunner.de/en/tlp/tlp.html, TLP -home page}. +TLP active plusieurs modes un espace utilisateur et dans le noyau. +Contrairement à @code{upower-service}, ce n'est pas un outil passif de +surveillance, puisqu'il applique des paramètres personnalisés à chaque fois +qu'il détecte une nouvelle source d'énergie. Vous pouvez trouver plus +d'informations sur @uref{http://linrunner.de/en/tlp/tlp.html, la page +d'accueil de TLP}. @deffn {Variable Scheme} tlp-service-type -The service type for the TLP tool. Its value should be a valid TLP -configuration (see below). To use the default settings, simply write: +Le type de service pour l'outil TLP. Sa valeur devrait être une +configuration valide de TLP (voir plus bas). Pour utiliser les paramètres +par défaut, écrivez simplement : @example (service tlp-service-type) @end example @end deffn -By default TLP does not need much configuration but most TLP parameters can -be tweaked using @code{tlp-configuration}. +Par défaut TLP n'a pas besoin de beaucoup de configuration mais la plupart +des paramètres de TLP peuvent être modifiés avec @code{tlp-configuration}. -Each parameter definition is preceded by its type; for example, -@samp{boolean foo} indicates that the @code{foo} parameter should be -specified as a boolean. Types starting with @code{maybe-} denote parameters -that won't show up in TLP config file when their value is @code{'disabled}. +Chaque définition de paramètre est précédée par son type ; par exemple, +@samp{boolean foo} indique que le paramètre @code{foo} doit être spécifié +comme un booléen. Les types qui commencent par @code{maybe-} dénotent des +paramètres qui n'apparaîtront pas dans la configuration de TLP lorsque leur +valeur est @code{'disabled}. @c The following documentation was initially generated by @c (generate-tlp-documentation) in (gnu services pm). Manually maintained @@ -18168,488 +19503,501 @@ that won't show up in TLP config file when their value is @code{'disabled}. Les champs de @code{tlp-configuration} disponibles sont : @deftypevr {paramètre de @code{tlp-configuration}} package tlp -The TLP package. +Le paquet TLP. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean tlp-enable? -Set to true if you wish to enable TLP. +Indiquez vrai si vous souhaitez activer TLP. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string tlp-default-mode -Default mode when no power supply can be detected. Alternatives are AC and -BAT. +Mode par défaut lorsqu'aucune source d'énergie ne peut être détectée. Les +possibilités sont AC et BAT. La valeur par défaut est @samp{"AC"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer disk-idle-secs-on-ac -Number of seconds Linux kernel has to wait after the disk goes idle, before -syncing on AC. +Nombre de secondes que le noyau Linux doit attendre après que les disques +s'arrêtent pour se synchroniser quand il est sur secteur. La valeur par défaut est @samp{0}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer disk-idle-secs-on-bat -Same as @code{disk-idle-ac} but on BAT mode. +Comme @code{disk-idle-ac} mais en mode batterie. La valeur par défaut est @samp{2}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer max-lost-work-secs-on-ac -Dirty pages flushing periodicity, expressed in seconds. +Périodicité du nettoyage des pages invalidées, en secondes. La valeur par défaut est @samp{15}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer max-lost-work-secs-on-bat -Same as @code{max-lost-work-secs-on-ac} but on BAT mode. +Comme @code{max-lost-work-secs-on-ac} mais en mode batterie. La valeur par défaut est @samp{60}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-space-separated-string-list cpu-scaling-governor-on-ac -CPU frequency scaling governor on AC mode. With intel_pstate driver, -alternatives are powersave and performance. With acpi-cpufreq driver, -alternatives are ondemand, powersave, performance and conservative. +Gouverneur de fréquence d'horloge sur secteur. Avec le pilote intel_pstate, +les possibilités sont powersave et performance. Avec le pilote +acpi-cpufreq, les possibilités sont ondemand, powersave, performance et +conservative. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-space-separated-string-list cpu-scaling-governor-on-bat -Same as @code{cpu-scaling-governor-on-ac} but on BAT mode. +Comme @code{cpu-scaling-governor-on-ac} mais en mode batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-min-freq-on-ac -Set the min available frequency for the scaling governor on AC. +Indique la fréquence d'horloge minimale pour le gouverneur sur secteur. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-max-freq-on-ac -Set the max available frequency for the scaling governor on AC. +Indique la fréquence d'horloge maximale pour le gouverneur sur secteur. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-min-freq-on-bat -Set the min available frequency for the scaling governor on BAT. +Indique la fréquence d'horloge minimale pour le gouverneur sur batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-max-freq-on-bat -Set the max available frequency for the scaling governor on BAT. +Indique la fréquence d'horloge maximale pour le gouverneur sur batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-min-perf-on-ac -Limit the min P-state to control the power dissipation of the CPU, in AC -mode. Values are stated as a percentage of the available performance. +Limite le P-état minimum pour contrôler la dissipation de puissance dans le +CPU, sur secteur. Les valeurs sont indiqués comme un pourcentage des +performances disponibles. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-max-perf-on-ac -Limit the max P-state to control the power dissipation of the CPU, in AC -mode. Values are stated as a percentage of the available performance. +Limite le P-état maximum pour contrôler la dissipation de puissance dans le +CPU, sur secteur. Les valeurs sont indiqués comme un pourcentage des +performances disponibles. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-min-perf-on-bat -Same as @code{cpu-min-perf-on-ac} on BAT mode. +Comme @code{cpu-min-perf-on-ac} mais en mode batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-max-perf-on-bat -Same as @code{cpu-max-perf-on-ac} on BAT mode. +Comme @code{cpu-max-perf-on-ac} mais en mode batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-boolean cpu-boost-on-ac? -Enable CPU turbo boost feature on AC mode. +Active la fonctionnalité turbo boost du CPU sur secteur. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-boolean cpu-boost-on-bat? -Same as @code{cpu-boost-on-ac?} on BAT mode. +Comme @code{cpu-boost-on-ac?} mais en mode batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean sched-powersave-on-ac? -Allow Linux kernel to minimize the number of CPU cores/hyper-threads used -under light load conditions. +Permet au noyau Linux de minimiser le nombre de cœurs/hyper-threads CPU +utilisés lorsque la charge est faible. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean sched-powersave-on-bat? -Same as @code{sched-powersave-on-ac?} but on BAT mode. +Comme @code{sched-powersave-on-ac?} mais en mode batterie. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean nmi-watchdog? -Enable Linux kernel NMI watchdog. +Active le chien de garde NMI du noyau Linux. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-string phc-controls -For Linux kernels with PHC patch applied, change CPU voltages. An example -value would be @samp{"F:V F:V F:V F:V"}. +Pour les noyaux Linux avec le correctif PHC, change le voltage du CPU. Une +valeur serait par exemple @samp{"F:V F:V F:V F:V"}. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string energy-perf-policy-on-ac -Set CPU performance versus energy saving policy on AC. Alternatives are -performance, normal, powersave. +Indique le niveau de performance du CPU par rapport à la politique de +gestion de l'énergie sur secteur. Les possibilités sont performance, normal +et powersave. La valeur par défaut est @samp{"performance"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string energy-perf-policy-on-bat -Same as @code{energy-perf-policy-ac} but on BAT mode. +Comme @code{energy-perf-policy-ac} mais en mode batterie. La valeur par défaut est @samp{"powersave"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} space-separated-string-list disks-devices -Hard disk devices. +Périphériques de disque dur. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} space-separated-string-list disk-apm-level-on-ac -Hard disk advanced power management level. +Niveau de gestion de l'énergie avancé des disques durs. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} space-separated-string-list disk-apm-level-on-bat -Same as @code{disk-apm-bat} but on BAT mode. +Comme @code{disk-apm-bat} mais en mode batterie. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-space-separated-string-list disk-spindown-timeout-on-ac -Hard disk spin down timeout. One value has to be specified for each -declared hard disk. +Délai d'attente pour arrêter de faire tourner les disques. Une valeur doit +être spécifiée pour chaque disque dur déclaré. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-space-separated-string-list disk-spindown-timeout-on-bat -Same as @code{disk-spindown-timeout-on-ac} but on BAT mode. +Comme @code{disk-spindown-timeout-on-ac} mais en mode batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-space-separated-string-list disk-iosched -Select IO scheduler for disk devices. One value has to be specified for -each declared hard disk. Example alternatives are cfq, deadline and noop. +Sélectionne l'ordonnanceur d'entrées-sorties pour le disque. Une valeur +doit être spécifiée pour chaque disque déclaré. Les possibilités sont par +exemple cfq, deadline et noop. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string sata-linkpwr-on-ac -SATA aggressive link power management (ALPM) level. Alternatives are -min_power, medium_power, max_performance. +Niveau de gestion de l'énergie des lien SATA aggressive (ALPM). Les +possibilités sont min_power, medium_power et max_performance. La valeur par défaut est @samp{"max_performance"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string sata-linkpwr-on-bat -Same as @code{sata-linkpwr-ac} but on BAT mode. +Comme @code{sata-linkpwr-ac} mais en mode batterie. La valeur par défaut est @samp{"min_power"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-string sata-linkpwr-blacklist -Exclude specified SATA host devices for link power management. +Exclu les périphériques SATA spécifiés de la gestion de l'énergie des liens. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-on-off-boolean ahci-runtime-pm-on-ac? -Enable Runtime Power Management for AHCI controller and disks on AC mode. +Active la gestion de l'énergie à l'exécution pour les contrôleurs AHCI et +les disques, sur secteur La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-on-off-boolean ahci-runtime-pm-on-bat? -Same as @code{ahci-runtime-pm-on-ac} on BAT mode. +Comme @code{ahci-runtime-pm-on-ac} mais en mode batterie. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer ahci-runtime-pm-timeout -Seconds of inactivity before disk is suspended. +Secondes d'inactivités avant de suspendre les disques. La valeur par défaut est @samp{15}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string pcie-aspm-on-ac -PCI Express Active State Power Management level. Alternatives are default, -performance, powersave. +Niveau de gestion de l'énergie des états actifs de PCI Express. Les +possibilités sont default, performance et powersave. La valeur par défaut est @samp{"performance"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string pcie-aspm-on-bat -Same as @code{pcie-aspm-ac} but on BAT mode. +Comme @code{pcie-aspm-ac} mais en mode batterie. La valeur par défaut est @samp{"powersave"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string radeon-power-profile-on-ac -Radeon graphics clock speed level. Alternatives are low, mid, high, auto, -default. +Niveau de vitesse de l'horloge des cartes graphiques Radeon. Les +possibilités sont low, mid, high, auto et default. La valeur par défaut est @samp{"high"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string radeon-power-profile-on-bat -Same as @code{radeon-power-ac} but on BAT mode. +Comme @code{radeon-power-ac} mais en mode batterie. La valeur par défaut est @samp{"low"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string radeon-dpm-state-on-ac -Radeon dynamic power management method (DPM). Alternatives are battery, -performance. +Méthode de gestion de l'énergie dynamique de Radeon (DPM). Les possibilités +sont battery et performance. La valeur par défaut est @samp{"performance"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string radeon-dpm-state-on-bat -Same as @code{radeon-dpm-state-ac} but on BAT mode. +Comme @code{radeon-dpm-state-ac} mais en mode batterie. La valeur par défaut est @samp{"battery"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string radeon-dpm-perf-level-on-ac -Radeon DPM performance level. Alternatives are auto, low, high. +Niveau de performance de DPM. Les possibilités sont auto, low et high. La valeur par défaut est @samp{"auto"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string radeon-dpm-perf-level-on-bat -Same as @code{radeon-dpm-perf-ac} but on BAT mode. +Comme @code{radeon-dpm-perf-ac} mais en mode batterie. La valeur par défaut est @samp{"auto"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} on-off-boolean wifi-pwr-on-ac? -Wifi power saving mode. +Mode de gestion de l'énergie wifi. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} on-off-boolean wifi-pwr-on-bat? -Same as @code{wifi-power-ac?} but on BAT mode. +Comme @code{wifi-power-ac?} mais en mode batterie. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} y-n-boolean wol-disable? -Disable wake on LAN. +Désactive wake on LAN. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer sound-power-save-on-ac -Timeout duration in seconds before activating audio power saving on Intel -HDA and AC97 devices. A value of 0 disables power saving. +Durée d'attente en secondes avant d'activer la gestion de l'énergie audio +sur les périphériques Intel HDA et AC97. La valeur 0 désactive la gestion +de l'énergie. La valeur par défaut est @samp{0}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} non-negative-integer sound-power-save-on-bat -Same as @code{sound-powersave-ac} but on BAT mode. +Comme @code{sound-powersave-ac} mais en mode batterie. La valeur par défaut est @samp{1}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} y-n-boolean sound-power-save-controller? -Disable controller in powersaving mode on Intel HDA devices. +Désactive le contrôleur en mode de gestion de l'énergie sur les +périphériques Intel HDA. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean bay-poweroff-on-bat? -Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered -on again by releasing (and reinserting) the eject lever or by pressing the -disc eject button on newer models. +Active le périphérique optique AltraBay/MediaBay en mode batterie. Le +périphérique peut être de nouveau alimenté en lâchant (et en réinsérant) le +levier d'éjection ou en appuyant sur le bouton d'éjection sur les modèles +plus récents. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string bay-device -Name of the optical drive device to power off. +Nom du périphérique optique à éteindre. La valeur par défaut est @samp{"sr0"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string runtime-pm-on-ac -Runtime Power Management for PCI(e) bus devices. Alternatives are on and -auto. +Gestion de l'énergie à l'exécution sur les bus PCI(e). Les possibilités +sont on et auto. La valeur par défaut est @samp{"on"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} string runtime-pm-on-bat -Same as @code{runtime-pm-ac} but on BAT mode. +Comme @code{runtime-pm-ac} mais en mode batterie. La valeur par défaut est @samp{"auto"}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean runtime-pm-all? -Runtime Power Management for all PCI(e) bus devices, except blacklisted -ones. +Gestion de l'énergie à l'exécution pour tous les bus PCI(e), sauf ceux en +liste noire. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-space-separated-string-list runtime-pm-blacklist -Exclude specified PCI(e) device addresses from Runtime Power Management. +Exclue les adresses des périphériques PCI(e) spécifiés de la gestion de +l'énergie à l'exécution. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} space-separated-string-list runtime-pm-driver-blacklist -Exclude PCI(e) devices assigned to the specified drivers from Runtime Power -Management. +Exclue les périphériques PCI(e) assignés aux pilotes spécifiés de la gestion +de l'énergie à l'exécution. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean usb-autosuspend? -Enable USB autosuspend feature. +Active la fonctionnalité de mise en veille automatique de l'USB. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-string usb-blacklist -Exclude specified devices from USB autosuspend. +Exclue les périphériques spécifiés de la mise en veille automatique de +l'USB. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean usb-blacklist-wwan? -Exclude WWAN devices from USB autosuspend. +Exclue les périphériques WWAN de la mise en veille automatique de l'USB. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-string usb-whitelist -Include specified devices into USB autosuspend, even if they are already -excluded by the driver or via @code{usb-blacklist-wwan?}. +Inclue les périphériques spécifiés dans la mise en veille automatique de +l'USB, même s'ils sont déjà exclus par le pilote ou via +@code{usb-blacklist-wwan?}. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} maybe-boolean usb-autosuspend-disable-on-shutdown? -Enable USB autosuspend before shutdown. +Active la mise en veille de l'USB avant l'arrêt. La valeur par défaut est @samp{disabled}. @end deftypevr @deftypevr {paramètre de @code{tlp-configuration}} boolean restore-device-state-on-startup? -Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on -system startup. +Restaure l'état des périphériques radio (bluetooth, wifi, wwan) du dernier +arrêt au démarrage du système. La valeur par défaut est @samp{#f}. @end deftypevr @cindex thermald -@cindex CPU frequency scaling with thermald -@subsubheading Thermald daemon +@cindex gestion de la fréquence du CPU avec thermald +@subsubheading démon Thermald -The @code{(gnu services pm)} module provides an interface to thermald, a CPU -frequency scaling service which helps prevent overheating. +Le module @code{(gnu services pm)} fournit une interface pour thermald, un +service de gestion de l'horloge CPU qui aide à éviter la surchauffe. @defvr {Variable Scheme} thermald-service-type -This is the service type for @uref{https://01.org/linux-thermal-daemon/, -thermald}, the Linux Thermal Daemon, which is responsible for controlling -the thermal state of processors and preventing overheating. +C'est le type de service pour @uref{https://01.org/linux-thermal-daemon/, +thermald}, le démon de température de Linux, responsable du contrôle de +l'état thermique des processeurs et d'éviter la surchauffe. @end defvr @deftp {Type de données} thermald-configuration -Data type representing the configuration of @code{thermald-service-type}. +Type de données représentant la configuration de +@code{thermald-service-type}. @table @asis @item @code{ignore-cpuid-check?} (par défaut : @code{#f}) -Ignore cpuid check for supported CPU models. +Ignore la vérification des modèles CPU supportés avec cpuid. @item @code{thermald} (par défaut : @var{thermald}) -Package object of thermald. +Objet du paquet de thermald. @end table @end deftp @@ -18657,18 +20005,19 @@ Package object of thermald. @node Services audio @subsubsection Services audio -The @code{(gnu services audio)} module provides a service to start MPD (the -Music Player Daemon). +Le module @code{(gnu services audio)} fournit un service qui lance MPD (le +démon de lecture de musique). @cindex mpd @subsubheading Music Player Daemon -The Music Player Daemon (MPD) is a service that can play music while being -controlled from the local machine or over the network by a variety of -clients. +Le démon de lecture de musique (MPD) est un service qui joue de la musique +tout en étant contrôlé depuis la machine locale ou à travers le réseau par +divers clients. -The following example shows how one might run @code{mpd} as user -@code{"bob"} on port @code{6666}. It uses pulseaudio for output. +L'exemple suivant montre comment on peut lancer @code{mpd} en tant +qu'utilisateur @code{"bob"} sur le port @code{6666}. Il utilise pulseaudio +pour la sortie audio. @example (service mpd-service-type @@ -18678,47 +20027,47 @@ The following example shows how one might run @code{mpd} as user @end example @defvr {Variable Scheme} mpd-service-type -The service type for @command{mpd} +Le type de service pour @command{mpd}. @end defvr @deftp {Type de données} mpd-configuration -Data type representing the configuration of @command{mpd}. +Type de données représentant la configuration de @command{mpd}. @table @asis @item @code{user} (par défaut : @code{"mpd"}) -The user to run mpd as. +L'utilisateur qui lance mpd. @item @code{music-dir} (par défaut : @code{"~/Music"}) -The directory to scan for music files. +Le répertoire à scanner pour trouver les fichiers de musique. @item @code{playlist-dir} (par défaut : @code{"~/.mpd/playlists"}) -The directory to store playlists. +Le répertoire où stocker les playlists. @item @code{port} (par défaut : @code{"6600"}) -The port to run mpd on. +Le port sur lequel lancer mpd. @item @code{address} (par défaut : @code{"any"}) -The address that mpd will bind to. To use a Unix domain socket, an absolute -path can be specified here. +L'adresse sur laquelle se lie mpd. Pour utiliser un socket Unix domain, un +chemin absolu peut être spécifié ici. @end table @end deftp @node Services de virtualisation -@subsubsection Virtualization services +@subsubsection services de virtualisation -The @code{(gnu services virtualization)} module provides services for the -libvirt and virtlog daemons, as well as other virtualization-related -services. +Le module @code{(gnu services virtualization)} fournit des services pour les +démons libvirt et virtlog, ainsi que d'autres services liés à la +virtualisation. -@subsubheading Libvirt daemon -@code{libvirtd} is the server side daemon component of the libvirt -virtualization management system. This daemon runs on host servers and -performs required management tasks for virtualized guests. +@subsubheading démon libvirt +@code{libvirtd} est le démon côté serveur du système de gestion de +virtualisation libvirt. Ce démon tourne sur des serveurs hôtes et effectue +les taches de gestion requises pour les clients virtualisés. @deffn {Variable Scheme} libvirt-service-type -This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its -value must be a @code{libvirt-configuration}. +C'est le type du @uref{https://libvirt.org, démon libvirt}. Sa valeur doit +être un @code{libvirt-configuration}. @example (service libvirt-service-type @@ -18732,293 +20081,296 @@ value must be a @code{libvirt-configuration}. Les champs de @code{libvirt-configuration} disponibles sont : @deftypevr {paramètre de @code{libvirt-configuration}} package libvirt -Libvirt package. +Paquet libvirt. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} boolean listen-tls? -Flag listening for secure TLS connections on the public TCP/IP port. must -set @code{listen} for this to have any effect. +Indique s'il faut écouter des connexions TLS sécurisées sur le port TCP/IP +public. Vous devez remplir le champ @code{listen} pour que cela ait un +effet. -It is necessary to setup a CA and issue server certificates before using -this capability. +Il est nécessaire de mettre en place une CA et de créer un certificat +serveur avant d'utiliser cette fonctionnalité. La valeur par défaut est @samp{#t}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} boolean listen-tcp? -Listen for unencrypted TCP connections on the public TCP/IP port. must set -@code{listen} for this to have any effect. +Écoute des connexions non-chiffrées sur le port TCP/IP public. Vous devez +remplir le champ @code{listen} pour que cela ait un effet. -Using the TCP socket requires SASL authentication by default. Only SASL -mechanisms which support data encryption are allowed. This is DIGEST_MD5 -and GSSAPI (Kerberos5) +L'utilisation des sockets TCP requiert une authentification SASL par +défaut. Seuls les mécanismes SASL qui supportent le chiffrement des données +sont permis. Il s'agit de DIGEST_MD5 et GSSAPI (Kerberos5). La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string tls-port -Port for accepting secure TLS connections This can be a port number, or -service name +Pour pour accepter les connexions TLS sécurisées. Il peut s'agir d'un +numéro de port ou d'un nom de service. La valeur par défaut est @samp{"16514"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string tcp-port -Port for accepting insecure TCP connections This can be a port number, or -service name +Pour sur lequel accepter les connexions TCP non sécurisées. Cela peut être +un numéro de port ou un nom de service. La valeur par défaut est @samp{"16509"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string listen-addr -IP address or hostname used for client connections. +Adresse IP ou nom d'hôte utilisé pour les connexions des clients. La valeur par défaut est @samp{"0.0.0.0"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} boolean mdns-adv? -Flag toggling mDNS advertisement of the libvirt service. +Indique s'il faut publier le service libvirt en mDNS. -Alternatively can disable for all services on a host by stopping the Avahi -daemon. +Autrement, vous pouvez désactiver cela pour tous les services en stoppant le +démon Avahi. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string mdns-name -Default mDNS advertisement name. This must be unique on the immediate -broadcast network. +Nom publié par défaut sur mDNS. Cela doit être unique sur le réseau local. La valeur par défaut est @samp{"Virtualization Host "}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string unix-sock-group -UNIX domain socket group ownership. This can be used to allow a 'trusted' -set of users access to management capabilities without becoming root. +Groupe propriétaire du socket Unix domain. Cela peut être utilisé pour +permettre à un ensemble d'utilisateurs « de confiance » de gérer les +fonctionnalités sans devenir root. La valeur par défaut est @samp{"root"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string unix-sock-ro-perms -UNIX socket permissions for the R/O socket. This is used for monitoring VM -status only. +Permission Unix pour le socket en lecture seule. Il est utilisé pour +surveiller le statut des VM uniquement. La valeur par défaut est @samp{"0777"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string unix-sock-rw-perms -UNIX socket permissions for the R/W socket. Default allows only root. If -PolicyKit is enabled on the socket, the default will change to allow -everyone (eg, 0777) +Permission Unix pour le socket en lecture-écriture. La valeur par défaut +n'autorise que root. Si PolicyKit est activé sur le socket, la valeur par +défaut change et permet tout le monde (c.-à-d.@: 0777). La valeur par défaut est @samp{"0770"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string unix-sock-admin-perms -UNIX socket permissions for the admin socket. Default allows only owner -(root), do not change it unless you are sure to whom you are exposing the -access to. +permissions Unix pour le socket d'administration. La valeur par défaut ne +permet que le propriétaire (root), ne la changez pas à moins que vous ne +soyez sûr de savoir à qui vous exposez cet accès. La valeur par défaut est @samp{"0777"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string unix-sock-dir -The directory in which sockets will be found/created. +Le répertoire dans lequel les sockets sont créés. La valeur par défaut est @samp{"/var/run/libvirt"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string auth-unix-ro -Authentication scheme for UNIX read-only sockets. By default socket -permissions allow anyone to connect +Schéma d'authentification pour les socket Unix en lecture-seule. Par défaut +les permissions des socket permettent à n'importe qui de se connecter. La valeur par défaut est @samp{"polkit"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string auth-unix-rw -Authentication scheme for UNIX read-write sockets. By default socket -permissions only allow root. If PolicyKit support was compiled into -libvirt, the default will be to use 'polkit' auth. +Schéma d'authentification pour les socket UNIX en lecture-écriture. Par +défaut les permissions du socket ne permettent que root. Si le support de +PolicyKit a été compilé dans libvirt, la valeur par défaut utilise +l'authentification « polkit ». La valeur par défaut est @samp{"polkit"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string auth-tcp -Authentication scheme for TCP sockets. If you don't enable SASL, then all -TCP traffic is cleartext. Don't do this outside of a dev/test scenario. +Schéma d'authentification pour les sockets TCP. Si vous n'avez pas activé +SASL, alors tout le trafic TCP est en clair. Ne le faites pas en dehors de +scénario de développement ou de test. La valeur par défaut est @samp{"sasl"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string auth-tls -Authentication scheme for TLS sockets. TLS sockets already have encryption -provided by the TLS layer, and limited authentication is done by -certificates. +Schéma d'authentification pour les sockets TLS. Les sockets TLS sont déjà +chiffrés par la couche TLS, et une authentification limitée est effectuée +avec les certificats. -It is possible to make use of any SASL authentication mechanism as well, by -using 'sasl' for this option +Il est possible d'utiliser de n'importe quel mécanisme d'authentification +SASL en utilisant « sasl » pour cette option. La valeur par défaut est @samp{"none"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} optional-list access-drivers -API access control scheme. +Schéma de contrôle d'accès à l'API. -By default an authenticated user is allowed access to all APIs. Access -drivers can place restrictions on this. +Par défaut un utilisateur authentifié peut accéder à toutes les API. Les +pilotes d'accès peuvent placer des restrictions là-dessus. La valeur par défaut est @samp{()}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string key-file -Server key file path. If set to an empty string, then no private key is -loaded. +Chemin de fichier de la clef du serveur. Si la valeur est une chaîne vide, +aucune clef privée n'est chargée. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string cert-file -Server key file path. If set to an empty string, then no certificate is -loaded. +Chemin de fichier de la clef du serveur. Si la chaîne est vide, aucun +certificat n'est chargé. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string ca-file -Server key file path. If set to an empty string, then no CA certificate is -loaded. +Chemin de fichier de la clef du serveur. Si la chaîne est vide, aucun +certificat de CA n'est chargé. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string crl-file -Certificate revocation list path. If set to an empty string, then no CRL is -loaded. +Chemin de la liste de révocation des certificats. Si la chaîne est vide, +aucun CRL n'est chargé. La valeur par défaut est @samp{""}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} boolean tls-no-sanity-cert -Disable verification of our own server certificates. +Désactive la vérification de nos propres certificats serveurs. -When libvirtd starts it performs some sanity checks against its own -certificates. +Lorsque libvirtd démarre il effectue des vérifications de routine sur ses +propres certificats. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} boolean tls-no-verify-cert -Disable verification of client certificates. +Désactive la vérification des certificats clients. -Client certificate verification is the primary authentication mechanism. -Any client which does not present a certificate signed by the CA will be -rejected. +La vérification des certificats clients est le mécanisme d'authentification +principal. Tout client qui ne présent pas de certificat signé par la CA +sera rejeté. La valeur par défaut est @samp{#f}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} optional-list tls-allowed-dn-list -Whitelist of allowed x509 Distinguished Name. +Liste blanche des Distinguished Name x509 autorisés. La valeur par défaut est @samp{()}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} optional-list sasl-allowed-usernames -Whitelist of allowed SASL usernames. The format for username depends on the -SASL authentication mechanism. +Liste blanche des noms d'utilisateur SASL permis. Le format des noms +d'utilisateurs dépend du mécanisme d'authentification SASL. La valeur par défaut est @samp{()}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} string tls-priority -Override the compile time default TLS priority string. The default is -usually "NORMAL" unless overridden at build time. Only set this is it is -desired for libvirt to deviate from the global default settings. +Modifie la chaîne de priorité TLS par défaut fixée à la compilation. La +valeur par défaut est typiquement « NORMAL » à moins qu'elle n'ait été +modifiée à la compilation. Ne l'indiquez que si vous voulez que libvirt +agisse différemment des paramètres par défaut globaux. La valeur par défaut est @samp{"NORMAL"}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer max-clients -Maximum number of concurrent client connections to allow over all sockets -combined. +Nombre maximum de connexions clientes en même temps sur tous les sockets. La valeur par défaut est @samp{5000}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer max-queued-clients -Maximum length of queue of connections waiting to be accepted by the -daemon. Note, that some protocols supporting retransmission may obey this -so that a later reattempt at connection succeeds. +Longueur maximum de la queue de connexions en attente d'acceptation du +démon. Remarquez que certains protocoles supportant la retransmission +peuvent obéir à ce paramètre pour qu'une connexion ultérieure réussisse. La valeur par défaut est @samp{1000}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer max-anonymous-clients -Maximum length of queue of accepted but not yet authenticated clients. Set -this to zero to turn this feature off +Longueur maximum de la queue des clients acceptés mais pas authentifiés. +Indiquez zéro pour désactiver ce paramètre. La valeur par défaut est @samp{20}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer min-workers -Number of workers to start up initially. +Nombre de processus de travail démarrés initialement. La valeur par défaut est @samp{5}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer max-workers -Maximum number of worker threads. +Nombre maximum de threads de travail. -If the number of active clients exceeds @code{min-workers}, then more -threads are spawned, up to max_workers limit. Typically you'd want -max_workers to equal maximum number of clients allowed. +Si le nombre de clients actifs dépasse @code{min-workers}, plus de threads +seront démarrés, jusqu'à la limite de max_workers. Typiquement vous voulez +que max_workers soit égal au nombre maximum de clients permis. La valeur par défaut est @samp{20}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer prio-workers -Number of priority workers. If all workers from above pool are stuck, some -calls marked as high priority (notably domainDestroy) can be executed in -this pool. +Nombre de travailleurs prioritaires. Si tous les threads de travail du +groupe ci-dessus sont bloqués, certains appels marqués comme prioritaires +(notamment domainDestroy) peuvent être exécutés par ce groupe. La valeur par défaut est @samp{5}. @end deftypevr @deftypevr {paramètre de @code{libvirt-configuration}} integer max-requests -Total global limit on concurrent RPC calls. +Limite globale totale sur les appels RPC concurrents. La valeur par défaut est @samp{20}. @@ -19083,10 +20435,10 @@ logs The format for a filter is one of: @itemize @bullet @item -x:name +x:nom @item -x:+name +x:+nom @end itemize @@ -19268,7 +20620,7 @@ La valeur par défaut est @samp{5}. @c %end of autogenerated docs -@subsubheading Virtlog daemon +@subsubheading démon Virrlog The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles. @@ -19305,10 +20657,10 @@ logs The format for a filter is one of: @itemize @bullet @item -x:name +x:nom @item -x:+name +x:+nom @end itemize @@ -19387,8 +20739,7 @@ La valeur par défaut est @samp{"3:stderr"}. @end deftypevr @deftypevr {paramètre de @code{virtlog-configuration}} integer max-clients -Maximum number of concurrent client connections to allow over all sockets -combined. +Nombre maximum de connexions clientes en même temps sur tous les sockets. La valeur par défaut est @samp{1024}. @@ -19397,20 +20748,20 @@ La valeur par défaut est @samp{1024}. @deftypevr {paramètre de @code{virtlog-configuration}} integer max-size Maximum file size before rolling over. -Defaults to @samp{2MB} +La valeur par défaut est @samp{2MB}. @end deftypevr @deftypevr {paramètre de @code{virtlog-configuration}} integer max-backups Maximum number of backup files to keep. -Defaults to @samp{3} +La valeur par défaut est @samp{3}. @end deftypevr -@subsubheading Transparent Emulation with QEMU +@subsubheading Émulation transparente avec QEMU -@cindex emulation +@cindex émulation @cindex @code{binfmt_misc} @code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you @@ -19460,7 +20811,7 @@ service: (guix-support? #t))) @end example -You can run: +Vous pouvez lancer : @example guix build -s armhf-linux inkscape @@ -19525,7 +20876,7 @@ Package object of the Git distributed version control system. Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file. -@item @code{base-path} (default: @file{/srv/git}) +@item @code{base-path} (par défaut : @file{/srv/git}) Whether to remap all the path requests as relative to the given path. If you run git daemon with @var{(base-path "/srv/git")} on example.com, then if you later try to pull @code{git://example.com/hello.git}, git daemon will @@ -19575,14 +20926,14 @@ Data type representing the configuration for @code{git-http-service}. @item @code{package} (par défaut : @var{git}) Package object of the Git distributed version control system. -@item @code{git-root} (default: @file{/srv/git}) +@item @code{git-root} (par défaut : @file{/srv/git}) Directory containing the Git repositories to expose to the world. @item @code{export-all?} (par défaut : @var{#f}) Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file. -@item @code{uri-path} (default: @file{/git/}) +@item @code{uri-path} (par défaut : @file{/git/}) Path prefix for Git access. With the default @code{/git/} prefix, this will map @code{http://@var{server}/git/@var{repo}.git} to @code{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with @@ -19628,12 +20979,12 @@ You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Services web}. @end deffn -@subsubheading Cgit Service +@subsubheading Service Cgit -@cindex Cgit service -@cindex Git, web interface -@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git -repositories written in C. +@cindex service cgit +@cindex git, interface web +@uref{https://git.zx2c4.com/cgit/, Cgit} est une interface web pour des +dépôts Git écrite en C. The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80}). @@ -19650,12 +21001,12 @@ The @code{file-object} type designates either a file-like object Les champs de @code{cgit-configuration} disponibles sont : @deftypevr {paramètre de @code{cgit-configuration}} package package -The CGIT package. +Le paquet cgit. @end deftypevr @deftypevr {paramètre de @code{cgit-configuration}} nginx-server-configuration-list nginx -NGINX configuration. +Configuration Nginx. @end deftypevr @@ -19937,8 +21288,8 @@ La valeur par défaut est @samp{"/favicon.ico"}. @deftypevr {paramètre de @code{cgit-configuration}} string footer The content of the file specified with this option will be included verbatim -at the bottom of all pages (i.e. it replaces the standard "generated by..." -message). +at the bottom of all pages (i.e.@: it replaces the standard "generated +by..."@: message). La valeur par défaut est @samp{""}. @@ -20382,7 +21733,7 @@ La valeur par défaut est @samp{""}. @end deftypevr -@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph? +@deftypevr {paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-commit-graph? A flag which can be used to disable the global setting @code{enable-commit-graph?}. @@ -20390,7 +21741,7 @@ La valeur par défaut est @samp{disabled}. @end deftypevr -@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount? +@deftypevr {paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-log-filecount? A flag which can be used to disable the global setting @code{enable-log-filecount?}. @@ -20398,7 +21749,7 @@ La valeur par défaut est @samp{disabled}. @end deftypevr -@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount? +@deftypevr {paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-log-linecount? A flag which can be used to disable the global setting @code{enable-log-linecount?}. @@ -20406,7 +21757,7 @@ La valeur par défaut est @samp{disabled}. @end deftypevr -@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches? +@deftypevr {paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-remote-branches? Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views. @@ -20414,7 +21765,7 @@ La valeur par défaut est @samp{disabled}. @end deftypevr -@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links? +@deftypevr {paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-subject-links? A flag which can be used to override the global setting @code{enable-subject-links?}. @@ -20422,7 +21773,7 @@ La valeur par défaut est @samp{disabled}. @end deftypevr -@deftypevr {@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving? +@deftypevr {paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-html-serving? A flag which can be used to override the global setting @code{enable-html-serving?}. @@ -20571,6 +21922,101 @@ instantiate a cgit service like this: (cgitrc ""))) @end example +@subsubheading Service Gitolite + +@cindex service Gitolite +@cindex Git, hébergement +@uref{http://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git +repositories on a central server. + +Gitolite can handle multiple repositories and users, and supports flexible +configuration of the permissions for the users on the repositories. + +The following example will configure Gitolite using the default @code{git} +user, and the provided SSH public key. + +@example +(service gitolite-service-type + (gitolite-configuration + (admin-pubkey (plain-file + "yourname.pub" + "ssh-rsa AAAA... guix@@example.com")))) +@end example + +Gitolite is configured through a special admin repository which you can +clone, for example, if you setup Gitolite on @code{example.com}, you would +run the following command to clone the admin repository. + +@example +git clone git@@example.com:gitolite-admin +@end example + +When the Gitolite service is activated, the provided @code{admin-pubkey} +will be inserted in to the @file{keydir} directory in the gitolite-admin +repository. If this results in a change in the repository, it will be +committed using the message ``gitolite setup by GNU Guix''. + +@deftp {Type de données} gitolite-configuration +Type de données représentant la configuration de +@code{gitolite-service-type}. + +@table @asis +@item @code{package} (par défaut : @var{gitolite}) +Le paquet Gitolite à utiliser. + +@item @code{user} (par défaut : @var{git}) +User to use for Gitolite. This will be user that you use when accessing +Gitolite over SSH. + +@item @code{group} (par défaut : @var{git}) +Groupe à utiliser pour Gitolite. + +@item @code{home-directory} (par défaut : @var{"/var/lib/gitolite"}) +Répertoire dans lequel stocker la configuration et les dépôts de Gitolite. + +@item @code{rc-file} (par défaut : @var{(gitolite-rc-file)}) +Un objet « simili-fichier » (@pxref{G-Expressions, file-like objects}) +représentant la configuration de Gitolite. + +@item @code{admin-pubkey} (par défaut : @var{#f}) +Un objet « simili-fichier » (@pxref{G-Expressions, file-like objects}) +utilisé pour paramétrer Gitolite. Il sera inséré dans le répertoire +@file{keydir} dans le dépôt gitolite-admin. + +To specify the SSH key as a string, use the @code{plain-file} function. + +@example +(plain-file "yourname.pub" "ssh-rsa AAAA... guix@@example.com") +@end example + +@end table +@end deftp + +@deftp {Type de données} gitolite-rc-file +Type de données représentant le fichier RC de Gitolite. + +@table @asis +@item @code{umask} (par défaut : @code{#o0077}) +This controls the permissions Gitolite sets on the repositories and their +contents. + +A value like @code{#o0027} will give read access to the group used by +Gitolite (by default: @code{git}). This is necessary when using Gitolite +with software like cgit or gitweb. + +@item @code{git-config-keys} (par défaut : @code{""}) +Gitolite allows you to set git config values using the "config" +keyword. This setting allows control over the config keys to accept. + +@item @code{roles} (par défaut : @code{'(("READERS" . 1) ("WRITERS" . ))}) +Set the role names allowed to be used by users running the perms command. + +@item @code{enable} (par défaut : @code{'("help" "desc" "info" "perms" "writable" "ssh-authkeys" "git-config" "daemon" "gitweb")}) +This setting controls the commands and features to enable within Gitolite. + +@end table +@end deftp + @node Services de jeu @subsubsection Services de jeu @@ -20607,12 +22053,12 @@ The port to bind the server to. @subsubsection Services divers @cindex fingerprint -@subsubheading Fingerprint Service +@subsubheading Service d'empreintes digitales -The @code{(gnu services fingerprint)} module provides a DBus service to read -and identify fingerprints via a fingerprint sensor. +Le module @code{(gnu services fingerprint)} fournit un service DBus pour +lire et identifier les empreintes digitales via un lecteur d'empreinte. -@defvr {Scheme Variable} fprintd-service-type +@defvr {Variable Scheme} fprintd-service-type The service type for @command{fprintd}, which provides the fingerprint reading capability. @@ -20661,23 +22107,23 @@ framework. It is a resource manager that coordinates communications with smart card readers, smart cards and cryptographic tokens that are connected to the system. -@defvr {Scheme Variable} pcscd-service-type -Service type for the @command{pcscd} service. Its value must be a -@code{pcscd-configuration} object. To run pcscd in the default -configuration, instantiate it as: +@defvr {Variable Scheme} pcscd-service-type +Le type de service pour le service @command{pcscd}. Sa valeur doit être un +objet @code{pcscd-configuration}. Pour lancer pcscd dans sa configuration +par défaut, instantiez-le avec : @example (service pcscd-service-type) @end example @end defvr -@deftp {Data Type} pcscd-configuration -The data type representing the configuration of @command{pcscd}. +@deftp {Type de données} pcscd-configuration +Type de données représentant la configuration de @command{pcscd}. @table @asis -@item @code{pcsc-lite} (default: @code{pcsc-lite}) -The pcsc-lite package that provides pcscd. -@item @code{usb-drivers} (default: @code{(list ccid)}) +@item @code{pcsc-lite} (par défaut : @code{pcsc-lite}) +Le paquet pcsc-lite qui fournit pcscd. +@item @code{usb-drivers} (par défaut : @code{(list ccid)}) List of packages that provide USB drivers to pcscd. Drivers are expected to be under @file{pcsc/drivers} in the store directory of the package. @end table @@ -21155,11 +22601,11 @@ customize it further. @cindex initrd @cindex disque de RAM initial -@deffn {Monadic Procedure} raw-initrd @var{file-systems} @ +@deffn {Procédure Scheme} raw-initrd @var{file-systems} @ [#:linux-modules '()] [#:mapped-devices '()] @ [#:helper-packages '()] -[#:qemu-networking? #f] [#:volatile-root? #f] Return a monadic derivation -that builds a raw initrd. @var{file-systems} is a list of file systems to -be mounted by the initrd, possibly in addition to the root file system +[#:qemu-networking? #f] [#:volatile-root? #f] Return a derivation that +builds a raw initrd. @var{file-systems} is a list of file systems to be +mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are @@ -21176,14 +22622,14 @@ When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost. @end deffn -@deffn {Monadic Procedure} base-initrd @var{file-systems} @ +@deffn {Procédure Scheme} base-initrd @var{file-systems} @ [#:mapped-devices '()] [#:qemu-networking? #f] [#:volatile-root? #f]@ -[#:linux-modules '()] Return a monadic derivation that builds a generic -initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a -list of file-systems to be mounted by the initrd, possibly in addition to -the root file system specified on the kernel command line via -@code{--root}. @var{mapped-devices} is a list of device mappings to realize -before @var{file-systems} are mounted. +[#:linux-modules '()] Return as a file-like object a generic initrd, with +kernel modules taken from @var{linux}. @var{file-systems} is a list of +file-systems to be mounted by the initrd, possibly in addition to the root +file system specified on the kernel command line via @code{--root}. +@var{mapped-devices} is a list of device mappings to realize before +@var{file-systems} are mounted. @var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}. @@ -21199,11 +22645,12 @@ Guile, and the initialization program is a Guile program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd. -@deffn {Monadic Procedure} expression->initrd @var{exp} @ - [#:guile %guile-static-stripped] [#:name "guile-initrd"] Return a derivation -that builds a Linux initrd (a gzipped cpio archive) containing @var{guile} -and that evaluates @var{exp}, a G-expression, upon booting. All the -derivations referenced by @var{exp} are automatically copied to the initrd. +@deffn {Procédure Scheme} expression->initrd @var{exp} @ + [#:guile %guile-static-stripped] [#:name "guile-initrd"] Return as a +file-like object a Linux initrd (a gzipped cpio archive) containing +@var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All +the derivations referenced by @var{exp} are automatically copied to the +initrd. @end deffn @node Configuration du chargeur d'amorçage @@ -21245,8 +22692,8 @@ when you boot it on your system. @code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode. -@cindex ARM, bootloaders -@cindex AArch64, bootloaders +@cindex ARM, chargeurs d'amorçage +@cindex AArch64, chargeurs d'amorçage Available bootloaders are described in @code{(gnu bootloader @dots{})} modules. In particular, @code{(gnu bootloader u-boot)} contains definitions of bootloaders for a wide range of ARM and AArch64 systems, using the @@ -21445,8 +22892,9 @@ and @code{roll-back}) are usable only on systems already running GuixSD.}. This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently -running; if a service is currently running, it does not attempt to upgrade -it since this would not be possible without stopping it first. +running; if a service is currently running this command will arrange for it +to be upgraded the next time it is stopped (e.g.@: by @code{herd stop X} or +@code{herd restart X}). This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix system list-generations}). @@ -22206,7 +23654,7 @@ when simply looking for ways to customize your @code{operating-system} declaration. @deftp {Type de données} service-type -@cindex service type +@cindex type de service This is the representation of a @dfn{service type} (@pxref{Types service et services}). @table @asis @@ -22325,7 +23773,7 @@ extend it by passing it lists of packages to add to the system profile. @node Services Shepherd @subsubsection Services Shepherd -@cindex shepherd services +@cindex services shepherd @cindex PID 1 @cindex init system The @code{(gnu services shepherd)} module provides a way to define services @@ -22374,8 +23822,8 @@ to start and stop processes (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). They are given as G-expressions that get expanded in the Shepherd configuration file (@pxref{G-Expressions}). -@item @code{actions} (default: @code{'()}) -@cindex actions, of Shepherd services +@item @code{actions} (par défaut : @code{'()}) +@cindex action, des services Shepherd This is a list of @code{shepherd-action} objects (see below) defining @dfn{actions} supported by the service, in addition to the standard @code{start} and @code{stop} actions. Actions listed here become available @@ -22402,13 +23850,13 @@ This is the list of modules that must be in scope when @code{start} and @end table @end deftp -@deftp {Data Type} shepherd-action +@deftp {Type de données} shepherd-action This is the data type that defines additional actions implemented by a Shepherd service (see above). @table @code @item name -Symbol naming the action. +Symbole nommant l'action @item documentation This is a documentation string for the action. It can be viewed by running: @@ -22739,14 +24187,24 @@ must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @code{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for -details.}. These package definitions will not be visible by default. Users -can invoke commands such as @command{guix package} and @command{guix build} -with the @code{-e} option so that they know where to find the package. -Better yet, they can use the @code{-L} option of these commands to make -those modules visible (@pxref{Invoquer guix build, @code{--load-path}}), or -define the @code{GUIX_PACKAGE_PATH} environment variable. This environment -variable makes it easy to extend or customize the distribution and is -honored by all the user interfaces. +details.}. There are two ways to make these package definitions visible to +the user interfaces: + +@enumerate +@item +By adding the directory containing your package modules to the search path +with the @code{-L} flag of @command{guix package} and other commands +(@pxref{Options de construction communes}), or by setting the @code{GUIX_PACKAGE_PATH} +environment variable described below. + +@item +By defining a @dfn{channel} and configuring @command{guix pull} so that it +pulls from it. A channel is essentially a Git repository containing package +modules. @xref{Canaux}, for more information on how to define and use +channels. +@end enumerate + +@code{GUIX_PACKAGE_PATH} works similarly to other search path variables: @defvr {Environment Variable} GUIX_PACKAGE_PATH This is a colon-separated list of directories to search for additional @@ -23071,7 +24529,7 @@ packages with the corresponding names. If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name -starts with @code{py} (e.g. @code{pytz}), we keep it and prefix it as +starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as described above. @subsubsection Specifying Dependencies @@ -23404,7 +24862,7 @@ updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and -@file{gnu/local.mk} has rules do download it for the supported +@file{gnu/local.mk} has rules to download it for the supported architectures; a rule for the new platform must be added as well. In practice, there may be some complications. First, it may be that the diff --git a/doc/guix.texi b/doc/guix.texi index a957930d37..2376cedc68 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11,6 +11,10 @@ @c Identifier of the OpenPGP key used to sign tarballs and such. @set OPENPGP-SIGNING-KEY-ID 3CE464558A84FDC69DB40CFB090B11993D9AEBB5 +@set KEY-SERVER pool.sks-keyservers.net + +@c The official substitute server used by default. +@set SUBSTITUTE-SERVER ci.guix.info @copying Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* @@ -31,7 +35,7 @@ Copyright @copyright{} 2016, 2017, 2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* -Copyright @copyright{} 2017 Mathieu Othacehe@* +Copyright @copyright{} 2017, 2018 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* @@ -50,6 +54,9 @@ Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018 Gábor Boskovits@* +Copyright @copyright{} 2018 Florian Pelz@* +Copyright @copyright{} 2018 Laura Lazzati@* +Copyright @copyright{} 2018 Alex Vong@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -101,8 +108,9 @@ package management tool written for the GNU system. @c how to join your own translation team and how to report issues with the @c translation. This manual is also available in French (@pxref{Top,,, guix.fr, Manuel de -référence de GNU Guix}). If you would like to translate it in your native -language, consider joining the +référence de GNU Guix}) and German (@pxref{Top,,, guix.de, Referenzhandbuch +zu GNU Guix}). If you would like to translate it in your native language, +consider joining the @uref{https://translationproject.org/domain/guix-manual.html, Translation Project}. @@ -193,6 +201,7 @@ Utilities * Invoking guix copy:: Copying to and from a remote store. * Invoking guix container:: Process isolation. * Invoking guix weather:: Assessing substitute availability. +* Invoking guix processes:: Listing client processes. Invoking @command{guix build} @@ -351,6 +360,7 @@ configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration}). @cindex functional package management +@cindex isolation Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen @@ -384,6 +394,7 @@ garbage collection of packages (@pxref{Features}). @chapter Installation @cindex installing Guix +@cindex official website GNU Guix is available for download from its website at @url{http://www.gnu.org/software/guix/}. This section describes the software requirements of Guix, as well as how to install it and get @@ -395,6 +406,8 @@ instead, you want to install the complete GNU operating system, @pxref{System Installation}. @cindex foreign distro +@cindex directories related to foreign distro + When installed on a running GNU/Linux system---thereafter called a @dfn{foreign distro}---GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, @@ -417,6 +430,7 @@ Once installed, Guix can be updated by running @command{guix pull} @section Binary Installation @cindex installing Guix from binaries +@cindex installer script This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which @@ -451,7 +465,8 @@ If that command fails because you do not have the required public key, then run this command to import it: @example -$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +$ gpg --keyserver @value{KEY-SERVER} \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} @end example @noindent @@ -487,18 +502,20 @@ archive content is independent of its creation time, thus making it reproducible. @item -Make @code{root}'s profile available under @file{~root/.guix-profile}: +Make the profile available under @file{~root/.config/guix/current}, which is +where @command{guix pull} will install updates (@pxref{Invoking guix pull}): @example -# ln -sf /var/guix/profiles/per-user/root/guix-profile \ - ~root/.guix-profile +# mkdir -p ~root/.config/guix +# ln -sf /var/guix/profiles/per-user/root/current-guix \ + ~root/.config/guix/current @end example Source @file{etc/profile} to augment @code{PATH} and other relevant environment variables: @example -# GUIX_PROFILE="`echo ~root`/.guix-profile" ; \ +# GUIX_PROFILE="`echo ~root`/.config/guix/current" ; \ source $GUIX_PROFILE/etc/profile @end example @@ -520,8 +537,8 @@ with these commands: @c http://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html @example -# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \ - /etc/systemd/system/ +# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \ + /etc/systemd/system/ # systemctl start guix-daemon && systemctl enable guix-daemon @end example @@ -529,14 +546,16 @@ If your host distro uses the Upstart init system: @example # initctl reload-configuration -# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/ +# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \ + /etc/init/ # start guix-daemon @end example Otherwise, you can still start the daemon manually with: @example -# ~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild +# ~root/.config/guix/current/bin/guix-daemon \ + --build-users-group=guixbuild @end example @item @@ -546,7 +565,7 @@ for instance with: @example # mkdir -p /usr/local/bin # cd /usr/local/bin -# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix +# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix @end example It is also a good idea to make the Info version of this manual available @@ -555,7 +574,7 @@ there: @example # mkdir -p /usr/local/share/info # cd /usr/local/share/info -# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ; +# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ; do ln -s $i ; done @end example @@ -570,7 +589,8 @@ To use substitutes from @code{hydra.gnu.org} or one of its mirrors (@pxref{Substitutes}), authorize them: @example -# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub +# guix archive --authorize < \ + ~root/.config/guix/current/share/guix/hydra.gnu.org.pub @end example @item @@ -601,10 +621,11 @@ make guix-binary.@var{system}.tar.xz @end example @noindent -... which, in turn, runs: +...@: which, in turn, runs: @example -guix pack -s @var{system} --localstatedir guix +guix pack -s @var{system} --localstatedir \ + --profile-name=current-guix guix @end example @xref{Invoking guix pack}, for more info on this handy tool. @@ -629,12 +650,13 @@ later, including 2.2.x; (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}); @item -@uref{https://notabug.org/civodul/guile-sqlite3, Guile-SQLite3}, version 0.1.0 +@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later; @item @c FIXME: Specify a version number once a release has been made. @uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, from August 2017 or later; +@item @uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}; @item @url{http://zlib.net, zlib}; @item @url{http://www.gnu.org/software/make/, GNU Make}. @end itemize @@ -642,13 +664,6 @@ or later; The following dependencies are optional: @itemize -@item -Installing -@url{http://savannah.nongnu.org/projects/guile-json/, Guile-JSON} will -allow you to use the @command{guix import pypi} command (@pxref{Invoking -guix import}). It is of -interest primarily for developers and not for casual users. - @item @c Note: We need at least 0.10.2 for 'channel-send-eof'. Support for build offloading (@pxref{Daemon Offload Setup}) and @@ -1227,17 +1242,20 @@ etc. This helps achieve reproducible builds (@pxref{Features}). When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by -its @code{TMPDIR} environment variable; this directory is shared with -the container for the duration of the build. Be aware that using a -directory other than @file{/tmp} can affect build results---for example, -with a longer directory name, a build process that uses Unix-domain -sockets might hit the name length limitation for @code{sun_path}, which -it would otherwise not hit. +its @code{TMPDIR} environment variable. This directory is shared with +the container for the duration of the build, though within the container, +the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}. The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Invoking guix build, @option{--keep-failed}}). +The daemon listens for connections and spawns one sub-process for each session +started by a client (one of the @command{guix} sub-commands.) The +@command{guix processes} command allows you to get an overview of the activity +on your system by viewing each of the active sessions and clients. +@xref{Invoking guix processes}, for more information. + The following command-line options are supported: @table @code @@ -1259,8 +1277,7 @@ remote procedure call (@pxref{The Store}). @anchor{daemon-substitute-urls} Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, -@indicateurl{https://mirror.hydra.gnu.org https://hydra.gnu.org} is used -(@code{mirror.hydra.gnu.org} is a mirror of @code{hydra.gnu.org}). +@indicateurl{https://@value{SUBSTITUTE-SERVER}} is used. This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes}). @@ -2306,7 +2323,7 @@ also result from derivation builds, can be available as substitutes. @cindex hydra @cindex build farm -The @code{mirror.hydra.gnu.org} server is a front-end to an official build farm +The @code{@value{SUBSTITUTE-SERVER}} server is a front-end to an official build farm that builds packages from Guix continuously for some architectures, and makes them available as substitutes. This is the default source of substitutes; it can be overridden by passing the @@ -2338,33 +2355,28 @@ other substitute server. @cindex substitutes, authorization thereof @cindex access control list (ACL), for substitutes @cindex ACL (access control list), for substitutes -To allow Guix to download substitutes from @code{hydra.gnu.org} or a +To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER}} or a mirror thereof, you must add its public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix -archive}). Doing so implies that you trust @code{hydra.gnu.org} to not +archive}). Doing so implies that you trust @code{@value{SUBSTITUTE-SERVER}} to not be compromised and to serve genuine substitutes. -The public key for @code{hydra.gnu.org} is installed along with Guix, in -@code{@var{prefix}/share/guix/hydra.gnu.org.pub}, where @var{prefix} is +The public key for @code{@value{SUBSTITUTE-SERVER}} is installed along with Guix, in +@code{@var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this: @example -# guix archive --authorize < @var{prefix}/share/guix/hydra.gnu.org.pub +# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER}.pub @end example @quotation Note -Similarly, the @file{berlin.guixsd.org.pub} file contains the public key -for the project's new build farm, reachable at -@indicateurl{https://berlin.guixsd.org}. - -As of this writing @code{berlin.guixsd.org} is being upgraded so it can -better scale up, but you might want to give it a try. It is backed by -20 x86_64/i686 build nodes and may be able to provide substitutes more -quickly than @code{mirror.hydra.gnu.org}. +Similarly, the @file{hydra.gnu.org.pub} file contains the public key +of an independent build farm also run by the project, reachable at +@indicateurl{https://mirror.hydra.gnu.org}. @end quotation Once this is in place, the output of a command like @code{guix build} @@ -2394,7 +2406,7 @@ $ guix build emacs --dry-run @end example @noindent -This indicates that substitutes from @code{hydra.gnu.org} are usable and +This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and will be downloaded, when possible, for future builds. @cindex substitutes, how to disable @@ -2486,9 +2498,9 @@ by a server. Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its -weaknesses. While using @code{hydra.gnu.org} substitutes can be +weaknesses. While using @code{@value{SUBSTITUTE-SERVER}} substitutes can be convenient, we encourage users to also build on their own, or even run -their own build farm, such that @code{hydra.gnu.org} is less of an +their own build farm, such that @code{@value{SUBSTITUTE-SERVER}} is less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish}). @@ -2838,9 +2850,6 @@ The @command{guix pull} command is usually invoked with no arguments, but it supports the following options: @table @code -@item --verbose -Produce verbose output, writing build logs to the standard error output. - @item --url=@var{url} @itemx --commit=@var{commit} @itemx --branch=@var{branch} @@ -2874,6 +2883,14 @@ current generation only. @itemx -p @var{profile} Use @var{profile} instead of @file{~/.config/guix/current}. +@item --dry-run +@itemx -n +Show which channel commit(s) would be used and what would be built or +substituted but do not actually do it. + +@item --verbose +Produce verbose output, writing build logs to the standard error output. + @item --bootstrap Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers. @@ -2989,7 +3006,7 @@ channel(s): @end lisp @noindent -Note that the snippet above is (as always!) Scheme code; we use @code{cons} to +Note that the snippet above is (as always!)@: Scheme code; we use @code{cons} to add a channel the list of channels that the variable @code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). With this file in place, @command{guix pull} builds not only Guix @@ -3020,6 +3037,39 @@ the new and upgraded packages that are listed, some like @code{my-gimp} and @code{my-emacs-with-cool-features} might come from @code{my-personal-packages}, while others come from the Guix default channel. +@cindex dependencies, channels +@cindex meta-data, channels +@subsection Declaring Channel Dependencies + +Channel authors may decide to augment a package collection provided by other +channels. They can declare their channel to be dependent on other channels in +a meta-data file @file{.guix-channel}, which is to be placed in the root of +the channel repository. + +The meta-data file should contain a simple S-expression like this: + +@lisp +(channel + (version 0) + (dependencies + (channel + (name 'some-collection) + (url "https://example.org/first-collection.git")) + (channel + (name 'some-other-collection) + (url "https://example.org/second-collection.git") + (branch "testing")))) +@end lisp + +In the above example this channel is declared to depend on two other channels, +which will both be fetched automatically. The modules provided by the channel +will be compiled in an environment where the modules of all these declared +channels are available. + +For the sake of reliability and maintainability, you should avoid dependencies +on channels that you don't control, and you should aim to keep the number of +dependencies to a minimum. + @subsection Replicating Guix @cindex pinning, channels @@ -3253,8 +3303,17 @@ produce human-readable output; @item channels produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking -guix pull}). +guix pull}); +@item json +@cindex JSON +produce a list of channel specifications in JSON format; +@item recutils +produce a list of channel specifications in Recutils format. @end table + +@item --profile=@var{profile} +@itemx -p @var{profile} +Display information about @var{profile}. @end table @node Invoking guix pack @@ -3387,7 +3446,7 @@ guix pack -R -S /mybin=bin bash @end example @noindent -... you can copy that pack to a machine that lacks Guix, and from your +...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run: @example @@ -3459,8 +3518,11 @@ For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile. @item --localstatedir -Include the ``local state directory'', @file{/var/guix}, in the -resulting pack. +@itemx --profile-name=@var{name} +Include the ``local state directory'', @file{/var/guix}, in the resulting +pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} +profile---by default @var{name} is @code{guix-profile}, which corresponds to +@file{~root/.guix-profile}. @file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in @@ -3626,11 +3688,11 @@ Read a single-item archive as served by substitute servers low-level operation needed in only very narrow use cases; see below. For example, the following command extracts the substitute for Emacs -served by @code{hydra.gnu.org} to @file{/tmp/emacs}: +served by @code{@value{SUBSTITUTE-SERVER}} to @file{/tmp/emacs}: @example $ wget -O - \ - https://hydra.gnu.org/nar/@dots{}-emacs-24.5 \ + https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-emacs-24.5 \ | bunzip2 | guix archive -x /tmp/emacs @end example @@ -4376,6 +4438,63 @@ The @code{install} phase installs the binaries, and it also installs the source code and @file{Cargo.toml} file. @end defvr +@cindex Clojure (programming language) +@cindex simple Clojure build system +@defvr {Scheme Variable} clojure-build-system +This variable is exported by @code{(guix build-system clojure)}. It implements +a simple build procedure for @uref{https://clojure.org/, Clojure} packages +using plain old @code{compile} in Clojure. Cross-compilation is not supported +yet. + +It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. +Different packages can be specified with the @code{#:clojure}, @code{#:jdk} and +@code{#:zip} parameters, respectively. + +A list of source directories, test directories and jar names can be specified +with the @code{#:source-dirs}, @code{#:test-dirs} and @code{#:jar-names} +parameters, respectively. Compile directory and main class can be specified +with the @code{#:compile-dir} and @code{#:main-class} parameters, respectively. +Other parameters are documented below. + +This build system is an extension of @var{ant-build-system}, but with the +following phases changed: + +@table @code + +@item build +This phase calls @code{compile} in Clojure to compile source files and runs +@command{jar} to create jars from both source files and compiled files +according to the include list and exclude list specified in +@code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude list +has priority over the include list. These lists consist of symbols +representing Clojure libraries or the special keyword @code{#:all} representing +all Clojure libraries found under the source directories. The parameter +@code{#:omit-source?} decides if source should be included into the jars. + +@item check +This phase runs tests according to the include list and exclude list specified +in @code{#:test-include} and @code{#:test-exclude}, respectively. Their +meanings are analogous to that of @code{#:aot-include} and +@code{#:aot-exclude}, except that the special keyword @code{#:all} now +stands for all Clojure libraries found under the test directories. The +parameter @code{#:tests?} decides if tests should be run. + +@item install +This phase installs all jars built previously. +@end table + +Apart from the above, this build system also contains an additional phase: + +@table @code + +@item install-doc +This phase installs all top-level files with base name matching +@var{%doc-regex}. A different regex can be specified with the +@code{#:doc-regex} parameter. All files (recursively) inside the documentation +directories specified in @code{#:doc-dirs} are installed as well. +@end table +@end defvr + @defvr {Scheme Variable} cmake-build-system This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @@ -4684,7 +4803,7 @@ package is installed in its own directory under @defvr {Scheme Variable} font-build-system This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream -provides pre-compiled TrueType, OpenType, etc. font files that merely +provides pre-compiled TrueType, OpenType, etc.@: font files that merely need to be copied into place. It copies font files to standard locations in the output directory. @end defvr @@ -4965,7 +5084,7 @@ a derivation is the @code{derivation} procedure: [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ - [#:substitutable? #t] + [#:substitutable? #t] [#:properties '()] Build a derivation with the given arguments, and return the resulting @code{} object. @@ -5002,6 +5121,9 @@ When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set. + +@var{properties} must be an association list describing ``properties'' of the +derivation. It is kept as-is, uninterpreted, in the derivation. @end deffn @noindent @@ -5695,7 +5817,8 @@ information about monads.) [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} "-builder")] @ [#:deprecation-warnings #f] @ - [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] + [#:local-build? #f] [#:substitutable? #t] @ + [#:properties '()] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, @@ -6051,6 +6174,7 @@ the Scheme programming interface of Guix in a convenient way. * Invoking guix copy:: Copying to and from a remote store. * Invoking guix container:: Process isolation. * Invoking guix weather:: Assessing substitute availability. +* Invoking guix processes:: Listing client processes. @end menu @node Invoking guix build @@ -6133,6 +6257,10 @@ the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues. +This option has no effect when connecting to a remote daemon with a +@code{guix://} URI (@pxref{The Store, the @code{GUIX_DAEMON_SOCKET} +variable}). + @item --keep-going @itemx -k Keep going when some of the derivations fail to build; return only once @@ -6347,6 +6475,38 @@ must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care! +@item --with-branch=@var{package}=@var{branch} +@cindex Git, using the latest commit +@cindex latest commit, building +Build @var{package} from the latest commit of @var{branch}. The @code{source} +field of @var{package} must be an origin with the @code{git-fetch} method +(@pxref{origin Reference}) or a @code{git-checkout} object; the repository URL +is taken from that @code{source}. + +For instance, the following command builds @code{guile-sqlite3} from the +latest commit of its @code{master} branch, and then builds @code{guix} (which +depends on it) and @code{cuirass} (which depends on @code{guix}) against this +specific @code{guile-sqlite3} build: + +@example +guix build --with-branch=guile-sqlite3=master cuirass +@end example + +@cindex continuous integration +Obviously, since it uses the latest commit of the given branch, the result of +such a command varies over time. Nevertheless it is a convenient way to +rebuild entire software stacks against the latest commit of one or more +packages. This is particularly useful in the context of continuous +integration (CI). + +Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed up +consecutive accesses to the same repository. You may want to clean it up once +in a while to save disk space. + +@item --with-commit=@var{package}=@var{commit} +This is similar to @code{--with-branch}, except that it builds from +@var{commit} rather than the tip of a branch. @var{commit} must be a valid +Git commit SHA1 identifier. @end table @node Additional Build Options @@ -6430,7 +6590,7 @@ The following derivations will be built: @item transitive Build the source derivations of all packages, as well of all transitive -inputs to the packages. This can be used e.g. to +inputs to the packages. This can be used e.g.@: to prefetch package source for later offline building. @example @@ -6553,7 +6713,7 @@ but you are actually on an @code{x86_64} machine: @example $ guix build --log-file gdb -s mips64el-linux -https://hydra.gnu.org/log/@dots{}-gdb-7.10 +https://@value{SUBSTITUTE-SERVER}/log/@dots{}-gdb-7.10 @end example You can freely access a huge library of build logs! @@ -6833,12 +6993,11 @@ refresh, @code{--key-download}}. @item pypi @cindex pypi Import metadata from the @uref{https://pypi.python.org/, Python Package -Index}@footnote{This functionality requires Guile-JSON to be installed. -@xref{Requirements}.}. Information is taken from the JSON-formatted -description available at @code{pypi.python.org} and usually includes all -the relevant information, including package dependencies. For maximum -efficiency, it is recommended to install the @command{unzip} utility, so -that the importer can unzip Python wheels and gather data from them. +Index}. Information is taken from the JSON-formatted description +available at @code{pypi.python.org} and usually includes all the relevant +information, including package dependencies. For maximum efficiency, it +is recommended to install the @command{unzip} utility, so that the +importer can unzip Python wheels and gather data from them. The command below imports metadata for the @code{itsdangerous} Python package: @@ -6857,16 +7016,14 @@ in Guix. @item gem @cindex gem -Import metadata from @uref{https://rubygems.org/, -RubyGems}@footnote{This functionality requires Guile-JSON to be -installed. @xref{Requirements}.}. Information is taken from the -JSON-formatted description available at @code{rubygems.org} and includes -most relevant information, including runtime dependencies. There are -some caveats, however. The metadata doesn't distinguish between -synopses and descriptions, so the same string is used for both fields. -Additionally, the details of non-Ruby dependencies required to build -native extensions is unavailable and left as an exercise to the -packager. +Import metadata from @uref{https://rubygems.org/, RubyGems}. Information +is taken from the JSON-formatted description available at +@code{rubygems.org} and includes most relevant information, including +runtime dependencies. There are some caveats, however. The metadata +doesn't distinguish between synopses and descriptions, so the same string +is used for both fields. Additionally, the details of non-Ruby +dependencies required to build native extensions is unavailable and left +as an exercise to the packager. The command below imports metadata for the @code{rails} Ruby package: @@ -6884,9 +7041,7 @@ in Guix. @item cpan @cindex CPAN -Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}@footnote{This -functionality requires Guile-JSON to be installed. -@xref{Requirements}.}. +Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information @@ -6970,10 +7125,8 @@ guix import texlive --archive=generic ifxetex @item json @cindex JSON, import -Import package metadata from a local JSON file@footnote{This -functionality requires Guile-JSON to be installed. -@xref{Requirements}.}. Consider the following example package -definition in JSON format: +Import package metadata from a local JSON file. Consider the following +example package definition in JSON format: @example @{ @@ -7452,7 +7605,7 @@ Use @var{host} as the OpenPGP key server when importing a public key. The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new -releases. When used repeatedly e.g. when refreshing all packages, +releases. When used repeatedly e.g.@: when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with @@ -7488,7 +7641,7 @@ Identify inputs that should most likely be native inputs. @itemx source-file-name Probe @code{home-page} and @code{source} URLs and report those that are invalid. Suggest a @code{mirror://} URL when applicable. Check that -the source file name is meaningful, e.g. is not +the source file name is meaningful, e.g.@: is not just a version number or ``git-checkout'', without a declared @code{file-name} (@pxref{origin Reference}). @@ -7751,7 +7904,7 @@ This shows the @emph{reverse} DAG of packages. For example: guix graph --type=reverse-package ocaml @end example -... yields the graph of packages that depend on OCaml. +...@: yields the graph of packages that depend on OCaml. Note that for core packages this can yield huge graphs. If all you want is to know the number of packages that depend on a given package, use @@ -7767,7 +7920,7 @@ For instance, the following command: guix graph --type=bag-emerged coreutils | dot -Tpdf > dag.pdf @end example -... yields this bigger graph: +...@: yields this bigger graph: @image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils} @@ -7938,7 +8091,7 @@ fi @end example @noindent -... or to browse the profile: +...@: or to browse the profile: @example $ ls "$GUIX_ENVIRONMENT/bin" @@ -8212,7 +8365,7 @@ When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Hydra, the software behind -the @code{hydra.gnu.org} build farm. +the @code{@value{SUBSTITUTE-SERVER}} build farm. For security, each substitute is signed, allowing recipients to check their authenticity and integrity (@pxref{Substitutes}). Because @@ -8449,20 +8602,20 @@ any given store item. The command output looks like this: @smallexample -$ guix challenge --substitute-urls="https://hydra.gnu.org https://guix.example.org" -updating list of substitutes from 'https://hydra.gnu.org'... 100.0% +$ guix challenge --substitute-urls="https://@value{SUBSTITUTE-SERVER} https://guix.example.org" +updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER}'... 100.0% updating list of substitutes from 'https://guix.example.org'... 100.0% /gnu/store/@dots{}-openssl-1.0.2d contents differ: local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q - https://hydra.gnu.org/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q + https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim /gnu/store/@dots{}-git-2.5.0 contents differ: local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha - https://hydra.gnu.org/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f + https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 /gnu/store/@dots{}-pius-2.1.1 contents differ: local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax - https://hydra.gnu.org/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax + https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs @dots{} @@ -8482,7 +8635,7 @@ the servers obtained a result different from the local build. @cindex non-determinism, in package builds As an example, @code{guix.example.org} always gets a different answer. -Conversely, @code{hydra.gnu.org} agrees with local builds, except in the +Conversely, @code{@value{SUBSTITUTE-SERVER}} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building @@ -8496,14 +8649,14 @@ To find out what is wrong with this Git binary, we can do something along these lines (@pxref{Invoking guix archive}): @example -$ wget -q -O - https://hydra.gnu.org/nar/@dots{}-git-2.5.0 \ +$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0 \ | guix archive -x /tmp/git $ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git @end example This command shows the difference between the files resulting from the local build, and the files resulting from the build on -@code{hydra.gnu.org} (@pxref{Overview, Comparing and Merging Files,, +@code{@value{SUBSTITUTE-SERVER}} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps @@ -8518,7 +8671,7 @@ In the meantime, @command{guix challenge} is one tool to help address the problem. If you are writing packages for Guix, you are encouraged to check -whether @code{hydra.gnu.org} and other substitute servers obtain the +whether @code{@value{SUBSTITUTE-SERVER}} and other substitute servers obtain the same build result as you did with: @example @@ -8751,6 +8904,61 @@ with the @code{-m} option of @command{guix package} (@pxref{Invoking guix package}). @end table +@node Invoking guix processes +@section Invoking @command{guix processes} + +The @command{guix processes} command can be useful to developers and system +administrators, especially on multi-user machines and on build farms: it lists +the current sessions (connections to the daemon), as well as information about +the processes involved@footnote{Remote sessions, when @command{guix-daemon} is +started with @option{--listen} specifying a TCP endpoint, are @emph{not} +listed.}. Here's an example of the information it returns: + +@example +$ sudo guix processes +SessionPID: 19002 +ClientPID: 19090 +ClientCommand: guix environment --ad-hoc python + +SessionPID: 19402 +ClientPID: 19367 +ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{} + +SessionPID: 19444 +ClientPID: 19419 +ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} +LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock +LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock +LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock +ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800 +ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800 +ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800 +@end example + +In this example we see that @command{guix-daemon} has three clients: +@command{guix environment}, @command{guix publish}, and the Cuirass continuous +integration tool; their process identifier (PID) is given by the +@code{ClientPID} field. The @code{SessionPID} field gives the PID of the +@command{guix-daemon} sub-process of this particular session. + +The @code{LockHeld} fields show which store items are currently locked by this +session, which corresponds to store items being built or substituted (the +@code{LockHeld} field is not displayed when @command{guix processes} is not +running as root.) Last, by looking at the @code{ChildProcess} field, we +understand that these three builds are being offloaded (@pxref{Daemon Offload +Setup}). + +The output is in Recutils format so we can use the handy @command{recsel} +command to select sessions of interest (@pxref{Selection Expressions,,, +recutils, GNU recutils manual}). As an example, the command shows the command +line and PID of the client that triggered the build of a Perl package: + +@example +$ sudo guix processes | \ + recsel -p ClientPID,ClientCommand -e 'LockHeld ~ "perl"' +ClientPID: 19419 +ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} +@end example @c ********************************************************************* @node GNU Distribution @@ -8894,7 +9102,7 @@ More and more system services are provided (@pxref{Services}), but some may be missing. @item -More than 7,500 packages are available, but you might +More than 8,500 packages are available, but you might occasionally find that a useful package is missing. @item @@ -8972,7 +9180,8 @@ If that command fails because you do not have the required public key, then run this command to import it: @example -$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID} +$ gpg --keyserver @value{KEY-SERVER} \ + --recv-keys @value{OPENPGP-SIGNING-KEY-ID} @end example @noindent @@ -9000,7 +9209,7 @@ its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with: @example -dd if=guixsd-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX +dd if=guixsd-install-@value{VERSION}.@var{system}.iso of=/dev/sdX sync @end example @@ -9025,7 +9234,7 @@ its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with: @example -growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.x86_64.iso +growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.@var{system}.iso @end example Access to @file{/dev/srX} usually requires root privileges. @@ -9385,7 +9594,7 @@ system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates}). Join us on @code{#guix} on the Freenode IRC network or on -@file{guix-devel@@gnu.org} to share your experience---good or not so +@email{guix-devel@@gnu.org} to share your experience---good or not so good. @node Installing GuixSD in a VM @@ -9571,9 +9780,9 @@ environment variable---in addition to the per-user profiles provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the GNU Zile lightweight text editor, @command{find}, @command{grep}, -etc. The example above adds GNU@tie{}Screen and OpenSSH to those, -taken from the @code{(gnu packages screen)} and @code{(gnu packages ssh)} -modules (@pxref{Package Modules}). The +etc. The example above adds GNU@tie{}Screen to those, +taken from the @code{(gnu packages screen)} +module (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package: @@ -9784,7 +9993,7 @@ The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}. @item @code{initrd} (default: @code{base-initrd}) -A monadic procedure that returns an initial RAM disk for the Linux +A procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}. @@ -10490,11 +10699,14 @@ Start,,, shepherd, The GNU Shepherd Manual}). For example: The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given -service: +service and its associated actions: @example # herd doc nscd Run libc's name service cache daemon (nscd). + +# herd doc nscd action invalidate +invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups. @end example The @command{start}, @command{stop}, and @command{restart} sub-commands @@ -10698,7 +10910,7 @@ the Linux command line, agetty will extract the device name of the serial port from it and use that. In both cases, agetty will leave the other serial device settings -(baud rate etc.) alone---in the hope that Linux pinned them to the +(baud rate etc.)@: alone---in the hope that Linux pinned them to the correct values. @item @code{baud-rate} (default: @code{#f}) @@ -10872,6 +11084,10 @@ A gexp denoting the name of the log-in program. The default log-in program is @item @code{login-arguments} (default: @code{'("-p")}) A list of arguments to pass to @command{login}. +@item @code{auto-login} (default: @code{#f}) +When passed a login name, as a string, the specified user will be logged +in automatically without prompting for their login name or password. + @item @code{hardware-acceleration?} (default: #f) Whether to use hardware acceleration. @@ -10888,6 +11104,27 @@ The Kmscon package to use. Return a service that runs the libc name service cache daemon (nscd) with the given @var{config}---an @code{} object. @xref{Name Service Switch}, for an example. + +For convenience, the Shepherd service for nscd provides the following actions: + +@table @code +@item invalidate +@cindex cache invalidation, nscd +@cindex nscd, cache invalidation +This invalidate the given cache. For instance, running: + +@example +herd invalidate nscd hosts +@end example + +@noindent +invalidates the host name lookup cache of nscd. + +@item statistics +Running @command{herd statistics nscd} displays information about nscd usage +and caches. +@end table + @end deffn @defvr {Scheme Variable} %nscd-default-configuration @@ -11024,14 +11261,14 @@ Number of build user accounts to create. @item @code{authorize-key?} (default: @code{#t}) @cindex substitutes, authorization thereof Whether to authorize the substitute keys listed in -@code{authorized-keys}---by default that of @code{hydra.gnu.org} +@code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes}). @vindex %default-authorized-guix-keys @item @code{authorized-keys} (default: @var{%default-authorized-guix-keys}) The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it -contains that of @code{hydra.gnu.org} (@pxref{Substitutes}). +contains that of @code{@value{SUBSTITUTE-SERVER}} (@pxref{Substitutes}). @item @code{use-substitutes?} (default: @code{#t}) Whether to use substitutes. @@ -11731,7 +11968,7 @@ Data Type representing the configuration of connman. The connman package to use. @item @code{disable-vpn?} (default: @code{#f}) -When true, enable connman's vpn plugin. +When true, disable connman's vpn plugin. @end table @end deftp @@ -11771,7 +12008,7 @@ List of additional command-line arguments to pass to the daemon. @cindex iptables @defvr {Scheme Variable} iptables-service-type -This is the service type to set up an iptables configuration. iptables is a +This is the service type to set up an iptables configuration. iptables is a packet filtering framework supported by the Linux kernel. This service supports configuring iptables for both IPv4 and IPv6. A simple example configuration rejecting all incoming connections except those to the ssh port @@ -11820,7 +12057,7 @@ objects}). @cindex NTP (Network Time Protocol), service @cindex real time clock @defvr {Scheme Variable} ntp-service-type -This is the type of the service running the the @uref{http://www.ntp.org, +This is the type of the service running the @uref{http://www.ntp.org, Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep the system clock synchronized with that of the specified NTP servers. @@ -11980,14 +12217,14 @@ listening to new service requests. @item @code{user} A string containing the user (and, optionally, group) name of the user as whom the server should run. The group name can be specified in a -suffix, separated by a colon or period, i.e. @code{"user"}, +suffix, separated by a colon or period, i.e.@: @code{"user"}, @code{"user:group"} or @code{"user.group"}. @item @code{program} (default: @code{"internal"}) The server program which will serve the requests, or @code{"internal"} if @command{inetd} should use a built-in service. @item @code{arguments} (default: @code{'()}) A list strings or file-like objects, which are the server program's -arguments, starting with the zeroth argument, i.e. the name of the +arguments, starting with the zeroth argument, i.e.@: the name of the program itself. For @command{inetd}'s internal services, this entry must be @code{'()} or @code{'("internal")}. @end table @@ -12253,7 +12490,7 @@ Whether to allow TCP forwarding. Whether to allow gateway ports. @item @code{challenge-response-authentication?} (default: @code{#f}) -Specifies whether challenge response authentication is allowed (e.g. via +Specifies whether challenge response authentication is allowed (e.g.@: via PAM). @item @code{use-pam?} (default: @code{#t}) @@ -12273,7 +12510,7 @@ Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively. @item @code{subsystems} (default: @code{'(("sftp" "internal-sftp"))}) -Configures external subsystems (e.g. file transfer daemon). +Configures external subsystems (e.g.@: file transfer daemon). This is a list of two-element lists, each of which containing the subsystem name and a command (with optional arguments) to execute upon @@ -13895,7 +14132,7 @@ Users need to be in the @code{lp} group to access the D-Bus service. @cindex PulseAudio, sound support The @code{(gnu services sound)} module provides a service to configure the -Advanced Linux Sound Architecture (ALSA) system, which making PulseAudio the +Advanced Linux Sound Architecture (ALSA) system, which makes PulseAudio the preferred ALSA output driver. @deffn {Scheme Variable} alsa-service-type @@ -14272,11 +14509,30 @@ Defaults to @samp{#t}. @end deftypevr +@deftypevr {@code{service-configuration} parameter} non-negative-integer client-limit +Maximum number of simultaneous client connections per process. Once +this number of connections is received, the next incoming connection +will prompt Dovecot to spawn another process. If set to 0, +@code{default-client-limit} is used instead. + +Defaults to @samp{0}. + +@end deftypevr + @deftypevr {@code{service-configuration} parameter} non-negative-integer service-count Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. . Defaults to @samp{1}. + +@end deftypevr + +@deftypevr {@code{service-configuration} parameter} non-negative-integer process-limit +Maximum number of processes that can exist for this service. If set to +0, @code{default-process-limit} is used instead. + +Defaults to @samp{0}. + @end deftypevr @deftypevr {@code{service-configuration} parameter} non-negative-integer process-min-avail @@ -14467,14 +14723,14 @@ Defaults to @samp{()}. @end deftypevr @deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets -List of login access check sockets (e.g. tcpwrap). +List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}. @end deftypevr @deftypevr {@code{dovecot-configuration} parameter} boolean verbose-proctitle? Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who is actually using the IMAP -processes (e.g. shared mailboxes or if the same uid is used for multiple +processes (e.g.@: shared mailboxes or if the same uid is used for multiple accounts). Defaults to @samp{#f}. @end deftypevr @@ -14483,7 +14739,7 @@ Defaults to @samp{#f}. Should all processes be killed when Dovecot master process shuts down. Setting this to @code{#f} means that Dovecot can be upgraded without forcing existing client connections to close (although that could also -be a problem if the upgrade is e.g. due to a security fix). +be a problem if the upgrade is e.g.@: due to a security fix). Defaults to @samp{#t}. @end deftypevr @@ -14507,14 +14763,14 @@ key=value pairs to always set specific settings. @deftypevr {@code{dovecot-configuration} parameter} boolean disable-plaintext-auth? Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP -matches the local IP (i.e. you're connecting from the same computer), +matches the local IP (i.e.@: you're connecting from the same computer), the connection is considered secure and plaintext authentication is allowed. See also ssl=required setting. Defaults to @samp{#t}. @end deftypevr @deftypevr {@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size -Authentication cache size (e.g. @samp{#e10e6}). 0 means it's disabled. +Authentication cache size (e.g.@: @samp{#e10e6}). 0 means it's disabled. Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for caching to be used. Defaults to @samp{0}. @@ -14570,7 +14826,7 @@ Defaults to @samp{""}. @deftypevr {@code{dovecot-configuration} parameter} string auth-username-format Username formatting before it's looked up from databases. You can -use the standard variables here, e.g. %Lu would lowercase the username, +use the standard variables here, e.g.@: %Lu would lowercase the username, %n would drop away the domain if it was given, or @samp{%n-AT-%d} would change the @samp{@@} into @samp{-AT-}. This translation is done after @samp{auth-username-translation} changes. @@ -14579,7 +14835,7 @@ Defaults to @samp{"%Lu"}. @deftypevr {@code{dovecot-configuration} parameter} string auth-master-user-separator If you want to allow master users to log in by specifying the master -username within the normal username string (i.e. not using SASL +username within the normal username string (i.e.@: not using SASL mechanism's support for it), you can specify the separator character here. The format is then . UW-IMAP uses @samp{*} as the separator, so that could be a good @@ -14595,7 +14851,7 @@ Defaults to @samp{"anonymous"}. @deftypevr {@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count Maximum number of dovecot-auth worker processes. They're used to -execute blocking passdb and userdb queries (e.g. MySQL and PAM). +execute blocking passdb and userdb queries (e.g.@: MySQL and PAM). They're automatically created and destroyed as needed. Defaults to @samp{30}. @end deftypevr @@ -14715,7 +14971,7 @@ In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over again. You can also truncate the value to n chars by appending -":n" (e.g. sha1:6). +":n" (e.g.@: sha1:6). Defaults to @samp{#f}. @end deftypevr @@ -14771,7 +15027,7 @@ Defaults to @samp{"\"%s(%u)<%@{pid@}><%@{session@}>: \""}. Format to use for logging mail deliveries. You can use variables: @table @code @item %$ -Delivery status message (e.g. @samp{saved to INBOX}) +Delivery status message (e.g.@: @samp{saved to INBOX}) @item %m Message-ID @item %s @@ -14793,7 +15049,7 @@ if the user doesn't yet have any mail, so you should explicitly tell Dovecot the full location. If you're using mbox, giving a path to the INBOX -file (e.g. /var/mail/%u) isn't enough. You'll also need to tell Dovecot +file (e.g.@: /var/mail/%u) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the "root mail directory", and it must be the first path given in the @samp{mail-location} setting. @@ -14844,7 +15100,7 @@ Defaults to @samp{""}. Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be dangerous to set these if users can create -symlinks (e.g. if "mail" group is set here, ln -s /var/mail ~/mail/var +symlinks (e.g.@: if "mail" group is set here, ln -s /var/mail ~/mail/var could allow a user to delete others' mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow reading it). Defaults to @samp{""}. @@ -14854,7 +15110,7 @@ Defaults to @samp{""}. Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID. It works with both maildir and mboxes, allowing you to prefix mailboxes -names with e.g. /path/ or ~user/. +names with e.g.@: /path/ or ~user/. Defaults to @samp{#f}. @end deftypevr @@ -14877,7 +15133,7 @@ When to use fsync() or fdatasync() calls: @item optimized Whenever necessary to avoid losing important data @item always -Useful with e.g. NFS when write()s are delayed +Useful with e.g.@: NFS when write()s are delayed @item never Never use it (best performance, but crashes can lose data). @end table @@ -14944,7 +15200,7 @@ Defaults to @samp{50}. @deftypevr {@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs List of directories under which chrooting is allowed for mail -processes (i.e. /var/mail will allow chrooting to /var/mail/foo/bar +processes (i.e.@: /var/mail will allow chrooting to /var/mail/foo/bar too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, "/./" in home dirs are ignored. WARNING: Never add directories here @@ -14957,10 +15213,10 @@ Defaults to @samp{()}. @deftypevr {@code{dovecot-configuration} parameter} string mail-chroot Default chroot directory for mail processes. This can be overridden for specific users in user database by giving /./ in user's home -directory (e.g. /home/./user chroots into /home). Note that usually +directory (e.g.@: /home/./user chroots into /home). Note that usually there is no real need to do chrooting, Dovecot doesn't allow users to access files outside their mail directory anyway. If your home -directories are prefixed with the chroot directory, append "/." to +directories are prefixed with the chroot directory, append "/."@: to @samp{mail-chroot}. . Defaults to @samp{""}. @end deftypevr @@ -14978,7 +15234,7 @@ Defaults to @samp{"/usr/lib/dovecot"}. @deftypevr {@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins List of plugins to load for all services. Plugins specific to IMAP, -LDA, etc. are added to this list in their own .conf files. +LDA, etc.@: are added to this list in their own .conf files. Defaults to @samp{()}. @end deftypevr @@ -15101,7 +15357,7 @@ Defaults to @samp{#t}. @end deftypevr @deftypevr {@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size -If mbox size is smaller than this (e.g. 100k), don't write index +If mbox size is smaller than this (e.g.@: 100k), don't write index files. If an index file already exists it's still read, just not updated. Defaults to @samp{0}. @@ -15161,7 +15417,7 @@ Defaults to @samp{"sis posix"}. Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be -truncated, e.g. @code{%@{sha256:80@}} returns only first 80 bits. +truncated, e.g.@: @code{%@{sha256:80@}} returns only first 80 bits. Defaults to @samp{"%@{sha1@}"}. @end deftypevr @@ -15225,7 +15481,7 @@ Defaults to @samp{""}. PEM encoded trusted certificate authority. Set this only if you intend to use @samp{ssl-verify-client-cert? #t}. The file should contain the CA certificate(s) followed by the matching -CRL(s). (e.g. @samp{ssl-ca + SetHandler \"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\" +")))))) +(service php-fpm-service-type + (php-fpm-configuration + (socket "/var/run/php-fpm.sock") + (socket-group "httpd"))) +@end example + @item @code{server-root} (default: @code{httpd}) The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are @@ -16883,8 +17169,8 @@ Name for this group of servers. @item @code{servers} Specify the addresses of the servers in the group. The address can be -specified as a IP address (e.g. @samp{127.0.0.1}), domain name -(e.g. @samp{backend1.example.com}) or a path to a UNIX socket using the +specified as a IP address (e.g.@: @samp{127.0.0.1}), domain name +(e.g.@: @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly. @@ -16957,7 +17243,7 @@ the name starts with a forward slash, it is interpreted as an absolute directory name. Pass the @code{-n} argument to other Varnish programs to connect to the -named instance, e.g. @command{varnishncsa -n default}. +named instance, e.g.@: @command{varnishncsa -n default}. @item @code{backend} (default: @code{"localhost:8080"}) The backend to use. This option has no effect if @code{vcl} is set. @@ -17080,7 +17366,7 @@ and different php.ini (replaces safe_mode) a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.) @end itemize -... and much more. +...@: and much more. @defvr {Scheme Variable} php-fpm-service-type A Service type for @code{php-fpm}. @@ -17331,7 +17617,7 @@ The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment -tasks associated with the renewal (e.g. reloading services, copying keys +tasks associated with the renewal (e.g.@: reloading services, copying keys with different permissions). Certbot is run twice a day, at a random minute within the hour. It @@ -18571,6 +18857,11 @@ Cuirass jobs. Location of sqlite database which contains the build results and previously added specifications. +@item @code{ttl} (default: @code{(* 30 24 3600)}) +Specifies the time-to-live (TTL) in seconds of garbage collector roots that +are registered for build results. This means that build results are protected +from garbage collection for at least @var{ttl} seconds. + @item @code{port} (default: @code{8081}) Port number used by the HTTP server. @@ -20432,8 +20723,8 @@ Defaults to @samp{"/favicon.ico"}. @deftypevr {@code{cgit-configuration} parameter} string footer The content of the file specified with this option will be included -verbatim at the bottom of all pages (i.e. it replaces the standard -"generated by..." message). +verbatim at the bottom of all pages (i.e.@: it replaces the standard +"generated by..."@: message). Defaults to @samp{""}. @@ -21759,10 +22050,10 @@ here is how to use it and customize it further. @cindex initrd @cindex initial RAM disk -@deffn {Monadic Procedure} raw-initrd @var{file-systems} @ +@deffn {Scheme Procedure} raw-initrd @var{file-systems} @ [#:linux-modules '()] [#:mapped-devices '()] @ [#:helper-packages '()] [#:qemu-networking? #f] [#:volatile-root? #f] -Return a monadic derivation that builds a raw initrd. @var{file-systems} is +Return a derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @@ -21780,10 +22071,10 @@ When @var{volatile-root?} is true, the root file system is writable but any chan to it are lost. @end deffn -@deffn {Monadic Procedure} base-initrd @var{file-systems} @ +@deffn {Scheme Procedure} base-initrd @var{file-systems} @ [#:mapped-devices '()] [#:qemu-networking? #f] [#:volatile-root? #f]@ [#:linux-modules '()] -Return a monadic derivation that builds a generic initrd, with kernel +Return as a file-like object a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{mapped-devices} is a list of device @@ -21803,9 +22094,9 @@ program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd. -@deffn {Monadic Procedure} expression->initrd @var{exp} @ +@deffn {Scheme Procedure} expression->initrd @var{exp} @ [#:guile %guile-static-stripped] [#:name "guile-initrd"] -Return a derivation that builds a Linux initrd (a gzipped cpio archive) +Return as a file-like object a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd. @@ -22058,7 +22349,7 @@ This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running this command will -arrange for it to be upgraded the next time it is stopped (eg. by +arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop X} or @code{herd restart X}). This command creates a new generation whose number is one greater than @@ -23479,7 +23770,7 @@ system}. @cindex substituter Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When -@code{hydra.gnu.org} is done building the package, installing the +@code{@value{SUBSTITUTE-SERVER}} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch. @@ -23739,7 +24030,7 @@ packages with the corresponding names. If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name -starts with @code{py} (e.g. @code{pytz}), we keep it and prefix it as +starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as described above. @subsubsection Specifying Dependencies @@ -24179,7 +24470,7 @@ to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be -available locally, and @file{gnu/local.mk} has rules do download it for +available locally, and @file{gnu/local.mk} has rules to download it for the supported architectures; a rule for the new platform must be added as well. diff --git a/doc/local.mk b/doc/local.mk index f6129708c3..525772019c 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -22,7 +22,8 @@ # along with GNU Guix. If not, see . info_TEXINFOS = %D%/guix.texi \ - %D%/guix.fr.texi + %D%/guix.fr.texi \ + %D%/guix.de.texi %C%_guix_TEXINFOS = \ %D%/contributing.texi \ @@ -55,7 +56,9 @@ OS_CONFIG_EXAMPLES_TEXI = \ %D%/os-config-lightweight-desktop.texi TRANSLATED_INFO = \ + %D%/guix.de.texi \ %D%/guix.fr.texi \ + %D%/contributing.de.texi \ %D%/contributing.fr.texi # Bundle this file so that makeinfo finds it in out-of-source-tree builds. diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index a593b8112c..3d2b3ddda7 100644 --- a/etc/completion/bash/guix +++ b/etc/completion/bash/guix @@ -1,5 +1,5 @@ # GNU Guix --- Functional package management for GNU -# Copyright © 2015, 2016, 2017 Ludovic Courtès +# Copyright © 2015, 2016, 2017, 2018 Ludovic Courtès # # This file is part of GNU Guix. # @@ -172,6 +172,8 @@ _guix_complete () if _guix_is_dash_L then _guix_complete_file + else + _guix_complete_available_package "$word_at_point" fi elif _guix_is_command "download" then diff --git a/etc/guix-daemon.conf.in b/etc/guix-daemon.conf.in index 74706055f8..755192d555 100644 --- a/etc/guix-daemon.conf.in +++ b/etc/guix-daemon.conf.in @@ -7,4 +7,4 @@ start on runlevel [2345] stop on runlevel [016] -exec @localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild +exec @localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in index 988cf90c00..99ec7c48f8 100644 --- a/etc/guix-daemon.service.in +++ b/etc/guix-daemon.service.in @@ -6,8 +6,8 @@ Description=Build daemon for GNU Guix [Service] -ExecStart=@localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild -Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale +ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild +Environment=GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale RemainAfterExit=yes StandardOutput=syslog StandardError=syslog diff --git a/etc/guix-install.sh b/etc/guix-install.sh index ca6874ba0f..f0bfc932bd 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -269,12 +269,13 @@ sys_create_store() fi _msg "${INF}Linking the root user's profile" - ln -sf /var/guix/profiles/per-user/root/guix-profile \ - "${ROOT_HOME}/.guix-profile" + mkdir -p "${ROOT_HOME}/.config/guix" + ln -sf /var/guix/profiles/per-user/root/current-guix \ + "${ROOT_HOME}/.config/guix/current" - GUIX_PROFILE="${ROOT_HOME}/.guix-profile" + GUIX_PROFILE="${ROOT_HOME}/.config/guix/current" source "${GUIX_PROFILE}/etc/profile" - _msg "${PAS}activated root profile at /root/.guix-profile" + _msg "${PAS}activated root profile at ${ROOT_HOME}/.config/guix/current" } sys_create_build_user() @@ -317,18 +318,18 @@ sys_enable_guix_daemon() info_path="/usr/local/share/info" local_bin="/usr/local/bin" - var_guix="/var/guix/profiles/per-user/root/guix-profile" + var_guix="/var/guix/profiles/per-user/root/current-guix" case "$INIT_SYS" in upstart) { initctl reload-configuration; - cp "${ROOT_HOME}/.guix-profile/lib/upstart/system/guix-daemon.conf" \ + cp "${ROOT_HOME}/.config/guix/current/lib/upstart/system/guix-daemon.conf" \ /etc/init/ && start guix-daemon; } && _msg "${PAS}enabled Guix daemon via upstart" ;; systemd) - { cp "${ROOT_HOME}/.guix-profile/lib/systemd/system/guix-daemon.service" \ + { cp "${ROOT_HOME}/.config/guix/current/lib/systemd/system/guix-daemon.service" \ /etc/systemd/system/; chmod 664 /etc/systemd/system/guix-daemon.service; systemctl daemon-reload && @@ -338,7 +339,7 @@ sys_enable_guix_daemon() ;; NA|*) _msg "${ERR}unsupported init system; run the daemon manually:" - echo " ${ROOT_HOME}/.guix-profile/bin/guix-daemon --build-users-group=guixbuild" + echo " ${ROOT_HOME}/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild" ;; esac @@ -358,10 +359,10 @@ sys_authorize_build_farms() while true; do read -p "Permit downloading pre-built package binaries from the project's build farms? (yes/no) " yn case $yn in - [Yy]*) guix archive --authorize < "${ROOT_HOME}/.guix-profile/share/guix/hydra.gnu.org.pub" && + [Yy]*) guix archive --authorize < "${ROOT_HOME}/.config/guix/current/share/guix/hydra.gnu.org.pub" && _msg "${PAS}Authorized public key for hydra.gnu.org"; - guix archive --authorize < "${ROOT_HOME}/.guix-profile/share/guix/berlin.guixsd.org.pub" && - _msg "${PAS}Authorized public key for berlin.guixsd.org"; + guix archive --authorize < "${ROOT_HOME}/.config/guix/current/share/guix/ci.guix.info.pub" && + _msg "${PAS}Authorized public key for ci.guix.info"; break;; [Nn]*) _msg "${INF}Skipped authorizing build farm public keys" break;; diff --git a/etc/guix-publish.conf.in b/etc/guix-publish.conf.in index 241c594559..7b319f66ae 100644 --- a/etc/guix-publish.conf.in +++ b/etc/guix-publish.conf.in @@ -9,4 +9,4 @@ stop on runlevel [016] task -exec @localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix publish --user=nobody --port=8181 +exec @localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181 diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in index 8aaf09e3cd..0526f97994 100644 --- a/etc/guix-publish.service.in +++ b/etc/guix-publish.service.in @@ -6,8 +6,8 @@ Description=Publish the GNU Guix store [Service] -ExecStart=@localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix publish --user=nobody --port=8181 -Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale +ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181 +Environment=GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale RemainAfterExit=yes StandardOutput=syslog StandardError=syslog diff --git a/berlin.guixsd.org.pub b/etc/substitutes/berlin.guixsd.org.pub similarity index 100% rename from berlin.guixsd.org.pub rename to etc/substitutes/berlin.guixsd.org.pub diff --git a/etc/substitutes/ci.guix.info.pub b/etc/substitutes/ci.guix.info.pub new file mode 120000 index 0000000000..b1d1e4d763 --- /dev/null +++ b/etc/substitutes/ci.guix.info.pub @@ -0,0 +1 @@ +berlin.guixsd.org.pub \ No newline at end of file diff --git a/hydra.gnu.org.pub b/etc/substitutes/hydra.gnu.org.pub similarity index 100% rename from hydra.gnu.org.pub rename to etc/substitutes/hydra.gnu.org.pub diff --git a/gnu/artwork.scm b/gnu/artwork.scm index 92498b8b23..35bfd0f967 100644 --- a/gnu/artwork.scm +++ b/gnu/artwork.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015 Ludovic Courtès +;;; Copyright © 2014, 2015, 2018 Ludovic Courtès ;;; Copyright © 2017 Leo Famulari ;;; ;;; This file is part of GNU Guix. @@ -33,7 +33,7 @@ (origin (method git-fetch) (uri (git-reference - (url "git://git.savannah.gnu.org/guix/guix-artwork.git") + (url "https://git.savannah.gnu.org/git/guix/guix-artwork.git") (commit commit))) (file-name (string-append "guix-artwork-" (string-take commit 7) "-checkout")) diff --git a/gnu/bootloader/extlinux.scm b/gnu/bootloader/extlinux.scm index 8b7a95a6fc..b48596c496 100644 --- a/gnu/bootloader/extlinux.scm +++ b/gnu/bootloader/extlinux.scm @@ -19,12 +19,8 @@ (define-module (gnu bootloader extlinux) #:use-module (gnu bootloader) - #:use-module (gnu system) - #:use-module (gnu build bootloader) #:use-module (gnu packages bootloaders) #:use-module (guix gexp) - #:use-module (guix monads) - #:use-module (guix records) #:use-module (guix utils) #:export (extlinux-bootloader extlinux-bootloader-gpt)) @@ -78,7 +74,7 @@ TIMEOUT ~a~%" (format port "~%")) #~()))))) - (gexp->derivation "extlinux.conf" builder)) + (computed-file "extlinux.conf" builder)) diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index 06856dd58c..161e8b3d02 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -20,26 +20,18 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu bootloader grub) - #:use-module (guix store) - #:use-module (guix packages) - #:use-module (guix derivations) #:use-module (guix records) - #:use-module (guix monads) + #:use-module ((guix utils) #:select (%current-system)) #:use-module (guix gexp) - #:use-module (guix download) #:use-module (gnu artwork) - #:use-module (gnu system) #:use-module (gnu bootloader) #:use-module (gnu system uuid) #:use-module (gnu system file-systems) #:autoload (gnu packages bootloaders) (grub) - #:autoload (gnu packages compression) (gzip) #:autoload (gnu packages gtk) (guile-cairo guile-rsvg) - #:autoload (gnu packages guile) (guile-2.2) #:use-module (ice-9 match) #:use-module (ice-9 regex) #:use-module (srfi srfi-1) - #:use-module (rnrs bytevectors) #:export (grub-image grub-image? grub-image-aspect-ratio @@ -121,14 +113,14 @@ otherwise." (define* (svg->png svg #:key width height) "Build a PNG of HEIGHT x WIDTH from SVG." - (gexp->derivation "grub-image.png" - (with-imported-modules '((gnu build svg)) - (with-extensions (list guile-rsvg guile-cairo) - #~(begin - (use-modules (gnu build svg)) - (svg->png #+svg #$output - #:width #$width - #:height #$height)))))) + (computed-file "grub-image.png" + (with-imported-modules '((gnu build svg)) + (with-extensions (list guile-rsvg guile-cairo) + #~(begin + (use-modules (gnu build svg)) + (svg->png #+svg #$output + #:width #$width + #:height #$height)))))) (define* (grub-background-image config #:key (width 1024) (height 768)) "Return the GRUB background image defined in CONFIG with a ratio of @@ -138,15 +130,13 @@ WIDTH/HEIGHT, or #f if none was found." (= (grub-image-aspect-ratio image) ratio)) (grub-theme-images (bootloader-theme config))))) - (if image - (svg->png (grub-image-file image) - #:width width #:height height) - (with-monad %store-monad - (return #f))))) + (and image + (svg->png (grub-image-file image) + #:width width #:height height)))) (define* (eye-candy config store-device store-mount-point #:key system port) - "Return in %STORE-MONAD a gexp that writes to PORT (a port-valued gexp) the + "Return a gexp that writes to PORT (a port-valued gexp) the 'grub.cfg' part concerned with graphics mode, background images, colors, and all that. STORE-DEVICE designates the device holding the store, and STORE-MOUNT-POINT is its mount point; these are used to determine where the @@ -194,9 +184,11 @@ fi~%" #$font-file) (strip-mount-point store-mount-point (file-append grub "/share/grub/unicode.pf2"))) - (mlet* %store-monad ((image (grub-background-image config))) - (return (and image - #~(format #$port " + (define image + (grub-background-image config)) + + (and image + #~(format #$port " function setup_gfxterm {~a} # Set 'root' to the partition that contains /gnu/store. @@ -213,14 +205,14 @@ else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi~%" - #$setup-gfxterm-body - #$(grub-root-search store-device font-file) - #$(setup-gfxterm config font-file) - #$(grub-setup-io config) + #$setup-gfxterm-body + #$(grub-root-search store-device font-file) + #$(setup-gfxterm config font-file) + #$(grub-setup-io config) - #$(strip-mount-point store-mount-point image) - #$(theme-colors grub-theme-color-normal) - #$(theme-colors grub-theme-color-highlight)))))) + #$(strip-mount-point store-mount-point image) + #$(theme-colors grub-theme-color-normal) + #$(theme-colors grub-theme-color-highlight)))) ;;; @@ -331,36 +323,36 @@ entries corresponding to old generations of the system." #$(grub-root-search device kernel) #$kernel (string-join (list #$@arguments)) #$initrd)))) - (mlet %store-monad ((sugar (eye-candy config - (menu-entry-device - (first all-entries)) - (menu-entry-device-mount-point - (first all-entries)) - #:system system - #:port #~port))) - (define builder - #~(call-with-output-file #$output - (lambda (port) - (format port - "# This file was generated from your GuixSD configuration. Any changes + (define sugar + (eye-candy config + (menu-entry-device (first all-entries)) + (menu-entry-device-mount-point (first all-entries)) + #:system system + #:port #~port)) + + (define builder + #~(call-with-output-file #$output + (lambda (port) + (format port + "# This file was generated from your GuixSD configuration. Any changes # will be lost upon reconfiguration. ") - #$sugar - (format port " + #$sugar + (format port " set default=~a set timeout=~a~%" - #$(bootloader-configuration-default-entry config) - #$(bootloader-configuration-timeout config)) - #$@(map menu-entry->gexp all-entries) + #$(bootloader-configuration-default-entry config) + #$(bootloader-configuration-timeout config)) + #$@(map menu-entry->gexp all-entries) - #$@(if (pair? old-entries) - #~((format port " + #$@(if (pair? old-entries) + #~((format port " submenu \"GNU system, old configurations...\" {~%") - #$@(map menu-entry->gexp old-entries) - (format port "}~%")) - #~())))) + #$@(map menu-entry->gexp old-entries) + (format port "}~%")) + #~())))) - (gexp->derivation "grub.cfg" builder))) + (computed-file "grub.cfg" builder)) diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index 0157fde3da..1c6f322bc4 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm @@ -20,13 +20,8 @@ (define-module (gnu bootloader u-boot) #:use-module (gnu bootloader extlinux) #:use-module (gnu bootloader) - #:use-module (gnu system) - #:use-module (gnu build bootloader) #:use-module (gnu packages bootloaders) #:use-module (guix gexp) - #:use-module (guix monads) - #:use-module (guix records) - #:use-module (guix utils) #:export (u-boot-bootloader u-boot-a20-olinuxino-lime-bootloader u-boot-a20-olinuxino-lime2-bootloader @@ -37,6 +32,7 @@ u-boot-nintendo-nes-classic-edition-bootloader u-boot-novena-bootloader u-boot-pine64-plus-bootloader + u-boot-pinebook-bootloader u-boot-puma-rk3399-bootloader u-boot-wandboard-bootloader)) @@ -173,6 +169,11 @@ (inherit u-boot-allwinner64-bootloader) (package u-boot-pine64-plus))) +(define u-boot-pinebook-bootloader + (bootloader + (inherit u-boot-allwinner64-bootloader) + (package u-boot-pinebook))) + (define u-boot-puma-rk3399-bootloader (bootloader (inherit u-boot-bootloader) diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index 68ecd6bc71..0e77677de1 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -148,11 +148,15 @@ properties. Return #t on success." `("-G" ,(string-join supplementary-groups ",")) '()) ,@(if comment `("-c" ,comment) '()) - ,@(if (and home create-home?) - (if (file-exists? home) - `("-d" ,home) ; avoid warning from 'useradd' - `("-d" ,home "--create-home")) + ,@(if home `("-d" ,home) '()) + + ;; Home directories of non-system accounts are created by + ;; 'activate-user-home'. + ,@(if (and home create-home? system? + (not (file-exists? home))) + '("--create-home") '()) + ,@(if shell `("-s" ,shell) '()) ,@(if password `("-p" ,password) '()) ,@(if system? '("--system") '()) @@ -229,10 +233,7 @@ numeric gid or #f." #:supplementary-groups supplementary-groups #:comment comment #:home home - - ;; Home directories of non-system accounts are created by - ;; 'activate-user-home'. - #:create-home? (and create-home? system?) + #:create-home? create-home? #:shell shell #:password password) diff --git a/gnu/build/install.scm b/gnu/build/install.scm index 5a5e703872..c9ebe124fe 100644 --- a/gnu/build/install.scm +++ b/gnu/build/install.scm @@ -18,7 +18,6 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu build install) - #:use-module (guix store database) #:use-module (guix build utils) #:use-module (guix build store-copy) #:use-module (srfi srfi-26) @@ -27,6 +26,7 @@ evaluate-populate-directive populate-root-file-system register-closure + install-database-and-gc-roots populate-single-profile-directory)) ;;; Commentary: @@ -141,41 +141,53 @@ includes /etc, /var, /run, /bin/sh, etc., and all the symlinks to SYSTEM." (try)) (apply throw args))))))) -(define* (register-closure prefix closure - #:key - (deduplicate? #t) (reset-timestamps? #t) - (schema (sql-schema))) - "Register CLOSURE in PREFIX, where PREFIX is the directory name of the -target store and CLOSURE is the name of a file containing a reference graph as -produced by #:references-graphs.. As a side effect, if RESET-TIMESTAMPS? is -true, reset timestamps on store files and, if DEDUPLICATE? is true, -deduplicates files common to CLOSURE and the rest of PREFIX." - (let ((items (call-with-input-file closure read-reference-graph))) - (register-items items - #:prefix prefix - #:deduplicate? deduplicate? - #:reset-timestamps? reset-timestamps? - #:registration-time %epoch - #:schema schema))) +(define %root-profile + "/var/guix/profiles/per-user/root") + +(define* (install-database-and-gc-roots root database profile + #:key (profile-name "guix-profile")) + "Install DATABASE, the store database, under directory ROOT. Create +PROFILE-NAME and have it link to PROFILE, a store item." + (define (scope file) + (string-append root "/" file)) + + (define (mkdir-p* dir) + (mkdir-p (scope dir))) + + (define (symlink* old new) + (symlink old (scope new))) + + (install-file database (scope "/var/guix/db/")) + (chmod (scope "/var/guix/db/db.sqlite") #o644) + (mkdir-p* "/var/guix/profiles") + (mkdir-p* "/var/guix/gcroots") + (symlink* "/var/guix/profiles" "/var/guix/gcroots/profiles") + + ;; Make root's profile, which makes it a GC root. + (mkdir-p* %root-profile) + (symlink* profile + (string-append %root-profile "/" profile-name "-1-link")) + (symlink* (string-append profile-name "-1-link") + (string-append %root-profile "/" profile-name))) (define* (populate-single-profile-directory directory #:key profile closure - deduplicate? - register? schema) + (profile-name "guix-profile") + database) "Populate DIRECTORY with a store containing PROFILE, whose closure is given in the file called CLOSURE (as generated by #:references-graphs.) DIRECTORY is initialized to contain a single profile under /root pointing to PROFILE. -When REGISTER? is true, initialize DIRECTORY/var/guix/db to reflect the -contents of the store; DEDUPLICATE? determines whether to deduplicate files in -the store. + +When DATABASE is true, copy it to DIRECTORY/var/guix/db and create +DIRECTORY/var/guix/gcroots and friends. + +PROFILE-NAME is the name of the profile being created under +/var/guix/profiles, typically either \"guix-profile\" or \"current-guix\". This is used to create the self-contained tarballs with 'guix pack'." (define (scope file) (string-append directory "/" file)) - (define %root-profile - "/var/guix/profiles/per-user/root") - (define (mkdir-p* dir) (mkdir-p (scope dir))) @@ -185,25 +197,20 @@ This is used to create the self-contained tarballs with 'guix pack'." ;; Populate the store. (populate-store (list closure) directory) - (when register? - (register-closure (canonicalize-path directory) closure - #:deduplicate? deduplicate? - #:schema schema) + (when database + (install-database-and-gc-roots directory database profile + #:profile-name profile-name)) - (mkdir-p* "/var/guix/profiles") - (mkdir-p* "/var/guix/gcroots") - (symlink* "/var/guix/profiles" - "/var/guix/gcroots/profiles")) - - ;; Make root's profile, which makes it a GC root. - (mkdir-p* %root-profile) - (symlink* profile - (string-append %root-profile "/guix-profile-1-link")) - (symlink* (string-append %root-profile "/guix-profile-1-link") - (string-append %root-profile "/guix-profile")) - - (mkdir-p* "/root") - (symlink* (string-append %root-profile "/guix-profile") - "/root/.guix-profile")) + (match profile-name + ("guix-profile" + (mkdir-p* "/root") + (symlink* (string-append %root-profile "/guix-profile") + "/root/.guix-profile")) + ("current-guix" + (mkdir-p* "/root/.config/guix") + (symlink* (string-append %root-profile "/current-guix") + "/root/.config/guix/current")) + (_ + #t))) ;;; install.scm ends here diff --git a/gnu/build/linux-initrd.scm b/gnu/build/linux-initrd.scm index c65b5aacfa..3aaa06d3a0 100644 --- a/gnu/build/linux-initrd.scm +++ b/gnu/build/linux-initrd.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2018 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -72,11 +72,23 @@ COMPRESS? is true, compress it using GZIP. On success, return OUTPUT." #:file->header cpio:file->cpio-header*))) (or (not compress?) - ;; Use '--no-name' so that gzip records neither a file name nor a time - ;; stamp in its output. - (and (zero? (system* gzip "--best" "--no-name" output)) - (rename-file (string-append output ".gz") - output)) + + ;; Gzip insists on adding a '.gz' suffix and does nothing if the input + ;; file already has that suffix. Shuffle files around to placate it. + (let* ((gz-suffix? (string-suffix? ".gz" output)) + (sans-gz (if gz-suffix? + (string-drop-right output 3) + output))) + (when gz-suffix? + (rename-file output sans-gz)) + ;; Use '--no-name' so that gzip records neither a file name nor a time + ;; stamp in its output. + (and (zero? (system* gzip "--best" "--no-name" sans-gz)) + (begin + (unless gz-suffix? + (rename-file (string-append output ".gz") output)) + output))) + output)) (define (cache-compiled-file-name file) @@ -139,6 +151,12 @@ REFERENCES-GRAPHS." (write-cpio-archive output "." #:gzip gzip)) + ;; Make sure directories are writable so we can delete files. + (for-each make-file-writable + (find-files "contents" + (lambda (file stat) + (eq? 'directory (stat:type stat))) + #:directories? #t)) (delete-file-recursively "contents")) ;;; linux-initrd.scm ends here diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 5579886264..83ad489cc7 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -25,7 +25,7 @@ #:use-module (guix build utils) #:use-module (guix build store-copy) #:use-module (guix build syscalls) - #:use-module ((guix store database) #:select (reset-timestamps)) + #:use-module (guix store database) #:use-module (gnu build linux-boot) #:use-module (gnu build install) #:use-module (gnu system uuid) @@ -191,6 +191,23 @@ the #:references-graphs parameter of 'derivation'." (mkdir output) (copy-recursively "xchg" output))))) +(define* (register-closure prefix closure + #:key + (deduplicate? #t) (reset-timestamps? #t) + (schema (sql-schema))) + "Register CLOSURE in PREFIX, where PREFIX is the directory name of the +target store and CLOSURE is the name of a file containing a reference graph as +produced by #:references-graphs.. As a side effect, if RESET-TIMESTAMPS? is +true, reset timestamps on store files and, if DEDUPLICATE? is true, +deduplicates files common to CLOSURE and the rest of PREFIX." + (let ((items (call-with-input-file closure read-reference-graph))) + (register-items items + #:prefix prefix + #:deduplicate? deduplicate? + #:reset-timestamps? reset-timestamps? + #:registration-time %epoch + #:schema schema))) + ;;; ;;; Partitions. @@ -460,6 +477,11 @@ GRUB configuration and OS-DRV as the stuff in it." "mnt=/tmp/root/mnt" "-path-list" "-" "--" + + ;; XXX: Add padding to avoid I/O errors on i686: + ;; . + "-padding" "10m" + "-volid" (string-upcase volume-id) (if volume-uuid `("-volume_date" "uuid" diff --git a/gnu/local.mk b/gnu/local.mk index 773d55ff18..0c324cd7d6 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -19,6 +19,7 @@ # Copyright © 2018 Amirouche Boubekki # Copyright © 2018 Oleg Pykhalov # Copyright © 2018 Stefan Stefanović +# Copyright © 2018 Maxim Cournoyer # # This file is part of GNU Guix. # @@ -60,6 +61,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/android.scm \ %D%/packages/animation.scm \ %D%/packages/anthy.scm \ + %D%/packages/antivirus.scm \ %D%/packages/apl.scm \ %D%/packages/apr.scm \ %D%/packages/aspell.scm \ @@ -99,6 +101,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/chez.scm \ %D%/packages/ci.scm \ %D%/packages/cinnamon.scm \ + %D%/packages/clojure.scm \ %D%/packages/cluster.scm \ %D%/packages/cmake.scm \ %D%/packages/cobol.scm \ @@ -143,6 +146,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/documentation.scm \ %D%/packages/dunst.scm \ %D%/packages/dvtm.scm \ + %D%/packages/easyrpg.scm \ %D%/packages/ebook.scm \ %D%/packages/ed.scm \ %D%/packages/education.scm \ @@ -234,6 +238,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/imagemagick.scm \ %D%/packages/inklingreader.scm \ %D%/packages/inkscape.scm \ + %D%/packages/ipfs.scm \ %D%/packages/irc.scm \ %D%/packages/iso-codes.scm \ %D%/packages/java.scm \ @@ -344,6 +349,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/perl-check.scm \ %D%/packages/perl-web.scm \ %D%/packages/photo.scm \ + %D%/packages/phabricator.scm \ %D%/packages/php.scm \ %D%/packages/pkg-config.scm \ %D%/packages/plotutils.scm \ @@ -570,6 +576,7 @@ dist_patch_DATA = \ %D%/packages/patches/aegis-test-fixup-1.patch \ %D%/packages/patches/aegis-test-fixup-2.patch \ %D%/packages/patches/aegisub-icu59-include-unistr.patch \ + %D%/packages/patches/aegisub-boost68.patch \ %D%/packages/patches/agg-am_c_prototype.patch \ %D%/packages/patches/amule-crypto-6.patch \ %D%/packages/patches/ansible-wrap-program-hack.patch \ @@ -594,25 +601,30 @@ dist_patch_DATA = \ %D%/packages/patches/bash-completion-directories.patch \ %D%/packages/patches/bastet-change-source-of-unordered_set.patch \ %D%/packages/patches/bazaar-CVE-2017-14176.patch \ + %D%/packages/patches/beets-python-3.7-fix.patch \ %D%/packages/patches/beignet-correct-file-names.patch \ %D%/packages/patches/binutils-boot-2.20.1a.patch \ %D%/packages/patches/binutils-loongson-workaround.patch \ %D%/packages/patches/blast+-fix-makefile.patch \ + %D%/packages/patches/blender-newer-ffmpeg.patch \ %D%/packages/patches/boost-fix-icu-build.patch \ - %D%/packages/patches/borg-respect-storage-quota.patch \ %D%/packages/patches/byobu-writable-status.patch \ %D%/packages/patches/cairo-CVE-2016-9082.patch \ %D%/packages/patches/cairo-setjmp-wrapper.patch \ %D%/packages/patches/calibre-no-updates-dialog.patch \ %D%/packages/patches/calibre-use-packaged-feedparser.patch \ + %D%/packages/patches/casync-renameat2-declaration.patch \ %D%/packages/patches/catdoc-CVE-2017-11110.patch \ %D%/packages/patches/cdparanoia-fpic.patch \ %D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \ + %D%/packages/patches/ceph-detect-rocksdb.patch \ %D%/packages/patches/ceph-disable-cpu-optimizations.patch \ - %D%/packages/patches/ceph-rocksdb-compat.patch \ %D%/packages/patches/ceph-skip-collect-sys-info-test.patch \ %D%/packages/patches/ceph-skip-unittest_blockdev.patch \ + %D%/packages/patches/ceph-volume-respect-PATH.patch \ %D%/packages/patches/chmlib-inttypes.patch \ + %D%/packages/patches/clamav-config-llvm-libs.patch \ + %D%/packages/patches/clamav-system-tomsfastmath.patch \ %D%/packages/patches/clang-3.5-libc-search-path.patch \ %D%/packages/patches/clang-3.5-libsanitizer-ustat-fix.patch \ %D%/packages/patches/clang-3.8-libc-search-path.patch \ @@ -636,7 +648,6 @@ dist_patch_DATA = \ %D%/packages/patches/cracklib-fix-buffer-overflow.patch \ %D%/packages/patches/crawl-upgrade-saves.patch \ %D%/packages/patches/crda-optional-gcrypt.patch \ - %D%/packages/patches/crossmap-allow-system-pysam.patch \ %D%/packages/patches/clucene-contribs-lib.patch \ %D%/packages/patches/cube-nocheck.patch \ %D%/packages/patches/cursynth-wave-rand.patch \ @@ -645,7 +656,6 @@ dist_patch_DATA = \ %D%/packages/patches/datamash-arm-tests.patch \ %D%/packages/patches/dbus-helper-search-path.patch \ %D%/packages/patches/deja-dup-use-ref-keyword-for-iter.patch \ - %D%/packages/patches/delly-use-system-libraries.patch \ %D%/packages/patches/dfu-programmer-fix-libusb.patch \ %D%/packages/patches/diffutils-gets-undeclared.patch \ %D%/packages/patches/diffutils-getopt.patch \ @@ -657,14 +667,15 @@ dist_patch_DATA = \ %D%/packages/patches/dropbear-CVE-2018-15599.patch \ %D%/packages/patches/dvd+rw-tools-add-include.patch \ %D%/packages/patches/elfutils-tests-ptrace.patch \ - %D%/packages/patches/elogind-glibc-2.27.patch \ %D%/packages/patches/einstein-build.patch \ %D%/packages/patches/emacs-exec-path.patch \ %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ %D%/packages/patches/emacs-json-reformat-fix-tests.patch \ %D%/packages/patches/emacs-highlight-stages-add-gexp.patch \ + %D%/packages/patches/emacs-pdf-tools-poppler.patch \ %D%/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch \ %D%/packages/patches/emacs-source-date-epoch.patch \ + %D%/packages/patches/emacs-realgud-fix-configure-ac.patch \ %D%/packages/patches/enlightenment-fix-setuid-path.patch \ %D%/packages/patches/erlang-man-path.patch \ %D%/packages/patches/eudev-rules-directory.patch \ @@ -706,7 +717,6 @@ dist_patch_DATA = \ %D%/packages/patches/gcc-4.8-libsanitizer-fix.patch \ %D%/packages/patches/gcc-4.9-libsanitizer-fix.patch \ %D%/packages/patches/gcc-4.9-libsanitizer-ustat.patch \ - %D%/packages/patches/gcc-libsanitizer-fix.patch \ %D%/packages/patches/gcc-libsanitizer-ustat.patch \ %D%/packages/patches/gcc-libvtv-runpath.patch \ %D%/packages/patches/gcc-strmov-store-file-names.patch \ @@ -728,10 +738,10 @@ dist_patch_DATA = \ %D%/packages/patches/gd-fix-tests-on-i686.patch \ %D%/packages/patches/gd-freetype-test-failure.patch \ %D%/packages/patches/gdm-CVE-2018-14424.patch \ - %D%/packages/patches/gemma-intel-compat.patch \ %D%/packages/patches/geoclue-config.patch \ %D%/packages/patches/ghc-8.0-fall-back-to-madv_dontneed.patch \ %D%/packages/patches/ghc-dont-pass-linker-flags-via-response-files.patch \ + %D%/packages/patches/ghc-haddock-library-unbundle.patch \ %D%/packages/patches/ghostscript-CVE-2018-16509.patch \ %D%/packages/patches/ghostscript-bug-699708.patch \ %D%/packages/patches/ghostscript-no-header-id.patch \ @@ -803,7 +813,6 @@ dist_patch_DATA = \ %D%/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch \ %D%/packages/patches/gtkglext-disable-disable-deprecated.patch \ %D%/packages/patches/gzdoom-search-in-installed-share.patch \ - %D%/packages/patches/handbrake-pkg-config-path.patch \ %D%/packages/patches/haskell-mode-unused-variables.patch \ %D%/packages/patches/haskell-mode-make-check.patch \ %D%/packages/patches/hdf4-architectures.patch \ @@ -820,9 +829,9 @@ dist_patch_DATA = \ %D%/packages/patches/higan-remove-march-native-flag.patch \ %D%/packages/patches/hubbub-sort-entities.patch \ %D%/packages/patches/hurd-fix-eth-multiplexer-dependency.patch \ + %D%/packages/patches/hplip-remove-imageprocessor.patch \ %D%/packages/patches/hydra-disable-darcs-test.patch \ %D%/packages/patches/icecat-avoid-bundled-libraries.patch \ - %D%/packages/patches/icecat-CVE-2018-12383.patch \ %D%/packages/patches/icecat-use-system-graphite2+harfbuzz.patch \ %D%/packages/patches/icecat-use-system-media-libs.patch \ %D%/packages/patches/icedtea-6-hotspot-gcc-segfault-workaround.patch \ @@ -844,7 +853,6 @@ dist_patch_DATA = \ %D%/packages/patches/java-xerces-xjavac_taskdef.patch \ %D%/packages/patches/jbig2dec-ignore-testtest.patch \ %D%/packages/patches/json-glib-fix-tests-32bit.patch \ - %D%/packages/patches/jq-CVE-2015-8863.patch \ %D%/packages/patches/kdbusaddons-kinit-file-name.patch \ %D%/packages/patches/khmer-use-libraries.patch \ %D%/packages/patches/libziparchive-add-includes.patch \ @@ -887,6 +895,7 @@ dist_patch_DATA = \ %D%/packages/patches/libexif-CVE-2016-6328.patch \ %D%/packages/patches/libexif-CVE-2017-7544.patch \ %D%/packages/patches/libgit2-mtime-0.patch \ + %D%/packages/patches/libgit2-oom-test.patch \ %D%/packages/patches/libgdata-fix-tests.patch \ %D%/packages/patches/libgdata-glib-duplicate-tests.patch \ %D%/packages/patches/libgnome-encoding.patch \ @@ -894,8 +903,8 @@ dist_patch_DATA = \ %D%/packages/patches/libffi-3.2.1-complex-alpha.patch \ %D%/packages/patches/libjxr-fix-function-signature.patch \ %D%/packages/patches/libjxr-fix-typos.patch \ + %D%/packages/patches/libopenshot-tests-with-system-libs.patch \ %D%/packages/patches/libotr-test-auth-fix.patch \ - %D%/packages/patches/liblxqt-include.patch \ %D%/packages/patches/libmad-armv7-thumb-pt1.patch \ %D%/packages/patches/libmad-armv7-thumb-pt2.patch \ %D%/packages/patches/libmad-frame-length.patch \ @@ -933,6 +942,7 @@ dist_patch_DATA = \ %D%/packages/patches/lierolibre-try-building-other-arch.patch \ %D%/packages/patches/linux-pam-no-setfsuid.patch \ %D%/packages/patches/lirc-localstatedir.patch \ + %D%/packages/patches/lirc-reproducible-build.patch \ %D%/packages/patches/llvm-3.5-fix-clang-build-with-gcc5.patch \ %D%/packages/patches/llvm-for-extempore.patch \ %D%/packages/patches/lm-sensors-hwmon-attrs.patch \ @@ -948,7 +958,6 @@ dist_patch_DATA = \ %D%/packages/patches/lvm2-static-link.patch \ %D%/packages/patches/lxsession-use-gapplication.patch \ %D%/packages/patches/lyx-2.2.3-fix-test.patch \ - %D%/packages/patches/mailutils-uninitialized-memory.patch \ %D%/packages/patches/make-glibc-compat.patch \ %D%/packages/patches/make-impure-dirs.patch \ %D%/packages/patches/mariadb-client-test-32bit.patch \ @@ -961,6 +970,7 @@ dist_patch_DATA = \ %D%/packages/patches/mcrypt-CVE-2012-4409.patch \ %D%/packages/patches/mcrypt-CVE-2012-4426.patch \ %D%/packages/patches/mcrypt-CVE-2012-4527.patch \ + %D%/packages/patches/meandmyshadow-define-paths-earlier.patch \ %D%/packages/patches/mesa-skip-disk-cache-test.patch \ %D%/packages/patches/mescc-tools-boot.patch \ %D%/packages/patches/meson-for-build-rpath.patch \ @@ -971,6 +981,7 @@ dist_patch_DATA = \ %D%/packages/patches/module-init-tools-moduledir.patch \ %D%/packages/patches/monero-use-system-miniupnpc.patch \ %D%/packages/patches/mongodb-support-unknown-linux-distributions.patch \ + %D%/packages/patches/mono-mdoc-timestamping.patch \ %D%/packages/patches/mozjs17-aarch64-support.patch \ %D%/packages/patches/mozjs24-aarch64-support.patch \ %D%/packages/patches/mozjs38-pkg-config-version.patch \ @@ -983,7 +994,6 @@ dist_patch_DATA = \ %D%/packages/patches/mupen64plus-ui-console-notice.patch \ %D%/packages/patches/mupen64plus-video-z64-glew-correct-path.patch \ %D%/packages/patches/mutt-store-references.patch \ - %D%/packages/patches/myrepos-CVE-2018-7032.patch \ %D%/packages/patches/m4-gnulib-libio.patch \ %D%/packages/patches/net-tools-bitrot.patch \ %D%/packages/patches/netcdf-date-time.patch \ @@ -1014,6 +1024,7 @@ dist_patch_DATA = \ %D%/packages/patches/openbabel-fix-crash-on-nwchem-output.patch \ %D%/packages/patches/opencascade-oce-glibc-2.26.patch \ %D%/packages/patches/openfoam-4.1-cleanup.patch \ + %D%/packages/patches/openjdk-10-idlj-reproducibility.patch \ %D%/packages/patches/openldap-CVE-2017-9287.patch \ %D%/packages/patches/openocd-nrf52.patch \ %D%/packages/patches/opensmtpd-fix-crash.patch \ @@ -1030,7 +1041,7 @@ dist_patch_DATA = \ %D%/packages/patches/parted-glibc-compat.patch \ %D%/packages/patches/patchelf-page-size.patch \ %D%/packages/patches/patchelf-rework-for-arm.patch \ - %D%/packages/patches/patchutils-xfail-gendiff-tests.patch \ + %D%/packages/patches/patchutils-test-perms.patch \ %D%/packages/patches/patch-hurd-path-max.patch \ %D%/packages/patches/perl-autosplit-default-time.patch \ %D%/packages/patches/perl-deterministic-ordering.patch \ @@ -1050,12 +1061,16 @@ dist_patch_DATA = \ %D%/packages/patches/pinball-missing-separators.patch \ %D%/packages/patches/pinball-src-deps.patch \ %D%/packages/patches/pinball-system-ltdl.patch \ + %D%/packages/patches/pinentry-efl.patch \ %D%/packages/patches/pingus-sdl-libs-config.patch \ %D%/packages/patches/pius.patch \ %D%/packages/patches/pixman-CVE-2016-5296.patch \ %D%/packages/patches/plink-1.07-unclobber-i.patch \ %D%/packages/patches/plink-endian-detection.patch \ %D%/packages/patches/plotutils-libpng-jmpbuf.patch \ + %D%/packages/patches/podofo-cmake-3.12.patch \ + %D%/packages/patches/polkit-CVE-2018-19788.patch \ + %D%/packages/patches/poppler-CVE-2018-19149.patch \ %D%/packages/patches/portaudio-audacity-compat.patch \ %D%/packages/patches/portmidi-modular-build.patch \ %D%/packages/patches/potrace-tests.patch \ @@ -1086,16 +1101,14 @@ dist_patch_DATA = \ %D%/packages/patches/python-CVE-2018-14647.patch \ %D%/packages/patches/python-axolotl-AES-fix.patch \ %D%/packages/patches/python-cairocffi-dlopen-path.patch \ + %D%/packages/patches/python-cffi-x87-stack-clean.patch \ %D%/packages/patches/python-fix-tests.patch \ %D%/packages/patches/python2-larch-coverage-4.0a6-compatibility.patch \ - %D%/packages/patches/python-networkx2-reproducible-build.patch \ %D%/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \ - %D%/packages/patches/python-scikit-learn-fix-test-non-determinism.patch \ %D%/packages/patches/python-configobj-setuptools.patch \ %D%/packages/patches/python-faker-fix-build-32bit.patch \ %D%/packages/patches/python-mox3-python3.6-compat.patch \ %D%/packages/patches/python-testtools.patch \ - %D%/packages/patches/python-paste-remove-website-test.patch \ %D%/packages/patches/python-paste-remove-timing-test.patch \ %D%/packages/patches/python-pycrypto-CVE-2013-7459.patch \ %D%/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \ @@ -1105,16 +1118,19 @@ dist_patch_DATA = \ %D%/packages/patches/python-unittest2-remove-argparse.patch \ %D%/packages/patches/python-waitress-fix-tests.patch \ %D%/packages/patches/qemu-glibc-2.27.patch \ + %D%/packages/patches/qemu-CVE-2018-16847.patch \ + %D%/packages/patches/qemu-CVE-2018-16867.patch \ %D%/packages/patches/qt4-ldflags.patch \ - %D%/packages/patches/qtbase-glibc-compat.patch \ %D%/packages/patches/qtbase-use-TZDIR.patch \ %D%/packages/patches/qtscript-disable-tests.patch \ + %D%/packages/patches/qt-5-renameat2.patch \ %D%/packages/patches/quagga-reproducible-build.patch \ %D%/packages/patches/quickswitch-fix-dmenu-check.patch \ %D%/packages/patches/quilt-test-fix-regex.patch \ - %D%/packages/patches/quilt-compat-getopt-fix-second-separator.patch \ - %D%/packages/patches/quilt-compat-getopt-fix-option-with-nondigit-param.patch \ + %D%/packages/patches/quilt-getopt-nondigit-param.patch \ + %D%/packages/patches/quilt-getopt-second-separator.patch \ %D%/packages/patches/qtwebkit-pbutils-include.patch \ + %D%/packages/patches/randomjungle-disable-static-build.patch \ %D%/packages/patches/rapicorn-isnan.patch \ %D%/packages/patches/raptor2-heap-overflow.patch \ %D%/packages/patches/ratpoison-shell.patch \ @@ -1138,12 +1154,14 @@ dist_patch_DATA = \ %D%/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch \ %D%/packages/patches/rust-bootstrap-stage0-test.patch \ %D%/packages/patches/rust-coresimd-doctest.patch \ + %D%/packages/patches/rust-reproducible-builds.patch \ %D%/packages/patches/rxvt-unicode-escape-sequences.patch \ %D%/packages/patches/scheme48-tests.patch \ %D%/packages/patches/scotch-test-threading.patch \ %D%/packages/patches/scotch-build-parallelism.patch \ %D%/packages/patches/scotch-graph-diam-64.patch \ %D%/packages/patches/scotch-graph-induce-type-64.patch \ + %D%/packages/patches/scribus-poppler.patch \ %D%/packages/patches/sdl-libx11-1.6.patch \ %D%/packages/patches/seq24-rename-mutex.patch \ %D%/packages/patches/sharutils-CVE-2018-1000097.patch \ @@ -1177,6 +1195,7 @@ dist_patch_DATA = \ %D%/packages/patches/teeworlds-use-latest-wavpack.patch \ %D%/packages/patches/texinfo-perl-compat.patch \ %D%/packages/patches/texinfo-5-perl-compat.patch \ + %D%/packages/patches/telegram-purple-adjust-test.patch \ %D%/packages/patches/texi2html-document-encoding.patch \ %D%/packages/patches/texi2html-i18n.patch \ %D%/packages/patches/thefuck-test-environ.patch \ @@ -1187,10 +1206,16 @@ dist_patch_DATA = \ %D%/packages/patches/tk-find-library.patch \ %D%/packages/patches/ttf2eot-cstddef.patch \ %D%/packages/patches/ttfautohint-source-date-epoch.patch \ - %D%/packages/patches/tophat-build-with-later-seqan.patch \ + %D%/packages/patches/tomsfastmath-constness.patch \ %D%/packages/patches/totem-meson-easy-codec.patch \ %D%/packages/patches/tuxpaint-stamps-path.patch \ %D%/packages/patches/twinkle-include-qregexpvalidator.patch \ + %D%/packages/patches/u-boot-pinebook-a64-update-dts.patch \ + %D%/packages/patches/u-boot-pinebook-mmc-calibration.patch \ + %D%/packages/patches/u-boot-pinebook-r_i2c-controller.patch \ + %D%/packages/patches/u-boot-pinebook-dts.patch \ + %D%/packages/patches/u-boot-pinebook-syscon-node.patch \ + %D%/packages/patches/u-boot-pinebook-video-bridge.patch \ %D%/packages/patches/unrtf-CVE-2016-10091.patch \ %D%/packages/patches/unzip-CVE-2014-8139.patch \ %D%/packages/patches/unzip-CVE-2014-8140.patch \ @@ -1240,9 +1265,8 @@ dist_patch_DATA = \ %D%/packages/patches/wpa-supplicant-fix-zeroed-keys.patch \ %D%/packages/patches/wpa-supplicant-fix-nonce-reuse.patch \ %D%/packages/patches/wpa-supplicant-krack-followups.patch \ - %D%/packages/patches/wxmaxima-do-not-use-old-gnuplot-parameters.patch \ + %D%/packages/patches/x265-arm-flags.patch \ %D%/packages/patches/x265-detect512-all-arches.patch \ - %D%/packages/patches/xapian-revert-5489fb2f8.patch \ %D%/packages/patches/xboing-CVE-2004-0149.patch \ %D%/packages/patches/xf86-video-ark-remove-mibstore.patch \ %D%/packages/patches/xf86-video-geode-glibc-2.20.patch \ @@ -1258,7 +1282,6 @@ dist_patch_DATA = \ %D%/packages/patches/xinetd-fix-fd-leak.patch \ %D%/packages/patches/xinetd-CVE-2013-4342.patch \ %D%/packages/patches/xmodmap-asprintf.patch \ - %D%/packages/patches/zathura-pdf-mupdf-link-to-jpeg-libraries.patch \ %D%/packages/patches/zathura-plugindir-environment-variable.patch MISC_DISTRO_FILES = \ diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index fa60cadd01..01a58763d8 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016, 2017 Ricardo Wurmus -;;; Copyright © 2016, 2017 Efraim Flashner +;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 Peter Feigl ;;; Copyright © 2016 John J. Foerch ;;; Copyright © 2016, 2017 Nils Gillmann @@ -45,6 +45,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cmake) + #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) @@ -125,7 +126,9 @@ `(("libgcrypt" ,libgcrypt) ("libgpg-error" ,libgpg-error) ("libmhash" ,libmhash) + ("pcre:static" ,pcre "static") ("pcre" ,pcre) + ("zlib:static" ,zlib "static") ("zlib" ,zlib))) (synopsis "File and directory integrity checker") (description @@ -225,13 +228,15 @@ interface and is based on GNU Guile.") (modify-phases %standard-phases (add-after 'unpack 'chdir (lambda _ - (chdir ,(string-append name "-" version)))) + (chdir ,(string-append name "-" version)) + #t)) (delete 'configure) (add-before 'build 'patch (lambda _ (substitute* "src/error.h" (("extern int errno;") - "#include ")))) + "#include ")) + #t)) (replace 'build (lambda _ (invoke "package/compile"))) @@ -241,7 +246,8 @@ interface and is based on GNU Guile.") (bin (string-append out "/bin"))) (for-each (lambda (file) (install-file file bin)) - (find-files "command")))))))) + (find-files "command"))) + #t))))) (synopsis "Tools for managing UNIX style services") (description "@code{daemontools} is a collection of tools for managing UNIX @@ -963,7 +969,7 @@ at once based on a Perl regular expression.") #t)) (add-after 'install 'install-info (lambda _ - (zero? (system* "make" "install-info"))))))) + (invoke "make" "install-info")))))) (native-inputs `(("texinfo" ,texinfo) ("util-linux" ,util-linux))) ; for 'cal' (home-page "https://www.gnu.org/software/rottlog/") @@ -979,7 +985,7 @@ system administrator.") (define-public sudo (package (name "sudo") - (version "1.8.25p1") + (version "1.8.26") (source (origin (method url-fetch) (uri @@ -989,7 +995,7 @@ system administrator.") version ".tar.gz"))) (sha256 (base32 - "0nqri46d4dpycj96zin2f2wszmhm7q9mr68hhj9sp81pgmx9rjcx")) + "1qpyyfga8rs02p3186sns8qvh2bzwa48ka845nrcqh83dyd23nj0")) (modules '((guix build utils))) (snippet '(begin @@ -1094,7 +1100,8 @@ commands and their arguments.") CFLAGS += $(shell pkg-config libnl-3.0 --cflags) CONFIG_LIBNL32=y CONFIG_READLINE=y\n" port) - (close-port port)))) + (close-port port)) + #t)) (add-after 'install 'install-man-pages (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -1233,11 +1240,10 @@ This package provides the 'wpa_supplicant' daemon and the 'wpa_cli' command.") ;; It's an old configure script that doesn't understand ;; the extra options we pass. (setenv "CONFIG_SHELL" (which "bash")) - (zero? - (system* "./configure" - (string-append "--prefix=" out) - (string-append "--mandir=" out - "/share/man"))))))) + (invoke "./configure" + (string-append "--prefix=" out) + (string-append "--mandir=" out + "/share/man")))))) #:tests? #f)) (home-page "https://www.kernel.org") ; really, no home page (synopsis "Send a wake-on-LAN packet") @@ -1339,25 +1345,30 @@ system is under heavy load.") (define-public detox (package (name "detox") - (version "1.2.0") + (version "1.3.0") (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/detox/detox/" version - "/detox-" version ".tar.bz2")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dharple/detox.git") + (commit (string-append "v" version)))) (sha256 (base32 - "1y6vvjqsg54kl49cry73jbfhr04s7wjs779vrr9zrq6kww7dkymb")))) + "1dd608c7g65s5lj02cddvani3q9kzirddgkjqa22ap9d4f8b9xgr")))) (build-system gnu-build-system) - ;; Both flex and popt are used in this case for their runtime libraries - ;; (libfl and libpopt). - (inputs - `(("flex" ,flex) - ("popt" ,popt))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("flex" ,flex))) (arguments - `(#:configure-flags `(,(string-append "--with-popt=" - (assoc-ref %build-inputs "popt"))) - #:tests? #f)) ;no 'check' target - (home-page "http://detox.sourceforge.net") + `(#:tests? #f ;no 'check' target + #:phases (modify-phases %standard-phases + (add-after 'unpack 'delete-configure + ;; The "configure" script is present, but otherwise the + ;; project is not bootstrapped: missing install-sh and + ;; Makefile.in, so delete it so the bootstrap phase will + ;; take over. + (lambda _ (delete-file "configure") #t))))) + (home-page "https://github.com/dharple/detox") (synopsis "Clean up file names") (description "Detox is a program that renames files to make them easier to work with @@ -1589,14 +1600,14 @@ of supported upstream metrics systems simultaneously.") (define-public ansible (package (name "ansible") - (version "2.5.7") + (version "2.7.4") (source (origin (method url-fetch) (uri (pypi-uri "ansible" version)) (sha256 (base32 - "0wbsjjx3xjlm8g50a9j9c6p9rn23jx32yn1234bf5rmj1qgy3p85")) + "0p1n6yyc632522fl2r247p0jg4mncc7z4hqngzbh1zxq3dcb12s9")) (patches (search-patches "ansible-wrap-program-hack.patch")))) (build-system python-build-system) (native-inputs @@ -1622,6 +1633,34 @@ ad hoc task execution, and multinode orchestration---including trivializing things like zero-downtime rolling updates with load balancers.") (license license:gpl3+))) +(define-public emacs-ansible-doc + (let ((commit "86083a7bb2ed0468ca64e52076b06441a2f8e9e0")) + (package + (name "emacs-ansible-doc") + (version (git-version "0.4" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lunaryorn/ansible-doc.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lap404ch74w99n3xip176jr42b38xhyzkfnkyqg0g3wk2cd3aq8")))) + (build-system emacs-build-system) + ;; Unmaintained by upstream. + (home-page "https://github.com/lunaryorn/ansible-doc.el") + (synopsis "Ansible documentation for Emacs") + (description + "This package provides an Ansible documentation for GNU Emacs. + +@code{ansible-doc} allows you to view the documentation of an Ansible +module and @code{ansible-doc-mode} minor mode adds documentation +lookup to YAML Mode. You could enable the mode with @code{(add-hook +'yaml-mode-hook #'ansible-doc-mode)}.") + (license license:gpl3+)))) + (define-public cpulimit (package (name "cpulimit") @@ -1639,20 +1678,18 @@ things like zero-downtime rolling updates with load balancers.") (arguments `(#:phases (modify-phases %standard-phases (delete 'configure) - (replace - 'build - (lambda _ - (zero? (system* "make" "CC=gcc" "-Csrc")))) - (replace - 'check - (lambda _ - (zero? (system* "make" "CC=gcc" "-Ctests")))) - (replace - 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (install-file "src/cpulimit" bin))))))) + (replace 'build + (lambda _ + (invoke "make" "CC=gcc" "-Csrc"))) + (replace 'check + (lambda _ + (invoke "make" "CC=gcc" "-Ctests"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "src/cpulimit" bin)) + #t))))) (home-page "https://github.com/opsengine/cpulimit") (synopsis "Limit CPU usage") (description @@ -1861,10 +1898,9 @@ done with the @code{auditctl} utility.") (replace 'install (lambda* (#:key outputs #:allow-other-keys) (define (make out . args) - (unless (zero? (apply system* "make" - (string-append "prefix=" out) - args)) - (error "make failed"))) + (apply invoke "make" + (string-append "prefix=" out) + args)) (define (python-path dir) (string-append dir "/lib/python2.7/site-packages")) (let ((out (assoc-ref outputs "out")) @@ -1878,13 +1914,14 @@ done with the @code{auditctl} utility.") (make ndiff "install-ndiff") (wrap-program (string-append ndiff "/bin/ndiff") `("PYTHONPATH" prefix - (,(python-path ndiff))))))) + (,(python-path ndiff))))) + #t)) ;; These are the tests that do not require network access. (replace 'check - (lambda _ (zero? (system* "make" - "check-nse" - "check-ndiff" - "check-dns"))))) + (lambda _ (invoke "make" + "check-nse" + "check-ndiff" + "check-dns")))) ;; Nmap can't cope with out-of-source building. #:out-of-source? #f)) (home-page "https://nmap.org/") @@ -2190,15 +2227,15 @@ Kerberos and Heimdal and FAST is supported with recent MIT Kerberos.") #t)) (replace 'build (lambda* (#:key make-flags #:allow-other-keys) - (zero? (apply system* "make" "tools" "misc" make-flags)))) + (apply invoke "make" "tools" "misc" make-flags))) (add-after 'build 'build-armhf (lambda* (#:key make-flags #:allow-other-keys) (setenv "LIBRARY_PATH" #f) - (zero? (apply system* "make" "target-tools" make-flags)))) + (apply invoke "make" "target-tools" make-flags))) (replace 'install (lambda* (#:key make-flags #:allow-other-keys) - (zero? (apply system* "make" "install-all" "install-misc" - make-flags))))))) + (apply invoke "make" "install-all" "install-misc" + make-flags)))))) (home-page "https://github.com/linux-sunxi/sunxi-tools") (synopsis "Hardware management tools for Allwinner computers") (description "This package contains tools for Allwinner devices: @@ -2452,26 +2489,20 @@ make it a perfect utility on modern distros.") (version "1.7.2") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/01org/thermal_daemon/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 (base32 - "15a6vb67y5wsmf0irrq7sxam18yqpz64130k83ryf24mp40h661b")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/01org/thermal_daemon") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1cs2pq8xvfnsvrhg2bxawk4kn3z1qmfrnpnhs178pvfbglzh15hc")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'bootstrap - (lambda _ - (invoke "sh" "autogen.sh") - #t))) - #:configure-flags + `(#:configure-flags (let ((out (assoc-ref %outputs "out"))) (list (string-append "--sysconfdir=" out "/etc") - (string-append "--with-udev-dir=" - out "/lib/udev") (string-append "--with-dbus-sys-dir=" out "/etc/dbus-1/system.d") "--localstatedir=/var")))) @@ -2843,3 +2874,82 @@ support forum. It runs with the @code{/exec} command in most IRC clients.") (description "This package provides tools to manage clients of the Logitech Unifying Receiver.") (license license:gpl2))) + +(define-public lynis + (package + (name "lynis") + (version "2.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/CISOfy/lynis") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rzc0y8lk22bymf56249jzmllki2lh0rz5in4lkrc5fkmp29c2wv")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove proprietary plugins. As of now, all plugins supplied with + ;; lynis are proprietary. In the future, if free plugins are + ;; provided, whitelist them from deletion. + (for-each delete-file (find-files "plugins")) + #t)))) + (build-system gnu-build-system) + (native-inputs + `(;; For tests + ("lynis-sdk" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/CISOfy/lynis-sdk") + (commit "3310aef4f2b3dd97d166c96ad0253c89c4ad390d"))) + (file-name (git-file-name "lynis-sdk" version)) + (sha256 + (base32 + "0sqsrm5wal742yrwps8bqb8a8lxd93n4b93n3kkm1b30nbs25g7y")))))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "lynis" + (("/usr/share/lynis") + (string-append (assoc-ref outputs "out") "/share/lynis"))) + (substitute* "include/functions" + (("/usr/local/etc/lynis") + (string-append (assoc-ref outputs "out") "/etc/lynis"))) + #t)) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "lynis" (string-append out "/bin/")) + (install-file "default.prf" (string-append out "/etc/lynis")) + (for-each + (lambda (dir) + (copy-recursively dir (string-append out "/share/lynis/" dir))) + (list "db" "include" "plugins")) + (install-file "lynis.8" (string-append out "/share/man/man8")) + #t))) + (replace 'check + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "lynis-sdk") "../lynis-sdk") + (setenv "LANG" "en_US.UTF-8") + (let ((lynis-dir (getcwd))) + (with-directory-excursion "../lynis-sdk" + (substitute* "config" + (("\\.\\./lynis") lynis-dir)) + (substitute* "unit-tests/tests-language-translations.sh" + (("\\.\\./lynis") lynis-dir)) + (invoke "sh" "lynis-devkit" "run" "unit-tests")))))))) + (home-page "https://cisofy.com/lynis/") + (synopsis "Security auditing tool") + (description "Lynis is a security auditing tool. It performs an in-depth +security scan and runs on the system itself. The primary goal is to test +security defenses and provide tips for further system hardening. It will also +scan for general system information, vulnerable software packages, and +possible configuration issues.") + (license license:gpl3+))) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 45a3da1713..0f19649917 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Andreas Enge +;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Andreas Enge ;;; Copyright © 2013, 2015, 2017, 2018 Ludovic Courtès ;;; Copyright © 2016, 2017, 2018 Nicolas Goaziou ;;; Copyright © 2014, 2018 Mark H Weaver @@ -139,7 +139,7 @@ solve the shortest vector problem.") (define-public pari-gp (package (name "pari-gp") - (version "2.11.0") + (version "2.11.1") (source (origin (method url-fetch) (uri (string-append @@ -147,7 +147,7 @@ solve the shortest vector problem.") version ".tar.gz")) (sha256 (base32 - "18f9yj8ffn3dxignbxj1x36771zbxy4js0r18mv6831ymb6cld9q")))) + "1jfax92jpydjd02fwl30r6b8kfzqqd6sm4yx94gidyz9lqjb7a94")))) (build-system gnu-build-system) (native-inputs `(("texlive" ,texlive-tiny))) (inputs `(("gmp" ,gmp) @@ -179,7 +179,7 @@ PARI is also available as a C library to allow for faster computations.") (define-public gp2c (package (name "gp2c") - (version "0.0.11") + (version "0.0.11pl1") (source (origin (method url-fetch) (uri (string-append @@ -187,7 +187,7 @@ PARI is also available as a C library to allow for faster computations.") version ".tar.gz")) (sha256 (base32 - "1z69xj2dpd8yyi8108rz26c50xpv0k2j8qnk0bzy1c5lw3pd1adm")))) + "1c6f6vmncw032kfzrfyr8bynw6yd3faxpy2285r009fmr0zxfs5s")))) (build-system gnu-build-system) (native-inputs `(("perl" ,perl))) (inputs `(("pari-gp" ,pari-gp))) @@ -210,10 +210,40 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.") (license license:gpl2) (home-page "https://pari.math.u-bordeaux.fr/"))) +(define-public cmh + (package + (name "cmh") + (version "1.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://gforge.inria.fr/frs/download.php/33497/cmh-" + version ".tar.gz")) + (sha256 + (base32 + "1a28xr9bs0igms0ik99x0w8lnb0jyfcmvyi26pbyh9ggcdivd33p")))) + (build-system gnu-build-system) + (inputs + `(("gmp" ,gmp) + ("mpfr" ,mpfr) + ("mpc" ,mpc) + ("mpfrcx" ,mpfrcx) + ("fplll" ,fplll) + ("pari-gp" ,pari-gp))) + (synopsis "Igusa class polynomial computations") + (description + "The CMH software computes Igusa (genus 2) class polynomials, which +parameterize the CM points in the moduli space of 2-dimensional abelian +varieties, i.e. Jacobians of hyperelliptic curves. +It can also be used to compute theta constants at arbitrary +precision.") + (license license:gpl3+) + (home-page "http://cmh.gforge.inria.fr/"))) + (define-public giac-xcas (package (name "giac-xcas") - (version "1.4.9-59") + (version "1.5.0-19") (source (origin (method url-fetch) ;; "~parisse/giac" is not used because the maintainer regularly @@ -225,16 +255,48 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.") "source/giac_" version ".tar.gz")) (sha256 (base32 - "0dv5p5y6gkrsmz3xa7fw87rjyabwdwk09mqb09kb7gai9n9dgayk")))) + "0ds1zh712sr20qh0fih8jnm4nlv90andllp8n263qs7rlhblz551")))) (build-system gnu-build-system) + (outputs '("out" "doc")) ;77MiB of documentation (arguments - `(#:phases + `(#:modules ((ice-9 ftw) + (guix build utils) + (guix build gnu-build-system)) + #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-bin-cp + ;; Some Makefiles contain hard-coded "/bin/cp". (lambda _ - ;; Some Makefiles contain hard-coded "/bin/cp". (substitute* (find-files "doc" "^Makefile") (("/bin/cp") (which "cp"))) + #t)) + (add-after 'unpack 'disable-failing-test + ;; FIXME: Test failing. Not sure why. + (lambda _ + (substitute* "check/Makefile.in" + (("chk_fhan11") "")) + #t)) + (add-after 'install 'install-doc + ;; Setting --docdir to "doc" output isn't sufficient as + ;; documentation and examples are scattered throughout the source. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc")) + (docdir (string-append doc + "/share/doc/" + (string-append ,name "-" ,version)))) + ;; For some reason, the install process moves + ;; "share/giac/examples" instead of "share/giac/doc" to + ;; "$(docdir)". Clean up the mess and start over. + (delete-file-recursively (string-append doc "/share")) + (mkdir-p docdir) + (with-directory-excursion out + (for-each (lambda (f) + (unless (member f '("." "..")) + (copy-recursively (string-append "share/giac/" f) + (string-append docdir "/" f)))) + (scandir "share/giac")) + (delete-file-recursively "share/giac"))) #t))))) (inputs `(("fltk" ,fltk) @@ -314,47 +376,47 @@ fast arithmetic.") (define-public arb (package - (name "arb") - (version "2.14.0") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/fredrik-johansson/arb/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ncr27nd20xxi18nj30cvpa6r52v59nq7gbi34x3l4xym3p8mlmx")))) - (build-system gnu-build-system) - (propagated-inputs - `(("flint" ,flint))) ; flint.h is included by arf.h - (inputs - `(("gmp" ,gmp) - ("mpfr" ,mpfr))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (flint (assoc-ref inputs "flint")) - (gmp (assoc-ref inputs "gmp")) - (mpfr (assoc-ref inputs "mpfr"))) - ;; do not pass "--enable-fast-install", which makes the - ;; homebrew configure process fail - (invoke "./configure" - (string-append "--prefix=" out) - (string-append "--with-flint=" flint) - (string-append "--with-gmp=" gmp) - (string-append "--with-mpfr=" mpfr)))))))) - (synopsis "Arbitrary precision floating-point ball arithmetic") - (description - "Arb is a C library for arbitrary-precision floating-point ball + (name "arb") + (version "2.14.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fredrik-johansson/arb.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ndxg7h4xvccjgp5l9z2f8b66dsff6fhf86bn5n7f75a1ksd7554")))) + (build-system gnu-build-system) + (propagated-inputs + `(("flint" ,flint))) ; flint.h is included by arf.h + (inputs + `(("gmp" ,gmp) + ("mpfr" ,mpfr))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (flint (assoc-ref inputs "flint")) + (gmp (assoc-ref inputs "gmp")) + (mpfr (assoc-ref inputs "mpfr"))) + ;; do not pass "--enable-fast-install", which makes the + ;; homebrew configure process fail + (invoke "./configure" + (string-append "--prefix=" out) + (string-append "--with-flint=" flint) + (string-append "--with-gmp=" gmp) + (string-append "--with-mpfr=" mpfr)))))))) + (synopsis "Arbitrary precision floating-point ball arithmetic") + (description + "Arb is a C library for arbitrary-precision floating-point ball arithmetic. It supports efficient high-precision computation with polynomials, power series, matrices and special functions over the real and complex numbers, with automatic, rigorous error control.") - (license license:lgpl2.1+) - (home-page "http://fredrikj.net/arb/"))) + (license license:lgpl2.1+) + (home-page "http://fredrikj.net/arb/"))) (define-public ntl (package @@ -506,13 +568,14 @@ syntax is similar to that of C, so basic usage is familiar. It also includes (name "kiss-fft-for-extempore") (version "1.3.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/extemporelang/kiss_fft/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/extemporelang/kiss_fft.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0hkp9l6l4c92fb1l2sh6a6zv1hynpvb2s4d03vd8vxyvybc0l4pv")))) + "0jasbmqy4wkqrqx3w64s1dfmj34875xmsl72mb26aa4hpyn14bi2")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; no tests included ;; Extempore refuses to build on architectures other than x86_64 diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 9f8d850ff5..48380740a3 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -108,7 +108,7 @@ use their packages mostly unmodified in our Android NDK build system.") ;; Big thanks to them for laying the groundwork. ;; The version tag is consistent between all repositories. -(define (android-platform-version) "7.1.2_r6") +(define (android-platform-version) "7.1.2_r36") (define (android-platform-system-core version) (origin @@ -120,7 +120,7 @@ use their packages mostly unmodified in our Android NDK build system.") version "-checkout")) (sha256 (base32 - "0xc2n7jxrf1iw9cc278pijdfjix2fkiig5ws27f6rwp40zg5mrgg")) + "1krnc2b9zfkzpdgs1dcbji59nszlx2qr723pg89m52622czc06hg")) (patches (search-patches "libbase-use-own-logging.patch" "libbase-fix-includes.patch" @@ -151,7 +151,7 @@ use their packages mostly unmodified in our Android NDK build system.") version "-checkout")) (sha256 (base32 - "0n9wkz3ynqw39if1ss9n32m66iga14nndf29hpm7g1aqn4wvvgzk")))) + "15r4s20d7vw022f8vrc3jbghmqwdcqzprl7i2bfvdkz8z76wc1ps")))) (define (android-platform-external version subdirectory checksum) (origin @@ -339,6 +339,13 @@ various Android core host applications.") (modify-phases %standard-phases (add-after 'unpack 'enter-source (lambda _ (chdir "adb") #t)) + (add-after 'enter-source 'glibc-compat + (lambda _ + ;; Include sysmacros.h for "major" and "minor" in Glibc 2.28. + (substitute* "usb_linux.cpp" + (("#include " all) + (string-append all "\n#include \n"))) + #t)) (add-after 'enter-source 'make-libs-available (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "Android.mk" diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm new file mode 100644 index 0000000000..95749761bd --- /dev/null +++ b/gnu/packages/antivirus.scm @@ -0,0 +1,156 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016, 2017, 2018 Eric Bavier +;;; Copyright © 2018 Christopher Baines +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages antivirus) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system gnu) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) + #:use-module (gnu packages check) + #:use-module (gnu packages compression) + #:use-module (gnu packages curl) + #:use-module (gnu packages cyrus-sasl) + #:use-module (gnu packages flex) + #:use-module (gnu packages llvm) + #:use-module (gnu packages multiprecision) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages pcre) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) + #:use-module (gnu packages xml)) + +(define-public clamav + (package + (name "clamav") + (version "0.100.2") + (source (origin + (method url-fetch) + (uri (string-append "https://www.clamav.net/downloads/production/" + "clamav-" version ".tar.gz")) + (sha256 + (base32 + "1mkd41sxbjkfjinpx5b9kb85q529gj2s3d0klysssqhysh64ybja")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file-recursively + '("win32" ;unnecessary + "libclamav/c++/llvm" ;use system llvm + "libclamunrar")))) ;non-free license + (patches + (search-patches "clamav-system-tomsfastmath.patch" + "clamav-config-llvm-libs.patch")))) + (build-system gnu-build-system) + (native-inputs + `(("bison" ,bison) + ("check" ,check) ;for tests + ("flex" ,flex) + ("pkg-config" ,pkg-config) + ;; The tomsfastmath patch touches configure.ac and Makefile.am + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (inputs + `(("bzip2" ,bzip2) + ("libcurl" ,curl) + ("libjson" ,json-c) + ("libltdl" ,libltdl) + ("libmspack" ,libmspack) + ("llvm" ,llvm-3.6) ;requires <3.7, for JIT/verifier + ("ncurses" ,ncurses) + ("openssl" ,libressl) + ("pcre" ,pcre "bin") ;for pcre-config + ("sasl" ,cyrus-sasl) ;for linking curl with libtool + ("tomsfastmath" ,tomsfastmath) + ("xml" ,libxml2) + ("zlib" ,zlib))) + (arguments + `(#:configure-flags + (let-syntax ((with (syntax-rules () + ((_ name) + (string-append "--with-" name "=" + (assoc-ref %build-inputs name)))))) + (list "--disable-unrar" + "--enable-llvm" + "--with-system-llvm" + "--with-system-libmspack" + "--without-included-ltdl" + (with "xml") + (with "openssl") + (with "libjson") + (with "pcre") + (with "zlib") + (with "libcurl") + ;; For sanity, specifying --enable-* flags turns + ;; "support unavailable" warnings into errors. + "--enable-bzip2" + "--enable-check" + "--sysconfdir=/etc/clamav" + ;; Default database directory needs to be writeable + "--with-dbdir=/var/db/clamav")) + ;; install sample .conf files to %output/etc rather than /etc/clamav + #:make-flags (list (string-append "sysconfdir=" %output "/etc")) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'reconf + (lambda _ (zero? (system* "autoreconf" "-vfi")))) + (add-before 'configure 'patch-llvm-config + (lambda _ + (substitute* '("libclamav/c++/detect.cpp" + "libclamav/c++/ClamBCRTChecks.cpp" + "libclamav/c++/bytecode2llvm.cpp") + (("llvm/Config/config.h") "llvm/Config/llvm-config.h")) + ;; `llvm-config --libfiles` inappropriately lists lib*.a + ;; libraries, rather than the lib*.so's that our llvm + ;; contains. They're used only for listing extra build + ;; dependencies, so ignore them until that's fixed. + (substitute* "libclamav/c++/Makefile.in" + (("@LLVMCONFIG_LIBFILES@") "")) + #t)) + (add-before 'check 'skip-clamd-tests + ;; XXX: The check?_clamd tests fail inside the build + ;; chroot, but pass outside. + (lambda _ + (substitute* "unit_tests/Makefile" + (("check2_clamd.sh.*check4_clamd.sh") "")) + #t))))) + (home-page "https://www.clamav.net") + (synopsis "Antivirus engine") + (description + "Clam AntiVirus is an anti-virus toolkit, designed especially for e-mail +scanning on mail gateways. It provides a number of utilities including a +flexible and scalable multi-threaded daemon, a command line scanner, and +advanced tool for automatic database updates. The core of the package is an +anti-virus engine available in the form of a shared library.") + (license (list license:gpl2+ ;ClamAV itself + license:lgpl2.1 ;libclamav/mspack.[ch] + license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc... + (package-license bzip2) ;modified bzip2 source in libclamav/nsis + license:bsd-2 ;several files in libclamav + license:bsd-3 ;libclamav/{regex,qsort.c,swf.[ch] + license:ncsa ;libclamav/c++/PointerTracking.cpp + license:zlib ;libclamav/inf*.h + license:x11 ;libclamav/lzw + (license:non-copyleft "libclamav/strlcat.c") ;"OpenBSD" license + license:asl2.0 ;libclamav/yara* + license:expat)))) ;shared/getopt.[ch] diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index b664712f7a..2786f62163 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -15,6 +15,8 @@ ;;; Copyright © 2018 Clément Lassieur ;;; Copyright © 2018 Brett Gilio ;;; Copyright © 2018 Marius Bakke +;;; Copyright © 2018 Thorsten Wilms +;;; Copyright © 2018 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -427,6 +429,46 @@ and editing digital audio. It features digital effects and spectrum analysis tools.") (license license:gpl2+))) +(define-public autotalent + (package + (name "autotalent") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append "http://tombaran.info/autotalent-" + version ".tar.gz")) + (sha256 + (base32 + "1n04qm66f14195ly6gsy3ra7v2j7zad5n19d8dwfmh0qs6h9hphh")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:phases + (modify-phases %standard-phases + ;; no configure script + (delete 'configure) + (add-before 'install 'prepare-target-directory + (lambda* (#:key outputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ladspa")) + #t)) + (add-after 'unpack 'override-target-directory + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("/usr/lib64/ladspa") + (string-append (assoc-ref outputs "out") "/lib/ladspa"))) + #t))))) + (inputs + `(("ladspa" ,ladspa))) + (home-page "http://tombaran.info/autotalent.html") + (synopsis "Pitch-correction LADSPA audio plugin") + (description + "Autotalent is a LADSPA plugin for real-time pitch-correction. Among its +controls are allowable notes, strength of correction, LFO for vibrato and +formant warp.") + ;; All code except the FFT routine is licensed under GPLv2+. + ;; The FFT routine is under BSD-3. + (license license:gpl2+))) + (define-public azr3 (package (name "azr3") @@ -514,6 +556,47 @@ tools (analyzer, mono/stereo tools, crossovers).") ;; The plugins are released under LGPLv2.1+ (license (list license:lgpl2.1+ license:gpl2+)))) +(define-public caps-plugins-lv2 + (package + (name "caps-plugins-lv2") + (version "0.9.24") ; version that has been ported. + (source + (origin + ;; The Github project hasn't tagged a release. + (method git-fetch) + (uri (git-reference + ;; Actually https://github.com/moddevices/caps-lv2.git, but it's + ;; missing fixes for newer glibc, so using the origin of a pull + ;; request regarding this issue: + (url "https://github.com/jujudusud/caps-lv2.git") + (commit "9c9478b7fbd8f9714f552ebe2a6866398b0babfb"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1idfnazin3cca41zw1a8vwgnxjnkrap7bxxjamjqvgpmvydgcam1")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:phases + (modify-phases %standard-phases + ;; no configure script + (delete 'configure) + (add-after 'unpack 'override-target-directory + (lambda* (#:key outputs #:allow-other-keys) + (substitute* (find-files "plugins" "Makefile") + (("/usr/local")(assoc-ref outputs "out"))) + #t))))) + (inputs + `(("lv2" ,lv2))) + ;; home-page of the original LADSPA version: http://quitte.de/dsp/caps.html + (home-page "https://github.com/moddevices/caps-lv2") + (synopsis "LV2 port of the CAPS audio plugin colection") + (description + "LV2 port of CAPS, a collection of audio plugins comprising basic virtual +guitar amplification and a small range of classic effects, signal processors and +generators of mostly elementary and occasionally exotic nature.") + (license license:gpl3+))) + (define-public espeak (package (name "espeak") @@ -572,13 +655,14 @@ based on human speech recordings.") (name "infamous-plugins") (version "0.2.04") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ssj71/infamousPlugins/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ssj71/infamousPlugins.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1n6rhqsmvad7692w2h01niw5gqg5yk7a09wxl5ivs77zyp93vf7z")))) + "0hmqk80w4qxq09iag7b7srf2g0wigkyhzq0ywxvhz2iz0hq9k0dh")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; there are no tests @@ -610,13 +694,14 @@ envelope follower, distortion effects, tape effects and more.") (name "swh-plugins-lv2") (version "1.0.16") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/swh/" - "lv2/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/swh/lv2.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0j1mih0lp4fds07knp5i32in515sh0df1qi6694pmyz2wqnm295w")))) + "0y7nnww864mm4k6ayy2lhcws3wlbhb2gkyjbrwk921fvc18qk9mz")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target @@ -654,14 +739,14 @@ emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc.") (name "csound") (version "6.11.0") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/csound/csound/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/csound/csound.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "072pk5h9w0vhw0ncc9dn90haw1yv18v04iwwjn8nsp6930w7dvxd")))) + "1hlkrnv3gghx4v382nl6v6k2k1dzm5ddk35m5g3q6pzc959726s7")))) (build-system cmake-build-system) (inputs `(("alsa-lib" ,alsa-lib) @@ -713,7 +798,8 @@ language and software synthesizer.") (lambda _ (symlink "libclalsadrv.so" (string-append (assoc-ref %outputs "out") - "/lib/libclalsadrv.so.2")))) + "/lib/libclalsadrv.so.2")) + #t)) ;; no configure script (delete 'configure)))) (inputs @@ -1042,7 +1128,7 @@ follower.") (define-public fluidsynth (package (name "fluidsynth") - (version "2.0.1") + (version "2.0.2") (source (origin (method git-fetch) (uri (git-reference @@ -1051,7 +1137,7 @@ follower.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1mqyym5qkh8xd1rqj3yhfxbw5dxjcrljb6nkfqzvcarlv4h6rjn7")))) + "02vs5sfsyh1dl7wlcvgs4w3x0qcmsl7vi000qgp99ynwh3wjb274")))) (build-system cmake-build-system) (arguments '(#:tests? #f ; no check target @@ -1174,19 +1260,15 @@ PS, and DAB+.") (define-public faust-2 (package (inherit faust) - (version "2.1.0") + (version "2.5.23") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/grame-cncm/faust.git") - (commit (string-append "v" - (string-map (lambda (c) - (if (char=? c #\.) #\- c)) - version))))) - (file-name (string-append "faust-" version "-checkout")) + (method url-fetch) + (uri (string-append "https://github.com/grame-cncm/faust/" + "releases/download/" version + "/faust-" version ".tar.gz")) (sha256 (base32 - "06km0ygwxxwgw1lqldccqidxhmjfz8ck0wnbd95qk5sg8sbpc068")))) + "1yz5jnr76hh7rmxkpdi7gyrw1wp4gyqfpq8zyl97qdi5ga5gjznq")))) (build-system gnu-build-system) (arguments (substitute-keyword-arguments (package-arguments faust) @@ -1194,7 +1276,7 @@ PS, and DAB+.") `(list (string-append "prefix=" (assoc-ref %outputs "out")) "world")))) (native-inputs - `(("llvm" ,llvm-with-rtti) + `(("llvm" ,llvm-3.8) ("which" ,which) ("xxd" ,xxd) ("ctags" ,emacs-minimal) ; for ctags @@ -1486,7 +1568,8 @@ synchronous execution of all clients, and low latency operation.") ((".*CFLAGS.*-Wall.*" m) (string-append m " conf.env.append_unique('LINKFLAGS'," - "'-Wl,-rpath=" %output "/lib')\n"))))) + "'-Wl,-rpath=" %output "/lib')\n"))) + #t)) (add-after 'install 'wrap-python-scripts (lambda* (#:key inputs outputs #:allow-other-keys) ;; Make sure 'jack_control' runs with the correct PYTHONPATH. @@ -1522,6 +1605,7 @@ synchronous execution of all clients, and low latency operation.") (build-system waf-build-system) (arguments `(#:tests? #f ; no check target + #:python ,python-2 #:phases (modify-phases %standard-phases (add-before @@ -1569,19 +1653,20 @@ plugin function as a JACK application.") (arguments `(#:tests? #f ; the "test" target is a listening test only #:phases - (alist-replace - 'configure - (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) - (chdir "src") - (let ((out (assoc-ref outputs "out"))) - (substitute* "makefile" - (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/")) - (("/usr/include/") (string-append out "/include/")) - (("/usr/bin/") (string-append out "/bin/")) - (("-mkdirhier") "mkdir -p") - (("^CC.*") "CC = gcc\n") - (("^CPP.*") "CPP = g++\n")))) - (alist-delete 'build %standard-phases)))) + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys #:rest args) + (chdir "src") + (let ((out (assoc-ref outputs "out"))) + (substitute* "makefile" + (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/")) + (("/usr/include/") (string-append out "/include/")) + (("/usr/bin/") (string-append out "/bin/")) + (("-mkdirhier") "mkdir -p") + (("^CC.*") "CC = gcc\n") + (("^CPP.*") "CPP = g++\n"))) + #t)) + (delete 'build)))) ;; Since the home page is gone, we provide a link to the archived version. (home-page "https://web.archive.org/web/20140729190945/http://www.ladspa.org/") @@ -1881,14 +1966,14 @@ software.") (name "lvtk") (version "1.2.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/lvtk/lvtk/archive/" - version - ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lvtk/lvtk.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd")))) + "1b01zvzl70ana6l1kn8fgyr7msnn3c7x61cgw7fdpp50322352p8")))) (build-system waf-build-system) (arguments `(#:tests? #f ; no check target @@ -2012,7 +2097,9 @@ buffers, and audio capture.") (base32 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb")))) (build-system waf-build-system) - (arguments `(#:tests? #f)) ; no check target + (arguments + `(#:tests? #f ; no check target + #:python ,python-2)) (inputs `(("alsa-lib" ,alsa-lib) ("boost" ,boost) @@ -2033,14 +2120,14 @@ and ALSA.") (define-public qjackctl (package (name "qjackctl") - (version "0.5.4") + (version "0.5.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/qjackctl/qjackctl/" version "/qjackctl-" version ".tar.gz")) (sha256 (base32 - "0qr71nb93gkz5q53nfcl5g168z173wc6s8w1yjs3rfn3m4hg0bcq")))) + "1rzzqa39a6llr52vjkjr0a86nc776kmr5xs52qqga8ms9697psz5")))) (build-system gnu-build-system) (arguments '(#:tests? #f)) ; no check target @@ -2096,7 +2183,7 @@ background file post-processing.") (define-public supercollider (package (name "supercollider") - (version "3.9.2") + (version "3.10.0") (source (origin (method url-fetch) (uri (string-append @@ -2105,7 +2192,7 @@ background file post-processing.") "/SuperCollider-" version "-Source-linux.tar.bz2")) (sha256 (base32 - "0d3cb6dw8jz7ijriqn3rlwin24gffczp69hl17pzxj1d5w57yj44")))) + "16j9psa32czx1p1y2vvq0qf2ib0ngrfc604vx35n2b4llyika84v")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DSYSTEM_BOOST=on" "-DSYSTEM_YAMLCPP=on" @@ -2117,6 +2204,12 @@ background file post-processing.") (ice-9 ftw)) #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-build-with-boost-1.68 + (lambda _ + (substitute* "server/supernova/utilities/time_tag.hpp" + (("(time_duration offset = .+ microseconds\\().*" _ m) + (string-append m "static_cast(get_nanoseconds()/1000));\n"))) + #t)) (add-after 'unpack 'rm-bundled-libs (lambda _ ;; The build system doesn't allow us to unbundle the following @@ -2137,13 +2230,13 @@ background file post-processing.") ;; https://github.com/supercollider/supercollider/issues/1736 (add-after 'rm-bundled-libs 'disable-broken-tests (lambda _ - (substitute* "testsuite/supernova/CMakeLists.txt" + (substitute* "testsuite/server/supernova/CMakeLists.txt" (("server_test.cpp") "") (("perf_counter_test.cpp") "")) - (delete-file "testsuite/supernova/server_test.cpp") - (delete-file "testsuite/supernova/perf_counter_test.cpp") + (delete-file "testsuite/server/supernova/server_test.cpp") + (delete-file "testsuite/server/supernova/perf_counter_test.cpp") (substitute* "testsuite/CMakeLists.txt" (("add_subdirectory\\(sclang\\)") "")) @@ -2181,7 +2274,7 @@ external_libraries/yaml-cpp/include)")) ("eudev" ,eudev) ;for user interactions with devices ("avahi" ,avahi) ;zeroconf service discovery support ("icu4c" ,icu4c) - ("boost" ,boost) + ("boost" ,boost-cxx14) ("boost-sync" ,boost-sync) ("yaml-cpp" ,yaml-cpp))) (home-page "https://github.com/supercollider/supercollider") @@ -2274,36 +2367,32 @@ tempo and pitch of an audio recording independently of one another.") (name "rtmidi") (version "2.1.0") (source (origin - (method url-fetch) - (uri - (string-append "https://github.com/powertab/rtmidi/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/powertab/rtmidi.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0d49lapnmdgmjxh4vw57h6xk74nn5r0zwysv7jbd7m8kqhpq5rjj")))) + "106v177y3nrjv2l1yskch4phpqd8h97b67zj0jiq9pc3c69jr1ay")))) (build-system gnu-build-system) (arguments `(#:tests? #f ;no "check" target - #:phases (modify-phases %standard-phases - (add-after - 'unpack 'autoconf - (lambda _ (invoke "autoreconf" "-vfi"))) - (add-before - 'build 'fix-makefile - (lambda _ - (substitute* "Makefile" - (("/bin/ln") "ln") - (("RtMidi.h RtError.h") "RtMidi.h")) - #t)) - (add-before - 'install 'make-target-dirs - (lambda _ - (let ((out (assoc-ref %outputs "out"))) - (mkdir-p (string-append out "/bin")) - (mkdir (string-append out "/lib")) - (mkdir (string-append out "/include"))) - #t))))) + #:phases + (modify-phases %standard-phases + (add-before 'build 'fix-makefile + (lambda _ + (substitute* "Makefile" + (("/bin/ln") "ln") + (("RtMidi.h RtError.h") "RtMidi.h")) + #t)) + (add-before 'install 'make-target-dirs + (lambda _ + (let ((out (assoc-ref %outputs "out"))) + (mkdir-p (string-append out "/bin")) + (mkdir (string-append out "/lib")) + (mkdir (string-append out "/include"))) + #t))))) (inputs `(("jack" ,jack-1) ("alsa-lib" ,alsa-lib))) @@ -2360,6 +2449,7 @@ the Turtle syntax.") (build-system waf-build-system) (arguments `(#:tests? #f ; no check target + #:python ,python-2 ;XXX: The bundled waf does not work with Python 3.7.0. #:configure-flags '("CXXFLAGS=-std=gnu++11"))) (inputs @@ -2508,7 +2598,8 @@ analysis plugins or audio feature extraction plugins.") (symlink (string-append (assoc-ref inputs "automake") "/share/automake-" ,(package-version automake) "/ar-lib") - "ar-lib")))))) + "ar-lib") + #t))))) (home-page "http://sbsms.sourceforge.net/") (synopsis "Library for time stretching and pitch scaling of audio") (description @@ -2753,20 +2844,14 @@ portions of LAME.") ;; TODO: Add ASIHPI. `(("alsa-lib" ,alsa-lib) ("jack" ,jack-1))) + ;; Autoreconf is necessary because the audacity-compat patch modifies .in + ;; files. (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) ("pkg-config" ,pkg-config))) - (arguments - '(#:phases - ;; Autoreconf is necessary because the audacity-compat patch modifies - ;; .in files. - (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ - (invoke "autoreconf" "-vif")))) - #:tests? #f)) ;no 'check' target + (arguments '(#:tests? #f)) ;no 'check' target (home-page "http://www.portaudio.com/") (synopsis "Audio I/O library") (description @@ -2778,7 +2863,7 @@ interface.") (define-public qsynth (package (name "qsynth") - (version "0.5.3") + (version "0.5.4") (source (origin (method url-fetch) @@ -2786,7 +2871,7 @@ interface.") "/qsynth-" version ".tar.gz")) (sha256 (base32 - "1jghczmmva7cyavg1q0j8nr3hmjpzzglzi5ckg92ax4ji8gpks9c")))) + "0kpq5fxr96wnii18ax780w1ivq8ksk892ac0bprn92iz0asfysrd")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no "check" phase @@ -2812,12 +2897,13 @@ synthesizer written in C++.") (version "1.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/Themaister/RSound/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Themaister/RSound.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1wzs40c0k5zpkmm5ffl6c17xmr399sxli7ys0fbb9ib0fd334knx")))) + (base32 "0gspmr3klwnq98h17p5hc6ifygya4p80g4g8r7a1qavm3mv19waf")))) (build-system gnu-build-system) (inputs `(("alsa-lib" ,alsa-lib) @@ -2850,14 +2936,14 @@ with a much different focus than most other audio daemons.") (name "xjackfreak") (version "1.0") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/johnhldavis/xjackfreak/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/johnhldavis/xjackfreak.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0xj6gpxfnw9jbdgwgm0x23xgfvj2kwmwb1nk0drw8lxgcchkq7d9")))) + "18c546qidbrj0f5wfiq5llii2192xpln0ab3r4vpr7i3wybxqjfz")))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -2909,12 +2995,14 @@ result.") (substitute* "libs/Makefile" (("ldconfig") "true") (("^LIBDIR =.*") "LIBDIR = lib\n")) - (chdir "libs") #t)) + (chdir "libs") + #t)) (add-after 'install 'install-symlink (lambda _ (symlink "libzita-convolver.so" (string-append (assoc-ref %outputs "out") - "/lib/libzita-convolver.so.3")))) + "/lib/libzita-convolver.so.3")) + #t)) ;; no configure script (delete 'configure)))) (inputs `(("fftwf" ,fftwf))) @@ -2964,7 +3052,8 @@ engine.") (lambda _ (symlink "libzita-resampler.so" (string-append (assoc-ref %outputs "out") - "/lib/libzita-resampler.so.1")))) + "/lib/libzita-resampler.so.1")) + #t)) ;; no configure script (delete 'configure)))) (home-page "https://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html") @@ -3005,7 +3094,8 @@ provide high-quality sample rate conversion.") (lambda _ (symlink "libzita-alsa-pcmi.so" (string-append (assoc-ref %outputs "out") - "/lib/libzita-alsa-pcmi.so.0")))) + "/lib/libzita-alsa-pcmi.so.0")) + #t)) ;; no configure script (delete 'configure)))) (inputs @@ -3025,15 +3115,16 @@ point audio data.") (name "cuetools") (version "1.4.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/svend/cuetools/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/svend/cuetools.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "01xi3rvdmil9nawsha04iagjylqr1l9v9vlzk99scs8c207l58i4")))) + "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3")))) (build-system gnu-build-system) - ;; The source tarball is not bootstrapped. + ;; The source checkout is not bootstrapped. (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -3074,13 +3165,14 @@ use them split WAVE data into multiple files.") (name "dcadec") (version "0.2.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/foo86/dcadec/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/foo86/dcadec.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0i0dpypgqkhhi4v1fmsp2way6w9kbcix3c7q79pmg39yvrzj17gd")))) + "07nd0ajizrp1w02bsyfcv18431r8m8rq8gjfmz9wmckpg7cxj2hs")))) (build-system gnu-build-system) (arguments ;; Test files are missing: https://github.com/foo86/dcadec/issues/53 @@ -3107,7 +3199,7 @@ with support for HD extensions.") (define-public bs1770gain (package (name "bs1770gain") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) @@ -3115,7 +3207,7 @@ with support for HD extensions.") version "/bs1770gain-" version ".tar.gz")) (sha256 (base32 - "0vd7320k7s2zcn2vganclxbr1vav18ghld27rcwskvcc3dm8prii")))) + "0r4fbajgfmnwgl63hcm56f1j8m5f135q6j5jkzdvrrhpcj39yx06")))) (build-system gnu-build-system) (inputs `(("ffmpeg" ,ffmpeg) ("sox" ,sox))) @@ -3188,7 +3280,8 @@ code, used in @code{libtoxcore}.") (mkdir-p (string-append out "/man/man1")) (mkdir-p (string-append out "/man/man3")) (mkdir-p (string-append out "/bin")) - (mkdir-p (string-append out "/lib"))))) + (mkdir-p (string-append out "/lib"))) + #t)) (add-after 'install 'post-install (lambda _ (let ((out (assoc-ref %outputs "out"))) @@ -3196,7 +3289,8 @@ code, used in @code{libtoxcore}.") (string-append out "/include")) (mkdir-p (string-append out "/include/gsm")) (copy-recursively "inc" - (string-append out "/include/gsm"))))) + (string-append out "/include/gsm"))) + #t)) (delete 'configure)))) ; no configure script (synopsis "GSM 06.10 lossy speech compression library") (description "This C library provides an encoder and a decoder for the GSM @@ -3385,13 +3479,14 @@ the following features: (version "1.6") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dpayne/cli-visualizer/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dpayne/cli-visualizer.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "07zkm87f2fr8kc6531zrkya7q81sdanm6813y2f54mg13g41y6hi")))) + "0mirp8bk398di5xyq95iprmdyvplfghxqmrfj7jdnpy554vx7ppc")))) (build-system gnu-build-system) (native-inputs `(("which" ,which))) @@ -3439,14 +3534,14 @@ representations.") (name "cava") (version "0.6.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/karlstav/cava/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/karlstav/cava.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "13d72swnjs894llf0paandmhf1lf90dz6ygkcdw4bv84wzkq1f4q")))) + "1kvhqgijs29909w3sq9m0bslx2zxxn4b3i07kdz4hb0dqkppxpjy")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -3471,14 +3566,16 @@ representations.") (invoke "sh" "autogen.sh"))) (add-before 'build 'make-cava-ldflags (lambda* (#:key outputs #:allow-other-keys) - (mkdir-p (string-append (assoc-ref outputs "out") "/lib")))) + (mkdir-p (string-append (assoc-ref outputs "out") "/lib")) + #t)) (add-after 'install 'data (lambda* (#:key outputs #:allow-other-keys) (for-each (lambda (file) (install-file file (string-append (assoc-ref outputs "out") "/share/doc/examples"))) - (find-files "example_files"))))))) + (find-files "example_files")) + #t))))) (home-page "https://karlstav.github.io/cava/") (synopsis "Console audio visualizer for ALSA, MPD, and PulseAudio") (description "C.A.V.A. is a bar audio spectrum visualizer for the terminal @@ -3517,3 +3614,72 @@ using ALSA, MPD, PulseAudio, or a FIFO buffer as its input.") (synopsis "Pro-quality GM soundfont") (description "Fluid-3 is Frank Wen's pro-quality GM soundfont.") (license license:expat)))) + +(define-public libfdk + (let ((commit "2326faaf8f2cdf2c3a9108ccdaf1d7551aec543e") + (revision "0")) + (package + (name "libfdk") + ;; The latest upstream revision, with many bug fixes. + (version (git-version "0.1.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mstorsjo/fdk-aac") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0yy6ndd9d61bwl283vl1r5kva2a4acc0f4r9g0sza156f2abr9ws")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (home-page "https://github.com/mstorsjo/fdk-aac") + (synopsis "Fraunhofer FDK AAC library") + (description "FDK is a library for encoding and decoding Advanced Audio +Coding (AAC) format audio, developed by Fraunhofer IIS, and included as part of +Android. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC +LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay) +and AAC-ELD (enhanced low delay) for real-time communication. The encoding +library supports sample rates up to 96 kHz and up to eight channels (7.1 +surround).") + (license (license:fsf-free "https://github.com/mstorsjo/fdk-aac/blob/master/NOTICE" + "https://www.gnu.org/licenses/license-list.html#fdk"))))) + +(define-public libopenshot-audio + (package + (name "libopenshot-audio") + (version "0.1.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenShot/libopenshot-audio") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08a8wbi28kwrdz4h0rs1b9vsr28ldfi8g75q54rj676y1vwg3qys")))) + (build-system cmake-build-system) + (inputs + `(("alsa-lib" ,alsa-lib) + ;; The following are for JUCE GUI components: + ("libx11" ,libx11) + ("freetype" ,freetype) + ("libxrandr" ,libxrandr) + ("libxinerama" ,libxinerama) + ("libxcursor" ,libxcursor))) + (arguments + `(#:tests? #f ;there are no tests + #:configure-flags + (list (string-append "-DCMAKE_CXX_FLAGS=-I" + (assoc-ref %build-inputs "freetype") + "/include/freetype2")))) + (home-page "https://openshot.org") + (synopsis "Audio editing and playback for OpenShot") + (description "OpenShot Audio Library (libopenshot-audio) allows +high-quality editing and playback of audio, and is based on the JUCE +library.") + (license license:lgpl3+))) diff --git a/gnu/packages/aux-files/linux-libre/4.18-arm.conf b/gnu/packages/aux-files/linux-libre/4.19-arm.conf similarity index 98% rename from gnu/packages/aux-files/linux-libre/4.18-arm.conf rename to gnu/packages/aux-files/linux-libre/4.19-arm.conf index 46be71cded..184f73276f 100644 --- a/gnu/packages/aux-files/linux-libre/4.18-arm.conf +++ b/gnu/packages/aux-files/linux-libre/4.19-arm.conf @@ -1,28 +1,7 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.18.0-gnu Kernel Configuration +# Linux/arm 4.19.0-gnu Kernel Configuration # -CONFIG_ARM=y -CONFIG_ARM_HAS_SG_CHAIN=y -CONFIG_ARM_DMA_USE_IOMMU=y -CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 -CONFIG_MIGHT_HAVE_PCI=y -CONFIG_SYS_SUPPORTS_APM_EMULATION=y -CONFIG_HAVE_PROC_CPU=y -CONFIG_NO_IOPORT_MAP=y -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_TRACE_IRQFLAGS_SUPPORT=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_ARCH_HAS_BANDGAP=y -CONFIG_FIX_EARLYCON_MEM=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_ARCH_SUPPORTS_UPROBES=y -CONFIG_FIQ=y -CONFIG_ARM_PATCH_PHYS_VIRT=y -CONFIG_GENERIC_BUG=y -CONFIG_PGTABLE_LEVELS=2 CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=70300 CONFIG_CLANG_VERSION=0 @@ -36,6 +15,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set +CONFIG_BUILD_SALT="" CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_LZMA=y CONFIG_HAVE_KERNEL_XZ=y @@ -77,6 +57,7 @@ CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_SPARSE_IRQ=y # CONFIG_GENERIC_IRQ_DEBUGFS is not set +CONFIG_GENERIC_IRQ_MULTI_HANDLER=y CONFIG_ARCH_CLOCKSOURCE_DATA=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y @@ -93,6 +74,9 @@ CONFIG_NO_HZ_IDLE=y # CONFIG_NO_HZ_FULL is not set # CONFIG_NO_HZ is not set CONFIG_HIGH_RES_TIMERS=y +# CONFIG_PREEMPT_NONE is not set +CONFIG_PREEMPT_VOLUNTARY=y +# CONFIG_PREEMPT is not set # # CPU/Task time and stats accounting @@ -128,6 +112,7 @@ CONFIG_PAGE_COUNTER=y CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y # CONFIG_MEMCG_SWAP_ENABLED is not set +CONFIG_MEMCG_KMEM=y CONFIG_BLK_CGROUP=y # CONFIG_DEBUG_BLK_CGROUP is not set CONFIG_CGROUP_WRITEBACK=y @@ -152,6 +137,7 @@ CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y +CONFIG_CHECKPOINT_RESTORE=y CONFIG_SCHED_AUTOGROUP=y # CONFIG_SYSFS_DEPRECATED is not set CONFIG_RELAY=y @@ -192,13 +178,13 @@ CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_ADVISE_SYSCALLS=y CONFIG_MEMBARRIER=y -CONFIG_CHECKPOINT_RESTORE=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set CONFIG_KALLSYMS_BASE_RELATIVE=y CONFIG_BPF_SYSCALL=y # CONFIG_BPF_JIT_ALWAYS_ON is not set CONFIG_USERFAULTFD=y +CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y CONFIG_RSEQ=y # CONFIG_DEBUG_RSEQ is not set # CONFIG_EMBEDDED is not set @@ -221,160 +207,34 @@ CONFIG_SLAB_FREELIST_RANDOM=y CONFIG_SYSTEM_DATA_VERIFICATION=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y -CONFIG_CRASH_CORE=y -CONFIG_KEXEC_CORE=y -CONFIG_OPROFILE=m -CONFIG_HAVE_OPROFILE=y -CONFIG_KPROBES=y -CONFIG_JUMP_LABEL=y -# CONFIG_STATIC_KEYS_SELFTEST is not set -CONFIG_OPTPROBES=y -CONFIG_UPROBES=y -CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y -CONFIG_ARCH_USE_BUILTIN_BSWAP=y -CONFIG_KRETPROBES=y -CONFIG_HAVE_KPROBES=y -CONFIG_HAVE_KRETPROBES=y -CONFIG_HAVE_OPTPROBES=y -CONFIG_HAVE_NMI=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -CONFIG_HAVE_DMA_CONTIGUOUS=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_GENERIC_IDLE_POLL_SETUP=y -CONFIG_ARCH_HAS_FORTIFY_SOURCE=y -CONFIG_ARCH_HAS_SET_MEMORY=y -CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_RSEQ=y -CONFIG_HAVE_CLK=y -CONFIG_HAVE_HW_BREAKPOINT=y -CONFIG_HAVE_PERF_REGS=y -CONFIG_HAVE_PERF_USER_STACK_DUMP=y -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y -CONFIG_HAVE_ARCH_SECCOMP_FILTER=y -CONFIG_SECCOMP_FILTER=y -CONFIG_PLUGIN_HOSTCC="" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_HAVE_STACKPROTECTOR=y -CONFIG_CC_HAS_STACKPROTECTOR_NONE=y -CONFIG_STACKPROTECTOR=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_HAVE_CONTEXT_TRACKING=y -CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y -CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_MODULES_USE_ELF_REL=y -CONFIG_ARCH_HAS_ELF_RANDOMIZE=y -CONFIG_HAVE_ARCH_MMAP_RND_BITS=y -CONFIG_HAVE_EXIT_THREAD=y -CONFIG_ARCH_MMAP_RND_BITS_MIN=8 -CONFIG_ARCH_MMAP_RND_BITS_MAX=16 -CONFIG_ARCH_MMAP_RND_BITS=8 -CONFIG_CLONE_BACKWARDS=y -CONFIG_OLD_SIGSUSPEND3=y -CONFIG_OLD_SIGACTION=y -CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y -CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y -CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y -CONFIG_STRICT_KERNEL_RWX=y -CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y -CONFIG_STRICT_MODULE_RWX=y -CONFIG_ARCH_HAS_PHYS_TO_DMA=y -CONFIG_REFCOUNT_FULL=y - -# -# GCOV-based kernel profiling -# -# CONFIG_GCOV_KERNEL is not set -CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODVERSIONS=y -# CONFIG_MODULE_SRCVERSION_ALL is not set -# CONFIG_MODULE_SIG is not set -# CONFIG_MODULE_COMPRESS is not set -# CONFIG_TRIM_UNUSED_KSYMS is not set -CONFIG_MODULES_TREE_LOOKUP=y -CONFIG_BLOCK=y -CONFIG_LBDAF=y -CONFIG_BLK_SCSI_REQUEST=y -CONFIG_BLK_DEV_BSG=y -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BLK_DEV_INTEGRITY=y -# CONFIG_BLK_DEV_ZONED is not set -CONFIG_BLK_DEV_THROTTLING=y -# CONFIG_BLK_DEV_THROTTLING_LOW is not set -# CONFIG_BLK_CMDLINE_PARSER is not set -CONFIG_BLK_WBT=y -# CONFIG_BLK_WBT_SQ is not set -CONFIG_BLK_WBT_MQ=y -CONFIG_BLK_DEBUG_FS=y -# CONFIG_BLK_SED_OPAL is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_AIX_PARTITION is not set -# CONFIG_OSF_PARTITION is not set -# CONFIG_AMIGA_PARTITION is not set -# CONFIG_ATARI_PARTITION is not set -# CONFIG_MAC_PARTITION is not set -CONFIG_MSDOS_PARTITION=y -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_MINIX_SUBPARTITION is not set -# CONFIG_SOLARIS_X86_PARTITION is not set -# CONFIG_UNIXWARE_DISKLABEL is not set -# CONFIG_LDM_PARTITION is not set -# CONFIG_SGI_PARTITION is not set -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_SUN_PARTITION is not set -CONFIG_KARMA_PARTITION=y -CONFIG_EFI_PARTITION=y -# CONFIG_SYSV68_PARTITION is not set -# CONFIG_CMDLINE_PARTITION is not set -CONFIG_BLK_MQ_PCI=y -CONFIG_BLK_MQ_VIRTIO=y -CONFIG_BLK_MQ_RDMA=y - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -CONFIG_CFQ_GROUP_IOSCHED=y -# CONFIG_DEFAULT_DEADLINE is not set -CONFIG_DEFAULT_CFQ=y -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="cfq" -CONFIG_MQ_IOSCHED_DEADLINE=y -CONFIG_MQ_IOSCHED_KYBER=m -CONFIG_IOSCHED_BFQ=m -CONFIG_BFQ_GROUP_IOSCHED=y -CONFIG_PADATA=y -CONFIG_ASN1=y -CONFIG_INLINE_SPIN_UNLOCK_IRQ=y -CONFIG_INLINE_READ_UNLOCK=y -CONFIG_INLINE_READ_UNLOCK_IRQ=y -CONFIG_INLINE_WRITE_UNLOCK=y -CONFIG_INLINE_WRITE_UNLOCK_IRQ=y -CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y -CONFIG_MUTEX_SPIN_ON_OWNER=y -CONFIG_RWSEM_SPIN_ON_OWNER=y -CONFIG_LOCK_SPIN_ON_OWNER=y -CONFIG_FREEZER=y +CONFIG_ARM=y +CONFIG_ARM_HAS_SG_CHAIN=y +CONFIG_ARM_DMA_USE_IOMMU=y +CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8 +CONFIG_MIGHT_HAVE_PCI=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_NO_IOPORT_MAP=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_ARCH_HAS_BANDGAP=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_FIQ=y +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_GENERIC_BUG=y +CONFIG_PGTABLE_LEVELS=2 # # System Type # CONFIG_MMU=y +CONFIG_ARCH_MMAP_RND_BITS_MIN=8 +CONFIG_ARCH_MMAP_RND_BITS_MAX=16 CONFIG_ARCH_MULTIPLATFORM=y # CONFIG_ARCH_EBSA110 is not set # CONFIG_ARCH_EP93XX is not set @@ -494,12 +354,12 @@ CONFIG_SOC_IMX6Q=y # CONFIG_SOC_IMX6SLL is not set # CONFIG_SOC_IMX6SX is not set # CONFIG_SOC_IMX6UL is not set -# CONFIG_SOC_IMX7D is not set # CONFIG_SOC_LS1021A is not set # # Cortex-A/Cortex-M asymmetric multiprocessing platforms # +# CONFIG_SOC_IMX7D is not set # CONFIG_SOC_VF610 is not set # CONFIG_ARCH_KEYSTONE is not set # CONFIG_ARCH_MEDIATEK is not set @@ -653,7 +513,6 @@ CONFIG_ARM_HEAVY_MB=y CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y CONFIG_DEBUG_ALIGN_RODATA=y CONFIG_IWMMXT=y -CONFIG_MULTI_IRQ_HANDLER=y CONFIG_PJ4B_ERRATA_4742=y CONFIG_ARM_ERRATA_430973=y CONFIG_ARM_ERRATA_643719=y @@ -715,6 +574,7 @@ CONFIG_PCI_MVEBU=y CONFIG_PCI_TEGRA=y CONFIG_PCI_HOST_COMMON=y CONFIG_PCI_HOST_GENERIC=y +# CONFIG_PCIE_XILINX is not set # CONFIG_PCI_V3_SEMI is not set # CONFIG_PCIE_ALTERA is not set CONFIG_PCIE_ROCKCHIP=y @@ -766,9 +626,6 @@ CONFIG_NR_CPUS=8 CONFIG_HOTPLUG_CPU=y CONFIG_ARM_PSCI=y CONFIG_ARCH_NR_GPIO=2048 -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_VOLUNTARY=y -# CONFIG_PREEMPT is not set CONFIG_HZ_FIXED=0 # CONFIG_HZ_100 is not set # CONFIG_HZ_200 is not set @@ -790,38 +647,6 @@ CONFIG_CPU_SW_DOMAIN_PAN=y CONFIG_HW_PERF_EVENTS=y CONFIG_ARCH_WANT_GENERAL_HUGETLB=y # CONFIG_ARM_MODULE_PLTS is not set -CONFIG_FLATMEM=y -CONFIG_FLAT_NODE_MEM_MAP=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_NO_BOOTMEM=y -CONFIG_MEMORY_ISOLATION=y -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_MEMORY_BALLOON=y -CONFIG_BALLOON_COMPACTION=y -CONFIG_COMPACTION=y -CONFIG_MIGRATION=y -CONFIG_BOUNCE=y -CONFIG_MMU_NOTIFIER=y -CONFIG_KSM=y -CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 -# CONFIG_CLEANCACHE is not set -CONFIG_FRONTSWAP=y -CONFIG_CMA=y -# CONFIG_CMA_DEBUG is not set -# CONFIG_CMA_DEBUGFS is not set -CONFIG_CMA_AREAS=7 -CONFIG_ZSWAP=y -CONFIG_ZPOOL=y -CONFIG_ZBUD=y -# CONFIG_Z3FOLD is not set -CONFIG_ZSMALLOC=m -# CONFIG_PGTABLE_MAPPING is not set -# CONFIG_ZSMALLOC_STAT is not set -CONFIG_GENERIC_EARLY_IOREMAP=y -# CONFIG_IDLE_PAGE_TRACKING is not set -CONFIG_FRAME_VECTOR=y -# CONFIG_PERCPU_STATS is not set -# CONFIG_GUP_BENCHMARK is not set CONFIG_FORCE_MAX_ZONEORDER=12 CONFIG_ALIGNMENT_TRAP=y # CONFIG_UACCESS_WITH_MEMCPY is not set @@ -910,18 +735,6 @@ CONFIG_VFPv3=y CONFIG_NEON=y # CONFIG_KERNEL_MODE_NEON is not set -# -# Userspace binary formats -# -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_ELF_FDPIC is not set -CONFIG_ELFCORE=y -CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y -CONFIG_BINFMT_SCRIPT=y -# CONFIG_BINFMT_FLAT is not set -CONFIG_BINFMT_MISC=m -CONFIG_COREDUMP=y - # # Power management options # @@ -950,6 +763,241 @@ CONFIG_CPU_PM=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ARM_CPU_SUSPEND=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y + +# +# Firmware Drivers +# +CONFIG_ARM_PSCI_FW=y +CONFIG_ARM_SCMI_PROTOCOL=y +CONFIG_ARM_SCMI_POWER_DOMAIN=m +# CONFIG_ARM_SCPI_PROTOCOL is not set +# CONFIG_FIRMWARE_MEMMAP is not set +CONFIG_DMIID=y +CONFIG_DMI_SYSFS=y +CONFIG_RASPBERRYPI_FIRMWARE=y +CONFIG_HAVE_ARM_SMCCC=y +# CONFIG_GOOGLE_FIRMWARE is not set + +# +# EFI (Extensible Firmware Interface) Support +# +CONFIG_EFI_VARS=m +CONFIG_EFI_ESRT=y +CONFIG_EFI_PARAMS_FROM_FDT=y +CONFIG_EFI_RUNTIME_WRAPPERS=y +CONFIG_EFI_ARMSTUB=y +CONFIG_EFI_ARMSTUB_DTB_LOADER=y +# CONFIG_EFI_BOOTLOADER_CONTROL is not set +# CONFIG_EFI_CAPSULE_LOADER is not set +# CONFIG_EFI_TEST is not set +CONFIG_RESET_ATTACK_MITIGATION=y + +# +# Tegra firmware driver +# +# CONFIG_TEGRA_IVC is not set +# CONFIG_ARM_CRYPTO is not set +# CONFIG_VIRTUALIZATION is not set + +# +# General architecture-dependent options +# +CONFIG_CRASH_CORE=y +CONFIG_KEXEC_CORE=y +CONFIG_OPROFILE=m +CONFIG_HAVE_OPROFILE=y +CONFIG_KPROBES=y +CONFIG_JUMP_LABEL=y +# CONFIG_STATIC_KEYS_SELFTEST is not set +CONFIG_OPTPROBES=y +CONFIG_UPROBES=y +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_KRETPROBES=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_OPTPROBES=y +CONFIG_HAVE_NMI=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_GENERIC_IDLE_POLL_SETUP=y +CONFIG_ARCH_HAS_FORTIFY_SOURCE=y +CONFIG_ARCH_HAS_SET_MEMORY=y +CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_RSEQ=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_PERF_REGS=y +CONFIG_HAVE_PERF_USER_STACK_DUMP=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_SECCOMP_FILTER=y +CONFIG_HAVE_STACKPROTECTOR=y +CONFIG_CC_HAS_STACKPROTECTOR_NONE=y +CONFIG_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR_STRONG=y +CONFIG_HAVE_CONTEXT_TRACKING=y +CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y +CONFIG_HAVE_MOD_ARCH_SPECIFIC=y +CONFIG_MODULES_USE_ELF_REL=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_HAVE_ARCH_MMAP_RND_BITS=y +CONFIG_HAVE_EXIT_THREAD=y +CONFIG_ARCH_MMAP_RND_BITS=8 +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND3=y +CONFIG_OLD_SIGACTION=y +CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y +CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT=y +CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y +CONFIG_STRICT_KERNEL_RWX=y +CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y +CONFIG_STRICT_MODULE_RWX=y +CONFIG_ARCH_HAS_PHYS_TO_DMA=y +CONFIG_REFCOUNT_FULL=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +CONFIG_PLUGIN_HOSTCC="" +CONFIG_HAVE_GCC_PLUGINS=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +# CONFIG_MODULE_SIG is not set +# CONFIG_MODULE_COMPRESS is not set +# CONFIG_TRIM_UNUSED_KSYMS is not set +CONFIG_MODULES_TREE_LOOKUP=y +CONFIG_BLOCK=y +CONFIG_LBDAF=y +CONFIG_BLK_SCSI_REQUEST=y +CONFIG_BLK_DEV_BSG=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BLK_DEV_INTEGRITY=y +# CONFIG_BLK_DEV_ZONED is not set +CONFIG_BLK_DEV_THROTTLING=y +# CONFIG_BLK_DEV_THROTTLING_LOW is not set +# CONFIG_BLK_CMDLINE_PARSER is not set +CONFIG_BLK_WBT=y +# CONFIG_BLK_CGROUP_IOLATENCY is not set +# CONFIG_BLK_WBT_SQ is not set +CONFIG_BLK_WBT_MQ=y +CONFIG_BLK_DEBUG_FS=y +# CONFIG_BLK_SED_OPAL is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_AIX_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +CONFIG_KARMA_PARTITION=y +CONFIG_EFI_PARTITION=y +# CONFIG_SYSV68_PARTITION is not set +# CONFIG_CMDLINE_PARTITION is not set +CONFIG_BLK_MQ_PCI=y +CONFIG_BLK_MQ_VIRTIO=y +CONFIG_BLK_MQ_RDMA=y + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +CONFIG_CFQ_GROUP_IOSCHED=y +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" +CONFIG_MQ_IOSCHED_DEADLINE=y +CONFIG_MQ_IOSCHED_KYBER=m +CONFIG_IOSCHED_BFQ=m +CONFIG_BFQ_GROUP_IOSCHED=y +CONFIG_PADATA=y +CONFIG_ASN1=y +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_INLINE_READ_UNLOCK=y +CONFIG_INLINE_READ_UNLOCK_IRQ=y +CONFIG_INLINE_WRITE_UNLOCK=y +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_RWSEM_SPIN_ON_OWNER=y +CONFIG_LOCK_SPIN_ON_OWNER=y +CONFIG_FREEZER=y + +# +# Executable file formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_BINFMT_ELF_FDPIC is not set +CONFIG_ELFCORE=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CONFIG_BINFMT_SCRIPT=y +# CONFIG_BINFMT_FLAT is not set +CONFIG_BINFMT_MISC=m +CONFIG_COREDUMP=y + +# +# Memory Management options +# +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_NO_BOOTMEM=y +CONFIG_MEMORY_ISOLATION=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +CONFIG_MEMORY_BALLOON=y +CONFIG_BALLOON_COMPACTION=y +CONFIG_COMPACTION=y +CONFIG_MIGRATION=y +CONFIG_BOUNCE=y +CONFIG_MMU_NOTIFIER=y +CONFIG_KSM=y +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +# CONFIG_CLEANCACHE is not set +CONFIG_FRONTSWAP=y +CONFIG_CMA=y +# CONFIG_CMA_DEBUG is not set +# CONFIG_CMA_DEBUGFS is not set +CONFIG_CMA_AREAS=7 +CONFIG_ZSWAP=y +CONFIG_ZPOOL=y +CONFIG_ZBUD=y +# CONFIG_Z3FOLD is not set +CONFIG_ZSMALLOC=m +# CONFIG_PGTABLE_MAPPING is not set +# CONFIG_ZSMALLOC_STAT is not set +CONFIG_GENERIC_EARLY_IOREMAP=y +# CONFIG_IDLE_PAGE_TRACKING is not set +CONFIG_FRAME_VECTOR=y +# CONFIG_PERCPU_STATS is not set +# CONFIG_GUP_BENCHMARK is not set CONFIG_NET=y CONFIG_NET_INGRESS=y CONFIG_NET_EGRESS=y @@ -965,6 +1013,7 @@ CONFIG_UNIX_DIAG=m CONFIG_XFRM=y CONFIG_XFRM_ALGO=m CONFIG_XFRM_USER=m +CONFIG_XFRM_INTERFACE=m CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y # CONFIG_XFRM_STATISTICS is not set @@ -1081,6 +1130,7 @@ CONFIG_NETFILTER_FAMILY_ARP=y CONFIG_NETFILTER_NETLINK_ACCT=m CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NETFILTER_NETLINK_OSF=m CONFIG_NF_CONNTRACK=m CONFIG_NF_LOG_COMMON=m # CONFIG_NF_LOG_NETDEV is not set @@ -1124,7 +1174,6 @@ CONFIG_NF_NAT_SIP=m CONFIG_NF_NAT_TFTP=m CONFIG_NF_NAT_REDIRECT=y CONFIG_NETFILTER_SYNPROXY=m -CONFIG_NF_OSF=m CONFIG_NF_TABLES=m CONFIG_NF_TABLES_SET=m # CONFIG_NF_TABLES_INET is not set @@ -1139,6 +1188,7 @@ CONFIG_NFT_LIMIT=m CONFIG_NFT_MASQ=m CONFIG_NFT_REDIR=m CONFIG_NFT_NAT=m +CONFIG_NFT_TUNNEL=m # CONFIG_NFT_OBJREF is not set CONFIG_NFT_QUEUE=m CONFIG_NFT_QUOTA=m @@ -1146,6 +1196,8 @@ CONFIG_NFT_REJECT=m CONFIG_NFT_COMPAT=m CONFIG_NFT_HASH=m CONFIG_NFT_SOCKET=m +CONFIG_NFT_OSF=m +CONFIG_NFT_TPROXY=m CONFIG_NF_FLOW_TABLE_INET=m CONFIG_NF_FLOW_TABLE=m CONFIG_NETFILTER_XTABLES=m @@ -1307,7 +1359,6 @@ CONFIG_IP_VS_PE_SIP=m # IP: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV4=m -CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_SOCKET_IPV4=m CONFIG_NF_TPROXY_IPV4=m # CONFIG_NF_TABLES_IPV4 is not set @@ -1348,8 +1399,6 @@ CONFIG_IP_NF_ARP_MANGLE=m # # IPv6: Netfilter Configuration # -CONFIG_NF_DEFRAG_IPV6=m -CONFIG_NF_CONNTRACK_IPV6=m CONFIG_NF_SOCKET_IPV6=m CONFIG_NF_TPROXY_IPV6=m # CONFIG_NF_TABLES_IPV6 is not set @@ -1380,6 +1429,7 @@ CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_NAT=m CONFIG_IP6_NF_TARGET_MASQUERADE=m CONFIG_IP6_NF_TARGET_NPT=m +CONFIG_NF_DEFRAG_IPV6=m # CONFIG_NF_TABLES_BRIDGE is not set CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m @@ -1511,15 +1561,18 @@ CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_CBS=m +CONFIG_NET_SCH_ETF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_DRR=m CONFIG_NET_SCH_MQPRIO=m +CONFIG_NET_SCH_SKBPRIO=m CONFIG_NET_SCH_CHOKE=m CONFIG_NET_SCH_QFQ=m CONFIG_NET_SCH_CODEL=m CONFIG_NET_SCH_FQ_CODEL=m +CONFIG_NET_SCH_CAKE=m CONFIG_NET_SCH_FQ=m CONFIG_NET_SCH_HHF=m CONFIG_NET_SCH_PIE=m @@ -1636,7 +1689,6 @@ CONFIG_CAN_VCAN=m CONFIG_CAN_SLCAN=m CONFIG_CAN_DEV=m CONFIG_CAN_CALC_BITTIMING=y -# CONFIG_CAN_LEDS is not set # CONFIG_CAN_FLEXCAN is not set # CONFIG_CAN_GRCAN is not set CONFIG_CAN_SUN4I=m @@ -1667,13 +1719,14 @@ CONFIG_CAN_SOFTING=m # # CAN USB interfaces # +CONFIG_CAN_8DEV_USB=m CONFIG_CAN_EMS_USB=m CONFIG_CAN_ESD_USB2=m CONFIG_CAN_GS_USB=m CONFIG_CAN_KVASER_USB=m -CONFIG_CAN_PEAK_USB=m -CONFIG_CAN_8DEV_USB=m # CONFIG_CAN_MCBA_USB is not set +CONFIG_CAN_PEAK_USB=m +CONFIG_CAN_UCAN=m # CONFIG_CAN_DEBUG_DEVICES is not set CONFIG_BT=m CONFIG_BT_BREDR=y @@ -1861,12 +1914,14 @@ CONFIG_MVEBU_MBUS=y CONFIG_OMAP_INTERCONNECT=y CONFIG_OMAP_OCP2SCP=m # CONFIG_SIMPLE_PM_BUS is not set +CONFIG_SUN50I_DE2_BUS=y CONFIG_SUNXI_RSB=y # CONFIG_TEGRA_GMI is not set CONFIG_TI_SYSC=y CONFIG_VEXPRESS_CONFIG=y CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y +CONFIG_GNSS=m CONFIG_MTD=y # CONFIG_MTD_TESTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set @@ -1938,6 +1993,7 @@ CONFIG_MTD_SST25L=m # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOCG3 is not set +CONFIG_MTD_NAND_CORE=m CONFIG_MTD_ONENAND=y CONFIG_MTD_ONENAND_VERIFY_WRITE=y # CONFIG_MTD_ONENAND_GENERIC is not set @@ -1968,6 +2024,8 @@ CONFIG_MTD_NAND_GPMI_NAND=m CONFIG_MTD_NAND_ORION=m CONFIG_MTD_NAND_MXC=m CONFIG_MTD_NAND_SUNXI=m +CONFIG_MTD_NAND_TEGRA=m +CONFIG_MTD_SPI_NAND=m # # LPDDR & LPDDR2 PCM memory drivers @@ -2500,8 +2558,10 @@ CONFIG_NET_DSA_MV88E6XXX=m CONFIG_NET_DSA_MV88E6XXX_GLOBAL2=y # CONFIG_NET_DSA_MV88E6XXX_PTP is not set # CONFIG_NET_DSA_QCA8K is not set +CONFIG_NET_DSA_REALTEK_SMI=m # CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set # CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set +CONFIG_NET_DSA_VITESSE_VSC73XX=m CONFIG_ETHERNET=y CONFIG_MDIO=m CONFIG_NET_VENDOR_3COM=y @@ -2543,9 +2603,10 @@ CONFIG_BNX2X=m CONFIG_BNXT=m CONFIG_BNXT_FLOWER_OFFLOAD=y # CONFIG_BNXT_DCB is not set +CONFIG_BNXT_HWMON=y CONFIG_NET_VENDOR_BROCADE=y CONFIG_BNA=m -CONFIG_NET_CADENCE=y +CONFIG_NET_VENDOR_CADENCE=y # CONFIG_MACB is not set CONFIG_NET_CALXEDA_XGMAC=m CONFIG_NET_VENDOR_CAVIUM=y @@ -2585,6 +2646,10 @@ CONFIG_SUNDANCE=m CONFIG_NET_VENDOR_EMULEX=y CONFIG_BE2NET=m CONFIG_BE2NET_HWMON=y +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y +CONFIG_BE2NET_LANCER=y +CONFIG_BE2NET_SKYHAWK=y CONFIG_NET_VENDOR_EZCHIP=y # CONFIG_EZCHIP_NPS_MANAGEMENT_ENET is not set CONFIG_NET_VENDOR_FARADAY=y @@ -2624,10 +2689,6 @@ CONFIG_I40E_DCB=y CONFIG_I40EVF=m # CONFIG_ICE is not set # CONFIG_FM10K is not set -CONFIG_NET_VENDOR_EXAR=y -CONFIG_S2IO=m -CONFIG_VXGE=m -# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_JME=m CONFIG_NET_VENDOR_MARVELL=y # CONFIG_MV643XX_ETH is not set @@ -2649,6 +2710,8 @@ CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX5_CORE=m # CONFIG_MLX5_FPGA is not set CONFIG_MLX5_CORE_EN=y +CONFIG_MLX5_EN_ARFS=y +CONFIG_MLX5_EN_RXNFC=y CONFIG_MLX5_MPFS=y CONFIG_MLX5_ESWITCH=y CONFIG_MLX5_CORE_EN_DCB=y @@ -2673,6 +2736,10 @@ CONFIG_FEALNX=m CONFIG_NET_VENDOR_NATSEMI=y CONFIG_NATSEMI=m CONFIG_NS83820=m +CONFIG_NET_VENDOR_NETERION=y +CONFIG_S2IO=m +CONFIG_VXGE=m +# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_NET_VENDOR_NETRONOME=y CONFIG_NFP=m # CONFIG_NFP_APP_FLOWER is not set @@ -2686,7 +2753,7 @@ CONFIG_NET_VENDOR_NVIDIA=y # CONFIG_FORCEDETH is not set CONFIG_NET_VENDOR_OKI=y # CONFIG_ETHOC is not set -CONFIG_NET_PACKET_ENGINE=y +CONFIG_NET_VENDOR_PACKET_ENGINES=y CONFIG_HAMACHI=m CONFIG_YELLOWFIN=m CONFIG_NET_VENDOR_QLOGIC=y @@ -3052,7 +3119,11 @@ CONFIG_MWL8K=m CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=m CONFIG_MT76_CORE=m +CONFIG_MT76_USB=m +CONFIG_MT76x2_COMMON=m +CONFIG_MT76x0U=m CONFIG_MT76x2E=m +CONFIG_MT76x2U=m CONFIG_WLAN_VENDOR_RALINK=y CONFIG_RT2X00=m CONFIG_RT2400PCI=m @@ -3149,6 +3220,7 @@ CONFIG_IEEE802154_ATUSB=m CONFIG_IEEE802154_ADF7242=m # CONFIG_IEEE802154_CA8210 is not set # CONFIG_IEEE802154_MCR20A is not set +# CONFIG_IEEE802154_HWSIM is not set CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_NETDEV_BACKEND=m # CONFIG_VMXNET3 is not set @@ -3259,11 +3331,13 @@ CONFIG_TOUCHSCREEN_AD7877=m CONFIG_TOUCHSCREEN_AD7879=m CONFIG_TOUCHSCREEN_AD7879_I2C=m # CONFIG_TOUCHSCREEN_AD7879_SPI is not set +CONFIG_TOUCHSCREEN_ADC=m # CONFIG_TOUCHSCREEN_AR1021_I2C is not set CONFIG_TOUCHSCREEN_ATMEL_MXT=m # CONFIG_TOUCHSCREEN_ATMEL_MXT_T37 is not set # CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set # CONFIG_TOUCHSCREEN_BU21013 is not set +# CONFIG_TOUCHSCREEN_BU21029 is not set # CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set # CONFIG_TOUCHSCREEN_CY8CTMG110 is not set # CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set @@ -3773,6 +3847,7 @@ CONFIG_PINCTRL_TEGRA_XUSB=y CONFIG_PINCTRL_TI_IODELAY=y CONFIG_PINCTRL_WMT=y CONFIG_PINCTRL_WM8850=y +CONFIG_PINCTRL_MADERA=m CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 @@ -3825,6 +3900,7 @@ CONFIG_GPIO_PCF857X=m CONFIG_GPIO_BD9571MWV=m CONFIG_GPIO_DA9052=m # CONFIG_HTC_EGPIO is not set +CONFIG_GPIO_MADERA=m CONFIG_GPIO_PALMAS=y # CONFIG_GPIO_STMPE is not set CONFIG_GPIO_TWL4030=y @@ -3880,7 +3956,6 @@ CONFIG_W1_SLAVE_DS2431=m CONFIG_W1_SLAVE_DS2433=m # CONFIG_W1_SLAVE_DS2433_CRC is not set # CONFIG_W1_SLAVE_DS2438 is not set -# CONFIG_W1_SLAVE_DS2760 is not set # CONFIG_W1_SLAVE_DS2780 is not set # CONFIG_W1_SLAVE_DS2781 is not set # CONFIG_W1_SLAVE_DS28E04 is not set @@ -3907,6 +3982,8 @@ CONFIG_POWER_SUPPLY=y # CONFIG_APM_POWER is not set # CONFIG_GENERIC_ADC_BATTERY is not set # CONFIG_TEST_POWER is not set +CONFIG_CHARGER_ADP5061=m +# CONFIG_BATTERY_DS2760 is not set # CONFIG_BATTERY_DS2780 is not set # CONFIG_BATTERY_DS2781 is not set # CONFIG_BATTERY_DS2782 is not set @@ -3944,6 +4021,7 @@ CONFIG_CHARGER_BQ2415X=m # CONFIG_CHARGER_SMB347 is not set # CONFIG_BATTERY_GAUGE_LTC2941 is not set # CONFIG_CHARGER_RT9455 is not set +CONFIG_CHARGER_CROS_USBPD=m CONFIG_HWMON=y CONFIG_HWMON_VID=m # CONFIG_HWMON_DEBUG_CHIP is not set @@ -4036,9 +4114,11 @@ CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775=m # CONFIG_SENSORS_NCT7802 is not set # CONFIG_SENSORS_NCT7904 is not set +# CONFIG_SENSORS_NPCM7XX is not set # CONFIG_SENSORS_PCF8591 is not set # CONFIG_PMBUS is not set CONFIG_SENSORS_PWM_FAN=m +CONFIG_SENSORS_RASPBERRYPI_HWMON=m # CONFIG_SENSORS_SHT15 is not set CONFIG_SENSORS_SHT21=m # CONFIG_SENSORS_SHT3x is not set @@ -4197,8 +4277,6 @@ CONFIG_SSB_PCIHOST=y CONFIG_SSB_B43_PCI_BRIDGE=y CONFIG_SSB_SDIOHOST_POSSIBLE=y CONFIG_SSB_SDIOHOST=y -# CONFIG_SSB_SILENT is not set -# CONFIG_SSB_DEBUG is not set CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=y # CONFIG_SSB_DRIVER_GPIO is not set @@ -4233,9 +4311,13 @@ CONFIG_MFD_AXP20X=y CONFIG_MFD_AXP20X_I2C=y # CONFIG_MFD_AXP20X_RSB is not set CONFIG_MFD_CROS_EC=m -# CONFIG_MFD_CROS_EC_I2C is not set -CONFIG_MFD_CROS_EC_SPI=m CONFIG_MFD_CROS_EC_CHARDEV=m +CONFIG_MFD_MADERA=m +CONFIG_MFD_MADERA_I2C=m +CONFIG_MFD_MADERA_SPI=m +# CONFIG_MFD_CS47L35 is not set +# CONFIG_MFD_CS47L85 is not set +# CONFIG_MFD_CS47L90 is not set # CONFIG_MFD_ASIC3 is not set # CONFIG_PMIC_DA903X is not set CONFIG_PMIC_DA9052=y @@ -4336,6 +4418,7 @@ CONFIG_TWL6040_CORE=y # CONFIG_MFD_WM831X_SPI is not set # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8994 is not set +CONFIG_MFD_ROHM_BD718XX=m CONFIG_MFD_VEXPRESS_SYSREG=y CONFIG_REGULATOR=y # CONFIG_REGULATOR_DEBUG is not set @@ -4348,6 +4431,7 @@ CONFIG_REGULATOR_ACT8865=m CONFIG_REGULATOR_ANATOP=m CONFIG_REGULATOR_AS3722=y CONFIG_REGULATOR_AXP20X=m +CONFIG_REGULATOR_BD718XX=m CONFIG_REGULATOR_BD9571MWV=m CONFIG_REGULATOR_DA9052=m # CONFIG_REGULATOR_DA9210 is not set @@ -4592,7 +4676,6 @@ CONFIG_DVB_USB_PCTV452E=m CONFIG_DVB_USB_DW2102=m CONFIG_DVB_USB_CINERGY_T2=m CONFIG_DVB_USB_DTV5100=m -CONFIG_DVB_USB_FRIIO=m CONFIG_DVB_USB_AZ6027=m CONFIG_DVB_USB_TECHNISAT_USB2=m CONFIG_DVB_USB_V2=m @@ -4740,6 +4823,7 @@ CONFIG_VIDEO_VIVID=m CONFIG_VIDEO_VIVID_CEC=y CONFIG_VIDEO_VIVID_MAX_DEVS=64 # CONFIG_VIDEO_VIM2M is not set +# CONFIG_VIDEO_VICODEC is not set # CONFIG_DVB_PLATFORM_DRIVERS is not set # CONFIG_CEC_PLATFORM_DRIVERS is not set # CONFIG_SDR_PLATFORM_DRIVERS is not set @@ -5106,6 +5190,7 @@ CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100 CONFIG_DRM_LOAD_EDID_FIRMWARE=y +# CONFIG_DRM_DP_CEC is not set CONFIG_DRM_TTM=m CONFIG_DRM_GEM_CMA_HELPER=y CONFIG_DRM_KMS_CMA_HELPER=y @@ -5133,6 +5218,7 @@ CONFIG_DRM_I2C_NXP_TDA9950=m # # CONFIG_DRM_NOUVEAU is not set CONFIG_DRM_VGEM=m +# CONFIG_DRM_VKMS is not set CONFIG_DRM_EXYNOS=m # @@ -5225,6 +5311,7 @@ CONFIG_DRM_PANEL_ARM_VERSATILE=m # CONFIG_DRM_PANEL_LVDS is not set CONFIG_DRM_PANEL_SIMPLE=m CONFIG_DRM_PANEL_ILITEK_IL9322=m +CONFIG_DRM_PANEL_ILITEK_ILI9881C=m # CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set # CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set # CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set @@ -5403,6 +5490,7 @@ CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set # CONFIG_LOGO is not set CONFIG_SOUND=m CONFIG_SOUND_OSS_CORE=y @@ -5692,10 +5780,10 @@ CONFIG_SND_SOC_ALC5632=m # CONFIG_SND_SOC_CS43130 is not set # CONFIG_SND_SOC_CS4349 is not set # CONFIG_SND_SOC_CS53L30 is not set -# CONFIG_SND_SOC_DIO2125 is not set CONFIG_SND_SOC_DMIC=m CONFIG_SND_SOC_HDMI_CODEC=m # CONFIG_SND_SOC_ES7134 is not set +# CONFIG_SND_SOC_ES7241 is not set # CONFIG_SND_SOC_ES8316 is not set CONFIG_SND_SOC_ES8328=m CONFIG_SND_SOC_ES8328_I2C=m @@ -5727,6 +5815,7 @@ CONFIG_SND_SOC_RT5645=m CONFIG_SND_SOC_RT5677=m CONFIG_SND_SOC_RT5677_SPI=m CONFIG_SND_SOC_SGTL5000=m +# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set # CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set # CONFIG_SND_SOC_SPDIF is not set # CONFIG_SND_SOC_SSM2305 is not set @@ -5819,6 +5908,7 @@ CONFIG_HID_BETOP_FF=m CONFIG_HID_CHERRY=m CONFIG_HID_CHICONY=m CONFIG_HID_CORSAIR=m +# CONFIG_HID_COUGAR is not set CONFIG_HID_PRODIKEYS=m CONFIG_HID_CMEDIA=m CONFIG_HID_CP2112=m @@ -6061,6 +6151,7 @@ CONFIG_USB_DWC3_DUAL_ROLE=y # CONFIG_USB_DWC3_OMAP=m CONFIG_USB_DWC3_EXYNOS=m +CONFIG_USB_DWC3_HAPS=m CONFIG_USB_DWC3_OF_SIMPLE=m CONFIG_USB_DWC2=m # CONFIG_USB_DWC2_HOST is not set @@ -6291,6 +6382,11 @@ CONFIG_TYPEC_UCSI=m # USB Type-C Multiplexer/DeMultiplexer Switch support # # CONFIG_TYPEC_MUX_PI3USB30532 is not set + +# +# USB Type-C Alternate Mode drivers +# +# CONFIG_TYPEC_DP_ALTMODE is not set CONFIG_USB_LED_TRIG=y CONFIG_USB_ULPI_BUS=m CONFIG_UWB=m @@ -6319,6 +6415,7 @@ CONFIG_MMC_SDHCI_PLTFM=m # CONFIG_MMC_SDHCI_OF_ARASAN is not set # CONFIG_MMC_SDHCI_OF_AT91 is not set # CONFIG_MMC_SDHCI_OF_ESDHC is not set +# CONFIG_MMC_SDHCI_OF_DWCMSHC is not set # CONFIG_MMC_SDHCI_CADENCE is not set CONFIG_MMC_SDHCI_ESDHC_IMX=m CONFIG_MMC_SDHCI_TEGRA=m @@ -6504,7 +6601,6 @@ CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_DRV_ABX80X is not set CONFIG_RTC_DRV_AS3722=y CONFIG_RTC_DRV_DS1307=y -CONFIG_RTC_DRV_DS1307_HWMON=y # CONFIG_RTC_DRV_DS1307_CENTURY is not set # CONFIG_RTC_DRV_DS1374 is not set # CONFIG_RTC_DRV_DS1672 is not set @@ -6691,7 +6787,7 @@ CONFIG_VIRTIO_MMIO=m # Xen driver support # CONFIG_XEN_BALLOON=y -CONFIG_XEN_SCRUB_PAGES=y +CONFIG_XEN_SCRUB_PAGES_DEFAULT=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_BACKEND=y CONFIG_XENFS=m @@ -6700,6 +6796,7 @@ CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=m CONFIG_XEN_GRANT_DEV_ALLOC=m +# CONFIG_XEN_GRANT_DMA_ALLOC is not set CONFIG_SWIOTLB_XEN=y CONFIG_XEN_PVCALLS_FRONTEND=m # CONFIG_XEN_PVCALLS_BACKEND is not set @@ -6759,11 +6856,6 @@ CONFIG_RTLWIFI_DEBUG_ST=y # CONFIG_AD9832 is not set # CONFIG_AD9834 is not set -# -# Digital gyroscope sensors -# -# CONFIG_ADIS16060 is not set - # # Network Analyzer, Impedance Converters # @@ -6821,17 +6913,28 @@ CONFIG_BCM_VIDEOCORE=y # CONFIG_BCM2835_VCHIQ is not set # CONFIG_SND_BCM2835 is not set # CONFIG_VIDEO_BCM2835 is not set - -# -# USB Power Delivery and Type-C drivers -# CONFIG_PI433=m CONFIG_MTK_MMC=m # CONFIG_MTK_AEE_KDUMP is not set # CONFIG_MTK_MMC_CD_POLL is not set + +# +# Gasket devices +# +# CONFIG_XIL_AXIS_FIFO is not set +CONFIG_EROFS_FS=m +# CONFIG_EROFS_FS_DEBUG is not set +CONFIG_EROFS_FS_XATTR=y +CONFIG_EROFS_FS_POSIX_ACL=y +CONFIG_EROFS_FS_SECURITY=y +# CONFIG_EROFS_FS_USE_VM_MAP_RAM is not set +# CONFIG_EROFS_FAULT_INJECTION is not set +# CONFIG_EROFS_FS_ZIP is not set # CONFIG_GOLDFISH is not set CONFIG_CHROME_PLATFORMS=y CONFIG_CROS_EC_CTL=m +CONFIG_CROS_EC_I2C=m +CONFIG_CROS_EC_SPI=m CONFIG_CROS_EC_PROTO=y # CONFIG_MELLANOX_PLATFORM is not set CONFIG_CLKDEV_LOOKUP=y @@ -6847,6 +6950,7 @@ CONFIG_CLK_SP810=y CONFIG_CLK_VEXPRESS_OSC=y # CONFIG_CLK_HSDK is not set CONFIG_COMMON_CLK_MAX77686=m +CONFIG_COMMON_CLK_MAX9485=m CONFIG_COMMON_CLK_RK808=m CONFIG_COMMON_CLK_SCMI=m # CONFIG_COMMON_CLK_SI5351 is not set @@ -6917,6 +7021,7 @@ CONFIG_CLKSRC_VERSATILE=y CONFIG_CLKSRC_IMX_GPT=y CONFIG_MAILBOX=y # CONFIG_ARM_MHU is not set +CONFIG_IMX_MBOX=m # CONFIG_PLATFORM_MHU is not set CONFIG_PL320_MBOX=y CONFIG_OMAP2PLUS_MBOX=y @@ -6934,6 +7039,8 @@ CONFIG_IOMMU_SUPPORT=y # # CONFIG_IOMMU_IO_PGTABLE_LPAE is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set +# CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_OF_IOMMU=y CONFIG_OMAP_IOMMU=y # CONFIG_OMAP_IOMMU_DEBUG is not set @@ -6968,6 +7075,10 @@ CONFIG_TEGRA_IOMMU_SMMU=y CONFIG_RASPBERRYPI_POWER=y # CONFIG_SOC_BRCMSTB is not set +# +# NXP/Freescale QorIQ SoC drivers +# + # # i.MX SoC drivers # @@ -7039,7 +7150,7 @@ CONFIG_TEGRA_MC=y CONFIG_TEGRA124_EMC=y CONFIG_IIO=m CONFIG_IIO_BUFFER=y -# CONFIG_IIO_BUFFER_CB is not set +CONFIG_IIO_BUFFER_CB=m # CONFIG_IIO_BUFFER_HW_CONSUMER is not set CONFIG_IIO_KFIFO_BUF=m CONFIG_IIO_TRIGGERED_BUFFER=m @@ -7152,6 +7263,7 @@ CONFIG_VIPERBOARD_ADC=m # Chemical Sensors # # CONFIG_ATLAS_PH_SENSOR is not set +# CONFIG_BME680 is not set CONFIG_CCS811=m # CONFIG_IAQCORE is not set # CONFIG_VZ89X is not set @@ -7192,6 +7304,7 @@ CONFIG_IIO_ST_SENSORS_CORE=m # CONFIG_AD5686_SPI is not set # CONFIG_AD5696_I2C is not set # CONFIG_AD5755 is not set +# CONFIG_AD5758 is not set # CONFIG_AD5761 is not set # CONFIG_AD5764 is not set # CONFIG_AD5791 is not set @@ -7303,6 +7416,7 @@ CONFIG_HID_SENSOR_PROX=m # CONFIG_MAX44000 is not set # CONFIG_OPT3001 is not set # CONFIG_PA12203001 is not set +# CONFIG_SI1133 is not set # CONFIG_SI1145 is not set # CONFIG_STK3310 is not set # CONFIG_ST_UVIS25 is not set @@ -7392,6 +7506,7 @@ CONFIG_HID_SENSOR_PRESS=m # # Proximity and distance sensors # +# CONFIG_ISL29501 is not set # CONFIG_LIDAR_LITE_V2 is not set # CONFIG_RFD77402 is not set # CONFIG_SRF04 is not set @@ -7532,38 +7647,6 @@ CONFIG_PM_OPP=y # CONFIG_SIOX is not set # CONFIG_SLIMBUS is not set -# -# Firmware Drivers -# -CONFIG_ARM_PSCI_FW=y -CONFIG_ARM_SCMI_PROTOCOL=y -CONFIG_ARM_SCMI_POWER_DOMAIN=m -# CONFIG_ARM_SCPI_PROTOCOL is not set -# CONFIG_FIRMWARE_MEMMAP is not set -CONFIG_DMIID=y -CONFIG_DMI_SYSFS=y -CONFIG_RASPBERRYPI_FIRMWARE=y -CONFIG_HAVE_ARM_SMCCC=y -# CONFIG_GOOGLE_FIRMWARE is not set - -# -# EFI (Extensible Firmware Interface) Support -# -CONFIG_EFI_VARS=m -CONFIG_EFI_ESRT=y -CONFIG_EFI_PARAMS_FROM_FDT=y -CONFIG_EFI_RUNTIME_WRAPPERS=y -CONFIG_EFI_ARMSTUB=y -# CONFIG_EFI_BOOTLOADER_CONTROL is not set -# CONFIG_EFI_CAPSULE_LOADER is not set -# CONFIG_EFI_TEST is not set -CONFIG_RESET_ATTACK_MITIGATION=y - -# -# Tegra firmware driver -# -# CONFIG_TEGRA_IVC is not set - # # File systems # @@ -7651,6 +7734,7 @@ CONFIG_OVERLAY_FS=m # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set # CONFIG_OVERLAY_FS_INDEX is not set # CONFIG_OVERLAY_FS_XINO_AUTO is not set +# CONFIG_OVERLAY_FS_METACOPY is not set # # Caches @@ -7709,7 +7793,6 @@ CONFIG_ECRYPT_FS=m CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m -# CONFIG_HFSPLUS_FS_POSIX_ACL is not set CONFIG_BEFS_FS=m # CONFIG_BEFS_DEBUG is not set CONFIG_BFS_FS=m @@ -7736,6 +7819,7 @@ CONFIG_UBIFS_FS_ADVANCED_COMPR=y CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y # CONFIG_UBIFS_ATIME_SUPPORT is not set +CONFIG_UBIFS_FS_XATTR=y # CONFIG_UBIFS_FS_ENCRYPTION is not set CONFIG_UBIFS_FS_SECURITY=y # CONFIG_CRAMFS is not set @@ -7821,7 +7905,8 @@ CONFIG_CEPH_FS=m CONFIG_CEPH_FSCACHE=y CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CIFS=m -# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_STATS2 is not set +CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_UPCALL=y CONFIG_CIFS_XATTR=y @@ -7831,7 +7916,6 @@ CONFIG_CIFS_DEBUG=y # CONFIG_CIFS_DEBUG2 is not set # CONFIG_CIFS_DEBUG_DUMP_KEYS is not set CONFIG_CIFS_DFS_UPCALL=y -# CONFIG_CIFS_SMB311 is not set # CONFIG_CIFS_SMB_DIRECT is not set CONFIG_CIFS_FSCACHE=y CONFIG_CODA_FS=m @@ -7896,232 +7980,6 @@ CONFIG_NLS_UTF8=m CONFIG_DLM=m CONFIG_DLM_DEBUG=y -# -# Kernel hacking -# - -# -# printk and dmesg options -# -CONFIG_PRINTK_TIME=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -CONFIG_BOOT_PRINTK_DELAY=y -CONFIG_DYNAMIC_DEBUG=y - -# -# Compile-time checks and compiler options -# -CONFIG_DEBUG_INFO=y -# CONFIG_DEBUG_INFO_REDUCED is not set -# CONFIG_DEBUG_INFO_SPLIT is not set -# CONFIG_DEBUG_INFO_DWARF4 is not set -# CONFIG_GDB_SCRIPTS is not set -CONFIG_ENABLE_WARN_DEPRECATED=y -CONFIG_ENABLE_MUST_CHECK=y -CONFIG_FRAME_WARN=1024 -CONFIG_STRIP_ASM_SYMS=y -# CONFIG_READABLE_ASM is not set -# CONFIG_UNUSED_SYMBOLS is not set -# CONFIG_PAGE_OWNER is not set -CONFIG_DEBUG_FS=y -# CONFIG_HEADERS_CHECK is not set -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -CONFIG_FRAME_POINTER=y -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x01b6 -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_DEBUG_KERNEL=y - -# -# Memory Debugging -# -CONFIG_PAGE_EXTENSION=y -CONFIG_PAGE_POISONING=y -CONFIG_PAGE_POISONING_NO_SANITY=y -# CONFIG_PAGE_POISONING_ZERO is not set -# CONFIG_DEBUG_PAGE_REF is not set -# CONFIG_DEBUG_RODATA_TEST is not set -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_DEBUG_SLAB is not set -CONFIG_HAVE_DEBUG_KMEMLEAK=y -# CONFIG_DEBUG_KMEMLEAK is not set -# CONFIG_DEBUG_STACK_USAGE is not set -# CONFIG_DEBUG_VM is not set -CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y -# CONFIG_DEBUG_VIRTUAL is not set -CONFIG_DEBUG_MEMORY_INIT=y -# CONFIG_DEBUG_PER_CPU_MAPS is not set -# CONFIG_DEBUG_HIGHMEM is not set -CONFIG_ARCH_HAS_KCOV=y -CONFIG_CC_HAS_SANCOV_TRACE_PC=y -# CONFIG_KCOV is not set -# CONFIG_DEBUG_SHIRQ is not set - -# -# Debug Lockups and Hangs -# -CONFIG_LOCKUP_DETECTOR=y -CONFIG_SOFTLOCKUP_DETECTOR=y -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 -# CONFIG_WQ_WATCHDOG is not set -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_ON_OOPS_VALUE=0 -CONFIG_PANIC_TIMEOUT=0 -CONFIG_SCHED_DEBUG=y -CONFIG_SCHED_INFO=y -CONFIG_SCHEDSTATS=y -CONFIG_SCHED_STACK_END_CHECK=y -# CONFIG_DEBUG_TIMEKEEPING is not set - -# -# Lock Debugging (spinlocks, mutexes, etc...) -# -CONFIG_LOCK_DEBUGGING_SUPPORT=y -# CONFIG_PROVE_LOCKING is not set -# CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -# CONFIG_LOCK_TORTURE_TEST is not set -# CONFIG_WW_MUTEX_SELFTEST is not set -CONFIG_STACKTRACE=y -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -# CONFIG_DEBUG_KOBJECT is not set -CONFIG_DEBUG_BUGVERBOSE=y -CONFIG_DEBUG_LIST=y -# CONFIG_DEBUG_PI_LIST is not set -# CONFIG_DEBUG_SG is not set -# CONFIG_DEBUG_NOTIFIERS is not set -# CONFIG_DEBUG_CREDENTIALS is not set - -# -# RCU Debugging -# -# CONFIG_RCU_PERF_TEST is not set -# CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=21 -# CONFIG_RCU_TRACE is not set -# CONFIG_RCU_EQS_DEBUG is not set -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -CONFIG_NOTIFIER_ERROR_INJECTION=m -CONFIG_PM_NOTIFIER_ERROR_INJECT=m -# CONFIG_OF_RECONFIG_NOTIFIER_ERROR_INJECT is not set -# CONFIG_NETDEV_NOTIFIER_ERROR_INJECT is not set -# CONFIG_FAULT_INJECTION is not set -# CONFIG_LATENCYTOP is not set -CONFIG_NOP_TRACER=y -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_TRACER_MAX_TRACE=y -CONFIG_TRACE_CLOCK=y -CONFIG_RING_BUFFER=y -CONFIG_EVENT_TRACING=y -CONFIG_CONTEXT_SWITCH_TRACER=y -CONFIG_RING_BUFFER_ALLOW_SWAP=y -CONFIG_TRACING=y -CONFIG_GENERIC_TRACER=y -CONFIG_TRACING_SUPPORT=y -CONFIG_FTRACE=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUNCTION_GRAPH_TRACER=y -# CONFIG_PREEMPTIRQ_EVENTS is not set -# CONFIG_IRQSOFF_TRACER is not set -# CONFIG_SCHED_TRACER is not set -# CONFIG_HWLAT_TRACER is not set -CONFIG_FTRACE_SYSCALLS=y -CONFIG_TRACER_SNAPSHOT=y -# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -CONFIG_STACK_TRACER=y -CONFIG_BLK_DEV_IO_TRACE=y -CONFIG_KPROBE_EVENTS=y -CONFIG_UPROBE_EVENTS=y -CONFIG_BPF_EVENTS=y -CONFIG_PROBE_EVENTS=y -CONFIG_DYNAMIC_FTRACE=y -CONFIG_DYNAMIC_FTRACE_WITH_REGS=y -# CONFIG_FUNCTION_PROFILER is not set -CONFIG_FTRACE_MCOUNT_RECORD=y -# CONFIG_FTRACE_STARTUP_TEST is not set -# CONFIG_TRACEPOINT_BENCHMARK is not set -# CONFIG_RING_BUFFER_BENCHMARK is not set -# CONFIG_RING_BUFFER_STARTUP_TEST is not set -# CONFIG_TRACE_EVAL_MAP_FILE is not set -CONFIG_TRACING_EVENTS_GPIO=y -# CONFIG_DMA_API_DEBUG is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_LKDTM is not set -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_TEST_SORT is not set -# CONFIG_KPROBES_SANITY_TEST is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -# CONFIG_RBTREE_TEST is not set -# CONFIG_INTERVAL_TREE_TEST is not set -# CONFIG_PERCPU_TEST is not set -# CONFIG_ATOMIC64_SELFTEST is not set -# CONFIG_ASYNC_RAID6_TEST is not set -# CONFIG_TEST_HEXDUMP is not set -# CONFIG_TEST_STRING_HELPERS is not set -# CONFIG_TEST_KSTRTOX is not set -# CONFIG_TEST_PRINTF is not set -# CONFIG_TEST_BITMAP is not set -# CONFIG_TEST_UUID is not set -# CONFIG_TEST_OVERFLOW is not set -# CONFIG_TEST_RHASHTABLE is not set -# CONFIG_TEST_HASH is not set -# CONFIG_TEST_LKM is not set -CONFIG_TEST_USER_COPY=m -CONFIG_TEST_BPF=m -CONFIG_FIND_BIT_BENCHMARK=m -CONFIG_TEST_FIRMWARE=m -# CONFIG_TEST_SYSCTL is not set -# CONFIG_TEST_UDELAY is not set -CONFIG_TEST_STATIC_KEYS=m -# CONFIG_TEST_KMOD is not set -# CONFIG_MEMTEST is not set -CONFIG_BUG_ON_DATA_CORRUPTION=y -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -# CONFIG_KGDB is not set -# CONFIG_UBSAN is not set -CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y -CONFIG_STRICT_DEVMEM=y -CONFIG_IO_STRICT_DEVMEM=y -CONFIG_ARM_PTDUMP_CORE=y -# CONFIG_ARM_PTDUMP_DEBUGFS is not set -CONFIG_DEBUG_WX=y -CONFIG_ARM_UNWIND=y -CONFIG_OLD_MCOUNT=y -# CONFIG_DEBUG_USER is not set -# CONFIG_DEBUG_LL is not set -CONFIG_DEBUG_IMX_UART_PORT=1 -CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" -CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" -# CONFIG_ARM_KPROBES_TEST is not set -# CONFIG_PID_IN_CONTEXTIDR is not set -# CONFIG_CORESIGHT is not set - # # Security options # @@ -8183,6 +8041,7 @@ CONFIG_IMA_DEFAULT_HASH="sha256" # CONFIG_IMA_WRITE_POLICY is not set # CONFIG_IMA_READ_POLICY is not set CONFIG_IMA_APPRAISE=y +# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set CONFIG_IMA_APPRAISE_BOOTPARAM=y CONFIG_IMA_TRUSTED_KEYRING=y # CONFIG_IMA_BLACKLIST_KEYRING is not set @@ -8378,7 +8237,6 @@ CONFIG_SYSTEM_TRUSTED_KEYS="" # CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set # CONFIG_SECONDARY_TRUSTED_KEYRING is not set # CONFIG_SYSTEM_BLACKLIST_KEYRING is not set -# CONFIG_ARM_CRYPTO is not set CONFIG_BINARY_PRINTF=y # @@ -8404,6 +8262,7 @@ CONFIG_CRC32_SLICEBY8=y # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set +CONFIG_CRC64=m # CONFIG_CRC4 is not set CONFIG_CRC7=m CONFIG_LIBCRC32C=m @@ -8479,4 +8338,232 @@ CONFIG_SG_POOL=y CONFIG_ARCH_HAS_SG_CHAIN=y CONFIG_SBITMAP=y # CONFIG_STRING_SELFTEST is not set -# CONFIG_VIRTUALIZATION is not set + +# +# Kernel hacking +# + +# +# printk and dmesg options +# +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 +CONFIG_CONSOLE_LOGLEVEL_QUIET=4 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 +CONFIG_BOOT_PRINTK_DELAY=y +CONFIG_DYNAMIC_DEBUG=y + +# +# Compile-time checks and compiler options +# +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_INFO_SPLIT is not set +# CONFIG_DEBUG_INFO_DWARF4 is not set +# CONFIG_GDB_SCRIPTS is not set +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_STRIP_ASM_SYMS=y +# CONFIG_READABLE_ASM is not set +# CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_PAGE_OWNER is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_SECTION_MISMATCH_WARN_ONLY=y +CONFIG_FRAME_POINTER=y +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +CONFIG_MAGIC_SYSRQ=y +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x01b6 +CONFIG_MAGIC_SYSRQ_SERIAL=y +CONFIG_DEBUG_KERNEL=y + +# +# Memory Debugging +# +CONFIG_PAGE_EXTENSION=y +CONFIG_PAGE_POISONING=y +CONFIG_PAGE_POISONING_NO_SANITY=y +# CONFIG_PAGE_POISONING_ZERO is not set +# CONFIG_DEBUG_PAGE_REF is not set +# CONFIG_DEBUG_RODATA_TEST is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_DEBUG_SLAB is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y +# CONFIG_DEBUG_VIRTUAL is not set +CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_PER_CPU_MAPS is not set +# CONFIG_DEBUG_HIGHMEM is not set +CONFIG_ARCH_HAS_KCOV=y +CONFIG_CC_HAS_SANCOV_TRACE_PC=y +# CONFIG_KCOV is not set +# CONFIG_DEBUG_SHIRQ is not set + +# +# Debug Lockups and Hangs +# +CONFIG_LOCKUP_DETECTOR=y +CONFIG_SOFTLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +# CONFIG_WQ_WATCHDOG is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +CONFIG_PANIC_TIMEOUT=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHED_INFO=y +CONFIG_SCHEDSTATS=y +CONFIG_SCHED_STACK_END_CHECK=y +# CONFIG_DEBUG_TIMEKEEPING is not set + +# +# Lock Debugging (spinlocks, mutexes, etc...) +# +CONFIG_LOCK_DEBUGGING_SUPPORT=y +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_RWSEMS is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_LOCK_TORTURE_TEST is not set +# CONFIG_WW_MUTEX_SELFTEST is not set +CONFIG_STACKTRACE=y +# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_LIST=y +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set + +# +# RCU Debugging +# +# CONFIG_RCU_PERF_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_TIMEOUT=21 +# CONFIG_RCU_TRACE is not set +# CONFIG_RCU_EQS_DEBUG is not set +# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set +CONFIG_NOTIFIER_ERROR_INJECTION=m +CONFIG_PM_NOTIFIER_ERROR_INJECT=m +# CONFIG_OF_RECONFIG_NOTIFIER_ERROR_INJECT is not set +# CONFIG_NETDEV_NOTIFIER_ERROR_INJECT is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_TRACER_MAX_TRACE=y +CONFIG_TRACE_CLOCK=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +# CONFIG_PREEMPTIRQ_EVENTS is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_HWLAT_TRACER is not set +CONFIG_FTRACE_SYSCALLS=y +CONFIG_TRACER_SNAPSHOT=y +# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +CONFIG_STACK_TRACER=y +CONFIG_BLK_DEV_IO_TRACE=y +CONFIG_KPROBE_EVENTS=y +CONFIG_UPROBE_EVENTS=y +CONFIG_BPF_EVENTS=y +CONFIG_PROBE_EVENTS=y +CONFIG_DYNAMIC_FTRACE=y +CONFIG_DYNAMIC_FTRACE_WITH_REGS=y +# CONFIG_FUNCTION_PROFILER is not set +CONFIG_FTRACE_MCOUNT_RECORD=y +# CONFIG_FTRACE_STARTUP_TEST is not set +# CONFIG_TRACEPOINT_BENCHMARK is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set +# CONFIG_PREEMPTIRQ_DELAY_TEST is not set +# CONFIG_TRACE_EVAL_MAP_FILE is not set +CONFIG_TRACING_EVENTS_GPIO=y +# CONFIG_DMA_API_DEBUG is not set +CONFIG_RUNTIME_TESTING_MENU=y +# CONFIG_LKDTM is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_TEST_SORT is not set +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_INTERVAL_TREE_TEST is not set +# CONFIG_PERCPU_TEST is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_ASYNC_RAID6_TEST is not set +# CONFIG_TEST_HEXDUMP is not set +# CONFIG_TEST_STRING_HELPERS is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_TEST_PRINTF is not set +# CONFIG_TEST_BITMAP is not set +# CONFIG_TEST_BITFIELD is not set +# CONFIG_TEST_UUID is not set +# CONFIG_TEST_OVERFLOW is not set +# CONFIG_TEST_RHASHTABLE is not set +# CONFIG_TEST_HASH is not set +# CONFIG_TEST_IDA is not set +# CONFIG_TEST_LKM is not set +CONFIG_TEST_USER_COPY=m +CONFIG_TEST_BPF=m +CONFIG_FIND_BIT_BENCHMARK=m +CONFIG_TEST_FIRMWARE=m +# CONFIG_TEST_SYSCTL is not set +# CONFIG_TEST_UDELAY is not set +CONFIG_TEST_STATIC_KEYS=m +# CONFIG_TEST_KMOD is not set +# CONFIG_MEMTEST is not set +CONFIG_BUG_ON_DATA_CORRUPTION=y +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_UBSAN is not set +CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y +CONFIG_STRICT_DEVMEM=y +CONFIG_IO_STRICT_DEVMEM=y +CONFIG_ARM_PTDUMP_CORE=y +# CONFIG_ARM_PTDUMP_DEBUGFS is not set +CONFIG_DEBUG_WX=y +CONFIG_ARM_UNWIND=y +CONFIG_OLD_MCOUNT=y +# CONFIG_DEBUG_USER is not set +# CONFIG_DEBUG_LL is not set +CONFIG_DEBUG_IMX_UART_PORT=1 +CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" +CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" +# CONFIG_ARM_KPROBES_TEST is not set +# CONFIG_PID_IN_CONTEXTIDR is not set +# CONFIG_CORESIGHT is not set diff --git a/gnu/packages/aux-files/linux-libre/4.18-arm64.conf b/gnu/packages/aux-files/linux-libre/4.19-arm64.conf similarity index 97% rename from gnu/packages/aux-files/linux-libre/4.18-arm64.conf rename to gnu/packages/aux-files/linux-libre/4.19-arm64.conf index 64b14b52c0..ba6fa177b7 100644 --- a/gnu/packages/aux-files/linux-libre/4.18-arm64.conf +++ b/gnu/packages/aux-files/linux-libre/4.19-arm64.conf @@ -1,35 +1,7 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 4.18.14-gnu Kernel Configuration +# Linux/arm64 4.19.0-gnu Kernel Configuration # -CONFIG_ARM64=y -CONFIG_64BIT=y -CONFIG_MMU=y -CONFIG_ARM64_PAGE_SHIFT=12 -CONFIG_ARM64_CONT_SHIFT=4 -CONFIG_ARCH_MMAP_RND_BITS_MIN=18 -CONFIG_ARCH_MMAP_RND_BITS_MAX=33 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_TRACE_IRQFLAGS_SUPPORT=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_GENERIC_BUG=y -CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_GENERIC_CSUM=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_ZONE_DMA32=y -CONFIG_HAVE_GENERIC_GUP=y -CONFIG_SMP=y -CONFIG_KERNEL_MODE_NEON=y -CONFIG_FIX_EARLYCON_MEM=y -CONFIG_PGTABLE_LEVELS=4 -CONFIG_ARCH_SUPPORTS_UPROBES=y -CONFIG_ARCH_PROC_KCORE_TEXT=y -CONFIG_MULTI_IRQ_HANDLER=y CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=70300 CONFIG_CLANG_VERSION=0 @@ -44,6 +16,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set +CONFIG_BUILD_SALT="" CONFIG_DEFAULT_HOSTNAME="(none)" CONFIG_SWAP=y CONFIG_SYSVIPC=y @@ -76,6 +49,7 @@ CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_IRQ_FORCED_THREADING=y CONFIG_SPARSE_IRQ=y # CONFIG_GENERIC_IRQ_DEBUGFS is not set +CONFIG_GENERIC_IRQ_MULTI_HANDLER=y CONFIG_ARCH_CLOCKSOURCE_DATA=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y @@ -92,6 +66,9 @@ CONFIG_NO_HZ_IDLE=y # CONFIG_NO_HZ_FULL is not set # CONFIG_NO_HZ is not set CONFIG_HIGH_RES_TIMERS=y +# CONFIG_PREEMPT_NONE is not set +CONFIG_PREEMPT_VOLUNTARY=y +# CONFIG_PREEMPT is not set # # CPU/Task time and stats accounting @@ -131,6 +108,7 @@ CONFIG_PAGE_COUNTER=y CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y # CONFIG_MEMCG_SWAP_ENABLED is not set +CONFIG_MEMCG_KMEM=y CONFIG_BLK_CGROUP=y # CONFIG_DEBUG_BLK_CGROUP is not set CONFIG_CGROUP_WRITEBACK=y @@ -156,6 +134,7 @@ CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y +CONFIG_CHECKPOINT_RESTORE=y CONFIG_SCHED_AUTOGROUP=y # CONFIG_SYSFS_DEPRECATED is not set CONFIG_RELAY=y @@ -197,7 +176,6 @@ CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_ADVISE_SYSCALLS=y CONFIG_MEMBARRIER=y -CONFIG_CHECKPOINT_RESTORE=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set CONFIG_KALLSYMS_BASE_RELATIVE=y @@ -205,6 +183,8 @@ CONFIG_BPF_SYSCALL=y # CONFIG_BPF_JIT_ALWAYS_ON is not set CONFIG_USERFAULTFD=y CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y +CONFIG_RSEQ=y +# CONFIG_DEBUG_RSEQ is not set # CONFIG_EMBEDDED is not set CONFIG_HAVE_PERF_EVENTS=y # CONFIG_PC104 is not set @@ -228,186 +208,33 @@ CONFIG_SLUB_CPU_PARTIAL=y CONFIG_SYSTEM_DATA_VERIFICATION=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y -CONFIG_CRASH_CORE=y -CONFIG_KEXEC_CORE=y -CONFIG_KPROBES=y -CONFIG_JUMP_LABEL=y -# CONFIG_STATIC_KEYS_SELFTEST is not set -CONFIG_UPROBES=y -CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y -CONFIG_KRETPROBES=y -CONFIG_HAVE_KPROBES=y -CONFIG_HAVE_KRETPROBES=y -CONFIG_HAVE_NMI=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -CONFIG_HAVE_DMA_CONTIGUOUS=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_GENERIC_IDLE_POLL_SETUP=y -CONFIG_ARCH_HAS_FORTIFY_SOURCE=y -CONFIG_ARCH_HAS_SET_MEMORY=y -CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_CLK=y -CONFIG_HAVE_HW_BREAKPOINT=y -CONFIG_HAVE_PERF_REGS=y -CONFIG_HAVE_PERF_USER_STACK_DUMP=y -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_HAVE_RCU_TABLE_FREE=y -CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y -CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y -CONFIG_HAVE_CMPXCHG_LOCAL=y -CONFIG_HAVE_CMPXCHG_DOUBLE=y -CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y -CONFIG_HAVE_ARCH_SECCOMP_FILTER=y -CONFIG_SECCOMP_FILTER=y -CONFIG_PLUGIN_HOSTCC="" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_HAVE_STACKPROTECTOR=y -CONFIG_CC_HAS_STACKPROTECTOR_NONE=y -CONFIG_STACKPROTECTOR=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_HAVE_CONTEXT_TRACKING=y -CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y -CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y -CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y -CONFIG_HAVE_ARCH_HUGE_VMAP=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_MODULES_USE_ELF_RELA=y -CONFIG_ARCH_HAS_ELF_RANDOMIZE=y -CONFIG_HAVE_ARCH_MMAP_RND_BITS=y -CONFIG_ARCH_MMAP_RND_BITS=18 -CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y -CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11 -CONFIG_CLONE_BACKWARDS=y -CONFIG_OLD_SIGSUSPEND3=y -CONFIG_COMPAT_OLD_SIGACTION=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_HAVE_ARCH_VMAP_STACK=y -CONFIG_VMAP_STACK=y -CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y -CONFIG_STRICT_KERNEL_RWX=y -CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y -CONFIG_STRICT_MODULE_RWX=y -CONFIG_REFCOUNT_FULL=y - -# -# GCOV-based kernel profiling -# -# CONFIG_GCOV_KERNEL is not set -CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODVERSIONS=y -# CONFIG_MODULE_SRCVERSION_ALL is not set -# CONFIG_MODULE_SIG is not set -# CONFIG_MODULE_COMPRESS is not set -# CONFIG_TRIM_UNUSED_KSYMS is not set -CONFIG_MODULES_TREE_LOOKUP=y -CONFIG_BLOCK=y -CONFIG_BLK_SCSI_REQUEST=y -CONFIG_BLK_DEV_BSG=y -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BLK_DEV_INTEGRITY=y -# CONFIG_BLK_DEV_ZONED is not set -CONFIG_BLK_DEV_THROTTLING=y -# CONFIG_BLK_DEV_THROTTLING_LOW is not set -# CONFIG_BLK_CMDLINE_PARSER is not set -CONFIG_BLK_WBT=y -# CONFIG_BLK_WBT_SQ is not set -CONFIG_BLK_WBT_MQ=y -CONFIG_BLK_DEBUG_FS=y -CONFIG_BLK_SED_OPAL=y - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_AIX_PARTITION is not set -# CONFIG_OSF_PARTITION is not set -# CONFIG_AMIGA_PARTITION is not set -# CONFIG_ATARI_PARTITION is not set -# CONFIG_MAC_PARTITION is not set -CONFIG_MSDOS_PARTITION=y -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_MINIX_SUBPARTITION is not set -# CONFIG_SOLARIS_X86_PARTITION is not set -# CONFIG_UNIXWARE_DISKLABEL is not set -# CONFIG_LDM_PARTITION is not set -# CONFIG_SGI_PARTITION is not set -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_SUN_PARTITION is not set -CONFIG_KARMA_PARTITION=y -CONFIG_EFI_PARTITION=y -# CONFIG_SYSV68_PARTITION is not set -# CONFIG_CMDLINE_PARTITION is not set -CONFIG_BLOCK_COMPAT=y -CONFIG_BLK_MQ_PCI=y -CONFIG_BLK_MQ_VIRTIO=y -CONFIG_BLK_MQ_RDMA=y - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -CONFIG_CFQ_GROUP_IOSCHED=y -# CONFIG_DEFAULT_DEADLINE is not set -CONFIG_DEFAULT_CFQ=y -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="cfq" -CONFIG_MQ_IOSCHED_DEADLINE=y -CONFIG_MQ_IOSCHED_KYBER=m -CONFIG_IOSCHED_BFQ=m -CONFIG_BFQ_GROUP_IOSCHED=y -CONFIG_PREEMPT_NOTIFIERS=y -CONFIG_PADATA=y -CONFIG_ASN1=y -CONFIG_ARCH_INLINE_READ_LOCK=y -CONFIG_ARCH_INLINE_READ_LOCK_BH=y -CONFIG_ARCH_INLINE_READ_LOCK_IRQ=y -CONFIG_ARCH_INLINE_READ_LOCK_IRQSAVE=y -CONFIG_ARCH_INLINE_READ_UNLOCK=y -CONFIG_ARCH_INLINE_READ_UNLOCK_BH=y -CONFIG_ARCH_INLINE_READ_UNLOCK_IRQ=y -CONFIG_ARCH_INLINE_READ_UNLOCK_IRQRESTORE=y -CONFIG_ARCH_INLINE_WRITE_LOCK=y -CONFIG_ARCH_INLINE_WRITE_LOCK_BH=y -CONFIG_ARCH_INLINE_WRITE_LOCK_IRQ=y -CONFIG_ARCH_INLINE_WRITE_LOCK_IRQSAVE=y -CONFIG_ARCH_INLINE_WRITE_UNLOCK=y -CONFIG_ARCH_INLINE_WRITE_UNLOCK_BH=y -CONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQ=y -CONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE=y -CONFIG_INLINE_SPIN_UNLOCK_IRQ=y -CONFIG_INLINE_READ_LOCK=y -CONFIG_INLINE_READ_LOCK_BH=y -CONFIG_INLINE_READ_LOCK_IRQ=y -CONFIG_INLINE_READ_LOCK_IRQSAVE=y -CONFIG_INLINE_READ_UNLOCK=y -CONFIG_INLINE_READ_UNLOCK_BH=y -CONFIG_INLINE_READ_UNLOCK_IRQ=y -CONFIG_INLINE_READ_UNLOCK_IRQRESTORE=y -CONFIG_INLINE_WRITE_LOCK=y -CONFIG_INLINE_WRITE_LOCK_BH=y -CONFIG_INLINE_WRITE_LOCK_IRQ=y -CONFIG_INLINE_WRITE_LOCK_IRQSAVE=y -CONFIG_INLINE_WRITE_UNLOCK=y -CONFIG_INLINE_WRITE_UNLOCK_BH=y -CONFIG_INLINE_WRITE_UNLOCK_IRQ=y -CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE=y -CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y -CONFIG_MUTEX_SPIN_ON_OWNER=y -CONFIG_RWSEM_SPIN_ON_OWNER=y -CONFIG_LOCK_SPIN_ON_OWNER=y -CONFIG_ARCH_USE_QUEUED_RWLOCKS=y -CONFIG_QUEUED_RWLOCKS=y -CONFIG_FREEZER=y +CONFIG_ARM64=y +CONFIG_64BIT=y +CONFIG_MMU=y +CONFIG_ARM64_PAGE_SHIFT=12 +CONFIG_ARM64_CONT_SHIFT=4 +CONFIG_ARCH_MMAP_RND_BITS_MIN=18 +CONFIG_ARCH_MMAP_RND_BITS_MAX=33 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CSUM=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ZONE_DMA32=y +CONFIG_HAVE_GENERIC_GUP=y +CONFIG_SMP=y +CONFIG_KERNEL_MODE_NEON=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_PGTABLE_LEVELS=4 +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_ARCH_PROC_KCORE_TEXT=y # # Platform selection @@ -420,6 +247,7 @@ CONFIG_ARCH_BCM2835=y # CONFIG_ARCH_BERLIN is not set # CONFIG_ARCH_BRCMSTB is not set # CONFIG_ARCH_EXYNOS is not set +# CONFIG_ARCH_K3 is not set # CONFIG_ARCH_LAYERSCAPE is not set # CONFIG_ARCH_LG1K is not set CONFIG_ARCH_HISI=y @@ -496,6 +324,7 @@ CONFIG_PCI_AARDVARK=y CONFIG_PCI_TEGRA=y CONFIG_PCI_HOST_COMMON=y CONFIG_PCI_HOST_GENERIC=y +# CONFIG_PCIE_XILINX is not set CONFIG_PCI_XGENE=y CONFIG_PCI_XGENE_MSI=y CONFIG_PCI_HOST_THUNDER_PEM=y @@ -571,9 +400,6 @@ CONFIG_USE_PERCPU_NUMA_NODE_ID=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_HOLES_IN_ZONE=y -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_VOLUNTARY=y -# CONFIG_PREEMPT is not set # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_300 is not set @@ -590,54 +416,6 @@ CONFIG_HW_PERF_EVENTS=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y -CONFIG_SELECT_MEMORY_MODEL=y -CONFIG_SPARSEMEM_MANUAL=y -CONFIG_SPARSEMEM=y -CONFIG_NEED_MULTIPLE_NODES=y -CONFIG_HAVE_MEMORY_PRESENT=y -CONFIG_SPARSEMEM_EXTREME=y -CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y -CONFIG_SPARSEMEM_VMEMMAP=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_HAVE_MEMBLOCK_NODE_MAP=y -CONFIG_NO_BOOTMEM=y -CONFIG_MEMORY_ISOLATION=y -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_MEMORY_BALLOON=y -CONFIG_BALLOON_COMPACTION=y -CONFIG_COMPACTION=y -CONFIG_MIGRATION=y -CONFIG_PHYS_ADDR_T_64BIT=y -CONFIG_MMU_NOTIFIER=y -CONFIG_KSM=y -CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 -CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y -CONFIG_MEMORY_FAILURE=y -CONFIG_HWPOISON_INJECT=m -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y -# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set -CONFIG_TRANSPARENT_HUGE_PAGECACHE=y -# CONFIG_CLEANCACHE is not set -CONFIG_FRONTSWAP=y -CONFIG_CMA=y -# CONFIG_CMA_DEBUG is not set -# CONFIG_CMA_DEBUGFS is not set -CONFIG_CMA_AREAS=7 -CONFIG_ZSWAP=y -CONFIG_ZPOOL=y -CONFIG_ZBUD=y -# CONFIG_Z3FOLD is not set -CONFIG_ZSMALLOC=m -# CONFIG_PGTABLE_MAPPING is not set -# CONFIG_ZSMALLOC_STAT is not set -CONFIG_GENERIC_EARLY_IOREMAP=y -# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set -# CONFIG_IDLE_PAGE_TRACKING is not set -CONFIG_FRAME_VECTOR=y -# CONFIG_PERCPU_STATS is not set -# CONFIG_GUP_BENCHMARK is not set -CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_SECCOMP=y CONFIG_PARAVIRT=y # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set @@ -685,17 +463,6 @@ CONFIG_CMDLINE="" CONFIG_EFI_STUB=y CONFIG_EFI=y CONFIG_DMI=y - -# -# Userspace binary formats -# -CONFIG_BINFMT_ELF=y -CONFIG_COMPAT_BINFMT_ELF=y -CONFIG_ELFCORE=y -CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y -CONFIG_BINFMT_SCRIPT=y -CONFIG_BINFMT_MISC=m -CONFIG_COREDUMP=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y @@ -779,6 +546,399 @@ CONFIG_ARM_TEGRA20_CPUFREQ=y CONFIG_ARM_TEGRA124_CPUFREQ=m # CONFIG_ARM_TEGRA186_CPUFREQ is not set # CONFIG_QORIQ_CPUFREQ is not set + +# +# Firmware Drivers +# +CONFIG_ARM_PSCI_FW=y +# CONFIG_ARM_PSCI_CHECKER is not set +CONFIG_ARM_SCMI_PROTOCOL=y +CONFIG_ARM_SCMI_POWER_DOMAIN=m +# CONFIG_ARM_SCPI_PROTOCOL is not set +# CONFIG_ARM_SDE_INTERFACE is not set +# CONFIG_FIRMWARE_MEMMAP is not set +CONFIG_DMIID=y +CONFIG_DMI_SYSFS=y +CONFIG_RASPBERRYPI_FIRMWARE=y +# CONFIG_FW_CFG_SYSFS is not set +CONFIG_QCOM_SCM=y +CONFIG_QCOM_SCM_64=y +# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set +CONFIG_HAVE_ARM_SMCCC=y +# CONFIG_GOOGLE_FIRMWARE is not set + +# +# EFI (Extensible Firmware Interface) Support +# +CONFIG_EFI_VARS=m +CONFIG_EFI_ESRT=y +CONFIG_EFI_VARS_PSTORE=m +# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set +CONFIG_EFI_PARAMS_FROM_FDT=y +CONFIG_EFI_RUNTIME_WRAPPERS=y +CONFIG_EFI_ARMSTUB=y +CONFIG_EFI_ARMSTUB_DTB_LOADER=y +# CONFIG_EFI_BOOTLOADER_CONTROL is not set +# CONFIG_EFI_CAPSULE_LOADER is not set +# CONFIG_EFI_TEST is not set +# CONFIG_RESET_ATTACK_MITIGATION is not set +CONFIG_MESON_SM=y + +# +# Tegra firmware driver +# +CONFIG_TEGRA_IVC=y +CONFIG_TEGRA_BPMP=y +CONFIG_ARCH_SUPPORTS_ACPI=y +CONFIG_ACPI=y +CONFIG_ACPI_GENERIC_GSI=y +CONFIG_ACPI_CCA_REQUIRED=y +# CONFIG_ACPI_DEBUGGER is not set +CONFIG_ACPI_SPCR_TABLE=y +# CONFIG_ACPI_EC_DEBUGFS is not set +CONFIG_ACPI_BUTTON=y +CONFIG_ACPI_FAN=y +CONFIG_ACPI_TAD=m +# CONFIG_ACPI_DOCK is not set +CONFIG_ACPI_PROCESSOR_IDLE=y +CONFIG_ACPI_MCFG=y +CONFIG_ACPI_CPPC_LIB=y +CONFIG_ACPI_PROCESSOR=y +# CONFIG_ACPI_IPMI is not set +CONFIG_ACPI_HOTPLUG_CPU=y +CONFIG_ACPI_THERMAL=y +CONFIG_ACPI_NUMA=y +CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y +CONFIG_ACPI_TABLE_UPGRADE=y +# CONFIG_ACPI_DEBUG is not set +# CONFIG_ACPI_PCI_SLOT is not set +CONFIG_ACPI_CONTAINER=y +# CONFIG_ACPI_HED is not set +# CONFIG_ACPI_CUSTOM_METHOD is not set +# CONFIG_ACPI_BGRT is not set +CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y +CONFIG_ACPI_NFIT=y +CONFIG_HAVE_ACPI_APEI=y +# CONFIG_ACPI_APEI is not set +# CONFIG_PMIC_OPREGION is not set +# CONFIG_ACPI_CONFIGFS is not set +CONFIG_ACPI_IORT=y +CONFIG_ACPI_GTDT=y +CONFIG_ACPI_PPTT=y +CONFIG_HAVE_KVM_IRQCHIP=y +CONFIG_HAVE_KVM_IRQFD=y +CONFIG_HAVE_KVM_IRQ_ROUTING=y +CONFIG_HAVE_KVM_EVENTFD=y +CONFIG_KVM_MMIO=y +CONFIG_HAVE_KVM_MSI=y +CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y +CONFIG_KVM_VFIO=y +CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL=y +CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y +CONFIG_HAVE_KVM_IRQ_BYPASS=y +CONFIG_HAVE_KVM_VCPU_RUN_PID_CHANGE=y +CONFIG_IRQ_BYPASS_MANAGER=y +CONFIG_VIRTUALIZATION=y +CONFIG_KVM=y +CONFIG_KVM_ARM_HOST=y +CONFIG_KVM_ARM_PMU=y +CONFIG_KVM_INDIRECT_VECTORS=y +CONFIG_VHOST_NET=m +CONFIG_VHOST_SCSI=m +CONFIG_VHOST_VSOCK=m +CONFIG_VHOST=m +# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set +CONFIG_ARM64_CRYPTO=y +CONFIG_CRYPTO_SHA256_ARM64=m +# CONFIG_CRYPTO_SHA512_ARM64 is not set +CONFIG_CRYPTO_SHA1_ARM64_CE=m +CONFIG_CRYPTO_SHA2_ARM64_CE=m +# CONFIG_CRYPTO_SHA512_ARM64_CE is not set +# CONFIG_CRYPTO_SHA3_ARM64 is not set +# CONFIG_CRYPTO_SM3_ARM64_CE is not set +# CONFIG_CRYPTO_SM4_ARM64_CE is not set +CONFIG_CRYPTO_GHASH_ARM64_CE=m +# CONFIG_CRYPTO_CRCT10DIF_ARM64_CE is not set +CONFIG_CRYPTO_CRC32_ARM64_CE=y +CONFIG_CRYPTO_AES_ARM64=m +CONFIG_CRYPTO_AES_ARM64_CE=m +CONFIG_CRYPTO_AES_ARM64_CE_CCM=m +CONFIG_CRYPTO_AES_ARM64_CE_BLK=m +# CONFIG_CRYPTO_AES_ARM64_NEON_BLK is not set +# CONFIG_CRYPTO_CHACHA20_NEON is not set +# CONFIG_CRYPTO_AES_ARM64_BS is not set +CONFIG_CRYPTO_SPECK_NEON=m + +# +# General architecture-dependent options +# +CONFIG_CRASH_CORE=y +CONFIG_KEXEC_CORE=y +CONFIG_KPROBES=y +CONFIG_JUMP_LABEL=y +# CONFIG_STATIC_KEYS_SELFTEST is not set +CONFIG_UPROBES=y +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_KRETPROBES=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_NMI=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_GENERIC_IDLE_POLL_SETUP=y +CONFIG_ARCH_HAS_FORTIFY_SOURCE=y +CONFIG_ARCH_HAS_SET_MEMORY=y +CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_RSEQ=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_PERF_REGS=y +CONFIG_HAVE_PERF_USER_STACK_DUMP=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_HAVE_RCU_TABLE_FREE=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y +CONFIG_HAVE_CMPXCHG_LOCAL=y +CONFIG_HAVE_CMPXCHG_DOUBLE=y +CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_SECCOMP_FILTER=y +CONFIG_HAVE_STACKPROTECTOR=y +CONFIG_CC_HAS_STACKPROTECTOR_NONE=y +CONFIG_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR_STRONG=y +CONFIG_HAVE_CONTEXT_TRACKING=y +CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y +CONFIG_HAVE_ARCH_HUGE_VMAP=y +CONFIG_HAVE_MOD_ARCH_SPECIFIC=y +CONFIG_MODULES_USE_ELF_RELA=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_HAVE_ARCH_MMAP_RND_BITS=y +CONFIG_ARCH_MMAP_RND_BITS=18 +CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y +CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11 +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND3=y +CONFIG_COMPAT_OLD_SIGACTION=y +CONFIG_COMPAT_32BIT_TIME=y +CONFIG_HAVE_ARCH_VMAP_STACK=y +CONFIG_VMAP_STACK=y +CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y +CONFIG_STRICT_KERNEL_RWX=y +CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y +CONFIG_STRICT_MODULE_RWX=y +CONFIG_REFCOUNT_FULL=y +CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +CONFIG_PLUGIN_HOSTCC="" +CONFIG_HAVE_GCC_PLUGINS=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +# CONFIG_MODULE_SIG is not set +# CONFIG_MODULE_COMPRESS is not set +# CONFIG_TRIM_UNUSED_KSYMS is not set +CONFIG_MODULES_TREE_LOOKUP=y +CONFIG_BLOCK=y +CONFIG_BLK_SCSI_REQUEST=y +CONFIG_BLK_DEV_BSG=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BLK_DEV_INTEGRITY=y +# CONFIG_BLK_DEV_ZONED is not set +CONFIG_BLK_DEV_THROTTLING=y +# CONFIG_BLK_DEV_THROTTLING_LOW is not set +# CONFIG_BLK_CMDLINE_PARSER is not set +CONFIG_BLK_WBT=y +# CONFIG_BLK_CGROUP_IOLATENCY is not set +# CONFIG_BLK_WBT_SQ is not set +CONFIG_BLK_WBT_MQ=y +CONFIG_BLK_DEBUG_FS=y +CONFIG_BLK_SED_OPAL=y + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_AIX_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +CONFIG_KARMA_PARTITION=y +CONFIG_EFI_PARTITION=y +# CONFIG_SYSV68_PARTITION is not set +# CONFIG_CMDLINE_PARTITION is not set +CONFIG_BLOCK_COMPAT=y +CONFIG_BLK_MQ_PCI=y +CONFIG_BLK_MQ_VIRTIO=y +CONFIG_BLK_MQ_RDMA=y + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +CONFIG_CFQ_GROUP_IOSCHED=y +# CONFIG_DEFAULT_DEADLINE is not set +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" +CONFIG_MQ_IOSCHED_DEADLINE=y +CONFIG_MQ_IOSCHED_KYBER=m +CONFIG_IOSCHED_BFQ=m +CONFIG_BFQ_GROUP_IOSCHED=y +CONFIG_PREEMPT_NOTIFIERS=y +CONFIG_PADATA=y +CONFIG_ASN1=y +CONFIG_ARCH_INLINE_SPIN_TRYLOCK=y +CONFIG_ARCH_INLINE_SPIN_TRYLOCK_BH=y +CONFIG_ARCH_INLINE_SPIN_LOCK=y +CONFIG_ARCH_INLINE_SPIN_LOCK_BH=y +CONFIG_ARCH_INLINE_SPIN_LOCK_IRQ=y +CONFIG_ARCH_INLINE_SPIN_LOCK_IRQSAVE=y +CONFIG_ARCH_INLINE_SPIN_UNLOCK=y +CONFIG_ARCH_INLINE_SPIN_UNLOCK_BH=y +CONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE=y +CONFIG_ARCH_INLINE_READ_LOCK=y +CONFIG_ARCH_INLINE_READ_LOCK_BH=y +CONFIG_ARCH_INLINE_READ_LOCK_IRQ=y +CONFIG_ARCH_INLINE_READ_LOCK_IRQSAVE=y +CONFIG_ARCH_INLINE_READ_UNLOCK=y +CONFIG_ARCH_INLINE_READ_UNLOCK_BH=y +CONFIG_ARCH_INLINE_READ_UNLOCK_IRQ=y +CONFIG_ARCH_INLINE_READ_UNLOCK_IRQRESTORE=y +CONFIG_ARCH_INLINE_WRITE_LOCK=y +CONFIG_ARCH_INLINE_WRITE_LOCK_BH=y +CONFIG_ARCH_INLINE_WRITE_LOCK_IRQ=y +CONFIG_ARCH_INLINE_WRITE_LOCK_IRQSAVE=y +CONFIG_ARCH_INLINE_WRITE_UNLOCK=y +CONFIG_ARCH_INLINE_WRITE_UNLOCK_BH=y +CONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE=y +CONFIG_INLINE_SPIN_TRYLOCK=y +CONFIG_INLINE_SPIN_TRYLOCK_BH=y +CONFIG_INLINE_SPIN_LOCK=y +CONFIG_INLINE_SPIN_LOCK_BH=y +CONFIG_INLINE_SPIN_LOCK_IRQ=y +CONFIG_INLINE_SPIN_LOCK_IRQSAVE=y +CONFIG_INLINE_SPIN_UNLOCK_BH=y +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE=y +CONFIG_INLINE_READ_LOCK=y +CONFIG_INLINE_READ_LOCK_BH=y +CONFIG_INLINE_READ_LOCK_IRQ=y +CONFIG_INLINE_READ_LOCK_IRQSAVE=y +CONFIG_INLINE_READ_UNLOCK=y +CONFIG_INLINE_READ_UNLOCK_BH=y +CONFIG_INLINE_READ_UNLOCK_IRQ=y +CONFIG_INLINE_READ_UNLOCK_IRQRESTORE=y +CONFIG_INLINE_WRITE_LOCK=y +CONFIG_INLINE_WRITE_LOCK_BH=y +CONFIG_INLINE_WRITE_LOCK_IRQ=y +CONFIG_INLINE_WRITE_LOCK_IRQSAVE=y +CONFIG_INLINE_WRITE_UNLOCK=y +CONFIG_INLINE_WRITE_UNLOCK_BH=y +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_RWSEM_SPIN_ON_OWNER=y +CONFIG_LOCK_SPIN_ON_OWNER=y +CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y +CONFIG_QUEUED_SPINLOCKS=y +CONFIG_ARCH_USE_QUEUED_RWLOCKS=y +CONFIG_QUEUED_RWLOCKS=y +CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y +CONFIG_FREEZER=y + +# +# Executable file formats +# +CONFIG_BINFMT_ELF=y +CONFIG_COMPAT_BINFMT_ELF=y +CONFIG_ELFCORE=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CONFIG_BINFMT_SCRIPT=y +CONFIG_BINFMT_MISC=m +CONFIG_COREDUMP=y + +# +# Memory Management options +# +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_SPARSEMEM_MANUAL=y +CONFIG_SPARSEMEM=y +CONFIG_NEED_MULTIPLE_NODES=y +CONFIG_HAVE_MEMORY_PRESENT=y +CONFIG_SPARSEMEM_EXTREME=y +CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y +CONFIG_SPARSEMEM_VMEMMAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_MEMBLOCK_NODE_MAP=y +CONFIG_NO_BOOTMEM=y +CONFIG_MEMORY_ISOLATION=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +CONFIG_MEMORY_BALLOON=y +CONFIG_BALLOON_COMPACTION=y +CONFIG_COMPACTION=y +CONFIG_MIGRATION=y +CONFIG_PHYS_ADDR_T_64BIT=y +CONFIG_MMU_NOTIFIER=y +CONFIG_KSM=y +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y +CONFIG_MEMORY_FAILURE=y +CONFIG_HWPOISON_INJECT=m +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y +# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set +CONFIG_TRANSPARENT_HUGE_PAGECACHE=y +# CONFIG_CLEANCACHE is not set +CONFIG_FRONTSWAP=y +CONFIG_CMA=y +# CONFIG_CMA_DEBUG is not set +# CONFIG_CMA_DEBUGFS is not set +CONFIG_CMA_AREAS=7 +CONFIG_ZSWAP=y +CONFIG_ZPOOL=y +CONFIG_ZBUD=y +# CONFIG_Z3FOLD is not set +CONFIG_ZSMALLOC=m +# CONFIG_PGTABLE_MAPPING is not set +# CONFIG_ZSMALLOC_STAT is not set +CONFIG_GENERIC_EARLY_IOREMAP=y +# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set +# CONFIG_IDLE_PAGE_TRACKING is not set +CONFIG_FRAME_VECTOR=y +# CONFIG_PERCPU_STATS is not set +# CONFIG_GUP_BENCHMARK is not set +CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_NET=y CONFIG_COMPAT_NETLINK_MESSAGES=y CONFIG_NET_INGRESS=y @@ -796,6 +956,7 @@ CONFIG_XFRM=y CONFIG_XFRM_OFFLOAD=y CONFIG_XFRM_ALGO=m CONFIG_XFRM_USER=m +CONFIG_XFRM_INTERFACE=m CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y # CONFIG_XFRM_STATISTICS is not set @@ -913,6 +1074,7 @@ CONFIG_NETFILTER_FAMILY_ARP=y CONFIG_NETFILTER_NETLINK_ACCT=m CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NETFILTER_NETLINK_OSF=m CONFIG_NF_CONNTRACK=m CONFIG_NF_LOG_COMMON=m CONFIG_NF_LOG_NETDEV=m @@ -956,7 +1118,6 @@ CONFIG_NF_NAT_SIP=m CONFIG_NF_NAT_TFTP=m CONFIG_NF_NAT_REDIRECT=y CONFIG_NETFILTER_SYNPROXY=m -CONFIG_NF_OSF=m CONFIG_NF_TABLES=m CONFIG_NF_TABLES_SET=m # CONFIG_NF_TABLES_INET is not set @@ -970,6 +1131,7 @@ CONFIG_NFT_LIMIT=m CONFIG_NFT_MASQ=m CONFIG_NFT_REDIR=m CONFIG_NFT_NAT=m +CONFIG_NFT_TUNNEL=m CONFIG_NFT_OBJREF=m CONFIG_NFT_QUEUE=m CONFIG_NFT_QUOTA=m @@ -977,6 +1139,8 @@ CONFIG_NFT_REJECT=m CONFIG_NFT_COMPAT=m CONFIG_NFT_HASH=m CONFIG_NFT_SOCKET=m +CONFIG_NFT_OSF=m +CONFIG_NFT_TPROXY=m # CONFIG_NF_FLOW_TABLE is not set CONFIG_NETFILTER_XTABLES=m @@ -1137,7 +1301,6 @@ CONFIG_IP_VS_PE_SIP=m # IP: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV4=m -CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_SOCKET_IPV4=m CONFIG_NF_TPROXY_IPV4=m # CONFIG_NF_TABLES_IPV4 is not set @@ -1177,8 +1340,6 @@ CONFIG_IP_NF_ARP_MANGLE=m # # IPv6: Netfilter Configuration # -CONFIG_NF_DEFRAG_IPV6=m -CONFIG_NF_CONNTRACK_IPV6=m CONFIG_NF_SOCKET_IPV6=m CONFIG_NF_TPROXY_IPV6=m # CONFIG_NF_TABLES_IPV6 is not set @@ -1208,6 +1369,7 @@ CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_NAT=m CONFIG_IP6_NF_TARGET_MASQUERADE=m CONFIG_IP6_NF_TARGET_NPT=m +CONFIG_NF_DEFRAG_IPV6=m # CONFIG_NF_TABLES_BRIDGE is not set CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m @@ -1337,15 +1499,18 @@ CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m # CONFIG_NET_SCH_CBS is not set +CONFIG_NET_SCH_ETF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_DRR=m CONFIG_NET_SCH_MQPRIO=m +CONFIG_NET_SCH_SKBPRIO=m CONFIG_NET_SCH_CHOKE=m CONFIG_NET_SCH_QFQ=m CONFIG_NET_SCH_CODEL=m CONFIG_NET_SCH_FQ_CODEL=m +CONFIG_NET_SCH_CAKE=m CONFIG_NET_SCH_FQ=m CONFIG_NET_SCH_HHF=m CONFIG_NET_SCH_PIE=m @@ -1463,7 +1628,6 @@ CONFIG_CAN_VCAN=m CONFIG_CAN_SLCAN=m CONFIG_CAN_DEV=m CONFIG_CAN_CALC_BITTIMING=y -# CONFIG_CAN_LEDS is not set # CONFIG_CAN_GRCAN is not set # CONFIG_CAN_XILINXCAN is not set # CONFIG_CAN_C_CAN is not set @@ -1490,13 +1654,14 @@ CONFIG_CAN_SOFTING=m # # CAN USB interfaces # +CONFIG_CAN_8DEV_USB=m CONFIG_CAN_EMS_USB=m CONFIG_CAN_ESD_USB2=m CONFIG_CAN_GS_USB=m CONFIG_CAN_KVASER_USB=m -CONFIG_CAN_PEAK_USB=m -CONFIG_CAN_8DEV_USB=m # CONFIG_CAN_MCBA_USB is not set +CONFIG_CAN_PEAK_USB=m +CONFIG_CAN_UCAN=m # CONFIG_CAN_DEBUG_DEVICES is not set CONFIG_BT=m CONFIG_BT_BREDR=y @@ -1534,6 +1699,7 @@ CONFIG_BT_HCIUART_ATH3K=y CONFIG_BT_HCIUART_LL=y CONFIG_BT_HCIUART_3WIRE=y CONFIG_BT_HCIUART_INTEL=y +CONFIG_BT_HCIUART_RTL=y CONFIG_BT_HCIUART_QCA=y CONFIG_BT_HCIUART_AG6XX=y CONFIG_BT_HCIUART_MRVL=y @@ -1545,6 +1711,7 @@ CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_ATH3K=m CONFIG_BT_WILINK=m +CONFIG_BT_MTKUART=m CONFIG_BT_QCOMSMD=m CONFIG_BT_HCIRSI=m CONFIG_AF_RXRPC=m @@ -1691,12 +1858,17 @@ CONFIG_GENERIC_ARCH_TOPOLOGY=y # CONFIG_HISILICON_LPC is not set CONFIG_QCOM_EBI2=y # CONFIG_SIMPLE_PM_BUS is not set +CONFIG_SUN50I_DE2_BUS=y CONFIG_SUNXI_RSB=y CONFIG_TEGRA_ACONNECT=y # CONFIG_TEGRA_GMI is not set CONFIG_VEXPRESS_CONFIG=y CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y +CONFIG_GNSS=m +CONFIG_GNSS_SERIAL=m +CONFIG_GNSS_SIRF_SERIAL=m +CONFIG_GNSS_UBX_SERIAL=m CONFIG_MTD=m # CONFIG_MTD_TESTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set @@ -1767,12 +1939,14 @@ CONFIG_MTD_SST25L=m # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOCG3 is not set +CONFIG_MTD_NAND_CORE=m CONFIG_MTD_ONENAND=m CONFIG_MTD_ONENAND_VERIFY_WRITE=y # CONFIG_MTD_ONENAND_GENERIC is not set # CONFIG_MTD_ONENAND_OTP is not set CONFIG_MTD_ONENAND_2X_PROGRAM=y # CONFIG_MTD_NAND is not set +CONFIG_MTD_SPI_NAND=m # # LPDDR & LPDDR2 PCM memory drivers @@ -2324,8 +2498,10 @@ CONFIG_NET_DSA_MV88E6XXX=m CONFIG_NET_DSA_MV88E6XXX_GLOBAL2=y # CONFIG_NET_DSA_MV88E6XXX_PTP is not set # CONFIG_NET_DSA_QCA8K is not set +CONFIG_NET_DSA_REALTEK_SMI=m # CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set # CONFIG_NET_DSA_SMSC_LAN9303_MDIO is not set +CONFIG_NET_DSA_VITESSE_VSC73XX=m CONFIG_ETHERNET=y CONFIG_MDIO=m CONFIG_NET_VENDOR_3COM=y @@ -2374,9 +2550,10 @@ CONFIG_BNXT=m CONFIG_BNXT_SRIOV=y CONFIG_BNXT_FLOWER_OFFLOAD=y # CONFIG_BNXT_DCB is not set +CONFIG_BNXT_HWMON=y CONFIG_NET_VENDOR_BROCADE=y CONFIG_BNA=m -CONFIG_NET_CADENCE=y +CONFIG_NET_VENDOR_CADENCE=y # CONFIG_MACB is not set CONFIG_NET_VENDOR_CAVIUM=y CONFIG_THUNDER_NIC_PF=m @@ -2419,6 +2596,10 @@ CONFIG_SUNDANCE=m CONFIG_NET_VENDOR_EMULEX=y CONFIG_BE2NET=m CONFIG_BE2NET_HWMON=y +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y +CONFIG_BE2NET_LANCER=y +CONFIG_BE2NET_SKYHAWK=y CONFIG_NET_VENDOR_EZCHIP=y # CONFIG_EZCHIP_NPS_MANAGEMENT_ENET is not set CONFIG_NET_VENDOR_HISILICON=y @@ -2452,10 +2633,6 @@ CONFIG_I40E_DCB=y CONFIG_I40EVF=m CONFIG_ICE=m # CONFIG_FM10K is not set -CONFIG_NET_VENDOR_EXAR=y -CONFIG_S2IO=m -CONFIG_VXGE=m -# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_JME=m CONFIG_NET_VENDOR_MARVELL=y CONFIG_MVMDIO=m @@ -2475,6 +2652,8 @@ CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX5_CORE=m # CONFIG_MLX5_FPGA is not set CONFIG_MLX5_CORE_EN=y +CONFIG_MLX5_EN_ARFS=y +CONFIG_MLX5_EN_RXNFC=y CONFIG_MLX5_MPFS=y CONFIG_MLX5_ESWITCH=y CONFIG_MLX5_CORE_EN_DCB=y @@ -2499,6 +2678,10 @@ CONFIG_FEALNX=m CONFIG_NET_VENDOR_NATSEMI=y CONFIG_NATSEMI=m CONFIG_NS83820=m +CONFIG_NET_VENDOR_NETERION=y +CONFIG_S2IO=m +CONFIG_VXGE=m +# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_NET_VENDOR_NETRONOME=y CONFIG_NFP=m CONFIG_NFP_APP_FLOWER=y @@ -2511,7 +2694,7 @@ CONFIG_NET_VENDOR_NVIDIA=y # CONFIG_FORCEDETH is not set CONFIG_NET_VENDOR_OKI=y # CONFIG_ETHOC is not set -CONFIG_NET_PACKET_ENGINE=y +CONFIG_NET_VENDOR_PACKET_ENGINES=y CONFIG_HAMACHI=m CONFIG_YELLOWFIN=m CONFIG_NET_VENDOR_QLOGIC=y @@ -2885,7 +3068,12 @@ CONFIG_LIBERTAS_THINFIRM_USB=m CONFIG_MWL8K=m CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=m +CONFIG_MT76_CORE=m +CONFIG_MT76_USB=m +CONFIG_MT76x2_COMMON=m +CONFIG_MT76x0U=m # CONFIG_MT76x2E is not set +CONFIG_MT76x2U=m CONFIG_WLAN_VENDOR_RALINK=y CONFIG_RT2X00=m CONFIG_RT2400PCI=m @@ -2982,6 +3170,7 @@ CONFIG_IEEE802154_ATUSB=m CONFIG_IEEE802154_ADF7242=m # CONFIG_IEEE802154_CA8210 is not set CONFIG_IEEE802154_MCR20A=m +# CONFIG_IEEE802154_HWSIM is not set CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_NETDEV_BACKEND=m # CONFIG_VMXNET3 is not set @@ -3250,7 +3439,6 @@ CONFIG_HW_RANDOM_BCM2835=m # CONFIG_HW_RANDOM_OMAP is not set CONFIG_HW_RANDOM_VIRTIO=m CONFIG_HW_RANDOM_HISI=m -CONFIG_HW_RANDOM_MSM=m CONFIG_HW_RANDOM_XGENE=m CONFIG_HW_RANDOM_MESON=m CONFIG_HW_RANDOM_CAVIUM=m @@ -3340,6 +3528,7 @@ CONFIG_I2C_OCORES=m CONFIG_I2C_PCA_PLATFORM=m CONFIG_I2C_PXA=m # CONFIG_I2C_PXA_SLAVE is not set +CONFIG_I2C_QCOM_GENI=m CONFIG_I2C_QUP=m CONFIG_I2C_RK3X=m CONFIG_I2C_SIMTEC=m @@ -3500,6 +3689,7 @@ CONFIG_PINCTRL_MESON_GXL=y CONFIG_PINCTRL_MESON8_PMX=y CONFIG_PINCTRL_MESON_AXG=y CONFIG_PINCTRL_MESON_AXG_PMX=y +CONFIG_PINCTRL_MADERA=m CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 CONFIG_OF_GPIO=y @@ -3549,6 +3739,7 @@ CONFIG_GPIO_PCA953X_IRQ=y # # MFD GPIO expanders # +CONFIG_GPIO_MADERA=m CONFIG_GPIO_MAX77620=y # @@ -3600,7 +3791,6 @@ CONFIG_W1_SLAVE_DS2431=m CONFIG_W1_SLAVE_DS2433=m # CONFIG_W1_SLAVE_DS2433_CRC is not set CONFIG_W1_SLAVE_DS2438=m -CONFIG_W1_SLAVE_DS2760=m CONFIG_W1_SLAVE_DS2780=m CONFIG_W1_SLAVE_DS2781=m CONFIG_W1_SLAVE_DS28E04=m @@ -3613,18 +3803,21 @@ CONFIG_POWER_RESET=y # CONFIG_POWER_RESET_GPIO_RESTART is not set CONFIG_POWER_RESET_HISI=y CONFIG_POWER_RESET_MSM=y +CONFIG_POWER_RESET_QCOM_PON=m # CONFIG_POWER_RESET_LTC2952 is not set # CONFIG_POWER_RESET_RESTART is not set CONFIG_POWER_RESET_VEXPRESS=y CONFIG_POWER_RESET_XGENE=y CONFIG_POWER_RESET_SYSCON=y CONFIG_POWER_RESET_SYSCON_POWEROFF=y +CONFIG_REBOOT_MODE=m # CONFIG_SYSCON_REBOOT_MODE is not set CONFIG_POWER_SUPPLY=y # CONFIG_POWER_SUPPLY_DEBUG is not set # CONFIG_PDA_POWER is not set # CONFIG_GENERIC_ADC_BATTERY is not set # CONFIG_TEST_POWER is not set +CONFIG_CHARGER_ADP5061=m # CONFIG_BATTERY_DS2760 is not set # CONFIG_BATTERY_DS2780 is not set # CONFIG_BATTERY_DS2781 is not set @@ -3659,6 +3852,7 @@ CONFIG_CHARGER_QCOM_SMBB=m # CONFIG_CHARGER_SMB347 is not set # CONFIG_BATTERY_GAUGE_LTC2941 is not set # CONFIG_CHARGER_RT9455 is not set +CONFIG_CHARGER_CROS_USBPD=m CONFIG_HWMON=y CONFIG_HWMON_VID=m # CONFIG_HWMON_DEBUG_CHIP is not set @@ -3751,9 +3945,11 @@ CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775=m # CONFIG_SENSORS_NCT7802 is not set # CONFIG_SENSORS_NCT7904 is not set +# CONFIG_SENSORS_NPCM7XX is not set # CONFIG_SENSORS_PCF8591 is not set # CONFIG_PMBUS is not set # CONFIG_SENSORS_PWM_FAN is not set +CONFIG_SENSORS_RASPBERRYPI_HWMON=m # CONFIG_SENSORS_SHT15 is not set CONFIG_SENSORS_SHT21=m # CONFIG_SENSORS_SHT3x is not set @@ -3908,8 +4104,6 @@ CONFIG_SSB_PCIHOST=y CONFIG_SSB_B43_PCI_BRIDGE=y CONFIG_SSB_SDIOHOST_POSSIBLE=y CONFIG_SSB_SDIOHOST=y -# CONFIG_SSB_SILENT is not set -# CONFIG_SSB_DEBUG is not set CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=y # CONFIG_SSB_DRIVER_GPIO is not set @@ -3943,9 +4137,13 @@ CONFIG_MFD_AXP20X=m # CONFIG_MFD_AXP20X_I2C is not set CONFIG_MFD_AXP20X_RSB=m CONFIG_MFD_CROS_EC=y -CONFIG_MFD_CROS_EC_I2C=m -CONFIG_MFD_CROS_EC_SPI=m # CONFIG_MFD_CROS_EC_CHARDEV is not set +CONFIG_MFD_MADERA=m +CONFIG_MFD_MADERA_I2C=m +CONFIG_MFD_MADERA_SPI=m +# CONFIG_MFD_CS47L35 is not set +# CONFIG_MFD_CS47L85 is not set +# CONFIG_MFD_CS47L90 is not set # CONFIG_PMIC_DA903X is not set # CONFIG_MFD_DA9052_SPI is not set # CONFIG_MFD_DA9052_I2C is not set @@ -4033,6 +4231,7 @@ CONFIG_MFD_SYSCON=y # CONFIG_MFD_WM831X_SPI is not set # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8994 is not set +CONFIG_MFD_ROHM_BD718XX=m CONFIG_MFD_VEXPRESS_SYSREG=y # CONFIG_RAVE_SP_CORE is not set CONFIG_REGULATOR=y @@ -4045,6 +4244,7 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=m # CONFIG_REGULATOR_AD5398 is not set # CONFIG_REGULATOR_ANATOP is not set CONFIG_REGULATOR_AXP20X=m +CONFIG_REGULATOR_BD718XX=m # CONFIG_REGULATOR_DA9210 is not set # CONFIG_REGULATOR_DA9211 is not set CONFIG_REGULATOR_FAN53555=m @@ -4282,7 +4482,6 @@ CONFIG_DVB_USB_PCTV452E=m CONFIG_DVB_USB_DW2102=m CONFIG_DVB_USB_CINERGY_T2=m CONFIG_DVB_USB_DTV5100=m -CONFIG_DVB_USB_FRIIO=m CONFIG_DVB_USB_AZ6027=m CONFIG_DVB_USB_TECHNISAT_USB2=m CONFIG_DVB_USB_V2=m @@ -4775,6 +4974,7 @@ CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100 CONFIG_DRM_LOAD_EDID_FIRMWARE=y +# CONFIG_DRM_DP_CEC is not set CONFIG_DRM_TTM=m CONFIG_DRM_GEM_CMA_HELPER=y CONFIG_DRM_KMS_CMA_HELPER=y @@ -4809,7 +5009,6 @@ CONFIG_DRM_AMDGPU_USERPTR=y # Display Engine Configuration # CONFIG_DRM_AMD_DC=y -# CONFIG_DRM_AMD_DC_FBC is not set # CONFIG_DEBUG_KERNEL_DC is not set # @@ -4825,6 +5024,7 @@ CONFIG_NOUVEAU_DEBUG_DEFAULT=3 # CONFIG_NOUVEAU_DEBUG_MMU is not set CONFIG_DRM_NOUVEAU_BACKLIGHT=y CONFIG_DRM_VGEM=m +# CONFIG_DRM_VKMS is not set CONFIG_DRM_UDL=m CONFIG_DRM_AST=m # CONFIG_DRM_MGAG200 is not set @@ -4858,6 +5058,7 @@ CONFIG_DRM_PANEL_ARM_VERSATILE=m # CONFIG_DRM_PANEL_LVDS is not set CONFIG_DRM_PANEL_SIMPLE=m # CONFIG_DRM_PANEL_ILITEK_IL9322 is not set +# CONFIG_DRM_PANEL_ILITEK_ILI9881C is not set # CONFIG_DRM_PANEL_INNOLUX_P079ZCA is not set # CONFIG_DRM_PANEL_JDI_LT070ME05000 is not set # CONFIG_DRM_PANEL_SAMSUNG_LD9040 is not set @@ -5018,6 +5219,7 @@ CONFIG_DUMMY_CONSOLE_ROWS=25 CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set # CONFIG_LOGO is not set CONFIG_SOUND=m CONFIG_SOUND_OSS_CORE=y @@ -5199,12 +5401,23 @@ CONFIG_SND_BCM2835_SOC_I2S=m CONFIG_SND_I2S_HI6210_I2S=m # CONFIG_SND_KIRKWOOD_SOC is not set # CONFIG_SND_SOC_IMG is not set + +# +# ASoC support for Amlogic platforms +# +# CONFIG_SND_MESON_AXG_FRDDR is not set +# CONFIG_SND_MESON_AXG_TODDR is not set +# CONFIG_SND_MESON_AXG_TDMIN is not set +# CONFIG_SND_MESON_AXG_TDMOUT is not set +# CONFIG_SND_MESON_AXG_SOUND_CARD is not set +# CONFIG_SND_MESON_AXG_SPDIFOUT is not set CONFIG_SND_SOC_QCOM=m CONFIG_SND_SOC_LPASS_CPU=m CONFIG_SND_SOC_LPASS_PLATFORM=m CONFIG_SND_SOC_LPASS_APQ8016=m # CONFIG_SND_SOC_STORM is not set CONFIG_SND_SOC_APQ8016_SBC=m +CONFIG_SND_SOC_QCOM_COMMON=m CONFIG_SND_SOC_QDSP6_COMMON=m CONFIG_SND_SOC_QDSP6_CORE=m CONFIG_SND_SOC_QDSP6_AFE=m @@ -5215,6 +5428,7 @@ CONFIG_SND_SOC_QDSP6_ASM=m CONFIG_SND_SOC_QDSP6_ASM_DAI=m CONFIG_SND_SOC_QDSP6=m CONFIG_SND_SOC_MSM8996=m +CONFIG_SND_SOC_SDM845=m # CONFIG_SND_SOC_ROCKCHIP is not set # @@ -5284,9 +5498,9 @@ CONFIG_SND_SOC_ALC5632=m # CONFIG_SND_SOC_CS43130 is not set # CONFIG_SND_SOC_CS4349 is not set # CONFIG_SND_SOC_CS53L30 is not set -# CONFIG_SND_SOC_DIO2125 is not set CONFIG_SND_SOC_HDMI_CODEC=m # CONFIG_SND_SOC_ES7134 is not set +# CONFIG_SND_SOC_ES7241 is not set # CONFIG_SND_SOC_ES8316 is not set # CONFIG_SND_SOC_ES8328_I2C is not set # CONFIG_SND_SOC_ES8328_SPI is not set @@ -5317,6 +5531,7 @@ CONFIG_SND_SOC_RT5640=m CONFIG_SND_SOC_RT5677=m CONFIG_SND_SOC_RT5677_SPI=m # CONFIG_SND_SOC_SGTL5000 is not set +# CONFIG_SND_SOC_SIMPLE_AMPLIFIER is not set # CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set # CONFIG_SND_SOC_SPDIF is not set # CONFIG_SND_SOC_SSM2305 is not set @@ -5404,6 +5619,7 @@ CONFIG_HID_BETOP_FF=m CONFIG_HID_CHERRY=m CONFIG_HID_CHICONY=m CONFIG_HID_CORSAIR=m +CONFIG_HID_COUGAR=m CONFIG_HID_PRODIKEYS=m CONFIG_HID_CMEDIA=m CONFIG_HID_CP2112=m @@ -5636,6 +5852,7 @@ CONFIG_USB_DWC3_DUAL_ROLE=y # Platform Glue Driver Support # CONFIG_USB_DWC3_PCI=m +CONFIG_USB_DWC3_HAPS=m CONFIG_USB_DWC3_OF_SIMPLE=m CONFIG_USB_DWC3_QCOM=m CONFIG_USB_DWC2=m @@ -5887,6 +6104,7 @@ CONFIG_MMC_SDHCI_ACPI=m CONFIG_MMC_SDHCI_PLTFM=m CONFIG_MMC_SDHCI_OF_ARASAN=m # CONFIG_MMC_SDHCI_OF_AT91 is not set +# CONFIG_MMC_SDHCI_OF_DWCMSHC is not set # CONFIG_MMC_SDHCI_CADENCE is not set CONFIG_MMC_SDHCI_TEGRA=m # CONFIG_MMC_SDHCI_PXAV3 is not set @@ -6068,7 +6286,6 @@ CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_DRV_ABB5ZES3 is not set # CONFIG_RTC_DRV_ABX80X is not set CONFIG_RTC_DRV_DS1307=y -CONFIG_RTC_DRV_DS1307_HWMON=y # CONFIG_RTC_DRV_DS1307_CENTURY is not set # CONFIG_RTC_DRV_DS1374 is not set # CONFIG_RTC_DRV_DS1672 is not set @@ -6230,7 +6447,6 @@ CONFIG_VFIO_PCI_MMAP=y CONFIG_VFIO_PCI_INTX=y # CONFIG_VFIO_PLATFORM is not set # CONFIG_VFIO_MDEV is not set -CONFIG_IRQ_BYPASS_MANAGER=y CONFIG_VIRT_DRIVERS=y CONFIG_VIRTIO=m CONFIG_VIRTIO_MENU=y @@ -6249,7 +6465,7 @@ CONFIG_VIRTIO_MMIO=m # Xen driver support # CONFIG_XEN_BALLOON=y -CONFIG_XEN_SCRUB_PAGES=y +CONFIG_XEN_SCRUB_PAGES_DEFAULT=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_BACKEND=y CONFIG_XENFS=m @@ -6258,6 +6474,7 @@ CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=m CONFIG_XEN_GRANT_DEV_ALLOC=m +# CONFIG_XEN_GRANT_DMA_ALLOC is not set CONFIG_SWIOTLB_XEN=y # CONFIG_XEN_PVCALLS_FRONTEND is not set # CONFIG_XEN_PVCALLS_BACKEND is not set @@ -6316,11 +6533,6 @@ CONFIG_88EU_AP_MODE=y # CONFIG_AD9832 is not set # CONFIG_AD9834 is not set -# -# Digital gyroscope sensors -# -# CONFIG_ADIS16060 is not set - # # Network Analyzer, Impedance Converters # @@ -6377,17 +6589,29 @@ CONFIG_BCM_VIDEOCORE=y # CONFIG_BCM2835_VCHIQ is not set # CONFIG_SND_BCM2835 is not set # CONFIG_VIDEO_BCM2835 is not set - -# -# USB Power Delivery and Type-C drivers -# # CONFIG_PI433 is not set CONFIG_MTK_MMC=m # CONFIG_MTK_AEE_KDUMP is not set # CONFIG_MTK_MMC_CD_POLL is not set + +# +# Gasket devices +# +# CONFIG_STAGING_GASKET_FRAMEWORK is not set +# CONFIG_XIL_AXIS_FIFO is not set +CONFIG_EROFS_FS=m +# CONFIG_EROFS_FS_DEBUG is not set +CONFIG_EROFS_FS_XATTR=y +CONFIG_EROFS_FS_POSIX_ACL=y +CONFIG_EROFS_FS_SECURITY=y +# CONFIG_EROFS_FS_USE_VM_MAP_RAM is not set +# CONFIG_EROFS_FAULT_INJECTION is not set +# CONFIG_EROFS_FS_ZIP is not set # CONFIG_GOLDFISH is not set CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_TBMC=m +CONFIG_CROS_EC_I2C=m +CONFIG_CROS_EC_SPI=m CONFIG_CROS_EC_PROTO=y CONFIG_CROS_KBD_LED_BACKLIGHT=m CONFIG_CLKDEV_LOOKUP=y @@ -6402,6 +6626,7 @@ CONFIG_CLK_SP810=y CONFIG_CLK_VEXPRESS_OSC=y # CONFIG_CLK_HSDK is not set # CONFIG_COMMON_CLK_MAX77686 is not set +CONFIG_COMMON_CLK_MAX9485=m CONFIG_COMMON_CLK_RK808=m CONFIG_COMMON_CLK_HI655X=m CONFIG_COMMON_CLK_SCMI=m @@ -6425,10 +6650,12 @@ CONFIG_RESET_HISI=y CONFIG_STUB_CLK_HI6220=y # CONFIG_STUB_CLK_HI3660 is not set CONFIG_COMMON_CLK_AMLOGIC=y +CONFIG_COMMON_CLK_AMLOGIC_AUDIO=y CONFIG_COMMON_CLK_MESON_AO=y CONFIG_COMMON_CLK_REGMAP_MESON=y CONFIG_COMMON_CLK_GXBB=y CONFIG_COMMON_CLK_AXG=y +CONFIG_COMMON_CLK_AXG_AUDIO=m CONFIG_ARMADA_37XX_CLK=y CONFIG_ARMADA_AP806_SYSCON=y CONFIG_ARMADA_CP110_SYSCON=y @@ -6460,6 +6687,7 @@ CONFIG_MSM_MMCC_8996=y CONFIG_MSM_GCC_8998=m CONFIG_SDM_GCC_845=m CONFIG_SDM_VIDEOCC_845=m +CONFIG_SDM_DISPCC_845=m # CONFIG_SPMI_PMIC_CLKDIV is not set CONFIG_SUNXI_CCU=y CONFIG_SUN50I_A64_CCU=y @@ -6512,6 +6740,8 @@ CONFIG_IOMMU_IO_PGTABLE=y CONFIG_IOMMU_IO_PGTABLE_LPAE=y # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set +# CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_IOVA=y CONFIG_OF_IOMMU=y CONFIG_IOMMU_DMA=y @@ -6553,6 +6783,10 @@ CONFIG_MESON_MX_SOCINFO=y CONFIG_RASPBERRYPI_POWER=y # CONFIG_SOC_BRCMSTB is not set +# +# NXP/Freescale QorIQ SoC drivers +# + # # i.MX SoC drivers # @@ -6563,8 +6797,11 @@ CONFIG_RASPBERRYPI_POWER=y # CONFIG_QCOM_COMMAND_DB is not set CONFIG_QCOM_GENI_SE=m CONFIG_QCOM_GSBI=m +CONFIG_QCOM_LLCC=m +CONFIG_QCOM_SDM845_LLCC=m CONFIG_QCOM_MDT_LOADER=m # CONFIG_QCOM_RMTFS_MEM is not set +# CONFIG_QCOM_RPMH is not set CONFIG_QCOM_SMD_RPM=m CONFIG_QCOM_WCNSS_CTRL=m CONFIG_QCOM_APR=m @@ -6727,6 +6964,7 @@ CONFIG_VIPERBOARD_ADC=m # Chemical Sensors # # CONFIG_ATLAS_PH_SENSOR is not set +# CONFIG_BME680 is not set # CONFIG_CCS811 is not set # CONFIG_IAQCORE is not set # CONFIG_VZ89X is not set @@ -6764,6 +7002,7 @@ CONFIG_AD5446=m # CONFIG_AD5686_SPI is not set # CONFIG_AD5696_I2C is not set # CONFIG_AD5755 is not set +# CONFIG_AD5758 is not set # CONFIG_AD5761 is not set # CONFIG_AD5764 is not set # CONFIG_AD5791 is not set @@ -6876,6 +7115,7 @@ CONFIG_HID_SENSOR_PROX=m # CONFIG_MAX44000 is not set # CONFIG_OPT3001 is not set # CONFIG_PA12203001 is not set +# CONFIG_SI1133 is not set # CONFIG_SI1145 is not set # CONFIG_STK3310 is not set # CONFIG_ST_UVIS25 is not set @@ -6965,6 +7205,7 @@ CONFIG_HID_SENSOR_PRESS=m # # Proximity and distance sensors # +# CONFIG_ISL29501 is not set # CONFIG_LIDAR_LITE_V2 is not set # CONFIG_RFD77402 is not set # CONFIG_SRF04 is not set @@ -7024,6 +7265,8 @@ CONFIG_MESON_IRQ_GPIO=y CONFIG_ARCH_HAS_RESET_CONTROLLER=y CONFIG_RESET_CONTROLLER=y CONFIG_RESET_MESON=y +# CONFIG_RESET_MESON_AUDIO_ARB is not set +# CONFIG_RESET_QCOM_AOSS is not set CONFIG_RESET_SIMPLE=y CONFIG_RESET_SUNXI=y # CONFIG_RESET_TI_SYSCON is not set @@ -7119,87 +7362,11 @@ CONFIG_TEE=m # TEE drivers # CONFIG_OPTEE=m +CONFIG_OPTEE_SHM_NUM_PRIV_PAGES=1 CONFIG_PM_OPP=y # CONFIG_SIOX is not set # CONFIG_SLIMBUS is not set -# -# Firmware Drivers -# -CONFIG_ARM_PSCI_FW=y -# CONFIG_ARM_PSCI_CHECKER is not set -CONFIG_ARM_SCMI_PROTOCOL=y -CONFIG_ARM_SCMI_POWER_DOMAIN=m -# CONFIG_ARM_SCPI_PROTOCOL is not set -# CONFIG_ARM_SDE_INTERFACE is not set -# CONFIG_FIRMWARE_MEMMAP is not set -CONFIG_DMIID=y -CONFIG_DMI_SYSFS=y -CONFIG_RASPBERRYPI_FIRMWARE=y -# CONFIG_FW_CFG_SYSFS is not set -CONFIG_QCOM_SCM=y -CONFIG_QCOM_SCM_64=y -# CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set -CONFIG_HAVE_ARM_SMCCC=y -# CONFIG_GOOGLE_FIRMWARE is not set - -# -# EFI (Extensible Firmware Interface) Support -# -CONFIG_EFI_VARS=m -CONFIG_EFI_ESRT=y -CONFIG_EFI_VARS_PSTORE=m -# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set -CONFIG_EFI_PARAMS_FROM_FDT=y -CONFIG_EFI_RUNTIME_WRAPPERS=y -CONFIG_EFI_ARMSTUB=y -# CONFIG_EFI_BOOTLOADER_CONTROL is not set -# CONFIG_EFI_CAPSULE_LOADER is not set -# CONFIG_EFI_TEST is not set -# CONFIG_RESET_ATTACK_MITIGATION is not set -CONFIG_MESON_SM=y - -# -# Tegra firmware driver -# -CONFIG_TEGRA_IVC=y -CONFIG_TEGRA_BPMP=y -CONFIG_ACPI=y -CONFIG_ACPI_GENERIC_GSI=y -CONFIG_ACPI_CCA_REQUIRED=y -# CONFIG_ACPI_DEBUGGER is not set -CONFIG_ACPI_SPCR_TABLE=y -# CONFIG_ACPI_EC_DEBUGFS is not set -CONFIG_ACPI_BUTTON=y -CONFIG_ACPI_FAN=y -CONFIG_ACPI_TAD=m -# CONFIG_ACPI_DOCK is not set -CONFIG_ACPI_PROCESSOR_IDLE=y -CONFIG_ACPI_MCFG=y -CONFIG_ACPI_CPPC_LIB=y -CONFIG_ACPI_PROCESSOR=y -# CONFIG_ACPI_IPMI is not set -CONFIG_ACPI_HOTPLUG_CPU=y -CONFIG_ACPI_THERMAL=y -CONFIG_ACPI_NUMA=y -CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y -CONFIG_ACPI_TABLE_UPGRADE=y -# CONFIG_ACPI_DEBUG is not set -# CONFIG_ACPI_PCI_SLOT is not set -CONFIG_ACPI_CONTAINER=y -# CONFIG_ACPI_HED is not set -# CONFIG_ACPI_CUSTOM_METHOD is not set -# CONFIG_ACPI_BGRT is not set -CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y -CONFIG_ACPI_NFIT=y -CONFIG_HAVE_ACPI_APEI=y -# CONFIG_ACPI_APEI is not set -# CONFIG_PMIC_OPREGION is not set -# CONFIG_ACPI_CONFIGFS is not set -CONFIG_ACPI_IORT=y -CONFIG_ACPI_GTDT=y -CONFIG_ACPI_PPTT=y - # # File systems # @@ -7289,6 +7456,7 @@ CONFIG_OVERLAY_FS=m CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y # CONFIG_OVERLAY_FS_INDEX is not set # CONFIG_OVERLAY_FS_XINO_AUTO is not set +# CONFIG_OVERLAY_FS_METACOPY is not set # # Caches @@ -7353,7 +7521,6 @@ CONFIG_ECRYPT_FS=m CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m -# CONFIG_HFSPLUS_FS_POSIX_ACL is not set CONFIG_BEFS_FS=m # CONFIG_BEFS_DEBUG is not set CONFIG_BFS_FS=m @@ -7380,6 +7547,7 @@ CONFIG_UBIFS_FS_ADVANCED_COMPR=y CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y # CONFIG_UBIFS_ATIME_SUPPORT is not set +CONFIG_UBIFS_FS_XATTR=y # CONFIG_UBIFS_FS_ENCRYPTION is not set CONFIG_UBIFS_FS_SECURITY=y # CONFIG_CRAMFS is not set @@ -7417,6 +7585,7 @@ CONFIG_PSTORE_DEFLATE_COMPRESS=m # CONFIG_PSTORE_LZ4_COMPRESS is not set # CONFIG_PSTORE_LZ4HC_COMPRESS is not set # CONFIG_PSTORE_842_COMPRESS is not set +# CONFIG_PSTORE_ZSTD_COMPRESS is not set CONFIG_PSTORE_COMPRESS=y CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" @@ -7477,7 +7646,8 @@ CONFIG_CEPH_FS=m CONFIG_CEPH_FSCACHE=y CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CIFS=m -# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_STATS2 is not set +CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_UPCALL=y CONFIG_CIFS_XATTR=y @@ -7487,7 +7657,6 @@ CONFIG_CIFS_DEBUG=y # CONFIG_CIFS_DEBUG2 is not set # CONFIG_CIFS_DEBUG_DUMP_KEYS is not set CONFIG_CIFS_DFS_UPCALL=y -# CONFIG_CIFS_SMB311 is not set # CONFIG_CIFS_SMB_DIRECT is not set CONFIG_CIFS_FSCACHE=y CONFIG_CODA_FS=m @@ -7551,253 +7720,6 @@ CONFIG_NLS_MAC_TURKISH=m CONFIG_NLS_UTF8=m CONFIG_DLM=m CONFIG_DLM_DEBUG=y -CONFIG_HAVE_KVM_IRQCHIP=y -CONFIG_HAVE_KVM_IRQFD=y -CONFIG_HAVE_KVM_IRQ_ROUTING=y -CONFIG_HAVE_KVM_EVENTFD=y -CONFIG_KVM_MMIO=y -CONFIG_HAVE_KVM_MSI=y -CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y -CONFIG_KVM_VFIO=y -CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL=y -CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y -CONFIG_HAVE_KVM_IRQ_BYPASS=y -CONFIG_HAVE_KVM_VCPU_RUN_PID_CHANGE=y -CONFIG_VIRTUALIZATION=y -CONFIG_KVM=y -CONFIG_KVM_ARM_HOST=y -CONFIG_KVM_ARM_PMU=y -CONFIG_KVM_INDIRECT_VECTORS=y -CONFIG_VHOST_NET=m -CONFIG_VHOST_SCSI=m -CONFIG_VHOST_VSOCK=m -CONFIG_VHOST=m -# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set - -# -# Kernel hacking -# - -# -# printk and dmesg options -# -CONFIG_PRINTK_TIME=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -CONFIG_BOOT_PRINTK_DELAY=y -CONFIG_DYNAMIC_DEBUG=y - -# -# Compile-time checks and compiler options -# -CONFIG_DEBUG_INFO=y -# CONFIG_DEBUG_INFO_REDUCED is not set -# CONFIG_DEBUG_INFO_SPLIT is not set -# CONFIG_DEBUG_INFO_DWARF4 is not set -# CONFIG_GDB_SCRIPTS is not set -CONFIG_ENABLE_WARN_DEPRECATED=y -CONFIG_ENABLE_MUST_CHECK=y -CONFIG_FRAME_WARN=2048 -CONFIG_STRIP_ASM_SYMS=y -# CONFIG_READABLE_ASM is not set -# CONFIG_UNUSED_SYMBOLS is not set -# CONFIG_PAGE_OWNER is not set -CONFIG_DEBUG_FS=y -# CONFIG_HEADERS_CHECK is not set -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -CONFIG_ARCH_WANT_FRAME_POINTERS=y -CONFIG_FRAME_POINTER=y -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x01b6 -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_DEBUG_KERNEL=y - -# -# Memory Debugging -# -CONFIG_PAGE_EXTENSION=y -# CONFIG_DEBUG_PAGEALLOC is not set -CONFIG_PAGE_POISONING=y -CONFIG_PAGE_POISONING_NO_SANITY=y -# CONFIG_PAGE_POISONING_ZERO is not set -# CONFIG_DEBUG_PAGE_REF is not set -# CONFIG_DEBUG_RODATA_TEST is not set -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_SLUB_DEBUG_ON is not set -# CONFIG_SLUB_STATS is not set -CONFIG_HAVE_DEBUG_KMEMLEAK=y -# CONFIG_DEBUG_KMEMLEAK is not set -# CONFIG_DEBUG_STACK_USAGE is not set -# CONFIG_DEBUG_VM is not set -CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y -# CONFIG_DEBUG_VIRTUAL is not set -CONFIG_DEBUG_MEMORY_INIT=y -# CONFIG_DEBUG_PER_CPU_MAPS is not set -CONFIG_HAVE_ARCH_KASAN=y -# CONFIG_KASAN is not set -CONFIG_ARCH_HAS_KCOV=y -CONFIG_CC_HAS_SANCOV_TRACE_PC=y -# CONFIG_KCOV is not set -# CONFIG_DEBUG_SHIRQ is not set - -# -# Debug Lockups and Hangs -# -CONFIG_LOCKUP_DETECTOR=y -CONFIG_SOFTLOCKUP_DETECTOR=y -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 -# CONFIG_WQ_WATCHDOG is not set -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_ON_OOPS_VALUE=0 -CONFIG_PANIC_TIMEOUT=0 -CONFIG_SCHED_DEBUG=y -CONFIG_SCHED_INFO=y -CONFIG_SCHEDSTATS=y -CONFIG_SCHED_STACK_END_CHECK=y -# CONFIG_DEBUG_TIMEKEEPING is not set - -# -# Lock Debugging (spinlocks, mutexes, etc...) -# -CONFIG_LOCK_DEBUGGING_SUPPORT=y -# CONFIG_PROVE_LOCKING is not set -# CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -# CONFIG_LOCK_TORTURE_TEST is not set -# CONFIG_WW_MUTEX_SELFTEST is not set -CONFIG_STACKTRACE=y -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -# CONFIG_DEBUG_KOBJECT is not set -CONFIG_HAVE_DEBUG_BUGVERBOSE=y -CONFIG_DEBUG_BUGVERBOSE=y -CONFIG_DEBUG_LIST=y -# CONFIG_DEBUG_PI_LIST is not set -# CONFIG_DEBUG_SG is not set -# CONFIG_DEBUG_NOTIFIERS is not set -# CONFIG_DEBUG_CREDENTIALS is not set - -# -# RCU Debugging -# -# CONFIG_RCU_PERF_TEST is not set -# CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=21 -# CONFIG_RCU_TRACE is not set -# CONFIG_RCU_EQS_DEBUG is not set -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -CONFIG_NOTIFIER_ERROR_INJECTION=m -CONFIG_PM_NOTIFIER_ERROR_INJECT=m -# CONFIG_NETDEV_NOTIFIER_ERROR_INJECT is not set -# CONFIG_FAULT_INJECTION is not set -# CONFIG_LATENCYTOP is not set -CONFIG_NOP_TRACER=y -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_TRACER_MAX_TRACE=y -CONFIG_TRACE_CLOCK=y -CONFIG_RING_BUFFER=y -CONFIG_EVENT_TRACING=y -CONFIG_CONTEXT_SWITCH_TRACER=y -CONFIG_TRACING=y -CONFIG_GENERIC_TRACER=y -CONFIG_TRACING_SUPPORT=y -CONFIG_FTRACE=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUNCTION_GRAPH_TRACER=y -# CONFIG_PREEMPTIRQ_EVENTS is not set -# CONFIG_IRQSOFF_TRACER is not set -# CONFIG_SCHED_TRACER is not set -# CONFIG_HWLAT_TRACER is not set -CONFIG_FTRACE_SYSCALLS=y -CONFIG_TRACER_SNAPSHOT=y -# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -# CONFIG_PROFILE_ALL_BRANCHES is not set -CONFIG_STACK_TRACER=y -CONFIG_BLK_DEV_IO_TRACE=y -CONFIG_KPROBE_EVENTS=y -CONFIG_UPROBE_EVENTS=y -CONFIG_BPF_EVENTS=y -CONFIG_PROBE_EVENTS=y -CONFIG_DYNAMIC_FTRACE=y -# CONFIG_FUNCTION_PROFILER is not set -CONFIG_FTRACE_MCOUNT_RECORD=y -# CONFIG_FTRACE_STARTUP_TEST is not set -# CONFIG_HIST_TRIGGERS is not set -# CONFIG_TRACEPOINT_BENCHMARK is not set -# CONFIG_RING_BUFFER_BENCHMARK is not set -# CONFIG_RING_BUFFER_STARTUP_TEST is not set -# CONFIG_TRACE_EVAL_MAP_FILE is not set -CONFIG_TRACING_EVENTS_GPIO=y -# CONFIG_DMA_API_DEBUG is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_LKDTM is not set -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_TEST_SORT is not set -# CONFIG_KPROBES_SANITY_TEST is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -# CONFIG_RBTREE_TEST is not set -# CONFIG_INTERVAL_TREE_TEST is not set -# CONFIG_PERCPU_TEST is not set -# CONFIG_ATOMIC64_SELFTEST is not set -# CONFIG_ASYNC_RAID6_TEST is not set -# CONFIG_TEST_HEXDUMP is not set -# CONFIG_TEST_STRING_HELPERS is not set -# CONFIG_TEST_KSTRTOX is not set -# CONFIG_TEST_PRINTF is not set -# CONFIG_TEST_BITMAP is not set -# CONFIG_TEST_UUID is not set -# CONFIG_TEST_OVERFLOW is not set -# CONFIG_TEST_RHASHTABLE is not set -# CONFIG_TEST_HASH is not set -# CONFIG_TEST_LKM is not set -CONFIG_TEST_USER_COPY=m -CONFIG_TEST_BPF=m -# CONFIG_FIND_BIT_BENCHMARK is not set -CONFIG_TEST_FIRMWARE=m -# CONFIG_TEST_SYSCTL is not set -# CONFIG_TEST_UDELAY is not set -CONFIG_TEST_STATIC_KEYS=m -# CONFIG_TEST_KMOD is not set -# CONFIG_MEMTEST is not set -CONFIG_BUG_ON_DATA_CORRUPTION=y -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -# CONFIG_KGDB is not set -CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y -# CONFIG_UBSAN is not set -CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y -CONFIG_STRICT_DEVMEM=y -CONFIG_IO_STRICT_DEVMEM=y -# CONFIG_ARM64_PTDUMP_DEBUGFS is not set -# CONFIG_PID_IN_CONTEXTIDR is not set -# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set -# CONFIG_DEBUG_WX is not set -# CONFIG_DEBUG_ALIGN_RODATA is not set -# CONFIG_DEBUG_EFI is not set -# CONFIG_ARM64_RELOC_TEST is not set -# CONFIG_CORESIGHT is not set # # Security options @@ -8019,12 +7941,14 @@ CONFIG_CRYPTO_DEV_NITROX=m CONFIG_CRYPTO_DEV_NITROX_CNN55XX=m # CONFIG_CRYPTO_DEV_CAVIUM_ZIP is not set CONFIG_CRYPTO_DEV_QCE=m +CONFIG_CRYPTO_DEV_QCOM_RNG=m # CONFIG_CRYPTO_DEV_ROCKCHIP is not set CONFIG_CRYPTO_DEV_CHELSIO=m # CONFIG_CHELSIO_IPSEC_INLINE is not set CONFIG_CRYPTO_DEV_VIRTIO=m CONFIG_CRYPTO_DEV_SAFEXCEL=m # CONFIG_CRYPTO_DEV_CCREE is not set +CONFIG_CRYPTO_DEV_HISI_SEC=m CONFIG_ASYMMETRIC_KEY_TYPE=y CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y CONFIG_X509_CERTIFICATE_PARSER=y @@ -8040,26 +7964,6 @@ CONFIG_SYSTEM_TRUSTED_KEYS="" # CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set # CONFIG_SECONDARY_TRUSTED_KEYRING is not set # CONFIG_SYSTEM_BLACKLIST_KEYRING is not set -CONFIG_ARM64_CRYPTO=y -CONFIG_CRYPTO_SHA256_ARM64=m -# CONFIG_CRYPTO_SHA512_ARM64 is not set -CONFIG_CRYPTO_SHA1_ARM64_CE=m -CONFIG_CRYPTO_SHA2_ARM64_CE=m -# CONFIG_CRYPTO_SHA512_ARM64_CE is not set -# CONFIG_CRYPTO_SHA3_ARM64 is not set -# CONFIG_CRYPTO_SM3_ARM64_CE is not set -# CONFIG_CRYPTO_SM4_ARM64_CE is not set -CONFIG_CRYPTO_GHASH_ARM64_CE=m -# CONFIG_CRYPTO_CRCT10DIF_ARM64_CE is not set -CONFIG_CRYPTO_CRC32_ARM64_CE=y -CONFIG_CRYPTO_AES_ARM64=m -CONFIG_CRYPTO_AES_ARM64_CE=m -CONFIG_CRYPTO_AES_ARM64_CE_CCM=m -CONFIG_CRYPTO_AES_ARM64_CE_BLK=m -# CONFIG_CRYPTO_AES_ARM64_NEON_BLK is not set -# CONFIG_CRYPTO_CHACHA20_NEON is not set -# CONFIG_CRYPTO_AES_ARM64_BS is not set -CONFIG_CRYPTO_SPECK_NEON=m CONFIG_BINARY_PRINTF=y # @@ -8086,6 +7990,7 @@ CONFIG_CRC32_SLICEBY8=y # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set +CONFIG_CRC64=m # CONFIG_CRC4 is not set CONFIG_CRC7=m CONFIG_LIBCRC32C=m @@ -8161,9 +8066,238 @@ CONFIG_FONT_SUPPORT=y # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y +CONFIG_SG_SPLIT=y CONFIG_SG_POOL=y CONFIG_ARCH_HAS_SG_CHAIN=y CONFIG_ARCH_HAS_PMEM_API=y CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE=y CONFIG_SBITMAP=y # CONFIG_STRING_SELFTEST is not set + +# +# Kernel hacking +# + +# +# printk and dmesg options +# +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 +CONFIG_CONSOLE_LOGLEVEL_QUIET=4 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 +CONFIG_BOOT_PRINTK_DELAY=y +CONFIG_DYNAMIC_DEBUG=y + +# +# Compile-time checks and compiler options +# +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_INFO_SPLIT is not set +# CONFIG_DEBUG_INFO_DWARF4 is not set +# CONFIG_GDB_SCRIPTS is not set +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=2048 +CONFIG_STRIP_ASM_SYMS=y +# CONFIG_READABLE_ASM is not set +# CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_PAGE_OWNER is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_SECTION_MISMATCH_WARN_ONLY=y +CONFIG_ARCH_WANT_FRAME_POINTERS=y +CONFIG_FRAME_POINTER=y +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +CONFIG_MAGIC_SYSRQ=y +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x01b6 +CONFIG_MAGIC_SYSRQ_SERIAL=y +CONFIG_DEBUG_KERNEL=y + +# +# Memory Debugging +# +CONFIG_PAGE_EXTENSION=y +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_PAGE_POISONING=y +CONFIG_PAGE_POISONING_NO_SANITY=y +# CONFIG_PAGE_POISONING_ZERO is not set +# CONFIG_DEBUG_PAGE_REF is not set +# CONFIG_DEBUG_RODATA_TEST is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y +# CONFIG_DEBUG_VIRTUAL is not set +CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_PER_CPU_MAPS is not set +CONFIG_HAVE_ARCH_KASAN=y +# CONFIG_KASAN is not set +CONFIG_ARCH_HAS_KCOV=y +CONFIG_CC_HAS_SANCOV_TRACE_PC=y +# CONFIG_KCOV is not set +# CONFIG_DEBUG_SHIRQ is not set + +# +# Debug Lockups and Hangs +# +CONFIG_LOCKUP_DETECTOR=y +CONFIG_SOFTLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +# CONFIG_WQ_WATCHDOG is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +CONFIG_PANIC_TIMEOUT=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHED_INFO=y +CONFIG_SCHEDSTATS=y +CONFIG_SCHED_STACK_END_CHECK=y +# CONFIG_DEBUG_TIMEKEEPING is not set + +# +# Lock Debugging (spinlocks, mutexes, etc...) +# +CONFIG_LOCK_DEBUGGING_SUPPORT=y +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_RWSEMS is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_LOCK_TORTURE_TEST is not set +# CONFIG_WW_MUTEX_SELFTEST is not set +CONFIG_STACKTRACE=y +# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_HAVE_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_LIST=y +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set + +# +# RCU Debugging +# +# CONFIG_RCU_PERF_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_TIMEOUT=21 +# CONFIG_RCU_TRACE is not set +# CONFIG_RCU_EQS_DEBUG is not set +# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set +CONFIG_NOTIFIER_ERROR_INJECTION=m +CONFIG_PM_NOTIFIER_ERROR_INJECT=m +# CONFIG_NETDEV_NOTIFIER_ERROR_INJECT is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_TRACER_MAX_TRACE=y +CONFIG_TRACE_CLOCK=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +# CONFIG_PREEMPTIRQ_EVENTS is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_SCHED_TRACER is not set +# CONFIG_HWLAT_TRACER is not set +CONFIG_FTRACE_SYSCALLS=y +CONFIG_TRACER_SNAPSHOT=y +# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +CONFIG_STACK_TRACER=y +CONFIG_BLK_DEV_IO_TRACE=y +CONFIG_KPROBE_EVENTS=y +CONFIG_UPROBE_EVENTS=y +CONFIG_BPF_EVENTS=y +CONFIG_PROBE_EVENTS=y +CONFIG_DYNAMIC_FTRACE=y +# CONFIG_FUNCTION_PROFILER is not set +CONFIG_FTRACE_MCOUNT_RECORD=y +# CONFIG_FTRACE_STARTUP_TEST is not set +# CONFIG_HIST_TRIGGERS is not set +# CONFIG_TRACEPOINT_BENCHMARK is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set +# CONFIG_PREEMPTIRQ_DELAY_TEST is not set +# CONFIG_TRACE_EVAL_MAP_FILE is not set +CONFIG_TRACING_EVENTS_GPIO=y +# CONFIG_DMA_API_DEBUG is not set +CONFIG_RUNTIME_TESTING_MENU=y +# CONFIG_LKDTM is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_TEST_SORT is not set +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_INTERVAL_TREE_TEST is not set +# CONFIG_PERCPU_TEST is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_ASYNC_RAID6_TEST is not set +# CONFIG_TEST_HEXDUMP is not set +# CONFIG_TEST_STRING_HELPERS is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_TEST_PRINTF is not set +# CONFIG_TEST_BITMAP is not set +# CONFIG_TEST_BITFIELD is not set +# CONFIG_TEST_UUID is not set +# CONFIG_TEST_OVERFLOW is not set +# CONFIG_TEST_RHASHTABLE is not set +# CONFIG_TEST_HASH is not set +# CONFIG_TEST_IDA is not set +# CONFIG_TEST_LKM is not set +CONFIG_TEST_USER_COPY=m +CONFIG_TEST_BPF=m +# CONFIG_FIND_BIT_BENCHMARK is not set +CONFIG_TEST_FIRMWARE=m +# CONFIG_TEST_SYSCTL is not set +# CONFIG_TEST_UDELAY is not set +CONFIG_TEST_STATIC_KEYS=m +# CONFIG_TEST_KMOD is not set +# CONFIG_MEMTEST is not set +CONFIG_BUG_ON_DATA_CORRUPTION=y +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y +# CONFIG_UBSAN is not set +CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y +CONFIG_STRICT_DEVMEM=y +CONFIG_IO_STRICT_DEVMEM=y +# CONFIG_ARM64_PTDUMP_DEBUGFS is not set +# CONFIG_PID_IN_CONTEXTIDR is not set +# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set +# CONFIG_DEBUG_WX is not set +# CONFIG_DEBUG_ALIGN_RODATA is not set +# CONFIG_DEBUG_EFI is not set +# CONFIG_ARM64_RELOC_TEST is not set +# CONFIG_CORESIGHT is not set diff --git a/gnu/packages/aux-files/linux-libre/4.18-i686.conf b/gnu/packages/aux-files/linux-libre/4.19-i686.conf similarity index 98% rename from gnu/packages/aux-files/linux-libre/4.18-i686.conf rename to gnu/packages/aux-files/linux-libre/4.19-i686.conf index 859b8b10b6..c1df3f0f49 100644 --- a/gnu/packages/aux-files/linux-libre/4.18-i686.conf +++ b/gnu/packages/aux-files/linux-libre/4.19-i686.conf @@ -1,47 +1,11 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 4.18.9-gnu Kernel Configuration +# Linux/x86 4.19.0-gnu Kernel Configuration # # # Compiler: gcc (GCC) 7.3.0 # -# CONFIG_64BIT is not set -CONFIG_X86_32=y -CONFIG_X86=y -CONFIG_INSTRUCTION_DECODER=y -CONFIG_OUTPUT_FORMAT="elf32-i386" -CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_MMU=y -CONFIG_ARCH_MMAP_RND_BITS_MIN=8 -CONFIG_ARCH_MMAP_RND_BITS_MAX=16 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 -CONFIG_GENERIC_ISA_DMA=y -CONFIG_GENERIC_BUG=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_ARCH_MAY_HAVE_PC_FDC=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_ARCH_HAS_CPU_RELAX=y -CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y -CONFIG_ARCH_HAS_FILTER_PGPROT=y -CONFIG_HAVE_SETUP_PER_CPU_AREA=y -CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y -CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y -CONFIG_ARCH_HIBERNATION_POSSIBLE=y -CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y -CONFIG_ARCH_WANT_GENERAL_HUGETLB=y -CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y -CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y -CONFIG_HAVE_INTEL_TXT=y -CONFIG_X86_32_SMP=y -CONFIG_ARCH_SUPPORTS_UPROBES=y -CONFIG_FIX_EARLYCON_MEM=y -CONFIG_PGTABLE_LEVELS=3 CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=70300 CONFIG_CLANG_VERSION=0 @@ -56,6 +20,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set +CONFIG_BUILD_SALT="" CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_BZIP2=y CONFIG_HAVE_KERNEL_LZMA=y @@ -118,6 +83,9 @@ CONFIG_NO_HZ_COMMON=y CONFIG_NO_HZ_IDLE=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y +# CONFIG_PREEMPT_NONE is not set +CONFIG_PREEMPT_VOLUNTARY=y +# CONFIG_PREEMPT is not set # # CPU/Task time and stats accounting @@ -153,6 +121,7 @@ CONFIG_PAGE_COUNTER=y CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y # CONFIG_MEMCG_SWAP_ENABLED is not set +CONFIG_MEMCG_KMEM=y CONFIG_BLK_CGROUP=y # CONFIG_DEBUG_BLK_CGROUP is not set CONFIG_CGROUP_WRITEBACK=y @@ -178,6 +147,7 @@ CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y +CONFIG_CHECKPOINT_RESTORE=y CONFIG_SCHED_AUTOGROUP=y # CONFIG_SYSFS_DEPRECATED is not set CONFIG_RELAY=y @@ -221,7 +191,6 @@ CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_ADVISE_SYSCALLS=y CONFIG_MEMBARRIER=y -CONFIG_CHECKPOINT_RESTORE=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_BASE_RELATIVE=y @@ -253,178 +222,43 @@ CONFIG_SLUB_CPU_PARTIAL=y CONFIG_SYSTEM_DATA_VERIFICATION=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y -CONFIG_CRASH_CORE=y -CONFIG_KEXEC_CORE=y -CONFIG_HOTPLUG_SMT=y -CONFIG_OPROFILE=m -# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set -CONFIG_HAVE_OPROFILE=y -CONFIG_OPROFILE_NMI_TIMER=y -CONFIG_KPROBES=y -CONFIG_JUMP_LABEL=y -# CONFIG_STATIC_KEYS_SELFTEST is not set -CONFIG_OPTPROBES=y -CONFIG_KPROBES_ON_FTRACE=y -CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y -CONFIG_ARCH_USE_BUILTIN_BSWAP=y -CONFIG_KRETPROBES=y -CONFIG_USER_RETURN_NOTIFIER=y -CONFIG_HAVE_IOREMAP_PROT=y -CONFIG_HAVE_KPROBES=y -CONFIG_HAVE_KRETPROBES=y -CONFIG_HAVE_OPTPROBES=y -CONFIG_HAVE_KPROBES_ON_FTRACE=y -CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y -CONFIG_HAVE_NMI=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -CONFIG_HAVE_DMA_CONTIGUOUS=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_ARCH_HAS_FORTIFY_SOURCE=y -CONFIG_ARCH_HAS_SET_MEMORY=y -CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y -CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_RSEQ=y -CONFIG_HAVE_CLK=y -CONFIG_HAVE_HW_BREAKPOINT=y -CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y -CONFIG_HAVE_USER_RETURN_NOTIFIER=y -CONFIG_HAVE_PERF_EVENTS_NMI=y -CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y -CONFIG_HAVE_PERF_REGS=y -CONFIG_HAVE_PERF_USER_STACK_DUMP=y -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_HAVE_RCU_TABLE_FREE=y -CONFIG_HAVE_RCU_TABLE_INVALIDATE=y -CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y -CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y -CONFIG_HAVE_CMPXCHG_LOCAL=y -CONFIG_HAVE_CMPXCHG_DOUBLE=y -CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y -CONFIG_HAVE_ARCH_SECCOMP_FILTER=y -CONFIG_SECCOMP_FILTER=y -CONFIG_PLUGIN_HOSTCC="" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_HAVE_STACKPROTECTOR=y -CONFIG_CC_HAS_STACKPROTECTOR_NONE=y -CONFIG_STACKPROTECTOR=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y -CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y -CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y -CONFIG_HAVE_ARCH_HUGE_VMAP=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_MODULES_USE_ELF_REL=y -CONFIG_ARCH_HAS_ELF_RANDOMIZE=y -CONFIG_HAVE_ARCH_MMAP_RND_BITS=y -CONFIG_HAVE_EXIT_THREAD=y -CONFIG_ARCH_MMAP_RND_BITS=8 -CONFIG_HAVE_COPY_THREAD_TLS=y -CONFIG_ISA_BUS_API=y -CONFIG_CLONE_BACKWARDS=y -CONFIG_OLD_SIGSUSPEND3=y -CONFIG_OLD_SIGACTION=y -CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y -CONFIG_STRICT_KERNEL_RWX=y -CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y -CONFIG_STRICT_MODULE_RWX=y -CONFIG_ARCH_HAS_REFCOUNT=y -CONFIG_REFCOUNT_FULL=y - -# -# GCOV-based kernel profiling -# -# CONFIG_GCOV_KERNEL is not set -CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -# CONFIG_MODULE_FORCE_LOAD is not set -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_MODVERSIONS=y -CONFIG_MODULE_SRCVERSION_ALL=y -# CONFIG_MODULE_SIG is not set -# CONFIG_MODULE_COMPRESS is not set -CONFIG_MODULES_TREE_LOOKUP=y -CONFIG_BLOCK=y -CONFIG_LBDAF=y -CONFIG_BLK_SCSI_REQUEST=y -CONFIG_BLK_DEV_BSG=y -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BLK_DEV_INTEGRITY=y -CONFIG_BLK_DEV_ZONED=y -CONFIG_BLK_DEV_THROTTLING=y -# CONFIG_BLK_DEV_THROTTLING_LOW is not set -CONFIG_BLK_CMDLINE_PARSER=y -CONFIG_BLK_WBT=y -# CONFIG_BLK_WBT_SQ is not set -CONFIG_BLK_WBT_MQ=y -CONFIG_BLK_DEBUG_FS=y -# CONFIG_BLK_SED_OPAL is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -CONFIG_AIX_PARTITION=y -CONFIG_OSF_PARTITION=y -CONFIG_AMIGA_PARTITION=y -CONFIG_ATARI_PARTITION=y -CONFIG_MAC_PARTITION=y -CONFIG_MSDOS_PARTITION=y -CONFIG_BSD_DISKLABEL=y -CONFIG_MINIX_SUBPARTITION=y -CONFIG_SOLARIS_X86_PARTITION=y -CONFIG_UNIXWARE_DISKLABEL=y -CONFIG_LDM_PARTITION=y -# CONFIG_LDM_DEBUG is not set -CONFIG_SGI_PARTITION=y -CONFIG_ULTRIX_PARTITION=y -CONFIG_SUN_PARTITION=y -CONFIG_KARMA_PARTITION=y -CONFIG_EFI_PARTITION=y -CONFIG_SYSV68_PARTITION=y -CONFIG_CMDLINE_PARTITION=y -CONFIG_BLK_MQ_PCI=y -CONFIG_BLK_MQ_VIRTIO=y -CONFIG_BLK_MQ_RDMA=y - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -CONFIG_CFQ_GROUP_IOSCHED=y -CONFIG_DEFAULT_DEADLINE=y -# CONFIG_DEFAULT_CFQ is not set -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="deadline" -CONFIG_MQ_IOSCHED_DEADLINE=m -CONFIG_MQ_IOSCHED_KYBER=m -CONFIG_IOSCHED_BFQ=m -# CONFIG_BFQ_GROUP_IOSCHED is not set -CONFIG_PREEMPT_NOTIFIERS=y -CONFIG_PADATA=y -CONFIG_ASN1=y -CONFIG_INLINE_SPIN_UNLOCK_IRQ=y -CONFIG_INLINE_READ_UNLOCK=y -CONFIG_INLINE_READ_UNLOCK_IRQ=y -CONFIG_INLINE_WRITE_UNLOCK=y -CONFIG_INLINE_WRITE_UNLOCK_IRQ=y -CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y -CONFIG_MUTEX_SPIN_ON_OWNER=y -CONFIG_RWSEM_SPIN_ON_OWNER=y -CONFIG_LOCK_SPIN_ON_OWNER=y -CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y -CONFIG_QUEUED_SPINLOCKS=y -CONFIG_ARCH_USE_QUEUED_RWLOCKS=y -CONFIG_QUEUED_RWLOCKS=y -CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y +# CONFIG_64BIT is not set +CONFIG_X86_32=y +CONFIG_X86=y +CONFIG_INSTRUCTION_DECODER=y +CONFIG_OUTPUT_FORMAT="elf32-i386" +CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_MMU=y +CONFIG_ARCH_MMAP_RND_BITS_MIN=8 +CONFIG_ARCH_MMAP_RND_BITS_MAX=16 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ARCH_HAS_CPU_RELAX=y +CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y +CONFIG_ARCH_HAS_FILTER_PGPROT=y +CONFIG_HAVE_SETUP_PER_CPU_AREA=y +CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y +CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y +CONFIG_ARCH_WANT_GENERAL_HUGETLB=y +CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_HAVE_INTEL_TXT=y +CONFIG_X86_32_SMP=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_PGTABLE_LEVELS=3 CONFIG_CC_HAS_SANE_STACKPROTECTOR=y -CONFIG_FREEZER=y # # Processor type and features @@ -520,9 +354,6 @@ CONFIG_NR_CPUS=8 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y CONFIG_SCHED_MC_PRIO=y -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_VOLUNTARY=y -# CONFIG_PREEMPT is not set CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y @@ -568,57 +399,6 @@ CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ILLEGAL_POINTER_VALUE=0 -CONFIG_SELECT_MEMORY_MODEL=y -# CONFIG_FLATMEM_MANUAL is not set -CONFIG_SPARSEMEM_MANUAL=y -CONFIG_SPARSEMEM=y -CONFIG_HAVE_MEMORY_PRESENT=y -CONFIG_SPARSEMEM_STATIC=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_HAVE_MEMBLOCK_NODE_MAP=y -CONFIG_HAVE_GENERIC_GUP=y -CONFIG_ARCH_DISCARD_MEMBLOCK=y -CONFIG_MEMORY_ISOLATION=y -CONFIG_MEMORY_HOTPLUG=y -CONFIG_MEMORY_HOTPLUG_SPARSE=y -# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set -CONFIG_MEMORY_HOTREMOVE=y -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y -CONFIG_MEMORY_BALLOON=y -CONFIG_BALLOON_COMPACTION=y -CONFIG_COMPACTION=y -CONFIG_MIGRATION=y -CONFIG_PHYS_ADDR_T_64BIT=y -CONFIG_BOUNCE=y -CONFIG_VIRT_TO_BUS=y -CONFIG_MMU_NOTIFIER=y -CONFIG_KSM=y -CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y -# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set -CONFIG_TRANSPARENT_HUGE_PAGECACHE=y -CONFIG_CLEANCACHE=y -CONFIG_FRONTSWAP=y -CONFIG_CMA=y -# CONFIG_CMA_DEBUG is not set -# CONFIG_CMA_DEBUGFS is not set -CONFIG_CMA_AREAS=7 -CONFIG_ZSWAP=y -CONFIG_ZPOOL=y -CONFIG_ZBUD=y -CONFIG_Z3FOLD=m -CONFIG_ZSMALLOC=y -CONFIG_PGTABLE_MAPPING=y -# CONFIG_ZSMALLOC_STAT is not set -CONFIG_GENERIC_EARLY_IOREMAP=y -# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set -CONFIG_IDLE_PAGE_TRACKING=y -CONFIG_FRAME_VECTOR=y -# CONFIG_PERCPU_STATS is not set -# CONFIG_GUP_BENCHMARK is not set -CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_X86_PMEM_LEGACY_DEVICE=y CONFIG_X86_PMEM_LEGACY=y CONFIG_HIGHPTE=y @@ -660,6 +440,7 @@ CONFIG_HOTPLUG_CPU=y CONFIG_MODIFY_LDT_SYSCALL=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y +CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y # # Power management and ACPI options @@ -686,6 +467,7 @@ CONFIG_PM_TRACE=y CONFIG_PM_TRACE_RTC=y CONFIG_PM_CLK=y CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y +CONFIG_ARCH_SUPPORTS_ACPI=y CONFIG_ACPI=y CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y @@ -934,7 +716,255 @@ CONFIG_RAPIDIO_RXS_GEN3=m # CONFIG_X86_SYSFB is not set # -# Executable file formats / Emulations +# Binary Emulations +# +CONFIG_COMPAT_32=y +CONFIG_HAVE_ATOMIC_IOMAP=y +CONFIG_HAVE_GENERIC_GUP=y + +# +# Firmware Drivers +# +CONFIG_EDD=y +CONFIG_EDD_OFF=y +CONFIG_FIRMWARE_MEMMAP=y +CONFIG_DELL_RBU=m +CONFIG_DCDBAS=m +CONFIG_DMIID=y +CONFIG_DMI_SYSFS=m +CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y +CONFIG_ISCSI_IBFT_FIND=y +CONFIG_ISCSI_IBFT=m +CONFIG_FW_CFG_SYSFS=m +# CONFIG_FW_CFG_SYSFS_CMDLINE is not set +# CONFIG_GOOGLE_FIRMWARE is not set + +# +# EFI (Extensible Firmware Interface) Support +# +CONFIG_EFI_VARS=y +CONFIG_EFI_ESRT=y +CONFIG_EFI_VARS_PSTORE=m +# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set +CONFIG_EFI_RUNTIME_MAP=y +# CONFIG_EFI_FAKE_MEMMAP is not set +CONFIG_EFI_RUNTIME_WRAPPERS=y +CONFIG_EFI_BOOTLOADER_CONTROL=m +CONFIG_EFI_CAPSULE_LOADER=y +CONFIG_EFI_CAPSULE_QUIRK_QUARK_CSH=y +# CONFIG_EFI_TEST is not set +CONFIG_APPLE_PROPERTIES=y +CONFIG_RESET_ATTACK_MITIGATION=y +CONFIG_UEFI_CPER=y +CONFIG_UEFI_CPER_X86=y +CONFIG_EFI_DEV_PATH_PARSER=y + +# +# Tegra firmware driver +# +CONFIG_HAVE_KVM=y +CONFIG_HAVE_KVM_IRQCHIP=y +CONFIG_HAVE_KVM_IRQFD=y +CONFIG_HAVE_KVM_IRQ_ROUTING=y +CONFIG_HAVE_KVM_EVENTFD=y +CONFIG_KVM_MMIO=y +CONFIG_KVM_ASYNC_PF=y +CONFIG_HAVE_KVM_MSI=y +CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y +CONFIG_KVM_VFIO=y +CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y +CONFIG_HAVE_KVM_IRQ_BYPASS=y +CONFIG_VIRTUALIZATION=y +CONFIG_KVM=m +CONFIG_KVM_INTEL=m +CONFIG_KVM_AMD=m +# CONFIG_KVM_MMU_AUDIT is not set +CONFIG_VHOST_NET=m +CONFIG_VHOST_SCSI=m +CONFIG_VHOST_VSOCK=m +CONFIG_VHOST=m +# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set + +# +# General architecture-dependent options +# +CONFIG_CRASH_CORE=y +CONFIG_KEXEC_CORE=y +CONFIG_HOTPLUG_SMT=y +CONFIG_OPROFILE=m +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set +CONFIG_HAVE_OPROFILE=y +CONFIG_OPROFILE_NMI_TIMER=y +CONFIG_KPROBES=y +CONFIG_JUMP_LABEL=y +# CONFIG_STATIC_KEYS_SELFTEST is not set +CONFIG_OPTPROBES=y +CONFIG_KPROBES_ON_FTRACE=y +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_KRETPROBES=y +CONFIG_USER_RETURN_NOTIFIER=y +CONFIG_HAVE_IOREMAP_PROT=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_OPTPROBES=y +CONFIG_HAVE_KPROBES_ON_FTRACE=y +CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y +CONFIG_HAVE_NMI=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_ARCH_HAS_FORTIFY_SOURCE=y +CONFIG_ARCH_HAS_SET_MEMORY=y +CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y +CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_RSEQ=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y +CONFIG_HAVE_USER_RETURN_NOTIFIER=y +CONFIG_HAVE_PERF_EVENTS_NMI=y +CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y +CONFIG_HAVE_PERF_REGS=y +CONFIG_HAVE_PERF_USER_STACK_DUMP=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_HAVE_RCU_TABLE_FREE=y +CONFIG_HAVE_RCU_TABLE_INVALIDATE=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y +CONFIG_HAVE_CMPXCHG_LOCAL=y +CONFIG_HAVE_CMPXCHG_DOUBLE=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_SECCOMP_FILTER=y +CONFIG_HAVE_STACKPROTECTOR=y +CONFIG_CC_HAS_STACKPROTECTOR_NONE=y +CONFIG_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR_STRONG=y +CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y +CONFIG_HAVE_ARCH_HUGE_VMAP=y +CONFIG_HAVE_MOD_ARCH_SPECIFIC=y +CONFIG_MODULES_USE_ELF_REL=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_HAVE_ARCH_MMAP_RND_BITS=y +CONFIG_HAVE_EXIT_THREAD=y +CONFIG_ARCH_MMAP_RND_BITS=8 +CONFIG_HAVE_COPY_THREAD_TLS=y +CONFIG_ISA_BUS_API=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND3=y +CONFIG_OLD_SIGACTION=y +CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y +CONFIG_STRICT_KERNEL_RWX=y +CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y +CONFIG_STRICT_MODULE_RWX=y +CONFIG_ARCH_HAS_REFCOUNT=y +CONFIG_REFCOUNT_FULL=y +CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +CONFIG_PLUGIN_HOSTCC="" +CONFIG_HAVE_GCC_PLUGINS=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_MODULE_SIG is not set +# CONFIG_MODULE_COMPRESS is not set +CONFIG_MODULES_TREE_LOOKUP=y +CONFIG_BLOCK=y +CONFIG_LBDAF=y +CONFIG_BLK_SCSI_REQUEST=y +CONFIG_BLK_DEV_BSG=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BLK_DEV_INTEGRITY=y +CONFIG_BLK_DEV_ZONED=y +CONFIG_BLK_DEV_THROTTLING=y +# CONFIG_BLK_DEV_THROTTLING_LOW is not set +CONFIG_BLK_CMDLINE_PARSER=y +CONFIG_BLK_WBT=y +# CONFIG_BLK_CGROUP_IOLATENCY is not set +# CONFIG_BLK_WBT_SQ is not set +CONFIG_BLK_WBT_MQ=y +CONFIG_BLK_DEBUG_FS=y +CONFIG_BLK_DEBUG_FS_ZONED=y +# CONFIG_BLK_SED_OPAL is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +CONFIG_AIX_PARTITION=y +CONFIG_OSF_PARTITION=y +CONFIG_AMIGA_PARTITION=y +CONFIG_ATARI_PARTITION=y +CONFIG_MAC_PARTITION=y +CONFIG_MSDOS_PARTITION=y +CONFIG_BSD_DISKLABEL=y +CONFIG_MINIX_SUBPARTITION=y +CONFIG_SOLARIS_X86_PARTITION=y +CONFIG_UNIXWARE_DISKLABEL=y +CONFIG_LDM_PARTITION=y +# CONFIG_LDM_DEBUG is not set +CONFIG_SGI_PARTITION=y +CONFIG_ULTRIX_PARTITION=y +CONFIG_SUN_PARTITION=y +CONFIG_KARMA_PARTITION=y +CONFIG_EFI_PARTITION=y +CONFIG_SYSV68_PARTITION=y +CONFIG_CMDLINE_PARTITION=y +CONFIG_BLK_MQ_PCI=y +CONFIG_BLK_MQ_VIRTIO=y +CONFIG_BLK_MQ_RDMA=y + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +CONFIG_CFQ_GROUP_IOSCHED=y +CONFIG_DEFAULT_DEADLINE=y +# CONFIG_DEFAULT_CFQ is not set +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="deadline" +CONFIG_MQ_IOSCHED_DEADLINE=m +CONFIG_MQ_IOSCHED_KYBER=m +CONFIG_IOSCHED_BFQ=m +# CONFIG_BFQ_GROUP_IOSCHED is not set +CONFIG_PREEMPT_NOTIFIERS=y +CONFIG_PADATA=y +CONFIG_ASN1=y +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_INLINE_READ_UNLOCK=y +CONFIG_INLINE_READ_UNLOCK_IRQ=y +CONFIG_INLINE_WRITE_UNLOCK=y +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_RWSEM_SPIN_ON_OWNER=y +CONFIG_LOCK_SPIN_ON_OWNER=y +CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y +CONFIG_QUEUED_SPINLOCKS=y +CONFIG_ARCH_USE_QUEUED_RWLOCKS=y +CONFIG_QUEUED_RWLOCKS=y +CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y +CONFIG_FREEZER=y + +# +# Executable file formats # CONFIG_BINFMT_ELF=y CONFIG_ELFCORE=y @@ -944,8 +974,58 @@ CONFIG_HAVE_AOUT=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_MISC=m CONFIG_COREDUMP=y -CONFIG_COMPAT_32=y -CONFIG_HAVE_ATOMIC_IOMAP=y + +# +# Memory Management options +# +CONFIG_SELECT_MEMORY_MODEL=y +# CONFIG_FLATMEM_MANUAL is not set +CONFIG_SPARSEMEM_MANUAL=y +CONFIG_SPARSEMEM=y +CONFIG_HAVE_MEMORY_PRESENT=y +CONFIG_SPARSEMEM_STATIC=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_MEMBLOCK_NODE_MAP=y +CONFIG_ARCH_DISCARD_MEMBLOCK=y +CONFIG_MEMORY_ISOLATION=y +CONFIG_MEMORY_HOTPLUG=y +CONFIG_MEMORY_HOTPLUG_SPARSE=y +# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set +CONFIG_MEMORY_HOTREMOVE=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +CONFIG_MEMORY_BALLOON=y +CONFIG_BALLOON_COMPACTION=y +CONFIG_COMPACTION=y +CONFIG_MIGRATION=y +CONFIG_PHYS_ADDR_T_64BIT=y +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +CONFIG_MMU_NOTIFIER=y +CONFIG_KSM=y +CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y +# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set +CONFIG_TRANSPARENT_HUGE_PAGECACHE=y +CONFIG_CLEANCACHE=y +CONFIG_FRONTSWAP=y +CONFIG_CMA=y +# CONFIG_CMA_DEBUG is not set +# CONFIG_CMA_DEBUGFS is not set +CONFIG_CMA_AREAS=7 +CONFIG_ZSWAP=y +CONFIG_ZPOOL=y +CONFIG_ZBUD=y +CONFIG_Z3FOLD=m +CONFIG_ZSMALLOC=y +CONFIG_PGTABLE_MAPPING=y +# CONFIG_ZSMALLOC_STAT is not set +CONFIG_GENERIC_EARLY_IOREMAP=y +CONFIG_IDLE_PAGE_TRACKING=y +CONFIG_FRAME_VECTOR=y +# CONFIG_PERCPU_STATS is not set +# CONFIG_GUP_BENCHMARK is not set +CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_NET=y CONFIG_NET_INGRESS=y CONFIG_NET_EGRESS=y @@ -963,6 +1043,7 @@ CONFIG_XFRM=y CONFIG_XFRM_OFFLOAD=y CONFIG_XFRM_ALGO=m CONFIG_XFRM_USER=m +CONFIG_XFRM_INTERFACE=m # CONFIG_XFRM_SUB_POLICY is not set # CONFIG_XFRM_MIGRATE is not set CONFIG_XFRM_STATISTICS=y @@ -1082,6 +1163,7 @@ CONFIG_NETFILTER_FAMILY_ARP=y CONFIG_NETFILTER_NETLINK_ACCT=m CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NETFILTER_NETLINK_OSF=m CONFIG_NF_CONNTRACK=m CONFIG_NF_LOG_COMMON=m CONFIG_NF_LOG_NETDEV=m @@ -1125,7 +1207,6 @@ CONFIG_NF_NAT_SIP=m CONFIG_NF_NAT_TFTP=m CONFIG_NF_NAT_REDIRECT=y CONFIG_NETFILTER_SYNPROXY=m -CONFIG_NF_OSF=m CONFIG_NF_TABLES=m CONFIG_NF_TABLES_SET=m # CONFIG_NF_TABLES_INET is not set @@ -1140,6 +1221,7 @@ CONFIG_NFT_LIMIT=m CONFIG_NFT_MASQ=m CONFIG_NFT_REDIR=m CONFIG_NFT_NAT=m +CONFIG_NFT_TUNNEL=m CONFIG_NFT_OBJREF=m CONFIG_NFT_QUEUE=m CONFIG_NFT_QUOTA=m @@ -1147,6 +1229,8 @@ CONFIG_NFT_REJECT=m CONFIG_NFT_COMPAT=m CONFIG_NFT_HASH=m CONFIG_NFT_SOCKET=m +CONFIG_NFT_OSF=m +CONFIG_NFT_TPROXY=m CONFIG_NF_FLOW_TABLE_INET=m CONFIG_NF_FLOW_TABLE=m CONFIG_NETFILTER_XTABLES=m @@ -1308,7 +1392,6 @@ CONFIG_IP_VS_PE_SIP=m # IP: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV4=m -CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_SOCKET_IPV4=m CONFIG_NF_TPROXY_IPV4=m # CONFIG_NF_TABLES_IPV4 is not set @@ -1349,8 +1432,6 @@ CONFIG_IP_NF_ARP_MANGLE=m # # IPv6: Netfilter Configuration # -CONFIG_NF_DEFRAG_IPV6=m -CONFIG_NF_CONNTRACK_IPV6=m CONFIG_NF_SOCKET_IPV6=m CONFIG_NF_TPROXY_IPV6=m # CONFIG_NF_TABLES_IPV6 is not set @@ -1381,6 +1462,7 @@ CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_NAT=m CONFIG_IP6_NF_TARGET_MASQUERADE=m CONFIG_IP6_NF_TARGET_NPT=m +CONFIG_NF_DEFRAG_IPV6=m # # DECnet: Netfilter Configuration @@ -1524,15 +1606,18 @@ CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_CBS=m +CONFIG_NET_SCH_ETF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_DRR=m CONFIG_NET_SCH_MQPRIO=m +CONFIG_NET_SCH_SKBPRIO=m CONFIG_NET_SCH_CHOKE=m CONFIG_NET_SCH_QFQ=m CONFIG_NET_SCH_CODEL=m CONFIG_NET_SCH_FQ_CODEL=m +CONFIG_NET_SCH_CAKE=m CONFIG_NET_SCH_FQ=m CONFIG_NET_SCH_HHF=m CONFIG_NET_SCH_PIE=m @@ -1674,7 +1759,6 @@ CONFIG_CAN_VXCAN=m CONFIG_CAN_SLCAN=m CONFIG_CAN_DEV=m CONFIG_CAN_CALC_BITTIMING=y -CONFIG_CAN_LEDS=y CONFIG_CAN_JANZ_ICAN3=m CONFIG_PCH_CAN=m CONFIG_CAN_C_CAN=m @@ -1709,13 +1793,14 @@ CONFIG_CAN_MCP251X=m # # CAN USB interfaces # +CONFIG_CAN_8DEV_USB=m CONFIG_CAN_EMS_USB=m CONFIG_CAN_ESD_USB2=m CONFIG_CAN_GS_USB=m CONFIG_CAN_KVASER_USB=m -CONFIG_CAN_PEAK_USB=m -CONFIG_CAN_8DEV_USB=m CONFIG_CAN_MCBA_USB=m +CONFIG_CAN_PEAK_USB=m +CONFIG_CAN_UCAN=m # CONFIG_CAN_DEBUG_DEVICES is not set CONFIG_BT=m CONFIG_BT_BREDR=y @@ -1755,6 +1840,7 @@ CONFIG_BT_HCIUART_LL=y CONFIG_BT_HCIUART_3WIRE=y CONFIG_BT_HCIUART_INTEL=y CONFIG_BT_HCIUART_BCM=y +CONFIG_BT_HCIUART_RTL=y CONFIG_BT_HCIUART_QCA=y CONFIG_BT_HCIUART_AG6XX=y CONFIG_BT_HCIUART_MRVL=y @@ -1769,6 +1855,7 @@ CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_ATH3K=m CONFIG_BT_WILINK=m +CONFIG_BT_MTKUART=m CONFIG_BT_HCIRSI=m CONFIG_AF_RXRPC=m CONFIG_AF_RXRPC_IPV6=y @@ -1931,6 +2018,10 @@ CONFIG_DMA_SHARED_BUFFER=y # CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y +CONFIG_GNSS=m +CONFIG_GNSS_SERIAL=m +CONFIG_GNSS_SIRF_SERIAL=m +CONFIG_GNSS_UBX_SERIAL=m CONFIG_MTD=m # CONFIG_MTD_TESTS is not set CONFIG_MTD_REDBOOT_PARTS=m @@ -2029,6 +2120,7 @@ CONFIG_MTD_BLOCK2MTD=m CONFIG_MTD_DOCG3=m CONFIG_BCH_CONST_M=14 CONFIG_BCH_CONST_T=4 +CONFIG_MTD_NAND_CORE=m CONFIG_MTD_ONENAND=m CONFIG_MTD_ONENAND_VERIFY_WRITE=y CONFIG_MTD_ONENAND_GENERIC=m @@ -2053,6 +2145,7 @@ CONFIG_MTD_NAND_CAFE=m CONFIG_MTD_NAND_CS553X=m CONFIG_MTD_NAND_NANDSIM=m CONFIG_MTD_NAND_PLATFORM=m +CONFIG_MTD_SPI_NAND=m # # LPDDR & LPDDR2 PCM memory drivers @@ -2708,6 +2801,7 @@ CONFIG_B53_SPI_DRIVER=m CONFIG_B53_MDIO_DRIVER=m CONFIG_B53_MMAP_DRIVER=m CONFIG_B53_SRAB_DRIVER=m +CONFIG_NET_DSA_BCM_SF2=m # CONFIG_NET_DSA_LOOP is not set CONFIG_NET_DSA_MT7530=m CONFIG_NET_DSA_MV88E6060=m @@ -2717,6 +2811,7 @@ CONFIG_NET_DSA_MV88E6XXX=m CONFIG_NET_DSA_MV88E6XXX_GLOBAL2=y # CONFIG_NET_DSA_MV88E6XXX_PTP is not set CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m CONFIG_NET_DSA_SMSC_LAN9303_MDIO=m @@ -2765,19 +2860,22 @@ CONFIG_B44=m CONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=y +CONFIG_BCMGENET=m CONFIG_BNX2=m CONFIG_CNIC=m CONFIG_TIGON3=m CONFIG_TIGON3_HWMON=y CONFIG_BNX2X=m CONFIG_BNX2X_SRIOV=y +# CONFIG_SYSTEMPORT is not set CONFIG_BNXT=m CONFIG_BNXT_SRIOV=y CONFIG_BNXT_FLOWER_OFFLOAD=y # CONFIG_BNXT_DCB is not set +CONFIG_BNXT_HWMON=y CONFIG_NET_VENDOR_BROCADE=y CONFIG_BNA=m -CONFIG_NET_CADENCE=y +CONFIG_NET_VENDOR_CADENCE=y CONFIG_MACB=m CONFIG_MACB_USE_HWSTAMP=y CONFIG_MACB_PCI=m @@ -2819,6 +2917,10 @@ CONFIG_SUNDANCE=m CONFIG_NET_VENDOR_EMULEX=y CONFIG_BE2NET=m CONFIG_BE2NET_HWMON=y +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y +CONFIG_BE2NET_LANCER=y +CONFIG_BE2NET_SKYHAWK=y CONFIG_NET_VENDOR_EZCHIP=y CONFIG_NET_VENDOR_FUJITSU=y CONFIG_PCMCIA_FMVJ18X=m @@ -2845,10 +2947,6 @@ CONFIG_I40E_DCB=y CONFIG_I40EVF=m CONFIG_ICE=m CONFIG_FM10K=m -CONFIG_NET_VENDOR_EXAR=y -CONFIG_S2IO=m -CONFIG_VXGE=m -# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_JME=m CONFIG_NET_VENDOR_MARVELL=y CONFIG_MVMDIO=m @@ -2866,6 +2964,8 @@ CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX5_CORE=m # CONFIG_MLX5_FPGA is not set CONFIG_MLX5_CORE_EN=y +CONFIG_MLX5_EN_ARFS=y +CONFIG_MLX5_EN_RXNFC=y CONFIG_MLX5_MPFS=y CONFIG_MLX5_ESWITCH=y CONFIG_MLX5_CORE_EN_DCB=y @@ -2900,6 +3000,10 @@ CONFIG_FEALNX=m CONFIG_NET_VENDOR_NATSEMI=y CONFIG_NATSEMI=m CONFIG_NS83820=m +CONFIG_NET_VENDOR_NETERION=y +CONFIG_S2IO=m +CONFIG_VXGE=m +# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_NET_VENDOR_NETRONOME=y CONFIG_NFP=m # CONFIG_NFP_APP_FLOWER is not set @@ -2918,7 +3022,7 @@ CONFIG_FORCEDETH=m CONFIG_NET_VENDOR_OKI=y CONFIG_PCH_GBE=m CONFIG_ETHOC=m -CONFIG_NET_PACKET_ENGINE=y +CONFIG_NET_VENDOR_PACKET_ENGINES=y CONFIG_HAMACHI=m CONFIG_YELLOWFIN=m CONFIG_NET_VENDOR_QLOGIC=y @@ -3015,6 +3119,7 @@ CONFIG_SKFP=m CONFIG_NET_SB1000=m CONFIG_MDIO_DEVICE=y CONFIG_MDIO_BUS=y +CONFIG_MDIO_BCM_UNIMAC=m CONFIG_MDIO_BITBANG=m CONFIG_MDIO_GPIO=m CONFIG_MDIO_I2C=m @@ -3307,7 +3412,11 @@ CONFIG_MWL8K=m CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=m CONFIG_MT76_CORE=m +CONFIG_MT76_USB=m +CONFIG_MT76x2_COMMON=m +CONFIG_MT76x0U=m CONFIG_MT76x2E=m +CONFIG_MT76x2U=m CONFIG_WLAN_VENDOR_RALINK=y CONFIG_RT2X00=m CONFIG_RT2400PCI=m @@ -3437,6 +3546,7 @@ CONFIG_IEEE802154_ADF7242=m CONFIG_IEEE802154_CA8210=m # CONFIG_IEEE802154_CA8210_DEBUGFS is not set CONFIG_IEEE802154_MCR20A=m +# CONFIG_IEEE802154_HWSIM is not set CONFIG_XEN_NETDEV_FRONTEND=y CONFIG_XEN_NETDEV_BACKEND=m CONFIG_VMXNET3=m @@ -3584,8 +3694,8 @@ CONFIG_MISDN_IPAC=m CONFIG_MISDN_ISAR=m CONFIG_ISDN_HDLC=m CONFIG_NVM=y -# CONFIG_NVM_DEBUG is not set CONFIG_NVM_PBLK=m +# CONFIG_NVM_PBLK_DEBUG is not set # # Input device support @@ -3722,10 +3832,12 @@ CONFIG_TOUCHSCREEN_AD7877=m CONFIG_TOUCHSCREEN_AD7879=m CONFIG_TOUCHSCREEN_AD7879_I2C=m CONFIG_TOUCHSCREEN_AD7879_SPI=m +CONFIG_TOUCHSCREEN_ADC=m CONFIG_TOUCHSCREEN_ATMEL_MXT=m # CONFIG_TOUCHSCREEN_ATMEL_MXT_T37 is not set CONFIG_TOUCHSCREEN_AUO_PIXCIR=m CONFIG_TOUCHSCREEN_BU21013=m +CONFIG_TOUCHSCREEN_BU21029=m CONFIG_TOUCHSCREEN_CHIPONE_ICN8505=m CONFIG_TOUCHSCREEN_CY8CTMG110=m CONFIG_TOUCHSCREEN_CYTTSP_CORE=m @@ -4075,6 +4187,7 @@ CONFIG_TELCLOCK=m CONFIG_DEVPORT=y CONFIG_XILLYBUS=m CONFIG_XILLYBUS_PCIE=m +# CONFIG_RANDOM_TRUST_CPU is not set # # I2C support @@ -4265,8 +4378,10 @@ CONFIG_PINCTRL_CANNONLAKE=m CONFIG_PINCTRL_CEDARFORK=m CONFIG_PINCTRL_DENVERTON=m CONFIG_PINCTRL_GEMINILAKE=m +CONFIG_PINCTRL_ICELAKE=m CONFIG_PINCTRL_LEWISBURG=m CONFIG_PINCTRL_SUNRISEPOINT=m +CONFIG_PINCTRL_MADERA=m CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 CONFIG_GPIO_ACPI=y @@ -4325,6 +4440,7 @@ CONFIG_GPIO_JANZ_TTL=m CONFIG_GPIO_KEMPLD=m CONFIG_GPIO_LP3943=m CONFIG_GPIO_LP873X=m +CONFIG_GPIO_MADERA=m CONFIG_GPIO_MSIC=y CONFIG_GPIO_PALMAS=y CONFIG_GPIO_RC5T583=y @@ -4394,7 +4510,6 @@ CONFIG_W1_SLAVE_DS2431=m CONFIG_W1_SLAVE_DS2433=m # CONFIG_W1_SLAVE_DS2433_CRC is not set CONFIG_W1_SLAVE_DS2438=m -CONFIG_W1_SLAVE_DS2760=m CONFIG_W1_SLAVE_DS2780=m CONFIG_W1_SLAVE_DS2781=m CONFIG_W1_SLAVE_DS28E04=m @@ -4412,6 +4527,7 @@ CONFIG_WM831X_POWER=m CONFIG_WM8350_POWER=m CONFIG_TEST_POWER=m CONFIG_BATTERY_88PM860X=m +CONFIG_CHARGER_ADP5061=m CONFIG_BATTERY_DS2760=m CONFIG_BATTERY_DS2780=m CONFIG_BATTERY_DS2781=m @@ -4461,6 +4577,7 @@ CONFIG_CHARGER_TPS65090=m CONFIG_BATTERY_GAUGE_LTC2941=m CONFIG_BATTERY_RT5033=m CONFIG_CHARGER_RT9455=m +CONFIG_CHARGER_CROS_USBPD=m CONFIG_HWMON=y CONFIG_HWMON_VID=m # CONFIG_HWMON_DEBUG_CHIP is not set @@ -4567,6 +4684,7 @@ CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775=m CONFIG_SENSORS_NCT7802=m CONFIG_SENSORS_NCT7904=m +CONFIG_SENSORS_NPCM7XX=m CONFIG_SENSORS_PCF8591=m CONFIG_PMBUS=m CONFIG_SENSORS_PMBUS=m @@ -4689,6 +4807,7 @@ CONFIG_DA9055_WATCHDOG=m CONFIG_DA9063_WATCHDOG=m CONFIG_DA9062_WATCHDOG=m CONFIG_MENF21BMC_WATCHDOG=m +CONFIG_MENZ069_WATCHDOG=m CONFIG_WDAT_WDT=m CONFIG_WM831X_WATCHDOG=m CONFIG_WM8350_WATCHDOG=m @@ -4778,8 +4897,6 @@ CONFIG_SSB_PCMCIAHOST_POSSIBLE=y # CONFIG_SSB_PCMCIAHOST is not set CONFIG_SSB_SDIOHOST_POSSIBLE=y CONFIG_SSB_SDIOHOST=y -# CONFIG_SSB_SILENT is not set -# CONFIG_SSB_DEBUG is not set CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=y CONFIG_SSB_DRIVER_GPIO=y @@ -4808,9 +4925,13 @@ CONFIG_MFD_BD9571MWV=m CONFIG_MFD_AXP20X=m CONFIG_MFD_AXP20X_I2C=m CONFIG_MFD_CROS_EC=m -CONFIG_MFD_CROS_EC_I2C=m -CONFIG_MFD_CROS_EC_SPI=m CONFIG_MFD_CROS_EC_CHARDEV=m +CONFIG_MFD_MADERA=m +CONFIG_MFD_MADERA_I2C=m +CONFIG_MFD_MADERA_SPI=m +# CONFIG_MFD_CS47L35 is not set +# CONFIG_MFD_CS47L85 is not set +# CONFIG_MFD_CS47L90 is not set CONFIG_PMIC_DA903X=y CONFIG_PMIC_DA9052=y CONFIG_MFD_DA9052_SPI=y @@ -5196,7 +5317,6 @@ CONFIG_DVB_USB_PCTV452E=m CONFIG_DVB_USB_DW2102=m CONFIG_DVB_USB_CINERGY_T2=m CONFIG_DVB_USB_DTV5100=m -CONFIG_DVB_USB_FRIIO=m CONFIG_DVB_USB_AZ6027=m CONFIG_DVB_USB_TECHNISAT_USB2=m CONFIG_DVB_USB_V2=m @@ -5333,8 +5453,10 @@ CONFIG_VIDEO_VIVID=m CONFIG_VIDEO_VIVID_CEC=y CONFIG_VIDEO_VIVID_MAX_DEVS=64 CONFIG_VIDEO_VIM2M=m +CONFIG_VIDEO_VICODEC=m CONFIG_DVB_PLATFORM_DRIVERS=y CONFIG_CEC_PLATFORM_DRIVERS=y +CONFIG_VIDEO_CROS_EC_CEC=m CONFIG_SDR_PLATFORM_DRIVERS=y # @@ -5754,6 +5876,7 @@ CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100 CONFIG_DRM_LOAD_EDID_FIRMWARE=y +# CONFIG_DRM_DP_CEC is not set CONFIG_DRM_TTM=m CONFIG_DRM_VM=y CONFIG_DRM_SCHED=m @@ -5782,8 +5905,7 @@ CONFIG_DRM_AMDGPU_USERPTR=y # Display Engine Configuration # CONFIG_DRM_AMD_DC=y -# CONFIG_DRM_AMD_DC_FBC is not set -# CONFIG_DRM_AMD_DC_DCN1_0 is not set +CONFIG_DRM_AMD_DC_DCN1_0=y # CONFIG_DEBUG_KERNEL_DC is not set # @@ -5815,6 +5937,7 @@ CONFIG_DRM_I915_USERPTR=y # CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set # CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set CONFIG_DRM_VGEM=m +# CONFIG_DRM_VKMS is not set CONFIG_DRM_VMWGFX=m CONFIG_DRM_VMWGFX_FBCON=y CONFIG_DRM_GMA500=m @@ -5826,7 +5949,7 @@ CONFIG_DRM_AST=m # CONFIG_DRM_MGAG200 is not set CONFIG_DRM_CIRRUS_QEMU=m CONFIG_DRM_QXL=m -# CONFIG_DRM_BOCHS is not set +CONFIG_DRM_BOCHS=m CONFIG_DRM_VIRTIO_GPU=m CONFIG_DRM_PANEL=y @@ -6025,6 +6148,7 @@ CONFIG_DUMMY_CONSOLE_ROWS=25 CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set @@ -6228,6 +6352,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDA_CORE=m CONFIG_SND_HDA_DSP_LOADER=y +CONFIG_SND_HDA_COMPONENT=y CONFIG_SND_HDA_I915=y CONFIG_SND_HDA_EXT_CORE=m CONFIG_SND_HDA_PREALLOC_SIZE=64 @@ -6324,6 +6449,7 @@ CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=m CONFIG_SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH=m CONFIG_SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH=m CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH=m +CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH=m # # STMicroelectronics STM32 SOC audio support @@ -6375,10 +6501,10 @@ CONFIG_SND_SOC_CS4349=m CONFIG_SND_SOC_CS53L30=m CONFIG_SND_SOC_DA7213=m CONFIG_SND_SOC_DA7219=m -CONFIG_SND_SOC_DIO2125=m CONFIG_SND_SOC_DMIC=m CONFIG_SND_SOC_HDMI_CODEC=m CONFIG_SND_SOC_ES7134=m +CONFIG_SND_SOC_ES7241=m CONFIG_SND_SOC_ES8316=m CONFIG_SND_SOC_ES8328=m CONFIG_SND_SOC_ES8328_I2C=m @@ -6425,11 +6551,13 @@ CONFIG_SND_SOC_RT5663=m CONFIG_SND_SOC_RT5670=m CONFIG_SND_SOC_RT5677=m CONFIG_SND_SOC_RT5677_SPI=m +CONFIG_SND_SOC_RT5682=m CONFIG_SND_SOC_SGTL5000=m CONFIG_SND_SOC_SI476X=m CONFIG_SND_SOC_SIGMADSP=m CONFIG_SND_SOC_SIGMADSP_I2C=m CONFIG_SND_SOC_SIGMADSP_REGMAP=m +CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m CONFIG_SND_SOC_SIRF_AUDIO_CODEC=m CONFIG_SND_SOC_SPDIF=m CONFIG_SND_SOC_SSM2305=m @@ -6522,6 +6650,7 @@ CONFIG_HID_BETOP_FF=m CONFIG_HID_CHERRY=m CONFIG_HID_CHICONY=m CONFIG_HID_CORSAIR=m +CONFIG_HID_COUGAR=m CONFIG_HID_PRODIKEYS=m CONFIG_HID_CMEDIA=m CONFIG_HID_CP2112=m @@ -6751,6 +6880,7 @@ CONFIG_USB_DWC3_DUAL_ROLE=y # Platform Glue Driver Support # CONFIG_USB_DWC3_PCI=m +CONFIG_USB_DWC3_HAPS=m CONFIG_USB_DWC2=y CONFIG_USB_DWC2_HOST=y @@ -6982,6 +7112,8 @@ CONFIG_USB_G_DBGP_SERIAL=y CONFIG_USB_G_WEBCAM=m CONFIG_TYPEC=m CONFIG_TYPEC_TCPM=m +CONFIG_TYPEC_TCPCI=m +CONFIG_TYPEC_RT1711H=m CONFIG_TYPEC_FUSB302=m CONFIG_TYPEC_UCSI=m CONFIG_UCSI_ACPI=m @@ -6991,6 +7123,11 @@ CONFIG_TYPEC_TPS6598X=m # USB Type-C Multiplexer/DeMultiplexer Switch support # CONFIG_TYPEC_MUX_PI3USB30532=m + +# +# USB Type-C Alternate Mode drivers +# +CONFIG_TYPEC_DP_ALTMODE=m CONFIG_USB_ROLES_INTEL_XHCI=m CONFIG_USB_LED_TRIG=y CONFIG_USB_ULPI_BUS=m @@ -7213,7 +7350,6 @@ CONFIG_RTC_DRV_88PM80X=m CONFIG_RTC_DRV_ABB5ZES3=m CONFIG_RTC_DRV_ABX80X=m CONFIG_RTC_DRV_DS1307=m -CONFIG_RTC_DRV_DS1307_HWMON=y # CONFIG_RTC_DRV_DS1307_CENTURY is not set CONFIG_RTC_DRV_DS1374=m CONFIG_RTC_DRV_DS1374_WDT=y @@ -7294,7 +7430,6 @@ CONFIG_RTC_DRV_DS1685=y # CONFIG_RTC_DRV_DS17485 is not set # CONFIG_RTC_DRV_DS17885 is not set # CONFIG_RTC_DS1685_PROC_REGS is not set -# CONFIG_RTC_DS1685_SYSFS_REGS is not set CONFIG_RTC_DRV_DS1742=m CONFIG_RTC_DRV_DS2404=m CONFIG_RTC_DRV_DA9052=m @@ -7419,7 +7554,7 @@ CONFIG_XEN_BALLOON=y CONFIG_XEN_SELFBALLOONING=y CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT=4 -CONFIG_XEN_SCRUB_PAGES=y +CONFIG_XEN_SCRUB_PAGES_DEFAULT=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_BACKEND=y CONFIG_XENFS=m @@ -7428,6 +7563,7 @@ CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=m CONFIG_XEN_GRANT_DEV_ALLOC=m +# CONFIG_XEN_GRANT_DMA_ALLOC is not set CONFIG_SWIOTLB_XEN=y CONFIG_XEN_TMEM=m CONFIG_XEN_PCIDEV_BACKEND=m @@ -7451,7 +7587,6 @@ CONFIG_COMEDI_MISC_DRIVERS=y CONFIG_COMEDI_BOND=m CONFIG_COMEDI_TEST=m CONFIG_COMEDI_PARPORT=m -CONFIG_COMEDI_SERIAL2002=m CONFIG_COMEDI_SSV_DNP=m CONFIG_COMEDI_ISA_DRIVERS=y CONFIG_COMEDI_PCL711=m @@ -7639,11 +7774,6 @@ CONFIG_AD7746=m CONFIG_AD9832=m CONFIG_AD9834=m -# -# Digital gyroscope sensors -# -CONFIG_ADIS16060=m - # # Network Analyzer, Impedance Converters # @@ -7755,17 +7885,24 @@ CONFIG_MOST_I2C=m CONFIG_MOST_USB=m CONFIG_KS7010=m # CONFIG_GREYBUS is not set - -# -# USB Power Delivery and Type-C drivers -# -CONFIG_TYPEC_TCPCI=m -CONFIG_TYPEC_RT1711H=m CONFIG_DRM_VBOXVIDEO=m # CONFIG_PI433 is not set CONFIG_MTK_MMC=m # CONFIG_MTK_AEE_KDUMP is not set # CONFIG_MTK_MMC_CD_POLL is not set + +# +# Gasket devices +# +CONFIG_XIL_AXIS_FIFO=m +CONFIG_EROFS_FS=m +# CONFIG_EROFS_FS_DEBUG is not set +CONFIG_EROFS_FS_XATTR=y +CONFIG_EROFS_FS_POSIX_ACL=y +CONFIG_EROFS_FS_SECURITY=y +# CONFIG_EROFS_FS_USE_VM_MAP_RAM is not set +# CONFIG_EROFS_FAULT_INJECTION is not set +# CONFIG_EROFS_FS_ZIP is not set CONFIG_X86_PLATFORM_DEVICES=y CONFIG_ACER_WMI=m CONFIG_ACER_WIRELESS=m @@ -7847,14 +7984,17 @@ CONFIG_SURFACE_PRO3_BUTTON=m CONFIG_SURFACE_3_BUTTON=m CONFIG_INTEL_PUNIT_IPC=m # CONFIG_MLX_PLATFORM is not set -# CONFIG_SILEAD_DMI is not set +# CONFIG_TOUCHSCREEN_DMI is not set CONFIG_INTEL_CHTDC_TI_PWRBTN=m +CONFIG_I2C_MULTI_INSTANTIATE=m CONFIG_PMC_ATOM=y CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_LAPTOP=m CONFIG_CHROMEOS_PSTORE=m CONFIG_CHROMEOS_TBMC=m CONFIG_CROS_EC_CTL=m +CONFIG_CROS_EC_I2C=m +CONFIG_CROS_EC_SPI=m CONFIG_CROS_EC_LPC=m # CONFIG_CROS_EC_LPC_MEC is not set CONFIG_CROS_EC_PROTO=y @@ -7868,6 +8008,7 @@ CONFIG_COMMON_CLK=y # Common Clock Framework # CONFIG_COMMON_CLK_WM831X=m +CONFIG_COMMON_CLK_MAX9485=m CONFIG_COMMON_CLK_SI5351=m CONFIG_COMMON_CLK_SI544=m CONFIG_COMMON_CLK_CDCE706=m @@ -7895,6 +8036,8 @@ CONFIG_IOMMU_SUPPORT=y # # Generic IOMMU Pagetable Support # +# CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_IOVA=y CONFIG_DMAR_TABLE=y CONFIG_INTEL_IOMMU=y @@ -7929,6 +8072,10 @@ CONFIG_RPMSG_VIRTIO=m # Broadcom SoC drivers # +# +# NXP/Freescale QorIQ SoC drivers +# + # # i.MX SoC drivers # @@ -8097,6 +8244,9 @@ CONFIG_AD8366=m # Chemical Sensors # CONFIG_ATLAS_PH_SENSOR=m +CONFIG_BME680=m +CONFIG_BME680_I2C=m +CONFIG_BME680_SPI=m CONFIG_CCS811=m CONFIG_IAQCORE=m CONFIG_VZ89X=m @@ -8142,6 +8292,7 @@ CONFIG_AD5686=m CONFIG_AD5686_SPI=m CONFIG_AD5696_I2C=m CONFIG_AD5755=m +CONFIG_AD5758=m CONFIG_AD5761=m CONFIG_AD5764=m CONFIG_AD5791=m @@ -8268,6 +8419,7 @@ CONFIG_LV0104CS=m CONFIG_MAX44000=m CONFIG_OPT3001=m CONFIG_PA12203001=m +CONFIG_SI1133=m CONFIG_SI1145=m CONFIG_STK3310=m CONFIG_ST_UVIS25=m @@ -8373,6 +8525,7 @@ CONFIG_AS3935=m # # Proximity and distance sensors # +CONFIG_ISL29501=m CONFIG_LIDAR_LITE_V2=m CONFIG_RFD77402=m CONFIG_SRF04=m @@ -8461,6 +8614,7 @@ CONFIG_PHY_SAMSUNG_USB2=m CONFIG_PHY_TUSB1210=m CONFIG_POWERCAP=y CONFIG_INTEL_RAPL=m +# CONFIG_IDLE_INJECT is not set CONFIG_MCB=m CONFIG_MCB_PCI=m CONFIG_MCB_LPC=m @@ -8512,51 +8666,17 @@ CONFIG_FPGA_MGR_MACHXO2_SPI=m CONFIG_FPGA_BRIDGE=m CONFIG_XILINX_PR_DECOUPLER=m CONFIG_FPGA_REGION=m +CONFIG_FPGA_DFL=m +CONFIG_FPGA_DFL_FME=m +CONFIG_FPGA_DFL_FME_MGR=m +CONFIG_FPGA_DFL_FME_BRIDGE=m +CONFIG_FPGA_DFL_FME_REGION=m +CONFIG_FPGA_DFL_AFU=m +CONFIG_FPGA_DFL_PCI=m CONFIG_PM_OPP=y # CONFIG_SIOX is not set # CONFIG_SLIMBUS is not set -# -# Firmware Drivers -# -CONFIG_EDD=y -CONFIG_EDD_OFF=y -CONFIG_FIRMWARE_MEMMAP=y -CONFIG_DELL_RBU=m -CONFIG_DCDBAS=m -CONFIG_DMIID=y -CONFIG_DMI_SYSFS=m -CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y -CONFIG_ISCSI_IBFT_FIND=y -CONFIG_ISCSI_IBFT=m -CONFIG_FW_CFG_SYSFS=m -# CONFIG_FW_CFG_SYSFS_CMDLINE is not set -# CONFIG_GOOGLE_FIRMWARE is not set - -# -# EFI (Extensible Firmware Interface) Support -# -CONFIG_EFI_VARS=y -CONFIG_EFI_ESRT=y -CONFIG_EFI_VARS_PSTORE=m -# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set -CONFIG_EFI_RUNTIME_MAP=y -# CONFIG_EFI_FAKE_MEMMAP is not set -CONFIG_EFI_RUNTIME_WRAPPERS=y -CONFIG_EFI_BOOTLOADER_CONTROL=m -CONFIG_EFI_CAPSULE_LOADER=y -CONFIG_EFI_CAPSULE_QUIRK_QUARK_CSH=y -# CONFIG_EFI_TEST is not set -CONFIG_APPLE_PROPERTIES=y -CONFIG_RESET_ATTACK_MITIGATION=y -CONFIG_UEFI_CPER=y -CONFIG_UEFI_CPER_X86=y -CONFIG_EFI_DEV_PATH_PARSER=y - -# -# Tegra firmware driver -# - # # File systems # @@ -8645,6 +8765,7 @@ CONFIG_OVERLAY_FS=m # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set # CONFIG_OVERLAY_FS_INDEX is not set # CONFIG_OVERLAY_FS_XINO_AUTO is not set +# CONFIG_OVERLAY_FS_METACOPY is not set # # Caches @@ -8708,7 +8829,6 @@ CONFIG_ECRYPT_FS=y CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m -CONFIG_HFSPLUS_FS_POSIX_ACL=y CONFIG_BEFS_FS=m # CONFIG_BEFS_DEBUG is not set CONFIG_BFS_FS=m @@ -8735,6 +8855,7 @@ CONFIG_UBIFS_FS=m CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y CONFIG_UBIFS_ATIME_SUPPORT=y +CONFIG_UBIFS_FS_XATTR=y CONFIG_UBIFS_FS_ENCRYPTION=y CONFIG_UBIFS_FS_SECURITY=y CONFIG_CRAMFS=m @@ -8773,6 +8894,7 @@ CONFIG_PSTORE_DEFLATE_COMPRESS=m # CONFIG_PSTORE_LZ4_COMPRESS is not set # CONFIG_PSTORE_LZ4HC_COMPRESS is not set # CONFIG_PSTORE_842_COMPRESS is not set +# CONFIG_PSTORE_ZSTD_COMPRESS is not set CONFIG_PSTORE_COMPRESS=y CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" @@ -8832,8 +8954,8 @@ CONFIG_CEPH_FS=m CONFIG_CEPH_FSCACHE=y CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CIFS=m -CONFIG_CIFS_STATS=y # CONFIG_CIFS_STATS2 is not set +CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_UPCALL=y CONFIG_CIFS_XATTR=y @@ -8843,7 +8965,6 @@ CONFIG_CIFS_DEBUG=y # CONFIG_CIFS_DEBUG2 is not set # CONFIG_CIFS_DEBUG_DUMP_KEYS is not set CONFIG_CIFS_DFS_UPCALL=y -CONFIG_CIFS_SMB311=y # CONFIG_CIFS_SMB_DIRECT is not set CONFIG_CIFS_FSCACHE=y CONFIG_CODA_FS=m @@ -8908,269 +9029,6 @@ CONFIG_NLS_UTF8=m CONFIG_DLM=m # CONFIG_DLM_DEBUG is not set -# -# Kernel hacking -# -CONFIG_TRACE_IRQFLAGS_SUPPORT=y - -# -# printk and dmesg options -# -CONFIG_PRINTK_TIME=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -CONFIG_BOOT_PRINTK_DELAY=y -CONFIG_DYNAMIC_DEBUG=y - -# -# Compile-time checks and compiler options -# -# CONFIG_DEBUG_INFO is not set -# CONFIG_ENABLE_WARN_DEPRECATED is not set -# CONFIG_ENABLE_MUST_CHECK is not set -CONFIG_FRAME_WARN=1024 -# CONFIG_STRIP_ASM_SYMS is not set -# CONFIG_READABLE_ASM is not set -CONFIG_UNUSED_SYMBOLS=y -# CONFIG_PAGE_OWNER is not set -CONFIG_DEBUG_FS=y -# CONFIG_HEADERS_CHECK is not set -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -CONFIG_FRAME_POINTER=y -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_DEBUG_KERNEL=y - -# -# Memory Debugging -# -CONFIG_PAGE_EXTENSION=y -# CONFIG_DEBUG_PAGEALLOC is not set -# CONFIG_PAGE_POISONING is not set -# CONFIG_DEBUG_PAGE_REF is not set -# CONFIG_DEBUG_RODATA_TEST is not set -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_SLUB_DEBUG_ON is not set -# CONFIG_SLUB_STATS is not set -CONFIG_HAVE_DEBUG_KMEMLEAK=y -# CONFIG_DEBUG_KMEMLEAK is not set -# CONFIG_DEBUG_STACK_USAGE is not set -# CONFIG_DEBUG_VM is not set -CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y -# CONFIG_DEBUG_VIRTUAL is not set -# CONFIG_DEBUG_MEMORY_INIT is not set -CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m -# CONFIG_DEBUG_PER_CPU_MAPS is not set -# CONFIG_DEBUG_HIGHMEM is not set -CONFIG_HAVE_DEBUG_STACKOVERFLOW=y -# CONFIG_DEBUG_STACKOVERFLOW is not set -CONFIG_CC_HAS_SANCOV_TRACE_PC=y -# CONFIG_DEBUG_SHIRQ is not set - -# -# Debug Lockups and Hangs -# -CONFIG_LOCKUP_DETECTOR=y -CONFIG_SOFTLOCKUP_DETECTOR=y -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 -CONFIG_HARDLOCKUP_DETECTOR_PERF=y -CONFIG_HARDLOCKUP_DETECTOR=y -# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0 -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 -# CONFIG_WQ_WATCHDOG is not set -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_ON_OOPS_VALUE=0 -CONFIG_PANIC_TIMEOUT=0 -CONFIG_SCHED_DEBUG=y -CONFIG_SCHED_INFO=y -CONFIG_SCHEDSTATS=y -CONFIG_SCHED_STACK_END_CHECK=y -# CONFIG_DEBUG_TIMEKEEPING is not set - -# -# Lock Debugging (spinlocks, mutexes, etc...) -# -CONFIG_LOCK_DEBUGGING_SUPPORT=y -# CONFIG_PROVE_LOCKING is not set -# CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -CONFIG_LOCK_TORTURE_TEST=m -CONFIG_WW_MUTEX_SELFTEST=m -CONFIG_STACKTRACE=y -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -# CONFIG_DEBUG_KOBJECT is not set -CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_LIST is not set -# CONFIG_DEBUG_PI_LIST is not set -# CONFIG_DEBUG_SG is not set -# CONFIG_DEBUG_NOTIFIERS is not set -# CONFIG_DEBUG_CREDENTIALS is not set - -# -# RCU Debugging -# -CONFIG_TORTURE_TEST=m -# CONFIG_RCU_PERF_TEST is not set -# CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=60 -# CONFIG_RCU_TRACE is not set -# CONFIG_RCU_EQS_DEBUG is not set -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -CONFIG_NOTIFIER_ERROR_INJECTION=m -CONFIG_PM_NOTIFIER_ERROR_INJECT=m -CONFIG_NETDEV_NOTIFIER_ERROR_INJECT=m -CONFIG_FUNCTION_ERROR_INJECTION=y -# CONFIG_FAULT_INJECTION is not set -# CONFIG_LATENCYTOP is not set -CONFIG_USER_STACKTRACE_SUPPORT=y -CONFIG_NOP_TRACER=y -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_FENTRY=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_TRACER_MAX_TRACE=y -CONFIG_TRACE_CLOCK=y -CONFIG_RING_BUFFER=y -CONFIG_EVENT_TRACING=y -CONFIG_CONTEXT_SWITCH_TRACER=y -CONFIG_RING_BUFFER_ALLOW_SWAP=y -CONFIG_TRACING=y -CONFIG_GENERIC_TRACER=y -CONFIG_TRACING_SUPPORT=y -CONFIG_FTRACE=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUNCTION_GRAPH_TRACER=y -# CONFIG_PREEMPTIRQ_EVENTS is not set -# CONFIG_IRQSOFF_TRACER is not set -CONFIG_SCHED_TRACER=y -# CONFIG_HWLAT_TRACER is not set -CONFIG_FTRACE_SYSCALLS=y -CONFIG_TRACER_SNAPSHOT=y -# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -CONFIG_STACK_TRACER=y -CONFIG_BLK_DEV_IO_TRACE=y -CONFIG_KPROBE_EVENTS=y -# CONFIG_UPROBE_EVENTS is not set -CONFIG_BPF_EVENTS=y -CONFIG_PROBE_EVENTS=y -CONFIG_DYNAMIC_FTRACE=y -CONFIG_DYNAMIC_FTRACE_WITH_REGS=y -CONFIG_FUNCTION_PROFILER=y -# CONFIG_BPF_KPROBE_OVERRIDE is not set -CONFIG_FTRACE_MCOUNT_RECORD=y -# CONFIG_FTRACE_STARTUP_TEST is not set -CONFIG_MMIOTRACE=y -# CONFIG_HIST_TRIGGERS is not set -# CONFIG_MMIOTRACE_TEST is not set -# CONFIG_TRACEPOINT_BENCHMARK is not set -# CONFIG_RING_BUFFER_BENCHMARK is not set -# CONFIG_RING_BUFFER_STARTUP_TEST is not set -# CONFIG_TRACE_EVAL_MAP_FILE is not set -CONFIG_TRACING_EVENTS_GPIO=y -# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set -# CONFIG_DMA_API_DEBUG is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_LKDTM is not set -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_TEST_SORT is not set -# CONFIG_KPROBES_SANITY_TEST is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -CONFIG_RBTREE_TEST=m -CONFIG_INTERVAL_TREE_TEST=m -CONFIG_PERCPU_TEST=m -# CONFIG_ATOMIC64_SELFTEST is not set -CONFIG_ASYNC_RAID6_TEST=m -CONFIG_TEST_HEXDUMP=m -CONFIG_TEST_STRING_HELPERS=m -CONFIG_TEST_KSTRTOX=m -CONFIG_TEST_PRINTF=m -CONFIG_TEST_BITMAP=m -CONFIG_TEST_UUID=m -CONFIG_TEST_OVERFLOW=m -# CONFIG_TEST_RHASHTABLE is not set -CONFIG_TEST_HASH=m -CONFIG_TEST_PARMAN=m -CONFIG_TEST_LKM=m -CONFIG_TEST_USER_COPY=m -CONFIG_TEST_BPF=m -CONFIG_FIND_BIT_BENCHMARK=m -CONFIG_TEST_FIRMWARE=m -# CONFIG_TEST_SYSCTL is not set -CONFIG_TEST_UDELAY=m -CONFIG_TEST_STATIC_KEYS=m -# CONFIG_TEST_KMOD is not set -CONFIG_MEMTEST=y -# CONFIG_BUG_ON_DATA_CORRUPTION is not set -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -CONFIG_KGDB=y -CONFIG_KGDB_SERIAL_CONSOLE=y -# CONFIG_KGDB_TESTS is not set -CONFIG_KGDB_LOW_LEVEL_TRAP=y -CONFIG_KGDB_KDB=y -CONFIG_KDB_DEFAULT_ENABLE=0x1 -CONFIG_KDB_KEYBOARD=y -CONFIG_KDB_CONTINUE_CATASTROPHIC=0 -CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y -# CONFIG_UBSAN is not set -CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y -CONFIG_STRICT_DEVMEM=y -CONFIG_IO_STRICT_DEVMEM=y -CONFIG_EARLY_PRINTK_USB=y -# CONFIG_X86_VERBOSE_BOOTUP is not set -CONFIG_EARLY_PRINTK=y -CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_EARLY_PRINTK_EFI=y -# CONFIG_EARLY_PRINTK_USB_XDBC is not set -# CONFIG_X86_PTDUMP is not set -# CONFIG_EFI_PGT_DUMP is not set -# CONFIG_DEBUG_WX is not set -CONFIG_DOUBLEFAULT=y -# CONFIG_DEBUG_TLBFLUSH is not set -CONFIG_HAVE_MMIOTRACE_SUPPORT=y -# CONFIG_X86_DECODER_SELFTEST is not set -CONFIG_IO_DELAY_TYPE_0X80=0 -CONFIG_IO_DELAY_TYPE_0XED=1 -CONFIG_IO_DELAY_TYPE_UDELAY=2 -CONFIG_IO_DELAY_TYPE_NONE=3 -# CONFIG_IO_DELAY_0X80 is not set -CONFIG_IO_DELAY_0XED=y -# CONFIG_IO_DELAY_UDELAY is not set -# CONFIG_IO_DELAY_NONE is not set -CONFIG_DEFAULT_IO_DELAY_TYPE=1 -# CONFIG_DEBUG_BOOT_PARAMS is not set -# CONFIG_CPA_DEBUG is not set -CONFIG_OPTIMIZE_INLINING=y -# CONFIG_DEBUG_ENTRY is not set -# CONFIG_DEBUG_NMI_SELFTEST is not set -CONFIG_X86_DEBUG_FPU=y -CONFIG_PUNIT_ATOM_DEBUG=m -CONFIG_UNWINDER_FRAME_POINTER=y -# CONFIG_UNWINDER_GUESS is not set - # # Security options # @@ -9185,6 +9043,7 @@ CONFIG_SECURITY=y CONFIG_SECURITY_WRITABLE_HOOKS=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y +CONFIG_PAGE_TABLE_ISOLATION=y # CONFIG_SECURITY_INFINIBAND is not set CONFIG_SECURITY_NETWORK_XFRM=y CONFIG_SECURITY_PATH=y @@ -9238,6 +9097,7 @@ CONFIG_IMA_DEFAULT_HASH="sha1" # CONFIG_IMA_WRITE_POLICY is not set # CONFIG_IMA_READ_POLICY is not set CONFIG_IMA_APPRAISE=y +# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set CONFIG_IMA_APPRAISE_BOOTPARAM=y CONFIG_IMA_TRUSTED_KEYRING=y CONFIG_IMA_BLACKLIST_KEYRING=y @@ -9451,28 +9311,6 @@ CONFIG_SYSTEM_TRUSTED_KEYS="" # CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set # CONFIG_SECONDARY_TRUSTED_KEYRING is not set # CONFIG_SYSTEM_BLACKLIST_KEYRING is not set -CONFIG_HAVE_KVM=y -CONFIG_HAVE_KVM_IRQCHIP=y -CONFIG_HAVE_KVM_IRQFD=y -CONFIG_HAVE_KVM_IRQ_ROUTING=y -CONFIG_HAVE_KVM_EVENTFD=y -CONFIG_KVM_MMIO=y -CONFIG_KVM_ASYNC_PF=y -CONFIG_HAVE_KVM_MSI=y -CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y -CONFIG_KVM_VFIO=y -CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y -CONFIG_HAVE_KVM_IRQ_BYPASS=y -CONFIG_VIRTUALIZATION=y -CONFIG_KVM=m -CONFIG_KVM_INTEL=m -CONFIG_KVM_AMD=m -# CONFIG_KVM_MMU_AUDIT is not set -CONFIG_VHOST_NET=m -CONFIG_VHOST_SCSI=m -CONFIG_VHOST_VSOCK=m -CONFIG_VHOST=m -# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set CONFIG_BINARY_PRINTF=y # @@ -9498,6 +9336,7 @@ CONFIG_CRC32_SLICEBY8=y # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set +CONFIG_CRC64=m # CONFIG_CRC4 is not set CONFIG_CRC7=m CONFIG_LIBCRC32C=m @@ -9581,3 +9420,270 @@ CONFIG_ARCH_HAS_SG_CHAIN=y CONFIG_SBITMAP=y CONFIG_PARMAN=m # CONFIG_STRING_SELFTEST is not set + +# +# Kernel hacking +# + +# +# printk and dmesg options +# +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 +CONFIG_CONSOLE_LOGLEVEL_QUIET=4 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 +CONFIG_BOOT_PRINTK_DELAY=y +CONFIG_DYNAMIC_DEBUG=y + +# +# Compile-time checks and compiler options +# +# CONFIG_DEBUG_INFO is not set +# CONFIG_ENABLE_MUST_CHECK is not set +CONFIG_FRAME_WARN=1024 +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_READABLE_ASM is not set +CONFIG_UNUSED_SYMBOLS=y +# CONFIG_PAGE_OWNER is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_SECTION_MISMATCH_WARN_ONLY=y +CONFIG_FRAME_POINTER=y +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +CONFIG_MAGIC_SYSRQ=y +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 +CONFIG_MAGIC_SYSRQ_SERIAL=y +CONFIG_DEBUG_KERNEL=y + +# +# Memory Debugging +# +CONFIG_PAGE_EXTENSION=y +# CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_PAGE_POISONING is not set +# CONFIG_DEBUG_PAGE_REF is not set +# CONFIG_DEBUG_RODATA_TEST is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y +# CONFIG_DEBUG_VIRTUAL is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m +# CONFIG_DEBUG_PER_CPU_MAPS is not set +# CONFIG_DEBUG_HIGHMEM is not set +CONFIG_HAVE_DEBUG_STACKOVERFLOW=y +# CONFIG_DEBUG_STACKOVERFLOW is not set +CONFIG_CC_HAS_SANCOV_TRACE_PC=y +# CONFIG_DEBUG_SHIRQ is not set + +# +# Debug Lockups and Hangs +# +CONFIG_LOCKUP_DETECTOR=y +CONFIG_SOFTLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_HARDLOCKUP_DETECTOR_PERF=y +CONFIG_HARDLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +# CONFIG_WQ_WATCHDOG is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +CONFIG_PANIC_TIMEOUT=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHED_INFO=y +CONFIG_SCHEDSTATS=y +CONFIG_SCHED_STACK_END_CHECK=y +# CONFIG_DEBUG_TIMEKEEPING is not set + +# +# Lock Debugging (spinlocks, mutexes, etc...) +# +CONFIG_LOCK_DEBUGGING_SUPPORT=y +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_RWSEMS is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_LOCK_TORTURE_TEST=m +CONFIG_WW_MUTEX_SELFTEST=m +CONFIG_STACKTRACE=y +# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_DEBUG_BUGVERBOSE=y +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set + +# +# RCU Debugging +# +CONFIG_TORTURE_TEST=m +# CONFIG_RCU_PERF_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +# CONFIG_RCU_TRACE is not set +# CONFIG_RCU_EQS_DEBUG is not set +# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set +CONFIG_NOTIFIER_ERROR_INJECTION=m +CONFIG_PM_NOTIFIER_ERROR_INJECT=m +CONFIG_NETDEV_NOTIFIER_ERROR_INJECT=m +CONFIG_FUNCTION_ERROR_INJECTION=y +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_USER_STACKTRACE_SUPPORT=y +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_FENTRY=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_TRACER_MAX_TRACE=y +CONFIG_TRACE_CLOCK=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +# CONFIG_PREEMPTIRQ_EVENTS is not set +# CONFIG_IRQSOFF_TRACER is not set +CONFIG_SCHED_TRACER=y +# CONFIG_HWLAT_TRACER is not set +CONFIG_FTRACE_SYSCALLS=y +CONFIG_TRACER_SNAPSHOT=y +# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +CONFIG_STACK_TRACER=y +CONFIG_BLK_DEV_IO_TRACE=y +CONFIG_KPROBE_EVENTS=y +# CONFIG_KPROBE_EVENTS_ON_NOTRACE is not set +# CONFIG_UPROBE_EVENTS is not set +CONFIG_BPF_EVENTS=y +CONFIG_PROBE_EVENTS=y +CONFIG_DYNAMIC_FTRACE=y +CONFIG_DYNAMIC_FTRACE_WITH_REGS=y +CONFIG_FUNCTION_PROFILER=y +# CONFIG_BPF_KPROBE_OVERRIDE is not set +CONFIG_FTRACE_MCOUNT_RECORD=y +# CONFIG_FTRACE_STARTUP_TEST is not set +CONFIG_MMIOTRACE=y +# CONFIG_HIST_TRIGGERS is not set +# CONFIG_MMIOTRACE_TEST is not set +# CONFIG_TRACEPOINT_BENCHMARK is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set +# CONFIG_PREEMPTIRQ_DELAY_TEST is not set +# CONFIG_TRACE_EVAL_MAP_FILE is not set +CONFIG_TRACING_EVENTS_GPIO=y +# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set +# CONFIG_DMA_API_DEBUG is not set +CONFIG_RUNTIME_TESTING_MENU=y +# CONFIG_LKDTM is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_TEST_SORT is not set +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +CONFIG_RBTREE_TEST=m +CONFIG_INTERVAL_TREE_TEST=m +CONFIG_PERCPU_TEST=m +# CONFIG_ATOMIC64_SELFTEST is not set +CONFIG_ASYNC_RAID6_TEST=m +CONFIG_TEST_HEXDUMP=m +CONFIG_TEST_STRING_HELPERS=m +CONFIG_TEST_KSTRTOX=m +CONFIG_TEST_PRINTF=m +CONFIG_TEST_BITMAP=m +CONFIG_TEST_BITFIELD=m +CONFIG_TEST_UUID=m +CONFIG_TEST_OVERFLOW=m +# CONFIG_TEST_RHASHTABLE is not set +CONFIG_TEST_HASH=m +CONFIG_TEST_IDA=m +CONFIG_TEST_PARMAN=m +CONFIG_TEST_LKM=m +CONFIG_TEST_USER_COPY=m +CONFIG_TEST_BPF=m +CONFIG_FIND_BIT_BENCHMARK=m +CONFIG_TEST_FIRMWARE=m +# CONFIG_TEST_SYSCTL is not set +CONFIG_TEST_UDELAY=m +CONFIG_TEST_STATIC_KEYS=m +# CONFIG_TEST_KMOD is not set +CONFIG_MEMTEST=y +# CONFIG_BUG_ON_DATA_CORRUPTION is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_KGDB=y +CONFIG_KGDB_SERIAL_CONSOLE=y +# CONFIG_KGDB_TESTS is not set +CONFIG_KGDB_LOW_LEVEL_TRAP=y +CONFIG_KGDB_KDB=y +CONFIG_KDB_DEFAULT_ENABLE=0x1 +CONFIG_KDB_KEYBOARD=y +CONFIG_KDB_CONTINUE_CATASTROPHIC=0 +CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y +# CONFIG_UBSAN is not set +CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y +CONFIG_STRICT_DEVMEM=y +CONFIG_IO_STRICT_DEVMEM=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_EARLY_PRINTK_USB=y +# CONFIG_X86_VERBOSE_BOOTUP is not set +CONFIG_EARLY_PRINTK=y +CONFIG_EARLY_PRINTK_DBGP=y +CONFIG_EARLY_PRINTK_EFI=y +# CONFIG_EARLY_PRINTK_USB_XDBC is not set +# CONFIG_X86_PTDUMP is not set +# CONFIG_EFI_PGT_DUMP is not set +# CONFIG_DEBUG_WX is not set +CONFIG_DOUBLEFAULT=y +# CONFIG_DEBUG_TLBFLUSH is not set +CONFIG_HAVE_MMIOTRACE_SUPPORT=y +# CONFIG_X86_DECODER_SELFTEST is not set +CONFIG_IO_DELAY_TYPE_0X80=0 +CONFIG_IO_DELAY_TYPE_0XED=1 +CONFIG_IO_DELAY_TYPE_UDELAY=2 +CONFIG_IO_DELAY_TYPE_NONE=3 +# CONFIG_IO_DELAY_0X80 is not set +CONFIG_IO_DELAY_0XED=y +# CONFIG_IO_DELAY_UDELAY is not set +# CONFIG_IO_DELAY_NONE is not set +CONFIG_DEFAULT_IO_DELAY_TYPE=1 +# CONFIG_DEBUG_BOOT_PARAMS is not set +# CONFIG_CPA_DEBUG is not set +CONFIG_OPTIMIZE_INLINING=y +# CONFIG_DEBUG_ENTRY is not set +# CONFIG_DEBUG_NMI_SELFTEST is not set +CONFIG_X86_DEBUG_FPU=y +CONFIG_PUNIT_ATOM_DEBUG=m +CONFIG_UNWINDER_FRAME_POINTER=y +# CONFIG_UNWINDER_GUESS is not set diff --git a/gnu/packages/aux-files/linux-libre/4.18-x86_64.conf b/gnu/packages/aux-files/linux-libre/4.19-x86_64.conf similarity index 98% rename from gnu/packages/aux-files/linux-libre/4.18-x86_64.conf rename to gnu/packages/aux-files/linux-libre/4.19-x86_64.conf index 2a66c483d6..a8f8c81648 100644 --- a/gnu/packages/aux-files/linux-libre/4.18-x86_64.conf +++ b/gnu/packages/aux-files/linux-libre/4.19-x86_64.conf @@ -1,50 +1,11 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 4.18.9-gnu Kernel Configuration +# Linux/x86 4.19.0-gnu Kernel Configuration # # # Compiler: gcc (GCC) 7.3.0 # -CONFIG_64BIT=y -CONFIG_X86_64=y -CONFIG_X86=y -CONFIG_INSTRUCTION_DECODER=y -CONFIG_OUTPUT_FORMAT="elf64-x86-64" -CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_MMU=y -CONFIG_ARCH_MMAP_RND_BITS_MIN=28 -CONFIG_ARCH_MMAP_RND_BITS_MAX=32 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 -CONFIG_GENERIC_ISA_DMA=y -CONFIG_GENERIC_BUG=y -CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_ARCH_MAY_HAVE_PC_FDC=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_ARCH_HAS_CPU_RELAX=y -CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y -CONFIG_ARCH_HAS_FILTER_PGPROT=y -CONFIG_HAVE_SETUP_PER_CPU_AREA=y -CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y -CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y -CONFIG_ARCH_HIBERNATION_POSSIBLE=y -CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y -CONFIG_ARCH_WANT_GENERAL_HUGETLB=y -CONFIG_ZONE_DMA32=y -CONFIG_AUDIT_ARCH=y -CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y -CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y -CONFIG_HAVE_INTEL_TXT=y -CONFIG_X86_64_SMP=y -CONFIG_ARCH_SUPPORTS_UPROBES=y -CONFIG_FIX_EARLYCON_MEM=y -CONFIG_PGTABLE_LEVELS=4 CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=70300 CONFIG_CLANG_VERSION=0 @@ -59,6 +20,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_COMPILE_TEST is not set CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set +CONFIG_BUILD_SALT="" CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_BZIP2=y CONFIG_HAVE_KERNEL_LZMA=y @@ -122,6 +84,9 @@ CONFIG_NO_HZ_IDLE=y # CONFIG_NO_HZ_FULL is not set CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y +# CONFIG_PREEMPT_NONE is not set +CONFIG_PREEMPT_VOLUNTARY=y +# CONFIG_PREEMPT is not set # # CPU/Task time and stats accounting @@ -162,6 +127,7 @@ CONFIG_PAGE_COUNTER=y CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y # CONFIG_MEMCG_SWAP_ENABLED is not set +CONFIG_MEMCG_KMEM=y CONFIG_BLK_CGROUP=y # CONFIG_DEBUG_BLK_CGROUP is not set CONFIG_CGROUP_WRITEBACK=y @@ -187,6 +153,7 @@ CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y +CONFIG_CHECKPOINT_RESTORE=y CONFIG_SCHED_AUTOGROUP=y # CONFIG_SYSFS_DEPRECATED is not set CONFIG_RELAY=y @@ -230,7 +197,6 @@ CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_ADVISE_SYSCALLS=y CONFIG_MEMBARRIER=y -CONFIG_CHECKPOINT_RESTORE=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y @@ -263,192 +229,46 @@ CONFIG_SLUB_CPU_PARTIAL=y CONFIG_SYSTEM_DATA_VERIFICATION=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y -CONFIG_CRASH_CORE=y -CONFIG_KEXEC_CORE=y -CONFIG_HOTPLUG_SMT=y -CONFIG_OPROFILE=m -# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set -CONFIG_HAVE_OPROFILE=y -CONFIG_OPROFILE_NMI_TIMER=y -CONFIG_KPROBES=y -CONFIG_JUMP_LABEL=y -# CONFIG_STATIC_KEYS_SELFTEST is not set -CONFIG_OPTPROBES=y -CONFIG_KPROBES_ON_FTRACE=y -CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y -CONFIG_ARCH_USE_BUILTIN_BSWAP=y -CONFIG_KRETPROBES=y -CONFIG_USER_RETURN_NOTIFIER=y -CONFIG_HAVE_IOREMAP_PROT=y -CONFIG_HAVE_KPROBES=y -CONFIG_HAVE_KRETPROBES=y -CONFIG_HAVE_OPTPROBES=y -CONFIG_HAVE_KPROBES_ON_FTRACE=y -CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y -CONFIG_HAVE_NMI=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -CONFIG_HAVE_DMA_CONTIGUOUS=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_ARCH_HAS_FORTIFY_SOURCE=y -CONFIG_ARCH_HAS_SET_MEMORY=y -CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y -CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_RSEQ=y -CONFIG_HAVE_CLK=y -CONFIG_HAVE_HW_BREAKPOINT=y -CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y -CONFIG_HAVE_USER_RETURN_NOTIFIER=y -CONFIG_HAVE_PERF_EVENTS_NMI=y -CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y -CONFIG_HAVE_PERF_REGS=y -CONFIG_HAVE_PERF_USER_STACK_DUMP=y -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_HAVE_RCU_TABLE_FREE=y -CONFIG_HAVE_RCU_TABLE_INVALIDATE=y -CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y -CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y -CONFIG_HAVE_CMPXCHG_LOCAL=y -CONFIG_HAVE_CMPXCHG_DOUBLE=y -CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y -CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y -CONFIG_HAVE_ARCH_SECCOMP_FILTER=y -CONFIG_SECCOMP_FILTER=y -CONFIG_PLUGIN_HOSTCC="" -CONFIG_HAVE_GCC_PLUGINS=y -CONFIG_HAVE_STACKPROTECTOR=y -CONFIG_CC_HAS_STACKPROTECTOR_NONE=y -CONFIG_STACKPROTECTOR=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y -CONFIG_HAVE_CONTEXT_TRACKING=y -CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y -CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y -CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y -CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y -CONFIG_HAVE_ARCH_HUGE_VMAP=y -CONFIG_HAVE_ARCH_SOFT_DIRTY=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_MODULES_USE_ELF_RELA=y -CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y -CONFIG_ARCH_HAS_ELF_RANDOMIZE=y -CONFIG_HAVE_ARCH_MMAP_RND_BITS=y -CONFIG_HAVE_EXIT_THREAD=y -CONFIG_ARCH_MMAP_RND_BITS=28 -CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y -CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8 -CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y -CONFIG_HAVE_COPY_THREAD_TLS=y -CONFIG_HAVE_STACK_VALIDATION=y -CONFIG_HAVE_RELIABLE_STACKTRACE=y -CONFIG_ISA_BUS_API=y -CONFIG_OLD_SIGSUSPEND3=y -CONFIG_COMPAT_OLD_SIGACTION=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_HAVE_ARCH_VMAP_STACK=y -CONFIG_VMAP_STACK=y -CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y -CONFIG_STRICT_KERNEL_RWX=y -CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y -CONFIG_STRICT_MODULE_RWX=y -CONFIG_ARCH_HAS_REFCOUNT=y -CONFIG_REFCOUNT_FULL=y - -# -# GCOV-based kernel profiling -# -# CONFIG_GCOV_KERNEL is not set -CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y -CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -# CONFIG_MODULE_FORCE_LOAD is not set -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -CONFIG_MODVERSIONS=y -CONFIG_MODULE_SRCVERSION_ALL=y -# CONFIG_MODULE_SIG is not set -# CONFIG_MODULE_COMPRESS is not set -CONFIG_MODULES_TREE_LOOKUP=y -CONFIG_BLOCK=y -CONFIG_BLK_SCSI_REQUEST=y -CONFIG_BLK_DEV_BSG=y -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BLK_DEV_INTEGRITY=y -CONFIG_BLK_DEV_ZONED=y -CONFIG_BLK_DEV_THROTTLING=y -# CONFIG_BLK_DEV_THROTTLING_LOW is not set -CONFIG_BLK_CMDLINE_PARSER=y -CONFIG_BLK_WBT=y -# CONFIG_BLK_WBT_SQ is not set -CONFIG_BLK_WBT_MQ=y -CONFIG_BLK_DEBUG_FS=y -# CONFIG_BLK_SED_OPAL is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -CONFIG_AIX_PARTITION=y -CONFIG_OSF_PARTITION=y -CONFIG_AMIGA_PARTITION=y -CONFIG_ATARI_PARTITION=y -CONFIG_MAC_PARTITION=y -CONFIG_MSDOS_PARTITION=y -CONFIG_BSD_DISKLABEL=y -CONFIG_MINIX_SUBPARTITION=y -CONFIG_SOLARIS_X86_PARTITION=y -CONFIG_UNIXWARE_DISKLABEL=y -CONFIG_LDM_PARTITION=y -# CONFIG_LDM_DEBUG is not set -CONFIG_SGI_PARTITION=y -CONFIG_ULTRIX_PARTITION=y -CONFIG_SUN_PARTITION=y -CONFIG_KARMA_PARTITION=y -CONFIG_EFI_PARTITION=y -CONFIG_SYSV68_PARTITION=y -CONFIG_CMDLINE_PARTITION=y -CONFIG_BLOCK_COMPAT=y -CONFIG_BLK_MQ_PCI=y -CONFIG_BLK_MQ_VIRTIO=y -CONFIG_BLK_MQ_RDMA=y - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -CONFIG_CFQ_GROUP_IOSCHED=y -CONFIG_DEFAULT_DEADLINE=y -# CONFIG_DEFAULT_CFQ is not set -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="deadline" -CONFIG_MQ_IOSCHED_DEADLINE=m -CONFIG_MQ_IOSCHED_KYBER=m -CONFIG_IOSCHED_BFQ=m -# CONFIG_BFQ_GROUP_IOSCHED is not set -CONFIG_PREEMPT_NOTIFIERS=y -CONFIG_PADATA=y -CONFIG_ASN1=y -CONFIG_INLINE_SPIN_UNLOCK_IRQ=y -CONFIG_INLINE_READ_UNLOCK=y -CONFIG_INLINE_READ_UNLOCK_IRQ=y -CONFIG_INLINE_WRITE_UNLOCK=y -CONFIG_INLINE_WRITE_UNLOCK_IRQ=y -CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y -CONFIG_MUTEX_SPIN_ON_OWNER=y -CONFIG_RWSEM_SPIN_ON_OWNER=y -CONFIG_LOCK_SPIN_ON_OWNER=y -CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y -CONFIG_QUEUED_SPINLOCKS=y -CONFIG_ARCH_USE_QUEUED_RWLOCKS=y -CONFIG_QUEUED_RWLOCKS=y -CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y -CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y +CONFIG_64BIT=y +CONFIG_X86_64=y +CONFIG_X86=y +CONFIG_INSTRUCTION_DECODER=y +CONFIG_OUTPUT_FORMAT="elf64-x86-64" +CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_MMU=y +CONFIG_ARCH_MMAP_RND_BITS_MIN=28 +CONFIG_ARCH_MMAP_RND_BITS_MAX=32 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 +CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_ARCH_HAS_CPU_RELAX=y +CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y +CONFIG_ARCH_HAS_FILTER_PGPROT=y +CONFIG_HAVE_SETUP_PER_CPU_AREA=y +CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y +CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y +CONFIG_ARCH_WANT_GENERAL_HUGETLB=y +CONFIG_ZONE_DMA32=y +CONFIG_AUDIT_ARCH=y +CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_HAVE_INTEL_TXT=y +CONFIG_X86_64_SMP=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_FIX_EARLYCON_MEM=y +CONFIG_PGTABLE_LEVELS=4 CONFIG_CC_HAS_SANE_STACKPROTECTOR=y -CONFIG_FREEZER=y # # Processor type and features @@ -524,9 +344,6 @@ CONFIG_NR_CPUS=256 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y CONFIG_SCHED_MC_PRIO=y -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_VOLUNTARY=y -# CONFIG_PREEMPT is not set CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y @@ -571,77 +388,6 @@ CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_MEMORY_PROBE=y CONFIG_ARCH_PROC_KCORE_TEXT=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 -CONFIG_SELECT_MEMORY_MODEL=y -CONFIG_SPARSEMEM_MANUAL=y -CONFIG_SPARSEMEM=y -CONFIG_NEED_MULTIPLE_NODES=y -CONFIG_HAVE_MEMORY_PRESENT=y -CONFIG_SPARSEMEM_EXTREME=y -CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y -CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y -CONFIG_SPARSEMEM_VMEMMAP=y -CONFIG_HAVE_MEMBLOCK=y -CONFIG_HAVE_MEMBLOCK_NODE_MAP=y -CONFIG_HAVE_GENERIC_GUP=y -CONFIG_ARCH_DISCARD_MEMBLOCK=y -CONFIG_MEMORY_ISOLATION=y -CONFIG_HAVE_BOOTMEM_INFO_NODE=y -CONFIG_MEMORY_HOTPLUG=y -CONFIG_MEMORY_HOTPLUG_SPARSE=y -# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set -CONFIG_MEMORY_HOTREMOVE=y -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y -CONFIG_MEMORY_BALLOON=y -CONFIG_BALLOON_COMPACTION=y -CONFIG_COMPACTION=y -CONFIG_MIGRATION=y -CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y -CONFIG_ARCH_ENABLE_THP_MIGRATION=y -CONFIG_PHYS_ADDR_T_64BIT=y -CONFIG_VIRT_TO_BUS=y -CONFIG_MMU_NOTIFIER=y -CONFIG_KSM=y -CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 -CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y -CONFIG_MEMORY_FAILURE=y -CONFIG_HWPOISON_INJECT=m -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y -# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set -CONFIG_ARCH_WANTS_THP_SWAP=y -CONFIG_THP_SWAP=y -CONFIG_TRANSPARENT_HUGE_PAGECACHE=y -CONFIG_CLEANCACHE=y -CONFIG_FRONTSWAP=y -CONFIG_CMA=y -# CONFIG_CMA_DEBUG is not set -# CONFIG_CMA_DEBUGFS is not set -CONFIG_CMA_AREAS=7 -CONFIG_MEM_SOFT_DIRTY=y -CONFIG_ZSWAP=y -CONFIG_ZPOOL=y -CONFIG_ZBUD=y -CONFIG_Z3FOLD=m -CONFIG_ZSMALLOC=y -CONFIG_PGTABLE_MAPPING=y -# CONFIG_ZSMALLOC_STAT is not set -CONFIG_GENERIC_EARLY_IOREMAP=y -# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set -CONFIG_IDLE_PAGE_TRACKING=y -CONFIG_ARCH_HAS_ZONE_DEVICE=y -CONFIG_ZONE_DEVICE=y -CONFIG_ARCH_HAS_HMM=y -CONFIG_DEV_PAGEMAP_OPS=y -# CONFIG_HMM_MIRROR is not set -# CONFIG_DEVICE_PRIVATE is not set -# CONFIG_DEVICE_PUBLIC is not set -CONFIG_FRAME_VECTOR=y -CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y -CONFIG_ARCH_HAS_PKEYS=y -# CONFIG_PERCPU_STATS is not set -# CONFIG_GUP_BENCHMARK is not set -CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_X86_PMEM_LEGACY_DEVICE=y CONFIG_X86_PMEM_LEGACY=y CONFIG_X86_CHECK_BIOS_CORRUPTION=y @@ -696,6 +442,9 @@ CONFIG_ARCH_HAS_ADD_PAGES=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_USE_PERCPU_NUMA_NODE_ID=y +CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y +CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y +CONFIG_ARCH_ENABLE_THP_MIGRATION=y # # Power management and ACPI options @@ -723,6 +472,7 @@ CONFIG_PM_TRACE=y CONFIG_PM_TRACE_RTC=y CONFIG_PM_CLK=y CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y +CONFIG_ARCH_SUPPORTS_ACPI=y CONFIG_ACPI=y CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y @@ -937,15 +687,8 @@ CONFIG_RAPIDIO_RXS_GEN3=m # CONFIG_X86_SYSFB is not set # -# Executable file formats / Emulations +# Binary Emulations # -CONFIG_BINFMT_ELF=y -CONFIG_COMPAT_BINFMT_ELF=y -CONFIG_ELFCORE=y -CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y -CONFIG_BINFMT_SCRIPT=y -CONFIG_BINFMT_MISC=m -CONFIG_COREDUMP=y CONFIG_IA32_EMULATION=y # CONFIG_IA32_AOUT is not set CONFIG_X86_X32=y @@ -954,6 +697,344 @@ CONFIG_COMPAT=y CONFIG_COMPAT_FOR_U64_ALIGNMENT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_X86_DEV_DMA_OPS=y +CONFIG_HAVE_GENERIC_GUP=y + +# +# Firmware Drivers +# +CONFIG_EDD=y +CONFIG_EDD_OFF=y +CONFIG_FIRMWARE_MEMMAP=y +CONFIG_DELL_RBU=m +CONFIG_DCDBAS=m +CONFIG_DMIID=y +CONFIG_DMI_SYSFS=m +CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y +CONFIG_ISCSI_IBFT_FIND=y +CONFIG_ISCSI_IBFT=m +CONFIG_FW_CFG_SYSFS=m +# CONFIG_FW_CFG_SYSFS_CMDLINE is not set +# CONFIG_GOOGLE_FIRMWARE is not set + +# +# EFI (Extensible Firmware Interface) Support +# +CONFIG_EFI_VARS=y +CONFIG_EFI_ESRT=y +CONFIG_EFI_VARS_PSTORE=m +# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set +CONFIG_EFI_RUNTIME_MAP=y +# CONFIG_EFI_FAKE_MEMMAP is not set +CONFIG_EFI_RUNTIME_WRAPPERS=y +CONFIG_EFI_BOOTLOADER_CONTROL=m +# CONFIG_EFI_CAPSULE_LOADER is not set +# CONFIG_EFI_TEST is not set +CONFIG_APPLE_PROPERTIES=y +CONFIG_RESET_ATTACK_MITIGATION=y +CONFIG_UEFI_CPER=y +CONFIG_UEFI_CPER_X86=y +CONFIG_EFI_DEV_PATH_PARSER=y + +# +# Tegra firmware driver +# +CONFIG_HAVE_KVM=y +CONFIG_HAVE_KVM_IRQCHIP=y +CONFIG_HAVE_KVM_IRQFD=y +CONFIG_HAVE_KVM_IRQ_ROUTING=y +CONFIG_HAVE_KVM_EVENTFD=y +CONFIG_KVM_MMIO=y +CONFIG_KVM_ASYNC_PF=y +CONFIG_HAVE_KVM_MSI=y +CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y +CONFIG_KVM_VFIO=y +CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y +CONFIG_KVM_COMPAT=y +CONFIG_HAVE_KVM_IRQ_BYPASS=y +CONFIG_VIRTUALIZATION=y +CONFIG_KVM=m +CONFIG_KVM_INTEL=m +CONFIG_KVM_AMD=m +CONFIG_KVM_AMD_SEV=y +# CONFIG_KVM_MMU_AUDIT is not set +CONFIG_VHOST_NET=m +CONFIG_VHOST_SCSI=m +CONFIG_VHOST_VSOCK=m +CONFIG_VHOST=m +# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set + +# +# General architecture-dependent options +# +CONFIG_CRASH_CORE=y +CONFIG_KEXEC_CORE=y +CONFIG_HOTPLUG_SMT=y +CONFIG_OPROFILE=m +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set +CONFIG_HAVE_OPROFILE=y +CONFIG_OPROFILE_NMI_TIMER=y +CONFIG_KPROBES=y +CONFIG_JUMP_LABEL=y +# CONFIG_STATIC_KEYS_SELFTEST is not set +CONFIG_OPTPROBES=y +CONFIG_KPROBES_ON_FTRACE=y +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_KRETPROBES=y +CONFIG_USER_RETURN_NOTIFIER=y +CONFIG_HAVE_IOREMAP_PROT=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_OPTPROBES=y +CONFIG_HAVE_KPROBES_ON_FTRACE=y +CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y +CONFIG_HAVE_NMI=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_ARCH_HAS_FORTIFY_SOURCE=y +CONFIG_ARCH_HAS_SET_MEMORY=y +CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y +CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_RSEQ=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_HW_BREAKPOINT=y +CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y +CONFIG_HAVE_USER_RETURN_NOTIFIER=y +CONFIG_HAVE_PERF_EVENTS_NMI=y +CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y +CONFIG_HAVE_PERF_REGS=y +CONFIG_HAVE_PERF_USER_STACK_DUMP=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_HAVE_RCU_TABLE_FREE=y +CONFIG_HAVE_RCU_TABLE_INVALIDATE=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y +CONFIG_HAVE_CMPXCHG_LOCAL=y +CONFIG_HAVE_CMPXCHG_DOUBLE=y +CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y +CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y +CONFIG_HAVE_ARCH_SECCOMP_FILTER=y +CONFIG_SECCOMP_FILTER=y +CONFIG_HAVE_STACKPROTECTOR=y +CONFIG_CC_HAS_STACKPROTECTOR_NONE=y +CONFIG_STACKPROTECTOR=y +CONFIG_STACKPROTECTOR_STRONG=y +CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y +CONFIG_HAVE_CONTEXT_TRACKING=y +CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y +CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y +CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y +CONFIG_HAVE_ARCH_HUGE_VMAP=y +CONFIG_HAVE_ARCH_SOFT_DIRTY=y +CONFIG_HAVE_MOD_ARCH_SPECIFIC=y +CONFIG_MODULES_USE_ELF_RELA=y +CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_HAVE_ARCH_MMAP_RND_BITS=y +CONFIG_HAVE_EXIT_THREAD=y +CONFIG_ARCH_MMAP_RND_BITS=28 +CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y +CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8 +CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y +CONFIG_HAVE_COPY_THREAD_TLS=y +CONFIG_HAVE_STACK_VALIDATION=y +CONFIG_HAVE_RELIABLE_STACKTRACE=y +CONFIG_ISA_BUS_API=y +CONFIG_OLD_SIGSUSPEND3=y +CONFIG_COMPAT_OLD_SIGACTION=y +CONFIG_COMPAT_32BIT_TIME=y +CONFIG_HAVE_ARCH_VMAP_STACK=y +CONFIG_VMAP_STACK=y +CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y +CONFIG_STRICT_KERNEL_RWX=y +CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y +CONFIG_STRICT_MODULE_RWX=y +CONFIG_ARCH_HAS_REFCOUNT=y +CONFIG_REFCOUNT_FULL=y +CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +CONFIG_PLUGIN_HOSTCC="" +CONFIG_HAVE_GCC_PLUGINS=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_MODULE_SIG is not set +# CONFIG_MODULE_COMPRESS is not set +CONFIG_MODULES_TREE_LOOKUP=y +CONFIG_BLOCK=y +CONFIG_BLK_SCSI_REQUEST=y +CONFIG_BLK_DEV_BSG=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BLK_DEV_INTEGRITY=y +CONFIG_BLK_DEV_ZONED=y +CONFIG_BLK_DEV_THROTTLING=y +# CONFIG_BLK_DEV_THROTTLING_LOW is not set +CONFIG_BLK_CMDLINE_PARSER=y +CONFIG_BLK_WBT=y +# CONFIG_BLK_CGROUP_IOLATENCY is not set +# CONFIG_BLK_WBT_SQ is not set +CONFIG_BLK_WBT_MQ=y +CONFIG_BLK_DEBUG_FS=y +CONFIG_BLK_DEBUG_FS_ZONED=y +# CONFIG_BLK_SED_OPAL is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +CONFIG_AIX_PARTITION=y +CONFIG_OSF_PARTITION=y +CONFIG_AMIGA_PARTITION=y +CONFIG_ATARI_PARTITION=y +CONFIG_MAC_PARTITION=y +CONFIG_MSDOS_PARTITION=y +CONFIG_BSD_DISKLABEL=y +CONFIG_MINIX_SUBPARTITION=y +CONFIG_SOLARIS_X86_PARTITION=y +CONFIG_UNIXWARE_DISKLABEL=y +CONFIG_LDM_PARTITION=y +# CONFIG_LDM_DEBUG is not set +CONFIG_SGI_PARTITION=y +CONFIG_ULTRIX_PARTITION=y +CONFIG_SUN_PARTITION=y +CONFIG_KARMA_PARTITION=y +CONFIG_EFI_PARTITION=y +CONFIG_SYSV68_PARTITION=y +CONFIG_CMDLINE_PARTITION=y +CONFIG_BLOCK_COMPAT=y +CONFIG_BLK_MQ_PCI=y +CONFIG_BLK_MQ_VIRTIO=y +CONFIG_BLK_MQ_RDMA=y + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +CONFIG_CFQ_GROUP_IOSCHED=y +CONFIG_DEFAULT_DEADLINE=y +# CONFIG_DEFAULT_CFQ is not set +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="deadline" +CONFIG_MQ_IOSCHED_DEADLINE=m +CONFIG_MQ_IOSCHED_KYBER=m +CONFIG_IOSCHED_BFQ=m +# CONFIG_BFQ_GROUP_IOSCHED is not set +CONFIG_PREEMPT_NOTIFIERS=y +CONFIG_PADATA=y +CONFIG_ASN1=y +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_INLINE_READ_UNLOCK=y +CONFIG_INLINE_READ_UNLOCK_IRQ=y +CONFIG_INLINE_WRITE_UNLOCK=y +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_RWSEM_SPIN_ON_OWNER=y +CONFIG_LOCK_SPIN_ON_OWNER=y +CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y +CONFIG_QUEUED_SPINLOCKS=y +CONFIG_ARCH_USE_QUEUED_RWLOCKS=y +CONFIG_QUEUED_RWLOCKS=y +CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y +CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y +CONFIG_FREEZER=y + +# +# Executable file formats +# +CONFIG_BINFMT_ELF=y +CONFIG_COMPAT_BINFMT_ELF=y +CONFIG_ELFCORE=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y +CONFIG_BINFMT_SCRIPT=y +CONFIG_BINFMT_MISC=m +CONFIG_COREDUMP=y + +# +# Memory Management options +# +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_SPARSEMEM_MANUAL=y +CONFIG_SPARSEMEM=y +CONFIG_NEED_MULTIPLE_NODES=y +CONFIG_HAVE_MEMORY_PRESENT=y +CONFIG_SPARSEMEM_EXTREME=y +CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y +CONFIG_SPARSEMEM_VMEMMAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_MEMBLOCK_NODE_MAP=y +CONFIG_ARCH_DISCARD_MEMBLOCK=y +CONFIG_MEMORY_ISOLATION=y +CONFIG_HAVE_BOOTMEM_INFO_NODE=y +CONFIG_MEMORY_HOTPLUG=y +CONFIG_MEMORY_HOTPLUG_SPARSE=y +# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set +CONFIG_MEMORY_HOTREMOVE=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +CONFIG_MEMORY_BALLOON=y +CONFIG_BALLOON_COMPACTION=y +CONFIG_COMPACTION=y +CONFIG_MIGRATION=y +CONFIG_PHYS_ADDR_T_64BIT=y +CONFIG_VIRT_TO_BUS=y +CONFIG_MMU_NOTIFIER=y +CONFIG_KSM=y +CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 +CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y +CONFIG_MEMORY_FAILURE=y +CONFIG_HWPOISON_INJECT=m +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y +# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set +CONFIG_ARCH_WANTS_THP_SWAP=y +CONFIG_THP_SWAP=y +CONFIG_TRANSPARENT_HUGE_PAGECACHE=y +CONFIG_CLEANCACHE=y +CONFIG_FRONTSWAP=y +CONFIG_CMA=y +# CONFIG_CMA_DEBUG is not set +# CONFIG_CMA_DEBUGFS is not set +CONFIG_CMA_AREAS=7 +CONFIG_MEM_SOFT_DIRTY=y +CONFIG_ZSWAP=y +CONFIG_ZPOOL=y +CONFIG_ZBUD=y +CONFIG_Z3FOLD=m +CONFIG_ZSMALLOC=y +CONFIG_PGTABLE_MAPPING=y +# CONFIG_ZSMALLOC_STAT is not set +CONFIG_GENERIC_EARLY_IOREMAP=y +# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set +CONFIG_IDLE_PAGE_TRACKING=y +CONFIG_ARCH_HAS_ZONE_DEVICE=y +CONFIG_ZONE_DEVICE=y +CONFIG_ARCH_HAS_HMM=y +CONFIG_DEV_PAGEMAP_OPS=y +# CONFIG_HMM_MIRROR is not set +# CONFIG_DEVICE_PRIVATE is not set +# CONFIG_DEVICE_PUBLIC is not set +CONFIG_FRAME_VECTOR=y +CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y +CONFIG_ARCH_HAS_PKEYS=y +# CONFIG_PERCPU_STATS is not set +# CONFIG_GUP_BENCHMARK is not set +CONFIG_ARCH_HAS_PTE_SPECIAL=y CONFIG_NET=y CONFIG_COMPAT_NETLINK_MESSAGES=y CONFIG_NET_INGRESS=y @@ -972,6 +1053,7 @@ CONFIG_XFRM=y CONFIG_XFRM_OFFLOAD=y CONFIG_XFRM_ALGO=m CONFIG_XFRM_USER=m +CONFIG_XFRM_INTERFACE=m # CONFIG_XFRM_SUB_POLICY is not set # CONFIG_XFRM_MIGRATE is not set CONFIG_XFRM_STATISTICS=y @@ -1091,6 +1173,7 @@ CONFIG_NETFILTER_FAMILY_ARP=y CONFIG_NETFILTER_NETLINK_ACCT=m CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NETFILTER_NETLINK_OSF=m CONFIG_NF_CONNTRACK=m CONFIG_NF_LOG_COMMON=m CONFIG_NF_LOG_NETDEV=m @@ -1134,7 +1217,6 @@ CONFIG_NF_NAT_SIP=m CONFIG_NF_NAT_TFTP=m CONFIG_NF_NAT_REDIRECT=y CONFIG_NETFILTER_SYNPROXY=m -CONFIG_NF_OSF=m CONFIG_NF_TABLES=m CONFIG_NF_TABLES_SET=m # CONFIG_NF_TABLES_INET is not set @@ -1149,6 +1231,7 @@ CONFIG_NFT_LIMIT=m CONFIG_NFT_MASQ=m CONFIG_NFT_REDIR=m CONFIG_NFT_NAT=m +CONFIG_NFT_TUNNEL=m CONFIG_NFT_OBJREF=m CONFIG_NFT_QUEUE=m CONFIG_NFT_QUOTA=m @@ -1156,6 +1239,8 @@ CONFIG_NFT_REJECT=m CONFIG_NFT_COMPAT=m CONFIG_NFT_HASH=m CONFIG_NFT_SOCKET=m +CONFIG_NFT_OSF=m +CONFIG_NFT_TPROXY=m CONFIG_NF_FLOW_TABLE_INET=m CONFIG_NF_FLOW_TABLE=m CONFIG_NETFILTER_XTABLES=m @@ -1317,7 +1402,6 @@ CONFIG_IP_VS_PE_SIP=m # IP: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV4=m -CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_SOCKET_IPV4=m CONFIG_NF_TPROXY_IPV4=m # CONFIG_NF_TABLES_IPV4 is not set @@ -1358,8 +1442,6 @@ CONFIG_IP_NF_ARP_MANGLE=m # # IPv6: Netfilter Configuration # -CONFIG_NF_DEFRAG_IPV6=m -CONFIG_NF_CONNTRACK_IPV6=m CONFIG_NF_SOCKET_IPV6=m CONFIG_NF_TPROXY_IPV6=m # CONFIG_NF_TABLES_IPV6 is not set @@ -1390,6 +1472,7 @@ CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_NAT=m CONFIG_IP6_NF_TARGET_MASQUERADE=m CONFIG_IP6_NF_TARGET_NPT=m +CONFIG_NF_DEFRAG_IPV6=m # # DECnet: Netfilter Configuration @@ -1529,15 +1612,18 @@ CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_CBS=m +CONFIG_NET_SCH_ETF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_DRR=m CONFIG_NET_SCH_MQPRIO=m +CONFIG_NET_SCH_SKBPRIO=m CONFIG_NET_SCH_CHOKE=m CONFIG_NET_SCH_QFQ=m CONFIG_NET_SCH_CODEL=m CONFIG_NET_SCH_FQ_CODEL=m +CONFIG_NET_SCH_CAKE=m CONFIG_NET_SCH_FQ=m CONFIG_NET_SCH_HHF=m CONFIG_NET_SCH_PIE=m @@ -1675,7 +1761,6 @@ CONFIG_CAN_VXCAN=m CONFIG_CAN_SLCAN=m CONFIG_CAN_DEV=m CONFIG_CAN_CALC_BITTIMING=y -CONFIG_CAN_LEDS=y CONFIG_CAN_JANZ_ICAN3=m CONFIG_CAN_C_CAN=m CONFIG_CAN_C_CAN_PLATFORM=m @@ -1708,13 +1793,14 @@ CONFIG_CAN_MCP251X=m # # CAN USB interfaces # +CONFIG_CAN_8DEV_USB=m CONFIG_CAN_EMS_USB=m CONFIG_CAN_ESD_USB2=m CONFIG_CAN_GS_USB=m CONFIG_CAN_KVASER_USB=m -CONFIG_CAN_PEAK_USB=m -CONFIG_CAN_8DEV_USB=m CONFIG_CAN_MCBA_USB=m +CONFIG_CAN_PEAK_USB=m +CONFIG_CAN_UCAN=m # CONFIG_CAN_DEBUG_DEVICES is not set CONFIG_BT=m CONFIG_BT_BREDR=y @@ -1754,6 +1840,7 @@ CONFIG_BT_HCIUART_LL=y CONFIG_BT_HCIUART_3WIRE=y CONFIG_BT_HCIUART_INTEL=y CONFIG_BT_HCIUART_BCM=y +CONFIG_BT_HCIUART_RTL=y CONFIG_BT_HCIUART_QCA=y CONFIG_BT_HCIUART_AG6XX=y CONFIG_BT_HCIUART_MRVL=y @@ -1768,6 +1855,7 @@ CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_ATH3K=m CONFIG_BT_WILINK=m +CONFIG_BT_MTKUART=m CONFIG_BT_HCIRSI=m CONFIG_AF_RXRPC=m CONFIG_AF_RXRPC_IPV6=y @@ -1930,6 +2018,10 @@ CONFIG_DMA_SHARED_BUFFER=y # CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y +CONFIG_GNSS=m +CONFIG_GNSS_SERIAL=m +CONFIG_GNSS_SIRF_SERIAL=m +CONFIG_GNSS_UBX_SERIAL=m CONFIG_MTD=m # CONFIG_MTD_TESTS is not set CONFIG_MTD_REDBOOT_PARTS=m @@ -2027,6 +2119,7 @@ CONFIG_MTD_BLOCK2MTD=m CONFIG_MTD_DOCG3=m CONFIG_BCH_CONST_M=14 CONFIG_BCH_CONST_T=4 +CONFIG_MTD_NAND_CORE=m CONFIG_MTD_ONENAND=m CONFIG_MTD_ONENAND_VERIFY_WRITE=y CONFIG_MTD_ONENAND_GENERIC=m @@ -2050,6 +2143,7 @@ CONFIG_MTD_NAND_DOCG4=m CONFIG_MTD_NAND_CAFE=m CONFIG_MTD_NAND_NANDSIM=m CONFIG_MTD_NAND_PLATFORM=m +CONFIG_MTD_SPI_NAND=m # # LPDDR & LPDDR2 PCM memory drivers @@ -2692,6 +2786,7 @@ CONFIG_B53_SPI_DRIVER=m CONFIG_B53_MDIO_DRIVER=m CONFIG_B53_MMAP_DRIVER=m CONFIG_B53_SRAB_DRIVER=m +CONFIG_NET_DSA_BCM_SF2=m # CONFIG_NET_DSA_LOOP is not set CONFIG_NET_DSA_MT7530=m CONFIG_NET_DSA_MV88E6060=m @@ -2701,6 +2796,7 @@ CONFIG_NET_DSA_MV88E6XXX=m CONFIG_NET_DSA_MV88E6XXX_GLOBAL2=y # CONFIG_NET_DSA_MV88E6XXX_PTP is not set CONFIG_NET_DSA_QCA8K=m +CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m CONFIG_NET_DSA_SMSC_LAN9303_I2C=m CONFIG_NET_DSA_SMSC_LAN9303_MDIO=m @@ -2746,19 +2842,22 @@ CONFIG_B44=m CONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=y +CONFIG_BCMGENET=m CONFIG_BNX2=m CONFIG_CNIC=m CONFIG_TIGON3=m CONFIG_TIGON3_HWMON=y CONFIG_BNX2X=m CONFIG_BNX2X_SRIOV=y +# CONFIG_SYSTEMPORT is not set CONFIG_BNXT=m CONFIG_BNXT_SRIOV=y CONFIG_BNXT_FLOWER_OFFLOAD=y # CONFIG_BNXT_DCB is not set +CONFIG_BNXT_HWMON=y CONFIG_NET_VENDOR_BROCADE=y CONFIG_BNA=m -CONFIG_NET_CADENCE=y +CONFIG_NET_VENDOR_CADENCE=y CONFIG_MACB=m CONFIG_MACB_USE_HWSTAMP=y CONFIG_MACB_PCI=m @@ -2804,6 +2903,10 @@ CONFIG_SUNDANCE=m CONFIG_NET_VENDOR_EMULEX=y CONFIG_BE2NET=m CONFIG_BE2NET_HWMON=y +CONFIG_BE2NET_BE2=y +CONFIG_BE2NET_BE3=y +CONFIG_BE2NET_LANCER=y +CONFIG_BE2NET_SKYHAWK=y CONFIG_NET_VENDOR_EZCHIP=y CONFIG_NET_VENDOR_FUJITSU=y CONFIG_PCMCIA_FMVJ18X=m @@ -2832,10 +2935,6 @@ CONFIG_I40E_DCB=y CONFIG_I40EVF=m CONFIG_ICE=m CONFIG_FM10K=m -CONFIG_NET_VENDOR_EXAR=y -CONFIG_S2IO=m -CONFIG_VXGE=m -# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_JME=m CONFIG_NET_VENDOR_MARVELL=y CONFIG_MVMDIO=m @@ -2853,6 +2952,8 @@ CONFIG_MLX4_CORE_GEN2=y CONFIG_MLX5_CORE=m # CONFIG_MLX5_FPGA is not set CONFIG_MLX5_CORE_EN=y +CONFIG_MLX5_EN_ARFS=y +CONFIG_MLX5_EN_RXNFC=y CONFIG_MLX5_MPFS=y CONFIG_MLX5_ESWITCH=y CONFIG_MLX5_CORE_EN_DCB=y @@ -2888,6 +2989,10 @@ CONFIG_FEALNX=m CONFIG_NET_VENDOR_NATSEMI=y CONFIG_NATSEMI=m CONFIG_NS83820=m +CONFIG_NET_VENDOR_NETERION=y +CONFIG_S2IO=m +CONFIG_VXGE=m +# CONFIG_VXGE_DEBUG_TRACE_ALL is not set CONFIG_NET_VENDOR_NETRONOME=y CONFIG_NFP=m # CONFIG_NFP_APP_FLOWER is not set @@ -2902,7 +3007,7 @@ CONFIG_NET_VENDOR_NVIDIA=y CONFIG_FORCEDETH=m CONFIG_NET_VENDOR_OKI=y CONFIG_ETHOC=m -CONFIG_NET_PACKET_ENGINE=y +CONFIG_NET_VENDOR_PACKET_ENGINES=y CONFIG_HAMACHI=m CONFIG_YELLOWFIN=m CONFIG_NET_VENDOR_QLOGIC=y @@ -2999,6 +3104,7 @@ CONFIG_SKFP=m CONFIG_NET_SB1000=m CONFIG_MDIO_DEVICE=y CONFIG_MDIO_BUS=y +CONFIG_MDIO_BCM_UNIMAC=m CONFIG_MDIO_BITBANG=m CONFIG_MDIO_CAVIUM=m CONFIG_MDIO_GPIO=m @@ -3293,7 +3399,11 @@ CONFIG_MWL8K=m CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=m CONFIG_MT76_CORE=m +CONFIG_MT76_USB=m +CONFIG_MT76x2_COMMON=m +CONFIG_MT76x0U=m CONFIG_MT76x2E=m +CONFIG_MT76x2U=m CONFIG_WLAN_VENDOR_RALINK=y CONFIG_RT2X00=m CONFIG_RT2400PCI=m @@ -3417,6 +3527,7 @@ CONFIG_IEEE802154_ADF7242=m CONFIG_IEEE802154_CA8210=m # CONFIG_IEEE802154_CA8210_DEBUGFS is not set CONFIG_IEEE802154_MCR20A=m +# CONFIG_IEEE802154_HWSIM is not set CONFIG_XEN_NETDEV_FRONTEND=y CONFIG_XEN_NETDEV_BACKEND=m CONFIG_VMXNET3=m @@ -3552,8 +3663,8 @@ CONFIG_MISDN_IPAC=m CONFIG_MISDN_ISAR=m CONFIG_ISDN_HDLC=m CONFIG_NVM=y -# CONFIG_NVM_DEBUG is not set CONFIG_NVM_PBLK=m +# CONFIG_NVM_PBLK_DEBUG is not set # # Input device support @@ -3687,10 +3798,12 @@ CONFIG_TOUCHSCREEN_AD7877=m CONFIG_TOUCHSCREEN_AD7879=m CONFIG_TOUCHSCREEN_AD7879_I2C=m CONFIG_TOUCHSCREEN_AD7879_SPI=m +CONFIG_TOUCHSCREEN_ADC=m CONFIG_TOUCHSCREEN_ATMEL_MXT=m # CONFIG_TOUCHSCREEN_ATMEL_MXT_T37 is not set CONFIG_TOUCHSCREEN_AUO_PIXCIR=m CONFIG_TOUCHSCREEN_BU21013=m +CONFIG_TOUCHSCREEN_BU21029=m CONFIG_TOUCHSCREEN_CHIPONE_ICN8505=m CONFIG_TOUCHSCREEN_CY8CTMG110=m CONFIG_TOUCHSCREEN_CYTTSP_CORE=m @@ -4025,6 +4138,7 @@ CONFIG_TELCLOCK=m CONFIG_DEVPORT=y CONFIG_XILLYBUS=m CONFIG_XILLYBUS_PCIE=m +# CONFIG_RANDOM_TRUST_CPU is not set # # I2C support @@ -4210,8 +4324,10 @@ CONFIG_PINCTRL_CANNONLAKE=m CONFIG_PINCTRL_CEDARFORK=m CONFIG_PINCTRL_DENVERTON=m CONFIG_PINCTRL_GEMINILAKE=m +CONFIG_PINCTRL_ICELAKE=m CONFIG_PINCTRL_LEWISBURG=m CONFIG_PINCTRL_SUNRISEPOINT=m +CONFIG_PINCTRL_MADERA=m CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 CONFIG_GPIO_ACPI=y @@ -4269,6 +4385,7 @@ CONFIG_GPIO_JANZ_TTL=m CONFIG_GPIO_KEMPLD=m CONFIG_GPIO_LP3943=m CONFIG_GPIO_LP873X=m +CONFIG_GPIO_MADERA=m CONFIG_GPIO_PALMAS=y CONFIG_GPIO_RC5T583=y CONFIG_GPIO_TPS65086=m @@ -4333,7 +4450,6 @@ CONFIG_W1_SLAVE_DS2431=m CONFIG_W1_SLAVE_DS2433=m # CONFIG_W1_SLAVE_DS2433_CRC is not set CONFIG_W1_SLAVE_DS2438=m -CONFIG_W1_SLAVE_DS2760=m CONFIG_W1_SLAVE_DS2780=m CONFIG_W1_SLAVE_DS2781=m CONFIG_W1_SLAVE_DS28E04=m @@ -4351,6 +4467,7 @@ CONFIG_WM831X_POWER=m CONFIG_WM8350_POWER=m CONFIG_TEST_POWER=m CONFIG_BATTERY_88PM860X=m +CONFIG_CHARGER_ADP5061=m CONFIG_BATTERY_DS2760=m CONFIG_BATTERY_DS2780=m CONFIG_BATTERY_DS2781=m @@ -4400,6 +4517,7 @@ CONFIG_CHARGER_TPS65090=m CONFIG_BATTERY_GAUGE_LTC2941=m CONFIG_BATTERY_RT5033=m CONFIG_CHARGER_RT9455=m +CONFIG_CHARGER_CROS_USBPD=m CONFIG_HWMON=y CONFIG_HWMON_VID=m # CONFIG_HWMON_DEBUG_CHIP is not set @@ -4506,6 +4624,7 @@ CONFIG_SENSORS_NCT6683=m CONFIG_SENSORS_NCT6775=m CONFIG_SENSORS_NCT7802=m CONFIG_SENSORS_NCT7904=m +CONFIG_SENSORS_NPCM7XX=m CONFIG_SENSORS_PCF8591=m CONFIG_PMBUS=m CONFIG_SENSORS_PMBUS=m @@ -4628,6 +4747,7 @@ CONFIG_DA9055_WATCHDOG=m CONFIG_DA9063_WATCHDOG=m CONFIG_DA9062_WATCHDOG=m CONFIG_MENF21BMC_WATCHDOG=m +CONFIG_MENZ069_WATCHDOG=m CONFIG_WDAT_WDT=m CONFIG_WM831X_WATCHDOG=m CONFIG_WM8350_WATCHDOG=m @@ -4705,8 +4825,6 @@ CONFIG_SSB_PCMCIAHOST_POSSIBLE=y # CONFIG_SSB_PCMCIAHOST is not set CONFIG_SSB_SDIOHOST_POSSIBLE=y CONFIG_SSB_SDIOHOST=y -# CONFIG_SSB_SILENT is not set -# CONFIG_SSB_DEBUG is not set CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=y CONFIG_SSB_DRIVER_GPIO=y @@ -4734,9 +4852,13 @@ CONFIG_MFD_BD9571MWV=m CONFIG_MFD_AXP20X=m CONFIG_MFD_AXP20X_I2C=m CONFIG_MFD_CROS_EC=m -CONFIG_MFD_CROS_EC_I2C=m -CONFIG_MFD_CROS_EC_SPI=m CONFIG_MFD_CROS_EC_CHARDEV=m +CONFIG_MFD_MADERA=m +CONFIG_MFD_MADERA_I2C=m +CONFIG_MFD_MADERA_SPI=m +# CONFIG_MFD_CS47L35 is not set +# CONFIG_MFD_CS47L85 is not set +# CONFIG_MFD_CS47L90 is not set CONFIG_PMIC_DA903X=y CONFIG_PMIC_DA9052=y CONFIG_MFD_DA9052_SPI=y @@ -5120,7 +5242,6 @@ CONFIG_DVB_USB_PCTV452E=m CONFIG_DVB_USB_DW2102=m CONFIG_DVB_USB_CINERGY_T2=m CONFIG_DVB_USB_DTV5100=m -CONFIG_DVB_USB_FRIIO=m CONFIG_DVB_USB_AZ6027=m CONFIG_DVB_USB_TECHNISAT_USB2=m CONFIG_DVB_USB_V2=m @@ -5257,8 +5378,10 @@ CONFIG_VIDEO_VIVID=m CONFIG_VIDEO_VIVID_CEC=y CONFIG_VIDEO_VIVID_MAX_DEVS=64 CONFIG_VIDEO_VIM2M=m +CONFIG_VIDEO_VICODEC=m CONFIG_DVB_PLATFORM_DRIVERS=y CONFIG_CEC_PLATFORM_DRIVERS=y +CONFIG_VIDEO_CROS_EC_CEC=m CONFIG_SDR_PLATFORM_DRIVERS=y # @@ -5657,6 +5780,7 @@ CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=100 CONFIG_DRM_LOAD_EDID_FIRMWARE=y +# CONFIG_DRM_DP_CEC is not set CONFIG_DRM_TTM=m CONFIG_DRM_VM=y CONFIG_DRM_SCHED=m @@ -5685,8 +5809,7 @@ CONFIG_DRM_AMDGPU_USERPTR=y # Display Engine Configuration # CONFIG_DRM_AMD_DC=y -# CONFIG_DRM_AMD_DC_FBC is not set -# CONFIG_DRM_AMD_DC_DCN1_0 is not set +CONFIG_DRM_AMD_DC_DCN1_0=y # CONFIG_DEBUG_KERNEL_DC is not set # @@ -5719,6 +5842,7 @@ CONFIG_DRM_I915_USERPTR=y # CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set # CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set CONFIG_DRM_VGEM=m +# CONFIG_DRM_VKMS is not set CONFIG_DRM_VMWGFX=m CONFIG_DRM_VMWGFX_FBCON=y CONFIG_DRM_GMA500=m @@ -5729,7 +5853,7 @@ CONFIG_DRM_AST=m # CONFIG_DRM_MGAG200 is not set CONFIG_DRM_CIRRUS_QEMU=m CONFIG_DRM_QXL=m -# CONFIG_DRM_BOCHS is not set +CONFIG_DRM_BOCHS=m CONFIG_DRM_VIRTIO_GPU=m CONFIG_DRM_PANEL=y @@ -5922,6 +6046,7 @@ CONFIG_DUMMY_CONSOLE_ROWS=25 CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set @@ -6067,6 +6192,7 @@ CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDA_CORE=m CONFIG_SND_HDA_DSP_LOADER=y +CONFIG_SND_HDA_COMPONENT=y CONFIG_SND_HDA_I915=y CONFIG_SND_HDA_EXT_CORE=m CONFIG_SND_HDA_PREALLOC_SIZE=64 @@ -6163,6 +6289,7 @@ CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=m CONFIG_SND_SOC_INTEL_KBL_RT5663_MAX98927_MACH=m CONFIG_SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH=m CONFIG_SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH=m +CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH=m # # STMicroelectronics STM32 SOC audio support @@ -6214,10 +6341,10 @@ CONFIG_SND_SOC_CS4349=m CONFIG_SND_SOC_CS53L30=m CONFIG_SND_SOC_DA7213=m CONFIG_SND_SOC_DA7219=m -CONFIG_SND_SOC_DIO2125=m CONFIG_SND_SOC_DMIC=m CONFIG_SND_SOC_HDMI_CODEC=m CONFIG_SND_SOC_ES7134=m +CONFIG_SND_SOC_ES7241=m CONFIG_SND_SOC_ES8316=m CONFIG_SND_SOC_ES8328=m CONFIG_SND_SOC_ES8328_I2C=m @@ -6264,11 +6391,13 @@ CONFIG_SND_SOC_RT5663=m CONFIG_SND_SOC_RT5670=m CONFIG_SND_SOC_RT5677=m CONFIG_SND_SOC_RT5677_SPI=m +CONFIG_SND_SOC_RT5682=m CONFIG_SND_SOC_SGTL5000=m CONFIG_SND_SOC_SI476X=m CONFIG_SND_SOC_SIGMADSP=m CONFIG_SND_SOC_SIGMADSP_I2C=m CONFIG_SND_SOC_SIGMADSP_REGMAP=m +CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m CONFIG_SND_SOC_SIRF_AUDIO_CODEC=m CONFIG_SND_SOC_SPDIF=m CONFIG_SND_SOC_SSM2305=m @@ -6360,6 +6489,7 @@ CONFIG_HID_BETOP_FF=m CONFIG_HID_CHERRY=m CONFIG_HID_CHICONY=m CONFIG_HID_CORSAIR=m +CONFIG_HID_COUGAR=m CONFIG_HID_PRODIKEYS=m CONFIG_HID_CMEDIA=m CONFIG_HID_CP2112=m @@ -6594,6 +6724,7 @@ CONFIG_USB_DWC3_DUAL_ROLE=y # Platform Glue Driver Support # CONFIG_USB_DWC3_PCI=m +CONFIG_USB_DWC3_HAPS=m CONFIG_USB_DWC2=y CONFIG_USB_DWC2_HOST=y @@ -6825,6 +6956,8 @@ CONFIG_USB_G_DBGP_SERIAL=y CONFIG_USB_G_WEBCAM=m CONFIG_TYPEC=m CONFIG_TYPEC_TCPM=m +CONFIG_TYPEC_TCPCI=m +CONFIG_TYPEC_RT1711H=m CONFIG_TYPEC_FUSB302=m CONFIG_TYPEC_UCSI=m CONFIG_UCSI_ACPI=m @@ -6834,6 +6967,11 @@ CONFIG_TYPEC_TPS6598X=m # USB Type-C Multiplexer/DeMultiplexer Switch support # CONFIG_TYPEC_MUX_PI3USB30532=m + +# +# USB Type-C Alternate Mode drivers +# +CONFIG_TYPEC_DP_ALTMODE=m CONFIG_USB_ROLES_INTEL_XHCI=m CONFIG_USB_LED_TRIG=y CONFIG_USB_ULPI_BUS=m @@ -7059,7 +7197,6 @@ CONFIG_RTC_DRV_88PM80X=m CONFIG_RTC_DRV_ABB5ZES3=m CONFIG_RTC_DRV_ABX80X=m CONFIG_RTC_DRV_DS1307=m -CONFIG_RTC_DRV_DS1307_HWMON=y # CONFIG_RTC_DRV_DS1307_CENTURY is not set CONFIG_RTC_DRV_DS1374=m CONFIG_RTC_DRV_DS1374_WDT=y @@ -7139,7 +7276,6 @@ CONFIG_RTC_DRV_DS1685=y # CONFIG_RTC_DRV_DS17485 is not set # CONFIG_RTC_DRV_DS17885 is not set # CONFIG_RTC_DS1685_PROC_REGS is not set -# CONFIG_RTC_DS1685_SYSFS_REGS is not set CONFIG_RTC_DRV_DS1742=m CONFIG_RTC_DRV_DS2404=m CONFIG_RTC_DRV_DA9052=m @@ -7266,7 +7402,7 @@ CONFIG_XEN_BALLOON=y CONFIG_XEN_SELFBALLOONING=y CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT=512 -CONFIG_XEN_SCRUB_PAGES=y +CONFIG_XEN_SCRUB_PAGES_DEFAULT=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_BACKEND=y CONFIG_XENFS=m @@ -7275,6 +7411,7 @@ CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_XENBUS_FRONTEND=y CONFIG_XEN_GNTDEV=m CONFIG_XEN_GRANT_DEV_ALLOC=m +# CONFIG_XEN_GRANT_DMA_ALLOC is not set CONFIG_SWIOTLB_XEN=y CONFIG_XEN_TMEM=m CONFIG_XEN_PCIDEV_BACKEND=m @@ -7300,7 +7437,6 @@ CONFIG_COMEDI_MISC_DRIVERS=y CONFIG_COMEDI_BOND=m CONFIG_COMEDI_TEST=m CONFIG_COMEDI_PARPORT=m -CONFIG_COMEDI_SERIAL2002=m CONFIG_COMEDI_ISA_DRIVERS=y CONFIG_COMEDI_PCL711=m CONFIG_COMEDI_PCL724=m @@ -7487,11 +7623,6 @@ CONFIG_AD7746=m CONFIG_AD9832=m CONFIG_AD9834=m -# -# Digital gyroscope sensors -# -CONFIG_ADIS16060=m - # # Network Analyzer, Impedance Converters # @@ -7551,7 +7682,6 @@ CONFIG_MTD_SPINAND_MT29F=m CONFIG_MTD_SPINAND_ONDIEECC=y CONFIG_DGNC=m CONFIG_GS_FPGABOOT=m -CONFIG_CRYPTO_SKEIN=y CONFIG_UNISYSSPAR=y CONFIG_UNISYS_VISORNIC=m CONFIG_UNISYS_VISORINPUT=m @@ -7603,17 +7733,26 @@ CONFIG_MOST_I2C=m CONFIG_MOST_USB=m CONFIG_KS7010=m # CONFIG_GREYBUS is not set - -# -# USB Power Delivery and Type-C drivers -# -CONFIG_TYPEC_TCPCI=m -CONFIG_TYPEC_RT1711H=m CONFIG_DRM_VBOXVIDEO=m # CONFIG_PI433 is not set CONFIG_MTK_MMC=m # CONFIG_MTK_AEE_KDUMP is not set # CONFIG_MTK_MMC_CD_POLL is not set + +# +# Gasket devices +# +CONFIG_STAGING_GASKET_FRAMEWORK=m +CONFIG_STAGING_APEX_DRIVER=m +CONFIG_XIL_AXIS_FIFO=m +CONFIG_EROFS_FS=m +# CONFIG_EROFS_FS_DEBUG is not set +CONFIG_EROFS_FS_XATTR=y +CONFIG_EROFS_FS_POSIX_ACL=y +CONFIG_EROFS_FS_SECURITY=y +# CONFIG_EROFS_FS_USE_VM_MAP_RAM is not set +# CONFIG_EROFS_FAULT_INJECTION is not set +# CONFIG_EROFS_FS_ZIP is not set CONFIG_X86_PLATFORM_DEVICES=y CONFIG_ACER_WMI=m CONFIG_ACER_WIRELESS=m @@ -7692,14 +7831,17 @@ CONFIG_INTEL_PUNIT_IPC=m CONFIG_INTEL_TELEMETRY=m # CONFIG_MLX_PLATFORM is not set # CONFIG_INTEL_TURBO_MAX_3 is not set -# CONFIG_SILEAD_DMI is not set +# CONFIG_TOUCHSCREEN_DMI is not set CONFIG_INTEL_CHTDC_TI_PWRBTN=m +CONFIG_I2C_MULTI_INSTANTIATE=m CONFIG_PMC_ATOM=y CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_LAPTOP=m CONFIG_CHROMEOS_PSTORE=m CONFIG_CHROMEOS_TBMC=m CONFIG_CROS_EC_CTL=m +CONFIG_CROS_EC_I2C=m +CONFIG_CROS_EC_SPI=m CONFIG_CROS_EC_LPC=m # CONFIG_CROS_EC_LPC_MEC is not set CONFIG_CROS_EC_PROTO=y @@ -7713,6 +7855,7 @@ CONFIG_COMMON_CLK=y # Common Clock Framework # CONFIG_COMMON_CLK_WM831X=m +CONFIG_COMMON_CLK_MAX9485=m CONFIG_COMMON_CLK_SI5351=m CONFIG_COMMON_CLK_SI544=m CONFIG_COMMON_CLK_CDCE706=m @@ -7738,6 +7881,8 @@ CONFIG_IOMMU_SUPPORT=y # # Generic IOMMU Pagetable Support # +# CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_IOVA=y CONFIG_AMD_IOMMU=y CONFIG_AMD_IOMMU_V2=m @@ -7775,6 +7920,10 @@ CONFIG_RPMSG_VIRTIO=m # Broadcom SoC drivers # +# +# NXP/Freescale QorIQ SoC drivers +# + # # i.MX SoC drivers # @@ -7943,6 +8092,9 @@ CONFIG_AD8366=m # Chemical Sensors # CONFIG_ATLAS_PH_SENSOR=m +CONFIG_BME680=m +CONFIG_BME680_I2C=m +CONFIG_BME680_SPI=m CONFIG_CCS811=m CONFIG_IAQCORE=m CONFIG_VZ89X=m @@ -7988,6 +8140,7 @@ CONFIG_AD5686=m CONFIG_AD5686_SPI=m CONFIG_AD5696_I2C=m CONFIG_AD5755=m +CONFIG_AD5758=m CONFIG_AD5761=m CONFIG_AD5764=m CONFIG_AD5791=m @@ -8114,6 +8267,7 @@ CONFIG_LV0104CS=m CONFIG_MAX44000=m CONFIG_OPT3001=m CONFIG_PA12203001=m +CONFIG_SI1133=m CONFIG_SI1145=m CONFIG_STK3310=m CONFIG_ST_UVIS25=m @@ -8219,6 +8373,7 @@ CONFIG_AS3935=m # # Proximity and distance sensors # +CONFIG_ISL29501=m CONFIG_LIDAR_LITE_V2=m CONFIG_RFD77402=m CONFIG_SRF04=m @@ -8309,6 +8464,7 @@ CONFIG_PHY_SAMSUNG_USB2=m CONFIG_PHY_TUSB1210=m CONFIG_POWERCAP=y CONFIG_INTEL_RAPL=m +# CONFIG_IDLE_INJECT is not set CONFIG_MCB=m CONFIG_MCB_PCI=m CONFIG_MCB_LPC=m @@ -8365,51 +8521,18 @@ CONFIG_FPGA_MGR_MACHXO2_SPI=m CONFIG_FPGA_BRIDGE=m CONFIG_XILINX_PR_DECOUPLER=m CONFIG_FPGA_REGION=m +CONFIG_FPGA_DFL=m +CONFIG_FPGA_DFL_FME=m +CONFIG_FPGA_DFL_FME_MGR=m +CONFIG_FPGA_DFL_FME_BRIDGE=m +CONFIG_FPGA_DFL_FME_REGION=m +CONFIG_FPGA_DFL_AFU=m +CONFIG_FPGA_DFL_PCI=m CONFIG_PM_OPP=y CONFIG_UNISYS_VISORBUS=m # CONFIG_SIOX is not set # CONFIG_SLIMBUS is not set -# -# Firmware Drivers -# -CONFIG_EDD=y -CONFIG_EDD_OFF=y -CONFIG_FIRMWARE_MEMMAP=y -CONFIG_DELL_RBU=m -CONFIG_DCDBAS=m -CONFIG_DMIID=y -CONFIG_DMI_SYSFS=m -CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y -CONFIG_ISCSI_IBFT_FIND=y -CONFIG_ISCSI_IBFT=m -CONFIG_FW_CFG_SYSFS=m -# CONFIG_FW_CFG_SYSFS_CMDLINE is not set -# CONFIG_GOOGLE_FIRMWARE is not set - -# -# EFI (Extensible Firmware Interface) Support -# -CONFIG_EFI_VARS=y -CONFIG_EFI_ESRT=y -CONFIG_EFI_VARS_PSTORE=m -# CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE is not set -CONFIG_EFI_RUNTIME_MAP=y -# CONFIG_EFI_FAKE_MEMMAP is not set -CONFIG_EFI_RUNTIME_WRAPPERS=y -CONFIG_EFI_BOOTLOADER_CONTROL=m -# CONFIG_EFI_CAPSULE_LOADER is not set -# CONFIG_EFI_TEST is not set -CONFIG_APPLE_PROPERTIES=y -CONFIG_RESET_ATTACK_MITIGATION=y -CONFIG_UEFI_CPER=y -CONFIG_UEFI_CPER_X86=y -CONFIG_EFI_DEV_PATH_PARSER=y - -# -# Tegra firmware driver -# - # # File systems # @@ -8500,6 +8623,7 @@ CONFIG_OVERLAY_FS=m # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set # CONFIG_OVERLAY_FS_INDEX is not set # CONFIG_OVERLAY_FS_XINO_AUTO is not set +# CONFIG_OVERLAY_FS_METACOPY is not set # # Caches @@ -8564,7 +8688,6 @@ CONFIG_ECRYPT_FS=y CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m -CONFIG_HFSPLUS_FS_POSIX_ACL=y CONFIG_BEFS_FS=m # CONFIG_BEFS_DEBUG is not set CONFIG_BFS_FS=m @@ -8591,6 +8714,7 @@ CONFIG_UBIFS_FS=m CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y CONFIG_UBIFS_ATIME_SUPPORT=y +CONFIG_UBIFS_FS_XATTR=y CONFIG_UBIFS_FS_ENCRYPTION=y CONFIG_UBIFS_FS_SECURITY=y CONFIG_CRAMFS=m @@ -8629,6 +8753,7 @@ CONFIG_PSTORE_DEFLATE_COMPRESS=m # CONFIG_PSTORE_LZ4_COMPRESS is not set # CONFIG_PSTORE_LZ4HC_COMPRESS is not set # CONFIG_PSTORE_842_COMPRESS is not set +# CONFIG_PSTORE_ZSTD_COMPRESS is not set CONFIG_PSTORE_COMPRESS=y CONFIG_PSTORE_DEFLATE_COMPRESS_DEFAULT=y CONFIG_PSTORE_COMPRESS_DEFAULT="deflate" @@ -8688,8 +8813,8 @@ CONFIG_CEPH_FS=m CONFIG_CEPH_FSCACHE=y CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CIFS=m -CONFIG_CIFS_STATS=y # CONFIG_CIFS_STATS2 is not set +CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_UPCALL=y CONFIG_CIFS_XATTR=y @@ -8699,7 +8824,6 @@ CONFIG_CIFS_DEBUG=y # CONFIG_CIFS_DEBUG2 is not set # CONFIG_CIFS_DEBUG_DUMP_KEYS is not set CONFIG_CIFS_DFS_UPCALL=y -CONFIG_CIFS_SMB311=y # CONFIG_CIFS_SMB_DIRECT is not set CONFIG_CIFS_FSCACHE=y CONFIG_CODA_FS=m @@ -8764,276 +8888,6 @@ CONFIG_NLS_UTF8=m CONFIG_DLM=m # CONFIG_DLM_DEBUG is not set -# -# Kernel hacking -# -CONFIG_TRACE_IRQFLAGS_SUPPORT=y - -# -# printk and dmesg options -# -CONFIG_PRINTK_TIME=y -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -CONFIG_BOOT_PRINTK_DELAY=y -CONFIG_DYNAMIC_DEBUG=y - -# -# Compile-time checks and compiler options -# -# CONFIG_DEBUG_INFO is not set -# CONFIG_ENABLE_WARN_DEPRECATED is not set -# CONFIG_ENABLE_MUST_CHECK is not set -CONFIG_FRAME_WARN=1024 -# CONFIG_STRIP_ASM_SYMS is not set -# CONFIG_READABLE_ASM is not set -CONFIG_UNUSED_SYMBOLS=y -# CONFIG_PAGE_OWNER is not set -CONFIG_DEBUG_FS=y -# CONFIG_HEADERS_CHECK is not set -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -CONFIG_FRAME_POINTER=y -CONFIG_STACK_VALIDATION=y -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_DEBUG_KERNEL=y - -# -# Memory Debugging -# -# CONFIG_PAGE_EXTENSION is not set -# CONFIG_DEBUG_PAGEALLOC is not set -# CONFIG_PAGE_POISONING is not set -# CONFIG_DEBUG_PAGE_REF is not set -# CONFIG_DEBUG_RODATA_TEST is not set -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_SLUB_DEBUG_ON is not set -# CONFIG_SLUB_STATS is not set -CONFIG_HAVE_DEBUG_KMEMLEAK=y -# CONFIG_DEBUG_KMEMLEAK is not set -# CONFIG_DEBUG_STACK_USAGE is not set -# CONFIG_DEBUG_VM is not set -CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y -# CONFIG_DEBUG_VIRTUAL is not set -# CONFIG_DEBUG_MEMORY_INIT is not set -CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m -# CONFIG_DEBUG_PER_CPU_MAPS is not set -CONFIG_HAVE_DEBUG_STACKOVERFLOW=y -# CONFIG_DEBUG_STACKOVERFLOW is not set -CONFIG_HAVE_ARCH_KASAN=y -# CONFIG_KASAN is not set -CONFIG_ARCH_HAS_KCOV=y -CONFIG_CC_HAS_SANCOV_TRACE_PC=y -# CONFIG_KCOV is not set -# CONFIG_DEBUG_SHIRQ is not set - -# -# Debug Lockups and Hangs -# -CONFIG_LOCKUP_DETECTOR=y -CONFIG_SOFTLOCKUP_DETECTOR=y -# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 -CONFIG_HARDLOCKUP_DETECTOR_PERF=y -CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y -CONFIG_HARDLOCKUP_DETECTOR=y -# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set -CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0 -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set -CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 -# CONFIG_WQ_WATCHDOG is not set -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_ON_OOPS_VALUE=0 -CONFIG_PANIC_TIMEOUT=0 -CONFIG_SCHED_DEBUG=y -CONFIG_SCHED_INFO=y -CONFIG_SCHEDSTATS=y -CONFIG_SCHED_STACK_END_CHECK=y -# CONFIG_DEBUG_TIMEKEEPING is not set - -# -# Lock Debugging (spinlocks, mutexes, etc...) -# -CONFIG_LOCK_DEBUGGING_SUPPORT=y -# CONFIG_PROVE_LOCKING is not set -# CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -CONFIG_LOCK_TORTURE_TEST=m -CONFIG_WW_MUTEX_SELFTEST=m -CONFIG_STACKTRACE=y -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -# CONFIG_DEBUG_KOBJECT is not set -CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_LIST is not set -# CONFIG_DEBUG_PI_LIST is not set -# CONFIG_DEBUG_SG is not set -# CONFIG_DEBUG_NOTIFIERS is not set -# CONFIG_DEBUG_CREDENTIALS is not set - -# -# RCU Debugging -# -CONFIG_TORTURE_TEST=m -# CONFIG_RCU_PERF_TEST is not set -# CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=60 -# CONFIG_RCU_TRACE is not set -# CONFIG_RCU_EQS_DEBUG is not set -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -CONFIG_NOTIFIER_ERROR_INJECTION=m -CONFIG_PM_NOTIFIER_ERROR_INJECT=m -CONFIG_NETDEV_NOTIFIER_ERROR_INJECT=m -CONFIG_FUNCTION_ERROR_INJECTION=y -# CONFIG_FAULT_INJECTION is not set -# CONFIG_LATENCYTOP is not set -CONFIG_USER_STACKTRACE_SUPPORT=y -CONFIG_NOP_TRACER=y -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_FENTRY=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_TRACER_MAX_TRACE=y -CONFIG_TRACE_CLOCK=y -CONFIG_RING_BUFFER=y -CONFIG_EVENT_TRACING=y -CONFIG_CONTEXT_SWITCH_TRACER=y -CONFIG_RING_BUFFER_ALLOW_SWAP=y -CONFIG_TRACING=y -CONFIG_GENERIC_TRACER=y -CONFIG_TRACING_SUPPORT=y -CONFIG_FTRACE=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUNCTION_GRAPH_TRACER=y -# CONFIG_PREEMPTIRQ_EVENTS is not set -# CONFIG_IRQSOFF_TRACER is not set -CONFIG_SCHED_TRACER=y -# CONFIG_HWLAT_TRACER is not set -CONFIG_FTRACE_SYSCALLS=y -CONFIG_TRACER_SNAPSHOT=y -# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set -CONFIG_BRANCH_PROFILE_NONE=y -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set -CONFIG_STACK_TRACER=y -CONFIG_BLK_DEV_IO_TRACE=y -CONFIG_KPROBE_EVENTS=y -# CONFIG_UPROBE_EVENTS is not set -CONFIG_BPF_EVENTS=y -CONFIG_PROBE_EVENTS=y -CONFIG_DYNAMIC_FTRACE=y -CONFIG_DYNAMIC_FTRACE_WITH_REGS=y -CONFIG_FUNCTION_PROFILER=y -# CONFIG_BPF_KPROBE_OVERRIDE is not set -CONFIG_FTRACE_MCOUNT_RECORD=y -# CONFIG_FTRACE_STARTUP_TEST is not set -CONFIG_MMIOTRACE=y -# CONFIG_HIST_TRIGGERS is not set -# CONFIG_MMIOTRACE_TEST is not set -# CONFIG_TRACEPOINT_BENCHMARK is not set -# CONFIG_RING_BUFFER_BENCHMARK is not set -# CONFIG_RING_BUFFER_STARTUP_TEST is not set -# CONFIG_TRACE_EVAL_MAP_FILE is not set -CONFIG_TRACING_EVENTS_GPIO=y -# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set -# CONFIG_DMA_API_DEBUG is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_LKDTM is not set -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_TEST_SORT is not set -# CONFIG_KPROBES_SANITY_TEST is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -CONFIG_RBTREE_TEST=m -CONFIG_INTERVAL_TREE_TEST=m -CONFIG_PERCPU_TEST=m -# CONFIG_ATOMIC64_SELFTEST is not set -CONFIG_ASYNC_RAID6_TEST=m -CONFIG_TEST_HEXDUMP=m -CONFIG_TEST_STRING_HELPERS=m -CONFIG_TEST_KSTRTOX=m -CONFIG_TEST_PRINTF=m -CONFIG_TEST_BITMAP=m -CONFIG_TEST_UUID=m -CONFIG_TEST_OVERFLOW=m -# CONFIG_TEST_RHASHTABLE is not set -CONFIG_TEST_HASH=m -CONFIG_TEST_PARMAN=m -CONFIG_TEST_LKM=m -CONFIG_TEST_USER_COPY=m -CONFIG_TEST_BPF=m -CONFIG_FIND_BIT_BENCHMARK=m -CONFIG_TEST_FIRMWARE=m -# CONFIG_TEST_SYSCTL is not set -CONFIG_TEST_UDELAY=m -CONFIG_TEST_STATIC_KEYS=m -# CONFIG_TEST_KMOD is not set -CONFIG_MEMTEST=y -# CONFIG_BUG_ON_DATA_CORRUPTION is not set -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -CONFIG_KGDB=y -CONFIG_KGDB_SERIAL_CONSOLE=y -# CONFIG_KGDB_TESTS is not set -CONFIG_KGDB_LOW_LEVEL_TRAP=y -CONFIG_KGDB_KDB=y -CONFIG_KDB_DEFAULT_ENABLE=0x1 -CONFIG_KDB_KEYBOARD=y -CONFIG_KDB_CONTINUE_CATASTROPHIC=0 -CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y -# CONFIG_UBSAN is not set -CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y -CONFIG_STRICT_DEVMEM=y -CONFIG_IO_STRICT_DEVMEM=y -CONFIG_EARLY_PRINTK_USB=y -# CONFIG_X86_VERBOSE_BOOTUP is not set -CONFIG_EARLY_PRINTK=y -CONFIG_EARLY_PRINTK_DBGP=y -CONFIG_EARLY_PRINTK_EFI=y -# CONFIG_EARLY_PRINTK_USB_XDBC is not set -# CONFIG_X86_PTDUMP is not set -# CONFIG_EFI_PGT_DUMP is not set -# CONFIG_DEBUG_WX is not set -CONFIG_DOUBLEFAULT=y -# CONFIG_DEBUG_TLBFLUSH is not set -# CONFIG_IOMMU_DEBUG is not set -CONFIG_HAVE_MMIOTRACE_SUPPORT=y -# CONFIG_X86_DECODER_SELFTEST is not set -CONFIG_IO_DELAY_TYPE_0X80=0 -CONFIG_IO_DELAY_TYPE_0XED=1 -CONFIG_IO_DELAY_TYPE_UDELAY=2 -CONFIG_IO_DELAY_TYPE_NONE=3 -# CONFIG_IO_DELAY_0X80 is not set -CONFIG_IO_DELAY_0XED=y -# CONFIG_IO_DELAY_UDELAY is not set -# CONFIG_IO_DELAY_NONE is not set -CONFIG_DEFAULT_IO_DELAY_TYPE=1 -# CONFIG_DEBUG_BOOT_PARAMS is not set -# CONFIG_CPA_DEBUG is not set -CONFIG_OPTIMIZE_INLINING=y -# CONFIG_DEBUG_ENTRY is not set -# CONFIG_DEBUG_NMI_SELFTEST is not set -CONFIG_X86_DEBUG_FPU=y -CONFIG_PUNIT_ATOM_DEBUG=m -# CONFIG_UNWINDER_ORC is not set -CONFIG_UNWINDER_FRAME_POINTER=y -# CONFIG_UNWINDER_GUESS is not set - # # Security options # @@ -9104,6 +8958,7 @@ CONFIG_IMA_DEFAULT_HASH="sha1" # CONFIG_IMA_WRITE_POLICY is not set # CONFIG_IMA_READ_POLICY is not set CONFIG_IMA_APPRAISE=y +# CONFIG_IMA_APPRAISE_BUILD_POLICY is not set CONFIG_IMA_APPRAISE_BOOTPARAM=y CONFIG_IMA_TRUSTED_KEYRING=y CONFIG_IMA_BLACKLIST_KEYRING=y @@ -9348,30 +9203,6 @@ CONFIG_SYSTEM_TRUSTED_KEYS="" # CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set # CONFIG_SECONDARY_TRUSTED_KEYRING is not set # CONFIG_SYSTEM_BLACKLIST_KEYRING is not set -CONFIG_HAVE_KVM=y -CONFIG_HAVE_KVM_IRQCHIP=y -CONFIG_HAVE_KVM_IRQFD=y -CONFIG_HAVE_KVM_IRQ_ROUTING=y -CONFIG_HAVE_KVM_EVENTFD=y -CONFIG_KVM_MMIO=y -CONFIG_KVM_ASYNC_PF=y -CONFIG_HAVE_KVM_MSI=y -CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y -CONFIG_KVM_VFIO=y -CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y -CONFIG_KVM_COMPAT=y -CONFIG_HAVE_KVM_IRQ_BYPASS=y -CONFIG_VIRTUALIZATION=y -CONFIG_KVM=m -CONFIG_KVM_INTEL=m -CONFIG_KVM_AMD=m -CONFIG_KVM_AMD_SEV=y -# CONFIG_KVM_MMU_AUDIT is not set -CONFIG_VHOST_NET=m -CONFIG_VHOST_SCSI=m -CONFIG_VHOST_VSOCK=m -CONFIG_VHOST=m -# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set CONFIG_BINARY_PRINTF=y # @@ -9398,6 +9229,7 @@ CONFIG_CRC32_SLICEBY8=y # CONFIG_CRC32_SLICEBY4 is not set # CONFIG_CRC32_SARWATE is not set # CONFIG_CRC32_BIT is not set +CONFIG_CRC64=m # CONFIG_CRC4 is not set CONFIG_CRC7=m CONFIG_LIBCRC32C=m @@ -9483,3 +9315,277 @@ CONFIG_ARCH_HAS_UACCESS_MCSAFE=y CONFIG_SBITMAP=y CONFIG_PARMAN=m # CONFIG_STRING_SELFTEST is not set + +# +# Kernel hacking +# + +# +# printk and dmesg options +# +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 +CONFIG_CONSOLE_LOGLEVEL_QUIET=4 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 +CONFIG_BOOT_PRINTK_DELAY=y +CONFIG_DYNAMIC_DEBUG=y + +# +# Compile-time checks and compiler options +# +# CONFIG_DEBUG_INFO is not set +# CONFIG_ENABLE_MUST_CHECK is not set +CONFIG_FRAME_WARN=1024 +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_READABLE_ASM is not set +CONFIG_UNUSED_SYMBOLS=y +# CONFIG_PAGE_OWNER is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_SECTION_MISMATCH_WARN_ONLY=y +CONFIG_FRAME_POINTER=y +CONFIG_STACK_VALIDATION=y +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +CONFIG_MAGIC_SYSRQ=y +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 +CONFIG_MAGIC_SYSRQ_SERIAL=y +CONFIG_DEBUG_KERNEL=y + +# +# Memory Debugging +# +# CONFIG_PAGE_EXTENSION is not set +# CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_PAGE_POISONING is not set +# CONFIG_DEBUG_PAGE_REF is not set +# CONFIG_DEBUG_RODATA_TEST is not set +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y +# CONFIG_DEBUG_VIRTUAL is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m +# CONFIG_DEBUG_PER_CPU_MAPS is not set +CONFIG_HAVE_DEBUG_STACKOVERFLOW=y +# CONFIG_DEBUG_STACKOVERFLOW is not set +CONFIG_HAVE_ARCH_KASAN=y +# CONFIG_KASAN is not set +CONFIG_ARCH_HAS_KCOV=y +CONFIG_CC_HAS_SANCOV_TRACE_PC=y +# CONFIG_KCOV is not set +# CONFIG_DEBUG_SHIRQ is not set + +# +# Debug Lockups and Hangs +# +CONFIG_LOCKUP_DETECTOR=y +CONFIG_SOFTLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 +CONFIG_HARDLOCKUP_DETECTOR_PERF=y +CONFIG_HARDLOCKUP_CHECK_TIMESTAMP=y +CONFIG_HARDLOCKUP_DETECTOR=y +# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set +CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0 +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 +# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set +CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 +# CONFIG_WQ_WATCHDOG is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +CONFIG_PANIC_TIMEOUT=0 +CONFIG_SCHED_DEBUG=y +CONFIG_SCHED_INFO=y +CONFIG_SCHEDSTATS=y +CONFIG_SCHED_STACK_END_CHECK=y +# CONFIG_DEBUG_TIMEKEEPING is not set + +# +# Lock Debugging (spinlocks, mutexes, etc...) +# +CONFIG_LOCK_DEBUGGING_SUPPORT=y +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_RWSEMS is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_LOCK_TORTURE_TEST=m +CONFIG_WW_MUTEX_SELFTEST=m +CONFIG_STACKTRACE=y +# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set +# CONFIG_DEBUG_KOBJECT is not set +CONFIG_DEBUG_BUGVERBOSE=y +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set + +# +# RCU Debugging +# +CONFIG_TORTURE_TEST=m +# CONFIG_RCU_PERF_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +# CONFIG_RCU_TRACE is not set +# CONFIG_RCU_EQS_DEBUG is not set +# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set +CONFIG_NOTIFIER_ERROR_INJECTION=m +CONFIG_PM_NOTIFIER_ERROR_INJECT=m +CONFIG_NETDEV_NOTIFIER_ERROR_INJECT=m +CONFIG_FUNCTION_ERROR_INJECTION=y +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_USER_STACKTRACE_SUPPORT=y +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_HAVE_FENTRY=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_TRACER_MAX_TRACE=y +CONFIG_TRACE_CLOCK=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_TRACING=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +# CONFIG_PREEMPTIRQ_EVENTS is not set +# CONFIG_IRQSOFF_TRACER is not set +CONFIG_SCHED_TRACER=y +# CONFIG_HWLAT_TRACER is not set +CONFIG_FTRACE_SYSCALLS=y +CONFIG_TRACER_SNAPSHOT=y +# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +CONFIG_STACK_TRACER=y +CONFIG_BLK_DEV_IO_TRACE=y +CONFIG_KPROBE_EVENTS=y +# CONFIG_KPROBE_EVENTS_ON_NOTRACE is not set +# CONFIG_UPROBE_EVENTS is not set +CONFIG_BPF_EVENTS=y +CONFIG_PROBE_EVENTS=y +CONFIG_DYNAMIC_FTRACE=y +CONFIG_DYNAMIC_FTRACE_WITH_REGS=y +CONFIG_FUNCTION_PROFILER=y +# CONFIG_BPF_KPROBE_OVERRIDE is not set +CONFIG_FTRACE_MCOUNT_RECORD=y +# CONFIG_FTRACE_STARTUP_TEST is not set +CONFIG_MMIOTRACE=y +# CONFIG_HIST_TRIGGERS is not set +# CONFIG_MMIOTRACE_TEST is not set +# CONFIG_TRACEPOINT_BENCHMARK is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set +# CONFIG_PREEMPTIRQ_DELAY_TEST is not set +# CONFIG_TRACE_EVAL_MAP_FILE is not set +CONFIG_TRACING_EVENTS_GPIO=y +# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set +# CONFIG_DMA_API_DEBUG is not set +CONFIG_RUNTIME_TESTING_MENU=y +# CONFIG_LKDTM is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_TEST_SORT is not set +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +CONFIG_RBTREE_TEST=m +CONFIG_INTERVAL_TREE_TEST=m +CONFIG_PERCPU_TEST=m +# CONFIG_ATOMIC64_SELFTEST is not set +CONFIG_ASYNC_RAID6_TEST=m +CONFIG_TEST_HEXDUMP=m +CONFIG_TEST_STRING_HELPERS=m +CONFIG_TEST_KSTRTOX=m +CONFIG_TEST_PRINTF=m +CONFIG_TEST_BITMAP=m +CONFIG_TEST_BITFIELD=m +CONFIG_TEST_UUID=m +CONFIG_TEST_OVERFLOW=m +# CONFIG_TEST_RHASHTABLE is not set +CONFIG_TEST_HASH=m +CONFIG_TEST_IDA=m +CONFIG_TEST_PARMAN=m +CONFIG_TEST_LKM=m +CONFIG_TEST_USER_COPY=m +CONFIG_TEST_BPF=m +CONFIG_FIND_BIT_BENCHMARK=m +CONFIG_TEST_FIRMWARE=m +# CONFIG_TEST_SYSCTL is not set +CONFIG_TEST_UDELAY=m +CONFIG_TEST_STATIC_KEYS=m +# CONFIG_TEST_KMOD is not set +CONFIG_MEMTEST=y +# CONFIG_BUG_ON_DATA_CORRUPTION is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_KGDB=y +CONFIG_KGDB_SERIAL_CONSOLE=y +# CONFIG_KGDB_TESTS is not set +CONFIG_KGDB_LOW_LEVEL_TRAP=y +CONFIG_KGDB_KDB=y +CONFIG_KDB_DEFAULT_ENABLE=0x1 +CONFIG_KDB_KEYBOARD=y +CONFIG_KDB_CONTINUE_CATASTROPHIC=0 +CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y +# CONFIG_UBSAN is not set +CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y +CONFIG_STRICT_DEVMEM=y +CONFIG_IO_STRICT_DEVMEM=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_EARLY_PRINTK_USB=y +# CONFIG_X86_VERBOSE_BOOTUP is not set +CONFIG_EARLY_PRINTK=y +CONFIG_EARLY_PRINTK_DBGP=y +CONFIG_EARLY_PRINTK_EFI=y +# CONFIG_EARLY_PRINTK_USB_XDBC is not set +# CONFIG_X86_PTDUMP is not set +# CONFIG_EFI_PGT_DUMP is not set +# CONFIG_DEBUG_WX is not set +CONFIG_DOUBLEFAULT=y +# CONFIG_DEBUG_TLBFLUSH is not set +# CONFIG_IOMMU_DEBUG is not set +CONFIG_HAVE_MMIOTRACE_SUPPORT=y +# CONFIG_X86_DECODER_SELFTEST is not set +CONFIG_IO_DELAY_TYPE_0X80=0 +CONFIG_IO_DELAY_TYPE_0XED=1 +CONFIG_IO_DELAY_TYPE_UDELAY=2 +CONFIG_IO_DELAY_TYPE_NONE=3 +# CONFIG_IO_DELAY_0X80 is not set +CONFIG_IO_DELAY_0XED=y +# CONFIG_IO_DELAY_UDELAY is not set +# CONFIG_IO_DELAY_NONE is not set +CONFIG_DEFAULT_IO_DELAY_TYPE=1 +# CONFIG_DEBUG_BOOT_PARAMS is not set +# CONFIG_CPA_DEBUG is not set +CONFIG_OPTIMIZE_INLINING=y +# CONFIG_DEBUG_ENTRY is not set +# CONFIG_DEBUG_NMI_SELFTEST is not set +CONFIG_X86_DEBUG_FPU=y +CONFIG_PUNIT_ATOM_DEBUG=m +# CONFIG_UNWINDER_ORC is not set +CONFIG_UNWINDER_FRAME_POINTER=y +# CONFIG_UNWINDER_GUESS is not set diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 52afcbc676..a9d8286702 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2018 Mark H Weaver ;;; Copyright © 2018 Oleg Pykhalov +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ (define-module (gnu packages backup) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix git-download) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system gnu) @@ -132,22 +134,18 @@ spying and/or modification by the server.") (name "par2cmdline") (version "0.8.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/Parchive/par2cmdline/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Parchive/par2cmdline.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1jpshmmcr81mxly0md2rr231qz9c8c680bbvcmhh100dg9i4a6s6")))) + "0f1jsd5sw2wynjzi7yjqjaf13yhyjfdid91p8yh0jn32y03kjyrz")))) (native-inputs `(("automake" ,automake) ("autoconf" ,autoconf))) (build-system gnu-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ (invoke "autoreconf" "-vfi")))))) (synopsis "File verification and repair tools") (description "Par2cmdline uses Reed-Solomon error-correcting codes to generate and verify PAR2 recovery files. These files can be distributed @@ -493,15 +491,14 @@ detection, and lossless compression.") (define-public borg (package (name "borg") - (version "1.1.7") + (version "1.1.8") (source (origin (method url-fetch) (uri (pypi-uri "borgbackup" version)) - (patches (search-patches "borg-respect-storage-quota.patch")) (sha256 (base32 - "1p3zia62vyg9vadkdjzzkzbj4dmgijr7ix5lmhfbxpwy5q9imdgp")) + "0qqvcscn1l4y83x4sh3izdpmr8zq38j8chjkpfq4q4d01i470hqb")) (modules '((guix build utils))) (snippet '(begin @@ -889,6 +886,7 @@ is like a time machine for your data. ") ,version) ;; Disable 'restic self-update'. It makes little sense in Guix. (substitute* "build.go" (("selfupdate") "")) + (setenv "HOME" (getcwd)) ; for $HOME/.cache/go-build (invoke "go" "run" "build.go")))) (replace 'check diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index a6ece07ad9..156399adbb 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -577,7 +577,9 @@ store.") (export make-ld-wrapper) -(define-public glibc/linux +(define-public glibc + ;; This is the GNU C Library, used on GNU/Linux and GNU/Hurd. Prior to + ;; version 2.28, GNU/Hurd used a different glibc branch. (package (name "glibc") ;; Note: Always use a dot after the minor version since various places rely @@ -609,8 +611,13 @@ store.") (build-system gnu-build-system) ;; Glibc's refers to , for instance, so glibc - ;; users should automatically pull Linux headers as well. - (propagated-inputs `(("kernel-headers" ,linux-libre-headers))) + ;; users should automatically pull Linux headers as well. On GNU/Hurd, + ;; libc provides , which includes a bunch of Hurd and Mach headers, + ;; so both should be propagated. + (propagated-inputs + (if (hurd-target?) + `(("hurd-core-headers" ,hurd-core-headers)) + `(("kernel-headers" ,linux-libre-headers)))) (outputs '("out" "debug" "static")) ;9 MiB of .a files @@ -665,7 +672,13 @@ store.") ;; Use our Bash instead of /bin/sh. (string-append "BASH_SHELL=" (assoc-ref %build-inputs "bash") - "/bin/bash")) + "/bin/bash") + + ;; On GNU/Hurd we get discarded-qualifiers warnings for + ;; 'device_write_inband' among other things. Ignore them. + ,@(if (hurd-target?) + '("--disable-werror") + '())) #:tests? #f ; XXX #:phases (modify-phases %standard-phases @@ -770,7 +783,18 @@ store.") (filter linker-script? (map (cut string-append slib "/" <>) files))) - #t)))))) + #t))) + + ,@(if (hurd-target?) + '((add-after 'install 'augment-libc.so + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (substitute* (string-append out "/lib/libc.so") + (("/[^ ]+/lib/libc.so.0.3") + (string-append out "/lib/libc.so.0.3" + " libmachuser.so libhurduser.so")))) + #t))) + '())))) (inputs `(("static-bash" ,static-bash))) @@ -779,7 +803,12 @@ store.") (native-inputs `(("texinfo" ,texinfo) ("perl" ,perl) ("bison" ,bison) - ("gettext" ,gettext-minimal))) + ("gettext" ,gettext-minimal) + + ,@(if (hurd-target?) + `(("mig" ,mig) + ("perl" ,perl)) + '()))) (native-search-paths ;; Search path for packages that provide locale data. This is useful @@ -801,89 +830,6 @@ with the Linux kernel.") (license lgpl2.0+) (home-page "https://www.gnu.org/software/libc/"))) -(define-public glibc/hurd - ;; The Hurd's libc variant. - (package (inherit glibc/linux) - (name "glibc-hurd") - (version "2.23") - (source (origin - (method url-fetch) - (uri (string-append "http://alpha.gnu.org/gnu/hurd/glibc-" - version "-hurd+libpthread-20161218" ".tar.gz")) - (sha256 - (base32 - "0vpdv05j6j3ria5bw8gp468i64gij94cslxkxj9xkfgi6p615b8p")))) - - ;; Libc provides , which includes a bunch of Hurd and Mach headers, - ;; so both should be propagated. - (propagated-inputs `(("hurd-core-headers" ,hurd-core-headers))) - (native-inputs - `(,@(package-native-inputs glibc/linux) - ("mig" ,mig) - ("perl" ,perl))) - - (arguments - (substitute-keyword-arguments (package-arguments glibc/linux) - ((#:phases original-phases) - ;; Add libmachuser.so and libhurduser.so to libc.so's search path. - ;; See . - `(modify-phases ,original-phases - (add-after 'install 'augment-libc.so - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out"))) - (substitute* (string-append out "/lib/libc.so") - (("/[^ ]+/lib/libc.so.0.3") - (string-append out "/lib/libc.so.0.3" " libmachuser.so" " libhurduser.so")))) - #t)) - (add-after 'pre-configure 'pre-configure-set-pwd - (lambda _ - ;; Use the right 'pwd'. - (substitute* "configure" - (("/bin/pwd") "pwd")) - #t)) - (replace 'build - (lambda _ - ;; Force mach/hurd/libpthread subdirs to build first in order to avoid - ;; linking errors. - ;; See - (let ((flags (list "-j" (number->string (parallel-job-count))))) - (define (make target) - (apply invoke "make" target flags)) - (make "mach/subdir_lib") - (make "hurd/subdir_lib") - (make "libpthread/subdir_lib") - (apply invoke "make" flags)))))) - ((#:configure-flags original-configure-flags) - `(append (list "--host=i586-pc-gnu" - - ;; We need this to get a working openpty() function. - "--enable-pt_chown" - - ;; - "--disable-werror" - - ;; nscd fails to build for GNU/Hurd: - ;; . - ;; Disable it. - "--disable-nscd") - (filter (lambda (flag) - (not (string-prefix? "--enable-kernel=" flag))) - ,original-configure-flags))))) - (synopsis "The GNU C Library (GNU Hurd variant)") - (supported-systems %hurd-systems))) - -(define* (glibc-for-target #:optional - (target (or (%current-target-system) - (%current-system)))) - "Return the glibc for TARGET, GLIBC/LINUX for a Linux host or -GLIBC/HURD for a Hurd host" - (match target - ((or "i586-pc-gnu" "i586-gnu") glibc/hurd) - (_ glibc/linux))) - -(define-syntax glibc - (identifier-syntax (glibc-for-target))) - ;; Below are old libc versions, which we use mostly to build locale data in ;; the old format (which the new libc cannot cope with.) @@ -1123,18 +1069,17 @@ command.") (license gpl3+))) ; some files are under GPLv2+ (define-public glibc/hurd-headers - (package (inherit glibc/hurd) + (package (inherit glibc) (name "glibc-hurd-headers") (outputs '("out")) (propagated-inputs `(("gnumach-headers" ,gnumach-headers) ("hurd-headers" ,hurd-headers))) (arguments - (substitute-keyword-arguments (package-arguments glibc/hurd) + (substitute-keyword-arguments (package-arguments glibc) ;; We just pass the flags really needed to build the headers. ((#:configure-flags _) `(list "--enable-add-ons" - "--host=i586-pc-gnu" - "--enable-obsolete-rpc")) + "--host=i586-pc-gnu")) ((#:phases _) '(modify-phases %standard-phases (replace 'install @@ -1149,13 +1094,7 @@ command.") (open-output-file (string-append out "/include/gnu/stubs.h")))) #t)) - (delete 'build) ; nothing to build - (add-before 'configure 'patch-configure-script - (lambda _ - ;; Use the right 'pwd'. - (substitute* "configure" - (("/bin/pwd") "pwd")) - #t)))))))) + (delete 'build))))))) ; nothing to build (define-public tzdata (package diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm index be3662798b..9d792021bd 100644 --- a/gnu/packages/benchmark.scm +++ b/gnu/packages/benchmark.scm @@ -35,14 +35,14 @@ (define-public fio (package (name "fio") - (version "3.7") + (version "3.11") (source (origin (method url-fetch) (uri (string-append "http://brick.kernel.dk/snaps/" - "fio-" version ".tar.gz")) + "fio-" version ".tar.bz2")) (sha256 (base32 - "0rw9jf2ikm19lq4jizavdvvp3vfvlm3annq7jsxl2y5nf1pi2qr7")))) + "0s8m0wcz5j6sa1hblj80wk3syy5b4shg7y3gabvm9xa3wj0lzasa")))) (build-system gnu-build-system) (arguments '(#:test-target "test" diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 1b779855b2..e7f11dead3 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -201,14 +201,14 @@ genomes and gene ID formats, largely based on the UCSC table browser.") (define-public r-hpar (package (name "r-hpar") - (version "1.22.2") + (version "1.24.0") (source (origin (method url-fetch) (uri (bioconductor-uri "hpar" version)) (sha256 (base32 - "1b72hvzasf6q739gmx6jblbzzyq22l7crrkbbfkihv3v7s94g388")))) + "1pm3k8apgynmdzv2d0chca3b636kcai3b1x861fyv1m3xs6msgxn")))) (build-system r-build-system) (home-page "https://bioconductor.org/packages/hpar/") (synopsis "Human Protein Atlas in R") @@ -219,23 +219,24 @@ the Human Protein Atlas project.") (define-public r-regioner (package (name "r-regioner") - (version "1.12.0") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "regioneR" version)) (sha256 (base32 - "09bzlaqdgy7wmzly3zc9y2da50d07mlixlnpaxdxpiwdk8qmhxsb")))) + "19la74swgzxp90z2nr3pzsgkxd7wp70zl6i2ipv3plg841f6k5zd")))) (properties `((upstream-name . "regioneR"))) (build-system r-build-system) (propagated-inputs - `(("r-memoise" ,r-memoise) - ("r-genomicranges" ,r-genomicranges) + `(("r-biostrings" ,r-biostrings) ("r-bsgenome" ,r-bsgenome) - ("r-rtracklayer" ,r-rtracklayer) ("r-genomeinfodb" ,r-genomeinfodb) + ("r-genomicranges" ,r-genomicranges) ("r-iranges" ,r-iranges) + ("r-memoise" ,r-memoise) + ("r-rtracklayer" ,r-rtracklayer) ("r-s4vectors" ,r-s4vectors))) (home-page "https://bioconductor.org/packages/regioneR/") (synopsis "Association analysis of genomic regions") @@ -247,14 +248,14 @@ region sets and other genomic features.") (define-public r-diffbind (package (name "r-diffbind") - (version "2.8.0") + (version "2.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DiffBind" version)) (sha256 (base32 - "1w1hybzd732ccg3q8zhirwfilq8sx3frv1x98zfyj3svzw98fish")))) + "0j8pal40lr1gv8sss96hhkj7l1qn9sy4q4l2kqd4rfwl7qrcnfw5")))) (properties `((upstream-name . "DiffBind"))) (build-system r-build-system) (inputs @@ -292,14 +293,14 @@ occupancy (overlap) analysis and plotting functions.") (define-public r-ripseeker (package (name "r-ripseeker") - (version "1.20.0") + (version "1.22.0") (source (origin (method url-fetch) (uri (bioconductor-uri "RIPSeeker" version)) (sha256 (base32 - "0y9cvzqslfxj3z9mnp47mknff0pky2g5x8x1z1s5yjcx35q89xfi")))) + "1x2n1iyik4s67bxq0fl6fpf602k51g4pxjpjpxkgx1a5fsk61f2i")))) (properties `((upstream-name . "RIPSeeker"))) (build-system r-build-system) (propagated-inputs @@ -325,14 +326,14 @@ processing to visualization and annotation.") (define-public r-multtest (package (name "r-multtest") - (version "2.36.0") + (version "2.38.0") (source (origin (method url-fetch) (uri (bioconductor-uri "multtest" version)) (sha256 (base32 - "11949h2kglw13x8haaj4clg4jim1mwh5n98n9zxp9mmgn01z1lp0")))) + "0lq62jw81hz9k840969n5byj57pwd0jqga3hqvhb6abb3g10yz7k")))) (build-system r-build-system) (propagated-inputs `(("r-survival" ,r-survival) @@ -363,13 +364,13 @@ expressed genes in DNA microarray experiments.") (define-public r-graph (package (name "r-graph") - (version "1.58.0") + (version "1.60.0") (source (origin (method url-fetch) (uri (bioconductor-uri "graph" version)) (sha256 (base32 - "1zx445lk36g1s6i5dbhhf00nzzazyklfjxxjfax6q8hnhvgm9759")))) + "1kgnsm6f0vmb9qbkmmrnvxbwqc0gar17dq5gv1v10hrksw6mh64i")))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics))) @@ -410,18 +411,19 @@ determining dependencies between variables, code improvement suggestions.") (define-public r-chippeakanno (package (name "r-chippeakanno") - (version "3.14.2") + (version "3.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ChIPpeakAnno" version)) (sha256 (base32 - "13rksc65lxxzyw11galh6xzvgzp5ii0gwiwpvrm395v2r17rhwsc")))) + "09fhh1355diip3v3c0skmp1336vclipkm5nv02qvp5902v4262y3")))) (properties `((upstream-name . "ChIPpeakAnno"))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics) + ("r-biocmanager" ,r-biocmanager) ("r-biostrings" ,r-biostrings) ("r-delayedarray" ,r-delayedarray) ("r-go-db" ,r-go-db) @@ -437,7 +439,6 @@ determining dependencies between variables, code improvement suggestions.") ("r-multtest" ,r-multtest) ("r-rbgl" ,r-rbgl) ("r-graph" ,r-graph) - ("r-biocinstaller" ,r-biocinstaller) ("r-regioner" ,r-regioner) ("r-dbi" ,r-dbi) ("r-ensembldb" ,r-ensembldb) @@ -465,12 +466,12 @@ enrichedGO (addGeneIDs).") (define-public r-marray (package (name "r-marray") - (version "1.58.0") + (version "1.60.0") (source (origin (method url-fetch) (uri (bioconductor-uri "marray" version)) (sha256 - (base32 "0539flh3y1qy5b1bamkfwbskis765c5s33v1y9j51n33mxb9h08d")))) + (base32 "1sh7l3c28x6zhdv99c9x05ii2yxmh9alkazp98kdi4fdb23rlzky")))) (build-system r-build-system) (propagated-inputs `(("r-limma" ,r-limma))) @@ -484,12 +485,12 @@ normalization and quality checking.") (define-public r-cghbase (package (name "r-cghbase") - (version "1.40.0") + (version "1.42.0") (source (origin (method url-fetch) (uri (bioconductor-uri "CGHbase" version)) (sha256 - (base32 "1hf44vma3kgwr61kjbszvfxkava8bjqnam1mdncqvczbypb2xwaq")))) + (base32 "0ghxp49xdi09p3f2qwrdrq2p4qjafj4z1rr08ycgbf11gb22h1sc")))) (properties `((upstream-name . "CGHbase"))) (build-system r-build-system) (propagated-inputs @@ -504,12 +505,12 @@ the @code{arrayCGH} packages.") (define-public r-cghcall (package (name "r-cghcall") - (version "2.42.0") + (version "2.44.0") (source (origin (method url-fetch) (uri (bioconductor-uri "CGHcall" version)) (sha256 - (base32 "0y71vfxv9x0am3xvv520yr95cb7m7y92dhdx1vkqki80jrmf12dz")))) + (base32 "1k65kaiqvjyllzbpa2367n6f6kkmsy463kpflzs66hqhx2fshsmi")))) (properties `((upstream-name . "CGHcall"))) (build-system r-build-system) (propagated-inputs @@ -527,12 +528,12 @@ the @code{arrayCGH} packages.") (define-public r-qdnaseq (package (name "r-qdnaseq") - (version "1.16.0") + (version "1.18.0") (source (origin (method url-fetch) (uri (bioconductor-uri "QDNAseq" version)) (sha256 - (base32 "1pj69mfyxwfd0d7h4kls9xq96sdc55y3rv20qpla50hw9libcwwd")))) + (base32 "04ff9nbckzrlb45mr2j0c3mlh1wcggq5bbl81zklhq203c5x1wc2")))) (properties `((upstream-name . "QDNAseq"))) (build-system r-build-system) (propagated-inputs @@ -559,14 +560,14 @@ respectively.") (define-public r-bayseq (package (name "r-bayseq") - (version "2.14.0") + (version "2.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "baySeq" version)) (sha256 (base32 - "0hbmm01a8libara9mbxknpk0wzarwfngnfwlmhpww91a0cmy5klg")))) + "0f6yckihm5cwh3dycv2g54hf7nddhcqya4yrqwbir96y5k1d1km5")))) (properties `((upstream-name . "baySeq"))) (build-system r-build-system) (propagated-inputs @@ -585,14 +586,14 @@ more complex hypotheses) via empirical Bayesian methods.") (define-public r-chipcomp (package (name "r-chipcomp") - (version "1.10.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ChIPComp" version)) (sha256 (base32 - "0j9nif7z33qdxf347r9wa62hhz8qs09r2p96x3hg5yz30a10ahqs")))) + "1sypdsvwzssraanlhddhzpf9p0xs3qlflc0hp7yfbp0aplsifx85")))) (properties `((upstream-name . "ChIPComp"))) (build-system r-build-system) (propagated-inputs @@ -619,14 +620,14 @@ datasets.") (define-public r-riboprofiling (package (name "r-riboprofiling") - (version "1.10.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "RiboProfiling" version)) (sha256 (base32 - "04yjklqdjkim7yxyk3cyvf0mmwyxyfvw2mmfzgwaaqbiyg29sli0")))) + "1njvkd1khmf3rbp3dkz5z63wp79z4wmk4kzd3p3amky3w5by070z")))) (properties `((upstream-name . "RiboProfiling"))) (build-system r-build-system) (propagated-inputs @@ -658,14 +659,14 @@ assessment, principal component analysis on codon coverage.") (define-public r-riboseqr (package (name "r-riboseqr") - (version "1.14.0") + (version "1.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "riboSeqR" version)) (sha256 (base32 - "0xavd1cdhi8qfjn9a1hjhflyg6jq1ydvv56z12gjz572pwz2knvn")))) + "1nacsbsz77fw4a10nqj2ncsf25q3aaa0gd5w1q0ray2prx7qmlqb")))) (properties `((upstream-name . "riboSeqR"))) (build-system r-build-system) (propagated-inputs @@ -686,14 +687,14 @@ parsing of genetic sequencing data from ribosome profiling experiments.") (define-public r-interactionset (package (name "r-interactionset") - (version "1.8.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "InteractionSet" version)) (sha256 (base32 - "0xngraq7ic80jr98i1wqp8bxdgidq6py60m2wfk82n1ixpcdck8n")))) + "0wirfhmpmkmnmhbqslw4bzvi2msqyqpjy1rrwr5qbd9k5rhx3bzb")))) (properties `((upstream-name . "InteractionSet"))) (build-system r-build-system) @@ -718,14 +719,14 @@ experiments.") (define-public r-genomicinteractions (package (name "r-genomicinteractions") - (version "1.14.0") + (version "1.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "GenomicInteractions" version)) (sha256 (base32 - "0cnagprxj0b7p6s29iyhqwxj7hgmrh75gj52y4dlil790d1bmq2q")))) + "0zy5isp2lqpjm0n0n1gly5bs4izn22yciibyqrnlrr60rmn5s67q")))) (properties `((upstream-name . "GenomicInteractions"))) (build-system r-build-system) @@ -757,14 +758,14 @@ information and producing various plots and statistics.") (define-public r-ctc (package (name "r-ctc") - (version "1.54.0") + (version "1.56.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ctc" version)) (sha256 (base32 - "0sadplm4n9n3z6inmn6y3d6qbr4hllljqh700x5fygrnfacnckk9")))) + "0yp7c0abk48jx1wf8n1gawh7dm15idahqc8va24v8cm0bzxgnmh2")))) (build-system r-build-system) (propagated-inputs `(("r-amap" ,r-amap))) (home-page "https://bioconductor.org/packages/ctc/") @@ -777,14 +778,14 @@ trees and clusters to other programs.") (define-public r-goseq (package (name "r-goseq") - (version "1.32.0") + (version "1.34.0") (source (origin (method url-fetch) (uri (bioconductor-uri "goseq" version)) (sha256 (base32 - "0xmbb8ma32lrfy810r82y34gkspq4fqiqxykic9j4rq9rg9n9x2l")))) + "1401x0jn5f8hqc12r3gd1wammp1nxir3is1k5ldd03ln97x00i7a")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -803,14 +804,14 @@ defined categories which are over/under represented in RNA-seq data.") (define-public r-glimma (package (name "r-glimma") - (version "1.8.2") + (version "1.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Glimma" version)) (sha256 (base32 - "0kfia60vrlys6amdchdix01iwbkwyb7nfjqn5hczsxp8rhmbg25s")))) + "0cbsi6g8k1whkh21jxfn22sj7wry2g3rshiracf5nyvrl2fnl947")))) (properties `((upstream-name . "Glimma"))) (build-system r-build-system) (propagated-inputs @@ -830,14 +831,14 @@ information.") (define-public r-rots (package (name "r-rots") - (version "1.8.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ROTS" version)) (sha256 (base32 - "12jvdqanyk86ihpcylp105zip22y0gkbksmyxy00q7iad0jhaqp3")))) + "137c06g5w7mjw3b1mly7b7n9iix4fcy23c7a9ym9iz8dazwhzwn5")))) (properties `((upstream-name . "ROTS"))) (build-system r-build-system) (propagated-inputs @@ -854,14 +855,14 @@ in omics data.") (define-public r-inspect (package (name "r-inspect") - (version "1.10.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "INSPEcT" version)) (sha256 (base32 - "1gk0pwyimkswrvgb2xr3c2zy4myi448a2shr5ap65rq9pcpp0l8p")))) + "0b671x5v2wyq5np2flq2m1fnjz32f303yjlw64a1inwc9k2w2pz2")))) (properties `((upstream-name . "INSPEcT"))) (build-system r-build-system) (propagated-inputs @@ -890,14 +891,14 @@ modeling the rates that determines changes in mature mRNA levels.") (define-public r-dnabarcodes (package (name "r-dnabarcodes") - (version "1.10.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DNABarcodes" version)) (sha256 (base32 - "0xhna7f0kr7pp2hqwara5i57m9mdr65shflfxiyw6yy3g90pgb5x")))) + "0g6j7ish0fk9jcib94wssjgp1m8ldcp42hyyg1ypr945fa3xghx0")))) (properties `((upstream-name . "DNABarcodes"))) (build-system r-build-system) (propagated-inputs @@ -913,3 +914,157 @@ can be analyzed regarding their minimal, maximal and average distances between barcodes. Finally, reads that start with a (possibly mutated) barcode can be demultiplexed, i.e. assigned to their original reference barcode.") (license license:gpl2))) + +(define-public r-ruvseq + (package + (name "r-ruvseq") + (version "1.16.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "RUVSeq" version)) + (sha256 + (base32 + "0xb3bj3n06cb9xddkv77a8svhg4fl1azlfmibwrm9mq9464kgf0m")))) + (properties `((upstream-name . "RUVSeq"))) + (build-system r-build-system) + (propagated-inputs + `(("r-biobase" ,r-biobase) + ("r-edaseq" ,r-edaseq) + ("r-edger" ,r-edger) + ("r-mass" ,r-mass))) + (home-page "https://github.com/drisso/RUVSeq") + (synopsis "Remove unwanted variation from RNA-Seq data") + (description + "This package implements methods to @dfn{remove unwanted variation} (RUV) +of Risso et al. (2014) for the normalization of RNA-Seq read counts between +samples.") + (license license:artistic2.0))) + +(define-public r-biocneighbors + (package + (name "r-biocneighbors") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "BiocNeighbors" version)) + (sha256 + (base32 + "1fsb96acidlxwf0h65xv7fnwdi58ckmq00gmwykrlawh88wgn1ll")))) + (properties `((upstream-name . "BiocNeighbors"))) + (build-system r-build-system) + (propagated-inputs + `(("r-biocparallel" ,r-biocparallel) + ("r-rcpp" ,r-rcpp) + ("r-rcppannoy" ,r-rcppannoy) + ("r-s4vectors" ,r-s4vectors))) + (home-page "https://bioconductor.org/packages/BiocNeighbors") + (synopsis "Nearest Neighbor Detection for Bioconductor packages") + (description + "This package implements exact and approximate methods for nearest +neighbor detection, in a framework that allows them to be easily switched +within Bioconductor packages or workflows. The exact algorithm is implemented +using pre-clustering with the k-means algorithm. Functions are also provided +to search for all neighbors within a given distance. Parallelization is +achieved for all methods using the BiocParallel framework.") + (license license:gpl3))) + +(define-public r-destiny + (package + (name "r-destiny") + (version "2.12.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "destiny" version)) + (sha256 + (base32 + "1iay17mrhsfmpwl920rh1nip5b6ybva4h6bna0yld04paq5yva67")))) + (build-system r-build-system) + (propagated-inputs + `(("r-biobase" ,r-biobase) + ("r-biocgenerics" ,r-biocgenerics) + ("r-fnn" ,r-fnn) + ("r-ggthemes" ,r-ggthemes) + ("r-hmisc" ,r-hmisc) + ("r-igraph" ,r-igraph) + ("r-matrix" ,r-matrix) + ("r-proxy" ,r-proxy) + ("r-rcpp" ,r-rcpp) + ("r-rcppeigen" ,r-rcppeigen) + ("r-scales" ,r-scales) + ("r-scatterplot3d" ,r-scatterplot3d) + ("r-smoother" ,r-smoother) + ("r-summarizedexperiment" ,r-summarizedexperiment) + ("r-vim" ,r-vim))) + (home-page "https://bioconductor.org/packages/destiny/") + (synopsis "Create and plot diffusion maps") + (description "This package provides tools to create and plot diffusion +maps.") + ;; Any version of the GPL + (license license:gpl3+))) + +(define-public r-savr + (package + (name "r-savr") + (version "1.20.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "savR" version)) + (sha256 + (base32 + "13bwq2a2pygdkmhrcmvz525wsi5i01j911711zgs6x93wj20b2w7")))) + (properties `((upstream-name . "savR"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-gridextra" ,r-gridextra) + ("r-reshape2" ,r-reshape2) + ("r-scales" ,r-scales) + ("r-xml" ,r-xml))) + (home-page "https://github.com/bcalder/savR") + (synopsis "Parse and analyze Illumina SAV files") + (description + "This package provides tools to parse Illumina Sequence Analysis +Viewer (SAV) files, access data, and generate QC plots.") + (license license:agpl3+))) + +(define-public r-chipexoqual + (package + (name "r-chipexoqual") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "ChIPexoQual" version)) + (sha256 + (base32 + "1773bpiybn4g9jlv46z29x19q4dpcvn7lairr3lq5pdqbqmz5hnp")))) + (properties `((upstream-name . "ChIPexoQual"))) + (build-system r-build-system) + (propagated-inputs + `(("r-biocparallel" ,r-biocparallel) + ("r-biovizbase" ,r-biovizbase) + ("r-broom" ,r-broom) + ("r-data-table" ,r-data-table) + ("r-dplyr" ,r-dplyr) + ("r-genomeinfodb" ,r-genomeinfodb) + ("r-genomicalignments" ,r-genomicalignments) + ("r-genomicranges" ,r-genomicranges) + ("r-ggplot2" ,r-ggplot2) + ("r-hexbin" ,r-hexbin) + ("r-iranges" ,r-iranges) + ("r-rcolorbrewer" ,r-rcolorbrewer) + ("r-rmarkdown" ,r-rmarkdown) + ("r-rsamtools" ,r-rsamtools) + ("r-s4vectors" ,r-s4vectors) + ("r-scales" ,r-scales) + ("r-viridis" ,r-viridis))) + (home-page "https://github.com/keleslab/ChIPexoQual") + (synopsis "Quality control pipeline for ChIP-exo/nexus data") + (description + "This package provides a quality control pipeline for ChIP-exo/nexus +sequencing data.") + (license license:gpl2+))) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1e04081ceb..e17c53675c 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -262,14 +262,14 @@ instance, it implements several methods to assess contig-wise read coverage.") (name "bamtools") (version "2.5.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/pezmaster31/bamtools/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pezmaster31/bamtools.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1z3kg24qrwq13a88n9d86izngrar4fll7gr6phddb2faw75pdgaa")))) + "0nfb2ypcx9959xnbz6wxh6py3xfizgmg8nrknxl95c507m9hmq8b")))) (build-system cmake-build-system) (arguments `(#:tests? #f ;no "check" target @@ -281,7 +281,8 @@ instance, it implements several methods to assess contig-wise read coverage.") (setenv "LDFLAGS" (string-append "-Wl,-rpath=" - (assoc-ref outputs "out") "/lib/bamtools"))))))) + (assoc-ref outputs "out") "/lib/bamtools")) + #t))))) (inputs `(("zlib" ,zlib))) (home-page "https://github.com/pezmaster31/bamtools") (synopsis "C++ API and command-line toolkit for working with BAM data") @@ -438,11 +439,11 @@ BED, GFF/GTF, VCF.") (source (origin (method url-fetch) (uri (string-append "https://github.com/arq5x/bedtools2/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + "releases/download/v" version + "/bedtools-" version ".tar.gz")) (sha256 (base32 - "05vrnr8yp7swfagshzpgqmzk1blnwnq8pq5pckzi1m26w98d63vf")))) + "11rvca19ncg03kxd0wzlfx5ws7r3nisd0z8s9j9n182d8ksp2pxz")))) (arguments '(#:test-target "test" #:phases @@ -496,7 +497,8 @@ BED, GFF/GTF, VCF.") '("create_annotations_files.bash" "create_metaplots.bash" "Ribotaper_ORF_find.sh" - "Ribotaper.sh")))))))) + "Ribotaper.sh"))) + #t))))) (inputs `(("bedtools" ,bedtools-2.18) ("samtools" ,samtools-0.1) @@ -520,13 +522,14 @@ provides the Ribotaper pipeline.") (version "0.2.2") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ratschlab/RiboDiff/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ratschlab/RiboDiff.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0wpbwmfv05wdjxv7ikm664f7s7p7cqr8jnw99zrda0q67rl50aaj")))) + "0x75nlp7qnmm64jasbi6l21f2cy99r2cjyl6b4hr8zf2bq22drnz")))) (build-system python-build-system) (arguments `(#:python ,python-2 @@ -563,12 +566,14 @@ independently with transcriptional regulation.") (name "bioawk") (version "1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/lh3/bioawk/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1daizxsk17ahi9n58fj8vpgwyhzrzh54bzqhanjanp88kgrz7gjw")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lh3/bioawk.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pxc3zdnirxbf9a0az698hd8xdik7qkhypm7v6hn922x8y9qmspm")))) (build-system gnu-build-system) (inputs `(("zlib" ,zlib))) @@ -582,13 +587,14 @@ independently with transcriptional regulation.") (modify-phases %standard-phases (delete 'configure) ; There is no configure phase. (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (man (string-append out "/share/man/man1"))) - (mkdir-p man) - (copy-file "awk.1" (string-append man "/bioawk.1")) - (install-file "bioawk" bin))))))) + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (man (string-append out "/share/man/man1"))) + (mkdir-p man) + (copy-file "awk.1" (string-append man "/bioawk.1")) + (install-file "bioawk" bin)) + #t))))) (home-page "https://github.com/lh3/bioawk") (synopsis "AWK with bioinformatics extensions") (description "Bioawk is an extension to Brian Kernighan's awk, adding the @@ -688,53 +694,77 @@ Python.") (define-public python-biom-format (package - (name "python-biom-format") - (version "2.1.6") - (source - (origin - (method url-fetch) - ;; Use GitHub as source because PyPI distribution does not contain - ;; test data: https://github.com/biocore/biom-format/issues/693 - (uri (string-append "https://github.com/biocore/biom-format/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08cr7wpahk6zb31h4bs7jmzpvxcqv9s13xz40h6y2h656jvdvnpj")))) - (build-system python-build-system) - (propagated-inputs - `(("python-numpy" ,python-numpy) - ("python-scipy" ,python-scipy) - ("python-future" ,python-future) - ("python-click" ,python-click) - ("python-h5py" ,python-h5py) - ("python-pandas" ,python-pandas))) - (native-inputs - `(("python-nose" ,python-nose))) - (home-page "http://www.biom-format.org") - (synopsis "Biological Observation Matrix (BIOM) format utilities") - (description - "The BIOM file format is designed to be a general-use format for + (name "python-biom-format") + (version "2.1.7") + (source + (origin + (method git-fetch) + ;; Use GitHub as source because PyPI distribution does not contain + ;; test data: https://github.com/biocore/biom-format/issues/693 + (uri (git-reference + (url "https://github.com/biocore/biom-format.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rna16lyk5aqhnv0dp77wwaplias93f1vw28ad3jmyw6hwkai05v")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-cython + (lambda _ (setenv "USE_CYTHON" "1") #t)) + (add-after 'unpack 'disable-broken-test + (lambda _ + (substitute* "biom/tests/test_cli/test_validate_table.py" + (("^(.+)def test_invalid_hdf5" m indent) + (string-append indent + "@npt.dec.skipif(True, msg='Guix')\n" + m))) + #t)) + (add-before 'reset-gzip-timestamps 'make-files-writable + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (file) (chmod file #o644)) + (find-files out "\\.gz")) + #t)))))) + (propagated-inputs + `(("python-numpy" ,python-numpy) + ("python-scipy" ,python-scipy) + ("python-flake8" ,python-flake8) + ("python-future" ,python-future) + ("python-click" ,python-click) + ("python-h5py" ,python-h5py) + ("python-pandas" ,python-pandas))) + (native-inputs + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-nose" ,python-nose))) + (home-page "http://www.biom-format.org") + (synopsis "Biological Observation Matrix (BIOM) format utilities") + (description + "The BIOM file format is designed to be a general-use format for representing counts of observations e.g. operational taxonomic units, KEGG orthology groups or lipid types, in one or more biological samples e.g. microbiome samples, genomes, metagenomes.") - (license license:bsd-3) - (properties `((python2-variant . ,(delay python2-biom-format)))))) + (license license:bsd-3) + (properties `((python2-variant . ,(delay python2-biom-format)))))) (define-public python2-biom-format (let ((base (package-with-python2 (strip-python2-variant python-biom-format)))) (package (inherit base) (arguments - `(#:phases - (modify-phases %standard-phases - ;; Do not require the unmaintained pyqi library. - (add-after 'unpack 'remove-pyqi - (lambda _ - (substitute* "setup.py" - (("install_requires.append\\(\"pyqi\"\\)") "pass")) - #t))) - ,@(package-arguments base)))))) + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + ;; Do not require the unmaintained pyqi library. + (add-after 'unpack 'remove-pyqi + (lambda _ + (substitute* "setup.py" + (("install_requires.append\\(\"pyqi\"\\)") "pass")) + #t))))))))) (define-public bioperl-minimal (let* ((inputs `(("perl-module-build" ,perl-module-build) @@ -1213,7 +1243,7 @@ confidence to have in an alignment.") '(#:tests? #f ;no "check" target #:make-flags (list (string-append "ZLIB=" - (assoc-ref %build-inputs "zlib") + (assoc-ref %build-inputs "zlib:static") "/lib/libz.a") (string-append "LDFLAGS=" (string-join '("-lboost_filesystem" @@ -1256,6 +1286,7 @@ confidence to have in an alignment.") ("boost" ,boost) ("sparsehash" ,sparsehash) ("pigz" ,pigz) + ("zlib:static" ,zlib "static") ("zlib" ,zlib))) (supported-systems '("x86_64-linux")) (home-page "https://sourceforge.net/p/bless-ec/wiki/Home/") @@ -1332,7 +1363,7 @@ gapped, local, and paired-end alignment modes.") (define-public tophat (package (name "tophat") - (version "2.1.0") + (version "2.1.1") (source (origin (method url-fetch) (uri (string-append @@ -1340,13 +1371,12 @@ gapped, local, and paired-end alignment modes.") version ".tar.gz")) (sha256 (base32 - "168zlzykq622zbgkh90a90f1bdgsxkscq2zxzbj8brq80hbjpyp7")) - (patches (search-patches "tophat-build-with-later-seqan.patch")) + "19add02kv2xhd6ihd779dr7x35ggym3jqr0m5c4315i1yfb0p11p")) (modules '((guix build utils))) (snippet '(begin ;; Remove bundled SeqAn and samtools - (delete-file-recursively "src/SeqAn-1.3") + (delete-file-recursively "src/SeqAn-1.4.2") (delete-file-recursively "src/samtools-0.1.18") #t)))) (build-system gnu-build-system) @@ -1383,7 +1413,7 @@ gapped, local, and paired-end alignment modes.") ("python" ,python-2) ("perl" ,perl) ("zlib" ,zlib) - ("seqan" ,seqan))) + ("seqan" ,seqan-1))) (home-page "http://ccb.jhu.edu/software/tophat/index.shtml") (synopsis "Spliced read mapper for RNA-Seq data") (description @@ -1450,13 +1480,14 @@ and more accurate. BWA-MEM also has better performance than BWA-backtrack for (name "bwa-pssm") (version "0.5.11") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/pkerpedjiev/bwa-pssm/" - "archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pkerpedjiev/bwa-pssm.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "02p7mpbs4mlxmn84g2x4ghak638vbj4lqix2ipx5g84pz9bhdavg")))) + "076c4q0cdqz8jgylb067y9zmvxglppnzi3qiscn0xiypgc6lgb5r")))) (build-system gnu-build-system) (inputs `(("gdsl" ,gdsl) @@ -1474,40 +1505,38 @@ the original BWA alignment program and shares the genome index structure as well as many of the command line options.") (license license:gpl3+))) -(define-public python2-bx-python +(define-public python-bx-python (package - (name "python2-bx-python") - (version "0.7.3") + (name "python-bx-python") + (version "0.8.2") (source (origin (method url-fetch) (uri (pypi-uri "bx-python" version)) (sha256 (base32 - "15z2w3bvnc0n4qmb9bd6d8ylc2h2nj883x2w9iixf4x3vki9b22i")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "setup.py" - ;; remove dependency on outdated "distribute" module - (("^from distribute_setup import use_setuptools") "") - (("^use_setuptools\\(\\)") "")) - #t)))) + "11kksg2rbzihpmcid823xvg42xi88m7sz58rzk29abybkxy0rszs")))) (build-system python-build-system) - (arguments - `(#:tests? #f ;tests fail because test data are not included - #:python ,python-2)) + ;; Tests fail because test data are not included + (arguments '(#:tests? #f)) + (propagated-inputs + `(("python-numpy" ,python-numpy) + ("python-six" ,python-six))) (inputs - `(("python-numpy" ,python2-numpy) - ("zlib" ,zlib))) + `(("zlib" ,zlib))) (native-inputs - `(("python-nose" ,python2-nose))) - (home-page "http://bitbucket.org/james_taylor/bx-python/") + `(("python-lzo" ,python-lzo) + ("python-nose" ,python-nose) + ("python-cython" ,python-cython))) + (home-page "https://github.com/bxlab/bx-python") (synopsis "Tools for manipulating biological data") (description "bx-python provides tools for manipulating biological data, particularly multiple sequence alignments.") (license license:expat))) +(define-public python2-bx-python + (package-with-python2 python-bx-python)) + (define-public python-pysam (package (name "python-pysam") @@ -1597,19 +1626,19 @@ also includes an interface for tabix.") (define-public python-twobitreader (package (name "python-twobitreader") - (version "3.1.4") + (version "3.1.6") (source (origin - (method url-fetch) - (uri (pypi-uri "twobitreader" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/benjschiller/twobitreader") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1q8wnj2kga9nz1lwc4w7qv52smfm536hp6mc8w6s53lhyj0mpi22")))) + "1qbxvv1h58cismbk1anpjrkpghsaiy64a11ir3lhy6qch6xf8n62")))) (build-system python-build-system) - (arguments - '(;; Tests are not distributed in the PyPi release. - ;; TODO Try building from the Git repo or asking the upstream maintainer - ;; to distribute the tests on PyPi. - #:tests? #f)) + ;; Tests are not included + (arguments '(#:tests? #f)) (native-inputs `(("python-sphinx" ,python-sphinx))) (home-page "https://github.com/benjschiller/twobitreader") @@ -1786,7 +1815,8 @@ databases.") (copy-recursively "QuarryFiles" (string-append out "/QuarryFiles")) (install-file "CodingQuarry" bin) - (install-file "CufflinksGTF_to_CodingQuarryGFF3.py" bin))))))) + (install-file "CufflinksGTF_to_CodingQuarryGFF3.py" bin)) + #t))))) (inputs `(("openmpi" ,openmpi))) (native-search-paths (list (search-path-specification @@ -1896,31 +1926,18 @@ time.") (define-public crossmap (package (name "crossmap") - (version "0.2.1") + (version "0.2.9") (source (origin (method url-fetch) - (uri (string-append "mirror://sourceforge/crossmap/CrossMap-" - version ".tar.gz")) + (uri (pypi-uri "CrossMap" version)) (sha256 (base32 - "07y179f63d7qnzdvkqcziwk9bs3k4zhp81q392fp1hwszjdvy22f")) - ;; This patch has been sent upstream already and is available - ;; for download from Sourceforge, but it has not been merged. - (patches (search-patches "crossmap-allow-system-pysam.patch")) - (modules '((guix build utils))) - (snippet '(begin - ;; remove bundled copy of pysam - (delete-file-recursively "lib/pysam") - #t)))) + "1byhclrqnqpvc1rqkfh4jwj6yhn0x9y7jk47i0qcjlhk0pjkw92p")))) (build-system python-build-system) - (arguments - `(#:python ,python-2 - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'set-env - (lambda _ (setenv "CROSSMAP_USE_SYSTEM_PYSAM" "1") #t))))) + (arguments `(#:python ,python-2)) (inputs - `(("python-numpy" ,python2-numpy) + `(("python-bx-python" ,python2-bx-python) + ("python-numpy" ,python2-numpy) ("python-pysam" ,python2-pysam) ("zlib" ,zlib))) (native-inputs @@ -1934,22 +1951,46 @@ files between different genome assemblies. It supports most commonly used file formats including SAM/BAM, Wiggle/BigWig, BED, GFF/GTF, VCF.") (license license:gpl2+))) +(define-public python-dnaio + (package + (name "python-dnaio") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dnaio" version)) + (sha256 + (base32 + "0f16m7hdlm0fz1n7y5asy0v9ghyrq17ni1p9iybq22ddzyd49r27")))) + (build-system python-build-system) + (native-inputs + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest) + ("python-xopen" ,python-xopen))) + (home-page "https://github.com/marcelm/dnaio/") + (synopsis "Read FASTA and FASTQ files efficiently") + (description + "dnaio is a Python library for fast parsing of FASTQ and also FASTA +files. The code was previously part of the cutadapt tool.") + (license license:expat))) + (define-public cutadapt (package (name "cutadapt") - (version "1.16") + (version "1.18") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/marcelm/cutadapt.git") (commit (string-append "v" version)))) - (file-name (string-append name "-" version "-checkout")) + (file-name (git-file-name name version)) (sha256 (base32 - "09pr02067jiks19nc0aby4xp70hhgvb554i2y1c04rv1m401w7q8")))) + "08bbfwyc0kvcd95jf2s95xiv9s3cbsxm39ydl0qck3fw3cviwxpg")))) (build-system python-build-system) (inputs - `(("python-xopen" ,python-xopen))) + `(("python-dnaio" ,python-dnaio) + ("python-xopen" ,python-xopen))) (native-inputs `(("python-cython" ,python-cython) ("python-pytest" ,python-pytest))) @@ -2044,15 +2085,15 @@ accessing bigWig files.") (version "4.4.0") (source (origin - (method url-fetch) + (method git-fetch) ;; Source from GitHub so that tests are included. - (uri - (string-append "https://github.com/jeetsukumaran/DendroPy/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (git-reference + (url "https://github.com/jeetsukumaran/DendroPy.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0v2fccny5xjaah546bsch1mw4kh61qq5frz2ibllxs9mp6ih9bsn")))) + "097hfyv2kaf4x92i4rjx0paw2cncxap48qivv8zxng4z7nhid0x9")))) (build-system python-build-system) (home-page "http://packages.python.org/DendroPy/") (synopsis "Library for phylogenetics and phylogenetic computing") @@ -2082,14 +2123,14 @@ trees (phylogenies) and characters.") (define-public python-py2bit (package (name "python-py2bit") - (version "0.2.1") + (version "0.3.0") (source (origin (method url-fetch) (uri (pypi-uri "py2bit" version)) (sha256 (base32 - "1cdf4qlmgwsh1f4k0wdv2sr8x9qn4366p0k3614vbd0fpqiarxrl")))) + "1vw2nvw1yrl7ikkqsqs1pg239yr5nspvd969r1x9arms1k25a1a5")))) (build-system python-build-system) (home-page "https://github.com/dpryan79/py2bit") (synopsis "Access 2bit files using lib2bit") @@ -2101,7 +2142,7 @@ with Python.") (define-public deeptools (package (name "deeptools") - (version "3.1.2") + (version "3.1.3") (source (origin (method git-fetch) (uri (git-reference @@ -2110,7 +2151,7 @@ with Python.") (file-name (git-file-name name version)) (sha256 (base32 - "06fdpp6cg3xiwryxjhixvfysl4z0ps1crjgia587qa9ikqpsa7fd")))) + "1vggnf52g6q2vifdl4cyi7s2fnfqq0ky2zrkj5zv2qfzsc3p3siw")))) (build-system python-build-system) (arguments `(#:phases @@ -2146,42 +2187,42 @@ identify enrichments with functional annotations of the genome.") (define-public delly (package (name "delly") - (version "0.7.7") + (version "0.7.9") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/tobiasrausch/delly/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dellytools/delly.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0dkwy3pyxmi6dhh1lpsr3698ri5sslw9qz67hfys0bz8dgrqwabj")) - (patches (search-patches "delly-use-system-libraries.patch")))) + (base32 "034jqsxswy9gqdh2zkgc1js99qkv75ks4xvzgmh0284sraagv61z")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "src/htslib") + #t)))) (build-system gnu-build-system) (arguments `(#:tests? #f ; There are no tests to run. - #:make-flags '("PARALLEL=1") ; Allow parallel execution at run-time. + #:make-flags + (list "PARALLEL=1" ; Allow parallel execution at run-time. + (string-append "prefix=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure) ; There is no configure phase. - (replace 'install - (lambda _ - (let ((bin (string-append (assoc-ref %outputs "out") "/bin")) - (templates (string-append (assoc-ref %outputs "out") + (add-after 'install 'install-templates + (lambda* (#:key outputs #:allow-other-keys) + (let ((templates (string-append (assoc-ref outputs "out") "/share/delly/templates"))) - (mkdir-p bin) (mkdir-p templates) (copy-recursively "excludeTemplates" templates) - (install-file "src/cov" bin) - (install-file "src/delly" bin) - (install-file "src/dpe" bin))))))) - (native-inputs - `(("python" ,python-2))) + #t)))))) (inputs `(("boost" ,boost) ("htslib" ,htslib) ("zlib" ,zlib) ("bzip2" ,bzip2))) - (home-page "https://github.com/tobiasrausch/delly") + (home-page "https://github.com/dellytools/delly") (synopsis "Integrated structural variant prediction method") (description "Delly is an integrated structural variant prediction method that can discover and genotype deletions, tandem duplications, inversions and @@ -2195,14 +2236,14 @@ accurately delineate genomic rearrangements throughout the genome.") (name "diamond") (version "0.9.22") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/bbuchfink/diamond/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/bbuchfink/diamond.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0adp87r9ak63frdrdmrdfhsn6g0jnnyq1lr2wibvqbxcl37iir9m")))) + "0bky78v79g3wmdpsd706cscckgw1v09fg8vdd0z8z0d5b97aj9zl")))) (build-system cmake-build-system) (arguments '(#:tests? #f ; no "check" target @@ -2230,13 +2271,14 @@ data and settings.") (version "1.6.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/maaskola/discrover/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/maaskola/discrover.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0rah9ja4m0rl5mldd6vag9rwrivw1zrqxssfq8qx64m7961fp68k")))) + "173fwi2vb6a5kp406hm3jj6j7v4whww796f2qcygp4rpvamh307y")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; there are no tests @@ -2264,106 +2306,102 @@ of nucleic acid binding proteins.") (license license:gpl3+))) (define-public eigensoft - (let ((revision "1") - (commit "b14d1e202e21e532536ff8004f0419cd5e259dc7")) - (package - (name "eigensoft") - (version (string-append "6.1.2-" - revision "." - (string-take commit 9))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/DReichLab/EIG.git") - (commit commit))) - (file-name (string-append "eigensoft-" commit "-checkout")) - (sha256 - (base32 - "0f5m6k2j5c16xc3xbywcs989xyc26ncy1zfzp9j9n55n9r4xcaiq")) - (modules '((guix build utils))) - ;; Remove pre-built binaries. - (snippet '(begin - (delete-file-recursively "bin") - (mkdir "bin") - #t)))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; There are no tests. - #:make-flags '("CC=gcc") - #:phases - (modify-phases %standard-phases - ;; There is no configure phase, but the Makefile is in a - ;; sub-directory. - (replace 'configure - (lambda _ - (chdir "src") - ;; The link flags are incomplete. - (substitute* "Makefile" - (("-lgsl") "-lgsl -lm -llapack -llapacke -lpthread")) - #t)) - ;; The provided install target only copies executables to - ;; the "bin" directory in the build root. - (add-after 'install 'actually-install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (for-each (lambda (file) - (install-file file bin)) - (find-files "../bin" ".*")) - #t)))))) - (inputs - `(("gsl" ,gsl) - ("lapack" ,lapack) - ("openblas" ,openblas) - ("perl" ,perl) - ("gfortran" ,gfortran "lib"))) - (home-page "https://github.com/DReichLab/EIG") - (synopsis "Tools for population genetics") - (description "The EIGENSOFT package provides tools for population + (package + (name "eigensoft") + (version "7.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DReichLab/EIG.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1c141fqvhnzibmnf22sv23vbmzm20kjjyrib44cfh75wyndp2d9k")) + (modules '((guix build utils))) + ;; Remove pre-built binaries. + (snippet '(begin + (delete-file-recursively "bin") + (mkdir "bin") + #t)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:make-flags '("CC=gcc") + #:phases + (modify-phases %standard-phases + ;; There is no configure phase, but the Makefile is in a + ;; sub-directory. + (replace 'configure + (lambda _ (chdir "src") #t)) + ;; The provided install target only copies executables to + ;; the "bin" directory in the build root. + (add-after 'install 'actually-install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (for-each (lambda (file) + (install-file file bin)) + (find-files "../bin" ".*")) + #t)))))) + (inputs + `(("gsl" ,gsl) + ("lapack" ,lapack) + ("openblas" ,openblas) + ("perl" ,perl) + ("gfortran" ,gfortran "lib"))) + (home-page "https://github.com/DReichLab/EIG") + (synopsis "Tools for population genetics") + (description "The EIGENSOFT package provides tools for population genetics and stratification correction. EIGENSOFT implements methods commonly used in population genetics analyses such as PCA, computation of Tracy-Widom statistics, and finding related individuals in structured populations. It comes with a built-in plotting script and supports multiple file formats and quantitative phenotypes.") - ;; The license of the eigensoft tools is Expat, but since it's - ;; linking with the GNU Scientific Library (GSL) the effective - ;; license is the GPL. - (license license:gpl3+)))) + ;; The license of the eigensoft tools is Expat, but since it's + ;; linking with the GNU Scientific Library (GSL) the effective + ;; license is the GPL. + (license license:gpl3+))) (define-public edirect (package (name "edirect") - (version "4.10") + (version "10.2.20181018") (source (origin (method url-fetch) - (uri (string-append "ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/" - "versions/2016-05-03/edirect.tar.gz")) + (uri (string-append "ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect" + "/versions/" version + "/edirect-" version ".tar.gz")) (sha256 (base32 - "15zsprak5yh8c1yrz4r1knmb5s8qcmdid4xdhkh3lqcv64l60hli")))) + "091f4aigzpbqih6h82nq566gkp3y07i72yqndmqskfgar1vwgci7")))) (build-system perl-build-system) (arguments - `(#:tests? #f ;no "check" target - #:phases + `(#:phases (modify-phases %standard-phases (delete 'configure) (delete 'build) + (delete 'check) ; simple check after install (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((target (string-append (assoc-ref outputs "out") - "/bin"))) - (mkdir-p target) - (install-file "edirect.pl" target) - #t))) - (add-after - 'install 'wrap-program - (lambda* (#:key inputs outputs #:allow-other-keys) - ;; Make sure 'edirect.pl' finds all perl inputs at runtime. - (let* ((out (assoc-ref outputs "out")) - (path (getenv "PERL5LIB"))) - (wrap-program (string-append out "/bin/edirect.pl") - `("PERL5LIB" ":" prefix (,path))))))))) + (lambda* (#:key outputs #:allow-other-keys) + (install-file "edirect.pl" + (string-append (assoc-ref outputs "out") "/bin")) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + ;; Make sure 'edirect.pl' finds all perl inputs at runtime. + (let* ((out (assoc-ref outputs "out")) + (path (getenv "PERL5LIB"))) + (wrap-program (string-append out "/bin/edirect.pl") + `("PERL5LIB" ":" prefix (,path)))) + #t)) + (add-after 'wrap-program 'check + (lambda* (#:key outputs #:allow-other-keys) + (invoke (string-append (assoc-ref outputs "out") + "/bin/edirect.pl") + "-filter" "-help") + #t))))) (inputs `(("perl-html-parser" ,perl-html-parser) ("perl-encode-locale" ,perl-encode-locale) @@ -2379,6 +2417,7 @@ quantitative phenotypes.") ("perl-net-http" ,perl-net-http) ("perl-uri" ,perl-uri) ("perl-www-robotrules" ,perl-www-robotrules) + ("perl-xml-simple" ,perl-xml-simple) ("perl" ,perl))) (home-page "http://www.ncbi.nlm.nih.gov/books/NBK179288/") (synopsis "Tools for accessing the NCBI's set of databases") @@ -2474,17 +2513,16 @@ ChIP-Seq, and analysis of metagenomic data.") (define-public express-beta-diversity (package (name "express-beta-diversity") - (version "1.0.7") + (version "1.0.8") (source (origin - (method url-fetch) - (uri - (string-append - "https://github.com/dparks1134/ExpressBetaDiversity/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dparks1134/ExpressBetaDiversity.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1djvdlmqvjf6h0zq7w36y8cl5cli6rgj86x65znl48agnwmzxfxr")))) + "0s0yzg5c21349rh7x4w9266jsvnp7j1hp9cf8sk32hz8nvrj745x")))) (build-system gnu-build-system) (arguments `(#:phases @@ -2492,17 +2530,13 @@ ChIP-Seq, and analysis of metagenomic data.") (delete 'configure) (add-before 'build 'enter-source (lambda _ (chdir "source") #t)) (replace 'check - (lambda _ (zero? (system* "../bin/ExpressBetaDiversity" - "-u")))) - (add-after 'check 'exit-source (lambda _ (chdir "..") #t)) + (lambda _ (invoke "../bin/ExpressBetaDiversity" "-u") #t)) (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") - "/bin"))) - (mkdir-p bin) - (install-file "scripts/convertToEBD.py" bin) - (install-file "bin/ExpressBetaDiversity" bin) - #t)))))) + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) + (install-file "../scripts/convertToEBD.py" bin) + (install-file "../bin/ExpressBetaDiversity" bin) + #t)))))) (inputs `(("python" ,python-2))) (home-page "http://kiwi.cs.dal.ca/Software/ExpressBetaDiversity") @@ -2535,31 +2569,30 @@ similarity of community members.") (delete 'configure) (replace 'build (lambda* (#:key source #:allow-other-keys) - (and (zero? (system* "gcc" - "-O3" - "-finline-functions" - "-funroll-loops" - "-Wall" - "-o" - "FastTree" - source - "-lm")) - (zero? (system* "gcc" - "-DOPENMP" - "-fopenmp" - "-O3" - "-finline-functions" - "-funroll-loops" - "-Wall" - "-o" - "FastTreeMP" - source - "-lm"))))) + (invoke "gcc" + "-O3" + "-finline-functions" + "-funroll-loops" + "-Wall" + "-o" + "FastTree" + source + "-lm") + (invoke "gcc" + "-DOPENMP" + "-fopenmp" + "-O3" + "-finline-functions" + "-funroll-loops" + "-Wall" + "-o" + "FastTreeMP" + source + "-lm") + #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") - "/bin"))) - (mkdir-p bin) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) (install-file "FastTree" bin) (install-file "FastTreeMP" bin) #t)))))) @@ -2606,38 +2639,39 @@ results. The FASTX-Toolkit tools perform some of these preprocessing tasks.") (define-public flexbar (package (name "flexbar") - (version "2.5") + (version "3.4.0") (source (origin - (method url-fetch) - (uri - (string-append "mirror://sourceforge/flexbar/" - version "/flexbar_v" version "_src.tgz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/seqan/flexbar.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "13jaykc3y1x8y5nn9j8ljnb79s5y51kyxz46hdmvvjj6qhyympmf")))) + "1pq9sxvdnldl14libk234m72dqhwgzs3acgl943wchwdqlcsi5r2")))) (build-system cmake-build-system) (arguments - `(#:configure-flags (list - (string-append "-DFLEXBAR_BINARY_DIR=" - (assoc-ref %outputs "out") - "/bin/")) - #:phases + `(#:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key outputs #:allow-other-keys) - (setenv "PATH" (string-append - (assoc-ref outputs "out") "/bin:" - (getenv "PATH"))) - (chdir "../flexbar_v2.5_src/test") - (zero? (system* "bash" "flexbar_validate.sh")))) - (delete 'install)))) + (setenv "PATH" (string-append (getcwd) ":" (getenv "PATH"))) + (with-directory-excursion "../source/test" + (invoke "bash" "flexbar_test.sh")) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (string-append (assoc-ref outputs "out"))) + (bin (string-append out "/bin/"))) + (install-file "flexbar" bin)) + #t))))) (inputs `(("tbb" ,tbb) ("zlib" ,zlib))) (native-inputs `(("pkg-config" ,pkg-config) ("seqan" ,seqan))) - (home-page "http://flexbar.sourceforge.net") + (home-page "https://github.com/seqan/flexbar") (synopsis "Barcode and adapter removal tool for sequencing platforms") (description "Flexbar preprocesses high-throughput nucleotide sequencing data @@ -2646,7 +2680,7 @@ Moreover, trimming and filtering features are provided. Flexbar increases read mapping rates and improves genome and transcriptome assemblies. It supports next-generation sequencing data in fasta/q and csfasta/q format from Illumina, Roche 454, and the SOLiD platform.") - (license license:gpl3))) + (license license:bsd-3))) (define-public fraggenescan (package @@ -2687,8 +2721,10 @@ Illumina, Roche 454, and the SOLiD platform.") (string-append " strcpy(train_dir, \"" share "/train/\");")))) #t)) (replace 'build - (lambda _ (and (zero? (system* "make" "clean")) - (zero? (system* "make" "fgs"))))) + (lambda _ + (invoke "make" "clean") + (invoke "make" "fgs") + #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (string-append (assoc-ref outputs "out"))) @@ -2696,7 +2732,8 @@ Illumina, Roche 454, and the SOLiD platform.") (share (string-append out "/share/fraggenescan/train"))) (install-file "run_FragGeneScan.pl" bin) (install-file "FragGeneScan" bin) - (copy-recursively "train" share)))) + (copy-recursively "train" share)) + #t)) (delete 'check) (add-after 'install 'post-install-check ;; In lieu of 'make check', run one of the examples and check the @@ -2705,21 +2742,24 @@ Illumina, Roche 454, and the SOLiD platform.") (let* ((out (string-append (assoc-ref outputs "out"))) (bin (string-append out "/bin/")) (frag (string-append bin "run_FragGeneScan.pl"))) - (and (zero? (system* frag ; Test complete genome. - "-genome=./example/NC_000913.fna" - "-out=./test2" - "-complete=1" - "-train=complete")) - (file-exists? "test2.faa") - (file-exists? "test2.ffn") - (file-exists? "test2.gff") - (file-exists? "test2.out") - (zero? (system* ; Test incomplete sequences. - frag - "-genome=./example/NC_000913-fgs.ffn" - "-out=out" - "-complete=0" - "-train=454_30"))))))))) + ;; Test complete genome. + (invoke frag + "-genome=./example/NC_000913.fna" + "-out=./test2" + "-complete=1" + "-train=complete") + (unless (and (file-exists? "test2.faa") + (file-exists? "test2.ffn") + (file-exists? "test2.gff") + (file-exists? "test2.out")) + (error "Expected files do not exist.")) + ;; Test incomplete sequences. + (invoke frag + "-genome=./example/NC_000913-fgs.ffn" + "-out=out" + "-complete=0" + "-train=454_30") + #t)))))) (inputs `(("perl" ,perl) ("python" ,python-2))) ;not compatible with python 3. @@ -2739,16 +2779,14 @@ genes in incomplete assemblies or complete genomes.") (version "2.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/ctSkennerton/fxtract/archive/" - version ".tar.gz")) - (file-name (string-append "ctstennerton-util-" - (string-take util-commit 7) - "-checkout")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ctSkennerton/fxtract.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0275cfdhis8517hm01is62062swmi06fxzifq7mr3knbbxjlaiwj")))) + "0hab3gpwf4w9s87qlbswq6ws1qqybh4dcqk79q1ahyldzai5fgp5")))) (build-system gnu-build-system) (arguments `(#:make-flags (list @@ -2802,19 +2840,22 @@ comment or quality sections.") (define-public gemma (package (name "gemma") - (version "0.96") + (version "0.98") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/xiangzhou/GEMMA/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/xiangzhou/GEMMA.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "055ynn16gd12pf78n4vr2a9jlwsbwzajpdnf2y2yilg1krfff222")) - (patches (search-patches "gemma-intel-compat.patch")))) + "1s3ncnbn45r2hh1cvrqky1kbqq6546biypr4f5mkw1kqlrgyh0yg")))) (inputs - `(("gsl" ,gsl) + `(("eigen" ,eigen) + ("gfortran" ,gfortran "lib") + ("gsl" ,gsl) ("lapack" ,lapack) + ("openblas" ,openblas) ("zlib" ,zlib))) (build-system gnu-build-system) (arguments @@ -2829,6 +2870,15 @@ comment or quality sections.") #:phases (modify-phases %standard-phases (delete 'configure) + (add-after 'unpack 'find-eigen + (lambda* (#:key inputs #:allow-other-keys) + ;; Ensure that Eigen headers can be found + (setenv "CPLUS_INCLUDE_PATH" + (string-append (getenv "CPLUS_INCLUDE_PATH") + ":" + (assoc-ref inputs "eigen") + "/include/eigen3")) + #t)) (add-before 'build 'bin-mkdir (lambda _ (mkdir-p "bin") @@ -2852,16 +2902,16 @@ association studies (GWAS).") (define-public grit (package (name "grit") - (version "2.0.2") + (version "2.0.5") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/nboley/grit/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/nboley/grit.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "157in84dj70wimbind3x7sy1whs3h57qfgcnj2s6lrd38fbrb7mj")))) + "1l5v8vfvfbrpmgnrvbrbv40d0arhxcnmxgv2f1mlcqfa3q6bkqm9")))) (build-system python-build-system) (arguments `(#:python ,python-2 @@ -2873,13 +2923,7 @@ association studies (GWAS).") (delete-file "grit/sparsify_support_fns.c") (delete-file "grit/call_peaks_support_fns.c") (substitute* "setup.py" - (("Cython.Setup") "Cython.Build") - ;; Add numpy include path to fix compilation - (("pyx\", \\]") - (string-append "pyx\", ], include_dirs = ['" - (assoc-ref inputs "python-numpy") - "/lib/python2.7/site-packages/numpy/core/include/" - "']"))) + (("Cython.Setup") "Cython.Build")) #t))))) (inputs `(("python-scipy" ,python2-scipy) @@ -2973,16 +3017,11 @@ particular, reads spanning multiple exons.") (source (origin (method url-fetch) - ;; FIXME: a better source URL is - ;; (string-append "ftp://ftp.ccb.jhu.edu/pub/infphilo/hisat2" - ;; "/downloads/hisat2-" version "-source.zip") - ;; with hash "0lywnr8kijwsc2aw10dwxic0n0yvip6fl3rjlvc8zzwahamy4x7g" - ;; but it is currently unavailable. - (uri "https://github.com/infphilo/hisat2/archive/cba6e8cb.tar.gz") - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "ftp://ftp.ccb.jhu.edu/pub/infphilo/hisat2" + "/downloads/hisat2-" version "-source.zip")) (sha256 (base32 - "1mf2hdsyv7cd97xm9mp9a4qws02yrj95y6w6f6cdwnq0klp81r50")))) + "0lywnr8kijwsc2aw10dwxic0n0yvip6fl3rjlvc8zzwahamy4x7g")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target @@ -3089,14 +3128,14 @@ from high-throughput sequencing assays.") (name "java-htsjdk") (version "2.3.0") ; last version without build dependency on gradle (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/samtools/htsjdk/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/samtools/htsjdk.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1ibhzzxsfc38nqyk9r8zqj6blfc1kh26iirypd4q6n90hs2m6nyq")) + "1b178ixcabanm834ydjl3jiakpyxdmki32hqfv2abrzn3rcwa28i")) (modules '((guix build utils))) (snippet ;; Delete pre-built binaries @@ -3443,26 +3482,28 @@ VCF.") (lambda* (#:key inputs #:allow-other-keys) (mkdir-p "lib/jni") (mkdir-p "jdk-src") - (and (zero? (system* "tar" "--strip-components=1" "-C" "jdk-src" - "-xf" (assoc-ref inputs "jdk-src"))) - (zero? (system* "javah" "-jni" - "-classpath" "classes" - "-d" "lib/" - "net.sf.samtools.util.zip.IntelDeflater")) - (with-directory-excursion "src/c/inteldeflater" - (zero? (system* "gcc" "-I../../../lib" "-I." - (string-append "-I" (assoc-ref inputs "jdk") - "/include/linux") - "-I../../../jdk-src/src/share/native/common/" - "-I../../../jdk-src/src/solaris/native/common/" - "-c" "-O3" "-fPIC" "IntelDeflater.c")) - (zero? (system* "gcc" "-shared" - "-o" "../../../lib/jni/libIntelDeflater.so" - "IntelDeflater.o" "-lz" "-lstdc++")))))) + (invoke "tar" "--strip-components=1" "-C" "jdk-src" + "-xf" (assoc-ref inputs "jdk-src")) + (invoke "javah" "-jni" + "-classpath" "classes" + "-d" "lib/" + "net.sf.samtools.util.zip.IntelDeflater") + (with-directory-excursion "src/c/inteldeflater" + (invoke "gcc" "-I../../../lib" "-I." + (string-append "-I" (assoc-ref inputs "jdk") + "/include/linux") + "-I../../../jdk-src/src/share/native/common/" + "-I../../../jdk-src/src/solaris/native/common/" + "-c" "-O3" "-fPIC" "IntelDeflater.c") + (invoke "gcc" "-shared" + "-o" "../../../lib/jni/libIntelDeflater.so" + "IntelDeflater.o" "-lz" "-lstdc++")) + #t)) ;; We can only build everything else after building the JNI library. (add-after 'build-jni 'build-rest (lambda* (#:key make-flags #:allow-other-keys) - (zero? (apply system* `("ant" "all" ,@make-flags))))) + (apply invoke `("ant" "all" ,@make-flags)) + #t)) (add-before 'build 'set-JAVA6_HOME (lambda _ (setenv "JAVA6_HOME" (getenv "JAVA_HOME")) @@ -3653,14 +3694,14 @@ data. It also provides the @command{bgzip}, @command{htsfile}, and (name "idr") (version "2.0.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/nboley/idr/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/nboley/idr.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1rjdly6daslw66r43g9md8znizlscn1sphycqyldzsidkc4vxqv3")) + "04j876h6z444v2q79drxx283d3k5snd72kj895wbalnl42206x9g")) ;; Delete generated C code. (snippet '(begin (delete-file "idr/inv_cdf.c") #t)))) @@ -3741,75 +3782,48 @@ command, or queried for specific k-mers with @code{jellyfish query}.") (define-public khmer (package (name "khmer") - (version "2.0") + (version "2.1.2") (source (origin - (method url-fetch) - (uri (pypi-uri "khmer" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dib-lab/khmer.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0wb05shqh77v00256qlm68vbbx3kl76fyzihszbz5nhanl4ni33a")) - (patches (search-patches "khmer-use-libraries.patch")))) + "02x38d9jw2r58y8dmnj4hffy9wxv1yc1jwbvdbhby9dxndv94r9m")) + (patches (search-patches "khmer-use-libraries.patch")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete bundled libraries. We do not replace the bundled seqan + ;; as it is a modified subset of the old version 1.4.1. + ;; + ;; We do not replace the bundled MurmurHash as the canonical + ;; repository for this code 'SMHasher' is unsuitable for providing + ;; a library. See + ;; https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00977.html + (delete-file-recursively "third-party/zlib") + (delete-file-recursively "third-party/bzip2") + #t)))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'set-paths - (lambda* (#:key inputs outputs #:allow-other-keys) - ;; Delete bundled libraries. - (delete-file-recursively "third-party/zlib") - (delete-file-recursively "third-party/bzip2") - ;; Replace bundled seqan. - (let* ((seqan-all "third-party/seqan") - (seqan-include (string-append - seqan-all "/core/include"))) - (delete-file-recursively seqan-all) - (copy-recursively (string-append (assoc-ref inputs "seqan") - "/include/seqan") - (string-append seqan-include "/seqan"))) - ;; We do not replace the bundled MurmurHash as the canonical - ;; repository for this code 'SMHasher' is unsuitable for - ;; providing a library. See - ;; https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00977.html - #t)) (add-after 'unpack 'set-cc - (lambda _ - (setenv "CC" "gcc") - #t)) - ;; It is simpler to test after installation. - (delete 'check) - (add-after 'install 'post-install-check - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (setenv "PATH" - (string-append - (getenv "PATH") - ":" - (assoc-ref outputs "out") - "/bin")) - (setenv "PYTHONPATH" - (string-append - (getenv "PYTHONPATH") - ":" - out - "/lib/python" - (string-take (string-take-right - (assoc-ref inputs "python") 5) 3) - "/site-packages")) - (with-directory-excursion "build" - (zero? (system* "nosetests" "khmer" "--attr" - "!known_failing"))))))))) + (lambda _ (setenv "CC" "gcc") #t)) + ;; FIXME: This fails with "permission denied". + (delete 'reset-gzip-timestamps)))) (native-inputs - `(("seqan" ,seqan) - ("python-nose" ,python-nose))) + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) (inputs `(("zlib" ,zlib) ("bzip2" ,bzip2) ("python-screed" ,python-screed) - ("python-bz2file" ,python-bz2file) - ;; Tests fail when gcc-5 is used for compilation. Use gcc-4.9 at least - ;; until the next version of khmer (likely 2.1) is released. - ("gcc" ,gcc-4.9))) + ("python-bz2file" ,python-bz2file))) (home-page "https://khmer.readthedocs.org/") (synopsis "K-mer counting, filtering and graph traversal library") (description "The khmer software is a set of command-line tools for @@ -3825,16 +3839,16 @@ data.") (define-public kaiju (package (name "kaiju") - (version "1.6.2") + (version "1.6.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/bioinformatics-centre/kaiju/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/bioinformatics-centre/kaiju") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1kdn4rxs0kr9ibmrgrfcci71aa6j6gr71dbc8pff7731rpab6kj7")))) + "119pzi0ddzv9mjg4wwa6han0cwr3k3ssn7kirvsjfcq05mi5ka0x")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; There are no tests. @@ -3848,8 +3862,7 @@ data.") (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) (mkdir-p bin) (chdir "..") - (copy-recursively "bin" bin) - (copy-recursively "util" bin)) + (copy-recursively "bin" bin)) #t))))) (inputs `(("perl" ,perl) @@ -3977,16 +3990,16 @@ sequences).") (define-public mash (package (name "mash") - (version "2.0") + (version "2.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/marbl/mash/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/marbl/mash.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "00fx14vpmgsijwxd1xql3if934l82v8ckqgjjyyhnr36qb9qrskv")) + "049hwcc059p2fd9vwndn63laifvvsi0wmv84i6y1fr79k15dxwy6")) (modules '((guix build utils))) (snippet '(begin @@ -4012,8 +4025,14 @@ sequences).") (("^#include \"kseq\\.h\"") "#include \"htslib/kseq.h\"")) #t)) - (add-after 'fix-includes 'autoconf - (lambda _ (zero? (system* "autoconf"))))))) + (add-after 'fix-includes 'use-c++14 + (lambda _ + ;; capnproto 0.7 requires c++14 to build + (substitute* "configure.ac" + (("c\\+\\+11") "c++14")) + (substitute* "Makefile.in" + (("c\\+\\+11") "c++14")) + #t))))) (native-inputs `(("autoconf" ,autoconf) ;; Capnproto and htslib are statically embedded in the final @@ -4040,13 +4059,14 @@ form of assemblies or reads.") (version "2.12.1") (source (origin - (method url-fetch) - (uri (string-append "https://bitbucket.org/berkeleylab/metabat/get/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://bitbucket.org/berkeleylab/metabat.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1hmvdalz3zj5sqqklg0l4npjdv37cv2hsdi1al9iby2ndxjs1b73")) + "0hyg2smw1nz69mfvjpk45xyyychmda92c80a0cv7baji84ri4iyn")) (patches (search-patches "metabat-fix-compilation.patch")))) (build-system scons-build-system) (arguments @@ -4109,16 +4129,16 @@ probabilistic distances of genome abundance and tetranucleotide frequency.") (define-public minced (package (name "minced") - (version "0.2.0") + (version "0.3.2") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/ctSkennerton/minced/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ctSkennerton/minced.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0wxmlsapxfpxfd3ps9636h7i2xy6la8i42mwh0j2lsky63h63jp1")))) + "1f5h9him0gd355cnx7p6pnxpknhckd4g0v62mg8zyhfbx9as25fv")))) (build-system gnu-build-system) (arguments `(#:test-target "test" @@ -4147,7 +4167,8 @@ probabilistic distances of genome abundance and tetranucleotide frequency.") "#!" (assoc-ref inputs "bash") "/bin/sh\n\n" (assoc-ref inputs "jre") "/bin/java -jar " bin "/minced.jar \"$@\"\n")))) - (chmod wrapper #o555))))))) + (chmod wrapper #o555)) + #t))))) (native-inputs `(("jdk" ,icedtea "jdk"))) (inputs @@ -4230,12 +4251,13 @@ that a read originated from a particular isoform.") (delete 'configure) (replace 'check ;; There are no tests, so just test if it runs. - (lambda _ (zero? (system* "./muscle" "-version")))) + (lambda _ (invoke "./muscle" "-version") #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin"))) - (install-file "muscle" bin))))))) + (install-file "muscle" bin) + #t)))))) (home-page "http://www.drive5.com/muscle") (synopsis "Multiple sequence alignment program") (description @@ -4260,11 +4282,6 @@ program for nucleotide and protein sequences.") (base32 "1hkw21rq1mwf7xp0rmbb2gqc0i6p11108m69i7mr7xcjl268pxnb")))) (build-system gnu-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ (zero? (system* "autoreconf" "-vif"))))))) (inputs ;; XXX: TODO: Enable Lua and Guile bindings. ;; https://github.com/tjunier/newick_utils/issues/13 @@ -4309,19 +4326,20 @@ interrupted by stop codons. OrfM finds and prints these ORFs.") (license license:lgpl3+))) (define-public pplacer - (let ((commit "g807f6f3")) + (let ((commit "807f6f3")) (package (name "pplacer") ;; The commit should be updated with each version change. (version "1.1.alpha19") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/matsen/pplacer/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/matsen/pplacer.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0z1lnd2s8sh6kpzg106wzbh2szw7h0hvq8syd5a6wv4rmyyz6x0f")))) + (base32 "11ppbbbx20p2g9wj3ff64dhnarb12q79v7qh4rk0gj6lkbz4n7cn")))) (build-system ocaml-build-system) (arguments `(#:ocaml ,ocaml-4.01 @@ -4338,11 +4356,12 @@ interrupted by stop codons. OrfM finds and prints these ORFs.") (local-dir "cddlib_guix")) (mkdir local-dir) (with-directory-excursion local-dir - (system* "tar" "xvf" cddlib-src)) + (invoke "tar" "xvf" cddlib-src)) (let ((cddlib-src-folder (string-append local-dir "/" (list-ref (scandir local-dir) 2) "/lib-src"))) + (for-each make-file-writable (find-files "cdd_src" ".*")) (for-each (lambda (file) (copy-file file @@ -4404,10 +4423,9 @@ downstream analysis.") #:phases (modify-phases %standard-phases (add-after 'unpack 'enter-scripts-dir - (lambda _ (chdir "scripts"))) + (lambda _ (chdir "scripts") #t)) (replace 'check - (lambda _ - (zero? (system* "python" "-m" "unittest" "discover" "-v")))) + (lambda _ (invoke "python" "-m" "unittest" "discover" "-v") #t)) (add-after 'install 'wrap-executables (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -4667,13 +4685,14 @@ large-scale data and can be applied to hundreds of species at once.") (version "2.0.7") (source (origin - (method url-fetch) - (uri (string-append "https://bitbucket.org/regulatorygenomicsupf/" - "pyicoteo/get/v" version ".tar.bz2")) - (file-name (string-append name "-" version ".tar.bz2")) + (method git-fetch) + (uri (git-reference + (url "https://bitbucket.org/regulatorygenomicsupf/pyicoteo.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0d6087f29xp8wxwlj111c3sylli98n0l8ry58c51ixzq0zfm50wa")))) + "0hz5g8d25lbjy1wpscr490l0lmyvaix893hhax4fxnh1h9w34w8p")))) (build-system python-build-system) (arguments `(#:python ,python-2 ; does not work with Python 3 @@ -4704,14 +4723,14 @@ different command-line tools: (name "prodigal") (version "2.6.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/hyattpd/Prodigal/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyattpd/Prodigal.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "17srxkqd3jc77xk15pfbgg1a9xahqg7337w95mrsia7mpza4l2c9")))) + "1fs1hqk83qjbjhrvhw6ni75zakx5ki1ayy3v6wwkn3xvahc9hi5s")))) (build-system gnu-build-system) (arguments `(#:tests? #f ;no check target @@ -4757,10 +4776,11 @@ partial genes, and identifies translation initiation sites.") (getenv "PATH"))) (setenv "PERL5LIB" (string-append (getcwd) "/lib" ":" (getenv "PERL5LIB"))) - (zero? (length (filter (lambda (file) - (display file)(display "\n") - (not (zero? (system* "perl" file)))) - (find-files "t" ".*\\.t$")))))) + (for-each (lambda (file) + (display file)(display "\n") + (invoke "perl" file)) + (find-files "t" ".*\\.t$")) + #t)) (replace 'install ;; There is no 'install' target in the Makefile. (lambda* (#:key outputs #:allow-other-keys) @@ -4849,18 +4869,17 @@ extremely diverse sets of genomes.") (define-public raxml (package (name "raxml") - (version "8.2.10") + (version "8.2.12") (source (origin - (method url-fetch) - (uri - (string-append - "https://github.com/stamatak/standard-RAxML/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/stamatak/standard-RAxML.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "13s7aspfdcfr6asynwdg1x6vznys6pzap5f8wsffbnnwpkkg9ya8")))) + "1jqjzhch0rips0vp04prvb8vmc20c5pdmsqn8knadcf91yy859fh")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; There are no tests. @@ -5053,21 +5072,24 @@ distribution, coverage uniformity, strand specificity, etc.") (modify-phases %standard-phases (replace 'bootstrap (lambda _ - (invoke "bash" "gen_auto"))) + (substitute* "gen_tools_am" + (("/usr/bin/env.*") (which "perl"))) + (invoke "bash" "gen_auto") + #t)) (add-after 'build 'build-additional-tools (lambda* (#:key make-flags #:allow-other-keys) - (every (lambda (dir) - (with-directory-excursion (string-append "tools/" dir) - (zero? (apply system* "make" make-flags)))) - dirs))) + (for-each (lambda (dir) + (with-directory-excursion (string-append "tools/" dir) + (apply invoke "make" make-flags))) + dirs) + #t)) (add-after 'install 'install-additional-tools (lambda* (#:key make-flags #:allow-other-keys) - (fold (lambda (dir result) - (with-directory-excursion (string-append "tools/" dir) - (and result - (zero? (apply system* - `("make" ,@make-flags "install")))))) - #t dirs))))))) + (for-each (lambda (dir) + (with-directory-excursion (string-append "tools/" dir) + (apply invoke `("make" ,@make-flags "install")))) + dirs) + #t)))))) (inputs `(("gsl" ,gsl) ("boost" ,boost) @@ -5215,6 +5237,7 @@ viewer.") #t)))))) (inputs `(("perl" ,perl) + ("zlib:static" ,zlib "static") ("zlib" ,zlib))) (supported-systems '("x86_64-linux")) (home-page "https://github.com/wanpinglee/MOSAIK") @@ -5233,17 +5256,16 @@ Roche 454, Ion Torrent and Pacific BioSciences SMRT.") (define-public ngs-sdk (package (name "ngs-sdk") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri - (string-append "https://github.com/ncbi/ngs/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wiyf4c6nm2j87pv015cbi0qny5byf3pbvcw3likifz5dl56ag40")))) + (version "2.9.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ncbi/ngs.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17c0v1nah3g3d2ib5bbi0vhma1ghd6vb9xycavqsh64lhp840rk3")))) (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; not supported @@ -5259,9 +5281,10 @@ Roche 454, Ion Torrent and Pacific BioSciences SMRT.") ;; The 'configure' script doesn't recognize things like ;; '--enable-fast-install'. - (zero? (system* "./configure" - (string-append "--build-prefix=" (getcwd) "/build") - (string-append "--prefix=" out)))))) + (invoke "./configure" + (string-append "--build-prefix=" (getcwd) "/build") + (string-append "--prefix=" out)) + #t))) (add-after 'unpack 'enter-dir (lambda _ (chdir "ngs-sdk") #t))))) (native-inputs `(("perl" ,perl))) @@ -5299,23 +5322,24 @@ simultaneously.") (define-public ncbi-vdb (package (name "ncbi-vdb") - (version "2.8.2") - (source - (origin - (method url-fetch) - (uri - (string-append "https://github.com/ncbi/ncbi-vdb/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1acn4bv81mfl137qnbn9995mjjhwd36pm0b7qli1iw5skrxa9j8m")))) + (version "2.9.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ncbi/ncbi-vdb.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l4ny67nxwv1lagk9wwjbrgm7ln7adci6dnpc7k1yaln6shj0qpm")))) (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; not supported #:tests? #f ; no "check" target #:phases (modify-phases %standard-phases + (add-after 'unpack 'make-files-writable + (lambda _ (for-each make-file-writable (find-files "." ".*")) #t)) (add-before 'configure 'set-perl-search-path (lambda _ ;; Work around "dotless @INC" build failure. @@ -5349,8 +5373,7 @@ simultaneously.") ;; The 'configure' script doesn't recognize things like ;; '--enable-fast-install'. - (zero? (system* - "./configure" + (invoke "./configure" (string-append "--build-prefix=" (getcwd) "/build") (string-append "--prefix=" (assoc-ref outputs "out")) (string-append "--debug") @@ -5359,7 +5382,8 @@ simultaneously.") (string-append "--with-ngs-sdk-prefix=" (assoc-ref inputs "ngs-sdk")) (string-append "--with-hdf5-prefix=" - (assoc-ref inputs "hdf5"))))))) + (assoc-ref inputs "hdf5"))) + #t))) (add-after 'install 'install-interfaces (lambda* (#:key outputs #:allow-other-keys) ;; Install interface libraries. On i686 the interface libraries @@ -5464,12 +5488,13 @@ subsequent visualization, annotation and storage of results.") (version "1.90b4") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/chrchang/plink-ng/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/chrchang/plink-ng.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "09ixrds009aczjswxr2alcb774mksq5g0v78dgjjn1h4dky0kf9a")))) + (base32 "02npdwgkpfkdnhw819rhj5kw02a5k5m90b14zq9zzya4hyg929c0")))) (build-system gnu-build-system) (arguments '(#:tests? #f ;no "check" target @@ -5551,14 +5576,14 @@ structures, classes for genomic regions, mapped sequencing reads, etc.") (define-public preseq (package (name "preseq") - (version "2.0") + (version "2.0.3") (source (origin (method url-fetch) - (uri (string-append "https://github.com/smithlabcode/" - "preseq/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "https://github.com/smithlabcode/preseq/" + "releases/download/v" version + "/preseq_v" version ".tar.bz2")) (sha256 - (base32 "08r684l50pnxjpvmhzjgqq56yv9rfw90k8vx0nsrnrzk8mf9hsdq")) + (base32 "149x9xmk1wy1gff85325yfzqc0qk4sgp1w6gbyj9cnji4x1dszbl")) (modules '((guix build utils))) (snippet '(begin ;; Remove bundled samtools. @@ -5601,25 +5626,38 @@ complexity samples.") (define-public python-screed (package (name "python-screed") - (version "0.9") + (version "1.0") (source (origin (method url-fetch) (uri (pypi-uri "screed" version)) (sha256 (base32 - "18czszp9fkx3j6jr7y5kp6dfialscgddk05mw1zkhh2zhn0jd8i0")))) + "148vcb7w2wr6a4w6vs2bsxanbqibxfk490zbcbg4m61s8669zdjx")))) (build-system python-build-system) (arguments - `(#:phases + '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (setenv "PYTHONPATH" - (string-append (getenv "PYTHONPATH") ":.")) - (zero? (system* "nosetests" "--attr" "!known_failing"))))))) + ;; Tests must be run after installation, as the "screed" command does + ;; not exist right after building. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "PYTHONPATH" + (string-append out "/lib/python" + (string-take (string-take-right + (assoc-ref inputs "python") + 5) 3) + "/site-packages:" + (getenv "PYTHONPATH"))) + (setenv "PATH" (string-append out "/bin:" (getenv "PATH")))) + (invoke "python" "setup.py" "test") + #t))))) (native-inputs - `(("python-nose" ,python-nose))) + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-runner" ,python-pytest-runner))) (inputs `(("python-bz2file" ,python-bz2file))) (home-page "https://github.com/dib-lab/screed/") @@ -5635,17 +5673,17 @@ sequence itself can be retrieved from these databases.") (define-public sra-tools (package (name "sra-tools") - (version "2.8.2-1") + (version "2.9.3") (source (origin - (method url-fetch) - (uri - (string-append "https://github.com/ncbi/sra-tools/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ncbi/sra-tools.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1camsijmvv2s45mb4iyf44ghl4gkd4rl0viphpcgl3ccchy32a0g")))) + "0663gcdxkziwsmlznjxysb00621rllpbz6jwsfifq7z3dj3lwm8b")))) (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; not supported @@ -5695,8 +5733,7 @@ sequence itself can be retrieved from these databases.") ;; The 'configure' script doesn't recognize things like ;; '--enable-fast-install'. - (zero? (system* - "./configure" + (invoke "./configure" (string-append "--build-prefix=" (getcwd) "/build") (string-append "--prefix=" (assoc-ref outputs "out")) (string-append "--debug") @@ -5714,18 +5751,7 @@ sequence itself can be retrieved from these databases.") (string-append "--with-ngs-sdk-prefix=" (assoc-ref inputs "ngs-sdk")) (string-append "--with-hdf5-prefix=" - (assoc-ref inputs "hdf5")))))) - ;; This version of sra-tools fails to build with glibc because of a - ;; naming conflict. glibc-2.25/include/bits/mathcalls.h already - ;; contains a definition of "canonicalize", so we rename it. - ;; - ;; See upstream bug report: - ;; https://github.com/ncbi/sra-tools/issues/67 - (add-after 'unpack 'patch-away-glibc-conflict - (lambda _ - (substitute* "tools/bam-loader/bam.c" - (("canonicalize\\(" line) - (string-append "sra_tools_" line))) + (assoc-ref inputs "hdf5"))) #t))))) (native-inputs `(("perl" ,perl))) (inputs @@ -5745,6 +5771,51 @@ writing files into the .sra format.") (define-public seqan (package + (name "seqan") + (version "2.4.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/seqan/seqan/releases/" + "download/seqan-v" version + "/seqan-library-" version ".tar.xz")) + (sha256 + (base32 + "19a1rlxx03qy1i1iriicly68w64yjxbv24g9gdywnfmq998v35yx")))) + ;; The documentation is 7.8MB and the includes are 3.6MB heavy, so it + ;; makes sense to split the outputs. + (outputs '("out" "doc")) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((tar (assoc-ref %build-inputs "tar")) + (xz (assoc-ref %build-inputs "xz")) + (out (assoc-ref %outputs "out")) + (doc (assoc-ref %outputs "doc"))) + (setenv "PATH" (string-append tar "/bin:" xz "/bin")) + (invoke "tar" "xvf" (assoc-ref %build-inputs "source")) + (chdir (string-append "seqan-library-" ,version)) + (copy-recursively "include" (string-append out "/include")) + (copy-recursively "share" (string-append doc "/share")) + #t)))) + (native-inputs + `(("source" ,source) + ("tar" ,tar) + ("xz" ,xz))) + (home-page "http://www.seqan.de") + (synopsis "Library for nucleotide sequence analysis") + (description + "SeqAn is a C++ library of efficient algorithms and data structures for +the analysis of sequences with the focus on biological data. It contains +algorithms and data structures for string representation and their +manipulation, online and indexed string search, efficient I/O of +bioinformatics file formats, sequence alignment, and more.") + (license license:bsd-3))) + +(define-public seqan-1 + (package (inherit seqan) (name "seqan") (version "1.4.2") (source (origin @@ -5776,16 +5847,7 @@ writing files into the .sra format.") (native-inputs `(("source" ,source) ("tar" ,tar) - ("bzip2" ,bzip2))) - (home-page "http://www.seqan.de") - (synopsis "Library for nucleotide sequence analysis") - (description - "SeqAn is a C++ library of efficient algorithms and data structures for -the analysis of sequences with the focus on biological data. It contains -algorithms and data structures for string representation and their -manipulation, online and indexed string search, efficient I/O of -bioinformatics file formats, sequence alignment, and more.") - (license license:bsd-3))) + ("bzip2" ,bzip2))))) (define-public seqmagick (package @@ -5816,24 +5878,16 @@ is one that takes arguments.") (define-public seqtk (package (name "seqtk") - (version "1.2") + (version "1.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/lh3/seqtk/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lh3/seqtk.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0ywdyzpmfiz2wp6ampbzqg4y8bj450nfgqarpamg045b8mk32lxx")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Remove extraneous header files, as is done in the seqtk - ;; master branch. - (for-each (lambda (file) (delete-file file)) - (list "ksort.h" "kstring.h" "kvec.h")) - #t)))) + "1bfzlqa84b5s1qi22blmmw2s8xdyp9h9ydcq22pfjhh5gab3yz6l")))) (build-system gnu-build-system) (arguments `(#:phases @@ -5841,11 +5895,12 @@ is one that takes arguments.") (delete 'configure) (replace 'check ;; There are no tests, so we just run a sanity check. - (lambda _ (zero? (system* "./seqtk" "seq")))) + (lambda _ (invoke "./seqtk" "seq") #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "out") "/bin/"))) - (install-file "seqtk" bin))))))) + (install-file "seqtk" bin) + #t)))))) (inputs `(("zlib" ,zlib))) (home-page "https://github.com/lh3/seqtk") @@ -5861,20 +5916,20 @@ optionally compressed by gzip.") (name "snap-aligner") (version "1.0beta.18") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/amplab/snap/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/amplab/snap.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1vnsjwv007k1fl1q7d681kbwn6bc66cgw6h16hym6gvyy71qv2ly")))) + "01w3qq4wm07z73vky0cfwlmrbf50n3w722cxrlzxfi99mnb808d8")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure) - (replace 'check (lambda _ (zero? (system* "./unit_tests")))) + (replace 'check (lambda _ (invoke "./unit_tests") #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -5903,14 +5958,14 @@ of these reads to align data quickly through a hash-based indexing scheme.") (version "2.1b") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/biocore/sortmerna/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/biocore/sortmerna.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1ghaghvd82af9j5adavxh77g7hm247d1r69m3fbi6f1jdivj5ldk")))) + "0j3mbz4n25738yijmjbr5r4fyvkgm8v5vn3sshyfvmyqf5q9byqf")))) (build-system gnu-build-system) (outputs '("out" ;for binaries "db")) ;for sequence databases @@ -5980,7 +6035,8 @@ application of SortMeRNA is filtering rRNA from metatranscriptomic data.") (lambda _ (substitute* "Makefile" (("(COMPILATION_TIME_PLACE=\")(.*)(\")" _ pre mid post) - (string-append pre "Built with Guix" post))))) + (string-append pre "Built with Guix" post))) + #t)) (add-after 'enter-source-dir 'do-not-use-bundled-htslib (lambda _ (substitute* "Makefile" @@ -6064,7 +6120,8 @@ sequences.") (lambda* (#:key outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "out") "/bin/"))) (mkdir-p bin) - (copy-recursively "../bin" bin)))) + (copy-recursively "../bin" bin)) + #t)) ;; no "configure" script (delete 'configure)))) (inputs `(("zlib" ,zlib))) @@ -6156,8 +6213,7 @@ Cuffdiff or Ballgown programs.") #:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (zero? (system* "python" "-m" "unittest" "discover" "-v"))))))) + (lambda _ (invoke "python" "-m" "unittest" "discover" "-v") #t))))) (propagated-inputs `(("python-sqlalchemy" ,python2-sqlalchemy) ("python-decorator" ,python2-decorator) @@ -6268,14 +6324,14 @@ information as possible.") (define-public r-vegan (package (name "r-vegan") - (version "2.5-2") + (version "2.5-3") (source (origin (method url-fetch) (uri (cran-uri "vegan" version)) (sha256 (base32 - "13pyqvlpz64qibi8k5d109v7q09j06mbv6ndix3n4cn21mjx391c")))) + "023xznh0iy0496icpchadmp7a3rk3nj9s48fvwlvp3dssw58yp3c")))) (build-system r-build-system) (native-inputs `(("gfortran" ,gfortran))) @@ -6298,14 +6354,14 @@ data types as well.") (define-public r-annotate (package (name "r-annotate") - (version "1.58.0") + (version "1.60.0") (source (origin (method url-fetch) (uri (bioconductor-uri "annotate" version)) (sha256 (base32 - "1qmncyvy147a1ll3iri45p822kcs3s7583jfnq9jf6sz9ilk8cjf")))) + "0p6c96lay23a67dyirgnwzm2yw22m592z780vy6p4nqwla8ha18n")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -6325,13 +6381,13 @@ microarrays.") (define-public r-copynumber (package (name "r-copynumber") - (version "1.20.0") + (version "1.22.0") (source (origin (method url-fetch) (uri (bioconductor-uri "copynumber" version)) (sha256 (base32 - "0y9nnwb0psphp3ix88wj2f8z5gr45r5znf55w892ysm27isdpmms")))) + "0ipwj9i5p1bwhg5d80jdjagm02krpj2v0j47qdgw41h8wncdyal3")))) (build-system r-build-system) (propagated-inputs `(("r-s4vectors" ,r-s4vectors) @@ -6348,14 +6404,14 @@ penalized least squares regression method.") (define-public r-geneplotter (package (name "r-geneplotter") - (version "1.58.0") + (version "1.60.0") (source (origin (method url-fetch) (uri (bioconductor-uri "geneplotter" version)) (sha256 (base32 - "055g28xgiazl4l0gkg8xiamks64f5yckjjyvw1abd6d6qjavwx0g")))) + "10khr0pznxf3m0f5gzck9ymljrwcv3vamfmpskd51yjh36lhllqz")))) (build-system r-build-system) (propagated-inputs `(("r-annotate" ,r-annotate) @@ -6373,14 +6429,14 @@ penalized least squares regression method.") (define-public r-genefilter (package (name "r-genefilter") - (version "1.62.0") + (version "1.64.0") (source (origin (method url-fetch) (uri (bioconductor-uri "genefilter" version)) (sha256 (base32 - "14l0ff02spmjwxj0m1czhg5vlkgwcfi73cym8m2n9vn6i7bjdaqi")))) + "0p64s1n1627yafnp25wjr4b22p34lqw574fx2qg4s1m0lffh1z6i")))) (build-system r-build-system) (native-inputs `(("gfortran" ,gfortran))) @@ -6400,14 +6456,14 @@ high-throughput sequencing experiments.") (define-public r-deseq2 (package (name "r-deseq2") - (version "1.20.0") + (version "1.22.1") (source (origin (method url-fetch) (uri (bioconductor-uri "DESeq2" version)) (sha256 (base32 - "1wjnfpb41a9mmf9a22bz4zh7r1d4id50vpdc1mn5vfzrz7li9qik")))) + "1b2bmvcsfzvks47d7w46zplcwz0kgcdhx5xmx3x9lp2gvx2p84r5")))) (properties `((upstream-name . "DESeq2"))) (build-system r-build-system) (propagated-inputs @@ -6437,14 +6493,14 @@ distribution.") (define-public r-dexseq (package (name "r-dexseq") - (version "1.26.0") + (version "1.28.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DEXSeq" version)) (sha256 (base32 - "1mqb3mdxcsi3largsl7k27bvqrgps9ixv806xvmf29pw0xn05sg1")))) + "0jh1640cnzpk8x3155cqc8dvrs1rciw3d6nv2k70baw96bhrynp8")))) (properties `((upstream-name . "DEXSeq"))) (build-system r-build-system) (propagated-inputs @@ -6480,14 +6536,14 @@ exploration of the results.") (define-public r-annotationforge (package (name "r-annotationforge") - (version "1.22.2") + (version "1.24.0") (source (origin (method url-fetch) (uri (bioconductor-uri "AnnotationForge" version)) (sha256 (base32 - "17kmy7nvpyyj6w5jyrjciw87rydmmmc8q6cnwqjv1j7li9bp09gr")))) + "13yvhf3yskmvhs8szs6rkw93h81h5xqa3h19h91pp6nprhc8s3ll")))) (properties `((upstream-name . "AnnotationForge"))) (build-system r-build-system) @@ -6510,14 +6566,14 @@ databases. Packages produced are intended to be used with AnnotationDbi.") (define-public r-rbgl (package (name "r-rbgl") - (version "1.56.0") + (version "1.58.0") (source (origin (method url-fetch) (uri (bioconductor-uri "RBGL" version)) (sha256 (base32 - "0hj972mmqpyi5fx1rq33kysavdyz4nspi6gcffzi3rv339m0anhf")))) + "0jy95m38c4qp0a12097hhm2gg63k96k6ydhb11dy379h3ziapcar")))) (properties `((upstream-name . "RBGL"))) (build-system r-build-system) (propagated-inputs `(("r-graph" ,r-graph))) @@ -6531,14 +6587,14 @@ the graph algorithms contained in the Boost library.") (define-public r-gseabase (package (name "r-gseabase") - (version "1.42.0") + (version "1.44.0") (source (origin (method url-fetch) (uri (bioconductor-uri "GSEABase" version)) (sha256 (base32 - "11bv92svik399q677jv96b71i4bq68xxyxn1yijpdik2lq4hgl7a")))) + "110al7x0ig8plzrprvhwc7xshi1jzpj2n8llhhg2fh6v6k0k6awr")))) (properties `((upstream-name . "GSEABase"))) (build-system r-build-system) (propagated-inputs @@ -6558,14 +6614,14 @@ Enrichment Analysis} (GSEA).") (define-public r-category (package (name "r-category") - (version "2.46.0") + (version "2.48.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Category" version)) (sha256 (base32 - "03wfqa8d1dgwsm327zl2mpkq7dq3mzhq12598qz3ylfhrwplbgx0")))) + "1jdm83bwdfhpfm1y6hwgvxzj6l83h1bdkqv23799kzywnwm016kv")))) (properties `((upstream-name . "Category"))) (build-system r-build-system) (propagated-inputs @@ -6589,14 +6645,14 @@ analysis.") (define-public r-gostats (package (name "r-gostats") - (version "2.46.0") + (version "2.48.0") (source (origin (method url-fetch) (uri (bioconductor-uri "GOstats" version)) (sha256 (base32 - "1i5mydz5d95w2k28qr9j01hmbnl2id55jq94jvcpcyp1pvinkdq0")))) + "0wlqqgfynwqnqhckhsfjwg9zkj6hkmzwd5y76dhqz720vy21rcln")))) (properties `((upstream-name . "GOstats"))) (build-system r-build-system) (propagated-inputs @@ -6620,14 +6676,14 @@ testing and other simple calculations.") (define-public r-shortread (package (name "r-shortread") - (version "1.38.0") + (version "1.40.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ShortRead" version)) (sha256 (base32 - "038z3z7qaw5bpgjzy91sjkybsny6jwjjsrnnq4gdqdw9ss1qy1fb")))) + "0iks123i1adkb9i2q4wvfqdmmj9dy867jvngj9757y8gj6xbcpy1")))) (properties `((upstream-name . "ShortRead"))) (build-system r-build-system) (inputs @@ -6662,14 +6718,14 @@ ungapped alignment formats.") (define-public r-systempiper (package (name "r-systempiper") - (version "1.14.0") + (version "1.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "systemPipeR" version)) (sha256 (base32 - "1550pd63mmky0vgkmpni7zf14kqz1741wv63nfaw29kcmhh3m5lm")))) + "0l26q8zjdmzg84g7f25gv9z60sykybahlpg5bg9bmpbg5lzcsx04")))) (properties `((upstream-name . "systemPipeR"))) (build-system r-build-system) (propagated-inputs @@ -6708,14 +6764,14 @@ annotation infrastructure.") (define-public r-grohmm (package (name "r-grohmm") - (version "1.14.0") + (version "1.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "groHMM" version)) (sha256 (base32 - "1kjb14apyly44qdlx2ld6gr69wlazd4mbhs58l35hir12aphgrzp")))) + "1ph92fv44b90v7mk4b1mjvv0dlrhl8ba01klxbnd0vs4qn9zxplh")))) (properties `((upstream-name . "groHMM"))) (build-system r-build-system) (propagated-inputs @@ -6790,17 +6846,17 @@ SELECT or UPDATE queries to an end-point.") (define-public vsearch (package (name "vsearch") - (version "2.8.0") + (version "2.9.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/torognes/vsearch/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/torognes/vsearch.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "15pbirgzhvflj4pi5n82vybbzjy9mlb0lv5l3qhrmdkfzpbyahw3")) + "0vhrpjfdf75ba04b24xknp41790cvcgwl0vgpy7qbzj5xh2521ss")) (patches (search-patches "vsearch-unbundle-cityhash.patch")) (snippet '(begin @@ -6811,11 +6867,6 @@ SELECT or UPDATE queries to an end-point.") (delete-file "src/city.cc") #t)))) (build-system gnu-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autogen - (lambda _ (zero? (system* "autoreconf" "-vif"))))))) (inputs `(("zlib" ,zlib) ("bzip2" ,bzip2) @@ -7027,13 +7078,13 @@ barplots or heatmaps.") (define-public r-biocgenerics (package (name "r-biocgenerics") - (version "0.26.0") + (version "0.28.0") (source (origin (method url-fetch) (uri (bioconductor-uri "BiocGenerics" version)) (sha256 (base32 - "19qxhy2cd3pykkhzbb5q3crgaxf65cpzf2mkfsz16gqhi8flj72p")))) + "0cvpsrhg7sn7lpqgxvqrsagv6j7xj5rafq5xdjfd8zc4gxrs5rb8")))) (properties `((upstream-name . "BiocGenerics"))) (build-system r-build-system) @@ -7047,13 +7098,13 @@ packages.") (define-public r-biocinstaller (package (name "r-biocinstaller") - (version "1.30.0") + (version "1.32.1") (source (origin (method url-fetch) (uri (bioconductor-uri "BiocInstaller" version)) (sha256 (base32 - "1xg1gi1hf5vflp71ji21gnmr4kcjpx8a6c47cllpc7yqnjv5nfg0")))) + "1s1f9qhyf3mc73ir25x2zlgi9hf45a37lg4z8fbva4i21hqisgsl")))) (properties `((upstream-name . "BiocInstaller"))) (build-system r-build-system) @@ -7066,13 +7117,13 @@ Bioconductor, CRAN, and Github.") (define-public r-biocviews (package (name "r-biocviews") - (version "1.48.3") + (version "1.50.5") (source (origin (method url-fetch) (uri (bioconductor-uri "biocViews" version)) (sha256 (base32 - "1rxvwikqivsgxjjcazlszy8xgz346lfh5rw4llxw6fz38fjgb0k5")))) + "0rc1n89n04ylvy9gvsgvizcs77bh70jg1nkjjsjs7rqbr3zzdysz")))) (properties `((upstream-name . "biocViews"))) (build-system r-build-system) @@ -7116,19 +7167,20 @@ authoring books and technical documents with R Markdown.") (define-public r-biocstyle (package - (name "r-biocstyle") - (version "2.8.2") + (name "r-biocstyle") + (version "2.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "BiocStyle" version)) (sha256 (base32 - "17m901ylz00w1a3nq5f910v55zixm1nr6rb3qrsbhqd94qzr0l2p")))) + "01lm8xljilj666fcl3wnw82dxkcxnlr294lddr553rm8xr5nwg31")))) (properties `((upstream-name . "BiocStyle"))) (build-system r-build-system) (propagated-inputs - `(("r-bookdown" ,r-bookdown) + `(("r-biocmanager" ,r-biocmanager) + ("r-bookdown" ,r-bookdown) ("r-knitr" ,r-knitr) ("r-rmarkdown" ,r-rmarkdown) ("r-yaml" ,r-yaml))) @@ -7142,13 +7194,13 @@ functionality.") (define-public r-bioccheck (package (name "r-bioccheck") - (version "1.16.0") + (version "1.18.0") (source (origin (method url-fetch) (uri (bioconductor-uri "BiocCheck" version)) (sha256 (base32 - "1srp1g809f1nn0fyqknr7r6dq89bw1xpjvmygr7cw6ffknbc671s")))) + "0zamvs5jar38293ff27imvwy0ra25y64ls9z8w3q1y4jcp8p8pg7")))) (properties `((upstream-name . "BiocCheck"))) (build-system r-build-system) @@ -7175,8 +7227,9 @@ functionality.") `(("r-codetools" ,r-codetools) ("r-graph" ,r-graph) ("r-httr" ,r-httr) + ("r-knitr" ,r-knitr) ("r-optparse" ,r-optparse) - ("r-biocinstaller" ,r-biocinstaller) + ("r-biocmanager" ,r-biocmanager) ("r-biocviews" ,r-biocviews) ("r-stringdist" ,r-stringdist))) (home-page "https://bioconductor.org/packages/BiocCheck") @@ -7211,13 +7264,13 @@ that accept short and long options.") (define-public r-dnacopy (package (name "r-dnacopy") - (version "1.54.0") + (version "1.56.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DNAcopy" version)) (sha256 (base32 - "03hfhmmc5y60r2gcgm367w2fr7qj115l74m9bp3h9qpn5yci0d8n")))) + "04cqdqxhva66xwh1s2vffi56b9fcrqd4slcrvqasj5lp2rkjli82")))) (properties `((upstream-name . "DNAcopy"))) (build-system r-build-system) @@ -7233,13 +7286,13 @@ abnormal copy number.") (define-public r-s4vectors (package (name "r-s4vectors") - (version "0.18.3") + (version "0.20.1") (source (origin (method url-fetch) (uri (bioconductor-uri "S4Vectors" version)) (sha256 (base32 - "02bps2rpjqx2npwxq3x62ncwi9ggr165cwi56h6hld28bw2gddy8")))) + "18whrw67nxn82xshckl2pjy7d14sa3c27h3n9naqyqwz88lr6dzg")))) (properties `((upstream-name . "S4Vectors"))) (build-system r-build-system) @@ -7285,13 +7338,13 @@ utilities for sequence data management under the ACNUC system.") (define-public r-iranges (package (name "r-iranges") - (version "2.14.11") + (version "2.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "IRanges" version)) (sha256 (base32 - "0wz63hysspyjihqadg91dbvllc5a61zzjrsz0b9498lihqc6m1la")))) + "0ljppsk611xi72gc8mbdx1311b63b1ijd401jz5xmxk5frla1nc1")))) (properties `((upstream-name . "IRanges"))) (build-system r-build-system) @@ -7314,7 +7367,7 @@ possible.") (define-public r-genomeinfodbdata (package (name "r-genomeinfodbdata") - (version "0.99.1") + (version "1.2.0") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -7324,7 +7377,7 @@ possible.") version ".tar.gz")) (sha256 (base32 - "0hipipvyvrh75n68hsjg35sxbcfzrghzxv547vnkk2f8ya99g01r")))) + "0di6nlqpsyqf693k2na65ayqldih563x3zfrczpqc5q2hl5kg35c")))) (properties `((upstream-name . "GenomeInfoDbData"))) (build-system r-build-system) @@ -7337,13 +7390,13 @@ ID and species. It is used by functions in the GenomeInfoDb package.") (define-public r-genomeinfodb (package (name "r-genomeinfodb") - (version "1.16.0") + (version "1.18.1") (source (origin (method url-fetch) (uri (bioconductor-uri "GenomeInfoDb" version)) (sha256 (base32 - "0yhnqhaydmmq7ihmhj3rbal4afq5p993l2qqrd0n5wmbyg7glg2d")))) + "049pyzr8iszv3g7wdqf3pz7vg7bzd450c20ln6fgw4g5xnkkr10s")))) (properties `((upstream-name . "GenomeInfoDb"))) (build-system r-build-system) @@ -7365,13 +7418,13 @@ names in their natural, rather than lexicographic, order.") (define-public r-edger (package (name "r-edger") - (version "3.22.3") + (version "3.24.0") (source (origin (method url-fetch) (uri (bioconductor-uri "edgeR" version)) (sha256 (base32 - "0w3jv29n0kkaiig8dbbdqy2dkng8xfaihch82mj9ci5hphrx3nng")))) + "0ihihgzrgb4q3xc8xkzp1v76ndgihrj4gas00fa25vggfs1v6hvg")))) (properties `((upstream-name . "edgeR"))) (build-system r-build-system) (propagated-inputs @@ -7393,13 +7446,13 @@ CAGE.") (define-public r-variantannotation (package (name "r-variantannotation") - (version "1.26.1") + (version "1.28.1") (source (origin (method url-fetch) (uri (bioconductor-uri "VariantAnnotation" version)) (sha256 (base32 - "1r55ki951dj81qvy73knfcy69ik5vzkd56wnk3f6vvf9vngqb8jr")))) + "0gvah258mkaafhbna81zwknx8qr3lidbcx5qvwk39q3yswr9mi49")))) (properties `((upstream-name . "VariantAnnotation"))) (inputs @@ -7431,13 +7484,13 @@ coding changes and predict coding outcomes.") (define-public r-limma (package (name "r-limma") - (version "3.36.3") + (version "3.38.2") (source (origin (method url-fetch) (uri (bioconductor-uri "limma" version)) (sha256 (base32 - "0iiifszr6hcqih6kszdsbkx3gacfg3d7v8hdx0lbjqnjqgqz7pwk")))) + "1wkh362rmn24q7bkinb6nx62a31wl3r3myg5l326gx65wpwdnx97")))) (build-system r-build-system) (home-page "http://bioinf.wehi.edu.au/limma") (synopsis "Package for linear models for microarray and RNA-seq data") @@ -7450,13 +7503,13 @@ different technologies, including microarrays, RNA-seq, and quantitative PCR.") (define-public r-xvector (package (name "r-xvector") - (version "0.20.0") + (version "0.22.0") (source (origin (method url-fetch) (uri (bioconductor-uri "XVector" version)) (sha256 (base32 - "1zjlhh9lsyhg0js1858csyw2389kbrzdqnqnha833wazkwxilp3f")))) + "01fph1ydd6g0rl5mcw54spx22glq2kqv7wyw8bqw0plmabzcwwdm")))) (properties `((upstream-name . "XVector"))) (build-system r-build-system) @@ -7486,13 +7539,13 @@ different technologies, including microarrays, RNA-seq, and quantitative PCR.") (define-public r-genomicranges (package (name "r-genomicranges") - (version "1.32.6") + (version "1.34.0") (source (origin (method url-fetch) (uri (bioconductor-uri "GenomicRanges" version)) (sha256 (base32 - "0p58yk2i5gqvjlkx548mnrr49wvs0xfcl06l9rqj2hi6hkkbvnp3")))) + "0bgh14d15dpf2iy36qinw45r6n45rqkf0ghazrdl3jfva6vbrb29")))) (properties `((upstream-name . "GenomicRanges"))) (build-system r-build-system) @@ -7515,13 +7568,13 @@ manipulating genomic intervals and variables defined along a genome.") (define-public r-biobase (package (name "r-biobase") - (version "2.40.0") + (version "2.42.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Biobase" version)) (sha256 (base32 - "1iwds2a5ir29k19dbpynlc7nn836cw2gamchhgpi2jf2xar9m9jz")))) + "10nr6nrkj5vlq8hsgbhbhv669z0dbpz4m3vz9k32rx1czbrrqwin")))) (properties `((upstream-name . "Biobase"))) (build-system r-build-system) @@ -7537,13 +7590,13 @@ on Bioconductor or which replace R functions.") (define-public r-annotationdbi (package (name "r-annotationdbi") - (version "1.42.1") + (version "1.44.0") (source (origin (method url-fetch) (uri (bioconductor-uri "AnnotationDbi" version)) (sha256 (base32 - "0afkbzli08vq02r2pr9phrz3rxd6ilp1w7yw8y99nbjiz14f8b1c")))) + "1954vimkx5yb9irppq8vssq0f3yjkg36w38b9r0rqmijx1ps7x5d")))) (properties `((upstream-name . "AnnotationDbi"))) (build-system r-build-system) @@ -7564,13 +7617,13 @@ annotation data packages using SQLite data storage.") (define-public r-biomart (package (name "r-biomart") - (version "2.36.1") + (version "2.38.0") (source (origin (method url-fetch) (uri (bioconductor-uri "biomaRt" version)) (sha256 (base32 - "0b70s350ffc74v3xz5c3jpazr9zxdb7gjmjfj7aghlsrizrspill")))) + "1lshkknp7dmr3p6dd2zbv86cc71h53ggh9ji83jcjym8sgbbspl2")))) (properties `((upstream-name . "biomaRt"))) (build-system r-build-system) @@ -7597,13 +7650,13 @@ powerful online queries from gene annotation to database mining.") (define-public r-biocparallel (package (name "r-biocparallel") - (version "1.14.2") + (version "1.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "BiocParallel" version)) (sha256 (base32 - "1llb5a62hn4yxpdgqdh2l7i5zd06mjkk8hagsna69cq65wv6iifm")))) + "0g16cy0vjapqkb188z63r1b6y96m9g8vx0a3v2qavzxc177k0cja")))) (properties `((upstream-name . "BiocParallel"))) (build-system r-build-system) @@ -7622,13 +7675,13 @@ objects.") (define-public r-biostrings (package (name "r-biostrings") - (version "2.48.0") + (version "2.50.1") (source (origin (method url-fetch) (uri (bioconductor-uri "Biostrings" version)) (sha256 (base32 - "118b490jk87ydigm6ln25ms4kskzkw0akmh77clzznhzpqnxsi6j")))) + "1qyv1ps7vy6gy78pm2rcikg0bgf1mv7falahjp3pkwqq1272hrl8")))) (properties `((upstream-name . "Biostrings"))) (build-system r-build-system) @@ -7648,13 +7701,13 @@ biological sequences or sets of sequences.") (define-public r-rsamtools (package (name "r-rsamtools") - (version "1.32.3") + (version "1.34.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Rsamtools" version)) (sha256 (base32 - "1hpjr22h33pf4fgv0sj83rqzv6l5l7s6fpmmqvchh45ikks1mnhq")))) + "01v4bjhj2i126pwyk0v9lvmfp2ih495xsq903k3xa2z24bjxphbi")))) (properties `((upstream-name . "Rsamtools"))) (build-system r-build-system) @@ -7692,13 +7745,13 @@ files.") (define-public r-delayedarray (package (name "r-delayedarray") - (version "0.6.5") + (version "0.8.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DelayedArray" version)) (sha256 (base32 - "10b03zrnvz5isfh4z55hasya2m71lrfx10l5lm2sdmqs0gwkanrd")))) + "0cl5anqkjwvqx19snjhz0zj8cp8ibckiifl28h821h50g62nvb2f")))) (properties `((upstream-name . "DelayedArray"))) (build-system r-build-system) @@ -7723,13 +7776,13 @@ array-like objects like @code{DataFrame} objects (typically with Rle columns), (define-public r-summarizedexperiment (package (name "r-summarizedexperiment") - (version "1.10.1") + (version "1.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "SummarizedExperiment" version)) (sha256 (base32 - "0v3zxl9cqsv79ag5cnvzlhvgaz5cr8f4rn7flmwnwpqd508cznl1")))) + "07805572xhpj5mfwq6kw1ha21wgalqvhh4ydvafyl1bnf3r20vps")))) (properties `((upstream-name . "SummarizedExperiment"))) (build-system r-build-system) @@ -7754,13 +7807,13 @@ samples.") (define-public r-genomicalignments (package (name "r-genomicalignments") - (version "1.16.0") + (version "1.18.0") (source (origin (method url-fetch) (uri (bioconductor-uri "GenomicAlignments" version)) (sha256 (base32 - "00pi2cnkkbj2023fg2x2cmglkdalwzy1vr3glsikwz7ix9yylcaw")))) + "0a3zhwripfw2508fvgx3wzqa8nq8vnslg97a911znpwvxh53jl24")))) (properties `((upstream-name . "GenomicAlignments"))) (build-system r-build-system) @@ -7787,13 +7840,13 @@ alignments.") (define-public r-rtracklayer (package (name "r-rtracklayer") - (version "1.40.6") + (version "1.42.0") (source (origin (method url-fetch) (uri (bioconductor-uri "rtracklayer" version)) (sha256 (base32 - "1wxxxlyps19dw3i0pw4mlm3kinnswsc35rgvlnbwvpnpjbca6w4l")))) + "0a4mhd926w9slkfil5xgngjsfdj024a4w57w2bm3d4r0pj8y5da7")))) (build-system r-build-system) (arguments `(#:phases @@ -7834,13 +7887,13 @@ as well as query and modify the browser state, such as the current viewport.") (define-public r-genomicfeatures (package (name "r-genomicfeatures") - (version "1.32.2") + (version "1.34.1") (source (origin (method url-fetch) (uri (bioconductor-uri "GenomicFeatures" version)) (sha256 (base32 - "0kfyyg1ib8fkq2hxraal10z4bx3rg8figdskw4yhn1mbh6l42q5f")))) + "0slq6hv5bmc3bgrl824jzmr6db3fvaj6b7ihwmdn76pgqqbq2fq6")))) (properties `((upstream-name . "GenomicFeatures"))) (build-system r-build-system) @@ -7875,7 +7928,7 @@ extracting the desired features in a convenient format.") (define-public r-go-db (package (name "r-go-db") - (version "3.5.0") + (version "3.7.0") (source (origin (method url-fetch) (uri (string-append "https://www.bioconductor.org/packages/" @@ -7883,7 +7936,7 @@ extracting the desired features in a convenient format.") version ".tar.gz")) (sha256 (base32 - "02d1mn1al3q7qvhx1ylrr3ar4w4iw0qyi5d89v2336rzwk9maq35")))) + "0i3wcf5h3n0dawzc1hy0kv74f06j80c47n4p3g3fmrcxlhi3jpa5")))) (properties `((upstream-name . "GO.db"))) (build-system r-build-system) @@ -7899,13 +7952,13 @@ information about the latest version of the Gene Ontologies.") (define-public r-topgo (package (name "r-topgo") - (version "2.32.0") + (version "2.34.0") (source (origin (method url-fetch) (uri (bioconductor-uri "topGO" version)) (sha256 (base32 - "05yxnkid8bgw9lkm90if9fg63djhgvbailfa3qsfqa5c0zjmixw1")))) + "1j1jcd16j564kr6qz28140fzmnh9xasi84v1c1fi98sqv30zq9bh")))) (properties `((upstream-name . "topGO"))) (build-system r-build-system) @@ -7932,13 +7985,13 @@ dependencies between GO terms can be implemented and applied.") (define-public r-bsgenome (package (name "r-bsgenome") - (version "1.48.0") + (version "1.50.0") (source (origin (method url-fetch) (uri (bioconductor-uri "BSgenome" version)) (sha256 (base32 - "1rk2piqq5dppkd51ln3r872d7ng3rvq98071mnd0xdv2xwnyn5g8")))) + "07z4zxx0khrc86qqvc7vxww8df9fh6pyks9ajxkc9gdqr5nn79j7")))) (properties `((upstream-name . "BSgenome"))) (build-system r-build-system) @@ -7993,13 +8046,13 @@ genome data packages and support for efficient SNP representation.") (define-public r-impute (package (name "r-impute") - (version "1.54.0") + (version "1.56.0") (source (origin (method url-fetch) (uri (bioconductor-uri "impute" version)) (sha256 (base32 - "1d3cpfaqlq2gnb3hsc2yhxwkrnbd7m6ifif32yp0ya0jr5brl4hr")))) + "08z0pj1dz5iq967nwj67qyka7ir7m5an2ggv7bsrlz3apzfsla33")))) (inputs `(("gfortran" ,gfortran))) (build-system r-build-system) @@ -8013,13 +8066,13 @@ microarray data, using nearest neighbor averaging.") (define-public r-seqpattern (package (name "r-seqpattern") - (version "1.12.0") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "seqPattern" version)) (sha256 (base32 - "0dw0yldfcf0ibvpqxlpx1ijnjf9lma47w9w22siszzhw09i0wp3w")))) + "0di83qi83mrlw7i12khsq55d03hlazcywaa9m9pki1sfhafpq733")))) (properties `((upstream-name . "seqPattern"))) (build-system r-build-system) @@ -8040,13 +8093,13 @@ reference point and sorted by a user defined feature.") (define-public r-genomation (package (name "r-genomation") - (version "1.12.0") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "genomation" version)) (sha256 (base32 - "1vdmdyrq0n7pf8cvy2950v7hrcrcbd9zl4fg7dcmyly3iiwdyirp")))) + "0g0v4alfpqlinqinjnyzl3mrjnpbdx9ri34mcaiqbvbvg8ic8wvg")))) (build-system r-build-system) (propagated-inputs `(("r-biostrings" ,r-biostrings) @@ -8086,7 +8139,7 @@ genomic intervals. In addition, it can use BAM or BigWig files as input.") (define-public r-genomationdata (package (name "r-genomationdata") - (version "1.10.0") + (version "1.14.0") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -8096,7 +8149,7 @@ genomic intervals. In addition, it can use BAM or BigWig files as input.") "genomationData_" version ".tar.gz")) (sha256 (base32 - "0h7g5x3kyb50qlblz5hc85lfm6n6f5nb68i146way3ggs04sqvla")))) + "10xyb8akjrhmak2i0mnv1agny2ipy364q9nlibyplpzc7vdb6bw7")))) (build-system r-build-system) ;; As this package provides little more than large data files, it doesn't ;; make sense to build substitutes. @@ -8114,7 +8167,7 @@ downloaded from Encode.") (define-public r-org-hs-eg-db (package (name "r-org-hs-eg-db") - (version "3.5.0") + (version "3.7.0") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -8124,7 +8177,7 @@ downloaded from Encode.") "org.Hs.eg.db_" version ".tar.gz")) (sha256 (base32 - "1v6wa5613cjq59xd7x1qz8lr9nb2abm9abl2cci1khrnrlpla927")))) + "1qxz9l80yg3qdqszs6dsscp7lrpfi1bgd0pxh9j7q34vprzwhdim")))) (properties `((upstream-name . "org.Hs.eg.db"))) (build-system r-build-system) @@ -8140,7 +8193,7 @@ on mapping using Entrez Gene identifiers.") (define-public r-org-ce-eg-db (package (name "r-org-ce-eg-db") - (version "3.5.0") + (version "3.7.0") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -8150,7 +8203,7 @@ on mapping using Entrez Gene identifiers.") "org.Ce.eg.db_" version ".tar.gz")) (sha256 (base32 - "02ggchixlmzywhsbr0h2ms4dravv7m5964cjxqcjxqs16vjwlbk9")))) + "1w5br1ss4ha8wv4v2saj7cmbjc2jw0dyj2f2y269l078z31wcnaz")))) (properties `((upstream-name . "org.Ce.eg.db"))) (build-system r-build-system) @@ -8166,7 +8219,7 @@ annotations for the genome of the model worm Caenorhabditis elegans.") (define-public r-org-dm-eg-db (package (name "r-org-dm-eg-db") - (version "3.5.0") + (version "3.7.0") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -8176,7 +8229,7 @@ annotations for the genome of the model worm Caenorhabditis elegans.") "org.Dm.eg.db_" version ".tar.gz")) (sha256 (base32 - "033qak1d3wwz17va0bh8z8p8arx0aw2va6gm1qfwsvdkj9cd9d7d")))) + "1pqjrzlyg72bjpy8zsxvaglc7jsv176bnyi87xdajmkvsgxpm7b3")))) (properties `((upstream-name . "org.Dm.eg.db"))) (build-system r-build-system) @@ -8192,7 +8245,7 @@ annotations for the genome of the model fruit fly Drosophila melanogaster.") (define-public r-org-mm-eg-db (package (name "r-org-mm-eg-db") - (version "3.5.0") + (version "3.7.0") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -8202,7 +8255,7 @@ annotations for the genome of the model fruit fly Drosophila melanogaster.") "org.Mm.eg.db_" version ".tar.gz")) (sha256 (base32 - "11q21p3ki4bn4hb3aix0g775l45l66jmas6m94nfhqqnpjhv4d6g")))) + "1i3nvrd3wjigf1rmgxq1p5xxc3p8v02h5gwi62s30rkrsyjjfjxx")))) (properties `((upstream-name . "org.Mm.eg.db"))) (build-system r-build-system) @@ -8218,14 +8271,14 @@ annotations for the genome of the model mouse Mus musculus.") (define-public r-seqlogo (package (name "r-seqlogo") - (version "1.46.0") + (version "1.48.0") (source (origin (method url-fetch) (uri (bioconductor-uri "seqLogo" version)) (sha256 (base32 - "16xvqcdknix9vjm8mrixi6nyfsr45jm844jh1x90m8044lwrsic1")))) + "022vr9ydwcivs7rw7kwj73gfk5gc7ckwa1q66vhd4kw9ylh70v68")))) (properties `((upstream-name . "seqLogo"))) (build-system r-build-system) (home-page "https://bioconductor.org/packages/seqLogo") @@ -8333,7 +8386,7 @@ in Biostrings objects.") (define-public r-txdb-mmusculus-ucsc-mm10-knowngene (package (name "r-txdb-mmusculus-ucsc-mm10-knowngene") - (version "3.4.0") + (version "3.4.4") (source (origin (method url-fetch) ;; We cannot use bioconductor-uri here because this tarball is @@ -8344,7 +8397,7 @@ in Biostrings objects.") version ".tar.gz")) (sha256 (base32 - "08gava9wsvpcqz51k2sni3pj03n5155v32d9riqbf305nbirqbkb")))) + "01lgxc1fx5nhlpbwjd5zqghkkbmh6axd98ikx4b0spv0jdg6gf39")))) (properties `((upstream-name . "TxDb.Mmusculus.UCSC.mm10.knownGene"))) (build-system r-build-system) @@ -8464,14 +8517,14 @@ Biostrings objects.") (define-public r-motifrg (package (name "r-motifrg") - (version "1.24.0") + (version "1.26.0") (source (origin (method url-fetch) (uri (bioconductor-uri "motifRG" version)) (sha256 (base32 - "0mxhyidkyd2zqahdbg69y20r550z78lvr1r3pbjymnwfg4hcfq1p")))) + "1wxww6i0jgyapqclcwy0zzf9kqjvrvylr89z7yhg1izi7jnw2fka")))) (properties `((upstream-name . "motifRG"))) (build-system r-build-system) (propagated-inputs @@ -8516,13 +8569,13 @@ two-dimensional genome scans.") (define-public r-zlibbioc (package (name "r-zlibbioc") - (version "1.26.0") + (version "1.28.0") (source (origin (method url-fetch) (uri (bioconductor-uri "zlibbioc" version)) (sha256 (base32 - "1rwr0mci8a712q0isavi4jmhm94gwivc4nr8j7r4kw05flp4g7gz")))) + "0bjvzy24kab7ank02cc1qk2ikcz4dllgf66wpsdl0d3zp4gn3l2h")))) (properties `((upstream-name . "zlibbioc"))) (build-system r-build-system) @@ -8558,14 +8611,14 @@ secondary structure and comparative analysis in R.") (define-public r-rhtslib (package (name "r-rhtslib") - (version "1.12.1") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Rhtslib" version)) (sha256 (base32 - "16ywnb8cmr2xabd1i21b92rfziw7xfbv25yv16ipw617p41wa39z")))) + "1h4q54f8za3aaxgy186zf2165sar5c3cgxkk44lq5hzx5pxkl5wn")))) (properties `((upstream-name . "Rhtslib"))) (build-system r-build-system) (propagated-inputs @@ -8585,14 +8638,14 @@ of other R packages who wish to make use of HTSlib.") (define-public r-bamsignals (package (name "r-bamsignals") - (version "1.12.1") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "bamsignals" version)) (sha256 (base32 - "141q3p4lzwiqk1mfxi8q1q84axjl0gyiqg59xd3sp4viny4jqmgv")))) + "19irfx1y1izf903vq59wxsdbf88g143zy9l89gxqawh7jfxds8w8")))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics) @@ -8615,41 +8668,33 @@ paired-end data.") (define-public r-rcas (package (name "r-rcas") - (version "1.6.0") + (version "1.8.0") (source (origin (method url-fetch) (uri (bioconductor-uri "RCAS" version)) (sha256 (base32 - "0vmn7a0rm2ban0kaxrf5danhss2r4hfhnwh5889fjcgqy300fdd5")))) + "0ss5hcg2m7gjji6dd23zxa5bd5a7knwcnada4qs5q2l4clgk39ad")))) (build-system r-build-system) - (native-inputs - `(("r-testthat" ,r-testthat) - ;; During vignette building knitr checks that "pandoc-citeproc" - ;; is in the PATH. - ("ghc-pandoc-citeproc" ,ghc-pandoc-citeproc))) (propagated-inputs - `(("r-biocgenerics" ,r-biocgenerics) + `(("r-annotationdbi" ,r-annotationdbi) + ("r-biocgenerics" ,r-biocgenerics) ("r-biomart" ,r-biomart) ("r-biostrings" ,r-biostrings) ("r-bsgenome-hsapiens-ucsc-hg19" ,r-bsgenome-hsapiens-ucsc-hg19) - ("r-bsgenome-mmusculus-ucsc-mm9" ,r-bsgenome-mmusculus-ucsc-mm9) - ("r-bsgenome-celegans-ucsc-ce10" ,r-bsgenome-celegans-ucsc-ce10) - ("r-bsgenome-dmelanogaster-ucsc-dm3" ,r-bsgenome-dmelanogaster-ucsc-dm3) ("r-cowplot" ,r-cowplot) ("r-data-table" ,r-data-table) ("r-dbi" ,r-dbi) ("r-dt" ,r-dt) ("r-genomation" ,r-genomation) + ("r-genomeinfodb" ,r-genomeinfodb) ("r-genomicfeatures" ,r-genomicfeatures) + ("r-genomicranges" ,r-genomicranges) ("r-ggplot2" ,r-ggplot2) ("r-ggseqlogo" ,r-ggseqlogo) ("r-knitr" ,r-knitr) ("r-motifrg" ,r-motifrg) ("r-org-hs-eg-db" ,r-org-hs-eg-db) - ("r-org-ce-eg-db" ,r-org-ce-eg-db) - ("r-org-dm-eg-db" ,r-org-dm-eg-db) - ("r-org-mm-eg-db" ,r-org-mm-eg-db) ("r-pbapply" ,r-pbapply) ("r-pheatmap" ,r-pheatmap) ("r-plotly" ,r-plotly) @@ -8715,14 +8760,14 @@ library implementing most of the pipeline's features.") (define-public r-mutationalpatterns (package (name "r-mutationalpatterns") - (version "1.6.1") + (version "1.8.0") (source (origin (method url-fetch) (uri (bioconductor-uri "MutationalPatterns" version)) (sha256 (base32 - "1yq7351j42mjxn8fd3c5bdxzb2l5s4lvqhjdvv4rwj4f600n6wj9")))) + "0w9lg1zs106h6rqvy8mhikq6q6q9syw6c1prcxr38ssh85rcih12")))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics) @@ -8753,14 +8798,14 @@ in SNV base substitution data.") (define-public r-wgcna (package (name "r-wgcna") - (version "1.63") + (version "1.66") (source (origin (method url-fetch) (uri (cran-uri "WGCNA" version)) (sha256 (base32 - "1225dqm68bynkmklnsxdqdd3zqrpzbvqwyly8ibxmk75z33xz309")))) + "0rhnyhzfn93yp24jz9v6dzrmyizwzdw070a7idm0k33w1cm8sjqv")))) (properties `((upstream-name . "WGCNA"))) (build-system r-build-system) (propagated-inputs @@ -8831,13 +8876,14 @@ Sequences.") (version "1.1.4") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ManuSetty/SeqGL/" - "archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ManuSetty/SeqGL.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0pnk1p3sci5yipyc8xnb6jbmydpl80fld927xgnbcv104hy8h8yh")))) + "1r6ywvhxl3ffv48lgj7sbd582mcc6dha3ksgc2qjlvjrnkbj3799")))) (build-system r-build-system) (propagated-inputs `(("r-biostrings" ,r-biostrings) @@ -8891,13 +8937,13 @@ kernels, including: gkmSVM, kmer-SVM, mismatch kernel and wildcard kernel.") (define-public r-tximport (package (name "r-tximport") - (version "1.8.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "tximport" version)) (sha256 (base32 - "1qjc7ah9dzccpvcjrp9k4qnaz13x6kvy1c1xpdj503km6k528lip")))) + "0za2js8hqjgz8ria09cglynffj4w9vrzg85nmn1xgpvmc1xk813h")))) (build-system r-build-system) (home-page "https://bioconductor.org/packages/tximport") (synopsis "Import and summarize transcript-level estimates for gene-level analysis") @@ -8913,13 +8959,13 @@ of gene-level counts.") (define-public r-rhdf5 (package (name "r-rhdf5") - (version "2.24.0") + (version "2.26.0") (source (origin (method url-fetch) (uri (bioconductor-uri "rhdf5" version)) (sha256 (base32 - "15cmmchhk8bnp94gxg0zk9qyzdjx5kv16dzpbnb62mkq7ydmifx6")))) + "0xmpkfdsmgl79ffffj7cf9fx3zxki2rk0xn25k778kr3s0sbmhis")))) (build-system r-build-system) (propagated-inputs `(("r-rhdf5lib" ,r-rhdf5lib))) @@ -8940,13 +8986,13 @@ the available RAM.") (define-public r-annotationfilter (package (name "r-annotationfilter") - (version "1.4.0") + (version "1.6.0") (source (origin (method url-fetch) (uri (bioconductor-uri "AnnotationFilter" version)) (sha256 (base32 - "1w8ypfdz4g7vnwfrvnhjcpm8waciqyq2cn883ajdwg4vv7a5mj9a")))) + "0wrr10cxjzmxx46vjzq2nsf6xlqz1sqwx4xm0sk3d77ff8wmph4x")))) (properties `((upstream-name . "AnnotationFilter"))) (build-system r-build-system) @@ -8999,7 +9045,7 @@ AM_CONDITIONAL(AMPNG, true)")) (("\\$\\(bindir\\)/embossupdate") "")) #t)) (add-after 'disable-update-check 'autogen - (lambda _ (zero? (system* "autoreconf" "-vif"))))))) + (lambda _ (invoke "autoreconf" "-vif") #t))))) (inputs `(("perl" ,perl) ("libpng" ,libpng) @@ -9172,12 +9218,14 @@ group or two ChIP groups run under different conditions.") (name "filevercmp") (version (string-append "0-1." (string-take commit 7))) (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ekg/filevercmp/archive/" - commit ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0yp5jswf5j2pqc6517x277s4s6h1ss99v57kxw9gy0jkfl3yh450")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ekg/filevercmp.git") + (commit commit))) + (file-name (git-file-name name commit)) + (sha256 + (base32 + "1j9vxsy0y050v59h0q1d6501fcw1kjvj0d18l1xk2zyg0jzj247c")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; There are no tests to run. @@ -9187,7 +9235,8 @@ group or two ChIP groups run under different conditions.") (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (install-file "filevercmp" bin))))))) + (install-file "filevercmp" bin) + #t)))))) (home-page "https://github.com/ekg/filevercmp") (synopsis "This program compares version strings") (description "This program compares version strings. It intends to be a @@ -9243,14 +9292,14 @@ common bioinformatics tools.") (define-public r-chipseq (package (name "r-chipseq") - (version "1.30.0") + (version "1.32.0") (source (origin (method url-fetch) (uri (bioconductor-uri "chipseq" version)) (sha256 (base32 - "09f8dgl5ni75qkf7nvvppwr3irpplv4xb3ks59ld7l8i2mplcrx7")))) + "1pp1rm5fs3hlar5x4dl3a3b4gara7qwf81dbvka6r1n78hrf9x1b")))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics) @@ -9295,14 +9344,14 @@ GenomicRanges Bioconductor package.") (define-public r-copywriter (package (name "r-copywriter") - (version "2.12.0") + (version "2.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "CopywriteR" version)) (sha256 (base32 - "0b7xwq1va2zclb54f07c5ipmmq4iv2hrlph3j93jz5hmyayv50z3")))) + "0aamxafdk98n7s92jyqs65d6ljpnc2463vanvsw80p44qn6l6awn")))) (properties `((upstream-name . "CopywriteR"))) (build-system r-build-system) (propagated-inputs @@ -9335,13 +9384,13 @@ number detection tools.") (define-public r-methylkit (package (name "r-methylkit") - (version "1.6.1") + (version "1.8.0") (source (origin (method url-fetch) (uri (bioconductor-uri "methylKit" version)) (sha256 (base32 - "1hr2czi5ybdf7hdmqsv39d17f3mvmw94wa38bc14zzm9mgy9gfy7")))) + "0mz6lil1wax931incnw5byx0v9i8ryhwq9mv0nv8s48ai33ch3x6")))) (properties `((upstream-name . "methylKit"))) (build-system r-build-system) (propagated-inputs @@ -9381,14 +9430,14 @@ TAB-Seq.") (define-public r-sva (package (name "r-sva") - (version "3.28.0") + (version "3.30.0") (source (origin (method url-fetch) (uri (bioconductor-uri "sva" version)) (sha256 (base32 - "0a3jqbz0jp1jxrnjkqfpmca840yqcdwxprdl608bzzx2zb4jl52s")))) + "1xf0hlrqjxl0y3x13mrkxghiv39fd9v2g8gq3qzbf1wj7il6bph3")))) (build-system r-build-system) (propagated-inputs `(("r-genefilter" ,r-genefilter) @@ -9491,14 +9540,14 @@ as allowing spectra with different resolutions.") (define-public r-protgenerics (package (name "r-protgenerics") - (version "1.12.0") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ProtGenerics" version)) (sha256 (base32 - "05jbadw2aiwy8vi2ia0jxg06cmwhly2cq4dy1ag7kdxf1c5i9ccn")))) + "053mmxhzncqgigl2iqjlq56qzimlw2zzw31wpzw19rf7rld1vi3b")))) (properties `((upstream-name . "ProtGenerics"))) (build-system r-build-system) (home-page "https://github.com/lgatto/ProtGenerics") @@ -9511,14 +9560,14 @@ proteomics packages.") (define-public r-mzr (package (name "r-mzr") - (version "2.14.0") + (version "2.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "mzR" version)) (sha256 (base32 - "190m2bq5bqxhljaj4f7vz9wj5h5laaxd8zp5jampnql6xc4zmarg")) + "0li1y6p95ljiva4lvfmql9sipn4dq42sknbh60b36ycjppnf8lj5")) (modules '((guix build utils))) (snippet '(begin @@ -9540,11 +9589,11 @@ proteomics packages.") #t))))) (inputs `(("boost" ,boost) ; use this instead of the bundled boost sources - ("netcdf" ,netcdf) ("zlib" ,zlib))) (propagated-inputs `(("r-biobase" ,r-biobase) ("r-biocgenerics" ,r-biocgenerics) + ("r-ncdf4" ,r-ncdf4) ("r-protgenerics" ,r-protgenerics) ("r-rcpp" ,r-rcpp) ("r-rhdf5lib" ,r-rhdf5lib) @@ -9563,14 +9612,14 @@ previously been used in XCMS.") (define-public r-affyio (package (name "r-affyio") - (version "1.50.0") + (version "1.52.0") (source (origin (method url-fetch) (uri (bioconductor-uri "affyio" version)) (sha256 (base32 - "0sh5wnnchyfpq5n6rchbqmb27byn7kdzn5rgran6i39c81i5z22n")))) + "1s4zp1211vf0krxzch9v3q3r6vs8hihqppq18i2fpvwlknfja7c1")))) (build-system r-build-system) (propagated-inputs `(("r-zlibbioc" ,r-zlibbioc))) @@ -9587,20 +9636,20 @@ CDF file formats.") (define-public r-affy (package (name "r-affy") - (version "1.58.0") + (version "1.60.0") (source (origin (method url-fetch) (uri (bioconductor-uri "affy" version)) (sha256 (base32 - "0sxq875sigm21sf3qncrfrwfdz9nqw1vldxn3d3hj6aq64jg1ki6")))) + "0x8h4fk2igv7vykqfvf6v9whmx3344v5rf3gyfajd431xkjldz6k")))) (build-system r-build-system) (propagated-inputs `(("r-affyio" ,r-affyio) ("r-biobase" ,r-biobase) ("r-biocgenerics" ,r-biocgenerics) - ("r-biocinstaller" ,r-biocinstaller) + ("r-biocmanager" ,r-biocmanager) ("r-preprocesscore" ,r-preprocesscore) ("r-zlibbioc" ,r-zlibbioc))) (inputs @@ -9615,14 +9664,14 @@ analysis.") (define-public r-vsn (package (name "r-vsn") - (version "3.48.1") + (version "3.50.0") (source (origin (method url-fetch) (uri (bioconductor-uri "vsn" version)) (sha256 (base32 - "0k6mah3g3zqbfap31xmvig4fn452a18xwwa5y0mfj5mj8588p57h")))) + "1g6qkpykw99jm2wv2i61dg2ffwk0n8fm4s5pm2q4c024vw5c9b69")))) (build-system r-build-system) (propagated-inputs `(("r-affy" ,r-affy) @@ -9649,14 +9698,14 @@ and specific in detecting differential transcription.") (define-public r-mzid (package (name "r-mzid") - (version "1.18.0") + (version "1.20.0") (source (origin (method url-fetch) (uri (bioconductor-uri "mzID" version)) (sha256 (base32 - "060k0xlhg8q802c6zsb4b8ps0ccd9ybyaz0gnsvqkxb786i2vk40")))) + "08jbq223viwknsmsi30hyxyxslvmb0l4wx3vmqlkl6qk4vfmxzjz")))) (properties `((upstream-name . "mzID"))) (build-system r-build-system) (propagated-inputs @@ -9679,14 +9728,14 @@ specific parser.") (define-public r-pcamethods (package (name "r-pcamethods") - (version "1.72.0") + (version "1.74.0") (source (origin (method url-fetch) (uri (bioconductor-uri "pcaMethods" version)) (sha256 (base32 - "0v99yf8m7ryh6z0r3z0ggpqfnflcq5bn1q1i1cl9b7q4p6b4sa07")))) + "0ik82s9bsdj4a1mmv0a3k6yisa92mxx7maf3dvip1r8gqlm3dyng")))) (properties `((upstream-name . "pcaMethods"))) (build-system r-build-system) (propagated-inputs @@ -9709,14 +9758,14 @@ structure (pcaRes) to provide a common interface to the PCA results.") (define-public r-msnbase (package (name "r-msnbase") - (version "2.6.3") + (version "2.8.1") (source (origin (method url-fetch) (uri (bioconductor-uri "MSnbase" version)) (sha256 (base32 - "15jhqg02ypmznc0wxksw56yij02csy678vqy531fdv86fsmypwa0")))) + "0y658anh06vnvbkfs7r8q40gqgyqr2r8kj7jlpnp33fy1lvp1nv7")))) (properties `((upstream-name . "MSnbase"))) (build-system r-build-system) (propagated-inputs @@ -9752,14 +9801,14 @@ of mass spectrometry based proteomics data.") (define-public r-msnid (package (name "r-msnid") - (version "1.14.0") + (version "1.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "MSnID" version)) (sha256 (base32 - "172q5chi44104iz4y0g42wrimfp7hlhrfa8vzybx6m0ccrkkhl17")))) + "0hgq4argllhh5hvxqi8vkf1blc3nibsslhx4zsv2mcv4yj75bv4n")))) (properties `((upstream-name . "MSnID"))) (build-system r-build-system) (propagated-inputs @@ -9854,14 +9903,14 @@ discovery of differentially expressed genes and markers.") (define-public r-aroma-light (package (name "r-aroma-light") - (version "3.10.0") + (version "3.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "aroma.light" version)) (sha256 (base32 - "1dxsiwsrwcq9mj573f9vpdzrhagdqzal328ma8076px4gg6khxkn")))) + "0vfifgpqxjjncbiv6gvlk9jmj14j90r9f30bqk3ks9v1csjnjhrb")))) (properties `((upstream-name . "aroma.light"))) (build-system r-build-system) (propagated-inputs @@ -9881,14 +9930,14 @@ classes.") (define-public r-deseq (package (name "r-deseq") - (version "1.32.0") + (version "1.34.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DESeq" version)) (sha256 (base32 - "0ykxw8ksif026xy25wx50j2sdsrp156aqkmhcgfjkpgcw699glnm")))) + "1klv1xrh3173srywr6dnq6i7m9djn4gc9aflr1p3a6yjlqcq6fya")))) (properties `((upstream-name . "DESeq"))) (build-system r-build-system) (propagated-inputs @@ -9912,14 +9961,14 @@ distribution.") (define-public r-edaseq (package (name "r-edaseq") - (version "2.14.1") + (version "2.16.0") (source (origin (method url-fetch) (uri (bioconductor-uri "EDASeq" version)) (sha256 (base32 - "0970w9d5ddqw1qxqqafdidkxh6hmcv9j5djwgnpz3fgl05kmysg8")))) + "1gjqzn1kg9qwyz2gwjyy9xzzr1lnc7xd5zwdyvzkadz97gckzxwf")))) (properties `((upstream-name . "EDASeq"))) (build-system r-build-system) (propagated-inputs @@ -9950,14 +9999,14 @@ global-scaling and full-quantile normalization.") (define-public r-interactivedisplaybase (package (name "r-interactivedisplaybase") - (version "1.18.0") + (version "1.20.0") (source (origin (method url-fetch) (uri (bioconductor-uri "interactiveDisplayBase" version)) (sha256 (base32 - "05w58z3i9vkma4jd6rhjaxls4yiq4kwrppgcdq9xrr1pxp99k575")))) + "04xz3dkwan2s5ic1mwkdfnggm0l41mgqfagx160bcsrpkw6z7ark")))) (properties `((upstream-name . "interactiveDisplayBase"))) (build-system r-build-system) @@ -9974,20 +10023,20 @@ Shiny-based display methods for Bioconductor objects.") (define-public r-annotationhub (package (name "r-annotationhub") - (version "2.12.1") + (version "2.14.1") (source (origin (method url-fetch) (uri (bioconductor-uri "AnnotationHub" version)) (sha256 (base32 - "02ls279k1qlch147vw8kwvlhcqyzvi495bgv110m0xnnbpgbln6g")))) + "00288x3na0izpmbcvsqac1br1qwry86vwc2slj1l47crdfb7za6c")))) (properties `((upstream-name . "AnnotationHub"))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) ("r-biocgenerics" ,r-biocgenerics) - ("r-biocinstaller" ,r-biocinstaller) + ("r-biocmanager" ,r-biocmanager) ("r-curl" ,r-curl) ("r-httr" ,r-httr) ("r-interactivedisplaybase" ,r-interactivedisplaybase) @@ -10009,14 +10058,14 @@ by the user, helping with quick and reproducible access.") (define-public r-fastseg (package (name "r-fastseg") - (version "1.26.0") + (version "1.28.0") (source (origin (method url-fetch) (uri (bioconductor-uri "fastseg" version)) (sha256 (base32 - "1yw6hai6hb8qy7akdm4frfp6h4zy93zb68kdj094sanm7kgqmgik")))) + "1l8mdjpfpgwqdss2ywjkb8b4h55wf8v6kmyxdlvy04ds2hj16sb1")))) (build-system r-build-system) (propagated-inputs `(("r-biobase" ,r-biobase) @@ -10039,14 +10088,14 @@ microarrays or GRanges for sequencing data.") (define-public r-keggrest (package (name "r-keggrest") - (version "1.20.1") + (version "1.22.0") (source (origin (method url-fetch) (uri (bioconductor-uri "KEGGREST" version)) (sha256 (base32 - "1ss0xd5570x570v01r6lp64rr1apjrzp0j62520pvm3g8knjhfvs")))) + "0blpd5a7whd2sswfhqd17h58hg06ymaf80gapdr9ja43hnnlj309")))) (properties `((upstream-name . "KEGGREST"))) (build-system r-build-system) (propagated-inputs @@ -10063,14 +10112,14 @@ microarrays or GRanges for sequencing data.") (define-public r-gage (package (name "r-gage") - (version "2.30.0") + (version "2.32.0") (source (origin (method url-fetch) (uri (bioconductor-uri "gage" version)) (sha256 (base32 - "0j3cqxy97lpf146wkmdfaq9680gicmzxvhp6w5pxq3j7ipiy7262")))) + "07b098wvryxf0zd423nk6h52s3gyngwjcx2vplqybpbpgl8h2931")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -10092,14 +10141,14 @@ analysis using other methods.") (define-public r-genomicfiles (package (name "r-genomicfiles") - (version "1.16.0") + (version "1.18.0") (source (origin (method url-fetch) (uri (bioconductor-uri "GenomicFiles" version)) (sha256 (base32 - "0bhsq5czigrjyl9gkb2kpkpl367b3ac5g8s280adkcxggn9g7sxq")))) + "0qf2yj4lfnnk64fk125n8sqms01shfqiik04nasx2z3k129ykpxp")))) (properties `((upstream-name . "GenomicFiles"))) (build-system r-build-system) (propagated-inputs @@ -10125,14 +10174,14 @@ provide added flexibility for data combination and manipulation.") (define-public r-complexheatmap (package (name "r-complexheatmap") - (version "1.18.1") + (version "1.20.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ComplexHeatmap" version)) (sha256 (base32 - "0qjwz1hzpjnc90jiinjkikfnr0shi72q3zfdjjz7pxydy0mglq8n")))) + "0s01dzcfj1lmpqfpsbqw7r4858krfzy499lz4cwx4fq3mbyvy2aj")))) (properties `((upstream-name . "ComplexHeatmap"))) (build-system r-build-system) @@ -10155,14 +10204,14 @@ self-defined annotation graphics.") (define-public r-dirichletmultinomial (package (name "r-dirichletmultinomial") - (version "1.22.0") + (version "1.24.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DirichletMultinomial" version)) (sha256 (base32 - "0vcyp81b90in4ls5nbadc66cw2g9aydr94aqifq5j4b7diq74yfs")))) + "19bzn0a5jal1xv0ad6wikxc7wrk582hczqamlln0vb2ffwkj1z3f")))) (properties `((upstream-name . "DirichletMultinomial"))) (build-system r-build-system) @@ -10184,14 +10233,14 @@ originally made available by Holmes, Harris, and Quince, 2012, PLoS ONE 7(2): (define-public r-ensembldb (package (name "r-ensembldb") - (version "2.4.1") + (version "2.6.2") (source (origin (method url-fetch) (uri (bioconductor-uri "ensembldb" version)) (sha256 (base32 - "1l2b4cxiycv05mz4z4f3dhx57r9ksha02psc114h30ldm5rxz8w6")))) + "0hdz1f34v7sas2v4225icwl3wd4sf17ykpd5dkbx1hc7wcy4w3np")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -10227,21 +10276,21 @@ chromosome region or transcript models of lincRNA genes.") (define-public r-organismdbi (package (name "r-organismdbi") - (version "1.22.0") + (version "1.24.0") (source (origin (method url-fetch) (uri (bioconductor-uri "OrganismDbi" version)) (sha256 (base32 - "0hb9ni41bjfy5s5ryw2qmqs2sx3i7j47w1g0l8g1pvn7ppnxb6cv")))) + "11pyv56cy4iy095h40k6k0mpjdlh6gsb4ld3s57nfa9nd4ypx3yi")))) (properties `((upstream-name . "OrganismDbi"))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) ("r-biobase" ,r-biobase) ("r-biocgenerics" ,r-biocgenerics) - ("r-biocinstaller" ,r-biocinstaller) + ("r-biocmanager" ,r-biocmanager) ("r-dbi" ,r-dbi) ("r-genomicfeatures" ,r-genomicfeatures) ("r-genomicranges" ,r-genomicranges) @@ -10259,14 +10308,14 @@ the fact that each of these packages implements a select methods.") (define-public r-biovizbase (package (name "r-biovizbase") - (version "1.28.2") + (version "1.30.0") (source (origin (method url-fetch) (uri (bioconductor-uri "biovizBase" version)) (sha256 (base32 - "0wc45j3hfn01i44bkkxjj3n8b8xzbkkcdv35mrkzb1f9yprkf8gq")))) + "0v54mcn3rnnfx8dmcrms5z3rgq19n3hp4r23azlgzwq6hjw7cccx")))) (properties `((upstream-name . "biovizBase"))) (build-system r-build-system) (propagated-inputs @@ -10301,14 +10350,14 @@ effort and encourages consistency.") (define-public r-ggbio (package (name "r-ggbio") - (version "1.28.5") + (version "1.30.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ggbio" version)) (sha256 (base32 - "19s2v40fycwf44fl3lm791y635xzw67b30sq2g0qq4a6phjik42d")))) + "0wq49qqzkcn8s19xgaxf2s1j1a563d7pbhhvris6fhxfdjsz4934")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -10354,14 +10403,14 @@ interval to data view, mismatch pileup, and several splicing summaries.") (define-public r-gprofiler (package (name "r-gprofiler") - (version "0.6.6") + (version "0.6.7") (source (origin (method url-fetch) (uri (cran-uri "gProfileR" version)) (sha256 (base32 - "1n6cj12j102b4x9vhyl4dljp1i0r43p23cnhqbx4als2xfxdlqgi")))) + "12nwidbnqmnfy5dnqga26byslvdnkrpz2fi19qfcby6xx0wbndk7")))) (properties `((upstream-name . "gProfileR"))) (build-system r-build-system) (propagated-inputs @@ -10378,14 +10427,14 @@ organisms via the @code{g:Profiler} toolkit.") (define-public r-gqtlbase (package (name "r-gqtlbase") - (version "1.12.0") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "gQTLBase" version)) (sha256 (base32 - "1m3ajpqjhw1nwwsn372r44xfxq0a9a0pzsnrprzdjp6mh52p9b5m")))) + "1lbk1m1mkvbk30flk5pf3pcrnm2s0sj5r48kbjgad39dsvd8zgqx")))) (properties `((upstream-name . "gQTLBase"))) (build-system r-build-system) (propagated-inputs @@ -10413,14 +10462,14 @@ and more.") (define-public r-snpstats (package (name "r-snpstats") - (version "1.30.0") + (version "1.32.0") (source (origin (method url-fetch) (uri (bioconductor-uri "snpStats" version)) (sha256 (base32 - "0iydgfnm053iw860qa1bbh4f6nwzlsf3vhgq92gvl2v4xsz1jbbs")))) + "1pplx4pf9bqi7v5v1l74yknc1s61carvbqkf327ky7vbvp0bck33")))) (properties `((upstream-name . "snpStats"))) (build-system r-build-system) (inputs `(("zlib" ,zlib))) @@ -10472,14 +10521,14 @@ several related annotation packages.") (define-public r-erma (package (name "r-erma") - (version "0.12.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "erma" version)) (sha256 (base32 - "1ka68n18yizlyvb8bpwwcl4hqbsasg8hw8jb3vgy3cd4szji87hh")))) + "0hj9iz904rr1y66442lkxjywkw1ydyxxlhmjirawbf09ic5ad4g9")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -10510,14 +10559,14 @@ by Ernst and Kellis.") (define-public r-ldblock (package (name "r-ldblock") - (version "1.10.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (bioconductor-uri "ldblock" version)) (sha256 (base32 - "0c24zvnwsp39d3q0bps13sc441jj9ms2zi34xsb8c392lqmbypvd")))) + "0xbf4pmhrk5fnd1iz5wzjvdr75v114bwpznhcig4wiqmxc27sips")))) (build-system r-build-system) (propagated-inputs `(("r-biocgenerics" ,r-biocgenerics) @@ -10542,14 +10591,14 @@ defining LD blocks.") (define-public r-gqtlstats (package (name "r-gqtlstats") - (version "1.12.0") + (version "1.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "gQTLstats" version)) (sha256 (base32 - "19g8qhfgngdc14cw9k4i44cxhs3qva87x56gjzmn25k1yj8qgsp1")))) + "1sg9kw59dlayj7qxql9pd93d4hmml504sa3kkfpzfh3xri7m5pxf")))) (properties `((upstream-name . "gQTLstats"))) (build-system r-build-system) (propagated-inputs @@ -10596,14 +10645,14 @@ family of feature/genome hypotheses.") (define-public r-gviz (package (name "r-gviz") - (version "1.24.0") + (version "1.26.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Gviz" version)) (sha256 (base32 - "1fhli7ahkl5r43j0hc89ib41mfadj6qyrg36i03ncz8zs6iqwpx4")))) + "05zk9hf30afg6rjg97lzn5v8xij90v8zm09y9vcz0asmc3c8xs0a")))) (properties `((upstream-name . "Gviz"))) (build-system r-build-system) (propagated-inputs @@ -10642,14 +10691,14 @@ with your data.") (define-public r-gwascat (package (name "r-gwascat") - (version "2.12.0") + (version "2.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "gwascat" version)) (sha256 (base32 - "08ba9il4vbjjwlbwmqg4ai6ya1p09js9agn95sw0dhc9gqln42hx")))) + "1fnyjydhicq4ayrv0lqjv48h9bd72h40s6l82g1h2ng0icwz38g0")))) (build-system r-build-system) (propagated-inputs `(("r-annotationdbi" ,r-annotationdbi) @@ -10682,13 +10731,13 @@ EMBL-EBI GWAS catalog.") (define-public r-sushi (package (name "r-sushi") - (version "1.18.0") + (version "1.20.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Sushi" version)) (sha256 (base32 - "1m15hmg4k0qhshyn65xfj5hx7xbaf0kxqw70lxisak6pj1w00l41")))) + "0dv5di0hgbvk9cxnqhyf18mdjl50k6bk00a89r6zgp83rbxwr1r8")))) (properties `((upstream-name . "Sushi"))) (build-system r-build-system) (propagated-inputs @@ -10704,13 +10753,13 @@ visualizations for publication-quality multi-panel figures.") (define-public r-fithic (package (name "r-fithic") - (version "1.6.0") + (version "1.8.0") (source (origin (method url-fetch) (uri (bioconductor-uri "FitHiC" version)) (sha256 (base32 - "06w4q836bi1mvkbl1saghv4r5p4hxpjg8cp7kgad13ls450kqmyd")))) + "15xd8mz7660q4zr9p74mq1pqps4iz7pxp8f9ifn21gwg94aq1avn")))) (properties `((upstream-name . "FitHiC"))) (build-system r-build-system) (propagated-inputs @@ -10728,13 +10777,13 @@ assays such as Hi-C.") (define-public r-hitc (package (name "r-hitc") - (version "1.24.0") + (version "1.26.0") (source (origin (method url-fetch) (uri (bioconductor-uri "HiTC" version)) (sha256 (base32 - "0qkk5139f51lwwy1yh7nbkflh5d69prirmhniwam34nlg9rzjm2z")))) + "11f96k1707g6milpjgnrjf3b5r42hsrxhb5d8znkcr3y3mrskdbj")))) (properties `((upstream-name . "HiTC"))) (build-system r-build-system) (propagated-inputs @@ -10757,14 +10806,14 @@ provided.") (define-public r-qvalue (package (name "r-qvalue") - (version "2.12.0") + (version "2.14.0") (source (origin (method url-fetch) (uri (bioconductor-uri "qvalue" version)) (sha256 (base32 - "1ndwkj0hh7v4lwylq1v0fkxqs7mfmbcj8kxbdpj1wkvf131z2ns8")))) + "03qxshqwwq1rj23p6pjrz08jm3ziikvy9badi4mz2rcwy2nz783a")))) (build-system r-build-system) (propagated-inputs `(("r-ggplot2" ,r-ggplot2) @@ -10786,14 +10835,14 @@ problems in genomics, brain imaging, astrophysics, and data mining.") (define-public r-hdf5array (package (name "r-hdf5array") - (version "1.8.1") + (version "1.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "HDF5Array" version)) (sha256 (base32 - "1s44zgm9jg82bk4b8k3dh7xw7mxychlfm3grs8516mxnw91zpvy5")))) + "1w7ad8cfsbh5xx82m3l4lc0vbmj9lcsqxxpiy3ana2ycgn1bqv3g")))) (properties `((upstream-name . "HDF5Array"))) (build-system r-build-system) (propagated-inputs @@ -10812,14 +10861,20 @@ block processing.") (define-public r-rhdf5lib (package (name "r-rhdf5lib") - (version "1.2.1") + (version "1.4.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Rhdf5lib" version)) (sha256 (base32 - "1y59acac6v8hrhv84gghn9ifsni9xxxacaj177rrl4frmkrz4x3c")))) + "01gpz780g850ql20b2ql6pvr678ydk4nq4sn5iiih94a4crb9lz1")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete bundled binaries + (delete-file-recursively "src/winlib/") + #t)))) (properties `((upstream-name . "Rhdf5lib"))) (build-system r-build-system) (arguments @@ -10836,7 +10891,7 @@ block processing.") "'%s/libhdf5.a %s/libhdf5.a -lz'")) (with-directory-excursion "src" (invoke "tar" "xvf" (assoc-ref inputs "hdf5-source")) - (rename-file (string-append "hdf5-" ,(package-version hdf5)) + (rename-file (string-append "hdf5-" ,(package-version hdf5-1.10)) "hdf5") ;; Remove timestamp and host system information to make ;; the build reproducible. @@ -10865,9 +10920,9 @@ block processing.") (inputs `(("zlib" ,zlib))) (propagated-inputs - `(("hdf5" ,hdf5))) + `(("hdf5" ,hdf5-1.10))) (native-inputs - `(("hdf5-source" ,(package-source hdf5)))) + `(("hdf5-source" ,(package-source hdf5-1.10)))) (home-page "https://bioconductor.org/packages/Rhdf5lib") (synopsis "HDF5 library as an R package") (description "This package provides C and C++ HDF5 libraries for use in R @@ -10877,20 +10932,21 @@ packages.") (define-public r-beachmat (package (name "r-beachmat") - (version "1.2.1") + (version "1.4.0") (source (origin (method url-fetch) (uri (bioconductor-uri "beachmat" version)) (sha256 (base32 - "1w90v0jx1zgrfxzx99gdkk0dz2vi25hr51jml1bvq33i64rj7996")))) + "07zgmms0qg8gw7x0js46965bbhpfj2aa1h5ixdz9r332bxv9cdmr")))) (build-system r-build-system) (inputs `(("hdf5" ,hdf5) ("zlib" ,zlib))) (propagated-inputs - `(("r-delayedarray" ,r-delayedarray) + `(("r-biocgenerics" ,r-biocgenerics) + ("r-delayedarray" ,r-delayedarray) ("r-hdf5array" ,r-hdf5array) ("r-rcpp" ,r-rcpp) ("r-rhdf5" ,r-rhdf5) @@ -10905,14 +10961,14 @@ matrices.") (define-public r-singlecellexperiment (package (name "r-singlecellexperiment") - (version "1.2.0") + (version "1.4.0") (source (origin (method url-fetch) (uri (bioconductor-uri "SingleCellExperiment" version)) (sha256 (base32 - "0mz3chia250v8v6q8r5cqv5fc4bpcw1hhrfr3p7l5i4xi85scpka")))) + "19r4r7djrn46qlijkj1g926vcklxzcrxjlxv6cg43m9j9jgfs3dj")))) (properties `((upstream-name . "SingleCellExperiment"))) (build-system r-build-system) @@ -10932,39 +10988,31 @@ libraries.") (define-public r-scater (package (name "r-scater") - (version "1.8.4") + (version "1.10.0") (source (origin (method url-fetch) (uri (bioconductor-uri "scater" version)) (sha256 (base32 - "173lfpas2fqsp4xxsw01wkxd4496c5p8himw9b4r9z4npxkfyv16")))) + "1kwa9n70c5j0xcj6nkmlkzjr63cnj78mp8nhg58n07fq1ijm4ns3")))) (build-system r-build-system) (propagated-inputs `(("r-beachmat" ,r-beachmat) - ("r-biobase" ,r-biobase) ("r-biocgenerics" ,r-biocgenerics) - ("r-data-table" ,r-data-table) + ("r-biocparallel" ,r-biocparallel) ("r-delayedarray" ,r-delayedarray) ("r-delayedmatrixstats" ,r-delayedmatrixstats) ("r-dplyr" ,r-dplyr) - ("r-edger" ,r-edger) ("r-ggbeeswarm" ,r-ggbeeswarm) ("r-ggplot2" ,r-ggplot2) - ("r-limma" ,r-limma) ("r-matrix" ,r-matrix) ("r-plyr" ,r-plyr) ("r-rcpp" ,r-rcpp) ("r-reshape2" ,r-reshape2) - ("r-rhdf5" ,r-rhdf5) ("r-rhdf5lib" ,r-rhdf5lib) - ("r-rjson" ,r-rjson) ("r-s4vectors" ,r-s4vectors) - ("r-shiny" ,r-shiny) - ("r-shinydashboard" ,r-shinydashboard) ("r-singlecellexperiment" ,r-singlecellexperiment) ("r-summarizedexperiment" ,r-summarizedexperiment) - ("r-tximport" ,r-tximport) ("r-viridis" ,r-viridis))) (home-page "https://github.com/davismcc/scater") (synopsis "Single-cell analysis toolkit for gene expression data in R") @@ -10976,26 +11024,24 @@ quality control.") (define-public r-scran (package (name "r-scran") - (version "1.8.4") + (version "1.10.1") (source (origin (method url-fetch) (uri (bioconductor-uri "scran" version)) (sha256 (base32 - "17vq9vb9ak7n4mcqpwnm9x3z91vmr7xnsgj8f45b8dbj7m0v126j")))) + "1viyzrwfm9vccsf54c6g7k1dn7skkfx4ml1jy12q67wa20sx8l03")))) (build-system r-build-system) (propagated-inputs `(("r-beachmat" ,r-beachmat) ("r-biocgenerics" ,r-biocgenerics) + ("r-biocneighbors" ,r-biocneighbors) ("r-biocparallel" ,r-biocparallel) ("r-delayedarray" ,r-delayedarray) ("r-delayedmatrixstats" ,r-delayedmatrixstats) - ("r-dt" ,r-dt) ("r-dynamictreecut" ,r-dynamictreecut) ("r-edger" ,r-edger) - ("r-fnn" ,r-fnn) - ("r-ggplot2" ,r-ggplot2) ("r-igraph" ,r-igraph) ("r-limma" ,r-limma) ("r-matrix" ,r-matrix) @@ -11003,11 +11049,9 @@ quality control.") ("r-rhdf5lib" ,r-rhdf5lib) ("r-s4vectors" ,r-s4vectors) ("r-scater" ,r-scater) - ("r-shiny" ,r-shiny) ("r-singlecellexperiment" ,r-singlecellexperiment) ("r-statmod" ,r-statmod) - ("r-summarizedexperiment" ,r-summarizedexperiment) - ("r-viridis" ,r-viridis))) + ("r-summarizedexperiment" ,r-summarizedexperiment))) (home-page "https://bioconductor.org/packages/scran") (synopsis "Methods for single-cell RNA-Seq data analysis") (description "This package implements a variety of low-level analyses of @@ -11019,19 +11063,21 @@ variable and significantly correlated genes.") (define-public r-delayedmatrixstats (package (name "r-delayedmatrixstats") - (version "1.2.0") + (version "1.4.0") (source (origin (method url-fetch) (uri (bioconductor-uri "DelayedMatrixStats" version)) (sha256 (base32 - "1dasghfy8x27zzmd0igag4mc1gxxxbchsl4hpc1050dj3wnw9w3y")))) + "03fk2avl1vyjv2wslczkc82qr0zmp1ra8iimd47pbmnnm839ly4w")))) (properties `((upstream-name . "DelayedMatrixStats"))) (build-system r-build-system) (propagated-inputs - `(("r-delayedarray" ,r-delayedarray) + `(("r-biocparallel" ,r-biocparallel) + ("r-delayedarray" ,r-delayedarray) + ("r-hdf5array" ,r-hdf5array) ("r-iranges" ,r-iranges) ("r-matrix" ,r-matrix) ("r-matrixstats" ,r-matrixstats) @@ -11130,7 +11176,7 @@ droplet sequencing. It has been particularly tailored for Drop-seq.") (define-public sambamba (package (name "sambamba") - (version "0.6.7-10-g223fa20") + (version "0.6.8") (source (origin (method git-fetch) @@ -11140,7 +11186,7 @@ droplet sequencing. It has been particularly tailored for Drop-seq.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1zb9hrxglxqh13ava9wwri30cvf85hjnbn8ccnr8l60a3k5avczn")))) + "0k0cz3qcv98p6cq09zlbgnjsggxcqbcmzxg5zikgcgbr2nfq4lry")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; there is no test target @@ -11151,9 +11197,10 @@ droplet sequencing. It has been particularly tailored for Drop-seq.") (add-after 'unpack 'fix-ldc-version (lambda _ (substitute* "gen_ldc_version_info.py" - (("/usr/bin/env.*") (which "python"))) + (("/usr/bin/env.*") (which "python3"))) (substitute* "Makefile" - (("\\$\\(shell which ldmd2\\)") (which "ldmd2"))) + ;; We use ldc2 instead of ldmd2 to compile sambamba. + (("\\$\\(shell which ldmd2\\)") (which "ldc2"))) #t)) (add-after 'unpack 'place-biod-and-undead (lambda* (#:key inputs #:allow-other-keys) @@ -11165,21 +11212,21 @@ droplet sequencing. It has been particularly tailored for Drop-seq.") (substitute* "Makefile" (("htslib/libhts.a lz4/lib/liblz4.a") "-L-lhts -L-llz4") - ((" htslib-static lz4-static") "")) + ((" lz4-static htslib-static") "")) #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin"))) (mkdir-p bin) - (install-file "build/sambamba" bin) + (install-file "bin/sambamba" bin) #t)))))) (native-inputs `(("ldc" ,ldc) ("rdmd" ,rdmd) - ("python" ,python2-minimal) + ("python" ,python-minimal) ("biod" - ,(let ((commit "c778e4f2d8bacea7499283ce39f5577b232732c6")) + ,(let ((commit "4f1a7d2fb7ef3dfe962aa357d672f354ebfbe42e")) (origin (method git-fetch) (uri (git-reference @@ -11190,20 +11237,20 @@ droplet sequencing. It has been particularly tailored for Drop-seq.") "-checkout")) (sha256 (base32 - "1z90562hg47i63gx042wb3ak2vqjg5z7hwgn9bp2pdxfg3nxrw37"))))) + "1k5pdjv1qvi0a3rwd1sfq6zbj37l86i7bf710m4c0y6737lxj426"))))) ("undead" - ,(let ((commit "92803d25c88657e945511f0976a0c79d8da46e89")) + ,(let ((commit "9be93876982b5f14fcca60832563b3cd767dd84d")) (origin (method git-fetch) (uri (git-reference - (url "https://github.com/dlang/undeaD.git") + (url "https://github.com/biod/undeaD.git") (commit commit))) (file-name (string-append "undead-" (string-take commit 9) "-checkout")) (sha256 (base32 - "0vq6n81vzqvgphjw54lz2isc1j8lcxwjdbrhqz1h5gwrvw9w5138"))))))) + "1xfarj0nqlmi5jd1vmcmm7pabzaf9hxyvk6hp0d6jslb5k9r8r3d"))))))) (inputs `(("lz4" ,lz4) ("htslib" ,htslib-for-sambamba))) @@ -11219,16 +11266,16 @@ sort, markdup, and depth.") (define-public ritornello (package (name "ritornello") - (version "1.0.0") + (version "2.0.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/KlugerLab/" - "Ritornello/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/KlugerLab/Ritornello.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "02nik86gq9ljjriv6pamwlmqnfky3ads1fpklx6mc3hx6k40pg38")))) + "1xahvq215qld7x1w8vpa5zbrsj6p9crb9shqa2x89sb0aaxa02jk")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; there are no tests @@ -11237,7 +11284,7 @@ sort, markdup, and depth.") (add-after 'unpack 'patch-samtools-references (lambda* (#:key inputs #:allow-other-keys) (substitute* '("src/SamStream.h" - "src/BufferedGenomeReader.h") + "src/FLD.cpp") (("") "")) #t)) (delete 'configure) @@ -11463,15 +11510,16 @@ applications for tackling some common problems in a user-friendly way.") (define-public tadbit (package (name "tadbit") - (version "0.2") + (version "0.2.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/3DGenomes/TADbit/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/3DGenomes/TADbit.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1cnfqrl4685zar4nnw94j94nhvl2h29jm448nadqi1h05z6fdk4f")))) + "07g3aj648prmsvxp9caz5yl41k0y0647vxh0f5p3w8376mfiljd0")))) (build-system python-build-system) (arguments `(;; Tests are included and must be run after installation, but @@ -11526,13 +11574,14 @@ models. TADbit is complemented by TADkit for visualizing 3D models.") (version "302.0.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ENCODE-DCC/kentUtils/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ENCODE-DCC/kentUtils.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "134aja3k1cj32kbk1nnw0q9gxjb2krr15q6sga8qldzvc0585rmm")) + "0n1wbyjpzii2b9qhyp9r1q76j623cggpg3y8fmw78ld3z4y7ivha")) (modules '((guix build utils) (srfi srfi-26) (ice-9 ftw))) @@ -11583,6 +11632,8 @@ models. TADbit is complemented by TADkit for visualizing 3D models.") #:tests? #f #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-permissions + (lambda _ (make-file-writable "src/inc/localEnvironment.mk") #t)) (add-after 'unpack 'fix-paths (lambda _ (substitute* "Makefile" @@ -11878,14 +11929,14 @@ accurate as existing quantification tools.") (name "libgff") (version "1.0") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/Kingsford-Group/" - "libgff/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Kingsford-Group/libgff.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0vc4nxyhlm6g9vvmx5l4lfs5pnvixsv1hiiy4kddf2y3p6jna8ls")))) + "0n6vfjnq7a2mianipscbshrvbncss8z4zkgkbjw754p9043nfkps")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; no tests included (home-page "https://github.com/Kingsford-Group/libgff") @@ -11930,14 +11981,14 @@ bytes of memory space, where n is the length of the string.") (name "sailfish") (version "0.10.1") (source (origin - (method url-fetch) - (uri - (string-append "https://github.com/kingsfordgroup/" - "sailfish/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/kingsfordgroup/sailfish.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1inn60dxiwsz8g9w7kvfhjxj4bwfb0r12dyhpzzhfbig712dkmm0")) + "1amcc5hqvsl42hg4x19bi9vy47cl874s0lw1fmi0hwsdk9i8c03v")) (modules '((guix build utils))) (snippet '(begin @@ -11974,27 +12025,30 @@ bytes of memory space, where n is the length of the string.") (add-after 'unpack 'do-not-look-for-boost (lambda* (#:key inputs #:allow-other-keys) (substitute* "CMakeLists.txt" - (("find_package\\(Boost 1\\.53\\.0") "#")))) + (("find_package\\(Boost 1\\.53\\.0") "#")) + #t)) (add-after 'unpack 'do-not-assign-to-macro (lambda _ (substitute* "include/spdlog/details/format.cc" - (("const unsigned CHAR_WIDTH = 1;") "")))) + (("const unsigned CHAR_WIDTH = 1;") "")) + #t)) (add-after 'unpack 'prepare-rapmap (lambda* (#:key inputs #:allow-other-keys) (let ((src "external/install/src/rapmap/") (include "external/install/include/rapmap/") (rapmap (assoc-ref inputs "rapmap"))) (mkdir-p "/tmp/rapmap") - (system* "tar" "xf" - (assoc-ref inputs "rapmap") - "-C" "/tmp/rapmap" - "--strip-components=1") + (invoke "tar" "xf" + (assoc-ref inputs "rapmap") + "-C" "/tmp/rapmap" + "--strip-components=1") (mkdir-p src) (mkdir-p include) (for-each (lambda (file) (install-file file src)) (find-files "/tmp/rapmap/src" "\\.(c|cpp)")) - (copy-recursively "/tmp/rapmap/include" include)))) + (copy-recursively "/tmp/rapmap/include" include)) + #t)) (add-after 'unpack 'use-system-libraries (lambda* (#:key inputs #:allow-other-keys) (substitute* '("src/SailfishIndexer.cpp" @@ -12034,7 +12088,8 @@ bytes of memory space, where n is the length of the string.") (string-append (getenv "CPLUS_INCLUDE_PATH") ":" (assoc-ref inputs "eigen") - "/include/eigen3"))))))) + "/include/eigen3")) + #t))))) (inputs `(("boost" ,boost) ("eigen" ,eigen) @@ -12220,11 +12275,13 @@ performance as its primary goal.") (add-after 'unpack 'do-not-look-for-boost (lambda* (#:key inputs #:allow-other-keys) (substitute* "CMakeLists.txt" - (("find_package\\(Boost 1\\.53\\.0") "#")))) + (("find_package\\(Boost 1\\.53\\.0") "#")) + #t)) (add-after 'unpack 'do-not-phone-home (lambda _ (substitute* "src/Salmon.cpp" - (("getVersionMessage\\(\\)") "\"\"")))) + (("getVersionMessage\\(\\)") "\"\"")) + #t)) (add-after 'unpack 'prepare-rapmap (lambda* (#:key inputs #:allow-other-keys) (let ((src "external/install/src/rapmap/") @@ -12241,7 +12298,8 @@ performance as its primary goal.") "external/install/include/rapmap/concurrentqueue.h" "external/install/include/rapmap/FastxParserThreadUtils.hpp" "external/install/src/rapmap/FastxParser.cpp" - "external/install/src/rapmap/xxhash.c"))))) + "external/install/src/rapmap/xxhash.c"))) + #t)) (add-after 'unpack 'use-system-libraries (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/CMakeLists.txt" @@ -12352,8 +12410,7 @@ variational inference.") (propagated-inputs `(("python-h5py" ,python-h5py) ("python-numpy" ,python-numpy) - ("python-scipy" ,python-scipy) - ("python-typing" ,python-typing))) + ("python-scipy" ,python-scipy))) (home-page "https://github.com/linnarsson-lab/loompy") (synopsis "Work with .loom files for single-cell RNA-seq data") (description "The loom file format is an efficient format for very large @@ -12908,7 +12965,7 @@ once. This package provides tools to perform Drop-seq analyses.") (define-public pigx-rnaseq (package (name "pigx-rnaseq") - (version "0.0.4") + (version "0.0.5") (source (origin (method url-fetch) (uri (string-append "https://github.com/BIMSBbioinfo/pigx_rnaseq/" @@ -12916,7 +12973,7 @@ once. This package provides tools to perform Drop-seq analyses.") "/pigx_rnaseq-" version ".tar.gz")) (sha256 (base32 - "16gla23rmziimqan7w494q0nr7vfbp42zzkrl9fracmr4k7b1kzr")))) + "05gn658zpj9xki5dbs728z9zxq1mcm25hkwr5vzwqxsfi15l5f2l")))) (build-system gnu-build-system) (arguments `(#:parallel-tests? #f ; not supported @@ -12932,7 +12989,7 @@ once. This package provides tools to perform Drop-seq analyses.") #t))))) (inputs `(("gzip" ,gzip) - ("snakemake" ,snakemake-4) + ("snakemake" ,snakemake) ("fastqc" ,fastqc) ("multiqc" ,multiqc) ("star" ,star) @@ -13026,7 +13083,7 @@ expression report comparing samples in an easily configurable manner.") ("fastqc" ,fastqc) ("bowtie" ,bowtie) ("idr" ,idr) - ("snakemake" ,snakemake-4) + ("snakemake" ,snakemake) ("samtools" ,samtools) ("bedtools" ,bedtools) ("kentutils" ,kentutils))) @@ -13087,7 +13144,7 @@ in an easily configurable manner.") ("ghc-pandoc-citeproc" ,ghc-pandoc-citeproc) ("python-wrapper" ,python-wrapper) ("python-pyyaml" ,python-pyyaml) - ("snakemake" ,snakemake-4) + ("snakemake" ,snakemake) ("bismark" ,bismark) ("fastqc" ,fastqc) ("bowtie" ,bowtie) @@ -13137,7 +13194,7 @@ methylation and segmentation.") ("ghc-pandoc" ,ghc-pandoc) ("ghc-pandoc-citeproc" ,ghc-pandoc-citeproc) ("samtools" ,samtools) - ("snakemake" ,snakemake-4) + ("snakemake" ,snakemake) ("star" ,star) ("r-minimal" ,r-minimal) ("r-argparser" ,r-argparser) @@ -14086,6 +14143,85 @@ enrichment analysis (GSEA) calculation with or without the absolute filtering. absolute GSEA.") (license license:gpl2))) +(define-public jamm + (package + (name "jamm") + (version "1.0.7.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mahmoudibrahim/JAMM.git") + (commit (string-append "JAMMv" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ls889jcma1ch9h21jjhnkadgszgqj41842hhcjh6cg88f85qf3i")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; there are none + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "JAMM.sh" + (("^sPath=.*") + (string-append ""))) + #t)) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (libexec (string-append out "/libexec/jamm")) + (bin (string-append out "/bin"))) + (substitute* '("JAMM.sh" + "SignalGenerator.sh") + (("^sPath=.*") + (string-append "sPath=\"" libexec "\"\n"))) + (for-each (lambda (file) + (install-file file libexec)) + (list "bincalculator.r" + "peakfinder.r" + "peakhelper.r" + "signalmaker.r" + "xcorr.r" + "xcorrhelper.r" + ;; Perl scripts + "peakfilter.pl" + "readshifter.pl")) + + (for-each + (lambda (script) + (chmod script #o555) + (install-file script bin) + (wrap-program (string-append bin "/" script) + `("PATH" ":" prefix + (,(string-append (assoc-ref inputs "coreutils") "/bin") + ,(string-append (assoc-ref inputs "gawk") "/bin") + ,(string-append (assoc-ref inputs "perl") "/bin") + ,(string-append (assoc-ref inputs "r-minimal") "/bin"))) + `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))) + `("R_LIBS_SITE" ":" prefix (,(getenv "R_LIBS_SITE"))))) + (list "JAMM.sh" "SignalGenerator.sh"))) + #t))))) + (inputs + `(("bash" ,bash) + ("coreutils" ,coreutils) + ("gawk" ,gawk) + ("perl" ,perl) + ("r-minimal" ,r-minimal) + ;;("r-parallel" ,r-parallel) + ("r-signal" ,r-signal) + ("r-mclust" ,r-mclust))) + (home-page "https://github.com/mahmoudibrahim/JAMM") + (synopsis "Peak finder for NGS datasets") + (description + "JAMM is a peak finder for next generation sequencing datasets (ChIP-Seq, +ATAC-Seq, DNase-Seq, etc.) that can integrate replicates and assign peak +boundaries accurately. JAMM is applicable to both broad and narrow +datasets.") + (license license:gpl3+))) + (define-public ngless (package (name "ngless") @@ -14108,9 +14244,30 @@ absolute GSEA.") #:phases (modify-phases %standard-phases (add-after 'unpack 'create-cabal-file - (lambda _ (invoke "hpack") #t))))) + (lambda _ (invoke "hpack") #t)) + ;; These tools are expected to be installed alongside ngless. + (add-after 'install 'link-tools + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin/"))) + (symlink (string-append (assoc-ref inputs "prodigal") + "/bin/prodigal") + (string-append bin "ngless-" ,version "-prodigal")) + (symlink (string-append (assoc-ref inputs "minimap2") + "/bin/minimap2") + (string-append bin "ngless-" ,version "-minimap2")) + (symlink (string-append (assoc-ref inputs "samtools") + "/bin/samtools") + (string-append bin "ngless-" ,version "-samtools")) + (symlink (string-append (assoc-ref inputs "bwa") + "/bin/bwa") + (string-append bin "ngless-" ,version "-bwa")) + #t)))))) (inputs - `(("ghc-aeson" ,ghc-aeson) + `(("prodigal" ,prodigal) + ("bwa" ,bwa) + ("samtools" ,samtools) + ("minimap2" ,minimap2) + ("ghc-aeson" ,ghc-aeson) ("ghc-ansi-terminal" ,ghc-ansi-terminal) ("ghc-async" ,ghc-async) ("ghc-atomic-write" ,ghc-atomic-write) @@ -14229,3 +14386,77 @@ both read length (longer is better) and read identity (higher is better) when choosing which reads pass the filter.") (license (list license:gpl3 ;filtlong license:asl2.0))))) ;histogram.py + +(define-public nanopolish + ;; The recommended way to install is to clone the git repository + ;; . + ;; Also, the differences between release and current version seem to be + ;; significant. + (let ((commit "50e8b5cc62f9b46f5445f5c5e8c5ab7263ea6d9d") + (revision "1")) + (package + (name "nanopolish") + (version (git-version "0.10.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jts/nanopolish.git") + (commit commit) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09j5gz57yr9i34a27vbl72i4g8syv2zzgmsfyjq02yshmnrvkjs6")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + `("HDF5=noinstall" "EIGEN=noinstall" "HTS=noinstall" "CC=gcc") + #:tests? #f ; no check target + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-eigen + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CPATH" + (string-append (assoc-ref inputs "eigen") + "/include/eigen3")) + #t)) + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (scripts (string-append out "/share/nanopolish/scripts"))) + + (install-file "nanopolish" bin) + (for-each (lambda (file) (install-file file scripts)) + (find-files "scripts" ".*")) + #t))) + (add-after 'install 'wrap-programs + (lambda* (#:key outputs #:allow-other-keys) + (for-each (lambda (file) + (wrap-program file `("PYTHONPATH" ":" prefix (,path)))) + (find-files "/share/nanopolish/scripts" "\\.py")) + (for-each (lambda (file) + (wrap-program file `("PERL5LIB" ":" prefix (,path)))) + (find-files "/share/nanopolish/scripts" "\\.pl")) + #t))))) + (inputs + `(("eigen" ,eigen) + ("hdf5" ,hdf5) + ("htslib" ,htslib) + ("perl" ,perl) + ("python" ,python) + ("python-biopython" ,python-biopython) + ("python-numpy" ,python-numpy) + ("python-pysam" ,python-pysam) + ("python-scikit-learn" , python-scikit-learn) + ("python-scipy" ,python-scipy) + ("zlib" ,zlib))) + (home-page "https://github.com/jts/nanopolish") + (synopsis "Signal-level analysis of Oxford Nanopore sequencing data") + (description + "This package analyses the Oxford Nanopore sequencing data at signal-level. +Nanopolish can calculate an improved consensus sequence for a draft genome +assembly, detect base modifications, call SNPs (Single nucleotide +polymorphisms) and indels with respect to a reference genome and more.") + (license license:expat)))) diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index 59fbd6906b..e834ba3d2a 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -1,13 +1,14 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès -;;; Copyright © 2016, 2018 Leo Famulari -;;; Copyright © 2016, 2017 Leo Famulari +;;; Copyright © 2016, 2017, 2018 Leo Famulari ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 Tomáš Čech ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Jelle Licht ;;; Copyright © 2018 Fis Trivial +;;; Copyright © 2018 Nam Nguyen +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) #:use-module (gnu packages file) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) @@ -54,6 +56,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages qt) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) @@ -214,14 +217,14 @@ Transmission BitTorrent daemon.") (name "transmission-remote-cli") (version "1.7.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/fagga/" - "transmission-remote-cli/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/fagga/transmission-remote-cli.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1y0hkpcjf6jw9xig8yf484hbhy63nip0pkchx401yxj81m25l4z9")))) + "09w9f8vrm61lapin8fmq4rgahr95y3c6wss10g0fgd0kl16f895v")))) (build-system python-build-system) (arguments `(#:python ,python-2 ; only supports Python 2 @@ -338,13 +341,14 @@ downloads, download scheduling, download rate limiting.") (name "mktorrent") (version "1.1") (source (origin - (method url-fetch) - (file-name (string-append name "-" version ".tar.gz")) - (uri (string-append "https://github.com/Rudde/mktorrent/archive/v" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Rudde/mktorrent.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1j9qc4fxa9isnaygqk6jazsiklqywl2wcs95b8dx01963407bx6h")))) + "17pdc5mandl739f8q26n5is8ga56s83aqcrwhlnnplbxwx2inidr")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases @@ -371,17 +375,17 @@ and will take advantage of multiple processor cores where possible.") (define-public libtorrent-rasterbar (package (name "libtorrent-rasterbar") - (version "1.1.8") + (version "1.1.11") (source (origin (method url-fetch) (uri (string-append - "https://github.com/arvidn/libtorrent/releases/download/libtorrent-" + "https://github.com/arvidn/libtorrent/releases/download/libtorrent_" (string-join (string-split version #\.) "_") "/libtorrent-rasterbar-" version ".tar.gz")) (sha256 (base32 - "0pcdy26l5ivcs78y2bqh2qca83ikzjfchw5815xh69qf8g88zgvb")))) + "0isqidr11fnhybr0wvk0qxd97jaikmh8fx9h89b84yd2gyxdw8vw")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -393,7 +397,18 @@ and will take advantage of multiple processor cores where possible.") "CXXFLAGS=-std=c++11") ; Use std::chrono instead of boost #:make-flags (list (string-append "LDFLAGS=-Wl,-rpath=" - (assoc-ref %outputs "out") "/lib")))) + (assoc-ref %outputs "out") "/lib")) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'compile-python-c++11 + (lambda _ + ;; Make sure the Python bindings are compiled in C++ mode to + ;; avoid undefined references as mentioned in + ;; . + ;; XXX: This can be removed for 1.2+. + (substitute* "bindings/python/setup.py" + (("\\+ target_specific\\(\\)\\,") + "+ target_specific() + ['-std=c++11'],")) + #t))))) (inputs `(("boost" ,boost) ("openssl" ,openssl))) (native-inputs `(("python" ,python-2) @@ -448,3 +463,40 @@ It aims to be a good alternative to all other BitTorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features.") (license l:gpl2+))) + +(define-public deluge + (package + (name "deluge") + (version "1.3.15") + (source + (origin + (method url-fetch) + (uri (string-append + "http://download.deluge-torrent.org/source/deluge-" + version ".tar.xz")) + (sha256 + (base32 + "0b7rri4x0wrcj7rjghrnw1kfrsd5i7i6aq85dsg5dg1w1qa0ar59")))) + (build-system python-build-system) + (inputs + `(("libtorrent" ,libtorrent-rasterbar) + ("python2-chardet" ,python2-chardet) + ("python2-pygtk" ,python2-pygtk) + ("python2-pyopenssl" ,python2-pyopenssl) + ("python2-pyxdg" ,python2-pyxdg) + ("python2-service-identity" ,python2-service-identity) + ("python2-twisted" ,python2-twisted))) + (native-inputs + `(("intltool" ,intltool))) + (arguments + `(#:python ,python-2)) + (home-page "https://www.deluge-torrent.org/") + (synopsis "Fully-featured cross-platform ​BitTorrent client") + (description + "Deluge contains the common features to BitTorrent clients such as +Protocol Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange +(PEX), UPnP, NAT-PMP, Proxy support, Web seeds, global and per-torrent +speed limits. Deluge heavily utilises the ​libtorrent library. It is +designed to run as both a normal standalone desktop application and as a +​client-server.") + (license l:gpl3+))) diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 897987f71c..f9108b3ad6 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -122,6 +122,16 @@ across a broad spectrum of applications.") (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt" "Some components have other similar licences.")))) +;; Some programs need Boost to be built with C++14 support. +(define-public boost-cxx14 + (package (inherit boost) + (arguments + (substitute-keyword-arguments (package-arguments boost) + ((#:make-flags flags) + `(append ,flags + '("cxxflags=-std=c++14"))))) + (properties '((hidden? . #t))))) + (define-public boost-for-mysql ;; Older version for MySQL 5.7.23. (package @@ -182,14 +192,14 @@ Boost.Thread.") (define-public mdds (package (name "mdds") - (version "1.3.1") + (version "1.4.3") (source (origin (method url-fetch) (uri (string-append "http://kohei.us/files/mdds/src/mdds-" version ".tar.bz2")) (sha256 (base32 - "18g511z1lgfxrga2ld9yr95phmyfbd3ymbv4q5g5lyjn4ljcvf6w")))) + "10cw6irdm6d15nxnys2v5akp8yz52qijpcjvw0frwq7nz5d3vki5")))) (build-system gnu-build-system) (propagated-inputs `(("boost" ,boost))) ; inclusion of header files diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 8038c18326..2a595fafab 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages cdrom) #:use-module (gnu packages check) + #:use-module (gnu packages compression) #:use-module (gnu packages cross-base) #:use-module (gnu packages disk) #:use-module (gnu packages firmware) @@ -316,6 +317,8 @@ menu to select one of the installed operating systems.") (home-page "https://www.syslinux.org") (synopsis "Lightweight Linux bootloader") (description "Syslinux is a lightweight Linux bootloader.") + ;; The Makefile specifically targets i386 and x86_64 using nasm. + (supported-systems '("i686-linux" "x86_64-linux")) (license (list license:gpl2+ license:bsd-3 ; gnu-efi/* license:bsd-4 ; gnu-efi/inc/* gnu-efi/lib/* @@ -361,7 +364,7 @@ tree binary files. These are board description files used by Linux and BSD.") (define u-boot (package (name "u-boot") - (version "2018.09") + (version "2018.11") (source (origin (method url-fetch) (uri (string-append @@ -369,12 +372,13 @@ tree binary files. These are board description files used by Linux and BSD.") "u-boot-" version ".tar.bz2")) (sha256 (base32 - "0s122kyz1svvs2yjzj4j9qravl3ra4vn0fjqgski7rlczqyg56w3")))) + "0znkwljfwwn4y7j20pzz4ilqw8znphrfxns0x1lwdzh3xbr96z3k")))) (native-inputs `(("bc" ,bc) ("bison" ,bison) ("dtc" ,dtc) ("flex" ,flex) + ("lz4" ,lz4) ("openssl" ,openssl) ("python-2" ,python-2) ("python2-coverage" ,python2-coverage) @@ -553,8 +557,8 @@ board-independent tools."))) (define-public u-boot-beagle-bone-black (make-u-boot-package "am335x_boneblack" "arm-linux-gnueabihf")) -(define-public u-boot-pine64-plus - (let ((base (make-u-boot-package "pine64_plus" "aarch64-linux-gnu"))) +(define-public (make-u-boot-sunxi64-package board triplet) + (let ((base (make-u-boot-package board triplet))) (package (inherit base) (arguments @@ -572,9 +576,28 @@ board-independent tools."))) ) #t)))))) (native-inputs - `(("firmware" ,arm-trusted-firmware-pine64-plus) + `(("firmware" ,arm-trusted-firmware-sun50i-a64) ,@(package-native-inputs base)))))) +(define-public u-boot-pine64-plus + (make-u-boot-sunxi64-package "pine64_plus" "aarch64-linux-gnu")) + +(define-public u-boot-pinebook + (let ((base (make-u-boot-sunxi64-package "pinebook" "aarch64-linux-gnu"))) + (package + (inherit base) + (source (origin + (inherit (package-source u-boot)) + (patches (search-patches + ;; Add patches to enable Pinebook support from sunxi + ;; maintainer tree: git://git.denx.de/u-boot-sunxi.git + "u-boot-pinebook-a64-update-dts.patch" + "u-boot-pinebook-syscon-node.patch" + "u-boot-pinebook-mmc-calibration.patch" + "u-boot-pinebook-video-bridge.patch" + "u-boot-pinebook-r_i2c-controller.patch" + "u-boot-pinebook-dts.patch"))))))) + (define-public u-boot-bananapi-m2-ultra (make-u-boot-package "Bananapi_M2_Ultra" "arm-linux-gnueabihf")) diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 8fcf128135..a34e7ebff4 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -4,6 +4,8 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Fis Trivial ;;; Copyright © 2018 Tomáš Čech +;;; Copyright © 2018 Marius Bakke +;;; Copyright © 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +31,7 @@ #:use-module (guix build-system cmake) #:use-module (gnu packages) #:use-module (gnu packages compression) + #:use-module (gnu packages lua) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) @@ -39,33 +42,30 @@ (define-public bam (package (name "bam") - (version "0.4.0") + (version "0.5.1") (source (origin - (method url-fetch) - (uri (string-append "http://github.com/downloads/matricks/" - "bam/bam-" version ".tar.bz2")) + ;; do not use auto-generated tarballs + (method git-fetch) + (uri (git-reference + (url "https://github.com/matricks/bam.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn")))) + "13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6")))) (build-system gnu-build-system) (arguments - `(#:phases + `(#:make-flags `("CC=gcc" + ,(string-append "INSTALL_PREFIX=" + (assoc-ref %outputs "out"))) + #:test-target "test" + #:phases (modify-phases %standard-phases - (delete 'configure) - (replace 'build - (lambda _ - (zero? (system* "bash" "make_unix.sh")))) - (replace 'check - (lambda _ - (zero? (system* "python" "scripts/test.py")))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) - (mkdir-p bin) - (install-file "bam" bin) - #t)))))) + (delete 'configure)))) (native-inputs `(("python" ,python-2))) + (inputs + `(("lua" ,lua))) (home-page "https://matricks.github.io/bam/") (synopsis "Fast and flexible build system") (description "Bam is a fast and flexible build system. Bam uses Lua to @@ -98,6 +98,63 @@ it is easy to re-run the compilation with alternate programs. Bear is used to generate such a compilation database.") (license license:gpl3+))) +(define-public gn + (let ((commit "f73698ebb33e26a0bf120e2b55d12528fd1dbe7d") + (revision "1481")) ;as returned by `git describe`, used below + (package + (name "gn") + (version (git-version "0.0" revision commit)) + (home-page "https://gn.googlesource.com/gn") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit commit))) + (sha256 + (base32 + "078ydwak4424bkqh3hd7q955zxp2c3qlw44lsb29i8jqap140f9d")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;FIXME: How to run? + #:phases (modify-phases %standard-phases + (add-before 'configure 'set-build-environment + (lambda _ + (setenv "CC" "gcc") (setenv "CXX" "g++") + (setenv "AR" "ar") + #t)) + (replace 'configure + (lambda _ + (invoke "python" "build/gen.py" "--no-sysroot" + "--no-last-commit-position"))) + (add-after 'configure 'create-last-commit-position + (lambda _ + ;; Create "last_commit_position.h" to avoid a dependency + ;; on 'git' (and the checkout..). + (call-with-output-file "out/last_commit_position.h" + (lambda (port) + (format port + "#define LAST_COMMIT_POSITION \"~a (~a)\"\n" + ,revision ,(string-take commit 8)) + #t)))) + (replace 'build + (lambda _ + (invoke "ninja" "-C" "out" "gn" + "-j" (number->string (parallel-job-count))))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "out/gn" (string-append out "/bin")) + #t)))))) + (native-inputs + `(("ninja" ,ninja) + ("python" ,python-2))) + (synopsis "Generate Ninja build files") + (description + "GN is a tool that collects information about a project from @file{.gn} +files and generates build instructions for the Ninja build system.") + ;; GN is distributed as BSD-3, but bundles some files from ICU using the + ;; X11 license. + (license (list license:bsd-3 license:x11))))) + (define-public meson (package (name "meson") diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index e6df1d23c7..c5141451f0 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016, 2018 Ludovic Courtès -;;; Copyright © 2016, 2017 Ricardo Wurmus +;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Pierre Neidhardt ;;; @@ -160,8 +160,7 @@ standard.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (zero? (system* "make" "-C" "cc/cpp" "test"))))))) + (lambda _ (invoke "make" "-C" "cc/cpp" "test") #t))))) (native-inputs `(("bison" ,bison) ("flex" ,flex))) @@ -178,16 +177,53 @@ compiler while still keeping it small, simple, fast and understandable.") (define-public libbytesize (package (name "libbytesize") - (version "1.3") + (version "1.4") (source (origin (method url-fetch) (uri (string-append - "https://github.com/storaged-project/libbytesize/releases/download/1.3/libbytesize-" - version ".tar.gz")) + "https://github.com/storaged-project/libbytesize/releases/" + "download/" version "/libbytesize-" version ".tar.gz")) (sha256 (base32 - "1l7mxm2vq2h6137fyfa46v9r4lydp9dvmsixkd64xr3ylqk1g6fi")))) + "0bbqzln1nhjxl71aydq9k4jg3hvki9lqsb4w10s1i27jgibxqkdv")) + (modules '((guix build utils))) + (snippet + '(begin + ;; This Makefile hard-codes MSGMERGE et al. instead of + ;; honoring what 'configure' detected. Fix that. + (substitute* "po/Makefile.in" + (("^MSGMERGE = msgmerge") + "MSGMERGE = @MSGMERGE@\n")) + #t)))) (build-system gnu-build-system) + (arguments + ;; When running "make", the POT files are built with the build time as + ;; their "POT-Creation-Date". Later on, "make" notices that .pot + ;; files were updated and goes on to run "msgmerge"; as a result, the + ;; non-deterministic POT-Creation-Date finds its way into .po files, + ;; and then in .gmo files. To avoid that, simply make sure 'msgmerge' + ;; never runs. See . + '(#:configure-flags '("ac_cv_path_MSGMERGE=true") + + #:phases (modify-phases %standard-phases + (add-after 'configure 'create-merged-po-files + (lambda _ + ;; Create "merged PO" (.mpo) files so that 'msgmerge' + ;; doesn't need to run. + (for-each (lambda (po-file) + (let ((merged-po + (string-append (dirname po-file) "/" + (basename po-file + ".po") + ".mpo"))) + (copy-file po-file merged-po))) + (find-files "po" "\\.po$")) + #t))) + + ;; One test fails because busctl (systemd only?) and python2-pocketlint + ;; are missing. Should we fix it, we would need the "python-2" , + ;; "python2-polib" and "python2-six" native-inputs. + #:tests? #f)) (native-inputs `(("gettext" ,gettext-minimal) ("pkg-config" ,pkg-config) @@ -195,10 +231,6 @@ compiler while still keeping it small, simple, fast and understandable.") (inputs `(("mpfr" ,mpfr) ("pcre" ,pcre))) - ;; One test fails because busctl (systemd only?) and python2-pocketlint - ;; are missing. Should we fix it, we would need the "python-2" , - ;; "python2-polib" and "python2-six" native-inputs. - (arguments `(#:tests? #f)) (home-page "https://github.com/storaged-project/libbytesize") (synopsis "Tiny C library for working with arbitrary big sizes in bytes") (description diff --git a/gnu/packages/calcurse.scm b/gnu/packages/calcurse.scm index 8ee5d86e3c..22b54d47ac 100644 --- a/gnu/packages/calcurse.scm +++ b/gnu/packages/calcurse.scm @@ -34,7 +34,7 @@ (source (origin (method url-fetch) - (uri (string-append "http://calcurse.org/files/calcurse-" + (uri (string-append "https://calcurse.org/files/calcurse-" version ".tar.gz")) (sha256 (base32 @@ -57,7 +57,7 @@ (setenv "TZDIR" ;for test/ical-007.sh (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))))))) - (home-page "http://www.calcurse.org") + (home-page "https://www.calcurse.org") (synopsis "Text-based calendar and scheduling") (description "Calcurse is a text-based calendar and scheduling application. It helps diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 24e19b472c..a5c677bd4d 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -128,7 +128,9 @@ data units.") ;; running in a TTY: ;; https://github.com/pimutils/khal/issues/683 "not test_printics_read_from_stdin " - "and not test_import_from_stdin"))))))) + "and not test_import_from_stdin " + ;; https://github.com/pimutils/khal/issues/825 + "and not test_description_and_location_and_categories"))))))) (native-inputs `(("python-pytest" ,python-pytest) ("python-pytest-cov" ,python-pytest-cov) diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm index af29cee565..0a1112c310 100644 --- a/gnu/packages/ccache.scm +++ b/gnu/packages/ccache.scm @@ -30,7 +30,7 @@ (define-public ccache (package (name "ccache") - (version "3.4.3") + (version "3.5") (source (origin (method url-fetch) @@ -38,9 +38,9 @@ version ".tar.xz")) (sha256 (base32 - "0jjzq5340qw3jm5gkajjkkb5wd0yqqy1dyjw3mf3jy15cakmazi9")))) + "04n0xram2416pv98qrd7pi5lfsk0bjqyz7zgvvia41j5mrr4pm5x")))) (build-system gnu-build-system) - (native-inputs `(("perl" ,perl) ; for test.sh + (native-inputs `(("perl" ,perl) ; for test/run ("which" ,(@ (gnu packages base) which)))) (inputs `(("zlib" ,zlib))) (arguments diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index d8dc9ee6f9..d94636ba4c 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2018 Oleg Pykhalov +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +30,7 @@ (define-module (gnu packages cdrom) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module ((guix licenses) #:select (lgpl2.1+ gpl2 gpl2+ gpl3+ cddl1.0)) #:use-module (guix build-system cmake) @@ -291,17 +293,26 @@ images.") `(#:tests? #f ; No tests. #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-glibc-compatability + (lambda* (#:key inputs #:allow-other-keys) + ;; We use sed --in-place because substitute* cannot handle the + ;; character encoding used by growisofs.c. + (invoke "sed" "-i" "-e" + (string-append + "s,," + "\\\n#include ,") + "growisofs.c"))) (replace 'configure (lambda _ (setenv "prefix" (assoc-ref %outputs "out")) #t)) (add-before 'build 'embed-mkisofs - (lambda* (#:key inputs #:allow-other-keys) + (lambda* (#:key inputs #:allow-other-keys) ;; We use sed --in-place because substitute* cannot handle the ;; character encoding used by growisofs.c. - (zero? (system* "sed" "-i" "-e" - (string-append - "s,\"mkisofs\"," - "\"" (which "mkisofs") "\",") - "growisofs.c"))))))) + (invoke "sed" "-i" "-e" + (string-append + "s,\"mkisofs\"," + "\"" (which "mkisofs") "\",") + "growisofs.c")))))) (home-page "http://fy.chalmers.se/~appro/linux/DVD+RW/") (synopsis "DVD and Blu-ray Disc burning tools") (description "dvd+rw-tools, mostly known for its command @@ -421,14 +432,14 @@ graphical interface.") (name "libcue") (version "2.2.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/lipnitsk/libcue/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lipnitsk/libcue.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "000j5xqp7cc7njwlixr9byahz9kn8pcfdgm76afwv4p8nbmw6yzj")))) + "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 1ae6355a93..937e4e094c 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -26,7 +26,7 @@ ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017, 2018 Marius Bakke -;;; Copyright © 2017 Ludovic Courtès +;;; Copyright © 2017, 2018 Ludovic Courtès ;;; Copyright © 2018 Fis Trivial ;;; ;;; This file is part of GNU Guix. @@ -51,6 +51,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages llvm) #:use-module (gnu packages golang) + #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages python-web) #:use-module (gnu packages time) @@ -250,7 +251,7 @@ a multi-paradigm automated test framework for C++ and Objective-C.") ;; the build environment. Hence assuming-failure test fails. (delete-file "yarn.tests/assuming-failure.script") (delete-file "yarn.tests/assuming-failure.stdout") - (zero? (system* "python" "setup.py" "check"))))))) + (invoke "python" "setup.py" "check")))))) (native-inputs `(("python2-coverage-test-runner" ,python2-coverage-test-runner))) (propagated-inputs @@ -293,13 +294,13 @@ format.") (define-public cppcheck (package (name "cppcheck") - (version "1.84") + (version "1.85") (source (origin (method url-fetch) (uri (string-append "https://github.com/danmar/cppcheck/archive/" version ".tar.gz")) (sha256 - (base32 "1ibz07dgs1dpfb8bmjh3qsma37wl5p6s6b4qlv5ccpshj4yjk9ma")) + (base32 "18qlddf1i9bk5nnvy1v2nfxjd46y8wvp3rqz2hrfxjxsyvrfq5yw")) (file-name (string-append name "-" version ".tar.gz")))) (build-system cmake-build-system) (home-page "http://cppcheck.sourceforge.net") @@ -715,8 +716,8 @@ and many external plugins.") ;; options taken from tox.ini ;; TODO: make "--restructuredtext" tests pass. They currently fail ;; with "Duplicate implicit target name" - (zero? (system* "python" "./setup.py" "check" - "--strict" "--metadata"))))))) + (invoke "python" "./setup.py" "check" + "--strict" "--metadata")))))) (propagated-inputs `(("python-coverage" ,python-coverage) ("python-pytest" ,python-pytest))) @@ -1100,8 +1101,8 @@ python-fixtures package instead.") (modify-phases %standard-phases (replace 'check (lambda _ - (zero? (system* "python" "-m" "testtools.run" - "fixtures.test_suite"))))))) + (invoke "python" "-m" "testtools.run" + "fixtures.test_suite")))))) (propagated-inputs ;; Fixtures uses pbr at runtime to check versions, etc. `(("python-pbr" ,python-pbr) @@ -1341,20 +1342,20 @@ the last py.test invocation.") (define-public python-pytest-localserver (package (name "python-pytest-localserver") - (version "0.4.1") + (version "0.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "pytest-localserver" version)) - (sha256 - (base32 - "08f06rvj31wqf0vgmd1waya87r7vy6x8ck48lxl3dxy83q5gcam7")))) + (method url-fetch) + (uri (pypi-uri "pytest-localserver" version)) + (sha256 + (base32 + "1hpgpxrpfq5c731ndnsay2lc0y9nh2wy9fn1f83s3z8xkn82fm1s")))) (build-system python-build-system) (arguments - `(#:phases (modify-phases %standard-phases + '(#:phases + (modify-phases %standard-phases (replace 'check (lambda _ - (zero? (system* "py.test" "--genscript=runtests.py")) - (zero? (system* "py.test"))))))) + (invoke "py.test" "-v")))))) (native-inputs `(("python-pytest" ,python-pytest) ("python-requests" ,python-requests) @@ -1425,7 +1426,8 @@ normally the case.") "1rshs1japfmwgar98yrkq4hg4z2q76hlnq7w2n3lfbjnscn1jd9b")))) (build-system python-build-system) (native-inputs - `(("python-flake8" ,python-flake8) + `(;; FIXME: Change to python-flake8 in the next rebuild cycle. + ("python-flake8" ,python-flake8-3.5) ("python-pytest" ,python-pytest-bootstrap))) (propagated-inputs `(("python-attrs" ,python-attrs-bootstrap) @@ -1522,7 +1524,7 @@ failures.") ;; It's easier to run tests after install. ;; Make installed package available for running the tests (add-installed-pythonpath inputs outputs) - (zero? (system* "py.test" "-vv"))))))) + (invoke "py.test" "-vv")))))) (native-inputs `(("python-coverage" ,python-coverage) ("python-pytest" ,python-pytest) @@ -1559,7 +1561,7 @@ failures.") (modify-phases %standard-phases (replace 'check (lambda _ - (zero? (system* "./testrun"))))))) + (invoke "./testrun")))))) (propagated-inputs `(("python2-coverage" ,python2-coverage))) (home-page "https://liw.fi/coverage-test-runner/") @@ -1605,9 +1607,9 @@ statements in the module it tests.") (string-append (getenv "PYTHONPATH") ":" work)) (copy-recursively "." work) (with-directory-excursion "/tmp" - (zero? (system* "python" "-m" "unittest" "discover" - "-s" (string-append work "/pylint/test") - "-p" "*test_*.py"))))))))) + (invoke "python" "-m" "unittest" "discover" + "-s" (string-append work "/pylint/test") + "-p" "*test_*.py")))))))) (home-page "https://github.com/PyCQA/pylint") (synopsis "Python source code analyzer which looks for coding standard errors") @@ -1840,7 +1842,8 @@ tests written in a natural language style, backed up by Python code.") (lambda _ (substitute* "setup.py" (("'wheel'") "") ; We don't use it. - (("'ordereddict==1.1'") ""))))))) ; Python >= 2.7 has it built-in. + (("'ordereddict==1.1'") "")) ; Python >= 2.7 has it built-in. + #t))))) (propagated-inputs `(("behave" ,behave) ("python-requests" ,python-requests))) @@ -2086,3 +2089,42 @@ aspects of UnitTest++. UnitTest++ is mostly standard C++ and makes minimal use of advanced library and language features, which means it should be easily portable to just about any platform.") (license license:expat))) + +(define-public libfaketime + (package + (name "libfaketime") + (version "0.9.7") + (home-page "https://github.com/wolfcw/libfaketime") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 + "1cin1pqwpsswcv7amiwijirvcg3x1zf2l00s1x84nxc5602fzr5c")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "CC" "gcc") + (setenv "PREFIX" out) + #t))) + (add-before 'check 'pre-check + (lambda _ + (substitute* "test/functests/test_exclude_mono.sh" + (("/bin/bash") (which "bash"))) + #t))) + #:test-target "test")) + (native-inputs + `(("perl" ,perl))) ;for tests + (synopsis "Fake the system time for single applications") + (description + "The libfaketime library allows users to modify the system time that an +application \"sees\". It is meant to be loaded using the dynamic linker's +@code{LD_PRELOAD} environment variable. The @command{faketime} command +provides a simple way to achieve this.") + (license license:gpl2))) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 1cac8b9fb4..30d86bd09f 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -186,8 +186,8 @@ their dependencies.") (license l:gpl3+)))) (define-public cuirass - (let ((commit "fe2b73c2353d106431ed0659345391f14ed64600") - (revision "20")) + (let ((commit "0b40dca734468e8b12b3ff58e3e779679f17d38e") + (revision "21")) (package (name "cuirass") (version (string-append "0.0.1-" revision "." (string-take commit 7))) @@ -199,7 +199,7 @@ their dependencies.") (file-name (string-append name "-" version)) (sha256 (base32 - "00ldbig2p14qpwrl2i2hnhb9idgbbf0kqnlh4n79rmz96blm7463")))) + "1kdxs8dzdyldfs4wsz5hb64hprkbrnq5ljdll631f3bj8pbvvvc1")))) (build-system gnu-build-system) (arguments '(#:modules ((guix build utils) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm new file mode 100644 index 0000000000..1dba4cef87 --- /dev/null +++ b/gnu/packages/clojure.scm @@ -0,0 +1,293 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Alex Vong +;;; Copyright © 2018 Pierre Neidhardt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages clojure) + #:use-module (gnu packages) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system ant) + #:use-module (guix build-system clojure) + #:use-module (ice-9 match)) + +(define-public clojure + (let* ((lib (lambda (prefix version hash) + (origin (method url-fetch) + (uri (string-append "https://github.com/clojure/" + prefix version ".tar.gz")) + (sha256 (base32 hash))))) + ;; The libraries below are needed to run the tests. + (libraries + `(("core-specs-alpha-src" + ,(lib "core.specs.alpha/archive/core.specs.alpha-" + "0.1.24" + "0v2a0svf1ar2y42ajxwsjr7zmm5j7pp2zwrd2jh3k7xzd1p9x1fv")) + ("data-generators-src" + ,(lib "data.generators/archive/data.generators-" + "0.1.2" + "0kki093jp4ckwxzfnw8ylflrfqs8b1i1wi9iapmwcsy328dmgzp1")) + ("spec-alpha-src" + ,(lib "spec.alpha/archive/spec.alpha-" + "0.1.143" + "00alf0347licdn773w2jarpllyrbl52qz4d8mw61anjksacxylzz")) + ("test-check-src" + ,(lib "test.check/archive/test.check-" + "0.9.0" + "0p0mnyhr442bzkz0s4k5ra3i6l5lc7kp6ajaqkkyh4c2k5yck1md")) + ("test-generative-src" + ,(lib "test.generative/archive/test.generative-" + "0.5.2" + "1pjafy1i7yblc7ixmcpfq1lfbyf3jaljvkgrajn70sws9xs7a9f8")) + ("tools-namespace-src" + ,(lib "tools.namespace/archive/tools.namespace-" + "0.2.11" + "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0")))) + (library-names (match libraries + (((library-name _) ...) + library-name)))) + + (package + (name "clojure") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/clojure/clojure/archive/clojure-" + version ".tar.gz")) + (sha256 + (base32 "0xjbzcw45z32vsn9pifp7ndysjzqswp5ig0jkjpivigh2ckkdzha")))) + (build-system ant-build-system) + (arguments + `(#:imported-modules ((guix build clojure-utils) + (guix build guile-build-system) + ,@%ant-build-system-modules) + #:modules ((guix build ant-build-system) + (guix build clojure-utils) + (guix build java-utils) + (guix build utils) + (srfi srfi-26)) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-library-sources + (lambda* (#:key inputs #:allow-other-keys) + (define (extract-library name) + (mkdir-p name) + (with-directory-excursion name + (invoke "tar" + "--extract" + "--verbose" + "--file" (assoc-ref inputs name) + "--strip-components=1")) + (copy-recursively (string-append name "/src/main/clojure/") + "src/clj/")) + (for-each extract-library ',library-names) + #t)) + (add-after 'unpack-library-sources 'fix-manifest-classpath + (lambda _ + (substitute* "build.xml" + (("") "")) + #t)) + (add-after 'build 'build-javadoc ant-build-javadoc) + (replace 'install (install-jars "./")) + (add-after 'install-license-files 'install-doc + (cut install-doc #:doc-dirs '("doc/clojure/") <...>)) + (add-after 'install-doc 'install-javadoc + (install-javadoc "target/javadoc/"))))) + (native-inputs libraries) + (home-page "https://clojure.org/") + (synopsis "Lisp dialect running on the JVM") + (description "Clojure is a dynamic, general-purpose programming language, +combining the approachability and interactive development of a scripting +language with an efficient and robust infrastructure for multithreaded +programming. Clojure is a compiled language, yet remains completely dynamic +– every feature supported by Clojure is supported at runtime. Clojure +provides easy access to the Java frameworks, with optional type hints and type +inference, to ensure that calls to Java can avoid reflection. + +Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy +and a powerful macro system. Clojure is predominantly a functional programming +language, and features a rich set of immutable, persistent data structures. +When mutable state is needed, Clojure offers a software transactional memory +system and reactive Agent system that ensure clean, correct, multithreaded +designs.") + ;; Clojure is licensed under EPL1.0 + ;; ASM bytecode manipulation library is licensed under BSD-3 + ;; Guava Murmur3 hash implementation is licensed under APL2.0 + ;; src/clj/repl.clj is licensed under CPL1.0 + + ;; See readme.html or readme.txt for details. + (license (list license:epl1.0 + license:bsd-3 + license:asl2.0 + license:cpl1.0))))) + +(define-public clojure-algo-generic + (package + (name "clojure-algo-generic") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/clojure/algo.generic/archive" + "/algo.generic-" version ".tar.gz")) + (sha256 + (base32 "12w9681i545gp1af4576z1qbixwps1j13c16fmcc7zsb0bd1zr7w")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure/") + #:test-dirs '("src/test/clojure/") + #:doc-dirs '())) + (synopsis "Generic versions of common functions") + (description + "Generic versions of commonly used functions, implemented as multimethods +that can be implemented for any data type.") + (home-page "https://github.com/clojure/algo.generic") + (license license:epl1.0))) + +(define-public clojure-algo-monads + (package + (name "clojure-algo-monads") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/clojure/algo.monads/archive" + "/algo.monads-" version ".tar.gz")) + (sha256 + (base32 "14gbvfgmrda990h45yn7zag83vp1kdkz4f4yzmyvkr0sjihlgdmq")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure/") + #:test-dirs '("src/test/clojure/") + #:doc-dirs '())) + (native-inputs + `(("clojure-tools-macro" ,clojure-tools-macro))) + (synopsis + "Monad Macros and Definitions") + (description + "This library contains the most commonly used monads as well as macros for +defining and using monads and useful monadic functions.") + (home-page "https://github.com/clojure/algo.monads") + (license license:epl1.0))) + +(define-public clojure-core-match + (let ((commit "1837ffbd4a150e8f3953b2d9ed5cf4a4ad3720a7") + (revision "1")) ; this is the 1st commit buildable with clojure 1.9 + (package + (name "clojure-core-match") + (version (git-version "0.3.0-alpha5" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure/core.match.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04bdlp5dgkrqzrz0lw3mfwmygj2218qnm1cz3dkb9wy4m0238s4d")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (synopsis "Optimized pattern matching for Clojure") + (description + "An optimized pattern matching library for Clojure. +It supports Clojure 1.5.1 and later as well as ClojureScript.") + (home-page "https://github.com/clojure/core.match") + (license license:epl1.0)))) + +(define-public clojure-instaparse + (let ((commit "dcfffad5b065e750f0f5835f017cdd8188b8ca2e") + (version "1.4.9")) ; upstream forget to tag this release + (package + (name "clojure-instaparse") + (version version) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Engelberg/instaparse.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "002mrgin4z3dqy88r1lak7smd0m7x8d22vmliw0m6w6mh5pa17lk")))) + (build-system clojure-build-system) + (arguments + '(#:doc-dirs '("docs/"))) + (synopsis "No grammar left behind") + (description + "Instaparse aims to be the simplest way to build parsers in Clojure. + +@itemize +@item Turns @emph{standard EBNF or ABNF notation} for context-free grammars +into an executable parser that takes a string as an input and produces a parse +tree for that string. + +@item @dfn{No Grammar Left Behind}: Works for @emph{any} context-free grammar, +including @emph{left-recursive}, @emph{right-recursive}, and @emph{ambiguous} +grammars. + +@item Extends the power of context-free grammars with PEG-like syntax for +lookahead and negative lookahead. + +@item Supports both of Clojure's most popular tree formats (hiccup and enlive) +as output targets + +@item Detailed reporting of parse errors. + +@item Optionally produces lazy sequence of all parses (especially useful for +diagnosing and debugging ambiguous grammars). + +@item ``Total parsing'' mode where leftover string is embedded in the parse +tree. + +@item Optional combinator library for building grammars programmatically. + +@item Performant. +@end itemize") + (home-page "https://github.com/Engelberg/instaparse") + (license license:epl1.0)))) + +(define-public clojure-tools-macro + (package + (name "clojure-tools-macro") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri + (string-append "https://github.com/clojure/tools.macro/archive" + "/tools.macro-" version ".tar.gz")) + (sha256 + (base32 "0fs64a0g63xx6g7sj6vrsqknhl90s0isf6k053nw8vv5prfzc7v6")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure/") + #:test-dirs '("src/test/clojure/") + #:doc-dirs '())) + (synopsis "Utilities for macro writers") + (description "Tools for writing macros.") + (home-page "https://github.com/clojure/tools.macro") + (license license:epl1.0))) diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 98a86b763f..86070acdf0 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -211,16 +211,16 @@ COCOMO model or user-provided parameters.") (define-public cloc (package (name "cloc") - (version "1.78") + (version "1.80") (source (origin (method url-fetch) (uri (string-append - "https://github.com/AlDanial/cloc/releases/download/" version + "https://github.com/AlDanial/cloc/releases/download/v" version "/cloc-" version ".tar.gz")) (sha256 (base32 - "1j9lwy9xf43kpv1csqdxzch6y1hnsv881ddqd357f8v58dhr4s68")))) + "0rqxnaskg5b736asyzfda1113zvpkajyqjf49vl9wgzf1r9m6bq8")))) (build-system gnu-build-system) (inputs `(("coreutils" ,coreutils) @@ -231,8 +231,8 @@ COCOMO model or user-provided parameters.") ("perl-regexp-common" ,perl-regexp-common))) (arguments `(#:phases (modify-phases %standard-phases - (delete 'configure) - (delete 'build) + (delete 'configure) ; nothing to configure + (delete 'build) ; nothing to build (replace 'install (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out"))) @@ -540,18 +540,20 @@ independent targets.") (define-public uncrustify (package (name "uncrustify") - (version "0.67") + (version "0.68.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/uncrustify/uncrustify/archive/" - "uncrustify-" version ".zip")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/uncrustify/uncrustify/") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0n13kq0nsm35fxhdp0f275n4x0w88hdv3bdjy0hgvv42x0dx5zyp")))) + "0gf6vjcfy8pl7idvwsd500ffj9hri62q0n79kpb6cnfprrqpbgf4")))) (build-system cmake-build-system) (native-inputs - `(("unzip" ,unzip))) + `(("unzip" ,unzip) + ("python" ,python-wrapper))) (arguments `(#:phases (modify-phases %standard-phases diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 44d1fd4bb5..e8a50c676c 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -133,10 +133,7 @@ in compression.") `(#:phases (modify-phases %standard-phases (add-after 'unpack 'enter-source - (lambda _ (chdir "contrib/minizip") #t)) - (add-after 'enter-source 'autoreconf - (lambda _ - (invoke "autoreconf" "-vif")))))) + (lambda _ (chdir "contrib/minizip") #t))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -188,12 +185,7 @@ utility. Instead of being written in Java, FastJar is written in C.") "02cihzl77ia0dcz7z2cga2412vyhhs5pa2355q4wpwbyga2lrwjh")) (patches (search-patches "libtar-CVE-2013-4420.patch")))) (build-system gnu-build-system) - (arguments - `(#:tests? #f ;no "check" target - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ (invoke "sh" "autoreconf" "-vfi")))))) + (arguments `(#:tests? #f)) ; no "check" target (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -363,7 +355,20 @@ decompression.") version ".tar.gz")) (sha256 (base32 - "1sahaqc5bw4i0iyri05syfza4ncf5cml89an033fspn97klmxis6")))) + "1sahaqc5bw4i0iyri05syfza4ncf5cml89an033fspn97klmxis6")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* (find-files "lib" "\\.c$") + (("#if defined _IO_ftrylockfile") + "#if defined _IO_EOF_SEEN")) + (substitute* "lib/stdio-impl.h" + (("^/\\* BSD stdio derived implementations") + (string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n" + "# define _IO_IN_BACKUP 0x100\n" + "#endif\n\n" + "/* BSD stdio derived implementations"))) + #t)))) (build-system gnu-build-system) (synopsis "Parallel bzip2 compression utility") (description @@ -585,22 +590,19 @@ decompressors when faced with corrupted input.") (sha256 (base32 "16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Adjust the bundled gnulib to work with glibc 2.28. See e.g. - ;; "m4-gnulib-libio.patch". This is a phase rather than patch - ;; or snippet to work around . - (substitute* (find-files "lib" "\\.c$") - (("#if defined _IO_ftrylockfile") - "#if defined _IO_EOF_SEEN")) - (substitute* "lib/stdio-impl.h" - (("^/\\* BSD stdio derived implementations") - (string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n" - "# define _IO_IN_BACKUP 0x100\n" - "#endif\n\n" - "/* BSD stdio derived implementations"))) - #t)))) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* (find-files "lib" "\\.c$") + (("#if defined _IO_ftrylockfile") + "#if defined _IO_EOF_SEEN")) + (substitute* "lib/stdio-impl.h" + (("^/\\* BSD stdio derived implementations") + (string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n" + "# define _IO_IN_BACKUP 0x100\n" + "#endif\n\n" + "/* BSD stdio derived implementations"))) + #t)))) (build-system gnu-build-system) (inputs `(("which" ,which))) @@ -694,13 +696,13 @@ sfArk file format to the uncompressed sf2 format.") (package (name "libmspack") (home-page "https://cabextract.org.uk/libmspack/") - (version "0.7.1") + (version "0.9.1") (source (origin (method url-fetch) (uri (string-append home-page name "-" version "alpha.tar.gz")) (sha256 - (base32 "0zn4vwzk5ankgd0l88cipan19pzbzv0sm3fba17lvqwka3dp1acp")))) + (base32 "0h1f5w8rjnq7dcqpqm1mpx5m8q80691kid6f7npqlqwqqzckd8v2")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--disable-static"))) @@ -758,7 +760,8 @@ INCLUDE = ~a/include LIB = ~:*~a/lib OLD_ZLIB = False GZIP_OS_CODE = AUTO_DETECT" - (assoc-ref inputs "zlib"))))))))) + (assoc-ref inputs "zlib")))) + #t))))) (home-page "https://metacpan.org/release/Compress-Raw-Zlib") (synopsis "Low-level interface to zlib compression library") (description "This module provides a Perl interface to the zlib @@ -1082,13 +1085,13 @@ smaller than those produced by @code{Xdelta}.") (package (name "cabextract") (home-page "https://cabextract.org.uk/") - (version "1.7") + (version "1.9") (source (origin (method url-fetch) (uri (string-append home-page name "-" version ".tar.gz")) (sha256 (base32 - "1g86wmb8lkjiv2jarfz979ngbgg7d3si8x5il4g801604v406wi9")) + "1hf4zhjxfdgq9x172r5zfdnafma9q0zf7372syn8hcn7hcypkg0v")) (modules '((guix build utils))) (snippet '(begin @@ -1096,11 +1099,27 @@ smaller than those produced by @code{Xdelta}.") (delete-file-recursively "mspack") #t)))) (build-system gnu-build-system) - (arguments '(#:configure-flags '("--with-external-libmspack"))) + (arguments + '(#:configure-flags '("--with-external-libmspack") + #:phases + (modify-phases %standard-phases + ;; cabextract needs some of libmspack's header files. + ;; These are located in the "mspack" directory of libmspack. + (add-before 'build 'unpack-libmspack + (lambda* (#:key inputs #:allow-other-keys) + (let ((dir-name "libmspack-src")) + (mkdir dir-name) + (invoke "tar" "-xvf" (assoc-ref inputs "libmspack-source") + "-C" dir-name "--strip-components" "1") + (rename-file (string-append dir-name "/mspack") + "mspack") + (delete-file-recursively dir-name) + #t)))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs - `(("libmspack" ,libmspack))) + `(("libmspack" ,libmspack) + ("libmspack-source" ,(package-source libmspack)))) (synopsis "Tool to unpack Cabinet archives") (description "Extracts files out of Microsoft Cabinet (.cab) archives") ;; Some source files specify gpl2+, lgpl2+, however COPYING is gpl3. @@ -1112,13 +1131,14 @@ smaller than those produced by @code{Xdelta}.") (version "3.1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/jmacd/xdelta/archive/v" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/jmacd/xdelta.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "17g2pbbqy6h20qgdjq7ykib7kg5ajh8fwbsfgyjqg8pwg19wy5bm")) - (file-name (string-append name "-" version ".tar.gz")) + "09mmsalc7dwlvgrda56s2k927rpl3a5dzfa88aslkqcjnr790wjy")) (snippet ;; This file isn't freely distributable and has no effect on building. '(begin @@ -1132,9 +1152,7 @@ smaller than those produced by @code{Xdelta}.") `(#:phases (modify-phases %standard-phases (add-after 'unpack 'enter-build-directory - (lambda _ (chdir "xdelta3") #t)) - (add-after 'enter-build-directory 'autoconf - (lambda _ (invoke "autoreconf" "-vfi")))))) + (lambda _ (chdir "xdelta3") #t))))) (home-page "http://xdelta.org") (synopsis "Delta encoder for binary files") (description "xdelta encodes only the differences between two binary files @@ -1184,16 +1202,30 @@ well as bzip2.") (define-public bitshuffle (package (name "bitshuffle") - (version "0.3.4") + (version "0.3.5") (source (origin (method url-fetch) (uri (pypi-uri "bitshuffle" version)) (sha256 (base32 - "0ydawb01ghsvmw0lraczhrgvkjj97bpg98f1qqs1cnfp953mdd5v")))) + "1823x61kyax4dc2hjmc1xraskxi1193y8lvxd03vqv029jrj8cjy")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove generated Cython files. + (delete-file "bitshuffle/h5.c") + (delete-file "bitshuffle/ext.c") + #t)))) (build-system python-build-system) (arguments - `(#:tests? #f)) ; fail: https://github.com/h5py/h5py/issues/769 + `(#:tests? #f ; fail: https://github.com/h5py/h5py/issues/769 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'dont-build-native + (lambda _ + (substitute* "setup.py" + (("'-march=native', ") "")) + #t))))) (inputs `(("numpy" ,python-numpy) ("h5py" ,python-h5py) @@ -1329,7 +1361,8 @@ install: libbitshuffle.so (add-after 'build-jni 'copy-jni (lambda _ (copy-recursively "src/main/resources/org/xerial/snappy/native" - "build/classes/org/xerial/snappy/native"))) + "build/classes/org/xerial/snappy/native") + #t)) (add-before 'check 'fix-failing (lambda _ (with-directory-excursion "src/test/java/org/xerial/snappy" @@ -1447,7 +1480,8 @@ compressor/decompressor.") class)) (invoke "ant" "compile-tests") (test "org.iq80.snappy.SnappyFramedStreamTest") - (test "org.iq80.snappy.SnappyStreamTest"))) + (test "org.iq80.snappy.SnappyStreamTest") + #t)) (add-before 'build 'remove-hadoop-dependency (lambda _ ;; We don't have hadoop @@ -1752,14 +1786,14 @@ or junctions, and always follows hard links.") (define-public zstd (package (name "zstd") - (version "1.3.6") + (version "1.3.7") (source (origin (method url-fetch) (uri (string-append "https://github.com/facebook/zstd/releases/download/" "v" version "/zstd-" version ".tar.gz")) (sha256 - (base32 "1525b31jmbiczjj1n58nckdzky4cdnbwcsil3zgy4cx03v0a0cp8")))) + (base32 "0gapsdzqfsfqqddzv22592iwa0008xjyi15f06pfv9hcvwvg4xrj")))) (build-system gnu-build-system) (arguments `(#:phases @@ -1802,7 +1836,7 @@ speed.") `(#:phases (modify-phases %standard-phases (add-after 'unpack 'enter-subdirectory - (lambda _ (chdir "contrib/pzstd"))) + (lambda _ (chdir "contrib/pzstd") #t)) (delete 'configure) ; no configure script (add-before 'check 'compile-tests (lambda* (#:key make-flags #:allow-other-keys) @@ -2084,14 +2118,16 @@ type by using either Perl modules, or command-line tools on your system.") (lambda _ ;; Our build system enters the first directory in the archive, but ;; the package is not contained in a subdirectory - (chdir ".."))) + (chdir "..") + #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) ;; Do we want to install *Demo.jar? (install-file "build/jar/xz.jar" (string-append (assoc-ref outputs "out") - "/share/java/xz.jar"))))))) + "/share/java/xz.jar")) + #t))))) (native-inputs `(("unzip" ,unzip))) (home-page "https://tukaani.org") @@ -2227,7 +2263,7 @@ single-member files which can't be decompressed in parallel.") (build-system cmake-build-system) (arguments `(#:tests? #f)) ;; No tests available. - (inputs `(("boost" ,boost) + (inputs `(("boost" ,boost-cxx14) ("libiconv" ,libiconv) ("xz" ,xz))) (native-inputs `(("pkg-config" ,pkg-config))) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index efcc2dccb5..423bb5b54f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2018 Charlie Ritter ;;; Copyright © 2018 Konrad Hinsen ;;; Copyright © 2018 Mădălin Ionel Patrașcu +;;; Copyright © 2018 Laura Lazzati ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,10 +32,15 @@ #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system r) + #:use-module (gnu packages base) #:use-module (gnu packages compression) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gcc) + #:use-module (gnu packages gl) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell) + #:use-module (gnu packages image) #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) #:use-module (gnu packages mpi) @@ -43,7 +49,8 @@ #:use-module (gnu packages python) #:use-module (gnu packages statistics) #:use-module (gnu packages tls) - #:use-module (gnu packages web)) + #:use-module (gnu packages web) + #:use-module (gnu packages xorg)) (define-public r-clipr (package @@ -164,19 +171,19 @@ package is a port of the Python package @code{cssselect}.") (define-public r-reprex (package (name "r-reprex") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (cran-uri "reprex" version)) (sha256 (base32 - "1l44pxjiz3g0jkk3v6rg5jps3llihfiah0qyv40s0bxvxa6gm8v9")))) + "1ws5gds453xgfili87r35rz1wn2i7jbqissq98csbiddpkgls8sx")))) (build-system r-build-system) (propagated-inputs `(("r-callr" ,r-callr) ("r-clipr" ,r-clipr) - ("r-knitr" ,r-knitr) + ("r-fs" ,r-fs) ("r-rlang" ,r-rlang) ("r-rmarkdown" ,r-rmarkdown) ("r-whisker" ,r-whisker) @@ -318,14 +325,14 @@ component analysis (with robust methods, and parallelized functions).") (define-public r-ape (package (name "r-ape") - (version "5.1") + (version "5.2") (source (origin (method url-fetch) (uri (cran-uri "ape" version)) (sha256 (base32 - "0vm2065993wf4hdqarxqykhfz9aaj0rrb98alhkq4qw1d2kdrmdp")))) + "05b4yka5cirdgxd4d7iiaqvr428pk3j6n9q6dvg5j38kdj2h5sr7")))) (build-system r-build-system) (propagated-inputs `(("r-lattice" ,r-lattice) @@ -490,13 +497,13 @@ print, summary, plot, update, etc. (define-public r-ps (package (name "r-ps") - (version "1.1.0") + (version "1.2.1") (source (origin (method url-fetch) (uri (cran-uri "ps" version)) (sha256 - (base32 "1zm9qkyvy1fvcjvmgw51iqw8x1xzkpy7rx7xnchwfj0xpzal0ljx")))) + (base32 "1zxylcb0nr4qb5v6j199mc2pfgf2bpf00jrw47jajmv59qb0fwmx")))) (build-system r-build-system) (home-page "http://ps.r-lib.org") (synopsis "List, query, and manipulate system processes") @@ -508,19 +515,21 @@ processes. Most of its code is based on the @code{psutil} Python package.") (define-public r-pkgbuild (package (name "r-pkgbuild") - (version "1.0.0") + (version "1.0.2") (source (origin (method url-fetch) (uri (cran-uri "pkgbuild" version)) (sha256 (base32 - "10iz8057mixl9j73pq2cbp4ib6dadfsgi3fcsjjm7l3wwb9issd9")))) + "1i1rrax7x7r2bplig5cfc50lx85jc4n9a3qmvbdviaj22wr2lghs")))) (build-system r-build-system) (propagated-inputs `(("r-callr" ,r-callr) + ("r-cli" ,r-cli) ("r-crayon" ,r-crayon) ("r-desc" ,r-desc) + ("r-prettyunits" ,r-prettyunits) ("r-r6" ,r-r6) ("r-rprojroot" ,r-rprojroot) ("r-withr" ,r-withr))) @@ -535,14 +544,14 @@ is configured appropriately so R can use them.") (define-public r-pkgload (package (name "r-pkgload") - (version "1.0.0") + (version "1.0.2") (source (origin (method url-fetch) (uri (cran-uri "pkgload" version)) (sha256 (base32 - "1rjj229nq9fsl4ki4m75ybsavjgpqqhsr1zjzapwicsrxv6212px")))) + "0z7jvharafahi2gv5547mk1n499isjzw06kfwymmxc0gd575d1ii")))) (build-system r-build-system) (propagated-inputs `(("r-desc" ,r-desc) @@ -562,14 +571,16 @@ you to rapidly iterate while developing a package.") (define-public r-rcpp (package (name "r-rcpp") - (version "0.12.18") + (version "1.0.0") (source (origin (method url-fetch) (uri (cran-uri "Rcpp" version)) (sha256 - (base32 "006kpg2ph109rh1l13lqk26pp4as4fvl5661vrcczjygacgd1v7w")))) + (base32 "1hlbw4k79q9ich4w27b01gsvwrsnrflii8zjlcmgfzm1vpq8ndxp")))) (build-system r-build-system) + (native-inputs + `(("r-knitr" ,r-knitr))) ; for vignettes (home-page "http://www.rcpp.org") (synopsis "Seamless R and C++ integration") (description @@ -788,14 +799,14 @@ rows, dropping names) to see if the modified versions are identical.") (define-public r-dendextend (package (name "r-dendextend") - (version "1.8.0") + (version "1.9.0") (source (origin (method url-fetch) (uri (cran-uri "dendextend" version)) (sha256 (base32 - "1virn3c232xwcq3d0hhkgjh5gpzl01s39iwii5gxcm9mnsxjzdrh")))) + "1jiani6zwfajky2vafvay2hq158nh99rdrk3j00lycspds9v35fd")))) (build-system r-build-system) (propagated-inputs `(("r-fpc" ,r-fpc) @@ -887,14 +898,14 @@ in main memory.") (define-public r-ffbase (package (name "r-ffbase") - (version "0.12.3") + (version "0.12.7") (source (origin (method url-fetch) (uri (cran-uri "ffbase" version)) (sha256 (base32 - "1nz97bndxxkzp8rq6va8ff5ky9vkaib1jybm6j852awwb3n9had5")))) + "04kxx2f3f0743c5nvpb7x1x0pcd220dazpd5ag1pidxbz3xa85nw")))) (build-system r-build-system) (propagated-inputs `(("r-bit" ,r-bit) @@ -932,14 +943,14 @@ quantities.") (define-public r-reshape (package (name "r-reshape") - (version "0.8.7") + (version "0.8.8") (source (origin (method url-fetch) (uri (cran-uri "reshape" version)) (sha256 (base32 - "14ir3w4bb3bsz8jsak27nj7kpn227pdgr9653gjq5wc93rywi9ig")))) + "0s6i0sqxg1vldxs6miv8mi0zydxbqzgpmzfiwkj8y7jix3yrfmad")))) (build-system r-build-system) (propagated-inputs `(("r-plyr" ,r-plyr) @@ -1346,17 +1357,18 @@ functions from LINPACK.") (define-public r-fitdistrplus (package (name "r-fitdistrplus") - (version "1.0-9") + (version "1.0-11") (source (origin (method url-fetch) (uri (cran-uri "fitdistrplus" version)) (sha256 (base32 - "18x9454g598d54763k3hvi33iszifk7sxvhd1zg5r8z1vpixx3z6")))) + "12hckg3y5j3zh9q1gwxkc27q813p2r42iqp7wdfiq6nj55jrh6w6")))) (build-system r-build-system) (propagated-inputs `(("r-mass" ,r-mass) + ("r-npsurv" ,r-npsurv) ("r-survival" ,r-survival))) (home-page "http://riskassessment.r-forge.r-project.org") (synopsis "Fitting a parametric distribution from data") @@ -1581,14 +1593,14 @@ the Kaplan-Meier and Aalen-Johansen methods.") (define-public r-dimred (package (name "r-dimred") - (version "0.1.0") + (version "0.2.2") (source (origin (method url-fetch) (uri (cran-uri "dimRed" version)) (sha256 (base32 - "0fasca5fsbrxdwv30hch7vb9snb844l7l8p5fjf239dq45xfy37v")))) + "0ssy2qriiy6zdawriqcbl67qiq68ipml3frq7aqlq70r2fqyyw48")))) (properties `((upstream-name . "dimRed"))) (build-system r-build-system) (propagated-inputs `(("r-drr" ,r-drr))) @@ -1624,14 +1636,14 @@ calendar objects.") (define-public r-magic (package (name "r-magic") - (version "1.5-8") + (version "1.5-9") (source (origin (method url-fetch) (uri (cran-uri "magic" version)) (sha256 (base32 - "083cgpp3v03li0h8597b3g21pd9lkbmn9pyssblnhc800mpc52vz")))) + "0snmdh6vk0p6ar1swsihisinxrx7l8371dri5lk0z24ysgr5w7gs")))) (build-system r-build-system) (propagated-inputs `(("r-abind" ,r-abind))) @@ -1757,14 +1769,14 @@ provided.") (define-public r-ipred (package (name "r-ipred") - (version "0.9-7") + (version "0.9-8") (source (origin (method url-fetch) (uri (cran-uri "ipred" version)) (sha256 (base32 - "0q53cqs46501wsd4cmfsmr78l8nv1hkbamk9m0ns5qy02df5r254")))) + "01xcg3c121ndfpz9dirqxszknh4yb1p222p7f1wbwwhdrg1i27cw")))) (build-system r-build-system) (propagated-inputs `(("r-class" ,r-class) @@ -1784,14 +1796,14 @@ problems as well as resampling based estimators of prediction error.") (define-public r-psych (package (name "r-psych") - (version "1.8.4") + (version "1.8.10") (source (origin (method url-fetch) (uri (cran-uri "psych" version)) (sha256 (base32 - "1kzv9nc7rwn1sj1zxd8xrbs6c7qlka7j2c8lsr4f20znkd3qx8gf")))) + "0n3frgzsfmnan6cp3yyq5h6c28v5pd7q5a42pp6byaa7n7d1v478")))) (build-system r-build-system) (propagated-inputs `(("r-foreign" ,r-foreign) @@ -1852,14 +1864,14 @@ provides a one-row summary of model-level statistics.") (define-public r-recipes (package (name "r-recipes") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (cran-uri "recipes" version)) (sha256 (base32 - "1vqh3pxs4n1azhnd1lzg91vasya6g323kllhbrw177j7kdxqyimy")))) + "0bwijw4427v2k5z3qci2kyr5dyzql8b3lvf88rwy16p741jckjsn")))) (build-system r-build-system) (propagated-inputs `(("r-broom" ,r-broom) @@ -2037,17 +2049,18 @@ Laplace approximation and adaptive Gauss-Hermite quadrature.") (define-public r-jomo (package (name "r-jomo") - (version "2.6-4") + (version "2.6-5") (source (origin (method url-fetch) (uri (cran-uri "jomo" version)) (sha256 (base32 - "05g2rj9g7rgyb22b0gybw042nydyqsqsb31v05hifzavri8ij01x")))) + "109q5m69clrvvialxdxznd0wdb54ajhx84nj8slx8bf909a427mj")))) (build-system r-build-system) (propagated-inputs `(("r-lme4" ,r-lme4) + ("r-mass" ,r-mass) ("r-ordinal" ,r-ordinal) ("r-survival" ,r-survival))) (home-page "https://cran.r-project.org/web/packages/jomo/") @@ -2224,14 +2237,14 @@ acceptance regions, log-ratio plots and Q-Q plots.") (define-public r-sm (package (name "r-sm") - (version "2.2-5.5") + (version "2.2-5.6") (source (origin (method url-fetch) (uri (cran-uri "sm" version)) (sha256 (base32 - "1rw2mxygxsmk8mn4wag1ppjgzk0rlvh6zd8q02qrhjrn9jhi5qj3")))) + "0c4whcx879gb4lwvqnzxl5n9xgpcqh2c54ip9ami3mwfprzcv45q")))) (build-system r-build-system) (native-inputs `(("gfortran" ,gfortran))) (home-page "http://www.stats.gla.ac.uk/~adrian/sm/") @@ -2314,14 +2327,14 @@ training models for classification or ranking.") (define-public r-xts (package (name "r-xts") - (version "0.11-0") + (version "0.11-2") (source (origin (method url-fetch) (uri (cran-uri "xts" version)) (sha256 (base32 - "1v50yn4bsjzdyk7r90isn6dxmpkapillrhpx3gqsshd180vwzqk9")))) + "1f0kxrvn13py3hk2gh2m56cqm39x3bqp1i350r5viddacrm2yxqj")))) (build-system r-build-system) (propagated-inputs `(("r-zoo" ,r-zoo))) (home-page "https://github.com/joshuaulrich/xts") @@ -2499,14 +2512,14 @@ plotting. a three dimensional point cloud.") (define-public r-ggridges (package (name "r-ggridges") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (cran-uri "ggridges" version)) (sha256 (base32 - "1znvsbl3px8dddpjgdrygnpz4s685wizi0jnjvx2hrz58i0chjqj")))) + "0dhwcpy785ac2ny5bjp284595nnybi3554wd0yffsli0vzf7ry01")))) (build-system r-build-system) (propagated-inputs `(("r-ggplot2" ,r-ggplot2) @@ -2546,14 +2559,14 @@ plots in @code{ggplot2}.") (define-public r-cli (package (name "r-cli") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri (cran-uri "cli" version)) (sha256 (base32 - "07as3dr7vwx02p3qgzlmxz1dlrd3x3lysrzp222ip9jcjpydp8wg")))) + "1r2yih4c0bdmbx0qrarlf0m1p5z30sri755zmdazsq2pw76zp07g")))) (build-system r-build-system) (propagated-inputs `(("r-assertthat" ,r-assertthat) @@ -2701,20 +2714,19 @@ of merit, ordering functions, and enhanced versions of @code{pairs} and (define-public r-webshot (package (name "r-webshot") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (cran-uri "webshot" version)) (sha256 (base32 - "07r71zzmggp4jf92x4ws4wg6v1x98vaj01lsar85bnb30n5vx8gh")))) + "08sb1xi376pfy1vwilk2d68zljsg9yiv04n2dkqz383gdhh0sxdr")))) (build-system r-build-system) (propagated-inputs - `(("r-jsonlite" ,r-jsonlite) - ("r-magrittr" ,r-magrittr) - ("r-processx" ,r-processx) - ("r-withr" ,r-withr))) + `(("r-callr" ,r-callr) + ("r-jsonlite" ,r-jsonlite) + ("r-magrittr" ,r-magrittr))) (home-page "https://github.com/wch/webshot/") (synopsis "Take screenshots of web pages") (description @@ -2761,14 +2773,14 @@ iVAT).") (define-public r-xfun (package (name "r-xfun") - (version "0.3") + (version "0.4") (source (origin (method url-fetch) (uri (cran-uri "xfun" version)) (sha256 (base32 - "1r11dd49ngmjgbjdv28a9c1jp8cg1l50x0acbsamzz576p8i2wl9")))) + "0991ywgc2dsraba91kkj37akhfzhzn02cnz7c88hhdis9kag3pwv")))) (build-system r-build-system) (home-page "https://github.com/yihui/xfun") (synopsis "Miscellaneous functions") @@ -2845,14 +2857,14 @@ terminals.") (define-public r-tinytex (package (name "r-tinytex") - (version "0.8") + (version "0.9") (source (origin (method url-fetch) (uri (cran-uri "tinytex" version)) (sha256 (base32 - "1bgpr5i5399jf9n6pg2mm4aamisbhppg082ad0wv1j4g0rlxf1gy")))) + "08w5hyq3ysh631d5whgcfv1bb007cdc0bjhb83vwmhazs6rgvyjy")))) (build-system r-build-system) (propagated-inputs `(("r-xfun" ,r-xfun))) @@ -2960,14 +2972,14 @@ generation, and 2D/3D network visualization.") (define-public r-ttr (package (name "r-ttr") - (version "0.23-3") + (version "0.23-4") (source (origin (method url-fetch) (uri (cran-uri "TTR" version)) (sha256 (base32 - "07r62ngyzjl4aszdxnr3n6bnbcgcap32yhd430jsilicg8n06di1")))) + "18mzyv6cmxmqyqsfwlx2b2k055887mfgc2jgj8xkn8c6m56n05zb")))) (properties `((upstream-name . "TTR"))) (build-system r-build-system) (propagated-inputs @@ -3067,6 +3079,26 @@ Analysis for Physical Applications, Donald B. Percival and Andrew T. Walden, Cambridge University Press, 1993.") (license license:gpl2))) +(define-public r-aggregation + (package + (name "r-aggregation") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "aggregation" version)) + (sha256 + (base32 + "0j9g604m2ccc7hcy02539yja9cf3xcbl25gvp838bp4x8w18my46")))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/aggregation/") + (synopsis "Methods for p-value aggregation") + (description + "This package contains functionality for performing the following methods +of p-value aggregation: Fisher's method, the Lancaster method (weighted +Fisher's method), and Sidak correction.") + (license license:gpl3))) + (define-public r-quantmod (package (name "r-quantmod") @@ -3168,14 +3200,14 @@ Cryer and Kung-Sik Chan.") (define-public r-extradistr (package (name "r-extradistr") - (version "1.8.9") + (version "1.8.10") (source (origin (method url-fetch) (uri (cran-uri "extraDistr" version)) (sha256 (base32 - "1fg8vjpal33y51iqzglk1yvy46d7js0l0wfbdy698lq8a06hq19p")))) + "00lvqp5bb3iak5myiz4rqm887bkq9sdh7aybmz84mmfni6q01m28")))) (properties `((upstream-name . "extraDistr"))) (build-system r-build-system) (propagated-inputs @@ -3238,14 +3270,14 @@ applied econometric analysis.") (define-public r-cubature (package (name "r-cubature") - (version "1.4") + (version "1.4-1") (source (origin (method url-fetch) (uri (cran-uri "cubature" version)) (sha256 (base32 - "1hd23b8v2kpqp5gr0va8p2q7j8w9rik6ks7zrr4b8mb2mwrakk74")))) + "10jl5l3xnigiq95829ssq69xbim97k851187dghc30awszcx4clh")))) (build-system r-build-system) (propagated-inputs `(("r-rcpp" ,r-rcpp))) @@ -3294,14 +3326,14 @@ sample Robust Rank-Order Distributional Test.") (define-public r-expm (package (name "r-expm") - (version "0.999-2") + (version "0.999-3") (source (origin (method url-fetch) (uri (cran-uri "expm" version)) (sha256 (base32 - "1mihl67kvv1xv0figp25jkmwfn4iwkcx15cng2348y8gm6zybw9q")))) + "04k4a6g071jkjc0d30ncmf713dj16brcs9m6pj43hnycc1caq6si")))) (build-system r-build-system) (propagated-inputs `(("r-matrix" ,r-matrix))) (native-inputs `(("gfortran" ,gfortran))) @@ -3359,14 +3391,14 @@ creation and manipulation of WAVE audio files.") (define-public r-np (package (name "r-np") - (version "0.60-8") + (version "0.60-9") (source (origin (method url-fetch) (uri (cran-uri "np" version)) (sha256 (base32 - "17h67a510wh83800ri6g02wvznrlhigxni8shyijz1iaxcpk8k4j")))) + "1z4jcpx8bbgwslv42wrphfd1qfq965qjn0kmfxm5f6hbbycahcgy")))) (build-system r-build-system) (propagated-inputs `(("r-boot" ,r-boot) @@ -3448,6 +3480,36 @@ dendrograms.") ;; Either version of the license. (license (list license:gpl2 license:gpl3)))) +(define-public r-h5 + (package + (name "r-h5") + (version "0.9.9") + (source + (origin + (method url-fetch) + (uri (cran-uri "h5" version)) + (sha256 + (base32 + "14p7i1sj24ky87kd7qr3n9fc9l64s0bp0rwbyl6i2x69xn75gpsx")))) + (build-system r-build-system) + (inputs + `(("zlib" ,zlib) + ("hdf5" ,hdf5))) + (native-inputs + `(("which" ,which))) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (home-page "https://github.com/mannau/h5") + (synopsis "Interface to the HDF5 Library") + (description + "This package provides an S4 interface to the HDF5 library supporting +fast storage and retrieval of R-objects like vectors, matrices and arrays to +binary files in a language independent format. The HDF5 format can therefore +be used as an alternative to R's save/load mechanism. Since h5 is able to +access only subsets of stored data it can also handle data sets which do not +fit into memory.") + (license license:bsd-2))) + (define-public r-cgdsr (package (name "r-cgdsr") @@ -3498,14 +3560,14 @@ files.") (define-public r-shinyace (package (name "r-shinyace") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (cran-uri "shinyAce" version)) (sha256 (base32 - "1hqgszbiv99dibhwr21v21ll4s2hjn3ccqdicsm0z3gk77bh8iyb")))) + "1fbk5i6w6cpam8s3acf4bgdp8hajn4digjjix3i6i4q3p2rvn6zx")))) (properties `((upstream-name . "shinyAce"))) (build-system r-build-system) (propagated-inputs @@ -3521,14 +3583,14 @@ environment within Shiny.") (define-public r-radiant-data (package (name "r-radiant-data") - (version "0.9.5") + (version "0.9.7") (source (origin (method url-fetch) (uri (cran-uri "radiant.data" version)) (sha256 (base32 - "0mbxfqn79nphii4hb6kxl2wc0w0ra16y378rp2yw9a9926zdb7mb")) + "1f98ahki0kyb27gl55a859zb0lsvk9gddd9f54y767xfs6h89cgk")) (modules '((guix build utils))) (snippet '(begin @@ -3562,7 +3624,9 @@ environment within Shiny.") ("r-rstudioapi" ,r-rstudioapi) ("r-scales" ,r-scales) ("r-shiny" ,r-shiny) + ("r-shinyfiles" ,r-shinyfiles) ("r-shinyace" ,r-shinyace) + ("r-summarytools" ,r-summarytools) ("r-tibble" ,r-tibble) ("r-tidyr" ,r-tidyr) ("r-writexl" ,r-writexl))) @@ -4057,14 +4121,14 @@ simple method for converting between file types.") (define-public r-maptools (package (name "r-maptools") - (version "0.9-3") + (version "0.9-4") (source (origin (method url-fetch) (uri (cran-uri "maptools" version)) (sha256 (base32 - "0hxbv01im9zk1qrwgigpc510w6x0kzdzip4gx2jzfqmmwr8m17r8")))) + "1753kgyc4kmbb5h6knz5wgvvvj8v77kzm8lz0kwz05m5k3spa24k")))) (build-system r-build-system) (propagated-inputs `(("r-foreign" ,r-foreign) @@ -4085,14 +4149,14 @@ exchanging spatial objects with other R packages.") (define-public r-later (package (name "r-later") - (version "0.7.4") + (version "0.7.5") (source (origin (method url-fetch) (uri (cran-uri "later" version)) (sha256 (base32 - "125zc499gj702x2bch95lsfzk2qb4dzv3604x9afym2i3ylrmm64")))) + "0xhwn37makzm85zb6w5acc7svzibxcnz69rks0kxw22vapkxwz1i")))) (build-system r-build-system) (propagated-inputs `(("r-bh" ,r-bh) @@ -4234,14 +4298,14 @@ quizzes to create self-paced tutorials for learning about R and R packages.") (define-public r-analytics (package (name "r-analytics") - (version "2.0") + (version "3.0") (source (origin (method url-fetch) (uri (cran-uri "analytics" version)) (sha256 (base32 - "1jkdjqc3fnvvsgi6x9ncf36rxzq0a55cmgkcv92mfmpcramg2lk6")))) + "0js3c8lwj3knccb55nq03cbjlf4w390p9aid2mi5x80l3ayd9in1")))) (build-system r-build-system) (propagated-inputs `(("r-car" ,r-car) @@ -4254,7 +4318,8 @@ quizzes to create self-paced tutorials for learning about R and R packages.") ("r-robust" ,r-robust) ("r-trend" ,r-trend) ("r-tsa" ,r-tsa) - ("r-urca" ,r-urca))) + ("r-urca" ,r-urca) + ("r-vim" ,r-vim))) (home-page "https://cran.r-project.org/web/packages/analytics/") (synopsis "Collection of data analysis tools") (description @@ -4385,14 +4450,14 @@ and adds the annotation to the plot.") (define-public r-ggpubr (package (name "r-ggpubr") - (version "0.1.8") + (version "0.2") (source (origin (method url-fetch) (uri (cran-uri "ggpubr" version)) (sha256 (base32 - "0psl2zndm4wk6nnj1nv305islpxfvfgd87gjh2ph8yqn4mxpnfi1")))) + "0rkpcjb1x7lvhj68aam5airbi534jqyiq12x5xk40a25iifhghq6")))) (build-system r-build-system) (propagated-inputs `(("r-cowplot" ,r-cowplot) @@ -4534,14 +4599,14 @@ steps and provides ggplot2-based elegant data visualization.") (define-public r-fansi (package (name "r-fansi") - (version "0.3.0") + (version "0.4.0") (source (origin (method url-fetch) (uri (cran-uri "fansi" version)) (sha256 (base32 - "135qj7bcc3mwn0vg55hiiadf66lx6zaxvkicfmfw9x0zr7ah2r6x")))) + "02f2rx7v7wz6w97m2slwky2i5y8f9iafycmkyr3siy3z3k8fj171")))) (build-system r-build-system) (native-inputs `(("r-knitr" ,r-knitr))) ; for vignettes @@ -4576,14 +4641,14 @@ results to the user.") (define-public r-hdf5r (package (name "r-hdf5r") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri (cran-uri "hdf5r" version)) (sha256 (base32 - "1s6p4cj909kc635fh5xpl87bqlcdj3dn3r1wk5g40abimk2b0pva")))) + "0h222q80li8rs3cv4c5lvv3g91ygd51w43ay6fwyk9q9d315vwrj")))) (build-system r-build-system) (inputs `(("hdf5" ,hdf5) @@ -4663,17 +4728,43 @@ Extract argument descriptions and other parts of the help pages of functions.") (license license:gpl2+))) +(define-public r-rjags + (package + (name "r-rjags") + (version "4-8") + (source + (origin + (method url-fetch) + (uri (cran-uri "rjags" version)) + (sha256 + (base32 + "17xmjksj69f9wk4x71jxk4cgiqhaf2fj6bjm0mgzp4qln5x84a8m")))) + (build-system r-build-system) + (propagated-inputs + `(("r-coda" ,r-coda))) + (inputs + `(("jags" ,jags))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://mcmc-jags.sourceforge.net") + (synopsis "Bayesian graphical models using MCMC") + (description + "This package provides an R interface to the JAGS MCMC library. JAGS is +Just Another Gibbs Sampler. It is a program for analysis of Bayesian +hierarchical models using Markov Chain Monte Carlo (MCMC) simulation.") + (license license:gpl2))) + (define-public r-rdpack (package (name "r-rdpack") - (version "0.9-0") + (version "0.10-1") (source (origin (method url-fetch) (uri (cran-uri "Rdpack" version)) (sha256 (base32 - "067w0w6kza0hkzcnx58danl83yfvl9yjacr47mnid2bg856gdd1b")))) + "0bbjnw88h54v40hzim00i8yd3p4rk9i84zfdmgcbnylscwvsf0av")))) (properties `((upstream-name . "Rdpack"))) (build-system r-build-system) (propagated-inputs @@ -4725,6 +4816,112 @@ be added or removed. When working with Word documents, a cursor can be used to help insert or delete content at a specific location in the document.") (license license:gpl3))) +(define-public r-abn + (package + (name "r-abn") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "abn" version)) + (sha256 + (base32 + "00k0razgdb5y5f62622fm7rxkcxrxg470nyyb02dvpfp60254kvs")))) + (build-system r-build-system) + (inputs + `(("gsl" ,gsl))) + (propagated-inputs + `(("r-cairo" ,r-cairo) + ("r-lme4" ,r-lme4) + ("r-mass" ,r-mass) + ("r-nnet" ,r-nnet) + ("r-rcpp" ,r-rcpp) + ("r-rcpparmadillo" ,r-rcpparmadillo) + ("r-rjags" ,r-rjags))) + (home-page "http://www.r-bayesian-networks.org") + (synopsis "Modelling multivariate data with additive bayesian networks") + (description + "Bayesian network analysis is a form of probabilistic graphical models +which derives from empirical data a directed acyclic graph, DAG, describing +the dependency structure between random variables. An additive Bayesian +network model consists of a form of a DAG where each node comprises a +@dfn{generalized linear model} (GLM). Additive Bayesian network models are +equivalent to Bayesian multivariate regression using graphical modelling, they +generalises the usual multivariable regression, GLM, to multiple dependent +variables. This package provides routines to help determine optimal Bayesian +network models for a given data set, where these models are used to identify +statistical dependencies in messy, complex data.") + (license license:gpl2+))) + +(define-public r-acd + (package + (name "r-acd") + (version "1.5.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "ACD" version)) + (sha256 + (base32 + "1a67bi3hklq8nlc50r0qnyr4k7m9kpvijy8sqqpm54by5hsysfd6")))) + (properties `((upstream-name . "ACD"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/ACD/") + (synopsis "Categorical data analysis with complete or missing responses") + (description + "This package provides tools for categorical data analysis with complete +or missing responses.") + (license license:gpl2+))) + +(define-public r-acdm + (package + (name "r-acdm") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "ACDm" version)) + (sha256 + (base32 + "0b4f02ga5ra66mbrm79g0bnlzmii82rks9kmxixxqgf18yhlyjil")))) + (properties `((upstream-name . "ACDm"))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-plyr" ,r-plyr) + ("r-rsolnp" ,r-rsolnp) + ("r-zoo" ,r-zoo))) + (home-page "https://cran.r-project.org/web/packages/ACDm/") + (synopsis "Tools for Autoregressive Conditional Duration Models") + (description + "ACDm is a package for Autoregressive Conditional Duration (ACD, Engle +and Russell, 1998) models. It creates trade, price or volume durations from +transactions (tic) data, performs diurnal adjustments, fits various ACD models +and tests them.") + (license license:gpl2+))) + +(define-public r-overlap + (package + (name "r-overlap") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "overlap" version)) + (sha256 + (base32 + "1j3m6ir1chdz0si2fhcw6gs7c9h09bv0chz18rpzxsywww6d4rzy")))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/overlap/") + (synopsis "Estimates of coefficient of overlapping for animal activity patterns") + (description + "This package provides functions to fit kernel density functions to data +on temporal activity patterns of animals; estimate coefficients of overlapping +of densities for two species; and calculate bootstrap estimates of confidence +intervals.") + (license license:gpl3+))) + (define-public r-snakecase (package (name "r-snakecase") @@ -4774,14 +4971,14 @@ other add-on packages.") (define-public r-sjlabelled (package (name "r-sjlabelled") - (version "1.0.13") + (version "1.0.14") (source (origin (method url-fetch) (uri (cran-uri "sjlabelled" version)) (sha256 (base32 - "0xizj7mrhnbn8kwjgm076si9w68a7lgrx4vj1sbqmv9jx055h8wv")))) + "0ayfzhm9bwjfaarq5z0gvn9kapjwj3532azgin97nr5fnjdhvgaw")))) (build-system r-build-system) (propagated-inputs `(("r-broom" ,r-broom) @@ -4807,14 +5004,14 @@ vice versa), or to deal with multiple declared missing values.") (define-public r-sjmisc (package (name "r-sjmisc") - (version "2.7.4") + (version "2.7.6") (source (origin (method url-fetch) (uri (cran-uri "sjmisc" version)) (sha256 (base32 - "11cy09k1d2y5wwqvafqxr01hzk4x68ji2pqlwj7fnpw27i3ap4q4")))) + "1jhrigikjpkdar3jxvi7qhqsg6lgjkjqhqll9vaay98b88rfc2im")))) (build-system r-build-system) (propagated-inputs `(("r-broom" ,r-broom) @@ -4822,15 +5019,12 @@ vice versa), or to deal with multiple declared missing values.") ("r-dplyr" ,r-dplyr) ("r-haven" ,r-haven) ("r-magrittr" ,r-magrittr) - ("r-pillar" ,r-pillar) ("r-purrr" ,r-purrr) ("r-rlang" ,r-rlang) ("r-sjlabelled" ,r-sjlabelled) ("r-stringdist" ,r-stringdist) ("r-stringr" ,r-stringr) - ("r-tibble" ,r-tibble) - ("r-tidyr" ,r-tidyr) - ("r-tidyselect" ,r-tidyselect))) + ("r-tidyr" ,r-tidyr))) (home-page "https://github.com/strengejacke/sjmisc") (synopsis "Data and variable transformation functions") (description @@ -4892,14 +5086,14 @@ functions.") (define-public r-flextable (package (name "r-flextable") - (version "0.4.5") + (version "0.4.6") (source (origin (method url-fetch) (uri (cran-uri "flextable" version)) (sha256 (base32 - "09j2y0z7rkc0w1cl9pp1cpk6fnzzfr6245mxa3ca42z9k2cy2jfl")))) + "0fa42dvf0wyl91w4v0rywm3xgw9n03cfyl28ficrv8iabz4k4382")))) (build-system r-build-system) (propagated-inputs `(("r-gdtools" ,r-gdtools) @@ -5217,14 +5411,14 @@ containing one or more SNPs that evolved under directional selection.") (define-public r-proc (package (name "r-proc") - (version "1.12.1") + (version "1.13.0") (source (origin (method url-fetch) (uri (cran-uri "pROC" version)) (sha256 (base32 - "05ad69a6fxy9k903cw3h4q59ch2jv6qfg9yjdbw3cgiiazcafrlj")))) + "0ain17clympkx09ym7gydylcd93096dxzqx1qzci310yq2l7fknm")))) (properties `((upstream-name . "pROC"))) (build-system r-build-system) (propagated-inputs @@ -5855,13 +6049,13 @@ detection.") (define-public r-abps (package (name "r-abps") - (version "0.2") + (version "0.3") (source (origin (method url-fetch) (uri (cran-uri "ABPS" version)) (sha256 - (base32 "1k3f5i34f4w2khkszb4qhwwcpiy7gsfh82vjr6rypwg6rx5rjclq")))) + (base32 "0n3f66nmfi5v94il1mxy026mi84w01ph2aljk60vn3mrz8kwf2ll")))) (properties `((upstream-name . "ABPS"))) (build-system r-build-system) (propagated-inputs `(("r-kernlab" ,r-kernlab))) @@ -6160,6 +6354,52 @@ representing one simulated time step. Various mutation events are possible at each time step, contributing to a diverse final repertoire.") (license license:gpl2))) +(define-public r-quic + (package + (name "r-quic") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "QUIC" version)) + (sha256 + (base32 "021bp9xbaih60qmss015ycblbv6d1dvb1z89y93zpqqnc2qhpv3c")))) + (properties `((upstream-name . "QUIC"))) + (build-system r-build-system) + (home-page "https://www.cs.utexas.edu/users/sustik/QUIC/") + (synopsis "Regularized sparse inverse covariance matrix estimation") + (description + "This package implements the regularized Gaussian maximum likelihood +estimation of the inverse of a covariance matrix. It uses Newton's method and +coordinate descent to solve the regularized inverse covariance matrix +estimation problem.") + ;; The project home page states that the release is under GPLv3 or later. + ;; The CRAN page only says GPL-3. + (license license:gpl3+))) + +(define-public r-abundant + (package + (name "r-abundant") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "abundant" version)) + (sha256 + (base32 "1m76qdmqvwpgm0sihazi2dna7cgsz9rljal18vgffb5wamwmg9k7")))) + (build-system r-build-system) + (propagated-inputs + `(("r-quic" ,r-quic))) + (home-page "https://cran.r-project.org/web/packages/abundant/") + (synopsis "Abundant regression and high-dimensional principal fitted components") + (description + "This package provides tools to fit and predict with the high-dimensional +principal fitted components model. This model is described by Cook, Forzani, +and Rothman (2012) @url{doi:10.1214/11-AOS962}.") + ;; The DESCRIPTION file states GPL-2, but since it directly depends on a + ;; GPLv3+ package (QUIC) this likely means GPLv2+. + (license license:gpl2+))) + (define-public r-ac3net (package (name "r-ac3net") @@ -6256,3 +6496,1282 @@ a header row or not. The dataset should contain only one independent variable (x) and one dependent variable (y) and can contain a weight for each observation.") (license license:gpl2))) + +(define-public r-aspi + (package + (name "r-aspi") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "aspi" version)) + (sha256 + (base32 "0rhvxw243vvdv3hxa6pi343gcjc2cbxq1jzqirl9k1l4i3897l87")))) + (build-system r-build-system) + (home-page + "https://cran.r-project.org/web/packages/aspi/") + (synopsis + "Analysis of symmetry of parasitic infections") + (description + "This package provides tools for the analysis and visualization of bilateral + asymmetry in parasitic infections.") + (license license:gpl3+))) + +(define-public r-sandwich + (package + (name "r-sandwich") + (version "2.5-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "sandwich" version)) + (sha256 + (base32 + "168kq5kk34xbhfsxsanard9zriyp6cw0s09ralzb57kk42pl9hbc")))) + (build-system r-build-system) + (propagated-inputs + `(("r-zoo" ,r-zoo))) + (home-page "https://cran.r-project.org/web/packages/sandwich/") + (synopsis "Robust Covariance Matrix Estimators") + (description + "This package provides model-robust standard error estimators for +cross-sectional, time series, clustered, panel, and longitudinal data.") + ;; Either version of the license. + (license (list license:gpl2 license:gpl3)))) + +(define-public r-th-data + (package + (name "r-th-data") + (version "1.0-9") + (source + (origin + (method url-fetch) + (uri (cran-uri "TH.data" version)) + (sha256 + (base32 + "03xfvww0krw0fn76qmmvrj7dx4shin57qafwhkrggfg25hbqlcfq")))) + (properties `((upstream-name . "TH.data"))) + (build-system r-build-system) + (propagated-inputs + `(("r-mass" ,r-mass) + ("r-survival" ,r-survival))) + (home-page "https://cran.r-project.org/web/packages/TH.data/") + (synopsis "Shared data sets") + (description + "This package contains supporting data sets that are used in other +packages maintained by Torsten Hothorn.") + (license license:gpl3))) + +(define-public r-multcomp + (package + (name "r-multcomp") + (version "1.4-8") + (source + (origin + (method url-fetch) + (uri (cran-uri "multcomp" version)) + (sha256 + (base32 + "0fm78g4zjc6ank316qfw977864shmy890znn4fahwc8jjdhpc252")))) + (build-system r-build-system) + (propagated-inputs + `(("r-codetools" ,r-codetools) + ("r-mvtnorm" ,r-mvtnorm) + ("r-sandwich" ,r-sandwich) + ("r-survival" ,r-survival) + ("r-th-data" ,r-th-data))) + (home-page "https://cran.r-project.org/web/packages/multcomp/") + (synopsis "Simultaneous inference in general parametric models") + (description + "Simultaneous tests and confidence intervals for general linear +hypotheses in parametric models, including linear, generalized linear, linear +mixed effects, and survival models. The package includes demos reproducing +analyzes presented in the book \"Multiple Comparisons Using R\" (Bretz, +Hothorn, Westfall, 2010, CRC Press).") + (license license:gpl2))) + +(define-public r-emmeans + (package + (name "r-emmeans") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "emmeans" version)) + (sha256 + (base32 + "0kdyy4qp332c4yyvp1cnh48h6ks6ffir5rjcv0py0vm3m8c3hh61")))) + (build-system r-build-system) + (propagated-inputs + `(("r-estimability" ,r-estimability) + ("r-mvtnorm" ,r-mvtnorm) + ("r-plyr" ,r-plyr) + ("r-xtable" ,r-xtable))) + (home-page "https://github.com/rvlenth/emmeans") + (synopsis "Estimated marginal means, aka least-squares means") + (description + "This package provides tools to obtain @dfn{estimated marginal +means} (EMMs) for many linear, generalized linear, and mixed models. It can +be used to compute contrasts or linear functions of EMMs, trends, and +comparisons of slopes.") + ;; Either version of the license. + (license (list license:gpl2 license:gpl3)))) + +(define-public r-pwr + (package + (name "r-pwr") + (version "1.2-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "pwr" version)) + (sha256 + (base32 + "0r5g781lr677vp3zyhgmi7r68c87l8gd05l1s3ffnxgn5wf043sm")))) + (build-system r-build-system) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/heliosdrm/pwr") + (synopsis "Basic functions for power analysis") + (description + "This package provides power analysis functions along the lines of +Cohen (1988).") + (license license:gpl3+))) + +(define-public r-coin + (package + (name "r-coin") + (version "1.2-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "coin" version)) + (sha256 + (base32 + "1fq58793bymzig1syjg2lvn6hsxfwkhh00jfrchh3c0y7rfhc66m")))) + (build-system r-build-system) + (propagated-inputs + `(("r-modeltools" ,r-modeltools) + ("r-multcomp" ,r-multcomp) + ("r-mvtnorm" ,r-mvtnorm) + ("r-survival" ,r-survival))) + (home-page "http://coin.r-forge.r-project.org") + (synopsis "Conditional inference procedures in a permutation test framework") + (description + "This package provides conditional inference procedures for the general +independence problem including two-sample, K-sample (non-parametric ANOVA), +correlation, censored, ordered and multivariate problems.") + (license license:gpl2))) + +(define-public r-bayesplot + (package + (name "r-bayesplot") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "bayesplot" version)) + (sha256 + (base32 + "0in9cq2ybpa7njrwqx4l6nc8i01cjswsvzwlyiw465pi74aapr57")))) + (build-system r-build-system) + (inputs + `(("pandoc" ,ghc-pandoc) + ("pandoc-citeproc" ,ghc-pandoc-citeproc))) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-ggridges" ,r-ggridges) + ("r-reshape2" ,r-reshape2) + ("r-rlang" ,r-rlang))) + (home-page "http://mc-stan.org/bayesplot") + (synopsis "Plotting for Bayesian models") + (description + "This package provides plotting functions for posterior analysis, model +checking, and MCMC diagnostics. The package is designed not only to provide +convenient functionality for users, but also a common set of functions that +can be easily used by developers working on a variety of R packages for +Bayesian modeling.") + (license license:gpl3+))) + +(define-public r-tmb + (package + (name "r-tmb") + (version "1.7.15") + (source + (origin + (method url-fetch) + (uri (cran-uri "TMB" version)) + (sha256 + (base32 + "1r2d8c5iazihba42sn33yarv0dcfiy989sx64zcf14zr8k6cgjzs")))) + (properties `((upstream-name . "TMB"))) + (build-system r-build-system) + (propagated-inputs + `(("r-matrix" ,r-matrix) + ("r-rcppeigen" ,r-rcppeigen))) + (home-page "http://tmb-project.org") + (synopsis "Template model builder: a general random effect tool") + (description + "With this tool, a user should be able to quickly implement complex +random effect models through simple C++ templates. The package combines +@code{CppAD} (C++ automatic differentiation), @code{Eigen} (templated +matrix-vector library) and @code{CHOLMOD} (sparse matrix routines available +from R) to obtain an efficient implementation of the applied Laplace +approximation with exact derivatives. Key features are: Automatic sparseness +detection, parallelism through BLAS and parallel user templates.") + (license license:gpl2))) + +(define-public r-sjstats + (package + (name "r-sjstats") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "sjstats" version)) + (sha256 + (base32 + "0c7g35vn7r9rylhp0gj1yfslg7jybwrhpqpp7vdcd90xfccih24r")))) + (build-system r-build-system) + (propagated-inputs + `(("r-bayesplot" ,r-bayesplot) + ("r-broom" ,r-broom) + ("r-coin" ,r-coin) + ("r-crayon" ,r-crayon) + ("r-dplyr" ,r-dplyr) + ("r-emmeans" ,r-emmeans) + ("r-glmmtmb" ,r-glmmtmb) + ("r-lme4" ,r-lme4) + ("r-magrittr" ,r-magrittr) + ("r-mass" ,r-mass) + ("r-matrix" ,r-matrix) + ("r-modelr" ,r-modelr) + ("r-nlme" ,r-nlme) + ("r-purrr" ,r-purrr) + ("r-pwr" ,r-pwr) + ("r-rlang" ,r-rlang) + ("r-sjlabelled" ,r-sjlabelled) + ("r-sjmisc" ,r-sjmisc) + ("r-tidyr" ,r-tidyr))) + (home-page "https://github.com/strengejacke/sjstats") + (synopsis "Functions for common statistical computations") + (description + "This package provides a collection of convenient functions for common +statistical computations, which are not directly provided by R's @code{base} +or @code{stats} packages. This package aims at providing, first, shortcuts +for statistical measures, which otherwise could only be calculated with +additional effort. Second, these shortcut functions are generic, and can be +applied not only to vectors, but also to other objects as well. The focus of +most functions lies on summary statistics or fit measures for regression +models, including generalized linear models, mixed effects models and Bayesian +models.") + (license license:gpl3))) + +(define-public r-glmmtmb + (package + (name "r-glmmtmb") + (version "0.2.2.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "glmmTMB" version)) + (sha256 + (base32 + "1clpkjlmsjmn3m1z5jqv8cgw6bvpqsy4nx6k947r0jya017ny5y5")))) + (properties `((upstream-name . "glmmTMB"))) + (build-system r-build-system) + (propagated-inputs + `(("r-lme4" ,r-lme4) + ("r-matrix" ,r-matrix) + ("r-nlme" ,r-nlme) + ("r-rcppeigen" ,r-rcppeigen) + ("r-tmb" ,r-tmb))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/glmmTMB") + (synopsis "Generalized linear mixed models") + (description + "Fit linear and generalized linear mixed models with various extensions, +including zero-inflation. The models are fitted using maximum likelihood +estimation via the Template Model Builder. Random effects are assumed to be +Gaussian on the scale of the linear predictor and are integrated out using the +Laplace approximation. Gradients are calculated using automatic +differentiation.") + (license license:agpl3+))) + +(define-public r-ggeffects + (package + (name "r-ggeffects") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "ggeffects" version)) + (sha256 + (base32 + "070c3fxmzajq2fy816s5pfqdyjlnzkabj97z7fcsva4h5rnqi9d6")))) + (build-system r-build-system) + (propagated-inputs + `(("r-crayon" ,r-crayon) + ("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-lme4" ,r-lme4) + ("r-magrittr" ,r-magrittr) + ("r-mass" ,r-mass) + ("r-prediction" ,r-prediction) + ("r-purrr" ,r-purrr) + ("r-rlang" ,r-rlang) + ("r-scales" ,r-scales) + ("r-sjlabelled" ,r-sjlabelled) + ("r-sjmisc" ,r-sjmisc) + ("r-sjstats" ,r-sjstats) + ("r-tidyr" ,r-tidyr))) + (home-page "https://github.com/strengejacke/ggeffects") + (synopsis "Create tidy data frames of marginal effects for ggplot") + (description + "This package provides tools to compute marginal effects from statistical +models and return the result as tidy data frames. These data frames are ready +to use with the @code{ggplot2} package. Marginal effects can be calculated +for many different models. Interaction terms, splines and polynomial terms +are also supported. The two main functions are @code{ggpredict()} and +@code{ggeffect()}. There is a generic @code{plot()} method to plot the +results using @code{ggplot2}.") + (license license:gpl3))) + +(define-public r-sjplot + (package + (name "r-sjplot") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "sjPlot" version)) + (sha256 + (base32 + "13qvw2s3r96qfi8kfsn76m050ccnmckl31a9qv94xws8da99v2fk")))) + (properties `((upstream-name . "sjPlot"))) + (build-system r-build-system) + (propagated-inputs + `(("r-broom" ,r-broom) + ("r-dplyr" ,r-dplyr) + ("r-forcats" ,r-forcats) + ("r-ggeffects" ,r-ggeffects) + ("r-ggplot2" ,r-ggplot2) + ("r-glmmtmb" ,r-glmmtmb) + ("r-knitr" ,r-knitr) + ("r-lme4" ,r-lme4) + ("r-magrittr" ,r-magrittr) + ("r-mass" ,r-mass) + ("r-modelr" ,r-modelr) + ("r-nlme" ,r-nlme) + ("r-psych" ,r-psych) + ("r-purrr" ,r-purrr) + ("r-rlang" ,r-rlang) + ("r-scales" ,r-scales) + ("r-sjlabelled" ,r-sjlabelled) + ("r-sjmisc" ,r-sjmisc) + ("r-sjstats" ,r-sjstats) + ("r-tidyr" ,r-tidyr))) + (home-page "https://strengejacke.github.io/sjPlot/") + (synopsis "Data visualization for statistics in social science") + (description + "This package represents a collection of plotting and table output +functions for data visualization. Results of various statistical +analyses (that are commonly used in social sciences) can be visualized using +this package, including simple and cross tabulated frequencies, histograms, +box plots, (generalized) linear models, mixed effects models, principal +component analysis and correlation matrices, cluster analyses, scatter plots, +stacked scales, effects plots of regression models (including interaction +terms) and much more. This package supports labelled data.") + (license license:gpl3))) + +(define-public r-ini + (package + (name "r-ini") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "ini" version)) + (sha256 + (base32 + "04yqij344dwm0xqgara8xia42mlmij3i8711qbb5534w05a1l6bv")))) + (build-system r-build-system) + (home-page "https://github.com/dvdscripter/ini") + (synopsis "Read and write configuration files") + (description + "This package provides tools to parse simple @code{.ini} configuration +files to an structured list. Users can manipulate this resulting list with +@code{lapply()} functions. This same structured list can be used to write +back to file after modifications.") + (license license:gpl3))) + +(define-public r-gh + (package + (name "r-gh") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "gh" version)) + (sha256 + (base32 + "1llinfajb0g7006jd2w1hpskxpmkjhnqarcjb71r1qvsccb2ph7k")))) + (build-system r-build-system) + (propagated-inputs + `(("r-httr" ,r-httr) + ("r-ini" ,r-ini) + ("r-jsonlite" ,r-jsonlite))) + (home-page "https://github.com/r-lib/gh#readme") + (synopsis "Access the GitHub API via R") + (description + "This package provides a minimal R client to access the GitHub API.") + (license license:expat))) + +(define-public r-fs + (package + (name "r-fs") + (version "1.2.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "fs" version)) + (sha256 + (base32 + "0kqqaqqml8x3r1mdld40iwns0ylj2f52qsdh1vcn39f7w7c2ka8j")))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://fs.r-lib.org") + (synopsis "Cross-platform file system operations based on libuv") + (description + "This package provides a cross-platform interface to file system +operations, built on top of the libuv C library.") + (license license:gpl3))) + +(define-public r-clisymbols + (package + (name "r-clisymbols") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "clisymbols" version)) + (sha256 + (base32 + "1q7gi2zmykhzas9v8fdnbpdq7pzdcpbhim1yxvd2062l777g4j86")))) + (build-system r-build-system) + (home-page "https://github.com/gaborcsardi/clisymbols") + (synopsis "Unicode symbols at the R prompt") + (description + "This package provides a small subset of Unicode symbols, that are useful +when building command line applications. They fall back to alternatives on +terminals that do not support Unicode.") + (license license:expat))) + +(define-public r-usethis + (package + (name "r-usethis") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "usethis" version)) + (sha256 + (base32 + "1gadckx3sxz9gxvpkprj9x7zcgg2nz5m4q0vi76ya9li1v03rwwn")))) + (build-system r-build-system) + (propagated-inputs + `(("r-clipr" ,r-clipr) + ("r-clisymbols" ,r-clisymbols) + ("r-crayon" ,r-crayon) + ("r-curl" ,r-curl) + ("r-desc" ,r-desc) + ("r-fs" ,r-fs) + ("r-gh" ,r-gh) + ("r-git2r" ,r-git2r) + ("r-glue" ,r-glue) + ("r-rlang" ,r-rlang) + ("r-rprojroot" ,r-rprojroot) + ("r-rstudioapi" ,r-rstudioapi) + ("r-whisker" ,r-whisker))) + (home-page "https://github.com/r-lib/usethis") + (synopsis "Automate R package and project setup") + (description + "This package helps you to automate R package and project setup tasks +that are otherwise performed manually. This includes setting up unit testing, +test coverage, continuous integration, Git, GitHub integration, licenses, +Rcpp, RStudio projects, and more.") + (license license:gpl3))) + +(define-public r-sessioninfo + (package + (name "r-sessioninfo") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "sessioninfo" version)) + (sha256 + (base32 + "0j5f3l58fynxx3v0w62vqpii7miabszgljpja36xx9s8hikh8sqn")))) + (build-system r-build-system) + (propagated-inputs + `(("r-cli" ,r-cli) + ("r-withr" ,r-withr))) + (home-page "https://github.com/r-lib/sessioninfo#readme") + (synopsis "R session information") + (description + "This package provides tools to query and print information about the +current R session. It is similar to @code{utils::sessionInfo()}, but includes +more information about packages, and where they were installed from.") + (license license:gpl2))) + +(define-public r-remotes + (package + (name "r-remotes") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "remotes" version)) + (sha256 + (base32 + "0rsjxmhwpr51ilsdjfqn06mj8yr2d7nckcn3arv1ljn23qfkpcxa")))) + (build-system r-build-system) + (home-page "https://github.com/r-lib/remotes#readme") + (synopsis "R package installation from remote repositories") + (description + "Download and install R packages stored in GitHub, BitBucket, or plain +subversion or git repositories. This package is a lightweight replacement of +the @code{install_*} functions in the @code{devtools} package. Indeed most of +the code was copied over from @code{devtools}.") + (license license:gpl2+))) + +(define-public r-xopen + (package + (name "r-xopen") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "xopen" version)) + (sha256 + (base32 + "1vrvgdika1d63dwygynbv2wmd87ll8dji5dy89hj576n8hw601z2")))) + (build-system r-build-system) + (propagated-inputs + `(("r-processx" ,r-processx))) + (home-page "https://github.com/r-lib/xopen#readme") + (synopsis "Open system files, URLs, anything") + (description + "This package provides a cross-platform solution to open files, +directories or URLs with their associated programs.") + (license license:expat))) + +(define-public r-rcmdcheck + (package + (name "r-rcmdcheck") + (version "1.3.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "rcmdcheck" version)) + (sha256 + (base32 + "0ys1nd7690mhwzslyzg8fq1wxr28nz8g6av5iykkrshb8lkxg7ly")))) + (build-system r-build-system) + (propagated-inputs + `(("r-callr" ,r-callr) + ("r-cli" ,r-cli) + ("r-crayon" ,r-crayon) + ("r-desc" ,r-desc) + ("r-digest" ,r-digest) + ("r-pkgbuild" ,r-pkgbuild) + ("r-prettyunits" ,r-prettyunits) + ("r-r6" ,r-r6) + ("r-rprojroot" ,r-rprojroot) + ("r-sessioninfo" ,r-sessioninfo) + ("r-withr" ,r-withr) + ("r-xopen" ,r-xopen))) + (home-page "https://github.com/r-Lib/rcmdcheck#readme") + (synopsis "Run R CMD check from R and capture results") + (description + "Run @code{R CMD check} from R programmatically, and capture the results +of the individual checks.") + (license license:expat))) + +(define-public r-rapportools + (package + (name "r-rapportools") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "rapportools" version)) + (sha256 + (base32 + "1sgv4sc737i12arh5dc3263kjsz3dzg06qihfmrqyax94mv2d01b")))) + (build-system r-build-system) + (propagated-inputs + `(("r-pander" ,r-pander) + ("r-plyr" ,r-plyr) + ("r-reshape" ,r-reshape))) + (home-page "https://cran.r-project.org/web/packages/rapportools/") + (synopsis "Miscellaneous helper functions with sane defaults for reporting") + (description + "This package provides helper functions that act as wrappers to more +advanced statistical methods with the advantage of having sane defaults for +quick reporting.") + (license license:agpl3+))) + +(define-public r-pander + (package + (name "r-pander") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "pander" version)) + (sha256 + (base32 + "1bd9sdghlsppmff18k5fg3i0visq9f4wc82rlhwq5m82bmgdgnyi")))) + (build-system r-build-system) + (propagated-inputs + `(("r-digest" ,r-digest) + ("r-rcpp" ,r-rcpp))) + (home-page "https://rapporter.github.io/pander") + (synopsis "Render R objects into Pandoc's markdown") + (description + "The main aim of the pander R package is to provide a minimal and easy +tool for rendering R objects into Pandoc's markdown. The package is also +capable of exporting/converting complex Pandoc documents (reports) in various +ways.") + ;; This package is licensed under either the AGPLv3+ or the very rarely + ;; used OSL 3.0. + (license license:agpl3+))) + +(define-public r-summarytools + (package + (name "r-summarytools") + (version "0.8.8") + (source + (origin + (method url-fetch) + (uri (cran-uri "summarytools" version)) + (sha256 + (base32 + "0z836m6ib9bznwcawn6xf8gck05ydxwi3bx4jbrbyqql4kci8zwb")))) + (build-system r-build-system) + (propagated-inputs + `(("r-htmltools" ,r-htmltools) + ("r-lubridate" ,r-lubridate) + ("r-matrixstats" ,r-matrixstats) + ("r-pander" ,r-pander) + ("r-pryr" ,r-pryr) + ("r-rapportools" ,r-rapportools) + ("r-rcurl" ,r-rcurl))) + (home-page "https://github.com/dcomtois/summarytools") + (synopsis "Tools to quickly and neatly summarize data") + (description + "This package provides tools for data frame summaries, cross-tabulations, +weight-enabled frequency tables and common univariate statistics in concise +tables available in a variety of formats (plain ASCII, Markdown and HTML). A +good point-of-entry for exploring data, both for experienced and new R +users.") + (license license:gpl2))) + +(define-public r-lsei + (package + (name "r-lsei") + (version "1.2-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "lsei" version)) + (sha256 + (base32 + "1xl06fb3is744pxlh42wx5hn1h0ab1k31wnmsmh0524kxzcyp0a7")))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "https://www.stat.auckland.ac.nz/~yongwang") + (synopsis "Solve regression problems under equality/inequality constraints") + (description + "It contains functions that solve least squares linear regression +problems under linear equality/inequality constraints. Functions for solving +quadratic programming problems are also available, which transform such +problems into least squares ones first.") + (license license:gpl2+))) + +(define-public r-npsurv + (package + (name "r-npsurv") + (version "0.4-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "npsurv" version)) + (sha256 + (base32 + "1wq4c9yfha5azjhrn40iiqkshmvh611sa90jp3lh82n4bl9zfk20")))) + (build-system r-build-system) + (propagated-inputs + `(("r-lsei" ,r-lsei))) + (home-page "https://www.stat.auckland.ac.nz/~yongwang") + (synopsis "Nonparametric survival analysis") + (description + "This package contains functions for non-parametric survival analysis of +exact and interval-censored observations.") + (license license:gpl2+))) + +(define-public r-clusteval + (package + (name "r-clusteval") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "clusteval" version)) + (sha256 + (base32 + "1ld0bdl4fy8dsfzm3k7a37cyxc6pfc9qs31x4pxd3z5rslghz7rj")))) + (build-system r-build-system) + (propagated-inputs + `(("r-mvtnorm" ,r-mvtnorm) + ("r-rcpp" ,r-rcpp))) + (home-page "https://cran.r-project.org/web/packages/clusteval/") + (synopsis "Evaluation of clustering algorithms") + (description + "This R package provides a suite of tools to evaluate clustering +algorithms, clusterings, and individual clusters.") + (license license:expat))) + +(define-public r-tweedie + (package + (name "r-tweedie") + (version "2.3.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "tweedie" version)) + (sha256 + (base32 + "10fv998qjxsyx0h94fi0xbh6xbf24nwgh254n9zfnmix9vk2cqls")))) + (build-system r-build-system) + (native-inputs `(("gfortran" ,gfortran))) + (home-page "https://cran.r-project.org/web/packages/tweedie/") + (synopsis "Evaluation of Tweedie exponential family models") + (description + "Maximum likelihood computations for Tweedie families, including the +series expansion (Dunn and Smyth, 2005; ) and +the Fourier inversion (Dunn and Smyth, 2008; ), +and related methods.") + (license license:gpl2+))) + +(define-public r-rcppgsl + (package + (name "r-rcppgsl") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "RcppGSL" version)) + (sha256 + (base32 + "16pdapq31729db53agnb48jkvdm97167n3bigy5zazc3q3isis1m")))) + (properties `((upstream-name . "RcppGSL"))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp) + ("gsl" ,gsl))) + (native-inputs + `(("r-knitr" ,r-knitr))) ; for vignettes + (home-page "https://cran.r-project.org/web/packages/RcppGSL/") + (synopsis "Rcpp integration for GSL vectors and matrices") + (description + "The GNU Scientific Library (or GSL) is a collection of numerical +routines for scientific computing. It is particularly useful for C and C++ +programs as it provides a standard C interface to a wide range of mathematical +routines. There are over 1000 functions in total with an extensive test +suite. The RcppGSL package provides an easy-to-use interface between GSL data +structures and R using concepts from Rcpp which is itself a package that eases +the interfaces between R and C++.") + (license license:gpl2+))) + +(define-public r-mvabund + (package + (name "r-mvabund") + (version "3.13.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "mvabund" version)) + (sha256 + (base32 + "1z8bj9zbc8h7w1xki9sc2p2rq6lv8gbcmiy9819z54d7lx1i9cnj")))) + (build-system r-build-system) + (propagated-inputs + `(("r-mass" ,r-mass) + ("r-rcpp" ,r-rcpp) + ("r-rcppgsl" ,r-rcppgsl) + ("r-statmod" ,r-statmod) + ("r-tweedie" ,r-tweedie))) + (home-page "https://cran.r-project.org/web/packages/mvabund/") + (synopsis "Statistical methods for analysing multivariate abundance data") + (description + "This package provides a set of tools for displaying, modeling and +analysing multivariate abundance data in community ecology.") + (license license:lgpl2.1+))) + +(define-public r-afex + (package + (name "r-afex") + (version "0.22-1") + (source + (origin + (method url-fetch) + (uri (cran-uri "afex" version)) + (sha256 + (base32 + "065wbxljl77zqvc2c4gpfpfyc6mbnnrf24q399q9bxmrz3sapj8n")))) + (build-system r-build-system) + (propagated-inputs + `(("r-car" ,r-car) + ("r-lme4" ,r-lme4) + ("r-lmertest" ,r-lmertest) + ("r-pbkrtest" ,r-pbkrtest) + ("r-reshape2" ,r-reshape2))) + (home-page "https://afex.singmann.science/") + (synopsis "Analysis of factorial experiments") + (description + "This package provides convenience functions for analyzing factorial +experiments using ANOVA or mixed models.") + (license license:gpl2+))) + +(define-public r-lmertest + (package + (name "r-lmertest") + (version "3.0-1") + (source + (origin + (method url-fetch) + (uri (cran-uri "lmerTest" version)) + (sha256 + (base32 + "0pia69sc8bn37mkiprdf91iilziqb865f94k6x6c26i33fg7rq4m")))) + (properties `((upstream-name . "lmerTest"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-lme4" ,r-lme4) + ("r-mass" ,r-mass) + ("r-numderiv" ,r-numderiv))) + (home-page "https://github.com/runehaubo/lmerTestR") + (synopsis "Tests in linear mixed effects models") + (description + "This package provides p-values in type I, II or III anova and summary +tables for @code{lmer} model fits via Satterthwaite's degrees of freedom +method. A Kenward-Roger method is also available via the @code{pbkrtest} +package. Model selection methods include step, drop1 and anova-like tables +for random effects (ranova). Methods for Least-Square means (LS-means) and +tests of linear contrasts of fixed effects are also available.") + (license license:gpl2+))) + +(define-public r-r2glmm + (package + (name "r-r2glmm") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "r2glmm" version)) + (sha256 + (base32 + "0iim92blpa59vgz97c2pi05yhbjjmaffdbkbmk5kplfb2vmazgiy")))) + (build-system r-build-system) + (propagated-inputs + `(("r-afex" ,r-afex) + ("r-data-table" ,r-data-table) + ("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-gridextra" ,r-gridextra) + ("r-lmertest" ,r-lmertest) + ("r-mass" ,r-mass) + ("r-matrix" ,r-matrix) + ("r-mgcv" ,r-mgcv) + ("r-pbkrtest" ,r-pbkrtest))) + (home-page "https://github.com/bcjaeger/r2glmm") + (synopsis "Compute R squared for mixed (multilevel) models") + (description + "This package computes model and semi partial R squared with confidence +limits for the linear and generalized linear mixed model (LMM and GLMM). The +R squared measure from L. J. Edwards et al. (2008) is extended to the GLMM +using @dfn{penalized quasi-likelihood} (PQL) estimation (see Jaeger et +al. (2016)).") + (license license:gpl2))) + +(define-public r-weights + (package + (name "r-weights") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "weights" version)) + (sha256 + (base32 + "0186bfpkhxngrshac6bpg37alp6slwhwd43inrm8hqg0vhpfgc4c")))) + (build-system r-build-system) + (propagated-inputs + `(("r-gdata" ,r-gdata) + ("r-hmisc" ,r-hmisc) + ("r-mice" ,r-mice))) + (home-page + "https://cran.r-project.org/web/packages/weights/") + (synopsis "Weighting and weighted statistics") + (description "This package Provides a variety of functions for producing +simple weighted statistics, such as weighted Pearson's correlations, partial +correlations, Chi-Squared statistics, histograms, and t-tests. Also now +includes some software for quickly recoding survey data and plotting point +estimates from interaction terms in regressions (and multiply imputed +regressions). NOTE: Weighted partial correlation calculations pulled to +address a bug.") + (license license:gpl2+))) + +(define-public r-rcppannoy + (package + (name "r-rcppannoy") + (version "0.0.11") + (source + (origin + (method url-fetch) + (uri (cran-uri "RcppAnnoy" version)) + (sha256 + (base32 + "1ik50ancfgcvh03n4jsqwjk8lf056rbgd70q4l4didmvh5kcyjd1")))) + (properties `((upstream-name . "RcppAnnoy"))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (native-inputs + `(("r-knitr" ,r-knitr))) ; for vignettes + (home-page "https://cran.r-project.org/web/packages/RcppAnnoy/") + (synopsis "Rcpp bindings for Annoy, a library for Approximate Nearest Neighbors") + (description + "Annoy is a small C++ library for Approximate Nearest Neighbors written +for efficient memory usage as well an ability to load from and save to disk. +This package provides an R interface.") + ;; Annoy is released under ASL 2.0, but this wrapper is released under + ;; GPLv2+. + (license (list license:gpl2+ license:asl2.0)))) + +(define-public r-ncdf4 + (package + (name "r-ncdf4") + (version "1.16") + (source + (origin + (method url-fetch) + (uri (cran-uri "ncdf4" version)) + (sha256 + (base32 + "0lwjjis0b83c4l3xvqai4ckzrskd6mychck1iwxcxgjvh0d77mgd")))) + (build-system r-build-system) + (inputs + `(("netcdf" ,netcdf) + ("zlib" ,zlib))) + (home-page "https://cran.r-project.org/web/packages/ncdf4/index.html") + (synopsis "R interface to Unidata netCDF format data files") + (description + "This package provides a high-level R interface to data files written +using Unidata's netCDF library (version 4 or earlier), which are binary data +files that are portable across platforms and include metadata information in +addition to the data sets. Using this package, netCDF files can be opened and +data sets read in easily. It is also easy to create new netCDF dimensions, +variables, and files, in either version 3 or 4 format, and manipulate existing +netCDF files.") + (license license:gpl3+))) + +(define-public r-biocmanager + (package + (name "r-biocmanager") + (version "1.30.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "BiocManager" version)) + (sha256 + (base32 + "0kxs76pixk1d2lpvkyrq6nnvv1rqf55ph5f7igkadyyqirf3y2ah")))) + (properties `((upstream-name . "BiocManager"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/BiocManager/") + (synopsis "Access the Bioconductor project package repository") + (description + "This package provides a convenient tool to install and update +Bioconductor packages.") + (license license:artistic2.0))) + +(define-public r-rgl + (package + (name "r-rgl") + (version "0.99.16") + (source + (origin + (method url-fetch) + (uri (cran-uri "rgl" version)) + (sha256 + (base32 + "0q8sg8fr0140ilssqhscaxkjc29w1rpp6f4k50amw3zzs9g58ak9")))) + (build-system r-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("freetype" ,freetype) + ("libpng" ,libpng) + ("glu" ,glu) + ("libx11" ,libx11) + ("ghc-pandoc" ,ghc-pandoc) + ("zlib" ,zlib))) + (propagated-inputs + `(("r-crosstalk" ,r-crosstalk) + ("r-htmltools" ,r-htmltools) + ("r-htmlwidgets" ,r-htmlwidgets) + ("r-jsonlite" ,r-jsonlite) + ("r-knitr" ,r-knitr) + ("r-magrittr" ,r-magrittr) + ("r-manipulatewidget" ,r-manipulatewidget) + ("r-shiny" ,r-shiny))) + (home-page "https://r-forge.r-project.org/projects/rgl/") + (synopsis "3D visualization using OpenGL") + (description + "This package provides medium to high level functions for 3D interactive graphics, +including functions modelled on base graphics (@code{plot3d()}, etc.) as well +as functions for constructing representations of geometric +objects (@code{cube3d()}, etc.). Output may be on screen using OpenGL, or to +various standard 3D file formats including WebGL, PLY, OBJ, STL as well as 2D +image formats, including PNG, Postscript, SVG, PGF.") + ;; Any version of the GPL. + (license (list license:gpl2+ license:gpl3+)))) + +(define-public r-multicool + (package + (name "r-multicool") + (version "0.1-10") + (source + (origin + (method url-fetch) + (uri (cran-uri "multicool" version)) + (sha256 + (base32 + "1ybg9piya9psqg42w9i3zsnavbxhkfklfwl7cb420i5nkq6wpc2v")))) + (build-system r-build-system) + (propagated-inputs `(("r-rcpp" ,r-rcpp))) + (home-page "https://cran.r-project.org/web/packages/multicool/") + (synopsis "Permutations of multisets in cool-lex order") + (description + "This package provides a set of tools to permute multisets without loops +or hash tables and to generate integer partitions. Cool-lex order is similar +to colexicographical order.") + (license license:gpl2))) + +(define-public r-misc3d + (package + (name "r-misc3d") + (version "0.8-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "misc3d" version)) + (sha256 + (base32 + "0qjzpw3h09qi2gfz52b7nhzd95p7yyxsd03fldc9wzzn6wi3vpkm")))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/misc3d/") + (synopsis "Miscellaneous 3D Plots") + (description + "This package provides a collection of miscellaneous 3d plots, including +isosurfaces.") + ;; Any version of the GPL. + (license (list license:gpl2+ license:gpl3+)))) + +(define-public r-ks + (package + (name "r-ks") + (version "1.11.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "ks" version)) + (sha256 + (base32 + "0z749c3xzpf6n0g7xcfplrhap1di8k7kcfr7vigh95ywnigyhs8d")))) + (build-system r-build-system) + (propagated-inputs + `(("r-fnn" ,r-fnn) + ("r-kernlab" ,r-kernlab) + ("r-kernsmooth" ,r-kernsmooth) + ("r-matrix" ,r-matrix) + ("r-mclust" ,r-mclust) + ("r-mgcv" ,r-mgcv) + ("r-misc3d" ,r-misc3d) + ("r-multicool" ,r-multicool) + ("r-mvtnorm" ,r-mvtnorm))) + (home-page "http://www.mvstat.net/tduong/") + (synopsis "Kernel smoothing") + (description + "This package provides kernel smoothers for univariate and multivariate +data, including density functions, density derivatives, cumulative +distributions, modal clustering, discriminant analysis, and two-sample +hypothesis testing.") + ;; Either version of the GPL. + (license (list license:gpl2 license:gpl3)))) + +(define-public r-feature + (package + (name "r-feature") + (version "1.2.13") + (source + (origin + (method url-fetch) + (uri (cran-uri "feature" version)) + (sha256 + (base32 + "07hkw0bv38naj2hdsx4xxrm2dngi6w3rbvgr7s50bjic8hlgy1ra")))) + (build-system r-build-system) + (propagated-inputs + `(("r-ks" ,r-ks) + ("r-misc3d" ,r-misc3d) + ("r-rgl" ,r-rgl))) + (home-page "http://www.mvstat.net/tduong/") + (synopsis "Inferential feature significance for kernel density estimation") + (description + "The feature package contains functions to display and compute kernel +density estimates, significant gradient and significant curvature regions. +Significant gradient and/or curvature regions often correspond to significant +features (e.g. local modes).") + ;; Either version of the GPL. + (license (list license:gpl2 license:gpl3)))) + +(define-public r-arm + (package + (name "r-arm") + (version "1.10-1") + (source + (origin + (method url-fetch) + (uri (cran-uri "arm" version)) + (sha256 + (base32 + "0vvp90jygajd6ydky57z66wqjq9msfbl88irj5jbsray574mh4bg")))) + (build-system r-build-system) + (propagated-inputs + `(("r-abind" ,r-abind) + ("r-coda" ,r-coda) + ("r-lme4" ,r-lme4) + ("r-mass" ,r-mass) + ("r-matrix" ,r-matrix) + ("r-nlme" ,r-nlme))) + (home-page "https://cran.r-project.org/web/packages/arm/") + (synopsis "Data analysis using regression and multilevel/hierarchical models") + (description + "This package provides functions to accompany A. Gelman and J. Hill, +Data Analysis Using Regression and Multilevel/Hierarchical Models, Cambridge +University Press, 2007.") + (license license:gpl3+))) + +(define-public r-circular + (package + (name "r-circular") + (version "0.4-93") + (source + (origin + (method url-fetch) + (uri (cran-uri "circular" version)) + (sha256 + (base32 + "0hki85rs8wc5950pjaw28q54rly2napfbcrx3pchlfap6wwy5kkn")))) + (build-system r-build-system) + (propagated-inputs + `(("r-boot" ,r-boot) + ("r-mvtnorm" ,r-mvtnorm))) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "https://cran.r-project.org/web/packages/circular/") + (synopsis "Circular statistics") + (description + "This package provides tools for circular statistics, from \"Topics in +circular Statistics\" (2001) S. Rao Jammalamadaka and A. SenGupta, World +Scientific.") + (license license:gpl2+))) + +(define-public r-activity + (package + (name "r-activity") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "activity" version)) + (sha256 + (base32 + "1lqajgxfps2h6amz1791vp3f52rs9ghmanq1nqfxqd2jmk3idkrx")))) + (build-system r-build-system) + (propagated-inputs + `(("r-circular" ,r-circular) + ("r-overlap" ,r-overlap) + ("r-pbapply" ,r-pbapply))) + (home-page "https://cran.r-project.org/web/packages/activity/") + (synopsis "Animal activity statistics") + (description + "This package provides functions to fit kernel density functions to +animal activity time data; plot activity distributions; quantify overall +levels of activity; statistically compare activity metrics through +bootstrapping; and evaluate variation in linear variables with time (or other +circular variables).") + (license license:gpl3))) + +(define-public r-ouch + (package + (name "r-ouch") + (version "2.11-1") + (source + (origin + (method url-fetch) + (uri (cran-uri "ouch" version)) + (sha256 + (base32 + "0xkwwi62vdahlcg3k32zb1nfwsx87zdssk79mvcxgfsw9bw4gahx")))) + (build-system r-build-system) + (propagated-inputs `(("r-subplex" ,r-subplex))) + (home-page "http://kingaa.github.io/ouch/") + (synopsis "Ornstein-Uhlenbeck models for phylogenetic comparative hypotheses") + (description + "This package provides tools to fit and compare Ornstein-Uhlenbeck models +for evolution along a phylogenetic tree.") + (license license:gpl2+))) + +(define-public r-fmsb + (package + (name "r-fmsb") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "fmsb" version)) + (sha256 + (base32 + "1n29bnyp20pvpk2lsa9fblsj5w7amp14snc74pk5w3yr5y6rj0s5")))) + (build-system r-build-system) + (home-page "http://minato.sip21c.org/msb/") + (synopsis "Functions for medical statistics book with demographic data") + (description + "This package provides several utility functions for the book entitled +\"Practices of Medical and Health Data Analysis using R\" (Pearson Education +Japan, 2007) with Japanese demographic data and some demographic analysis +related functions.") + (license license:gpl2+))) diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index bbd779ae4e..2fcb7fb36b 100644 --- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès ;;; Copyright © 2014, 2015, 2018 Mark H Weaver ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis @@ -356,7 +356,7 @@ target that libc." ,@(package-arguments glibc/hurd-headers)) ((#:phases phases) `(modify-phases ,phases - (add-before 'pre-configure 'set-cross-headers-path + (add-after 'unpack 'set-cross-headers-path (lambda* (#:key inputs #:allow-other-keys) (let* ((mach (assoc-ref inputs "gnumach-headers")) (hurd (assoc-ref inputs "hurd-headers")) @@ -426,17 +426,9 @@ target that libc." (xheaders (cross-kernel-headers target))) "Return a libc cross-built for TARGET, a GNU triplet. Use XGCC and XBINUTILS and the cross tool chain." - (define (cross-libc-for-target target) - "Return libc depending on TARGET." - (match target - ((or "i586-pc-gnu" "i586-gnu") glibc/hurd) - (_ glibc/linux))) - - ;; Use (cross-libc-for-target ...) to determine the correct libc to use. - (if (cross-newlib? target) (native-libc target) - (let ((libc (cross-libc-for-target target))) + (let ((libc glibc)) (package (inherit libc) (name (string-append "glibc-cross-" target)) (arguments @@ -457,7 +449,9 @@ XBINUTILS and the cross tool chain." ,@(package-arguments libc)) ((#:configure-flags flags) `(cons ,(string-append "--host=" target) - ,flags)) + ,(if (hurd-triplet? target) + `(cons "--disable-werror" ,flags) + flags))) ((#:phases phases) `(modify-phases ,phases (add-before 'configure 'set-cross-kernel-headers-path diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 77b4dba6d4..e8062f0e1f 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 David Thompson -;;; Copyright © 2015, 2017 Ricardo Wurmus +;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017, 2018 Leo Famulari ;;; Copyright © 2016 Lukas Gradl ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice @@ -94,7 +94,7 @@ communication, encryption, decryption, signatures, etc.") (define-public libmd (package (name "libmd") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri @@ -105,7 +105,7 @@ communication, encryption, decryption, signatures, etc.") version ".tar.xz"))) (sha256 (base32 - "1iv45npzv0gncjgcpx5m081861zdqxw667ysghqb8721yrlyl6pj")))) + "0waclg2d5qin3r26gy5jvy4584ik60njc8pqbzwk0lzq3j9ynkp1")))) (build-system gnu-build-system) (synopsis "Message Digest functions from BSD systems") (description @@ -164,34 +164,31 @@ OpenBSD tool of the same name.") "See base64.c in the distribution for the license from IBM."))))) - (define-public opendht (package (name "opendht") (version "0.6.1") - (source - (origin - (method url-fetch) - (uri - (string-append - "https://github.com/savoirfairelinux/" name - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "src/argon2") - (substitute* "src/Makefile.am" - (("./argon2/libargon2.la") "") - (("SUBDIRS = argon2") "")) - (substitute* "src/crypto.cpp" - (("argon2/argon2.h") "argon2.h")) - (substitute* "configure.ac" - (("src/argon2/Makefile") "")) - #t)) - (sha256 - (base32 - "09yvkmbqbym3b5md4n96qc1s9sf2n8ji404hagih45rmsj49599x")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/savoirfairelinux/opendht.git") + (commit version))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "src/argon2") + (substitute* "src/Makefile.am" + (("./argon2/libargon2.la") "") + (("SUBDIRS = argon2") "")) + (substitute* "src/crypto.cpp" + (("argon2/argon2.h") "argon2.h")) + (substitute* "configure.ac" + (("src/argon2/Makefile") "")) + #t)) + (sha256 + (base32 + "1akk613f18rc8kqs0cxdm34iq7wwc9kffhgp5rng09arwlw8gw3w")))) (build-system gnu-build-system) (inputs `(("gnutls" ,gnutls) @@ -206,11 +203,7 @@ OpenBSD tool of the same name.") ("automake" ,automake) ("libtool" ,libtool))) (arguments - `(#:configure-flags '("--disable-tools" "--disable-python") - #:phases (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) + `(#:configure-flags '("--disable-tools" "--disable-python"))) (home-page "https://github.com/savoirfairelinux/opendht/") (synopsis "Distributed Hash Table (DHT) library") (description "OpenDHT is a Distributed Hash Table (DHT) library. It may diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 0655e8f393..4343910d59 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -382,23 +382,27 @@ device-specific programs to convert and print many types of files.") (define-public hplip (package (name "hplip") - (version "3.18.6") + (version "3.18.9") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/hplip/hplip/" version "/hplip-" version ".tar.gz")) (sha256 (base32 - "0zbv6cp9n3xypf2fg4j6fpz8zkvl0z08lyc1vq1gd04ln1l3xkqf")) + "0g3q5mm2crjyc1z4z6gv4lam6sc5d3diz704djrnpqadk4q3h290")) (modules '((guix build utils))) + (patches (search-patches "hplip-remove-imageprocessor.patch")) (snippet - ;; Fix type mismatch. '(begin + ;; Delete non-free blobs + (for-each delete-file (find-files "." "\\.so$")) + (delete-file "prnt/hpcups/ImageProcessor.h") + ;; Fix type mismatch. (substitute* "prnt/hpcups/genPCLm.cpp" (("boolean") "bool")) #t)))) (build-system gnu-build-system) - (home-page "http://hplipopensource.com/") + (home-page "https://developers.hp.com/hp-linux-imaging-and-printing") (synopsis "HP printer drivers") (description "Hewlett-Packard printer drivers and PostScript Printer Descriptions @@ -414,6 +418,8 @@ device-specific programs to convert and print many types of files.") `("--disable-network-build" ,(string-append "--prefix=" (assoc-ref %outputs "out")) ,(string-append "--sysconfdir=" (assoc-ref %outputs "out") "/etc") + ,(string-append "LDFLAGS=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib") ;; Disable until mime.types merging works (FIXME). "--disable-fax-build" "--enable-hpcups-install" diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index b09afe328e..61313af7d2 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -51,6 +51,7 @@ (package (name "curl") (version "7.61.1") + (replacement curl-7.62.0) (source (origin (method url-fetch) (uri (string-append "https://curl.haxx.se/download/curl-" @@ -141,6 +142,19 @@ tunneling, and so on.") "See COPYING in the distribution.")) (home-page "https://curl.haxx.se/"))) +(define-public curl-7.62.0 + (package + (inherit curl) + (version "7.62.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://curl.haxx.se/download/curl-" + version ".tar.xz")) + (sha256 + (base32 + "1hbm29r3pirhn4gkcnd94ylc4jzgn3v3v7qbay9awxg7bwx69dfs")))))) + (define-public kurly (package (name "kurly") diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index a7c406dc25..0fa6d451ed 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -153,7 +153,7 @@ (modify-phases %standard-phases (add-after 'unpack 'generate-configure (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) + (invoke "sh" "autogen.sh")))))) ;; http://www.4store.org has been down for a while now. (home-page "https://github.com/4store/4store") (synopsis "Clustered RDF storage and query engine") @@ -207,14 +207,16 @@ and provides interfaces to the traditional file format.") (delete 'reset-gzip-timestamps) (add-before 'check 'start-mongodb (lambda* (#:key tests? #:allow-other-keys) - (or (not tests?) - (with-directory-excursion "src/gopkg.in/mgo.v2" - (invoke "make" "startdb"))))) + (when tests? + (with-directory-excursion "src/gopkg.in/mgo.v2" + (invoke "make" "startdb"))) + #t)) (add-after 'check 'stop'mongodb (lambda* (#:key tests? #:allow-other-keys) - (or (not tests?) - (with-directory-excursion "src/gopkg.in/mgo.v2" - (invoke "make" "stopdb")))))))) + (when tests? + (with-directory-excursion "src/gopkg.in/mgo.v2" + (invoke "make" "stopdb"))) + #t))))) (native-inputs `(("go-gopkg.in-check.v1" ,go-gopkg.in-check.v1) ("mongodb" ,mongodb) @@ -503,37 +505,35 @@ applications.") #t)) (replace 'build (lambda _ - (zero? (apply system* - `("scons" + (apply invoke `("scons" ,@common-options - "mongod" "mongo" "mongos"))))) + "mongod" "mongo" "mongos")))) (replace 'check (lambda* (#:key tests? inputs #:allow-other-keys) (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")) - (or (not tests?) - ;; Note that with the tests, especially the unittests, the - ;; build can take up to ~45GB of space, as many tests are - ;; individual executable files, with some being hundreds of - ;; megabytes in size. - (begin - (apply - invoke `("scons" ,@common-options "dbtest" "unittests")) - (substitute* "build/unittests.txt" - ;; TODO: Don't run the async_stream_test, as it hangs - (("^build\\/opt\\/mongo\\/executor\\/async\\_stream\\_test\n$") - "") - ;; TODO: This test fails - ;; Expected 0UL != disks.size() (0 != 0) @src/mongo/util/procparser_test.cpp:476 - (("^build\\/opt\\/mongo\\/util\\/procparser\\_test\n$") - "")) - (invoke "python" "buildscripts/resmoke.py" - "--suites=dbtest,unittests" - (format #f "--jobs=~a" (parallel-job-count))))))) + (when tests? + ;; Note that with the tests, especially the unittests, the + ;; build can take up to ~45GB of space, as many tests are + ;; individual executable files, with some being hundreds of + ;; megabytes in size. + (apply invoke `("scons" ,@common-options "dbtest" "unittests")) + (substitute* "build/unittests.txt" + ;; TODO: Don't run the async_stream_test, as it hangs + (("^build\\/opt\\/mongo\\/executor\\/async\\_stream\\_test\n$") + "") + ;; TODO: This test fails + ;; Expected 0UL != disks.size() (0 != 0) @src/mongo/util/procparser_test.cpp:476 + (("^build\\/opt\\/mongo\\/util\\/procparser\\_test\n$") + "")) + (invoke "python" "buildscripts/resmoke.py" + "--suites=dbtest,unittests" + (format #f "--jobs=~a" (parallel-job-count)))) + #t)) (replace 'install - (lambda _ - (let ((bin (string-append (assoc-ref %outputs "out") "/bin"))) + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) (install-file "mongod" bin) (install-file "mongos" bin) (install-file "mongo" bin)) @@ -621,7 +621,7 @@ Language.") (define-public mariadb (package (name "mariadb") - (version "10.1.36") + (version "10.1.37") (source (origin (method url-fetch) (uri (string-append "https://downloads.mariadb.org/f/" @@ -629,7 +629,7 @@ Language.") name "-" version ".tar.gz")) (sha256 (base32 - "0n5aj76mn9rxc21l2kjmfrg10bmsyy4cic68khjr94iby262wx5d")) + "0ijdmdn9mcciwv361zfmja6b1h6qpbdqgrnnq6kkdapplyq1dmcc")) (patches (search-patches "mariadb-client-test-32bit.patch")) (modules '((guix build utils))) (snippet @@ -804,14 +804,14 @@ as a drop-in replacement of MySQL.") (define-public postgresql (package (name "postgresql") - (version "10.5") + (version "10.6") (source (origin (method url-fetch) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "04a07jkvc5s6zgh6jr78149kcjmsxclizsqabjw44ld4j5n633kc")))) + "0jv26y3f10svrjxzsgqxg956c86b664azyk2wppzpa5x11pjga38")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-uuid=e2fs") @@ -849,14 +849,14 @@ pictures, sounds, or video.") (package (inherit postgresql) (name "postgresql") - (version "9.6.9") + (version "9.6.11") (source (origin (method url-fetch) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "0biy8j69dbvdmrag55pdszpc0702agzqhhcwdx21xp02mzim4ydr")))))) + "0c55akrkzqd6p6a8hr0338wk246hl76r9j16p4zn3s51d7f0l99q")))))) (define-public python-pymysql (package @@ -989,15 +989,16 @@ types are supported, as is encryption.") (define-public rocksdb (package (name "rocksdb") - (version "5.12.4") + (version "5.15.10") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/facebook/rocksdb" - "/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/facebook/rocksdb") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1jcwgsjhk4hdfr2wf549blkgb89vwcdb5i2ahhqs6zf3mm20i3bf")) + "0q26frbj9pykarcfa0yxgwncxlvsqhjkby0jrbfs1a8srja688r4")) (modules '((guix build utils))) (snippet '(begin @@ -1118,7 +1119,8 @@ data in a single database. RocksDB is partially based on @code{LevelDB}.") (lambda _ (substitute* "Makefile" (("^gitrev :=.*$") - (string-append "gitrev = \"v" ,version "\""))))) + (string-append "gitrev = \"v" ,version "\""))) + #t)) ;; The install phase of the Makefile assumes $PREFIX/usr/local/bin. ;; This replacement does the same thing, except for using $PREFIX/bin ;; instead. @@ -1127,14 +1129,13 @@ data in a single database. RocksDB is partially based on @code{LevelDB}.") (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin"))) (install-file "sparql-query" bin) - (system* "ln" "--symbolic" - (string-append bin "/sparql-query") - (string-append bin "/sparql-update"))))) + (symlink (string-append bin "/sparql-query") + (string-append bin "/sparql-update"))) + #t)) (replace 'check (lambda* (#:key make-flags #:allow-other-keys) - (and - (zero? (apply system* "make" `(,@make-flags "scan-test"))) - (zero? (system "./scan-test")))))))) + (apply invoke "make" `(,@make-flags "scan-test")) + (invoke "./scan-test")))))) (home-page "https://github.com/tialaramex/sparql-query/") (synopsis "Command-line tool for accessing SPARQL endpoints over HTTP") (description "Sparql-query is a command-line tool for accessing SPARQL @@ -1227,6 +1228,18 @@ is in the public domain.") ((#:configure-flags flags) `(cons "--enable-fts5" ,flags)))))) +;; This is used by Qt. +(define-public sqlite-with-column-metadata + (package (inherit sqlite) + (name "sqlite-with-column-metadata") + (arguments + (substitute-keyword-arguments (package-arguments sqlite) + ((#:configure-flags flags) + `(list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE " + "-DSQLITE_ENABLE_UNLOCK_NOTIFY " + "-DSQLITE_ENABLE_DBSTAT_VTAB " + "-DSQLITE_ENABLE_COLUMN_METADATA"))))))) + (define-public tdb (package (name "tdb") @@ -1247,8 +1260,8 @@ is in the public domain.") (let ((out (assoc-ref outputs "out"))) ;; The 'configure' script is a wrapper for Waf and ;; doesn't recognize things like '--enable-fast-install'. - (zero? (system* "./configure" - (string-append "--prefix=" out))))))))) + (invoke "./configure" + (string-append "--prefix=" out)))))))) (native-inputs `(;; TODO: Build the documentation. ;; ("docbook-xsl" ,docbook-xsl) @@ -1967,14 +1980,14 @@ can autogenerate peewee models using @code{pwiz}, a model generator.") (define-public sqlcipher (package (name "sqlcipher") - (version "3.3.1") + (version "3.4.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/sqlcipher/" name "/archive/v" version ".tar.gz")) (sha256 - (base32 "1gv58dlbpzrmznly52yqbxgvii0ib88zr3aszla1bsypwjr6flff")) + (base32 "1nxarwbci8jx99f1d0y1ivxcv25s78l1p7q6qy28lkpkcx8pm2b9")) (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) (inputs @@ -1997,8 +2010,7 @@ can autogenerate peewee models using @code{pwiz}, a model generator.") (assoc-ref %standard-phases 'check)) (replace 'check (lambda _ - (zero? - (system* "./testfixture" "test/crypto.test"))))))) + (invoke "./testfixture" "test/crypto.test")))))) (home-page "https://www.zetetic.net/sqlcipher/") (synopsis "Library providing transparent encryption of SQLite database files") @@ -2075,13 +2087,14 @@ for ODBC.") (version "0.7.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/brianb/mdbtools/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/brianb/mdbtools.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "05hbmxcq173kzb899gdi3bz2qcc1vi3n1qbbkwpsvrq7ggf11wyw")) - (file-name (string-append name "-" version ".tar.gz")))) + "0gwcpp9y09xhs21g7my2fs8ncb8i6ahlyixcx8jd3q97jbzj441l")))) (build-system gnu-build-system) (inputs `(("glib" ,glib))) @@ -2092,12 +2105,6 @@ for ODBC.") ("pkg-config" ,pkg-config) ("txt2man" ,txt2man) ("which" ,which))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) (home-page "http://mdbtools.sourceforge.net/") (synopsis "Read Microsoft Access databases") (description "MDB Tools is a set of tools and applications to read the @@ -2412,14 +2419,14 @@ You might also want to install the following optional dependencies: (define-public python-alembic (package (name "python-alembic") - (version "0.9.6") + (version "1.0.2") (source (origin (method url-fetch) (uri (pypi-uri "alembic" version)) (sha256 (base32 - "0cm73vabrqj92v7a0wwvldj8j7bc7dwv358kvkk7p87gx7mm2a04")))) + "0asqz9mwc4w8bsar1icv3ik9jslxrj3gv3yxgmhc6nc6r9qbkg04")))) (build-system python-build-system) (native-inputs `(("python-mock" ,python-mock) @@ -2737,13 +2744,13 @@ reasonable substitute.") (define-public python-rq (package (name "python-rq") - (version "0.7.1") + (version "0.12.0") (source (origin (method url-fetch) (uri (pypi-uri "rq" version)) (sha256 - (base32 "0gaq5pnh0zy46r8jvygi0ifbvz3pq6i7xla78ijcgjw0x77qzsdh")))) + (base32 "16d8kni57xlnah2hawy4xgw21xrv3f64j5q5shyp3zxx4yd9iibs")))) (build-system python-build-system) (propagated-inputs `(("python-click" ,python-click) @@ -2798,7 +2805,7 @@ is designed to have a low barrier to entry.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ (zero? (system* "py.test"))))))) + (lambda _ (invoke "py.test")))))) (native-inputs `(("python-pytest" ,python-pytest))) (home-page "https://github.com/andialbrecht/sqlparse") @@ -2861,45 +2868,58 @@ transforms idiomatic python function calls to well-formed SQL queries.") (delete-file-recursively "src/github.com/mongodb/mongo-tools/vendor") #t)) + (add-after 'delete-bundled-source-code 'patch-source + (lambda _ + ;; Remove a redundant argument that causes compilation to fail. + (substitute* + "src/github.com/mongodb/mongo-tools/mongorestore/filepath.go" + (("skipping restore of system.profile collection\", db)") + "skipping restore of system.profile collection\")")) + #t)) ;; We don't need to install the source code for end-user applications (delete 'install-source) (replace 'build (lambda _ - (every (lambda (tool) - (let ((command - `("go" "build" - ;; This is where the tests expect to find the - ;; executables - "-o" ,(string-append - "src/github.com/mongodb/mongo-tools/bin/" - tool) - "-v" - "-tags=\"ssl sasl\"" - "-ldflags" - "-extldflags=-Wl,-z,now,-z,relro" - ,(string-append - "src/github.com/mongodb/mongo-tools/" - tool "/main/" tool ".go")))) - (simple-format #t "build: running ~A\n" - (string-join command)) - (apply invoke command))) - all-tools))) + (for-each (lambda (tool) + (let ((command + `("go" "build" + ;; This is where the tests expect to find the + ;; executables + "-o" ,(string-append + "src/github.com/mongodb/mongo-tools/bin/" + tool) + "-v" + "-tags=\"ssl sasl\"" + "-ldflags" + "-extldflags=-Wl,-z,now,-z,relro" + ,(string-append + "src/github.com/mongodb/mongo-tools/" + tool "/main/" tool ".go")))) + (simple-format #t "build: running ~A\n" + (string-join command)) + (apply invoke command))) + all-tools) + #t)) (replace 'check (lambda _ (with-directory-excursion "src" - (every (lambda (tool) - (invoke - "go" "test" "-v" - (string-append "github.com/mongodb/mongo-tools/" tool))) - all-tools)))) + (for-each (lambda (tool) + (invoke + "go" "test" "-v" + (string-append "github.com/mongodb/mongo-tools/" + tool))) + all-tools)) + #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (for-each (lambda (tool) (install-file - (string-append "src/github.com/mongodb/mongo-tools/bin/" tool) + (string-append "src/github.com/mongodb/mongo-tools/bin/" + tool) (string-append (assoc-ref outputs "out") "/bin"))) - all-tools))))))) + all-tools) + #t)))))) (native-inputs `(("go-github.com-howeyc-gopass" ,go-github.com-howeyc-gopass) ("go-github.com-jessevdk-go-flags" ,go-github.com-jessevdk-go-flags) diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm index 8517654def..4e5e59a2e3 100644 --- a/gnu/packages/datastructures.scm +++ b/gnu/packages/datastructures.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice +;;; Copyright © 2018 Meiyo Peng ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,29 @@ binary trees, binary search trees, red-black trees, 2D arrays, permutations and heaps.") (license license:gpl2+))) +(define-public marisa + (package + (name "marisa") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/s-yata/marisa-trie" + "/releases/download/v" version "/" name "-" + version ".tar.gz")) + (sha256 + (base32 "19ifrcmnbr9whaaf4ly3s9ndyiq9sjqhnfkrxbz9zsb44w2n36hf")))) + (build-system gnu-build-system) + (home-page "https://github.com/s-yata/marisa-trie") + (synopsis "Trie data structure C++ library") + (description "Matching Algorithm with Recursively Implemented +StorAge (MARISA) is a static and space-efficient trie data structure C++ +library.") + + ;; Dual-licensed, according to docs/readme.en.html (source files lack + ;; copyright/license headers.) + (license (list license:bsd-2 license:lgpl2.1+)))) + (define-public sparsehash (package (name "sparsehash") diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index 1a154ea351..e937d59358 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -30,13 +30,13 @@ (define-public radicale (package (name "radicale") - (version "1.1.2") + (version "1.1.6") (source (origin (method url-fetch) (uri (pypi-uri "Radicale" version)) (sha256 (base32 - "1g20p3998f46ywda7swv0py63wjbrhvk0nrafajlbb6wgzxjmqpb")))) + "0ay90nj6fmr2aq8imi0mbjl4m2rzq7a83ikj8qs9gxsylj71j1y0")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; The tests are not distributed in the PyPi release. diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index 5ea263149e..ba19547898 100644 --- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -27,21 +27,22 @@ #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) - #:use-module (gnu packages perl) - #:use-module (gnu packages wget)) + #:use-module (gnu packages perl)) (define-public debian-archive-keyring (package (name "debian-archive-keyring") - (version "2017.7") + (version "2018.1") (source (origin - (method url-fetch) - (uri (string-append "mirror://debian/pool/main/d/" name "/" - name "_" version ".tar.xz")) + (method git-fetch) + (uri (git-reference + (url "https://salsa.debian.org/release-team/debian-archive-keyring.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1pdwgipfi0y4svhxlw8arhq792f1g3vlmw4raphizy7sa65vd4ca")))) + "136vr5dj7w0dz563qdghsndcfcqm2m8d4j1dyiq9dzx5vd0rcpcw")))) (build-system gnu-build-system) (arguments '(#:test-target "verify-results" @@ -116,7 +117,7 @@ contains the archive keys used for that.") (define-public debootstrap (package (name "debootstrap") - (version "1.0.106") + (version "1.0.111") (source (origin (method git-fetch) @@ -126,7 +127,7 @@ contains the archive keys used for that.") (file-name (git-file-name name version)) (sha256 (base32 - "1fm5bgllcwgwizrqi4sn8p4fpbzhbzgwprrfppfq9hqdzbmlfmnv")))) + "1b8s00a2kvaajqhjlms3q2dk3gqv6g4yq9h843jal1pm66zsx19n")))) (build-system gnu-build-system) (arguments `(#:phases @@ -135,46 +136,57 @@ contains the archive keys used for that.") (add-after 'unpack 'patch-source (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) - (coreutils (assoc-ref inputs "coreutils")) - (wget (assoc-ref inputs "wget")) + (tzdata (assoc-ref inputs "tzdata")) (debian (assoc-ref inputs "debian-keyring")) (ubuntu (assoc-ref inputs "ubuntu-keyring"))) (substitute* "Makefile" (("/usr") "") (("-o root -g root") "") (("chown root.*") "\n")) - (substitute* "scripts/sid" + (substitute* '("scripts/etch" + "scripts/potato" + "scripts/sarge" + "scripts/sid" + "scripts/woody" + "scripts/woody.buildd") (("/usr") debian)) (substitute* "scripts/gutsy" (("/usr") ubuntu)) (substitute* "debootstrap" - (("chroot ") (string-append coreutils "/bin/chroot ")) (("=/usr") (string-append "=" out))) - (substitute* "functions" - (("wget ") (string-append wget "/bin/wget "))) + (substitute* (find-files "scripts" ".") + (("/usr/share/zoneinfo") (string-append tzdata "/share/zoneinfo"))) #t))) (add-after 'install 'install-man-file (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (install-file "debootstrap.8" (string-append out "/share/man/man8")) + #t))) + (add-after 'install 'wrap-executable + (lambda* (#:key outputs #:allow-other-keys) + (let ((debootstrap (string-append (assoc-ref outputs "out") + "/sbin/debootstrap")) + (path (getenv "PATH"))) + (wrap-program debootstrap + `("PATH" ":" prefix (,path))) #t)))) #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) #:tests? #f)) ; no tests (inputs - `(("coreutils" ,coreutils) - ("debian-keyring" ,debian-archive-keyring) + `(("debian-keyring" ,debian-archive-keyring) ("ubuntu-keyring" ,ubuntu-keyring) - ("wget" ,wget))) - ;; The following are required for debootstrap to work correctly - (propagated-inputs - `(("binutils" ,binutils) - ("gnupg" ,gnupg) - ("perl" ,perl))) + ("tzdata" ,tzdata))) + (native-inputs + `(("perl" ,perl))) (home-page "https://tracker.debian.org/pkg/debootstrap") (synopsis "Bootstrap a basic Debian system") (description "Debootstrap is used to create a Debian base system from scratch, without requiring the availability of @code{dpkg} or @code{apt}. It does this by downloading .deb files from a mirror site, and carefully -unpacking them into a directory which can eventually be chrooted into.") +unpacking them into a directory which can eventually be chrooted into. + +It is recommended to run @code{debootstrap --foreign --arch=...} and then +@code{chroot} into the directory, set the PATH and run @code{debootstrap +--second-stage} after.") (license license:gpl2))) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index ce7ef1cf75..039ec45965 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2018 Nicolas Goaziou ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Pierre-Antoine Rouby +;;; Copyright © 2018 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,22 +23,29 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages dictionaries) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages curl) #:use-module (gnu packages emacs) + #:use-module (gnu packages flex) #:use-module (gnu packages fribidi) #:use-module (gnu packages linux) + #:use-module (gnu packages pcre) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages readline) #:use-module (gnu packages texinfo) #:use-module (gnu packages compression) - #:use-module (gnu packages tcl)) + #:use-module (gnu packages tcl) + #:use-module (gnu packages xml)) (define-public vera @@ -87,7 +95,7 @@ (description "V.E.R.A. (Virtual Entity of Relevant Acronyms) is a list of computing acronyms distributed as an info document.") - (license fdl1.3+))) + (license license:fdl1.3+))) (define-public gcide (package @@ -125,7 +133,7 @@ acronyms distributed as an info document.") be used via the GNU Dico program or accessed online at http://gcide.gnu.org.ua/") (home-page "http://gcide.gnu.org.ua/") - (license gpl3+))) + (license license:gpl3+))) (define-public diction ;; Not quite a dictionary, not quite a spell checker either… @@ -147,7 +155,7 @@ Diction is used to identify wordy and commonly misused phrases in a body of text. Style instead analyzes surface aspects of a written work, such as sentence length and other readability measures.") (home-page "https://www.gnu.org/software/diction/") - (license gpl3+))) + (license license:gpl3+))) (define-public ding (package @@ -207,7 +215,7 @@ work, such as sentence length and other readability measures.") (description "Ding is a dictionary lookup program for the X window system. It comes with a German-English dictionary with approximately 270,000 entries.") (home-page "http://www-user.tu-chemnitz.de/~fri/ding/") - (license gpl2+))) + (license license:gpl2+))) (define-public grammalecte (package @@ -222,7 +230,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.") (base32 "11byjs3ggdhia5f4vyfqfvbbczsfqimll98h98g7hlsrm7vrifb0")))) (build-system python-build-system) - (home-page "https://www.dicollecte.org") + (home-page "https://grammalecte.net") (synopsis "French spelling and grammar checker") (description "Grammalecte is a grammar checker dedicated to the French language, derived from Lightproof. @@ -234,7 +242,7 @@ a dubious expression is wrong, it will keep silent. The package provides the command line interface, along with a server and a Python library.") - (license gpl3+))) + (license license:gpl3+))) (define-public translate-shell (package @@ -283,4 +291,87 @@ and a Python library.") translator powered by Google Translate (default), Bing Translator, Yandex.Translate and Apertium. It gives you easy access to one of these translation engines from your terminal.") - (license public-domain))) + (license license:public-domain))) + +(define-public lttoolbox + (package + (name "lttoolbox") + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/apertium/lttoolbox/releases/download/v" + version "/lttoolbox-" version ".tar.gz")) + (sha256 + (base32 + "08y6pf1hl7prwygy1g8h6ndqww18pmb9f3r5988q0pcrp8w6xz6b")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system gnu-build-system) + (inputs + `(("libxml2" ,libxml2))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://wiki.apertium.org/wiki/Lttoolbox") + (synopsis "Lexical processing toolbox") + (description "Lttoolbox is a toolbox for lexical processing, morphological +analysis and generation of words. Analysis is the process of splitting a +word (e.g. cats) into its lemma \"cat\" and the grammatical information +@code{}. Generation is the opposite process.") + (license (list license:gpl2 ; main license + license:expat)))) ; utf8/* + +(define-public apertium + (package + (name "apertium") + (version "3.5.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/apertium/apertium/releases/download/v" + version "/apertium-" version ".tar.gz")) + (sha256 + (base32 + "0lrx58ipx2kzh1pd3xm1viz05dqyrq38jbnj9dnk92c9ckkwkp4h")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system gnu-build-system) + (inputs + `(("libxml2" ,libxml2) + ("libxslt" ,libxslt) + ("lttoolbox" ,lttoolbox) + ("pcre" ,pcre))) + (native-inputs + `(("apertium-get" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/apertium/apertium-get") + (commit "692d030e68008fc123089cf2446070fe8c6e3a3b"))) + (sha256 + (base32 + "0kgp68azvds7yjwfz57z8sa5094fyk5yr0qxzblrw7bisrrihnav")))) + ("flex" ,flex) + ("pkg-config" ,pkg-config) + ;; python is only required for running the test suite + ("python-minimal" ,python-minimal))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; If apertium-get does not exist in the source tree, the build tries + ;; to download it using an svn checkout. To avoid this, copy + ;; apertium-get into the source tree. + (add-after 'unpack 'unpack-apertium-get + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "apertium-get") + "apertium/apertium-get") + #t))))) + (home-page "https://www.apertium.org/") + (synopsis "Rule based machine translation system") + (description "Apertium is a rule based machine translation system +featuring a shallow-transfer machine translation engine. The design of the +system makes translations fast (translating tens of thousands of words per +second on ordinary desktop computers) and, in spite of the errors, reasonably +intelligible and easily correctable.") + (license (list license:gpl2 ; main license + license:expat)))) ; utf8/* diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index dea925e568..ea2e65a588 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -37,13 +37,13 @@ (define-public python-django (package (name "python-django") - (version "1.11.15") + (version "1.11.17") (source (origin (method url-fetch) (uri (pypi-uri "Django" version)) (sha256 (base32 - "0h2sl02x2mxr3rl3dy750pzm5kvmx77116fys8rrgw164kc3b0mi")))) + "10xlpm21ll8mgz5py41sz9vrd603qv7an736agbqxkxlyikfx1x7")))) (build-system python-build-system) (arguments '(#:modules ((srfi srfi-1) @@ -265,6 +265,41 @@ account authentication.") (define-public python2-django-allauth (package-with-python2 python-django-allauth)) +(define-public python-django-debug-toolbar + (package + (name "python-django-debug-toolbar") + (version "1.10.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/jazzband/django-debug-toolbar/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rww056hyzks8spbgf4h7kf6ybxlc5p08a2b6gn1nqrrzs4yx9sy")))) + (build-system python-build-system) + (propagated-inputs + `(("python-sqlparse" ,python-sqlparse) + ("python-django" ,python-django))) + (native-inputs + `(("python-django-jinja" ,python-django-jinja) + ("python-html5lib" ,python-html5lib))) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "make" "test")))))) + (home-page + "https://github.com/jazzband/django-debug-toolbar") + (synopsis "Toolbar to help with developing Django applications") + (description + "A configurable set of panels that display information about the current +request and response as a toolbar on the rendered page.") + (license license:bsd-3))) + (define-public python-django-gravatar2 (package (name "python-django-gravatar2") @@ -338,6 +373,47 @@ merging, minifying and compiling CSS and Javascript files.") (define-public python2-django-assets (package-with-python2 python-django-assets)) +(define-public python-django-jinja + (package + (name "python-django-jinja") + (version "2.4.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/niwinz/django-jinja/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bzrb4m6wx9ph5cpvz7wpvg5k6ksvj0dnxlg0nhhqskhvp46brs1")))) + (build-system python-build-system) + (propagated-inputs + `(("python-django" ,python-django) + ("python-jinja2" ,python-jinja2) + ("python-pytz" ,python-pytz) + ("python-django-pipeline" ,python-django-pipeline))) + (arguments + '(;; TODO Tests currently fail due to issues with the configuration for + ;; django-pipeline + #:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (or + (not tests?) + (with-directory-excursion "testing" + (invoke "python" "runtests.py")))))))) + (home-page + "https://niwinz.github.io/django-jinja/latest/") + (synopsis "Simple jinja2 templating backend for Django") + (description + "This package provides a templating backend for Django, using Jinja2. It +provides certain advantages over the builtin Jinja2 backend in Django, for +example, explicit calls to callables from templates and better performance.") + (license license:bsd-3))) + (define-public python-django-jsonfield (package (name "python-django-jsonfield") @@ -518,6 +594,46 @@ project.") (define-public python2-django-overextends (package-with-python2 python-django-overextends)) +(define-public python-django-pipeline + (package + (name "python-django-pipeline") + (version "1.6.14") + (source + (origin + (method url-fetch) + (uri (pypi-uri "django-pipeline" version)) + (sha256 + (base32 + "1a207y71r7za033ira0qmh2yrgp5rq0l04gw2fg9b8jri7sslrzg")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "tests/tests/test_compiler.py" + (("\\/usr\\/bin\\/env") + (which "env"))))) + (replace 'check + (lambda*(#:key tests? #:allow-other-keys) + (or + (not tests?) + (begin + (setenv "DJANGO_SETTINGS_MODULE" "tests.settings") + (invoke "django-admin" "test" "tests")))))))) + (propagated-inputs + `(("python-django" ,python-django) + ("python-slimit" ,python-slimit) + ("python-jsmin" ,python-jsmin))) + (home-page + "https://github.com/jazzband/django-pipeline") + (synopsis "Asset packaging library for Django") + (description + "Pipeline is an asset packaging library for Django, providing both CSS +and JavaScript concatenation and compression, built-in JavaScript template +support, and optional data-URI image and font embedding.") + (license license:expat))) + (define-public python-django-redis (package (name "python-django-redis") diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index ad1a8638bc..c7b630364d 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -58,6 +58,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial)) @@ -65,7 +66,7 @@ (define-public dnsmasq (package (name "dnsmasq") - (version "2.79") + (version "2.80") (source (origin (method url-fetch) (uri (string-append @@ -73,7 +74,7 @@ version ".tar.xz")) (sha256 (base32 - "07w6cw706yyahwvbvslhkrbjf2ynv567cgy9pal8bz8lrbsp9bbq")))) + "1fv3g8vikj3sn37x1j6qsywn09w1jipvlv34j3q5qrljbrwa5ayd")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -363,7 +364,7 @@ to result in system-wide compromise.") (define-public unbound (package (name "unbound") - (version "1.8.0") + (version "1.8.1") (source (origin (method url-fetch) @@ -371,7 +372,7 @@ to result in system-wide compromise.") version ".tar.gz")) (sha256 (base32 - "0gxqc4ynd2g1a5dwaazqh9n8injh49a7dz0l9bbxqgv47dnrvxvq")))) + "0p9w6spar5dfi7fplxjcq4394wldabaws0ns30cqq6sxqfwv6qn3")))) (build-system gnu-build-system) (outputs '("out" "python")) (native-inputs @@ -569,14 +570,14 @@ Extensions} (DNSSEC).") (define-public knot (package (name "knot") - (version "2.7.2") + (version "2.7.3") (source (origin (method url-fetch) (uri (string-append "https://secure.nic.cz/files/knot-dns/" name "-" version ".tar.xz")) (sha256 (base32 - "0cc4wgb02ch09x99a1fnr7vsdik8k920q7jafzcamjvy3kpb4w6b")) + "1pwjcv7hzhqawisibybma160k77a6f1v94xw6ay9c7j49vrw05w7")) (modules '((guix build utils))) (snippet '(begin @@ -727,3 +728,56 @@ The client supports both dynamic and (near) static services, as well as MX record and alternative name management. It caches the address, and only attempts the update when it has changed.") (license license:gpl2+))) + +(define-public hnsd + ;; There have been no releases yet, hence this commit. + (let ((revision "0") + (commit "895d89c25d316d18df9d374fe78aae3902bc89fb")) + (package + (name "hnsd") + (version (git-version "0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/handshake-org/hnsd") + (commit commit))) + (sha256 + (base32 + "0704y73sddn24jga9csw4gxyfb3pnrfnk0vdcph84n1h38490l16")) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete the bundled copy of libuv. + (delete-file-recursively "uv") + (substitute* "configure.ac" + (("AC_CONFIG_SUBDIRS\\(\\[uv\\]\\)") "")) + (substitute* "Makefile.am" + (("SUBDIRS = uv") "\n") + (("\\$\\(top_builddir\\)/uv/libuv.la") "-luv") + + ;; Make sure the 'hnsd' binary is installed and + ;; dynamically-linked. + (("noinst_PROGRAMS") "bin_PROGRAMS") + (("hnsd_LDFLAGS = -static") "")) + + ;; This script tries to chdir to "uv" and doesn't do more + ;; than "autoreconf" so remove it. + (delete-file "autogen.sh") + #t)))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--disable-static"))) ;no need for libhsk.a + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (inputs + `(("unbound" ,unbound) + ("libuv" ,libuv))) + (home-page "https://www.handshake.org/") + (synopsis "Resolver daemon for the Handshake naming protocol") + (description + "@command{hnsd} is a @dfn{host name resolver} for the Handshake Naming +System (HNS) peer-to-peer network.") + (license license:expat)))) diff --git a/gnu/packages/easyrpg.scm b/gnu/packages/easyrpg.scm new file mode 100644 index 0000000000..05fd2b11a0 --- /dev/null +++ b/gnu/packages/easyrpg.scm @@ -0,0 +1,121 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Sou Bunnbu +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages easyrpg) + #:use-module (guix packages) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages audio) + #:use-module (gnu packages compression) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages gtk) + #:use-module (gnu packages icu4c) + #:use-module (gnu packages image) + #:use-module (gnu packages mp3) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages sdl) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xiph) + #:use-module (gnu packages xml)) + +(define-public liblcf + (package + (name "liblcf") + (version "0.5.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://easyrpg.org/downloads/player/" version + "/liblcf-" version ".tar.gz")) + (sha256 + (base32 + "1k99bcw5c23801jk3mbz5sj5h18x46w1qxrkknhwhfgqzpvxhwrs")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + ;; Required by 'liblcf.pc'. + `(("expat" ,expat) + ("icu" ,icu4c))) + (home-page "https://easyrpg.org/") + (synopsis "Library to handle RPG Maker 2000 and 2003 game data") + (description + "@code{liblcf} is a library to handle RPG Maker 2000 and 2003 game data. +It can read and write LCF and XML files.") + ;; It includes a copy of Boost Preprocessor Cat and Stringize (boost-1.0): + ;; src/boost/preprocessor/config.hpp + ;; src/boost/preprocessor/cat.hpp + ;; src/boost/preprocessor/stringize.hpp + ;; and a copy of inih (bsd-3): + ;; src/ini.h + ;; src/ini.cpp + ;; src/inireader.h + ;; src/inireader.cpp + ;; TODO: Unbundle them. + (license license:expat))) + +(define-public easyrpg-player + (package + (name "easyrpg-player") + (version "0.5.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://easyrpg.org/downloads/player/" version + "/easyrpg-player-" version ".tar.gz")) + (sha256 + (base32 + "0w0idr61slg5828j1q31c1kh1h0ryp8psc006y06jph5pp3qgm48")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + (list (string-append "--with-bash-completion-dir=" + %output "/etc/bash_completion.d/")))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("freetype" ,freetype) + ("harfbuzz" ,harfbuzz) + ("liblcf" ,liblcf) + ("libpng" ,libpng) + ("libsndfile" ,libsndfile) + ("libvorbis" ,libvorbis) + ("libxmp" ,libxmp) + ("mpg123" ,mpg123) + ("opusfile" ,opusfile) + ("pixman" ,pixman) + ("sdl2-mixer" ,sdl2-mixer) + ("sdl2" ,sdl2) + ("speexdsp" ,speexdsp) + ;; ("wildmidi" ,wildmidi) ; TODO: package it + ("zlib" ,zlib))) + (home-page "https://easyrpg.org/") + (synopsis "Play RPG Maker 2000 and 2003 games") + (description + "EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003 and +EasyRPG games. It uses the LCF parser library (liblcf) to read RPG Maker game +data.") + ;; It bundles FMMidi YM2608 FM synthesizer emulator (bsd-3): + ;; src/midisynth.h + ;; src/midisynth.cpp + ;; and PicoJSON JSON parser/serializer (bsd-2): + ;; src/picojson.h + ;; TODO: Unbundle them. + (license license:gpl3+))) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index a78e3e871f..e750c6cac8 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -75,7 +75,7 @@ (define-public calibre (package (name "calibre") - (version "3.28.0") + (version "3.35.0") (source (origin (method url-fetch) @@ -84,7 +84,7 @@ version ".tar.xz")) (sha256 (base32 - "0b3vv03c6m6972sk8zj3zc5sq6b9837irnfgjlqhv9z5i75m0414")) + "1gd15wjz4fhcra6d44xiy3hwbyk0miwb66a1pq5yldyy0hlb271z")) ;; Remove non-free or doubtful code, see ;; https://lists.gnu.org/archive/html/guix-devel/2015-02/msg00478.html (modules '((guix build utils))) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 8b02adc182..b333bb9d35 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -243,17 +243,17 @@ easy.") (define-public snap (package (name "snap") - (version "4.2.1.4") + (version "4.2.2.2") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/jmoenig/Snap--Build-Your-Own-Blocks.git") + (url "https://github.com/jmoenig/Snap.git") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 - "0yc0w0cdhvi0nwqqrann2v3y0n7shxh7irgixqvlavp4k49d7aqj")))) + "0bay08yr58qj8wzpjg33gdj78rfhyskfzidknpdl3cr1jrj6i4p9")))) (build-system trivial-build-system) (arguments `(#:modules ((guix build utils)) @@ -265,7 +265,7 @@ easy.") (share (string-append out "/share/snap"))) (copy-recursively source share) ;; Replace the sole minified file in the package. - (with-directory-excursion share + (with-directory-excursion (string-append share "/src") (delete-file "FileSaver.min.js") (symlink (string-append (assoc-ref %build-inputs "js-filesaver") "/share/javascript/FileSaver.min.js") diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index d13f220b84..bc30e619ec 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -123,7 +123,7 @@ as simple logic analyzer and/or oscilloscope hardware.") (define-public libsigrok (package (name "libsigrok") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (string-append @@ -131,19 +131,17 @@ as simple logic analyzer and/or oscilloscope hardware.") version ".tar.gz")) (sha256 (base32 - "197kr5ip98lxn7rv10zs35d1w0j7265s0xvckx0mq2l8kdvqd32c")))) + "171b553dir5gn6w4f7n37waqk62nq2kf1jykx4ifjacdz5xdw3z4")))) (outputs '("out" "doc")) (arguments - `(#:tests? #f ; tests need usb access + `(#:tests? #f ; tests need USB access #:phases (modify-phases %standard-phases (add-before 'configure 'change-udev-group (lambda _ - (let ((file "contrib/z60_libsigrok.rules")) - (substitute* file - (("plugdev") "dialout")) - (rename-file file "contrib/60-libsigrok.rules") - #t))) + (substitute* (find-files "contrib" "\\.rules$") + (("plugdev") "dialout")) + #t)) (add-after 'build 'build-doc (lambda _ (invoke "doxygen"))) @@ -155,11 +153,12 @@ as simple logic analyzer and/or oscilloscope hardware.") #t)) (add-after 'install-doc 'install-udev-rules (lambda* (#:key outputs #:allow-other-keys) - (install-file "contrib/60-libsigrok.rules" - (string-append - (assoc-ref outputs "out") - "/lib/udev/rules.d/")) - #t)) + (let* ((out (assoc-ref outputs "out")) + (rules (string-append out "/lib/udev/rules.d/"))) + (for-each (lambda (file) + (install-file file rules)) + (find-files "contrib" "\\.rules$")) + #t))) (add-after 'install-udev-rules 'install-fw (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((fx2lafw (assoc-ref inputs "sigrok-firmware-fx2lafw")) @@ -167,7 +166,6 @@ as simple logic analyzer and/or oscilloscope hardware.") (dir-suffix "/share/sigrok-firmware/") (input-dir (string-append fx2lafw dir-suffix)) (output-dir (string-append out dir-suffix))) - (mkdir-p output-dir) (for-each (lambda (file) (install-file file output-dir)) @@ -204,7 +202,7 @@ format support.") (define-public sigrok-cli (package (name "sigrok-cli") - (version "0.7.0") + (version "0.7.1") (source (origin (method url-fetch) (uri (string-append @@ -212,7 +210,7 @@ format support.") version ".tar.gz")) (sha256 (base32 - "072ylscp0ppgii1k5j07hhv7dfmni4vyhxnsvxmgqgfyq9ldjsan")))) + "15vpn1psriadcbl6v9swwgws7dva85ld03yv6g1mgm27kx11697m")))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs @@ -228,7 +226,7 @@ format support.") (define-public pulseview (package (name "pulseview") - (version "0.4.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (string-append @@ -236,9 +234,20 @@ format support.") version ".tar.gz")) (sha256 (base32 - "1f8f2342d5yam98mmcb8f9g2vslcwv486bmi4x45pxn68l82ky3q")))) + "0bvgmkgz37n2bi9niskpl05hf7rsj1lj972fbrgnlz25s4ywxrwy")))) + (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DCMAKE_CXX_FLAGS=-fext-numeric-literals"))) + `(#:configure-flags '("-DENABLE_TESTS=y") + #:phases + (modify-phases %standard-phases + (add-after 'install 'remove-empty-doc-directory + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (with-directory-excursion (string-append out "/share") + ;; Use RMDIR to never risk silently deleting files. + (rmdir "doc/pulseview") + (rmdir "doc")) + #t)))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs @@ -249,7 +258,6 @@ format support.") ("libsigrokdecode" ,libsigrokdecode) ("qtbase" ,qtbase) ("qtsvg" ,qtsvg))) - (build-system cmake-build-system) (home-page "https://www.sigrok.org/wiki/PulseView") (synopsis "Qt based logic analyzer, oscilloscope and MSO GUI for sigrok") (description "PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index d8d7546e3c..2ad868ddc7 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -95,14 +95,14 @@ Executable and Linkable Format (@dfn{ELF}). This includes @command{ld}, (package (name "libabigail") (home-page "https://sourceware.org/libabigail/") - (version "1.4") + (version "1.5") (source (origin (method url-fetch) (uri (string-append "https://sourceware.org/pub/" name "/" name "-" version ".tar.gz")) (sha256 (base32 - "17r8i60lxykvdd9pdidmnvkzgf9k8zman0c1czl3zbx0znhlx497")))) + "0srfnkbm386sl2n85686nl28da6ksbs7jgnfks9k0n61c772aas4")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--disable-static" diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 1069b9e3c3..358f32cabd 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017, 2018 Chris Marusich -;;; Copyright © 2015, 2016 Christopher Allan Webber +;;; Copyright © 2015, 2016, 2018 Christopher Lemmer Webber ;;; Copyright © 2016 Adriano Peluso ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 David Thompson @@ -40,6 +40,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Alex Branham ;;; Copyright © 2018 Thorsten Wilms +;;; Copyright © 2018 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,6 +71,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages audio) #:use-module (gnu packages bash) #:use-module (gnu packages cmake) @@ -654,6 +656,33 @@ Gitlab APIs from Emacs packages. It abstracts access to API resources using only a handful of functions that are not resource-specific.") (license license:gpl3+))) +(define-public emacs-scribble-mode + (let ((commit "34e9e5edb921813b6483e0fefa848efb6ee4b314") + (version "0.0") + (revision 0)) + (package + (name "emacs-scribble-mode") + (version (if (zero? revision) + version + (string-append version "-" + (number->string revision) + "." (string-take commit 7)))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-pe/scribble-mode.git") + (commit commit))) + (sha256 + (base32 + "0598byqpz2q6yi2q4dwd77jj9z3n99z34d3an51s9m2za0nh1qvp")))) + (build-system emacs-build-system) + (home-page "https://github.com/emacs-pe/scribble-mode") + (synopsis "Emacs mode for editing the Scribble documentation syntax.") + (description + "This package provides basic syntax highlighting and editing support +for editing Racket's Scribble documentation syntax in Emacs.") + (license license:gpl3+)))) + (define-public emacs-haskell-mode (package (name "emacs-haskell-mode") @@ -783,6 +812,29 @@ different tools. It highlights errors and warnings inline in the buffer, and provides an optional IDE-like error list.") (license license:gpl3+))) ;+GFDLv1.3+ for the manual +(define-public emacs-a + (package + (name "emacs-a") + (version "0.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/plexus/a.el.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00v9w6qg3bkwdhypq0ssf0phdh0f4bcq59c20lngd6vhk0204dqi")))) + (build-system emacs-build-system) + (home-page "https://github.com/plexus/a.el/") + (synopsis + "Emacs library for dealing with association lists and hash tables") + (description "@code{emacs-a} provides Emacs Lisp functions for dealing +with associative structures in a uniform and functional way. These functions +can take association lists, hash tables, and in some cases vectors (where the +index is considered the key).") + (license license:gpl3+))) + ;;; ;;; Web browsing. @@ -929,14 +981,14 @@ provides an optional IDE-like error list.") (define-public emacs-emms (package (name "emacs-emms") - (version "5.0") + (version "5.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/emms/emms-" version ".tar.gz")) (sha256 (base32 - "08f9lj77jlk96grqgjsv63s2i8ywvp4wvnmgmhnslwyx2lsdxza3")) + "149ddczyx6x10zn4mn8g0rll1rwf4yciv8x6j0qdnlbwszblx2x6")) (modules '((guix build utils))) (snippet '(begin @@ -1309,7 +1361,7 @@ a set of simplified face specifications and a user-supplied color palette") (guix build emacs-utils)) #:phases (modify-phases %standard-phases - (add-after 'rename-lispdir 'make-autoloads + (add-after 'install 'make-autoloads (assoc-ref emacs:%standard-phases 'make-autoloads))))) (home-page "http://howm.osdn.jp/") (synopsis "Note-taking tool for Emacs") @@ -1321,7 +1373,7 @@ searches. Unlike code@{emacs-wiki.el}, it can be combined with any format.") (define-public emacs-calfw (package (name "emacs-calfw") - (version "1.5") + (version "1.6") (source (origin (method url-fetch) @@ -1331,7 +1383,7 @@ searches. Unlike code@{emacs-wiki.el}, it can be combined with any format.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l")))) + "1zr91xr0f1xfcv78yxka8vs5ximmq2ixmqf2pkb57kwwnxlypq4i")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-howm" ,emacs-howm))) @@ -1423,14 +1475,22 @@ current match, total matches and exit status. (name "emacs-go-mode") (version "1.5.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dominikh/go-mode.el/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dominikh/go-mode.el.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1adngbjyb8qnwg7n6r2y31djw9j6qf3b9fi63zd85035q7x4ljnm")))) + "1nd2h50yb0493wvf1h7fzplq45rmqn2w7kxpgnlxzhkvq99v8vzf")))) (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-writable + (lambda _ + (for-each make-file-writable (find-files "." "\\.el$")) + #t))))) (home-page "https://github.com/dominikh/go-mode.el") (synopsis "Go mode for Emacs") (description @@ -1565,15 +1625,16 @@ filters, new key bindings and faces. It can be enabled by (package (name "emacs-pdf-tools") (version "0.80") + (home-page "https://github.com/politza/pdf-tools") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/politza/pdf-tools/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "06imydn3a92vr57azpn1zhqc14kxyyslmyi9ldsyphan9b724gb6")))) + "1i4647vax5na73basc5dz4lh9kprir00fh8ps4i0l1y3ippnjs2s")) + (patches (search-patches "emacs-pdf-tools-poppler.patch")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; there are no tests @@ -1598,6 +1659,8 @@ filters, new key bindings and faces. It can be enabled by (lambda _ (chdir "../lisp") #t)) (add-after 'enter-lisp-dir 'emacs-patch-variables (lambda* (#:key outputs #:allow-other-keys) + (for-each make-file-writable (find-files ".")) + ;; Set path to epdfinfo program. (emacs-substitute-variables "pdf-info.el" ("pdf-info-epdfinfo-program" @@ -1631,7 +1694,6 @@ filters, new key bindings and faces. It can be enabled by files. The key difference is that pages are not pre-rendered by e.g. ghostscript and stored in the file-system, but rather created on-demand and stored in memory.") - (home-page "https://github.com/politza/pdf-tools") (license license:gpl3+))) (define-public emacs-dash @@ -2603,14 +2665,14 @@ source code using IPython.") (define-public emacs-debbugs (package (name "emacs-debbugs") - (version "0.15") + (version "0.16") (source (origin (method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/debbugs-" version ".tar")) (sha256 (base32 - "1x7jw2ldgkknyxg7x9fhnqkary691icnysmi3xw0g2fjrvllzhqw")))) + "0y3bq803c7820h15g66d1648skxfhlfa2v6vincj6xk5ssp44s9p")))) (build-system emacs-build-system) (arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$"))) (propagated-inputs @@ -2720,7 +2782,7 @@ build jobs.") (define-public emacs-company (package (name "emacs-company") - (version "0.9.6") + (version "0.9.7") (source (origin (method url-fetch) @@ -2729,7 +2791,7 @@ build jobs.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0a7zvmfvxh9w67myvcj2511ayk0fvkm06cdg38y8khnsx63jrr4k")))) + "19flv38f2qhxda8lbk2ckywvibd72vbzmn4hchqz6d8acsknh4sb")))) (build-system emacs-build-system) (arguments `(#:phases @@ -2760,11 +2822,13 @@ These are distributed in separate files and can be used individually.") (version "1.2.0") (home-page "https://github.com/Sarcasm/irony-mode") (source (origin - (method url-fetch) - (uri (string-append home-page "/archive/v" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit (string-append "v" version)))) (sha256 (base32 - "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99")) + "0nhjrnlmss535jbshjjd30vydbr8py21vkx4p294w6d8vg2rssf8")) (file-name (string-append name "-" version ".tar.gz")))) (build-system emacs-build-system) (arguments '()) @@ -2797,6 +2861,72 @@ described on the homepage.") (build-system cmake-build-system) (synopsis "Server for the Emacs @dfn{irony mode}"))) +(define-public emacs-company-irony + (package + (name "emacs-company-irony") + (version "1.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Sarcasm/company-irony.git") + (commit (string-append "v" version)))) + (sha256 (base32 + "1qgyam2vyjw90kpxns5cd6bq3qiqjhzpwrlvmi18vyb69qcgqd8a")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (inputs + `(("emacs-irony-mode" ,emacs-irony-mode) + ("emacs-company" ,emacs-company))) + (synopsis "C++ completion backend for Company using irony-mode") + (description "This backend for company-mode allows for C++ code completion +with irony-mode using clang-tooling.") + (home-page "https://github.com/Sarcasm/company-irony") + (license license:gpl3+))) + +(define-public emacs-flycheck-irony + (package + (name "emacs-flycheck-irony") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Sarcasm/flycheck-irony.git") + (commit (string-append "v" version)))) + (sha256 + (base32 "0qa5a8wzvzxwqql92ibc9s43k8sj3vwn7skz9hfr8av0skkhx996")) + (file-name (string-append name "-" version)))) + (build-system emacs-build-system) + (inputs + `(("irony-mode" ,emacs-irony-mode) + ("flycheck-mode" ,emacs-flycheck) + ("emacs-company" ,emacs-company))) + (synopsis "Live syntax checking frontend for Flycheck using irony-mode") + (description "This package provides a frontend for Flycheck that lets +irony-mode do the syntax checking.") + (home-page "https://github.com/Sarcasm/flycheck-irony") + (license license:gpl3+))) + +(define-public emacs-irony-eldoc + (package + (name "emacs-irony-eldoc") + (version (package-version emacs-irony-mode)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ikirill/irony-eldoc.git") + (commit "0df5831eaae264a25422b061eb2792aadde8b3f2"))) + (sha256 (base32 "1l5qpr66v1l12fb50yh73grb2rr85xxmbj19mm33b5rdrq2bqmmd")) + (file-name (string-append name "-" version)))) + (build-system emacs-build-system) + (inputs + `(("irony-mode" ,emacs-irony-mode))) + (synopsis "Eldoc integration for irony-mode") + (description "Irony-eldoc is an eldoc extension that shows documentation +for the current function or variable in the minibuffer.") + (home-page "https://github.com/ikirill/irony-eldoc") + (license license:gpl3+))) + (define-public emacs-company-quickhelp (package (name "emacs-company-quickhelp") @@ -3340,7 +3470,7 @@ organizer.") (define-public emacs-zenburn-theme (package (name "emacs-zenburn-theme") - (version "2.5") + (version "2.6") (source (origin (method url-fetch) (uri (string-append @@ -3349,7 +3479,7 @@ organizer.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn")))) + "0qc9d1rwq55yzh8shbppyd6izy1grpyr8kqh5zdgm7c5jccngpr4")))) (build-system emacs-build-system) (home-page "https://github.com/bbatsov/zenburn-emacs") (synopsis "Low contrast color theme for Emacs") @@ -3631,7 +3761,11 @@ after buffer changes.") version ".tar")) (sha256 (base32 - "108wgxg7fb4byaiasgvbxv2hq7b00biq9f0mh9hy6vw4160y5w24")))) + "108wgxg7fb4byaiasgvbxv2hq7b00biq9f0mh9hy6vw4160y5w24")) + (patches + ;; Patch awaiting inclusion upstream (see: + ;; https://github.com/realgud/realgud/pull/226). + (search-patches "emacs-realgud-fix-configure-ac.patch")))) (build-system emacs-build-system) (arguments `(#:tests? #t @@ -3793,10 +3927,11 @@ expression.") (license license:gpl3+))) (define-public emacs-ivy-yasnippet - (let ((commit "59b32cf8cfb63df906822a17f6f5e8545dac38d4")) + (let ((commit "32580b4fd23ebf9ca7dde96704f7d53df6e253cd") + (revision "2")) (package (name "emacs-ivy-yasnippet") - (version (git-version "0.1" "1" commit)) + (version (git-version "0.1" revision commit)) (source (origin (method git-fetch) @@ -3806,7 +3941,7 @@ expression.") (file-name (git-file-name name version)) (sha256 (base32 - "0hghdlxkfwrglvc1nql2ikgp6jj0qdbfwc3yvpb19mrf26hwgp13")))) + "1wfg6mmd5gl1qgvayyzpxlkh9s7jgn20y8l1vh1zbj1czvv51xp8")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-ivy" ,emacs-ivy) @@ -3821,6 +3956,31 @@ use it, call @code{M-x ivy-yasnippet} (but make sure you have enabled @code{yas-minor-mode} first).") (license license:gpl3+)))) +(define-public emacs-ivy-rich + (package + (name "emacs-ivy-rich") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/Yevgnen/ivy-rich/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14r3mx5rkd4wz0ls5pv5w6c7la3z9iy93d3jfind3xyg4kywy95c")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-ivy" ,emacs-ivy))) + (home-page "https://github.com/Yevgnen/ivy-rich") + (synopsis "More friendly interface for @code{ivy}") + (description + "This package extends @code{ivy} by showing more information in the +minibuffer for each candidate. It adds columns showing buffer modes, file +sizes, docstrings, etc. If @code{emacs-all-the-icons} is installed, it can +show icons as well.") + (license license:gpl3+))) + (define-public emacs-avy (package (name "emacs-avy") @@ -4284,7 +4444,7 @@ to all the other commands, too.") (define-public emacs-js2-mode (package (name "emacs-js2-mode") - (version "20150909") + (version "20180301") (source (origin (method url-fetch) (uri (string-append "https://github.com/mooz/js2-mode/archive/" @@ -4292,7 +4452,7 @@ to all the other commands, too.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0")))) + "13aghgwaqrmbf3pbifcry52kya454wnh1gbdh5805n1n6xgjm5w3")))) (build-system emacs-build-system) (home-page "https://github.com/mooz/js2-mode/") (synopsis "Improved JavaScript editing mode for Emacs") @@ -4639,7 +4799,7 @@ indentation (space indentation only). (define-public emacs-elpy (package (name "emacs-elpy") - (version "1.24.0") + (version "1.27.0") (source (origin (method git-fetch) (uri (git-reference @@ -4648,7 +4808,7 @@ indentation (space indentation only). (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "0rsg8a9nwqfkv0xcs11jzfp10ij7jm0v2ikx19zv2v7awqy0q5wf")))) + "1b76y0kzk7s9ya8k9bpsgn31i9l0rxs4iz6lg7snhjgh03k0ssgv")))) (build-system emacs-build-system) (arguments `(#:include (cons* "^elpy/[^/]+\\.py$" "^snippets\\/" %default-include) @@ -5046,26 +5206,28 @@ target will call @code{compile} on it.") (define-public emacs-cider (package (name "emacs-cider") - (version "0.15.1") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/clojure-emacs/cider/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j5hlmi14ypszv1f9nvq0jjlz7i742flg0ny3055l7i4x089xx6g")))) + (version "0.18.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure-emacs/cider.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1m9kc88vga3q5d731qnpngnsa0n57pf21k3hll20rw8rggrx4vdn")))) (build-system emacs-build-system) (arguments '(#:exclude ; Don't exclude 'cider-test.el'. '("^\\.dir-locals\\.el$" "^test/"))) (propagated-inputs `(("emacs-clojure-mode" ,emacs-clojure-mode) + ("emacs-sesman" ,emacs-sesman) ("emacs-spinner" ,emacs-spinner) ("emacs-pkg-info" ,emacs-pkg-info) ("emacs-queue" ,emacs-queue))) - (home-page "https://cider.readthedocs.org/") + (home-page "https://cider.readthedocs.io/") (synopsis "Clojure development environment for Emacs") (description "CIDER (Clojure Interactive Development Environment that Rocks) aims to @@ -6627,7 +6789,7 @@ It should enable you to implement low-level X11 applications.") (define-public emacs-exwm (package (name "emacs-exwm") - (version "0.20") + (version "0.21") (synopsis "Emacs X window manager") (source (origin (method url-fetch) @@ -6635,7 +6797,7 @@ It should enable you to implement low-level X11 applications.") version ".tar")) (sha256 (base32 - "0nhhzbkm0mkj7sd1dy2c19cmn56gyaj9nl8kgy86h4fp63hjaz04")))) + "07ng1pgsnc3isfsyzh2gfc7391p9il8lb5xqf1z6yqn20w7k6xzj")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-xelb" ,emacs-xelb))) @@ -7661,17 +7823,17 @@ value of the access token.") (define-public emacs-circe (package (name "emacs-circe") - (version "2.6") + (version "2.10") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/jorgenschaefer/circe.git") (commit (string-append "v" version)))) - (file-name (string-append name "-" version "-checkout")) + (file-name (git-file-name name version)) (sha256 (base32 - "19h3983zy3f15cgs86irvbdzz55qyjm48qd7gjlzcxplr7vnnh0j")))) + "10gi14kwxd81blddpvqh95lgmpbfgp0m955naxix3bs3r6a75n4s")))) (build-system emacs-build-system) ;; In order to securely connect to an IRC server using TLS, Circe requires ;; the GnuTLS binary. @@ -7685,25 +7847,42 @@ activity in channels in the status bar so it stays out of your way unless you want to use it.") (license license:gpl3+))) +(define-public emacs-tracking + (package + (inherit emacs-circe) + (name "emacs-tracking") + (arguments + ;; "tracking.el" is a library extracted from Circe package. It requires + ;; "shorten.el". + `(#:include '("^shorten.el$" "^tracking.el$") + #:tests? #f)) ;tests require buttercup + (home-page "https://github.com/jorgenschaefer/circe/wiki/Tracking") + (synopsis "Buffer tracking library") + (description "@code{tracking.el} provides a way for different modes to +notify the user that a buffer needs attention. The user then can cycle +through them using @key{C-c C-SPC}.") + (license license:gpl3+))) + (define-public emacs-slack - (let ((commit "d90395482d26175ce38fd935e978c428be8af9a0") - (revision "4")) + (let ((commit "99a57501629a0329a9ca090c1ea1296462eda02d") + (revision "5")) (package (name "emacs-slack") - (version (string-append "0-" revision "." (string-take commit 7))) + (version (git-version "0.0.2" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/yuya373/emacs-slack.git") (commit commit))) - (file-name (string-append name "-" version "-checkout")) + (file-name (git-file-name name commit)) (sha256 (base32 - "14f6wjcbl09cfd3yngr6m1k1d4nr764im666mbnqbk9nmqf50nib")))) + "0jw1diypfw8pmzkq0napgxmfc0gqka7zcccgnw359604lr30k2z2")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-alert" ,emacs-alert) ("emacs-emojify" ,emacs-emojify) + ("emacs-helm" ,emacs-helm) ("emacs-request" ,emacs-request) ("emacs-websocket" ,emacs-websocket) ("emacs-oauth2" ,emacs-oauth2) @@ -7818,38 +7997,64 @@ contexts. (license license:gpl3+))) (define-public emacs-polymode - ;; There hasn't been a proper release. - (let ((commit "0340f5e7e55235832e59673f027cc79a23cbdcd6") - (revision "1")) - (package - (name "emacs-polymode") - (version (string-append "1.0-" revision "." (string-take commit 7))) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/vspinu/polymode.git") - (commit commit))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "057cybkq3cy07n5s332k071sjiky3mziy003lza4rh75mgqkwhmh")))) - (build-system emacs-build-system) - (arguments - `(#:include (cons* "^modes/.*\\.el$" %default-include) - #:phases - (modify-phases %standard-phases - (add-after 'set-emacs-load-path 'add-modes-subdir-to-load-path - (lambda _ - (setenv "EMACSLOADPATH" - (string-append (getenv "EMACSLOADPATH") - ":" (getcwd) "/modes" ":"))))))) - (home-page "https://github.com/vspinu/polymode") - (synopsis "Framework for multiple Emacs modes based on indirect buffers") - (description "Polymode is an Emacs package that offers generic support + (package + (name "emacs-polymode") + (version "0.1.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vspinu/polymode.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wwphs54jx48a3ca6x1qaz56j3j9bg4mv8g2akkffrzbdcb8sbc7")))) + (build-system emacs-build-system) + (arguments + `(#:include (cons* "^modes/.*\\.el$" %default-include) + #:phases + (modify-phases %standard-phases + (add-after 'set-emacs-load-path 'add-modes-subdir-to-load-path + (lambda _ + (setenv "EMACSLOADPATH" + (string-append (getenv "EMACSLOADPATH") + ":" (getcwd) "/modes" ":"))))))) + (home-page "https://github.com/vspinu/polymode") + (synopsis "Framework for multiple Emacs modes based on indirect buffers") + (description "Polymode is an Emacs package that offers generic support for multiple major modes inside a single Emacs buffer. It is lightweight, object oriented and highly extensible. Creating a new polymode typically takes only a few lines of code. Polymode also provides extensible facilities for external literate programming tools for exporting, weaving and tangling.") + (license license:gpl3+))) + +(define-public emacs-polymode-ansible + (let ((commit "b26094d029e25dc797b94254f797e7807a57e4c8")) + (package + (name "emacs-polymode-ansible") + ;; No upstream version release yet. + (version (git-version "0.1" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/mavit/poly-ansible") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "055shddqibib3hx2ykwdz910nrqws40cd407mq946l2bf6v87gj6")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-ansible-doc" ,emacs-ansible-doc) + ("emacs-jinja2-mode" ,emacs-jinja2-mode) + ("emacs-polymode" ,emacs-polymode) + ("emacs-yaml-mode" ,emacs-yaml-mode))) + (properties '((upstream-name . "poly-ansible"))) + (home-page "https://gitlab.com/mavit/poly-ansible/") + (synopsis "Polymode for Ansible - Jinja2 in YAML") + (description + "Edit YAML files for Ansible containing embedded Jinja2 templating.") (license license:gpl3+)))) (define-public eless @@ -8173,7 +8378,7 @@ the format.") (define-public emacs-nov-el (package (name "emacs-nov-el") - (version "0.2.2") + (version "0.2.6") (source (origin (method git-fetch) (uri (git-reference @@ -8182,7 +8387,7 @@ the format.") (file-name (git-file-name name version)) (sha256 (base32 - "03s0qjvwk1f7y3i4wh2p5y3z4hdv00adgz8za3vphzc0q8i1kjzb")))) + "188h5gzn1zf443g0b7q5bpmvvpr6ds5h8aci8vxc92py56rhyrvc")))) (build-system emacs-build-system) (arguments `(#:phases @@ -11358,7 +11563,7 @@ the GIF result.") (define-public emacs-google-translate (package (name "emacs-google-translate") - (version "0.11.15") + (version "0.11.16") (source (origin (method url-fetch) @@ -11367,7 +11572,7 @@ the GIF result.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1zxvfagbaf5mxi528mz33c8vxdk86wj0xx5y2jfy97wi8dzrwn3g")))) + "01n9spj1d0gjfj39x526rl3m9c28wnx9afipmf5s8y77cx3mfwhl")))) (build-system emacs-build-system) (home-page "https://github.com/atykhonov/google-translate") (synopsis "Emacs interface to Google Translate") @@ -11377,10 +11582,10 @@ on-line service.") (license license:gpl3+))) (define-public emacs-helm-company - (let ((commit "acc9c7901e094c1591327a0db1ec7a439f67a84d")) + (let ((commit "d3fc093a0e833b4dee6561c00d6df3d62aa50f3f")) (package (name "emacs-helm-company") - (version (git-version "0.2.2" "1" commit)) + (version (git-version "0.2.3" "1" commit)) (source (origin (method git-fetch) @@ -11390,7 +11595,7 @@ on-line service.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1d4q9clp0q56br80c21a4wz1gc4jw3mdy97z9mq07x9i8rhlppzs")))) + "1ciirsanhajdqm5iwl8k9ywf4jha1wdv4sc4d9kslyrfr9zn4q6k")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-helm" ,emacs-helm) @@ -11678,8 +11883,8 @@ file.") (license license:gpl3+)))) (define-public emacs-picpocket - (let ((version "20180610.1059") ; taken from melpa - (commit "ce4b6ed088384f2414af82e8e4eae5b92c2874bf")) + (let ((version "40") + (commit "6fd88b8711c4370662c0f9c462170187d092a046")) (package (name "emacs-picpocket") (version version) @@ -11691,7 +11896,7 @@ file.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "15vpbcv83mc4j1pvrk7xic0klh2bl9gzg2xxs7c2lmnix52hy8mv")))) + (base32 "1mdzzxf7xm7zwrpnqqxa27d1cr31pd72d7ilbwljv13qp177a3yw")))) (build-system emacs-build-system) (arguments ; needed for running tests `(#:tests? #t @@ -11719,10 +11924,10 @@ file.") (deprecated-package "emacs-wgrep-helm" emacs-wgrep)) (define-public emacs-mu4e-conversation - (let ((commit "223cc66e99c7665326e3d991d6d383cb0d7512bb")) + (let ((commit "e7d4bfcb0d392b0aed1f705ccac2419a168d1f5e")) (package (name "emacs-mu4e-conversation") - (version (git-version "20180722" "2" commit)) + (version (git-version "20181126" "4" commit)) (source (origin (method url-fetch) @@ -11733,7 +11938,7 @@ file.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1ivy7pihhma465hi25p1y45dyi8h52nsm2m0cvizj5sw36jw0n81")))) + "0b52hf9rm2afba9pvgink9bwqm705sk0y5qikp0ff5sk53wqvy29")))) (build-system emacs-build-system) (propagated-inputs `(("mu" ,mu))) @@ -11985,7 +12190,7 @@ was called.") (define-public emacs-dired-du (package (name "emacs-dired-du") - (version "0.5") + (version "0.5.1") (source (origin (method url-fetch) @@ -11994,7 +12199,7 @@ was called.") version ".tar")) (sha256 (base32 - "09yj37p2fa5f81fqrzwghjkyy2ydsf4rbkfwpn2yyvzd5nd97bpl")))) + "1091scnrjh0a4gja4z6jxic6ghy1yryv46qk9c76pmh50cpw6766")))) (build-system emacs-build-system) (home-page "http://elpa.gnu.org/packages/dired-du.html") (synopsis "Dired with recursive directory sizes") @@ -12386,3 +12591,169 @@ have special meaning. It is also handy for aligning text across long vertical distances. Multi-column characters, such as @kbd{TAB} are treated correctly.") (license license:gpl2+))) + +(define-public emacs-slime-repl-ansi-color + (let ((commit "ad03263f5d4de473bc173b64a6fc3dc1106393d7")) + (package + (name "emacs-slime-repl-ansi-color") + (version (git-version "0.0.0" "1" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/deadtrickster/slime-repl-ansi-color") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bpg7gxz310x7bnlg324c507sxc5gxwwz6h64h6kdq141r73vbi4")))) + (build-system emacs-build-system) + (home-page "https://github.com/deadtrickster/slime-repl-ansi-color") + (synopsis "Color ANSI codes in the REPL of SLIME") + (description "Color ANSI codes in the REPL of SLIME") + (license license:gpl2+)))) + +(define-public emacs-helm-slime + (let ((commit "9980925f3e5f6ac5a30369d2a544e82006a79c76")) + (package + (name "emacs-helm-slime") + (version (git-version "0.0.0" "1" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacs-helm/helm-slime") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xa07gpfkzwn522x9573mq5mfxvbawdgd0m93gqj6w5a14wk8zzh")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-helm" ,emacs-helm) + ("emacs-slime" ,emacs-slime))) + (home-page "https://github.com/emacs-helm/helm-slime") + (synopsis "Helm for SLIME, the Superior Lisp Interaction Mode for Emacs") + (description "Helm-SLIME defines a few new commands: + +@itemize +@item helm-slime-complete: Select a symbol from the SLIME completion systems. +@item helm-slime-list-connections: Yet another slime-list-connections with Helm. +@item: helm-slime-apropos: Yet another slime-apropos with Helm. +@item helm-slime-repl-history: Select an input from the SLIME REPL history and insert it. +@end itemize\n") + (license license:gpl3+)))) + +(define-public emacs-gtk-look + (package + (name "emacs-gtk-look") + (version "29") + (source (origin + (method url-fetch) + (uri "https://download.tuxfamily.org/user42/gtk-look.el") + (sha256 + (base32 + "14p2nwrd51cr1v06fxbjjn6jdrkf9d6vcxhmscm0kl677s25ypsp")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda _ + ;; File is read-only. + (chmod "gtk-look.el" #o644) + (emacs-substitute-variables "gtk-look.el" + ("gtk-lookup-devhelp-indices" + '(list (expand-file-name "~/.guix-profile/share/gtk-doc/html/*/*.devhelp*")))) + #t))))) + (home-page "http://user42.tuxfamily.org/gtk-look/index.html") + (synopsis "Find and display HTML documentation for GTK, GNOME and Glib") + (description "@command{gtk-look} finds and displays HTML documentation for +GTK, GNOME and Glib functions and variables in Emacs, similar to what +info-lookup-symbol does for info files (C-h S). The documentation is expected +to be devhelp indexes with HTML files. The location of the indexes can be +customized. In addition to C code development @command{gtk-look} is good for + +@itemize +@item @command{perl-gtk2}, recognising class funcs like +@command{Gtk2::Label->new} and bare method names like @command{set_text}. +@item @command{guile-gnome}, recognising methods like @command{set-text} and +classes like @command{}. +@end itemize\n") + (license license:gpl3+))) + +(define-public emacs-ov + (package + (name "emacs-ov") + (version "1.0.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ShingoFukuyama/ov.el.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qxk2rf84j86syxi8xknsq252irwg7sz396v3bb4wqz4prpj0kzc")))) + (build-system emacs-build-system) + (home-page "https://github.com/ShingoFukuyama/ov.el") + (synopsis "Overlay library for Emacs Lisp") + (description "@code{ov.el} provides a simple way to manipulate overlays in +Emacs.") + (license license:gpl3+))) + +(define-public emacs-matrix-client + (let ((commit "3eab4c28280feff18ee1ddd7db66ada4f135cbf8")) + (package + (name "emacs-matrix-client") + (version (git-version "0.0.0" "1" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jgkamat/matrix-client-el.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k6721jz0m22vpb78881k087mpx8hf3s2219ic75v5mhgx355f7m")))) + (build-system emacs-build-system) + (propagated-inputs + `(("a" ,emacs-a) + ("dash" ,emacs-dash) + ("esxml" ,emacs-esxml) + ("f" ,emacs-f) + ("ht" ,emacs-ht) + ("ov" ,emacs-ov) + ("request" ,emacs-request) + ("s" ,emacs-s) + ("tracking" ,emacs-tracking))) + (home-page "https://github.com/jgkamat/matrix-client-el") + (synopsis "Matrix client for Emacs") + (description "@code{matrix-client} is a simple chat UI to Matrix.org +rooms. It also provides an API which allows Emacs to seamlessly create +RPC channels with users and other software.") + (license license:gpl3+)))) + +(define-public emacs-sesman + (package + (name "emacs-sesman") + (version "0.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vspinu/sesman.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r32f8ma9ddczxrrdz0nadp14j3zmk10q1ch02gb82synkx3xdra")))) + (build-system emacs-build-system) + (arguments + `(#:tests? #t + #:test-command '("make" "test"))) + (home-page "https://github.com/vspinu/sesman") + (synopsis "Session manager for Emacs based IDEs") + (description "Sesman provides facilities for session management and +interactive session association with the current contexts (project, directory, +buffers). While sesman can be used to manage arbitrary sessions, it primary +targets the Emacs based IDEs (CIDER, ESS, Geiser, Robe, SLIME etc.)") + (license license:gpl3+))) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 38c76cd737..f20d1e17c7 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -321,12 +321,6 @@ languages are C and C++.") ("pkg-config" ,pkg-config))) (inputs `(("libusb" ,libusb))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) (home-page "http://repo.or.cz/w/libjaylink.git") (synopsis "Library to interface Segger J-Link devices") (description "libjaylink is a shared library written in C to access @@ -404,9 +398,9 @@ language.") "presto" "openjtag"))) #:phases (modify-phases %standard-phases + ;; Required because of patched sources. (add-before 'configure 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vfi")))) + (lambda _ (invoke "autoreconf" "-vfi") #t)) (add-after 'autoreconf 'change-udev-group (lambda _ (substitute* "contrib/60-openocd.rules" @@ -417,7 +411,8 @@ language.") (install-file "contrib/60-openocd.rules" (string-append (assoc-ref outputs "out") - "/lib/udev/rules.d/"))))))) + "/lib/udev/rules.d/")) + #t))))) (home-page "http://openocd.org") (synopsis "On-Chip Debugger") (description "OpenOCD provides on-chip programming and debugging support diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 438e9df1fc..795595e447 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -117,8 +117,8 @@ ;; Building from recent Git because the official 5.0 release no longer builds. (define-public dolphin-emu - (let ((commit "5f0d825f40b8aabe13eaef32d44ab667ff8e8c28") - (revision "3")) + (let ((commit "2c57e709d0f9e4010a4415de4192de887e37f187") + (revision "5")) (package (name "dolphin-emu") (version (git-version "5.0" revision commit)) @@ -144,7 +144,7 @@ #t)) (sha256 (base32 - "0dh7mih16aif9ynbgcsn7n10f89g8d232i86xqfp2rijsdggcmzl")))) + "0aszfdfvs7yg4bmrd3qxwsiz7hx3mrj29f4aw86bz7h9j7hkh57f")))) (build-system cmake-build-system) (arguments '(#:tests? #f @@ -153,7 +153,8 @@ (add-before 'configure 'fixgcc7 (lambda _ (unsetenv "C_INCLUDE_PATH") - (unsetenv "CPLUS_INCLUDE_PATH"))) + (unsetenv "CPLUS_INCLUDE_PATH") + #t)) (add-before 'configure 'generate-fonts&hardcore-libvulkan-path (lambda* (#:key inputs outputs #:allow-other-keys) (let ((fontfile @@ -195,7 +196,7 @@ ("bluez" ,bluez) ("curl" ,curl) ("eudev" ,eudev) - ("ffmpeg" ,ffmpeg-3.4) + ("ffmpeg" ,ffmpeg) ("font-wqy-microhei" ,font-wqy-microhei) ("freetype" ,freetype) ("glew" ,glew) @@ -1185,7 +1186,7 @@ play them on systems for which they were never designed!") (define-public mame (package (name "mame") - (version "0.202") + (version "0.203") (source (origin (method git-fetch) @@ -1195,7 +1196,7 @@ play them on systems for which they were never designed!") (file-name (git-file-name name version)) (sha256 (base32 - "1v9gm124p65nbj678gfkcvwphp9qc15ky2p12ca6g3rllma94di5")) + "19ccqc00024fbjyk0k5d9xljhwq7wsrp7phwm2jmn0h77mgdj844")) (modules '((guix build utils))) (snippet ;; Remove bundled libraries. diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 0080356494..308501f882 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -717,6 +717,13 @@ language.") "-DBUILD_GITHUB_PLUGIN=OFF") #:phases (modify-phases %standard-phases + (add-after 'unpack 'adjust-boost-include + (lambda _ + ;; The location of this header changed in Boost 1.66. + (substitute* "3d-viewer/3d_cache/3d_cache.cpp" + (("boost/uuid/sha1\\.hpp") + "boost/uuid/detail/sha1.hpp")) + #t)) (add-after 'install 'wrap-program ;; Ensure correct Python at runtime. (lambda* (#:key inputs outputs #:allow-other-keys) @@ -1702,7 +1709,7 @@ parallel computing platforms. It also supports serial execution.") ("gcc-toolchain" ,gcc-toolchain) ("iverilog" ,iverilog) ("libtool" ,libtool) - ("octave" ,octave) + ("octave" ,octave-cli) ("qt4" ,qt-4) ("sed" ,sed))) (home-page "http://qucs.sourceforge.net/") @@ -1832,7 +1839,7 @@ simulations are also supported.") ("libtool" ,libtool) ("mpi" ,openmpi) ("ngspice" ,ngspice) - ("octave" ,octave) + ("octave" ,octave-cli) ("qt4" ,qt-4) ("qucs" ,qucs) ("sed" ,sed) diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index 1a0ebba304..9989e2f5a8 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -58,7 +58,8 @@ #:use-module (gnu packages tls) #:use-module (gnu packages video) #:use-module (gnu packages xdisorg) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xorg) + #:use-module (ice-9 match)) (define-public efl (package @@ -139,12 +140,16 @@ (arguments `(#:configure-flags '("--disable-silent-rules" "--disable-systemd" + "--with-profile=release" "--enable-liblz4" "--enable-xinput22" "--enable-image-loader-webp" "--enable-multisense" - "--with-opengl=es" - "--enable-egl" + ,@(match (%current-system) + ("armhf-linux" + '("--with-opengl=es" "--with-egl")) + (_ + '("--with-opengl=full"))) "--enable-harfbuzz" ;; for wayland "--enable-wayland" @@ -178,7 +183,7 @@ removable devices or support for multimedia.") (define-public terminology (package (name "terminology") - (version "1.2.1") + (version "1.3.0") (source (origin (method url-fetch) (uri @@ -186,10 +191,9 @@ removable devices or support for multimedia.") "terminology/terminology-" version ".tar.xz")) (sha256 (base32 - "1ii8332bl88l8md3gvz5dhi9bjpm6shyf14ck9kfyy7d56hp71mc")) + "07vw28inkimi9avp16j0rqcfqjq16081554qsv29pcqhz18xp59r")) (modules '((guix build utils))) ;; Remove the bundled fonts. - ;; TODO: Remove bundled lz4. (snippet '(begin (delete-file-recursively "data/fonts") @@ -271,7 +275,8 @@ Libraries with some extra bells and whistles.") (let ((xkeyboard (assoc-ref inputs "xkeyboard-config")) (setxkbmap (assoc-ref inputs "setxkbmap")) (utils (assoc-ref inputs "util-linux")) - (libc (assoc-ref inputs "libc"))) + (libc (assoc-ref inputs "libc")) + (efl (assoc-ref inputs "efl"))) ;; We need to patch the path to 'base.lst' to be able ;; to switch the keyboard layout in E. (substitute* (list "src/modules/xkbswitch/e_mod_parse.c" @@ -286,6 +291,9 @@ Libraries with some extra bells and whistles.") "src/modules/conf_intl/e_int_config_intl.c" "src/modules/wizard/page_010.c") (("locale -a") (string-append libc "/bin/locale -a"))) + (substitute* "src/bin/e_import_config_dialog.c" + (("%s/edje_cc -v %s %s %s\", e_prefix_bin_get\\(\\)") + (string-append efl "/bin/edje_cc -v %s %s %s\""))) (substitute* "src/modules/everything/evry_plug_apps.c" (("/usr/bin/") "")) (substitute* "configure" diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index b195019866..93d1561948 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Gábor Boskovits ;;; Copyright © 2017, 2018 Ricardo Wurmus +;;; Copyright © 2018 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,6 +24,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix utils) #:use-module (gnu packages) @@ -107,7 +109,7 @@ single file can be mounted.") (define-public disorderfs (package (name "disorderfs") - (version "0.5.4") + (version "0.5.5") (source (origin (method git-fetch) @@ -117,7 +119,7 @@ single file can be mounted.") (file-name (git-file-name name version)) (sha256 (base32 - "1mw4ix9h17ikki8p2rxdvzp87rcm1c7by5lvfn5gxlxr7hlj9f8g")))) + "18c32qcdzbxrzg7srnqnw1ls9yqqxyk9b996yxr6w2znw6x6n8v4")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -126,7 +128,7 @@ single file can be mounted.") ("attr" ,attr))) (arguments `(#:phases (modify-phases %standard-phases - (delete 'configure)) + (delete 'configure)) ; no configure script #:make-flags (let ((out (assoc-ref %outputs "out"))) (list (string-append "PREFIX=" out))) #:test-target "test" @@ -245,3 +247,50 @@ All of this is accomplished without a centralized metadata server.") (description "This is a file system client based on the FTP File Transfer Protocol.") (license license:gpl2+))) + +(define-public apfs-fuse + (let ((commit "c7036a3030d128bcecefc1eabc47c039ccfdcec9") + (revision "0")) + (package + (name "apfs-fuse") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sgan81/apfs-fuse") + (recursive? #t) ; for lzfse + (commit commit))) + (sha256 + (base32 + "1akd4cx1f9cyq6sfk9ybv4chhjwjlnqi8ic4z5ajnd5x0g76nz3r")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; No test suite + #:phases + (modify-phases %standard-phases + ;; No 'install' target in CMakeLists.txt + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (lib (string-append out "/lib")) + (doc (string-append out "/share/doc/" + (string-append ,name "-" ,version)))) + (install-file "apfs-dump" bin) + (install-file "apfs-dump-quick" bin) + (install-file "apfs-fuse" bin) + (install-file "libapfs.a" lib) + (install-file "../source/LICENSE" doc) + #t)))))) + (inputs + `(("bzip2" ,bzip2) + ("fuse" ,fuse) + ("zlib" ,zlib))) + (synopsis "Read-only FUSE driver for the APFS filesystem") + (description "APFS-FUSE is a read-only FUSE driver for the @dfn{Apple File +System} (APFS). It is currently in an experimental state — it may not be able +to read all files, and it does not support all the compression methods in +APFS.") + (home-page "https://github.com/sgan81/apfs-fuse") + (license license:gpl2+)))) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 28bfb28f49..7d7c3ab111 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -165,6 +165,13 @@ line client and a client based on Qt.") #:make-flags (list "ARGS=-E BaselineTest_cmd-org") #:phases (modify-phases %standard-phases + (add-after 'unpack 'boost-compat + (lambda _ + (substitute* "src/utils.h" + ;; This library moved in Boost 1.66. Remove for Ledger + ;; versions > 3.1.1. + (("boost/uuid/sha1.hpp") "boost/uuid/detail/sha1.hpp")) + #t)) (add-before 'configure 'install-examples (lambda* (#:key outputs #:allow-other-keys) (let ((examples (string-append (assoc-ref outputs "out") @@ -840,7 +847,7 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ") (define-public python-duniterpy (package (name "python-duniterpy") - (version "0.43.7") + (version "0.50.0") (source (origin (method git-fetch) @@ -851,10 +858,14 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ") (file-name (git-file-name name version)) (sha256 (base32 - "19m36z98361bqxjdb65597j2kxbly491927c6p9z47s1vxc3raaq")))) + "0f24ihglmzphy30pgc49w0rxmsjc76mgcggg078cfsz7xrrk13gf")))) (build-system python-build-system) + (arguments + ;; Tests fail with "AttributeError: module 'attr' has no attribute 's'". + `(#:tests? #f)) (propagated-inputs `(("python-aiohttp" ,python-aiohttp) + ("python-attr" ,python-attr) ("python-base58" ,python-base58) ("python-jsonschema" ,python-jsonschema) ("python-libnacl" ,python-libnacl) @@ -875,7 +886,7 @@ main features are: (define-public silkaj (package (name "silkaj") - (version "0.5.0") + (version "0.6.0") (source (origin (method git-fetch) @@ -885,30 +896,10 @@ main features are: (file-name (git-file-name name version)) (sha256 (base32 - "0xy25lpgz04nxikjvxlnlckrc9xmsxyiz2qm0bsiid8cnbdqcn12")))) + "02n028rz1pshgh7w0af3b291r8lwvhzskm1q98d991gr8rscvad2")))) (build-system python-build-system) (arguments - `(#:tests? #f ;no test - #:phases - (modify-phases %standard-phases - ;; The program is just a bunch of Python files in "src/" directory. - ;; Many phases are useless. However, `python-build-system' correctly - ;; sets PYTHONPATH and patches Python scripts. - (delete 'configure) - (delete 'build) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share/silkaj")) - (executable (string-append share "/silkaj.py")) - (bin (string-append out "/bin"))) - ;; Install data. - (copy-recursively "src" share) - ;; Install executable. - (mkdir-p bin) - (with-directory-excursion bin - (symlink executable "silkaj"))) - #t))))) + `(#:tests? #f)) ;no test (inputs `(("python-commandlines" ,python-commandlines) ("python-ipaddress" ,python-ipaddress) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 0b5a82e9e5..c396cd644f 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -446,25 +446,26 @@ such as: (license (list license:bsd-3 license:bsd-2)))) ; libfdt -(define-public arm-trusted-firmware-pine64-plus - (let ((base (make-arm-trusted-firmware "sun50iw1p1")) - ;; Vendor's arm trusted firmware branch hasn't been upstreamed yet. - (commit "ae78724247a01560164d607ed66db111c74d8df0") +(define-public arm-trusted-firmware-sun50i-a64 + (let ((base (make-arm-trusted-firmware "sun50i_a64")) + ;; Use unreleased version which enables additional features needed for + ;; LCD support + (commit "cabe0a31801e99e7abb84d2114ded6bb56f3c71e") (revision "1")) (package (inherit base) - (name "arm-trusted-firmware-pine64-plus") - (version (string-append "1.2-" revision "." (string-take commit 7))) + (name "arm-trusted-firmware-sun50i-a64") + (version (git-version "2.0" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/apritzel/arm-trusted-firmware.git") + (url "https://github.com/ARM-software/arm-trusted-firmware.git") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 - "0r4xnlq7v9khjfcg6gqp7nmrmnw4z1r8bipwdr07png1dcbb8214"))))))) + "0srw2zj3vn5d2fwzjpwa5h70d5bwvb79jnpdvmd395npv0gxshdz"))))))) (define-public arm-trusted-firmware-puma-rk3399 (let ((base (make-arm-trusted-firmware "rk3399")) diff --git a/gnu/packages/fltk.scm b/gnu/packages/fltk.scm index a3c088c2e8..972506c8c5 100644 --- a/gnu/packages/fltk.scm +++ b/gnu/packages/fltk.scm @@ -115,6 +115,12 @@ UI builder called FLUID that can be used to create applications in minutes.") #:configure-flags '("--enable-gl") #:phases (modify-phases %standard-phases + (add-before 'configure 'setup-waf + (lambda* (#:key inputs #:allow-other-keys) + (let ((waf (assoc-ref inputs "waf"))) + (delete-file "waf") + (copy-file (string-append waf "/bin/waf") "waf")) + #t)) (add-before 'configure 'set-ldflags (lambda* (#:key outputs #:allow-other-keys) (setenv "LDFLAGS" @@ -123,7 +129,8 @@ UI builder called FLUID that can be used to create applications in minutes.") #t))))) (inputs `(("libjpeg" ,libjpeg) - ("glu" ,glu))) + ("glu" ,glu) + ("waf" ,python-waf))) ;; ntk.pc lists "x11" and "xft" in Requires.private, and "cairo" in ;; Requires. (propagated-inputs diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 1195695d7a..b0cb78c5cb 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -99,13 +99,14 @@ in print. With attention to detail for high resolution rendering.") (name "font-ubuntu") (version "0.83") (source (origin - (method url-fetch) - (uri (string-append - "http://font.ubuntu.com/download/ubuntu-font-family-" - version ".zip")) + (method git-fetch) + (uri (git-reference + (url "https://salsa.debian.org/fonts-team/fonts-ubuntu") + (commit (string-append "upstream/" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0hjvq2x758dx0sfwqhzflns0ns035qm7h6ygskbx1svzg517sva5")))) + "1d2xrjpxy70f3nsgqiggwv6pj06qglf5vj2847pqx60w3ygi903g")))) (build-system font-build-system) (home-page "http://font.ubuntu.com/") (synopsis "The Ubuntu Font Family") @@ -621,7 +622,7 @@ languages, plus Greek and Cyrillic.") (define-public font-gnu-unifont (package (name "font-gnu-unifont") - (version "11.0.02") + (version "11.0.03") (source (origin (method url-fetch) (uri (string-append @@ -629,16 +630,14 @@ languages, plus Greek and Cyrillic.") version ".tar.gz")) (sha256 (base32 - "1di8i44c163b9l5f08jcrjfijnqz0j7p7hpfvf8dcms6cm6s4wvy")))) + "171zhm52c4rzpn19qcq4n9nyfbcjl38v50zslhvgpjdcmc5jvhav")))) (build-system gnu-build-system) - (outputs '("out" ; TrueType version - "pcf" ; PCF (bitmap) version - "psf" ; PSF (console) version - "bin" ; Utilities to manipulate '.hex' format - )) + (outputs '("out" ; TrueType version + "pcf" ; PCF (bitmap) version + "psf" ; PSF (console) version + "bin")) ; Utilities to manipulate '.hex' format (arguments - '(#:parallel-build? #f ; parallel build fails - #:tests? #f ; no check target + '(#:tests? #f ; no check target #:phases (modify-phases %standard-phases (replace diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index c9454aa324..9ab2e35255 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -121,14 +121,15 @@ For synthesis, the compiler generates netlists in the desired format.") (name "yosys") (version "0.7") (source (origin - (method url-fetch) - (uri - (string-append "https://github.com/cliffordwolf/yosys/archive/" - name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/cliffordwolf/yosys.git") + (commit (string-append "yosys-" version)) + (recursive? #t))) ; for the ‘iverilog’ submodule (sha256 (base32 - "0vkfdn4phvkjqlnpqlr6q5f97bgjc3312vj5jf0vf85zqv88dy9x")) - (file-name (string-append name "-" version "-checkout.tar.gz")) + "1ssrpgw0j9qlm52g1hsbb9fsww4vnwi0l7zvvky7a8w7wamddky0")) + (file-name (git-file-name name version)) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 8853ce1ceb..8982c0ec35 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2017 Brendan Tildesley ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Pierre Neidhardt +;;; Copyright © 2018 Stefan Stefanović ;;; ;;; This file is part of GNU Guix. ;;; @@ -67,16 +68,14 @@ #:use-module (gnu packages m4) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) - #:use-module (gnu packages polkit) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages perl) - #:use-module (gnu packages perl-check) + #:use-module (gnu packages polkit) #:use-module (gnu packages python) #:use-module (gnu packages valgrind) #:use-module (gnu packages w3m) #:use-module (gnu packages web) - #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (srfi srfi-1)) @@ -229,109 +228,69 @@ the freedesktop.org XDG Base Directory specification.") (define-public elogind (package (name "elogind") - (version "232.4") + (version "239.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/elogind/elogind/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/elogind/elogind") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1qcxian48z2dj5gfmp7brrngdydqf2jm00f4rjr5sy1myh8fy931")) - (patches (search-patches "elogind-glibc-2.27.patch")) - (modules '((guix build utils))) - (snippet - '(begin - (use-modules (guix build utils)) - (substitute* "Makefile.am" - ;; Avoid validation against DTD because the DTDs for - ;; both doctype 4.2 and 4.5 are needed. - (("XSLTPROC_FLAGS = ") "XSLTPROC_FLAGS = --novalid")) - #t)))) - (build-system gnu-build-system) + "1gipnbnlz5k3gxv33wyhi2zd94hlfa9lm360p8z6w5i9s8dzhf52")))) + (build-system meson-build-system) (arguments - `(#:tests? #f ;FIXME: "make check" in the "po" directory fails. - #:configure-flags - (list (string-append "--with-udevrulesdir=" - (assoc-ref %outputs "out") - "/lib/udev/rules.d") - - ;; Let elogind be its own cgroup controller, rather than relying - ;; on systemd or OpenRC. By default, 'configure' makes an - ;; incorrect guess. - "--with-cgroup-controller=elogind" - - (string-append "--with-rootprefix=" - (assoc-ref %outputs "out")) - (string-append "--with-rootlibexecdir=" - (assoc-ref %outputs "out") - "/libexec/elogind") - ;; These are needed to ensure that lto linking works. - "RANLIB=gcc-ranlib" - "AR=gcc-ar" - "NM=gcc-nm") - #:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent") + `(#:configure-flags + (let* ((out (assoc-ref %outputs "out")) + (sysconf (string-append out "/etc")) + (libexec (string-append out "/libexec/elogind")) + (dbuspolicy (string-append out "/etc/dbus-1/system.d")) + (shepherd (assoc-ref %build-inputs "shepherd")) + (halt-path (string-append shepherd "/sbin/halt")) + (kexec-path "") ;not available in Guix yet + (poweroff-path (string-append shepherd "/sbin/shutdown")) + (reboot-path (string-append shepherd "/sbin/reboot"))) + (list + (string-append "-Drootprefix=" out) + (string-append "-Dsysconfdir=" sysconf) + (string-append "-Drootlibexecdir=" libexec) + (string-append "-Ddbuspolicydir=" dbuspolicy) + (string-append "-Dc_link_args=-Wl,-rpath=" libexec) + (string-append "-Dcpp_link_args=-Wl,-rpath=" libexec) + (string-append "-Dhalt-path=" halt-path) + (string-append "-Dkexec-path=" kexec-path) + (string-append "-Dpoweroff-path=" poweroff-path) + (string-append "-Dreboot-path=" reboot-path) + "-Dcgroup-controller=elogind" + ;; Disable some tests. + "-Dtests=false" + "-Dslow-tests=false")) #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-locale-header + (add-after 'unpack 'fix-pkttyagent-path (lambda _ - ;; Fix compilation with glibc >= 2.26, which removed xlocale.h. - ;; This can be removed for elogind 234. - (substitute* "src/basic/parse-util.c" - (("xlocale\\.h") "locale.h")) + (substitute* "meson.build" + (("join_paths\\(bindir, 'pkttyagent'\\)") + "'\"/run/current-system/profile/bin/pkttyagent\"'")) #t)) - (replace 'bootstrap + (add-after 'unpack 'change-pid-file-path (lambda _ - (invoke "intltoolize" "--force" "--automake") - (invoke "autoreconf" "-vif"))) - (add-before 'build 'fix-service-file - (lambda* (#:key outputs #:allow-other-keys) - ;; Fix the file name of the 'elogind' binary in the D-Bus - ;; '.service' file. - (substitute* "src/login/org.freedesktop.login1.service" - (("^Exec=.*") - (string-append "Exec=" (assoc-ref %outputs "out") - "/libexec/elogind/elogind\n"))) - #t)) - (add-after 'install 'add-libcap-to-search-path - (lambda* (#:key inputs outputs #:allow-other-keys) - ;; Add a missing '-L' for libcap in libelogind.la. See - ;; . - (let ((libcap (assoc-ref inputs "libcap")) - (out (assoc-ref outputs "out"))) - (substitute* (string-append out "/lib/libelogind.la") - (("-lcap") - (string-append "-L" libcap "/lib -lcap"))) - #t))) - (add-after 'unpack 'remove-uaccess-tag - (lambda _ - ;; systemd supports a "uaccess" built-in tag, but eudev currently - ;; doesn't. This leads to eudev warnings that we'd rather not - ;; see, so remove the reference to "uaccess." - (substitute* "src/login/73-seat-late.rules.in" - (("^TAG==\"uaccess\".*" line) - (string-append "# " line "\n"))) + (substitute* "src/login/elogind.c" + (("\"/run/elogind.pid\"") "\"/run/systemd/elogind.pid\"")) #t))))) (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) - ("intltool" ,intltool) - ("gettext" ,gettext-minimal) - ("python" ,python) + `(("docbook-xml" ,docbook-xml) + ("docbook-xml-4.2" ,docbook-xml-4.2) ("docbook-xsl" ,docbook-xsl) - ("docbook-xml" ,docbook-xml) - ("xsltproc" ,libxslt) - ("m4" ,m4) + ("gettext" ,gettext-minimal) + ("gperf" ,gperf) ("libxml2" ,libxml2) ;for XML_CATALOG_FILES + ("m4" ,m4) ("pkg-config" ,pkg-config) - - ;; Use gperf 3.0 to work around - ;; . - ("gperf" ,gperf-3.0))) + ("python" ,python) + ("xsltproc" ,libxslt))) (inputs `(("linux-pam" ,linux-pam) - ("linux-libre-headers" ,linux-libre-headers) ("libcap" ,libcap) ("shepherd" ,shepherd) ;for 'halt' and 'reboot', invoked ;when pressing the power button diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm index b9c6d209b8..dd8af33972 100644 --- a/gnu/packages/ftp.scm +++ b/gnu/packages/ftp.scm @@ -170,7 +170,7 @@ as required.") (define-public libfilezilla (package (name "libfilezilla") - (version "0.14.0") + (version "0.15.1") (source (origin (method url-fetch) @@ -178,11 +178,13 @@ as required.") name "/" name "-" version ".tar.bz2")) (sha256 (base32 - "15cfz98asypf9rfybv4c6kx8nk3wak7qlm1azldc0gd1nqm4xqvz")))) + "17zlhw5b1a7jzh50cbpy2is3sps5lnzch5yf9qm7mwrviw9c8j10")))) (build-system gnu-build-system) (native-inputs `(("cppunit" ,cppunit) ("pkg-config" ,pkg-config))) + (inputs + `(("nettle" ,nettle))) (home-page "https://lib.filezilla-project.org") (synopsis "Cross-platform C++ library used by Filezilla client") (description @@ -207,14 +209,14 @@ output. (define-public filezilla (package (name "filezilla") - (version "3.37.4") + (version "3.39.0") (source (origin (method url-fetch) (uri (string-append "https://download.filezilla-project.org/client/" "FileZilla_" version "_src.tar.bz2")) (sha256 - (base32 "169wy7ilsh518mcinkjmr6m0kzxbzchmc9mivf5c9b4zp1w4gg3i")))) + (base32 "0ks42q6mi3qx85zpa98izkyficv2bdh3jnvmy97xjnjyfy9mwlgv")))) (build-system gnu-build-system) (arguments ;; Don't let filezilla phone home to check for updates. diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 6b7e71f6c0..34a015bdf7 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -397,15 +397,16 @@ support.") (define-public tiled (package (name "tiled") - (version "1.2.0") + (version "1.2.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/bjorn/tiled/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/bjorn/tiled.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "13dlf5kzvhhjkhy19118x3diakmraz4m9kxrsdam8dms6xivb6lp")))) + "1dl06k2p0r7l20ghxcq5sn7j0jl2l8q4m27vmfs2qfgvldjll2h3")))) (build-system gnu-build-system) (inputs `(("qtbase" ,qtbase) @@ -440,18 +441,19 @@ clone.") (define-public sfml (package (name "sfml") - (version "2.5.0") + (version "2.5.1") (source (origin - (method url-fetch) + (method git-fetch) ;; Do not fetch the archives from ;; http://mirror0.sfml-dev.org/files/ because files there seem ;; to be changed in place. - (uri (string-append "https://github.com/SFML/SFML/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (git-reference + (url "https://github.com/SFML/SFML.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1x3yvhdrln5b6h4g5r4mds76gq8zsxw6icxqpwqkmxsqcq5yviab")) + "0abr8ri2ssfy9ylpgjrr43m6rhrjy03wbj9bn509zqymifvq5pay")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index bb96bbe68a..7f84e447bb 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013 John Darrington ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2014, 2016 David Thompson -;;; Copyright © 2014, 2015, 2016, 2017 Eric Bavier +;;; Copyright © 2014, 2015, 2016, 2017, 2018 Eric Bavier ;;; Copyright © 2014 Cyrill Schenkel ;;; Copyright © 2014 Sylvain Beucler ;;; Copyright © 2014, 2015, 2018 Ludovic Courtès @@ -35,6 +35,7 @@ ;;; Copyright © 2018 Tim Gesthuizen ;;; Copyright © 2018 Madalin Ionel-Patrascu ;;; Copyright © 2018 Benjamin Slade +;;; Copyright © 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -572,7 +573,7 @@ automata. The following features are available: (define-public meandmyshadow (package (name "meandmyshadow") - (version "0.4.1") + (version "0.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/meandmyshadow/" @@ -580,38 +581,24 @@ automata. The following features are available: "-src.tar.gz")) (sha256 (base32 - "0wl5dc75qy001s6043cx0vr2l5y2qfv1cldqnwill9sfygqj9p95")))) + "1b6qf83vdfv8jwn2jq9ywmda2qn2f5914i7mwfy04m17wx593m3m")) + (patches (search-patches + ;; This will not be needed in the next release. + "meandmyshadow-define-paths-earlier.patch")))) (build-system cmake-build-system) (arguments - '(#:tests? #f ; there are no tests - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'set-sdl'paths - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "cmake/Modules/FindSDL_gfx.cmake" - (("/usr/local/include/SDL") - (string-append (assoc-ref inputs "sdl") - "/include/SDL"))) - ;; Because SDL provides lib/libX11.so.6 we need to explicitly - ;; link with libX11, even though we're using the GL backend. - (substitute* "CMakeLists.txt" - (("\\$\\{X11_LIBRARIES\\}") "-lX11")) - #t))))) + `(#:tests? #f)) ; there are no tests (native-inputs `(("pkg-config" ,pkg-config))) (inputs - `(("sdl" ,(sdl-union (list sdl - sdl-image - sdl-gfx - sdl-mixer - sdl-ttf))) - ("libx11" ,libx11) ; needed by sdl's libX11 + `(("curl" ,curl) ("libarchive" ,libarchive) - ("openssl" ,openssl) - ("mesa" ,mesa) - ("glu" ,glu) - ("curl" ,curl))) - (home-page "http://meandmyshadow.sourceforge.net/") + ("lua" ,lua) + ("sdl" ,(sdl-union (list sdl2 + sdl2-image + sdl2-mixer + sdl2-ttf))))) + (home-page "https://acmepjz.github.io/meandmyshadow/") (synopsis "Puzzle/platform game") (description "Me and My Shadow is a puzzle/platform game in which you try to reach the exit by solving puzzles. Spikes, moving blocks, fragile blocks @@ -3272,7 +3259,7 @@ safety of the Chromium vessel.") (define-public tuxpaint (package (name "tuxpaint") - (version "0.9.22") ;keep VER_DATE below in sync + (version "0.9.23") ;keep VER_DATE below in sync (source (origin (method url-fetch) @@ -3280,7 +3267,7 @@ safety of the Chromium vessel.") version "/tuxpaint-" version ".tar.gz")) (sha256 (base32 - "1qrbrdck9yxpcg3si6jb9i11w8lw9h4hqad0pfaxgyiniqpr7gca")) + "09k9pxi88r3dx6dyjwf9h85d4qpva4i29qz63dc558hg9v21k69l")) (modules '((guix build utils))) (snippet '(begin @@ -3308,16 +3295,22 @@ safety of the Chromium vessel.") ("sdl" ,(sdl-union (list sdl sdl-mixer sdl-ttf sdl-image))))) ;; TODO: Use system fonts rather than those in data/fonts (arguments - `(#:make-flags `("VER_DATE=2014-08-23" + `(#:make-flags `("VER_DATE=2018-09-02" "GPERF=gperf" "CC=gcc" "SDL_PCNAME=sdl SDL_image SDL_mixer SDL_ttf" ,(string-append "PREFIX=" %output) - "GNOME_PREFIX=$(PREFIX)" + "KDE_PREFIX=$(PREFIX)/share/applications" + "KDE_ICON_PREFIX=$(PREFIX)/share/icons/" "COMPLETIONDIR=$(PREFIX)/etc/bash_completion.d") #:parallel-build? #f ;fails on some systems #:tests? #f ;No tests #:phases (modify-phases %standard-phases (delete 'configure) ;no configure phase + (add-before 'install 'no-sys-cache + (lambda _ ;do not rebuild system conf cache + (substitute* "Makefile" + (("kbuildsycoca4") "")) + #t)) (add-after 'install 'fix-import (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -3349,7 +3342,7 @@ your child be creative.") (define-public tuxpaint-stamps (package (name "tuxpaint-stamps") - (version "2014.08.23") + (version "2018.09.01") (source (origin (method url-fetch) @@ -3358,7 +3351,7 @@ your child be creative.") "/tuxpaint-stamps-" version ".tar.gz")) (sha256 (base32 - "0rhlwrjz44wp269v3rid4p8pi0i615pzifm1ym6va64gn1bms06q")))) + "1skr23k27yj3vgwfazpzxp90lb2a278gxrkr3bxw7az6zpkmb3yp")))) (build-system trivial-build-system) (native-inputs `(("tar" ,tar) @@ -3387,7 +3380,7 @@ with the \"Stamp\" tool within Tux Paint.") (define-public tuxpaint-config (package (name "tuxpaint-config") - (version "0.0.13") ;keep VER_DATE below in sync + (version "0.0.14") ;keep VER_DATE below in sync (source (origin (method url-fetch) @@ -3395,7 +3388,7 @@ with the \"Stamp\" tool within Tux Paint.") version "/tuxpaint-config-" version ".tar.gz")) (sha256 (base32 - "1z12s46mvy87qs3vgq9m0ki9pp21zqc52mmgphahpihw3s7haf6v")))) + "0zkgxk436nqcp43zghkfmh397c7dvh5bwn2as7gwvv208bzyij6g")))) (build-system gnu-build-system) (native-inputs `(("gettext" ,gettext-minimal))) @@ -3407,7 +3400,7 @@ with the \"Stamp\" tool within Tux Paint.") ("libxft" ,libxft) ("mesa" ,mesa))) (arguments - `(#:make-flags `("VER_DATE=2014-08-23" + `(#:make-flags `("VER_DATE=2018-09-01" "CONFDIR=/etc/tuxpaint" ;don't write to store ,(string-append "PREFIX=" %output) "GNOME_PREFIX=$(PREFIX)") @@ -3658,18 +3651,18 @@ throwing people around in pseudo-randomly generated buildings.") (define-public hyperrogue (package (name "hyperrogue") - (version "10.4t") + (version "10.5") ;; When updating this package, be sure to update the "hyperrogue-data" ;; origin in native-inputs. (source (origin (method url-fetch) (uri (string-append - "http://www.roguetemple.com/z/hyper/" + "https://www.roguetemple.com/z/hyper/" name (string-join (string-split version #\.) "") "-src.tgz")) (sha256 (base32 - "0phqhmnzmc16a23qb4fkil0flzb86kibdckf1r35nc3l0k4193nn")))) + "04wk50f51xrb9vszwil4ivkfpy7xc6nw3gnp90hbna2zqi2jnvb8")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target @@ -3741,12 +3734,12 @@ throwing people around in pseudo-randomly generated buildings.") (method url-fetch) (uri (string-append - "http://www.roguetemple.com/z/hyper/" name + "https://www.roguetemple.com/z/hyper/" name (string-join (string-split version #\.) "") "-win.zip")) (sha256 (base32 - "1xd9v8zzgi8m5ar8g4gy1xx5zqwidz3gn1knz0lwib3kbxx4drpg")))) + "0r6xvnr7b56iv27n8z10qmxhsz5h7w6ayhxkz3xinlvch84bk708")))) ("unzip" ,unzip))) (inputs `(("font-dejavu" ,font-dejavu) @@ -3756,7 +3749,7 @@ throwing people around in pseudo-randomly generated buildings.") sdl-gfx sdl-mixer sdl-ttf))))) - (home-page "http://www.roguetemple.com/z/hyper/") + (home-page "https://www.roguetemple.com/z/hyper/") (synopsis "Non-euclidean graphical rogue-like game") (description "HyperRogue is a game in which the player collects treasures and fights @@ -4018,7 +4011,7 @@ emerges from a sewer hole and pulls her below ground.") (define-public cdogs-sdl (package (name "cdogs-sdl") - (version "0.6.7") + (version "0.6.8") (source (origin (method git-fetch) (uri (git-reference @@ -4027,7 +4020,7 @@ emerges from a sewer hole and pulls her below ground.") (file-name (git-file-name name version)) (sha256 (base32 - "1frafzsj3f83xkmn4llr7g728c82lcqi424ini1hv3gv5zjgpa15")))) + "1v0adxm4xsix6r6j9hs7vmss7pxrb37azwfazr54p1dmfz4s6rp8")))) (build-system cmake-build-system) (arguments `(#:configure-flags @@ -4153,31 +4146,54 @@ small robot living in the nano world, repair its maker.") (define-public teeworlds (package (name "teeworlds") - (version "0.6.4") + (version "0.7.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/teeworlds/teeworlds/" - "archive/" version "-release.tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + ;; do not use auto-generated tarballs + (method git-fetch) + (uri (git-reference + (url "https://github.com/teeworlds/teeworlds.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1mqhp6xjl75l49050cid36wxyjn1qr0vjx1c709dfg1lkvmgs6l3")) - (modules '((guix build utils))) - (snippet - '(begin - (for-each delete-file-recursively - '("src/engine/external/wavpack/" - "src/engine/external/zlib/")) + "0jigg2yikihbivzs7hpljr0mghx1l9v4f1cdr8fbmqv2wb51ah8q")) + (modules '((guix build utils) + (ice-9 ftw) + (ice-9 regex) + (srfi srfi-1) + (srfi srfi-26))) + (snippet ; remove bundled libraries except md5 + '(let ((base-dir "src/engine/external/")) + (for-each (compose (cut delete-file-recursively <>) + (cut string-append base-dir <>)) + (remove (cut string-match "(^.)|(^md5$)" <>) + (scandir base-dir))) #t)) (patches (search-patches "teeworlds-use-latest-wavpack.patch")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests included + #:modules ((guix build gnu-build-system) + (guix build utils) + (srfi srfi-26)) #:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) + ;; The bundled json-parser uses an old API. + ;; To use the latest non-bundled version, we need to pass the + ;; length of the data in all 'json_parse_ex' calls. + (define (use-latest-json-parser file) + (substitute* file + (("engine/external/json-parser/json\\.h") + "json-parser/json.h") + (("json_parse_ex\\(&JsonSettings, pFileData, aError\\);") + "json_parse_ex(&JsonSettings, + pFileData, + strlen(pFileData), + aError);"))) + ;; Embed path to assets. (substitute* "src/engine/shared/storage.cpp" (("#define DATA_DIR.*") @@ -4187,50 +4203,68 @@ small robot living in the nano world, repair its maker.") "\""))) ;; Bam expects all files to have a recent time stamp. - (for-each (lambda (file) - (utime file 1 1)) + (for-each (cut utime <> 1 1) (find-files ".")) ;; Do not use bundled libraries. (substitute* "bam.lua" - (("if config.zlib.value == 1 then") - "if true then") - (("wavpack = .*") - "wavpack = {} -settings.link.libs:Add(\"wavpack\")\n")) + (("local json = Compile.+$") + "local json = nil +settings.link.libs:Add(\"jsonparser\")") + (("local png = Compile.+$") + "local png = nil +settings.link.libs:Add(\"pnglite\")") + (("local wavpack = Compile.+$") + "local wavpack = nil +settings.link.libs:Add(\"wavpack\")") + (("if config\\.zlib\\.value == 1") + "if config.zlib.value")) + (substitute* "src/engine/client/graphics_threaded.cpp" + (("engine/external/pnglite/pnglite\\.h") + "pnglite.h")) (substitute* "src/engine/client/sound.cpp" - (("#include ") - "#include ")) + (("engine/external/wavpack/wavpack\\.h") + "wavpack/wavpack.h")) + (for-each use-latest-json-parser + '("src/game/client/components/countryflags.cpp" + "src/game/client/components/menus_settings.cpp" + "src/game/client/components/skins.cpp" + "src/game/client/localization.cpp" + "src/game/editor/auto_map.h" + "src/game/editor/editor.cpp")) #t)) (replace 'build (lambda _ - (zero? (system* "bam" "-a" "-v" "release")))) + (invoke "bam" "-a" "-v" "conf=release"))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (data (string-append out "/share/teeworlds/data"))) - (mkdir-p bin) - (mkdir-p data) - (for-each (lambda (file) - (install-file file bin)) - '("teeworlds" "teeworlds_srv")) - (copy-recursively "data" data) + (let* ((arch ,(system->linux-architecture + (or (%current-target-system) + (%current-system)))) + (build (string-append "build/" arch "/release/")) + (data-built (string-append build "data/")) + (out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (data (string-append out "/share/teeworlds/data/"))) + (for-each (cut install-file <> bin) + (map (cut string-append build <>) + '("teeworlds" "teeworlds_srv"))) + (copy-recursively data-built data) #t)))))) - ;; FIXME: teeworlds bundles the sources of "pnglite", a two-file PNG - ;; library without a build system. (inputs `(("freetype" ,freetype) ("glu" ,glu) + ("json-parser" ,json-parser) ("mesa" ,mesa) - ("sdl-union" ,(sdl-union (list sdl - sdl-mixer - sdl-image))) + ("pnglite" ,pnglite) + ("sdl2" ,sdl2) + ("sdl2-image" ,sdl2-image) + ("sdl2-mixer" ,sdl2-mixer) ("wavpack" ,wavpack) ("zlib" ,zlib))) (native-inputs `(("bam" ,bam) - ("python" ,python-2) + ("python" ,python-wrapper) ("pkg-config" ,pkg-config))) (home-page "https://www.teeworlds.com") (synopsis "2D retro multiplayer shooter game") @@ -5553,7 +5587,8 @@ quotation from a collection of quotes.") Comment=Xonotic glx~@ Exec=~a/bin/xonotic-glx~@ TryExec=~@*~a/bin/xonotic-glx~@ - Icon=~@ + Icon=xonotic~@ + Categories=Game~@ Type=Application~%" output))) (with-output-to-file @@ -5565,7 +5600,8 @@ quotation from a collection of quotes.") Comment=Xonotic sdl~@ Exec=~a/bin/xonotic-sdl~@ TryExec=~@*~a/bin/xonotic-sdl~@ - Icon=~@ + Icon=xonotic~@ + Categories=Game~@ Type=Application~%" output))) (with-output-to-file @@ -5577,7 +5613,8 @@ quotation from a collection of quotes.") Comment=Xonotic~@ Exec=~a/bin/xonotic-glx~@ TryExec=~@*~a/bin/xonotic~@ - Icon=~@ + Icon=xonotic~@ + Categories=Game~@ Type=Application~%" output))) #t))) @@ -5617,8 +5654,8 @@ quotation from a collection of quotes.") (lambda* (#:key outputs inputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (data (assoc-ref inputs "xonotic-data"))) - (copy-recursively (string-append data "/share/xonotic") - (string-append out "/share/xonotic")) + (symlink (string-append data "/share/xonotic") + (string-append out "/share/xonotic")) #t))) (add-after 'install-binaries 'wrap-binaries (lambda* (#:key outputs inputs #:allow-other-keys) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 8207104174..1f1e80dde8 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -461,34 +461,18 @@ Go. It also includes runtime support libraries for these languages.") (define-public gcc-6 (package (inherit gcc-5) - (version "6.4.0") + (version "6.5.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gcc/gcc-" version "/gcc-" version ".tar.xz")) (sha256 (base32 - "1m0lr7938lw5d773dkvwld90hjlcq2282517d1gwvrfzmwgg42w5")) - (patches (search-patches "gcc-libsanitizer-fix.patch" - "gcc-libsanitizer-ustat.patch" - "gcc-strmov-store-file-names.patch" + "0i89fksfp6wr1xg9l8296aslcymv2idn60ip31wr9s4pwin7kwby")) + (patches (search-patches "gcc-strmov-store-file-names.patch" "gcc-6-source-date-epoch-1.patch" "gcc-6-source-date-epoch-2.patch" - "gcc-5.0-libvtv-runpath.patch")) - (modules '((guix build utils))) - ;; This is required for building with glibc-2.26. - ;; This can be removed when gcc-6.5.0 is released. - ;; https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 - (snippet - '(begin - (for-each - (lambda (dir) - (substitute* (string-append "libgcc/config/" - dir "/linux-unwind.h") - (("struct ucontext") "ucontext_t"))) - '("aarch64" "alpha" "bfin" "i386" "m68k" "nios2" - "pa" "sh" "tilepro" "xtensa")) - #t)))) + "gcc-5.0-libvtv-runpath.patch")))) (inputs `(("isl" ,isl) ,@(package-inputs gcc-4.7))) @@ -506,16 +490,15 @@ Go. It also includes runtime support libraries for these languages.") (define-public gcc-7 (package (inherit gcc-6) - (version "7.3.0") + (version "7.4.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gcc/gcc-" version "/gcc-" version ".tar.xz")) (sha256 (base32 - "0p71bij6bfhzyrs8676a8jmpjsfz392s2rg862sdnsk30jpacb43")) + "0lgy170b0pp60j9cczqkmaqyjjb584vfamj4c30swd7k0j6y5pgd")) (patches (search-patches "gcc-strmov-store-file-names.patch" - "gcc-libsanitizer-ustat.patch" "gcc-5.0-libvtv-runpath.patch")))) (description "GCC is the GNU Compiler Collection. It provides compiler front-ends diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm index 1fe69577fd..a53a4f2c2f 100644 --- a/gnu/packages/gd.scm +++ b/gnu/packages/gd.scm @@ -142,7 +142,7 @@ you can create PNG images on the fly or modify existing files.") '(#:phases (modify-phases %standard-phases (add-after 'unpack 'set-env - (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1")))))) + (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t))))) (native-inputs `(("perl-module-build" ,perl-module-build))) (propagated-inputs diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 4481e21ddf..fa2b259d7c 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -549,14 +549,14 @@ coordinates.") (define-public r-rgooglemaps (package (name "r-rgooglemaps") - (version "1.4.2") + (version "1.4.3") (source (origin (method url-fetch) (uri (cran-uri "RgoogleMaps" version)) (sha256 (base32 - "112mdm53qx92n2m4ms02sbppckp44l1z19vy99j6gw3jrdprjydl")))) + "06ab3lg1rwm93hkshf1vxfm8mlxq5qsjan0wx43lhnrysay65js4")))) (properties `((upstream-name . "RgoogleMaps"))) (build-system r-build-system) (propagated-inputs `(("r-png" ,r-png))) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 03c8b497b8..d7c112928f 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2014, 2016 David Thompson ;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver ;;; Copyright © 2016 Nils Gillmann -;;; Copyright © 2016, 2017 Ricardo Wurmus +;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016 David Thompson ;;; Copyright © 2017, 2018 Efraim Flashner ;;; Copyright © 2017 Arun Isaac @@ -49,6 +49,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) @@ -177,12 +178,13 @@ Polygon meshes, and Extruded polygon meshes.") (version "1.0") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/divVerent/s2tc/archive/v" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/divVerent/s2tc.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0ibfdib277fhbqvxzan0bmglwnsl1y1rw2g8skvz82l1sfmmn752")) - (file-name (string-append name "-" version ".tar.gz")))) + (base32 "1fg323fk7wlv2xh6lw66wswgcv6qi8aaadk7c28h2f2lj1s7njnf")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -190,12 +192,6 @@ Polygon meshes, and Extruded polygon meshes.") ("libtool" ,libtool))) (inputs `(("mesa-headers" ,mesa-headers))) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autogen - (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) (home-page "https://github.com/divVerent/s2tc") (synopsis "S3 Texture Compression implementation") (description @@ -259,7 +255,8 @@ also known as DXTn or DXTC) for Mesa.") ("libxvmc" ,libxvmc) ,@(match (%current-system) ((or "x86_64-linux" "i686-linux") - `(("llvm" ,llvm))) + ;; FIXME: Change to 'llvm' in the next rebuild cycle. + `(("llvm" ,llvm-without-rtti))) (_ `())) ("makedepend" ,makedepend) @@ -728,13 +725,14 @@ mixed vector/bitmap output.") (version "2.6") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/VirtualGL/virtualgl/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/VirtualGL/virtualgl.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1ck1d0w19cgyqvrb9mdlj6l5db90xf18yln71kdninlqxvpgj6h7")))) + "0di2igj2bhwb153fndgxks7y57pyhp0gj31n47j93gb7lxc9qcck")))) (arguments `(#:tests? #f ; no tests are available #:configure-flags (list diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 491f688c8e..cd9b48caff 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -36,7 +36,6 @@ #:use-module (gnu packages enlightenment) #:use-module (gnu packages file) #:use-module (gnu packages flex) - #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages gnome) #:use-module (gnu packages gperf) @@ -621,11 +620,7 @@ useful for C++.") (delete-file "tests/test_ossig.py") #t))))) (native-inputs - `(;; Use gcc-7 to work around an internal compiler error that happens - ;; when using gcc-5.5.0. FIXME: Try removing this when the default - ;; compiler is no longer gcc-5.5.0. - ("gcc" ,gcc-7) - ("which" ,which) + `(("which" ,which) ;for tests: dbus-run-session and glib-compile-schemas ("dbus" ,dbus) ("glib-bin" ,glib "bin") @@ -656,11 +651,7 @@ useful for C++.") ("python-pycairo" ,python2-pycairo) ("gobject-introspection" ,gobject-introspection))) (native-inputs - `(;; Use gcc-7 to work around an internal compiler error that happens - ;; when using gcc-5.5.0. FIXME: Try removing this when the default - ;; compiler is no longer gcc-5.5.0. - ("gcc" ,gcc-7) - ("which" ,which) + `(("which" ,which) ;for tests: dbus-run-session and glib-compile-schemas ("dbus" ,dbus) ("glib-bin" ,glib "bin") diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ba37d6afa4..415398eeee 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2017, 2018 Rutger Helling ;;; Copyright © 2018 Jovany Leandro G.C ;;; Copyright © 2018 Vasile Dumitrascu +;;; Copyright © 2018 Björn Höfling ;;; ;;; This file is part of GNU Guix. ;;; @@ -95,6 +96,7 @@ #:use-module (gnu packages polkit) #:use-module (gnu packages popt) #:use-module (gnu packages ghostscript) + #:use-module (gnu packages inkscape) #:use-module (gnu packages ibus) #:use-module (gnu packages iso-codes) #:use-module (gnu packages libcanberra) @@ -151,6 +153,7 @@ #:use-module (gnu packages version-control) #:use-module (gnu packages virtualization) #:use-module (gnu packages vpn) + #:use-module (gnu packages web) #:use-module (gnu packages xorg) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) @@ -1321,9 +1324,13 @@ functionality was designed to be as reusable and portable as possible.") (build-system gnu-build-system) (arguments `(#:configure-flags - ;; The programmer kindly gives us a hook to turn off deprecation - ;; warnings ... - '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") + '(;; We don't need static libraries, plus they don't build reproducibly + ;; (non-deterministic ordering of .o files in the archive.) + "--disable-static" + + ;; The programmer kindly gives us a hook to turn off deprecation + ;; warnings ... + "DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS") ;; ... which they then completly ignore !! #:phases (modify-phases %standard-phases @@ -1343,7 +1350,8 @@ featuring mature C, C++ and Python bindings.") ;; Licence notice is unclear. The Web page simply say "GPL" without giving ;; a version. SOME of the code files have licence notices for GPLv2+. ;; The tarball contains files of the text of GPLv2 and LGPLv2. - (license license:gpl2+))) + (license license:gpl2+) + (properties `((upstream-name . "ORBit2"))))) (define-public libbonobo @@ -1371,7 +1379,14 @@ featuring mature C, C++ and Python bindings.") (lambda _ (substitute* "activation-server/Makefile.in" (("-DG_DISABLE_DEPRECATED") "-DGLIB_DISABLE_DEPRECATION_WARNINGS")) - #t))))) + #t))) + + ;; There's apparently a race condition between the server stub + ;; generation and linking of the example under 'samples/echo' that can + ;; lead do undefined references when building in parallel, as reported + ;; at . + ;; Thus, disable parallel builds. + #:parallel-build? #f)) (inputs `(("popt" ,popt) ("libxml2" ,libxml2))) ;; The following are Required by the .pc file @@ -2121,7 +2136,15 @@ editors, IDEs, etc.") (package (inherit vte) (name "vte-ng") - (version "0.52.2.a") + (version "0.54.2.a") + (home-page "https://github.com/thestinger/vte-ng") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags")))) (native-inputs `(("gtk-doc" ,gtk-doc) ("gperf" ,gperf) @@ -2129,14 +2152,6 @@ editors, IDEs, etc.") ("automake" ,automake) ("libtool" ,libtool) ,@(package-native-inputs vte))) - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/thestinger/" - name "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fd65mk7c87k03vhnb2ixkjvv9nja04mfq813iyjji1b11f2sh7v")))) (arguments `(#:phases (modify-phases %standard-phases (replace 'bootstrap @@ -2465,7 +2480,7 @@ libxml to ease remote use of the RESTful API.") (define-public libsoup (package (name "libsoup") - (version "2.64.0") + (version "2.64.2") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/libsoup/" @@ -2473,7 +2488,7 @@ libxml to ease remote use of the RESTful API.") name "-" version ".tar.xz")) (sha256 (base32 - "09z7g3spww3f84y8jmicdd6lqp360mbggpg5h1fq1v4p5ihcjnyr")))) + "1il6lyrmfi0hfh3ysw8w1qzc1rdz0igkb7dv6d8g5mmilnac3pbm")))) (build-system gnu-build-system) (outputs '("out" "doc")) (arguments @@ -3631,7 +3646,7 @@ for application developers.") (define-public totem (package (name "totem") - (version "3.26.1") + (version "3.26.2") (source (origin (method url-fetch) @@ -3640,7 +3655,7 @@ for application developers.") name "-" version ".tar.xz")) (sha256 (base32 - "10n302fdp3lhkzbij5sbzmsnln738029xil6cnng2d4dxv4n1099")) + "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g")) (patches (search-patches "totem-meson-easy-codec.patch")))) (build-system meson-build-system) (native-inputs @@ -3752,7 +3767,7 @@ which can read a large number of file formats.") "b182c6b9e1d09e601bac0b703cc5f8b159ebbc3a.patch")) (sha256 (base32 - "17j45vyyr071ka3nckj2gycgyyv1j08fyrxw89jfdq2442nzrsiy"))))) + "06n87xgf927djmv1vshal84nqx7g8nwgljza3g2vydhy7g2n1csq"))))) (sha256 (base32 "0hzcns8gf5yb0rm4ss8jd8qzarcaplp5cylk6plwilsqfvxj4xn2")))) @@ -4098,15 +4113,15 @@ work and the interface is well tested.") (define-public eolie (package (name "eolie") - (version "0.9.38") + (version "0.9.45") (source (origin (method url-fetch) (uri (string-append "https://gitlab.gnome.org/World/eolie/" - "uploads/9814c06a1bc83ea09c3da8719a9ed11b/" + "uploads/020f3f686e2b938731752a1d9f5bfa7e/" "eolie-" version ".tar.xz")) (sha256 (base32 - "10vrh91rapgfmqwc6jkcybpmlvn4q0y8bnklw3rddzigf9kvqsff")))) + "0371p7g13r0b7zjc48fdcil43ddwpmyvkd2a4vv6ifsqmny6kl42")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t @@ -4618,14 +4633,6 @@ configuration program to choose applications starting on login.") (arguments '(#:phases (modify-phases %standard-phases - (add-after 'set-paths 'work-around-gcc-7-include-path-issue - ;; FIXME: Work around a problem with gcc-7 includes (see - ;; ). Note that we use gcc-7 - ;; to work around an internal compiler error in gcc-5. - (lambda _ - (unsetenv "C_INCLUDE_PATH") - (unsetenv "CPLUS_INCLUDE_PATH") - #t)) (add-before 'check 'pre-check (lambda _ @@ -4643,11 +4650,7 @@ configuration program to choose applications starting on login.") ((".*expect\\(datestr\\).*") "")) #t))))) (native-inputs - `(("gcc" ,gcc-7) ; FIXME: Work around an internal compiler error in - ; gcc-5. Try removing this when our default compiler is - ; no longer gcc-5.5.0, and also remove the - ; 'work-around-gcc-7-include-path-issue' phase above. - ("glib:bin" ,glib "bin") ; for glib-compile-resources + `(("glib:bin" ,glib "bin") ; for glib-compile-resources ("pkg-config" ,pkg-config) ("xmllint" ,libxml2) ;; For testing @@ -6423,15 +6426,16 @@ functionality and behavior.") (define-public arc-theme (package (name "arc-theme") - (version "20170302") + (version "20181022") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/horst3180/arc-theme" - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/NicoHood/arc-theme.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw")))) + "08951dk1irfadwpr3p323a4fprmxg53rk2r2niwq3v62ryhi3663")))) (build-system gnu-build-system) (arguments '(#:phases @@ -6442,16 +6446,20 @@ functionality and behavior.") (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) - ("pkg-config" ,pkg-config))) - (inputs - `(("gtk+" ,gtk+))) + ("glib" ,glib "bin") ; for glib-compile-resources + ("gnome-shell" ,gnome-shell) + ("gtk+" ,gtk+) + ("inkscape" ,inkscape) + ("optipng" ,optipng) + ("pkg-config" ,pkg-config) + ("sassc" ,sassc))) (synopsis "A flat GTK+ theme with transparent elements") (description "Arc is a flat theme with transparent elements for GTK 3, GTK 2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.") (home-page "https://github.com/horst3180/arc-theme") ;; No "or later" language found. - (license license:gpl3))) + (license license:gpl3+))) (define-public faba-icon-theme (package diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm index b4c9c463f7..d1dc8fd588 100644 --- a/gnu/packages/gnunet.scm +++ b/gnu/packages/gnunet.scm @@ -186,13 +186,13 @@ authentication and support for SSL3 and TLS.") (define-public gnurl (package (name "gnurl") - (version "7.61.1") + (version "7.62.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gnunet/" name "-" version ".tar.Z")) (sha256 (base32 - "0amnhhmlxaliz2rzp3zf1x6ixjqvgmiq7in0q14gd21rjlk9kvir")))) + "1n258my5q4rxv140xvb1qh6vsh42ii0i8p7f2m15szqabm89487q")))) (build-system gnu-build-system) (outputs '("out" "doc")) ; 1.5 MiB of man3 pages diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 0b8d3e578e..360f28a1bf 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -41,6 +41,8 @@ #:use-module (gnu packages curl) #:use-module (gnu packages crypto) #:use-module (gnu packages emacs) + #:use-module (gnu packages enlightenment) + #:use-module (gnu packages gettext) #:use-module (gnu packages guile) #:use-module (gnu packages openldap) #:use-module (gnu packages perl) @@ -220,14 +222,14 @@ compatible to GNU Pth.") (define-public gnupg (package (name "gnupg") - (version "2.2.10") + (version "2.2.11") (source (origin (method url-fetch) (uri (string-append "mirror://gnupg/gnupg/gnupg-" version ".tar.bz2")) (sha256 (base32 - "05f9804g72pffdxgvxjmjzkfcpjg1x221g9rwcr8fi51hrxd77br")))) + "1ncwqjhcxh46fgkp84g2lhf91amcha7abk6wdm1kagzm7q93wv29")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -835,6 +837,34 @@ software."))) "Pinentry provides a console and a Qt GUI that allows users to enter a passphrase when @code{gpg} is run and needs it."))) +(define-public pinentry-efl + (package + (inherit pinentry-tty) + (name "pinentry-efl") + (source + (origin + (inherit (package-source pinentry-tty)) + (patches (search-patches "pinentry-efl.patch")))) + (arguments + '(#:configure-flags '("--enable-pinentry-efl") + #:phases + (modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (invoke "sh" "autogen.sh")))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ,@(package-native-inputs pinentry-tty))) + (inputs + `(("efl" ,efl) + ,@(package-inputs pinentry-tty))) + (description + "Pinentry provides a console and a graphical interface for the +@dfn{Enlightenment Foundation Libraries} (EFL) that allows users to enter a +passphrase when @code{gpg} is run and needs it."))) + (define-public pinentry (package (inherit pinentry-gtk2) (name "pinentry"))) diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm index bd28ceaa00..dd7c67d553 100644 --- a/gnu/packages/gnustep.scm +++ b/gnu/packages/gnustep.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2014 Ludovic Courtès ;;; Copyright © 2016, 2017 Kei Kebreau ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -167,14 +168,7 @@ interface. It is fast, feature rich, easy to configure, and easy to use.") (base32 "084a3irxbmgms4bqaga80mlx9wgvlkx6d2w0ns939yrpfzg87laj")))) (build-system gnu-build-system) - (arguments - `(#:tests? #f ; no "check" target - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - (invoke "autoreconf" "-vfi") - #t))))) + (arguments '(#:tests? #f)) ; no "check" target (inputs `(("glib" ,glib) ("libx11" ,libx11) @@ -262,18 +256,11 @@ on.") (base32 "1lx276ba8r2yydhmwj1g586jdqg695ad89ng36fr3mb067gvb2rz")))) (build-system gnu-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - (invoke "autoreconf" "-vfi") - #t))))) - ;; wmclock requires autoreconf to generate its configure script. (inputs `(("libx11" ,libx11) ("libxext" ,libxext) ("libxpm" ,libxpm))) + ;; wmclock requires autoreconf to generate its configure script. (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 39281b59e5..d6b1f4c2d6 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -39,6 +39,7 @@ #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages databases) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) @@ -417,7 +418,12 @@ in the Mozilla clients.") (setenv "DOMSUF" "(none)") (setenv "USE_IP" "TRUE") (setenv "IP_ADDRESS" "127.0.0.1") - (invoke "./nss/tests/all.sh"))) + + ;; The "PayPalEE.cert" certificate expires every six months, + ;; leading to test failures: + ;; . To + ;; work around that, set the time to roughly the release date. + (invoke "faketime" "2018-09-01" "./nss/tests/all.sh"))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -453,7 +459,8 @@ in the Mozilla clients.") `(("sqlite" ,sqlite) ("zlib" ,zlib))) (propagated-inputs `(("nspr" ,nspr))) ; required by nss.pc. - (native-inputs `(("perl" ,perl))) + (native-inputs `(("perl" ,perl) + ("libfaketime" ,libfaketime))) ;for tests ;; The NSS test suite takes around 48 hours on Loongson 3A (MIPS) when ;; another build is happening concurrently on the same machine. @@ -482,43 +489,33 @@ security standards.") (define-public icecat (package (name "icecat") - (version "60.2.0-gnu1") + (version "60.3.0-gnu1") (source (origin (method url-fetch) - ;; Temporary URL pending official release: - (uri "https://alpha.gnu.org/gnu/gnuzilla/60.2.0/icecat-60.2.0-gnu1.tar.bz2") - #; (uri (string-append "mirror://gnu/gnuzilla/" (first (string-split version #\-)) "/" name "-" version ".tar.bz2")) (sha256 (base32 - "0lqx7g79x15941rhjr3qsfwsny6vzc7d7abdmvjy6jjbqkqlc1zl")) + "0icnl64nxcyf7dprpdpygxhabsvyhps8c3ixysj9bcdlj9q34ib1")) (patches (list (search-patch "icecat-avoid-bundled-libraries.patch") (search-patch "icecat-use-system-graphite2+harfbuzz.patch") (search-patch "icecat-use-system-media-libs.patch") - (mozilla-patch "icecat-CVE-2018-12385.patch" "80a4a7ef2813" "1vgcbimpnfjqj934v0cryq1g13xac3wfmd4jyhcb5s60x8xyssf5") - (search-patch "icecat-CVE-2018-12383.patch") - (mozilla-patch "icecat-bug-1489744.patch" "6546ee839d30" "11mhvj77r789b428bfxqq5wdx8yr7lbrdjzr8qjj6fw197pldn51") - (mozilla-patch "icecat-CVE-2018-12386.patch" "4808fcb2e6ca" "05sc881l7sh8bag8whd2ggdn198lskqcxq8f41scfpqscw6xs5d5") - (mozilla-patch "icecat-CVE-2018-12387.patch" "b8f5c37486e1" "0lvmbh126m695kgdbasy1y5xh9n1j08cwdhn071mgvj6yn8cns5z") - (mozilla-patch "icecat-bug-1464751.patch" "d5d00faf0465" "1mj7dbb06brwrk0mvap0z4lfl2hwz1cj6dwjvdrisxm046pdw98i") - (mozilla-patch "icecat-bug-1472538.patch" "11462f2b98f2" "1nxgh0plzilylx8r73r7d74pv66qwjqxmd7nqii33p0snl2jjfzs") - (mozilla-patch "icecat-bug-1478685.patch" "098585dc86fc" "1b0x4qdh6isvffmibvc8ad8z62m3iky9q6jq0z6gyvn8q252cqal") - (mozilla-patch "icecat-bug-1486080.patch" "3f8d57d936ea" "0pz2c18wcgj44v0j8my9xbm90m4bsjcvzmavj569fi8bh6s6zz8p") - (mozilla-patch "icecat-bug-1423278.patch" "878ceaee5634" "0i47s5nvrx9vqbnj6s9y9f4ffww20p8nviqa6frg676y1188xlyl") - (mozilla-patch "icecat-bug-1442010.patch" "87be1b98ec9a" "15f4l18c7hz9aqn89gg3dwmdidfwgn10dywgpzydm8mps45amx7j") - (mozilla-patch "icecat-bug-1484559.patch" "99e58b5307ce" "02fdgbliwzi2r2376wg6k1rky1isfka0smac4ii2cll01jhpfrn6") - (mozilla-patch "icecat-bug-1487098.patch" "f25ce451a492" "18nzg39iyxza1686180qk9cc88l5j2hf1h35d62lrqmdgd9vcj33") - (mozilla-patch "icecat-bug-1484905.patch" "35c26bc231df" "0qh8d4z6y03h5xh7djci26a01l6zq667lg2k11f6zzg7z2j0h67x") - (mozilla-patch "icecat-bug-1488061.patch" "050d0cfa8e3d" "05ql798ynbyz5pvyri4b95j4ixmgnny3zl7sd2ckfrrbm9mxh627") - (mozilla-patch "icecat-bug-1434963-pt1.patch" "1e6dad87efed" "1v00a6cmgswjk54041jyv1ib129fxshpzwk6mn6lr0v5hylk3bx9") - (mozilla-patch "icecat-bug-1434963-pt2.patch" "6558c46df9ea" "0vdy9dm9w5k1flhcfxwvvff0aa415b5mgmmq5r37i83686768xfb") - (mozilla-patch "icecat-bug-1434963-pt3.patch" "686fcfa8abd6" "0ihqr11aq4b0y7mx7bwn8yzn25mv3k2gdphm951mj1g85qg35ann") - (mozilla-patch "icecat-bug-1491132.patch" "14120e0c74d6" "188c5fbhqqhmlk88p70l6d97skh7xy4jhqdby1ri3h9ix967515j"))) + (mozilla-patch "icecat-bug-1464061.patch" "d28761dbff18" "1f58rzwx4s1af66fdwn9lgkcd1ksmq8kn8imvf78p90jqi24h7b4") + (mozilla-patch "icecat-bug-1479853.patch" "4faeb696dd06" "12891xx9c15s6kby6d3zk64v5nqgaq7sw597zv1fkd3a6x69hlva") + (mozilla-patch "icecat-bug-1488295.patch" "12ba39f69876" "1piyq44f0xa0a9z2748aqwpaziaxwp61d86gyhalbyag8lcxfb3p") + (mozilla-patch "icecat-bug-1500011.patch" "a0adabeedf26" "0f5wazha3zxzhy2j8f93hx62l9p02b1p40vi07qah3ar67h4ccj9") + (mozilla-patch "icecat-bug-1503082.patch" "19604eb26230" "1wqxgph4z14ijhk2j2m4av5p6gx72d02lzz83q6yy0k065kw8psb") + (mozilla-patch "icecat-bug-1499861.patch" "98737ab09270" "0fyl6wv0jxcxpkfpsff46y93k49n8lrw0k7c1p45g8da015dx27a") + (mozilla-patch "icecat-bug-1504452.patch" "1cf7d80355d5" "19jp4x32vyxam54d1r9fm7jwf6krhhf3xazfqmxb9aw4iwdil7dl") + (mozilla-patch "icecat-bug-1494752.patch" "c264774b8913" "1hxyi131x8jwawrq90cgkph833iv9ixrdrgzl1r978gbzwq10xz2") + (mozilla-patch "icecat-bug-1477773.patch" "ec13fda7c9b0" "0zj7aylgw55g0y7plaafn5gq8jwcsdr1bpdxacs0hq914nm8zy9z") + (mozilla-patch "icecat-bug-1500759.patch" "5e1a9644aeef" "1qimrpgyrd8zkiri7w57j0aymk20y9b34am5w7rvr6qj1lhrbfla") + (mozilla-patch "icecat-bug-1485655.patch" "9055726e2d89" "1pppxr94zqh6zmi2mn1ih21qap09vk5ivbhnwxqr8iszvygjg44g") + (mozilla-patch "icecat-bug-1410214.patch" "9e641345e2ef" "0542xss2jdb8drh4g50cfy32l300x69dyywgx3dqs03vgr3qplxy"))) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7c026ff5f0..6c970700a5 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -36,6 +36,7 @@ #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (guix build-system go) #:use-module (gnu packages admin) #:use-module (gnu packages gcc) @@ -46,7 +47,9 @@ #:use-module (gnu packages lua) #:use-module (gnu packages mp3) #:use-module (ice-9 match) - #:use-module (srfi srfi-1)) + #:use-module (srfi srfi-1) + #:export (go-github-com-gogo-protobuf-union) + #:export (go-golang-org-x-crypto-union)) ;; According to https://golang.org/doc/install/gccgo, gccgo-4.8.2 includes a ;; complete go-1.1.2 implementation, gccgo-4.9 includes a complete go-1.2 @@ -516,14 +519,25 @@ in the style of communicating sequential processes (@dfn{CSP}).") (substitute* (find-files "cmd" "\\.go") (("/lib(64)?/ld-linux.*\\.so\\.[0-9]") loader)) #t))) + ;; Prevent installation of the build cache, which contains store + ;; references to most of the tools used to build Go and would + ;; unnecessarily increase the size of Go's closure if it was + ;; installed. + ;; TODO This should be moved into the 'install' phase when Go 1.9 is + ;; removed. + (add-before 'install 'delete-extraneous-files + (lambda _ + (delete-file-recursively "../pkg/obj") + #t)) (replace 'set-bootstrap-variables (lambda* (#:key outputs inputs #:allow-other-keys) ;; Tell the build system where to find the bootstrap Go. (let ((go (assoc-ref inputs "go"))) (setenv "GOROOT_BOOTSTRAP" go) - (setenv "GOGC" "400")))))))))) + (setenv "GOGC" "400") + #t))))))))) -(define-public go go-1.9) +(define-public go go-1.11) (define-public go-github-com-alsm-ioprogress (let ((commit "063c3725f436e7fba0c8f588547bee21ffec7ac5") @@ -618,7 +632,16 @@ way of specifying command line options.") "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10")))) (build-system go-build-system) (arguments - '(#:import-path "gopkg.in/tomb.v2")) + '(#:import-path "gopkg.in/tomb.v2" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; Add a missing % to fix the compilation of this test + (substitute* "src/gopkg.in/tomb.v2/tomb_test.go" + (("t.Fatalf\\(`Killf\\(\"BO%s") + "t.Fatalf(`Killf(\"BO%%s")) + #t))))) (synopsis "@code{tomb} handles clean goroutine tracking and termination") (description "The @code{tomb} package handles clean goroutine tracking and @@ -996,6 +1019,97 @@ Tiny Encryption Algorithm (XTEA) block cipher.") (home-page "https://go.googlesource.com/crypto/") (license license:bsd-3)))) +(define-public go-golang-org-x-crypto-ed25519 + (package + (inherit go-golang-org-x-crypto-bcrypt) + (name "go-golang-org-x-crypto-ed25519") + (arguments + (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) + ((#:import-path _) + "golang.org/x/crypto/ed25519"))) + (synopsis "ED25519 in Go") + (description "This package provides a Go implementation of the ED25519 +signature algorithm."))) + +(define-public go-golang-org-x-crypto-ripemd160 + (package + (inherit go-golang-org-x-crypto-bcrypt) + (name "go-golang-org-x-crypto-ripemd160") + (arguments + (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) + ((#:import-path _) + "golang.org/x/crypto/ripemd160"))) + (synopsis "RIPEMD-160 in Go") + (description "This package provides a Go implementation of the RIPEMD-160 +hash algorithm."))) + +(define-public go-golang-org-x-crypto-blake2s + (package + (inherit go-golang-org-x-crypto-bcrypt) + (name "go-golang-org-x-crypto-blake2s") + (arguments + (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) + ((#:import-path _) + "golang.org/x/crypto/blake2s"))) + (synopsis "BLAKE2s in Go") + (description "This package provides a Go implementation of the BLAKE2s +hash algorithm."))) + +(define-public go-golang-org-x-crypto-sha3 + (package + (inherit go-golang-org-x-crypto-bcrypt) + (name "go-golang-org-x-crypto-sha3") + (arguments + (substitute-keyword-arguments (package-arguments go-golang-org-x-crypto-bcrypt) + ((#:import-path _) + "golang.org/x/crypto/sha3"))) + (synopsis "SHA-3 in Go") + (description "This package provides a Go implementation of the SHA-3 +fixed-output-length hash functions and the SHAKE variable-output-length hash +functions defined by FIPS-202."))) + +;; Go searches for library modules by looking in the GOPATH environment +;; variable. This variable is a list of paths. However, Go does not +;; keep searching on GOPATH if it tries and fails to import a module. +;; So, we use a union for packages sharing a namespace. +(define* (go-golang-org-x-crypto-union #:optional + (packages (list go-golang-org-x-crypto-blowfish + go-golang-org-x-crypto-bcrypt + go-golang-org-x-crypto-tea + go-golang-org-x-crypto-xtea + go-golang-org-x-crypto-pbkdf2 + go-golang-org-x-crypto-twofish + go-golang-org-x-crypto-cast5 + go-golang-org-x-crypto-salsa20 + go-golang-org-x-crypto-ed25519 + go-golang-org-x-crypto-ripemd160 + go-golang-org-x-crypto-blake2s + go-golang-org-x-crypto-sha3))) + (package + (name "go-golang-org-x-crypto") + (version (package-version go-golang-org-x-crypto-bcrypt)) + (source #f) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build union)) + #:builder (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories) + #t))))) + (inputs (map (lambda (package) + (list (package-name package) package)) + packages)) + (synopsis "Union of the Go x crypto libraries") + (description "A union of the Golang cryptographic libraries. A +union is required because `go build` assumes that all of the headers and +libraries are in the same directory.") + (home-page (package-home-page go-golang-org-x-crypto-bcrypt)) + (license (package-license go-golang-org-x-crypto-bcrypt)))) + (define-public go-golang-org-x-net-ipv4 (let ((commit "d866cfc389cec985d6fda2859936a575a55a3ab6") (revision "1")) @@ -1476,31 +1590,6 @@ Features include: optimized for performance yet simple to use.") (license license:expat)))) -(define-public go-github-com-urfave-cli - (let ((commit "cfb38830724cc34fedffe9a2a29fb54fa9169cd1") - (revision "0")) - (package - (name "go-github-com-urfave-cli") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/urfave/cli.git") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/urfave/cli")) - (home-page "https://github.com/urfave/cli") - (synopsis "Library for building command-line interfaces in Go") - (description "This package provides a library for building command-line -interfaces in Go.") - (license license:expat)))) - (define-public go-github-com-blang-semver (let ((commit "60ec3488bfea7cca02b021d106d9911120d25fe9") (revision "0")) @@ -2081,26 +2170,28 @@ generate ANSI colored strings.") (base32 "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di")))) (build-system go-build-system) - (native-inputs + ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so + ;; when this package required as input for another one, it will have to + ;; be built again. Thus its CGO requirements must be made available in + ;; the environment, that is, they must be propagated. + (propagated-inputs `(("lua" ,lua))) (arguments `(#:unpack-path "github.com/aarzilli/golua" #:import-path "github.com/aarzilli/golua/lua" #:phases (modify-phases %standard-phases - (replace 'build - (lambda* (#:key import-path #:allow-other-keys) - (invoke "go" "install" - "-v" ; print the name of packages as they are compiled - "-x" ; print each command as it is invoked - "-ldflags=-s -w" ; strip the symbol table and debug - "-tags" "llua" ; Latest Lua on Guix does not have a version number. - import-path))) - (replace 'check - (lambda* (#:key import-path #:allow-other-keys) - (invoke "go" "test" - "-tags" "llua" ; Latest Lua on Guix does not have a version number. - import-path)))))) + ;; While it's possible to fix the CGO_LDFLAGS with the "-tags" + ;; command line argument, go-1.10+ does not re-use the produced pkg + ;; for dependencies, which means we would need to propagate the + ;; same "-tags" argument to all golua referrers. A substitution is + ;; more convenient here. We also need to propagate the lua + ;; dependency to make it available to referrers. + (add-after 'unpack 'fix-lua-ldflags + (lambda _ + (substitute* "src/github.com/aarzilli/golua/lua/lua.go" + (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3") + "#cgo linux,!llua,!luaa LDFLAGS: -llua"))))))) (home-page "https://github.com/aarzilli/golua") (synopsis "Go Bindings for the Lua C API") (description "This package provides @code{lua}, a Go module that can @@ -2348,12 +2439,917 @@ and lookup requests. Browse requests are not supported yet.") (base32 "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2")))) (build-system go-build-system) - (native-inputs + ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so + ;; when this package required as input for another one, it will have to + ;; be built again. Thus its CGO requirements must be made available in + ;; the environment, that is, they must be propagated. + (propagated-inputs `(("pkg-config" ,pkg-config) ("taglib" ,taglib))) (arguments - `(#:import-path "github.com/wtolson/go-taglib")) + `(#:import-path "github.com/wtolson/go-taglib" + ;; Tests don't pass "vet" on go-1.11. See + ;; https://github.com/wtolson/go-taglib/issues/12. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key import-path #:allow-other-keys) + (invoke "go" "test" + "-vet=off" + import-path)))))) (home-page "https://github.com/wtolson/go-taglib") (synopsis "Go wrapper for taglib") (description "Go wrapper for taglib") (license license:unlicense)))) + +(define* (go-github-com-gogo-protobuf-union + #:optional (packages (list go-github-com-gogo-protobuf + go-github-com-gogo-protobuf-protoc-gen-gogo))) + (package + (name "go-github-com-gogo-protobuf-union") + (version (package-version go-github-com-gogo-protobuf)) + (source #f) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build union)) + #:builder (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories) + #t))))) + (inputs (map (lambda (package) + (list (package-name package) package)) + packages)) + (synopsis "Union of Go protobuf libraries") + (description "This is a union of Go protobuf libraries") + (home-page (package-home-page go-github-com-gogo-protobuf)) + (license (package-license go-github-com-gogo-protobuf)))) + +(define-public go-github-com-gogo-protobuf + (let ((commit "160de10b2537169b5ae3e7e221d28269ef40d311") + (revision "2")) + (package + (name "go-github-com-gogo-protobuf") + (version (git-version "0.5" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gogo/protobuf") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hxq28sgxym04rv0q40gpwkh4ni359q21hq3g78wwxwx4qfd4zwm")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/gogo/protobuf/proto" + #:unpack-path "github.com/gogo/protobuf")) + (propagated-inputs + `(("go-github-com-gogo-protobuf-protoc-gen-gogo" + ,go-github-com-gogo-protobuf-protoc-gen-gogo))) + (synopsis "Protocol Buffers for Go with Gadgets") + (description "Gogoprotobuf is a fork of golang/protobuf with extra code +generation features. This code generation is used to achieve: +@itemize +@item fast marshalling and unmarshalling +@item more canonical Go structures +@item goprotobuf compatibility +@item less typing by optionally generating extra helper code +@item peace of mind by optionally generating test and benchmark code +@item other serialization formats +@end itemize") + (home-page "https://github.com/gogo/protobuf") + (license license:bsd-3)))) + +(define-public go-github-com-gogo-protobuf-protoc-gen-gogo + (let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63") + (revision "0")) + (package + (name "go-github-com-gogo-protobuf-protoc-gen-gogo") + (version (git-version "0.2" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gogo/protobuf") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09kfa3aqmhh7p0rc6wd4fw5cjccidsk9vgcy13albv0g8vnbmmgw")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/gogo/protobuf/protoc-gen-gogo" + #:unpack-path "github.com/gogo/protobuf")) + (synopsis "Protocol Buffers for Go with Gadgets") + (description "Gogoprotobuf is a fork of golang/protobuf with extra code +generation features. This code generation is used to achieve: +@itemize +@item fast marshalling and unmarshalling +@item more canonical Go structures +@item goprotobuf compatibility +@item less typing by optionally generating extra helper code +@item peace of mind by optionally generating test and benchmark code +@item other serialization formats +@end itemize") + (home-page "https://github.com/gogo/protobuf") + (license license:bsd-3)))) + +(define-public go-github-com-gogo-protobuf-proto + (let ((commit + "fd322a3c49630fe6d05737e2b7d9426e6680e28d") + (revision "0")) + (package + (name "go-github-com-gogo-protobuf-proto") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gogo/protobuf.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zi85584dy91hyrwpanygz1pppi0chn3hzzv128i83i6j45a5fp9")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/gogo/protobuf" + #:import-path "github.com/gogo/protobuf/proto")) + (native-inputs `()) + (home-page "https://github.com/gogo/protobuf") + (synopsis "XXX") + (description "XXX") + (license license:expat)))) + +(define-public go-github-com-libp2p-go-flow-metrics + (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43") + (revision "0")) + (package + (name "go-github-com-libp2p-go-flow-metrics") + (version (git-version "0.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-flow-metrics.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1p87iyk6q6f3g3xkncssx400qlld8f2z93qiz8m1f97grfyhjif1")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/libp2p/go-flow-metrics" + ;; TODO: Tests hang. + #:tests? #f)) + (home-page + "https://github.com/libp2p/go-flow-metrics") + (synopsis "Simple library for tracking flow metrics") + (description "A simple alternative to rcrowley's @command{go-metrics} +that's a lot faster (and only does simple bandwidth metrics).") + (license license:expat)))) + +(define-public go-github-com-davecgh-go-spew + (let ((commit "d8f796af33cc11cb798c1aaeb27a4ebc5099927d") + (revision "0")) + (package + (name "go-github-com-davecgh-go-spew") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/davecgh/go-spew.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "19z27f306fpsrjdvkzd61w1bdazcdbczjyjck177g33iklinhpvx")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/davecgh/go-spew" + #:import-path "github.com/davecgh/go-spew/spew")) + (home-page "https://github.com/davecgh/go-spew") + (synopsis "Deep pretty printer for Go data structures to aid in debugging") + (description "Package @command{spew} implements a deep pretty printer +for Go data structures to aid in debugging. + +A quick overview of the additional features spew provides over the built-in printing facilities for Go data types are as follows: + +@itemize +@item Pointers are dereferenced and followed. +@item Circular data structures are detected and handled properly. +@item Custom Stringer/error interfaces are optionally invoked, including on +unexported types. +@item Custom types which only implement the Stringer/error interfaces via a +pointer receiver are optionally invoked when passing non-pointer variables. +@item Byte arrays and slices are dumped like the hexdump -C command which +includes offsets, byte values in hex, and ASCII output (only when using Dump +style). +@end itemize\n") + (license license:isc)))) + +(define-public go-github-com-btcsuite-btclog + (let ((commit "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a") + (revision "0")) + (package + (name "go-github-com-btcsuite-btclog") + (version (git-version "0.0.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/btcsuite/btclog.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/btcsuite/btclog")) + (home-page "https://github.com/btcsuite/btclog") + (synopsis "Subsystem aware logger for Go") + (description "Package @command{btclog} defines a logger interface and +provides a default implementation of a subsystem-aware leveled logger +implementing the same interface.") + (license license:isc)))) + +(define-public go-github-com-btcsuite-btcd-btcec + (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0") + (revision "0")) + (package + (name "go-github-com-btcsuite-btcd-btcec") + (version (git-version "0.12.0-beta" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/btcsuite/btcd.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/btcsuite/btcd" + #:import-path "github.com/btcsuite/btcd/btcec")) + (native-inputs + `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew))) + (home-page "https://github.com/btcsuite/btcd") + (synopsis "Elliptic curve cryptography to work with Bitcoin") + (description "Package @command{btcec} implements elliptic curve +cryptography needed for working with Bitcoin (secp256k1 only for now). It is +designed so that it may be used with the standard crypto/ecdsa packages +provided with Go. A comprehensive suite of test is provided to ensure proper +functionality. Package @command{btcec} was originally based on work from +ThePiachu which is licensed under the same terms as Go, but it has +signficantly diverged since then. The @command{btcsuite} developers original +is licensed under the liberal ISC license. + +Although this package was primarily written for btcd, it has intentionally +been designed so it can be used as a standalone package for any projects +needing to use secp256k1 elliptic curve cryptography.") + (license license:isc)))) + +(define-public go-github-com-minio-sha256-simd + (let ((commit "51976451ce1942acbb55707a983ed232fa027110") + (revision "0")) + (package + (name "go-github-com-minio-sha256-simd") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/minio/sha256-simd.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kaxvpidf6ygkkb06vi95pirll31jnmywhyalfjvf7djhim2wr8f")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/minio/sha256-simd")) + (home-page "https://github.com/minio/sha256-simd") + (synopsis "Accelerate SHA256 computations in pure Go") + (description "Accelerate SHA256 computations in pure Go using AVX512 and +AVX2 for Intel and ARM64 for ARM. On AVX512 it provides an up to 8x +improvement (over 3 GB/s per core) in comparison to AVX2. + +This package is designed as a replacement for @command{crypto/sha256}. For +Intel CPUs it has two flavors for AVX512 and AVX2 (AVX/SSE are also +supported). For ARM CPUs with the Cryptography Extensions, advantage is taken +of the SHA2 instructions resulting in a massive performance improvement. + +This package uses Golang assembly. The AVX512 version is based on the Intel's +\"multi-buffer crypto library for IPSec\" whereas the other Intel +implementations are described in \"Fast SHA-256 Implementations on Intel +Architecture Processors\" by J. Guilford et al.") + (license license:asl2.0)))) + +(define-public go-github-com-libp2p-go-libp2p-crypto + (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b") + (revision "0")) + (package + (name "go-github-com-libp2p-go-libp2p-crypto") + (version (git-version "2.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-libp2p-crypto.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qwpy57qv5143l9dlfwfvpqsxdd2i4zwnawx1w4pmgxxim3nw1wb")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/libp2p/go-libp2p-crypto")) + (native-inputs + `(("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) + ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) + ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd))) + (home-page + "https://github.com/libp2p/go-libp2p-crypto") + (synopsis "Various cryptographic utilities used by IPFS") + (description "Various cryptographic utilities used by IPFS") + (license license:expat)))) + +(define-public go-github-com-mr-tron-base58 + (let ((commit "d724c80ecac7b49e4e562d58b2b4f4ee4ed8c312") + (revision "0")) + (package + (name "go-github-com-mr-tron-base58") + (version (git-version "1.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mr-tron/base58.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12qhgnn9wf3c1ang16r4i778whk4wsrj7d90h2xgmz4fi1469rqa")))) + (build-system go-build-system) + (arguments + `(#:unpack-path "github.com/mr-tron/base58" + #:import-path "github.com/mr-tron/base58/base58")) + (home-page "https://github.com/mr-tron/base58") + (synopsis "Fast implementation of base58 encoding on Golang") + (description "Fast implementation of base58 encoding on Golang. A +trivial @command{big.Int} encoding benchmark results in 6 times faster +encoding and 8 times faster decoding.") + (license license:expat)))) + +(define-public go-github-com-gxed-hashland-keccakpg + (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8") + (revision "0")) + (package + (name "go-github-com-gxed-hashland-keccakpg") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gxed/hashland.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/gxed/hashland" + #:import-path "github.com/gxed/hashland/keccakpg")) + (home-page "https://github.com/gxed/hashland") + (synopsis "Implements the Keccak (SHA-3) hash algorithm in Go") + (description "Package @command{keccak} implements the Keccak (SHA-3) +hash algorithm. See http://keccak.noekeon.org.") + (license license:expat)))) + +(define-public go-github-com-minio-blake2b-simd + (let ((commit "3f5f724cb5b182a5c278d6d3d55b40e7f8c2efb4") + (revision "0")) + (package + (name "go-github-com-minio-blake2b-simd") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/minio/blake2b-simd.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/minio/blake2b-simd")) + (home-page "https://github.com/minio/blake2b-simd") + (synopsis "Fast hashing in pure Go of BLAKE2b with SIMD instructions") + (description "This package was initially based on the pure go BLAKE2b +implementation of Dmitry Chestnykh and merged with the (cgo dependent) AVX +optimized BLAKE2 implementation (which in turn is based on the official +implementation. It does so by using Go's Assembler for amd64 architectures +with a golang only fallback for other architectures. + +In addition to AVX there is also support for AVX2 as well as SSE. Best +performance is obtained with AVX2 which gives roughly a 4X performance +increase approaching hashing speeds of 1GB/sec on a single core.") + (license license:asl2.0)))) + +(define-public go-github-com-spaolacci-murmur3 + (let ((commit "f09979ecbc725b9e6d41a297405f65e7e8804acc") + (revision "0")) + (package + (name "go-github-com-spaolacci-murmur3") + (version (git-version "1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spaolacci/murmur3.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/spaolacci/murmur3")) + (home-page "https://github.com/spaolacci/murmur3") + (synopsis "Native MurmurHash3 Go implementation") + (description "Native Go implementation of Austin Appleby's third +MurmurHash revision (aka MurmurHash3). + +Reference algorithm has been slightly hacked as to support the streaming mode +required by Go's standard Hash interface.") + (license license:bsd-3)))) + +(define-public go-github-com-multiformats-go-multihash + (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6") + (revision "0")) + (package + (name "go-github-com-multiformats-go-multihash") + (version (git-version "1.0.8" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multihash.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/multiformats/go-multihash")) + (native-inputs + `(("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)))) + (home-page "https://github.com/multiformats/go-multihash") + (synopsis "Multihash implementation in Go") + (description "Multihash implementation in Go.") + (license license:expat)))) + +(define-public go-github-com-libp2p-go-libp2p-peer + (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c") + (revision "0")) + (package + (name "go-github-com-libp2p-go-libp2p-peer") + (version (git-version "2.3.8" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-libp2p-peer.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h96qjdi0i1wbr0jliap2903mycphas3ny0zdrm77yca9plcnphh")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/libp2p/go-libp2p-peer")) + (native-inputs + `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto) + ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)))) + (home-page "https://github.com/libp2p/go-libp2p-peer") + (synopsis "PKI based identities for use in go-libp2p") + (description "PKI based identities for use in @command{go-libp2p}.") + (license license:expat)))) + +(define-public go-github-com-libp2p-go-libp2p-protocol + (let ((commit "b29f3d97e3a2fb8b29c5d04290e6cb5c5018004b") + (revision "0")) + (package + (name "go-github-com-libp2p-go-libp2p-protocol") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-libp2p-protocol.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xgjfnx9zcqglg9li29wdqywsp8hz22wx6phns9zscni2jsfidld")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/libp2p/go-libp2p-protocol")) + (home-page "https://github.com/libp2p/go-libp2p-protocol") + (synopsis "Type for protocol strings in Golang") + (description "Just a type for protocol strings. Nothing more.") + (license license:expat)))) + +(define-public go-github-com-libp2p-go-libp2p-metrics + (let ((commit "a10ff6e75dae3c868023867e8caa534a04bdc624") + (revision "0")) + (package + (name "go-github-com-libp2p-go-libp2p-metrics") + (version (git-version "2.1.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libp2p/go-libp2p-metrics.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05wy0cq4h6yg9bzgapcvm2criwriicbswx80ma82gyn4a9fdrk8m")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/libp2p/go-libp2p-metrics")) + (native-inputs + `(("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics) + ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer) + ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol) + ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) + ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)))) + (home-page "https://github.com/libp2p/go-libp2p-metrics") + (synopsis "Connection wrapper for go-libp2p that provides bandwidth metrics") + (description "A connection wrapper for @command{go-libp2p} that provides bandwidth +statistics for wrapped connections.") + (license license:expat)))) + +(define-public go-github-com-mitchellh-go-homedir + (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4") + (revision "0")) + (package + (name "go-github-com-mitchellh-go-homedir") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mitchellh/go-homedir.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq")))) + (build-system go-build-system) + (arguments + (quote (#:import-path "github.com/mitchellh/go-homedir" + ;; TODO: Tests fail because it tries to access home. + #:tests? #f))) + (home-page "https://github.com/mitchellh/go-homedir") + (synopsis "Go library for detecting and expanding the user's home directory without cgo") + (description "This is a Go library for detecting the user's home +directory without the use of @command{cgo}, so the library can be used in +cross-compilation environments. + +Usage is simple, just call homedir.Dir() to get the home directory for a user, +and homedir.Expand() to expand the @command{~} in a path to the home +directory. + +Why not just use @command{os/user}? The built-in @command{os/user} package +requires cgo on Darwin systems. This means that any Go code that uses that +package cannot cross compile. But 99% of the time the use for +@command{os/user} is just to retrieve the home directory, which we can do for +the current user without cgo. This library does that, enabling +cross-compilation.") + (license license:expat)))) + +(define-public go-github-com-multiformats-go-multiaddr + (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb") + (revision "0")) + (package + (name "go-github-com-multiformats-go-multiaddr") + (version (git-version "1.3.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multiaddr.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/multiformats/go-multiaddr")) + (native-inputs + `(("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)))) + (home-page "https://github.com/multiformats/go-multiaddr") + (synopsis "Composable and future-proof network addresses") + (description "Multiaddr is a standard way to represent addresses that +does the following: + +@itemize +@item Support any standard network protocols. +@item Self-describe (include protocols). +@item Have a binary packed format. +@item Have a nice string representation. +@item Encapsulate well. +@end itemize\n") + (license license:expat)))) + +(define-public go-github-com-multiformats-go-multiaddr-net + (let ((commit "1cb9a0e8a6de3c8a10f6cee60d01d793603c4f7e") + (revision "0")) + (package + (name "go-github-com-multiformats-go-multiaddr-net") + (version (git-version "1.6.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multiaddr-net.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ypgi47xdz3bh8lh7f8cmk7w3ql9g4izx5l3kzdg9gda1xn5zxq3")))) + (build-system go-build-system) + (arguments + (quote (#:import-path "github.com/multiformats/go-multiaddr-net" + ;; TODO: Tests fail because they try to access the network. + #:tests? #f))) + (native-inputs + `(("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr) + ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)))) + (home-page "https://github.com/multiformats/go-multiaddr-net") + (synopsis "Multiaddress net tools") + (description "This package provides Multiaddr specific versions of +common functions in stdlib's @command{net} package. This means wrappers of +standard net symbols like @command{net.Dial} and @command{net.Listen}, as well +as conversion to and from @command{net.Addr}.") + (license license:expat)))) + +(define-public go-github-com-whyrusleeping-tar-utils + (let ((commit "8c6c8ba81d5c71fd69c0f48dbde4b2fb422b6dfc") + (revision "0")) + (package + (name "go-github-com-whyrusleeping-tar-utils") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/tar-utils.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/whyrusleeping/tar-utils")) + (home-page "https://github.com/whyrusleeping/tar-utils") + (synopsis "Tar utilities extracted from go-ipfs codebase") + (description "Tar utilities extracted from @command{go-ipfs} codebase.") + (license license:expat)))) + +(define-public go-github-com-cheekybits-is + (let ((commit "68e9c0620927fb5427fda3708222d0edee89eae9") + (revision "0")) + (package + (name "go-github-com-cheekybits-is") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cheekybits/is.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/cheekybits/is")) + (home-page "https://github.com/cheekybits/is") + (synopsis "Mini testing helper for Go") + (description "A mini testing helper for Go. + +@itemize +@item It has a simple interface (@command{is.OK} and @command{is.Equal}). +@item It plugs into existing Go toolchain (uses @command{testing.T}). +@item It's obvious for newcomers. +@item It also gives you @command{is.Panic} and @command{is.PanicWith} helpers +- because testing panics is ugly. +@end itemize\n") + (license license:expat)))) + +(define-public go-github-com-sabhiram-go-gitignore + (let ((commit "d3107576ba9425fc1c85f4b3569c4631b805a02e") + (revision "0")) + (package + (name "go-github-com-sabhiram-go-gitignore") + (version (git-version "1.0.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sabhiram/go-gitignore.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rdwyxgcsiwgmlqnc3k6h300mzlvjc3j21np4yh1h476wc8dvl0l")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/sabhiram/go-gitignore")) + (native-inputs + `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify))) + (home-page "https://github.com/sabhiram/go-gitignore") + (synopsis "Gitignore parser for Go") + (description "A @command{.gitignore} parser for Go.") + (license license:expat)))) + +(define-public go-github-com-urfave-cli + (let ((commit "934abfb2f102315b5794e15ebc7949e4ca253920") + (revision "0")) + (package + (name "go-github-com-urfave-cli") + (version (git-version "1.19.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/urfave/cli.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0c5r8pgj3k48dfcwj8lw3cxkwkl8vh0fhvz5snfdwd0bcxdqx1yq")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/urfave/cli")) + (home-page "https://github.com/urfave/cli") + (synopsis "Simple, fast, and fun package for building command line apps in Go") + (description "@command{cli} is a simple, fast, and fun package for +building command line apps in Go. The goal is to enable developers to write +fast and distributable command line applications in an expressive way.") + (license license:expat)))) + +(define-public go-github-com-whyrusleeping-json-filter + (let ((commit "ff25329a9528f01c5175414f16cc0a6a162a5b8b") + (revision "0")) + (package + (name "go-github-com-whyrusleeping-json-filter") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/json-filter.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cai0drvx4c8j686l908vpcsz3mw3vxi3ziz94b0f3c5ylpj07j7")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/whyrusleeping/json-filter")) + (home-page "https://github.com/whyrusleeping/json-filter") + (synopsis "Library to query JSON objects marshalled into map[string]interface") + (description "A library to query JSON objects marshalled into +@command{map[string]interface{}}.") + (license license:expat)))) + +(define-public go-github-com-whyrusleeping-progmeter + (let ((commit "f3e57218a75b913eff88d49a52c1debf9684ea04") + (revision "0")) + (package + (name "go-github-com-whyrusleeping-progmeter") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/progmeter.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xs8rz6yhpvj9512c5v3b8dwr2kivywnyyfxzdfbr6fy1xc8zskb")))) + (build-system go-build-system) + (arguments + '(#:import-path + "github.com/whyrusleeping/progmeter")) + (home-page "https://github.com/whyrusleeping/progmeter") + (synopsis "Progress meter for Go") + (description "Progress meter for Go.") + (license license:expat)))) + +(define-public go-github-com-whyrusleeping-stump + (let ((commit "206f8f13aae1697a6fc1f4a55799faf955971fc5") + (revision "0")) + (package + (name "go-github-com-whyrusleeping-stump") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/stump.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1s40qdppjnk8gijk7x6kbviiqz62nz3h6gic2q9cwcmq8r5isw7n")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/whyrusleeping/stump")) + (home-page "https://github.com/whyrusleeping/stump") + (synopsis "Very basic logging package for Go") + (description "A simple log library, for when you don't really care to +have super fancy logs.") + (license license:expat)))) + +(define-public go-github-com-kr-fs + (let ((commit "1455def202f6e05b95cc7bfc7e8ae67ae5141eba") + (revision "0")) + (package + (name "go-github-com-kr-fs") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kr/fs.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11zg176x9hr9q7fsk95r6q0wf214gg4czy02slax4x56n79g6a7q")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/kr/fs")) + (home-page "https://github.com/kr/fs") + (synopsis "Filesystem-related functions for Go") + (description "Package fs provides filesystem-related functions.") + (license license:bsd-3)))) diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index cd639a4d39..0709a58610 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -147,7 +147,7 @@ between two other data points.") (define-public gama (package (name "gama") - (version "2.00") + (version "2.01") (source (origin (method url-fetch) @@ -155,7 +155,7 @@ between two other data points.") version ".tar.gz")) (sha256 (base32 - "1p51jlzr6qqqvzx0sq8j7fxqfij62c3pjcsb53vgx0jx0qdqyjba")))) + "1z3n5p69qglxq15l9g13cg78kyb0l6v8mbzqgc1fqkfbdk1mis0k")))) (build-system gnu-build-system) (arguments '(#:parallel-tests? #f)) ; race condition (native-inputs diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index cb314719b7..67b306de6d 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -156,14 +156,14 @@ model.") (define-public r-rgraphviz (package (name "r-rgraphviz") - (version "2.24.0") + (version "2.26.0") (source (origin (method url-fetch) (uri (bioconductor-uri "Rgraphviz" version)) (sha256 (base32 - "1037hzfxxcn46w6y88wm3kk2nixj0s8bk0hkmnshpxih3kmnvqby")))) + "0bp6517xsih0wng2rgkh9z4r1afqhwl3h04z6ssm7p4cdj0ahm4y")))) (properties `((upstream-name . "Rgraphviz"))) (build-system r-build-system) ;; FIXME: Rgraphviz bundles the sources of an older variant of diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index c3c1a4a580..6e184d3334 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -85,7 +85,8 @@ "blender-" version ".tar.gz")) (sha256 (base32 - "1g4kcdqmf67srzhi3hkdnr4z1ph4h9sza1pahz38mrj998q4r52c")))) + "1g4kcdqmf67srzhi3hkdnr4z1ph4h9sza1pahz38mrj998q4r52c")) + (patches (search-patches "blender-newer-ffmpeg.patch")))) (build-system cmake-build-system) (arguments (let ((python-version (version-major+minor (package-version python)))) @@ -141,7 +142,7 @@ ("libjpeg" ,libjpeg) ("libpng" ,libpng) ("libtiff" ,libtiff) - ("ffmpeg-2.8" ,ffmpeg-2.8) ; + ("ffmpeg" ,ffmpeg) ("fftw" ,fftw) ("jack" ,jack-1) ("libsndfile" ,libsndfile) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index cec10504c5..08f92df96c 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2018 Alex Vong ;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -304,6 +305,7 @@ functions which were removed.") (string-append "-Wl,-rpath=" (assoc-ref outputs "out") "/lib")) #t))) + #:python ,python-2 ;XXX: The bundled waf fails with Python 3.7.0. #:tests? #f)) ; no check target (inputs `(("gtk" ,gtk+-2) @@ -1412,7 +1414,12 @@ information.") (string-append (assoc-ref inputs "docbook-xsl") "/xml/xsl/docbook-xsl-" ,(package-version docbook-xsl) - "/html/chunk.xsl"))) + "/html/chunk.xsl")) + (("http://docbook.sourceforge.net/release/xsl/current/common/en.xml") + (string-append (assoc-ref inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl) + "/common/en.xml"))) #t)) (add-after 'patch-gtk-doc-scan 'patch-test-out (lambda _ @@ -1631,6 +1638,33 @@ it does not deal with windowing system surfaces, drawing, scene graphs, or input.") (license license:expat))) +(define-public spread-sheet-widget + (package + (name "spread-sheet-widget") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://alpha.gnu.org/gnu/ssw/" + name "-" version ".tar.gz")) + (sha256 + (base32 "1h93yyh2by6yrmkwqg38nd5knids05k5nqzcihc1hdwgzg3c4b8y")))) + (build-system gnu-build-system) + (native-inputs + `(("glib" ,glib "bin") ; for glib-genmarshal, etc. + ("pkg-config" ,pkg-config))) + ;; In 'Requires' of spread-sheet-widget.pc. + (propagated-inputs + `(("glib" ,glib) + ("gtk+" ,gtk+))) + (home-page "https://www.gnu.org/software/ssw/") + (synopsis "Gtk+ widget for dealing with 2-D tabular data") + (description + "GNU Spread Sheet Widget is a library for Gtk+ which provides a widget for +viewing and manipulating 2 dimensional tabular data in a manner similar to many +popular spread sheet programs.") + (license license:gpl3+))) + (define-public yad (package (name "yad") diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index bf2f2a14a4..c271c4b6a0 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014, 2015, 2018 Mark H Weaver ;;; Copyright © 2015, 2017 Christopher Allan Webber ;;; Copyright © 2016 Alex Sassmannshausen -;;; Copyright © 2016, 2017 Ricardo Wurmus +;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016 Erik Edrosa ;;; Copyright © 2016 Eraim Flashner ;;; Copyright © 2016, 2017 Alex Kost @@ -12,7 +12,7 @@ ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2017 Andy Wingo ;;; Copyright © 2017 David Thompson -;;; Copyright © 2017 Mathieu Othacehe +;;; Copyright © 2017, 2018 Mathieu Othacehe ;;; Copyright © 2017 Theodoros Foradis ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice @@ -68,6 +68,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages image) #:use-module (gnu packages version-control) + #:use-module (gnu packages slang) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (gnu packages networking) @@ -485,10 +486,7 @@ AM_SCM_LOG_FLAGS = --no-auto-compile -s") ;; FIXME: one of the database tests fails for unknown ;; reasons. It does not fail when run outside of Guix. (("tests/database.scm") "")) - #t)) - (add-after 'fix-bug-22 'autogen - (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) + #t))))) (inputs `(("guile" ,guile-2.0))) (native-inputs @@ -828,14 +826,6 @@ provides tight coupling to Guix.") (base32 "0qjjvadr7gibdq9jvwkmlkb4afsw9n2shfj9phpiadinxk3p4m2g")))) (build-system gnu-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ - ;; Repository comes with a broken symlink - (delete-file "README") - (symlink "README.org" "README") - (zero? (system* "autoreconf" "-fi"))))))) (native-inputs `(("autoconf" ,autoconf-wrapper) ("automake" ,automake) @@ -908,16 +898,13 @@ for Guile\".") (home-page "https://github.com/aconchillo/guile-json") (source (origin (method url-fetch) - (uri (string-append home-page "/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "https://download.savannah.nongnu.org/releases/" + name "/" name "-" version ".tar.gz")) (sha256 (base32 - "02kqv0q98fmchn7i4y7ycmrjlh4b2c93ij0z7k036qwpp204w4gh")))) + "15gnb84d7hpazqhskkf3g9z4r6knw54wfj4ch5270kakz1lp70c9")))) (build-system gnu-build-system) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("pkg-config" ,pkg-config) + (native-inputs `(("pkg-config" ,pkg-config) ("guile" ,guile-2.2))) (inputs `(("guile" ,guile-2.2))) (synopsis "JSON module for Guile") @@ -1112,7 +1099,7 @@ Guile's foreign function interface.") (package (name "guile-sqlite3") (version "0.1.0") - (home-page "https://notabug.org/civodul/guile-sqlite3.git") + (home-page "https://notabug.org/guile-sqlite3/guile-sqlite3.git") (source (origin (method git-fetch) (uri (git-reference @@ -1141,14 +1128,14 @@ Guile's foreign function interface.") (define-public haunt (package (name "haunt") - (version "0.2.2") + (version "0.2.4") (source (origin (method url-fetch) (uri (string-append "https://files.dthompson.us/haunt/haunt-" version ".tar.gz")) (sha256 (base32 - "0nm00krmqq4zmqi2irh35dbf2cn6al58s620hijmhfvhgvdqznlp")))) + "056z4znikk83nr5mr0x2ac3iinqbywa2bvb37mhr566a1q50isfc")))) (build-system gnu-build-system) (arguments `(#:modules ((ice-9 match) (ice-9 ftw) @@ -1549,10 +1536,7 @@ $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n")) (("^guilesitedir =.*$") "guilesitedir = \ $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n")) - #t)) - (add-after 'unpack 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) + #t))))) (home-page "https://github.com/artyom-poptsov/guile-dsv") (synopsis "DSV module for Guile") (description @@ -2066,8 +2050,8 @@ convenient nested tree operations.") (license license:gpl3+))) (define-public guile-simple-zmq - (let ((commit "5bb66a0499f94006cfd18b58e80ad6623f911c31") - (revision "2")) + (let ((commit "68bedb6679716214fb9d3472da57544526f7a618") + (revision "3")) (package (name "guile-simple-zmq") (version (git-version "0.0.0" revision commit)) @@ -2079,7 +2063,7 @@ convenient nested tree operations.") (commit commit))) (sha256 (base32 - "0dj1brjqa7m4k71sf94aq26ca0la3nr894kfmjnqkpawqfp4dyaz")) + "1ad3xg69qqviy1f6dnlw0ysmfdbmp1jq65rfqb8nfd8dsrq2syli")) (file-name (git-file-name name version)))) (build-system guile-build-system) (arguments @@ -2243,4 +2227,93 @@ using S-expressions.") tracker's SOAP service, such as @url{https://bugs.gnu.org}.") (license license:gpl3+))) +(define-public guile-email + (let ((commit "fa52eac55e5946db89621a6c583d2aa357864dee") + (revision "1")) + (package + (name "guile-email") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.systemreboot.net/guile-email") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1037mbz7qd9bzaqp8ysyhnl9ipd97fmj3b9jr8qfzx9179vvsj63")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("guile" ,guile-2.2))) + (home-page "https://git.systemreboot.net/guile-email") + (synopsis "Guile email parser") + (description "This package provides an email parser written in pure +Guile.") + (license license:agpl3+)))) + +(define-public guile-debbugs-next + (let ((commit "75a331d561c8b6f8efcf16216dab961c17759efe") + (revision "1")) + (package (inherit guile-debbugs) + (name "guile-debbugs") + (version (git-version "0.0.3" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/guile-debbugs.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0br3mgbw41bpc9x57jlghl0i8dz9nl63r4wzs5l47aqszf84870y")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("texinfo" ,texinfo))) + (inputs + `(("guile" ,guile-2.2) + ("guile-email" ,guile-email)))))) + +;; There has not been any release yet. +(define-public guile-newt + (let ((commit "a73889c57b0572347f7641facdb1bcf08922feff") + (revision "2")) + (package + (name "guile-newt") + (version (string-append "0-" revision "." (string-take commit 9))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/mothacehe/guile-newt") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0k37vir22r2sq121lyy74grfai4643s7kr55z01k4j0bh27i06c3")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags + '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings + (inputs + `(("guile" ,guile-2.2) + ("newt" ,newt))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (synopsis "Guile bindings to Newt") + (description + "This package provides bindings for Newt, a programming library for +color text mode, widget based user interfaces. The bindings are written in pure +Scheme by using Guile’s foreign function interface.") + (home-page "https://gitlab.com/mothacehe/guile-newt") + (license license:gpl3+)))) + ;;; guile.scm ends here diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 52bc3d0527..0a2a7dbb7b 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -22,11 +22,13 @@ #:use-module (gnu packages glib) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) + #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) @@ -232,3 +234,45 @@ such as the Turbo Boost ratio and Thermal Design Power (@dfn{TDP}) limits. MSR addresses differ (greatly) between processors, and any such modification can be dangerous and may void your CPU or system board's warranty.") (license license:gpl2))) ; cpuid.c is gpl2, {rd,wr}msr.c are gpl2+ + +(define-public wavemon + (package + (name "wavemon") + (version "0.8.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uoaerg/wavemon.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rqpp7rhl9rlwnihsapaiy62v33h45fm3d0ia2nhdjw7fwkwcqvs")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list "CC=gcc" + ;; Makefile.in (ab)uses $(datadir) as $(docdir). Set it to Guix's + ;; standard --docdir since it's only used as such. + (string-append "datadir=" (assoc-ref %outputs "out") + "/share/doc/" ,name "-" ,version)) + #:tests? #f)) ; no tests + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libcap" ,libcap) + ("libnl" ,libnl) + ("ncurses" ,ncurses))) + (home-page "https://github.com/uoaerg/wavemon") + (synopsis "Wireless network device monitor") + (description + "Wavemon is a wireless device monitor with an interactive ncurses terminal +interface. It can display and plot signal and noise levels in real time. It +also reports packet statistics, device configuration, network parameters, and +access points and other wireless clients of your wireless network hardware. + +Wavemon should work (with varying levels of detail and features) with any device +supported by the Linux kernel.") + ;; Source file headers still say GPL2+, but the authorial intent + ;; (from COPYING and the F9 'about' screen) is clearly GPL3+. + (license license:gpl3+))) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index d6c1fb5e64..938cb116ca 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2015, 2016, 2017 Manolis Fragkiskos Ragkousis +;;; Copyright © 2018 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,17 +25,25 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) + #:use-module (gnu packages autotools) #:use-module (gnu packages flex) #:use-module (gnu packages bison) #:use-module (gnu packages perl) #:use-module (gnu packages base) #:use-module (guix git-download) - #:export (hurd-triplet?)) + #:export (hurd-triplet? + hurd-target?)) (define (hurd-triplet? triplet) (and (string-suffix? "-gnu" triplet) (not (string-contains triplet "linux")))) +(define (hurd-target?) + "Return true if the cross-compilation target or the current system is +GNU/Hurd." + (or (and=> (%current-target-system) hurd-triplet?) + (string-suffix? (%current-system) "-gnu"))) + (define (gnumach-source-url version) (string-append "mirror://gnu/gnumach/gnumach-" version ".tar.gz")) @@ -43,6 +52,10 @@ (string-append "mirror://gnu/hurd/hurd-" version ".tar.gz")) +(define (patch-url repository commit) + (string-append "https://git.savannah.gnu.org/cgit/hurd/" repository + ".git/patch/?id=" commit)) + (define-public gnumach-headers (package (name "gnumach-headers") @@ -53,7 +66,24 @@ (uri (gnumach-source-url version)) (sha256 (base32 - "02hygsfpd2dljl5lg1vjjg9pizi9jyxd4aiiqzjshz6jax62jm9f")))) + "02hygsfpd2dljl5lg1vjjg9pizi9jyxd4aiiqzjshz6jax62jm9f")) + (patches (list (origin + ;; This patch adds , which defines the + ;; VM_WIRE_* constants needed by glibc 2.28. + (method url-fetch) + (uri (patch-url "gnumach" "2b0f19f602e08fd9d37268233b962674fd592634")) + (sha256 + (base32 + "01iajnwsmka0w9hwjkxxijc4xfhwqbvlkw1w8n71hpnhfixd0y28")) + (file-name "gnumach-vm-wire-header.patch")))) + (modules '((guix build utils))) + (snippet + '(begin + ;; Actually install vm_wire.h. + (substitute* "Makefile.in" + (("^include_mach_HEADERS =") + "include_mach_HEADERS = include/mach/vm_wire.h")) + #t)))) (build-system gnu-build-system) (arguments `(#:phases @@ -110,56 +140,71 @@ communication.") (license gpl2+))) (define-public hurd-headers - (package - (name "hurd-headers") - (version "0.9") - (source (origin - (method url-fetch) - (uri (hurd-source-url version)) - (sha256 - (base32 - "1nw9gly0n7pyv3cpfm4mmxy4yccrx4g0lyrvd3vk2vil26jpbggw")))) - (build-system gnu-build-system) - (native-inputs - `(("mig" ,mig))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'install - (lambda _ - (invoke "make" "install-headers" "no_deps=t"))) - (delete 'build)) + ;; Resort to a post-0.9 snapshot that provides the 'file_utimens' and + ;; 'file_exec_paths' RPCs that glibc 2.28 expects. + (let ((revision "0") + (commit "98b33905c89b7e5c309c74ae32302a5745901a6e")) + (package + (name "hurd-headers") + (version "0.9") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/hurd/hurd.git") + (commit commit))) + (sha256 + (base32 + "1mj22sxgscas2675vrbxr477mwbxdj68pqcrh65lbir8qlssrgrf")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs + `(("mig" ,mig) + ("autoconf" ,autoconf) + ("automake" ,automake))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'install + (lambda _ + (invoke "make" "install-headers" "no_deps=t"))) + (delete 'build)) - #:configure-flags '(;; Pretend we're on GNU/Hurd; 'configure' wants - ;; that. - ,@(if (%current-target-system) - '() - '("--host=i586-pc-gnu")) + #:configure-flags '( ;; Pretend we're on GNU/Hurd; 'configure' wants + ;; that. + ,@(if (%current-target-system) + '() + '("--host=i586-pc-gnu")) - ;; Reduce set of dependencies. - "--without-parted" - "--disable-ncursesw" - "--disable-test" - "--without-libbz2" - "--without-libz" - ;; Skip the clnt_create check because it expects - ;; a working glibc causing a circular dependency. - "ac_cv_search_clnt_create=no") + ;; Reduce set of dependencies. + "--without-parted" + "--disable-ncursesw" + "--disable-test" + "--without-libbz2" + "--without-libz" + ;; Skip the clnt_create check because it expects + ;; a working glibc causing a circular dependency. + "ac_cv_search_clnt_create=no" - #:tests? #f)) - (home-page "https://www.gnu.org/software/hurd/hurd.html") - (synopsis "GNU Hurd headers") - (description - "This package provides C headers of the GNU Hurd, used to build the GNU C + ;; Annihilate the checks for the 'file_exec_paths' + ;; & co. libc functions to avoid "link tests are + ;; not allowed after AC_NO_EXECUTABLES" error. + "ac_cv_func_file_exec_paths=no" + "ac_cv_func_exec_exec_paths=no" + "ac_cv_func__hurd_exec_paths=no" + "ac_cv_func_file_futimens=no") + + #:tests? #f)) + (home-page "https://www.gnu.org/software/hurd/hurd.html") + (synopsis "GNU Hurd headers") + (description + "This package provides C headers of the GNU Hurd, used to build the GNU C Library and other user programs.") - (license gpl2+))) + (license gpl2+)))) (define-public hurd-minimal (package (inherit hurd-headers) (name "hurd-minimal") (inputs `(("glibc-hurd-headers" ,glibc/hurd-headers))) - (native-inputs - `(("mig" ,mig))) (arguments (substitute-keyword-arguments (package-arguments hurd-headers) ((#:phases _) @@ -178,6 +223,11 @@ Library and other user programs.") #t))) (replace 'build (lambda _ + ;; Install & co. + (invoke "make" "-Clibshouldbeinlibc" + "../include/assert-backtrace.h") + + ;; Build libihash. (invoke "make" "-Clibihash" "libihash.a"))))))) (home-page "https://www.gnu.org/software/hurd/hurd.html") (synopsis "GNU Hurd libraries") diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 08fce5f6fb..a2687ac8c3 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Chris Marusich ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Meiyo Peng ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,185 +25,193 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages anthy) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages boost) + #:use-module (gnu packages cmake) #:use-module (gnu packages databases) + #:use-module (gnu packages datastructures) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages iso-codes) + #:use-module (gnu packages logging) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages serialization) + #:use-module (gnu packages textutils) #:use-module (gnu packages xorg)) (define-public ibus (package - (name "ibus") - (version "1.5.19") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/ibus/ibus/" - "releases/download/" - version "/ibus-" version ".tar.gz")) - (sha256 - (base32 - "0a94bnpm24581317hdnihwr4cniriml10p4ffgxg14xhvaccfrjb")))) - (build-system glib-or-gtk-build-system) - (arguments - `(#:tests? #f ; tests fail because there's no connection to dbus - #:configure-flags `("--disable-emoji-dict" ; cannot find emoji.json path - "--disable-python2" - "--enable-python-library" - ,(string-append "--with-ucd-dir=" - (getcwd) "/ucd") - "--enable-wayland") - #:make-flags - (list "CC=gcc" - (string-append "pyoverridesdir=" - (assoc-ref %outputs "out") - "/lib/python3.6/site-packages/gi/overrides/")) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'prepare-ucd-dir - (lambda* (#:key inputs #:allow-other-keys) - (mkdir-p "../ucd") - (symlink (assoc-ref inputs "unicode-blocks") "../ucd/Blocks.txt") - (symlink (assoc-ref inputs "unicode-nameslist") "../ucd/NamesList.txt") - #t)) - (add-before 'configure 'disable-dconf-update - (lambda _ - (substitute* "data/dconf/Makefile.in" - (("dconf update") "echo dconf update")) - #t)) - (add-after 'unpack 'delete-generated-files - (lambda _ - (for-each (lambda (file) - (let ((c (string-append (string-drop-right file 4) "c"))) - (when (file-exists? c) - (format #t "deleting ~a\n" c) - (delete-file c)))) - (find-files "." "\\.vala")) - #t)) - (add-after 'unpack 'fix-paths - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "src/ibusenginesimple.c" - (("/usr/share/X11/locale") - (string-append (assoc-ref inputs "libx11") - "/share/X11/locale"))) - (substitute* "ui/gtk3/xkblayout.vala" - (("\"(setxkbmap|xmodmap)\"" _ prog) - (string-append "\"" (assoc-ref inputs prog) "\""))) - #t)) - (add-after 'wrap-program 'wrap-with-additional-paths - (lambda* (#:key outputs #:allow-other-keys) - ;; Make sure 'ibus-setup' runs with the correct PYTHONPATH and - ;; GI_TYPELIB_PATH. - (let ((out (assoc-ref outputs "out"))) - (wrap-program (string-append out "/bin/ibus-setup") - `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))) - `("GI_TYPELIB_PATH" ":" prefix - (,(getenv "GI_TYPELIB_PATH") - ,(string-append out "/lib/girepository-1.0"))))) - #t))))) - (inputs - `(("dbus" ,dbus) - ("dconf" ,dconf) - ("gconf" ,gconf) - ("gtk2" ,gtk+-2) - ("gtk+" ,gtk+) - ("intltool" ,intltool) - ("json-glib" ,json-glib) - ("libnotify" ,libnotify) - ("libx11" ,libx11) - ("setxkbmap" ,setxkbmap) - ("wayland" ,wayland) - ("xmodmap" ,xmodmap) - ("iso-codes" ,iso-codes) - ("pygobject2" ,python-pygobject) - ("python" ,python))) - (native-inputs - `(("glib" ,glib "bin") ; for glib-genmarshal - ("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler - ("unicode-nameslist" - ,(origin - (method url-fetch) - (uri "https://www.unicode.org/Public/UNIDATA/NamesList.txt") - (sha256 - (base32 "0yr2h0nfqhirfi3bxl33z6cc94qqshlpgi06c25xh9754irqsgv8")))) - ("unicode-blocks" - ,(origin - (method url-fetch) - (uri "https://www.unicode.org/Public/UNIDATA/Blocks.txt") - (sha256 - (base32 "0lnh9iazikpr548bd7nkaq9r3vfljfvz0rg2462prac8qxk7ni8b")))) - ("vala" ,vala) - ("pkg-config" ,pkg-config))) - (native-search-paths - (list (search-path-specification - (variable "IBUS_COMPONENT_PATH") - (files '("share/ibus/component"))))) - (synopsis "Input method framework") - (description - "IBus is an input framework providing a full-featured and user-friendly + (name "ibus") + (version "1.5.19") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ibus/ibus/" + "releases/download/" + version "/ibus-" version ".tar.gz")) + (sha256 + (base32 + "0a94bnpm24581317hdnihwr4cniriml10p4ffgxg14xhvaccfrjb")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:tests? #f ; tests fail because there's no connection to dbus + #:configure-flags `("--disable-emoji-dict" ; cannot find emoji.json path + "--disable-python2" + "--enable-python-library" + ,(string-append "--with-ucd-dir=" + (getcwd) "/ucd") + "--enable-wayland") + #:make-flags + (list "CC=gcc" + (string-append "pyoverridesdir=" + (assoc-ref %outputs "out") + "/lib/python3.6/site-packages/gi/overrides/")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'prepare-ucd-dir + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p "../ucd") + (symlink (assoc-ref inputs "unicode-blocks") "../ucd/Blocks.txt") + (symlink (assoc-ref inputs "unicode-nameslist") "../ucd/NamesList.txt") + #t)) + (add-before 'configure 'disable-dconf-update + (lambda _ + (substitute* "data/dconf/Makefile.in" + (("dconf update") "echo dconf update")) + #t)) + (add-after 'unpack 'delete-generated-files + (lambda _ + (for-each (lambda (file) + (let ((c (string-append (string-drop-right file 4) "c"))) + (when (file-exists? c) + (format #t "deleting ~a\n" c) + (delete-file c)))) + (find-files "." "\\.vala")) + #t)) + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/ibusenginesimple.c" + (("/usr/share/X11/locale") + (string-append (assoc-ref inputs "libx11") + "/share/X11/locale"))) + (substitute* "ui/gtk3/xkblayout.vala" + (("\"(setxkbmap|xmodmap)\"" _ prog) + (string-append "\"" (assoc-ref inputs prog) "\""))) + #t)) + (add-after 'wrap-program 'wrap-with-additional-paths + (lambda* (#:key outputs #:allow-other-keys) + ;; Make sure 'ibus-setup' runs with the correct PYTHONPATH and + ;; GI_TYPELIB_PATH. + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/ibus-setup") + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))) + `("GI_TYPELIB_PATH" ":" prefix + (,(getenv "GI_TYPELIB_PATH") + ,(string-append out "/lib/girepository-1.0"))))) + #t))))) + (inputs + `(("dbus" ,dbus) + ("dconf" ,dconf) + ("gconf" ,gconf) + ("gtk2" ,gtk+-2) + ("gtk+" ,gtk+) + ("intltool" ,intltool) + ("json-glib" ,json-glib) + ("libnotify" ,libnotify) + ("libx11" ,libx11) + ("setxkbmap" ,setxkbmap) + ("wayland" ,wayland) + ("xmodmap" ,xmodmap) + ("iso-codes" ,iso-codes) + ("pygobject2" ,python-pygobject) + ("python" ,python))) + (native-inputs + `(("glib" ,glib "bin") ; for glib-genmarshal + ("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler + ("unicode-nameslist" + ,(origin + (method url-fetch) + (uri "https://www.unicode.org/Public/UNIDATA/NamesList.txt") + (sha256 + (base32 "0yr2h0nfqhirfi3bxl33z6cc94qqshlpgi06c25xh9754irqsgv8")))) + ("unicode-blocks" + ,(origin + (method url-fetch) + (uri "https://www.unicode.org/Public/UNIDATA/Blocks.txt") + (sha256 + (base32 "0lnh9iazikpr548bd7nkaq9r3vfljfvz0rg2462prac8qxk7ni8b")))) + ("vala" ,vala) + ("pkg-config" ,pkg-config))) + (native-search-paths + (list (search-path-specification + (variable "IBUS_COMPONENT_PATH") + (files '("share/ibus/component"))))) + (synopsis "Input method framework") + (description + "IBus is an input framework providing a full-featured and user-friendly input method user interface. It comes with multilingual input support. It may also simplify input method development.") - (home-page "https://github.com/ibus/ibus/wiki") - (license lgpl2.1+))) + (home-page "https://github.com/ibus/ibus/wiki") + (license lgpl2.1+))) (define-public ibus-libpinyin (package - (name "ibus-libpinyin") - (version "1.10.0") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/libpinyin/ibus-libpinyin/" - "releases/download/" version - "/ibus-libpinyin-" version ".tar.gz")) - (sha256 - (base32 - "0yq8aw4lddiviag8cnik6fp52vvk8lxv6bym13a3xya84c6zii3c")))) - (build-system glib-or-gtk-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'wrap-program 'wrap-with-additional-paths - (lambda* (#:key inputs outputs #:allow-other-keys) - ;; Make sure 'ibus-setup-libpinyin' runs with the correct - ;; PYTHONPATH and GI_TYPELIB_PATH. - (let ((out (assoc-ref outputs "out"))) - (wrap-program (string-append out "/libexec/ibus-setup-libpinyin") - `("PYTHONPATH" ":" prefix - (,(getenv "PYTHONPATH") - ,(string-append (assoc-ref inputs "ibus") - "/lib/girepository-1.0"))) - `("GI_TYPELIB_PATH" ":" prefix - (,(string-append (assoc-ref inputs "ibus") - "/lib/girepository-1.0")))) - #t)))))) - (inputs - `(("ibus" ,ibus) - ("libpinyin" ,libpinyin) - ("bdb" ,bdb) - ("sqlite" ,sqlite) - ("python" ,python) - ("pyxdg" ,python-pyxdg) - ("gtk+" ,gtk+))) - (native-inputs - `(("pkg-config" ,pkg-config) - ("intltool" ,intltool) - ("glib" ,glib "bin"))) - (synopsis "Chinese pinyin and ZhuYin input methods for IBus") - (description - "This package includes a Chinese pinyin input method and a Chinese + (name "ibus-libpinyin") + (version "1.10.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/libpinyin/ibus-libpinyin/" + "releases/download/" version + "/ibus-libpinyin-" version ".tar.gz")) + (sha256 + (base32 + "0yq8aw4lddiviag8cnik6fp52vvk8lxv6bym13a3xya84c6zii3c")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'wrap-program 'wrap-with-additional-paths + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make sure 'ibus-setup-libpinyin' runs with the correct + ;; PYTHONPATH and GI_TYPELIB_PATH. + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/libexec/ibus-setup-libpinyin") + `("PYTHONPATH" ":" prefix + (,(getenv "PYTHONPATH") + ,(string-append (assoc-ref inputs "ibus") + "/lib/girepository-1.0"))) + `("GI_TYPELIB_PATH" ":" prefix + (,(string-append (assoc-ref inputs "ibus") + "/lib/girepository-1.0")))) + #t)))))) + (inputs + `(("ibus" ,ibus) + ("libpinyin" ,libpinyin) + ("bdb" ,bdb) + ("sqlite" ,sqlite) + ("python" ,python) + ("pyxdg" ,python-pyxdg) + ("gtk+" ,gtk+))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("glib" ,glib "bin"))) + (synopsis "Chinese pinyin and ZhuYin input methods for IBus") + (description + "This package includes a Chinese pinyin input method and a Chinese ZhuYin (Bopomofo) input method based on libpinyin for IBus.") - (home-page "https://github.com/libpinyin/ibus-libpinyin") - (license gpl2+))) + (home-page "https://github.com/libpinyin/ibus-libpinyin") + (license gpl2+))) (define-public libpinyin (package @@ -279,3 +288,369 @@ applications allow text input via IBus, installing this package will enable Japanese language input in most graphical applications.") (home-page "https://github.com/fujiwarat/ibus-anthy") (license gpl2+))) + +(define-public librime + (package + (name "librime") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/librime.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1y0h3nnz97smx9z8h5fzk4c27mvrwv8kajxffqc43bhyvxvb2jd6")))) + (build-system cmake-build-system) + (inputs + `(("boost" ,boost) + ("glog" ,glog) + ("leveldb" ,leveldb) + ("marisa" ,marisa) + ("opencc" ,opencc) + ("yaml-cpp" ,yaml-cpp))) + (home-page "https://rime.im/") + (synopsis "The core library of Rime Input Method Engine") + (description "@dfn{librime} is the core library of Rime Input Method +Engine, which is a lightweight, extensible input method engine supporting +various input schemas including glyph-based input methods, romanization-based +input methods as well as those for Chinese dialects. It has the ability to +compose phrases and sentences intelligently and provide very accurate +traditional Chinese output.") + (license bsd-3))) + +(define-public rime-data + (package + (name "rime-data") + (version "0.38.20181029") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/plum.git") + (commit "fb4f829da2007f2dbb37d60a79bc67c25ea16568"))) + (file-name "plum-checkout") + (sha256 + (base32 "1m1wiv9j5bay4saga58c7dj4h8gqivsbyp16y245ifvxvp9czj67")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "no_update=1") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; Set .DEFAULT_GOAL to `all'. + ;; Don't build binary schemas. The output is not deterministic. + (substitute* "Makefile" + (("^\\.DEFAULT_GOAL := preset") + ".DEFAULT_GOAL := all")) + #t)) + ;; Add schema packages into "package/rime" directory. + (add-after 'unpack 'add-packages + (lambda* (#:key inputs #:allow-other-keys) + (let* ((dest-dir "package/rime")) + (mkdir-p dest-dir) + (for-each (lambda (pkg) + (symlink (assoc-ref inputs pkg) + (string-append dest-dir "/" pkg))) + '("array" + "bopomofo" + "cangjie" + "combo-pinyin" + "double-pinyin" + "emoji" + "essay" + "ipa" + "jyutping" + "luna-pinyin" + "middle-chinese" + "pinyin-simp" + "prelude" + "quick" + "scj" + "soutzoe" + "stenotype" + "stroke" + "terra-pinyin" + "wubi" + "wugniu"))) + #t)) + (delete 'configure)))) + (native-inputs + `(("array" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-array.git") + (commit "906e923902147584b0b0247028a782abbfbfd8a0"))) + (file-name "rime-array-checkout") + (sha256 + (base32 + "1alk6ghn4ji4kvp7lfm57bwm2gjh99i79r0w9naz6wkdim8idvb1")))) + ("bopomofo" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-bopomofo.git") + (commit "8dc44ca1b6ef4e45b452e070b9da737f5da165e3"))) + (file-name "rime-bopomofo-checkout") + (sha256 + (base32 + "16k6wfhcrw3a77rmbrp21ca0gmsmb3f68s193c1cfwr8i68k46nf")))) + ("cangjie" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-cangjie.git") + (commit "ab085e90856b3399b374dc3c8b4cb40d11f307a8"))) + (file-name "rime-cangjie-checkout") + (sha256 + (base32 + "11fgj0rbv9nyzfijwm2l8pm8fznhif4h27ndrrcaaylkp7p5zsx2")))) + ("combo-pinyin" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-combo-pinyin.git") + (commit "f1bae63f20504f2b8113c5cbdf2700e858aa91eb"))) + (file-name "rime-combo-pinyin-checkout") + (sha256 + (base32 + "1l1079akwm1hw4kkn0q6x9fpylnl2ka6z2fn7lmdpfpsr0xgn0n7")))) + ("double-pinyin" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-double-pinyin.git") + (commit "2101a5cd40e511ec38835769aa66d2dddf059c2e"))) + (file-name "rime-double-pinyin-checkout") + (sha256 + (base32 + "19hh2qm0njbfk2js678hfm2hw9b796s43vs11yy3m1v9m0gk2vi7")))) + ("emoji" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-emoji.git") + (commit "6e6611b315f03ee4c33f958f9dbe960b13a0ed19"))) + (file-name "rime-emoji-checkout") + (sha256 + (base32 + "1brfs3214w36j3345di9ygp468hbvbqdqpkjxxs1dbp437rayhyy")))) + ("essay" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-essay.git") + (commit "5e5c7a0ef41c9b030abdad81a9df07b56b1661e9"))) + (file-name "rime-essay-checkout") + (sha256 + (base32 + "0ana9is0zhh79m4gjshvmaxbrg3jiqysydx5bpm151i7i6vw5y1i")))) + ("ipa" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-ipa.git") + (commit "02a9e2c181921a2e95e1a81f88188c41132755c3"))) + (file-name "rime-ipa-checkout") + (sha256 + (base32 + "1szrxgvqlgmxapj2aflw2cvbv0p6pl0sw0gyxa13dvdhhf7s9rvr")))) + ("jyutping" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-jyutping.git") + (commit "1402ec3d6cc0973f952fe3f9ef531294e4ffe9e0"))) + (file-name "rime-jyutping-checkout") + (sha256 + (base32 + "17g03dy4gw6vyc9da1wjn3iy9hx64dfnwiwsfc7bkzan22x2m4dv")))) + ("luna-pinyin" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-luna-pinyin.git") + (commit "3b05132576f5c347ff8a70857d2dae080936ac3b"))) + (file-name "rime-luna-pinyin-checkout") + (sha256 + (base32 + "0kgnpxjn10dm2d9718r12rdjlwqd2s2h84jvkhxhh5v0dkv1anl2")))) + ("middle-chinese" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-middle-chinese.git") + (commit "9ba8d70330654b9a730f882d35cfad7dbeddfd75"))) + (file-name "rime-middle-chinese-checkout") + (sha256 + (base32 + "0hwg5zby5kphh0bcfay8mfxwr5bwqhamiw3cmmmf7kp9fbns5s23")))) + ("pinyin-simp" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-pinyin-simp.git") + (commit "74357ffd62c05fb60edf6eab5b86bc8c8c1907d0"))) + (file-name "rime-pinyin-simp-checkout") + (sha256 + (base32 + "1paw3c7pv5bl54abnp9pidfxrkchdacyxy5m9zb311p5sgm7fhxh")))) + ("prelude" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-prelude.git") + (commit "33040568c3ddb2ee6340c9b669494317db21b77c"))) + (file-name "rime-prelude-checkout") + (sha256 + (base32 + "1gwcasyyg6f0ib6s4qsrrjcqr1lcs7j3xqxl65rznsw44nhnbwwq")))) + ("quick" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-quick.git") + (commit "910a97d403ad8e72f322488da146da79c19d623f"))) + (file-name "rime-quick-checkout") + (sha256 + (base32 + "0yrq3gbfmm29xlr52rmxc41mqfrb0295q7sdhbc3ax71677mpr0y")))) + ("scj" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-scj.git") + (commit "e0eae889f4376d2a434ac3b38523e0da7400db68"))) + (file-name "rime-scj-checkout") + (sha256 + (base32 + "1whnv9zs349kvy0zi7dnmpqwil8i6gqwrzvhy3qdrjzy58y6gwxn")))) + ("soutzoe" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-soutzoe.git") + (commit "e47841a8ad6341731c41cdb814b7a25c837603c4"))) + (file-name "rime-soutzoe-checkout") + (sha256 + (base32 + "1rgpmkxa72jy6gyy44fn8azpk3amk9s9lrdf7za03nv95d0fvm0p")))) + ("stenotype" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-stenotype.git") + (commit "d4ff379314fd95283853d1734854979cf3cbd287"))) + (file-name "rime-stenotype-checkout") + (sha256 + (base32 + "1kckpi4l4884hvydr3d6vid3v7rsc1app29kmk7v8jf8vn16afhl")))) + ("stroke" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-stroke.git") + (commit "cfd29c675c46cf70b7a7f0a3836a913059316a0a"))) + (file-name "rime-stroke-checkout") + (sha256 + (base32 + "135is9c1p4lm98fd9l1gxyflkm69cv5an129ka7sk614bq84m08d")))) + ("terra-pinyin" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-terra-pinyin.git") + (commit "15b5c73a796571cd6f9ef6c89f96656cb9df86f9"))) + (file-name "rime-terra-pinyin-checkout") + (sha256 + (base32 + "1xsd84h1zw417h5hr4dbgyk5009zi7q2p9774w3ccr5sxgc3i3cm")))) + ("wubi" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-wubi.git") + (commit "d44403728a0b1cd8b47cb1f81b83f58e5f790b74"))) + (file-name "rime-wubi-checkout") + (sha256 + (base32 + "0ld31bdn94lncxd1ka44w4sbl03skh08mc927dhdmwq5bpvrgn36")))) + ("wugniu" + ,(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/rime-wugniu.git") + (commit "65bcc354ada3839591d7546a64c71dbdd0592b02"))) + (file-name "rime-wugniu-checkout") + (sha256 + (base32 + "0g31awp40s778sp5c290x40s8np86n8aw011s17sslxrqhhb0bkx")))))) + (home-page "https://rime.im/") + (synopsis "Schema data of Rime Input Method Engine") + (description "@dfn{rime-data} provides the schema data of Rime Input +Method Engine.") + (license lgpl3+))) + +(define-public ibus-rime + (package + (name "ibus-rime") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rime/ibus-rime.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nqi7ymv34a9kx24say3xj98lkrs9nkpv1n2ijb91wdz3cr012ly")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Define RIME_DATA_DIR. It's required but not used by the code. + (substitute* "Makefile" + (("cmake") + (string-append "cmake -DRIME_DATA_DIR=" + (assoc-ref inputs "rime-data") + "/share/rime-data"))) + ;; rime_config.h defines the actual data directory. + (substitute* "rime_config.h" + (("^#define IBUS_RIME_INSTALL_PREFIX .*$") + (string-append "#define IBUS_RIME_INSTALL_PREFIX \"" + (assoc-ref outputs "out") + "\"\n")) + (("^#define IBUS_RIME_SHARED_DATA_DIR .*$") + (string-append "#define IBUS_RIME_SHARED_DATA_DIR \"" + (assoc-ref inputs "rime-data") + "/share/rime-data\"\n"))) + #t)) + (delete 'configure)))) + (inputs + `(("gdk-pixbuf" ,gdk-pixbuf) + ("glib" ,glib) + ("ibus" ,ibus) + ("libnotify" ,libnotify) + ("librime" ,librime) + ("rime-data" ,rime-data))) + (native-inputs + `(("cmake" ,cmake) + ("pkg-config" ,pkg-config))) + (home-page "https://rime.im/") + (synopsis "Rime Input Method Engine for IBus") + (description "@dfn{ibus-rime} provides the Rime input method engine for +IBus. Rime is a lightweight, extensible input method engine supporting +various input schemas including glyph-based input methods, romanization-based +input methods as well as those for Chinese dialects. It has the ability to +compose phrases and sentences intelligently and provide very accurate +traditional Chinese output.") + (license gpl3+))) diff --git a/gnu/packages/idutils.scm b/gnu/packages/idutils.scm index abab0c16bf..81715591b4 100644 --- a/gnu/packages/idutils.scm +++ b/gnu/packages/idutils.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2015 Ludovic Courtès +;;; Copyright © 208 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,20 @@ (sha256 (base32 "1hmai3422iaqnp34kkzxdnywl7n7pvlxp11vrw66ybxn9wxg90c1")) - (patches (search-patches "diffutils-gets-undeclared.patch")))) + (patches (search-patches "diffutils-gets-undeclared.patch")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* (find-files "lib" "\\.c$") + (("#if defined _IO_ftrylockfile") + "#if defined _IO_EOF_SEEN")) + (substitute* "lib/stdio-impl.h" + (("^/\\* BSD stdio derived implementations") + (string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n" + "# define _IO_IN_BACKUP 0x100\n" + "#endif\n\n" + "/* BSD stdio derived implementations"))) + #t)))) (build-system gnu-build-system) (native-inputs `(("emacs" ,emacs-minimal))) (home-page "https://www.gnu.org/software/idutils/") diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 512795ce89..62f6674691 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -28,6 +28,7 @@ (define-module (gnu packages image-viewers) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) @@ -60,7 +61,7 @@ (define-public feh (package (name "feh") - (version "2.28") + (version "3.1.1") (home-page "https://feh.finalrewind.org/") (source (origin (method url-fetch) @@ -68,7 +69,7 @@ name "-" version ".tar.bz2")) (sha256 (base32 - "1nfka7w6pzj2bbwx8vydr2wwm7z8mrbqiy1xrq97c1g5bxy2vlhk")))) + "1sy8z6rv5sy1bhk3846hgfdy96wdi874yr2fnxfprks46qp29l31")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure)) @@ -191,14 +192,14 @@ It is the default image viewer on LXDE desktop environment.") (name "sxiv") (version "24") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/muennich/sxiv/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/muennich/sxiv.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "044i077li6m4zsz2fswlcdi2m0sbr9mwws1h3k1zjaln29fw87ai")))) + "020n1bdxbzqncprh8a4rnjzc4frp335yxbqh5w6dr970f7n5qm8d")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target @@ -287,13 +288,14 @@ your images. Among its features are: (version "2.4.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/posva/catimg/archive" - "/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/posva/catimg.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1rwgbq2imd5l4nql5hrz7rr5f4gz8aad1amlf0j3cxir8slpbd1y")))) + "1sk74nfc1aklg784pzknr37dyz4k7h9fck3mifpn43rav5qy2zpy")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 1113df1ca6..207faede91 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -20,6 +20,8 @@ ;;; Copyright © 2018 Fis Trivial ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2018 Marius Bakke +;;; Copyright © 2018 Pierre-Antoine Rouby +;;; Copyright © 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +45,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages curl) #:use-module (gnu packages compression) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) @@ -134,15 +137,15 @@ library. It supports almost all PNG features and is extensible.") (add-after 'unpack 'patch-apng (lambda* (#:key inputs #:allow-other-keys) (define (apply-patch file) - (zero? (system* "patch" "-p1" "--force" - "--input" file))) + (invoke "patch" "-p1" "--force" + "--input" file)) (let ((apng.gz (assoc-ref inputs "apng"))) (format #t "Applying APNG patch '~a'...~%" apng.gz) - (and - (zero? - (system (string-append "gunzip < " apng.gz " > the-patch"))) - (apply-patch "the-patch"))))) + (invoke "sh" "-c" + (string-append "gunzip < " apng.gz " > the-patch")) + (apply-patch "the-patch") + #t))) (add-before 'configure 'no-checks (lambda _ (substitute* "Makefile.in" @@ -237,7 +240,8 @@ in-memory raw vectors.") (string-append vardef (assoc-ref inputs "zlib") "/")) ;; The Makefile is written by hand and not using $PREFIX (("\\$\\(DESTDIR\\)/usr/") - (string-append (assoc-ref outputs "out") "/")))))))) + (string-append (assoc-ref outputs "out") "/"))) + #t))))) (inputs `(("libpng" ,libpng) ("zlib" , zlib))) @@ -251,6 +255,61 @@ files. It can compress them as much as 40% losslessly.") ;; This package used to be wrongfully name "pngcrunch". (deprecated-package "pngcrunch" pngcrush)) +(define-public pnglite + (let ((commit "11695c56f7d7db806920bd9229b69f230e6ffb38") + (revision "1")) + (package + (name "pnglite") + ;; The project was moved from sourceforge to github. + ;; The latest version in sourceforge was 0.1.17: + ;; https://sourceforge.net/projects/pnglite/files/pnglite/ + ;; No releases are made in github. + (version (git-version "0.1.17" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dankar/pnglite") + (commit commit))) + (sha256 + (base32 + "1lmmkdxby5b8z9kx3zrpgpk33njpcf2xx8z9bgqag855sjsqbbby")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + ;; common build flags for building shared libraries + (let ((cflags '("-O2" "-g" "-fPIC")) + (ldflags '("-shared"))) + (apply invoke + `("gcc" + "-o" "libpnglite.so" + ,@cflags + ,@ldflags + "pnglite.c")) + #t))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib/")) + (include (string-append out "/include/")) + (doc (string-append out "/share/doc/" + ,name "-" ,version "/"))) + (install-file "libpnglite.so" lib) + (install-file "pnglite.h" include) + (install-file "README.md" doc) + #t)))))) + (inputs `(("zlib" ,zlib))) + (home-page "https://github.com/dankar/pnglite") + (synopsis "Pretty small png library") + (description "A pretty small png library. +Currently all documentation resides in @file{pnglite.h}.") + (license license:zlib)))) + (define-public libjpeg (package (name "libjpeg") @@ -442,13 +501,13 @@ collection of tools for doing simple manipulations of TIFF images.") (version "1.74.4") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/DanBloomberg/leptonica/archive/" version - ".tar.gz")) - (file-name (string-append "leptonica-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/DanBloomberg/leptonica.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "10pw7pwccd0m0fc9rlrr2m41s7j1qvba2wcrav17pw1gclkf34i0")))) + (base32 "0sfg1ky0lghlq7xx0qii5167bim0wwfnnr83dl4skbj9awyvjiwi")))) (build-system gnu-build-system) (native-inputs `(("gnuplot" ,gnuplot) ;needed for test suite @@ -471,14 +530,15 @@ collection of tools for doing simple manipulations of TIFF images.") (modify-phases %standard-phases (add-after 'unpack 'autogen (lambda _ - (zero? (system* "sh" "autobuild")))) + (invoke "sh" "autobuild"))) (add-after 'unpack 'patch-reg-wrapper (lambda _ (substitute* "prog/reg_wrapper.sh" ((" /bin/sh ") (string-append " " (which "sh") " ")) (("which gnuplot") - "true"))))))) + "true")) + #t))))) (home-page "http://www.leptonica.com/") (synopsis "Library and tools for image processing and analysis") (description @@ -896,7 +956,7 @@ language bindings to VIGRA.") (define-public libwebp (package (name "libwebp") - (version "1.0.0") + (version "1.0.1") (source (origin ;; No tarballs are provided for >0.6.1. @@ -907,7 +967,7 @@ language bindings to VIGRA.") (file-name (git-file-name name version)) (sha256 (base32 - "1w8jzdbr1s4238ygyrlxryycss3f2z6d9amxdq8m82nl3l6skar4")))) + "09l4pq4k2acglkmwr96arn79rssl54sv7vrdrgsxqlg7v8c882zh")))) (build-system gnu-build-system) (inputs `(("freeglut" ,freeglut) @@ -1042,13 +1102,14 @@ convert, manipulate, filter and display a wide variety of image formats.") (name "jasper") (version "2.0.14") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mdadams/jasper/archive/" - "version-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mdadams/jasper.git") + (commit (string-append "version-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0yx9y5y0g6jv142vnqp50j3k8k5yqznz3smrblv192wgfbm6w9l5")))) + "0aarg8nbik9wrm7fx0451sbm5ypfdfr6i169pxzi354mpdp8gg7f")))) (build-system cmake-build-system) (inputs `(("libjpeg" ,libjpeg))) (synopsis "JPEG-2000 library") @@ -1064,13 +1125,14 @@ ISO/IEC 15444-1).") (version "2.5") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/sekrit-twc/zimg/archive/" - "release-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/sekrit-twc/zimg.git") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0kbq2dy659645fmgxpzg38b6y6x82kwkydhc380kdkaikv2brcjh")))) + "05krggiifbl6hyg2j3z8qz2k7si84g1qg9snhsnf1ml7mrhqhhlr")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -1081,7 +1143,7 @@ ISO/IEC 15444-1).") (modify-phases %standard-phases (add-after 'unpack 'autogen (lambda _ - (zero? (system* "sh" "autogen.sh"))))))) + (invoke "sh" "autogen.sh")))))) (synopsis "Scaling, colorspace conversion, and dithering library") (description "Zimg implements the commonly required image processing basics of scaling, colorspace conversion, and depth conversion. A simple API enables @@ -1114,7 +1176,8 @@ the programmer.") ;; of the source tree, one level higher than expected (lambda _ (substitute* "test/run_tests.bash" - (("../build") "../../build"))))))) + (("../build") "../../build")) + #t))))) (home-page "https://github.com/myint/perceptualdiff") (synopsis "Perceptual image comparison utility") (description "PerceptualDiff visually compares two images to determine @@ -1313,12 +1376,14 @@ medical image data, e.g. magnetic resonance image (MRI) and functional MRI (name "gpick") (version "0.2.5") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/thezbyg/gpick/archive/" - name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/thezbyg/gpick.git") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0mxvxk15xhk2i5vfavjhnkk4j3bnii0gpf8di14rlbpq070hd5rs")))) + "0mcj806zagh122qgrdkrg0macpzby97y89xi2sjyn3bh8vmmyxjy")))) (build-system scons-build-system) (native-inputs `(("boost" ,boost) @@ -1374,13 +1439,14 @@ parsing, viewing, modifying, and saving this metadata.") (version "0.5.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/lupoDharkael/flameshot/archive/" - "v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lupoDharkael/flameshot.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0kp451bqgssvg8n3sg60s3fifplm9l5kxiij0yxkl864p2mhw8im")))) + "13h77np93r796jf289v4r687cmnpqkyqs34dm9gif4akaig74ky0")))) (build-system gnu-build-system) (native-inputs `(("qttools" ,qttools))) @@ -1476,3 +1542,31 @@ Two other programs are included with Gifsicle: @command{gifview} is a lightweight animated-GIF viewer, and @command{gifdiff} compares two GIFs for identical visual appearance.") (license license:gpl2+))) + +(define-public jp2a + (package + (name "jp2a") + (version "1.0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cslarsen/jp2a.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12a1z9ba2j16y67f41y8ax5sgv1wdjd71pg7circdxkj263n78ql")))) + (build-system gnu-build-system) + (inputs + `(("libjpeg" ,libjpeg) + ("curl" ,curl))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (home-page "https://csl.name/jp2a/") + (synopsis "Convert JPEG images to ASCII") + (description + "Jp2a is a small utility that converts JPEG images to ASCII.") + (license license:gpl2))) diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm index e29ec6255b..fe0923f479 100644 --- a/gnu/packages/imagemagick.scm +++ b/gnu/packages/imagemagick.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016 Mark H Weaver ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,14 +48,14 @@ ;; The 7 release series has an incompatible API, while the 6 series is still ;; maintained. Don't update to 7 until we've made sure that the ImageMagick ;; users are ready for the 7-series API. - (version "6.9.10-12") + (version "6.9.10-14") (source (origin (method url-fetch) (uri (string-append "mirror://imagemagick/ImageMagick-" version ".tar.xz")) (sha256 (base32 - "0ri96yqihdk921k5qx23y2sbhraxbp2avdccxiy6m3srjkirym2l")))) + "0vcfjvdk9in92x808djvy94l5gylpgds4a7mlr8jrxsv9snx88yi")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-frozenpaths" "--without-gcc-arch") diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm new file mode 100644 index 0000000000..82ef0ea028 --- /dev/null +++ b/gnu/packages/ipfs.scm @@ -0,0 +1,239 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Pierre Neidhardt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages ipfs) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix download) + #:use-module (guix build-system go) + #:use-module (gnu packages golang)) + +(define-public go-github-com-ipfs-go-ipfs-cmdkit-files + (let ((commit + "386fcf8f18a185ec121676665fe2d9574496048d") + (revision "0")) + (package + (name "go-github-com-ipfs-go-ipfs-cmdkit-files") + (version (git-version "1.1.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-ipfs-cmdkit.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/ipfs/go-ipfs-cmdkit" + #:import-path "github.com/ipfs/go-ipfs-cmdkit/files")) + (home-page "https://github.com/ipfs/go-ipfs-cmdkit") + (synopsis "Shared types, functions and values for go-ipfs") + (description "@command{cmdkit} offers some types, functions and values +that are shared between @command{go-ipfs/commands} and its rewrite +@command{go-ipfs-cmds}.") + (license license:expat)))) + +(define-public go-github-com-ipfs-go-ipfs-api + (let ((commit + "dafc2a13a4389ac1a6c2786e34ab70a4f26d3a3f") + (revision "0")) + (package + (name "go-github-com-ipfs-go-ipfs-api") + (version (git-version "1.3.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-ipfs-api.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06kibnwb037sqynk99j07wm8alvxwx3bari9gdax4jv93396kycj")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/ipfs/go-ipfs-api" + ;; TODO: Tests fail, might need network access. + #:tests? #f)) + (native-inputs + `(("go-github-com-ipfs-go-ipfs-cmdkit-files" ,go-github-com-ipfs-go-ipfs-cmdkit-files) + ("go-github-com-libp2p-go-libp2p-metrics" ,go-github-com-libp2p-go-libp2p-metrics) + ("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics) + ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer) + ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol) + ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto) + ("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir) + ("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr) + ("go-github-com-multiformats-go-multiaddr-net" ,go-github-com-multiformats-go-multiaddr-net) + ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) + ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) + ("go-github-com-cheekybits-is" ,go-github-com-cheekybits-is))) + (home-page "https://github.com/ipfs/go-ipfs-api") + (synopsis "Unofficial Go interface to IPFS's HTTP API") + (description "An unofficial Go interface to IPFS's HTTP API") + (license license:expat)))) + +(define-public gx + (let ((commit + "89338e509426d2895f20086685cf4c77d64cc5df") + (revision "0")) + (package + (name "gx") + (version (git-version "0.14.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/gx.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08gh04jln8rxpq0j4fm4chjap162wp8cjwj9szbvj9c7123s42rd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/whyrusleeping/gx")) + (native-inputs + `(("go-github-com-blang-semver" ,go-github-com-blang-semver) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-ipfs-go-ipfs-api" ,go-github-com-ipfs-go-ipfs-api) + ("go-github-com-ipfs-go-ipfs-cmdkit-files" ,go-github-com-ipfs-go-ipfs-cmdkit-files) + ("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics) + ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto) + ("go-github-com-libp2p-go-libp2p-metrics" ,go-github-com-libp2p-go-libp2p-metrics) + ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer) + ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr) + ("go-github-com-multiformats-go-multiaddr-net" ,go-github-com-multiformats-go-multiaddr-net) + ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)) + ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) + ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-sabhiram-go-gitignore" ,go-github-com-sabhiram-go-gitignore) + ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) + ("go-github-com-whyrusleeping-json-filter" ,go-github-com-whyrusleeping-json-filter) + ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) + ("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump))) + (home-page "https://github.com/whyrusleeping/gx") + (synopsis "Package management tool using IPFS") + (description "@command{gx} is a packaging tool built around the +distributed, content addressed filesystem IPFS. It aims to be flexible, +powerful and simple.") + (license license:expat)))) + +(define-public go-github-com-whyrusleeping-gx-util + (package + (inherit gx) + (name "go-github-com-whyrusleeping-gx-util") + (arguments + '(#:unpack-path "github.com/whyrusleeping/gx" + #:import-path "github.com/whyrusleeping/gx/gxutil")))) + +(define-public gx-go + (package + (name "gx-go") + (version "1.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whyrusleeping/gx-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/whyrusleeping/gx-go")) + (native-inputs + `(("go-github-com-whyrusleeping-gx-util" ,go-github-com-whyrusleeping-gx-util) + ("go-github-com-kr-fs" ,go-github-com-kr-fs) + ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) + ("go-github-com-ipfs-go-ipfs-api" ,go-github-com-ipfs-go-ipfs-api) + ("go-github-com-ipfs-go-ipfs-cmdkit-files" ,go-github-com-ipfs-go-ipfs-cmdkit-files) + ("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics) + ("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto) + ("go-github-com-libp2p-go-libp2p-metrics" ,go-github-com-libp2p-go-libp2p-metrics) + ("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer) + ("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol) + ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) + ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) + ("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir) + ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) + ("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr) + ("go-github-com-multiformats-go-multiaddr-net" ,go-github-com-multiformats-go-multiaddr-net) + ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) + ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union)) + ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) + ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-sabhiram-go-gitignore" ,go-github-com-sabhiram-go-gitignore) + ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) + ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) + ("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump))) + (home-page "https://github.com/whyrusleeping/gx-go") + (synopsis "Golang subtool for the @command{gx} package manager") + (description "A subtool for the @command{gx} package manager for packages +written in Go.") + (license license:expat))) + +(define-public go-ipfs + (package + (name "go-ipfs") + (version "0.4.18") + (source + (origin + (method url-fetch) + (uri (string-append + "https://dist.ipfs.io/go-ipfs/v" version + "/go-ipfs-source.tar.gz")) + (sha256 + (base32 + "19hfgbyn5sr1bw0cwm3gsjz0w3b3vh3mmkax1906raah30lavj1x")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/ipfs/go-ipfs" + #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs")) + (home-page "https://ipfs.io") + (synopsis "Go implementation of IPFS, a peer-to-peer hypermedia protocol") + (description "IPFS is a global, versioned, peer-to-peer filesystem. It +combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web. It is +like a single bittorrent swarm, exchanging git objects. IPFS provides an +interface as simple as the HTTP web, but with permanence built in. You can +also mount the world at @code{/ipfs}.") + (license license:expat))) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 4f4e494ee5..ba31d36b9e 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -30,6 +30,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages aspell) #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) @@ -65,7 +66,7 @@ (define-public quassel (package (name "quassel") - (version "0.12.5") + (version "0.13.0") (source (origin (method url-fetch) @@ -73,7 +74,7 @@ version ".tar.bz2")) (sha256 (base32 - "1qkl3sb4ijx4k17m0c42j2p5bc4jymypwhmplm942rbrzm6mg50q")) + "0xp9mppxl63qzgsdyprmblvfrj0bb9z57kfc088gvcavvq1210nr")) (modules '((guix build utils))) ;; We don't want to install the bundled scripts. (snippet @@ -86,21 +87,31 @@ (arguments ;; The three binaries are not mutually exlusive, and are all built ;; by default. - '(#:configure-flags '(;;"-DWANT_QTCLIENT=OFF" ; 5.2 MiB - ;;"-DWANT_CORE=OFF" ; 2.4 MiB - ;;"-DWANT_MONO=OFF" ; 6.4 MiB - "-DUSE_QT5=ON" ; default is qt4 + '(#:configure-flags '(;;"-DWANT_QTCLIENT=OFF" ; 6.1 MiB + ;;"-DWANT_CORE=OFF" ; 3.0 MiB + ;;"-DWANT_MONO=OFF" ; 7.6 MiB "-DWITH_KDE=OFF" ; no to kde integration ... - "-DWITH_OXYGEN=ON" ; therefore we install bundled icons - "-DWITH_WEBKIT=OFF") ; we don't depend on qtwebkit + "-DWITH_BUNDLED_ICONS=ON" ; so we install bundled icons + "-DWITH_OXYGEN_ICONS=ON" ; also the oxygen ones + "-DWITH_WEBENGINE=OFF") ; we don't depend on qtwebengine + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-inxi-reference + (lambda* (#:key inputs #:allow-other-keys) + (let ((inxi (string-append (assoc-ref inputs "inxi") "/bin/inxi"))) + (substitute* "src/common/aliasmanager.cpp" + ((" inxi ") (string-append " " inxi " "))) + #t)))) #:tests? #f)) ; no test target (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("pkg-config" ,pkg-config) ("qttools" ,qttools))) (inputs - `(("qca" ,qca) + `(("inxi" ,inxi-minimal) + ("qca" ,qca) ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) ("qtscript" ,qtscript) ("snorenotify" ,snorenotify) ("zlib" ,zlib))) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index f6d72edeea..951c1f4fd3 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages cpio) #:use-module (gnu packages cups) #:use-module (gnu packages compression) + #:use-module (gnu packages elf) #:use-module (gnu packages fontutils) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) @@ -1672,6 +1673,192 @@ new Date();")) '("jdk" "openjdk-src" "corba-drop" "jaxp-drop" "jaxws-drop" "jdk-drop" "langtools-drop" "hotspot-drop"))))))) +(define-public openjdk9 + (package + (name "openjdk") + (version "9.181") + (source (origin + (method url-fetch) + (uri "https://hg.openjdk.java.net/jdk/jdk/archive/3cc80be736f2.tar.bz2") + (file-name (string-append name "-" version ".tar.bz2")) + (sha256 + (base32 + "01ihmyf7k5z17wbr7xig7y40l9f01d5zjgkcmawn1102hw5kchpq")) + (modules '((guix build utils))) + (snippet + `(begin + (for-each delete-file (find-files "." ".*.bin$")) + (for-each delete-file (find-files "." ".*.exe$")) + (for-each delete-file (find-files "." ".*.jar$")) + #t)))) + (build-system gnu-build-system) + (outputs '("out" "jdk" "doc")) + (arguments + `(#:tests? #f; require jtreg + #:imported-modules + ((guix build syscalls) + ,@%gnu-build-system-modules) + #:phases + (modify-phases %standard-phases + (add-after 'patch-source-shebangs 'fix-java-shebangs + (lambda _ + ;; This file was "fixed" by patch-source-shebangs, but it requires + ;; this exact first line. + (substitute* "jdk/make/data/blacklistedcertsconverter/blacklisted.certs.pem" + (("^#!.*") "#! java BlacklistedCertsConverter SHA-256\n")) + #t)) + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; TODO: unbundle libpng and lcms + (invoke "bash" "./configure" + (string-append "--with-freetype=" (assoc-ref inputs "freetype")) + "--disable-freetype-bundling" + "--disable-warnings-as-errors" + "--disable-hotspot-gtest" + "--with-giflib=system" + "--with-libjpeg=system" + (string-append "--prefix=" (assoc-ref outputs "out"))) + #t)) + (replace 'build + (lambda _ + (with-output-to-file ".src-rev" + (lambda _ + (display ,version))) + (setenv "GUIX_LD_WRAPPER_ALLOW_IMPURITIES" "yes") + (invoke "make" "all") + #t)) + ;; Some of the libraries in the lib/ folder link to libjvm.so. + ;; But that shared object is located in the server/ folder, so it + ;; cannot be found. This phase creates a symbolic link in the + ;; lib/ folder so that the other libraries can find it. + ;; + ;; See: + ;; https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00169.html + ;; + ;; FIXME: Find the bug in the build system, so that this symlink is + ;; not needed. + (add-after 'install 'install-libjvm + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((lib-out (string-append (assoc-ref outputs "out") + "/lib")) + (lib-jdk (string-append (assoc-ref outputs "jdk") + "/lib"))) + (symlink (string-append lib-jdk "/server/libjvm.so") + (string-append lib-jdk "/libjvm.so")) + (symlink (string-append lib-out "/server/libjvm.so") + (string-append lib-out "/libjvm.so"))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (jdk (assoc-ref outputs "jdk")) + (doc (assoc-ref outputs "doc")) + (images (car (find-files "build" ".*-server-release" + #:directories? #t)))) + (copy-recursively (string-append images "/images/jdk") jdk) + (copy-recursively (string-append images "/images/jre") out) + (copy-recursively (string-append images "/images/docs") doc)) + #t)) + (add-after 'install 'strip-zip-timestamps + (lambda* (#:key outputs #:allow-other-keys) + (use-modules (guix build syscalls)) + (for-each (lambda (zip) + (let ((dir (mkdtemp! "zip-contents.XXXXXX"))) + (with-directory-excursion dir + (invoke "unzip" zip)) + (delete-file zip) + (for-each (lambda (file) + (let ((s (lstat file))) + (unless (eq? (stat:type s) 'symlink) + (format #t "reset ~a~%" file) + (utime file 0 0 0 0)))) + (find-files dir #:directories? #t)) + (with-directory-excursion dir + (let ((files (find-files "." ".*" #:directories? #t))) + (apply invoke "zip" "-0" "-X" zip files))))) + (find-files (assoc-ref outputs "doc") ".*.zip$")) + #t))))) + (inputs + `(("alsa-lib" ,alsa-lib) + ("cups" ,cups) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("giflib" ,giflib) + ("lcms" ,lcms) + ("libelf" ,libelf) + ("libjpeg" ,libjpeg) + ("libice" ,libice) + ("libpng" ,libpng) + ("libx11" ,libx11) + ("libxcomposite" ,libxcomposite) + ("libxi" ,libxi) + ("libxinerama" ,libxinerama) + ("libxrender" ,libxrender) + ("libxt" ,libxt) + ("libxtst" ,libxtst))) + (native-inputs + `(("icedtea-8" ,icedtea-8) + ("icedtea-8:jdk" ,icedtea-8 "jdk") + ("unzip" ,unzip) + ("which" ,which) + ("zip" ,zip))) + (home-page "https://openjdk.java.net/projects/jdk9/") + (synopsis "Java development kit") + (description + "This package provides the Java development kit OpenJDK.") + (license license:gpl2+))) + +(define-public openjdk10 + (package + (inherit openjdk9) + (name "openjdk") + (version "10.46") + (source (origin + (method url-fetch) + (uri "http://hg.openjdk.java.net/jdk/jdk/archive/6fa770f9f8ab.tar.bz2") + (file-name (string-append name "-" version ".tar.bz2")) + (sha256 + (base32 + "0zywq2203b4hx4jms9vbwvjcj1d3k2v3qpx4s33729fkpmid97r4")) + (patches (search-patches + "openjdk-10-idlj-reproducibility.patch")) + (modules '((guix build utils))) + (snippet + `(begin + (for-each delete-file (find-files "." ".*.bin$")) + (for-each delete-file (find-files "." ".*.exe$")) + (for-each delete-file (find-files "." ".*.jar$")) + #t)))) + (arguments + (substitute-keyword-arguments (package-arguments openjdk9) + ((#:phases phases) + `(modify-phases ,phases + (replace 'fix-java-shebangs + (lambda _ + ;; This file was "fixed" by patch-source-shebangs, but it requires + ;; this exact first line. + (substitute* "make/data/blacklistedcertsconverter/blacklisted.certs.pem" + (("^#!.*") "#! java BlacklistedCertsConverter SHA-256\n")) + #t)) + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (invoke "bash" "./configure" + (string-append "--with-freetype=" (assoc-ref inputs "freetype")) + "--disable-freetype-bundling" + "--disable-warnings-as-errors" + "--disable-hotspot-gtest" + "--with-giflib=system" + "--with-libjpeg=system" + "--with-native-debug-symbols=zipped" + (string-append "--prefix=" (assoc-ref outputs "out"))) + #t)))))) + (native-inputs + `(("openjdk9" ,openjdk9) + ("openjdk9:jdk" ,openjdk9 "jdk") + ("unzip" ,unzip) + ("which" ,which) + ("zip" ,zip))))) + (define-public icedtea icedtea-8) @@ -1803,151 +1990,6 @@ new Date();")) `(("java-junit" ,java-junit) ,@(package-inputs ant/java8))))) -(define-public clojure - (let* ((remove-archives '(begin - (for-each delete-file - (find-files "." ".*\\.(jar|zip)")) - #t)) - (submodule (lambda (prefix version hash) - (origin - (method url-fetch) - (uri (string-append "https://github.com/clojure/" - prefix version ".tar.gz")) - (sha256 (base32 hash)) - (modules '((guix build utils))) - (snippet remove-archives))))) - (package - (name "clojure") - (version "1.9.0") - (source - (origin - (method url-fetch) - (uri - (string-append "https://github.com/clojure/clojure/archive/clojure-" - version ".tar.gz")) - (sha256 - (base32 "0xjbzcw45z32vsn9pifp7ndysjzqswp5ig0jkjpivigh2ckkdzha")) - (modules '((guix build utils))) - (snippet remove-archives))) - (build-system ant-build-system) - (arguments - `(#:modules ((guix build ant-build-system) - (guix build utils) - (ice-9 ftw) - (ice-9 regex) - (srfi srfi-1) - (srfi srfi-26)) - #:test-target "test" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'unpack-submodule-sources - (lambda* (#:key inputs #:allow-other-keys) - (for-each - (lambda (name) - (mkdir-p name) - (with-directory-excursion name - (invoke "tar" - ;; Use xz for repacked tarball. - "--xz" - "--extract" - "--verbose" - "--file" (assoc-ref inputs name) - "--strip-components=1")) - (copy-recursively (string-append name "/src/main/clojure/") - "src/clj/")) - '("core-specs-alpha-src" - "data-generators-src" - "spec-alpha-src" - "test-check-src" - "test-generative-src" - "tools-namespace-src")) - #t)) - (add-after 'unpack 'fix-manifest-classpath - (lambda _ - (substitute* "build.xml" - (("") "")) - #t)) - ;; The javadoc target is not built by default. - (add-after 'build 'build-doc - (lambda _ - (invoke "ant" "javadoc"))) - ;; Needed since no install target is provided. - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let ((java-dir (string-append (assoc-ref outputs "out") - "/share/java/"))) - ;; Install versioned to avoid collisions. - (install-file (string-append "clojure-" ,version ".jar") - java-dir) - #t))) - ;; Needed since no install-doc target is provided. - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let ((doc-dir (string-append (assoc-ref outputs "out") - "/share/doc/clojure-" - ,version "/"))) - (copy-recursively "doc/clojure" doc-dir) - (copy-recursively "target/javadoc/" - (string-append doc-dir "javadoc/")) - (for-each (cut install-file <> doc-dir) - (filter (cut string-match - ".*\\.(html|markdown|md|txt)" - <>) - (scandir "./"))) - #t)))))) - ;; The native-inputs below are needed to run the tests. - (native-inputs - `(("core-specs-alpha-src" - ,(submodule "core.specs.alpha/archive/core.specs.alpha-" - "0.1.24" - "0v2a0svf1ar2y42ajxwsjr7zmm5j7pp2zwrd2jh3k7xzd1p9x1fv")) - ("data-generators-src" - ,(submodule "data.generators/archive/data.generators-" - "0.1.2" - "0kki093jp4ckwxzfnw8ylflrfqs8b1i1wi9iapmwcsy328dmgzp1")) - ("spec-alpha-src" - ,(submodule "spec.alpha/archive/spec.alpha-" - "0.1.143" - "00alf0347licdn773w2jarpllyrbl52qz4d8mw61anjksacxylzz")) - ("test-check-src" - ,(submodule "test.check/archive/test.check-" - "0.9.0" - "0p0mnyhr442bzkz0s4k5ra3i6l5lc7kp6ajaqkkyh4c2k5yck1md")) - ("test-generative-src" - ,(submodule "test.generative/archive/test.generative-" - "0.5.2" - "1pjafy1i7yblc7ixmcpfq1lfbyf3jaljvkgrajn70sws9xs7a9f8")) - ("tools-namespace-src" - ,(submodule "tools.namespace/archive/tools.namespace-" - "0.2.11" - "10baak8v0hnwz2hr33bavshm7y49mmn9zsyyms1dwjz45p5ymhy0")))) - (home-page "https://clojure.org/") - (synopsis "Lisp dialect running on the JVM") - (description "Clojure is a dynamic, general-purpose programming language, -combining the approachability and interactive development of a scripting -language with an efficient and robust infrastructure for multithreaded -programming. Clojure is a compiled language, yet remains completely dynamic -– every feature supported by Clojure is supported at runtime. Clojure -provides easy access to the Java frameworks, with optional type hints and type -inference, to ensure that calls to Java can avoid reflection. - -Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy -and a powerful macro system. Clojure is predominantly a functional programming -language, and features a rich set of immutable, persistent data structures. -When mutable state is needed, Clojure offers a software transactional memory -system and reactive Agent system that ensure clean, correct, multithreaded -designs.") - ;; Clojure is licensed under EPL1.0 - ;; ASM bytecode manipulation library is licensed under BSD-3 - ;; Guava Murmur3 hash implementation is licensed under APL2.0 - ;; src/clj/repl.clj is licensed under CPL1.0 - ;; - ;; See readme.html or readme.txt for details. - (license (list license:epl1.0 - license:bsd-3 - license:asl2.0 - license:cpl1.0))))) - (define-public javacc-4 (package (name "javacc") @@ -9348,7 +9390,8 @@ that is part of the SWT Tools project.") ,(match (%current-system) ((or "i686-linux" "armhf-linux") "linux32") - ((or "x86_64-linux" "aarch64-linux") + ((or "x86_64-linux" "aarch64-linux" + "mips64el-linux") "linux64"))))) (install-file "src/main/native-package/src/libjansi.so" dir)) #t)) @@ -9814,6 +9857,37 @@ against expected outcomes.") (native-inputs `(("java-mockito-1" ,java-mockito-1))))) +(define-public java-xmlunit-matchers + (package + (inherit java-xmlunit) + (name "java-xmlunit-matchers") + (arguments + `(#:jar-name "java-xmlunit-matchers.jar" + #:source-dir "xmlunit-matchers/src/main/java" + #:test-dir "xmlunit-matchers/src/test" + #:test-exclude + ;; Cannot open xsd for http://www.xmlunit.org/test-support/Book.xsd + (list "**/ValidationMatcherTest.java") + #:phases + (modify-phases %standard-phases + (add-before 'build 'copy-test-class + (lambda _ + (copy-file "xmlunit-core/src/test/java/org/xmlunit/TestResources.java" + "xmlunit-matchers/src/test/java/org/xmlunit/TestResources.java") + #t)) + (add-before 'build 'fix-test-resources-path + (lambda _ + (substitute* (find-files "xmlunit-matchers/src/test" ".*.java") + (("../test-resources") "test-resources")) + #t)) + (add-before 'check 'copy-test-resources + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "resources") "test-resources") + #t))))) + (inputs + `(("java-xmlunit" ,java-xmlunit) + ("java-junit" ,java-junit))))) + (define-public java-openchart2 (package (name "java-openchart2") diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 75517caf6b..8731a44927 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2017 Arun Isaac ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice -;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2017, 2018 Efraim Flashner ;;; Copyright © 2018 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. @@ -413,7 +413,7 @@ external server.") (define-public mujs (package (name "mujs") - (version "1.0.4") + (version "1.0.5") (source (origin (method git-fetch) (uri (git-reference @@ -422,11 +422,17 @@ external server.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1ly0yybs66nk63517kg4dmdc7dbikhqqqf2r2kvccgzzvv6k0vs8")))) + "0pkv26jxwgv5ax0ylfmi4h96h79hj4gvr95218ns8wngnmgr1ny6")))) (build-system gnu-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (delete 'configure)) ; no configure + '(#:phases + (modify-phases %standard-phases + (delete 'configure) ; no configure + (add-after 'install 'install-shared-library + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "build/release/libmujs.so" + (string-append out "/lib")))))) #:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")) (string-append "CC=gcc")) #:tests? #f)) ; no tests diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index fb9b0eeedf..856bbc0eed 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -357,10 +357,10 @@ (method url-fetch) ;; No versioned URL, see for updates. (uri "https://www.agner.org/optimize/objconv.zip") - (file-name "objconv-2018-08-15.zip") + (file-name "objconv-2018-10-07.zip") (sha256 (base32 - "09y4pwxfs6fl47cyingbf95i2rxx74wmycl9fd4ldcgvpx9bzdrx")))) + "0wp6ld9vk11f4nnkn56627zmlv9k5vafi99qa3yyn1pgcd61zcfs")))) ("dsfmt" ,(origin (method url-fetch) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index c2164250e9..d2ae91b179 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -36,6 +36,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) + #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages graphics) #:use-module (gnu packages image) @@ -479,6 +480,45 @@ used in KDE development tools Kompare and KDevelop.") ;; source archive (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3)))) +(define-public libkscreen + (package + (name "libkscreen") + (version "5.13.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" version "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "04719va15i66qn1xqx318v6risxhp8bfcnhxh9mqm5h9qx5c6c4k")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ;; For testing. + ("dbus" ,dbus))) + (inputs + `(("kwayland" ,kwayland) + ("libxrandr" ,libxrandr) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (arguments + '(#:tests? #f ; FIXME: 55% tests passed, 5 tests failed out of 11 + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; For the missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0") + ;; Run the tests offscreen. + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Solid/Projects/ScreenManagement") + (synopsis "KDE's screen management software") + (description "KScreen is the new screen management software for KDE Plasma +Workspaces which tries to be as magic and automatic as possible for users with +basic needs and easy to configure for those who want special setups.") + (license license:gpl2+))) + (define-public libksysguard (package (name "libksysguard") diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm index 21e7b12d3e..822fceb46a 100644 --- a/gnu/packages/kodi.scm +++ b/gnu/packages/kodi.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2017 Oleg Pykhalov ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,7 @@ #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gperf) + #:use-module (gnu packages groff) #:use-module (gnu packages gnunet) #:use-module (gnu packages gnupg) #:use-module (gnu packages image) @@ -62,6 +64,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages samba) #:use-module (gnu packages sdl) + #:use-module (gnu packages serialization) #:use-module (gnu packages ssh) #:use-module (gnu packages swig) #:use-module (gnu packages textutils) @@ -75,11 +78,12 @@ #:use-module (gnu packages assembly)) (define-public crossguid - (let ((commit "8f399e8bd4252be9952f3dfa8199924cc8487ca4")) + (let ((commit "fef89a4174a7bf8cd99fa9154864ce9e8e3bf989") + (revision "2")) (package (name "crossguid") - (version (string-append "0.0-1." (string-take commit 7))) - ;; There's no official release. Just a Git repository. + (version (string-append "0.0-" revision "." (string-take commit 7))) + ;; This is the commit that Kodi wants. (source (origin (method git-fetch) (uri (git-reference @@ -88,13 +92,12 @@ (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1i29y207qqddvaxbn39pk2fbh3gx8zvdprfp35wasj9rw2wjk3s9")))) + "1blrkc7zcqrqcr5msvhyhm98s2jvm9hr0isqs4288q2r4mdnrfq0")))) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure) ; no configure script - ;; There's no build system here, so we have to do it ourselves. (replace 'build (lambda _ (invoke "g++" "-c" "guid.cpp" "-o" "guid.o" @@ -129,7 +132,7 @@ generator library for C++.") ;; of the standard build process. To make things easier, we bootstrap ;; and patch shebangs here, so we don't have to worry about it later. (define libdvdnav/kodi - (let ((commit "6.0.0-Leia-Alpha-1")) + (let ((commit "6.0.0-Leia-Alpha-3")) (package (name "libdvdnav-bootstrapped") (version commit) @@ -141,7 +144,7 @@ generator library for C++.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1xiyfgf8v8aknlxlzsvk6pbzkhclz0hbh3s1b0w6ivkng2k310j9")))) + "0qwlf4lgahxqxk1r2pzl866mi03pbp7l1fc0rk522sc0ak2s9jhb")))) (build-system gnu-build-system) (arguments '(#:tests? #f @@ -164,7 +167,7 @@ generator library for C++.") (license license:gpl2+)))) (define libdvdread/kodi - (let ((commit "6.0.0-Leia-Alpha-1")) + (let ((commit "6.0.0-Leia-Alpha-3")) (package (name "libdvdread-bootstrapped") (version commit) @@ -176,7 +179,7 @@ generator library for C++.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "1c3g18n2vwhgcfz3dka1pmw58bnv2ram7xjvizfiykb3sgi9zfwp")))) + "1xxn01mhkdnp10cqdr357wx77vyzfb5glqpqyg8m0skyi75aii59")))) (build-system gnu-build-system) (arguments '(#:tests? #f @@ -199,7 +202,7 @@ generator library for C++.") (license (list license:gpl2+ license:lgpl2.1+))))) (define libdvdcss/kodi - (let ((commit "1.4.1-Leia-Alpha-1")) + (let ((commit "1.4.2-Leia-Beta-5")) (package (name "libdvdcss-bootstrapped") (version commit) @@ -211,7 +214,7 @@ generator library for C++.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "0adafwsawxssj3nilkql447v0l4a2584rdpmy5rfjmznh91lykgh")))) + "0j41ydzx0imaix069s3z07xqw9q95k7llh06fc27dcn6f7b8ydyl")))) (build-system gnu-build-system) (arguments '(#:tests? #f @@ -233,28 +236,53 @@ generator library for C++.") (description (package-description libdvdcss)) (license license:gpl2+)))) +(define-public fstrcmp + (package + (name "fstrcmp") + (version "0.7.D001") + (source + (origin + (method url-fetch) + (uri (string-append "http://fstrcmp.sourceforge.net/fstrcmp-" + version ".tar.gz")) + (sha256 + (base32 + "0xilghiy3mz78bjmfldi39qyy7jvw5b6wafsx370lw401y2qw0g4")))) + (build-system gnu-build-system) + (home-page "http://fstrcmp.sourceforge.net/") + (arguments + '(#:configure-flags '("SH=sh"))) + (native-inputs + `(("ghostscript" ,ghostscript) ; ps2pdf + ("groff" ,groff) + ("libtool" ,libtool) + ("which" ,which))) + (synopsis "fuzzy comparison of strings") + (description + "The fstrcmp project provides a library that is used to make fuzzy +comparisons of strings and byte arrays, including multi-byte character strings. +This can be useful in error messages, enabling the suggestion of likely valid +alternatives. In compilers, this can reduce the cascade of secondary errors.") + (license license:gpl3+))) + (define-public kodi - ;; We package the git version because the current released - ;; version was cut while the cmake transition was in turmoil. - (let ((commit "ec16dbca4dcf2923f53f819695a6d47c52e68d74") - (revision "8")) (package (name "kodi") - (version (git-version "18.0_alpha" revision commit)) + (version "18.0rc1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/xbmc/xbmc.git") - (commit commit))) + (commit (string-append version "-Leia")))) (file-name (git-file-name name version)) (sha256 (base32 - "1rxg752cl59124cfpfwmyjldn6qpq5jginxddpzvgagfadf10i4d")) + "0xzzp4x8l0ywx8aq93a1323il6wwslmgdbhasv0r8zp3w1c0wqf1")) (snippet '(begin (use-modules (guix build utils)) (for-each delete-file-recursively - '("project/BuildDependencies/bin/" + '("project/BuildDependencies/" ;; TODO: Purge these jars. ;;"tools/codegenerator/groovy" ;; And these sources: @@ -317,8 +345,8 @@ generator library for C++.") (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))) - ;; Don't phone home to check for updates.¬ - (substitute* "system/addon-manifest.xml"¬ + ;; Don't phone home to check for updates. + (substitute* "system/addon-manifest.xml" (("service.xbmc.versioncheck") "")) @@ -370,10 +398,12 @@ generator library for C++.") ("eudev" ,eudev) ("ffmpeg" ,ffmpeg) ("flac" ,flac) + ("flatbuffers" ,flatbuffers) ("fmt" ,fmt) ("fontconfig" ,fontconfig) ("freetype" ,freetype) ("fribidi" ,fribidi) + ("fstrcmp" ,fstrcmp) ("giflib" ,giflib) ("glew" ,glew) ("gnutls" ,gnutls) @@ -427,7 +457,7 @@ plug-in system.") license:expat ;cpluff, dbwrappers license:public-domain ;cpluff/examples license:bsd-3 ;misc, gtest - license:bsd-2))))) ;xbmc/freebsd + license:bsd-2)))) ;xbmc/freebsd (define-public kodi-cli (let ((commit "104dc23b2a993c8e6db8c46f4f8bec24b146549b") ; Add support for diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm index d1b910bd07..01a5ea2049 100644 --- a/gnu/packages/libffi.scm +++ b/gnu/packages/libffi.scm @@ -88,7 +88,8 @@ conversions for values passed between the two languages.") (method url-fetch) (uri (pypi-uri "cffi" version)) (sha256 - (base32 "1x3lrj928dcxx1k8k9gf3s4s3jwvzv8mc3kkyg1g7c3a1sc1f3z9")))) + (base32 "1x3lrj928dcxx1k8k9gf3s4s3jwvzv8mc3kkyg1g7c3a1sc1f3z9")) + (patches (search-patches "python-cffi-x87-stack-clean.patch")))) (build-system python-build-system) (outputs '("out" "doc")) (inputs diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 9571ba6e7d..45e2f63767 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -81,7 +81,7 @@ (define-public ixion (package (name "ixion") - (version "0.13.0") + (version "0.14.1") (source (origin (method url-fetch) @@ -89,7 +89,7 @@ version ".tar.xz")) (sha256 (base32 - "1rf76drzg593jzswwnh8kr2jangp8ylizqjspx57rld25g2n1qss")))) + "14gdd6div4l22vnz3jn2qjxgjly98ck6p8c1v7386c41rx7kilba")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -107,7 +107,7 @@ their dependencies automatically upon calculation.") (define-public orcus (package (name "orcus") - (version "0.13.4") + (version "0.14.1") (source (origin (method url-fetch) @@ -115,7 +115,7 @@ their dependencies automatically upon calculation.") name "-" version ".tar.xz")) (sha256 (base32 - "1r42waglxwmvvwl20fy49vzgfp1sis4j703f81iswzdyzqalq75p")))) + "1ays13a1x15j81dsrq0d3697v1bbqd3bfz3ajn6kb9d61y2drlgj")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -411,7 +411,16 @@ CorelDRAW documents of all versions.") "0bfq9rwm040xhh7b3v0gsdavwvnrz4hkwnhpggarxk70mr3j7jcx")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--with-mdds=1.2"))) + `(#:configure-flags '("--with-mdds=1.4") + #:phases (modify-phases %standard-phases + (add-before 'configure 'support-mdds-1.4 + (lambda _ + ;; This package already works fine with mdds 1.4, but the + ;; configure check is too strict. Taken from upstream. + (substitute* "configure" + (("mdds=1\\.2") "mdds=1.4") + (("mdds=\"1\\.2\"") "mdds=\"1.4\"")) + #t))))) (native-inputs `(("cppunit" ,cppunit) ("doxygen" ,doxygen) @@ -740,6 +749,9 @@ Works word processor file format.") (sha256 (base32 "08mg5kmkjrmqrd8j5rkzw9vdqlvibhb1ynp6bmfxnzq5rcq1l197")))) (build-system gnu-build-system) + (arguments + ;; A harmless 'sign-compare' error pops up on i686 so disable '-Werror'. + '(#:configure-flags '("--disable-werror"))) (inputs `(("boost" ,boost) ("icu4c" ,icu4c) @@ -936,7 +948,7 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.") (define-public libreoffice (package (name "libreoffice") - (version "6.1.2.1") + (version "6.1.3.2") (source (origin (method url-fetch) @@ -946,9 +958,35 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.") (version-prefix version 3) "/libreoffice-" version ".tar.xz")) (sha256 (base32 - "149ziasibplihfxlzafzcm4737ns30hg9175967b43c81yv5f335")) - (patches (search-patches "libreoffice-icu.patch" - "libreoffice-glm.patch")))) + "0i4gf3qi16fg7dxq2l4vhkwh4f5lx7xd1ilpzcw26vccqkv3hvyl")) + (patches + (append (list (origin + ;; Support newer versions of Orcus and MDDS. These patches + ;; are taken from upstream, but we use the patches from Arch + ;; because they are adapted for the release tarball. + ;; Note: remove the related substitutions below when these + ;; are no longer needed. + (method url-fetch) + (uri (string-append "https://git.archlinux.org/svntogit" + "/packages.git/plain/trunk/" + "0001-Update-orcus-to-0.14.0.patch?&id=" + "4002fa927f2a143bd2ec008a0c400b2ce9f2c8a7")) + (file-name "libreoffice-orcus.patch") + (sha256 + (base32 + "0v1knblrmfzkb4g9pm5mdnrmjib59bznvca1ygbwlap2ln1h4mk0"))) + (origin + (method url-fetch) + (uri (string-append "https://git.archlinux.org/svntogit" + "/packages.git/plain/trunk/" + "0001-Update-mdds-to-1.4.1.patch?&id=" + "4002fa927f2a143bd2ec008a0c400b2ce9f2c8a7")) + (file-name "libreoffice-mdds.patch") + (sha256 + (base32 + "0apbmammmp4pk473xiv5vk50r4c5gjvqzf9jkficksvz58q6114f")))) + (search-patches "libreoffice-icu.patch" + "libreoffice-glm.patch"))))) (build-system glib-or-gtk-build-system) (native-inputs `(("bison" ,bison) @@ -1037,6 +1075,13 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.") "solenv/gbuild/platform/unxgcc.mk") (("/bin/sh") (which "sh"))) + ;; XXX: Adjust the checks for MDDS and liborcus to avoid having + ;; to re-bootstrap the whole thing. Remove this with the related + ;; patches above. + (substitute* "configure" + (("mdds-1.2 >= 1.2.3") "mdds-1.4 >= 1.4.1") + (("liborcus-0.13 >= 0.13.3") "liborcus-0.14 >= 0.14.0")) + ;; GPGME++ headers are installed in a gpgme++ subdirectory, but ;; files in "xmlsecurity/source/gpg/" and elsewhere expect to ;; find them on the include path without a prefix. @@ -1102,6 +1147,8 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.") (list "--enable-release-build" "--enable-verbose" + ;; Avoid using all cpu cores by default + (format #f "--with-parallelism=~d" (parallel-job-count)) "--disable-fetch-external" ; disable downloads "--with-system-libs" ; enable all --with-system-* flags (string-append "--with-boost-libdir=" diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index bcdc091a9b..c43d0f9e7f 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -303,14 +303,14 @@ wrapper for accessing libusb-1.0.") (define-public libmtp (package (name "libmtp") - (version "1.1.15") + (version "1.1.16") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/libmtp/libmtp/" version "/libmtp-" version ".tar.gz")) (sha256 (base32 - "089h79nkz7wcr3lbqi7025l8p75hbp0aigxk3wdk2zkm8q5r0h6h")))) + "185vh9bds6dcy00ycggg69g4v7m3api40zv8vrcfb3fk3vfzjs2v")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f058cc79a2..1cdf2bf478 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Brendan Tildesley ;;; Copyright © 2018 Manuel Graf +;;; Copyright © 2018 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -399,10 +400,10 @@ It has been modified to remove all non-free binary blobs.") ;; supports qemu "virt" machine and possibly a large number of ARM boards. ;; See : https://wiki.debian.org/DebianKernel/ARMMP. -(define %linux-libre-version "4.18.15") -(define %linux-libre-hash "0v6xs85qn1iy2dj3m6s3cfnhbwb1mjy21d9lagjni8dg3jic26hf") +(define %linux-libre-version "4.19.8") +(define %linux-libre-hash "1rmgf3sbcyb47s3sagac7zrrpznq0vlcbzjzlzir95biy7lbswb3") -(define %linux-libre-4.18-patches +(define %linux-libre-4.19-patches (list %boot-logo-patch (origin (method url-fetch) @@ -411,27 +412,19 @@ It has been modified to remove all non-free binary blobs.") "/raw/34a7d9011fcfcfa38b68282fd2b1a8797e6834f0" "/debian/patches/bugfix/arm/" "arm-mm-export-__sync_icache_dcache-for-xen-privcmd.patch")) - (file-name "linux-libre-4.18-arm-export-__sync_icache_dcache.patch") + (file-name "linux-libre-4.19-arm-export-__sync_icache_dcache.patch") (sha256 - (base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f"))) - (origin - (method url-fetch) - (uri (string-append - "https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git" - "/patch/?id=c5157101e7793b42a56e07368c7f4cb73fb58008")) - (file-name "linux-libre-4.18-arm64-export-__sync_icache_dcache.patch") - (sha256 - (base32 "0q13arsi8al3l3yq6d76z4h8n45wlpkjyxlrgn1sqbx5xjksycyz"))))) + (base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f"))))) (define-public linux-libre (make-linux-libre %linux-libre-version %linux-libre-hash %linux-compatible-systems - #:patches %linux-libre-4.18-patches + #:patches %linux-libre-4.19-patches #:configuration-file kernel-config)) -(define %linux-libre-4.14-version "4.14.77") -(define %linux-libre-4.14-hash "18y81rga2lhsk7bjckglxz52pvnzf103ar0z2zj611g37wyf83r5") +(define %linux-libre-4.14-version "4.14.87") +(define %linux-libre-4.14-hash "1013h3qbsq76vlhrbl3gci25jbwydzm7k0bg08fbq42qrhjq92ak") (define-public linux-libre-4.14 (make-linux-libre %linux-libre-4.14-version @@ -440,14 +433,14 @@ It has been modified to remove all non-free binary blobs.") #:configuration-file kernel-config)) (define-public linux-libre-4.9 - (make-linux-libre "4.9.134" - "0f5qif27k0mhc57d98arbfkq7zlvg0ra2gz6g5fasblyjz3j7w7h" + (make-linux-libre "4.9.144" + "1jckikf1j294gr3sf43bfy3h34q3yqbqgqbj9l0px427h3n2vgkk" %intel-compatible-systems #:configuration-file kernel-config)) (define-public linux-libre-4.4 - (make-linux-libre "4.4.161" - "1q6bsndpjgw72mybhl5l8vrxs4mimg6821bjgi1pjkxbc7nd921b" + (make-linux-libre "4.4.166" + "1pb6hk141hzf6yf2423h0jfv9bjq09cynsp1xbm12mxayn637xmm" %intel-compatible-systems #:configuration-file kernel-config)) @@ -455,7 +448,7 @@ It has been modified to remove all non-free binary blobs.") (make-linux-libre %linux-libre-version %linux-libre-hash '("armhf-linux") - #:patches %linux-libre-4.18-patches + #:patches %linux-libre-4.19-patches #:defconfig "multi_v7_defconfig" #:extra-version "arm-generic")) @@ -470,7 +463,7 @@ It has been modified to remove all non-free binary blobs.") (make-linux-libre %linux-libre-version %linux-libre-hash '("armhf-linux") - #:patches %linux-libre-4.18-patches + #:patches %linux-libre-4.19-patches #:defconfig "omap2plus_defconfig" #:extra-version "arm-omap2plus")) @@ -944,7 +937,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.") (define-public strace (package (name "strace") - (version "4.24") + (version "4.25") (home-page "https://strace.io") (source (origin (method url-fetch) @@ -952,7 +945,7 @@ Zerofree requires the file system to be unmounted or mounted read-only.") "/strace-" version ".tar.xz")) (sha256 (base32 - "0d061cdzk6a1822ds4wpqxg10ny27mi4i9zjmnsbz8nz3vy5jkhz")))) + "00f7zagfh3np5gwi0z7hi7zjd7s5nixcaq7z78n87dvhakkgi1fn")))) (build-system gnu-build-system) (arguments '(#:phases @@ -1230,7 +1223,7 @@ that the Ethernet protocol is much simpler than the IP protocol.") (define-public iproute (package (name "iproute2") - (version "4.18.0") + (version "4.19.0") (source (origin (method url-fetch) (uri (string-append @@ -1238,7 +1231,7 @@ that the Ethernet protocol is much simpler than the IP protocol.") version ".tar.xz")) (sha256 (base32 - "0ida5njr9nacg6ym3rjvl3cc9czw0hn4akhzbqf8f4zmjl6cgrm9")))) + "114rlb3bvrf7q6yr03mn1rj6gl7mrg0psvm2dx0qb2kxyjhmrv6r")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no test suite @@ -1258,7 +1251,8 @@ that the Ethernet protocol is much simpler than the IP protocol.") (lambda _ ;; Don't attempt to create /var/lib/arpd. (substitute* "Makefile" - (("^.*ARPDDIR.*$") ""))))))) + (("^.*ARPDDIR.*$") "")) + #t))))) (inputs `(("iptables" ,iptables) ("db4" ,bdb))) @@ -1975,20 +1969,15 @@ for systems using the Linux kernel. This includes commands such as (name "inotify-tools") (version "3.20.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/rvoicilas/inotify-tools/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/rvoicilas/inotify-tools.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1b22c8x4pjnz3abx4dikpbj43zprjw79pdkd4xw111dsxlfwqcx4")))) + "14dci1i4mhsd5sa33k8h3ayphk19kizynh5ql9ryibdpmcanfiyq")))) (build-system gnu-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'bootstrap - (lambda _ - (invoke "autoreconf" "-vif")))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -2923,7 +2912,7 @@ MPEG-2 and audio over Linux IEEE 1394.") (define-public mdadm (package (name "mdadm") - (version "4.0") + (version "4.1") (source (origin (method url-fetch) (uri (string-append @@ -2931,7 +2920,7 @@ MPEG-2 and audio over Linux IEEE 1394.") version ".tar.xz")) (sha256 (base32 - "1ad3mma641946wn5lsllwf0lifw9lps34fv1nnkhyfpd9krffshx")))) + "0jjgjgqijpdp7ijh8slzzjjw690kydb1jjadf0x5ilq85628hxmb")))) (build-system gnu-build-system) (inputs `(("udev" ,eudev))) @@ -3199,7 +3188,7 @@ is flexible, efficient and uses a modular implementation.") (define-public fuse-exfat (package (name "fuse-exfat") - (version "1.2.8") + (version "1.3.0") (source (origin (method url-fetch) (uri (string-append @@ -3207,7 +3196,7 @@ is flexible, efficient and uses a modular implementation.") version "/" name "-" version ".tar.gz")) (sha256 (base32 - "1jwnxw0bg9v5ij8xvbg4xpjr50nykq8a1lmc2xkblz204rq7wd8z")))) + "1lz00q8g4590mrdqmf13ba1s9zrqq645ymgm5p9y99ad0qv22r87")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -3409,7 +3398,7 @@ disks and SD cards. This package provides the userland utilities.") (package (inherit f2fs-tools-1.7) (name "f2fs-tools") - (version "1.10.0") + (version "1.11.0") (source (origin (method url-fetch) (uri (string-append @@ -3417,7 +3406,7 @@ disks and SD cards. This package provides the userland utilities.") "/f2fs-tools.git/snapshot/" name "-" version ".tar.gz")) (sha256 (base32 - "05ikaim0qq3dx9x3sp43ralwz43r3b0viv62n99kabp0vf3b0hg8")))) + "1qvr3hcic1vzfmyl7c0gnjxfsw8zjaadm66y337h49chv9yaq5mr")))) (inputs `(("libuuid" ,util-linux))))) @@ -3551,7 +3540,8 @@ from userspace.") (let* ((out (assoc-ref outputs "out")) (sbin (string-append out "/sbin"))) (symlink "mount.ntfs-3g" - (string-append sbin "/mount.ntfs")))))))) + (string-append sbin "/mount.ntfs"))) + #t))))) (home-page "https://www.tuxera.com/community/open-source-ntfs-3g/") (synopsis "Read-write access to NTFS file systems") (description @@ -3708,7 +3698,8 @@ from that to the system kernel's @file{/dev/random} machinery.") '(#:phases (modify-phases %standard-phases (add-after 'unpack 'enter-subdirectory (lambda _ - (chdir "tools/power/cpupower"))) + (chdir "tools/power/cpupower") + #t)) (delete 'configure) (add-before 'build 'fix-makefiles (lambda _ @@ -3716,7 +3707,8 @@ from that to the system kernel's @file{/dev/random} machinery.") (("/usr/") "/") (("/bin/(install|pwd)" _ command) command)) (substitute* "bench/Makefile" - (("\\$\\(CC\\) -o") "$(CC) $(LDFLAGS) -o"))))) + (("\\$\\(CC\\) -o") "$(CC) $(LDFLAGS) -o")) + #t))) #:make-flags (let ((out (assoc-ref %outputs "out"))) (list (string-append "DESTDIR=" out) (string-append "LDFLAGS=-Wl,-rpath=" out "/lib") @@ -3956,7 +3948,7 @@ are exceeded.") (define-public mtd-utils (package (name "mtd-utils") - (version "1.5.2") + (version "2.0.2") (source (origin (method url-fetch) (uri (string-append @@ -3964,18 +3956,18 @@ are exceeded.") "mtd-utils-" version ".tar.bz2")) (sha256 (base32 - "007lhsd8yb34l899r4m37whhzdw815cz4fnjbpnblfha524p7dax")))) + "1f30jszknc5v6ykmil8ajxgksmcg54q3rsp84jsancp9x0dycggv")))) + (arguments + '(#:configure-flags '("--enable-unit-tests"))) + (native-inputs + `(("cmocka" ,cmocka) + ("pkg-config" ,pkg-config))) (inputs - `(("acl" ,acl) + `(("acl" ,acl) ; for XATTR ("libuuid" ,util-linux) ("lzo" ,lzo) ("zlib" ,zlib))) (build-system gnu-build-system) - (arguments - `(#:test-target "tests" - #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:phases (modify-phases %standard-phases - (delete 'configure)))) (synopsis "MTD Flash Storage Utilities") (description "This package provides utilities for testing, partitioning, etc of flash storage.") @@ -4028,9 +4020,11 @@ developers.") ;; getver.sh uses ‘git --describe’, isn't worth an extra git ;; dependency, and doesn't even work on release(!) tarballs. (add-after 'unpack 'report-correct-version - (lambda _ (substitute* "getver.sh" - (("ver=unknown") - (string-append "ver=" ,version))))) + (lambda _ + (substitute* "getver.sh" + (("ver=unknown") + (string-append "ver=" ,version))) + #t)) (delete 'configure)) ; no configure script #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) @@ -4055,7 +4049,7 @@ under OpenGL graphics workloads.") (define-public efivar (package (name "efivar") - (version "35") + (version "37") (source (origin (method url-fetch) (uri (string-append "https://github.com/rhboot/" name @@ -4063,7 +4057,7 @@ under OpenGL graphics workloads.") "-" version ".tar.bz2")) (sha256 (base32 - "153k2ifyl4giz5fkryxhz8z621diqjy7v25hfga4z94rs32ks0qy")))) + "17vvfivhsrszh7q39b6npjsrhrhsjf1cmmcpp3xrh6wh7ywzwrrw")))) (build-system gnu-build-system) (arguments `(;; Tests require a UEFI system and is not detected in the chroot. @@ -4167,30 +4161,21 @@ monitoring tools for Linux. These include @code{mpstat}, @code{iostat}, (define-public light (package (name "light") - (version "1.1.2") + (version "1.2") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/haikarainen/light") - (commit version))) + (method url-fetch) + (uri (string-append + "https://github.com/haikarainen/light/archive/v" + version ".tar.gz")) (sha256 (base32 - "0c934gxav9cgdf94li6dp0rfqmpday9d33vdn9xb2mfp4war9n4w")))) + "1gfvsw7gh5pis733l7j54vzp272pvjyzbg8a0pvapfmg0s7mip97")) + (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) - (arguments - '(#:tests? #f ; no tests - #:make-flags (list "CC=gcc" - (string-append "PREFIX=" %output)) - #:phases - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (add-after 'unpack 'patch-makefile - (lambda _ - (substitute* "Makefile" (("chown") "#")) - #t))))) (native-inputs - `(("help2man" ,help2man))) - (home-page "https://haikarainen.github.io/light") + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (home-page "https://haikarainen.github.io/light/") (synopsis "GNU/Linux application to control backlights") (description "Light is a program to send commands to screen backlight controllers @@ -4266,8 +4251,7 @@ Light is the successor of lightscript.") #t)) (replace 'install (lambda _ - (invoke "make" "install-tlp" "install-man") - #t)) + (invoke "make" "install-tlp" "install-man"))) (add-after 'install 'wrap (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((bin (string-append (assoc-ref outputs "out") "/bin")) diff --git a/gnu/packages/lirc.scm b/gnu/packages/lirc.scm index 860822ce49..7ba2d44532 100644 --- a/gnu/packages/lirc.scm +++ b/gnu/packages/lirc.scm @@ -43,7 +43,8 @@ (sha256 (base32 "1whlyifvvc7w04ahq07nnk1h18wc8j7c6wnvlb6mszravxh3qxcb")) - (patches (search-patches "lirc-localstatedir.patch")))) + (patches (search-patches "lirc-localstatedir.patch" + "lirc-reproducible-build.patch")))) (build-system gnu-build-system) (arguments '(#:configure-flags diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 89ccdb720a..d1c0a2ef37 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -9,6 +9,9 @@ ;;; Copyright © 2017, 2018 Efraim Flashner ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2018 Benjamin Slade +;;; Copyright © 2018 Alex Vong +;;; Copyright © 2018 Pierre Neidhardt +;;; Copyright © 2018 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,6 +37,7 @@ #:use-module (guix hg-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system ant) #:use-module (guix build-system asdf) #:use-module (guix build-system trivial) #:use-module (gnu packages admin) @@ -66,7 +70,6 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages webkit) #:use-module (ice-9 match) - #:use-module (srfi srfi-1) #:use-module (srfi srfi-19)) (define (asdf-substitutions lisp) @@ -81,8 +84,8 @@ ,lisp)))) (define-public gcl - (let ((commit "5956140b1083e2302a59d7ce2054b0b7c2cbb417") - (revision "1")) ;Guix package revision + (let ((commit "d3335e2b3deb63f930eb0328e9b05377744c9512") + (revision "2")) ;Guix package revision (package (name "gcl") (version (string-append "2.6.12-" revision "." @@ -95,7 +98,7 @@ (commit commit))) (file-name (string-append "gcl-" version "-checkout")) (sha256 - (base32 "0mwclf2879mh3d9xqkqhghf58lwy7srsnsq9x0f1cc6j302sy4hb")))) + (base32 "05v86lhvsby05nzvcd3c4k0wljvgdgd0i6arzd2fx1yd67dl6fgj")))) (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; The build system seems not to be thread safe. @@ -167,8 +170,7 @@ (native-inputs `(("gcc" ,gcc-4.9) ("m4" ,m4) - ("texinfo" ,texinfo) - ("texlive" ,texlive))) + ("texinfo" ,texinfo))) (home-page "https://www.gnu.org/software/gcl/") (synopsis "A Common Lisp implementation") (description "GCL is an implementation of the Common Lisp language. It @@ -315,14 +317,14 @@ an interpreter, a compiler, a debugger, and much more.") (define-public sbcl (package (name "sbcl") - (version "1.4.4") + (version "1.4.13") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/sbcl/sbcl/" version "/sbcl-" version "-source.tar.bz2")) (sha256 - (base32 "1k6v5b8qv7vyxvh8asx6phf2hbapx5pp5p5j47hgnq123fwnh4fa")) + (base32 "120rnnz8367lk7ljqlf8xidm4b0d738xqsib4kq0q5ms5r7fzgvm")) (modules '((guix build utils))) (snippet ;; Add sbcl-bundle-systems to 'default-system-source-registry'. @@ -332,16 +334,29 @@ an interpreter, a compiler, a debugger, and much more.") #t)))) (build-system gnu-build-system) (outputs '("out" "doc")) - ;; Bootstrap with CLISP. (native-inputs - `(("clisp" ,clisp) + ;; From INSTALL: + ;; Supported build hosts are: + ;; SBCL + ;; CMUCL + ;; CCL (formerly known as OpenMCL) + ;; ABCL (recent versions only) + ;; CLISP (only some versions: 2.44.1 is OK, 2.47 is not) + ;; XCL + ;; CCL seems ideal then, but it unfortunately only builds reliably + ;; on some architectures. + `(,@(match (%current-system) + ((or "x86_64-linux" "i686-linux") + `(("ccl" ,ccl))) + (_ + `(("clisp" ,clisp)))) ("which" ,which) ("inetutils" ,inetutils) ;for hostname(1) ("ed" ,ed) - ("texlive" ,texlive) + ("texlive" ,(texlive-union (list texlive-tex-texinfo))) ("texinfo" ,texinfo))) (arguments - '(#:modules ((guix build gnu-build-system) + `(#:modules ((guix build gnu-build-system) (guix build utils) (srfi srfi-1)) #:phases @@ -393,20 +408,28 @@ an interpreter, a compiler, a debugger, and much more.") (string-append "#+nil ;disabled by Guix\n" all)) (("\\(deftest grent\\.[12]" all) (string-append "#+nil ;disabled by Guix\n" all)))))) + ;; FIXME: the texlive-union insists on regenerating fonts. It stores + ;; them in HOME, so it needs to be writeable. + (add-before 'build 'set-HOME + (lambda _ (setenv "HOME" "/tmp") #t)) (replace 'build (lambda* (#:key outputs #:allow-other-keys) (setenv "CC" "gcc") - (zero? (system* "sh" "make.sh" "clisp" - (string-append "--prefix=" - (assoc-ref outputs "out")))))) + (invoke "sh" "make.sh" ,@(match (%current-system) + ((or "x86_64-linux" "i686-linux") + `("ccl")) + (_ + `("clisp"))) + (string-append "--prefix=" + (assoc-ref outputs "out"))))) (replace 'install (lambda _ - (zero? (system* "sh" "install.sh")))) + (invoke "sh" "install.sh"))) (add-after 'build 'build-doc (lambda _ (with-directory-excursion "doc/manual" - (and (zero? (system* "make" "info")) - (zero? (system* "make" "dist")))))) + (and (invoke "make" "info") + (invoke "make" "dist"))))) (add-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -530,8 +553,13 @@ statistical profiler, a code coverage tool, and many other extensions.") (install-file kernel libdir) (install-file heap libdir) - (let ((dirs '("lib" "library" "examples" "contrib" - "tools" "objc-bridge"))) + (let ((dirs '("lib" "library" "examples" "tools" "objc-bridge" + ,@(match (%current-system) + ("x86_64-linux" + '("x86-headers64")) + ("i686-linux" + '("x86-headers")) + (_ '()))))) (for-each copy-recursively dirs (map (cut string-append libdir <>) dirs))) @@ -542,13 +570,12 @@ statistical profiler, a code coverage tool, and many other extensions.") (display (string-append "#!" bash "/bin/sh\n" - "CCL_DEFAULT_DIRECTORY=" libdir "\n" - "export CCL_DEFAULT_DIRECTORY\n" - "exec " libdir kernel "\n")))) + "export CCL_DEFAULT_DIRECTORY=" libdir "\n" + "exec -a \"$0\" " libdir kernel " \"$@\"\n")))) (chmod wrapper #o755)) #t))))) (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux")) - (home-page "http://ccl.clozure.com/") + (home-page "https://ccl.clozure.com/") (synopsis "Common Lisp implementation") (description "Clozure CL (often called CCL for short) is a Common Lisp implementation featuring fast compilation speed, native threads, a precise, @@ -559,56 +586,6 @@ interface.") (license (list license:lgpl2.1 license:clarified-artistic)))) ;TRIVIAL-LDAP package -(define-public femtolisp - (let ((commit "68c5b1225572ecf2c52baf62f928063e5a30511b") - (revision "1")) - (package - (name "femtolisp") - (version (string-append "0.0.0-" revision "." (string-take commit 7))) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/JeffBezanson/femtolisp.git") - (commit commit))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "04rnwllxnl86zw8c6pwxznn49bvkvh0f1lfliy085vjzvlq3rgja")))) - ;; See "utils.h" for supported systems. Upstream bug: - ;; https://github.com/JeffBezanson/femtolisp/issues/25 - (supported-systems - (fold delete %supported-systems - '("armhf-linux" "mips64el-linux" "aarch64-linux"))) - (build-system gnu-build-system) - (arguments - `(#:make-flags '("CC=gcc" "release") - #:test-target "test" - #:phases - (modify-phases %standard-phases - (delete 'configure) ; No configure script - (replace 'install ; Makefile has no 'install phase - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (install-file "flisp" bin) - #t))) - ;; The flisp binary is now available, run bootstrap to - ;; generate flisp.boot and afterwards runs make test. - (add-after 'install 'bootstrap-gen-and-test - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (and - (zero? (system* "./bootstrap.sh")) - (install-file "flisp.boot" bin)))))))) - (synopsis "Scheme-like lisp implementation") - (description - "@code{femtolisp} is a scheme-like lisp implementation with a -simple, elegant Scheme dialect. It is a lisp-1 with lexical scope. -The core is 12 builtin special forms and 33 builtin functions.") - (home-page "https://github.com/JeffBezanson/femtolisp") - (license license:bsd-3)))) - (define-public lush2 (package (name "lush2") @@ -952,9 +929,9 @@ from other CLXes around the net.") `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre) ("sbcl-cl-unicode" ,sbcl-cl-unicode))))) -(define-public sbcl-stumpwm +(define-public stumpwm (package - (name "sbcl-stumpwm") + (name "stumpwm") (version "18.05") (source (origin (method url-fetch) @@ -970,7 +947,8 @@ from other CLXes around the net.") ("alexandria" ,sbcl-alexandria))) (outputs '("out" "lib")) (arguments - '(#:phases + '(#:asd-system-name "stumpwm" + #:phases (modify-phases %standard-phases (add-after 'create-symlinks 'build-program (lambda* (#:key outputs #:allow-other-keys) @@ -1003,17 +981,15 @@ for input. These design decisions reflect the growing popularity of productive, customizable lisp based systems.") (home-page "https://github.com/stumpwm/stumpwm") (license license:gpl2+) - (properties `((ecl-variant . ,(delay ecl-stumpwm)))))) + (properties `((cl-source-variant . ,(delay cl-stumpwm)))))) + +(define-public sbcl-stumpwm + (deprecated-package "sbcl-stumpwm" stumpwm)) (define-public cl-stumpwm - (sbcl-package->cl-source-package sbcl-stumpwm)) - -(define-public ecl-stumpwm - (let ((base (sbcl-package->ecl-package sbcl-stumpwm))) - (package - (inherit base) - (outputs '("out")) - (arguments '())))) + (package + (inherit (sbcl-package->cl-source-package stumpwm)) + (name "cl-stumpwm"))) ;; The slynk that users expect to install includes all of slynk's contrib ;; modules. Therefore, we build the base module and all contribs first; then @@ -1292,16 +1268,16 @@ multiple inspectors with independent history.") paths) #t))))))) -(define-public sbcl-stumpwm+slynk +(define-public stumpwm+slynk (package - (inherit sbcl-stumpwm) - (name "sbcl-stumpwm-with-slynk") + (inherit stumpwm) + (name "stumpwm-with-slynk") (outputs '("out")) (inputs - `(("stumpwm" ,sbcl-stumpwm "lib") + `(("stumpwm" ,stumpwm "lib") ("slynk" ,sbcl-slynk))) (arguments - (substitute-keyword-arguments (package-arguments sbcl-stumpwm) + (substitute-keyword-arguments (package-arguments stumpwm) ((#:phases phases) `(modify-phases ,phases (replace 'build-program @@ -1325,6 +1301,9 @@ multiple inspectors with independent history.") (delete 'cleanup) (delete 'create-symlinks))))))) +(define-public sbcl-stumpwm+slynk + (deprecated-package "sbcl-stumpwm-with-slynk" stumpwm+slynk)) + (define-public sbcl-parse-js (let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6") (revision "1")) @@ -2382,19 +2361,17 @@ new fiends in addition to old friends like @command{aif} and (sha256 (base32 "127v5avpz1i4m0lkaxqrq8hrl69rdazqaxf6s8awf0nd7wj2g4dp")) - (file-name (git-file-name "lift" version)))) + (file-name (git-file-name "lift" version)) + (modules '((guix build utils))) + (snippet + ;; Don't keep the bundled website + `(begin + (delete-file-recursively "website") + #t)))) (build-system asdf-build-system/sbcl) (arguments ;; The tests require a debugger, but we run with the debugger disabled. - '(#:tests? #f - #:phases - (modify-phases %standard-phases - ;; Do this to ensure the 'reset-gzip-timestamps phase works. - (add-after 'unpack 'make-gzips-writeable - (lambda _ - (for-each (lambda (file) - (chmod file #o755)) - (find-files "." "\\.gz$"))))))) + '(#:tests? #f)) (synopsis "LIsp Framework for Testing") (description "The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP. @@ -2403,7 +2380,7 @@ testcases are organized into hierarchical testsuites each of which can have its own fixture. When run, a testcase can succeed, fail, or error. LIFT supports randomized testing, benchmarking, profiling, and reporting.") (home-page "https://github.com/gwkkwg/lift") - (license license:x11-style)))) + (license license:expat)))) (define-public cl-lift (sbcl-package->cl-source-package sbcl-lift)) @@ -2663,7 +2640,6 @@ pattern-matching-like, but a char-by-char procedural parser.") "This package exports the following function to parse floating-point values from a string in Common Lisp.") (home-page "https://github.com/soemraws/parse-float") - ;; TODO: Missing license? (license license:public-domain)))) (define-public cl-parse-float @@ -3454,7 +3430,7 @@ is a library for creating graphical user interfaces.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/atlas-engineer/cl-webkit") + (url "https://github.com/jmercouris/cl-webkit") (commit commit))) (file-name (git-file-name "cl-webkit" version)) (sha256 @@ -3476,7 +3452,7 @@ is a library for creating graphical user interfaces.") (("libwebkit2gtk" all) (string-append (assoc-ref inputs "webkitgtk") "/lib/" all)))))))) - (home-page "https://github.com/atlas-engineer/cl-webkit") + (home-page "https://github.com/jmercouris/cl-webkit") (synopsis "Binding to WebKitGTK+ for Common Lisp") (description "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp, @@ -3529,3 +3505,242 @@ Lisp, featuring: (define-public ecl-lparallel (sbcl-package->ecl-package sbcl-lparallel)) + +(define-public sbcl-cl-markup + (let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390")) + (package + (name "sbcl-cl-markup") + (version (git-version "0.1" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arielnetworks/cl-markup/") + (commit commit))) + (file-name (git-file-name "cl-markup" version)) + (sha256 + (base32 + "10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7")))) + (build-system asdf-build-system/sbcl) + (home-page "https://github.com/arielnetworks/cl-markup/") + (synopsis "Markup generation library for Common Lisp") + (description + "A modern markup generation library for Common Lisp that features: + +@itemize +@item Fast (even faster through compiling the code) +@item Safety +@item Support for multiple document types (markup, xml, html, html5, xhtml) +@item Output with doctype +@item Direct output to stream +@end itemize\n") + (license license:lgpl3+)))) + +(define-public cl-markup + (sbcl-package->cl-source-package sbcl-cl-markup)) + +(define-public ecl-cl-markup + (sbcl-package->ecl-package sbcl-cl-markup)) + +(define-public sbcl-cl-css + (let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f")) + (package + (name "sbcl-cl-css") + (version (git-version "0.1" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inaimathi/cl-css/") + (commit commit))) + (file-name (git-file-name "cl-css" version)) + (sha256 + (base32 + "1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd")))) + (build-system asdf-build-system/sbcl) + (home-page "https://github.com/inaimathi/cl-css/") + (synopsis "Non-validating, inline CSS generator for Common Lisp") + (description + "This is a dead-simple, non validating, inline CSS generator for Common +Lisp. Its goals are axiomatic syntax, simple implementation to support +portability, and boilerplate reduction in CSS.") + (license license:expat)))) + +(define-public cl-css + (sbcl-package->cl-source-package sbcl-cl-css)) + +(define-public ecl-cl-markup + (sbcl-package->ecl-package sbcl-cl-css)) + +(define-public sbcl-portable-threads + (let ((commit "c0e61a1faeb0583c80fd3f20b16cc4c555226920")) + (package + (name "sbcl-portable-threads") + (version (git-version "2.3" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/binghe/portable-threads/") + (commit commit))) + (file-name (git-file-name "portable-threads" version)) + (sha256 + (base32 + "03fmxyarc0xf4kavwkfa0a2spkyfrz6hbgbi9y4q7ny5aykdyfaq")))) + (build-system asdf-build-system/sbcl) + (arguments + `(;; Tests seem broken. + #:tests? #f)) + (home-page "https://github.com/binghe/portable-threads") + (synopsis "Portable threads (and scheduled and periodic functions) API for Common Lisp") + (description + "Portable Threads (and Scheduled and Periodic Functions) API for Common +Lisp (from GBBopen project).") + (license license:asl2.0)))) + +(define-public cl-portable-threads + (sbcl-package->cl-source-package sbcl-portable-threads)) + +(define-public ecl-portable-threada + (sbcl-package->ecl-package sbcl-portable-threads)) + +(define-public sbcl-usocket-boot0 + ;; usocket's test rely on usocket-server which depends on usocket itself. + ;; We break this cyclic dependency with -boot0 that packages usocket. + (let ((commit "86e7efbfe50101931edf4b67cdcfa7e221ecfde9")) + (package + (name "sbcl-usocket-boot0") + (version (git-version "0.7.1" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/usocket/usocket/") + (commit commit))) + (file-name (git-file-name "usocket" version)) + (sha256 + (base32 + "1lk6ipakrib7kdgzw44hrgmls9akp5pz4h35yynw0k5zwmmq6374")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("split-sequence" ,sbcl-split-sequence))) + (arguments + `(#:tests? #f + #:asd-system-name "usocket")) + (home-page "https://common-lisp.net/project/usocket/") + (synopsis "Universal socket library for Common Lisp (server side)") + (description + "This library strives to provide a portable TCP/IP and UDP/IP socket +interface for as many Common Lisp implementations as possible, while keeping +the abstraction and portability layer as thin as possible.") + (license license:expat)))) + +(define-public sbcl-usocket-server + (package + (inherit sbcl-usocket-boot0) + (name "sbcl-usocket-server") + (inputs + `(("usocket" ,sbcl-usocket-boot0) + ("portable-threads" ,sbcl-portable-threads))) + (arguments + '(#:asd-system-name "usocket-server")) + (synopsis "Universal socket library for Common Lisp (server side)"))) + +(define-public cl-usocket-server + (sbcl-package->cl-source-package sbcl-usocket-server)) + +(define-public ecl-socket-server + (sbcl-package->ecl-package sbcl-usocket-server)) + +(define-public sbcl-usocket + (package + (inherit sbcl-usocket-boot0) + (name "sbcl-usocket") + (arguments + ;; FIXME: Tests need network access? + `(#:tests? #f)) + (native-inputs + ;; Testing only. + `(("usocket-server" ,sbcl-usocket-server) + ("rt" ,sbcl-rt))))) + +(define-public cl-usocket + (sbcl-package->cl-source-package sbcl-usocket)) + +(define-public ecl-socket + (sbcl-package->ecl-package sbcl-usocket)) + +(define-public sbcl-s-xml + (package + (name "sbcl-s-xml") + (version "3") + (source + (origin + (method url-fetch) + (uri "https://common-lisp.net/project/s-xml/s-xml.tgz") + (sha256 + (base32 + "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf")))) + (build-system asdf-build-system/sbcl) + (home-page "https://common-lisp.net/project/s-xml/") + (synopsis "Simple XML parser implemented in Common Lisp") + (description + "S-XML is a simple XML parser implemented in Common Lisp. This XML +parser implementation has the following features: + +@itemize +@item It works (handling many common XML usages). +@item It is very small (the core is about 700 lines of code, including +comments and whitespace). +@item It has a core API that is simple, efficient and pure functional, much +like that from SSAX (see also http://ssax.sourceforge.net). +@item It supports different DOM models: an XSML-based one, an LXML-based one +and a classic xml-element struct based one. +@item It is reasonably time and space efficient (internally avoiding garbage +generatation as much as possible). +@item It does support CDATA. +@item It should support the same character sets as your Common Lisp +implementation. +@item It does support XML name spaces. +@end itemize + +This XML parser implementation has the following limitations: + +@itemize +@item It does not support any special tags (like processing instructions). +@item It is not validating, even skips DTD's all together. +@end itemize\n") + (license license:lgpl3+))) + +(define-public cl-s-xml + (sbcl-package->cl-source-package sbcl-s-xml)) + +(define-public ecl-s-xml + (sbcl-package->ecl-package sbcl-s-xml)) + +(define-public sbcl-s-xml-rpc + (package + (name "sbcl-s-xml-rpc") + (version "7") + (source + (origin + (method url-fetch) + (uri "https://common-lisp.net/project/s-xml-rpc/s-xml-rpc.tgz") + (sha256 + (base32 + "02z7k163d51v0pzk8mn1xb6h5s6x64gjqkslhwm3a5x26k2gfs11")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("s-xml" ,sbcl-s-xml))) + (home-page "https://common-lisp.net/project/s-xml-rpc/") + (synopsis "Implementation of XML-RPC in Common Lisp for both client and server") + (description + "S-XML-RPC is an implementation of XML-RPC in Common Lisp for both +client and server.") + (license license:lgpl3+))) + +(define-public cl-s-xml-rpc + (sbcl-package->cl-source-package sbcl-s-xml-rpc)) + +(define-public ecl-s-xml-rpc + (sbcl-package->ecl-package sbcl-s-xml-rpc)) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 54a17be8f4..8a9d1d312b 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2016 Eric Bavier +;;; Copyright © 2014, 2016, 2018 Eric Bavier ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2015, 2017, 2018 Ludovic Courtès ;;; Copyright © 2016 Dennis Mungai @@ -8,6 +8,8 @@ ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Efraim Flashner +;;; Copyright © 2018 Tim Gesthuizen +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +33,7 @@ #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system emacs) #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages gcc) @@ -66,6 +69,7 @@ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" "-DBUILD_SHARED_LIBS:BOOL=TRUE" "-DLLVM_ENABLE_FFI:BOOL=TRUE" + "-DLLVM_REQUIRES_RTTI=1" ; For some third-party utilities "-DLLVM_INSTALL_UTILS=ON") ; Needed for rustc. ;; Don't use '-g' during the build, to save space. @@ -91,16 +95,25 @@ languages is in development. The compiler infrastructure includes mirror sets of programming tools as well as libraries with equivalent functionality.") (license license:ncsa))) -(define-public llvm-with-rtti - (package (inherit llvm) - (name "llvm-with-rtti") +;; FIXME: This package is here to prevent many rebuilds on x86_64 and i686 +;; from commit fc9dbf41311d99d0fd8befc789ea7c0e35911890. Update users of +;; this in the next rebuild cycle. +(define-public llvm-without-rtti + (package + (inherit llvm) (arguments - (substitute-keyword-arguments (package-arguments llvm) - ((#:configure-flags flags) - `(append '("-DCMAKE_SKIP_BUILD_RPATH=FALSE" - "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" - "-DLLVM_REQUIRES_RTTI=1") - ,flags)))))) + `(#:configure-flags '("-DCMAKE_SKIP_BUILD_RPATH=FALSE" + "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" + "-DBUILD_SHARED_LIBS:BOOL=TRUE" + "-DLLVM_ENABLE_FFI:BOOL=TRUE" + "-DLLVM_INSTALL_UTILS=ON") + #:build-type "Release" + #:phases (modify-phases %standard-phases + (add-before 'build 'shared-lib-workaround + (lambda _ + (setenv "LD_LIBRARY_PATH" + (string-append (getcwd) "/lib")) + #t))))))) (define* (clang-runtime-from-llvm llvm hash #:optional (patches '())) @@ -223,7 +236,30 @@ compiler. In LLVM this library is called \"compiler-rt\".") (substitute* "lib/Driver/ToolChains.cpp" (("@GLIBC_LIBDIR@") (string-append libc "/lib"))))) - #t)))))) + #t))) + (add-after 'install 'install-clean-up-/share/clang + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (compl-dir (string-append + out "/etc/bash_completion.d"))) + (with-directory-excursion (string-append out + "/share/clang") + (for-each + (lambda (file) + (when (file-exists? file) + (delete-file file))) + ;; Delete extensions for proprietary text editors. + '("clang-format-bbedit.applescript" + "clang-format-sublime.py" + ;; Delete Emacs extensions: see their respective Emacs + ;; Guix package instead. + "clang-rename.el" "clang-format.el")) + ;; Install bash completion. + (when (file-exists? "bash-autocomplete.sh") + (mkdir-p compl-dir) + (rename-file "bash-autocomplete.sh" + (string-append compl-dir "/clang"))))) + #t))))) ;; Clang supports the same environment variables as GCC. (native-search-paths @@ -427,3 +463,49 @@ code analysis tools.") (description "This package provides a Python binding to LLVM for use in Numba.") (license license:bsd-3))) + +(define-public emacs-clang-format + (package + (inherit clang) + (name "emacs-clang-format") + (build-system emacs-build-system) + (inputs + `(("clang" ,clang))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "clang"))) + (copy-file "tools/clang-format/clang-format.el" "clang-format.el") + (emacs-substitute-variables "clang-format.el" + ("clang-format-executable" + (string-append clang "/bin/clang-format")))) + #t))))) + (synopsis "Format code using clang-format") + (description "This package allows to filter code through @code{clang-format} +to fix its formatting. @code{clang-format} is a tool that formats +C/C++/Obj-C code according to a set of style options, see +@url{http://clang.llvm.org/docs/ClangFormatStyleOptions.html}."))) + +(define-public emacs-clang-rename + (package + (inherit clang) + (name "emacs-clang-rename") + (build-system emacs-build-system) + (inputs + `(("clang" ,clang))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (let ((clang (assoc-ref inputs "clang"))) + (copy-file "tools/clang-rename/clang-rename.el" "clang-rename.el") + (emacs-substitute-variables "clang-rename.el" + ("clang-rename-binary" + (string-append clang "/bin/clang-rename")))) + #t))))) + (synopsis "Rename every occurrence of a symbol using clang-rename") + (description "This package renames every occurrence of a symbol at point +using @code{clang-rename}."))) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index be77ac4a63..2dc1452ccc 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -408,6 +408,9 @@ Grammars (PEGs).") (define-public lua-lpeg (make-lua-lpeg "lua-lpeg" lua)) +(define-public lua5.1-lpeg + (make-lua-lpeg "lua5.1-lpeg" lua-5.1)) + (define-public lua5.2-lpeg (make-lua-lpeg "lua5.2-lpeg" lua-5.2)) diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index c45beb8bbb..1f32ec3bb1 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ison111 ;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -419,10 +420,10 @@ in LXDE.") (modify-phases %standard-phases (add-after 'unpack 'rm-stamp (lambda _ - (for-each delete-file (find-files "." "\\.stamp$")))) - (add-after 'rm-stamp 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) + (for-each delete-file (find-files "." "\\.stamp$")) + ;; Force regeneration of configure script. + (delete-file "configure") + #t))))) (inputs `(("gtk+-2" ,gtk+-2) ("polkit" ,polkit))) diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index c84d26d4cb..4cb24ebf64 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -5,6 +5,8 @@ ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Meiyo Peng +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,118 +25,101 @@ (define-module (gnu packages lxqt) #:use-module (guix download) - #:use-module ((guix licenses) #:select (lgpl2.1+)) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix build-system cmake) + #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages admin) + #:use-module (gnu packages compression) + #:use-module (gnu packages documentation) + #:use-module (gnu packages compton) + #:use-module (gnu packages fonts) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages image) + #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages linux) + #:use-module (gnu packages perl) + #:use-module (gnu packages lxde) + #:use-module (gnu packages maths) + #:use-module (gnu packages openbox) + #:use-module (gnu packages pcre) + #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages qt)) + #:use-module (gnu packages polkit) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages qt) + #:use-module (gnu packages textutils) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg)) -(define-public libqtxdg + +;; Third party libraries + +(define-public libdbusmenu-qt (package - (name "libqtxdg") - (version "1.2.0") + (name "libdbusmenu-qt") + (version "0.9.3+16.04.20160218-0ubuntu1") (source (origin - (method url-fetch) - (uri - (string-append "https://github.com/lxde/libqtxdg/releases/" - "download/" version "/" name "-" version ".tar.xz")) + (method git-fetch) + ;; Download from github rather than launchpad because launchpad trunk + ;; tarball hash is not deterministic. + (uri (git-reference + (url "https://github.com/unity8-team/libdbusmenu-qt.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1ncqs0lcll5nx69hxfg33m3jfkryjqrjhr2kdci0b8pyaqdv1jc8")))) + (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg")))) (build-system cmake-build-system) (arguments - `(#:tests? #f ; test fails with message "Exception" - #:configure-flags '("-DBUILD_TESTS=ON"))) + ;; XXX: Tests require a dbus session and some icons. + '(#:tests? #f)) (native-inputs - `(("pkg-config" ,pkg-config))) - (propagated-inputs - `(("qtbase" ,qtbase))) ; according to Qt5Xdg.pc - (home-page "https://github.com/lxde/libqtxdg") - (synopsis "Qt implementation of freedesktop.org xdg specifications") - (description "Libqtxdg implements the freedesktop.org xdg specifications -in Qt.") - (license lgpl2.1+))) + `(("doxygen" ,doxygen))) + (inputs + `(("qtbase" ,qtbase))) + (home-page "https://launchpad.net/libdbusmenu-qt") + (synopsis "Qt implementation of the DBusMenu spec") + (description "This library provides a Qt implementation of the DBusMenu +protocol. The DBusMenu protocol makes it possible for applications to export +and import their menus over DBus.") + (license license:lgpl2.1+))) -(define-public liblxqt +(define-public libstatgrab (package - (name "liblxqt") - (version "0.9.0") + (name "libstatgrab") + (version "0.91") (source (origin (method url-fetch) - (uri - (string-append "https://github.com/lxde/" name - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/" + name "-" version ".tar.gz")) (sha256 - (base32 - "0mbl3qc0yfgfsndqrw8vg8k5irsy0pg2wrad8nwv0aphphd4n7rg")) - (patches (search-patches "liblxqt-include.patch")))) - (build-system cmake-build-system) + (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83")))) + (build-system gnu-build-system) (arguments - `(#:tests? #f)) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("kwindowsystem" ,kwindowsystem) - ("libqtxdg" ,libqtxdg) - ("qtbase" ,qtbase) - ("qttools" ,qttools) - ("qtx11extras" ,qtx11extras))) - (home-page "http://lxqt.org/") - (synopsis "Core utility library for all LXQt components") - (description "liblxqt provides the basic libraries shared by the -components of the LXQt desktop environment.") - (license lgpl2.1+))) + '(#:configure-flags '("--enable-tests"))) + (native-inputs + ;; For testing. + `(("perl" ,perl))) + (home-page "https://www.i-scream.org/libstatgrab/") + (synopsis "Provides access to statistics about the system") + (description "libstatgrab is a library that provides cross platform access +to statistics about the system on which it's run.") + ;; Libraries are under LGPL2.1+, and programs under GPLv2+. + (license license:gpl2+))) -(define-public lxqt-session - (package - (name "lxqt-session") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri - (string-append "https://github.com/lxde/" name - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sdwcfrfqkg7ibrsncs1skdap9n8wm4rg6n9d0fgdz2q4d45h75a")))) - (build-system cmake-build-system) - (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("kwindowsystem" ,kwindowsystem) - ("liblxqt" ,liblxqt) - ("libqtxdg" ,libqtxdg) - ("qtbase" ,qtbase) - ("qttools" ,qttools) - ("qtx11extras" ,qtx11extras))) - (arguments - `(#:tests? #f ; no check target - #:phases - (modify-phases %standard-phases - (add-before 'configure 'fix-installation-paths - (lambda _ - ;; The variable LXQT_TRANSLATIONS_DIR is set in - ;; liblxqt-0.9.0/share/cmake/lxqt/lxqt-config.cmake - ;; to the liblxqt installation directory, followed by - ;; "/share/lxqt/translations". - ;; We need to have it point to the current installation - ;; directory instead. - (substitute* '("lxqt-session/CMakeLists.txt" - "lxqt-config-session/CMakeLists.txt") - (("\\$\\{LXQT_TRANSLATIONS_DIR\\}") - "${CMAKE_INSTALL_PREFIX}/share/lxqt/translations"))))))) - (home-page "http://lxqt.org/") - (synopsis "Session manager for LXQt") - (description "lxqt-session provides the standard session manager -for the LXQt desktop environment.") - (license lgpl2.1+))) + +;; Base (define-public lxqt-build-tools (package @@ -143,15 +128,19 @@ for the LXQt desktop environment.") (source (origin (method url-fetch) - (uri (string-append "https://github.com/lxde/lxqt-build-tools/releases/" - "download/" version "/" name "-" version ".tar.xz")) - (file-name (string-append name "-" version ".tar.xz")) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) (sha256 - (base32 - "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6")))) + (base32 "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6")))) (build-system cmake-build-system) (arguments - `(#:tests? #f)) ; no tests + `(#:tests? #f ; no tests + #:configure-flags + ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS, + ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report + ;; LXQT_ETC_XDG_DIR in its "Technical Info". + '("-DLXQT_DATA_DIR=/run/current-system/profile/share" + "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg"))) (native-inputs `(("pkg-config" ,pkg-config) ("glib" ,glib))) @@ -161,5 +150,1074 @@ for the LXQt desktop environment.") (description "Lxqt-build-tools is providing several tools needed to build LXQt itself as well as other components maintained by the LXQt project.") - (home-page "http://lxqt.org") - (license lgpl2.1+))) + (home-page "https://lxqt.org") + (license license:lgpl2.1+))) + +(define-public libqtxdg + (package + (name "libqtxdg") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0lq548pa69hfvnbj2ypba5ygm8n6v6g7bqqm8p5g538l1l3394cl")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + '("-DBUILD_TESTS=ON" + "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines") + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Run the tests offscreen. + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (propagated-inputs + ;; required by Qt5XdgIconLoader.pc + `(("qtbase" ,qtbase) + ("qtsvg" ,qtsvg))) + (home-page "https://github.com/lxqt/libqtxdg") + (synopsis "Qt implementation of freedesktop.org xdg specifications") + (description "Libqtxdg implements the freedesktop.org xdg specifications +in Qt.") + (license license:lgpl2.1+))) + +(define-public liblxqt + (package + (name "liblxqt") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0fba0nq5b9fvvmklcikcd4nwhzlp5d6k1q1f80r34kncdzfvj7dl")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "CMakeLists.txt" + (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") + "DESTINATION \"share/polkit-1/actions")) + #t))))) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("libqtxdg" ,libqtxdg) + ("libxscrnsaver" ,libxscrnsaver) + ("polkit-qt" ,polkit-qt) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (home-page "https://lxqt.org/") + (synopsis "Core utility library for all LXQt components") + (description "liblxqt provides the basic libraries shared by the +components of the LXQt desktop environment.") + (license license:lgpl2.1+))) + +(define-public libsysstat + (package + (name "libsysstat") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0ngz8v3bixsdg96d5ipcyxd6nsrg52974xdxy9rnimahlv1yaxn3")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f)) ; no tests + (inputs + `(("qtbase" ,qtbase))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools))) + (home-page "https://lxqt.org/") + (synopsis "Library used to query system info and statistics") + (description "libsysstat is a library to query system information like CPU +and memory usage or network traffic.") + (license license:lgpl2.1+))) + + +;; Core + +(define-public lxqt-about + (package + (name "lxqt-about") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "08imj7p77ifzfxnn8c482mhrvfx9gi0rb43ab5rw1rkmfvax2n5w")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org") + (synopsis "Provides information about LXQt and the system") + (description "lxqt-about is a dialogue window providing information about +LXQt and the system it's running on.") + (license license:lgpl2.1+))) + +(define-public lxqt-admin + (package + (name "lxqt-admin") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("polkit-qt" ,polkit-qt) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "lxqt-admin-user/CMakeLists.txt" + (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}") + "DESTINATION \"share/polkit-1/actions")) + #t))))) + (home-page "https://lxqt.org") + (synopsis "LXQt system administration tool") + (description "lxqt-admin is providing two GUI tools to adjust settings of +the operating system LXQt is running on.") + (license license:lgpl2.1+))) + +(define-public lxqt-config + (package + (name "lxqt-config") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("libkscreen" ,libkscreen) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("libxcursor" ,libxcursor) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("solid" ,solid) + ("zlib" ,zlib))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("src/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org") + (synopsis "Tools to configure LXQt and the underlying operating system") + (description "lxqt-config is providing several tools involved in the +configuration of both LXQt and the underlying operating system.") + (license license:lgpl2.1+))) + +(define-public lxqt-globalkeys + (package + (name "lxqt-globalkeys") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1gyvcjbhi7zpvgz1sf773dv9gc35hx5fz023njp9r4vl0dpcavgd")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools) + ("lxqt-build-tools" ,lxqt-build-tools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt" + "xdg/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "Daemon used to register global keyboard shortcuts") + (description "lxqt-globalkeys is providing tools to set global keyboard +shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session +as a whole and are not limited to distinct applications.") + (license license:lgpl2.1+))) + +(define-public lxqt-notificationd + (package + (name "lxqt-notificationd") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no test target + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "The LXQt notification daemon") + (description "lxqt-notificationd is LXQt's implementation of a daemon +according to the Desktop Notifications Specification.") + (license license:lgpl2.1+))) + +(define-public lxqt-openssh-askpass + (package + (name "lxqt-openssh-askpass") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "GUI to query passwords on behalf of SSH agents") + (description "lxqt-openssh-askpass is a GUI to query credentials on behalf +of other programs.") + (license license:lgpl2.1+))) + +(define-public lxqt-panel + (package + (name "lxqt-panel") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1")))) + (build-system cmake-build-system) + (inputs + `(("alsa-lib" ,alsa-lib) + ("kguiaddons" ,kguiaddons) + ("kwindowsystem" ,kwindowsystem) + ("libdbusmenu-qt" ,libdbusmenu-qt) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("libstatgrab" ,libstatgrab) + ("libsysstat", libsysstat) + ("libxcomposite" ,libxcomposite) + ("libxdamage" ,libxdamage) + ("libxkbcommon" ,libxkbcommon) + ("libxrender" ,libxrender) + ("lm-sensors" ,lm-sensors "lib") + ("lxqt-globalkeys" ,lxqt-globalkeys) + ("pcre" ,pcre) + ("pulseaudio" ,pulseaudio) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("solid" ,solid) + ("xcb-util" ,xcb-util))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt" + "menu/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "The LXQt desktop panel") + (description "lxqt-panel represents the taskbar of LXQt.") + (license license:lgpl2.1+))) + +(define-public lxqt-policykit + (package + (name "lxqt-policykit") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("pcre" ,pcre) + ("polkit-qt" ,polkit-qt) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("polkit" ,polkit) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no test target + #:configure-flags + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "The LXQt PolicyKit agent") + (description "lxqt-policykit is the polkit authentification agent of +LXQt.") + (license license:lgpl2.1+))) + +(define-public lxqt-powermanagement + (package + (name "lxqt-powermanagement") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613")))) + (build-system cmake-build-system) + (inputs + `(("kidletime" ,kidletime) + ("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("solid" ,solid))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "Power management module for LXQt") + (description "lxqt-powermanagement is providing tools to monitor power +management events and optionally trigger actions like e. g. shut down a system +when laptop batteries are low on power.") + (license license:lgpl2.1+))) + +(define-public lxqt-qtplugin + (package + (name "lxqt-qtplugin") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56")))) + (build-system cmake-build-system) + (inputs + `(("libdbusmenu-qt" ,libdbusmenu-qt) + ("libfm-qt" ,libfm-qt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("src/CMakeLists.txt") + (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}") + "DESTINATION \"lib/qt5/plugins")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "LXQt Qt platform integration plugin") + (description "lxqt-qtplugin is providing a library libqtlxqt to integrate +Qt with LXQt.") + (license license:lgpl2.1+))) + +(define-public lxqt-runner + (package + (name "lxqt-runner") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("lxqt-globalkeys" ,lxqt-globalkeys) + ("muparser" ,muparser) + ("pcre" ,pcre) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools", qttools) + ("lxqt-build-tools" ,lxqt-build-tools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "Tool used to launch programs quickly by typing their names") + (description "lxqt-runner provides a GUI that comes up on the desktop and +allows for launching applications or shutting down the system.") + (license license:lgpl2.1+))) + +(define-public lxqt-session + (package + (name "lxqt-session") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z")))) + (build-system cmake-build-system) + (inputs + `(("eudev" ,eudev) + ("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("xdg-user-dirs" ,xdg-user-dirs))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + `(#:tests? #f + #:configure-flags + `("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt" + "config/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "Session manager for LXQt") + (description "lxqt-session provides the standard session manager +for the LXQt desktop environment.") + (license license:lgpl2.1+))) + +(define-public lxqt-sudo + (package + (name "lxqt-sudo") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("liblxqt" ,liblxqt) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("sudo" ,sudo))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools) + ("lxqt-build-tools" ,lxqt-build-tools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "GUI frontend for sudo/su") + (description "lxqt-sudo is a graphical front-end of commands sudo and su +respectively. As such it enables regular users to launch applications with +permissions of other users including root.") + (license license:lgpl2.1+))) + +(define-public lxqt-themes + (package + (name "lxqt-themes") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf")))) + (build-system cmake-build-system) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools))) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}") + "DESTINATION \"share/lxqt/graphics")) + (substitute* '("themes/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}") + "DESTINATION \"share/lxqt")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "Themes, graphics and icons for LXQt") + (description "This package comprises a number of graphic files and themes +for LXQt.") + ;; The whole package is released under LGPL 2.1+, while the LXQt logo is + ;; licensed under CC-BY-SA 3.0. + (license license:lgpl2.1+))) + + +;; File Manager + +(define-public libfm-qt + (package + (name "libfm-qt") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO : prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (inputs + `(("glib" ,glib) + ("libexif" ,libexif) + ("libfm" ,libfm) + ("libxcb" ,libxcb) + ("menu-cache" ,menu-cache) + ("pcre" ,pcre) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (home-page "https://lxqt.org/") + (synopsis "Qt binding for libfm") + (description "libfm-qt is the Qt port of libfm, a library providing +components to build desktop file managers which belongs to LXDE.") + (license license:lgpl2.1+))) + +(define-public pcmanfm-qt + (package + (name "pcmanfm-qt") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz")))) + (build-system cmake-build-system) + (inputs + `(("libfm-qt" ,libfm-qt) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools) + ("lxqt-build-tools" ,lxqt-build-tools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "File manager and desktop icon manager") + (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of +LXDE.") + (license license:gpl2+))) + + +;; Extra + +(define-public compton-conf + (package + (name "compton-conf") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci")))) + (build-system cmake-build-system) + (inputs + `(("libconfig" ,libconfig) + ("qtbase" ,qtbase))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* '("autostart/CMakeLists.txt") + (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") + "DESTINATION \"etc/xdg")) + #t))))) + (home-page "https://lxqt.org/") + (synopsis "GUI configuration tool for compton X composite manager") + (description "@code{compton-conf} is a configuration tool for X composite +manager Compton.") + (license license:lgpl2.1+))) + +(define-public lximage-qt + (package + (name "lximage-qt") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w")))) + (build-system cmake-build-system) + (inputs + `(("libexif" ,libexif) + ("libfm-qt" ,libfm-qt) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "The image viewer and screenshot tool for lxqt") + (description "LXImage-Qt is the Qt port of LXImage, a simple and fast +image viewer.") + (license license:gpl2+))) + +(define-public obconf-qt + (package + (name "obconf-qt") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf")))) + (build-system cmake-build-system) + (inputs + `(("imlib2" ,imlib2) + ("libsm" ,libsm) + ("librsvg" ,librsvg) + ("libxft" ,libxft) + ("libxml2" ,libxml2) + ("openbox" ,openbox) + ("pango" ,pango) + ("pcre" ,pcre) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "Openbox configuration tool") + (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for +window manager OpenBox.") + (license license:gpl2+))) + +(define-public pavucontrol-qt + (package + (name "pavucontrol-qt") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6")))) + (build-system cmake-build-system) + (inputs + `(("glib" ,glib) + ("pcre" ,pcre) + ("pulseaudio" ,pulseaudio) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "Pulseaudio mixer in Qt") + (description "@code{pavucontrol-qt} is the Qt port of volume control +@code{pavucontrol} of sound server @code{PulseAudio}.") + (license license:gpl2+))) + +(define-public qps + (package + (name "qps") + (version "1.10.18") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44")))) + (build-system cmake-build-system) + (inputs + `(("libxrender" ,libxrender) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("qttools" ,qttools))) + (arguments + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.org/") + (synopsis "Qt-based visual process status monitor") + (description "@code{qps} is a monitor that displays the status of the +processes currently in existence, much like code{top} or code{ps}.") + (license license:gpl2+))) + +(define-public qtermwidget + (package + (name "qtermwidget") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773")))) + (build-system cmake-build-system) + (inputs + `(("qtbase" ,qtbase))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "The terminal widget for QTerminal") + (description "QTermWidget is a terminal emulator widget for Qt 5.") + (license license:gpl2+))) + +(define-public qterminal + (package + (name "qterminal") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1")))) + (build-system cmake-build-system) + (inputs + `(("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras) + ("qtermwidget" ,qtermwidget))) + (native-inputs + `(("lxqt-build-tools" ,lxqt-build-tools) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f ; no tests + #:configure-flags + ;; TODO: prefetch translations files from 'lxqt-l10n'. + '("-DPULL_TRANSLATIONS=NO"))) + (home-page "https://lxqt.org/") + (synopsis "Lightweight Qt-based terminal emulator") + (description "QTerminal is a lightweight Qt terminal emulator based on +QTermWidget.") + (license license:gpl2+))) + +(define-public screengrab + (package + (name "screengrab") + (version "1.99") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lxqt/" name "/releases/download/" + version "/" name "-" version ".tar.xz")) + (sha256 + (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3")))) + (build-system cmake-build-system) + (inputs + `(("kwindowsystem" ,kwindowsystem) + ("libqtxdg" ,libqtxdg) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (arguments + '(#:tests? #f)) ; no tests + (home-page "https://lxqt.org/") + (synopsis "Crossplatform tool for fast making screenshots") + (description "ScreenGrab is a program for fast creating screenshots, and +easily publishing them on internet image hosting services.") + (license license:gpl2+))) + + +;; The LXQt Desktop Environment + +(define-public lxqt + (package + (name "lxqt") + (version (package-version lxqt-session)) + (source #f) + (build-system trivial-build-system) + (arguments '(#:builder (begin (mkdir %output) #t))) + (propagated-inputs + `(;; XDG + ("desktop-file-utils" ,desktop-file-utils) + ("hicolor-icon-theme" ,hicolor-icon-theme) + ("xdg-user-dirs" ,xdg-user-dirs) + ("xdg-utils" ,xdg-utils) + ;; Base + ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it + ;; should be added to their propagated-inputs? + ("qtsvg" ,qtsvg) + ;; Core + ("lxqt-about" ,lxqt-about) + ("lxqt-admin" ,lxqt-admin) + ("lxqt-config" ,lxqt-config) + ("lxqt-notificationd" ,lxqt-notificationd) + ("lxqt-openssh-askpass" ,lxqt-openssh-askpass) + ("lxqt-panel" ,lxqt-panel) + ("lxqt-policykit" ,lxqt-policykit) + ("lxqt-powermanagement" ,lxqt-powermanagement) + ("lxqt-qtplugin" ,lxqt-qtplugin) + ("lxqt-runner" ,lxqt-runner) + ("lxqt-session" ,lxqt-session) + ("lxqt-sudo" ,lxqt-sudo) + ("lxqt-themes" ,lxqt-themes) + ("pcmanfm-qt" ,pcmanfm-qt) + ;; Extra + ("compton" ,compton) + ("compton-conf" ,compton-conf) + ("font-dejavu" ,font-dejavu) + ("lximage-qt" ,lximage-qt) + ("obconf-qt" ,obconf-qt) + ("openbox" ,openbox) + ("oxygen-icons" ,oxygen-icons) + ("pavucontrol-qt" ,pavucontrol-qt) + ("qps" ,qps) + ("qterminal" ,qterminal))) + (synopsis "The Lightweight Qt Desktop Environment") + (description "LXQt is a lightweight Qt desktop environment.") + (home-page "https://lxde.org") + (license license:gpl2+))) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 990a6c771a..084e62cca4 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -8,6 +8,8 @@ ;;; Copyright © 2018 Mark Meyer ;;; Copyright © 2018 Ben Woodcroft ;;; Copyright © 2018 Fis Trivial +;;; Copyright © 2018 Julien Lepiller +;;; Copyright © 2018 Björn Höfling ;;; ;;; This file is part of GNU Guix. ;;; @@ -300,7 +302,9 @@ networks) based on simulation of (stochastic) flow in graphs.") "1l5jbhwjpsj38x8b9698hfpkv75h8hn3kj0gihjhn8ym2cwwv110")))) (build-system ocaml-build-system) (arguments - `(#:phases + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:phases (modify-phases %standard-phases (add-before 'configure 'patch-paths (lambda _ @@ -328,15 +332,17 @@ algorithm.") (origin (method url-fetch) (uri (string-append - "http://www.imbs-luebeck.de/imbs/sites/default/files/u59/" - "randomjungle-" version ".tar_.gz")) + "https://www.imbs.uni-luebeck.de/fileadmin/files/Software" + "/randomjungle/randomjungle-" version ".tar_.gz")) + (patches (search-patches "randomjungle-disable-static-build.patch")) (sha256 (base32 "12c8rf30cla71swx2mf4ww9mfd8jbdw5lnxd7dxhyw1ygrvg6y4w")))) (build-system gnu-build-system) (arguments `(#:configure-flags - (list (string-append "--with-boost=" + (list "--disable-static" + (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))) #:phases (modify-phases %standard-phases @@ -356,7 +362,7 @@ algorithm.") ;; Non-portable assembly instructions are used so building fails on ;; platforms other than x86_64 or i686. (supported-systems '("x86_64-linux" "i686-linux")) - (home-page "http://www.imbs-luebeck.de/imbs/de/node/227/") + (home-page "https://www.imbs.uni-luebeck.de/forschung/software/details.html#c224") (synopsis "Implementation of the Random Forests machine learning method") (description "Random Jungle is an implementation of Random Forests. It is supposed to @@ -489,7 +495,7 @@ sample proximities between pairs of cases.") `(("python" ,python) ("numpy" ,python-numpy) ("r-minimal" ,r-minimal) - ("octave" ,octave) + ("octave" ,octave-cli) ("swig" ,swig) ("eigen" ,eigen) ("hdf5" ,hdf5) @@ -703,7 +709,7 @@ computing environments.") (define-public python-scikit-learn (package (name "python-scikit-learn") - (version "0.19.2") + (version "0.20.1") (source (origin (method git-fetch) @@ -713,9 +719,7 @@ computing environments.") (file-name (git-file-name name version)) (sha256 (base32 - "1dk9hdj01c0bny4ps78b7869fjw9gr6qklxf6wyql8h6nh4k19xm")) - (patches (search-patches - "python-scikit-learn-fix-test-non-determinism.patch")))) + "0fkhwg3xn1s7ln9q1szq6kwc4jhwvjh8w4kmv9wcrqy7cq3lbv0d")))) (build-system python-build-system) (arguments `(#:phases @@ -726,11 +730,11 @@ computing environments.") (lambda _ ;; Restrict OpenBLAS threads to prevent segfaults while testing! (setenv "OPENBLAS_NUM_THREADS" "1") - ;; Disable tests that require network access - (delete-file "sklearn/datasets/tests/test_mldata.py") - (delete-file "sklearn/datasets/tests/test_rcv1.py") - (invoke "pytest" "sklearn") - #t)) + + ;; Some tests require write access to $HOME. + (setenv "HOME" "/tmp") + + (invoke "pytest" "sklearn" "-m" "not network"))) ;; FIXME: This fails with permission denied (delete 'reset-gzip-timestamps)))) (inputs @@ -750,24 +754,7 @@ data analysis.") (license license:bsd-3))) (define-public python2-scikit-learn - (let ((parent (package-with-python2 python-scikit-learn))) - (package (inherit parent) - (arguments - (substitute-keyword-arguments (package-arguments parent) - ((#:phases phases) - `(modify-phases ,phases - (replace 'check - (lambda _ - ;; Restrict OpenBLAS threads to prevent segfaults while testing! - (setenv "OPENBLAS_NUM_THREADS" "1") - ;; Some tests expect to be able to write to HOME. - (setenv "HOME" "/tmp") - ;; Disable tests that require network access - (delete-file "sklearn/datasets/tests/test_kddcup99.py") - (delete-file "sklearn/datasets/tests/test_mldata.py") - (delete-file "sklearn/datasets/tests/test_rcv1.py") - (invoke "pytest" "sklearn") - #t))))))))) + (package-with-python2 python-scikit-learn)) (define-public python-autograd (let* ((commit "442205dfefe407beffb33550846434baa90c4de7") diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 73a17fb21b..794ae7909d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2014 Julien Lepiller ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015 Paul van der Walt -;;; Copyright © 2015, 2016 Eric Bavier +;;; Copyright © 2015, 2016, 2018 Eric Bavier ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 Christopher Allan Webber @@ -23,7 +23,7 @@ ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2017 Kyle Meyer ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice -;;; Copyright © 2017 Rene Saavedra +;;; Copyright © 2017, 2018 Rene Saavedra ;;; Copyright © 2018 Pierre Langlois ;;; Copyright © 2018 Alex Vong ;;; Copyright © 2018 Gábor Boskovits @@ -110,7 +110,9 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages docbook) #:use-module ((guix licenses) - #:select (fdl1.1+ gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ + #:select (fdl1.1+ + agpl3+ + gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ non-copyleft (expat . license:expat) bsd-3 public-domain bsd-4 isc (openssl . license:openssl) bsd-2 x11-style agpl3 asl2.0 perl-license)) @@ -119,6 +121,7 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system guile) #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system trivial)) @@ -126,24 +129,14 @@ (define-public mailutils (package (name "mailutils") - (version "3.4") + (version "3.5") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mailutils/mailutils-" - version ".tar.bz2")) + version ".tar.xz")) (sha256 (base32 - "1dn71p85wlyisnwsb485sk3q5v393k3dizsa9fmimskdwjwgk3ch")) - (patches - (search-patches "mailutils-uninitialized-memory.patch")) - (snippet - ;; For a rebuild of the Flex/Bison byproducts touched by the - ;; patch above. - '(begin - (for-each delete-file - '("mh/mh_alias_lex.c" - "libmailutils/cfg/parser.c")) - #t)))) + "1wx275w38fwni2abc8g7g3irbk332vr34byxd72zqfdiznsqgims")))) (build-system gnu-build-system) (arguments '(#:phases @@ -194,19 +187,22 @@ #t))) ;; TODO: Add `--with-sql'. - #:configure-flags '("--sysconfdir=/etc") + #:configure-flags (list "--sysconfdir=/etc" + + ;; Add "/2.2" to the installation directory. + (string-append "--with-guile-site-dir=" + (assoc-ref %outputs "out") + "/share/guile/site/2.2")) + #:parallel-tests? #f)) (native-inputs - ;; Note: Bison and Flex needed due to - ;; 'mailutils-uninitialized-memory.patch'. - `(("bison" ,bison) - ("flex" ,flex) - ("perl" ,perl))) ;for 'gylwrap' + `(("perl" ,perl))) ;for 'gylwrap' (inputs `(("dejagnu" ,dejagnu) ("m4" ,m4) ("texinfo" ,texinfo) - ("guile" ,guile-2.0) + ("guile" ,guile-2.2) + ("gsasl" ,gsasl) ("gnutls" ,gnutls) ("ncurses" ,ncurses) ("readline" ,readline) @@ -261,14 +257,14 @@ aliasing facilities to work just as they would on normal mail.") (define-public mutt (package (name "mutt") - (version "1.10.1") + (version "1.11.0") (source (origin (method url-fetch) (uri (string-append "https://bitbucket.org/mutt/mutt/downloads/" "mutt-" version ".tar.gz")) (sha256 (base32 - "182lkbkpd3q3l1x6bvyds90ycp38gyyxhf35ry0d3hwf2n1khjkk")) + "1qqhkhlzvjj0iih8vm0wfagv4fzqqy1wnsb4sqsfv7w06ccjdjcj")) (patches (search-patches "mutt-store-references.patch")))) (build-system gnu-build-system) (inputs @@ -1072,7 +1068,7 @@ which can add many functionalities to the base client.") (define-public msmtp (package (name "msmtp") - (version "1.8.0") + (version "1.8.1") (source (origin (method url-fetch) @@ -1080,7 +1076,7 @@ which can add many functionalities to the base client.") "/msmtp-" version ".tar.xz")) (sha256 (base32 - "1k9wwlapkxk9ql3xq05y6vwn6ziqk9b1v8lyhj1866qd02zhqwxx")))) + "1nm4vizrnrrnknc4mc8nr7grz9q76m1vraa0hsl5rfm34gnsg8ph")))) (build-system gnu-build-system) (inputs `(("libsecret" ,libsecret) @@ -1206,7 +1202,7 @@ facilities for checking incoming mail.") (define-public dovecot (package (name "dovecot") - (version "2.3.2.1") + (version "2.3.4") (source (origin (method url-fetch) @@ -1214,7 +1210,7 @@ facilities for checking incoming mail.") (version-major+minor version) "/" name "-" version ".tar.gz")) (sha256 (base32 - "0d2ffbicgl3wswbnyjbw6qigz7r1aqzprpchbwp5cynw122i2raa")))) + "01ggzf7b3jpl89mjiqr7xbpbs181g2gjf6wzg70qaqfzz3ppc6yr")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -1857,7 +1853,7 @@ converts them to maildir format directories.") (define-public mpop (package (name "mpop") - (version "1.2.8") + (version "1.4.0") (source (origin (method url-fetch) @@ -1865,7 +1861,7 @@ converts them to maildir format directories.") name "-" version ".tar.xz")) (sha256 (base32 - "1skrda7lbks5h0v03ab8bhpg6ma1b63if8x9x3kb2fv70x2pkhqn")))) + "14xsvpm5bc1wycisq882gqrnamnyi1q4rlk6anlw8ihzvwgm4h2j")))) (build-system gnu-build-system) (inputs `(("gnutls" ,gnutls) @@ -2428,15 +2424,15 @@ tools and applications: (define-public balsa (package (name "balsa") - (version "2.5.3") + (version "2.5.6") (source (origin (method url-fetch) - (uri (string-append "https://pawsa.fedorapeople.org/balsa/balsa-" - version ".tar.bz2")) + (uri (string-append "https://pawsa.fedorapeople.org/balsa/" + name "-" version ".tar.bz2")) (sha256 (base32 - "15jkwp3ylbwd8iha4dr37z1xb6mkk31ym90vv3h2a5xk2rmym5mq")))) + "17k6wcsl8gki7cskr3hhmfj6n54rha8ca3b6fzd8blsl5shsankx")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -2621,3 +2617,76 @@ within the message, and allows you to choose one or more URLs to send to your Web browser. Alternatively, it send a list of all URLs to stdout. It is a replacement for the @code{urlview} program.") (license gpl2))) + +(define-public tnef + (package + (name "tnef") + (version "1.4.17") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/verdammelt/tnef.git") + (commit version))) + (sha256 + (base32 + "0cq2xh5wd74qn6k2nnw5rayxgqhjl3jbzf4zlc4babcwxrv32ldh")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (arguments `(#:parallel-tests? #f)) ;tests are side-effect'y + (home-page "https://github.com/verdammelt/tnef") + (synopsis "Unpack @code{application/ms-tnef} attachments") + (description + "TNEF is a tar-like program that unpacks MIME attachments of type +@code{application/ms-tnef}.") + (license gpl2+))) + +(define-public mumi + (let ((commit "bfd96ce76b4600ae232e6548b26c9365095fd174") + (revision "2")) + (package + (name "mumi") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.elephly.net/software/mumi.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05miwfi1bh0v9x2gvn15bwkb3gn4xy53z506ysjzns2y497zkc5h")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (scm (string-append out "/share/guile/site/2.2")) + (go (string-append out "/lib/guile/2.2/site-ccache"))) + (wrap-program (string-append bin "/mumi") + `("GUILE_LOAD_PATH" ":" prefix + (,scm ,(getenv "GUILE_LOAD_PATH"))) + `("GUILE_LOAD_COMPILED_PATH" ":" prefix + (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))) + #t)))))) + (inputs + `(("guile-debbugs" ,guile-debbugs-next) + ("guile-email" ,guile-email) + ("guile-fibers" ,guile-fibers) + ("guile-json" ,guile-json) + ("guile-syntax-highlight" ,guile-syntax-highlight) + ("guile" ,guile-2.2))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (home-page "https://git.elephly.net/software/mumi.git") + (synopsis "Debbugs web interface") + (description "Mumi is a Debbugs web interface.") + (license agpl3+)))) diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 58e26d82ff..b640884933 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2014, 2015, 2017 Ludovic Courtès +;;; Copyright © 2012, 2014, 2015, 2017, 2018 Ludovic Courtès ;;; Copyright © 2014 David Thompson ;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2015 Alex Kost @@ -216,6 +216,18 @@ Linux kernel and C library interfaces employed by user-space programs.") automatically.") (license gpl3+))) +(define-public help2man/latest + (package + (inherit help2man) + (version "1.47.8") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/help2man/help2man-" + version ".tar.xz")) + (sha256 + (base32 + "1p5830h88cx0zn0snwaj0vpph81xicpsirfwlxmcgjrlmn0nm3sj")))))) + (define-public txt2man (package (name "txt2man") diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index cdcfbc7898..20da258029 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -173,7 +173,8 @@ convert it to structurally valid XHTML (or HTML).") (string-append "OTHERLDFLAGS = -lmarkdown -Wl,-rpath=" (assoc-ref inputs "discount") - "/lib")))))))) + "/lib"))) + #t))))) (inputs `(("discount" ,discount))) (home-page diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index aa9c7478b7..96a1ecb043 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2018 Adam Massmann ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2018 Eric Brown +;;; Copyright © 2018 Julien Lepiller ;;; ;;; This file is part of GNU Guix. ;;; @@ -286,13 +287,13 @@ programming language.") (define-public units (package (name "units") - (version "2.17") + (version "2.18") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/units/units-" version ".tar.gz")) (sha256 (base32 - "1n2xzpnxfn475zkd8rzs5gg58xszjbr4bdbgvk6hryzimvwwj0qz")))) + "0y26kj349i048y4z3xrk90bvciw2j6ds3rka7r7yn3183hirr5b4")))) (build-system gnu-build-system) (inputs `(("readline" ,readline) @@ -884,6 +885,25 @@ extremely large and complex data collections.") (license (license:x11-style "http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/COPYING")))) +(define-public hdf5-1.10 + (package (inherit hdf5) + (version "1.10.4") + (source + (origin + (method url-fetch) + (uri (list (string-append "https://support.hdfgroup.org/ftp/HDF5/releases/" + "hdf5-" (version-major+minor version) + "/hdf5-" version "/src/hdf5-" + version ".tar.bz2") + (string-append "https://support.hdfgroup.org/ftp/HDF5/" + "current" + (apply string-append + (take (string-split version #\.) 2)) + "/src/hdf5-" version ".tar.bz2"))) + (sha256 + (base32 "1pr85fa1sh2ky6ai2hs3f21lp252grl2cq3wbyi4rh7dm83gyrqj")) + (patches (list (search-patch "hdf5-config-date.patch"))))))) + (define-public hdf-java (package (name "hdf-java") @@ -1393,9 +1413,9 @@ can solve two kinds of problems: ;; For a fully featured Octave, users are strongly recommended also to install ;; the following packages: less, ghostscript, gnuplot. -(define-public octave +(define-public octave-cli (package - (name "octave") + (name "octave-cli") (version "4.4.1") (source (origin @@ -1477,21 +1497,21 @@ Work may be performed both at the interactive command-line as well as via script files.") (license license:gpl3+))) -(define-public qtoctave - (package (inherit octave) - (name "qtoctave") +(define-public octave + (package (inherit octave-cli) + (name "octave") (source (origin - (inherit (package-source octave)))) + (inherit (package-source octave-cli)))) (inputs `(("qscintilla" ,qscintilla) ("qt" ,qtbase) - ,@(package-inputs octave))) + ,@(package-inputs octave-cli))) (native-inputs `(("qttools" , qttools) ;for lrelease ("texlive" ,texlive) ;for texi2dvi - ,@(package-native-inputs octave))) + ,@(package-native-inputs octave-cli))) (arguments - (substitute-keyword-arguments (package-arguments octave) + (substitute-keyword-arguments (package-arguments octave-cli) ((#:phases phases) `(modify-phases ,phases (add-before 'configure 'patch-qscintilla-library-name @@ -1505,6 +1525,9 @@ script files.") "qscintilla2_qt5")) #t)))))))) +(define-public qtoctave + (deprecated-package "qtoctave" octave)) + (define-public opencascade-oce (package (name "opencascade-oce") @@ -1635,7 +1658,7 @@ September 2004}") (define-public petsc (package (name "petsc") - (version "3.9.3") + (version "3.10.2") (source (origin (method url-fetch) @@ -1643,7 +1666,7 @@ September 2004}") (uri (string-append "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/" "petsc-lite-" version ".tar.gz")) (sha256 - (base32 "1fwkbwv4g7zf2lc8fw865xd0bl9anb6jaczfis5dff7h449gwa48")))) + (base32 "0bl64pydak3rblnjffi482r8bin4xim9sb37ksl2jkcxf0i0irsi")))) (outputs '("out" ;libraries and headers "examples")) ;~30MiB of examples (build-system gnu-build-system) @@ -1747,16 +1770,18 @@ scientific applications modeled by partial differential equations.") (name "petsc-openmpi") (inputs `(("hdf5" ,hdf5-parallel-openmpi) + ("hypre" ,hypre-openmpi) ("metis" ,metis) ("mumps" ,mumps-openmpi) ("openmpi" ,openmpi) ("scalapack" ,scalapack) - ("scotch" ,pt-scotch) + ("scotch" ,pt-scotch32) ,@(package-inputs petsc))) (arguments (substitute-keyword-arguments (package-arguments petsc) ((#:configure-flags cf) - ``("--with-mpiexec=mpirun" + ``("--with-hypre=1" + "--with-mpiexec=mpirun" "--with-metis=1" "--with-mumps=1" "--with-scalapack=1" @@ -1789,6 +1814,41 @@ scientific applications modeled by partial differential equations.") ,@(delete "--with-mpi=0" ,cf))))) (synopsis "Library to solve PDEs (with complex scalars and MPI support)"))) +(define-public python-petsc4py + (package + (name "python-petsc4py") + (version "3.10.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "petsc4py" version)) + (sha256 + (base32 + "0ch3g6dsvxl7qi984fcssv7cxfbif4bw04gkvxl2l1b8wrmvrm25")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'pre-build + (lambda _ + ;; Define path to PETSc installation. + (setenv "PETSC_DIR" (assoc-ref %build-inputs "petsc")) + #t)) + (add-before 'check 'mpi-setup + ,%openmpi-setup)))) + (inputs + `(("petsc" ,petsc-openmpi) + ("python-numpy" ,python-numpy))) + (home-page "https://bitbucket.org/petsc/petsc4py/") + (synopsis "Python bindings for PETSc") + (description "PETSc, the Portable, Extensible Toolkit for +Scientific Computation, is a suite of data structures and routines for +the scalable (parallel) solution of scientific applications modeled by +partial differential equations. It employs the MPI standard for all +message-passing communication. @code{petsc4py} provides Python +bindings to almost all functions of PETSc.") + (license license:bsd-3))) + (define-public python-kiwisolver (package (name "python-kiwisolver") @@ -1816,7 +1876,7 @@ savings are consistently > 5x.") (define-public slepc (package (name "slepc") - (version "3.9.2") + (version "3.10.1") (source (origin (method url-fetch) @@ -1824,7 +1884,7 @@ savings are consistently > 5x.") version ".tar.gz")) (sha256 (base32 - "0gmhdqac8zm3jx43h935z7bflazjnpvqxjv4jh5za2y1z2rqax94")))) + "188j1a133q91h8pivpnzwcf78kz8dvz2nzf6ndnjygdbqb48fizn")))) (build-system gnu-build-system) (native-inputs `(("python" ,python-2))) @@ -1920,6 +1980,43 @@ arising after the discretization of partial differential equations.") ,@(alist-delete "petsc" (package-propagated-inputs slepc-openmpi)))) (synopsis "Scalable library for eigenproblems (with complex scalars and MPI support)"))) +(define-public python-slepc4py + (package + (name "python-slepc4py") + (version "3.10.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "slepc4py" version)) + (sha256 + (base32 + "0x049dyc8frgh79fvvavf4vlbqp4mgm61nsaivzdav4316vvlv1j")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'pre-build + (lambda _ + ;; Define path to PETSc installation. + (setenv "PETSC_DIR" (assoc-ref %build-inputs "petsc")) + ;; Define path to SLEPc installation. + (setenv "SLEPC_DIR" (assoc-ref %build-inputs "slepc")) + #t)) + (add-before 'check 'mpi-setup + ,%openmpi-setup)))) + (inputs + `(("python-numpy" ,python-numpy) + ("python-petsc4py" ,python-petsc4py) + ("slepc" ,slepc-openmpi))) + (home-page "https://bitbucket.org/slepc/slepc4py/") + (synopsis "Python bindings for SLEPc") + (description "SLEPc, the Scalable Library for Eigenvalue Problem +Computations, is based on PETSc, the Portable, Extensible Toolkit for +Scientific Computation. It employs the MPI standard for all +message-passing communication. @code{slepc4py} provides Python +bindings to almost all functions of SLEPc.") + (license license:bsd-3))) + (define-public mumps (package (name "mumps") @@ -2110,16 +2207,14 @@ programming problems.") (define-public r-pracma (package (name "r-pracma") - (version "2.1.5") + (version "2.1.8") (source (origin (method url-fetch) (uri (cran-uri "pracma" version)) (sha256 - (base32 "18cv7c2gvagbmggfbsy2xk9bpn47izd0qrmqnc3q7afvj6pr6nf9")))) + (base32 "0m8ladhrfyxwybblkcdgg4xv1mk5kibmwarpj2k0c2y34zzcix4z")))) (build-system r-build-system) - (propagated-inputs - `(("r-quadprog" ,r-quadprog))) - (home-page "https://cran.r-project.org/web/packages/pracma") + (home-page "https://cran.r-project.org/web/packages/pracma/") (synopsis "Practical numerical math functions") (description "This package provides functions for numerical analysis and linear algebra, numerical optimization, differential equations, plus some @@ -2510,15 +2605,16 @@ YACC = bison -pscotchyy -y -b y (replace 'build (lambda _ - (and - (zero? (system* "make" - (format #f "-j~a" (parallel-job-count)) - "ptscotch" "ptesmumps")) - ;; Install the serial metis compatibility library - (zero? (system* "make" "-C" "libscotchmetis" "install"))))) - (replace - 'check - (lambda _ (zero? (system* "make" "ptcheck")))))))) + (invoke "make" (format #f "-j~a" (parallel-job-count)) + "ptscotch" "ptesmumps") + + ;; Install the serial metis compatibility library + (invoke "make" "-C" "libscotchmetis" "install"))) + (add-before 'check 'mpi-setup + ,%openmpi-setup) + (replace 'check + (lambda _ + (invoke "make" "ptcheck"))))))) (synopsis "Programs and libraries for graph algorithms (with MPI)"))) (define-public pt-scotch32 @@ -2532,15 +2628,15 @@ YACC = bison -pscotchyy -y -b y `(modify-phases ,scotch32-phases (replace 'build (lambda _ - (and - (zero? (system* "make" - (format #f "-j~a" (parallel-job-count)) - "ptscotch" "ptesmumps")) - ;; Install the serial metis compatibility library - (zero? (system* "make" "-C" "libscotchmetis" "install"))))) + (invoke "make" (format #f "-j~a" (parallel-job-count)) + "ptscotch" "ptesmumps") + ;; Install the serial metis compatibility library + (invoke "make" "-C" "libscotchmetis" "install"))) + (add-before 'check 'mpi-setup + ,%openmpi-setup) (replace 'check (lambda _ - (zero? (system* "make" "ptcheck")))))))) + (invoke "make" "ptcheck"))))))) (synopsis "Programs and libraries for graph algorithms (with MPI and 32-bit integers)"))) @@ -2659,7 +2755,7 @@ to BMP, JPEG or PNG image formats.") (define-public maxima (package (name "maxima") - (version "5.42.0") + (version "5.42.1") (source (origin (method url-fetch) @@ -2667,7 +2763,7 @@ to BMP, JPEG or PNG image formats.") version "-source/" name "-" version ".tar.gz")) (sha256 (base32 - "0d5pdihvcbwb7r4i4qs5qqgsz46hxlq33qj8is053llrgn9ylpyn")) + "1ka0xf70a55ndgmyrq7p5xxbd78pq7bfkqhgxsivaqdw6gn5lmcg")) (patches (search-patches "maxima-defsystem-mkdir.patch")))) (build-system gnu-build-system) (inputs @@ -2699,6 +2795,18 @@ to BMP, JPEG or PNG image formats.") (lambda _ (chmod "src/maxima" #o555) #t)) + (replace 'check + (lambda _ + ;; This is derived from the testing code in the "debian/rules" file + ;; of Debian's Maxima package. + ;; If Maxima can successfully run this, the binary to be installed + ;; should be fine. + (zero? + (system + (string-append "./maxima-local " + "--lisp=gcl " + "--batch-string=\"run_testsuite();\" " + "| grep -q \"No unexpected errors found\""))))) ;; Make sure the doc and emacs files are found in the ;; standard location. Also configure maxima to find gnuplot ;; without having it on the PATH. @@ -2746,18 +2854,17 @@ point numbers.") (define-public wxmaxima (package (name "wxmaxima") - (version "18.02.0") + (version "18.11.4") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/andrejv/" name "/archive" - "/Version-" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/wxMaxima-developers/wxmaxima.git") + (commit (string-append "Version-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "03kr2rgfp4hcf3is8m8d8f9hj660c3xgrc50vrrfpixx4syh6wvj")) - (patches - (search-patches "wxmaxima-do-not-use-old-gnuplot-parameters.patch")))) + "1sz8n9v23q442l7yjj67pjh0dk78rl4cbcc3j8m1bm88anlfxl9r")))) (build-system cmake-build-system) (native-inputs `(("gettext" ,gettext-minimal))) @@ -3294,7 +3401,7 @@ Failure to do so will result in a library with poor performance.") (define-public glm (package (name "glm") - (version "0.9.9.2") + (version "0.9.9.3") (source (origin (method url-fetch) @@ -3302,7 +3409,7 @@ Failure to do so will result in a library with poor performance.") version "/glm-" version ".zip")) (sha256 (base32 - "1m2gws1d7l6h4mdn0ap74pfnm3vva3kk8rybdqd5x4lksd1mk6r0")))) + "0yqk5r3qh60d4r2iab5q7wq0fryn8p3pz6s28y1i7amqj1aqavj9")))) (build-system cmake-build-system) (native-inputs `(("unzip" ,unzip))) @@ -3476,7 +3583,7 @@ in finite element programs.") `(("unzip" ,unzip))) (inputs `(("hdf5" ,hdf5) - ("octave" ,octave) + ("octave" ,octave-cli) ("python" ,python-2) ; print syntax ;; ("python2-numpy" ,python2-numpy) ; only required for the tests ("zlib" ,zlib))) @@ -3846,15 +3953,15 @@ as equations, scalars, vectors, and matrices.") (define-public z3 (package (name "z3") - (version "4.5.0") + (version "4.8.1") + (home-page "https://github.com/Z3Prover/z3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/Z3Prover/z3/archive/z3-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "z3-" version)))) (sha256 (base32 - "032a5lvji2liwmc25jv52bdrhimqflvqbpg77ccaq1jykhiivbmf")))) + "1vr57bwx40sd5riijyrhy70i2wnv9xrdihf6y5zdz56yq88rl48f")))) (build-system cmake-build-system) (arguments `(#:configure-flags @@ -3883,43 +3990,57 @@ as equations, scalars, vectors, and matrices.") (synopsis "Theorem prover") (description "Z3 is a theorem prover and @dfn{satisfiability modulo theories} (SMT) solver. It provides a C/C++ API, as well as Python bindings.") - (home-page "https://github.com/Z3Prover/z3") (license license:expat))) (define-public cubicle (package (name "cubicle") - (version "1.1.1") + (version "1.1.2") (source (origin (method url-fetch) (uri (string-append "http://cubicle.lri.fr/cubicle-" version ".tar.gz")) (sha256 (base32 - "1sny9c4fm14k014pk62ibpwbrjjirkx8xmhs9jg7q1hk7y7x3q2h")))) + "10kk80jdmpdvql88sdjsh7vqzlpaphd8vip2lp47aarxjkwjlz1q")))) (build-system gnu-build-system) (native-inputs - `(("ocaml" ,ocaml) + `(("automake" ,automake) + ("ocaml" ,ocaml) ("which" ,(@@ (gnu packages base) which)))) (propagated-inputs - `(("z3" ,z3))) + `(("ocaml-num" ,ocaml-num) + ("z3" ,z3))) (arguments `(#:configure-flags (list "--with-z3") + #:make-flags (list "QUIET=") #:tests? #f #:phases (modify-phases %standard-phases (add-before 'configure 'configure-for-release (lambda _ (substitute* "Makefile.in" - (("SVNREV=") "#SVNREV=")))) + (("SVNREV=") "#SVNREV=")) + #t)) (add-before 'configure 'fix-/bin/sh (lambda _ (substitute* "configure" - (("/bin/sh") (which "sh"))))) + (("-/bin/sh") (string-append "-" (which "sh")))) + #t)) (add-before 'configure 'fix-smt-z3wrapper.ml (lambda _ (substitute* "Makefile.in" - (("\\\\n") ""))))))) + (("\\\\n") "")) + #t)) + (add-before 'configure 'fix-ocaml-num + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile.in" + (("= \\$\\(FUNCTORYLIB\\)") + (string-append "= -I " + (assoc-ref inputs "ocaml-num") + "/lib/ocaml/site-lib" + " $(FUNCTORYLIB)"))) + #t))))) (home-page "http://cubicle.lri.fr/") (synopsis "Model checker for array-based systems") (description "Cubicle is a model checker for verifying safety properties diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 34fbce0e62..5379eb9166 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -77,22 +77,26 @@ provides the Maven plugin generating the component metadata."))) (define-public maven-resolver-api (package (name "maven-resolver-api") - (version "1.1.1") + (version "1.3.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/apache/maven-resolver/" "archive/maven-resolver-" version ".tar.gz")) (sha256 (base32 - "0rpvdg3qr1j88gw0ankf0wnwfyq6238mdlm7s39vf5jrcvhdgwcl")))) + "0gfkf8g5zbjh6ciq3dnby9m5irhrbyc7d2jzic9l8xx6hl61q6mm")))) (build-system ant-build-system) (arguments `(#:jar-name "maven-resolver-api.jar" #:source-dir "maven-resolver-api/src/main/java" #:test-dir "maven-resolver-api/src/test")) (native-inputs - `(("java-junit" ,java-junit) - ("java-hamcrest-core" ,java-hamcrest-core))) + `(("java-asm" ,java-asm) + ("java-cglib" ,java-cglib) + ("java-hamcrest-core" ,java-hamcrest-core) + ("java-junit" ,java-junit) + ("java-mockito-1" ,java-mockito-1) + ("java-objenesis" ,java-objenesis))) (home-page "https://github.com/apache/maven-resolver") (synopsis "Maven repository system API") (description "This package contains the API for the maven repository system.") @@ -164,12 +168,14 @@ ease usage of the repository system."))) (mkdir-p "build/classes/META-INF/sisu") (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named" (lambda _ - (display "org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory\n")))))))) + (display "org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory\n"))) + #t))))) (inputs `(("maven-resolver-api" ,maven-resolver-api) ("maven-resolver-spi" ,maven-resolver-spi) ("maven-resolver-util" ,maven-resolver-util) - ("java-javax-inject" ,java-javax-inject))) + ("java-javax-inject" ,java-javax-inject) + ("java-slf4j-api" ,java-slf4j-api))) (native-inputs `(("java-junit" ,java-junit) ("java-hamcrest-core" ,java-hamcrest-core) @@ -198,28 +204,28 @@ for repositories using URI-based layouts."))) (string-append ;; Build this list by looking for files containing "@Named" "org.eclipse.aether.internal.impl.DefaultArtifactResolver\n" - "org.eclipse.aether.internal.impl.DefaultTransporterProvider\n" - "org.eclipse.aether.internal.impl.DefaultUpdatePolicyAnalyzer\n" - "org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory\n" - "org.eclipse.aether.internal.impl.DefaultRepositorySystem\n" - "org.eclipse.aether.internal.impl.LoggerFactoryProvider\n" - "org.eclipse.aether.internal.impl.DefaultFileProcessor\n" - "org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider\n" - "org.eclipse.aether.internal.impl.SimpleLocalRepositoryManagerFactory\n" - "org.eclipse.aether.internal.impl.DefaultDeployer\n" - "org.eclipse.aether.internal.impl.DefaultMetadataResolver\n" - "org.eclipse.aether.internal.impl.DefaultInstaller\n" - "org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory\n" - "org.eclipse.aether.internal.impl.DefaultSyncContextFactory\n" - "org.eclipse.aether.internal.impl.DefaultOfflineController\n" - "org.eclipse.aether.internal.impl.EnhancedLocalRepositoryManagerFactory\n" - "org.eclipse.aether.internal.impl.DefaultRepositoryLayoutProvider\n" - "org.eclipse.aether.internal.impl.DefaultRemoteRepositoryManager\n" - "org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher\n" - "org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider\n" - "org.eclipse.aether.internal.impl.DefaultUpdateCheckManager\n" + "org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector\n" "org.eclipse.aether.internal.impl.DefaultChecksumPolicyProvider\n" - "org.eclipse.aether.internal.impl.DefaultDependencyCollector\n")))) + "org.eclipse.aether.internal.impl.DefaultDeployer\n" + "org.eclipse.aether.internal.impl.DefaultFileProcessor\n" + "org.eclipse.aether.internal.impl.DefaultInstaller\n" + "org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider\n" + "org.eclipse.aether.internal.impl.DefaultMetadataResolver\n" + "org.eclipse.aether.internal.impl.DefaultOfflineController\n" + "org.eclipse.aether.internal.impl.DefaultRemoteRepositoryManager\n" + "org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider\n" + "org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher\n" + "org.eclipse.aether.internal.impl.DefaultRepositoryLayoutProvider\n" + "org.eclipse.aether.internal.impl.DefaultRepositorySystem\n" + "org.eclipse.aether.internal.impl.DefaultSyncContextFactory\n" + "org.eclipse.aether.internal.impl.DefaultTransporterProvider\n" + "org.eclipse.aether.internal.impl.DefaultUpdateCheckManager\n" + "org.eclipse.aether.internal.impl.DefaultUpdatePolicyAnalyzer\n" + "org.eclipse.aether.internal.impl.EnhancedLocalRepositoryManagerFactory\n" + "org.eclipse.aether.internal.impl.LoggerFactoryProvider\n" + "org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory\n" + "org.eclipse.aether.internal.impl.SimpleLocalRepositoryManagerFactory\n" + "org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory")))) #t))))) (inputs `(("maven-resolver-api" ,maven-resolver-api) @@ -306,6 +312,7 @@ for repositories using URI-based layouts."))) ("java-plexus-component-annotation" ,java-plexus-component-annotations) ("java-plexus-classworld" ,java-plexus-classworlds) ("java-plexus-plexus-util" ,java-plexus-utils) + ("java-slf4j-api" ,java-slf4j-api) ("java-eclipse-sisu-inject" ,java-eclipse-sisu-inject) ("java-eclipse-sisu-plexus" ,java-eclipse-sisu-plexus))) (native-inputs @@ -675,13 +682,13 @@ gets and puts artifacts through HTTP(S) using Apache HttpClient-4.x."))) (define-public maven-artifact (package (name "maven-artifact") - (version "3.5.4") + (version "3.6.0") (source (origin (method url-fetch) (uri (string-append "https://archive.apache.org/dist/maven/" "maven-3/" version "/source/" "apache-maven-" version "-src.tar.gz")) - (sha256 (base32 "1xg20g87svzzscbn7m92c2njvrr61va1dija2x2w7m5v4hdizfpk")) + (sha256 (base32 "17jrqfqwn569jgnv8m4pqc27csssb0rf6mznpq61l5bnbd6hl75k")) (modules '((guix build utils))) (snippet '(begin @@ -915,8 +922,8 @@ inheritance, interpolation, @dots{}"))) ("java-asm" ,java-asm) ("sisu-inject" ,java-eclipse-sisu-inject) ("javax-inject" ,java-javax-inject) - ("xmlunit" ,java-xmlunit) - ("xmlunit" ,java-xmlunit-legacy) + ("java-xmlunit" ,java-xmlunit) + ("java-xmlunit-matchers" ,java-xmlunit-matchers) ("xbean" ,java-geronimo-xbean-reflect) ("classworlds" ,java-plexus-classworlds))) (description "Apache Maven is a software project management and comprehension diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index d50732dfc4..1500be43b0 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -32,71 +32,73 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages messaging) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix utils) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix git-download) - #:use-module (guix build-system gnu) - #:use-module (guix build-system glib-or-gtk) - #:use-module (guix build-system meson) - #:use-module (guix build-system python) - #:use-module (guix build-system perl) - #:use-module (guix build-system cmake) #:use-module (gnu packages) + #:use-module (gnu packages admin) #:use-module (gnu packages aidc) #:use-module (gnu packages aspell) + #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages check) + #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) #:use-module (gnu packages documentation) #:use-module (gnu packages enchant) + #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) - #:use-module (gnu packages gnome) - #:use-module (gnu packages gtk) - #:use-module (gnu packages image) - #:use-module (gnu packages xorg) - #:use-module (gnu packages xdisorg) - #:use-module (gnu packages libcanberra) - #:use-module (gnu packages man) - #:use-module (gnu packages networking) - #:use-module (gnu packages libidn) - #:use-module (gnu packages lua) - #:use-module (gnu packages xml) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages pkg-config) #:use-module (gnu packages glib) - #:use-module (gnu packages python) - #:use-module (gnu packages python-crypto) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) + #:use-module (gnu packages icu4c) + #:use-module (gnu packages image) + #:use-module (gnu packages less) + #:use-module (gnu packages libcanberra) + #:use-module (gnu packages libidn) + #:use-module (gnu packages linux) + #:use-module (gnu packages lua) + #:use-module (gnu packages man) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages networking) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages photo) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) + #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) + #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages tcl) - #:use-module (gnu packages compression) - #:use-module (gnu packages check) - #:use-module (gnu packages admin) - #:use-module (gnu packages linux) + #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) - #:use-module (gnu packages icu4c) - #:use-module (gnu packages qt) #:use-module (gnu packages video) #:use-module (gnu packages web) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xiph) - #:use-module (gnu packages audio) - #:use-module (gnu packages bison) - #:use-module (gnu packages fontutils) - #:use-module (gnu packages bash) - #:use-module (gnu packages guile) - #:use-module (gnu packages less) - #:use-module (gnu packages readline) - #:use-module (gnu packages photo) - #:use-module (gnu packages texinfo)) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module (guix build-system cmake) + #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) + #:use-module (guix build-system perl) + #:use-module (guix build-system python) + #:use-module (guix build-system trivial) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils)) (define-public libotr (package @@ -548,14 +550,14 @@ simultaneously and therefore appear under the same nickname on IRC.") (define-public python-nbxmpp (package (name "python-nbxmpp") - (version "0.6.7") + (version "0.6.8") (source (origin (method url-fetch) (uri (pypi-uri "nbxmpp" version)) (sha256 (base32 - "0fas4iawjfdmkz8vr042wpq6b2qispi6fy35g4a62jw50jb1saav")))) + "1iip8ijxp86fx4bl1h67p2lp02p2zm1ga2p3q43nv30smj54nawc")))) (build-system python-build-system) (arguments `(#:tests? #f)) ; no tests @@ -573,7 +575,7 @@ was initially a fork of xmpppy, but uses non-blocking sockets.") (define-public gajim (package (name "gajim") - (version "1.0.3") + (version "1.1.0") (source (origin (method url-fetch) (uri (string-append "https://gajim.org/downloads/" @@ -581,12 +583,19 @@ was initially a fork of xmpppy, but uses non-blocking sockets.") "/gajim-" version ".tar.bz2")) (sha256 (base32 - "0ds4rqwfrpj89a489w6yih8gx5zi7qa4ffgld950fk7s0qxvcfnb")))) + "1qis8vs7y7g1zn5i5dshwrszidc22qpflycwb4nixvp9lbmkq0va")))) (build-system python-build-system) (arguments - `(#:phases + `(#:test-target "test_nogui" + #:phases (modify-phases %standard-phases - (add-after 'install 'wrap-program + (add-after 'unpack 'add-plugin-dirs + (lambda _ + (substitute* "gajim/common/configpaths.py" + (("_paths\\['PLUGINS_USER'\\]") + "_paths['PLUGINS_USER'],os.getenv('GAJIM_PLUGIN_PATH')")) + #t)) + (add-after 'install 'wrap-gi-typelib-path (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (for-each @@ -597,20 +606,6 @@ was initially a fork of xmpppy, but uses non-blocking sockets.") `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))) '("gajim" "gajim-remote" "gajim-history-manager"))) #t)) - (add-before 'check 'remove-test-resolver - ;; This test requires network access. - (lambda _ - (substitute* "test/runtests.py" - (("'integration.test_resolver',") "")) - #t)) - (add-before 'check 'start-xserver - ;; Tests require a running X server. - (lambda* (#:key inputs #:allow-other-keys) - (let ((xorg-server (assoc-ref inputs "xorg-server")) - (display ":1")) - (setenv "DISPLAY" display) - (zero? (system (string-append xorg-server "/bin/Xvfb " - display " &")))))) (add-after 'install 'install-icons (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -628,16 +623,30 @@ was initially a fork of xmpppy, but uses non-blocking sockets.") (symlink adwaita "Adwaita") (copy-recursively hicolor "hicolor"))) #t)) - (add-after 'install-icons 'wrap-program + (add-after 'install-icons 'wrap-gsettings-schema-dir (lambda* (#:key inputs outputs #:allow-other-keys) (wrap-program (string-append (assoc-ref outputs "out") "/bin/gajim") ;; For GtkFileChooserDialog. `("GSETTINGS_SCHEMA_DIR" = (,(string-append (assoc-ref inputs "gtk+") - "/share/glib-2.0/schemas"))))))))) + "/share/glib-2.0/schemas")))) + #t))))) + (native-search-paths + (list (search-path-specification + (variable "GAJIM_PLUGIN_PATH") + (separator #f) ;single entry + (files '("share/gajim/plugins"))) + ;; Gajim needs to use the propagated inputs of its plugins. + (search-path-specification + (variable "PYTHONPATH") + (files (list (string-append + "lib/python" + (version-major+minor (package-version python)) + "/site-packages")))))) (native-inputs `(("intltool" ,intltool) + ("python-docutils" ,python-docutils) ("xorg-server" ,xorg-server))) (inputs `(("adwaita-icon-theme" ,adwaita-icon-theme) @@ -646,13 +655,13 @@ was initially a fork of xmpppy, but uses non-blocking sockets.") ("gtkspell3" ,gtkspell3) ("hicolor-icon-theme" ,hicolor-icon-theme) ("libsecret" ,libsecret) - ("python-axolotl" ,python-axolotl) + ("python-cssutils" ,python-cssutils) ("python-dbus" ,python-dbus) - ("python-docutils" ,python-docutils) ("python-gnupg" ,python-gnupg) + ("python-keyring" ,python-keyring) ("python-nbxmpp" ,python-nbxmpp) ("python-pillow" ,python-pillow) - ("python-pyasn1" ,python-pyasn1) + ("python-precis-i18n" ,python-precis-i18n) ("python-pycairo" ,python-pycairo) ("python-pygobject" ,python-pygobject) ("python-pyopenssl" ,python-pyopenssl) @@ -666,6 +675,41 @@ transformation; audio and video conferences; file transfer; TLS, GPG and end-to-end encryption support; XML console.") (license license:gpl3))) +(define-public gajim-omemo + (package + (name "gajim-omemo") + (version "2.6.23") + (source (origin + (method url-fetch/zipbomb) + (uri (string-append + "https://ftp.gajim.org/plugins_releases/omemo_" + version ".zip")) + (sha256 + (base32 + "134zbscbcnhx4smad0ryvx3ngkqlsspafqf0kk8y2d3vcd9bf3pa")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (share (in-vicinity out "share/gajim/plugins")) + (source (assoc-ref %build-inputs "source"))) + (mkdir-p share) + (copy-recursively source share) + #t)))) + (propagated-inputs + `(("python-axolotl" ,python-axolotl))) + (home-page + "https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin") + (synopsis "Gajim OMEMO plugin") + (description + "This package provides the Gajim OMEMO plugin. OMEMO is an XMPP +Extension Protocol (XEP) for secure multi-client end-to-end encryption based +on Axolotl and PEP.") + (license license:gpl3+))) + (define-public dino ;; The only release tarball is for version 0.0, but it is very old and fails ;; to build. @@ -827,8 +871,8 @@ protocols.") (license license:x11))) (define-public libtoxcore - (let ((revision "1") - (commit "755f084e8720b349026c85afbad58954cb7ff1d4")) + (let ((revision "2") + (commit "bf69b54f64003d160d759068f4816b2d9b2e1e21")) (package (name "libtoxcore") (version (string-append "0.0.0" "-" @@ -841,26 +885,19 @@ protocols.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "0ap1gvlyihnfivv235dbrgsxsiiz70bhlmlr5gn1027w3h5kqz8w")))) + "11lqra4yd7v293cp286ynff5lqz1pprzg8vn3wq6vryj08g88zqb")))) (build-system gnu-build-system) + (arguments `(#:tests? #f)) ; FIXME: tests hang, some fail. (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) - ;; TODO: Add when test suite is capable of passing. - ;; ("check" ,check) + ("check" ,check) ("pkg-config" ,pkg-config))) (inputs `(("libsodium" ,libsodium) ("opus" ,opus) ("libvpx" ,libvpx))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))) - #:tests? #f)) ; FIXME: Testsuite fails, reasons unspecific. (synopsis "Library for the Tox encrypted messenger protocol") (description "C library implementation of the Tox encrypted messenger protocol.") @@ -876,13 +913,14 @@ protocols.") (version "0.2.8") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/TokTok/c-toxcore/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/TokTok/c-toxcore.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0qlkimlvbd24nlj7w9b5rpz1r807magqxmfylc1mlxsqhmfi5zj7")))) + "0xgnraysz25fbws5zwjk92mwnl8k1yih701qam8kgm3rxh50kyhm")))) (arguments `(#:tests? #f)) ; FIXME: Testsuite seems to stay stuck on test 3. Disable ; for now. @@ -1647,7 +1685,7 @@ notifications, and Python scripting support.") (define-public libqmatrixclient (package (name "libqmatrixclient") - (version "0.3.0.2") + (version "0.4.0") (source (origin (method git-fetch) @@ -1657,7 +1695,7 @@ notifications, and Python scripting support.") (file-name (git-file-name name version)) (sha256 (base32 - "03pxmr4wa818fgqddkr2fkwz6pda538x3ic9yq7c40x98zqf55w5")))) + "1llzqjagvp91kcg26q5c4qw9aaz7wna3rh6k06rc3baivrjqf3cn")))) (build-system cmake-build-system) (inputs `(("qtbase" ,qtbase))) @@ -1675,7 +1713,7 @@ QMatrixClient project.") (define-public quaternion (package (name "quaternion") - (version "0.0.9.2") + (version "0.0.9.3") (source (origin (method git-fetch) @@ -1685,31 +1723,31 @@ QMatrixClient project.") (file-name (git-file-name name version)) (sha256 (base32 - "0zrr4khbbdf5ziq65gi0cb1yb1d0y5rv18wld22w1x96f7fkmrib")))) + "1hr9zqf301rg583n9jv256vzj7y57d8qgayk7c723bfknf1s6hh3")))) (build-system cmake-build-system) (inputs `(("libqmatrixclient" ,libqmatrixclient) ("qtbase" ,qtbase) - ("qtdeclarative" ,qtdeclarative))) + ("qtdeclarative" ,qtdeclarative) + ("qtquickcontrols" ,qtquickcontrols) + ("qtsvg" ,qtsvg) + ("qttools" ,qttools))) (arguments `(#:tests? #f ; No tests #:phases (modify-phases %standard-phases - (add-after 'unpack 'fix-libqmatrixclient-dynamic-linking - ;; Upstream recommends statically linking with - ;; libqmatrixclient. Patch the source so that we can dynamically - ;; link instead. In a future release, when upstream moves to - ;; dynamic linking, remove this phase. - (lambda _ - (substitute* "CMakeLists.txt" - (("^add_subdirectory\\(lib\\)" all) - (string-append "#" all))) - (for-each - (lambda (file) - (substitute* file - (("#include \"lib/([^\"]*)\"" all header) - (string-append "#include <" header ">")))) - (find-files "client" "\\.(cpp|h)$")) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/quaternion") + `("QT_PLUGIN_PATH" ":" prefix + (,(string-append (assoc-ref inputs "qtsvg") + "/lib/qt5/plugins"))) + `("QML2_IMPORT_PATH" ":" prefix + ,(map (lambda (label) + (string-append (assoc-ref inputs label) + "/lib/qt5/qml")) + '("qtdeclarative" "qtquickcontrols")))) #t))))) (home-page "https://matrix.org/docs/projects/client/quaternion.html") (synopsis "Graphical client for the Matrix instant messaging protocol") @@ -1720,4 +1758,128 @@ QMatrixClient project.") (license (list license:gpl3+ ; all source code license:lgpl3+)))) ; icons/breeze +(define-public hangups + (package + (name "hangups") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hangups" version)) + (sha256 + (base32 "0mvpfd5dc3zgcvwfidcd2qyn59xl5biv728mxifw0ls5rzkc9chs")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'relax-dependencies + ;; Relax overly strict package version specifications. + (lambda _ + (substitute* "setup.py" + (("==") ">=")) + #t))))) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp) + ("python-appdirs" ,python-appdirs) + ("python-async-timeout" ,python-async-timeout) + ("python-configargparse" ,python-configargparse) + ("python-mechanicalsoup" ,python-mechanicalsoup) + ("python-protobuf" ,python-protobuf) + ("python-readlike" ,python-readlike) + ("python-reparser" ,python-reparser) + ("python-requests" ,python-requests) + ("python-urwid" ,python-urwid))) + (home-page "https://hangups.readthedocs.io/") + (synopsis "Instant messaging client for Google Hangouts") + (description + "Hangups is an instant messaging client for Google Hangouts. It includes +both a Python library and a reference client with a text-based user interface. + +Hangups is implements a reverse-engineered version of Hangouts' proprietary, +non-interoperable protocol, which allows it to support features like group +messaging that aren’t available to clients that connect over XMPP.") + (license license:expat))) + +(define-public telegram-purple + (package + (name "telegram-purple") + (version "1.3.1") + (home-page "https://github.com/majn/telegram-purple") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)) + (recursive? #t))) + (sha256 + (base32 + "0p93jpjpx7hszwffzgixw04zkrpsiyzz4za3gfr4j07krc4771fp")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Makefile.in" + ;; By default these two directories point to Pidgin's own + ;; prefix. + (("^PLUGIN_DIR_PURPLE=.*") + (string-append + "exec_prefix := @exec_prefix@\n" + "PLUGIN_DIR_PURPLE := @libdir@/purple-2\n")) + (("^DATA_ROOT_DIR_PURPLE=.*") + "DATA_ROOT_DIR_PURPLE := @datarootdir@\n") + + ;; Honor sysconfdir instead of trying to write to /etc. + (("DESTDIR\\)/etc/telegram-purple") + "DESTDIR)@sysconfdir@/telegram-purple")) + #t)) + (patches (search-patches "telegram-purple-adjust-test.patch")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("which" ,which))) + (inputs + `(("pidgin" ,pidgin) + ("libgcrypt" ,libgcrypt) + ("libwebp" ,libwebp) + ("glib" ,glib) + ("gettext" ,gnu-gettext) + ("gtk+" ,gtk+-2) + ("zlib" ,zlib))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; We're using release tag for repository checkout - let's prepare + ;; header defining GIT_COMMIT manually instead of running git to + ;; identify version which is being compiled. Git repository + ;; is removed anyway and only source code is kept. + (add-after 'unpack 'prepare-commit.h + (lambda _ + (with-output-to-file "./commit.h" + (lambda () + (display + (string-append "//generated by guix, use version instead of " + "commit\n" + "#ifndef GIT_COMMIT\n" + "# define GIT_COMMIT \"v" + ,version "\"\n" + "#endif\n")))) + #t)) + (add-before 'configure 'set-SHELL-variables + ;; Set these environment variables so that 'tgl/configure' uses the + ;; right shell and not /bin/sh. + (lambda _ + (let ((bash (which "bash"))) + (setenv "SHELL" bash) + (setenv "CONFIG_SHELL" bash) + #t)))))) + (synopsis "Telegram messaging support for Pidgin") + (description + "Telegram-purple is a plugin for Libpurple, the communication library +used by the Pidgin instant messaging client, that adds support for the +Telegram messenger.") + + ;; Code under tgl/ (the Telegram library) is LGPLv2.1+, but the plugin + ;; itself is GPLv2+. + (license license:gpl2+))) + ;;; messaging.scm ends here diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index 12d736a76a..b69ec07158 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -32,6 +32,7 @@ #:use-module (guix build-system go) #:use-module (guix utils) #:use-module (gnu packages admin) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages curl) #:use-module (gnu packages check) @@ -39,6 +40,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages django) #:use-module (gnu packages gd) + #:use-module (gnu packages gettext) #:use-module (gnu packages image) #:use-module (gnu packages mail) #:use-module (gnu packages networking) @@ -403,3 +405,27 @@ WSGI and the node exporter textfile collector.") written in Go with pluggable metric collectors.") (home-page "https://github.com/prometheus/node_exporter") (license license:asl2.0)))) + +(define-public fswatch + (package + (name "fswatch") + (version "1.13.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emcrisostomo/fswatch.git") + (commit version))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0r9m3rysqa1kdgghv2i6sv4zrd0v8idsbrp627ys642dl39svir3")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ("libtool" ,libtool))) + (synopsis "File system monitor") + (description "This package provides a file system monitor.") + (home-page "https://github.com/emcrisostomo/fswatch") + (license license:gpl3+))) diff --git a/gnu/packages/mono.scm b/gnu/packages/mono.scm index 343cebc99f..17f90fe30a 100644 --- a/gnu/packages/mono.scm +++ b/gnu/packages/mono.scm @@ -41,7 +41,8 @@ ".tar.bz2")) (sha256 (base32 - "0jibyvyv2jy8dq5ij0j00iq3v74r0y90dcjc3dkspcfbnn37cphn")))) + "0jibyvyv2jy8dq5ij0j00iq3v74r0y90dcjc3dkspcfbnn37cphn")) + (patches (search-patches "mono-mdoc-timestamping.patch")))) (build-system gnu-build-system) (native-inputs `(("gettext" ,gettext-minimal) @@ -52,10 +53,26 @@ (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'make-reproducible + (lambda _ + (substitute* "mono/mini/Makefile.in" + (("build_date = [^;]*;") + "build_date = (void*) 0;")) + #t)) (add-after 'unpack 'set-env (lambda _ ;;* (#:key inputs #:allow-other-keys) ;; all tests under mcs/class fail trying to access $HOME - (setenv "HOME" "/tmp"))) + (setenv "HOME" "/tmp") + ;; ZIP files have "DOS time" which starts in Jan 1980. + (setenv "SOURCE_DATE_EPOCH" "315532800") + #t)) + (add-after 'unpack 'fix-includes + (lambda _ + ;; makedev is in now. Include it. + (substitute* "mono/io-layer/processes.c" + (("#ifdef HAVE_SYS_MKDEV_H") "#if 1") + (("sys/mkdev.h") "sys/sysmacros.h")) + #t)) (add-after 'unpack 'patch-tests (lambda _ ;;* (#:key inputs #:allow-other-keys) (substitute* "mono/tests/Makefile.in" @@ -105,5 +122,5 @@ (description "Mono is a compiler, vm, debugger and set of libraries for C#, a C-style programming language from Microsoft that is very similar to Java.") - (home-page "http://mono-project.com/") + (home-page "https://www.mono-project.com/") (license license:x11))) diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index c9effbafa3..c7736eeb51 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -470,13 +470,13 @@ compression format (.mpc files).") (define-public eyed3 (package (name "eyed3") - (version "0.8.7") + (version "0.8.8") (source (origin (method url-fetch) (uri (pypi-uri "eyeD3" version)) (sha256 (base32 - "1fzqy6hkg73xvpapdjrdzr3r0fsamnplvjfl7dz7rzgzx2r4x4pg")))) + "197lszkyzm377ym5r0ssryfsiz20yjx8y4rii3wc81n92d1qzlaq")))) (build-system python-build-system) (arguments `(#:tests? #f)) ; the required test data contains copyrighted material. diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 3e69ddba69..0a81a3b8b8 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -58,7 +58,7 @@ (define-public libmpdclient (package (name "libmpdclient") - (version "2.15") + (version "2.16") (source (origin (method url-fetch) (uri @@ -67,7 +67,7 @@ "/libmpdclient-" version ".tar.xz")) (sha256 (base32 - "1la60ar6i4ghpscrlgm45kci9b74bvkpsfybhg0ygs4rzpwzdnxl")))) + "0r24cl3i9nvs6a47mvwaxk1kb5wmnhkhrw1q5cq9010fgjvdlszs")))) (build-system meson-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -90,7 +90,7 @@ interfacing MPD in the C, C++ & Objective C languages.") (define-public mpd (package (name "mpd") - (version "0.20.21") + (version "0.20.23") (source (origin (method url-fetch) (uri @@ -99,7 +99,7 @@ interfacing MPD in the C, C++ & Objective C languages.") "/mpd-" version ".tar.xz")) (sha256 (base32 - "1p2qrhdb1gzfv3y5dvvbc9s2wwmhg3azvzf8r02hzhk5q96pc8l3")))) + "1smg6hab4kwrzsw1k7vlpya3ampdk8psnmkrzxlgb43j4fgmygjh")))) (build-system gnu-build-system) (arguments `(#:phases @@ -165,7 +165,7 @@ protocol.") (define-public mpd-mpc (package (name "mpd-mpc") - (version "0.30") + (version "0.31") (source (origin (method url-fetch) (uri @@ -174,10 +174,12 @@ protocol.") "/mpc-" version ".tar.xz")) (sha256 (base32 - "1kkzhrypkp0v6xv4d6db415pd0h6jqki29kfpsnfkvrhhh55pz35")))) + "0b9bsn4sl26xc6wdcms51x9yxznkxkppaycn8gnv4rd1m21kwdv2")))) (build-system meson-build-system) (inputs `(("libmpdclient" ,libmpdclient))) - (native-inputs `(("pkg-config" ,pkg-config))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("python-sphinx" ,python-sphinx))) (synopsis "Music Player Daemon client") (description "MPC is a minimalist command line interface to MPD, the music player daemon.") @@ -242,7 +244,7 @@ terminal using ncurses.") "0m0mjb049sl62vx13h9waavysa30mk0rphacksnvf94n13la62v5")))) (build-system gnu-build-system) (inputs `(("libmpdclient" ,libmpdclient) - ("boost" ,boost) + ("boost" ,boost-cxx14) ("readline" ,readline) ("ncurses" ,ncurses) ("taglib" ,taglib) diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index fc8aadef29..f08a7f5f88 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017 Dave Love ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Paul Garlick ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +30,7 @@ #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages gcc) #:use-module (gnu packages linux) @@ -263,3 +265,43 @@ only provides @code{MPI_THREAD_FUNNELED}."))) ;; in the build environment than the package wants while testing. (setenv "OMPI_MCA_rmaps_base_oversubscribe" "yes") #t)) + +(define-public python-mpi4py + (package + (name "python-mpi4py") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mpi4py" version)) + (sha256 + (base32 + "1mzgd26dfv4vwbci8gq77ss9f0x26i9aqzq9b9vs9ndxhlnv0mxl")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'build 'mpi-setup + ,%openmpi-setup) + (add-before 'check 'pre-check + (lambda _ + ;; Skip BaseTestSpawn class (causes error 'ompi_dpm_dyn_init() + ;; failed --> Returned "Unreachable"' in chroot environment). + (substitute* "test/test_spawn.py" + (("unittest.skipMPI\\('openmpi\\(<3.0.0\\)'\\)") + "unittest.skipMPI('openmpi')")) + #t))))) + (inputs + `(("openmpi" ,openmpi))) + (home-page "https://bitbucket.org/mpi4py/mpi4py/") + (synopsis "Python bindings for the Message Passing Interface standard") + (description "MPI for Python (mpi4py) provides bindings of the Message +Passing Interface (MPI) standard for the Python programming language, allowing +any Python program to exploit multiple processors. + +mpi4py is constructed on top of the MPI-1/MPI-2 specification and provides an +object oriented interface which closely follows MPI-2 C++ bindings. It +supports point-to-point and collective communications of any picklable Python +object as well as optimized communications of Python objects (such as NumPy +arrays) that expose a buffer interface.") + (license bsd-3))) diff --git a/gnu/packages/mtools.scm b/gnu/packages/mtools.scm index e4750f579f..5be3da0137 100644 --- a/gnu/packages/mtools.scm +++ b/gnu/packages/mtools.scm @@ -28,15 +28,15 @@ (define-public mtools (package (name "mtools") - (version "4.0.19") + (version "4.0.23") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/mtools/mtools-" - version ".tar.gz")) + version ".tar.bz2")) (sha256 (base32 - "003qnj4rs22v2sih3is55scvav8xq9p1dp5b7gnyl67a60ky516r")))) + "1qwfxzr964fasxlzhllahk8mzh7c82s808wvly95dsqsflkdp27i")))) (build-system gnu-build-system) (home-page "https://www.gnu.org/software/mtools/") (synopsis "Access MS-DOS disks without mounting") diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index 4f5eac16b9..71e1efcd8c 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -26,6 +26,7 @@ (define-module (gnu packages multiprecision) #:use-module (guix licenses) #:use-module (gnu packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages m4) #:use-module (gnu packages gcc) #:use-module (guix packages) @@ -225,3 +226,68 @@ minor changes to the source code. In most cases only a few type statements and (for Fortran-90 programs) read/write statements need to be changed. PSLQ and numerical quadrature programs are included.") (license bsd-3))) + +(define-public tomsfastmath + (package + (name "tomsfastmath") + (version "0.13.0") + (synopsis "Large integer arithmetic library") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/libtom/tomsfastmath/" + "releases/download/v" version "/" + "tfm-" (version-major+minor version) ".tar.bz2")) + (sha256 + (base32 + "01rlsvp6lskk2a0gfdi24ak5h8vdwi6kqbvbwjnmb92r0zrfdvwd")) + (patches (search-patches "tomsfastmath-constness.patch")))) + (build-system gnu-build-system) + (native-inputs + `(("libtool" ,libtool))) + (arguments + `(#:make-flags (list "-f" "makefile.shared" + (string-append "LIBPATH=" %output "/lib") + (string-append "INCPATH=" %output "/include") + "GROUP=root" "USER=root" + "CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) ;no configuration + (replace 'check + (lambda* (#:key make-flags #:allow-other-keys) + (and (zero? (apply system* "make" + "stest" "test_standalone" + make-flags)) + (zero? (system* "./stest")) + (zero? (system* "./test"))))) + (add-before 'install 'install-nogroup + (lambda _ + ;; Let permissions inherit from the current process + (substitute* "makefile.shared" + (("-g \\$\\(GROUP\\) -o \\$\\(USER\\)") "")) + #t)) + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((docdir (string-append (assoc-ref outputs "out") + "/share/doc/tomsfastmath"))) + (install-file "doc/tfm.pdf" docdir) + #t))) + (add-after 'install 'install-pc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (pc-dir (string-append out "/lib/pkgconfig"))) + (call-with-output-file "tomsfastmath.pc" + (lambda (port) + (format port "~ +Name: TomsFastMath +Description: ~a +Version: ~a +Libs: -L~a/lib -ltfm~%" + ,synopsis ,version out))) + (install-file "tomsfastmath.pc" pc-dir) + #t)))))) + (home-page "http://www.libtom.org/TomsFastMath/") + (description "TomsFastMath is a large integer library written in portable +ISO C. It is a port of LibTomMath with optional support for inline assembler +multiplies.") + (license public-domain))) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index ac2ed81895..e16e64af73 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2018 Stefan Reichör ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018 Björn Höfling ;;; ;;; This file is part of GNU Guix. ;;; @@ -284,7 +285,7 @@ score, keyboard, guitar, drum and controller views.") ("pulseaudio" ,pulseaudio) ("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras) - ("sqlite" ,sqlite) + ("sqlite" ,sqlite-with-column-metadata) ("sparsehash" ,sparsehash) ("taglib" ,taglib))) (home-page "http://clementine-player.org") @@ -309,29 +310,27 @@ playing your music.") (name "cmus") (version "2.7.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/" name "/" name "/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/cmus/cmus.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0raixgjavkm7hxppzsc5zqbfbh2bhjcmbiplhnsxsmyj8flafyc1")))) + "0xd96py21bl869qlv1353zw7xsgq6v5s8szr0ldr63zj5fgc2ps5")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; cmus does not include tests #:phases (modify-phases %standard-phases - (replace - 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - - ;; It's an idiosyncratic configure script that doesn't - ;; understand --prefix=..; it wants prefix=.. instead. - (zero? - (system* "./configure" - (string-append "prefix=" out))))))))) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + ;; It's an idiosyncratic configure script that doesn't + ;; understand --prefix=..; it wants prefix=.. instead. + (invoke "./configure" + (string-append "prefix=" out)) + #t)))))) ;; TODO: cmus optionally supports the following formats, which haven't yet ;; been added to Guix: ;; @@ -889,9 +888,10 @@ Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro #t)) (add-after 'install 'install-info (lambda _ - (zero? (system* "make" - "-j" (number->string (parallel-job-count)) - "conf=www" "install-info"))))))) + (invoke "make" + "-j" (number->string (parallel-job-count)) + "conf=www" "install-info") + #t))))) (inputs `(("guile" ,guile-1.8) ("font-dejavu" ,font-dejavu) @@ -1144,14 +1144,14 @@ your own lessons.") (name "powertabeditor") (version "2.0.0-alpha10") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/powertab/powertabeditor/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/powertab/powertabeditor.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1fr14ql0yhlqvh6y08yaanszm2nvca5i50rqym396kfvga3ky18x")) + "1z4fhdp71ck9synr12rg1p6365xnypd8ih40c5icj4si36khvksk")) (modules '((guix build utils))) (snippet '(begin @@ -1185,14 +1185,14 @@ add_library( rapidjson INTERFACE IMPORTED )")) (modify-phases %standard-phases (replace 'check (lambda _ - (zero? (system* "bin/pte_tests" - ;; FIXME: these tests fail - "exclude:Actions/EditStaff" - "exclude:Formats/PowerTabOldImport/MergeMultiBarRests" - "exclude:Score/ViewFilter/FilterRule" - "exclude:Score/ViewFilter/ViewFilter" - "exclude:Formats/PowerTabOldImport/Directions" - )))) + (invoke "bin/pte_tests" + ;; FIXME: these tests fail + "exclude:Actions/EditStaff" + "exclude:Formats/PowerTabOldImport/MergeMultiBarRests" + "exclude:Score/ViewFilter/FilterRule" + "exclude:Score/ViewFilter/ViewFilter" + "exclude:Formats/PowerTabOldImport/Directions") + #t)) ;; FIXME: This bug has been fixed upstream, but no release has been ;; made yet. See https://github.com/powertab/powertabeditor/issues/257 (add-after 'unpack 'fix-boost-bug @@ -1257,12 +1257,14 @@ Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.") (name "jalv-select") (version "0.8") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/brummer10/jalv_select/" - "archive/V" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/brummer10/jalv_select.git") + (commit (string-append "V" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0zraagwr681b5s3qifxf399c7q93jz23c8sr42gmff9zqnvxc75q")))) + "0gqh768sbvn9ffyx1vqg9i57py9x9v4l65bk6wjsvgga4d7m83k1")))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -1277,6 +1279,13 @@ Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.") (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin"))) (substitute* "jalv.select.h" (("gtkmm.h") "gtkmm-2.4/gtkmm.h")) + #t)) + (add-before 'reset-gzip-timestamps 'make-manpages-writable + (lambda* (#:key outputs #:allow-other-keys) + (for-each make-file-writable + (find-files (string-append (assoc-ref outputs "out") + "/share/man") + ".*\\.gz$")) #t))))) (inputs `(("lilv" ,lilv) @@ -1751,9 +1760,7 @@ export.") (lambda _ (substitute* "tcl/pd-gui.tcl" (("exec wish ") (string-append "exec " (which "wish8.6") " "))) - #t)) - (add-after 'unpack 'autoconf - (lambda _ (zero? (system* "bash" "./autogen.sh"))))))) + #t))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -1861,13 +1868,14 @@ using a system-independent interface.") (name "portmidi-for-extempore") (version "217") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/extemporelang/portmidi/" - "archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/extemporelang/portmidi.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0gjikwciyr8kk4y3qiv1pcq58xpgw38ql1m2gs6g0qc1s8sx4235")))) + "1inriyrjf7xx2b7r54x0vmf9ngyqgr7g5060c22bwkbsgg53apzv")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; no tests (native-inputs '()) @@ -2239,14 +2247,14 @@ from the command line.") (define-public qtractor (package (name "qtractor") - (version "0.9.2") + (version "0.9.3") (source (origin (method url-fetch) (uri (string-append "http://downloads.sourceforge.net/qtractor/" "qtractor-" version ".tar.gz")) (sha256 (base32 - "1j3rpvdkw9rw48j4zyfn6rprp01csy4rl6zckcjyx0vh7vaycchr")))) + "1010gvkzdzdk39g1g6wx2j19ls0kdl6l9q51xzk2qik7h2fwxl71")))) (build-system gnu-build-system) (arguments `(#:tests? #f)) ; no "check" target @@ -2278,59 +2286,66 @@ follows a traditional multi-track tape recorder control paradigm.") (license license:gpl2+))) (define-public ams-lv2 - (package - (name "ams-lv2") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/blablack/ams-lv2/" - "archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xacxyzqcj83g9c1gwfn36gg1c6yi15v7km4vidfidrjzb4x27fq")))) - (build-system waf-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-sse-flags - (lambda* (#:key system #:allow-other-keys) - (when (not (or (string-prefix? "x86_64" system) - (string-prefix? "i686" system))) - (substitute* "wscript" - (("'-msse', '-mfpmath=sse', ") "")) - #t)))) - #:tests? #f)) ; no tests - (inputs - `(("lv2" ,lv2) - ("lvtk" ,lvtk) - ("gtkmm" ,gtkmm-2) - ("gtk" ,gtk+-2) - ("cairo" ,cairo) - ("fftw" ,fftw))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (home-page "https://objectivewave.wordpress.com/ams-lv2/") - (synopsis "Port of Alsa Modular Synth internal modules into LV2") - (description "This set of LV2 plugins is a port of the internal modules + ;; Version 1.2.1 built with Python 3.7 raises an error in the waf-script. + ;; Therefore, we take two more commmits than 1.2.1 that introduce an updated + ;; waf-script and fix one error. + (let ((commit "377d166db54a787b48979171c5652d2eb4f1bbb5") + (revision "1")) + (package + (name "ams-lv2") + (version (git-version "1.2.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/blablack/ams-lv2.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ndgxcxjxwidg7436k0nb5clxkyi878k1j999sbbd1gk2fm0kcqm")))) + (build-system waf-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-sse-flags + (lambda* (#:key system #:allow-other-keys) + (unless (or (string-prefix? "x86_64" system) + (string-prefix? "i686" system)) + (substitute* "wscript" + (("'-msse', '-mfpmath=sse', ") ""))) + #t))) + #:tests? #f)) ; no tests + (inputs + `(("lv2" ,lv2) + ("lvtk" ,lvtk) + ("gtkmm" ,gtkmm-2) + ("gtk" ,gtk+-2) + ("cairo" ,cairo) + ("fftw" ,fftw))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://objectivewave.wordpress.com/ams-lv2/") + (synopsis "Port of Alsa Modular Synth internal modules into LV2") + (description "This set of LV2 plugins is a port of the internal modules found in Alsa Modular Synth. These plugins are used to create modular synthesizers and contain: VCO, VCF, VCA, LFO, slew limiter, envelopes, sample and hold, etc.") - (license license:gpl2))) + (license license:gpl2)))) (define-public gxtuner (package (name "gxtuner") (version "2.4") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/brummer10/gxtuner/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/brummer10/gxtuner.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1hn5qjac7qd00v0sp7ijhhc3sb26ks9bni06nngivva21h61xrjr")))) + "1fxd2akan2njlr7fpkh84830783qhh1gg7yakswqk5dd466dcn96")))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -2436,13 +2451,14 @@ tune-in sender list from @url{http://opml.radiotime.com}.") (name "pianobar") (version "2016.06.02") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/PromyLOPh/" - name "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/PromyLOPh/pianobar.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1hi5rr6jcr0kwf4xfz007ndwkjkp287lhwlsgfz6iryqa5n6jzcp")))) + "058fbdxp7n35hxwy3b8slfy4pb4n63cb173vfmywqa06wh1dv6f6")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests @@ -2672,13 +2688,14 @@ Songs can be searched by artist, name or even by a part of the song text.") (define-public beets (package (name "beets") - (version "1.4.6") + (version "1.4.7") (source (origin (method url-fetch) (uri (pypi-uri "beets" version)) + (patches (search-patches "beets-python-3.7-fix.patch")) (sha256 (base32 - "0l2vfrknwcsm6bn83m7476qrz45qwgxcb5k0h7kn96kr70irn1v2")))) + "0w3gz69s9gf5ih69d4sddgh7ndj7658m621bp742zldvjakdncrs")))) (build-system python-build-system) (arguments `(#:phases @@ -2687,6 +2704,12 @@ Songs can be searched by artist, name or even by a part of the song text.") (lambda _ (setenv "HOME" (string-append (getcwd) "/tmp")) #t)) + (add-after 'unpack 'make-python3.7-compatible + (lambda _ + ;; See . + (substitute* "beets/autotag/hooks.py" + (("re\\._pattern_type") "re.Pattern")) + #t)) (replace 'check (lambda _ (invoke "nosetests" "-v")))))) @@ -2723,14 +2746,14 @@ of tools for manipulating and accessing your music.") (name "milkytracker") (version "1.02.00") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/milkytracker/" - "MilkyTracker/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/milkytracker/MilkyTracker.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "08v0l4ipvvwkwv4ywkc6c8a6xnpkyb02anj36w8q6gikxrs6xjvb")) + "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca")) (modules '((guix build utils))) ;; Remove non-FSDG compliant sample songs. (snippet @@ -2763,16 +2786,16 @@ for improved Amiga ProTracker 2/3 compatibility.") (define-public schismtracker (package (name "schismtracker") - (version "20180513") + (version "20180810") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/" name "/" name "/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/schismtracker/schismtracker.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1yjfd02arb51n0vyv11qgpn6imh7hcqnc3953cbvgwb4cnrswk9f")) + "0cwp5fna14hjrlf652l96ja5cjq63is3cwg6pp4wbpx43mb7qb2d")) (modules '((guix build utils))) (snippet ;; Remove use of __DATE__ and __TIME__ for reproducibility. @@ -2785,8 +2808,6 @@ for improved Amiga ProTracker 2/3 compatibility.") (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ (invoke "autoreconf" "-vfi"))) (add-before 'configure 'link-libm (lambda _ (setenv "LIBS" "-lm") #t))))) (native-inputs @@ -3284,7 +3305,8 @@ plugins, a switch trigger, a toggle switch, and a peakmeter.") "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic")))) (build-system waf-build-system) (arguments - `(#:tests? #f ; no "check" target + `(#:python ,python-2 + #:tests? #f ; no "check" target #:configure-flags (list "--no-webkit") #:phases (modify-phases %standard-phases @@ -3524,13 +3546,14 @@ are a C compiler and glib. Full API documentation and examples are included.") (version "1.1.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/LMMS/lmms/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/LMMS/lmms.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1g76z7ha3hd53vbqaq9n1qg6s3lw8zzaw51iny6y2bz0j1xqwcsr")))) + "03hhymc6d73fa3wbcqb7rm1l03zkw605k5i9kvkvjmv488bqh3pd")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; no tests @@ -3919,9 +3942,9 @@ OSC connections.") (lambda* (#:key inputs #:allow-other-keys) (with-directory-excursion "faust" (delete-file "main.cpp") - (zero? (system* "faust" "-i" - "-a" "lv2synth.cpp" - "-o" "main.cpp" "main.dsp")))))))) + (invoke "faust" "-i" + "-a" "lv2synth.cpp" + "-o" "main.cpp" "main.dsp"))))))) (inputs `(("boost" ,boost) ("lv2" ,lv2) @@ -4071,14 +4094,15 @@ ISRCs and the MCN (=UPC/EAN) from disc.") (base32 "0ikb9igyyk28jm34raxfzkw2qyn4nzzwsymdyprp7cmvi6g2ajb7")))) (build-system cmake-build-system) - (arguments `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (and - ;; requires network connections - ;; (zero? (system* "tests/mbtest")) - (zero? (system* "tests/ctest")))))))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; requires network connections + ;; (invoke "tests/mbtest") + (invoke "tests/ctest") + #t))))) (inputs `(("neon" ,neon) ("libxml2" ,libxml2))) (native-inputs `(("pkg-config" ,pkg-config))) @@ -4146,17 +4170,15 @@ at @code{musicbrainz.org}.") (version "0.10") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/trizen/clyrics/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/trizen/clyrics.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1l0cg26afnjv8cgk0jbiavbyvq55q1djyigzmi526rpcjjwq9jwn")) - (file-name (string-append name "-" version ".tar.gz")))) + "1qvj4dyipkkdccx5hci4z0q23i54ldk6hh7x5m35a7f70rrj6fbk")))) (build-system trivial-build-system) - (native-inputs `(("tar" ,tar) - ("gzip" ,gzip))) (inputs `(("bash" ,bash) ;for the wrapped program ("perl" ,perl) @@ -4173,17 +4195,12 @@ at @code{musicbrainz.org}.") (ice-9 match) (srfi srfi-26)) (let* ((source (assoc-ref %build-inputs "source")) - (tar (assoc-ref %build-inputs "tar")) - (gzip (assoc-ref %build-inputs "gzip")) (output (assoc-ref %outputs "out"))) (setenv "PATH" (string-append - (assoc-ref %build-inputs "gzip") "/bin" ":" (assoc-ref %build-inputs "bash") "/bin" ":" (assoc-ref %build-inputs "perl") "/bin" ":")) - (invoke (string-append tar "/bin/tar") "xvf" - source) - (chdir ,(string-append "clyrics-" version)) + (copy-recursively source (getcwd)) (patch-shebang "clyrics") (substitute* "clyrics" (("/usr/share") output)) diff --git a/gnu/packages/nano.scm b/gnu/packages/nano.scm index 8f96b605a6..057e8c3bd9 100644 --- a/gnu/packages/nano.scm +++ b/gnu/packages/nano.scm @@ -30,7 +30,7 @@ (define-public nano (package (name "nano") - (version "3.1") + (version "3.2") (source (origin (method url-fetch) @@ -38,7 +38,7 @@ version ".tar.xz")) (sha256 (base32 - "17kinzyv6vwgyx2d0ym1kp65qbf7kxzwpyg21ic1rijv1aj2rh0l")))) + "0jb3zq0v84xb0chyynkcp2jhs9660wmpkic294p4p6c96npp69yi")))) (build-system gnu-build-system) (inputs `(("gettext" ,gettext-minimal) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 5a0c464252..a9e1576733 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -144,7 +144,8 @@ or, more generally, MAC addresses of the same category of hardware.") 'check 'disable-checkconf-test (lambda _ (substitute* "src/Makefile" - (("^TESTS = .*") "TESTS = \n"))))))) + (("^TESTS = .*") "TESTS = \n")) + #t))))) (home-page "http://www.remlab.net/miredo/") (synopsis "Teredo IPv6 tunneling software") (description @@ -216,7 +217,7 @@ libwrap.so: $(LIB_OBJ)\n (substitute* "scaffold.c" (("extern char .malloc.*;") "")) ;; This, believe it or not, is the recommended way to build! - (zero? (system* "make" "REAL_DAEMON_DIR=/etc" "linux")))) + (invoke "make" "REAL_DAEMON_DIR=/etc" "linux"))) ;; There is no make install stage, so we have to do it ourselves. (replace 'install (lambda _ @@ -251,7 +252,8 @@ libwrap.so: $(LIB_OBJ)\n (for-each (lambda (x) (install-file x (string-append out "/bin/"))) - bins))))))) + bins)) + #t))))) (home-page "http://www.porcupine.org") (synopsis "Monitor and filter incoming requests for network services") (description "With this package you can monitor and filter incoming requests for @@ -373,8 +375,8 @@ files contain direct mappings of the abstractions provided by the ØMQ C API.") ;; librdkafka++.so lacks RUNPATH for librdkafka.so (setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib")) - (zero? (system* "./configure" - (string-append "--prefix=" out))))))))) + (invoke "./configure" + (string-append "--prefix=" out)))))))) (native-inputs `(("python" ,python-wrapper))) (propagated-inputs @@ -457,7 +459,8 @@ Ethernet devices.") (bin (string-append out "/bin"))) (mkdir-p bin) (copy-file "ifstatus" - (string-append bin "/ifstatus")))))))) + (string-append bin "/ifstatus"))) + #t))))) (inputs `(("ncurses" ,ncurses))) (home-page "http://ifstatus.sourceforge.net/graphic/index.html") (synopsis "Text based network interface status monitor") @@ -511,14 +514,16 @@ and min/max network usage.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/tun.c" (("PATH=[^ ]* ") - (string-append (assoc-ref inputs "net-tools") "/bin/"))))) + (string-append (assoc-ref inputs "net-tools") "/bin/"))) + #t)) (add-before 'check 'delete-failing-tests ;; Avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802105. (lambda _ (substitute* "tests/common.c" (("tcase_add_test\\(tc, \ test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);") - ""))))) + "")) + #t))) #:make-flags (list "CC=gcc" (string-append "prefix=" (assoc-ref %outputs "out"))) #:test-target "test")) @@ -538,7 +543,7 @@ and up to 1 Mbit/s downstream.") (define-public whois (package (name "whois") - (version "5.3.2") + (version "5.4.0") (source (origin (method url-fetch) @@ -546,7 +551,7 @@ and up to 1 Mbit/s downstream.") name "_" version ".tar.xz")) (sha256 (base32 - "0m3352d5b0ragygbqjbaimghrbx4va2rixa34j5a1g3jj6l4nwbr")))) + "0y73b3z1akni620s1hlrijwdrk95ca1c8csjds48vpd6z86awx9p")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no test suite @@ -779,7 +784,8 @@ application stack itself.") (("ENV_CURL_BIN.get\\('curl'\\)") (string-append "ENV_CURL_BIN.get('" (assoc-ref inputs "curl") - "/bin/curl')")))))))) + "/bin/curl')"))) + #t))))) (home-page "https://github.com/reorx/httpstat") (synopsis "Visualize curl statistics") (description @@ -949,7 +955,7 @@ private (reserved).") ,(string-append "PREFIX=" out) "INSTALLDIRS=site"))) (setenv "CONFIG_SHELL" (which "sh")) - (zero? (apply system* "perl" args)))))))) + (apply invoke "perl" args))))))) (home-page "https://metacpan.org/release/Socket6") (synopsis "IPv6 related part of the C socket.h defines and structure manipulators for Perl") @@ -1009,7 +1015,7 @@ offline emulation of DNS.") ,(string-append "PREFIX=" out) "INSTALLDIRS=site"))) (setenv "CONFIG_SHELL" (which "sh")) - (zero? (apply system* "perl" args)))))))) + (apply invoke "perl" args))))))) (home-page "https://metacpan.org/release/NetAddr-IP") (synopsis @@ -1145,7 +1151,7 @@ sockets in Perl.") (modify-phases %standard-phases (replace 'check (lambda _ - (zero? (system* "ctest" "-E" "url-test"))))))) + (invoke "ctest" "-E" "url-test")))))) (synopsis "Library providing automatic proxy configuration management") (description "Libproxy handles the details of HTTP/HTTPS proxy configuration for applications across all scenarios. Applications using @@ -1416,13 +1422,13 @@ procedure calls (RPCs).") (modify-phases %standard-phases (replace 'install (lambda _ - (zero? (system* "make" - ;; Don't try to create directories under /var. - "RUNDIR=/tmp" - "PKIDIR=/tmp" - "LOGDIR=/tmp" - "DBDIR=/tmp" - "install"))))))) + (invoke "make" + ;; Don't try to create directories under /var. + "RUNDIR=/tmp" + "PKIDIR=/tmp" + "LOGDIR=/tmp" + "DBDIR=/tmp" + "install")))))) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config) @@ -1723,8 +1729,8 @@ interface and a programmable text output for scripting.") (lambda _ (chdir "libnet") #t)) (add-before 'build 'build-doc (lambda* (#:key make-flags #:allow-other-keys) - (zero? (apply system* "make" "-C" "doc" "doc" - make-flags))))))) + (apply invoke "make" "-C" "doc" "doc" + make-flags)))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) diff --git a/gnu/packages/nfs.scm b/gnu/packages/nfs.scm index f6bb5b3b71..bdb36d272b 100644 --- a/gnu/packages/nfs.scm +++ b/gnu/packages/nfs.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 John Darrington ;;; Copyright © 2017, 2018 Leo Famulari +;;; Copyright © 2018 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -60,6 +61,13 @@ ,(string-append "--with-krb5=" (assoc-ref %build-inputs "mit-krb5"))) #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-glibc-compatability + (lambda _ + (substitute* '("utils/blkmapd/device-discovery.c" + "utils/blkmapd/dm-device.c") + (("") + "\n#include ")) + #t)) (add-before 'configure 'adjust-command-file-names (lambda _ ;; Remove assumptions of FHS from start-statd script diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 6b55e84fed..11389440dc 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016 Eric Bavier ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2016, 2018 Efraim Flashner -;;; Copyright © 2016, 2017 Julien Lepiller +;;; Copyright © 2016-2018 Julien Lepiller ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Peter Kreye @@ -59,6 +59,7 @@ #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) + #:use-module (gnu packages virtualization) #:use-module (gnu packages web-browsers) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -120,7 +121,7 @@ "/lib/ocaml/site-lib")) #:phases (modify-phases %standard-phases (delete 'configure)))) -(define-public ocaml +(define-public ocaml-4.02 (package (name "ocaml") (version "4.02.3") @@ -145,7 +146,8 @@ (files (list "lib/ocaml" "lib/ocaml/site-lib"))) (search-path-specification (variable "CAML_LD_LIBRARY_PATH") - (files (list "lib/ocaml/site-lib/stubslibs"))))) + (files (list "lib/ocaml/site-lib/stubslibs" + "lib/ocaml/site-lib/stublibs"))))) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config))) @@ -228,7 +230,7 @@ functional, imperative and object-oriented styles of programming.") (define-public ocaml-4.01 (package - (inherit ocaml) + (inherit ocaml-4.02) (version "4.01.0") (source (origin (method url-fetch) @@ -240,13 +242,24 @@ functional, imperative and object-oriented styles of programming.") (base32 "03d7ida94s1gpr3gadf4jyhmh5rrszd5s4m4z59daaib25rvfyv7")))) (arguments - (substitute-keyword-arguments (package-arguments ocaml) + (substitute-keyword-arguments (package-arguments ocaml-4.02) ((#:phases phases) `(modify-phases ,phases (replace 'build (lambda _ ;; Specifying '-j' at all causes the build to fail. (zero? (system* "make" "world.opt")))) + ,@(if (string=? "aarch64-linux" (%current-system)) + ;; Custom configure script doesn't recongnize aarch64. + '((replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (mandir (string-append out "/share/man"))) + (invoke "./configure" + "--prefix" out + "--mandir" mandir + "-host" "armv8l-unknown-linux-gnu"))))) + '()) (replace 'check (lambda _ (with-directory-excursion "testsuite" @@ -256,10 +269,78 @@ functional, imperative and object-oriented styles of programming.") (string-append "TOPDIR=" (getcwd) "/..")))))))))))) +(define-public ocaml-4.07 + (package + (inherit ocaml-4.02) + (version "4.07.1") + (source (origin + (method url-fetch) + (uri (string-append + "http://caml.inria.fr/pub/distrib/ocaml-" + (version-major+minor version) + "/ocaml-" version ".tar.xz")) + (sha256 + (base32 + "1f07hgj5k45cylj1q3k5mk8yi02cwzx849b1fwnwia8xlcfqpr6z")))) + (arguments + (substitute-keyword-arguments (package-arguments ocaml-4.02) + ((#:phases phases) + `(modify-phases ,phases + (delete 'prepare-socket-test) + (replace 'check + (lambda _ + (with-directory-excursion "testsuite" + (invoke "make" "all")) + #t)))))))) + +(define-public ocaml ocaml-4.07) + +(define-public ocamlbuild + (package + (name "ocamlbuild") + (version "0.13.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ocaml/ocamlbuild/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1320cfkixs1xlng5av04pa5qjb3ynvi2kl3k1ngqzg5fpi29b0vr")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:tests? #f; tests require findlib + #:make-flags + (list (string-append "OCAMLBUILD_PREFIX=" (assoc-ref %outputs "out")) + (string-append "OCAMLBUILD_BINDIR=" (assoc-ref %outputs "out") + "/bin") + (string-append "OCAMLBUILD_LIBDIR=" (assoc-ref %outputs "out") + "/lib/ocaml/site-lib") + (string-append "OCAMLBUILD_MANDIR=" (assoc-ref %outputs "out") + "/share/man")) + #:phases + (modify-phases %standard-phases + (delete 'bootstrap) + (delete 'configure) + (add-before 'build 'findlib-environment + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (setenv "OCAMLFIND_DESTDIR" (string-append out "/lib/ocaml/site-lib")) + (setenv "OCAMLFIND_LDCONF" "ignore") + #t)))))) + (native-inputs + `(("ocaml" ,ocaml))) + (home-page "https://github.com/ocaml/ocamlbuild") + (synopsis "OCaml build tool") + (description "OCamlbuild is a generic build tool, that has built-in rules + for building OCaml library and programs.") + (license license:lgpl2.1+))) + (define-public opam (package (name "opam") - (version "1.2.2") + (version "2.0.1") (source (origin (method url-fetch) ;; Use the '-full' version, which includes all the dependencies. @@ -271,7 +352,7 @@ functional, imperative and object-oriented styles of programming.") ) (sha256 (base32 - "004gwn6rbpcb53y3rpb3v23vk39rp2xmf0liyd5iy12ij8bigrhm")))) + "0z6r9qr4awcdn7wyrl5y5jm34jsjlnzd00py893f1hd0c6vg3xw1")))) (build-system gnu-build-system) (arguments '(;; Sometimes, 'make -jX' would fail right after ./configure with @@ -292,17 +373,29 @@ functional, imperative and object-oriented styles of programming.") #:phases (modify-phases %standard-phases (add-before 'build 'pre-build (lambda* (#:key inputs make-flags #:allow-other-keys) - (let ((bash (assoc-ref inputs "bash"))) + (let ((bash (assoc-ref inputs "bash")) + (bwrap (string-append (assoc-ref inputs "bubblewrap") + "/bin/bwrap"))) (substitute* "src/core/opamSystem.ml" (("\"/bin/sh\"") - (string-append "\"" bash "/bin/sh\""))) + (string-append "\"" bash "/bin/sh\"")) + (("getconf") + (which "getconf"))) + ;; Use bwrap from the store directly. + (substitute* "src/state/shellscripts/bwrap.sh" + (("-v bwrap") (string-append "-v " bwrap)) + (("exec bwrap") (string-append "exec " bwrap))) + (substitute* "src/client/opamInitDefaults.ml" + (("\"bwrap\"") (string-append "\"" bwrap "\""))) ;; Build dependencies - (zero? (apply system* "make" "lib-ext" make-flags))))) + (apply invoke "make" "lib-ext" make-flags) + #t))) (add-before 'check 'pre-check (lambda _ (setenv "HOME" (getcwd)) - (and (system "git config --global user.email guix@gnu.org") - (system "git config --global user.name Guix"))))))) + (invoke "git" "config" "--global" "user.email" "guix@gnu.org") + (invoke "git" "config" "--global" "user.name" "Guix") + #t))))) (native-inputs `(("git" ,git) ;for the tests ("python" ,python) ;for the tests @@ -310,7 +403,8 @@ functional, imperative and object-oriented styles of programming.") (inputs `(("ocaml" ,ocaml) ("ncurses" ,ncurses) - ("curl" ,curl))) + ("curl" ,curl) + ("bubblewrap" ,bubblewrap))) (home-page "http://opam.ocamlpro.com/") (synopsis "Package manager for OCaml") (description @@ -321,7 +415,7 @@ Git-friendly development workflow.") ;; The 'LICENSE' file waives some requirements compared to LGPLv3. (license license:lgpl3))) -(define-public camlp4 +(define-public camlp4-4.02 (package (name "camlp4") (version "4.02+6") @@ -334,9 +428,9 @@ Git-friendly development workflow.") "0icdfzhsbgf89925gc8gl3fm8z2xzszzlib0v9dj5wyzkyv3a342")) (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) - (native-inputs `(("ocaml" ,ocaml) + (native-inputs `(("ocaml" ,ocaml-4.02) ("which" ,which))) - (inputs `(("ocaml" ,ocaml))) + (inputs `(("ocaml" ,ocaml-4.02))) (arguments '(#:tests? #f ;no documented test target ;; a race-condition will lead byte and native targets to mkdir _build @@ -377,17 +471,42 @@ syntax of OCaml.") ;; against the library to be released under any terms. (license license:lgpl2.0))) +(define-public camlp4-4.07 + (package + (inherit camlp4-4.02) + (name "camlp4") + (version "4.07+1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ocaml/camlp4/archive/" + version ".tar.gz")) + (sha256 + (base32 + "143hhxv1i6aq413z0i1pynrjcfl2g5gnh5r3863v6h9z0riqknzc")) + (file-name (string-append name "-" version ".tar.gz")))) + (properties + `((ocaml4.02-variant . ,(delay camlp4-4.02)))) + (native-inputs + `(("ocaml" ,ocaml-4.07) + ("ocamlbuild" ,ocamlbuild) + ("which" ,which))) + (inputs + `(("ocaml" ,ocaml-4.07))))) + +(define-public camlp4 camlp4-4.07) + (define-public camlp5 (package (name "camlp5") - (version "6.14") + (version "7.07") (source (origin (method url-fetch) - (uri (string-append "http://camlp5.gforge.inria.fr/distrib/src/" - name "-" version ".tgz")) + (uri (string-append "https://github.com/camlp5/camlp5/archive/rel" + (string-delete #\. version) ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ql04iyvclpyy9805kpddc4ndjb5d0qg4shhi2fc6bixi49fvy89")))) + "148r6p93xlxi6v7kbsqv8i70r6av04cyn0109pwss5xj6fw97i52")))) (build-system gnu-build-system) (inputs `(("ocaml" ,ocaml))) @@ -404,6 +523,11 @@ syntax of OCaml.") (invoke "./configure" "--prefix" out "--mandir" mandir)))) + (add-before 'build 'fix-/bin-references + (lambda _ + (substitute* "config/Makefile" + (("/bin/rm") "rm")) + #t)) (replace 'build (lambda _ (invoke "make" "-j" (number->string @@ -427,17 +551,19 @@ concrete syntax of the language (Quotations, Syntax Extensions).") (define-public hevea (package (name "hevea") - (version "2.28") + (version "2.32") (source (origin (method url-fetch) (uri (string-append "http://hevea.inria.fr/old/" name "-" version ".tar.gz")) (sha256 (base32 - "14fns13wlnpiv9i05841kvi3cq4b9v2sw5x3ff6ziws28q701qnd")))) + "1s4yqphfcr1pf5mcj5c84mvmd107k525iiym5jdwsxz0ka0ccmfy")))) (build-system gnu-build-system) (inputs `(("ocaml" ,ocaml))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild))) (arguments `(#:tests? #f ; no test suite #:make-flags (list (string-append "PREFIX=" %output)) @@ -455,10 +581,54 @@ concrete syntax of the language (Quotations, Syntax Extensions).") written in Objective Caml.") (license license:qpl))) +(define-public ocaml-num + (package + (name "ocaml-num") + (version "1.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ocaml/num/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xlkd0svc0mgq5s7nrm2rjrsvg15i9wxqkc1kvwjp6sv8vv8bb04")))) + (build-system ocaml-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-makefile + (lambda* (#:key outputs #:allow-other-keys) + ;; This package supposes we install to the same directory as + ;; the ocaml package. + (substitute* "src/META" + (("\"\\^\"") (string-append "\"" (assoc-ref outputs "out") + "/lib/ocaml/site-lib\""))) + (substitute* "src/Makefile" + (("\\) \\$\\(STDLIBDIR\\)") + (string-append ") " (assoc-ref outputs "out") + "/lib/ocaml/site-lib"))) + #t)) + (add-after 'install 'fix-stubslib + (lambda* (#:key outputs #:allow-other-keys) + (format #t "~a~%" (find-files "." ".*.so")) + (let ((stubdir (string-append (assoc-ref outputs "out") + "/lib/ocaml/site-lib"))) + (mkdir-p stubdir) + (install-file "src/dllnums.so" stubdir)) + #t))))) + (home-page "https://github.com/ocaml/num") + (synopsis "Arbitrary-precision integer and rational arithmetic") + (description "OCaml-Num contains the legacy Num library for +arbitrary-precision integer and rational arithmetic that used to be part of +the OCaml core distribution.") + (license license:lgpl2.1+))); with linking exception + (define-public coq (package (name "coq") - (version "8.8.1") + (version "8.8.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/coq/coq/archive/V" @@ -466,7 +636,7 @@ written in Objective Caml.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13cyvbg8cgqkg9wz0ax7jq03srj9k0lyvny97fcka4ai1zrzwln8")))) + "0i2hs0i6rp27cy8zd0mx7jscqw5cx2y0diw0pxgij66s3yr47y7r")))) (native-search-paths (list (search-path-specification (variable "COQPATH") @@ -478,7 +648,8 @@ written in Objective Caml.") (inputs `(("lablgtk" ,lablgtk) ("python" ,python-2) - ("camlp5" ,camlp5))) + ("camlp5" ,camlp5) + ("ocaml-num" ,ocaml-num))) (arguments `(#:phases (modify-phases %standard-phases @@ -598,7 +769,7 @@ provers.") (define-public emacs-tuareg (package (name "emacs-tuareg") - (version "2.0.10") + (version "2.2.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/ocaml/tuareg/archive/" @@ -606,7 +777,7 @@ provers.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1r2smclcs63n74lcyckbp90j09wyjdngn816cqzfkw54iwh3hd7q")))) + "1ynpfc170f9jqx49biji9npfkvfpflbm29xf24wc7fnxxayr49ig")))) (build-system gnu-build-system) (native-inputs `(("emacs" ,emacs-minimal) ("opam" ,opam))) @@ -650,6 +821,8 @@ Emacs.") (build-system gnu-build-system) (inputs `(("ocaml" ,ocaml))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild))) (arguments `(#:parallel-build? #f ; Parallel build causes failure #:tests? #f ; No check target @@ -660,6 +833,8 @@ Emacs.") (let ((out (assoc-ref outputs "out"))) (setenv "PREFIX" out)) #t))))) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-menhir)))) (home-page "http://gallium.inria.fr/~fpottier/menhir") (synopsis "Parser generator") (description "Menhir is a parser generator. It turns high-level grammar @@ -671,17 +846,26 @@ Knuth’s LR(1) parser construction technique.") ;; are QPL licensed. (license (list license:gpl2+ license:qpl)))) +(define-public ocaml4.02-menhir + (package + (inherit ocaml-menhir) + (name "ocaml4.02-menhir") + (inputs `(("ocaml" ,ocaml-4.02))) + (native-inputs '()))) + (define-public lablgtk (package (name "lablgtk") - (version "2.18.5") + (version "2.18.6") (source (origin (method url-fetch) - (uri (ocaml-forge-uri name version 1627)) + (uri (ocaml-forge-uri name version 1726)) (sha256 (base32 - "0cyj6sfdvzx8hw7553lhgwc0krlgvlza0ph3dk9gsxy047dm3wib")))) + "1y38fdvswy6hmppm65qvgdk4pb3ghhnvz7n4ialf46340r1s5p2d")))) (build-system gnu-build-system) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-lablgtk)))) (native-inputs `(("camlp4" ,camlp4) ("ocaml" ,ocaml) @@ -732,6 +916,23 @@ libglade (and it an generate OCaml code from .glade files), libpanel, librsvg and quartz.") (license license:lgpl2.1))) +(define-public ocaml4.02-lablgtk + (package + (inherit lablgtk) + (name "ocaml4.02-lablgtk") + (version "2.18.5") + (source (origin + (method url-fetch) + (uri (ocaml-forge-uri name version 1627)) + (sha256 + (base32 + "0cyj6sfdvzx8hw7553lhgwc0krlgvlza0ph3dk9gsxy047dm3wib")))) + (native-inputs + `(("camlp4" ,camlp4-4.02) + ("ocaml" ,ocaml-4.02) + ("findlib" ,ocaml4.02-findlib) + ("pkg-config" ,pkg-config))))) + (define-public unison (package (name "unison") @@ -792,12 +993,13 @@ libpanel, librsvg and quartz.") (outputs '("out" "doc")) ; 1.9 MiB of documentation (native-inputs - `(("ocaml" ,ocaml) + `(("ocaml" ,ocaml-4.02) ;; For documentation ("ghostscript" ,ghostscript) ("texlive" ,texlive) ("hevea" ,hevea) - ("lynx" ,lynx))) + ("lynx" ,lynx) + ("which" ,which))) (arguments `(#:parallel-build? #f #:parallel-tests? #f @@ -827,6 +1029,14 @@ libpanel, librsvg and quartz.") (let ((doc (string-append (assoc-ref outputs "doc") "/share/doc/unison"))) (mkdir-p doc) + ;; This is a workaround to prevent a build failure. Running + ;; make docs somehow allows it to pass, but the generated + ;; documentation is not pretty. + (catch #t + (lambda _ + (invoke "make" "docs" + "TEXDIRECTIVES=\\\\draftfalse")) + (lambda _ #t)) ;; This file needs write-permissions, because it's ;; overwritten by 'docs' during documentation generation. (chmod "src/strings.ml" #o600) @@ -856,14 +1066,14 @@ to the other.") (define-public ocaml-findlib (package (name "ocaml-findlib") - (version "1.7.3") + (version "1.8.0") (source (origin (method url-fetch) (uri (string-append "http://download.camlcity.org/download/" "findlib" "-" version ".tar.gz")) (sha256 (base32 - "12xx8si1qv3xz90qsrpazjjk4lc1989fzm97rsmc4diwla7n15ni")))) + "1b97zqjdriqd2ikgh4rmqajgxwdwn013riji5j53y3xvcmnpsyrb")))) (build-system gnu-build-system) (native-inputs `(("camlp4" ,camlp4) @@ -912,6 +1122,15 @@ compilation and linkage, there are new frontends of the various OCaml compilers that can directly deal with packages.") (license license:x11))) +(define-public ocaml4.02-findlib + (package + (inherit ocaml-findlib) + (name "ocaml4.02-findlib") + (native-inputs + `(("camlp4" ,camlp4-4.02) + ("m4" ,m4) + ("ocaml" ,ocaml-4.02))))) + (define-public ocaml4.01-findlib (package (inherit ocaml-findlib) @@ -933,7 +1152,8 @@ compilers that can directly deal with packages.") "03ifp9hjcxg4m5j190iy373jcn4039d3vy10kmd8p4lfciwzwc1f")))) (build-system ocaml-build-system) (native-inputs - `(("libxml2" ,libxml2))) ; for xmllint + `(("libxml2" ,libxml2) ; for xmllint + ("ocamlbuild" ,ocamlbuild))) (arguments `(#:phases (modify-phases %standard-phases @@ -947,6 +1167,9 @@ other XUnit testing frameworks.") (define-public ocaml4.01-ounit (package-with-ocaml4.01 ocaml-ounit)) +(define-public ocaml4.02-ounit + (package-with-ocaml4.02 ocaml-ounit)) + (define-public camlzip (package (name "camlzip") @@ -1007,19 +1230,23 @@ files in these formats.") (base32 "0syh72jk9s0qwjmmfrkqchaj98m020ii082jn38pwnmb6v3p02wk"))))))) +(define-public ocaml4.02-camlzip + (package-with-ocaml4.02 camlzip)) + (define-public ocamlmod (package (name "ocamlmod") - (version "0.0.8") + (version "0.0.9") (source (origin (method url-fetch) - (uri (ocaml-forge-uri name version 1544)) + (uri (ocaml-forge-uri name version 1702)) (sha256 (base32 - "1w0w8lfyymvk300dv13gvhrddpcyknvyp4g2yvq2vaw7khkhjs9g")))) + "0cgp9qqrq7ayyhddrmqmq1affvfqcn722qiakjq4dkywvp67h4aa")))) (build-system ocaml-build-system) (native-inputs - `(("ounit" ,ocaml-ounit))) + `(("ounit" ,ocaml-ounit) + ("ocamlbuild" ,ocamlbuild))) (arguments `(#:phases (modify-phases %standard-phases @@ -1030,6 +1257,9 @@ files in these formats.") (description "Generate modules from OCaml source files.") (license license:lgpl2.1+))) ; with an exception +(define-public ocaml4.02-ocamlmod + (package-with-ocaml4.02 ocamlmod)) + (define-public ocaml-zarith (package (name "ocaml-zarith") @@ -1060,6 +1290,9 @@ over big integers. Small integers are represented as Caml unboxed integers, for speed and space economy.") (license license:lgpl2.1+))) ; with an exception +(define-public ocaml4.02-zarith + (package-with-ocaml4.02 ocaml-zarith)) + (define-public ocaml-frontc (package (name "ocaml-frontc") @@ -1073,7 +1306,9 @@ for speed and space economy.") "16dz153s92dgbw1rrfwbhscy73did87kfmjwyh3qpvs748h1sc4g")))) (build-system ocaml-build-system) (arguments - `(#:phases + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:phases (modify-phases %standard-phases (delete 'configure) (add-after 'install 'install-meta @@ -1116,7 +1351,8 @@ GNU CC attributes. It provides also a C pretty printer as an example of use.") "1zs1pg5cb1iry554v3cdmmiglsrwmsqa9x8zxmzb118fnk5d3ha6")))) (build-system ocaml-build-system) (native-inputs - `(("ounit" ,ocaml-ounit))) + `(("ounit" ,ocaml-ounit) + ("ocamlbuild" ,ocamlbuild))) (home-page "https://github.com/c-cube/qcheck") (synopsis "QuickCheck inspired property-based testing for OCaml") (description "QuickCheck inspired property-based testing for OCaml. This @@ -1125,6 +1361,9 @@ generated instances of the type. It provides combinators for generating instances and printing them.") (license license:lgpl3+))) +(define-public ocaml4.02-qcheck + (package-with-ocaml4.02 ocaml-qcheck)) + (define-public ocaml-qtest (package (name "ocaml-qtest") @@ -1139,7 +1378,7 @@ instances and printing them.") "1ff4if64mc9c7wmhjdgnlnh6k6a713piqzr4043zzj4s5pw7smxk")))) (build-system ocaml-build-system) (native-inputs - `(("findlib" ,ocaml-findlib))) + `(("ocamlbuild" ,ocamlbuild))) (propagated-inputs `(("ounit" ,ocaml-ounit) ("qcheck" ,ocaml-qcheck))) @@ -1161,6 +1400,9 @@ to use -- to sophisticated random generation of test cases.") (define-public ocaml4.01-qtest (package-with-ocaml4.01 ocaml-qtest)) +(define-public ocaml4.02-qtest + (package-with-ocaml4.02 ocaml-qtest)) + (define-public ocaml-stringext (package (name "ocaml-stringext") @@ -1175,7 +1417,8 @@ to use -- to sophisticated random generation of test cases.") "19g6lfn03iki9f8h91hi0yiqn0b3wkxyq08b3y23wgv6jw6mssfh")))) (build-system ocaml-build-system) (native-inputs - `(("qtest" ,ocaml-qtest))) + `(("ocamlbuild" ,ocamlbuild) + ("qtest" ,ocaml-qtest))) (home-page "https://github.com/rgrinberg/stringext") (synopsis "Extra string functions for OCaml") (description "Provides a single module named Stringext that provides a grab @@ -1185,17 +1428,21 @@ full_split, cut, rcut, etc..") ;; where it says `mit'. (license license:expat))) +(define-public ocaml4.02-stringext + (package-with-ocaml4.02 ocaml-stringext)) (define-public ocaml-bisect (package (name "ocaml-bisect") - (version "1.3") + (version "1.3.1") (source (origin (method url-fetch) - (uri (ocaml-forge-uri "bisect" version 1051)) + (uri (string-append "https://github.com/gasche/bisect/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kcg2rh0qlkfpbv3nhcb75n62b04gbrz0zasq15ynln91zd5qrg0")) + "0p67fppk5ifb63b00kxwrb1xg75hrqhknng3bsdyw3gxxqyjlpmx")) (patches (search-patches "ocaml-bisect-fix-camlp4-in-another-directory.patch")))) @@ -1203,6 +1450,7 @@ full_split, cut, rcut, etc..") (native-inputs `(("camlp4" ,camlp4) ("libxml2" ,libxml2) + ("ocamlbuild" ,ocamlbuild) ("which" ,which))) (propagated-inputs `(("camlp4" ,camlp4))) @@ -1215,9 +1463,11 @@ full_split, cut, rcut, etc..") #:phases (modify-phases %standard-phases (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (zero? (system* "./configure" "-prefix" - (assoc-ref outputs "out")))))))) + (lambda* (#:key inputs outputs #:allow-other-keys) + (invoke "./configure" "-prefix" (assoc-ref outputs "out") + "-ocaml-prefix" (assoc-ref inputs "ocaml") + "-camlp4-prefix" (assoc-ref inputs "camlp4")) + #t))))) (home-page "http://bisect.x9c.fr") (synopsis "Code coverage tool for the OCaml language") (description "Bisect is a code coverage tool for the OCaml language. It is @@ -1225,46 +1475,260 @@ a camlp4-based tool that allows to instrument your application before running tests. After application execution, it is possible to generate a report in HTML format that is the replica of the application source code annotated with code coverage information.") - (properties `((ocaml4.01-variant . ,(delay ocaml4.01-bisect)))) + (properties + `((ocaml4.01-variant . ,(delay ocaml4.01-bisect)) + (ocaml4.02-variant . ,(delay ocaml4.02-bisect)))) (license license:gpl3+))) (define-public ocaml4.01-bisect (let ((base (package-with-ocaml4.01 (strip-ocaml4.01-variant ocaml-bisect)))) (package (inherit base) + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/gasche/bisect/archive/" + version ".tar.gz")) + (file-name (string-append "ocaml-bisect-" version ".tar.gz")) + (sha256 + (base32 + "1ip49jqf0kkbrqf8qspmfjbg9ap9fhvjkg718myzix88dg5rv8d4")))) (arguments `(#:ocaml ,ocaml-4.01 - ;; Camlp4 is included with OCaml 4.01, so do not include it as a - ;; separate input. - ,@(strip-keyword-arguments '(#:make-flags) (package-arguments base)))) + ,@(substitute-keyword-arguments (package-arguments ocaml-bisect) + ((#:make-flags flags) + `(list "all")) + ((#:phases phases) + `(modify-phases ,phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (invoke "./configure" + "-ocaml-prefix" (assoc-ref inputs "ocaml")) + #t))))))) (native-inputs `(,@(alist-delete "camlp4" (package-native-inputs base)))) (propagated-inputs `(,@(alist-delete "camlp4" (package-propagated-inputs base))))))) -(define-public ocaml-bitstring +(define-public ocaml4.02-bisect + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant ocaml-bisect)))) + (package + (inherit base) + (native-inputs + `(("camlp4" ,camlp4-4.02) + ("libxml2" ,libxml2) + ("which" ,which))) + (propagated-inputs + `(("camlp4" ,camlp4-4.02)))))) + +(define-public dune (package - (name "ocaml-bitstring") - (version "2.1.1") + (name "dune") + (version "1.2.1") (source (origin (method url-fetch) - (uri (string-append "https://github.com/xguerin/bitstring" - "/archive/v" version ".tar.gz")) + (uri (string-append "https://github.com/ocaml/dune/releases/" + "download/" version "/dune-" version ".tbz")) + (sha256 + (base32 + "00c5dbm4hkdapc2i7pg07b2lj8sv6ly38qr7zid58cdmbmzq21z9")))) + (build-system ocaml-build-system) + (arguments + `(#:tests? #f; require odoc + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (invoke "./configure") + #t))))) + (home-page "https://github.com/ocaml/dune") + (synopsis "OCaml build system") + (description "Dune is a build system that was designed to simplify the +release of Jane Street packages. It reads metadata from @file{dune} files +following a very simple s-expression syntax.") + (license license:expat))) + +(define-public ocaml-migrate-parsetree + (package + (name "ocaml-migrate-parsetree") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ocaml-ppx/" + "ocaml-migrate-parsetree/releases/download/v" + version "/ocaml-migrate-parsetree-" + version ".tbz")) + (sha256 + (base32 + "01zjp1q4hryqaxv4apkjd868fycz2kf887r6lkb6x2a545h1lh7f")))) + (build-system ocaml-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "jbuilder" "build" "@install") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "jbuilder" "install" + "--prefix" (assoc-ref outputs "out")) + #t))))) + (propagated-inputs + `(("ocamlbuild" ,ocamlbuild) + ("ocaml-result" ,ocaml-result))) + (native-inputs + `(("dune" ,dune))) + (home-page "https://github.com/ocaml-ppx/ocaml-migrate-parsetree") + (synopsis "OCaml parsetree convertor") + (description "This library converts between parsetrees of different OCaml +versions. For each version, there is a snapshot of the parsetree and conversion +functions to the next and/or previous version.") + (license license:lgpl2.1+))) + +(define-public ocaml-ppx-tools-versioned + (package + (name "ocaml-ppx-tools-versioned") + (version "5.2.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ocaml-ppx/" + "ppx_tools_versioned/archive/" + version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vy8ibrxccii1jbsk5q6yh1kxjigqvi7lhhcmizvd5gfhf7mfyc8")) - (patches (search-patches "ocaml-bitstring-fix-configure.patch")))) + "1x2xfjpkzbcz4rza1d7gh3ipliw6jqfcklbsln82v3561qgkqgmh")))) + (build-system ocaml-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "dune" "build" "@install") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))))) + (native-inputs + `(("dune" ,dune))) + (propagated-inputs + `(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree))) + (home-page "https://github.com/let-def/ppx_tools_versioned") + (synopsis "Variant of ppx_tools") + (description "This package is a variant of ppx_tools based on +ocaml-migrate-parsetree") + (license license:expat))) + +(define-public ocaml-ppx-tools-versioned + (package + (name "ocaml-ppx-tools-versioned") + (version "5.2.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ocaml-ppx/" + "ppx_tools_versioned/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1x2xfjpkzbcz4rza1d7gh3ipliw6jqfcklbsln82v3561qgkqgmh")))) + (build-system ocaml-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "dune" "build" "@install") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))))) + (native-inputs + `(("dune" ,dune))) + (propagated-inputs + `(("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree))) + (home-page "https://github.com/let-def/ppx_tools_versioned") + (synopsis "Variant of ppx_tools") + (description "This package is a variant of ppx_tools based on +ocaml-migrate-parsetree") + (license license:expat))) + +(define-public ocaml-bitstring + (package + (name "ocaml-bitstring") + (version "3.1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://bitbucket.org/thanatonauts/bitstring/" + "get/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15jjk2pq1vx311gl49s5ag6x5y0654x35w75z07g7kr2q334hqps")))) (build-system ocaml-build-system) (native-inputs `(("camlp4" ,camlp4) ("time" ,time) ("autoconf" ,autoconf) ("automake" ,automake) - ("bisect" ,ocaml-bisect))) + ("bisect" ,ocaml-bisect) + ("dune" ,dune))) (propagated-inputs - `(("camlp4" ,camlp4))) + `(("camlp4" ,camlp4) + ("ocaml-ppx-tools-versioned" ,ocaml-ppx-tools-versioned))) (arguments - `(#:configure-flags + `(#:tests? #f; Tests fail to build + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "jbuilder" "build" "@install") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))))) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-bitstring)))) + (home-page "https://github.com/xguerin/bitstring") + (synopsis "Bitstrings and bitstring matching for OCaml") + (description "Adds Erlang-style bitstrings and matching over bitstrings as +a syntax extension and library for OCaml. You can use this module to both parse +and generate binary formats, files and protocols. Bitstring handling is added +as primitives to the language, making it exceptionally simple to use and very +powerful.") + (license license:isc))) + +(define-public ocaml4.02-bitstring + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant ocaml-bitstring)))) + (package + (inherit base) + (version "2.1.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/xguerin/bitstring" + "/archive/v" version ".tar.gz")) + (file-name (string-append "ocaml-bitstring-" version ".tar.gz")) + (sha256 + (base32 + "0vy8ibrxccii1jbsk5q6yh1kxjigqvi7lhhcmizvd5gfhf7mfyc8")) + (patches (search-patches "ocaml-bitstring-fix-configure.patch")))) + (arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:configure-flags (list "CAMLP4OF=camlp4of" "--enable-coverage") #:make-flags (list (string-append "BISECTLIB=" @@ -1280,14 +1744,6 @@ coverage information.") "$(BISECTLIB)/bisect")) #:phases (modify-phases %standard-phases - (add-before 'configure 'fix-configure - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "Makefile.in" - (("@abs_top_builddir@") - (string-append "@abs_top_builddir@:" (getenv "LIBRARY_PATH")))) - (substitute* "configure" - (("-/bin/sh") (string-append "-" (assoc-ref inputs "bash") - "/bin/sh"))))) (add-after 'install 'link-lib (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -1297,15 +1753,24 @@ coverage information.") "/lib/ocaml/site-lib/bitstring"))) (mkdir-p stubs) (symlink (string-append lib "/dllbitstring.so") - (string-append stubs "/dllbitstring.so")))))))) - (home-page "https://github.com/xguerin/bitstring") - (synopsis "Bitstrings and bitstring matching for OCaml") - (description "Adds Erlang-style bitstrings and matching over bitstrings as -a syntax extension and library for OCaml. You can use this module to both parse -and generate binary formats, files and protocols. Bitstring handling is added -as primitives to the language, making it exceptionally simple to use and very -powerful.") - (license license:isc))) + (string-append stubs "/dllbitstring.so"))) + #t)) + (add-before 'configure 'fix-configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Makefile.in" + (("@abs_top_builddir@") + (string-append "@abs_top_builddir@:" (getenv "LIBRARY_PATH")))) + (substitute* "configure" + (("-/bin/sh") (string-append "-" (assoc-ref inputs "bash") + "/bin/sh")))))))) + (native-inputs + `(("camlp4" ,camlp4-4.02) + ("time" ,time) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("bisect" ,ocaml4.02-bisect))) + (propagated-inputs + `(("camlp4" ,camlp4-4.02)))))) (define-public ocaml-result (package @@ -1331,6 +1796,9 @@ powerful.") staying compatible with older version of OCaml should use the Result module defined in this library.") (license license:bsd-3))) + +(define-public ocaml4.02-result + (package-with-ocaml4.02 ocaml-result)) (define-public ocaml-topkg (package @@ -1345,7 +1813,8 @@ defined in this library.") "18rrh6fmf708z7dd30amljmcgaypj3kk49jrmrj68r4wnw8004j8")))) (build-system ocaml-build-system) (native-inputs - `(("opam" ,opam))) + `(("opam" ,opam) + ("ocamlbuild" ,ocamlbuild))) (propagated-inputs `(("result" ,ocaml-result))) (arguments @@ -1361,6 +1830,9 @@ provides an API to describe the files a package installs in a given build configuration and to specify information about the package's distribution, creation and publication procedures.") (license license:isc))) + +(define-public ocaml4.02-topkg + (package-with-ocaml4.02 ocaml-topkg)) (define-public ocaml-rresult (package @@ -1375,7 +1847,8 @@ creation and publication procedures.") "1xxycxhdhaq8p9vhwi93s2mlxjwgm44fcxybx5vghzgbankz9yhm")))) (build-system ocaml-build-system) (native-inputs - `(("opam" ,opam))) + `(("opam" ,opam) + ("ocamlbuild" ,ocamlbuild))) (propagated-inputs `(("topkg" ,ocaml-topkg))) (arguments @@ -1392,6 +1865,9 @@ to operate on the result type available from OCaml 4.03 in the standard library.") (license license:isc))) +(define-public ocaml4.02-rresult + (package-with-ocaml4.02 ocaml-rresult)) + (define-public ocaml-sqlite3 (package (name "ocaml-sqlite3") @@ -1407,7 +1883,8 @@ library.") "14c1nir7c6bivajg0vyx853y7la7r5d25g1v5hjb2wfi73r15p1m")))) (build-system ocaml-build-system) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("ocamlbuild" ,ocamlbuild) + ("pkg-config" ,pkg-config))) (inputs `(("sqlite" ,sqlite))) (home-page "https://mmottl.github.io/sqlite3-ocaml") @@ -1424,6 +1901,9 @@ coexistence with the old (version 2) SQLite and its OCaml wrapper (define-public ocaml4.01-sqlite3 (package-with-ocaml4.01 ocaml-sqlite3)) +(define-public ocaml4.02-sqlite3 + (package-with-ocaml4.02 ocaml-sqlite3)) + (define-public ocaml-csv (package (name "ocaml-csv") @@ -1439,6 +1919,8 @@ coexistence with the old (version 2) SQLite and its OCaml wrapper (base32 "0rv7x843vn6scxj87hzl01yqrl26rc27lr8s7z6rp9vs745g05zj")))) (build-system ocaml-build-system) + (native-inputs + `(("ocamlbuild" ,ocamlbuild))) (home-page "https://github.com/Chris00/ocaml-csv") (synopsis "Pure OCaml functions to read and write CSV") (description @@ -1451,6 +1933,9 @@ manipulate such data.") (define-public ocaml4.01-csv (package-with-ocaml4.01 ocaml-csv)) +(define-public ocaml4.02-csv + (package-with-ocaml4.02 ocaml-csv)) + (define-public ocaml-mtime (package (name "ocaml-mtime") @@ -1464,7 +1949,8 @@ manipulate such data.") "1hfx4ny2dkw6jf3jppz0640dafl5xgn8r2si9kpwzhmibal8qrah")))) (build-system ocaml-build-system) (native-inputs - `(("opam" ,opam))) + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) (propagated-inputs `(("topkg" ,ocaml-topkg))) (arguments @@ -1480,6 +1966,9 @@ manipulate such data.") spans without being subject to operating system calendar time adjustments.") (license license:isc))) +(define-public ocaml4.02-mtime + (package-with-ocaml4.02 ocaml-mtime)) + (define-public ocaml-cmdliner (package (name "ocaml-cmdliner") @@ -1493,7 +1982,8 @@ spans without being subject to operating system calendar time adjustments.") "0hdxlkgiwjml9dpaa80282a8350if7mc1m6yz2mrd7gci3fszykx")))) (build-system ocaml-build-system) (native-inputs - `(("opam" ,opam))) + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) (arguments `(#:tests? #f #:build-flags '("native=true" "native-dynlink=true") @@ -1510,6 +2000,9 @@ generation. It supports programs with single or multiple commands and respects most of the POSIX and GNU conventions.") (license license:bsd-3))) +(define-public ocaml4.02-cmdliner + (package-with-ocaml4.02 ocaml-cmdliner)) + (define-public ocaml-fmt (package (name "ocaml-fmt") @@ -1522,10 +2015,13 @@ most of the POSIX and GNU conventions.") (sha256 (base32 "16y7ibndnairb53j8a6qgipyqwjxncn4pl9jiw5bxjfjm59108px")))) (build-system ocaml-build-system) - (native-inputs `(("opam" ,opam) - ("topkg" ,ocaml-topkg))) - (propagated-inputs `(("result" ,ocaml-result) - ("cmdliner" ,ocaml-cmdliner))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) + ("topkg" ,ocaml-topkg))) + (propagated-inputs + `(("result" ,ocaml-result) + ("cmdliner" ,ocaml-cmdliner))) (arguments `(#:tests? #f #:build-flags (list "build" "--with-base-unix" "true" "--with-cmdliner" "true") @@ -1538,6 +2034,9 @@ most of the POSIX and GNU conventions.") functions.") (license license:isc))) +(define-public ocaml4.02-fmt + (package-with-ocaml4.02 ocaml-fmt)) + (define-public ocaml-astring (package (name "ocaml-astring") @@ -1550,13 +2049,16 @@ functions.") (sha256 (base32 "0ixjwc3plrljvj24za3l9gy0w30lsbggp8yh02lwrzw61ls4cri0")))) (build-system ocaml-build-system) - (native-inputs `(("opam" ,opam) - ("topkg" ,ocaml-topkg))) - (arguments `(#:tests? #f - #:build-flags (list "build") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) + ("topkg" ,ocaml-topkg))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) (home-page "http://erratique.ch/software/astring") (synopsis "Alternative String module for OCaml") (description "Astring exposes an alternative String module for OCaml. This @@ -1568,6 +2070,9 @@ adds a few missing functions and fully exploits OCaml's newfound string immutability.") (license license:isc))) +(define-public ocaml4.02-astring + (package-with-ocaml4.02 ocaml-astring)) + (define-public ocaml-alcotest (package (name "ocaml-alcotest") @@ -1580,15 +2085,19 @@ immutability.") (base32 "0g5lzk0gpfx4q8hyhr460gr4lab5wakfxsmhfwvb3yinxwzs95gc")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "build") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam) - ("topkg" ,ocaml-topkg))) - (propagated-inputs `(("fmt" ,ocaml-fmt) - ("astring" ,ocaml-astring))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) + ("topkg" ,ocaml-topkg))) + (propagated-inputs + `(("fmt" ,ocaml-fmt) + ("astring" ,ocaml-astring))) (home-page "https://github.com/mirage/alcotest") (synopsis "Lightweight OCaml test framework") (description "Alcotest exposes simple interface to perform unit tests. It @@ -1599,25 +2108,44 @@ displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.") (license license:isc))) +(define-public ocaml4.02-alcotest + (package-with-ocaml4.02 ocaml-alcotest)) + (define-public ocaml-ppx-tools (package (name "ocaml-ppx-tools") - (version "5.0+4.02.0") + (version "5.1+4.06.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/alainfrisch/ppx_tools/archive/" version ".tar.gz")) (sha256 (base32 - "0rjg4rngi8k9873z4zq95zn9hj8qyw1vcrf11y15aqasfpqq16rc")))) + "0mncpy9v2mcjgnj7s2vqpp2b1ixv54djicfx66ic9wny9d202gj1")))) (build-system ocaml-build-system) - (arguments `(#:phases (modify-phases %standard-phases (delete 'configure)) - #:tests? #f)) + (arguments + `(#:phases (modify-phases %standard-phases (delete 'configure)) + #:tests? #f)) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-ppx-tools)))) (home-page "https://github.com/alainfrisch/ppx_tools") (synopsis "Tools for authors of ppx rewriters and other syntactic tools") (description "Tools for authors of ppx rewriters and other syntactic tools.") (license license:expat))) +(define-public ocaml4.02-ppx-tools + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant ocaml-ppx-tools)))) + (package + (inherit base) + (version "5.0+4.02.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/alainfrisch/ppx_tools/archive/" + version ".tar.gz")) + (sha256 (base32 + "0rjg4rngi8k9873z4zq95zn9hj8qyw1vcrf11y15aqasfpqq16rc"))))))) + (define-public ocaml-react (package (name "ocaml-react") @@ -1630,12 +2158,15 @@ simple (yet expressive) query language to select the tests to run.") (sha256 (base32 "0knhgbngphv5sp1yskfd97crf169qhpc0igr6w7vqw0q36lswyl8")))) (build-system ocaml-build-system) - (native-inputs `(("opam" ,opam))) - (arguments `(#:tests? #f - #:build-flags (list "native=true" "native-dynlink=true") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) + (arguments + `(#:tests? #f + #:build-flags (list "native=true" "native-dynlink=true") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) (home-page "http://erratique.ch/software/react") (synopsis "Declarative events and signals for OCaml") (description "React is an OCaml module for functional reactive programming @@ -1644,6 +2175,9 @@ events and signals. React doesn't define any primitive event or signal, it lets the client choose the concrete timeline.") (license license:bsd-3))) +(define-public ocaml4.02-react + (package-with-ocaml4.02 ocaml-react)) + (define-public ocaml-ssl (package (name "ocaml-ssl") @@ -1658,20 +2192,23 @@ lets the client choose the concrete timeline.") (sha256 (base32 "0fviq8xhp3qk7pmkl7knchywsipxgb7p0z489hj8qnf2sx8xzdmy")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:make-flags (list "OCAMLFIND_LDCONF=ignore") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'bootstrap - (lambda* (#:key #:allow-other-keys) - (system* "sh" "bootstrap") - (substitute* "src/OCamlMakefile" - (("/bin/sh") (which "bash"))) - (substitute* "configure" - (("/bin/sh") (which "bash")))))))) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("which" ,which))) + (arguments + `(#:tests? #f + #:make-flags (list "OCAMLFIND_LDCONF=ignore") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (lambda* (#:key #:allow-other-keys) + (system* "sh" "bootstrap") + (substitute* "src/OCamlMakefile" + (("/bin/sh") (which "bash"))) + (substitute* "configure" + (("/bin/sh") (which "bash"))) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("which" ,which))) (propagated-inputs `(("openssl" ,openssl))) (home-page "https://github.com/savonet/ocaml-ssl/") (synopsis "OCaml bindings for OpenSSL") @@ -1680,10 +2217,13 @@ lets the client choose the concrete timeline.") through Transport Layer Security (@dfn{TLS}) encrypted connections.") (license license:lgpl2.1))) +(define-public ocaml4.02-ssl + (package-with-ocaml4.02 ocaml-ssl)) + (define-public ocaml-lwt (package (name "ocaml-lwt") - (version "2.6.0") + (version "4.1.0") (source (origin (method url-fetch) @@ -1691,35 +2231,37 @@ through Transport Layer Security (@dfn{TLS}) encrypted connections.") ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gbw0g8a5a4b16diqrmlhc8ilnikrm4w3jjm1zq310maqg8z0zxz")))) + "0mhh019bjkg5xfvpy1pxs4xdxb759fyydmgb6l4j0qww1qgr8klp")))) (build-system ocaml-build-system) (arguments - `(#:configure-flags - (list "--enable-ssl" "--enable-glib" "--enable-react" - "--enable-ppx") + `(#:tests? #f; require lwt_ppx #:phases (modify-phases %standard-phases - (add-before 'configure 'disable-some-checks - (lambda* (#:key #:allow-other-keys) - (substitute* "tests/unix/main.ml" - (("Test_mcast.suite;") "")))) - (add-after 'install 'link-stubs + (replace 'configure + (lambda _ + (invoke "ocaml" "src/util/configure.ml" "-use-libev" "true") + #t)) + (replace 'build + (lambda _ + (invoke "jbuilder" "build" "@install") + #t)) + (replace 'install (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (stubs (string-append out "/lib/ocaml/site-lib/stubslibs")) - (lib (string-append out "/lib/ocaml/site-lib/lwt"))) - (mkdir-p stubs) - (symlink (string-append lib "/dlllwt-glib_stubs.so") - (string-append stubs "/dlllwt-glib_stubs.so")) - (symlink (string-append lib "/dlllwt-unix_stubs.so") - (string-append stubs "/dlllwt-unix_stubs.so")))))))) - (native-inputs `(("pkg-config" ,pkg-config) - ("ppx-tools" ,ocaml-ppx-tools))) - (inputs `(("libev" ,libev) - ("glib" ,glib))) - (propagated-inputs `(("result" ,ocaml-result) - ("ocaml-ssl" ,ocaml-ssl) - ("ocaml-react" ,ocaml-react))) + (invoke "jbuilder" "install" "--prefix" (assoc-ref outputs "out")) + #t))))) + (native-inputs + `(("dune" ,dune) + ("ocaml-cppo" ,ocaml-cppo) + ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree) + ("pkg-config" ,pkg-config) + ("ppx-tools-versioned" ,ocaml-ppx-tools-versioned))) + (inputs + `(("libev" ,libev) + ("glib" ,glib))) + (propagated-inputs + `(("result" ,ocaml-result) + ("ocaml-ssl" ,ocaml-ssl) + ("ocaml-react" ,ocaml-react))) (home-page "https://github.com/ocsigen/lwt") (synopsis "Cooperative threads and I/O in monadic style") (description "Lwt provides typed, composable cooperative threads. These @@ -1728,6 +2270,48 @@ process. Also, in many cases, Lwt threads can interact without the need for locks or other synchronization primitives.") (license license:lgpl2.1))) +(define-public ocaml4.02-lwt + (package-with-ocaml4.02 ocaml-lwt)) + +(define-public ocaml-lwt-log + (package + (name "ocaml-lwt-log") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/aantron/lwt_log/archive/" version + ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 (base32 + "1lr62j2266pbsi54xmzsfvl2z7fi7smhak7fp1ybl8hssxwi6in2")))) + (build-system ocaml-build-system) + (arguments + `(#:tests? #f; require lwt_ppx + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "jbuilder" "build" "@install") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "jbuilder" "install" "--prefix" (assoc-ref outputs "out")) + #t))))) + (native-inputs + `(("dune" ,dune))) + (propagated-inputs + `(("lwt" ,ocaml-lwt))) + (home-page "https://github.com/aantron/lwt_log") + (synopsis "Logging library") + (description "This package provides a deprecated logging component for +ocaml lwt.") + (license license:lgpl2.1))) + +(define-public ocaml4.02-lwt-log + (package-with-ocaml4.02 ocaml-lwt-log)) + (define-public ocaml-logs (package (name "ocaml-logs") @@ -1740,18 +2324,22 @@ locks or other synchronization primitives.") (base32 "1khbn7jqpid83zn8rvyh1x1sirls7zc878zj4fz985m5xlsfy853")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "build" "--with-js_of_ocaml" "false") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam))) - (propagated-inputs `(("fmt" ,ocaml-fmt) - ("lwt" ,ocaml-lwt) - ("mtime" ,ocaml-mtime) - ("result" ,ocaml-result) - ("cmdliner" ,ocaml-cmdliner) - ("topkg" ,ocaml-topkg))) + (arguments + `(#:tests? #f + #:build-flags (list "build" "--with-js_of_ocaml" "false") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) + (propagated-inputs + `(("fmt" ,ocaml-fmt) + ("lwt" ,ocaml-lwt) + ("mtime" ,ocaml-mtime) + ("result" ,ocaml-result) + ("cmdliner" ,ocaml-cmdliner) + ("topkg" ,ocaml-topkg))) (home-page "http://erratique.ch/software/logs") (synopsis "Logging infrastructure for OCaml") (description "Logs provides a logging infrastructure for OCaml. Logging is @@ -1759,6 +2347,9 @@ performed on sources whose reporting level can be set independently. Log message report is decoupled from logging and is handled by a reporter.") (license license:isc))) +(define-public ocaml4.02-logs + (package-with-ocaml4.02 ocaml-logs)) + (define-public ocaml-fpath (package (name "ocaml-fpath") @@ -1771,14 +2362,18 @@ message report is decoupled from logging and is handled by a reporter.") (base32 "05134ij27xjl6gaqsc65yl19vfj6cjxq3mbm9bf4mija8grdpn6g")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "build") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam))) - (propagated-inputs `(("topkg" ,ocaml-topkg) - ("astring" ,ocaml-astring))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) + (propagated-inputs + `(("topkg" ,ocaml-topkg) + ("astring" ,ocaml-astring))) (home-page "http://erratique.ch/software/fpath") (synopsis "File system paths for OCaml") (description "Fpath is an OCaml module for handling file system paths with @@ -1786,6 +2381,9 @@ POSIX or Windows conventions. Fpath processes paths without accessing the file system and is independent from any system library.") (license license:isc))) +(define-public ocaml4.02-fpath + (package-with-ocaml4.02 ocaml-fpath)) + (define-public ocaml-bos (package (name "ocaml-bos") @@ -1798,18 +2396,22 @@ file system and is independent from any system library.") (base32 "1ly66lysk4w6mdy4k1n3ynlpfpq7lw4wshcpzgx58v6x613w5s7q")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "build") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam))) - (propagated-inputs `(("topkg" ,ocaml-topkg) - ("astring" ,ocaml-astring) - ("fmt" ,ocaml-fmt) - ("fpath" ,ocaml-fpath) - ("logs" ,ocaml-logs) - ("rresult" ,ocaml-rresult))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) + (propagated-inputs + `(("topkg" ,ocaml-topkg) + ("astring" ,ocaml-astring) + ("fmt" ,ocaml-fmt) + ("fpath" ,ocaml-fpath) + ("logs" ,ocaml-logs) + ("rresult" ,ocaml-rresult))) (home-page "http://erratique.ch/software/bos") (synopsis "Basic OS interaction for OCaml") (description "Bos provides support for basic and robust interaction with @@ -1818,26 +2420,31 @@ environment, parse command line arguments, interact with the file system and run command line programs.") (license license:isc))) +(define-public ocaml4.02-bos + (package-with-ocaml4.02 ocaml-bos)) + (define-public ocaml-xmlm (package (name "ocaml-xmlm") - (version "1.2.0") + (version "1.3.0") (source (origin (method url-fetch) (uri (string-append "http://erratique.ch/software/xmlm/releases/" "xmlm-" version ".tbz")) (sha256 (base32 - "1jywcrwn5z3gkgvicr004cxmdaqfmq8wh72f81jqz56iyn5024nh")))) + "1rrdxg5kh9zaqmgapy9bhdqyxbbvxxib3bdfg1vhw4rrkp1z0x8n")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (replace 'build - (lambda* (#:key #:allow-other-keys) - (zero? (system* "pkg/build" "true"))))))) - (native-inputs `(("opam" ,opam))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("ocaml-topkg" ,ocaml-topkg) + ("opam" ,opam))) (home-page "http://erratique.ch/software/xmlm") (synopsis "Streaming XML codec for OCaml") (description "Xmlm is a streaming codec to decode and encode the XML data @@ -1848,32 +2455,41 @@ representation of the data.") (define-public ocaml4.01-xmlm (package-with-ocaml4.01 ocaml-xmlm)) +(define-public ocaml4.02-xmlm + (package-with-ocaml4.02 ocaml-xmlm)) + (define-public ocaml-ulex (package (name "ocaml-ulex") - (version "1.1") + (version "1.2") (source (origin (method url-fetch) - (uri (string-append "http://www.cduce.org/download/ulex-" + (uri (string-append "https://github.com/whitequark/ulex/archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fjlkwps14adfgxdrbb4yg65fhyimplvjjs1xqj5np197cig67x0")))) + "16gnbhqs6y2v89vw4igzvxdf2g8ybh5643636824aldcv8sscac0")))) (build-system ocaml-build-system) - (arguments `(#:phases (modify-phases %standard-phases (delete 'configure)) - #:tests? #f - #:make-flags - (list "all.opt" - (string-append "OCAMLBUILD=ocamlbuild -byte-plugin " - "-cflags -I," - (assoc-ref %build-inputs "camlp4") - "/lib/ocaml/site-lib/camlp4")))) - (native-inputs `(("camlp4" ,camlp4))) + (arguments + `(#:phases (modify-phases %standard-phases (delete 'configure)) + #:tests? #f + #:make-flags + (list "all.opt" + (string-append "OCAMLBUILD=ocamlbuild -byte-plugin " + "-cflags -I," (assoc-ref %build-inputs "camlp4") + "/lib/ocaml/site-lib/camlp4")))) + (native-inputs + `(("camlp4" ,camlp4) + ("ocamlbuild" ,ocamlbuild))) (home-page "http://www.cduce.org/download.html#side") (synopsis "Lexer generator for Unicode and OCaml") (description "Lexer generator for Unicode and OCaml.") (license license:expat))) +(define-public ocaml4.02-ulex + (package-with-ocaml4.02 ocaml-ulex)) + (define-public ocaml-uchar (package (name "ocaml-uchar") @@ -1886,39 +2502,49 @@ representation of the data.") (sha256 (base32 "0ficw1x7ymbd6m8hqw3w1aycwm1hbwd6bad3c5pspwnzh3qlikhi")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "native=true" "native-dynlink=true") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam))) + (arguments + `(#:tests? #f + #:build-flags (list "native=true" "native-dynlink=true") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) (home-page "https://github.com/ocaml/uchar") (synopsis "Compatibility library for OCaml's Uchar module") (description "The uchar package provides a compatibility library for the `Uchar` module introduced in OCaml 4.03.") (license license:lgpl2.1))) +(define-public ocaml4.02-uchar + (package-with-ocaml4.02 ocaml-uchar)) + (define-public ocaml-uutf (package (name "ocaml-uutf") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri (string-append "http://erratique.ch/software/uutf/releases/" "uutf-" version ".tbz")) (sha256 (base32 - "08i0cw02cxw4mi2rs01v9xi307qshs6fnd1dlqyb52kcxzblpp37")))) + "1gp96dcggq7s84934vimxh89caaxa77lqiff1yywbwkilkkjcfqj")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "build") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam) - ("topkg" ,ocaml-topkg))) - (propagated-inputs `(("uchar" ,ocaml-uchar) - ("cmdliner" ,ocaml-cmdliner))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) + ("topkg" ,ocaml-topkg))) + (propagated-inputs + `(("uchar" ,ocaml-uchar) + ("cmdliner" ,ocaml-cmdliner))) (home-page "http://erratique.ch/software/uutf") (synopsis "Non-blocking streaming Unicode codec for OCaml") (description "Uutf is a non-blocking streaming codec to decode and encode @@ -1930,27 +2556,34 @@ Functions are also provided to fold over the characters of UTF encoded OCaml string values and to directly encode characters in OCaml Buffer.t values.") (license license:isc))) +(define-public ocaml4.02-uutf + (package-with-ocaml4.02 ocaml-uutf)) + (define-public ocaml-jsonm (package (name "ocaml-jsonm") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri (string-append "http://erratique.ch/software/jsonm/releases/" "jsonm-" version ".tbz")) (sha256 (base32 - "1v3ln6d965lplj28snjdqdqablpp1kx8bw2cfx0m6i157mqyln62")))) + "1176dcmxb11fnw49b7yysvkjh0kpzx4s48lmdn5psq9vshp5c29w")))) (build-system ocaml-build-system) - (arguments `(#:tests? #f - #:build-flags (list "build") - #:phases - (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs `(("opam" ,opam) - ("topkg" ,ocaml-topkg))) - (propagated-inputs `(("uutf" ,ocaml-uutf) - ("cmdliner" ,ocaml-cmdliner))) + (arguments + `(#:tests? #f + #:build-flags (list "build") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) + ("topkg" ,ocaml-topkg))) + (propagated-inputs + `(("uutf" ,ocaml-uutf) + ("cmdliner" ,ocaml-cmdliner))) (home-page "http://erratique.ch/software/jsonm") (synopsis "Non-blocking streaming JSON codec for OCaml") (description "Jsonm is a non-blocking streaming codec to decode and encode @@ -1958,25 +2591,30 @@ the JSON data format. It can process JSON text without blocking on IO and without a complete in-memory representation of the data.") (license license:isc))) +(define-public ocaml4.02-jsonm + (package-with-ocaml4.02 ocaml-jsonm)) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") - (version "0.7.9") + (version "0.8.2") (source (origin (method url-fetch) (uri (string-append "http://ygrek.org.ua/p/release/ocurl/ocurl-" version ".tar.gz")) (sha256 (base32 - "0pm6nm33wi0p9h765k6zb94ljpknryam4qd1hmb2rsk2y0y1181n")))) + "1ax3xdlzgb1zg7d0wr9nwgmh6a45a764m0wk8p6mx07ad94hz0q9")))) (build-system ocaml-build-system) - (arguments `(#:phases - (modify-phases %standard-phases - (add-before 'configure 'fix-/bin/sh - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "configure" - (("-/bin/sh") (string-append "-" (which "bash"))))))))) - (native-inputs `(("pkg-config" ,pkg-config))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-/bin/sh + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "configure" + (("-/bin/sh") (string-append "-" (which "bash"))))))))) + (native-inputs + `(("pkg-config" ,pkg-config))) (inputs `(("curl" ,curl))) (home-page "http://ocurl.forge.ocamlcore.org/") (synopsis "OCaml bindings for libcurl") @@ -1984,6 +2622,9 @@ without a complete in-memory representation of the data.") multitude of other network protocols (FTP/SMTP/RTSP/etc).") (license license:isc))) +(define-public ocaml4.02-ocurl + (package-with-ocaml4.02 ocaml-ocurl)) + (define-public ocaml-base64 (package (name "ocaml-base64") @@ -2005,6 +2646,7 @@ multitude of other network protocols (FTP/SMTP/RTSP/etc).") (delete 'configure)))) (native-inputs `(("topkg" ,ocaml-topkg) + ("ocamlbuild" ,ocamlbuild) ("opam" ,opam) ("rresult" ,ocaml-rresult) ("bos" ,ocaml-bos) @@ -2016,6 +2658,9 @@ that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648.") (license license:isc))) +(define-public ocaml4.02-base64 + (package-with-ocaml4.02 ocaml-base64)) + (define-public ocamlify (package (name "ocamlify") @@ -2029,7 +2674,9 @@ radix-64 representation. It is specified in RFC 4648.") (build-system ocaml-build-system) ; tests are done during build (arguments - `(#:phases + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:phases (modify-phases %standard-phases (delete 'check)))) (home-page "https://forge.ocamlcore.org/projects/ocamlify") @@ -2043,14 +2690,14 @@ OCaml code.") (define-public omake (package (name "omake") - (version "0.10.1") + (version "0.10.3") (source (origin (method url-fetch) (uri (string-append "http://download.camlcity.org/download/" "omake-" version ".tar.gz")) (sha256 (base32 - "093ansbppms90hiqvzar2a46fj8gm9iwnf8gn38s6piyp70lrbsj")) + "07bdg1h5i7qnlv9xq81ad5hfypl10hxm771h4rjyl5cn8plhfcgz")) (patches (search-patches "omake-fix-non-determinism.patch")))) (build-system ocaml-build-system) (arguments @@ -2063,6 +2710,8 @@ OCaml code.") (lambda* (#:key outputs #:allow-other-keys) (substitute* "mk/osconfig_unix.mk" (("CC = cc") "CC = gcc"))))))) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-omake)))) (native-inputs `(("hevea" ,hevea))) (home-page "http://projects.camlcity.org/projects/omake.html") (synopsis "Build system designed for scalability and portability") @@ -2084,28 +2733,66 @@ many additional enhancements, including: license:gpl2)))) ; OMake itself, with ocaml linking exception ; see LICENSE.OMake +(define-public ocaml4.02-omake + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant omake)))) + (package + (inherit base) + (version "0.10.2") + (source (origin + (method url-fetch) + (uri (string-append "http://download.camlcity.org/download/" + "omake-" version ".tar.gz")) + (sha256 + (base32 + "1znnlkpz89hk44byvnl1pr92ym6hwfyyw2qm9clq446r6l2z4m64")) + (patches (search-patches "omake-fix-non-determinism.patch"))))))) + (define-public ocaml-batteries (package (name "ocaml-batteries") - (version "2.5.3") + (version "2.9.0") (source (origin (method url-fetch) - (uri (ocaml-forge-uri "batteries" version 1650)) + (uri (string-append "https://github.com/ocaml-batteries-team/" + "batteries-included/releases/download/v" + version "/batteries-" version ".tar.gz")) (sha256 (base32 - "1a97w3x2l1jr5x9kj5gqm1x6b0q9fjqdcsvls7arnl3bvzgsia0n")))) + "0lkdmv2my5hirkswmci2cch341n6wkkj2q8apjhs83sg6528caxi")))) (build-system ocaml-build-system) (native-inputs - `(("qtest" ,ocaml-qtest) + `(("ocamlbuild" ,ocamlbuild) + ("qtest" ,ocaml-qtest) ("bisect" ,ocaml-bisect) ("ounit" ,ocaml-ounit))) + (propagated-inputs + `(("ocaml-num" ,ocaml-num))) (arguments `(#:phases (modify-phases %standard-phases (delete 'check) ; tests are run by the build phase (replace 'build - (lambda* (#:key outputs #:allow-other-keys) - (zero? (system* "ocaml" "setup.ml" "-build"))))))) + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((files + (map (lambda (str) + (substring str 0 (- (string-length str) 1))) + (append + (find-files "src" ".*.mliv") + (find-files "src" ".*.mlv") + (find-files "src" ".*.mlp"))))) + (apply invoke "ocamlbuild" "-no-links" "-use-ocamlfind" "-I" "num" + "-lflag" "-dllpath-all" files) + (for-each (lambda (file) + (copy-file (string-append "_build/" file) file)) + files)) + (invoke "ocamlbuild" "-no-links" "-use-ocamlfind" "-I" "num" + "-lflag" "-dllpath-all" "build/mkconf.byte") + (copy-file "_build/build/mkconf.byte" "build/mkconf.byte") + (invoke "make" "all") + #t))))) + (properties + `((ocaml4.01-variant . ,(delay ocaml4.01-batteries)) + (ocaml4.02-variant . ,(delay ocaml4.02-batteries)))) (home-page "http://batteries.forge.ocamlcore.org/") (synopsis "Development platform for the OCaml programming language") (description "Define a standard set of libraries which may be expected on @@ -2113,8 +2800,24 @@ every compliant installation of OCaml and organize these libraries into a hierarchy of modules.") (license license:lgpl2.1+))) +(define-public ocaml4.02-batteries + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant ocaml-batteries)))) + (package + (inherit base) + (version "2.5.3") + (source (origin + (method url-fetch) + (uri (ocaml-forge-uri "batteries" version 1650)) + (sha256 + (base32 + "1a97w3x2l1jr5x9kj5gqm1x6b0q9fjqdcsvls7arnl3bvzgsia0n")))) + (propagated-inputs '())))) + (define-public ocaml4.01-batteries - (package-with-ocaml4.01 ocaml-batteries)) + (let ((base (package-with-ocaml4.01 (strip-ocaml4.01-variant ocaml4.02-batteries)))) + (package + (inherit base) + (name "ocaml4.01-batteries")))) (define-public ocaml-pcre (package @@ -2139,9 +2842,11 @@ hierarchy of modules.") (lib (string-append out "/lib/ocaml/site-lib/pcre"))) (mkdir-p stubs) (symlink (string-append lib "/dllpcre_stubs.so") - (string-append stubs "/dllpcre_stubs.so")))))))) + (string-append stubs "/dllpcre_stubs.so"))) + #t))))) (native-inputs `(("batteries" ,ocaml-batteries) + ("ocamlbuild" ,ocamlbuild) ("pcre:bin" ,pcre "bin"))) (propagated-inputs `(("pcre" ,pcre))) (home-page "https://mmottl.github.io/pcre-ocaml") @@ -2151,19 +2856,26 @@ matching and substitution, similar to the functionality offered by the Perl language.") (license license:lgpl2.1+))); with the OCaml link exception +(define-public ocaml4.02-pcre + (package-with-ocaml4.02 ocaml-pcre)) + (define-public ocaml-expect (package (name "ocaml-expect") - (version "0.0.5") + (version "0.0.6") (source (origin (method url-fetch) - (uri (ocaml-forge-uri name version 1372)) + (uri (ocaml-forge-uri name version 1736)) (sha256 (base32 - "07xq8w2x2vffc32z7vk6y14jwbfb1cw0m2lm1jzi60hnr1dvg8by")))) + "098qvg9d4yrqzr5ax291y3whrpax0m3sx4gi6is0mblc96r9yqk0")))) + (arguments + `(#:tests? #f)) (build-system ocaml-build-system) (native-inputs - `(("ocaml-pcre" ,ocaml-pcre) + `(("ocamlbuild" ,ocamlbuild) + ("ocaml-num" ,ocaml-num) + ("ocaml-pcre" ,ocaml-pcre) ("ounit" ,ocaml-ounit))) (propagated-inputs `(("batteries" ,ocaml-batteries))) (home-page "https://forge.ocamlcore.org/projects/ocaml-expect/") @@ -2172,18 +2884,22 @@ language.") can match the question using a regular expression or a timeout.") (license license:lgpl2.1+))) ; with the OCaml static compilation exception -(define-public ocaml-fileutils +(define-public ocaml4.02-fileutils (package - (name "ocaml-fileutils") - (version "0.5.1") + (name "ocaml4.02-fileutils") + (version "0.5.3") (source (origin (method url-fetch) - (uri (ocaml-forge-uri name version 1651)) + (uri (ocaml-forge-uri name version 1728)) (sha256 (base32 - "0g6zx2rcvacklxyli19ixcf6ich9ipxsps4k3jz98f5zlaab0a7g")))) + "1rc4cqlvdhbs55i85zfbfhz938fsy4fj6kwlkfm3ra7bpwn8bmpd")))) (build-system ocaml-build-system) - (native-inputs `(("ounit" ,ocaml-ounit))) + (arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib)) + (native-inputs + `(("ounit" ,ocaml4.02-ounit))) (home-page "http://ocaml-fileutils.forge.ocamlcore.org") (synopsis "Pure OCaml functions to manipulate real file and filename") (description "Library to provide pure OCaml functions to manipulate real @@ -2193,20 +2909,20 @@ file (POSIX like) and filename.") (define-public ocaml-oasis (package (name "ocaml-oasis") - (version "0.4.8") + (version "0.4.11") (source (origin (method url-fetch) - (uri (ocaml-forge-uri name version 1669)) + (uri (ocaml-forge-uri name version 1757)) (sha256 (base32 - "1ln7vc7ip6s5xbi20mhnn087xi4a2m5vqawx0703qqnfkzhmslqy")) + "0bn13mzfa98dq3y0jwzzndl55mnywaxv693z6f1rlvpdykp3vdqq")) (modules '((guix build utils))) (snippet '(begin (substitute* "test/test-main/Test.ml" ;; most of these tests fail because ld cannot find crti.o, but according ;; to the log file, the environment variables {LD_,}LIBRARY_PATH - ;; are set correctly whene LD_LIBRARY_PATH is defined beforhand. + ;; are set correctly when LD_LIBRARY_PATH is defined beforhand. (("TestBaseCompat.tests;") "") (("TestExamples.tests;") "") (("TestFull.tests;") "") @@ -2216,17 +2932,12 @@ file (POSIX like) and filename.") (("TestPluginOMake.tests;") "")) #t)))) (build-system ocaml-build-system) + (arguments + `(#:tests? #f)) (native-inputs - `(("ocamlify" ,ocamlify) - ("ocamlmod" ,ocamlmod) - ("ounit" ,ocaml-ounit) - ("omake" ,omake) - ("ocaml-expect" ,ocaml-expect) - ("ocaml-pcre" ,ocaml-pcre) - ("ocaml-fileutils" ,ocaml-fileutils) - ("camlp4" ,camlp4) - ("texlive" ,texlive) - ("pkg-config" ,pkg-config))) + `(("ocamlbuild" ,ocamlbuild) + ("ocamlify" ,ocamlify) + ("ocamlmod" ,ocamlmod))) (home-page "https://oasis.forge.ocamlcore.org") (synopsis "Integrates a configure, build, install system in OCaml projects") (description "OASIS is a tool to integrate a configure, build and install @@ -2234,6 +2945,9 @@ system in your OCaml projects. It helps to create standard entry points in your build system and allows external tools to analyse your project easily.") (license license:lgpl2.1+))) ; with ocaml static compilation exception +(define-public ocaml4.02-oasis + (package-with-ocaml4.02 ocaml-oasis)) + (define-public ocaml-js-build-tools (package (name "ocaml-js-build-tools") @@ -2242,6 +2956,7 @@ build system and allows external tools to analyse your project easily.") "0r8z4fz8iy5y6hkdlkpwf6rk4qigcr3dzyv35585xgg2ahf12zy6")) (native-inputs `(("oasis" ,ocaml-oasis) + ("ocamlbuild" ,ocamlbuild) ("opam" ,opam))) (build-system ocaml-build-system) (arguments janestreet-arguments) @@ -2256,17 +2971,23 @@ from the oasis build log @end enumerate") (license license:asl2.0))) -(define-public ocaml-bin-prot +(define-public ocaml4.02-js-build-tools + (package-with-ocaml4.02 ocaml-js-build-tools)) + +(define-public ocaml4.02-bin-prot (package - (name "ocaml-bin-prot") + (name "ocaml4.02-bin-prot") (version "113.33.03") (source (janestreet-origin "bin_prot" version "1ws8c017z8nbj3vw92ndvjk9011f71rmp3llncbv8r5fc76wqv3l")) - (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) - ("opam" ,opam))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (native-inputs + `(("js-build-tools" ,ocaml4.02-js-build-tools) + ("opam" ,opam))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/bin_prot/") (synopsis "Binary protocol generator") (description "This library contains functionality for reading and writing @@ -2277,17 +2998,20 @@ protocol is also heavily optimized for size, making it ideal for long-term storage of large amounts of data.") (license license:asl2.0))) -(define-public ocaml-fieldslib +(define-public ocaml4.02-fieldslib (package - (name "ocaml-fieldslib") + (name "ocaml4.02-fieldslib") (version "113.33.03") (source (janestreet-origin "fieldslib" version "1rm3bn54bzk2hlq8f3w067ak8s772w4a8f78i3yh79vxfzq8ncvv")) - (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) - ("opam" ,opam))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (native-inputs + `(("js-build-tools" ,ocaml4.02-js-build-tools) + ("opam" ,opam))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/fieldslib/") (synopsis "Syntax extension to record fields") (description "Syntax extension to define first class values representing @@ -2295,18 +3019,21 @@ record fields, to get and set record fields, iterate and fold over all fields of a record and create new record values.") (license license:asl2.0))) -(define-public ocaml-ppx-core +(define-public ocaml4.02-ppx-core (package - (name "ocaml-ppx-core") + (name "ocaml4.02-ppx-core") (version "113.33.03") (source (janestreet-origin "ppx_core" version "0f69l4czhgssnhb5ds2j9dbqjyz8dp1y3i3x0i4h6pxnms20zbxa")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) - (inputs `(("ppx-tools" ,ocaml-ppx-tools))) - (arguments janestreet-arguments) + (inputs `(("ppx-tools" ,ocaml4.02-ppx-tools))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_core/") (synopsis "Standard library for ppx rewriters") (description "Ppx_core is a standard library for OCaml AST transformers. @@ -2319,20 +3046,23 @@ It contains: @end enumerate") (license license:asl2.0))) -(define-public ocaml-ppx-optcomp +(define-public ocaml4.02-ppx-optcomp (package - (name "ocaml-ppx-optcomp") + (name "ocaml4.02-ppx-optcomp") (version "113.33.03") (source (janestreet-origin "ppx_optcomp" version "13an8p2r7sd0d5lv54mlzrxdni47408bwqi3bjcx4m6005170q30")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_optcomp/") (synopsis "Optional compilation for OCaml") (description "Ppx_optcomp stands for Optional Compilation. It is a tool @@ -2340,21 +3070,24 @@ used to handle optional compilations of pieces of code depending of the word size, the version of the compiler, ...") (license license:asl2.0))) -(define-public ocaml-ppx-driver +(define-public ocaml4.02-ppx-driver (package - (name "ocaml-ppx-driver") + (name "ocaml4.02-ppx-driver") (version "113.33.03") (source (janestreet-origin "ppx_driver" version "011zzr45897j49b7iiybb29k7pspcx36mlnp7nh6pxb8b0ga76fh")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam) - ("ppx-optcomp" ,ocaml-ppx-optcomp))) + ("ppx-optcomp" ,ocaml4.02-ppx-optcomp))) (propagated-inputs - `(("ppx-optcomp" ,ocaml-ppx-optcomp) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-optcomp" ,ocaml4.02-ppx-optcomp) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_driver/") (synopsis "Feature-full driver for OCaml AST transformers") (description "A driver is an executable created from a set of OCaml AST @@ -2372,21 +3105,33 @@ provide a tool that can be used to: (define-public ocaml-cppo (package (name "ocaml-cppo") - (version "1.4.1") + (version "1.6.5") (source (origin (method url-fetch) (uri (string-append "https://github.com/mjambon/cppo/archive/v" version ".tar.gz")) (sha256 (base32 - "02gma6nw09vfnd6h7bl3n70lwz7m9z2svplxyfh6h5bf4lqgqzjv")) + "1dkm3d5h6h56y937gcdk2wixlpzl59vv5pmiafglr89p20kf7gqf")) (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (arguments - `(#:phases (modify-phases %standard-phases (delete 'configure)) - #:make-flags (list (string-append "BINDIR=" - (assoc-ref %outputs "out") "/bin")) + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "dune" "build" "@install" "--profile" "release") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))) #:tests? #f)) + (native-inputs + `(("dune" ,dune) + ("ocamlbuild" ,ocamlbuild))) (home-page "https://github.com/mjambon/cppo") (synopsis "Equivalent of the C preprocessor for OCaml programs") (description "Cppo is an equivalent of the C preprocessor for OCaml @@ -2399,11 +3144,14 @@ programs. It allows the definition of simple macros and file inclusion. Cpp oi @end enumerate") (license license:bsd-3))) +(define-public ocaml4.02-cppo + (package-with-ocaml4.02 ocaml-cppo)) + ;; this package is not reproducible. This is related to temporary filenames ;; such as findlib_initxxxxx where xxxxx is random. -(define-public ocaml-ppx-deriving +(define-public ocaml4.02-ppx-deriving (package - (name "ocaml-ppx-deriving") + (name "ocaml4.02-ppx-deriving") (version "4.1") (source (origin @@ -2415,15 +3163,17 @@ programs. It allows the definition of simple macros and file inclusion. Cpp oi (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) - ("cppo" ,ocaml-cppo) - ("ounit" ,ocaml-ounit) + `(("js-build-tools" ,ocaml4.02-js-build-tools) + ("cppo" ,ocaml4.02-cppo) + ("ounit" ,ocaml4.02-ounit) ("opam" ,opam))) (propagated-inputs - `(("result" ,ocaml-result) - ("ppx-tools" ,ocaml-ppx-tools))) + `(("result" ,ocaml4.02-result) + ("ppx-tools" ,ocaml4.02-ppx-tools))) (arguments - `(#:phases + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:phases (modify-phases %standard-phases (delete 'configure) (add-before 'install 'fix-environment @@ -2438,90 +3188,100 @@ programs. It allows the definition of simple macros and file inclusion. Cpp oi code based on type definitions, and a set of useful plugins for common tasks.") (license license:expat))) -(define-public ocaml-ppx-type-conv +(define-public ocaml4.02-ppx-type-conv (package - (name "ocaml-ppx-type-conv") + (name "ocaml4.02-ppx-type-conv") (version "113.33.03") (source (janestreet-origin "ppx_type_conv" version "1sp602ads2f250nv4d4rgw54d14k7flyhb4w8ff084f657hhmxv2")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-deriving" ,ocaml-ppx-deriving) - ("ppx-tools" ,ocaml-ppx-tools) - ("result" ,ocaml-result) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-driver" ,ocaml-ppx-driver))) - (arguments janestreet-arguments) + `(("ppx-deriving" ,ocaml4.02-ppx-deriving) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-driver" ,ocaml4.02-ppx-driver))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_type_conv/") (synopsis "Support Library for type-driven code generators") (description "The type_conv library factors out functionality needed by different preprocessors that generate code from type specifications.") (license license:asl2.0))) -(define-public ocaml-ppx-inline-test +(define-public ocaml4.02-ppx-inline-test (package - (name "ocaml-ppx-inline-test") + (name "ocaml4.02-ppx-inline-test") (version "113.33.03") (source (janestreet-origin "ppx_inline_test" version "0859ni43fl39dd5g6cxfhq0prxmx59bd2bfq8jafp593ba4q0icq")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam) - ("ppx-core" ,ocaml-ppx-core))) + ("ppx-core" ,ocaml4.02-ppx-core))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_inline_test/") (synopsis "Syntax extension for writing in-line tests in ocaml code") (description "Syntax extension for writing in-line tests in ocaml code.") (license license:asl2.0))) -(define-public ocaml-ppx-bench +(define-public ocaml4.02-ppx-bench (package - (name "ocaml-ppx-bench") + (name "ocaml4.02-ppx-bench") (version "113.33.03") (source (janestreet-origin "ppx_bench" version "1hky3y17qpb925rymf97wv54di9gaqdmkix7wpkjw14qzl512b68")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam) - ("ppx-core" ,ocaml-ppx-core))) + ("ppx-core" ,ocaml4.02-ppx-core))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-inline-test" ,ocaml-ppx-inline-test) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-inline-test" ,ocaml4.02-ppx-inline-test) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_bench/") (synopsis "Syntax extension for writing in-line benchmarks in ocaml code") (description "Syntax extension for writing in-line benchmarks in ocaml code.") (license license:asl2.0))) -(define-public ocaml-ppx-compare +(define-public ocaml4.02-ppx-compare (package - (name "ocaml-ppx-compare") + (name "ocaml4.02-ppx-compare") (version "113.33.03") (source (janestreet-origin "ppx_compare" version "0bfhi33kq9l4q6zzc6svki2csracz5j4731c3npcy6cs73jynn0z")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam) - ("ppx-core" ,ocaml-ppx-core))) + ("ppx-core" ,ocaml4.02-ppx-core))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-type-conv" ,ocaml-ppx-type-conv))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_compare/") (synopsis "Generation of comparison functions from types") (description "Generation of fast comparison functions from type expressions @@ -2532,94 +3292,109 @@ flexibility by allowing you to override them for a specific type and more safety by making sure that you only compare comparable values.") (license license:asl2.0))) -(define-public ocaml-sexplib +(define-public ocaml4.02-sexplib (package - (name "ocaml-sexplib") + (name "ocaml4.02-sexplib") (version "113.33.03") (source (janestreet-origin "sexplib" version "1ffjmj8if9lyv965cgn2ld1xv7g52qsr8mqflbm515ck1i8l2ima")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/sexplib/") (synopsis "Library for serializing OCaml values to and from S-expressions") (description "Sexplib contains functionality for parsing and pretty-printing s-expressions.") (license license:asl2.0))) -(define-public ocaml-typerep +(define-public ocaml4.02-typerep (package - (name "ocaml-typerep") + (name "ocaml4.02-typerep") (version "113.33.03") (source (janestreet-origin "typerep" version "1b9v5bmi824a9d4sx0f40ixq0yfcbiqxafg4a1jx95xg9199zafy")) - (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) - ("opam" ,opam))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (native-inputs + `(("js-build-tools" ,ocaml4.02-js-build-tools) + ("opam" ,opam))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/typerep/") (synopsis "Typerep is a library for runtime types") (description "Typerep is a library for runtime types.") (license license:asl2.0))) -(define-public ocaml-variantslib +(define-public ocaml4.02-variantslib (package - (name "ocaml-variantslib") + (name "ocaml4.02-variantslib") (version "113.33.03") (source (janestreet-origin "variantslib" version "05vp799vl38fvl98ga5miwbzh09cnnpapi6q6gdvwyqi6w7s919n")) - (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) - ("opam" ,opam))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (native-inputs + `(("js-build-tools" ,ocaml4.02-js-build-tools) + ("opam" ,opam))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/variantslib") (synopsis "OCaml variants as first class values") (description "OCaml variants as first class values.") (license license:asl2.0))) -(define-public ocaml-ppx-sexp-conv +(define-public ocaml4.02-ppx-sexp-conv (package - (name "ocaml-ppx-sexp-conv") + (name "ocaml4.02-ppx-sexp-conv") (version "113.33.03") (source (janestreet-origin "ppx_sexp_conv" version "1rbj6d5dl625gdxih34xcrdvikci6h8i2dl9x3wraa4qrgishiw7")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam) - ("ppx-core" ,ocaml-ppx-core))) + ("ppx-core" ,ocaml4.02-ppx-core))) (propagated-inputs - `(("sexplib" ,ocaml-sexplib) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-type-conv" ,ocaml-ppx-type-conv) - ("ppx-tools" ,ocaml-ppx-tools))) - (arguments janestreet-arguments) + `(("sexplib" ,ocaml4.02-sexplib) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv) + ("ppx-tools" ,ocaml4.02-ppx-tools))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_sexp_conv") (synopsis "Generation of S-expression conversion functions from type definitions") (description "Generation of S-expression conversion functions from type definitions.") (license license:asl2.0))) -(define-public ocaml-ppx-variants-conv +(define-public ocaml4.02-ppx-variants-conv (package - (name "ocaml-ppx-variants-conv") + (name "ocaml4.02-ppx-variants-conv") (version "113.33.03") (source (janestreet-origin "ppx_variants_conv" version "0vnn2l1118cj72413d3f7frlw6yc09l8f64jlzkzbgb9bxpalx34")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-core" ,ocaml-ppx-core) - ("variantslib" ,ocaml-variantslib) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-type-conv" ,ocaml-ppx-type-conv))) - (arguments janestreet-arguments) + `(("ppx-core" ,ocaml4.02-ppx-core) + ("variantslib" ,ocaml4.02-variantslib) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_variants_conv") (synopsis "Generation of accessor and iteration functions for ocaml variant types") @@ -2627,65 +3402,74 @@ types") variant types.") (license license:asl2.0))) -(define-public ocaml-ppx-here +(define-public ocaml4.02-ppx-here (package - (name "ocaml-ppx-here") + (name "ocaml4.02-ppx-here") (version "113.33.03") (source (janestreet-origin "ppx_here" version "1ay8lfxi0qg3ib2zkwh4h0vqk3gjmxaz572gzab0bbxyqn3z86v7")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_here") (synopsis "Expands [%here] into its location") (description "Expands [%here] into its location.") (license license:asl2.0))) -(define-public ocaml-ppx-assert +(define-public ocaml4.02-ppx-assert (package - (name "ocaml-ppx-assert") + (name "ocaml4.02-ppx-assert") (version "113.33.03") (source (janestreet-origin "ppx_assert" version "1k5kxmqkibp5fk25pgz81f3c1r4mgvb5byzf6bnmxd24y60wn46p")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-compare" ,ocaml-ppx-compare) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-driver" ,ocaml-ppx-driver) - ("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-type-conv" ,ocaml-ppx-type-conv) - ("ppx-sexplib" ,ocaml-sexplib) - ("ppx-here" ,ocaml-ppx-here))) - (arguments janestreet-arguments) + `(("ppx-compare" ,ocaml4.02-ppx-compare) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv) + ("ppx-sexplib" ,ocaml4.02-sexplib) + ("ppx-here" ,ocaml4.02-ppx-here))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_assert") (synopsis "Assert-like extension nodes that raise useful errors on failure") (description "Assert-like extension nodes that raise useful errors on failure.") (license license:asl2.0))) -(define-public ocaml-ppx-enumerate +(define-public ocaml4.02-ppx-enumerate (package - (name "ocaml-ppx-enumerate") + (name "ocaml4.02-ppx-enumerate") (version "113.33.03") (source (janestreet-origin "ppx_enumerate" version "15g7yfv9wg2h9r6k6q1zrhygmsl4xrfn25mrb0i4czjjivzmxjh4")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-tools" ,ocaml-ppx-tools) - ("ppx-type-conv" ,ocaml-ppx-type-conv) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_enumerate") (synopsis "Generate a list containing all values of a finite type") (description "Ppx_enumerate is a ppx rewriter which generates a definition @@ -2693,174 +3477,198 @@ for the list of all values of a type (for a type which only has finitely many values).") (license license:asl2.0))) -(define-public ocaml-ppx-let +(define-public ocaml4.02-ppx-let (package - (name "ocaml-ppx-let") + (name "ocaml4.02-ppx-let") (version "113.33.03") (source (janestreet-origin "ppx_let" version "0gd6d3gdaqfwjcs7gaw1qxc30i584q6a86ndaj1bx1q63xqd6yx9")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_let") (synopsis "Monadic let-bindings") (description "A ppx rewriter for monadic and applicative let bindings, match expressions, and if expressions.") (license license:asl2.0))) -(define-public ocaml-ppx-typerep-conv +(define-public ocaml4.02-ppx-typerep-conv (package - (name "ocaml-ppx-typerep-conv") + (name "ocaml4.02-ppx-typerep-conv") (version "113.33.03") (source (janestreet-origin "ppx_typerep_conv" version "0g0xqm9s1b2jjvxb8yp69281q2s3bwz6sibn10fvgcdawpa0rmrg")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-tools" ,ocaml-ppx-tools) - ("ppx-type-conv" ,ocaml-ppx-type-conv) - ("ppx-core" ,ocaml-ppx-core) - ("typerep" ,ocaml-typerep))) - (arguments janestreet-arguments) + `(("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv) + ("ppx-core" ,ocaml4.02-ppx-core) + ("typerep" ,ocaml4.02-typerep))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_typerep_conv") (synopsis "Generation of runtime types from type declarations") (description "Automatic generation of runtime types from type definitions.") (license license:asl2.0))) -(define-public ocaml-ppx-sexp-value +(define-public ocaml4.02-ppx-sexp-value (package - (name "ocaml-ppx-sexp-value") + (name "ocaml4.02-ppx-sexp-value") (version "113.33.03") (source (janestreet-origin "ppx_sexp_value" version "0m3ag23mbqm0i2pv1dzilfks15ipa5q60mf57a0cd3p0pvarq10g")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-here" ,ocaml-ppx-here) - ("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-here" ,ocaml4.02-ppx-here) + ("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_sexp_value/") (synopsis "Simplify building s-expressions from ocaml values") (description "A ppx rewriter that simplifies building s-expressions from ocaml values.") (license license:asl2.0))) -(define-public ocaml-ppx-pipebang +(define-public ocaml4.02-ppx-pipebang (package - (name "ocaml-ppx-pipebang") + (name "ocaml4.02-ppx-pipebang") (version "113.33.03") (source (janestreet-origin "ppx_pipebang" version "1965c7hymp26ncmjs0pfxi2s5jlj60z2c9b194lgcwxqiav56pcw")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_pipebang/") (synopsis "Inline reverse application operators `|>` and `|!`") (description "A ppx rewriter that inlines reverse application operators @code{|>} and @code{|!}.") (license license:asl2.0))) -(define-public ocaml-ppx-bin-prot +(define-public ocaml4.02-ppx-bin-prot (package - (name "ocaml-ppx-bin-prot") + (name "ocaml4.02-ppx-bin-prot") (version "113.33.03") (source (janestreet-origin "ppx_bin_prot" version "173kjv36giik11zgfvsbzwfbpr66dm2pcha9vf990jgzh8hqz39h")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("bin-prot" ,ocaml-bin-prot) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-type-conv" ,ocaml-ppx-type-conv) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("bin-prot" ,ocaml4.02-bin-prot) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_bin_prot/") (synopsis "Generation of bin_prot readers and writers from types") (description "Generation of binary serialization and deserialization functions from type definitions.") (license license:asl2.0))) -(define-public ocaml-ppx-fail +(define-public ocaml4.02-ppx-fail (package - (name "ocaml-ppx-fail") + (name "ocaml4.02-ppx-fail") (version "113.33.03") (source (janestreet-origin "ppx_fail" version "1dwgad0f05gqp5rnwf9dcasidpfi7q3mrpazsw3a2vijjblbhjgn")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-here" ,ocaml-ppx-here) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-here" ,ocaml4.02-ppx-here) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_fail/") (synopsis "Add location to calls to failwiths") (description "Syntax extension that makes [failwiths] always include a position.") (license license:asl2.0))) -(define-public ocaml-ppx-custom-printf +(define-public ocaml4.02-ppx-custom-printf (package - (name "ocaml-ppx-custom-printf") + (name "ocaml4.02-ppx-custom-printf") (version "113.33.03") (source (janestreet-origin "ppx_custom_printf" version "11jlx0n87g2j1vyyp343dibx7lvvwig5j5q0nq0b80kbsq0k6yr8")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-driver" ,ocaml-ppx-driver))) - (arguments janestreet-arguments) + `(("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-driver" ,ocaml4.02-ppx-driver))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_custom_printf/") (synopsis "Printf-style format-strings for user-defined string conversion") (description "Extensions to printf-style format-strings for user-defined string conversion.") (license license:asl2.0))) -(define-public ocaml-ppx-sexp-message +(define-public ocaml4.02-ppx-sexp-message (package - (name "ocaml-ppx-sexp-message") + (name "ocaml4.02-ppx-sexp-message") (version "113.33.03") (source (janestreet-origin "ppx_sexp_message" version "084w1l3gnyw4ri9vbn7bv9b2xkw1520qczfxpxdarfivdrz8xr68")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-driver" ,ocaml-ppx-driver) - ("ppx-here" ,ocaml-ppx-here) - ("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core))) - (arguments janestreet-arguments) + `(("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-here" ,ocaml4.02-ppx-here) + ("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_sexp_message/") (synopsis "A ppx rewriter for easy construction of s-expressions") (description "Ppx_sexp_message aims to ease the creation of s-expressions @@ -2869,23 +3677,26 @@ where one needs to construct a s-expression based on various element of the context such as function arguments.") (license license:asl2.0))) -(define-public ocaml-ppx-fields-conv +(define-public ocaml4.02-ppx-fields-conv (package - (name "ocaml-ppx-fields-conv") + (name "ocaml4.02-ppx-fields-conv") (version "113.33.03") (source (janestreet-origin "ppx_fields_conv" version "1vzbdz27g5qhhfs7wx6rjf979q4xyssxqbmp6sc1sxknbghslbdv")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam) - ("ppx-core" ,ocaml-ppx-core))) + ("ppx-core" ,ocaml4.02-ppx-core))) (propagated-inputs - `(("fieldslib" ,ocaml-fieldslib) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-type-conv" ,ocaml-ppx-type-conv))) - (arguments janestreet-arguments) + `(("fieldslib" ,ocaml4.02-fieldslib) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-type-conv" ,ocaml4.02-ppx-type-conv))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_fields_conv/") (synopsis "Generation of accessor and iteration functions for ocaml records") (description "Ppx_fields_conv is a ppx rewriter that can be used to define @@ -2894,10 +3705,59 @@ and set record fields, iterate and fold over all fields of a record and create new record values.") (license license:asl2.0))) +(define-public ocaml-seq + (package + (name "ocaml-seq") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/c-cube/seq/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02lb2d9i12bxrz2ba5wygk2bycan316skqlyri0597q7j9210g8r")))) + (build-system ocaml-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((install-dir (string-append (assoc-ref outputs "out") + "/lib/ocaml/site-lib/seq"))) + (mkdir-p install-dir) + (with-output-to-file (string-append install-dir "/META") + (lambda _ + (display "name=\"seq\" +version=\"[distributed with ocaml]\" +description=\"dummy package for compatibility\" +requires=\"\""))) + #t)))))) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-seq)))) + (home-page "https://github.com/c-cube/seq") + (synopsis "OCaml's standard iterator type") + (description "This package is a compatibility package for OCaml's +standard iterator type starting from 4.07.") + (license license:lgpl2.1+))) + +(define-public ocaml4.02-seq + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant ocaml-seq)))) + (package + (inherit base) + (arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:tests? #f; no tests + #:phases (modify-phases %standard-phases (delete 'configure))))))) + (define-public ocaml-re (package (name "ocaml-re") - (version "1.7.1") + (version "1.8.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/ocaml/ocaml-re//archive/" @@ -2905,9 +3765,27 @@ new record values.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1s3rcr76cgm4p1xmaazc58arkg2lz3zfcp1icm00m6s5ccnkh67b")))) + "1pdb0mr6z5ax6szblr3f5lbdnqq9grm97cmsfjmdma60yrx2rqhd")))) (build-system ocaml-build-system) - (native-inputs `(("ounit" ,ocaml-ounit))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "dune" "build" "@install" "--profile" "release") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))))) + (propagated-inputs + `(("ocaml-seq" ,ocaml-seq))) + (native-inputs + `(("dune" ,dune) + ("ounit" ,ocaml-ounit))) (home-page "https://github.com/ocaml/ocaml-re/") (synopsis "Regular expression library for OCaml") (description "Pure OCaml regular expressions with: @@ -2920,32 +3798,38 @@ new record values.") @end enumerate") (license license:expat))) -(define-public ocaml-ppx-expect +(define-public ocaml4.02-re + (package-with-ocaml4.02 ocaml-re)) + +(define-public ocaml4.02-ppx-expect (package - (name "ocaml-ppx-expect") + (name "ocaml4.02-ppx-expect") (version "113.33.03") (source (janestreet-origin "ppx_expect" version "03sbs4s5i8l9syr45v25f5hzy7msd2b47k2a9wsq9m43d4imgkrc")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("fieldslib" ,ocaml-fieldslib) - ("ppx-tools" ,ocaml-ppx-tools) - ("ppx-assert" ,ocaml-ppx-assert) - ("ppx-compare" ,ocaml-ppx-compare) - ("ppx-core" ,ocaml-ppx-core) - ("ppx-custom-printf" ,ocaml-ppx-custom-printf) - ("ppx-driver" ,ocaml-ppx-driver) - ("ppx-fields-conv" ,ocaml-ppx-fields-conv) - ("ppx-inline-test" ,ocaml-ppx-inline-test) - ("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("ppx-variants-conv" ,ocaml-ppx-variants-conv) - ("re" ,ocaml-re) - ("sexplib" ,ocaml-sexplib) - ("variantslib" ,ocaml-variantslib))) - (arguments janestreet-arguments) + `(("fieldslib" ,ocaml4.02-fieldslib) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("ppx-assert" ,ocaml4.02-ppx-assert) + ("ppx-compare" ,ocaml4.02-ppx-compare) + ("ppx-core" ,ocaml4.02-ppx-core) + ("ppx-custom-printf" ,ocaml4.02-ppx-custom-printf) + ("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-fields-conv" ,ocaml4.02-ppx-fields-conv) + ("ppx-inline-test" ,ocaml4.02-ppx-inline-test) + ("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("ppx-variants-conv" ,ocaml4.02-ppx-variants-conv) + ("re" ,ocaml4.02-re) + ("sexplib" ,ocaml4.02-sexplib) + ("variantslib" ,ocaml4.02-variantslib))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_expect/") (synopsis "Cram like framework for OCaml") (description "Expect-test is a framework for writing tests in OCaml, similar @@ -2955,66 +3839,72 @@ output-generating code, interleaved with %expect extension expressions to denote the expected output.") (license license:asl2.0))) -(define-public ocaml-ppx-jane +(define-public ocaml4.02-ppx-jane (package - (name "ocaml-ppx-jane") + (name "ocaml4.02-ppx-jane") (version "113.33.03") (source (janestreet-origin "ppx_jane" version "0bjxkhmzgm6x9dcvjwybbccn34khbvyyjimcbaja30fp6qcqk5yl")) (build-system ocaml-build-system) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) + `(("js-build-tools" ,ocaml4.02-js-build-tools) ("opam" ,opam))) (propagated-inputs - `(("ppx-assert" ,ocaml-ppx-assert) - ("ppx-bench" ,ocaml-ppx-bench) - ("ppx-bin-prot" ,ocaml-ppx-bin-prot) - ("ppx-compare" ,ocaml-ppx-compare) - ("ppx-custom-printf" ,ocaml-ppx-custom-printf) - ("ppx-deriving" ,ocaml-ppx-deriving) - ("ppx-enumerate" ,ocaml-ppx-enumerate) - ("ppx-expect" ,ocaml-ppx-expect) - ("ppx-fail" ,ocaml-ppx-fail) - ("ppx-fields-conv" ,ocaml-ppx-fields-conv) - ("ppx-here" ,ocaml-ppx-here) - ("ppx-inline-test" ,ocaml-ppx-inline-test) - ("ppx-let" ,ocaml-ppx-let) - ("ppx-pipebang" ,ocaml-ppx-pipebang) - ("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("ppx-sexp-message" ,ocaml-ppx-sexp-message) - ("ppx-sexp-value" ,ocaml-ppx-sexp-value) - ("ppx-typerep-conv" ,ocaml-ppx-typerep-conv) - ("ppx-variants-conv" ,ocaml-ppx-variants-conv))) - (arguments janestreet-arguments) + `(("ppx-assert" ,ocaml4.02-ppx-assert) + ("ppx-bench" ,ocaml4.02-ppx-bench) + ("ppx-bin-prot" ,ocaml4.02-ppx-bin-prot) + ("ppx-compare" ,ocaml4.02-ppx-compare) + ("ppx-custom-printf" ,ocaml4.02-ppx-custom-printf) + ("ppx-deriving" ,ocaml4.02-ppx-deriving) + ("ppx-enumerate" ,ocaml4.02-ppx-enumerate) + ("ppx-expect" ,ocaml4.02-ppx-expect) + ("ppx-fail" ,ocaml4.02-ppx-fail) + ("ppx-fields-conv" ,ocaml4.02-ppx-fields-conv) + ("ppx-here" ,ocaml4.02-ppx-here) + ("ppx-inline-test" ,ocaml4.02-ppx-inline-test) + ("ppx-let" ,ocaml4.02-ppx-let) + ("ppx-pipebang" ,ocaml4.02-ppx-pipebang) + ("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("ppx-sexp-message" ,ocaml4.02-ppx-sexp-message) + ("ppx-sexp-value" ,ocaml4.02-ppx-sexp-value) + ("ppx-typerep-conv" ,ocaml4.02-ppx-typerep-conv) + ("ppx-variants-conv" ,ocaml4.02-ppx-variants-conv))) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/ppx_jane/") (synopsis "Standard Jane Street ppx rewriters") (description "Ppx_jane is a ppx_driver including all standard ppx rewriters.") (license license:asl2.0))) -(define-public ocaml-core-kernel +(define-public ocaml4.02-core-kernel (package - (name "ocaml-core-kernel") + (name "ocaml4.02-core-kernel") (version "113.33.03") (source (janestreet-origin "core_kernel" version "0fl23jrwivixawhxinbwaw9cabqnzn7fini7dxpxjjvkxdc8ip5y")) (native-inputs - `(("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + `(("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("bin_prot" ,ocaml-bin-prot) - ("ppx-assert" ,ocaml-ppx-assert) - ("ppx-bench" ,ocaml-ppx-bench) - ("ppx-driver" ,ocaml-ppx-driver) - ("ppx-expect" ,ocaml-ppx-expect) - ("ppx-inline-test" ,ocaml-ppx-inline-test) - ("typerep" ,ocaml-typerep) - ("sexplib" ,ocaml-sexplib) - ("variantslib" ,ocaml-variantslib) - ("result" ,ocaml-result) - ("fieldslib" ,ocaml-fieldslib))) + `(("bin_prot" ,ocaml4.02-bin-prot) + ("ppx-assert" ,ocaml4.02-ppx-assert) + ("ppx-bench" ,ocaml4.02-ppx-bench) + ("ppx-driver" ,ocaml4.02-ppx-driver) + ("ppx-expect" ,ocaml4.02-ppx-expect) + ("ppx-inline-test" ,ocaml4.02-ppx-inline-test) + ("typerep" ,ocaml4.02-typerep) + ("sexplib" ,ocaml4.02-sexplib) + ("variantslib" ,ocaml4.02-variantslib) + ("result" ,ocaml4.02-result) + ("fieldslib" ,ocaml4.02-fieldslib))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/core_kernel/") (synopsis "Portable standard library for OCaml") (description "Core is an alternative to the OCaml standard library. @@ -3023,127 +3913,145 @@ Core_kernel is the system-independent part of Core. It is aimed for cases when the full Core is not available, such as in Javascript.") (license license:asl2.0))) -(define-public ocaml-async-kernel +(define-public ocaml4.02-async-kernel (package - (name "ocaml-async-kernel") + (name "ocaml4.02-async-kernel") (version "113.33.03") (source (janestreet-origin "async_kernel" version "04bjsaa23j831r09r38x6xx9nhryvp0z5ihickvhxqa4fb2snyvd")) (native-inputs `(("oasis" ,ocaml-oasis) - ("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + ("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("core-kernel" ,ocaml-core-kernel))) + `(("core-kernel" ,ocaml4.02-core-kernel))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/async_kernel/") (synopsis "Monadic concurrency library") (description "Async-kernel is a library for concurrent programming in OCaml.") (license license:asl2.0))) -(define-public ocaml-async-rpc-kernel +(define-public ocaml4.02-async-rpc-kernel (package - (name "ocaml-async-rpc-kernel") + (name "ocaml4.02-async-rpc-kernel") (version "113.33.03") (source (janestreet-origin "async_rpc_kernel" version "0y97h9pkb00v7jpf87m8cbb0ffkclj9g26ph6sq97q8dpisnkjwh")) (native-inputs `(("oasis" ,ocaml-oasis) - ("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + ("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("async-kernel" ,ocaml-async-kernel))) + `(("async-kernel" ,ocaml4.02-async-kernel))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/async_rpc_kernel/") (synopsis "Platform-independent core of the Async RPC library") (description "Async_rpc_kernel is the platform-independent core of the Async RPC library.") (license license:asl2.0))) -(define-public ocaml-core +(define-public ocaml4.02-core (package - (name "ocaml-core") + (name "ocaml4.02-core") (version "113.33.03") (source (janestreet-origin "core" version "1znll157qg56g9d3247fjibv1hxv3r9wxgr4nhy19j2vzdh6a268")) (native-inputs `(("oasis" ,ocaml-oasis) - ("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + ("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("core-kernel" ,ocaml-core-kernel))) + `(("core-kernel" ,ocaml4.02-core-kernel))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/core/") (synopsis "Alternative to OCaml's standard library") (description "The Core suite of libraries is an alternative to OCaml's standard library that was developed by Jane Street.") (license license:asl2.0))) -(define-public ocaml-async-unix +(define-public ocaml4.02-async-unix (package - (name "ocaml-async-unix") + (name "ocaml4.02-async-unix") (version "113.33.03") (source (janestreet-origin "async_unix" version "1fwl0lfrizllcfjk8hk8m7lsz9ha2jg6qgk4gssfyz377qvpcq4h")) (native-inputs `(("oasis" ,ocaml-oasis) - ("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + ("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("async-kernel" ,ocaml-async-kernel) - ("core" ,ocaml-core))) + `(("async-kernel" ,ocaml4.02-async-kernel) + ("core" ,ocaml4.02-core))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/async_unix") (synopsis "Asynchronous execution library for Unix") (description "Async_unix is an asynchronous execution library for Unix.") (license license:asl2.0))) -(define-public ocaml-async-extra +(define-public ocaml4.02-async-extra (package - (name "ocaml-async-extra") + (name "ocaml4.02-async-extra") (version "113.33.03") (source (janestreet-origin "async_extra" version "1si8jgiq5xh5sl9f2b7f9p17p7zx5h1pg557x2cxywi2x7pxqg4f")) (native-inputs `(("oasis" ,ocaml-oasis) - ("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + ("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("async-rpc-kernel" ,ocaml-async-rpc-kernel) - ("async-unix" ,ocaml-async-unix) - ("core" ,ocaml-core))) + `(("async-rpc-kernel" ,ocaml4.02-async-rpc-kernel) + ("async-unix" ,ocaml4.02-async-unix) + ("core" ,ocaml4.02-core))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/async_extra") (synopsis "Extra functionnalities for the async library") (description "Async_extra provides additional functionnalities for the async library.") (license license:asl2.0))) -(define-public ocaml-async +(define-public ocaml4.02-async (package - (name "ocaml-async") + (name "ocaml4.02-async") (version "113.33.03") (source (janestreet-origin "async" version "0210fyhcs12kpmmd26015bgivkfd2wqkyn3c5wd7688d0f872y25")) (native-inputs `(("oasis" ,ocaml-oasis) - ("js-build-tools" ,ocaml-js-build-tools) - ("ppx-jane" ,ocaml-ppx-jane) + ("js-build-tools" ,ocaml4.02-js-build-tools) + ("ppx-jane" ,ocaml4.02-ppx-jane) ("opam" ,opam))) (propagated-inputs - `(("async-extra" ,ocaml-async-extra))) + `(("async-extra" ,ocaml4.02-async-extra))) (build-system ocaml-build-system) - (arguments janestreet-arguments) + (arguments + (ensure-keyword-arguments janestreet-arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib))) (home-page "https://github.com/janestreet/async") (synopsis "Monadic concurrency library") (description "Async is a library for concurrent programming in OCaml.") @@ -3162,7 +4070,9 @@ async library.") "0hwj09rnzjs0m0kazz5h2mgs6p95j0zlga8cda5srnzqmzhniwkn")) (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) - (native-inputs `(("cppo" ,ocaml-cppo))) + (native-inputs + `(("cppo" ,ocaml-cppo) + ("ocamlbuild" ,ocamlbuild))) (home-page "https://github.com/OCamlPro/ocplib-endian") (synopsis "Optimised functions to read and write int16/32/64 from strings and bigarrays") @@ -3172,9 +4082,12 @@ strings, bytes and bigstring (Bigarrys of chars), and provides submodules for big- and little-endian, with their unsafe counter-parts.") (license license:lgpl2.1))) -(define-public ocaml-cstruct +(define-public ocaml4.02-ocplib-endian + (package-with-ocaml4.02 ocaml-ocplib-endian)) + +(define-public ocaml4.02-cstruct (package - (name "ocaml-cstruct") + (name "ocaml4.02-cstruct") (version "2.3.1") (source (origin (method url-fetch) @@ -3186,7 +4099,9 @@ big- and little-endian, with their unsafe counter-parts.") (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (arguments - `(#:configure-flags + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:configure-flags (list "--enable-lwt" "--enable-async") #:phases (modify-phases %standard-phases @@ -3199,14 +4114,14 @@ big- and little-endian, with their unsafe counter-parts.") (symlink (string-append lib "/dllcstruct_stubs.so") (string-append stubs "/dllcstruct_stubs.so")))))))) (native-inputs - `(("ounit" ,ocaml-ounit) - ("ppx-tools" ,ocaml-ppx-tools) - ("camlp4" ,camlp4))) + `(("ounit" ,ocaml4.02-ounit) + ("ppx-tools" ,ocaml4.02-ppx-tools) + ("camlp4" ,camlp4-4.02))) (propagated-inputs - `(("ocplib-endian" ,ocaml-ocplib-endian) - ("lwt" ,ocaml-lwt) - ("async" ,ocaml-async) - ("sexplib" ,ocaml-sexplib))) + `(("ocplib-endian" ,ocaml4.02-ocplib-endian) + ("lwt" ,ocaml4.02-lwt) + ("async" ,ocaml4.02-async) + ("sexplib" ,ocaml4.02-sexplib))) (home-page "https://github.com/mirage/ocaml-cstruct") (synopsis "Access C structures via a camlp4 extension") (description "Cstruct is a library and syntax extension to make it easier @@ -3214,9 +4129,9 @@ to access C-like structures directly from OCaml. It supports both reading and writing to these structures, and they are accessed via the Bigarray module.") (license license:isc))) -(define-public ocaml-hex +(define-public ocaml4.02-hex (package - (name "ocaml-hex") + (name "ocaml4.02-hex") (version "1.0.0") (source (origin (method url-fetch) @@ -3227,15 +4142,19 @@ writing to these structures, and they are accessed via the Bigarray module.") "0s63g0b8gfv2xm6fv6xg7bva8h76b5pcjb0zw3f8cygs0lq9072v")) (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) - (propagated-inputs `(("cstruct" ,ocaml-cstruct))) + (arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib)) + (propagated-inputs + `(("cstruct" ,ocaml4.02-cstruct))) (home-page "https://github.com/mirage/ocaml-hex/") (synopsis "Minimal library providing hexadecimal converters") (description "Hex is a minimal library providing hexadecimal converters.") (license license:isc))) -(define-public ocaml-ezjsonm +(define-public ocaml4.02-ezjsonm (package - (name "ocaml-ezjsonm") + (name "ocaml4.02-ezjsonm") (version "0.4.3") (source (origin (method url-fetch) @@ -3247,14 +4166,16 @@ writing to these structures, and they are accessed via the Bigarray module.") (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (native-inputs - `(("alcotest" ,ocaml-alcotest))) + `(("alcotest" ,ocaml4.02-alcotest))) (propagated-inputs - `(("hex" ,ocaml-hex) - ("jsonm" ,ocaml-jsonm) - ("lwt" ,ocaml-lwt) - ("sexplib" ,ocaml-sexplib))) + `(("hex" ,ocaml4.02-hex) + ("jsonm" ,ocaml4.02-jsonm) + ("lwt" ,ocaml4.02-lwt) + ("sexplib" ,ocaml4.02-sexplib))) (arguments - `(#:configure-flags (list "--enable-lwt"))) + `(#:configure-flags (list "--enable-lwt") + #:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib)) (home-page "https://github.com/mirage/ezjsonm/") (synopsis "Read and write JSON data") (description "Ezjsonm provides more convenient (but far less flexible) input @@ -3263,9 +4184,9 @@ the need to write signal code, which is useful for quick scripts that manipulate JSON.") (license license:isc))) -(define-public ocaml-uri +(define-public ocaml4.02-uri (package - (name "ocaml-uri") + (name "ocaml4.02-uri") (version "1.9.2") (source (origin (method url-fetch) @@ -3276,14 +4197,17 @@ JSON.") "02bzrag79prx261rxf9mlak749pwf4flpfl8p012x1xznv9m0clc")) (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) + (arguments + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib)) (native-inputs - `(("ounit" ,ocaml-ounit))) + `(("ounit" ,ocaml4.02-ounit))) (propagated-inputs - `(("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) - ("re" ,ocaml-re) - ("ppx-deriving" ,ocaml-ppx-deriving) - ("sexplib" ,ocaml-sexplib) - ("stringext" ,ocaml-stringext))) + `(("ppx-sexp-conv" ,ocaml4.02-ppx-sexp-conv) + ("re" ,ocaml4.02-re) + ("ppx-deriving" ,ocaml4.02-ppx-deriving) + ("sexplib" ,ocaml4.02-sexplib) + ("stringext" ,ocaml4.02-stringext))) (home-page "https://github.com/mirage/ocaml-uri") (synopsis "RFC3986 URI/URL parsing library") (description "OCaml-uri is a library for parsing URI/URL in the RFC3986 format.") @@ -3312,6 +4236,9 @@ JSON.") Format module of the OCaml standard library.") (license license:bsd-3))) +(define-public ocaml4.02-easy-format + (package-with-ocaml4.02 ocaml-easy-format)) + (define-public optcomp (package (name "optcomp") @@ -3326,13 +4253,15 @@ Format module of the OCaml standard library.") (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (arguments - `(#:use-make? #t + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:use-make? #t #:make-flags (list (string-append "BUILDFLAGS=\"-cflags -I," (assoc-ref %build-inputs "camlp4") "/lib/ocaml/site-lib/camlp4/Camlp4Parsers\"")))) - (native-inputs `(("camlp4" ,camlp4))) - (propagated-inputs `(("camlp4" ,camlp4))) + (native-inputs `(("camlp4" ,camlp4-4.02))) + (propagated-inputs `(("camlp4" ,camlp4-4.02))) (home-page "https://github.com/diml/optcomp") (synopsis "Optional compilation for OCaml") (description "Optcomp provides an optional compilation facility with @@ -3342,14 +4271,14 @@ cpp-like directives.") (define-public ocaml-piqilib (package (name "ocaml-piqilib") - (version "0.6.13") + (version "0.6.14") (source (origin (method url-fetch) (uri (string-append "https://github.com/alavrik/piqi/archive/v" version ".tar.gz")) (sha256 (base32 - "1whqr2bb3gds2zmrzqnv8vqka9928w4lx6mi6g244kmbwb2h8d8l")) + "1ssccnwqzfyf7syfq2fv4zyhwayxwd75rhq9y28mvq1w6qbww4l7")) (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (arguments @@ -3365,14 +4294,17 @@ cpp-like directives.") (let ((out (assoc-ref outputs "out"))) (substitute* "make/OCamlMakefile" (("/bin/sh") (which "bash"))) - (zero? (system* "./configure" "--prefix" out "--ocaml-libdir" - (string-append out "/lib/ocaml/site-lib")))))) + (invoke "./configure" "--prefix" out "--ocaml-libdir" + (string-append out "/lib/ocaml/site-lib"))) + #t)) (add-after 'build 'build-ocaml (lambda* (#:key outputs #:allow-other-keys) - (zero? (system* "make" "ocaml")))) + (invoke "make" "ocaml") + #t)) (add-after 'install 'install-ocaml (lambda* (#:key outputs #:allow-other-keys) - (zero? (system* "make" "ocaml-install")))) + (invoke "make" "ocaml-install") + #t)) (add-after 'install-ocaml 'link-stubs (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -3388,7 +4320,6 @@ cpp-like directives.") (propagated-inputs `(("xmlm" ,ocaml-xmlm) ("ulex" ,ocaml-ulex) - ("optcomp" ,optcomp) ("easy-format" ,ocaml-easy-format) ("base64" ,ocaml-base64))) (home-page "http://piqi.org") @@ -3397,6 +4328,9 @@ cpp-like directives.") tool and piqi-ocaml.") (license license:asl2.0))) +(define-public ocaml4.02-piqilib + (package-with-ocaml4.02 ocaml-piqilib)) + (define-public ocaml-uuidm (package (name "ocaml-uuidm") @@ -3416,7 +4350,8 @@ tool and piqi-ocaml.") (modify-phases %standard-phases (delete 'configure)))) (native-inputs - `(("opam" ,opam))) + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam))) (propagated-inputs `(("cmdliner" ,ocaml-cmdliner) ("topkg" ,ocaml-topkg))) @@ -3427,21 +4362,24 @@ unique identifiers (UUIDs) version 3, 5 (named based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122.") (license license:isc))) +(define-public ocaml4.02-uuidm + (package-with-ocaml4.02 ocaml-uuidm)) + (define-public ocaml-graph (package (name "ocaml-graph") - (version "1.8.7") + (version "1.8.8") (source (origin (method url-fetch) (uri (string-append "http://ocamlgraph.lri.fr/download/" "ocamlgraph-" version ".tar.gz")) (sha256 (base32 - "1845r537swjil2fcj7lgbibc2zybfwqqasrd2s7bncajs83cl1nz")) - (patches (search-patches "ocaml-graph-honor-source-date-epoch.patch")))) + "0m9g16wrrr86gw4fz2fazrh8nkqms0n863w7ndcvrmyafgxvxsnr")))) (build-system ocaml-build-system) (arguments `(#:install-target "install-findlib" + #:tests? #f #:phases (modify-phases %standard-phases (add-before 'configure 'set-shell @@ -3454,10 +4392,13 @@ and 4 (random based) according to RFC 4122.") (description "OCamlgraph is a generic graph library for OCaml.") (license license:lgpl2.1))) +(define-public ocaml4.02-graph + (package-with-ocaml4.02 ocaml-graph)) + (define-public ocaml-piqi (package (name "ocaml-piqi") - (version "0.7.5") + (version "0.7.6") (source (origin (method url-fetch) (uri (string-append "https://github.com/alavrik/piqi-ocaml/" @@ -3465,7 +4406,7 @@ and 4 (random based) according to RFC 4122.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ngz6y8i98i5v2ma8nk6mc83pdsmf2z0ks7m3xi6clfg3zqbddrv")))) + "0da0v2v28aj65b0cwpvvmcqyrfvz94pp3j5zgfdr1jrl5s37c21g")))) (build-system ocaml-build-system) (arguments `(#:make-flags @@ -3477,9 +4418,13 @@ and 4 (random based) according to RFC 4122.") (delete 'configure)))) (native-inputs `(("which" ,which) + ("camlp4" ,camlp4) ("protobuf" ,protobuf))) ; for tests (propagated-inputs - `(("piqilib" ,ocaml-piqilib))) + `(("num" ,ocaml-num) + ("piqilib" ,ocaml-piqilib))) + (properties + `((ocaml4.02-variant . ,(delay ocaml4.02-piqi)))) (home-page "https://github.com/alavrik/piqi-ocaml") (synopsis "Protocol serialization system for OCaml") (description "Piqi is a multi-format data serialization system for OCaml. @@ -3487,67 +4432,73 @@ It provides a uniform interface for serializing OCaml data structures to JSON, XML and Protocol Buffers formats.") (license license:asl2.0))) +(define-public ocaml4.02-piqi + (let ((base (package-with-ocaml4.02 (strip-ocaml4.02-variant ocaml-piqi)))) + (package + (inherit base) + (propagated-inputs + `(("piqilib" ,ocaml4.02-piqilib)))))) + (define-public bap (package (name "bap") - (version "1.1.0") + (version "1.3.0") (home-page "https://github.com/BinaryAnalysisPlatform/bap") (source (origin (method url-fetch) (uri (string-append home-page "/archive/v" version ".tar.gz")) (sha256 (base32 - "1ms95m4j1qrmy7zqmsn2izh7gq68lnmssl7chyhk977kd3sxj66m")) + "0v95v9mp7mg8fj25ry0w7566zd9xp6cs8nnqj4l38q54fb1hfav9")) (file-name (string-append name "-" version ".tar.gz")))) (build-system ocaml-build-system) (native-inputs - `(("oasis" ,ocaml-oasis) + `(("oasis" ,ocaml4.02-oasis) ("clang" ,clang-3.8) - ("ounit" ,ocaml-ounit))) + ("ounit" ,ocaml4.02-ounit))) (propagated-inputs - `(("core-kernel" ,ocaml-core-kernel) - ("ppx-driver" ,ocaml-ppx-driver) - ("uri" ,ocaml-uri) + `(("core-kernel" ,ocaml4.02-core-kernel) + ("ppx-driver" ,ocaml4.02-ppx-driver) + ("bin-prot" ,ocaml4.02-bin-prot) + ("uri" ,ocaml4.02-uri) ("llvm" ,llvm-3.8) ("gmp" ,gmp) ("clang-runtime" ,clang-runtime) - ("fileutils" ,ocaml-fileutils) - ("cmdliner" ,ocaml-cmdliner) - ("zarith" ,ocaml-zarith) - ("uuidm" ,ocaml-uuidm) - ("camlzip" ,camlzip) + ("fileutils" ,ocaml4.02-fileutils) + ("cmdliner" ,ocaml4.02-cmdliner) + ("zarith" ,ocaml4.02-zarith) + ("uuidm" ,ocaml4.02-uuidm) + ("camlzip" ,ocaml4.02-camlzip) ("frontc" ,ocaml-frontc) - ("ezjsonm" ,ocaml-ezjsonm) - ("ocurl" ,ocaml-ocurl) - ("piqi" ,ocaml-piqi) - ("ocamlgraph" ,ocaml-graph) - ("bitstring" ,ocaml-bitstring) - ("ppx-jane" ,ocaml-ppx-jane) - ("re" ,ocaml-re))) + ("ezjsonm" ,ocaml4.02-ezjsonm) + ("ocurl" ,ocaml4.02-ocurl) + ("piqi" ,ocaml4.02-piqi) + ("ocamlgraph" ,ocaml4.02-graph) + ("bitstring" ,ocaml4.02-bitstring) + ("ppx-jane" ,ocaml4.02-ppx-jane) + ("re" ,ocaml4.02-re))) (inputs `(("llvm" ,llvm-3.8))) (arguments - `(#:use-make? #t + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:use-make? #t #:phases (modify-phases %standard-phases (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (zero? (system* "./configure" "--prefix" - (assoc-ref outputs "out") - "--libdir" - (string-append - (assoc-ref outputs "out") - "/lib/ocaml/site-lib") - "--with-llvm-version=3.8" - "--with-llvm-config=llvm-config" - "--enable-everything")))) - (add-after 'install 'link-stubs - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (stubs (string-append out "/lib/ocaml/site-lib/stubslibs")) - (lib (string-append out "/lib/ocaml/site-lib/bap-plugin-llvm"))) - (mkdir-p stubs) - (symlink (string-append lib "/dllllvm_plugin_stubs.so") - (string-append stubs "/dllllvm_plugin_stubs.so")))))))) + (lambda* (#:key outputs inputs #:allow-other-keys) + (invoke "./configure" "--prefix" + (assoc-ref outputs "out") + "--libdir" + (string-append + (assoc-ref outputs "out") + "/lib/ocaml/site-lib") + "--with-llvm-version=3.8" + "--with-llvm-config=llvm-config" + "--enable-everything") + (substitute* "plugins/objdump/objdump_main.ml" + (("Re_perl") "Re.Perl")) + (substitute* "oasis/objdump" + (("re.pcre") "re.pcre, re.perl"))))))) (synopsis "Binary Analysis Platform") (description "Binary Analysis Platform is a framework for writing program analysis tools, that target binary files. The framework consists of a plethora @@ -3558,23 +4509,33 @@ the plugins facilitate extensibility, and the frontends serve as entry points.") (define-public ocaml-camomile (package (name "ocaml-camomile") - (version "0.8.5") + (version "1.0.1") (home-page "https://github.com/yoriyuki/Camomile") (source (origin (method url-fetch) - (uri (string-append home-page "/releases/download/rel-" version - "/camomile-" version ".tar.bz2")) + (uri (string-append home-page "/releases/download/" version + "/camomile-" version ".tbz")) (sha256 (base32 - "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045")))) + "01ssjrqz41jvrqh27jxnh9cx7ywi9b5sgsykd00i7z9nrcwhlfy2")))) (build-system ocaml-build-system) - (native-inputs `(("camlp4" ,camlp4))) + (native-inputs + `(("camlp4" ,camlp4) + ("dune" ,dune))) (arguments `(#:phases (modify-phases %standard-phases - (add-before 'configure 'fix-bin/sh + (delete 'configure) + (replace 'build (lambda _ - (setenv "CONFIG_SHELL" (which "bash"))))))) + (invoke "dune" "build" "@install" "--profile" "release") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))) + #:tests? #f)) (synopsis "Comprehensive Unicode library") (description "Camomile is a Unicode library for OCaml. Camomile provides Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about @@ -3583,6 +4544,9 @@ library is currently designed for Unicode Standard 3.2.") ;; with an exception for linked libraries to use a different license (license license:lgpl2.0+))) +(define-public ocaml4.02-camomile + (package-with-ocaml4.02 ocaml-camomile)) + (define-public ocaml-jbuilder (package (name "ocaml-jbuilder") @@ -3595,10 +4559,12 @@ library is currently designed for Unicode Standard 3.2.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0gcy52y0mkg450yxwszp3lww303a1154566r8jb4hh5l61dh4dwj")))) + "1cy07pwvbrlysszs938yd74yyvvbgkffpb82qrjph77zf0h2gdi7")))) (build-system ocaml-build-system) (arguments - `(#:phases + `(#:ocaml ,ocaml-4.02 + #:findlib ,ocaml4.02-findlib + #:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) @@ -3606,7 +4572,7 @@ library is currently designed for Unicode Standard 3.2.") (setenv "PREFIX" out)) #t))))) (native-inputs - `(("menhir" ,ocaml-menhir))) + `(("menhir" ,ocaml4.02-menhir))) (propagated-inputs `(("opam" ,opam))) (home-page "https://github.com/janestreet/jbuilder") @@ -3654,10 +4620,13 @@ to write text editors, edition widgets, readlines, etc. You just have to connect an engine to your inputs and rendering functions to get an editor.") (license license:bsd-3))) +(define-public ocaml4.02-zed + (package-with-ocaml4.02 ocaml-zed)) + (define-public ocaml-lambda-term (package (name "ocaml-lambda-term") - (version "1.11") + (version "1.13") (source (origin (method url-fetch) @@ -3665,26 +4634,27 @@ connect an engine to your inputs and rendering functions to get an editor.") version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10lx1jqgmmfwwlv64di4a8nia9l53v7179z70n9fx6aq5l7r8nba")))) + (base32 "1hy5ryagqclgdm9lzh1qil5mrynlypv7mn6qm858hdcnmz9zzn0l")))) (build-system ocaml-build-system) (arguments - `(#:test-target "test" - #:phases + `(#:phases (modify-phases %standard-phases (delete 'configure) - ;; currently, ocaml-lwt is an old version of lwt from before lwt.react - ;; was split into a separate module called lwt_react - (add-before 'build 'use-old-lwt-react-name + (replace 'build (lambda _ - (substitute* "src/jbuild" (("lwt_react") "lwt.react")))) + (invoke "dune" "build" "@install" "--profile" "release") + #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (zero? (system* "jbuilder" "install" "--prefix" out)))))))) + (invoke "dune" "install" + "--prefix" (assoc-ref outputs "out")) + #t))) + #:tests? #f)) (native-inputs - `(("jbuilder" ,ocaml-jbuilder))) + `(("dune" ,dune))) (propagated-inputs `(("lwt" ,ocaml-lwt) + ("lwt-log" ,ocaml-lwt-log) ("zed" ,ocaml-zed))) (home-page "https://github.com/diml/lambda-term") (synopsis "Terminal manipulation library for OCaml") @@ -3696,18 +4666,21 @@ manipulation than, for example, ncurses, by providing a native OCaml interface instead of bindings to a C library.") (license license:bsd-3))) +(define-public ocaml4.02-lambda-term + (package-with-ocaml4.02 ocaml-lambda-term)) + (define-public ocaml-utop (package (name "ocaml-utop") - (version "2.0.2") + (version "2.2.0") (source (origin (method url-fetch) - (uri (string-append "https://github.com/diml/utop/archive/" + (uri (string-append "https://github.com/ocaml-community/utop/archive/" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0rglznh4prcix8spi3f060jz2gngk7x8vkd291fxs10b88aqcpxf")))) + "1414snwmqaxs1x8wbpjf6fn3jsl01hq0phrr7639xmb5vh15mgd4")))) (build-system gnu-build-system) (arguments `(#:test-target "test" @@ -3761,6 +4734,8 @@ sensitive completion, colors, and more.") #:phases (modify-phases %standard-phases (delete 'configure)))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild))) (inputs `(("topkg" ,ocaml-topkg) ("opam" ,opam))) @@ -3773,7 +4748,7 @@ long and size_t whose sizes depend on the host platform.") (define-public ocaml-ctypes (package (name "ocaml-ctypes") - (version "0.13.1") + (version "0.14.0") (home-page "https://github.com/ocamllabs/ocaml-ctypes") (source (origin (method url-fetch) @@ -3781,10 +4756,11 @@ long and size_t whose sizes depend on the host platform.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17w0pr5k0zjcjns4y9n36rjpfl35zhvp3h8ggqs9lz12qhshdk2m")))) + "0zrsd42q2nciyg9375g2kydqax6ay299rhyfgms59qiw7d9ylyp9")))) (build-system ocaml-build-system) (arguments - `(#:make-flags + `(#:tests? #f; require an old lwt + #:make-flags (list (string-append "INSTALL_HEADERS = $(wildcard $($(PROJECT).dir)/*.h)")) #:phases (modify-phases %standard-phases @@ -3832,7 +4808,8 @@ without writing or generating any C!") `(("topkg" ,ocaml-topkg) ("opam" ,opam))) (native-inputs - `(("astring" ,ocaml-astring))) + `(("astring" ,ocaml-astring) + ("ocamlbuild" ,ocamlbuild))) (synopsis "OCamlbuild plugin for C stubs") (description "Ocb-stubblr is about ten lines of code that you need to repeat over, over, over and over again if you are using ocamlbuild to build @@ -3860,7 +4837,8 @@ OCaml projects that contain C stubs.") (modify-phases %standard-phases (delete 'configure)))) (native-inputs - `(("opam" ,opam) + `(("ocamlbuild" ,ocamlbuild) + ("opam" ,opam) ("pkg-config" ,pkg-config))) (inputs `(("topkg" ,ocaml-topkg) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index b78190b6dc..ae8612491f 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -101,9 +101,9 @@ ;; Latest version of Guix, which may or may not correspond to a release. ;; Note: the 'update-guix-package.scm' script expects this definition to ;; start precisely like this. - (let ((version "0.15.0") - (commit "f9a8fce10f2d99efec7cb1dd0f6c5f0df9d1b2df") - (revision 6)) + (let ((version "0.16.0") + (commit "6ddc63e599a26c302f74d0622f67cfd987f0dc5f") + (revision 3)) (package (name "guix") @@ -119,7 +119,7 @@ (commit commit))) (sha256 (base32 - "1733d5id0h44rrkyj9xw4fcqr1wawcfi8igpgk5wsn1iq4qqwv5f")) + "0vzxrsfbr4phhy60m7pc6klb61whqc404c3x76ydj70xvi1xa0wz")) (file-name (string-append "guix-" version "-checkout")))) (build-system gnu-build-system) (arguments @@ -316,6 +316,7 @@ the Nix package manager.") (inputs `(("gnutls" ,gnutls) ("guile-git" ,guile-git) + ("guile-json" ,guile-json) ("guile-gcrypt" ,guile-gcrypt) ,@(fold alist-delete (package-inputs guix) '("boot-guile" "boot-guile/i686" "util-linux")))) @@ -387,7 +388,7 @@ the Nix package manager.") (propagated-inputs (fold alist-delete (package-propagated-inputs guix) - '("guile-json" "guile-ssh"))))))) + '("guile-ssh"))))))) (define (source-file? file stat) "Return true if FILE is likely a source file, false if it is a typical @@ -568,13 +569,13 @@ transactions from C or Python.") (define-public diffoscope (package (name "diffoscope") - (version "102") + (version "106") (source (origin (method url-fetch) (uri (pypi-uri name version)) (sha256 (base32 - "0v2z98xx7n4viw12yq83flpb9ir5ahy1gn44pic0i3dam18xhcm6")))) + "0qrfp7nha2n2s9h5ibcf7rqji1amh4cqbcf80m6anim6p3ik26da")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases @@ -585,6 +586,12 @@ transactions from C or Python.") (lambda _ (substitute* "setup.py" (("'python-magic',") "")))) + ;; This test is broken because our `file` package has a + ;; bug in berkeley-db file type detection. + (add-after 'unpack 'remove-berkeley-test + (lambda _ + (delete-file "tests/comparators/test_berkeley_db.py") + #t)) (add-after 'unpack 'embed-tool-references (lambda* (#:key inputs #:allow-other-keys) (substitute* "diffoscope/comparators/utils/compare.py" diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 3dba2b8c00..df8ac180b3 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -48,7 +48,7 @@ (define-public parallel (package (name "parallel") - (version "20180922") + (version "20181122") (source (origin (method url-fetch) @@ -56,7 +56,7 @@ version ".tar.bz2")) (sha256 (base32 - "07q7lzway2qf8mx6fb4q45jmirsc8pw6rgv03ifrp32jw3q8w1za")))) + "1mcqymf6vg8jhnjv71sswcz5xrwpq2h2ishi8m1hz8rwhc65h1ig")))) (build-system gnu-build-system) (arguments `(#:phases diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index e09bbea5cc..357ef86d56 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -735,15 +735,15 @@ password cracking.") (define-public hashcat-utils (package (name "hashcat-utils") - (version "1.8") + (version "1.9") (source (origin (method url-fetch) - (uri (string-append "https://github.com/hashcat/hashcat-utils/releases/download/v" - version "/hashcat-utils-1.8.7z")) + (uri (string-append "https://github.com/hashcat/hashcat-utils/releases/" + "download/v" version "/" + "hashcat-utils-" version ".7z")) (sha256 - (base32 - "1x80rngjz7gkhwplhw1iqr0wzb6hjkrjfld2kz9kmgp5dr9nys1p")))) + (base32 "0kq555kb338691qd7zjmi8vhq4km3apnsl2w63zh0igwzcjx6lx1")))) (native-inputs `(("p7zip" ,p7zip))) (inputs @@ -767,12 +767,16 @@ password cracking.") (lambda* (#:key outputs #:allow-other-keys) (let ((out (string-append (assoc-ref outputs "out") "/bin"))) (mkdir-p out) - (for-each (lambda (file) - (copy-file file (string-append out "/" (basename file ".bin")))) - (find-files "." "\\.bin$")) - (for-each (lambda (file) - (copy-file file (string-append out "/" (basename file ".pl")))) - (find-files "../bin" "\\.pl$")) + (for-each + (lambda (file) + (copy-file file (string-append out "/" + (basename file ".bin")))) + (find-files "." "\\.bin$")) + (for-each + (lambda (file) + (copy-file file (string-append out "/" + (basename file ".pl")))) + (find-files "../bin" "\\.pl$")) #t)))))) (home-page "https://github.com/hashcat/hashcat-utils/") (synopsis "Small utilities that are useful in advanced password cracking") diff --git a/gnu/packages/patches/aegisub-boost68.patch b/gnu/packages/patches/aegisub-boost68.patch new file mode 100644 index 0000000000..013721f3bd --- /dev/null +++ b/gnu/packages/patches/aegisub-boost68.patch @@ -0,0 +1,35 @@ +Source: https://git.archlinux.org/svntogit/community.git/plain/trunk/boost-1.68.patch?h=packages/aegisub +From d8336d2fed73c72d1227b343d6acfb991bc1651b Mon Sep 17 00:00:00 2001 +From: Jan Beich +Date: Mon, 9 Jul 2018 20:15:29 +0000 +Subject: [PATCH] Keep using std::distance after Boost 1.68 + +src/search_replace_engine.cpp:256:14: error: call to + 'distance' is ambiguous + count += distance( + ^~~~~~~~ +/usr/include/c++/v1/iterator:511:1: note: candidate function [with _InputIter = + boost::u32regex_iterator >] +distance(_InputIter __first, _InputIter __last) +^ +/usr/local/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator = + boost::u32regex_iterator >] + distance(SinglePassIterator first, SinglePassIterator last) + ^ +--- + src/search_replace_engine.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/search_replace_engine.cpp b/src/search_replace_engine.cpp +index 594c21e5e..14c71680d 100644 +--- a/src/search_replace_engine.cpp ++++ b/src/search_replace_engine.cpp +@@ -253,7 +253,7 @@ bool SearchReplaceEngine::ReplaceAll() { + if (MatchState ms = matches(&diag, 0)) { + auto& diag_field = diag.*get_dialogue_field(settings.field); + std::string const& text = diag_field.get(); +- count += distance( ++ count += std::distance( + boost::u32regex_iterator(begin(text), end(text), *ms.re), + boost::u32regex_iterator()); + diag_field = u32regex_replace(text, *ms.re, settings.replace_with); diff --git a/gnu/packages/patches/beets-python-3.7-fix.patch b/gnu/packages/patches/beets-python-3.7-fix.patch new file mode 100644 index 0000000000..43707cd9d0 --- /dev/null +++ b/gnu/packages/patches/beets-python-3.7-fix.patch @@ -0,0 +1,57 @@ +Fix compatibility issue with Python 3.7: + +https://github.com/beetbox/beets/issues/2978 + +Patch copied from upstream source repository: + +https://github.com/beetbox/beets/commit/15d44f02a391764da1ce1f239caef819f08beed8 + +From 15d44f02a391764da1ce1f239caef819f08beed8 Mon Sep 17 00:00:00 2001 +From: Adrian Sampson +Date: Sun, 22 Jul 2018 12:34:19 -0400 +Subject: [PATCH] Fix Python 3.7 compatibility (#2978) + +--- + beets/autotag/hooks.py | 8 +++++++- + docs/changelog.rst | 2 ++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/beets/autotag/hooks.py b/beets/autotag/hooks.py +index 3615a9333..1c62a54c5 100644 +--- a/beets/autotag/hooks.py ++++ b/beets/autotag/hooks.py +@@ -31,6 +31,12 @@ + + log = logging.getLogger('beets') + ++# The name of the type for patterns in re changed in Python 3.7. ++try: ++ Pattern = re._pattern_type ++except AttributeError: ++ Pattern = re.Pattern ++ + + # Classes used to represent candidate options. + +@@ -433,7 +439,7 @@ def _eq(self, value1, value2): + be a compiled regular expression, in which case it will be + matched against `value2`. + """ +- if isinstance(value1, re._pattern_type): ++ if isinstance(value1, Pattern): + return bool(value1.match(value2)) + return value1 == value2 + +#diff --git a/docs/changelog.rst b/docs/changelog.rst +#index be6de2904..d487f31f5 100644 +#--- a/docs/changelog.rst +#+++ b/docs/changelog.rst +#@@ -19,6 +19,8 @@ New features: +# +# Fixes: +# +#+* Fix compatibility Python 3.7 and its change to a name in the ``re`` module. +#+ :bug:`2978` +# * R128 normalization tags are now properly deleted from files when the values +# are missing. +# Thanks to :user:`autrimpo`. diff --git a/gnu/packages/patches/blender-newer-ffmpeg.patch b/gnu/packages/patches/blender-newer-ffmpeg.patch new file mode 100644 index 0000000000..363489bc70 --- /dev/null +++ b/gnu/packages/patches/blender-newer-ffmpeg.patch @@ -0,0 +1,80 @@ +https://sources.debian.org/data/main/b/blender/2.79.b+dfsg0-4/debian/patches/0008-fix_building_with_latest_versions_of_FFmpeg.patch + +From: Bastien Montagne +Date: Tue, 8 May 2018 16:00:52 +0200 +Subject: fix_building_with_latest_versions_of_FFmpeg + +Some years-old deprecated stuff has now been removed. + +Correct solution is probably to use valid defines etc. in own code, but +this is more FFMEPG maintainer task (since it also may change how old +FFMPEG we do support...). +--- + intern/ffmpeg/ffmpeg_compat.h | 39 ++++++++++++++++++++++++++ + source/blender/blenkernel/intern/writeffmpeg.c | 3 +- + 2 files changed, 41 insertions(+), 1 deletion(-) + +diff --git a/intern/ffmpeg/ffmpeg_compat.h b/intern/ffmpeg/ffmpeg_compat.h +index 9c06c8a..f7f437c 100644 +--- a/intern/ffmpeg/ffmpeg_compat.h ++++ b/intern/ffmpeg/ffmpeg_compat.h +@@ -109,6 +109,45 @@ int av_sample_fmt_is_planar(enum AVSampleFormat sample_fmt) + + #endif + ++/* XXX TODO Probably fix to correct modern flags in code? Not sure how old FFMPEG we want to support though, ++ * so for now this will do. */ ++ ++#ifndef FF_MIN_BUFFER_SIZE ++# ifdef AV_INPUT_BUFFER_MIN_SIZE ++# define FF_MIN_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE ++# endif ++#endif ++ ++#ifndef FF_INPUT_BUFFER_PADDING_SIZE ++# ifdef AV_INPUT_BUFFER_PADDING_SIZE ++# define FF_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_PADDING_SIZE ++# endif ++#endif ++ ++#ifndef CODEC_FLAG_GLOBAL_HEADER ++# ifdef AV_CODEC_FLAG_GLOBAL_HEADER ++# define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER ++# endif ++#endif ++ ++#ifndef CODEC_FLAG_GLOBAL_HEADER ++# ifdef AV_CODEC_FLAG_GLOBAL_HEADER ++# define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER ++# endif ++#endif ++ ++#ifndef CODEC_FLAG_INTERLACED_DCT ++# ifdef AV_CODEC_FLAG_INTERLACED_DCT ++# define CODEC_FLAG_INTERLACED_DCT AV_CODEC_FLAG_INTERLACED_DCT ++# endif ++#endif ++ ++#ifndef CODEC_FLAG_INTERLACED_ME ++# ifdef AV_CODEC_FLAG_INTERLACED_ME ++# define CODEC_FLAG_INTERLACED_ME AV_CODEC_FLAG_INTERLACED_ME ++# endif ++#endif ++ + /* FFmpeg upstream 1.0 is the first who added AV_ prefix. */ + #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 59, 100) + # define AV_CODEC_ID_NONE CODEC_ID_NONE +diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c +index a19e414..04d508a 100644 +--- a/source/blender/blenkernel/intern/writeffmpeg.c ++++ b/source/blender/blenkernel/intern/writeffmpeg.c +@@ -605,7 +605,8 @@ static AVStream *alloc_video_stream(FFMpegContext *context, RenderData *rd, int + c->rc_buffer_aggressivity = 1.0; + #endif + +- c->me_method = ME_EPZS; ++ /* Deprecated and not doing anything since July 2015, deleted in recent ffmpeg */ ++ //c->me_method = ME_EPZS; + + codec = avcodec_find_encoder(c->codec_id); + if (!codec) diff --git a/gnu/packages/patches/borg-respect-storage-quota.patch b/gnu/packages/patches/borg-respect-storage-quota.patch deleted file mode 100644 index d23d1ffc01..0000000000 --- a/gnu/packages/patches/borg-respect-storage-quota.patch +++ /dev/null @@ -1,32 +0,0 @@ -Make sure the client respects the storage quota set by the server: - -https://github.com/borgbackup/borg/issues/4093 - -Patch copied from upstream source repository: - -https://github.com/borgbackup/borg/commit/975cc33206e0e3644626fb7204c34d2157715b61 - -From 975cc33206e0e3644626fb7204c34d2157715b61 Mon Sep 17 00:00:00 2001 -From: Manu -Date: Wed, 3 Oct 2018 23:47:36 +0800 -Subject: [PATCH] Add storage_quota for forced_result if set by serve command. - ---- - src/borg/archiver.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/borg/archiver.py b/src/borg/archiver.py -index 916725e7..279194c1 100644 ---- a/src/borg/archiver.py -+++ b/src/borg/archiver.py -@@ -4276,6 +4276,7 @@ def get_args(self, argv, cmd): - result.restrict_to_paths = forced_result.restrict_to_paths - result.restrict_to_repositories = forced_result.restrict_to_repositories - result.append_only = forced_result.append_only -+ result.storage_quota = forced_result.storage_quota - return result - - def parse_args(self, args=None): --- -2.19.1 - diff --git a/gnu/packages/patches/casync-renameat2-declaration.patch b/gnu/packages/patches/casync-renameat2-declaration.patch new file mode 100644 index 0000000000..74c2ca7b3c --- /dev/null +++ b/gnu/packages/patches/casync-renameat2-declaration.patch @@ -0,0 +1,27 @@ +Fix build failure on glibc 2.28 where 'renameat2' would end up being +declared twice: . + +From 625244ca47e8ee1375d2d0092271bfd13b0913ea Mon Sep 17 00:00:00 2001 +From: Daniel Mack +Date: Tue, 13 Nov 2018 17:52:48 +0100 +Subject: [PATCH] meson.build: pass -D_GNU_SOURCE when checking for functions + +As described in #166, -D_GNU_SOURCE needs to be passed to the meson function +availability checker. h/t to @tomeon for providing a link to the solution as +well. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f42ed16..c0f741e 100644 +--- a/meson.build ++++ b/meson.build +@@ -78,6 +78,6 @@ foreach ident : [ + ['copy_file_range', '''#include + #include '''], + ] +- have = cc.has_function(ident[0], prefix : ident[1]) ++ have = cc.has_function(ident[0], args : '-D_GNU_SOURCE', prefix : ident[1]) + conf.set10('HAVE_' + ident[0].to_upper(), have) + endforeach diff --git a/gnu/packages/patches/ceph-detect-rocksdb.patch b/gnu/packages/patches/ceph-detect-rocksdb.patch new file mode 100644 index 0000000000..badad6d1b9 --- /dev/null +++ b/gnu/packages/patches/ceph-detect-rocksdb.patch @@ -0,0 +1,24 @@ +Help the build system find system RocksDB. + +Taken from this upstream commit: +https://github.com/ceph/ceph/commit/2ac26bd0e01fd6c82bd59936cf25c25173f7775a + +diff --git a/cmake/modules/Findrocksdb.cmake b/cmake/modules/Findrocksdb.cmake +index f8369f73fc..5926647348 100644 +--- a/cmake/modules/Findrocksdb.cmake ++++ b/cmake/modules/Findrocksdb.cmake +@@ -15,11 +15,11 @@ find_library(ROCKSDB_LIBRARIES rocksdb) + + if(ROCKSDB_INCLUDE_DIR AND EXISTS "${ROCKSDB_INCLUDE_DIR}/rocksdb/version.h") + foreach(ver "MAJOR" "MINOR" "PATCH") +- file(STRINGS "${ROCKSDB_INCLUDE_DIR}/version.h" ROCKSDB_VER_${ver}_LINE ++ file(STRINGS "${ROCKSDB_INCLUDE_DIR}/rocksdb/version.h" ROCKSDB_VER_${ver}_LINE + REGEX "^#define[ \t]+ROCKSDB_${ver}[ \t]+[0-9]+$") + string(REGEX REPLACE "^#define[ \t]+ROCKSDB_${ver}[ \t]+([0-9]+)$" +- "\\1" ROCKSDB_VERSION_${ver} "${ROCKDB_VER_${ver}_LINE}") +- unset(${ROCKDB_VER_${ver}_LINE}) ++ "\\1" ROCKSDB_VERSION_${ver} "${ROCKSDB_VER_${ver}_LINE}") ++ unset(${ROCKSDB_VER_${ver}_LINE}) + endforeach() + set(ROCKSDB_VERSION_STRING + "${ROCKSDB_VERSION_MAJOR}.${ROCKSDB_VERSION_MINOR}.${ROCKSDB_VERSION_PATCH}") diff --git a/gnu/packages/patches/ceph-rocksdb-compat.patch b/gnu/packages/patches/ceph-rocksdb-compat.patch deleted file mode 100644 index 1a3c6b0b23..0000000000 --- a/gnu/packages/patches/ceph-rocksdb-compat.patch +++ /dev/null @@ -1,63 +0,0 @@ -Fix compatibility with newer versions of RocksDB. - -Adapted from this upstream patch, with some additional changes for 12.2: -https://github.com/ceph/ceph/commit/9d73a7121fdb1ae87cb1aa6f7d9d7a13f329ae68 - -diff --git a/src/kv/RocksDBStore.cc b/src/kv/RocksDBStore.cc -index 8660afe1886d..bc0de79e23cb 100644 ---- a/src/kv/RocksDBStore.cc -+++ b/src/kv/RocksDBStore.cc -@@ -505,7 +505,7 @@ - // considering performance overhead, default is disabled - if (g_conf->rocksdb_perf) { - rocksdb::SetPerfLevel(rocksdb::PerfLevel::kEnableTimeExceptForMutex); -- rocksdb::perf_context.Reset(); -+ rocksdb::get_perf_context()->Reset(); - } - - RocksDBTransactionImpl * _t = -@@ -532,13 +532,13 @@ - utime_t write_wal_time; - utime_t write_pre_and_post_process_time; - write_wal_time.set_from_double( -- static_cast(rocksdb::perf_context.write_wal_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_wal_time)/1000000000); - write_memtable_time.set_from_double( -- static_cast(rocksdb::perf_context.write_memtable_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_memtable_time)/1000000000); - write_delay_time.set_from_double( -- static_cast(rocksdb::perf_context.write_delay_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_delay_time)/1000000000); - write_pre_and_post_process_time.set_from_double( -- static_cast(rocksdb::perf_context.write_pre_and_post_process_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_pre_and_post_process_time)/1000000000); - logger->tinc(l_rocksdb_write_memtable_time, write_memtable_time); - logger->tinc(l_rocksdb_write_delay_time, write_delay_time); - logger->tinc(l_rocksdb_write_wal_time, write_wal_time); -@@ -558,7 +558,7 @@ - // considering performance overhead, default is disabled - if (g_conf->rocksdb_perf) { - rocksdb::SetPerfLevel(rocksdb::PerfLevel::kEnableTimeExceptForMutex); -- rocksdb::perf_context.Reset(); -+ rocksdb::get_perf_context()->Reset(); - } - - RocksDBTransactionImpl * _t = -@@ -586,13 +586,13 @@ - utime_t write_wal_time; - utime_t write_pre_and_post_process_time; - write_wal_time.set_from_double( -- static_cast(rocksdb::perf_context.write_wal_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_wal_time)/1000000000); - write_memtable_time.set_from_double( -- static_cast(rocksdb::perf_context.write_memtable_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_memtable_time)/1000000000); - write_delay_time.set_from_double( -- static_cast(rocksdb::perf_context.write_delay_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_delay_time)/1000000000); - write_pre_and_post_process_time.set_from_double( -- static_cast(rocksdb::perf_context.write_pre_and_post_process_time)/1000000000); -+ static_cast(rocksdb::get_perf_context()->write_pre_and_post_process_time)/1000000000); - logger->tinc(l_rocksdb_write_memtable_time, write_memtable_time); - logger->tinc(l_rocksdb_write_delay_time, write_delay_time); - logger->tinc(l_rocksdb_write_wal_time, write_wal_time); diff --git a/gnu/packages/patches/ceph-skip-unittest_blockdev.patch b/gnu/packages/patches/ceph-skip-unittest_blockdev.patch index 43b9984862..407bd93278 100644 --- a/gnu/packages/patches/ceph-skip-unittest_blockdev.patch +++ b/gnu/packages/patches/ceph-skip-unittest_blockdev.patch @@ -4,25 +4,21 @@ This test tries to walk a sysfs path and hits a null pointer exception. Expected: (dir) != (nullptr), actual: NULL vs 8-byte object <00-00 00-00 00-00 00-00> diff --git a/src/test/common/CMakeLists.txt b/src/test/common/CMakeLists.txt -index 5172663898..ac84085eaa 100644 --- a/src/test/common/CMakeLists.txt +++ b/src/test/common/CMakeLists.txt -@@ -12,15 +12,6 @@ target_link_libraries(get_command_descriptions +@@ -12,15 +12,6 @@ ${CMAKE_DL_LIBS} ) -if(HAVE_BLKID) --# unittest_blkdev --add_executable(unittest_blkdev -- test_blkdev.cc -- ) --add_ceph_unittest(unittest_blkdev ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_blkdev) --target_link_libraries(unittest_blkdev global ${BLKID_LIBRARIES}) --endif(HAVE_BLKID) +- # unittest_blkdev +- add_executable(unittest_blkdev +- test_blkdev.cc +- ) +- add_ceph_unittest(unittest_blkdev) +- target_link_libraries(unittest_blkdev ceph-common ${BLKID_LIBRARIES}) +-endif() - # unittest_bloom_filter add_executable(unittest_bloom_filter test_bloom_filter.cc --- -2.11.1 - diff --git a/gnu/packages/patches/ceph-volume-respect-PATH.patch b/gnu/packages/patches/ceph-volume-respect-PATH.patch new file mode 100644 index 0000000000..08a9a15ddd --- /dev/null +++ b/gnu/packages/patches/ceph-volume-respect-PATH.patch @@ -0,0 +1,22 @@ +Look for required tools in $PATH instead of just a handful locations. + +diff --git a/src/ceph-volume/ceph_volume/util/system.py b/src/ceph-volume/ceph_volume/util/system.py +index b637f023a4..14516e1c65 100644 +--- a/src/ceph-volume/ceph_volume/util/system.py ++++ b/src/ceph-volume/ceph_volume/util/system.py +@@ -33,14 +33,7 @@ def generate_uuid(): + + def which(executable): + """find the location of an executable""" +- locations = ( +- '/usr/local/bin', +- '/bin', +- '/usr/bin', +- '/usr/local/sbin', +- '/usr/sbin', +- '/sbin', +- ) ++ locations = os.getenv('PATH').split(':') + + for location in locations: + executable_path = os.path.join(location, executable) diff --git a/gnu/packages/patches/clamav-config-llvm-libs.patch b/gnu/packages/patches/clamav-config-llvm-libs.patch new file mode 100644 index 0000000000..054264ee2e --- /dev/null +++ b/gnu/packages/patches/clamav-config-llvm-libs.patch @@ -0,0 +1,14 @@ +Our llvm does not contain a single top-level library, so consult llvm-config +for the libraries that need to be linked against. + +--- clamav-0.100.2/libclamav/c++/configure.ac 2018-09-19 14:29:07.000000000 -0500 ++++ clamav-0.100.2/libclamav/c++/configure.ac 2018-10-06 21:45:09.377249158 -0500 +@@ -105,7 +105,7 @@ + + if test "x$llvm_linking" = "xdynamic"; then + AC_SUBST(LLVMCONFIG_LDFLAGS, [`$llvmconfig --ldflags`]) +- AC_SUBST(LLVMCONFIG_LIBS, [-lLLVM-$llvmver]) ++ AC_SUBST(LLVMCONFIG_LIBS, [`$llvmconfig --libs $llvmcomp`]) + AC_SUBST(LLVMCONFIG_LIBFILES, []) + else + if test $llvmver_test -ge 350; then diff --git a/gnu/packages/patches/clamav-system-tomsfastmath.patch b/gnu/packages/patches/clamav-system-tomsfastmath.patch new file mode 100644 index 0000000000..07ab79f3f7 --- /dev/null +++ b/gnu/packages/patches/clamav-system-tomsfastmath.patch @@ -0,0 +1,102 @@ +From 756ff89526b5ffaa7a4f49b1bbecf2ecbd6f85f9 Mon Sep 17 00:00:00 2001 +From: Andreas Cadhalpun +Date: Wed, 11 Mar 2015 20:03:15 +0100 +Subject: add support for system tomsfastmath + +Patch-Name: add-support-for-system-tomsfastmath.patch +--- + configure.ac | 2 ++ + libclamav/Makefile.am | 10 ++++++++-- + libclamav/bignum.h | 6 +++++- + libclamav/xdp.c | 2 +- + m4/reorganization/libs/tomsfastmath.m4 | 12 ++++++++++++ + 5 files changed, 28 insertions(+), 4 deletions(-) + create mode 100644 m4/reorganization/libs/tomsfastmath.m4 + +--- a/configure.ac ++++ b/configure.ac +@@ -82,6 +82,7 @@ m4_include([m4/reorganization/libs/xml.m + m4_include([m4/reorganization/libs/openssl.m4]) + m4_include([m4/reorganization/libs/json.m4]) + m4_include([m4/reorganization/libs/pcre.m4]) ++m4_include([m4/reorganization/libs/tomsfastmath.m4]) + + AM_MAINTAINER_MODE + m4_include([m4/reorganization/libs/libz.m4]) +@@ -285,6 +286,7 @@ else + fi + CL_MSG_STATUS([yara ],[$enable_yara],[$enable_yara]) + CL_MSG_STATUS([fts ],[yes],[$lfs_fts_msg]) ++CL_MSG_STATUS([tomsfastmath],[yes],[$tomsfastmath_msg]) + + + # Yep, downgrading the compiler avoids the bug too: +--- a/libclamav/Makefile.am ++++ b/libclamav/Makefile.am +@@ -496,8 +496,10 @@ libclamav_la_SOURCES += yara_arena.c \ + yara_clam.h + endif + +-libclamav_la_SOURCES += bignum.h\ +- bignum_fast.h\ ++libclamav_la_SOURCES += bignum.h ++ ++if !SYSTEM_TOMSFASTMATH ++libclamav_la_SOURCES += bignum_fast.h\ + tomsfastmath/addsub/fp_add.c\ + tomsfastmath/addsub/fp_add_d.c\ + tomsfastmath/addsub/fp_addmod.c\ +@@ -579,6 +581,10 @@ libclamav_la_SOURCES += bignum.h\ + tomsfastmath/sqr/fp_sqr_comba_generic.c\ + tomsfastmath/sqr/fp_sqr_comba_small_set.c\ + tomsfastmath/sqr/fp_sqrmod.c ++else ++libclamav_la_CFLAGS += $(TOMSFASTMATH_CFLAGS) ++libclamav_la_LIBADD += $(TOMSFASTMATH_LIBS) ++endif + + .PHONY: version.h.tmp + version.c: version.h +--- a/libclamav/bignum.h ++++ b/libclamav/bignum.h +@@ -1,9 +1,13 @@ + #ifndef BIGNUM_H_ + #define BIGNUM_H_ + ++#if HAVE_SYSTEM_TOMSFASTMATH ++#include ++#else + #define TFM_CHECK +- + #include "bignum_fast.h" ++#endif ++ + typedef fp_int mp_int; + #define mp_cmp fp_cmp + #define mp_toradix_n(a,b,c,d) fp_toradix_n(a,b,c,d) +--- a/libclamav/xdp.c ++++ b/libclamav/xdp.c +@@ -57,7 +57,7 @@ + #include "scanners.h" + #include "conv.h" + #include "xdp.h" +-#include "bignum_fast.h" ++#include "bignum.h" + #include "filetypes.h" + + static char *dump_xdp(cli_ctx *ctx, const char *start, size_t sz); +--- /dev/null ++++ b/m4/reorganization/libs/tomsfastmath.m4 +@@ -0,0 +1,12 @@ ++dnl Check for system tomsfastmath ++PKG_CHECK_MODULES([TOMSFASTMATH], [tomsfastmath], [have_system_tomsfastmath=yes], [have_system_tomsfastmath=no]) ++ ++AM_CONDITIONAL([SYSTEM_TOMSFASTMATH], [test "x$have_system_tomsfastmath" = "xyes"]) ++ ++if test "x$have_system_tomsfastmath" = "xyes"; then ++ AC_DEFINE([HAVE_SYSTEM_TOMSFASTMATH], [1], [link against system-wide tomsfastmath library]) ++ tomsfastmath_msg="External, $TOMSFASTMATH_CFLAGS $TOMSFASTMATH_LIBS" ++else ++ AC_DEFINE([HAVE_SYSTEM_TOMSFASTMATH], [0], [don't link against system-wide tomsfastmath library]) ++ tomsfastmath_msg="Internal" ++fi diff --git a/gnu/packages/patches/crossmap-allow-system-pysam.patch b/gnu/packages/patches/crossmap-allow-system-pysam.patch deleted file mode 100644 index 611c4ff74d..0000000000 --- a/gnu/packages/patches/crossmap-allow-system-pysam.patch +++ /dev/null @@ -1,121 +0,0 @@ -This patch modifies the build process such that the bundled copy of pysam does -not need to be built if CROSSMAP_USE_SYSTEM_PYSAM is set and the pysam module -can be imported. - -Upstream has agreed to apply the patch in the next maintenance release of -crossmap. The patch has already been uploaded to -http://sourceforge.net/projects/crossmap/files/patch/. - -diff --git a/setup.py b/setup.py ---- a/setup.py 2015-02-26 15:28:49.771189185 +0100 -+++ b/setup.py 2015-02-26 15:55:03.440327752 +0100 -@@ -19,6 +19,15 @@ - except: - have_numpy = False - -+try: -+ import pysam -+ if os.environ['CROSSMAP_USE_SYSTEM_PYSAM']: -+ have_pysam = True -+ else: -+ have_pysam = False -+except ImportError: -+ have_pysam = False -+ - if platform.system()=='Windows': - print >> sys.stderr, "Sorry, Windows platform is not supported!" - sys.exit() -@@ -165,49 +174,50 @@ - - - #================= pysam samtools ==================== -- extensions.append(Extension( -- "pysam.csamtools", -- csamtools_sources + [ "lib/pysam/%s" % x for x in ("pysam_util.c", )] +\ -- glob.glob( os.path.join( "lib/samtools", "*.pysam.c" )) +\ -- os_c_files + \ -- glob.glob( os.path.join( "lib/samtools", "*", "*.pysam.c" ) ), -- library_dirs=[], -- include_dirs=[ "lib/samtools", "lib/pysam" ] + include_os, -- libraries=[ "z", ], -- language="c", -- define_macros = [('_FILE_OFFSET_BITS','64'),('_USE_KNETFILE','')], -- )) -- -- extensions.append(Extension( -- "pysam.ctabix", -- tabix_sources + [ "lib/pysam/%s" % x for x in ( "tabix_util.c", )] +\ -- os_c_files + \ -- glob.glob( os.path.join( "lib/tabix", "*.pysam.c" ) ), -- library_dirs=[], -- include_dirs=[ "lib/tabix", "lib/pysam" ] + include_os, -- libraries=[ "z", ], -- language="c", -- define_macros = [('_FILE_OFFSET_BITS','64'), -- ('_USE_KNETFILE','')], -- )) -- -- extensions.append(Extension( -- "pysam.TabProxies", -- tabproxies_sources + os_c_files, -- library_dirs=[], -- include_dirs= include_os, -- libraries=[ "z", ], -- language="c", -- )) -- -- extensions.append(Extension( -- "pysam.cvcf", -- cvcf_sources + os_c_files, -- library_dirs=[], -- include_dirs= ["lib/tabix",] + include_os, -- libraries=[ "z", ], -- language="c", -- )) -+ if not have_pysam: -+ extensions.append(Extension( -+ "pysam.csamtools", -+ csamtools_sources + [ "lib/pysam/%s" % x for x in ("pysam_util.c", )] +\ -+ glob.glob( os.path.join( "lib/samtools", "*.pysam.c" )) +\ -+ os_c_files + \ -+ glob.glob( os.path.join( "lib/samtools", "*", "*.pysam.c" ) ), -+ library_dirs=[], -+ include_dirs=[ "lib/samtools", "lib/pysam" ] + include_os, -+ libraries=[ "z", ], -+ language="c", -+ define_macros = [('_FILE_OFFSET_BITS','64'),('_USE_KNETFILE','')], -+ )) -+ -+ extensions.append(Extension( -+ "pysam.ctabix", -+ tabix_sources + [ "lib/pysam/%s" % x for x in ( "tabix_util.c", )] +\ -+ os_c_files + \ -+ glob.glob( os.path.join( "lib/tabix", "*.pysam.c" ) ), -+ library_dirs=[], -+ include_dirs=[ "lib/tabix", "lib/pysam" ] + include_os, -+ libraries=[ "z", ], -+ language="c", -+ define_macros = [('_FILE_OFFSET_BITS','64'), -+ ('_USE_KNETFILE','')], -+ )) -+ -+ extensions.append(Extension( -+ "pysam.TabProxies", -+ tabproxies_sources + os_c_files, -+ library_dirs=[], -+ include_dirs= include_os, -+ libraries=[ "z", ], -+ language="c", -+ )) -+ -+ extensions.append(Extension( -+ "pysam.cvcf", -+ cvcf_sources + os_c_files, -+ library_dirs=[], -+ include_dirs= ["lib/tabix",] + include_os, -+ libraries=[ "z", ], -+ language="c", -+ )) - - - return extensions diff --git a/gnu/packages/patches/delly-use-system-libraries.patch b/gnu/packages/patches/delly-use-system-libraries.patch deleted file mode 100644 index 3315c2a176..0000000000 --- a/gnu/packages/patches/delly-use-system-libraries.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- a/Makefile 2017-04-09 12:48:15.000000000 +0200 -+++ b/Makefile 2017-06-21 14:26:02.749282787 +0200 -@@ -9,8 +9,8 @@ - - # Flags - CXX=g++ --CXXFLAGS += -isystem ${SEQTK_ROOT} -isystem ${BOOST_ROOT} -pedantic -W -Wall -Wno-unknown-pragmas -D__STDC_LIMIT_MACROS -fno-strict-aliasing --LDFLAGS += -L${SEQTK_ROOT} -L${BOOST_ROOT}/stage/lib -lboost_iostreams -lboost_filesystem -lboost_system -lboost_program_options -lboost_date_time -+CXXFLAGS += -pedantic -W -Wall -Wno-unknown-pragmas -D__STDC_LIMIT_MACROS -fno-strict-aliasing -+LDFLAGS += -lboost_iostreams -lboost_filesystem -lboost_system -lboost_program_options -lboost_date_time - - # Additional flags for release/debug - ifeq (${PARALLEL}, 1) -@@ -23,7 +23,7 @@ - ifeq (${STATIC}, 1) - LDFLAGS += -static -static-libgcc -pthread -lhts -lz - else -- LDFLAGS += -lhts -lz -Wl,-rpath,${SEQTK_ROOT},-rpath,${BOOST_ROOT}/stage/lib -+ LDFLAGS += -lhts -lz - endif - ifeq (${DEBUG}, 1) - CXXFLAGS += -g -O0 -fno-inline -DDEBUG -@@ -41,29 +41,17 @@ - DELLYSOURCES = $(wildcard src/*.h) $(wildcard src/*.cpp) - - # Targets --TARGETS = .htslib .bcftools .boost src/delly src/cov src/dpe -+TARGETS = src/delly src/cov src/dpe - - all: $(TARGETS) - --.htslib: $(HTSLIBSOURCES) -- cd src/htslib && make && make lib-static && cd ../../ && touch .htslib -- --.bcftools: $(HTSLIBSOURCES) -- cd src/bcftools && make && cd ../../ && touch .bcftools -- --.boost: $(BOOSTSOURCES) -- cd src/modular-boost && ./bootstrap.sh --prefix=${PWD}/src/modular-boost --without-icu --with-libraries=iostreams,filesystem,system,program_options,date_time && ./b2 && ./b2 headers && cd ../../ && touch .boost -- --src/delly: .htslib .bcftools .boost $(DELLYSOURCES) -- $(CXX) $(CXXFLAGS) $@.cpp -o $@ $(LDFLAGS) -- --src/cov: .htslib .bcftools .boost $(DELLYSOURCES) -+src/cov: $(DELLYSOURCES) - $(CXX) $(CXXFLAGS) $@.cpp -o $@ $(LDFLAGS) - --src/dpe: .htslib .bcftools .boost $(DELLYSOURCES) -+src/dpe: $(DELLYSOURCES) - $(CXX) $(CXXFLAGS) $@.cpp -o $@ $(LDFLAGS) - - clean: - cd src/htslib && make clean - cd src/modular-boost && ./b2 --clean-all -- rm -f $(TARGETS) $(TARGETS:=.o) .htslib .boost .bcftools -+ rm -f $(TARGETS) $(TARGETS:=.o) diff --git a/gnu/packages/patches/elogind-glibc-2.27.patch b/gnu/packages/patches/elogind-glibc-2.27.patch deleted file mode 100644 index 4ade587b5e..0000000000 --- a/gnu/packages/patches/elogind-glibc-2.27.patch +++ /dev/null @@ -1,22 +0,0 @@ -Look for memfd_create in sys/mman.h instead of linux/memfd.h. -Needed to build with glibc-2.27. - ---- a/configure.ac 1969-12-31 19:00:00.000000000 -0500 -+++ b/configure.ac 2018-03-27 23:54:15.414589005 -0400 -@@ -360,7 +360,7 @@ - # ------------------------------------------------------------------------------ - - AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])]) --AC_CHECK_HEADERS([linux/memfd.h], [], []) -+AC_CHECK_HEADERS([sys/mman.h], [], []) - - AC_CHECK_HEADERS([printf.h], [have_printf_h=yes], [have_printf_h=no]) - AS_IF([test x$have_printf_h = xyes], [ -@@ -395,6 +395,7 @@ - [], [], [[ - #include - #include -+#include - #include - #include - #include diff --git a/gnu/packages/patches/emacs-pdf-tools-poppler.patch b/gnu/packages/patches/emacs-pdf-tools-poppler.patch new file mode 100644 index 0000000000..0477508fa9 --- /dev/null +++ b/gnu/packages/patches/emacs-pdf-tools-poppler.patch @@ -0,0 +1,41 @@ +Fix build issue with recent Poppler: + . + +This combines upstream commits +6cd76dec9aece2a8daa90f17ab77fbf773157a1d..50a5297b82e26cfd52f6c00645ddc1057099d6a7 +for this file. + +diff --git a/server/poppler-hack.cc b/server/poppler-hack.cc +index 0c62f73..427f9df 100644 +--- a/server/poppler-hack.cc ++++ b/server/poppler-hack.cc +@@ -51,7 +51,10 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST; + double y2; + }; + +- char *_xpoppler_goo_string_to_utf8(GooString *s) ++ // This function does not modify its argument s, but for ++ // compatibility reasons (e.g. getLength in GooString.h before 2015) ++ // with older poppler code, it can't be declared as such. ++ char *_xpoppler_goo_string_to_utf8(/* const */ GooString *s) + { + char *result; + +@@ -85,7 +88,7 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST; + // Set the rectangle of an annotation. It was first added in v0.26. + void xpoppler_annot_set_rectangle (PopplerAnnot *a, PopplerRectangle *rectangle) + { +- GooString *state = a->annot->getAppearState (); ++ GooString *state = (GooString*) a->annot->getAppearState (); + char *ustate = _xpoppler_goo_string_to_utf8 (state); + + a->annot->setRect (rectangle->x1, rectangle->y1, +@@ -105,7 +108,7 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST; + g_return_val_if_fail (POPPLER_IS_ANNOT_MARKUP (poppler_annot), NULL); + + annot = static_cast(POPPLER_ANNOT (poppler_annot)->annot); +- text = annot->getDate (); ++ text = (GooString*) annot->getDate (); + + return text ? _xpoppler_goo_string_to_utf8 (text) : NULL; + } diff --git a/gnu/packages/patches/emacs-realgud-fix-configure-ac.patch b/gnu/packages/patches/emacs-realgud-fix-configure-ac.patch new file mode 100644 index 0000000000..8165857c87 --- /dev/null +++ b/gnu/packages/patches/emacs-realgud-fix-configure-ac.patch @@ -0,0 +1,27 @@ +From a293690f29407ac54a218d6d20c2142e1a0319d1 Mon Sep 17 00:00:00 2001 +From: Maxim Cournoyer +Date: Wed, 31 Oct 2018 00:08:34 -0400 +Subject: [PATCH] configure.ac: Fix NO_CHECK_EMACS_PACKAGES elisp. + +Remove the extraneous trailing parenthesis. +--- + configure.ac | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index de0d932..69bcea7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -25,8 +25,7 @@ AC_MSG_NOTICE("Checking prerequiste packages") + $EMACS -batch -q --no-site-file -eval \ + '(dolist (package + (quote (cl-lib loc-changes load-relative test-simple))) +- (require package)) +- )' ++ (require package))' + fi + if test $? -ne 0 ; then + AC_MSG_ERROR([Can't continue until above error is corrected.]) +-- +2.19.0 + diff --git a/gnu/packages/patches/gcc-libsanitizer-fix.patch b/gnu/packages/patches/gcc-libsanitizer-fix.patch deleted file mode 100644 index 67aa44bed4..0000000000 --- a/gnu/packages/patches/gcc-libsanitizer-fix.patch +++ /dev/null @@ -1,113 +0,0 @@ -https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=8937b94d1a643fd9760714642296d034a45254a8 -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 - -This patch can be removed when gcc-6.5.0 is released - -From 8937b94d1a643fd9760714642296d034a45254a8 Mon Sep 17 00:00:00 2001 -From: doko -Date: Thu, 7 Sep 2017 07:15:24 +0000 -Subject: [PATCH] 2017-09-07 Matthias Klose - - Backported from mainline - 2017-07-14 Jakub Jelinek - - PR sanitizer/81066 - * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969. - * sanitizer_common/sanitizer_linux.cc: Likewise. - * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise. - * tsan/tsan_platform_linux.cc: Likewise. - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@251828 138bc75d-0d04-0410-961f-82ee72b054a4 ---- - libsanitizer/ChangeLog | 11 +++++++++++ - libsanitizer/sanitizer_common/sanitizer_linux.cc | 3 +-- - libsanitizer/sanitizer_common/sanitizer_linux.h | 4 +--- - .../sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 2 +- - libsanitizer/tsan/tsan_platform_linux.cc | 2 +- - 5 files changed, 15 insertions(+), 7 deletions(-) - -diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog -index 252cd09..d988b28 100644 ---- a/libsanitizer/ChangeLog -+++ b/libsanitizer/ChangeLog -@@ -1,3 +1,14 @@ -+2017-09-07 Matthias Klose -+ -+ Backported from mainline -+ 2017-07-14 Jakub Jelinek -+ -+ PR sanitizer/81066 -+ * sanitizer_common/sanitizer_linux.h: Cherry-pick upstream r307969. -+ * sanitizer_common/sanitizer_linux.cc: Likewise. -+ * sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: Likewise. -+ * tsan/tsan_platform_linux.cc: Likewise. -+ - 2017-07-04 Release Manager - - * GCC 6.4.0 released. -diff --git a/libsanitizer/sanitizer_common/sanitizer_linux.cc b/libsanitizer/sanitizer_common/sanitizer_linux.cc -index 2cefa20..223d9c6 100644 ---- a/libsanitizer/sanitizer_common/sanitizer_linux.cc -+++ b/libsanitizer/sanitizer_common/sanitizer_linux.cc -@@ -546,8 +546,7 @@ uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5) { - } - #endif - --uptr internal_sigaltstack(const struct sigaltstack *ss, -- struct sigaltstack *oss) { -+uptr internal_sigaltstack(const void *ss, void *oss) { - return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss); - } - -diff --git a/libsanitizer/sanitizer_common/sanitizer_linux.h b/libsanitizer/sanitizer_common/sanitizer_linux.h -index 4497702..1594058 100644 ---- a/libsanitizer/sanitizer_common/sanitizer_linux.h -+++ b/libsanitizer/sanitizer_common/sanitizer_linux.h -@@ -19,7 +19,6 @@ - #include "sanitizer_platform_limits_posix.h" - - struct link_map; // Opaque type returned by dlopen(). --struct sigaltstack; - - namespace __sanitizer { - // Dirent structure for getdents(). Note that this structure is different from -@@ -28,8 +27,7 @@ struct linux_dirent; - - // Syscall wrappers. - uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count); --uptr internal_sigaltstack(const struct sigaltstack* ss, -- struct sigaltstack* oss); -+uptr internal_sigaltstack(const void* ss, void* oss); - uptr internal_sigprocmask(int how, __sanitizer_sigset_t *set, - __sanitizer_sigset_t *oldset); - void internal_sigfillset(__sanitizer_sigset_t *set); -diff --git a/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc b/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc -index c919e4f..014162af 100644 ---- a/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc -+++ b/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc -@@ -267,7 +267,7 @@ static int TracerThread(void* argument) { - - // Alternate stack for signal handling. - InternalScopedBuffer handler_stack_memory(kHandlerStackSize); -- struct sigaltstack handler_stack; -+ stack_t handler_stack; - internal_memset(&handler_stack, 0, sizeof(handler_stack)); - handler_stack.ss_sp = handler_stack_memory.data(); - handler_stack.ss_size = kHandlerStackSize; -diff --git a/libsanitizer/tsan/tsan_platform_linux.cc b/libsanitizer/tsan/tsan_platform_linux.cc -index 09cec5f..908f4fe 100644 ---- a/libsanitizer/tsan/tsan_platform_linux.cc -+++ b/libsanitizer/tsan/tsan_platform_linux.cc -@@ -291,7 +291,7 @@ bool IsGlobalVar(uptr addr) { - int ExtractResolvFDs(void *state, int *fds, int nfd) { - #if SANITIZER_LINUX - int cnt = 0; -- __res_state *statp = (__res_state*)state; -+ struct __res_state *statp = (struct __res_state*)state; - for (int i = 0; i < MAXNS && cnt < nfd; i++) { - if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1) - fds[cnt++] = statp->_u._ext.nssocks[i]; --- -2.9.3 - diff --git a/gnu/packages/patches/gemma-intel-compat.patch b/gnu/packages/patches/gemma-intel-compat.patch deleted file mode 100644 index f12ec56d9b..0000000000 --- a/gnu/packages/patches/gemma-intel-compat.patch +++ /dev/null @@ -1,44 +0,0 @@ -From da1ed24209121f7b0f03f360b1029d7125a38e70 Mon Sep 17 00:00:00 2001 -From: Efraim Flashner -Date: Tue, 4 Jul 2017 12:44:53 +0300 -Subject: [PATCH] Add NO_INTEL_COMPAT flag to Makefile. - -see also: https://github.com/xiangzhou/GEMMA/pull/47 - ---- - Makefile | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/Makefile b/Makefile -index 5bb8748..712b1ad 100644 ---- a/Makefile -+++ b/Makefile -@@ -11,6 +11,7 @@ - SYS = LNX - # Leave blank after "=" to disable; put "= 1" to enable - WITH_LAPACK = 1 -+NO_INTEL_COMPAT = - FORCE_32BIT = - FORCE_DYNAMIC = - DIST_NAME = gemma-0.96 -@@ -64,10 +65,13 @@ endif - HDR += $(SRC_DIR)/lapack.h - endif - --ifdef FORCE_32BIT -- CPPFLAGS += -m32 --else -- CPPFLAGS += -m64 -+ifdef NO_INTEL_COMPAT -+ else -+ ifdef FORCE_32BIT -+ CPPFLAGS += -m32 -+ else -+ CPPFLAGS += -m64 -+ endif - endif - - ifdef FORCE_DYNAMIC --- -2.13.2 - diff --git a/gnu/packages/patches/handbrake-pkg-config-path.patch b/gnu/packages/patches/handbrake-pkg-config-path.patch deleted file mode 100644 index 18f3953eaa..0000000000 --- a/gnu/packages/patches/handbrake-pkg-config-path.patch +++ /dev/null @@ -1,24 +0,0 @@ -Do not clobber PKG_CONFIG_PATH during configure. - ---- HandBrake-0.10.5/gtk/module.rules.orig 2016-02-11 14:14:05.000000000 -0600 -+++ HandBrake-0.10.5/gtk/module.rules 2016-10-29 22:27:50.550960848 -0500 -@@ -15,7 +15,7 @@ - set -e; cd $(GTK.src/); NOCONFIGURE=1 ./autogen.sh - set -e; cd $(GTK.build/); $(call fn.ABSOLUTE,$(GTK.src/))configure \ - $(GTK.CONFIGURE.extra) \ -- PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig \ -+ PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig$(if $(PKG_CONFIG_PATH),:)$(PKG_CONFIG_PATH) \ - CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D ?extra)" \ - LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O ?extra.exe)" \ - --prefix=$(PREFIX) \ ---- Handbrake-0.10.5-0.77d09e9-checkout/make/include/contrib.defs 1969-12-31 18:00:00.000000000 -0600 -+++ Handbrake-0.10.5-0.77d09e9-checkout/make/include/contrib.defs 2016-11-01 13:11:43.826144311 -0500 -@@ -119,7 +119,7 @@ - endif - $(1).CONFIGURE.env.CPPFLAGS = CPPFLAGS="-I$$(call fn.ABSOLUTE,$(CONTRIB.build/))include $$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra *D)" - $(1).CONFIGURE.env.LDFLAGS = LDFLAGS="-L$$(call fn.ABSOLUTE,$(CONTRIB.build/))lib $$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra.exe *D)" -- $(1).CONFIGURE.env.PKG_CONFIG_PATH = PKG_CONFIG_PATH="$$(call fn.ABSOLUTE,$$(CONTRIB.build/))lib/pkgconfig" -+ $(1).CONFIGURE.env.PKG_CONFIG_PATH = PKG_CONFIG_PATH="$$(call fn.ABSOLUTE,$$(CONTRIB.build/))lib/pkgconfig$(if $(PKG_CONFIG_PATH),:)$(PKG_CONFIG_PATH)" - - $(1).CONFIGURE.env.args = !CC !CFLAGS !CXX !CXXFLAGS !CPPFLAGS !LD !LDFLAGS !PKG_CONFIG_PATH !LOCAL_PATH !CROSS - $(1).CONFIGURE.env = $$(call fn.ARGS,$(1).CONFIGURE.env,$$($(1).CONFIGURE.env.args)) diff --git a/gnu/packages/patches/hplip-remove-imageprocessor.patch b/gnu/packages/patches/hplip-remove-imageprocessor.patch new file mode 100644 index 0000000000..cde3ecba2d --- /dev/null +++ b/gnu/packages/patches/hplip-remove-imageprocessor.patch @@ -0,0 +1,232 @@ +This patch is based heavily on the Debian patch. + +https://salsa.debian.org/printing-team/hplip/raw/debian/3.18.10+dfsg0-1/debian/patches/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch + +--- + Makefile.am | 22 +++------------------- + Makefile.in | 33 +++++---------------------------- + prnt/hpcups/HPCupsFilter.cpp | 21 --------------------- + 3 files changed, 8 insertions(+), 68 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index ef6480f..ecada5c 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -166,7 +166,7 @@ if !HPLIP_CLASS_DRIVER + dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py + endif #HPLIP_CLASS_DRIVER + +-dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so ++dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template + dist_noinst_SCRIPTS += dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv + + if !HPLIP_CLASS_DRIVER +@@ -590,11 +590,10 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hp + prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \ + prnt/hpcups/genPCLm.h \ + common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \ +- prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \ +- prnt/hpcups/ImageProcessor.h ++ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp + + hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) +-hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS) ++hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS) + #else + #hpcupsdir = $(cupsfilterdir) + #hpcups_PROGRAMS = hpcups +@@ -679,21 +678,10 @@ printpluginsdir=$(cupsfilterdir) + + + dist_filter_DATA = hpcups hpps dat2drv +-dist_printplugins_DATA = prnt/plugins/hbpl1-arm32.so prnt/plugins/hbpl1-arm64.so prnt/plugins/hbpl1-x86_32.so prnt/plugins/hbpl1-x86_64.so prnt/plugins/lj-arm32.so prnt/plugins/lj-arm64.so prnt/plugins/lj-x86_32.so prnt/plugins/lj-x86_64.so + endif #HPLIP_CLASS_DRIVER + + install-data-hook: + if HPLIP_BUILD +- if [ \( "$(UNAME)" = "x86_64" -a -d "$(libdir)/" \) ]; then \ +- cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \ +- chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \ +- ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \ +- fi; \ +- if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \ +- cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \ +- chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \ +- ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \ +- fi + if !HPLIP_CLASS_DRIVER + # If scanner build, add hpaio entry to sane dll.conf. + if [ "$(scan_build)" = "yes" ]; then \ +@@ -874,10 +862,6 @@ if HPLIP_CLASS_DRIVER + rm -rf $(distdir)/setup.py + rm -rf $(distdir)/systray.py + rm -rf $(distdir)/timedate.py +- rm -rf $(distdir)/prnt/plugins/lj-arm32.so +- rm -rf $(distdir)/prnt/plugins/lj-arm64.so +- rm -rf $(distdir)/prnt/plugins/lj-x86_32.so +- rm -rf $(distdir)/prnt/plugins/lj-x86_64.so + rm -rf $(distdir)/hpijs-drv + rm -rf $(distdir)/prnt/hpcups/ + rm -rf $(distdir)/prnt/ps/ +diff --git a/Makefile.in b/Makefile.in +index 910a268..cd44203 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -103,7 +103,7 @@ DIST_COMMON = $(am__configure_deps) \ + + # ip library + @HPLIP_BUILD_TRUE@am__append_12 = libhpip.la +-@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so ++@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template + @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_14 = dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv + @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@am__append_15 = scan/sane/hpaio.desc \ + @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@ installer/text_install.py \ +@@ -500,8 +500,7 @@ am__hpcups_SOURCES_DIST = prnt/hpcups/HPCupsFilter.cpp \ + prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \ + prnt/hpcups/genPCLm.h common/utils.c common/utils.h \ + prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \ +- prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \ +- prnt/hpcups/ImageProcessor.h ++ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp + @HPCUPS_INSTALL_TRUE@am_hpcups_OBJECTS = \ + @HPCUPS_INSTALL_TRUE@ hpcups-HPCupsFilter.$(OBJEXT) \ + @HPCUPS_INSTALL_TRUE@ hpcups-dbuscomm.$(OBJEXT) \ +@@ -723,8 +722,7 @@ am__dist_locatedriver_DATA_DIST = locatedriver + am__dist_models_DATA_DIST = data/models/models.dat + am__dist_noinst_DATA_DIST = prnt/drv/hpijs.drv.in.template \ + prnt/drv/hpcups.drv.in.template \ +- prnt/hpcups/libImageProcessor-x86_64.so \ +- prnt/hpcups/libImageProcessor-x86_32.so scan/sane/hpaio.desc \ ++ scan/sane/hpaio.desc \ + installer/text_install.py data/localization/hplip_de.ts \ + data/localization/hplip_es.ts data/localization/hplip_fr.ts \ + data/localization/hplip_it.ts data/localization/hplip_pt.ts \ +@@ -1932,11 +1930,6 @@ am__dist_ppd_DATA_DIST = prnt/ps/hp-designjet_z6810ps_42in-ps.ppd.gz \ + ppd/classppd/ps/hp-postscript-inkjet.ppd.gz \ + ppd/classppd/ps/hp-postscript-laserjet-pro.ppd.gz \ + ppd/classppd/ps/hp-postscript-laserjet.ppd.gz +-am__dist_printplugins_DATA_DIST = prnt/plugins/hbpl1-arm32.so \ +- prnt/plugins/hbpl1-arm64.so prnt/plugins/hbpl1-x86_32.so \ +- prnt/plugins/hbpl1-x86_64.so prnt/plugins/lj-arm32.so \ +- prnt/plugins/lj-arm64.so prnt/plugins/lj-x86_32.so \ +- prnt/plugins/lj-x86_64.so + am__dist_prnt_DATA_DIST = prnt/cups.py prnt/__init__.py prnt/ldl.py \ + prnt/pcl.py prnt/colorcal.py + am__dist_rules_DATA_DIST = data/rules/56-hpmud.rules \ +@@ -4665,11 +4658,10 @@ libapdk_la_CFLAGS = $(libapdk_la_CXXFLAGS) -Iprnt/hpijs + @HPCUPS_INSTALL_TRUE@ prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \ + @HPCUPS_INSTALL_TRUE@ prnt/hpcups/genPCLm.h \ + @HPCUPS_INSTALL_TRUE@ common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \ +-@HPCUPS_INSTALL_TRUE@ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \ +-@HPCUPS_INSTALL_TRUE@ prnt/hpcups/ImageProcessor.h ++@HPCUPS_INSTALL_TRUE@ prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp + + @HPCUPS_INSTALL_TRUE@hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) +-@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS) ++@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS) + #else + #hpcupsdir = $(cupsfilterdir) + #hpcups_PROGRAMS = hpcups +@@ -4717,7 +4709,6 @@ ppddir = $(hpppddir) + @HPLIP_CLASS_DRIVER_TRUE@filterdir = $(cupsfilterdir) + @HPLIP_CLASS_DRIVER_TRUE@printpluginsdir = $(cupsfilterdir) + @HPLIP_CLASS_DRIVER_TRUE@dist_filter_DATA = hpcups hpps dat2drv +-@HPLIP_CLASS_DRIVER_TRUE@dist_printplugins_DATA = prnt/plugins/hbpl1-arm32.so prnt/plugins/hbpl1-arm64.so prnt/plugins/hbpl1-x86_32.so prnt/plugins/hbpl1-x86_64.so prnt/plugins/lj-arm32.so prnt/plugins/lj-arm64.so prnt/plugins/lj-x86_32.so prnt/plugins/lj-x86_64.so + all: all-am + + .SUFFIXES: +@@ -9380,16 +9371,6 @@ uninstall-am: uninstall-apparmor_abstractionDATA \ + + + install-data-hook: +-@HPLIP_BUILD_TRUE@ if [ \( "$(UNAME)" = "x86_64" -a -d "$(libdir)/" \) ]; then \ +-@HPLIP_BUILD_TRUE@ cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \ +-@HPLIP_BUILD_TRUE@ chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \ +-@HPLIP_BUILD_TRUE@ ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \ +-@HPLIP_BUILD_TRUE@ fi; \ +-@HPLIP_BUILD_TRUE@ if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \ +-@HPLIP_BUILD_TRUE@ cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \ +-@HPLIP_BUILD_TRUE@ chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \ +-@HPLIP_BUILD_TRUE@ ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \ +-@HPLIP_BUILD_TRUE@ fi + # If scanner build, add hpaio entry to sane dll.conf. + @HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@ if [ "$(scan_build)" = "yes" ]; then \ + @HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@ $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \ +@@ -9556,10 +9537,6 @@ dist-hook: + @HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/setup.py + @HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/systray.py + @HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/timedate.py +-@HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/prnt/plugins/lj-arm32.so +-@HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/prnt/plugins/lj-arm64.so +-@HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/prnt/plugins/lj-x86_32.so +-@HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/prnt/plugins/lj-x86_64.so + @HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/hpijs-drv + @HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/prnt/hpcups/ + @HPLIP_CLASS_DRIVER_TRUE@ rm -rf $(distdir)/prnt/ps/ +diff --git a/prnt/hpcups/HPCupsFilter.cpp b/prnt/hpcups/HPCupsFilter.cpp +index 5b282d8..0bacfaf 100644 +--- a/prnt/hpcups/HPCupsFilter.cpp ++++ b/prnt/hpcups/HPCupsFilter.cpp +@@ -31,7 +31,6 @@ + \*****************************************************************************/ + + #include "HPCupsFilter.h" +-#include "ImageProcessor.h" + + #include + #include +@@ -637,16 +636,10 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster) + + + sprintf(hpPreProcessedRasterFile, "%s/hp_%s_cups_SwapedPagesXXXXXX",CUPS_TMP_DIR, m_JA.user_name); +- image_processor_t* imageProcessor = imageProcessorCreate(); + + while (cupsRasterReadHeader2(cups_raster, &cups_header)) + { + +- IMAGE_PROCESSOR_ERROR result = imageProcessorStartPage(imageProcessor, &cups_header); +- if (result != IPE_SUCCESS){ +- dbglog("DEBUG: imageProcessorStartPage failed result = %d\n", result); +- } +- + current_page_number++; + + if (current_page_number == 1) { +@@ -745,12 +738,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster) + color_raster = rgbRaster; + black_raster = kRaster; + +- result = imageProcessorProcessLine(imageProcessor, m_pPrinterBuffer, cups_header.cupsBytesPerLine); +- if (result != IPE_SUCCESS){ +- dbglog("DEBUG: imageProcessorProcessLine failed result = %d\n", result); +- } +- +- + if ((y == 0) && !is_ljmono) { + //For ljmono, make sure that first line is not a blankRaster line.Otherwise printer + //may not skip blank lines before actual data +@@ -780,12 +767,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster) + } + } // for() loop end + +- result = imageProcessorEndPage(imageProcessor); +- if (result != IPE_SUCCESS){ +- dbglog("DEBUG: imageProcessorEndPage failed result = %d\n", result); +- } +- +- + m_Job.NewPage(); + if (err != NO_ERROR) { + break; +@@ -800,8 +781,6 @@ int HPCupsFilter::processRasterData(cups_raster_t *cups_raster) + rgbRaster = NULL; + } + +- imageProcessorDestroy(imageProcessor); +- + unlink(hpPreProcessedRasterFile); + return ret_status; + } +-- +2.19.1 + diff --git a/gnu/packages/patches/icecat-CVE-2018-12383.patch b/gnu/packages/patches/icecat-CVE-2018-12383.patch deleted file mode 100644 index 17ca0f3773..0000000000 --- a/gnu/packages/patches/icecat-CVE-2018-12383.patch +++ /dev/null @@ -1,103 +0,0 @@ -Based on upstream changeset: - https://hg.mozilla.org/releases/mozilla-esr60/rev/300efdbc9fe1 -but with the git binary patch and related test changes omitted, -and adapted to apply cleanly to GNU IceCat. - -# HG changeset patch -# User David Keeler -# Date 1531860660 25200 -# Node ID 300efdbc9fe1f9165428c7934861033935b5abfa -# Parent 80a4a7ef281374dbb2afda8edac54665b14b9ef8 -Bug 1475775 - Clean up old NSS DB file after upgrade if necessary. r=franziskus, r=mattn, a=RyanVM - -Reviewers: franziskus, mattn - -Bug #: 1475775 - -Differential Revision: https://phabricator.services.mozilla.com/D2202 - -diff --git a/security/manager/ssl/nsNSSComponent.cpp b/security/manager/ssl/nsNSSComponent.cpp ---- a/security/manager/ssl/nsNSSComponent.cpp -+++ b/security/manager/ssl/nsNSSComponent.cpp -@@ -1935,16 +1935,61 @@ AttemptToRenameBothPKCS11ModuleDBVersion - NS_NAMED_LITERAL_CSTRING(sqlModuleDBFilename, "pkcs11.txt"); - nsresult rv = AttemptToRenamePKCS11ModuleDB(profilePath, - legacyModuleDBFilename); - if (NS_FAILED(rv)) { - return rv; - } - return AttemptToRenamePKCS11ModuleDB(profilePath, sqlModuleDBFilename); - } -+ -+// When we changed from the old dbm database format to the newer sqlite -+// implementation, the upgrade process left behind the existing files. Suppose a -+// user had not set a password for the old key3.db (which is about 99% of -+// users). After upgrading, both the old database and the new database are -+// unprotected. If the user then sets a password for the new database, the old -+// one will not be protected. In this scenario, we should probably just remove -+// the old database (it would only be relevant if the user downgraded to a -+// version of IceCat before 58, but we have to trade this off against the -+// user's old private keys being unexpectedly unprotected after setting a -+// password). -+// This was never an issue on Android because we always used the new -+// implementation. -+static void -+MaybeCleanUpOldNSSFiles(const nsACString& profilePath) -+{ -+ UniquePK11SlotInfo slot(PK11_GetInternalKeySlot()); -+ if (!slot) { -+ return; -+ } -+ // Unfortunately we can't now tell the difference between "there already was a -+ // password when the upgrade happened" and "there was not a password but then -+ // the user added one after upgrading". -+ bool hasPassword = PK11_NeedLogin(slot.get()) && -+ !PK11_NeedUserInit(slot.get()); -+ if (!hasPassword) { -+ return; -+ } -+ nsCOMPtr dbFile = do_CreateInstance("@mozilla.org/file/local;1"); -+ if (!dbFile) { -+ return; -+ } -+ nsresult rv = dbFile->InitWithNativePath(profilePath); -+ if (NS_FAILED(rv)) { -+ return; -+ } -+ NS_NAMED_LITERAL_CSTRING(keyDBFilename, "key3.db"); -+ rv = dbFile->AppendNative(keyDBFilename); -+ if (NS_FAILED(rv)) { -+ return; -+ } -+ // Since this isn't a directory, the `recursive` argument to `Remove` is -+ // irrelevant. -+ Unused << dbFile->Remove(false); -+} - #endif // ifndef ANDROID - - // Given a profile directory, attempt to initialize NSS. If nocertdb is true, - // (or if we don't have a profile directory) simply initialize NSS in no DB mode - // and return. Otherwise, first attempt to initialize in read/write mode, and - // then read-only mode if that fails. If both attempts fail, we may be failing - // to initialize an NSS DB collection that has FIPS mode enabled. Attempt to - // ascertain if this is the case, and if so, rename the offending PKCS#11 module -@@ -1966,16 +2011,19 @@ InitializeNSSWithFallbacks(const nsACStr - - // Try read/write mode. If we're in safeMode, we won't load PKCS#11 modules. - #ifndef ANDROID - PRErrorCode savedPRErrorCode1; - #endif // ifndef ANDROID - SECStatus srv = ::mozilla::psm::InitializeNSS(profilePath, false, !safeMode); - if (srv == SECSuccess) { - MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("initialized NSS in r/w mode")); -+#ifndef ANDROID -+ MaybeCleanUpOldNSSFiles(profilePath); -+#endif // ifndef ANDROID - return NS_OK; - } - #ifndef ANDROID - savedPRErrorCode1 = PR_GetError(); - PRErrorCode savedPRErrorCode2; - #endif // ifndef ANDROID - // That failed. Try read-only mode. - srv = ::mozilla::psm::InitializeNSS(profilePath, true, !safeMode); diff --git a/gnu/packages/patches/jq-CVE-2015-8863.patch b/gnu/packages/patches/jq-CVE-2015-8863.patch deleted file mode 100644 index 20b3bb3f06..0000000000 --- a/gnu/packages/patches/jq-CVE-2015-8863.patch +++ /dev/null @@ -1,45 +0,0 @@ -Fix CVE-2015-8863 (Off-by-one error in the tokenadd function in -jv_parse.c in jq allows remote attackers to cause a denial of service -(crash) via a long JSON-encoded number, which triggers a heap-based -buffer overflow): - - - -Copied from upstream code repository: - - - -From 8eb1367ca44e772963e704a700ef72ae2e12babd Mon Sep 17 00:00:00 2001 -From: Nicolas Williams -Date: Sat, 24 Oct 2015 17:24:57 -0500 -Subject: [PATCH] Heap buffer overflow in tokenadd() (fix #105) - -This was an off-by one: the NUL terminator byte was not allocated on -resize. This was triggered by JSON-encoded numbers longer than 256 -bytes. ---- - jv_parse.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/jv_parse.c b/jv_parse.c -index 3102ed4..84245b8 100644 ---- a/jv_parse.c -+++ b/jv_parse.c -@@ -383,7 +383,7 @@ static pfunc stream_token(struct jv_parser* p, char ch) { - - static void tokenadd(struct jv_parser* p, char c) { - assert(p->tokenpos <= p->tokenlen); -- if (p->tokenpos == p->tokenlen) { -+ if (p->tokenpos >= (p->tokenlen - 1)) { - p->tokenlen = p->tokenlen*2 + 256; - p->tokenbuf = jv_mem_realloc(p->tokenbuf, p->tokenlen); - } -@@ -485,7 +485,7 @@ static pfunc check_literal(struct jv_parser* p) { - TRY(value(p, v)); - } else { - // FIXME: better parser -- p->tokenbuf[p->tokenpos] = 0; // FIXME: invalid -+ p->tokenbuf[p->tokenpos] = 0; - char* end = 0; - double d = jvp_strtod(&p->dtoa, p->tokenbuf, &end); - if (end == 0 || *end != 0) diff --git a/gnu/packages/patches/libgit2-oom-test.patch b/gnu/packages/patches/libgit2-oom-test.patch new file mode 100644 index 0000000000..9667d1c0da --- /dev/null +++ b/gnu/packages/patches/libgit2-oom-test.patch @@ -0,0 +1,62 @@ +Fix a test failure on 32-bit platforms as reported +at . + +From 415a8ae9c9b6ac18f0524b6af8e58408b426457d Mon Sep 17 00:00:00 2001 +From: Edward Thomson +Date: Thu, 13 Sep 2018 13:27:07 +0100 +Subject: [PATCH] tests: don't run buf::oom on 32-bit systems + +On a 32-bit Linux systems, the value large enough to make malloc +guarantee a failure is also large enough that valgrind considers it +"fishy". Skip this test on those systems entirely. +--- + tests/buf/oom.c | 14 +++++++++----- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/tests/buf/oom.c b/tests/buf/oom.c +index 2741a8ddf2..ec3bad9979 100644 +--- a/tests/buf/oom.c ++++ b/tests/buf/oom.c +@@ -11,12 +11,8 @@ + */ + #if defined(GIT_ARCH_64) && defined(__linux__) + # define TOOBIG 0x0fffffffffffffff +-#elif defined(__linux__) +-# define TOOBIG 0x0fffffff + #elif defined(GIT_ARCH_64) + # define TOOBIG 0xffffffffffffff00 +-#else +-# define TOOBIG 0xffffff00 + #endif + + /** +@@ -25,13 +21,18 @@ + * will fail. And because the git_buf_grow() wrapper always + * sets mark_oom, the code in git_buf_try_grow() will free + * the internal buffer and set it to git_buf__oom. +- * ++ * + * We initialized the internal buffer to (the static variable) + * git_buf__initbuf. The purpose of this test is to make sure + * that we don't try to free the static buffer. ++ * ++ * Skip this test entirely on 32-bit platforms; a buffer large enough ++ * to guarantee malloc failures is so large that valgrind considers ++ * it likely to be an error. + */ + void test_buf_oom__grow(void) + { ++#ifdef GIT_ARCH_64 + git_buf buf = GIT_BUF_INIT; + + git_buf_clear(&buf); +@@ -40,6 +41,9 @@ void test_buf_oom__grow(void) + cl_assert(git_buf_oom(&buf)); + + git_buf_free(&buf); ++#else ++ cl_skip(); ++#endif + } + + void test_buf_oom__grow_by(void) diff --git a/gnu/packages/patches/liblxqt-include.patch b/gnu/packages/patches/liblxqt-include.patch deleted file mode 100644 index 4e8cf04789..0000000000 --- a/gnu/packages/patches/liblxqt-include.patch +++ /dev/null @@ -1,14 +0,0 @@ -Patch to fix build with Qt 5.5, taken from upstream: - https://github.com/lxde/liblxqt/commit/7303ea207de0771d6f450a31ec4a1ce69202869b - -diff -u -r liblxqt-0.9.0.orig/lxqtnotification.h liblxqt-0.9.0/lxqtnotification.h ---- liblxqt-0.9.0.orig/lxqtnotification.h 2015-07-27 22:49:05.365166482 +0200 -+++ liblxqt-0.9.0/lxqtnotification.h 2015-07-27 22:49:36.897606619 +0200 -@@ -25,6 +25,7 @@ - #ifndef LXQTNOTIFICATION_H - #define LXQTNOTIFICATION_H - -+#include - #include - #include "lxqtglobals.h" - diff --git a/gnu/packages/patches/libopenshot-tests-with-system-libs.patch b/gnu/packages/patches/libopenshot-tests-with-system-libs.patch new file mode 100644 index 0000000000..a18c4b8bba --- /dev/null +++ b/gnu/packages/patches/libopenshot-tests-with-system-libs.patch @@ -0,0 +1,95 @@ +Combination of two patches that fix libopenshot tests when built with +system-provided ffmpeg and jsoncpp. See + + https://github.com/OpenShot/libopenshot/pull/163 + +From 0d7691ab53433e1583f6a66ea96683b0f7af8a57 Mon Sep 17 00:00:00 2001 +From: "FeRD (Frank Dana)" +Date: Mon, 17 Sep 2018 14:04:40 -0400 +Subject: [PATCH] tests/CMakeFiles: Use FFMpeg like src/ + +--- + tests/CMakeLists.txt | 32 +++++++++++++++++++++++++++++++- + 1 file changed, 31 insertions(+), 1 deletion(-) + +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 2c45550..4df8464 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -79,7 +79,37 @@ ENDIF (ImageMagick_FOUND) + FIND_PACKAGE(FFmpeg REQUIRED) + + # Include FFmpeg headers (needed for compile) +-include_directories(${FFMPEG_INCLUDE_DIR}) ++message('AVCODEC_FOUND: ${AVCODEC_FOUND}') ++message('AVCODEC_INCLUDE_DIRS: ${AVCODEC_INCLUDE_DIRS}') ++message('AVCODEC_LIBRARIES: ${AVCODEC_LIBRARIES}') ++ ++IF (AVCODEC_FOUND) ++ include_directories(${AVCODEC_INCLUDE_DIRS}) ++ENDIF (AVCODEC_FOUND) ++IF (AVDEVICE_FOUND) ++ include_directories(${AVDEVICE_INCLUDE_DIRS}) ++ENDIF (AVDEVICE_FOUND) ++IF (AVFORMAT_FOUND) ++ include_directories(${AVFORMAT_INCLUDE_DIRS}) ++ENDIF (AVFORMAT_FOUND) ++IF (AVFILTER_FOUND) ++ include_directories(${AVFILTER_INCLUDE_DIRS}) ++ENDIF (AVFILTER_FOUND) ++IF (AVUTIL_FOUND) ++ include_directories(${AVUTIL_INCLUDE_DIRS}) ++ENDIF (AVUTIL_FOUND) ++IF (POSTPROC_FOUND) ++ include_directories(${POSTPROC_INCLUDE_DIRS}) ++ENDIF (POSTPROC_FOUND) ++IF (SWSCALE_FOUND) ++ include_directories(${SWSCALE_INCLUDE_DIRS}) ++ENDIF (SWSCALE_FOUND) ++IF (SWRESAMPLE_FOUND) ++ include_directories(${SWRESAMPLE_INCLUDE_DIRS}) ++ENDIF (SWRESAMPLE_FOUND) ++IF (AVRESAMPLE_FOUND) ++ include_directories(${AVRESAMPLE_INCLUDE_DIRS}) ++ENDIF (AVRESAMPLE_FOUND) + + ################# LIBOPENSHOT-AUDIO ################### + # Find JUCE-based openshot Audio libraries + + +From e9e85cdfd036587adb86341f7f81619dc69f102c Mon Sep 17 00:00:00 2001 +From: "FeRD (Frank Dana)" +Date: Mon, 17 Sep 2018 19:23:25 -0400 +Subject: [PATCH] Use system jsoncpp in tests, too + +The tests/ build needs to use the same jsoncpp as the src/ build, +or tests in Clip_Tests.cpp can fail. +--- + tests/CMakeLists.txt | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 4df8464..a1a0356 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -180,12 +180,18 @@ endif(OPENMP_FOUND) + # Find ZeroMQ library (used for socket communication & logging) + FIND_PACKAGE(ZMQ REQUIRED) + +-# Include FFmpeg headers (needed for compile) ++# Include ZeroMQ headers (needed for compile) + include_directories(${ZMQ_INCLUDE_DIRS}) + + ################### JSONCPP ##################### + # Include jsoncpp headers (needed for JSON parsing) +-include_directories("../thirdparty/jsoncpp/include") ++if (USE_SYSTEM_JSONCPP) ++ find_package(JsonCpp REQUIRED) ++ include_directories(${JSONCPP_INCLUDE_DIRS}) ++else() ++ message("Using embedded JsonCpp") ++ include_directories("../thirdparty/jsoncpp/include") ++endif(USE_SYSTEM_JSONCPP) + + IF (NOT DISABLE_TESTS) + ############### SET TEST SOURCE FILES ################# diff --git a/gnu/packages/patches/lirc-reproducible-build.patch b/gnu/packages/patches/lirc-reproducible-build.patch new file mode 100644 index 0000000000..20f9344715 --- /dev/null +++ b/gnu/packages/patches/lirc-reproducible-build.patch @@ -0,0 +1,72 @@ +Build Lirc reproducibly. + +https://sourceforge.net/p/lirc/tickets/301/ +https://sourceforge.net/p/lirc/git/merge-requests/33/ +https://sourceforge.net/p/lirc/git/merge-requests/34/ +https://sourceforge.net/p/lirc/git/merge-requests/36/ + +Index: lirc-0.10.1/tools/lirc-lsplugins.cpp +=================================================================== +--- lirc-0.10.1.orig/tools/lirc-lsplugins.cpp ++++ lirc-0.10.1/tools/lirc-lsplugins.cpp +@@ -415,10 +415,9 @@ static void print_header(void) + static void print_yaml_header(void) + { + static const char* const YAML_HEADER = +- "#\n# Generated by lirc-lsplugins --yaml (%s) at %s#\n "; +- const time_t now = time(NULL); ++ "#\n# Generated by lirc-lsplugins --yaml (%s)#\n "; + +- printf(YAML_HEADER, VERSION, ctime(&now)); ++ printf(YAML_HEADER, VERSION); + printf("\ndrivers:\n"); + } + +Index: lirc-0.10.1/python-pkg/lirc/database.py +=================================================================== +--- lirc-0.10.1.orig/python-pkg/lirc/database.py ++++ lirc-0.10.1/python-pkg/lirc/database.py +@@ -156,7 +156,7 @@ class Database(object): + d['device_hint'] = hint + + configs = {} +- for path in glob.glob(configdir + '/*.conf'): ++ for path in sorted(glob.glob(configdir + '/*.conf')): + with open(path) as f: + cf = yaml.load(f.read()) + configs[cf['config']['id']] = cf['config'] +Index: lirc-0.10.1/tools/irdb-get +=================================================================== +--- lirc-0.10.1.orig/tools/irdb-get ++++ lirc-0.10.1/tools/irdb-get +@@ -9,7 +9,6 @@ import fnmatch + import os + import os.path + import sys +-import time + import urllib.error # pylint: disable=no-name-in-module,F0401,E0611 + import urllib.request # pylint: disable=no-name-in-module,F0401,E0611 + +@@ -193,7 +192,7 @@ def do_yaml_config(): + lircmd_by_driver[driver].append("%s/%s" % (tokens[0], tokens[2])) + + print("#") +- print("# Created by 'irdb-get yaml-config' at " + time.ctime()) ++ print("# Created by 'irdb-get yaml-config'") + print("#") + print("\nlircd_by_driver:") + print_yaml_dict(lircd_by_driver) +Index: lirc-0.10.1/tools/lirc-make-devinput +=================================================================== +--- lirc-0.10.1.orig/tools/lirc-make-devinput ++++ lirc-0.10.1/tools/lirc-make-devinput +@@ -61,8 +61,7 @@ if test -n "$lirc_map"; then + fi + + +-echo "# Generated by $(basename $0) on $(uname -r)" +-echo "# Date: $(date)" ++echo "# Generated by $(basename $0)" + cat <, hash_num=0) at assoc.c:102 - 102 for (i = 0; *name; name++) - (gdb) bt - #0 0x00007f8eac263a14 in hash ( - name=0x72642e342e332d73 , hash_num=0) at assoc.c:102 - #1 0x00007f8eac263e6b in assoc_find_slot (assoc=0xaa59e0, - name=0x72642e342e332d73 , install=0x0, slot=0x7ffcddcbf2b8) at assoc.c:219 - #2 0x00007f8eac264124 in mu_assoc_lookup (assoc=0xaa59e0, - name=0x72642e342e332d73 , dataptr=0x7ffcddcbf2e0) at assoc.c:308 - #3 0x00007f8eac29e8ac in mu_ident_deref ( - name=0x72642e342e332d73 ) at ident.c:98 - #4 0x00007f8eac29f8a6 in mu_locus_point_deinit (pt=0xaa5718) at locus.c:48 - #5 0x00007f8eac29fa1b in mu_locus_range_deinit (lr=0xaa5718) at locus.c:99 - #6 0x00007f8eac29f9db in mu_locus_range_copy (dest=0xaa5718, - src=0x622be0 ) at locus.c:89 - #7 0x0000000000408a2a in push_source (name=0xaa74bc "mh_aliases2", fail=1) - at mh_alias_lex.l:170 - -commit b330af9008e4c9168b379867b854f5900a539ad7 -Author: Sergey Poznyakoff -Date: Sat Nov 18 10:15:48 2017 +0200 - - Fix the use of uninitialized memory - - * mh/mh_alias_lex.l (push_source): Initialize locus range prior to copying - to it. - * libmailutils/cfg/parser.y (mu_cfg_tree_create_node): Likewise. - * libmu_sieve/util.c: (mu_sieve_value_create): Likewise. - -diff --git a/libmailutils/cfg/parser.y b/libmailutils/cfg/parser.y -index 4503c7781..3436b8d90 100644 ---- a/libmailutils/cfg/parser.y -+++ b/libmailutils/cfg/parser.y -@@ -1134,10 +1134,9 @@ mu_cfg_tree_create_node (struct mu_cfg_tree *tree, - - np = mu_alloc (size); - np->type = type; -+ mu_locus_range_init (&np->locus); - if (loc) - mu_locus_range_copy (&np->locus, loc); -- else -- memset (&np->locus, 0, sizeof np->locus); - p = (char*) (np + 1); - np->tag = p; - strcpy (p, tag); -diff --git a/libmu_sieve/sieve-lex.l b/libmu_sieve/sieve-lex.l -index fd145bfe1..f14e80194 100644 ---- a/libmu_sieve/sieve-lex.l -+++ b/libmu_sieve/sieve-lex.l -@@ -190,6 +190,7 @@ push_source (const char *name) - { - ctx = mu_sieve_malloc (mu_sieve_machine, sizeof (*ctx)); - ctx->trk = trk; -+ mu_locus_range_init (&ctx->incl_range); - mu_locus_range_copy (&ctx->incl_range, &yylloc); - ctx->i_node = sieve_source_inode; - ctx->input = input_stream; -diff --git a/libmu_sieve/util.c b/libmu_sieve/util.c -index 8d62a60c2..7d71b5509 100644 ---- a/libmu_sieve/util.c -+++ b/libmu_sieve/util.c -@@ -55,6 +55,7 @@ mu_sieve_value_create (mu_sieve_machine_t mach, mu_sieve_data_type type, - val->locus.end.mu_line = locus->end.mu_line; - val->locus.end.mu_col = locus->end.mu_col; - -+ mu_locus_range_init (&val->locus); - mu_locus_range_copy (&val->locus, locus); - switch (type) - { -diff --git a/mh/mh_alias_lex.l b/mh/mh_alias_lex.l -index 371353ed3..b97264b38 100644 ---- a/mh/mh_alias_lex.l -+++ b/mh/mh_alias_lex.l -@@ -167,6 +167,7 @@ push_source (const char *name, int fail) - { - ctx = mu_alloc (sizeof (*ctx)); - ctx->trk = trk; -+ mu_locus_range_init (&ctx->incl_range); - mu_locus_range_copy (&ctx->incl_range, &yylloc); - ctx->exec_p = exec_p; - ctx->i_node = ali_source_inode; diff --git a/gnu/packages/patches/meandmyshadow-define-paths-earlier.patch b/gnu/packages/patches/meandmyshadow-define-paths-earlier.patch new file mode 100644 index 0000000000..505cbd23fe --- /dev/null +++ b/gnu/packages/patches/meandmyshadow-define-paths-earlier.patch @@ -0,0 +1,50 @@ +From: Tobias Geerinckx-Rice +Date: Wed, 31 Oct 2018 02:24:26 +0100 +Subject: [PATCH] gnu: meandmyshadow: Define paths earlier. + +The following patch was taken verbatim from the upstream repository[0] +and will be included in the next release. + +[0]: https://github.com/acmepjz/meandmyshadow/pull/29 +--- +From 4847e6b5755258a1e0534f2d4b91dce2ce3b459e Mon Sep 17 00:00:00 2001 +From: Dmitry Marakasov +Date: Wed, 24 Oct 2018 23:31:19 +0300 +Subject: [PATCH] Define paths earlier in CMakeLists.txt + +At the very least, paths should be defined before Configure_File(), otherwise empty DATAROOTDIR is substituted in config.h +--- + CMakeLists.txt | 13 +++++++------ + 1 file changed, 7 insertions(+), 6 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e79639a..6321d9d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -2,6 +2,13 @@ Project (meandmyshadow) + CMake_Minimum_Required (VERSION 3.1) + Set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") + ++#Path options ++Set (BINDIR "bin" CACHE STRING "Where to install binaries") ++Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location") ++Set (ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.") ++Set (DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.") ++ ++#Options + Option (DEBUG_MODE "Compile the game with debug mode enabled" OFF) + Option (DISABLED_DEBUG_STUFF "Enable this you'll see a lot of annoying script debug messages which will lag the game." OFF) + +@@ -164,12 +171,6 @@ Target_Link_Libraries ( + ${LUA_LIBRARIES} + ) + +-#Path options +-Set (BINDIR "bin" CACHE STRING "Where to install binaries") +-Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE STRING "Sets the root of data directories to a non-default location") +-Set (ICONDIR "${DATAROOTDIR}/icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location.") +-Set (DESKTOPDIR "${DATAROOTDIR}/applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location.") +- + #Install locations + Install (DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${DATAROOTDIR}/meandmyshadow/) + Install (FILES AUTHORS DESTINATION ${DATAROOTDIR}/meandmyshadow/) diff --git a/gnu/packages/patches/mono-mdoc-timestamping.patch b/gnu/packages/patches/mono-mdoc-timestamping.patch new file mode 100644 index 0000000000..d5191a93eb --- /dev/null +++ b/gnu/packages/patches/mono-mdoc-timestamping.patch @@ -0,0 +1,15 @@ +--- mono-4.4.1/mcs/class/monodoc/Monodoc/storage/ZipStorage.cs.orig 2018-11-26 22:16:25.008879747 +0100 ++++ mono-4.4.1/mcs/class/monodoc/Monodoc/storage/ZipStorage.cs 2018-11-26 22:21:53.969770985 +0100 +@@ -74,6 +74,12 @@ + id = GetNewCode (); + + ZipEntry entry = new ZipEntry (id); ++ var SOURCE_DATE_EPOCH_string = Environment.GetEnvironmentVariable("SOURCE_DATE_EPOCH"); ++ if (SOURCE_DATE_EPOCH_string != null) ++ { ++ var SOURCE_DATE_EPOCH = Convert.ToInt64(SOURCE_DATE_EPOCH_string); ++ entry.DateTime = new DateTime(SOURCE_DATE_EPOCH, DateTimeKind.Utc); ++ } + zipOutput.PutNextEntry (entry); + } + diff --git a/gnu/packages/patches/myrepos-CVE-2018-7032.patch b/gnu/packages/patches/myrepos-CVE-2018-7032.patch deleted file mode 100644 index ce9493e5f9..0000000000 --- a/gnu/packages/patches/myrepos-CVE-2018-7032.patch +++ /dev/null @@ -1,69 +0,0 @@ -http://source.myrepos.branchable.com/?p=source.git;a=patch;h=40a3df21c73f1bb1b6915cc6fa503f50814664c8 -This can be removed with the next release. It was modified slightly to apply - -From 40a3df21c73f1bb1b6915cc6fa503f50814664c8 Mon Sep 17 00:00:00 2001 -From: Paul Wise -Date: Sun, 11 Feb 2018 21:57:49 +0800 -Subject: [PATCH] Mitigate vulnerabilities caused by some git remotes being - able to execute code - -Set GIT_PROTOCOL_FROM_USER=0 with git versions newer than 2.12. - -Prevent remote websites from causing cloning of local repositories. - -Manually whitelist known-safe protocols (http, https, git, ssh) -when using git versions older than 2.12. - -Fixes: CVE-2018-7032 -Fixes: https://bugs.debian.org/840014 -Suggestions-by: Jakub Wilk -Reported-by: Jakub Wilk ---- - webcheckout | 22 +++++++++++++++++++++- - 1 file changed, 21 insertions(+), 1 deletion(-) - -diff --git a/webcheckout b/webcheckout -index e98da5c..de497ba 100755 ---- a/webcheckout -+++ b/webcheckout -@@ -71,6 +71,16 @@ use Getopt::Long; - use warnings; - use strict; - -+# Mitigate some git remote types being dangerous -+my $git_unsafe = 1; -+my $git_version = `git --version`; -+$git_version =~ s{^git version }{}; -+my ($major, $minor) = split(/\./, $git_version); -+if (int($major) >= 2 && int($minor) >= 12) { -+ $ENV{GIT_PROTOCOL_FROM_USER} = 0; -+ $git_unsafe = 0; -+} -+ - # What to download. - my $url; - -@@ -89,7 +99,17 @@ my $destdir; - - # how to perform checkouts - my %handlers=( -- git => sub { doit("git", "clone", shift, $destdir) }, -- svn => sub { doit("svn", "checkout", shift, $destdir) }, -- bzr => sub { doit("bzr", "branch", shift, $destdir) }, -+ git => sub { -+ my $git_url = shift; -+ # Reject unsafe URLs with older versions of git -+ # that do not already check the URL safety. -+ if ($git_unsafe && $git_url !~ m{^(?:(?:https?|git|ssh):[^:]|(?:[-_.A-Za-z0-9]+@)?[-_.A-Za-z0-9]+:(?!:|//))}) { -+ print STDERR "potentially unsafe git URL, may fail, touch local files or execute arbitrary code\n"; -+ return 1; -+ } -+ # Reject cloning local directories too, webcheckout is for remote repos -+ doit(qw(git -c protocol.file.allow=user clone --), $git_url, $destdir) -+ }, -+ svn => sub { doit(qw(svn checkout --), shift, $destdir) }, -+ bzr => sub { doit(qw(bzr branch --), shift, $destdir) }, - ); --- -2.11.0 - diff --git a/gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch b/gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch index 2056b42356..fd9a4c9401 100644 --- a/gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch +++ b/gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch @@ -1,16 +1,28 @@ -From 26cac62fe0154cf65c06faaee10805531e9dade8 Mon Sep 17 00:00:00 2001 +From bc3b353cb2f26cf10aa5c5caebddf6d3d5b1e318 Mon Sep 17 00:00:00 2001 From: Julien Lepiller -Date: Wed, 14 Dec 2016 14:14:59 +0100 +Date: Fri, 21 Sep 2018 22:31:29 +0200 Subject: [PATCH] fix camlp4 in another directory --- - Makefile | 11 ++++++----- - configure | 13 ++++++++++++- - myocamlbuild.ml | 2 +- - 3 files changed, 19 insertions(+), 7 deletions(-) + Makefile | 11 ++++++----- + configure | 13 ++++++++++++- + tests/Makefile | 2 +- + tests/camlp4-comments/Makefile | 2 +- + tests/camlp4-exclude-file/Makefile | 2 +- + tests/camlp4-exclude/Makefile | 2 +- + tests/camlp4-instrument-fast/Makefile | 2 +- + tests/camlp4-instrument/Makefile | 2 +- + tests/combine-expr/Makefile | 2 +- + tests/ppx-comments/Makefile | 2 +- + tests/ppx-exclude-file/Makefile | 2 +- + tests/ppx-exclude/Makefile | 2 +- + tests/ppx-instrument-fast/Makefile | 2 +- + tests/ppx-instrument/Makefile | 2 +- + tests/report/Makefile | 2 +- + 15 files changed, 31 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile -index 4a8ce17..d94a6d5 100644 +index b0980ee..6697922 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ PATH_BUILD=$(PATH_BASE)/_build @@ -19,12 +31,12 @@ index 4a8ce17..d94a6d5 100644 PATH_TESTS=$(PATH_BASE)/tests -PATH_INSTALL=$(PATH_OCAML_PREFIX)/lib/ocaml/bisect +PATH_INSTALL=$(PREFIX)/lib/ocaml/bisect - - + + # DEFINITIONS @@ -33,7 +33,8 @@ PATH_INSTALL=$(PATH_OCAML_PREFIX)/lib/ocaml/bisect PROJECT_NAME=bisect - OCAMLBUILD=$(PATH_OCAML_PREFIX)/bin/ocamlbuild + OCAMLBUILD=ocamlbuild OCAMLBUILD_ENV=WARNINGS=$(WARNINGS) PATH_OCAML_PREFIX=$(PATH_OCAML_PREFIX) -OCAMLBUILD_FLAGS=-classic-display -no-links +CAMLP4_INCLUDE=$(shell test -z $(CAMLP4_LIBDIR) || echo "-cflags -I,$(CAMLP4_LIBDIR)") @@ -33,22 +45,22 @@ index 4a8ce17..d94a6d5 100644 MODULES_MLPACK=$(PROJECT_NAME).mlpack MODULES_MLPACK_PP=$(PROJECT_NAME)_pp.mlpack @@ -80,11 +81,11 @@ veryclean: clean - rm -f $(PATH_OCAMLDOC)/*.html $(PATH_OCAMLDOC)/*.css - + rm -f $(PATH_OCAMLDOC)/*.html $(PATH_OCAMLDOC)/*.css + install: FORCE - cp $(PATH_BUILD)/src/report/report.byte $(PATH_OCAML_PREFIX)/bin/bisect-report; \ + cp $(PATH_BUILD)/src/report/report.byte $(PREFIX)/bin/bisect-report; \ - if [ "$(PPX)" = "TRUE" ]; then \ + if [ "$(PPX)" = "TRUE" ]; then \ - cp $(PATH_BUILD)/src/syntax/bisect_ppx.byte $(PATH_OCAML_PREFIX)/bin; \ + cp $(PATH_BUILD)/src/syntax/bisect_ppx.byte $(PREFIX)/bin; \ - fi; \ -- (test -x $(PATH_OCAML_PREFIX)/bin/ocamlopt && cp $(PATH_BUILD)/src/report/report.native $(PATH_OCAML_PREFIX)/bin/bisect-report.opt || true); \ -+ (test -x $(PATH_OCAML_PREFIX)/bin/ocamlopt && cp $(PATH_BUILD)/src/report/report.native $(PREFIX)/bin/bisect-report.opt || true); \ - if [ -x "$(PATH_OCAMLFIND)" ]; then \ - $(PATH_OCAMLFIND) query $(PROJECT_NAME) && $(PATH_OCAMLFIND) remove $(PROJECT_NAME) || true; \ - $(PATH_OCAMLFIND) install $(PROJECT_NAME) META -optional \ + fi; \ +- (which ocamlopt && cp $(PATH_BUILD)/src/report/report.native $(PATH_OCAML_PREFIX)/bin/bisect-report.opt || true); \ ++ (which ocamlopt && cp $(PATH_BUILD)/src/report/report.native $(PREFIX)/bin/bisect-report.opt || true); \ + if [ -x "$(PATH_OCAMLFIND)" ]; then \ + $(PATH_OCAMLFIND) query $(PROJECT_NAME) && $(PATH_OCAMLFIND) remove $(PROJECT_NAME) || true; \ + $(PATH_OCAMLFIND) install $(PROJECT_NAME) META -optional \ diff --git a/configure b/configure -index bb7ebf4..61a3095 100755 +index bb7ebf4..43ef46b 100755 --- a/configure +++ b/configure @@ -21,7 +21,9 @@ @@ -79,47 +91,193 @@ index bb7ebf4..61a3095 100755 ppx='TRUE';; *) - echo "usage: $0 [-ocaml-prefix ] [-ocamlfind ] [-no-native-dynlink] [-devel]"; -+ echo "usage: $0 [-prefix ] [-ocaml-prefix ] [-ocamlfind ] [-no-native-dynlink] [-devel]"; ++ echo "usage: $0 [-prefix ] [-ocaml-prefix ] [-camlp4-prefix ] [-ocamlfind ] [-no-native-dynlink] [-devel]"; exit 1;; esac shift @@ -57,6 +63,9 @@ if [ "$no_camlp4" = "TRUE" -a "$ppx" = "FALSE" ]; then exit 1 fi - + +# prefix default value +test -z $prefix && prefix=$ocaml_prefix + # make options make_quiet=`make -f - < Makefile.config ++echo "PREFIX=$prefix" >> Makefile.config echo "PATH_OCAML_PREFIX=$ocaml_prefix" >> Makefile.config +echo "PATH_CAMLP4_PREFIX=$camlp4_prefix" >> Makefile.config echo "PATH_OCAMLFIND=$ocamlfind" >> Makefile.config echo "NATIVE_DYNLINK=$native_dynlink" >> Makefile.config echo "WARNINGS=$devel" >> Makefile.config - echo "NO_CAMLP4=$no_camlp4" >> Makefile.config - echo "PPX=$ppx" >> Makefile.config - echo "MAKE_QUIET=$make_quiet" >> Makefile.config -+echo "PREFIX=$prefix" >> Makefile.config - echo "" >> Makefile.config - echo 'Makefile.config successfully created' -diff --git a/myocamlbuild.ml b/myocamlbuild.ml -index 8aa25fd..09a7d48 100644 ---- a/myocamlbuild.ml -+++ b/myocamlbuild.ml -@@ -70,7 +70,7 @@ let () = - | After_rules -> - let camlp4of = - try -- let path_bin = Filename.concat (Sys.getenv "PATH_OCAML_PREFIX") "bin" in -+ let path_bin = Filename.concat (Sys.getenv "PATH_CAMLP4_PREFIX") "bin" in - Filename.concat path_bin "camlp4of" - with _ -> "camlp4of" in - flag ["ocaml"; "compile"; "pp_camlp4of"] (S[A"-pp"; A camlp4of]); --- -2.7.4 +diff --git a/tests/Makefile b/tests/Makefile +index 1aba27f..9642323 100644 +--- a/tests/Makefile ++++ b/tests/Makefile +@@ -41,7 +41,7 @@ one: FORCE + else \ + echo "Running tests for '$(NAME)'..." | tee -a _log; \ + (cd $(NAME) && \ +- $(MAKE) PATH_OCAML_BIN=$(PATH_OCAML_PREFIX)/bin \ ++ $(MAKE) PATH_OCAML_BIN=$(PATH_OCAML_PREFIX)/bin PATH_CAMLP4_PREFIX=$(PATH_CAMLP4_PREFIX) \ + COMPILER=ocamlc EXECUTABLE=bytecode RUN=./ LIB_EXT=cma EXE_SUFFIX='' \ + REPORT=../../_build/src/report/report.byte && \ + cd ..) || echo '*** error' >> _log; \ +diff --git a/tests/camlp4-comments/Makefile b/tests/camlp4-comments/Makefile +index 33fca72..a918118 100644 +--- a/tests/camlp4-comments/Makefile ++++ b/tests/camlp4-comments/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cmp + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -o $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -o $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cmp +diff --git a/tests/camlp4-exclude-file/Makefile b/tests/camlp4-exclude-file/Makefile +index ab13983..e2520fa 100644 +--- a/tests/camlp4-exclude-file/Makefile ++++ b/tests/camlp4-exclude-file/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cmp + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -exclude-file exclusions -o $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -exclude-file exclusions -o $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cmp +diff --git a/tests/camlp4-exclude/Makefile b/tests/camlp4-exclude/Makefile +index 18aada4..d71a7bc 100644 +--- a/tests/camlp4-exclude/Makefile ++++ b/tests/camlp4-exclude/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cmp + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -exclude 'f.*' -o $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -exclude 'f.*' -o $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cmp +diff --git a/tests/camlp4-instrument-fast/Makefile b/tests/camlp4-instrument-fast/Makefile +index f60767f..8506e38 100644 +--- a/tests/camlp4-instrument-fast/Makefile ++++ b/tests/camlp4-instrument-fast/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cmp + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo -mode fast $$file -o $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo -mode fast $$file -o $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cmp +diff --git a/tests/camlp4-instrument/Makefile b/tests/camlp4-instrument/Makefile +index 33fca72..a918118 100644 +--- a/tests/camlp4-instrument/Makefile ++++ b/tests/camlp4-instrument/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cmp + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -o $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/camlp4o$(EXE_SUFFIX) str.cma ../../_build/bisect_pp.cmo $$file -o $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cmp +diff --git a/tests/combine-expr/Makefile b/tests/combine-expr/Makefile +index 46ae9eb..e8e2af2 100644 +--- a/tests/combine-expr/Makefile ++++ b/tests/combine-expr/Makefile +@@ -1,4 +1,4 @@ +-COMPILE_FLAGS=-I ../../_build -pp '$(PATH_OCAML_BIN)/camlp4o str.cma -I ../../_build bisect_pp.cmo' bisect.$(LIB_EXT) $(FLAGS) ++COMPILE_FLAGS=-I ../../_build -pp '$(PATH_CAMLP4_PREFIX)/bin/camlp4o str.cma -I ../../_build bisect_pp.cmo' bisect.$(LIB_EXT) $(FLAGS) + + default: clean compile run report + +diff --git a/tests/ppx-comments/Makefile b/tests/ppx-comments/Makefile +index f8c645a..667526f 100644 +--- a/tests/ppx-comments/Makefile ++++ b/tests/ppx-comments/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cm* + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte' -dsource $$file 2> $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte' -dsource $$file 2> $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cm* +diff --git a/tests/ppx-exclude-file/Makefile b/tests/ppx-exclude-file/Makefile +index a575a77..0dd1a20 100644 +--- a/tests/ppx-exclude-file/Makefile ++++ b/tests/ppx-exclude-file/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cm* + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte -exclude-file exclusions' -dsource $$file 2> $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte -exclude-file exclusions' -dsource $$file 2> $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cm* +diff --git a/tests/ppx-exclude/Makefile b/tests/ppx-exclude/Makefile +index a517af4..f502a42 100644 +--- a/tests/ppx-exclude/Makefile ++++ b/tests/ppx-exclude/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cm* + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/ocamlc -c -I ../../_build -ppx "../../_build/src/syntax/bisect_ppx.byte -exclude 'f.*'" -dsource $$file 2> $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/ocamlc -c -I ../../_build -ppx "../../_build/src/syntax/bisect_ppx.byte -exclude 'f.*'" -dsource $$file 2> $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cm* +diff --git a/tests/ppx-instrument-fast/Makefile b/tests/ppx-instrument-fast/Makefile +index da78bb6..1195988 100644 +--- a/tests/ppx-instrument-fast/Makefile ++++ b/tests/ppx-instrument-fast/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cm* + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte -mode fast' -dsource $$file 2> $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte -mode fast' -dsource $$file 2> $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cm* +diff --git a/tests/ppx-instrument/Makefile b/tests/ppx-instrument/Makefile +index f8c645a..667526f 100644 +--- a/tests/ppx-instrument/Makefile ++++ b/tests/ppx-instrument/Makefile +@@ -2,7 +2,7 @@ default: + @rm -fr *.result *.cm* + @for file in *.ml; do \ + echo " testing '$$file' ..."; \ +- $(PATH_OCAML_BIN)/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte' -dsource $$file 2> $$file.result; \ ++ $(PATH_CAMLP4_PREFIX)/bin/ocamlc -c -I ../../_build -ppx '../../_build/src/syntax/bisect_ppx.byte' -dsource $$file 2> $$file.result; \ + diff -q $$file.reference $$file.result || exit 1; \ + done + @rm -fr *.result *.cm* +diff --git a/tests/report/Makefile b/tests/report/Makefile +index a7ffe44..a968bf9 100644 +--- a/tests/report/Makefile ++++ b/tests/report/Makefile +@@ -1,4 +1,4 @@ +-COMPILE_FLAGS=-I ../../_build -pp '$(PATH_OCAML_BIN)/camlp4o str.cma -I ../../_build bisect_pp.cmo' bisect.$(LIB_EXT) $(FLAGS) ++COMPILE_FLAGS=-I ../../_build -pp '$(PATH_CAMLP4_PREFIX)/bin/camlp4o str.cma -I ../../_build bisect_pp.cmo' bisect.$(LIB_EXT) $(FLAGS) + XMLLINT=$(shell which xmllint) + + default: clean compile run report +-- +2.18.0 diff --git a/gnu/packages/patches/openjdk-10-idlj-reproducibility.patch b/gnu/packages/patches/openjdk-10-idlj-reproducibility.patch new file mode 100644 index 0000000000..b29a06f272 --- /dev/null +++ b/gnu/packages/patches/openjdk-10-idlj-reproducibility.patch @@ -0,0 +1,36 @@ +From a0a0c6a43b88d946f2b5484892cf0209bd7c0e68 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= +Date: Sat, 8 Dec 2018 21:25:31 +0100 +Subject: [PATCH] Make idlj respect SOURCE_DATE_EPOCH. + +--- + .../sun/tools/corba/se/idl/toJavaPortable/Util.java | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +diff --git a/src/java.corba/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Util.java b/src/java.corba/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Util.java +index 7397619f2..583d6b8e4 100644 +--- a/src/java.corba/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Util.java ++++ b/src/java.corba/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Util.java +@@ -1146,7 +1146,18 @@ public class Util extends com.sun.tools.corba.se.idl.Util + else + formatter.setTimeZone (java.util.TimeZone.getDefault ()); + +- stream.println ("* " + formatter.format (new Date ())); ++ try { ++ String epoch = System.getenv("SOURCE_DATE_EPOCH"); ++ if(epoch != null) { ++ long unixTime = Long.parseLong(epoch); ++ stream.println ("* " + formatter.format (new Date (unixTime*1000L))); ++ } else { ++ stream.println ("* " + formatter.format (new Date ())); ++ } ++ } catch (Exception e) { ++ //in case of error fall back to default ++ stream.println ("* " + formatter.format (new Date ())); ++ } + + // + /////////////// +-- +2.19.2 + diff --git a/gnu/packages/patches/patchutils-test-perms.patch b/gnu/packages/patches/patchutils-test-perms.patch new file mode 100644 index 0000000000..c7652b9af2 --- /dev/null +++ b/gnu/packages/patches/patchutils-test-perms.patch @@ -0,0 +1,14 @@ +Need to mark one of the tests as PHONY to get permissions set correctly on +built scripts. + +--- a/Makefile.in 2011-02-10 09:44:43.000000000 -0600 ++++ b/Makefile.in 2018-11-29 21:52:05.000000000 -0600 +@@ -1106,5 +1108,6 @@ + rm -f $(DESTDIR)$(bindir)/"`echo lsdiff|sed '$(transform)'`" + rm -f $(DESTDIR)$(bindir)/"`echo grepdiff|sed '$(transform)'`" + ++.PHONY: tests/newline1/run-test + tests/newline1/run-test: src/combinediff$(EXEEXT) src/flipdiff$(EXEEXT) \ + src/lsdiff$(EXEEXT) src/grepdiff$(EXEEXT) \ + scripts/splitdiff + diff --git a/gnu/packages/patches/patchutils-xfail-gendiff-tests.patch b/gnu/packages/patches/patchutils-xfail-gendiff-tests.patch deleted file mode 100644 index b2e77d22f2..0000000000 --- a/gnu/packages/patches/patchutils-xfail-gendiff-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -The gendiff1 and gendiff2 tests need the gendiff script that's distributed -with the rpm package management tool. Without that script, these tests are -expected to fail. - -Need to mark one of the tests as PHONY to get permissions set correctly on -built scripts. - ---- a/Makefile.in 2011-02-10 09:44:43.000000000 -0600 -+++ b/Makefile.in 2014-03-06 17:27:55.610048953 -0600 -@@ -378,6 +378,8 @@ - # These ones don't work yet. - # Feel free to send me patches. :-) - XFAIL_TESTS = \ -+ tests/gendiff1/run-test \ -+ tests/gendiff2/run-test \ - tests/delhunk5/run-test \ - tests/delhunk6/run-test - -@@ -1106,6 +1108,7 @@ - rm -f $(DESTDIR)$(bindir)/"`echo lsdiff|sed '$(transform)'`" - rm -f $(DESTDIR)$(bindir)/"`echo grepdiff|sed '$(transform)'`" - -+.PHONY: tests/combine1/run-test - tests/combine1/run-test: src/combinediff$(EXEEXT) src/flipdiff$(EXEEXT) \ - src/lsdiff$(EXEEXT) src/grepdiff$(EXEEXT) - for script in $(bin_SCRIPTS); do \ diff --git a/gnu/packages/patches/pinentry-efl.patch b/gnu/packages/patches/pinentry-efl.patch new file mode 100644 index 0000000000..5ba79e28df --- /dev/null +++ b/gnu/packages/patches/pinentry-efl.patch @@ -0,0 +1,798 @@ +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=commit;h=948105b7a34ec9a9e5479d376b7c86bafee50a01 +This patch can be removed with the next release of pinentry. + +From 948105b7a34ec9a9e5479d376b7c86bafee50a01 Mon Sep 17 00:00:00 2001 +From: "William L. Thomson Jr" +Date: Tue, 29 May 2018 22:50:47 +0100 +Subject: [PATCH] efl: Add an EFL-based pinentry. + +* NEWS: Update. +* Makefile.am: Add new efl subdirectory. +* configure.ac: Add --enable-pinentry-efl option. +* efl/Makefile.am: New file. +* efl/pinentry-efl.c: New file. + +Signed-off-by: Damien Goutte-Gattat +--- + Makefile.am | 8 +- + configure.ac | 44 +++- + efl/Makefile.am | 38 ++++ + efl/pinentry-efl.c | 623 +++++++++++++++++++++++++++++++++++++++++++++++++++++ + 6 files changed, 716 insertions(+), 2 deletions(-) + create mode 100644 efl/Makefile.am + create mode 100644 efl/pinentry-efl.c + +diff --git a/Makefile.am b/Makefile.am +index 8c8b8e5..b8fd0e1 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -82,10 +82,16 @@ else + pinentry_fltk = + endif + ++if BUILD_PINENTRY_EFL ++pinentry_efl = efl ++else ++pinentry_efl = ++endif ++ + SUBDIRS = m4 secmem pinentry ${pinentry_curses} ${pinentry_tty} \ + ${pinentry_emacs} ${pinentry_gtk_2} ${pinentry_gnome_3} \ + ${pinentry_qt} ${pinentry_tqt} ${pinentry_w32} \ +- ${pinentry_fltk} doc ++ ${pinentry_fltk} ${pinentry_efl} doc + + + install-exec-local: +diff --git a/configure.ac b/configure.ac +index ff6c2e0..e305e44 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -419,6 +419,42 @@ fi + + + dnl ++dnl Check for EFL pinentry programs. ++dnl ++AC_ARG_ENABLE(pinentry-efl, ++ AC_HELP_STRING([--enable-pinentry-efl], [build EFL pinentry]), ++ pinentry_efl=$enableval, pinentry_efl=maybe) ++ ++dnl check for pkg-config ++if test "$pinentry_efl" != "no"; then ++ AC_PATH_PROG(PKG_CONFIG, pkg-config, no) ++ if test x"${PKG_CONFIG}" = xno ; then ++ pinentry_efl=no ++ fi ++fi ++ ++if test "$pinentry_efl" != "no"; then ++ AC_MSG_CHECKING([for efl]) ++ "${PKG_CONFIG}" --exists 'elementary >= 1.18' ++ if test $? -ne 0 ; then ++ AC_MSG_RESULT([no]) ++ AC_MSG_WARN([efl >= 1.18 is required for efl pinentry]) ++ pinentry_efl=no ++ else ++ AC_MSG_RESULT([yes]) ++ EFL_CFLAGS=`"${PKG_CONFIG}" --cflags ecore-x elementary` ++ EFL_LIBS=`"${PKG_CONFIG}" --libs ecore-x elementary` ++ AC_SUBST(EFL_CFLAGS) ++ AC_SUBST(EFL_LIBS) ++ if test "$pinentry_efl" != "no" ++ then ++ pinentry_efl=yes ++ fi ++ fi ++fi ++AM_CONDITIONAL(BUILD_PINENTRY_EFL, test "$pinentry_efl" = "yes") ++ ++dnl + dnl Check for GTK+-2 / GNOME3 pinentry programs. + dnl + AC_ARG_ENABLE(pinentry-gtk2, +@@ -645,7 +681,11 @@ else + if test "$pinentry_tqt" = "yes"; then + PINENTRY_DEFAULT=pinentry-tqt + else +- AC_MSG_ERROR([[No pinentry enabled.]]) ++ if test "$pinentry_efl" = "yes"; then ++ PINENTRY_DEFAULT=pinentry-efl ++ else ++ AC_MSG_ERROR([[No pinentry enabled.]]) ++ fi + fi + fi + fi +@@ -721,6 +761,7 @@ secmem/Makefile + pinentry/Makefile + curses/Makefile + tty/Makefile ++efl/Makefile + emacs/Makefile + gtk+-2/Makefile + gnome3/Makefile +@@ -744,6 +785,7 @@ AC_MSG_NOTICE([ + Curses Pinentry ..: $pinentry_curses + TTY Pinentry .....: $pinentry_tty + Emacs Pinentry ...: $pinentry_emacs ++ EFL Pinentry .....: $pinentry_efl + GTK+-2 Pinentry ..: $pinentry_gtk_2 + GNOME 3 Pinentry .: $pinentry_gnome_3 + Qt Pinentry ......: $pinentry_qt $pinentry_qt_lib_version +diff --git a/efl/Makefile.am b/efl/Makefile.am +new file mode 100644 +index 0000000..b986a04 +--- /dev/null ++++ b/efl/Makefile.am +@@ -0,0 +1,38 @@ ++# Makefile.am - PIN entry EFL frontend. ++# Copyright (C) 2017 Obsidian-Studios, Inc. ++# Author William L. Thomson Jr. ++# ++# This file is part of PINENTRY. ++# ++# PINENTRY is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2 of the License, or ++# (at your option) any later version. ++# ++# PINENTRY is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA ++ ++## Process this file with automake to produce Makefile.in ++ ++bin_PROGRAMS = pinentry-efl ++ ++if FALLBACK_CURSES ++ncurses_include = $(NCURSES_INCLUDE) ++libcurses = ../pinentry/libpinentry-curses.a $(LIBCURSES) $(LIBICONV) ++else ++ncurses_include = ++libcurses = ++endif ++ ++AM_CPPFLAGS = $(COMMON_CFLAGS) $(EFL_CFLAGS) $(ncurses_include) \ ++ -I$(top_srcdir)/secmem -I$(top_srcdir)/pinentry ++LDADD = ../pinentry/libpinentry.a ../secmem/libsecmem.a \ ++ $(COMMON_LIBS) $(LIBCAP) $(EFL_LIBS) $(libcurses) ++ ++pinentry_efl_SOURCES = pinentry-efl.c +diff --git a/efl/pinentry-efl.c b/efl/pinentry-efl.c +new file mode 100644 +index 0000000..ca99693 +--- /dev/null ++++ b/efl/pinentry-efl.c +@@ -0,0 +1,623 @@ ++/* pinentry-efl.c ++ Copyright (C) 2017 Obsidian-Studios, Inc. ++ Author William L. Thomson Jr. ++ ++ Based on pinentry-gtk2.c ++ Copyright (C) 1999 Robert Bihlmeyer ++ Copyright (C) 2001, 2002, 2007, 2015 g10 Code GmbH ++ Copyright (C) 2004 by Albrecht Dreß ++ ++ pinentry-efl is a pinentry application for the EFL widget set. ++ It tries to follow the Gnome Human Interface Guide as close as ++ possible. ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++ */ ++ ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++#include ++#include ++#include ++#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wstrict-prototypes" ++#endif ++#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) ++#pragma GCC diagnostic pop ++#endif ++ ++#ifdef HAVE_GETOPT_H ++#include ++#else ++#include "getopt.h" ++#endif /* HAVE_GETOPT_H */ ++ ++#include "pinentry.h" ++ ++#ifdef FALLBACK_CURSES ++#include "pinentry-curses.h" ++#endif ++ ++#define PGMNAME "pinentry-efl" ++ ++#ifndef VERSION ++#define VERSION ++#endif ++ ++#define ENTRY_HIDE "Hide entry" ++#define ENTRY_SHOW "Show entry" ++ ++typedef enum { CONFIRM_CANCEL, CONFIRM_OK, CONFIRM_NOTOK } confirm_value_t; ++ ++static const int WIDTH = 480; ++static const int BUTTON_HEIGHT = 27; ++static const int BUTTON_WIDTH = 70; ++static const int BUTTON_ICON_SIZE = 13; ++static const int PADDING = 5; ++ ++static Eina_Bool got_input; ++static Ecore_Timer *timer; ++static Evas_Object *check_label; ++static Evas_Object *error_label; ++static Evas_Object *entry; ++static Evas_Object *repeat_entry; ++static Evas_Object *qualitybar; ++static Evas_Object *win; ++static char **pargv; ++static int grab_failed; ++static int passphrase_ok; ++static int confirm_mode; ++static int pargc; ++static confirm_value_t confirm_value; ++static pinentry_t pinentry; ++ ++pinentry_cmd_handler_t pinentry_cmd_handler; ++ ++static void ++quit (void) ++{ ++ evas_object_del(win); ++ elm_exit(); ++ ecore_main_loop_quit (); ++} ++ ++static void ++delete_event (void *data EINA_UNUSED, ++ Evas_Object *obj EINA_UNUSED, ++ void *event EINA_UNUSED) ++{ ++ pinentry->close_button = 1; ++ quit (); ++} ++ ++static void ++changed_text_handler (void *data EINA_UNUSED, ++ Evas_Object *obj, ++ void *event EINA_UNUSED) ++{ ++ const char *s; ++ int length; ++ int percent; ++ ++ got_input = EINA_TRUE; ++ ++ if (pinentry->repeat_passphrase && repeat_entry) ++ { ++ elm_object_text_set (repeat_entry, ""); ++ elm_object_text_set (error_label, ""); ++ } ++ ++ if (!qualitybar || !pinentry->quality_bar) ++ return; ++ ++ s = elm_object_text_get (obj); ++ if (!s) ++ s = ""; ++ length = strlen (s); ++ percent = length? pinentry_inq_quality (pinentry, s, length) : 0; ++ evas_object_color_set(qualitybar, ++ 255 - ( 2.55 * percent ), ++ 2.55 * percent, 0, 255); ++ elm_progressbar_value_set (qualitybar, (double) percent / 100.0); ++} ++ ++static void ++on_check (void *data EINA_UNUSED, Evas_Object *obj, void *event EINA_UNUSED) ++{ ++ if(elm_check_state_get(obj)) ++ { ++ elm_entry_password_set(entry, EINA_FALSE); ++ elm_object_text_set(check_label,ENTRY_HIDE); ++ } ++ else ++ { ++ elm_entry_password_set(entry, EINA_TRUE); ++ elm_object_text_set(check_label,ENTRY_SHOW); ++ } ++ evas_object_size_hint_min_set(check_label, ++ ELM_SCALE_SIZE(BUTTON_WIDTH), ++ ELM_SCALE_SIZE(BUTTON_HEIGHT)); ++ evas_object_size_hint_align_set(check_label, 0, 1); ++} ++ ++static void ++on_click (void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED) ++{ ++ if (confirm_mode) ++ { ++ confirm_value = (confirm_value_t) data; ++ quit (); ++ return; ++ } ++ ++ if (data) ++ { ++ const char *s; ++ const char *s2; ++ ++ s = elm_entry_entry_get (entry); ++ if (!s) ++ s = ""; ++ ++ if (pinentry->repeat_passphrase && repeat_entry) ++ { ++ s2 = elm_entry_entry_get (repeat_entry); ++ if (!s2) ++ s2 = ""; ++ if (strcmp (s, s2)) ++ { ++ elm_object_text_set(error_label, ++ pinentry->repeat_error_string? ++ pinentry->repeat_error_string: ++ "not correctly repeated"); ++ elm_object_focus_set(entry,EINA_TRUE); ++ return; ++ } ++ pinentry->repeat_okay = 1; ++ } ++ ++ passphrase_ok = 1; ++ pinentry_setbufferlen (pinentry, strlen (s) + 1); ++ if (pinentry->pin) ++ strncpy (pinentry->pin, s, strlen(s) + 1); ++ } ++ quit (); ++} ++ ++static void ++enter_callback (void *data, Evas_Object * obj, void *event_info EINA_UNUSED) ++{ ++ if (data) ++ elm_object_focus_set (data, 1); ++ else ++ on_click ((void *) CONFIRM_OK, obj, NULL); ++} ++ ++static Eina_Bool ++timeout_cb (const void * data) ++{ ++ pinentry_t pe = (pinentry_t)data; ++ if (!got_input) ++ { ++ ecore_main_loop_quit(); ++ if (pe) ++ pe->specific_err = gpg_error (GPG_ERR_TIMEOUT); ++ } ++ ++ timer = NULL; ++ return ECORE_CALLBACK_DONE; ++} ++ ++static void ++create_window (void) ++{ ++ char *txt; ++ Evas_Object *icon; ++ Evas_Object *obj; ++ Evas_Object *table; ++ int btn_txt_len = 0; ++ int row = 0; ++ int ok_len = 0; ++ ++ win = elm_win_util_dialog_add(NULL,"pinentry","enter pin"); ++ elm_win_autodel_set(win, EINA_TRUE); ++ elm_win_center(win,EINA_TRUE,EINA_TRUE); ++ evas_object_smart_callback_add(win, "delete,request", delete_event, NULL); ++ ++ table = elm_table_add(win); ++ elm_table_padding_set(table,ELM_SCALE_SIZE(PADDING),0); ++ evas_object_size_hint_padding_set (table, ++ ELM_SCALE_SIZE(PADDING), ++ ELM_SCALE_SIZE(PADDING), ++ ELM_SCALE_SIZE(PADDING), ++ ELM_SCALE_SIZE(PADDING)); ++ evas_object_show(table); ++ ++ if (pinentry->title) ++ { ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, ++ pinentry->title); ++ elm_win_title_set ( win, txt ); ++ free (txt); ++ } ++ ++ /* Description Label */ ++ if (pinentry->description) ++ { ++ char* aligned; ++ int len; ++ ++ obj = elm_label_add(table); ++ elm_label_line_wrap_set (obj, ELM_WRAP_WORD); ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, pinentry->description); ++ len = strlen(txt)+20; // 20 chars for align tag ++ aligned = calloc(len+1,sizeof(char)); ++ if(aligned) ++ { ++ snprintf(aligned,len, "%s",txt); ++ elm_object_text_set(obj,aligned); ++ free (aligned); ++ } else ++ elm_object_text_set(obj,txt); ++ free (txt); ++ evas_object_size_hint_weight_set(obj, EVAS_HINT_EXPAND, 0); ++ evas_object_size_hint_align_set(obj, EVAS_HINT_FILL, 0); ++ elm_table_pack(table, obj, 1, row, 5, 1); ++ evas_object_show(obj); ++ row++; ++ } ++ if (!confirm_mode && (pinentry->error || pinentry->repeat_passphrase)) ++ { ++ /* Error Label */ ++ if (pinentry->error) ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, pinentry->error); ++ else ++ txt = ""; ++ obj = elm_label_add(table); ++ evas_object_color_set(obj, 255, 0, 0, 255); ++ elm_object_text_set(obj,txt); ++ elm_object_style_set(obj,"slide_bounce"); ++ elm_label_slide_duration_set(obj, 10); ++ elm_label_slide_mode_set(obj, ELM_LABEL_SLIDE_MODE_ALWAYS); ++ elm_label_slide_go(obj); ++ evas_object_size_hint_weight_set(obj, EVAS_HINT_EXPAND, 0); ++ evas_object_size_hint_align_set(obj, EVAS_HINT_FILL, 0); ++ elm_table_pack(table, obj, 1, row, 5, 1); ++ evas_object_show(obj); ++ if (pinentry->error) ++ free (txt); ++ row++; ++ } ++ ++ qualitybar = NULL; ++ ++ if (!confirm_mode) ++ { ++ ++ if (pinentry->prompt) ++ { ++ /* Entry/Prompt Label */ ++ obj = elm_label_add(table); ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, pinentry->prompt); ++ elm_object_text_set(obj,txt); ++ free (txt); ++ evas_object_size_hint_weight_set(obj, 0, EVAS_HINT_EXPAND); ++ evas_object_size_hint_align_set(obj, 1, EVAS_HINT_FILL); ++ elm_table_pack(table, obj, 1, row, 1, 1); ++ evas_object_show(obj); ++ } ++ ++ entry = elm_entry_add(table); ++ elm_entry_scrollable_set(entry, EINA_TRUE); ++ elm_scroller_policy_set(entry, ++ ELM_SCROLLER_POLICY_OFF, ++ ELM_SCROLLER_POLICY_OFF); ++ elm_entry_password_set(entry, EINA_TRUE); ++ elm_entry_single_line_set(entry, EINA_TRUE); ++ evas_object_size_hint_weight_set(entry, 0, 0); ++ evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, 0); ++ elm_table_pack(table, entry, 2, row, 4, 1); ++ evas_object_smart_callback_add(entry, ++ "changed", ++ changed_text_handler, ++ NULL); ++ evas_object_show(entry); ++ row++; ++ ++ /* Check box */ ++ obj = elm_check_add(table); ++ evas_object_size_hint_align_set(obj, 1, EVAS_HINT_FILL); ++ elm_table_pack(table, obj, 1, row, 1, 1); ++ evas_object_smart_callback_add(obj, "changed", on_check, NULL); ++ evas_object_show(obj); ++ ++ /* Check Label */ ++ check_label = elm_label_add(table); ++ on_check((void *)NULL, obj, (void *)NULL); ++ elm_table_pack(table, check_label, 2, row, 4, 1); ++ evas_object_show(check_label); ++ row++; ++ ++ if (pinentry->quality_bar) ++ { ++ /* Quality Bar Label */ ++ obj = elm_label_add(table); ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, ++ pinentry->quality_bar); ++ elm_object_text_set(obj,txt); ++ free (txt); ++ evas_object_size_hint_weight_set(obj, 0, EVAS_HINT_EXPAND); ++ evas_object_size_hint_align_set(obj, 1, EVAS_HINT_FILL); ++ elm_table_pack(table, obj, 1, row, 1, 1); ++ evas_object_show(obj); ++ ++ qualitybar = elm_progressbar_add(table); ++ evas_object_color_set(qualitybar, 255, 0, 0, 255); ++ evas_object_show(qualitybar); ++ if (pinentry->quality_bar_tt) ++ elm_object_tooltip_text_set (qualitybar, ++ pinentry->quality_bar_tt); ++ evas_object_size_hint_weight_set(qualitybar, EVAS_HINT_EXPAND, 0); ++ evas_object_size_hint_align_set(qualitybar, EVAS_HINT_FILL, 0); ++ elm_table_pack(table, qualitybar, 2, row, 4, 1); ++ row++; ++ } ++ ++ if (pinentry->repeat_passphrase) ++ { ++ /* Repeat Label */ ++ obj = elm_label_add(table); ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, ++ pinentry->repeat_passphrase); ++ elm_object_text_set(obj,txt); ++ free (txt); ++ evas_object_size_hint_weight_set(obj, 0, EVAS_HINT_EXPAND); ++ evas_object_size_hint_align_set(obj, 1, EVAS_HINT_FILL); ++ elm_table_pack(table, obj, 1, row, 1, 1); ++ evas_object_show(obj); ++ ++ repeat_entry = elm_entry_add(table); ++ elm_entry_scrollable_set(repeat_entry, EINA_TRUE); ++ elm_scroller_policy_set(repeat_entry, ++ ELM_SCROLLER_POLICY_OFF, ++ ELM_SCROLLER_POLICY_OFF); ++ elm_entry_password_set(repeat_entry, EINA_TRUE); ++ elm_entry_single_line_set(repeat_entry, EINA_TRUE); ++ evas_object_size_hint_weight_set(repeat_entry, 0, 0); ++ evas_object_size_hint_align_set(repeat_entry, EVAS_HINT_FILL, 0); ++ elm_table_pack(table, repeat_entry, 2, row, 4, 1); ++ evas_object_smart_callback_add (repeat_entry, "activated", ++ enter_callback, NULL); ++ evas_object_show(repeat_entry); ++ evas_object_smart_callback_add (entry, ++ "activated", ++ enter_callback, ++ repeat_entry); ++ evas_object_smart_callback_add(repeat_entry, ++ "activated", ++ on_click, ++ (void *) CONFIRM_OK); ++ row++; ++ } ++ else ++ evas_object_smart_callback_add(entry, ++ "activated", ++ on_click, ++ (void *) CONFIRM_OK); ++ } ++ ++ /* Cancel Button */ ++ if (!pinentry->one_button) ++ { ++ obj = elm_button_add(table); ++ icon = elm_icon_add (table); ++ evas_object_size_hint_aspect_set (icon, EVAS_ASPECT_CONTROL_BOTH, 1, 1); ++ if (elm_icon_standard_set (icon, "dialog-cancel") || ++ elm_icon_standard_set (icon, "window-close")) ++ { ++ evas_object_size_hint_min_set(icon, ++ ELM_SCALE_SIZE(BUTTON_ICON_SIZE), ++ ELM_SCALE_SIZE(BUTTON_ICON_SIZE)); ++ elm_object_part_content_set(obj, "icon", icon); ++ evas_object_show (icon); ++ } ++ else ++ evas_object_del(icon); ++ if (pinentry->cancel || pinentry->default_cancel) ++ { ++ if(pinentry->cancel) ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, pinentry->cancel); ++ else ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, ++ pinentry->default_cancel); ++ if(txt[0]=='_') ++ elm_object_text_set(obj,txt+1); ++ else ++ elm_object_text_set(obj,txt); ++ btn_txt_len = ELM_SCALE_SIZE(strlen(txt) * (PADDING * 1.5)); ++ free (txt); ++ } ++ else ++ elm_object_text_set(obj, "Cancel"); //STOCK_CANCEL ++ evas_object_size_hint_align_set(obj, 0, 0); ++ if(btn_txt_len>ELM_SCALE_SIZE(BUTTON_WIDTH)) ++ evas_object_size_hint_min_set(obj, ++ btn_txt_len, ++ ELM_SCALE_SIZE(BUTTON_HEIGHT)); ++ else ++ evas_object_size_hint_min_set(obj, ++ ELM_SCALE_SIZE(BUTTON_WIDTH), ++ ELM_SCALE_SIZE(BUTTON_HEIGHT)); ++ elm_table_pack(table, obj, 4, row, 1, 1); ++ evas_object_smart_callback_add(obj, ++ "clicked", ++ on_click, ++ (void *) CONFIRM_CANCEL); ++ evas_object_show(obj); ++ } ++ ++ /* OK Button */ ++ obj = elm_button_add(table); ++ icon = elm_icon_add (table); ++ evas_object_size_hint_aspect_set (icon, EVAS_ASPECT_CONTROL_BOTH, 1, 1); ++ if (elm_icon_standard_set (icon, "dialog-ok") || ++ elm_icon_standard_set (icon, "list-add")) ++ { ++ evas_object_size_hint_min_set(icon, ++ ELM_SCALE_SIZE(BUTTON_ICON_SIZE), ++ ELM_SCALE_SIZE(BUTTON_ICON_SIZE)); ++ elm_object_part_content_set(obj, "icon", icon); ++ evas_object_show (icon); ++ } ++ else ++ evas_object_del(icon); ++ if (pinentry->ok || pinentry->default_ok) ++ { ++ if(pinentry->ok) ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, pinentry->ok); ++ else ++ txt = pinentry_utf8_to_local (pinentry->lc_ctype, pinentry->default_ok); ++ if(txt[0]=='_') ++ elm_object_text_set(obj,txt+1); ++ else ++ elm_object_text_set(obj,txt); ++ ok_len = ELM_SCALE_SIZE(strlen(txt) * (PADDING * 1.5)); ++ if(ok_len>btn_txt_len) ++ btn_txt_len = ok_len; ++ free (txt); ++ } ++ else ++ elm_object_text_set(obj,"OK"); //STOCK_OK ++ evas_object_size_hint_align_set(obj, 0, 0); ++ if(btn_txt_len>ELM_SCALE_SIZE(BUTTON_WIDTH)) ++ evas_object_size_hint_min_set(obj, ++ btn_txt_len, ++ ELM_SCALE_SIZE(BUTTON_HEIGHT)); ++ else ++ evas_object_size_hint_min_set(obj, ++ ELM_SCALE_SIZE(BUTTON_WIDTH), ++ ELM_SCALE_SIZE(BUTTON_HEIGHT)); ++ elm_table_pack(table, obj, 5, row, 1, 1); ++ evas_object_smart_callback_add(obj, "clicked", on_click, (void *) CONFIRM_OK); ++ evas_object_show(obj); ++ ++ /* Key/Lock Icon */ ++ obj = elm_icon_add (win); ++ evas_object_size_hint_aspect_set (obj, EVAS_ASPECT_CONTROL_BOTH, 1, 1); ++ if (elm_icon_standard_set (obj, "dialog-password")) ++ { ++ double ic_size = WIDTH/5; ++ if(row==0) ++ ic_size = ic_size/3.5; ++ else if(row<4) ++ ic_size = ic_size - ic_size/row; ++ evas_object_size_hint_min_set(obj, ++ ELM_SCALE_SIZE(ic_size), ++ ELM_SCALE_SIZE(ic_size)); ++ evas_object_size_hint_weight_set(obj, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); ++ evas_object_size_hint_align_set(obj, EVAS_HINT_FILL, 0.5); ++ elm_table_pack(table, obj, 0, 0, 1, row? row:1); ++ evas_object_show (obj); ++ } ++ else ++ evas_object_del(obj); ++ ++ /* Box for padding */ ++ obj = elm_box_add (win); ++ elm_box_pack_end (obj, table); ++ evas_object_show (obj); ++ ++ elm_win_resize_object_add(win,obj); ++ evas_object_show(win); ++ ++ if(entry) ++ elm_object_focus_set (entry, EINA_TRUE); ++ ++ if (pinentry->timeout > 0) ++ timer = ecore_timer_add (pinentry->timeout, ++ (Ecore_Task_Cb)timeout_cb, ++ pinentry); ++} ++ ++static int ++efl_cmd_handler (pinentry_t pe) ++{ ++ int want_pass = !!pe->pin; ++ ++ got_input = EINA_FALSE; ++ pinentry = pe; ++ confirm_value = CONFIRM_CANCEL; ++ passphrase_ok = 0; ++ confirm_mode = want_pass ? 0 : 1; ++ /* init ecore-x explicitly using DISPLAY since this can launch ++ * from console ++ */ ++ if (pe->display) ++ ecore_x_init (pe->display); ++ elm_init (pargc, pargv); ++ create_window (); ++ ecore_main_loop_begin (); ++ ++ if (timer) ++ { ++ ecore_timer_del (timer); ++ timer = NULL; ++ } ++ ++ if (confirm_value == CONFIRM_CANCEL || grab_failed) ++ pe->canceled = 1; ++ ++ pinentry = NULL; ++ if (want_pass) ++ { ++ if (passphrase_ok && pe->pin) ++ return strlen (pe->pin); ++ else ++ return -1; ++ } ++ else ++ return (confirm_value == CONFIRM_OK) ? 1 : 0; ++} ++ ++int ++main (int argc, char *argv[]) ++{ ++ pinentry_init (PGMNAME); ++ ++#ifdef FALLBACK_CURSES ++ if (pinentry_have_display (argc, argv)) ++ { ++#endif ++ ++ pinentry_cmd_handler = efl_cmd_handler; ++ pargc = argc; ++ pargv = argv; ++ ++#ifdef FALLBACK_CURSES ++ } ++ else ++ { ++ pinentry_cmd_handler = curses_cmd_handler; ++ } ++#endif ++ ++ pinentry_parse_opts (argc, argv); ++ if (pinentry_loop ()) ++ return 1; ++ ++ return 0; ++} +-- +2.8.0.rc3 + diff --git a/gnu/packages/patches/podofo-cmake-3.12.patch b/gnu/packages/patches/podofo-cmake-3.12.patch new file mode 100644 index 0000000000..0a3c19b21a --- /dev/null +++ b/gnu/packages/patches/podofo-cmake-3.12.patch @@ -0,0 +1,19 @@ +The build fails with cmake 3.12.0. This patch will be obsolete with the next +release. + +https://sourceforge.net/p/podofo/tickets/24/attachment/podofo-cmake-3.12.patch + + +--- a/test/TokenizerTest/CMakeLists.txt 2018-07-20 18:26:02.921494293 +0200 ++++ b/test/TokenizerTest/CMakeLists.txt 2018-07-20 18:34:53.727136443 +0200 +@@ -2,10 +2,3 @@ + TARGET_LINK_LIBRARIES(TokenizerTest ${PODOFO_LIB} ${PODOFO_LIB_DEPENDS}) + SET_TARGET_PROPERTIES(TokenizerTest PROPERTIES COMPILE_FLAGS "${PODOFO_CFLAGS}") + ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET}) +- +-# Copy the test samples over to the build tree +-ADD_CUSTOM_COMMAND( +- TARGET TokenizerTest +- POST_BUILD +- COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects" +- ) diff --git a/gnu/packages/patches/polkit-CVE-2018-19788.patch b/gnu/packages/patches/polkit-CVE-2018-19788.patch new file mode 100644 index 0000000000..58cde6c5dc --- /dev/null +++ b/gnu/packages/patches/polkit-CVE-2018-19788.patch @@ -0,0 +1,197 @@ +Fix CVE-2018-19788: + +https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19788 +https://gitlab.freedesktop.org/polkit/polkit/issues/74 + +Patch copied from upstream source repository: + +https://gitlab.freedesktop.org/polkit/polkit/commit/2cb40c4d5feeaa09325522bd7d97910f1b59e379 + +From 2cb40c4d5feeaa09325522bd7d97910f1b59e379 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= +Date: Mon, 3 Dec 2018 10:28:58 +0100 +Subject: [PATCH] Allow negative uids/gids in PolkitUnixUser and Group objects + +(uid_t) -1 is still used as placeholder to mean "unset". This is OK, since +there should be no users with such number, see +https://systemd.io/UIDS-GIDS#special-linux-uids. + +(uid_t) -1 is used as the default value in class initialization. + +When a user or group above INT32_MAX is created, the numeric uid or +gid wraps around to negative when the value is assigned to gint, and +polkit gets confused. Let's accept such gids, except for -1. + +A nicer fix would be to change the underlying type to e.g. uint32 to +not have negative values. But this cannot be done without breaking the +API, so likely new functions will have to be added (a +polkit_unix_user_new variant that takes a unsigned, and the same for +_group_new, _set_uid, _get_uid, _set_gid, _get_gid, etc.). This will +require a bigger patch. + +Fixes https://gitlab.freedesktop.org/polkit/polkit/issues/74. +--- + src/polkit/polkitunixgroup.c | 15 +++++++++++---- + src/polkit/polkitunixprocess.c | 12 ++++++++---- + src/polkit/polkitunixuser.c | 13 ++++++++++--- + 3 files changed, 29 insertions(+), 11 deletions(-) + +diff --git a/src/polkit/polkitunixgroup.c b/src/polkit/polkitunixgroup.c +index c57a1aa..309f689 100644 +--- a/src/polkit/polkitunixgroup.c ++++ b/src/polkit/polkitunixgroup.c +@@ -71,6 +71,7 @@ G_DEFINE_TYPE_WITH_CODE (PolkitUnixGroup, polkit_unix_group, G_TYPE_OBJECT, + static void + polkit_unix_group_init (PolkitUnixGroup *unix_group) + { ++ unix_group->gid = -1; /* (git_t) -1 is not a valid GID under Linux */ + } + + static void +@@ -100,11 +101,14 @@ polkit_unix_group_set_property (GObject *object, + GParamSpec *pspec) + { + PolkitUnixGroup *unix_group = POLKIT_UNIX_GROUP (object); ++ gint val; + + switch (prop_id) + { + case PROP_GID: +- unix_group->gid = g_value_get_int (value); ++ val = g_value_get_int (value); ++ g_return_if_fail (val != -1); ++ unix_group->gid = val; + break; + + default: +@@ -131,9 +135,9 @@ polkit_unix_group_class_init (PolkitUnixGroupClass *klass) + g_param_spec_int ("gid", + "Group ID", + "The UNIX group ID", +- 0, ++ G_MININT, + G_MAXINT, +- 0, ++ -1, + G_PARAM_CONSTRUCT | + G_PARAM_READWRITE | + G_PARAM_STATIC_NAME | +@@ -166,9 +170,10 @@ polkit_unix_group_get_gid (PolkitUnixGroup *group) + */ + void + polkit_unix_group_set_gid (PolkitUnixGroup *group, +- gint gid) ++ gint gid) + { + g_return_if_fail (POLKIT_IS_UNIX_GROUP (group)); ++ g_return_if_fail (gid != -1); + group->gid = gid; + } + +@@ -183,6 +188,8 @@ polkit_unix_group_set_gid (PolkitUnixGroup *group, + PolkitIdentity * + polkit_unix_group_new (gint gid) + { ++ g_return_val_if_fail (gid != -1, NULL); ++ + return POLKIT_IDENTITY (g_object_new (POLKIT_TYPE_UNIX_GROUP, + "gid", gid, + NULL)); +diff --git a/src/polkit/polkitunixprocess.c b/src/polkit/polkitunixprocess.c +index 972b777..b02b258 100644 +--- a/src/polkit/polkitunixprocess.c ++++ b/src/polkit/polkitunixprocess.c +@@ -159,9 +159,14 @@ polkit_unix_process_set_property (GObject *object, + polkit_unix_process_set_pid (unix_process, g_value_get_int (value)); + break; + +- case PROP_UID: +- polkit_unix_process_set_uid (unix_process, g_value_get_int (value)); ++ case PROP_UID: { ++ gint val; ++ ++ val = g_value_get_int (value); ++ g_return_if_fail (val != -1); ++ polkit_unix_process_set_uid (unix_process, val); + break; ++ } + + case PROP_START_TIME: + polkit_unix_process_set_start_time (unix_process, g_value_get_uint64 (value)); +@@ -239,7 +244,7 @@ polkit_unix_process_class_init (PolkitUnixProcessClass *klass) + g_param_spec_int ("uid", + "User ID", + "The UNIX user ID", +- -1, ++ G_MININT, + G_MAXINT, + -1, + G_PARAM_CONSTRUCT | +@@ -303,7 +308,6 @@ polkit_unix_process_set_uid (PolkitUnixProcess *process, + gint uid) + { + g_return_if_fail (POLKIT_IS_UNIX_PROCESS (process)); +- g_return_if_fail (uid >= -1); + process->uid = uid; + } + +diff --git a/src/polkit/polkitunixuser.c b/src/polkit/polkitunixuser.c +index 8bfd3a1..234a697 100644 +--- a/src/polkit/polkitunixuser.c ++++ b/src/polkit/polkitunixuser.c +@@ -72,6 +72,7 @@ G_DEFINE_TYPE_WITH_CODE (PolkitUnixUser, polkit_unix_user, G_TYPE_OBJECT, + static void + polkit_unix_user_init (PolkitUnixUser *unix_user) + { ++ unix_user->uid = -1; /* (uid_t) -1 is not a valid UID under Linux */ + unix_user->name = NULL; + } + +@@ -112,11 +113,14 @@ polkit_unix_user_set_property (GObject *object, + GParamSpec *pspec) + { + PolkitUnixUser *unix_user = POLKIT_UNIX_USER (object); ++ gint val; + + switch (prop_id) + { + case PROP_UID: +- unix_user->uid = g_value_get_int (value); ++ val = g_value_get_int (value); ++ g_return_if_fail (val != -1); ++ unix_user->uid = val; + break; + + default: +@@ -144,9 +148,9 @@ polkit_unix_user_class_init (PolkitUnixUserClass *klass) + g_param_spec_int ("uid", + "User ID", + "The UNIX user ID", +- 0, ++ G_MININT, + G_MAXINT, +- 0, ++ -1, + G_PARAM_CONSTRUCT | + G_PARAM_READWRITE | + G_PARAM_STATIC_NAME | +@@ -182,6 +186,7 @@ polkit_unix_user_set_uid (PolkitUnixUser *user, + gint uid) + { + g_return_if_fail (POLKIT_IS_UNIX_USER (user)); ++ g_return_if_fail (uid != -1); + user->uid = uid; + } + +@@ -196,6 +201,8 @@ polkit_unix_user_set_uid (PolkitUnixUser *user, + PolkitIdentity * + polkit_unix_user_new (gint uid) + { ++ g_return_val_if_fail (uid != -1, NULL); ++ + return POLKIT_IDENTITY (g_object_new (POLKIT_TYPE_UNIX_USER, + "uid", uid, + NULL)); +-- +2.18.1 + diff --git a/gnu/packages/patches/poppler-CVE-2018-19149.patch b/gnu/packages/patches/poppler-CVE-2018-19149.patch new file mode 100644 index 0000000000..3641f5f078 --- /dev/null +++ b/gnu/packages/patches/poppler-CVE-2018-19149.patch @@ -0,0 +1,80 @@ +Fix CVE-2018-19149: + +https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19149 +https://gitlab.freedesktop.org/poppler/poppler/issues/664 + +Patch copied from upstream source repository: + +https://gitlab.freedesktop.org/poppler/poppler/commit/f162ecdea0dda5dbbdb45503c1d55d9afaa41d44 + +From f162ecdea0dda5dbbdb45503c1d55d9afaa41d44 Mon Sep 17 00:00:00 2001 +From: Marek Kasik +Date: Fri, 20 Apr 2018 11:38:13 +0200 +Subject: [PATCH] Fix crash on missing embedded file + +Check whether an embedded file is actually present in the PDF +and show warning in that case. + +https://bugs.freedesktop.org/show_bug.cgi?id=106137 +https://gitlab.freedesktop.org/poppler/poppler/issues/236 +--- + glib/poppler-attachment.cc | 26 +++++++++++++++++--------- + glib/poppler-document.cc | 3 ++- + 2 files changed, 19 insertions(+), 10 deletions(-) + +diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc +index c6502e9d..11ba5bb5 100644 +--- a/glib/poppler-attachment.cc ++++ b/glib/poppler-attachment.cc +@@ -111,17 +111,25 @@ _poppler_attachment_new (FileSpec *emb_file) + attachment->description = _poppler_goo_string_to_utf8 (emb_file->getDescription ()); + + embFile = emb_file->getEmbeddedFile(); +- attachment->size = embFile->size (); ++ if (embFile != NULL && embFile->streamObject()->isStream()) ++ { ++ attachment->size = embFile->size (); + +- if (embFile->createDate ()) +- _poppler_convert_pdf_date_to_gtime (embFile->createDate (), (time_t *)&attachment->ctime); +- if (embFile->modDate ()) +- _poppler_convert_pdf_date_to_gtime (embFile->modDate (), (time_t *)&attachment->mtime); ++ if (embFile->createDate ()) ++ _poppler_convert_pdf_date_to_gtime (embFile->createDate (), (time_t *)&attachment->ctime); ++ if (embFile->modDate ()) ++ _poppler_convert_pdf_date_to_gtime (embFile->modDate (), (time_t *)&attachment->mtime); + +- if (embFile->checksum () && embFile->checksum ()->getLength () > 0) +- attachment->checksum = g_string_new_len (embFile->checksum ()->getCString (), +- embFile->checksum ()->getLength ()); +- priv->obj_stream = embFile->streamObject()->copy(); ++ if (embFile->checksum () && embFile->checksum ()->getLength () > 0) ++ attachment->checksum = g_string_new_len (embFile->checksum ()->getCString (), ++ embFile->checksum ()->getLength ()); ++ priv->obj_stream = embFile->streamObject()->copy(); ++ } ++ else ++ { ++ g_warning ("Missing stream object for embedded file"); ++ g_clear_object (&attachment); ++ } + + return attachment; + } +diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc +index 83f6aea6..ea319344 100644 +--- a/glib/poppler-document.cc ++++ b/glib/poppler-document.cc +@@ -670,7 +670,8 @@ poppler_document_get_attachments (PopplerDocument *document) + attachment = _poppler_attachment_new (emb_file); + delete emb_file; + +- retval = g_list_prepend (retval, attachment); ++ if (attachment != NULL) ++ retval = g_list_prepend (retval, attachment); + } + return g_list_reverse (retval); + } +-- +2.19.1 + diff --git a/gnu/packages/patches/python-cffi-x87-stack-clean.patch b/gnu/packages/patches/python-cffi-x87-stack-clean.patch new file mode 100644 index 0000000000..50243505ee --- /dev/null +++ b/gnu/packages/patches/python-cffi-x87-stack-clean.patch @@ -0,0 +1,29 @@ +Fix test that fails on i686: + +https://bitbucket.org/cffi/cffi/issues/382 + +This is a squashed version of these commits: +https://bitbucket.org/cffi/cffi/commits/ef09637b2314 +https://bitbucket.org/cffi/cffi/commits/7a76a3815340 + +diff -r 99940f1f5402 testing/cffi0/test_function.py +--- a/testing/cffi0/test_function.py Tue Feb 27 21:18:33 2018 +0100 ++++ b/testing/cffi0/test_function.py Sun Nov 11 16:26:23 2018 +0100 +@@ -45,14 +45,14 @@ + assert x != math.sin(1.23) # rounding effects + assert abs(x - math.sin(1.23)) < 1E-6 + +- def test_sin_no_return_value(self): ++ def test_lround_no_return_value(self): + # check that 'void'-returning functions work too + ffi = FFI(backend=self.Backend()) + ffi.cdef(""" +- void sin(double x); ++ void lround(double x); + """) + m = ffi.dlopen(lib_m) +- x = m.sin(1.23) ++ x = m.lround(1.23) + assert x is None + + def test_dlopen_filename(self): diff --git a/gnu/packages/patches/python-networkx2-reproducible-build.patch b/gnu/packages/patches/python-networkx2-reproducible-build.patch deleted file mode 100644 index 8274767ab8..0000000000 --- a/gnu/packages/patches/python-networkx2-reproducible-build.patch +++ /dev/null @@ -1,29 +0,0 @@ -From c065b972ed294769a41936d6b9feb336473af5d1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= -Date: Sat, 4 Nov 2017 15:28:47 +0100 -Subject: Fix SOURCE_DATE_EPOCH ignored bug (#2735) - -* Fix SOURCE_DATE_EPOCH ignored bug - -Fix a bug in networkx/release.py that makes build -non-reproducible. ---- - networkx/release.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/networkx/release.py b/networkx/release.py -index e81fc0c0..6322cf0d 100644 ---- a/networkx/release.py -+++ b/networkx/release.py -@@ -135,7 +135,7 @@ def get_revision(): - - def get_info(dynamic=True): - # Date information -- date_info = datetime.datetime.now() -+ date_info = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))) - date = time.asctime(date_info.timetuple()) - - revision, version, version_info, vcs_info = None, None, None, None --- -2.14.2 - diff --git a/gnu/packages/patches/python-paste-remove-website-test.patch b/gnu/packages/patches/python-paste-remove-website-test.patch deleted file mode 100644 index 93417fbe75..0000000000 --- a/gnu/packages/patches/python-paste-remove-website-test.patch +++ /dev/null @@ -1,21 +0,0 @@ -Remove the test to see if the Python Paste website is up. - -Obviously without network access there is no way for us to check this, and -it's pretty strange to test a project's website when you really mean to test -the project anyhow... - ---- a/tests/test_proxy.py 2016-02-22 19:13:04.040117767 -0800 -+++ b/tests/test_proxy.py 2016-02-22 19:13:04.040117767 -0800 -@@ -1,12 +1,3 @@ - from paste import proxy - from paste.fixture import TestApp - --def test_paste_website(): -- # Not the most robust test... -- # need to test things like POSTing to pages, and getting from pages -- # that don't set content-length. -- app = proxy.Proxy('http://pythonpaste.org') -- app = TestApp(app) -- res = app.get('/') -- assert 'documentation' in res -- diff --git a/gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patch b/gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patch deleted file mode 100644 index 90328cc0eb..0000000000 --- a/gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patch +++ /dev/null @@ -1,25 +0,0 @@ -This patch stops a test sometimes failing because of non-determinism. See -https://github.com/scikit-learn/scikit-learn/pull/9542 - -From ff9f6db6e8b59c2b3528c8137ed4054f57c1d7c4 Mon Sep 17 00:00:00 2001 -From: Hanmin Qin -Date: Sun, 13 Aug 2017 22:13:49 +0800 -Subject: [PATCH] add random_state - ---- - sklearn/tests/test_kernel_ridge.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sklearn/tests/test_kernel_ridge.py b/sklearn/tests/test_kernel_ridge.py -index 4750a096ac6..979875870b6 100644 ---- a/sklearn/tests/test_kernel_ridge.py -+++ b/sklearn/tests/test_kernel_ridge.py -@@ -10,7 +10,7 @@ - from sklearn.utils.testing import assert_array_almost_equal - - --X, y = make_regression(n_features=10) -+X, y = make_regression(n_features=10, random_state=0) - Xcsr = sp.csr_matrix(X) - Xcsc = sp.csc_matrix(X) - Y = np.array([y, y]).T diff --git a/gnu/packages/patches/qemu-CVE-2018-16847.patch b/gnu/packages/patches/qemu-CVE-2018-16847.patch new file mode 100644 index 0000000000..c76bdf764a --- /dev/null +++ b/gnu/packages/patches/qemu-CVE-2018-16847.patch @@ -0,0 +1,158 @@ +Fix CVE-2018-16847: + +https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16847 + +Patch copied from upstream source repository: + +https://git.qemu.org/?p=qemu.git;a=commitdiff;h=87ad860c622cc8f8916b5232bd8728c08f938fce + +From 87ad860c622cc8f8916b5232bd8728c08f938fce Mon Sep 17 00:00:00 2001 +From: Paolo Bonzini +Date: Tue, 20 Nov 2018 19:41:48 +0100 +Subject: [PATCH] nvme: fix out-of-bounds access to the CMB +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Because the CMB BAR has a min_access_size of 2, if you read the last +byte it will try to memcpy *2* bytes from n->cmbuf, causing an off-by-one +error. This is CVE-2018-16847. + +Another way to fix this might be to register the CMB as a RAM memory +region, which would also be more efficient. However, that might be a +change for big-endian machines; I didn't think this through and I don't +know how real hardware works. Add a basic testcase for the CMB in case +somebody does this change later on. + +Cc: Keith Busch +Cc: qemu-block@nongnu.org +Reported-by: Li Qiang +Reviewed-by: Li Qiang +Tested-by: Li Qiang +Signed-off-by: Paolo Bonzini +Reviewed-by: Philippe Mathieu-Daudé +Tested-by: Philippe Mathieu-Daudé +Signed-off-by: Kevin Wolf +--- + hw/block/nvme.c | 2 +- + tests/Makefile.include | 2 +- + tests/nvme-test.c | 68 +++++++++++++++++++++++++++++++++++------- + 3 files changed, 60 insertions(+), 12 deletions(-) + +diff --git a/hw/block/nvme.c b/hw/block/nvme.c +index 28d284346dd..8c35cab2b43 100644 +--- a/hw/block/nvme.c ++++ b/hw/block/nvme.c +@@ -1201,7 +1201,7 @@ static const MemoryRegionOps nvme_cmb_ops = { + .write = nvme_cmb_write, + .endianness = DEVICE_LITTLE_ENDIAN, + .impl = { +- .min_access_size = 2, ++ .min_access_size = 1, + .max_access_size = 8, + }, + }; +diff --git a/tests/Makefile.include b/tests/Makefile.include +index 613242bc6ef..fb0b449c02a 100644 +--- a/tests/Makefile.include ++++ b/tests/Makefile.include +@@ -730,7 +730,7 @@ tests/test-hmp$(EXESUF): tests/test-hmp.o + tests/machine-none-test$(EXESUF): tests/machine-none-test.o + tests/drive_del-test$(EXESUF): tests/drive_del-test.o $(libqos-virtio-obj-y) + tests/qdev-monitor-test$(EXESUF): tests/qdev-monitor-test.o $(libqos-pc-obj-y) +-tests/nvme-test$(EXESUF): tests/nvme-test.o ++tests/nvme-test$(EXESUF): tests/nvme-test.o $(libqos-pc-obj-y) + tests/pvpanic-test$(EXESUF): tests/pvpanic-test.o + tests/i82801b11-test$(EXESUF): tests/i82801b11-test.o + tests/ac97-test$(EXESUF): tests/ac97-test.o +diff --git a/tests/nvme-test.c b/tests/nvme-test.c +index 7674a446e4f..2700ba838aa 100644 +--- a/tests/nvme-test.c ++++ b/tests/nvme-test.c +@@ -8,25 +8,73 @@ + */ + + #include "qemu/osdep.h" ++#include "qemu/units.h" + #include "libqtest.h" ++#include "libqos/libqos-pc.h" ++ ++static QOSState *qnvme_start(const char *extra_opts) ++{ ++ QOSState *qs; ++ const char *arch = qtest_get_arch(); ++ const char *cmd = "-drive id=drv0,if=none,file=null-co://,format=raw " ++ "-device nvme,addr=0x4.0,serial=foo,drive=drv0 %s"; ++ ++ if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { ++ qs = qtest_pc_boot(cmd, extra_opts ? : ""); ++ global_qtest = qs->qts; ++ return qs; ++ } ++ ++ g_printerr("nvme tests are only available on x86\n"); ++ exit(EXIT_FAILURE); ++} ++ ++static void qnvme_stop(QOSState *qs) ++{ ++ qtest_shutdown(qs); ++} + +-/* Tests only initialization so far. TODO: Replace with functional tests */ + static void nop(void) + { ++ QOSState *qs; ++ ++ qs = qnvme_start(NULL); ++ qnvme_stop(qs); + } + +-int main(int argc, char **argv) ++static void nvmetest_cmb_test(void) + { +- int ret; ++ const int cmb_bar_size = 2 * MiB; ++ QOSState *qs; ++ QPCIDevice *pdev; ++ QPCIBar bar; + +- g_test_init(&argc, &argv, NULL); +- qtest_add_func("/nvme/nop", nop); ++ qs = qnvme_start("-global nvme.cmb_size_mb=2"); ++ pdev = qpci_device_find(qs->pcibus, QPCI_DEVFN(4,0)); ++ g_assert(pdev != NULL); ++ ++ qpci_device_enable(pdev); ++ bar = qpci_iomap(pdev, 2, NULL); ++ ++ qpci_io_writel(pdev, bar, 0, 0xccbbaa99); ++ g_assert_cmpint(qpci_io_readb(pdev, bar, 0), ==, 0x99); ++ g_assert_cmpint(qpci_io_readw(pdev, bar, 0), ==, 0xaa99); ++ ++ /* Test partially out-of-bounds accesses. */ ++ qpci_io_writel(pdev, bar, cmb_bar_size - 1, 0x44332211); ++ g_assert_cmpint(qpci_io_readb(pdev, bar, cmb_bar_size - 1), ==, 0x11); ++ g_assert_cmpint(qpci_io_readw(pdev, bar, cmb_bar_size - 1), !=, 0x2211); ++ g_assert_cmpint(qpci_io_readl(pdev, bar, cmb_bar_size - 1), !=, 0x44332211); ++ g_free(pdev); + +- qtest_start("-drive id=drv0,if=none,file=null-co://,format=raw " +- "-device nvme,drive=drv0,serial=foo"); +- ret = g_test_run(); ++ qnvme_stop(qs); ++} + +- qtest_end(); ++int main(int argc, char **argv) ++{ ++ g_test_init(&argc, &argv, NULL); ++ qtest_add_func("/nvme/nop", nop); ++ qtest_add_func("/nvme/cmb_test", nvmetest_cmb_test); + +- return ret; ++ return g_test_run(); + } +-- +2.19.2 + diff --git a/gnu/packages/patches/qemu-CVE-2018-16867.patch b/gnu/packages/patches/qemu-CVE-2018-16867.patch new file mode 100644 index 0000000000..1403d8e0f8 --- /dev/null +++ b/gnu/packages/patches/qemu-CVE-2018-16867.patch @@ -0,0 +1,49 @@ +Fix CVE-2018-16867: + +https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16867 +https://seclists.org/oss-sec/2018/q4/202 + +Patch copied from upstream source repository: + +https://git.qemu.org/?p=qemu.git;a=commitdiff;h=c52d46e041b42bb1ee6f692e00a0abe37a9659f6 + +From c52d46e041b42bb1ee6f692e00a0abe37a9659f6 Mon Sep 17 00:00:00 2001 +From: Gerd Hoffmann +Date: Mon, 3 Dec 2018 11:10:45 +0100 +Subject: [PATCH] usb-mtp: outlaw slashes in filenames +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Slash is unix directory separator, so they are not allowed in filenames. +Note this also stops the classic escape via "../". + +Fixes: CVE-2018-16867 +Reported-by: Michael Hanselmann +Signed-off-by: Gerd Hoffmann +Reviewed-by: Philippe Mathieu-Daudé +Message-id: 20181203101045.27976-3-kraxel@redhat.com +--- + hw/usb/dev-mtp.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c +index 0f6a9702ef1..100b7171f4e 100644 +--- a/hw/usb/dev-mtp.c ++++ b/hw/usb/dev-mtp.c +@@ -1719,6 +1719,12 @@ static void usb_mtp_write_metadata(MTPState *s) + + filename = utf16_to_str(dataset->length, dataset->filename); + ++ if (strchr(filename, '/')) { ++ usb_mtp_queue_result(s, RES_PARAMETER_NOT_SUPPORTED, d->trans, ++ 0, 0, 0, 0); ++ return; ++ } ++ + o = usb_mtp_object_lookup_name(p, filename, dataset->length); + if (o != NULL) { + next_handle = o->handle; +-- +2.19.2 + diff --git a/gnu/packages/patches/qt-5-renameat2.patch b/gnu/packages/patches/qt-5-renameat2.patch new file mode 100644 index 0000000000..036070c7ff --- /dev/null +++ b/gnu/packages/patches/qt-5-renameat2.patch @@ -0,0 +1,35 @@ +Avoid conflicting declaration of 'renameat2' on glibc 2.28 +(see .) + +Patch from +by Andreas Müller . + +--- + src/corelib/io/qfilesystemengine_unix.cpp | 11 ++++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp +index be6ce48d0cb..1bf1bebc7f1 100644 +--- a/qtbase/src/corelib/io/qfilesystemengine_unix.cpp ++++ b/qtbase/src/corelib/io/qfilesystemengine_unix.cpp +@@ -98,6 +98,17 @@ extern "C" NSString *NSTemporaryDirectory(); + # define FICLONE _IOW(0x94, 9, int) + #endif + ++// renameat2/statx features for non bootstrapped build ++#ifndef QT_BOOTSTRAPPED ++#ifdef __GLIBC_PREREQ ++# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1) ++# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) ++#else ++# define QT_FEATURE_renameat2 -1 ++# define QT_FEATURE_statx -1 ++#endif ++#endif ++ + # if defined(Q_OS_ANDROID) + // renameat2() and statx() are disabled on Android because quite a few systems + // come with sandboxes that kill applications that make system calls outside a +-- +2.14.4 + diff --git a/gnu/packages/patches/qtbase-glibc-compat.patch b/gnu/packages/patches/qtbase-glibc-compat.patch deleted file mode 100644 index 15a2540b3a..0000000000 --- a/gnu/packages/patches/qtbase-glibc-compat.patch +++ /dev/null @@ -1,50 +0,0 @@ -Fix qmake build with glibc 2.28. - -Taken from upstream: -https://code.qt.io/cgit/qt/qtbase.git/commit/?id=25feee4e061b99edab79503d81f5bd045c6c8e3d - -diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h -index 3469ebe5e6..c5585ea32a 100644 ---- a/src/corelib/global/qconfig-bootstrapped.h -+++ b/src/corelib/global/qconfig-bootstrapped.h -@@ -98,10 +98,18 @@ - #define QT_NO_QOBJECT - #define QT_FEATURE_process -1 - #define QT_FEATURE_regularexpression -1 --#define QT_FEATURE_renameat2 -1 -+#ifdef __GLIBC_PREREQ -+# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1) -+#else -+# define QT_FEATURE_renameat2 -1 -+#endif - #define QT_FEATURE_sharedmemory -1 - #define QT_FEATURE_slog2 -1 --#define QT_FEATURE_statx -1 -+#ifdef __GLIBC_PREREQ -+# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) -+#else -+# define QT_FEATURE_statx -1 -+#endif - #define QT_FEATURE_syslog -1 - #define QT_NO_SYSTEMLOCALE - #define QT_FEATURE_systemsemaphore -1 -diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp -index 0c9cdb8667..deb4a9f220 100644 ---- a/src/corelib/io/qfilesystemengine_unix.cpp -+++ b/src/corelib/io/qfilesystemengine_unix.cpp -@@ -91,7 +91,6 @@ extern "C" NSString *NSTemporaryDirectory(); - # include - # include - # include --# include - - // in case linux/fs.h is too old and doesn't define it: - #ifndef FICLONE -@@ -112,6 +111,7 @@ static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newp - # endif - - # if !QT_CONFIG(statx) && defined(SYS_statx) -+# include - static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf) - { return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); } - # elif !QT_CONFIG(statx) && !defined(SYS_statx) diff --git a/gnu/packages/patches/quilt-compat-getopt-fix-option-with-nondigit-param.patch b/gnu/packages/patches/quilt-getopt-nondigit-param.patch similarity index 100% rename from gnu/packages/patches/quilt-compat-getopt-fix-option-with-nondigit-param.patch rename to gnu/packages/patches/quilt-getopt-nondigit-param.patch diff --git a/gnu/packages/patches/quilt-compat-getopt-fix-second-separator.patch b/gnu/packages/patches/quilt-getopt-second-separator.patch similarity index 100% rename from gnu/packages/patches/quilt-compat-getopt-fix-second-separator.patch rename to gnu/packages/patches/quilt-getopt-second-separator.patch diff --git a/gnu/packages/patches/randomjungle-disable-static-build.patch b/gnu/packages/patches/randomjungle-disable-static-build.patch new file mode 100644 index 0000000000..3de6c269fd --- /dev/null +++ b/gnu/packages/patches/randomjungle-disable-static-build.patch @@ -0,0 +1,14 @@ +Drop build time dependency on the static executables. + +--- a/src/Makefile.in 2018-11-25 20:27:10.691508925 +0100 ++++ b/src/Makefile.in 2018-11-25 20:27:43.565631413 +0100 +@@ -34,8 +34,7 @@ + POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ +-bin_PROGRAMS = rjungle$(EXEEXT) rjungle_static$(EXEEXT) \ +- rjunglesparse$(EXEEXT) rjunglesparse_static$(EXEEXT) ++bin_PROGRAMS = rjungle$(EXEEXT) rjunglesparse$(EXEEXT) + subdir = src + DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch b/gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch index 6ffc897297..a2bad55117 100644 --- a/gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch +++ b/gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch @@ -1,5 +1,6 @@ GDB responds with some overly detailed lines - which makes the tests fail. Patch rust to accept those instead. +See . diff -ur orig/rustc-1.25.0-src/src/test/debuginfo/generic-enum-with-different-disr-sizes.rs rustc-1.25.0-src/src/test/debuginfo/generic-enum-with-different-disr-sizes.rs --- orig/rustc-1.25.0-src/src/test/debuginfo/generic-enum-with-different-disr-sizes.rs 2018-09-13 10:24:33.775565159 +0200 +++ rustc-1.25.0-src/src/test/debuginfo/generic-enum-with-different-disr-sizes.rs 2018-09-13 10:25:56.322513658 +0200 @@ -92,3 +93,19 @@ diff -ur orig/rustc-1.25.0-src/src/test/debuginfo/generic-tuple-style-enum.rs ru // gdb-command:print univariant // gdbg-check:$4 = {{__0 = -1}} +--- orig/rustc-1.25.0-src/src/test/debuginfo/nil-enum.rs 2018-09-13 10:24:33.783565071 +0200 ++++ rustc-1.25.0-src/src/test/debuginfo/nil-enum.rs 2018-10-26 18:19:20.404564587 +0200 +@@ -17,11 +17,11 @@ + + // gdb-command:print first + // gdbg-check:$1 = {} +-// gdbr-check:$1 = ++// gdbr-check:$1 = nil_enum::ANilEnum + + // gdb-command:print second + // gdbg-check:$2 = {} +-// gdbr-check:$2 = ++// gdbr-check:$2 = nil_enum::AnotherNilEnum + + #![allow(unused_variables)] + #![feature(omit_gdb_pretty_printer_section)] diff --git a/gnu/packages/patches/rust-reproducible-builds.patch b/gnu/packages/patches/rust-reproducible-builds.patch new file mode 100644 index 0000000000..ef7bf53b5d --- /dev/null +++ b/gnu/packages/patches/rust-reproducible-builds.patch @@ -0,0 +1,25 @@ +From b9ca108fcae2b738ca3f0c88c84ae5dc5a6f843f Mon Sep 17 00:00:00 2001 +From: Tim Ryan +Date: Mon, 14 May 2018 06:22:21 -0400 +Subject: [PATCH] Support reproducible builds by forcing window.search to use + stable key ordering. (#692) +See +--- + src/vendor/mdbook/src/renderer/html_handlebars/search.rs | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/vendor/mdbook/src/renderer/html_handlebars/search.rs b/src/vendor/mdbook/src/renderer/html_handlebars/search.rs +index d49772f8b..1ee66a511 100644 +--- a/src/vendor/mdbook/src/renderer/html_handlebars/search.rs ++++ b/src/vendor/mdbook/src/renderer/html_handlebars/search.rs +@@ -205,6 +205,10 @@ fn write_to_js(index: Index, search_config: &Search) -> Result { + searchoptions, + index, + }; ++ ++ // By converting to serde_json::Value as an intermediary, we use a ++ // BTreeMap internally and can force a stable ordering of map keys. ++ let json_contents = serde_json::to_value(&json_contents)?; + let json_contents = serde_json::to_string(&json_contents)?; + + Ok(format!("window.search = {};", json_contents)) diff --git a/gnu/packages/patches/scribus-poppler.patch b/gnu/packages/patches/scribus-poppler.patch new file mode 100644 index 0000000000..9b969e4cb6 --- /dev/null +++ b/gnu/packages/patches/scribus-poppler.patch @@ -0,0 +1,72 @@ +Fix build with recent Poppler. + +From d867ec3c386baaed1b8e076dd70b278863411480 Mon Sep 17 00:00:00 2001 +From: Jean Ghali +Date: Mon, 30 Apr 2018 09:19:33 +0000 +Subject: [PATCH] =?UTF-8?q?#15289:=20FTBFS=201.5.4=20with=20error:=20inval?= + =?UTF-8?q?id=20conversion=20from=20=E2=80=98const=20GooString*=E2=80=99?= + =?UTF-8?q?=20to=20=E2=80=98GooString*=E2=80=99?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +git-svn-id: svn://scribus.net/trunk/Scribus@22498 11d20701-8431-0410-a711-e3c959e3b870 +--- + scribus/plugins/import/pdf/importpdf.cpp | 2 +- + scribus/plugins/import/pdf/importpdf.h | 2 +- + scribus/plugins/import/pdf/slaoutput.cpp | 2 +- + scribus/plugins/import/pdf/slaoutput.h | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/scribus/plugins/import/pdf/importpdf.cpp b/scribus/plugins/import/pdf/importpdf.cpp +index c1802861aa..d4c5a9ba49 100644 +--- a/scribus/plugins/import/pdf/importpdf.cpp ++++ b/scribus/plugins/import/pdf/importpdf.cpp +@@ -1081,7 +1081,7 @@ QRectF PdfPlug::getCBox(int box, int pgNum) + return cRect; + } + +-QString PdfPlug::UnicodeParsedString(GooString *s1) ++QString PdfPlug::UnicodeParsedString(const GooString *s1) + { + if ( !s1 || s1->getLength() == 0 ) + return QString(); +diff --git a/scribus/plugins/import/pdf/importpdf.h b/scribus/plugins/import/pdf/importpdf.h +index c8c5efcd0d..5249562692 100644 +--- a/scribus/plugins/import/pdf/importpdf.h ++++ b/scribus/plugins/import/pdf/importpdf.h +@@ -81,7 +81,7 @@ class PdfPlug : public QObject + private: + bool convert(const QString& fn); + QRectF getCBox(int box, int pgNum); +- QString UnicodeParsedString(GooString *s1); ++ QString UnicodeParsedString(const GooString *s1); + + QList Elements; + double baseX, baseY; +diff --git a/scribus/plugins/import/pdf/slaoutput.cpp b/scribus/plugins/import/pdf/slaoutput.cpp +index be1815dc29..17b6357246 100644 +--- a/scribus/plugins/import/pdf/slaoutput.cpp ++++ b/scribus/plugins/import/pdf/slaoutput.cpp +@@ -4252,7 +4252,7 @@ void SlaOutputDev::pushGroup(QString maskName, GBool forSoftMask, GBool alpha, b + m_groupStack.push(gElements); + } + +-QString SlaOutputDev::UnicodeParsedString(GooString *s1) ++QString SlaOutputDev::UnicodeParsedString(const GooString *s1) + { + if ( !s1 || s1->getLength() == 0 ) + return QString(); +diff --git a/scribus/plugins/import/pdf/slaoutput.h b/scribus/plugins/import/pdf/slaoutput.h +index 20e8b2d311..6698c030e0 100644 +--- a/scribus/plugins/import/pdf/slaoutput.h ++++ b/scribus/plugins/import/pdf/slaoutput.h +@@ -266,7 +266,7 @@ class SlaOutputDev : public OutputDev + int getBlendMode(GfxState *state); + void applyMask(PageItem *ite); + void pushGroup(QString maskName = "", GBool forSoftMask = gFalse, GBool alpha = gFalse, bool inverted = false); +- QString UnicodeParsedString(GooString *s1); ++ QString UnicodeParsedString(const GooString *s1); + bool checkClip(); + bool pathIsClosed; + QString CurrColorFill; diff --git a/gnu/packages/patches/teeworlds-use-latest-wavpack.patch b/gnu/packages/patches/teeworlds-use-latest-wavpack.patch index e9fd991087..3ad1340d2e 100644 --- a/gnu/packages/patches/teeworlds-use-latest-wavpack.patch +++ b/gnu/packages/patches/teeworlds-use-latest-wavpack.patch @@ -1,10 +1,20 @@ -Downloaded from https://anonscm.debian.org/cgit/pkg-games/teeworlds.git/plain/debian/patches/new-wavpack.patch. +Downloaded from https://salsa.debian.org/games-team/teeworlds/raw/master/debian/patches/new-wavpack.patch. -This patch lets us build teeworlds with wavpack 5.1.0. +From: Markus Koschany +Date: Thu, 25 Oct 2018 20:52:27 +0200 +Subject: new-wavpack +Make wavpack compatible with Debian's version. +--- + src/engine/client/sound.cpp | 33 +++++++++++++++------------------ + src/engine/client/sound.h | 4 ---- + 2 files changed, 15 insertions(+), 22 deletions(-) + +diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp +index 048ec24..80de3c5 100644 --- a/src/engine/client/sound.cpp +++ b/src/engine/client/sound.cpp -@@ -328,17 +328,14 @@ void CSound::RateConvert(int SampleID) +@@ -325,10 +325,6 @@ void CSound::RateConvert(int SampleID) pSample->m_NumFrames = NumFrames; } @@ -12,10 +22,10 @@ This patch lets us build teeworlds with wavpack 5.1.0. -{ - return io_read(ms_File, pBuffer, Size); -} -- - int CSound::LoadWV(const char *pFilename) + + ISound::CSampleHandle CSound::LoadWV(const char *pFilename) { - CSample *pSample; +@@ -336,6 +332,8 @@ ISound::CSampleHandle CSound::LoadWV(const char *pFilename) int SampleID = -1; char aError[100]; WavpackContext *pContext; @@ -24,17 +34,18 @@ This patch lets us build teeworlds with wavpack 5.1.0. // don't waste memory on sound when we are stress testing if(g_Config.m_DbgStress) -@@ -351,19 +348,23 @@ int CSound::LoadWV(const char *pFilename - if(!m_pStorage) - return -1; +@@ -349,25 +347,29 @@ ISound::CSampleHandle CSound::LoadWV(const char *pFilename) + return CSampleHandle(); + lock_wait(m_SoundLock); - ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL); - if(!ms_File) + File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL, aWholePath, sizeof(aWholePath)); + if(!File) { dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename); - return -1; + lock_unlock(m_SoundLock); + return CSampleHandle(); } + else + { @@ -43,7 +54,14 @@ This patch lets us build teeworlds with wavpack 5.1.0. SampleID = AllocID(); if(SampleID < 0) - return -1; + { +- io_close(ms_File); +- ms_File = 0; ++ io_close(File); ++ File = 0; + lock_unlock(m_SoundLock); + return CSampleHandle(); + } pSample = &m_aSamples[SampleID]; - pContext = WavpackOpenFileInput(ReadData, aError); @@ -51,7 +69,29 @@ This patch lets us build teeworlds with wavpack 5.1.0. if (pContext) { int m_aSamples = WavpackGetNumSamples(pContext); -@@ -419,9 +420,6 @@ int CSound::LoadWV(const char *pFilename +@@ -385,8 +387,8 @@ ISound::CSampleHandle CSound::LoadWV(const char *pFilename) + if(pSample->m_Channels > 2) + { + dbg_msg("sound/wv", "file is not mono or stereo. filename='%s'", pFilename); +- io_close(ms_File); +- ms_File = 0; ++ io_close(File); ++ File = 0; + lock_unlock(m_SoundLock); + return CSampleHandle(); + } +@@ -401,8 +403,8 @@ ISound::CSampleHandle CSound::LoadWV(const char *pFilename) + if(BitsPerSample != 16) + { + dbg_msg("sound/wv", "bps is %d, not 16, filname='%s'", BitsPerSample, pFilename); +- io_close(ms_File); +- ms_File = 0; ++ io_close(File); ++ File = 0; + lock_unlock(m_SoundLock); + return CSampleHandle(); + } +@@ -429,9 +431,6 @@ ISound::CSampleHandle CSound::LoadWV(const char *pFilename) dbg_msg("sound/wv", "failed to open %s: %s", pFilename, aError); } @@ -61,14 +101,16 @@ This patch lets us build teeworlds with wavpack 5.1.0. if(g_Config.m_Debug) dbg_msg("sound/wv", "loaded %s", pFilename); -@@ -527,7 +525,5 @@ void CSound::StopAll() - lock_unlock(m_SoundLock); +@@ -560,7 +559,5 @@ bool CSound::IsPlaying(CSampleHandle SampleID) + return Ret; } -IOHANDLE CSound::ms_File = 0; - IEngineSound *CreateEngineSound() { return new CSound; } +diff --git a/src/engine/client/sound.h b/src/engine/client/sound.h +index ff357c0..cec2cde 100644 --- a/src/engine/client/sound.h +++ b/src/engine/client/sound.h @@ -21,10 +21,6 @@ public: @@ -81,4 +123,4 @@ This patch lets us build teeworlds with wavpack 5.1.0. - virtual bool IsSoundEnabled() { return m_SoundEnabled != 0; } - virtual int LoadWV(const char *pFilename); + virtual CSampleHandle LoadWV(const char *pFilename); diff --git a/gnu/packages/patches/telegram-purple-adjust-test.patch b/gnu/packages/patches/telegram-purple-adjust-test.patch new file mode 100644 index 0000000000..db3b497d5d --- /dev/null +++ b/gnu/packages/patches/telegram-purple-adjust-test.patch @@ -0,0 +1,14 @@ +This test incorrectly expects the libpurple search path to initially +contain exactly one element. Remove this incorrect assertion. + +--- telegram-purple-1.3.1-checkout/test/loadtest.c 2018-10-27 16:25:06.258459600 +0200 ++++ telegram-purple-1.3.1-checkout/test/loadtest.c 2018-10-27 16:25:11.830434770 +0200 +@@ -156,7 +156,7 @@ static void tdf_inject_plugin (void) { + printf ("Injecting our module into purple_plugins_* ...\n"); + purple_plugins_init (); + GList *search_paths = purple_plugins_get_search_paths (); +- assert (!search_paths->prev && !search_paths->next && search_paths->data); ++ assert (!search_paths->prev && search_paths->data); + GList *new_paths = g_list_append (search_paths, g_strdup ("bin/")); + assert (new_paths == search_paths); + // Load "my" path before the default. diff --git a/gnu/packages/patches/tomsfastmath-constness.patch b/gnu/packages/patches/tomsfastmath-constness.patch new file mode 100644 index 0000000000..7c6ab5bbec --- /dev/null +++ b/gnu/packages/patches/tomsfastmath-constness.patch @@ -0,0 +1,76 @@ +From dac089515901d6bf315cd15a6e744b8d2c02c1cb Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Sat, 31 Oct 2015 22:48:07 +0100 +Subject: [PATCH] tfm: make a few functions static + +clamav expects them to be static and it does not seem bad to do so. + +Signed-off-by: Sebastian Andrzej Siewior +--- + src/bin/fp_read_radix.c | 2 +- + src/bin/fp_read_signed_bin.c | 2 +- + src/bin/fp_read_unsigned_bin.c | 2 +- + src/headers/tfm.h | 6 +++--- + 4 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/bin/fp_read_radix.c b/src/bin/fp_read_radix.c +index 0b5e826..431afa0 100644 +--- a/src/bin/fp_read_radix.c ++++ b/src/bin/fp_read_radix.c +@@ -9,7 +9,7 @@ + */ + #include + +-int fp_read_radix(fp_int *a, char *str, int radix) ++int fp_read_radix(fp_int *a, const char *str, int radix) + { + int y, neg; + char ch; +diff --git a/src/bin/fp_read_signed_bin.c b/src/bin/fp_read_signed_bin.c +index e2b8003..6467d19 100644 +--- a/src/bin/fp_read_signed_bin.c ++++ b/src/bin/fp_read_signed_bin.c +@@ -9,7 +9,7 @@ + */ + #include + +-void fp_read_signed_bin(fp_int *a, unsigned char *b, int c) ++void fp_read_signed_bin(fp_int *a, const unsigned char *b, int c) + { + /* read magnitude */ + fp_read_unsigned_bin (a, b + 1, c - 1); +diff --git a/src/bin/fp_read_unsigned_bin.c b/src/bin/fp_read_unsigned_bin.c +index 3ee64c0..2ee89cb 100644 +--- a/src/bin/fp_read_unsigned_bin.c ++++ b/src/bin/fp_read_unsigned_bin.c +@@ -9,7 +9,7 @@ + */ + #include + +-void fp_read_unsigned_bin(fp_int *a, unsigned char *b, int c) ++void fp_read_unsigned_bin(fp_int *a, const unsigned char *b, int c) + { + /* zero the int */ + fp_zero (a); +diff --git a/src/headers/tfm.h b/src/headers/tfm.h +index af87b56..f406388 100644 +--- a/src/headers/tfm.h ++++ b/src/headers/tfm.h +@@ -467,14 +467,14 @@ int fp_prime_random_ex(fp_int *a, int t, int size, int flags, tfm_prime_callback + int fp_count_bits(fp_int *a); + + int fp_unsigned_bin_size(fp_int *a); +-void fp_read_unsigned_bin(fp_int *a, unsigned char *b, int c); ++void fp_read_unsigned_bin(fp_int *a, const unsigned char *b, int c); + void fp_to_unsigned_bin(fp_int *a, unsigned char *b); + + int fp_signed_bin_size(fp_int *a); +-void fp_read_signed_bin(fp_int *a, unsigned char *b, int c); ++void fp_read_signed_bin(fp_int *a, const unsigned char *b, int c); + void fp_to_signed_bin(fp_int *a, unsigned char *b); + +-int fp_read_radix(fp_int *a, char *str, int radix); ++int fp_read_radix(fp_int *a, const char *str, int radix); + + int fp_radix_size(fp_int *a, int radix, int *size); + int fp_toradix(fp_int *a, char *str, int radix); diff --git a/gnu/packages/patches/tophat-build-with-later-seqan.patch b/gnu/packages/patches/tophat-build-with-later-seqan.patch deleted file mode 100644 index fc742e2a7d..0000000000 --- a/gnu/packages/patches/tophat-build-with-later-seqan.patch +++ /dev/null @@ -1,24 +0,0 @@ -This patch resolves a build failure when building TopHat 2.1.0 with SeqAn 1.4. -This is the relevant part of a patch originally posted here: -https://lists.fu-berlin.de/pipermail/seqan-dev/2014-July/msg00001.html - ---- a/src/segment_juncs.cpp -+++ b/src/segment_juncs.cpp -@@ -2050,10 +2050,13 @@ void juncs_from_ref_segs(RefSequenceTabl - typedef map MotifMap; - - MotifMap ims; -- -- seqan::DnaStringReverseComplement rev_donor_dinuc(donor_dinuc); -- seqan::DnaStringReverseComplement rev_acceptor_dinuc(acceptor_dinuc); -- -+ -+ typedef seqan::ModifiedString< -+ seqan::ModifiedString > >, -+ seqan::ModReverse> ConstDnaStringReverseComplement; -+ ConstDnaStringReverseComplement rev_donor_dinuc(donor_dinuc); -+ ConstDnaStringReverseComplement rev_acceptor_dinuc(acceptor_dinuc); -+ - if (talkative) - fprintf(stderr, "Collecting potential splice sites in islands\n"); - diff --git a/gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch b/gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch new file mode 100644 index 0000000000..9d0a08c8bf --- /dev/null +++ b/gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch @@ -0,0 +1,1485 @@ +From 1b39a1834ed182bbd8036a5cd74a9ea111fa4691 Mon Sep 17 00:00:00 2001 +From: Andre Przywara +Date: Mon, 29 Oct 2018 00:56:47 +0000 +Subject: [PATCH 03/13] sunxi: A64: Update .dts/.dtsi files +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree: +commit 679294497be31596e1c9c61507746d72b6b05f26 +Author: Rodrigo Exterckötter Tjäder +Date: Wed Sep 26 19:48:24 2018 +0000 + arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay + +Signed-off-by: Andre Przywara +Acked-by: Maxime Ripard +Reviewed-by: Jagan Teki +--- + arch/arm/dts/sun50i-a64-amarula-relic.dts | 168 +++++++++++++- + arch/arm/dts/sun50i-a64-bananapi-m64.dts | 34 ++- + arch/arm/dts/sun50i-a64-nanopi-a64.dts | 89 +++++++- + arch/arm/dts/sun50i-a64-olinuxino.dts | 103 ++++++++- + arch/arm/dts/sun50i-a64-orangepi-win.dts | 179 ++++++++++++++- + arch/arm/dts/sun50i-a64-pine64.dts | 32 ++- + arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 32 ++- + arch/arm/dts/sun50i-a64-sopine.dtsi | 15 ++ + arch/arm/dts/sun50i-a64.dtsi | 313 +++++++++++++++++++++++++-- + 9 files changed, 920 insertions(+), 45 deletions(-) + +diff --git a/arch/arm/dts/sun50i-a64-amarula-relic.dts b/arch/arm/dts/sun50i-a64-amarula-relic.dts +index f3b4e93ece..6cb2b7f0c8 100644 +--- a/arch/arm/dts/sun50i-a64-amarula-relic.dts ++++ b/arch/arm/dts/sun50i-a64-amarula-relic.dts +@@ -22,11 +22,11 @@ + stdout-path = "serial0:115200n8"; + }; + +- reg_vcc3v3: vcc3v3 { +- compatible = "regulator-fixed"; +- regulator-name = "vcc3v3"; +- regulator-min-microvolt = <3300000>; +- regulator-max-microvolt = <3300000>; ++ wifi_pwrseq: wifi-pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ clocks = <&rtc 1>; ++ clock-names = "ext_clock"; ++ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* WL-PMU-EN: PL2 */ + }; + }; + +@@ -34,10 +34,34 @@ + status = "okay"; + }; + ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dcdc1>; ++ /* ++ * Schematic shows both dldo4 and eldo1 connected for vcc-io-wifi, but ++ * dldo4 connection shows DNP(Do Not Populate) and eldo1 connected with ++ * 0Ohm register to vcc-io-wifi so eldo1 is used. ++ */ ++ vqmmc-supply = <®_eldo1>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++ ++ brcmf: wifi@1 { ++ reg = <1>; ++ compatible = "brcm,bcm4329-fmac"; ++ interrupt-parent = <&r_pio>; ++ interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* WL-WAKE-AP: PL3 */ ++ interrupt-names = "host-wake"; ++ }; ++}; ++ + &mmc2 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; +- vmmc-supply = <®_vcc3v3>; ++ vmmc-supply = <®_dcdc1>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; +@@ -48,9 +72,138 @@ + status = "okay"; + }; + ++&r_rsb { ++ status = "okay"; ++ ++ axp803: pmic@3a3 { ++ compatible = "x-powers,axp803"; ++ reg = <0x3a3>; ++ interrupt-parent = <&r_intc>; ++ interrupts = <0 IRQ_TYPE_LEVEL_LOW>; ++ x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */ ++ }; ++}; ++ ++#include "axp803.dtsi" ++ ++®_aldo1 { ++ regulator-always-on; ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ regulator-name = "avdd-csi"; ++}; ++ ++®_aldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-pl"; ++}; ++ ++®_aldo3 { ++ regulator-always-on; ++ regulator-min-microvolt = <3000000>; ++ regulator-max-microvolt = <3000000>; ++ regulator-name = "vcc-pll-avcc"; ++}; ++ ++®_dcdc1 { ++ regulator-always-on; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-3v3"; ++}; ++ ++®_dcdc2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1040000>; ++ regulator-max-microvolt = <1300000>; ++ regulator-name = "vdd-cpux"; ++}; ++ ++/* DCDC3 is polyphased with DCDC2 */ ++ ++®_dcdc5 { ++ regulator-always-on; ++ regulator-min-microvolt = <1500000>; ++ regulator-max-microvolt = <1500000>; ++ regulator-name = "vcc-dram"; ++}; ++ ++®_dcdc6 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-sys"; ++}; ++ ++®_dldo1 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-hdmi-dsi-sensor"; ++}; ++ ++®_dldo2 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-mipi"; ++}; ++ ++®_dldo3 { ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ regulator-name = "dovdd-csi"; ++}; ++ ++®_dldo4 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-wifi-io"; ++}; ++ ++®_drivevbus { ++ regulator-name = "usb0-vbus"; ++ status = "okay"; ++}; ++ ++®_eldo1 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "cpvdd"; ++}; ++ ++®_eldo3 { ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "dvdd-csi"; ++}; ++ ++®_fldo1 { ++ regulator-min-microvolt = <1200000>; ++ regulator-max-microvolt = <1200000>; ++ regulator-name = "vcc-1v2-hsic"; ++}; ++ ++/* ++ * The A64 chip cannot work without this regulator off, although ++ * it seems to be only driving the AR100 core. ++ * Maybe we don't still know well about CPUs domain. ++ */ ++®_fldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-cpus"; ++}; ++ ++®_rtc_ldo { ++ regulator-name = "vcc-rtc"; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +@@ -61,5 +214,6 @@ + + &usbphy { + usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ ++ usb0_vbus-supply = <®_drivevbus>; + status = "okay"; + }; +diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts b/arch/arm/dts/sun50i-a64-bananapi-m64.dts +index 0716b14411..ef1c90401b 100644 +--- a/arch/arm/dts/sun50i-a64-bananapi-m64.dts ++++ b/arch/arm/dts/sun50i-a64-bananapi-m64.dts +@@ -60,6 +60,17 @@ + stdout-path = "serial0:115200n8"; + }; + ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ + leds { + compatible = "gpio-leds"; + +@@ -86,6 +97,10 @@ + }; + }; + ++&de { ++ status = "okay"; ++}; ++ + &ehci0 { + status = "okay"; + }; +@@ -103,6 +118,17 @@ + status = "okay"; + }; + ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; +@@ -151,7 +177,7 @@ + + &mmc2 { + pinctrl-names = "default"; +- pinctrl-0 = <&mmc2_pins>; ++ pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>; + vmmc-supply = <®_dcdc1>; + bus-width = <8>; + non-removable; +@@ -296,9 +322,13 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-nanopi-a64.dts b/arch/arm/dts/sun50i-a64-nanopi-a64.dts +index e2dce48fa2..31884dbc88 100644 +--- a/arch/arm/dts/sun50i-a64-nanopi-a64.dts ++++ b/arch/arm/dts/sun50i-a64-nanopi-a64.dts +@@ -51,12 +51,44 @@ + compatible = "friendlyarm,nanopi-a64", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; ++ ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ ++ leds { ++ compatible = "gpio-leds"; ++ ++ blue { ++ label = "nanopi-a64:blue:status"; ++ gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ ++ }; ++ }; ++ ++ wifi_pwrseq: wifi_pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ clocks = <&rtc 1>; ++ clock-names = "ext_clock"; ++ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ ++ }; ++}; ++ ++&de { ++ status = "okay"; + }; + + &ehci0 { +@@ -67,6 +99,26 @@ + status = "okay"; + }; + ++&emac { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&rgmii_pins>; ++ phy-mode = "rgmii"; ++ phy-handle = <&ext_rgmii_phy>; ++ phy-supply = <®_dcdc1>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + /* i2c1 connected with gpio headers like pine64, bananapi */ + &i2c1 { + pinctrl-names = "default"; +@@ -78,6 +130,13 @@ + bias-pull-up; + }; + ++&mdio { ++ ext_rgmii_phy: ethernet-phy@1 { ++ compatible = "ethernet-phy-ieee802.3-c22"; ++ reg = <7>; ++ }; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; +@@ -88,6 +147,24 @@ + status = "okay"; + }; + ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dcdc1>; ++ vqmmc-supply = <®_dldo4>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++ ++ rtl8189etv: wifi@1 { ++ reg = <1>; ++ interrupt-parent = <&r_pio>; ++ interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* PL3 */ ++ interrupt-names = "host-wake"; ++ }; ++}; ++ + &ohci0 { + status = "okay"; + }; +@@ -125,9 +202,9 @@ + + ®_dcdc1 { + regulator-always-on; +- regulator-min-microvolt = <3000000>; +- regulator-max-microvolt = <3000000>; +- regulator-name = "vcc-3v"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-3v3"; + }; + + ®_dcdc2 { +@@ -195,9 +272,13 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-olinuxino.dts b/arch/arm/dts/sun50i-a64-olinuxino.dts +index 3b3081b10e..f7a4bccaa5 100644 +--- a/arch/arm/dts/sun50i-a64-olinuxino.dts ++++ b/arch/arm/dts/sun50i-a64-olinuxino.dts +@@ -51,6 +51,7 @@ + compatible = "olimex,a64-olinuxino", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; + }; + +@@ -58,12 +59,74 @@ + stdout-path = "serial0:115200n8"; + }; + ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ ++ reg_usb1_vbus: usb1-vbus { ++ compatible = "regulator-fixed"; ++ regulator-name = "usb1-vbus"; ++ regulator-min-microvolt = <5000000>; ++ regulator-max-microvolt = <5000000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&pio 6 9 GPIO_ACTIVE_HIGH>; /* PG9 */ ++ status = "okay"; ++ }; ++ + wifi_pwrseq: wifi_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ + }; + }; + ++&de { ++ status = "okay"; ++}; ++ ++&ehci0 { ++ status = "okay"; ++}; ++ ++&ehci1 { ++ status = "okay"; ++}; ++ ++&emac { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&rgmii_pins>; ++ phy-mode = "rgmii"; ++ phy-handle = <&ext_rgmii_phy>; ++ phy-supply = <®_dcdc1>; ++ allwinner,tx-delay-ps = <600>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ ++&mdio { ++ ext_rgmii_phy: ethernet-phy@1 { ++ compatible = "ethernet-phy-ieee802.3-c22"; ++ reg = <1>; ++ }; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; +@@ -92,6 +155,14 @@ + }; + }; + ++&ohci0 { ++ status = "okay"; ++}; ++ ++&ohci1 { ++ status = "okay"; ++}; ++ + &r_rsb { + status = "okay"; + +@@ -100,6 +171,7 @@ + reg = <0x3a3>; + interrupt-parent = <&r_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; ++ x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */ + }; + }; + +@@ -142,10 +214,14 @@ + + /* DCDC3 is polyphased with DCDC2 */ + ++/* ++ * The board uses DDR3L DRAM chips. 1.36V is the closest to the nominal ++ * 1.35V that the PMIC can drive. ++ */ + ®_dcdc5 { + regulator-always-on; +- regulator-min-microvolt = <1500000>; +- regulator-max-microvolt = <1500000>; ++ regulator-min-microvolt = <1360000>; ++ regulator-max-microvolt = <1360000>; + regulator-name = "vcc-ddr3"; + }; + +@@ -180,6 +256,11 @@ + regulator-name = "vcc-wifi-io"; + }; + ++®_drivevbus { ++ regulator-name = "usb0-vbus"; ++ status = "okay"; ++}; ++ + ®_eldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; +@@ -214,8 +295,24 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; ++ status = "okay"; ++}; ++ ++&usb_otg { ++ dr_mode = "otg"; ++ status = "okay"; ++}; ++ ++&usbphy { + status = "okay"; ++ usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ ++ usb0_vbus-supply = <®_drivevbus>; ++ usb1_vbus-supply = <®_usb1_vbus>; + }; +diff --git a/arch/arm/dts/sun50i-a64-orangepi-win.dts b/arch/arm/dts/sun50i-a64-orangepi-win.dts +index bf42690a33..b0c64f7579 100644 +--- a/arch/arm/dts/sun50i-a64-orangepi-win.dts ++++ b/arch/arm/dts/sun50i-a64-orangepi-win.dts +@@ -1,5 +1,6 @@ + /* + * Copyright (C) 2017 Jagan Teki ++ * Copyright (C) 2017-2018 Samuel Holland + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual +@@ -51,23 +52,127 @@ + compatible = "xunlong,orangepi-win", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; ++ serial1 = &uart1; ++ serial2 = &uart2; ++ serial3 = &uart3; ++ serial4 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; ++ ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ ++ leds { ++ compatible = "gpio-leds"; ++ ++ status { ++ label = "orangepi:green:status"; ++ gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ ++ }; ++ }; ++ ++ reg_gmac_3v3: gmac-3v3 { ++ compatible = "regulator-fixed"; ++ regulator-name = "gmac-3v3"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&pio 3 14 GPIO_ACTIVE_HIGH>; /* PD14 */ ++ status = "okay"; ++ }; ++ ++ reg_usb1_vbus: usb1-vbus { ++ compatible = "regulator-fixed"; ++ regulator-name = "usb1-vbus"; ++ regulator-min-microvolt = <5000000>; ++ regulator-max-microvolt = <5000000>; ++ regulator-boot-on; ++ enable-active-high; ++ gpio = <&pio 3 7 GPIO_ACTIVE_HIGH>; /* PD7 */ ++ status = "okay"; ++ }; ++ ++ wifi_pwrseq: wifi_pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ reset-gpios = <&r_pio 0 8 GPIO_ACTIVE_LOW>; /* PL8 */ ++ }; ++}; ++ ++&de { ++ status = "okay"; ++}; ++ ++&ehci0 { ++ status = "okay"; + }; + + &ehci1 { + status = "okay"; + }; + ++&emac { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&rgmii_pins>; ++ phy-mode = "rgmii"; ++ phy-handle = <&ext_rgmii_phy>; ++ phy-supply = <®_gmac_3v3>; ++ status = "okay"; ++}; ++ ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ ++&mdio { ++ ext_rgmii_phy: ethernet-phy@1 { ++ compatible = "ethernet-phy-ieee802.3-c22"; ++ reg = <1>; ++ }; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + vmmc-supply = <®_dcdc1>; +- cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; ++ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ ++ disable-wp; ++ bus-width = <4>; ++ status = "okay"; ++}; ++ ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dldo2>; ++ vqmmc-supply = <®_dldo4>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++}; ++ ++&ohci0 { + status = "okay"; + }; + +@@ -89,9 +194,8 @@ + #include "axp803.dtsi" + + ®_aldo1 { +- regulator-always-on; +- regulator-min-microvolt = <1800000>; +- regulator-max-microvolt = <3300000>; ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; + regulator-name = "afvcc-csi"; + }; + +@@ -163,12 +267,23 @@ + regulator-name = "vcc-wifi-io"; + }; + ++®_drivevbus { ++ regulator-name = "usb0-vbus"; ++ status = "okay"; ++}; ++ + ®_eldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "cpvdd"; + }; + ++®_eldo3 { ++ regulator-min-microvolt = <1500000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "dvdd-csi"; ++}; ++ + ®_fldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; +@@ -191,13 +306,65 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ ++&spi0 { ++ status = "okay"; ++ ++ spi-flash@0 { ++ compatible = "mxicy,mx25l1606e", "jedec,spi-nor"; ++ reg = <0>; ++ spi-max-frequency = <80000000>; ++ m25p,fast-read; ++ status = "okay"; ++ }; ++}; ++ ++/* On debug connector */ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +-&usbphy { ++/* Bluetooth */ ++&uart1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; ++ status = "okay"; ++}; ++ ++/* On Pi-2 connector, RTS/CTS optional */ ++&uart2 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart2_pins>; ++ status = "disabled"; ++}; ++ ++/* On Pi-2 connector, RTS/CTS optional */ ++&uart3 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart3_pins>; ++ status = "disabled"; ++}; ++ ++/* On Pi-2 connector (labeled for SPI1), RTS/CTS optional */ ++&uart4 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart4_pins>; ++ status = "disabled"; ++}; ++ ++&usb_otg { ++ dr_mode = "otg"; + status = "okay"; + }; + ++&usbphy { ++ usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ ++ usb0_vbus-supply = <®_drivevbus>; ++ usb1_vbus-supply = <®_usb1_vbus>; ++ status = "okay"; ++}; +diff --git a/arch/arm/dts/sun50i-a64-pine64.dts b/arch/arm/dts/sun50i-a64-pine64.dts +index a75825798a..c077b6c1f4 100644 +--- a/arch/arm/dts/sun50i-a64-pine64.dts ++++ b/arch/arm/dts/sun50i-a64-pine64.dts +@@ -62,6 +62,21 @@ + chosen { + stdout-path = "serial0:115200n8"; + }; ++ ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++}; ++ ++&de { ++ status = "okay"; + }; + + &ehci0 { +@@ -82,6 +97,17 @@ + + }; + ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + &i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; +@@ -229,6 +255,10 @@ + regulator-name = "vcc-rtc"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + /* On Euler connector */ + &spdif { + status = "disabled"; +@@ -237,7 +267,7 @@ + /* On Exp and Euler connectors */ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-sopine-baseboard.dts b/arch/arm/dts/sun50i-a64-sopine-baseboard.dts +index abe179de35..53fcc9098d 100644 +--- a/arch/arm/dts/sun50i-a64-sopine-baseboard.dts ++++ b/arch/arm/dts/sun50i-a64-sopine-baseboard.dts +@@ -61,6 +61,17 @@ + stdout-path = "serial0:115200n8"; + }; + ++ hdmi-connector { ++ compatible = "hdmi-connector"; ++ type = "a"; ++ ++ port { ++ hdmi_con_in: endpoint { ++ remote-endpoint = <&hdmi_out_con>; ++ }; ++ }; ++ }; ++ + reg_vcc1v8: vcc1v8 { + compatible = "regulator-fixed"; + regulator-name = "vcc1v8"; +@@ -69,6 +80,10 @@ + }; + }; + ++&de { ++ status = "okay"; ++}; ++ + &ehci0 { + status = "okay"; + }; +@@ -86,6 +101,17 @@ + status = "okay"; + }; + ++&hdmi { ++ hvcc-supply = <®_dldo1>; ++ status = "okay"; ++}; ++ ++&hdmi_out { ++ hdmi_out_con: endpoint { ++ remote-endpoint = <&hdmi_con_in>; ++ }; ++}; ++ + &mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; +@@ -134,9 +160,13 @@ + regulator-name = "vcc-wifi"; + }; + ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ + &uart0 { + pinctrl-names = "default"; +- pinctrl-0 = <&uart0_pins_a>; ++ pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; + }; + +diff --git a/arch/arm/dts/sun50i-a64-sopine.dtsi b/arch/arm/dts/sun50i-a64-sopine.dtsi +index 43418bd881..6723b8695e 100644 +--- a/arch/arm/dts/sun50i-a64-sopine.dtsi ++++ b/arch/arm/dts/sun50i-a64-sopine.dtsi +@@ -45,6 +45,8 @@ + + #include "sun50i-a64.dtsi" + ++#include ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; +@@ -52,6 +54,7 @@ + non-removable; + disable-wp; + bus-width = <4>; ++ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ + status = "okay"; + }; + +@@ -66,6 +69,18 @@ + }; + }; + ++&spi0 { ++ status = "okay"; ++ ++ flash@0 { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ compatible = "jedec,spi-nor"; ++ reg = <0>; ++ spi-max-frequency = <40000000>; ++ }; ++}; ++ + #include "axp803.dtsi" + + ®_aldo2 { +diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi +index 7a083637c4..f3a66f8882 100644 +--- a/arch/arm/dts/sun50i-a64.dtsi ++++ b/arch/arm/dts/sun50i-a64.dtsi +@@ -43,9 +43,12 @@ + */ + + #include ++#include + #include + #include + #include ++#include ++#include + + / { + interrupt-parent = <&gic>; +@@ -57,17 +60,21 @@ + #size-cells = <1>; + ranges; + +-/* +- * The pipeline mixer0-lcd0 depends on clock CLK_MIXER0 from DE2 CCU. +- * However there is no support for this clock on A64 yet, so we depend +- * on the upstream clocks here to keep them (and thus CLK_MIXER0) up. +- */ + simplefb_lcd: framebuffer-lcd { + compatible = "allwinner,simple-framebuffer", + "simple-framebuffer"; + allwinner,pipeline = "mixer0-lcd0"; + clocks = <&ccu CLK_TCON0>, +- <&ccu CLK_DE>, <&ccu CLK_BUS_DE>; ++ <&display_clocks CLK_MIXER0>; ++ status = "disabled"; ++ }; ++ ++ simplefb_hdmi: framebuffer-hdmi { ++ compatible = "allwinner,simple-framebuffer", ++ "simple-framebuffer"; ++ allwinner,pipeline = "mixer1-lcd1-hdmi"; ++ clocks = <&display_clocks CLK_MIXER1>, ++ <&ccu CLK_TCON1>, <&ccu CLK_HDMI>; + status = "disabled"; + }; + }; +@@ -81,6 +88,7 @@ + device_type = "cpu"; + reg = <0>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; + + cpu1: cpu@1 { +@@ -88,6 +96,7 @@ + device_type = "cpu"; + reg = <1>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; + + cpu2: cpu@2 { +@@ -95,6 +104,7 @@ + device_type = "cpu"; + reg = <2>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; + + cpu3: cpu@3 { +@@ -102,7 +112,20 @@ + device_type = "cpu"; + reg = <3>; + enable-method = "psci"; ++ next-level-cache = <&L2>; + }; ++ ++ L2: l2-cache { ++ compatible = "cache"; ++ cache-level = <2>; ++ }; ++ }; ++ ++ de: display-engine { ++ compatible = "allwinner,sun50i-a64-display-engine"; ++ allwinner,pipelines = <&mixer0>, ++ <&mixer1>; ++ status = "disabled"; + }; + + osc24M: osc24M_clk { +@@ -168,10 +191,92 @@ + #size-cells = <1>; + ranges; + ++ de2@1000000 { ++ compatible = "allwinner,sun50i-a64-de2"; ++ reg = <0x1000000 0x400000>; ++ allwinner,sram = <&de2_sram 1>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ranges = <0 0x1000000 0x400000>; ++ ++ display_clocks: clock@0 { ++ compatible = "allwinner,sun50i-a64-de2-clk"; ++ reg = <0x0 0x100000>; ++ clocks = <&ccu CLK_DE>, ++ <&ccu CLK_BUS_DE>; ++ clock-names = "mod", ++ "bus"; ++ resets = <&ccu RST_BUS_DE>; ++ #clock-cells = <1>; ++ #reset-cells = <1>; ++ }; ++ ++ mixer0: mixer@100000 { ++ compatible = "allwinner,sun50i-a64-de2-mixer-0"; ++ reg = <0x100000 0x100000>; ++ clocks = <&display_clocks CLK_BUS_MIXER0>, ++ <&display_clocks CLK_MIXER0>; ++ clock-names = "bus", ++ "mod"; ++ resets = <&display_clocks RST_MIXER0>; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mixer0_out: port@1 { ++ reg = <1>; ++ ++ mixer0_out_tcon0: endpoint { ++ remote-endpoint = <&tcon0_in_mixer0>; ++ }; ++ }; ++ }; ++ }; ++ ++ mixer1: mixer@200000 { ++ compatible = "allwinner,sun50i-a64-de2-mixer-1"; ++ reg = <0x200000 0x100000>; ++ clocks = <&display_clocks CLK_BUS_MIXER1>, ++ <&display_clocks CLK_MIXER1>; ++ clock-names = "bus", ++ "mod"; ++ resets = <&display_clocks RST_MIXER1>; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mixer1_out: port@1 { ++ reg = <1>; ++ ++ mixer1_out_tcon1: endpoint { ++ remote-endpoint = <&tcon1_in_mixer1>; ++ }; ++ }; ++ }; ++ }; ++ }; ++ + syscon: syscon@1c00000 { +- compatible = "allwinner,sun50i-a64-system-controller", +- "syscon"; ++ compatible = "allwinner,sun50i-a64-system-control"; + reg = <0x01c00000 0x1000>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ranges; ++ ++ sram_c: sram@18000 { ++ compatible = "mmio-sram"; ++ reg = <0x00018000 0x28000>; ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ranges = <0 0x00018000 0x28000>; ++ ++ de2_sram: sram-section@0 { ++ compatible = "allwinner,sun50i-a64-sram-c"; ++ reg = <0x0000 0x28000>; ++ }; ++ }; + }; + + dma: dma-controller@1c02000 { +@@ -185,6 +290,75 @@ + #dma-cells = <1>; + }; + ++ tcon0: lcd-controller@1c0c000 { ++ compatible = "allwinner,sun50i-a64-tcon-lcd", ++ "allwinner,sun8i-a83t-tcon-lcd"; ++ reg = <0x01c0c000 0x1000>; ++ interrupts = ; ++ clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>; ++ clock-names = "ahb", "tcon-ch0"; ++ clock-output-names = "tcon-pixel-clock"; ++ resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>; ++ reset-names = "lcd", "lvds"; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ tcon0_in: port@0 { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ reg = <0>; ++ ++ tcon0_in_mixer0: endpoint@0 { ++ reg = <0>; ++ remote-endpoint = <&mixer0_out_tcon0>; ++ }; ++ }; ++ ++ tcon0_out: port@1 { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ reg = <1>; ++ }; ++ }; ++ }; ++ ++ tcon1: lcd-controller@1c0d000 { ++ compatible = "allwinner,sun50i-a64-tcon-tv", ++ "allwinner,sun8i-a83t-tcon-tv"; ++ reg = <0x01c0d000 0x1000>; ++ interrupts = ; ++ clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>; ++ clock-names = "ahb", "tcon-ch1"; ++ resets = <&ccu RST_BUS_TCON1>; ++ reset-names = "lcd"; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ tcon1_in: port@0 { ++ reg = <0>; ++ ++ tcon1_in_mixer1: endpoint { ++ remote-endpoint = <&mixer1_out_tcon1>; ++ }; ++ }; ++ ++ tcon1_out: port@1 { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ reg = <1>; ++ ++ tcon1_out_hdmi: endpoint@1 { ++ reg = <1>; ++ remote-endpoint = <&hdmi_in_tcon1>; ++ }; ++ }; ++ }; ++ }; ++ + mmc0: mmc@1c0f000 { + compatible = "allwinner,sun50i-a64-mmc"; + reg = <0x01c0f000 0x1000>; +@@ -227,6 +401,11 @@ + #size-cells = <0>; + }; + ++ sid: eeprom@1c14000 { ++ compatible = "allwinner,sun50i-a64-sid"; ++ reg = <0x1c14000 0x400>; ++ }; ++ + usb_otg: usb@1c19000 { + compatible = "allwinner,sun8i-a33-musb"; + reg = <0x01c19000 0x0400>; +@@ -356,7 +535,7 @@ + }; + + mmc2_pins: mmc2-pins { +- pins = "PC1", "PC5", "PC6", "PC8", "PC9", ++ pins = "PC5", "PC6", "PC8", "PC9", + "PC10","PC11", "PC12", "PC13", + "PC14", "PC15", "PC16"; + function = "mmc2"; +@@ -364,6 +543,18 @@ + bias-pull-up; + }; + ++ mmc2_ds_pin: mmc2-ds-pin { ++ pins = "PC1"; ++ function = "mmc2"; ++ drive-strength = <30>; ++ bias-pull-up; ++ }; ++ ++ pwm_pin: pwm_pin { ++ pins = "PD22"; ++ function = "pwm"; ++ }; ++ + rmii_pins: rmii_pins { + pins = "PD10", "PD11", "PD13", "PD14", "PD17", + "PD18", "PD19", "PD20", "PD22", "PD23"; +@@ -394,7 +585,7 @@ + function = "spi1"; + }; + +- uart0_pins_a: uart0 { ++ uart0_pb_pins: uart0-pb-pins { + pins = "PB8", "PB9"; + function = "uart0"; + }; +@@ -474,15 +665,6 @@ + status = "disabled"; + }; + +- pwm: pwm@1c21400 { +- compatible = "allwinner,sun50i-a64-pwm", +- "allwinner,sun5i-a13-pwm"; +- reg = <0x01c21400 0x8>; +- clocks = <&osc24M>; +- #pwm-cells = <3>; +- status = "disabled"; +- }; +- + uart0: serial@1c28000 { + compatible = "snps,dw-apb-uart"; + reg = <0x01c28000 0x400>; +@@ -617,8 +799,6 @@ + clocks = <&ccu CLK_BUS_EMAC>; + clock-names = "stmmaceth"; + status = "disabled"; +- #address-cells = <1>; +- #size-cells = <0>; + + mdio: mdio { + compatible = "snps,dwmac-mdio"; +@@ -638,11 +818,69 @@ + #interrupt-cells = <3>; + }; + ++ pwm: pwm@1c21400 { ++ compatible = "allwinner,sun50i-a64-pwm", ++ "allwinner,sun5i-a13-pwm"; ++ reg = <0x01c21400 0x400>; ++ clocks = <&osc24M>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pwm_pin>; ++ #pwm-cells = <3>; ++ status = "disabled"; ++ }; ++ ++ hdmi: hdmi@1ee0000 { ++ compatible = "allwinner,sun50i-a64-dw-hdmi", ++ "allwinner,sun8i-a83t-dw-hdmi"; ++ reg = <0x01ee0000 0x10000>; ++ reg-io-width = <1>; ++ interrupts = ; ++ clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, ++ <&ccu CLK_HDMI>; ++ clock-names = "iahb", "isfr", "tmds"; ++ resets = <&ccu RST_BUS_HDMI1>; ++ reset-names = "ctrl"; ++ phys = <&hdmi_phy>; ++ phy-names = "hdmi-phy"; ++ status = "disabled"; ++ ++ ports { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ hdmi_in: port@0 { ++ reg = <0>; ++ ++ hdmi_in_tcon1: endpoint { ++ remote-endpoint = <&tcon1_out_hdmi>; ++ }; ++ }; ++ ++ hdmi_out: port@1 { ++ reg = <1>; ++ }; ++ }; ++ }; ++ ++ hdmi_phy: hdmi-phy@1ef0000 { ++ compatible = "allwinner,sun50i-a64-hdmi-phy"; ++ reg = <0x01ef0000 0x10000>; ++ clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_DDC>, ++ <&ccu 7>; ++ clock-names = "bus", "mod", "pll-0"; ++ resets = <&ccu RST_BUS_HDMI0>; ++ reset-names = "phy"; ++ #phy-cells = <0>; ++ }; ++ + rtc: rtc@1f00000 { + compatible = "allwinner,sun6i-a31-rtc"; + reg = <0x01f00000 0x54>; + interrupts = , + ; ++ clock-output-names = "rtc-osc32k", "rtc-osc32k-out"; ++ clocks = <&osc32k>; ++ #clock-cells = <1>; + }; + + r_intc: interrupt-controller@1f00c00 { +@@ -664,6 +902,29 @@ + #reset-cells = <1>; + }; + ++ r_i2c: i2c@1f02400 { ++ compatible = "allwinner,sun50i-a64-i2c", ++ "allwinner,sun6i-a31-i2c"; ++ reg = <0x01f02400 0x400>; ++ interrupts = ; ++ clocks = <&r_ccu CLK_APB0_I2C>; ++ resets = <&r_ccu RST_APB0_I2C>; ++ status = "disabled"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ }; ++ ++ r_pwm: pwm@1f03800 { ++ compatible = "allwinner,sun50i-a64-pwm", ++ "allwinner,sun5i-a13-pwm"; ++ reg = <0x01f03800 0x400>; ++ clocks = <&osc24M>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&r_pwm_pin>; ++ #pwm-cells = <3>; ++ status = "disabled"; ++ }; ++ + r_pio: pinctrl@1f02c00 { + compatible = "allwinner,sun50i-a64-r-pinctrl"; + reg = <0x01f02c00 0x400>; +@@ -675,6 +936,16 @@ + interrupt-controller; + #interrupt-cells = <3>; + ++ r_i2c_pl89_pins: r-i2c-pl89-pins { ++ pins = "PL8", "PL9"; ++ function = "s_i2c"; ++ }; ++ ++ r_pwm_pin: pwm { ++ pins = "PL10"; ++ function = "s_pwm"; ++ }; ++ + r_rsb_pins: rsb { + pins = "PL0", "PL1"; + function = "s_rsb"; +-- +2.11.0 + diff --git a/gnu/packages/patches/u-boot-pinebook-dts.patch b/gnu/packages/patches/u-boot-pinebook-dts.patch new file mode 100644 index 0000000000..48c004fdfc --- /dev/null +++ b/gnu/packages/patches/u-boot-pinebook-dts.patch @@ -0,0 +1,388 @@ +From b972831c3cd24f3c9bb0995ed61db8f8239f3391 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:31 -0800 +Subject: [PATCH 10/13] sunxi: DT: add support for Pinebook + +Pinebook is a laptop produced by Pine64, with USB-connected keyboard, +USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP +bridge from Analogix. + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Cc: Vagrant Cascadian +Reviewed-by: Jagan Teki +--- + arch/arm/dts/Makefile | 1 + + arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi | 15 ++ + arch/arm/dts/sun50i-a64-pinebook.dts | 294 +++++++++++++++++++++++++++ + configs/pinebook_defconfig | 22 ++ + 4 files changed, 332 insertions(+) + create mode 100644 arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi + create mode 100644 arch/arm/dts/sun50i-a64-pinebook.dts + create mode 100644 configs/pinebook_defconfig + +diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile +index 3093c1185e..eae6b9ee5d 100644 +--- a/arch/arm/dts/Makefile ++++ b/arch/arm/dts/Makefile +@@ -406,6 +406,7 @@ dtb-$(CONFIG_MACH_SUN50I) += \ + sun50i-a64-orangepi-win.dtb \ + sun50i-a64-pine64-plus.dtb \ + sun50i-a64-pine64.dtb \ ++ sun50i-a64-pinebook.dtb \ + sun50i-a64-sopine-baseboard.dtb + dtb-$(CONFIG_MACH_SUN9I) += \ + sun9i-a80-optimus.dtb \ +diff --git a/arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi b/arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi +new file mode 100644 +index 0000000000..a99b7171d0 +--- /dev/null ++++ b/arch/arm/dts/sun50i-a64-pinebook-u-boot.dtsi +@@ -0,0 +1,15 @@ ++// SPDX-License-Identifier: (GPL-2.0+ OR MIT) ++/* ++ * Copyright (C) 2018 Vasily Khoruzhick ++ * ++ */ ++ ++/* The ANX6345 eDP-bridge is on r_i2c */ ++&r_i2c { ++ anx6345: edp-bridge@38 { ++ compatible = "analogix,anx6345"; ++ reg = <0x38>; ++ reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ ++ status = "okay"; ++ }; ++}; +diff --git a/arch/arm/dts/sun50i-a64-pinebook.dts b/arch/arm/dts/sun50i-a64-pinebook.dts +new file mode 100644 +index 0000000000..ec537c5297 +--- /dev/null ++++ b/arch/arm/dts/sun50i-a64-pinebook.dts +@@ -0,0 +1,294 @@ ++// SPDX-License-Identifier: (GPL-2.0+ OR MIT) ++/* ++ * Copyright (C) 2017 Icenowy Zheng ++ * Copyright (C) 2018 Vasily Khoruzhick ++ * ++ */ ++ ++/dts-v1/; ++ ++#include "sun50i-a64.dtsi" ++ ++#include ++#include ++#include ++ ++/ { ++ model = "Pinebook"; ++ compatible = "pine64,pinebook", "allwinner,sun50i-a64"; ++ ++ aliases { ++ serial0 = &uart0; ++ ethernet0 = &rtl8723cs; ++ }; ++ ++ vdd_bl: regulator@0 { ++ compatible = "regulator-fixed"; ++ regulator-name = "bl-3v3"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ ++ enable-active-high; ++ }; ++ ++ backlight: backlight { ++ compatible = "pwm-backlight"; ++ pwms = <&pwm 0 50000 0>; ++ brightness-levels = <0 5 10 15 20 30 40 55 70 85 100>; ++ default-brightness-level = <2>; ++ enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* PD23 */ ++ power-supply = <&vdd_bl>; ++ }; ++ ++ chosen { ++ stdout-path = "serial0:115200n8"; ++ ++ framebuffer-lcd { ++ panel-supply = <®_dc1sw>; ++ dvdd25-supply = <®_dldo2>; ++ dvdd12-supply = <®_fldo1>; ++ }; ++ }; ++ ++ gpio_keys { ++ compatible = "gpio-keys"; ++ ++ lid_switch { ++ label = "Lid Switch"; ++ gpios = <&r_pio 0 12 GPIO_ACTIVE_LOW>; /* PL12 */ ++ linux,input-type = ; ++ linux,code = ; ++ linux,can-disable; ++ wakeup-source; ++ }; ++ }; ++ ++ reg_vcc3v3: vcc3v3 { ++ compatible = "regulator-fixed"; ++ regulator-name = "vcc3v3"; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ }; ++ ++ wifi_pwrseq: wifi_pwrseq { ++ compatible = "mmc-pwrseq-simple"; ++ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ ++ }; ++}; ++ ++&ehci0 { ++ phys = <&usbphy 0>; ++ phy-names = "usb"; ++ status = "okay"; ++}; ++ ++&ehci1 { ++ status = "okay"; ++}; ++ ++&mmc0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc0_pins>; ++ vmmc-supply = <®_dcdc1>; ++ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; ++ disable-wp; ++ bus-width = <4>; ++ status = "okay"; ++}; ++ ++&mmc1 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc1_pins>; ++ vmmc-supply = <®_dldo4>; ++ vqmmc-supply = <®_eldo1>; ++ mmc-pwrseq = <&wifi_pwrseq>; ++ bus-width = <4>; ++ non-removable; ++ status = "okay"; ++ ++ rtl8723cs: wifi@1 { ++ reg = <1>; ++ }; ++}; ++ ++&mmc2 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&mmc2_pins>, <&mmc2_ds_pin>; ++ vmmc-supply = <®_dcdc1>; ++ vqmmc-supply = <®_eldo1>; ++ bus-width = <8>; ++ non-removable; ++ cap-mmc-hw-reset; ++ mmc-hs200-1_8v; ++ status = "okay"; ++}; ++ ++&ohci0 { ++ phys = <&usbphy 0>; ++ phy-names = "usb"; ++ status = "okay"; ++}; ++ ++&ohci1 { ++ status = "okay"; ++}; ++ ++&pwm { ++ status = "okay"; ++}; ++ ++&r_rsb { ++ status = "okay"; ++ ++ axp803: pmic@3a3 { ++ compatible = "x-powers,axp803"; ++ reg = <0x3a3>; ++ interrupt-parent = <&r_intc>; ++ interrupts = <0 IRQ_TYPE_LEVEL_LOW>; ++ }; ++}; ++ ++/* The ANX6345 eDP-bridge is on r_i2c */ ++&r_i2c { ++ clock-frequency = <100000>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&r_i2c_pl89_pins>; ++ status = "okay"; ++}; ++ ++#include "axp803.dtsi" ++ ++®_aldo1 { ++ regulator-min-microvolt = <2800000>; ++ regulator-max-microvolt = <2800000>; ++ regulator-name = "vcc-csi"; ++}; ++ ++®_aldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-pl"; ++}; ++ ++®_aldo3 { ++ regulator-always-on; ++ regulator-min-microvolt = <2700000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-pll-avcc"; ++}; ++ ++®_dc1sw { ++ regulator-name = "vcc-lcd"; ++}; ++ ++®_dcdc1 { ++ regulator-always-on; ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-3v3"; ++}; ++ ++®_dcdc2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1000000>; ++ regulator-max-microvolt = <1300000>; ++ regulator-name = "vdd-cpux"; ++}; ++ ++/* DCDC3 is polyphased with DCDC2 */ ++ ++®_dcdc5 { ++ regulator-always-on; ++ regulator-min-microvolt = <1200000>; ++ regulator-max-microvolt = <1200000>; ++ regulator-name = "vcc-dram"; ++}; ++ ++®_dcdc6 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-sys"; ++}; ++ ++®_dldo1 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-hdmi"; ++}; ++ ++®_dldo2 { ++ regulator-min-microvolt = <2500000>; ++ regulator-max-microvolt = <2500000>; ++ regulator-name = "vcc-edp"; ++}; ++ ++®_dldo3 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "avdd-csi"; ++}; ++ ++®_dldo4 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-wifi"; ++}; ++ ++®_eldo1 { ++ regulator-always-on; ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "cpvdd"; ++}; ++ ++®_eldo3 { ++ regulator-min-microvolt = <1800000>; ++ regulator-max-microvolt = <1800000>; ++ regulator-name = "vdd-1v8-csi"; ++}; ++ ++®_fldo1 { ++ regulator-min-microvolt = <1200000>; ++ regulator-max-microvolt = <1200000>; ++ regulator-name = "vcc-1v2-hsic"; ++}; ++ ++®_fldo2 { ++ regulator-always-on; ++ regulator-min-microvolt = <1100000>; ++ regulator-max-microvolt = <1100000>; ++ regulator-name = "vdd-cpus"; ++}; ++ ++®_ldo_io0 { ++ regulator-min-microvolt = <3300000>; ++ regulator-max-microvolt = <3300000>; ++ regulator-name = "vcc-usb"; ++ status = "okay"; ++}; ++ ++®_rtc_ldo { ++ regulator-name = "vcc-rtc"; ++}; ++ ++&simplefb_hdmi { ++ vcc-hdmi-supply = <®_dldo1>; ++}; ++ ++&uart0 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart0_pb_pins>; ++ status = "okay"; ++}; ++ ++&usb_otg { ++ dr_mode = "host"; ++}; ++ ++&usbphy { ++ usb0_vbus-supply = <®_ldo_io0>; ++ usb1_vbus-supply = <®_ldo_io0>; ++ status = "okay"; ++}; +diff --git a/configs/pinebook_defconfig b/configs/pinebook_defconfig +new file mode 100644 +index 0000000000..5294dbd2eb +--- /dev/null ++++ b/configs/pinebook_defconfig +@@ -0,0 +1,22 @@ ++CONFIG_ARM=y ++CONFIG_ARCH_SUNXI=y ++CONFIG_SPL=y ++CONFIG_MACH_SUN50I=y ++CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y ++CONFIG_DRAM_CLK=552 ++CONFIG_DRAM_ZQ=3881949 ++CONFIG_MMC_SUNXI_SLOT_EXTRA=2 ++CONFIG_R_I2C_ENABLE=y ++# CONFIG_CMD_FLASH is not set ++# CONFIG_SPL_DOS_PARTITION is not set ++# CONFIG_SPL_EFI_PARTITION is not set ++CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinebook" ++CONFIG_DM_REGULATOR=y ++CONFIG_DM_REGULATOR_FIXED=y ++CONFIG_DM_PWM=y ++CONFIG_PWM_SUNXI=y ++CONFIG_USB_EHCI_HCD=y ++CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y ++# CONFIG_USB_GADGET is not set ++CONFIG_VIDEO_BRIDGE=y ++CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y +-- +2.11.0 + diff --git a/gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch b/gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch new file mode 100644 index 0000000000..118bdf8e0c --- /dev/null +++ b/gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch @@ -0,0 +1,98 @@ +From 20940ef2a397446a209350900d3bd618c3fd5b94 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:28 -0800 +Subject: [PATCH 07/13] mmc: sunxi: add support for automatic delay calibration + +A64 and H6 support automatic delay calibration and Linux driver uses it +instead of hardcoded delays. Add support for it to u-boot driver. + +Fixes eMMC instability on Pinebook + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Reviewed-by: Andre Przywara +Cc: Vagrant Cascadian +Reviewed-by: Jagan Teki +--- + arch/arm/include/asm/arch-sunxi/mmc.h | 6 +++++- + drivers/mmc/sunxi_mmc.c | 21 ++++++++++++++++++++- + 2 files changed, 25 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/include/asm/arch-sunxi/mmc.h b/arch/arm/include/asm/arch-sunxi/mmc.h +index d98c53faaa..f2deafddd2 100644 +--- a/arch/arm/include/asm/arch-sunxi/mmc.h ++++ b/arch/arm/include/asm/arch-sunxi/mmc.h +@@ -46,7 +46,9 @@ struct sunxi_mmc { + u32 cbda; /* 0x94 */ + u32 res2[26]; + #if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_MACH_SUN50I_H6) +- u32 res3[64]; ++ u32 res3[17]; ++ u32 samp_dl; ++ u32 res4[46]; + #endif + u32 fifo; /* 0x100 / 0x200 FIFO access address */ + }; +@@ -130,5 +132,7 @@ struct sunxi_mmc { + #define SUNXI_MMC_COMMON_CLK_GATE (1 << 16) + #define SUNXI_MMC_COMMON_RESET (1 << 18) + ++#define SUNXI_MMC_CAL_DL_SW_EN (0x1 << 7) ++ + struct mmc *sunxi_mmc_init(int sdc_no); + #endif /* _SUNXI_MMC_H */ +diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c +index 39f15eb423..147eb9b4d5 100644 +--- a/drivers/mmc/sunxi_mmc.c ++++ b/drivers/mmc/sunxi_mmc.c +@@ -99,11 +99,16 @@ static int mmc_set_mod_clk(struct sunxi_mmc_priv *priv, unsigned int hz) + { + unsigned int pll, pll_hz, div, n, oclk_dly, sclk_dly; + bool new_mode = false; ++ bool calibrate = false; + u32 val = 0; + + if (IS_ENABLED(CONFIG_MMC_SUNXI_HAS_NEW_MODE) && (priv->mmc_no == 2)) + new_mode = true; + ++#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN50I_H6) ++ calibrate = true; ++#endif ++ + /* + * The MMC clock has an extra /2 post-divider when operating in the new + * mode. +@@ -174,7 +179,11 @@ static int mmc_set_mod_clk(struct sunxi_mmc_priv *priv, unsigned int hz) + val = CCM_MMC_CTRL_MODE_SEL_NEW; + setbits_le32(&priv->reg->ntsr, SUNXI_MMC_NTSR_MODE_SEL_NEW); + #endif +- } else { ++ } else if (!calibrate) { ++ /* ++ * Use hardcoded delay values if controller doesn't support ++ * calibration ++ */ + val = CCM_MMC_CTRL_OCLK_DLY(oclk_dly) | + CCM_MMC_CTRL_SCLK_DLY(sclk_dly); + } +@@ -228,6 +237,16 @@ static int mmc_config_clock(struct sunxi_mmc_priv *priv, struct mmc *mmc) + rval &= ~SUNXI_MMC_CLK_DIVIDER_MASK; + writel(rval, &priv->reg->clkcr); + ++#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN50I_H6) ++ /* A64 supports calibration of delays on MMC controller and we ++ * have to set delay of zero before starting calibration. ++ * Allwinner BSP driver sets a delay only in the case of ++ * using HS400 which is not supported by mainline U-Boot or ++ * Linux at the moment ++ */ ++ writel(SUNXI_MMC_CAL_DL_SW_EN, &priv->reg->samp_dl); ++#endif ++ + /* Re-enable Clock */ + rval |= SUNXI_MMC_CLK_ENABLE; + writel(rval, &priv->reg->clkcr); +-- +2.11.0 + diff --git a/gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch b/gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch new file mode 100644 index 0000000000..824a16b9db --- /dev/null +++ b/gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch @@ -0,0 +1,70 @@ +From 31a4ac4d79d75baeede3edfa95515fd4169ef502 Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:30 -0800 +Subject: [PATCH 09/13] sun50i: A64: add support for R_I2C controller + +Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has +two groups of pinmuxes on PL bank, so it's called R_I2C. + +Add support for this I2C controller and the pinmux which doesn't conflict +with RSB. + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Cc: Vagrant Cascadian +Acked-by: Jagan Teki +--- + arch/arm/include/asm/arch-sunxi/gpio.h | 1 + + arch/arm/mach-sunxi/Kconfig | 1 + + board/sunxi/board.c | 6 ++++++ + 3 files changed, 8 insertions(+) + +diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h +index 6a5eafc3d3..2daf23f6f5 100644 +--- a/arch/arm/include/asm/arch-sunxi/gpio.h ++++ b/arch/arm/include/asm/arch-sunxi/gpio.h +@@ -211,6 +211,7 @@ enum sunxi_gpio_number { + #define SUN8I_H3_GPL_R_TWI 2 + #define SUN8I_A23_GPL_R_TWI 3 + #define SUN8I_GPL_R_UART 2 ++#define SUN50I_GPL_R_TWI 2 + + #define SUN9I_GPN_R_RSB 3 + +diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig +index 6277abc3cc..560dc9b25d 100644 +--- a/arch/arm/mach-sunxi/Kconfig ++++ b/arch/arm/mach-sunxi/Kconfig +@@ -278,6 +278,7 @@ config MACH_SUN50I + select ARM64 + select DM_I2C + select PHY_SUN4I_USB ++ select SUN6I_PRCM + select SUNXI_DE2 + select SUNXI_GEN_SUN6I + select SUPPORT_SPL +diff --git a/board/sunxi/board.c b/board/sunxi/board.c +index b196d48674..64ccbc7245 100644 +--- a/board/sunxi/board.c ++++ b/board/sunxi/board.c +@@ -168,10 +168,16 @@ void i2c_init_board(void) + #endif + + #ifdef CONFIG_R_I2C_ENABLE ++#ifdef CONFIG_MACH_SUN50I ++ clock_twi_onoff(5, 1); ++ sunxi_gpio_set_cfgpin(SUNXI_GPL(8), SUN50I_GPL_R_TWI); ++ sunxi_gpio_set_cfgpin(SUNXI_GPL(9), SUN50I_GPL_R_TWI); ++#else + clock_twi_onoff(5, 1); + sunxi_gpio_set_cfgpin(SUNXI_GPL(0), SUN8I_H3_GPL_R_TWI); + sunxi_gpio_set_cfgpin(SUNXI_GPL(1), SUN8I_H3_GPL_R_TWI); + #endif ++#endif + } + + #if defined(CONFIG_ENV_IS_IN_MMC) && defined(CONFIG_ENV_IS_IN_FAT) +-- +2.11.0 + diff --git a/gnu/packages/patches/u-boot-pinebook-syscon-node.patch b/gnu/packages/patches/u-boot-pinebook-syscon-node.patch new file mode 100644 index 0000000000..9289645bec --- /dev/null +++ b/gnu/packages/patches/u-boot-pinebook-syscon-node.patch @@ -0,0 +1,38 @@ +From ababb5920e8992c9bb7956df3cc85dc68d27dfe8 Mon Sep 17 00:00:00 2001 +From: Andre Przywara +Date: Mon, 29 Oct 2018 00:56:48 +0000 +Subject: [PATCH 04/13] sunxi: A64: Re-add syscon to DT node + +The sun50i-a64.dtsi changes introduced in Linux v4.19-rc1 changed the +compatible name for the syscon controller, dropping the generic "syscon" +fallback. Using this new DT node will make the Ethernet driver in every +older kernel (or non-Linux kernels) fail to initialise the MAC device. + +To allow booting distribution kernels (from installer images via UEFI, +for instance), re-add the syscon compatible string as a fallback. This +works with both older and newer kernels. + +Signed-off-by: Andre Przywara +Acked-by: Maxime Ripard +Reviewed-by: Jagan Teki +--- + arch/arm/dts/sun50i-a64.dtsi | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi +index f3a66f8882..ff41abc96a 100644 +--- a/arch/arm/dts/sun50i-a64.dtsi ++++ b/arch/arm/dts/sun50i-a64.dtsi +@@ -259,7 +259,8 @@ + }; + + syscon: syscon@1c00000 { +- compatible = "allwinner,sun50i-a64-system-control"; ++ compatible = "allwinner,sun50i-a64-system-control", ++ "syscon"; + reg = <0x01c00000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; +-- +2.11.0 + diff --git a/gnu/packages/patches/u-boot-pinebook-video-bridge.patch b/gnu/packages/patches/u-boot-pinebook-video-bridge.patch new file mode 100644 index 0000000000..8c6ca8a992 --- /dev/null +++ b/gnu/packages/patches/u-boot-pinebook-video-bridge.patch @@ -0,0 +1,50 @@ +From 8336a43792a103c13d939b3925cb75322911f7fb Mon Sep 17 00:00:00 2001 +From: Vasily Khoruzhick +Date: Mon, 5 Nov 2018 20:24:29 -0800 +Subject: [PATCH 08/13] dm: video: bridge: don't fail to activate bridge if + reset or sleep GPIO is missing + +Both GPIOs are optional, so we shouldn't fail if any is missing. +Without this fix reset is not deasserted if sleep GPIO is missing. + +Signed-off-by: Vasily Khoruzhick +Acked-by: Maxime Ripard +Tested-by: Maxime Ripard +Reviewed-by: Andre Przywara +Cc: Vagrant Cascadian +--- + drivers/video/bridge/video-bridge-uclass.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +diff --git a/drivers/video/bridge/video-bridge-uclass.c b/drivers/video/bridge/video-bridge-uclass.c +index cd4959cc71..5fecb4cfd5 100644 +--- a/drivers/video/bridge/video-bridge-uclass.c ++++ b/drivers/video/bridge/video-bridge-uclass.c +@@ -106,13 +106,19 @@ static int video_bridge_pre_probe(struct udevice *dev) + int video_bridge_set_active(struct udevice *dev, bool active) + { + struct video_bridge_priv *uc_priv = dev_get_uclass_priv(dev); +- int ret; ++ int ret = 0; + + debug("%s: %d\n", __func__, active); +- ret = dm_gpio_set_value(&uc_priv->sleep, !active); +- if (ret) +- return ret; +- if (active) { ++ if (uc_priv->sleep.dev) { ++ ret = dm_gpio_set_value(&uc_priv->sleep, !active); ++ if (ret) ++ return ret; ++ } ++ ++ if (!active) ++ return 0; ++ ++ if (uc_priv->reset.dev) { + ret = dm_gpio_set_value(&uc_priv->reset, true); + if (ret) + return ret; +-- +2.11.0 + diff --git a/gnu/packages/patches/vsearch-unbundle-cityhash.patch b/gnu/packages/patches/vsearch-unbundle-cityhash.patch index b1ecb1f063..2a2ab13a73 100644 --- a/gnu/packages/patches/vsearch-unbundle-cityhash.patch +++ b/gnu/packages/patches/vsearch-unbundle-cityhash.patch @@ -6,7 +6,7 @@ index e56a8a2..4adcc48 100644 if TARGET_PPC AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g -mcpu=power8 else --AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g +-AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g -march=x86-64 -mtune=generic +AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g -lcityhash endif @@ -39,7 +39,7 @@ index e56a8a2..4adcc48 100644 - if TARGET_WIN --libcityhash_a_CXXFLAGS = -Wall -Wno-sign-compare -O3 -g -D_MSC_VER +-libcityhash_a_CXXFLAGS = $(AM_CXXFLAGS) -Wno-sign-compare -D_MSC_VER -__top_builddir__bin_vsearch_LDFLAGS = -static -__top_builddir__bin_vsearch_LDADD = libregex.a libcityhash.a libcpu_ssse3.a libcpu_sse2.a +__top_builddir__bin_vsearch_LDFLAGS = -static -lcityhash @@ -47,7 +47,7 @@ index e56a8a2..4adcc48 100644 else --libcityhash_a_CXXFLAGS = -Wall -Wno-sign-compare -O3 -g +-libcityhash_a_CXXFLAGS = $(AM_CXXFLAGS) -Wno-sign-compare - if TARGET_PPC -__top_builddir__bin_vsearch_LDADD = libcityhash.a libcpu.a diff --git a/gnu/packages/patches/wxmaxima-do-not-use-old-gnuplot-parameters.patch b/gnu/packages/patches/wxmaxima-do-not-use-old-gnuplot-parameters.patch deleted file mode 100644 index 345101bd3a..0000000000 --- a/gnu/packages/patches/wxmaxima-do-not-use-old-gnuplot-parameters.patch +++ /dev/null @@ -1,26 +0,0 @@ -This fixes the wxplot2d plotting issue found at -https://github.com/andrejv/wxmaxima/issues/973. - -From 5a0693c97ceaa4935b908f1e478126896952f399 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Gunter=20K=C3=B6nigsmann?= -Date: Mon, 19 Feb 2018 05:37:35 +0100 -Subject: [PATCH] Seems I accidentally made wxMaxima to default to parameters - for old gnuplots. Resolves #973 - ---- - data/wxmathml.lisp.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/data/wxmathml.lisp.in b/data/wxmathml.lisp.in -index a32e3fc3..4e19acaf 100644 ---- a/data/wxmathml.lisp.in -+++ b/data/wxmathml.lisp.in -@@ -43,7 +43,7 @@ - (defvar $wxsubscripts t - "Recognize TeX-style subscripts") - (defvar $wxplot_pngcairo nil "Use gnuplot's pngcairo terminal for new plots?") --(defmvar $wxplot_old_gnuplot t) -+(defmvar $wxplot_old_gnuplot nil) - - (defun $wxstatusbar (status) - (format t "~a~%" status)) diff --git a/gnu/packages/patches/x265-arm-flags.patch b/gnu/packages/patches/x265-arm-flags.patch new file mode 100644 index 0000000000..f17e26f6f1 --- /dev/null +++ b/gnu/packages/patches/x265-arm-flags.patch @@ -0,0 +1,36 @@ +https://sources.debian.org/src/x265/2.9-3/debian/patches/0001-Fix-arm-flags.patch/ + +From: Sebastian Ramacher +Date: Wed, 26 Apr 2017 22:05:06 +0200 +Subject: Fix arm* flags + +--- + source/CMakeLists.txt | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt +index 33b6523..25aecbb 100644 +--- a/source/CMakeLists.txt ++++ b/source/CMakeLists.txt +@@ -72,7 +72,7 @@ elseif(ARMMATCH GREATER "-1") + endif() + message(STATUS "Detected ARM target processor") + set(ARM 1) +- add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1) ++ # add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1) + else() + message(STATUS "CMAKE_SYSTEM_PROCESSOR value `${CMAKE_SYSTEM_PROCESSOR}` is unknown") + message(STATUS "Please add this value near ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE}") +@@ -230,12 +230,8 @@ if(GCC) + if(ARM AND CROSS_COMPILE_ARM) + set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC) + elseif(ARM) +- find_package(Neon) + if(CPU_HAS_NEON) +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC) + add_definitions(-DHAVE_NEON) +- else() +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm) + endif() + endif() + add_definitions(${ARM_ARGS}) diff --git a/gnu/packages/patches/xapian-revert-5489fb2f8.patch b/gnu/packages/patches/xapian-revert-5489fb2f8.patch deleted file mode 100644 index 7b78e2abb5..0000000000 --- a/gnu/packages/patches/xapian-revert-5489fb2f8.patch +++ /dev/null @@ -1,23 +0,0 @@ -Revert this upstream commit which breaks a test case in "notmuch": - -https://git.xapian.org/?p=xapian;a=commitdiff;h=5489fb2f838c0f0b0a593b4c17df282a93a1fe5a - -See the notmuch FAQ entry: - -https://notmuchmail.org/faq/#index12h2 - -This should be fixed for later releases. - -diff --git a/backends/glass/glass_postlist.cc b/xapian-core/backends/glass/glass_postlist.cc -index 80e578b85..a47f14a68 100644 ---- a/backends/glass/glass_postlist.cc -+++ b/backends/glass/glass_postlist.cc -@@ -759,7 +759,7 @@ GlassPostList::open_nearby_postlist(const std::string & term_, - (void)need_pos; - if (term_.empty()) - RETURN(NULL); -- if (!this_db.get() || this_db->postlist_table.is_modified()) -+ if (!this_db.get() || this_db->postlist_table.is_writable()) - RETURN(NULL); - RETURN(new GlassPostList(this_db, term_, cursor->clone())); - } diff --git a/gnu/packages/patches/zathura-pdf-mupdf-link-to-jpeg-libraries.patch b/gnu/packages/patches/zathura-pdf-mupdf-link-to-jpeg-libraries.patch deleted file mode 100644 index 63e058bbef..0000000000 --- a/gnu/packages/patches/zathura-pdf-mupdf-link-to-jpeg-libraries.patch +++ /dev/null @@ -1,55 +0,0 @@ -From: Tobias Geerinckx-Rice -Date: Mon, 18 Jun 2018 02:37:41 +0200 -Subject: zathura-pdf-mupdf: Link to JPEG libraries. - -As of version 0.3.3, zathura-pdf-mupdf no longer links to some required -JPEG libraries, leading to such errors as: - - $ zathura foo.pdf - error: Could not load plugin '/gnu/store/...-profile/lib/zathura/libpdf-mupdf.so' (/gnu/store/...-profile/lib/zathura/libpdf-mupdf.so: undefined symbol: jpeg_resync_to_restart). - -The patch below, copied verbatim from Arch[0], fixes that. -Its description happens to match our reality, too. - -[0]: https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/zathura-pdf-mupdf ---- -From 3fb0ff750373d45d4f5172ce1d41b74183cd07e8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= -Date: Sat, 24 Mar 2018 14:31:18 +0100 -Subject: [PATCH] Explicitly link against jbig2dec, openjp2, and jpeg -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Normally these are statically linked into libmupdfthird, but we delete -those to make mupdf use the system libraries. Previously -zathura-pdf-mupdf explicitly linked against them, but this is -technically incorrect since they are supposed to be in libmupdfthird so -that was removed. This commit essentially reverts that in the new build -system. - -Signed-off-by: Johannes Löthberg ---- - meson.build | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 3b0d7b7..ae2fc9c 100644 ---- a/meson.build -+++ b/meson.build -@@ -22,7 +22,11 @@ cairo = dependency('cairo') - mupdf = cc.find_library('mupdf') - mupdfthird = cc.find_library('mupdfthird') - --build_dependencies = [zathura, girara, glib, cairo, mupdf, mupdfthird] -+jbig2dec = cc.find_library('jbig2dec') -+openjp2 = cc.find_library('openjp2') -+jpeg = cc.find_library('jpeg') -+ -+build_dependencies = [zathura, girara, glib, cairo, mupdf, mupdfthird, jbig2dec, openjp2, jpeg] - - # defines - defines = [ --- -2.16.3 - diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index 688e62cdc8..b655399345 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -43,7 +43,7 @@ (define-public patchutils (package (name "patchutils") - (version "0.3.3") + (version "0.3.4") (source (origin (method url-fetch) @@ -51,8 +51,8 @@ name "-" version ".tar.xz")) (sha256 (base32 - "0g5df00cj4nczrmr4k791l7la0sq2wnf8rn981fsrz1f3d2yix4i")) - (patches (search-patches "patchutils-xfail-gendiff-tests.patch")))) + "0xp8mcfyi5nmb5a2zi5ibmyshxkb1zv1dgmnyn413m7ahgdx8mfg")) + (patches (search-patches "patchutils-test-perms.patch")))) (build-system gnu-build-system) (inputs `(("perl" ,perl))) (arguments @@ -61,10 +61,8 @@ (modify-phases %standard-phases (add-before 'check 'patch-test-scripts (lambda _ - (let ((echo (which "echo"))) - (substitute* - (find-files "tests" "^run-test$") - (("/bin/echo") echo))) + (substitute* (find-files "tests" "^run-test$") + (("/bin/echo") (which "echo"))) #t)) (add-after 'install 'wrap-program ;; Point installed scripts to the utilities they need. @@ -104,8 +102,8 @@ listing the files modified by a patch.") (base32 "06b816m2gz9jfif7k9v2hrm7fz76zjg5pavf7hd3ifybwn4cgjzn")) (patches (search-patches "quilt-test-fix-regex.patch" - "quilt-compat-getopt-fix-second-separator.patch" - "quilt-compat-getopt-fix-option-with-nondigit-param.patch")))) + "quilt-getopt-second-separator.patch" + "quilt-getopt-nondigit-param.patch")))) (build-system gnu-build-system) (native-inputs `(("gettext" ,gnu-gettext))) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index a28005a024..4170e4a0ae 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2015, 2016 Andreas Enge ;;; Copyright © 2014 Mark H Weaver -;;; Copyright © 2014, 2015, 2016 Ricardo Wurmus +;;; Copyright © 2014, 2015, 2016, 2018 Ricardo Wurmus ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2016 Roel Janssen ;;; Copyright © 2016 Nils Gillmann @@ -12,7 +12,7 @@ ;;; Copyright © 2016 Arun Isaac ;;; Copyright © 2017, 2018 Leo Famulari ;;; Copyright © 2017 Alex Vong -;;; Copyright © 2017 Rene Saavedra +;;; Copyright © 2017, 2018 Rene Saavedra ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -34,6 +34,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) @@ -58,6 +59,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) @@ -80,6 +82,7 @@ (define-public poppler (package (name "poppler") + (replacement poppler/fixed) (version "0.68.0") (source (origin (method url-fetch) @@ -129,6 +132,14 @@ (license license:gpl2+) (home-page "https://poppler.freedesktop.org/"))) +(define poppler/fixed + (package + (inherit poppler) + (source (origin + (inherit (package-source poppler)) + (patches (append (origin-patches (package-source poppler)) + (search-patches "poppler-CVE-2018-19149.patch"))))))) + (define-public poppler-data (package (name "poppler-data") @@ -160,14 +171,14 @@ When present, Poppler is able to correctly render CJK and Cyrillic text.") license:gpl2)))) (define-public poppler-qt4 - (package (inherit poppler) + (package/inherit poppler (name "poppler-qt4") (inputs `(("qt-4" ,qt-4) ,@(package-inputs poppler))) (synopsis "Qt4 frontend for the Poppler PDF rendering library"))) (define-public poppler-qt5 - (package (inherit poppler) + (package/inherit poppler (name "poppler-qt5") (inputs `(("qtbase" ,qtbase) ,@(package-inputs poppler))) @@ -225,26 +236,23 @@ Poppler PDF rendering library.") (name "libharu") (version "2.3.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/libharu/libharu/archive/" - "RELEASE_" - (string-join (string-split version #\.) "_") - ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/libharu/libharu.git") + (commit (string-append + "RELEASE_" + (string-join (string-split version #\.) "_"))))) + (file-name (git-file-name name version)) (sha256 (base32 - "1lm4v539y9cb1lvbq387j57sy7yxda3yv8b1pk8m6zazbp66i7lg")))) + "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "--with-zlib=" (assoc-ref %build-inputs "zlib")) (string-append "--with-png=" - (assoc-ref %build-inputs "libpng"))) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'autogen - (lambda _ (invoke "autoreconf" "-vif")))))) + (assoc-ref %build-inputs "libpng"))))) (inputs `(("zlib" ,zlib) ("libpng" ,libpng))) @@ -417,17 +425,15 @@ using the DjVuLibre library.") (define-public zathura-pdf-mupdf (package (name "zathura-pdf-mupdf") - (version "0.3.3") + (version "0.3.4") (source (origin (method url-fetch) (uri (string-append "https://pwmt.org/projects/zathura-pdf-mupdf" "/download/zathura-pdf-mupdf-" version ".tar.xz")) - (patches - (search-patches "zathura-pdf-mupdf-link-to-jpeg-libraries.patch")) (sha256 (base32 - "1zbdqimav4wfgimpy3nfzl10qj7vyv23rdy2z5z7z93jwbp2rc2j")))) + "166d5nz47ixzwj4pixsd5fd9qvjf5v34cdqi3p72vr23pswk2hyn")))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("jbig2dec" ,jbig2dec) @@ -439,17 +445,9 @@ using the DjVuLibre library.") (build-system meson-build-system) (arguments `(#:tests? #f ; package does not contain tests - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-plugin-directory - ;; Something of a regression in 0.3.3: the new Meson build system - ;; now hard-codes an incorrect plugin directory. Fix it. - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "meson.build" - (("(install_dir:).*" _ key) - (string-append key - "'" (assoc-ref outputs "out") "/lib/zathura'\n"))) - #t))))) + #:configure-flags (list (string-append "-Dplugindir=" + (assoc-ref %outputs "out") + "/lib/zathura")))) (home-page "https://pwmt.org/projects/zathura-pdf-mupdf/") (synopsis "PDF support for zathura (mupdf backend)") (description "The zathura-pdf-mupdf plugin adds PDF support to zathura @@ -559,7 +557,8 @@ interaction.") "/podofo-" version ".tar.gz")) (sha256 (base32 - "0wj0y4zcmj4q79wrn3vv3xq4bb0vhhxs8yifafwy9f2sjm83c5p9")))) + "0wj0y4zcmj4q79wrn3vv3xq4bb0vhhxs8yifafwy9f2sjm83c5p9")) + (patches (search-patches "podofo-cmake-3.12.patch")))) (build-system cmake-build-system) (native-inputs `(("cppunit" ,cppunit) @@ -598,7 +597,7 @@ extracting content or merging files.") (define-public mupdf (package (name "mupdf") - (version "1.13.0") + (version "1.14.0") (source (origin (method url-fetch) @@ -606,9 +605,17 @@ extracting content or merging files.") name "-" version "-source.tar.xz")) (sha256 (base32 - "0129k92bav692l6lyw10ryldx7h2f9khjpgnp3f3n4fdsph9hrkl")) + "1psnz02w5p7wc1s1ma7vvjmkjfy641xvsh9ykaqzkk84dflnjgk0")) (modules '((guix build utils))) - (snippet '(begin (delete-file-recursively "thirdparty") #t)))) + (snippet + ;; We keep lcms2 since it is different than our lcms. + '(begin + (for-each + (lambda (dir) + (delete-file-recursively (string-append "thirdparty/" dir))) + '("curl" "freeglut" "freetype" "harfbuzz" "jbig2dec" + "libjpeg" "mujs" "openjpeg" "zlib")) + #t)))) (build-system gnu-build-system) (inputs `(("curl" ,curl) @@ -629,6 +636,8 @@ extracting content or merging files.") '(#:tests? #f ; no check target #:make-flags (list "CC=gcc" "XCFLAGS=-fpic" + "USE_SYSTEM_LIBS=yes" + "USE_SYSTEM_MUJS=yes" (string-append "prefix=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure)))) @@ -643,7 +652,11 @@ listing the table of contents and hyperlinks. The library ships with a rudimentary X11 viewer, and a set of command line tools for batch rendering @command{pdfdraw}, rewriting files @command{pdfclean}, and examining the file structure @command{pdfshow}.") - (license license:agpl3+))) + (license (list license:agpl3+ + license:bsd-3 ; resources/cmaps + license:x11 ; thirdparty/lcms2 + license:silofl1.1 ; resources/fonts/{han,noto,sil,urw} + license:asl2.0)))) ; resources/fonts/droid (define-public qpdf (package @@ -864,14 +877,14 @@ the framebuffer.") (name "pdf2svg") (version "0.2.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/dawbarton/pdf2svg/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dawbarton/pdf2svg.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "12pa1pajirnlrkz2il3h4l30lc2prryk1qr132jk6z9y1c3qdcag")))) + "14ffdm4y26imq99wjhkrhy9lp33165xci1l5ndwfia8hz53bl02k")))) (build-system gnu-build-system) (inputs `(("cairo" ,cairo) @@ -988,7 +1001,7 @@ PDF. Indeed @command{pdfposter} was inspired by @command{poster}.") (define-public pdfgrep (package (name "pdfgrep") - (version "2.1.1") + (version "2.1.2") (source (origin (method url-fetch) @@ -996,7 +1009,7 @@ PDF. Indeed @command{pdfposter} was inspired by @command{poster}.") name "-" version ".tar.gz")) (sha256 (base32 - "02qcl5kmr5qzjfc99qpbpfb1890bxlrq3r208gnding51zrmb09c")))) + "1fia10djcxxl7n9jw2prargw4yzbykk6izig2443ycj9syhxrwqf")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -1012,3 +1025,41 @@ Support some GNU grep options as file name output, page number output, optional case insensitivity, count occurrences, color highlights and search in multiple files.") (license license:gpl2+))) + +(define-public pdfpc + (package + (name "pdfpc") + (version "4.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pdfpc/pdfpc.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rmsrpf5vlqhnyyrhq8apndny88ld2qvfjx6258653pqbimv7mx5")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f)) ; no test target + (inputs + `(("cairo" ,cairo) + ("gtk+" ,gtk+) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) + ("libgee" ,libgee) + ("poppler" ,poppler) + ("pango" ,pango) + ("vala" ,vala))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://pdfpc.github.io/") + (synopsis "Presenter console with multi-monitor support for PDF files") + (description + "pdfpc is a presentation viewer application which uses multi-monitor +output to provide meta information to the speaker during the presentation. It +is able to show a normal presentation window on one screen, while showing a +more sophisticated overview on the other one providing information like a +picture of the next slide, as well as the left over time till the end of the +presentation. The input files processed by pdfpc are PDF documents.") + (license license:gpl2+))) diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm index 98b4e392c7..d0abb39254 100644 --- a/gnu/packages/perl-check.scm +++ b/gnu/packages/perl-check.scm @@ -82,7 +82,7 @@ lexically, just dynamically.") '(#:phases (modify-phases %standard-phases (add-after 'unpack 'set-env - (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1")))))) + (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t))))) (propagated-inputs `(("perl-importer" ,perl-importer) ("perl-term-table" ,perl-term-table) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index cadef602e4..8c854e88df 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -327,7 +327,7 @@ sometimes even without using a single syscall.") (define-public perl-autovivification (package (name "perl-autovivification") - (version "0.16") + (version "0.18") (source (origin (method url-fetch) @@ -335,7 +335,7 @@ sometimes even without using a single syscall.") "autovivification-" version ".tar.gz")) (sha256 (base32 - "1422kw9fknv7rbjkgdfflg1q3mb69d3yryszp38dn0bgzkqhwkc1")))) + "01giacr2sx6b9bgfz6aqw7ndcnf08j8n6kwhm7880a94hmb9g69d")))) (build-system perl-build-system) (home-page "https://metacpan.org/release/autovivification") (synopsis "Lexically disable autovivification") @@ -2877,7 +2877,8 @@ interface for the RFC 2104 HMAC mechanism.") (add-after 'build 'set-permissions (lambda _ ;; Make MD5.so read-write so it can be stripped. - (chmod "blib/arch/auto/Digest/MD5/MD5.so" #o755)))))) + (chmod "blib/arch/auto/Digest/MD5/MD5.so" #o755) + #t))))) (home-page "https://metacpan.org/release/Digest-MD5") (synopsis "Perl interface to the MD-5 algorithm") (description @@ -3003,7 +3004,7 @@ also known as JIS 2000.") '(#:phases (modify-phases %standard-phases (add-after 'unpack 'set-env - (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1")))))) + (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t))))) (home-page "https://metacpan.org/release/Encode-HanExtra") (synopsis "Additional Chinese encodings") (description "This Perl module provides Chinese encodings that are not @@ -4278,7 +4279,8 @@ run interactively. It also has an option to capture output/error buffers.") (lambda _ ;; This test fails, and we're not really interested in ;; it, so disable it. - (delete-file "t/win32_compile.t")))))) + (delete-file "t/win32_compile.t") + #t))))) (home-page "https://metacpan.org/release/IPC-Run") (synopsis "Run system() and background procs w/ piping, redirs, ptys") (description "IPC::Run allows you run and interact with child processes @@ -6867,7 +6869,8 @@ directory specifications in a cross-platform manner.") (substitute* "Cwd.pm" (("'/bin/pwd'") (string-append "'" (assoc-ref inputs "coreutils") - "/bin/pwd'")))))))) + "/bin/pwd'"))) + #t))))) (inputs `(("coreutils" ,coreutils))) (home-page "https://metacpan.org/release/PathTools") diff --git a/gnu/packages/phabricator.scm b/gnu/packages/phabricator.scm new file mode 100644 index 0000000000..6c94a13114 --- /dev/null +++ b/gnu/packages/phabricator.scm @@ -0,0 +1,124 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Robin Templeton +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages phabricator) + #:use-module (gnu packages php) + #:use-module (gnu packages version-control) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public libphutil + (let ((commit "b29d76e1709ef018cc5edc7c03033fd9fdebc578") + (revision "1")) + (package + (name "libphutil") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phacility/libphutil.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06j84721r9r8624fmil62b5crs2qs0v6rr3cvv2zvkvwhxwrwv1l")))) + (build-system gnu-build-system) + ;; TODO: Unbundle jsonlint and porter-stemmer. + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (let ((lib (string-append %output "/lib/libphutil"))) + (mkdir-p lib) + (copy-recursively "." lib)) + #t))))) + (inputs + `(("php" ,php))) + (home-page "https://github.com/phacility/libphutil") + (synopsis "PHP utility library") + (description + "@code{libphutil} is a collection of utility classes and functions for +PHP.") + ;; Bundled libraries are expat-licensed. + (license (list license:asl2.0 license:expat))))) + +(define-public arcanist + (let ((commit "45a8d22c74a62624e69f5cd6ce901c9ab2658904") + (revision "1")) + (package + (name "arcanist") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phacility/arcanist.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13vswhqy9sap6841y93j4mj71dl27vhcivcn3rzyi0cchkhg2ac9")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (let ((bin (string-append %output "/bin")) + (lib (string-append %output "/lib/arcanist"))) + (mkdir-p lib) + (copy-recursively "." lib) + (mkdir-p bin) + (symlink (string-append lib "/bin/arc") + (string-append bin "/arc")) + (wrap-program (string-append bin "/arc") + `("ARC_PHUTIL_PATH" = + (,(string-append (assoc-ref %build-inputs "libphutil") + "/lib/libphutil"))) + `("PATH" ":" prefix + (,@(map (lambda (i) + (string-append (assoc-ref %build-inputs i) "/bin")) + '("git" "mercurial" "subversion")))))) + #t)) + (add-before 'reset-gzip-timestamps 'make-compressed-files-writable + (lambda _ + (for-each make-file-writable + (find-files %output ".*\\.t?gz$")) + #t))))) + (inputs + `(("php" ,php) + ("libphutil" ,libphutil) + ("git" ,git) + ("mercurial" ,mercurial) + ("subversion" ,subversion))) + (home-page "https://github.com/phacility/arcanist") + (synopsis "Command-line interface for Phabricator") + (description + "Arcanist is the command-line tool for the Phabricator software +development service. It allows you to interact with Phabricator installs to +send code for review, download patches, transfer files, view status, make API +calls, and various other things.") + (license license:asl2.0)))) diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index db7a9f9d45..9410d1761d 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -69,14 +69,14 @@ (define-public libraw (package (name "libraw") - (version "0.19.0") + (version "0.19.1") (source (origin (method url-fetch) (uri (string-append "https://www.libraw.org/data/LibRaw-" version ".tar.gz")) (sha256 (base32 - "0nfj7s7qmgfy1cl8s3ck7dxjvprfq5glfi6iidmvmy8r7gl52gz8")))) + "1xjyw4n9gfr2r637pjbpbi3h98h9mdjn61b0hsxwqynq2vdij452")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -131,14 +131,14 @@ data as produced by digital cameras.") (define-public libgphoto2 (package (name "libgphoto2") - (version "2.5.19") + (version "2.5.21") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/gphoto/libgphoto/" version "/libgphoto2-" version ".tar.bz2")) (sha256 (base32 - "0qrcc6kajbfb237paxrl904vvwl7hd8mnqvjw00j6m5qwd93wlk2")))) + "1ccb8idjkv19p9zxg6hh8y6vbgs8flpnh550lq6a8cmga8d2nmy5")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) (inputs @@ -206,7 +206,7 @@ MTP, and much more.") (define-public perl-image-exiftool (package (name "perl-image-exiftool") - (version "11.01") + (version "11.11") (source (origin (method url-fetch) (uri (string-append @@ -214,7 +214,7 @@ MTP, and much more.") version ".tar.gz")) (sha256 (base32 - "175w34n73mypdpbaqj2vgqsfp59yvfrn8k7zmx4cawnp895bypvh")))) + "1szg1k82nz88pp5n7lg71ja7q3hh5i5f9bcbb7m482dwrmsywkp6")))) (build-system perl-build-system) (arguments '(#:phases @@ -227,7 +227,8 @@ MTP, and much more.") (pm (find-files out "^ExifTool\\.pm$")) (lib (dirname (dirname (car pm))))) (wrap-program (string-append out "/bin/exiftool") - `("PERL5LIB" prefix (,lib))))))))) + `("PERL5LIB" prefix (,lib))) + #t)))))) (home-page "https://metacpan.org/release/Image-ExifTool") (synopsis "Program and Perl library to manipulate EXIF and other metadata") (description "This package provides the @code{exiftool} command and the @@ -422,7 +423,7 @@ and enhance them.") (define-public hugin (package (name "hugin") - (version "2016.2.0") + (version "2018.0.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/hugin/hugin/hugin-" @@ -430,7 +431,7 @@ and enhance them.") "/hugin-" version ".tar.bz2")) (sha256 (base32 - "058zd63vx29yrx2pphbbll7kzcxkai22q26lpw13rn4lvp41pasl")))) + "1jv5wpqbq49fhbl5g521g1qxhdm1rm7acxd18fr3n3n5d830vbyk")))) (build-system cmake-build-system) (native-inputs `(("gettext" ,gnu-gettext) diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 466b26c238..a28cb31e5c 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -53,7 +53,7 @@ (define-public php (package (name "php") - (version "7.2.10") + (version "7.2.12") (home-page "https://secure.php.net/") (source (origin (method url-fetch) @@ -61,7 +61,7 @@ name "-" version ".tar.xz")) (sha256 (base32 - "1w0432i5wjga9z8x3rhc72h2ij1jd2aimg5xmhc0hg4f7951bhh1")) + "1qbz2j9kzqxxp0mmx02zavvz20ji7izqdnri25g1mrwyhz60974q")) (modules '((guix build utils))) (snippet '(with-directory-excursion "ext" @@ -176,6 +176,11 @@ (substitute* "ext/standard/tests/streams/bug60602.phpt" (("'ls'") (string-append "'" (which "ls") "'"))) + ;; The expected output is slightly different from what is given, + ;; in a section that's not related to the actual test + (substitute* "sapi/cli/tests/upload_2G.phpt" + (("Test\\\\n") "Test\n\n")) + ;; Drop tests that are known to fail. (for-each delete-file '("ext/posix/tests/posix_getgrgid.phpt" ; Requires /etc/group. diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm index 7cc5205faa..830006d439 100644 --- a/gnu/packages/polkit.scm +++ b/gnu/packages/polkit.scm @@ -49,6 +49,7 @@ (uri (string-append "https://www.freedesktop.org/software/polkit/releases/" name "-" version ".tar.gz")) + (patches (search-patches "polkit-CVE-2018-19788.patch")) (sha256 (base32 "0c91y61y4gy6p91cwbzg32dhavw4b7fflg370rimqhdxpzdfr1rg")) diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm index ad429854a2..bdb5dbbdad 100644 --- a/gnu/packages/pretty-print.scm +++ b/gnu/packages/pretty-print.scm @@ -244,7 +244,7 @@ seen in a terminal.") (define-public highlight (package (name "highlight") - (version "3.42") + (version "3.47") (source (origin (method url-fetch) @@ -252,7 +252,7 @@ seen in a terminal.") version ".tar.bz2")) (sha256 (base32 - "07iihzy8ckzdrxqd6bzbij4hy4mmlixibjnjviqfihd0hh1q30m5")))) + "0xidf8755lnx55x6p4ajgg4l145akjqswny41483fvg5lpa41i6f")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d773b2f948..861715b569 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2018 Tomáš Čech ;;; Copyright © 2018 Nicolas Goaziou ;;; Copyright © 2018 Vagrant Cascadian +;;; Copyright © 2018 Nam Nguyen ;;; ;;; This file is part of GNU Guix. ;;; @@ -361,14 +362,14 @@ is used by the Requests library to verify HTTPS requests.") (define-public python-cryptography-vectors (package (name "python-cryptography-vectors") - (version "2.3.1") + (version "2.4.2") (source (origin (method url-fetch) (uri (pypi-uri "cryptography_vectors" version)) (sha256 (base32 - "0ijdck30p7jv8a0zwv8b7d30ciqrmmps62lm63l4k776vihrnkdz")))) + "013qx2hz0jv79yzfzpn0r2kk33i5qy3sdnzgwiv5779d18snblwi")))) (build-system python-build-system) (home-page "https://github.com/pyca/cryptography") (synopsis "Test vectors for the cryptography package") @@ -383,14 +384,14 @@ is used by the Requests library to verify HTTPS requests.") (define-public python-cryptography (package (name "python-cryptography") - (version "2.3.1") + (version "2.4.2") (source (origin (method url-fetch) (uri (pypi-uri "cryptography" version)) (sha256 (base32 - "1mnzf168vlxirq7fw9dm9zbvma7z8phc9cl5bffw5916m0y1244d")))) + "1pc60dksi9w9mshl6cvn7gdjazbp3pmydy3qp9wgy5wzd8n0b9h5")))) (build-system python-build-system) (inputs `(("openssl" ,openssl))) @@ -637,7 +638,7 @@ PKCS#8, PKCS#12, PKCS#5, X.509 and TSP.") (define-public python-pynacl (package (name "python-pynacl") - (version "1.2.1") + (version "1.3.0") (source (origin (method url-fetch) @@ -648,7 +649,7 @@ PKCS#8, PKCS#12, PKCS#5, X.509 and TSP.") #t)) (sha256 (base32 - "1ada3qr83cliap6dk897vnvjkynij1kjqbwizdbgarazlyh8zlz0")))) + "0330wyvggm19xhmwmz9rrr97lzbv3siwfy50gmax3vvgs7nh0q8c")))) (build-system python-build-system) (arguments `(#:phases @@ -850,16 +851,15 @@ in userspace) (define-public python-m2crypto (package (name "python-m2crypto") - (version "0.29.0") + (version "0.30.1") (source (origin (method url-fetch) (uri (pypi-uri "M2Crypto" version)) (sha256 - (base32 "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0")))) + (base32 "1iizrpkn4c2n70nvcjqlmnk6fz3vddkrjmwavz1zlsnwv8f7bcm1")))) (build-system python-build-system) (inputs `(("openssl" ,openssl))) - (propagated-inputs `(("python-typing" ,python-typing))) (home-page "https://gitlab.com/m2crypto/m2crypto") (synopsis "Python crypto and TLS toolkit") (description "@code{M2Crypto} is a complete Python wrapper for OpenSSL @@ -869,10 +869,15 @@ extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; M2Crypto can also be used to provide TLS for Twisted. Smartcards supported through the Engine interface.") + (properties `((python2-variant . ,(delay python2-m2crypto)))) (license license:expat))) (define-public python2-m2crypto - (package-with-python2 python-m2crypto)) + (let ((m2crypto (package-with-python2 + (strip-python2-variant python-m2crypto)))) + (package (inherit m2crypto) + (propagated-inputs + `(("python2-typing" ,python2-typing)))))) (define-public python-pylibscrypt (package @@ -966,3 +971,33 @@ been constructed to maintain extensive documentation on how to use (description "This is a set of Python bindings for the scrypt key derivation function.") (license license:bsd-2))) + +(define-public python-service-identity + (package + (name "python-service-identity") + (version "17.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "service_identity" version)) + (sha256 + (base32 + "1aq24cn3nnsjr9g797dayhx4g653h6bd41ksqhidzq0rvarzn0a0")))) + (build-system python-build-system) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-pyasn1" ,python-pyasn1) + ("python-pyasn1-modules" ,python-pyasn1-modules) + ("python-pyopenssl" ,python-pyopenssl))) + (home-page "https://service-identity.readthedocs.io/") + (synopsis "Service identity verification for PyOpenSSL") + (description + "@code{service_identity} aspires to give you all the tools you need +for verifying whether a certificate is valid for the intended purposes. +In the simplest case, this means host name verification. However, +service_identity implements RFC 6125 fully and plans to add other +relevant RFCs too.") + (license license:expat))) + +(define-public python2-service-identity + (package-with-python2 python-service-identity)) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d11a3f8c5c..a5b4b7578d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Eric Dvorsak -;;; Copyright © 2015, 2016, 2017 Efraim Flashner +;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2016, 2017 Danny Milosavljevic ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge @@ -60,6 +60,7 @@ #:use-module (gnu packages python-crypto) #:use-module (gnu packages tls) #:use-module (gnu packages time) + #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module ((guix licenses) #:prefix license:) #:use-module (srfi srfi-1)) @@ -67,22 +68,17 @@ (define-public python-aiohttp (package (name "python-aiohttp") - (version "3.1.3") + (version "3.4.4") (source (origin (method url-fetch) (uri (pypi-uri "aiohttp" version)) (sha256 (base32 - "1b888lggmyf2d08rfayq9khszzc0pav1z70ssc0b4d9kkr4g1klz")))) + "1ykm6kdjkrg556j0zd7dx2l1rsrbh0d9g27ivr6dmaahz9pyrbsi")))) (build-system python-build-system) (arguments - `(#:tests? #f)) ;FIXME: 2 errors, 2084 passed - (native-inputs - `(("python-async-generator" ,python-async-generator) - ("python-pytest" ,python-pytest) - ("python-pytest-capturelog" ,python-pytest-capturelog) - ("python-pytest-mock" ,python-pytest-mock))) + `(#:tests? #f)) ;missing pytest-timeout (propagated-inputs `(("python-aiodns" ,python-aiodns) ("python-async-timeout" ,python-async-timeout) @@ -255,6 +251,43 @@ other HTTP libraries.") (define-public python2-httplib2 (package-with-python2 python-httplib2)) +(define-public python-mechanicalsoup + (package + (name "python-mechanicalsoup") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "MechanicalSoup" version)) + (sha256 + (base32 "0k59wwk75q7nz6i6gynvzhagy02ql0bv7py3qqcwgjw7607yq4i7")))) + (build-system python-build-system) + (arguments + ;; TODO: Enable tests when python-flake8@3.5 hits master. + `(#:tests? #f)) + (propagated-inputs + `(("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-lxml" ,python-lxml) + ("python-requests" ,python-requests) + ("python-six" ,python-six))) + ;; (native-inputs + ;; ;; For tests. + ;; `(("python-pytest-flake8" ,python-pytest-flake8) + ;; ("python-pytest-httpbin" ,python-pytest-httpbin) + ;; ("python-pytest-mock" ,python-pytest-mock) + ;; ("python-pytest-runner" ,python-pytest-runner) + ;; ("python-requests-mock" ,python-requests-mock))) + (home-page "https://mechanicalsoup.readthedocs.io/") + (synopsis "Python library for automating website interaction") + (description + "MechanicalSoup is a Python library for automating interaction with +websites. It automatically stores and sends cookies, follows redirects, and can +follow links and submit forms. It doesn’t do JavaScript.") + (license license:expat))) + +(define-public python2-mechanicalsoup + (package-with-python2 python-mechanicalsoup)) + (define-public python-sockjs-tornado (package (name "python-sockjs-tornado") @@ -405,7 +438,15 @@ C, yielding parse times that can be a thirtieth of the html5lib parse times.") (arguments ;; The tests attempt to access external web servers, so we cannot run ;; them. Furthermore, they are skipped altogether when using Python 2. - '(#:tests? #f)) + '(#:tests? #f + #:phases (modify-phases %standard-phases + (add-before 'build 'configure-tls-backend + (lambda _ + ;; XXX: PycURL fails to automatically determine which TLS + ;; backend to use when cURL is built with --disable-static. + ;; See setup.py and . + (setenv "PYCURL_SSL_LIBRARY" "gnutls") + #t))))) (native-inputs `(("python-nose" ,python-nose) ("python-bottle" ,python-bottle))) @@ -1724,7 +1765,10 @@ library.") (add-after 'install 'check (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "py.test" "src/geventhttpclient/tests" "-v") + (invoke "py.test" "src/geventhttpclient/tests" "-v" + ;; Append the test modules to sys.path to avoid + ;; namespace conflict which breaks SSL tests. + "--import-mode=append") #t))))) (native-inputs `(("python-pytest" ,python-pytest))) @@ -1945,6 +1989,31 @@ transfers.") `(("python2-futures" ,python2-futures) ,@(package-native-inputs base)))))) +(define-public python-slimit + (package + (name "python-slimit") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "slimit" version ".zip")) + (sha256 + (base32 + "02vj2x728rs1127q2nc27frrqra4fczivnb7gch6n5lzi7pxqczl")))) + (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) + (propagated-inputs + `(("python-ply" ,python-ply))) + (home-page "https://slimit.readthedocs.io/") + (synopsis "JavaScript minifier, parser and lexer written in Python") + (description + "SlimIt is a JavaScript minifier written in Python. It compiles +JavaScript into more compact code so that it downloads and runs faster. +SlimIt also provides a library that includes a JavaScript parser, lexer, +pretty printer and a tree visitor.") + (license license:expat))) + (define-public python-flask-restful (package (name "python-flask-restful") @@ -2130,6 +2199,25 @@ It comes with safe defaults and easily configurable options.") (define-public python2-flask-htmlmin (package-with-python2 python-flask-htmlmin)) +(define-public python-jsmin + (package + (name "python-jsmin") + (version "2.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jsmin" version)) + (sha256 + (base32 + "0fsmqbjvpxvff0984x7c0y8xmf49ax9mncz48b9xjx8wrnr9kpxn")))) + (build-system python-build-system) + (home-page "https://github.com/tikitu/jsmin/") + (synopsis "Python JavaScript minifier") + (description + "@code{jsmin} is a JavaScript minifier, usable from both Python code and +on the command line.") + (license license:expat))) + (define-public python-flask-login (package (name "python-flask-login") @@ -2590,19 +2678,25 @@ available in Django, but is a standalone package.") (define-public python-paste (package (name "python-paste") - (version "2.0.3") + (version "3.0.4") (source (origin (method url-fetch) (uri (pypi-uri "Paste" version)) (sha256 (base32 - "062jk0nlxf6lb2wwj6zc20rlvrwsnikpkh90y0dn8cjch93s6ii3")) - (patches (search-patches "python-paste-remove-website-test.patch" - "python-paste-remove-timing-test.patch")))) + "01w26w9jyfkh0mfydhfz3dwy3pj3fw7mzvj0lna3vs8hyx1hwl0n")) + (patches (search-patches "python-paste-remove-timing-test.patch")) + (modules '((guix build utils))) + (snippet + '(begin + ;; This test calls out to the internet. + (delete-file "tests/test_proxy.py") #t)))) (build-system python-build-system) (native-inputs - `(("python-nose" ,python-nose))) + `(("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner) + ("python-nose" ,python-nose))) (propagated-inputs `(("python-six" ,python-six))) (home-page "http://pythonpaste.org") diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 176bbb9416..22b87eba69 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -31,7 +31,7 @@ ;;; Copyright © 2016 Dylan Jeffers ;;; Copyright © 2016, 2017 Alex Vong ;;; Copyright © 2016, 2017, 2018 Arun Isaac -;;; Copyright © 2016, 2017 Julien Lepiller +;;; Copyright © 2016, 2017, 2018 Julien Lepiller ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017 Thomas Danckaert ;;; Copyright © 2017 Carlo Zancanaro @@ -55,6 +55,7 @@ ;;; Copyright © 2018 Oleg Pykhalov ;;; Copyright © 2018 Clément Lassieur ;;; Copyright © 2018 Maxim Cournoyer +;;; Copyright © 2018 Luther Thompson ;;; ;;; This file is part of GNU Guix. ;;; @@ -263,6 +264,10 @@ ((or "." "..") #f) (file (not + ;; FIXME: Add the 'support' directory + ;; in the next rebuild cycle, since it + ;; moved in 2.7.14. See also + ;; python2-futures below. (string-prefix? "test_support." file)))))) (call-with-output-file "__init__.py" (const #t)) @@ -2089,13 +2094,13 @@ cutting and pasting that code over and over.") (define-public python-unidecode (package (name "python-unidecode") - (version "0.04.21") + (version "1.0.23") (source (origin (method url-fetch) (uri (pypi-uri "Unidecode" version)) (sha256 (base32 - "0lfhp9c5xrbpjvbpr12ji52g1lx04404bzzdg6pvabhzisw6l2i8")))) + "1ysjbr3nqfqj97h8zyj3v9pya413vkv7a1mzml80w37xx15kb1cb")))) (build-system python-build-system) (home-page "https://pypi.python.org/pypi/Unidecode") (synopsis "ASCII transliterations of Unicode text") @@ -2170,6 +2175,42 @@ easier to build concurrent applications.") (define-public python2-pykka (package-with-python2 python-pykka)) +(define-public python-pympler + (package + (name "python-pympler") + (home-page "https://pythonhosted.org/Pympler/") + (version "0.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "Pympler" version)) + (sha256 + (base32 + "03qwsbilqgvnbl3a1jmpgixbr2kq6m3fvdlzyr3wdp01bwlc85kx")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'check) + (add-after 'install 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "python" "setup.py" "test")))))) + (synopsis "Measure, monitor and analyze memory behavior") + (description + "Pympler is a development tool to measure, monitor and analyze +the memory behavior of Python objects in a running Python application. + +By pympling a Python application, detailed insight in the size and the +lifetime of Python objects can be obtained. Undesirable or unexpected +runtime behavior like memory bloat and other @samp{pymples} can easily +be identified. + +A web profiling frontend exposes process statistics, garbage +visualisation and class tracker statistics.") + (license license:asl2.0))) + +(define-public python2-pympler + (package-with-python2 python-pympler)) + (define-public python-itsdangerous (package (name "python-itsdangerous") @@ -2338,48 +2379,22 @@ logic-free templating system Mustache.") (define-public python-joblib (package (name "python-joblib") - (version "0.10.3") + (version "0.13.0") (source (origin (method url-fetch) (uri (pypi-uri "joblib" version)) (sha256 (base32 - "0787k919zlfmgymprz5bzv0v1df5bbirlf3awrghmjgvkrd9dci9")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Remove pre-compiled .pyc files from source. - (for-each delete-file-recursively - (find-files "." "__pycache__" #:directories? #t)) - (for-each delete-file (find-files "." "\\.pyc$")) - #t)))) + "0612nazad8dxmn3xghfrmjax6456l4xy6hn9cngs7vydi14ds7v5")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-before 'check 'disable-failing-tests - (lambda _ - ;; This numpydoc tests fails for unknown reasons - (delete-file "doc/sphinxext/numpydoc/tests/test_docscrape.py") - ;; This numpydoc test depends on matplotlib, which is not a - ;; required input. - (delete-file "doc/sphinxext/numpydoc/tests/test_plot_directive.py") - ;; These tests fail to execute sys.executable - (substitute* "joblib/test/test_parallel.py" - (("import nose" line) - (string-append "from nose.plugins.skip import SkipTest\n" line)) - (("def test_nested_parallel_warnings" line) - (string-append "@SkipTest\n" line)) - (("def test_parallel_with_interactively_defined_functions" line) - (string-append "@SkipTest\n" line))) - #t))))) - ;; Provide nose to enable tests command + (replace 'check + (lambda _ (invoke "pytest" "-v" "joblib")))))) (native-inputs - `(("python-nose" ,python-nose) - ("python-sphinx" ,python-sphinx) - ("python-docutils" ,python-docutils) - ("python-numpydoc" ,python-numpydoc))) - (home-page "http://pythonhosted.org/joblib/") + `(("python-pytest" ,python-pytest))) + (home-page "https://joblib.readthedocs.io/") (synopsis "Using Python functions as pipeline jobs") (description "Joblib is a set of tools to provide lightweight pipelining in Python. @@ -2755,14 +2770,14 @@ interested parties to subscribe to events, or \"signals\".") (define-public pelican (package (name "pelican") - (version "3.6.3") + (version "3.7.1") (source (origin (method url-fetch) (uri (pypi-uri "pelican" version)) (sha256 (base32 - "1hn94rb4q3zmcq16in055xikal4dba5hfx3zznq7warllcgc9f8k")))) + "12spygavv9b6xpb5pgp7f0p3z0mms60nx6zrpx1yfkj68zz4flra")))) (build-system python-build-system) (propagated-inputs `(("python-feedgenerator" ,python-feedgenerator) @@ -2775,7 +2790,7 @@ interested parties to subscribe to events, or \"signals\".") ("python-six" ,python-six) ("python-dateutil" ,python-dateutil) ("python-markdown" ,python-markdown))) - (home-page "http://getpelican.com/") + (home-page "https://getpelican.com/") (arguments `(;; XXX Requires a lot more packages to do unit tests :P #:tests? #f @@ -2801,29 +2816,30 @@ and is very extensible.") (define-public python-scikit-image (package (name "python-scikit-image") - (version "0.11.3") + (version "0.14.1") (source (origin (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/s/scikit-image/scikit-image-" - version ".tar.gz")) + (uri (pypi-uri "scikit-image" version)) (sha256 - (base32 "0jz416fqvpahqyffw8plmszzfj669w8wvf3y9clnr5lr6a7md3kn")))) + (base32 "0l1c3rl4s1jyv80i5hns4pgih09zrxfj7lygdc51w8sgyysb7ac6")))) (build-system python-build-system) (arguments ;; TODO: Some tests require running X11 server. Disable them? '(#:tests? #f)) ;; See DEPENDS.txt for the list of build and run time requiremnts (propagated-inputs - `(("python-matplotlib" ,python-matplotlib) + `(("python-cloudpickle" ,python-cloudpickle) + ("python-dask" ,python-dask) + ("python-matplotlib" ,python-matplotlib) ("python-networkx" ,python-networkx) + ("python-numpy" ,python-numpy) + ("python-pillow" ,python-pillow) + ("python-pywavelets" ,python-pywavelets) ("python-scipy" ,python-scipy) - ("python-pillow" ,python-pillow))) - (native-inputs - `(("python-numpy" ,python-numpy) - ("python-cython" ,python-cython) ("python-six" ,python-six))) + (native-inputs + `(("python-cython" ,python-cython))) (home-page "http://scikit-image.org/") (synopsis "Image processing in Python") (description @@ -2922,7 +2938,7 @@ between language specification and implementation aspects.") (define-public python-numpy (package (name "python-numpy") - (version "1.15.1") + (version "1.15.4") (source (origin (method url-fetch) @@ -2931,7 +2947,7 @@ between language specification and implementation aspects.") version "/numpy-" version ".tar.gz")) (sha256 (base32 - "1yp75fkqk7abq3mrbqdf0pdmr2phkr2mnng0dbqqvvrmv7jwq71w")))) + "102vcl2qq4pjbm7a3d67vkkvn4466ngia1d8wi5avqwqh8j0jvkn")))) (build-system python-build-system) (inputs `(("openblas" ,openblas) @@ -3035,6 +3051,8 @@ include_dirs = ~a/include:~a/include (assoc-ref inputs "openblas") (assoc-ref inputs "lapack")))) #t)))))) + (native-inputs + `(("python2-nose" ,python2-nose))) (description "NumPy is the fundamental package for scientific computing with Python. It contains among other things: a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ @@ -4147,6 +4165,49 @@ a front-end for C compilers or analysis tools.") (define-public python2-pycparser (package-with-python2 python-pycparser)) +(define-public python-pywavelets + (package + (name "python-pywavelets") + (version "1.0.1") + (home-page "https://github.com/PyWavelets/pywt") + (source (origin + (method url-fetch) + (uri (pypi-uri "PyWavelets" version)) + (sha256 + (base32 + "1p3qv2v66ghnqrb1f98wyyhp9dz71jwcd6kfpsax65sfdpiyqp1w")))) + (build-system python-build-system) + (arguments + '(#:modules ((ice-9 ftw) + (srfi srfi-1) + (srfi srfi-26) + (guix build utils) + (guix build python-build-system)) + #:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (let ((cwd (getcwd)) + (libdir (find (cut string-prefix? "lib." <>) + (scandir "build")))) + (with-directory-excursion (string-append cwd "/build/" libdir) + (invoke "nosetests" "-v" ".")))))))) + (native-inputs + `(("python-matplotlib" ,python-matplotlib) ;for tests + ("python-nose" ,python-nose))) + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (synopsis "Wavelet transforms in Python") + (description + "PyWavelets is a library for wavelet transforms in Python. Wavelets are +mathematical basis functions that are localized in both time and frequency. +Wavelet transforms are time-frequency transforms employing wavelets. They are +similar to Fourier transforms, the difference being that Fourier transforms are +localized only in frequency instead of in time and frequency.") + (license license:expat))) + +(define-public python2-pywavelets + (package-with-python2 python-pywavelets)) + (define-public python-xcffib (package (name "python-xcffib") @@ -5165,25 +5226,6 @@ of the structure, dynamics, and functions of complex networks.") (define-public python2-networkx (package-with-python2 python-networkx)) -;; Define new package, because the current version of python-colormath does -;; not build against 2.0. -(define-public python-networkx2 - (package (inherit python-networkx) - (name "python-networkx2") - (version "2.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "networkx" version ".zip")) - (sha256 - (base32 - "1ajl2jp8qry9nyjzzkqpy0vmsr14d23z1qk7y0vr5iwjbpvzhpyd")) - (patches - (search-patches "python-networkx2-reproducible-build.patch")))))) - -(define-public python2-networkx2 - (package-with-python2 python-networkx2)) - (define-public python-datrie (package (name "python-datrie") @@ -5196,6 +5238,14 @@ of the structure, dynamics, and functions of complex networks.") (base32 "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs")))) (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'build 'cythonize + (lambda _ + ;; Regenerate Cython classes to solve ABI issues with Python + ;; 3.7.0. See . + (invoke "cython" "src/datrie.pyx" "src/cdatrie.pxd" + "src/stdio_ext.pxd" "-a")))))) (native-inputs `(("python-cython" ,python-cython) ("python-hypothesis" ,python-hypothesis) @@ -5296,20 +5346,34 @@ SVG, EPS, PNG and terminal output.") (define-public python-seaborn (package (name "python-seaborn") - (version "0.7.1") + (version "0.9.0") (source (origin (method url-fetch) (uri (pypi-uri "seaborn" version)) (sha256 - (base32 "0pawrqc3mxpwd5g9pvi9gba02637bh5c8ldpp8izfwpfn52469zs")))) + (base32 "0bqysi3fxfjl1866m5jq8z7mynhqbqnikim74dmzn8539iwkzj3n")))) (build-system python-build-system) (arguments - '(#:tests? #f)) ; Tests requires a running X11 server. + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'start-xserver + (lambda* (#:key inputs #:allow-other-keys) + (let ((xorg-server (assoc-ref inputs "xorg-server"))) + ;; There must be a running X server and make check doesn't + ;; start one. Therefore we must do it. + (system (format #f "~a/bin/Xvfb :1 &" xorg-server)) + (setenv "DISPLAY" ":1") + #t))) + (replace 'check (lambda _ (invoke "pytest" "seaborn") #t))))) (propagated-inputs `(("python-pandas" ,python-pandas) ("python-matplotlib" ,python-matplotlib) + ("python-numpy" ,python-numpy) ("python-scipy" ,python-scipy))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("xorg-server" ,xorg-server))) (home-page "http://stanford.edu/~mwaskom/software/seaborn/") (synopsis "Statistical data visualization") (description @@ -5317,15 +5381,10 @@ SVG, EPS, PNG and terminal output.") graphics in Python. It is built on top of matplotlib and tightly integrated with the PyData stack, including support for numpy and pandas data structures and statistical routines from scipy and statsmodels.") - (license license:bsd-3) - (properties `((python2-variant . ,(delay python2-seaborn)))))) + (license license:bsd-3))) (define-public python2-seaborn - (let ((base (package-with-python2 (strip-python2-variant python-seaborn)))) - (package - (inherit base) - (propagated-inputs `(("python2-pytz" ,python2-pytz) - ,@(package-propagated-inputs base)))))) + (package-with-python2 python-seaborn)) (define-public python-mpmath (package @@ -5601,9 +5660,12 @@ so it might be a tiny bit slower.") (lambda _ (invoke "python" "waf" "--version"))) (replace 'install - (lambda _ - (copy-file "waf" %output) - #t))))) + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "waf" (string-append out "/bin"))) + #t)) + ;; waf breaks when it is wrapped. + (delete 'wrap)))) (home-page "https://waf.io/") (synopsis "Python-based build system") (description @@ -5775,7 +5837,9 @@ complexity of Python source code.") (define-public python2-pyflakes-0.8.1 (package-with-python2 python-pyflakes-0.8.1)) -(define-public python-flake8 +;; This package is used by hypothesis which has thousands of dependent packages. +;; FIXME: Consolidate this with "python-flake8" below in the next rebuild cycle. +(define-public python-flake8-3.5 (package (name "python-flake8") (version "3.5.0") @@ -5821,17 +5885,45 @@ PEP8_PLUGIN('break_before_binary_operator'),")) "The modular source code checker: pep8, pyflakes and co") (description "Flake8 is a wrapper around PyFlakes, pep8 and python-mccabe.") - (properties `((python2-variant . ,(delay python2-flake8)))) + (properties `((python2-variant . ,(delay python2-flake8-3.5)))) (license license:expat))) -(define-public python2-flake8 - (let ((base (package-with-python2 (strip-python2-variant python-flake8)))) +(define-public python2-flake8-3.5 + (let ((base (package-with-python2 (strip-python2-variant python-flake8-3.5)))) (package (inherit base) (propagated-inputs `(("python2-configparser" ,python2-configparser) ("python2-enum34" ,python2-enum34) ,@(package-propagated-inputs base)))))) +;; Version 3.5.0 has compatibility issues with Pyflakes 2.0, so we need +;; this newer version. Keep it as a separate variable for now to avoid +;; rebuilding "python-hypothesis"; this should be removed in the next +;; rebuild cycle. +(define-public python-flake8 + (package + (inherit python-flake8-3.5) + (version "3.6.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "flake8" version)) + (sha256 + (base32 + "0w0nprx22rbvrrkbfx9v5jc5gskbm08g219l7r8wai8zfswgadba")))) + (arguments + (substitute-keyword-arguments (package-arguments python-flake8-3.5) + ((#:phases phases) + `(modify-phases ,phases + (delete 'delete-broken-test) + (delete 'fix-problem-with-pycodestyle))))) + (properties `((python2-variant . ,(delay python2-flake8)))))) + +(define-public python2-flake8 + (let ((base (package-with-python2 (strip-python2-variant python-flake8)))) + (package (inherit base) + (propagated-inputs + (package-propagated-inputs python2-flake8-3.5))))) + ;; python-hacking requires flake8 <2.6.0. (define-public python-flake8-2.5 (package @@ -5898,14 +5990,14 @@ plugins that intend to support Flake8 2.x and 3.x simultaneously.") (define-public python-mistune (package (name "python-mistune") - (version "0.8.3") + (version "0.8.4") (source (origin (method url-fetch) (uri (pypi-uri "mistune" version)) (sha256 (base32 - "06b662p6kf46wh2jsabaqhaq4bz1srh2zxkrnx4yg96azlxw645w")))) + "0vkmsh0x480rni51lhyvigfdf06b9247z868pk3bal1wnnfl58sr")))) (build-system python-build-system) (native-inputs `(("python-nose" ,python-nose) @@ -5922,25 +6014,19 @@ Python.") (define-public python-markdown (package (name "python-markdown") - (version "2.6.11") + (version "3.0.1") (source (origin (method url-fetch) (uri (pypi-uri "Markdown" version)) (sha256 (base32 - "108g80ryzykh8bj0i7jfp71510wrcixdi771lf2asyghgyf8cmm8")))) + "0z6v8649sr434d5r5zmrhydka7v7f9yas4bwcgkcs0650jdhybnh")))) (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (zero? (system* "python" "run-tests.py"))))))) (native-inputs `(("python-nose" ,python-nose) ("python-pyyaml" ,python-pyyaml))) - (home-page "https://pythonhosted.org/Markdown/") + (home-page "https://python-markdown.github.io/") (synopsis "Python implementation of Markdown") (description "This package provides a Python implementation of John Gruber's @@ -6582,14 +6668,14 @@ responses, rather than doing any computation.") (define-public python-pip (package (name "python-pip") - (version "9.0.1") + (version "18.1") (source (origin (method url-fetch) (uri (pypi-uri "pip" version)) (sha256 (base32 - "03clr9c1dih5n9c00c592zzvf6r1ffimywkaq9agcqdllzhl7wh9")))) + "188fclay154s520n43s7cxxlhdaiysvxf19zk8vr1xbyjyyr58n0")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; there are no tests in the pypi archive. @@ -7724,16 +7810,20 @@ otherwise matches 3.2’s API.") (define-public python2-futures (package (name "python2-futures") - (version "3.0.5") + (version "3.2.0") (source (origin (method url-fetch) (uri (pypi-uri "futures" version)) (sha256 (base32 - "1pw1z4329xvlabdpwqa6b7v2fxf7hl64m4cgr22ckbym8m8m4hh5")))) + "0rdjmmsab550kxsssdq49jcniz77zlkpw4pvi9hvib3lsskjmh4y")))) (build-system python-build-system) - (arguments `(#:python ,python-2)) + (arguments `(#:python ,python-2 + ;; FIXME: Python 2.7.14 moved the test.support library, + ;; but our package has not yet been adjusted. Enable + ;; tests when the python2 package has been fixed. + #:tests? #f)) (home-page "https://github.com/agronholm/pythonfutures") (synopsis "Backport of the concurrent.futures package from Python 3.2") @@ -8988,6 +9078,14 @@ own code, responding to click events and updating clock every second.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'check 'adjust-tests + (lambda _ + (when (which "python3") + ;; Adjust the example output to match that of Python 3.7: + ;; . + (substitute* "README.rst" + (("Exception\\('fail',") "Exception('fail'")) + #t))) (replace 'check (lambda _ ;; Upstream runs tests after installation and the package itself @@ -8996,7 +9094,7 @@ own code, responding to click events and updating clock every second.") (setenv "PYTHONPATH" (string-append (getcwd) "/build/lib:" (getenv "PYTHONPATH"))) - (zero? (system* "py.test" "-vv" "tests" "README.rst"))))))) + (invoke "py.test" "-vv" "tests" "README.rst")))))) (native-inputs `(("python-pytest" ,python-pytest) ("python-six" ,python-six))) @@ -9020,13 +9118,13 @@ multiple processes (imagine multiprocessing, billiard, futures, celery etc). (define-public python-greenlet (package (name "python-greenlet") - (version "0.4.14") + (version "0.4.15") (source (origin (method url-fetch) (uri (pypi-uri "greenlet" version)) (sha256 (base32 - "1bsij3bwdhz2chq4ar2v6jqbh69yc7k9ymh41jd8vrdd2n52dk7i")))) + "1g4g1wwc472ds89zmqlpyan3fbnzpa8qm48z3z1y6mlk44z485ll")))) (build-system python-build-system) (home-page "https://greenlet.readthedocs.io/") (synopsis "Lightweight in-process concurrent programming") @@ -9040,16 +9138,40 @@ are synchronized with data exchanges on \"channels\".") (define-public python2-greenlet (package-with-python2 python-greenlet)) +(define-public python-objgraph + (package + (name "python-objgraph") + (version "3.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "objgraph" version)) + (sha256 + (base32 + "184m09am5gpbqfaiy7l0hwh476mczbrly1dffs0rw2p1d1i2q32a")))) + (build-system python-build-system) + (propagated-inputs + `(("python-graphviz" ,python-graphviz))) + (native-inputs + `(("python-mock" ,python-mock) + ("graphviz" ,graphviz))) + (home-page "https://mg.pov.lt/objgraph/") + (synopsis "Draw Python object reference graphs with graphviz") + (description + "This package provides tools to draw Python object reference graphs with +graphviz.") + (license license:expat))) + (define-public python-gevent (package (name "python-gevent") - (version "1.2.2") + (version "1.3.7") (source (origin (method url-fetch) (uri (pypi-uri "gevent" version)) (sha256 (base32 - "0bbbjvi423y9k9xagrcsimnayaqymg6f2dj76m9z3mjpkjpci4a7")) + "0b0fr04qdk1p4sniv87fh8z5psac60x01pv054kpgi94520g81iz")) (modules '((guix build utils))) (snippet '(begin @@ -9059,6 +9181,7 @@ are synchronized with data exchanges on \"channels\".") (build-system python-build-system) (arguments `(#:modules ((ice-9 ftw) + (ice-9 match) (srfi srfi-26) (guix build utils) (guix build python-build-system)) @@ -9081,11 +9204,28 @@ are synchronized with data exchanges on \"channels\".") (find-files "src/greentest" "\\.py$")) #t)) (add-before 'build 'do-not-use-bundled-sources - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (setenv "CONFIG_SHELL" (which "bash")) (setenv "LIBEV_EMBED" "false") (setenv "CARES_EMBED" "false") (setenv "EMBED" "false") + + (let ((greenlet (string-append + (assoc-ref inputs "python-greenlet") + "/include"))) + (match (scandir greenlet + (lambda (item) + (string-prefix? "python" item))) + ((python) + (setenv "CPATH" + (string-append greenlet "/" python))))) + #t)) + (add-before 'check 'skip-timer-test + (lambda _ + ;; XXX: Skip 'TestTimerResolution', which appears to be + ;; unreliable. + (substitute* "src/greentest/test__core_timer.py" + (("not greentest.RUNNING_ON_CI") "False")) #t)) (replace 'check (lambda _ @@ -9106,7 +9246,8 @@ are synchronized with data exchanges on \"channels\".") (make-regexp "test_+(subprocess|core)") <>))))))))) (propagated-inputs - `(("python-greenlet" ,python-greenlet))) + `(("python-greenlet" ,python-greenlet) + ("python-objgraph" ,python-objgraph))) (native-inputs `(("libev-source" ,(package-source libev)) ("python-six" ,python-six))) @@ -9118,10 +9259,16 @@ are synchronized with data exchanges on \"channels\".") (description "gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev event loop.") - (license license:expat))) + (license license:expat) + (properties `((python2-variant . ,(delay python2-gevent)))))) (define-public python2-gevent - (package-with-python2 python-gevent)) + (let ((base (package-with-python2 + (strip-python2-variant python-gevent)))) + (package + (inherit base) + (native-inputs `(,@(package-native-inputs python-gevent) + ("python-mock" ,python2-mock)))))) (define-public python-fastimport (package @@ -9180,14 +9327,14 @@ focus on event-based network programming and multiprotocol integration.") (define-public python-pika (package (name "python-pika") - (version "0.10.0") + (version "0.12.0") (source (origin (method url-fetch) (uri (pypi-uri "pika" version)) (sha256 (base32 - "0nb4h08di432lv7dy2v9kpwgk0w92f24sqc2hw2s9vwr5b8v8xvj")))) + "0ld7akgm93s8pfa4dsx9qlzlhj76zspbr5m9ms0ns09yd2w4aq9h")))) (build-system python-build-system) (native-inputs `(("python-pyev" ,python-pyev) @@ -9456,13 +9603,13 @@ docstring and colored output.") (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") - (version "1.2.2") + (version "1.3.1") (source (origin (method url-fetch) (uri (pypi-uri "lazy-object-proxy" version)) (sha256 (base32 - "0s22aqqkdscyh8sjspyyax7qa1aiz8p4midrnyf39717fhfczm6x")))) + "0yha7q9bhw857fwaby785d63mffhngl9npwzlk9i0pwlkwvbx4gb")))) (build-system python-build-system) (home-page "https://github.com/ionelmc/python-lazy-object-proxy") (synopsis "Lazy object proxy for python") @@ -9602,13 +9749,13 @@ addresses, and phone numbers.") (define-public python-pyaml (package (name "python-pyaml") - (version "17.7.2") + (version "18.11.0") (source (origin (method url-fetch) (uri (pypi-uri "pyaml" version)) (sha256 (base32 - "132grrw0ajq4nrappi3ldbkb952k7yn9b6c7csi2rmvzm1g6ppp2")))) + "0fi604ix8lbpj1266q7js6szm771saprdzzcdwmj43wy83694qmr")))) (build-system python-build-system) (native-inputs `(("python-unidecode" ,python-unidecode))) @@ -9684,20 +9831,25 @@ characters, mouse support, and auto suggestions.") (define-public python-jedi (package (name "python-jedi") - (version "0.12.1") + (version "0.13.1") (source (origin (method url-fetch) (uri (pypi-uri "jedi" version)) (sha256 (base32 - "1h8ypnjisn57kiv1zqrkj1im6sbfnhxllqaa8znh39qkd47ys2dl")))) + "0j11q42g5vjkyhhjpyy8nb0gdxs78m3rpjai7p1hvgpyl9rkyjdp")))) (build-system python-build-system) (arguments - `(#:phases + `( ;; Many tests are failing with Python 3.7.x as of version 0.13.1 (see: + ;; https://github.com/davidhalter/jedi/issues/1263) + #:tests? #f + #:phases (modify-phases %standard-phases - (replace 'check (lambda _ - (invoke "py.test" "-vv")))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "py.test" "-vv"))))))) (native-inputs `(("python-pytest" ,python-pytest) ("python-docopt" ,python-docopt))) @@ -9754,32 +9906,25 @@ etc.") (define-public python-stem (package (name "python-stem") - (version "1.6.0") + (version "1.7.0") (source (origin (method url-fetch) (uri (pypi-uri "stem" version)) (sha256 (base32 - "1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp")))) + "1awiglfiajnx2hva9aqpj3fmdvdb4qg7cwnlfyih827m68y3cq8v")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-before 'check 'fix-test-environment - (lambda _ - ;; Fixes: FileNotFoundError: [Errno 2] No such file or directory: - ;; '/tmp/guix-build-python-stem-1.6.0.drv-0/stem-1.6.0/.gitignore'. - (with-output-to-file ".gitignore" - (lambda _ (format #t "%"))) - #t)) (replace 'check (lambda _ (invoke "./run_tests.py" "--unit") #t))))) (native-inputs `(("python-mock" ,python-mock) - ("python-pep8" ,python-pep8) + ("python-pycodestyle" ,python-pycodestyle) ("python-pyflakes" ,python-pyflakes))) (home-page "https://stem.torproject.org/") (synopsis @@ -9826,7 +9971,7 @@ and/or Xon/Xoff. The port is accessed in RAW mode.") (define-public python-kivy (package (name "python-kivy") - (version "1.10.0") + (version "1.10.1") (source (origin (method url-fetch) @@ -9834,7 +9979,7 @@ and/or Xon/Xoff. The port is accessed in RAW mode.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1394zh6kvf7k5d8vlzxcsfcailr3q59xwg9b1n7qaf25bvyq1h98")))) + "1zzxjdp78hfjjiklzr82l4zwibwcq4j6kgicspqs6iyyfn5yisbw")))) (build-system python-build-system) (arguments `(#:tests? #f ; Tests require many optional packages @@ -9867,25 +10012,10 @@ hardware-accelerated multitouch applications.") (package-with-python2 python-kivy)) (define-public python-kivy-next - (let ((commit "a988c5e7a47da56263ff39514264a3de516ef2fe") - (revision "1")) - (package (inherit python-kivy) - (name "python-kivy-next") - (version (string-append "1.9.1-" revision "." - (string-take commit 7))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/kivy/kivy") - (commit commit))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "0jk92b4a8l7blkvkgkjihk171s0dfnq582cckff5srwc8kal5m0p"))))))) + (deprecated-package "python-kivy-next" python-kivy)) (define-public python2-kivy-next - (package-with-python2 python-kivy-next)) + (deprecated-package "python2-kivy-next" python2-kivy)) (define-public python-binaryornot (package @@ -9944,13 +10074,13 @@ reasoning, wrappers for natural language processing libraries.") (define-public python-pymongo (package (name "python-pymongo") - (version "3.3.0") + (version "3.7.2") (source (origin (method url-fetch) (uri (pypi-uri "pymongo" version)) (sha256 (base32 - "07mra6w86wjqy4lx5fvimidjhhfzd562gfjn8grsnbv2q8pk0i9x")))) + "0zis4707r9hdg5qgkhp3wss9camr9h56ixyfc8n9dxwlnnly4x4c")))) (build-system python-build-system) (propagated-inputs `(("python-certifi" ,python-certifi))) @@ -10077,26 +10207,41 @@ Python to manipulate OpenDocument 1.2 files.") (define-public python-natsort (package (name "python-natsort") - (version "5.0.2") + (version "5.4.1") (source (origin (method url-fetch) (uri (pypi-uri "natsort" version)) (sha256 (base32 - "0bh6j0l8iapjnsgg3bs6q075cnzjl6zw1vlgqyv3qrygm2cxypkn")))) + "0i732amg6yzkx4g4c9j09jmqq39q377x9cl2nbkm5hax2c2v0wxf")))) (build-system python-build-system) (arguments - `(#:phases + `(#:modules ((guix build utils) + (guix build python-build-system) + (srfi srfi-1) + (srfi srfi-26) + (ice-9 ftw)) + #:phases (modify-phases %standard-phases (add-before 'check 'set-cachedir ;; Tests require write access to $HOME by default - (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp") #t))))) + (lambda _ (setenv "PYTHON_EGG_CACHE" "/tmp") #t)) + (replace 'check + (lambda _ + (let ((cwd (getcwd))) + (setenv "PYTHONPATH" + (string-append + cwd "/build/" + (find (cut string-prefix? "lib" <>) + (scandir (string-append cwd "/build"))) + ":" + (getenv "PYTHONPATH"))) + (invoke "pytest" "-v"))))))) (native-inputs `(("python-hypothesis" ,python-hypothesis) - ("python-pytest-cache" ,python-pytest-cache) ("python-pytest-cov" ,python-pytest-cov) - ("python-pytest-flakes" ,python-pytest-flakes) - ("python-pytest-pep8" ,python-pytest-pep8))) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest" ,python-pytest))) (propagated-inputs ; TODO: Add python-fastnumbers. `(("python-pyicu" ,python-pyicu))) (home-page "https://github.com/SethMMorton/natsort") @@ -10118,8 +10263,6 @@ functionality in the command line.") (package (inherit base) (native-inputs `(("python2-pathlib" ,python2-pathlib) - ("python2-mock" ,python2-mock) - ("python2-enum34" ,python2-enum34) ,@(package-native-inputs base)))))) (define-public python-glances @@ -10462,6 +10605,31 @@ useful as a validator for JSON data.") (define-public python2-validictory (package-with-python2 python-validictory)) +(define-public python-pyelftools + (package + (name "python-pyelftools") + (version "0.25") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyelftools" version)) + (sha256 + (base32 + "090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9")))) + (build-system python-build-system) + ;; Test suite requires python-setuptools + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page + "https://github.com/eliben/pyelftools") + (synopsis + "Analyze binary and library file information") + (description "This Python library provides interfaces for parsing and +analyzing two binary and library file formats; the Executable and Linking +Format (ELF), and debugging information in the Debugging With Attributed +Record Format (DWARF).") + (license license:public-domain))) + (define-public python-pyev (package (name "python-pyev") @@ -10598,23 +10766,53 @@ possible on all supported Python versions.") (propagated-inputs `(("python2-bz2file" ,python2-bz2file) ,@(package-propagated-inputs base)))))) -(define-public python2-cheetah +(define-public python-cheetah (package - (name "python2-cheetah") - (version "2.4.4") + (name "python-cheetah") + (version "3.1.0") (source (origin (method url-fetch) - (uri (pypi-uri "Cheetah" version)) + (uri (pypi-uri "Cheetah3" version)) (sha256 (base32 - "0l5mm4lnysjkzpjr95q5ydm9xc8bv43fxmr79ypybrf1y0lq4c5y")))) + "1ihag9cxll6b86fc8v5lkhmr3brdbi4yiz16zpgw79yylmv8fgr9")))) (build-system python-build-system) (arguments - `(#:python ,python-2)) + `(#:modules ((guix build utils) + (guix build python-build-system) + (ice-9 ftw) + (srfi srfi-1) + (srfi srfi-26)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'use-absolute-python + (lambda _ + (substitute* "Cheetah/CheetahWrapper.py" + (("#!/usr/bin/env python") + (string-append "#!" (which "python")))) + #t)) + (replace 'check + (lambda _ + (let ((cwd (getcwd))) + (setenv "PYTHONPATH" + (string-append + cwd "/build/" + (find (cut string-prefix? "lib" <>) + (scandir (string-append cwd "/build"))) + ":" (getenv "PYTHONPATH"))) + (setenv "PATH" + (string-append (getenv "PATH") + ":" cwd "/bin")) + (setenv "TMPDIR" "/tmp") + + (substitute* "Cheetah/Tests/Test.py" + (("unittest.TextTestRunner\\(\\)") + "unittest.TextTestRunner(verbosity=2)")) + + (invoke "python" "Cheetah/Tests/Test.py"))))))) (propagated-inputs - `(("python2-markdown" ,python2-markdown))) - (home-page "https://pythonhosted.org/Cheetah/") + `(("python-markdown" ,python-markdown))) ;optional + (home-page "http://cheetahtemplate.org/") (synopsis "Template engine") (description "Cheetah is a text-based template engine and Python code generator. @@ -10642,6 +10840,9 @@ Features: @end enumerate") (license (license:x11-style "file://LICENSE")))) +(define-public python2-cheetah + (package-with-python2 python-cheetah)) + (define-public python-dulwich (package (name "python-dulwich") @@ -11084,17 +11285,36 @@ and bit flag values.") (define-public python-attrs (package (name "python-attrs") - (version "17.4.0") + (version "18.2.0") (source (origin (method url-fetch) (uri (pypi-uri "attrs" version)) (sha256 (base32 - "1jafnn1kzd6qhxgprhx6y6ik1r5m2rilx25syzcmq03azp660y8w")))) + "0s9ydh058wmmf5v391pym877x4ahxg45dw6a0w4c7s5wgpigdjqh")))) (build-system python-build-system) + (arguments + `(#:modules ((guix build utils) + (guix build python-build-system) + (ice-9 ftw) + (srfi srfi-1) + (srfi srfi-26)) + #:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (let ((cwd (getcwd))) + (setenv "PYTHONPATH" + (string-append + cwd "/build/" + (find (cut string-prefix? "lib" <>) + (scandir (string-append cwd "/build"))) + ":" + (getenv "PYTHONPATH"))) + (invoke "python" "-m" "pytest"))))))) (native-inputs `(("python-coverage" ,python-coverage) ("python-hypothesis" ,python-hypothesis) + ("python-pympler" ,python-pympler) ("python-pytest" ,python-pytest) ("python-six" ,python-six) ("python-sphinx" ,python-sphinx) @@ -11113,6 +11333,15 @@ protocols.") (package (inherit python-attrs) (name "python-attrs-bootstrap") + ;; Keep this on a fixed version so python-attrs can be updated without + ;; triggering a mass-rebuild. FIXME: Update this in the next rebuild cycle. + (version "17.4.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "attrs" version)) + (sha256 + (base32 + "1jafnn1kzd6qhxgprhx6y6ik1r5m2rilx25syzcmq03azp660y8w")))) (native-inputs `()) (arguments `(#:tests? #f)))) @@ -11272,28 +11501,37 @@ clone, while other processes access the original tree.") (define-public python-astroid (package (name "python-astroid") - (version "1.5.3") + (version "2.0.4") (source (origin (method url-fetch) - (uri (string-append - "https://github.com/PyCQA/astroid/archive/astroid-" - version ".tar.gz")) + (uri (pypi-uri "astroid" version)) (sha256 (base32 - "0isn5p7f9n48hmksgbrj7dkm9dyglnayzn5jngk37qywg8a74ngn")))) + "138svbm88w5k0y2nvl4svyas1jfhcc5iy0d2ywkbcpn9kq8ks0f7")))) (build-system python-build-system) (propagated-inputs `(("python-lazy-object-proxy" ,python-lazy-object-proxy) ("python-six" ,python-six) ("python-wrapt" ,python-wrapt))) + (native-inputs + `(("python-dateutil" ,python-dateutil) + ("python-nose" ,python-nose) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'remove-spurious-test + (lambda _ + ;; This can be removed after upgrading from python-3.7 + ;; https://github.com/PyCQA/astroid/issues/593 + ;; https://bugs.python.org/issue34056 + (delete-file "astroid/tests/unittest_modutils.py") + #t)) (replace 'check - (lambda _ - (zero? (system* "python" "-m" "unittest" "discover" - "-p" "unittest*.py"))))))) + (lambda _ + (invoke "pytest" "astroid")))))) (home-page "https://github.com/PyCQA/astroid") (synopsis "Common base representation of python source code for pylint and other projects") @@ -11313,12 +11551,35 @@ builds partial trees by inspecting living objects.") (let ((base (package-with-python2 (strip-python2-variant python-astroid)))) (package (inherit base) - (propagated-inputs - `(("python2-backports-functools-lru-cache" - ,python2-backports-functools-lru-cache) - ("python2-enum34" ,python2-enum34) - ("python2-singledispatch" ,python2-singledispatch) - ,@(package-propagated-inputs base)))))) + ;; Version 2.x removes python2 support. + (version "1.6.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astroid" version)) + (sha256 + (base32 + "0fir4b67sm7shcacah9n61pvq313m523jb4q80sycrh3p8nmi6zw")))) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'remove-spurious-test + (lambda _ + ;; https://github.com/PyCQA/astroid/issues/276 + (delete-file "astroid/tests/unittest_brain.py") + #t)) + (replace 'check + (lambda _ + (invoke"python" "-m" "unittest" "discover" + "-p" "unittest*.py"))))))) + (native-inputs `()) + (propagated-inputs + `(("python2-backports-functools-lru-cache" + ,python2-backports-functools-lru-cache) + ("python2-enum34" ,python2-enum34) + ("python2-singledispatch" ,python2-singledispatch) + ,@(package-propagated-inputs base)))))) (define-public python-isort (package @@ -11843,14 +12104,14 @@ Supported metrics are: (define-public python-sure (package (name "python-sure") - (version "1.4.6") + (version "1.4.11") (source (origin (method url-fetch) (uri (pypi-uri "sure" version)) (sha256 (base32 - "1iyqsy2d6radi88g1qf0lziy5b39h5cpb3g5jiqyb4xi46ig3x1z")))) + "1and0drq8w9iplsic22n2h7hkpyq03a1mbqk4sgcdqhqzdqm539w")))) (build-system python-build-system) (propagated-inputs `(("python-mock" ,python-mock) @@ -12278,14 +12539,14 @@ validating Swagger API specifications.") (define-public python-apache-libcloud (package (name "python-apache-libcloud") - (version "2.0.0") + (version "2.3.0") (source (origin (method url-fetch) (uri (pypi-uri "apache-libcloud" version)) (sha256 (base32 - "1a71z02ckcxld72k4qgmdnkjan52c4wczncs3p2mp5yafh7dsan7")))) + "15xg79ad4g2xrk081ylvj41k5hmg9hl1xvbmb5hd0fqn08wfwbhf")))) (build-system python-build-system) (arguments `(#:phases @@ -12314,6 +12575,11 @@ class ShellOutSSHClientTests") (("'.xf0.x90.x8d.x88'") "b'\\xF0\\x90\\x8D\\x88'") (("'.xF0', '.x90', '.x8D', '.x88'") "b'\\xF0', b'\\x90', b'\\x8D', b'\\x88'")) + #t)) + (add-before 'check 'copy-secret + (lambda _ + (copy-file "libcloud/test/secrets.py-dist" + "libcloud/test/secrets.py") #t))))) (inputs `(("openssh" ,openssh))) @@ -12323,6 +12589,8 @@ class ShellOutSSHClientTests") (native-inputs `(("python-lockfile" ,python-lockfile) ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner) ("python-requests-mock" ,python-requests-mock))) (home-page "https://libcloud.apache.org/") (synopsis "Unified Cloud API") @@ -12734,15 +13002,17 @@ embeddable JavaScript engine.") (define-public python-jsonrpclib-pelix (package (name "python-jsonrpclib-pelix") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (pypi-uri "jsonrpclib-pelix" version)) (sha256 (base32 - "1qs95vxplxwspbrqy8bvc195s58iy43qkf75yrjfql2sim8b25sl")))) + "0f83z5zi7w32vprhk1dyc94ir1bh4hdd57bjdbwkq9ykng8qilhl")))) (build-system python-build-system) + (arguments + `(#:tests? #f)) ; no tests in PyPI tarball (home-page "https://github.com/tcalmant/jsonrpclib/") (synopsis "JSON-RPC 2.0 client library for Python") (description @@ -12785,26 +13055,40 @@ belong to tagged versions.") (define-public python-pyclipper (package (name "python-pyclipper") - (version "1.0.6") + (version "1.1.0.post1") (source (origin (method url-fetch) (uri (pypi-uri "pyclipper" version ".zip")) (sha256 (base32 - "1zpmwv3bya3j984y5cf9x9d5108kf6mxldcba68wiq0frv5qrssw")))) + "0ldbkbnx94an4zzrwb1sxmg6k0jgk4cwmvcdyy8y5k1zslc612wa")) + (modules '((guix build utils))) + (snippet + '(begin + ;; This file is generated by Cython. + (delete-file "pyclipper/pyclipper.cpp") #t)))) (build-system python-build-system) (arguments - `(#:tests? #f)); 8 Tests fail, 37 succeed + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'cythonize-sources + (lambda _ + (with-directory-excursion "pyclipper" + (invoke "cython" "--cplus" "pyclipper.pyx"))))))) (propagated-inputs `(("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive))) (native-inputs - `(("unzip" ,unzip))) + `(("python-cython" ,python-cython) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner) + ("python-unittest2" ,python-unittest2) + ("unzip" ,unzip))) (home-page "https://github.com/greginvm/pyclipper") (synopsis "Wrapper for Angus Johnson's Clipper library") (description "Pyclipper is a Cython wrapper for the C++ translation of the - Angus Johnson's polygon clipping Clipper library (ver. 6.2.1).") +Angus Johnson's polygon clipping Clipper library (ver. 6.4.2).") (license license:expat))) (define-public python2-pyclipper @@ -13147,14 +13431,14 @@ user's @file{~/Trash} directory.") (define-public python-yapf (package (name "python-yapf") - (version "0.21.0") + (version "0.24.0") (source (origin (method url-fetch) (uri (pypi-uri "yapf" version)) (sha256 (base32 - "144gc7d6b1415vh02409rnb8qd5kxi6mxlr7y64d5cizgxbf72kx")))) + "0anwby0ydmyzcsgjc5dn1ryddwvii4dq61vck447q0n96npnzfyf")))) (build-system python-build-system) (home-page "https://github.com/google/yapf") (synopsis "Formatter for Python code") @@ -13691,14 +13975,14 @@ generators and Python 3.7's context managers into Python 3.5.") (define-public python-async-timeout (package (name "python-async-timeout") - (version "2.0.1") + (version "3.0.1") (source (origin (method url-fetch) (uri (pypi-uri "async-timeout" version)) (sha256 (base32 - "1l3kg062m02mph6rf9rdv8r5c5n356clxa6b6mrn0i77vk9g9kq0")))) + "0pscbyr840m7fyfc3r8zv9kgkwdcn9f78p7zsrczciwd09m82g0c")))) (build-system python-build-system) (home-page "https://github.com/aio-libs/async_timeout/") (synopsis "Timeout context manager for asyncio programs") @@ -13900,10 +14184,16 @@ introspection.") @item Inter-process locks @item Generic helpers @end itemize\n") + (properties `((python2-variant . ,(delay python2-fasteners)))) (license license:asl2.0))) (define-public python2-fasteners - (package-with-python2 python-fasteners)) + (let ((base (package-with-python2 (strip-python2-variant python-fasteners)))) + (package + (inherit base) + (propagated-inputs + `(("python2-futures" ,python2-futures) + ,@(package-propagated-inputs base)))))) (define-public python-requests-file (package @@ -14222,6 +14512,9 @@ library's @code{threading} module.") functions, and dictionaries.") (license license:bsd-3))) +(define-public python2-toolz + (package-with-python2 python-toolz)) + (define-public python-cytoolz (package (name "python-cytoolz") @@ -14273,14 +14566,14 @@ pure-Python.") (define-public python-cloudpickle (package (name "python-cloudpickle") - (version "0.5.5") + (version "0.6.1") (source (origin (method url-fetch) (uri (pypi-uri "cloudpickle" version)) (sha256 (base32 - "0gdg5n025v4wqmdg65rm0n6fvp6731ip30ji0rmn2kqsyr4bb93f")))) + "1wdw89mlm7fqa3fm3ymskx05jrys66n8m1z1a8s0mss0799ahsgi")))) (build-system python-build-system) ;; FIXME: there are 5 errors in 122 tests: ;; ERROR: test_function_pickle_compat_0_4_0 (tests.cloudpickle_test.CloudPickleTest) @@ -14304,6 +14597,9 @@ shipped over the network to execute on remote hosts, possibly close to the data.") (license license:bsd-3))) +(define-public python2-cloudpickle + (package-with-python2 python-cloudpickle)) + (define-public python-locket (package (name "python-locket") @@ -14323,6 +14619,9 @@ data.") they use the same path.") (license license:bsd-2))) +(define-public python2-locket + (package-with-python2 python-locket)) + (define-public python-blosc (package (name "python-blosc") @@ -14354,17 +14653,20 @@ regular-spaced values, etc. This Python package wraps the Blosc library.") (license license:bsd-3))) +(define-public python2-blosc + (package-with-python2 python-blosc)) + (define-public python-partd (package (name "python-partd") - (version "0.3.8") + (version "0.3.9") (source (origin (method url-fetch) (uri (pypi-uri "partd" version)) (sha256 (base32 - "03s0i5qfgkx6y24bmfgyd5hnsjznkbbfafwb2khf7k9790f1yab7")))) + "0sz6rwlnl4fqq220pyz863cnv0gjdxl4m7lscl71ishl5z0xkmhz")))) (build-system python-build-system) (propagated-inputs `(("python-blosc" ,python-blosc) @@ -14379,17 +14681,20 @@ This Python package wraps the Blosc library.") append on old values. Partd excels at shuffling operations.") (license license:bsd-3))) +(define-public python2-partd + (package-with-python2 python-partd)) + (define-public python-dask (package (name "python-dask") - (version "0.19.0") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "dask" version)) (sha256 (base32 - "1pm1163qb6s22p8fnvj0zlfazihvs7hxjn8l2n52bzs7shw6kdz3")))) + "1xwz8h020ipwav2p5gcq9pskya1cvzd6hjyvd06dvr3w5lxlmym1")))) (build-system python-build-system) ;; A single test out of 5000+ fails. This test is marked as xfail when ;; pytest-xdist is used. @@ -14402,7 +14707,16 @@ append on old values. Partd excels at shuffling operations.") (("def test_interrupt\\(\\)" m) (string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n" m))) - #t))))) + (when (which "python2") + ;; This test fails with recent Pandas: + ;; . + (substitute* "dask/dataframe/tests/test_dataframe.py" + (("def test_info\\(\\)" m) + (string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n" + m)))) + #t)) + (replace 'check + (lambda _ (invoke "pytest" "-vv")))))) (propagated-inputs `(("python-cloudpickle" ,python-cloudpickle) ("python-numpy" ,python-numpy) @@ -14423,3 +14737,143 @@ extend common interfaces like NumPy, Pandas, or Python iterators to larger-than-memory or distributed environments. These parallel collections run on top of the dynamic task schedulers. ") (license license:bsd-3))) + +(define-public python2-dask + (package-with-python2 python-dask)) + +(define-public python-ilinkedlist + (package + (name "python-ilinkedlist") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ilinkedlist" version)) + (sha256 + (base32 + "0nrw4sr3afldrp7073hvc0rgdz282s0l819jdmj1i6nn05v33h0l")))) + (build-system python-build-system) + (native-inputs `(("python-pytest" ,python-pytest))) + (inputs `(("python" ,python))) + (home-page "https://github.com/luther9/ilinkedlist-py") + (synopsis "Immutable linked list library") + (description + "This is a implementation of immutable linked lists for Python. It +contains @code{nil} (the empty linked list) and a @code{Pair} class for nodes. +Since a linked list is treated as immutable, it is hashable, and its length +can be retrieved in constant time. Some of the terminology is inspired by +LISP. It is possible to create an improper list by creating a @code{Pair} +with a non-list @code{cdr}.") + (license license:gpl3+))) + +(define-public python-readlike + (package + (name "python-readlike") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "readlike" version)) + (sha256 + (base32 "027w8fvi50ksl57q0a7kb5zvmq8jxaawnviib1jdqw0p3igvm1j4")))) + (build-system python-build-system) + (home-page "https://github.com/jangler/readlike") + (synopsis "GNU Readline-like line editing module") + (description + "This Python module provides line editing functions similar to the default +Emacs-style ones of GNU Readline. Unlike the Python standard library's +@code{readline} package, this one allows access to those capabilties in settings +outside of a standard command-line interface. It is especially well-suited to +interfacing with Urwid, due to a shared syntax for describing key inputs. + +Currently, all stateless Readline commands are implemented. Yanking and history +are not supported.") + (license license:expat))) + +(define-public python2-readlike + (package-with-python2 python-readlike)) + +(define-public python-reparser + (package + (name "python-reparser") + (version "1.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ReParser" version)) + (sha256 + (base32 "0nniqb69xr0fv7ydlmrr877wyyjb61nlayka7xr08vlxl9caz776")))) + (build-system python-build-system) + (home-page "https://github.com/xmikos/reparser") + (synopsis "Simple lexer/parser for inline markup based on regular expressions") + (description + "This Python library provides a simple lexer/parser for inline markup based +on regular expressions.") + (license license:expat))) + +(define-public python2-reparser + (let ((reparser (package-with-python2 + (strip-python2-variant python-reparser)))) + (package (inherit reparser) + (propagated-inputs + `(("python2-enum34" ,python2-enum34) + ,@(package-propagated-inputs reparser)))))) + +(define-public python-precis-i18n + (package + (name "python-precis-i18n") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "precis_i18n" version)) + (sha256 + (base32 + "0gjhvwd8aifx94rl1ag08vlmndyx2q3fkyqb0c4i46x3p2bc2yi2")))) + (build-system python-build-system) + (home-page "https://github.com/byllyfish/precis_i18n") + (synopsis "Implementation of the PRECIS framework") + (description + "This module implements the PRECIS Framework as described in RFC 8264, +RFC 8265 and RFC 8266.") + (license license:expat))) + +(define-public python-wikidata + (package + (name "python-wikidata") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Wikidata" version)) + (sha256 + (base32 + "08nlnydddfp1jj0cdmshvld1irzngbp3dij928wqsg9ziklm6mw9")))) + (build-system python-build-system) + (propagated-inputs + `(("python-babel" ,python-babel))) + (home-page "https://github.com/dahlia/wikidata") + (synopsis "Wikidata client library") + (description + "This package provides a Python interface to +@url{https://www.wikidata.org/, Wikidata}.") + (properties '((upstream-name . "Wikidata"))) + (license license:gpl3+))) + +(define-public python-attr + (package + (name "python-attr") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "attr" version)) + (sha256 + (base32 + "0pbpskvxp5hzdvcaf766ljwpckshir8sf7z6jqji6zyib20594ch")))) + (build-system python-build-system) + (home-page "https://github.com/denis-ryzhkov/attr") + (synopsis "Decorator for attributes of target function or class") + (description "Simple decorator to set attributes of target function or +class in a @acronym{DRY, Don't Repeat Yourself} way.") + (license license:expat))) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 7d1a4ca585..2b8b5923aa 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Andreas Enge ;;; Copyright © 2015 Sou Bunnbu -;;; Copyright © 2015 Ludovic Courtès +;;; Copyright © 2015, 2018 Ludovic Courtès ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016, 2017 Nils Gillmann ;;; Copyright © 2016 Thomas Danckaert @@ -10,6 +10,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Nicolas Goaziou ;;; Copyright © 2018 Hartmut Goebel +;;; Copyright © 2018 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -64,9 +65,11 @@ #:use-module (gnu packages ruby) #:use-module (gnu packages sdl) #:use-module (gnu packages tls) + #:use-module (gnu packages vulkan) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (srfi srfi-1)) (define-public grantlee (package @@ -105,7 +108,7 @@ system, and the core design of Django is reused in Grantlee.") (define-public qt (package (name "qt") - (version "5.11.1") + (version "5.11.2") (outputs '("out" "examples")) (source (origin (method url-fetch) @@ -118,7 +121,8 @@ system, and the core design of Django is reused in Grantlee.") version ".tar.xz")) (sha256 (base32 - "0azva1wx298jh0xskymz8jic83yhxs1xfxf321wqd5lwiyq2qq1r")) + "10faac59jvz6dxxljdkaknlxazpnaxgvqdcszabfbbkc1f24n466")) + (patches (search-patches "qt-5-renameat2.patch")) (modules '((guix build utils))) (snippet '(begin @@ -135,7 +139,7 @@ system, and the core design of Django is reused in Grantlee.") (lambda (dir) (delete-file-recursively (string-append "qtbase/src/3rdparty/" dir))) (list "double-conversion" "freetype" "harfbuzz-ng" - "libpng" "libjpeg" "pcre2" "xcb" + "libpng" "libjpeg" "pcre2" "sqlite" "xcb" "xkbcommon" "zlib")) (for-each (lambda (dir) @@ -206,7 +210,7 @@ system, and the core design of Django is reused in Grantlee.") ("postgresql" ,postgresql) ("pulseaudio" ,pulseaudio) ("pcre2" ,pcre2) - ;("sqlite" ,sqlite) + ("sqlite" ,sqlite-with-column-metadata) ("udev" ,eudev) ("unixodbc" ,unixodbc) ("wayland" ,wayland) @@ -224,6 +228,7 @@ system, and the core design of Django is reused in Grantlee.") ("pkg-config" ,pkg-config) ("python" ,python-2) ("ruby" ,ruby) + ("vulkan-headers" ,vulkan-headers) ("which" ,(@ (gnu packages base) which)))) (arguments `(#:parallel-build? #f ; Triggers race condition in qtbase module on Hydra. @@ -246,51 +251,51 @@ system, and the core design of Django is reused in Grantlee.") (("/bin/ls") (which "ls"))) ;; do not pass "--enable-fast-install", which makes the ;; configure process fail - (zero? (system* - "./configure" - "-verbose" - "-prefix" out - "-docdir" (string-append out "/share/doc/qt5") - "-headerdir" (string-append out "/include/qt5") - "-archdatadir" (string-append out "/lib/qt5") - "-datadir" (string-append out "/share/qt5") - "-examplesdir" (string-append - examples "/share/doc/qt5/examples") ; 151MiB - "-opensource" - "-confirm-license" + (invoke + "./configure" + "-verbose" + "-prefix" out + "-docdir" (string-append out "/share/doc/qt5") + "-headerdir" (string-append out "/include/qt5") + "-archdatadir" (string-append out "/lib/qt5") + "-datadir" (string-append out "/share/qt5") + "-examplesdir" (string-append + examples "/share/doc/qt5/examples") ; 151MiB + "-opensource" + "-confirm-license" - ;; These features require higher versions of Linux than the - ;; minimum version of the glibc. See - ;; src/corelib/global/minimum-linux_p.h. By disabling these - ;; features Qt5 applications can be used on the oldest - ;; kernels that the glibc supports, including the RHEL6 - ;; (2.6.32) and RHEL7 (3.10) kernels. - "-no-feature-getentropy" ; requires Linux 3.17 - "-no-feature-renameat2" ; requires Linux 3.16 + ;; These features require higher versions of Linux than the + ;; minimum version of the glibc. See + ;; src/corelib/global/minimum-linux_p.h. By disabling these + ;; features Qt5 applications can be used on the oldest + ;; kernels that the glibc supports, including the RHEL6 + ;; (2.6.32) and RHEL7 (3.10) kernels. + "-no-feature-getentropy" ; requires Linux 3.17 + "-no-feature-renameat2" ; requires Linux 3.16 - ;; Do not build examples; for the time being, we - ;; prefer to save the space and build time. - "-no-compile-examples" - ;; Most "-system-..." are automatic, but some use - ;; the bundled copy by default. - ;"-system-sqlite" - "-system-harfbuzz" - "-system-pcre" - ;; explicitly link with openssl instead of dlopening it - "-openssl-linked" - ;; explicitly link with dbus instead of dlopening it - "-dbus-linked" - ;; don't use the precompiled headers - "-no-pch" - ;; drop special machine instructions not supported - ;; on all instances of the target - ,@(if (string-prefix? "x86_64" - (or (%current-target-system) - (%current-system))) - '() - '("-no-sse2")) - "-no-mips_dsp" - "-no-mips_dspr2"))))) + ;; Do not build examples; for the time being, we + ;; prefer to save the space and build time. + "-no-compile-examples" + ;; Most "-system-..." are automatic, but some use + ;; the bundled copy by default. + "-system-sqlite" + "-system-harfbuzz" + "-system-pcre" + ;; explicitly link with openssl instead of dlopening it + "-openssl-linked" + ;; explicitly link with dbus instead of dlopening it + "-dbus-linked" + ;; don't use the precompiled headers + "-no-pch" + ;; drop special machine instructions not supported + ;; on all instances of the target + ,@(if (string-prefix? "x86_64" + (or (%current-target-system) + (%current-system))) + '() + '("-no-sse2")) + "-no-mips_dsp" + "-no-mips_dspr2")))) (add-after 'install 'patch-mkspecs (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -401,10 +406,16 @@ system, and the core design of Django is reused in Grantlee.") ;; Remove webkit module, which is not built. '(begin (delete-file-recursively "src/3rdparty/webkit") #t)))) - (inputs `(,@(alist-delete "harfbuzz" - (alist-delete "libjpeg" (package-inputs qt))) - ("libjepg" ,libjpeg-8) - ("libsm" ,libsm))) + (inputs + `(,@(fold alist-delete + (package-inputs qt) + '("harfbuzz" "libjpeg")) + ("libjpeg" ,libjpeg-8) + ("libsm" ,libsm))) + (native-inputs + `(,@(fold alist-delete + (package-native-inputs qt) + '("vulkan-headers")))) ;; Note: there are 37 MiB of examples and a '-exampledir' configure flags, ;; but we can't make them a separate output because "out" and "examples" @@ -421,48 +432,53 @@ system, and the core design of Django is reused in Grantlee.") (doc (assoc-ref outputs "doc"))) (substitute* '("configure") (("/bin/pwd") (which "pwd"))) + (substitute* "src/corelib/global/global.pri" + (("/bin/ls") (which "ls"))) - (zero? (system* - "./configure" - "-verbose" - "-prefix" out - ;; Note: Don't pass '-docdir' since 'qmake' and - ;; libQtCore would record its value, thereby defeating - ;; the whole point of having a separate output. - "-datadir" (string-append out "/share/qt-" ,version - "/data") - "-importdir" (string-append out "/lib/qt-4" - "/imports") - "-plugindir" (string-append out "/lib/qt-4" - "/plugins") - "-translationdir" (string-append out "/share/qt-" ,version - "/translations") - "-demosdir" (string-append out "/share/qt-" ,version - "/demos") - "-examplesdir" (string-append out "/share/qt-" ,version - "/examples") - "-opensource" - "-confirm-license" - ;; explicitly link with dbus instead of dlopening it - "-dbus-linked" - ;; Skip the webkit module; it fails to build on armhf - ;; and, apart from that, may pose security risks. - "-no-webkit" - ;; drop special machine instructions not supported - ;; on all instances of the target - ,@(if (string-prefix? "x86_64" - (or (%current-target-system) - (%current-system))) - '() - '("-no-mmx" - "-no-3dnow" - "-no-sse" - "-no-sse2")) - "-no-sse3" - "-no-ssse3" - "-no-sse4.1" - "-no-sse4.2" - "-no-avx"))))) + (invoke + "./configure" + "-verbose" + "-prefix" out + "-nomake" "examples demos" + ;; Note: Don't pass '-docdir' since 'qmake' and + ;; libQtCore would record its value, thereby defeating + ;; the whole point of having a separate output. + "-datadir" (string-append out "/share/qt-" ,version + "/data") + "-importdir" (string-append out "/lib/qt-4" + "/imports") + "-plugindir" (string-append out "/lib/qt-4" + "/plugins") + "-translationdir" (string-append out "/share/qt-" ,version + "/translations") + "-demosdir" (string-append out "/share/qt-" ,version + "/demos") + "-examplesdir" (string-append out "/share/qt-" ,version + "/examples") + "-opensource" + "-confirm-license" + ;; explicitly link with dbus instead of dlopening it + "-dbus-linked" + ;; Skip the webkit module; it fails to build on armhf + ;; and, apart from that, may pose security risks. + "-no-webkit" + ;; don't use the precompiled headers + "-no-pch" + ;; drop special machine instructions not supported + ;; on all instances of the target + ,@(if (string-prefix? "x86_64" + (or (%current-target-system) + (%current-system))) + '() + '("-no-mmx" + "-no-3dnow" + "-no-sse" + "-no-sse2")) + "-no-sse3" + "-no-ssse3" + "-no-sse4.1" + "-no-sse4.2" + "-no-avx")))) (add-after 'install 'move-doc (lambda* (#:key outputs #:allow-other-keys) @@ -483,7 +499,7 @@ system, and the core design of Django is reused in Grantlee.") (define-public qtbase (package (name "qtbase") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -492,10 +508,9 @@ system, and the core design of Django is reused in Grantlee.") version ".tar.xz")) (sha256 (base32 - "0ipv18ypbgpxhh49rfplqmflskmnhhwj1bjr5hrwi0jpvar4gl50")) + "01q1rn5rp9biq3z38953z2hgm4nirvp2jfv8wg7isnld8v1yg0b3")) ;; Use TZDIR to avoid depending on package "tzdata". - (patches (search-patches "qtbase-use-TZDIR.patch" - "qtbase-glibc-compat.patch")) + (patches (search-patches "qtbase-use-TZDIR.patch")) (modules '((guix build utils))) (snippet ;; corelib uses bundled harfbuzz, md4, md5, sha3 @@ -504,7 +519,7 @@ system, and the core design of Django is reused in Grantlee.") (lambda (dir) (delete-file-recursively (string-append "src/3rdparty/" dir))) (list "double-conversion" "freetype" "harfbuzz-ng" - "libpng" "libjpeg" "pcre2" "xcb" + "libpng" "libjpeg" "pcre2" "sqlite" "xcb" "xkbcommon" "zlib")) #t)))) (build-system gnu-build-system) @@ -546,7 +561,7 @@ system, and the core design of Django is reused in Grantlee.") ("pcre2" ,pcre2) ("postgresql" ,postgresql) ("pulseaudio" ,pulseaudio) - ;("sqlite" ,sqlite) + ("sqlite" ,sqlite-with-column-metadata) ("unixodbc" ,unixodbc) ("xcb-util" ,xcb-util) ("xcb-util-image" ,xcb-util-image) @@ -561,6 +576,7 @@ system, and the core design of Django is reused in Grantlee.") ("perl" ,perl) ("pkg-config" ,pkg-config) ("python" ,python-2) + ("vulkan-headers" ,vulkan-headers) ("ruby" ,ruby))) (arguments `(#:phases @@ -616,10 +632,7 @@ system, and the core design of Django is reused in Grantlee.") "-no-compile-examples" ;; Most "-system-..." are automatic, but some use ;; the bundled copy by default. - ;; System sqlite fails on 5.10+ - ;;.obj/qsql_sqlite.o: In function `QSQLiteResultPrivate::initColumns(bool)': - ;;qsql_sqlite.cpp:(.text+0x190c): undefined reference to `sqlite3_column_table_name16' - ;"-system-sqlite" + "-system-sqlite" "-system-harfbuzz" "-system-pcre" ;; explicitly link with openssl instead of dlopening it @@ -726,7 +739,7 @@ developers using C++ or QML, a CSS & JavaScript like language.") (define-public qtsvg (package (inherit qtbase) (name "qtsvg") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -735,7 +748,7 @@ developers using C++ or QML, a CSS & JavaScript like language.") version ".tar.xz")) (sha256 (base32 - "0drhig0jcss3cf01aqfmafajf8gzf6bh468g1ikyrkh46czgyshx")))) + "0rni3cdcli91v7k8ra9s9phpznvkza8qqvcrv9yyfrmlapwbn5mw")))) (propagated-inputs `()) (native-inputs `(("perl" ,perl))) (inputs @@ -801,7 +814,7 @@ HostData=lib/qt5 (define-public qtimageformats (package (inherit qtsvg) (name "qtimageformats") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -810,7 +823,7 @@ HostData=lib/qt5 version ".tar.xz")) (sha256 (base32 - "05jnyrq7klr3mdiz0r9c151vl829yc8y9cxfbw5dwbp1rkndwl7b")) + "0s1s33k0wrnf9fi1wlm1kaq9hs1fx89597nhk53vzdfha42x3r97")) (modules '((guix build utils))) (snippet '(begin @@ -832,7 +845,7 @@ support for MNG, TGA, TIFF and WBMP image formats."))) (define-public qtx11extras (package (inherit qtsvg) (name "qtx11extras") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -841,7 +854,7 @@ support for MNG, TGA, TIFF and WBMP image formats."))) version ".tar.xz")) (sha256 (base32 - "0rccpmhz48kq4xs441lj9mnwpbi6kxwl8y7dj7w7g5zvpv41kwmw")))) + "12cha7pd3cjx7zr0l7rbi1j2pfwmfpdwc7w3dsqbyi1d0mhwl1zl")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -856,7 +869,7 @@ from within Qt 5."))) (define-public qtxmlpatterns (package (inherit qtsvg) (name "qtxmlpatterns") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -865,7 +878,7 @@ from within Qt 5."))) version ".tar.xz")) (sha256 (base32 - "0n5gacpni019i2872m4b1p5qaqibhszsdl3xhw3xsckvr0hf25v1")))) + "0ik7m1a0shjsyzs8n9hfx8m9hy1p3wg505slcs0xznj0pa0gdmaz")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:phases phases) @@ -885,7 +898,7 @@ xmlpatternsvalidator."))) (define-public qtdeclarative (package (inherit qtsvg) (name "qtdeclarative") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -894,7 +907,7 @@ xmlpatternsvalidator."))) version ".tar.xz")) (sha256 (base32 - "0fjg9ii64mhx2ww70rj44cy65rwwkwyjxcm435kwp3v1pzv5xkwy")))) + "1kgj6q53rk573yi47j32mn1mfk5ag98zvhv9qgrlb78y0gw8c392")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -917,7 +930,7 @@ with JavaScript and C++."))) (define-public qtconnectivity (package (inherit qtsvg) (name "qtconnectivity") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -926,7 +939,7 @@ with JavaScript and C++."))) version ".tar.xz")) (sha256 (base32 - "0mz6mbf069yqdvi6mcvp6izskcn9wzig4s3dzmygwd430pmx93kk")))) + "1ia21llw610wd7licdm81p8zpkrkvkc5yc7y4wplgg6k2jyip42q")))) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config) @@ -941,7 +954,7 @@ with Bluetooth and NFC."))) (define-public qtwebsockets (package (inherit qtsvg) (name "qtwebsockets") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -950,7 +963,7 @@ with Bluetooth and NFC."))) version ".tar.xz")) (sha256 (base32 - "1bj82y3f1nd2adnj3ljfr4vlx4bkgdlm3zvhlsas2lz837vi5aks")))) + "13cbr2pffv1hwvm8d8kzask0pyc2j3brgq23vi5i1i70kihrfqdf")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -968,7 +981,7 @@ consume data received from the server, or both."))) (define-public qtsensors (package (inherit qtsvg) (name "qtsensors") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -977,7 +990,7 @@ consume data received from the server, or both."))) version ".tar.xz")) (sha256 (base32 - "1yn065l6kzs3fn74950pkxxglqi55lzk7alf15klsd1wnxc0zsfb")))) + "1iv3gmk121myqdr64d9lf2m816ypxrb526gn0ssxx8gp4j4c69qf")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:parallel-tests? _ #f) #f) ; can lead to race condition @@ -1001,7 +1014,7 @@ recognition API for devices."))) (define-public qtmultimedia (package (inherit qtsvg) (name "qtmultimedia") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1010,7 +1023,7 @@ recognition API for devices."))) version ".tar.xz")) (sha256 (base32 - "0369b0mh7sr718l119b07grb1v8xqlq6l4damyd6lrmlj1wbb2zj")) + "0vbjrxsdahgbgpc2zcvgg3mpijzd5kknz5clfcw2cq3310yqyq15")) (modules '((guix build utils))) (snippet '(begin @@ -1052,7 +1065,7 @@ set of plugins for interacting with pulseaudio and GStreamer."))) (define-public qtwayland (package (inherit qtsvg) (name "qtwayland") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1061,7 +1074,7 @@ set of plugins for interacting with pulseaudio and GStreamer."))) version ".tar.xz")) (sha256 (base32 - "1sj4lsza48xji1qhmi1wqpx07jgm1mpa95gmd2w1kxw240hbr6p0")) + "0wdpxjr3zfmgcfg14zlwd8mjbc191pvlchj1xxd0lj30ldfy2daf")) (modules '((guix build utils))) (snippet ;; The examples try to build and cause the build to fail @@ -1104,7 +1117,7 @@ compositor libraries."))) (define-public qtserialport (package (inherit qtsvg) (name "qtserialport") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1113,7 +1126,7 @@ compositor libraries."))) version ".tar.xz")) (sha256 (base32 - "18v4pbq7bnmrl81m8s11ksbjlvzbb4kw5py6ji2dhmnm44w9k9sn")))) + "0vkgvicm67vds2iqmhnjsqwnx1f8zhbzc31w6q198i0x8b76j6xh")))) (native-inputs `(("perl" ,perl))) (inputs `(("qtbase" ,qtbase) @@ -1138,7 +1151,7 @@ interacting with serial ports from within Qt."))) (define-public qtserialbus (package (inherit qtsvg) (name "qtserialbus") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1147,7 +1160,7 @@ interacting with serial ports from within Qt."))) version ".tar.xz")) (sha256 (base32 - "0jjmdd6vkvs5izqazp1rsrad0b1fzk6knrbdjl37lvcsawyfxfyk")))) + "07k4g5qfh657das2f5i6ph0hl4bva13yzlmxnay7qpzqcb0w4x0p")))) (inputs `(("qtbase" ,qtbase) ("qtserialport" ,qtserialport))) @@ -1159,7 +1172,7 @@ and others."))) (define-public qtwebchannel (package (inherit qtsvg) (name "qtwebchannel") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1168,7 +1181,7 @@ and others."))) version ".tar.xz")) (sha256 (base32 - "11rfjkb4h8dzxfmk889x7kkc73cbk26smc7h62lnh35f2nppd95r")))) + "1z02dhrd1h2rpdhww9py9dnhss80xwf45n568y7gr3gay7ldlpwl")))) (native-inputs `(("perl" ,perl) ("qtdeclarative" ,qtdeclarative) @@ -1183,7 +1196,7 @@ popular web engines, Qt WebKit 2 and Qt WebEngine."))) (define-public qtwebglplugin (package (inherit qtsvg) (name "qtwebglplugin") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1192,7 +1205,7 @@ popular web engines, Qt WebKit 2 and Qt WebEngine."))) version ".tar.xz")) (sha256 (base32 - "108yhi3sj6d1ysmlpka69ivb20mx9h6jpra6yq099i3jw4gc753x")))) + "0vazz9yr1qgpcq7p77vg9mrjxy6hjabvwj9irw5l5w7fmsk2ns0n")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:phases phases) @@ -1218,7 +1231,7 @@ OpenGL ES 2.0 and can be used in HTML5 canvas elements"))) (define-public qtwebview (package (inherit qtsvg) (name "qtwebview") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1227,7 +1240,7 @@ OpenGL ES 2.0 and can be used in HTML5 canvas elements"))) version ".tar.xz")) (sha256 (base32 - "18da6a13wpb23vb6mbg9v75gphdf5mjmch7q3v1qjrv2sdwbpjbp")))) + "1r30n9vjcgh2cd2iycfwwwpmbz7grrd3iqrc0afwnri3vylnfqil")))) (native-inputs `(("perl" ,perl))) (inputs @@ -1241,7 +1254,7 @@ native APIs where it makes sense."))) (define-public qtlocation (package (inherit qtsvg) (name "qtlocation") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1250,7 +1263,7 @@ native APIs where it makes sense."))) version ".tar.xz")) (sha256 (base32 - "03vrbymwbn4nqsypcmr4ccqv20nvwdfs9gb01pi3jxr6x0wrlb0p")))) + "0kh2c2ahg8xkpvqsva13i35ndsc0x0ypnmd6vix5pm5jvwg9366n")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -1271,7 +1284,7 @@ positioning and geolocation plugins."))) (define-public qttools (package (inherit qtsvg) (name "qttools") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1280,13 +1293,14 @@ positioning and geolocation plugins."))) version ".tar.xz")) (sha256 (base32 - "1zhl8p29mbabf07rhaks13qcm45zdckzymvz9qn95nxfj9piiyxp")))) + "1f1iqvksrlgkxdbagb6vvjib3argbv9l7iis6ymb8n0rfwn37s7h")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests (native-inputs `(("perl" ,perl) - ("qtdeclarative" ,qtdeclarative))) + ("qtdeclarative" ,qtdeclarative) + ("vulkan-headers" ,vulkan-headers))) (inputs `(("mesa" ,mesa) ("qtbase" ,qtbase))) @@ -1298,7 +1312,7 @@ that helps in Qt development."))) (define-public qtscript (package (inherit qtsvg) (name "qtscript") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1307,7 +1321,7 @@ that helps in Qt development."))) version ".tar.xz")) (sha256 (base32 - "0z6sb4b9ds5lwkr0sxrnx6nim3aq2qx4a8illjy5vclfdv80yhqw")) + "0xprhd1brn30dqf5vy4inqgzpq48i8nlc428x9rr8fk5hdm4dhmj")) (patches (search-patches "qtscript-disable-tests.patch")))) (native-inputs `(("perl" ,perl) @@ -1322,7 +1336,7 @@ ECMAScript and Qt."))) (define-public qtquickcontrols (package (inherit qtsvg) (name "qtquickcontrols") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1331,7 +1345,7 @@ ECMAScript and Qt."))) version ".tar.xz")) (sha256 (base32 - "0mn662j0gkpama7zlrsn4h27sjrk49kpbha1h0zxxyiza5cpzsms")))) + "1q11nr85436xzrf4mbrbav306hrz0s2qaclqhhb0g88vzcq2wxww")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -1346,7 +1360,7 @@ can be used to build complete interfaces in Qt Quick."))) (define-public qtquickcontrols2 (package (inherit qtsvg) (name "qtquickcontrols2") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1355,7 +1369,7 @@ can be used to build complete interfaces in Qt Quick."))) version ".tar.xz")) (sha256 (base32 - "0hn4kvrkz5ivwrp9p6yzwlw7cn4j72kcpm2nqyi3dbai1px6dc5x")))) + "116b5nhmsx898626s37r446yci7kxd3k7xap1dh9spqklkwlj1da")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -1371,7 +1385,7 @@ not available."))) (define-public qtgraphicaleffects (package (inherit qtsvg) (name "qtgraphicaleffects") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1380,7 +1394,7 @@ not available."))) version ".tar.xz")) (sha256 (base32 - "1ws8aj7bq3rxpzjs370dcyqk8a5v1y6fwvrdhf70j8b2d4v75lnr")))) + "1zd9wjh2hhd6lby0z3ak0ff6zkbv73hh0drrg9qp2yrgjfismp59")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -1426,7 +1440,7 @@ backend for QtQuick scene graph.") (define-public qtgamepad (package (inherit qtsvg) (name "qtgamepad") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1435,7 +1449,7 @@ backend for QtQuick scene graph.") version ".tar.xz")) (sha256 (base32 - "1n97w9rcbg8mzkvjgn3i8jbfmplp7w0p80ykdchpml47gxk1kwma")))) + "076874iyadj7pkprlk24h257nb8i4sni9c6kbixm5zrr2y73fbxf")))) (native-inputs `(("perl" ,perl) ("pkg-config" ,pkg-config))) @@ -1456,7 +1470,7 @@ and mobile applications targeting TV-like form factors."))) (define-public qtscxml (package (inherit qtsvg) (name "qtscxml") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1465,7 +1479,7 @@ and mobile applications targeting TV-like form factors."))) version ".tar.xz")) (sha256 (base32 - "0f1k4fnk2aydagxqvkb636pcsi17sbq2zj2fn0ad50dvq013yiph")) + "197p5x1dadgjb39pd2vw60r63lvz68i0pm5i8xbyzgzm94hwn9fn")) (modules '((guix build utils))) (snippet '(begin @@ -1487,7 +1501,7 @@ also contains functionality to support data models and executable content."))) (define-public qtpurchasing (package (inherit qtsvg) (name "qtpurchasing") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1496,7 +1510,7 @@ also contains functionality to support data models and executable content."))) version ".tar.xz")) (sha256 (base32 - "0crm39fy9aqns10mjlbxvkkna9xklic49zfp3f7v7cwl66wap6dc")))) + "1xld1yx085mhnqdipy29g2yy5af67hfm0wy4mvj7pl6y5qj8jw9d")))) (inputs `(("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative))) @@ -1507,7 +1521,7 @@ purchasing goods and services."))) (define-public qtcanvas3d (package (inherit qtsvg) (name "qtcanvas3d") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1516,7 +1530,7 @@ purchasing goods and services."))) version ".tar.xz")) (sha256 (base32 - "1pif3m1f44jrly2nh0hzid6dmdxqiy5qgx645hz6g5fmpl113d8g")) + "0h7arss7wr0jwl87kiwgbf0nlcgpbriyf7cnv9j4h7g8d09a777x")) (modules '((guix build utils))) (snippet '(begin @@ -1546,7 +1560,7 @@ drawing calls from Qt Quick JavaScript."))) (define-public qtcharts (package (inherit qtsvg) (name "qtcharts") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1555,7 +1569,7 @@ drawing calls from Qt Quick JavaScript."))) version ".tar.xz")) (sha256 (base32 - "0avscsni84zrzydilkkp456sbaypyzhkn42qygjdq7wcn045zxk2")))) + "0551qfqnsfiy8kb1ng2v0yn7s6ggy7ghcmis983sbzxzjv2i58zn")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -1573,7 +1587,7 @@ selecting one of the charts themes.") (define-public qtdatavis3d (package (inherit qtsvg) (name "qtdatavis3d") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1582,7 +1596,7 @@ selecting one of the charts themes.") version ".tar.xz")) (sha256 (base32 - "0gay0dsz05xfrlx190y95hp9wipzb988h02fqbqvyn00ds3s178w")))) + "05pzvrhvxhxjlav4axrhwlnxjzlr7mi8k3f06g59ryrwmb99kd37")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -1600,7 +1614,7 @@ customized by using themes or by adding custom items and labels to them.") (define-public qtnetworkauth (package (inherit qtsvg) (name "qtnetworkauth") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1609,7 +1623,7 @@ customized by using themes or by adding custom items and labels to them.") version ".tar.xz")) (sha256 (base32 - "05p4pvfp3k5612d54anvpj39bgc7v572x6kgk3fy69xgn7lhbd02")))) + "1zmpvkhf2kmnr8vsa6jq675d5cpnmsg3f8yds6g91yq1g3prqdvr")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:phases phases) @@ -1629,7 +1643,7 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt."))) (define-public qtremoteobjects (package (inherit qtsvg) (name "qtremoteobjects") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1638,7 +1652,7 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt."))) version ".tar.xz")) (sha256 (base32 - "1yv9f2329nv4viiyqmq7ciz51574wd11grj8s88qm0ndcb36jbgb")))) + "06awsaf15rch1y9p2q9kdlmlaa8g28whbzf04b10zfflyijnvg7j")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:phases phases) @@ -1662,7 +1676,7 @@ processes or computers."))) (define-public qtspeech (package (inherit qtsvg) (name "qtspeech") - (version "5.11.1") + (version "5.11.2") (source (origin (method url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" @@ -1671,7 +1685,7 @@ processes or computers."))) version ".tar.xz")) (sha256 (base32 - "1nwvbaijg35i98yaiqgnyn5vv0cn4v3wrxhwi1s0hfv9sv3q5iyw")))) + "110xr2y174sayi9f6swzp1wx7mx4sw9rifcdx2bkbsnbfab6zg8a")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) ((#:tests? _ #f) #f))) ; TODO: Enable the tests @@ -2158,7 +2172,15 @@ different kinds of sliders, and much more.") #:configure-flags (list ;"-DENABLE_API_TESTS=TRUE" "-DPORT=Qt" "-DUSE_LIBHYPHEN=OFF" - "-DUSE_SYSTEM_MALLOC=ON"))) + "-DUSE_SYSTEM_MALLOC=ON" + ;; XXX: relative dir installs to build dir? + (string-append "-DECM_MKSPECS_INSTALL_DIR=" + %output "/lib/qt5/mkspecs/modules") + ;; Sacrifice a little speed in order to link + ;; libraries and test executables in a + ;; reasonable amount of memory. + "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-keep-memory" + "-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-keep-memory"))) (home-page "https://www.webkit.org") (synopsis "Web browser engine and classes to render and interact with web content") @@ -2186,7 +2208,7 @@ time Web content can be enhanced with native controls.") (inputs `(("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative))) - (home-page "https://github.com/frankosterfeld/qtkeychain") + (home-page "https://filcuc.github.io/DOtherSide/index.html") (synopsis "C language library for creating bindings for the Qt QML language") (description "DOtherSide is a C language library for creating bindings for the diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index 48dc3cddb9..22ea21dd94 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Andreas Enge -;;; Copyright © 2015, 2016 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2018 Ricardo Wurmus ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -22,6 +22,7 @@ #:use-module ((guix licenses) #:select (non-copyleft isc gpl2 lgpl2.1 lgpl2.1+)) #:use-module (guix packages) + #:use-module (guix git-download) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -122,13 +123,14 @@ Java Lucene text search engine API to C++.") (name "lrdf") (version "0.6.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/swh/LRDF/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/swh/LRDF.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1vxii4mlcpyi16dizcmnqfl2j9gffgr986yd8ic67hvs8xy42yfm")))) + "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4")))) (build-system gnu-build-system) (arguments '(#:phases @@ -140,9 +142,9 @@ Java Lucene text search engine API to C++.") (("instances_test remove_test") "instances_test") (("\\$\\(TESTS\\) remove_test") "$(TESTS)")) #t)) - (add-after 'remove-out-of-tree-references 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vfi"))))))) + ;; The default bootstrap phase executes autogen.sh, which fails. + (replace 'bootstrap + (lambda _ (invoke "autoreconf" "-vif") #t))))) (inputs `(("raptor" ,raptor2) ("cyrus-sasl" ,cyrus-sasl) diff --git a/gnu/packages/regex.scm b/gnu/packages/regex.scm index c05d819d65..08501aef6f 100644 --- a/gnu/packages/regex.scm +++ b/gnu/packages/regex.scm @@ -23,21 +23,22 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix utils)) (define-public re2 (package (name "re2") - (version "2018-10-01") + (version "2018-12-01") (home-page "https://github.com/google/re2") (source (origin - (method url-fetch) - (uri (string-append home-page "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference (url home-page) (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "10fsxsj3yip34hp2zl5rw8h2x2lgnp83fwrh7m0qfd9m99qrf4x3")))) + "181fq0idwzgfmmpyhmqdxi37rbynzgf1b8s99aaka9kqs9ffwj22")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build gnu-build-system) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 7e8c8be290..52832eeeb8 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2015, 2016, 2017 Ben Woodcroft ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2017 Marius Bakke -;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2017, 2018 Efraim Flashner ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Clément Lassieur ;;; @@ -110,7 +110,7 @@ a focus on simplicity and productivity.") (define-public ruby-2.3 (package (inherit ruby) - (version "2.3.7") + (version "2.3.8") (source (origin (method url-fetch) @@ -119,7 +119,7 @@ a focus on simplicity and productivity.") "/ruby-" version ".tar.xz")) (sha256 (base32 - "1nwfaifq5624p1ml56qq5dy5w38z37x22r0qgrbgbzrzklmqy7y6")) + "1zhxbjff08pvbnxvn58krns6q0p6g4977q6ykfn823gxhifn63wi")) (modules '((guix build utils))) (snippet `(begin ;; Remove bundled libffi @@ -3010,7 +3010,15 @@ a native C extension.") (lambda _ ;; Regenerate gemspec so loosened dependency constraints are ;; propagated. - (invoke "rake" "gemspec")))))) + (invoke "rake" "gemspec"))) + (add-after 'regenerate-gemspec 'fix-json-java.gemspec + (lambda _ + ;; This gemspec doesn't look to be generated by the above + ;; command, so patch it separately. + (substitute* "json-java.gemspec" + (("%q\\.freeze, \\[\"~> 2\\.0\"\\]") + "%q.freeze, [\">= 2.0\"]")) + #t))))) (native-inputs `(("bundler" ,bundler) ("ragel" ,ragel) @@ -3481,7 +3489,7 @@ differences (added or removed nodes) between two XML/HTML documents.") (define-public ruby-rack (package (name "ruby-rack") - (version "2.0.5") + (version "2.0.6") (source (origin (method url-fetch) @@ -3493,7 +3501,7 @@ differences (added or removed nodes) between two XML/HTML documents.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1k1k4wk10l6bxx46pw58j2p3nmyzjqnr65hbjjqydd6517fmxgib")) + "0pb3g5ymvbf07xaxcn51dpqv3djlxavckp3qkxsjdxiqznb0d9p1")) ;; Ignore test which fails inside the build environment but works ;; outside. (patches (search-patches "ruby-rack-ignore-failing-test.patch")))) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 40633854ae..ef40431733 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -41,7 +41,6 @@ #:use-module (gnu packages python) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) - #:use-module (gnu packages version-control) #:use-module (gnu packages) #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) @@ -69,88 +68,6 @@ ("mips64el-linux" "mips64el-unknown-linux-gnuabi64") (_ (nix-system->gnu-triplet system)))) -(define rust-bootstrap - (package - (name "rust-bootstrap") - (version "1.22.1") - (source #f) - (build-system gnu-build-system) - (native-inputs - `(("patchelf" ,patchelf))) - (inputs - `(("gcc" ,(canonical-package gcc)) - ("gcc:lib" ,(canonical-package gcc) "lib") - ("zlib" ,zlib) - ("source" - ,(origin - (method url-fetch) - (uri (string-append - "https://static.rust-lang.org/dist/" - "rust-" version "-" (nix-system->gnu-triplet-for-rust) - ".tar.gz")) - (sha256 - (base32 - (match (nix-system->gnu-triplet-for-rust) - ("i686-unknown-linux-gnu" - "15zqbx86nm13d5vq2gm69b7av4vg479f74b5by64hs3bcwwm08pr") - ("x86_64-unknown-linux-gnu" - "1yll78x6b3abnvgjf2b66gvp6mmcb9y9jdiqcwhmgc0z0i0fix4c") - ("armv7-unknown-linux-gnueabihf" - "138a8l528kzp5wyk1mgjaxs304ac5ms8vlpq0ggjaznm6bn2j7a5") - ("aarch64-unknown-linux-gnu" - "0z6m9m1rx4d96nvybbfmpscq4dv616m615ijy16d5wh2vx0p4na8") - ("mips64el-unknown-linux-gnuabi64" - "07k4pcv7jvfa48cscdj8752lby7m7xdl88v3a6na1vs675lhgja2") - (_ "")))))))) - (outputs '("out" "cargo")) - (arguments - `(#:tests? #f - #:strip-binaries? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (replace 'install - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (cargo-out (assoc-ref outputs "cargo")) - (gcc:lib (assoc-ref inputs "gcc:lib")) - (libc (assoc-ref inputs "libc")) - (zlib (assoc-ref inputs "zlib")) - (ld-so (string-append libc ,(glibc-dynamic-linker))) - (rpath (string-append out "/lib:" zlib "/lib:" - libc "/lib:" gcc:lib "/lib")) - (cargo-rpath (string-append cargo-out "/lib:" libc "/lib:" - gcc:lib "/lib")) - (rustc (string-append out "/bin/rustc")) - (rustdoc (string-append out "/bin/rustdoc")) - (cargo (string-append cargo-out "/bin/cargo")) - (gcc (assoc-ref inputs "gcc"))) - ;; Install rustc/rustdoc. - (invoke "bash" "install.sh" - (string-append "--prefix=" out) - (string-append "--components=rustc," - "rust-std-" - ,(nix-system->gnu-triplet-for-rust))) - ;; Install cargo. - (invoke "bash" "install.sh" - (string-append "--prefix=" cargo-out) - (string-append "--components=cargo")) - (for-each (lambda (file) - (invoke "patchelf" "--set-rpath" rpath file)) - (cons* rustc rustdoc (find-files out "\\.so$"))) - (invoke "patchelf" "--set-rpath" cargo-rpath cargo) - (for-each (lambda (file) - (invoke "patchelf" "--set-interpreter" ld-so file)) - (list rustc rustdoc cargo)) - #t)))))) - (home-page "https://www.rust-lang.org") - (synopsis "Prebuilt rust compiler and cargo package manager") - (description "This package provides a pre-built @command{rustc} compiler -and a pre-built @command{cargo} package manager, which can -in turn be used to build the final Rust.") - (license license:asl2.0))) - (define* (rust-source version hash #:key (patches '())) (origin @@ -469,7 +386,6 @@ test = { path = \"../libtest\" } ("cmake" ,cmake) ("flex" ,flex) ; For the tests ("gdb" ,gdb) ; For the tests - ("git" ,git) ("procps" ,procps) ; For the tests ("python-2" ,python-2) ("rustc-bootstrap" ,mrustc) @@ -480,7 +396,8 @@ test = { path = \"../libtest\" } `(("jemalloc" ,jemalloc-4.5.0) ("llvm" ,llvm-3.9.1) ("openssl" ,openssl) - ("libcurl" ,curl))) ; For "cargo" + ("libssh2" ,libssh2) ; For "cargo" + ("libcurl" ,curl))) ; For "cargo" ;; rustc invokes gcc, so we need to set its search paths accordingly. ;; Note: duplicate its value here to cope with circular dependencies among @@ -527,6 +444,13 @@ safety and thread safety guarantees.") ;; i686-linux. (substitute* "src/tools/cargo/tests/test.rs" (("fn cargo_test_env") "#[ignore]\nfn cargo_test_env")) + + ;; These tests pull in a dependency on "git", which changes + ;; too frequently take part in the Rust toolchain. + (substitute* "src/tools/cargo/tests/new.rs" + (("fn author_prefers_cargo") "#[ignore]\nfn author_prefers_cargo") + (("fn finds_author_git") "#[ignore]\nfn finds_author_git") + (("fn finds_local_author_git") "#[ignore]\nfn finds_local_author_git")) #t)) (add-after 'patch-cargo-tests 'ignore-glibc-2.27-incompatible-test ;; https://github.com/rust-lang/rust/issues/47863 @@ -636,42 +560,54 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" #t)))))))))) (define-public rust-1.21 - (rust-bootstrapped-package rust-1.20 "1.21.0" - "1yj8lnxybjrybp00fqhxw8fpr641dh8wcn9mk44xjnsb4i1c21qp")) + (let ((base-rust (rust-bootstrapped-package rust-1.20 "1.21.0" + "1yj8lnxybjrybp00fqhxw8fpr641dh8wcn9mk44xjnsb4i1c21qp"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'configure 'remove-ar + (lambda* (#:key inputs #:allow-other-keys) + ;; Remove because toml complains about "unknown field". + (substitute* "config.toml" + (("^ar =.*") "\n")) + #t))))))))) (define-public rust-1.22 - (rust-bootstrapped-package rust-1.21 "1.22.1" - "1lrzzp0nh7s61wgfs2h6ilaqi6iq89f1pd1yaf65l87bssyl4ylb")) + (let ((base-rust (rust-bootstrapped-package rust-1.21 "1.22.1" + "1lrzzp0nh7s61wgfs2h6ilaqi6iq89f1pd1yaf65l87bssyl4ylb"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'remove-flaky-test + (lambda _ + ;; See . + (when (file-exists? "src/test/run-make/issue-26092") + (delete-file-recursively "src/test/run-make/issue-26092")) + #t))))))))) (define-public rust-1.23 - (package - (inherit rust-1.20) - (name "rust") - (version "1.23.0") - (source (rust-source version "14fb8vhjzsxlbi6yrn1r6fl5dlbdd1m92dn5zj5gmzfwf4w9ar3l")) - (native-inputs - `(("bison" ,bison) ; For the tests - ("cmake" ,cmake) - ("flex" ,flex) ; For the tests - ("gdb" ,gdb) ; For the tests - ("git" ,git) - ("procps" ,procps) ; For the tests - ("python-2" ,python-2) - ("rustc-bootstrap" ,rust-bootstrap) - ("cargo-bootstrap" ,rust-bootstrap "cargo") - ("pkg-config" ,pkg-config) ; For "cargo" - ("which" ,which))) - (arguments - (substitute-keyword-arguments (package-arguments rust-1.20) - ((#:phases phases) - `(modify-phases ,phases - (delete 'configure-archiver) - (add-after 'unpack 'dont-build-native - (lambda _ - ;; XXX: Revisit this when we use gcc 6. - (substitute* "src/binaryen/CMakeLists.txt" - (("ADD_COMPILE_FLAG\\(\\\"-march=native\\\"\\)") "")) - #t)))))))) + (let ((base-rust (rust-bootstrapped-package rust-1.22 "1.23.0" + "14fb8vhjzsxlbi6yrn1r6fl5dlbdd1m92dn5zj5gmzfwf4w9ar3l"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (delete 'configure-archiver) + (delete 'remove-ar) + (add-after 'unpack 'dont-build-native + (lambda _ + ;; XXX: Revisit this when we use gcc 6. + (substitute* "src/binaryen/CMakeLists.txt" + (("ADD_COMPILE_FLAG\\(\\\"-march=native\\\"\\)") "")) + #t))))))))) (define-public rust-1.24 (let ((base-rust @@ -692,6 +628,9 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (("fn test_loading_cosine") "#[ignore]\nfn test_loading_cosine")) #t))))))))) +;;; Rust 1.25 release support work with llvm 6--but build with llvm 6 is +;;; not determenistic due to . +;;; Keep using llvm 3.9.1 until builds become determenistic (define-public rust-1.25 (let ((base-rust (rust-bootstrapped-package rust-1.24 "1.25.0" @@ -699,10 +638,6 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" #:patches '("rust-1.25-accept-more-detailed-gdb-lines.patch")))) (package (inherit base-rust) - (inputs - ;; Use LLVM 6.0 - (alist-replace "llvm" (list llvm) - (package-inputs base-rust))) (arguments (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) @@ -713,18 +648,6 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" ;; This test wants to update the crate index. (("fn no_index_update") "#[ignore]\nfn no_index_update")) #t)) - (add-after 'configure 'enable-codegen-tests - (lambda _ - (substitute* "config.toml" - (("codegen-tests = false") "")) - #t)) - ;; FIXME: Re-enable this test if it's indeed supposed to work. - ;; See . - (add-after 'enable-codegen-tests 'disable-nil-enum-test - (lambda _ - (substitute* "src/test/debuginfo/nil-enum.rs" - (("ignore-lldb") "ignore-gdb")) - #t)) (replace 'patch-aarch64-test (lambda _ (substitute* "src/librustc_metadata/dynamic_lib.rs" @@ -772,6 +695,12 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" ;; i686-linux. (substitute* "src/tools/cargo/tests/testsuite/test.rs" (("fn cargo_test_env") "#[ignore]\nfn cargo_test_env")) + + ;; Avoid dependency on "git". + (substitute* "src/tools/cargo/tests/testsuite/new.rs" + (("fn author_prefers_cargo") "#[ignore]\nfn author_prefers_cargo") + (("fn finds_author_git") "#[ignore]\nfn finds_author_git") + (("fn finds_local_author_git") "#[ignore]\nfn finds_local_author_git")) #t)) (add-after 'patch-cargo-tests 'disable-cargo-test-for-nightly-channel (lambda* _ @@ -788,14 +717,15 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" (("fn no_index_update") "#[ignore]\nfn no_index_update")) #t))))))))) -(define-public rust +(define-public rust-1.27 (let ((base-rust (rust-bootstrapped-package rust-1.26 "1.27.2" "0pg1s37bhx9zqbynxyydq5j6q7kij9vxkcv8maz0m25prm88r0cs" #:patches '("rust-coresimd-doctest.patch" "rust-bootstrap-stage0-test.patch" - "rust-1.25-accept-more-detailed-gdb-lines.patch")))) + "rust-1.25-accept-more-detailed-gdb-lines.patch" + "rust-reproducible-builds.patch")))) (package (inherit base-rust) (arguments @@ -808,4 +738,44 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" ;; `prefix' directory should exist before `install' call (mkdir-p (assoc-ref outputs "out")) (mkdir-p (assoc-ref outputs "cargo")) + #t)) + (add-after 'patch-cargo-tests 'disable-thinlto-test + (lambda* _ + ;; thinlto required llvm 6.0 for work + (substitute* "src/tools/cargo/tests/testsuite/path.rs" + (("fn thin_lto_works") "#[ignore]\nfn thin_lto_works")) #t))))))))) + +(define-public rust + (let ((base-rust + (rust-bootstrapped-package rust-1.27 "1.28.0" + "11k4rn77bca2rikykkk9fmprrgjswd4x4kaq7fia08vgkir82nhx" + #:patches + '("rust-coresimd-doctest.patch" + "rust-bootstrap-stage0-test.patch" + "rust-1.25-accept-more-detailed-gdb-lines.patch" + "rust-reproducible-builds.patch")))) + (package + (inherit base-rust) + (inputs + ;; Use LLVM 6.0 + (alist-replace "llvm" (list llvm) + (package-inputs base-rust))) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'configure 'enable-codegen-tests + ;; Codegen tests should pass with llvm 6, so enable them. + (lambda* _ + (substitute* "config.toml" + (("codegen-tests = false") "")) + #t)) + (add-after 'patch-tests 'disable-amd64-avx-test + ;; That test would fail on x86_64 machines without avx. + (lambda* _ + (substitute* "src/test/run-pass/issue-44056.rs" + (("only-x86_64") "ignore-test")) + #t)) + ;; The thinlto test should pass with llvm 6. + (delete 'disable-thinlto-test)))))))) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 65d41a2b67..fd9bdd9724 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2017, 2018 Marius Bakke ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,20 +32,23 @@ #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages autotools) + #:use-module (gnu packages backup) #:use-module (gnu packages check) #:use-module (gnu packages crypto) #:use-module (gnu packages cups) #:use-module (gnu packages databases) #:use-module (gnu packages docbook) - #:use-module (gnu packages tls) - #:use-module (gnu packages popt) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages openldap) - #:use-module (gnu packages readline) + #:use-module (gnu packages gnupg) #:use-module (gnu packages kerberos) #:use-module (gnu packages linux) + #:use-module (gnu packages openldap) #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages popt) #:use-module (gnu packages python) + #:use-module (gnu packages readline) + #:use-module (gnu packages tls) + #:use-module (gnu packages web) #:use-module (gnu packages xml)) (define-public cifs-utils @@ -73,10 +77,6 @@ (arguments `(#:phases (modify-phases %standard-phases - ;; The 6.7 tarball is missing ‘install.sh’. Create it. - (add-after 'unpack 'autoreconf - (lambda _ - (invoke "autoreconf" "-i"))) (add-before 'configure 'set-root-sbin (lambda _ ; Don't try to install in "/sbin". (setenv "ROOTSBINDIR" @@ -150,14 +150,14 @@ anywhere.") (define-public samba (package (name "samba") - (version "4.8.5") + (version "4.9.3") (source (origin (method url-fetch) (uri (string-append "https://download.samba.org/pub/samba/stable/" "samba-" version ".tar.gz")) (sha256 (base32 - "0mailvhjsma19k6b6zjl02z9n2hbbyfybvicjfw2hh9d4sqyd3p5")))) + "1krm47x08c0vcrq12dxs8mbicma1ck2sl1i0hgkvrmwsgrqdi3yg")))) (build-system gnu-build-system) (arguments `(#:phases @@ -202,10 +202,14 @@ anywhere.") `(("acl" ,acl) ("cups" ,cups) ;; ("gamin" ,gamin) + ("gpgme" ,gpgme) ("gnutls" ,gnutls) ("iniparser" ,iniparser) + ("jansson" ,jansson) ("libaio" ,libaio) + ("libarchive" ,libarchive) ("linux-pam" ,linux-pam) + ("lmdb" ,lmdb) ("openldap" ,openldap) ("popt" ,popt) ("readline" ,readline) @@ -341,14 +345,14 @@ many event types, including timers, signals, and the classic file descriptor eve (define-public ldb (package (name "ldb") - (version "1.3.6") + (version "1.4.3") (source (origin (method url-fetch) (uri (string-append "https://www.samba.org/ftp/ldb/ldb-" version ".tar.gz")) (sha256 (base32 - "16lkz3gyvsm9als1wyimsl573hclr72xy6454mshwjanncs33lji")) + "07vacwr941y2x31yl9knsr2rpffz5pqabvqds6sbyngqxy4r785c")) (modules '((guix build utils))) (snippet '(begin @@ -361,7 +365,10 @@ many event types, including timers, signals, and the classic file descriptor eve #t)))) (build-system gnu-build-system) (arguments - '(#:phases + '(;; LMDB is only supported on 64-bit systems, yet the test suite + ;; requires it. + #:tests? (assoc-ref %build-inputs "lmdb") + #:phases (modify-phases %standard-phases (replace 'configure ;; ldb use a custom configuration script that runs waf. @@ -381,7 +388,10 @@ many event types, including timers, signals, and the classic file descriptor eve `(("talloc" ,talloc) ("tdb" ,tdb))) (inputs - `(("popt" ,popt) + `(,@(if (target-64bit?) + `(("lmdb" ,lmdb)) + '()) + ("popt" ,popt) ("tevent" ,tevent))) (synopsis "LDAP-like embedded database") (home-page "https://ldb.samba.org/") diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 9654fe36f5..7267afd709 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -66,6 +66,7 @@ #:use-module (gnu packages tls) #:use-module (gnu packages gl) #:use-module (gnu packages libedit) + #:use-module (srfi srfi-1) #:use-module (ice-9 match)) (define (mit-scheme-source-directory system version) @@ -205,98 +206,102 @@ features an integrated Emacs-like editor and a large runtime library.") (properties '((ftp-directory . "/gnu/mit-scheme/stable.pkg"))))) (define-public bigloo - (package - (name "bigloo") - (version "4.3b") - (source (origin - (method url-fetch) - (uri (string-append "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo" - version ".tar.gz")) - (sha256 - (base32 - "1x7xdgsls277zlf6gcaxs2cj62xj6yvb0qxh0ddmxfamvxba0cf4")) - ;; Remove bundled libraries. - (modules '((guix build utils))) - (snippet - '(begin - (for-each delete-file-recursively - '("gc" "gmp" "libuv")) - #t)))) - (build-system gnu-build-system) - (arguments - `(#:test-target "test" - #:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Upstream modifies source tarballs in place, making significant changes + ;; long after the initial publication: . For + ;; transparency, we give this "second 4.3b" release a different version + ;; number. + (let ((upstream-version "4.3b")) + (package + (name "bigloo") + (version "4.3b2") + (source (origin + (method url-fetch) + (uri (string-append "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo" + upstream-version ".tar.gz")) + (sha256 + (base32 + "02s0wrz5b1p0yqk9x6kax1vwzil7g9cyxfvl3vmy7fzznsza9gs4")) + ;; Remove bundled libraries. + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file-recursively + '("gc" "gmp" "libuv")) + #t)))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) - (substitute* "configure" - (("^shell=.*$") - (string-append "shell=" (which "bash") "\n")) - (("`date`") "0")) - (substitute* "autoconf/runtest.in" - ((", @DATE@") "")) - (substitute* "autoconf/osversion" - (("^version.*$") "version=\"\"\n")) - (substitute* "comptime/Makefile" - (("\\$\\(LDCOMPLIBS\\)") - "$(LDCOMPLIBS) $(LDFLAGS)")) + (substitute* "configure" + (("^shell=.*$") + (string-append "shell=" (which "bash") "\n")) + (("`date`") "0")) + (substitute* "autoconf/runtest.in" + ((", @DATE@") "")) + (substitute* "autoconf/osversion" + (("^version.*$") "version=\"\"\n")) + (substitute* "comptime/Makefile" + (("\\$\\(LDCOMPLIBS\\)") + "$(LDCOMPLIBS) $(LDFLAGS)")) - ;; The `configure' script doesn't understand options - ;; of those of Autoconf. - (let ((out (assoc-ref outputs "out"))) - (invoke "./configure" - (string-append "--prefix=" out) - ; use system libraries - "--customgc=no" - "--customunistring=no" - "--customlibuv=no" - (string-append"--mv=" (which "mv")) - (string-append "--rm=" (which "rm")) - "--cflags=-fPIC" - (string-append "--ldflags=-Wl,-rpath=" - (assoc-ref outputs "out") - "/lib/bigloo/" ,version) - (string-append "--lispdir=" out - "/share/emacs/site-lisp") - "--sharedbde=yes" - "--sharedcompiler=yes" - "--disable-patch")))) - (add-after 'install 'install-emacs-modes - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (dir (string-append out "/share/emacs/site-lisp"))) - (invoke "make" "-C" "bmacs" "all" "install" - (string-append "EMACSBRAND=emacs25") - (string-append "EMACSDIR=" dir)))))))) - (inputs - `(("emacs" ,emacs) ;UDE needs the X version of Emacs - ("libgc" ,libgc) - ("libunistring" ,libunistring) - ("libuv" ,libuv) - ("openssl" ,openssl) - ("sqlite" ,sqlite) + ;; The `configure' script doesn't understand options + ;; of those of Autoconf. + (let ((out (assoc-ref outputs "out"))) + (invoke "./configure" + (string-append "--prefix=" out) + ; use system libraries + "--customgc=no" + "--customunistring=no" + "--customlibuv=no" + (string-append"--mv=" (which "mv")) + (string-append "--rm=" (which "rm")) + "--cflags=-fPIC" + (string-append "--ldflags=-Wl,-rpath=" + (assoc-ref outputs "out") + "/lib/bigloo/" ,upstream-version) + (string-append "--lispdir=" out + "/share/emacs/site-lisp") + "--sharedbde=yes" + "--sharedcompiler=yes" + "--disable-patch")))) + (add-after 'install 'install-emacs-modes + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (dir (string-append out "/share/emacs/site-lisp"))) + (invoke "make" "-C" "bmacs" "all" "install" + (string-append "EMACSBRAND=emacs25") + (string-append "EMACSDIR=" dir)))))))) + (inputs + `(("emacs" ,emacs) ;UDE needs the X version of Emacs + ("libgc" ,libgc) + ("libunistring" ,libunistring) + ("libuv" ,libuv) + ("openssl" ,openssl) + ("sqlite" ,sqlite) - ;; Optional APIs for which Bigloo has bindings. - ("avahi" ,avahi) - ("libphidget" ,libphidget) - ("pcre" ,pcre))) - (native-inputs - `(("pkg-config" ,pkg-config))) - (propagated-inputs - `(("gmp" ,gmp))) ; bigloo.h refers to gmp.h - (home-page "http://www-sop.inria.fr/indes/fp/Bigloo/") - (synopsis "Efficient Scheme compiler") - (description - "Bigloo is a Scheme implementation devoted to one goal: enabling -Scheme based programming style where C(++) is usually -required. Bigloo attempts to make Scheme practical by offering -features usually presented by traditional programming languages -but not offered by Scheme and functional programming. Bigloo -compiles Scheme modules. It delivers small and fast stand alone -binary executables. Bigloo enables full connections between -Scheme and C programs and between Scheme and Java programs.") - (license gpl2+))) + ;; Optional APIs for which Bigloo has bindings. + ("avahi" ,avahi) + ("libphidget" ,libphidget) + ("pcre" ,pcre))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("gmp" ,gmp))) ; bigloo.h refers to gmp.h + (home-page "http://www-sop.inria.fr/indes/fp/Bigloo/") + (synopsis "Efficient Scheme compiler") + (description + "Bigloo is a Scheme implementation devoted to one goal: enabling Scheme +based programming style where C(++) is usually required. Bigloo attempts to +make Scheme practical by offering features usually presented by traditional +programming languages but not offered by Scheme and functional programming. +Bigloo compiles Scheme modules. It delivers small and fast stand alone binary +executables. Bigloo enables full connections between Scheme and C programs +and between Scheme and Java programs.") + (license gpl2+)))) (define-public hop (package @@ -1095,3 +1100,53 @@ in-lining, unboxing, and flow-directed program-specific and program-point-specific low-level representation selection and code generation.") (license gpl2+)))) + +(define-public femtolisp + (let ((commit "68c5b1225572ecf2c52baf62f928063e5a30511b") + (revision "1")) + (package + (name "femtolisp") + (version (string-append "0.0.0-" revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JeffBezanson/femtolisp.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "04rnwllxnl86zw8c6pwxznn49bvkvh0f1lfliy085vjzvlq3rgja")))) + ;; See "utils.h" for supported systems. Upstream bug: + ;; https://github.com/JeffBezanson/femtolisp/issues/25 + (supported-systems + (fold delete %supported-systems + '("armhf-linux" "mips64el-linux" "aarch64-linux"))) + (build-system gnu-build-system) + (arguments + `(#:make-flags '("CC=gcc" "release") + #:test-target "test" + #:phases + (modify-phases %standard-phases + (delete 'configure) ; No configure script + (replace 'install ; Makefile has no 'install phase + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "flisp" bin) + #t))) + ;; The flisp binary is now available, run bootstrap to + ;; generate flisp.boot and afterwards runs make test. + (add-after 'install 'bootstrap-gen-and-test + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (and + (zero? (system* "./bootstrap.sh")) + (install-file "flisp.boot" bin)))))))) + (synopsis "Scheme-like lisp implementation") + (description + "@code{femtolisp} is a scheme-like lisp implementation with a +simple, elegant Scheme dialect. It is a lisp-1 with lexical scope. +The core is 12 builtin special forms and 33 builtin functions.") + (home-page "https://github.com/JeffBezanson/femtolisp") + (license bsd-3)))) diff --git a/gnu/packages/scribus.scm b/gnu/packages/scribus.scm index dca1dc86e1..615d7e23a2 100644 --- a/gnu/packages/scribus.scm +++ b/gnu/packages/scribus.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2018 Ricardo Wurmus ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017, 2018 Nicolas Goaziou ;;; Copyright © 2018 Clément Lassieur @@ -56,7 +56,7 @@ (sha256 (base32 "00ys0p6h3iq77kh72dkl0qrf7qvznq18qdrgiq10gfxja1995034")) - (modules '((guix build utils))))) + (patches (search-patches "scribus-poppler.patch")))) (build-system cmake-build-system) (arguments `(#:tests? #f ;no test target diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index caa1d6d1c1..6198925727 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2015, 2017 Sou Bunnbu ;;; Copyright © 2015 Alex Kost ;;; Copyright © 2016, 2017 Efraim Flashner -;;; Copyright © 2017 Rutger Helling +;;; Copyright © 2017, 2018 Rutger Helling ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ricardo Wurmus ;;; @@ -102,7 +102,7 @@ joystick, and graphics hardware.") (define-public sdl2 (package (inherit sdl) (name "sdl2") - (version "2.0.8") + (version "2.0.9") (source (origin (method url-fetch) (uri @@ -110,7 +110,7 @@ joystick, and graphics hardware.") version ".tar.gz")) (sha256 (base32 - "1v4js1gkr75hzbxzhwzzif0sf9g07234sd23x1vdaqc661bprizd")))) + "1c94ndagzkdfqaa838yqg589p1nnqln8mv0hpwfhrkbfczf8cl95")))) (arguments (substitute-keyword-arguments (package-arguments sdl) ((#:configure-flags flags) @@ -486,7 +486,7 @@ sound and device input (keyboards, joysticks, mice, etc.).") (define-public guile-sdl2 (package (name "guile-sdl2") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (string-append @@ -494,7 +494,7 @@ sound and device input (keyboards, joysticks, mice, etc.).") version ".tar.gz")) (sha256 (base32 - "0iq6fw213qw292fxhrsg40al7hqyqyh4qpgl0x9rh08y949h2w97")))) + "0bw7x2lx90k4banc5k7yfkn3as93y25gr1xdr225ll7lmij21k64")))) (build-system gnu-build-system) (arguments '(#:make-flags '("GUILE_AUTO_COMPILE=0") diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 284771ab60..8237d51771 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -46,15 +46,14 @@ (define-public xapian (package (name "xapian") - (version "1.4.7") + (version "1.4.9") ;; Note: When updating Xapian, remember to update xapian-bindings below. (source (origin (method url-fetch) (uri (string-append "https://oligarchy.co.uk/xapian/" version "/xapian-core-" version ".tar.xz")) - (patches (search-patches "xapian-revert-5489fb2f8.patch")) (sha256 - (base32 "1lxmlds3v5s1gng9nk1rvmln1zcksrw5ds509y0glylwch5qmw0k")))) + (base32 "1k7m7m9jld96k16ansfw2w3c354pvd8ibhnrb6dw012g06fw7sfd")))) (build-system gnu-build-system) (inputs `(("zlib" ,zlib) ("util-linux" ,util-linux))) @@ -92,7 +91,7 @@ rich set of boolean query operators.") "/xapian-bindings-" version ".tar.xz")) (sha256 (base32 - "0sjf9ck3a6p7xnd84w09l6s0xn2g03k9a9417f4mjnywfq9pa6a5")))) + "0ll3z3418r7bzxs4kyini2cbci5xl8i5scl3wyx88s2v4ak56bcz")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--with-python3") diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 4495069c0d..fb2526c04a 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -51,6 +51,7 @@ #:use-module (gnu packages tex) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages web) #:use-module (gnu packages xml)) (define-public ccid @@ -160,7 +161,7 @@ the low-level development kit for the Yubico YubiKey authentication device.") (define-public pcsc-lite (package (name "pcsc-lite") - (version "1.8.23") + (version "1.8.24") (source (origin (method url-fetch) (uri (string-append @@ -168,7 +169,7 @@ the low-level development kit for the Yubico YubiKey authentication device.") name "-" version ".tar.bz2")) (sha256 (base32 - "1jc9ws5ra6v3plwraqixin0w0wfxj64drahrbkyrrwzghqjjc9ss")))) + "0s3mv6csbi9303vvis0hilm71xsmi6cqkbh2kiipdisydbx6865q")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers" @@ -307,3 +308,36 @@ and other operations. It includes a library and a command-line tool.") ;; license for that one file. Please see it for details. The vast ;; majority of files are licensed under bsd-2. (license license:bsd-2))) + +(define-public yubikey-personalization + (package + (name "yubikey-personalization") + (version "1.19.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://developers.yubico.com/" name + "/Releases/ykpers-" version ".tar.gz")) + (sha256 + (base32 + "104lc0nnqdr365fa7c4vrq67rxp1dp8idndsh9jlhnj9dnhszj1b")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags (list (string-append "--with-udevrulesdir=" + (assoc-ref %outputs "out") + "/lib/udev/rules.d")))) + (inputs + `(("json-c" ,json-c) + ("libusb" ,libusb) + ;; The library "libyubikey" is also known as "yubico-c". + ("libyubikey" ,libyubikey))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("eudev" ,eudev))) + (home-page "https://developers.yubico.com/yubikey-personalization/") + (synopsis "Library and tools to personalize YubiKeys") + (description + "The YubiKey Personalization package contains a C library and command +line tools for personalizing YubiKeys. You can use these to set an AES key, +retrieve a YubiKey's serial number, and so forth.") + (license license:bsd-2))) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 3064e385e2..2d61f7451b 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -99,7 +99,6 @@ arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON.") (license license:bsd-3))) - (define-public msgpack (package (name "msgpack") @@ -132,13 +131,6 @@ such as compact binary encodings, XML, or JSON.") ;; zbuffer.hpp) which #include . However, 'guix gc --references' ;; does not detect a store reference to zlib since these headers are not ;; compiled. - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - (invoke "autoreconf" "-vfi") - #t))))) (home-page "https://www.msgpack.org") (synopsis "Binary serialization library") (description "Msgpack is a library for C/C++ that implements binary @@ -225,6 +217,26 @@ that implements both the msgpack and msgpack-rpc specifications.") (home-page "https://github.com/libmpack/libmpack-lua") (synopsis "Lua bindings for the libmpack binary serialization library"))) +(define-public lua5.1-libmpack + (package (inherit lua-libmpack) + (name "lua5.1-libmpack") + (arguments + (substitute-keyword-arguments (package-arguments lua-libmpack) + ((#:make-flags flags) + `(let* ((lua-version ,(package-version lua-5.1)) + (lua-major+minor ,(version-major+minor (package-version lua-5.1)))) + (list "CC=gcc" + "USE_SYSTEM_LUA=yes" + (string-append "MPACK_LUA_VERSION=" lua-version) + (string-append "MPACK_LUA_VERSION_NOPATCH=" lua-major+minor) + (string-append "PREFIX=" + (assoc-ref %outputs "out")) + (string-append "LUA_CMOD_INSTALLDIR=" + (assoc-ref %outputs "out") + "/lib/lua/" lua-major+minor)))))) + (inputs + `(("lua" ,lua-5.1))))) + (define-public lua5.2-libmpack (package (inherit lua-libmpack) (name "lua5.2-libmpack") @@ -294,7 +306,7 @@ it a convenient format to store user input files.") (define-public capnproto (package (name "capnproto") - (version "0.6.1") + (version "0.7.0") (source (origin (method url-fetch) (uri (string-append @@ -302,7 +314,7 @@ it a convenient format to store user input files.") version ".tar.gz")) (sha256 (base32 - "010s9yhq4531wvdfrdf2477zswhck6cjfby79w73rff3v06090l0")))) + "0hfdnhlbskagzgvby8wy6lrxj53zfzpfqimbhga68c0ji2yw1969")))) (build-system gnu-build-system) (arguments `(#:phases @@ -312,6 +324,14 @@ it a convenient format to store user input files.") ;; Workaround for test that tries to resolve port name from ;; /etc/services, which is not present in build environment. (substitute* "src/kj/async-io-test.c++" ((":http") ":80")) + #t)) + (add-before 'check 'use-tmp-for-tempory-files + (lambda _ + ;; Use /tmp for tempory files, as the default /var/tmp directory + ;; doesn't exist. + (substitute* "src/kj/filesystem-disk-test.c++" + (("VAR\\_TMP \"/var/tmp\"") + "VAR_TMP \"/tmp\"")) #t))))) (home-page "https://capnproto.org") (synopsis "Capability-based RPC and serialization system") @@ -418,7 +438,7 @@ to generate and parse. The two primary functions are @code{cbor.loads} and (define-public flatbuffers (package (name "flatbuffers") - (version "1.9.0") + (version "1.10.0") (source (origin (method url-fetch) @@ -426,7 +446,7 @@ to generate and parse. The two primary functions are @code{cbor.loads} and version ".tar.gz")) (sha256 (base32 - "1qs7sa9q4q6hs12yp875lvrv6393178qcmqs1ziwmjk088g4k9aw")))) + "0z4swldxs0s31hnkqdhsbfmc8vx3p7zsvmqaw4l31r2iikdy651p")))) (build-system cmake-build-system) (arguments '(#:build-type "Release" @@ -435,7 +455,7 @@ to generate and parse. The two primary functions are @code{cbor.loads} and (assoc-ref %outputs "out") "/lib")))) (home-page "https://google.github.io/flatbuffers/") (synopsis "Memory-efficient serialization library") - (description "FlatBuffers is a cross platform serialization library for C++, + (description "FlatBuffers is a cross-platform serialization library for C++, C#, C, Go, Java, JavaScript, PHP, and Python. It was originally created for game development and other performance-critical applications.") (license license:asl2.0))) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 8362d00f60..38eeaa7831 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2015 Jeff Mickey ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2016 Stefan Reichör -;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2017, 2018 Nils Gillmann ;;; Copyright © 2017, 2018 Leo Famulari ;;; Copyright © 2017 Arun Isaac @@ -414,10 +414,7 @@ use of experts and novices alike.") "/rx"))) (delete-file-recursively "rx") (symlink rxpath "rx")) - #t)) - (add-after 'unpack 'autoreconf - (lambda _ - (invoke "autoreconf")))))) + #t))))) (inputs `(("scheme48" ,scheme48) ("scheme48-rx" ,scheme48-rx))) @@ -569,30 +566,30 @@ The OpenBSD Korn Shell is a cleaned up and enhanced ksh.") (define-public loksh (package (name "loksh") - (version "6.3") + (version "6.4") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dimkr/loksh/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dimkr/loksh.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0i1b60g1p19s5cnzz0nmjzjnxywm9szzyp1rcwfcx3gmzvrwr2sc")))) + (base32 "1d92cf5iadj1vwg0wwksaq1691zaxjrd2y4qygj4sdd25zsahj6p")))) (build-system gnu-build-system) (inputs - `(("libbsd" ,libbsd))) + `(("libbsd" ,libbsd) + ("ncurses" ,ncurses))) (native-inputs `(("pkg-config" ,pkg-config))) (arguments - `(#:tests? #f ;No tests included + `(#:tests? #f ; no tests included #:make-flags (list "CC=gcc" "HAVE_LIBBSD=1" - (string-append "DESTDIR=" - (assoc-ref %outputs "out")) - "PREFIX=") + (string-append "PREFIX=" + (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases - (delete 'configure)))) ;No configure script + (delete 'configure)))) ; no configure script (home-page "https://github.com/dimkr/loksh") (synopsis "Korn Shell from OpenBSD") (description diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 425713a91f..0978300c9b 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -28,6 +28,7 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (gnu packages autotools) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) @@ -115,9 +116,10 @@ are already there.") '(#:test-target "test" #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure)))) + (inputs + `(("go" ,go-1.9))) (native-inputs - `(("go" ,go) - ("which" ,which))) + `(("which" ,which))) (home-page "https://direnv.net/") (synopsis "Environment switcher for the shell") (description @@ -133,16 +135,17 @@ environment variables of the current shell.") (define-public fzy (package (name "fzy") - (version "0.9") + (version "1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/jhawthorn/fzy/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/jhawthorn/fzy.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1xfgxqbkcpi2n4381kj3fq4026qs6by7xhl5gn0fgp3dh232c63j")))) + "1gkzdvj73f71388jvym47075l9zw61v6l8wdv2lnc0mns6dxig0k")))) (build-system gnu-build-system) (arguments '(#:make-flags (list "CC=gcc" diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index a5b661e34d..2132d4acf4 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017 Paul Garlick +;;; Copyright © 2017, 2018 Paul Garlick ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,10 +18,13 @@ (define-module (gnu packages simulation) #:use-module (gnu packages) + #:use-module (gnu packages algebra) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) + #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages flex) #:use-module (gnu packages gettext) @@ -35,6 +38,8 @@ #:use-module (gnu packages mpi) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages readline) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) @@ -42,7 +47,9 @@ #:use-module (gnu packages xorg) #:use-module (guix download) #:use-module (guix build utils) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) @@ -63,7 +70,16 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0cgxh4h2hf50qbvvdg5miwc2nympb0nrv3md96vb3gbs9vk8vq9d")) - (patches (search-patches "openfoam-4.1-cleanup.patch")))) + (patches (search-patches "openfoam-4.1-cleanup.patch")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Include , which is where glibc >= 2.28 provides + ;; 'major' and 'minor'. + (substitute* "src/OSspecific/POSIX/fileStat.C" + (("#include ") + "#include \n#include \n")) + #t)))) (build-system gnu-build-system) (inputs `(("boost" ,boost) @@ -221,3 +237,485 @@ with gas/liquid interfaces. Large problems may be split into smaller, connected problems for efficient solution on parallel systems.") (license license:gpl3+) (home-page "https://openfoam.org"))) + +(define-public python-fenics-dijitso + (package + (name "python-fenics-dijitso") + (version "2018.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fenics-dijitso" version)) + (sha256 + (base32 + "1qax2f52qsjbd1h5lk5i5shp448qlakxabjjybrfc1w823p0yql9")))) + (build-system python-build-system) + (inputs + `(("openmpi" ,openmpi) + ("python-numpy" ,python-numpy))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov))) + (propagated-inputs + `(("python-mpi4py" ,python-mpi4py))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'build 'mpi-setup + ,%openmpi-setup) + (replace 'check + (lambda _ + (setenv "HOME" "/tmp") + (setenv "PYTHONPATH" + (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (with-directory-excursion "test" + (invoke "./runtests.sh")) + #t))))) + (home-page "https://bitbucket.org/fenics-project/dijitso/") + (synopsis "Distributed just-in-time building of shared libraries") + (description + "Dijitso provides a core component of the @code{FEniCS} framework, +namely the just-in-time compilation of C++ code that is generated from +Python modules. It is called from within a C++ library, using ctypes +to import the dynamic shared library directly. + +As long as the compiled code can provide a simple factory function to +a class implementing a predefined C++ interface, there is no limit to +the complexity of that interface. Parallel support depends on the +@code{mpi4py} interface.") + (license license:lgpl3+))) + +(define-public python-fenics-ufl + (package + (name "python-fenics-ufl") + (version "2018.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fenics-ufl" version)) + (sha256 + (base32 + "1fq8yc86s1s3c8c0b1rc2vf265q0hrkzg57100fg1nghcz0p4vla")))) + (build-system python-build-system) + (inputs + `(("python-numpy" ,python-numpy))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (with-directory-excursion "test" + (invoke "py.test")) + #t))))) + (home-page "https://bitbucket.org/fenics-project/ufl/") + (synopsis "Unified language for form-compilers") + (description "The Unified Form Language (UFL) is a domain specific +language for declaration of finite element discretizations of +variational forms. More precisely, it defines a flexible interface +for choosing finite element spaces and defining expressions for weak +forms in a notation close to mathematical notation. + +UFL is part of the FEniCS Project.") + (license license:lgpl3+))) + +(define-public python-fenics-fiat + (package + (name "python-fenics-fiat") + (version "2018.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fenics-fiat" version)) + (sha256 + (base32 + "0fmjd93r6bwf6xs8csw86qzphrnr66xwv7f372w59gmq8mg6rljc")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-numpy" ,python-numpy) + ("python-sympy" ,python-sympy))) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (with-directory-excursion "test" + (invoke "py.test" "unit/")) + #t))))) + (home-page "https://bitbucket.org/fenics-project/fiat/") + (synopsis "Tabulation of finite element function spaces") + (description + "The FInite element Automatic Tabulator (FIAT) supports +generation of arbitrary order instances of the Lagrange elements on +lines, triangles, and tetrahedra. It is also capable of generating +arbitrary order instances of Jacobi-type quadrature rules on the same +element shapes. Further, H(div) and H(curl) conforming finite element +spaces such as the families of Raviart-Thomas, Brezzi-Douglas-Marini +and Nedelec are supported on triangles and tetrahedra. Upcoming +versions will also support Hermite and nonconforming elements. + +FIAT is part of the FEniCS Project.") + (license license:lgpl3+))) + +(define-public python-fenics-ffc + (package + (name "python-fenics-ffc") + (version "2018.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fenics-ffc" version)) + (sha256 + (base32 + "1b2ia5vlkw298x7rf0k2p3ihlpwkwgc98p3s6sbpds3hqmfrzdz9")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-fenics-dijitso" ,python-fenics-dijitso) + ("python-fenics-fiat" ,python-fenics-fiat) + ("python-fenics-ufl" ,python-fenics-ufl))) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "HOME" (getcwd)) + (setenv "PYTHONPATH" + (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (with-directory-excursion "test" + ;; FIXME: the tests in subdirectory + ;; 'unit/ufc/finite_element' require the ffc_factory + ;; extension module. This module, located in the 'libs' + ;; subdirectory, needs to be built and made accessible + ;; prior to running the tests. + (invoke "py.test" "unit/" "--ignore=unit/ufc/") + (with-directory-excursion "uflacs" + (invoke "py.test" "unit/"))) + #t))))) + (home-page "https://bitbucket.org/fenics-project/ffc/") + (synopsis "Compiler for finite element variational forms") + (description "The FEniCS Form Compiler (FFC) is a compiler for +finite element variational forms. From a high-level description of +the form, it generates efficient low-level C++ code that can be used +to assemble the corresponding discrete operator (tensor). In +particular, a bilinear form may be assembled into a matrix and a +linear form may be assembled into a vector. FFC may be used either +from the command line (by invoking the @code{ffc} command) or as a +Python module (@code{import ffc}). + +FFC is part of the FEniCS Project.") + ;; There are two files released with a public domain licence; + ;; ufc.h and ufc_geometry.h, in subdirectory 'ffc/backends/ufc'. + (license (list license:public-domain license:lgpl3+)))) + +(define-public fenics-dolfin + (package + (name "fenics-dolfin") + (version "2018.1.0.post1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://bitbucket.org/fenics-project/dolfin/get/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12zkk8j3xsg6l8p0ggwsl03084vlcivw4h99b7z9kndg7k89b3ya")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Make sure we don't use the bundled test framework. + (delete-file-recursively "test/unit/cpp/catch") + (substitute* "test/unit/cpp/main.cpp" + ;; Use standard search paths for 'catch' header file. + (("#include.*") + "#include \n")) + (substitute* "test/unit/cpp/CMakeLists.txt" + ;; Add extra include directories required by the unit tests. + (("(^target_link_libraries.*)" line) + (string-append line "\n" + "target_include_directories(" + "unittests PRIVATE " + "${DOLFIN_SOURCE_DIR} " + "${DOLFIN_SOURCE_DIR}/dolfin " + "${DOLFIN_BINARY_DIR})\n")) + (("(^set\\(CATCH_INCLUDE_DIR ).*(/catch\\))" _ front back) + (string-append front + "$ENV{CATCH_DIR}" + "/include" back "\n"))) + (substitute* "demo/CMakeLists.txt" + ;; Add extra include directories required by the demo tests. + (("(^#find_package.*)" line) + (string-append line "\n" + "include_directories(" + "${DOLFIN_SOURCE_DIR} " + "${DOLFIN_SOURCE_DIR}/dolfin " + "${DOLFIN_BINARY_DIR})\n"))) + #t)))) + (build-system cmake-build-system) + (inputs + `(("blas" ,openblas) + ("boost" ,boost) + ("eigen" ,eigen) + ("hdf5" ,hdf5-parallel-openmpi) + ("lapack" ,lapack) + ("libxml2" ,libxml2) + ("openmpi" ,openmpi) + ("python" ,python-3) + ("scotch" ,pt-scotch32) + ("suitesparse" ,suitesparse) + ("sundials" ,sundials-openmpi) + ("zlib" ,zlib))) + (native-inputs + `(("catch" ,catch-framework2) + ("pkg-config" ,pkg-config))) + (propagated-inputs + `(("ffc" ,python-fenics-ffc) + ("petsc" ,petsc-openmpi) + ("slepc" ,slepc-openmpi))) + (arguments + `(#:configure-flags + `("-DDOLFIN_ENABLE_DOCS:BOOL=OFF" + "-DDOLFIN_ENABLE_HDF5:BOOL=ON" + "-DDOLFIN_ENABLE_MPI:BOOL=ON" + "-DDOLFIN_ENABLE_PARMETIS:BOOL=OFF" + "-DDOLFIN_ENABLE_SCOTCH:BOOL=ON" + "-DDOLFIN_ENABLE_SUNDIALS:BOOL=ON" + "-DDOLFIN_ENABLE_TRILINOS:BOOL=OFF") + #:phases + (modify-phases %standard-phases + (add-after 'patch-usr-bin-file 'mpi-setup + ,%openmpi-setup) + (add-after 'patch-source-shebangs 'set-paths + (lambda _ + ;; Define paths to store locations. + (setenv "BLAS_DIR" (assoc-ref %build-inputs "blas")) + (setenv "CATCH_DIR" (assoc-ref %build-inputs "catch")) + (setenv "LAPACK_DIR" (assoc-ref %build-inputs "lapack")) + (setenv "PETSC_DIR" (assoc-ref %build-inputs "petsc")) + (setenv "SLEPC_DIR" (assoc-ref %build-inputs "slepc")) + (setenv "SCOTCH_DIR" (assoc-ref %build-inputs "scotch")) + (setenv "SUNDIALS_DIR" (assoc-ref %build-inputs "sundials")) + (setenv "UMFPACK_DIR" (assoc-ref %build-inputs "suitesparse")) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; The Dolfin repository uses git-lfs, whereby web links are + ;; substituted for large files. Guix does not currently support + ;; git-lfs, so only the links are downloaded. The tests that + ;; require the absent meshes cannot run and are skipped. + ;; + ;; Two other serial tests fail and are skipped. + ;; i) demo_stokes-iterative_serial, + ;; The MPI_Comm_rank() function was called before MPI_INIT was + ;; invoked + ;; ii) demo_multimesh-stokes_serial: + ;; Warning: Found no facets matching domain for boundary + ;; condition. + ;; + ;; One mpi test fails and is skipped. + ;; i) demo_stokes-iterative_mpi: + ;; The MPI_Comm_rank() function was called before MPI_INIT was + ;; invoked + (call-with-output-file "CTestCustom.cmake" + (lambda (port) + (display + (string-append + "set(CTEST_CUSTOM_TESTS_IGNORE " + "demo_bcs_serial " + "demo_bcs_mpi " + "demo_eigenvalue_serial " + "demo_eigenvalue_mpi " + "demo_navier-stokes_serial " + "demo_navier-stokes_mpi " + "demo_stokes-taylor-hood_serial " + "demo_stokes-taylor-hood_mpi " + "demo_subdomains_serial " + "demo_advection-diffusion_serial " + "demo_advection-diffusion_mpi " + "demo_auto-adaptive-navier-stokes_serial " + "demo_contact-vi-snes_serial " + "demo_contact-vi-snes_mpi " + "demo_contact-vi-tao_serial " + "demo_contact-vi-tao_mpi " + "demo_curl-curl_serial " + "demo_curl-curl_mpi " + "demo_dg-advection-diffusion_serial " + "demo_dg-advection-diffusion_mpi " + "demo_elasticity_serial " + "demo_elasticity_mpi " + "demo_elastodynamics_serial " + "demo_elastodynamics_mpi " + "demo_lift-drag_serial " + "demo_lift-drag_mpi " + "demo_mesh-quality_serial " + "demo_mesh-quality_mpi " + "demo_multimesh-stokes_serial " + "demo_stokes-iterative_serial " + "demo_stokes-iterative_mpi " + ")\n") port))) + #t)) + (replace 'check + (lambda _ + (and (invoke "make" "unittests") + (invoke "make" "demos") + (invoke "ctest" "-R" "unittests") + (invoke "ctest" "-R" "demo" "-R" "serial") + (invoke "ctest" "-R" "demo" "-R" "mpi"))))))) + (home-page "https://bitbucket.org/fenics-project/dolfin/") + (synopsis "Problem solving environment for differential equations") + (description + "DOLFIN is a computational framework for finding numerical +solutions to problems described by differential equations. Numerical +models in DOLFIN are constructed using general families of finite +elements. Data structures are provided for discretizing the governing +system on a computational mesh. A compact syntax, similar to +mathematical notation, is made available for defining function spaces +and expressing variational forms. Interfaces to specialized matrix +solvers are provided for solving the resultant linear systems. + +@code{fenics-dolfin} is part of the FEniCS project. It is the C++ +user interface to the FEniCS core components and external libraries.") + ;; The source code for the DOLFIN C++ library is licensed under the + ;; GNU Lesser General Public License, version 3 or later, with the + ;; following exceptions: + ;; + ;; public-domain: dolfin/geometry/predicates.cpp + ;; dolfin/geometry/predicates.h + ;; + ;; zlib: dolfin/io/base64.cpp + ;; dolfin/io/base64.h + ;; + ;; expat: dolfin/io/pugiconfig.hpp + ;; dolfin/io/pugixml.cpp + ;; dolfin/io/pugixml.hpp + (license (list license:public-domain + license:zlib + license:expat + license:lgpl3+)))) + +(define-public fenics + (package (inherit fenics-dolfin) + (name "fenics") + (build-system python-build-system) + (inputs + `(("pybind11" ,pybind11) + ("python-matplotlib" ,python-matplotlib) + ,@(alist-delete "python" (package-inputs fenics-dolfin)))) + (native-inputs + `(("cmake" ,cmake) + ("ply" ,python-ply) + ("pytest" ,python-pytest) + ("python-decorator" ,python-decorator) + ("python-pkgconfig" ,python-pkgconfig) + ,@(package-native-inputs fenics-dolfin))) + (propagated-inputs + `(("dolfin" ,fenics-dolfin) + ("petsc4py" ,python-petsc4py) + ("slepc4py" ,python-slepc4py))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-source-shebangs 'set-paths + (lambda _ + ;; Define paths to store locations. + (setenv "PYBIND11_DIR" (assoc-ref %build-inputs "pybind11")) + ;; Move to python sub-directory. + (chdir "python") + #t)) + (add-after 'build 'mpi-setup + ,%openmpi-setup) + (add-before 'check 'pre-check + (lambda _ + ;; Exclude tests that require meshes supplied by git-lfs. + (substitute* "demo/test.py" + (("(.*stem !.*)" line) + (string-append + line "\n" + "excludeList = [\n" + "'multimesh-quadrature', \n" + "'multimesh-marking', \n" + "'mixed-poisson-sphere', \n" + "'mesh-quality', \n" + "'lift-drag', \n" + "'elastodynamics', \n" + "'dg-advection-diffusion', \n" + "'curl-curl', \n" + "'contact-vi-tao', \n" + "'contact-vi-snes', \n" + "'collision-detection', \n" + "'buckling-tao', \n" + "'auto-adaptive-navier-stokes', \n" + "'advection-diffusion', \n" + "'subdomains', \n" + "'stokes-taylor-hood', \n" + "'stokes-mini', \n" + "'navier-stokes', \n" + "'eigenvalue']\n" + "demos = [" + "d for d in demos if d[0].stem not in " + "excludeList]\n"))) + (setenv "HOME" (getcwd)) + (setenv "PYTHONPATH" + (string-append + (getcwd) "/build/lib.linux-x86_64-" + ,(version-major+minor (package-version python)) ":" + (getenv "PYTHONPATH"))) + ;; Restrict OpenBLAS to MPI-only in preference to MPI+OpenMP. + (setenv "OPENBLAS_NUM_THREADS" "1") + #t)) + (replace 'check + (lambda _ + (with-directory-excursion "test" + ;; Note: The test test_snes_set_from_options() in the file + ;; unit/nls/test_PETScSNES_solver.py fails and is ignored. + (and (invoke "py.test" "unit" "--ignore" + "unit/nls/test_PETScSNES_solver.py") + (invoke "mpirun" "-np" "3" "python" "-B" "-m" + "pytest" "unit" "--ignore" + "unit/nls/test_PETScSNES_solver.py"))) + (with-directory-excursion "demo" + ;; Check demos. + (invoke "python" "generate-demo-files.py") + (and (invoke "python" "-m" "pytest" "-v" "test.py") + (invoke "python" "-m" "pytest" "-v" "test.py" + "--mpiexec=mpiexec" "--num-proc=3"))) + #t)) + (add-after 'install 'install-demo-files + (lambda* (#:key outputs #:allow-other-keys) + (let* ((demos (string-append + (assoc-ref outputs "out") + "/share/python-dolfin/demo"))) + (mkdir-p demos) + (with-directory-excursion "demo" + (for-each (lambda (file) + (let* ((dir (dirname file)) + (tgt-dir (string-append demos "/" dir))) + (unless (equal? "." dir) + (mkdir-p tgt-dir) + (install-file file tgt-dir)))) + (find-files "." ".*\\.(py|gz|xdmf)$")))) + #t))))) + (home-page "https://fenicsproject.org/") + (synopsis "High-level environment for solving differential equations") + (description + "@code{fenics} is a computing platform for solving general classes of +problems that involve differential equations. @code{fenics} facilitates +access to efficient methods for dealing with ordinary differential +equations (ODEs) and partial differential equations (PDEs). Systems of +equations such as these are commonly encountered in areas of engineering, +mathematics and the physical sciences. It is particularly well-suited to +problems that can be solved using the Finite Element Method (FEM). + +@code{fenics} is the top level of the set of packages that are developed +within the FEniCS project. It provides the python user interface to the +FEniCS core components and external libraries.") + (license license:lgpl3+))) diff --git a/gnu/packages/slang.scm b/gnu/packages/slang.scm index 24eb5fa137..185d441919 100644 --- a/gnu/packages/slang.scm +++ b/gnu/packages/slang.scm @@ -50,13 +50,21 @@ '(begin (substitute* "src/Makefile.in" (("/bin/ln") "ln")) - (substitute* "configure" - (("-ltermcap") "")) #t)))) (build-system gnu-build-system) (arguments '(#:parallel-tests? #f - #:parallel-build? #f)) ; there's at least one race + #:parallel-build? #f ; there's at least one race + #:phases + (modify-phases %standard-phases + (add-before 'configure 'substitute-before-config + (lambda* (#:key inputs #:allow-other-keys) + (let ((ncurses (assoc-ref inputs "ncurses"))) + (substitute* "configure" + (("MISC_TERMINFO_DIRS=\"\"") + (string-append "MISC_TERMINFO_DIRS=" + "\"" ncurses "/share/terminfo" "\""))) + #t)))))) (inputs `(("readline" ,readline) ("zlib" ,zlib) diff --git a/gnu/packages/sml.scm b/gnu/packages/sml.scm index 1d7fd3fb51..0874b81cc7 100644 --- a/gnu/packages/sml.scm +++ b/gnu/packages/sml.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Andy Patterson ;;; Copyright © 2017 Tobias Geerinckx-Rice +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +25,7 @@ #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) @@ -31,14 +33,15 @@ (package (name "polyml") (version "5.7.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/polyml/polyml/archive/v" - version ".tar.gz")) - (sha256 - (base32 "0a3hcv80p9j0fny6726kvgmzjzdmak9xw7f7rv8sxv96nhjdi3fi")) - (file-name (string-append name "-" version ".tar.gz")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/polyml/polyml.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0j0wv3ijfrjkfngy7dswm4k1dchk3jak9chl5735dl8yrl8mq755")))) (build-system gnu-build-system) (inputs `(("gmp" ,gmp) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index e708d726bb..94e6aa8438 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -211,6 +211,10 @@ which allows users to view a desktop computing environment.") `(#:configure-flags '("--enable-lz4" "--enable-automated-tests") + + ;; Several tests appear to be opening the same sockets concurrently. + #:parallel-tests? #f + #:phases (modify-phases %standard-phases (add-before 'check 'use-empty-ssl-cert-file (lambda _ (setenv "SSL_CERT_FILE" "/dev/null") #t))))) @@ -250,7 +254,7 @@ Internet and from a wide variety of machine architectures.") (add-after 'unpack 'patch-spice-vdagent.desktop (lambda* (#:key outputs #:allow-other-keys) (substitute* "data/spice-vdagent.desktop" - (("Exec=/usr/bin/spice-vdagent\n") + (("Exec=/usr/bin/spice-vdagent") (string-append "Exec=" (assoc-ref outputs "out") "/bin/spice-vdagent"))) #t))))) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 816324b279..5c954eae35 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -67,16 +67,16 @@ (define-public libssh (package (name "libssh") - (version "0.7.6") + (version "0.7.7") (source (origin (method git-fetch) (uri (git-reference - (url "https://git.libssh.org/projects/libssh.git") - (commit (string-append "libssh-" version)))) + (url "https://git.libssh.org/projects/libssh.git") + (commit (string-append "libssh-" version)))) (patches (search-patches "libssh-hostname-parser-bug.patch")) (sha256 (base32 - "0slwqa36mhyb6brdv2jvb9fxp7rvsv3ziv67kaxx615jxn52l5pa")) + "07adxvhmnaq2l7sq7sn4sjlikbm1zdicq8lavq5yfila6jbx9z1y")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (outputs '("out" "debug")) @@ -134,14 +134,14 @@ a server that supports the SSH-2 protocol.") (define-public openssh (package (name "openssh") - (version "7.8p1") + (version "7.9p1") (source (origin (method url-fetch) (uri (string-append "mirror://openbsd/OpenSSH/portable/" name "-" version ".tar.gz")) (sha256 (base32 - "1jj4f586r9lhakp2w0zv7j616d6x62m15q8l4nxq7haja6qlnj0s")))) + "1b8sy6v0b8v4ggmknwcqx3y1rjcpsll0f1f8f4vyv11x4ni3njvb")))) (build-system gnu-build-system) (native-inputs `(("groff" ,groff))) (inputs `(("openssl" ,openssl) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index e2a673a4e6..cc879be99c 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -39,6 +39,7 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages autotools) #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -75,7 +76,7 @@ (define-public pspp (package (name "pspp") - (version "1.0.1") + (version "1.2.0") (source (origin (method url-fetch) @@ -83,7 +84,7 @@ version ".tar.gz")) (sha256 (base32 - "1r8smr5057993h90nx0mdnff8nxw9x546zzh6qpy4h3xblp1la5s")))) + "07pp27zycrb5x927jwaj9r3q7hy915jh51xs85zxby6gfiwl63m5")))) (build-system gnu-build-system) (inputs `(("cairo" ,cairo) @@ -94,11 +95,15 @@ ("readline" ,readline) ("gtk" ,gtk+) ("gtksourceview" ,gtksourceview) + ("spread-sheet-widget" ,spread-sheet-widget) ("zlib" ,zlib))) (native-inputs - `(("glib" ,glib "bin") ;for glib-genmarshal + `(("autoconf" ,autoconf) ;for tests + ("glib" ,glib "bin") ;for glib-genmarshal ("perl" ,perl) - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + ("python" ,python-2) ;for tests + ("texinfo" ,texinfo))) (home-page "https://www.gnu.org/software/pspp/") (synopsis "Statistical analysis") (description @@ -110,13 +115,43 @@ can be imported from spreadsheets, text files and database sources and it can be output in text, PostScript, PDF or HTML.") (license license:gpl3+))) +(define-public jags + (package + (name "jags") + (version "4.3.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/mcmc-jags/JAGS/" + (version-major version) ".x/Source/" + "JAGS-" version ".tar.gz")) + (sha256 + (base32 + "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica")))) + (build-system gnu-build-system) + (home-page "http://mcmc-jags.sourceforge.net/") + (native-inputs + `(("gfortran" ,gfortran) + ("lapack" ,lapack))) + (synopsis "Gibbs sampler") + (description "JAGS is Just Another Gibbs Sampler. It is a program for +analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) +simulation not wholly unlike BUGS. JAGS was written with three aims in mind: + +@enumerate +@item To have a cross-platform engine for the BUGS language; +@item To be extensible, allowing users to write their own functions, + distributions and samplers; +@item To be a platform for experimentation with ideas in Bayesian modelling. +@end enumerate\n") + (license license:gpl2))) + ;; Update this package together with the set of recommended packages: r-boot, ;; r-class, r-cluster, r-codetools, r-foreign, r-kernsmooth, r-lattice, ;; r-mass, r-matrix, r-mgcv, r-nlme, r-nnet, r-rpart, r-spatial, r-survival. (define r-with-tests (package (name "r-with-tests") - (version "3.5.0") + (version "3.5.1") (source (origin (method url-fetch) (uri (string-append "mirror://cran/src/base/R-" @@ -124,7 +159,7 @@ be output in text, PostScript, PDF or HTML.") version ".tar.gz")) (sha256 (base32 - "0w38865laqg28cdhikxdxhx4rfp0kgcn72gakwypsy91br9ja5zx")))) + "1vap2k8kj5icy9naw61f9zyphf4rs0c9rxvil0zxkwx0xvsvyqq4")))) (build-system gnu-build-system) (arguments `(#:disallowed-references (,tzdata-for-tests) @@ -339,14 +374,14 @@ D.V. Hinkley (1997, CUP), originally written by Angelo Canty for S.") (define-public r-mass (package (name "r-mass") - (version "7.3-50") + (version "7.3-51.1") (source (origin (method url-fetch) (uri (cran-uri "MASS" version)) (sha256 (base32 - "16hasv9k4n773jsyzvh8s3gbga49hwdj8n5hxij6zqisy4i0kxq6")))) + "14907ia8418mp3p1rs1i2f1x5b6kk5z998dk353a29j3xqf3ybyq")))) (properties `((upstream-name . "MASS"))) (build-system r-build-system) (home-page "http://www.stats.ox.ac.uk/pub/MASS4/") @@ -467,13 +502,13 @@ estimation) corresponding to the book: Wand, M.P. and Jones, M.C. (1995) (define-public r-lattice (package (name "r-lattice") - (version "0.20-35") + (version "0.20-38") (source (origin (method url-fetch) (uri (cran-uri "lattice" version)) (sha256 (base32 - "0pcnmaz3lr62ly0dcy5hnnqxshc4yqd43hrvlz3almgc9l7sna88")))) + "0b8abkz7syscq883mrgv63pkwaqkcpwfx8rgbqy9vgfva0z5xszx")))) (build-system r-build-system) (home-page "http://lattice.r-forge.r-project.org/") (synopsis "High-level data visualization system") @@ -487,14 +522,14 @@ also flexible enough to handle most nonstandard requirements.") (define-public r-matrix (package (name "r-matrix") - (version "1.2-14") + (version "1.2-15") (source (origin (method url-fetch) (uri (cran-uri "Matrix" version)) (sha256 (base32 - "15hknim84nj3f54vkchca5ac0c3ip15v1by18k5parmn8wsl19j9")))) + "1mshhyia6imh939p8labxi0wv21lal7csmccxi42klpgdh1j89kv")))) (properties `((upstream-name . "Matrix"))) (build-system r-build-system) (propagated-inputs @@ -532,14 +567,14 @@ nonlinear mixed-effects models.") (define-public r-mgcv (package (name "r-mgcv") - (version "1.8-24") + (version "1.8-25") (source (origin (method url-fetch) (uri (cran-uri "mgcv" version)) (sha256 (base32 - "15b76m1f0hz8dbmj9shqvslihdx5b7c48vck9grj5xs1z2y45r9c")))) + "1y2rq6v45pr2wcxihhgmingcdvcsilim2cvskrlb7k2n00qg6v2q")))) (build-system r-build-system) (propagated-inputs `(("r-matrix" ,r-matrix) @@ -614,14 +649,14 @@ analysis.") (define-public r-survival (package (name "r-survival") - (version "2.42-6") + (version "2.43-1") (source (origin (method url-fetch) (uri (cran-uri "survival" version)) (sha256 (base32 - "1bsxc2fir9pbvdzy9n474fkl7har606h9zhspp0z67wnjpp48g73")))) + "0220fjsq4ycx1n5zc5h39wdbj5j6xr8rzqbcixx2p25akzdn7kqk")))) (build-system r-build-system) (propagated-inputs `(("r-matrix" ,r-matrix))) @@ -725,13 +760,13 @@ effects of different types of color-blindness.") (define-public r-digest (package (name "r-digest") - (version "0.6.16") + (version "0.6.18") (source (origin (method url-fetch) (uri (cran-uri "digest" version)) (sha256 - (base32 "1lhs59pdjhpb63jyy98pi1shk9shw044k6vl0mvw0f40v08326ar")))) + (base32 "0k3iv0r8wy8w7zchmgrnrqv3bc149075j4817kf0q521vi4f6vbj")))) (build-system r-build-system) ;; Vignettes require r-knitr, which requires r-digest, so we have to ;; disable them and the tests. @@ -1059,13 +1094,13 @@ legends.") (define-public r-ggplot2 (package (name "r-ggplot2") - (version "3.0.0") + (version "3.1.0") (source (origin (method url-fetch) (uri (cran-uri "ggplot2" version)) (sha256 - (base32 "0kb977hizsvk3b1k3zr717q78bpmbabhl8cj9a3w717nkq1zas67")))) + (base32 "1msy36r21nlmnpyaw2m9k0ykmnd19b9il01b65w457pfw75prrs9")))) (build-system r-build-system) (propagated-inputs `(("r-digest" ,r-digest) @@ -1249,16 +1284,14 @@ for template use among CRAN packages.") (define-public r-evaluate (package (name "r-evaluate") - (version "0.11") + (version "0.12") (source (origin (method url-fetch) (uri (cran-uri "evaluate" version)) (sha256 (base32 - "1k8vcd4vsgg0hf7kdz8rlqp1dx4ygvg35aj4n3ay50kdnpzhaj5h")))) + "11rpn40153kcvqqrfhg2ldqfs68frg6yzsl0k3rxnlnv4c0v008g")))) (build-system r-build-system) - (propagated-inputs - `(("r-stringr" ,r-stringr))) (home-page "https://github.com/hadley/evaluate") (synopsis "Parsing and evaluation tools for R") (description @@ -1310,13 +1343,13 @@ supported via Andre Simon's highlight package.") (define-public r-mime (package (name "r-mime") - (version "0.5") + (version "0.6") (source (origin (method url-fetch) (uri (cran-uri "mime" version)) (sha256 (base32 - "0i91m3ivaja1k33jwcvz16pfjypkci27awm8glil7sxhmwaj3izw")))) + "00f4gw4sg1kn03s67gficxgb7a7fb6pwhlvrxrml05q1mc2vcxa7")))) (build-system r-build-system) (home-page "https://github.com/yihui/mime") (synopsis "R package to map filenames to MIME types") @@ -1423,13 +1456,13 @@ from knitr Rmarkdown.") (define-public r-microbenchmark (package (name "r-microbenchmark") - (version "1.4-4") + (version "1.4-6") (source (origin (method url-fetch) (uri (cran-uri "microbenchmark" version)) (sha256 (base32 - "0fv2w2vsiz18imf4115nd9chhmf275w2mb49pn7pkxi6z3bamc9c")))) + "1sn1fxgzakm5iqbgc35g3k4yi0iqrkmwz33cvdrphrzh1lxnmi3s")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/microbenchmark/") (synopsis "Accurate timing functions for R") @@ -1526,13 +1559,13 @@ R packages that praise their users.") (define-public r-testthat (package (name "r-testthat") - (version "2.0.0") + (version "2.0.1") (source (origin (method url-fetch) (uri (cran-uri "testthat" version)) (sha256 (base32 - "155l53kb69jga5d8c5nvdwqlvlgfmk4vzyyl4d0108j53jnlgh1v")))) + "1cafy5xsjx6m08s45456mjsal7mfxzwpbrds0p4z3gwam948gpzy")))) (build-system r-build-system) (propagated-inputs `(("r-cli" ,r-cli) @@ -1553,13 +1586,13 @@ flexible and easy to set up.") (define-public r-r6 (package (name "r-r6") - (version "2.2.2") + (version "2.3.0") (source (origin (method url-fetch) (uri (cran-uri "R6" version)) (sha256 (base32 - "13xfdr19ca7ymisidsanm6w7hsk3qmy5l8c0mlz3nk48f7s5cxq8")))) + "1jgshp0x8a65rwyvk31slnfp7l153dk5826y2rxcd5lpclby3d85")))) (build-system r-build-system) (home-page "https://github.com/wch/R6/") (synopsis "Classes with reference semantics in R") @@ -1575,13 +1608,13 @@ defined in different packages.") (define-public r-rlang (package (name "r-rlang") - (version "0.2.2") + (version "0.3.0.1") (source (origin (method url-fetch) (uri (cran-uri "rlang" version)) (sha256 (base32 - "0cqd894wzi53rs53prg0j7i75h0yzgi0127fzjqbdbhczwh984f9")))) + "0j7kp6h25wbkvpzr7dpc0zgdpjiwsjjlgprj3mv7bgfalfq1si99")))) (build-system r-build-system) (home-page "http://rlang.tidyverse.org") (synopsis "Functions for base types, core R and Tidyverse features") @@ -1617,13 +1650,13 @@ and printing capabilities than traditional data frames.") (define-public r-dplyr (package (name "r-dplyr") - (version "0.7.6") + (version "0.7.8") (source (origin (method url-fetch) (uri (cran-uri "dplyr" version)) (sha256 (base32 - "0c43h13s5mr0fklikbbm89gs6z5n66rkjzdv6w3w6kl5af5wr2fl")))) + "06p59nhli8c1sarghzxq0y4pk6lyyz3xwkarp55b252dfg2rly9p")))) (build-system r-build-system) (propagated-inputs `(("r-assertthat" ,r-assertthat) @@ -1767,13 +1800,13 @@ times.") (define-public r-data-table (package (name "r-data-table") - (version "1.11.4") + (version "1.11.8") (source (origin (method url-fetch) (uri (cran-uri "data.table" version)) (sha256 (base32 - "1mc1drqj5i5ar2za3nkh5j70y37s7z7xwqri2r2b72zkqggg3k7x")))) + "1nb6wngrk1a30m984524gf26fa1nwgyf4y4an94dibcwb5jp8hnw")))) (build-system r-build-system) (home-page "https://github.com/Rdatatable/data.table/wiki") (synopsis "Enhanced version of data.frame R object") @@ -1843,14 +1876,14 @@ building design matrices.") (define-public python-statsmodels (package (name "python-statsmodels") - (version "0.8.0") + (version "0.9.0") (source (origin (method url-fetch) (uri (pypi-uri "statsmodels" version)) (sha256 (base32 - "0j30v3932shnj9368c9jr3svkyrvfj90h2l7nxnqkbpv0svilhr6")))) + "0fxs8a7sp4d7jvqlm36yi45i2d28kjfvraf9q8i9jr1chhxgjqb4")))) (build-system python-build-system) (arguments `(;; The test suite is very large and rather brittle. Tests often fail @@ -1869,18 +1902,7 @@ building design matrices.") (("import matplotlib\\.pyplot as plt" line) (string-append "import matplotlib;matplotlib.use('Agg');" line))) - #t)) - ;; FIXME: This is a bug in version 0.8 since the upgrade to scipy 1.0. - ;; See https://github.com/statsmodels/statsmodels/issues/3931 - ;; This has been fixed in version 0.9. - (add-after 'unpack 'patch-for-scipy - (lambda _ - (substitute* "statsmodels/discrete/discrete_model.py" - (("return stats.chisqprob" match) - (string-append - "stats.chisqprob = lambda chisq, df: stats.chi2.sf(chisq, df);" - match))) - #t))))) + #t))))) (propagated-inputs `(("python-numpy" ,python-numpy) ("python-scipy" ,python-scipy) @@ -1913,13 +1935,13 @@ inference for statistical models.") (define-public r-coda (package (name "r-coda") - (version "0.19-1") + (version "0.19-2") (source (origin (method url-fetch) (uri (cran-uri "coda" version)) (sha256 (base32 - "14a4a8df4ygj05h37chmdn8kzcqs07fpbflxfrq530563mrza7yl")))) + "03fs3sdrrym3is92dgpa6ydk3m63gaihwy7bva4k0wm2hxm7x2k7")))) (build-system r-build-system) (propagated-inputs `(("r-lattice" ,r-lattice))) @@ -2212,14 +2234,14 @@ other packages.") (define-public r-commonmark (package (name "r-commonmark") - (version "1.5") + (version "1.6") (source (origin (method url-fetch) (uri (cran-uri "commonmark" version)) (sha256 (base32 - "1jwx5rgm0ypd9a3v4jd9za4a644rdzhk1n4dvmgkj9hdpwsida3z")))) + "1xymqncf8byqxzpx64zlp6vbx7gry572jkr2ax0zlavr8bli861x")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/commonmark") (synopsis "CommonMark and Github Markdown Rendering in R") @@ -2235,13 +2257,13 @@ tables, autolinks and strikethrough text.") (define-public r-roxygen2 (package (name "r-roxygen2") - (version "6.1.0") + (version "6.1.1") (source (origin (method url-fetch) (uri (cran-uri "roxygen2" version)) (sha256 (base32 - "0ji9k4s1bvfbl8wimfqj1lqr33h1claaz30vb5pgksxyg77j5xaa")))) + "0wq29ilqas8yn2z8v49fk0hbgchg29nmyyhwczgdipz0cbhbfipd")))) (build-system r-build-system) (propagated-inputs `(("r-brew" ,r-brew) @@ -2267,14 +2289,14 @@ collation, and NAMESPACE files.") (define-public r-openssl (package (name "r-openssl") - (version "1.0.2") + (version "1.1") (source (origin (method url-fetch) (uri (cran-uri "openssl" version)) (sha256 (base32 - "1djfpnphkcxx8idk5rjfzg8r8dnqsgc0shh2pw8lns5hap2wc5rc")))) + "0ldxgcr33lawwr8wp14kdk2678gpkvqkzv6g333bhck1hn6qspzv")))) (build-system r-build-system) (inputs `(("libressl" ,libressl))) @@ -2350,13 +2372,13 @@ pure C implementation of the Git core methods.") (define-public r-rstudioapi (package (name "r-rstudioapi") - (version "0.7") + (version "0.8") (source (origin (method url-fetch) (uri (cran-uri "rstudioapi" version)) (sha256 (base32 - "133s75q2hr6jg28m1wvs96qrbc9c4vw87migwhkjqb88xxvbqhd5")))) + "0d6r0in13k0rcyr6asanwy0a9dv4lizq6l2w913rr222pq6vrrck")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/rstudioapi") (synopsis "Safely access the RStudio API") @@ -2368,22 +2390,29 @@ informative error messages when it's not available.") (define-public r-devtools (package (name "r-devtools") - (version "1.13.6") + (version "2.0.1") (source (origin (method url-fetch) (uri (cran-uri "devtools" version)) (sha256 (base32 - "1d9n49djydywfyp9w3njgxs5lag4ac7719wmxy1lkgcmn3l9sx5r")))) + "1nyspqicn9zd1rgq3k07b3179i8w5ys6jbd65g9q8qczrb7z3x8f")))) (build-system r-build-system) (propagated-inputs - `(("r-digest" ,r-digest) + `(("r-callr" ,r-callr) + ("r-cli" ,r-cli) + ("r-digest" ,r-digest) ("r-git2r" ,r-git2r) ("r-httr" ,r-httr) ("r-jsonlite" ,r-jsonlite) ("r-memoise" ,r-memoise) + ("r-pkgbuild" ,r-pkgbuild) + ("r-pkgload" ,r-pkgload) + ("r-rcmdcheck" ,r-rcmdcheck) + ("r-remotes" ,r-remotes) ("r-rstudioapi" ,r-rstudioapi) - ("r-whisker" ,r-whisker) + ("r-sessioninfo" ,r-sessioninfo) + ("r-usethis" ,r-usethis) ("r-withr" ,r-withr))) (home-page "https://github.com/hadley/devtools") (synopsis "Tools to make developing R packages easier") @@ -2459,13 +2488,13 @@ disk (or a connection).") (define-public r-plotrix (package (name "r-plotrix") - (version "3.7-3") + (version "3.7-4") (source (origin (method url-fetch) (uri (cran-uri "plotrix" version)) (sha256 (base32 - "18702y1gbyis56mh219z5ww0nrkh6qx7bgqv3khyn80g2giwk7cf")))) + "1hs0zwaqs34559girinvysjfbvznyn8znp9cwvkqx6k2cqvcjinj")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/plotrix") (synopsis "Various plotting functions") @@ -2518,13 +2547,13 @@ well as additional utilities such as panel and axis annotation functions.") (define-public r-rcpparmadillo (package (name "r-rcpparmadillo") - (version "0.9.100.5.0") + (version "0.9.200.4.0") (source (origin (method url-fetch) (uri (cran-uri "RcppArmadillo" version)) (sha256 (base32 - "1iyjqhfjip1nxrkllzh7r1m01jjnx7cahqkf3s557w34p987f2l1")))) + "1ayvpyi4hgaqrhx1kqi640iillc2byj4kam7vydlgqmdrzpgrfvz")))) (properties `((upstream-name . "RcppArmadillo"))) (build-system r-build-system) (native-inputs @@ -2942,13 +2971,13 @@ multiple breakpoints are allowed.") (define-public r-snow (package (name "r-snow") - (version "0.4-2") + (version "0.4-3") (source (origin (method url-fetch) (uri (cran-uri "snow" version)) (sha256 (base32 - "1mxbrkpnmq32x4wd0194d541661yvfrrjlr3lsf7qq53ms3h21zf")))) + "1n3n8pva9s34fvlw32yng0x416lmbv7q1fsd0ywa4kikmxym64l5")))) (build-system r-build-system) (home-page "https://cran.r-project.org/web/packages/snow") (synopsis "Support for simple parallel computing in R") @@ -3034,14 +3063,14 @@ parallel.") (define-public r-doparallel (package (name "r-doparallel") - (version "1.0.11") + (version "1.0.14") (source (origin (method url-fetch) (uri (cran-uri "doParallel" version)) (sha256 (base32 - "0sppgxk3d8mfsrb3cjdyn0mv0s4i7pcy8g8c3cjzbr6k8vmx5jsc")))) + "01qjs4iw9f1kgymcypj0m2s4pvgqhxaycpli0fb8lq3dc0vpzfyb")))) (properties `((upstream-name . "doParallel"))) (build-system r-build-system) (propagated-inputs @@ -3080,13 +3109,13 @@ using the multicore functionality of the parallel package.") (define-public r-dt (package (name "r-dt") - (version "0.4") + (version "0.5") (source (origin (method url-fetch) (uri (cran-uri "DT" version)) (sha256 (base32 - "06gsqz7p2fv6hc3fm3759gaa50krcfrqrmy7qbxyam6a36w9daix")))) + "1s5d3sld4l8zygpkvprvlbqa0pm2cv1bm7h7p999wxlap28vnnqf")))) (properties `((upstream-name . "DT"))) (build-system r-build-system) @@ -3094,7 +3123,8 @@ using the multicore functionality of the parallel package.") `(("r-crosstalk" ,r-crosstalk) ("r-htmltools" ,r-htmltools) ("r-htmlwidgets" ,r-htmlwidgets) - ("r-magrittr" ,r-magrittr))) + ("r-magrittr" ,r-magrittr) + ("r-promises" ,r-promises))) (home-page "http://rstudio.github.io/DT") (synopsis "R wrapper of the DataTables JavaScript library") (description @@ -3257,14 +3287,14 @@ the way current RNG settings can be changed.") (define-public r-rtsne (package (name "r-rtsne") - (version "0.13") + (version "0.15") (source (origin (method url-fetch) (uri (cran-uri "Rtsne" version)) (sha256 (base32 - "17crbdi80q4g2pwp9v7j3bdaznk96qlrqx01zvj3wwqippizyfqw")))) + "0v17vxizrs1msay24xl2bckfajr2c82wpqj07lyssbrq197nwdsn")))) (properties `((upstream-name . "Rtsne"))) (build-system r-build-system) (propagated-inputs @@ -3634,14 +3664,14 @@ the 'lite' version of the more complete @code{viridis} package.") (define-public r-tidyselect (package (name "r-tidyselect") - (version "0.2.4") + (version "0.2.5") (source (origin (method url-fetch) (uri (cran-uri "tidyselect" version)) (sha256 (base32 - "1592dbzawhd1hpsp9919l4sifyiaaj6xr7lnhsbwa6jwmmb0xcsw")))) + "0x3cp36byhfjajikr1lwffjm85ayw3bcs7d7kb0cydgs61ifiqjw")))) (build-system r-build-system) (propagated-inputs `(("r-glue" ,r-glue) @@ -3660,14 +3690,14 @@ selection.") (define-public r-tidyr (package (name "r-tidyr") - (version "0.8.1") + (version "0.8.2") (source (origin (method url-fetch) (uri (cran-uri "tidyr" version)) (sha256 (base32 - "0485f19mkkglc4bv57y6bm6l9rfgd878hsz2xdg1nwgbqchjhgix")))) + "03s9dv6c2dj65a769h8fgy9878y46rdq7x65i53kd44kag80i9cr")))) (build-system r-build-system) (propagated-inputs `(("r-dplyr" ,r-dplyr) @@ -4026,14 +4056,14 @@ hierarchical clustering dendrograms.") (define-public r-preprocesscore (package (name "r-preprocesscore") - (version "1.42.0") + (version "1.44.0") (source (origin (method url-fetch) (uri (bioconductor-uri "preprocessCore" version)) (sha256 (base32 - "1afar1z7959v7mbzsqa77vqfh0yc7y3nv5ayx71485a8scwsfwbk")))) + "0ijyjqi8mxxf350dhvgp36swwww5ag7ac9a6r6ymihc5syjr4w4j")))) (properties `((upstream-name . "preprocessCore"))) (build-system r-build-system) @@ -4231,13 +4261,13 @@ mechanism.") (define-public r-zoo (package (name "r-zoo") - (version "1.8-3") + (version "1.8-4") (source (origin (method url-fetch) (uri (cran-uri "zoo" version)) (sha256 (base32 - "15jmkgwvq2mm9f09vijgx7sff8pszh90fndcwhk2vw9i0p183di0")))) + "1pywcp86kqijdrvl42qwdy75szrag9pzj0p88zbrj2r1klb8rn5i")))) (build-system r-build-system) (propagated-inputs `(("r-lattice" ,r-lattice))) @@ -4665,14 +4695,14 @@ models, generalized linear models and model-based clustering.") (define-public r-mclust (package (name "r-mclust") - (version "5.4.1") + (version "5.4.2") (source (origin (method url-fetch) (uri (cran-uri "mclust" version)) (sha256 (base32 - "1vcl4nl8by2vj2k9k84imy5m850khkgd8q02a8ica1h8vz9ijgn4")))) + "09152swfpa3fzhmrq5cwb5kxgvrxvigv1m4v6rhcibrdhfd1x8x4")))) (build-system r-build-system) (native-inputs `(("gfortran" ,gfortran))) @@ -4735,14 +4765,14 @@ can be efficiently implemented directly in the R language.") (define-public r-robustbase (package (name "r-robustbase") - (version "0.93-2") + (version "0.93-3") (source (origin (method url-fetch) (uri (cran-uri "robustbase" version)) (sha256 (base32 - "1632p73iv9iqqm0v3k9rfv9way0him3fl35si1nly9wi5kpq5ci7")))) + "1nqh1qg1qd1qrxl1w585dqx7ql55qzjny1r4f9hqxpwd7lml07cc")))) (build-system r-build-system) (inputs `(("gfortran" ,gfortran))) @@ -5011,14 +5041,14 @@ decompositions of such matrices, and solutions of linear systems.") (define-public r-modelmetrics (package (name "r-modelmetrics") - (version "1.2.0") + (version "1.2.2") (source (origin (method url-fetch) (uri (cran-uri "ModelMetrics" version)) (sha256 (base32 - "1sgdyrf6fbsn18gk8slir4a1yhv133kfhyg2crfs759nff4aw89h")))) + "158ddbw2snlyzd2q6mdaif5i67kq4qfvadylwjxgv1w2cmszrmk6")))) (properties `((upstream-name . "ModelMetrics"))) (build-system r-build-system) (propagated-inputs @@ -5084,17 +5114,19 @@ expected shortfall risk are also included.") (define-public r-nloptr (package (name "r-nloptr") - (version "1.0.4") + (version "1.2.1") (source (origin (method url-fetch) (uri (cran-uri "nloptr" version)) (sha256 (base32 - "1sz1xj3785x4vsm4nd6in298bk32hs2jk5nsxma7ivxi7jcmn8l4")))) + "15yz60kljxwnhm2m3gryjzxl3ynhkhd5jiwc179b1hz6rlzf71hz")))) (build-system r-build-system) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("r-knitr" ,r-knitr) ; for building vignettes + ("pkg-config" ,pkg-config) + ("gfortran" ,gfortran))) (inputs `(("nlopt" ,nlopt))) (home-page "https://cran.r-project.org/web/packages/nloptr") @@ -5110,14 +5142,14 @@ algorithms.") (define-public r-lme4 (package (name "r-lme4") - (version "1.1-18-1") + (version "1.1-19") (source (origin (method url-fetch) (uri (cran-uri "lme4" version)) (sha256 (base32 - "01ar4fak8zj7c1vmh9m576wchxj5qzpfqn637s7fh3fl6cpz0alq")))) + "0j8xhkkcdv45ilab960s9jrcjk6jbzvd7w7myswv5fmalrpq52pf")))) (build-system r-build-system) (native-inputs `(("r-rcpp" ,r-rcpp) @@ -5165,14 +5197,14 @@ bootstrap test for generalized linear mixed models.") (define-public r-cardata (package (name "r-cardata") - (version "3.0-1") + (version "3.0-2") (source (origin (method url-fetch) (uri (cran-uri "carData" version)) (sha256 (base32 - "193pdwgw6gk19v7swk1kwphg3vqdmpsgi555g9nyz93sa39j7r8j")))) + "152lfgaspgx6x2wzdb5p3zv6r87a0d2pg10h6fjmdr613kzlwp1v")))) (properties `((upstream-name . "carData"))) (build-system r-build-system) (home-page "https://r-forge.r-project.org/projects/car/") @@ -5312,14 +5344,14 @@ first and second order derivatives.") (define-public r-sn (package (name "r-sn") - (version "1.5-2") + (version "1.5-3") (source (origin (method url-fetch) (uri (cran-uri "sn" version)) (sha256 (base32 - "16gwr68zzj5v83bqfmzxnzwig3dnjrkxdhs6clri1caqkvrq6aig")))) + "10via4lg0vx9pzq350vwhz5wv1dhzxr2l3r6jq99nk37vmyvj8fc")))) (build-system r-build-system) (propagated-inputs `(("r-mnormt" ,r-mnormt) diff --git a/gnu/packages/storage.scm b/gnu/packages/storage.scm index 11f6f9d7e8..4eae37815e 100644 --- a/gnu/packages/storage.scm +++ b/gnu/packages/storage.scm @@ -26,6 +26,7 @@ #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages assembly) + #:use-module (gnu packages authentication) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -35,6 +36,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages disk) + #:use-module (gnu packages gcc) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gperf) #:use-module (gnu packages jemalloc) @@ -51,18 +53,19 @@ (define-public ceph (package (name "ceph") - (version "12.2.5") + (version "13.2.2") (source (origin (method url-fetch) (uri (string-append "https://download.ceph.com/tarballs/ceph-" version ".tar.gz")) (sha256 (base32 - "1ydc3mfvc0vpnpfnfmissvsrsj4jyxgzc2pcl1a4vdr3bwkcglp3")) + "0h483n9iy0fkbqrhf7k0dzspwdpcaswkjwmc5n5c600fr6s1v9pk")) (patches (search-patches "ceph-skip-unittest_blockdev.patch" "ceph-skip-collect-sys-info-test.patch" - "ceph-rocksdb-compat.patch" + "ceph-detect-rocksdb.patch" + "ceph-volume-respect-PATH.patch" "ceph-disable-cpu-optimizations.patch")) (modules '((guix build utils))) (snippet @@ -76,7 +79,7 @@ ;"src/zstd" ;"src/civetweb" "src/test/downloads" - "src/dpdk" + "src/rapidjson" "src/spdk" "src/rocksdb" "src/boost")) @@ -100,13 +103,14 @@ (assoc-ref %build-inputs "keyutils") "/include") "-DCMAKE_INSTALL_LOCALSTATEDIR=/var" "-DENABLE_SHARED=ON" - "-DWITH_EMBEDDED=OFF" "-DWITH_SYSTEM_ROCKSDB=ON" "-DWITH_SYSTEM_BOOST=ON" "-DWITH_PYTHON3=ON" ;; TODO: Enable these when available in Guix. + "-DWITH_MGR_DASHBOARD_FRONTEND=OFF" ;requires node + nodeenv "-DWITH_BABELTRACE=OFF" "-DWITH_LTTNG=OFF" + "-DWITH_SPDK=OFF" "-DWITH_XFS=OFF" "-DWITH_XIO=OFF" ;; Use jemalloc instead of tcmalloc. @@ -184,9 +188,6 @@ ;; /tmp/ceph-disk-virtualenv/bin/ceph-disk, but somehow ;; src/ceph-disk/CMakeLists.txt fails to create it. (substitute* "src/test/CMakeLists.txt" - ;; FIXME: "create cannot load compressor of type zlib" - ;; "libceph_zlib.so: undefined symbol: isal_deflate" - (("^add_subdirectory\\(compressor\\)") "") ;; FIXME: These tests fails because `ceph-disk' ;; is not available. (("^add_ceph_test\\(test-ceph-helpers\\.sh.*$") "\n") @@ -235,6 +236,11 @@ (("^add_ceph_test\\(osd-copy-from\\.sh.*$") "\n") (("^add_ceph_test\\(osd-fast-mark-down\\.sh.*$") "\n")) #t))) + (add-before 'configure 'gcc-workaround + (lambda _ + (unsetenv "C_INCLUDE_PATH") + (unsetenv "CPLUS_INCLUDE_PATH") + #t)) (add-before 'check 'set-check-environment (lambda _ ;; Run tests in parallel. @@ -262,28 +268,28 @@ (add-after 'install 'wrap-python-scripts (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (ceph (string-append out "/bin/ceph")) - (ceph-disk (string-append out "/bin/ceph-disk")) - (ceph-detect-init (string-append - out "/bin/ceph-detect-init")) - + (scripts '("ceph" "ceph-mgr" "ceph-volume" + "ceph-detect-init" + "ceph-disk")) ;deprecated (prettytable (assoc-ref inputs "python2-prettytable")) - + (six (assoc-ref inputs "python2-six")) (sitedir (lambda (package) (string-append package "/lib/python2.7/site-packages"))) (PYTHONPATH (string-append (sitedir out) ":" + (sitedir six) ":" (sitedir prettytable)))) (for-each (lambda (executable) - (wrap-program executable + (wrap-program (string-append out "/bin/" executable) `("PYTHONPATH" ":" prefix (,PYTHONPATH)))) - (list ceph ceph-disk ceph-detect-init)) + scripts) #t)))))) (outputs '("out" "lib")) (native-inputs - `(("gperf" ,gperf) + `(("gcc" ,gcc-7) ;7 or later is required + ("gperf" ,gperf) ("pkg-config" ,pkg-config) ("python-cython" ,python-cython) ("python-sphinx" ,python-sphinx) @@ -315,7 +321,7 @@ ("python2-testtools" ,python2-testtools) ("python2-tox" ,python2-tox))) (inputs - `(("boost" ,boost) + `(("boost" ,boost-cxx14) ("curl" ,curl) ("cryptsetup" ,cryptsetup) ("expat" ,expat) @@ -329,13 +335,16 @@ ("libatomic-ops" ,libatomic-ops) ("lua" ,lua) ("lz4" ,lz4) + ("oath-toolkit" ,oath-toolkit) ("openldap" ,openldap) ("openssl" ,openssl) ("nss" ,nss) ("parted" ,parted) ("python@2" ,python-2) ("python2-prettytable" ,python2-prettytable) ;used by ceph_daemon.py + ("python2-six" ,python2-six) ;for ceph-mgr + plugins ("python@3" ,python-3) + ("rapidjson" ,rapidjson) ("rocksdb" ,rocksdb) ("snappy" ,snappy) ("udev" ,eudev) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index e0b0af3d96..7e0da38285 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,6 +23,7 @@ (define-module (gnu packages sync) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) + #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix download) #:use-module (guix git-download) @@ -32,6 +34,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages databases) + #:use-module (gnu packages golang) #:use-module (gnu packages linux) #:use-module (gnu packages lua) #:use-module (gnu packages perl) @@ -214,7 +217,8 @@ and does not hamper local file system performance.") (sha256 (base32 "0znkp3fcksrykcsv06y2mjvf2lbwmin25snmvfa8i5qfm3f4rm88")) - (file-name (string-append name "-" version "-checkout")))) + (file-name (string-append name "-" version "-checkout")) + (patches (search-patches "casync-renameat2-declaration.patch")))) (build-system meson-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -243,3 +247,48 @@ over the Internet in an HTTP and CDN friendly way; @item An efficient backup system. @end itemize\n") (license license:lgpl2.1+))) + +(define-public rclone + (package + (name "rclone") + (version "1.45") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ncw/rclone.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06xg0ibv9pnrnmabh1kblvxx1pk8h5rmkr9mjbymv497sx3zgz26")))) + ;; FIXME: Rclone bundles some libraries Guix already provides. Need to + ;; un-bundle them. + (build-system go-build-system) + (arguments + '(#:import-path "github.com/ncw/rclone" + #:install-source? #f + #:phases + (modify-phases %standard-phases + ;; Fix failure during "check" phase: "mkdir /homeless-shelter: + ;; permission denied". + (add-after 'unpack 'set-home-directory + (lambda _ (setenv "HOME" "/tmp") #t))))) + (synopsis "@code{rsync} for cloud storage") + (description "@code{Rclone} is a command line program to sync files and +directories to and from different cloud storage providers. + +Features include: +@itemize +@item MD5/SHA1 hashes checked at all times for file integrity +@item Timestamps preserved on files +@item Partial syncs supported on a whole file basis +@item Copy mode to just copy new/changed files +@item Sync (one way) mode to make a directory identical +@item Check mode to check for file hash equality +@item Can sync to and from network, e.g., two different cloud accounts +@item Optional encryption (Crypt) +@item Optional cache (Cache) +@item Optional FUSE mount (rclone mount) +@end itemize") + (home-page "https://rclone.org/") + (license license:expat))) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 2e936eef7d..5222354e74 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -30,7 +30,7 @@ (define-public syncthing (package (name "syncthing") - (version "0.14.51") + (version "0.14.54") (source (origin (method url-fetch) (uri (string-append "https://github.com/syncthing/syncthing" @@ -38,12 +38,19 @@ "/syncthing-source-v" version ".tar.gz")) (sha256 (base32 - "17phn8l2afhgzh0q9ambi28awj2m905sr1bicq2wc7ghypk5vgqh")) - (modules '((guix build utils))) - ;; Delete bundled ("vendored") free software source code. - (snippet '(begin - (delete-file-recursively "vendor") - #t)))) + "1pfjckwsrhy8lbmy42fawgh1gcfmjbh3dfxx05w5yjxnpd1g2z6r")) + ;; Since the update to Go 1.11, Go programs have been keeping + ;; spurious references to all their dependencies: + ;; . + ;; For Syncthing, this increases the size of the 'out' closure + ;; from 87.6 MiB to 253.5 MiB. So, we use the bundled + ;; dependencies until the bug is resolved. +; (modules '((guix build utils))) +; ;; Delete bundled ("vendored") free software source code. +; (snippet '(begin +; (delete-file-recursively "vendor") +; #t)) + )) (build-system go-build-system) ;; The primary Syncthing executable goes to "out", while the auxiliary ;; server programs and utility tools go to "utils". This reduces the size @@ -63,7 +70,7 @@ #t)) (replace 'build - (lambda* (#:key inputs #:allow-other-keys) + (lambda _ (with-directory-excursion "src/github.com/syncthing/syncthing" (invoke "go" "run" "build.go" "-no-upgrade")))) @@ -107,48 +114,6 @@ (delete-file (string-append out man "/man1/strelaysrv.1")) (delete-file (string-append utils man "/man1/syncthing.1")) #t)))))) - ;; When updating Syncthing, check 'vendor/manifest' in the source - ;; distribution to ensure we are using the correct versions of these - ;; dependencies. - (inputs - `(("go-github-com-audriusbutkevicius-cli" - ,go-github-com-audriusbutkevicius-cli) - ("go-github-com-audriusbutkevicius-go-nat-pmp" - ,go-github-com-audriusbutkevicius-go-nat-pmp) - ("go-github-com-audriusbutkevicius-pfilter" - ,go-github-com-audriusbutkevicius-pfilter) - ("go-github-com-bkaradzic-go-lz4" ,go-github-com-bkaradzic-go-lz4) - ("go-github-com-calmh-du" ,go-github-com-calmh-du) - ("go-github-com-calmh-xdr" ,go-github-com-calmh-xdr) - ("go-github-com-prometheus-union" ,(go-github-com-prometheus-union)) - ("go-github-com-chmduquesne-rollinghash-adler32" - ,go-github-com-chmduquesne-rollinghash-adler32) - ("go-github-com-gobwas-glob" ,go-github-com-gobwas-glob) - ("go-github-com-gogo-protobuf-union" - ,(go-github-com-gogo-protobuf-union)) - ("go-github-com-golang-groupcache-lru" - ,go-github-com-golang-groupcache-lru) - ("go-github-com-jackpal-gateway" ,go-github-com-jackpal-gateway) - ("go-github-com-kballard-go-shellquote" - ,go-github-com-kballard-go-shellquote) - ("go-github-com-lib-pq" ,go-github-com-lib-pq) - ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) - ("go-github-com-oschwald-geoip2-golang" - ,go-github-com-oschwald-geoip2-golang) - ("go-github-com-pkg-errors" ,go-github-com-pkg-errors) - ("go-github-com-rcrowley-go-metrics" ,go-github-com-rcrowley-go-metrics) - ("go-github-com-sasha-s-go-deadlock" ,go-github-com-sasha-s-go-deadlock) - ("go-github-com-syncthing-notify" ,go-github-com-syncthing-notify) - ("go-github-com-syndtr-goleveldb" ,go-github-com-syndtr-goleveldb) - ("go-github-com-thejerf-suture" ,go-github-com-thejerf-suture) - ("go-github-com-vitrun-qart" ,(go-github-com-vitrun-qart-union)) - ("go-golang-org-x-crypto" ,(go-golang-org-x-crypto-union)) - ("go-golang-org-x-net-union" ,(go-golang-org-x-net-union)) - ("go-golang-org-x-text" ,(go-golang-org-x-text-union)) - ("go-golang-org-x-time-rate" ,go-golang-org-x-time-rate) - ("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2) - ;; For tests - ("go-github-com-d4l3k-messagediff" ,go-github-com-d4l3k-messagediff))) (synopsis "Decentralized continuous file system synchronization") (description "Syncthing is a peer-to-peer file synchronization tool that supports a wide variety of computing platforms. It uses the Block Exchange @@ -298,100 +263,6 @@ structs in the Go programming language.") (home-page "https://github.com/gobwas/glob") (license expat)))) -(define* (go-github-com-gogo-protobuf-union - #:optional (packages (list go-github-com-gogo-protobuf - go-github-com-gogo-protobuf-protoc-gen-gogo))) - (package - (name "go-github-com-gogo-protobuf-union") - (version (package-version go-github-com-gogo-protobuf)) - (source #f) - (build-system trivial-build-system) - (arguments - '(#:modules ((guix build union)) - #:builder (begin - (use-modules (ice-9 match) - (guix build union)) - (match %build-inputs - (((names . directories) ...) - (union-build (assoc-ref %outputs "out") - directories) - #t))))) - (inputs (map (lambda (package) - (list (package-name package) package)) - packages)) - (synopsis "Union of Go protobuf libraries") - (description "This is a union of Go protobuf libraries") - (home-page (package-home-page go-github-com-gogo-protobuf)) - (license (package-license go-github-com-gogo-protobuf)))) - -(define-public go-github-com-gogo-protobuf - (let ((commit "160de10b2537169b5ae3e7e221d28269ef40d311") - (revision "2")) - (package - (name "go-github-com-gogo-protobuf") - (version (git-version "0.5" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gogo/protobuf") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0hxq28sgxym04rv0q40gpwkh4ni359q21hq3g78wwxwx4qfd4zwm")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/gogo/protobuf/proto" - #:unpack-path "github.com/gogo/protobuf")) - (propagated-inputs - `(("go-github-com-gogo-protobuf-protoc-gen-gogo" - ,go-github-com-gogo-protobuf-protoc-gen-gogo))) - (synopsis "Protocol Buffers for Go with Gadgets") - (description "Gogoprotobuf is a fork of golang/protobuf with extra code -generation features. This code generation is used to achieve: -@itemize -@item fast marshalling and unmarshalling -@item more canonical Go structures -@item goprotobuf compatibility -@item less typing by optionally generating extra helper code -@item peace of mind by optionally generating test and benchmark code -@item other serialization formats -@end itemize") - (home-page "https://github.com/gogo/protobuf") - (license bsd-3)))) - -(define-public go-github-com-gogo-protobuf-protoc-gen-gogo - (let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63") - (revision "0")) - (package - (name "go-github-com-gogo-protobuf-protoc-gen-gogo") - (version (git-version "0.2" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gogo/protobuf") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "09kfa3aqmhh7p0rc6wd4fw5cjccidsk9vgcy13albv0g8vnbmmgw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/gogo/protobuf/protoc-gen-gogo" - #:unpack-path "github.com/gogo/protobuf")) - (synopsis "Protocol Buffers for Go with Gadgets") - (description "Gogoprotobuf is a fork of golang/protobuf with extra code -generation features. This code generation is used to achieve: -@itemize -@item fast marshalling and unmarshalling -@item more canonical Go structures -@item goprotobuf compatibility -@item less typing by optionally generating extra helper code -@item peace of mind by optionally generating test and benchmark code -@item other serialization formats -@end itemize") - (home-page "https://github.com/gogo/protobuf") - (license bsd-3)))) (define-public go-github-com-golang-groupcache-lru (let ((commit "84a468cf14b4376def5d68c722b139b881c450a4") @@ -822,44 +693,6 @@ generation.") (home-page "https://github.com/vitrun/qart") (license bsd-3)))) -;; Go searches for library modules by looking in the GOPATH environment -;; variable. This variable is a list of paths. However, Go does not -;; keep searching on GOPATH if it tries and fails to import a module. -;; So, we use a union for packages sharing a namespace. -(define* (go-golang-org-x-crypto-union #:optional - (packages (list go-golang-org-x-crypto-blowfish - go-golang-org-x-crypto-bcrypt - go-golang-org-x-crypto-tea - go-golang-org-x-crypto-xtea - go-golang-org-x-crypto-pbkdf2 - go-golang-org-x-crypto-twofish - go-golang-org-x-crypto-cast5 - go-golang-org-x-crypto-salsa20))) - (package - (name "go-golang-org-x-crypto") - (version (package-version go-golang-org-x-crypto-bcrypt)) - (source #f) - (build-system trivial-build-system) - (arguments - '(#:modules ((guix build union)) - #:builder (begin - (use-modules (ice-9 match) - (guix build union)) - (match %build-inputs - (((names . directories) ...) - (union-build (assoc-ref %outputs "out") - directories) - #t))))) - (inputs (map (lambda (package) - (list (package-name package) package)) - packages)) - (synopsis "Union of the Go x crypto libraries") - (description "A union of the Golang cryptographic libraries. A -union is required because `go build` assumes that all of the headers and -libraries are in the same directory.") - (home-page (package-home-page go-golang-org-x-crypto-bcrypt)) - (license (package-license go-golang-org-x-crypto-bcrypt)))) - (define* (go-golang-org-x-net-union #:optional (packages (list go-golang-org-x-net-ipv4 go-golang-org-x-net-bpf @@ -1032,7 +865,16 @@ the current goroutine's ID.") "0bg26pfg25vr16jmczig2m493mja2nxjxyswz3hha7avxw20rpi5")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/AudriusButkevicius/cli")) + '(#:import-path "github.com/AudriusButkevicius/cli" + ;; Tests don't pass "vet" on go-1.11. See + ;; https://github.com/AudriusButkevicius/cli/pull/1. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key import-path #:allow-other-keys) + (invoke "go" "test" + "-vet=off" + import-path)))))) (synopsis "Library for building command-line interfaces in Go") (description "This package provides a library for building command-line interfaces in Go.") @@ -1064,8 +906,8 @@ using sh's word-splitting rules.") (license expat)))) (define-public go-github-com-syncthing-notify - (let ((commit "b76b45868a77e7800dd06cce61101af9c4274bcc") - (revision "2")) + (let ((commit "116c45bb5ad48777321e4984d1320d56889b6097") + (revision "3")) (package (name "go-github-com-syncthing-notify") (version (git-version "0.0.0" revision commit)) @@ -1077,7 +919,7 @@ using sh's word-splitting rules.") (file-name (git-file-name name version)) (sha256 (base32 - "1xxkzaxygxxr51i2kdxsdaqb5i95hqpkw4kcr75wmsp914slw2q9")))) + "14bh95pkhwmnc65bnv08p3y4flj1j7f6xxr2cgmlwrphnlp9yhl9")))) (build-system go-build-system) (arguments '(#:import-path "github.com/syncthing/notify")) @@ -1229,7 +1071,14 @@ message streaming.") (string-append (assoc-ref outputs "out") "/src/github.com/prometheus/common/expfmt/testdata/") ".*\\.gz$")) - #t))))) + #t)) + (replace 'check + ;; Tests don't pass "vet" on go-1.11. See + ;; https://github.com/syncthing/syncthing/issues/5311. + (lambda* (#:key import-path #:allow-other-keys) + (invoke "go" "test" + "-vet=off" + import-path)))))) (propagated-inputs `(("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto) @@ -1304,11 +1153,11 @@ server tools for Prometheus metrics.") (license asl2.0)))) (define-public go-github-com-client-golang-prometheus - (let ((commit "180b8fdc22b4ea7750bcb43c925277654a1ea2f3") + (let ((commit "7e9098b20fb8e103a7a5691878272d7e3d703663") (revision "0")) (package (name "go-github-com-prometheus-client-golang-prometheus") - (version (git-version "0.0.0" revision commit)) + (version (git-version "0.9.1" revision commit)) (source (origin (method git-fetch) (uri (git-reference @@ -1317,11 +1166,12 @@ server tools for Prometheus metrics.") (file-name (git-file-name name version)) (sha256 (base32 - "1kkfx1j9ka18ydsmdi2cdy3hs39c22b39mbc4laykmj2x93lmbdp")))) + "09q8hlvgyn58hn8fmmj535hrwhqc1215czwzf7fhaqpa9zamj4w1")))) (build-system go-build-system) (arguments '(#:import-path "github.com/prometheus/client_golang/prometheus" - #:unpack-path "github.com/prometheus/client_golang")) + #:unpack-path "github.com/prometheus/client_golang" + #:tests? #f)) ; 'TestHandler' test fails in this non-critical dependency (propagated-inputs `(("go-github-com-beorn7-perks-quantile" ,go-github-com-beorn7-perks-quantile) @@ -1383,7 +1233,16 @@ Prometheus HTTP API.") "1y8bvzbxpw0lfnn7pbcdwzqj4l90qj6xf88dvv9pxd9yl5g6cskx")))) (build-system go-build-system) (arguments - '(#:import-path "gopkg.in/asn1-ber.v1")) + '(#:import-path "gopkg.in/asn1-ber.v1" + ;; Tests don't pass "vet" on go-1.11. See + ;; https://github.com/go-asn1-ber/asn1-ber/issues/20. + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key import-path #:allow-other-keys) + (invoke "go" "test" + "-vet=off" + import-path)))))) (synopsis "ASN.1 BER encoding and decoding in Go") (description "This package provides ASN.1 BER encoding and decoding in the Go language.") diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 05916cde5c..63709935c3 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016 Lukas Gradl ;;; Copyright © 2016 Francesco Frassinelli ;;; Copyright © 2016, 2017 Nils Gillmann -;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Jovany Leandro G.C ;;; @@ -295,26 +295,19 @@ protocol (RFC 3550).") (version (string-append "0.0.0-1." (string-take commit 7))) (source (origin - (method url-fetch) - (uri - (string-append - "https://gitlab.savoirfairelinux.com/sflphone/libiax2/" - "repository/archive.tar.gz?ref=" - commit)) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://gitlab.savoirfairelinux.com/sflphone/libiax2.git") + (commit commit))) + (file-name (git-file-name name version)) (sha256 (base32 - "0cj5293bixp3k5x3hjwyd0iq7z8w5p7yavxvvkqk5817hjq386y2")))) + "0d269474kk1933c55hx4azw3sak5ycfrxkw6ida0sb2cm00kfich")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool))) - (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - (invoke "autoreconf" "-vfi")))))) (home-page "https://gitlab.savoirfairelinux.com/sflphone/libiax2") (synopsis "Inter-Asterisk-Protocol library") (description "LibIAX2 implements the Inter-Asterisk-Protocol for relaying diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 5cdc081398..369e79bf5b 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2016, 2017 José Miguel Sánchez García ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Kei Kebreau -;;; Copyright © 2017 Ricardo Wurmus +;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2017 Petter ;;; Copyright © 2018 Hartmut Goebel ;;; Copyright © 2018 Arun Isaac @@ -71,12 +71,14 @@ (name "tilda") (version "1.4.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/lanoxx/tilda/archive/" - "tilda-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lanoxx/tilda.git") + (commit (string-append "tilda-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0w2hry2bqcqrkik4l100b1a9jlsih6sq8zwhfpl8zzfq20i00lfs")))) + "154rsldqjv2m1bddisb930qicb0y35kx7bxq392n2hn68jr2pxkj")))) (build-system glib-or-gtk-build-system) (arguments '(#:phases (modify-phases %standard-phases @@ -104,7 +106,7 @@ configurable through a graphical wizard.") (define-public termite (package (name "termite") - (version "13") + (version "14") (source (origin (method git-fetch) @@ -116,7 +118,7 @@ configurable through a graphical wizard.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "02cn70ygl93ghhkhs3xdxn5b1yadc255v3yp8cmhhyzsv5027hvj")))) + "0dmz9rpc2fdvcwhcmjnhb48ixn403gxpq03g334d1hgjw2hsyx7x")))) (build-system gnu-build-system) (arguments `(#:phases @@ -187,96 +189,113 @@ text-based approach to terminal recording.") (license license:gpl3))) (define-public libtsm - (package - (name "libtsm") - (version "3") - (source (origin - (method url-fetch) - (uri (string-append - "https://freedesktop.org/software/kmscon/releases/" - "libtsm-" version ".tar.xz")) - (sha256 - (base32 - "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i")))) - (build-system gnu-build-system) - (native-inputs - `(("pkg-config" ,pkg-config))) - (inputs - `(("libxkbcommon" ,libxkbcommon))) - (synopsis "Xterm state machine library") - (description "TSM is a state machine for DEC VT100-VT520 compatible + (let ((commit "f70e37982f382b03c6939dac3d5f814450bda253") + (revision "1")) + (package + (name "libtsm") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + ;; The freedesktop repository is no longer maintained. + (uri (git-reference + (url (string-append "https://github.com/Aetf/" name)) + (commit commit))) + (sha256 + (base32 + "0mwn91i5h5d518i1s05y7hzv6bc13vzcvxszpfh77473iwg4wprx")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DBUILD_TESTING=ON"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libxkbcommon" ,libxkbcommon) + ("check" ,check))) + (synopsis "Xterm state machine library") + (description "TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. It tries to support all common standards while keeping compatibility to existing emulators like xterm, gnome-terminal, konsole, etc.") - (home-page "https://www.freedesktop.org/wiki/Software/libtsm") - ;; Hash table implementation is lgpl2.1+ licensed. - ;; The wcwidth implementation in external/wcwidth.{h,c} uses a license - ;; derived from ISC. - ;; UCS-4 to UTF-8 encoding is copied from "terminology" which is released - ;; under the bsd 2 license. - (license (list license:expat license:lgpl2.1+ license:isc license:bsd-2)))) + (home-page "https://www.freedesktop.org/wiki/Software/libtsm") + ;; Hash table implementation is lgpl2.1+ licensed. + ;; The wcwidth implementation in external/wcwidth.{h,c} uses a license + ;; derived from ISC. + ;; UCS-4 to UTF-8 encoding is copied from "terminology" which is released + ;; under the bsd 2 license. + (license (list license:expat license:lgpl2.1+ license:isc license:bsd-2))))) (define-public kmscon - (package - (name "kmscon") - (version "8") - (source (origin - (method url-fetch) - (uri (string-append - "https://freedesktop.org/software/kmscon/releases/" - "kmscon-" version ".tar.xz")) - (sha256 - (base32 - "0axfwrp3c8f4gb67ap2sqnkn75idpiw09s35wwn6kgagvhf1rc0a")) - (modules '((guix build utils))) - (snippet - ;; Use elogind instead of systemd. - '(begin - (substitute* "configure" - (("libsystemd-daemon libsystemd-login") - "libelogind")) - (substitute* "src/uterm_systemd.c" - (("#include ") - "#include ") - ;; We don't have this header. - (("#include ") - "") - ;; Replace the call to 'sd_booted' by the truth value. - (("sd_booted\\(\\)") - "1")) - #t)))) - (build-system gnu-build-system) - (native-inputs - `(("pkg-config" ,pkg-config) - ("libxslt" ,libxslt) ;to build the man page - ("libxml2" ,libxml2) ;for XML_CATALOG_FILES - ("docbook-xsl" ,docbook-xsl))) - (inputs - `(("libdrm" ,libdrm) - ("libtsm" ,libtsm) - ("libxkbcommon" ,libxkbcommon) - ("logind" ,elogind) - ("mesa" ,mesa) - ("pango" ,pango) - ("udev" ,eudev))) - (synopsis "Linux KMS-based terminal emulator") - (description "Kmscon is a terminal emulator based on Linux's @dfn{kernel + (let ((commit "01dd0a231e2125a40ceba5f59fd945ff29bf2cdc") + (revision "1")) + (package + (name "kmscon") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + ;; The freedesktop repository is no longer maintained. + (uri (git-reference + (url (string-append "https://github.com/Aetf/" name)) + (commit commit))) + (sha256 + (base32 + "0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87")) + (modules '((guix build utils))))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (setenv "NOCONFIGURE" "indeed") + (invoke "sh" "autogen.sh"))) + ;; Use elogind instead of systemd. + (add-before 'configure 'remove-systemd + (lambda _ + (substitute* "configure" + (("libsystemd-daemon libsystemd-login") + "libelogind")) + (substitute* "src/uterm_systemd.c" + (("#include ") + "#include ") + ;; We don't have this header. + (("#include ") + "") + ;; Replace the call to 'sd_booted' by the truth value. + (("sd_booted\\(\\)") + "1"))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("libxslt" ,libxslt) ;to build the man page + ("libxml2" ,libxml2) ;for XML_CATALOG_FILES + ("docbook-xsl" ,docbook-xsl))) + (inputs + `(("libdrm" ,libdrm) + ("libtsm" ,libtsm) + ("libxkbcommon" ,libxkbcommon) + ("logind" ,elogind) + ("mesa" ,mesa) + ("pango" ,pango) + ("udev" ,eudev))) + (synopsis "Linux KMS-based terminal emulator") + (description "Kmscon is a terminal emulator based on Linux's @dfn{kernel mode setting} (KMS). It can replace the in-kernel virtual terminal (VT) implementation with a user-space console. Compared to the Linux console, kmscon provides enhanced features including XKB-compatible internationalized keyboard support, UTF-8 input/font support, hardware-accelerated rendering, multi-seat support, a replacement for @command{mingetty}, and more.") - (home-page "https://www.freedesktop.org/wiki/Software/kmscon") - ;; Hash table implementation is lgpl2.1+ licensed. - ;; The wcwidth implementation in external/wcwidth.{h,c} uses a license - ;; derived from ISC. - ;; UCS-4 to UTF-8 encoding is copied from "terminology" which is released - ;; under the bsd 2 license. - ;; Unifont-Font is from http://unifoundry.com/unifont.html and licensed - ;; under the terms of the GNU GPL. - (license (list license:expat license:lgpl2.1+ license:bsd-2 - license:gpl2+)) - (supported-systems (filter (cut string-suffix? "-linux" <>) - %supported-systems)))) + (home-page "https://www.freedesktop.org/wiki/Software/kmscon") + ;; Hash table implementation is lgpl2.1+ licensed. + ;; The wcwidth implementation in external/wcwidth.{h,c} uses a license + ;; derived from ISC. + ;; UCS-4 to UTF-8 encoding is copied from "terminology" which is released + ;; under the bsd 2 license. + ;; Unifont-Font is from http://unifoundry.com/unifont.html and licensed + ;; under the terms of the GNU GPL. + (license (list license:expat license:lgpl2.1+ license:bsd-2 + license:gpl2+)) + (supported-systems (filter (cut string-suffix? "-linux" <>) + %supported-systems))))) (define-public libtermkey (package @@ -312,14 +331,14 @@ combining, and so on, with a simple interface.") (name "picocom") (version "2.2") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/npat-efault/picocom" - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/npat-efault/picocom.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1knl6dglnrynx1fhy21nylw56i1q3dkizkgxzkq42mb7ilah8f9y")))) + "06b2ic34dnxc73cprc5imi3iamlhsv623sbg9vj5h5rvs586dwjx")))) (build-system gnu-build-system) (arguments `(#:make-flags '("CC=gcc") @@ -383,13 +402,14 @@ has no notion of what's interesing, but it's very good at that notifying part.") (version "1.2.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mauke/unibilium/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mauke/unibilium.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1hbf011d8nzsp7c96fidjiq8yw8zlxf6f1s050ii2yyampvb8ib0")))) + "11mbfijdrvbmdlmxs8j4vij78ki0vna89yg3r9n9g1i6j45hiq2r")))) (build-system gnu-build-system) (arguments `(#:make-flags @@ -856,13 +876,14 @@ per-line fullscreen terminal rendering, and keyboard input event reporting.") (version "2.2.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/tmate-io/tmate/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/tmate-io/tmate.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "01f3hhm3x0sd6apyb1ajkjfdfvq5m2759w00yp2slr9fyicsrhnr")))) + "0pfl9vrswzim9ydi1n652h3rax2zrmy6sqkp0r09yy3lw83h4y1r")))) (build-system gnu-build-system) (inputs `(("libevent" ,libevent) diff --git a/gnu/packages/terraform.scm b/gnu/packages/terraform.scm index 71b214ed0a..f14b152fdb 100644 --- a/gnu/packages/terraform.scm +++ b/gnu/packages/terraform.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Christopher Baines +;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,13 +22,12 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) - #:use-module (guix build-system go) - #:use-module (gnu packages golang)) + #:use-module (guix build-system go)) (define-public terraform-docs (package (name "terraform-docs") - (version "0.3.0") + (version "0.5.0") (source (origin (method git-fetch) (uri (git-reference @@ -36,11 +36,8 @@ (file-name (git-file-name name version)) (sha256 (base32 - "0xchpik32ab8m89s6jv671vswg8xhprfvh6s5md0zd36482d2nmm")))) + "12w2yr669hk5kxdb9rrzsn8hwvx8rzrc1rmn8hs9l8z1bkfhr4gg")))) (build-system go-build-system) - (native-inputs - `(("go-github-com-hashicorp-hcl" ,go-github-com-hashicorp-hcl) - ("go-github-com-tj-docopt" ,go-github-com-tj-docopt))) (arguments '(#:import-path "github.com/segmentio/terraform-docs")) (synopsis "Generate documentation from Terraform modules") diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 294d334423..916aa54d58 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -199,7 +199,7 @@ ;; FIXME: This test fails on 32-bit architectures since Glibc 2.28: ;; . (substitute* "texk/web2c/omegafonts/check.test" - (("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck || exit 1") + (("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck \\|\\| exit 1") "./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77")) #t)) (add-after 'install 'postint @@ -2288,6 +2288,44 @@ space-stripped macros.") to something that's not a float.") (license license:lppl))) +(define-public texlive-latex-doi + (package + (name "texlive-latex-doi") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/doi")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0378rdmrgr2lzbfi4qqy4dfpj5im20diyd8z8b9m4mlg05r7wgnb")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/doi"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "https://www.ctan.org/pkg/doi") + (synopsis "Create correct hyperlinks for DOI numbers") + (description + "You can hyperlink DOI numbers to doi.org. However, some publishers have +elected to use nasty characters in their DOI numbering scheme (@code{<}, +@code{>}, @code{_} and @code{;} have all been spotted). This will either +upset LaTeX, or your PDF reader. This package contains a single user-level +command @code{\\doi{}}, which takes a DOI number, and creates a correct +hyperlink to the target of the DOI.") + ;; Any version of the LPPL. + (license license:lppl1.3+))) + (define-public texlive-latex-etoolbox (package (name "texlive-latex-etoolbox") @@ -4751,3 +4789,154 @@ Since every package has its own version number, the version number quoted only refers to the version of scrbook, scrreprt, scrartcl, scrlttr2 and typearea (which are the main parts of the bundle).") (license license:lppl1.3+))) + +(define-public texlive-generic-listofitems + (package + (name "texlive-generic-listofitems") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/generic/listofitems")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1k50z6ixgwwzy84mi0dr5vcjah5p7wvgq66y45bilm91a4m8sgla")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/generic/listofitems"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "https://www.ctan.org/pkg/listofitems") + (synopsis "Grab items in lists using user-specified seperation character") + (description + "This package allows one to capture all the items of a list, for which +the parsing character has been selected by the user, and to access any of +these items with a simple syntax.") + (license license:lppl1.3c+))) + +(define-public texlive-latex-readarray + (package + (name "texlive-latex-readarray") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/readarray")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0c53k180ivn1n7fz3ngvd2w1i5dw3kxml0n64vhki88xsylz7lxp")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/readarray"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (propagated-inputs + `(("texlive-generic-listofitems" ,texlive-generic-listofitems))) + (home-page "https://www.ctan.org/pkg/readarray") + (synopsis "Read, store and recall array-formatted data") + (description + "This package allows the user to input formatted data into elements of a +2-D or 3-D array and to recall that data at will by individual cell number. +The data can be but need not be numerical in nature. It can be, for example, +formatted text.") + (license license:lppl1.3))) + +(define-public texlive-latex-verbatimbox + (package + (name "texlive-latex-verbatimbox") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/verbatimbox")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0qh1cgvfs463zsi2pjg490gj0mkjfdpfc381j10cbb5la304psna")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/verbatimbox"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (propagated-inputs + `(("texlive-latex-readarray" ,texlive-latex-readarray))) + (home-page "https://www.ctan.org/pkg/verbatimbox") + (synopsis "Deposit verbatim text in a box") + (description + "The package provides a @code{verbbox} environment to place its contents +into a globally available box, or into a box specified by the user. The +global box may then be used in a variety of situations (for example, providing +a replica of the @code{boxedverbatim} environment itself). A valuable use is +in places where the standard @code{verbatim} environment (which is based on a +@code{trivlist}) may not appear.") + (license license:lppl1.3+))) + +(define-public texlive-latex-examplep + (package + (name "texlive-latex-examplep") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/examplep")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0fsvvmz68ij0zwfzrny6x13d92grxr4ap59lxgah4smbkccd6s27")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/examplep"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) + (home-page "https://www.ctan.org/pkg/examplep") + (synopsis "Verbatim phrases and listings in LaTeX") + (description + "Examplep provides sophisticated features for typesetting verbatim source +code listings, including the display of the source code and its compiled LaTeX +or METAPOST output side-by-side, with automatic width detection and enabled +page breaks (in the source), without the need for specifying the source twice. +Special care is taken that section, page and footnote numbers do not interfere +with the main document. For typesetting short verbatim phrases, a replacement +for the @code{\\verb} command is also provided in the package, which can be +used inside tables and moving arguments such as footnotes and section +titles.") + ;; No version of the GPL is specified. + (license license:gpl3+))) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 8780bb2829..cda79231f1 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer -;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2015, 2016 Ben Woodcroft ;;; Copyright © 2015 Roel Janssen ;;; Copyright © 2016 Jelle Licht @@ -15,6 +15,7 @@ ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Pierre Neidhardt +;;; Copyright © 2018 Meiyo Peng ;;; ;;; This file is part of GNU Guix. ;;; @@ -200,8 +201,8 @@ encoding, supporting Unicode version 9.0.0.") (arguments '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ (zero? (system* "autoreconf" "-vif"))))))) + (replace 'bootstrap + (lambda _ (invoke "sh" "reconf")))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -338,7 +339,7 @@ as existing hashing techniques, with provably negligible risk of collisions.") (define-public oniguruma (package (name "oniguruma") - (version "6.8.2") + (version "6.9.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/kkos/" @@ -346,7 +347,7 @@ as existing hashing techniques, with provably negligible risk of collisions.") "/onig-" version ".tar.gz")) (sha256 (base32 - "00s9gjgb3srn5sbmx4x9bssn52mi04d868ghizssdhjlddgxmsmd")))) + "1jg76i2ksf3s4bz4h3g2f9ac19q31lzxs11j900w7qqc0mgb5gwi")))) (build-system gnu-build-system) (home-page "https://github.com/kkos/oniguruma") (synopsis "Regular expression library") @@ -572,22 +573,16 @@ categories.") (name "dotconf") (version "1.3") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/williamh/dotconf/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/williamh/dotconf.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0lsnh0yaw44psmx59hq94cj1932gscp5h8d3cnh05l0svr0cy7kz")))) + "1sc95hw5k2xagpafny0v35filmcn05k1ds5ghkldfpf6xw4hakp7")))) (build-system gnu-build-system) - (arguments - `(#:tests? #f ; FIXME maketest.sh does not work. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoreconf - (lambda _ - (zero? (system* "autoreconf" "-vif"))))))) + (arguments `(#:tests? #f)) ; FIXME maketest.sh does not work. (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) @@ -756,3 +751,26 @@ indentation. @end itemize\n") (home-page "http://docx2txt.sourceforge.net") (license license:gpl3+))) + +(define-public opencc + (package + (name "opencc") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/BYVoid/OpenCC" + "/archive/ver." version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01870gbkf711msirf3206k0ajaabypjhnx3fny5wikw0ladn9q8w")))) + (build-system cmake-build-system) + (native-inputs + `(("python" ,python-wrapper))) + (home-page "https://github.com/BYVoid/OpenCC") + (synopsis "Convert between Traditional Chinese and Simplified Chinese") + (description "Open Chinese Convert (OpenCC) converts between Traditional +Chinese and Simplified Chinese, supporting character-level conversion, +phrase-level conversion, variant conversion, and regional idioms among +Mainland China, Taiwan, and Hong-Kong.") + (license license:asl2.0))) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index d9fc601066..f9e21e1e3f 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -522,13 +522,13 @@ netcat implementation that supports TLS.") (package (name "python-acme") ;; Remember to update the hash of certbot when updating python-acme. - (version "0.27.1") + (version "0.29.1") (source (origin (method url-fetch) (uri (pypi-uri "acme" version)) (sha256 (base32 - "142gynlfx7yv0sdba3gpdxlnhg9chhz7hpdxdrp630z17h1bk9ri")))) + "0z5l966b1asbcdzl77bmywf22c1q0xill00jj7qyml9wx2nh7qm2")))) (build-system python-build-system) (arguments `(#:phases @@ -579,7 +579,7 @@ netcat implementation that supports TLS.") (uri (pypi-uri name version)) (sha256 (base32 - "0anh3vjy9sif1bkp25nj76ii37xx8hh0igcx60ppag12xlabsw1m")))) + "14i6yrcb9s7ygy99gccfc8jscymi24xb72s5lgg9b2y40z909ikg")))) (build-system python-build-system) (arguments `(,@(substitute-keyword-arguments (package-arguments python-acme) @@ -826,7 +826,7 @@ then ported to the GNU / Linux environment.") (define-public mbedtls-apache (package (name "mbedtls-apache") - (version "2.13.0") + (version "2.14.1") (source (origin (method url-fetch) @@ -836,7 +836,7 @@ then ported to the GNU / Linux environment.") version "-apache.tgz")) (sha256 (base32 - "1nh6xfyxs3mnnpgc6pancvdhv6ihz9lhsxdlg90gqa8n5r6lwfsr")))) + "07f6xn77w5rd6fhq5s1dmna3czs4chk5j2s6wkj366cvikawp2gi")))) (build-system cmake-build-system) (arguments `(#:configure-flags diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index 7d46191c12..a9bbebcd13 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Eric Bavier ;;; Copyright © 2017 Rutger Helling +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,14 +48,14 @@ (define-public tor (package (name "tor") - (version "0.3.4.8") + (version "0.3.4.9") (source (origin (method url-fetch) (uri (string-append "https://dist.torproject.org/tor-" version ".tar.gz")) (sha256 (base32 - "08qhzcmzxp5xr2l5721vagksqnnbrzzzy5hmz5y9r8lrq2r4qsl2")))) + "0jhnvnp08hsfrzgsvg5xnfxyaw3nzgg9h24cwbwnz6iby20i05qs")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list "--enable-gcc-hardening" @@ -140,14 +141,6 @@ rejects UDP traffic from the application you're using.") #:configure-flags (list (string-append "--sysconfdir=" (assoc-ref %outputs "out") "/etc/privoxy")) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'autoconf - (lambda _ - ;; Unfortunately, this is not a tarball produced by - ;; "make dist". - (invoke "autoreconf" "-vfi") - #t))) #:tests? #f)) (inputs `(("w3m" ,w3m) @@ -172,13 +165,14 @@ networks.") (version "0.9.2") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/micahflee/onionshare/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/micahflee/onionshare.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "02iv7dg15da57gy3zvfchnwwpr21n1gva7mqwpwr958ni2034smk")))) + "1nzr6m3jp04p1i8b652s27zv0xhybl3zwcn5r6l9h0f7d7x4iglv")))) (build-system python-build-system) (arguments `(#:phases diff --git a/gnu/packages/tv.scm b/gnu/packages/tv.scm index ef67ad37f2..2196162956 100644 --- a/gnu/packages/tv.scm +++ b/gnu/packages/tv.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016, 2017, 2018 Alex Kost +;;; Copyright © 208 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,15 @@ (base32 "1367rl3n6qxwf30lqyz234zpb43s9xjhig3hrvbg7cbqcl8g4fs0")))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-glibc-compatability + (lambda _ + (substitute* "src/get_media_devices.c" + (("") + "\n#include ")) + #t))))) (inputs `(("alsa-lib" ,alsa-lib) ("libx11" ,libx11) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 14a18c8c35..f37936ee5e 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2014, 2015, 2016 Mark H Weaver ;;; Copyright © 2014, 2016 Eric Bavier ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner -;;; Copyright © 2015 Kyle Meyer +;;; Copyright © 2015, 2018 Kyle Meyer ;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016, 2017, 2018 Nils Gillmann @@ -146,14 +146,14 @@ as well as the classic centralized workflow.") (name "git") ;; XXX When updating Git, check if the special 'git-source' input to cgit ;; needs to be updated as well. - (version "2.19.1") + (version "2.20.0") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/software/scm/git/git-" version ".tar.xz")) (sha256 (base32 - "1dfv43lmdnxz42504jc89sihbv1d4d6kgqcz3c5ji140kfm5cl1l")))) + "07yq186wb3wqvvmzhhsca57m979p7jprkk4h2a516jz1fd87755w")))) (build-system gnu-build-system) (native-inputs `(("native-perl" ,perl) @@ -166,7 +166,11 @@ as well as the classic centralized workflow.") version ".tar.xz")) (sha256 (base32 - "1vn6pi9yvw7rnb9dvi1yjrvv39fqd1m9mwbaffqwizs3gaf91br7")))))) + "141n20migxaazy0vfkivjk6bzazi3ydyq7qkf6wmkg186l4amgbr")))) + ;; For subtree documentation. + ("asciidoc" ,asciidoc) + ("docbook-xsl" ,docbook-xsl) + ("xmlto" ,xmlto))) (inputs `(("curl" ,curl) ("expat" ,expat) @@ -198,6 +202,7 @@ as well as the classic centralized workflow.") "send-email" ; for git-send-email "svn" ; git-svn "credential-netrc" ; git-credential-netrc + "subtree" ; git-subtree "gui")) ; gitk, git gui (arguments `(#:make-flags `("V=1" ;more verbose compilation @@ -256,6 +261,26 @@ as well as the classic centralized workflow.") ;; Add the "PM.stamp" to avoid "no rule to make target". (call-with-output-file "perl/PM.stamp" (const #t)) #t)) + (add-after 'build 'build-subtree + (lambda* (#:key inputs #:allow-other-keys) + (with-directory-excursion "contrib/subtree" + (substitute* "Makefile" + ;; Apparently `xmlto' does not bother to looks up the stylesheets + ;; specified in the XML, unlike the above substitution. Instead it + ;; uses a hard-coded URL. Work around it here, but if this is + ;; common perhaps we should hardcode this path in xmlto itself. + (("\\$\\(XMLTO\\) -m \\$\\(MANPAGE_XSL\\) man") + (string-append "$(XMLTO) -x " + (string-append (assoc-ref inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl)) + "/manpages/docbook.xsl -m $(MANPAGE_XSL) man"))) + (invoke "make") + (invoke "make" "install") + (invoke "make" "install-doc") + (substitute* "git-subtree" + (("/bin/sh") (which "sh")))) + #t)) (add-before 'check 'patch-tests (lambda _ (let ((store-directory (%store-directory))) @@ -317,6 +342,14 @@ as well as the classic centralized workflow.") `("PERL5LIB" ":" prefix (,(string-append (assoc-ref outputs "out") "/share/perl5")))) #t))) + (add-after 'install 'install-subtree + (lambda* (#:key outputs #:allow-other-keys) + (let ((subtree (assoc-ref outputs "subtree"))) + (install-file "contrib/subtree/git-subtree" + (string-append subtree "/bin")) + (install-file "contrib/subtree/git-subtree.1" + (string-append subtree "/share/man/man1")) + #t))) (add-after 'install 'split (lambda* (#:key inputs outputs #:allow-other-keys) ;; Split the binaries to the various outputs. @@ -424,10 +457,74 @@ everything from small to very large projects with speed and efficiency.") (license license:gpl2) (home-page "https://git-scm.com/"))) +(define-public git-minimal + ;; The size of the closure of 'git-minimal' is two thirds that of 'git'. + ;; Its test suite runs slightly faster and most importantly it doesn't + ;; depend on packages that are expensive to build such as Subversion. + (package + (inherit git) + (name "git-minimal") + (arguments + (substitute-keyword-arguments (package-arguments git) + ((#:phases phases) + `(modify-phases ,phases + (replace 'patch-makefiles + (lambda _ + (substitute* "Makefile" + (("/usr/bin/perl") (which "perl"))) + #t)) + (delete 'build-subtree) + (delete 'split) + (delete 'install-man-pages) + (delete 'install-subtree) + (delete 'install-credential-netrc) + (add-before 'check 'delete-svn-test + (lambda _ + ;; This test cannot run since we are not building 'git-svn'. + (delete-file "t/t9020-remote-svn.sh") + #t)) + (add-after 'install 'remove-unusable-perl-commands + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (libexec (string-append out "/libexec"))) + (for-each (lambda (file) + (delete-file (string-append libexec + "/git-core/" file))) + '("git-svn" "git-cvsimport" "git-archimport" + "git-cvsserver" "git-request-pull" + "git-add--interactive" "git-cvsexportcommit" + "git-instaweb" "git-send-email")) + (delete-file (string-append bin "/git-cvsserver")) + + ;; These templates typically depend on Perl. Remove them. + (delete-file-recursively + (string-append out "/share/git-core/templates/hooks")) + + ;; Gitweb depends on Perl as well. + (delete-file-recursively + (string-append out "/share/gitweb")) + #t))))) + ((#:configure-flags flags) + ''()) + ((#:disallowed-references lst '()) + `(,perl ,@lst)))) + (outputs '("out")) + (native-inputs + `(("native-perl" ,perl) + ("gettext" ,gettext-minimal))) + (inputs + `(("curl" ,curl) ;for HTTP(S) access + ("expat" ,expat) ;for 'git push' over HTTP(S) + ("openssl" ,openssl) + ("perl" ,perl) + ("zlib" ,zlib) + ("bash-for-tests" ,bash))))) + (define-public libgit2 (package (name "libgit2") - (version "0.26.7") + (version "0.26.8") (source (origin (method url-fetch) (uri (string-append "https://github.com/libgit2/libgit2/" @@ -435,8 +532,9 @@ everything from small to very large projects with speed and efficiency.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vy4dnbvhcq3pw8n8zz6clnsv2xnkrichl8k96w3lb6yyk0lln35")) - (patches (search-patches "libgit2-mtime-0.patch")) + "15kp4sq72kh762bm7dgspyrk0a6siarvll3k7nrhs0xy77idf80g")) + (patches (search-patches "libgit2-mtime-0.patch" + "libgit2-oom-test.patch")) ;; Remove bundled software. (snippet '(begin @@ -1119,14 +1217,14 @@ control to Git repositories.") (define-public mercurial (package (name "mercurial") - (version "4.6.2") + (version "4.7.2") (source (origin (method url-fetch) (uri (string-append "https://www.mercurial-scm.org/" "release/mercurial-" version ".tar.gz")) (sha256 (base32 - "1bv6wgcdx8glihjjfg22khhc52mclsn4kwfqvzbzlg0b42h4xl0w")))) + "1yq9r8s9jzj8hk2yizjk25s4w16yx9b8mbdj6wp8ld7j2r15kw4p")))) (build-system python-build-system) (arguments `(;; Restrict to Python 2, as Python 3 would require @@ -1697,7 +1795,7 @@ modification time.") (define-public myrepos (package (name "myrepos") - (version "1.20171231") + (version "1.20180726") (source (origin (method git-fetch) @@ -1706,15 +1804,34 @@ modification time.") (commit version))) (file-name (string-append name "-" version "-checkout")) (sha256 - (base32 "10q7lpx152xnkk701fscn4dq99q9znnmv3bc2482khhjg7z8rps0")) - (patches (search-patches "myrepos-CVE-2018-7032.patch")))) + (base32 "0jphw61plm8cgklja6hs639xhdvxgvjwbr6jpvjwpp7hc5gmhms5")))) (build-system gnu-build-system) - (inputs - `(("perl" ,perl))) (arguments '(#:test-target "test" - #:phases (modify-phases %standard-phases (delete 'configure)) - #:make-flags (list (string-append "PREFIX=" %output)))) + #:make-flags (list (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'install 'wrap-webcheckout + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/webcheckout") + `("PERL5LIB" ":" prefix + ,(map (lambda (i) (string-append (assoc-ref inputs i) + "/lib/perl5/site_perl")) + '("perl-encode-locale" "perl-http-date" + "perl-http-message" "perl-html-parser" "perl-libwww" + "perl-uri" "perl-try-tiny")))) + #t)))))) + (inputs + `(("perl" ,perl) + ("perl-encode-locale" ,perl-encode-locale) + ("perl-html-parser" ,perl-html-parser) + ("perl-http-date" ,perl-http-date) + ("perl-http-message" ,perl-http-message) + ("perl-libwww" ,perl-libwww) + ("perl-try-tiny" ,perl-try-tiny) + ("perl-uri" ,perl-uri))) (home-page "https://myrepos.branchable.com/") (synopsis "Multiple repository management tool") (description @@ -2226,3 +2343,101 @@ used to keep a folder in sync between computers.") ;; The web app is released under the AGPLv3+. (license (list license:gpl3+ license:agpl3+)))) + +(define-public git-when-merged + ;; Use an unreleased version to get a PY3 compatibility fix. + (let ((commit "ab6af7865a0ba55ba364a6c507e0be6f84f31c6d")) + (package + (name "git-when-merged") + (version (string-append "1.2.0-" (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mhagger/git-when-merged/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iyk2psf97bc9h43m89p3xjmm79fsx99i7px29g4lcnmdy5kmz0p")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; there are no tests + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (install-file "bin/git-when-merged" + (string-append (assoc-ref outputs "out") + "/bin")) + #t)) + (add-before 'install 'patch-git + (lambda* (#:key inputs #:allow-other-keys) + (let ((git (string-append (assoc-ref inputs "git") + "/bin/git"))) + (substitute* "bin/git-when-merged" + (("'git'") (string-append "'" git "'"))) + #t))) + (add-after 'install 'wrap-script + (lambda* (#:key outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/git-when-merged") + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))) + #t))))) + (inputs + `(("git" ,git) + ("python" ,python-wrapper))) + (home-page "https://github.com/mhagger/git-when-merged") + (synopsis "Determine when a commit was merged into a Git branch") + (description "This Git extension defines a subcommand, +@code{when-merged}, whose core operation is to find the merge that brought a +given commit into the specified ref(s). It has various options that control +how information about the merge is displayed.") + (license license:gpl2+)))) + +(define-public git-imerge + (package + (name "git-imerge") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/mhagger/git-imerge/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a6ay8fpgz3yd84jc40w41x0rcfpan6bcq4wd1hxiiqwb51jysb2")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; The are only manual test scripts. + #:make-flags (list (string-append "DESTDIR=" %output) + "PREFIX=") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'install 'patch-git + (lambda* (#:key inputs #:allow-other-keys) + (let ((git (string-append (assoc-ref inputs "git") + "/bin/git"))) + (substitute* "git-imerge" + (("'git'") (string-append "'" git "'"))) + #t))) + (add-after 'install 'wrap-script + (lambda* (#:key outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/git-imerge") + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))) + #t))))) + (inputs + `(("git" ,git) + ("python" ,python-wrapper))) + (home-page "https://github.com/mhagger/git-imerge") + (synopsis "Incremental merge for Git") + (description "This Git extension defines a subcommand, @code{imerge}, +which performs an incremental merge between two branches. Its two primary +design goals are to reduce the pain of resolving merge conflicts by finding +the smallest possible conflicts and to allow a merge to be saved, tested, +interrupted, published, and collaborated on while in progress.") + (license license:gpl2+))) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index a6930abfda..fc6caf3ff8 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5,14 +5,14 @@ ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2015 Andy Patterson -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2018 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2018 Alex Vong ;;; Copyright © 2016, 2017 Alex Griffin ;;; Copyright © 2016 Kei Kebreau ;;; Copyright © 2016 Dmitry Nikolaev ;;; Copyright © 2016 Andy Patterson ;;; Copyright © 2016, 2017 Nils Gillmann -;;; Copyright © 2016 Eric Bavier +;;; Copyright © 2016, 2018 Eric Bavier ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2017 Feng Shu ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice @@ -67,6 +67,7 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages assembly) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) @@ -96,6 +97,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages guile) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnunet) #:use-module (gnu packages gnupg) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) @@ -110,6 +112,7 @@ #:use-module (gnu packages man) #:use-module (gnu packages mp3) #:use-module (gnu packages ncurses) + #:use-module (gnu packages networking) #:use-module (gnu packages ocr) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -126,6 +129,7 @@ #:use-module (gnu packages serialization) #:use-module (gnu packages shells) #:use-module (gnu packages ssh) + #:use-module (gnu packages swig) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages tls) @@ -139,8 +143,7 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages xiph) #:use-module (gnu packages xml) - #:use-module (gnu packages xorg) - #:use-module (gnu packages assembly)) + #:use-module (gnu packages xorg)) (define-public aalib (package @@ -393,6 +396,7 @@ and creating Matroska files from other media files (@code{mkvmerge}).") (package (name "x265") (version "2.9") + (outputs '("out" "static")) (source (origin (method url-fetch) @@ -401,7 +405,8 @@ and creating Matroska files from other media files (@code{mkvmerge}).") (sha256 (base32 "090hp4216isis8q5gb7bwzia8rfyzni54z21jnwm97x3hiy6ibpb")) - (patches (search-patches "x265-detect512-all-arches.patch")) + (patches (search-patches "x265-arm-flags.patch" + "x265-detect512-all-arches.patch")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "source/compat/getopt") @@ -409,14 +414,76 @@ and creating Matroska files from other media files (@code{mkvmerge}).") (build-system cmake-build-system) (arguments `(#:tests? #f ; tests are skipped if cpu-optimized code isn't built - ;; Ensure position independent code for everyone. - #:configure-flags '("-DENABLE_PIC=TRUE") + #:configure-flags + ;; Ensure position independent code for everyone. + (list "-DENABLE_PIC=TRUE" + ,@(if (string-prefix? "armhf" (or (%current-system) + (%current-target-system))) + '("-DENABLE_ASSEMBLY=OFF") + '()) + (string-append "-DCMAKE_INSTALL_PREFIX=" + (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases - (add-before 'configure 'prepare-build + (add-after 'unpack 'prepare-build (lambda _ (delete-file-recursively "build") (chdir "source") + ;; recognize armv8 in 32-bit mode as ARM + (substitute* "CMakeLists.txt" + (("armv6l") "armv8l")) + #t)) + (add-before 'configure 'build-12-bit + (lambda* (#:key (configure-flags '()) #:allow-other-keys) + (mkdir "../build-12bit") + (with-directory-excursion "../build-12bit" + (apply invoke + "cmake" "../source" + "-DHIGH_BIT_DEPTH=ON" + "-DEXPORT_C_API=OFF" + "-DENABLE_CLI=OFF" + "-DMAIN12=ON" + configure-flags) + (substitute* (cons "cmake_install.cmake" + (append + (find-files "CMakeFiles/x265-shared.dir" ".") + (find-files "CMakeFiles/x265-static.dir" "."))) + (("libx265") "libx265_main12")) + (invoke "make")))) + (add-before 'configure 'build-10-bit + (lambda* (#:key (configure-flags '()) #:allow-other-keys) + (mkdir "../build-10bit") + (with-directory-excursion "../build-10bit" + (apply invoke + "cmake" "../source" + "-DHIGH_BIT_DEPTH=ON" + "-DEXPORT_C_API=OFF" + "-DENABLE_CLI=OFF" + configure-flags) + (substitute* (cons "cmake_install.cmake" + (append + (find-files "CMakeFiles/x265-shared.dir" ".") + (find-files "CMakeFiles/x265-static.dir" "."))) + (("libx265") "libx265_main10")) + (invoke "make")))) + (add-after 'install 'install-more-libs + (lambda _ + (with-directory-excursion "../build-12bit" + (invoke "make" "install")) + (with-directory-excursion "../build-10bit" + (invoke "make" "install")))) + (add-before 'strip 'move-static-libs + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (static (assoc-ref outputs "static"))) + (mkdir-p (string-append static "/lib")) + (with-directory-excursion + (string-append out "/lib") + (for-each + (lambda (file) + (rename-file file + (string-append static "/lib/" file))) + (find-files "." "\\.a$")))) #t))))) (home-page "http://x265.org/") (synopsis "Library for encoding h.265/HEVC video streams") @@ -613,14 +680,14 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") (define-public ffmpeg (package (name "ffmpeg") - (version "4.0.2") + (version "4.1") (source (origin (method url-fetch) (uri (string-append "https://ffmpeg.org/releases/ffmpeg-" version ".tar.xz")) (sha256 (base32 - "15rgzcmdccy4flajs63gkz4n3k24wkkg50r13l1r83lrxg4hqp59")))) + "150rrm549fy1x71c9whmyi5knyd9sliwvmcsm438bdgg4v8c93m3")))) (build-system gnu-build-system) (inputs `(("fontconfig" ,fontconfig) @@ -789,14 +856,14 @@ audio/video codec library.") (define-public ffmpeg-3.4 (package (inherit ffmpeg) - (version "3.4.4") + (version "3.4.5") (source (origin (method url-fetch) (uri (string-append "https://ffmpeg.org/releases/ffmpeg-" version ".tar.xz")) (sha256 (base32 - "1iizgnhjbhar9y1ykqlj1czqanlv24knkfq5vvfnppv5x00pcvrq")))))) + "0b59qk5wpc5ksiha76jbhb859g5gxa4w0k6afh3kgvgajiivs73l")))))) (define-public ffmpeg-2.8 (package @@ -823,12 +890,14 @@ audio/video codec library.") (name "ffmpegthumbnailer") (version "2.2.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dirkvdb/" - name "/archive/" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dirkvdb/ffmpegthumbnailer.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "13qs4iwd4l3iiim30s5051n80z0vgsnikym8vsn321cnm9algiwb")))) + "0kl8aa547icy9b05njps02a8sw4yn4f8fzs228kig247sn09s4cp")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -1120,14 +1189,14 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") (name "mpv") (version "0.29.1") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/mpv-player/mpv/archive/v" version - ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mpv-player/mpv.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "08x63hlpj6s8xixmdbx6raff5p5mih7cnk0bcql9f3wrs5hx9ygr")) - (file-name (string-append name "-" version ".tar.gz")))) + "138921kx8g6qprim558xin09xximjhsj9ss8b71ifg2m6kclym8m")))) (build-system waf-build-system) (native-inputs `(("perl" ,perl) ; for zsh completion file @@ -1179,7 +1248,8 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") (add-before 'configure 'setup-waf (lambda* (#:key inputs #:allow-other-keys) - (copy-file (assoc-ref inputs "waf") "waf") + (let ((waf (assoc-ref inputs "waf"))) + (copy-file (string-append waf "/bin/waf") "waf")) (setenv "CC" "gcc") #t))) #:configure-flags (list "--enable-libmpv-shared" @@ -1268,7 +1338,7 @@ access to mpv's powerful playback capabilities.") (define-public youtube-dl (package (name "youtube-dl") - (version "2018.10.05") + (version "2018.11.07") (source (origin (method url-fetch) (uri (string-append "https://yt-dl.org/downloads/" @@ -1276,7 +1346,7 @@ access to mpv's powerful playback capabilities.") version ".tar.gz")) (sha256 (base32 - "1iq02kwxdgh07bf0w0fvbsjbdshs4kja35gy8m70ji9cj10l1mbw")))) + "1rvc2m2kbm2kycqsa7fkcg5gql9f0w3hn1a7jg48zzl06ayggxk9")))) (build-system python-build-system) (arguments ;; The problem here is that the directory for the man page and completion @@ -1370,7 +1440,8 @@ YouTube.com and many more sites.") (("os\\.path\\.join\\('/usr', 'share'") (string-append "os.path.join('" (assoc-ref %outputs "out") - "', 'share'")))))))) + "', 'share'"))) + #t))))) (inputs `(("python2-wxpython" ,python2-wxpython) ("youtube-dl" ,youtube-dl))) @@ -1388,14 +1459,14 @@ other site that youtube-dl supports.") (name "you-get") (version "0.4.1077") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/soimort/you-get/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/soimort/you-get.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "04vxc91k627qgsqs8dhqajrb6vpj4pw21jlwbha28qakfiz2x11k")))) + "1rwkn3wb3r70b8cqj40qdknkg9kqbgzkvi901hbpy2a8s1b7858n")))) (build-system python-build-system) (inputs `(("ffmpeg" ,ffmpeg))) ; for multi-part and >=1080p videos @@ -1708,67 +1779,68 @@ for use with HTML5 video.") (add-before 'patch-source-shebangs 'unpack-ffmpeg (lambda _ (with-directory-excursion "avidemux_core/ffmpeg_package" - (system* "tar" "xf" "ffmpeg-2.7.6.tar.bz2") - (delete-file "ffmpeg-2.7.6.tar.bz2")))) + (invoke "tar" "xf" "ffmpeg-2.7.6.tar.bz2") + (delete-file "ffmpeg-2.7.6.tar.bz2")) + #t)) (add-after 'patch-source-shebangs 'repack-ffmpeg (lambda _ (with-directory-excursion "avidemux_core/ffmpeg_package" (substitute* "ffmpeg-2.7.6/configure" (("#! /bin/sh") (string-append "#!" (which "sh")))) - (system* "tar" "cjf" "ffmpeg-2.7.6.tar.bz2" "ffmpeg-2.7.6" - ;; avoid non-determinism in the archive - "--sort=name" "--mtime=@0" - "--owner=root:0" "--group=root:0") - (delete-file-recursively "ffmpeg-2.7.6")))) + (invoke "tar" "cjf" "ffmpeg-2.7.6.tar.bz2" "ffmpeg-2.7.6" + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0") + (delete-file-recursively "ffmpeg-2.7.6")) + #t)) (replace 'configure (lambda _ ;; Copy-paste settings from the cmake build system. (setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH")) - (setenv "CMAKE_INCLUDE_PATH" (getenv "C_INCLUDE_PATH")))) + (setenv "CMAKE_INCLUDE_PATH" (getenv "C_INCLUDE_PATH")) + #t)) (replace 'build (lambda* (#:key inputs outputs #:allow-other-keys) - (let* - ((out (assoc-ref outputs "out")) - (lib (string-append out "/lib")) - (top (getcwd)) - (sdl (assoc-ref inputs "sdl")) - (build_component - (lambda* (component srcdir #:optional (args '())) - (let ((builddir (string-append "build_" component))) - (mkdir builddir) - (with-directory-excursion builddir - (zero? - (and - (apply system* "cmake" - "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" - (string-append "-DCMAKE_INSTALL_PREFIX=" out) - (string-append "-DCMAKE_INSTALL_RPATH=" lib) - (string-append "-DCMAKE_SHARED_LINKER_FLAGS=" - "\"-Wl,-rpath=" lib "\"") - (string-append "-DAVIDEMUX_SOURCE_DIR=" top) - (string-append "-DSDL_INCLUDE_DIR=" - sdl "/include/SDL") - (string-append "../" srcdir) - "-DENABLE_QT5=True" - args) - (system* "make" "-j" + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib")) + (top (getcwd)) + (sdl (assoc-ref inputs "sdl")) + (build_component + (lambda* (component srcdir #:optional (args '())) + (let ((builddir (string-append "build_" component))) + (mkdir builddir) + (with-directory-excursion builddir + (apply invoke "cmake" + "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" + (string-append "-DCMAKE_INSTALL_PREFIX=" out) + (string-append "-DCMAKE_INSTALL_RPATH=" lib) + (string-append "-DCMAKE_SHARED_LINKER_FLAGS=" + "\"-Wl,-rpath=" lib "\"") + (string-append "-DAVIDEMUX_SOURCE_DIR=" top) + (string-append "-DSDL_INCLUDE_DIR=" + sdl "/include/SDL") + (string-append "../" srcdir) + "-DENABLE_QT5=True" + args) + (invoke "make" "-j" (number->string (parallel-job-count))) - (system* "make" "install")))))))) + (invoke "make" "install")))))) (mkdir out) - (and (build_component "core" "avidemux_core") - (build_component "cli" "avidemux/cli") - (build_component "qt4" "avidemux/qt4") - (build_component "plugins_common" "avidemux_plugins" - '("-DPLUGIN_UI=COMMON")) - (build_component "plugins_cli" "avidemux_plugins" - '("-DPLUGIN_UI=CLI")) - (build_component "plugins_qt4" "avidemux_plugins" - '("-DPLUGIN_UI=QT4")) - (build_component "plugins_settings" "avidemux_plugins" - '("-DPLUGIN_UI=SETTINGS"))) + (build_component "core" "avidemux_core") + (build_component "cli" "avidemux/cli") + (build_component "qt4" "avidemux/qt4") + (build_component "plugins_common" "avidemux_plugins" + '("-DPLUGIN_UI=COMMON")) + (build_component "plugins_cli" "avidemux_plugins" + '("-DPLUGIN_UI=CLI")) + (build_component "plugins_qt4" "avidemux_plugins" + '("-DPLUGIN_UI=QT4")) + (build_component "plugins_settings" "avidemux_plugins" + '("-DPLUGIN_UI=SETTINGS")) ;; Remove .exe and .dll file. (delete-file-recursively - (string-append out "/share/ADM6_addons"))))) + (string-append out "/share/ADM6_addons")) + #t))) (delete 'install)))) (home-page "http://fixounet.free.fr/avidemux/") (synopsis "Video editor") @@ -1786,14 +1858,14 @@ capabilities.") (name "vapoursynth") (version "37") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/vapoursynth/vapoursynth/archive/R" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/vapoursynth/vapoursynth.git") + (commit (string-append "R" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1g3hc079jw4mz1cmkv2y28pdb556wqc8ql7iravgh1rg8j3f1zi5")))) + "1ma2s7dxk6y6l04qj1jvgwia4xj7999ny3a1yx2vbk5l83giam2p")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -1848,7 +1920,8 @@ format changes.") (lambda _ (chdir "build/generic") (substitute* "configure" - (("#! /bin/sh") (string-append "#!" (which "sh"))))))) + (("#! /bin/sh") (string-append "#!" (which "sh")))) + #t))) ;; No 'check' target. #:tests? #f)) (home-page "https://www.xvid.com/") @@ -1921,7 +1994,8 @@ from sites like Twitch.tv and pipes them into a video player of choice.") (lambda* (#:key outputs #:allow-other-keys) (install-file "plugins/rofi-twitchy" (string-append (assoc-ref outputs "out") - "/bin"))))))) + "/bin")) + #t))))) (inputs `(("python-requests" ,python-requests) ("streamlink" ,streamlink))) @@ -1936,13 +2010,14 @@ from sites like Twitch.tv and pipes them into a video player of choice.") (name "mlt") (version "6.10.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mltframework/mlt/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mltframework/mlt.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1zzdj1g3g24q6v8hd0v34lv0pkh37a13fhjpl44h1ffi00mz3577")) + "0ki86yslr5ywa6sz8pjrgd9a4rn2rr4mss2zkmqi7pq8prgsm1fr")) (modules '((guix build utils))) (snippet '(begin ;; As of glibc 2.26, no longer is. @@ -2035,13 +2110,14 @@ be used for realtime video capture via Linux-specific APIs.") (name "obs") (version "20.1.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/jp9000/obs-studio" - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/jp9000/obs-studio.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1g5z6z050v25whc7n3xvg6l238wmg5crp7ihvk73qngvzxr8bg28")))) + "0qdpa2xxiiw53ksvlrf80jm8gz6kxsn56sffv2v2ijxvy7kw5zcg")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; no tests @@ -2197,13 +2273,14 @@ making @dfn{screencasts}.") (version "0.3.11") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/MaartenBaert/ssr/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MaartenBaert/ssr.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0l6irdadqpajvv0dj3ngs1231n559l0y1pykhs2h7526qm4w7xal")))) + "0n702dnv4qshgn3b90ixvplfafjhgz6040yir5vy8khjdpciysq4")))) (build-system cmake-build-system) ;; Although libx11, libxfixes, libxext are listed as build dependencies in ;; README.md, the program builds and functions properly without them. @@ -2321,13 +2398,14 @@ Content System specification.") (version "0.2.8") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mps-youtube/mps-youtube/" - "archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mps-youtube/mps-youtube.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0x7cmfh199q9j396v7bz81nnvanfllhsg86489i5dw2p3yyc9wnm")))) + "1w1jhw9rg3dx7vp97cwrk5fymipkcy2wrbl1jaa38ivcjhqg596y")))) (build-system python-build-system) (arguments ;; Tests need to be disabled until #556 upstream is fixed. It reads as if the @@ -2352,22 +2430,27 @@ supported players in addition to this package.") (define-public handbrake (package (name "handbrake") - (version "0.10.5") + (version "1.1.2") (source (origin (method url-fetch) - (uri (string-append "https://handbrake.fr/rotation.php?file=" - "HandBrake-" version ".tar.bz2")) - (file-name (string-append "handbrake-" version ".tar.bz2")) + (uri (string-append "https://download.handbrake.fr/releases/" + version "/HandBrake-" version "-source.tar.bz2")) (sha256 (base32 - "1w720y3bplkz187wgvy4a4xm0vpppg45mlni55l6yi8v2bfk14pv")) - (patches (search-patches "handbrake-pkg-config-path.patch")) + "0bny0hwlr55g2c69rsamv0xvwmfh1s4a582b9vq20xv5ly84m6ms")) (modules '((guix build utils))) (snippet - ;; Remove bundled libraries and source not necessary for - ;; running under a GNU environment. + ;; Remove "contrib" and source not necessary for + ;; building/running under a GNU environment. '(begin - (for-each delete-file-recursively '("contrib" "macosx" "win")) + (for-each delete-file-recursively + '("contrib" "macosx" "win")) + (substitute* "make/include/main.defs" + ;; Disable unconditional inclusion of "contrib" libraries + ;; (ffmpeg, libvpx, libdvdread, libdvdnav, and libbluray), + ;; which would lead to fetching and building of these + ;; libraries. Use our own instead. + (("MODULES \\+= contrib") "# MODULES += contrib")) #t)))) (build-system glib-or-gtk-build-system) (native-inputs @@ -2381,13 +2464,14 @@ supported players in addition to this package.") (inputs `(("bzip2" ,bzip2) ("dbus-glib" ,dbus-glib) - ("ffmpeg" ,ffmpeg-3.4) ;compilation errors with ffmpeg-4 + ("ffmpeg" ,ffmpeg) ("fontconfig" ,fontconfig) ("freetype" ,freetype) ("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base) ("gtk+" ,gtk+) + ("jansson" ,jansson) ("lame" ,lame) ("libass" ,libass) ("libbluray" ,libbluray) @@ -2397,6 +2481,7 @@ supported players in addition to this package.") ("libmpeg2" ,libmpeg2) ("libnotify" ,libnotify) ("libogg" ,libogg) + ("libopus" ,opus) ("libsamplerate" ,libsamplerate) ("libtheora" ,libtheora) ("libvorbis" ,libvorbis) @@ -2407,6 +2492,11 @@ supported players in addition to this package.") ("zlib" ,zlib))) (arguments `(#:tests? #f ;tests require Ruby and claim to be unsupported + #:configure-flags + (list (string-append "CPPFLAGS=-I" + (assoc-ref %build-inputs "libxml2") + "/include/libxml2") + "LDFLAGS=-lx265") #:phases (modify-phases %standard-phases (replace 'bootstrap @@ -2418,21 +2508,6 @@ supported players in addition to this package.") (substitute* "gtk/module.rules" ((".*autogen\\.sh.*") "")) (invoke "sh" "./gtk/autogen.sh"))) - (add-before 'configure 'disable-contrib - (lambda _ - (substitute* "make/include/main.defs" - ;; Disable unconditional inclusion of some "contrib" - ;; libraries (ffmpeg, libvpx, libdvdread, libdvdnav, - ;; and libbluray), which would lead to fetching and - ;; building of these libraries. Use our own instead. - (("MODULES \\+= contrib") "# MODULES += contrib")) - #t)) - (add-before 'configure 'fix-x265-linking - (lambda _ - (substitute* "test/module.defs" - ;; Fix missing library during linking error - (("TEST.GCC.l =") "TEST.GCC.l = x265")) - #t)) (replace 'configure (lambda* (#:key outputs configure-flags #:allow-other-keys) ;; 'configure' is not an autoconf-generated script, and @@ -2449,8 +2524,9 @@ supported players in addition to this package.") (description "HandBrake is a tool for converting video from any format to a selection of modern, widely supported codecs.") - ;; Most under GPL version 2 or later, and portions under BSD 3 Clause - (license (list license:gpl2+ license:bsd-3)))) + ;; Some under GPLv2+, some under LGPLv2.1+, and portions under BSD3. + ;; Combination under GPLv2. See LICENSE. + (license license:gpl2))) (define-public openh264 (package @@ -2645,7 +2721,7 @@ many codecs and formats supported by libmediainfo.") (define-public livemedia-utils (package (name "livemedia-utils") - (version "2017.10.28") + (version "2018.10.17") (source (origin (method url-fetch) (uri (string-append @@ -2653,7 +2729,7 @@ many codecs and formats supported by libmediainfo.") version ".tar.gz")) (sha256 (base32 - "0f5kxpayqn3yhabqrd2cqlc74i6x2xr01jfkank1lcilxnfyrsnq")) + "1s69ipvdc6ldscp0cr1zpsll8xc3qcagr95nl84x7b1rbg4xjs3w")) (modules '((guix build utils))) (snippet '(begin ;; As of glibc 2.26, no longer is. @@ -2715,12 +2791,14 @@ and ITU-T H.222.0.") (version "2.23") (home-page "https://github.com/FFMS/ffms2") (source (origin - (method url-fetch) - (uri (string-append home-page "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/FFMS/ffms2.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1vbkab8vrplxz5xgag8ggzkwp4f7nf285pd0l2a7zy66n6i2m6xh")))) + "0dkz5b3gxq5p4xz0qqg6l2sigszrlsinz3skyf0ln4wf3zrvf8m5")))) (build-system gnu-build-system) (arguments '(#:configure-flags @@ -2751,7 +2829,8 @@ programmers to access a standard API to open and decompress media files.") (sha256 (base32 "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5")) - (patches (search-patches "aegisub-icu59-include-unistr.patch")))) + (patches (search-patches "aegisub-icu59-include-unistr.patch" + "aegisub-boost68.patch")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -2803,13 +2882,14 @@ tools for styling them, including a built-in real-time video preview.") (version "1.12.2") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/pitivi/gst-transcoder/" - "archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pitivi/gst-transcoder.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0cnwmrsd321s02ff91m3j27ydj7f8wks0jvmp5admlhka6z7zxm9")))) + "0nw1zykqc6c8xs3ri55pm00pwyz93z4y4nd880apfiwj7yv5p3az")))) (build-system meson-build-system) (inputs `(("gobject-introspection" ,gobject-introspection) @@ -2911,25 +2991,27 @@ It counts more than 100 plugins.") (define-public motion (package (name "motion") - (version "4.1.1") + (version "4.2") (home-page "https://motion-project.github.io/") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/Motion-Project/motion/archive/" - "release-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Motion-Project/motion.git") + (commit (string-append "release-" version)))) (sha256 (base32 - "1qm4i8zrqafl60sv2frhixvkd0wh0r5jfcrj5i6gha7yplsvjx10")) - (file-name (string-append name "-" version ".tar.gz")))) + "0c0q6dl4v561m5y8bp0c0h4p3s52fjgcdnsrrf5ygdi288d3rfxv")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf-wrapper) ("automake" ,automake) + ("gettext" ,gettext-minimal) ("pkg-config" ,pkg-config))) (inputs `(("libjpeg" ,libjpeg) ("ffmpeg" ,ffmpeg-3.4) + ("libmicrohttpd" ,libmicrohttpd) ("sqlite" ,sqlite))) (arguments '(#:phases (modify-phases %standard-phases @@ -2993,14 +3075,14 @@ save it to the appropriate filename.") (name "l-smash") (version "2.14.5") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/" name "/" name "/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/l-smash/l-smash.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0dary0h65kq6sv93iabv25djlvzr5ckdcp3ywagbix44wqfw7xz6")))) + "0rcq9727im6kd8da8b7kzzbzxdldvmh5nsljj9pvr4m3lj484b02")))) (build-system gnu-build-system) (arguments `(#:tests? #f ;no tests @@ -3055,12 +3137,14 @@ online.") (name "vidstab") (version "1.1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/georgmartius/vid.stab/" - "archive/v" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/georgmartius/vid.stab.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1fy03n343djfdi19msac81833v5iivpv635yjzrx9nkfwm9s1lhl")))) + "0a3frpm2kdbx7vszhg64p3alisag73bcspl7fp3a2f1kgq7rbh38")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; tests are not run as part of standard build process @@ -3073,3 +3157,110 @@ as surfing, skiing, riding and walking while shooting videos are especially prone to erratic camera shakes. Vidstab targets these video contents to help create smoother and stable videos.") (license license:gpl2+))) + +(define-public libopenshot + (package + (name "libopenshot") + (version "0.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenShot/libopenshot") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1x4kv05pdq1pglb6y056aa7llc6iyibyhzg93k7zwj0q08cp5ixd")) + (modules '((guix build utils))) + (snippet '(begin + ;; Allow overriding of the python installation dir + (substitute* "src/bindings/python/CMakeLists.txt" + (("(SET\\(PYTHON_MODULE_PATH.*)\\)" _ set) + (string-append set " CACHE PATH " + "\"Python bindings directory\")"))) + #t)) + (patches (search-patches "libopenshot-tests-with-system-libs.patch")))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("python" ,python) + ("swig" ,swig) + ("unittest++" ,unittest-cpp))) + (propagated-inputs ;all referenced in installed headers + `(("cppzmq" ,cppzmq) + ("ffmpeg" ,ffmpeg) + ("imagemagick" ,imagemagick) + ("jsoncpp" ,jsoncpp) + ("libopenshot-audio" ,libopenshot-audio) + ("qt" ,qt) ;widgets, core, gui, multimedia, and multimediawidgets + ("zeromq" ,zeromq))) + (arguments + `(#:configure-flags + (list (string-append "-DPYTHON_MODULE_PATH:PATH=" %output "/lib/python" + ,(version-major+minor (package-version python)) + "/site-packages") + "-DUSE_SYSTEM_JSONCPP:BOOL=ON") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'set-vars + (lambda* (#:key inputs #:allow-other-keys) + (setenv "LIBOPENSHOT_AUDIO_DIR" + (assoc-ref inputs "libopenshot-audio")) + (setenv "ZMQDIR" + (assoc-ref inputs "zeromq")) + (setenv "UNITTEST_DIR" + (string-append (assoc-ref inputs "unittest++") + "/include/UnitTest++")) + #t))))) + (home-page "https://openshot.org") + (synopsis "Video-editing, animation, and playback library") + (description "OpenShot Library (libopenshot) is a powerful C++ video +editing library with a multi-threaded and feature rich video editing +API. It includes bindings for Python, Ruby, and other languages.") + (license license:lgpl3+))) + +(define-public openshot + (package + (name "openshot") + (version "2.4.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenShot/openshot-qt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qdw1mli4y9qhrnllnkaf6ydgw5vfvdb90chs4i679k0x0jyb9a2")))) + (build-system python-build-system) + (inputs + `(("ffmpeg" ,ffmpeg) + ("libopenshot" ,libopenshot) + ("python" ,python) + ("python-pyqt" ,python-pyqt) + ("python-pyzmq" ,python-pyzmq) + ("python-requests" ,python-requests) + ("qtsvg" ,qtsvg))) + (arguments + `(#:tests? #f ;no tests + #:phases (modify-phases %standard-phases + (delete 'build) ;install phase does all the work + (add-before 'install 'set-tmp-home + (lambda _ + ;; src/classes/info.py "needs" to create several + ;; directories in $HOME when loaded during build + (setenv "HOME" "/tmp") + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/openshot-qt") + `("QT_PLUGIN_PATH" prefix + ,(list (string-append (assoc-ref inputs "qtsvg") + "/lib/qt5/plugins/"))))))))) + (home-page "https://openshot.org") + (synopsis "Video editor") + (description "OpenShot takes your videos, photos, and music files and +helps you create the film you have always dreamed of. Easily add sub-titles, +transitions, and effects and then export your film to many common formats.") + (license license:gpl3+))) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index c6906b12cf..ecce4e0ae6 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -61,7 +61,7 @@ (define-public vim (package (name "vim") - (version "8.1.0026") + (version "8.1.0551") (source (origin (method url-fetch) (uri (string-append "https://github.com/vim/vim/archive/v" @@ -69,7 +69,7 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "14q99dn113czp522j34p71za6g1mkriy04xxwcbm3axnrrpv1y52")))) + "1wi6j9w04wg3hxsch3izl2mxb0065vpvxscz19zjn5ypkfypnm8n")))) (build-system gnu-build-system) (arguments `(#:test-target "test" @@ -85,12 +85,18 @@ "src/testdir/test_terminal.vim") (("/bin/sh") (which "sh"))) #t)) - (add-before 'check 'patch-failing-test + (add-before 'check 'patch-failing-tests (lambda _ ;; XXX A single test fails with “Can't create file /dev/stdout” (at ;; Test_writefile_sync_dev_stdout line 5) while /dev/stdout exists. (substitute* "src/testdir/test_writefile.vim" (("/dev/stdout") "a-regular-file")) + + ;; XXX: This test fails when run in the build container: + ;; . + (substitute* "src/testdir/test_search.vim" + ((".*'Test_incsearch_substitute_03'.*" all) + (string-append "\"" all "\n"))) #t))))) (inputs `(("gawk" ,gawk) @@ -453,7 +459,7 @@ trouble using them, because you do not have to remember each snippet name.") (define-public vim-fugitive (package (name "vim-fugitive") - (version "2.3") + (version "2.5") (source (origin (method git-fetch) @@ -463,7 +469,7 @@ trouble using them, because you do not have to remember each snippet name.") (file-name (git-file-name name version)) (sha256 (base32 - "17s94a8g5z0lrs7yy4nyqyvp9ykys5ws2ar3m3c0bjsn0iazd7m3")))) + "17yz7gxn7a49jzndr4z5vnk1y4a6c22qss3mwxzmq4m46fni0k8q")))) (build-system gnu-build-system) (arguments '(#:tests? #f @@ -475,9 +481,13 @@ trouble using them, because you do not have to remember each snippet name.") (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (vimfiles (string-append out "/share/vim/vimfiles")) + (autoload (string-append vimfiles "/autoload")) (doc (string-append vimfiles "/doc")) + (ftdetect (string-append vimfiles "/ftdetect")) (plugin (string-append vimfiles "/plugin"))) + (copy-recursively "autoload" autoload) (copy-recursively "doc" doc) + (copy-recursively "ftdetect" ftdetect) (copy-recursively "plugin" plugin) #t)))))) (home-page "https://github.com/tpope/vim-fugitive") @@ -646,7 +656,7 @@ are detected, the user is notified."))) (define-public neovim (package (name "neovim") - (version "0.2.0") + (version "0.3.1") (source (origin (method url-fetch) @@ -655,12 +665,13 @@ are detected, the user is notified."))) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1db27zm6cldm1aw0570vii1bxc16a34x8lissl1h9rizsbwn7qkj")))) + "08mdffcw4k503bccm1plq8r7hjx4w61w5jyfdj80fr079hnkjpmw")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) + #:configure-flags '("-DPREFER_LUA:BOOL=YES") #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -718,7 +729,7 @@ refactor Vim in order to: (define-public vifm (package (name "vifm") - (version "0.9.1") + (version "0.10") (source (origin (method url-fetch) @@ -729,7 +740,7 @@ refactor Vim in order to: "vifm-" version ".tar.bz2"))) (sha256 (base32 - "1cz7vjjmghgdxd1lvsdwv85gvx4kz8idq14qijpwkpfrf2va9f98")))) + "1f380xcyjnm4xmcdazs6dj064bwddhywvn3mgm36k7r7b2gnjnp0")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--disable-build-timestamp") diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index e3b9925059..0502bb38c4 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Danny Milosavljevic ;;; Copyright © 2018 Sou Bunnbu +;;; Copyright © 2018 Julien Lepiller ;;; ;;; This file is part of GNU Guix. ;;; @@ -99,6 +100,8 @@ (method url-fetch) (uri (string-append "https://download.qemu.org/qemu-" version ".tar.xz")) + (patches (search-patches "qemu-CVE-2018-16847.patch" + "qemu-CVE-2018-16867.patch")) (sha256 (base32 "04sp3f1gp4bdb913jf7fw761njaqp2l32wgipp1sapmxx17zcyld")))) @@ -998,3 +1001,58 @@ the image. @code{vagrant} command line executable, allowing programmatic control of Vagrant virtual machines.") (license license:expat))) + +(define-public bubblewrap + (package + (name "bubblewrap") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/projectatomic/bubblewrap/" + "releases/download/v" version "/bubblewrap-" + version ".tar.xz")) + (sha256 + (base32 + "1y2bdlxnlr84xcbf31lzirc292c5ak9bd2wvcvh4ppsliih6pjny")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-test + (lambda* (#:key outputs #:allow-other-keys) + ;; Tests try to access /var/tmp, which is not possible in our build + ;; environment. Let's give them another directory. + ;; /tmp gets overriden in some tests, so we need another directory. + ;; the only possibility is the output directory. + (let ((tmp-dir (string-append (assoc-ref outputs "out") "/tmp"))) + (mkdir-p tmp-dir) + (substitute* "tests/test-run.sh" + (("/var/tmp") tmp-dir) + ;; Tests create a temporary python script, so fix its shebang. + (("/usr/bin/env python") (which "python")) + ;; Some tests try to access /usr, but that doesn't exist. + ;; Give them /gnu instead. + (("/usr") "/gnu") + ((" */bin/bash") (which "bash")) + (("/bin/sh") (which "sh")) + (("findmnt") (which "findmnt")))) + #t)) + ;; Remove the directory we gave to tests to have a clean package. + (add-after 'check 'remove-tmp-dir + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") "/tmp")) + #t))))) + (inputs + `(("libcap" ,libcap))) + (native-inputs + `(("python-2" ,python-2) + ("util-linux" ,util-linux))) + (home-page "https://github.com/projectatomic/bubblewrap") + (synopsis "Unprivileged sandboxing tool") + (description "Bubblewrap is aimed at running applications in a sandbox, +where it has restricted access to parts of the operating system or user data +such as the home directory. Bubblewrap always creates a new mount namespace, +and the user can specify exactly what parts of the filesystem should be visible +in the sandbox. Any such directories specified is mounted nodev by default, +and can be made readonly.") + (license license:lgpl2.0+))) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 9b1f26aa7d..1edd1ac56a 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -48,27 +48,17 @@ (define-public gvpe (package (name "gvpe") - (version "3.0") + (version "3.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gvpe/gvpe-" version ".tar.gz")) (sha256 (base32 - "1v61mj25iyd91z0ir7cmradkkcm1ffbk52c96v293ibsvjs2s2hf")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Remove the outdated bundled copy of glibc's getopt, which - ;; provides a 'getopt' declaration that conflicts with that - ;; of glibc 2.26. - (substitute* "lib/Makefile.in" - (("getopt1?\\.(c|h|\\$\\(OBJEXT\\))") "")) - (for-each delete-file - '("lib/getopt.h" "lib/getopt.c")) - #t)))) + "1cz8n75ksl0l908zc5l3rnfm1hv7130s2w8710799fr5sxrdbszi")))) (build-system gnu-build-system) (home-page "http://software.schmorp.de/pkg/gvpe.html") + (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("openssl" ,openssl) ("zlib" ,zlib))) (synopsis "Secure VPN among multiple nodes over an untrusted network") @@ -312,14 +302,14 @@ traversing network address translators (@dfn{NAT}s) and firewalls.") (define-public tinc (package (name "tinc") - (version "1.0.33") + (version "1.0.35") (source (origin (method url-fetch) - (uri (string-append "http://tinc-vpn.org/packages/" + (uri (string-append "https://tinc-vpn.org/packages/" name "-" version ".tar.gz")) (sha256 (base32 - "1x0hpfz13vn4pl6dcpnls6xq3rfcbdsg90awcfn53ijb8k35svvz")))) + "0pl92sdwrkiwgll78x0ww06hfljd07mkwm62g8x17qn3gha3pj0q")))) (build-system gnu-build-system) (arguments '(#:configure-flags @@ -328,7 +318,7 @@ traversing network address translators (@dfn{NAT}s) and firewalls.") (inputs `(("zlib" ,zlib) ("lzo" ,lzo) ("openssl" ,openssl))) - (home-page "http://tinc-vpn.org") + (home-page "https://tinc-vpn.org") (synopsis "Virtual Private Network (VPN) daemon") (description "Tinc is a VPN that uses tunnelling and encryption to create a secure diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm index 2c2767dbbc..6caa486b84 100644 --- a/gnu/packages/web-browsers.scm +++ b/gnu/packages/web-browsers.scm @@ -6,6 +6,8 @@ ;;; Copyright © 2017 Eric Bavier ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Rutger Helling +;;; Copyright © 2018 Timo Eisenmann +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +37,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages libevent) #:use-module (gnu packages libidn) + #:use-module (gnu packages lisp) #:use-module (gnu packages lua) #:use-module (gnu packages gnome) #:use-module (gnu packages ncurses) @@ -48,9 +51,11 @@ #:use-module (gnu packages webkit) #:use-module (gnu packages xorg) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) - #:use-module (guix build-system python)) + #:use-module (guix build-system python) + #:use-module (guix build-system asdf)) (define-public dillo (package @@ -320,3 +325,144 @@ access.") (description "qutebrowser is a keyboard-focused browser with a minimal GUI. It is based on PyQt5 and QtWebKit.") (license license:gpl3+))) + +(define-public vimb + (package + (name "vimb") + (version "3.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fanglingsu/vimb/") + (commit version))) + (sha256 + (base32 + "1qg18z2gnsli9qgrqfhqfrsi6g9mcgr90w8yab28nxrq4aha6brf")) + (file-name (git-file-name name version)))) + (build-system glib-or-gtk-build-system) + (arguments + '(#:tests? #f ; no tests + #:make-flags (list "CC=gcc" + "DESTDIR=" + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("glib-networking" ,glib-networking) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("webkitgtk" ,webkitgtk))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://fanglingsu.github.io/vimb/") + (synopsis "Fast and lightweight Vim-like web browser") + (description "Vimb is a fast and lightweight vim like web browser based on +the webkit web browser engine and the GTK toolkit. Vimb is modal like the great +vim editor and also easily configurable during runtime. Vimb is mostly keyboard +driven and does not detract you from your daily work.") + (license license:gpl3+))) + +(define-public next-gtk-webkit + (package + (name "next-gtk-webkit") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://source.atlas.engineer/public/next") + (commit version))) + (sha256 + (base32 + "00xi01r6gxlrv7xc2dhf4da30y0vng1snbdmc8d829qyn0chl55q")) + (file-name (git-file-name "next" version)))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list "gtk-webkit" + "CC=gcc" + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key (make-flags '()) #:allow-other-keys) + (apply invoke "make" "install-gtk-webkit" make-flags)))))) + (inputs + `(("glib-networking" ,glib-networking) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("webkitgtk" ,webkitgtk))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://next.atlas.engineer") + (synopsis "Infinitely extensible web-browser (user interface only)") + (description "Next is a keyboard-oriented, extensible web-browser +inspired by Emacs and designed for power users. The application has familiar +key-bindings, is fully configurable and extensible in Lisp, and has powerful +features for productive professionals.") + (license license:bsd-3))) + +(define-public sbcl-next + (package + (inherit next-gtk-webkit) + (name "sbcl-next") + (build-system asdf-build-system/sbcl) + (outputs '("out" "lib")) + (arguments + `(#:tests? #f ; no tests + #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-platform-port-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "source/ports/gtk-webkit.lisp" + (("\"next-gtk-webkit\"") + (string-append "\"" (assoc-ref inputs "next-gtk-webkit") + "/bin/next-gtk-webkit\""))))) + (add-before 'cleanup 'move-bundle + (lambda* (#:key outputs #:allow-other-keys) + (define lib (assoc-ref outputs "lib")) + (define actual-fasl (string-append + lib + "/lib/sbcl/next.fasl")) + (define expected-fasl (string-append + lib + "/lib/sbcl/next--system.fasl")) + (copy-file actual-fasl expected-fasl) + #t)) + (add-after 'create-symlinks 'build-program + (lambda* (#:key outputs #:allow-other-keys) + (build-program + (string-append (assoc-ref outputs "out") "/bin/next") + outputs + #:entry-program '((next:start-with-port) 0)))) + (add-before 'build 'install-assets + ;; Since the ASDF build system generates a new .asd with a + ;; possibly suffixed and thus illegal version number, assets + ;; should not be installed after the 'build phase or else + ;; the illegal version will result in NIL in the .desktop + ;; file. + (lambda* (#:key outputs #:allow-other-keys) + (with-output-to-file "version" + (lambda _ + (format #t "~a" ,(package-version next-gtk-webkit)))) + (invoke "make" "install-assets" + (string-append "PREFIX=" + (assoc-ref outputs "out")))))))) + (inputs + `(("next-gtk-webkit" ,next-gtk-webkit) + ;; Lisp libraries: + ("trivial-features" ,sbcl-trivial-features) + ("alexandria" ,sbcl-alexandria) + ("cl-strings" ,sbcl-cl-strings) + ("cl-string-match" ,sbcl-cl-string-match) + ("puri" ,sbcl-puri) + ("sqlite" ,sbcl-cl-sqlite) + ("parenscript" ,sbcl-parenscript) + ("cl-json" ,sbcl-cl-json) + ("swank" ,sbcl-slime-swank) + ("cl-markup" ,sbcl-cl-markup) + ("cl-css" ,sbcl-cl-css) + ("bordeaux-threads" ,sbcl-bordeaux-threads) + ("s-xml-rpc" ,sbcl-s-xml-rpc) + ("unix-opts" ,sbcl-unix-opts))) + (synopsis "Infinitely extensible web-browser (with Lisp development files)"))) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 4a8699c4c0..caf56e4119 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Clément Lassieur ;;; Copyright © 2016, 2017 Nils Gillmann -;;; Copyright © 2016, 2017 Arun Isaac +;;; Copyright © 2016, 2017, 2018 Arun Isaac ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2016 Bake Timmons ;;; Copyright © 2017 Thomas Danckaert @@ -28,6 +28,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2018 Mădălin Ionel Patrașcu +;;; Copyright © 2018 Alex Vong ;;; ;;; This file is part of GNU Guix. ;;; @@ -195,14 +196,14 @@ Interface} specification.") (name "nginx") ;; Consider updating the nginx-documentation package if the nginx package is ;; updated. - (version "1.14.0") + (version "1.14.2") (source (origin (method url-fetch) (uri (string-append "https://nginx.org/download/nginx-" version ".tar.gz")) (sha256 (base32 - "1d9c0avfpbwvzyg53b59ks8shpnrxnbnshcd7ziizflsyv5vw5ax")))) + "15wppq12qmq8acjs35xfj61czhf9cdc0drnl5mm8hcg3aihryb80")))) (build-system gnu-build-system) (inputs `(("openssl" ,openssl) ("pcre" ,pcre) @@ -582,6 +583,37 @@ It aims to conform to RFC 7159.") (("-Werror") "")) #t)))))) +(define-public json-parser + (package + (name "json-parser") + (version "1.1.0") + (source (origin + ;; do not use auto-generated tarballs + (method git-fetch) + (uri (git-reference + (url "https://github.com/udp/json-parser.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf")))) + ;; FIXME: we should build the python bindings in a separate package + (build-system gnu-build-system) + ;; the tests are written for the python bindings which are not built here + (arguments '(#:tests? #f)) + (home-page "https://github.com/udp/json-parser") + (synopsis "JSON parser written in ANSI C") + (description "This package provides a very low footprint JSON parser +written in portable ANSI C. + +@itemize +@item BSD licensed with no dependencies (i.e. just drop the C file into your +project) +@item Never recurses or allocates more memory than it needs +@item Very simple API with operator sugar for C++ +@end itemize") + (license l:bsd-2))) + (define-public qjson (package (name "qjson") @@ -1249,12 +1281,14 @@ minimum to provide high performance operation.") #:tests? #f #:phases (modify-phases %standard-phases + (delete 'bootstrap) (delete 'configure) (add-after 'unpack 'unpack-libsass-and-set-path (lambda* (#:key inputs #:allow-other-keys) (invoke "tar" "xvf" (assoc-ref inputs "libsass")) (setenv "SASS_LIBSASS_PATH" - (string-append (getcwd) "/libsass-" ,version))))))) + (string-append (getcwd) "/libsass-" ,version)) + #t))))) (inputs `(("libsass" ,libsass))) (synopsis "CSS pre-processor") @@ -3697,7 +3731,7 @@ library.") (define-public perl-www-mechanize (package (name "perl-www-mechanize") - (version "1.88") + (version "1.89") (source (origin (method url-fetch) @@ -3705,7 +3739,7 @@ library.") "WWW-Mechanize-" version ".tar.gz")) (sha256 (base32 - "0yd8a1zsfpbv5wr79x3iqmik9gvcd10iam9dfrdan4dri9vpxn9n")))) + "1mxx362vqiniw8vi6k3j7v9b1s7012irhfcblcz1p6jz9cjqi7mh")))) (build-system perl-build-system) (native-inputs ;only for tests `(("perl-cgi" ,perl-cgi) @@ -3874,13 +3908,13 @@ in systems and applications.") (define-public r-servr (package (name "r-servr") - (version "0.10") + (version "0.11") (source (origin (method url-fetch) (uri (cran-uri "servr" version)) (sha256 (base32 - "0yz3igqsiyqnjj1ngh199zicg3spx4kbmvl0wc8i8xahk6l9g06v")))) + "0yj3p1risf269n25dd56lqv82dsxv6a0aq4bcc1ddn9wv7h2xdfi")))) (build-system r-build-system) (propagated-inputs `(("r-httpuv" ,r-httpuv) @@ -3932,13 +3966,13 @@ directory.") (define-public r-htmlwidgets (package (name "r-htmlwidgets") - (version "1.2") + (version "1.3") (source (origin (method url-fetch) (uri (cran-uri "htmlwidgets" version)) (sha256 (base32 - "04c4d0mfcy3dkdlbxnaccpdgxvyxfdwfmmh5djim6v9hyg0j2z8s")))) + "04jsdh14l2zifbjpbbh23w7bxz1wpsas0zb2gy2zwv4yqamzzr7i")))) (build-system r-build-system) (propagated-inputs `(("r-htmltools" ,r-htmltools) @@ -4166,19 +4200,15 @@ It uses the uwsgi protocol for all the networking/interprocess communications.") (define-public jq (package (name "jq") - (version "1.5") + (version "1.6") (source (origin (method url-fetch) - (uri (string-append "https://github.com/stedolan/" name - "/releases/download/" name "-" version - "/" name "-" version ".tar.gz")) + (uri (string-append "https://github.com/stedolan/jq" + "/releases/download/jq-" version + "/jq-" version ".tar.gz")) (sha256 (base32 - "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4")) - ;; This patch has been pushed and the vulnerability will be - ;; fixed in the next release after 1.5. - ;; https://github.com/stedolan/jq/issues/995 - (patches (search-patches "jq-CVE-2015-8863.patch")))) + "1a76f46a652i2g333kfvrl6mp2w7whf6h1yly519izg4y967h9cn")))) (inputs `(("oniguruma" ,oniguruma))) (native-inputs @@ -5607,13 +5637,13 @@ responsive, and powerful applications with minimal effort.") (define-public r-shinydashboard (package (name "r-shinydashboard") - (version "0.7.0") + (version "0.7.1") (source (origin (method url-fetch) (uri (cran-uri "shinydashboard" version)) (sha256 (base32 - "10yqcqqcxgfqwkmscqwvvgr710im583qsqnsqkfpisjvkqp10yqb")))) + "0khac8b27q3swdw07kl609hm0fjfjsjv591b388q99mqqr2rk92i")))) (build-system r-build-system) ;; The directory inst/AdminLTE/ contains a minified JavaScript file. ;; Regenerate it from the included sources. @@ -5633,6 +5663,7 @@ responsive, and powerful applications with minimal effort.") (dump-port minified port)))))))))) (propagated-inputs `(("r-htmltools" ,r-htmltools) + ("r-promises" ,r-promises) ("r-shiny" ,r-shiny))) (native-inputs `(("uglify-js" ,uglify-js))) @@ -5645,6 +5676,35 @@ application framework for R, making it easy to create attractive dashboards.") ;; later. (license l:gpl2+))) +(define-public r-shinyfiles + (package + (name "r-shinyfiles") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "shinyFiles" version)) + (sha256 + (base32 + "0dlcjrw96x72grg6j915070x8x98l7629pn86gf148iknflm7gd5")))) + (properties `((upstream-name . "shinyFiles"))) + (build-system r-build-system) + (propagated-inputs + `(("r-fs" ,r-fs) + ("r-htmltools" ,r-htmltools) + ("r-jsonlite" ,r-jsonlite) + ("r-shiny" ,r-shiny) + ("r-tibble" ,r-tibble))) + (home-page "https://github.com/thomasp85/shinyFiles") + (synopsis "Server-side file system viewer for Shiny") + (description + "This package provides functionality for client-side navigation of the +server side file system in shiny apps. In case the app is running locally +this gives the user direct access to the file system without the need to +\"download\" files to a temporary location. Both file and folder selection as +well as file saving is available.") + (license l:gpl2+))) + (define-public r-crosstalk (package (name "r-crosstalk") @@ -5699,7 +5759,7 @@ named elements: the @code{status}, the @code{headers}, and the @code{body}.") (define-public rss-bridge (package (name "rss-bridge") - (version "2018-03-11") + (version "2018-11-10") (source (origin (method url-fetch) @@ -5708,7 +5768,7 @@ named elements: the @code{status}, the @code{headers}, and the @code{body}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ix15ck45yb659k63mhwxwia6qnm9nn8jw0bga85abrvk1rchjdn")))) + "1l9a82smh6k37bjvzbmkdlssxywlmr40ig4cykgsns1iiszwv4ia")))) (build-system trivial-build-system) (native-inputs `(("gzip" ,gzip) @@ -5745,6 +5805,7 @@ Instagram and YouTube.") (uri (git-reference (url "https://github.com/linkchecker/linkchecker") (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187")))) @@ -6735,14 +6796,14 @@ compressed JSON header blocks. (srfi srfi-26) (ice-9 popen) (ice-9 rdelim)) - #:phases (modify-phases %standard-phases - (add-before 'configure 'autoconf + (add-before 'configure 'set-variables (lambda _ + ;; This prevents a few warnings (setenv "GUILE_AUTO_COMPILE" "0") (setenv "XDG_CACHE_HOME" (getcwd)) - (invoke "autoreconf" "-vif"))) + #t)) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm index c5238a8a65..b56cdd8938 100644 --- a/gnu/packages/webkit.scm +++ b/gnu/packages/webkit.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages databases) + #:use-module (gnu packages docbook) #:use-module (gnu packages enchant) #:use-module (gnu packages flex) #:use-module (gnu packages gcc) @@ -66,11 +68,13 @@ (base32 "147r7an41920zl4x9srdva7fxvw2znjin5ldjkhay1cndv9gih0m")))) (build-system cmake-build-system) + (outputs '("out" "doc")) (arguments '(#:tests? #f ; no tests #:build-type "Release" ; turn off debugging symbols to save space #:configure-flags (list "-DPORT=GTK" + "-DENABLE_GTKDOC=ON" ; No doc by default (string-append ; uses lib64 by default "-DLIB_INSTALL_DIR=" (assoc-ref %outputs "out") "/lib") @@ -87,7 +91,26 @@ ;; XXX Disable WOFF2 ‘web fonts’. These were never ;; supported in our previous builds. Enabling them ;; requires building libwoff2 and possibly woff2dec. - "-DUSE_WOFF2=OFF"))) + "-DUSE_WOFF2=OFF") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-gtk-doc-scan + (lambda* (#:key inputs #:allow-other-keys) + (for-each (lambda (file) + (substitute* file + (("http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd") + (string-append (assoc-ref inputs "docbook-xml") + "/xml/dtd/docbook/docbookx.dtd")))) + (find-files "Source" "\\.sgml$")) + #t)) + (add-after 'install 'move-doc-files + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc"))) + (mkdir-p (string-append doc "/share")) + (rename-file (string-append out "/share/gtk-doc") + (string-append doc "/share/gtk-doc")) + #t)))))) (native-inputs `(("bison" ,bison) ("gettext" ,gettext-minimal) @@ -97,6 +120,8 @@ ("perl" ,perl) ("pkg-config" ,pkg-config) ("python" ,python-2) ; incompatible with Python 3 (print syntax) + ("gtk-doc" ,gtk-doc) ; For documentation generation + ("docbook-xml" ,docbook-xml) ; For documentation generation ("ruby" ,ruby))) (propagated-inputs `(("gtk+" ,gtk+) @@ -143,24 +168,25 @@ HTML/CSS applications to full-fledged web browsers.") (define-public webkitgtk-2.22 (package/inherit webkitgtk (name "webkitgtk") - (version "2.22.2") + (version "2.22.4") (source (origin (method url-fetch) (uri (string-append "https://www.webkitgtk.org/releases/" name "-" version ".tar.xz")) (sha256 (base32 - "1flrbr8pzbrlwv09b4pmgh6vklw7jghd2lgrhcb72vl9s7a8fm1l")))) + "1f2335hjzsvjxjf6hy5cyypsn65wykpx2pbk1sp548w0hclbxdgs")))) (native-inputs `(("gcc" ,gcc-7) ; webkitgtk-2.22 requires gcc-6 or newer ,@(package-native-inputs webkitgtk))) (arguments - `(#:phases (modify-phases %standard-phases - (add-before 'configure 'work-around-gcc-7-include-path-issue - ;; FIXME: Work around a problem with gcc-7 includes (see - ;; ). - (lambda _ - (unsetenv "C_INCLUDE_PATH") - (unsetenv "CPLUS_INCLUDE_PATH") - #t))) - ,@(package-arguments webkitgtk))))) + (substitute-keyword-arguments (package-arguments webkitgtk) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'configure 'work-around-gcc-7-include-path-issue + ;; FIXME: Work around a problem with gcc-7 includes (see + ;; ). + (lambda _ + (unsetenv "C_INCLUDE_PATH") + (unsetenv "CPLUS_INCLUDE_PATH") + #t)))))))) diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index 169cc6e3c5..802b3dd38f 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -71,7 +71,7 @@ (define-public wine (package (name "wine") - (version "3.0.3") + (version "3.0.4") (source (origin (method url-fetch) (uri (string-append "https://dl.winehq.org/wine/source/" @@ -79,7 +79,7 @@ "/wine-" version ".tar.xz")) (sha256 (base32 - "18add8wqqz7y1aj8x0dcba7pqj9jkbhngwjv4yjmar3gxacmjr7b")))) + "037vlrk80lagy362w7500i2ldwvdwsadrknajzi67cvxpvnqhnnl")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) @@ -225,7 +225,7 @@ integrate Windows applications into your desktop.") (define-public wine-staging-patchset-data (package (name "wine-staging-patchset-data") - (version "3.18") + (version "3.21") (source (origin (method git-fetch) @@ -235,7 +235,7 @@ integrate Windows applications into your desktop.") (file-name (git-file-name name version)) (sha256 (base32 - "18g1lmqzkc7ngppynimfvza1gkdhqlnjbvnckmaws847ns4i0kzp")))) + "1bxryvqw5rvhcx8vjl714jaj0rjsrh95kh3sn499rrljc3c8qsbl")))) (build-system trivial-build-system) (native-inputs `(("bash" ,bash) @@ -281,7 +281,7 @@ integrate Windows applications into your desktop.") (file-name (string-append name "-" version ".tar.xz")) (sha256 (base32 - "0xqs76hxcym8nb95r7l72xx0msbscp7fhkr1wrv4r0923d5x9s4v")))) + "1h70wb7kysbzv36i3fblyiihvalwhy6sj4s2a8nf21nz2mhc0k58")))) (inputs `(("autoconf" ,autoconf) ; for autoreconf ("gtk+" ,gtk+) ("libva" ,libva) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 68d497e955..8322a62b51 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -180,14 +180,14 @@ commands would.") (define-public i3-wm (package (name "i3-wm") - (version "4.15") + (version "4.16") (source (origin (method url-fetch) (uri (string-append "https://i3wm.org/downloads/i3-" version ".tar.bz2")) (sha256 (base32 - "09jk70hsdxab24lqvj2f30ijrkbv3f6q9xi5dcsax1dw3x6m4z91")))) + "1d2mnryn7m9c6d69awd7lwzadliapd0ahi5n8d0ppqy533ssaq6c")))) (build-system gnu-build-system) (arguments `(#:make-flags diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index 6cbfd76e10..b95be3ec14 100644 --- a/gnu/packages/wxwidgets.scm +++ b/gnu/packages/wxwidgets.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer -;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2016, 2018 Ricardo Wurmus ;;; Copyright © 2016 Theodoros Foradis ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2017 Rene Saavedra @@ -26,6 +26,7 @@ (define-module (gnu packages wxwidgets) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix l:) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system python) @@ -140,12 +141,14 @@ and many other languages.") (version "3.1.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/wxWidgets/wxWidgets/archive/v" - version ".tar.gz")) - (file-name (string-append "wxwidgets-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/wxWidgets/wxWidgets.git") + (commit (string-append "v" version)))) + (file-name (git-file-name "wxwidgets" version)) (sha256 - (base32 "1yan5ysjwh6a7xw82sfjd1xn0nsy1dn2s0cx9ac7cw19191blc3y")))) + (base32 + "14kl1rsngm70v3mbyv1mal15iz2b18k97avjx8jn7s81znha1c7f")))) (inputs `(("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base) ,@(package-inputs wxwidgets))) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 5f30df5efa..82ed065a3f 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2015 xd1le ;;; Copyright © 2015 Florian Paul Schmidt ;;; Copyright © 2016 Christopher Allan Webber -;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2016, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Alex Kost @@ -131,14 +131,15 @@ program.") (name "xclip") (version "0.13") (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/astrand/xclip" - "/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0n7pczk9vv30zf8qfln8ba3hnif9yfdxg0m84djac469wc28hnya")))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/astrand/xclip.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs")))) (build-system gnu-build-system) (arguments '(#:tests? #f)) ;there is no test suite @@ -243,7 +244,8 @@ X11 (yet).") (mkdir-p (string-append out "/lib")) (setenv "PREFIX" out) (setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib")) - (setenv "CC" "gcc"))))))) + (setenv "CC" "gcc") + #t)))))) (native-inputs `(("perl" ,perl))) ; for pod2man (inputs `(("libx11" ,libx11) ("libxext" ,libxext) @@ -477,7 +479,7 @@ move windows, switch between desktops, etc.).") (doc (string-append out "/share/doc/scrot"))) (mkdir-p doc) (invoke "make" "install" - (string-append "docsdir=" doc)))))))) + (string-append "docsdir=" doc)))))))) (inputs `(("libx11" ,libx11) ("giblib" ,giblib))) @@ -496,14 +498,14 @@ of the screen selected by mouse.") (name "slop") (version "7.4") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/naelstrof/slop/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/naelstrof/slop.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1kpdrikgpjb4fpxalb6pjcih5njv1w9cnrjj5612ywdv1q5mjs48")))) + "0fgd8a2dqkg64all0f96sca92sdss9r3pzmv5kck46b99z2325z6")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no "check" target @@ -529,14 +531,14 @@ selection's dimensions to stdout.") (name "maim") (version "5.5.2") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/naelstrof/maim/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/naelstrof/maim.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "14zdhsx1cndg5m8wbv1rqmza7wgknwfj5h0knzxg3p2jkjw66i95")))) + "14mfxdm39kc5jk8wysrzx05ag2g4sk9l24i8m5pzqn8j611150v3")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no "check" target @@ -848,15 +850,15 @@ within a single process.") (package (name "xcape") (version "1.2") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/alols/" name - "/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0898zc3vwxia00h9kfknpf7jygxgwggrx8v5mxc31w4lzn2dhzm2")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alols/xcape.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09a05cxgrip6nqy1qmwblamp2bhknqnqmxn7i2a1rgxa0nba95dm")))) (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target @@ -1004,7 +1006,8 @@ color temperature should be set to match the lamps in your room.") (lambda _ (substitute* '("driver/Makefile.in" "po/Makefile.in.in") (("@GTK_DATADIR@") "@datadir@") - (("@PO_DATADIR@") "@datadir@"))))) + (("@PO_DATADIR@") "@datadir@")) + #t))) #:configure-flags '("--with-pam" "--with-proc-interrupts" "--without-readdisplay") #:make-flags (list (string-append "AD_DIR=" @@ -1164,7 +1167,8 @@ by name.") (add-after 'unpack 'fix-installation-prefix (lambda _ (substitute* "CMakeLists.txt" - (("/etc") "${CMAKE_INSTALL_PREFIX}/etc"))))))) + (("/etc") "${CMAKE_INSTALL_PREFIX}/etc")) + #t))))) (inputs `(("gtk+" ,gtk+-2) ("imlib2" ,imlib2) @@ -1338,15 +1342,11 @@ invert colors on a specific display/screen.") (build-system gnu-build-system) (arguments '(#:configure-flags `("--enable-sound" "--enable-wave" - "--enable-alsa") - #:phases (modify-phases %standard-phases - (add-before 'configure 'autoreconf - (lambda _ - (invoke "autoreconf" "-vfi")))))) - (native-inputs `(("autoconf" ,autoconf) - ("automake" ,automake) - ("pkg-config" ,pkg-config) - ("perl" ,perl))) + "--enable-alsa"))) + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("perl" ,perl))) (inputs `(("libx11" ,libx11) ("alsa-lib" ,alsa-lib))) (synopsis "Daemon that performs an action every time the X11 bell is rung") @@ -1521,3 +1521,37 @@ the X11 clipboard") the numlock key in X11. It can be called from the user's initialization files to automatically turn it on on login.") (license license:expat))) + +(define-public xrandr-invert-colors + (package + (name "xrandr-invert-colors") + (version "0.01") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zoltanp/xrandr-invert-colors.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1br3x9vr6xm4ika06n8cfxx1b3wdchdqvyzjl4y1chmivrml8x9h")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CC=gcc") + #:tests? #f ; there are none + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "xrandr-invert-colors.bin" bin) + #t)))))) + (inputs + `(("libxrandr" ,libxrandr))) + (home-page "https://github.com/zoltanp/xrandr-invert-colors") + (synopsis "Invert display colors") + (description "This package provides a small utility for inverting the +colors on all monitors attached to an XRandR-capable X11 display server.") + (license license:gpl3+))) diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm index 7ecfa580ec..43b0d2723a 100644 --- a/gnu/packages/xiph.scm +++ b/gnu/packages/xiph.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2015, 2016, 2017 Efraim Flashner ;;; Copyright © 2017, 2018 Marius Bakke ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -60,7 +61,7 @@ (version "1.3.3") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/ogg/libogg-" + (uri (string-append "https://downloads.xiph.org/releases/ogg/libogg-" version ".tar.xz")) (sha256 (base32 @@ -83,7 +84,7 @@ periodic timestamps for seeking.") (version "1.3.6") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/vorbis/" + (uri (string-append "https://downloads.xiph.org/releases/vorbis/" "libvorbis-" version ".tar.xz")) (sha256 (base32 @@ -109,7 +110,7 @@ polyphonic) audio and music at fixed and variable bitrates from 16 to (version "1.1.1") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/theora/" + (uri (string-append "https://downloads.xiph.org/releases/theora/" "libtheora-" version ".tar.xz")) (sha256 (base32 @@ -134,7 +135,7 @@ compressed video format.") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/speex/speex-" + (uri (string-append "https://downloads.xiph.org/releases/speex/speex-" version ".tar.gz")) (sha256 (base32 @@ -162,7 +163,7 @@ stereo encoding, and voice activity detection.") (version "1.2rc3") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/speex/" + (uri (string-append "https://downloads.xiph.org/releases/speex/" "speexdsp-" version ".tar.gz")) (sha256 (base32 @@ -188,7 +189,7 @@ work from the @code{speex} codec.") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/ao/libao-" + (uri (string-append "https://downloads.xiph.org/releases/ao/libao-" version ".tar.gz")) (sha256 (base32 @@ -237,7 +238,7 @@ It currently supports: (version "1.3.2") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/flac/flac-" + (uri (string-append "https://downloads.xiph.org/releases/flac/flac-" version ".tar.xz")) (sha256 (base32 @@ -261,7 +262,7 @@ meaning that audio is compressed in FLAC without any loss in quality.") (version "0.4.1") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/kate/" + (uri (string-append "https://downloads.xiph.org/releases/kate/" "libkate-" version ".tar.gz")) (sha256 (base32 @@ -297,7 +298,7 @@ Kate stream.") (version "1.4.0") (source (origin (method url-fetch) - (uri (string-append "http://downloads.xiph.org/releases/vorbis/" + (uri (string-append "https://downloads.xiph.org/releases/vorbis/" "vorbis-tools-" version ".tar.gz")) (sha256 (base32 @@ -332,14 +333,14 @@ ogginfo, to obtain information (tags, bitrate, length, etc.) about (define opus (package (name "opus") - (version "1.2.1") + (version "1.3") (source (origin (method url-fetch) (uri (string-append "https://archive.mozilla.org/pub/opus/opus-" version ".tar.gz")) (sha256 (base32 - "0ch7yzgg4bn1g36bpjsfrgs4n19c84d7wpdida6yzifrrhwx7byg")))) + "0l651n19h0vhc0sn6w2c95hgqks1i8m4b3j04ncaznzjznp6jgag")))) (build-system gnu-build-system) (synopsis "Versatile audio codec") (description @@ -354,15 +355,15 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.") (define opus-tools (package (name "opus-tools") - (version "0.1.10") + (version "0.2") (source (origin (method url-fetch) (uri (string-append - "http://downloads.xiph.org/releases/opus/opus-tools-" + "https://downloads.xiph.org/releases/opus/opus-tools-" version ".tar.gz")) (sha256 (base32 - "135jfb9ny3xvd27idsxj7j5ns90lslbyrq70cq3bfwcls4r7add2")))) + "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl")))) (build-system gnu-build-system) (arguments ;; The package developers misuse pkg-config such that it doesn't work @@ -373,9 +374,12 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.") "/include -I" (assoc-ref %build-inputs "opus") "/include/opus")))) - (inputs `(("libogg" ,libogg) - ("opus" ,opus) - ("flac" ,flac))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libopusenc" ,libopusenc) + ("opusfile" ,opusfile) + ("flac" ,flac))) (synopsis "Command line utilities to encode, inspect, and decode .opus files") (description "Opus is a royalty-free, highly versatile audio codec. @@ -391,19 +395,19 @@ decoding .opus files.") (source (origin (method url-fetch) (uri (string-append - "http://downloads.xiph.org/releases/opus/opusfile-" version + "https://downloads.xiph.org/releases/opus/opusfile-" version ".tar.gz")) (sha256 (base32 "1gq3aszzl5glgbajw5p1f5a1kdyf23w5vjdmwwrk246syin9pkkl")))) (build-system gnu-build-system) + ;; Required by opusfile.pc and opusurl.pc. (propagated-inputs - `(("opus" ,opus))) + `(("libogg" ,libogg) + ("openssl" ,openssl) + ("opus" ,opus))) (native-inputs `(("pkg-config" ,pkg-config))) - (inputs - `(("libogg" ,libogg) - ("openssl" ,openssl))) (synopsis "Versatile audio codec") (description "The opusfile library provides seeking, decode, and playback of Opus @@ -412,18 +416,40 @@ windows systems.") (license license:bsd-3) (home-page "https://www.opus-codec.org"))) +(define-public libopusenc + (package + (name "libopusenc") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (string-append "https://archive.mozilla.org/pub/opus/" + "libopusenc-" version ".tar.gz")) + (sha256 + (base32 + "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("opus" ,opus))) + (synopsis "Library for encoding Opus audio files and streams ") + (description "The libopusenc libraries provide a high-level API for +encoding Opus files and streams.") + (home-page "https://www.opus-codec.org/") + (license license:bsd-3))) + (define-public icecast (package (name "icecast") - (version "2.4.3") + (version "2.4.4") (source (origin (method url-fetch) (uri (string-append - "http://downloads.xiph.org/releases/icecast/icecast-" + "https://downloads.xiph.org/releases/icecast/icecast-" version ".tar.gz")) (sha256 (base32 - "14n5vm2xnyn8y7kl46lnnlgv6v5fjykhc57ffdsh0qaxfs6a8p68")))) + "0i2d9rhav0x6js2qhjf5iy6j2a7f0d11ail0lfv40hb1kygrgda9")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -451,7 +477,7 @@ things in between.") (source (origin (method url-fetch) (uri (string-append - "http://downloads.xiph.org/releases/libshout/" + "https://downloads.xiph.org/releases/libshout/" name "-" version ".tar.gz")) (sha256 (base32 @@ -464,7 +490,7 @@ things in between.") `(("libtheora" ,libtheora) ("libvorbis" ,libvorbis) ("speex" ,speex))) - (home-page "http://www.icecast.org/") + (home-page "https://icecast.org/") (synopsis "Audio streaming library for icecast encoders") (description "Libshout is a library for communicating with and sending data to an diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 835bd42354..fd4c3fea2c 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2017 Alex Vong ;;; Copyright © 2017 Petter ;;; Copyright © 2017 Stefan Reichör +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -38,7 +39,9 @@ (define-module (gnu packages xml) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages curl) #:use-module (gnu packages gnupg) #:use-module (gnu packages java) #:use-module (gnu packages gnuzilla) @@ -185,7 +188,8 @@ project (but it is usable outside of the Gnome platform).") (format #f "ROOT = r'~a'" libxml2)) ;; For 'iconv.h'. (("/opt/include") - (string-append glibc "/include"))))))))) + (string-append glibc "/include")))) + #t))))) (inputs `(("libxml2" ,libxml2))) (synopsis "Python bindings for the libxml2 library"))) @@ -550,7 +554,8 @@ that allow you to generate HTML from an RSS, convert between 0.9, 0.91, and (setenv "PERL5LIB" (string-append (getenv "PERL5LIB") ":" (assoc-ref outputs "out") - "/lib/perl5/site_perl"))))))) + "/lib/perl5/site_perl")) + #t))))) (home-page "https://metacpan.org/release/XML-SAX") (synopsis "Perl API for XML") (description "XML::SAX consists of several framework classes for using and @@ -825,14 +830,14 @@ RSS 0.91, RSS 1.0, RSS 2.0, Atom") (define-public perl-xml-xpath (package (name "perl-xml-xpath") - (version "1.42") + (version "1.44") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/" "XML-XPath-" version ".tar.gz")) (sha256 (base32 - "04mm91kxav598ax7nlg81dhnvanwvg6bkf30l0cgkmga5iyccsly")))) + "03yxj7w5a43ibbpiqsvb3lswj2b71dydsx4rs2fw0p8n0l3i3j8w")))) (build-system perl-build-system) (native-inputs `(("perl-path-tiny" ,perl-path-tiny))) @@ -936,16 +941,16 @@ XSL-T processor. It also performs any necessary post-processing.") (define-public xmlsec (package (name "xmlsec") - (version "1.2.26") + (version "1.2.27") (source (origin - (method url-fetch) - (uri (string-append "https://www.aleksey.com/xmlsec/download/" - name "1-" version ".tar.gz")) - (sha256 - (base32 - "0l1dk344rn3j2vnj13daz72xd8j1msvzhg82n2il5ji0qz4pd0ld")))) + (method url-fetch) + (uri (string-append "https://www.aleksey.com/xmlsec/download/" + "xmlsec1-" version ".tar.gz")) + (sha256 + (base32 + "1dlf263mvxj9n4lnhhjawc2hv45agrwjf8kxk7k8h9g9v2x5dmwp")))) (build-system gnu-build-system) - (propagated-inputs ; according to xmlsec1.pc + (propagated-inputs ; according to xmlsec1.pc `(("libxml2" ,libxml2) ("libxslt" ,libxslt))) (inputs @@ -968,6 +973,10 @@ Libxml2).") (package (inherit xmlsec) (name "xmlsec-nss") + (native-inputs + ;; For tests. + `(("nss:bin" ,nss "bin") ; for certutil + ,@(package-native-inputs xmlsec))) (inputs `(("nss" ,nss) ("libltdl" ,libltdl))) @@ -976,7 +985,7 @@ Libxml2).") (define-public minixml (package (name "minixml") - (version "2.11") + (version "2.12") (source (origin (method url-fetch/tarbomb) (uri (string-append "https://github.com/michaelrsweet/mxml/" @@ -984,10 +993,13 @@ Libxml2).") "/mxml-" version ".tar.gz")) (sha256 (base32 - "13xsw8vvkxd10vca42ccdyl9rs64lcvhbfz57aknpl3xcfn8mxma")))) + "1z8nqxa4pqdic8wpixkkgg1m2pak9wjikjjxnk3j5i0d29dbgmmg")))) (build-system gnu-build-system) (arguments - `(#:phases + `(#:configure-flags + (list (string-append "LDFLAGS=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib")) + #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-permissions ;; FIXME: url-fetch/tarbomb resets all permissions to 555/444. @@ -1211,7 +1223,7 @@ elements to their parents (substitute* "test/run" ;; Run tests with `python' only (("^(PYTHON_VERSIONS = ).*" all m) (string-append m "['']"))) - (zero? (system* "test/run"))))))) + (invoke "test/run")))))) (home-page "https://github.com/dilshod/xlsx2csv") (synopsis "XLSX to CSV converter") (description @@ -1260,7 +1272,7 @@ files. It is designed to be fast and to handle large input files.") ;; Bootstrapping is required in order to fix the test driver script. (replace 'bootstrap (lambda _ - (zero? (system* "bash" "bootstrap"))))))) + (invoke "bash" "bootstrap")))))) (native-inputs `(("unzip" ,unzip) ("autoconf" ,autoconf) @@ -1861,7 +1873,8 @@ low memory footprint.") (modify-phases %standard-phases (add-before 'build 'copy-resources (lambda _ - (copy-recursively "src/main/resources" "build/classes")))))) + (copy-recursively "src/main/resources" "build/classes") + #t))))) (inputs `(("java-xpp3" ,java-xpp3))) (native-inputs @@ -2104,3 +2117,60 @@ derivations of regular expressions.") "The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but introduces a more general approach for processing XML with Haskell.") (license license:expat))) + +(define-public xmlrpc-c + (package + (name "xmlrpc-c") + (version "1.43.08") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xmlrpc-c/Xmlrpc-c%20Super%20Stable/" + version "/xmlrpc-c-" version ".tgz")) + (sha256 + (base32 + "18zwbj6i2hpcn5riiyp8i6rml0sfv60dd7phw1x8g4r4lj2bbxf9")))) + (build-system gnu-build-system) + (inputs + `(("curl" ,curl))) + (native-inputs + `(;; For tools, if ever needed. + ("perl" ,perl))) + (arguments + `(#:make-flags ; Add $libdir to the RUNPATH of all the executables. + (list (string-append "LDFLAGS_PERSONAL=-Wl,-rpath=" %output "/lib")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-/bin/sh-in-tests + (lambda _ + (substitute* "GNUmakefile" + (("#! /bin/sh") (which "sh"))) + #t))))) + (home-page "http://xmlrpc-c.sourceforge.net/") + (synopsis "Lightweight RPC library based on XML and HTTP") + (description + "XML-RPC is a quick-and-easy way to make procedure calls over the Internet. +It converts the procedure call into an XML document, sends it to a remote +server using HTTP, and gets back the response as XML. This library provides a +modular implementation of XML-RPC for C and C++.") + (license (list license:psfl license:expat)))) + +(define-public python-xmltodict + (package + (name "python-xmltodict") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "xmltodict" version)) + (sha256 + (base32 + "1pxh4yjhvmxi1h6f92skv41g4kbsws3ams57150kzn18m907v3cg")))) + (build-system python-build-system) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-nose" ,python-nose))) + (home-page "https://github.com/martinblech/xmltodict") + (synopsis "Work with XML like you are working with JSON") + (description "This package provides a Python library to convert XML to +@code{OrderedDict}.") + (license license:expat))) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 1af8fed5e7..9aa65291b9 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -2448,7 +2448,7 @@ including most mice, keyboards, tablets and touchscreens.") (define-public xf86-input-libinput (package (name "xf86-input-libinput") - (version "0.28.0") + (version "0.28.1") (source (origin (method url-fetch) (uri (string-append @@ -2456,7 +2456,7 @@ including most mice, keyboards, tablets and touchscreens.") name "-" version ".tar.bz2")) (sha256 (base32 - "189h8vl0005yizwrs4d0sng6j8lwkd3xi1zwqg8qavn2bw34v691")))) + "12yr0yki94j2416bfhmkz5jpacffm27jkra89fl7h03c0y749nls")))) (build-system gnu-build-system) (arguments '(#:configure-flags @@ -2905,8 +2905,8 @@ X server.") (define-public xf86-video-intel - (let ((commit "d7dfab62a9853b44bbcd67dac08391d8e5114c97") - (revision "10")) + (let ((commit "0932a6b37ba6d5c9e916a1cb6ab89c3205b81a0c") + (revision "11")) (package (name "xf86-video-intel") (version (git-version "2.99.917" revision commit)) @@ -2919,7 +2919,7 @@ X server.") (commit commit))) (sha256 (base32 - "1vcfal4xr9q6016p28lnlyg709da6d305dysyyrj3fjp9fj48sva")) + "10pqxp7n53ddiypd3l1i9gkbgzdpi6rz9vksbd16biq7pbijc2xf")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (inputs `(("mesa" ,mesa) @@ -3174,14 +3174,14 @@ This driver is intended for the spice qxl virtio device.") (define-public xf86-video-r128 (package (name "xf86-video-r128") - (version "6.11.0") + (version "6.12.0") (source (origin (method url-fetch) (uri (string-append "mirror://xorg/individual/driver/" name "-" version ".tar.bz2")) (sha256 (base32 - "0snvwmrh8dqyyaq7ggicym6yrsg4brygkx9156r0m095m7fp3rav")))) + "0mz0v5mqmmbncr2drd5zvia1fb7frz2xqwflhhqbnaxx5j48c740")))) (build-system gnu-build-system) (inputs `(("mesa" ,mesa) ("xorgproto" ,xorgproto) @@ -5065,7 +5065,7 @@ over Xlib, including: (define-public xorg-server (package (name "xorg-server") - (version "1.20.1") + (version "1.20.3") (source (origin (method url-fetch) @@ -5074,7 +5074,7 @@ over Xlib, including: name "-" version ".tar.bz2")) (sha256 (base32 - "0679942x1ma2p30vlvqylpjc5v1ak1pgqysnqrj82nz7dzl9zjar")) + "1ph1j8gy5cazsq05krq9kppjx5v1sl75pbdka8ibxb1cq5kf8g0v")) (patches (list ;; See: @@ -5453,6 +5453,58 @@ The XCB util module provides the following libraries: "file://COPYING" "See COPYING in the distribution.")))) +(define-public xcb-util-errors + (let ((commit "5d660ebe872cadcdc85de9d6f9afe05de629c030") + (revision "1")) + (package + (name "xcb-util-errors") + (version (git-version "1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://anongit.freedesktop.org/git/xcb/util-errors.git") + (commit commit) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12bah0iz5k6b9hwlc5zffyfg2gnrajll3gn5s8zmazgynvw72ahg")))) + (build-system gnu-build-system) + (outputs '("out")) + (inputs + `(("util-macros" ,util-macros) + ("xcb-proto" ,xcb-proto))) + (propagated-inputs + `(("libxcb" ,libxcb))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("python-2" ,python-2) + ("pkg-config" ,pkg-config))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + ;; The default 'bootstrap' phase would run 'autogen.sh', which + ;; would try to run ./configure and fail due to unpatched + ;; shebangs. + (invoke "autoreconf" "-v" "--install")))))) + (home-page "https://cgit.freedesktop.org/xcb/util-errors/") + (synopsis "XCB helper library for printing information about X11 errors") + (description + "The XCB util module provides a number of libraries which sit on +top of libxcb, the core X protocol library, and some of the extension +libraries. These experimental libraries provide convenience functions +and interfaces which make the raw X protocol more usable. Some of the +libraries also provide client-side code which is not strictly part of +the X protocol but which has traditionally been provided by Xlib. + +The XCB util-errors module provides a utility library that gives human +readable names to error codes, event codes, and also to major and minor +numbers.") + (license license:x11)))) (define-public xcb-util-image (package @@ -5752,7 +5804,7 @@ programs that cannot use the window system directly.") (define-public perl-x11-xcb (package (name "perl-x11-xcb") - (version "0.17") + (version "0.18") (source (origin (method url-fetch) (uri (string-append @@ -5760,7 +5812,7 @@ programs that cannot use the window system directly.") "X11-XCB-" version ".tar.gz")) (sha256 (base32 - "12qyf98s5hbybmh0mblpz50c00i68srq73w5rw31m2dhclj8n96q")))) + "1cjpghw7cnackw20lbd7yzm222kz5bnrwz52f8ay24d1f4pwrnxf")))) (build-system perl-build-system) (arguments '(;; Disable parallel build to prevent a race condition. @@ -5887,7 +5939,7 @@ Conventions Manual) and some of the @dfn{EWMH} (add-after 'unpack 'autogen (lambda _ (setenv "NOCONFIGURE" "t") - (zero? (system* "sh" "autogen.sh"))))))) + (invoke "sh" "autogen.sh")))))) (native-inputs `(("pkg-config" ,pkg-config) ("autoconf" ,autoconf) @@ -5910,7 +5962,7 @@ basic eye-candy effects.") (define-public xpra (package (name "xpra") - (version "2.4") + (version "2.4.2") (source (origin (method url-fetch) @@ -5918,7 +5970,7 @@ basic eye-candy effects.") version ".tar.xz")) (sha256 (base32 - "0blzx231sr1ri1zwzpwzf611sq9104bv3ccvnap9pbvfrc05sfwx")))) + "01x4ri0arfq9cn01bh80h232lsj95jp6j1zw0z0q7a6mwrw4gr6i")))) (build-system python-build-system) (inputs `(("ffmpeg" ,ffmpeg) ("flac" ,flac) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 47c7d8bb27..b10f5cbaf1 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2018 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -1251,18 +1252,57 @@ the tty to run, among other things." (string-concatenate (map cache->config caches))))))) +(define (nscd-action-procedure nscd config option) + ;; XXX: This is duplicated from mcron; factorize. + #~(lambda (_ . args) + ;; Run 'nscd' in a pipe so we can explicitly redirect its output to + ;; 'current-output-port', which at this stage is bound to the client + ;; connection. + (let ((pipe (apply open-pipe* OPEN_READ #$nscd + "-f" #$config #$option args))) + (let loop () + (match (read-line pipe 'concat) + ((? eof-object?) + (catch 'system-error + (lambda () + (zero? (close-pipe pipe))) + (lambda args + ;; There's a race with the SIGCHLD handler, which could + ;; call 'waitpid' before 'close-pipe' above does. If we + ;; get ECHILD, that means we lost the race, but that's + ;; fine. + (or (= ECHILD (system-error-errno args)) + (apply throw args))))) + (line + (display line) + (loop))))))) + +(define (nscd-actions nscd config) + "Return Shepherd actions for NSCD." + ;; Make this functionality available as actions because that's a simple way + ;; to run the right 'nscd' binary with the right config file. + (list (shepherd-action + (name 'statistics) + (documentation "Display statistics about nscd usage.") + (procedure (nscd-action-procedure nscd config "--statistics"))) + (shepherd-action + (name 'invalidate) + (documentation + "Invalidate the given cache--e.g., 'hosts' for host name lookups.") + (procedure (nscd-action-procedure nscd config "--invalidate"))))) + (define (nscd-shepherd-service config) "Return a shepherd service for CONFIG, an object." - (let ((nscd.conf (nscd.conf-file config)) + (let ((nscd (file-append (nscd-configuration-glibc config) + "/sbin/nscd")) + (nscd.conf (nscd.conf-file config)) (name-services (nscd-configuration-name-services config))) (list (shepherd-service (documentation "Run libc's name service cache daemon (nscd).") (provision '(nscd)) (requirement '(user-processes)) (start #~(make-forkexec-constructor - (list #$(file-append (nscd-configuration-glibc config) - "/sbin/nscd") - "-f" #$nscd.conf "--foreground") + (list #$nscd "-f" #$nscd.conf "--foreground") ;; Wait for the PID file. However, the PID file is ;; written before nscd is actually listening on its @@ -1276,7 +1316,12 @@ the tty to run, among other things." (string-append dir "/lib")) (list #$@name-services)) ":"))))) - (stop #~(make-kill-destructor)))))) + (stop #~(make-kill-destructor)) + (modules `((ice-9 popen) ;for the actions + (ice-9 rdelim) + (ice-9 match) + ,@%default-modules)) + (actions (nscd-actions nscd nscd.conf)))))) (define nscd-activation ;; Actions to take before starting nscd. @@ -1454,26 +1499,27 @@ starting at FIRST-UID, and under GID." 1+ 1)) -(define (hydra-key-authorization key guix) - "Return a gexp with code to register KEY, a file containing a 'guix archive' -public key, with GUIX." +(define (hydra-key-authorization keys guix) + "Return a gexp with code to register KEYS, a list of files containing 'guix +archive' public keys, with GUIX." #~(unless (file-exists? "/etc/guix/acl") - (let ((pid (primitive-fork))) - (case pid - ((0) - (let* ((key #$key) - (port (open-file key "r0b"))) - (format #t "registering public key '~a'...~%" key) - (close-port (current-input-port)) - (dup port 0) - (execl #$(file-append guix "/bin/guix") - "guix" "archive" "--authorize") - (exit 1))) - (else - (let ((status (cdr (waitpid pid)))) - (unless (zero? status) - (format (current-error-port) "warning: \ -failed to register hydra.gnu.org public key: ~a~%" status)))))))) + (for-each (lambda (key) + (let ((pid (primitive-fork))) + (case pid + ((0) + (let* ((port (open-file key "r0b"))) + (format #t "registering public key '~a'...~%" key) + (close-port (current-input-port)) + (dup port 0) + (execl #$(file-append guix "/bin/guix") + "guix" "archive" "--authorize") + (primitive-exit 1))) + (else + (let ((status (cdr (waitpid pid)))) + (unless (zero? status) + (format (current-error-port) "warning: \ +failed to register public key '~a': ~a~%" key status))))))) + '(#$@keys)))) (define %default-authorized-guix-keys ;; List of authorized substitute keys. @@ -1558,7 +1604,15 @@ failed to register hydra.gnu.org public key: ~a~%" status)))))))) '()) #$@(if tmpdir (list (string-append "TMPDIR=" tmpdir)) - '())) + '()) + + ;; Make sure we run in a UTF-8 locale so that 'guix + ;; offload' correctly restores nars that contain UTF-8 + ;; file names such as 'nss-certs'. See + ;; . + (string-append "GUIX_LOCPATH=" + #$glibc-utf8-locales "/lib/locale") + "LC_ALL=en_US.utf8") #:log-file #$log-file)) (stop #~(make-kill-destructor)))))) @@ -1585,10 +1639,9 @@ failed to register hydra.gnu.org public key: ~a~%" status)))))))) ;; otherwise call 'chown' here, but the problem is that on a COW overlayfs, ;; chown leads to an entire copy of the tree, which is a bad idea. - ;; Optionally authorize hydra.gnu.org's key. + ;; Optionally authorize substitute server keys. (if authorize-key? - #~(begin - #$@(map (cut hydra-key-authorization <> guix) keys)) + (hydra-key-authorization keys guix) #~#f)))) (define* (references-file item #:optional (name "references")) @@ -2040,6 +2093,8 @@ This service is not part of @var{%base-services}." (default (file-append shadow "/bin/login"))) (login-arguments kmscon-configuration-login-arguments (default '("-p"))) + (auto-login kmscon-configuration-auto-login + (default #f)) (hardware-acceleration? kmscon-configuration-hardware-acceleration? (default #f))) ; #t causes failure @@ -2051,14 +2106,20 @@ This service is not part of @var{%base-services}." (virtual-terminal (kmscon-configuration-virtual-terminal config)) (login-program (kmscon-configuration-login-program config)) (login-arguments (kmscon-configuration-login-arguments config)) + (auto-login (kmscon-configuration-auto-login config)) (hardware-acceleration? (kmscon-configuration-hardware-acceleration? config))) (define kmscon-command #~(list #$(file-append kmscon "/bin/kmscon") "--login" "--vt" #$virtual-terminal + "--no-switchvt" ;Prevent a switch to the virtual terminal. #$@(if hardware-acceleration? '("--hwaccel") '()) - "--" #$login-program #$@login-arguments)) + "--login" "--" + #$login-program #$@login-arguments + #$@(if auto-login + #~(#$auto-login) + #~()))) (shepherd-service (documentation "kmscon virtual terminal") diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm index 496b2d06c8..36e90fc825 100644 --- a/gnu/services/cuirass.scm +++ b/gnu/services/cuirass.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Mathieu Lirzin -;;; Copyright © 2016, 2017 Ludovic Courtès +;;; Copyright © 2016, 2017, 2018 Ludovic Courtès ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Jan Nieuwenhuizen ;;; Copyright © 2018 Ricardo Wurmus @@ -54,6 +54,8 @@ (default "/var/log/cuirass.log")) (cache-directory cuirass-configuration-cache-directory ;string (dir-name) (default "/var/cache/cuirass")) + (ttl cuirass-configuration-ttl ;integer + (default (* 30 24 3600))) (user cuirass-configuration-user ;string (default "cuirass")) (group cuirass-configuration-group ;string @@ -86,6 +88,7 @@ (group (cuirass-configuration-group config)) (interval (cuirass-configuration-interval config)) (database (cuirass-configuration-database config)) + (ttl (cuirass-configuration-ttl config)) (port (cuirass-configuration-port config)) (host (cuirass-configuration-host config)) (specs (cuirass-configuration-specifications config)) @@ -102,6 +105,7 @@ "--specifications" #$(scheme-file "cuirass-specs.scm" specs) "--database" #$database + "--ttl" #$(string-append (number->string ttl) "s") "--port" #$(number->string port) "--listen" #$host "--interval" #$(number->string interval) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index e038f97683..47d1096c6d 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -672,7 +672,7 @@ include the @command{udisksctl} command, part of UDisks, and GNOME Disks." ("KillUserProcesses" (yesno elogind-kill-user-processes?)) ("KillOnlyUsers" (user-name-list elogind-kill-only-users)) ("KillExcludeUsers" (user-name-list elogind-kill-exclude-users)) - ("InhibitDelayMaxSecs" (non-negative-integer elogind-inhibit-delay-max-seconds)) + ("InhibitDelayMaxSec" (non-negative-integer elogind-inhibit-delay-max-seconds)) ("HandlePowerKey" (handle-action elogind-handle-power-key)) ("HandleSuspendKey" (handle-action elogind-handle-suspend-key)) ("HandleHibernateKey" (handle-action elogind-handle-hibernate-key)) @@ -682,16 +682,16 @@ include the @command{udisksctl} command, part of UDisks, and GNOME Disks." ("SuspendKeyIgnoreInhibited" (yesno elogind-suspend-key-ignore-inhibited?)) ("HibernateKeyIgnoreInhibited" (yesno elogind-hibernate-key-ignore-inhibited?)) ("LidSwitchIgnoreInhibited" (yesno elogind-lid-switch-ignore-inhibited?)) - ("HoldoffTimeoutSecs" (non-negative-integer elogind-holdoff-timeout-seconds)) + ("HoldoffTimeoutSec" (non-negative-integer elogind-holdoff-timeout-seconds)) ("IdleAction" (handle-action elogind-idle-action)) - ("IdleActionSeconds" (non-negative-integer elogind-idle-action-seconds)) + ("IdleActionSec" (non-negative-integer elogind-idle-action-seconds)) ("RuntimeDirectorySize" (identity (lambda (config) (match (elogind-runtime-directory-size-percent config) (#f (non-negative-integer (elogind-runtime-directory-size config))) (percent (string-append (non-negative-integer percent) "%")))))) - ("RemoveIpc" (yesno elogind-remove-ipc?)) + ("RemoveIPC" (yesno elogind-remove-ipc?)) "[Sleep]" ("SuspendState" (sleep-list elogind-suspend-state)) ("SuspendMode" (sleep-list elogind-suspend-mode)) diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm index 16bd039f59..1ef754b360 100644 --- a/gnu/services/dns.scm +++ b/gnu/services/dns.scm @@ -684,7 +684,8 @@ (string-delete #\? (symbol->string field-name))) (define (serialize-field field-name val) - (format #t "~a=~a\n" (uglify-field-name field-name) val)) + (when (not (member field-name '(group secret-file user))) + (format #t "~a=~a\n" (uglify-field-name field-name) val))) (define (serialize-boolean field-name val) (serialize-field field-name (if val "yes" "no"))) @@ -763,9 +764,9 @@ manually.") (use-modules (guix build utils) (ice-9 rdelim)) (let ((ddclient-user - #$(passwd:uid (getpw (ddclient-configuration-user config)))) + (passwd:uid (getpw #$(ddclient-configuration-user config)))) (ddclient-group - #$(passwd:gid (getpw (ddclient-configuration-group config)))) + (passwd:gid (getpw #$(ddclient-configuration-group config)))) (ddclient-secret-file #$(ddclient-configuration-secret-file config))) ;; 'ddclient' complains about ddclient.conf file permissions, which diff --git a/gnu/services/games.scm b/gnu/services/games.scm index b9d78e078d..b743f6a4b6 100644 --- a/gnu/services/games.scm +++ b/gnu/services/games.scm @@ -65,7 +65,8 @@ (modules '((gnu build shepherd))) (start #~(make-forkexec-constructor/container (list #$(file-append package "/bin/wesnothd") - "-p" #$(number->string port)))) + "-p" #$(number->string port)) + #:user "wesnothd" #:group "wesnothd")) (stop #~(make-kill-destructor))))))) (define wesnothd-service-type diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm index 573efa0433..fcaedd038b 100644 --- a/gnu/services/mail.scm +++ b/gnu/services/mail.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Andy Wingo -;;; Copyright © 2017 Clément Lassieur +;;; Copyright © 2017, 2018 Clément Lassieur ;;; Copyright © 2017 Carlo Zancanaro ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; @@ -290,11 +290,21 @@ the section name.") "Listeners for the service. A listener is either an @code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or an @code{inet-listener-configuration}.") + (client-limit + (non-negative-integer 0) + "Maximum number of simultaneous client connections per process. Once this +number of connections is received, the next incoming connection will prompt +Dovecot to spawn another process. If set to 0, @code{default-client-limit} is +used instead.") (service-count (non-negative-integer 1) "Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. .") + (process-limit + (non-negative-integer 0) + "Maximum number of processes that can exist for this service. If set to 0, +@code{default-process-limit} is used instead.") (process-min-avail (non-negative-integer 0) "Number of processes to always keep waiting for more connections.") @@ -475,6 +485,8 @@ complex, customize the address and port fields of the (list (service-configuration (kind "imap-login") + (client-limit 0) + (process-limit 0) (listeners (list (inet-listener-configuration (protocol "imap") (port 143) (ssl? #f)) @@ -487,24 +499,33 @@ complex, customize the address and port fields of the (inet-listener-configuration (protocol "pop3s") (port 995) (ssl? #t))))) (service-configuration (kind "lmtp") + (client-limit 1) + (process-limit 0) (listeners (list (unix-listener-configuration (path "lmtp") (mode "0666"))))) - (service-configuration (kind "imap")) - (service-configuration (kind "pop3")) - (service-configuration (kind "auth") - ;; In what could be taken to be a bug, the default value of 1 for - ;; service-count makes it so that a PAM auth worker can't fork off - ;; subprocesses for making blocking queries. The result is that nobody - ;; can log in -- very secure, but not very useful! If we simply omit - ;; the service-count, it will default to the value of - ;; auth-worker-max-count, which is 30, instead of defaulting to 1, which - ;; is the default for all other services. As a hack, bump this value to - ;; 30. - (service-count 30) + (service-configuration + (kind "imap") + (client-limit 1) + (process-limit 1024)) + (service-configuration + (kind "pop3") + (client-limit 1) + (process-limit 1024)) + (service-configuration + (kind "auth") + (service-count 0) + (client-limit 0) + (process-limit 1) (listeners (list (unix-listener-configuration (path "auth-userdb"))))) - (service-configuration (kind "auth-worker")) - (service-configuration (kind "dict") + (service-configuration + (kind "auth-worker") + (client-limit 1) + (process-limit 0)) + (service-configuration + (kind "dict") + (client-limit 1) + (process-limit 0) (listeners (list (unix-listener-configuration (path "dict"))))))) "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scm index 5757bf8cf6..120b663e3e 100644 --- a/gnu/services/mcron.scm +++ b/gnu/services/mcron.scm @@ -86,7 +86,7 @@ files." (lambda () (zero? (close-pipe pipe))) (lambda args - ;; There's with race between the SIGCHLD handler, which + ;; There's a race with the SIGCHLD handler, which ;; could call 'waitpid' before 'close-pipe' above does. If ;; we get ECHILD, that means we lost the race, but that's ;; fine. diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm index 056602248f..bb94c5f41a 100644 --- a/gnu/services/ssh.scm +++ b/gnu/services/ssh.scm @@ -518,7 +518,15 @@ of user-name/file-like tuples." (service-extension activation-service-type openssh-activation) (service-extension account-service-type - (const %openssh-accounts)))) + (const %openssh-accounts)) + + ;; Install OpenSSH in the system profile. That way, + ;; 'scp' is found when someone tries to copy to or from + ;; this machine. + (service-extension profile-service-type + (lambda (config) + (list (openssh-configuration-openssh + config)))))) (compose concatenate) (extend extend-openssh-authorized-keys) (default-value (openssh-configuration)))) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 1edb1f4d34..fcf453c248 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -70,6 +70,11 @@ httpd-config-file-user httpd-config-file-group + + httpd-module + httpd-module? + %default-httpd-modules + httpd-service-type diff --git a/gnu/system.scm b/gnu/system.scm index 99bc09873d..a5a8f40d66 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -127,23 +127,21 @@ ;;; ;;; Code: -(define (bootable-kernel-arguments kernel-arguments system.drv root-device) - "Prepend extra arguments to KERNEL-ARGUMENTS that allow SYSTEM.DRV to be -booted from ROOT-DEVICE" - (cons* (string-append "--root=" - (cond ((uuid? root-device) +(define (bootable-kernel-arguments system root-device) + "Return a list of kernel arguments (gexps) to boot SYSTEM from ROOT-DEVICE." + (list (string-append "--root=" + (cond ((uuid? root-device) - ;; Note: Always use the DCE format because that's - ;; what (gnu build linux-boot) expects for the - ;; '--root' kernel command-line option. - (uuid->string (uuid-bytevector root-device) - 'dce)) - ((file-system-label? root-device) - (file-system-label->string root-device)) - (else root-device))) - #~(string-append "--system=" #$system.drv) - #~(string-append "--load=" #$system.drv "/boot") - kernel-arguments)) + ;; Note: Always use the DCE format because that's + ;; what (gnu build linux-boot) expects for the + ;; '--root' kernel command-line option. + (uuid->string (uuid-bytevector root-device) + 'dce)) + ((file-system-label? root-device) + (file-system-label->string root-device)) + (else root-device))) + #~(string-append "--system=" #$system) + #~(string-append "--load=" #$system "/boot"))) ;; System-wide configuration. ;; TODO: Add per-field docstrings/stexi. @@ -156,7 +154,7 @@ booted from ROOT-DEVICE" (default '())) ; list of gexps/strings (bootloader operating-system-bootloader) ; - (initrd operating-system-initrd ; (list fs) -> M derivation + (initrd operating-system-initrd ; (list fs) -> file-like (default base-initrd)) (initrd-modules operating-system-initrd-modules ; list of strings (thunked) ; it's system-dependent @@ -209,12 +207,11 @@ booted from ROOT-DEVICE" (sudoers-file operating-system-sudoers-file ; file-like (default %sudoers-specification))) -(define (operating-system-kernel-arguments os system.drv root-device) +(define (operating-system-kernel-arguments os root-device) "Return all the kernel arguments, including the ones not specified directly by the user." - (bootable-kernel-arguments (operating-system-user-kernel-arguments os) - system.drv - root-device)) + (append (bootable-kernel-arguments os root-device) + (operating-system-user-kernel-arguments os))) ;;; @@ -328,14 +325,11 @@ format is unrecognized. The object has its kernel-arguments extended in order to make it bootable." (let* ((file (string-append system "/parameters")) (params (call-with-input-file file read-boot-parameters)) - (root (boot-parameters-root-device params)) - (kernel-arguments (boot-parameters-kernel-arguments params))) - (if params - (boot-parameters - (inherit params) - (kernel-arguments (bootable-kernel-arguments kernel-arguments - system root))) - #f))) + (root (boot-parameters-root-device params))) + (boot-parameters + (inherit params) + (kernel-arguments (append (bootable-kernel-arguments system root) + (boot-parameters-kernel-arguments params)))))) (define (boot-parameters->menu-entry conf) (menu-entry @@ -448,7 +442,7 @@ value of the SYSTEM-SERVICE-TYPE service." (return `(("locale" ,locale))) (mlet %store-monad ((kernel -> (operating-system-kernel os)) - (initrd (operating-system-initrd-file os)) + (initrd -> (operating-system-initrd-file os)) (params (operating-system-boot-parameters-file os))) (return `(("kernel" ,kernel) ("parameters" ,params) @@ -876,12 +870,11 @@ hardware-related operations as necessary when booting a Linux container." (define make-initrd (operating-system-initrd os)) - (mlet %store-monad ((initrd (make-initrd boot-file-systems - #:linux (operating-system-kernel os) - #:linux-modules - (operating-system-initrd-modules os) - #:mapped-devices mapped-devices))) - (return (file-append initrd "/initrd")))) + (make-initrd boot-file-systems + #:linux (operating-system-kernel os) + #:linux-modules + (operating-system-initrd-modules os) + #:mapped-devices mapped-devices)) (define (locale-name->definition* name) "Variant of 'locale-name->definition' that raises an error upon failure." @@ -939,42 +932,45 @@ listed in OS. The C library expects to find it under (store-file-system (operating-system-file-systems os))) (define* (operating-system-bootcfg os #:optional (old-entries '())) - "Return the bootloader configuration file for OS. Use OLD-ENTRIES -(which is a list of ) to populate the \"old entries\" menu." - (mlet* %store-monad - ((system (operating-system-derivation os)) - (root-fs -> (operating-system-root-file-system os)) - (root-device -> (file-system-device root-fs)) - (params (operating-system-boot-parameters os system root-device)) - (entry -> (boot-parameters->menu-entry params)) - (bootloader-conf -> (operating-system-bootloader os))) - ((bootloader-configuration-file-generator - (bootloader-configuration-bootloader bootloader-conf)) - bootloader-conf (list entry) #:old-entries old-entries))) + "Return the bootloader configuration file for OS. Use OLD-ENTRIES, +a list of , to populate the \"old entries\" menu." + (let* ((root-fs (operating-system-root-file-system os)) + (root-device (file-system-device root-fs)) + (params (operating-system-boot-parameters + os root-device + #:system-kernel-arguments? #t)) + (entry (boot-parameters->menu-entry params)) + (bootloader-conf (operating-system-bootloader os))) + (define generate-config-file + (bootloader-configuration-file-generator + (bootloader-configuration-bootloader bootloader-conf))) -(define (operating-system-boot-parameters os system.drv root-device) - "Return a monadic record that describes the boot parameters -of OS. SYSTEM.DRV is either a derivation or #f. If it's a derivation, adds -kernel arguments for that derivation to ." - (mlet* %store-monad - ((initrd (operating-system-initrd-file os)) - (store -> (operating-system-store-file-system os)) - (bootloader -> (bootloader-configuration-bootloader - (operating-system-bootloader os))) - (bootloader-name -> (bootloader-name bootloader)) - (label -> (kernel->boot-label (operating-system-kernel os)))) - (return (boot-parameters - (label label) - (root-device root-device) - (kernel (operating-system-kernel-file os)) - (kernel-arguments - (if system.drv - (operating-system-kernel-arguments os system.drv root-device) - (operating-system-user-kernel-arguments os))) - (initrd initrd) - (bootloader-name bootloader-name) - (store-device (ensure-not-/dev (file-system-device store))) - (store-mount-point (file-system-mount-point store)))))) + (generate-config-file bootloader-conf (list entry) + #:old-entries old-entries))) + +(define* (operating-system-boot-parameters os root-device + #:key system-kernel-arguments?) + "Return a monadic record that describes the boot +parameters of OS. When SYSTEM-KERNEL-ARGUMENTS? is true, add kernel arguments +such as '--root' and '--load' to ." + (let* ((initrd (operating-system-initrd-file os)) + (store (operating-system-store-file-system os)) + (bootloader (bootloader-configuration-bootloader + (operating-system-bootloader os))) + (bootloader-name (bootloader-name bootloader)) + (label (kernel->boot-label (operating-system-kernel os)))) + (boot-parameters + (label label) + (root-device root-device) + (kernel (operating-system-kernel-file os)) + (kernel-arguments + (if system-kernel-arguments? + (operating-system-kernel-arguments os root-device) + (operating-system-user-kernel-arguments os))) + (initrd initrd) + (bootloader-name bootloader-name) + (store-device (ensure-not-/dev (file-system-device store))) + (store-mount-point (file-system-mount-point store))))) (define (device->sexp device) "Serialize DEVICE as an sexp (really, as an object with a read syntax.)" @@ -986,19 +982,22 @@ kernel arguments for that derivation to ." (_ device))) -(define* (operating-system-boot-parameters-file os #:optional (system.drv #f)) +(define* (operating-system-boot-parameters-file os + #:key system-kernel-arguments?) "Return a file that describes the boot parameters of OS. The primary use of this file is the reconstruction of GRUB menu entries for old configurations. -SYSTEM.DRV is optional. If given, adds kernel arguments for that system to the -returned file (since the returned file is then usually stored into the -content-addressed \"system\" directory, it's usually not a good idea -to give it because the content hash would change by the content hash + +When SYSTEM-KERNEL-ARGUMENTS? is true, add kernel arguments such as '--root' +and '--load' to the returned file (since the returned file is then usually +stored into the content-addressed \"system\" directory, it's usually not a +good idea to give it because the content hash would change by the content hash being stored into the \"parameters\" file)." - (mlet* %store-monad ((root -> (operating-system-root-file-system os)) - (device -> (file-system-device root)) - (params (operating-system-boot-parameters os - system.drv - device))) + (let* ((root (operating-system-root-file-system os)) + (device (file-system-device root)) + (params (operating-system-boot-parameters + os device + #:system-kernel-arguments? + system-kernel-arguments?))) (gexp->file "parameters" #~(boot-parameters (version 0) diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare-bones.tmpl index 889dcabe64..902dacbe57 100644 --- a/gnu/system/examples/bare-bones.tmpl +++ b/gnu/system/examples/bare-bones.tmpl @@ -3,7 +3,7 @@ (use-modules (gnu)) (use-service-modules networking ssh) -(use-package-modules screen ssh) +(use-package-modules screen) (operating-system (host-name "komputilo") @@ -40,7 +40,7 @@ %base-user-accounts)) ;; Globally-installed packages. - (packages (cons* screen openssh %base-packages)) + (packages (cons screen %base-packages)) ;; Add services to the baseline: a DHCP client and ;; an SSH server. diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl index ea21e1df66..1b8d46afaf 100644 --- a/gnu/system/examples/desktop.tmpl +++ b/gnu/system/examples/desktop.tmpl @@ -26,7 +26,7 @@ (type luks-device-mapping)))) (file-systems (cons (file-system - (device "my-root") + (device (file-system-label "my-root")) (mount-point "/") (type "ext4") (dependencies mapped-devices)) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index a648ddf95e..c345ba0626 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -53,6 +53,7 @@ nintendo-nes-classic-edition-installation-os novena-installation-os pine64-plus-installation-os + pinebook-installation-os rk3399-puma-installation-os wandboard-installation-os os-with-u-boot)) @@ -249,7 +250,7 @@ You have been warned. Thanks for being so brave.\x1b[0m ;; The usual services. (syslog-service) - ;; The build daemon. Register the hydra.gnu.org key as trusted. + ;; The build daemon. Register the official server keys as trusted. ;; This allows the installation process to use substitutes by ;; default. (guix-service (guix-configuration (authorize-key? #t))) @@ -473,6 +474,11 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET." "/dev/mmcblk0" ; SD card storage "ttyS0")) +(define pinebook-installation-os + (embedded-installation-os u-boot-pinebook-bootloader + "/dev/mmcblk0" ; SD card storage + "ttyS0")) + (define rk3399-puma-installation-os (embedded-installation-os u-boot-puma-rk3399-bootloader "/dev/mmcblk0" ; SD card storage diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index a5a111908f..983c6d81c8 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -20,8 +20,6 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu system linux-initrd) - #:use-module (guix monads) - #:use-module (guix store) #:use-module (guix gexp) #:use-module (guix utils) #:use-module ((guix store) @@ -63,7 +61,7 @@ (gzip gzip) (name "guile-initrd") (system (%current-system))) - "Return a derivation that builds a Linux initrd (a gzipped cpio archive) + "Return as a file-like object a Linux initrd (a gzipped cpio archive) containing GUILE and that evaluates EXP, a G-expression, upon booting. All the derivations referenced by EXP are automatically copied to the initrd." @@ -93,15 +91,17 @@ the derivations referenced by EXP are automatically copied to the initrd." (lambda (port) (simple-format port "~A\n" #$guile))) - (build-initrd (string-append #$output "/initrd") + (build-initrd (string-append #$output "/initrd.cpio.gz") #:guile #$guile #:init #$init ;; Copy everything INIT refers to into the initrd. #:references-graphs '("closure") #:gzip (string-append #$gzip "/bin/gzip"))))) - (gexp->derivation name builder - #:references-graphs `(("closure" ,init)))) + (file-append (computed-file name builder + #:options + `(#:references-graphs (("closure" ,init)))) + "/initrd.cpio.gz")) (define (flat-linux-module-directory linux modules) "Return a flat directory containing the Linux kernel modules listed in @@ -143,7 +143,7 @@ MODULES and taken from LINUX." qemu-networking? volatile-root? (on-error 'debug)) - "Return a monadic derivation that builds a raw initrd, with kernel + "Return as a file-like object a raw initrd, with kernel modules taken from LINUX. FILE-SYSTEMS is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via '--root'. LINUX-MODULES is a list of kernel @@ -294,7 +294,7 @@ FILE-SYSTEMS." volatile-root? (extra-modules '()) ;deprecated (on-error 'debug)) - "Return a monadic derivation that builds a generic initrd, with kernel + "Return as a file-like object a generic initrd, with kernel modules taken from LINUX. FILE-SYSTEMS is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via '--root'. MAPPED-DEVICES is a list of device diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index a1b595d45d..9400e6310d 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -189,14 +189,12 @@ made available under the /xchg CIFS share." #~(when (zero? (system* #$user-builder)) (reboot)))) - (mlet* %store-monad - ((initrd (if initrd ; use the default initrd? - (return initrd) - (base-initrd file-systems - #:on-error 'backtrace - #:linux linux - #:linux-modules %base-initrd-modules - #:qemu-networking? #t)))) + (let ((initrd (or initrd + (base-initrd file-systems + #:on-error 'backtrace + #:linux linux + #:linux-modules %base-initrd-modules + #:qemu-networking? #t)))) (define builder ;; Code that launches the VM that evaluates EXP. @@ -215,7 +213,7 @@ made available under the /xchg CIFS share." (let* ((inputs '#$(list qemu (canonical-package coreutils))) (linux (string-append #$linux "/" #$(system-linux-image-file-name))) - (initrd (string-append #$initrd "/initrd")) + (initrd #$initrd) (loader #$loader) (graphs '#$(match references-graphs (((graph-files . _) ...) graph-files) @@ -254,7 +252,7 @@ made available under the /xchg CIFS share." file-system-uuid (system (%current-system)) (qemu qemu-minimal) - os-drv + os bootcfg-drv bootloader register-closures? @@ -302,7 +300,7 @@ INPUTS is a list of inputs (as for packages)." (set-path-environment-variable "PATH" '("bin" "sbin") inputs) (make-iso9660-image #$(bootloader-package bootloader) #$bootcfg-drv - #$os-drv + #$os "/xchg/guixsd.iso" #:register-closures? #$register-closures? #:closures graphs @@ -331,7 +329,7 @@ INPUTS is a list of inputs (as for packages)." (file-system-type "ext4") file-system-label file-system-uuid - os-drv + os bootcfg-drv bootloader (register-closures? #t) @@ -397,7 +395,7 @@ the image." #:closures graphs #:copy-closures? #$copy-inputs? #:register-closures? #$register-closures? - #:system-directory #$os-drv + #:system-directory #$os ;; Disable deduplication to speed things up, ;; and because it doesn't help much for a @@ -627,56 +625,54 @@ to USB sticks meant to be read-only." (string=? (file-system-mount-point fs) "/")) (operating-system-file-systems os))) - (let ((os (operating-system (inherit os) - ;; Since this is meant to be used on real hardware, don't - ;; install QEMU networking or anything like that. Assume USB - ;; mass storage devices (usb-storage.ko) are available. - (initrd (lambda (file-systems . rest) - (apply (operating-system-initrd os) - file-systems - #:volatile-root? #t - rest))) + (let* ((os (operating-system (inherit os) + ;; Since this is meant to be used on real hardware, don't + ;; install QEMU networking or anything like that. Assume USB + ;; mass storage devices (usb-storage.ko) are available. + (initrd (lambda (file-systems . rest) + (apply (operating-system-initrd os) + file-systems + #:volatile-root? #t + rest))) - (bootloader (if (string=? "iso9660" file-system-type) - (bootloader-configuration - (inherit (operating-system-bootloader os)) - (bootloader grub-mkrescue-bootloader)) - (operating-system-bootloader os))) + (bootloader (if (string=? "iso9660" file-system-type) + (bootloader-configuration + (inherit (operating-system-bootloader os)) + (bootloader grub-mkrescue-bootloader)) + (operating-system-bootloader os))) - ;; Force our own root file system. - (file-systems (cons (file-system - (mount-point "/") - (device root-uuid) - (type file-system-type)) - file-systems-to-keep))))) - - (mlet* %store-monad ((os-drv (operating-system-derivation os)) - (bootcfg (operating-system-bootcfg os))) - (if (string=? "iso9660" file-system-type) - (iso9660-image #:name name - #:file-system-label root-label - #:file-system-uuid root-uuid - #:os-drv os-drv - #:register-closures? #t - #:bootcfg-drv bootcfg - #:bootloader (bootloader-configuration-bootloader - (operating-system-bootloader os)) - #:inputs `(("system" ,os-drv) - ("bootcfg" ,bootcfg))) - (qemu-image #:name name - #:os-drv os-drv - #:bootcfg-drv bootcfg - #:bootloader (bootloader-configuration-bootloader - (operating-system-bootloader os)) - #:disk-image-size disk-image-size - #:disk-image-format "raw" - #:file-system-type file-system-type - #:file-system-label root-label - #:file-system-uuid root-uuid - #:copy-inputs? #t - #:register-closures? #t - #:inputs `(("system" ,os-drv) - ("bootcfg" ,bootcfg))))))) + ;; Force our own root file system. + (file-systems (cons (file-system + (mount-point "/") + (device root-uuid) + (type file-system-type)) + file-systems-to-keep)))) + (bootcfg (operating-system-bootcfg os))) + (if (string=? "iso9660" file-system-type) + (iso9660-image #:name name + #:file-system-label root-label + #:file-system-uuid root-uuid + #:os os + #:register-closures? #t + #:bootcfg-drv bootcfg + #:bootloader (bootloader-configuration-bootloader + (operating-system-bootloader os)) + #:inputs `(("system" ,os) + ("bootcfg" ,bootcfg))) + (qemu-image #:name name + #:os os + #:bootcfg-drv bootcfg + #:bootloader (bootloader-configuration-bootloader + (operating-system-bootloader os)) + #:disk-image-size disk-image-size + #:disk-image-format "raw" + #:file-system-type file-system-type + #:file-system-label root-label + #:file-system-uuid root-uuid + #:copy-inputs? #t + #:register-closures? #t + #:inputs `(("system" ,os) + ("bootcfg" ,bootcfg)))))) (define* (system-qemu-image os #:key @@ -702,30 +698,28 @@ of the GNU system as described by OS." 'dce))) - (let ((os (operating-system (inherit os) - ;; Assume we have an initrd with the whole QEMU shebang. + (let* ((os (operating-system (inherit os) + ;; Assume we have an initrd with the whole QEMU shebang. - ;; Force our own root file system. Refer to it by UUID so that - ;; it works regardless of how the image is used ("qemu -hda", - ;; Xen, etc.). - (file-systems (cons (file-system - (mount-point "/") - (device root-uuid) - (type file-system-type)) - file-systems-to-keep))))) - (mlet* %store-monad - ((os-drv (operating-system-derivation os)) - (bootcfg (operating-system-bootcfg os))) - (qemu-image #:os-drv os-drv - #:bootcfg-drv bootcfg - #:bootloader (bootloader-configuration-bootloader - (operating-system-bootloader os)) - #:disk-image-size disk-image-size - #:file-system-type file-system-type - #:file-system-uuid root-uuid - #:inputs `(("system" ,os-drv) - ("bootcfg" ,bootcfg)) - #:copy-inputs? #t)))) + ;; Force our own root file system. Refer to it by UUID so that + ;; it works regardless of how the image is used ("qemu -hda", + ;; Xen, etc.). + (file-systems (cons (file-system + (mount-point "/") + (device root-uuid) + (type file-system-type)) + file-systems-to-keep)))) + (bootcfg (operating-system-bootcfg os))) + (qemu-image #:os os + #:bootcfg-drv bootcfg + #:bootloader (bootloader-configuration-bootloader + (operating-system-bootloader os)) + #:disk-image-size disk-image-size + #:file-system-type file-system-type + #:file-system-uuid root-uuid + #:inputs `(("system" ,os) + ("bootcfg" ,bootcfg)) + #:copy-inputs? #t))) ;;; @@ -829,25 +823,26 @@ bootloader refers to: OS kernel, initrd, bootloader data, etc." ;; Use a fixed UUID to improve determinism. (operating-system-uuid os 'dce)) - (mlet* %store-monad ((os-drv (operating-system-derivation os)) - (bootcfg (operating-system-bootcfg os))) - ;; XXX: When FULL-BOOT? is true, we end up creating an image that contains - ;; BOOTCFG and all its dependencies, including the output of OS-DRV. - ;; This is more than needed (we only need the kernel, initrd, GRUB for its - ;; font, and the background image), but it's hard to filter that. - (qemu-image #:os-drv os-drv - #:bootcfg-drv bootcfg - #:bootloader (bootloader-configuration-bootloader - (operating-system-bootloader os)) - #:disk-image-size disk-image-size - #:file-system-uuid root-uuid - #:inputs (if full-boot? - `(("bootcfg" ,bootcfg)) - '()) + (define bootcfg + (operating-system-bootcfg os)) - ;; XXX: Passing #t here is too slow, so let it off by default. - #:register-closures? #f - #:copy-inputs? full-boot?))) + ;; XXX: When FULL-BOOT? is true, we end up creating an image that contains + ;; BOOTCFG and all its dependencies, including the output of OS. + ;; This is more than needed (we only need the kernel, initrd, GRUB for its + ;; font, and the background image), but it's hard to filter that. + (qemu-image #:os os + #:bootcfg-drv bootcfg + #:bootloader (bootloader-configuration-bootloader + (operating-system-bootloader os)) + #:disk-image-size disk-image-size + #:file-system-uuid root-uuid + #:inputs (if full-boot? + `(("bootcfg" ,bootcfg)) + '()) + + ;; XXX: Passing #t here is too slow, so let it off by default. + #:register-closures? #f + #:copy-inputs? full-boot?)) (define* (common-qemu-options image shared-fs) "Return the a string-value gexp with the common QEMU options to boot IMAGE, @@ -897,21 +892,20 @@ bootloader; otherwise it directly starts the operating system kernel. The DISK-IMAGE-SIZE parameter specifies the size in bytes of the root disk image; it is mostly useful when FULL-BOOT? is true." (mlet* %store-monad ((os -> (virtualized-operating-system os mappings full-boot?)) - (os-drv (operating-system-derivation os)) (image (system-qemu-image/shared-store os #:full-boot? full-boot? #:disk-image-size disk-image-size))) (define kernel-arguments #~(list #$@(if graphic? #~() #~("console=ttyS0")) - #+@(operating-system-kernel-arguments os os-drv "/dev/vda1"))) + #+@(operating-system-kernel-arguments os "/dev/vda1"))) (define qemu-exec #~(list (string-append #$qemu "/bin/" #$(qemu-command (%current-system))) #$@(if full-boot? #~() #~("-kernel" #$(operating-system-kernel-file os) - "-initrd" #$(file-append os-drv "/initrd") + "-initrd" #$(file-append os "/initrd") (format #f "-append ~s" (string-join #$kernel-arguments " ")))) #$@(common-qemu-options image diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm index 896d4a8f88..03392cef38 100644 --- a/gnu/tests/base.scm +++ b/gnu/tests/base.scm @@ -154,10 +154,15 @@ info --version") (#f (reverse result)) (x (loop (cons x result)))))) marionette))) - (lset= string=? - (map passwd:name users) + (lset= equal? + (map (lambda (user) + (list (passwd:name user) + (passwd:dir user))) + users) (list - #$@(map user-account-name + #$@(map (lambda (account) + `(list ,(user-account-name account) + ,(user-account-home-directory account))) (operating-system-user-accounts os)))))) (test-assert "shepherd services" @@ -335,6 +340,20 @@ info --version") (x (pk 'failure x #f)))) + (test-equal "nscd invalidate action" + '(#t) ;one value, #t + (marionette-eval '(with-shepherd-action 'nscd ('invalidate "hosts") + result + result) + marionette)) + + (test-equal "nscd invalidate action, wrong table" + '(#f) ;one value, #f + (marionette-eval '(with-shepherd-action 'nscd ('invalidate "xyz") + result + result) + marionette)) + (test-equal "host not found" #f (marionette-eval diff --git a/gnu/tests/desktop.scm b/gnu/tests/desktop.scm index be64c4e7e5..6aa22fd49b 100644 --- a/gnu/tests/desktop.scm +++ b/gnu/tests/desktop.scm @@ -50,7 +50,7 @@ ;; Log in as root on tty1, and check what 'loginctl' returns. (test-equal "login on tty1" - '(("c1" "0" "root" "seat0" "/dev/tty1") ;session + '(("c1" "0" "root" "seat0" "tty1") ;session ("seat0") ;seat ("0" "root")) ;user diff --git a/gnu/tests/install.scm b/gnu/tests/install.scm index 4764ffffde..72e5523942 100644 --- a/gnu/tests/install.scm +++ b/gnu/tests/install.scm @@ -149,7 +149,7 @@ export GUIX_BUILD_OPTIONS=--no-grafts guix build isc-dhcp parted --script /dev/vdb mklabel gpt \\ mkpart primary ext2 1M 3M \\ - mkpart primary ext2 3M 1G \\ + mkpart primary ext2 3M 1.2G \\ set 1 boot on \\ set 1 bios_grub on mkfs.ext4 -L my-root /dev/vdb2 @@ -174,7 +174,7 @@ guix --version export GUIX_BUILD_OPTIONS=--no-grafts guix build isc-dhcp parted --script /dev/vdb mklabel gpt \\ - mkpart ext2 1M 1G \\ + mkpart ext2 1M 1.2G \\ set 1 legacy_boot on mkfs.ext4 -L my-root -O '^64bit' /dev/vdb1 mount /dev/vdb1 /mnt @@ -377,7 +377,7 @@ export GUIX_BUILD_OPTIONS=--no-grafts guix build isc-dhcp parted --script /dev/vda mklabel gpt \\ mkpart primary ext2 1M 3M \\ - mkpart primary ext2 3M 1G \\ + mkpart primary ext2 3M 1.2G \\ set 1 boot on \\ set 1 bios_grub on mkfs.ext4 -L my-root /dev/vda2 @@ -510,7 +510,7 @@ guix build isc-dhcp parted --script /dev/vdb mklabel gpt \\ mkpart primary ext2 1M 3M \\ mkpart primary ext2 3M 100M \\ - mkpart primary ext2 100M 1G \\ + mkpart primary ext2 100M 1.2G \\ set 1 boot on \\ set 1 bios_grub on mkfs.ext4 -L root-fs /dev/vdb2 @@ -676,7 +676,7 @@ export GUIX_BUILD_OPTIONS=--no-grafts ls -l /run/current-system/gc-roots parted --script /dev/vdb mklabel gpt \\ mkpart primary ext2 1M 3M \\ - mkpart primary ext2 3M 1G \\ + mkpart primary ext2 3M 1.2G \\ set 1 boot on \\ set 1 bios_grub on echo -n thepassphrase | \\ diff --git a/guix/build-system/clojure.scm b/guix/build-system/clojure.scm new file mode 100644 index 0000000000..d70535c9e3 --- /dev/null +++ b/guix/build-system/clojure.scm @@ -0,0 +1,195 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Alex Vong +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build-system clojure) + #:use-module (guix build clojure-utils) + #:use-module (guix build-system) + #:use-module (guix build-system ant) + #:use-module ((guix build-system gnu) + #:select (standard-packages) + #:prefix gnu:) + + #:use-module (guix derivations) + #:use-module (guix packages) + #:use-module ((guix search-paths) + #:select + ((search-path-specification->sexp . search-path-spec->sexp))) + #:use-module (guix utils) + + #:use-module (ice-9 match) + #:export (%clojure-build-system-modules + clojure-build + clojure-build-system)) + +;; Commentary: +;; +;; Standard build procedure for Clojure packages. +;; +;; Code: + +(define-with-docs %clojure-build-system-modules + "Build-side modules imported and used by default." + `((guix build clojure-build-system) + (guix build clojure-utils) + (guix build guile-build-system) + ,@%ant-build-system-modules)) + +(define-with-docs %default-clojure + "The default Clojure package." + (delay (@* (gnu packages clojure) clojure))) + +(define-with-docs %default-jdk + "The default JDK package." + (delay (@* (gnu packages java) icedtea))) + +(define-with-docs %default-zip + "The default ZIP package." + (delay (@* (gnu packages compression) zip))) + +(define* (lower name + #:key + source target + inputs native-inputs + (clojure (force %default-clojure)) + (jdk (force %default-jdk)) + (zip (force %default-zip)) + outputs system + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME." + (let ((private-keywords '(#:source #:target + #:inputs #:native-inputs + #:clojure #:jdk #:zip))) + + (if target + (error "No cross-compilation for clojure-build-system yet: LOWER" + target) ; FIXME + (bag (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + ,@(gnu:standard-packages))) + (build-inputs `(("clojure" ,clojure) + ("jdk" ,jdk "jdk") + ("zip" ,zip) + ,@native-inputs)) + (outputs outputs) + (build clojure-build) + (arguments (strip-keyword-arguments private-keywords + arguments)))))) + +(define-with-docs source->output-path + "Convert source input to output path." + (match-lambda + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source))) + +(define-with-docs maybe-guile->guile + "Find the right guile." + (match-lambda + ((and maybe-guile (? package?)) + maybe-guile) + (#f ; default + (@* (gnu packages commencement) guile-final)))) + +(define* (clojure-build store name inputs + #:key + (source-dirs `',%source-dirs) + (test-dirs `',%test-dirs) + (compile-dir %compile-dir) + + (jar-names `',(package-name->jar-names name)) + (main-class %main-class) + (omit-source? %omit-source?) + + (aot-include `',%aot-include) + (aot-exclude `',%aot-exclude) + + doc-dirs ; no sensible default + (doc-regex %doc-regex) + + (tests? %tests?) + (test-include `',%test-include) + (test-exclude `',%test-exclude) + + (phases '(@ (guix build clojure-build-system) + %standard-phases)) + (outputs '("out")) + (search-paths '()) + (system (%current-system)) + (guile #f) + + (imported-modules %clojure-build-system-modules) + (modules %clojure-build-system-modules)) + "Build SOURCE with INPUTS." + (let ((builder `(begin + (use-modules ,@modules) + (clojure-build #:name ,name + #:source ,(source->output-path + (assoc-ref inputs "source")) + + #:source-dirs ,source-dirs + #:test-dirs ,test-dirs + #:compile-dir ,compile-dir + + #:jar-names ,jar-names + #:main-class ,main-class + #:omit-source? ,omit-source? + + #:aot-include ,aot-include + #:aot-exclude ,aot-exclude + + #:doc-dirs ,doc-dirs + #:doc-regex ,doc-regex + + #:tests? ,tests? + #:test-include ,test-include + #:test-exclude ,test-exclude + + #:phases ,phases + #:outputs %outputs + #:search-paths ',(map search-path-spec->sexp + search-paths) + #:system ,system + #:inputs %build-inputs))) + + (guile-for-build (package-derivation store + (maybe-guile->guile guile) + system + #:graft? #f))) + + (build-expression->derivation store name builder + #:inputs inputs + #:system system + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build))) + +(define clojure-build-system + (build-system + (name 'clojure) + (description "Simple Clojure build system using plain old 'compile'") + (lower lower))) + +;;; clojure.scm ends here diff --git a/guix/build-system/ocaml.scm b/guix/build-system/ocaml.scm index 34a22ecffa..e5b715f55d 100644 --- a/guix/build-system/ocaml.scm +++ b/guix/build-system/ocaml.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016, 2017 Julien Lepiller +;;; Copyright © 2016, 2017, 2018 Julien Lepiller ;;; Copyright © 2017 Ben Woodcroft ;;; ;;; This file is part of GNU Guix. @@ -28,7 +28,9 @@ #:use-module (srfi srfi-1) #:export (%ocaml-build-system-modules package-with-ocaml4.01 + package-with-ocaml4.02 strip-ocaml4.01-variant + strip-ocaml4.02-variant ocaml-build ocaml-build-system)) @@ -82,6 +84,14 @@ (let ((module (resolve-interface '(gnu packages ocaml)))) (module-ref module 'ocaml4.01-findlib))) +(define (default-ocaml4.02) + (let ((ocaml (resolve-interface '(gnu packages ocaml)))) + (module-ref ocaml 'ocaml-4.02))) + +(define (default-ocaml4.02-findlib) + (let ((module (resolve-interface '(gnu packages ocaml)))) + (module-ref module 'ocaml4.02-findlib))) + (define* (package-with-explicit-ocaml ocaml findlib old-prefix new-prefix #:key variant-property) "Return a procedure of one argument, P. The procedure creates a package @@ -139,12 +149,24 @@ pre-defined variants." "ocaml-" "ocaml4.01-" #:variant-property 'ocaml4.01-variant)) +(define package-with-ocaml4.02 + (package-with-explicit-ocaml (delay (default-ocaml4.02)) + (delay (default-ocaml4.02-findlib)) + "ocaml-" "ocaml4.02-" + #:variant-property 'ocaml4.02-variant)) + (define (strip-ocaml4.01-variant p) "Remove the 'ocaml4.01-variant' property from P." (package (inherit p) (properties (alist-delete 'ocaml4.01-variant (package-properties p))))) +(define (strip-ocaml4.02-variant p) + "Remove the 'ocaml4.02-variant' property from P." + (package + (inherit p) + (properties (alist-delete 'ocaml4.02-variant (package-properties p))))) + (define* (lower name #:key source inputs native-inputs outputs system target (ocaml (default-ocaml)) diff --git a/guix/build-system/r.scm b/guix/build-system/r.scm index d5f897932f..664515d0ee 100644 --- a/guix/build-system/r.scm +++ b/guix/build-system/r.scm @@ -53,7 +53,7 @@ release corresponding to NAME and VERSION." (list (string-append "https://bioconductor.org/packages/release/bioc/src/contrib/" name "_" version ".tar.gz") ;; TODO: use %bioconductor-version from (guix import cran) - (string-append "https://bioconductor.org/packages/3.7/bioc/src/contrib/Archive/" + (string-append "https://bioconductor.org/packages/3.8/bioc/src/contrib/Archive/" name "_" version ".tar.gz"))) (define %r-build-system-modules diff --git a/guix/build/clojure-build-system.scm b/guix/build/clojure-build-system.scm new file mode 100644 index 0000000000..d8f7c89f85 --- /dev/null +++ b/guix/build/clojure-build-system.scm @@ -0,0 +1,110 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Alex Vong +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build clojure-build-system) + #:use-module ((guix build ant-build-system) + #:select ((%standard-phases . %standard-phases@ant) + ant-build)) + #:use-module (guix build clojure-utils) + #:use-module (guix build java-utils) + #:use-module (guix build utils) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (%standard-phases + clojure-build)) + +;; Commentary: +;; +;; Builder-side code of the standard build procedure for Clojure packages. +;; +;; Code: + +(define* (build #:key + source-dirs compile-dir + jar-names main-class omit-source? + aot-include aot-exclude + #:allow-other-keys) + "Standard 'build' phase for clojure-build-system." + (let* ((libs (append-map find-clojure-libs source-dirs)) + (libs* (include-list\exclude-list aot-include + aot-exclude + #:all-list libs))) + (mkdir-p compile-dir) + (eval-with-clojure `(run! compile ',libs*) + source-dirs) + (let ((source-dir-files-alist (map (lambda (dir) + (cons dir (find-files* dir))) + source-dirs)) + ;; workaround transitive compilation in Clojure + (classes (filter (lambda (class) + (any (cut compiled-from? class <>) + libs*)) + (find-files* compile-dir)))) + (for-each (cut create-jar <> (cons (cons compile-dir classes) + (if omit-source? + '() + source-dir-files-alist)) + #:main-class main-class) + jar-names) + #t))) + +(define* (check #:key + test-dirs + jar-names + tests? test-include test-exclude + #:allow-other-keys) + "Standard 'check' phase for clojure-build-system. Note that TEST-EXCLUDE has +priority over TEST-INCLUDE." + (if tests? + (let* ((libs (append-map find-clojure-libs test-dirs)) + (libs* (include-list\exclude-list test-include + test-exclude + #:all-list libs))) + (for-each (lambda (jar) + (eval-with-clojure `(do (apply require + '(clojure.test ,@libs*)) + (apply clojure.test/run-tests + ',libs*)) + (cons jar test-dirs))) + jar-names))) + #t) + +(define-with-docs install + "Standard 'install' phase for clojure-build-system." + (install-jars "./")) + +(define-with-docs %standard-phases + "Standard build phases for clojure-build-system." + (modify-phases %standard-phases@ant + (replace 'build build) + (replace 'check check) + (replace 'install install) + (add-after 'install-license-files 'install-doc install-doc))) + +(define* (clojure-build #:key + inputs + (phases %standard-phases) + #:allow-other-keys + #:rest args) + "Build the given Clojure package, applying all of PHASES in order." + (apply ant-build + #:inputs inputs + #:phases phases + args)) + +;;; clojure-build-system.scm ends here diff --git a/guix/build/clojure-utils.scm b/guix/build/clojure-utils.scm new file mode 100644 index 0000000000..027777b4d1 --- /dev/null +++ b/guix/build/clojure-utils.scm @@ -0,0 +1,265 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Alex Vong +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build clojure-utils) + #:use-module (guix build utils) + #:use-module (ice-9 ftw) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-8) + #:use-module (srfi srfi-26) + #:export (@* + @@* + define-with-docs + + %doc-regex + install-doc + + %source-dirs + %test-dirs + %compile-dir + package-name->jar-names + %main-class + %omit-source? + %aot-include + %aot-exclude + %tests? + %test-include + %test-exclude + + %clojure-regex + canonicalize-relative-path + find-files* + file-sans-extension + relative-path->clojure-lib-string + find-clojure-libs + compiled-from? + include-list\exclude-list + eval-with-clojure + create-jar)) + +(define-syntax-rule (@* module name) + "Like (@ MODULE NAME), but resolves at run time." + (module-ref (resolve-interface 'module) 'name)) + +(define-syntax-rule (@@* module name) + "Like (@@ MODULE NAME), but resolves at run time." + (module-ref (resolve-module 'module) 'name)) + +(define-syntax-rule (define-with-docs name docs val) + "Create top-level variable named NAME with doc string DOCS and value VAL." + (begin (define name val) + (set-object-property! name 'documentation docs))) + +(define-with-docs %doc-regex + "Default regex for matching the base name of top-level documentation files." + (format #f + "(~a)|(\\.(html|markdown|md|txt)$)" + (@@ (guix build guile-build-system) + %documentation-file-regexp))) + +(define* (install-doc #:key + doc-dirs + (doc-regex %doc-regex) + outputs + #:allow-other-keys) + "Install the following to the default documentation directory: + +1. Top-level files with base name matching DOC-REGEX. +2. All files (recursively) inside DOC-DIRS. + +DOC-REGEX can be compiled or uncompiled." + (let* ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc")) + (name-ver (strip-store-file-name out)) + (dest-dir (string-append (or doc out) "/share/doc/" name-ver "/")) + (doc-regex* (if (string? doc-regex) + (make-regexp doc-regex) + doc-regex))) + (for-each (cut install-file <> dest-dir) + (remove (compose file-exists? + (cut string-append dest-dir <>)) + (scandir "./" (cut regexp-exec doc-regex* <>)))) + (for-each (cut copy-recursively <> dest-dir) + doc-dirs) + #t)) + +(define-with-docs %source-dirs + "A default list of source directories." + '("src/")) + +(define-with-docs %test-dirs + "A default list of test directories." + '("test/")) + +(define-with-docs %compile-dir + "Default directory for holding class files." + "classes/") + +(define (package-name->jar-names name) + "Given NAME, a package name like \"foo-0.9.1b\", +return the list of default jar names: (\"foo-0.9.1b.jar\" \"foo.jar\")." + (map (cut string-append <> ".jar") + (list name + (receive (base-name _) + (package-name->name+version name) + base-name)))) + +(define-with-docs %main-class + "Default name for main class. It should be a symbol or #f." + #f) + +(define-with-docs %omit-source? + "Include source in jars by default." + #f) + +(define-with-docs %aot-include + "A default list of symbols deciding what to compile. Note that the exclude +list has priority over the include list. The special keyword #:all represents +all libraries found under the source directories." + '(#:all)) + +(define-with-docs %aot-exclude + "A default list of symbols deciding what not to compile. +See the doc string of '%aot-include' for more details." + '()) + +(define-with-docs %tests? + "Enable tests by default." + #t) + +(define-with-docs %test-include + "A default list of symbols deciding what tests to include. Note that the +exclude list has priority over the include list. The special keyword #:all +represents all tests found under the test directories." + '(#:all)) + +(define-with-docs %test-exclude + "A default list of symbols deciding what tests to exclude. +See the doc string of '%test-include' for more details." + '()) + +(define-with-docs %clojure-regex + "Default regex for matching the base name of clojure source files." + "\\.cljc?$") + +(define-with-docs canonicalize-relative-path + "Like 'canonicalize-path', but for relative paths. +Canonicalizations requiring the path to exist are omitted." + (let ((remove.. (lambda (ls) + (fold-right (match-lambda* + (((and comp (not "..")) (".." comps ...)) + comps) + ((comp (comps ...)) + (cons comp comps))) + '() + ls)))) + (compose (match-lambda + (() ".") + (ls (string-join ls "/"))) + remove.. + (cut remove (cut member <> '("" ".")) <>) + (cut string-split <> #\/)))) + +(define (find-files* base-dir . args) + "Similar to 'find-files', but with BASE-DIR stripped and result +canonicalized." + (map canonicalize-relative-path + (with-directory-excursion base-dir + (apply find-files "./" args)))) + +;;; FIXME: should be moved to (guix build utils) +(define-with-docs file-sans-extension + "Strip extension from path, if any." + (@@ (guix build guile-build-system) + file-sans-extension)) + +(define (relative-path->clojure-lib-string path) + "Convert PATH to a clojure library string." + (string-map (match-lambda + (#\/ #\.) + (#\_ #\-) + (chr chr)) + (file-sans-extension path))) + +(define* (find-clojure-libs base-dir + #:key (clojure-regex %clojure-regex)) + "Return the list of clojure libraries found under BASE-DIR. + +CLOJURE-REGEX can be compiled or uncompiled." + (map (compose string->symbol + relative-path->clojure-lib-string) + (find-files* base-dir clojure-regex))) + +(define (compiled-from? class lib) + "Given class file CLASS and clojure library symbol LIB, decide if CLASS +results from compiling LIB." + (string-prefix? (symbol->string lib) + (relative-path->clojure-lib-string class))) + +(define* (include-list\exclude-list include-list exclude-list + #:key all-list) + "Given INCLUDE-LIST and EXCLUDE-LIST, replace all occurences of #:all by +slicing ALL-LIST into them and compute their list difference." + (define (replace-#:all ls all-ls) + (append-map (match-lambda + (#:all all-ls) + (x (list x))) + ls)) + (let ((include-list* (replace-#:all include-list all-list)) + (exclude-list* (replace-#:all exclude-list all-list))) + (lset-difference equal? include-list* exclude-list*))) + +(define (eval-with-clojure expr extra-paths) + "Evaluate EXPR with clojure. + +EXPR must be a s-expression writable by guile and readable by clojure. +For examples, '(require '[clojure.string]) will not work, +because the guile writer converts brackets to parentheses. + +EXTRA-PATHS is a list of paths which will be appended to $CLASSPATH." + (let* ((classpath (getenv "CLASSPATH")) + (classpath* (string-join (cons classpath extra-paths) ":"))) + (invoke "java" + "-classpath" classpath* + "clojure.main" + "--eval" (object->string expr)))) + +(define* (create-jar output-jar dir-files-alist + #:key + (verbose? #t) + (compress? #f) + (main-class %main-class)) + "Given DIR-FILES-ALIST, an alist of the form: ((DIR . FILES) ...) +Create jar named OUTPUT-JAR from FILES with DIR stripped." + (let ((grouped-options (string-append "c" + (if verbose? "v" "") + "f" + (if compress? "" "0") + (if main-class "e" "")))) + (apply invoke `("jar" + ,grouped-options + ,output-jar + ,@(if main-class (list (symbol->string main-class)) '()) + ,@(append-map (match-lambda + ((dir . files) + (append-map (lambda (file) + `("-C" ,dir ,file)) + files))) + dir-files-alist))))) diff --git a/guix/build/dub-build-system.scm b/guix/build/dub-build-system.scm index 9a72e3d544..3ab50733de 100644 --- a/guix/build/dub-build-system.scm +++ b/guix/build/dub-build-system.scm @@ -67,7 +67,8 @@ (symlink (string-append path "/lib/dub/" d-basename) (string-append vendor-dir "/" d-basename)))))))) inputs) - (zero? (system* "dub" "add-path" vendor-dir)))) + (invoke "dub" "add-path" vendor-dir) + #t)) (define (grep string file-name) "Find the first occurrence of STRING in the file named FILE-NAME. @@ -88,24 +89,22 @@ (define* (build #:key (dub-build-flags '()) #:allow-other-keys) "Build a given DUB package." - (if (or (grep* "sourceLibrary" "package.json") - (grep* "sourceLibrary" "dub.sdl") ; note: format is different! - (grep* "sourceLibrary" "dub.json")) - #t - (let ((status (zero? (apply system* `("dub" "build" ,@dub-build-flags))))) - (substitute* ".dub/dub.json" - (("\"lastUpgrade\": \"[^\"]*\"") - "\"lastUpgrade\": \"1970-01-01T00:00:00.0000000\"")) - status))) + (unless (or (grep* "sourceLibrary" "package.json") + (grep* "sourceLibrary" "dub.sdl") ; note: format is different! + (grep* "sourceLibrary" "dub.json")) + (apply invoke `("dub" "build" ,@dub-build-flags)) + (substitute* ".dub/dub.json" + (("\"lastUpgrade\": \"[^\"]*\"") + "\"lastUpgrade\": \"1970-01-01T00:00:00.0000000\""))) + #t) (define* (check #:key tests? #:allow-other-keys) - (if tests? - (let ((status (zero? (system* "dub" "test")))) - (substitute* ".dub/dub.json" - (("\"lastUpgrade\": \"[^\"]*\"") - "\"lastUpgrade\": \"1970-01-01T00:00:00.0000000\"")) - status) - #t)) + (when tests? + (invoke "dub" "test") + (substitute* ".dub/dub.json" + (("\"lastUpgrade\": \"[^\"]*\"") + "\"lastUpgrade\": \"1970-01-01T00:00:00.0000000\""))) + #t) (define* (install #:key inputs outputs #:allow-other-keys) "Install a given DUB package." diff --git a/guix/build/git.scm b/guix/build/git.scm index 14d415a6f8..2d1700a9b9 100644 --- a/guix/build/git.scm +++ b/guix/build/git.scm @@ -45,6 +45,8 @@ recursively. Return #t on success, #f otherwise." (if (zero? (system* git-command "fetch" "--depth" "1" "origin" commit)) (invoke git-command "checkout" "FETCH_HEAD") (begin + (setvbuf (current-output-port) 'line) + (format #t "Failed to do a shallow fetch; retrying a full fetch...~%") (invoke git-command "fetch" "origin") (invoke git-command "checkout" commit))) (when recursive? diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm index 6be0167063..022d4fe16b 100644 --- a/guix/build/go-build-system.scm +++ b/guix/build/go-build-system.scm @@ -204,6 +204,9 @@ respectively." $GOPATH/pkg, so we have to copy them into the output directory manually. Compiled executable files should have already been installed to the store based on $GOBIN in the build phase." + ;; TODO: From go-1.10 onward, the pkg folder should not be needed (see + ;; https://lists.gnu.org/archive/html/guix-devel/2018-11/msg00208.html). + ;; Remove it? (when (file-exists? "pkg") (copy-recursively "pkg" (string-append (assoc-ref outputs "out") "/pkg"))) #t) diff --git a/guix/build/haskell-build-system.scm b/guix/build/haskell-build-system.scm index 7b556f6431..23d97e6602 100644 --- a/guix/build/haskell-build-system.scm +++ b/guix/build/haskell-build-system.scm @@ -239,7 +239,7 @@ given Haskell package." (list (string-append "--gen-pkg-config=" config-file)))) (run-setuphs "register" params) ;; The conf file is created only when there is a library to register. - (unless (file-exists? config-file) + (when (file-exists? config-file) (mkdir-p config-dir) (let* ((config-file-name+id (call-with-ascii-input-file config-file (cut grep id-rx <>)))) diff --git a/guix/build/hg.scm b/guix/build/hg.scm index ea51eb670b..b3e3ff7ac3 100644 --- a/guix/build/hg.scm +++ b/guix/build/hg.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2018 Mark H Weaver +;;; Copyright © 2018 Björn Höfling ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,8 +46,10 @@ Mercurial changeset identifier. Return #t on success, #f otherwise." ;; The contents of '.hg' vary as a function of the current ;; status of the Mercurial repo. Since we want a fixed ;; output, this directory needs to be taken out. - (with-directory-excursion directory - (delete-file-recursively ".hg")) + ;; Since the '.hg' file is also in sub-modules, we have to + ;; search for it in all sub-directories. + (for-each delete-file-recursively + (find-files directory "^\\.hg$" #:directories? #t)) #t) diff --git a/guix/build/ocaml-build-system.scm b/guix/build/ocaml-build-system.scm index d10431d8ef..99111ad300 100644 --- a/guix/build/ocaml-build-system.scm +++ b/guix/build/ocaml-build-system.scm @@ -49,37 +49,40 @@ '()) ,@configure-flags))) (format #t "running 'setup.ml' with arguments ~s~%" args) - (zero? (apply system* "ocaml" "setup.ml" args))) + (apply invoke "ocaml" "setup.ml" args)) (let ((args `("-prefix" ,out ,@configure-flags))) (format #t "running 'configure' with arguments ~s~%" args) - (zero? (apply system* "./configure" args)))))) + (apply invoke "./configure" args)))) + #t) (define* (build #:key inputs outputs (build-flags '()) (make-flags '()) (use-make? #f) #:allow-other-keys) "Build the given package." (if (and (file-exists? "setup.ml") (not use-make?)) - (zero? (apply system* "ocaml" "setup.ml" "-build" build-flags)) + (apply invoke "ocaml" "setup.ml" "-build" build-flags) (if (file-exists? "Makefile") - (zero? (apply system* "make" make-flags)) + (apply invoke "make" make-flags) (let ((file (if (file-exists? "pkg/pkg.ml") "pkg/pkg.ml" "pkg/build.ml"))) - (zero? (apply system* "ocaml" "-I" - (string-append (assoc-ref inputs "findlib") - "/lib/ocaml/site-lib") - file build-flags)))))) + (apply invoke "ocaml" "-I" + (string-append (assoc-ref inputs "findlib") + "/lib/ocaml/site-lib") + file build-flags)))) + #t) (define* (check #:key inputs outputs (make-flags '()) (test-target "test") tests? (use-make? #f) #:allow-other-keys) "Install the given package." (when tests? (if (and (file-exists? "setup.ml") (not use-make?)) - (zero? (system* "ocaml" "setup.ml" (string-append "-" test-target))) + (invoke "ocaml" "setup.ml" (string-append "-" test-target)) (if (file-exists? "Makefile") - (zero? (apply system* "make" test-target make-flags)) + (apply invoke "make" test-target make-flags) (let ((file (if (file-exists? "pkg/pkg.ml") "pkg/pkg.ml" "pkg/build.ml"))) - (zero? (system* "ocaml" "-I" - (string-append (assoc-ref inputs "findlib") - "/lib/ocaml/site-lib") - file test-target))))))) + (invoke "ocaml" "-I" + (string-append (assoc-ref inputs "findlib") + "/lib/ocaml/site-lib") + file test-target))))) + #t) (define* (install #:key outputs (build-flags '()) (make-flags '()) (use-make? #f) (install-target "install") @@ -87,17 +90,19 @@ "Install the given package." (let ((out (assoc-ref outputs "out"))) (if (and (file-exists? "setup.ml") (not use-make?)) - (zero? (apply system* "ocaml" "setup.ml" - (string-append "-" install-target) build-flags)) + (apply invoke "ocaml" "setup.ml" + (string-append "-" install-target) build-flags) (if (file-exists? "Makefile") - (zero? (apply system* "make" install-target make-flags)) - (zero? (system* "opam-installer" "-i" (string-append "--prefix=" out) - (string-append "--libdir=" out "/lib/ocaml/site-lib"))))))) + (apply invoke "make" install-target make-flags) + (invoke "opam-installer" "-i" (string-append "--prefix=" out) + (string-append "--libdir=" out "/lib/ocaml/site-lib"))))) + #t) (define* (prepare-install #:key outputs #:allow-other-keys) "Prepare for building the given package." (mkdir-p (string-append (assoc-ref outputs "out") "/lib/ocaml/site-lib")) - (mkdir-p (string-append (assoc-ref outputs "out") "/bin"))) + (mkdir-p (string-append (assoc-ref outputs "out") "/bin")) + #t) (define %standard-phases ;; Everything is as with the GNU Build System except for the `configure' diff --git a/guix/build/store-copy.scm b/guix/build/store-copy.scm index 64ade7885c..549aa4f28b 100644 --- a/guix/build/store-copy.scm +++ b/guix/build/store-copy.scm @@ -168,6 +168,28 @@ REFERENCE-GRAPHS, a list of reference-graph files." (reduce + 0 (map file-size items))) +(define (reset-permissions file) + "Reset the permissions on FILE and its sub-directories so that they are all +read-only." + ;; XXX: This procedure exists just to work around the inability of + ;; 'copy-recursively' to preserve permissions. + (file-system-fold (const #t) ;enter? + (lambda (file stat _) ;leaf + (unless (eq? 'symlink (stat:type stat)) + (chmod file + (if (zero? (logand (stat:mode stat) + #o100)) + #o444 + #o555)))) + (const #t) ;down + (lambda (directory stat _) ;up + (chmod directory #o555)) + (const #f) ;skip + (const #f) ;error + #t + file + lstat)) + (define* (populate-store reference-graphs target #:key (log-port (current-error-port))) "Populate the store under directory TARGET with the items specified in @@ -197,7 +219,13 @@ REFERENCE-GRAPHS, a list of reference-graph files." (for-each (lambda (thing) (copy-recursively thing (string-append target thing) + #:keep-mtime? #t #:log (%make-void-port "w")) + + ;; XXX: Since 'copy-recursively' doesn't allow us to + ;; preserve permissions, we have to traverse TARGET to + ;; make sure everything is read-only. + (reset-permissions (string-append target thing)) (report)) things))))) diff --git a/guix/channels.scm b/guix/channels.scm index 82389eb583..75503bb0ae 100644 --- a/guix/channels.scm +++ b/guix/channels.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (guix store) #:use-module (guix i18n) #:use-module (srfi srfi-1) + #:use-module (srfi srfi-2) #:use-module (srfi srfi-9) #:use-module (srfi srfi-11) #:autoload (guix self) (whole-package) @@ -47,6 +49,7 @@ channel-instance-checkout latest-channel-instances + checkout->channel-instance latest-channel-derivation channel-instances->manifest channel-instances->derivation)) @@ -72,7 +75,6 @@ (commit channel-commit (default #f)) (location channel-location (default (current-source-location)) (innate))) -;; TODO: Add a way to express dependencies among channels. (define %default-channels ;; Default list of channels. @@ -92,6 +94,12 @@ (commit channel-instance-commit) (checkout channel-instance-checkout)) +(define-record-type + (channel-metadata version dependencies) + channel-metadata? + (version channel-metadata-version) + (dependencies channel-metadata-dependencies)) + (define (channel-reference channel) "Return the \"reference\" for CHANNEL, an sexp suitable for 'latest-repository-commit'." @@ -99,20 +107,101 @@ (#f `(branch . ,(channel-branch channel))) (commit `(commit . ,(channel-commit channel))))) -(define (latest-channel-instances store channels) +(define (read-channel-metadata instance) + "Return a channel-metadata record read from the channel INSTANCE's +description file, or return #F if the channel instance does not include the +file." + (let* ((source (channel-instance-checkout instance)) + (meta-file (string-append source "/.guix-channel"))) + (and (file-exists? meta-file) + (and-let* ((raw (call-with-input-file meta-file read)) + (version (and=> (assoc-ref raw 'version) first)) + (dependencies (or (assoc-ref raw 'dependencies) '()))) + (channel-metadata + version + (map (lambda (item) + (let ((get (lambda* (key #:optional default) + (or (and=> (assoc-ref item key) first) default)))) + (and-let* ((name (get 'name)) + (url (get 'url)) + (branch (get 'branch "master"))) + (channel + (name name) + (branch branch) + (url url) + (commit (get 'commit)))))) + dependencies)))))) + +(define (channel-instance-dependencies instance) + "Return the list of channels that are declared as dependencies for the given +channel INSTANCE." + (match (read-channel-metadata instance) + (#f '()) + (($ version dependencies) + dependencies))) + +(define* (latest-channel-instances store channels #:optional (previous-channels '())) "Return a list of channel instances corresponding to the latest checkouts of -CHANNELS." - (map (lambda (channel) - (format (current-error-port) - (G_ "Updating channel '~a' from Git repository at '~a'...~%") - (channel-name channel) - (channel-url channel)) - (let-values (((checkout commit) - (latest-repository-commit store (channel-url channel) - #:ref (channel-reference - channel)))) - (channel-instance channel commit checkout))) - channels)) +CHANNELS and the channels on which they depend. PREVIOUS-CHANNELS is a list +of previously processed channels." + ;; Only process channels that are unique, or that are more specific than a + ;; previous channel specification. + (define (ignore? channel others) + (member channel others + (lambda (a b) + (and (eq? (channel-name a) (channel-name b)) + (or (channel-commit b) + (not (or (channel-commit a) + (channel-commit b)))))))) + ;; Accumulate a list of instances. A list of processed channels is also + ;; accumulated to decide on duplicate channel specifications. + (match (fold (lambda (channel acc) + (match acc + ((#:channels previous-channels #:instances instances) + (if (ignore? channel previous-channels) + acc + (begin + (format (current-error-port) + (G_ "Updating channel '~a' from Git repository at '~a'...~%") + (channel-name channel) + (channel-url channel)) + (let-values (((checkout commit) + (latest-repository-commit store (channel-url channel) + #:ref (channel-reference + channel)))) + (let ((instance (channel-instance channel commit checkout))) + (let-values (((new-instances new-channels) + (latest-channel-instances + store + (channel-instance-dependencies instance) + previous-channels))) + `(#:channels + ,(append (cons channel new-channels) + previous-channels) + #:instances + ,(append (cons instance new-instances) + instances)))))))))) + `(#:channels ,previous-channels #:instances ()) + channels) + ((#:channels channels #:instances instances) + (let ((instance-name (compose channel-name channel-instance-channel))) + ;; Remove all earlier channel specifications if they are followed by a + ;; more specific one. + (values (delete-duplicates instances + (lambda (a b) + (eq? (instance-name a) (instance-name b)))) + channels))))) + +(define* (checkout->channel-instance checkout + #:key commit + (url checkout) (name 'guix)) + "Return a channel instance for CHECKOUT, which is assumed to be a checkout +of COMMIT at URL. Use NAME as the channel name." + (let* ((commit (or commit (make-string 40 #\0))) + (channel (channel (name name) + (commit commit) + (url url)))) + (channel-instance channel commit checkout))) (define %self-build-file ;; The file containing code to build Guix. This serves the same purpose as @@ -223,8 +312,21 @@ INSTANCES." (lambda (instance) (if (eq? instance core-instance) (return core) - (build-channel-instance instance - (cons core dependencies)))) + (match (channel-instance-dependencies instance) + (() + (build-channel-instance instance + (cons core dependencies))) + (channels + (mlet %store-monad ((dependencies-derivation + (latest-channel-derivation + ;; %default-channels is used here to + ;; ensure that the core channel is + ;; available for channels declared as + ;; dependencies. + (append channels %default-channels)))) + (build-channel-instance instance + (cons dependencies-derivation + (cons core dependencies)))))))) instances))) (define (whole-package-for-legacy name modules) diff --git a/guix/ci.scm b/guix/ci.scm index 881f3d3927..1727297dd7 100644 --- a/guix/ci.scm +++ b/guix/ci.scm @@ -19,6 +19,7 @@ (define-module (guix ci) #:use-module (guix http-client) #:autoload (json parser) (json->scm) + #:use-module (srfi srfi-1) #:use-module (srfi srfi-9) #:export (build? build-id @@ -27,9 +28,21 @@ build-status build-timestamp + checkout? + checkout-commit + checkout-input + + evaluation? + evaluation-id + evaluation-spec + evaluation-complete? + evaluation-checkouts + %query-limit queued-builds - latest-builds)) + latest-builds + latest-evaluations + evaluation-for-commit)) ;;; Commentary: ;;; @@ -47,6 +60,20 @@ (status build-status) ;integer (timestamp build-timestamp)) ;integer +(define-record-type + (make-checkout commit input) + checkout? + (commit checkout-commit) ;string (SHA1) + (input checkout-input)) ;string (name) + +(define-record-type + (make-evaluation id spec complete? checkouts) + evaluation? + (id evaluation-id) ;integer + (spec evaluation-spec) ;string + (complete? evaluation-complete?) ;Boolean + (checkouts evaluation-checkouts)) ;* + (define %query-limit ;; Max number of builds requested in queries. 1000) @@ -70,9 +97,50 @@ (number->string limit))))) (map json->build queue))) -(define* (latest-builds url #:optional (limit %query-limit)) +(define* (latest-builds url #:optional (limit %query-limit) + #:key evaluation system) + "Return the latest builds performed by the CI server at URL. If EVALUATION +is an integer, restrict to builds of EVALUATION. If SYSTEM is true (a system +string such as \"x86_64-linux\"), restrict to builds for SYSTEM." + (define* (option name value #:optional (->string identity)) + (if value + (string-append "&" name "=" (->string value)) + "")) + (let ((latest (json-fetch (string-append url "/api/latestbuilds?nr=" - (number->string limit))))) + (number->string limit) + (option "evaluation" evaluation + number->string) + (option "system" system))))) ;; Note: Hydra does not provide a "derivation" field for entries in ;; 'latestbuilds', but Cuirass does. (map json->build latest))) + +(define (json->checkout json) + (make-checkout (hash-ref json "commit") + (hash-ref json "input"))) + +(define (json->evaluation json) + (make-evaluation (hash-ref json "id") + (hash-ref json "specification") + (case (hash-ref json "in-progress") + ((0) #t) + (else #f)) + (map json->checkout (hash-ref json "checkouts")))) + +(define* (latest-evaluations url #:optional (limit %query-limit)) + "Return the latest evaluations performed by the CI server at URL." + (map json->evaluation + (json->scm + (http-fetch (string-append url "/api/evaluations?nr=" + (number->string limit)))))) + + +(define* (evaluations-for-commit url commit #:optional (limit %query-limit)) + "Return the evaluations among the latest LIMIT evaluations that have COMMIT +as one of their inputs." + (filter (lambda (evaluation) + (find (lambda (checkout) + (string=? (checkout-commit checkout) commit)) + (evaluation-checkouts evaluation))) + (latest-evaluations url limit))) diff --git a/guix/derivations.scm b/guix/derivations.scm index 7afecb10cc..f6176a78fd 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -80,6 +80,7 @@ substitutable-derivation? substitution-oracle derivation-hash + derivation-properties read-derivation read-derivation-from-file @@ -681,7 +682,8 @@ name of each input with that input's hash." references-graphs allowed-references disallowed-references leaked-env-vars local-build? - (substitutable? #t)) + (substitutable? #t) + (properties '())) "Build a derivation with the given arguments, and return the resulting object. When HASH and HASH-ALGO are given, a fixed-output derivation is created---i.e., one whose result is known in @@ -708,7 +710,10 @@ for offloading and should rather be built locally. This is the case for small derivations where the costs of data transfers would outweigh the benefits. When SUBSTITUTABLE? is false, declare that substitutes of the derivation's -output should not be used." +output should not be used. + +PROPERTIES must be an association list describing \"properties\" of the +derivation. It is kept as-is, uninterpreted, in the derivation." (define (add-output-paths drv) ;; Return DRV with an actual store path for each of its output and the ;; corresponding environment variable. @@ -763,6 +768,10 @@ output should not be used." `(("impureEnvVars" . ,(string-join leaked-env-vars))) '()) + ,@(match properties + (() '()) + (lst `(("guix properties" + . ,(object->string properties))))) ,@env-vars))) (match references-graphs (((file . path) ...) @@ -851,6 +860,14 @@ long-running processes that know what they're doing. Use with care!" (invalidate-memoization! derivation-path->base16-hash) (hash-clear! %derivation-cache)) +(define derivation-properties + (mlambdaq (drv) + "Return the property alist associated with DRV." + (match (assoc "guix properties" + (derivation-builder-environment-vars drv)) + ((_ . str) (call-with-input-string str read)) + (#f '())))) + (define* (map-derivation store drv mapping #:key (system (%current-system))) "Given MAPPING, a list of pairs of derivations, return a derivation based on @@ -1129,7 +1146,8 @@ they can refer to each other." references-graphs allowed-references disallowed-references - local-build? (substitutable? #t)) + local-build? (substitutable? #t) + (properties '())) "Return a derivation that executes Scheme expression EXP as a builder for derivation NAME. INPUTS must be a list of (NAME DRV-PATH SUB-DRV) tuples; when SUB-DRV is omitted, \"out\" is assumed. MODULES is a list @@ -1149,7 +1167,8 @@ EXP is built using GUILE-FOR-BUILD (a derivation). When GUILE-FOR-BUILD is omitted or is #f, the value of the `%guile-for-build' fluid is used instead. See the `derivation' procedure for the meaning of REFERENCES-GRAPHS, -ALLOWED-REFERENCES, DISALLOWED-REFERENCES, LOCAL-BUILD?, and SUBSTITUTABLE?." +ALLOWED-REFERENCES, DISALLOWED-REFERENCES, LOCAL-BUILD?, SUBSTITUTABLE?, +and PROPERTIES." (define guile-drv (or guile-for-build (%guile-for-build))) @@ -1277,7 +1296,8 @@ ALLOWED-REFERENCES, DISALLOWED-REFERENCES, LOCAL-BUILD?, and SUBSTITUTABLE?." #:allowed-references allowed-references #:disallowed-references disallowed-references #:local-build? local-build? - #:substitutable? substitutable?))) + #:substitutable? substitutable? + #:properties properties))) ;;; diff --git a/guix/docker.scm b/guix/docker.scm index 0757d3356f..c6e9c6fee5 100644 --- a/guix/docker.scm +++ b/guix/docker.scm @@ -26,6 +26,7 @@ delete-file-recursively with-directory-excursion invoke)) + #:use-module (gnu build install) #:use-module (json) ;guile-json #:use-module (srfi srfi-19) #:use-module (srfi srfi-26) @@ -108,11 +109,15 @@ return \"a\"." (symlinks '()) (transformations '()) (system (utsname:machine (uname))) + database compressor (creation-time (current-time time-utc))) "Write to IMAGE a Docker image archive containing the given PATHS. PREFIX must be a store path that is a prefix of any store paths in PATHS. +When DATABASE is true, copy it to /var/guix/db in the image and create +/var/guix/gcroots and friends. + SYMLINKS must be a list of (SOURCE -> TARGET) tuples describing symlinks to be created in the image, where each TARGET is relative to PREFIX. TRANSFORMATIONS must be a list of (OLD -> NEW) tuples describing how to @@ -188,10 +193,15 @@ SRFI-19 time-utc object, as the creation time in metadata." source)))) symlinks) + (when database + ;; Initialize /var/guix, assuming PREFIX points to a profile. + (install-database-and-gc-roots "." database prefix)) + (apply invoke "tar" "-cf" "layer.tar" `(,@transformation-options ,@%tar-determinism-options ,@paths + ,@(if database '("var") '()) ,@(map symlink-source symlinks))) ;; It is possible for "/" to show up in the archive, especially when ;; applying transformations. For example, the transformation @@ -199,11 +209,20 @@ SRFI-19 time-utc object, as the creation time in metadata." ;; the path "/a" into "/". The presence of "/" in the archive is ;; probably benign, but it is definitely safe to remove it, so let's ;; do that. This fails when "/" is not in the archive, so use system* - ;; instead of invoke to avoid an exception in that case. - (system* "tar" "--delete" "/" "-f" "layer.tar") + ;; instead of invoke to avoid an exception in that case, and redirect + ;; stderr to the bit bucket to avoid "Exiting with failure status" + ;; error messages. + (with-error-to-port (%make-void-port "w") + (lambda () + (system* "tar" "--delete" "/" "-f" "layer.tar"))) + (for-each delete-file-recursively (map (compose topmost-component symlink-source) - symlinks))) + symlinks)) + + ;; Delete /var/guix. + (when database + (delete-file-recursively "var"))) (with-output-to-file "config.json" (lambda () diff --git a/guix/download.scm b/guix/download.scm index 988117885c..a7f51b1999 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -372,19 +372,38 @@ ;; List of content-addressed mirrors. Each mirror is represented as a ;; procedure that takes a file name, an algorithm (symbol) and a hash ;; (bytevector), and returns a URL or #f. - ;; Note: Avoid 'https' to mitigate . - ;; TODO: Add more. - '(list (lambda (file algo hash) - ;; Files served by 'guix publish' are accessible under a single - ;; hash algorithm. - (string-append "http://mirror.hydra.gnu.org/file/" - file "/" (symbol->string algo) "/" - (bytevector->nix-base32-string hash))) - (lambda (file algo hash) - ;; 'tarballs.nixos.org' supports several algorithms. - (string-append "http://tarballs.nixos.org/" - (symbol->string algo) "/" - (bytevector->nix-base32-string hash))))) + '(begin + (use-modules (guix base32)) + + (define (guix-publish host) + (lambda (file algo hash) + ;; Files served by 'guix publish' are accessible under a single + ;; hash algorithm. + (string-append "https://" host "/file/" + file "/" (symbol->string algo) "/" + (bytevector->nix-base32-string hash)))) + + ;; XXX: (guix base16) appeared in March 2017 (and thus 0.13.0) so old + ;; installations of the daemon might lack it. Thus, load it lazily to + ;; avoid gratuitous errors. See . + (module-autoload! (current-module) + '(guix base16) '(bytevector->base16-string)) + + (list (guix-publish "mirror.hydra.gnu.org") + (guix-publish "berlin.guixsd.org") + (lambda (file algo hash) + ;; 'tarballs.nixos.org' supports several algorithms. + (string-append "https://tarballs.nixos.org/" + (symbol->string algo) "/" + (bytevector->nix-base32-string hash))) + (lambda (file algo hash) + ;; Software Heritage usually archives VCS history rather than + ;; tarballs, but tarballs are sometimes available (and can be + ;; explicitly stored there.) For example, see + ;; . + (string-append "https://archive.softwareheritage.org/api/1/content/" + (symbol->string algo) ":" + (bytevector->base16-string hash) "/raw/"))))) (define %content-addressed-mirror-file ;; Content-addressed mirrors stored in a file. diff --git a/guix/gexp.scm b/guix/gexp.scm index f7def5862b..fd3b6be348 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -211,7 +211,12 @@ OBJ must be an object that has an associated gexp compiler, such as a (#f (raise (condition (&gexp-input-error (input obj))))) (lower - (lower obj system target)))) + ;; Cache in STORE the result of lowering OBJ. + (mlet %store-monad ((graft? (grafting?))) + (mcached (let ((lower (lookup-compiler obj))) + (lower obj system target)) + obj + system target graft?))))) (define-syntax define-gexp-compiler (syntax-rules (=> compiler expander) @@ -506,9 +511,10 @@ whether this should be considered a \"native\" input or not." (set-record-type-printer! write-gexp-output) -(define (gexp-attribute gexp self-attribute) +(define* (gexp-attribute gexp self-attribute #:optional (equal? equal?)) "Recurse on GEXP and the expressions it refers to, summing the items -returned by SELF-ATTRIBUTE, a procedure that takes a gexp." +returned by SELF-ATTRIBUTE, a procedure that takes a gexp. Use EQUAL? as the +second argument to 'delete-duplicates'." (if (gexp? gexp) (delete-duplicates (append (self-attribute gexp) @@ -524,13 +530,29 @@ returned by SELF-ATTRIBUTE, a procedure that takes a gexp." lst)) (_ '())) - (gexp-references gexp)))) + (gexp-references gexp))) + equal?) '())) ;plain Scheme data type (define (gexp-modules gexp) "Return the list of Guile module names GEXP relies on. If (gexp? GEXP) is false, meaning that GEXP is a plain Scheme object, return the empty list." - (gexp-attribute gexp gexp-self-modules)) + (define (module=? m1 m2) + ;; Return #t when M1 equals M2. Special-case '=>' specs because their + ;; right-hand side may not be comparable with 'equal?': it's typically a + ;; file-like object that embeds a gexp, which in turn embeds closure; + ;; those closures may be 'eq?' when running compiled code but are unlikely + ;; to be 'eq?' when running on 'eval'. Ignore the right-hand side to + ;; avoid this discrepancy. + (match m1 + (((name1 ...) '=> _) + (match m2 + (((name2 ...) '=> _) (equal? name1 name2)) + (_ #f))) + (_ + (equal? m1 m2)))) + + (gexp-attribute gexp gexp-self-modules module=?)) (define (gexp-extensions gexp) "Return the list of Guile extensions (packages) GEXP relies on. If (gexp? @@ -609,6 +631,8 @@ names and file names suitable for the #:allowed-references argument to allowed-references disallowed-references leaked-env-vars local-build? (substitutable? #t) + (properties '()) + deprecation-warnings (script-name (string-append name "-builder"))) "Return a derivation NAME that runs EXP (a gexp) with GUILE-FOR-BUILD (a @@ -766,7 +790,8 @@ The other arguments are as for 'derivation'." #:disallowed-references disallowed #:leaked-env-vars leaked-env-vars #:local-build? local-build? - #:substitutable? substitutable?)))) + #:substitutable? substitutable? + #:properties properties)))) (define* (gexp-inputs exp #:key native?) "Return the input list for EXP. When NATIVE? is true, return only native diff --git a/guix/git-download.scm b/guix/git-download.scm index fa94fad8f8..6cf267d6c8 100644 --- a/guix/git-download.scm +++ b/guix/git-download.scm @@ -60,7 +60,7 @@ (define (git-package) "Return the default Git package." (let ((distro (resolve-interface '(gnu packages version-control)))) - (module-ref distro 'git))) + (module-ref distro 'git-minimal))) (define* (git-fetch ref hash-algo hash #:optional name @@ -74,11 +74,22 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." ;; available so that 'git submodule' works. (if (git-reference-recursive? ref) (standard-packages) - '())) + + ;; The 'swh-download' procedure requires tar and gzip. + `(("gzip" ,(module-ref (resolve-interface '(gnu packages compression)) + 'gzip)) + ("tar" ,(module-ref (resolve-interface '(gnu packages base)) + 'tar))))) (define zlib (module-ref (resolve-interface '(gnu packages compression)) 'zlib)) + (define guile-json + (module-ref (resolve-interface '(gnu packages guile)) 'guile-json)) + + (define gnutls + (module-ref (resolve-interface '(gnu packages tls)) 'gnutls)) + (define config.scm (scheme-file "config.scm" #~(begin @@ -93,30 +104,43 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (delete '(guix config) (source-module-closure '((guix build git) (guix build utils) - (guix build download-nar)))))) + (guix build download-nar) + (guix swh)))))) (define build (with-imported-modules modules - #~(begin - (use-modules (guix build git) - (guix build utils) - (guix build download-nar) - (ice-9 match)) + (with-extensions (list guile-json gnutls) ;for (guix swh) + #~(begin + (use-modules (guix build git) + (guix build utils) + (guix build download-nar) + (guix swh) + (ice-9 match)) - ;; The 'git submodule' commands expects Coreutils, sed, - ;; grep, etc. to be in $PATH. - (set-path-environment-variable "PATH" '("bin") - (match '#+inputs - (((names dirs outputs ...) ...) - dirs))) + (define recursive? + (call-with-input-string (getenv "git recursive?") read)) - (or (git-fetch (getenv "git url") (getenv "git commit") - #$output - #:recursive? (call-with-input-string - (getenv "git recursive?") - read) - #:git-command (string-append #+git "/bin/git")) - (download-nar #$output))))) + ;; The 'git submodule' commands expects Coreutils, sed, + ;; grep, etc. to be in $PATH. + (set-path-environment-variable "PATH" '("bin") + (match '#+inputs + (((names dirs outputs ...) ...) + dirs))) + + (setvbuf (current-output-port) 'line) + (setvbuf (current-error-port) 'line) + + (or (git-fetch (getenv "git url") (getenv "git commit") + #$output + #:recursive? recursive? + #:git-command (string-append #+git "/bin/git")) + (download-nar #$output) + + ;; As a last resort, attempt to download from Software Heritage. + ;; XXX: Currently recursive checkouts are not supported. + (and (not recursive?) + (swh-download (getenv "git url") (getenv "git commit") + #$output))))))) (mlet %store-monad ((guile (package->derivation guile system))) (gexp->derivation (or name "git-checkout") build diff --git a/guix/git.scm b/guix/git.scm index d007916662..0666f0c0a9 100644 --- a/guix/git.scm +++ b/guix/git.scm @@ -20,11 +20,14 @@ (define-module (guix git) #:use-module (git) #:use-module (git object) + #:use-module (guix i18n) #:use-module (guix base32) #:use-module (gcrypt hash) #:use-module ((guix build utils) #:select (mkdir-p)) #:use-module (guix store) #:use-module (guix utils) + #:use-module (guix records) + #:use-module (guix gexp) #:use-module (rnrs bytevectors) #:use-module (ice-9 match) #:use-module (srfi srfi-1) @@ -33,7 +36,12 @@ #:use-module (srfi srfi-35) #:export (%repository-cache-directory update-cached-checkout - latest-repository-commit)) + latest-repository-commit + + git-checkout + git-checkout? + git-checkout-url + git-checkout-branch)) (define %repository-cache-directory (make-parameter (string-append (cache-directory #:ensure? #f) @@ -154,6 +162,7 @@ data, respectively [ | | ]." (define* (latest-repository-commit store url #:key + (log-port (%make-void-port "w")) (cache-directory (%repository-cache-directory)) (ref '(branch . "master"))) @@ -164,11 +173,14 @@ REF is pair whose key is [branch | commit | tag] and value the associated data, respectively [ | | ]. Git repositories are kept in the cache directory specified by -%repository-cache-directory parameter." +%repository-cache-directory parameter. + +Log progress and checkout info to LOG-PORT." (define (dot-git? file stat) (and (string=? (basename file) ".git") (eq? 'directory (stat:type stat)))) + (format log-port "updating checkout of '~a'...~%" url) (let*-values (((checkout commit) (update-cached-checkout url @@ -177,6 +189,58 @@ Git repositories are kept in the cache directory specified by (url-cache-directory url cache-directory))) ((name) (url+commit->name url commit))) + (format log-port "retrieved commit ~a~%" commit) (values (add-to-store store name #t "sha256" checkout #:select? (negate dot-git?)) commit))) + + +;;; +;;; Checkouts. +;;; + +;; Representation of the "latest" checkout of a branch or a specific commit. +(define-record-type* + git-checkout make-git-checkout + git-checkout? + (url git-checkout-url) + (branch git-checkout-branch (default "master")) + (commit git-checkout-commit (default #f))) + +(define* (latest-repository-commit* url #:key ref log-port) + ;; Monadic variant of 'latest-repository-commit'. + (lambda (store) + ;; The caller--e.g., (guix scripts build)--may not handle 'git-error' so + ;; translate it into '&message' conditions that we know will be properly + ;; handled. + (catch 'git-error + (lambda () + (values (latest-repository-commit store url + #:ref ref #:log-port log-port) + store)) + (lambda (key error . _) + (raise (condition + (&message + (message + (match ref + (('commit . commit) + (format #f (G_ "cannot fetch commit ~a from ~a: ~a") + commit url (git-error-message error))) + (('branch . branch) + (format #f (G_ "cannot fetch branch '~a' from ~a: ~a") + branch url (git-error-message error))) + (_ + (format #f (G_ "Git failure while fetching ~a: ~a") + url (git-error-message error)))))))))))) + +(define-gexp-compiler (git-checkout-compiler (checkout ) + system target) + ;; "Compile" CHECKOUT by updating the local checkout and adding it to the + ;; store. + (match checkout + (($ url branch commit) + (latest-repository-commit* url + #:ref (if commit + `(commit . ,commit) + `(branch . ,branch)) + #:log-port (current-error-port))))) diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm index 3634f4bb27..bfd47a831d 100644 --- a/guix/gnu-maintenance.scm +++ b/guix/gnu-maintenance.scm @@ -21,6 +21,7 @@ #:use-module (web uri) #:use-module (web client) #:use-module (web response) + #:use-module (sxml simple) #:use-module (ice-9 regex) #:use-module (ice-9 match) #:use-module (srfi srfi-1) @@ -218,7 +219,7 @@ network to check in GNU's database." ;;; -;;; Latest release. +;;; Latest FTP release. ;;; (define (ftp-server/directory package) @@ -247,7 +248,7 @@ network to check in GNU's database." (define (release-file? project file) "Return #f if FILE is not a release tarball of PROJECT, otherwise return true." - (and (not (string-suffix? ".sig" file)) + (and (not (member (file-extension file) '("sig" "sign" "asc"))) (and=> (regexp-exec %tarball-rx file) (lambda (match) ;; Filter out unrelated files, like `guile-www-1.1.1'. @@ -440,6 +441,88 @@ hosted on ftp.gnu.org, or not under that name (this is the case for #:server server #:directory directory)))) + +;;; +;;; Latest HTTP release. +;;; + +(define (html->sxml port) + "Read HTML from PORT and return the corresponding SXML tree." + (let ((str (get-string-all port))) + (catch #t + (lambda () + ;; XXX: This is the poor developer's HTML-to-XML converter. It's good + ;; enough for directory listings at but if + ;; needed we could resort to (htmlprag) from Guile-Lib. + (call-with-input-string (string-replace-substring str "
" "
") + xml->sxml)) + (const '(html))))) ;parse error + +(define (html-links sxml) + "Return the list of links found in SXML, the SXML tree of an HTML page." + (let loop ((sxml sxml) + (links '())) + (match sxml + (('a ('@ attributes ...) body ...) + (match (assq 'href attributes) + (#f (fold loop links body)) + (('href url) (fold loop (cons url links) body)))) + ((tag ('@ _ ...) body ...) + (fold loop links body)) + ((tag body ...) + (fold loop links body)) + (_ + links)))) + +(define* (latest-html-release package + #:key + (base-url "https://kernel.org/pub") + (directory (string-append "/" package)) + (file->signature (cut string-append <> ".sig"))) + "Return an for the latest release of PACKAGE (a string) on +SERVER under DIRECTORY, or #f. BASE-URL should be the URL of an HTML page, +typically a directory listing as found on 'https://kernel.org/pub'. + +FILE->SIGNATURE must be a procedure; it is passed a source file URL and must +return the corresponding signature URL, or #f it signatures are unavailable." + (let* ((uri (string->uri (string-append base-url directory "/"))) + (port (http-fetch/cached uri #:ttl 3600)) + (sxml (html->sxml port))) + (define (url->release url) + (and (string=? url (basename url)) ;relative reference? + (release-file? package url) + (let-values (((name version) + (package-name->name+version (sans-extension url) + #\-))) + (upstream-source + (package name) + (version version) + (urls (list (string-append base-url directory "/" url))) + (signature-urls + (list (string-append base-url directory "/" + (file-sans-extension url) + ".sign"))))))) + + (define candidates + (filter-map url->release (html-links sxml))) + + (close-port port) + (match candidates + (() #f) + ((first . _) + ;; Select the most recent release and return it. + (reduce (lambda (r1 r2) + (if (version>? (upstream-source-version r1) + (upstream-source-version r2)) + r1 r2)) + first + (coalesce-sources candidates)))))) + + +;;; +;;; Updaters. +;;; + (define %gnu-file-list-uri ;; URI of the file list for ftp.gnu.org. (string->uri "https://ftp.gnu.org/find.txt.gz")) @@ -555,19 +638,21 @@ releases are on gnu.org." (define (latest-kernel.org-release package) "Return the latest release of PACKAGE, the name of a kernel.org package." - (let ((uri (string->uri (origin-uri (package-source package))))) - (false-if-ftp-error - (latest-ftp-release - (package-name package) - #:server "ftp.free.fr" ;a mirror reachable over FTP - #:directory (string-append "/mirrors/ftp.kernel.org" - (dirname (uri-path uri))) + (define %kernel.org-base + ;; This URL and sub-directories thereof are nginx-generated directory + ;; listings suitable for 'latest-html-release'. + "https://mirrors.edge.kernel.org/pub") - ;; kernel.org provides "foo-x.y.tar.sign" files, which are signatures of - ;; the uncompressed tarball. - #:file->signature (lambda (tarball) - (string-append (file-sans-extension tarball) - ".sign")))))) + (define (file->signature file) + (string-append (file-sans-extension file) ".sign")) + + (let* ((uri (string->uri (origin-uri (package-source package)))) + (package (package-upstream-name package)) + (directory (dirname (uri-path uri)))) + (latest-html-release package + #:base-url %kernel.org-base + #:directory directory + #:file->signature file->signature))) (define %gnu-updater ;; This is for everything at ftp.gnu.org. diff --git a/guix/grafts.scm b/guix/grafts.scm index f303e925f1..db9c6854fd 100644 --- a/guix/grafts.scm +++ b/guix/grafts.scm @@ -40,7 +40,8 @@ graft-derivation/shallow %graft? - set-grafting)) + set-grafting + grafting?)) (define-record-type* graft make-graft graft? @@ -122,6 +123,10 @@ are not recursively applied to dependencies of DRV." (define add-label (cut cons "x" <>)) + (define properties + `((type . graft) + (graft (count . ,(length grafts))))) + (match grafts ((($ sources source-outputs targets target-outputs) ...) (let ((sources (zip sources source-outputs)) @@ -139,7 +144,13 @@ are not recursively applied to dependencies of DRV." ,@(append (map add-label sources) (map add-label targets))) #:outputs outputs - #:local-build? #t))))) + + ;; Grafts are computationally cheap so no + ;; need to offload or substitute. + #:local-build? #t + #:substitutable? #f + + #:properties properties))))) (define (item->deriver store item) "Return two values: the derivation that led to ITEM (a store item), and the name of the output of that derivation ITEM corresponds to (for example @@ -328,6 +339,11 @@ it otherwise. It returns the previous setting." (lambda (store) (values (%graft? enable?) store))) +(define (grafting?) + "Return a Boolean indicating whether grafting is enabled." + (lambda (store) + (values (%graft?) store))) + ;; Local Variables: ;; eval: (put 'with-cache 'scheme-indent-function 1) ;; End: diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 89c84f7037..8f2c10258a 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -127,9 +127,9 @@ package definition." (define %cran-url "http://cran.r-project.org/web/packages/") (define %bioconductor-url "https://bioconductor.org/packages/") -;; The latest Bioconductor release is 3.7. Bioconductor packages should be +;; The latest Bioconductor release is 3.8. Bioconductor packages should be ;; updated together. -(define %bioconductor-version "3.7") +(define %bioconductor-version "3.8") (define %bioconductor-packages-list-url (string-append "https://bioconductor.org/packages/" diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm index 766a0b53f1..48db764b3c 100644 --- a/guix/import/hackage.scm +++ b/guix/import/hackage.scm @@ -215,15 +215,18 @@ representation of a Cabal file as produced by 'read-cabal'." cabal)) (define hackage-native-dependencies - ((compose (cut filter-dependencies <> - (cabal-package-name cabal)) - ;; FIXME: Check include-test-dependencies? - (lambda (cabal) - (append (if include-test-dependencies? - (cabal-test-dependencies->names cabal) - '()) - (cabal-custom-setup-dependencies->names cabal)))) - cabal)) + (lset-difference + equal? + ((compose (cut filter-dependencies <> + (cabal-package-name cabal)) + ;; FIXME: Check include-test-dependencies? + (lambda (cabal) + (append (if include-test-dependencies? + (cabal-test-dependencies->names cabal) + '()) + (cabal-custom-setup-dependencies->names cabal)))) + cabal) + hackage-dependencies)) (define dependencies (map (lambda (name) diff --git a/guix/inferior.scm b/guix/inferior.scm index 1dbb9e1699..ccc1c27cb2 100644 --- a/guix/inferior.scm +++ b/guix/inferior.scm @@ -56,6 +56,7 @@ open-inferior close-inferior inferior-eval + inferior-eval-with-store inferior-object? inferior-packages @@ -402,6 +403,48 @@ input/output ports.)" (unless (port-closed? client) (loop)))))) +(define (inferior-eval-with-store inferior store code) + "Evaluate CODE in INFERIOR, passing it STORE as its argument. CODE must +thus be the code of a one-argument procedure that accepts a store." + ;; Create a named socket in /tmp and let INFERIOR connect to it and use it + ;; as its store. This ensures the inferior uses the same store, with the + ;; same options, the same per-session GC roots, etc. + (call-with-temporary-directory + (lambda (directory) + (chmod directory #o700) + (let* ((name (string-append directory "/inferior")) + (socket (socket AF_UNIX SOCK_STREAM 0)) + (major (nix-server-major-version store)) + (minor (nix-server-minor-version store)) + (proto (logior major minor))) + (bind socket AF_UNIX name) + (listen socket 1024) + (send-inferior-request + `(let ((proc ,code) + (socket (socket AF_UNIX SOCK_STREAM 0))) + (connect socket AF_UNIX ,name) + + ;; 'port->connection' appeared in June 2018 and we can hardly + ;; emulate it on older versions. Thus fall back to + ;; 'open-connection', at the risk of talking to the wrong daemon or + ;; having our build result reclaimed (XXX). + (let ((store (if (defined? 'port->connection) + (port->connection socket #:version ,proto) + (open-connection)))) + (dynamic-wind + (const #t) + (lambda () + (proc store)) + (lambda () + (close-connection store) + (close-port socket))))) + inferior) + (match (accept socket) + ((client . address) + (proxy client (nix-server-socket store)))) + (close-port socket) + (read-inferior-response inferior))))) + (define* (inferior-package-derivation store package #:optional (system (%current-system)) @@ -409,48 +452,21 @@ input/output ports.)" "Return the derivation for PACKAGE, an inferior package, built for SYSTEM and cross-built for TARGET if TARGET is true. The inferior corresponding to PACKAGE must be live." - ;; Create a named socket in /tmp and let the inferior of PACKAGE connect to - ;; it and use it as its store. This ensures the inferior uses the same - ;; store, with the same options, the same per-session GC roots, etc. - (call-with-temporary-directory - (lambda (directory) - (chmod directory #o700) - (let* ((name (string-append directory "/inferior")) - (socket (socket AF_UNIX SOCK_STREAM 0)) - (inferior (inferior-package-inferior package)) - (major (nix-server-major-version store)) - (minor (nix-server-minor-version store)) - (proto (logior major minor))) - (bind socket AF_UNIX name) - (listen socket 1024) - (send-inferior-request - `(let ((socket (socket AF_UNIX SOCK_STREAM 0))) - (connect socket AF_UNIX ,name) + (define proc + `(lambda (store) + (let* ((package (hashv-ref %package-table + ,(inferior-package-id package))) + (drv ,(if target + `(package-cross-derivation store package + ,target + ,system) + `(package-derivation store package + ,system)))) + (derivation-file-name drv)))) - ;; 'port->connection' appeared in June 2018 and we can hardly - ;; emulate it on older versions. Thus fall back to - ;; 'open-connection', at the risk of talking to the wrong daemon or - ;; having our build result reclaimed (XXX). - (let* ((store (if (defined? 'port->connection) - (port->connection socket #:version ,proto) - (open-connection))) - (package (hashv-ref %package-table - ,(inferior-package-id package))) - (drv ,(if target - `(package-cross-derivation store package - ,target - ,system) - `(package-derivation store package - ,system)))) - (close-connection store) - (close-port socket) - (derivation-file-name drv))) - inferior) - (match (accept socket) - ((client . address) - (proxy client (nix-server-socket store)))) - (close-port socket) - (read-derivation-from-file (read-inferior-response inferior)))))) + (and=> (inferior-eval-with-store (inferior-package-inferior package) store + proc) + read-derivation-from-file)) (define inferior-package->derivation (store-lift inferior-package-derivation)) diff --git a/guix/nar.scm b/guix/nar.scm index 0495b4a40c..8894f10d2b 100644 --- a/guix/nar.scm +++ b/guix/nar.scm @@ -22,8 +22,12 @@ #:use-module (guix build syscalls) #:use-module ((guix build utils) #:select (delete-file-recursively with-directory-excursion)) + + ;; XXX: Eventually we should use (guix store database) exclusively, and not + ;; (guix store) since this is "daemon-side" code. #:use-module (guix store) #:use-module (guix store database) + #:use-module (guix ui) ; for '_' #:use-module (gcrypt hash) #:use-module (guix pki) @@ -88,15 +92,12 @@ REFERENCES and DERIVER. When LOCK? is true, acquire exclusive locks on TARGET before attempting to register it; otherwise, assume TARGET's locks are already held." - - ;; XXX: Currently we have to call out to the daemon to check whether TARGET - ;; is valid. - (with-store store - (unless (valid-path? store target) + (with-database %default-database-file db + (unless (path-id db target) (when lock? (lock-store-file target)) - (unless (valid-path? store target) + (unless (path-id db target) ;; If FILE already exists, delete it (it's invalid anyway.) (when (file-exists? target) (delete-file-recursively target)) diff --git a/guix/profiles.scm b/guix/profiles.scm index 89e92ea2ba..ba4446bc2f 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -56,7 +56,7 @@ profile-error-profile &profile-not-found-error profile-not-found-error? - &profile-collistion-error + &profile-collision-error profile-collision-error? profile-collision-error-entry profile-collision-error-conflict diff --git a/guix/progress.scm b/guix/progress.scm index 9da667a027..65080bcf24 100644 --- a/guix/progress.scm +++ b/guix/progress.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017 Sou Bunnbu ;;; Copyright © 2015 Steve Sprang ;;; Copyright © 2017, 2018 Ludovic Courtès +;;; Copyright © 2018 Clément Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -197,7 +198,7 @@ throughput." (define elapsed (duration->seconds (time-difference (current-time time-monotonic) start-time))) - (if (number? size) + (if (and (number? size) (not (zero? size))) (let* ((% (* 100.0 (/ transferred size))) (throughput (/ transferred elapsed)) (left (format #f " ~a ~a" file @@ -211,17 +212,20 @@ throughput." (current-terminal-columns)) log-port) (force-output log-port)) - (let* ((throughput (/ transferred elapsed)) - (left (format #f " ~a" file)) - (right (format #f "~a/s ~a | ~a transferred" - (byte-count->string throughput) - (seconds->string elapsed) - (byte-count->string transferred)))) - (erase-current-line log-port) - (display (string-pad-middle left right - (current-terminal-columns)) - log-port) - (force-output log-port)))) + ;; If we don't know the total size, the last transfer will have a 0B + ;; size. Don't display it. + (unless (zero? transferred) + (let* ((throughput (/ transferred elapsed)) + (left (format #f " ~a" file)) + (right (format #f "~a/s ~a | ~a transferred" + (byte-count->string throughput) + (seconds->string elapsed) + (byte-count->string transferred)))) + (erase-current-line log-port) + (display (string-pad-middle left right + (current-terminal-columns)) + log-port) + (force-output log-port))))) (define %progress-interval ;; Default interval between subsequent outputs for rate-limited displays. diff --git a/guix/scripts.scm b/guix/scripts.scm index 98751bc812..5e20ecd92c 100644 --- a/guix/scripts.scm +++ b/guix/scripts.scm @@ -27,6 +27,7 @@ #:use-module (guix packages) #:use-module (guix derivations) #:use-module ((guix profiles) #:select (%profile-directory)) + #:use-module (guix build syscalls) #:use-module (srfi srfi-1) #:use-module (srfi srfi-19) #:use-module (srfi srfi-37) @@ -37,7 +38,9 @@ build-package build-package-source %distro-age-warning - warn-about-old-distro)) + warn-about-old-distro + %disk-space-warning + warn-about-disk-space)) ;;; Commentary: ;;; @@ -186,4 +189,37 @@ Show what and how will/would be built." suggested-command) (newline (guix-warning-port))))) +(define %disk-space-warning + ;; The fraction (between 0 and 1) of free disk space below which a warning + ;; is emitted. + (make-parameter (match (and=> (getenv "GUIX_DISK_SPACE_WARNING") + string->number) + (#f .05) ;5% + (threshold (/ threshold 100.))))) + +(define* (warn-about-disk-space #:optional profile + #:key + (threshold (%disk-space-warning))) + "Display a hint about 'guix gc' if less than THRESHOLD of /gnu/store is +available." + (let* ((stats (statfs (%store-prefix))) + (block-size (file-system-block-size stats)) + (available (* block-size (file-system-blocks-available stats))) + (total (* block-size (file-system-block-count stats))) + (ratio (/ available total 1.))) + (when (< ratio threshold) + (warning (G_ "only ~,1f% of free space available on ~a~%") + (* ratio 100) (%store-prefix)) + (if profile + (display-hint (format #f (G_ "Consider deleting old profile +generations and collecting garbage, along these lines: + +@example +guix package -p ~s --delete-generations=1m +guix gc +@end example\n") + profile)) + (display-hint (G_ "Consider running @command{guix gc} to free +space.")))))) + ;;; scripts.scm ends here diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm index 13978abb77..0b7da3189e 100644 --- a/guix/scripts/build.scm +++ b/guix/scripts/build.scm @@ -45,6 +45,8 @@ #:use-module (srfi srfi-37) #:autoload (gnu packages) (specification->package %package-module-path) #:autoload (guix download) (download-to-store) + #:autoload (guix git-download) (git-reference?) + #:autoload (guix git) (git-checkout?) #:use-module (guix status) #:use-module ((guix progress) #:select (current-terminal-columns)) #:use-module ((guix build syscalls) #:select (terminal-columns)) @@ -63,7 +65,7 @@ (define %default-log-urls ;; Default base URLs for build logs. - '("http://hydra.gnu.org/log")) + '("http://ci.guix.info/log")) ;; XXX: The following procedure cannot be in (guix store) because of the ;; dependency on (guix derivations). @@ -270,6 +272,74 @@ current 'gnutls' package, after which version 3.5.4 is grafted onto them." (rewrite obj) obj)))) +(define (evaluate-git-replacement-specs specs proc) + "Parse SPECS, a list of strings like \"guile=stable-2.2\", and return a list +of package pairs, where (PROC PACKAGE URL BRANCH-OR-COMMIT) returns the +replacement package. Raise an error if an element of SPECS uses invalid +syntax, or if a package it refers to could not be found." + (define not-equal + (char-set-complement (char-set #\=))) + + (map (lambda (spec) + (match (string-tokenize spec not-equal) + ((name branch-or-commit) + (let* ((old (specification->package name)) + (source (package-source old)) + (url (cond ((and (origin? source) + (git-reference? (origin-uri source))) + (git-reference-url (origin-uri source))) + ((git-checkout? source) + (git-checkout-url source)) + (else + (leave (G_ "the source of ~a is not a Git \ +reference~%") + (package-full-name old)))))) + (cons old (proc old url branch-or-commit)))) + (x + (leave (G_ "invalid replacement specification: ~s~%") spec)))) + specs)) + +(define (transform-package-source-branch replacement-specs) + "Return a procedure that, when passed a package, replaces its direct +dependencies according to REPLACEMENT-SPECS. REPLACEMENT-SPECS is a list of +strings like \"guile-next=stable-3.0\" meaning that packages are built using +'guile-next' from the latest commit on its 'stable-3.0' branch." + (define (replace old url branch) + (package + (inherit old) + (version (string-append "git." branch)) + (source (git-checkout (url url) (branch branch))))) + + (let* ((replacements (evaluate-git-replacement-specs replacement-specs + replace)) + (rewrite (package-input-rewriting replacements))) + (lambda (store obj) + (if (package? obj) + (rewrite obj) + obj)))) + +(define (transform-package-source-commit replacement-specs) + "Return a procedure that, when passed a package, replaces its direct +dependencies according to REPLACEMENT-SPECS. REPLACEMENT-SPECS is a list of +strings like \"guile-next=cabba9e\" meaning that packages are built using +'guile-next' from commit 'cabba9e'." + (define (replace old url commit) + (package + (inherit old) + (version (string-append "git." + (if (< (string-length commit) 7) + commit + (string-take commit 7)))) + (source (git-checkout (url url) (commit commit))))) + + (let* ((replacements (evaluate-git-replacement-specs replacement-specs + replace)) + (rewrite (package-input-rewriting replacements))) + (lambda (store obj) + (if (package? obj) + (rewrite obj) + obj)))) + (define %transformations ;; Transformations that can be applied to things to build. The car is the ;; key used in the option alist, and the cdr is the transformation @@ -277,7 +347,9 @@ current 'gnutls' package, after which version 3.5.4 is grafted onto them." ;; things to build. `((with-source . ,transform-package-source) (with-input . ,transform-package-inputs) - (with-graft . ,transform-package-inputs/graft))) + (with-graft . ,transform-package-inputs/graft) + (with-branch . ,transform-package-source-branch) + (with-commit . ,transform-package-source-commit))) (define %transformation-options ;; The command-line interface to the above transformations. @@ -291,7 +363,11 @@ current 'gnutls' package, after which version 3.5.4 is grafted onto them." (option '("with-input") #t #f (parser 'with-input)) (option '("with-graft") #t #f - (parser 'with-graft))))) + (parser 'with-graft)) + (option '("with-branch") #t #f + (parser 'with-branch)) + (option '("with-commit") #t #f + (parser 'with-commit))))) (define (show-transformation-options-help) (display (G_ " @@ -302,7 +378,13 @@ current 'gnutls' package, after which version 3.5.4 is grafted onto them." replace dependency PACKAGE by REPLACEMENT")) (display (G_ " --with-graft=PACKAGE=REPLACEMENT - graft REPLACEMENT on packages that refer to PACKAGE"))) + graft REPLACEMENT on packages that refer to PACKAGE")) + (display (G_ " + --with-branch=PACKAGE=BRANCH + build PACKAGE from the latest commit of BRANCH")) + (display (G_ " + --with-commit=PACKAGE=COMMIT + build PACKAGE from COMMIT"))) (define (options->transformation opts) diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm index e59502076c..7d0ecb0a4d 100644 --- a/guix/scripts/describe.scm +++ b/guix/scripts/describe.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Ludovic Courtès +;;; Copyright © 2018 Oleg Pykhalov ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,11 +19,13 @@ (define-module (guix scripts describe) #:use-module ((guix ui) #:hide (display-profile-content)) + #:use-module (guix channels) #:use-module (guix scripts) #:use-module (guix describe) #:use-module (guix profiles) #:use-module ((guix scripts pull) #:select (display-profile-content)) #:use-module (git) + #:use-module (json) #:use-module (srfi srfi-1) #:use-module (srfi srfi-37) #:use-module (ice-9 match) @@ -38,9 +41,13 @@ ;; Specifications of the command-line options. (list (option '(#\f "format") #t #f (lambda (opt name arg result) - (unless (member arg '("human" "channels")) + (unless (member arg '("human" "channels" "json" "recutils")) (leave (G_ "~a: unsupported output format~%") arg)) - (alist-cons 'format 'channels result))) + (alist-cons 'format (string->symbol arg) result))) + (option '(#\p "profile") #t #f + (lambda (opt name arg result) + (alist-cons 'profile (canonicalize-profile arg) + result))) (option '(#\h "help") #f #f (lambda args (show-help) @@ -58,6 +65,8 @@ Display information about the channels currently in use.\n")) (display (G_ " -f, --format=FORMAT display information in the given FORMAT")) + (display (G_ " + -p, --profile=PROFILE display information about PROFILE")) (newline) (display (G_ " -h, --help display this help and exit")) @@ -78,6 +87,22 @@ Display information about the channels currently in use.\n")) (format #t (G_ "~%;; warning: GUIX_PACKAGE_PATH=\"~a\"~%") string)))))) +(define (channel->sexp channel) + `(channel + (name ',(channel-name channel)) + (url ,(channel-url channel)) + (commit ,(channel-commit channel)))) + +(define (channel->json channel) + (scm->json-string `((name . ,(channel-name channel)) + (url . ,(channel-url channel)) + (commit . ,(channel-commit channel))))) + +(define (channel->recutils channel port) + (format port "name: ~a~%" (channel-name channel)) + (format port "url: ~a~%" (channel-url channel)) + (format port "commit: ~a~%" (channel-commit channel))) + (define (display-checkout-info fmt) "Display information about the current checkout according to FMT, a symbol denoting the requested format. Exit if the current directory does not lie @@ -98,10 +123,19 @@ within a Git checkout." (format #t (G_ " branch: ~a~%") (reference-shorthand head)) (format #t (G_ " commit: ~a~%") commit)) ('channels - (pretty-print `(list (channel - (name 'guix) - (url ,(dirname directory)) - (commit ,commit)))))) + (pretty-print `(list ,(channel->sexp (channel (name 'guix) + (url (dirname directory)) + (commit commit)))))) + ('json + (display (channel->json (channel (name 'guix) + (url (dirname directory)) + (commit commit)))) + (newline)) + ('recutils + (channel->recutils (channel (name 'guix) + (url (dirname directory)) + (commit commit)) + (current-output-port)))) (display-package-search-path fmt))) (define (display-profile-info profile fmt) @@ -110,34 +144,46 @@ in the format specified by FMT." (define number (generation-number profile)) + (define channels + (map (lambda (entry) + (match (assq 'source (manifest-entry-properties entry)) + (('source ('repository ('version 0) + ('url url) + ('branch branch) + ('commit commit) + _ ...)) + (channel (name (string->symbol (manifest-entry-name entry))) + (url url) + (commit commit))) + + ;; Pre-0.15.0 Guix does not provide that information, + ;; so there's not much we can do in that case. + (_ (channel (name 'guix) + (url "?") + (commit "?"))))) + + ;; Show most recently installed packages last. + (reverse + (manifest-entries + (profile-manifest + (if (zero? number) + profile + (generation-file-name profile number))))))) + (match fmt ('human (display-profile-content profile number)) ('channels - (pretty-print - `(list ,@(map (lambda (entry) - (match (assq 'source (manifest-entry-properties entry)) - (('source ('repository ('version 0) - ('url url) - ('branch branch) - ('commit commit) - _ ...)) - `(channel (name ',(string->symbol - (manifest-entry-name entry))) - (url ,url) - (commit ,commit))) - - ;; Pre-0.15.0 Guix does not provide that information, - ;; so there's not much we can do in that case. - (_ '???))) - - ;; Show most recently installed packages last. - (reverse - (manifest-entries - (profile-manifest - (if (zero? number) - profile - (generation-file-name profile number)))))))))) + (pretty-print `(list ,@(map channel->sexp channels)))) + ('json + (format #t "[~a]~%" (string-join (map channel->json channels) ","))) + ('recutils + (format #t "~{~a~%~}" + (map (lambda (channel) + (with-output-to-string + (lambda () + (channel->recutils channel (current-output-port))))) + channels)))) (display-package-search-path fmt)) @@ -146,15 +192,16 @@ in the format specified by FMT." ;;; (define (guix-describe . args) - (let* ((opts (args-fold* args %options - (lambda (opt name arg result) - (leave (G_ "~A: unrecognized option~%") - name)) - cons - %default-options)) - (format (assq-ref opts 'format))) + (let* ((opts (args-fold* args %options + (lambda (opt name arg result) + (leave (G_ "~A: unrecognized option~%") + name)) + cons + %default-options)) + (format (assq-ref opts 'format)) + (profile (or (assq-ref opts 'profile) (current-profile)))) (with-error-handling - (match (current-profile) + (match profile (#f (display-checkout-info format)) (profile diff --git a/guix/scripts/hash.scm b/guix/scripts/hash.scm index 2bd2ac4a06..b8b2158195 100644 --- a/guix/scripts/hash.scm +++ b/guix/scripts/hash.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2012, 2013, 2014, 2016, 2017 Ludovic Courtès ;;; Copyright © 2013 Nikita Karetnikov ;;; Copyright © 2016 Jan Nieuwenhuizen +;;; Copyright © 2018 Tim Gesthuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,7 +45,7 @@ `((format . ,bytevector->nix-base32-string))) (define (show-help) - (display (G_ "Usage: gcrypt hash [OPTION] FILE + (display (G_ "Usage: guix hash [OPTION] FILE Return the cryptographic hash of FILE. Supported formats: 'nix-base32' (default), 'base32', and 'base16' ('hex' @@ -93,7 +94,7 @@ and 'hexadecimal' can be used as well).\n")) (exit 0))) (option '(#\V "version") #f #f (lambda args - (show-version-and-exit "gcrypt hash"))))) + (show-version-and-exit "guix hash"))))) diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm index e477bf0ddc..2314f3b28c 100644 --- a/guix/scripts/lint.scm +++ b/guix/scripts/lint.scm @@ -33,6 +33,7 @@ #:use-module (guix packages) #:use-module (guix licenses) #:use-module (guix records) + #:use-module (guix grafts) #:use-module (guix ui) #:use-module (guix upstream) #:use-module (guix utils) @@ -774,30 +775,37 @@ descriptions maintained upstream." (define (check-derivation package) "Emit a warning if we fail to compile PACKAGE to a derivation." - (catch #t - (lambda () - (guard (c ((nix-protocol-error? c) - (emit-warning package - (format #f (G_ "failed to create derivation: ~a") - (nix-protocol-error-message c)))) - ((message-condition? c) - (emit-warning package - (format #f (G_ "failed to create derivation: ~a") - (condition-message c))))) - (with-store store - ;; Disable grafts since it can entail rebuilds. - (package-derivation store package #:graft? #f) + (define (try system) + (catch #t + (lambda () + (guard (c ((nix-protocol-error? c) + (emit-warning package + (format #f (G_ "failed to create ~a derivation: ~a") + system + (nix-protocol-error-message c)))) + ((message-condition? c) + (emit-warning package + (format #f (G_ "failed to create ~a derivation: ~a") + system + (condition-message c))))) + (with-store store + ;; Disable grafts since it can entail rebuilds. + (parameterize ((%graft? #f)) + (package-derivation store package system #:graft? #f) - ;; If there's a replacement, make sure we can compute its - ;; derivation. - (match (package-replacement package) - (#f #t) - (replacement - (package-derivation store replacement #:graft? #f)))))) - (lambda args - (emit-warning package - (format #f (G_ "failed to create derivation: ~s~%") - args))))) + ;; If there's a replacement, make sure we can compute its + ;; derivation. + (match (package-replacement package) + (#f #t) + (replacement + (package-derivation store replacement system + #:graft? #f))))))) + (lambda args + (emit-warning package + (format #f (G_ "failed to create ~a derivation: ~s") + system args))))) + + (for-each try (package-supported-systems package))) (define (check-license package) "Warn about type errors of the 'license' field of PACKAGE." diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index 13aa8923cd..6c6680ab58 100644 --- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2017, 2018 Ricardo Wurmus ;;; Copyright © 2018 Konrad Hinsen ;;; Copyright © 2018 Chris Marusich +;;; Copyright © 2018 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -38,7 +39,7 @@ #:use-module ((guix self) #:select (make-config.scm)) #:use-module (gnu packages) #:use-module (gnu packages bootstrap) - #:use-module (gnu packages compression) + #:use-module ((gnu packages compression) #:hide (zip)) #:use-module (gnu packages guile) #:use-module (gnu packages base) #:autoload (gnu packages package-management) (guix) @@ -52,6 +53,9 @@ #:export (compressor? lookup-compressor self-contained-tarball + docker-image + squashfs-image + guix-pack)) ;; Type of a compression tool. @@ -103,8 +107,50 @@ found." (package-transitive-propagated-inputs package))) (list guile-gcrypt guile-sqlite3))) +(define (store-database items) + "Return a directory containing a store database where all of ITEMS and their +dependencies are registered." + (define schema + (local-file (search-path %load-path + "guix/store/schema.sql"))) + + + (define labels + (map (lambda (n) + (string-append "closure" (number->string n))) + (iota (length items)))) + + (define build + (with-extensions gcrypt-sqlite3&co + ;; XXX: Adding (gnu build install) just to work around + ;; : that way, (guix build store-copy) is + ;; copied last and the 'store-info-XXX' macros are correctly expanded. + (with-imported-modules (source-module-closure + '((guix build store-copy) + (guix store database) + (gnu build install))) + #~(begin + (use-modules (guix store database) + (guix build store-copy) + (srfi srfi-1)) + + (define (read-closure closure) + (call-with-input-file closure read-reference-graph)) + + (let ((items (append-map read-closure '#$labels))) + (register-items items + #:state-directory #$output + #:deduplicate? #f + #:reset-timestamps? #f + #:registration-time %epoch + #:schema #$schema)))))) + + (computed-file "store-database" build + #:options `(#:references-graphs ,(zip labels items)))) + (define* (self-contained-tarball name profile #:key target + (profile-name "guix-profile") deduplicate? (compressor (first %compressors)) localstatedir? @@ -117,125 +163,117 @@ with a properly initialized store database. SYMLINKS must be a list of (SOURCE -> TARGET) tuples denoting symlinks to be added to the pack." - (define libgcrypt - (module-ref (resolve-interface '(gnu packages gnupg)) - 'libgcrypt)) - - (define schema + (define database (and localstatedir? - (local-file (search-path %load-path - "guix/store/schema.sql")))) + (file-append (store-database (list profile)) + "/db/db.sqlite"))) (define build - (with-imported-modules `(((guix config) => ,(make-config.scm)) - ,@(source-module-closure - `((guix build utils) - (guix build union) - (guix build store-copy) - (gnu build install)) - #:select? not-config?)) - (with-extensions gcrypt-sqlite3&co - #~(begin - (use-modules (guix build utils) - ((guix build union) #:select (relative-file-name)) - (gnu build install) - (srfi srfi-1) - (srfi srfi-26) - (ice-9 match)) + (with-imported-modules (source-module-closure + `((guix build utils) + (guix build union) + (gnu build install)) + #:select? not-config?) + #~(begin + (use-modules (guix build utils) + ((guix build union) #:select (relative-file-name)) + (gnu build install) + (srfi srfi-1) + (srfi srfi-26) + (ice-9 match)) - (define %root "root") + (define %root "root") - (define symlink->directives - ;; Return "populate directives" to make the given symlink and its - ;; parent directories. - (match-lambda - ((source '-> target) - (let ((target (string-append #$profile "/" target)) - (parent (dirname source))) - ;; Never add a 'directory' directive for "/" so as to - ;; preserve its ownnership when extracting the archive (see - ;; below), and also because this would lead to adding the - ;; same entries twice in the tarball. - `(,@(if (string=? parent "/") - '() - `((directory ,parent))) - (,source - -> ,(relative-file-name parent target))))))) + (define symlink->directives + ;; Return "populate directives" to make the given symlink and its + ;; parent directories. + (match-lambda + ((source '-> target) + (let ((target (string-append #$profile "/" target)) + (parent (dirname source))) + ;; Never add a 'directory' directive for "/" so as to + ;; preserve its ownnership when extracting the archive (see + ;; below), and also because this would lead to adding the + ;; same entries twice in the tarball. + `(,@(if (string=? parent "/") + '() + `((directory ,parent))) + (,source + -> ,(relative-file-name parent target))))))) - (define directives - ;; Fully-qualified symlinks. - (append-map symlink->directives '#$symlinks)) + (define directives + ;; Fully-qualified symlinks. + (append-map symlink->directives '#$symlinks)) - ;; The --sort option was added to GNU tar in version 1.28, released - ;; 2014-07-28. For testing, we use the bootstrap tar, which is - ;; older and doesn't support it. - (define tar-supports-sort? - (zero? (system* (string-append #+archiver "/bin/tar") - "cf" "/dev/null" "--files-from=/dev/null" - "--sort=name"))) + ;; The --sort option was added to GNU tar in version 1.28, released + ;; 2014-07-28. For testing, we use the bootstrap tar, which is + ;; older and doesn't support it. + (define tar-supports-sort? + (zero? (system* (string-append #+archiver "/bin/tar") + "cf" "/dev/null" "--files-from=/dev/null" + "--sort=name"))) - ;; Add 'tar' to the search path. - (setenv "PATH" #+(file-append archiver "/bin")) + ;; Add 'tar' to the search path. + (setenv "PATH" #+(file-append archiver "/bin")) - ;; Note: there is not much to gain here with deduplication and there - ;; is the overhead of the '.links' directory, so turn it off. - ;; Furthermore GNU tar < 1.30 sometimes fails to extract tarballs - ;; with hard links: - ;; . - (populate-single-profile-directory %root - #:profile #$profile - #:closure "profile" - #:deduplicate? #f - #:register? #$localstatedir? - #:schema #$schema) + ;; Note: there is not much to gain here with deduplication and there + ;; is the overhead of the '.links' directory, so turn it off. + ;; Furthermore GNU tar < 1.30 sometimes fails to extract tarballs + ;; with hard links: + ;; . + (populate-single-profile-directory %root + #:profile #$profile + #:profile-name #$profile-name + #:closure "profile" + #:database #+database) - ;; Create SYMLINKS. - (for-each (cut evaluate-populate-directive <> %root) - directives) + ;; Create SYMLINKS. + (for-each (cut evaluate-populate-directive <> %root) + directives) - ;; Create the tarball. Use GNU format so there's no file name - ;; length limitation. - (with-directory-excursion %root - (exit - (zero? (apply system* "tar" - #+@(if (compressor-command compressor) - #~("-I" - (string-join - '#+(compressor-command compressor))) - #~()) - "--format=gnu" + ;; Create the tarball. Use GNU format so there's no file name + ;; length limitation. + (with-directory-excursion %root + (exit + (zero? (apply system* "tar" + #+@(if (compressor-command compressor) + #~("-I" + (string-join + '#+(compressor-command compressor))) + #~()) + "--format=gnu" - ;; Avoid non-determinism in the archive. Use - ;; mtime = 1, not zero, because that is what the - ;; daemon does for files in the store (see the - ;; 'mtimeStore' constant in local-store.cc.) - (if tar-supports-sort? "--sort=name" "--mtime=@1") - "--mtime=@1" ;for files in /var/guix - "--owner=root:0" - "--group=root:0" + ;; Avoid non-determinism in the archive. Use + ;; mtime = 1, not zero, because that is what the + ;; daemon does for files in the store (see the + ;; 'mtimeStore' constant in local-store.cc.) + (if tar-supports-sort? "--sort=name" "--mtime=@1") + "--mtime=@1" ;for files in /var/guix + "--owner=root:0" + "--group=root:0" - "--check-links" - "-cvf" #$output - ;; Avoid adding / and /var to the tarball, so - ;; that the ownership and permissions of those - ;; directories will not be overwritten when - ;; extracting the archive. Do not include /root - ;; because the root account might have a - ;; different home directory. - #$@(if localstatedir? - '("./var/guix") - '()) + "--check-links" + "-cvf" #$output + ;; Avoid adding / and /var to the tarball, so + ;; that the ownership and permissions of those + ;; directories will not be overwritten when + ;; extracting the archive. Do not include /root + ;; because the root account might have a + ;; different home directory. + #$@(if localstatedir? + '("./var/guix") + '()) - (string-append "." (%store-directory)) + (string-append "." (%store-directory)) - (delete-duplicates - (filter-map (match-lambda - (('directory directory) - (string-append "." directory)) - ((source '-> _) - (string-append "." source)) - (_ #f)) - directives)))))))))) + (delete-duplicates + (filter-map (match-lambda + (('directory directory) + (string-append "." directory)) + ((source '-> _) + (string-append "." source)) + (_ #f)) + directives))))))))) (gexp->derivation (string-append name ".tar" (compressor-extension compressor)) @@ -244,7 +282,7 @@ added to the pack." (define* (squashfs-image name profile #:key target - deduplicate? + (profile-name "guix-profile") (compressor (first %compressors)) localstatedir? (symlinks '()) @@ -255,75 +293,85 @@ points for virtual file systems (like procfs), and optional symlinks. SYMLINKS must be a list of (SOURCE -> TARGET) tuples denoting symlinks to be added to the pack." + (define database + (and localstatedir? + (file-append (store-database (list profile)) + "/db/db.sqlite"))) + (define build - (with-imported-modules `(((guix config) => ,(make-config.scm)) - ,@(source-module-closure - '((guix build utils) - (guix build store-copy) - (gnu build install)) - #:select? not-config?)) - (with-extensions gcrypt-sqlite3&co - #~(begin - (use-modules (guix build utils) - (gnu build install) - (guix build store-copy) - (srfi srfi-1) - (srfi srfi-26) - (ice-9 match)) + (with-imported-modules (source-module-closure + '((guix build utils) + (guix build store-copy) + (gnu build install)) + #:select? not-config?) + #~(begin + (use-modules (guix build utils) + (guix build store-copy) + (gnu build install) + (srfi srfi-1) + (srfi srfi-26) + (ice-9 match)) - (setenv "PATH" (string-append #$archiver "/bin")) + (define database #+database) - ;; We need an empty file in order to have a valid file argument when - ;; we reparent the root file system. Read on for why that's - ;; necessary. - (with-output-to-file ".empty" (lambda () (display ""))) + (setenv "PATH" (string-append #$archiver "/bin")) - ;; Create the squashfs image in several steps. - ;; Add all store items. Unfortunately mksquashfs throws away all - ;; ancestor directories and only keeps the basename. We fix this - ;; in the following invocations of mksquashfs. - (apply invoke "mksquashfs" - `(,@(map store-info-item - (call-with-input-file "profile" - read-reference-graph)) - ,#$output + ;; We need an empty file in order to have a valid file argument when + ;; we reparent the root file system. Read on for why that's + ;; necessary. + (with-output-to-file ".empty" (lambda () (display ""))) - ;; Do not perform duplicate checking because we - ;; don't have any dupes. - "-no-duplicates" - "-comp" - ,#+(compressor-name compressor))) + ;; Create the squashfs image in several steps. + ;; Add all store items. Unfortunately mksquashfs throws away all + ;; ancestor directories and only keeps the basename. We fix this + ;; in the following invocations of mksquashfs. + (apply invoke "mksquashfs" + `(,@(map store-info-item + (call-with-input-file "profile" + read-reference-graph)) + ,#$output - ;; Here we reparent the store items. For each sub-directory of - ;; the store prefix we need one invocation of "mksquashfs". - (for-each (lambda (dir) - (apply invoke "mksquashfs" - `(".empty" - ,#$output - "-root-becomes" ,dir))) - (reverse (string-tokenize (%store-directory) - (char-set-complement (char-set #\/))))) + ;; Do not perform duplicate checking because we + ;; don't have any dupes. + "-no-duplicates" + "-comp" + ,#+(compressor-name compressor))) - ;; Add symlinks and mount points. - (apply invoke "mksquashfs" - `(".empty" - ,#$output - ;; Create SYMLINKS via pseudo file definitions. - ,@(append-map - (match-lambda - ((source '-> target) - (list "-p" - (string-join - ;; name s mode uid gid symlink - (list source - "s" "777" "0" "0" - (string-append #$profile "/" target)))))) - '#$symlinks) + ;; Here we reparent the store items. For each sub-directory of + ;; the store prefix we need one invocation of "mksquashfs". + (for-each (lambda (dir) + (apply invoke "mksquashfs" + `(".empty" + ,#$output + "-root-becomes" ,dir))) + (reverse (string-tokenize (%store-directory) + (char-set-complement (char-set #\/))))) - ;; Create empty mount points. - "-p" "/proc d 555 0 0" - "-p" "/sys d 555 0 0" - "-p" "/dev d 555 0 0")))))) + ;; Add symlinks and mount points. + (apply invoke "mksquashfs" + `(".empty" + ,#$output + ;; Create SYMLINKS via pseudo file definitions. + ,@(append-map + (match-lambda + ((source '-> target) + (list "-p" + (string-join + ;; name s mode uid gid symlink + (list source + "s" "777" "0" "0" + (string-append #$profile "/" target)))))) + '#$symlinks) + + ;; Create empty mount points. + "-p" "/proc d 555 0 0" + "-p" "/sys d 555 0 0" + "-p" "/dev d 555 0 0")) + + (when database + ;; Initialize /var/guix. + (install-database-and-gc-roots "var-etc" database #$profile) + (invoke "mksquashfs" "var-etc" #$output))))) (gexp->derivation (string-append name (compressor-extension compressor) @@ -333,7 +381,7 @@ added to the pack." (define* (docker-image name profile #:key target - deduplicate? + (profile-name "guix-profile") (compressor (first %compressors)) localstatedir? (symlinks '()) @@ -343,6 +391,11 @@ image is a tarball conforming to the Docker Image Specification, compressed with COMPRESSOR. It can be passed to 'docker load'. If TARGET is true, it must a be a GNU triplet and it is used to derive the architecture metadata in the image." + (define database + (and localstatedir? + (file-append (store-database (list profile)) + "/db/db.sqlite"))) + (define defmod 'define-module) ;trick Geiser (define build @@ -361,6 +414,7 @@ the image." (call-with-input-file "profile" read-reference-graph)) #$profile + #:database #+database #:system (or #$target (utsname:machine (uname))) #:symlinks '#$symlinks #:compressor '#$(compressor-command compressor) @@ -538,6 +592,7 @@ please email '~a'~%") (define %default-options ;; Alist of default option values. `((format . tarball) + (profile-name . "guix-profile") (system . ,(%current-system)) (substitutes? . #t) (build-hook? . #t) @@ -555,6 +610,18 @@ please email '~a'~%") (squashfs . ,squashfs-image) (docker . ,docker-image))) +(define (show-formats) + ;; Print the supported pack formats. + (display (G_ "The supported formats for 'guix pack' are:")) + (newline) + (display (G_ " + tarball Self-contained tarball, ready to run on another machine")) + (display (G_ " + squashfs Squashfs image suitable for Singularity")) + (display (G_ " + docker Tarball ready for 'docker load'")) + (newline)) + (define %options ;; Specifications of the command-line options. (cons* (option '(#\h "help") #f #f @@ -571,6 +638,10 @@ please email '~a'~%") (option '(#\f "format") #t #f (lambda (opt name arg result) (alist-cons 'format (string->symbol arg) result))) + (option '("list-formats") #f #f + (lambda args + (show-formats) + (exit 0))) (option '(#\R "relocatable") #f #f (lambda (opt name arg result) (alist-cons 'relocatable? #t result))) @@ -609,6 +680,13 @@ please email '~a'~%") (option '("localstatedir") #f #f (lambda (opt name arg result) (alist-cons 'localstatedir? #t result))) + (option '("profile-name") #t #f + (lambda (opt name arg result) + (match arg + ((or "guix-profile" "current-guix") + (alist-cons 'profile-name arg result)) + (_ + (leave (G_ "~a: unsupported profile name~%") arg))))) (option '("bootstrap") #f #f (lambda (opt name arg result) (alist-cons 'bootstrap? #t result))) @@ -625,6 +703,8 @@ Create a bundle of PACKAGE.\n")) (newline) (display (G_ " -f, --format=FORMAT build a pack in the given FORMAT")) + (display (G_ " + --list-formats list the formats available")) (display (G_ " -R, --relocatable produce relocatable executables")) (display (G_ " @@ -641,6 +721,9 @@ Create a bundle of PACKAGE.\n")) -m, --manifest=FILE create a pack with the manifest from FILE")) (display (G_ " --localstatedir include /var/guix in the resulting pack")) + (display (G_ " + --profile-name=NAME + populate /var/guix/profiles/.../NAME")) (display (G_ " --bootstrap use the bootstrap binaries to build the pack")) (newline) @@ -730,7 +813,8 @@ Create a bundle of PACKAGE.\n")) (#f (leave (G_ "~a: unknown pack format~%") pack-format)))) - (localstatedir? (assoc-ref opts 'localstatedir?))) + (localstatedir? (assoc-ref opts 'localstatedir?)) + (profile-name (assoc-ref opts 'profile-name))) (run-with-store store (mlet* %store-monad ((profile (profile-derivation manifest @@ -749,6 +833,8 @@ Create a bundle of PACKAGE.\n")) symlinks #:localstatedir? localstatedir? + #:profile-name + profile-name #:archiver archiver))) (mbegin %store-monad diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 5d146b8427..5743816324 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -164,7 +164,9 @@ do not treat collisions in MANIFEST as an error." count) count) (display-search-paths entries (list profile) - #:kind 'prefix)))))))) + #:kind 'prefix))) + + (warn-about-disk-space profile)))))) ;;; @@ -769,9 +771,13 @@ processed, #f otherwise." (('show requested-name) (let-values (((name version) (package-name->name+version requested-name))) - (leave-on-EPIPE - (for-each (cute package->recutils <> (current-output-port)) - (find-packages-by-name name version))) + (match (find-packages-by-name name version) + (() + (leave (G_ "~a~@[@~a~]: package not found~%") name version)) + (packages + (leave-on-EPIPE + (for-each (cute package->recutils <> (current-output-port)) + packages)))) #t)) (('search-paths kind) diff --git a/guix/scripts/processes.scm b/guix/scripts/processes.scm new file mode 100644 index 0000000000..6a2f603599 --- /dev/null +++ b/guix/scripts/processes.scm @@ -0,0 +1,223 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Ludovic Courtès +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix scripts processes) + #:use-module ((guix store) #:select (%store-prefix)) + #:use-module (guix scripts) + #:use-module (guix ui) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-9) + #:use-module (srfi srfi-9 gnu) + #:use-module (srfi srfi-37) + #:use-module (ice-9 ftw) + #:use-module (ice-9 match) + #:use-module (ice-9 rdelim) + #:use-module (ice-9 format) + #:export (process? + process-id + process-parent-id + process-command + processes + + daemon-session? + daemon-session-process + daemon-session-client + daemon-session-children + daemon-session-locks-held + daemon-sessions + + guix-processes)) + +;; Process as can be found in /proc on GNU/Linux. +(define-record-type + (process id parent command) + process? + (id process-id) ;integer + (parent process-parent-id) ;integer | #f + (command process-command)) ;list of strings + +(define (write-process process port) + (format port "#" (process-id process))) + +(set-record-type-printer! write-process) + +(define (read-status-ppid port) + "Read the PPID from PORT, an input port on a /proc/PID/status file. Return +#f for PID 1 and kernel pseudo-processes." + (let loop () + (match (read-line port) + ((? eof-object?) #f) + (line + (if (string-prefix? "PPid:" line) + (string->number (string-trim-both (string-drop line 5))) + (loop)))))) + +(define %not-nul + (char-set-complement (char-set #\nul))) + +(define (read-command-line port) + "Read the zero-split command line from PORT, a /proc/PID/cmdline file, and +return it as a list." + (string-tokenize (read-string port) %not-nul)) + +(define (processes) + "Return a list of process records representing the currently alive +processes." + ;; This assumes a Linux-compatible /proc file system. There exists one for + ;; GNU/Hurd. + (filter-map (lambda (pid) + ;; There's a TOCTTOU race here. If we get ENOENT, simply + ;; ignore PID. + (catch 'system-error + (lambda () + (define ppid + (call-with-input-file (string-append "/proc/" pid "/status") + read-status-ppid)) + (define command + (call-with-input-file (string-append "/proc/" pid "/cmdline") + read-command-line)) + (process (string->number pid) ppid command)) + (lambda args + (if (= ENOENT (system-error-errno args)) + #f + (apply throw args))))) + (scandir "/proc" string->number))) + +(define (process-open-files process) + "Return the list of files currently open by PROCESS." + (let ((directory (string-append "/proc/" + (number->string (process-id process)) + "/fd"))) + (map (lambda (fd) + (readlink (string-append directory "/" fd))) + (or (scandir directory string->number) '())))) + +;; Daemon session. +(define-record-type + (daemon-session process client children locks) + daemon-session? + (process daemon-session-process) ; + (client daemon-session-client) ; + (children daemon-session-children) ;list of + (locks daemon-session-locks-held)) ;list of strings + +(define (daemon-sessions) + "Return two values: the list of denoting the currently +active sessions, and the master 'guix-daemon' process." + (define (lock-file? file) + (and (string-prefix? (%store-prefix) file) + (string-suffix? ".lock" file))) + + (let* ((processes (processes)) + (daemons (filter (lambda (process) + (match (process-command process) + ((argv0 _ ...) + (string=? (basename argv0) "guix-daemon")) + (_ #f))) + processes)) + (children (filter (lambda (process) + (match (process-command process) + ((argv0 (= string->number argv1) _ ...) + (integer? argv1)) + (_ #f))) + daemons)) + (master (remove (lambda (process) + (memq process children)) + daemons))) + (define (lookup-process pid) + (find (lambda (process) + (and (process-id process) + (= pid (process-id process)))) + processes)) + + (define (lookup-children pid) + (filter (lambda (process) + (and (process-parent-id process) + (= pid (process-parent-id process)))) + processes)) + + (values (map (lambda (process) + (match (process-command process) + ((argv0 (= string->number client) _ ...) + (let ((files (process-open-files process))) + (daemon-session process + (lookup-process client) + (lookup-children (process-id process)) + (filter lock-file? files)))))) + children) + master))) + +(define (daemon-session->recutils session port) + "Display SESSION information in recutils format on PORT." + (format port "SessionPID: ~a~%" + (process-id (daemon-session-process session))) + (format port "ClientPID: ~a~%" + (process-id (daemon-session-client session))) + (format port "ClientCommand:~{ ~a~}~%" + (process-command (daemon-session-client session))) + (for-each (lambda (lock) + (format port "LockHeld: ~a~%" lock)) + (daemon-session-locks-held session)) + (for-each (lambda (process) + (format port "ChildProcess: ~a:~{ ~a~}~%" + (process-id process) + (process-command process))) + (daemon-session-children session))) + + +;;; +;;; Options. +;;; + +(define %options + (list (option '(#\h "help") #f #f + (lambda args + (show-help) + (exit 0))) + (option '(#\V "version") #f #f + (lambda args + (show-version-and-exit "guix processes"))))) + +(define (show-help) + (display (G_ "Usage: guix processes +List the current Guix sessions and their processes.")) + (newline) + (display (G_ " + -h, --help display this help and exit")) + (display (G_ " + -V, --version display version information and exit")) + (newline) + (show-bug-report-information)) + + +;;; +;;; Entry point. +;;; + +(define (guix-processes . args) + (define options + (args-fold* args %options + (lambda (opt name arg result) + (leave (G_ "~A: unrecognized option~%") name)) + cons + '())) + + (for-each (lambda (session) + (daemon-session->recutils session (current-output-port)) + (newline)) + (daemon-sessions))) diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm index 188237aa90..dc83729911 100644 --- a/guix/scripts/pull.scm +++ b/guix/scripts/pull.scm @@ -86,6 +86,8 @@ Download and deploy the latest version of Guix.\n")) list generations matching PATTERN")) (display (G_ " -p, --profile=PROFILE use PROFILE instead of ~/.config/guix/current")) + (display (G_ " + -n, --dry-run show what would be pulled and built")) (display (G_ " --bootstrap use the bootstrap Guile to build the new Guix")) (newline) @@ -164,15 +166,18 @@ Download and deploy the latest version of Guix.\n")) (_ #t))) (define* (build-and-install instances profile - #:key verbose?) - "Build the tool from SOURCE, and install it in PROFILE." + #:key verbose? dry-run?) + "Build the tool from SOURCE, and install it in PROFILE. When DRY-RUN? is +true, display what would be built without actually building it." (define update-profile (store-lift build-and-use-profile)) (mlet %store-monad ((manifest (channel-instances->manifest instances))) (mbegin %store-monad - (update-profile profile manifest) - (return (display-profile-news profile))))) + (update-profile profile manifest + #:dry-run? dry-run?) + (munless dry-run? + (return (display-profile-news profile)))))) (define (honor-lets-encrypt-certificates! store) "Tell Guile-Git to use the Let's Encrypt certificates." @@ -497,8 +502,6 @@ Use '~/.config/guix/channels.scm' instead.")) (ensure-default-profile) (cond ((assoc-ref opts 'query) (process-query opts profile)) - ((assoc-ref opts 'dry-run?) - #t) ;XXX: not very useful (else (with-store store (with-status-report print-build-event @@ -531,6 +534,8 @@ Use '~/.config/guix/channels.scm' instead.")) (canonical-package guile-2.2))))) (run-with-store store (build-and-install instances profile + #:dry-run? + (assoc-ref opts 'dry-run?) #:verbose? (assoc-ref opts 'verbose?)))))))))))))) diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index 58fc64db1f..1d86f949c8 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -179,24 +179,24 @@ specified with `--select'.\n")) (let* ((packages (fold-packages cons '())) (total (length packages))) - (define covered - (fold (lambda (updater covered) - (let ((matches (count (upstream-updater-predicate updater) - packages))) + (define uncovered + (fold (lambda (updater uncovered) + (let ((matches (filter (upstream-updater-predicate updater) + packages))) ;; TRANSLATORS: The parenthetical expression here is rendered ;; like "(42% coverage)" and denotes the fraction of packages ;; covered by the given updater. (format #t (G_ " - ~a: ~a (~2,1f% coverage)~%") (upstream-updater-name updater) (G_ (upstream-updater-description updater)) - (* 100. (/ matches total))) - (+ covered matches))) - 0 + (* 100. (/ (length matches) total))) + (lset-difference eq? uncovered matches))) + packages (force %updaters))) (newline) (format #t (G_ "~2,1f% of the packages are covered by these updaters.~%") - (* 100. (/ covered total)))) + (* 100. (/ (- total (length uncovered)) total)))) (exit 0)) (define (warn-no-updater package) @@ -278,7 +278,12 @@ the latest known version of ~a (~a)~%") (define (all-packages) "Return the list of all the distro's packages." - (fold-packages cons '() + (fold-packages (lambda (package result) + ;; Ignore deprecated packages. + (if (package-superseded package) + result + (cons package result))) + '() #:select? (const #t))) ;include hidden packages (define (list-dependents packages) diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm index b157833a49..02169e8004 100644 --- a/guix/scripts/repl.scm +++ b/guix/scripts/repl.scm @@ -188,7 +188,15 @@ call THUNK." (save-module-excursion (lambda () (set-current-module user-module) - (start-repl)))) + (and=> (getenv "HOME") + (lambda (home) + (let ((guile (string-append home "/.guile"))) + (when (file-exists? guile) + (load guile))))) + ;; Do not exit repl on SIGINT. + ((@@ (ice-9 top-repl) call-with-sigint) + (lambda () + (start-repl)))))) ((machine) (machine-repl)) (else diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm index 344be40883..25218a2945 100644 --- a/guix/scripts/size.scm +++ b/guix/scripts/size.scm @@ -297,7 +297,7 @@ Report the size of PACKAGE and its dependencies.\n")) (leave (G_ "missing store item argument\n"))) ((files ..1) (leave-on-EPIPE - ;; Turn off grafts because (1) hydra.gnu.org does not serve grafted + ;; Turn off grafts because (1) substitute servers do not serve grafted ;; packages, and (2) they do not make any difference on the ;; resulting size. (parameterize ((%graft? #f)) diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index eb82224016..d6dc9b6448 100755 --- a/guix/scripts/substitute.scm +++ b/guix/scripts/substitute.scm @@ -1052,7 +1052,7 @@ found." (#f ;; This can only happen when this script is not invoked by the ;; daemon. - '("http://hydra.gnu.org")))) + '("http://ci.guix.info")))) (define substitute-urls ;; List of substitute URLs. diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index f9af38b7c5..8eb32c62bc 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -175,12 +175,16 @@ TARGET, and register them." (return *unspecified*))) -(define* (install-bootloader installer-drv +(define* (install-bootloader installer #:key bootcfg bootcfg-file target) - "Call INSTALLER-DRV with error handling, in %STORE-MONAD." - (with-monad %store-monad + "Run INSTALLER, a bootloader installation script, with error handling, in +%STORE-MONAD." + (mlet %store-monad ((installer-drv (if installer + (lower-object installer) + (return #f))) + (bootcfg (lower-object bootcfg))) (let* ((gc-root (string-append target %gc-roots-directory "/bootcfg")) (temp-gc-root (string-append gc-root ".new")) @@ -235,26 +239,33 @@ When INSTALL-BOOTLOADER? is true, install bootloader using BOOTCFG." the ownership of '~a' may be incorrect!~%") target)) + ;; If a previous installation was attempted, make sure we start anew; in + ;; particular, we don't want to keep a store database that might not + ;; correspond to what we're actually putting in the store. + (let ((state (string-append target "/var/guix"))) + (when (file-exists? state) + (delete-file-recursively state))) + (chmod target #o755) (let ((os-dir (derivation->output-path os-drv)) (format (lift format %store-monad)) (populate (lift2 populate-root-file-system %store-monad))) - (mbegin %store-monad - ;; Copy the closure of BOOTCFG, which includes OS-DIR, - ;; eventual background image and so on. - (maybe-copy - (derivation->output-path bootcfg)) + (mlet %store-monad ((bootcfg (lower-object bootcfg))) + (mbegin %store-monad + ;; Copy the closure of BOOTCFG, which includes OS-DIR, + ;; eventual background image and so on. + (maybe-copy (derivation->output-path bootcfg)) - ;; Create a bunch of additional files. - (format log-port "populating '~a'...~%" target) - (populate os-dir target) + ;; Create a bunch of additional files. + (format log-port "populating '~a'...~%" target) + (populate os-dir target) - (mwhen install-bootloader? - (install-bootloader bootloader-installer - #:bootcfg bootcfg - #:bootcfg-file bootcfg-file - #:target target))))) + (mwhen install-bootloader? + (install-bootloader bootloader-installer + #:bootcfg bootcfg + #:bootcfg-file bootcfg-file + #:target target)))))) ;;; @@ -486,9 +497,10 @@ STORE is an open connection to the store." (old-entries (map boot-parameters->menu-entry old-params))) (run-with-store store (mlet* %store-monad - ((bootcfg ((bootloader-configuration-file-generator bootloader) - bootloader-config entries - #:old-entries old-entries)) + ((bootcfg (lower-object + ((bootloader-configuration-file-generator bootloader) + bootloader-config entries + #:old-entries old-entries))) (bootcfg-file -> (bootloader-configuration-file bootloader)) (target -> "/") (drvs -> (list bootcfg))) @@ -783,19 +795,18 @@ checking this by themselves in their 'check' procedure." (warning (G_ "Consider running 'guix pull' before 'reconfigure'.~%")) (warning (G_ "Failing to do that may downgrade your system!~%")))) -(define (bootloader-installer-derivation installer - bootloader device target) +(define (bootloader-installer-script installer + bootloader device target) "Return a file calling INSTALLER gexp with given BOOTLOADER, DEVICE and TARGET arguments." - (with-monad %store-monad - (gexp->file "bootloader-installer" - (with-imported-modules '((gnu build bootloader) - (guix build utils)) - #~(begin - (use-modules (gnu build bootloader) - (guix build utils) - (ice-9 binary-ports)) - (#$installer #$bootloader #$device #$target)))))) + (scheme-file "bootloader-installer" + (with-imported-modules '((gnu build bootloader) + (guix build utils)) + #~(begin + (use-modules (gnu build bootloader) + (guix build utils) + (ice-9 binary-ports)) + (#$installer #$bootloader #$device #$target))))) (define* (perform-action action os #:key skip-safety-checks? @@ -823,6 +834,25 @@ static checks." (define println (cut format #t "~a~%" <>)) + (define menu-entries + (if (eq? 'init action) + '() + (map boot-parameters->menu-entry (profile-boot-parameters)))) + + (define bootloader + (bootloader-configuration-bootloader (operating-system-bootloader os))) + + (define bootcfg + (and (not (eq? 'container action)) + (operating-system-bootcfg os menu-entries))) + + (define bootloader-script + (let ((installer (bootloader-installer bootloader)) + (target (or target "/"))) + (bootloader-installer-script installer + (bootloader-package bootloader) + bootloader-target target))) + (when (eq? action 'reconfigure) (maybe-suggest-running-guix-pull)) @@ -842,39 +872,16 @@ static checks." #:image-size image-size #:full-boot? full-boot? #:mappings mappings)) - (bootloader -> (bootloader-configuration-bootloader - (operating-system-bootloader os))) - (bootloader-package - (let ((package (bootloader-package bootloader))) - (if package - (package->derivation package) - (return #f)))) - (bootcfg (if (eq? 'container action) - (return #f) - (operating-system-bootcfg - os - (if (eq? 'init action) - '() - (map boot-parameters->menu-entry - (profile-boot-parameters)))))) - (bootcfg-file -> (bootloader-configuration-file bootloader)) - (bootloader-installer - (let ((installer (bootloader-installer bootloader)) - (target (or target "/"))) - (bootloader-installer-derivation installer - bootloader-package - bootloader-target target))) ;; For 'init' and 'reconfigure', always build BOOTCFG, even if ;; --no-bootloader is passed, because we then use it as a GC root. ;; See . - (drvs -> (if (memq action '(init reconfigure)) - (if (and install-bootloader? bootloader-package) - (list sys bootcfg - bootloader-package - bootloader-installer) - (list sys bootcfg)) - (list sys))) + (drvs (mapm %store-monad lower-object + (if (memq action '(init reconfigure)) + (if install-bootloader? + (list sys bootcfg bootloader-script) + (list sys bootcfg)) + (list sys)))) (% (if derivations-only? (return (for-each (compose println derivation-file-name) drvs)) @@ -883,7 +890,7 @@ static checks." (if (or dry-run? derivations-only?) (return #f) - (begin + (let ((bootcfg-file (bootloader-configuration-file bootloader))) (for-each (compose println derivation->output-path) drvs) @@ -892,7 +899,7 @@ static checks." (mbegin %store-monad (switch-to-system os) (mwhen install-bootloader? - (install-bootloader bootloader-installer + (install-bootloader bootloader-script #:bootcfg bootcfg #:bootcfg-file bootcfg-file #:target "/")))) @@ -904,7 +911,7 @@ static checks." #:install-bootloader? install-bootloader? #:bootcfg bootcfg #:bootcfg-file bootcfg-file - #:bootloader-installer bootloader-installer)) + #:bootloader-installer bootloader-script)) (else ;; All we had to do was to build SYS and maybe register an ;; indirect GC root. @@ -1161,7 +1168,8 @@ resulting from command-line parsing." #:target target #:bootloader-target bootloader-target #:gc-root (assoc-ref opts 'gc-root))))) - #:system system)))) + #:system system)) + (warn-about-disk-space))) (define (resolve-subcommand name) (let ((module (resolve-interface diff --git a/guix/self.scm b/guix/self.scm index 3e29c9a42a..f2db3dbf52 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -206,21 +206,22 @@ list of file-name/file-like objects suitable as inputs to 'imported-files'." (local-file file #:recursive? #t))) (find-files (string-append directory "/" sub-directory) pred))) -(define* (sub-directory item sub-directory) - "Return SUB-DIRECTORY within ITEM, which may be a file name or a file-like -object." +(define* (file-append* item file #:key (recursive? #t)) + "Return FILE within ITEM, which may be a file name or a file-like object. +When ITEM is a plain file name (a string), simply return a 'local-file' +record with the new file name." (match item ((? string?) ;; This is the optimal case: we return a new "source". Thus, a ;; derivation that depends on this sub-directory does not depend on ITEM ;; itself. - (local-file (string-append item "/" sub-directory) - #:recursive? #t)) + (local-file (string-append item "/" file) + #:recursive? recursive?)) ;; TODO: Add 'local-file?' case. (_ ;; In this case, anything that refers to the result also depends on ITEM, ;; which isn't great. - (file-append item "/" sub-directory)))) + (file-append item "/" file)))) (define* (locale-data source domain #:optional (directory domain)) @@ -238,7 +239,7 @@ DOMAIN, a gettext domain." (ice-9 match) (ice-9 ftw)) (define po-directory - #+(sub-directory source (string-append "po/" directory))) + #+(file-append* source (string-append "po/" directory))) (define (compile language) (let ((gmo (string-append #$output "/" language "/LC_MESSAGES/" @@ -272,11 +273,15 @@ DOMAIN, a gettext domain." (module-ref (resolve-interface '(gnu packages graphviz)) 'graphviz)) + (define glibc-utf8-locales + (module-ref (resolve-interface '(gnu packages base)) + 'glibc-utf8-locales)) + (define documentation - (sub-directory source "doc")) + (file-append* source "doc")) (define examples - (sub-directory source "gnu/system/examples")) + (file-append* source "gnu/system/examples")) (define build (with-imported-modules '((guix build utils)) @@ -290,7 +295,7 @@ DOMAIN, a gettext domain." ;; doesn't change at each commit? (call-with-output-file "version.texi" (lambda (port) - (let ((version "0.0-git)")) + (let ((version "0.0-git")) (format port " @set UPDATED 1 January 1970 @set UPDATED-MONTH January 1970 @@ -335,6 +340,10 @@ DOMAIN, a gettext domain." (delete-file-recursively "images") (symlink (string-append #$output "/images") "images") + ;; Provide UTF-8 locales needed by the 'xspara.c' code in makeinfo. + (setenv "GUIX_LOCPATH" + #+(file-append glibc-utf8-locales "/lib/locale")) + (for-each (lambda (texi) (unless (string=? "guix.texi" texi) ;; Create 'version-LL.texi'. @@ -404,11 +413,32 @@ load path." (apply guix-main (command-line)))) #:guile guile)) +(define (miscellaneous-files source) + "Return data files taken from SOURCE." + (file-mapping "guix-misc" + `(("etc/bash_completion.d/guix" + ,(file-append* source "/etc/completion/bash/guix")) + ("etc/bash_completion.d/guix-daemon" + ,(file-append* source "/etc/completion/bash/guix-daemon")) + ("share/zsh/site-functions/_guix" + ,(file-append* source "/etc/completion/zsh/_guix")) + ("share/fish/vendor_completions.d/guix.fish" + ,(file-append* source "/etc/completion/fish/guix.fish")) + ("share/guix/hydra.gnu.org.pub" + ,(file-append* source + "/etc/substitutes/hydra.gnu.org.pub")) + ("share/guix/berlin.guixsd.org.pub" + ,(file-append* source + "/etc/substitutes/berlin.guixsd.org.pub")) + ("share/guix/ci.guix.info.pub" ;alias + ,(file-append* source "/etc/substitutes/berlin.guixsd.org.pub"))))) + (define* (whole-package name modules dependencies #:key (guile-version (effective-version)) compiled-modules - info daemon guile + info daemon miscellany + guile (command (guix-command modules #:dependencies dependencies #:guile guile @@ -422,6 +452,7 @@ assumed to be part of MODULES." (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) + (mkdir-p (string-append #$output "/bin")) (symlink #$command (string-append #$output "/bin/guix")) @@ -441,6 +472,10 @@ assumed to be part of MODULES." (string-append #$output "/share/info")))) + (when #$miscellany + (copy-recursively #$miscellany #$output + #:log (%make-void-port "w"))) + ;; Object files. (when #$compiled-modules (let ((modules (string-append #$output "/lib/guile/" @@ -666,6 +701,7 @@ assumed to be part of MODULES." 'guix-daemon) #:info (info-manual source) + #:miscellany (miscellaneous-files source) #:guile-version guile-version))) ((= 0 pull-version) ;; Legacy 'guix pull': return the .scm and .go files as one diff --git a/guix/ssh.scm b/guix/ssh.scm index da20d4d8db..104f4f52d6 100644 --- a/guix/ssh.scm +++ b/guix/ssh.scm @@ -161,7 +161,7 @@ Throw an error on failure." "/var/guix/daemon-socket/socket")) "Connect to the remote build daemon listening on SOCKET-NAME over SESSION, an SSH session. Return a object." - (open-connection #:port (remote-daemon-channel session))) + (open-connection #:port (remote-daemon-channel session socket-name))) (define (store-import-channel session) @@ -297,9 +297,11 @@ Return the list of store items actually sent." (channel-send-eof port) ;; Wait for completion of the remote process and read the status sexp from - ;; PORT. + ;; PORT. Wait for the exit status only when 'read' completed; otherwise, + ;; we might wait forever if the other end is stuck. (let* ((result (false-if-exception (read port))) - (status (zero? (channel-get-exit-status port)))) + (status (and result + (zero? (channel-get-exit-status port))))) (close-port port) (match result (('success . _) diff --git a/guix/status.scm b/guix/status.scm index ffa9d9e93c..868bfdca21 100644 --- a/guix/status.scm +++ b/guix/status.scm @@ -325,7 +325,19 @@ addition to build events." (display "\r" port)) ;erase the spinner (match event (('build-started drv . _) - (format port (info (G_ "building ~a...")) drv) + (let ((properties (derivation-properties + (read-derivation-from-file drv)))) + (match (assq-ref properties 'type) + ('graft + (let ((count (match (assq-ref properties 'graft) + (#f 0) + (lst (or (assq-ref lst 'count) 0))))) + (format port (info (N_ "applying ~a graft for ~a..." + "applying ~a grafts for ~a..." + count)) + count drv))) + (_ + (format port (info (G_ "building ~a...")) drv)))) (newline port)) (('build-succeeded drv . _) (when (or print-log? (not (extended-build-trace-supported?))) @@ -393,6 +405,9 @@ addition to build events." expected hash: ~a actual hash: ~a~%")) expected actual)) + (('build-remote drv host _ ...) + (format port (info (G_ "offloading build of ~a to '~a'")) drv host) + (newline port)) (('build-log pid line) (if (multiplexed-output-supported?) (if (not pid) diff --git a/guix/store.scm b/guix/store.scm index b1bdbf3813..509fd4def6 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -23,6 +23,7 @@ #:use-module (guix memoization) #:use-module (guix serialization) #:use-module (guix monads) + #:use-module (guix records) #:use-module (guix base16) #:use-module (guix base32) #:use-module (gcrypt hash) @@ -30,6 +31,7 @@ #:autoload (guix build syscalls) (terminal-columns) #:use-module (rnrs bytevectors) #:use-module (ice-9 binary-ports) + #:use-module ((ice-9 control) #:select (let/ec)) #:use-module (srfi srfi-1) #:use-module (srfi srfi-9) #:use-module (srfi srfi-9 gnu) @@ -55,6 +57,7 @@ nix-server-minor-version nix-server-socket current-store-protocol-version ;for internal use + mcached &nix-error nix-error? &nix-connection-error nix-connection-error? @@ -332,10 +335,7 @@ ;; remote-store.cc -(define-record-type - (%make-nix-server socket major minor - buffer flush - ats-cache atts-cache) +(define-record-type* nix-server %make-nix-server nix-server? (socket nix-server-socket) (major nix-server-major-version) @@ -348,7 +348,9 @@ ;; during the session are temporary GC roots kept for the duration of ;; the session. (ats-cache nix-server-add-to-store-cache) - (atts-cache nix-server-add-text-to-store-cache)) + (atts-cache nix-server-add-text-to-store-cache) + (object-cache nix-server-object-cache + (default vlist-null))) ;vhash (set-record-type-printer! (lambda (obj port) @@ -523,7 +525,8 @@ for this connection will be pinned. Return a server object." (protocol-minor v) output flush (make-hash-table 100) - (make-hash-table 100)))) + (make-hash-table 100) + vlist-null))) (let loop ((done? (process-stderr conn))) (or done? (process-stderr conn))) conn))))))))) @@ -543,7 +546,8 @@ connection. Use with care." (protocol-minor version) output flush (make-hash-table 100) - (make-hash-table 100)))) + (make-hash-table 100) + vlist-null))) (define (nix-server-version store) "Return the protocol version of STORE as an integer." @@ -689,7 +693,7 @@ encoding conversion errors." (map (if (false-if-exception (resolve-interface '(gnutls))) (cut string-append "https://" <>) (cut string-append "http://" <>)) - '("mirror.hydra.gnu.org"))) + '("ci.guix.info"))) (define* (set-build-options server #:key keep-failed? keep-going? fallback? @@ -1486,6 +1490,56 @@ This makes sense only when the daemon was started with '--cache-failures'." ;; from %STATE-MONAD. (template-directory instantiations %store-monad) +(define* (cache-object-mapping object keys result) + "Augment the store's object cache with a mapping from OBJECT/KEYS to RESULT. +KEYS is a list of additional keys to match against, for instance a (SYSTEM +TARGET) tuple. + +OBJECT is typically a high-level object such as a or an , +and RESULT is typically its derivation." + (lambda (store) + (values result + (nix-server + (inherit store) + (object-cache (vhash-consq object (cons result keys) + (nix-server-object-cache store))))))) + +(define* (lookup-cached-object object #:optional (keys '())) + "Return the cached object in the store connection corresponding to OBJECT +and KEYS. KEYS is a list of additional keys to match against, and which are +compared with 'equal?'. Return #f on failure and the cached result +otherwise." + (lambda (store) + ;; Escape as soon as we find the result. This avoids traversing the whole + ;; vlist chain and significantly reduces the number of 'hashq' calls. + (values (let/ec return + (vhash-foldq* (lambda (item result) + (match item + ((value . keys*) + (if (equal? keys keys*) + (return value) + result)))) + #f object + (nix-server-object-cache store))) + store))) + +(define* (%mcached mthunk object #:optional (keys '())) + "Bind the monadic value returned by MTHUNK, which supposedly corresponds to +OBJECT/KEYS, or return its cached value." + (mlet %store-monad ((cached (lookup-cached-object object keys))) + (if cached + (return cached) + (>>= (mthunk) + (lambda (result) + (cache-object-mapping object keys result)))))) + +(define-syntax-rule (mcached mvalue object keys ...) + "Run MVALUE, which corresponds to OBJECT/KEYS, and cache it; or return the +value associated with OBJECT/KEYS in the store's object cache if there is +one." + (%mcached (lambda () mvalue) + object (list keys ...))) + (define (preserve-documentation original proc) "Return PROC with documentation taken from ORIGINAL." (set-object-property! proc 'documentation diff --git a/guix/store/database.scm b/guix/store/database.scm index 341276bc30..e6bfbe763e 100644 --- a/guix/store/database.scm +++ b/guix/store/database.scm @@ -36,7 +36,9 @@ #:use-module (ice-9 match) #:use-module (system foreign) #:export (sql-schema + %default-database-file with-database + path-id sqlite-register register-path register-items @@ -51,7 +53,7 @@ (define sqlite-exec ;; XXX: This is was missing from guile-sqlite3 until - ;; . + ;; . (let ((exec (pointer->procedure int (dynamic-func "sqlite3_exec" (@@ (sqlite3) libsqlite3)) @@ -85,6 +87,10 @@ create it and initialize it as a new database." (lambda () (sqlite-close db))))) +(define %default-database-file + ;; Default location of the store database. + (string-append %store-database-directory "/db.sqlite")) + (define-syntax-rule (with-database file db exp ...) "Open DB from FILE and close it when the dynamic extent of EXP... is left. If FILE doesn't exist, create it and initialize it as a new database." diff --git a/guix/store/deduplication.scm b/guix/store/deduplication.scm index 53810c680f..21b0c81f3d 100644 --- a/guix/store/deduplication.scm +++ b/guix/store/deduplication.scm @@ -102,11 +102,17 @@ LINK-PREFIX." SWAP-DIRECTORY as the directory to store temporary hard links. Note: TARGET, TO-REPLACE, and SWAP-DIRECTORY must be on the same file system." - (let ((temp-link (get-temp-link target swap-directory))) - (make-file-writable (dirname to-replace)) + (let* ((temp-link (get-temp-link target swap-directory)) + (parent (dirname to-replace)) + (stat (stat parent))) + (make-file-writable parent) (catch 'system-error (lambda () - (rename-file temp-link to-replace)) + (rename-file temp-link to-replace) + + ;; Restore PARENT's mtime and permissions. + (set-file-time parent stat) + (chmod parent (stat:mode stat))) (lambda args (delete-file temp-link) (unless (= EMLINK (system-error-errno args)) diff --git a/guix/swh.scm b/guix/swh.scm new file mode 100644 index 0000000000..89cddb2bdd --- /dev/null +++ b/guix/swh.scm @@ -0,0 +1,560 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Ludovic Courtès +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix swh) + #:use-module (guix base16) + #:use-module (guix build utils) + #:use-module ((guix build syscalls) #:select (mkdtemp!)) + #:use-module (web client) + #:use-module (web response) + #:use-module (json) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-9) + #:use-module (srfi srfi-11) + #:use-module (srfi srfi-19) + #:use-module (ice-9 match) + #:use-module (ice-9 regex) + #:use-module (ice-9 popen) + #:use-module ((ice-9 ftw) #:select (scandir)) + #:export (origin? + origin-id + origin-type + origin-url + origin-visits + lookup-origin + + visit? + visit-date + visit-origin + visit-url + visit-snapshot-url + visit-status + visit-number + visit-snapshot + + branch? + branch-name + branch-target + + release? + release-id + release-name + release-message + release-target + + revision? + revision-id + revision-date + revision-directory + lookup-revision + lookup-origin-revision + + content? + content-checksums + content-data-url + content-length + lookup-content + + directory-entry? + directory-entry-name + directory-entry-type + directory-entry-checksums + directory-entry-length + directory-entry-permissions + lookup-directory + directory-entry-target + + save-reply? + save-reply-origin-url + save-reply-origin-type + save-reply-request-date + save-reply-request-status + save-reply-task-status + save-origin + save-origin-status + + vault-reply? + vault-reply-id + vault-reply-fetch-url + vault-reply-object-id + vault-reply-object-type + vault-reply-progress-message + vault-reply-status + query-vault + request-cooking + vault-fetch + + swh-download)) + +;;; Commentary: +;;; +;;; This module provides bindings to the HTTP interface of Software Heritage. +;;; It allows you to browse the archive, look up revisions (such as SHA1 +;;; commit IDs), "origins" (code hosting URLs), content (files), etc. See +;;; for more information. +;;; +;;; The high-level 'swh-download' procedure allows you to download a Git +;;; revision from Software Heritage, provided it is available. +;;; +;;; Code: + +(define %swh-base-url + ;; Presumably we won't need to change it. + "https://archive.softwareheritage.org") + +(define (swh-url path . rest) + (define url + (string-append %swh-base-url path + (string-join rest "/" 'prefix))) + + ;; Ensure there's a trailing slash or we get a redirect. + (if (string-suffix? "/" url) + url + (string-append url "/"))) + +(define-syntax-rule (define-json-reader json->record ctor spec ...) + "Define JSON->RECORD as a procedure that converts a JSON representation, +read from a port, string, or hash table, into a record created by CTOR and +following SPEC, a series of field specifications." + (define (json->record input) + (let ((table (cond ((port? input) + (json->scm input)) + ((string? input) + (json-string->scm input)) + ((hash-table? input) + input)))) + (let-syntax ((extract-field (syntax-rules () + ((_ table (field key json->value)) + (json->value (hash-ref table key))) + ((_ table (field key)) + (hash-ref table key)) + ((_ table (field)) + (hash-ref table + (symbol->string 'field)))))) + (ctor (extract-field table spec) ...))))) + +(define-syntax-rule (define-json-mapping rtd ctor pred json->record + (field getter spec ...) ...) + "Define RTD as a record type with the given FIELDs and GETTERs, à la SRFI-9, +and define JSON->RECORD as a conversion from JSON to a record of this type." + (begin + (define-record-type rtd + (ctor field ...) + pred + (field getter) ...) + + (define-json-reader json->record ctor + (field spec ...) ...))) + +(define %date-regexp + ;; Match strings like "2014-11-17T22:09:38+01:00" or + ;; "2018-09-30T23:20:07.815449+00:00"". + (make-regexp "^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})((\\.[0-9]+)?)([+-][0-9]{2}):([0-9]{2})$")) + +(define (string->date* str) + "Return a SRFI-19 date parsed from STR, a date string as returned by +Software Heritage." + ;; We can't use 'string->date' because of the timezone format: SWH returns + ;; "+01:00" when the '~z' template expects "+0100". So we roll our own! + (or (and=> (regexp-exec %date-regexp str) + (lambda (match) + (define (ref n) + (string->number (match:substring match n))) + + (make-date (let ((ns (match:substring match 8))) + (if ns + (string->number (string-drop ns 1)) + 0)) + (ref 6) (ref 5) (ref 4) + (ref 3) (ref 2) (ref 1) + (+ (* 3600 (ref 9)) ;time zone + (if (< (ref 9) 0) + (- (ref 10)) + (ref 10)))))) + str)) ;oops! + +(define* (call url decode #:optional (method http-get) + #:key (false-if-404? #t)) + "Invoke the endpoint at URL using METHOD. Decode the resulting JSON body +using DECODE, a one-argument procedure that takes an input port. When +FALSE-IF-404? is true, return #f upon 404 responses." + (let*-values (((response port) + (method url #:streaming? #t))) + ;; See . + (match (assq-ref (response-headers response) 'x-ratelimit-remaining) + (#f #t) + ((? (compose zero? string->number)) + (throw 'swh-error url response)) + (_ #t)) + + (cond ((= 200 (response-code response)) + (let ((result (decode port))) + (close-port port) + result)) + ((and false-if-404? + (= 404 (response-code response))) + (close-port port) + #f) + (else + (close-port port) + (throw 'swh-error url response))))) + +(define-syntax define-query + (syntax-rules (path) + "Define a procedure that performs a Software Heritage query." + ((_ (name args ...) docstring (path components ...) + json->value) + (define (name args ...) + docstring + (call (swh-url components ...) json->value))))) + +;; +(define-json-mapping make-origin origin? + json->origin + (id origin-id) + (visits-url origin-visits-url "origin_visits_url") + (type origin-type) + (url origin-url)) + +;; +(define-json-mapping make-visit visit? + json->visit + (date visit-date "date" string->date*) + (origin visit-origin) + (url visit-url "origin_visit_url") + (snapshot-url visit-snapshot-url "snapshot_url") + (status visit-status) + (number visit-number "visit")) + +;; +(define-json-mapping make-snapshot snapshot? + json->snapshot + (branches snapshot-branches "branches" json->branches)) + +;; This is used for the "branches" field of snapshots. +(define-record-type + (make-branch name target-type target-url) + branch? + (name branch-name) + (target-type branch-target-type) ;release | revision + (target-url branch-target-url)) + +(define (json->branches branches) + (hash-map->list (lambda (key value) + (make-branch key + (string->symbol + (hash-ref value "target_type")) + (hash-ref value "target_url"))) + branches)) + +;; +(define-json-mapping make-release release? + json->release + (id release-id) + (name release-name) + (message release-message) + (target-type release-target-type "target_type" string->symbol) + (target-url release-target-url "target_url")) + +;; +(define-json-mapping make-revision revision? + json->revision + (id revision-id) + (date revision-date "date" string->date*) + (directory revision-directory) + (directory-url revision-directory-url "directory_url")) + +;; +(define-json-mapping make-content content? + json->content + (checksums content-checksums "checksums" json->checksums) + (data-url content-data-url "data_url") + (file-type-url content-file-type-url "filetype_url") + (language-url content-language-url "language_url") + (length content-length) + (license-url content-license-url "license_url")) + +(define (json->checksums checksums) + (hash-map->list (lambda (key value) + (cons key (base16-string->bytevector value))) + checksums)) + +;; +(define-json-mapping make-directory-entry directory-entry? + json->directory-entry + (name directory-entry-name) + (type directory-entry-type "type" + (match-lambda + ("dir" 'directory) + (str (string->symbol str)))) + (checksums directory-entry-checksums "checksums" + (match-lambda + (#f #f) + (lst (json->checksums lst)))) + (id directory-entry-id "dir_id") + (length directory-entry-length) + (permissions directory-entry-permissions "perms") + (target-url directory-entry-target-url "target_url")) + +;; +(define-json-mapping make-save-reply save-reply? + json->save-reply + (origin-url save-reply-origin-url "origin_url") + (origin-type save-reply-origin-type "origin_type") + (request-date save-reply-request-date "save_request_date" + string->date*) + (request-status save-reply-request-status "save_request_status" + string->symbol) + (task-status save-reply-task-status "save_task_status" + (match-lambda + ("not created" 'not-created) + ((? string? str) (string->symbol str))))) + +;; +(define-json-mapping make-vault-reply vault-reply? + json->vault-reply + (id vault-reply-id) + (fetch-url vault-reply-fetch-url "fetch_url") + (object-id vault-reply-object-id "obj_id") + (object-type vault-reply-object-type "obj_type" string->symbol) + (progress-message vault-reply-progress-message "progress_message") + (status vault-reply-status "status" string->symbol)) + + +;;; +;;; RPCs. +;;; + +(define-query (lookup-origin url) + "Return an origin for URL." + (path "/api/1/origin/git/url" url) + json->origin) + +(define-query (lookup-content hash type) + "Return a content for HASH, of the given TYPE--e.g., \"sha256\"." + (path "/api/1/content" + (string-append type ":" + (bytevector->base16-string hash))) + json->content) + +(define-query (lookup-revision id) + "Return the revision with the given ID, typically a Git commit SHA1." + (path "/api/1/revision" id) + json->revision) + +(define-query (lookup-directory id) + "Return the directory with the given ID." + (path "/api/1/directory" id) + json->directory-entries) + +(define (json->directory-entries port) + (map json->directory-entry (json->scm port))) + +(define (origin-visits origin) + "Return the list of visits of ORIGIN, a record as returned by +'lookup-origin'." + (call (swh-url (origin-visits-url origin)) + (lambda (port) + (map json->visit (json->scm port))))) + +(define (visit-snapshot visit) + "Return the snapshot corresponding to VISIT." + (call (swh-url (visit-snapshot-url visit)) + json->snapshot)) + +(define (branch-target branch) + "Return the target of BRANCH, either a or a ." + (match (branch-target-type branch) + ('release + (call (swh-url (branch-target-url branch)) + json->release)) + ('revision + (call (swh-url (branch-target-url branch)) + json->revision)))) + +(define (lookup-origin-revision url tag) + "Return a corresponding to the given TAG for the repository +coming from URL. Example: + + (lookup-origin-release \"https://github.com/guix-mirror/guix/\" \"v0.8\") + => #< id: \"44941…\" …> + +The information is based on the latest visit of URL available. Return #f if +URL could not be found." + (match (lookup-origin url) + (#f #f) + (origin + (match (origin-visits origin) + ((visit . _) + (let ((snapshot (visit-snapshot visit))) + (match (and=> (find (lambda (branch) + (string=? (string-append "refs/tags/" tag) + (branch-name branch))) + (snapshot-branches snapshot)) + branch-target) + ((? release? release) + (release-target release)) + ((? revision? revision) + revision) + (#f ;tag not found + #f)))) + (() + #f))))) + +(define (release-target release) + "Return the revision that is the target of RELEASE." + (match (release-target-type release) + ('revision + (call (swh-url (release-target-url release)) + json->revision)))) + +(define (directory-entry-target entry) + "If ENTRY, a directory entry, has type 'directory, return its list of +directory entries; if it has type 'file, return its object." + (call (swh-url (directory-entry-target-url entry)) + (match (directory-entry-type entry) + ('file json->content) + ('directory json->directory-entries)))) + +(define* (save-origin url #:optional (type "git")) + "Request URL to be saved." + (call (swh-url "/api/1/origin/save" type "url" url) json->save-reply + http-post)) + +(define-query (save-origin-status url type) + "Return the status of a /save request for URL and TYPE (e.g., \"git\")." + (path "/api/1/origin/save" type "url" url) + json->save-reply) + +(define-query (query-vault id kind) + "Ask the availability of object ID and KIND to the vault, where KIND is +'directory or 'revision. Return #f if it could not be found, or a + on success." + ;; + ;; There's a single format supported for directories and revisions and for + ;; now, the "/format" bit of the URL *must* be omitted. + (path "/api/1/vault" (symbol->string kind) id) + json->vault-reply) + +(define (request-cooking id kind) + "Request the cooking of object ID and KIND (one of 'directory or 'revision) +to the vault. Return a ." + (call (swh-url "/api/1/vault" (symbol->string kind) id) + json->vault-reply + http-post)) + +(define* (vault-fetch id kind + #:key (log-port (current-error-port))) + "Return an input port from which a bundle of the object with the given ID +and KIND (one of 'directory or 'revision) can be retrieved, or #f if the +object could not be found. + +For a directory, the returned stream is a gzip-compressed tarball. For a +revision, it is a gzip-compressed stream for 'git fast-import'." + (let loop ((reply (query-vault id kind))) + (match reply + (#f + (and=> (request-cooking id kind) loop)) + (_ + (match (vault-reply-status reply) + ('done + ;; Fetch the bundle. + (let-values (((response port) + (http-get (swh-url (vault-reply-fetch-url reply)) + #:streaming? #t))) + (if (= (response-code response) 200) + port + (begin ;shouldn't happen + (close-port port) + #f)))) + ('failed + ;; Upon failure, we're supposed to try again. + (format log-port "SWH vault: failure: ~a~%" + (vault-reply-progress-message reply)) + (format log-port "SWH vault: retrying...~%") + (loop (request-cooking id kind))) + ((and (or 'new 'pending) status) + ;; Wait until the bundle shows up. + (let ((message (vault-reply-progress-message reply))) + (when (eq? 'new status) + (format log-port "SWH vault: \ +requested bundle cooking, waiting for completion...~%")) + (when (string? message) + (format log-port "SWH vault: ~a~%" message)) + + ;; Wait long enough so we don't exhaust our maximum number of + ;; requests per hour too fast (as of this writing, the limit is 60 + ;; requests per hour per IP address.) + (sleep (if (eq? status 'new) 60 30)) + + (loop (query-vault id kind))))))))) + + +;;; +;;; High-level interface. +;;; + +(define (commit-id? reference) + "Return true if REFERENCE is likely a commit ID, false otherwise---e.g., if +it is a tag name." + (and (= (string-length reference) 40) + (string-every char-set:hex-digit reference))) + +(define (call-with-temporary-directory proc) ;FIXME: factorize + "Call PROC with a name of a temporary directory; close the directory and +delete it when leaving the dynamic extent of this call." + (let* ((directory (or (getenv "TMPDIR") "/tmp")) + (template (string-append directory "/guix-directory.XXXXXX")) + (tmp-dir (mkdtemp! template))) + (dynamic-wind + (const #t) + (lambda () + (proc tmp-dir)) + (lambda () + (false-if-exception (delete-file-recursively tmp-dir)))))) + +(define (swh-download url reference output) + "Download from Software Heritage a checkout of the Git tag or commit +REFERENCE originating from URL, and unpack it in OUTPUT. Return #t on success +and #f on failure. + +This procedure uses the \"vault\", which contains \"cooked\" directories in +the form of tarballs. If the requested directory is not cooked yet, it will +wait until it becomes available, which could take several minutes." + (match (if (commit-id? reference) + (lookup-revision reference) + (lookup-origin-revision url reference)) + ((? revision? revision) + (call-with-temporary-directory + (lambda (directory) + (let ((input (vault-fetch (revision-directory revision) 'directory)) + (tar (open-pipe* OPEN_WRITE "tar" "-C" directory "-xzvf" "-"))) + (dump-port input tar) + (close-port input) + (let ((status (close-pipe tar))) + (unless (zero? status) + (error "tar extraction failure" status))) + + (match (scandir directory) + (("." ".." sub-directory) + (copy-recursively (string-append directory "/" sub-directory) + output + #:log (%make-void-port "w")) + #t)))))) + (#f + #f))) diff --git a/guix/tests.scm b/guix/tests.scm index bcf9b990e5..f4948148c4 100644 --- a/guix/tests.scm +++ b/guix/tests.scm @@ -27,6 +27,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages bootstrap) #:use-module (srfi srfi-34) + #:use-module (srfi srfi-64) #:use-module (rnrs bytevectors) #:use-module (ice-9 binary-ports) #:use-module (web uri) @@ -35,10 +36,13 @@ random-text random-bytevector file=? + canonical-file? network-reachable? shebang-too-long? mock %test-substitute-urls + test-assertm + test-equalm %substitute-directory with-derivation-narinfo with-derivation-substitute @@ -147,6 +151,14 @@ too expensive to build entirely in the test store." (else (error "what?" (lstat a)))))) +(define (canonical-file? file) + "Return #t if FILE is in the store, is read-only, and its mtime is 1." + (let ((st (lstat file))) + (or (not (string-prefix? (%store-prefix) file)) + (eq? 'symlink (stat:type st)) + (and (= 1 (stat:mtime st)) + (zero? (logand #o222 (stat:mode st))))))) + (define (network-reachable?) "Return true if we can reach the Internet." (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV))) @@ -161,6 +173,28 @@ given by REPLACEMENT." (lambda () body ...) (lambda () (module-set! m 'proc original))))) +(define-syntax-rule (test-assertm name exp) + "Like 'test-assert', but EXP is a monadic value. A new connection to the +store is opened." + (test-assert name + (let ((store (open-connection-for-tests))) + (dynamic-wind + (const #t) + (lambda () + (run-with-store store exp + #:guile-for-build (%guile-for-build))) + (lambda () + (close-connection store)))))) + +(define-syntax-rule (test-equalm name value exp) + "Like 'test-equal', but EXP is a monadic value. A new connection to the +store is opened." + (test-equal name + value + (with-store store + (run-with-store store exp + #:guile-for-build (%guile-for-build))))) + ;;; ;;; Narinfo files, as used by the substituter. diff --git a/guix/ui.scm b/guix/ui.scm index 96f403acf5..60636edac0 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -816,6 +816,12 @@ warning." (warning (G_ "at least ~,1h MB needed but only ~,1h MB available in ~a~%") (/ need 1e6) (/ free 1e6) directory)))) +(define (graft-derivation? drv) + "Return true if DRV is definitely a graft derivation, false otherwise." + (match (assq-ref (derivation-properties drv) 'type) + ('graft #t) + (_ #f))) + (define* (show-what-to-build store drv #:key dry-run? (use-substitutes? #t) (mode (build-mode normal))) @@ -865,7 +871,11 @@ report what is prerequisites are available for download." (append-map substitutable-references download)))) - download))) + download)) + ((graft build) + (partition (compose graft-derivation? + read-derivation-from-file) + build))) (define installed-size (reduce + 0 (map substitutable-nar-size download))) @@ -898,7 +908,12 @@ report what is prerequisites are available for download." "~:[The following files would be downloaded:~%~{ ~a~%~}~;~]" (length download)) (null? download) - (map substitutable-path download)))) + (map substitutable-path download))) + (format (current-error-port) + (N_ "~:[The following graft would be made:~%~{ ~a~%~}~;~]" + "~:[The following grafts would be made:~%~{ ~a~%~}~;~]" + (length graft)) + (null? graft) graft)) (begin (format (current-error-port) (N_ "~:[The following derivation will be built:~%~{ ~a~%~}~;~]" @@ -918,7 +933,12 @@ report what is prerequisites are available for download." "~:[The following files will be downloaded:~%~{ ~a~%~}~;~]" (length download)) (null? download) - (map substitutable-path download))))) + (map substitutable-path download))) + (format (current-error-port) + (N_ "~:[The following graft will be made:~%~{ ~a~%~}~;~]" + "~:[The following grafts will be made:~%~{ ~a~%~}~;~]" + (length graft)) + (null? graft) graft))) (check-available-space installed-size) diff --git a/m4/guix.m4 b/m4/guix.m4 index da3c65f8f7..5c846f7618 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -162,7 +162,7 @@ dnl Check whether a recent-enough Guile-Sqlite3 is available. AC_DEFUN([GUIX_CHECK_GUILE_SQLITE3], [ dnl Check whether 'sqlite-bind-arguments' is available. It was introduced dnl in February 2018: - dnl . + dnl . AC_CACHE_CHECK([whether Guile-Sqlite3 is available and recent enough], [guix_cv_have_recent_guile_sqlite3], [GUILE_CHECK([retval], diff --git a/nix/libstore/local-store.cc b/nix/libstore/local-store.cc index 4c55c6ea0d..0aed59710f 100644 --- a/nix/libstore/local-store.cc +++ b/nix/libstore/local-store.cc @@ -1222,6 +1222,18 @@ static void checkSecrecy(const Path & path) } +static std::string runAuthenticationProgram(const Strings & args) +{ + /* Use the 'authenticate' script from 'LIBEXECDIR/guix' or just + 'LIBEXECDIR', depending on whether we're uninstalled or not. */ + const bool installed = getenv("GUIX_UNINSTALLED") == NULL; + const string program = settings.nixLibexecDir + + (installed ? "/guix" : "") + + "/authenticate"; + + return runProgram(program, false, args); +} + void LocalStore::exportPath(const Path & path, bool sign, Sink & sink) { @@ -1276,7 +1288,8 @@ void LocalStore::exportPath(const Path & path, bool sign, args.push_back(secretKey); args.push_back("-in"); args.push_back(hashFile); - string signature = runProgram(OPENSSL_PATH, true, args); + + string signature = runAuthenticationProgram(args); writeString(signature, hashAndWriteSink); @@ -1366,7 +1379,7 @@ Path LocalStore::importPath(bool requireSignature, Source & source) args.push_back("-pubin"); args.push_back("-in"); args.push_back(sigFile); - string hash2 = runProgram(OPENSSL_PATH, true, args); + string hash2 = runAuthenticationProgram(args); /* Note: runProgram() throws an exception if the signature is invalid. */ diff --git a/nix/local.mk b/nix/local.mk index 7d45f200b8..fe45c344f0 100644 --- a/nix/local.mk +++ b/nix/local.mk @@ -113,7 +113,6 @@ libstore_a_CPPFLAGS = \ -DGUIX_CONFIGURATION_DIRECTORY=\"$(sysconfdir)/guix\" \ -DNIX_LIBEXEC_DIR=\"$(libexecdir)\" \ -DNIX_BIN_DIR=\"$(bindir)\" \ - -DOPENSSL_PATH="\"guix-authenticate\"" \ -DDEFAULT_CHROOT_DIRS="\"\"" libstore_a_CXXFLAGS = $(AM_CXXFLAGS) \ @@ -168,10 +167,8 @@ nodist_pkglibexec_SCRIPTS += \ endif BUILD_DAEMON_OFFLOAD - -# XXX: It'd be better to hide it in $(pkglibexecdir). -nodist_libexec_SCRIPTS = \ - %D%/scripts/guix-authenticate +nodist_pkglibexec_SCRIPTS += \ + %D%/scripts/authenticate # The '.service' files for systemd. systemdservicedir = $(libdir)/systemd/system diff --git a/nix/nix-daemon/guix-daemon.cc b/nix/nix-daemon/guix-daemon.cc index b71b100f6c..8fdab2d116 100644 --- a/nix/nix-daemon/guix-daemon.cc +++ b/nix/nix-daemon/guix-daemon.cc @@ -466,18 +466,6 @@ main (int argc, char *argv[]) { settings.processEnvironment (); - /* Hackily help 'local-store.cc' find our 'guix-authenticate' program, which - is known as 'OPENSSL_PATH' here. */ - std::string search_path; - search_path = settings.nixLibexecDir; - if (getenv ("PATH") != NULL) - { - search_path += ":"; - search_path += getenv ("PATH"); - } - - setenv ("PATH", search_path.c_str (), 1); - /* Use our substituter by default. */ settings.substituters.clear (); settings.set ("build-use-substitutes", "true"); diff --git a/nix/nix-daemon/nix-daemon.cc b/nix/nix-daemon/nix-daemon.cc index 2939422172..6ce475a26c 100644 --- a/nix/nix-daemon/nix-daemon.cc +++ b/nix/nix-daemon/nix-daemon.cc @@ -565,6 +565,12 @@ static void performOp(bool trusted, unsigned int clientVersion, case wopSetOptions: { settings.keepFailed = readInt(from) != 0; + if (isRemoteConnection) + /* When the client is remote, don't keep the failed build tree as + it is presumably inaccessible to the client and could fill up + our disk. */ + settings.keepFailed = 0; + settings.keepGoing = readInt(from) != 0; settings.set("build-fallback", readInt(from) ? "true" : "false"); verbosity = (Verbosity) readInt(from); diff --git a/nix/scripts/guix-authenticate.in b/nix/scripts/authenticate.in similarity index 100% rename from nix/scripts/guix-authenticate.in rename to nix/scripts/authenticate.in diff --git a/po/doc/guix-manual.de.po b/po/doc/guix-manual.de.po new file mode 100644 index 0000000000..676ae7aa07 --- /dev/null +++ b/po/doc/guix-manual.de.po @@ -0,0 +1,38943 @@ +# German translation of the Guix user manual. +# Copyright (C) 2018 the authors of Guix (msgids) +# This file is distributed under the same license as the guix package. +# Mario Blättermann , 2018. +# Florian Pelz , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: guix-manual 0.16.0\n" +"Report-Msgid-Bugs-To: ludo@gnu.org\n" +"POT-Creation-Date: 2018-04-29 20:48+0200\n" +"PO-Revision-Date: 2018-11-30 11:32+0100\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: chapter +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:1 doc/contributing.texi:2 doc/guix.texi:106 +#: doc/guix.texi:276 +#, no-wrap +msgid "Contributing" +msgstr "Mitwirken" + +#. type: Plain text +#: doc/contributing.texi:9 +msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Freenode IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})." +msgstr "Dieses Projekt basiert auf Kooperation, daher benötigen wir Ihre Hilfe, um es wachsen zu lassen! Bitte kontaktieren Sie uns auf @email{guix-devel@@gnu.org} und @code{#guix} im Freenode-IRC-Netzwerk. Wir freuen uns auf Ihre Ideen, Fehlerberichte, Patches und alles, was hilfreich für das Projekt sein könnte. Besonders willkommen ist Hilfe bei der Erstellung von Paketen (@pxref{Packaging Guidelines})." + +#. type: cindex +#: doc/contributing.texi:10 +#, no-wrap +msgid "code of conduct, of contributors" +msgstr "Verhaltensregeln, für Mitwirkende" + +#. type: cindex +#: doc/contributing.texi:11 +#, no-wrap +msgid "contributor covenant" +msgstr "Verhaltenskodex für Mitwirkende" + +#. type: Plain text +#: doc/contributing.texi:17 +msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{http://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree." +msgstr "Wir möchten eine angenehme, freundliche und von Belästigungen freie Umgebung bereitstellen, so dass jeder Beiträge nach seinen Fähigkeiten leisten kann. Zu diesem Zweck verwendet unser Projekt einen »Verhaltenskodex für Mitwirkende«, der von @url{http://contributor-covenant.org/} übernommen wurde. Eine übersetzte Fassung finden Sie auf @url{https://www.contributor-covenant.org/de/version/1/4/code-of-conduct} sowie eine mitgelieferte, englische Fassung in der Datei @file{CODE-OF-CONDUCT} im Quellbaum." + +#. type: Plain text +#: doc/contributing.texi:21 +msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice." +msgstr "Von Mitwirkenden wird nicht erwartet, dass sie in Patches oder in der Online-Kommunikation ihre echten Namen preisgeben. Sie können einen beliebigen Namen oder ein Pseudonym ihrer Wahl verwenden." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: section +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:28 doc/contributing.texi:30 doc/contributing.texi:31 +#: doc/guix.texi:282 +#, no-wrap +msgid "Building from Git" +msgstr "Erstellung aus dem Git" + +#. type: menuentry +#: doc/contributing.texi:28 doc/guix.texi:282 +msgid "The latest and greatest." +msgstr "Das Neueste und Beste." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: section +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:28 doc/contributing.texi:102 +#: doc/contributing.texi:103 doc/guix.texi:282 +#, no-wrap +msgid "Running Guix Before It Is Installed" +msgstr "Guix vor der Installation ausführen" + +#. type: menuentry +#: doc/contributing.texi:28 doc/guix.texi:282 +msgid "Hacker tricks." +msgstr "Hacker-Tricks." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: section +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:28 doc/contributing.texi:169 +#: doc/contributing.texi:170 doc/guix.texi:282 +#, no-wrap +msgid "The Perfect Setup" +msgstr "Perfekt eingerichtet" + +#. type: menuentry +#: doc/contributing.texi:28 doc/guix.texi:282 +msgid "The right tools." +msgstr "Die richtigen Werkzeuge." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: section +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:28 doc/contributing.texi:228 +#: doc/contributing.texi:229 doc/guix.texi:282 doc/guix.texi:284 +#, no-wrap +msgid "Coding Style" +msgstr "Code-Stil" + +#. type: menuentry +#: doc/contributing.texi:28 doc/guix.texi:282 +msgid "Hygiene of the contributor." +msgstr "Wie Mitwirkende hygienisch arbeiten." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: section +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:28 doc/contributing.texi:326 +#: doc/contributing.texi:327 doc/guix.texi:282 +#, no-wrap +msgid "Submitting Patches" +msgstr "Einreichen von Patches" + +#. type: menuentry +#: doc/contributing.texi:28 doc/guix.texi:282 +msgid "Share your work." +msgstr "Teilen Sie Ihre Arbeit." + +#. type: Plain text +#: doc/contributing.texi:35 +msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:" +msgstr "Wenn Sie an Guix selbst hacken wollen, ist es empfehlenswert, dass Sie die neueste Version aus dem Git-Softwarebestand verwenden:" + +#. type: example +#: doc/contributing.texi:38 +#, no-wrap +msgid "git clone https://git.savannah.gnu.org/git/guix.git\n" +msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n" + +#. type: Plain text +#: doc/contributing.texi:43 +msgid "When building Guix from a checkout, the following packages are required in addition to those mentioned in the installation instructions (@pxref{Requirements})." +msgstr "Wenn Sie Guix aus einem Checkout erstellen, sind außer den bereits in den Installationsanweisungen genannten Paketen weitere nötig (@pxref{Requirements})." + +#. type: item +#: doc/contributing.texi:45 +#, no-wrap +msgid "@url{http://gnu.org/software/autoconf/, GNU Autoconf};" +msgstr "@url{http://gnu.org/software/autoconf/, GNU Autoconf};" + +#. type: item +#: doc/contributing.texi:46 +#, no-wrap +msgid "@url{http://gnu.org/software/automake/, GNU Automake};" +msgstr "@url{http://gnu.org/software/automake/, GNU Automake};" + +#. type: item +#: doc/contributing.texi:47 +#, no-wrap +msgid "@url{http://gnu.org/software/gettext/, GNU Gettext};" +msgstr "@url{http://gnu.org/software/gettext/, GNU Gettext};" + +#. type: item +#: doc/contributing.texi:48 +#, no-wrap +msgid "@url{http://gnu.org/software/texinfo/, GNU Texinfo};" +msgstr "@url{http://gnu.org/software/texinfo/, GNU Texinfo};" + +#. type: item +#: doc/contributing.texi:49 +#, no-wrap +msgid "@url{http://www.graphviz.org/, Graphviz};" +msgstr "@url{http://www.graphviz.org/, Graphviz};" + +#. type: item +#: doc/contributing.texi:50 +#, no-wrap +msgid "@url{http://www.gnu.org/software/help2man/, GNU Help2man (optional)}." +msgstr "@url{http://www.gnu.org/software/help2man/, GNU Help2man (optional)}." + +#. type: Plain text +#: doc/contributing.texi:57 +msgid "The easiest way to set up a development environment for Guix is, of course, by using Guix! The following command starts a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix:" +msgstr "Der einfachste Weg, eine Entwicklungsumgebung für Guix einzurichten, ist natürlich, Guix zu benutzen! Der folgende Befehl startet eine neue Shell, in der alle Abhängigkeiten und Umgebungsvariablen bereits eingerichtet sind, um an Guix zu arbeiten:" + +#. type: example +#: doc/contributing.texi:60 +#, no-wrap +msgid "guix environment guix\n" +msgstr "guix environment guix\n" + +#. type: Plain text +#: doc/contributing.texi:64 +msgid "@xref{Invoking guix environment}, for more information on that command. Extra dependencies can be added with @option{--ad-hoc}:" +msgstr "In @xref{Invoking guix environment} finden Sie weitere Informationen zu diesem Befehl. Zusätzliche Abhängigkeiten können mit @option{--ad-hoc} hinzugefügt werden:" + +#. type: example +#: doc/contributing.texi:67 +#, no-wrap +msgid "guix environment guix --ad-hoc help2man git strace\n" +msgstr "guix environment guix --ad-hoc help2man git strace\n" + +#. type: Plain text +#: doc/contributing.texi:71 +msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:" +msgstr "Führen Sie @command{./bootstrap} aus, um die Infrastruktur des Erstellungssystems mit Autoconf und Automake zu erstellen. Möglicherweise erhalten Sie eine Fehlermeldung wie diese:" + +#. type: example +#: doc/contributing.texi:74 +#, no-wrap +msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n" +msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n" + +#. type: Plain text +#: doc/contributing.texi:83 +msgid "it probably means that Autoconf couldn’t find @file{pkg.m4}, which is provided by pkg-config. Make sure that @file{pkg.m4} is available. The same holds for the @file{guile.m4} set of macros provided by Guile. For instance, if you installed Automake in @file{/usr/local}, it wouldn’t look for @file{.m4} files in @file{/usr/share}. In that case, you have to invoke the following command:" +msgstr "Das bedeutet wahrscheinlich, dass Autoconf @file{pkg.m4} nicht finden konnte, welches von pkg-config bereitgestellt wird. Stellen Sie sicher, dass @file{pkg.m4} verfügbar ist. Gleiches gilt für den von Guile bereitgestellten Makrosatz @file{guile.m4}. Wenn Sie beispielsweise Automake in @file{/usr/local} installiert haben, würde in @file{/usr/share} nicht nach @file{.m4}-Dateien geschaut. In einem solchen Fall müssen Sie folgenden Befehl aufrufen:" + +#. type: example +#: doc/contributing.texi:86 +#, no-wrap +msgid "export ACLOCAL_PATH=/usr/share/aclocal\n" +msgstr "export ACLOCAL_PATH=/usr/share/aclocal\n" + +#. type: Plain text +#: doc/contributing.texi:90 +msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information." +msgstr "In @xref{Macro Search Path,,, automake, The GNU Automake Manual} finden Sie weitere Informationen." + +#. type: Plain text +#: doc/contributing.texi:95 +msgid "Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The Store}, for information about this)." +msgstr "Dann führen Sie wie gewohnt @command{./configure} aus. Achten Sie darauf, @code{--localstatedir=@var{Verzeichnis}} zu übergeben, wobei @var{Verzeichnis} der von Ihrer aktuellen Installation verwendete @code{localstatedir}-Wert ist (weitere Informationen auf @pxref{The Store})." + +#. type: Plain text +#: doc/contributing.texi:100 +msgid "Finally, you have to invoke @code{make check} to run tests (@pxref{Running the Test Suite}). If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}." +msgstr "Zum Schluss müssen Sie @code{make check} aufrufen, um die Tests auszuführen (@pxref{Running the Test Suite}). Falls etwas fehlschlägt, werfen Sie einen Blick auf die Installationsanweisungen (@pxref{Installation}) oder senden Sie eine E-Mail an die @email{guix-devel@@gnu.org, Mailingliste}." + +#. type: Plain text +#: doc/contributing.texi:109 +msgid "In order to keep a sane working environment, you will find it useful to test the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your ``end-user'' hat and your ``motley'' costume." +msgstr "Um eine gesunde Arbeitsumgebung zu erhalten, ist es hilfreich, die im lokalen Quellbaum vorgenommenen Änderungen zunächst zu testen, ohne sie tatsächlich zu installieren. So können Sie zwischen Ihrem Endnutzer-»Straßenanzug« und Ihrem »Faschingskostüm« unterscheiden." + +#. type: Plain text +#: doc/contributing.texi:117 +#, fuzzy +#| msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix), as in@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:" +msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix), as in@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:" +msgstr "Zu diesem Zweck können alle Befehlszeilenwerkzeuge auch schon benutzt werden, ohne dass Sie @code{make install} laufen lassen. Dazu müssen Sie sich in einer Umgebung befinden, in der alle Abhängigkeiten von Guix verfügbar sind (@pxref{Building from Git}) und darin einfach vor jeden Befehl @command{./pre-inst-env} schreiben (das Skript @file{pre-inst-env} befindet sich auf oberster Ebene im Verzeichnis, wo Guix erstellt wird), zum Beispiel so@footnote{Die Befehlszeilenoption @option{-E} von @command{sudo} stellt sicher, dass @code{GUILE_LOAD_PATH} richtig gesetzt wird, damit @command{guix-daemon} und die davon benutzten Werkzeuge die von ihnen benötigten Guile-Module finden können.}:" + +#. type: example +#: doc/contributing.texi:121 +#, no-wrap +msgid "" +"$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n" +"$ ./pre-inst-env guix build hello\n" +msgstr "" +"$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n" +"$ ./pre-inst-env guix build hello\n" + +#. type: Plain text +#: doc/contributing.texi:125 +msgid "Similarly, for a Guile session using the Guix modules:" +msgstr "Entsprechend, um eine Guile-Sitzung zu öffnen, die die Guix-Module benutzt:" + +#. type: example +#: doc/contributing.texi:128 +#, no-wrap +msgid "" +"$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n" +"\n" +msgstr "" +"$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n" +"\n" + +#. type: example +#: doc/contributing.texi:130 +#, no-wrap +msgid ";;; (\"x86_64-linux\")\n" +msgstr ";;; (\"x86_64-linux\")\n" + +#. type: cindex +#: doc/contributing.texi:133 +#, no-wrap +msgid "REPL" +msgstr "REPL" + +#. type: cindex +#: doc/contributing.texi:134 +#, no-wrap +msgid "read-eval-print loop" +msgstr "Lese-Auswerten-Schreiben-Schleife" + +#. type: Plain text +#: doc/contributing.texi:137 +msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):" +msgstr "@dots{} und auf einer REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):" + +#. type: example +#: doc/contributing.texi:152 +#, no-wrap +msgid "" +"$ ./pre-inst-env guile\n" +"scheme@@(guile-user)> ,use(guix)\n" +"scheme@@(guile-user)> ,use(gnu)\n" +"scheme@@(guile-user)> (define snakes\n" +" (fold-packages\n" +" (lambda (package lst)\n" +" (if (string-prefix? \"python\"\n" +" (package-name package))\n" +" (cons package lst)\n" +" lst))\n" +" '()))\n" +"scheme@@(guile-user)> (length snakes)\n" +"$1 = 361\n" +msgstr "" +"$ ./pre-inst-env guile\n" +"scheme@@(guile-user)> ,use(guix)\n" +"scheme@@(guile-user)> ,use(gnu)\n" +"scheme@@(guile-user)> (define snakes\n" +" (fold-packages\n" +" (lambda (package lst)\n" +" (if (string-prefix? \"python\"\n" +" (package-name package))\n" +" (cons package lst)\n" +" lst))\n" +" '()))\n" +"scheme@@(guile-user)> (length snakes)\n" +"$1 = 361\n" + +#. type: Plain text +#: doc/contributing.texi:156 +msgid "The @command{pre-inst-env} script sets up all the environment variables necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}." +msgstr "Das @command{pre-inst-env}-Skript richtet alle Umgebungsvariablen ein, die nötig sind, um dies zu ermöglichen, einschließlich @env{PATH} und @env{GUILE_LOAD_PATH}." + +#. type: Plain text +#: doc/contributing.texi:167 +msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/latest} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree.@footnote{If you would like to set up @command{guix} to use your Git checkout, you can point the @file{~/.config/guix/latest} symlink to your Git checkout directory. If you are the sole user of your system, you may also consider pointing the @file{/root/.config/guix/latest} symlink to point to @file{~/.config/guix/latest}; this way it will always use the same @command{guix} as your user does.}" +msgstr "" + +#. type: Plain text +#: doc/contributing.texi:177 +msgid "The Perfect Setup to hack on Guix is basically the perfect setup used for Guile hacking (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). First, you need more than an editor, you need @url{http://www.gnu.org/software/emacs, Emacs}, empowered by the wonderful @url{http://nongnu.org/geiser/, Geiser}." +msgstr "Um perfekt für das Hacken an Guix eingerichtet zu sein, brauchen Sie an sich dasselbe wie um perfekt für das Hacken mit Guile (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). Zunächst brauchen Sie mehr als ein Textverarbeitungsprogramm, Sie brauchen @url{http://www.gnu.org/software/emacs, Emacs}, ermächtigt vom wunderbaren @url{http://nongnu.org/geiser/, Geiser}." + +#. type: Plain text +#: doc/contributing.texi:185 +msgid "Geiser allows for interactive and incremental development from within Emacs: code compilation and evaluation from within buffers, access to on-line documentation (docstrings), context-sensitive completion, @kbd{M-.} to jump to an object definition, a REPL to try out your code, and more (@pxref{Introduction,,, geiser, Geiser User Manual}). For convenient Guix development, make sure to augment Guile’s load path so that it finds source files from your checkout:" +msgstr "Geiser ermöglicht interaktive und inkrementelle Entwicklung aus Emacs heraus: Code kann in Puffern kompiliert und ausgewertet werden. Zugang zu Online-Dokumentation (Docstrings) steht ebenso zur Verfügung wie kontextabhängige Vervollständigung, @kbd{M-.} um zu einer Objektdefinition zu springen, eine REPL, um Ihren Code auszuprobieren, und mehr (@pxref{Introduction,,, geiser, Geiser User Manual}). Zur bequemen Guix-Entwicklung sollten Sie Guiles Ladepfad so ergänzen, dass die Quelldateien in Ihrem Checkout gefunden werden." + +#. type: lisp +#: doc/contributing.texi:190 +#, no-wrap +msgid "" +";; @r{Assuming the Guix checkout is in ~/src/guix.}\n" +"(with-eval-after-load 'geiser-guile\n" +" (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n" +msgstr "" +";; @r{Angenommen das Guix-Checkout ist in ~/src/guix.}\n" +"(with-eval-after-load 'geiser-guile\n" +" (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n" + +#. type: Plain text +#: doc/contributing.texi:198 +msgid "To actually edit the code, Emacs already has a neat Scheme mode. But in addition to that, you must not miss @url{http://www.emacswiki.org/emacs/ParEdit, Paredit}. It provides facilities to directly operate on the syntax tree, such as raising an s-expression or wrapping it, swallowing or rejecting the following s-expression, etc." +msgstr "Um den Code tatsächlich zu bearbeiten, bietet Emacs schon einen netten Scheme-Modus. Aber Sie dürfen auch @url{http://www.emacswiki.org/emacs/ParEdit, Paredit} nicht verpassen. Es bietet Hilfsmittel, um direkt mit dem Syntaxbaum zu arbeiten, und kann so zum Beispiel einen S-Ausdruck hochheben oder ihn umhüllen, ihn verschlucken oder den nachfolgenden S-Ausdruck verwerfen, etc." + +#. type: cindex +#: doc/contributing.texi:199 +#, no-wrap +msgid "code snippets" +msgstr "Code-Schnipsel" + +#. type: cindex +#: doc/contributing.texi:200 +#, no-wrap +msgid "templates" +msgstr "Vorlagen" + +#. type: cindex +#: doc/contributing.texi:201 +#, no-wrap +msgid "reducing boilerplate" +msgstr "Tipparbeit sparen" + +#. type: Plain text +#: doc/contributing.texi:208 +msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used with @url{http://joaotavora.github.io/yasnippet/, YASnippet} to expand short trigger strings to interactive text snippets. You may want to add the snippets directory to the @var{yas-snippet-dirs} variable in Emacs." +msgstr "Wir bieten auch Vorlagen für häufige Git-Commit-Nachrichten und Paketdefinitionen im Verzeichnis @file{etc/snippets}. Diese Vorlagen können mit @url{http://joaotavora.github.io/yasnippet/, YASnippet} zusammen benutzt werden, um kurze Auslöse-Zeichenketten zu interaktiven Textschnipseln umzuschreiben. Vielleicht möchten Sie das Schnipselverzeichnis zu Ihrer @var{yas-snippet-dirs}-Variablen in Emacs hinzufügen." + +#. type: lisp +#: doc/contributing.texi:213 +#, no-wrap +msgid "" +";; @r{Assuming the Guix checkout is in ~/src/guix.}\n" +"(with-eval-after-load 'yasnippet\n" +" (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n" +msgstr "" +";; @r{Angenommen das Guix-Checkout ist in ~/src/guix.}\n" +"(with-eval-after-load 'yasnippet\n" +" (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n" + +#. type: Plain text +#: doc/contributing.texi:220 +#, fuzzy +#| msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package; type @code{https} followed by @kbd{TAB} to insert a template for changing the home page URI of a package to HTTPS." +msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package." +msgstr "Die Schnipsel für Commit-Nachrichten setzen @url{https://magit.vc/, Magit} voraus, um zum Commit vorgemerkte Dateien anzuzeigen. Wenn Sie eine Commit-Nachricht bearbeiten, können Sie @code{add} gefolgt von @kbd{TAB} eintippen, um eine Commit-Nachrichten-Vorlage für das Hinzufügen eines Pakets zu erhalten; tippen Sie @code{update} gefolgt von @kbd{TAB} ein, um eine Vorlage zum Aktualisieren eines Pakets zu bekommen; tippen Sie @code{https} gefolgt von @kbd{TAB} ein, um eine Vorlage zum Ändern der Homepage-URI eines Pakets auf HTTPS einzufügen." + +#. type: Plain text +#: doc/contributing.texi:226 +msgid "The main snippet for @code{scheme-mode} is triggered by typing @code{package...} followed by @kbd{TAB}. This snippet also inserts the trigger string @code{origin...}, which can be expanded further. The @code{origin} snippet in turn may insert other trigger strings ending on @code{...}, which also can be expanded further." +msgstr "Das Hauptschnipsel für @code{scheme-mode} wird ausgelöst, indem Sie @code{package...} gefolgt von @kbd{TAB} eintippen. Dieses Snippet fügt auch die Auslöse-Zeichenkette @code{origin...} ein, die danach weiter umgeschrieben werden kann. Das @code{origin}-Schnipsel kann wiederum andere Auslöse-Zeichenketten einfügen, die alle auf @code{...} enden, was selbst wieder weiter umgeschrieben werden kann." + +#. type: Plain text +#: doc/contributing.texi:234 +msgid "In general our code follows the GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). However, they do not say much about Scheme, so here are some additional rules." +msgstr "Im Allgemeinen folgt unser Code den GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). Da diese aber nicht viel über Scheme zu sagen haben, folgen hier einige zusätzliche Regeln." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: subsection +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:240 doc/contributing.texi:242 +#: doc/contributing.texi:243 doc/guix.texi:289 +#, no-wrap +msgid "Programming Paradigm" +msgstr "Programmierparadigmen" + +#. type: menuentry +#: doc/contributing.texi:240 doc/guix.texi:289 +msgid "How to compose your elements." +msgstr "Wie Sie Ihre Elemente zusammenstellen." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: subsection +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:240 doc/contributing.texi:249 +#: doc/contributing.texi:250 doc/guix.texi:289 +#, no-wrap +msgid "Modules" +msgstr "Module" + +#. type: menuentry +#: doc/contributing.texi:240 doc/guix.texi:289 +msgid "Where to store your code?" +msgstr "Wo Sie Ihren Code unterbringen." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: subsection +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:240 doc/contributing.texi:260 +#: doc/contributing.texi:261 doc/guix.texi:289 +#, no-wrap +msgid "Data Types and Pattern Matching" +msgstr "Datentypen und Mustervergleich" + +#. type: menuentry +#: doc/contributing.texi:240 doc/guix.texi:289 +msgid "Implementing data structures." +msgstr "Implementierung von Datenstrukturen." + +#. #-#-#-#-# contributing.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: subsection +#. #-#-#-#-# guix.pot (guix 0.14.0.4289-6527) #-#-#-#-# +#. type: menuentry +#: doc/contributing.texi:240 doc/contributing.texi:274 +#: doc/contributing.texi:275 doc/guix.texi:289 +#, no-wrap +msgid "Formatting Code" +msgstr "Formatierung von Code" + +#. type: menuentry +#: doc/contributing.texi:240 doc/guix.texi:289 +msgid "Writing conventions." +msgstr "Schreibkonventionen." + +#. type: Plain text +#: doc/contributing.texi:248 +msgid "Scheme code in Guix is written in a purely functional style. One exception is code that involves input/output, and procedures that implement low-level concepts, such as the @code{memoize} procedure." +msgstr "Scheme-Code wird in Guix auf rein funktionale Weise geschrieben. Eine Ausnahme ist Code, der mit Ein- und Ausgabe zu tun hat, und Prozeduren, die grundlegende Konzepte implementieren, wie zum Beispiel die Prozedur @code{memoize}." + +#. type: Plain text +#: doc/contributing.texi:256 +msgid "Guile modules that are meant to be used on the builder side must live in the @code{(guix build @dots{})} name space. They must not refer to other Guix or GNU modules. However, it is OK for a ``host-side'' module to use a build-side module." +msgstr "Guile-Module, die beim Erstellen nutzbar sein sollen, müssen im Namensraum @code{(guix build @dots{})} leben. Sie dürfen auf keine anderen Guix- oder GNU-Module Bezug nehmen. Jedoch ist es in Ordnung, wenn ein »wirtsseitiges« Modul ein erstellungsseitiges Modul benutzt." + +#. type: Plain text +#: doc/contributing.texi:259 +msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}." +msgstr "Module, die mit dem weiteren GNU-System zu tun haben, sollten im Namensraum @code{(gnu @dots{})} und nicht in @code{(guix @dots{})} stehen." + +#. type: Plain text +#: doc/contributing.texi:268 +msgid "The tendency in classical Lisp is to use lists to represent everything, and then to browse them ``by hand'' using @code{car}, @code{cdr}, @code{cadr}, and co. There are several problems with that style, notably the fact that it is hard to read, error-prone, and a hindrance to proper type error reports." +msgstr "Im klassischen Lisp gibt es die Tendenz, Listen zur Darstellung von allem zu benutzen, und diese dann »händisch« zu durchlaufen mit @code{car}, @code{cdr}, @code{cadr} und so weiter. Dieser Stil ist aus verschiedenen Gründen problematisch, insbesondere wegen der Tatsache, dass er schwer zu lesen, schnell fehlerbehaftet und ein Hindernis beim Melden von Typfehlern ist." + +#. type: Plain text +#: doc/contributing.texi:273 +msgid "Guix code should define appropriate data types (for instance, using @code{define-record-type*}) rather than abuse lists. In addition, it should use pattern matching, via Guile’s @code{(ice-9 match)} module, especially when matching lists." +msgstr "Guix-Code sollte angemessene Datentypen definieren (zum Beispiel mit @code{define-record-type*}) statt Listen zu missbrauchen. Außerdem sollte er das @code{(ice-9 match)}-Modul von Guile zum Mustervergleich benutzen, besonders mit Listen." + +#. type: cindex +#: doc/contributing.texi:277 +#, no-wrap +msgid "formatting code" +msgstr "Formatierung von Code" + +#. type: cindex +#: doc/contributing.texi:278 +#, no-wrap +msgid "coding style" +msgstr "Code-Stil" + +#. type: Plain text +#: doc/contributing.texi:285 +msgid "When writing Scheme code, we follow common wisdom among Scheme programmers. In general, we follow the @url{http://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules}. This document happens to describe the conventions mostly used in Guile’s code too. It is very thoughtful and well written, so please do read it." +msgstr "Beim Schreiben von Scheme-Code halten wir uns an die üblichen Gepflogenheiten unter Scheme-Programmierern. Im Allgemeinen bedeutet das, dass wir uns an @url{http://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules} halten. Es hat sich ergeben, dass dieses Dokument auch die Konventionen beschreibt, die im Code von Guile hauptsächlich verwendet werden. Es ist gut durchdacht und schön geschrieben, also lesen Sie es bitte." + +#. type: Plain text +#: doc/contributing.texi:292 +msgid "Some special forms introduced in Guix, such as the @code{substitute*} macro, have special indentation rules. These are defined in the @file{.dir-locals.el} file, which Emacs automatically uses. Also note that Emacs-Guix provides @code{guix-devel-mode} mode that indents and highlights Guix code properly (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})." +msgstr "Ein paar in Guix eingeführte Sonderformen, wie zum Beispiel das @code{substitute*}-Makro, haben abweichende Regeln für die Einrückung. Diese sind in der Datei @file{.dir-locals.el} definiert, die Emacs automatisch benutzt. Beachten Sie auch, dass Emacs-Guix einen Modus namens @code{guix-devel-mode} bereitstellt, der Guix-Code richtig einrückt und hervorhebt (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})." + +#. type: cindex +#: doc/contributing.texi:293 +#, no-wrap +msgid "indentation, of code" +msgstr "Einrückung, Code-" + +#. type: cindex +#: doc/contributing.texi:294 +#, no-wrap +msgid "formatting, of code" +msgstr "Formatierung, Code-" + +#. type: Plain text +#: doc/contributing.texi:297 +msgid "If you do not use Emacs, please make sure to let your editor knows these rules. To automatically indent a package definition, you can also run:" +msgstr "Falls Sie nicht Emacs verwenden, sollten Sie sicherstellen, dass Ihr Editor diese Regeln kennt. Um eine Paketdefinition automatisch einzurücken, können Sie auch Folgendes ausführen:" + +#. type: example +#: doc/contributing.texi:300 +#, no-wrap +msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n" +msgstr "./etc/indent-code.el gnu/packages/@var{Datei}.scm @var{Paket}\n" + +#. type: Plain text +#: doc/contributing.texi:306 +msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:" +msgstr "Dadurch wird die Definition von @var{Paket} in @file{gnu/packages/@var{Datei}.scm} automatisch eingerückt, indem Emacs im Batch-Modus läuft. Um die Einrückung in einer gesamten Datei vorzunehmen, lassen Sie das zweite Argument weg:" + +#. type: example +#: doc/contributing.texi:309 +#, no-wrap +msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n" +msgstr "./etc/indent-code.el gnu/services/@var{Datei}.scm\n" + +#. type: cindex +#: doc/contributing.texi:311 +#, no-wrap +msgid "Vim, Scheme code editing" +msgstr "Vim, zum Editieren von Scheme-Code" + +#. type: Plain text +#: doc/contributing.texi:317 +msgid "If you are editing code with Vim, we recommend that you run @code{:set autoindent} so that your code is automatically indented as you type. Additionally, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} may help you deal with all these parentheses." +msgstr "Wenn Sie Code mit Vim bearbeiten, empfehlen wir, dass Sie @code{:set autoindent} ausführen, damit Ihr Code automatisch eingerückt wird, während Sie ihn schreiben. Außerdem könnte Ihnen @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} dabei helfen, mit all diesen Klammern fertigzuwerden." + +#. type: Plain text +#: doc/contributing.texi:321 +msgid "We require all top-level procedures to carry a docstring. This requirement can be relaxed for simple private procedures in the @code{(guix build @dots{})} name space, though." +msgstr "Wir fordern von allen Prozeduren auf oberster Ebene, dass sie über einen Docstring verfügen. Diese Voraussetzung kann jedoch bei einfachen, privaten Prozeduren im Namensraum @code{(guix build @dots{})} aufgeweicht werden." + +#. type: Plain text +#: doc/contributing.texi:324 +msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters." +msgstr "Prozeduren sollten nicht mehr als vier positionsbestimmte Parameter haben. Benutzen Sie Schlüsselwort-Parameter für Prozeduren, die mehr als vier Parameter entgegennehmen." + +#. type: Plain text +#: doc/contributing.texi:333 +msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list." +msgstr "Die Entwicklung wird mit Hilfe des verteilten Versionskontrollsystems Git durchgeführt. Daher ist eine ständige Verbindung zum Repository nicht unbedingt erforderlich. Wir begrüßen Beiträge in Form von Patches, die mittels @code{git format-patch} erstellt und an die Mailingliste @email{guix-patches@@gnu.org} geschickt werden." + +#. type: Plain text +#: doc/contributing.texi:340 +msgid "This mailing list is backed by a Debbugs instance accessible at @uref{https://bugs.gnu.org/guix-patches}, which allows us to keep track of submissions. Each message sent to that mailing list gets a new tracking number assigned; people can then follow up on the submission by sending email to @code{@var{NNN}@@debbugs.gnu.org}, where @var{NNN} is the tracking number (@pxref{Sending a Patch Series})." +msgstr "Diese Mailing-Liste setzt auf einer Debbugs-Instanz auf, die zugänglich ist unter @uref{https://bugs.gnu.org/guix-patches}, wodurch wir den Überblick über Eingereichtes behalten können. Jede an diese Mailing-Liste gesendete Nachricht bekommt eine neue Folgenummer zugewiesen, so dass man eine Folge-Email zur Einreichung an @code{@var{NNN}@@debbugs.gnu.org} senden kann, wobei @var{NNN} für die Folgenummer steht (@pxref{Sending a Patch Series})." + +#. type: Plain text +#: doc/contributing.texi:344 +msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples." +msgstr "Bitte schreiben Sie Commit-Logs im ChangeLog-Format (@pxref{Change Logs,,, standards, GNU Coding Standards}); dazu finden Sie Beispiele unter den bisherigen Commits." + +#. type: Plain text +#: doc/contributing.texi:347 +msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:" +msgstr "Bevor Sie einen Patch einreichen, der eine Paketdefinition hinzufügt oder verändert, gehen Sie bitte diese Prüfliste durch:" + +#. type: enumerate +#: doc/contributing.texi:354 +msgid "If the authors of the packaged software provide a cryptographic signature for the release tarball, make an effort to verify the authenticity of the archive. For a detached GPG signature file this would be done with the @code{gpg --verify} command." +msgstr "Wenn die Autoren der verpackten Software eine kryptographische Signatur für den Tarball der Veröffentlichung anbieten, so machen Sie sich bitte die Mühe, die Echtheit des Archivs zu überprüfen. Für eine abgetrennte GPG-Signaturdatei würden Sie das mit dem Befehl @code{gpg --verify} tun." + +#. type: enumerate +#: doc/contributing.texi:358 +msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines." +msgstr "Nehmen Sie sich die Zeit, eine passende Zusammenfassung und Beschreibung für das Paket zu verfassen. Unter @xref{Synopses and Descriptions} finden Sie dazu einige Richtlinien." + +#. type: enumerate +#: doc/contributing.texi:363 +msgid "Run @code{guix lint @var{package}}, where @var{package} is the name of the new or modified package, and fix any errors it reports (@pxref{Invoking guix lint})." +msgstr "Verwenden Sie @code{guix lint @var{Paket}}, wobei @var{Paket} das neue oder geänderte Paket bezeichnet, und beheben Sie alle gemeldeten Fehler (@pxref{Invoking guix lint})." + +#. type: enumerate +#: doc/contributing.texi:367 +msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}." +msgstr "Stellen Sie sicher, dass das Paket auf Ihrer Plattform erstellt werden kann, indem Sie @code{guix build @var{Paket}} ausführen." + +#. type: cindex +#: doc/contributing.texi:369 +#, no-wrap +msgid "bundling" +msgstr "gebündelt" + +#. type: enumerate +#: doc/contributing.texi:372 +msgid "Make sure the package does not use bundled copies of software already available as separate packages." +msgstr "Achten Sie darauf, dass im Paket keine Software gebündelt mitgeliefert wird, die bereits in separaten Paketen zur Verfügung steht." + +#. type: enumerate +#: doc/contributing.texi:381 +msgid "Sometimes, packages include copies of the source code of their dependencies as a convenience for users. However, as a distribution, we want to make sure that such packages end up using the copy we already have in the distribution, if there is one. This improves resource usage (the dependency is built and stored only once), and allows the distribution to make transverse changes such as applying security updates for a given software package in a single place and have them affect the whole system---something that bundled copies prevent." +msgstr "Manchmal enthalten Pakete Kopien des Quellcodes ihrer Abhängigkeiten, um Nutzern die Installation zu erleichtern. Als eine Distribution wollen wir jedoch sicherstellen, dass solche Pakete die schon in der Distribution verfügbare Fassung benutzen, sofern es eine gibt. Dadurch wird sowohl der Ressourcenverbrauch optimiert (die Abhängigkeit wird so nur einmal erstellt und gespeichert) als auch der Distribution die Möglichkeit gegeben, ergänzende Änderungen durchzuführen, um beispielsweise Sicherheitsaktualisierungen für ein bestimmtes Paket an nur einem Ort einzuspielen, die aber das gesamte System betreffen — gebündelt mitgelieferte Kopien würden dies verhindern." + +#. type: enumerate +#: doc/contributing.texi:388 +msgid "Take a look at the profile reported by @command{guix size} (@pxref{Invoking guix size}). This will allow you to notice references to other packages unwillingly retained. It may also help determine whether to split the package (@pxref{Packages with Multiple Outputs}), and which optional dependencies should be used." +msgstr "Schauen Sie sich das von @command{guix size} ausgegebene Profil an (@pxref{Invoking guix size}). Dadurch können Sie Referenzen auf andere Pakete finden, die ungewollt vorhanden sind. Dies kann auch dabei helfen, zu entscheiden, ob das Paket aufgespalten werden sollte (@pxref{Packages with Multiple Outputs}) und welche optionalen Abhängigkeiten verwendet werden sollten." + +#. type: enumerate +#: doc/contributing.texi:393 +msgid "For important changes, check that dependent package (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})." +msgstr "Achten Sie bei wichtigen Änderungen darauf, dass abhängige Pakete (falls vorhanden) nicht von der Änderung beeinträchtigt werden; @code{guix refresh --list-dependent @var{Paket}} hilft Ihnen dabei (@pxref{Invoking guix refresh})." + +#. type: cindex +#: doc/contributing.texi:395 +#, no-wrap +msgid "branching strategy" +msgstr "Branching-Strategie" + +#. type: cindex +#: doc/contributing.texi:396 +#, no-wrap +msgid "rebuild scheduling strategy" +msgstr "Neuerstellungs-Zeitplan" + +#. type: enumerate +#: doc/contributing.texi:399 +msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:" +msgstr "Je nachdem, wieviele abhängige Pakete es gibt, und entsprechend wieviele Neuerstellungen dadurch nötig würden, finden Commits auf anderen Branches statt, nach ungefähr diesen Regeln:" + +#. type: item +#: doc/contributing.texi:401 +#, no-wrap +msgid "300 dependent packages or less" +msgstr "300 abhängige Pakete oder weniger" + +#. type: table +#: doc/contributing.texi:403 +msgid "@code{master} branch (non-disruptive changes)." +msgstr "@code{master}-Branch (störfreie Änderungen)." + +#. type: item +#: doc/contributing.texi:404 +#, no-wrap +msgid "between 300 and 1,200 dependent packages" +msgstr "zwischen 300 und 1200 abhängige Pakete" + +#. type: table +#: doc/contributing.texi:409 +msgid "@code{staging} branch (non-disruptive changes). This branch is intended to be merged in @code{master} every 3 weeks or so. Topical changes (e.g., an update of the GNOME stack) can instead go to a specific branch (say, @code{gnome-updates})." +msgstr "@code{staging}-Branch (störfreie Änderungen). Dieser Branch wird circa alle 3 Wochen in @code{master} gemerget. Themenbezogene Änderungen (z.B. eine Aktualisierung der GNOME-Plattform) können stattdessen auch auf einem eigenen Branch umgesetzt werden (wie @code{gnome-updates})." + +#. type: item +#: doc/contributing.texi:410 +#, no-wrap +msgid "more than 1,200 dependent packages" +msgstr "mehr als 1200 abhängige Pakete" + +#. type: table +#: doc/contributing.texi:414 +msgid "@code{core-updates} branch (may include major and potentially disruptive changes). This branch is intended to be merged in @code{master} every 2.5 months or so." +msgstr "@code{core-updates}-Branch (kann auch größere und womöglich andere Software beeinträchtigende Änderungen umfassen). Dieser Branch wird planmäßig in @code{master} alle 2,5 Monate oder so gemerget." + +#. type: enumerate +#: doc/contributing.texi:421 +#, fuzzy +#| msgid "All these branches are @uref{https://hydra.gnu.org/project/gnu, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available." +msgid "All these branches are tracked by our build farm and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available." +msgstr "All diese Branches werden kontinuierlich @uref{https://hydra.gnu.org/project/gnu, auf unserer Build-Farm} erstellt und in @code{master} gemerget, sobald alles erfolgreich erstellt worden ist. Dadurch können wir Probleme beheben, bevor sie bei Nutzern auftreten, und zudem das Zeitfenster, während dessen noch keine vorerstellten Binärdateien verfügbar sind, verkürzen." + +#. type: cindex +#: doc/contributing.texi:423 +#, no-wrap +msgid "determinism, of build processes" +msgstr "Determinismus, von Erstellungsprozessen" + +#. type: cindex +#: doc/contributing.texi:424 +#, no-wrap +msgid "reproducible builds, checking" +msgstr "Reproduzierbare Erstellungen, Überprüfung" + +#. type: enumerate +#: doc/contributing.texi:428 +msgid "Check whether the package's build process is deterministic. This typically means checking whether an independent build of the package yields the exact same result that you obtained, bit for bit." +msgstr "Überprüfen Sie, ob der Erstellungsprozess deterministisch ist. Dazu prüfen Sie typischerweise, ob eine unabhängige Erstellung des Pakets genau dasselbe Ergebnis wie Ihre Erstellung hat, Bit für Bit." + +#. type: enumerate +#: doc/contributing.texi:431 +msgid "A simple way to do that is by building the same package several times in a row on your machine (@pxref{Invoking guix build}):" +msgstr "Dies können Sie leicht tun, indem Sie dasselbe Paket mehrere Male hintereinander auf Ihrer Maschine erstellen (@pxref{Invoking guix build}):" + +#. type: example +#: doc/contributing.texi:434 +#, no-wrap +msgid "guix build --rounds=2 my-package\n" +msgstr "guix build --rounds=2 mein-paket\n" + +#. type: enumerate +#: doc/contributing.texi:438 +msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result." +msgstr "Dies reicht aus, um eine ganze Klasse häufiger Ursachen von Nichtdeterminismus zu finden, wie zum Beispiel Zeitstempel oder zufallsgenerierte Ausgaben im Ergebnis der Erstellung." + +#. type: enumerate +#: doc/contributing.texi:448 +msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{hydra.gnu.org} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files." +msgstr "Eine weitere Möglichkeit ist, @command{guix challenge} (@pxref{Invoking guix challenge}) zu benutzen. Sie können es ausführen, sobald ein Paket commitet und von @code{hydra.gnu.org} erstellt wurde, um zu sehen, ob dort dasselbe Ergebnis wie bei Ihnen geliefert wurde. Noch besser: Finden Sie eine andere Maschine, die das Paket erstellen kann, und führen Sie @command{guix publish} aus. Da sich die entfernte Erstellungsmaschine wahrscheinlich von Ihrer unterscheidet, können Sie auf diese Weise Probleme durch Nichtdeterminismus erkennen, die mit der Hardware zu tun haben — zum Beispiel die Nutzung anderer Befehlssatzerweiterungen — oder mit dem Betriebssystem-Kernel — zum Beispiel, indem @code{uname} oder @file{/proc}-Dateien verwendet werden." + +# Hier gehe ich mal davon aus, dass Dokumentation generell zuerst in Englisch geschrieben wird, daher, werden solche Begriffe auch hier nicht übersetzt. +#. type: enumerate +#: doc/contributing.texi:454 +msgid "When writing documentation, please use gender-neutral wording when referring to people, such as @uref{https://en.wikipedia.org/wiki/Singular_they, singular ``they''@comma{} ``their''@comma{} ``them''}, and so forth." +msgstr "Beim Schreiben von Dokumentation achten Sie bitte auf eine geschlechtsneutrale Wortwahl, wenn Sie sich auf Personen beziehen, wie @uref{https://en.wikipedia.org/wiki/Singular_they, »they«@comma{} »their«@comma{} »them« im Singular}, und so weiter." + +#. type: enumerate +#: doc/contributing.texi:458 +msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower." +msgstr "Stelllen Sie sicher, dass Ihr Patch nur einen Satz zusammengehöriger Änderungen umfasst. Das Zusammenfassen nicht zusammengehöriger Änderungen erschwert und bremst das Durchsehen Ihres Patches." + +#. type: enumerate +#: doc/contributing.texi:461 +msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package." +msgstr "Beispiele für nicht zusammengehörige Änderungen sind das Hinzufügen mehrerer Pakete auf einmal, oder das Aktualisieren eines Pakets auf eine neue Version zusammen mit Fehlerbehebungen für das Paket." + +#. type: enumerate +#: doc/contributing.texi:466 +msgid "Please follow our code formatting rules, possibly running the @command{etc/indent-code.el} script to do that automatically for you (@pxref{Formatting Code})." +msgstr "Bitte befolgen Sie unsere Richtlinien für die Code-Formatierung, womöglich wollen Sie dies automatisch tun lassen durch das Skript @command{etc/indent-code.el} (@pxref{Formatting Code})." + +#. type: Plain text +#: doc/contributing.texi:476 +msgid "When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a subject. You may use your email client or the @command{git send-email} command (@pxref{Sending a Patch Series}). We prefer to get patches in plain text messages, either inline or as MIME attachments. You are advised to pay attention if your email client changes anything like line breaks or indentation which could potentially break the patches." +msgstr "Bitte benutzen Sie @samp{[PATCH] @dots{}} als Betreff, wenn Sie einen Patch an die Mailing-Liste schicken. Sie können dazu Ihr E-Mail-Programm oder den Befehl @command{git send-email} benutzen (@pxref{Sending a Patch Series}). Wir bevorzugen es, Patches als reine Textnachrichten zu erhalten, entweder eingebettet (inline) oder als MIME-Anhänge. Sie sind dazu angehalten, zu überprüfen, ob Ihr Mail-Programm solche Dinge wie Zeilenumbrüche oder die Einrückung verändert, wodurch die Patches womöglich nicht mehr funktionieren." + +#. type: Plain text +#: doc/contributing.texi:479 +msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}." +msgstr "Wenn dadurch ein Fehler behoben wurde, schließen Sie bitte den Thread, indem Sie eine E-Mail an @email{@var{NNN}-done@@debbugs.gnu.org} senden." + +#. type: anchor{#1} +#: doc/contributing.texi:480 doc/contributing.texi:482 +#, no-wrap +msgid "Sending a Patch Series" +msgstr "Senden einer Patch-Reihe" + +#. type: cindex +#: doc/contributing.texi:482 +#, no-wrap +msgid "patch series" +msgstr "Patch-Reihe" + +#. type: code{#1} +#: doc/contributing.texi:483 +#, no-wrap +msgid "git send-email" +msgstr "git send-email" + +#. type: code{#1} +#: doc/contributing.texi:484 +#, no-wrap +msgid "git-send-email" +msgstr "git-send-email" + +#. type: Plain text +#: doc/contributing.texi:492 +msgid "When sending a patch series (e.g., using @code{git send-email}), please first send one message to @email{guix-patches@@gnu.org}, and then send subsequent patches to @email{@var{NNN}@@debbugs.gnu.org} to make sure they are kept together. See @uref{https://debbugs.gnu.org/Advanced.html, the Debbugs documentation} for more information." +msgstr "Wenn Sie eine Patch-Reihe senden (z.B. mit @code{git send-email}), schicken Sie bitte als Erstes eine Nachricht an @email{guix-patches@@gnu.org} und dann nachfolgende Patches an @email{@var{NNN}@@debbugs.gnu.org}, um sicherzustellen, dass sie zusammen bearbeitet werden. Siehe @uref{https://debbugs.gnu.org/Advanced.html, die Debbugs-Dokumentation} für weitere Informationen." + +#. type: Plain text +#: doc/guix.texi:7 +msgid "@documentencoding UTF-8" +msgstr "" +"@documentencoding UTF-8\n" +"@documentlanguage de\n" +"@frenchspacing on" + +#. type: title +#: doc/guix.texi:7 doc/guix.texi:77 +#, no-wrap +msgid "GNU Guix Reference Manual" +msgstr "Referenzhandbuch zu GNU Guix" + +#. type: include +#: doc/guix.texi:10 +#, no-wrap +msgid "version.texi" +msgstr "version-de.texi" + +#. type: copying +#: doc/guix.texi:51 +#, fuzzy +#| msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017, 2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018 Gábor Boskovits@*" +msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz" +msgstr "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017, 2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018 Gábor Boskovits@*" + +#. type: copying +#: doc/guix.texi:58 +msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''." +msgstr "Es ist Ihnen gestattet, dieses Dokument zu vervielfältigen, weiterzugeben und/oder zu verändern, unter den Bedingungen der GNU Free Documentation License, entweder gemäß Version 1.3 der Lizenz oder (nach Ihrer Option) einer späteren Version, die von der Free Software Foundation veröffentlicht wurde, ohne unveränderliche Abschnitte, ohne vorderen Umschlagtext und ohne hinteren Umschlagtext. Eine Kopie der Lizenz finden Sie im Abschnitt mit dem Titel »GNU Free Documentation License«." + +#. type: dircategory +#: doc/guix.texi:60 +#, no-wrap +msgid "System administration" +msgstr "Systemadministration" + +#. type: menuentry +#: doc/guix.texi:67 +msgid "Guix: (guix)" +msgstr "Guix: (guix.de)" + +#. type: menuentry +#: doc/guix.texi:67 +msgid "Manage installed software and system configuration." +msgstr "Installierte Software und Systemkonfigurationen verwalten." + +#. type: menuentry +#: doc/guix.texi:67 +msgid "guix package: (guix)Invoking guix package" +msgstr "guix package: (guix.de)guix package aufrufen" + +#. type: menuentry +#: doc/guix.texi:67 +msgid "Installing, removing, and upgrading packages." +msgstr "Pakete installieren, entfernen und aktualisieren." + +#. type: menuentry +#: doc/guix.texi:67 +msgid "guix gc: (guix)Invoking guix gc" +msgstr "guix gc: (guix.de)guix gc aufrufen" + +#. type: menuentry +#: doc/guix.texi:67 +msgid "Reclaiming unused disk space." +msgstr "Unbenutzten Plattenspeicher wieder freigeben." + +#. type: menuentry +#: doc/guix.texi:67 +msgid "guix pull: (guix)Invoking guix pull" +msgstr "guix pull: (guix.de)guix pull aufrufen" + +#. type: menuentry +#: doc/guix.texi:67 +msgid "Update the list of available packages." +msgstr "Die Liste verfügbarer Pakete aktualisieren." + +#. type: menuentry +#: doc/guix.texi:67 +msgid "guix system: (guix)Invoking guix system" +msgstr "guix system: (guix.de)guix system aufrufen" + +#. type: menuentry +#: doc/guix.texi:67 +msgid "Manage the operating system configuration." +msgstr "Die Betriebssystemkonfiguration verwalten." + +#. type: dircategory +#: doc/guix.texi:69 +#, no-wrap +msgid "Software development" +msgstr "Softwareentwicklung" + +#. type: menuentry +#: doc/guix.texi:74 +msgid "guix environment: (guix)Invoking guix environment" +msgstr "guix environment: (guix.de)guix environment aufrufen" + +#. type: menuentry +#: doc/guix.texi:74 +msgid "Building development environments with Guix." +msgstr "Umgebungen für Entwickler erstellen" + +#. type: menuentry +#: doc/guix.texi:74 +msgid "guix build: (guix)Invoking guix build" +msgstr "guix build: (guix.de)guix build aufrufen" + +#. type: menuentry +#: doc/guix.texi:74 +msgid "Building packages." +msgstr "Erstellen von Paketen." + +#. type: menuentry +#: doc/guix.texi:74 +msgid "guix pack: (guix)Invoking guix pack" +msgstr "guix pack: (guix.de)guix pack aufrufen" + +#. type: menuentry +#: doc/guix.texi:74 +msgid "Creating binary bundles." +msgstr "Bündel aus Binärdateien erstellen." + +#. type: subtitle +#: doc/guix.texi:78 +#, no-wrap +msgid "Using the GNU Guix Functional Package Manager" +msgstr "Den funktionalen Paketmanager GNU Guix benutzen" + +#. type: author +#: doc/guix.texi:79 +#, no-wrap +msgid "The GNU Guix Developers" +msgstr "Die GNU-Guix-Entwickler" + +#. type: titlepage +#: doc/guix.texi:85 +msgid "Edition @value{EDITION} @* @value{UPDATED} @*" +msgstr "Edition @value{EDITION} @* @value{UPDATED} @*" + +#. type: node +#: doc/guix.texi:92 +#, no-wrap +msgid "Top" +msgstr "Top" + +#. type: top +#: doc/guix.texi:93 +#, no-wrap +msgid "GNU Guix" +msgstr "GNU Guix" + +#. type: Plain text +#: doc/guix.texi:97 +msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system." +msgstr "Dieses Dokument beschreibt GNU Guix, Version @value{VERSION}, ein funktionales Paketverwaltungswerkzeug, das für das GNU-System geschrieben wurde." + +#. type: chapter +#: doc/guix.texi:106 doc/guix.texi:294 doc/guix.texi:295 +#, no-wrap +msgid "Introduction" +msgstr "Einführung" + +#. type: menuentry +#: doc/guix.texi:106 +msgid "What is Guix about?" +msgstr "Was ist Guix überhaupt?" + +#. type: chapter +#: doc/guix.texi:106 doc/guix.texi:116 doc/guix.texi:367 doc/guix.texi:368 +#, no-wrap +msgid "Installation" +msgstr "Installation" + +#. type: menuentry +#: doc/guix.texi:106 +msgid "Installing Guix." +msgstr "Guix installieren." + +#. type: chapter +#: doc/guix.texi:106 doc/guix.texi:131 doc/guix.texi:1652 doc/guix.texi:1653 +#, no-wrap +msgid "Package Management" +msgstr "Paketverwaltung" + +#. type: menuentry +#: doc/guix.texi:106 +msgid "Package installation, upgrade, etc." +msgstr "Pakete installieren, aktualisieren usw." + +#. type: chapter +#: doc/guix.texi:106 doc/guix.texi:151 doc/guix.texi:3106 doc/guix.texi:3107 +#, no-wrap +msgid "Programming Interface" +msgstr "Programmierschnittstelle" + +#. type: menuentry +#: doc/guix.texi:106 +msgid "Using Guix in Scheme." +msgstr "Guix in Scheme verwenden." + +#. type: chapter +#: doc/guix.texi:106 doc/guix.texi:165 doc/guix.texi:5362 doc/guix.texi:5363 +#, no-wrap +msgid "Utilities" +msgstr "Zubehör" + +#. type: menuentry +#: doc/guix.texi:106 +msgid "Package management commands." +msgstr "Befehle zur Paketverwaltung." + +#. type: chapter +#: doc/guix.texi:106 doc/guix.texi:190 doc/guix.texi:7981 doc/guix.texi:7982 +#, no-wrap +msgid "GNU Distribution" +msgstr "GNU-Distribution" + +#. type: menuentry +#: doc/guix.texi:106 +msgid "Software for your friendly GNU system." +msgstr "Software für Ihr freundliches GNU-System." + +#. type: menuentry +#: doc/guix.texi:106 +msgid "Your help needed!" +msgstr "Ihre Hilfe ist nötig!" + +#. type: chapter +#: doc/guix.texi:111 doc/guix.texi:22338 doc/guix.texi:22339 +#, no-wrap +msgid "Acknowledgments" +msgstr "Danksagungen" + +#. type: menuentry +#: doc/guix.texi:111 +msgid "Thanks!" +msgstr "Danke!" + +#. type: appendix +#: doc/guix.texi:111 doc/guix.texi:22360 doc/guix.texi:22361 +#, no-wrap +msgid "GNU Free Documentation License" +msgstr "GNU-Lizenz für freie Dokumentation" + +#. type: menuentry +#: doc/guix.texi:111 +msgid "The license of this manual." +msgstr "Die Lizenz dieses Handbuchs." + +#. type: unnumbered +#: doc/guix.texi:111 doc/guix.texi:22366 doc/guix.texi:22367 +#, no-wrap +msgid "Concept Index" +msgstr "Konzeptverzeichnis" + +#. type: menuentry +#: doc/guix.texi:111 +msgid "Concepts." +msgstr "Konzepte." + +#. type: unnumbered +#: doc/guix.texi:111 doc/guix.texi:22370 doc/guix.texi:22371 +#, no-wrap +msgid "Programming Index" +msgstr "Programmierverzeichnis" + +#. type: menuentry +#: doc/guix.texi:111 +msgid "Data types, functions, and variables." +msgstr "Datentypen, Funktionen und Variable." + +#. type: menuentry +#: doc/guix.texi:114 +msgid "--- The Detailed Node Listing ---" +msgstr "--- Detaillierte Liste der Knoten ---" + +#. type: section +#: doc/guix.texi:123 doc/guix.texi:398 doc/guix.texi:400 doc/guix.texi:401 +#, no-wrap +msgid "Binary Installation" +msgstr "Aus Binärdatei installieren" + +#. type: menuentry +#: doc/guix.texi:123 doc/guix.texi:398 +msgid "Getting Guix running in no time!" +msgstr "Guix installieren, ohne Zeit zu verlieren!" + +#. type: section +#: doc/guix.texi:123 doc/guix.texi:398 doc/guix.texi:596 doc/guix.texi:597 +#, no-wrap +msgid "Requirements" +msgstr "Voraussetzungen" + +#. type: menuentry +#: doc/guix.texi:123 doc/guix.texi:398 +msgid "Software needed to build and run Guix." +msgstr "Zum Erstellen und Benutzen von Guix nötige Software." + +#. type: section +#: doc/guix.texi:123 doc/guix.texi:398 doc/guix.texi:678 doc/guix.texi:679 +#, no-wrap +msgid "Running the Test Suite" +msgstr "Die Testsuite laufen lassen" + +#. type: menuentry +#: doc/guix.texi:123 doc/guix.texi:398 +msgid "Testing Guix." +msgstr "Guix testen." + +#. type: section +#: doc/guix.texi:123 doc/guix.texi:125 doc/guix.texi:398 doc/guix.texi:743 +#: doc/guix.texi:744 +#, no-wrap +msgid "Setting Up the Daemon" +msgstr "Den Daemon einrichten" + +#. type: menuentry +#: doc/guix.texi:123 doc/guix.texi:398 +msgid "Preparing the build daemon's environment." +msgstr "Wie man die Umgebung des Erstellungs-Daemons einrichtet." + +#. type: node +#: doc/guix.texi:123 doc/guix.texi:398 doc/guix.texi:1176 +#, no-wrap +msgid "Invoking guix-daemon" +msgstr "Aufruf des guix-daemon" + +#. type: menuentry +#: doc/guix.texi:123 doc/guix.texi:398 +msgid "Running the build daemon." +msgstr "Den Erstellungs-Daemon laufen lassen." + +#. type: section +#: doc/guix.texi:123 doc/guix.texi:398 doc/guix.texi:1441 doc/guix.texi:1442 +#, no-wrap +msgid "Application Setup" +msgstr "Anwendungen einrichten" + +#. type: menuentry +#: doc/guix.texi:123 doc/guix.texi:398 +msgid "Application-specific setup." +msgstr "Anwendungsspezifische Einstellungen." + +#. type: subsection +#: doc/guix.texi:129 doc/guix.texi:763 doc/guix.texi:765 doc/guix.texi:766 +#, no-wrap +msgid "Build Environment Setup" +msgstr "Einrichten der Erstellungsumgebung" + +#. type: menuentry +#: doc/guix.texi:129 doc/guix.texi:763 +msgid "Preparing the isolated build environment." +msgstr "Die isolierte Umgebung zum Erstellen vorbereiten." + +#. type: node +#: doc/guix.texi:129 doc/guix.texi:763 doc/guix.texi:882 +#, no-wrap +msgid "Daemon Offload Setup" +msgstr "Auslagern des Daemons einrichten" + +#. type: menuentry +#: doc/guix.texi:129 doc/guix.texi:763 +msgid "Offloading builds to remote machines." +msgstr "Erstellungen auf entfernte Maschinen auslagern." + +#. type: subsection +#: doc/guix.texi:129 doc/guix.texi:763 doc/guix.texi:1090 doc/guix.texi:1091 +#, no-wrap +msgid "SELinux Support" +msgstr "SELinux-Unterstützung" + +#. type: menuentry +#: doc/guix.texi:129 doc/guix.texi:763 +msgid "Using an SELinux policy for the daemon." +msgstr "Wie man eine SELinux-Richtlinie für den Daemon einrichtet." + +#. type: section +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:1684 doc/guix.texi:1685 +#, no-wrap +msgid "Features" +msgstr "Funktionalitäten" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "How Guix will make your life brighter." +msgstr "Wie Guix Ihr Leben schöner machen wird." + +#. type: node +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:1761 +#, no-wrap +msgid "Invoking guix package" +msgstr "Aufruf von guix package" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Package installation, removal, etc." +msgstr "Pakete installieren, entfernen usw." + +#. type: section +#: doc/guix.texi:140 doc/guix.texi:142 doc/guix.texi:1682 doc/guix.texi:2245 +#: doc/guix.texi:2246 +#, no-wrap +msgid "Substitutes" +msgstr "Substitute" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Downloading pre-built binaries." +msgstr "Vorerstelle Binärdateien herunterladen." + +#. type: section +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:2478 doc/guix.texi:2479 +#, no-wrap +msgid "Packages with Multiple Outputs" +msgstr "Pakete mit mehreren Ausgaben." + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Single source package, multiple outputs." +msgstr "Ein Quellpaket, mehrere Ausgaben." + +#. type: node +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:2532 +#, no-wrap +msgid "Invoking guix gc" +msgstr "Aufruf von guix gc" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Running the garbage collector." +msgstr "Den Müllsammler laufen lassen." + +#. type: node +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:2720 +#, no-wrap +msgid "Invoking guix pull" +msgstr "Aufruf von guix pull" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Fetching the latest Guix and distribution." +msgstr "Das neueste Guix samt Distribution laden." + +#. type: node +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:2781 +#, no-wrap +msgid "Invoking guix pack" +msgstr "Aufruf von guix pack" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Creating software bundles." +msgstr "Software-Bündel erstellen." + +#. type: node +#: doc/guix.texi:140 doc/guix.texi:1682 doc/guix.texi:2941 +#, no-wrap +msgid "Invoking guix archive" +msgstr "Aufruf von guix archive" + +#. type: menuentry +#: doc/guix.texi:140 doc/guix.texi:1682 +msgid "Exporting and importing store files." +msgstr "Import und Export von Store-Dateien." + +#. type: subsection +#: doc/guix.texi:149 doc/guix.texi:2268 doc/guix.texi:2270 doc/guix.texi:2271 +#, no-wrap +msgid "Official Substitute Server" +msgstr "Offizieller Substitut-Server" + +#. type: menuentry +#: doc/guix.texi:149 doc/guix.texi:2268 +msgid "One particular source of substitutes." +msgstr "Eine besondere Quelle von Substituten." + +#. type: subsection +#: doc/guix.texi:149 doc/guix.texi:2268 doc/guix.texi:2300 doc/guix.texi:2301 +#, no-wrap +msgid "Substitute Server Authorization" +msgstr "Substitut-Server autorisieren" + +#. type: menuentry +#: doc/guix.texi:149 doc/guix.texi:2268 +msgid "How to enable or disable substitutes." +msgstr "Wie man Substitute an- und abschaltet." + +#. type: subsection +#: doc/guix.texi:149 doc/guix.texi:2268 doc/guix.texi:2373 doc/guix.texi:2374 +#, no-wrap +msgid "Substitute Authentication" +msgstr "Substitutauthentifizierung" + +#. type: menuentry +#: doc/guix.texi:149 doc/guix.texi:2268 +msgid "How Guix verifies substitutes." +msgstr "Wie Guix Substitute verifiziert." + +#. type: subsection +#: doc/guix.texi:149 doc/guix.texi:2268 doc/guix.texi:2408 doc/guix.texi:2409 +#, no-wrap +msgid "Proxy Settings" +msgstr "Proxy-Einstellungen" + +#. type: menuentry +#: doc/guix.texi:149 doc/guix.texi:2268 +msgid "How to get substitutes via proxy." +msgstr "Wie Sie Substitute über einen Proxy beziehen." + +#. type: subsection +#: doc/guix.texi:149 doc/guix.texi:2268 doc/guix.texi:2420 doc/guix.texi:2421 +#, no-wrap +msgid "Substitution Failure" +msgstr "Fehler bei der Substitution" + +#. type: menuentry +#: doc/guix.texi:149 doc/guix.texi:2268 +msgid "What happens when substitution fails." +msgstr "Was passiert, wenn die Substitution fehlschlägt." + +#. type: subsection +#: doc/guix.texi:149 doc/guix.texi:2268 doc/guix.texi:2448 doc/guix.texi:2449 +#, no-wrap +msgid "On Trusting Binaries" +msgstr "Vom Vertrauen gegenüber Binärdateien" + +#. type: menuentry +#: doc/guix.texi:149 doc/guix.texi:2268 +msgid "How can you trust that binary blob?" +msgstr "Wie können Sie diesem binären Blob trauen?" + +#. type: section +#: doc/guix.texi:158 doc/guix.texi:160 doc/guix.texi:3141 doc/guix.texi:3143 +#: doc/guix.texi:3144 +#, no-wrap +msgid "Defining Packages" +msgstr "Pakete definieren" + +#. type: menuentry +#: doc/guix.texi:158 doc/guix.texi:3141 +msgid "Defining new packages." +msgstr "Wie Sie neue Pakete definieren." + +#. type: section +#: doc/guix.texi:158 doc/guix.texi:3141 doc/guix.texi:3607 doc/guix.texi:3608 +#, no-wrap +msgid "Build Systems" +msgstr "Erstellungssysteme" + +#. type: menuentry +#: doc/guix.texi:158 doc/guix.texi:3141 +msgid "Specifying how packages are built." +msgstr "Angeben, wie Pakete erstellt werden." + +#. type: section +#: doc/guix.texi:158 doc/guix.texi:3141 doc/guix.texi:4183 doc/guix.texi:4184 +#, no-wrap +msgid "The Store" +msgstr "Der Store" + +#. type: menuentry +#: doc/guix.texi:158 doc/guix.texi:3141 +msgid "Manipulating the package store." +msgstr "Den Paket-Store verändern." + +#. type: section +#: doc/guix.texi:158 doc/guix.texi:3141 doc/guix.texi:4333 doc/guix.texi:4334 +#, no-wrap +msgid "Derivations" +msgstr "Ableitungen" + +#. type: menuentry +#: doc/guix.texi:158 doc/guix.texi:3141 +msgid "Low-level interface to package derivations." +msgstr "Systemnahe Schnittstelle für Paketableitungen." + +#. type: section +#: doc/guix.texi:158 doc/guix.texi:3141 doc/guix.texi:4511 doc/guix.texi:4512 +#, no-wrap +msgid "The Store Monad" +msgstr "Die Store-Monade" + +#. type: menuentry +#: doc/guix.texi:158 doc/guix.texi:3141 +msgid "Purely functional interface to the store." +msgstr "Rein funktionale Schnittstelle zum Store." + +#. type: section +#: doc/guix.texi:158 doc/guix.texi:3141 doc/guix.texi:4820 doc/guix.texi:4821 +#, no-wrap +msgid "G-Expressions" +msgstr "G-Ausdrücke" + +#. type: menuentry +#: doc/guix.texi:158 doc/guix.texi:3141 +msgid "Manipulating build expressions." +msgstr "Erstellungsausdrücke verarbeiten." + +#. type: node +#: doc/guix.texi:163 doc/guix.texi:3389 doc/guix.texi:3392 +#, no-wrap +msgid "package Reference" +msgstr "„package“-Referenz" + +#. type: menuentry +#: doc/guix.texi:163 doc/guix.texi:3389 +msgid "The package data type." +msgstr "Der Datentyp für Pakete." + +#. type: node +#: doc/guix.texi:163 doc/guix.texi:3389 doc/guix.texi:3519 +#, no-wrap +msgid "origin Reference" +msgstr "„origin“-Referenz" + +#. type: menuentry +#: doc/guix.texi:163 doc/guix.texi:3389 +msgid "The origin data type." +msgstr "Datentyp für Paketursprünge." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:5388 +#, no-wrap +msgid "Invoking guix build" +msgstr "Aufruf von guix build" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Building packages from the command line." +msgstr "Pakete aus der Befehlszeile heraus erstellen." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:5968 +#, no-wrap +msgid "Invoking guix edit" +msgstr "Aufruf von guix edit" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Editing package definitions." +msgstr "Paketdefinitionen bearbeiten." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:5994 +#, no-wrap +msgid "Invoking guix download" +msgstr "Aufruf von guix download" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Downloading a file and printing its hash." +msgstr "Herunterladen einer Datei und Ausgabe ihres Hashes." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:6047 +#, no-wrap +msgid "Invoking guix hash" +msgstr "Aufruf von guix hash" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Computing the cryptographic hash of a file." +msgstr "Den kryptographischen Hash einer Datei berechnen." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:6109 +#, no-wrap +msgid "Invoking guix import" +msgstr "Aufruf von guix import" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Importing package definitions." +msgstr "Paketdefinitionen importieren." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:6476 +#, no-wrap +msgid "Invoking guix refresh" +msgstr "Aufruf von guix refresh" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Updating package definitions." +msgstr "Paketdefinitionen aktualisieren." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:6723 +#, no-wrap +msgid "Invoking guix lint" +msgstr "Aufruf von guix lint" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Finding errors in package definitions." +msgstr "Fehler in Paketdefinitionen finden." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:6814 +#, no-wrap +msgid "Invoking guix size" +msgstr "Aufruf von guix size" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Profiling disk usage." +msgstr "Plattenverbrauch profilieren." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:6930 +#, no-wrap +msgid "Invoking guix graph" +msgstr "Aufruf von guix graph" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Visualizing the graph of packages." +msgstr "Den Paketgraphen visualisieren." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:7109 +#, no-wrap +msgid "Invoking guix environment" +msgstr "Aufruf von guix environment" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Setting up development environments." +msgstr "Entwicklungsumgebungen einrichten." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:7428 +#, no-wrap +msgid "Invoking guix publish" +msgstr "Aufruf von guix publish" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Sharing substitutes." +msgstr "Substitute teilen." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:7645 +#, no-wrap +msgid "Invoking guix challenge" +msgstr "Aufruf von guix challenge" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Challenging substitute servers." +msgstr "Die Substitut-Server anfechten." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:7784 +#, no-wrap +msgid "Invoking guix copy" +msgstr "Aufruf von guix copy" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Copying to and from a remote store." +msgstr "Mit einem entfernten Store Dateien austauschen." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:7847 +#, no-wrap +msgid "Invoking guix container" +msgstr "Aufruf von guix container" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Process isolation." +msgstr "Prozesse isolieren." + +#. type: node +#: doc/guix.texi:181 doc/guix.texi:5386 doc/guix.texi:7901 +#, no-wrap +msgid "Invoking guix weather" +msgstr "Aufruf von guix weather" + +#. type: menuentry +#: doc/guix.texi:181 doc/guix.texi:5386 +msgid "Assessing substitute availability." +msgstr "Die Verfügbarkeit von Substituten einschätzen." + +#. type: section +#: doc/guix.texi:183 doc/guix.texi:5389 +#, no-wrap +msgid "Invoking @command{guix build}" +msgstr "Aufruf von @command{guix build}" + +#. type: subsection +#: doc/guix.texi:188 doc/guix.texi:5440 doc/guix.texi:5442 doc/guix.texi:5443 +#, no-wrap +msgid "Common Build Options" +msgstr "Gemeinsame Erstellungsoptionen" + +#. type: menuentry +#: doc/guix.texi:188 doc/guix.texi:5440 +msgid "Build options for most commands." +msgstr "Erstellungsoptionen für die meisten Befehle." + +#. type: subsection +#: doc/guix.texi:188 doc/guix.texi:5440 doc/guix.texi:5584 doc/guix.texi:5585 +#, no-wrap +msgid "Package Transformation Options" +msgstr "Paketumwandlungsoptionen" + +#. type: menuentry +#: doc/guix.texi:188 doc/guix.texi:5440 +msgid "Creating variants of packages." +msgstr "Varianten von Paketen erzeugen." + +#. type: subsection +#: doc/guix.texi:188 doc/guix.texi:5440 doc/guix.texi:5684 doc/guix.texi:5685 +#, no-wrap +msgid "Additional Build Options" +msgstr "Zusätzliche Erstellungsoptionen" + +#. type: menuentry +#: doc/guix.texi:188 doc/guix.texi:5440 +msgid "Options specific to 'guix build'." +msgstr "Optionen spezifisch für »guix build«." + +#. type: subsection +#: doc/guix.texi:188 doc/guix.texi:5440 doc/guix.texi:5888 doc/guix.texi:5889 +#, no-wrap +msgid "Debugging Build Failures" +msgstr "Fehlschläge beim Erstellen untersuchen" + +#. type: menuentry +#: doc/guix.texi:188 doc/guix.texi:5440 +msgid "Real life packaging experience." +msgstr "Praxiserfahrung bei der Paketerstellung." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:202 doc/guix.texi:8053 doc/guix.texi:8058 +#: doc/guix.texi:8059 +#, no-wrap +msgid "System Installation" +msgstr "Systeminstallation" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Installing the whole operating system." +msgstr "Das ganze Betriebssystem installieren." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:212 doc/guix.texi:8053 doc/guix.texi:8674 +#: doc/guix.texi:8675 +#, no-wrap +msgid "System Configuration" +msgstr "Systemkonfiguration" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Configuring the operating system." +msgstr "Das Betriebssystem konfigurieren." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:8053 doc/guix.texi:21351 +#: doc/guix.texi:21352 +#, no-wrap +msgid "Documentation" +msgstr "Dokumentation" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Browsing software user manuals." +msgstr "Wie man Nutzerhandbücher von Software liest." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:8053 doc/guix.texi:21415 +#: doc/guix.texi:21416 +#, no-wrap +msgid "Installing Debugging Files" +msgstr "Dateien zur Fehlersuche installieren" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Feeding the debugger." +msgstr "Womit man seinen Debugger füttert." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:8053 doc/guix.texi:21481 +#: doc/guix.texi:21482 +#, no-wrap +msgid "Security Updates" +msgstr "Sicherheitsaktualisierungen" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Deploying security fixes quickly." +msgstr "Sicherheits-Patches schnell einspielen." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:8053 doc/guix.texi:21601 +#: doc/guix.texi:21602 +#, no-wrap +msgid "Package Modules" +msgstr "Paketmodule" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Packages from the programmer's viewpoint." +msgstr "Pakete aus Sicht des Programmierers." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:265 doc/guix.texi:8053 doc/guix.texi:21655 +#: doc/guix.texi:21656 +#, no-wrap +msgid "Packaging Guidelines" +msgstr "Paketrichtlinien" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Growing the distribution." +msgstr "Die Distribution wachsen lassen." + +#. type: section +#: doc/guix.texi:200 doc/guix.texi:8053 doc/guix.texi:22106 +#: doc/guix.texi:22107 +#, no-wrap +msgid "Bootstrapping" +msgstr "Bootstrapping" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "GNU/Linux built from scratch." +msgstr "GNU/Linux von Grund auf selbst erstellen." + +#. type: node +#: doc/guix.texi:200 doc/guix.texi:8053 doc/guix.texi:22290 +#, no-wrap +msgid "Porting" +msgstr "Portierung" + +#. type: menuentry +#: doc/guix.texi:200 doc/guix.texi:8053 +msgid "Targeting another platform or kernel." +msgstr "Guix auf andere Plattformen und Kernels bringen." + +#. type: subsection +#: doc/guix.texi:210 doc/guix.texi:1126 doc/guix.texi:8090 doc/guix.texi:8092 +#: doc/guix.texi:8093 +#, no-wrap +msgid "Limitations" +msgstr "Einschränkungen" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "What you can expect." +msgstr "Was Sie erwarten dürfen." + +#. type: subsection +#: doc/guix.texi:210 doc/guix.texi:8090 doc/guix.texi:8136 doc/guix.texi:8137 +#, no-wrap +msgid "Hardware Considerations" +msgstr "Hardware-Überlegungen" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "Supported hardware." +msgstr "Unterstützte Hardware." + +#. type: subsection +#: doc/guix.texi:210 doc/guix.texi:8090 doc/guix.texi:8171 doc/guix.texi:8172 +#, no-wrap +msgid "USB Stick and DVD Installation" +msgstr "Installation von USB-Stick oder DVD" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "Preparing the installation medium." +msgstr "Das Installationsmedium vorbereiten." + +#. type: subsection +#: doc/guix.texi:210 doc/guix.texi:8090 doc/guix.texi:8269 doc/guix.texi:8270 +#, no-wrap +msgid "Preparing for Installation" +msgstr "Vor der Installation" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "Networking, partitioning, etc." +msgstr "Netzwerkanbindung, Partitionierung etc." + +#. type: subsection +#: doc/guix.texi:210 doc/guix.texi:8090 doc/guix.texi:8508 doc/guix.texi:8509 +#, no-wrap +msgid "Proceeding with the Installation" +msgstr "Fortfahren mit der Installation" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "The real thing." +msgstr "Die Hauptsache." + +#. type: node +#: doc/guix.texi:210 doc/guix.texi:8090 doc/guix.texi:8605 +#, no-wrap +msgid "Installing GuixSD in a VM" +msgstr "GuixSD in einer VM installieren" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "GuixSD playground." +msgstr "Ein GuixSD-Spielplatz." + +#. type: subsection +#: doc/guix.texi:210 doc/guix.texi:8090 doc/guix.texi:8659 doc/guix.texi:8660 +#, no-wrap +msgid "Building the Installation Image" +msgstr "Ein Abbild zur Installation erstellen" + +#. type: menuentry +#: doc/guix.texi:210 doc/guix.texi:8090 +msgid "How this comes to be." +msgstr "Wie ein solches entsteht." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:8717 doc/guix.texi:8718 +#, no-wrap +msgid "Using the Configuration System" +msgstr "Das Konfigurationssystem nutzen" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Customizing your GNU system." +msgstr "Ihr GNU-System anpassen." + +#. type: node +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:8933 +#, no-wrap +msgid "operating-system Reference" +msgstr "„operating-system“-Referenz" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Detail of operating-system declarations." +msgstr "Details der Betriebssystem-Deklarationen." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:9087 doc/guix.texi:9088 +#, no-wrap +msgid "File Systems" +msgstr "Dateisysteme" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Configuring file system mounts." +msgstr "Die Dateisystemeinbindungen konfigurieren." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:9250 doc/guix.texi:9251 +#, no-wrap +msgid "Mapped Devices" +msgstr "Abgebildete Geräte" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Block device extra processing." +msgstr "Näheres zu blockorientierten Speichermedien." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:9371 doc/guix.texi:9372 +#, no-wrap +msgid "User Accounts" +msgstr "Benutzerkonten" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Specifying user accounts." +msgstr "Benutzerkonten festlegen." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:1449 doc/guix.texi:8715 doc/guix.texi:9506 +#: doc/guix.texi:9507 +#, no-wrap +msgid "Locales" +msgstr "Locales" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Language and cultural convention settings." +msgstr "Sprache und kulturelle Konventionen." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:230 doc/guix.texi:8715 doc/guix.texi:9646 +#: doc/guix.texi:9647 +#, no-wrap +msgid "Services" +msgstr "Dienste" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Specifying system services." +msgstr "Systemdienste festlegen." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:19720 +#: doc/guix.texi:19721 +#, no-wrap +msgid "Setuid Programs" +msgstr "Setuid-Programme" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Programs running with root privileges." +msgstr "Mit Administratorrechten startende Programme." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:1594 doc/guix.texi:8715 doc/guix.texi:19766 +#: doc/guix.texi:19767 +#, no-wrap +msgid "X.509 Certificates" +msgstr "X.509-Zertifikate" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Authenticating HTTPS servers." +msgstr "HTTPS-Server authentifizieren." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:1492 doc/guix.texi:8715 doc/guix.texi:19829 +#: doc/guix.texi:19830 +#, no-wrap +msgid "Name Service Switch" +msgstr "Name Service Switch" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Configuring libc's name service switch." +msgstr "Den Name Service Switch von libc konfigurieren." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:19967 +#: doc/guix.texi:19968 +#, no-wrap +msgid "Initial RAM Disk" +msgstr "Initiale RAM-Disk" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Linux-Libre bootstrapping." +msgstr "Linux-libre hochfahren." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:20127 +#: doc/guix.texi:20128 +#, no-wrap +msgid "Bootloader Configuration" +msgstr "Bootloader-Konfiguration" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Configuring the boot loader." +msgstr "Den Bootloader konfigurieren." + +#. type: node +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:20298 +#, no-wrap +msgid "Invoking guix system" +msgstr "Aufruf von guix system" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Instantiating a system configuration." +msgstr "Instanzierung einer Systemkonfiguration." + +#. type: node +#: doc/guix.texi:228 doc/guix.texi:8715 doc/guix.texi:20723 +#, no-wrap +msgid "Running GuixSD in a VM" +msgstr "GuixSD in einer VM starten" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "How to run GuixSD in a virtual machine." +msgstr "Wie man GuixSD in einer virtuellen Maschine startet." + +#. type: subsection +#: doc/guix.texi:228 doc/guix.texi:258 doc/guix.texi:8715 doc/guix.texi:20834 +#: doc/guix.texi:20835 +#, no-wrap +msgid "Defining Services" +msgstr "Dienste definieren" + +#. type: menuentry +#: doc/guix.texi:228 doc/guix.texi:8715 +msgid "Adding new service definitions." +msgstr "Neue Dienstdefinitionen hinzufügen." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:9720 doc/guix.texi:9721 +#, no-wrap +msgid "Base Services" +msgstr "Basisdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Essential system services." +msgstr "Essenzielle Systemdienste." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:10488 +#: doc/guix.texi:10489 +#, no-wrap +msgid "Scheduled Job Execution" +msgstr "Geplante Auftragsausführung" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "The mcron service." +msgstr "Der mcron-Dienst." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:10583 +#: doc/guix.texi:10584 +#, no-wrap +msgid "Log Rotation" +msgstr "Log-Rotation" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "The rottlog service." +msgstr "Der rottlog-Dienst." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:10685 +#: doc/guix.texi:10686 +#, no-wrap +msgid "Networking Services" +msgstr "Netzwerkdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Network setup, SSH daemon, etc." +msgstr "Netzwerkeinrichtung, SSH-Daemon etc." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:11431 +#: doc/guix.texi:11432 +#, no-wrap +msgid "X Window" +msgstr "X Window" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Graphical display." +msgstr "Graphische Anzeige." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:11677 +#: doc/guix.texi:11678 +#, no-wrap +msgid "Printing Services" +msgstr "Druckdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Local and remote printer support." +msgstr "Unterstützung für lokale und entfernte Drucker." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:12514 +#: doc/guix.texi:12515 +#, no-wrap +msgid "Desktop Services" +msgstr "Desktop-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "D-Bus and desktop services." +msgstr "D-Bus- und Desktop-Dienste." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:12807 +#: doc/guix.texi:12808 +#, no-wrap +msgid "Database Services" +msgstr "Datenbankdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "SQL databases, key-value stores, etc." +msgstr "SQL-Datenbanken, Schlüssel-Wert-Speicher etc." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:12931 +#: doc/guix.texi:12932 +#, no-wrap +msgid "Mail Services" +msgstr "Mail-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "IMAP, POP3, SMTP, and all that." +msgstr "IMAP, POP3, SMTP und so weiter." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:14383 +#: doc/guix.texi:14384 +#, no-wrap +msgid "Messaging Services" +msgstr "Kurznachrichtendienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Messaging services." +msgstr "Dienste für Kurznachrichten." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:14851 +#: doc/guix.texi:14852 +#, no-wrap +msgid "Telephony Services" +msgstr "Telefondienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Telephony services." +msgstr "Telefoniedienste." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:15056 +#: doc/guix.texi:15057 +#, no-wrap +msgid "Monitoring Services" +msgstr "Überwachungsdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Monitoring services." +msgstr "Dienste zur Systemüberwachung." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:15209 +#: doc/guix.texi:15210 +#, no-wrap +msgid "Kerberos Services" +msgstr "Kerberos-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Kerberos services." +msgstr "Kerberos-Dienste." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:15335 +#: doc/guix.texi:15336 +#, no-wrap +msgid "Web Services" +msgstr "Web-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Web servers." +msgstr "Web-Server." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:15944 +#: doc/guix.texi:15945 +#, no-wrap +msgid "Certificate Services" +msgstr "Zertifikatsdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "TLS certificates via Let's Encrypt." +msgstr "TLS-Zertifikate via Let’s Encrypt." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:16090 +#: doc/guix.texi:16091 +#, no-wrap +msgid "DNS Services" +msgstr "DNS-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "DNS daemons." +msgstr "DNS-Daemons." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:16494 +#: doc/guix.texi:16495 +#, no-wrap +msgid "VPN Services" +msgstr "VPN-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "VPN daemons." +msgstr "VPN-Daemons." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:16852 +#: doc/guix.texi:16853 +#, no-wrap +msgid "Network File System" +msgstr "Network File System" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "NFS related services." +msgstr "Dienste mit Bezug zum Netzwerkdateisystem." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:16967 +#: doc/guix.texi:16968 +#, no-wrap +msgid "Continuous Integration" +msgstr "Kontinuierliche Integration" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "The Cuirass service." +msgstr "Der Cuirass-Dienst." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:17063 +#: doc/guix.texi:17064 +#, fuzzy, no-wrap +#| msgid "Power Management Services" +msgid "Power management Services" +msgstr "Dienste zur Stromverbrauchsverwaltung" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +#, fuzzy +#| msgid "The right tools." +msgid "The TLP tool." +msgstr "Die richtigen Werkzeuge." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:17591 +#: doc/guix.texi:17592 +#, no-wrap +msgid "Audio Services" +msgstr "Audio-Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "The MPD." +msgstr "Der MPD." + +#. type: node +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:17641 +#, no-wrap +msgid "Virtualization Services" +msgstr "Virtualisierungsdienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Virtualization services." +msgstr "Dienste für virtuelle Maschinen." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:18434 +#: doc/guix.texi:18435 +#, no-wrap +msgid "Version Control Services" +msgstr "Versionskontrolldienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Providing remote access to Git repositories." +msgstr "Entfernten Zugang zu Git-Repositorys bieten." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:19528 +#: doc/guix.texi:19529 +#, no-wrap +msgid "Game Services" +msgstr "Spieldienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Game servers." +msgstr "Spielserver." + +#. type: subsubsection +#: doc/guix.texi:256 doc/guix.texi:9718 doc/guix.texi:19559 +#: doc/guix.texi:19560 +#, no-wrap +msgid "Miscellaneous Services" +msgstr "Verschiedene Dienste" + +#. type: menuentry +#: doc/guix.texi:256 doc/guix.texi:9718 +msgid "Other services." +msgstr "Andere Dienste." + +#. type: subsubsection +#: doc/guix.texi:263 doc/guix.texi:20846 doc/guix.texi:20848 +#: doc/guix.texi:20849 +#, no-wrap +msgid "Service Composition" +msgstr "Dienstkompositionen" + +#. type: menuentry +#: doc/guix.texi:263 doc/guix.texi:20846 +msgid "The model for composing services." +msgstr "Wie Dienste zusammengestellt werden." + +#. type: subsubsection +#: doc/guix.texi:263 doc/guix.texi:20846 doc/guix.texi:20904 +#: doc/guix.texi:20905 +#, no-wrap +msgid "Service Types and Services" +msgstr "Diensttypen und Dienste" + +#. type: menuentry +#: doc/guix.texi:263 doc/guix.texi:20846 +msgid "Types and services." +msgstr "Typen und Dienste." + +#. type: subsubsection +#: doc/guix.texi:263 doc/guix.texi:20846 doc/guix.texi:21041 +#: doc/guix.texi:21042 +#, no-wrap +msgid "Service Reference" +msgstr "Service-Referenz" + +#. type: menuentry +#: doc/guix.texi:263 doc/guix.texi:20846 +msgid "API reference." +msgstr "Referenz zur Programmierschnittstelle." + +#. type: subsubsection +#: doc/guix.texi:263 doc/guix.texi:20846 doc/guix.texi:21266 +#: doc/guix.texi:21267 +#, no-wrap +msgid "Shepherd Services" +msgstr "Shepherd-Dienste" + +#. type: menuentry +#: doc/guix.texi:263 doc/guix.texi:20846 +msgid "A particular type of service." +msgstr "Eine spezielle Art von Dienst." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:21732 +#: doc/guix.texi:21733 +#, no-wrap +msgid "Software Freedom" +msgstr "Software-Freiheit" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "What may go into the distribution." +msgstr "Was in die Distribution aufgenommen werden darf." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:21760 +#: doc/guix.texi:21761 +#, no-wrap +msgid "Package Naming" +msgstr "Paketbenennung" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "What's in a name?" +msgstr "Was macht einen Namen aus?" + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:21785 +#: doc/guix.texi:21786 +#, no-wrap +msgid "Version Numbers" +msgstr "Versionsnummern" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "When the name is not enough." +msgstr "Wenn der Name noch nicht genug ist." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:21876 +#: doc/guix.texi:21877 +#, no-wrap +msgid "Synopses and Descriptions" +msgstr "Zusammenfassungen und Beschreibungen" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "Helping users find the right package." +msgstr "Den Nutzern helfen, das richtige Paket zu finden." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:21956 +#: doc/guix.texi:21957 +#, no-wrap +msgid "Python Modules" +msgstr "Python-Module" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "A touch of British comedy." +msgstr "Ein Touch britischer Comedy." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:22031 +#: doc/guix.texi:22032 +#, no-wrap +msgid "Perl Modules" +msgstr "Perl-Module" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "Little pearls." +msgstr "Kleine Perlen." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:22047 +#: doc/guix.texi:22048 +#, no-wrap +msgid "Java Packages" +msgstr "Java-Pakete" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "Coffee break." +msgstr "Kaffeepause." + +#. type: subsection +#: doc/guix.texi:274 doc/guix.texi:21730 doc/guix.texi:22067 +#: doc/guix.texi:22068 +#, no-wrap +msgid "Fonts" +msgstr "Schriftarten" + +#. type: menuentry +#: doc/guix.texi:274 doc/guix.texi:21730 +msgid "Fond of fonts." +msgstr "Schriften verschriftlicht." + +#. type: cindex +#: doc/guix.texi:297 +#, no-wrap +msgid "purpose" +msgstr "Zweck" + +#. type: Plain text +#: doc/guix.texi:304 +msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments." +msgstr "GNU Guix@footnote{»Guix« wird wie »geeks« ausgesprochen, also als »ɡiːks« in der Notation des Internationalen Phonetischen Alphabets (IPA).} ist ein Werkzeug zur Paketverwaltung für das GNU-System. Guix macht es unprivilegierten Nutzern leicht, Pakete zu installieren, zu aktualisieren oder zu entfernen, zu einem vorherigen Satz von Paketen zurückzuwechseln, Pakete aus ihrem Quellcode heraus zu erstellen und hilft allgemein bei der Schöpfung und Wartung von Software-Umgebungen." + +#. type: cindex +#: doc/guix.texi:305 +#, no-wrap +msgid "user interfaces" +msgstr "Benutzeroberflächen" + +#. type: Plain text +#: doc/guix.texi:310 +msgid "Guix provides a command-line package management interface (@pxref{Invoking guix package}), a set of command-line utilities (@pxref{Utilities}), as well as Scheme programming interfaces (@pxref{Programming Interface})." +msgstr "Guix bietet eine befehlszeilenbasierte Paketverwaltungsschnittstelle (@pxref{Invoking guix package}), einen Satz Befehlszeilenwerkzeuge (@pxref{Utilities}) sowie Schnittstellen zur Programmierung in Scheme (@pxref{Programming Interface})." + +#. type: cindex +#: doc/guix.texi:310 +#, no-wrap +msgid "build daemon" +msgstr "Erstellungs-Daemon" + +#. type: Plain text +#: doc/guix.texi:314 +msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})." +msgstr "Der @dfn{Erstellungs-Daemon} ist für das Erstellen von Paketen im Auftrag von Nutzern verantwortlich (@pxref{Setting Up the Daemon}) und für das Herunterladen vorerstellter Binärdateien aus autorisierten Quellen (@pxref{Substitutes})." + +#. type: cindex +#: doc/guix.texi:315 +#, no-wrap +msgid "extensibility of the distribution" +msgstr "Erweiterbarkeit der Distribution" + +#. type: cindex +#: doc/guix.texi:316 doc/guix.texi:21623 +#, no-wrap +msgid "customization, of packages" +msgstr "Anpassung, von Paketen" + +#. type: Plain text +#: doc/guix.texi:325 +msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})." +msgstr "Guix enthält Paketdefinitionen für viele Pakete, von GNU und nicht von GNU, die alle @uref{https://www.gnu.org/philosophy/free-sw.html, die Freiheit des Computernutzers respektieren}. Es ist @emph{erweiterbar}: Nutzer können ihre eigenen Paketdefinitionen schreiben (@pxref{Defining Packages}) und sie als unabhängige Paketmodule verfügbar machen (@pxref{Package Modules}). Es ist auch @emph{anpassbar}: Nutzer können spezialisierte Paketdefinitionen aus bestehenden @emph{ableiten}, auch von der Befehlszeile (@pxref{Package Transformation Options})." + +#. type: cindex +#: doc/guix.texi:326 doc/guix.texi:7984 doc/guix.texi:8062 +#, no-wrap +msgid "Guix System Distribution" +msgstr "Guix System Distribution" + +#. type: cindex +#: doc/guix.texi:327 doc/guix.texi:7985 +#, no-wrap +msgid "GuixSD" +msgstr "GuixSD" + +#. type: Plain text +#: doc/guix.texi:336 +msgid "You can install GNU@tie{}Guix on top of an existing GNU/Linux system where it complements the available tools without interference (@pxref{Installation}), or you can use it as part of the standalone @dfn{Guix System Distribution} or GuixSD (@pxref{GNU Distribution}). With GNU@tie{}GuixSD, you @emph{declare} all aspects of the operating system configuration and Guix takes care of instantiating the configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration})." +msgstr "Sie können GNU@tie{}Guix auf ein bestehendes GNU/Linux-System aufsetzen, wo es die bereits verfügbaren Werkzeuge ergänzt, ohne zu stören (@pxref{Installation}), oder Sie können es eigenständig als Teil der @dfn{Guix System Distribution}, kurz GuixSD (@pxref{GNU Distribution}), verwenden. Mit GNU@tie{}GuixSD @emph{deklarieren} Sie alle Aspekte der Betriebssystemkonfiguration und Guix kümmert sich darum, die Konfiguration auf transaktionsbasierte, reproduzierbare und zustandslose Weise zu instanzieren (@pxref{System Configuration})." + +#. type: cindex +#: doc/guix.texi:337 +#, no-wrap +msgid "functional package management" +msgstr "funktionale Paketverwaltung" + +#. type: Plain text +#: doc/guix.texi:352 +msgid "Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen as a @emph{function}, in the mathematical sense. That function takes inputs, such as build scripts, a compiler, and libraries, and returns an installed package. As a pure function, its result depends solely on its inputs---for instance, it cannot refer to software or scripts that were not explicitly passed as inputs. A build function always produces the same result when passed a given set of inputs. It cannot alter the environment of the running system in any way; for instance, it cannot create, modify, or delete files outside of its build and installation directories. This is achieved by running build processes in isolated environments (or @dfn{containers}), where only their explicit inputs are visible." +msgstr "Intern implementiert Guix die Disziplin der @dfn{funktionalen Paketverwaltung}, zu der Nix schon die Pionierarbeit geleistet hat (@pxref{Acknowledgments}). In Guix wird der Prozess, ein Paket zu erstellen und zu installieren, als eine @emph{Funktion} im mathematischen Sinn aufgefasst. Diese Funktion hat Eingaben, wie zum Beispiel Erstellungs-Skripts, einen Compiler und Bibliotheken, und liefert ein installiertes Paket. Als eine reine Funktion hängt sein Ergebnis allein von seinen Eingaben ab — zum Beispiel kann er nicht auf Software oder Skripts Bezug nehmen, die nicht ausdrücklich als Eingaben übergeben wurden. Eine Erstellungsfunktion führt immer zum selben Ergebnis, wenn ihr die gleiche Menge an Eingaben übergeben wurde. Sie kann die Umgebung des laufenden Systems auf keine Weise beeinflussen, zum Beispiel kann sie keine Dateien außerhalb ihrer Erstellungs- und Installationsverzeichnisse verändern. Um dies zu erreichen, laufen Erstellungsprozesse in isolieren Umgebungen (sogenannte @dfn{Container}), wo nur ausdrückliche Eingaben sichtbar sind." + +#. type: cindex +#: doc/guix.texi:353 doc/guix.texi:4186 +#, no-wrap +msgid "store" +msgstr "Store" + +#. type: Plain text +#: doc/guix.texi:360 +msgid "The result of package build functions is @dfn{cached} in the file system, in a special directory called @dfn{the store} (@pxref{The Store}). Each package is installed in a directory of its own in the store---by default under @file{/gnu/store}. The directory name contains a hash of all the inputs used to build that package; thus, changing an input yields a different directory name." +msgstr "Das Ergebnis von Paketerstellungsfunktionen wird im Dateisystem @dfn{zwischengespeichert} in einem besonderen Verzeichnis, was als @dfn{der Store} bezeichnet wird (@pxref{The Store}). Jedes Paket wird in sein eigenes Verzeichnis im Store installiert — standardmäßig ist er unter @file{/gnu/store} zu finden. Der Verzeichnisname enthält einen Hash aller Eingaben, anhand derer das Paket erzeugt wurde, somit hat das Ändern einer Eingabe einen völlig anderen Verzeichnisnamen zur Folge." + +#. type: Plain text +#: doc/guix.texi:364 +msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})." +msgstr "Dieses Vorgehen ist die Grundlage für die Guix auszeichnenden Funktionalitäten: Unterstützung transaktionsbasierter Paketaktualisierungen und -rückstufungen, Installation von Paketen als einfacher Nutzer sowie Garbage Collection für Pakete (@pxref{Features})." + +#. type: cindex +#: doc/guix.texi:370 +#, no-wrap +msgid "installing Guix" +msgstr "Guix installieren" + +#. type: Plain text +#: doc/guix.texi:375 +msgid "GNU Guix is available for download from its website at @url{http://www.gnu.org/software/guix/}. This section describes the software requirements of Guix, as well as how to install it and get ready to use it." +msgstr "GNU Guix kann von seiner Webseite unter @url{http://www.gnu.org/software/guix/} heruntergeladen werden. Dieser Abschnitt beschreibt die Software-Voraussetzungen von Guix und wie man es installiert, so dass man es benutzen kann." + +#. type: Plain text +#: doc/guix.texi:380 +msgid "Note that this section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}." +msgstr "Beachten Sie, dass es in diesem Abschnitt um die Installation des Paketverwaltungswerkzeugs geht, welche auf einem laufenden GNU/Linux-System vollzogen werden kann. Falls Sie stattdessen das vollständige GNU-Betriebssystem installieren möchten, werfen Sie einen Blick in den Abschnitt @pxref{System Installation}." + +#. type: cindex +#: doc/guix.texi:381 doc/guix.texi:1444 +#, no-wrap +msgid "foreign distro" +msgstr "Fremddistribution" + +#. type: Plain text +#: doc/guix.texi:387 +msgid "When installed on a running GNU/Linux system---thereafter called a @dfn{foreign distro}---GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched." +msgstr "Wenn es auf ein bestehendes GNU/Linux-System installiert wird — im Folgenden als @dfn{Fremddistribution} bezeichnet —, ergänzt GNU@tie{}Guix die verfügbaren Werkzeuge, ohne dass sie sich gegenseitig stören. Guix’ Daten befinden sich ausschließlich in zwei Verzeichnissen, üblicherweise @file{/gnu/store} und @file{/var/guix}; andere Dateien auf Ihrem System wie @file{/etc} bleiben unberührt." + +#. type: Plain text +#: doc/guix.texi:390 +msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})." +msgstr "Sobald es installiert ist, kann Guix durch Ausführen von @command{guix pull} aktualisiert werden (@pxref{Invoking guix pull})." + +#. type: cindex +#: doc/guix.texi:403 +#, no-wrap +msgid "installing Guix from binaries" +msgstr "Guix aus Binärdateien installieren" + +#. type: Plain text +#: doc/guix.texi:409 +msgid "This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz." +msgstr "Dieser Abschnitt beschreibt, wie sich Guix auf einem beliebigen System aus einem alle Komponenten umfassenden Tarball installieren lässt, der Binärdateien für Guix und all seine Abhängigkeiten liefert. Dies geht in der Regel schneller, als Guix aus seinen Quelldateien zu installieren, was in den nächsten Abschnitten beschrieben wird. Vorausgesetzt wird hier lediglich, dass GNU@tie{}tar und Xz verfügbar sind." + +#. type: Plain text +#: doc/guix.texi:414 +msgid "We provide a @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}, which automates the download, installation, and initial configuration of Guix. It should be run as the root user." +msgstr "Wir bieten ein @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, Installations-Skript für die Shell}, welches Guix automatisch herunterlädt, installiert und eine erste Konfiguration von Guix mit sich bringt. Es sollte als der Administratornutzer (als »root«) ausgeführt werden." + +#. type: Plain text +#: doc/guix.texi:416 +msgid "Installing goes along these lines:" +msgstr "Die Installation läuft so ab:" + +#. type: cindex +#: doc/guix.texi:419 +#, no-wrap +msgid "downloading Guix binary" +msgstr "Guix-Binärdatei herunterladen" + +#. type: enumerate +#: doc/guix.texi:424 +#, fuzzy +#| msgid "Download the binary tarball from @indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz}, where @var{system} is @code{x86_64-linux} for an @code{x86_64} machine already running the kernel Linux, and so on." +msgid "Download the binary tarball from @indicateurl{ftp://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz}, where @var{system} is @code{x86_64-linux} for an @code{x86_64} machine already running the kernel Linux, and so on." +msgstr "Laden Sie den binären Tarball von @indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz} herunter, wobei @var{system} für @code{x86_64-linux} steht, falls Sie es auf einer Maschine mit @code{x86_64}-Architektur einrichten, auf der bereits der Linux-Kernel läuft, oder entsprechend für andere Maschinen." + +#. type: enumerate +#: doc/guix.texi:428 +msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:" +msgstr "Achten Sie darauf, auch die zugehörige @file{.sig}-Datei herunterzuladen und verifizieren Sie damit die Authentizität des Tarballs, ungefähr so:" + +#. type: example +#: doc/guix.texi:432 +#, fuzzy, no-wrap +#| msgid "" +#| "$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +#| "$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +msgid "" +"$ wget ftp://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +"$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +msgstr "" +"$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +"$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" + +#. type: Plain text +#: doc/guix.texi:436 doc/guix.texi:8198 +msgid "If that command fails because you do not have the required public key, then run this command to import it:" +msgstr "Falls dieser Befehl fehlschlägt, weil Sie nicht über den nötigen öffentlichen Schlüssel verfügen, können Sie ihn mit diesem Befehl importieren:" + +#. type: example +#: doc/guix.texi:439 doc/guix.texi:8201 +#, no-wrap +msgid "$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" +msgstr "$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" + +#. type: Plain text +#: doc/guix.texi:444 doc/guix.texi:8206 +msgid "and rerun the @code{gpg --verify} command." +msgstr "und den Befehl @code{gpg --verify} erneut ausführen." + +#. type: enumerate +#: doc/guix.texi:448 +msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:" +msgstr "Nun müssen Sie zum Administratornutzer @code{root} wechseln. Abhängig von Ihrer Distribution müssen Sie dazu etwa @code{su -} oder @code{sudo -i} ausführen. Danach führen Sie als @code{root}-Nutzer aus:" + +#. type: example +#: doc/guix.texi:454 +#, no-wrap +msgid "" +"# cd /tmp\n" +"# tar --warning=no-timestamp -xf \\\n" +" guix-binary-@value{VERSION}.@var{system}.tar.xz\n" +"# mv var/guix /var/ && mv gnu /\n" +msgstr "" +"# cd /tmp\n" +"# tar --warning=no-timestamp -xf \\\n" +" guix-binary-@value{VERSION}.@var{system}.tar.xz\n" +"# mv var/guix /var/ && mv gnu /\n" + +#. type: enumerate +#: doc/guix.texi:459 +msgid "This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. The latter contains a ready-to-use profile for @code{root} (see next step.)" +msgstr "Dadurch wird @file{/gnu/store} (@pxref{The Store}) und @file{/var/guix} erzeugt. Letzteres enthält ein fertiges Guix-Profil für den Administratornutzer @code{root} (wie im nächsten Schritt beschrieben)." + +#. type: enumerate +#: doc/guix.texi:462 +msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files." +msgstr "Entpacken Sie den Tarball @emph{nicht} auf einem schon funktionierenden Guix-System, denn es würde seine eigenen essenziellen Dateien überschreiben." + +#. type: enumerate +#: doc/guix.texi:472 +msgid "The @code{--warning=no-timestamp} option makes sure GNU@tie{}tar does not emit warnings about ``implausibly old time stamps'' (such warnings were triggered by GNU@tie{}tar 1.26 and older; recent versions are fine.) They stem from the fact that all the files in the archive have their modification time set to zero (which means January 1st, 1970.) This is done on purpose to make sure the archive content is independent of its creation time, thus making it reproducible." +msgstr "Die Befehlszeilenoption @code{--warning=no-timestamp} stellt sicher, dass GNU@tie{}tar nicht vor »unplausibel alten Zeitstempeln« warnt (solche Warnungen traten bei GNU@tie{}tar 1.26 und älter auf, neue Versionen machen keine Probleme). Sie treten auf, weil alle Dateien im Archiv als Änderungszeitpunkt null eingetragen bekommen haben (das bezeichnet den 1. Januar 1970). Das ist Absicht, damit der Inhalt des Archivs nicht davon abhängt, wann es erstellt wurde, und es somit reproduzierbar wird." + +#. type: enumerate +#: doc/guix.texi:475 +msgid "Make @code{root}'s profile available under @file{~root/.guix-profile}:" +msgstr "Machen Sie das Profil von @code{root} verfügbar als @file{~root/.guix-profile}:" + +#. type: example +#: doc/guix.texi:479 +#, no-wrap +msgid "" +"# ln -sf /var/guix/profiles/per-user/root/guix-profile \\\n" +" ~root/.guix-profile\n" +msgstr "" +"# ln -sf /var/guix/profiles/per-user/root/guix-profile \\\n" +" ~root/.guix-profile\n" + +#. type: enumerate +#: doc/guix.texi:483 +msgid "Source @file{etc/profile} to augment @code{PATH} and other relevant environment variables:" +msgstr "»Sourcen« Sie @file{etc/profile}, um @code{PATH} und andere relevante Umgebungsvariable zu ergänzen:" + +#. type: example +#: doc/guix.texi:487 +#, no-wrap +msgid "" +"# GUIX_PROFILE=\"`echo ~root`/.guix-profile\" ; \\\n" +" source $GUIX_PROFILE/etc/profile\n" +msgstr "" +"# GUIX_PROFILE=\"`echo ~root`/.guix-profile\" ; \\\n" +" source $GUIX_PROFILE/etc/profile\n" + +#. type: enumerate +#: doc/guix.texi:492 +msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})." +msgstr "Erzeugen Sie Nutzergruppe und Nutzerkonten für die Erstellungs-Benutzer wie folgt (@pxref{Build Environment Setup})." + +#. type: enumerate +#: doc/guix.texi:495 +msgid "Run the daemon, and set it to automatically start on boot." +msgstr "Führen Sie den Daemon aus, und lassen Sie ihn automatisch bei jedem Hochfahren starten." + +#. type: enumerate +#: doc/guix.texi:498 +msgid "If your host distro uses the systemd init system, this can be achieved with these commands:" +msgstr "Wenn Ihre Wirts-Distribution systemd als »init«-System verwendet, können Sie das mit folgenden Befehlen veranlassen:" + +#. type: example +#: doc/guix.texi:510 +#, no-wrap +msgid "" +"# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \\\n" +" /etc/systemd/system/\n" +"# systemctl start guix-daemon && systemctl enable guix-daemon\n" +msgstr "" +"# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \\\n" +" /etc/systemd/system/\n" +"# systemctl start guix-daemon && systemctl enable guix-daemon\n" + +#. type: itemize +#: doc/guix.texi:513 doc/guix.texi:7635 +msgid "If your host distro uses the Upstart init system:" +msgstr "Wenn Ihre Wirts-Distribution als »init«-System Upstart verwendet:" + +#. type: example +#: doc/guix.texi:518 +#, no-wrap +msgid "" +"# initctl reload-configuration\n" +"# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/\n" +"# start guix-daemon\n" +msgstr "" +"# initctl reload-configuration\n" +"# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/\n" +"# start guix-daemon\n" + +#. type: enumerate +#: doc/guix.texi:521 +msgid "Otherwise, you can still start the daemon manually with:" +msgstr "Andernfalls können Sie den Daemon immer noch manuell starten, mit:" + +#. type: example +#: doc/guix.texi:524 +#, no-wrap +msgid "# ~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild\n" +msgstr "# ~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild\n" + +#. type: enumerate +#: doc/guix.texi:529 +msgid "Make the @command{guix} command available to other users on the machine, for instance with:" +msgstr "Stellen Sie den @command{guix}-Befehl auch anderen Nutzern Ihrer Maschine zur Verfügung, zum Beispiel so:" + +#. type: example +#: doc/guix.texi:534 +#, no-wrap +msgid "" +"# mkdir -p /usr/local/bin\n" +"# cd /usr/local/bin\n" +"# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix\n" +msgstr "" +"# mkdir -p /usr/local/bin\n" +"# cd /usr/local/bin\n" +"# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix\n" + +#. type: enumerate +#: doc/guix.texi:538 +msgid "It is also a good idea to make the Info version of this manual available there:" +msgstr "Es ist auch eine gute Idee, die Info-Version dieses Handbuchs ebenso verfügbar zu machen:" + +#. type: example +#: doc/guix.texi:544 +#, no-wrap +msgid "" +"# mkdir -p /usr/local/share/info\n" +"# cd /usr/local/share/info\n" +"# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ;\n" +" do ln -s $i ; done\n" +msgstr "" +"# mkdir -p /usr/local/share/info\n" +"# cd /usr/local/share/info\n" +"# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ;\n" +" do ln -s $i ; done\n" + +#. type: enumerate +#: doc/guix.texi:550 +msgid "That way, assuming @file{/usr/local/share/info} is in the search path, running @command{info guix} will open this manual (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, for more details on changing the Info search path.)" +msgstr "Auf diese Art wird, unter der Annahme, dass bei Ihnen @file{/usr/local/share/info} im Suchpfad eingetragen ist, das Ausführen von @command{info guix} dieses Handbuch öffnen (@pxref{Other Info Directories,,, texinfo, GNU Texinfo} hat weitere Details, wie Sie den Info-Suchpfad ändern können)." + +#. type: cindex +#: doc/guix.texi:552 doc/guix.texi:2304 doc/guix.texi:10194 +#, no-wrap +msgid "substitutes, authorization thereof" +msgstr "Substitute, deren Autorisierung" + +#. type: enumerate +#: doc/guix.texi:555 +msgid "To use substitutes from @code{hydra.gnu.org} or one of its mirrors (@pxref{Substitutes}), authorize them:" +msgstr "Um Substitute von @code{hydra.gnu.org} oder einem Spiegelserver davon zu benutzen (@pxref{Substitutes}), müssen sie erst autorisiert werden:" + +#. type: example +#: doc/guix.texi:558 +#, no-wrap +msgid "# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub\n" +msgstr "# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub\n" + +#. type: enumerate +#: doc/guix.texi:563 +msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}." +msgstr "Alle Nutzer müssen womöglich ein paar zusätzliche Schritte ausführen, damit ihre Guix-Umgebung genutzt werden kann, siehe @pxref{Application Setup}." + +#. type: Plain text +#: doc/guix.texi:566 +msgid "Voilà, the installation is complete!" +msgstr "Voilà, die Installation ist fertig!" + +#. type: Plain text +#: doc/guix.texi:569 +msgid "You can confirm that Guix is working by installing a sample package into the root profile:" +msgstr "Sie können nachprüfen, dass Guix funktioniert, indem Sie ein Beispielpaket in das root-Profil installieren:" + +#. type: example +#: doc/guix.texi:572 +#, no-wrap +msgid "# guix package -i hello\n" +msgstr "# guix package -i hello\n" + +#. type: Plain text +#: doc/guix.texi:579 +msgid "The @code{guix} package must remain available in @code{root}'s profile, or it would become subject to garbage collection---in which case you would find yourself badly handicapped by the lack of the @command{guix} command. In other words, do not remove @code{guix} by running @code{guix package -r guix}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:582 +msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:" +msgstr "Der Tarball zur Installation aus einer Binärdatei kann einfach durch Ausführung des folgenden Befehls im Guix-Quellbaum (re-)produziert und verifiziert werden:" + +#. type: example +#: doc/guix.texi:585 +#, no-wrap +msgid "make guix-binary.@var{system}.tar.xz\n" +msgstr "make guix-binary.@var{system}.tar.xz\n" + +#. type: Plain text +#: doc/guix.texi:589 +msgid "... which, in turn, runs:" +msgstr "… was wiederum dies ausführt:" + +#. type: example +#: doc/guix.texi:592 +#, no-wrap +msgid "guix pack -s @var{system} --localstatedir guix\n" +msgstr "guix pack -s @var{system} --localstatedir guix\n" + +#. type: Plain text +#: doc/guix.texi:595 +msgid "@xref{Invoking guix pack}, for more info on this handy tool." +msgstr "Siehe @xref{Invoking guix pack} für weitere Informationen zu diesem praktischen Werkzeug." + +#. type: Plain text +#: doc/guix.texi:603 +msgid "This section lists requirements when building Guix from source. The build procedure for Guix is the same as for other GNU software, and is not covered here. Please see the files @file{README} and @file{INSTALL} in the Guix source tree for additional details." +msgstr "Dieser Abschnitt listet Voraussetzungen auf, um Guix aus seinem Quellcode zu erstellen. Der Erstellungsprozess für Guix ist derselbe wie für andere GNU-Software und wird hier nicht beschrieben. Bitte lesen Sie die Dateien @file{README} und @file{INSTALL} im Guix-Quellbaum, um weitere Details zu erfahren." + +#. type: Plain text +#: doc/guix.texi:605 +msgid "GNU Guix depends on the following packages:" +msgstr "GNU Guix hat folgende Pakete als Abhängigkeiten:" + +#. type: item +#: doc/guix.texi:607 +#, no-wrap +msgid "@url{http://gnu.org/software/guile/, GNU Guile}, version 2.0.13 or" +msgstr "@url{http://gnu.org/software/guile/, GNU Guile}, Version 2.0.13 oder" + +#. type: itemize +#: doc/guix.texi:609 +msgid "later, including 2.2.x;" +msgstr "neuer, einschließlich 2.2.x," + +#. type: item +#: doc/guix.texi:609 +#, no-wrap +msgid "@url{http://gnupg.org/, GNU libgcrypt};" +msgstr "@url{http://gnupg.org/, GNU libgcrypt}," + +#. type: itemize +#: doc/guix.texi:614 +msgid "@uref{http://gnutls.org/, GnuTLS}, specifically its Guile bindings (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});" +msgstr "@uref{http://gnutls.org/, GnuTLS}, im Speziellen dessen Bindungen für Guile (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile})," + +#. type: itemize +#: doc/guix.texi:618 +msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, from August 2017 or later;" +msgstr "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, vom August 2017 oder neuer," + +#. type: item +#: doc/guix.texi:618 +#, no-wrap +msgid "@url{http://zlib.net, zlib};" +msgstr "@url{http://zlib.net, zlib}," + +#. type: item +#: doc/guix.texi:619 +#, no-wrap +msgid "@url{http://www.gnu.org/software/make/, GNU Make}." +msgstr "@url{http://www.gnu.org/software/make/, GNU Make}." + +#. type: Plain text +#: doc/guix.texi:623 +msgid "The following dependencies are optional:" +msgstr "Folgende Abhängigkeiten sind optional:" + +#. type: itemize +#: doc/guix.texi:631 +msgid "Installing @url{http://savannah.nongnu.org/projects/guile-json/, Guile-JSON} will allow you to use the @command{guix import pypi} command (@pxref{Invoking guix import}). It is of interest primarily for developers and not for casual users." +msgstr "Wenn Sie @url{http://savannah.nongnu.org/projects/guile-json/, Guile-JSON} installieren, können Sie den Befehl @command{guix import pypi} benutzen (@pxref{Invoking guix import}). Das spielt hauptsächlich für Entwickler und nicht für Gelegenheitsnutzer eine Rolle." + +#. type: itemize +#: doc/guix.texi:638 +msgid "Support for build offloading (@pxref{Daemon Offload Setup}) and @command{guix copy} (@pxref{Invoking guix copy}) depends on @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.10.2 or later." +msgstr "Unterstützung für das Auslagern von Erstellungen (@pxref{Daemon Offload Setup}) und @command{guix copy} (@pxref{Invoking guix copy}) hängt von @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, Version 0.10.2 oder neuer, ab." + +#. type: itemize +#: doc/guix.texi:642 +msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs." +msgstr "Wenn @url{http://www.bzip.org, libbz2} verfügbar ist, kann @command{guix-daemon} damit Erstellungsprotokolle komprimieren." + +#. type: Plain text +#: doc/guix.texi:646 +msgid "Unless @code{--disable-daemon} was passed to @command{configure}, the following packages are also needed:" +msgstr "Sofern nicht @code{--disable-daemon} beim Aufruf von @command{configure} übergeben wurde, benötigen Sie auch folgende Pakete:" + +#. type: item +#: doc/guix.texi:648 +#, no-wrap +msgid "@url{http://sqlite.org, SQLite 3};" +msgstr "@url{http://sqlite.org, SQLite 3}," + +#. type: item +#: doc/guix.texi:649 +#, no-wrap +msgid "@url{http://gcc.gnu.org, GCC's g++}, with support for the" +msgstr "@url{http://gcc.gnu.org, GCC's g++} mit Unterstützung für den" + +#. type: itemize +#: doc/guix.texi:651 +msgid "C++11 standard." +msgstr "C++11-Standard." + +#. type: cindex +#: doc/guix.texi:653 +#, no-wrap +msgid "state directory" +msgstr "Zustandsverzeichnis" + +#. type: Plain text +#: doc/guix.texi:661 +msgid "When configuring Guix on a system that already has a Guix installation, be sure to specify the same state directory as the existing installation using the @code{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). The @command{configure} script protects against unintended misconfiguration of @var{localstatedir} so you do not inadvertently corrupt your store (@pxref{The Store})." +msgstr "Sollten Sie Guix auf einem System konfigurieren, auf dem Guix bereits installiert ist, dann stellen Sie sicher, dasselbe Zustandsverzeichnis wie für die bestehende Installation zu verwenden. Benutzen Sie dazu die Befehlszeilenoption @code{--localstatedir} des @command{configure}-Skripts (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). Das @command{configure}-Skript schützt vor ungewollter Fehlkonfiguration der @var{localstatedir}, damit sie nicht versehentlich Ihren Store verfälschen (@pxref{The Store})." + +#. type: cindex +#: doc/guix.texi:662 +#, no-wrap +msgid "Nix, compatibility" +msgstr "Nix, Kompatibilität" + +#. type: Plain text +#: doc/guix.texi:667 +msgid "When a working installation of @url{http://nixos.org/nix/, the Nix package manager} is available, you can instead configure Guix with @code{--disable-daemon}. In that case, Nix replaces the three dependencies above." +msgstr "Wenn eine funktionierende Installation of @url{http://nixos.org/nix/, the Nix package manager} verfügbar ist, können Sie Guix stattdessen mit @code{--disable-daemon} konfigurieren. In diesem Fall ersetzt Nix die drei oben genannten Abhängigkeiten." + +#. type: Plain text +#: doc/guix.texi:677 +msgid "Guix is compatible with Nix, so it is possible to share the same store between both. To do so, you must pass @command{configure} not only the same @code{--with-store-dir} value, but also the same @code{--localstatedir} value. The latter is essential because it specifies where the database that stores metadata about the store is located, among other things. The default values for Nix are @code{--with-store-dir=/nix/store} and @code{--localstatedir=/nix/var}. Note that @code{--disable-daemon} is not required if your goal is to share the store with Nix." +msgstr "Guix ist mit Nix kompatibel, daher ist es möglich, denselben Store für beide zu verwenden. Dazu müssen Sie an @command{configure} nicht nur denselben Wert für @code{--with-store-dir} übergeben, sondern auch denselben Wert für @code{--localstatedir}. Letzterer ist deswegen essenziell, weil er unter Anderem angibt, wo die Datenbank liegt, in der sich die Metainformationen über den Store befinden. Für Nix sind die Werte standardmäßig @code{--with-store-dir=/nix/store} und @code{--localstatedir=/nix/var}. Beachten Sie, dass @code{--disable-daemon} nicht erforderlich ist, wenn Sie die Absicht haben, den Store mit Nix zu teilen." + +#. type: cindex +#: doc/guix.texi:681 +#, no-wrap +msgid "test suite" +msgstr "Testkatalog" + +#. type: Plain text +#: doc/guix.texi:687 +msgid "After a successful @command{configure} and @code{make} run, it is a good idea to run the test suite. It can help catch issues with the setup or environment, or bugs in Guix itself---and really, reporting test failures is a good way to help improve the software. To run the test suite, type:" +msgstr "Nachdem @command{configure} und @code{make} erfolgreich durchgelaufen sind, ist es ratsam, den Testkatalog auszuführen. Er kann dabei helfen, Probleme mit der Einrichtung oder Systemumgebung zu finden, oder auch Probleme in Guix selbst — und Testfehler zu melden ist eine wirklich gute Art und Weise, bei der Verbesserung von Guix mitzuhelfen. Um den Testkatalog auszuführen, geben Sie Folgendes ein:" + +#. type: example +#: doc/guix.texi:690 +#, no-wrap +msgid "make check\n" +msgstr "make check\n" + +#. type: Plain text +#: doc/guix.texi:697 +msgid "Test cases can run in parallel: you can use the @code{-j} option of GNU@tie{}make to speed things up. The first run may take a few minutes on a recent machine; subsequent runs will be faster because the store that is created for test purposes will already have various things in cache." +msgstr "Testfälle können parallel ausgeführt werden. Sie können die Befehlszeiltenoption @code{-j} von GNU@tie{}make benutzen, damit es schneller geht. Der erste Durchlauf kann auf neuen Maschinen ein paar Minuten dauern, nachfolgende Ausführungen werden schneller sein, weil der für die Tests erstellte Store schon einige Dinge zwischengespeichert haben wird." + +#. type: Plain text +#: doc/guix.texi:700 +msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:" +msgstr "Es ist auch möglich, eine Teilmenge der Tests laufen zu lassen, indem Sie die @code{TESTS}-Variable des Makefiles ähnlich wie in diesem Beispiel definieren:" + +#. type: example +#: doc/guix.texi:703 +#, no-wrap +msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n" +msgstr "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n" + +#. type: Plain text +#: doc/guix.texi:708 +msgid "By default, tests results are displayed at a file level. In order to see the details of every individual test cases, it is possible to define the @code{SCM_LOG_DRIVER_FLAGS} makefile variable as in this example:" +msgstr "Standardmäßig werden Testergebnisse pro Datei angezeigt. Um die Details jedes einzelnen Testfalls zu sehen, können Sie wie in diesem Beispiel die @code{SCM_LOG_DRIVER_FLAGS}-Variable des Makefiles definieren:" + +#. type: example +#: doc/guix.texi:711 +#, no-wrap +msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n" +msgstr "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n" + +#. type: Plain text +#: doc/guix.texi:717 +msgid "Upon failure, please email @email{bug-guix@@gnu.org} and attach the @file{test-suite.log} file. Please specify the Guix version being used as well as version numbers of the dependencies (@pxref{Requirements}) in your message." +msgstr "Kommt es zum Fehlschlag, senden Sie bitte eine E-Mail an @email{bug-guix@@gnu.org} und fügen Sie die Datei @file{test-suite.log} als Anhang bei. Bitte geben Sie dabei in Ihrer Nachricht die benutzte Version von Guix an sowie die Versionsnummern der Abhängigkeiten (@pxref{Requirements})." + +#. type: Plain text +#: doc/guix.texi:721 +msgid "Guix also comes with a whole-system test suite that tests complete GuixSD operating system instances. It can only run on systems where Guix is already installed, using:" +msgstr "Guix wird auch mit einem Testkatalog für das ganze System ausgeliefert, der vollständige Instanzen des GuixSD-Betriebssystems testet. Er kann nur auf Systemen benutzt werden, auf denen Guix bereits installiert ist, mit folgendem Befehl:" + +#. type: example +#: doc/guix.texi:724 +#, no-wrap +msgid "make check-system\n" +msgstr "make check-system\n" + +#. type: Plain text +#: doc/guix.texi:728 +msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:" +msgstr "Oder, auch hier, indem Sie @code{TESTS} definieren, um eine Teilmenge der auszuführenden Tests anzugeben:" + +#. type: example +#: doc/guix.texi:731 +#, no-wrap +msgid "make check-system TESTS=\"basic mcron\"\n" +msgstr "make check-system TESTS=\"basic mcron\"\n" + +#. type: Plain text +#: doc/guix.texi:739 +msgid "These system tests are defined in the @code{(gnu tests @dots{})} modules. They work by running the operating systems under test with lightweight instrumentation in a virtual machine (VM). They can be computationally intensive or rather cheap, depending on whether substitutes are available for their dependencies (@pxref{Substitutes}). Some of them require a lot of storage space to hold VM images." +msgstr "Diese Systemtests sind in den @code{(gnu tests @dots{})}-Modulen definiert. Sie funktionieren, indem Sie das getestete Betriebssystem mitsamt schlichter Instrumentierung in einer virtuellen Maschine (VM) ausführen. Die Tests können aufwendige Berechnungen durchführen oder sie günstig umgehen, je nachdem, ob für ihre Abhängigkeiten Substitute zur Verfügung stehen (@pxref{Substitutes}). Manche von ihnen nehmen viel Speicherplatz in Anspruch, um die VM-Abbilder zu speichern." + +#. type: Plain text +#: doc/guix.texi:742 +msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details." +msgstr "Auch hier gilt: Falls Testfehler auftreten, senden Sie bitte alle Details an @email{bug-guix@@gnu.org}." + +#. type: cindex +#: doc/guix.texi:746 +#, no-wrap +msgid "daemon" +msgstr "Daemon" + +#. type: Plain text +#: doc/guix.texi:754 +msgid "Operations such as building a package or running the garbage collector are all performed by a specialized process, the @dfn{build daemon}, on behalf of clients. Only the daemon may access the store and its associated database. Thus, any operation that manipulates the store goes through the daemon. For instance, command-line tools such as @command{guix package} and @command{guix build} communicate with the daemon (@i{via} remote procedure calls) to instruct it what to do." +msgstr "Operationen wie das Erstellen eines Pakets oder Laufenlassen des Müllsammlers werden alle durch einen spezialisierten Prozess durchgeführt, den @dfn{Erstellungs-Daemon}, im Auftrag seiner Kunden (den Clients). Nur der Daemon darf auf den Store und seine zugehörige Datenbank zugreifen. Daher wird jede den Store verändernde Operation durch den Daemon durchgeführt. Zum Beispiel kommunizieren Befehlszeilenwerkzeuge wie @command{guix package} und @command{guix build} mit dem Daemon (mittels entfernter Prozeduraufrufe), um ihm Anweisungen zu geben, was er tun soll." + +#. type: Plain text +#: doc/guix.texi:758 +msgid "The following sections explain how to prepare the build daemon's environment. See also @ref{Substitutes}, for information on how to allow the daemon to download pre-built binaries." +msgstr "Folgende Abschnitte beschreiben, wie Sie die Umgebung des Erstellungs-Daemons ausstatten sollten. Siehe auch @ref{Substitutes} für Informationen darüber, wie Sie es dem Daemon ermöglichen, vorerstellte Binärdateien herunterzuladen." + +#. type: cindex +#: doc/guix.texi:768 doc/guix.texi:1193 +#, no-wrap +msgid "build environment" +msgstr "Erstellungsumgebung" + +#. type: Plain text +#: doc/guix.texi:776 +msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users." +msgstr "In einem normalen Mehrbenutzersystem werden Guix und sein Daemon — das Programm @command{guix-daemon} — vom Systemadministrator installiert; @file{/gnu/store} gehört @code{root} und @command{guix-daemon} läuft als @code{root}. Nicht mit erweiterten Rechten ausgestattete Nutzer können Guix-Werkzeuge benutzen, um Pakete zu erstellen oder anderweitig auf den Store zuzugreifen, und der Daemon wird dies für sie erledigen und dabei sicherstellen, dass der Store in einem konsistenten Zustand verbleibt und sich die Nutzer erstellte Pakete teilen." + +#. type: cindex +#: doc/guix.texi:777 +#, no-wrap +msgid "build users" +msgstr "Erstellungsbenutzer" + +#. type: Plain text +#: doc/guix.texi:788 +msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})." +msgstr "Wenn @command{guix-daemon} als Administratornutzer @code{root} läuft, wollen Sie aber vielleicht dennoch nicht, dass Paketerstellungsprozesse auch als @code{root} ablaufen, aus offensichtlichen Sicherheitsgründen. Um dies zu vermeiden, sollte ein besonderer Pool aus @dfn{Erstellungsbenutzern} geschaffen werden, damit vom Daemon gestartete Erstellungsprozesse ihn benutzen. Diese Erstellungsbenutzer müssen weder eine Shell noch einen Persönlichen Ordner zugewiesen bekommen, sie werden lediglich benutzt, wenn der Daemon @code{root}-Rechte in Erstellungsprozessen ablegt. Mehrere solche Benutzer zu haben, ermöglicht es dem Daemon, verschiedene Erstellungsprozessen unter verschiedenen Benutzeridentifikatoren (UIDs) zu starten, was garantiert, dass sie einander nicht stören — eine essenzielle Funktionalität, da Erstellungen als reine Funktionen angesehen werden (@pxref{Introduction})." + +#. type: Plain text +#: doc/guix.texi:791 +msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):" +msgstr "Auf einem GNU/Linux-System kann ein Pool von Erstellungsbenutzern wie folgt erzeugt werden (mit Bash-Syntax und den Befehlen von @code{shadow}):" + +#. type: example +#: doc/guix.texi:803 +#, no-wrap +msgid "" +"# groupadd --system guixbuild\n" +"# for i in `seq -w 1 10`;\n" +" do\n" +" useradd -g guixbuild -G guixbuild \\\n" +" -d /var/empty -s `which nologin` \\\n" +" -c \"Guix build user $i\" --system \\\n" +" guixbuilder$i;\n" +" done\n" +msgstr "" +"# groupadd --system guixbuild\n" +"# for i in `seq -w 1 10`;\n" +" do\n" +" useradd -g guixbuild -G guixbuild \\\n" +" -d /var/empty -s `which nologin` \\\n" +" -c \"Guix-Erstellungsbenutzer $i\" --system \\\n" +" guixbuilder$i;\n" +" done\n" + +#. type: Plain text +#: doc/guix.texi:813 +msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})." +msgstr "Die Anzahl der Erstellungsbenutzer entscheidet, wieviele Erstellungsaufträge parallel ausgeführt werden können, wie es mit der Befehlszeilenoption @option{--max-jobs} vorgegeben werden kann (@pxref{Invoking guix-daemon, @option{--max-jobs}}). Um @command{guix system vm} und ähnliche Befehle nutzen zu können, müssen Sie die Erstellungsbenutzer unter Umständen zur @code{kvm}-Benutzergruppe hinzufügen, damit sie Zugriff auf @file{/dev/kvm} haben, mit @code{-G guixbuild,kvm} statt @code{-G guixbuild} (@pxref{Invoking guix system})." + +#. type: Plain text +#: doc/guix.texi:822 +msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, dropping the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file in @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, drop the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file in @file{/etc/init}.}:" +msgstr "Das Programm @code{guix-daemon} kann mit dem folgenden Befehl als @code{root} gestartet werden@footnote{Wenn Ihre Maschine systemd als »init«-System verwendet, genügt es, die Datei @file{@var{prefix}/lib/systemd/system/guix-daemon.service} in @file{/etc/systemd/system} zu platzieren, damit @command{guix-daemon} automatisch gestartet wird. Ebenso können Sie, wenn Ihre Maschine Upstart als »init«-System benutzt, die Datei @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} in @file{/etc/init} platzieren.}:" + +#. type: example +#: doc/guix.texi:825 doc/guix.texi:1186 +#, no-wrap +msgid "# guix-daemon --build-users-group=guixbuild\n" +msgstr "# guix-daemon --build-users-group=guixbuild\n" + +#. type: cindex +#: doc/guix.texi:827 doc/guix.texi:1191 +#, no-wrap +msgid "chroot" +msgstr "chroot" + +#. type: Plain text +#: doc/guix.texi:832 +msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:" +msgstr "Auf diese Weise startet der Daemon Erstellungsprozesse in einem chroot als einer der @code{guixbuilder}-Benutzer. Auf GNU/Linux enthält die chroot-Umgebung standardmäßig nichts außer:" + +#. type: itemize +#: doc/guix.texi:840 +msgid "a minimal @code{/dev} directory, created mostly independently from the host @code{/dev}@footnote{``Mostly'', because while the set of files that appear in the chroot's @code{/dev} is fixed, most of these files can only be created if the host has them.};" +msgstr "einem minimalen @code{/dev}-Verzeichnis, was größtenteils vom @code{/dev} des Wirtssystems unabhängig erstellt wurde@footnote{»Größtenteils«, denn obwohl die Menge an Dateien, die im @code{/dev} des chroots vorkommen, fest ist, können die meisten dieser Dateien nur dann erstellt werden, wenn das Wirtssystem sie auch hat.}," + +#. type: itemize +#: doc/guix.texi:844 +msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;" +msgstr "dem @code{/proc}-Verzeichnis, es zeigt nur die Prozesse des Containers, weil ein separater Namensraum für Prozess-IDs (PIDs) benutzt wird," + +#. type: itemize +#: doc/guix.texi:848 +msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};" +msgstr "@file{/etc/passwd} mit einem Eintrag für den aktuellen Benutzer und einem Eintrag für den Benutzer @file{nobody}," + +#. type: itemize +#: doc/guix.texi:851 +msgid "@file{/etc/group} with an entry for the user's group;" +msgstr "@file{/etc/group} mit einem Eintrag für die Gruppe des Benutzers," + +#. type: itemize +#: doc/guix.texi:855 +msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};" +msgstr "@file{/etc/hosts} mit einem Eintrag, der @code{localhost} auf @code{127.0.0.1} abbildet," + +#. type: itemize +#: doc/guix.texi:858 +msgid "a writable @file{/tmp} directory." +msgstr "einem @file{/tmp}-Verzeichnis mit Schreibrechten." + +#. type: Plain text +#: doc/guix.texi:867 +msgid "You can influence the directory where the daemon stores build trees @i{via} the @code{TMPDIR} environment variable. However, the build tree within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @code{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes capture the name of their build tree." +msgstr "Sie können beeinflussen, in welchem Verzeichnis der Daemon Erstellungsbäume unterbringt, indem sie den Wert der Umgebungsvariablen @code{TMPDIR} ändern. Allerdings heißt innerhalb des chroots der Erstellungsbaum immer @file{/tmp/guix-build-@var{name}.drv-0}, wobei @var{name} der Ableitungsname ist — z.B. @code{coreutils-8.24}. Dadurch hat der Wert von @code{TMPDIR} keinen Einfluss auf die Erstellungsumgebung, wodurch Unterschiede vermieden werden, falls Erstellungsprozesse den Namen ihres Erstellungsbaumes einfangen." + +#. type: vindex +#: doc/guix.texi:868 doc/guix.texi:2411 +#, no-wrap +msgid "http_proxy" +msgstr "http_proxy" + +#. type: Plain text +#: doc/guix.texi:872 +msgid "The daemon also honors the @code{http_proxy} environment variable for HTTP downloads it performs, be it for fixed-output derivations (@pxref{Derivations}) or for substitutes (@pxref{Substitutes})." +msgstr "Der Daemon befolgt außerdem den Wert der Umgebungsvariablen @code{http_proxy} für von ihm durchgeführte HTTP-Downloads, sei es für Ableitungen mit fester Ausgabe (@pxref{Derivations}) oder für Substitute (@pxref{Substitutes})." + +#. type: Plain text +#: doc/guix.texi:880 +msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @code{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions." +msgstr "Wenn Sie Guix als ein Benutzer ohne erweiterte Rechte installieren, ist es dennoch möglich, @command{guix-daemon} auszuführen, sofern Sie @code{--disable-chroot} übergeben. Allerdings können Erstellungsprozesse dann nicht voneinander und vom Rest des Systems isoliert werden. Daher können sich Erstellungsprozesse gegenseitig stören und auf Programme, Bibliotheken und andere Dateien zugreifen, die dem restlichen System zur Verfügung stehen — was es deutlich schwerer macht, sie als @emph{reine} Funktionen aufzufassen." + +#. type: subsection +#: doc/guix.texi:883 +#, no-wrap +msgid "Using the Offload Facility" +msgstr "Nutzung der Auslagerungsfunktionalität" + +#. type: cindex +#: doc/guix.texi:885 +#, no-wrap +msgid "offloading" +msgstr "auslagern" + +#. type: cindex +#: doc/guix.texi:886 doc/guix.texi:1247 +#, no-wrap +msgid "build hook" +msgstr "Build-Hook" + +#. type: Plain text +#: doc/guix.texi:900 +msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system type---e.g., @file{x86_64-linux}. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine." +msgstr "Wenn erwünscht kann der Erstellungs-Daemon Ableitungserstellungen @dfn{auslagern} auf andere Maschinen, auf denen Guix läuft, mit Hilfe des @code{offload}-»@dfn{Build-Hooks}«@footnote{Diese Funktionalität ist nur verfügbar, wenn @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} vorhanden ist.}. Wenn diese Funktionalität aktiviert ist, wird eine nutzerspezifizierte Liste von Erstellungsmaschinen aus @file{/etc/guix/machines.scm} gelesen. Wann immer eine Erstellung angefragt wird, zum Beispiel durch @code{guix build}, versucht der Daemon, sie an eine der Erstellungsmaschinen auszulagern, die die Einschränkungen der Ableitung erfüllen, insbesondere ihren Systemtyp — z.B. @file{x86_64-linux}. Fehlende Voraussetzungen für die Erstellung werden über SSH auf die Zielmaschine kopiert, welche dann mit der Erstellung weitermacht. Hat sie Erfolg damit, so werden die Ausgabe oder Ausgaben der Erstellung zurück auf die ursprüngliche Maschine kopiert." + +#. type: Plain text +#: doc/guix.texi:902 +msgid "The @file{/etc/guix/machines.scm} file typically looks like this:" +msgstr "Die Datei @file{/etc/guix/machines.scm} sieht normalerweise so aus:" + +#. type: example +#: doc/guix.texi:910 +#, no-wrap +msgid "" +"(list (build-machine\n" +" (name \"eightysix.example.org\")\n" +" (system \"x86_64-linux\")\n" +" (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n" +" (user \"bob\")\n" +" (speed 2.)) ;incredibly fast!\n" +"\n" +msgstr "" +"(list (build-machine\n" +" (name \"eightysix.example.org\")\n" +" (system \"x86_64-linux\")\n" +" (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n" +" (user \"bob\")\n" +" (speed 2.)) ;unglaublich schnell!\n" +"\n" + +#. type: example +#: doc/guix.texi:919 +#, no-wrap +msgid "" +" (build-machine\n" +" (name \"meeps.example.org\")\n" +" (system \"mips64el-linux\")\n" +" (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n" +" (user \"alice\")\n" +" (private-key\n" +" (string-append (getenv \"HOME\")\n" +" \"/.ssh/identity-for-guix\"))))\n" +msgstr "" +" (build-machine\n" +" (name \"meeps.example.org\")\n" +" (system \"mips64el-linux\")\n" +" (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n" +" (user \"alice\")\n" +" (private-key\n" +" (string-append (getenv \"HOME\")\n" +" \"/.ssh/identität-für-guix\"))))\n" + +#. type: Plain text +#: doc/guix.texi:925 +msgid "In the example above we specify a list of two build machines, one for the @code{x86_64} architecture and one for the @code{mips64el} architecture." +msgstr "Im obigen Beispiel geben wir eine Liste mit zwei Erstellungsmaschinen vor, eine für die @code{x86_64}-Architektur und eine für die @code{mips64el}-Architektur." + +#. type: Plain text +#: doc/guix.texi:934 +msgid "In fact, this file is---not surprisingly!---a Scheme file that is evaluated when the @code{offload} hook is started. Its return value must be a list of @code{build-machine} objects. While this example shows a fixed list of build machines, one could imagine, say, using DNS-SD to return a list of potential build machines discovered in the local network (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). The @code{build-machine} data type is detailed below." +msgstr "Tatsächlich ist diese Datei — wenig überraschend! — eine Scheme-Datei, die ausgewertet wird, wenn der @code{offload}-Hook gestartet wird. Der Wert, den sie zurückliefert, muss eine Liste von @code{build-machine}-Objekten sein. Obwohl dieses Beispiel eine feste Liste von Erstellungsmaschinen zeigt, könnte man auch auf die Idee kommen, etwa mit DNS-SD eine Liste möglicher im lokalen Netzwerk entdeckter Erstellungsmaschinen zu liefern (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). Der Datentyp @code{build-machine} wird im Folgenden weiter ausgeführt." + +#. type: deftp +#: doc/guix.texi:935 +#, no-wrap +msgid "{Data Type} build-machine" +msgstr "{Datentyp} build-machine" + +#. type: deftp +#: doc/guix.texi:938 +msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:" +msgstr "Dieser Datentyp repräsentiert Erstellungsmaschinen, an die der Daemon Erstellungen auslagern darf. Die wichtigen Felder sind:" + +#. type: code{#1} +#: doc/guix.texi:941 doc/guix.texi:3402 doc/guix.texi:9406 doc/guix.texi:9470 +#: doc/guix.texi:9565 doc/guix.texi:11000 doc/guix.texi:15037 +#: doc/guix.texi:15270 doc/guix.texi:15403 doc/guix.texi:15677 +#: doc/guix.texi:15718 doc/guix.texi:19663 doc/guix.texi:19680 +#: doc/guix.texi:19946 doc/guix.texi:21154 +#, no-wrap +msgid "name" +msgstr "name" + +#. type: table +#: doc/guix.texi:943 +msgid "The host name of the remote machine." +msgstr "Der Hostname der entfernten Maschine." + +#. type: item +#: doc/guix.texi:944 +#, no-wrap +msgid "system" +msgstr "system" + +#. type: table +#: doc/guix.texi:946 +msgid "The system type of the remote machine---e.g., @code{\"x86_64-linux\"}." +msgstr "Der Systemtyp der entfernten Maschine — z.B. @code{\"x86_64-linux\"}." + +#. type: code{#1} +#: doc/guix.texi:947 doc/guix.texi:11010 +#, no-wrap +msgid "user" +msgstr "user" + +#. type: table +#: doc/guix.texi:951 +msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins." +msgstr "Das Benutzerkonto, mit dem eine Verbindung zur entfernten Maschine über SSH aufgebaut werden soll. Beachten Sie, dass das SSH-Schlüsselpaar @emph{nicht} durch eine Passphrase geschützt sein darf, damit nicht-interaktive Anmeldungen möglich sind." + +#. type: item +#: doc/guix.texi:952 +#, no-wrap +msgid "host-key" +msgstr "host-key" + +#. type: table +#: doc/guix.texi:956 +msgid "This must be the machine's SSH @dfn{public host key} in OpenSSH format. This is used to authenticate the machine when we connect to it. It is a long string that looks like this:" +msgstr "Dies muss der @dfn{öffentliche SSH-Host-Schlüssel} der Maschine im OpenSSH-Format sein. Er wird benutzt, um die Identität der Maschine zu prüfen, wenn wir uns mit ihr verbinden. Er ist eine lange Zeichenkette, die ungefähr so aussieht:" + +#. type: example +#: doc/guix.texi:959 +#, no-wrap +msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n" +msgstr "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n" + +#. type: table +#: doc/guix.texi:964 +msgid "If the machine is running the OpenSSH daemon, @command{sshd}, the host key can be found in a file such as @file{/etc/ssh/ssh_host_ed25519_key.pub}." +msgstr "Wenn auf der Maschine der OpenSSH-Daemon, @command{sshd}, läuft, ist der Host-Schlüssel in einer Datei wie @file{/etc/ssh/ssh_host_ed25519_key.pub} zu finden." + +#. type: table +#: doc/guix.texi:969 +msgid "If the machine is running the SSH daemon of GNU@tie{}lsh, @command{lshd}, the host key is in @file{/etc/lsh/host-key.pub} or a similar file. It can be converted to the OpenSSH format using @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):" +msgstr "Wenn auf der Maschine der SSH-Daemon von GNU@tie{}lsh, nämlich @command{lshd}, läuft, befindet sich der Host-Schlüssel in @file{/etc/lsh/host-key.pub} oder einer ähnlichen Datei. Er kann ins OpenSSH-Format umgewandelt werden durch @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):" + +#. type: example +#: doc/guix.texi:973 +#, no-wrap +msgid "" +"$ lsh-export-key --openssh < /etc/lsh/host-key.pub \n" +"ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n" +msgstr "" +"$ lsh-export-key --openssh < /etc/lsh/host-key.pub \n" +"ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n" + +#. type: deftp +#: doc/guix.texi:978 +msgid "A number of optional fields may be specified:" +msgstr "Eine Reihe optionaler Felder kann festgelegt werden:" + +#. type: item +#: doc/guix.texi:981 +#, no-wrap +msgid "@code{port} (default: @code{22})" +msgstr "@code{port} (Vorgabe: @code{22})" + +#. type: table +#: doc/guix.texi:983 +msgid "Port number of SSH server on the machine." +msgstr "Portnummer des SSH-Servers auf der Maschine." + +#. type: item +#: doc/guix.texi:984 +#, no-wrap +msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})" +msgstr "@code{private-key} (Vorgabe: @file{~root/.ssh/id_rsa})" + +#. type: table +#: doc/guix.texi:987 +#, fuzzy +#| msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format. This key must not be protected with a passphrase." +msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format." +msgstr "Die Datei mit dem privaten SSH-Schlüssel, der beim Verbinden zur Maschine genutzt werden soll, im OpenSSH-Format. Dieser Schlüssel darf nicht mit einer Passphrase geschützt sein." + +#. type: table +#: doc/guix.texi:990 +msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default." +msgstr "Beachten Sie, dass als Vorgabewert der private Schlüssel @emph{des root-Benutzers} genommen wird. Vergewissern Sie sich, dass er existiert, wenn Sie die Standardeinstellung verwenden." + +#. type: item +#: doc/guix.texi:991 +#, no-wrap +msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})" +msgstr "@code{compression} (Vorgabe: @code{\"zlib@@openssh.com,zlib\"})" + +#. type: item +#: doc/guix.texi:992 doc/guix.texi:10422 +#, no-wrap +msgid "@code{compression-level} (default: @code{3})" +msgstr "@code{compression-level} (Vorgabe: @code{3})" + +#. type: table +#: doc/guix.texi:994 +msgid "The SSH-level compression methods and compression level requested." +msgstr "Die Kompressionsmethoden auf SSH-Ebene und das angefragte Kompressionsniveau." + +#. type: table +#: doc/guix.texi:997 +msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines." +msgstr "Beachten Sie, dass Auslagerungen SSH-Kompression benötigen, um beim Übertragen von Dateien an Erstellungsmaschinen und zurück weniger Bandbreite zu benutzen." + +#. type: item +#: doc/guix.texi:998 +#, no-wrap +msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})" +msgstr "@code{daemon-socket} (Vorgabe: @code{\"/var/guix/daemon-socket/socket\"})" + +#. type: table +#: doc/guix.texi:1001 +msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine." +msgstr "Dateiname des Unix-Sockets, auf dem @command{guix-daemon} auf der Maschine lauscht." + +#. type: item +#: doc/guix.texi:1002 +#, no-wrap +msgid "@code{parallel-builds} (default: @code{1})" +msgstr "@code{parallel-builds} (Vorgabe: @code{1})" + +#. type: table +#: doc/guix.texi:1004 +msgid "The number of builds that may run in parallel on the machine." +msgstr "Die Anzahl der Erstellungen, die auf der Maschine parallel ausgeführt werden können." + +#. type: item +#: doc/guix.texi:1005 +#, no-wrap +msgid "@code{speed} (default: @code{1.0})" +msgstr "@code{speed} (Vorgabe: @code{1.0})" + +#. type: table +#: doc/guix.texi:1008 +msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor." +msgstr "Ein »relativer Geschwindigkeitsfaktor«. Der Auslagerungsplaner gibt tendenziell Maschinen mit höherem Geschwindigkeitsfaktor den Vorrang." + +#. type: item +#: doc/guix.texi:1009 +#, no-wrap +msgid "@code{features} (default: @code{'()})" +msgstr "@code{features} (Vorgabe: @code{'()})" + +#. type: table +#: doc/guix.texi:1014 +msgid "A list of strings denoting specific features supported by the machine. An example is @code{\"kvm\"} for machines that have the KVM Linux modules and corresponding hardware support. Derivations can request features by name, and they will be scheduled on matching build machines." +msgstr "Eine Liste von Zeichenketten, die besondere von der Maschine unterstützte Funktionalitäten bezeichnen. Ein Beispiel ist @code{\"kvm\"} für Maschinen, die über die KVM-Linux-Module zusammen mit entsprechender Hardware-Unterstützung verfügen. Ableitungen können Funktionalitäten dem Namen nach anfragen und werden dann auf passenden Erstellungsmaschinen eingeplant." + +#. type: Plain text +#: doc/guix.texi:1022 +msgid "The @code{guile} command must be in the search path on the build machines. In addition, the Guix modules must be in @code{$GUILE_LOAD_PATH} on the build machine---you can check whether this is the case by running:" +msgstr "Der Befehl @code{guile} muss sich im Suchpfad der Erstellungsmaschinen befinden. Zusätzlich müssen die Guix-Module im @code{$GUILE_LOAD_PATH} auf den Erstellungsmaschinen zu finden sein — um dies nachzuprüfen, können Sie Folgendes ausführen:" + +#. type: example +#: doc/guix.texi:1025 +#, no-wrap +msgid "ssh build-machine guile -c \"'(use-modules (guix config))'\"\n" +msgstr "ssh build-machine guile -c \"'(use-modules (guix config))'\"\n" + +#. type: Plain text +#: doc/guix.texi:1032 +msgid "There is one last thing to do once @file{machines.scm} is in place. As explained above, when offloading, files are transferred back and forth between the machine stores. For this to work, you first need to generate a key pair on each machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}):" +msgstr "Es gibt noch eine weitere Sache zu tun, sobald @file{machines.scm} eingerichtet ist. Wie zuvor erklärt, werden beim Auslagern Dateien zwischen den Stores der Maschinen hin- und hergeschickt. Damit das funktioniert, müssen Sie als Erstes ein Schlüsselpaar auf jeder Maschine erzeugen, damit der Daemon signierte Archive mit den Dateien aus dem Store versenden kann (@pxref{Invoking guix archive}):" + +#. type: example +#: doc/guix.texi:1035 +#, no-wrap +msgid "# guix archive --generate-key\n" +msgstr "# guix archive --generate-key\n" + +#. type: Plain text +#: doc/guix.texi:1040 +msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:" +msgstr "Jede Erstellungsmaschine muss den Schlüssel der Hauptmaschine autorisieren, damit diese Store-Objekte von der Hauptmaschine empfangen kann:" + +#. type: example +#: doc/guix.texi:1043 +#, no-wrap +msgid "# guix archive --authorize < master-public-key.txt\n" +msgstr "# guix archive --authorize < öffentlicher-schlüssel-hauptmaschine.txt\n" + +#. type: Plain text +#: doc/guix.texi:1047 +msgid "Likewise, the master machine must authorize the key of each build machine." +msgstr "Andersherum muss auch die Hauptmaschine den jeweiligen Schlüssel jeder Erstellungsmaschine autorisieren." + +#. type: Plain text +#: doc/guix.texi:1053 +msgid "All the fuss with keys is here to express pairwise mutual trust relations between the master and the build machines. Concretely, when the master receives files from a build machine (and @i{vice versa}), its build daemon can make sure they are genuine, have not been tampered with, and that they are signed by an authorized key." +msgstr "Der ganze Umstand mit den Schlüsseln soll ausdrücken, dass sich Haupt- und Erstellungsmaschinen paarweise gegenseitig vertrauen. Konkret kann der Erstellungs-Daemon auf der Hauptmaschine die Echtheit von den Erstellungsmaschinen empfangener Dateien gewährleisten (und umgekehrt), und auch dass sie nicht sabotiert wurden und mit einem autorisierten Schlüssel signiert wurden." + +#. type: cindex +#: doc/guix.texi:1054 +#, no-wrap +msgid "offload test" +msgstr "Auslagerung testen" + +#. type: Plain text +#: doc/guix.texi:1057 +msgid "To test whether your setup is operational, run this command on the master node:" +msgstr "Um zu testen, ob Ihr System funktioniert, führen Sie diesen Befehl auf der Hauptmaschine aus:" + +#. type: example +#: doc/guix.texi:1060 +#, no-wrap +msgid "# guix offload test\n" +msgstr "# guix offload test\n" + +#. type: Plain text +#: doc/guix.texi:1066 +msgid "This will attempt to connect to each of the build machines specified in @file{/etc/guix/machines.scm}, make sure Guile and the Guix modules are available on each machine, attempt to export to the machine and import from it, and report any error in the process." +msgstr "Dadurch wird versucht, zu jeder Erstellungsmaschine eine Verbindung herzustellen, die in @file{/etc/guix/machines.scm} angegeben wurde, sichergestellt, dass auf jeder Guile und die Guix-Module nutzbar sind, und jeweils versucht, etwas auf die Erstellungsmaschine zu exportieren und von dort zu imporieren. Dabei auftretende Fehler werden gemeldet." + +#. type: Plain text +#: doc/guix.texi:1069 +msgid "If you want to test a different machine file, just specify it on the command line:" +msgstr "Wenn Sie stattdessen eine andere Maschinendatei verwenden möchten, geben Sie diese einfach auf der Befehlszeile an:" + +#. type: example +#: doc/guix.texi:1072 +#, no-wrap +msgid "# guix offload test machines-qualif.scm\n" +msgstr "# guix offload test maschinen-qualif.scm\n" + +#. type: Plain text +#: doc/guix.texi:1076 +msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:" +msgstr "Letztendlich können Sie hiermit nur die Teilmenge der Maschinen testen, deren Name zu einem regulären Ausdruck passt:" + +#. type: example +#: doc/guix.texi:1079 +#, no-wrap +msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n" +msgstr "# guix offload test maschinen.scm '\\.gnu\\.org$'\n" + +#. type: cindex +#: doc/guix.texi:1081 +#, no-wrap +msgid "offload status" +msgstr "Auslagerungs-Lagebericht" + +#. type: Plain text +#: doc/guix.texi:1084 +msgid "To display the current load of all build hosts, run this command on the main node:" +msgstr "Um die momentane Auslastung aller Erstellungs-Hosts anzuzeigen, führen Sie diesen Befehl auf dem Hauptknoten aus:" + +#. type: example +#: doc/guix.texi:1087 +#, no-wrap +msgid "# guix offload status\n" +msgstr "# guix offload status\n" + +#. type: cindex +#: doc/guix.texi:1093 +#, no-wrap +msgid "SELinux, daemon policy" +msgstr "SELinux, Policy für den Daemon" + +#. type: cindex +#: doc/guix.texi:1094 +#, no-wrap +msgid "mandatory access control, SELinux" +msgstr "Mandatory Access Control, SELinux" + +#. type: cindex +#: doc/guix.texi:1095 +#, no-wrap +msgid "security, guix-daemon" +msgstr "Sicherheit, des guix-daemon" + +#. type: Plain text +#: doc/guix.texi:1101 +msgid "Guix includes an SELinux policy file at @file{etc/guix-daemon.cil} that can be installed on a system where SELinux is enabled, in order to label Guix files and to specify the expected behavior of the daemon. Since GuixSD does not provide an SELinux base policy, the daemon policy cannot be used on GuixSD." +msgstr "" +"Guix enthält eine SELinux-Richtliniendatei (»Policy«) unter\n" +"@file{etc/guix-daemon.cil}, die auf einem System installiert werden\n" +"kann, auf dem SELinux aktiviert ist, damit Guix-Dateien gekennzeichnet\n" +"sind, und um das erwartete Verhalten des Daemons anzugeben. Da GuixSD\n" +"keine Grundrichtlinie (»Base Policy«) für SELinux bietet, kann diese\n" +"Richtlinie für den Daemon auf GuixSD nicht benutzt werden." + +#. type: subsubsection +#: doc/guix.texi:1102 +#, no-wrap +msgid "Installing the SELinux policy" +msgstr "Installieren der SELinux-Policy" + +#. type: cindex +#: doc/guix.texi:1103 +#, no-wrap +msgid "SELinux, policy installation" +msgstr "SELinux, Policy installieren" + +#. type: Plain text +#: doc/guix.texi:1105 +msgid "To install the policy run this command as root:" +msgstr "Um die Richtlinie (Policy) zu installieren, führen Sie folgenden Befehl mit Administratorrechten aus:" + +#. type: example +#: doc/guix.texi:1108 +#, no-wrap +msgid "semodule -i etc/guix-daemon.cil\n" +msgstr "semodule -i etc/guix-daemon.cil\n" + +#. type: Plain text +#: doc/guix.texi:1112 +msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system." +msgstr "Kennzeichnen Sie dann das Dateisystem neu mit @code{restorecon} oder einem anderen, von Ihrem System angebotenen Mechanismus." + +#. type: Plain text +#: doc/guix.texi:1117 +msgid "Once the policy is installed, the file system has been relabeled, and the daemon has been restarted, it should be running in the @code{guix_daemon_t} context. You can confirm this with the following command:" +msgstr "Sobald die Richtlinie installiert ist, das Dateisystem neu gekennzeichnet wurde und der Daemon neugestartet wurde, sollte er im Kontext @code{guix_daemon_t} laufen. Sie können dies mit dem folgenden Befehl nachprüfen:" + +#. type: example +#: doc/guix.texi:1120 +#, no-wrap +msgid "ps -Zax | grep guix-daemon\n" +msgstr "ps -Zax | grep guix-daemon\n" + +#. type: Plain text +#: doc/guix.texi:1125 +msgid "Monitor the SELinux log files as you run a command like @code{guix build hello} to convince yourself that SELinux permits all necessary operations." +msgstr "Beobachten Sie die Protokolldateien von SELinux, wenn Sie einen Befehl wie @code{guix build hello} ausführen, um sich zu überzeugen, dass SELinux alle notwendigen Operationen gestattet." + +#. type: cindex +#: doc/guix.texi:1127 +#, no-wrap +msgid "SELinux, limitations" +msgstr "SELinux, Einschränkungen" + +#. type: Plain text +#: doc/guix.texi:1132 +msgid "This policy is not perfect. Here is a list of limitations or quirks that should be considered when deploying the provided SELinux policy for the Guix daemon." +msgstr "Diese Richtlinie ist nicht perfekt. Im Folgenden finden Sie eine Liste von Einschränkungen oder merkwürdigen Verhaltensweisen, die bedacht werden sollten, wenn man die mitgelieferte SELinux-Richtlinie für den Guix-Daemon einspielt." + +#. type: enumerate +#: doc/guix.texi:1139 +msgid "@code{guix_daemon_socket_t} isn’t actually used. None of the socket operations involve contexts that have anything to do with @code{guix_daemon_socket_t}. It doesn’t hurt to have this unused label, but it would be preferrable to define socket rules for only this label." +msgstr "@code{guix_daemon_socket_t} wird nicht wirklich benutzt. Keine der Socket-Operationen benutzt Kontexte, die irgendetwas mit @code{guix_daemon_socket_t} zu tun haben. Es schadet nicht, diese ungenutzte Kennzeichnung zu haben, aber es wäre besser, für die Kennzeichnung auch Socket-Regeln festzulegen." + +#. type: enumerate +#: doc/guix.texi:1150 +msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links." +msgstr "@code{guix gc} kann nicht auf beliebige Verknüpfungen zu Profilen zugreifen. Die Kennzeichnung des Ziels einer symbolischen Verknüpfung ist notwendigerweise unabhängig von der Dateikennzeichnung der Verknüpfung. Obwohl alle Profile unter $localstatedir gekennzeichnet sind, erben die Verknüpfungen auf diese Profile die Kennzeichnung desjenigen Verzeichnisses, in dem sie sich befinden. Für Verknüpfungen im Persönlichen Ordner des Benutzers ist das @code{user_home_t}, aber Verknüpfungen aus dem Persönlichen Ordner des Administratornutzers, oder @file{/tmp}, oder das Arbeitsverzeichnis des HTTP-Servers, etc., funktioniert das nicht. @code{guix gc} würde es nicht gestattet, diese Verknüpfungen auszulesen oder zu verfolgen." + +#. type: enumerate +#: doc/guix.texi:1155 +msgid "The daemon’s feature to listen for TCP connections might no longer work. This might require extra rules, because SELinux treats network sockets differently from files." +msgstr "Die vom Daemon gebotene Funktionalität, auf TCP-Verbindungen zu lauschen, könnte nicht mehr funktionieren. Dies könnte zusätzliche Regeln brauchen, weil SELinux Netzwerk-Sockets anders behandelt als Dateien." + +#. type: enumerate +#: doc/guix.texi:1166 +msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain." +msgstr "Derzeit wird allen Dateien mit einem Namen, der zum regulären Ausdruck @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} passt, die Kennzeichnung @code{guix_daemon_exec_t} zugewiesen, wodurch @emph{jede beliebige} Datei mit diesem Namen in irgendeinem Profil gestattet wäre, in der Domäne @code{guix_daemon_t} ausgeführt zu werden. Das ist nicht ideal. Ein Angreifer könnte ein Paket erstellen, dass solch eine ausführbare Datei enthält, und den Nutzer überzeugen, es zu installieren und auszuführen. Dadurch käme es in die Domäne @code{guix_daemon_t}. Ab diesem Punkt könnte SELinux nicht mehr verhindern, dass es auf Dateien zugreift, auf die Prozesse in dieser Domäne zugreifen dürfen." + +#. type: enumerate +#: doc/guix.texi:1174 +msgid "We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with @code{guix_daemon_exec_t}, instead of using a broad regular expression. The downside is that root would have to install or upgrade the policy at installation time whenever the Guix package that provides the effectively running @code{guix-daemon} executable is upgraded." +msgstr "Wir könnten zum Zeitpunkt der Installation eine wesentlich restriktivere Richtlinie generieren, für die nur @emph{genau derselbe} Dateiname des gerade installierten @code{guix-daemon}-Programms als @code{guix_daemon_exec_t} gekennzeichnet würde, statt einen vieles umfassenden regulären Ausdruck zu benutzen. Aber dann müsste der Administratornutzer zum Zeitpunkt der Installation jedes Mal die Richtlinie installieren oder aktualisieren müssen, sobald das Guix-Paket aktualisiert wird, dass das tatsächlich in Benutzung befindliche @code{guix-daemon}-Programm enthält." + +#. type: section +#: doc/guix.texi:1177 +#, no-wrap +msgid "Invoking @command{guix-daemon}" +msgstr "Aufruf von @command{guix-daemon}" + +#. type: Plain text +#: doc/guix.texi:1183 +msgid "The @command{guix-daemon} program implements all the functionality to access the store. This includes launching build processes, running the garbage collector, querying the availability of a build result, etc. It is normally run as @code{root} like this:" +msgstr "Das Programm @command{guix-daemon} implementiert alle Funktionalitäten, um auf den Store zuzugreifen. Dazu gehört das Starten von Erstellungsprozessen, das Ausführen des Müllsammlers, das Abfragen, ob ein Erstellungsergebnis verfügbar ist, etc. Normalerweise wird er so als Administratornutzer (@code{root}) gestartet:" + +#. type: Plain text +#: doc/guix.texi:1190 +msgid "For details on how to set it up, @pxref{Setting Up the Daemon}." +msgstr "Details, wie Sie ihn einrichten, finden Sie im Abschnitt @pxref{Setting Up the Daemon}." + +#. type: cindex +#: doc/guix.texi:1192 +#, no-wrap +msgid "container, build environment" +msgstr "Container, Erstellungsumgebung" + +#. type: cindex +#: doc/guix.texi:1194 doc/guix.texi:1732 doc/guix.texi:2392 doc/guix.texi:7648 +#, no-wrap +msgid "reproducible builds" +msgstr "Reproduzierbare Erstellungen" + +#. type: Plain text +#: doc/guix.texi:1206 +msgid "By default, @command{guix-daemon} launches build processes under different UIDs, taken from the build group specified with @code{--build-users-group}. In addition, each build process is run in a chroot environment that only contains the subset of the store that the build process depends on, as specified by its derivation (@pxref{Programming Interface, derivation}), plus a set of specific system directories. By default, the latter contains @file{/dev} and @file{/dev/pts}. Furthermore, on GNU/Linux, the build environment is a @dfn{container}: in addition to having its own file system tree, it has a separate mount name space, its own PID name space, network name space, etc. This helps achieve reproducible builds (@pxref{Features})." +msgstr "Standardmäßig führt @command{guix-daemon} Erstellungsprozesse mit unterschiedlichen UIDs aus, die aus der Erstellungsgruppe stammen, deren Name mit @code{--build-users-group} übergeben wurde. Außerdem läuft jeder Erstellungsprozess in einer chroot-Umgebung, die nur die Teilmenge des Stores enthält, von der der Erstellungsprozess abhängt, entsprechend seiner Ableitung (@pxref{Programming Interface, derivation}), und ein paar bestimmte Systemverzeichnisse, darunter standardmäßig auch @file{/dev} und @file{/dev/pts}. Zudem ist die Erstellungsumgebung auf GNU/Linux ein @dfn{Container}: Nicht nur hat er seinen eigenen Dateisystembaum, er hat auch einen separaten Namensraum zum Einhängen von Dateisystemen, seinen eigenen Namensraum für PIDs, für Netzwerke, etc. Dies hilft dabei, reproduzierbare Erstellungen zu garantieren (@pxref{Features})." + +#. type: Plain text +#: doc/guix.texi:1215 +msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @code{TMPDIR} environment variable; this directory is shared with the container for the duration of the build. Be aware that using a directory other than @file{/tmp} can affect build results---for example, with a longer directory name, a build process that uses Unix-domain sockets might hit the name length limitation for @code{sun_path}, which it would otherwise not hit." +msgstr "Wenn der Daemon im Auftrag des Nutzers eine Erstellung durchführt, erzeugt er ein Erstellungsverzeichnis, entweder in @file{/tmp} oder im Verzeichnis, das durch die Umgebungsvariable @code{TMPDIR} angegeben wurde. Dieses Verzeichnis wird mit dem Container geteilt, solange die Erstellung noch läuft, allerdings trägt es im Container stattdessen immer den Namen »/tmp/guix-build-NAME.drv-0«." + +#. type: Plain text +#: doc/guix.texi:1219 +msgid "The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Invoking guix build, @option{--keep-failed}})." +msgstr "Nach Abschluss der Erstellung wird das Erstellungsverzeichnis automatisch entfernt, außer wenn die Erstellung fehlgeschlagen ist und der Client @option{--keep-failed} angegeben hat (@pxref{Invoking guix build, @option{--keep-failed}})." + +#. type: Plain text +#: doc/guix.texi:1221 +msgid "The following command-line options are supported:" +msgstr "Die folgenden Befehlszeilenoptionen werden unterstützt:" + +#. type: item +#: doc/guix.texi:1223 +#, no-wrap +msgid "--build-users-group=@var{group}" +msgstr "--build-users-group=@var{Gruppe}" + +#. type: table +#: doc/guix.texi:1226 +msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})." +msgstr "Verwende die Benutzerkonten aus der @var{Gruppe}, um Erstellungsprozesse auszuführen (@pxref{Setting Up the Daemon, build users})." + +#. type: item +#: doc/guix.texi:1227 doc/guix.texi:5498 +#, no-wrap +msgid "--no-substitutes" +msgstr "--no-substitutes" + +#. type: cindex +#: doc/guix.texi:1228 doc/guix.texi:1744 doc/guix.texi:2248 +#, no-wrap +msgid "substitutes" +msgstr "Substitute" + +#. type: table +#: doc/guix.texi:1232 doc/guix.texi:5502 +msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})." +msgstr "Benutze keine Substitute für Erstellungsergebnisse. Das heißt, dass alle Objekte lokal erstellt werden müssen, und kein Herunterladen von vorab erstellten Binärdateien erlaubt ist (@pxref{Substitutes})." + +#. type: table +#: doc/guix.texi:1236 +msgid "When the daemon runs with @code{--no-substitutes}, clients can still explicitly enable substitution @i{via} the @code{set-build-options} remote procedure call (@pxref{The Store})." +msgstr "Wenn der Daemon mit @code{--no-substitutes} ausgeführt wird, können Clients trotzdem Substitute explizit aktivieren über den entfernten Prozeduraufruf @code{set-build-options} (@pxref{The Store})." + +#. type: item +#: doc/guix.texi:1237 doc/guix.texi:5485 doc/guix.texi:6897 doc/guix.texi:7773 +#: doc/guix.texi:7961 +#, no-wrap +msgid "--substitute-urls=@var{urls}" +msgstr "--substitute-urls=@var{URLs}" + +#. type: anchor{#1} +#: doc/guix.texi:1243 +msgid "daemon-substitute-urls" +msgstr "daemon-substitute-urls" + +#. type: table +#: doc/guix.texi:1243 +msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{https://mirror.hydra.gnu.org https://hydra.gnu.org} is used (@code{mirror.hydra.gnu.org} is a mirror of @code{hydra.gnu.org})." +msgstr "Benutze @var{URLs} als standardmäßige, leerzeichengetrennte Liste der Quell-URLs für Substitute. Wenn diese Befehlszeilenoption nicht angegeben wird, wird @indicateurl{https://mirror.hydra.gnu.org https://hydra.gnu.org} verwendet (@code{mirror.hydra.gnu.org} ist ein Spiegelserver für @code{hydra.gnu.org})." + +#. type: table +#: doc/guix.texi:1246 +msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})." +msgstr "Das hat zur Folge, dass Substitute von den @var{URLs} heruntergeladen werden können, solange sie mit einer Signatur versehen sind, der vertraut wird (@pxref{Substitutes})." + +#. type: item +#: doc/guix.texi:1248 doc/guix.texi:5523 +#, no-wrap +msgid "--no-build-hook" +msgstr "--no-build-hook" + +#. type: table +#: doc/guix.texi:1250 +msgid "Do not use the @dfn{build hook}." +msgstr "Den »@dfn{Build-Hook}« nicht benutzen." + +#. type: table +#: doc/guix.texi:1254 +msgid "The build hook is a helper program that the daemon can start and to which it submits build requests. This mechanism is used to offload builds to other machines (@pxref{Daemon Offload Setup})." +msgstr "»Build-Hook« ist der Name eines Hilfsprogramms, das der Daemon starten kann und an das er Erstellungsanfragen übermittelt. Durch diesen Mechanismus können Erstellungen an andere Maschinen ausgelagert werden (@pxref{Daemon Offload Setup})." + +#. type: item +#: doc/guix.texi:1255 +#, no-wrap +msgid "--cache-failures" +msgstr "--cache-failures" + +#. type: table +#: doc/guix.texi:1257 +msgid "Cache build failures. By default, only successful builds are cached." +msgstr "Fehler bei der Erstellung zwischenspeichern. Normalerweise werden nur erfolgreiche Erstellungen gespeichert." + +#. type: table +#: doc/guix.texi:1262 +msgid "When this option is used, @command{guix gc --list-failures} can be used to query the set of store items marked as failed; @command{guix gc --clear-failures} removes store items from the set of cached failures. @xref{Invoking guix gc}." +msgstr "Wenn diese Befehlszeilenoption benutzt wird, kann @command{guix gc --list-failures} benutzt werden, um die Menge an Store-Objekten abzufragen, die als Fehlschläge markiert sind; @command{guix gc --clear-failures} entfernt Store-Objekte aus der Menge zwischengespeicherter Fehlschläge. @xref{Invoking guix gc}." + +#. type: item +#: doc/guix.texi:1263 doc/guix.texi:5547 +#, no-wrap +msgid "--cores=@var{n}" +msgstr "--cores=@var{n}" + +#. type: itemx +#: doc/guix.texi:1264 doc/guix.texi:5548 +#, no-wrap +msgid "-c @var{n}" +msgstr "-c @var{n}" + +#. type: table +#: doc/guix.texi:1267 +msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available." +msgstr "@var{n} CPU-Kerne zum Erstellen jeder Ableitung benutzen; @code{0} heißt, so viele wie verfügbar sind." + +#. type: table +#: doc/guix.texi:1271 +msgid "The default value is @code{0}, but it may be overridden by clients, such as the @code{--cores} option of @command{guix build} (@pxref{Invoking guix build})." +msgstr "Der Vorgabewert ist @code{0}, jeder Client kann jedoch eine abweichende Anzahl vorgeben, zum Beispiel mit der Befehlszeilenoption @code{--cores} von @command{guix build} (@pxref{Invoking guix build})." + +#. type: table +#: doc/guix.texi:1275 +msgid "The effect is to define the @code{NIX_BUILD_CORES} environment variable in the build process, which can then use it to exploit internal parallelism---for instance, by running @code{make -j$NIX_BUILD_CORES}." +msgstr "Dadurch wird die Umgebungsvariable @code{NIX_BUILD_CORES} im Erstellungsprozess definiert, welcher sie benutzen kann, um intern parallele Ausführungen zuzulassen — zum Beispiel durch Nutzung von @code{make -j$NIX_BUILD_CORES}." + +#. type: item +#: doc/guix.texi:1276 doc/guix.texi:5552 +#, no-wrap +msgid "--max-jobs=@var{n}" +msgstr "--max-jobs=@var{n}" + +#. type: itemx +#: doc/guix.texi:1277 doc/guix.texi:5553 +#, no-wrap +msgid "-M @var{n}" +msgstr "-M @var{n}" + +#. type: table +#: doc/guix.texi:1282 +msgid "Allow at most @var{n} build jobs in parallel. The default value is @code{1}. Setting it to @code{0} means that no builds will be performed locally; instead, the daemon will offload builds (@pxref{Daemon Offload Setup}), or simply fail." +msgstr "Höchstenss @var{n} Erstellungsaufträge parallel bearbeiten. Der Vorgabewert liegt bei @code{1}. Wird er auf @code{0} gesetzt, werden keine Erstellungen lokal durchgeführt, stattdessen lagert der Daemon sie nur aus (@pxref{Daemon Offload Setup}) oder sie schlagen einfach fehl." + +#. type: item +#: doc/guix.texi:1283 doc/guix.texi:5528 +#, no-wrap +msgid "--max-silent-time=@var{seconds}" +msgstr "--max-silent-time=@var{Sekunden}" + +#. type: table +#: doc/guix.texi:1286 doc/guix.texi:5531 +msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure." +msgstr "Wenn der Erstellungs- oder Substitutionsprozess länger als @var{Sekunden}-lang keine Ausgabe erzeugt, wird er abgebrochen und ein Fehler beim Erstellen gemeldet." + +#. type: table +#: doc/guix.texi:1288 doc/guix.texi:1297 +msgid "The default value is @code{0}, which disables the timeout." +msgstr "Der Vorgabewert ist @code{0}, was bedeutet, dass es keine Zeitbeschränkung gibt." + +#. type: table +#: doc/guix.texi:1291 +msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @code{--max-silent-time}})." +msgstr "Clients können einen anderen Wert als den hier angegebenen verwenden lassen (@pxref{Common Build Options, @code{--max-silent-time}})." + +#. type: item +#: doc/guix.texi:1292 doc/guix.texi:5535 +#, no-wrap +msgid "--timeout=@var{seconds}" +msgstr "--timeout=@var{Sekunden}" + +#. type: table +#: doc/guix.texi:1295 doc/guix.texi:5538 +msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure." +msgstr "Entsprechend wird hier der Erstellungs- oder Substitutionsprozess abgebrochen und als Fehlschlag gemeldet, wenn er mehr als @var{Sekunden}-lang dauert." + +#. type: table +#: doc/guix.texi:1300 +msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @code{--timeout}})." +msgstr "Clients können einen anderen Wert verwenden lassen (@pxref{Common Build Options, @code{--timeout}})." + +#. type: item +#: doc/guix.texi:1301 +#, no-wrap +msgid "--rounds=@var{N}" +msgstr "--rounds=@var{N}" + +#. type: table +#: doc/guix.texi:1306 +msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical. Note that this setting can be overridden by clients such as @command{guix build} (@pxref{Invoking guix build})." +msgstr "Jede Ableitung @var{n}-mal hintereinander erstellen und einen Fehler melden, wenn nacheinander ausgewertete Erstellungsergebnisse nicht Bit für Bit identisch sind. Beachten Sie, dass Clients wie @command{guix build} einen anderen Wert verwenden lassen können (@pxref{Invoking guix build})." + +#. type: table +#: doc/guix.texi:1310 doc/guix.texi:5830 +msgid "When used in conjunction with @option{--keep-failed}, the differing output is kept in the store, under @file{/gnu/store/@dots{}-check}. This makes it easy to look for differences between the two results." +msgstr "Wenn dies zusammen mit @option{--keep-failed} benutzt wird, bleiben die sich unterscheidenden Ausgaben im Store unter dem Namen @file{/gnu/store/@dots{}-check}. Dadurch können Unterschiede zwischen den beiden Ergebnissen leicht erkannt werden." + +#. type: item +#: doc/guix.texi:1311 +#, no-wrap +msgid "--debug" +msgstr "--debug" + +#. type: table +#: doc/guix.texi:1313 +msgid "Produce debugging output." +msgstr "Informationen zur Fehlersuche ausgeben." + +#. type: table +#: doc/guix.texi:1317 +msgid "This is useful to debug daemon start-up issues, but then it may be overridden by clients, for example the @code{--verbosity} option of @command{guix build} (@pxref{Invoking guix build})." +msgstr "Dies ist nützlich, um Probleme beim Starten des Daemons nachzuvollziehen; Clients könn aber auch ein abweichenden Wert verwenden lassen, zum Beispiel mit der Befehlszeilenoption @code{--verbosity} von @command{guix build} (@pxref{Invoking guix build})." + +#. type: item +#: doc/guix.texi:1318 +#, no-wrap +msgid "--chroot-directory=@var{dir}" +msgstr "--chroot-directory=@var{Verzeichnis}" + +#. type: table +#: doc/guix.texi:1320 +msgid "Add @var{dir} to the build chroot." +msgstr "Füge das @var{Verzeichnis} zum chroot von Erstellungen hinzu." + +#. type: table +#: doc/guix.texi:1326 +msgid "Doing this may change the result of build processes---for instance if they use optional dependencies found in @var{dir} when it is available, and not otherwise. For that reason, it is not recommended to do so. Instead, make sure that each derivation declares all the inputs that it needs." +msgstr "Dadurch kann sich das Ergebnis von Erstellungsprozessen ändern — zum Beispiel, wenn diese optionale Abhängigkeiten aus dem @var{Verzeichnis} verwenden, wenn sie verfügbar sind, und nicht, wenn es fehlt. Deshalb ist es nicht empfohlen, dass Sie diese Befehlszeilenoption verwenden, besser sollten Sie dafür sorgen, dass jede Ableitung alle von ihr benötigten Eingabgen deklariert." + +#. type: item +#: doc/guix.texi:1327 +#, no-wrap +msgid "--disable-chroot" +msgstr "--disable-chroot" + +#. type: table +#: doc/guix.texi:1329 +msgid "Disable chroot builds." +msgstr "Erstellungen ohne chroot durchführen." + +#. type: table +#: doc/guix.texi:1334 +msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account." +msgstr "Diese Befehlszeilenoption zu benutzen, wird nicht empfohlen, denn auch dadurch bekämen Erstellungsprozesse Zugriff auf nicht deklarierte Abhängigkeiten. Sie ist allerdings unvermeidlich, wenn @command{guix-daemon} auf einem Benutzerkonto ohne ausreichende Berechtigungen ausgeführt wird." + +#. type: item +#: doc/guix.texi:1335 +#, no-wrap +msgid "--log-compression=@var{type}" +msgstr "--log-compression=@var{Typ}" + +#. type: table +#: doc/guix.texi:1338 +msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}." +msgstr "Erstellungsprotokolle werden entsprechend dem @var{Typ} komprimiert, der entweder @code{gzip}, @code{bzip2} oder @code{none} (für keine Kompression) sein muss." + +#. type: table +#: doc/guix.texi:1342 +msgid "Unless @code{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with bzip2 by default." +msgstr "Sofern nicht @code{--lose-logs} angegeben wurde, werden alle Erstellungsprotokolle in der @var{localstatedir} gespeichert. Um Platz zu sparen, komprimiert sie der Daemon standardmäßig automatisch mit bzip2." + +#. type: item +#: doc/guix.texi:1343 +#, no-wrap +msgid "--disable-deduplication" +msgstr "--disable-deduplication" + +#. type: cindex +#: doc/guix.texi:1344 doc/guix.texi:2708 +#, no-wrap +msgid "deduplication" +msgstr "Deduplizieren" + +#. type: table +#: doc/guix.texi:1346 +msgid "Disable automatic file ``deduplication'' in the store." +msgstr "Automatische Dateien-»Deduplizierung« im Store ausschalten." + +#. type: table +#: doc/guix.texi:1353 +msgid "By default, files added to the store are automatically ``deduplicated'': if a newly added file is identical to another one found in the store, the daemon makes the new file a hard link to the other file. This can noticeably reduce disk usage, at the expense of slightly increased input/output load at the end of a build process. This option disables this optimization." +msgstr "Standardmäßig werden zum Store hinzugefügte Objekte automatisch »dedupliziert«: Wenn eine neue Datei mit einer anderen im Store übereinstimmt, wird die neue Datei stattdessen als harte Verknüpfung auf die andere Datei angelegt. Dies reduziert den Speicherverbrauch auf der Platte merklich, jedoch steigt andererseits die Auslastung bei der Ein-/Ausgabe im Erstellungsprozess geringfügig. Durch diese Option wird keine solche Optimierung durchgeführt." + +#. type: item +#: doc/guix.texi:1354 +#, no-wrap +msgid "--gc-keep-outputs[=yes|no]" +msgstr "--gc-keep-outputs[=yes|no]" + +#. type: table +#: doc/guix.texi:1357 +msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations." +msgstr "Gibt an, ob der Müllsammler (Garbage Collector, GC) die Ausgaben lebendiger Ableitungen behalten muss (»yes«) oder nicht (»no«)." + +#. type: cindex +#: doc/guix.texi:1358 doc/guix.texi:2543 +#, no-wrap +msgid "GC roots" +msgstr "GC-Wurzeln" + +#. type: cindex +#: doc/guix.texi:1359 doc/guix.texi:2544 +#, no-wrap +msgid "garbage collector roots" +msgstr "Müllsammlerwurzeln" + +#. type: table +#: doc/guix.texi:1364 +#, fuzzy +#| msgid "When set to ``yes'', the GC will keep the outputs of any live derivation available in the store---the @code{.drv} files. The default is ``no'', meaning that derivation outputs are kept only if they are reachable from a GC root. @xref{Invoking guix gc}, for more on GC roots." +msgid "When set to ``yes'', the GC will keep the outputs of any live derivation available in the store---the @code{.drv} files. The default is ``no'', meaning that derivation outputs are kept only if they are GC roots. @xref{Invoking guix gc}, for more on GC roots." +msgstr "Für »yes« behält der Müllsammler die Ausgaben aller lebendigen Ableitungen im Store — die @code{.drv}-Dateien. Der Vorgabewert ist aber »no«, so dass Ableitungsausgaben nur vorgehalten werden, wenn sie von einer Müllsammlerwurzel aus erreichbar sind. Siehe den Abschnitt @xref{Invoking guix gc} für weitere Informationen zu Müllsammlerwurzeln." + +#. type: item +#: doc/guix.texi:1365 +#, no-wrap +msgid "--gc-keep-derivations[=yes|no]" +msgstr "--gc-keep-derivations[=yes|no]" + +#. type: table +#: doc/guix.texi:1368 +msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs." +msgstr "Gibt an, ob der Müllsammler (GC) Ableitungen behalten muss (»yes«), wenn sie lebendige Ausgaben haben, oder nicht (»no«)." + +#. type: table +#: doc/guix.texi:1373 +msgid "When set to ``yes'', as is the case by default, the GC keeps derivations---i.e., @code{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to ``no'' saves a bit of disk space." +msgstr "Für »yes«, den Vorgabewert, behält der Müllsammler Ableitungen — z.B. @code{.drv}-Dateien —, solange zumindest eine ihrer Ausgaben lebendig ist. Dadurch können Nutzer den Ursprung der Dateien in ihrem Store nachvollziehen. Setzt man den Wert auf »no«, wird ein bisschen weniger Speicher auf der Platte verbraucht." + +#. type: table +#: doc/guix.texi:1380 +#, fuzzy +#| msgid "In this way, setting @code{--gc-keep-derivations} to ``yes'' causes liveness to flow from outputs to derivations, and setting @code{--gc-keep-outputs} to ``yes'' causes liveness to flow from derivations to outputs. When both are set to ``yes'', the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads." +msgid "Note that when both @code{--gc-keep-derivations} and @code{--gc-keep-outputs} are used, the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are live. This is convenient for developers since it saves rebuilds or downloads." +msgstr "Auf diese Weise überträgt sich, wenn @code{--gc-keep-derivations} auf »yes« steht, die Lebendigkeit von Ausgaben auf Ableitungen übertragen, und wenn @code{--gc-keep-outputs} auf »yes« steht, die Lebendigkeit von Ableitungen auf Ausgaben übertragen. Stehen beide auf »yes«, bleiben so alle Erstellungsvoraussetzungen wie Quelldateien, Compiler, Bibliotheken und andere Erstellungswerkzeuge lebendiger Objekte im Store erhalten, ob sie von einer Müllsammlerwurzel aus erreichbar sind oder nicht. Entwickler können sich so erneute Erstellungen oder erneutes Herunterladen sparen." + +#. type: item +#: doc/guix.texi:1381 +#, no-wrap +msgid "--impersonate-linux-2.6" +msgstr "--impersonate-linux-2.6" + +#. type: table +#: doc/guix.texi:1384 +msgid "On Linux-based systems, impersonate Linux 2.6. This means that the kernel's @code{uname} system call will report 2.6 as the release number." +msgstr "Auf Linux-basierten Systemen wird hiermit vorgetäuscht, dass es sich um Linux 2.6 handeln würde, indem der Kernel für einen @code{uname}-Systemaufruf als Version der Veröffentlichung mit 2.6 antwortet." + +#. type: table +#: doc/guix.texi:1387 +msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number." +msgstr "Dies kann hilfreich sein, um Programme zu erstellen, die (normalerweise zu Unrecht) von der Kernel-Versionsnummer abhängen." + +#. type: item +#: doc/guix.texi:1388 +#, no-wrap +msgid "--lose-logs" +msgstr "--lose-logs" + +#. type: table +#: doc/guix.texi:1391 +msgid "Do not keep build logs. By default they are kept under @code{@var{localstatedir}/guix/log}." +msgstr "Keine Protokolle der Erstellungen vorhalten. Normalerweise würden solche in @code{@var{localstatedir}/guix/log} gespeichert." + +#. type: item +#: doc/guix.texi:1392 doc/guix.texi:2890 doc/guix.texi:5783 doc/guix.texi:6924 +#: doc/guix.texi:7332 doc/guix.texi:7966 doc/guix.texi:20048 +#: doc/guix.texi:20592 +#, no-wrap +msgid "--system=@var{system}" +msgstr "--system=@var{System}" + +#. type: table +#: doc/guix.texi:1396 +msgid "Assume @var{system} as the current system type. By default it is the architecture/kernel pair found at configure time, such as @code{x86_64-linux}." +msgstr "Verwende @var{System} als aktuellen Systemtyp. Standardmäßig ist dies das Paar aus Befehlssatz und Kernel, welches beim Aufruf von @code{configure} erkannt wurde, wie zum Beispiel @code{x86_64-linux}." + +#. type: item +#: doc/guix.texi:1397 +#, no-wrap +msgid "--listen=@var{endpoint}" +msgstr "--listen=@var{Endpunkt}" + +#. type: table +#: doc/guix.texi:1402 +msgid "Listen for connections on @var{endpoint}. @var{endpoint} is interpreted as the file name of a Unix-domain socket if it starts with @code{/} (slash sign). Otherwise, @var{endpoint} is interpreted as a host name or host name and port to listen to. Here are a few examples:" +msgstr "Lausche am @var{Endpunkt} auf Verbindungen. Dabei wird der @var{Endpunkt} als Dateiname eines Unix-Sockets verstanden, wenn er mit einem @code{/} (Schrägstrich) beginnt. Andernfalls wird der @var{Endpunkt} als Hostname oder als Hostname-Port-Paar verstanden, auf dem gelauscht wird. Hier sind ein paar Beispiele:" + +#. type: item +#: doc/guix.texi:1404 +#, no-wrap +msgid "--listen=/gnu/var/daemon" +msgstr "--listen=/gnu/var/daemon" + +#. type: table +#: doc/guix.texi:1407 +msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed." +msgstr "Lausche auf Verbindungen am Unix-Socket @file{/gnu/var/daemon}, falls nötig wird er dazu erstellt." + +#. type: item +#: doc/guix.texi:1408 +#, no-wrap +msgid "--listen=localhost" +msgstr "--listen=localhost" + +#. type: cindex +#: doc/guix.texi:1409 doc/guix.texi:4235 +#, no-wrap +msgid "daemon, remote access" +msgstr "Daemon, Fernzugriff" + +#. type: cindex +#: doc/guix.texi:1410 doc/guix.texi:4236 +#, no-wrap +msgid "remote access to the daemon" +msgstr "Fernzugriff auf den Daemon" + +#. type: cindex +#: doc/guix.texi:1411 doc/guix.texi:4237 +#, no-wrap +msgid "daemon, cluster setup" +msgstr "Daemon, Einrichten auf Clustern" + +#. type: cindex +#: doc/guix.texi:1412 doc/guix.texi:4238 +#, no-wrap +msgid "clusters, daemon setup" +msgstr "Cluster, Einrichtung des Daemons" + +#. type: table +#: doc/guix.texi:1415 +msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146." +msgstr "Lausche auf TCP-Verbindungen an der Netzwerkschnittstelle, die @code{localhost} entspricht, auf Port 44146." + +#. type: item +#: doc/guix.texi:1416 +#, no-wrap +msgid "--listen=128.0.0.42:1234" +msgstr "--listen=128.0.0.42:1234" + +#. type: table +#: doc/guix.texi:1419 +msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234." +msgstr "Lausche auf TCP-Verbindungen an der Netzwerkschnittstelle, die @code{128.0.0.42} entspricht, auf Port 1234." + +#. type: table +#: doc/guix.texi:1426 +msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @code{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." +msgstr "Diese Befehlszeilenoption kann mehrmals wiederholt werden. In diesem Fall akzeptiert @command{guix-daemon} Verbindungen auf allen angegebenen Endpunkten. Benutzer können bei Client-Befehlen angeben, mit welchem Endpunkt sie sich verbinden möchten, indem sie die Umgebungsvariable @code{GUIX_DAEMON_SOCKET} festlegen (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." + +#. type: quotation +#: doc/guix.texi:1427 doc/guix.texi:2325 doc/guix.texi:2789 doc/guix.texi:2952 +#: doc/guix.texi:4205 doc/guix.texi:4273 doc/guix.texi:5788 doc/guix.texi:7224 +#: doc/guix.texi:7851 doc/guix.texi:8069 doc/guix.texi:8280 +#: doc/guix.texi:11491 doc/guix.texi:20375 doc/guix.texi:20573 +#: doc/guix.texi:20660 doc/guix.texi:21504 +#, no-wrap +msgid "Note" +msgstr "Anmerkung" + +#. type: quotation +#: doc/guix.texi:1433 +msgid "The daemon protocol is @emph{unauthenticated and unencrypted}. Using @code{--listen=@var{host}} is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon. In other cases where remote access to the daemon is needed, we recommend using Unix-domain sockets along with SSH." +msgstr "Das Daemon-Protokoll ist @emph{weder authentifiziert noch verschlüsselt}. Die Benutzung von @code{--listen=@var{Host}} eignet sich für lokale Netzwerke, wie z.B. in Rechen-Clustern, wo sich nur solche Knoten mit dem Daemon verbinden, denen man vertraut. In Situationen, wo ein Fernzugriff auf den Daemon durchgeführt wird, empfehlen wir, über Unix-Sockets in Verbindung mit SSH zuzugreifen." + +#. type: table +#: doc/guix.texi:1438 +msgid "When @code{--listen} is omitted, @command{guix-daemon} listens for connections on the Unix-domain socket located at @file{@var{localstatedir}/guix/daemon-socket/socket}." +msgstr "Wird @code{--listen} nicht angegeben, lauscht @command{guix-daemon} auf Verbindungen auf dem Unix-Socket, der sich unter @file{@var{localstatedir}/guix/daemon-socket/socket} befindet." + +#. type: Plain text +#: doc/guix.texi:1448 +msgid "When using Guix on top of GNU/Linux distribution other than GuixSD---a so-called @dfn{foreign distro}---a few additional steps are needed to get everything in place. Here are some of them." +msgstr "Läuft Guix aufgesetzt auf einer GNU/Linux-Distribution außer GuixSD — einer sogenannten @dfn{Fremddistribution} —, so sind ein paar zusätzliche Schritte bei der Einrichtung nötig. Hier finden Sie manche davon." + +#. type: anchor{#1} +#: doc/guix.texi:1452 +msgid "locales-and-locpath" +msgstr "locales-and-locpath" + +#. type: cindex +#: doc/guix.texi:1452 +#, no-wrap +msgid "locales, when not on GuixSD" +msgstr "Locales, nicht auf GuixSD" + +#. type: vindex +#: doc/guix.texi:1453 doc/guix.texi:9549 +#, no-wrap +msgid "LOCPATH" +msgstr "LOCPATH" + +#. type: vindex +#: doc/guix.texi:1454 +#, no-wrap +msgid "GUIX_LOCPATH" +msgstr "GUIX_LOCPATH" + +#. type: Plain text +#: doc/guix.texi:1459 +msgid "Packages installed @i{via} Guix will not use the locale data of the host system. Instead, you must first install one of the locale packages available with Guix and then define the @code{GUIX_LOCPATH} environment variable:" +msgstr "Über Guix installierte Pakete benutzen nicht die Daten zu Regions- und Spracheinstellungen (Locales) des Wirtssystems. Stattdessen müssen Sie erst eines der Locale-Pakete installieren, die für Guix verfügbar sind, und dann den Wert Ihrer Umgebungsvariablen @code{GUIX_LOCPATH} passend festlegen:" + +#. type: example +#: doc/guix.texi:1463 +#, no-wrap +msgid "" +"$ guix package -i glibc-locales\n" +"$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n" +msgstr "" +"$ guix package -i glibc-locales\n" +"$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n" + +#. type: Plain text +#: doc/guix.texi:1469 +msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 110@tie{}MiB. Alternatively, the @code{glibc-utf8-locales} is smaller but limited to a few UTF-8 locales." +msgstr "Beachten Sie, dass das Paket @code{glibc-locales} Daten für alle von GNU@tie{}libc unterstützten Locales enthält und deswegen um die 110@tie{}MiB wiegt. Alternativ gibt es auch @code{glibc-utf8-locales}, was kleiner, aber auf ein paar UTF-8-Locales beschränkt ist." + +#. type: Plain text +#: doc/guix.texi:1473 +msgid "The @code{GUIX_LOCPATH} variable plays a role similar to @code{LOCPATH} (@pxref{Locale Names, @code{LOCPATH},, libc, The GNU C Library Reference Manual}). There are two important differences though:" +msgstr "Die Variable @code{GUIX_LOCPATH} spielt eine ähnliche Rolle wie @code{LOCPATH} (@pxref{Locale Names, @code{LOCPATH},, libc, The GNU C Library Reference Manual}). Es gibt jedoch zwei wichtige Unterschiede:" + +#. type: enumerate +#: doc/guix.texi:1480 +msgid "@code{GUIX_LOCPATH} is honored only by the libc in Guix, and not by the libc provided by foreign distros. Thus, using @code{GUIX_LOCPATH} allows you to make sure the programs of the foreign distro will not end up loading incompatible locale data." +msgstr "@code{GUIX_LOCPATH} wird nur von der libc in Guix beachtet und nicht der von Fremddistributionen bereitgestellten libc. Mit @code{GUIX_LOCPATH} können Sie daher sicherstellen, dass die Programme der Fremddistribution keine inkompatiblen Locale-Daten von Guix laden." + +#. type: enumerate +#: doc/guix.texi:1487 +msgid "libc suffixes each entry of @code{GUIX_LOCPATH} with @code{/X.Y}, where @code{X.Y} is the libc version---e.g., @code{2.22}. This means that, should your Guix profile contain a mixture of programs linked against different libc version, each libc version will only try to load locale data in the right format." +msgstr "libc hängt an jeden @code{GUIX_LOCPATH}-Eintrag @code{/X.Y} an, wobei @code{X.Y} die Version von libc ist — z.B. @code{2.22}. Sollte Ihr Guix-Profil eine Mischung aus Programmen enthalten, die an verschiedene libc-Versionen gebunden sind, wird jede nur die Locale-Daten im richtigen Format zu laden versuchen." + +#. type: Plain text +#: doc/guix.texi:1491 +msgid "This is important because the locale data format used by different libc versions may be incompatible." +msgstr "Das ist wichtig, weil das Locale-Datenformat verschiedener libc-Versionen inkompatibel sein könnte." + +#. type: cindex +#: doc/guix.texi:1494 +#, no-wrap +msgid "name service switch, glibc" +msgstr "Name Service Switch, glibc" + +#. type: cindex +#: doc/guix.texi:1495 +#, no-wrap +msgid "NSS (name service switch), glibc" +msgstr "NSS (Name Service Switch), glibc" + +#. type: cindex +#: doc/guix.texi:1496 +#, no-wrap +msgid "nscd (name service caching daemon)" +msgstr "nscd (Name Service Caching Daemon)" + +#. type: cindex +#: doc/guix.texi:1497 +#, no-wrap +msgid "name service caching daemon (nscd)" +msgstr "Name Service Caching Daemon (nscd)" + +#. type: Plain text +#: doc/guix.texi:1504 +msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why." +msgstr "Wenn Sie Guix auf einer Fremddistribution verwenden, @emph{empfehlen wir stärkstens}, dass Sie den @dfn{Name Service Cache Daemon} der GNU-C-Bibliothek, @command{nscd}, laufen lassen, welcher auf dem Socket @file{/var/run/nscd/socket} lauschen sollte. Wenn Sie das nicht tun, könnten mit Guix installierte Anwendungen Probleme beim Auflösen von Hostnamen oder Benutzerkonten haben, oder sogar abstürzen. Die nächsten Absätze erklären warum." + +#. type: file{#1} +#: doc/guix.texi:1505 +#, no-wrap +msgid "nsswitch.conf" +msgstr "nsswitch.conf" + +#. type: Plain text +#: doc/guix.texi:1510 +msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." +msgstr "Die GNU-C-Bibliothek implementiert einen @dfn{Name Service Switch} (NSS), welcher einen erweiterbaren Mechanismus zur allgemeinen »Namensauflösung« darstellt: Hostnamensauflösung, Benutzerkonten und weiteres (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." + +#. type: cindex +#: doc/guix.texi:1511 +#, no-wrap +msgid "Network information service (NIS)" +msgstr "Network Information Service (NIS)" + +#. type: cindex +#: doc/guix.texi:1512 +#, no-wrap +msgid "NIS (Network information service)" +msgstr "NIS (Network Information Service)" + +#. type: Plain text +#: doc/guix.texi:1521 +msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})." +msgstr "Für die Erweiterbarkeit unterstützt der NSS @dfn{Plugins}, welche neue Implementierungen zur Namensauflösung bieten: Zum Beispiel ermöglicht das Plugin @code{nss-mdns} die Namensauflösung für @code{.local}-Hostnamen, das Plugin @code{nis} gestattet die Auflösung von Benutzerkonten über den Network Information Service (NIS) und so weiter. Diese zusätzlichen »Auflösungsdienste« werden systemweit konfiguriert in @file{/etc/nsswitch.conf} und alle auf dem System laufenden Programme halten sich an diese Einstellungen (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})." + +#. type: Plain text +#: doc/guix.texi:1531 +msgid "When they perform a name lookup---for instance by calling the @code{getaddrinfo} function in C---applications first try to connect to the nscd; on success, nscd performs name lookups on their behalf. If the nscd is not running, then they perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services---the @file{libnss_*.so} files---are @code{dlopen}'d, but they may come from the host system's C library, rather than from the C library the application is linked against (the C library coming from Guix)." +msgstr "Wenn sie eine Namensauflösung durchführen — zum Beispiel, indem sie die @code{getaddrinfo}-Funktion in C aufrufen — versuchen die Anwendungen als Erstes, sich mit dem nscd zu verbinden; ist dies erfolgreich, führt nscd für sie die weiteren Namensauflösungen durch. Falls nscd nicht läuft, führen sie selbst die Namensauflösungen durch, indem sie die Namensauflösungsdienste in ihren eigenen Adressraum laden und ausführen. Diese Namensauflösungsdienste — die @file{libnss_*.so}-Dateien — werden mit @code{dlopen} geladen, aber sie kommen von der C-Bibliothek des Wirtssystems und nicht von der C-Bibliothek, mit der die Anwendung gebunden wurde (also der C-Bibliothek von Guix)." + +#. type: Plain text +#: doc/guix.texi:1536 +msgid "And this is where the problem is: if your application is linked against Guix's C library (say, glibc 2.24) and tries to load NSS plugins from another C library (say, @code{libnss_mdns.so} for glibc 2.22), it will likely crash or have its name lookups fail unexpectedly." +msgstr "Und hier kommt es zum Problem: Wenn die Anwendung mit der C-Bibliothek von Guix (etwa glibc 2.24) gebunden wurde und die NSS-Plugins von einer anderen C-Bibliothek (etwa @code{libnss_mdns.so} für glibc 2.22) zu laden versucht, wird sie vermutlich abstürzen oder die Namensauflösungen werden unerwartet fehlschlagen." + +#. type: Plain text +#: doc/guix.texi:1541 +msgid "Running @command{nscd} on the system, among other advantages, eliminates this binary incompatibility problem because those @code{libnss_*.so} files are loaded in the @command{nscd} process, not in applications themselves." +msgstr "Durch das Ausführen von @command{nscd} auf dem System wird, neben anderen Vorteilen, dieses Problem der binären Inkompatibilität vermieden, weil diese @code{libnss_*.so}-Dateien vom @command{nscd}-Prozess geladen werden, nicht in den Anwendungen selbst." + +#. type: subsection +#: doc/guix.texi:1542 +#, no-wrap +msgid "X11 Fonts" +msgstr "X11-Schriftarten" + +#. type: cindex +#: doc/guix.texi:1544 doc/guix.texi:22070 +#, no-wrap +msgid "fonts" +msgstr "Schriftarten" + +#. type: Plain text +#: doc/guix.texi:1552 +msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont-ttf}." +msgstr "Die Mehrheit der graphischen Anwendungen benutzen Fontconfig zum Finden und Laden von Schriftarten und für die Darstellung im X11-Client. Im Paket @code{fontconfig} in Guix werden Schriftarten standardmäßig in @file{$HOME/.guix-profile} gesucht. Um es graphischen Anwendungen, die mit Guix installiert wurden, zu ermöglichen, Schriftarten anzuzeigen, müssen Sie die Schriftarten auch mit Guix installieren. Essenzielle Pakete für Schriftarten sind unter Anderem @code{gs-fonts}, @code{font-dejavu} und @code{font-gnu-freefont-ttf}." + +#. type: Plain text +#: doc/guix.texi:1559 +msgid "To display text written in Chinese languages, Japanese, or Korean in graphical applications, consider installing @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}. The former has multiple outputs, one per language family (@pxref{Packages with Multiple Outputs}). For instance, the following command installs fonts for Chinese languages:" +msgstr "Um auf Chinesisch, Japanisch oder Koreanisch verfassten Text in graphischen Anwendungen anzeigen zu können, möchten Sie vielleicht @code{font-adobe-source-han-sans} oder @code{font-wqy-zenhei} installieren. Ersteres hat mehrere Ausgaben, für jede Sprachfamilie eine (@pxref{Packages with Multiple Outputs}). Zum Beispiel installiert folgender Befehl Schriftarten für chinesische Sprachen:" + +#. type: example +#: doc/guix.texi:1562 +#, no-wrap +msgid "guix package -i font-adobe-source-han-sans:cn\n" +msgstr "guix package -i font-adobe-source-han-sans:cn\n" + +#. type: code{#1} +#: doc/guix.texi:1564 +#, no-wrap +msgid "xterm" +msgstr "xterm" + +#. type: Plain text +#: doc/guix.texi:1568 +msgid "Older programs such as @command{xterm} do not use Fontconfig and instead rely on server-side font rendering. Such programs require to specify a full name of a font using XLFD (X Logical Font Description), like this:" +msgstr "Ältere Programme wie @command{xterm} benutzen kein Fontconfig, sondern X-Server-seitige Schriftartendarstellung. Solche Programme setzen voraus, dass der volle Name einer Schriftart mit XLFD (X Logical Font Description) angegeben wird, z.B. so:" + +#. type: example +#: doc/guix.texi:1571 +#, no-wrap +msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n" +msgstr "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n" + +#. type: Plain text +#: doc/guix.texi:1575 +msgid "To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:" +msgstr "Um solche vollen Namen für die in Ihrem Guix-Profil installierten TrueType-Schriftarten zu verwenden, müssen Sie den Pfad für Schriftarten (Font Path) des X-Servers anpassen:" + +#. type: example +#: doc/guix.texi:1580 +#, no-wrap +msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n" +msgstr "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n" + +#. type: code{#1} +#: doc/guix.texi:1582 +#, no-wrap +msgid "xlsfonts" +msgstr "xlsfonts" + +#. type: Plain text +#: doc/guix.texi:1585 +msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there." +msgstr "Danach können Sie den Befehl @code{xlsfonts} ausführen (aus dem Paket @code{xlsfonts}), um sicherzustellen, dass dort Ihre TrueType-Schriftarten aufgeführt sind." + +#. type: code{#1} +#: doc/guix.texi:1586 +#, no-wrap +msgid "fc-cache" +msgstr "fc-cache" + +#. type: cindex +#: doc/guix.texi:1587 +#, no-wrap +msgid "font cache" +msgstr "Font-Cache" + +#. type: Plain text +#: doc/guix.texi:1593 +msgid "After installing fonts you may have to refresh the font cache to use them in applications. The same applies when applications installed via Guix do not seem to find fonts. To force rebuilding of the font cache run @code{fc-cache -f}. The @code{fc-cache} command is provided by the @code{fontconfig} package." +msgstr "Nach der Installation der Schriftarten müssen Sie unter Umständen den Schriftarten-Zwischenspeicher (Font-Cache) erneuern, um diese in Anwendungen benutzen zu können. Gleiches gilt, wenn mit Guix installierte Anwendungen anscheinend keine Schriftarten finden können. Um das Erneuern des Font-Caches zu erzwingen, führen Sie @code{fc-cache -f} aus. Der Befehl @code{fc-cache} wird vom Paket @code{fontconfig} angeboten." + +#. type: code{#1} +#: doc/guix.texi:1596 doc/guix.texi:19787 +#, no-wrap +msgid "nss-certs" +msgstr "nss-certs" + +#. type: Plain text +#: doc/guix.texi:1599 +msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS." +msgstr "Das Paket @code{nss-certs} bietet X.509-Zertifikate, womit Programme die Identität von Web-Servern authentifizieren können, auf die über HTTPS zugegriffen wird." + +#. type: Plain text +#: doc/guix.texi:1604 +msgid "When using Guix on a foreign distro, you can install this package and define the relevant environment variables so that packages know where to look for certificates. @xref{X.509 Certificates}, for detailed information." +msgstr "Wenn Sie Guix auf einer Fremddistribution verwenden, können Sie dieses Paket installieren und die relevanten Umgebungsvariablen festlegen, damit Pakete wissen, wo sie Zertifikate finden. In @xref{X.509 Certificates} stehen genaue Informationen." + +#. type: subsection +#: doc/guix.texi:1605 +#, no-wrap +msgid "Emacs Packages" +msgstr "Emacs-Pakete" + +#. type: code{#1} +#: doc/guix.texi:1607 +#, no-wrap +msgid "emacs" +msgstr "emacs" + +#. type: Plain text +#: doc/guix.texi:1618 +msgid "When you install Emacs packages with Guix, the elisp files may be placed either in @file{$HOME/.guix-profile/share/emacs/site-lisp/} or in sub-directories of @file{$HOME/.guix-profile/share/emacs/site-lisp/guix.d/}. The latter directory exists because potentially there may exist thousands of Emacs packages and storing all their files in a single directory may not be reliable (because of name conflicts). So we think using a separate directory for each package is a good idea. It is very similar to how the Emacs package system organizes the file structure (@pxref{Package Files,,, emacs, The GNU Emacs Manual})." +msgstr "Wenn Sie mit Guix Pakete für Emacs installieren, werden deren elisp-Dateien entweder in @file{$HOME/.guix-profile/share/emacs/site-lisp/} oder in Unterverzeichnissen von @file{$HOME/.guix-profile/share/emacs/site-lisp/guix.d/} gespeichert. Letzteres Verzeichnis gibt es, weil es Tausende von Emacs-Paketen gibt und sie alle im selben Verzeichnis zu speichern vielleicht nicht verlässlich funktioniert (wegen Namenskonflikten). Daher halten wir es für richtig, für jedes Paket ein anderes Verzeichnis zu benutzen. Das Emacs-Paketsystem organisiert die Dateistruktur ähnlich (@pxref{Package Files,,, emacs, The GNU Emacs Manual})." + +#. type: Plain text +#: doc/guix.texi:1624 +msgid "By default, Emacs (installed with Guix) ``knows'' where these packages are placed, so you do not need to perform any configuration. If, for some reason, you want to avoid auto-loading Emacs packages installed with Guix, you can do so by running Emacs with @code{--no-site-file} option (@pxref{Init File,,, emacs, The GNU Emacs Manual})." +msgstr "Standardmäßig »weiß« Emacs (wenn er mit Guix installiert wurde), wo diese Pakete liegen, Sie müssen also nichts selbst konfigurieren. Wenn Sie aber aus irgendeinem Grund mit Guix installierte Pakete nicht automatisch laden lassen möchten, können Sie Emacs mit der Befehlszeilenoption @code{--no-site-file} starten (@pxref{Init File,,, emacs, The GNU Emacs Manual})." + +#. type: subsection +#: doc/guix.texi:1625 +#, no-wrap +msgid "The GCC toolchain" +msgstr "GCC-Toolchain" + +#. type: cindex +#: doc/guix.texi:1627 +#, no-wrap +msgid "GCC" +msgstr "GCC" + +#. type: cindex +#: doc/guix.texi:1628 +#, no-wrap +msgid "ld-wrapper" +msgstr "ld-wrapper" + +#. type: Plain text +#: doc/guix.texi:1637 +msgid "Guix offers individual compiler packages such as @code{gcc} but if you are in need of a complete toolchain for compiling and linking source code what you really want is the @code{gcc-toolchain} package. This package provides a complete GCC toolchain for C/C++ development, including GCC itself, the GNU C Library (headers and binaries, plus debugging symbols in the @code{debug} output), Binutils, and a linker wrapper." +msgstr "Guix bietet individuelle Compiler-Pakete wie etwa @code{gcc}, aber wenn Sie einen vollständigen Satz an Werkzeugen zum Kompilieren und Binden von Quellcode brauchen, werden Sie eigentlich das Paket @code{gcc-toolchain} haben wollen. Das Paket bietet eine vollständige GCC-Toolchain für die Entwicklung mit C/C++, einschließlich GCC selbst, der GNU-C-Bibliothek (Header-Dateien und Binärdateien samt Symbolen zur Fehlersuche/Debugging in der @code{debug}-Ausgabe), Binutils und einen Wrapper für den Binder/Linker." + +#. type: cindex +#: doc/guix.texi:1638 +#, no-wrap +msgid "attempt to use impure library, error message" +msgstr "Versuch, unreine Bibliothek zu benutzen, Fehlermeldung" + +#. type: Plain text +#: doc/guix.texi:1648 +msgid "The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches passed to the linker, add corresponding @code{-rpath} arguments, and invoke the actual linker with this new set of arguments. By default, the linker wrapper refuses to link to libraries outside the store to ensure ``purity''. This can be annoying when using the toolchain to link with local libraries. To allow references to libraries outside the store you need to define the environment variable @code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES}." +msgstr "Der Zweck des Wrappers ist, die an den Binder übergebenen Befehlszeilenoptionen mit @code{-L} und @code{-l} zu überprüfen und jeweils passende Argumente mit @code{-rpath} anzufügen, womit dann der echte Binder aufgerufen wird. Standardmäßig weigert sich der Binder-Wrapper, mit Bibliotheken außerhalb des Stores zu binden, um »Reinheit« zu gewährleisten. Das kann aber stören, wenn man die Toolchain benutzt, um mit lokalen Bibliotheken zu binden. Um Referenzen auf Bibliotheken außerhalb des Stores zu erlauben, müssen Sie die Umgebungsvariable @code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} setzen." + +#. type: cindex +#: doc/guix.texi:1655 +#, no-wrap +msgid "packages" +msgstr "Pakete" + +#. type: Plain text +#: doc/guix.texi:1660 +msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features." +msgstr "Der Zweck von GNU Guix ist, Benutzern die leichte Installation, Aktualisierung und Entfernung von Software-Paketen zu ermöglichen, ohne dass sie ihre Erstellungsprozeduren oder Abhängigkeiten kennen müssen. Guix kann natürlich noch mehr als diese offensichtlichen Funktionalitäten." + +#. type: Plain text +#: doc/guix.texi:1668 +msgid "This chapter describes the main features of Guix, as well as the package management tools it provides. Along with the command-line interface described below (@pxref{Invoking guix package, @code{guix package}}), you may also use the Emacs-Guix interface (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}), after installing @code{emacs-guix} package (run @kbd{M-x guix-help} command to start with it):" +msgstr "Dieses Kapitel beschreibt die Hauptfunktionalitäten von Guix, sowie die von Guix angebotenen Paketverwaltungswerkzeuge. Zusätzlich von den im Folgenden beschriebenen Befehlszeilen-Benutzerschnittstellen (@pxref{Invoking guix package, @code{guix package}}) können Sie auch mit der Emacs-Guix-Schnittstelle (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}) arbeiten, nachdem Sie das Paket @code{emacs-guix} installiert haben (führen Sie zum Einstieg in Emacs-Guix den Emacs-Befehl @kbd{M-x guix-help} aus):" + +#. type: example +#: doc/guix.texi:1671 +#, no-wrap +msgid "guix package -i emacs-guix\n" +msgstr "guix package -i emacs-guix\n" + +#. type: Plain text +#: doc/guix.texi:1690 +msgid "When using Guix, each package ends up in the @dfn{package store}, in its own directory---something that resembles @file{/gnu/store/xxx-package-1.2}, where @code{xxx} is a base32 string." +msgstr "Wenn Sie Guix benutzen, landet jedes Paket schließlich im @dfn{Paket-Store} in seinem eigenen Verzeichnis — der Name ist ähnlich wie @file{/gnu/store/xxx-package-1.2}, wobei @code{xxx} eine Zeichenkette in Base32-Darstellung ist." + +#. type: Plain text +#: doc/guix.texi:1695 +msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}." +msgstr "Statt diese Verzeichnisse direkt anzugeben, haben Nutzer ihr eigenes @dfn{Profil}, welches auf diejenigen Pakete zeigt, die sie tatsächlich benutzen wollen. Diese Profile sind im Persönlichen Ordner des jeweiligen Nutzers gespeichert als @code{$HOME/.guix-profile}." + +#. type: Plain text +#: doc/guix.texi:1703 +msgid "For example, @code{alice} installs GCC 4.7.2. As a result, @file{/home/alice/.guix-profile/bin/gcc} points to @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Now, on the same machine, @code{bob} had already installed GCC 4.8.0. The profile of @code{bob} simply continues to point to @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc}---i.e., both versions of GCC coexist on the same system without any interference." +msgstr "Zum Beispiel installiert @code{alice} GCC 4.7.2. Dadurch zeigt dann @file{/home/alice/.guix-profile/bin/gcc} auf @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Auf demselben Rechner hat @code{bob} bereits GCC 4.8.0 installiert. Das Profil von @code{bob} zeigt dann einfach weiterhin auf @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc} — d.h. beide Versionen von GCC koexistieren auf demselben System, ohne sich zu stören." + +#. type: Plain text +#: doc/guix.texi:1707 +msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}." +msgstr "Der Befehl @command{guix package} ist das zentrale Werkzeug, um Pakete zu verwalten (@pxref{Invoking guix package}). Es arbeitet auf dem eigenen Profil jedes Nutzers und kann @emph{mit normalen Benutzerrechten} ausgeführt werden." + +#. type: cindex +#: doc/guix.texi:1708 doc/guix.texi:1777 +#, no-wrap +msgid "transactions" +msgstr "Transaktionen" + +#. type: Plain text +#: doc/guix.texi:1715 +msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable." +msgstr "Der Befehl stellt die offensichtlichen Installations-, Entfernungs- und Aktualisierungsoperationen zur Verfügung. Jeder Aufruf ist tatsächlich eine eigene @emph{Transaktion}: Entweder die angegebene Operation wird erfolgreich durchgeführt, oder gar nichts passiert. Wenn also der Prozess von @command{guix package} während der Transaktion beendet wird, oder es zum Stromausfall während der Transaktion kommt, dann bleibt der alte, nutzbare Zustands des Nutzerprofils erhalten." + +#. type: Plain text +#: doc/guix.texi:1723 +msgid "In addition, any package transaction may be @emph{rolled back}. So, if, for example, an upgrade installs a new version of a package that turns out to have a serious bug, users may roll back to the previous instance of their profile, which was known to work well. Similarly, the global system configuration on GuixSD is subject to transactional upgrades and roll-back (@pxref{Using the Configuration System})." +msgstr "Zudem kann jede Pakettransaktion @emph{zurückgesetzt} werden (Rollback). Wird also zum Beispiel durch eine Aktualisierung eine neue Version eines Pakets installiert, die einen schwerwiegenden Fehler zur Folge hat, können Nutzer ihr Profil einfach auf die vorherige Profilinstanz zurücksetzen, von der sie wissen, dass sie gut lief. Ebenso unterliegt auf GuixSD auch die globale Systemkonfiguration transaktionellen Aktualisierungen und Rücksetzungen (@pxref{Using the Configuration System})." + +#. type: Plain text +#: doc/guix.texi:1730 +msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected." +msgstr "Alle Pakete im Paket-Store können vom @emph{Müllsammler} (Garbage Collector) gelöscht werden. Guix ist in der Lage, festzustellen, welche Pakete noch durch Benutzerprofile referenziert werden, und entfernt nur diese, die nachweislich nicht mehr referenziert werden (@pxref{Invoking guix gc}). Benutzer können auch ausdrücklich alte Generationen ihres Profils löschen, damit die zugehörigen Pakete vom Müllsammler gelöscht werden können." + +#. type: cindex +#: doc/guix.texi:1731 +#, no-wrap +msgid "reproducibility" +msgstr "Reproduzierbarkeit" + +#. type: Plain text +#: doc/guix.texi:1743 +#, fuzzy +#| msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})." +msgid "Finally, Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})." +msgstr "Guix verfolgt einen @dfn{rein funktionalen} Ansatz bei der Paketverwaltung, wie er in der Einleitung beschrieben wurde (@pxref{Introduction}). Jedes Paketverzeichnis im @file{/gnu/store} hat einen Hash all seiner bei der Erstellung benutzten Eingaben im Namen — Compiler, Bibliotheken, Erstellungs-Skripts etc. Diese direkte Entsprechung ermöglicht es Benutzern, eine Paketinstallation zu benutzen, die sicher dem aktuellen Stand ihrer Distribution entspricht. Sie maximiert auch die @dfn{Reproduzierbarkeit der Erstellungen} zu maximieren: Dank der isolierten Erstellungsumgebungen, die benutzt werden, resultiert eine Erstellung wahrscheinlich in bitweise identischen Dateien, auch wenn sie auf unterschiedlichen Maschinen durchgeführt wird (@pxref{Invoking guix-daemon, container})." + +#. type: Plain text +#: doc/guix.texi:1754 +msgid "This foundation allows Guix to support @dfn{transparent binary/source deployment}. When a pre-built binary for a @file{/gnu/store} item is available from an external source---a @dfn{substitute}, Guix just downloads it and unpacks it; otherwise, it builds the package from source, locally (@pxref{Substitutes}). Because build results are usually bit-for-bit reproducible, users do not have to trust servers that provide substitutes: they can force a local build and @emph{challenge} providers (@pxref{Invoking guix challenge})." +msgstr "Auf dieser Grundlage kann Guix @dfn{transparent Binär- oder Quelldateien ausliefern}. Wenn eine vorerstellte Binärdatei für ein @file{/gnu/store}-Objekt von einer externen Quelle verfügbar ist — ein @dfn{Substitut} —, lädt Guix sie einfach herunter und entpackt sie, andernfalls erstellt Guix das Paket lokal aus seinem Quellcode (@pxref{Substitutes}). Weil Erstellungsergebnisse normalerweise Bit für Bit reproduzierbar sind, müssen die Nutzer den Servern, die Substitute anbieten, nicht blind vertrauen; sie können eine lokale Erstellung erzwingen und Substitute @emph{anfechten} (@pxref{Invoking guix challenge})." + +#. type: Plain text +#: doc/guix.texi:1760 +msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix environment})." +msgstr "Kontrolle über die Erstellungsumgebung ist eine auch für Entwickler nützliche Funktionalität. Der Befehl @command{guix environment} ermöglicht es Entwicklern eines Pakets, schnell die richtige Entwicklungsumgebung für ihr Paket einzurichten, ohne manuell die Abhängigkeiten des Pakets in ihr Profil installieren zu müssen (@pxref{Invoking guix environment})." + +#. type: section +#: doc/guix.texi:1762 +#, no-wrap +msgid "Invoking @command{guix package}" +msgstr "Invoking @command{guix package}" + +#. type: cindex +#: doc/guix.texi:1764 +#, no-wrap +msgid "installing packages" +msgstr "Installieren von Paketen" + +#. type: cindex +#: doc/guix.texi:1765 +#, no-wrap +msgid "removing packages" +msgstr "Entfernen von Paketen" + +#. type: cindex +#: doc/guix.texi:1766 +#, no-wrap +msgid "package installation" +msgstr "Paketinstallation" + +#. type: cindex +#: doc/guix.texi:1767 +#, no-wrap +msgid "package removal" +msgstr "Paketentfernung" + +#. type: Plain text +#: doc/guix.texi:1773 +msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. It operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:" +msgstr "Der Befehl @command{guix package} ist ein Werkzeug, womit Nutzer Pakete installieren, aktualisieren, entfernen und auf vorherige Konfigurationen zurücksetzen können. Dabei wird nur das eigene Profil des Nutzers verwendet, und es funktioniert mit normalen Benutzerrechten, ohne Administratorrechte (@pxref{Funktionalitäten}). Die Syntax ist:" + +#. type: example +#: doc/guix.texi:1776 +#, no-wrap +msgid "guix package @var{options}\n" +msgstr "guix package @var{Optionen}\n" + +#. type: Plain text +#: doc/guix.texi:1782 +msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back." +msgstr "In erster Linie geben die @var{Optionen} an, welche Operationen in der Transaktion durchgeführt werden sollen. Nach Abschluss wird ein neues Profil erzeugt, aber vorherige @dfn{Generationen} des Profils bleiben verfügbar, falls der Benutzer auf sie zurückwechseln will." + +#. type: Plain text +#: doc/guix.texi:1785 +msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:" +msgstr "Um zum Beispiel @code{lua} zu entfernen und @code{guile} und @code{guile-cairo} in einer einzigen Transaktion zu installieren:" + +#. type: example +#: doc/guix.texi:1788 +#, no-wrap +msgid "guix package -r lua -i guile guile-cairo\n" +msgstr "guix package -r lua -i guile guile-cairo\n" + +#. type: Plain text +#: doc/guix.texi:1794 +msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})." +msgstr "@command{guix package} unterstützt auch ein @dfn{deklaratives Vorgehen}, wobei der Nutzer die genaue Menge an Paketen, die verfügbar sein sollen, festlegt und über die Befehlszeilenoption @option{--manifest} übergibt (@pxref{profile-manifest, @option{--manifest}})." + +#. type: cindex +#: doc/guix.texi:1795 +#, no-wrap +msgid "profile" +msgstr "Profil" + +#. type: Plain text +#: doc/guix.texi:1801 +msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @code{PATH} environment variable, and so on." +msgstr "Für jeden Benutzer wird automatisch eine symbolische Verknüpfung zu seinem Standardprofil angelegt als @file{$HOME/.guix-profile}. Diese symbolische Verknüpfung zeigt immer auf die aktuelle Generation des Standardprofils des Benutzers. Somit können Nutzer @file{$HOME/.guix-profile/bin} z.B. zu ihrer Umgebungsvariablen @code{PATH} hinzufügen." + +#. type: cindex +#: doc/guix.texi:1801 doc/guix.texi:1998 +#, no-wrap +msgid "search paths" +msgstr "Suchpfade" + +#. type: Plain text +#: doc/guix.texi:1806 +msgid "If you are not using the Guix System Distribution, consider adding the following lines to your @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) so that newly-spawned shells get all the right environment variable definitions:" +msgstr "Wenn Sie nicht die Guix System Distribution benutzen, sollten Sie in Betracht ziehen, folgende Zeilen zu Ihrem @file{~/.bash_profile} hinzuzufügen (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}), damit in neu erzeugten Shells alle Umgebungsvariablen richtig definiert werden:" + +#. type: example +#: doc/guix.texi:1810 +#, no-wrap +msgid "" +"GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n" +"source \"$HOME/.guix-profile/etc/profile\"\n" +msgstr "" +"GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n" +"source \"$HOME/.guix-profile/etc/profile\"\n" + +#. type: Plain text +#: doc/guix.texi:1821 +msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @code{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}." +msgstr "Ist Ihr System für mehrere Nutzer eingerichtet, werden Nutzerprofile an einem Ort gespeichert, der als @dfn{Müllsammlerwurzel} registriert ist, auf die @file{$HOME/.guix-profile} zeigt (@pxref{Invoking guix gc}). Dieses Verzeichnis ist normalerweise @code{@var{localstatedir}/guix/profiles/per-user/@var{Benutzer}}, wobei @var{localstatedir} der an @code{configure} als @code{--localstatedir} übergebene Wert ist und @var{Benutzer} für den jeweiligen Benutzernamen steht. Das @file{per-user}-Verzeichnis wird erstellt, wenn @command{guix-daemon} gestartet wird, und das Unterverzeichnis @var{Benutzer} wird durch @command{guix package} erstellt." + +#. type: Plain text +#: doc/guix.texi:1823 +msgid "The @var{options} can be among the following:" +msgstr "Als @var{Optionen} kann vorkommen:" + +#. type: item +#: doc/guix.texi:1826 +#, no-wrap +msgid "--install=@var{package} @dots{}" +msgstr "--install=@var{Paket} @dots{}" + +#. type: itemx +#: doc/guix.texi:1827 +#, no-wrap +msgid "-i @var{package} @dots{}" +msgstr "-i @var{Paket} @dots{}" + +#. type: table +#: doc/guix.texi:1829 +msgid "Install the specified @var{package}s." +msgstr "Die angegebenen @var{Paket}e installieren." + +#. type: table +#: doc/guix.texi:1834 +msgid "Each @var{package} may specify either a simple package name, such as @code{guile}, or a package name followed by an at-sign and version number, such as @code{guile@@1.8.8} or simply @code{guile@@1.8} (in the latter case, the newest version prefixed by @code{1.8} is selected.)" +msgstr "Jedes @var{Paket} kann entweder einfach durch seinen Paketnamen aufgeführt werden, wie @code{guile}, oder als Paketname gefolgt von einem At-Zeichen @@ und einer Versionsnummer, wie @code{guile@@1.8.8} oder auch nur @code{guile@@1.8} (in letzterem Fall wird die neueste Version mit Präfix @code{1.8} ausgewählt.)" + +#. type: table +#: doc/guix.texi:1842 +msgid "If no version number is specified, the newest available version will be selected. In addition, @var{package} may contain a colon, followed by the name of one of the outputs of the package, as in @code{gcc:doc} or @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})." +msgstr "Wird keine Versionsnummer angegeben, wird die neueste verfügbare Version ausgewählt. Zudem kann im @var{Paket} ein Doppelpunkt auftauchen, gefolgt vom Namen einer der Ausgaben des Pakets, wie @code{gcc:doc} oder @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Pakete mit zugehörigem Namen (und optional der Version) werden unter den Modulen der GNU-Distribution gesucht (@pxref{Package Modules})." + +#. type: cindex +#: doc/guix.texi:1843 +#, no-wrap +msgid "propagated inputs" +msgstr "propagierte Eingaben" + +#. type: table +#: doc/guix.texi:1849 +msgid "Sometimes packages have @dfn{propagated inputs}: these are dependencies that automatically get installed along with the required package (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects}, for information about propagated inputs in package definitions)." +msgstr "Manchmal haben Pakete @dfn{propagierte Eingaben}: Als solche werden Abhängigkeiten bezeichnet, die automatisch zusammen mit dem angeforderten Paket installiert werden (im Abschnitt @pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects} sind weitere Informationen über propagierte Eingaben in Paketdefinitionen zu finden)." + +#. type: anchor{#1} +#: doc/guix.texi:1856 +msgid "package-cmd-propagated-inputs" +msgstr "package-cmd-propagated-inputs" + +#. type: table +#: doc/guix.texi:1856 +msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user." +msgstr "Ein Beispiel ist die GNU-MPC-Bibliothek: Ihre C-Headerdateien verweisen auf die der GNU-MPFR-Bibliothek, welche wiederum auf die der GMP-Bibliothek verweisen. Wenn also MPC installiert wird, werden auch die MPFR- und GMP-Bibliotheken in das Profil installiert; entfernt man MPC, werden auch MPFR und GMP entfernt — außer sie wurden noch auf andere Art ausdrücklich vom Nutzer installiert." + +#. type: table +#: doc/guix.texi:1861 +msgid "Besides, packages sometimes rely on the definition of environment variables for their search paths (see explanation of @code{--search-paths} below). Any missing or possibly incorrect environment variable definitions are reported here." +msgstr "Abgesehen davon setzen Pakete manchmal die Definition von Umgebungsvariablen für ihre Suchpfade voraus (siehe die Erklärung von @code{--search-paths} weiter unten). Alle fehlenden oder womöglich falschen Definitionen von Umgebungsvariablen werden hierbei gemeldet." + +#. type: item +#: doc/guix.texi:1862 +#, no-wrap +msgid "--install-from-expression=@var{exp}" +msgstr "--install-from-expression=@var{Ausdruck}" + +#. type: itemx +#: doc/guix.texi:1863 +#, no-wrap +msgid "-e @var{exp}" +msgstr "-e @var{Ausdruck}" + +#. type: table +#: doc/guix.texi:1865 +msgid "Install the package @var{exp} evaluates to." +msgstr "Das Paket installieren, zu dem der @var{Ausdruck} ausgewertet wird." + +#. type: table +#: doc/guix.texi:1870 +msgid "@var{exp} must be a Scheme expression that evaluates to a @code{} object. This option is notably useful to disambiguate between same-named variants of a package, with expressions such as @code{(@@ (gnu packages base) guile-final)}." +msgstr "Beim @var{Ausdruck} muss es sich um einen Scheme-Ausdruck handeln, der zu einem @code{}-Objekt ausgewertet wird. Diese Option ist besonders nützlich, um zwischen gleichnamigen Varianten eines Pakets zu unterscheiden, durch Ausdrücke wie @code{(@@ (gnu packages base) guile-final)}." + +#. type: table +#: doc/guix.texi:1874 +msgid "Note that this option installs the first output of the specified package, which may be insufficient when needing a specific output of a multiple-output package." +msgstr "Beachten Sie, dass mit dieser Option die erste Ausgabe des angegebenen Pakets installiert wird, was unzureichend sein kann, wenn eine bestimmte Ausgabe eines Pakets mit mehreren Ausgaben gewünscht ist." + +#. type: item +#: doc/guix.texi:1875 +#, no-wrap +msgid "--install-from-file=@var{file}" +msgstr "--install-from-file=@var{Datei}" + +#. type: itemx +#: doc/guix.texi:1876 doc/guix.texi:5699 +#, no-wrap +msgid "-f @var{file}" +msgstr "-f @var{Datei}" + +#. type: table +#: doc/guix.texi:1878 +msgid "Install the package that the code within @var{file} evaluates to." +msgstr "Das Paket installieren, zu dem der Code in der @var{Datei} ausgewertet wird." + +#. type: table +#: doc/guix.texi:1881 doc/guix.texi:7283 +msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):" +msgstr "Zum Beispiel könnte die @var{Datei} eine Definition wie diese enthalten (@pxref{Defining Packages}):" + +#. type: example +#: doc/guix.texi:1884 doc/guix.texi:5709 +#, no-wrap +msgid "@verbatiminclude package-hello.scm\n" +msgstr "@verbatiminclude package-hello.scm\n" + +#. type: table +#: doc/guix.texi:1890 +msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix environment})." +msgstr "Entwickler könnten es für nützlich erachten, eine solche @file{guix.scm}-Datei im Quellbaum ihres Projekts abzulegen, mit der Zwischenstände der Entwicklung getestet und reproduzierbare Erstellungsumgebungen aufgebaut werden können (@pxref{Invoking guix environment})." + +#. type: item +#: doc/guix.texi:1891 +#, no-wrap +msgid "--remove=@var{package} @dots{}" +msgstr "--remove=@var{Paket} @dots{}" + +#. type: itemx +#: doc/guix.texi:1892 +#, no-wrap +msgid "-r @var{package} @dots{}" +msgstr "-r @var{Paket} @dots{}" + +#. type: table +#: doc/guix.texi:1894 +msgid "Remove the specified @var{package}s." +msgstr "Die angegebenen @var{Paket}e entfernen." + +#. type: table +#: doc/guix.texi:1899 +msgid "As for @code{--install}, each @var{package} may specify a version number and/or output name in addition to the package name. For instance, @code{-r glibc:debug} would remove the @code{debug} output of @code{glibc}." +msgstr "Wie auch bei @code{--install} kann jedes @var{Paket} neben dem Paketnamen auch eine Versionsnummer und/oder eine Ausgabe benennen. Zum Beispiel würde @code{-r glibc:debug} die @code{debug}-Ausgabe von @code{glibc} aus dem Profil entfernen." + +#. type: item +#: doc/guix.texi:1900 +#, no-wrap +msgid "--upgrade[=@var{regexp} @dots{}]" +msgstr "--upgrade[=@var{Regexp} @dots{}]" + +#. type: itemx +#: doc/guix.texi:1901 +#, no-wrap +msgid "-u [@var{regexp} @dots{}]" +msgstr "-u [@var{Regexp} @dots{}]" + +#. type: cindex +#: doc/guix.texi:1902 +#, no-wrap +msgid "upgrading packages" +msgstr "Pakete aktualisieren" + +#. type: table +#: doc/guix.texi:1906 +msgid "Upgrade all the installed packages. If one or more @var{regexp}s are specified, upgrade only installed packages whose name matches a @var{regexp}. Also see the @code{--do-not-upgrade} option below." +msgstr "Alle installierten Pakete aktualisieren. Wenn einer oder mehr reguläre Ausdrücke (Regexps) angegeben wurden, werden nur diejenigen installierten Pakete aktualisiert, deren Name zu einer der @var{Regexp}s passt. Siehe auch weiter unten die Befehlszeilenoption @code{--do-not-upgrade}." + +#. type: table +#: doc/guix.texi:1911 +msgid "Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, you should regularly run @command{guix pull} (@pxref{Invoking guix pull})." +msgstr "Beachten Sie, dass das Paket so auf die neueste Version unter den Paketen gebracht wird, die in der aktuell installierten Distribution vorliegen. Um jedoch Ihre Distribution zu aktualisieren, sollten Sie regelmäßig @command{guix pull} ausführen (@pxref{Invoking guix pull})." + +#. type: item +#: doc/guix.texi:1912 +#, no-wrap +msgid "--do-not-upgrade[=@var{regexp} @dots{}]" +msgstr "--do-not-upgrade[=@var{Regexp} @dots{}]" + +#. type: table +#: doc/guix.texi:1917 +msgid "When used together with the @code{--upgrade} option, do @emph{not} upgrade any packages whose name matches a @var{regexp}. For example, to upgrade all packages in the current profile except those containing the substring ``emacs'':" +msgstr "In Verbindung mit der Befehlszeilenoption @code{--upgrade}, führe @emph{keine} Aktualisierung von Paketen durch, deren Name zum regulären Ausdruck @var{Regexp} passt. Um zum Beispiel alle Pakete im aktuellen Profil zu aktualisieren mit Ausnahme derer, die »emacs« im Namen haben:" + +#. type: example +#: doc/guix.texi:1920 +#, no-wrap +msgid "$ guix package --upgrade . --do-not-upgrade emacs\n" +msgstr "$ guix package --upgrade . --do-not-upgrade emacs\n" + +#. type: anchor{#1} +#: doc/guix.texi:1922 +#, no-wrap +msgid "profile-manifest" +msgstr "profile-manifest" + +#. type: item +#: doc/guix.texi:1922 doc/guix.texi:2877 doc/guix.texi:6577 doc/guix.texi:7288 +#: doc/guix.texi:7972 +#, no-wrap +msgid "--manifest=@var{file}" +msgstr "--manifest=@var{Datei}" + +#. type: itemx +#: doc/guix.texi:1923 doc/guix.texi:2878 doc/guix.texi:6578 doc/guix.texi:7289 +#, no-wrap +msgid "-m @var{file}" +msgstr "-m @var{Datei}" + +#. type: cindex +#: doc/guix.texi:1924 +#, no-wrap +msgid "profile declaration" +msgstr "Profildeklaration" + +#. type: cindex +#: doc/guix.texi:1925 +#, no-wrap +msgid "profile manifest" +msgstr "Profilmanifest" + +#. type: table +#: doc/guix.texi:1928 +msgid "Create a new generation of the profile from the manifest object returned by the Scheme code in @var{file}." +msgstr "Erstellt eine neue Generation des Profils aus dem vom Scheme-Code in @var{Datei} gelieferten Manifest-Objekt." + +#. type: table +#: doc/guix.texi:1934 +msgid "This allows you to @emph{declare} the profile's contents rather than constructing it through a sequence of @code{--install} and similar commands. The advantage is that @var{file} can be put under version control, copied to different machines to reproduce the same profile, and so on." +msgstr "Dadurch könnrn Sie den Inhalt des Profils @emph{deklarieren}, statt ihn durch eine Folge von Befehlen wie @code{--install} u.Ä. zu generieren. Der Vorteil ist, dass die @var{Datei} unter Versionskontrolle gestellt werden kann, auf andere Maschinen zum Reproduzieren desselben Profils kopiert werden kann und Ähnliches." + +#. type: table +#: doc/guix.texi:1938 +msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:" +msgstr "Der Code in der @var{Datei} muss ein @dfn{Manifest}-Objekt liefern, was ungefähr einer Liste von Paketen entspricht:" + +#. type: findex +#: doc/guix.texi:1939 +#, no-wrap +msgid "packages->manifest" +msgstr "packages->manifest" + +#. type: example +#: doc/guix.texi:1942 +#, no-wrap +msgid "" +"(use-package-modules guile emacs)\n" +"\n" +msgstr "" +"(use-package-modules guile emacs)\n" +"\n" + +#. type: example +#: doc/guix.texi:1948 +#, no-wrap +msgid "" +"(packages->manifest\n" +" (list emacs\n" +" guile-2.0\n" +" ;; Use a specific package output.\n" +" (list guile-2.0 \"debug\")))\n" +msgstr "" +"(packages->manifest\n" +" (list emacs\n" +" guile-2.0\n" +" ;; Eine bestimmte Paketausgabe nutzen.\n" +" (list guile-2.0 \"debug\")))\n" + +#. type: findex +#: doc/guix.texi:1950 +#, no-wrap +msgid "specifications->manifest" +msgstr "specifications->manifest" + +#. type: table +#: doc/guix.texi:1957 +msgid "In this example we have to know which modules define the @code{emacs} and @code{guile-2.0} variables to provide the right @code{use-package-modules} line, which can be cumbersome. We can instead provide regular package specifications and let @code{specifications->manifest} look up the corresponding package objects, like this:" +msgstr "In diesem Beispiel müssen wir wissen, welche Module die Variablen @code{emacs} und @code{guile-2.0} definieren, um die richtige Angabe mit @code{use-package-modules} machen zu können, was umständlich sein kann. Wir können auch normale Paketnamen angeben und sie durch @code{specifications->manifest} zu den entsprechenden Paketobjekten auflösen, zum Beispiel so:" + +#. type: example +#: doc/guix.texi:1961 +#, no-wrap +msgid "" +"(specifications->manifest\n" +" '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n" +msgstr "" +"(specifications->manifest\n" +" '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n" + +#. type: item +#: doc/guix.texi:1963 +#, no-wrap +msgid "--roll-back" +msgstr "--roll-back" + +#. type: cindex +#: doc/guix.texi:1964 doc/guix.texi:20427 +#, no-wrap +msgid "rolling back" +msgstr "rücksetzen" + +#. type: cindex +#: doc/guix.texi:1965 +#, no-wrap +msgid "undoing transactions" +msgstr "Zurücksetzen von Transaktionen" + +#. type: cindex +#: doc/guix.texi:1966 +#, no-wrap +msgid "transactions, undoing" +msgstr "Transaktionen, zurücksetzen" + +#. type: table +#: doc/guix.texi:1969 +msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction." +msgstr "Wechselt zur vorherigen @dfn{Generation} des Profils zurück — d.h. macht die letzte Transaktion rückgängig." + +#. type: table +#: doc/guix.texi:1972 +msgid "When combined with options such as @code{--install}, roll back occurs before any other actions." +msgstr "In Verbindung mit Befehlszeilenoptionen wie @code{--install} wird zuerst zurückgesetzt, bevor andere Aktionen durchgeführt werden." + +#. type: table +#: doc/guix.texi:1976 +msgid "When rolling back from the first generation that actually contains installed packages, the profile is made to point to the @dfn{zeroth generation}, which contains no files apart from its own metadata." +msgstr "Ein Rücksetzen der ersten Generation, die installierte Pakete enthält, wechselt das Profil zur @dfn{nullten Generation}, die keinerlei Dateien enthält, abgesehen von Metadaten über sich selbst." + +#. type: table +#: doc/guix.texi:1980 +msgid "After having rolled back, installing, removing, or upgrading packages overwrites previous future generations. Thus, the history of the generations in a profile is always linear." +msgstr "Nach dem Zurücksetzen überschreibt das Installieren, Entfernen oder Aktualisieren von Paketen vormals zukünftige Generationen, d.h. der Verlauf der Generationen eines Profils ist immer linear." + +#. type: item +#: doc/guix.texi:1981 +#, no-wrap +msgid "--switch-generation=@var{pattern}" +msgstr "--switch-generation=@var{Muster}" + +#. type: itemx +#: doc/guix.texi:1982 +#, no-wrap +msgid "-S @var{pattern}" +msgstr "-S @var{Muster}" + +#. type: cindex +#: doc/guix.texi:1983 doc/guix.texi:2181 doc/guix.texi:20385 +#, no-wrap +msgid "generations" +msgstr "Generationen" + +#. type: table +#: doc/guix.texi:1985 +msgid "Switch to a particular generation defined by @var{pattern}." +msgstr "Wechselt zu der bestimmten Generation, die durch das @var{Muster} bezeichnet wird." + +#. type: table +#: doc/guix.texi:1991 +msgid "@var{pattern} may be either a generation number or a number prefixed with ``+'' or ``-''. The latter means: move forward/backward by a specified number of generations. For example, if you want to return to the latest generation after @code{--roll-back}, use @code{--switch-generation=+1}." +msgstr "Als @var{Muster} kann entweder die Nummer einer Generation oder eine Nummer mit vorangestelltem »+« oder »-« dienen. Letzteres springt die angegebene Anzahl an Generationen vor oder zurück. Zum Beispiel kehrt @code{--switch-generation=+1} nach einem Zurücksetzen wieder zur neueren Generation zurück." + +#. type: table +#: doc/guix.texi:1996 +msgid "The difference between @code{--roll-back} and @code{--switch-generation=-1} is that @code{--switch-generation} will not make a zeroth generation, so if a specified generation does not exist, the current generation will not be changed." +msgstr "Der Unterschied zwischen @code{--roll-back} und @code{--switch-generation=-1} ist, dass @code{--switch-generation} keine nullte Generation erzeugen wird; existiert die angegebene Generation nicht, bleibt schlicht die aktuelle Generation erhalten." + +#. type: item +#: doc/guix.texi:1997 +#, no-wrap +msgid "--search-paths[=@var{kind}]" +msgstr "--search-paths[=@var{Art}]" + +#. type: table +#: doc/guix.texi:2003 +msgid "Report environment variable definitions, in Bash syntax, that may be needed in order to use the set of installed packages. These environment variables are used to specify @dfn{search paths} for files used by some of the installed packages." +msgstr "Führe die Definitionen von Umgebungsvariablen auf, in Bash-Syntax, die nötig sein könnten, um alle installierten Pakete nutzen zu können. Diese Umgebungsvariablen werden benutzt, um die @dfn{Suchpfade} für Dateien festzulegen, die von einigen installierten Paketen benutzt werden." + +#. type: table +#: doc/guix.texi:2011 +msgid "For example, GCC needs the @code{CPATH} and @code{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @code{--search-paths} will suggest setting these variables to @code{@var{profile}/include} and @code{@var{profile}/lib}, respectively." +msgstr "Zum Beispiel braucht GCC die Umgebungsvariablen @code{CPATH} und @code{LIBRARY_PATH}, um zu wissen, wo sich im Benutzerprofil Header und Bibliotheken befinden (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). Wenn GCC und, sagen wir, die C-Bibliothek im Profil installiert sind, schlägt @code{--search-paths} also vor, diese Variablen jeweils auf @code{@var{profile}/include} und @code{@var{profile}/lib} verweisen zu lassen." + +#. type: table +#: doc/guix.texi:2014 +msgid "The typical use case is to define these environment variables in the shell:" +msgstr "Die typische Nutzung ist, in der Shell diese Variablen zu definieren:" + +#. type: example +#: doc/guix.texi:2017 +#, no-wrap +msgid "$ eval `guix package --search-paths`\n" +msgstr "$ eval `guix package --search-paths`\n" + +#. type: table +#: doc/guix.texi:2023 +msgid "@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix}, meaning that the returned environment variable definitions will either be exact settings, or prefixes or suffixes of the current value of these variables. When omitted, @var{kind} defaults to @code{exact}." +msgstr "Als @var{Art} kann entweder @code{exact}, @code{prefix} oder @code{suffix} gewählt werden, wodurch die gelieferten Definitionen der Umgebungsvariablen entweder exakt die Einstellungen für Guix meldet, oder sie als Präfix oder Suffix an den aktuellen Wert dieser Variablen anhängt. Gibt man keine @var{Art} an, wird der Vorgabewert @code{exact} verwendet." + +#. type: table +#: doc/guix.texi:2026 +msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:" +msgstr "Diese Befehlszeilenoption kann auch benutzt werden, um die @emph{kombinierten} Suchpfade mehrerer Profile zu berechnen. Betrachten Sie dieses Beispiel:" + +#. type: example +#: doc/guix.texi:2031 +#, no-wrap +msgid "" +"$ guix package -p foo -i guile\n" +"$ guix package -p bar -i guile-json\n" +"$ guix package -p foo -p bar --search-paths\n" +msgstr "" +"$ guix package -p foo -i guile\n" +"$ guix package -p bar -i guile-json\n" +"$ guix package -p foo -p bar --search-paths\n" + +#. type: table +#: doc/guix.texi:2036 +msgid "The last command above reports about the @code{GUILE_LOAD_PATH} variable, even though, taken individually, neither @file{foo} nor @file{bar} would lead to that recommendation." +msgstr "Der letzte Befehl oben meldet auch die Definition der Umgebungsvariablen @code{GUILE_LOAD_PATH}, obwohl für sich genommen weder @file{foo} noch @file{bar} zu dieser Empfehlung führen würden." + +#. type: item +#: doc/guix.texi:2038 +#, no-wrap +msgid "--profile=@var{profile}" +msgstr "--profile=@var{Profil}" + +#. type: itemx +#: doc/guix.texi:2039 +#, no-wrap +msgid "-p @var{profile}" +msgstr "-p @var{Profil}" + +#. type: table +#: doc/guix.texi:2041 +msgid "Use @var{profile} instead of the user's default profile." +msgstr "Auf @var{Profil} anstelle des Standardprofils des Benutzers arbeiten." + +#. type: cindex +#: doc/guix.texi:2042 +#, no-wrap +msgid "collisions, in a profile" +msgstr "Kollisionen, in einem Profil" + +#. type: cindex +#: doc/guix.texi:2043 +#, no-wrap +msgid "colliding packages in profiles" +msgstr "Paketkollisionen in Profilen" + +#. type: cindex +#: doc/guix.texi:2044 +#, no-wrap +msgid "profile collisions" +msgstr "Profilkollisionen" + +#. type: item +#: doc/guix.texi:2045 +#, no-wrap +msgid "--allow-collisions" +msgstr "--allow-collisions" + +#. type: table +#: doc/guix.texi:2047 +msgid "Allow colliding packages in the new profile. Use at your own risk!" +msgstr "Kollidierende Pakete im neuen Profil zulassen. Benutzung auf eigene Gefahr!" + +#. type: table +#: doc/guix.texi:2051 +msgid "By default, @command{guix package} reports as an error @dfn{collisions} in the profile. Collisions happen when two or more different versions or variants of a given package end up in the profile." +msgstr "Standardmäßig wird @command{guix package} @dfn{Kollisionen} als Fehler auffassen und melden. Zu Kollisionen kommt es, wenn zwei oder mehr verschiedene Versionen oder Varianten desselben Pakets im Profil landen." + +#. type: item +#: doc/guix.texi:2052 doc/guix.texi:2754 doc/guix.texi:7777 +#, no-wrap +msgid "--verbose" +msgstr "--verbose" + +#. type: table +#: doc/guix.texi:2055 +msgid "Produce verbose output. In particular, emit the build log of the environment on the standard error port." +msgstr "Erzeugt ausführliche Textausgaben. Insbesondere wird auch das Erstellungsprotokoll der Umgebung auf dem Standard-Fehler-Port (stderr) ausgegeben." + +#. type: item +#: doc/guix.texi:2056 doc/guix.texi:2773 doc/guix.texi:2931 +#, no-wrap +msgid "--bootstrap" +msgstr "--bootstrap" + +#. type: table +#: doc/guix.texi:2059 +msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers." +msgstr "Erstellt das Profil mit dem Bootstrap-Guile. Diese Option ist nur für Entwickler der Distribution nützlich." + +#. type: Plain text +#: doc/guix.texi:2065 +msgid "In addition to these actions, @command{guix package} supports the following options to query the current state of a profile, or the availability of packages:" +msgstr "Zusätzlich zu diesen Aktionen unterstützt @command{guix package} folgende Befehlszeilenoptionen, um den momentanen Zustand eines Profils oder die Verfügbarkeit von Paketen nachzulesen:" + +#. type: item +#: doc/guix.texi:2068 +#, no-wrap +msgid "--search=@var{regexp}" +msgstr "--search=@var{Regexp}" + +#. type: itemx +#: doc/guix.texi:2069 +#, no-wrap +msgid "-s @var{regexp}" +msgstr "-s @var{Regexp}" + +#. type: cindex +#: doc/guix.texi:2070 +#, no-wrap +msgid "searching for packages" +msgstr "Suche nach Paketen" + +#. type: table +#: doc/guix.texi:2075 +msgid "List the available packages whose name, synopsis, or description matches @var{regexp}, sorted by relevance. Print all the metadata of matching packages in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." +msgstr "Führt alle verfügbaren Pakete auf, deren Name, Zusammenfassung oder Beschreibung zum regulären Ausdruck @var{Regexp} passt, sortiert nach ihrer Relevanz. Alle Metadaten passender Pakete werden im @code{recutils}-Format geliefert (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." + +#. type: table +#: doc/guix.texi:2078 +msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:" +msgstr "So können bestimmte Felder mit dem Befehl @command{recsel} extrahiert werden, zum Beispiel:" + +#. type: example +#: doc/guix.texi:2084 +#, no-wrap +msgid "" +"$ guix package -s malloc | recsel -p name,version,relevance\n" +"name: jemalloc\n" +"version: 4.5.0\n" +"relevance: 6\n" +"\n" +msgstr "" +"$ guix package -s malloc | recsel -p name,version,relevance\n" +"name: jemalloc\n" +"version: 4.5.0\n" +"relevance: 6\n" +"\n" + +#. type: example +#: doc/guix.texi:2088 +#, no-wrap +msgid "" +"name: glibc\n" +"version: 2.25\n" +"relevance: 1\n" +"\n" +msgstr "" +"name: glibc\n" +"version: 2.25\n" +"relevance: 1\n" +"\n" + +#. type: example +#: doc/guix.texi:2092 +#, no-wrap +msgid "" +"name: libgc\n" +"version: 7.6.0\n" +"relevance: 1\n" +msgstr "" +"name: libgc\n" +"version: 7.6.0\n" +"relevance: 1\n" + +#. type: table +#: doc/guix.texi:2096 +msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:" +msgstr "Ebenso kann der Name aller zu den Bedingungen der GNU@tie{}LGPL, Version 3, verfügbaren Pakete ermittelt werden:" + +#. type: example +#: doc/guix.texi:2100 +#, no-wrap +msgid "" +"$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n" +"name: elfutils\n" +"\n" +msgstr "" +"$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n" +"name: elfutils\n" +"\n" + +#. type: example +#: doc/guix.texi:2103 +#, no-wrap +msgid "" +"name: gmp\n" +"@dots{}\n" +msgstr "" +"name: gmp\n" +"@dots{}\n" + +#. type: table +#: doc/guix.texi:2108 +msgid "It is also possible to refine search results using several @code{-s} flags. For example, the following command returns a list of board games:" +msgstr "Es ist auch möglich, Suchergebnisse näher einzuschränken, indem Sie @code{-s} mehrmals übergeben. Zum Beispiel liefert folgender Befehl eines Liste von Brettspielen:" + +#. type: example +#: doc/guix.texi:2113 +#, no-wrap +msgid "" +"$ guix package -s '\\' -s game | recsel -p name\n" +"name: gnubg\n" +"@dots{}\n" +msgstr "" +"$ guix package -s '\\' -s game | recsel -p name\n" +"name: gnubg\n" +"@dots{}\n" + +#. type: table +#: doc/guix.texi:2119 +msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards." +msgstr "Würden wir @code{-s game} weglassen, bekämen wir auch Software-Pakete aufgelistet, die mit »printed circuit boards« (elektronischen Leiterplatten) zu tun haben; ohne die spitzen Klammern um @code{board} bekämen wir auch Pakete, die mit »keyboards« (Tastaturen, oder musikalischen Keyboard) zu tun haben." + +#. type: table +#: doc/guix.texi:2123 +msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:" +msgstr "Es ist Zeit für ein komplexeres Beispiel. Folgender Befehl sucht kryptographische Bibliotheken, filtert Haskell-, Perl-, Python- und Ruby-Bibliotheken heraus und gibt Namen und Zusammenfassung passender Pakete aus:" + +#. type: example +#: doc/guix.texi:2127 +#, no-wrap +msgid "" +"$ guix package -s crypto -s library | \\\n" +" recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n" +msgstr "" +"$ guix package -s crypto -s library | \\\n" +" recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n" + +#. type: table +#: doc/guix.texi:2132 +msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}." +msgstr "@xref{Selection Expressions,,, recutils, GNU recutils manual} enthält weitere Informationen über @dfn{Auswahlausdrücke} mit @code{recsel -e}." + +#. type: item +#: doc/guix.texi:2133 +#, no-wrap +msgid "--show=@var{package}" +msgstr "--show=@var{Paket}" + +#. type: table +#: doc/guix.texi:2137 +msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." +msgstr "Zeigt Details über das @var{Paket} aus der Liste verfügbarer Pakete, im @code{recutils}-Format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." + +#. type: example +#: doc/guix.texi:2142 +#, no-wrap +msgid "" +"$ guix package --show=python | recsel -p name,version\n" +"name: python\n" +"version: 2.7.6\n" +"\n" +msgstr "" +"$ guix package --show=python | recsel -p name,version\n" +"name: python\n" +"version: 2.7.6\n" +"\n" + +#. type: example +#: doc/guix.texi:2145 +#, no-wrap +msgid "" +"name: python\n" +"version: 3.3.5\n" +msgstr "" +"name: python\n" +"version: 3.3.5\n" + +#. type: table +#: doc/guix.texi:2149 +msgid "You may also specify the full name of a package to only get details about a specific version of it:" +msgstr "Sie können auch den vollständigen Namen eines Pakets angeben, um Details nur über diese Version angezeigt zu bekommen:" + +#. type: example +#: doc/guix.texi:2153 +#, no-wrap +msgid "" +"$ guix package --show=python@@3.4 | recsel -p name,version\n" +"name: python\n" +"version: 3.4.3\n" +msgstr "" +"$ guix package --show=python@@3.4 | recsel -p name,version\n" +"name: python\n" +"version: 3.4.3\n" + +#. type: item +#: doc/guix.texi:2157 +#, no-wrap +msgid "--list-installed[=@var{regexp}]" +msgstr "--list-installed[=@var{Regexp}]" + +#. type: itemx +#: doc/guix.texi:2158 +#, no-wrap +msgid "-I [@var{regexp}]" +msgstr "-I [@var{Regexp}]" + +#. type: table +#: doc/guix.texi:2162 +msgid "List the currently installed packages in the specified profile, with the most recently installed packages shown last. When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}." +msgstr "Listet die derzeit installierten Pakete im angegebenen Profil auf, die zuletzt installierten Pakete zuletzt. Wenn ein regulärer Ausdruck @var{Regexp} angegeben wird, werden nur installierte Pakete aufgeführt, deren Name zu @var{Regexp} passt." + +#. type: table +#: doc/guix.texi:2168 +msgid "For each installed package, print the following items, separated by tabs: the package name, its version string, the part of the package that is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store." +msgstr "Zu jedem installierten Paket werden folgende Informationen angezeigt, durch Tabulatorzeichen getrennt: der Paketname, die Version als Zeichenkette, welche Teile des Pakets installiert sind (zum Beispiel @code{out}, wenn die Standard-Paketausgabe installiert ist, @code{include}, wenn seine Header installiert sind, usw.) und an welchem Pfad das Paket im Store zu finden ist." + +#. type: item +#: doc/guix.texi:2169 +#, no-wrap +msgid "--list-available[=@var{regexp}]" +msgstr "--list-available[=@var{Regexp}]" + +#. type: itemx +#: doc/guix.texi:2170 +#, no-wrap +msgid "-A [@var{regexp}]" +msgstr "-A [@var{Regexp}]" + +#. type: table +#: doc/guix.texi:2174 +msgid "List packages currently available in the distribution for this system (@pxref{GNU Distribution}). When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}." +msgstr "Listet Pakete auf, die in der aktuell installierten Distribution dieses Systems verfügbar sind (@pxref{GNU Distribution}). Wenn ein regulärer Ausdruck @var{Regexp} angegeben wird, werden nur Pakete aufgeführt, deren Name zum regulären Ausdruck @var{Regexp} passt." + +#. type: table +#: doc/guix.texi:2178 +msgid "For each package, print the following items separated by tabs: its name, its version string, the parts of the package (@pxref{Packages with Multiple Outputs}), and the source location of its definition." +msgstr "Zu jedem Paket werden folgende Informationen getrennt durch Tabulatorzeichen ausgegeben: der Name, die Version als Zeichenkette, die Teile des Programms (@pxref{Packages with Multiple Outputs}) und die Stelle im Quellcode, an der das Paket definiert ist." + +#. type: item +#: doc/guix.texi:2179 +#, no-wrap +msgid "--list-generations[=@var{pattern}]" +msgstr "--list-generations[=@var{Muster}]" + +#. type: itemx +#: doc/guix.texi:2180 +#, no-wrap +msgid "-l [@var{pattern}]" +msgstr "-l [@var{Muster}]" + +#. type: table +#: doc/guix.texi:2186 +msgid "Return a list of generations along with their creation dates; for each generation, show the installed packages, with the most recently installed packages shown last. Note that the zeroth generation is never shown." +msgstr "Liefert eine Liste der Generationen zusammen mit dem Datum, an dem sie erzeugt wurden; zu jeder Generation werden zudem die installierten Pakete angezeigt, zuletzt installierte Pakete zuletzt. Beachten Sie, dass die nullte Generation niemals angezeigt wird." + +#. type: table +#: doc/guix.texi:2191 +msgid "For each installed package, print the following items, separated by tabs: the name of a package, its version string, the part of the package that is installed (@pxref{Packages with Multiple Outputs}), and the location of this package in the store." +msgstr "Zu jedem installierten Paket werden folgende Informationen durch Tabulatorzeichen getrennt angezeigt: der Name des Pakets, die Version als Zeichenkette, welcher Teil des Pakets installiert ist (@pxref{Packages with Multiple Outputs}) und an welcher Stelle sich das Paket im Store befindet." + +#. type: table +#: doc/guix.texi:2194 +msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:" +msgstr "Wenn ein @var{Muster} angegeben wird, liefert der Befehl nur dazu passende Generationen. Gültige Muster sind zum Beispiel:" + +#. type: item +#: doc/guix.texi:2196 +#, no-wrap +msgid "@emph{Integers and comma-separated integers}. Both patterns denote" +msgstr "@emph{Ganze Zahlen und kommagetrennte ganze Zahlen}. Beide Muster bezeichnen" + +#. type: itemize +#: doc/guix.texi:2199 +msgid "generation numbers. For instance, @code{--list-generations=1} returns the first one." +msgstr "Generationsnummern. Zum Beispiel liefert @code{--list-generations=1} die erste Generation." + +#. type: itemize +#: doc/guix.texi:2202 +msgid "And @code{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed." +msgstr "Durch @code{--list-generations=1,8,2} werden drei Generationen in der angegebenen Reihenfolge angezeigt. Weder Leerzeichen noch ein Komma am Schluss der Liste ist erlaubt." + +#. type: item +#: doc/guix.texi:2203 +#, no-wrap +msgid "@emph{Ranges}. @code{--list-generations=2..9} prints the" +msgstr "@emph{Bereiche}. @code{--list-generations=2..9} gibt die" + +#. type: itemize +#: doc/guix.texi:2206 +msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end." +msgstr "angegebenen Generationen und alles dazwischen aus. Beachten Sie, dass der Bereichsanfang eine kleinere Zahl als das Bereichsende sein muss." + +#. type: itemize +#: doc/guix.texi:2210 +msgid "It is also possible to omit the endpoint. For example, @code{--list-generations=2..}, returns all generations starting from the second one." +msgstr "Sie können auch kein Bereichsende angeben, zum Beispiel liefert @code{--list-generations=2..} alle Generationen ab der zweiten." + +#. type: item +#: doc/guix.texi:2211 +#, no-wrap +msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks," +msgstr "@emph{Zeitdauern}. Sie können auch die letzten @emph{N}@tie{}Tage, Wochen" + +#. type: itemize +#: doc/guix.texi:2215 +#, fuzzy +msgid "or months by passing an integer along with the first letter of the duration. For example, @code{--list-generations=20d} lists generations that are up to 20 days old." +msgstr "" +"oder Monate angeben, indem Sie eine ganze Zahl gefolgt von jeweils »d«, »w« oder »m« angeben (dem ersten Buchstaben der Maßeinheit der Dauer im Englischen). Zum Beispiel listet @code{--list-generations=20d} die Generationen auf, die höchstens 20 Tage alt sind.\n" +"\n" +"TODO LEIDER WIRD NICHT DER ZEITUNTERSCHIED BIS ZUR AUSFÜHRUNG VON --LIST-GENERATIONS BENUTZT... ANSCHEINEND AB MITTERNACHT. DIE ZEITANGABEN VON --LIST-GENERATIONS SIND VIELLEICHT AUCH IN UTC!" + +#. type: item +#: doc/guix.texi:2217 +#, no-wrap +msgid "--delete-generations[=@var{pattern}]" +msgstr "--delete-generations[=@var{Muster}]" + +#. type: itemx +#: doc/guix.texi:2218 +#, no-wrap +msgid "-d [@var{pattern}]" +msgstr "-d [@var{Muster}]" + +#. type: table +#: doc/guix.texi:2221 +msgid "When @var{pattern} is omitted, delete all generations except the current one." +msgstr "Wird kein @var{Muster} angegeben, werden alle Generationen außer der aktuellen entfernt." + +#. type: table +#: doc/guix.texi:2227 +msgid "This command accepts the same patterns as @option{--list-generations}. When @var{pattern} is specified, delete the matching generations. When @var{pattern} specifies a duration, generations @emph{older} than the specified duration match. For instance, @code{--delete-generations=1m} deletes generations that are more than one month old." +msgstr "Dieser Befehl akzeptiert dieselben Muster wie @option{--list-generations}. Wenn ein @var{Muster} angegeben wird, werden die passenden Generationen gelöscht. Wenn das @var{Muster} für eine Zeitdauer steht, werden diejenigen Generationen gelöscht, die @emph{älter} als die angegebene Dauer sind. Zum Beispiel löscht @code{--delete-generations=1m} die Generationen, die mehr als einen Monat alt sind." + +#. type: table +#: doc/guix.texi:2230 +msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted." +msgstr "Falls die aktuelle Generation zum Muster passt, wird sie @emph{nicht} gelöscht. Auch die nullte Generation wird niemals gelöscht." + +#. type: table +#: doc/guix.texi:2233 +msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care." +msgstr "Beachten Sie, dass Sie auf gelöschte Generationen nicht zurückwechseln können. Dieser Befehl sollte also nur mit Vorsicht benutzt werden." + +#. type: Plain text +#: doc/guix.texi:2244 +msgid "Finally, since @command{guix package} may actually start build processes, it supports all the common build options (@pxref{Common Build Options}). It also supports package transformation options, such as @option{--with-source} (@pxref{Package Transformation Options}). However, note that package transformations are lost when upgrading; to preserve transformations across upgrades, you should define your own package variant in a Guile module and add it to @code{GUIX_PACKAGE_PATH} (@pxref{Defining Packages})." +msgstr "Zu guter Letzt können Sie, da @command{guix package} Erstellungsprozesse zu starten vermag, auch alle gemeinsamen Erstellungsoptionen (@pxref{Common Build Options}) verwenden. Auch Paketumwandlungsoptionen wie @option{--with-source} sind möglich (@pxref{Package Transformation Options}). Beachten Sie jedoch, dass die verwendeten Paketumwandlungsoptionen verloren gehen, nachdem Sie die Pakete aktualisiert haben. Damit Paketumwandlungen über Aktualisierungen hinweg erhalten bleiben, sollten Sie Ihre eigene Paketvariante in einem Guile-Modul definieren und zur Umgebungsvariablen @code{GUIX_PACKAGE_PATH} hinzufügen (@pxref{Defining Packages})." + +#. type: cindex +#: doc/guix.texi:2249 +#, no-wrap +msgid "pre-built binaries" +msgstr "vorerstellte Binärdateien" + +#. type: Plain text +#: doc/guix.texi:2255 +msgid "Guix supports transparent source/binary deployment, which means that it can either build things locally, or download pre-built items from a server, or both. We call these pre-built items @dfn{substitutes}---they are substitutes for local build results. In many cases, downloading a substitute is much faster than building things locally." +msgstr "Guix kann transparent Binär- oder Quelldateien ausliefern. Das heißt, Dinge können sowohl lokal erstellt, als auch als vorerstellte Objekte von einem Server heruntergeladen werden, oder beides gemischt. Wir bezeichnen diese vorerstellten Objekte als @dfn{Substitute} — sie substituieren lokale Erstellungsergebnisse. In vielen Fällen geht das Herunterladen eines Substituts wesentlich schneller, als Dinge lokal zu erstellen." + +#. type: Plain text +#: doc/guix.texi:2260 +msgid "Substitutes can be anything resulting from a derivation build (@pxref{Derivations}). Of course, in the common case, they are pre-built package binaries, but source tarballs, for instance, which also result from derivation builds, can be available as substitutes." +msgstr "Substitute können alles sein, was das Ergebnis einer Ableitungserstellung ist (@pxref{Derivations}). Natürlich sind sie üblicherweise vorerstellte Paket-Binärdateien, aber wenn zum Beispiel ein Quell-Tarball das Ergebnis einer Ableitungserstellung ist, kann auch er als Substitut verfügbar sein." + +#. type: cindex +#: doc/guix.texi:2273 +#, no-wrap +msgid "hydra" +msgstr "Hydra" + +#. type: cindex +#: doc/guix.texi:2274 +#, no-wrap +msgid "build farm" +msgstr "Build-Farm" + +#. type: Plain text +#: doc/guix.texi:2284 +msgid "The @code{mirror.hydra.gnu.org} server is a front-end to an official build farm that builds packages from Guix continuously for some architectures, and makes them available as substitutes. This is the default source of substitutes; it can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})." +msgstr "Der Server @code{mirror.hydra.gnu.org} ist die Façade für eine offizielle »Build-Farm«, ein Erstellungswerk, das kontinuierlich Guix-Pakete für einige Prozessorarchitekturen erstellt und sie als Substitute zur Verfügung stellt. Dies ist die standardmäßige Quelle von Substituten; durch Übergeben der Befehlszeilenoption @option{--substitute-urls} an entweder den @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) oder Client-Werkzeuge wie @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option}) kann eine abweichende Einstellung benutzt werden." + +#. type: Plain text +#: doc/guix.texi:2290 +msgid "Substitute URLs can be either HTTP or HTTPS. HTTPS is recommended because communications are encrypted; conversely, using HTTP makes all communications visible to an eavesdropper, who could use the information gathered to determine, for instance, whether your system has unpatched security vulnerabilities." +msgstr "Substitut-URLs können entweder HTTP oder HTTPS sein. HTTPS wird empfohlen, weil die Kommunikation verschlüsselt ist; umgekehrt kann bei HTTP die Kommunikation belauscht werden, wodurch der Angreifer zum Beispiel erfahren könnte, ob Ihr System über noch nicht behobene Sicherheitsschwachstellen verfügt." + +#. type: Plain text +#: doc/guix.texi:2299 +msgid "Substitutes from the official build farm are enabled by default when using the Guix System Distribution (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server." +msgstr "Substitute von der offiziellen Build-Farm sind standardmäßig erlaubt, wenn Sie die Guix-System-Distribution verwenden (@pxref{GNU Distribution}). Auf Fremddistributionen sind sie allerdings standardmäßig ausgeschaltet, solange Sie sie nicht ausdrücklich in einem der empfohlenen Installationsschritte erlaubt haben (@pxref{Installation}). Die folgenden Absätze beschreiben, wie Sie Substitute für die offizielle Build-Farm an- oder ausschalten; dieselbe Prozedur kann auch benutzt werden, um Substitute für einen beliebigen anderen Substitutsserver zu erlauben." + +#. type: cindex +#: doc/guix.texi:2303 +#, no-wrap +msgid "security" +msgstr "Sicherheit" + +#. type: cindex +#: doc/guix.texi:2305 +#, no-wrap +msgid "access control list (ACL), for substitutes" +msgstr "Access Control List (ACL), für Substitute" + +#. type: cindex +#: doc/guix.texi:2306 +#, no-wrap +msgid "ACL (access control list), for substitutes" +msgstr "ACL (Access Control List), für Substitute" + +#. type: Plain text +#: doc/guix.texi:2313 +msgid "To allow Guix to download substitutes from @code{hydra.gnu.org} or a mirror thereof, you must add its public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust @code{hydra.gnu.org} to not be compromised and to serve genuine substitutes." +msgstr "Um es Guix zu gestatten, Substitute von @code{hydra.gnu.org} oder einem Spiegelserver davon herunterzuladen, müssen Sie den zugehörigen öffentlichen Schlüssel zur Access Control List (ACL, Zugriffssteuerungsliste) für Archivimporte hinzufügen, mit Hilfe des Befehls @command{guix archive} (@pxref{Invoking guix archive}). Dies impliziert, dass Sie darauf vertrauen, dass @code{hydra.gnu.org} nicht kompromittiert wurde und echte Substitute liefert." + +#. type: Plain text +#: doc/guix.texi:2320 +msgid "The public key for @code{hydra.gnu.org} is installed along with Guix, in @code{@var{prefix}/share/guix/hydra.gnu.org.pub}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:" +msgstr "Der öffentliche Schlüssel für @code{hydra.gnu.org} wird zusammen mit Guix installiert, in das Verzeichnis @code{@var{prefix}/share/guix/hydra.gnu.org.pub}, wobei @var{prefix} das Installationspräfix von Guix ist. Wenn Sie Guix aus seinem Quellcode heraus installieren, stellen Sie sicher, dass Sie die GPG-Signatur von @file{guix-@value{VERSION}.tar.gz} prüfen, worin sich dieser öffentliche Schlüssel befindet. Dann können Sie so etwas wie hier ausführen:" + +#. type: example +#: doc/guix.texi:2323 +#, no-wrap +msgid "# guix archive --authorize < @var{prefix}/share/guix/hydra.gnu.org.pub\n" +msgstr "# guix archive --authorize < @var{prefix}/share/guix/hydra.gnu.org.pub\n" + +#. type: quotation +#: doc/guix.texi:2329 +msgid "Similarly, the @file{berlin.guixsd.org.pub} file contains the public key for the project's new build farm, reachable at @indicateurl{https://berlin.guixsd.org}." +msgstr "Genauso enthält die Datei @file{berlin.guixsd.org.pub} den öffentlichen Schlüssel für die neue Build-Farm des Guix-Projekts, die unter @indicateurl{https://berlin.guixsd.org} erreichbar ist." + +#. type: quotation +#: doc/guix.texi:2334 +msgid "As of this writing @code{berlin.guixsd.org} is being upgraded so it can better scale up, but you might want to give it a try. It is backed by 20 x86_64/i686 build nodes and may be able to provide substitutes more quickly than @code{mirror.hydra.gnu.org}." +msgstr "Derzeit, als dieser Text geschrieben wurde, wird @code{berlin.guixsd.org} ausgebaut, um besser skalieren zu können, aber Sie könnten es ausprobieren. Dahinter stecken 20 x86_64-/i686-Erstellungsknoten, die Substitute früher anbieten könnten als @code{mirror.hydra.gnu.org}." + +#. type: Plain text +#: doc/guix.texi:2338 +msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:" +msgstr "Sobald es eingerichtet wurde, sollte sich die Ausgabe eines Befehls wie @code{guix build} von so etwas:" + +#. type: example +#: doc/guix.texi:2347 +#, no-wrap +msgid "" +"$ guix build emacs --dry-run\n" +"The following derivations would be built:\n" +" /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n" +" /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n" +" /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n" +" /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n" +"@dots{}\n" +msgstr "" +"$ guix build emacs --dry-run\n" +"Folgende Ableitungen würden erstellt:\n" +" /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n" +" /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n" +" /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n" +" /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n" +"@dots{}\n" + +#. type: Plain text +#: doc/guix.texi:2351 +msgid "to something like:" +msgstr "in so etwas verwandeln:" + +#. type: example +#: doc/guix.texi:2360 +#, no-wrap +msgid "" +"$ guix build emacs --dry-run\n" +"112.3 MB would be downloaded:\n" +" /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n" +" /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n" +" /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n" +" /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n" +"@dots{}\n" +msgstr "" +"$ guix build emacs --dry-run\n" +"112.3 MB würden heruntergeladen:\n" +" /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n" +" /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n" +" /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n" +" /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n" +"@dots{}\n" + +#. type: Plain text +#: doc/guix.texi:2365 +msgid "This indicates that substitutes from @code{hydra.gnu.org} are usable and will be downloaded, when possible, for future builds." +msgstr "Das zeigt an, dass Substitute von @code{hydra.gnu.org} nutzbar sind und für zukünftige Erstellungen heruntergeladen werden, wann immer es möglich ist." + +#. type: cindex +#: doc/guix.texi:2366 +#, no-wrap +msgid "substitutes, how to disable" +msgstr "Substitute, wie man sie ausschaltet" + +#. type: Plain text +#: doc/guix.texi:2372 +msgid "The substitute mechanism can be disabled globally by running @code{guix-daemon} with @code{--no-substitutes} (@pxref{Invoking guix-daemon}). It can also be disabled temporarily by passing the @code{--no-substitutes} option to @command{guix package}, @command{guix build}, and other command-line tools." +msgstr "Der Substitutsmechanismus kann global ausgeschaltet werden, indem Sie dem @code{guix-daemon} beim Starten die Befehlszeilenoption @code{--no-substitutes} übergeben (@pxref{Invoking guix-daemon}). Er kann auch temporär ausgeschaltet werden, indem Sie @code{--no-substitutes} an @command{guix package}, @command{guix build} und andere Befehlszeilenwerkzeuge übergeben." + +#. type: cindex +#: doc/guix.texi:2376 +#, no-wrap +msgid "digital signatures" +msgstr "digitale Signaturen" + +#. type: Plain text +#: doc/guix.texi:2380 +msgid "Guix detects and raises an error when attempting to use a substitute that has been tampered with. Likewise, it ignores substitutes that are not signed, or that are not signed by one of the keys listed in the ACL." +msgstr "Guix erkennt, wenn ein verfälschtes Substitut benutzt würde, und meldet einen Fehler. Ebenso werden Substitute ignoriert, die nich signiert sind, oder nicht mit einem in der ACL aufgelisteten Schlüssel signiert sind." + +#. type: Plain text +#: doc/guix.texi:2386 +msgid "There is one exception though: if an unauthorized server provides substitutes that are @emph{bit-for-bit identical} to those provided by an authorized server, then the unauthorized server becomes eligible for downloads. For example, assume we have chosen two substitute servers with this option:" +msgstr "Es gibt nur eine Ausnahme: Wenn ein unautorisierter Server Substitute anbietet, die @emph{Bit für Bit identisch} mit denen von einem autorisierten Server sind, können sie auch vom unautorisierten Server heruntergeladen werden. Zum Beispiel, angenommen wir haben zwei Substitutserver mit dieser Befehlszeilenoption ausgewählt:" + +#. type: example +#: doc/guix.texi:2389 +#, no-wrap +msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n" +msgstr "--substitute-urls=\"https://a.example.org https://b.example.org\"\n" + +#. type: Plain text +#: doc/guix.texi:2400 +msgid "If the ACL contains only the key for @code{b.example.org}, and if @code{a.example.org} happens to serve the @emph{exact same} substitutes, then Guix will download substitutes from @code{a.example.org} because it comes first in the list and can be considered a mirror of @code{b.example.org}. In practice, independent build machines usually produce the same binaries, thanks to bit-reproducible builds (see below)." +msgstr "Wenn in der ACL nur der Schlüssel für @code{b.example.org} aufgeführt wurde, aber @code{a.example.org} @emph{exakt dieselben} Substitute anbietet, wird Guix auch Substitute von @code{a.example.org} herunterladen, weil es in der Liste zuerst kommt und als Spiegelserver für @code{b.example.org} aufgefasst werden kann. In der Praxis haben unabhängige Maschinen bei der Erstellung normalerweise dieselben Binärdateien als Ergebnis, dank bit-reproduzierbarer Erstellungen (siehe unten)." + +#. type: Plain text +#: doc/guix.texi:2407 +msgid "When using HTTPS, the server's X.509 certificate is @emph{not} validated (in other words, the server is not authenticated), contrary to what HTTPS clients such as Web browsers usually do. This is because Guix authenticates substitute information itself, as explained above, which is what we care about (whereas X.509 certificates are about authenticating bindings between domain names and public keys.)" +msgstr "Wenn Sie HTTPS benutzen, wird das X.509-Zertifikat des Servers @emph{nicht} validiert (mit anderen Worten, die Identität des Servers wird nicht authentifiziert), entgegen dem, was HTTPS-Clients wie Web-Browser normalerweise tun. Da Guix Substitutinformationen selbst überprüft, wie oben erklärt, wäre es unnötig (wohingegen mit X.509-Zertifikaten geprüft wird, ob ein Domain-Name zu öffentlichen Schlüsseln passt)." + +#. type: Plain text +#: doc/guix.texi:2419 +msgid "Substitutes are downloaded over HTTP or HTTPS. The @code{http_proxy} environment variable can be set in the environment of @command{guix-daemon} and is honored for downloads of substitutes. Note that the value of @code{http_proxy} in the environment where @command{guix build}, @command{guix package}, and other client commands are run has @emph{absolutely no effect}." +msgstr "Substitute werden über HTTP oder HTTPS heruntergeladen. Die Umgebungsvariable @code{http_proxy} kann in der Umgebung von @command{guix-daemon} definiert werden und wirkt sich dann auf das Herunterladen von Substituten aus. Beachten Sie, dass der Wert von @code{http_proxy} in der Umgebung, in der @command{guix build}, @command{guix package} und andere Client-Befehle ausgeführt werden, @emph{keine Rolle spielt}." + +#. type: Plain text +#: doc/guix.texi:2428 +msgid "Even when a substitute for a derivation is available, sometimes the substitution attempt will fail. This can happen for a variety of reasons: the substitute server might be offline, the substitute may recently have been deleted, the connection might have been interrupted, etc." +msgstr "Selbst wenn ein Substitut für eine Ableitung verfügbar ist, schlägt die versuchte Substitution manchmal fehl. Das kann aus vielen Gründen geschehen: die Substitutsserver könnten offline sein, das Substitut könnte kürzlich gelöscht worden sein, die Netzwerkverbindunge könnte unterbrochen worden sein, usw." + +#. type: Plain text +#: doc/guix.texi:2442 +msgid "When substitutes are enabled and a substitute for a derivation is available, but the substitution attempt fails, Guix will attempt to build the derivation locally depending on whether or not @code{--fallback} was given (@pxref{fallback-option,, common build option @code{--fallback}}). Specifically, if @code{--fallback} was omitted, then no local build will be performed, and the derivation is considered to have failed. However, if @code{--fallback} was given, then Guix will attempt to build the derivation locally, and the success or failure of the derivation depends on the success or failure of the local build. Note that when substitutes are disabled or no substitute is available for the derivation in question, a local build will @emph{always} be performed, regardless of whether or not @code{--fallback} was given." +msgstr "Wenn Substitute aktiviert sind und ein Substitut für eine Ableitung zwar verfügbar ist, aber die versuchte Substitution fehlschlägt, kann Guix versuchen, die Ableitung lokal zu erstellen, je nachdem, ob @code{--fallback} übergeben wurde (@pxref{fallback-option,, common build option @code{--fallback}}). Genauer gesagt, wird keine lokale Erstellung durchgeführt, solange kein @code{--fallback} angegeben wurde, und die Ableitung wird als Fehlschlag angesehen. Wenn @code{--fallback} übergeben wurde, wird Guix versuchen, die Ableitung lokal zu erstellen, und ob die Ableitung erfolgreich ist oder nicht, hängt davon ab, ob die lokale Erstellung erfolgreich ist oder nicht. Beachten Sie, dass, falls Substitute ausgeschaltet oder erst gar kein Substitut verfügbar ist, @emph{immer} eine lokale Erstellung durchgeführt wird, egal ob @code{--fallback} übergeben wurde oder nicht." + +#. type: Plain text +#: doc/guix.texi:2447 +msgid "To get an idea of how many substitutes are available right now, you can try running the @command{guix weather} command (@pxref{Invoking guix weather}). This command provides statistics on the substitutes provided by a server." +msgstr "Um eine Vorstellung zu bekommen, wieviele Substitute gerade verfügbar sind, können Sie den Befehl @command{guix weather} benutzen (@pxref{Invoking guix weather}). Dieser Befehl zeigt Statistiken darüber an, wie es um die von einem Server verfügbaren Substitute steht." + +#. type: cindex +#: doc/guix.texi:2451 +#, no-wrap +msgid "trust, of pre-built binaries" +msgstr "Vertrauen, gegenüber vorerstellten Binärdateien" + +#. type: Plain text +#: doc/guix.texi:2461 +msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using @code{hydra.gnu.org} substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that @code{hydra.gnu.org} is less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})." +msgstr "Derzeit hängt die Kontrolle jedes Individuums über seine Rechner von Institutionen, Unternehmen und solchen Gruppierungen ab, die über genug Macht und Entschlusskraft verfügen, die Rechnerinfrastruktur zu sabotieren und ihre Schwachstellen auszunutzen. Auch wenn es bequem ist, Substitute von @code{hydra.gnu.org} zu benutzen, ermuntern wir Nutzer, auch selbst Erstellungen durchzuführen oder gar ihre eigene Build-Farm zu betreiben, damit @code{hydra.gnu.org} ein weniger interessantes Ziel wird. Eine Art, uns zu helfen, ist, die von Ihnen erstellte Software mit dem Befehl @command{guix publish} zu veröffentlichen, damit andere eine größere Auswahl haben, von welchem Server sie Substitute beziehen möchten (@pxref{Invoking guix publish})." + +#. type: Plain text +#: doc/guix.texi:2473 +msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})." +msgstr "Guix hat die richtigen Grundlagen, um die Reproduzierbarkeit von Erstellungen zu maximieren (@pxref{Features}). In den meisten Fällen sollten unabhängige Erstellungen eines bestimmten Pakets zu bitweise identischen Ergebnissen führen. Wir können also mit Hilfe einer vielschichtigen Menge an unabhängigen Paketerstellungen die Integrität unseres Systems besser gewährleisten. Der Befehl @command{guix challenge} hat das Ziel, Nutzern zu ermöglichen, Substitutserver zu beurteilen, und Entwickler dabei zu unterstützen, nichtdeterministische Paketerstellungen zu finden (@pxref{Invoking guix challenge}). Ebenso ermöglicht es die Befehlszeilenoption @option{--check} von @command{guix build}, dass Nutzer bereits installierte Substitute auf Echtheit zu prüfen, indem sie lokal nachgebaut werden (@pxref{build-check, @command{guix build --check}})." + +#. type: Plain text +#: doc/guix.texi:2477 +msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}." +msgstr "In Zukunft wollen wir, dass Guix Binärdateien an und von Nutzern peer-to-peer veröffentlichen kann. Wenn Sie mit uns dieses Projekt diskuttieren möchten, kommen Sie auf unsere Mailing-Liste @email{guix-devel@@gnu.org}." + +#. type: cindex +#: doc/guix.texi:2481 +#, no-wrap +msgid "multiple-output packages" +msgstr "mehrere Ausgaben, bei Paketen" + +#. type: cindex +#: doc/guix.texi:2482 +#, no-wrap +msgid "package outputs" +msgstr "Paketausgaben" + +#. type: cindex +#: doc/guix.texi:2483 +#, no-wrap +msgid "outputs" +msgstr "Ausgaben" + +#. type: Plain text +#: doc/guix.texi:2493 +msgid "Often, packages defined in Guix have a single @dfn{output}---i.e., the source package leads to exactly one directory in the store. When running @command{guix package -i glibc}, one installs the default output of the GNU libc package; the default output is called @code{out}, but its name can be omitted as shown in this command. In this particular case, the default output of @code{glibc} contains all the C header files, shared libraries, static libraries, Info documentation, and other supporting files." +msgstr "Oft haben in Guix definierte Pakete eine einzige @dfn{Ausgabe} — d.h. aus dem Quellpaket entsteht genau ein Verzeichnis im Store. Wenn Sie @command{guix package -i glibc} ausführen, wird die Standard-Paketausgabe des GNU-libc-Pakets installiert; die Standardausgabe wird @code{out} genannt, aber ihr Name kann weggelassen werden, wie sie an obigem Befehl sehen. In diesem speziellen Fall enthält die Standard-Paketausgabe von @code{glibc} alle C-Headerdateien, gemeinsamen Bibliotheken (»Shared Libraries«), statische Bibliotheken (»Static Libraries«), Dokumentation für Info sowie andere zusätzliche Dateien." + +#. type: Plain text +#: doc/guix.texi:2501 +msgid "Sometimes it is more appropriate to separate the various types of files produced from a single source package into separate outputs. For instance, the GLib C library (used by GTK+ and related packages) installs more than 20 MiB of reference documentation as HTML pages. To save space for users who do not need it, the documentation goes to a separate output, called @code{doc}. To install the main GLib output, which contains everything but the documentation, one would run:" +msgstr "Manchmal ist es besser, die verschiedenen Arten von Dateien, die aus einem einzelnen Quellpaket hervorgehen, in getrennte Ausgaben zu unterteilen. Zum Beispiel installiert die GLib-C-Bibliothek (die von GTK+ und damit zusammenhängenden Paketen benutzt wird) mehr als 20 MiB an HTML-Seiten mit Referenzdokumentation. Um den Nutzern, die das nicht brauchen, Platz zu sparen, wird die Dokumentation in einer separaten Ausgabe abgelegt, genannt @code{doc}. Um also die Hauptausgabe von GLib zu installieren, zu der alles außer der Dokumentation gehört, ist der Befehl:" + +#. type: example +#: doc/guix.texi:2504 +#, no-wrap +msgid "guix package -i glib\n" +msgstr "guix package -i glib\n" + +#. type: code{#1} +#: doc/guix.texi:2506 doc/guix.texi:21321 +#, no-wrap +msgid "documentation" +msgstr "Dokumentation" + +#. type: Plain text +#: doc/guix.texi:2508 +msgid "The command to install its documentation is:" +msgstr "Der Befehl, um die Dokumentation zu installieren, ist:" + +#. type: example +#: doc/guix.texi:2511 +#, no-wrap +msgid "guix package -i glib:doc\n" +msgstr "guix package -i glib:doc\n" + +#. type: Plain text +#: doc/guix.texi:2522 +msgid "Some packages install programs with different ``dependency footprints''. For instance, the WordNet package installs both command-line tools and graphical user interfaces (GUIs). The former depend solely on the C library, whereas the latter depend on Tcl/Tk and the underlying X libraries. In this case, we leave the command-line tools in the default output, whereas the GUIs are in a separate output. This allows users who do not need the GUIs to save space. The @command{guix size} command can help find out about such situations (@pxref{Invoking guix size}). @command{guix graph} can also be helpful (@pxref{Invoking guix graph})." +msgstr "Manche Pakete installieren Programme mit unterschiedlich großem »Abhängigkeiten-Fußabdruck«. Zum Beispiel installiert das Paket WordNet sowohl Befehlszeilenwerkzeuge als auch grafische Benutzerschnittstellen (GUIs). Erstere hängen nur von der C-Bibliothek ab, während Letztere auch von Tcl/Tk und den zu Grunde liegenden X-Bibliotheken abhängen. Jedenfalls belassen wir deshalb die Befehlszeilenwerkzeuge in der Standard-Paketausgabe, während sich die GUIs in einer separaten Ausgabe befinden. So können Benutzer, die die GUIs nicht brauchen, Platz sparen. Der Befehl @command{guix size} kann dabei helfen, solche Situationen zu erkennen (@pxref{Invoking guix size}). @command{guix graph} kann auch helfen (@pxref{Invoking guix graph})." + +#. type: Plain text +#: doc/guix.texi:2530 +msgid "There are several such multiple-output packages in the GNU distribution. Other conventional output names include @code{lib} for libraries and possibly header files, @code{bin} for stand-alone programs, and @code{debug} for debugging information (@pxref{Installing Debugging Files}). The outputs of a packages are listed in the third column of the output of @command{guix package --list-available} (@pxref{Invoking guix package})." +msgstr "In der GNU-Distribution gibt es viele solche Pakete mit mehreren Ausgaben. Andere Konventionen für Ausgabenamen sind zum Beispiel @code{lib} für Bibliotheken und eventuell auch ihre Header-Dateien,, @code{bin} für eigenständige Programme und @code{debug} für Informationen zur Fehlerbehandlung (@pxref{Installing Debugging Files}). Die Ausgaben eines Pakets stehen in der dritten Spalte der Anzeige von @command{guix package --list-available} (@pxref{Invoking guix package})." + +#. type: section +#: doc/guix.texi:2533 +#, no-wrap +msgid "Invoking @command{guix gc}" +msgstr "@command{guix gc} aufrufen" + +#. type: cindex +#: doc/guix.texi:2535 +#, no-wrap +msgid "garbage collector" +msgstr "Müllsammler" + +#. type: cindex +#: doc/guix.texi:2536 +#, no-wrap +msgid "disk space" +msgstr "Plattenspeicher" + +#. type: Plain text +#: doc/guix.texi:2542 +msgid "Packages that are installed, but not used, may be @dfn{garbage-collected}. The @command{guix gc} command allows users to explicitly run the garbage collector to reclaim space from the @file{/gnu/store} directory. It is the @emph{only} way to remove files from @file{/gnu/store}---removing files or directories manually may break it beyond repair!" +msgstr "Pakete, die zwar installiert sind, aber nicht benutzt werden, können vom @dfn{Müllsammler} entfernt werden. Mit dem Befehl @command{guix gc} können Benutzer den Müllsammler ausdrücklich aufrufen, um Speicher im Verzeichnis @file{/gnu/store} freizugeben. Dies ist der @emph{einzige} Weg, Dateien aus @file{/gnu/store} zu entfernen — das manuelle Entfernen von Dateien kann den Store irreparabel beschädigen!" + +#. type: Plain text +#: doc/guix.texi:2553 +msgid "The garbage collector has a set of known @dfn{roots}: any file under @file{/gnu/store} reachable from a root is considered @dfn{live} and cannot be deleted; any other file is considered @dfn{dead} and may be deleted. The set of garbage collector roots (``GC roots'' for short) includes default user profiles; by default, the symlinks under @file{/var/guix/gcroots} represent these GC roots. New GC roots can be added with @command{guix build --root}, for example (@pxref{Invoking guix build})." +msgstr "Der Müllsammler kennt eine Reihe von @dfn{Wurzeln}: Jede Datei in @file{/gnu/store}, die von einer Wurzel aus erreichbar ist, gilt als @dfn{lebendig} und kann nicht entfernt werden; jede andere Datei gilt als @dfn{tot} und ist ein Kandidat, gelöscht zu werden. Die Menge der Müllsammlerwurzeln (kurz auch »GC-Wurzeln«, von englisch »Garbage Collector«) umfasst Standard-Benutzerprofile; standardmäßig werden diese Müllsammlerwurzeln durch symbolische Verknüpfungen in @file{/var/guix/gcroots} dargestellt. Neue Müllsammlerwurzeln können zum Beispiel mit @command{guix build --root} festgelegt werden (@pxref{Invoking guix build})." + +#. type: Plain text +#: doc/guix.texi:2559 +msgid "Prior to running @code{guix gc --collect-garbage} to make space, it is often useful to remove old generations from user profiles; that way, old package builds referenced by those generations can be reclaimed. This is achieved by running @code{guix package --delete-generations} (@pxref{Invoking guix package})." +msgstr "Bevor Sie mit @code{guix gc --collect-garbage} Speicher freimachen, wollen Sie vielleicht alte Generationen von Benutzerprofilen löschen, damit alte Paketerstellungen von diesen Generationen entfernt werden können. Führen Sie dazu @code{guix package --delete-generations} aus (@pxref{Invoking guix package})." + +#. type: Plain text +#: doc/guix.texi:2563 +msgid "Our recommendation is to run a garbage collection periodically, or when you are short on disk space. For instance, to guarantee that at least 5@tie{}GB are available on your disk, simply run:" +msgstr "Unsere Empfehlung ist, dass Sie den Müllsammler regelmäßig laufen lassen und wenn Sie wenig freien Speicherplatz zur Verfügung haben. Um zum Beispiel sicherzustellen, dass Sie mindestens 5@tie{}GB auf Ihrer Platte zur Verfügung haben, benutzen Sie einfach:" + +#. type: example +#: doc/guix.texi:2566 +#, no-wrap +msgid "guix gc -F 5G\n" +msgstr "guix gc -F 5G\n" + +#. type: Plain text +#: doc/guix.texi:2575 +msgid "It is perfectly safe to run as a non-interactive periodic job (@pxref{Scheduled Job Execution}, for how to set up such a job on GuixSD). Running @command{guix gc} with no arguments will collect as much garbage as it can, but that is often inconvenient: you may find yourself having to rebuild or re-download software that is ``dead'' from the GC viewpoint but that is necessary to build other pieces of software---e.g., the compiler tool chain." +msgstr "Es ist völlig sicher, dafür eine nicht interaktive, regelmäßige Auftragsausführung vorzugeben (@pxref{Scheduled Job Execution}, für eine Erklärung, wie man das in GuixSD tun kann). @command{guix gc} ohne Befehlszeilenargumente auszuführen, lässt so viel Müll wie möglich sammeln, aber das ist oft nicht, was man will, denn so muss man unter Umständen Software erneut erstellen oder erneut herunterladen, weil der Müllsammler sie als »tot« ansieht, sie aber zur Erstellung anderer Software wieder gebraucht wird — das trifft zum Beispiel auf die Compiler-Toolchain zu." + +#. type: Plain text +#: doc/guix.texi:2581 +msgid "The @command{guix gc} command has three modes of operation: it can be used to garbage-collect any dead files (the default), to delete specific files (the @code{--delete} option), to print garbage-collector information, or for more advanced queries. The garbage collection options are as follows:" +msgstr "Der Befehl @command{guix gc} hat drei Arbeitsmodi: Er kann benutzt werden, um als Müllsammler tote Dateien zu entfernen (das Standardverhalten), um ganz bestimmte, angegebene Datein zu löschen (mit der Befehlszeilenoption @code{--delete}), um Müllsammlerinformationen auszugeben oder fortgeschrittenere Anfragen zu verarbeiten. Die Müllsammler-Befehlszeilenoptionen sind wie folgt:" + +#. type: item +#: doc/guix.texi:2583 +#, no-wrap +msgid "--collect-garbage[=@var{min}]" +msgstr "--collect-garbage[=@var{Minimum}]" + +#. type: itemx +#: doc/guix.texi:2584 +#, no-wrap +msgid "-C [@var{min}]" +msgstr "-C [@var{Minimum}]" + +#. type: table +#: doc/guix.texi:2588 +msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified." +msgstr "Lässt Müll sammeln — z.B. nicht erreichbare Dateien in @file{/gnu/store} und seinen Unterverzeichnissen. Wird keine andere Befehlszeilenoption angegeben, wird standardmäßig diese durchgeführt." + +#. type: table +#: doc/guix.texi:2593 +msgid "When @var{min} is given, stop once @var{min} bytes have been collected. @var{min} may be a number of bytes, or it may include a unit as a suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})." +msgstr "Wenn ein @var{Minimum} angegeben wurde, hört der Müllsammler auf, sobald @var{Minimum} Bytes gesammelt wurden. Das @var{Minimum} kann die Anzahl der Bytes bezeichnen oder mit einer Einheit als Suffix versehen sein, wie etwa @code{MiB} für Mebibytes und @code{GB} für Gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})." + +#. type: table +#: doc/guix.texi:2595 +msgid "When @var{min} is omitted, collect all the garbage." +msgstr "Wird kein @var{Minimum} angegeben, sammelt der Müllsammler allen Müll." + +#. type: item +#: doc/guix.texi:2596 +#, no-wrap +msgid "--free-space=@var{free}" +msgstr "--free-space=@var{Menge}" + +#. type: itemx +#: doc/guix.texi:2597 +#, no-wrap +msgid "-F @var{free}" +msgstr "-F @var{Menge}" + +#. type: table +#: doc/guix.texi:2601 +msgid "Collect garbage until @var{free} space is available under @file{/gnu/store}, if possible; @var{free} denotes storage space, such as @code{500MiB}, as described above." +msgstr "Sammelt Müll, bis die angegebene @var{Menge} an freiem Speicher in @file{/gnu/store} zur Verfügung steht, falls möglich; die @var{Menge} ist eine Speichergröße wie @code{500MiB}, wie oben beschrieben." + +#. type: table +#: doc/guix.texi:2604 +msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately." +msgstr "Wenn die angegebene @var{Menge} oder mehr bereits in @file{/gnu/store} frei verfügbar ist, passiert nichts." + +#. type: item +#: doc/guix.texi:2605 +#, no-wrap +msgid "--delete" +msgstr "--delete" + +#. type: itemx +#: doc/guix.texi:2606 doc/guix.texi:5840 doc/guix.texi:20598 +#, no-wrap +msgid "-d" +msgstr "-d" + +#. type: table +#: doc/guix.texi:2610 +msgid "Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live." +msgstr "Versucht, alle als Argumente angegebenen Dateien oder Verzeichnisse im Store zu löschen. Dies schlägt fehl, wenn manche der Dateien oder Verzeichnisse nicht im Store oder noch immer lebendig sind." + +#. type: item +#: doc/guix.texi:2611 +#, no-wrap +msgid "--list-failures" +msgstr "--list-failures" + +#. type: table +#: doc/guix.texi:2613 +msgid "List store items corresponding to cached build failures." +msgstr "Store-Objekte auflisten, die zwischengespeicherten Erstellungsfehlern entsprechen." + +#. type: table +#: doc/guix.texi:2617 +msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})." +msgstr "Hierbei wird nichts ausgegeben, sofern der Daemon nicht mit @option{--cache-failures} gestartet wurde (@pxref{Invoking guix-daemon, @option{--cache-failures}})." + +#. type: item +#: doc/guix.texi:2618 +#, no-wrap +msgid "--clear-failures" +msgstr "--clear-failures" + +#. type: table +#: doc/guix.texi:2620 +msgid "Remove the specified store items from the failed-build cache." +msgstr "Die angegebenen Store-Objekte aus dem Zwischenspeicher für fehlgeschlagene Erstellungen entfernen." + +#. type: table +#: doc/guix.texi:2623 +msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing." +msgstr "Auch diese Option macht nur Sinn, wenn der Daemon mit @option{--cache-failures} gestartet wurde. Andernfalls passiert nichts." + +#. type: item +#: doc/guix.texi:2624 +#, no-wrap +msgid "--list-dead" +msgstr "--list-dead" + +#. type: table +#: doc/guix.texi:2627 +msgid "Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root." +msgstr "Zeigt die Liste toter Dateien und Verzeichnisse an, die sich noch im Store befinden — das heißt, Dateien, die von keiner Wurzel mehr erreichbar sind." + +#. type: item +#: doc/guix.texi:2628 +#, no-wrap +msgid "--list-live" +msgstr "--list-live" + +#. type: table +#: doc/guix.texi:2630 +msgid "Show the list of live store files and directories." +msgstr "Zeige die Liste lebendiger Store-Dateien und -Verzeichnisse." + +#. type: Plain text +#: doc/guix.texi:2634 +msgid "In addition, the references among existing store files can be queried:" +msgstr "Außerdem können Referenzen unter bestehenden Store-Dateien gefunden werden:" + +#. type: item +#: doc/guix.texi:2637 +#, no-wrap +msgid "--references" +msgstr "--references" + +#. type: itemx +#: doc/guix.texi:2638 +#, no-wrap +msgid "--referrers" +msgstr "--referrers" + +#. type: cindex +#: doc/guix.texi:2639 doc/guix.texi:6935 +#, no-wrap +msgid "package dependencies" +msgstr "Paketabhängigkeiten" + +#. type: table +#: doc/guix.texi:2642 +msgid "List the references (respectively, the referrers) of store files given as arguments." +msgstr "Listet die referenzierten bzw. sie referenzierenden Objekte der angegebenen Store-Dateien auf." + +#. type: item +#: doc/guix.texi:2643 +#, no-wrap +msgid "--requisites" +msgstr "--requisites" + +#. type: itemx +#: doc/guix.texi:2644 +#, no-wrap +msgid "-R" +msgstr "-R" + +#. type: item +#: doc/guix.texi:2645 doc/guix.texi:6819 doc/guix.texi:6843 doc/guix.texi:6907 +#, no-wrap +msgid "closure" +msgstr "Abschluss" + +#. type: table +#: doc/guix.texi:2650 +msgid "List the requisites of the store files passed as arguments. Requisites include the store files themselves, their references, and the references of these, recursively. In other words, the returned list is the @dfn{transitive closure} of the store files." +msgstr "Listet alle Voraussetzungen der als Argumente übergebenen Store-Dateien auf. Voraussetzungen sind die Store-Dateien selbst, ihre Referenzen sowie die Referenzen davon, rekursiv. Mit anderen Worten, die zurückgelieferte Liste ist der @dfn{transitive Abschluss} dieser Store-Dateien." + +#. type: table +#: doc/guix.texi:2654 +msgid "@xref{Invoking guix size}, for a tool to profile the size of the closure of an element. @xref{Invoking guix graph}, for a tool to visualize the graph of references." +msgstr "Der Abschnitt @xref{Invoking guix size} erklärt ein Werkzeug, um den Speicherbedarf des Abschlusses eines Elements zu ermitteln. Siehe @xref{Invoking guix graph} für ein Werkzeug, um den Referenzgraphen zu veranschaulichen." + +#. type: item +#: doc/guix.texi:2655 +#, no-wrap +msgid "--derivers" +msgstr "--derivers" + +#. type: item +#: doc/guix.texi:2656 doc/guix.texi:3122 doc/guix.texi:7020 +#, no-wrap +msgid "derivation" +msgstr "Ableitung" + +#. type: table +#: doc/guix.texi:2659 +msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})." +msgstr "Liefert die Ableitung(en), die zu den angegebenen Store-Objekten führen (@pxref{Derivations})." + +#. type: table +#: doc/guix.texi:2661 +msgid "For example, this command:" +msgstr "Zum Beispiel liefert dieser Befehl:" + +#. type: example +#: doc/guix.texi:2664 +#, no-wrap +msgid "guix gc --derivers `guix package -I ^emacs$ | cut -f4`\n" +msgstr "guix gc --derivers `guix package -I ^emacs$ | cut -f4`\n" + +#. type: table +#: doc/guix.texi:2669 +msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile." +msgstr "die @file{.drv}-Datei(en), die zum in Ihrem Profil installierten @code{emacs}-Paket führen." + +#. type: table +#: doc/guix.texi:2673 +msgid "Note that there may be zero matching @file{.drv} files, for instance because these files have been garbage-collected. There can also be more than one matching @file{.drv} due to fixed-output derivations." +msgstr "Beachten Sie, dass es auch sein kann, dass keine passenden @file{.drv}-Dateien existieren, zum Beispiel wenn diese Dateien bereits dem Müllsammler zum Opfer gefallen sind. Es kann auch passieren, dass es mehr als eine passende @file{.drv} gibt, bei Ableitungen mit fester Ausgabe." + +#. type: Plain text +#: doc/guix.texi:2677 +msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage." +msgstr "Zuletzt können Sie mit folgenden Befehlszeilenoptionen die Integrität des Stores prüfen und den Plattenspeicherverbrauch im Zaum halten." + +#. type: item +#: doc/guix.texi:2680 +#, no-wrap +msgid "--verify[=@var{options}]" +msgstr "--verify[=@var{Optionen}]" + +#. type: cindex +#: doc/guix.texi:2681 +#, no-wrap +msgid "integrity, of the store" +msgstr "Integrität, des Stores" + +#. type: cindex +#: doc/guix.texi:2682 +#, no-wrap +msgid "integrity checking" +msgstr "Integritätsprüfung" + +#. type: table +#: doc/guix.texi:2684 +msgid "Verify the integrity of the store." +msgstr "Die Integrität des Stores verifizieren" + +#. type: table +#: doc/guix.texi:2687 +msgid "By default, make sure that all the store items marked as valid in the database of the daemon actually exist in @file{/gnu/store}." +msgstr "Standardmäßig wird sichergestellt, dass alle Store-Objekte, die in der Datenbank des Daemons als gültig markiert wurden, auch tatsächlich in @file{/gnu/store} existieren." + +#. type: table +#: doc/guix.texi:2690 +msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}." +msgstr "Wenn angegeben, müssen die @var{Optionen} eine kommagetrennte Liste aus mindestens einem der Worte @code{contents} und @code{repair} sein." + +#. type: table +#: doc/guix.texi:2696 +msgid "When passing @option{--verify=contents}, the daemon computes the content hash of each store item and compares it against its hash in the database. Hash mismatches are reported as data corruptions. Because it traverses @emph{all the files in the store}, this command can take a long time, especially on systems with a slow disk drive." +msgstr "Wenn Sie @option{--verify=contents} übergeben, berechnet der Daemon den Hash des Inhalts jedes Store-Objekts und vergleicht ihn mit dem Hash in der Datenbank. Sind die Hashes ungleich, wird eine Datenbeschädigung gemeldet. Weil dabei @emph{alle Dateien im Store} durchlaufen werden, kann der Befehl viel Zeit brauchen, besonders auf Systemen mit langsamer Platte." + +#. type: cindex +#: doc/guix.texi:2697 +#, no-wrap +msgid "repairing the store" +msgstr "Store, reparieren" + +#. type: cindex +#: doc/guix.texi:2698 doc/guix.texi:5833 +#, no-wrap +msgid "corruption, recovering from" +msgstr "Datenbeschädigung, Behebung" + +#. type: table +#: doc/guix.texi:2706 +msgid "Using @option{--verify=repair} or @option{--verify=contents,repair} causes the daemon to try to repair corrupt store items by fetching substitutes for them (@pxref{Substitutes}). Because repairing is not atomic, and thus potentially dangerous, it is available only to the system administrator. A lightweight alternative, when you know exactly which items in the store are corrupt, is @command{guix build --repair} (@pxref{Invoking guix build})." +msgstr "Mit @option{--verify=repair} oder @option{--verify=contents,repair} versucht der Daemon, beschädigte Store-Objekte zu reparieren, indem er Substitute für selbige herunterlädt (@pxref{Substitutes}). Weil die Reparatur nicht atomar und daher womöglich riskant ist, kann nur der Systemadministrator den Befehl benutzen. Eine weniger aufwendige Alternative, wenn Sie wissen, welches Objekt beschädigt ist, ist, @command{guix build --repair} zu benutzen (@pxref{Invoking guix build})." + +#. type: item +#: doc/guix.texi:2707 +#, no-wrap +msgid "--optimize" +msgstr "--optimize" + +#. type: table +#: doc/guix.texi:2711 +msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}." +msgstr "Den Store durch Nutzung harter Verknüpfungen für identische Dateien optimieren — mit anderen Worten wird der Store @dfn{dedupliziert}." + +#. type: table +#: doc/guix.texi:2717 +msgid "The daemon performs deduplication after each successful build or archive import, unless it was started with @code{--disable-deduplication} (@pxref{Invoking guix-daemon, @code{--disable-deduplication}}). Thus, this option is primarily useful when the daemon was running with @code{--disable-deduplication}." +msgstr "Der Daemon führt Deduplizierung automatisch nach jeder erfolgreichen Erstellung und jedem Importieren eines Archivs durch, sofern er nicht mit @code{--disable-deduplication} (@pxref{Invoking guix-daemon, @code{--disable-deduplication}}) gestartet wurde. Diese Befehlszeilenoption brauchen Sie also in erster Linie dann, wenn der Daemon zuvor mit @code{--disable-deduplication} gestartet worden ist." + +#. type: section +#: doc/guix.texi:2721 +#, no-wrap +msgid "Invoking @command{guix pull}" +msgstr "@command{guix pull} aufrufen" + +#. type: cindex +#: doc/guix.texi:2723 +#, no-wrap +msgid "upgrading Guix" +msgstr "Aktualisieren von Guix" + +#. type: cindex +#: doc/guix.texi:2724 +#, no-wrap +msgid "updating Guix" +msgstr "Updaten von Guix" + +#. type: command{#1} +#: doc/guix.texi:2725 +#, no-wrap +msgid "guix pull" +msgstr "guix pull" + +#. type: cindex +#: doc/guix.texi:2726 +#, no-wrap +msgid "pull" +msgstr "pull" + +#. type: Plain text +#: doc/guix.texi:2733 +#, fuzzy +#| msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository, by default the official GNU@tie{}Guix repository, though this can be customized." +msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository." +msgstr "Nach der Installation oder Aktualisierung wird stets die neueste Version von Paketen verwendet, die in der aktuell installierten Distribution verfügbar ist. Um die Distribution und die Guix-Werkzeuge zu aktualisieren, führen Sie @command{guix pull} aus. Der Befehl lädt den neuesten Guix-Quellcode einschließlich Paketbeschreibungen herunter und installiert ihn. Quellcode wird aus einem @uref{https://git-scm.com, Git}-Repository geladen, standardmäßig dem offiziellen Repository von GNU@tie{}Guix, was Sie aber auch ändern können." + +#. type: Plain text +#: doc/guix.texi:2739 +msgid "On completion, @command{guix package} will use packages and package versions from this just-retrieved copy of Guix. Not only that, but all the Guix commands and Scheme modules will also be taken from that latest version. New @command{guix} sub-commands added by the update also become available." +msgstr "Danach wird @command{guix package} Pakete und ihre Versionen entsprechend der gerade heruntergeladenen Kopie von Guix benutzen. Nicht nur das, auch alle Guix-Befehle und Scheme-Module werden aus der neuesten Version von Guix kommen. Neue @command{guix}-Unterbefehle, die durch die Aktualisierung hinzugekommen sind, werden also auch verfügbar." + +#. type: Plain text +#: doc/guix.texi:2749 +#, fuzzy +#| msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who run @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa." +msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who run @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa@footnote{Under the hood, @command{guix pull} updates the @file{~/.config/guix/latest} symbolic link to point to the latest Guix, and the @command{guix} command loads code from there. Currently, the only way to roll back an invocation of @command{guix pull} is to manually update this symlink to point to the previous Guix.}." +msgstr "Jeder Nutzer kann seine Kopie von Guix mittels @command{guix pull} aktualisieren, wodurch sich nur für den Nutzer etwas verändert, der @command{guix pull} ausgeführt hat. Wenn also zum Beispiel der Administratornutzer @code{root} den Befehl @command{guix pull} ausführt, hat das keine Auswirkungen, auf die für den Benutzer @code{alice} sichtbare Guix-Version, und umgekehrt." + +#. type: Plain text +#: doc/guix.texi:2752 +msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:" +msgstr "Der Befehl @command{guix pull} wird in der Regel ohne Befehlszeilenargumente aufgerufen, aber er versteht auch folgende Befehlszeilenoptionen:" + +#. type: table +#: doc/guix.texi:2756 +msgid "Produce verbose output, writing build logs to the standard error output." +msgstr "Ausführliche Informationen ausgeben und Erstellungsprotokolle auf der Standardfehlerausgabe ausgeben." + +#. type: item +#: doc/guix.texi:2757 +#, no-wrap +msgid "--url=@var{url}" +msgstr "--url=@var{URL}" + +#. type: table +#: doc/guix.texi:2759 +msgid "Download Guix from the Git repository at @var{url}." +msgstr "" + +#. type: vindex +#: doc/guix.texi:2760 +#, no-wrap +msgid "GUIX_PULL_URL" +msgstr "" + +#. type: table +#: doc/guix.texi:2764 +msgid "By default, the source is taken from its canonical Git repository at @code{gnu.org}, for the stable branch of Guix. To use a different source, set the @code{GUIX_PULL_URL} environment variable." +msgstr "" + +#. type: item +#: doc/guix.texi:2765 +#, no-wrap +msgid "--commit=@var{commit}" +msgstr "--commit=@var{Commit}" + +#. type: table +#: doc/guix.texi:2768 +#, fuzzy +#| msgid "Download code from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}." +msgid "Deploy @var{commit}, a valid Git commit ID represented as a hexadecimal string." +msgstr "Code wird von der angegebenen @var{URL} für den angegebenen @var{Commit} (eine gültige Commit-ID, dargestellt als hexadezimale Zeichenkette) oder @var{Branch} heruntergeladen." + +#. type: item +#: doc/guix.texi:2769 +#, no-wrap +msgid "--branch=@var{branch}" +msgstr "--branch=@var{Branch}" + +#. type: table +#: doc/guix.texi:2772 +msgid "Deploy the tip of @var{branch}, the name of a Git branch available on the repository at @var{url}." +msgstr "" + +#. type: table +#: doc/guix.texi:2776 +msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2780 +msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})." +msgstr "" + +#. type: section +#: doc/guix.texi:2782 +#, no-wrap +msgid "Invoking @command{guix pack}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2788 +msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in." +msgstr "" + +#. type: quotation +#: doc/guix.texi:2793 +msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:2795 +#, no-wrap +msgid "pack" +msgstr "" + +#. type: cindex +#: doc/guix.texi:2796 +#, no-wrap +msgid "bundle" +msgstr "" + +#. type: cindex +#: doc/guix.texi:2797 +#, no-wrap +msgid "application bundle" +msgstr "" + +#. type: cindex +#: doc/guix.texi:2798 +#, no-wrap +msgid "software bundle" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2807 +msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2810 +msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:" +msgstr "" + +#. type: example +#: doc/guix.texi:2815 +#, no-wrap +msgid "" +"$ guix pack guile emacs geiser\n" +"@dots{}\n" +"/gnu/store/@dots{}-pack.tar.gz\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2823 +msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2828 +msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:" +msgstr "" + +#. type: example +#: doc/guix.texi:2831 +#, no-wrap +msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2835 +msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2838 +msgid "Alternatively, you can produce a pack in the Docker image format using the following command:" +msgstr "" + +#. type: example +#: doc/guix.texi:2841 +#, no-wrap +msgid "guix pack -f docker guile emacs geiser\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2848 +msgid "The result is a tarball that can be passed to the @command{docker load} command. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2850 +msgid "Several command-line options allow you to customize your pack:" +msgstr "" + +#. type: item +#: doc/guix.texi:2852 +#, no-wrap +msgid "--format=@var{format}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:2853 +#, no-wrap +msgid "-f @var{format}" +msgstr "" + +#. type: table +#: doc/guix.texi:2855 +msgid "Produce a pack in the given @var{format}." +msgstr "" + +#. type: table +#: doc/guix.texi:2857 +msgid "The available formats are:" +msgstr "" + +#. type: item +#: doc/guix.texi:2859 +#, no-wrap +msgid "tarball" +msgstr "" + +#. type: table +#: doc/guix.texi:2862 +msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks." +msgstr "" + +#. type: item +#: doc/guix.texi:2863 +#, no-wrap +msgid "docker" +msgstr "" + +#. type: table +#: doc/guix.texi:2867 +msgid "This produces a tarball that follows the @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, Docker Image Specification}." +msgstr "" + +#. type: item +#: doc/guix.texi:2869 doc/guix.texi:5711 doc/guix.texi:6536 doc/guix.texi:7097 +#: doc/guix.texi:7247 doc/guix.texi:20584 +#, no-wrap +msgid "--expression=@var{expr}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:2870 doc/guix.texi:5712 doc/guix.texi:6537 doc/guix.texi:7098 +#: doc/guix.texi:7248 doc/guix.texi:20585 +#, no-wrap +msgid "-e @var{expr}" +msgstr "" + +#. type: table +#: doc/guix.texi:2872 doc/guix.texi:6539 doc/guix.texi:7100 +msgid "Consider the package @var{expr} evaluates to." +msgstr "" + +#. type: table +#: doc/guix.texi:2876 +msgid "This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @code{--expression} in @command{guix build}})." +msgstr "" + +#. type: table +#: doc/guix.texi:2881 +msgid "Use the packages contained in the manifest object returned by the Scheme code in @var{file}." +msgstr "" + +#. type: table +#: doc/guix.texi:2889 +msgid "This has a similar purpose as the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files. It allows you to define a collection of packages once and use it both for creating profiles and for creating archives for use on machines that do not have Guix installed. Note that you can specify @emph{either} a manifest file @emph{or} a list of packages, but not both." +msgstr "" + +#. type: itemx +#: doc/guix.texi:2891 doc/guix.texi:5784 doc/guix.texi:6925 doc/guix.texi:7333 +#: doc/guix.texi:7967 doc/guix.texi:20593 +#, no-wrap +msgid "-s @var{system}" +msgstr "" + +#. type: table +#: doc/guix.texi:2894 doc/guix.texi:5787 +msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host." +msgstr "" + +#. type: item +#: doc/guix.texi:2895 doc/guix.texi:5808 +#, no-wrap +msgid "--target=@var{triplet}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:2896 doc/guix.texi:3322 doc/guix.texi:5809 +#, no-wrap +msgid "cross-compilation" +msgstr "" + +#. type: table +#: doc/guix.texi:2900 doc/guix.texi:5813 +msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"mips64el-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})." +msgstr "" + +#. type: item +#: doc/guix.texi:2901 +#, no-wrap +msgid "--compression=@var{tool}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:2902 +#, no-wrap +msgid "-C @var{tool}" +msgstr "" + +#. type: table +#: doc/guix.texi:2905 +msgid "Compress the resulting tarball using @var{tool}---one of @code{gzip}, @code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression." +msgstr "" + +#. type: item +#: doc/guix.texi:2906 +#, no-wrap +msgid "--symlink=@var{spec}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:2907 +#, no-wrap +msgid "-S @var{spec}" +msgstr "" + +#. type: table +#: doc/guix.texi:2910 +msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times." +msgstr "" + +#. type: table +#: doc/guix.texi:2914 +msgid "@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} is the symlink that will be created and @var{target} is the symlink target." +msgstr "" + +#. type: table +#: doc/guix.texi:2917 +msgid "For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile." +msgstr "" + +#. type: item +#: doc/guix.texi:2918 +#, no-wrap +msgid "--localstatedir" +msgstr "" + +#. type: table +#: doc/guix.texi:2921 +msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack." +msgstr "" + +#. type: table +#: doc/guix.texi:2927 +msgid "@file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in the pack means that the store is ``complete'' and manageable by Guix; not providing it pack means that the store is ``dead'': items cannot be added to it or removed from it after extraction of the pack." +msgstr "" + +#. type: table +#: doc/guix.texi:2930 +msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})." +msgstr "" + +#. type: table +#: doc/guix.texi:2934 +msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2939 +msgid "In addition, @command{guix pack} supports all the common build options (@pxref{Common Build Options}) and all the package transformation options (@pxref{Package Transformation Options})." +msgstr "" + +#. type: section +#: doc/guix.texi:2942 +#, no-wrap +msgid "Invoking @command{guix archive}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:2944 +#, no-wrap +msgid "guix archive" +msgstr "" + +#. type: cindex +#: doc/guix.texi:2945 +#, no-wrap +msgid "archive" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2951 +msgid "The @command{guix archive} command allows users to @dfn{export} files from the store into a single archive, and to later @dfn{import} them on a machine that runs Guix. In particular, it allows store files to be transferred from one machine to the store on another machine." +msgstr "" + +#. type: quotation +#: doc/guix.texi:2955 +msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:2957 +#, no-wrap +msgid "exporting store items" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2959 +msgid "To export store files as an archive to standard output, run:" +msgstr "" + +#. type: example +#: doc/guix.texi:2962 +#, no-wrap +msgid "guix archive --export @var{options} @var{specifications}...\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2969 +msgid "@var{specifications} may be either store file names or package specifications, as for @command{guix package} (@pxref{Invoking guix package}). For instance, the following command creates an archive containing the @code{gui} output of the @code{git} package and the main output of @code{emacs}:" +msgstr "" + +#. type: example +#: doc/guix.texi:2972 +#, no-wrap +msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2977 +msgid "If the specified packages are not built yet, @command{guix archive} automatically builds them. The build process may be controlled with the common build options (@pxref{Common Build Options})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2980 +msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:" +msgstr "" + +#. type: example +#: doc/guix.texi:2983 +#, no-wrap +msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:2988 +msgid "Similarly, a complete user profile may be transferred from one machine to another like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:2992 +#, no-wrap +msgid "" +"guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n" +" ssh the-machine guix-archive --import\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3002 +msgid "However, note that, in both examples, all of @code{emacs} and the profile as well as all of their dependencies are transferred (due to @code{-r}), regardless of what is already available in the store on the target machine. The @code{--missing} option can help figure out which items are missing from the target store. The @command{guix copy} command simplifies and optimizes this whole process, so this is probably what you should use in this case (@pxref{Invoking guix copy})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3003 +#, no-wrap +msgid "nar, archive format" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3004 +#, no-wrap +msgid "normalized archive (nar)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3014 +msgid "Archives are stored in the ``normalized archive'' or ``nar'' format, which is comparable in spirit to `tar', but with differences that make it more appropriate for our purposes. First, rather than recording all Unix metadata for each file, the nar format only mentions the file type (regular, directory, or symbolic link); Unix permissions and owner/group are dismissed. Second, the order in which directory entries are stored always follows the order of file names according to the C locale collation order. This makes archive production fully deterministic." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3020 +msgid "When exporting, the daemon digitally signs the contents of the archive, and that digital signature is appended. When importing, the daemon verifies the signature and rejects the import in case of an invalid signature or if the signing key is not authorized." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3022 +msgid "The main options are:" +msgstr "" + +#. type: item +#: doc/guix.texi:3024 +#, no-wrap +msgid "--export" +msgstr "" + +#. type: table +#: doc/guix.texi:3027 +msgid "Export the specified store files or packages (see below.) Write the resulting archive to the standard output." +msgstr "" + +#. type: table +#: doc/guix.texi:3030 +msgid "Dependencies are @emph{not} included in the output, unless @code{--recursive} is passed." +msgstr "" + +#. type: itemx +#: doc/guix.texi:3031 doc/guix.texi:6080 +#, no-wrap +msgid "-r" +msgstr "" + +#. type: item +#: doc/guix.texi:3032 doc/guix.texi:6079 +#, no-wrap +msgid "--recursive" +msgstr "" + +#. type: table +#: doc/guix.texi:3037 +msgid "When combined with @code{--export}, this instructs @command{guix archive} to include dependencies of the given items in the archive. Thus, the resulting archive is self-contained: it contains the closure of the exported store items." +msgstr "" + +#. type: item +#: doc/guix.texi:3038 +#, no-wrap +msgid "--import" +msgstr "" + +#. type: table +#: doc/guix.texi:3043 +msgid "Read an archive from the standard input, and import the files listed therein into the store. Abort if the archive has an invalid digital signature, or if it is signed by a public key not among the authorized keys (see @code{--authorize} below.)" +msgstr "" + +#. type: item +#: doc/guix.texi:3044 +#, no-wrap +msgid "--missing" +msgstr "" + +#. type: table +#: doc/guix.texi:3048 +msgid "Read a list of store file names from the standard input, one per line, and write on the standard output the subset of these files missing from the store." +msgstr "" + +#. type: item +#: doc/guix.texi:3049 +#, no-wrap +msgid "--generate-key[=@var{parameters}]" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3050 +#, no-wrap +msgid "signing, archives" +msgstr "" + +#. type: table +#: doc/guix.texi:3055 +msgid "Generate a new key pair for the daemon. This is a prerequisite before archives can be exported with @code{--export}. Note that this operation usually takes time, because it needs to gather enough entropy to generate the key pair." +msgstr "" + +#. type: table +#: doc/guix.texi:3065 +msgid "The generated key pair is typically stored under @file{/etc/guix}, in @file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, which must be kept secret.) When @var{parameters} is omitted, an ECDSA key using the Ed25519 curve is generated, or, for Libgcrypt versions before 1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:3066 +#, no-wrap +msgid "--authorize" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3067 +#, no-wrap +msgid "authorizing, archives" +msgstr "" + +#. type: table +#: doc/guix.texi:3071 +msgid "Authorize imports signed by the public key passed on standard input. The public key must be in ``s-expression advanced format''---i.e., the same format as the @file{signing-key.pub} file." +msgstr "" + +#. type: table +#: doc/guix.texi:3078 +msgid "The list of authorized keys is kept in the human-editable file @file{/etc/guix/acl}. The file contains @url{http://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format s-expressions''} and is structured as an access-control list in the @url{http://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure (SPKI)}." +msgstr "" + +#. type: item +#: doc/guix.texi:3079 +#, no-wrap +msgid "--extract=@var{directory}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:3080 +#, no-wrap +msgid "-x @var{directory}" +msgstr "" + +#. type: table +#: doc/guix.texi:3084 +msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and extract it to @var{directory}. This is a low-level operation needed in only very narrow use cases; see below." +msgstr "" + +#. type: table +#: doc/guix.texi:3087 +msgid "For example, the following command extracts the substitute for Emacs served by @code{hydra.gnu.org} to @file{/tmp/emacs}:" +msgstr "" + +#. type: example +#: doc/guix.texi:3092 +#, no-wrap +msgid "" +"$ wget -O - \\\n" +" https://hydra.gnu.org/nar/@dots{}-emacs-24.5 \\\n" +" | bunzip2 | guix archive -x /tmp/emacs\n" +msgstr "" + +#. type: table +#: doc/guix.texi:3099 +msgid "Single-item archives are different from multiple-item archives produced by @command{guix archive --export}; they contain a single store item, and they do @emph{not} embed a signature. Thus this operation does @emph{no} signature verification and its output should be considered unsafe." +msgstr "" + +#. type: table +#: doc/guix.texi:3102 +msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3115 +msgid "GNU Guix provides several Scheme programming interfaces (APIs) to define, build, and query packages. The first interface allows users to write high-level package definitions. These definitions refer to familiar packaging concepts, such as the name and version of a package, its build system, and its dependencies. These definitions can then be turned into concrete build actions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3121 +msgid "Build actions are performed by the Guix daemon, on behalf of users. In a standard setup, the daemon has write access to the store---the @file{/gnu/store} directory---whereas users do not. The recommended setup also has the daemon perform builds in chroots, under a specific build users, to minimize interference with the rest of the system." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3130 +msgid "Lower-level APIs are available to interact with the daemon and the store. To instruct the daemon to perform a build action, users actually provide it with a @dfn{derivation}. A derivation is a low-level representation of the build actions to be taken, and the environment in which they should occur---derivations are to package definitions what assembly is to C programs. The term ``derivation'' comes from the fact that build results @emph{derive} from them." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3133 +msgid "This chapter describes all these APIs in turn, starting from high-level package definitions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3150 +msgid "The high-level interface to package definitions is implemented in the @code{(guix packages)} and @code{(guix build-system)} modules. As an example, the package definition, or @dfn{recipe}, for the GNU Hello package looks like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:3158 +#, no-wrap +msgid "" +"(define-module (gnu packages hello)\n" +" #:use-module (guix packages)\n" +" #:use-module (guix download)\n" +" #:use-module (guix build-system gnu)\n" +" #:use-module (guix licenses)\n" +" #:use-module (gnu packages gawk))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:3177 +#, no-wrap +msgid "" +"(define-public hello\n" +" (package\n" +" (name \"hello\")\n" +" (version \"2.10\")\n" +" (source (origin\n" +" (method url-fetch)\n" +" (uri (string-append \"mirror://gnu/hello/hello-\" version\n" +" \".tar.gz\"))\n" +" (sha256\n" +" (base32\n" +" \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n" +" (build-system gnu-build-system)\n" +" (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n" +" (inputs `((\"gawk\" ,gawk)))\n" +" (synopsis \"Hello, GNU world: An example GNU package\")\n" +" (description \"Guess what GNU Hello prints!\")\n" +" (home-page \"http://www.gnu.org/software/hello/\")\n" +" (license gpl3+)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3187 +msgid "Without being a Scheme expert, the reader may have guessed the meaning of the various fields here. This expression binds the variable @code{hello} to a @code{} object, which is essentially a record (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). This package object can be inspected using procedures found in the @code{(guix packages)} module; for instance, @code{(package-name hello)} returns---surprise!---@code{\"hello\"}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3191 +msgid "With luck, you may be able to import part or all of the definition of the package you are interested in from another repository, using the @code{guix import} command (@pxref{Invoking guix import})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3197 +msgid "In the example above, @var{hello} is defined in a module of its own, @code{(gnu packages hello)}. Technically, this is not strictly necessary, but it is convenient to do so: all the packages defined in modules under @code{(gnu packages @dots{})} are automatically known to the command-line tools (@pxref{Package Modules})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3199 +msgid "There are a few points worth noting in the above package definition:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:3206 +msgid "The @code{source} field of the package is an @code{} object (@pxref{origin Reference}, for the complete reference). Here, the @code{url-fetch} method from @code{(guix download)} is used, meaning that the source is a file to be downloaded over FTP or HTTP." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3209 +msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3216 +msgid "The @code{sha256} field specifies the expected SHA256 hash of the file being downloaded. It is mandatory, and allows Guix to check the integrity of the file. The @code{(base32 @dots{})} form introduces the base32 representation of the hash. You can obtain this information with @code{guix download} (@pxref{Invoking guix download}) and @code{guix hash} (@pxref{Invoking guix hash})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3217 +#, no-wrap +msgid "patches" +msgstr "" + +#. type: itemize +#: doc/guix.texi:3221 +msgid "When needed, the @code{origin} form can also have a @code{patches} field listing patches to be applied, and a @code{snippet} field giving a Scheme expression to modify the source code." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3223 +#, no-wrap +msgid "GNU Build System" +msgstr "GNU-Erstellungssystem" + +#. type: itemize +#: doc/guix.texi:3229 +msgid "The @code{build-system} field specifies the procedure to build the package (@pxref{Build Systems}). Here, @var{gnu-build-system} represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3235 +msgid "The @code{arguments} field specifies options for the build system (@pxref{Build Systems}). Here it is interpreted by @var{gnu-build-system} as a request run @file{configure} with the @code{--enable-silent-rules} flag." +msgstr "" + +#. type: findex +#: doc/guix.texi:3236 doc/guix.texi:3239 +#, no-wrap +msgid "quote" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3237 +#, no-wrap +msgid "quoting" +msgstr "" + +#. type: findex +#: doc/guix.texi:3238 +#, no-wrap +msgid "'" +msgstr "" + +#. type: itemize +#: doc/guix.texi:3247 +msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3253 +msgid "The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and @code{#:configure-flags} is a keyword used to pass a keyword argument to the build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3259 +msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @var{gawk} variable; @var{gawk} is itself bound to a @code{} object." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3260 +#, no-wrap +msgid "backquote (quasiquote)" +msgstr "" + +#. type: findex +#: doc/guix.texi:3261 +#, no-wrap +msgid "`" +msgstr "" + +#. type: findex +#: doc/guix.texi:3262 +#, no-wrap +msgid "quasiquote" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3263 +#, no-wrap +msgid "comma (unquote)" +msgstr "" + +#. type: findex +#: doc/guix.texi:3264 +#, no-wrap +msgid "," +msgstr "" + +#. type: findex +#: doc/guix.texi:3265 +#, no-wrap +msgid "unquote" +msgstr "" + +#. type: findex +#: doc/guix.texi:3266 +#, no-wrap +msgid ",@@" +msgstr "" + +#. type: findex +#: doc/guix.texi:3267 +#, no-wrap +msgid "unquote-splicing" +msgstr "" + +#. type: itemize +#: doc/guix.texi:3273 +msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3277 +msgid "Note that GCC, Coreutils, Bash, and other essential tools do not need to be specified as inputs here. Instead, @var{gnu-build-system} takes care of ensuring that they are present (@pxref{Build Systems})." +msgstr "" + +#. type: itemize +#: doc/guix.texi:3281 +msgid "However, any other dependencies need to be specified in the @code{inputs} field. Any dependency not specified here will simply be unavailable to the build process, possibly leading to a build failure." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3284 +msgid "@xref{package Reference}, for a full description of possible fields." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3295 +msgid "Once a package definition is in place, the package may actually be built using the @code{guix build} command-line tool (@pxref{Invoking guix build}), troubleshooting any build failures you encounter (@pxref{Debugging Build Failures}). You can easily jump back to the package definition using the @command{guix edit} command (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, for more information on how to test package definitions, and @ref{Invoking guix lint}, for information on how to check a definition for style conformance." +msgstr "" + +#. type: vindex +#: doc/guix.texi:3295 +#, no-wrap +msgid "GUIX_PACKAGE_PATH" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3299 +msgid "Lastly, @pxref{Package Modules}, for information on how to extend the distribution by adding your own package definitions to @code{GUIX_PACKAGE_PATH}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3303 +msgid "Finally, updating the package definition to a new upstream version can be partly automated by the @command{guix refresh} command (@pxref{Invoking guix refresh})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3309 +msgid "Behind the scenes, a derivation corresponding to the @code{} object is first computed by the @code{package-derivation} procedure. That derivation is stored in a @code{.drv} file under @file{/gnu/store}. The build actions it prescribes may then be realized by using the @code{build-derivations} procedure (@pxref{The Store})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:3310 +#, no-wrap +msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:3313 +msgid "Return the @code{} object of @var{package} for @var{system} (@pxref{Derivations})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:3319 +msgid "@var{package} must be a valid @code{} object, and @var{system} must be a string denoting the target system type---e.g., @code{\"x86_64-linux\"} for an x86_64 Linux-based GNU system. @var{store} must be a connection to the daemon, which operates on the store (@pxref{The Store})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3325 +msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:" +msgstr "" + +#. type: deffn +#: doc/guix.texi:3326 +#, no-wrap +msgid "{Scheme Procedure} package-cross-derivation @var{store} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:3330 +msgid "@var{package} @var{target} [@var{system}] Return the @code{} object of @var{package} cross-built from @var{system} to @var{target}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:3335 +msgid "@var{target} must be a valid GNU triplet denoting the target hardware and operating system, such as @code{\"mips64el-linux-gnu\"} (@pxref{Configuration Names, GNU configuration triplets,, configure, GNU Configure and Build System})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3337 +#, no-wrap +msgid "package transformations" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3338 +#, no-wrap +msgid "input rewriting" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3339 +#, no-wrap +msgid "dependency tree rewriting" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3343 +msgid "Packages can be manipulated in arbitrary ways. An example of a useful transformation is @dfn{input rewriting}, whereby the dependency tree of a package is rewritten by replacing specific inputs by others:" +msgstr "" + +#. type: deffn +#: doc/guix.texi:3344 +#, no-wrap +msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:3351 +msgid "[@var{rewrite-name}] Return a procedure that, when passed a package, replaces its direct and indirect dependencies (but not its implicit inputs) according to @var{replacements}. @var{replacements} is a list of package pairs; the first element of each pair is the package to replace, and the second one is the replacement." +msgstr "" + +#. type: deffn +#: doc/guix.texi:3354 +msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3358 +msgid "Consider this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:3364 +#, no-wrap +msgid "" +"(define libressl-instead-of-openssl\n" +" ;; This is a procedure to replace OPENSSL by LIBRESSL,\n" +" ;; recursively.\n" +" (package-input-rewriting `((,openssl . ,libressl))))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:3367 +#, no-wrap +msgid "" +"(define git-with-libressl\n" +" (libressl-instead-of-openssl git))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3375 +msgid "Here we first define a rewriting procedure that replaces @var{openssl} with @var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} package that uses @var{libressl} instead of @var{openssl}. This is exactly what the @option{--with-input} command-line option does (@pxref{Package Transformation Options, @option{--with-input}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3379 +msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph." +msgstr "" + +#. type: deffn +#: doc/guix.texi:3380 +#, no-wrap +msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:3384 +msgid "Return a procedure that, given a package, applies @var{proc} to all the packages depended on and returns the resulting package. The procedure stops recursion when @var{cut?} returns true for a given package." +msgstr "" + +#. type: subsection +#: doc/guix.texi:3393 +#, no-wrap +msgid "@code{package} Reference" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3397 +msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:3398 +#, no-wrap +msgid "{Data Type} package" +msgstr "" + +#. type: deftp +#: doc/guix.texi:3400 +msgid "This is the data type representing a package recipe." +msgstr "" + +#. type: table +#: doc/guix.texi:3404 +msgid "The name of the package, as a string." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:3405 +#, no-wrap +msgid "version" +msgstr "" + +#. type: table +#: doc/guix.texi:3407 +msgid "The version of the package, as a string." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:3408 doc/guix.texi:6743 doc/guix.texi:9281 doc/guix.texi:9569 +#, no-wrap +msgid "source" +msgstr "" + +#. type: table +#: doc/guix.texi:3415 +msgid "An object telling how the source code for the package should be acquired. Most of the time, this is an @code{origin} object, which denotes a file fetched from the Internet (@pxref{origin Reference}). It can also be any other ``file-like'' object such as a @code{local-file}, which denotes a file from the local file system (@pxref{G-Expressions, @code{local-file}})." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:3416 +#, no-wrap +msgid "build-system" +msgstr "" + +#. type: table +#: doc/guix.texi:3419 +msgid "The build system that should be used to build the package (@pxref{Build Systems})." +msgstr "" + +#. type: item +#: doc/guix.texi:3420 doc/guix.texi:11018 +#, no-wrap +msgid "@code{arguments} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:3423 +msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs." +msgstr "" + +#. type: item +#: doc/guix.texi:3424 +#, no-wrap +msgid "@code{inputs} (default: @code{'()})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:3425 +#, no-wrap +msgid "@code{native-inputs} (default: @code{'()})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:3426 +#, no-wrap +msgid "@code{propagated-inputs} (default: @code{'()})" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3427 +#, no-wrap +msgid "inputs, of packages" +msgstr "" + +#. type: table +#: doc/guix.texi:3435 +msgid "These fields list dependencies of the package. Each one is a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:" +msgstr "" + +#. type: example +#: doc/guix.texi:3440 +#, no-wrap +msgid "" +"`((\"libffi\" ,libffi)\n" +" (\"libunistring\" ,libunistring)\n" +" (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3442 +#, no-wrap +msgid "cross compilation, package dependencies" +msgstr "" + +#. type: table +#: doc/guix.texi:3448 +msgid "The distinction between @code{native-inputs} and @code{inputs} is necessary when considering cross-compilation. When cross-compiling, dependencies listed in @code{inputs} are built for the @emph{target} architecture; conversely, dependencies listed in @code{native-inputs} are built for the architecture of the @emph{build} machine." +msgstr "" + +#. type: table +#: doc/guix.texi:3453 +msgid "@code{native-inputs} is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison. @command{guix lint} can report likely mistakes in this area (@pxref{Invoking guix lint})." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:3460 +msgid "package-propagated-inputs" +msgstr "" + +#. type: table +#: doc/guix.texi:3460 +msgid "Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the specified packages will be automatically installed alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs.)" +msgstr "" + +#. type: table +#: doc/guix.texi:3464 +msgid "For example this is necessary when a C/C++ library needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field." +msgstr "" + +#. type: table +#: doc/guix.texi:3471 +msgid "Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. To ensure that libraries written in those languages can find library code they depend on at run time, run-time dependencies must be listed in @code{propagated-inputs} rather than @code{inputs}." +msgstr "" + +#. type: item +#: doc/guix.texi:3472 +#, no-wrap +msgid "@code{self-native-input?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:3475 +msgid "This is a Boolean field telling whether the package should use itself as a native input when cross-compiling." +msgstr "" + +#. type: item +#: doc/guix.texi:3476 +#, no-wrap +msgid "@code{outputs} (default: @code{'(\"out\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:3479 +msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs." +msgstr "" + +#. type: item +#: doc/guix.texi:3480 +#, no-wrap +msgid "@code{native-search-paths} (default: @code{'()})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:3481 +#, no-wrap +msgid "@code{search-paths} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:3484 +msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package." +msgstr "" + +#. type: item +#: doc/guix.texi:3485 +#, no-wrap +msgid "@code{replacement} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:3489 +msgid "This must be either @code{#f} or a package object that will be used as a @dfn{replacement} for this package. @xref{Security Updates, grafts}, for details." +msgstr "" + +#. type: item +#: doc/guix.texi:3490 doc/guix.texi:6735 +#, no-wrap +msgid "synopsis" +msgstr "synopsis" + +#. type: table +#: doc/guix.texi:3492 +msgid "A one-line description of the package." +msgstr "Eine einzeilige Beschreibung des Pakets." + +#. type: item +#: doc/guix.texi:3493 doc/guix.texi:6736 doc/guix.texi:21027 +#, no-wrap +msgid "description" +msgstr "description" + +#. type: table +#: doc/guix.texi:3495 +msgid "A more elaborate description of the package." +msgstr "Eine ausführlichere Beschreibung des Pakets." + +#. type: code{#1} +#: doc/guix.texi:3496 +#, no-wrap +msgid "license" +msgstr "license" + +#. type: cindex +#: doc/guix.texi:3497 +#, no-wrap +msgid "license, of packages" +msgstr "" + +#. type: table +#: doc/guix.texi:3500 +msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values." +msgstr "" + +#. type: itemx +#: doc/guix.texi:3501 doc/guix.texi:6744 +#, no-wrap +msgid "home-page" +msgstr "" + +#. type: table +#: doc/guix.texi:3503 +msgid "The URL to the home-page of the package, as a string." +msgstr "" + +#. type: item +#: doc/guix.texi:3504 +#, no-wrap +msgid "@code{supported-systems} (default: @var{%supported-systems})" +msgstr "" + +#. type: table +#: doc/guix.texi:3507 +msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}." +msgstr "" + +#. type: item +#: doc/guix.texi:3508 +#, no-wrap +msgid "@code{maintainers} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:3510 +msgid "The list of maintainers of the package, as @code{maintainer} objects." +msgstr "" + +#. type: item +#: doc/guix.texi:3511 +#, no-wrap +msgid "@code{location} (default: source location of the @code{package} form)" +msgstr "" + +#. type: table +#: doc/guix.texi:3515 +msgid "The source location of the package. It is useful to override this when inheriting from another package, in which case this field is not automatically corrected." +msgstr "" + +#. type: subsection +#: doc/guix.texi:3520 +#, no-wrap +msgid "@code{origin} Reference" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3524 +msgid "This section summarizes all the options available in @code{origin} declarations (@pxref{Defining Packages})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:3525 +#, no-wrap +msgid "{Data Type} origin" +msgstr "" + +#. type: deftp +#: doc/guix.texi:3527 +msgid "This is the data type representing a source code origin." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:3529 doc/guix.texi:15696 +#, no-wrap +msgid "uri" +msgstr "" + +#. type: table +#: doc/guix.texi:3534 +msgid "An object containing the URI of the source. The object type depends on the @code{method} (see below). For example, when using the @var{url-fetch} method of @code{(guix download)}, the valid @code{uri} values are: a URL represented as a string, or a list thereof." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:3535 +#, no-wrap +msgid "method" +msgstr "" + +#. type: table +#: doc/guix.texi:3537 +msgid "A procedure that handles the URI." +msgstr "" + +#. type: table +#: doc/guix.texi:3539 +msgid "Examples include:" +msgstr "" + +#. type: item +#: doc/guix.texi:3541 +#, no-wrap +msgid "@var{url-fetch} from @code{(guix download)}" +msgstr "" + +#. type: table +#: doc/guix.texi:3544 +msgid "download a file from the HTTP, HTTPS, or FTP URL specified in the @code{uri} field;" +msgstr "" + +#. type: vindex +#: doc/guix.texi:3545 doc/guix.texi:6097 +#, no-wrap +msgid "git-fetch" +msgstr "git-fetch" + +#. type: item +#: doc/guix.texi:3546 +#, no-wrap +msgid "@var{git-fetch} from @code{(guix git-download)}" +msgstr "" + +#. type: table +#: doc/guix.texi:3550 +msgid "clone the Git version control repository, and check out the revision specified in the @code{uri} field as a @code{git-reference} object; a @code{git-reference} looks like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:3555 +#, no-wrap +msgid "" +"(git-reference\n" +" (url \"git://git.debian.org/git/pkg-shadow/shadow\")\n" +" (commit \"v4.1.5.1\"))\n" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:3558 +#, no-wrap +msgid "sha256" +msgstr "sha256" + +#. type: table +#: doc/guix.texi:3562 +msgid "A bytevector containing the SHA-256 hash of the source. Typically the @code{base32} form is used here to generate the bytevector from a base-32 string." +msgstr "" + +#. type: table +#: doc/guix.texi:3566 +msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})." +msgstr "" + +#. type: item +#: doc/guix.texi:3567 +#, no-wrap +msgid "@code{file-name} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:3573 +msgid "The file name under which the source code should be saved. When this is @code{#f}, a sensible default value will be used in most cases. In case the source is fetched from a URL, the file name from the URL will be used. For version control checkouts, it is recommended to provide the file name explicitly because the default is not very descriptive." +msgstr "" + +#. type: item +#: doc/guix.texi:3574 +#, no-wrap +msgid "@code{patches} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:3577 +msgid "A list of file names, origins, or file-like objects (@pxref{G-Expressions, file-like objects}) pointing to patches to be applied to the source." +msgstr "" + +#. type: table +#: doc/guix.texi:3581 +msgid "This list of patches must be unconditional. In particular, it cannot depend on the value of @code{%current-system} or @code{%current-target-system}." +msgstr "" + +#. type: item +#: doc/guix.texi:3582 +#, no-wrap +msgid "@code{snippet} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:3586 +msgid "A G-expression (@pxref{G-Expressions}) or S-expression that will be run in the source directory. This is a convenient way to modify the source, sometimes more convenient than a patch." +msgstr "" + +#. type: item +#: doc/guix.texi:3587 +#, no-wrap +msgid "@code{patch-flags} (default: @code{'(\"-p1\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:3590 +msgid "A list of command-line flags that should be passed to the @code{patch} command." +msgstr "" + +#. type: item +#: doc/guix.texi:3591 +#, no-wrap +msgid "@code{patch-inputs} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:3595 +msgid "Input packages or derivations to the patching process. When this is @code{#f}, the usual set of inputs necessary for patching are provided, such as GNU@tie{}Patch." +msgstr "" + +#. type: item +#: doc/guix.texi:3596 +#, no-wrap +msgid "@code{modules} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:3599 +msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field." +msgstr "" + +#. type: item +#: doc/guix.texi:3600 +#, no-wrap +msgid "@code{patch-guile} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:3603 +msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3610 +#, no-wrap +msgid "build system" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3615 +msgid "Each package definition specifies a @dfn{build system} and arguments for that build system (@pxref{Defining Packages}). This @code{build-system} field represents the build procedure of the package, as well as implicit dependencies of that build procedure." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3619 +msgid "Build systems are @code{} objects. The interface to create and manipulate them is provided by the @code{(guix build-system)} module, and actual build systems are exported by specific modules." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3620 +#, no-wrap +msgid "bag (low-level package representation)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3627 +msgid "Under the hood, build systems first compile package objects to @dfn{bags}. A @dfn{bag} is like a package, but with less ornamentation---in other words, a bag is a lower-level representation of a package, which includes all the inputs of that package, including some that were implicitly added by the build system. This intermediate representation is then compiled to a derivation (@pxref{Derivations})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3635 +msgid "Build systems accept an optional list of @dfn{arguments}. In package definitions, these are passed @i{via} the @code{arguments} field (@pxref{Defining Packages}). They are typically keyword arguments (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). The value of these arguments is usually evaluated in the @dfn{build stratum}---i.e., by a Guile process launched by the daemon (@pxref{Derivations})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3639 +msgid "The main build system is @var{gnu-build-system}, which implements the standard build procedure for GNU and many other packages. It is provided by the @code{(guix build-system gnu)} module." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3640 +#, no-wrap +msgid "{Scheme Variable} gnu-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3644 +msgid "@var{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:3645 +#, no-wrap +msgid "build phases" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3652 +msgid "In a nutshell, packages using it are configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence. In practice, a few additional steps are often needed. All these steps are split up in separate @dfn{phases}, notably@footnote{Please see the @code{(guix build gnu-build-system)} modules for more details about the build phases.}:" +msgstr "" + +#. type: item +#: doc/guix.texi:3654 +#, no-wrap +msgid "unpack" +msgstr "" + +#. type: table +#: doc/guix.texi:3658 +msgid "Unpack the source tarball, and change the current directory to the extracted source tree. If the source is actually a directory, copy it to the build tree, and enter that directory." +msgstr "" + +#. type: item +#: doc/guix.texi:3659 +#, no-wrap +msgid "patch-source-shebangs" +msgstr "" + +#. type: table +#: doc/guix.texi:3663 +msgid "Patch shebangs encountered in source files so they refer to the right store file names. For instance, this changes @code{#!/bin/sh} to @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}." +msgstr "" + +#. type: item +#: doc/guix.texi:3664 doc/guix.texi:4130 +#, no-wrap +msgid "configure" +msgstr "" + +#. type: table +#: doc/guix.texi:3668 +msgid "Run the @file{configure} script with a number of default options, such as @code{--prefix=/gnu/store/@dots{}}, as well as the options specified by the @code{#:configure-flags} argument." +msgstr "" + +#. type: item +#: doc/guix.texi:3669 doc/guix.texi:4135 doc/guix.texi:20437 +#, no-wrap +msgid "build" +msgstr "" + +#. type: table +#: doc/guix.texi:3673 +msgid "Run @code{make} with the list of flags specified with @code{#:make-flags}. If the @code{#:parallel-build?} argument is true (the default), build with @code{make -j}." +msgstr "" + +#. type: item +#: doc/guix.texi:3674 doc/guix.texi:4139 +#, no-wrap +msgid "check" +msgstr "" + +#. type: table +#: doc/guix.texi:3679 +msgid "Run @code{make check}, or some other target specified with @code{#:test-target}, unless @code{#:tests? #f} is passed. If the @code{#:parallel-tests?} argument is true (the default), run @code{make check -j}." +msgstr "" + +#. type: item +#: doc/guix.texi:3680 doc/guix.texi:4143 +#, no-wrap +msgid "install" +msgstr "" + +#. type: table +#: doc/guix.texi:3682 +msgid "Run @code{make install} with the flags listed in @code{#:make-flags}." +msgstr "" + +#. type: item +#: doc/guix.texi:3683 +#, no-wrap +msgid "patch-shebangs" +msgstr "" + +#. type: table +#: doc/guix.texi:3685 +msgid "Patch shebangs on the installed executable files." +msgstr "" + +#. type: item +#: doc/guix.texi:3686 +#, no-wrap +msgid "strip" +msgstr "" + +#. type: table +#: doc/guix.texi:3690 +msgid "Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is false), copying them to the @code{debug} output when available (@pxref{Installing Debugging Files})." +msgstr "" + +#. type: vindex +#: doc/guix.texi:3692 +#, no-wrap +msgid "%standard-phases" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3697 +msgid "The build-side module @code{(guix build gnu-build-system)} defines @var{%standard-phases} as the default list of build phases. @var{%standard-phases} is a list of symbol/procedure pairs, where the procedure implements the actual phase." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3700 +msgid "The list of phases used for a particular package can be changed with the @code{#:phases} parameter. For instance, passing:" +msgstr "" + +#. type: example +#: doc/guix.texi:3703 +#, no-wrap +msgid "#:phases (modify-phases %standard-phases (delete 'configure))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3707 +msgid "means that all the phases described above will be used, except the @code{configure} phase." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3714 +msgid "In addition, this build system ensures that the ``standard'' environment for GNU packages is available. This includes tools such as GCC, libc, Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix build-system gnu)} module for a complete list). We call these the @dfn{implicit inputs} of a package, because package definitions do not have to mention them." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:3721 +msgid "Other @code{} objects are defined to support other conventions and tools used by free software packages. They inherit most of @var{gnu-build-system}, and differ mainly in the set of inputs implicitly added to the build process, and in the list of phases executed. Some of these build systems are listed below." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3722 +#, no-wrap +msgid "{Scheme Variable} ant-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3726 +msgid "This variable is exported by @code{(guix build-system ant)}. It implements the build procedure for Java packages that can be built with @url{http://ant.apache.org/, Ant build tool}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3731 +msgid "It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided by the @code{icedtea} package to the set of inputs. Different packages can be specified with the @code{#:ant} and @code{#:jdk} parameters, respectively." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3737 +msgid "When the original package does not provide a suitable Ant build file, the parameter @code{#:jar-name} can be used to generate a minimal Ant build file @file{build.xml} with tasks to build the specified jar archive. In this case the parameter @code{#:source-dir} can be used to specify the source sub-directory, defaulting to ``src''." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3745 +msgid "The @code{#:main-class} parameter can be used with the minimal ant buildfile to specify the main class of the resulting jar. This makes the jar file executable. The @code{#:test-include} parameter can be used to specify the list of junit tests to run. It defaults to @code{(list \"**/*Test.java\")}. The @code{#:test-exclude} can be used to disable some tests. It defaults to @code{(list \"**/Abstract*.java\")}, because abstract classes cannot be run as tests." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3749 +msgid "The parameter @code{#:build-target} can be used to specify the Ant task that should be run during the @code{build} phase. By default the ``jar'' task will be run." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3752 +#, no-wrap +msgid "{Scheme Variable} asdf-build-system/source" +msgstr "" + +#. type: defvrx +#: doc/guix.texi:3753 +#, no-wrap +msgid "{Scheme Variable} asdf-build-system/sbcl" +msgstr "" + +#. type: defvrx +#: doc/guix.texi:3754 +#, no-wrap +msgid "{Scheme Variable} asdf-build-system/ecl" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3760 +msgid "These variables, exported by @code{(guix build-system asdf)}, implement build procedures for Common Lisp packages using @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system definition facility for Common Lisp programs and libraries." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3767 +msgid "The @code{asdf-build-system/source} system installs the packages in source form, and can be loaded using any common lisp implementation, via ASDF. The others, such as @code{asdf-build-system/sbcl}, install binary systems in the format which a particular implementation understands. These build systems can also be used to produce executable programs, or lisp images which contain a set of packages pre-loaded." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3771 +msgid "The build system uses naming conventions. For binary packages, the package name should be prefixed with the lisp implementation, such as @code{sbcl-} for @code{asdf-build-system/sbcl}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3775 +msgid "Additionally, the corresponding source package should be labeled using the same convention as python packages (see @ref{Python Modules}), using the @code{cl-} prefix." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3780 +msgid "For binary packages, each system should be defined as a Guix package. If one package @code{origin} contains several systems, package variants can be created in order to build all the systems. Source packages, which use @code{asdf-build-system/source}, may contain several systems." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3787 +msgid "In order to create executable programs and images, the build-side procedures @code{build-program} and @code{build-image} can be used. They should be called in a build phase after the @code{create-symlinks} phase, so that the system which was just built can be used within the resulting image. @code{build-program} requires a list of Common Lisp expressions to be passed as the @code{#:entry-program} argument." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3796 +msgid "If the system is not defined within its own @code{.asd} file of the same name, then the @code{#:asd-file} parameter should be used to specify which file the system is defined in. Furthermore, if the package defines a system for its tests in a separate file, it will be loaded before the tests are run if it is specified by the @code{#:test-asd-file} parameter. If it is not set, the files @code{-tests.asd}, @code{-test.asd}, @code{tests.asd}, and @code{test.asd} will be tried if they exist." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3800 +msgid "If for some reason the package must be named in a different way than the naming conventions suggest, the @code{#:asd-system-name} parameter can be used to specify the name of the system." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3803 +#, no-wrap +msgid "{Scheme Variable} cargo-build-system" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3804 +#, no-wrap +msgid "Rust programming language" +msgstr "" + +#. type: cindex +#: doc/guix.texi:3805 +#, no-wrap +msgid "Cargo (Rust build system)" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3809 +msgid "This variable is exported by @code{(guix build-system cargo)}. It supports builds of packages using Cargo, the build tool of the @uref{https://www.rust-lang.org, Rust programming language}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3814 +msgid "In its @code{configure} phase, this build system replaces dependencies specified in the @file{Carto.toml} file with inputs to the Guix package. The @code{install} phase installs the binaries, and it also installs the source code and @file{Cargo.toml} file." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3816 +#, no-wrap +msgid "{Scheme Variable} cmake-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3820 +msgid "This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @url{http://www.cmake.org, CMake build tool}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3824 +msgid "It automatically adds the @code{cmake} package to the set of inputs. Which package is used can be specified with the @code{#:cmake} parameter." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3831 +msgid "The @code{#:configure-flags} parameter is taken as a list of flags passed to the @command{cmake} command. The @code{#:build-type} parameter specifies in abstract terms the flags passed to the compiler; it defaults to @code{\"RelWithDebInfo\"} (short for ``release mode with debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3833 +#, no-wrap +msgid "{Scheme Variable} go-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3838 +msgid "This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go build mechanisms}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3849 +msgid "The user is expected to provide a value for the key @code{#:import-path} and, in some cases, @code{#:unpack-path}. The @url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds to the file system path expected by the package's build scripts and any referring packages, and provides a unique way to refer to a Go package. It is typically based on a combination of the package source code's remote URI and file system hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3854 +msgid "Packages that provide Go libraries should be installed along with their source code. The key @code{#:install-source?}, which defaults to @code{#t}, controls whether or not the source code is installed. It can be set to @code{#f} for packages that only provide executable files." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3856 +#, no-wrap +msgid "{Scheme Variable} glib-or-gtk-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3859 +msgid "This variable is exported by @code{(guix build-system glib-or-gtk)}. It is intended for use with packages making use of GLib or GTK+." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3862 +msgid "This build system adds the following two phases to the ones defined by @var{gnu-build-system}:" +msgstr "" + +#. type: item +#: doc/guix.texi:3864 doc/guix.texi:4159 +#, no-wrap +msgid "glib-or-gtk-wrap" +msgstr "" + +#. type: table +#: doc/guix.texi:3871 +msgid "The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are able to find GLib ``schemas'' and @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ modules}. This is achieved by wrapping the programs in launch scripts that appropriately set the @code{XDG_DATA_DIRS} and @code{GTK_PATH} environment variables." +msgstr "" + +#. type: table +#: doc/guix.texi:3878 +msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any GLib or GTK+ binaries, and where wrapping would gratuitously add a dependency of that output on GLib and GTK+." +msgstr "" + +#. type: item +#: doc/guix.texi:3879 doc/guix.texi:4163 +#, no-wrap +msgid "glib-or-gtk-compile-schemas" +msgstr "" + +#. type: table +#: doc/guix.texi:3887 +msgid "The phase @code{glib-or-gtk-compile-schemas} makes sure that all @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, GSettings schemas} of GLib are compiled. Compilation is performed by the @command{glib-compile-schemas} program. It is provided by the package @code{glib:bin} which is automatically imported by the build system. The @code{glib} package providing @command{glib-compile-schemas} can be specified with the @code{#:glib} parameter." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3890 +msgid "Both phases are executed after the @code{install} phase." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3892 +#, no-wrap +msgid "{Scheme Variable} minify-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3895 +msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3901 +msgid "It adds @code{uglify-js} to the set of inputs and uses it to compress all JavaScript files in the @file{src} directory. A different minifier package can be specified with the @code{#:uglify-js} parameter, but it is expected that the package writes the minified code to the standard output." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3905 +msgid "When the input JavaScript files are not all located in the @file{src} directory, the parameter @code{#:javascript-files} can be used to specify a list of file names to feed to the minifier." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3907 +#, no-wrap +msgid "{Scheme Variable} ocaml-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3913 +msgid "This variable is exported by @code{(guix build-system ocaml)}. It implements a build procedure for @uref{https://ocaml.org, OCaml} packages, which consists of choosing the correct set of commands to run for each package. OCaml packages can expect many different commands to be run. This build system will try some of them." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3923 +msgid "When the package has a @file{setup.ml} file present at the top-level, it will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and @code{ocaml setup.ml -install}. The build system will assume that this file was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will take care of setting the prefix and enabling tests if they are not disabled. You can pass configure and build flags with the @code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} key can be passed to change the set of flags used to enable tests. The @code{#:use-make?} key can be used to bypass this system in the build and install phases." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3928 +msgid "When the package has a @file{configure} file, it is assumed that it is a hand-made configure script that requires a different argument format than in the @code{gnu-build-system}. You can add more flags with the @code{#:configure-flags} key." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3932 +msgid "When the package has a @file{Makefile} file (or @code{#:use-make?} is @code{#t}), it will be used and more flags can be passed to the build and install phases with the @code{#:make-flags} key." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3940 +msgid "Finally, some packages do not have these files and use a somewhat standard location for its build system. In that case, the build system will run @code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of providing the path to the required findlib module. Additional flags can be passed via the @code{#:build-flags} key. Install is taken care of by @command{opam-installer}. In this case, the @code{opam} package must be added to the @code{native-inputs} field of the package definition." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3948 +msgid "Note that most OCaml packages assume they will be installed in the same directory as OCaml, which is not what we want in guix. In particular, they will install @file{.so} files in their module's directory, which is usually fine because it is in the OCaml compiler directory. In guix though, these libraries cannot be found and we use @code{CAML_LD_LIBRARY_PATH}. This variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where @file{.so} libraries should be installed." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3950 +#, no-wrap +msgid "{Scheme Variable} python-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3955 +msgid "This variable is exported by @code{(guix build-system python)}. It implements the more or less standard build procedure used by Python packages, which consists in running @code{python setup.py build} and then @code{python setup.py install --prefix=/gnu/store/@dots{}}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3959 +msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @code{PYTHONPATH} environment variable points to all the Python libraries they depend on." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3965 +msgid "Which Python package is used to perform the build can be specified with the @code{#:python} parameter. This is a useful way to force a package to be built for a specific version of the Python interpreter, which might be necessary if the package is only compatible with a single interpreter version." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3970 +msgid "By default guix calls @code{setup.py} under control of @code{setuptools}, much like @command{pip} does. Some packages are not compatible with setuptools (and pip), thus you can disable this by setting the @code{#:use-setuptools} parameter to @code{#f}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3972 +#, no-wrap +msgid "{Scheme Variable} perl-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:3984 +msgid "This variable is exported by @code{(guix build-system perl)}. It implements the standard build procedure for Perl packages, which either consists in running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by @code{Build} and @code{Build install}; or in running @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, depending on which of @code{Build.PL} or @code{Makefile.PL} is present in the package distribution. Preference is given to the former if both @code{Build.PL} and @code{Makefile.PL} exist in the package distribution. This preference can be reversed by specifying @code{#t} for the @code{#:make-maker?} parameter." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3988 +msgid "The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation passes flags specified by the @code{#:make-maker-flags} or @code{#:module-build-flags} parameter, respectively." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3990 +msgid "Which Perl package is used can be specified with @code{#:perl}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:3992 +#, no-wrap +msgid "{Scheme Variable} r-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4000 +msgid "This variable is exported by @code{(guix build-system r)}. It implements the build procedure used by @uref{http://r-project.org, R} packages, which essentially is little more than running @code{R CMD INSTALL --library=/gnu/store/@dots{}} in an environment where @code{R_LIBS_SITE} contains the paths to all R package inputs. Tests are run after installation using the R function @code{tools::testInstalledPackage}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4002 +#, no-wrap +msgid "{Scheme Variable} texlive-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4007 +msgid "This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The build system sets the @code{TEXINPUTS} variable to find all TeX source files in the inputs." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4016 +msgid "By default it runs @code{luatex} on all files ending on @code{ins}. A different engine and format can be specified with the @code{#:tex-format} argument. Different build targets can be specified with the @code{#:build-targets} argument, which expects a list of file names. The build system adds only @code{texlive-bin} and @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the inputs. Both can be overridden with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, respectively." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4019 +msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4021 +#, no-wrap +msgid "{Scheme Variable} ruby-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4025 +msgid "This variable is exported by @code{(guix build-system ruby)}. It implements the RubyGems build procedure used by Ruby packages, which involves running @code{gem build} followed by @code{gem install}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4033 +msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4037 +msgid "Which Ruby package is used can be specified with the @code{#:ruby} parameter. A list of additional flags to be passed to the @command{gem} command can be specified with the @code{#:gem-flags} parameter." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4039 +#, no-wrap +msgid "{Scheme Variable} waf-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4045 +msgid "This variable is exported by @code{(guix build-system waf)}. It implements a build procedure around the @code{waf} script. The common phases---@code{configure}, @code{build}, and @code{install}---are implemented by passing their names as arguments to the @code{waf} script." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4049 +msgid "The @code{waf} script is executed by the Python interpreter. Which Python package is used to run the script can be specified with the @code{#:python} parameter." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4051 +#, no-wrap +msgid "{Scheme Variable} scons-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4057 +msgid "This variable is exported by @code{(guix build-system scons)}. It implements the build procedure used by the SCons software construction tool. This build system runs @code{scons} to build the package, @code{scons test} to run tests, and then @code{scons install} to install the package." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4062 +msgid "Additional flags to be passed to @code{scons} can be specified with the @code{#:scons-flags} parameter. The version of Python used to run SCons can be specified by selecting the appropriate SCons package with the @code{#:scons} parameter." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4064 +#, no-wrap +msgid "{Scheme Variable} haskell-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4078 +msgid "This variable is exported by @code{(guix build-system haskell)}. It implements the Cabal build procedure used by Haskell packages, which involves running @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead of installing the package by running @code{runhaskell Setup.hs install}, to avoid trying to register libraries in the read-only compiler store directory, the build system uses @code{runhaskell Setup.hs copy}, followed by @code{runhaskell Setup.hs register}. In addition, the build system generates the package documentation by running @code{runhaskell Setup.hs haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock parameters can be passed with the help of the @code{#:haddock-flags} parameter. If the file @code{Setup.hs} is not found, the build system looks for @code{Setup.lhs} instead." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4081 +msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4083 +#, no-wrap +msgid "{Scheme Variable} dub-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4088 +msgid "This variable is exported by @code{(guix build-system dub)}. It implements the Dub build procedure used by D packages, which involves running @code{dub build} and @code{dub run}. Installation is done by copying the files manually." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4091 +msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4093 +#, no-wrap +msgid "{Scheme Variable} emacs-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4097 +msgid "This variable is exported by @code{(guix build-system emacs)}. It implements an installation procedure similar to the packaging system of Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4104 +msgid "It first creates the @code{@var{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard documentation directory and the @file{dir} file is deleted. Each package is installed in its own directory under @file{share/emacs/site-lisp/guix.d}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4106 +#, no-wrap +msgid "{Scheme Variable} font-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4112 +msgid "This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream provides pre-compiled TrueType, OpenType, etc. font files that merely need to be copied into place. It copies font files to standard locations in the output directory." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4114 +#, no-wrap +msgid "{Scheme Variable} meson-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4118 +msgid "This variable is exported by @code{(guix build-system meson)}. It implements the build procedure for packages that use @url{http://mesonbuild.com, Meson} as their build system." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4124 +msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4127 +msgid "This build system is an extension of @var{gnu-build-system}, but with the following phases changed to some specific for Meson:" +msgstr "" + +#. type: table +#: doc/guix.texi:4134 +msgid "The phase runs @code{meson} with the flags specified in @code{#:configure-flags}. The flag @code{--build-type} is always set to @code{plain} unless something else is specified in @code{#:build-type}." +msgstr "" + +#. type: table +#: doc/guix.texi:4138 +msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}." +msgstr "" + +#. type: table +#: doc/guix.texi:4142 +msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default." +msgstr "" + +#. type: table +#: doc/guix.texi:4145 +msgid "The phase runs @code{ninja install} and can not be changed." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4148 +msgid "Apart from that, the build system also adds the following phases:" +msgstr "" + +#. type: item +#: doc/guix.texi:4151 +#, no-wrap +msgid "fix-runpath" +msgstr "" + +#. type: table +#: doc/guix.texi:4158 +msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson-for-build}, such as test dependencies, that aren't actually required for the program to run." +msgstr "" + +#. type: table +#: doc/guix.texi:4162 doc/guix.texi:4166 +msgid "This phase is the phase provided by @code{glib-or-gtk-build-system}, and it is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4173 +msgid "Lastly, for packages that do not need anything as sophisticated, a ``trivial'' build system is provided. It is trivial in the sense that it provides basically no support: it does not pull any implicit inputs, and does not have a notion of build phases." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4174 +#, no-wrap +msgid "{Scheme Variable} trivial-build-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4176 +msgid "This variable is exported by @code{(guix build-system trivial)}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4181 +msgid "This build system requires a @code{#:builder} argument. This argument must be a Scheme expression that builds the package output(s)---as with @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4187 +#, no-wrap +msgid "store items" +msgstr "" + +#. type: cindex +#: doc/guix.texi:4188 +#, no-wrap +msgid "store paths" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4199 +msgid "Conceptually, the @dfn{store} is the place where derivations that have been built successfully are stored---by default, @file{/gnu/store}. Sub-directories in the store are referred to as @dfn{store items} or sometimes @dfn{store paths}. The store has an associated database that contains information such as the store paths referred to by each store path, and the list of @emph{valid} store items---results of successful builds. This database resides in @file{@var{localstatedir}/guix/db}, where @var{localstatedir} is the state directory specified @i{via} @option{--localstatedir} at configure time, usually @file{/var}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4204 +msgid "The store is @emph{always} accessed by the daemon on behalf of its clients (@pxref{Invoking guix-daemon}). To manipulate the store, clients connect to the daemon over a Unix-domain socket, send requests to it, and read the result---these are remote procedure calls, or RPCs." +msgstr "" + +#. type: quotation +#: doc/guix.texi:4209 +msgid "Users must @emph{never} modify files under @file{/gnu/store} directly. This would lead to inconsistencies and break the immutability assumptions of Guix's functional model (@pxref{Introduction})." +msgstr "" + +#. type: quotation +#: doc/guix.texi:4213 +msgid "@xref{Invoking guix gc, @command{guix gc --verify}}, for information on how to check the integrity of the store and attempt recovery from accidental modifications." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4220 +msgid "The @code{(guix store)} module provides procedures to connect to the daemon, and to perform RPCs. These are described below. By default, @code{open-connection}, and thus all the @command{guix} commands, connect to the local daemon or to the URI specified by the @code{GUIX_DAEMON_SOCKET} environment variable." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4221 +#, no-wrap +msgid "{Environment Variable} GUIX_DAEMON_SOCKET" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4226 +msgid "When set, the value of this variable should be a file name or a URI designating the daemon endpoint. When it is a file name, it denotes a Unix-domain socket to connect to. In addition to file names, the supported URI schemes are:" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:4228 doc/guix.texi:15406 +#, no-wrap +msgid "file" +msgstr "" + +#. type: itemx +#: doc/guix.texi:4229 +#, no-wrap +msgid "unix" +msgstr "" + +#. type: table +#: doc/guix.texi:4233 +msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}." +msgstr "" + +#. type: item +#: doc/guix.texi:4234 +#, no-wrap +msgid "guix" +msgstr "" + +#. type: table +#: doc/guix.texi:4242 +msgid "These URIs denote connections over TCP/IP, without encryption nor authentication of the remote host. The URI must specify the host name and optionally a port number (by default port 44146 is used):" +msgstr "" + +#. type: example +#: doc/guix.texi:4245 +#, no-wrap +msgid "guix://master.guix.example.org:1234\n" +msgstr "" + +#. type: table +#: doc/guix.texi:4250 +msgid "This setup is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon at @code{master.guix.example.org}." +msgstr "" + +#. type: table +#: doc/guix.texi:4254 +msgid "The @code{--listen} option of @command{guix-daemon} can be used to instruct it to listen for TCP connections (@pxref{Invoking guix-daemon, @code{--listen}})." +msgstr "" + +#. type: item +#: doc/guix.texi:4255 +#, no-wrap +msgid "ssh" +msgstr "" + +#. type: cindex +#: doc/guix.texi:4256 +#, no-wrap +msgid "SSH access to build daemons" +msgstr "" + +#. type: table +#: doc/guix.texi:4260 +msgid "These URIs allow you to connect to a remote daemon over SSH@footnote{This feature requires Guile-SSH (@pxref{Requirements}).}. A typical URL might look like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:4263 +#, no-wrap +msgid "ssh://charlie@@guix.example.org:22\n" +msgstr "" + +#. type: table +#: doc/guix.texi:4267 +msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4270 +msgid "Additional URI schemes may be supported in the future." +msgstr "" + +#. type: quotation +#: doc/guix.texi:4277 +msgid "The ability to connect to remote build daemons is considered experimental as of @value{VERSION}. Please get in touch with us to share any problems or suggestions you may have (@pxref{Contributing})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4280 +#, no-wrap +msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4285 +msgid "Connect to the daemon over the Unix-domain socket at @var{uri} (a string). When @var{reserve-space?} is true, instruct it to reserve a little bit of extra space on the file system so that the garbage collector can still operate should the disk become full. Return a server object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4288 +msgid "@var{file} defaults to @var{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4290 +#, no-wrap +msgid "{Scheme Procedure} close-connection @var{server}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4292 +msgid "Close the connection to @var{server}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4294 +#, no-wrap +msgid "{Scheme Variable} current-build-output-port" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4297 +msgid "This variable is bound to a SRFI-39 parameter, which refers to the port where build and error logs sent by the daemon should be written." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4301 +msgid "Procedures that make RPCs all take a server object as their first argument." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4302 +#, no-wrap +msgid "{Scheme Procedure} valid-path? @var{server} @var{path}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:4303 +#, no-wrap +msgid "invalid store items" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4308 +msgid "Return @code{#t} when @var{path} designates a valid store item and @code{#f} otherwise (an invalid item may exist on disk but still be invalid, for instance because it is the result of an aborted or failed build.)" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4311 +msgid "A @code{&nix-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4313 +#, no-wrap +msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4317 +msgid "Add @var{text} under file @var{name} in the store, and return its store path. @var{references} is the list of store paths referred to by the resulting store path." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4319 +#, no-wrap +msgid "{Scheme Procedure} build-derivations @var{server} @var{derivations}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4323 +msgid "Build @var{derivations} (a list of @code{} objects or derivation paths), and return when the worker is done building them. Return @code{#t} on success." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4329 +msgid "Note that the @code{(guix monads)} module provides a monad as well as monadic versions of the above procedures, with the goal of making it more convenient to work with code that accesses the store (@pxref{The Store Monad})." +msgstr "" + +#. type: i{#1} +#: doc/guix.texi:4332 +msgid "This section is currently incomplete." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4336 +#, no-wrap +msgid "derivations" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4340 +msgid "Low-level build actions and the environment in which they are performed are represented by @dfn{derivations}. A derivation contains the following pieces of information:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:4345 +msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more." +msgstr "" + +#. type: itemize +#: doc/guix.texi:4349 +msgid "The inputs of the derivations, which may be other derivations or plain files in the store (patches, build scripts, etc.)" +msgstr "" + +#. type: itemize +#: doc/guix.texi:4352 +msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}." +msgstr "" + +#. type: itemize +#: doc/guix.texi:4356 +msgid "The file name of a build script in the store, along with the arguments to be passed." +msgstr "" + +#. type: itemize +#: doc/guix.texi:4359 +msgid "A list of environment variables to be defined." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4362 +#, no-wrap +msgid "derivation path" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4370 +msgid "Derivations allow clients of the daemon to communicate build actions to the store. They exist in two forms: as an in-memory representation, both on the client- and daemon-side, and as files in the store whose name end in @code{.drv}---these files are referred to as @dfn{derivation paths}. Derivations paths can be passed to the @code{build-derivations} procedure to perform the build actions they prescribe (@pxref{The Store})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4371 +#, no-wrap +msgid "fixed-output derivations" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4378 +msgid "Operations such as file downloads and version-control checkouts for which the expected content hash is known in advance are modeled as @dfn{fixed-output derivations}. Unlike regular derivations, the outputs of a fixed-output derivation are independent of its inputs---e.g., a source code download produces the same result regardless of the download method and tools being used." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4383 +msgid "The @code{(guix derivations)} module provides a representation of derivations as Scheme objects, along with procedures to create and otherwise manipulate derivations. The lowest-level primitive to create a derivation is the @code{derivation} procedure:" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4384 +#, no-wrap +msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4393 +msgid "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] Build a derivation with the given arguments, and return the resulting @code{} object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4400 +msgid "When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output derivation} is created---i.e., one whose result is known in advance, such as a file download. If, in addition, @var{recursive?} is true, then that fixed output may be an executable file or a directory and @var{hash} must be the hash of an archive containing this output." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4405 +msgid "When @var{references-graphs} is true, it must be a list of file name/store path pairs. In that case, the reference graph of each store path is exported in the build environment in the corresponding file, in a simple text format." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4410 +msgid "When @var{allowed-references} is true, it must be a list of store items or outputs that the derivation's output may refer to. Likewise, @var{disallowed-references}, if true, must be a list of things the outputs may @emph{not} refer to." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4417 +msgid "When @var{leaked-env-vars} is true, it must be a list of strings denoting environment variables that are allowed to ``leak'' from the daemon's environment to the build environment. This is only applicable to fixed-output derivations---i.e., when @var{hash} is true. The main use is to allow variables such as @code{http_proxy} to be passed to derivations that download files." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4422 +msgid "When @var{local-build?} is true, declare that the derivation is not a good candidate for offloading and should rather be built locally (@pxref{Daemon Offload Setup}). This is the case for small derivations where the costs of data transfers would outweigh the benefits." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4427 +msgid "When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4433 +msgid "Here's an example with a shell script as its builder, assuming @var{store} is an open connection to the daemon, and @var{bash} points to a Bash executable in the store:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:4438 +#, no-wrap +msgid "" +"(use-modules (guix utils)\n" +" (guix store)\n" +" (guix derivations))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:4447 +#, no-wrap +msgid "" +"(let ((builder ; add the Bash script to the store\n" +" (add-text-to-store store \"my-builder.sh\"\n" +" \"echo hello world > $out\\n\" '())))\n" +" (derivation store \"foo\"\n" +" bash `(\"-e\" ,builder)\n" +" #:inputs `((,bash) (,builder))\n" +" #:env-vars '((\"HOME\" . \"/homeless\"))))\n" +"@result{} # /gnu/store/@dots{}-foo>\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4454 +msgid "As can be guessed, this primitive is cumbersome to use directly. A better approach is to write build scripts in Scheme, of course! The best course of action for that is to write the build code as a ``G-expression'', and to pass it to @code{gexp->derivation}. For more information, @pxref{G-Expressions}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4459 +msgid "Once upon a time, @code{gexp->derivation} did not exist and constructing derivations with build code written in Scheme was achieved with @code{build-expression->derivation}, documented below. This procedure is now deprecated in favor of the much nicer @code{gexp->derivation}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4460 +#, no-wrap +msgid "{Scheme Procedure} build-expression->derivation @var{store} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4476 +msgid "@var{name} @var{exp} @ [#:system (%current-system)] [#:inputs '()] @ [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that executes Scheme expression @var{exp} as a builder for derivation @var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} tuples; when @var{sub-drv} is omitted, @code{\"out\"} is assumed. @var{modules} is a list of names of Guile modules from the current search path to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4484 +msgid "@var{exp} is evaluated in an environment where @code{%outputs} is bound to a list of output/path pairs, and where @code{%build-inputs} is bound to a list of string/output-path pairs made from @var{inputs}. Optionally, @var{env-vars} is a list of string pairs specifying the name and value of environment variables visible to the builder. The builder terminates by passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns @code{#f}, the build is considered to have failed." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4488 +msgid "@var{exp} is built using @var{guile-for-build} (a derivation). When @var{guile-for-build} is omitted or is @code{#f}, the value of the @code{%guile-for-build} fluid is used instead." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4493 +msgid "See the @code{derivation} procedure for the meaning of @var{references-graphs}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?}, and @var{substitutable?}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4498 +msgid "Here's an example of a single-output derivation that creates a directory containing one file:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:4506 +#, no-wrap +msgid "" +"(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n" +" (mkdir out) ; create /gnu/store/@dots{}-goo\n" +" (call-with-output-file (string-append out \"/test\")\n" +" (lambda (p)\n" +" (display '(hello guix) p))))))\n" +" (build-expression->derivation store \"goo\" builder))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:4508 +#, no-wrap +msgid "@result{} # @dots{}>\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:4514 +#, no-wrap +msgid "monad" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4520 +msgid "The procedures that operate on the store described in the previous sections all take an open connection to the build daemon as their first argument. Although the underlying model is functional, they either have side effects or depend on the current state of the store." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4526 +msgid "The former is inconvenient: the connection to the build daemon has to be carried around in all those functions, making it impossible to compose functions that do not take that parameter with functions that do. The latter can be problematic: since store operations have side effects and/or depend on external state, they have to be properly sequenced." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4527 +#, no-wrap +msgid "monadic values" +msgstr "" + +#. type: cindex +#: doc/guix.texi:4528 +#, no-wrap +msgid "monadic functions" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4538 +msgid "This is where the @code{(guix monads)} module comes in. This module provides a framework for working with @dfn{monads}, and a particularly useful monad for our uses, the @dfn{store monad}. Monads are a construct that allows two things: associating ``context'' with values (in our case, the context is the store), and building sequences of computations (here computations include accesses to the store). Values in a monad---values that carry this additional context---are called @dfn{monadic values}; procedures that return such values are called @dfn{monadic procedures}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4540 +msgid "Consider this ``normal'' procedure:" +msgstr "" + +#. type: example +#: doc/guix.texi:4549 +#, no-wrap +msgid "" +"(define (sh-symlink store)\n" +" ;; Return a derivation that symlinks the 'bash' executable.\n" +" (let* ((drv (package-derivation store bash))\n" +" (out (derivation->output-path drv))\n" +" (sh (string-append out \"/bin/bash\")))\n" +" (build-expression->derivation store \"sh\"\n" +" `(symlink ,sh %output))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4553 +msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:" +msgstr "" + +#. type: example +#: doc/guix.texi:4561 +#, no-wrap +msgid "" +"(define (sh-symlink)\n" +" ;; Same, but return a monadic value.\n" +" (mlet %store-monad ((drv (package->derivation bash)))\n" +" (gexp->derivation \"sh\"\n" +" #~(symlink (string-append #$drv \"/bin/bash\")\n" +" #$output))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4568 +msgid "There are several things to note in the second version: the @code{store} parameter is now implicit and is ``threaded'' in the calls to the @code{package->derivation} and @code{gexp->derivation} monadic procedures, and the monadic value returned by @code{package->derivation} is @dfn{bound} using @code{mlet} instead of plain @code{let}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4572 +msgid "As it turns out, the call to @code{package->derivation} can even be omitted since it will take place implicitly, as we will see later (@pxref{G-Expressions}):" +msgstr "" + +#. type: example +#: doc/guix.texi:4578 +#, no-wrap +msgid "" +"(define (sh-symlink)\n" +" (gexp->derivation \"sh\"\n" +" #~(symlink (string-append #$bash \"/bin/bash\")\n" +" #$output)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4587 +msgid "Calling the monadic @code{sh-symlink} has no effect. As someone once said, ``you exit a monad like you exit a building on fire: by running''. So, to exit the monad and get the desired effect, one must use @code{run-with-store}:" +msgstr "" + +#. type: example +#: doc/guix.texi:4591 +#, no-wrap +msgid "" +"(run-with-store (open-connection) (sh-symlink))\n" +"@result{} /gnu/store/...-sh-symlink\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4597 +msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``meta-commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad}. The former is used to ``run'' a single monadic value through the store:" +msgstr "" + +#. type: example +#: doc/guix.texi:4601 +#, no-wrap +msgid "" +"scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n" +"$1 = # @dots{}>\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4605 +msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:" +msgstr "" + +#. type: example +#: doc/guix.texi:4614 +#, no-wrap +msgid "" +"scheme@@(guile-user)> ,enter-store-monad\n" +"store-monad@@(guile-user) [1]> (package->derivation hello)\n" +"$2 = # @dots{}>\n" +"store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n" +"$3 = \"/gnu/store/@dots{}-foo\"\n" +"store-monad@@(guile-user) [1]> ,q\n" +"scheme@@(guile-user)>\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4619 +msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4622 +msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4623 +#, no-wrap +msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4626 +msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4628 +#, no-wrap +msgid "{Scheme Syntax} return @var{val}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4630 +msgid "Return a monadic value that encapsulates @var{val}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4632 +#, no-wrap +msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4639 +msgid "@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic procedures @var{mproc}@dots{}@footnote{This operation is commonly referred to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus we use this somewhat cryptic symbol inherited from the Haskell language.}. There can be one @var{mproc} or several of them, as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:4647 +#, no-wrap +msgid "" +"(run-with-state\n" +" (with-monad %state-monad\n" +" (>>= (return 1)\n" +" (lambda (x) (return (+ 1 x)))\n" +" (lambda (x) (return (* 2 x)))))\n" +" 'some-state)\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:4650 +#, no-wrap +msgid "" +"@result{} 4\n" +"@result{} some-state\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4653 +#, no-wrap +msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4655 +msgid "@var{body} ..." +msgstr "" + +#. type: deffnx +#: doc/guix.texi:4655 +#, no-wrap +msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4667 +msgid "@var{body} ... Bind the variables @var{var} to the monadic values @var{mval} in @var{body}, which is a sequence of expressions. As with the bind operator, this can be thought of as ``unpacking'' the raw, non-monadic value ``contained'' in @var{mval} and making @var{var} refer to that raw, non-monadic value within the scope of the @var{body}. The form (@var{var} -> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per @code{let}. The binding operations occur in sequence from left to right. The last expression of @var{body} must be a monadic expression, and its result will become the result of the @code{mlet} or @code{mlet*} when run in the @var{monad}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4670 +msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4672 +#, no-wrap +msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4676 +msgid "Bind @var{mexp} and the following monadic expressions in sequence, returning the result of the last expression. Every expression in the sequence must be a monadic expression." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4680 +msgid "This is akin to @code{mlet}, except that the return values of the monadic expressions are ignored. In that sense, it is analogous to @code{begin}, but applied to monadic expressions." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4682 +#, no-wrap +msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4687 +msgid "When @var{condition} is true, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is false, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4689 +#, no-wrap +msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4694 +msgid "When @var{condition} is false, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is true, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4696 +#, no-wrap +msgid "state monad" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4700 +msgid "The @code{(guix monads)} module provides the @dfn{state monad}, which allows an additional value---the state---to be @emph{threaded} through monadic procedure calls." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4701 +#, no-wrap +msgid "{Scheme Variable} %state-monad" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4704 +msgid "The state monad. Procedures in the state monad can access and change the state that is threaded." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4708 +msgid "Consider the example below. The @code{square} procedure returns a value in the state monad. It returns the square of its argument, but also increments the current state value:" +msgstr "" + +#. type: example +#: doc/guix.texi:4715 +#, no-wrap +msgid "" +"(define (square x)\n" +" (mlet %state-monad ((count (current-state)))\n" +" (mbegin %state-monad\n" +" (set-current-state (+ 1 count))\n" +" (return (* x x)))))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:4719 +#, no-wrap +msgid "" +"(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n" +"@result{} (0 1 4)\n" +"@result{} 3\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4723 +msgid "When ``run'' through @var{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4725 +#, no-wrap +msgid "{Monadic Procedure} current-state" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4727 +msgid "Return the current state as a monadic value." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4729 +#, no-wrap +msgid "{Monadic Procedure} set-current-state @var{value}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4732 +msgid "Set the current state to @var{value} and return the previous state as a monadic value." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4734 +#, no-wrap +msgid "{Monadic Procedure} state-push @var{value}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4737 +msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4739 +#, no-wrap +msgid "{Monadic Procedure} state-pop" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4742 +msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4744 +#, no-wrap +msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4747 +msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4751 +msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4752 +#, no-wrap +msgid "{Scheme Variable} %store-monad" +msgstr "" + +#. type: defvr +#: doc/guix.texi:4754 +msgid "The store monad---an alias for @var{%state-monad}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:4758 +msgid "Values in the store monad encapsulate accesses to the store. When its effect is needed, a value of the store monad must be ``evaluated'' by passing it to the @code{run-with-store} procedure (see below.)" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4760 +#, no-wrap +msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4763 +msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4765 +#, no-wrap +msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4769 +msgid "Return as a monadic value the absolute file name in the store of the file containing @var{text}, a string. @var{references} is a list of store items that the resulting text file refers to; it defaults to the empty list." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4771 +#, no-wrap +msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4776 +msgid "[#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once interned in the store. Use @var{name} as its store name, or the basename of @var{file} if @var{name} is omitted." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4780 doc/guix.texi:5159 +msgid "When @var{recursive?} is true, the contents of @var{file} are added recursively; if @var{file} designates a flat file and @var{recursive?} is true, its contents are added, and its permission bits are kept." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4785 doc/guix.texi:5164 +msgid "When @var{recursive?} is true, call @code{(@var{select?} @var{file} @var{stat})} for each directory entry, where @var{file} is the entry's absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4787 +msgid "The example below adds a file to the store, under two different names:" +msgstr "" + +#. type: example +#: doc/guix.texi:4793 +#, no-wrap +msgid "" +"(run-with-store (open-connection)\n" +" (mlet %store-monad ((a (interned-file \"README\"))\n" +" (b (interned-file \"README\" \"LEGU-MIN\")))\n" +" (return (list a b))))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:4795 +#, no-wrap +msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4801 +msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4802 +#, no-wrap +msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4810 +msgid "[#:system (%current-system)] [#:target #f] @ [#:output \"out\"] Return as a monadic value in the absolute file name of @var{file} within the @var{output} directory of @var{package}. When @var{file} is omitted, return the name of the @var{output} directory of @var{package}. When @var{target} is true, use it as a cross-compilation target triplet." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4812 +#, no-wrap +msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]" +msgstr "" + +#. type: deffnx +#: doc/guix.texi:4813 +#, no-wrap +msgid "{Monadic Procedure} package->cross-derivation @var{package} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4817 +msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4823 +#, no-wrap +msgid "G-expression" +msgstr "" + +#. type: cindex +#: doc/guix.texi:4824 +#, no-wrap +msgid "build code quoting" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4830 +msgid "So we have ``derivations'', which represent a sequence of build actions to be performed to produce an item in the store (@pxref{Derivations}). These build actions are performed when asking the daemon to actually build the derivations; they are run by the daemon in a container (@pxref{Invoking guix-daemon})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4831 +#, no-wrap +msgid "strata of code" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4843 +msgid "It should come as no surprise that we like to write these build actions in Scheme. When we do that, we end up with two @dfn{strata} of Scheme code@footnote{The term @dfn{stratum} in this context was coined by Manuel Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who has written insightful @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on this topic}, refers to this kind of code generation as @dfn{staging}.}: the ``host code''---code that defines packages, talks to the daemon, etc.---and the ``build code''---code that actually performs build actions, such as making directories, invoking @command{make}, etc." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4850 +msgid "To describe a derivation and its build actions, one typically needs to embed build code inside host code. It boils down to manipulating build code as data, and the homoiconicity of Scheme---code has a direct representation as data---comes in handy for that. But we need more than the normal @code{quasiquote} mechanism in Scheme to construct build expressions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4859 +msgid "The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and @code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and @code{unquote-splicing}, respectively (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are major differences:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:4864 +msgid "Gexps are meant to be written to a file and run or manipulated by other processes." +msgstr "" + +#. type: itemize +#: doc/guix.texi:4869 +msgid "When a high-level object such as a package or derivation is unquoted inside a gexp, the result is as if its output file name had been introduced." +msgstr "" + +#. type: itemize +#: doc/guix.texi:4874 +msgid "Gexps carry information about the packages or derivations they refer to, and these dependencies are automatically added as inputs to the build processes that use them." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4876 doc/guix.texi:5346 +#, no-wrap +msgid "lowering, of high-level objects in gexps" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4886 +msgid "This mechanism is not limited to package and derivation objects: @dfn{compilers} able to ``lower'' other high-level objects to derivations or files in the store can be defined, such that these objects can also be inserted into gexps. For example, a useful type of high-level objects that can be inserted in a gexp is ``file-like objects'', which make it easy to add files to the store and to refer to them in derivations and such (see @code{local-file} and @code{plain-file} below.)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4888 +msgid "To illustrate the idea, here is an example of a gexp:" +msgstr "" + +#. type: example +#: doc/guix.texi:4896 +#, no-wrap +msgid "" +"(define build-exp\n" +" #~(begin\n" +" (mkdir #$output)\n" +" (chdir #$output)\n" +" (symlink (string-append #$coreutils \"/bin/ls\")\n" +" \"list-files\")))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4901 +msgid "This gexp can be passed to @code{gexp->derivation}; we obtain a derivation that builds a directory containing exactly one symlink to @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}:" +msgstr "" + +#. type: example +#: doc/guix.texi:4904 +#, no-wrap +msgid "(gexp->derivation \"the-thing\" build-exp)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4912 +msgid "As one would expect, the @code{\"/gnu/store/@dots{}-coreutils-8.22\"} string is substituted to the reference to the @var{coreutils} package in the actual build code, and @var{coreutils} is automatically made an input to the derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp output)}) is replaced by a string containing the directory name of the output of the derivation." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4913 +#, no-wrap +msgid "cross compilation" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4919 +msgid "In a cross-compilation context, it is useful to distinguish between references to the @emph{native} build of a package---that can run on the host---versus references to cross builds of a package. To that end, the @code{#+} plays the same role as @code{#$}, but is a reference to a native package build:" +msgstr "" + +#. type: example +#: doc/guix.texi:4929 +#, no-wrap +msgid "" +"(gexp->derivation \"vi\"\n" +" #~(begin\n" +" (mkdir #$output)\n" +" (system* (string-append #+coreutils \"/bin/ln\")\n" +" \"-s\"\n" +" (string-append #$emacs \"/bin/emacs\")\n" +" (string-append #$output \"/bin/vi\")))\n" +" #:target \"mips64el-linux-gnu\")\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4935 +msgid "In the example above, the native build of @var{coreutils} is used, so that @command{ln} can actually run on the host; but then the cross-compiled build of @var{emacs} is referenced." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4936 +#, no-wrap +msgid "imported modules, for gexps" +msgstr "" + +#. type: findex +#: doc/guix.texi:4937 +#, no-wrap +msgid "with-imported-modules" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4942 +msgid "Another gexp feature is @dfn{imported modules}: sometimes you want to be able to use certain Guile modules from the ``host environment'' in the gexp, so those modules should be imported in the ``build environment''. The @code{with-imported-modules} form allows you to express that:" +msgstr "" + +#. type: example +#: doc/guix.texi:4953 +#, no-wrap +msgid "" +"(let ((build (with-imported-modules '((guix build utils))\n" +" #~(begin\n" +" (use-modules (guix build utils))\n" +" (mkdir-p (string-append #$output \"/bin\"))))))\n" +" (gexp->derivation \"empty-dir\"\n" +" #~(begin\n" +" #$build\n" +" (display \"success!\\n\")\n" +" #t)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4959 +msgid "In this example, the @code{(guix build utils)} module is automatically pulled into the isolated build environment of our gexp, such that @code{(use-modules (guix build utils))} works as expected." +msgstr "" + +#. type: cindex +#: doc/guix.texi:4960 +#, no-wrap +msgid "module closure" +msgstr "" + +#. type: findex +#: doc/guix.texi:4961 +#, no-wrap +msgid "source-module-closure" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4968 +msgid "Usually you want the @emph{closure} of the module to be imported---i.e., the module itself and all the modules it depends on---rather than just the module; failing to do that, attempts to use the module will fail because of missing dependent modules. The @code{source-module-closure} procedure computes the closure of a module by looking at its source file headers, which comes in handy in this case:" +msgstr "" + +#. type: example +#: doc/guix.texi:4971 +#, no-wrap +msgid "" +"(use-modules (guix modules)) ;for 'source-module-closure'\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:4980 +#, no-wrap +msgid "" +"(with-imported-modules (source-module-closure\n" +" '((guix build utils)\n" +" (gnu build vm)))\n" +" (gexp->derivation \"something-with-vms\"\n" +" #~(begin\n" +" (use-modules (guix build utils)\n" +" (gnu build vm))\n" +" @dots{})))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:4983 +msgid "The syntactic form to construct gexps is summarized below." +msgstr "" + +#. type: deffn +#: doc/guix.texi:4984 +#, no-wrap +msgid "{Scheme Syntax} #~@var{exp}" +msgstr "" + +#. type: deffnx +#: doc/guix.texi:4985 +#, no-wrap +msgid "{Scheme Syntax} (gexp @var{exp})" +msgstr "" + +#. type: deffn +#: doc/guix.texi:4988 +msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:" +msgstr "" + +#. type: item +#: doc/guix.texi:4990 +#, no-wrap +msgid "#$@var{obj}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:4991 +#, no-wrap +msgid "(ungexp @var{obj})" +msgstr "" + +#. type: table +#: doc/guix.texi:4996 +msgid "Introduce a reference to @var{obj}. @var{obj} may have one of the supported types, for example a package or a derivation, in which case the @code{ungexp} form is replaced by its output file name---e.g., @code{\"/gnu/store/@dots{}-coreutils-8.22}." +msgstr "" + +#. type: table +#: doc/guix.texi:4999 +msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly." +msgstr "" + +#. type: table +#: doc/guix.texi:5002 +msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp." +msgstr "" + +#. type: table +#: doc/guix.texi:5004 +msgid "If @var{obj} is another kind of object, it is inserted as is." +msgstr "" + +#. type: item +#: doc/guix.texi:5005 +#, no-wrap +msgid "#$@var{obj}:@var{output}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5006 +#, no-wrap +msgid "(ungexp @var{obj} @var{output})" +msgstr "" + +#. type: table +#: doc/guix.texi:5010 +msgid "This is like the form above, but referring explicitly to the @var{output} of @var{obj}---this is useful when @var{obj} produces multiple outputs (@pxref{Packages with Multiple Outputs})." +msgstr "" + +#. type: item +#: doc/guix.texi:5011 +#, no-wrap +msgid "#+@var{obj}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5012 +#, no-wrap +msgid "#+@var{obj}:output" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5013 +#, no-wrap +msgid "(ungexp-native @var{obj})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5014 +#, no-wrap +msgid "(ungexp-native @var{obj} @var{output})" +msgstr "" + +#. type: table +#: doc/guix.texi:5017 +msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context." +msgstr "" + +#. type: item +#: doc/guix.texi:5018 +#, no-wrap +msgid "#$output[:@var{output}]" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5019 +#, no-wrap +msgid "(ungexp output [@var{output}])" +msgstr "" + +#. type: table +#: doc/guix.texi:5022 +msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted." +msgstr "" + +#. type: table +#: doc/guix.texi:5024 +msgid "This only makes sense for gexps passed to @code{gexp->derivation}." +msgstr "" + +#. type: item +#: doc/guix.texi:5025 +#, no-wrap +msgid "#$@@@var{lst}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5026 +#, no-wrap +msgid "(ungexp-splicing @var{lst})" +msgstr "" + +#. type: table +#: doc/guix.texi:5029 +msgid "Like the above, but splices the contents of @var{lst} inside the containing list." +msgstr "" + +#. type: item +#: doc/guix.texi:5030 +#, no-wrap +msgid "#+@@@var{lst}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5031 +#, no-wrap +msgid "(ungexp-native-splicing @var{lst})" +msgstr "" + +#. type: table +#: doc/guix.texi:5034 +msgid "Like the above, but refers to native builds of the objects listed in @var{lst}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5039 +msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below.)" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5041 +#, no-wrap +msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5044 +msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5048 +msgid "Each item in @var{modules} can be the name of a module, such as @code{(guix build utils)}, or it can be a module name, followed by an arrow, followed by a file-like object:" +msgstr "" + +#. type: example +#: doc/guix.texi:5054 +#, no-wrap +msgid "" +"`((guix build utils)\n" +" (guix gcrypt)\n" +" ((guix config) => ,(scheme-file \"config.scm\"\n" +" #~(define-module @dots{}))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5059 +msgid "In the example above, the first two modules are taken from the search path, and the last one is created from the given file-like object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5063 +msgid "This form has @emph{lexical} scope: it has an effect on the gexps directly defined in @var{body}@dots{}, but not on those defined, say, in procedures called from @var{body}@dots{}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5065 +#, no-wrap +msgid "{Scheme Procedure} gexp? @var{obj}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5067 +msgid "Return @code{#t} if @var{obj} is a G-expression." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5073 +msgid "G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more information about monads.)" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5074 +#, no-wrap +msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5090 +msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @var{%load-path}] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5098 +msgid "@var{modules} is deprecated in favor of @code{with-imported-modules}. Its meaning is to make @var{modules} available in the evaluation context of @var{exp}; @var{modules} is a list of names of Guile modules searched in @var{module-path} to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5101 +msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5104 +msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:" +msgstr "" + +#. type: example +#: doc/guix.texi:5111 +#, no-wrap +msgid "" +"(@var{file-name} @var{package})\n" +"(@var{file-name} @var{package} @var{output})\n" +"(@var{file-name} @var{derivation})\n" +"(@var{file-name} @var{derivation} @var{output})\n" +"(@var{file-name} @var{store-item})\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5117 +msgid "The right-hand-side of each element of @var{references-graphs} is automatically made an input of the build process of @var{exp}. In the build environment, each @var{file-name} contains the reference graph of the corresponding item, in a simple text format." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5123 +msgid "@var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. Similarly for @var{disallowed-references}, which can list items that must not be referenced by the outputs." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5126 +msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5128 +msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:5130 +#, no-wrap +msgid "file-like objects" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5135 +msgid "The @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file}, and @code{scheme-file} procedures below return @dfn{file-like objects}. That is, when unquoted in a G-expression, these objects lead to a file in the store. Consider this G-expression:" +msgstr "" + +#. type: example +#: doc/guix.texi:5139 +#, no-wrap +msgid "" +"#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n" +" #$(local-file \"/tmp/my-nscd.conf\"))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5148 +msgid "The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the G-expression refers to that copy under @file{/gnu/store}; thus, modifying or removing the file in @file{/tmp} does not have any effect on what the G-expression does. @code{plain-file} can be used similarly; it differs in that the file content is directly passed as a string." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5149 +#, no-wrap +msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5155 +msgid "[#:recursive? #f] [#:select? (const #t)] Return an object representing local file @var{file} to add to the store; this object can be used in a gexp. If @var{file} is a relative file name, it is looked up relative to the source file where this form appears. @var{file} will be added to the store under @var{name}--by default the base name of @var{file}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5167 +msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5169 +#, no-wrap +msgid "{Scheme Procedure} plain-file @var{name} @var{content}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5172 +msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string) to be added to the store." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5174 +msgid "This is the declarative counterpart of @code{text-file}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5176 +#, no-wrap +msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5181 +msgid "[#:options '(#:local-build? #t)] Return an object representing the store item @var{name}, a file or directory computed by @var{gexp}. @var{options} is a list of additional arguments to pass to @code{gexp->derivation}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5183 +msgid "This is the declarative counterpart of @code{gexp->derivation}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5185 +#, no-wrap +msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5190 +msgid "[#:guile (default-guile)] [#:module-path %load-path] Return an executable script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s imported modules in its search path. Look up @var{exp}'s modules in @var{module-path}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5193 +msgid "The example below builds a script that simply invokes the @command{ls} command:" +msgstr "" + +#. type: example +#: doc/guix.texi:5196 +#, no-wrap +msgid "" +"(use-modules (guix gexp) (gnu packages base))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:5200 +#, no-wrap +msgid "" +"(gexp->script \"list-files\"\n" +" #~(execl #$(file-append coreutils \"/bin/ls\")\n" +" \"ls\"))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5205 +msgid "When ``running'' it through the store (@pxref{The Store Monad, @code{run-with-store}}), we obtain a derivation that produces an executable file @file{/gnu/store/@dots{}-list-files} along these lines:" +msgstr "" + +#. type: example +#: doc/guix.texi:5210 +#, no-wrap +msgid "" +"#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n" +"!#\n" +"(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5213 +#, no-wrap +msgid "{Scheme Procedure} program-file @var{name} @var{exp} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5218 +msgid "[#:guile #f] [#:module-path %load-path] Return an object representing the executable store item @var{name} that runs @var{gexp}. @var{guile} is the Guile package used to execute that script. Imported modules of @var{gexp} are looked up in @var{module-path}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5220 +msgid "This is the declarative counterpart of @code{gexp->script}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5222 +#, no-wrap +msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5229 +msgid "[#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile (default-guile)] Return a derivation that builds a file @var{name} containing @var{exp}. When @var{splice?} is true, @var{exp} is considered to be a list of expressions that will be spliced in the resulting file." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5234 +msgid "When @var{set-load-path?} is true, emit code in the resulting file to set @code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s imported modules. Look up @var{exp}'s modules in @var{module-path}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5237 +msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5239 +#, no-wrap +msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} [#:splice? #f]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5242 +msgid "Return an object representing the Scheme file @var{name} that contains @var{exp}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5244 +msgid "This is the declarative counterpart of @code{gexp->file}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5246 +#, no-wrap +msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5252 +msgid "Return as a monadic value a derivation that builds a text file containing all of @var{text}. @var{text} may list, in addition to strings, objects of any type that can be used in a gexp: packages, derivations, local file objects, etc. The resulting store file holds references to all these." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5257 +msgid "This variant should be preferred over @code{text-file} anytime the file to create will reference items from the store. This is typically the case when building a configuration file that embeds store file names, like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:5265 +#, no-wrap +msgid "" +"(define (profile.sh)\n" +" ;; Return the name of a shell script in the store that\n" +" ;; initializes the 'PATH' environment variable.\n" +" (text-file* \"profile.sh\"\n" +" \"export PATH=\" coreutils \"/bin:\"\n" +" grep \"/bin:\" sed \"/bin\\n\"))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5270 +msgid "In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby preventing them from being garbage-collected during its lifetime." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5272 +#, no-wrap +msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5276 +msgid "Return an object representing store file @var{name} containing @var{text}. @var{text} is a sequence of strings and file-like objects, as in:" +msgstr "" + +#. type: example +#: doc/guix.texi:5280 +#, no-wrap +msgid "" +"(mixed-text-file \"profile\"\n" +" \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5283 +msgid "This is the declarative counterpart of @code{text-file*}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5285 +#, no-wrap +msgid "{Scheme Procedure} file-union @var{name} @var{files}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5290 +msgid "Return a @code{} that builds a directory containing all of @var{files}. Each item in @var{files} must be a two-element list where the first element is the file name to use in the new directory, and the second element is a gexp denoting the target file. Here's an example:" +msgstr "" + +#. type: example +#: doc/guix.texi:5297 +#, no-wrap +msgid "" +"(file-union \"etc\"\n" +" `((\"hosts\" ,(plain-file \"hosts\"\n" +" \"127.0.0.1 localhost\"))\n" +" (\"bashrc\" ,(plain-file \"bashrc\"\n" +" \"alias ls='ls --color'\"))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5300 +msgid "This yields an @code{etc} directory containing these two files." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5302 +#, no-wrap +msgid "{Scheme Procedure} directory-union @var{name} @var{things}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5305 +msgid "Return a directory that is the union of @var{things}, where @var{things} is a list of file-like objects denoting directories. For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:5308 +#, no-wrap +msgid "(directory-union \"guile+emacs\" (list guile emacs))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5311 +msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5313 +#, no-wrap +msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5317 +msgid "Return a file-like object that expands to the concatenation of @var{obj} and @var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is a string." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5319 +msgid "As an example, consider this gexp:" +msgstr "" + +#. type: example +#: doc/guix.texi:5324 +#, no-wrap +msgid "" +"(gexp->script \"run-uname\"\n" +" #~(system* #$(file-append coreutils\n" +" \"/bin/uname\")))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5327 +msgid "The same effect could be achieved with:" +msgstr "" + +#. type: example +#: doc/guix.texi:5332 +#, no-wrap +msgid "" +"(gexp->script \"run-uname\"\n" +" #~(system* (string-append #$coreutils\n" +" \"/bin/uname\")))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5338 +msgid "There is one difference though: in the @code{file-append} case, the resulting script contains the absolute file name as a string, whereas in the second case, the resulting script contains a @code{(string-append @dots{})} expression to construct the file name @emph{at run time}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5345 +msgid "Of course, in addition to gexps embedded in ``host'' code, there are also modules containing build tools. To make it clear that they are meant to be used in the build stratum, these modules are kept in the @code{(guix build @dots{})} name space." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5351 +msgid "Internally, high-level objects are @dfn{lowered}, using their compiler, to either derivations or store items. For instance, lowering a package yields a derivation, and lowering a @code{plain-file} yields a store item. This is achieved using the @code{lower-object} monadic procedure." +msgstr "" + +#. type: deffn +#: doc/guix.texi:5352 +#, no-wrap +msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:5358 +msgid "[#:target #f] Return as a value in @var{%store-monad} the derivation or store item corresponding to @var{obj} for @var{system}, cross-compiling for @var{target} if @var{target} is true. @var{obj} must be an object that has an associated gexp compiler, such as a @code{}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5369 +msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way." +msgstr "" + +#. type: cindex +#: doc/guix.texi:5391 +#, no-wrap +msgid "package building" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:5392 +#, no-wrap +msgid "guix build" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5398 +msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5400 doc/guix.texi:6057 doc/guix.texi:6124 doc/guix.texi:6793 +#: doc/guix.texi:7123 doc/guix.texi:7453 doc/guix.texi:7758 doc/guix.texi:7824 +#: doc/guix.texi:7863 +msgid "The general syntax is:" +msgstr "" + +#. type: example +#: doc/guix.texi:5403 +#, no-wrap +msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5408 +msgid "As an example, the following command builds the latest versions of Emacs and of Guile, displays their build logs, and finally displays the resulting directories:" +msgstr "" + +#. type: example +#: doc/guix.texi:5411 +#, no-wrap +msgid "guix build emacs guile\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5414 +msgid "Similarly, the following command builds all the available packages:" +msgstr "" + +#. type: example +#: doc/guix.texi:5418 +#, no-wrap +msgid "" +"guix build --quiet --keep-going \\\n" +" `guix package -A | cut -f1,2 --output-delimiter=@@`\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5426 +msgid "@var{package-or-derivation} may be either the name of a package found in the software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the former case, a package with the corresponding name (and optionally version) is searched for among the GNU distribution modules (@pxref{Package Modules})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5431 +msgid "Alternatively, the @code{--expression} option may be used to specify a Scheme expression that evaluates to a package; this is useful when disambiguating among several same-named packages or package variants is needed." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5434 +msgid "There may be zero or more @var{options}. The available options are described in the subsections below." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5449 +msgid "A number of options that control the build process are common to @command{guix build} and other commands that can spawn builds, such as @command{guix package} or @command{guix archive}. These are the following:" +msgstr "" + +#. type: item +#: doc/guix.texi:5452 +#, no-wrap +msgid "--load-path=@var{directory}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5453 +#, no-wrap +msgid "-L @var{directory}" +msgstr "" + +#. type: table +#: doc/guix.texi:5456 +msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})." +msgstr "" + +#. type: table +#: doc/guix.texi:5459 +msgid "This allows users to define their own packages and make them visible to the command-line tools." +msgstr "" + +#. type: item +#: doc/guix.texi:5460 +#, no-wrap +msgid "--keep-failed" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5461 +#, no-wrap +msgid "-K" +msgstr "" + +#. type: table +#: doc/guix.texi:5467 +msgid "Keep the build tree of failed builds. Thus, if a build fails, its build tree is kept under @file{/tmp}, in a directory whose name is shown at the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues." +msgstr "" + +#. type: item +#: doc/guix.texi:5468 +#, no-wrap +msgid "--keep-going" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5469 +#, no-wrap +msgid "-k" +msgstr "" + +#. type: table +#: doc/guix.texi:5472 +msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed." +msgstr "" + +#. type: table +#: doc/guix.texi:5475 +msgid "The default behavior is to stop as soon as one of the specified derivations has failed." +msgstr "" + +#. type: item +#: doc/guix.texi:5476 +#, no-wrap +msgid "--dry-run" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5477 +#, no-wrap +msgid "-n" +msgstr "" + +#. type: table +#: doc/guix.texi:5479 +msgid "Do not build the derivations." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:5481 +msgid "fallback-option" +msgstr "" + +#. type: item +#: doc/guix.texi:5481 +#, no-wrap +msgid "--fallback" +msgstr "" + +#. type: table +#: doc/guix.texi:5484 +msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:5490 +msgid "client-substitute-urls" +msgstr "" + +#. type: table +#: doc/guix.texi:5490 +msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs, overriding the default list of URLs of @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})." +msgstr "" + +#. type: table +#: doc/guix.texi:5494 +msgid "This means that substitutes may be downloaded from @var{urls}, provided they are signed by a key authorized by the system administrator (@pxref{Substitutes})." +msgstr "" + +#. type: table +#: doc/guix.texi:5497 +msgid "When @var{urls} is the empty string, substitutes are effectively disabled." +msgstr "" + +#. type: item +#: doc/guix.texi:5503 +#, no-wrap +msgid "--no-grafts" +msgstr "" + +#. type: table +#: doc/guix.texi:5507 +msgid "Do not ``graft'' packages. In practice, this means that package updates available as grafts are not applied. @xref{Security Updates}, for more information on grafts." +msgstr "" + +#. type: item +#: doc/guix.texi:5508 +#, no-wrap +msgid "--rounds=@var{n}" +msgstr "" + +#. type: table +#: doc/guix.texi:5511 +msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical." +msgstr "" + +#. type: table +#: doc/guix.texi:5516 +msgid "This is a useful way to detect non-deterministic builds processes. Non-deterministic build processes are a problem because they make it practically impossible for users to @emph{verify} whether third-party binaries are genuine. @xref{Invoking guix challenge}, for more." +msgstr "" + +#. type: table +#: doc/guix.texi:5522 +msgid "Note that, currently, the differing build results are not kept around, so you will have to manually investigate in case of an error---e.g., by stashing one of the build results with @code{guix archive --export} (@pxref{Invoking guix archive}), then rebuilding, and finally comparing the two results." +msgstr "" + +#. type: table +#: doc/guix.texi:5527 +msgid "Do not attempt to offload builds @i{via} the ``build hook'' of the daemon (@pxref{Daemon Offload Setup}). That is, always build things locally instead of offloading builds to remote machines." +msgstr "Nicht versuchen, Erstellungen über den »Build-Hook« des Daemons auszulagern (@pxref{Daemon Offload Setup}). Somit wird lokal erstellt, statt Erstellungen auf entfernte Maschinen auszulagern." + +#. type: table +#: doc/guix.texi:5534 +msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @code{--max-silent-time}})." +msgstr "" + +#. type: table +#: doc/guix.texi:5541 +msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @code{--timeout}})." +msgstr "" + +#. type: item +#: doc/guix.texi:5542 +#, no-wrap +msgid "--verbosity=@var{level}" +msgstr "" + +#. type: table +#: doc/guix.texi:5546 +msgid "Use the given verbosity level. @var{level} must be an integer between 0 and 5; higher means more verbose output. Setting a level of 4 or more may be helpful when debugging setup issues with the build daemon." +msgstr "" + +#. type: table +#: doc/guix.texi:5551 +msgid "Allow the use of up to @var{n} CPU cores for the build. The special value @code{0} means to use as many CPU cores as available." +msgstr "" + +#. type: table +#: doc/guix.texi:5557 +msgid "Allow at most @var{n} build jobs in parallel. @xref{Invoking guix-daemon, @code{--max-jobs}}, for details about this option and the equivalent @command{guix-daemon} option." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5564 +msgid "Behind the scenes, @command{guix build} is essentially an interface to the @code{package-derivation} procedure of the @code{(guix packages)} module, and to the @code{build-derivations} procedure of the @code{(guix derivations)} module." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5568 +msgid "In addition to options explicitly passed on the command line, @command{guix build} and other @command{guix} commands that support building honor the @code{GUIX_BUILD_OPTIONS} environment variable." +msgstr "" + +#. type: defvr +#: doc/guix.texi:5569 +#, no-wrap +msgid "{Environment Variable} GUIX_BUILD_OPTIONS" +msgstr "" + +#. type: defvr +#: doc/guix.texi:5574 +msgid "Users can define this variable to a list of command line options that will automatically be used by @command{guix build} and other @command{guix} commands that can perform builds, as in the example below:" +msgstr "" + +#. type: example +#: doc/guix.texi:5577 +#, no-wrap +msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:5581 +msgid "These options are parsed independently, and the result is appended to the parsed command-line options." +msgstr "" + +#. type: cindex +#: doc/guix.texi:5587 +#, no-wrap +msgid "package variants" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5595 +msgid "Another set of command-line options supported by @command{guix build} and also @command{guix package} are @dfn{package transformation options}. These are options that make it possible to define @dfn{package variants}---for instance, packages built from different source code. This is a convenient way to create customized packages on the fly without having to type in the definitions of package variants (@pxref{Defining Packages})." +msgstr "" + +#. type: item +#: doc/guix.texi:5598 +#, no-wrap +msgid "--with-source=@var{source}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5599 +#, no-wrap +msgid "--with-source=@var{package}=@var{source}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5600 +#, no-wrap +msgid "--with-source=@var{package}@@@var{version}=@var{source}" +msgstr "" + +#. type: table +#: doc/guix.texi:5605 +msgid "Use @var{source} as the source of @var{package}, and @var{version} as its version number. @var{source} must be a file name or a URL, as for @command{guix download} (@pxref{Invoking guix download})." +msgstr "" + +#. type: table +#: doc/guix.texi:5611 +msgid "When @var{package} is omitted, it is taken to be the package name specified on the command line that matches the base of @var{source}---e.g., if @var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package is @code{guile}." +msgstr "" + +#. type: table +#: doc/guix.texi:5614 +msgid "Likewise, when @var{version} is omitted, the version string is inferred from @var{source}; in the previous example, it is @code{2.0.10}." +msgstr "" + +#. type: table +#: doc/guix.texi:5619 +msgid "This option allows users to try out versions of packages other than the one provided by the distribution. The example below downloads @file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the @code{ed} package:" +msgstr "" + +#. type: example +#: doc/guix.texi:5622 +#, no-wrap +msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n" +msgstr "" + +#. type: table +#: doc/guix.texi:5626 +msgid "As a developer, @code{--with-source} makes it easy to test release candidates:" +msgstr "" + +#. type: example +#: doc/guix.texi:5629 +#, no-wrap +msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n" +msgstr "" + +#. type: table +#: doc/guix.texi:5632 +msgid "@dots{} or to build from a checkout in a pristine environment:" +msgstr "" + +#. type: example +#: doc/guix.texi:5636 +#, no-wrap +msgid "" +"$ git clone git://git.sv.gnu.org/guix.git\n" +"$ guix build guix --with-source=guix@@1.0=./guix\n" +msgstr "" + +#. type: item +#: doc/guix.texi:5638 +#, no-wrap +msgid "--with-input=@var{package}=@var{replacement}" +msgstr "" + +#. type: table +#: doc/guix.texi:5643 +msgid "Replace dependency on @var{package} by a dependency on @var{replacement}. @var{package} must be a package name, and @var{replacement} must be a package specification such as @code{guile} or @code{guile@@1.8}." +msgstr "" + +#. type: table +#: doc/guix.texi:5647 +msgid "For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on the legacy version of Guile, @code{guile@@2.0}:" +msgstr "" + +#. type: example +#: doc/guix.texi:5650 +#, no-wrap +msgid "guix build --with-input=guile=guile@@2.0 guix\n" +msgstr "" + +#. type: table +#: doc/guix.texi:5655 +msgid "This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on @code{guile}) get rebuilt against @code{guile@@2.0}." +msgstr "" + +#. type: table +#: doc/guix.texi:5658 +msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})." +msgstr "" + +#. type: item +#: doc/guix.texi:5659 +#, no-wrap +msgid "--with-graft=@var{package}=@var{replacement}" +msgstr "" + +#. type: table +#: doc/guix.texi:5665 +msgid "This is similar to @code{--with-input} but with an important difference: instead of rebuilding the whole dependency chain, @var{replacement} is built and then @dfn{grafted} onto the binaries that were initially referring to @var{package}. @xref{Security Updates}, for more information on grafts." +msgstr "" + +#. type: table +#: doc/guix.texi:5669 +msgid "For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and all its dependencies, replacing references to the version of GnuTLS they currently refer to:" +msgstr "" + +#. type: example +#: doc/guix.texi:5672 +#, no-wrap +msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n" +msgstr "" + +#. type: table +#: doc/guix.texi:5681 +msgid "This has the advantage of being much faster than rebuilding everything. But there is a caveat: it works if and only if @var{package} and @var{replacement} are strictly compatible---for example, if they provide a library, the application binary interface (ABI) of those libraries must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care!" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5689 +msgid "The command-line options presented below are specific to @command{guix build}." +msgstr "" + +#. type: item +#: doc/guix.texi:5692 +#, no-wrap +msgid "--quiet" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5693 +#, no-wrap +msgid "-q" +msgstr "" + +#. type: table +#: doc/guix.texi:5697 +msgid "Build quietly, without displaying the build log. Upon completion, the build log is kept in @file{/var} (or similar) and can always be retrieved using the @option{--log-file} option." +msgstr "" + +#. type: item +#: doc/guix.texi:5698 +#, no-wrap +msgid "--file=@var{file}" +msgstr "" + +#. type: table +#: doc/guix.texi:5703 +msgid "Build the package or derivation that the code within @var{file} evaluates to." +msgstr "" + +#. type: table +#: doc/guix.texi:5706 +msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):" +msgstr "" + +#. type: table +#: doc/guix.texi:5714 +msgid "Build the package or derivation @var{expr} evaluates to." +msgstr "" + +#. type: table +#: doc/guix.texi:5718 +msgid "For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, which unambiguously designates this specific variant of version 1.8 of Guile." +msgstr "" + +#. type: table +#: doc/guix.texi:5722 +msgid "Alternatively, @var{expr} may be a G-expression, in which case it is used as a build program passed to @code{gexp->derivation} (@pxref{G-Expressions})." +msgstr "" + +#. type: table +#: doc/guix.texi:5726 +msgid "Lastly, @var{expr} may refer to a zero-argument monadic procedure (@pxref{The Store Monad}). The procedure must return a derivation as a monadic value, which is then passed through @code{run-with-store}." +msgstr "" + +#. type: item +#: doc/guix.texi:5727 +#, no-wrap +msgid "--source" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5728 +#, no-wrap +msgid "-S" +msgstr "" + +#. type: table +#: doc/guix.texi:5731 +msgid "Build the source derivations of the packages, rather than the packages themselves." +msgstr "" + +#. type: table +#: doc/guix.texi:5735 +msgid "For instance, @code{guix build -S gcc} returns something like @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source tarball." +msgstr "" + +#. type: table +#: doc/guix.texi:5739 +msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})." +msgstr "" + +#. type: item +#: doc/guix.texi:5740 +#, no-wrap +msgid "--sources" +msgstr "" + +#. type: table +#: doc/guix.texi:5747 +msgid "Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy of all the source code needed to build @var{packages}, allowing you to eventually build them even without network access. It is an extension of the @code{--source} option and can accept one of the following optional argument values:" +msgstr "" + +#. type: item +#: doc/guix.texi:5749 doc/guix.texi:6974 +#, no-wrap +msgid "package" +msgstr "" + +#. type: table +#: doc/guix.texi:5752 +msgid "This value causes the @code{--sources} option to behave in the same way as the @code{--source} option." +msgstr "" + +#. type: item +#: doc/guix.texi:5753 doc/guix.texi:11798 +#, no-wrap +msgid "all" +msgstr "" + +#. type: table +#: doc/guix.texi:5756 +msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value." +msgstr "" + +#. type: example +#: doc/guix.texi:5762 +#, no-wrap +msgid "" +"$ guix build --sources tzdata\n" +"The following derivations will be built:\n" +" /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n" +" /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n" +msgstr "" + +#. type: item +#: doc/guix.texi:5764 +#, no-wrap +msgid "transitive" +msgstr "" + +#. type: table +#: doc/guix.texi:5768 +msgid "Build the source derivations of all packages, as well of all transitive inputs to the packages. This can be used e.g. to prefetch package source for later offline building." +msgstr "" + +#. type: example +#: doc/guix.texi:5779 +#, no-wrap +msgid "" +"$ guix build --sources=transitive tzdata\n" +"The following derivations will be built:\n" +" /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n" +" /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n" +" /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n" +" /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n" +" /gnu/store/@dots{}-make-4.1.tar.xz.drv\n" +" /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n" +"@dots{}\n" +msgstr "" + +#. type: quotation +#: doc/guix.texi:5792 +msgid "The @code{--system} flag is for @emph{native} compilation and must not be confused with cross-compilation. See @code{--target} below for information on cross-compilation." +msgstr "" + +#. type: table +#: doc/guix.texi:5798 +msgid "An example use of this is on Linux-based systems, which can emulate different personalities. For instance, passing @code{--system=i686-linux} on an @code{x86_64-linux} system allows you to build packages in a complete 32-bit environment." +msgstr "" + +#. type: table +#: doc/guix.texi:5803 +msgid "Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is enabled (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), you can build for any system for which a QEMU @code{binfmt_misc} handler is installed." +msgstr "" + +#. type: table +#: doc/guix.texi:5807 +msgid "Builds for a system other than that of the machine you are using can also be offloaded to a remote machine of the right architecture. @xref{Daemon Offload Setup}, for more information on offloading." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:5815 +msgid "build-check" +msgstr "" + +#. type: item +#: doc/guix.texi:5815 +#, no-wrap +msgid "--check" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5816 +#, no-wrap +msgid "determinism, checking" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5817 +#, no-wrap +msgid "reproducibility, checking" +msgstr "" + +#. type: table +#: doc/guix.texi:5821 +msgid "Rebuild @var{package-or-derivation}, which are already available in the store, and raise an error if the build results are not bit-for-bit identical." +msgstr "" + +#. type: table +#: doc/guix.texi:5826 +msgid "This mechanism allows you to check whether previously installed substitutes are genuine (@pxref{Substitutes}), or whether the build result of a package is deterministic. @xref{Invoking guix challenge}, for more background information and tools." +msgstr "" + +#. type: item +#: doc/guix.texi:5831 +#, no-wrap +msgid "--repair" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5832 +#, no-wrap +msgid "repairing store items" +msgstr "" + +#. type: table +#: doc/guix.texi:5836 +msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them." +msgstr "" + +#. type: table +#: doc/guix.texi:5838 +msgid "This operation is not atomic and thus restricted to @code{root}." +msgstr "" + +#. type: item +#: doc/guix.texi:5839 +#, no-wrap +msgid "--derivations" +msgstr "" + +#. type: table +#: doc/guix.texi:5843 +msgid "Return the derivation paths, not the output paths, of the given packages." +msgstr "" + +#. type: item +#: doc/guix.texi:5844 doc/guix.texi:7231 doc/guix.texi:20625 +#, no-wrap +msgid "--root=@var{file}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:5845 doc/guix.texi:7232 doc/guix.texi:20626 +#, no-wrap +msgid "-r @var{file}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5846 +#, no-wrap +msgid "GC roots, adding" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5847 +#, no-wrap +msgid "garbage collector roots, adding" +msgstr "" + +#. type: table +#: doc/guix.texi:5850 doc/guix.texi:20629 +msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root." +msgstr "" + +#. type: table +#: doc/guix.texi:5856 +msgid "Consequently, the results of this @command{guix build} invocation are protected from garbage collection until @var{file} is removed. When that option is omitted, build results are eligible for garbage collection as soon as the build completes. @xref{Invoking guix gc}, for more on GC roots." +msgstr "" + +#. type: item +#: doc/guix.texi:5857 +#, no-wrap +msgid "--log-file" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5858 +#, no-wrap +msgid "build logs, access" +msgstr "" + +#. type: table +#: doc/guix.texi:5862 +msgid "Return the build log file names or URLs for the given @var{package-or-derivation}, or raise an error if build logs are missing." +msgstr "" + +#. type: table +#: doc/guix.texi:5865 +msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:" +msgstr "" + +#. type: example +#: doc/guix.texi:5871 +#, no-wrap +msgid "" +"guix build --log-file `guix build -d guile`\n" +"guix build --log-file `guix build guile`\n" +"guix build --log-file guile\n" +"guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n" +msgstr "" + +#. type: table +#: doc/guix.texi:5876 +msgid "If a log is unavailable locally, and unless @code{--no-substitutes} is passed, the command looks for a corresponding log on one of the substitute servers (as specified with @code{--substitute-urls}.)" +msgstr "" + +#. type: table +#: doc/guix.texi:5879 +msgid "So for instance, imagine you want to see the build log of GDB on MIPS, but you are actually on an @code{x86_64} machine:" +msgstr "" + +#. type: example +#: doc/guix.texi:5883 +#, no-wrap +msgid "" +"$ guix build --log-file gdb -s mips64el-linux\n" +"https://hydra.gnu.org/log/@dots{}-gdb-7.10\n" +msgstr "" + +#. type: table +#: doc/guix.texi:5886 +msgid "You can freely access a huge library of build logs!" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5891 +#, no-wrap +msgid "build failures, debugging" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5897 +msgid "When defining a new package (@pxref{Defining Packages}), you will probably find yourself spending some time debugging and tweaking the build until it succeeds. To do that, you need to operate the build commands yourself in an environment as close as possible to the one the build daemon uses." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5902 +msgid "To that end, the first thing to do is to use the @option{--keep-failed} or @option{-K} option of @command{guix build}, which will keep the failed build tree in @file{/tmp} or whatever directory you specified as @code{TMPDIR} (@pxref{Invoking guix build, @code{--keep-failed}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5908 +msgid "From there on, you can @command{cd} to the failed build tree and source the @file{environment-variables} file, which contains all the environment variable definitions that were in place when the build failed. So let's say you're debugging a build failure in package @code{foo}; a typical session would look like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:5915 +#, no-wrap +msgid "" +"$ guix build foo -K\n" +"@dots{} @i{build fails}\n" +"$ cd /tmp/guix-build-foo.drv-0\n" +"$ source ./environment-variables\n" +"$ cd foo-1.2\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5919 +msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5925 +msgid "Sometimes it happens that, for example, a package's tests pass when you run them manually but they fail when the daemon runs them. This can happen because the daemon runs builds in containers where, unlike in our environment above, network access is missing, @file{/bin/sh} does not exist, etc. (@pxref{Build Environment Setup})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5928 +msgid "In such cases, you may need to run inspect the build process from within a container similar to the one the build daemon creates:" +msgstr "" + +#. type: example +#: doc/guix.texi:5936 +#, no-wrap +msgid "" +"$ guix build -K foo\n" +"@dots{}\n" +"$ cd /tmp/guix-build-foo.drv-0\n" +"$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n" +"[env]# source ./environment-variables\n" +"[env]# cd foo-1.2\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5945 +msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which would may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5948 +msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:" +msgstr "" + +#. type: example +#: doc/guix.texi:5951 +#, no-wrap +msgid "[env]# rm /bin/sh\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5955 +msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5958 +msgid "The @command{strace} command is probably not in the search path, but we can run:" +msgstr "" + +#. type: example +#: doc/guix.texi:5961 +#, no-wrap +msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5966 +msgid "In this way, not only you will have reproduced the environment variables the daemon uses, you will also be running the build process in a container similar to the one the daemon uses." +msgstr "" + +#. type: section +#: doc/guix.texi:5969 +#, no-wrap +msgid "Invoking @command{guix edit}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:5971 +#, no-wrap +msgid "guix edit" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5972 +#, no-wrap +msgid "package definition, editing" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5977 +msgid "So many packages, so many source files! The @command{guix edit} command facilitates the life of users and packagers by pointing their editor at the source file containing the definition of the specified packages. For instance:" +msgstr "" + +#. type: example +#: doc/guix.texi:5980 +#, no-wrap +msgid "guix edit gcc@@4.9 vim\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5986 +msgid "launches the program specified in the @code{VISUAL} or in the @code{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:5992 +msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @code{GUIX_PACKAGE_PATH} (@pxref{Defining Packages}), you will be able to edit the package recipes. Otherwise, you will be able to examine the read-only recipes for packages currently in the store." +msgstr "" + +#. type: section +#: doc/guix.texi:5995 +#, no-wrap +msgid "Invoking @command{guix download}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:5997 +#, no-wrap +msgid "guix download" +msgstr "" + +#. type: cindex +#: doc/guix.texi:5998 +#, no-wrap +msgid "downloading package sources" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6005 +msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6012 +msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6020 +msgid "The @command{guix download} command supports the same URIs as used in package definitions. In particular, it supports @code{mirror://} URIs. @code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile bindings for GnuTLS are available in the user's environment; when they are not available, an error is raised. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more information." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6025 +msgid "@command{guix download} verifies HTTPS server certificates by loading the certificates of X.509 authorities from the directory pointed to by the @code{SSL_CERT_DIR} environment variable (@pxref{X.509 Certificates}), unless @option{--no-check-certificate} is used." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6027 doc/guix.texi:7511 +msgid "The following options are available:" +msgstr "" + +#. type: item +#: doc/guix.texi:6029 doc/guix.texi:6068 +#, no-wrap +msgid "--format=@var{fmt}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6030 doc/guix.texi:6069 +#, no-wrap +msgid "-f @var{fmt}" +msgstr "" + +#. type: table +#: doc/guix.texi:6033 +msgid "Write the hash in the format specified by @var{fmt}. For more information on the valid values for @var{fmt}, @pxref{Invoking guix hash}." +msgstr "" + +#. type: item +#: doc/guix.texi:6034 +#, no-wrap +msgid "--no-check-certificate" +msgstr "" + +#. type: table +#: doc/guix.texi:6036 +msgid "Do not validate the X.509 certificates of HTTPS servers." +msgstr "" + +#. type: table +#: doc/guix.texi:6040 +msgid "When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks." +msgstr "" + +#. type: item +#: doc/guix.texi:6041 +#, no-wrap +msgid "--output=@var{file}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6042 +#, no-wrap +msgid "-o @var{file}" +msgstr "" + +#. type: table +#: doc/guix.texi:6045 +msgid "Save the downloaded file to @var{file} instead of adding it to the store." +msgstr "" + +#. type: section +#: doc/guix.texi:6048 +#, no-wrap +msgid "Invoking @command{guix hash}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:6050 +#, no-wrap +msgid "guix hash" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6055 +msgid "The @command{guix hash} command computes the SHA256 hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of a file, which can be used in the definition of a package (@pxref{Defining Packages})." +msgstr "" + +#. type: example +#: doc/guix.texi:6060 +#, no-wrap +msgid "guix hash @var{option} @var{file}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6065 +msgid "When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the hash of data read from standard input. @command{guix hash} has the following options:" +msgstr "" + +#. type: table +#: doc/guix.texi:6071 +msgid "Write the hash in the format specified by @var{fmt}." +msgstr "" + +#. type: table +#: doc/guix.texi:6074 +msgid "Supported formats: @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)." +msgstr "" + +#. type: table +#: doc/guix.texi:6078 +msgid "If the @option{--format} option is not specified, @command{guix hash} will output the hash in @code{nix-base32}. This representation is used in the definitions of packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6082 +msgid "Compute the hash on @var{file} recursively." +msgstr "" + +#. type: table +#: doc/guix.texi:6091 +msgid "In this case, the hash is computed on an archive containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps has no impact on the hash (@pxref{Invoking guix archive})." +msgstr "" + +#. type: item +#: doc/guix.texi:6092 +#, no-wrap +msgid "--exclude-vcs" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6093 +#, no-wrap +msgid "-x" +msgstr "" + +#. type: table +#: doc/guix.texi:6096 +msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)" +msgstr "" + +#. type: table +#: doc/guix.texi:6101 +msgid "As an example, here is how you would compute the hash of a Git checkout, which is useful when using the @code{git-fetch} method (@pxref{origin Reference}):" +msgstr "" + +#. type: example +#: doc/guix.texi:6106 +#, no-wrap +msgid "" +"$ git clone http://example.org/foo.git\n" +"$ cd foo\n" +"$ guix hash -rx .\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6110 doc/guix.texi:6115 +#, no-wrap +msgid "Invoking @command{guix import}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6112 +#, no-wrap +msgid "importing packages" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6113 +#, no-wrap +msgid "package import" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6114 +#, no-wrap +msgid "package conversion" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6122 +msgid "The @command{guix import} command is useful for people who would like to add a package to the distribution with as little work as possible---a legitimate demand. The command knows of a few repositories from which it can ``import'' package metadata. The result is a package definition, or a template thereof, in the format we know (@pxref{Defining Packages})." +msgstr "" + +#. type: example +#: doc/guix.texi:6127 +#, no-wrap +msgid "guix import @var{importer} @var{options}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6133 +msgid "@var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other options specific to @var{importer}. Currently, the available ``importers'' are:" +msgstr "" + +#. type: item +#: doc/guix.texi:6135 doc/guix.texi:6588 +#, no-wrap +msgid "gnu" +msgstr "" + +#. type: table +#: doc/guix.texi:6139 +msgid "Import metadata for the given GNU package. This provides a template for the latest version of that GNU package, including the hash of its source tarball, and its canonical synopsis and description." +msgstr "" + +#. type: table +#: doc/guix.texi:6142 +msgid "Additional information such as the package dependencies and its license needs to be figured out manually." +msgstr "" + +#. type: table +#: doc/guix.texi:6145 +msgid "For example, the following command returns a package definition for GNU@tie{}Hello:" +msgstr "" + +#. type: example +#: doc/guix.texi:6148 +#, no-wrap +msgid "guix import gnu hello\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6151 doc/guix.texi:6369 doc/guix.texi:6414 doc/guix.texi:6438 +msgid "Specific command-line options are:" +msgstr "" + +#. type: item +#: doc/guix.texi:6153 doc/guix.texi:6689 +#, no-wrap +msgid "--key-download=@var{policy}" +msgstr "" + +#. type: table +#: doc/guix.texi:6157 +msgid "As for @code{guix refresh}, specify the policy to handle missing OpenPGP keys when verifying the package signature. @xref{Invoking guix refresh, @code{--key-download}}." +msgstr "" + +#. type: item +#: doc/guix.texi:6159 doc/guix.texi:6160 doc/guix.texi:6606 +#, no-wrap +msgid "pypi" +msgstr "" + +#. type: table +#: doc/guix.texi:6168 +msgid "Import metadata from the @uref{https://pypi.python.org/, Python Package Index}@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Information is taken from the JSON-formatted description available at @code{pypi.python.org} and usually includes all the relevant information, including package dependencies. For maximum efficiency, it is recommended to install the @command{unzip} utility, so that the importer can unzip Python wheels and gather data from them." +msgstr "" + +#. type: table +#: doc/guix.texi:6171 +msgid "The command below imports metadata for the @code{itsdangerous} Python package:" +msgstr "" + +#. type: example +#: doc/guix.texi:6174 +#, no-wrap +msgid "guix import pypi itsdangerous\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6176 doc/guix.texi:6177 doc/guix.texi:6608 +#, no-wrap +msgid "gem" +msgstr "" + +#. type: table +#: doc/guix.texi:6188 +msgid "Import metadata from @uref{https://rubygems.org/, RubyGems}@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Information is taken from the JSON-formatted description available at @code{rubygems.org} and includes most relevant information, including runtime dependencies. There are some caveats, however. The metadata doesn't distinguish between synopses and descriptions, so the same string is used for both fields. Additionally, the details of non-Ruby dependencies required to build native extensions is unavailable and left as an exercise to the packager." +msgstr "" + +#. type: table +#: doc/guix.texi:6190 +msgid "The command below imports metadata for the @code{rails} Ruby package:" +msgstr "" + +#. type: example +#: doc/guix.texi:6193 +#, no-wrap +msgid "guix import gem rails\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6195 doc/guix.texi:6604 +#, no-wrap +msgid "cpan" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6196 +#, no-wrap +msgid "CPAN" +msgstr "" + +#. type: table +#: doc/guix.texi:6206 +msgid "Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information should be checked closely. If Perl is available in the store, then the @code{corelist} utility will be used to filter core modules out of the list of dependencies." +msgstr "" + +#. type: table +#: doc/guix.texi:6209 +msgid "The command command below imports metadata for the @code{Acme::Boolean} Perl module:" +msgstr "" + +#. type: example +#: doc/guix.texi:6212 +#, no-wrap +msgid "guix import cpan Acme::Boolean\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6214 doc/guix.texi:6600 +#, no-wrap +msgid "cran" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6215 +#, no-wrap +msgid "CRAN" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6216 +#, no-wrap +msgid "Bioconductor" +msgstr "" + +#. type: table +#: doc/guix.texi:6220 +msgid "Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central repository for the @uref{http://r-project.org, GNU@tie{}R statistical and graphical environment}." +msgstr "" + +#. type: table +#: doc/guix.texi:6222 +msgid "Information is extracted from the @code{DESCRIPTION} file of the package." +msgstr "" + +#. type: table +#: doc/guix.texi:6225 +msgid "The command command below imports metadata for the @code{Cairo} R package:" +msgstr "" + +#. type: example +#: doc/guix.texi:6228 +#, no-wrap +msgid "guix import cran Cairo\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6233 +msgid "When @code{--recursive} is added, the importer will traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix." +msgstr "" + +#. type: table +#: doc/guix.texi:6238 +msgid "When @code{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for for the analysis and comprehension of high-throughput genomic data in bioinformatics." +msgstr "" + +#. type: table +#: doc/guix.texi:6241 +msgid "Information is extracted from the @code{DESCRIPTION} file of a package published on the web interface of the Bioconductor SVN repository." +msgstr "" + +#. type: table +#: doc/guix.texi:6244 +msgid "The command below imports metadata for the @code{GenomicRanges} R package:" +msgstr "" + +#. type: example +#: doc/guix.texi:6247 +#, no-wrap +msgid "guix import cran --archive=bioconductor GenomicRanges\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6249 +#, no-wrap +msgid "texlive" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6250 +#, no-wrap +msgid "TeX Live" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6251 +#, no-wrap +msgid "CTAN" +msgstr "" + +#. type: table +#: doc/guix.texi:6255 +msgid "Import metadata from @uref{http://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}." +msgstr "" + +#. type: table +#: doc/guix.texi:6260 +msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives." +msgstr "" + +#. type: table +#: doc/guix.texi:6263 +msgid "The command command below imports metadata for the @code{fontspec} TeX package:" +msgstr "" + +#. type: example +#: doc/guix.texi:6266 +#, no-wrap +msgid "guix import texlive fontspec\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6272 +msgid "When @code{--archive=DIRECTORY} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling directory under the same root." +msgstr "" + +#. type: table +#: doc/guix.texi:6276 +msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:" +msgstr "" + +#. type: example +#: doc/guix.texi:6279 +#, no-wrap +msgid "guix import texlive --archive=generic ifxetex\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6281 +#, no-wrap +msgid "json" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6282 +#, no-wrap +msgid "JSON, import" +msgstr "" + +#. type: table +#: doc/guix.texi:6287 +msgid "Import package metadata from a local JSON file@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Consider the following example package definition in JSON format:" +msgstr "" + +#. type: example +#: doc/guix.texi:6300 +#, no-wrap +msgid "" +"@{\n" +" \"name\": \"hello\",\n" +" \"version\": \"2.10\",\n" +" \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n" +" \"build-system\": \"gnu\",\n" +" \"home-page\": \"https://www.gnu.org/software/hello/\",\n" +" \"synopsis\": \"Hello, GNU world: An example GNU package\",\n" +" \"description\": \"GNU Hello prints a greeting.\",\n" +" \"license\": \"GPL-3.0+\",\n" +" \"native-inputs\": [\"gcc@@6\"]\n" +"@}\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6306 +msgid "The field names are the same as for the @code{} record (@xref{Defining Packages}). References to other packages are provided as JSON lists of quoted package specification strings such as @code{guile} or @code{guile@@2.0}." +msgstr "" + +#. type: table +#: doc/guix.texi:6309 +msgid "The importer also supports a more explicit source definition using the common fields for @code{} records:" +msgstr "" + +#. type: example +#: doc/guix.texi:6322 +#, no-wrap +msgid "" +"@{\n" +" @dots{}\n" +" \"source\": @{\n" +" \"method\": \"url-fetch\",\n" +" \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n" +" \"sha256\": @{\n" +" \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n" +" @}\n" +" @}\n" +" @dots{}\n" +"@}\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6326 +msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:" +msgstr "" + +#. type: example +#: doc/guix.texi:6329 +#, no-wrap +msgid "guix import json hello.json\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6331 +#, no-wrap +msgid "nix" +msgstr "" + +#. type: table +#: doc/guix.texi:6340 +msgid "Import metadata from a local copy of the source of the @uref{http://nixos.org/nixpkgs/, Nixpkgs distribution}@footnote{This relies on the @command{nix-instantiate} command of @uref{http://nixos.org/nix/, Nix}.}. Package definitions in Nixpkgs are typically written in a mixture of Nix-language and Bash code. This command only imports the high-level package structure that is written in the Nix language. It normally includes all the basic fields of a package definition." +msgstr "" + +#. type: table +#: doc/guix.texi:6343 +msgid "When importing a GNU package, the synopsis and descriptions are replaced by their canonical upstream variant." +msgstr "" + +#. type: table +#: doc/guix.texi:6345 +msgid "Usually, you will first need to do:" +msgstr "" + +#. type: example +#: doc/guix.texi:6348 +#, no-wrap +msgid "export NIX_REMOTE=daemon\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6352 +msgid "so that @command{nix-instantiate} does not try to open the Nix database." +msgstr "" + +#. type: table +#: doc/guix.texi:6356 +msgid "As an example, the command below imports the package definition of LibreOffice (more precisely, it imports the definition of the package bound to the @code{libreoffice} top-level attribute):" +msgstr "" + +#. type: example +#: doc/guix.texi:6359 +#, no-wrap +msgid "guix import nix ~/path/to/nixpkgs libreoffice\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6361 doc/guix.texi:6362 doc/guix.texi:6612 +#, no-wrap +msgid "hackage" +msgstr "" + +#. type: table +#: doc/guix.texi:6367 +msgid "Import metadata from the Haskell community's central package archive @uref{https://hackage.haskell.org/, Hackage}. Information is taken from Cabal files and includes all the relevant information, including package dependencies." +msgstr "" + +#. type: item +#: doc/guix.texi:6371 +#, no-wrap +msgid "--stdin" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6372 +#, no-wrap +msgid "-s" +msgstr "" + +#. type: table +#: doc/guix.texi:6374 +msgid "Read a Cabal file from standard input." +msgstr "" + +#. type: item +#: doc/guix.texi:6374 doc/guix.texi:6416 +#, no-wrap +msgid "--no-test-dependencies" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6375 doc/guix.texi:6417 +#, no-wrap +msgid "-t" +msgstr "" + +#. type: table +#: doc/guix.texi:6377 doc/guix.texi:6419 +msgid "Do not include dependencies required only by the test suites." +msgstr "" + +#. type: item +#: doc/guix.texi:6377 +#, no-wrap +msgid "--cabal-environment=@var{alist}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6378 +#, no-wrap +msgid "-e @var{alist}" +msgstr "" + +#. type: table +#: doc/guix.texi:6387 +msgid "@var{alist} is a Scheme alist defining the environment in which the Cabal conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, @code{impl} and a string representing the name of a flag. The value associated with a flag has to be either the symbol @code{true} or @code{false}. The value associated with other keys has to conform to the Cabal file format definition. The default value associated with the keys @code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and @samp{ghc}, respectively." +msgstr "" + +#. type: table +#: doc/guix.texi:6392 +msgid "The command below imports metadata for the latest version of the @code{HTTP} Haskell package without including test dependencies and specifying the value of the flag @samp{network-uri} as @code{false}:" +msgstr "" + +#. type: example +#: doc/guix.texi:6395 +#, no-wrap +msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6399 +msgid "A specific package version may optionally be specified by following the package name by an at-sign and a version number as in the following example:" +msgstr "" + +#. type: example +#: doc/guix.texi:6402 +#, no-wrap +msgid "guix import hackage mtl@@2.1.3.1\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6404 doc/guix.texi:6405 doc/guix.texi:6614 +#, no-wrap +msgid "stackage" +msgstr "" + +#. type: table +#: doc/guix.texi:6412 +msgid "The @code{stackage} importer is a wrapper around the @code{hackage} one. It takes a package name, looks up the package version included in a long-term support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the @code{hackage} importer to retrieve its metadata. Note that it is up to you to select an LTS release compatible with the GHC compiler used by Guix." +msgstr "" + +#. type: item +#: doc/guix.texi:6419 +#, no-wrap +msgid "--lts-version=@var{version}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6420 +#, fuzzy, no-wrap +#| msgid "-c @var{n}" +msgid "-r @var{version}" +msgstr "-c @var{n}" + +#. type: table +#: doc/guix.texi:6423 +msgid "@var{version} is the desired LTS release version. If omitted the latest release is used." +msgstr "" + +#. type: table +#: doc/guix.texi:6427 +msgid "The command below imports metadata for the @code{HTTP} Haskell package included in the LTS Stackage release version 7.18:" +msgstr "" + +#. type: example +#: doc/guix.texi:6430 +#, no-wrap +msgid "guix import stackage --lts-version=7.18 HTTP\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6432 doc/guix.texi:6433 doc/guix.texi:6598 +#, no-wrap +msgid "elpa" +msgstr "" + +#. type: table +#: doc/guix.texi:6436 +msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:6440 +#, no-wrap +msgid "--archive=@var{repo}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6441 +#, no-wrap +msgid "-a @var{repo}" +msgstr "" + +#. type: table +#: doc/guix.texi:6445 +msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:6449 +msgid "@uref{http://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default." +msgstr "" + +#. type: itemize +#: doc/guix.texi:6455 +msgid "Packages from @code{elpa.gnu.org} are signed with one of the keys contained in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or similar) in the @code{emacs} package (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})." +msgstr "" + +#. type: itemize +#: doc/guix.texi:6459 +msgid "@uref{http://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier." +msgstr "" + +#. type: itemize +#: doc/guix.texi:6463 +msgid "@uref{http://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier." +msgstr "" + +#. type: item +#: doc/guix.texi:6466 doc/guix.texi:6467 doc/guix.texi:6616 +#, no-wrap +msgid "crate" +msgstr "" + +#. type: table +#: doc/guix.texi:6470 +msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6475 +msgid "The structure of the @command{guix import} code is modular. It would be useful to have more importers for other package formats, and your help is welcome here (@pxref{Contributing})." +msgstr "" + +#. type: section +#: doc/guix.texi:6477 +#, no-wrap +msgid "Invoking @command{guix refresh}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:6479 +#, no-wrap +msgid "guix refresh" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6484 +msgid "The primary audience of the @command{guix refresh} command is developers of the GNU software distribution. By default, it reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:6489 +#, no-wrap +msgid "" +"$ guix refresh\n" +"gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n" +"gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6493 +msgid "Alternately, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:" +msgstr "" + +#. type: example +#: doc/guix.texi:6498 +#, no-wrap +msgid "" +"$ guix refresh coreutils guile guile-ssh\n" +"gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n" +"gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6507 +msgid "@command{guix refresh} browses the upstream repository of each package and determines the highest version number of the releases therein. The command knows how to update specific types of packages: GNU packages, ELPA packages, etc.---see the documentation for @option{--type} below. There are many packages, though, for which it lacks a method to determine whether a new upstream release is available. However, the mechanism is extensible, so feel free to get in touch with us to add a new method!" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6512 +msgid "Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used to that effect:" +msgstr "" + +#. type: example +#: doc/guix.texi:6519 +#, no-wrap +msgid "" +"(define-public network-manager\n" +" (package\n" +" (name \"network-manager\")\n" +" ;; @dots{}\n" +" (properties '((upstream-name . \"NetworkManager\")))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6531 +msgid "When passed @code{--update}, it modifies distribution source files to update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature using @command{gpg}, and finally computing its hash. When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, @command{guix refresh} reports an error." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6533 +msgid "The following options are supported:" +msgstr "" + +#. type: table +#: doc/guix.texi:6541 doc/guix.texi:7102 +msgid "This is useful to precisely refer to a package, as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:6544 +#, no-wrap +msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6548 +msgid "This command lists the dependents of the ``final'' libc (essentially all the packages.)" +msgstr "" + +#. type: item +#: doc/guix.texi:6549 +#, no-wrap +msgid "--update" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6550 +#, no-wrap +msgid "-u" +msgstr "" + +#. type: table +#: doc/guix.texi:6554 +msgid "Update distribution source files (package recipes) in place. This is usually run from a checkout of the Guix source tree (@pxref{Running Guix Before It Is Installed}):" +msgstr "" + +#. type: example +#: doc/guix.texi:6557 +#, no-wrap +msgid "$ ./pre-inst-env guix refresh -s non-core -u\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6560 +msgid "@xref{Defining Packages}, for more information on package definitions." +msgstr "" + +#. type: item +#: doc/guix.texi:6561 +#, no-wrap +msgid "--select=[@var{subset}]" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6562 +#, no-wrap +msgid "-s @var{subset}" +msgstr "" + +#. type: table +#: doc/guix.texi:6565 +msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}." +msgstr "" + +#. type: table +#: doc/guix.texi:6572 +msgid "The @code{core} subset refers to all the packages at the core of the distribution---i.e., packages that are used to build ``everything else''. This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of these packages in the distribution entails a rebuild of all the others. Thus, such updates are an inconvenience to users in terms of build time or bandwidth used to achieve the upgrade." +msgstr "" + +#. type: table +#: doc/guix.texi:6576 +msgid "The @code{non-core} subset refers to the remaining packages. It is typically useful in cases where an update of the core packages would be inconvenient." +msgstr "" + +#. type: table +#: doc/guix.texi:6581 +msgid "Select all the packages from the manifest in @var{file}. This is useful to check if any packages of the user manifest can be updated." +msgstr "" + +#. type: item +#: doc/guix.texi:6582 +#, no-wrap +msgid "--type=@var{updater}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6583 +#, no-wrap +msgid "-t @var{updater}" +msgstr "" + +#. type: table +#: doc/guix.texi:6586 +msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:" +msgstr "" + +#. type: table +#: doc/guix.texi:6590 +msgid "the updater for GNU packages;" +msgstr "" + +#. type: item +#: doc/guix.texi:6590 +#, no-wrap +msgid "gnome" +msgstr "" + +#. type: table +#: doc/guix.texi:6592 +msgid "the updater for GNOME packages;" +msgstr "" + +#. type: item +#: doc/guix.texi:6592 +#, no-wrap +msgid "kde" +msgstr "" + +#. type: table +#: doc/guix.texi:6594 +msgid "the updater for KDE packages;" +msgstr "" + +#. type: item +#: doc/guix.texi:6594 +#, no-wrap +msgid "xorg" +msgstr "" + +#. type: table +#: doc/guix.texi:6596 +msgid "the updater for X.org packages;" +msgstr "" + +#. type: item +#: doc/guix.texi:6596 +#, no-wrap +msgid "kernel.org" +msgstr "" + +#. type: table +#: doc/guix.texi:6598 +msgid "the updater for packages hosted on kernel.org;" +msgstr "" + +#. type: table +#: doc/guix.texi:6600 +msgid "the updater for @uref{http://elpa.gnu.org/, ELPA} packages;" +msgstr "" + +#. type: table +#: doc/guix.texi:6602 +msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;" +msgstr "" + +#. type: item +#: doc/guix.texi:6602 +#, no-wrap +msgid "bioconductor" +msgstr "" + +#. type: table +#: doc/guix.texi:6604 +msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;" +msgstr "" + +#. type: table +#: doc/guix.texi:6606 +msgid "the updater for @uref{http://www.cpan.org/, CPAN} packages;" +msgstr "" + +#. type: table +#: doc/guix.texi:6608 +msgid "the updater for @uref{https://pypi.python.org, PyPI} packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6610 +msgid "the updater for @uref{https://rubygems.org, RubyGems} packages." +msgstr "" + +#. type: item +#: doc/guix.texi:6610 +#, no-wrap +msgid "github" +msgstr "" + +#. type: table +#: doc/guix.texi:6612 +msgid "the updater for @uref{https://github.com, GitHub} packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6614 +msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6616 +msgid "the updater for @uref{https://www.stackage.org, Stackage} packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6618 +msgid "the updater for @uref{https://crates.io, Crates} packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6622 +msgid "For instance, the following command only checks for updates of Emacs packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages:" +msgstr "" + +#. type: example +#: doc/guix.texi:6627 +#, no-wrap +msgid "" +"$ guix refresh --type=elpa,cran\n" +"gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n" +"gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6633 +msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:6636 +#, no-wrap +msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6642 +msgid "The command above specifically updates the @code{emacs} and @code{idutils} packages. The @code{--select} option would have no effect in this case." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6647 +msgid "When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may be used when passing @command{guix refresh} one or more package names:" +msgstr "" + +#. type: item +#: doc/guix.texi:6650 +#, no-wrap +msgid "--list-updaters" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6651 +#, no-wrap +msgid "-L" +msgstr "" + +#. type: table +#: doc/guix.texi:6653 +msgid "List available updaters and exit (see @option{--type} above.)" +msgstr "" + +#. type: table +#: doc/guix.texi:6656 +msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters." +msgstr "" + +#. type: item +#: doc/guix.texi:6657 +#, no-wrap +msgid "--list-dependent" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6658 doc/guix.texi:6803 +#, no-wrap +msgid "-l" +msgstr "" + +#. type: table +#: doc/guix.texi:6661 +msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages." +msgstr "" + +#. type: table +#: doc/guix.texi:6665 +msgid "@xref{Invoking guix graph, the @code{reverse-package} type of @command{guix graph}}, for information on how to visualize the list of dependents of a package." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6671 +msgid "Be aware that the @code{--list-dependent} option only @emph{approximates} the rebuilds that would be required as a result of an upgrade. More rebuilds might be required under some circumstances." +msgstr "" + +#. type: example +#: doc/guix.texi:6676 +#, no-wrap +msgid "" +"$ guix refresh --list-dependent flex\n" +"Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n" +"hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6680 +msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6682 +msgid "The following options can be used to customize GnuPG operation:" +msgstr "" + +#. type: item +#: doc/guix.texi:6685 +#, no-wrap +msgid "--gpg=@var{command}" +msgstr "" + +#. type: table +#: doc/guix.texi:6688 +msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}." +msgstr "" + +#. type: table +#: doc/guix.texi:6692 +msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:" +msgstr "" + +#. type: item +#: doc/guix.texi:6694 doc/guix.texi:13715 +#, no-wrap +msgid "always" +msgstr "" + +#. type: table +#: doc/guix.texi:6697 +msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring." +msgstr "" + +#. type: item +#: doc/guix.texi:6698 doc/guix.texi:13717 +#, no-wrap +msgid "never" +msgstr "" + +#. type: table +#: doc/guix.texi:6700 +msgid "Never try to download missing OpenPGP keys. Instead just bail out." +msgstr "" + +#. type: item +#: doc/guix.texi:6701 +#, no-wrap +msgid "interactive" +msgstr "" + +#. type: table +#: doc/guix.texi:6704 +msgid "When a package signed with an unknown OpenPGP key is encountered, ask the user whether to download it or not. This is the default behavior." +msgstr "" + +#. type: item +#: doc/guix.texi:6706 +#, no-wrap +msgid "--key-server=@var{host}" +msgstr "" + +#. type: table +#: doc/guix.texi:6708 +msgid "Use @var{host} as the OpenPGP key server when importing a public key." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6721 +msgid "The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new releases. When used repeatedly e.g. when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with GitHub through the use of an API token alleviates these limits. To use an API token, set the environment variable @code{GUIX_GITHUB_TOKEN} to a token procured from @uref{https://github.com/settings/tokens} or otherwise." +msgstr "" + +#. type: section +#: doc/guix.texi:6724 +#, no-wrap +msgid "Invoking @command{guix lint}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:6726 +#, no-wrap +msgid "guix lint" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6727 +#, no-wrap +msgid "package, checking for errors" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6733 +msgid "The @command{guix lint} command is meant to help package developers avoid common errors and use a consistent style. It runs a number of checks on a given set of packages in order to find common mistakes in their definitions. Available @dfn{checkers} include (see @code{--list-checkers} for a complete list):" +msgstr "" + +#. type: table +#: doc/guix.texi:6739 +msgid "Validate certain typographical and stylistic rules about package descriptions and synopses." +msgstr "" + +#. type: item +#: doc/guix.texi:6740 +#, no-wrap +msgid "inputs-should-be-native" +msgstr "" + +#. type: table +#: doc/guix.texi:6742 +msgid "Identify inputs that should most likely be native inputs." +msgstr "" + +#. type: itemx +#: doc/guix.texi:6745 +#, no-wrap +msgid "mirror-url" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6746 +#, no-wrap +msgid "source-file-name" +msgstr "" + +#. type: table +#: doc/guix.texi:6752 +msgid "Probe @code{home-page} and @code{source} URLs and report those that are invalid. Suggest a @code{mirror://} URL when applicable. Check that the source file name is meaningful, e.g. is not just a version number or ``git-checkout'', without a declared @code{file-name} (@pxref{origin Reference})." +msgstr "" + +#. type: item +#: doc/guix.texi:6753 +#, no-wrap +msgid "cve" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6754 doc/guix.texi:21485 +#, no-wrap +msgid "security vulnerabilities" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6755 +#, no-wrap +msgid "CVE, Common Vulnerabilities and Exposures" +msgstr "" + +#. type: table +#: doc/guix.texi:6760 +msgid "Report known vulnerabilities found in the Common Vulnerabilities and Exposures (CVE) databases of the current and past year @uref{https://nvd.nist.gov/download.cfm#CVE_FEED, published by the US NIST}." +msgstr "" + +#. type: table +#: doc/guix.texi:6762 +msgid "To view information about a particular vulnerability, visit pages such as:" +msgstr "" + +#. type: indicateurl{#1} +#: doc/guix.texi:6766 +msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD" +msgstr "" + +#. type: indicateurl{#1} +#: doc/guix.texi:6768 +msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD" +msgstr "" + +#. type: table +#: doc/guix.texi:6773 +msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}." +msgstr "" + +#. type: table +#: doc/guix.texi:6778 +msgid "Package developers can specify in package recipes the @uref{https://nvd.nist.gov/cpe.cfm,Common Platform Enumeration (CPE)} name and version of the package when they differ from the name that Guix uses, as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:6785 +#, no-wrap +msgid "" +"(package\n" +" (name \"grub\")\n" +" ;; @dots{}\n" +" ;; CPE calls this package \"grub2\".\n" +" (properties '((cpe-name . \"grub2\"))))\n" +msgstr "" + +#. type: item +#: doc/guix.texi:6787 +#, no-wrap +msgid "formatting" +msgstr "" + +#. type: table +#: doc/guix.texi:6790 +msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc." +msgstr "" + +#. type: example +#: doc/guix.texi:6796 +#, no-wrap +msgid "guix lint @var{options} @var{package}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6800 +msgid "If no package is given on the command line, then all packages are checked. The @var{options} may be zero or more of the following:" +msgstr "" + +#. type: item +#: doc/guix.texi:6802 +#, no-wrap +msgid "--list-checkers" +msgstr "" + +#. type: table +#: doc/guix.texi:6806 +msgid "List and describe all the available checkers that will be run on packages and exit." +msgstr "" + +#. type: item +#: doc/guix.texi:6807 +#, no-wrap +msgid "--checkers" +msgstr "" + +#. type: itemx +#: doc/guix.texi:6808 +#, no-wrap +msgid "-c" +msgstr "" + +#. type: table +#: doc/guix.texi:6811 +msgid "Only enable the checkers specified in a comma-separated list using the names returned by @code{--list-checkers}." +msgstr "" + +#. type: section +#: doc/guix.texi:6815 +#, no-wrap +msgid "Invoking @command{guix size}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6817 +#, no-wrap +msgid "size" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6818 +#, no-wrap +msgid "package size" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:6820 +#, no-wrap +msgid "guix size" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6827 +msgid "The @command{guix size} command helps package developers profile the disk usage of packages. It is easy to overlook the impact of an additional dependency added to a package, or the impact of using a single output for a package that could easily be split (@pxref{Packages with Multiple Outputs}). Such are the typical issues that @command{guix size} can highlight." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6831 +msgid "The command can be passed a package specification such as @code{gcc@@4.8} or @code{guile:debug}, or a file name in the store. Consider this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:6841 +#, no-wrap +msgid "" +"$ guix size coreutils\n" +"store item total self\n" +"/gnu/store/@dots{}-coreutils-8.23 70.0 13.9 19.8%\n" +"/gnu/store/@dots{}-gmp-6.0.0a 55.3 2.5 3.6%\n" +"/gnu/store/@dots{}-acl-2.2.52 53.7 0.5 0.7%\n" +"/gnu/store/@dots{}-attr-2.4.46 53.2 0.3 0.5%\n" +"/gnu/store/@dots{}-gcc-4.8.4-lib 52.9 15.7 22.4%\n" +"/gnu/store/@dots{}-glibc-2.21 37.2 37.2 53.1%\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6847 +msgid "The store items listed here constitute the @dfn{transitive closure} of Coreutils---i.e., Coreutils and all its dependencies, recursively---as would be returned by:" +msgstr "" + +#. type: example +#: doc/guix.texi:6850 +#, no-wrap +msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6858 +msgid "Here the output shows three columns next to store items. The first column, labeled ``total'', shows the size in mebibytes (MiB) of the closure of the store item---that is, its own size plus the size of all its dependencies. The next column, labeled ``self'', shows the size of the item itself. The last column shows the ratio of the size of the item itself to the space occupied by all the items listed here." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6863 +msgid "In this example, we see that the closure of Coreutils weighs in at 70@tie{}MiB, half of which is taken by libc. (That libc represents a large fraction of the closure is not a problem @i{per se} because it is always available on the system anyway.)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6869 +msgid "When the package passed to @command{guix size} is available in the store, @command{guix size} queries the daemon to determine its dependencies, and measures its size in the store, similar to @command{du -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6874 +msgid "When the given package is @emph{not} in the store, @command{guix size} reports information based on the available substitutes (@pxref{Substitutes}). This makes it possible it to profile disk usage of store items that are not even on disk, only available remotely." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6876 +msgid "You can also specify several package names:" +msgstr "" + +#. type: example +#: doc/guix.texi:6886 +#, no-wrap +msgid "" +"$ guix size coreutils grep sed bash\n" +"store item total self\n" +"/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n" +"/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n" +"/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n" +"/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n" +"@dots{}\n" +"total: 102.3 MiB\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6892 +msgid "In this example we see that the combination of the four packages takes 102.3@tie{}MiB in total, which is much less than the sum of each closure since they have a lot of dependencies in common." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6894 +msgid "The available options are:" +msgstr "" + +#. type: table +#: doc/guix.texi:6900 +msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}." +msgstr "" + +#. type: item +#: doc/guix.texi:6901 +#, no-wrap +msgid "--sort=@var{key}" +msgstr "" + +#. type: table +#: doc/guix.texi:6903 +msgid "Sort lines according to @var{key}, one of the following options:" +msgstr "" + +#. type: item +#: doc/guix.texi:6905 +#, no-wrap +msgid "self" +msgstr "" + +#. type: table +#: doc/guix.texi:6907 +msgid "the size of each item (the default);" +msgstr "" + +#. type: table +#: doc/guix.texi:6909 +msgid "the total size of the item's closure." +msgstr "" + +#. type: item +#: doc/guix.texi:6911 +#, no-wrap +msgid "--map-file=@var{file}" +msgstr "" + +#. type: table +#: doc/guix.texi:6913 +msgid "Write a graphical map of disk usage in PNG format to @var{file}." +msgstr "" + +#. type: table +#: doc/guix.texi:6915 +msgid "For the example above, the map looks like this:" +msgstr "" + +#. type: table +#: doc/guix.texi:6918 +msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}" +msgstr "" + +#. type: table +#: doc/guix.texi:6923 +msgid "This option requires that @uref{http://wingolog.org/software/guile-charting/, Guile-Charting} be installed and visible in Guile's module search path. When that is not the case, @command{guix size} fails as it tries to load it." +msgstr "" + +#. type: table +#: doc/guix.texi:6927 +msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}." +msgstr "" + +#. type: section +#: doc/guix.texi:6931 +#, no-wrap +msgid "Invoking @command{guix graph}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:6933 +#, no-wrap +msgid "DAG" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:6934 +#, no-wrap +msgid "guix graph" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6948 +msgid "Packages and their dependencies form a @dfn{graph}, specifically a directed acyclic graph (DAG). It can quickly become difficult to have a mental model of the package DAG, so the @command{guix graph} command provides a visual representation of the DAG. By default, @command{guix graph} emits a DAG representation in the input format of @uref{http://www.graphviz.org/, Graphviz}, so its output can be passed directly to the @command{dot} command of Graphviz. It can also emit an HTML page with embedded JavaScript code to display a ``chord diagram'' in a Web browser, using the @uref{https://d3js.org/, d3.js} library, or emit Cypher queries to construct a graph in a graph database supporting the @uref{http://www.opencypher.org/, openCypher} query language. The general syntax is:" +msgstr "" + +#. type: example +#: doc/guix.texi:6951 +#, no-wrap +msgid "guix graph @var{options} @var{package}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6956 +msgid "For example, the following command generates a PDF file representing the package DAG for the GNU@tie{}Core Utilities, showing its build-time dependencies:" +msgstr "" + +#. type: example +#: doc/guix.texi:6959 +#, no-wrap +msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6962 +msgid "The output looks like this:" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6964 +msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6966 +msgid "Nice little graph, no?" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:6972 +msgid "But there is more than one graph! The one above is concise: it is the graph of package objects, omitting implicit inputs such as GCC, libc, grep, etc. It is often useful to have such a concise graph, but sometimes one may want to see more details. @command{guix graph} supports several types of graphs, allowing you to choose the level of detail:" +msgstr "" + +#. type: table +#: doc/guix.texi:6978 +msgid "This is the default type used in the example above. It shows the DAG of package objects, excluding implicit dependencies. It is concise, but filters out many details." +msgstr "" + +#. type: item +#: doc/guix.texi:6979 +#, no-wrap +msgid "reverse-package" +msgstr "" + +#. type: table +#: doc/guix.texi:6981 +msgid "This shows the @emph{reverse} DAG of packages. For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:6984 +#, no-wrap +msgid "guix graph --type=reverse-package ocaml\n" +msgstr "" + +#. type: table +#: doc/guix.texi:6987 +msgid "... yields the graph of packages that depend on OCaml." +msgstr "" + +#. type: table +#: doc/guix.texi:6992 +msgid "Note that for core packages this can yield huge graphs. If all you want is to know the number of packages that depend on a given package, use @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh, @option{--list-dependent}})." +msgstr "" + +#. type: item +#: doc/guix.texi:6993 +#, no-wrap +msgid "bag-emerged" +msgstr "" + +#. type: table +#: doc/guix.texi:6995 +msgid "This is the package DAG, @emph{including} implicit inputs." +msgstr "" + +#. type: table +#: doc/guix.texi:6997 +msgid "For instance, the following command:" +msgstr "" + +#. type: example +#: doc/guix.texi:7000 +#, no-wrap +msgid "guix graph --type=bag-emerged coreutils | dot -Tpdf > dag.pdf\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7003 +msgid "... yields this bigger graph:" +msgstr "" + +#. type: table +#: doc/guix.texi:7005 +msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}" +msgstr "" + +#. type: table +#: doc/guix.texi:7008 +msgid "At the bottom of the graph, we see all the implicit inputs of @var{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})." +msgstr "" + +#. type: table +#: doc/guix.texi:7012 +msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness." +msgstr "" + +#. type: item +#: doc/guix.texi:7013 +#, no-wrap +msgid "bag" +msgstr "" + +#. type: table +#: doc/guix.texi:7016 +msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies." +msgstr "" + +#. type: item +#: doc/guix.texi:7017 +#, no-wrap +msgid "bag-with-origins" +msgstr "" + +#. type: table +#: doc/guix.texi:7019 +msgid "Similar to @code{bag}, but also showing origins and their dependencies." +msgstr "" + +#. type: table +#: doc/guix.texi:7025 +msgid "This is the most detailed representation: It shows the DAG of derivations (@pxref{Derivations}) and plain store items. Compared to the above representation, many additional nodes are visible, including build scripts, patches, Guile modules, etc." +msgstr "" + +#. type: table +#: doc/guix.texi:7028 +msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:" +msgstr "" + +#. type: example +#: doc/guix.texi:7031 +#, no-wrap +msgid "guix graph -t derivation `guix system build -d my-config.scm`\n" +msgstr "" + +#. type: item +#: doc/guix.texi:7033 +#, no-wrap +msgid "module" +msgstr "" + +#. type: table +#: doc/guix.texi:7037 +msgid "This is the graph of @dfn{package modules} (@pxref{Package Modules}). For example, the following command shows the graph for the package module that defines the @code{guile} package:" +msgstr "" + +#. type: example +#: doc/guix.texi:7040 +#, no-wrap +msgid "guix graph -t module guile | dot -Tpdf > module-graph.pdf\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7045 +msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:" +msgstr "" + +#. type: item +#: doc/guix.texi:7047 +#, no-wrap +msgid "references" +msgstr "" + +#. type: table +#: doc/guix.texi:7050 +msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})." +msgstr "" + +#. type: table +#: doc/guix.texi:7053 +msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes." +msgstr "" + +#. type: table +#: doc/guix.texi:7057 +msgid "Here you can also pass a store file name instead of a package name. For example, the command below produces the reference graph of your profile (which can be big!):" +msgstr "" + +#. type: example +#: doc/guix.texi:7060 +#, no-wrap +msgid "guix graph -t references `readlink -f ~/.guix-profile`\n" +msgstr "" + +#. type: item +#: doc/guix.texi:7062 +#, no-wrap +msgid "referrers" +msgstr "" + +#. type: table +#: doc/guix.texi:7065 +msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})." +msgstr "" + +#. type: table +#: doc/guix.texi:7071 +msgid "This relies exclusively on local information from your store. For instance, let us suppose that the current Inkscape is available in 10 profiles on your machine; @command{guix graph -t referrers inkscape} will show a graph rooted at Inkscape and with those 10 profiles linked to it." +msgstr "" + +#. type: table +#: doc/guix.texi:7074 +msgid "It can help determine what is preventing a store item from being garbage collected." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7078 +msgid "The available options are the following:" +msgstr "" + +#. type: item +#: doc/guix.texi:7080 +#, no-wrap +msgid "--type=@var{type}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7081 doc/guix.texi:20603 +#, no-wrap +msgid "-t @var{type}" +msgstr "" + +#. type: table +#: doc/guix.texi:7084 +msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above." +msgstr "" + +#. type: item +#: doc/guix.texi:7085 +#, no-wrap +msgid "--list-types" +msgstr "" + +#. type: table +#: doc/guix.texi:7087 +msgid "List the supported graph types." +msgstr "" + +#. type: item +#: doc/guix.texi:7088 +#, no-wrap +msgid "--backend=@var{backend}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7089 +#, no-wrap +msgid "-b @var{backend}" +msgstr "" + +#. type: table +#: doc/guix.texi:7091 +msgid "Produce a graph using the selected @var{backend}." +msgstr "" + +#. type: item +#: doc/guix.texi:7092 +#, no-wrap +msgid "--list-backends" +msgstr "" + +#. type: table +#: doc/guix.texi:7094 +msgid "List the supported graph backends." +msgstr "" + +#. type: table +#: doc/guix.texi:7096 +msgid "Currently, the available backends are Graphviz and d3.js." +msgstr "" + +#. type: example +#: doc/guix.texi:7105 +#, no-wrap +msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n" +msgstr "" + +#. type: section +#: doc/guix.texi:7110 +#, no-wrap +msgid "Invoking @command{guix environment}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7112 +#, no-wrap +msgid "reproducible build environments" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7113 +#, no-wrap +msgid "development environments" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:7114 +#, no-wrap +msgid "guix environment" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7115 +#, no-wrap +msgid "environment, package build environment" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7121 +msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them." +msgstr "" + +#. type: example +#: doc/guix.texi:7126 +#, no-wrap +msgid "guix environment @var{options} @var{package}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7130 +msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:" +msgstr "" + +#. type: example +#: doc/guix.texi:7133 +#, no-wrap +msgid "guix environment guile\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7150 +msgid "If the needed dependencies are not built yet, @command{guix environment} automatically builds them. The environment of the new shell is an augmented version of the environment that @command{guix environment} was run in. It contains the necessary search paths for building the given package added to the existing environment variables. To create a ``pure'' environment, in which the original environment variables have been unset, use the @code{--pure} option@footnote{Users sometimes wrongfully augment environment variables such as @code{PATH} in their @file{~/.bashrc} file. As a consequence, when @code{guix environment} launches it, Bash may read @file{~/.bashrc}, thereby introducing ``impurities'' in these environment variables. It is an error to define such environment variables in @file{.bashrc}; instead, they should be defined in @file{.bash_profile}, which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files.}." +msgstr "" + +#. type: vindex +#: doc/guix.texi:7151 +#, no-wrap +msgid "GUIX_ENVIRONMENT" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7157 +msgid "@command{guix environment} defines the @code{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):" +msgstr "" + +#. type: example +#: doc/guix.texi:7163 +#, no-wrap +msgid "" +"if [ -n \"$GUIX_ENVIRONMENT\" ]\n" +"then\n" +" export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n" +"fi\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7167 +msgid "... or to browse the profile:" +msgstr "" + +#. type: example +#: doc/guix.texi:7170 +#, no-wrap +msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7176 +msgid "Additionally, more than one package may be specified, in which case the union of the inputs for the given packages are used. For example, the command below spawns a shell where all of the dependencies of both Guile and Emacs are available:" +msgstr "" + +#. type: example +#: doc/guix.texi:7179 +#, no-wrap +msgid "guix environment guile emacs\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7184 +msgid "Sometimes an interactive shell session is not desired. An arbitrary command may be invoked by placing the @code{--} token to separate the command from the rest of the arguments:" +msgstr "" + +#. type: example +#: doc/guix.texi:7187 +#, no-wrap +msgid "guix environment guile -- make -j4\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7193 +msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}2.7 and NumPy:" +msgstr "" + +#. type: example +#: doc/guix.texi:7196 +#, no-wrap +msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7207 +msgid "Furthermore, one might want the dependencies of a package and also some additional packages that are not build-time or runtime dependencies, but are useful when developing nonetheless. Because of this, the @code{--ad-hoc} flag is positional. Packages appearing before @code{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment. Packages appearing after are interpreted as packages that will be added to the environment directly. For example, the following command creates a Guix development environment that additionally includes Git and strace:" +msgstr "" + +#. type: example +#: doc/guix.texi:7210 +#, no-wrap +msgid "guix environment guix --ad-hoc git strace\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7219 +msgid "Sometimes it is desirable to isolate the environment as much as possible, for maximal purity and reproducibility. In particular, when using Guix on a host distro that is not GuixSD, it is desirable to prevent access to @file{/usr/bin} and other system-wide resources from the development environment. For example, the following command spawns a Guile REPL in a ``container'' where only the store and the current working directory are mounted:" +msgstr "" + +#. type: example +#: doc/guix.texi:7222 +#, no-wrap +msgid "guix environment --ad-hoc --container guile -- guile\n" +msgstr "" + +#. type: quotation +#: doc/guix.texi:7226 +msgid "The @code{--container} option requires Linux-libre 3.19 or newer." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7229 +msgid "The available options are summarized below." +msgstr "" + +#. type: cindex +#: doc/guix.texi:7233 +#, no-wrap +msgid "persistent environment" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7234 +#, no-wrap +msgid "garbage collector root, for environments" +msgstr "" + +#. type: table +#: doc/guix.texi:7237 +msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root." +msgstr "" + +#. type: table +#: doc/guix.texi:7240 +msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''." +msgstr "" + +#. type: table +#: doc/guix.texi:7246 +msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix environment} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots." +msgstr "" + +#. type: table +#: doc/guix.texi:7251 +msgid "Create an environment for the package or list of packages that @var{expr} evaluates to." +msgstr "" + +#. type: table +#: doc/guix.texi:7253 +msgid "For example, running:" +msgstr "" + +#. type: example +#: doc/guix.texi:7256 +#, no-wrap +msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7260 +msgid "starts a shell with the environment for this specific variant of the PETSc package." +msgstr "" + +#. type: table +#: doc/guix.texi:7262 +msgid "Running:" +msgstr "" + +#. type: example +#: doc/guix.texi:7265 +#, no-wrap +msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7268 +msgid "starts a shell with all the GuixSD base packages available." +msgstr "" + +#. type: table +#: doc/guix.texi:7271 +msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:" +msgstr "" + +#. type: example +#: doc/guix.texi:7274 +#, no-wrap +msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n" +msgstr "" + +#. type: item +#: doc/guix.texi:7276 +#, no-wrap +msgid "--load=@var{file}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7277 +#, no-wrap +msgid "-l @var{file}" +msgstr "" + +#. type: table +#: doc/guix.texi:7280 +msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to." +msgstr "" + +#. type: example +#: doc/guix.texi:7286 +#, no-wrap +msgid "@verbatiminclude environment-gdb.scm\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7292 +msgid "Create an environment for the packages contained in the manifest object returned by the Scheme code in @var{file}." +msgstr "" + +#. type: table +#: doc/guix.texi:7296 +msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files." +msgstr "" + +#. type: item +#: doc/guix.texi:7297 +#, no-wrap +msgid "--ad-hoc" +msgstr "" + +#. type: table +#: doc/guix.texi:7302 +msgid "Include all specified packages in the resulting environment, as if an @i{ad hoc} package were defined with them as inputs. This option is useful for quickly creating an environment without having to write a package expression to contain the desired inputs." +msgstr "" + +#. type: table +#: doc/guix.texi:7304 +msgid "For instance, the command:" +msgstr "" + +#. type: example +#: doc/guix.texi:7307 +#, no-wrap +msgid "guix environment --ad-hoc guile guile-sdl -- guile\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7311 +msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available." +msgstr "" + +#. type: table +#: doc/guix.texi:7316 +msgid "Note that this example implicitly asks for the default output of @code{guile} and @code{guile-sdl}, but it is possible to ask for a specific output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} (@pxref{Packages with Multiple Outputs})." +msgstr "" + +#. type: table +#: doc/guix.texi:7322 +msgid "This option may be composed with the default behavior of @command{guix environment}. Packages appearing before @code{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly." +msgstr "" + +#. type: item +#: doc/guix.texi:7323 +#, no-wrap +msgid "--pure" +msgstr "" + +#. type: table +#: doc/guix.texi:7327 +msgid "Unset existing environment variables when building the new environment. This has the effect of creating an environment in which search paths only contain package inputs." +msgstr "" + +#. type: item +#: doc/guix.texi:7328 +#, no-wrap +msgid "--search-paths" +msgstr "" + +#. type: table +#: doc/guix.texi:7331 +msgid "Display the environment variable definitions that make up the environment." +msgstr "" + +#. type: table +#: doc/guix.texi:7335 +msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}." +msgstr "" + +#. type: item +#: doc/guix.texi:7336 +#, no-wrap +msgid "--container" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7337 +#, no-wrap +msgid "-C" +msgstr "" + +#. type: item +#: doc/guix.texi:7338 doc/guix.texi:7849 doc/guix.texi:20552 +#, no-wrap +msgid "container" +msgstr "" + +#. type: table +#: doc/guix.texi:7346 +msgid "Run @var{command} within an isolated container. The current working directory outside the container is mapped inside the container. Additionally, unless overridden with @code{--user}, a dummy home directory is created that matches the current user's home directory, and @file{/etc/passwd} is configured accordingly. The spawned process runs as the current user outside the container, but has root privileges in the context of the container." +msgstr "" + +#. type: item +#: doc/guix.texi:7347 +#, no-wrap +msgid "--network" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7348 +#, no-wrap +msgid "-N" +msgstr "" + +#. type: table +#: doc/guix.texi:7352 +msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device." +msgstr "" + +#. type: item +#: doc/guix.texi:7353 +#, no-wrap +msgid "--link-profile" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7354 +#, no-wrap +msgid "-P" +msgstr "" + +#. type: table +#: doc/guix.texi:7361 +msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container. This is equivalent to running the command @command{ln -s $GUIX_ENVIRONMENT ~/.guix-profile} within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix environment} was invoked in the user's home directory." +msgstr "" + +#. type: table +#: doc/guix.texi:7368 +msgid "Certain packages are configured to look in @code{~/.guix-profile} for configuration files and data;@footnote{For example, the @code{fontconfig} package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} @code{--link-profile} allows these programs to behave as expected within the environment." +msgstr "" + +#. type: item +#: doc/guix.texi:7369 doc/guix.texi:7521 +#, no-wrap +msgid "--user=@var{user}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7370 doc/guix.texi:7522 +#, no-wrap +msgid "-u @var{user}" +msgstr "" + +#. type: table +#: doc/guix.texi:7376 +msgid "For containers, use the username @var{user} in place of the current user. The generated @file{/etc/passwd} entry within the container will contain the name @var{user}; the home directory will be @file{/home/USER}; and no user GECOS data will be copied. @var{user} need not exist on the system." +msgstr "" + +#. type: table +#: doc/guix.texi:7381 +msgid "Additionally, any shared or exposed path (see @code{--share} and @code{--expose} respectively) whose target is within the current user's home directory will be remapped relative to @file{/home/USER}; this includes the automatic mapping of the current working directory." +msgstr "" + +#. type: example +#: doc/guix.texi:7388 +#, no-wrap +msgid "" +"# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n" +"cd $HOME/wd\n" +"guix environment --container --user=foo \\\n" +" --expose=$HOME/test \\\n" +" --expose=/tmp/target=$HOME/target\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7393 +msgid "While this will limit the leaking of user identity through home paths and each of the user fields, this is only one useful component of a broader privacy/anonymity solution---not one in and of itself." +msgstr "" + +#. type: item +#: doc/guix.texi:7394 +#, no-wrap +msgid "--expose=@var{source}[=@var{target}]" +msgstr "" + +#. type: table +#: doc/guix.texi:7399 +msgid "For containers, expose the file system @var{source} from the host system as the read-only file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container." +msgstr "" + +#. type: table +#: doc/guix.texi:7403 +msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible read-only via the @file{/exchange} directory:" +msgstr "" + +#. type: example +#: doc/guix.texi:7406 +#, no-wrap +msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n" +msgstr "" + +#. type: item +#: doc/guix.texi:7408 +#, no-wrap +msgid "--share=@var{source}[=@var{target}]" +msgstr "" + +#. type: table +#: doc/guix.texi:7413 +msgid "For containers, share the file system @var{source} from the host system as the writable file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container." +msgstr "" + +#. type: table +#: doc/guix.texi:7417 +msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible for both reading and writing via the @file{/exchange} directory:" +msgstr "" + +#. type: example +#: doc/guix.texi:7420 +#, no-wrap +msgid "guix environment --container --share=$HOME=/exchange --ad-hoc guile -- guile\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7426 +msgid "@command{guix environment} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options})." +msgstr "" + +#. type: section +#: doc/guix.texi:7429 +#, no-wrap +msgid "Invoking @command{guix publish}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:7431 +#, no-wrap +msgid "guix publish" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7435 +msgid "The purpose of @command{guix publish} is to enable users to easily share their store with others, who can then use it as a substitute server (@pxref{Substitutes})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7441 +msgid "When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Hydra, the software behind the @code{hydra.gnu.org} build farm." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7447 +msgid "For security, each substitute is signed, allowing recipients to check their authenticity and integrity (@pxref{Substitutes}). Because @command{guix publish} uses the signing key of the system, which is only readable by the system administrator, it must be started as root; the @code{--user} option makes it drop root privileges early on." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7451 +msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})." +msgstr "" + +#. type: example +#: doc/guix.texi:7456 +#, no-wrap +msgid "guix publish @var{options}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7460 +msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:" +msgstr "" + +#. type: example +#: doc/guix.texi:7463 +#, no-wrap +msgid "guix publish\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7467 +msgid "Once a publishing server has been authorized (@pxref{Invoking guix archive}), the daemon may download substitutes from it:" +msgstr "" + +#. type: example +#: doc/guix.texi:7470 +#, no-wrap +msgid "guix-daemon --substitute-urls=http://example.org:8080\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7479 +msgid "By default, @command{guix publish} compresses archives on the fly as it serves them. This ``on-the-fly'' mode is convenient in that it requires no setup and is immediately available. However, when serving lots of clients, we recommend using the @option{--cache} option, which enables caching of the archives before they are sent to clients---see below for details. The @command{guix weather} command provides a handy way to check what a server provides (@pxref{Invoking guix weather})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7486 +msgid "As a bonus, @command{guix publish} also serves as a content-addressed mirror for source files referenced in @code{origin} records (@pxref{origin Reference}). For instance, assuming @command{guix publish} is running on @code{example.org}, the following URL returns the raw @file{hello-2.10.tar.gz} file with the given SHA256 hash (represented in @code{nix-base32} format, @pxref{Invoking guix hash}):" +msgstr "" + +#. type: example +#: doc/guix.texi:7489 +#, no-wrap +msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7493 +msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')." +msgstr "" + +#. type: cindex +#: doc/guix.texi:7494 +#, no-wrap +msgid "build logs, publication" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7496 +msgid "Build logs are available from @code{/log} URLs like:" +msgstr "" + +#. type: example +#: doc/guix.texi:7499 +#, no-wrap +msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7509 +msgid "When @command{guix-daemon} is configured to save compressed build logs, as is the case by default (@pxref{Invoking guix-daemon}), @code{/log} URLs return the compressed log as-is, with an appropriate @code{Content-Type} and/or @code{Content-Encoding} header. We recommend running @command{guix-daemon} with @code{--log-compression=gzip} since Web browsers can automatically decompress it, which is not the case with bzip2 compression." +msgstr "" + +#. type: item +#: doc/guix.texi:7513 +#, no-wrap +msgid "--port=@var{port}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7514 +#, no-wrap +msgid "-p @var{port}" +msgstr "" + +#. type: table +#: doc/guix.texi:7516 +msgid "Listen for HTTP requests on @var{port}." +msgstr "" + +#. type: item +#: doc/guix.texi:7517 doc/guix.texi:17032 +#, no-wrap +msgid "--listen=@var{host}" +msgstr "" + +#. type: table +#: doc/guix.texi:7520 +msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface." +msgstr "" + +#. type: table +#: doc/guix.texi:7525 +msgid "Change privileges to @var{user} as soon as possible---i.e., once the server socket is open and the signing key has been read." +msgstr "" + +#. type: item +#: doc/guix.texi:7526 +#, no-wrap +msgid "--compression[=@var{level}]" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7527 +#, no-wrap +msgid "-C [@var{level}]" +msgstr "" + +#. type: table +#: doc/guix.texi:7532 +msgid "Compress data using the given @var{level}. When @var{level} is zero, disable compression. The range 1 to 9 corresponds to different gzip compression levels: 1 is the fastest, and 9 is the best (CPU-intensive). The default is 3." +msgstr "" + +#. type: table +#: doc/guix.texi:7541 +msgid "Unless @option{--cache} is used, compression occurs on the fly and the compressed streams are not cached. Thus, to reduce load on the machine that runs @command{guix publish}, it may be a good idea to choose a low compression level, to run @command{guix publish} behind a caching proxy, or to use @option{--cache}. Using @option{--cache} has the advantage that it allows @command{guix publish} to add @code{Content-Length} HTTP header to its responses." +msgstr "" + +#. type: item +#: doc/guix.texi:7542 +#, no-wrap +msgid "--cache=@var{directory}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7543 +#, no-wrap +msgid "-c @var{directory}" +msgstr "" + +#. type: table +#: doc/guix.texi:7546 +msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache." +msgstr "" + +#. type: table +#: doc/guix.texi:7554 +msgid "When this option is omitted, archives and meta-data are created on-the-fly. This can reduce the available bandwidth, especially when compression is enabled, since this may become CPU-bound. Another drawback of the default mode is that the length of archives is not known in advance, so @command{guix publish} does not add a @code{Content-Length} HTTP header to its responses, which in turn prevents clients from knowing the amount of data being downloaded." +msgstr "" + +#. type: table +#: doc/guix.texi:7562 +msgid "Conversely, when @option{--cache} is used, the first request for a store item (@i{via} a @code{.narinfo} URL) returns 404 and triggers a background process to @dfn{bake} the archive---computing its @code{.narinfo} and compressing the archive, if needed. Once the archive is cached in @var{directory}, subsequent requests succeed and are served directly from the cache, which guarantees that clients get the best possible bandwidth." +msgstr "" + +#. type: table +#: doc/guix.texi:7566 +msgid "The ``baking'' process is performed by worker threads. By default, one thread per CPU core is created, but this can be customized. See @option{--workers} below." +msgstr "" + +#. type: table +#: doc/guix.texi:7569 +msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired." +msgstr "" + +#. type: item +#: doc/guix.texi:7570 +#, no-wrap +msgid "--workers=@var{N}" +msgstr "" + +#. type: table +#: doc/guix.texi:7573 +msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives." +msgstr "" + +#. type: item +#: doc/guix.texi:7574 +#, no-wrap +msgid "--ttl=@var{ttl}" +msgstr "" + +#. type: table +#: doc/guix.texi:7578 +msgid "Produce @code{Cache-Control} HTTP headers that advertise a time-to-live (TTL) of @var{ttl}. @var{ttl} must denote a duration: @code{5d} means 5 days, @code{1m} means 1 month, and so on." +msgstr "" + +#. type: table +#: doc/guix.texi:7583 +msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}. However, note that @code{guix publish} does not itself guarantee that the store items it provides will indeed remain available for as long as @var{ttl}." +msgstr "" + +#. type: table +#: doc/guix.texi:7587 +msgid "Additionally, when @option{--cache} is used, cached entries that have not been accessed for @var{ttl} and that no longer have a corresponding item in the store, may be deleted." +msgstr "" + +#. type: item +#: doc/guix.texi:7588 +#, no-wrap +msgid "--nar-path=@var{path}" +msgstr "" + +#. type: table +#: doc/guix.texi:7591 +msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})." +msgstr "" + +#. type: table +#: doc/guix.texi:7595 +msgid "By default, nars are served at a URL such as @code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to change the @code{/nar} part to @var{path}." +msgstr "" + +#. type: item +#: doc/guix.texi:7596 +#, no-wrap +msgid "--public-key=@var{file}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7597 +#, no-wrap +msgid "--private-key=@var{file}" +msgstr "" + +#. type: table +#: doc/guix.texi:7600 +msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published." +msgstr "" + +#. type: table +#: doc/guix.texi:7607 +msgid "The files must correspond to the same key pair (the private key is used for signing and the public key is merely advertised in the signature metadata). They must contain keys in the canonical s-expression format as produced by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). By default, @file{/etc/guix/signing-key.pub} and @file{/etc/guix/signing-key.sec} are used." +msgstr "" + +#. type: item +#: doc/guix.texi:7608 +#, no-wrap +msgid "--repl[=@var{port}]" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7609 +#, no-wrap +msgid "-r [@var{port}]" +msgstr "" + +#. type: table +#: doc/guix.texi:7613 +msgid "Spawn a Guile REPL server (@pxref{REPL Servers,,, guile, GNU Guile Reference Manual}) on @var{port} (37146 by default). This is used primarily for debugging a running @command{guix publish} server." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7619 +msgid "Enabling @command{guix publish} on a GuixSD system is a one-liner: just instantiate a @code{guix-publish-service-type} service in the @code{services} field of the @code{operating-system} declaration (@pxref{guix-publish-service-type, @code{guix-publish-service-type}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7622 +msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:”" +msgstr "" + +#. type: itemize +#: doc/guix.texi:7626 +msgid "If your host distro uses the systemd init system:" +msgstr "" + +#. type: example +#: doc/guix.texi:7631 +#, no-wrap +msgid "" +"# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n" +" /etc/systemd/system/\n" +"# systemctl start guix-publish && systemctl enable guix-publish\n" +msgstr "" + +#. type: example +#: doc/guix.texi:7639 +#, no-wrap +msgid "" +"# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n" +"# start guix-publish\n" +msgstr "" + +#. type: itemize +#: doc/guix.texi:7643 +msgid "Otherwise, proceed similarly with your distro's init system." +msgstr "" + +#. type: section +#: doc/guix.texi:7646 +#, no-wrap +msgid "Invoking @command{guix challenge}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7649 +#, no-wrap +msgid "verifiable builds" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:7650 +#, no-wrap +msgid "guix challenge" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7651 +#, no-wrap +msgid "challenge" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7656 +msgid "Do the binaries provided by this server really correspond to the source code it claims to build? Is a package build process deterministic? These are the questions the @command{guix challenge} command attempts to answer." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7664 +msgid "The former is obviously an important question: Before using a substitute server (@pxref{Substitutes}), one had better @emph{verify} that it provides the right binaries, and thus @emph{challenge} it. The latter is what enables the former: If package builds are deterministic, then independent builds of the package should yield the exact same result, bit for bit; if a server provides a binary different from the one obtained locally, it may be either corrupt or malicious." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7673 +msgid "We know that the hash that shows up in @file{/gnu/store} file names is the hash of all the inputs of the process that built the file or directory---compilers, libraries, build scripts, etc. (@pxref{Introduction}). Assuming deterministic build processes, one store file name should map to exactly one build output. @command{guix challenge} checks whether there is, indeed, a single mapping by comparing the build outputs of several independent builds of any given store item." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7675 +msgid "The command output looks like this:" +msgstr "" + +#. type: smallexample +#: doc/guix.texi:7692 +#, no-wrap +msgid "" +"$ guix challenge --substitute-urls=\"https://hydra.gnu.org https://guix.example.org\"\n" +"updating list of substitutes from 'https://hydra.gnu.org'... 100.0%\n" +"updating list of substitutes from 'https://guix.example.org'... 100.0%\n" +"/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n" +" local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n" +" https://hydra.gnu.org/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n" +" https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n" +"/gnu/store/@dots{}-git-2.5.0 contents differ:\n" +" local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n" +" https://hydra.gnu.org/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n" +" https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n" +"/gnu/store/@dots{}-pius-2.1.1 contents differ:\n" +" local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n" +" https://hydra.gnu.org/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n" +" https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n" +"\n" +msgstr "" + +#. type: smallexample +#: doc/guix.texi:7694 +#, no-wrap +msgid "" +"@dots{}\n" +"\n" +msgstr "" + +#. type: smallexample +#: doc/guix.texi:7699 +#, no-wrap +msgid "" +"6,406 store items were analyzed:\n" +" - 4,749 (74.1%) were identical\n" +" - 525 (8.2%) differed\n" +" - 1,132 (17.7%) were inconclusive\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7707 +msgid "In this example, @command{guix challenge} first scans the store to determine the set of locally-built derivations---as opposed to store items that were downloaded from a substitute server---and then queries all the substitute servers. It then reports those store items for which the servers obtained a result different from the local build." +msgstr "" + +#. type: cindex +#: doc/guix.texi:7708 +#, no-wrap +msgid "non-determinism, in package builds" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7719 +msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{hydra.gnu.org} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building packages in isolated environments (@pxref{Features}). Most common sources of non-determinism include the addition of timestamps in build results, the inclusion of random numbers, and directory listings sorted by inode number. See @uref{https://reproducible-builds.org/docs/}, for more information." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7722 +msgid "To find out what is wrong with this Git binary, we can do something along these lines (@pxref{Invoking guix archive}):" +msgstr "" + +#. type: example +#: doc/guix.texi:7727 +#, no-wrap +msgid "" +"$ wget -q -O - https://hydra.gnu.org/nar/@dots{}-git-2.5.0 \\\n" +" | guix archive -x /tmp/git\n" +"$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7736 +msgid "This command shows the difference between the files resulting from the local build, and the files resulting from the build on @code{hydra.gnu.org} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps visualize differences for all kinds of files." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7744 +msgid "Once you have done that work, you can tell whether the differences are due to a non-deterministic build process or to a malicious server. We try hard to remove sources of non-determinism in packages to make it easier to verify substitutes, but of course, this is a process that involves not just Guix, but a large part of the free software community. In the meantime, @command{guix challenge} is one tool to help address the problem." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7748 +msgid "If you are writing packages for Guix, you are encouraged to check whether @code{hydra.gnu.org} and other substitute servers obtain the same build result as you did with:" +msgstr "" + +#. type: example +#: doc/guix.texi:7751 +#, no-wrap +msgid "$ guix challenge @var{package}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7756 +msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}." +msgstr "" + +#. type: example +#: doc/guix.texi:7761 +#, no-wrap +msgid "guix challenge @var{options} [@var{packages}@dots{}]\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7768 +msgid "When a difference is found between the hash of a locally-built item and that of a server-provided substitute, or among substitutes provided by different servers, the command displays it as in the example above and its exit code is 2 (other non-zero exit codes denote other kinds of errors.)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7770 +msgid "The one option that matters is:" +msgstr "" + +#. type: table +#: doc/guix.texi:7776 +msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to." +msgstr "" + +#. type: itemx +#: doc/guix.texi:7778 +#, no-wrap +msgid "-v" +msgstr "" + +#. type: table +#: doc/guix.texi:7781 +msgid "Show details about matches (identical contents) in addition to information about mismatches." +msgstr "" + +#. type: section +#: doc/guix.texi:7785 +#, no-wrap +msgid "Invoking @command{guix copy}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7787 +#, no-wrap +msgid "copy, of store items, over SSH" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7788 +#, no-wrap +msgid "SSH, copy of store items" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7789 +#, no-wrap +msgid "sharing store items across machines" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7790 +#, no-wrap +msgid "transferring store items across machines" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7797 +msgid "The @command{guix copy} command copies items from the store of one machine to that of another machine over a secure shell (SSH) connection@footnote{This command is available only when Guile-SSH was found. @xref{Requirements}, for details.}. For example, the following command copies the @code{coreutils} package, the user's profile, and all their dependencies over to @var{host}, logged in as @var{user}:" +msgstr "" + +#. type: example +#: doc/guix.texi:7801 +#, no-wrap +msgid "" +"guix copy --to=@var{user}@@@var{host} \\\n" +" coreutils `readlink -f ~/.guix-profile`\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7805 +msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7808 +msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:" +msgstr "" + +#. type: example +#: doc/guix.texi:7811 +#, no-wrap +msgid "guix copy --from=@var{host} libreoffice gimp\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7816 +msgid "The SSH connection is established using the Guile-SSH client, which is compatible with OpenSSH: it honors @file{~/.ssh/known_hosts} and @file{~/.ssh/config}, and uses the SSH agent for authentication." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7822 +msgid "The key used to sign items that are sent must be accepted by the remote machine. Likewise, the key used by the remote machine to sign items you are retrieving must be in @file{/etc/guix/acl} so it is accepted by your own daemon. @xref{Invoking guix archive}, for more information about store item authentication." +msgstr "" + +#. type: example +#: doc/guix.texi:7827 +#, no-wrap +msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7830 +msgid "You must always specify one of the following options:" +msgstr "" + +#. type: item +#: doc/guix.texi:7832 +#, no-wrap +msgid "--to=@var{spec}" +msgstr "" + +#. type: itemx +#: doc/guix.texi:7833 +#, no-wrap +msgid "--from=@var{spec}" +msgstr "" + +#. type: table +#: doc/guix.texi:7837 +msgid "Specify the host to send to or receive from. @var{spec} must be an SSH spec such as @code{example.org}, @code{charlie@@example.org}, or @code{charlie@@example.org:2222}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7841 +msgid "The @var{items} can be either package names, such as @code{gimp}, or store items, such as @file{/gnu/store/@dots{}-idutils-4.6}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7845 +msgid "When specifying the name of a package to send, it is first built if needed, unless @option{--dry-run} was specified. Common build options are supported (@pxref{Common Build Options})." +msgstr "" + +#. type: section +#: doc/guix.texi:7848 +#, no-wrap +msgid "Invoking @command{guix container}" +msgstr "" + +#. type: command{#1} +#: doc/guix.texi:7850 +#, no-wrap +msgid "guix container" +msgstr "" + +#. type: quotation +#: doc/guix.texi:7854 +msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7861 +msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands." +msgstr "" + +#. type: example +#: doc/guix.texi:7866 +#, no-wrap +msgid "guix container @var{action} @var{options}@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7870 +msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7872 +msgid "The following actions are available:" +msgstr "" + +#. type: item +#: doc/guix.texi:7874 +#, no-wrap +msgid "exec" +msgstr "" + +#. type: table +#: doc/guix.texi:7876 +msgid "Execute a command within the context of a running container." +msgstr "" + +#. type: table +#: doc/guix.texi:7878 +msgid "The syntax is:" +msgstr "" + +#. type: example +#: doc/guix.texi:7881 +#, no-wrap +msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7887 +msgid "@var{pid} specifies the process ID of the running container. @var{program} specifies an executable file name within the root file system of the container. @var{arguments} are the additional options that will be passed to @var{program}." +msgstr "" + +#. type: table +#: doc/guix.texi:7891 +msgid "The following command launches an interactive login shell inside a GuixSD container, started by @command{guix system container}, and whose process ID is 9001:" +msgstr "" + +#. type: example +#: doc/guix.texi:7894 +#, no-wrap +msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n" +msgstr "" + +#. type: table +#: doc/guix.texi:7898 +msgid "Note that the @var{pid} cannot be the parent process of a container. It must be PID 1 of the container or one of its child processes." +msgstr "" + +#. type: section +#: doc/guix.texi:7902 +#, no-wrap +msgid "Invoking @command{guix weather}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7911 +msgid "Occasionally you're grumpy because substitutes are lacking and you end up building packages by yourself (@pxref{Substitutes}). The @command{guix weather} command reports on substitute availability on the specified servers so you can have an idea of whether you'll be grumpy today. It can sometimes be useful info as a user, but it is primarily useful to people running @command{guix publish} (@pxref{Invoking guix publish})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:7912 +#, no-wrap +msgid "statistics, for substitutes" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7913 +#, no-wrap +msgid "availability of substitutes" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7914 +#, no-wrap +msgid "substitute availability" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7915 +#, no-wrap +msgid "weather, substitute availability" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7917 +msgid "Here's a sample run:" +msgstr "" + +#. type: example +#: doc/guix.texi:7929 +#, no-wrap +msgid "" +"$ guix weather --substitute-urls=https://guix.example.org\n" +"computing 5,872 package derivations for x86_64-linux...\n" +"looking for 6,128 store items on https://guix.example.org..\n" +"updating list of substitutes from 'https://guix.example.org'... 100.0%\n" +"https://guix.example.org\n" +" 43.4% substitutes available (2,658 out of 6,128)\n" +" 7,032.5 MiB of nars (compressed)\n" +" 19,824.2 MiB on disk (uncompressed)\n" +" 0.030 seconds per request (182.9 seconds in total)\n" +" 33.5 requests per second\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:7939 +#, no-wrap +msgid "" +" 9.8% (342 out of 3,470) of the missing items are queued\n" +" 867 queued builds\n" +" x86_64-linux: 518 (59.7%)\n" +" i686-linux: 221 (25.5%)\n" +" aarch64-linux: 128 (14.8%)\n" +" build rate: 23.41 builds per hour\n" +" x86_64-linux: 11.16 builds per hour\n" +" i686-linux: 6.03 builds per hour\n" +" aarch64-linux: 6.41 builds per hour\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:7941 +#, no-wrap +msgid "continuous integration, statistics" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7950 +msgid "As you can see, it reports the fraction of all the packages for which substitutes are available on the server---regardless of whether substitutes are enabled, and regardless of whether this server's signing key is authorized. It also reports the size of the compressed archives (``nars'') provided by the server, the size the corresponding store items occupy in the store (assuming deduplication is turned off), and the server's throughput. The second part gives continuous integration (CI) statistics, if the server supports it." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7956 +msgid "To achieve that, @command{guix weather} queries over HTTP(S) meta-data (@dfn{narinfos}) for all the relevant store items. Like @command{guix challenge}, it ignores signatures on those substitutes, which is innocuous since the command only gathers statistics and cannot install those substitutes." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7959 +msgid "Among other things, it is possible to query specific system types and specific package sets. The available options are listed below." +msgstr "" + +#. type: table +#: doc/guix.texi:7965 +msgid "@var{urls} is the space-separated list of substitute server URLs to query. When this option is omitted, the default set of substitute servers is queried." +msgstr "" + +#. type: table +#: doc/guix.texi:7971 +msgid "Query substitutes for @var{system}---e.g., @code{aarch64-linux}. This option can be repeated, in which case @command{guix weather} will query substitutes for several system types." +msgstr "" + +#. type: table +#: doc/guix.texi:7977 +msgid "Instead of querying substitutes for all the packages, only ask for those specified in @var{file}. @var{file} must contain a @dfn{manifest}, as with the @code{-m} option of @command{guix package} (@pxref{Invoking guix package})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:7995 +msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{http://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). To distinguish between the two, we refer to the standalone distribution as the Guix System Distribution, or GuixSD." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8001 +msgid "The distribution provides core GNU packages such as GNU libc, GCC, and Binutils, as well as many GNU and non-GNU applications. The complete list of available packages can be browsed @url{http://www.gnu.org/software/guix/packages,on-line} or by running @command{guix package} (@pxref{Invoking guix package}):" +msgstr "" + +#. type: example +#: doc/guix.texi:8004 +#, no-wrap +msgid "guix package --list-available\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8010 +msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8012 +msgid "Packages are currently available on the following platforms:" +msgstr "" + +#. type: item +#: doc/guix.texi:8015 doc/guix.texi:8180 +#, no-wrap +msgid "x86_64-linux" +msgstr "" + +#. type: table +#: doc/guix.texi:8017 +msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel;" +msgstr "" + +#. type: item +#: doc/guix.texi:8018 doc/guix.texi:8183 +#, no-wrap +msgid "i686-linux" +msgstr "" + +#. type: table +#: doc/guix.texi:8020 +msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel;" +msgstr "" + +#. type: item +#: doc/guix.texi:8021 +#, no-wrap +msgid "armhf-linux" +msgstr "" + +#. type: table +#: doc/guix.texi:8025 +msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel." +msgstr "" + +#. type: item +#: doc/guix.texi:8026 +#, no-wrap +msgid "aarch64-linux" +msgstr "" + +#. type: table +#: doc/guix.texi:8030 +msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel. This is currently in an experimental stage, with limited support. @xref{Contributing}, for how to help!" +msgstr "" + +#. type: item +#: doc/guix.texi:8031 +#, no-wrap +msgid "mips64el-linux" +msgstr "" + +#. type: table +#: doc/guix.texi:8034 +msgid "little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8038 +msgid "GuixSD itself is currently only available on @code{i686} and @code{x86_64}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8042 +msgid "For information on porting to other architectures or kernels, @pxref{Porting}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8057 +msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8061 +#, no-wrap +msgid "installing GuixSD" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8067 +msgid "This section explains how to install the Guix System Distribution (GuixSD) on a machine. The Guix package manager can also be installed on top of a running GNU/Linux system, @pxref{Installation}." +msgstr "" + +#. type: quotation +#: doc/guix.texi:8076 +msgid "You are reading this documentation with an Info reader. For details on how to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit @kbd{l} afterwards to come back here." +msgstr "" + +#. type: quotation +#: doc/guix.texi:8079 +msgid "Alternately, run @command{info info} in another tty to keep the manual available." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8104 +msgid "As of version @value{VERSION}, the Guix System Distribution (GuixSD) is not production-ready. It may contain bugs and lack important features. Thus, if you are looking for a stable production system that respects your freedom as a computer user, a good solution at this point is to consider @url{http://www.gnu.org/distros/free-distros.html, one of the more established GNU/Linux distributions}. We hope you can soon switch to the GuixSD without fear, of course. In the meantime, you can also keep using your distribution and try out the package manager on top of it (@pxref{Installation})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8107 +msgid "Before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:8113 +msgid "The installation process does not include a graphical user interface and requires familiarity with GNU/Linux (see the following subsections to get a feel of what that means.)" +msgstr "" + +#. type: itemize +#: doc/guix.texi:8116 +msgid "Support for the Logical Volume Manager (LVM) is missing." +msgstr "" + +#. type: itemize +#: doc/guix.texi:8120 +msgid "More and more system services are provided (@pxref{Services}), but some may be missing." +msgstr "" + +#. type: itemize +#: doc/guix.texi:8124 +msgid "More than 6,500 packages are available, but you might occasionally find that a useful package is missing." +msgstr "" + +#. type: itemize +#: doc/guix.texi:8129 +msgid "GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop Services}), as well as a number of X11 window managers. However, some graphical applications may be missing, as well as KDE." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8134 +msgid "You have been warned! But more than a disclaimer, this is an invitation to report issues (and success stories!), and to join us in improving it. @xref{Contributing}, for more info." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8139 +#, no-wrap +msgid "hardware support on GuixSD" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8148 +msgid "GNU@tie{}GuixSD focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on GuixSD." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8149 +#, no-wrap +msgid "WiFi, hardware support" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8158 +msgid "One of the main areas where free drivers or firmware are lacking is WiFi devices. WiFi devices known to work include those using Atheros chips (AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. Free firmware exists for both and is available out-of-the-box on GuixSD, as part of @var{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8159 +#, no-wrap +msgid "RYF, Respects Your Freedom" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8165 +msgid "The @uref{https://www.fsf.org/, Free Software Foundation} runs @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a certification program for hardware products that respect your freedom and your privacy and ensure that you have control over your device. We encourage you to check the list of RYF-certified devices." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8169 +msgid "Another useful resource is the @uref{https://www.h-node.org/, H-Node} web site. It contains a catalog of hardware devices with information about their support in GNU/Linux." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8178 +msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{ftp://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz}, where @var{system} is one of:" +msgstr "" + +#. type: table +#: doc/guix.texi:8182 +msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;" +msgstr "" + +#. type: table +#: doc/guix.texi:8185 +msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8190 +msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:" +msgstr "" + +#. type: example +#: doc/guix.texi:8194 +#, fuzzy, no-wrap +#| msgid "" +#| "$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +#| "$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +msgid "" +"$ wget ftp://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" +"$ gpg --verify guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" +msgstr "" +"$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +"$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" + +#. type: Plain text +#: doc/guix.texi:8209 +msgid "This image contains the tools necessary for an installation. It is meant to be copied @emph{as is} to a large-enough USB stick or DVD." +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8210 +#, no-wrap +msgid "Copying to a USB Stick" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8213 +msgid "To copy the image to a USB stick, follow these steps:" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8217 doc/guix.texi:8242 +msgid "Decompress the image using the @command{xz} command:" +msgstr "" + +#. type: example +#: doc/guix.texi:8220 doc/guix.texi:8245 +#, no-wrap +msgid "xz -d guixsd-install-@value{VERSION}.@var{system}.iso.xz\n" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8226 +msgid "Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with:" +msgstr "" + +#. type: example +#: doc/guix.texi:8230 +#, no-wrap +msgid "" +"dd if=guixsd-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX\n" +"sync\n" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8233 +msgid "Access to @file{/dev/sdX} usually requires root privileges." +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8235 +#, no-wrap +msgid "Burning on a DVD" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8238 +msgid "To copy the image to a DVD, follow these steps:" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8251 +msgid "Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with:" +msgstr "" + +#. type: example +#: doc/guix.texi:8254 +#, no-wrap +msgid "growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.x86_64.iso\n" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8257 +msgid "Access to @file{/dev/srX} usually requires root privileges." +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8259 +#, no-wrap +msgid "Booting" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8264 +msgid "Once this is done, you should be able to reboot the system and boot from the USB stick or DVD. The latter usually requires you to get in the BIOS or UEFI boot menu, where you can choose to boot from the USB stick." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8267 +msgid "@xref{Installing GuixSD in a VM}, if, instead, you would like to install GuixSD in a virtual machine (VM)." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8279 +msgid "Once you have successfully booted your computer using the installation medium, you should end up with a root prompt. Several console TTYs are configured and can be used to run commands as root. TTY2 shows this documentation, browsable using the Info reader commands (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). The installation system runs the GPM mouse daemon, which allows you to select text with the left mouse button and to paste it with the middle button." +msgstr "" + +#. type: quotation +#: doc/guix.texi:8284 +msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8290 +msgid "The installation system includes many common tools needed for this task. But it is also a full-blown GuixSD system, which means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:8291 +#, no-wrap +msgid "Keyboard Layout" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8293 doc/guix.texi:10364 +#, no-wrap +msgid "keyboard layout" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8297 +msgid "The installation image uses the US qwerty keyboard layout. If you want to change it, you can use the @command{loadkeys} command. For example, the following command selects the Dvorak keyboard layout:" +msgstr "" + +#. type: example +#: doc/guix.texi:8300 +#, no-wrap +msgid "loadkeys dvorak\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8305 +msgid "See the files under @file{/run/current-system/profile/share/keymaps} for a list of available keyboard layouts. Run @command{man loadkeys} for more information." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:8306 +#, no-wrap +msgid "Networking" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8309 +msgid "Run the following command see what your network interfaces are called:" +msgstr "" + +#. type: example +#: doc/guix.texi:8312 +#, no-wrap +msgid "ifconfig -a\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8316 +msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:" +msgstr "" + +#. type: example +#: doc/guix.texi:8319 +#, no-wrap +msgid "ip a\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8326 +msgid "Wired interfaces have a name starting with @samp{e}; for example, the interface corresponding to the first on-board Ethernet controller is called @samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like @samp{w1p2s0}." +msgstr "" + +#. type: item +#: doc/guix.texi:8328 +#, no-wrap +msgid "Wired connection" +msgstr "" + +#. type: table +#: doc/guix.texi:8331 +msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use." +msgstr "" + +#. type: example +#: doc/guix.texi:8334 +#, no-wrap +msgid "ifconfig @var{interface} up\n" +msgstr "" + +#. type: item +#: doc/guix.texi:8336 +#, no-wrap +msgid "Wireless connection" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8337 doc/guix.texi:10763 +#, no-wrap +msgid "wireless" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8338 doc/guix.texi:10764 +#, no-wrap +msgid "WiFi" +msgstr "" + +#. type: table +#: doc/guix.texi:8343 +msgid "To configure wireless networking, you can create a configuration file for the @command{wpa_supplicant} configuration tool (its location is not important) using one of the available text editors such as @command{nano}:" +msgstr "" + +#. type: example +#: doc/guix.texi:8346 +#, no-wrap +msgid "nano wpa_supplicant.conf\n" +msgstr "" + +#. type: table +#: doc/guix.texi:8351 +msgid "As an example, the following stanza can go to this file and will work for many wireless networks, provided you give the actual SSID and passphrase for the network you are connecting to:" +msgstr "" + +#. type: example +#: doc/guix.texi:8358 +#, no-wrap +msgid "" +"network=@{\n" +" ssid=\"@var{my-ssid}\"\n" +" key_mgmt=WPA-PSK\n" +" psk=\"the network's secret passphrase\"\n" +"@}\n" +msgstr "" + +#. type: table +#: doc/guix.texi:8363 +msgid "Start the wireless service and run it in the background with the following command (substitute @var{interface} with the name of the network interface you want to use):" +msgstr "" + +#. type: example +#: doc/guix.texi:8366 +#, no-wrap +msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n" +msgstr "" + +#. type: table +#: doc/guix.texi:8369 +msgid "Run @command{man wpa_supplicant} for more information." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8371 +#, no-wrap +msgid "DHCP" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8374 +msgid "At this point, you need to acquire an IP address. On a network where IP addresses are automatically assigned @i{via} DHCP, you can run:" +msgstr "" + +#. type: example +#: doc/guix.texi:8377 +#, no-wrap +msgid "dhclient -v @var{interface}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8380 +msgid "Try to ping a server to see if networking is up and running:" +msgstr "" + +#. type: example +#: doc/guix.texi:8383 +#, no-wrap +msgid "ping -c 3 gnu.org\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8387 +msgid "Setting up network access is almost always a requirement because the image does not contain all the software and tools that may be needed." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8388 +#, no-wrap +msgid "installing over SSH" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8391 +msgid "If you want to, you can continue the installation remotely by starting an SSH server:" +msgstr "" + +#. type: example +#: doc/guix.texi:8394 +#, no-wrap +msgid "herd start ssh-daemon\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8398 +msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:8399 +#, no-wrap +msgid "Disk Partitioning" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8403 +msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8408 +msgid "The installation image includes several partitioning tools, including Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and @command{cfdisk}. Run it and set up your disk with the partition layout you want:" +msgstr "" + +#. type: example +#: doc/guix.texi:8411 +#, no-wrap +msgid "cfdisk\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8417 +msgid "If your disk uses the GUID Partition Table (GPT) format and you plan to install BIOS-based GRUB (which is the default), make sure a BIOS Boot Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8418 +#, no-wrap +msgid "EFI, installation" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8419 +#, no-wrap +msgid "UEFI, installation" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8420 +#, no-wrap +msgid "ESP, EFI system partition" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8424 +msgid "If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System Partition} (ESP) is required. This partition should be mounted at @file{/boot/efi} and must have the @code{esp} flag set. E.g., for @command{parted}:" +msgstr "" + +#. type: example +#: doc/guix.texi:8427 +#, no-wrap +msgid "parted /dev/sda set 1 esp on\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8435 +msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently GuixSD only supports ext4 and btrfs file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda2}, run:" +msgstr "" + +#. type: example +#: doc/guix.texi:8438 +#, no-wrap +msgid "mkfs.fat -F32 /dev/sda2\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8446 +msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda1}, a file system with the label @code{my-root} can be created with:" +msgstr "" + +#. type: example +#: doc/guix.texi:8449 +#, no-wrap +msgid "mkfs.ext4 -L my-root /dev/sda1\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8451 doc/guix.texi:8840 +#, no-wrap +msgid "encrypted disk" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8458 +msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information.) Assuming you want to store the root partition on @file{/dev/sda1}, the command sequence would be along these lines:" +msgstr "" + +#. type: example +#: doc/guix.texi:8463 +#, no-wrap +msgid "" +"cryptsetup luksFormat /dev/sda1\n" +"cryptsetup open --type luks /dev/sda1 my-partition\n" +"mkfs.ext4 -L my-root /dev/mapper/my-partition\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8468 +msgid "Once that is done, mount the target file system under @file{/mnt} with a command like (again, assuming @code{my-root} is the label of the root file system):" +msgstr "" + +#. type: example +#: doc/guix.texi:8471 +#, no-wrap +msgid "mount LABEL=my-root /mnt\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8477 +msgid "Also mount any other file systems you would like to use on the target system relative to this path. If you have @file{/boot} on a separate partition for example, mount it at @file{/mnt/boot} now so it is found by @code{guix system init} afterwards." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8482 +msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda2}, you would run:" +msgstr "" + +#. type: example +#: doc/guix.texi:8486 +#, no-wrap +msgid "" +"mkswap /dev/sda2\n" +"swapon /dev/sda2\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8494 +msgid "Alternatively, you may use a swap file. For example, assuming that in the new system you want to use the file @file{/swapfile} as a swap file, you would run@footnote{This example will work for many types of file systems (e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the required steps may be different. For details, see the manual pages for @command{mkswap} and @command{swapon}.}:" +msgstr "" + +#. type: example +#: doc/guix.texi:8502 +#, no-wrap +msgid "" +"# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n" +"dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n" +"# For security, make the file readable and writable only by root.\n" +"chmod 600 /mnt/swapfile\n" +"mkswap /mnt/swapfile\n" +"swapon /mnt/swapfile\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8507 +msgid "Note that if you have encrypted the root partition and created a swap file in its file system as described above, then the encryption also protects the swap file, just like any other file in that file system." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8513 +msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:" +msgstr "" + +#. type: example +#: doc/guix.texi:8516 +#, no-wrap +msgid "herd start cow-store /mnt\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8523 +msgid "This makes @file{/gnu/store} copy-on-write, such that packages added to it during the installation phase are written to the target disk on @file{/mnt} rather than kept in memory. This is necessary because the first phase of the @command{guix system init} command (see below) entails downloads or builds to @file{/gnu/store} which, initially, is an in-memory file system." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8534 +msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include GNU Zile (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8541 +msgid "@xref{Using the Configuration System}, for an overview of the configuration file. The example configurations discussed in that section are available under @file{/etc/configuration} in the installation image. Thus, to get started with a system configuration providing a graphical display server (a ``desktop'' system), you can run something along these lines:" +msgstr "" + +#. type: example +#: doc/guix.texi:8546 +#, no-wrap +msgid "" +"# mkdir /mnt/etc\n" +"# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n" +"# nano /mnt/etc/config.scm\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8550 +msgid "You should pay attention to what your configuration file contains, and in particular:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:8560 +msgid "Make sure the @code{bootloader-configuration} form refers to the target you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{target} field names a device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted EFI partition, like @code{/boot/efi}, and do make sure the path is actually mounted." +msgstr "" + +#. type: itemize +#: doc/guix.texi:8566 +msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration sets the value of @code{title} to @code{'label}." +msgstr "" + +#. type: itemize +#: doc/guix.texi:8570 +msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8575 +msgid "Once you are done preparing the configuration file, the new system must be initialized (remember that the target root file system is mounted under @file{/mnt}):" +msgstr "" + +#. type: example +#: doc/guix.texi:8578 +#, no-wrap +msgid "guix system init /mnt/etc/config.scm /mnt\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8585 +msgid "This copies all the necessary files and installs GRUB on @file{/dev/sdX}, unless you pass the @option{--no-bootloader} option. For more information, @pxref{Invoking guix system}. This command may trigger downloads or builds of missing packages, which can take some time." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8592 +msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8593 +#, no-wrap +msgid "upgrading GuixSD" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8600 +msgid "From then on, you can update GuixSD whenever you want by running @command{guix pull} as @code{root} (@pxref{Invoking guix pull}), and then running @command{guix system reconfigure} to build a new system generation with the latest packages and services (@pxref{Invoking guix system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8604 +msgid "Join us on @code{#guix} on the Freenode IRC network or on @file{guix-devel@@gnu.org} to share your experience---good or not so good." +msgstr "" + +#. type: subsection +#: doc/guix.texi:8606 +#, no-wrap +msgid "Installing GuixSD in a Virtual Machine" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8608 +#, no-wrap +msgid "virtual machine, GuixSD installation" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8609 +#, no-wrap +msgid "virtual private server (VPS)" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8610 +#, no-wrap +msgid "VPS (virtual private server)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8614 +msgid "If you'd like to install GuixSD in a virtual machine (VM) or on a virtual private server (VPS) rather than on your beloved machine, this section is for you." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8617 +msgid "To boot a @uref{http://qemu.org/,QEMU} VM for installing GuixSD in a disk image, follow these steps:" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8622 +msgid "First, retrieve and decompress the GuixSD installation image as described previously (@pxref{USB Stick and DVD Installation})." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8626 +msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:" +msgstr "" + +#. type: example +#: doc/guix.texi:8629 +#, no-wrap +msgid "qemu-img create -f qcow2 guixsd.img 50G\n" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8633 +msgid "The resulting file will be much smaller than 50 GB (typically less than 1 MB), but it will grow as the virtualized storage device is filled up." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8636 +msgid "Boot the USB installation image in an VM:" +msgstr "" + +#. type: example +#: doc/guix.texi:8642 +#, no-wrap +msgid "" +"qemu-system-x86_64 -m 1024 -smp 1 \\\n" +" -net user -net nic,model=virtio -boot menu=on \\\n" +" -drive file=guixsd-install-@value{VERSION}.@var{system}.iso \\\n" +" -drive file=guixsd.img\n" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8645 +msgid "The ordering of the drives matters." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8649 +msgid "In the VM console, quickly press the @kbd{F12} key to enter the boot menu. Then press the @kbd{2} key and the @kbd{RET} key to validate your selection." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:8653 +msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8658 +msgid "Once installation is complete, you can boot the system that's on your @file{guixsd.img} image. @xref{Running GuixSD in a VM}, for how to do that." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8662 +#, no-wrap +msgid "installation image" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8665 +msgid "The installation image described above was built using the @command{guix system} command, specifically:" +msgstr "" + +#. type: example +#: doc/guix.texi:8668 +#, no-wrap +msgid "guix system disk-image gnu/system/install.scm\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8673 +msgid "Have a look at @file{gnu/system/install.scm} in the source tree, and see also @ref{Invoking guix system} for more information about the installation image." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8677 +#, no-wrap +msgid "system configuration" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8683 +msgid "The Guix System Distribution supports a consistent whole-system configuration mechanism. By that we mean that all aspects of the global system configuration---such as the available system services, timezone and locale settings, user accounts---are declared in a single place. Such a @dfn{system configuration} can be @dfn{instantiated}---i.e., effected." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8693 +msgid "One of the advantages of putting all the system configuration under the control of Guix is that it supports transactional system upgrades, and makes it possible to roll back to a previous system instantiation, should something go wrong with the new one (@pxref{Features}). Another advantage is that it makes it easy to replicate the exact same configuration across different machines, or at different points in time, without having to resort to additional administration tools layered on top of the own tools of the system." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8698 +msgid "This section describes this mechanism. First we focus on the system administrator's viewpoint---explaining how the system is configured and instantiated. Then we show how this mechanism can be extended, for instance to support new system services." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8725 +msgid "The operating system is configured by providing an @code{operating-system} declaration in a file that can then be passed to the @command{guix system} command (@pxref{Invoking guix system}). A simple setup, with the default system services, the default Linux-Libre kernel, initial RAM disk, and boot loader looks like this:" +msgstr "" + +#. type: findex +#: doc/guix.texi:8726 +#, no-wrap +msgid "operating-system" +msgstr "" + +#. type: include +#: doc/guix.texi:8728 +#, no-wrap +msgid "os-config-bare-bones.texi" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8735 +msgid "This example should be self-describing. Some of the fields defined above, such as @code{host-name} and @code{bootloader}, are mandatory. Others, such as @code{packages} and @code{services}, can be omitted, in which case they get a default value." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8740 +msgid "Below we discuss the effect of some of the most important fields (@pxref{operating-system Reference}, for details about all the available fields), and how to @dfn{instantiate} the operating system using @command{guix system}." +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8741 +#, no-wrap +msgid "Globally-Visible Packages" +msgstr "" + +#. type: vindex +#: doc/guix.texi:8743 +#, no-wrap +msgid "%base-packages" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8756 +msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @code{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @var{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the GNU Zile lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen and OpenSSH to those, taken from the @code{(gnu packages screen)} and @code{(gnu packages ssh)} modules (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:8760 +#, no-wrap +msgid "" +"(use-modules (gnu packages))\n" +"(use-modules (gnu packages dns))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:8765 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; ...\n" +" (packages (cons (list bind \"utils\")\n" +" %base-packages)))\n" +msgstr "" + +#. type: findex +#: doc/guix.texi:8767 +#, no-wrap +msgid "specification->package" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8776 +msgid "Referring to packages by variable name, like @code{bind} above, has the advantage of being unambiguous; it also allows typos and such to be diagnosed right away as ``unbound variables''. The downside is that one needs to know which module defines which package, and to augment the @code{use-package-modules} line accordingly. To avoid that, one can use the @code{specification->package} procedure of the @code{(gnu packages)} module, which returns the best package for a given name or name and version:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:8779 +#, no-wrap +msgid "" +"(use-modules (gnu packages))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:8785 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; ...\n" +" (packages (append (map specification->package\n" +" '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n" +" %base-packages)))\n" +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8787 +#, no-wrap +msgid "System Services" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8789 doc/guix.texi:19933 doc/guix.texi:20851 +#, no-wrap +msgid "services" +msgstr "" + +#. type: vindex +#: doc/guix.texi:8790 +#, no-wrap +msgid "%base-services" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8800 +msgid "The @code{services} field lists @dfn{system services} to be made available when the system starts (@pxref{Services}). The @code{operating-system} declaration above specifies that, in addition to the basic services, we want the @command{lshd} secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{lsh-service}}). Under the hood, @code{lsh-service} arranges so that @code{lshd} is started with the right command-line options, possibly with supporting configuration files generated as needed (@pxref{Defining Services})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8801 +#, no-wrap +msgid "customization, of services" +msgstr "" + +#. type: findex +#: doc/guix.texi:8802 +#, no-wrap +msgid "modify-services" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8806 +msgid "Occasionally, instead of using the base services as is, you will want to customize them. To do this, use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) to modify the list." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8811 +msgid "For example, suppose you want to modify @code{guix-daemon} and Mingetty (the console log-in) in the @var{%base-services} list (@pxref{Base Services, @code{%base-services}}). To do that, you can write the following in your operating system declaration:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:8824 +#, no-wrap +msgid "" +"(define %my-services\n" +" ;; My very own list of services.\n" +" (modify-services %base-services\n" +" (guix-service-type config =>\n" +" (guix-configuration\n" +" (inherit config)\n" +" (use-substitutes? #f)\n" +" (extra-options '(\"--gc-keep-derivations\"))))\n" +" (mingetty-service-type config =>\n" +" (mingetty-configuration\n" +" (inherit config)))))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:8828 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (services %my-services))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8839 +msgid "This changes the configuration---i.e., the service parameters---of the @code{guix-service-type} instance, and that of all the @code{mingetty-service-type} instances in the @var{%base-services} list. Observe how this is accomplished: first, we arrange for the original configuration to be bound to the identifier @code{config} in the @var{body}, and then we write the @var{body} so that it evaluates to the desired configuration. In particular, notice how we use @code{inherit} to create a new configuration which has the same values as the old configuration, but with a few modifications." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8846 +msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:" +msgstr "" + +#. type: include +#: doc/guix.texi:8848 +#, no-wrap +msgid "os-config-desktop.texi" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8851 +#, no-wrap +msgid "UEFI" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8854 +msgid "A graphical UEFI system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:" +msgstr "" + +#. type: include +#: doc/guix.texi:8856 +#, no-wrap +msgid "os-config-lightweight-desktop.texi" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8862 +msgid "This example refers to the @file{/boot/efi} file system by its UUID, @code{1234-ABCD}. Replace this UUID with the right UUID on your system, as returned by the @command{blkid} command." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8866 +msgid "@xref{Desktop Services}, for the exact list of services provided by @var{%desktop-services}. @xref{X.509 Certificates}, for background information about the @code{nss-certs} package that is used here." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8873 +msgid "Again, @var{%desktop-services} is just a list of service objects. If you want to remove services from there, you can do so using the procedures for list filtering (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile Reference Manual}). For instance, the following expression returns a list that contains all the services in @var{%desktop-services} minus the Avahi service:" +msgstr "" + +#. type: example +#: doc/guix.texi:8878 +#, no-wrap +msgid "" +"(remove (lambda (service)\n" +" (eq? (service-kind service) avahi-service-type))\n" +" %desktop-services)\n" +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8880 +#, no-wrap +msgid "Instantiating the System" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8887 +msgid "Assuming the @code{operating-system} declaration is stored in the @file{my-system-config.scm} file, the @command{guix system reconfigure my-system-config.scm} command instantiates that configuration, and makes it the default GRUB boot entry (@pxref{Invoking guix system})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8895 +msgid "The normal way to change the system configuration is by updating this file and re-running @command{guix system reconfigure}. One should never have to touch files in @file{/etc} or to run commands that modify the system state such as @command{useradd} or @command{grub-install}. In fact, you must avoid that since that would not only void your warranty but also prevent you from rolling back to previous versions of your system, should you ever need to." +msgstr "" + +#. type: cindex +#: doc/guix.texi:8896 +#, no-wrap +msgid "roll-back, of the operating system" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8906 +msgid "Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the system via the commands @command{guix system roll-back} and @command{guix system switch-generation}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8912 +msgid "Although the command @command{guix system reconfigure} will not modify previous generations, must take care when the current generation is not the latest (e.g., after invoking @command{guix system roll-back}), since the operation might overwrite a later generation (@pxref{Invoking guix system})." +msgstr "" + +#. type: unnumberedsubsubsec +#: doc/guix.texi:8913 +#, no-wrap +msgid "The Programming Interface" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8918 +msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):" +msgstr "" + +#. type: deffn +#: doc/guix.texi:8919 +#, no-wrap +msgid "{Monadic Procedure} operating-system-derivation os" +msgstr "" + +#. type: deffn +#: doc/guix.texi:8922 +msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:8926 +msgid "The output of the derivation is a single directory that refers to all the packages, configuration files, and other supporting files needed to instantiate @var{os}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8931 +msgid "This procedure is provided by the @code{(gnu system)} module. Along with @code{(gnu services)} (@pxref{Services}), this module contains the guts of GuixSD. Make sure to visit it!" +msgstr "" + +#. type: subsection +#: doc/guix.texi:8934 +#, no-wrap +msgid "@code{operating-system} Reference" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:8939 +msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:8940 +#, no-wrap +msgid "{Data Type} operating-system" +msgstr "" + +#. type: deftp +#: doc/guix.texi:8944 +msgid "This is the data type representing an operating system configuration. By that, we mean all the global system configuration, not per-user configuration (@pxref{Using the Configuration System})." +msgstr "" + +#. type: item +#: doc/guix.texi:8946 +#, no-wrap +msgid "@code{kernel} (default: @var{linux-libre})" +msgstr "" + +#. type: table +#: doc/guix.texi:8950 +msgid "The package object of the operating system kernel to use@footnote{Currently only the Linux-libre kernel is supported. In the future, it will be possible to use the GNU@tie{}Hurd.}." +msgstr "" + +#. type: item +#: doc/guix.texi:8951 +#, no-wrap +msgid "@code{kernel-arguments} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:8954 +msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:8955 doc/guix.texi:20130 doc/guix.texi:20149 +#, no-wrap +msgid "bootloader" +msgstr "" + +#. type: table +#: doc/guix.texi:8957 +msgid "The system bootloader configuration object. @xref{Bootloader Configuration}." +msgstr "" + +#. type: item +#: doc/guix.texi:8958 +#, no-wrap +msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:8959 doc/guix.texi:19970 doc/guix.texi:20073 +#: doc/guix.texi:20268 +#, no-wrap +msgid "initrd" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8960 doc/guix.texi:19971 doc/guix.texi:20074 +#, no-wrap +msgid "initial RAM disk" +msgstr "" + +#. type: table +#: doc/guix.texi:8963 +msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}." +msgstr "" + +#. type: item +#: doc/guix.texi:8964 +#, no-wrap +msgid "@code{initrd} (default: @code{base-initrd})" +msgstr "" + +#. type: table +#: doc/guix.texi:8968 +msgid "A monadic procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}." +msgstr "" + +#. type: item +#: doc/guix.texi:8969 +#, no-wrap +msgid "@code{firmware} (default: @var{%base-firmware})" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8970 +#, no-wrap +msgid "firmware" +msgstr "" + +#. type: table +#: doc/guix.texi:8972 +msgid "List of firmware packages loadable by the operating system kernel." +msgstr "" + +#. type: table +#: doc/guix.texi:8977 +msgid "The default includes firmware needed for Atheros- and Broadcom-based WiFi devices (Linux-libre modules @code{ath9k} and @code{b43-open}, respectively). @xref{Hardware Considerations}, for more info on supported hardware." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:8978 +#, no-wrap +msgid "host-name" +msgstr "" + +#. type: table +#: doc/guix.texi:8980 +msgid "The host name." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:8981 +#, no-wrap +msgid "hosts-file" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8982 +#, no-wrap +msgid "hosts file" +msgstr "" + +#. type: table +#: doc/guix.texi:8987 +msgid "A file-like object (@pxref{G-Expressions, file-like objects}) for use as @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). The default is a file with entries for @code{localhost} and @var{host-name}." +msgstr "" + +#. type: item +#: doc/guix.texi:8988 +#, no-wrap +msgid "@code{mapped-devices} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:8990 +msgid "A list of mapped devices. @xref{Mapped Devices}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:8991 +#, no-wrap +msgid "file-systems" +msgstr "" + +#. type: table +#: doc/guix.texi:8993 +msgid "A list of file systems. @xref{File Systems}." +msgstr "" + +#. type: item +#: doc/guix.texi:8994 +#, no-wrap +msgid "@code{swap-devices} (default: @code{'()})" +msgstr "" + +#. type: cindex +#: doc/guix.texi:8995 +#, no-wrap +msgid "swap devices" +msgstr "" + +#. type: table +#: doc/guix.texi:9002 +msgid "A list of strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). For example, @code{'(\"/dev/sda3\")} or @code{'(\"/swapfile\")}. It is possible to specify a swap file in a file system on a mapped device, provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}." +msgstr "" + +#. type: item +#: doc/guix.texi:9003 +#, no-wrap +msgid "@code{users} (default: @code{%base-user-accounts})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:9004 +#, no-wrap +msgid "@code{groups} (default: @var{%base-groups})" +msgstr "" + +#. type: table +#: doc/guix.texi:9006 +msgid "List of user accounts and groups. @xref{User Accounts}." +msgstr "" + +#. type: table +#: doc/guix.texi:9009 +msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added." +msgstr "" + +#. type: item +#: doc/guix.texi:9010 +#, no-wrap +msgid "@code{skeletons} (default: @code{(default-skeletons)})" +msgstr "" + +#. type: table +#: doc/guix.texi:9014 +msgid "A list target file name/file-like object tuples (@pxref{G-Expressions, file-like objects}). These are the skeleton files that will be added to the home directory of newly-created user accounts." +msgstr "" + +#. type: table +#: doc/guix.texi:9016 +msgid "For instance, a valid value may look like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:9022 +#, no-wrap +msgid "" +"`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n" +" (\".guile\" ,(plain-file \"guile\"\n" +" \"(use-modules (ice-9 readline))\n" +" (activate-readline)\")))\n" +msgstr "" + +#. type: item +#: doc/guix.texi:9024 +#, no-wrap +msgid "@code{issue} (default: @var{%default-issue})" +msgstr "" + +#. type: table +#: doc/guix.texi:9027 +msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console." +msgstr "" + +#. type: item +#: doc/guix.texi:9028 +#, no-wrap +msgid "@code{packages} (default: @var{%base-packages})" +msgstr "" + +#. type: table +#: doc/guix.texi:9031 +msgid "The set of packages installed in the global profile, which is accessible at @file{/run/current-system/profile}." +msgstr "" + +#. type: table +#: doc/guix.texi:9035 +msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9036 +#, no-wrap +msgid "timezone" +msgstr "" + +#. type: table +#: doc/guix.texi:9038 +msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}." +msgstr "" + +#. type: table +#: doc/guix.texi:9042 +msgid "You can run the @command{tzselect} command to find out which timezone string corresponds to your region. Choosing an invalid timezone name causes @command{guix system} to fail." +msgstr "" + +#. type: item +#: doc/guix.texi:9043 +#, no-wrap +msgid "@code{locale} (default: @code{\"en_US.utf8\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:9046 +msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information." +msgstr "" + +#. type: item +#: doc/guix.texi:9047 +#, no-wrap +msgid "@code{locale-definitions} (default: @var{%default-locale-definitions})" +msgstr "" + +#. type: table +#: doc/guix.texi:9050 +msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}." +msgstr "" + +#. type: item +#: doc/guix.texi:9051 +#, no-wrap +msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})" +msgstr "" + +#. type: table +#: doc/guix.texi:9055 +msgid "The list of GNU@tie{}libc packages whose locale data and tools are used to build the locale definitions. @xref{Locales}, for compatibility considerations that justify this option." +msgstr "" + +#. type: item +#: doc/guix.texi:9056 +#, no-wrap +msgid "@code{name-service-switch} (default: @var{%default-nss})" +msgstr "" + +#. type: table +#: doc/guix.texi:9060 +msgid "Configuration of the libc name service switch (NSS)---a @code{} object. @xref{Name Service Switch}, for details." +msgstr "" + +#. type: item +#: doc/guix.texi:9061 +#, no-wrap +msgid "@code{services} (default: @var{%base-services})" +msgstr "" + +#. type: table +#: doc/guix.texi:9063 +msgid "A list of service objects denoting system services. @xref{Services}." +msgstr "" + +#. type: item +#: doc/guix.texi:9064 +#, no-wrap +msgid "@code{pam-services} (default: @code{(base-pam-services)})" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9065 +#, no-wrap +msgid "PAM" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9066 +#, no-wrap +msgid "pluggable authentication modules" +msgstr "" + +#. type: table +#: doc/guix.texi:9069 +msgid "Linux @dfn{pluggable authentication module} (PAM) services." +msgstr "" + +#. type: item +#: doc/guix.texi:9070 +#, no-wrap +msgid "@code{setuid-programs} (default: @var{%setuid-programs})" +msgstr "" + +#. type: table +#: doc/guix.texi:9073 +msgid "List of string-valued G-expressions denoting setuid programs. @xref{Setuid Programs}." +msgstr "" + +#. type: item +#: doc/guix.texi:9074 +#, no-wrap +msgid "@code{sudoers-file} (default: @var{%sudoers-specification})" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9075 +#, no-wrap +msgid "sudoers file" +msgstr "" + +#. type: table +#: doc/guix.texi:9078 +msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})." +msgstr "" + +#. type: table +#: doc/guix.texi:9083 +msgid "This file specifies which users can use the @command{sudo} command, what they are allowed to do, and what privileges they may gain. The default is that only @code{root} and members of the @code{wheel} group may use @code{sudo}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9094 +msgid "The list of file systems to be mounted is specified in the @code{file-systems} field of the operating system declaration (@pxref{Using the Configuration System}). Each file system is declared using the @code{file-system} form, like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:9100 +#, no-wrap +msgid "" +"(file-system\n" +" (mount-point \"/home\")\n" +" (device \"/dev/sda3\")\n" +" (type \"ext4\"))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9104 +msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9105 +#, no-wrap +msgid "{Data Type} file-system" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9108 +msgid "Objects of this type represent file systems to be mounted. They contain the following members:" +msgstr "" + +#. type: item +#: doc/guix.texi:9110 doc/guix.texi:9294 +#, no-wrap +msgid "type" +msgstr "" + +#. type: table +#: doc/guix.texi:9113 +msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9114 +#, no-wrap +msgid "mount-point" +msgstr "" + +#. type: table +#: doc/guix.texi:9116 +msgid "This designates the place where the file system is to be mounted." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9117 +#, no-wrap +msgid "device" +msgstr "" + +#. type: table +#: doc/guix.texi:9121 +msgid "This names the ``source'' of the file system. By default it is the name of a node under @file{/dev}, but its meaning depends on the @code{title} field described below." +msgstr "" + +#. type: item +#: doc/guix.texi:9122 +#, fuzzy, no-wrap +#| msgid "@code{iptables} (default: @code{iptables})" +msgid "@code{title} (default: @code{'device})" +msgstr "@code{iptables} (Vorgabe: @code{iptables})" + +#. type: table +#: doc/guix.texi:9125 +msgid "This is a symbol that specifies how the @code{device} field is to be interpreted." +msgstr "" + +#. type: table +#: doc/guix.texi:9130 +msgid "When it is the symbol @code{device}, then the @code{device} field is interpreted as a file name; when it is @code{label}, then @code{device} is interpreted as a file system label name; when it is @code{uuid}, @code{device} is interpreted as a file system unique identifier (UUID)." +msgstr "" + +#. type: table +#: doc/guix.texi:9138 +msgid "UUIDs may be converted from their string representation (as shown by the @command{tune2fs -l} command) using the @code{uuid} form@footnote{The @code{uuid} form expects 16-byte UUIDs as defined in @uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. This is the form of UUID used by the ext2 family of file systems and others, but it is different from ``UUIDs'' found in FAT file systems, for instance.}, like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:9145 +#, no-wrap +msgid "" +"(file-system\n" +" (mount-point \"/home\")\n" +" (type \"ext4\")\n" +" (title 'uuid)\n" +" (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n" +msgstr "" + +#. type: table +#: doc/guix.texi:9154 +msgid "The @code{label} and @code{uuid} options offer a way to refer to file systems without having to hard-code their actual device name@footnote{Note that, while it is tempting to use @file{/dev/disk/by-uuid} and similar device names to achieve the same result, this is not recommended: These special device nodes are created by the udev daemon and may be unavailable at the time the device is mounted.}." +msgstr "" + +#. type: table +#: doc/guix.texi:9161 +msgid "However, when the source of a file system is a mapped device (@pxref{Mapped Devices}), its @code{device} field @emph{must} refer to the mapped device name---e.g., @file{/dev/mapper/root-partition}---and consequently @code{title} must be set to @code{'device}. This is required so that the system knows that mounting the file system depends on having the corresponding device mapping established." +msgstr "" + +#. type: item +#: doc/guix.texi:9162 +#, no-wrap +msgid "@code{flags} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:9167 +msgid "This is a list of symbols denoting mount flags. Recognized flags include @code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to special files), @code{no-suid} (ignore setuid and setgid bits), and @code{no-exec} (disallow program execution.)" +msgstr "" + +#. type: item +#: doc/guix.texi:9168 +#, no-wrap +msgid "@code{options} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9170 +msgid "This is either @code{#f}, or a string denoting mount options." +msgstr "" + +#. type: item +#: doc/guix.texi:9171 +#, no-wrap +msgid "@code{mount?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:9176 +msgid "This value indicates whether to automatically mount the file system when the system is brought up. When set to @code{#f}, the file system gets an entry in @file{/etc/fstab} (read by the @command{mount} command) but is not automatically mounted." +msgstr "" + +#. type: item +#: doc/guix.texi:9177 +#, no-wrap +msgid "@code{needed-for-boot?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9182 +msgid "This Boolean value indicates whether the file system is needed when booting. If that is true, then the file system is mounted when the initial RAM disk (initrd) is loaded. This is always the case, for instance, for the root file system." +msgstr "" + +#. type: item +#: doc/guix.texi:9183 +#, no-wrap +msgid "@code{check?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:9186 +msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted." +msgstr "" + +#. type: item +#: doc/guix.texi:9187 +#, no-wrap +msgid "@code{create-mount-point?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9189 +msgid "When true, the mount point is created if it does not exist yet." +msgstr "" + +#. type: item +#: doc/guix.texi:9190 +#, no-wrap +msgid "@code{dependencies} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:9194 +msgid "This is a list of @code{} or @code{} objects representing file systems that must be mounted or mapped devices that must be opened before (and unmounted or closed after) this one." +msgstr "" + +#. type: table +#: doc/guix.texi:9198 +msgid "As an example, consider a hierarchy of mounts: @file{/sys/fs/cgroup} is a dependency of @file{/sys/fs/cgroup/cpu} and @file{/sys/fs/cgroup/memory}." +msgstr "" + +#. type: table +#: doc/guix.texi:9201 +msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9206 +msgid "The @code{(gnu system file-systems)} exports the following useful variables." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9207 +#, no-wrap +msgid "{Scheme Variable} %base-file-systems" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9212 +msgid "These are essential file systems that are required on normal systems, such as @var{%pseudo-terminal-file-system} and @var{%immutable-store} (see below.) Operating system declarations should always contain at least these." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9214 +#, no-wrap +msgid "{Scheme Variable} %pseudo-terminal-file-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9220 +msgid "This is the file system to be mounted as @file{/dev/pts}. It supports @dfn{pseudo-terminals} created @i{via} @code{openpty} and similar functions (@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). Pseudo-terminals are used by terminal emulators such as @command{xterm}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9222 +#, no-wrap +msgid "{Scheme Variable} %shared-memory-file-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9226 +msgid "This file system is mounted as @file{/dev/shm} and is used to support memory sharing across processes (@pxref{Memory-mapped I/O, @code{shm_open},, libc, The GNU C Library Reference Manual})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9228 +#, no-wrap +msgid "{Scheme Variable} %immutable-store" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9233 +msgid "This file system performs a read-only ``bind mount'' of @file{/gnu/store}, making it read-only for all the users including @code{root}. This prevents against accidental modification by software running as @code{root} or by system administrators." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9236 +msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9238 +#, no-wrap +msgid "{Scheme Variable} %binary-format-file-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9242 +msgid "The @code{binfmt_misc} file system, which allows handling of arbitrary executable file types to be delegated to user space. This requires the @code{binfmt.ko} kernel module to be loaded." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9244 +#, no-wrap +msgid "{Scheme Variable} %fuse-control-file-system" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9248 +msgid "The @code{fusectl} file system, which allows unprivileged users to mount and unmount user-space FUSE file systems. This requires the @code{fuse.ko} kernel module to be loaded." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9253 +#, no-wrap +msgid "device mapping" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9254 +#, no-wrap +msgid "mapped devices" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9272 +msgid "The Linux kernel has a notion of @dfn{device mapping}: a block device, such as a hard disk partition, can be @dfn{mapped} into another device, usually in @code{/dev/mapper/}, with additional processing over the data that flows through it@footnote{Note that the GNU@tie{}Hurd makes no difference between the concept of a ``mapped device'' and that of a file system: both boil down to @emph{translating} input/output operations made on a file to operations on its backing store. Thus, the Hurd implements mapped devices, like file systems, using the generic @dfn{translator} mechanism (@pxref{Translators,,, hurd, The GNU Hurd Reference Manual}).}. A typical example is encryption device mapping: all writes to the mapped device are encrypted, and all reads are deciphered, transparently. Guix extends this notion by considering any device or set of devices that are @dfn{transformed} in some way to create a new device; for instance, RAID devices are obtained by @dfn{assembling} several other devices, such as hard disks or partitions, into a new one that behaves as one partition. Other examples, not yet implemented, are LVM logical volumes." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9275 +msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9276 +#, no-wrap +msgid "{Data Type} mapped-device" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9279 +msgid "Objects of this type represent device mappings that will be made when the system boots up." +msgstr "" + +#. type: table +#: doc/guix.texi:9285 +msgid "This is either a string specifying the name of the block device to be mapped, such as @code{\"/dev/sda3\"}, or a list of such strings when several devices need to be assembled for creating a new one." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9286 doc/guix.texi:20162 +#, no-wrap +msgid "target" +msgstr "" + +#. type: table +#: doc/guix.texi:9293 +msgid "This string specifies the name of the resulting mapped device. For kernel mappers such as encrypted devices of type @code{luks-device-mapping}, specifying @code{\"my-partition\"} leads to the creation of the @code{\"/dev/mapper/my-partition\"} device. For RAID devices of type @code{raid-device-mapping}, the full device name such as @code{\"/dev/md0\"} needs to be given." +msgstr "" + +#. type: table +#: doc/guix.texi:9297 +msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9300 +#, no-wrap +msgid "{Scheme Variable} luks-device-mapping" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9304 +msgid "This defines LUKS block device encryption using the @command{cryptsetup} command from the package with the same name. It relies on the @code{dm-crypt} Linux kernel module." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9306 +#, no-wrap +msgid "{Scheme Variable} raid-device-mapping" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9311 +msgid "This defines a RAID device, which is assembled using the @code{mdadm} command from the package with the same name. It requires a Linux kernel module for the appropriate RAID level to be loaded, such as @code{raid456} for RAID-4, RAID-5 or RAID-6, or @code{raid10} for RAID-10." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9313 +#, no-wrap +msgid "disk encryption" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9314 +#, no-wrap +msgid "LUKS" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9322 +msgid "The following example specifies a mapping from @file{/dev/sda3} to @file{/dev/mapper/home} using LUKS---the @url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, a standard mechanism for disk encryption. The @file{/dev/mapper/home} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})." +msgstr "" + +#. type: example +#: doc/guix.texi:9328 +#, no-wrap +msgid "" +"(mapped-device\n" +" (source \"/dev/sda3\")\n" +" (target \"home\")\n" +" (type luks-device-mapping))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9333 +msgid "Alternatively, to become independent of device numbering, one may obtain the LUKS UUID (@dfn{unique identifier}) of the source device by a command like:" +msgstr "" + +#. type: example +#: doc/guix.texi:9336 +#, no-wrap +msgid "cryptsetup luksUUID /dev/sda3\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9339 +msgid "and use it as follows:" +msgstr "" + +#. type: example +#: doc/guix.texi:9345 +#, no-wrap +msgid "" +"(mapped-device\n" +" (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n" +" (target \"home\")\n" +" (type luks-device-mapping))\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9347 +#, no-wrap +msgid "swap encryption" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9353 +msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Preparing for Installation,,Disk Partitioning}, for an example." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9356 +msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:" +msgstr "" + +#. type: example +#: doc/guix.texi:9362 +#, no-wrap +msgid "" +"(mapped-device\n" +" (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n" +" (target \"/dev/md0\")\n" +" (type raid-device-mapping))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9369 +msgid "The @file{/dev/md0} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems}). Note that the RAID level need not be given; it is chosen during the initial creation and formatting of the RAID device and is determined automatically later." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9374 +#, no-wrap +msgid "users" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9375 +#, no-wrap +msgid "accounts" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9376 +#, no-wrap +msgid "user accounts" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9380 +msgid "User accounts and groups are entirely managed through the @code{operating-system} declaration. They are specified with the @code{user-account} and @code{user-group} forms:" +msgstr "" + +#. type: example +#: doc/guix.texi:9391 +#, no-wrap +msgid "" +"(user-account\n" +" (name \"alice\")\n" +" (group \"users\")\n" +" (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n" +" \"audio\" ;sound card\n" +" \"video\" ;video devices such as webcams\n" +" \"cdrom\")) ;the good ol' CD-ROM\n" +" (comment \"Bob's sister\")\n" +" (home-directory \"/home/alice\"))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9400 +msgid "When booting or upon completion of @command{guix system reconfigure}, the system ensures that only the user accounts and groups specified in the @code{operating-system} declaration exist, and with the specified properties. Thus, account or group creations or modifications made by directly invoking commands such as @command{useradd} are lost upon reconfiguration or reboot. This ensures that the system remains exactly as declared." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9401 +#, no-wrap +msgid "{Data Type} user-account" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9404 +msgid "Objects of this type represent user accounts. The following members may be specified:" +msgstr "" + +#. type: table +#: doc/guix.texi:9408 +msgid "The name of the user account." +msgstr "" + +#. type: itemx +#: doc/guix.texi:9409 doc/guix.texi:19924 +#, no-wrap +msgid "group" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9410 doc/guix.texi:9459 +#, no-wrap +msgid "groups" +msgstr "" + +#. type: table +#: doc/guix.texi:9413 +msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to." +msgstr "" + +#. type: item +#: doc/guix.texi:9414 +#, no-wrap +msgid "@code{supplementary-groups} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:9417 +msgid "Optionally, this can be defined as a list of group names that this account belongs to." +msgstr "" + +#. type: item +#: doc/guix.texi:9418 +#, no-wrap +msgid "@code{uid} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9422 +msgid "This is the user ID for this account (a number), or @code{#f}. In the latter case, a number is automatically chosen by the system when the account is created." +msgstr "" + +#. type: item +#: doc/guix.texi:9423 +#, no-wrap +msgid "@code{comment} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:9425 +msgid "A comment about the account, such as the account owner's full name." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9426 +#, no-wrap +msgid "home-directory" +msgstr "" + +#. type: table +#: doc/guix.texi:9428 +msgid "This is the name of the home directory for the account." +msgstr "" + +#. type: item +#: doc/guix.texi:9429 +#, no-wrap +msgid "@code{create-home-directory?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:9432 +msgid "Indicates whether the home directory of this account should be created if it does not exist yet." +msgstr "" + +#. type: item +#: doc/guix.texi:9433 +#, no-wrap +msgid "@code{shell} (default: Bash)" +msgstr "" + +#. type: table +#: doc/guix.texi:9436 +msgid "This is a G-expression denoting the file name of a program to be used as the shell (@pxref{G-Expressions})." +msgstr "" + +#. type: item +#: doc/guix.texi:9437 doc/guix.texi:9477 +#, no-wrap +msgid "@code{system?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9441 +msgid "This Boolean value indicates whether the account is a ``system'' account. System accounts are sometimes treated specially; for instance, graphical login managers do not list them." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:9443 +msgid "user-account-password" +msgstr "" + +#. type: item +#: doc/guix.texi:9443 doc/guix.texi:9481 +#, no-wrap +msgid "@code{password} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9449 +msgid "You would normally leave this field to @code{#f}, initialize user passwords as @code{root} with the @command{passwd} command, and then let users change it with @command{passwd}. Passwords set with @command{passwd} are of course preserved across reboot and reconfiguration." +msgstr "" + +#. type: table +#: doc/guix.texi:9455 +msgid "If you @emph{do} want to have a preset password for an account, then this field must contain the encrypted password, as a string. @xref{crypt,,, libc, The GNU C Library Reference Manual}, for more information on password encryption, and @ref{Encryption,,, guile, GNU Guile Reference Manual}, for information on Guile's @code{crypt} procedure." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9461 +msgid "User group declarations are even simpler:" +msgstr "" + +#. type: example +#: doc/guix.texi:9464 +#, no-wrap +msgid "(user-group (name \"students\"))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9466 +#, no-wrap +msgid "{Data Type} user-group" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9468 +msgid "This type is for, well, user groups. There are just a few fields:" +msgstr "" + +#. type: table +#: doc/guix.texi:9472 +msgid "The name of the group." +msgstr "" + +#. type: item +#: doc/guix.texi:9473 +#, no-wrap +msgid "@code{id} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9476 +msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created." +msgstr "" + +#. type: table +#: doc/guix.texi:9480 +msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs." +msgstr "" + +#. type: table +#: doc/guix.texi:9484 +msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9490 +msgid "For convenience, a variable lists all the basic user groups one may expect:" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9491 +#, no-wrap +msgid "{Scheme Variable} %base-groups" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9496 +msgid "This is the list of basic user groups that users and/or packages expect to be present on the system. This includes groups such as ``root'', ``wheel'', and ``users'', as well as groups used to control access to specific devices such as ``audio'', ``disk'', and ``cdrom''." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9498 +#, no-wrap +msgid "{Scheme Variable} %base-user-accounts" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9501 +msgid "This is the list of basic system accounts that programs may expect to find on a GNU/Linux system, such as the ``nobody'' account." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9504 +msgid "Note that the ``root'' account is not included here. It is a special-case and is automatically added whether or not it is specified." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9509 +#, no-wrap +msgid "locale" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9516 +msgid "A @dfn{locale} defines cultural conventions for a particular language and region of the world (@pxref{Locales,,, libc, The GNU C Library Reference Manual}). Each locale has a name that typically has the form @code{@var{language}_@var{territory}.@var{codeset}}---e.g., @code{fr_LU.utf8} designates the locale for the French language, with cultural conventions from Luxembourg, and using the UTF-8 encoding." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9517 +#, no-wrap +msgid "locale definition" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9521 +msgid "Usually, you will want to specify the default locale for the machine using the @code{locale} field of the @code{operating-system} declaration (@pxref{operating-system Reference, @code{locale}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9530 +msgid "The selected locale is automatically added to the @dfn{locale definitions} known to the system if needed, with its codeset inferred from its name---e.g., @code{bo_CN.utf8} will be assumed to use the @code{UTF-8} codeset. Additional locale definitions can be specified in the @code{locale-definitions} slot of @code{operating-system}---this is useful, for instance, if the codeset could not be inferred from the locale name. The default set of locale definitions includes some widely used locales, but not all the available locales, in order to save space." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9533 +msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:" +msgstr "" + +#. type: example +#: doc/guix.texi:9538 +#, no-wrap +msgid "" +"(cons (locale-definition\n" +" (name \"fy_DE.utf8\") (source \"fy_DE\"))\n" +" %default-locale-definitions)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9542 +msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:" +msgstr "" + +#. type: example +#: doc/guix.texi:9547 +#, no-wrap +msgid "" +"(list (locale-definition\n" +" (name \"ja_JP.eucjp\") (source \"ja_JP\")\n" +" (charset \"EUC-JP\")))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9556 +msgid "The compiled locale definitions are available at @file{/run/current-system/locale/X.Y}, where @code{X.Y} is the libc version, which is the default location where the GNU@tie{}libc provided by Guix looks for locale data. This can be overridden using the @code{LOCPATH} environment variable (@pxref{locales-and-locpath, @code{LOCPATH} and locale packages})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9559 +msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9560 +#, no-wrap +msgid "{Data Type} locale-definition" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9562 +msgid "This is the data type of a locale definition." +msgstr "" + +#. type: table +#: doc/guix.texi:9568 +msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names." +msgstr "" + +#. type: table +#: doc/guix.texi:9572 +msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name." +msgstr "" + +#. type: item +#: doc/guix.texi:9573 +#, no-wrap +msgid "@code{charset} (default: @code{\"UTF-8\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:9577 +msgid "The ``character set'' or ``code set'' for that locale, @uref{http://www.iana.org/assignments/character-sets, as defined by IANA}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9581 +#, no-wrap +msgid "{Scheme Variable} %default-locale-definitions" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9585 +msgid "A list of commonly used UTF-8 locales, used as the default value of the @code{locale-definitions} field of @code{operating-system} declarations." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9586 +#, no-wrap +msgid "locale name" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9587 +#, no-wrap +msgid "normalized codeset in locale names" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9593 +msgid "These locale definitions use the @dfn{normalized codeset} for the part that follows the dot in the name (@pxref{Using gettextized software, normalized codeset,, libc, The GNU C Library Reference Manual}). So for instance it has @code{uk_UA.utf8} but @emph{not}, say, @code{uk_UA.UTF-8}." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:9595 +#, no-wrap +msgid "Locale Data Compatibility Considerations" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9597 +#, no-wrap +msgid "incompatibility, of locale data" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9604 +msgid "@code{operating-system} declarations provide a @code{locale-libcs} field to specify the GNU@tie{}libc packages that are used to compile locale declarations (@pxref{operating-system Reference}). ``Why would I care?'', you may ask. Well, it turns out that the binary format of locale data is occasionally incompatible from one libc version to another." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9616 +msgid "For instance, a program linked against libc version 2.21 is unable to read locale data produced with libc 2.22; worse, that program @emph{aborts} instead of simply ignoring the incompatible locale data@footnote{Versions 2.23 and later of GNU@tie{}libc will simply skip the incompatible locale data, which is already an improvement.}. Similarly, a program linked against libc 2.22 can read most, but not all, of the locale data from libc 2.21 (specifically, @code{LC_COLLATE} data is incompatible); thus calls to @code{setlocale} may fail, but programs will not abort." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9621 +msgid "The ``problem'' in GuixSD is that users have a lot of freedom: They can choose whether and when to upgrade software in their profiles, and might be using a libc version different from the one the system administrator used to build the system-wide locale data." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9625 +msgid "Fortunately, unprivileged users can also install their own locale data and define @var{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath, @code{GUIX_LOCPATH} and locale packages})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9632 +msgid "Still, it is best if the system-wide locale data at @file{/run/current-system/locale} is built for all the libc versions actually in use on the system, so that all the programs can access it---this is especially crucial on a multi-user system. To do that, the administrator can specify several libc packages in the @code{locale-libcs} field of @code{operating-system}:" +msgstr "" + +#. type: example +#: doc/guix.texi:9635 +#, no-wrap +msgid "" +"(use-package-modules base)\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:9639 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9644 +msgid "This example would lead to a system containing locale definitions for both libc 2.21 and the current version of libc in @file{/run/current-system/locale}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:9649 +#, no-wrap +msgid "system services" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9655 +msgid "An important part of preparing an @code{operating-system} declaration is listing @dfn{system services} and their configuration (@pxref{Using the Configuration System}). System services are typically daemons launched when the system boots, or other actions needed at that time---e.g., configuring network access." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9662 +msgid "GuixSD has a broad definition of ``service'' (@pxref{Service Composition}), but many services are managed by the GNU@tie{}Shepherd (@pxref{Shepherd Services}). On a running system, the @command{herd} command allows you to list the available services, show their status, start and stop them, or do other specific operations (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}). For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:9665 +#, no-wrap +msgid "# herd status\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9670 +msgid "The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given service:" +msgstr "" + +#. type: example +#: doc/guix.texi:9674 +#, no-wrap +msgid "" +"# herd doc nscd\n" +"Run libc's name service cache daemon (nscd).\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9679 +msgid "The @command{start}, @command{stop}, and @command{restart} sub-commands have the effect you would expect. For instance, the commands below stop the nscd service and restart the Xorg display server:" +msgstr "" + +#. type: example +#: doc/guix.texi:9686 +#, no-wrap +msgid "" +"# herd stop nscd\n" +"Service nscd has been stopped.\n" +"# herd restart xorg-server\n" +"Service xorg-server has been stopped.\n" +"Service xorg-server has been started.\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9691 +msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:9726 +msgid "The @code{(gnu services base)} module provides definitions for the basic services that one expects from the system. The services exported by this module are listed below." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9727 +#, no-wrap +msgid "{Scheme Variable} %base-services" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9733 +msgid "This variable contains a list of basic services (@pxref{Service Types and Services}, for more information on service objects) one would expect from the system: a login service (mingetty) on each tty, syslogd, the libc name service cache daemon (nscd), the udev device manager, and more." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9738 +msgid "This is the default value of the @code{services} field of @code{operating-system} declarations. Usually, when customizing a system, you will want to append services to @var{%base-services}, like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:9741 +#, no-wrap +msgid "(cons* (avahi-service) (lsh-service) %base-services)\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9744 +#, no-wrap +msgid "{Scheme Variable} special-files-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9747 +msgid "This is the service that sets up ``special files'' such as @file{/bin/sh}; an instance of it is part of @code{%base-services}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:9751 +msgid "The value associated with @code{special-files-service-type} services must be a list of tuples where the first element is the ``special file'' and the second element is its target. By default it is:" +msgstr "" + +#. type: file{#1} +#: doc/guix.texi:9752 +#, no-wrap +msgid "/bin/sh" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9753 +#, no-wrap +msgid "@file{sh}, in @file{/bin}" +msgstr "" + +#. type: example +#: doc/guix.texi:9756 +#, no-wrap +msgid "`((\"/bin/sh\" ,(file-append @var{bash} \"/bin/sh\")))\n" +msgstr "" + +#. type: file{#1} +#: doc/guix.texi:9758 +#, no-wrap +msgid "/usr/bin/env" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9759 +#, no-wrap +msgid "@file{env}, in @file{/usr/bin}" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9762 +msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:" +msgstr "" + +#. type: example +#: doc/guix.texi:9766 +#, no-wrap +msgid "" +"`((\"/bin/sh\" ,(file-append @var{bash} \"/bin/sh\"))\n" +" (\"/usr/bin/env\" ,(file-append @var{coreutils} \"/bin/env\")))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:9773 +msgid "Since this is part of @code{%base-services}, you can use @code{modify-services} to customize the set of special files (@pxref{Service Reference, @code{modify-services}}). But the simple way to add a special file is @i{via} the @code{extra-special-file} procedure (see below.)" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9775 +#, no-wrap +msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9777 +msgid "Use @var{target} as the ``special file'' @var{file}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:9781 +msgid "For example, adding the following lines to the @code{services} field of your operating system declaration leads to a @file{/usr/bin/env} symlink:" +msgstr "" + +#. type: example +#: doc/guix.texi:9785 +#, no-wrap +msgid "" +"(extra-special-file \"/usr/bin/env\"\n" +" (file-append coreutils \"/bin/env\"))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9788 +#, no-wrap +msgid "{Scheme Procedure} host-name-service @var{name}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9790 +msgid "Return a service that sets the host name to @var{name}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:9792 +#, no-wrap +msgid "{Scheme Procedure} login-service @var{config}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9796 +msgid "Return a service to run login according to @var{config}, a @code{} object, which specifies the message of the day, among other things." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9798 +#, no-wrap +msgid "{Data Type} login-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9800 +msgid "This is the data type representing the configuration of login." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9803 +#, no-wrap +msgid "motd" +msgstr "" + +#. type: cindex +#: doc/guix.texi:9804 +#, no-wrap +msgid "message of the day" +msgstr "" + +#. type: table +#: doc/guix.texi:9806 +msgid "A file-like object containing the ``message of the day''." +msgstr "" + +#. type: item +#: doc/guix.texi:9807 doc/guix.texi:11469 +#, no-wrap +msgid "@code{allow-empty-passwords?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:9810 +msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created." +msgstr "" + +#. type: deffn +#: doc/guix.texi:9814 +#, no-wrap +msgid "{Scheme Procedure} mingetty-service @var{config}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9818 +msgid "Return a service to run mingetty according to @var{config}, a @code{} object, which specifies the tty to run, among other things." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9820 +#, no-wrap +msgid "{Data Type} mingetty-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9823 +msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:9826 doc/guix.texi:9862 +#, no-wrap +msgid "tty" +msgstr "" + +#. type: table +#: doc/guix.texi:9828 +msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}." +msgstr "" + +#. type: item +#: doc/guix.texi:9829 doc/guix.texi:9891 +#, no-wrap +msgid "@code{auto-login} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9833 +msgid "When true, this field must be a string denoting the user name under which the system automatically logs in. When it is @code{#f}, a user name and password must be entered to log in." +msgstr "" + +#. type: item +#: doc/guix.texi:9834 +#, no-wrap +msgid "@code{login-program} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9838 +msgid "This must be either @code{#f}, in which case the default log-in program is used (@command{login} from the Shadow tool suite), or a gexp denoting the name of the log-in program." +msgstr "" + +#. type: item +#: doc/guix.texi:9839 +#, no-wrap +msgid "@code{login-pause?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9842 +msgid "When set to @code{#t} in conjunction with @var{auto-login}, the user will have to press a key before the log-in shell is launched." +msgstr "" + +#. type: item +#: doc/guix.texi:9843 +#, no-wrap +msgid "@code{mingetty} (default: @var{mingetty})" +msgstr "" + +#. type: table +#: doc/guix.texi:9845 +msgid "The Mingetty package to use." +msgstr "" + +#. type: deffn +#: doc/guix.texi:9849 +#, no-wrap +msgid "{Scheme Procedure} agetty-service @var{config}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:9853 +msgid "Return a service to run agetty according to @var{config}, an @code{} object, which specifies the tty to run, among other things." +msgstr "" + +#. type: deftp +#: doc/guix.texi:9855 +#, no-wrap +msgid "{Data Type} agetty-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:9859 +msgid "This is the data type representing the configuration of agetty, which implements virtual and serial console log-in. See the @code{agetty(8)} man page for more information." +msgstr "" + +#. type: table +#: doc/guix.texi:9866 +msgid "The name of the console this agetty runs on, as a string---e.g., @code{\"ttyS0\"}. This argument is optional, it will default to a reasonable default serial port used by the kernel Linux." +msgstr "" + +#. type: table +#: doc/guix.texi:9870 +msgid "For this, if there is a value for an option @code{agetty.tty} in the kernel command line, agetty will extract the device name of the serial port from it and use that." +msgstr "" + +#. type: table +#: doc/guix.texi:9874 +msgid "If not and if there is a value for an option @code{console} with a tty in the Linux command line, agetty will extract the device name of the serial port from it and use that." +msgstr "" + +#. type: table +#: doc/guix.texi:9878 +msgid "In both cases, agetty will leave the other serial device settings (baud rate etc.) alone---in the hope that Linux pinned them to the correct values." +msgstr "" + +#. type: item +#: doc/guix.texi:9879 +#, no-wrap +msgid "@code{baud-rate} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9882 +msgid "A string containing a comma-separated list of one or more baud rates, in descending order." +msgstr "" + +#. type: item +#: doc/guix.texi:9883 +#, no-wrap +msgid "@code{term} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9886 +msgid "A string containing the value used for the @code{TERM} environment variable." +msgstr "" + +#. type: item +#: doc/guix.texi:9887 +#, no-wrap +msgid "@code{eight-bits?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9890 +msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled." +msgstr "" + +#. type: table +#: doc/guix.texi:9894 +msgid "When passed a login name, as a string, the specified user will be logged in automatically without prompting for their login name or password." +msgstr "" + +#. type: item +#: doc/guix.texi:9895 +#, no-wrap +msgid "@code{no-reset?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9897 +msgid "When @code{#t}, don't reset terminal cflags (control modes)." +msgstr "" + +#. type: item +#: doc/guix.texi:9898 +#, no-wrap +msgid "@code{host} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9901 +msgid "This accepts a string containing the \"login_host\", which will be written into the @file{/var/run/utmpx} file." +msgstr "" + +#. type: item +#: doc/guix.texi:9902 +#, no-wrap +msgid "@code{remote?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9906 +msgid "When set to @code{#t} in conjunction with @var{host}, this will add an @code{-r} fakehost option to the command line of the login program specified in @var{login-program}." +msgstr "" + +#. type: item +#: doc/guix.texi:9907 +#, no-wrap +msgid "@code{flow-control?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9909 +msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control." +msgstr "" + +#. type: item +#: doc/guix.texi:9910 +#, no-wrap +msgid "@code{no-issue?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9913 +msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt." +msgstr "" + +#. type: item +#: doc/guix.texi:9914 +#, no-wrap +msgid "@code{init-string} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9917 +msgid "This accepts a string that will be sent to the tty or modem before sending anything else. It can be used to initialize a modem." +msgstr "" + +#. type: item +#: doc/guix.texi:9918 +#, no-wrap +msgid "@code{no-clear?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9921 +msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt." +msgstr "" + +#. type: item +#: doc/guix.texi:9922 +#, no-wrap +msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))" +msgstr "" + +#. type: table +#: doc/guix.texi:9926 +msgid "This must be either a gexp denoting the name of a log-in program, or unset, in which case the default value is the @command{login} from the Shadow tool suite." +msgstr "" + +#. type: item +#: doc/guix.texi:9927 +#, no-wrap +msgid "@code{local-line} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9931 +msgid "Control the CLOCAL line flag. This accepts one of three symbols as arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f}, the default value chosen by agetty is @code{'auto}." +msgstr "" + +#. type: item +#: doc/guix.texi:9932 +#, no-wrap +msgid "@code{extract-baud?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9935 +msgid "When set to @code{#t}, instruct agetty to try to extract the baud rate from the status messages produced by certain types of modems." +msgstr "" + +#. type: item +#: doc/guix.texi:9936 +#, no-wrap +msgid "@code{skip-login?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9940 +msgid "When set to @code{#t}, do not prompt the user for a login name. This can be used with @var{login-program} field to use non-standard login systems." +msgstr "" + +#. type: item +#: doc/guix.texi:9941 +#, no-wrap +msgid "@code{no-newline?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9944 +msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file." +msgstr "" + +#. type: item +#: doc/guix.texi:9946 +#, no-wrap +msgid "@code{login-options} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9951 +msgid "This option accepts a string containing options that are passed to the login program. When used with the @var{login-program}, be aware that a malicious user could try to enter a login name containing embedded options that could be parsed by the login program." +msgstr "" + +#. type: item +#: doc/guix.texi:9952 +#, no-wrap +msgid "@code{login-pause} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9956 +msgid "When set to @code{#t}, wait for any key before showing the login prompt. This can be used in conjunction with @var{auto-login} to save memory by lazily spawning shells." +msgstr "" + +#. type: item +#: doc/guix.texi:9957 +#, no-wrap +msgid "@code{chroot} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9960 +msgid "Change root to the specified directory. This option accepts a directory path as a string." +msgstr "" + +#. type: item +#: doc/guix.texi:9961 +#, no-wrap +msgid "@code{hangup?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9964 +msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal." +msgstr "" + +#. type: item +#: doc/guix.texi:9965 +#, no-wrap +msgid "@code{keep-baud?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9969 +msgid "When set to @code{#t}, try to keep the existing baud rate. The baud rates from @var{baud-rate} are used when agetty receives a @key{BREAK} character." +msgstr "" + +#. type: item +#: doc/guix.texi:9970 +#, no-wrap +msgid "@code{timeout} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9973 +msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds." +msgstr "" + +#. type: item +#: doc/guix.texi:9974 +#, no-wrap +msgid "@code{detect-case?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9980 +msgid "When set to @code{#t}, turn on support for detecting an uppercase-only terminal. This setting will detect a login name containing only uppercase letters as indicating an uppercase-only terminal and turn on some upper-to-lower case conversions. Note that this will not support Unicode characters." +msgstr "" + +#. type: item +#: doc/guix.texi:9981 +#, no-wrap +msgid "@code{wait-cr?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9986 +msgid "When set to @code{#t}, wait for the user or modem to send a carriage-return or linefeed character before displaying @file{/etc/issue} or login prompt. This is typically used with the @var{init-string} option." +msgstr "" + +#. type: item +#: doc/guix.texi:9987 +#, no-wrap +msgid "@code{no-hints?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9990 +msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks." +msgstr "" + +#. type: item +#: doc/guix.texi:9991 +#, no-wrap +msgid "@code{no-hostname?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9994 +msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all." +msgstr "" + +#. type: item +#: doc/guix.texi:9995 +#, no-wrap +msgid "@code{long-hostname?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:9999 +msgid "By default, the hostname is only printed until the first dot. When this option is set to @code{#t}, the fully qualified hostname by @code{gethostname} or @code{getaddrinfo} is shown." +msgstr "" + +#. type: item +#: doc/guix.texi:10000 +#, no-wrap +msgid "@code{erase-characters} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10003 +msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name." +msgstr "" + +#. type: item +#: doc/guix.texi:10004 +#, no-wrap +msgid "@code{kill-characters} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10008 +msgid "This option accepts a string that should be interpreted to mean \"ignore all previous characters\" (also called a \"kill\" character) when the types their login name." +msgstr "" + +#. type: item +#: doc/guix.texi:10009 +#, no-wrap +msgid "@code{chdir} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10012 +msgid "This option accepts, as a string, a directory path that will be changed to before login." +msgstr "" + +#. type: item +#: doc/guix.texi:10013 +#, no-wrap +msgid "@code{delay} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10016 +msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt." +msgstr "" + +#. type: item +#: doc/guix.texi:10017 +#, no-wrap +msgid "@code{nice} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10020 +msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program." +msgstr "" + +#. type: item +#: doc/guix.texi:10021 doc/guix.texi:10221 +#, no-wrap +msgid "@code{extra-options} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10024 +msgid "This option provides an \"escape hatch\" for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10028 +#, no-wrap +msgid "{Scheme Procedure} kmscon-service-type @var{config}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10032 +msgid "Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} according to @var{config}, a @code{} object, which specifies the tty to run, among other things." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10034 +#, no-wrap +msgid "{Data Type} kmscon-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10037 +msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:10040 +#, no-wrap +msgid "virtual-terminal" +msgstr "" + +#. type: table +#: doc/guix.texi:10042 +msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}." +msgstr "" + +#. type: item +#: doc/guix.texi:10043 +#, no-wrap +msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10046 +msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite." +msgstr "" + +#. type: item +#: doc/guix.texi:10047 +#, no-wrap +msgid "@code{login-arguments} (default: @code{'(\"-p\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10049 +msgid "A list of arguments to pass to @command{login}." +msgstr "" + +#. type: item +#: doc/guix.texi:10050 +#, no-wrap +msgid "@code{hardware-acceleration?} (default: #f)" +msgstr "" + +#. type: table +#: doc/guix.texi:10052 +msgid "Whether to use hardware acceleration." +msgstr "" + +#. type: item +#: doc/guix.texi:10053 +#, no-wrap +msgid "@code{kmscon} (default: @var{kmscon})" +msgstr "" + +#. type: table +#: doc/guix.texi:10055 +msgid "The Kmscon package to use." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10059 +#, no-wrap +msgid "name service cache daemon" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10060 +#, no-wrap +msgid "nscd" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10061 +#, no-wrap +msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10066 +msgid "[#:name-services '()] Return a service that runs the libc name service cache daemon (nscd) with the given @var{config}---an @code{} object. @xref{Name Service Switch}, for an example." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10068 +#, no-wrap +msgid "{Scheme Variable} %nscd-default-configuration" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10072 +msgid "This is the default @code{} value (see below) used by @code{nscd-service}. It uses the caches defined by @var{%nscd-default-caches}; see below." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10074 +#, no-wrap +msgid "{Data Type} nscd-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10077 +msgid "This is the data type representing the name service cache daemon (nscd) configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:10080 +#, no-wrap +msgid "@code{name-services} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10083 +msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}." +msgstr "" + +#. type: item +#: doc/guix.texi:10084 +#, no-wrap +msgid "@code{glibc} (default: @var{glibc})" +msgstr "" + +#. type: table +#: doc/guix.texi:10087 +msgid "Package object denoting the GNU C Library providing the @command{nscd} command." +msgstr "" + +#. type: item +#: doc/guix.texi:10088 +#, no-wrap +msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10091 +msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive." +msgstr "" + +#. type: item +#: doc/guix.texi:10092 +#, no-wrap +msgid "@code{debug-level} (default: @code{0})" +msgstr "" + +#. type: table +#: doc/guix.texi:10095 +msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged." +msgstr "" + +#. type: item +#: doc/guix.texi:10096 +#, no-wrap +msgid "@code{caches} (default: @var{%nscd-default-caches})" +msgstr "" + +#. type: table +#: doc/guix.texi:10099 +msgid "List of @code{} objects denoting things to be cached; see below." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10103 +#, no-wrap +msgid "{Data Type} nscd-cache" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10105 +msgid "Data type representing a cache database of nscd and its parameters." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10108 doc/guix.texi:12810 +#, no-wrap +msgid "database" +msgstr "" + +#. type: table +#: doc/guix.texi:10113 +msgid "This is a symbol representing the name of the database to be cached. Valid values are @code{passwd}, @code{group}, @code{hosts}, and @code{services}, which designate the corresponding NSS database (@pxref{NSS Basics,,, libc, The GNU C Library Reference Manual})." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:10114 +#, no-wrap +msgid "positive-time-to-live" +msgstr "" + +#. type: itemx +#: doc/guix.texi:10115 +#, no-wrap +msgid "@code{negative-time-to-live} (default: @code{20})" +msgstr "" + +#. type: table +#: doc/guix.texi:10118 +msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache." +msgstr "" + +#. type: item +#: doc/guix.texi:10119 +#, no-wrap +msgid "@code{check-files?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:10122 +msgid "Whether to check for updates of the files corresponding to @var{database}." +msgstr "" + +#. type: table +#: doc/guix.texi:10126 +msgid "For instance, when @var{database} is @code{hosts}, setting this flag instructs nscd to check for updates in @file{/etc/hosts} and to take them into account." +msgstr "" + +#. type: item +#: doc/guix.texi:10127 +#, no-wrap +msgid "@code{persistent?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:10129 +msgid "Whether the cache should be stored persistently on disk." +msgstr "" + +#. type: item +#: doc/guix.texi:10130 +#, no-wrap +msgid "@code{shared?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:10132 +msgid "Whether the cache should be shared among users." +msgstr "" + +#. type: item +#: doc/guix.texi:10133 +#, no-wrap +msgid "@code{max-database-size} (default: 32@tie{}MiB)" +msgstr "" + +#. type: table +#: doc/guix.texi:10135 +msgid "Maximum size in bytes of the database cache." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10142 +#, no-wrap +msgid "{Scheme Variable} %nscd-default-caches" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10145 +msgid "List of @code{} objects used by default by @code{nscd-configuration} (see above)." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10151 +msgid "It enables persistent and aggressive caching of service and host name lookups. The latter provides better host name lookup performance, resilience in the face of unreliable name servers, and also better privacy---often the result of host name lookups is in local cache, so external name servers do not even need to be queried." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:10154 +msgid "syslog-configuration-type" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10154 doc/guix.texi:10170 +#, no-wrap +msgid "syslog" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10155 doc/guix.texi:10588 +#, no-wrap +msgid "logging" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10156 +#, no-wrap +msgid "{Data Type} syslog-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10158 +msgid "This data type represents the configuration of the syslog daemon." +msgstr "" + +#. type: item +#: doc/guix.texi:10160 +#, no-wrap +msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10162 +msgid "The syslog daemon to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10163 +#, no-wrap +msgid "@code{config-file} (default: @code{%default-syslog.conf})" +msgstr "" + +#. type: table +#: doc/guix.texi:10165 +msgid "The syslog configuration file to use." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:10170 +msgid "syslog-service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10171 +#, no-wrap +msgid "{Scheme Procedure} syslog-service @var{config}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10173 +msgid "Return a service that runs a syslog daemon according to @var{config}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10176 +msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:10179 +msgid "guix-configuration-type" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10179 +#, no-wrap +msgid "{Data Type} guix-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10182 +msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information." +msgstr "" + +#. type: item +#: doc/guix.texi:10184 +#, no-wrap +msgid "@code{guix} (default: @var{guix})" +msgstr "" + +#. type: table +#: doc/guix.texi:10186 doc/guix.texi:10414 +msgid "The Guix package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10187 +#, no-wrap +msgid "@code{build-group} (default: @code{\"guixbuild\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10189 +msgid "Name of the group for build user accounts." +msgstr "" + +#. type: item +#: doc/guix.texi:10190 +#, no-wrap +msgid "@code{build-accounts} (default: @code{10})" +msgstr "" + +#. type: table +#: doc/guix.texi:10192 +msgid "Number of build user accounts to create." +msgstr "" + +#. type: item +#: doc/guix.texi:10193 +#, no-wrap +msgid "@code{authorize-key?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:10198 +msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{hydra.gnu.org} (@pxref{Substitutes})." +msgstr "" + +#. type: vindex +#: doc/guix.texi:10199 +#, no-wrap +msgid "%default-authorized-guix-keys" +msgstr "" + +#. type: item +#: doc/guix.texi:10200 +#, no-wrap +msgid "@code{authorized-keys} (default: @var{%default-authorized-guix-keys})" +msgstr "" + +#. type: table +#: doc/guix.texi:10204 +msgid "The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it contains that of @code{hydra.gnu.org} (@pxref{Substitutes})." +msgstr "" + +#. type: item +#: doc/guix.texi:10205 +#, no-wrap +msgid "@code{use-substitutes?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:10207 +msgid "Whether to use substitutes." +msgstr "" + +#. type: item +#: doc/guix.texi:10208 +#, no-wrap +msgid "@code{substitute-urls} (default: @var{%default-substitute-urls})" +msgstr "" + +#. type: table +#: doc/guix.texi:10210 +msgid "The list of URLs where to look for substitutes by default." +msgstr "" + +#. type: item +#: doc/guix.texi:10211 +#, no-wrap +msgid "@code{max-silent-time} (default: @code{0})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:10212 +#, no-wrap +msgid "@code{timeout} (default: @code{0})" +msgstr "" + +#. type: table +#: doc/guix.texi:10216 +msgid "The number of seconds of silence and the number of seconds of activity, respectively, after which a build process times out. A value of zero disables the timeout." +msgstr "" + +#. type: item +#: doc/guix.texi:10217 +#, no-wrap +msgid "@code{log-compression} (default: @code{'bzip2})" +msgstr "" + +#. type: table +#: doc/guix.texi:10220 +msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}." +msgstr "" + +#. type: table +#: doc/guix.texi:10223 +msgid "List of extra command-line options for @command{guix-daemon}." +msgstr "" + +#. type: item +#: doc/guix.texi:10224 +#, no-wrap +msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10227 +msgid "File where @command{guix-daemon}'s standard output and standard error are written." +msgstr "" + +#. type: item +#: doc/guix.texi:10228 +#, no-wrap +msgid "@code{http-proxy} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10231 +msgid "The HTTP proxy used for downloading fixed-output derivations and substitutes." +msgstr "" + +#. type: item +#: doc/guix.texi:10232 +#, no-wrap +msgid "@code{tmpdir} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10234 +msgid "A directory path where the @command{guix-daemon} will perform builds." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10238 +#, no-wrap +msgid "{Scheme Procedure} guix-service @var{config}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10241 +msgid "Return a service that runs the Guix build daemon according to @var{config}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10243 +#, no-wrap +msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10248 +msgid "Run @var{udev}, which populates the @file{/dev} directory dynamically. udev rules can be provided as a list of files through the @var{rules} variable. The procedures @var{udev-rule} and @var{file->udev-rule} from @code{(gnu services base)} simplify the creation of such rule files." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10249 +#, no-wrap +msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10252 +msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10256 +msgid "In the following example, a rule for a USB device is defined to be stored in the file @file{90-usb-thing.rules}. The rule runs a script upon detecting a USB device with a given product identifier." +msgstr "" + +#. type: example +#: doc/guix.texi:10264 +#, no-wrap +msgid "" +"(define %example-udev-rule\n" +" (udev-rule\n" +" \"90-usb-thing.rules\"\n" +" (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n" +" \"ATTR@{product@}==\\\"Example\\\", \"\n" +" \"RUN+=\\\"/path/to/script\\\"\")))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10268 +msgid "Here we show how the default @var{udev-service} can be extended with it." +msgstr "" + +#. type: example +#: doc/guix.texi:10278 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (services\n" +" (modify-services %desktop-services\n" +" (udev-service-type config =>\n" +" (udev-configuration (inherit config)\n" +" (rules (append (udev-configuration-rules config)\n" +" (list %example-udev-rule))))))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10280 +#, no-wrap +msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10283 +msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10285 +msgid "The following example showcases how we can use an existing rule file." +msgstr "" + +#. type: example +#: doc/guix.texi:10290 +#, no-wrap +msgid "" +"(use-modules (guix download) ;for url-fetch\n" +" (guix packages) ;for origin\n" +" ;; @dots{})\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:10301 +#, no-wrap +msgid "" +"(define %android-udev-rules\n" +" (file->udev-rule\n" +" \"51-android-udev.rules\"\n" +" (let ((version \"20170910\"))\n" +" (origin\n" +" (method url-fetch)\n" +" (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n" +" \"android-udev-rules/\" version \"/51-android.rules\"))\n" +" (sha256\n" +" (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10310 +msgid "Additionally, Guix package definitions can be included in @var{rules} in order to extend the udev rules with the definitions found under their @file{lib/udev/rules.d} sub-directory. In lieu of the previous @var{file->udev-rule} example, we could have used the @var{android-udev-rules} package which exists in Guix in the @code{(gnu packages android)} module." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10319 +msgid "The following example shows how to use the @var{android-udev-rules} package so that the Android tool @command{adb} can detect devices without root privileges. It also details how to create the @code{adbusers} group, which is required for the proper functioning of the rules defined within the @var{android-udev-rules} package. To create such a group, we must define it both as part of the @var{supplementary-groups} of our @var{user-account} declaration, as well as in the @var{groups} field of the @var{operating-system} record." +msgstr "" + +#. type: example +#: doc/guix.texi:10324 +#, no-wrap +msgid "" +"(use-modules (gnu packages android) ;for android-udev-rules\n" +" (gnu system shadow) ;for user-group\n" +" ;; @dots{})\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:10333 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (users (cons (user-acount\n" +" ;; @dots{}\n" +" (supplementary-groups\n" +" '(\"adbusers\" ;for adb\n" +" \"wheel\" \"netdev\" \"audio\" \"video\"))\n" +" ;; @dots{})))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:10336 +#, no-wrap +msgid "" +" (groups (cons (user-group (system? #t) (name \"adbusers\"))\n" +" %base-groups))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:10338 +#, no-wrap +msgid "" +" ;; @dots{}\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:10345 +#, no-wrap +msgid "" +" (services\n" +" (modify-services %desktop-services\n" +" (udev-service-type config =>\n" +" (udev-configuration (inherit config)\n" +" (rules (cons* android-udev-rules\n" +" (udev-configuration-rules config))))))))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10348 +#, no-wrap +msgid "{Scheme Variable} urandom-seed-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10353 +msgid "Save some entropy in @var{%random-seed-file} to seed @file{/dev/urandom} when rebooting. It also tries to seed @file{/dev/urandom} from @file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is readable." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10355 +#, no-wrap +msgid "{Scheme Variable} %random-seed-file" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10359 +msgid "This is the name of the file where some random bytes are saved by @var{urandom-seed-service} to seed @file{/dev/urandom} when rebooting. It defaults to @file{/var/lib/random-seed}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10361 +#, no-wrap +msgid "keymap" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10362 +#, no-wrap +msgid "keyboard" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10363 +#, no-wrap +msgid "{Scheme Procedure} console-keymap-service @var{files} ..." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10368 +msgid "Return a service to load console keymaps from @var{files} using @command{loadkeys} command. Most likely, you want to load some default keymap, which can be done like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:10371 +#, no-wrap +msgid "(console-keymap-service \"dvorak\")\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10375 +msgid "Or, for example, for a Swedish keyboard, you may need to combine the following keymaps:" +msgstr "" + +#. type: example +#: doc/guix.texi:10377 +#, no-wrap +msgid "(console-keymap-service \"se-lat6\" \"se-fi-lat6\")\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10381 +msgid "Also you can specify a full file name (or file names) of your keymap(s). See @code{man loadkeys} for details." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10384 +#, no-wrap +msgid "mouse" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10385 +#, no-wrap +msgid "gpm" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10386 +#, no-wrap +msgid "{Scheme Procedure} gpm-service [#:gpm @var{gpm}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10392 +msgid "[#:options] Run @var{gpm}, the general-purpose mouse daemon, with the given command-line @var{options}. GPM allows users to use the mouse in the console, notably to select, copy, and paste text. The default value of @var{options} uses the @code{ps2} protocol, which works for both USB and PS/2 mice." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10394 +msgid "This service is not part of @var{%base-services}." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:10397 +msgid "guix-publish-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10397 +#, no-wrap +msgid "{Scheme Variable} guix-publish-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10401 +msgid "This is the service type for @command{guix publish} (@pxref{Invoking guix publish}). Its value must be a @code{guix-configuration} object, as described below." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10405 +msgid "This assumes that @file{/etc/guix} already contains a signing key pair as created by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). If that is not the case, the service will fail to start." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10407 +#, no-wrap +msgid "{Data Type} guix-publish-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10410 +msgid "Data type representing the configuration of the @code{guix publish} service." +msgstr "" + +#. type: item +#: doc/guix.texi:10412 +#, no-wrap +msgid "@code{guix} (default: @code{guix})" +msgstr "" + +#. type: item +#: doc/guix.texi:10415 +#, no-wrap +msgid "@code{port} (default: @code{80})" +msgstr "" + +#. type: table +#: doc/guix.texi:10417 +msgid "The TCP port to listen for connections." +msgstr "" + +#. type: item +#: doc/guix.texi:10418 +#, no-wrap +msgid "@code{host} (default: @code{\"localhost\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10421 +msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces." +msgstr "" + +#. type: table +#: doc/guix.texi:10426 +msgid "The gzip compression level at which substitutes are compressed. Use @code{0} to disable compression altogether, and @code{9} to get the best compression ratio at the expense of increased CPU usage." +msgstr "" + +#. type: item +#: doc/guix.texi:10427 +#, no-wrap +msgid "@code{nar-path} (default: @code{\"nar\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10430 +msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @code{--nar-path}}, for details." +msgstr "" + +#. type: item +#: doc/guix.texi:10431 +#, no-wrap +msgid "@code{cache} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10437 +msgid "When it is @code{#f}, disable caching and instead generate archives on demand. Otherwise, this should be the name of a directory---e.g., @code{\"/var/cache/guix/publish\"}---where @command{guix publish} caches archives and meta-data ready to be sent. @xref{Invoking guix publish, @option{--cache}}, for more information on the tradeoffs involved." +msgstr "" + +#. type: item +#: doc/guix.texi:10438 +#, no-wrap +msgid "@code{workers} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10442 +msgid "When it is an integer, this is the number of worker threads used for caching; when @code{#f}, the number of processors is used. @xref{Invoking guix publish, @option{--workers}}, for more information." +msgstr "" + +#. type: item +#: doc/guix.texi:10443 +#, no-wrap +msgid "@code{ttl} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10447 +msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds of the published archives. @xref{Invoking guix publish, @option{--ttl}}, for more information." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:10451 +msgid "rngd-service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10451 +#, no-wrap +msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10456 +msgid "[#:device \"/dev/hwrng\"] Return a service that runs the @command{rngd} program from @var{rng-tools} to add @var{device} to the kernel's entropy pool. The service will fail if @var{device} does not exist." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:10459 +msgid "pam-limits-service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10459 +#, no-wrap +msgid "session limits" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10460 +#, no-wrap +msgid "ulimit" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10461 +#, no-wrap +msgid "priority" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10462 +#, no-wrap +msgid "realtime" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10463 +#, no-wrap +msgid "jackd" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10464 +#, no-wrap +msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10471 +msgid "Return a service that installs a configuration file for the @uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, @code{pam_limits} module}. The procedure optionally takes a list of @code{pam-limits-entry} values, which can be used to specify @code{ulimit} limits and nice priority limits to user sessions." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10474 +msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:" +msgstr "" + +#. type: example +#: doc/guix.texi:10480 +#, no-wrap +msgid "" +"(pam-limits-service\n" +" (list\n" +" (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n" +" (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10486 +msgid "The first entry increases the maximum realtime priority for non-privileged processes; the second entry lifts any restriction of the maximum address space that can be locked in memory. These settings are commonly used for real-time audio systems." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10491 +#, no-wrap +msgid "cron" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10492 +#, no-wrap +msgid "mcron" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10493 +#, no-wrap +msgid "scheduling jobs" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:10500 +msgid "The @code{(gnu services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). GNU@tie{}mcron is similar to the traditional Unix @command{cron} daemon; the main difference is that it is implemented in Guile Scheme, which provides a lot of flexibility when specifying the scheduling of jobs and their actions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:10508 +msgid "The example below defines an operating system that runs the @command{updatedb} (@pxref{Invoking updatedb,,, find, Finding Files}) and the @command{guix gc} commands (@pxref{Invoking guix gc}) daily, as well as the @command{mkid} command on behalf of an unprivileged user (@pxref{mkid invocation,,, idutils, ID Database Utilities}). It uses gexps to introduce job definitions that are passed to mcron (@pxref{G-Expressions})." +msgstr "" + +#. type: lisp +#: doc/guix.texi:10512 +#, no-wrap +msgid "" +"(use-modules (guix) (gnu) (gnu services mcron))\n" +"(use-package-modules base idutils)\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10521 +#, no-wrap +msgid "" +"(define updatedb-job\n" +" ;; Run 'updatedb' at 3AM every day. Here we write the\n" +" ;; job's action as a Scheme procedure.\n" +" #~(job '(next-hour '(3))\n" +" (lambda ()\n" +" (execl (string-append #$findutils \"/bin/updatedb\")\n" +" \"updatedb\"\n" +" \"--prunepaths=/tmp /var/tmp /gnu/store\"))))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10527 +#, no-wrap +msgid "" +"(define garbage-collector-job\n" +" ;; Collect garbage 5 minutes after midnight every day.\n" +" ;; The job's action is a shell command.\n" +" #~(job \"5 0 * * *\" ;Vixie cron syntax\n" +" \"guix gc -F 1G\"))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10534 +#, no-wrap +msgid "" +"(define idutils-job\n" +" ;; Update the index database as user \"charlie\" at 12:15PM\n" +" ;; and 19:15PM. This runs from the user's home directory.\n" +" #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n" +" (string-append #$idutils \"/bin/mkid src\")\n" +" #:user \"charlie\"))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10541 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (services (cons (mcron-service (list garbage-collector-job\n" +" updatedb-job\n" +" idutils-job))\n" +" %base-services)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:10546 +msgid "@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, for more information on mcron job specifications. Below is the reference of the mcron service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10547 +#, no-wrap +msgid "{Scheme Procedure} mcron-service @var{jobs} [#:mcron @var{mcron}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10550 +msgid "Return an mcron service running @var{mcron} that schedules @var{jobs}, a list of gexps denoting mcron job specifications." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10552 +msgid "This is a shorthand for:" +msgstr "" + +#. type: example +#: doc/guix.texi:10555 +#, no-wrap +msgid "" +"(service mcron-service-type\n" +" (mcron-configuration (mcron mcron) (jobs jobs)))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10558 +#, no-wrap +msgid "{Scheme Variable} mcron-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10561 +msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10566 +msgid "This service type can be the target of a service extension that provides it additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10568 +#, no-wrap +msgid "{Data Type} mcron-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10570 +msgid "Data type representing the configuration of mcron." +msgstr "" + +#. type: item +#: doc/guix.texi:10572 +#, no-wrap +msgid "@code{mcron} (default: @var{mcron})" +msgstr "" + +#. type: table +#: doc/guix.texi:10574 +msgid "The mcron package to use." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:10575 doc/guix.texi:10634 +#, no-wrap +msgid "jobs" +msgstr "" + +#. type: table +#: doc/guix.texi:10579 +msgid "This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10586 +#, no-wrap +msgid "rottlog" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10587 +#, no-wrap +msgid "log rotation" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:10594 +msgid "Log files such as those found in @file{/var/log} tend to grow endlessly, so it's a good idea to @dfn{rotate} them once in a while---i.e., archive their contents in separate files, possibly compressed. The @code{(gnu services admin)} module provides an interface to GNU@tie{}Rot[t]log, a log rotation tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:10597 +msgid "The example below defines an operating system that provides log rotation with the default settings, for commonly encountered log files." +msgstr "" + +#. type: lisp +#: doc/guix.texi:10602 +#, no-wrap +msgid "" +"(use-modules (guix) (gnu))\n" +"(use-service-modules admin mcron)\n" +"(use-package-modules base idutils)\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10607 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (services (cons (service rottlog-service-type)\n" +" %base-services)))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10609 +#, no-wrap +msgid "{Scheme Variable} rottlog-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10612 +msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10615 +msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10618 +msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10620 +#, no-wrap +msgid "{Data Type} rottlog-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10622 +msgid "Data type representing the configuration of rottlog." +msgstr "" + +#. type: item +#: doc/guix.texi:10624 +#, no-wrap +msgid "@code{rottlog} (default: @code{rottlog})" +msgstr "" + +#. type: table +#: doc/guix.texi:10626 +msgid "The Rottlog package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10627 +#, no-wrap +msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10630 +msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:10631 +#, no-wrap +msgid "@code{rotations} (default: @code{%default-rotations})" +msgstr "" + +#. type: table +#: doc/guix.texi:10633 +msgid "A list of @code{log-rotation} objects as defined below." +msgstr "" + +#. type: table +#: doc/guix.texi:10637 +msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10640 +#, no-wrap +msgid "{Data Type} log-rotation" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10642 +msgid "Data type representing the rotation of a group of log files." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10646 +msgid "Taking an example from the Rottlog manual (@pxref{Period Related File Examples,,, rottlog, GNU Rot[t]log Manual}), a log rotation might be defined like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:10655 +#, no-wrap +msgid "" +"(log-rotation\n" +" (frequency 'daily)\n" +" (files '(\"/var/log/apache/*\"))\n" +" (options '(\"storedir apache-archives\"\n" +" \"rotate 6\"\n" +" \"notifempty\"\n" +" \"nocompress\")))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10658 +msgid "The list of fields is as follows:" +msgstr "" + +#. type: item +#: doc/guix.texi:10660 +#, no-wrap +msgid "@code{frequency} (default: @code{'weekly})" +msgstr "" + +#. type: table +#: doc/guix.texi:10662 +msgid "The log rotation frequency, a symbol." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:10663 +#, no-wrap +msgid "files" +msgstr "" + +#. type: table +#: doc/guix.texi:10665 +msgid "The list of files or file glob patterns to rotate." +msgstr "" + +#. type: item +#: doc/guix.texi:10666 +#, no-wrap +msgid "@code{options} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10669 +msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:10670 +#, no-wrap +msgid "@code{post-rotate} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10672 +msgid "Either @code{#f} or a gexp to execute once the rotation has completed." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10675 +#, no-wrap +msgid "{Scheme Variable} %default-rotations" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10678 +msgid "Specifies weekly rotation of @var{%rotated-files} and a couple of other files." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10680 +#, no-wrap +msgid "{Scheme Variable} %rotated-files" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10683 +msgid "The list of syslog-controlled files to be rotated. By default it is: @code{'(\"/var/log/messages\" \"/var/log/secure\")}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:10690 +msgid "The @code{(gnu services networking)} module provides services to configure the network interface." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10691 +#, no-wrap +msgid "DHCP, networking service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10692 +#, no-wrap +msgid "{Scheme Procedure} dhcp-client-service [#:dhcp @var{isc-dhcp}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10695 +msgid "Return a service that runs @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client, on all the non-loopback network interfaces." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10697 +#, no-wrap +msgid "{Scheme Procedure} dhcpd-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10701 +msgid "This type defines a service that runs a DHCP daemon. To create a service of this type, you must supply a @code{}. For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:10707 +#, no-wrap +msgid "" +"(service dhcpd-service-type\n" +" (dhcpd-configuration\n" +" (config-file (local-file \"my-dhcpd.conf\"))\n" +" (interfaces '(\"enp0s25\"))))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10710 +#, no-wrap +msgid "{Data Type} dhcpd-configuration" +msgstr "" + +#. type: item +#: doc/guix.texi:10712 +#, no-wrap +msgid "@code{package} (default: @code{isc-dhcp})" +msgstr "" + +#. type: table +#: doc/guix.texi:10717 +msgid "The package that provides the DHCP daemon. This package is expected to provide the daemon at @file{sbin/dhcpd} relative to its output directory. The default package is the @uref{http://www.isc.org/products/DHCP, ISC's DHCP server}." +msgstr "" + +#. type: item +#: doc/guix.texi:10717 doc/guix.texi:14345 +#, no-wrap +msgid "@code{config-file} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10722 +msgid "The configuration file to use. This is required. It will be passed to @code{dhcpd} via its @code{-cf} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man dhcpd.conf} for details on the configuration file syntax." +msgstr "" + +#. type: item +#: doc/guix.texi:10722 +#, no-wrap +msgid "@code{version} (default: @code{\"4\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10727 +msgid "The DHCP version to use. The ISC DHCP server supports the values ``4'', ``6'', and ``4o6''. These correspond to the @code{dhcpd} program options @code{-4}, @code{-6}, and @code{-4o6}. See @code{man dhcpd} for details." +msgstr "" + +#. type: item +#: doc/guix.texi:10727 +#, no-wrap +msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10730 +msgid "The run directory to use. At service activation time, this directory will be created if it does not exist." +msgstr "" + +#. type: item +#: doc/guix.texi:10730 +#, no-wrap +msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10733 +msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details." +msgstr "" + +#. type: item +#: doc/guix.texi:10733 +#, no-wrap +msgid "@code{interfaces} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10739 +msgid "The names of the network interfaces on which dhcpd should listen for broadcasts. If this list is not empty, then its elements (which must be strings) will be appended to the @code{dhcpd} invocation when starting the daemon. It may not be necessary to explicitly specify any interfaces here; see @code{man dhcpd} for details." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10742 +#, no-wrap +msgid "{Scheme Variable} static-networking-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10745 +msgid "This is the type for statically-configured network interfaces." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10747 +#, no-wrap +msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10755 +msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10760 +msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10762 +#, no-wrap +msgid "wicd" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10765 +#, no-wrap +msgid "network management" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10766 +#, no-wrap +msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10769 +msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10774 +msgid "This service adds the @var{wicd} package to the global profile, providing several commands to interact with the daemon and configure networking: @command{wicd-client}, a graphical user interface, and the @command{wicd-cli} and @command{wicd-curses} user interfaces." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10776 +#, no-wrap +msgid "NetworkManager" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10778 +#, no-wrap +msgid "{Scheme Variable} network-manager-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10783 +msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager} service. The value for this service type is a @code{network-manager-configuration} record." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10786 +msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10788 +#, no-wrap +msgid "{Data Type} network-manager-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10790 +msgid "Data type representing the configuration of NetworkManager." +msgstr "" + +#. type: item +#: doc/guix.texi:10792 +#, no-wrap +msgid "@code{network-manager} (default: @code{network-manager})" +msgstr "" + +#. type: table +#: doc/guix.texi:10794 +msgid "The NetworkManager package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10795 +#, no-wrap +msgid "@code{dns} (default: @code{\"default\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:10798 +msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file." +msgstr "" + +#. type: item +#: doc/guix.texi:10800 +#, no-wrap +msgid "default" +msgstr "" + +#. type: table +#: doc/guix.texi:10803 +msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections." +msgstr "" + +#. type: item +#: doc/guix.texi:10804 +#, no-wrap +msgid "dnsmasq" +msgstr "" + +#. type: table +#: doc/guix.texi:10808 +msgid "NetworkManager will run @code{dnsmasq} as a local caching nameserver, using a \"split DNS\" configuration if you are connected to a VPN, and then update @code{resolv.conf} to point to the local nameserver." +msgstr "" + +#. type: item +#: doc/guix.texi:10809 doc/guix.texi:11795 +#, no-wrap +msgid "none" +msgstr "" + +#. type: table +#: doc/guix.texi:10811 +msgid "NetworkManager will not modify @code{resolv.conf}." +msgstr "" + +#. type: item +#: doc/guix.texi:10813 +#, no-wrap +msgid "@code{vpn-plugins} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10817 +msgid "This is the list of available plugins for virtual private networks (VPNs). An example of this is the @code{network-manager-openvpn} package, which allows NetworkManager to manage VPNs @i{via} OpenVPN." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10821 +#, no-wrap +msgid "Connman" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10822 +#, no-wrap +msgid "{Scheme Variable} connman-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10825 +msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10828 +msgid "Its value must be an @code{connman-configuration} record as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:10833 +#, no-wrap +msgid "" +"(service connman-service-type\n" +" (connman-configuration\n" +" (disable-vpn? #t)))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10836 +msgid "See below for details about @code{connman-configuration}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10838 +#, no-wrap +msgid "{Data Type} connman-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10840 +msgid "Data Type representing the configuration of connman." +msgstr "" + +#. type: item +#: doc/guix.texi:10842 +#, no-wrap +msgid "@code{connman} (default: @var{connman})" +msgstr "" + +#. type: table +#: doc/guix.texi:10844 +msgid "The connman package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10845 +#, no-wrap +msgid "@code{disable-vpn?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10847 +msgid "When true, enable connman's vpn plugin." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10850 +#, no-wrap +msgid "WPA Supplicant" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10851 +#, no-wrap +msgid "{Scheme Variable} wpa-supplicant-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10856 +msgid "This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, an authentication daemon required to authenticate against encrypted WiFi or ethernet networks. It is configured to listen for requests on D-Bus." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10859 +msgid "The value of this service is the @code{wpa-supplicant} package to use. Thus, it can be instantiated like this:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10862 +#, no-wrap +msgid "" +"(use-modules (gnu services networking))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:10864 +#, no-wrap +msgid "(service wpa-supplicant-service-type)\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10867 +#, no-wrap +msgid "NTP" +msgstr "" + +#. type: cindex +#: doc/guix.texi:10868 +#, no-wrap +msgid "real time clock" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10869 +#, no-wrap +msgid "{Scheme Procedure} ntp-service [#:ntp @var{ntp}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10877 +msgid "[#:servers @var{%ntp-servers}] @ [#:allow-large-adjustment? #f] Return a service that runs the daemon from @var{ntp}, the @uref{http://www.ntp.org, Network Time Protocol package}. The daemon will keep the system clock synchronized with that of @var{servers}. @var{allow-large-adjustment?} determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds." +msgstr "" + +#. type: defvr +#: doc/guix.texi:10879 +#, no-wrap +msgid "{Scheme Variable} %ntp-servers" +msgstr "" + +#. type: defvr +#: doc/guix.texi:10881 +msgid "List of host names used as the default NTP servers." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10883 +#, no-wrap +msgid "OpenNTPD" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10884 +#, no-wrap +msgid "{Scheme Procedure} openntpd-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10888 +msgid "Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system clock synchronized with that of the given servers." +msgstr "" + +#. type: example +#: doc/guix.texi:10898 +#, no-wrap +msgid "" +"(service\n" +" openntpd-service-type\n" +" (openntpd-configuration\n" +" (listen-on '(\"127.0.0.1\" \"::1\"))\n" +" (sensor '(\"udcf0 correction 70000\"))\n" +" (constraint-from '(\"www.gnu.org\"))\n" +" (constraints-from '(\"https://www.google.com/\"))\n" +" (allow-large-adjustment? #t)))\n" +"\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10902 +#, no-wrap +msgid "{Data Type} openntpd-configuration" +msgstr "" + +#. type: item +#: doc/guix.texi:10904 +#, no-wrap +msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10906 +msgid "The openntpd executable to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10906 +#, no-wrap +msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10908 +msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on." +msgstr "" + +#. type: item +#: doc/guix.texi:10908 +#, no-wrap +msgid "@code{query-from} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10910 +msgid "A list of local IP address the ntpd daemon should use for outgoing queries." +msgstr "" + +#. type: item +#: doc/guix.texi:10910 +#, no-wrap +msgid "@code{sensor} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10915 +msgid "Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} will listen to each sensor that acutally exists and ignore non-existant ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} for more information." +msgstr "" + +#. type: item +#: doc/guix.texi:10915 +#, no-wrap +msgid "@code{server} (default: @var{%ntp-servers})" +msgstr "" + +#. type: table +#: doc/guix.texi:10917 +msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to." +msgstr "" + +#. type: item +#: doc/guix.texi:10917 +#, no-wrap +msgid "@code{servers} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10919 +msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to." +msgstr "" + +#. type: item +#: doc/guix.texi:10919 +#, no-wrap +msgid "@code{constraint-from} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10926 +msgid "@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint." +msgstr "" + +#. type: item +#: doc/guix.texi:10926 +#, no-wrap +msgid "@code{constraints-from} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10930 +msgid "As with constraint from, specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint. Should the hostname resolve to multiple IP addresses, @code{ntpd} will calculate a median constraint from all of them." +msgstr "" + +#. type: item +#: doc/guix.texi:10930 +#, no-wrap +msgid "@code{allow-large-adjustment?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:10933 +msgid "Determines if @code{ntpd} is allowed to make an initial adjustment of more than 180 seconds." +msgstr "" + +#. type: cindex +#: doc/guix.texi:10936 +#, no-wrap +msgid "inetd" +msgstr "inetd" + +#. type: deffn +#: doc/guix.texi:10937 +#, no-wrap +msgid "{Scheme variable} inetd-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10942 +msgid "This service runs the @command{inetd} (@pxref{inetd invocation,,, inetutils, GNU Inetutils}) daemon. @command{inetd} listens for connections on internet sockets, and lazily starts the specified server program when a connection is made on one of these sockets." +msgstr "" + +#. type: deffn +#: doc/guix.texi:10948 +msgid "The value of this service is an @code{inetd-configuration} object. The following example configures the @command{inetd} daemon to provide the built-in @command{echo} service, as well as an smtp service which forwards smtp traffic over ssh to a server @code{smtp-server} behind a gateway @code{hostname}:" +msgstr "" + +#. type: example +#: doc/guix.texi:10971 +#, no-wrap +msgid "" +"(service\n" +" inetd-service-type\n" +" (inetd-configuration\n" +" (entries (list\n" +" (inetd-entry\n" +" (name \"echo\")\n" +" (socket-type 'stream)\n" +" (protocol \"tcp\")\n" +" (wait? #f)\n" +" (user \"root\"))\n" +" (inetd-entry\n" +" (node \"127.0.0.1\")\n" +" (name \"smtp\")\n" +" (socket-type 'stream)\n" +" (protocol \"tcp\")\n" +" (wait? #f)\n" +" (user \"root\")\n" +" (program (file-append openssh \"/bin/ssh\"))\n" +" (arguments\n" +" '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n" +" \"-W\" \"smtp-server:25\" \"user@@hostname\")))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:10974 +msgid "See below for more details about @code{inetd-configuration}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10976 +#, no-wrap +msgid "{Data Type} inetd-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10978 +msgid "Data type representing the configuration of @command{inetd}." +msgstr "" + +#. type: item +#: doc/guix.texi:10980 +#, no-wrap +msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:10982 +msgid "The @command{inetd} executable to use." +msgstr "" + +#. type: item +#: doc/guix.texi:10983 doc/guix.texi:16240 +#, no-wrap +msgid "@code{entries} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:10986 +msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor." +msgstr "" + +#. type: deftp +#: doc/guix.texi:10989 +#, no-wrap +msgid "{Data Type} inetd-entry" +msgstr "" + +#. type: deftp +#: doc/guix.texi:10993 +msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests." +msgstr "" + +#. type: item +#: doc/guix.texi:10995 +#, no-wrap +msgid "@code{node} (default: @code{#f})" +msgstr "@code{node} (Vorgabe: @code{#f})" + +#. type: table +#: doc/guix.texi:11000 +msgid "Optional string, a comma-separated list of local addresses @command{inetd} should use when listening for this service. @xref{Configuration file,,, inetutils, GNU Inetutils} for a complete description of all options." +msgstr "" + +#. type: table +#: doc/guix.texi:11002 +msgid "A string, the name must correspond to an entry in @code{/etc/services}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:11002 +#, no-wrap +msgid "socket-type" +msgstr "socket-type" + +#. type: table +#: doc/guix.texi:11005 +msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:11005 +#, no-wrap +msgid "protocol" +msgstr "protocol" + +#. type: table +#: doc/guix.texi:11007 +msgid "A string, must correspond to an entry in @code{/etc/protocols}." +msgstr "" + +#. type: item +#: doc/guix.texi:11007 +#, no-wrap +msgid "@code{wait?} (default: @code{#t})" +msgstr "@code{wait?} (Vorgabe: @code{#t})" + +#. type: table +#: doc/guix.texi:11010 +msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests." +msgstr "" + +#. type: table +#: doc/guix.texi:11015 +msgid "A string containing the user (and, optionally, group) name of the user as whom the server should run. The group name can be specified in a suffix, separated by a colon or period, i.e. @code{\"user\"}, @code{\"user:group\"} or @code{\"user.group\"}." +msgstr "" + +#. type: item +#: doc/guix.texi:11015 +#, no-wrap +msgid "@code{program} (default: @code{\"internal\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11018 +msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service." +msgstr "" + +#. type: table +#: doc/guix.texi:11023 +msgid "A list strings or file-like objects, which are the server program's arguments, starting with the zeroth argument, i.e. the name of the program itself. For @command{inetd}'s internal services, this entry must be @code{'()} or @code{'(\"internal\")}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:11027 +msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11029 +#, no-wrap +msgid "Tor" +msgstr "Tor" + +#. type: deffn +#: doc/guix.texi:11030 +#, no-wrap +msgid "{Scheme Procedure} tor-service [@var{config-file}] [#:tor @var{tor}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11033 +msgid "Return a service to run the @uref{https://torproject.org, Tor} anonymous networking daemon." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11038 +msgid "The daemon runs as the @code{tor} unprivileged user. It is passed @var{config-file}, a file-like object, with an additional @code{User tor} line and lines for hidden services added via @code{tor-hidden-service}. Run @command{man tor} for information about the configuration file." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11040 +#, no-wrap +msgid "hidden service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11041 +#, no-wrap +msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11044 +msgid "Define a new Tor @dfn{hidden service} called @var{name} and implementing @var{mapping}. @var{mapping} is a list of port/host tuples, such as:" +msgstr "" + +#. type: example +#: doc/guix.texi:11048 +#, no-wrap +msgid "" +" '((22 \"127.0.0.1:22\")\n" +" (80 \"127.0.0.1:8080\"))\n" +msgstr "" +" '((22 \"127.0.0.1:22\")\n" +" (80 \"127.0.0.1:8080\"))\n" + +#. type: deffn +#: doc/guix.texi:11052 +msgid "In this example, port 22 of the hidden service is mapped to local port 22, and port 80 is mapped to local port 8080." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11056 +msgid "This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, where the @file{hostname} file contains the @code{.onion} host name for the hidden service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11059 +msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11062 +msgid "The @code{(gnu services rsync)} module provides the following services:" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11066 +msgid "You might want an rsync daemon if you have files that you want available so anyone (or just yourself) can download existing files or upload new files." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11067 +#, no-wrap +msgid "{Scheme Variable} rsync-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11070 +msgid "This is the type for the @uref{https://rsync.samba.org, rsync} rsync daemon, @command{rsync-configuration} record as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:11073 +#, no-wrap +msgid "(service rsync-service-type)\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11076 +msgid "See below for details about @code{rsync-configuration}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:11078 +#, no-wrap +msgid "{Data Type} rsync-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11080 +msgid "Data type representing the configuration for @code{rsync-service}." +msgstr "" + +#. type: item +#: doc/guix.texi:11082 +#, no-wrap +msgid "@code{package} (default: @var{rsync})" +msgstr "" + +#. type: table +#: doc/guix.texi:11084 +msgid "@code{rsync} package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:11085 +#, no-wrap +msgid "@code{port-number} (default: @code{873})" +msgstr "" + +#. type: table +#: doc/guix.texi:11089 +msgid "TCP port on which @command{rsync} listens for incoming connections. If port is less than @code{1024} @command{rsync} needs to be started as the @code{root} user and group." +msgstr "" + +#. type: item +#: doc/guix.texi:11090 +#, no-wrap +msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11092 +msgid "Name of the file where @command{rsync} writes its PID." +msgstr "" + +#. type: item +#: doc/guix.texi:11093 +#, no-wrap +msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11095 +msgid "Name of the file where @command{rsync} writes its lock file." +msgstr "" + +#. type: item +#: doc/guix.texi:11096 +#, no-wrap +msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11098 +msgid "Name of the file where @command{rsync} writes its log file." +msgstr "" + +#. type: item +#: doc/guix.texi:11099 +#, no-wrap +msgid "@code{use-chroot?} (default: @var{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:11101 +msgid "Whether to use chroot for @command{rsync} shared directory." +msgstr "" + +#. type: item +#: doc/guix.texi:11102 +#, no-wrap +msgid "@code{share-path} (default: @file{/srv/rsync})" +msgstr "" + +#. type: table +#: doc/guix.texi:11104 +msgid "Location of the @command{rsync} shared directory." +msgstr "" + +#. type: item +#: doc/guix.texi:11105 +#, no-wrap +msgid "@code{share-comment} (default: @code{\"Rsync share\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11107 +msgid "Comment of the @command{rsync} shared directory." +msgstr "" + +#. type: item +#: doc/guix.texi:11108 +#, no-wrap +msgid "@code{read-only?} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11110 +msgid "Read-write permissions to shared directory." +msgstr "" + +#. type: item +#: doc/guix.texi:11111 +#, no-wrap +msgid "@code{timeout} (default: @code{300})" +msgstr "" + +#. type: table +#: doc/guix.texi:11113 +msgid "I/O timeout in seconds." +msgstr "" + +#. type: item +#: doc/guix.texi:11114 +#, no-wrap +msgid "@code{user} (default: @var{\"root\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11116 +msgid "Owner of the @code{rsync} process." +msgstr "" + +#. type: item +#: doc/guix.texi:11117 +#, no-wrap +msgid "@code{group} (default: @var{\"root\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11119 +msgid "Group of the @code{rsync} process." +msgstr "" + +#. type: item +#: doc/guix.texi:11120 +#, no-wrap +msgid "@code{uid} (default: @var{\"rsyncd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11123 +msgid "User name or user ID that file transfers to and from that module should take place as when the daemon was run as @code{root}." +msgstr "" + +#. type: item +#: doc/guix.texi:11124 +#, no-wrap +msgid "@code{gid} (default: @var{\"rsyncd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11126 +msgid "Group name or group ID that will be used when accessing the module." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11131 +msgid "Furthermore, @code{(gnu services ssh)} provides the following services." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11131 doc/guix.texi:11170 doc/guix.texi:20791 +#, no-wrap +msgid "SSH" +msgstr "" + +#. type: cindex +#: doc/guix.texi:11132 doc/guix.texi:11171 doc/guix.texi:20792 +#, no-wrap +msgid "SSH server" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11134 +#, no-wrap +msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11143 +msgid "[#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @ [#:allow-empty-passwords? #f] [#:root-login? #f] @ [#:syslog-output? #t] [#:x11-forwarding? #t] @ [#:tcp/ip-forwarding? #t] [#:password-authentication? #t] @ [#:public-key-authentication? #t] [#:initialize? #t] Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}. @var{host-key} must designate a file containing the host key, and readable only by root." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11149 +msgid "When @var{daemonic?} is true, @command{lshd} will detach from the controlling terminal and log its output to syslogd, unless one sets @var{syslog-output?} to false. Obviously, it also makes lsh-service depend on existence of syslogd service. When @var{pid-file?} is true, @command{lshd} writes its PID to the file called @var{pid-file}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11153 +msgid "When @var{initialize?} is true, automatically create the seed and host key upon service activation if they do not exist yet. This may take long and require interaction." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11158 +msgid "When @var{initialize?} is false, it is up to the user to initialize the randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to create a key pair with the private key stored in file @var{host-key} (@pxref{lshd basics,,, lsh, LSH Manual})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11162 +msgid "When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host names or addresses." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11166 +msgid "@var{allow-empty-passwords?} specifies whether to accept log-ins with empty passwords, and @var{root-login?} specifies whether to accept log-ins as root." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11168 +msgid "The other options should be self-descriptive." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11172 +#, no-wrap +msgid "{Scheme Variable} openssh-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11176 +msgid "This is the type for the @uref{http://www.openssh.org, OpenSSH} secure shell daemon, @command{sshd}. Its value must be an @code{openssh-configuration} record as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:11185 +#, no-wrap +msgid "" +"(service openssh-service-type\n" +" (openssh-configuration\n" +" (x11-forwarding? #t)\n" +" (permit-root-login 'without-password)\n" +" (authorized-keys\n" +" `((\"alice\" ,(local-file \"alice.pub\"))\n" +" (\"bob\" ,(local-file \"bob.pub\"))))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11188 +msgid "See below for details about @code{openssh-configuration}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11191 +msgid "This service can be extended with extra authorized keys, as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:11196 +#, no-wrap +msgid "" +"(service-extension openssh-service-type\n" +" (const `((\"charlie\"\n" +" ,(local-file \"charlie.pub\")))))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11199 +#, no-wrap +msgid "{Data Type} openssh-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11201 +msgid "This is the configuration record for OpenSSH's @command{sshd}." +msgstr "" + +#. type: item +#: doc/guix.texi:11203 +#, no-wrap +msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11205 +msgid "Name of the file where @command{sshd} writes its PID." +msgstr "" + +#. type: item +#: doc/guix.texi:11206 +#, no-wrap +msgid "@code{port-number} (default: @code{22})" +msgstr "" + +#. type: table +#: doc/guix.texi:11208 +msgid "TCP port on which @command{sshd} listens for incoming connections." +msgstr "" + +#. type: item +#: doc/guix.texi:11209 +#, no-wrap +msgid "@code{permit-root-login} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11214 +msgid "This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If it's the symbol @code{'without-password}, then root logins are permitted but not with password-based authentication." +msgstr "" + +#. type: item +#: doc/guix.texi:11215 doc/guix.texi:11348 +#, no-wrap +msgid "@code{allow-empty-passwords?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11218 +msgid "When true, users with empty passwords may log in. When false, they may not." +msgstr "" + +#. type: item +#: doc/guix.texi:11219 doc/guix.texi:11351 +#, no-wrap +msgid "@code{password-authentication?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:11222 +msgid "When true, users may log in with their password. When false, they have other authentication methods." +msgstr "" + +#. type: item +#: doc/guix.texi:11223 +#, no-wrap +msgid "@code{public-key-authentication?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:11226 +msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method." +msgstr "" + +#. type: table +#: doc/guix.texi:11229 +msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2." +msgstr "" + +#. type: item +#: doc/guix.texi:11230 +#, no-wrap +msgid "@code{x11-forwarding?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11234 +msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work." +msgstr "" + +#. type: item +#: doc/guix.texi:11235 +#, no-wrap +msgid "@code{challenge-response-authentication?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11238 +msgid "Specifies whether challenge response authentication is allowed (e.g. via PAM)." +msgstr "" + +#. type: item +#: doc/guix.texi:11239 +#, no-wrap +msgid "@code{use-pam?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:11245 +msgid "Enables the Pluggable Authentication Module interface. If set to @code{#t}, this will enable PAM authentication using @code{challenge-response-authentication?} and @code{password-authentication?}, in addition to PAM account and session module processing for all authentication types." +msgstr "" + +#. type: table +#: doc/guix.texi:11250 +msgid "Because PAM challenge response authentication usually serves an equivalent role to password authentication, you should disable either @code{challenge-response-authentication?} or @code{password-authentication?}." +msgstr "" + +#. type: item +#: doc/guix.texi:11251 +#, no-wrap +msgid "@code{print-last-log?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:11254 +msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively." +msgstr "" + +#. type: item +#: doc/guix.texi:11255 +#, no-wrap +msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})" +msgstr "" + +#. type: table +#: doc/guix.texi:11257 +msgid "Configures external subsystems (e.g. file transfer daemon)." +msgstr "" + +#. type: table +#: doc/guix.texi:11261 +msgid "This is a list of two-element lists, each of which containing the subsystem name and a command (with optional arguments) to execute upon subsystem request." +msgstr "" + +#. type: table +#: doc/guix.texi:11264 +msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternately, one can specify the @command{sftp-server} command:" +msgstr "" + +#. type: example +#: doc/guix.texi:11269 +#, no-wrap +msgid "" +"(service openssh-service-type\n" +" (openssh-configuration\n" +" (subsystems\n" +" `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n" +msgstr "" + +#. type: item +#: doc/guix.texi:11271 +#, no-wrap +msgid "@code{accepted-environment} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:11273 +msgid "List of strings describing which environment variables may be exported." +msgstr "" + +#. type: table +#: doc/guix.texi:11276 +msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}." +msgstr "" + +#. type: table +#: doc/guix.texi:11281 +msgid "This example allows ssh-clients to export the @code{COLORTERM} variable. It is set by terminal emulators, which support colors. You can use it in your shell's ressource file to enable colors for the prompt and commands if this variable is set." +msgstr "" + +#. type: example +#: doc/guix.texi:11286 +#, no-wrap +msgid "" +"(service openssh-service-type\n" +" (openssh-configuration\n" +" (accepted-environment '(\"COLORTERM\"))))\n" +msgstr "" + +#. type: item +#: doc/guix.texi:11288 +#, no-wrap +msgid "@code{authorized-keys} (default: @code{'()})" +msgstr "" + +#. type: cindex +#: doc/guix.texi:11289 +#, no-wrap +msgid "authorized keys, SSH" +msgstr "" + +#. type: cindex +#: doc/guix.texi:11290 +#, no-wrap +msgid "SSH authorized keys" +msgstr "" + +#. type: table +#: doc/guix.texi:11294 +msgid "This is the list of authorized keys. Each element of the list is a user name followed by one or more file-like objects that represent SSH public keys. For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:11301 +#, no-wrap +msgid "" +"(openssh-configuration\n" +" (authorized-keys\n" +" `((\"rekado\" ,(local-file \"rekado.pub\"))\n" +" (\"chris\" ,(local-file \"chris.pub\"))\n" +" (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n" +msgstr "" + +#. type: table +#: doc/guix.texi:11306 +msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}." +msgstr "" + +#. type: table +#: doc/guix.texi:11309 +msgid "Additional authorized keys can be specified @i{via} @code{service-extension}." +msgstr "" + +#. type: table +#: doc/guix.texi:11312 +msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11315 +#, no-wrap +msgid "{Scheme Procedure} dropbear-service [@var{config}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11319 +msgid "Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH daemon} with the given @var{config}, a @code{} object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11322 +msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:" +msgstr "" + +#. type: example +#: doc/guix.texi:11326 +#, no-wrap +msgid "" +"(dropbear-service (dropbear-configuration\n" +" (port-number 1234)))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11329 +#, no-wrap +msgid "{Data Type} dropbear-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11331 +msgid "This data type represents the configuration of a Dropbear SSH daemon." +msgstr "" + +#. type: item +#: doc/guix.texi:11333 +#, no-wrap +msgid "@code{dropbear} (default: @var{dropbear})" +msgstr "" + +#. type: table +#: doc/guix.texi:11335 +msgid "The Dropbear package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:11336 +#, no-wrap +msgid "@code{port-number} (default: 22)" +msgstr "" + +#. type: table +#: doc/guix.texi:11338 +msgid "The TCP port where the daemon waits for incoming connections." +msgstr "" + +#. type: item +#: doc/guix.texi:11339 +#, no-wrap +msgid "@code{syslog-output?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:11341 +msgid "Whether to enable syslog output." +msgstr "" + +#. type: item +#: doc/guix.texi:11342 +#, no-wrap +msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11344 +msgid "File name of the daemon's PID file." +msgstr "" + +#. type: item +#: doc/guix.texi:11345 +#, no-wrap +msgid "@code{root-login?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11347 +msgid "Whether to allow @code{root} logins." +msgstr "" + +#. type: table +#: doc/guix.texi:11350 +msgid "Whether to allow empty passwords." +msgstr "" + +#. type: table +#: doc/guix.texi:11353 +msgid "Whether to enable password-based authentication." +msgstr "" + +#. type: defvr +#: doc/guix.texi:11356 +#, no-wrap +msgid "{Scheme Variable} %facebook-host-aliases" +msgstr "" + +#. type: defvr +#: doc/guix.texi:11362 +msgid "This variable contains a string for use in @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). Each line contains a entry that maps a known server name of the Facebook on-line service---e.g., @code{www.facebook.com}---to the local host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:11366 +msgid "This variable is typically used in the @code{hosts-file} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @file{/etc/hosts}}):" +msgstr "" + +#. type: example +#: doc/guix.texi:11369 +#, no-wrap +msgid "" +"(use-modules (gnu) (guix))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:11379 +#, no-wrap +msgid "" +"(operating-system\n" +" (host-name \"mymachine\")\n" +" ;; ...\n" +" (hosts-file\n" +" ;; Create a /etc/hosts file with aliases for \"localhost\"\n" +" ;; and \"mymachine\", as well as for Facebook servers.\n" +" (plain-file \"hosts\"\n" +" (string-append (local-host-aliases host-name)\n" +" %facebook-host-aliases))))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:11383 +msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11386 +msgid "The @code{(gnu services avahi)} provides the following definition." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11387 +#, no-wrap +msgid "{Scheme Procedure} avahi-service [#:avahi @var{avahi}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11399 +msgid "[#:host-name #f] [#:publish? #t] [#:ipv4? #t] @ [#:ipv6? #t] [#:wide-area? #f] @ [#:domains-to-browse '()] [#:debug? #f] Return a service that runs @command{avahi-daemon}, a system-wide mDNS/DNS-SD responder that allows for service discovery and \"zero-configuration\" host name lookups (see @uref{http://avahi.org/}), and extends the name service cache daemon (nscd) so that it can resolve @code{.local} host names using @uref{http://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11402 +msgid "If @var{host-name} is different from @code{#f}, use that as the host name to publish for this machine; otherwise, use the machine's actual host name." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11406 +msgid "When @var{publish?} is true, publishing of host names and services is allowed; in particular, avahi-daemon will publish the machine's host name and IP address via mDNS on the local network." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11408 +msgid "When @var{wide-area?} is true, DNS-SD over unicast DNS is enabled." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11411 +msgid "Boolean values @var{ipv4?} and @var{ipv6?} determine whether to use IPv4/IPv6 sockets." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11413 +#, no-wrap +msgid "{Scheme Variable} openvswitch-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11417 +msgid "This is the type of the @uref{http://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object." +msgstr "" + +#. type: deftp +#: doc/guix.texi:11419 +#, no-wrap +msgid "{Data Type} openvswitch-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11423 +msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension." +msgstr "" + +#. type: item +#: doc/guix.texi:11425 +#, no-wrap +msgid "@code{package} (default: @var{openvswitch})" +msgstr "" + +#. type: table +#: doc/guix.texi:11427 +msgid "Package object of the Open vSwitch." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11434 +#, no-wrap +msgid "X11" +msgstr "" + +#. type: cindex +#: doc/guix.texi:11435 +#, no-wrap +msgid "X Window System" +msgstr "" + +#. type: cindex +#: doc/guix.texi:11436 doc/guix.texi:11613 +#, no-wrap +msgid "login manager" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11441 +msgid "Support for the X Window graphical display system---specifically Xorg---is provided by the @code{(gnu services xorg)} module. Note that there is no @code{xorg-service} procedure. Instead, the X server is started by the @dfn{login manager}, by default SLiM." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11442 +#, no-wrap +msgid "window manager" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11447 +msgid "To use X11, you must install at least one @dfn{window manager}---for example the @code{windowmaker} or @code{openbox} packages---preferably by adding it to the @code{packages} field of your operating system definition (@pxref{operating-system Reference, system-wide packages})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:11448 +#, no-wrap +msgid "{Scheme Variable} slim-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:11450 +msgid "This is the type for the SLiM graphical login manager for X11." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11451 +#, no-wrap +msgid "session types (X11)" +msgstr "" + +#. type: cindex +#: doc/guix.texi:11452 +#, no-wrap +msgid "X11 session types" +msgstr "" + +#. type: defvr +#: doc/guix.texi:11459 +msgid "SLiM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen using @kbd{F1}. Packages such as @code{xfce}, @code{sawfish}, and @code{ratpoison} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen." +msgstr "" + +#. type: defvr +#: doc/guix.texi:11463 +msgid "In addition, @file{~/.xsession} files are honored. When available, @file{~/.xsession} must be an executable that starts a window manager and/or other X clients." +msgstr "" + +#. type: deftp +#: doc/guix.texi:11465 +#, no-wrap +msgid "{Data Type} slim-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11467 +msgid "Data type representing the configuration of @code{slim-service-type}." +msgstr "" + +#. type: table +#: doc/guix.texi:11471 +msgid "Whether to allow logins with empty passwords." +msgstr "" + +#. type: item +#: doc/guix.texi:11472 +#, no-wrap +msgid "@code{auto-login?} (default: @code{#f})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:11473 +#, no-wrap +msgid "@code{default-user} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:11475 +msgid "When @code{auto-login?} is false, SLiM presents a log-in screen." +msgstr "" + +#. type: table +#: doc/guix.texi:11478 +msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}." +msgstr "" + +#. type: item +#: doc/guix.texi:11479 +#, no-wrap +msgid "@code{theme} (default: @code{%default-slim-theme})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:11480 +#, no-wrap +msgid "@code{theme-name} (default: @code{%default-slim-theme-name})" +msgstr "" + +#. type: table +#: doc/guix.texi:11482 +msgid "The graphical theme to use and its name." +msgstr "" + +#. type: item +#: doc/guix.texi:11483 +#, no-wrap +msgid "@code{auto-login-session} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:11486 +msgid "If true, this must be the name of the executable to start as the default session---e.g., @code{(file-append windowmaker \"/bin/windowmaker\")}." +msgstr "" + +#. type: table +#: doc/guix.texi:11490 +msgid "If false, a session described by one of the available @file{.desktop} files in @code{/run/current-system/profile} and @code{~/.guix-profile} will be used." +msgstr "" + +#. type: quotation +#: doc/guix.texi:11495 +msgid "You must install at least one window manager in the system profile or in your user profile. Failing to do that, if @code{auto-login-session} is false, you will be unable to log in." +msgstr "" + +#. type: item +#: doc/guix.texi:11497 +#, no-wrap +msgid "@code{startx} (default: @code{(xorg-start-command)})" +msgstr "" + +#. type: table +#: doc/guix.texi:11499 +msgid "The command used to start the X11 graphical server." +msgstr "" + +#. type: item +#: doc/guix.texi:11500 +#, no-wrap +msgid "@code{xauth} (default: @code{xauth})" +msgstr "" + +#. type: table +#: doc/guix.texi:11502 +msgid "The XAuth package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:11503 +#, no-wrap +msgid "@code{shepherd} (default: @code{shepherd})" +msgstr "" + +#. type: table +#: doc/guix.texi:11506 +msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}." +msgstr "" + +#. type: item +#: doc/guix.texi:11507 +#, no-wrap +msgid "@code{sessreg} (default: @code{sessreg})" +msgstr "" + +#. type: table +#: doc/guix.texi:11509 +msgid "The sessreg package used in order to register the session." +msgstr "" + +#. type: item +#: doc/guix.texi:11510 +#, no-wrap +msgid "@code{slim} (default: @code{slim})" +msgstr "" + +#. type: table +#: doc/guix.texi:11512 +msgid "The SLiM package to use." +msgstr "" + +#. type: defvr +#: doc/guix.texi:11515 doc/guix.texi:20288 +#, no-wrap +msgid "{Scheme Variable} %default-theme" +msgstr "" + +#. type: defvrx +#: doc/guix.texi:11516 +#, no-wrap +msgid "{Scheme Variable} %default-theme-name" +msgstr "" + +#. type: defvr +#: doc/guix.texi:11518 +msgid "The default SLiM theme and its name." +msgstr "" + +#. type: deftp +#: doc/guix.texi:11521 +#, no-wrap +msgid "{Data Type} sddm-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:11523 +msgid "This is the data type representing the sddm service configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:11525 +#, no-wrap +msgid "@code{display-server} (default: \"x11\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11528 +msgid "Select display server to use for the greeter. Valid values are \"x11\" or \"wayland\"." +msgstr "" + +#. type: item +#: doc/guix.texi:11529 +#, no-wrap +msgid "@code{numlock} (default: \"on\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11531 +msgid "Valid values are \"on\", \"off\" or \"none\"." +msgstr "" + +#. type: item +#: doc/guix.texi:11532 +#, no-wrap +msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11534 +msgid "Command to run when halting." +msgstr "" + +#. type: item +#: doc/guix.texi:11535 +#, no-wrap +msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11537 +msgid "Command to run when rebooting." +msgstr "" + +#. type: item +#: doc/guix.texi:11538 +#, no-wrap +msgid "@code{theme} (default \"maldives\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11540 +msgid "Theme to use. Default themes provided by SDDM are \"elarun\" or \"maldives\"." +msgstr "" + +#. type: item +#: doc/guix.texi:11541 +#, no-wrap +msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11543 +msgid "Directory to look for themes." +msgstr "" + +#. type: item +#: doc/guix.texi:11544 +#, no-wrap +msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11546 +msgid "Directory to look for faces." +msgstr "" + +#. type: item +#: doc/guix.texi:11547 +#, no-wrap +msgid "@code{default-path} (default \"/run/current-system/profile/bin\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11549 +msgid "Default PATH to use." +msgstr "" + +#. type: item +#: doc/guix.texi:11550 +#, no-wrap +msgid "@code{minimum-uid} (default 1000)" +msgstr "" + +#. type: table +#: doc/guix.texi:11552 +msgid "Minimum UID to display in SDDM." +msgstr "" + +#. type: item +#: doc/guix.texi:11553 +#, no-wrap +msgid "@code{maximum-uid} (default 2000)" +msgstr "" + +#. type: table +#: doc/guix.texi:11555 +msgid "Maximum UID to display in SDDM" +msgstr "" + +#. type: item +#: doc/guix.texi:11556 +#, no-wrap +msgid "@code{remember-last-user?} (default #t)" +msgstr "" + +#. type: table +#: doc/guix.texi:11558 +msgid "Remember last user." +msgstr "" + +#. type: item +#: doc/guix.texi:11559 +#, no-wrap +msgid "@code{remember-last-session?} (default #t)" +msgstr "" + +#. type: table +#: doc/guix.texi:11561 +msgid "Remember last session." +msgstr "" + +#. type: item +#: doc/guix.texi:11562 +#, no-wrap +msgid "@code{hide-users} (default \"\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11564 +msgid "Usernames to hide from SDDM greeter." +msgstr "" + +#. type: item +#: doc/guix.texi:11565 +#, no-wrap +msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11567 +msgid "Users with shells listed will be hidden from the SDDM greeter." +msgstr "" + +#. type: item +#: doc/guix.texi:11568 +#, no-wrap +msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11570 +msgid "Script to run before starting a wayland session." +msgstr "" + +#. type: item +#: doc/guix.texi:11571 +#, no-wrap +msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11573 +msgid "Directory to look for desktop files starting wayland sessions." +msgstr "" + +#. type: item +#: doc/guix.texi:11574 +#, no-wrap +msgid "@code{xorg-server-path} (default @code{xorg-start-command})" +msgstr "" + +#. type: table +#: doc/guix.texi:11576 +msgid "Path to xorg-server." +msgstr "" + +#. type: item +#: doc/guix.texi:11577 +#, no-wrap +msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11579 +msgid "Path to xauth." +msgstr "" + +#. type: item +#: doc/guix.texi:11580 +#, no-wrap +msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11582 +msgid "Path to Xephyr." +msgstr "" + +#. type: item +#: doc/guix.texi:11583 +#, no-wrap +msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11585 +msgid "Script to run after starting xorg-server." +msgstr "" + +#. type: item +#: doc/guix.texi:11586 +#, no-wrap +msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:11588 +msgid "Script to run before stopping xorg-server." +msgstr "" + +#. type: item +#: doc/guix.texi:11589 +#, fuzzy, no-wrap +#| msgid "@code{node} (default: @code{#f})" +msgid "@code{xsession-command} (default: @code{xinitr })" +msgstr "@code{node} (Vorgabe: @code{#f})" + +#. type: table +#: doc/guix.texi:11591 +msgid "Script to run before starting a X session." +msgstr "" + +#. type: item +#: doc/guix.texi:11592 +#, no-wrap +msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11594 +msgid "Directory to look for desktop files starting X sessions." +msgstr "" + +#. type: item +#: doc/guix.texi:11595 +#, no-wrap +msgid "@code{minimum-vt} (default: 7)" +msgstr "" + +#. type: table +#: doc/guix.texi:11597 +msgid "Minimum VT to use." +msgstr "" + +#. type: item +#: doc/guix.texi:11598 +#, no-wrap +msgid "@code{xserver-arguments} (default \"-nolisten tcp\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11600 +msgid "Arguments to pass to xorg-server." +msgstr "" + +#. type: item +#: doc/guix.texi:11601 +#, no-wrap +msgid "@code{auto-login-user} (default \"\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11603 +msgid "User to use for auto-login." +msgstr "" + +#. type: item +#: doc/guix.texi:11604 +#, no-wrap +msgid "@code{auto-login-session} (default \"\")" +msgstr "" + +#. type: table +#: doc/guix.texi:11606 +msgid "Desktop file to use for auto-login." +msgstr "" + +#. type: item +#: doc/guix.texi:11607 +#, no-wrap +msgid "@code{relogin?} (default #f)" +msgstr "" + +#. type: table +#: doc/guix.texi:11609 +msgid "Relogin after logout." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11614 +#, no-wrap +msgid "X11 login" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11615 +#, no-wrap +msgid "{Scheme Procedure} sddm-service config" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11618 +msgid "Return a service that spawns the SDDM graphical login manager for config of type @code{}." +msgstr "" + +#. type: example +#: doc/guix.texi:11623 +#, no-wrap +msgid "" +" (sddm-service (sddm-configuration\n" +" (auto-login-user \"Alice\")\n" +" (auto-login-session \"xfce.desktop\")))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11626 +#, no-wrap +msgid "{Scheme Procedure} xorg-start-command [#:guile] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11635 +msgid "[#:modules %default-xorg-modules] @ [#:fonts %default-xorg-fonts] @ [#:configuration-file (xorg-configuration-file @dots{})] @ [#:xorg-server @var{xorg-server}] Return a @code{startx} script in which @var{modules}, a list of X module packages, and @var{fonts}, a list of X font directories, are available. See @code{xorg-wrapper} for more details on the arguments. The result should be used in place of @code{startx}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11637 +msgid "Usually the X server is started by a login manager." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11639 +#, no-wrap +msgid "{Scheme Procedure} xorg-configuration-file @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11645 +msgid "[#:modules %default-xorg-modules] @ [#:fonts %default-xorg-fonts] @ [#:drivers '()] [#:resolutions '()] [#:extra-config '()] Return a configuration file for the Xorg server containing search paths for all the common drivers." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11650 +msgid "@var{modules} must be a list of @dfn{module packages} loaded by the Xorg server---e.g., @code{xf86-video-vesa}, @code{xf86-input-keyboard}, and so on. @var{fonts} must be a list of font directories to add to the server's @dfn{font path}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11654 +msgid "@var{drivers} must be either the empty list, in which case Xorg chooses a graphics driver automatically, or a list of driver names that will be tried in this order---e.g., @code{(\"modesetting\" \"vesa\")}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11658 +msgid "Likewise, when @var{resolutions} is the empty list, Xorg chooses an appropriate screen resolution; otherwise, it must be a list of resolutions---e.g., @code{((1024 768) (640 480))}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11662 +msgid "Last, @var{extra-config} is a list of strings or objects appended to the configuration file. It is used to pass extra text to be added verbatim to the configuration file." +msgstr "" + +#. type: deffn +#: doc/guix.texi:11664 +#, no-wrap +msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11668 +msgid "Add @var{package}, a package for a screen locker or screen saver whose command is @var{program}, to the set of setuid programs and add a PAM entry for it. For example:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:11671 +#, no-wrap +msgid "(screen-locker-service xlockmore \"xlock\")\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11674 +msgid "makes the good ol' XlockMore usable." +msgstr "" + +#. type: cindex +#: doc/guix.texi:11680 +#, no-wrap +msgid "printer support with CUPS" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11684 +msgid "The @code{(gnu services cups)} module provides a Guix service definition for the CUPS printing service. To add printer support to a GuixSD system, add a @code{cups-service} to the operating system definition:" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11685 +#, no-wrap +msgid "{Scheme Variable} cups-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:11689 +msgid "The service type for the CUPS print server. Its value should be a valid CUPS configuration (see below). To use the default settings, simply write:" +msgstr "" + +#. type: example +#: doc/guix.texi:11691 +#, no-wrap +msgid "(service cups-service-type)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11701 +msgid "The CUPS configuration controls the basic things about your CUPS installation: what interfaces it listens on, what to do if a print job fails, how much logging to do, and so on. To actually add a printer, you have to visit the @url{http://localhost:631} URL, or use a tool such as GNOME's printer configuration services. By default, configuring a CUPS service will generate a self-signed certificate if needed, for secure connections to the print server." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11706 +msgid "Suppose you want to enable the Web interface of CUPS and also add support for Epson printers @i{via} the @code{escpr} package and for HP printers @i{via} the @code{hplip} package. You can do that directly, like this (you need to use the @code{(gnu packages cups)} module):" +msgstr "" + +#. type: example +#: doc/guix.texi:11713 +#, no-wrap +msgid "" +"(service cups-service-type\n" +" (cups-configuration\n" +" (web-interface? #t)\n" +" (extensions\n" +" (list cups-filters escpr hplip))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11721 +msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{cupsd.conf} file that you want to port over from some other system; see the end for more details." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:11732 +msgid "Available @code{cups-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11733 +#, no-wrap +msgid "{@code{cups-configuration} parameter} package cups" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11735 doc/guix.texi:12492 +msgid "The CUPS package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11737 +#, no-wrap +msgid "{@code{cups-configuration} parameter} package-list extensions" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11739 +msgid "Drivers and other extensions to the CUPS package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11741 +#, no-wrap +msgid "{@code{cups-configuration} parameter} files-configuration files-configuration" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11744 +msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11746 +msgid "Available @code{files-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11747 +#, no-wrap +msgid "{@code{files-configuration} parameter} log-location access-log" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11755 +msgid "Defines the access log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-access_log}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11757 +msgid "Defaults to @samp{\"/var/log/cups/access_log\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11759 +#, no-wrap +msgid "{@code{files-configuration} parameter} file-name cache-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11761 +msgid "Where CUPS should cache data." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11763 +msgid "Defaults to @samp{\"/var/cache/cups\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11765 +#, no-wrap +msgid "{@code{files-configuration} parameter} string config-file-perm" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11768 +msgid "Specifies the permissions for all configuration files that the scheduler writes." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11774 +msgid "Note that the permissions for the printers.conf file are currently masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11776 +msgid "Defaults to @samp{\"0640\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11778 +#, no-wrap +msgid "{@code{files-configuration} parameter} log-location error-log" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11786 +msgid "Defines the error log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-error_log}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11788 +msgid "Defaults to @samp{\"/var/log/cups/error_log\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11790 +#, no-wrap +msgid "{@code{files-configuration} parameter} string fatal-errors" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11793 +msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:" +msgstr "" + +#. type: table +#: doc/guix.texi:11797 +msgid "No errors are fatal." +msgstr "" + +#. type: table +#: doc/guix.texi:11800 +msgid "All of the errors below are fatal." +msgstr "" + +#. type: item +#: doc/guix.texi:11801 +#, no-wrap +msgid "browse" +msgstr "" + +#. type: table +#: doc/guix.texi:11804 +msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon." +msgstr "" + +#. type: item +#: doc/guix.texi:11805 +#, no-wrap +msgid "config" +msgstr "" + +#. type: table +#: doc/guix.texi:11807 +msgid "Configuration file syntax errors are fatal." +msgstr "" + +#. type: item +#: doc/guix.texi:11808 +#, no-wrap +msgid "listen" +msgstr "" + +#. type: table +#: doc/guix.texi:11811 +msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses." +msgstr "" + +#. type: item +#: doc/guix.texi:11812 +#, no-wrap +msgid "log" +msgstr "" + +#. type: table +#: doc/guix.texi:11814 +msgid "Log file creation or write errors are fatal." +msgstr "" + +#. type: item +#: doc/guix.texi:11815 +#, no-wrap +msgid "permissions" +msgstr "" + +#. type: table +#: doc/guix.texi:11818 +msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11821 +msgid "Defaults to @samp{\"all -browse\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11823 +#, no-wrap +msgid "{@code{files-configuration} parameter} boolean file-device?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11826 +msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11828 doc/guix.texi:11898 doc/guix.texi:11934 +#: doc/guix.texi:11946 doc/guix.texi:11952 doc/guix.texi:11968 +#: doc/guix.texi:12056 doc/guix.texi:12150 doc/guix.texi:12466 +#: doc/guix.texi:12479 doc/guix.texi:16606 doc/guix.texi:16620 +#: doc/guix.texi:16742 doc/guix.texi:16763 doc/guix.texi:16784 +#: doc/guix.texi:16791 doc/guix.texi:16836 doc/guix.texi:16843 +#: doc/guix.texi:17246 doc/guix.texi:17260 doc/guix.texi:17432 +#: doc/guix.texi:17477 doc/guix.texi:17564 doc/guix.texi:17693 +#: doc/guix.texi:17726 doc/guix.texi:17866 doc/guix.texi:17877 +#: doc/guix.texi:18127 doc/guix.texi:18769 doc/guix.texi:18778 +#: doc/guix.texi:18786 doc/guix.texi:18794 doc/guix.texi:18810 +#: doc/guix.texi:18826 doc/guix.texi:18834 doc/guix.texi:18842 +#: doc/guix.texi:18851 doc/guix.texi:18860 doc/guix.texi:18876 +#: doc/guix.texi:18940 doc/guix.texi:19046 doc/guix.texi:19054 +#: doc/guix.texi:19062 doc/guix.texi:19087 doc/guix.texi:19141 +#: doc/guix.texi:19189 doc/guix.texi:19342 doc/guix.texi:19350 +#: doc/guix.texi:19358 doc/guix.texi:19366 doc/guix.texi:19374 +#: doc/guix.texi:19382 doc/guix.texi:19390 doc/guix.texi:19397 +msgid "Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11830 +#, no-wrap +msgid "{@code{files-configuration} parameter} string group" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11833 +msgid "Specifies the group name or ID that will be used when executing external programs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11835 doc/guix.texi:11915 +msgid "Defaults to @samp{\"lp\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11837 +#, no-wrap +msgid "{@code{files-configuration} parameter} string log-file-perm" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11839 +msgid "Specifies the permissions for all log files that the scheduler writes." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11841 +msgid "Defaults to @samp{\"0644\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11843 +#, no-wrap +msgid "{@code{files-configuration} parameter} log-location page-log" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11851 +msgid "Defines the page log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-page_log}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11853 +msgid "Defaults to @samp{\"/var/log/cups/page_log\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11855 +#, no-wrap +msgid "{@code{files-configuration} parameter} string remote-root" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11858 +msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11860 +msgid "Defaults to @samp{\"remroot\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11862 +#, no-wrap +msgid "{@code{files-configuration} parameter} file-name request-root" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11865 +msgid "Specifies the directory that contains print jobs and other HTTP request data." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11867 +msgid "Defaults to @samp{\"/var/spool/cups\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11869 +#, no-wrap +msgid "{@code{files-configuration} parameter} sandboxing sandboxing" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11874 +msgid "Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler; either @code{relaxed} or @code{strict}. This directive is currently only used/supported on macOS." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11876 +msgid "Defaults to @samp{strict}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11878 +#, no-wrap +msgid "{@code{files-configuration} parameter} file-name server-keychain" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11883 +msgid "Specifies the location of TLS certificates and private keys. CUPS will look for public and private keys in this directory: a @code{.crt} files for PEM-encoded certificates and corresponding @code{.key} files for PEM-encoded private keys." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11885 +msgid "Defaults to @samp{\"/etc/cups/ssl\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11887 +#, no-wrap +msgid "{@code{files-configuration} parameter} file-name server-root" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11889 +msgid "Specifies the directory containing the server configuration files." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11891 +msgid "Defaults to @samp{\"/etc/cups\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11893 +#, no-wrap +msgid "{@code{files-configuration} parameter} boolean sync-on-close?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11896 +msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11900 +#, no-wrap +msgid "{@code{files-configuration} parameter} space-separated-string-list system-group" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11902 +msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11904 +#, no-wrap +msgid "{@code{files-configuration} parameter} file-name temp-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11906 +msgid "Specifies the directory where temporary files are stored." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11908 +msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11910 +#, no-wrap +msgid "{@code{files-configuration} parameter} string user" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11913 +msgid "Specifies the user name or ID that is used when running external programs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11918 +#, no-wrap +msgid "{@code{cups-configuration} parameter} access-log-level access-log-level" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11925 +msgid "Specifies the logging level for the AccessLog file. The @code{config} level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. The @code{actions} level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for @code{config}. The @code{all} level logs all requests." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11927 +msgid "Defaults to @samp{actions}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11929 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11932 +msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11936 +#, no-wrap +msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11938 +msgid "Specifies which protocols to use for local printer sharing." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11940 +msgid "Defaults to @samp{dnssd}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11942 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean browse-web-if?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11944 +msgid "Specifies whether the CUPS web interface is advertised." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11948 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean browsing?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11950 +msgid "Specifies whether shared printers are advertised." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11954 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string classification" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11959 +msgid "Specifies the security classification of the server. Any valid banner name can be used, including \"classified\", \"confidential\", \"secret\", \"topsecret\", and \"unclassified\", or the banner can be omitted to disable secure printing functions." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11961 doc/guix.texi:12298 doc/guix.texi:13657 +#: doc/guix.texi:13669 doc/guix.texi:17832 doc/guix.texi:17840 +#: doc/guix.texi:17848 doc/guix.texi:17856 doc/guix.texi:18134 +#: doc/guix.texi:18612 doc/guix.texi:18620 doc/guix.texi:18628 +#: doc/guix.texi:18736 doc/guix.texi:18761 doc/guix.texi:18892 +#: doc/guix.texi:18900 doc/guix.texi:18908 doc/guix.texi:18916 +#: doc/guix.texi:18924 doc/guix.texi:18932 doc/guix.texi:18955 +#: doc/guix.texi:18963 doc/guix.texi:19015 doc/guix.texi:19031 +#: doc/guix.texi:19039 doc/guix.texi:19078 doc/guix.texi:19101 +#: doc/guix.texi:19123 doc/guix.texi:19130 doc/guix.texi:19165 +#: doc/guix.texi:19173 doc/guix.texi:19197 doc/guix.texi:19229 +#: doc/guix.texi:19258 doc/guix.texi:19265 doc/guix.texi:19272 +#: doc/guix.texi:19280 doc/guix.texi:19294 doc/guix.texi:19303 +#: doc/guix.texi:19313 doc/guix.texi:19320 doc/guix.texi:19327 +#: doc/guix.texi:19334 doc/guix.texi:19405 doc/guix.texi:19412 +#: doc/guix.texi:19419 doc/guix.texi:19428 doc/guix.texi:19444 +#: doc/guix.texi:19451 doc/guix.texi:19458 doc/guix.texi:19465 +#: doc/guix.texi:19473 doc/guix.texi:19481 +msgid "Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11963 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean classify-override?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11966 +msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11970 +#, no-wrap +msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11972 +msgid "Specifies the default type of authentication to use." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11974 +msgid "Defaults to @samp{Basic}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11976 +#, no-wrap +msgid "{@code{cups-configuration} parameter} default-encryption default-encryption" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11978 +msgid "Specifies whether encryption will be used for authenticated requests." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11980 +msgid "Defaults to @samp{Required}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11982 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string default-language" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11984 +msgid "Specifies the default language to use for text and web content." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11986 +msgid "Defaults to @samp{\"en\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11988 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string default-paper-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11993 +msgid "Specifies the default paper size for new print queues. @samp{\"Auto\"} uses a locale-specific default, while @samp{\"None\"} specifies there is no default paper size. Specific size names are typically @samp{\"Letter\"} or @samp{\"A4\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11995 +msgid "Defaults to @samp{\"Auto\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11997 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string default-policy" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:11999 +msgid "Specifies the default access policy to use." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12001 +msgid "Defaults to @samp{\"default\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12003 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean default-shared?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12005 +msgid "Specifies whether local printers are shared by default." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12007 doc/guix.texi:12087 doc/guix.texi:12383 +#: doc/guix.texi:16576 doc/guix.texi:16583 doc/guix.texi:16591 +#: doc/guix.texi:16613 doc/guix.texi:16627 doc/guix.texi:16712 +#: doc/guix.texi:16719 doc/guix.texi:16727 doc/guix.texi:17113 +#: doc/guix.texi:17253 doc/guix.texi:17439 doc/guix.texi:17446 +#: doc/guix.texi:17468 doc/guix.texi:17507 doc/guix.texi:17527 +#: doc/guix.texi:17541 doc/guix.texi:17681 doc/guix.texi:18714 +#: doc/guix.texi:18802 doc/guix.texi:18818 doc/guix.texi:18868 +msgid "Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12009 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12013 +msgid "Specifies the delay for updating of configuration and state files, in seconds. A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12015 doc/guix.texi:12063 doc/guix.texi:12072 +#: doc/guix.texi:12093 doc/guix.texi:12390 +msgid "Defaults to @samp{30}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12017 +#, no-wrap +msgid "{@code{cups-configuration} parameter} error-policy error-policy" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12023 +msgid "Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, which will retry the job at a later time; @code{retry-this-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12025 +msgid "Defaults to @samp{stop-printer}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12027 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12035 +msgid "Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. A limit of 0 disables filter limiting. An average print to a non-PostScript printer needs a filter limit of about 200. A PostScript printer needs about half that (100). Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12037 doc/guix.texi:12045 doc/guix.texi:12100 +#: doc/guix.texi:12216 doc/guix.texi:12230 doc/guix.texi:12237 +#: doc/guix.texi:13761 doc/guix.texi:13773 doc/guix.texi:17129 +#: doc/guix.texi:17454 doc/guix.texi:18707 doc/guix.texi:19007 +#: doc/guix.texi:19181 +msgid "Defaults to @samp{0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12039 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12043 +msgid "Specifies the scheduling priority of filters that are run to print a job. The nice value ranges from 0, the highest priority, to 19, the lowest priority." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12047 +#, no-wrap +msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12054 +msgid "Specifies whether to do reverse lookups on connecting clients. The @code{double} setting causes @code{cupsd} to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. Double lookups also prevent clients with unregistered addresses from connecting to your server. Only set this option to @code{#t} or @code{double} if absolutely required." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12058 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12061 +msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12065 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12070 +msgid "Specifies the interval between retries of jobs in seconds. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12074 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12079 +msgid "Specifies the number of retries that are done for jobs. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12081 doc/guix.texi:17933 doc/guix.texi:17953 +#: doc/guix.texi:17969 doc/guix.texi:17983 doc/guix.texi:17990 +#: doc/guix.texi:17997 doc/guix.texi:18004 doc/guix.texi:18163 +#: doc/guix.texi:18179 doc/guix.texi:18186 doc/guix.texi:18193 +#: doc/guix.texi:18204 doc/guix.texi:18659 doc/guix.texi:18667 +#: doc/guix.texi:18675 doc/guix.texi:18699 +msgid "Defaults to @samp{5}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12083 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean keep-alive?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12085 +msgid "Specifies whether to support HTTP keep-alive connections." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12089 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12091 +msgid "Specifies how long an idle client connection remains open, in seconds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12095 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12098 +msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12102 +#, no-wrap +msgid "{@code{cups-configuration} parameter} multiline-string-list listen" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12109 +msgid "Listens on the specified interfaces for connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses. Values can also be file names of local UNIX domain sockets. The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12111 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12118 +msgid "Specifies the number of pending connections that will be allowed. This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12120 +msgid "Defaults to @samp{128}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12122 +#, no-wrap +msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12124 +msgid "Specifies a set of additional access controls." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12126 +msgid "Available @code{location-access-controls} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12127 +#, no-wrap +msgid "{@code{location-access-controls} parameter} file-name path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12129 +msgid "Specifies the URI path to which the access control applies." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12131 +#, no-wrap +msgid "{@code{location-access-controls} parameter} access-control-list access-controls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12134 +msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12136 doc/guix.texi:12142 doc/guix.texi:12156 +#: doc/guix.texi:12163 doc/guix.texi:12305 doc/guix.texi:12364 +#: doc/guix.texi:12448 doc/guix.texi:12459 doc/guix.texi:14247 +#: doc/guix.texi:16634 doc/guix.texi:16822 doc/guix.texi:17824 +#: doc/guix.texi:17884 doc/guix.texi:17892 doc/guix.texi:18722 +#: doc/guix.texi:18729 doc/guix.texi:19071 doc/guix.texi:19149 +#: doc/guix.texi:19243 doc/guix.texi:19251 doc/guix.texi:19287 +#: doc/guix.texi:19437 doc/guix.texi:19488 doc/guix.texi:19497 +msgid "Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12138 +#, no-wrap +msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12140 +msgid "Access controls for method-specific access to this path." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12144 +msgid "Available @code{method-access-controls} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12145 +#, no-wrap +msgid "{@code{method-access-controls} parameter} boolean reverse?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12148 +msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12152 +#, no-wrap +msgid "{@code{method-access-controls} parameter} method-list methods" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12154 +msgid "Methods to which this access control applies." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12158 +#, no-wrap +msgid "{@code{method-access-controls} parameter} access-control-list access-controls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12161 +msgid "Access control directives, as a list of strings. Each string should be one directive, such as \"Order allow,deny\"." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12167 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12171 +msgid "Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12173 doc/guix.texi:12194 doc/guix.texi:12201 +#: doc/guix.texi:14007 doc/guix.texi:16807 +msgid "Defaults to @samp{100}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12175 +#, no-wrap +msgid "{@code{cups-configuration} parameter} log-level log-level" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12178 +msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12180 +msgid "Defaults to @samp{info}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12182 +#, no-wrap +msgid "{@code{cups-configuration} parameter} log-time-format log-time-format" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12185 +msgid "Specifies the format of the date and time in the log files. The value @code{standard} logs whole seconds while @code{usecs} logs microseconds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12187 +msgid "Defaults to @samp{standard}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12189 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12192 +msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12196 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12199 +msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12203 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12206 +msgid "Specifies the maximum number of copies that a user can print of each job." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12208 +msgid "Defaults to @samp{9999}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12210 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12214 +msgid "Specifies the maximum time a job may remain in the @code{indefinite} hold state before it is canceled. A value of 0 disables cancellation of held jobs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12218 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12221 +msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12223 +msgid "Defaults to @samp{500}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12225 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12228 +msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12232 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12235 +msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12239 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12242 +msgid "Specifies the maximum time a job may take to print before it is canceled, in seconds. Set to 0 to disable cancellation of \"stuck\" jobs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12244 +msgid "Defaults to @samp{10800}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12246 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12249 +msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12251 +msgid "Defaults to @samp{1048576}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12253 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12256 +msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12258 doc/guix.texi:12472 +msgid "Defaults to @samp{300}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12260 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string page-log-format" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12265 +msgid "Specifies the format of PageLog lines. Sequences beginning with percent (@samp{%}) characters are replaced with the corresponding information, while all other characters are copied literally. The following percent sequences are recognized:" +msgstr "" + +#. type: item +#: doc/guix.texi:12267 +#, no-wrap +msgid "%%" +msgstr "" + +#. type: table +#: doc/guix.texi:12269 +msgid "insert a single percent character" +msgstr "" + +#. type: item +#: doc/guix.texi:12270 +#, no-wrap +msgid "%@{name@}" +msgstr "" + +#. type: table +#: doc/guix.texi:12272 +msgid "insert the value of the specified IPP attribute" +msgstr "" + +#. type: item +#: doc/guix.texi:12273 +#, no-wrap +msgid "%C" +msgstr "" + +#. type: table +#: doc/guix.texi:12275 +msgid "insert the number of copies for the current page" +msgstr "" + +#. type: item +#: doc/guix.texi:12276 +#, no-wrap +msgid "%P" +msgstr "" + +#. type: table +#: doc/guix.texi:12278 +msgid "insert the current page number" +msgstr "" + +#. type: item +#: doc/guix.texi:12279 +#, no-wrap +msgid "%T" +msgstr "" + +#. type: table +#: doc/guix.texi:12281 +msgid "insert the current date and time in common log format" +msgstr "" + +#. type: item +#: doc/guix.texi:12282 +#, no-wrap +msgid "%j" +msgstr "" + +#. type: table +#: doc/guix.texi:12284 +msgid "insert the job ID" +msgstr "" + +#. type: item +#: doc/guix.texi:12285 doc/guix.texi:13617 +#, no-wrap +msgid "%p" +msgstr "" + +#. type: table +#: doc/guix.texi:12287 +msgid "insert the printer name" +msgstr "" + +#. type: item +#: doc/guix.texi:12288 doc/guix.texi:13640 +#, no-wrap +msgid "%u" +msgstr "" + +#. type: table +#: doc/guix.texi:12290 +msgid "insert the username" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12296 +msgid "A value of the empty string disables page logging. The string @code{%p %u %j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} %@{media@} %@{sides@}} creates a page log with the standard items." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12300 +#, no-wrap +msgid "{@code{cups-configuration} parameter} environment-variables environment-variables" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12303 +msgid "Passes the specified environment variable(s) to child processes; a list of strings." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12307 +#, no-wrap +msgid "{@code{cups-configuration} parameter} policy-configuration-list policies" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12309 +msgid "Specifies named access control policies." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12311 +msgid "Available @code{policy-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12312 +#, no-wrap +msgid "{@code{policy-configuration} parameter} string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12314 +msgid "Name of the policy." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12316 +#, no-wrap +msgid "{@code{policy-configuration} parameter} string job-private-access" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12326 +msgid "Specifies an access list for a job's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-config} configuration, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12328 doc/guix.texi:12350 +msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12330 +#, no-wrap +msgid "{@code{policy-configuration} parameter} string job-private-values" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12333 doc/guix.texi:12355 +msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12336 +msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12338 +#, no-wrap +msgid "{@code{policy-configuration} parameter} string subscription-private-access" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12348 +msgid "Specifies an access list for a subscription's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-config} configuration, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12352 +#, no-wrap +msgid "{@code{policy-configuration} parameter} string subscription-private-values" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12358 +msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12360 +#, no-wrap +msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12362 +msgid "Access control by IPP operation." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12367 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12372 +msgid "Specifies whether job files (documents) are preserved after a job is printed. If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. Otherwise a boolean value applies indefinitely." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12374 +msgid "Defaults to @samp{86400}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12376 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12381 +msgid "Specifies whether the job history is preserved after a job is printed. If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. If @code{#t}, the job history is preserved until the MaxJobs limit is reached." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12385 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12388 +msgid "Specifies the amount of time to wait for job completion before restarting the scheduler." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12392 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string rip-cache" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12395 +msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12397 +msgid "Defaults to @samp{\"128m\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12399 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string server-admin" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12401 +msgid "Specifies the email address of the server administrator." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12403 +msgid "Defaults to @samp{\"root@@localhost.localdomain\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12405 +#, no-wrap +msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12413 +msgid "The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. Using the special name @code{*} can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using @code{*}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12415 +msgid "Defaults to @samp{*}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12417 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string server-name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12419 +msgid "Specifies the fully-qualified host name of the server." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12421 +msgid "Defaults to @samp{\"localhost\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12423 +#, no-wrap +msgid "{@code{cups-configuration} parameter} server-tokens server-tokens" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12431 +msgid "Specifies what information is included in the Server header of HTTP responses. @code{None} disables the Server header. @code{ProductOnly} reports @code{CUPS}. @code{Major} reports @code{CUPS 2}. @code{Minor} reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. @code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12433 +msgid "Defaults to @samp{Minimal}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12435 +#, no-wrap +msgid "{@code{cups-configuration} parameter} string set-env" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12437 +msgid "Set the specified environment variable to be passed to child processes." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12439 +msgid "Defaults to @samp{\"variable value\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12441 +#, no-wrap +msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12446 +msgid "Listens on the specified interfaces for encrypted connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12450 +#, no-wrap +msgid "{@code{cups-configuration} parameter} ssl-options ssl-options" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12457 +msgid "Sets encryption options. By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. The @code{AllowRC4} option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones. The @code{AllowSSL3} option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12461 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean strict-conformance?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12464 +msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12468 +#, no-wrap +msgid "{@code{cups-configuration} parameter} non-negative-integer timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12470 +msgid "Specifies the HTTP request timeout, in seconds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12475 +#, no-wrap +msgid "{@code{cups-configuration} parameter} boolean web-interface?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12477 +msgid "Specifies whether the web interface is enabled." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12487 +msgid "At this point you're probably thinking ``oh dear, Guix manual, I like you but you can stop already with the configuration options''. Indeed. However, one more point: it could be that you have an existing @code{cupsd.conf} that you want to use. In that case, you can pass an @code{opaque-cups-configuration} as the configuration of a @code{cups-service-type}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12489 +msgid "Available @code{opaque-cups-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12490 +#, no-wrap +msgid "{@code{opaque-cups-configuration} parameter} package cups" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12494 +#, no-wrap +msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12496 +msgid "The contents of the @code{cupsd.conf}, as a string." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12498 +#, no-wrap +msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12500 +msgid "The contents of the @code{cups-files.conf} file, as a string." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12505 +msgid "For example, if your @code{cupsd.conf} and @code{cups-files.conf} are in strings of the same name, you could instantiate a CUPS service like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:12511 +#, no-wrap +msgid "" +"(service cups-service-type\n" +" (opaque-cups-configuration\n" +" (cupsd.conf cupsd.conf)\n" +" (cups-files.conf cups-files.conf)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12522 +msgid "The @code{(gnu services desktop)} module provides services that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop environments like GNOME, XFCE or MATE." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12526 +msgid "To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical environment and networking:" +msgstr "" + +#. type: defvr +#: doc/guix.texi:12527 +#, no-wrap +msgid "{Scheme Variable} %desktop-services" +msgstr "" + +#. type: defvr +#: doc/guix.texi:12530 +msgid "This is a list of services that builds upon @var{%base-services} and adds or adjusts services for a typical ``desktop'' setup." +msgstr "" + +#. type: defvr +#: doc/guix.texi:12540 +msgid "In particular, it adds a graphical login manager (@pxref{X Window, @code{slim-service}}), screen lockers, a network management tool (@pxref{Networking Services, @code{network-manager-service-type}}), energy and color management services, the @code{elogind} login and seat manager, the Polkit privilege service, the GeoClue location service, the AccountsService daemon that allows authorized users change system passwords, an NTP client (@pxref{Networking Services}), the Avahi daemon, and has the name service switch service configured to be able to use @code{nss-mdns} (@pxref{Name Service Switch, mDNS})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12545 +msgid "The @var{%desktop-services} variable can be used as the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12565 +msgid "Additionally, the @code{gnome-desktop-service}, @code{xfce-desktop-service} and @code{mate-desktop-service} procedures can add GNOME, XFCE and/or MATE to a system. To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{gnome-desktop-service} adds the GNOME metapackage to the system profile. Likewise, adding the XFCE service not only adds the @code{xfce} metapackage to the system profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. To ``add MATE'' means that @code{polkit} and @code{dbus} are extended appropriately, allowing MATE to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{mate-desktop-service} adds the MATE metapackage to the system profile." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12574 +msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to use the @code{sddm-service} instead of the @code{slim-service} for the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12575 +#, no-wrap +msgid "{Scheme Procedure} gnome-desktop-service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12579 +msgid "Return a service that adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12581 +#, no-wrap +msgid "{Scheme Procedure} xfce-desktop-service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12586 +msgid "Return a service that adds the @code{xfce} package to the system profile, and extends polkit with the ability for @code{thunar} to manipulate the file system as root from within a user session, after the user has authenticated with the administrator's password." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12588 +#, no-wrap +msgid "{Scheme Procedure} mate-desktop-service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12592 +msgid "Return a service that adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12599 +msgid "Because the GNOME, XFCE and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include either of them by default. To add GNOME, XFCE or MATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}:" +msgstr "" + +#. type: example +#: doc/guix.texi:12610 +#, no-wrap +msgid "" +"(use-modules (gnu))\n" +"(use-service-modules desktop)\n" +"(operating-system\n" +" ...\n" +" ;; cons* adds items to the list given as its last argument.\n" +" (services (cons* (gnome-desktop-service)\n" +" (xfce-desktop-service)\n" +" %desktop-services))\n" +" ...)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12614 +msgid "These desktop environments will then be available as options in the graphical login window." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12618 +msgid "The actual service definitions included in @code{%desktop-services} and provided by @code{(gnu services dbus)} and @code{(gnu services desktop)} are described below." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12619 +#, no-wrap +msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12622 +msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12626 +msgid "@uref{http://dbus.freedesktop.org/, D-Bus} is an inter-process communication facility. Its system bus is used to allow system services to communicate and to be notified of system-wide events." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12631 +msgid "@var{services} must be a list of packages that provide an @file{etc/dbus-1/system.d} directory containing additional D-Bus configuration and policy files. For example, to allow avahi-daemon to use the system bus, @var{services} must be equal to @code{(list avahi)}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12633 +#, no-wrap +msgid "{Scheme Procedure} elogind-service [#:config @var{config}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12639 +msgid "Return a service that runs the @code{elogind} login and seat management daemon. @uref{https://github.com/elogind/elogind, Elogind} exposes a D-Bus interface that can be used to know which users are logged in, know what kind of sessions they have open, suspend the system, inhibit system suspend, reboot the system, and other tasks." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12643 +msgid "Elogind handles most system-level power events for a computer, for example suspending the system when a lid is closed, or shutting it down when the power button is pressed." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12648 +msgid "The @var{config} keyword argument specifies the configuration for elogind, and should be the result of an @code{(elogind-configuration (@var{parameter} @var{value})...)} invocation. Available parameters and their default values are:" +msgstr "" + +#. type: item +#: doc/guix.texi:12650 +#, no-wrap +msgid "kill-user-processes?" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12652 doc/guix.texi:12670 doc/guix.texi:12672 +#: doc/guix.texi:12674 doc/guix.texi:12686 +msgid "#f" +msgstr "" + +#. type: item +#: doc/guix.texi:12652 +#, no-wrap +msgid "kill-only-users" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12654 doc/guix.texi:12692 +msgid "()" +msgstr "" + +#. type: item +#: doc/guix.texi:12654 +#, no-wrap +msgid "kill-exclude-users" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12656 +msgid "(\"root\")" +msgstr "" + +#. type: item +#: doc/guix.texi:12656 +#, no-wrap +msgid "inhibit-delay-max-seconds" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12658 +msgid "5" +msgstr "" + +#. type: item +#: doc/guix.texi:12658 +#, no-wrap +msgid "handle-power-key" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12660 +msgid "poweroff" +msgstr "" + +#. type: item +#: doc/guix.texi:12660 +#, no-wrap +msgid "handle-suspend-key" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12662 doc/guix.texi:12666 +msgid "suspend" +msgstr "" + +#. type: item +#: doc/guix.texi:12662 +#, no-wrap +msgid "handle-hibernate-key" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12664 +msgid "hibernate" +msgstr "" + +#. type: item +#: doc/guix.texi:12664 +#, no-wrap +msgid "handle-lid-switch" +msgstr "" + +#. type: item +#: doc/guix.texi:12666 +#, no-wrap +msgid "handle-lid-switch-docked" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12668 doc/guix.texi:12680 +msgid "ignore" +msgstr "" + +#. type: item +#: doc/guix.texi:12668 +#, no-wrap +msgid "power-key-ignore-inhibited?" +msgstr "" + +#. type: item +#: doc/guix.texi:12670 +#, no-wrap +msgid "suspend-key-ignore-inhibited?" +msgstr "" + +#. type: item +#: doc/guix.texi:12672 +#, no-wrap +msgid "hibernate-key-ignore-inhibited?" +msgstr "" + +#. type: item +#: doc/guix.texi:12674 +#, no-wrap +msgid "lid-switch-ignore-inhibited?" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12676 doc/guix.texi:12688 +msgid "#t" +msgstr "" + +#. type: item +#: doc/guix.texi:12676 +#, no-wrap +msgid "holdoff-timeout-seconds" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12678 +msgid "30" +msgstr "" + +#. type: item +#: doc/guix.texi:12678 +#, no-wrap +msgid "idle-action" +msgstr "" + +#. type: item +#: doc/guix.texi:12680 +#, no-wrap +msgid "idle-action-seconds" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12682 +msgid "(* 30 60)" +msgstr "" + +#. type: item +#: doc/guix.texi:12682 +#, no-wrap +msgid "runtime-directory-size-percent" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12684 +msgid "10" +msgstr "" + +#. type: item +#: doc/guix.texi:12684 +#, no-wrap +msgid "runtime-directory-size" +msgstr "" + +#. type: item +#: doc/guix.texi:12686 +#, no-wrap +msgid "remove-ipc?" +msgstr "" + +#. type: item +#: doc/guix.texi:12688 +#, no-wrap +msgid "suspend-state" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12690 +msgid "(\"mem\" \"standby\" \"freeze\")" +msgstr "" + +#. type: item +#: doc/guix.texi:12690 +#, no-wrap +msgid "suspend-mode" +msgstr "" + +#. type: item +#: doc/guix.texi:12692 +#, no-wrap +msgid "hibernate-state" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12694 doc/guix.texi:12698 +msgid "(\"disk\")" +msgstr "" + +#. type: item +#: doc/guix.texi:12694 +#, no-wrap +msgid "hibernate-mode" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12696 +msgid "(\"platform\" \"shutdown\")" +msgstr "" + +#. type: item +#: doc/guix.texi:12696 +#, no-wrap +msgid "hybrid-sleep-state" +msgstr "" + +#. type: item +#: doc/guix.texi:12698 +#, no-wrap +msgid "hybrid-sleep-mode" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12700 +msgid "(\"suspend\" \"platform\" \"shutdown\")" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12703 +#, no-wrap +msgid "{Scheme Procedure} accountsservice-service @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12711 +msgid "[#:accountsservice @var{accountsservice}] Return a service that runs AccountsService, a system service that can list available accounts, change their passwords, and so on. AccountsService integrates with PolicyKit to enable unprivileged users to acquire the capability to modify their system configuration. @uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the accountsservice web site} for more information." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12714 +msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12716 +#, no-wrap +msgid "{Scheme Procedure} polkit-service @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12725 +msgid "[#:polkit @var{polkit}] Return a service that runs the @uref{http://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege management service}, which allows system administrators to grant access to privileged operations in a structured way. By querying the Polkit service, a privileged system component can know when it should grant additional capabilities to ordinary users. For example, an ordinary user can be granted the capability to suspend the system if the user is logged in locally." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12727 +#, no-wrap +msgid "{Scheme Procedure} upower-service [#:upower @var{upower}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12744 +msgid "[#:watts-up-pro? #f] @ [#:poll-batteries? #t] @ [#:ignore-lid? #f] @ [#:use-percentage-for-policy? #f] @ [#:percentage-low 10] @ [#:percentage-critical 3] @ [#:percentage-action 2] @ [#:time-low 1200] @ [#:time-critical 300] @ [#:time-action 120] @ [#:critical-power-action 'hybrid-sleep] Return a service that runs @uref{http://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and battery levels, with the given configuration settings. It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12746 +#, no-wrap +msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12751 +msgid "Return a service for @uref{http://udisks.freedesktop.org/docs/latest/, UDisks}, a @dfn{disk management} daemon that provides user interfaces with notifications and ways to mount/unmount disks. Programs that talk to UDisks include the @command{udisksctl} command, part of UDisks, and GNOME Disks." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12753 +#, no-wrap +msgid "{Scheme Procedure} colord-service [#:colord @var{colord}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12759 +msgid "Return a service that runs @command{colord}, a system service with a D-Bus interface to manage the color profiles of input and output devices such as screens and scanners. It is notably used by the GNOME Color Manager graphical tool. See @uref{http://www.freedesktop.org/software/colord/, the colord web site} for more information." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12761 +#, no-wrap +msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12770 +msgid "Return a configuration allowing an application to access GeoClue location data. @var{name} is the Desktop ID of the application, without the @code{.desktop} part. If @var{allowed?} is true, the application will have access to location information by default. The boolean @var{system?} value indicates whether an application is a system component or not. Finally @var{users} is a list of UIDs of all users for which this application is allowed location info access. An empty users list means that all users are allowed." +msgstr "" + +#. type: defvr +#: doc/guix.texi:12772 +#, no-wrap +msgid "{Scheme Variable} %standard-geoclue-applications" +msgstr "" + +#. type: defvr +#: doc/guix.texi:12779 +msgid "The standard list of well-known GeoClue application configurations, granting authority to the GNOME date-and-time utility to ask for the current location in order to set the time zone, and allowing the IceCat and Epiphany web browsers to request location information. IceCat and Epiphany both query the user before allowing a web page to know the user's location." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12781 +#, no-wrap +msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12794 +msgid "[#:whitelist '()] @ [#:wifi-geolocation-url \"https://location.services.mozilla.com/v1/geolocate?key=geoclue\"] @ [#:submit-data? #f] [#:wifi-submission-url \"https://location.services.mozilla.com/v1/submit?key=geoclue\"] @ [#:submission-nick \"geoclue\"] @ [#:applications %standard-geoclue-applications] Return a service that runs the GeoClue location service. This service provides a D-Bus interface to allow applications to request access to a user's physical location, and optionally to add information to online location databases. See @uref{https://wiki.freedesktop.org/www/Software/GeoClue/, the GeoClue web site} for more information." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12796 +#, no-wrap +msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12803 +msgid "[@w{#:auto-enable? #f}] Return a service that runs the @command{bluetoothd} daemon, which manages all the Bluetooth devices and provides a number of D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is powered automatically at boot, which can be useful when using a bluetooth keyboard or mouse." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12805 +msgid "Users need to be in the @code{lp} group to access the D-Bus service." +msgstr "" + +#. type: cindex +#: doc/guix.texi:12811 +#, no-wrap +msgid "SQL" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12813 +msgid "The @code{(gnu services databases)} module provides the following services." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12814 +#, no-wrap +msgid "{Scheme Procedure} postgresql-service [#:postgresql postgresql] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12819 +msgid "[#:config-file] [#:data-directory ``/var/lib/postgresql/data''] @ [#:port 5432] [#:locale ``en_US.utf8''] Return a service that runs @var{postgresql}, the PostgreSQL database server." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12823 +msgid "The PostgreSQL daemon loads its runtime configuration from @var{config-file}, creates a database cluster with @var{locale} as the default locale, stored in @var{data-directory}. It then listens on @var{port}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12825 +#, no-wrap +msgid "{Scheme Procedure} mysql-service [#:config (mysql-configuration)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12828 +msgid "Return a service that runs @command{mysqld}, the MySQL or MariaDB database server." +msgstr "" + +#. type: deffn +#: doc/guix.texi:12831 +msgid "The optional @var{config} argument specifies the configuration for @command{mysqld}, which should be a @code{} object." +msgstr "" + +#. type: deftp +#: doc/guix.texi:12833 +#, no-wrap +msgid "{Data Type} mysql-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:12835 +msgid "Data type representing the configuration of @var{mysql-service}." +msgstr "" + +#. type: item +#: doc/guix.texi:12837 +#, no-wrap +msgid "@code{mysql} (default: @var{mariadb})" +msgstr "" + +#. type: table +#: doc/guix.texi:12840 +msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}." +msgstr "" + +#. type: table +#: doc/guix.texi:12843 +msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty." +msgstr "" + +#. type: item +#: doc/guix.texi:12844 +#, no-wrap +msgid "@code{port} (default: @code{3306})" +msgstr "" + +#. type: table +#: doc/guix.texi:12846 +msgid "TCP port on which the database server listens for incoming connections." +msgstr "" + +#. type: defvr +#: doc/guix.texi:12849 +#, no-wrap +msgid "{Scheme Variable} memcached-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:12853 +msgid "This is the service type for the @uref{https://memcached.org/, Memcached} service, which provides a distributed in memory cache. The value for the service type is a @code{memcached-configuration} object." +msgstr "" + +#. type: example +#: doc/guix.texi:12857 +#, no-wrap +msgid "(service memcached-service-type)\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:12859 +#, no-wrap +msgid "{Data Type} memcached-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:12861 +msgid "Data type representing the configuration of memcached." +msgstr "" + +#. type: item +#: doc/guix.texi:12863 +#, no-wrap +msgid "@code{memcached} (default: @code{memcached})" +msgstr "" + +#. type: table +#: doc/guix.texi:12865 +msgid "The Memcached package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:12866 +#, no-wrap +msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:12868 +msgid "Network interfaces on which to listen." +msgstr "" + +#. type: item +#: doc/guix.texi:12869 +#, no-wrap +msgid "@code{tcp-port} (default: @code{11211})" +msgstr "" + +#. type: table +#: doc/guix.texi:12871 +msgid "Port on which to accept connections on," +msgstr "" + +#. type: item +#: doc/guix.texi:12872 +#, no-wrap +msgid "@code{udp-port} (default: @code{11211})" +msgstr "" + +#. type: table +#: doc/guix.texi:12875 +msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket." +msgstr "" + +#. type: item +#: doc/guix.texi:12876 +#, no-wrap +msgid "@code{additional-options} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:12878 +msgid "Additional command line options to pass to @code{memcached}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:12881 +#, no-wrap +msgid "{Scheme Variable} mongodb-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:12884 +msgid "This is the service type for @uref{https://www.mongodb.com/, MongoDB}. The value for the service type is a @code{mongodb-configuration} object." +msgstr "" + +#. type: example +#: doc/guix.texi:12888 +#, no-wrap +msgid "(service mongodb-service-type)\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:12890 +#, no-wrap +msgid "{Data Type} mongodb-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:12892 +msgid "Data type representing the configuration of mongodb." +msgstr "" + +#. type: item +#: doc/guix.texi:12894 +#, no-wrap +msgid "@code{mongodb} (default: @code{mongodb})" +msgstr "" + +#. type: table +#: doc/guix.texi:12896 +msgid "The MongoDB package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:12897 +#, no-wrap +msgid "@code{config-file} (default: @code{%default-mongodb-configuration-file})" +msgstr "" + +#. type: table +#: doc/guix.texi:12899 +msgid "The configuration file for MongoDB." +msgstr "" + +#. type: item +#: doc/guix.texi:12900 +#, no-wrap +msgid "@code{data-directory} (default: @code{\"/var/lib/mongodb\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:12904 +msgid "This value is used to create the directory, so that it exists and is owned by the mongodb user. It should match the data-directory which MongoDB is configured to use through the configuration file." +msgstr "" + +#. type: defvr +#: doc/guix.texi:12907 +#, no-wrap +msgid "{Scheme Variable} redis-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:12910 +msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object." +msgstr "" + +#. type: deftp +#: doc/guix.texi:12912 +#, no-wrap +msgid "{Data Type} redis-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:12914 +msgid "Data type representing the configuration of redis." +msgstr "" + +#. type: item +#: doc/guix.texi:12916 +#, no-wrap +msgid "@code{redis} (default: @code{redis})" +msgstr "" + +#. type: table +#: doc/guix.texi:12918 +msgid "The Redis package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:12919 +#, no-wrap +msgid "@code{bind} (default: @code{\"127.0.0.1\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:12921 +msgid "Network interface on which to listen." +msgstr "" + +#. type: item +#: doc/guix.texi:12922 +#, no-wrap +msgid "@code{port} (default: @code{6379})" +msgstr "" + +#. type: table +#: doc/guix.texi:12925 +msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket." +msgstr "" + +#. type: item +#: doc/guix.texi:12926 +#, no-wrap +msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:12928 +msgid "Directory in which to store the database and related files." +msgstr "" + +#. type: cindex +#: doc/guix.texi:12934 +#, no-wrap +msgid "mail" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:12935 doc/guix.texi:16030 +#, no-wrap +msgid "email" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12940 +msgid "The @code{(gnu services mail)} module provides Guix service definitions for email services: IMAP, POP3, and LMTP servers, as well as mail transport agents (MTAs). Lots of acronyms! These services are detailed in the subsections below." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:12941 +#, no-wrap +msgid "Dovecot Service" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12943 +#, no-wrap +msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:12945 +msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12955 +msgid "By default, Dovecot does not need much configuration; the default configuration object created by @code{(dovecot-configuration)} will suffice if your mail is delivered to @code{~/Maildir}. A self-signed certificate will be generated for TLS-protected connections, though Dovecot will also listen on cleartext ports by default. There are a number of options, though, which mail administrators might need to change, and as is the case with other services, Guix allows the system administrator to specify these parameters via a uniform Scheme interface." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12958 +msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:12963 +#, no-wrap +msgid "" +"(dovecot-service #:config\n" +" (dovecot-configuration\n" +" (mail-location \"maildir:~/.mail\")))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12971 +msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{dovecot.conf} file that you want to port over from some other system; see the end for more details." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:12981 +msgid "Available @code{dovecot-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12982 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} package dovecot" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12984 doc/guix.texi:14271 +msgid "The dovecot package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12986 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12992 +msgid "A list of IPs or hosts where to listen for connections. @samp{*} listens on all IPv4 interfaces, @samp{::} listens on all IPv6 interfaces. If you want to specify non-default ports or anything more complex, customize the address and port fields of the @samp{inet-listener} of the specific services you are interested in." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12994 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12997 +msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:12999 +msgid "Available @code{protocol-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13000 +#, no-wrap +msgid "{@code{protocol-configuration} parameter} string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13002 +msgid "The name of the protocol." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13004 +#, no-wrap +msgid "{@code{protocol-configuration} parameter} string auth-socket-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13008 +msgid "UNIX socket path to the master authentication server to find users. This is used by imap (for shared users) and lda. It defaults to @samp{\"/var/run/dovecot/auth-userdb\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13010 +#, no-wrap +msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13012 +msgid "Space separated list of plugins to load." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13014 +#, no-wrap +msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13018 +msgid "Maximum number of IMAP connections allowed for a user from each IP address. NOTE: The username is compared case-sensitively. Defaults to @samp{10}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13022 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} service-configuration-list services" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13026 +msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13028 +msgid "Available @code{service-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13029 +#, no-wrap +msgid "{@code{service-configuration} parameter} string kind" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13034 +msgid "The service kind. Valid values include @code{director}, @code{imap-login}, @code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, @code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning}, or anything else." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13036 +#, no-wrap +msgid "{@code{service-configuration} parameter} listener-configuration-list listeners" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13041 +msgid "Listeners for the service. A listener is either a @code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or an @code{inet-listener-configuration}. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13043 +msgid "Available @code{unix-listener-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13044 +#, no-wrap +msgid "{@code{unix-listener-configuration} parameter} string path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13047 doc/guix.texi:13070 +msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13049 +#, no-wrap +msgid "{@code{unix-listener-configuration} parameter} string mode" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13052 doc/guix.texi:13075 +msgid "The access mode for the socket. Defaults to @samp{\"0600\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13054 +#, no-wrap +msgid "{@code{unix-listener-configuration} parameter} string user" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13057 doc/guix.texi:13080 +msgid "The user to own the socket. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13059 +#, no-wrap +msgid "{@code{unix-listener-configuration} parameter} string group" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13062 doc/guix.texi:13085 +msgid "The group to own the socket. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13066 +msgid "Available @code{fifo-listener-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13067 +#, no-wrap +msgid "{@code{fifo-listener-configuration} parameter} string path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13072 +#, no-wrap +msgid "{@code{fifo-listener-configuration} parameter} string mode" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13077 +#, no-wrap +msgid "{@code{fifo-listener-configuration} parameter} string user" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13082 +#, no-wrap +msgid "{@code{fifo-listener-configuration} parameter} string group" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13089 +msgid "Available @code{inet-listener-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13090 +#, no-wrap +msgid "{@code{inet-listener-configuration} parameter} string protocol" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13092 +msgid "The protocol to listen for." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13094 +#, no-wrap +msgid "{@code{inet-listener-configuration} parameter} string address" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13097 +msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13099 +#, no-wrap +msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13101 +msgid "The port on which to listen." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13103 +#, no-wrap +msgid "{@code{inet-listener-configuration} parameter} boolean ssl?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13107 +msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13111 +#, no-wrap +msgid "{@code{service-configuration} parameter} non-negative-integer service-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13116 +msgid "Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. . Defaults to @samp{1}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13118 +#, no-wrap +msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13121 +msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13123 +#, no-wrap +msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13127 +msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13131 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} dict-configuration dict" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13134 +msgid "Dict configuration, as created by the @code{dict-configuration} constructor." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13136 +msgid "Available @code{dict-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13137 +#, no-wrap +msgid "{@code{dict-configuration} parameter} free-form-fields entries" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13140 +msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13144 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13147 +msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13149 +msgid "Available @code{passdb-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13150 +#, no-wrap +msgid "{@code{passdb-configuration} parameter} string driver" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13155 +msgid "The driver that the passdb should use. Valid values include @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{static}. Defaults to @samp{\"pam\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13157 +#, no-wrap +msgid "{@code{passdb-configuration} parameter} space-separated-string-list args" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13160 +msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13164 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13167 +msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13169 +msgid "Available @code{userdb-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13170 +#, no-wrap +msgid "{@code{userdb-configuration} parameter} string driver" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13174 +msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13176 +#, no-wrap +msgid "{@code{userdb-configuration} parameter} space-separated-string-list args" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13179 +msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13181 +#, no-wrap +msgid "{@code{userdb-configuration} parameter} free-form-args override-fields" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13184 +msgid "Override fields from passwd. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13188 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13191 +msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13193 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13196 +msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13198 +msgid "Available @code{namespace-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13199 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13201 +msgid "Name for this namespace." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13203 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} string type" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13206 +msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13208 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} string separator" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13214 +msgid "Hierarchy separator to use. You should use the same separator for all namespaces or some clients get confused. @samp{/} is usually a good one. The default however depends on the underlying mail storage format. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13216 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} string prefix" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13220 +msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13222 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} string location" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13226 +msgid "Physical location of the mailbox. This is in the same format as mail_location, which is also the default for it. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13228 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} boolean inbox?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13232 +msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13234 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} boolean hidden?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13242 +msgid "If namespace is hidden, it's not advertised to clients via NAMESPACE extension. You'll most likely also want to set @samp{list? #f}. This is mostly useful when converting from another server with different namespaces which you want to deprecate but still keep working. For example you can create hidden namespaces with prefixes @samp{~/mail/}, @samp{~%u/mail/} and @samp{mail/}. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13244 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} boolean list?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13250 +msgid "Show the mailboxes under this namespace with the LIST command. This makes the namespace visible for clients that do not support the NAMESPACE extension. The special @code{children} value lists child mailboxes, but hides the namespace prefix. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13252 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} boolean subscriptions?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13257 +msgid "Namespace handles its own subscriptions. If set to @code{#f}, the parent namespace handles them. The empty prefix should always have this as @code{#t}). Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13259 +#, no-wrap +msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13262 +msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13264 +msgid "Available @code{mailbox-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13265 +#, no-wrap +msgid "{@code{mailbox-configuration} parameter} string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13267 +msgid "Name for this mailbox." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13269 +#, no-wrap +msgid "{@code{mailbox-configuration} parameter} string auto" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13273 +msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13275 +#, no-wrap +msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13280 +msgid "List of IMAP @code{SPECIAL-USE} attributes as specified by RFC 6154. Valid values are @code{\\All}, @code{\\Archive}, @code{\\Drafts}, @code{\\Flagged}, @code{\\Junk}, @code{\\Sent}, and @code{\\Trash}. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13286 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} file-name base-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13289 +msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13291 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string login-greeting" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13294 +msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13296 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13303 +msgid "List of trusted network ranges. Connections from these IPs are allowed to override their IP addresses and ports (for logging and for authentication checks). @samp{disable-plaintext-auth} is also ignored for these networks. Typically you would specify your IMAP proxy servers here. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13305 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13308 +msgid "List of login access check sockets (e.g. tcpwrap). Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13310 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13316 +msgid "Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who is actually using the IMAP processes (e.g. shared mailboxes or if the same uid is used for multiple accounts). Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13318 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13324 +msgid "Should all processes be killed when Dovecot master process shuts down. Setting this to @code{#f} means that Dovecot can be upgraded without forcing existing client connections to close (although that could also be a problem if the upgrade is e.g. due to a security fix). Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13326 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13330 +msgid "If non-zero, run mail commands via this many connections to doveadm server, instead of running them directly in the same process. Defaults to @samp{0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13332 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13335 +msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13337 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13341 +msgid "List of environment variables that are preserved on Dovecot startup and passed down to all of its child processes. You can also give key=value pairs to always set specific settings." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13343 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13350 +msgid "Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP matches the local IP (i.e. you're connecting from the same computer), the connection is considered secure and plaintext authentication is allowed. See also ssl=required setting. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13352 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13357 +msgid "Authentication cache size (e.g. @samp{#e10e6}). 0 means it's disabled. Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for caching to be used. Defaults to @samp{0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13359 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13367 +msgid "Time to live for cached data. After TTL expires the cached record is no longer used, *except* if the main database lookup returns internal failure. We also try to handle password changes automatically: If user's previous authentication was successful, but this one wasn't, the cache isn't used. For now this works only with plaintext authentication. Defaults to @samp{\"1 hour\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13369 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13373 +msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13375 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13381 +msgid "List of realms for SASL authentication mechanisms that need them. You can leave it empty if you don't want to support multiple realms. Many clients simply use the first one listed here, so keep the default realm first. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13383 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-default-realm" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13388 +msgid "Default realm/domain to use if none was specified. This is used for both SASL realms and appending @@domain to username in plaintext logins. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13390 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-username-chars" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13397 +msgid "List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. This is just an extra check to make sure user can't exploit any potential quote escaping vulnerabilities with SQL/LDAP databases. If you want to allow all characters, set this value to empty. Defaults to @samp{\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@@\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13399 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-username-translation" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13405 +msgid "Username character translations before it's looked up from databases. The value contains series of from -> to characters. For example @samp{#@@/@@} means that @samp{#} and @samp{/} characters are translated to @samp{@@}. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13407 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-username-format" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13414 +msgid "Username formatting before it's looked up from databases. You can use the standard variables here, e.g. %Lu would lowercase the username, %n would drop away the domain if it was given, or @samp{%n-AT-%d} would change the @samp{@@} into @samp{-AT-}. This translation is done after @samp{auth-username-translation} changes. Defaults to @samp{\"%Lu\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13416 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13424 +msgid "If you want to allow master users to log in by specifying the master username within the normal username string (i.e. not using SASL mechanism's support for it), you can specify the separator character here. The format is then . UW-IMAP uses @samp{*} as the separator, so that could be a good choice. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13426 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13430 +msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13432 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13437 +msgid "Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (e.g. MySQL and PAM). They're automatically created and destroyed as needed. Defaults to @samp{30}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13439 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13444 +msgid "Host name to use in GSSAPI principal names. The default is to use the name returned by gethostname(). Use @samp{$ALL} (with quotes) to allow all keytab entries. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13446 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13452 +msgid "Kerberos keytab to use for the GSSAPI mechanism. Will use the system default (usually @file{/etc/krb5.keytab}) if not specified. You may need to change the auth service to run as root to be able to read this file. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13454 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13459 +msgid "Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and @samp{ntlm-auth} helper. . Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13461 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13464 +msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13466 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13469 +msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13471 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13475 +msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13477 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13482 +msgid "Take the username from client's SSL certificate, using @code{X509_NAME_get_text_by_NID()} which returns the subject's DN's CommonName. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13484 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13490 +msgid "List of wanted authentication mechanisms. Supported mechanisms are: @samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, @samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, @samp{skey}, and @samp{gss-spnego}. NOTE: See also @samp{disable-plaintext-auth} setting." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13492 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13497 +msgid "List of IPs or hostnames to all director servers, including ourself. Ports can be specified as ip:port. The default port is the same as what director service's @samp{inet-listener} is using. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13499 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13503 +msgid "List of IPs or hostnames to all backend mail servers. Ranges are allowed too, like 10.0.0.10-10.0.0.30. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13505 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string director-user-expire" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13509 +msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13511 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string director-username-hash" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13516 +msgid "How the username is translated before being hashed. Useful values include %Ln if user can log in with or without @@domain, %Ld if mailboxes are shared within domain. Defaults to @samp{\"%Lu\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13518 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string log-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13522 +msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13524 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string info-log-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13528 +msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13530 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string debug-log-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13534 +msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13536 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string syslog-facility" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13541 +msgid "Syslog facility to use if you're logging to syslog. Usually if you don't want to use @samp{mail}, you'll use local0..local7. Also other standard facilities are supported. Defaults to @samp{\"mail\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13543 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13547 +msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13549 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose-passwords?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13556 +msgid "In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over again. You can also truncate the value to n chars by appending \":n\" (e.g. sha1:6). Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13558 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13562 +msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13564 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13569 +msgid "In case of password mismatches, log the passwords and used scheme so the problem can be debugged. Enabling this also enables @samp{auth-debug}. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13571 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13575 +msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13577 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13580 +msgid "Show protocol level SSL errors. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13582 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string log-timestamp" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13586 +msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13588 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13592 +msgid "List of elements we want to log. The elements which have a non-empty variable value are joined together to form a comma-separated string." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13594 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string login-log-format" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13598 +msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13600 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13604 +msgid "Log prefix for mail processes. See doc/wiki/Variables.txt for list of possible variables you can use. Defaults to @samp{\"\\\"%s(%u)<%@{pid@}><%@{session@}>: \\\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13606 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string deliver-log-format" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13608 +msgid "Format to use for logging mail deliveries. You can use variables:" +msgstr "" + +#. type: item +#: doc/guix.texi:13609 +#, no-wrap +msgid "%$" +msgstr "" + +#. type: table +#: doc/guix.texi:13611 +msgid "Delivery status message (e.g. @samp{saved to INBOX})" +msgstr "" + +#. type: item +#: doc/guix.texi:13611 +#, no-wrap +msgid "%m" +msgstr "" + +#. type: table +#: doc/guix.texi:13613 +msgid "Message-ID" +msgstr "" + +#. type: item +#: doc/guix.texi:13613 doc/guix.texi:14145 +#, no-wrap +msgid "%s" +msgstr "" + +#. type: table +#: doc/guix.texi:13615 +msgid "Subject" +msgstr "" + +#. type: item +#: doc/guix.texi:13615 +#, no-wrap +msgid "%f" +msgstr "" + +#. type: table +#: doc/guix.texi:13617 +msgid "From address" +msgstr "" + +#. type: table +#: doc/guix.texi:13619 +msgid "Physical size" +msgstr "" + +#. type: item +#: doc/guix.texi:13619 +#, no-wrap +msgid "%w" +msgstr "" + +#. type: table +#: doc/guix.texi:13621 +msgid "Virtual size." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13623 +msgid "Defaults to @samp{\"msgid=%m: %$\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13625 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-location" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13630 +msgid "Location for users' mailboxes. The default is empty, which means that Dovecot tries to find the mailboxes automatically. This won't work if the user doesn't yet have any mail, so you should explicitly tell Dovecot the full location." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13636 +msgid "If you're using mbox, giving a path to the INBOX file (e.g. /var/mail/%u) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the \"root mail directory\", and it must be the first path given in the @samp{mail-location} setting." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13638 +msgid "There are a few special variables you can use, eg.:" +msgstr "" + +#. type: table +#: doc/guix.texi:13642 +msgid "username" +msgstr "" + +#. type: item +#: doc/guix.texi:13642 doc/guix.texi:14141 +#, no-wrap +msgid "%n" +msgstr "" + +#. type: table +#: doc/guix.texi:13644 +msgid "user part in user@@domain, same as %u if there's no domain" +msgstr "" + +#. type: item +#: doc/guix.texi:13644 +#, no-wrap +msgid "%d" +msgstr "" + +#. type: table +#: doc/guix.texi:13646 +msgid "domain part in user@@domain, empty if there's no domain" +msgstr "" + +#. type: item +#: doc/guix.texi:13646 +#, no-wrap +msgid "%h" +msgstr "" + +#. type: table +#: doc/guix.texi:13648 +msgid "home director" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13651 +msgid "See doc/wiki/Variables.txt for full list. Some examples:" +msgstr "" + +#. type: item +#: doc/guix.texi:13652 +#, no-wrap +msgid "maildir:~/Maildir" +msgstr "" + +#. type: item +#: doc/guix.texi:13653 +#, no-wrap +msgid "mbox:~/mail:INBOX=/var/mail/%u" +msgstr "" + +#. type: item +#: doc/guix.texi:13654 +#, no-wrap +msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13659 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-uid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13664 +msgid "System user and group used to access mails. If you use multiple, userdb can override these by returning uid or gid fields. You can use either numbers or names. . Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13666 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-gid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13671 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13677 +msgid "Group to enable temporarily for privileged operations. Currently this is used only with INBOX when either its initial creation or dotlocking fails. Typically this is set to \"mail\" to give access to /var/mail. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13679 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-access-groups" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13687 +msgid "Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be dangerous to set these if users can create symlinks (e.g. if \"mail\" group is set here, ln -s /var/mail ~/mail/var could allow a user to delete others' mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow reading it). Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13689 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13695 +msgid "Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID. It works with both maildir and mboxes, allowing you to prefix mailboxes names with e.g. /path/ or ~user/. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13697 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13701 +msgid "Don't use mmap() at all. This is required if you store indexes to shared file systems (NFS or clustered file system). Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13703 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13708 +msgid "Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports @samp{O_EXCL} since version 3, so this should be safe to use nowadays by default. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13710 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-fsync" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13712 +msgid "When to use fsync() or fdatasync() calls:" +msgstr "" + +#. type: item +#: doc/guix.texi:13713 +#, no-wrap +msgid "optimized" +msgstr "" + +#. type: table +#: doc/guix.texi:13715 +msgid "Whenever necessary to avoid losing important data" +msgstr "" + +#. type: table +#: doc/guix.texi:13717 +msgid "Useful with e.g. NFS when write()s are delayed" +msgstr "" + +#. type: table +#: doc/guix.texi:13719 +msgid "Never use it (best performance, but crashes can lose data)." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13721 +msgid "Defaults to @samp{\"optimized\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13723 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13728 +msgid "Mail storage exists in NFS. Set this to yes to make Dovecot flush NFS caches whenever needed. If you're using only a single mail server this isn't needed. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13730 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13734 +msgid "Mail index files also exist in NFS. Setting this to yes requires @samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13736 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string lock-method" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13742 +msgid "Locking method for index files. Alternatives are fcntl, flock and dotlock. Dotlocking uses some tricks which may create more disk I/O than other locking methods. NFS users: flock doesn't work, remember to change @samp{mmap-disable}. Defaults to @samp{\"fcntl\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13744 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13748 +msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13750 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13756 +msgid "Valid UID range for users. This is mostly to make sure that users can't log in as daemons or other system users. Note that denying root logins is hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} is set to 0. Defaults to @samp{500}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13758 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13763 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13768 +msgid "Valid GID range for users. Users having non-valid GID as primary group ID aren't allowed to log in. If user belongs to supplementary groups with non-valid GIDs, those groups are not set. Defaults to @samp{1}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13770 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13775 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13779 +msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13781 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13791 +msgid "List of directories under which chrooting is allowed for mail processes (i.e. /var/mail will allow chrooting to /var/mail/foo/bar too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, \"/./\" in home dirs are ignored. WARNING: Never add directories here which local users can modify, that may lead to root exploit. Usually this should be done only if you don't allow shell access for users. . Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13793 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-chroot" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13802 +msgid "Default chroot directory for mail processes. This can be overridden for specific users in user database by giving /./ in user's home directory (e.g. /home/./user chroots into /home). Note that usually there is no real need to do chrooting, Dovecot doesn't allow users to access files outside their mail directory anyway. If your home directories are prefixed with the chroot directory, append \"/.\" to @samp{mail-chroot}. . Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13804 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13808 +msgid "UNIX socket path to master authentication server to find users. This is used by imap (for shared users) and lda. Defaults to @samp{\"/var/run/dovecot/auth-userdb\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13810 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13813 +msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13815 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13819 +msgid "List of plugins to load for all services. Plugins specific to IMAP, LDA, etc. are added to this list in their own .conf files. Defaults to @samp{()}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13821 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13826 +msgid "The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads. Defaults to @samp{0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13828 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13835 +msgid "When IDLE command is running, mailbox is checked once in a while to see if there are any new mails or other changes. This setting defines the minimum time to wait between those checks. Dovecot can also use dnotify, inotify and kqueue to find out immediately when changes occur. Defaults to @samp{\"30 secs\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13837 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13844 +msgid "Save mails with CR+LF instead of plain LF. This makes sending those mails take less CPU, especially with sendfile() syscall with Linux and FreeBSD. But it also creates a bit more disk I/O which may just make it slower. Also note that if other software reads the mboxes/maildirs, they may handle the extra CRs wrong and cause problems. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13846 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13854 +msgid "By default LIST command returns all entries in maildir beginning with a dot. Enabling this option makes Dovecot return only entries which are directories. This is done by stat()ing each entry, so it causes more disk I/O. (For systems setting struct @samp{dirent->d_type} this check is free and it's done always regardless of this setting). Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13856 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13861 +msgid "When copying a message, do it with hard links whenever possible. This makes the performance much better, and it's unlikely to have any side effects. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13863 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13868 +msgid "Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only when its mtime changes unexpectedly or when we can't find the mail otherwise. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13870 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13873 +msgid "Which locking methods to use for locking mbox. There are four available:" +msgstr "" + +#. type: item +#: doc/guix.texi:13875 +#, no-wrap +msgid "dotlock" +msgstr "" + +#. type: table +#: doc/guix.texi:13879 +msgid "Create .lock file. This is the oldest and most NFS-safe solution. If you want to use /var/mail/ like directory, the users will need write access to that directory." +msgstr "" + +#. type: item +#: doc/guix.texi:13879 +#, no-wrap +msgid "dotlock-try" +msgstr "" + +#. type: table +#: doc/guix.texi:13882 +msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it." +msgstr "" + +#. type: item +#: doc/guix.texi:13882 +#, no-wrap +msgid "fcntl" +msgstr "" + +#. type: table +#: doc/guix.texi:13884 +msgid "Use this if possible. Works with NFS too if lockd is used." +msgstr "" + +#. type: item +#: doc/guix.texi:13884 +#, no-wrap +msgid "flock" +msgstr "" + +#. type: table +#: doc/guix.texi:13886 doc/guix.texi:13888 +msgid "May not exist in all systems. Doesn't work with NFS." +msgstr "" + +#. type: item +#: doc/guix.texi:13886 +#, no-wrap +msgid "lockf" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13894 +msgid "You can use multiple locking methods; if you do the order they're declared in is important to avoid deadlocks if other MTAs/MUAs are using multiple locking methods as well. Some operating systems don't allow using some of them simultaneously." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13896 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13900 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13903 +msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13905 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13909 +msgid "If dotlock exists but the mailbox isn't modified in any way, override the lock file after this much time. Defaults to @samp{\"2 mins\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13911 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13922 +msgid "When mbox changes unexpectedly we have to fully read it to find out what changed. If the mbox is large this can take a long time. Since the change is usually just a newly appended mail, it'd be faster to simply read the new mails. If this setting is enabled, Dovecot does this but still safely fallbacks to re-reading the whole mbox file whenever something in mbox isn't how it's expected to be. The only real downside to this setting is that if some other MUA changes message flags, Dovecot doesn't notice it immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK commands. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13924 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13929 +msgid "Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} is ignored. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13931 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13937 +msgid "Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK commands and when closing the mailbox). This is especially useful for POP3 where clients often delete all mails. The downside is that our changes aren't immediately visible to other MUAs. Defaults to @samp{#t}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13939 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13944 +msgid "If mbox size is smaller than this (e.g. 100k), don't write index files. If an index file already exists it's still read, just not updated. Defaults to @samp{0}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13946 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13949 +msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13951 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13956 +msgid "Maximum dbox file age until it's rotated. Typically in days. Day begins from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. Defaults to @samp{\"1d\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13958 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13963 +msgid "When creating new mdbox files, immediately preallocate their size to @samp{mdbox-rotate-size}. This setting currently works only in Linux with some file systems (ext4, xfs). Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13965 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13969 +msgid "sdbox and mdbox support saving mail attachments to external files, which also allows single instance storage for them. Other backends don't support this for now." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13971 +msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13974 +msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13976 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13981 +msgid "Attachments smaller than this aren't saved externally. It's also possible to write a plugin to disable saving specific attachments externally. Defaults to @samp{128000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13983 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13985 +msgid "File system backend to use for saving attachments:" +msgstr "" + +#. type: item +#: doc/guix.texi:13986 +#, no-wrap +msgid "posix" +msgstr "" + +#. type: table +#: doc/guix.texi:13988 +msgid "No SiS done by Dovecot (but this might help FS's own deduplication)" +msgstr "" + +#. type: item +#: doc/guix.texi:13988 +#, no-wrap +msgid "sis posix" +msgstr "" + +#. type: table +#: doc/guix.texi:13990 +msgid "SiS with immediate byte-by-byte comparison during saving" +msgstr "" + +#. type: item +#: doc/guix.texi:13990 +#, no-wrap +msgid "sis-queue posix" +msgstr "" + +#. type: table +#: doc/guix.texi:13992 +msgid "SiS with delayed comparison and deduplication." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13994 +msgid "Defaults to @samp{\"sis posix\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:13996 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14002 +msgid "Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be truncated, e.g. @code{%@{sha256:80@}} returns only first 80 bits. Defaults to @samp{\"%@{sha1@}\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14004 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14009 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14012 doc/guix.texi:17918 +msgid "Defaults to @samp{1000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14014 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14019 +msgid "Default VSZ (virtual memory size) limit for service processes. This is mainly intended to catch and kill processes that leak memory before they eat up everything. Defaults to @samp{256000000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14021 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string default-login-user" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14026 +msgid "Login user is internally used by login processes. This is the most untrusted user in Dovecot system. It shouldn't have access to anything at all. Defaults to @samp{\"dovenull\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14028 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string default-internal-user" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14033 +msgid "Internal user is used by unprivileged processes. It should be separate from login user, so that login processes can't disturb other processes. Defaults to @samp{\"dovecot\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14035 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string ssl?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14038 +msgid "SSL/TLS support: yes, no, required. . Defaults to @samp{\"required\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14040 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string ssl-cert" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14043 +msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\" was automatically rejected:%n%r\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14153 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14157 +msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14159 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14165 +msgid "Header where the original recipient address (SMTP's RCPT TO: address) is taken from if not available elsewhere. With dovecot-lda -a parameter overrides this. A commonly used header for this is X-Original-To. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14167 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14171 +msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14173 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14177 +msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14179 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14185 +msgid "Maximum IMAP command line length. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get \"Too long argument\" or \"IMAP command line too large\" errors often. Defaults to @samp{64000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14187 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string imap-logout-format" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14189 +msgid "IMAP logout format string:" +msgstr "" + +#. type: item +#: doc/guix.texi:14190 +#, no-wrap +msgid "%i" +msgstr "" + +#. type: table +#: doc/guix.texi:14192 +msgid "total number of bytes read from client" +msgstr "" + +#. type: item +#: doc/guix.texi:14192 +#, no-wrap +msgid "%o" +msgstr "" + +#. type: table +#: doc/guix.texi:14194 +msgid "total number of bytes sent to client." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14197 +msgid "See @file{doc/wiki/Variables.txt} for a list of all the variables you can use. Defaults to @samp{\"in=%i out=%o deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14199 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string imap-capability" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14203 +msgid "Override the IMAP CAPABILITY response. If the value begins with '+', add the given capabilities on top of the defaults (e.g. +XFOO XBAR). Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14205 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14209 +msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14211 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string imap-id-send" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14217 +msgid "ID field names and values to send to clients. Using * as the value makes Dovecot use the default value. The following fields have default values currently: name, version, os, os-version, support-url, support-email. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14219 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} string imap-id-log" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14222 +msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14224 +#, no-wrap +msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:14226 +msgid "Workarounds for various client bugs:" +msgstr "" + +#. type: item +#: doc/guix.texi:14228 +#, no-wrap +msgid "delay-newmail" +msgstr "" + +#. type: table +#: doc/guix.texi:14235 +msgid "Send EXISTS/RECENT new mail notifications only when replying to NOOP and CHECK commands. Some clients ignore them otherwise, for example OSX Mail (' before setting it here, to get a feel for which cipher suites you will get. After setting this option, it is recommend that you inspect your Murmur log to ensure that Murmur is using the cipher suites that you expected it to." +msgstr "" + +#. type: table +#: doc/guix.texi:15017 +msgid "Note: Changing this option may impact the backwards compatibility of your Murmur server, and can remove the ability for older Mumble clients to be able to connect to it." +msgstr "" + +#. type: item +#: doc/guix.texi:15018 +#, no-wrap +msgid "@code{public-registration} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15020 +msgid "Must be a @code{} record or @code{#f}." +msgstr "" + +#. type: table +#: doc/guix.texi:15025 +msgid "You can optionally register your server in the public server list that the @code{mumble} client shows on startup. You cannot register your server if you have set a @code{server-password}, or set @code{allow-ping} to @code{#f}." +msgstr "" + +#. type: table +#: doc/guix.texi:15027 +msgid "It might take a few hours until it shows up in the public list." +msgstr "" + +#. type: item +#: doc/guix.texi:15028 doc/guix.texi:15599 +#, no-wrap +msgid "@code{file} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15030 +msgid "Optional alternative override for this configuration." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15033 +#, no-wrap +msgid "{Data Type} murmur-public-registration-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15035 +msgid "Configuration for public registration of a murmur service." +msgstr "" + +#. type: table +#: doc/guix.texi:15039 +msgid "This is a display name for your server. Not to be confused with the hostname." +msgstr "" + +#. type: itemx +#: doc/guix.texi:15040 doc/guix.texi:19930 +#, no-wrap +msgid "password" +msgstr "" + +#. type: table +#: doc/guix.texi:15043 +msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15044 +#, no-wrap +msgid "url" +msgstr "" + +#. type: table +#: doc/guix.texi:15047 +msgid "This should be a @code{http://} or @code{https://} link to your web site." +msgstr "" + +#. type: item +#: doc/guix.texi:15048 +#, no-wrap +msgid "@code{hostname} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15051 +msgid "By default your server will be listed by its IP address. If it is set your server will be linked by this host name instead." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:15059 +#, no-wrap +msgid "Tailon Service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15063 +msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15066 +msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})." +msgstr "" + +#. type: example +#: doc/guix.texi:15069 +#, no-wrap +msgid "(service tailon-service-type)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15073 +msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands." +msgstr "" + +#. type: example +#: doc/guix.texi:15080 +#, no-wrap +msgid "" +"(service tailon-service-type\n" +" (tailon-configuration\n" +" (config-file\n" +" (tailon-configuration-file\n" +" (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15083 +#, no-wrap +msgid "{Data Type} tailon-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15086 +msgid "Data type representing the configuration of Tailon. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:15088 +#, no-wrap +msgid "@code{config-file} (default: @code{(tailon-configuration-file)})" +msgstr "" + +#. type: table +#: doc/guix.texi:15092 +msgid "The configuration file to use for Tailon. This can be set to a @dfn{tailon-configuration-file} record value, or any gexp (@pxref{G-Expressions})." +msgstr "" + +#. type: table +#: doc/guix.texi:15095 +msgid "For example, to instead use a local file, the @code{local-file} function can be used:" +msgstr "" + +#. type: example +#: doc/guix.texi:15100 +#, no-wrap +msgid "" +"(service tailon-service-type\n" +" (tailon-configuration\n" +" (config-file (local-file \"./my-tailon.conf\"))))\n" +msgstr "" + +#. type: item +#: doc/guix.texi:15102 +#, no-wrap +msgid "@code{package} (default: @code{tailon})" +msgstr "" + +#. type: table +#: doc/guix.texi:15104 +msgid "The tailon package to use." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15108 +#, no-wrap +msgid "{Data Type} tailon-configuration-file" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15111 +msgid "Data type representing the configuration options for Tailon. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:15113 +#, no-wrap +msgid "@code{files} (default: @code{(list \"/var/log\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15118 +msgid "List of files to display. The list can include strings for a single file or directory, or a list, where the first item is the name of a subsection, and the remaining items are the files or directories in that subsection." +msgstr "" + +#. type: item +#: doc/guix.texi:15119 +#, no-wrap +msgid "@code{bind} (default: @code{\"localhost:8080\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15121 +msgid "Address and port to which Tailon should bind on." +msgstr "" + +#. type: item +#: doc/guix.texi:15122 +#, no-wrap +msgid "@code{relative-root} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15124 +msgid "URL path to use for Tailon, set to @code{#f} to not use a path." +msgstr "" + +#. type: item +#: doc/guix.texi:15125 +#, no-wrap +msgid "@code{allow-transfers?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:15127 +msgid "Allow downloading the log files in the web interface." +msgstr "" + +#. type: item +#: doc/guix.texi:15128 +#, no-wrap +msgid "@code{follow-names?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:15130 +msgid "Allow tailing of not-yet existent files." +msgstr "" + +#. type: item +#: doc/guix.texi:15131 +#, no-wrap +msgid "@code{tail-lines} (default: @code{200})" +msgstr "" + +#. type: table +#: doc/guix.texi:15133 +msgid "Number of lines to read initially from each file." +msgstr "" + +#. type: item +#: doc/guix.texi:15134 +#, no-wrap +msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15136 +msgid "Commands to allow running. By default, @code{sed} is disabled." +msgstr "" + +#. type: item +#: doc/guix.texi:15137 +#, no-wrap +msgid "@code{debug?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15139 +msgid "Set @code{debug?} to @code{#t} to show debug messages." +msgstr "" + +#. type: item +#: doc/guix.texi:15140 +#, no-wrap +msgid "@code{wrap-lines} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:15144 +msgid "Initial line wrapping state in the web interface. Set to @code{#t} to initially wrap lines (the default), or to @code{#f} to initially not wrap lines." +msgstr "" + +#. type: item +#: doc/guix.texi:15145 +#, no-wrap +msgid "@code{http-auth} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15149 +msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}." +msgstr "" + +#. type: item +#: doc/guix.texi:15150 +#, no-wrap +msgid "@code{users} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15155 +msgid "If HTTP authentication is enabled (see @code{http-auth}), access will be restricted to the credentials provided here. To configure users, use a list of pairs, where the first element of the pair is the username, and the 2nd element of the pair is the password." +msgstr "" + +#. type: example +#: doc/guix.texi:15161 +#, no-wrap +msgid "" +"(tailon-configuration-file\n" +" (http-auth \"basic\")\n" +" (users '((\"user1\" . \"password1\")\n" +" (\"user2\" . \"password2\"))))\n" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:15167 +#, no-wrap +msgid "Darkstat Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15168 +#, no-wrap +msgid "darkstat" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15171 +msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP." +msgstr "" + +#. type: defvar +#: doc/guix.texi:15172 +#, no-wrap +msgid "{Scheme Variable} darkstat-service-type" +msgstr "" + +#. type: defvar +#: doc/guix.texi:15177 +msgid "This is the service type for the @uref{https://unix4lyfe.org/darkstat/, darkstat} service, its value must be a @code{darkstat-configuration} record as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:15182 +#, no-wrap +msgid "" +"(service darkstat-service-type\n" +" (darkstat-configuration\n" +" (interface \"eno1\")))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15185 +#, no-wrap +msgid "{Data Type} darkstat-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15187 +msgid "Data type representing the configuration of @command{darkstat}." +msgstr "" + +#. type: item +#: doc/guix.texi:15189 +#, no-wrap +msgid "@code{package} (default: @code{darkstat})" +msgstr "" + +#. type: table +#: doc/guix.texi:15191 +msgid "The darkstat package to use." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15192 +#, no-wrap +msgid "interface" +msgstr "" + +#. type: table +#: doc/guix.texi:15194 +msgid "Capture traffic on the specified network interface." +msgstr "" + +#. type: item +#: doc/guix.texi:15195 +#, no-wrap +msgid "@code{port} (default: @code{\"667\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15197 +msgid "Bind the web interface to the specified port." +msgstr "" + +#. type: item +#: doc/guix.texi:15198 +#, no-wrap +msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15200 +msgid "Bind the web interface to the specified address." +msgstr "" + +#. type: item +#: doc/guix.texi:15201 +#, no-wrap +msgid "@code{base} (default: @code{\"/\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15204 +msgid "Specify the path of the base URL. This can be useful if @command{darkstat} is accessed via a reverse proxy." +msgstr "" + +#. type: cindex +#: doc/guix.texi:15211 +#, no-wrap +msgid "Kerberos" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15215 +msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:15216 +#, no-wrap +msgid "Krb5 Service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15223 +msgid "Programs using a Kerberos client library normally expect a configuration file in @file{/etc/krb5.conf}. This service generates such a file from a definition provided in the operating system declaration. It does not cause any daemon to be started." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15227 +msgid "No ``keytab'' files are provided by this service---you must explicitly create them. This service is known to work with the MIT client library, @code{mit-krb5}. Other implementations have not been tested." +msgstr "" + +#. type: defvr +#: doc/guix.texi:15228 +#, no-wrap +msgid "{Scheme Variable} krb5-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:15230 +msgid "A service type for Kerberos 5 clients." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15234 +msgid "Here is an example of its use:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:15248 +#, no-wrap +msgid "" +"(service krb5-service-type\n" +" (krb5-configuration\n" +" (default-realm \"EXAMPLE.COM\")\n" +" (allow-weak-crypto? #t)\n" +" (realms (list\n" +" (krb5-realm\n" +" (name \"EXAMPLE.COM\")\n" +" (admin-server \"groucho.example.com\")\n" +" (kdc \"karl.example.com\"))\n" +" (krb5-realm\n" +" (name \"ARGRX.EDU\")\n" +" (admin-server \"kerb-admin.argrx.edu\")\n" +" (kdc \"keys.argrx.edu\"))))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15252 +msgid "This example provides a Kerberos@tie{}5 client configuration which:" +msgstr "" + +#. type: item +#: doc/guix.texi:15253 +#, no-wrap +msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both" +msgstr "" + +#. type: itemize +#: doc/guix.texi:15255 +msgid "of which have distinct administration servers and key distribution centers;" +msgstr "" + +#. type: item +#: doc/guix.texi:15255 +#, no-wrap +msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly" +msgstr "" + +#. type: itemize +#: doc/guix.texi:15257 +msgid "specified by clients;" +msgstr "" + +#. type: item +#: doc/guix.texi:15257 +#, no-wrap +msgid "Accepts services which only support encryption types known to be weak." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15265 +msgid "The @code{krb5-realm} and @code{krb5-configuration} types have many fields. Only the most commonly used ones are described here. For a full list, and more detailed explanation of each, see the MIT @uref{http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} documentation." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15267 +#, no-wrap +msgid "{Data Type} krb5-realm" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15268 +#, no-wrap +msgid "realm, kerberos" +msgstr "" + +#. type: table +#: doc/guix.texi:15274 +msgid "This field is a string identifying the name of the realm. A common convention is to use the fully qualified DNS name of your organization, converted to upper case." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15275 +#, no-wrap +msgid "admin-server" +msgstr "" + +#. type: table +#: doc/guix.texi:15278 +msgid "This field is a string identifying the host where the administration server is running." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15279 +#, no-wrap +msgid "kdc" +msgstr "" + +#. type: table +#: doc/guix.texi:15282 +msgid "This field is a string identifying the key distribution center for the realm." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15285 +#, no-wrap +msgid "{Data Type} krb5-configuration" +msgstr "" + +#. type: item +#: doc/guix.texi:15288 +#, no-wrap +msgid "@code{allow-weak-crypto?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15291 +msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted." +msgstr "" + +#. type: item +#: doc/guix.texi:15292 +#, no-wrap +msgid "@code{default-realm} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15299 +msgid "This field should be a string identifying the default Kerberos realm for the client. You should set this field to the name of your Kerberos realm. If this value is @code{#f} then a realm must be specified with every Kerberos principal when invoking programs such as @command{kinit}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15300 +#, no-wrap +msgid "realms" +msgstr "" + +#. type: table +#: doc/guix.texi:15305 +msgid "This should be a non-empty list of @code{krb5-realm} objects, which clients may access. Normally, one of them will have a @code{name} field matching the @code{default-realm} field." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:15309 +#, no-wrap +msgid "PAM krb5 Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15310 +#, no-wrap +msgid "pam-krb5" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15316 +msgid "The @code{pam-krb5} service allows for login authentication and password management via Kerberos. You will need this service if you want PAM enabled applications to authenticate users using Kerberos." +msgstr "" + +#. type: defvr +#: doc/guix.texi:15317 +#, no-wrap +msgid "{Scheme Variable} pam-krb5-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:15319 +msgid "A service type for the Kerberos 5 PAM module." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15321 +#, no-wrap +msgid "{Data Type} pam-krb5-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15324 +msgid "Data type representing the configuration of the Kerberos 5 PAM module This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:15325 +#, no-wrap +msgid "@code{pam-krb5} (default: @code{pam-krb5})" +msgstr "" + +#. type: table +#: doc/guix.texi:15327 +msgid "The pam-krb5 package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:15328 +#, no-wrap +msgid "@code{minimum-uid} (default: @code{1000})" +msgstr "" + +#. type: table +#: doc/guix.texi:15331 +msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate." +msgstr "" + +#. type: cindex +#: doc/guix.texi:15338 +#, no-wrap +msgid "web" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15339 +#, no-wrap +msgid "www" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15340 +#, no-wrap +msgid "HTTP" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15343 +msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:15344 +#, no-wrap +msgid "Apache HTTP Server" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15346 +#, no-wrap +msgid "{Scheme Variable} httpd-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15350 +msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{https-configuration} record." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15352 doc/guix.texi:15503 +msgid "A simple example configuration is given below." +msgstr "" + +#. type: example +#: doc/guix.texi:15360 +#, no-wrap +msgid "" +"(service httpd-service-type\n" +" (httpd-configuration\n" +" (config\n" +" (httpd-config-file\n" +" (server-name \"www.example.com\")\n" +" (document-root \"/srv/http/www.example.com\")))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15364 +msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration." +msgstr "" + +#. type: example +#: doc/guix.texi:15373 doc/guix.texi:15483 +#, no-wrap +msgid "" +"(simple-service 'my-extra-server httpd-service-type\n" +" (list\n" +" (httpd-virtualhost\n" +" \"*:80\"\n" +" (list (string-append\n" +" \"ServerName \"www.example.com\n" +" DocumentRoot \\\"/srv/http/www.example.com\\\"\")))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15379 +msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15380 +#, no-wrap +msgid "{Data Type} httpd-configuration" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15382 +msgid "This data type represents the configuration for the httpd service." +msgstr "" + +#. type: item +#: doc/guix.texi:15384 +#, no-wrap +msgid "@code{package} (default: @code{httpd})" +msgstr "" + +#. type: table +#: doc/guix.texi:15386 +msgid "The httpd package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:15387 doc/guix.texi:15446 +#, no-wrap +msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15389 +msgid "The pid file used by the shepherd-service." +msgstr "" + +#. type: item +#: doc/guix.texi:15390 +#, no-wrap +msgid "@code{config} (default: @code{(httpd-config-file)})" +msgstr "" + +#. type: table +#: doc/guix.texi:15395 +msgid "The configuration file to use with the httpd service. The default value is a @code{httpd-config-file} record, but this can also be a different G-expression that generates a file, for example a @code{plain-file}. A file outside of the store can also be specified through a string." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15399 +#, no-wrap +msgid "{Data Type} httpd-module" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15401 +msgid "This data type represents a module for the httpd service." +msgstr "" + +#. type: table +#: doc/guix.texi:15405 +msgid "The name of the module." +msgstr "" + +#. type: table +#: doc/guix.texi:15411 +msgid "The file for the module. This can be relative to the httpd package being used, the absolute location of a file, or a G-expression for a file within the store, for example @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15415 +#, no-wrap +msgid "{Data Type} httpd-config-file" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15417 +msgid "This data type represents a configuration file for the httpd service." +msgstr "" + +#. type: item +#: doc/guix.texi:15419 +#, no-wrap +msgid "@code{modules} (default: @code{%default-httpd-modules})" +msgstr "" + +#. type: table +#: doc/guix.texi:15422 +msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:15423 +#, no-wrap +msgid "@code{server-root} (default: @code{httpd})" +msgstr "" + +#. type: table +#: doc/guix.texi:15427 +msgid "The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are taken as relative to the server root." +msgstr "" + +#. type: item +#: doc/guix.texi:15428 +#, no-wrap +msgid "@code{server-name} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15432 +msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself." +msgstr "" + +#. type: table +#: doc/guix.texi:15436 +msgid "This doesn't need to be set in the server config, and can be specifyed in virtual hosts. The default is @code{#f} to not specify a @code{ServerName}." +msgstr "" + +#. type: item +#: doc/guix.texi:15437 +#, no-wrap +msgid "@code{document-root} (default: @code{\"/srv/http\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15439 +msgid "The @code{DocumentRoot} from which files will be served." +msgstr "" + +#. type: item +#: doc/guix.texi:15440 +#, no-wrap +msgid "@code{listen} (default: @code{'(\"80\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15445 +msgid "The list of values for the @code{Listen} directives in the config file. The value should be a list of strings, when each string can specify the port number to listen on, and optionally the IP address and protocol to use." +msgstr "" + +#. type: table +#: doc/guix.texi:15450 +msgid "The @code{PidFile} to use. This should match the @code{pid-file} set in the @code{httpd-configuration} so that the Shepherd service is configured correctly." +msgstr "" + +#. type: item +#: doc/guix.texi:15451 +#, no-wrap +msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15453 +msgid "The @code{ErrorLog} to which the server will log errors." +msgstr "" + +#. type: item +#: doc/guix.texi:15454 +#, no-wrap +msgid "@code{user} (default: @code{\"httpd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15456 +msgid "The @code{User} which the server will answer requests as." +msgstr "" + +#. type: item +#: doc/guix.texi:15457 +#, no-wrap +msgid "@code{group} (default: @code{\"httpd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15459 +msgid "The @code{Group} which the server will answer requests as." +msgstr "" + +#. type: item +#: doc/guix.texi:15460 +#, no-wrap +msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15463 +msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file." +msgstr "" + +#. type: table +#: doc/guix.texi:15466 +msgid "Any values which the service is extended with will be appended to this list." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15470 +#, no-wrap +msgid "{Data Type} httpd-virtualhost" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15472 +msgid "This data type represents a virtualhost configuration block for the httpd service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15474 +msgid "These should be added to the extra-config for the httpd-service." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15486 +#, no-wrap +msgid "addresses-and-ports" +msgstr "" + +#. type: table +#: doc/guix.texi:15488 +msgid "The addresses and ports for the @code{VirtualHost} directive." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15489 +#, no-wrap +msgid "contents" +msgstr "" + +#. type: table +#: doc/guix.texi:15492 +msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:15496 +#, no-wrap +msgid "NGINX" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15498 +#, no-wrap +msgid "{Scheme Variable} nginx-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15501 +msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{} record." +msgstr "" + +#. type: example +#: doc/guix.texi:15511 doc/guix.texi:15565 +#, no-wrap +msgid "" +"(service nginx-service-type\n" +" (nginx-configuration\n" +" (server-blocks\n" +" (list (nginx-server-configuration\n" +" (server-name '(\"www.example.com\"))\n" +" (root \"/srv/http/www.example.com\"))))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15516 +msgid "In addition to adding server blocks to the service configuration directly, this service can be extended by other services to add server blocks, as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:15522 +#, no-wrap +msgid "" +"(simple-service 'my-extra-server nginx-service-type\n" +" (list (nginx-server-configuration\n" +" (root \"/srv/http/extra-website\")\n" +" (try-files (list \"$uri\" \"$uri/index.html\")))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15533 +msgid "At startup, @command{nginx} has not yet read its configuration file, so it uses a default file to log error messages. If it fails to load its configuration file, that is where error messages are logged. After the configuration file is loaded, the default error log file changes as per configuration. In our case, startup error messages can be found in @file{/var/run/nginx/logs/error.log}, and after configuration in @file{/var/log/nginx/error.log}. The second location can be changed with the @var{log-directory} configuration option." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15534 +#, no-wrap +msgid "{Data Type} nginx-configuration" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15538 +msgid "This data type represents the configuration for NGinx. Some configuration can be done through this and the other provided record types, or alternatively, a config file can be provided." +msgstr "" + +#. type: item +#: doc/guix.texi:15540 +#, no-wrap +msgid "@code{nginx} (default: @code{nginx})" +msgstr "" + +#. type: table +#: doc/guix.texi:15542 +msgid "The nginx package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:15543 +#, no-wrap +msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15545 +msgid "The directory to which NGinx will write log files." +msgstr "" + +#. type: item +#: doc/guix.texi:15546 +#, no-wrap +msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15549 +msgid "The directory in which NGinx will create a pid file, and write temporary files." +msgstr "" + +#. type: item +#: doc/guix.texi:15550 +#, no-wrap +msgid "@code{server-blocks} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:15554 +msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{}." +msgstr "" + +#. type: table +#: doc/guix.texi:15558 +msgid "The following example would setup NGinx to serve @code{www.example.com} from the @code{/srv/http/www.example.com} directory, without using HTTPS." +msgstr "" + +#. type: item +#: doc/guix.texi:15567 +#, no-wrap +msgid "@code{upstream-blocks} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:15571 +msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{}." +msgstr "" + +#. type: table +#: doc/guix.texi:15578 +msgid "Configuring upstreams through the @code{upstream-blocks} can be useful when combined with @code{locations} in the @code{} records. The following example creates a server configuration with one location configuration, that will proxy requests to a upstream configuration, which will handle requests with two servers." +msgstr "" + +#. type: example +#: doc/guix.texi:15597 +#, no-wrap +msgid "" +"(service\n" +" nginx-service-type\n" +" (nginx-configuration\n" +" (server-blocks\n" +" (list (nginx-server-configuration\n" +" (server-name '(\"www.example.com\"))\n" +" (root \"/srv/http/www.example.com\")\n" +" (locations\n" +" (list\n" +" (nginx-location-configuration\n" +" (uri \"/path1\")\n" +" (body '(\"proxy_pass http://server-proxy;\"))))))))\n" +" (upstream-blocks\n" +" (list (nginx-upstream-configuration\n" +" (name \"server-proxy\")\n" +" (servers (list \"server1.example.com\"\n" +" \"server2.example.com\")))))))\n" +msgstr "" + +#. type: table +#: doc/guix.texi:15605 +msgid "If a configuration @var{file} is provided, this will be used, rather than generating a configuration file from the provided @code{log-directory}, @code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For proper operation, these arguments should match what is in @var{file} to ensure that the directories are created when the service is activated." +msgstr "" + +#. type: table +#: doc/guix.texi:15609 +msgid "This can be useful if you have an existing configuration file, or it's not possible to do what is required through the other parts of the nginx-configuration record." +msgstr "" + +#. type: item +#: doc/guix.texi:15610 +#, no-wrap +msgid "@code{server-names-hash-bucket-size} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15613 +msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line." +msgstr "" + +#. type: item +#: doc/guix.texi:15614 +#, no-wrap +msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15616 +msgid "Maximum bucket size for the server names hash tables." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15620 +#, no-wrap +msgid "{Data Type} nginx-server-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15623 +msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:15625 +#, no-wrap +msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15630 +msgid "Each @code{listen} directive sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept requests. Both address and port, or only address or only port can be specified. An address may also be a hostname, for example:" +msgstr "" + +#. type: example +#: doc/guix.texi:15633 +#, no-wrap +msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n" +msgstr "" + +#. type: item +#: doc/guix.texi:15635 +#, no-wrap +msgid "@code{server-name} (default: @code{(list 'default)})" +msgstr "" + +#. type: table +#: doc/guix.texi:15638 +msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server." +msgstr "" + +#. type: item +#: doc/guix.texi:15639 +#, no-wrap +msgid "@code{root} (default: @code{\"/srv/http\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:15641 +msgid "Root of the website nginx will serve." +msgstr "" + +#. type: item +#: doc/guix.texi:15642 +#, no-wrap +msgid "@code{locations} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:15646 +msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block." +msgstr "" + +#. type: item +#: doc/guix.texi:15647 +#, no-wrap +msgid "@code{index} (default: @code{(list \"index.html\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15650 +msgid "Index files to look for when clients ask for a directory. If it cannot be found, Nginx will send the list of files in the directory." +msgstr "" + +#. type: item +#: doc/guix.texi:15651 +#, no-wrap +msgid "@code{try-files} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:15654 +msgid "A list of files whose existence is checked in the specified order. @code{nginx} will use the first file it finds to process the request." +msgstr "" + +#. type: item +#: doc/guix.texi:15655 +#, no-wrap +msgid "@code{ssl-certificate} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15658 +msgid "Where to find the certificate for secure connections. Set it to @code{#f} if you don't have a certificate or you don't want to use HTTPS." +msgstr "" + +#. type: item +#: doc/guix.texi:15659 +#, no-wrap +msgid "@code{ssl-certificate-key} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15662 +msgid "Where to find the private key for secure connections. Set it to @code{#f} if you don't have a key or you don't want to use HTTPS." +msgstr "" + +#. type: item +#: doc/guix.texi:15663 +#, no-wrap +msgid "@code{server-tokens?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15665 +msgid "Whether the server should add its configuration to response." +msgstr "" + +#. type: item +#: doc/guix.texi:15666 +#, no-wrap +msgid "@code{raw-content} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:15668 +msgid "A list of raw lines added to the server block." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15672 +#, no-wrap +msgid "{Data Type} nginx-upstream-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15675 +msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:15679 +msgid "Name for this group of servers." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15680 +#, no-wrap +msgid "servers" +msgstr "" + +#. type: table +#: doc/guix.texi:15687 +msgid "Specify the addresses of the servers in the group. The address can be specified as a IP address (e.g. @samp{127.0.0.1}), domain name (e.g. @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15691 +#, no-wrap +msgid "{Data Type} nginx-location-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15694 +msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:15698 +msgid "URI which this location block matches." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:15700 +msgid "nginx-location-configuration body" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15700 doc/guix.texi:15721 +#, no-wrap +msgid "body" +msgstr "" + +#. type: table +#: doc/guix.texi:15707 +msgid "Body of the location block, specified as a list of strings. This can contain many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, the following directive would be specified in the body @samp{(list \"proxy_pass http://upstream-name;\")}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15711 +#, no-wrap +msgid "{Data Type} nginx-named-location-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15716 +msgid "Data type representing the configuration of an nginx named location block. Named location blocks are used for request redirection, and not used for regular request processing. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:15720 +msgid "Name to identify this location block." +msgstr "" + +#. type: table +#: doc/guix.texi:15726 +msgid "@xref{nginx-location-configuration body}, as the body for named location blocks can be used in a similar way to the @code{nginx-location-configuration body}. One restriction is that the body of a named location block cannot contain location blocks." +msgstr "" + +#. type: cindex +#: doc/guix.texi:15730 +#, no-wrap +msgid "fastcgi" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15731 +#, no-wrap +msgid "fcgiwrap" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15738 +msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15745 +msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process." +msgstr "" + +#. type: defvr +#: doc/guix.texi:15746 +#, no-wrap +msgid "{Scheme Variable} fcgiwrap-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:15748 +msgid "A service type for the @code{fcgiwrap} FastCGI proxy." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15750 +#, no-wrap +msgid "{Data Type} fcgiwrap-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15753 +msgid "Data type representing the configuration of the @code{fcgiwrap} serice. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:15754 +#, no-wrap +msgid "@code{package} (default: @code{fcgiwrap})" +msgstr "" + +#. type: table +#: doc/guix.texi:15756 +msgid "The fcgiwrap package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:15757 +#, no-wrap +msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})" +msgstr "" + +#. type: table +#: doc/guix.texi:15763 +msgid "The socket on which the @code{fcgiwrap} process should listen, as a string. Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} and @code{tcp6:[@var{ipv6_addr}]:port}." +msgstr "" + +#. type: item +#: doc/guix.texi:15764 +#, no-wrap +msgid "@code{user} (default: @code{fcgiwrap})" +msgstr "" + +#. type: itemx +#: doc/guix.texi:15765 +#, no-wrap +msgid "@code{group} (default: @code{fcgiwrap})" +msgstr "" + +#. type: table +#: doc/guix.texi:15770 +msgid "The user and group names, as strings, under which to run the @code{fcgiwrap} process. The @code{fastcgi} service will ensure that if the user asks for the specific user or group names @code{fcgiwrap} that the corresponding user and/or group is present on the system." +msgstr "" + +#. type: table +#: doc/guix.texi:15777 +msgid "It is possible to configure a FastCGI-backed web service to pass HTTP authentication information from the front-end to the back-end, and to allow @code{fcgiwrap} to run the back-end process as a corresponding local user. To enable this capability on the back-end., run @code{fcgiwrap} as the @code{root} user and group. Note that this capability also has to be configured on the front-end as well." +msgstr "" + +#. type: cindex +#: doc/guix.texi:15780 +#, no-wrap +msgid "php-fpm" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15783 +msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15785 +msgid "These features include:" +msgstr "" + +#. type: item +#: doc/guix.texi:15786 +#, no-wrap +msgid "Adaptive process spawning" +msgstr "" + +#. type: item +#: doc/guix.texi:15787 +#, no-wrap +msgid "Basic statistics (similar to Apache's mod_status)" +msgstr "" + +#. type: item +#: doc/guix.texi:15788 +#, no-wrap +msgid "Advanced process management with graceful stop/start" +msgstr "" + +#. type: item +#: doc/guix.texi:15789 +#, no-wrap +msgid "Ability to start workers with different uid/gid/chroot/environment" +msgstr "" + +#. type: itemize +#: doc/guix.texi:15791 +msgid "and different php.ini (replaces safe_mode)" +msgstr "" + +#. type: item +#: doc/guix.texi:15791 +#, no-wrap +msgid "Stdout & stderr logging" +msgstr "" + +#. type: item +#: doc/guix.texi:15792 +#, no-wrap +msgid "Emergency restart in case of accidental opcode cache destruction" +msgstr "" + +#. type: item +#: doc/guix.texi:15793 +#, no-wrap +msgid "Accelerated upload support" +msgstr "" + +#. type: item +#: doc/guix.texi:15794 +#, no-wrap +msgid "Support for a \"slowlog\"" +msgstr "" + +#. type: item +#: doc/guix.texi:15795 +#, no-wrap +msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -" +msgstr "" + +#. type: itemize +#: doc/guix.texi:15798 +msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15800 +msgid "... and much more." +msgstr "" + +#. type: defvr +#: doc/guix.texi:15801 +#, no-wrap +msgid "{Scheme Variable} php-fpm-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:15803 +msgid "A Service type for @code{php-fpm}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15805 +#, no-wrap +msgid "{Data Type} php-fpm-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15807 +msgid "Data Type for php-fpm service configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:15808 +#, no-wrap +msgid "@code{php} (default: @code{php})" +msgstr "" + +#. type: table +#: doc/guix.texi:15810 +msgid "The php package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:15810 +#, no-wrap +msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15812 +msgid "The address on which to accept FastCGI requests. Valid syntaxes are:" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15813 +#, no-wrap +msgid "\"ip.add.re.ss:port\"" +msgstr "" + +#. type: table +#: doc/guix.texi:15815 +msgid "Listen on a TCP socket to a specific address on a specific port." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15815 +#, no-wrap +msgid "\"port\"" +msgstr "" + +#. type: table +#: doc/guix.texi:15817 +msgid "Listen on a TCP socket to all addresses on a specific port." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15817 +#, no-wrap +msgid "\"/path/to/unix/socket\"" +msgstr "" + +#. type: table +#: doc/guix.texi:15819 +msgid "Listen on a unix socket." +msgstr "" + +#. type: item +#: doc/guix.texi:15821 +#, no-wrap +msgid "@code{user} (default: @code{php-fpm})" +msgstr "" + +#. type: table +#: doc/guix.texi:15823 +msgid "User who will own the php worker processes." +msgstr "" + +#. type: item +#: doc/guix.texi:15823 +#, no-wrap +msgid "@code{group} (default: @code{php-fpm})" +msgstr "" + +#. type: table +#: doc/guix.texi:15825 +msgid "Group of the worker processes." +msgstr "" + +#. type: item +#: doc/guix.texi:15825 +#, no-wrap +msgid "@code{socket-user} (default: @code{php-fpm})" +msgstr "" + +#. type: table +#: doc/guix.texi:15827 +msgid "User who can speak to the php-fpm socket." +msgstr "" + +#. type: item +#: doc/guix.texi:15827 +#, no-wrap +msgid "@code{socket-group} (default: @code{php-fpm})" +msgstr "" + +#. type: table +#: doc/guix.texi:15829 +msgid "Group that can speak to the php-fpm socket." +msgstr "" + +#. type: item +#: doc/guix.texi:15829 +#, no-wrap +msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15832 +msgid "The process id of the php-fpm process is written to this file once the service has started." +msgstr "" + +#. type: item +#: doc/guix.texi:15832 +#, no-wrap +msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15834 +msgid "Log for the php-fpm master process." +msgstr "" + +#. type: item +#: doc/guix.texi:15834 +#, no-wrap +msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})" +msgstr "" + +#. type: table +#: doc/guix.texi:15837 +msgid "Detailed settings for the php-fpm process manager. Must be either:" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15838 +#, no-wrap +msgid "" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15839 +#, no-wrap +msgid "" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:15840 +#, no-wrap +msgid "" +msgstr "" + +#. type: item +#: doc/guix.texi:15842 +#, no-wrap +msgid "@code{display-errors} (default @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15847 +msgid "Determines whether php errors and warning should be sent to clients and displayed in their browsers. This is useful for local php development, but a security risk for public sites, as error messages can reveal passwords and personal data." +msgstr "" + +#. type: item +#: doc/guix.texi:15847 +#, no-wrap +msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:15850 +msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging." +msgstr "" + +#. type: item +#: doc/guix.texi:15850 +#, no-wrap +msgid "@code{file} (default @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:15853 +msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15856 +#, no-wrap +msgid "{Data type} php-fpm-dynamic-process-manager-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15860 +msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on it's configured limits." +msgstr "" + +#. type: item +#: doc/guix.texi:15861 doc/guix.texi:15877 doc/guix.texi:15887 +#, no-wrap +msgid "@code{max-children} (default: @code{5})" +msgstr "" + +#. type: table +#: doc/guix.texi:15863 doc/guix.texi:15879 doc/guix.texi:15889 +msgid "Maximum of worker processes." +msgstr "" + +#. type: item +#: doc/guix.texi:15863 +#, no-wrap +msgid "@code{start-servers} (default: @code{2})" +msgstr "" + +#. type: table +#: doc/guix.texi:15865 +msgid "How many worker processes should be started on start-up." +msgstr "" + +#. type: item +#: doc/guix.texi:15865 +#, no-wrap +msgid "@code{min-spare-servers} (default: @code{1})" +msgstr "" + +#. type: table +#: doc/guix.texi:15867 +msgid "How many spare worker processes should be kept around at minimum." +msgstr "" + +#. type: item +#: doc/guix.texi:15867 +#, no-wrap +msgid "@code{max-spare-servers} (default: @code{3})" +msgstr "" + +#. type: table +#: doc/guix.texi:15869 +msgid "How many spare worker processes should be kept around at maximum." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15872 +#, no-wrap +msgid "{Data type} php-fpm-static-process-manager-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15876 +msgid "Data Type for the @code{static} php-fpm process manager. With the @code{static} process manager, an unchanging number of worker processes are created." +msgstr "" + +#. type: deftp +#: doc/guix.texi:15882 +#, no-wrap +msgid "{Data type} php-fpm-on-demand-process-manager-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:15886 +msgid "Data Type for the @code{on-demand} php-fpm process manager. With the @code{on-demand} process manager, worker processes are only created as requests arrive." +msgstr "" + +#. type: item +#: doc/guix.texi:15889 +#, no-wrap +msgid "@code{process-idle-timeout} (default: @code{10})" +msgstr "" + +#. type: table +#: doc/guix.texi:15891 +msgid "The time in seconds after which a process with no requests is killed." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15895 +#, no-wrap +msgid "{Scheme Procedure} nginx-php-fpm-location @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15901 +msgid "[#:nginx-package nginx] @ [socket (string-append \"/var/run/php\" @ (version-major (package-version php)) @ \"-fpm.sock\")] A helper function to quickly add php to an @code{nginx-server-configuration}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15904 +msgid "A simple services setup for nginx with php can look like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:15917 +#, no-wrap +msgid "" +"(services (cons* (dhcp-client-service)\n" +" (service php-fpm-service-type)\n" +" (service nginx-service-type\n" +" (nginx-server-configuration\n" +" (server-name '(\"example.com\"))\n" +" (root \"/srv/http/\")\n" +" (locations\n" +" (list (nginx-php-location)))\n" +" (https-port #f)\n" +" (ssl-certificate #f)\n" +" (ssl-certificate-key #f)))\n" +" %base-services))\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15919 +#, no-wrap +msgid "cat-avatar-generator" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15923 +msgid "The cat avatar generator is a simple service to demonstrate the use of php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for instance the hash of a user's email address." +msgstr "" + +#. type: deffn +#: doc/guix.texi:15924 +#, no-wrap +msgid "{Scheme Procedure} cat-avatar-generator-serice @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:15932 +msgid "[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] Returns an nginx-server-configuration that inherits @code{configuration}. It extends the nginx configuration to add a server block that serves @code{package}, a version of cat-avatar-generator. During execution, cat-avatar-generator will be able to use @code{cache-dir} as its cache directory." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15935 +msgid "A simple setup for cat-avatar-generator can look like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:15942 +#, no-wrap +msgid "" +"(services (cons* (cat-avatar-generator-service\n" +" #:configuration\n" +" (nginx-server-configuration\n" +" (server-name '(\"example.com\"))))\n" +" ...\n" +" %base-services))\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15947 +#, no-wrap +msgid "Web" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15948 +#, no-wrap +msgid "HTTP, HTTPS" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15949 +#, no-wrap +msgid "Let's Encrypt" +msgstr "" + +#. type: cindex +#: doc/guix.texi:15950 +#, no-wrap +msgid "TLS certificates" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15957 +msgid "The @code{(gnu services certbot)} module provides a service to automatically obtain a valid TLS certificate from the Let's Encrypt certificate authority. These certificates can then be used to serve content securely over HTTPS or other TLS-based protocols, with the knowledge that the client will be able to verify the server's authenticity." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15969 +msgid "@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} tool to automate the certification process. This tool first securely generates a key on the server. It then makes a request to the Let's Encrypt certificate authority (CA) to sign the key. The CA checks that the request originates from the host in question by using a challenge-response protocol, requiring the server to provide its response over HTTP. If that protocol completes successfully, the CA signs the key, resulting in a certificate. That certificate is valid for a limited period of time, and therefore to continue to provide TLS services, the server needs to periodically ask the CA to renew its signature." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15976 +msgid "The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the renewal (e.g. reloading services, copying keys with different permissions)." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15982 +msgid "Certbot is run twice a day, at a random minute within the hour. It won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your service a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:15986 +msgid "By using this service, you agree to the ACME Subscriber Agreement, which can be found there: @url{https://acme-v01.api.letsencrypt.org/directory}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:15987 +#, no-wrap +msgid "{Scheme Variable} certbot-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:15990 +msgid "A service type for the @code{certbot} Let's Encrypt client. Its value must be a @code{certbot-configuration} record as in this example:" +msgstr "" + +#. type: example +#: doc/guix.texi:15997 +#, no-wrap +msgid "" +"(define %nginx-deploy-hook\n" +" (program-file\n" +" \"nginx-deploy-hook\"\n" +" #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n" +" (kill pid SIGHUP))))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:16008 +#, no-wrap +msgid "" +"(service certbot-service-type\n" +" (certbot-configuration\n" +" (email \"foo@@example.net\")\n" +" (certificates\n" +" (list\n" +" (certificate-configuration\n" +" (domains '(\"example.net\" \"www.example.net\"))\n" +" (deploy-hook %nginx-deploy-hook))\n" +" (certificate-configuration\n" +" (domains '(\"bar.example.net\")))))))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:16011 +msgid "See below for details about @code{certbot-configuration}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16013 +#, no-wrap +msgid "{Data Type} certbot-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16016 +msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16018 +#, no-wrap +msgid "@code{package} (default: @code{certbot})" +msgstr "" + +#. type: table +#: doc/guix.texi:16020 +msgid "The certbot package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:16021 +#, no-wrap +msgid "@code{webroot} (default: @code{/var/www})" +msgstr "" + +#. type: table +#: doc/guix.texi:16024 +msgid "The directory from which to serve the Let's Encrypt challenge/response files." +msgstr "" + +#. type: item +#: doc/guix.texi:16025 +#, no-wrap +msgid "@code{certificates} (default: @code{()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16029 +msgid "A list of @code{certificates-configuration}s for which to generate certificates and request signatures. Each certificate has a @code{name} and several @code{domains}." +msgstr "" + +#. type: table +#: doc/guix.texi:16033 +msgid "Mandatory email used for registration, recovery contact, and important account notifications." +msgstr "" + +#. type: item +#: doc/guix.texi:16034 +#, no-wrap +msgid "@code{rsa-key-size} (default: @code{2048})" +msgstr "" + +#. type: table +#: doc/guix.texi:16036 +msgid "Size of the RSA key." +msgstr "" + +#. type: item +#: doc/guix.texi:16037 +#, no-wrap +msgid "@code{default-location} (default: @i{see below})" +msgstr "" + +#. type: table +#: doc/guix.texi:16046 +msgid "The default @code{nginx-location-configuration}. Because @code{certbot} needs to be able to serve challenges and responses, it needs to be able to run a web server. It does so by extending the @code{nginx} web service with an @code{nginx-server-configuration} listening on the @var{domains} on port 80, and which has a @code{nginx-location-configuration} for the @code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web Services}, for more on these nginx configuration data types." +msgstr "" + +#. type: table +#: doc/guix.texi:16050 +msgid "Requests to other URL paths will be matched by the @code{default-location}, which if present is added to all @code{nginx-server-configuration}s." +msgstr "" + +#. type: table +#: doc/guix.texi:16054 +msgid "By default, the @code{default-location} will issue a redirect from @code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving you to define what to serve on your site via @code{https}." +msgstr "" + +#. type: table +#: doc/guix.texi:16056 +msgid "Pass @code{#f} to not issue a default location." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16059 +#, no-wrap +msgid "{Data Type} certificate-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16062 +msgid "Data type representing the configuration of a certificate. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16064 +#, no-wrap +msgid "@code{name} (default: @i{see below})" +msgstr "" + +#. type: table +#: doc/guix.texi:16068 +msgid "This name is used by Certbot for housekeeping and in file paths; it doesn't affect the content of the certificate itself. To see certificate names, run @code{certbot certificates}." +msgstr "" + +#. type: table +#: doc/guix.texi:16070 +msgid "Its default is the first provided domain." +msgstr "" + +#. type: item +#: doc/guix.texi:16071 +#, no-wrap +msgid "@code{domains} (default: @code{()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16074 +msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate." +msgstr "" + +#. type: item +#: doc/guix.texi:16075 +#, no-wrap +msgid "@code{deploy-hook} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16083 +msgid "Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable @code{$RENEWED_LINEAGE} will point to the config live subdirectory (for example, @samp{\"/etc/letsencrypt/live/example.com\"}) containing the new certificates and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a space-delimited list of renewed certificate domains (for example, @samp{\"example.com www.example.com\"}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16090 +msgid "For each @code{certificate-configuration}, the certificate is saved to @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:16092 +#, no-wrap +msgid "DNS (domain name system)" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16093 +#, no-wrap +msgid "domain name system (DNS)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16099 +msgid "The @code{(gnu services dns)} module provides services related to the @dfn{domain name system} (DNS). It provides a server service for hosting an @emph{authoritative} DNS server for multiple zones, slave or master. This service uses @uref{https://www.knot-dns.cz/, Knot DNS}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16102 +msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:16109 +#, no-wrap +msgid "" +"(define-zone-entries example.org.zone\n" +";; Name TTL Class Type Data\n" +" (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n" +" (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n" +" (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:16116 +#, no-wrap +msgid "" +"(define master-zone\n" +" (knot-zone-configuration\n" +" (domain \"example.org\")\n" +" (zone (zone-file\n" +" (origin \"example.org\")\n" +" (entries example.org.zone)))))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:16122 +#, no-wrap +msgid "" +"(define slave-zone\n" +" (knot-zone-configuration\n" +" (domain \"plop.org\")\n" +" (dnssec-policy \"default\")\n" +" (master (list \"plop-master\"))))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:16127 +#, no-wrap +msgid "" +"(define plop-master\n" +" (knot-remote-configuration\n" +" (id \"plop-master\")\n" +" (address (list \"208.76.58.171\"))))\n" +"\n" +msgstr "" + +#. type: lisp +#: doc/guix.texi:16136 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; ...\n" +" (services (cons* (service knot-service-type\n" +" (knot-configuration\n" +" (remotes (list plop-master))\n" +" (zones (list master-zone slave-zone))))\n" +" ;; ...\n" +" %base-services)))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:16138 +#, no-wrap +msgid "{Scheme Variable} knot-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:16140 +msgid "This is the type for the Knot DNS server." +msgstr "" + +#. type: deffn +#: doc/guix.texi:16148 +msgid "Knot DNS is an authoritative DNS server, meaning that it can serve multiple zones, that is to say domain names you would buy from a registrar. This server is not a resolver, meaning that it can only resolve names for which it is authoritative. This server can be configured to serve zones as a master server or a slave server as a per-zone basis. Slave zones will get their data from masters, and will serve it as an authoritative server. From the point of view of a resolver, there is no difference between master and slave." +msgstr "" + +#. type: deffn +#: doc/guix.texi:16150 +msgid "The following data types are used to configure the Knot DNS server:" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16152 +#, no-wrap +msgid "{Data Type} knot-key-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16155 +msgid "Data type representing a key. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16157 doc/guix.texi:16177 doc/guix.texi:16292 +#: doc/guix.texi:16318 doc/guix.texi:16353 +#, no-wrap +msgid "@code{id} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16160 +msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty." +msgstr "" + +#. type: item +#: doc/guix.texi:16161 +#, no-wrap +msgid "@code{algorithm} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16165 +msgid "The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} and @code{'hmac-sha512}." +msgstr "" + +#. type: item +#: doc/guix.texi:16166 +#, no-wrap +msgid "@code{secret} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16168 +msgid "The secret key itself." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16172 +#, no-wrap +msgid "{Data Type} knot-acl-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16175 +msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:16180 +msgid "An identifier for ether configuration fields to refer to this key. IDs must be unique and must not be empty." +msgstr "" + +#. type: item +#: doc/guix.texi:16181 doc/guix.texi:16296 +#, no-wrap +msgid "@code{address} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16185 +msgid "An ordered list of IP addresses, network subnets, or network ranges represented with strings. The query must match one of them. Empty value means that address match is not required." +msgstr "" + +#. type: item +#: doc/guix.texi:16186 +#, no-wrap +msgid "@code{key} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16190 +msgid "An ordered list of references to keys represented with strings. The string must match a key ID defined in a @code{knot-key-configuration}. No key means that a key is not require to match that ACL." +msgstr "" + +#. type: item +#: doc/guix.texi:16191 +#, no-wrap +msgid "@code{action} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16195 +msgid "An ordered list of actions that are permitted or forbidden by this ACL. Possible values are lists of zero or more elements from @code{'transfer}, @code{'notify} and @code{'update}." +msgstr "" + +#. type: item +#: doc/guix.texi:16196 +#, no-wrap +msgid "@code{deny?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16199 +msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16203 +#, no-wrap +msgid "{Data Type} zone-entry" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16206 +msgid "Data type represnting a record entry in a zone file. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16208 +#, no-wrap +msgid "@code{name} (default: @code{\"@@\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16214 +msgid "The name of the record. @code{\"@@\"} refers to the origin of the zone. Names are relative to the origin of the zone. For example, in the @code{example.org} zone, @code{\"ns.example.org\"} actually refers to @code{ns.example.org.example.org}. Names ending with a dot are absolute, which means that @code{\"ns.example.org.\"} refers to @code{ns.example.org}." +msgstr "" + +#. type: item +#: doc/guix.texi:16215 +#, no-wrap +msgid "@code{ttl} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16217 +msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used." +msgstr "" + +#. type: item +#: doc/guix.texi:16218 +#, no-wrap +msgid "@code{class} (default: @code{\"IN\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16221 +msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}." +msgstr "" + +#. type: item +#: doc/guix.texi:16222 +#, no-wrap +msgid "@code{type} (default: @code{\"A\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16226 +msgid "The type of the record. Common types include A (IPv4 address), AAAA (IPv6 address), NS (Name Server) and MX (Mail eXchange). Many other types are defined." +msgstr "" + +#. type: item +#: doc/guix.texi:16227 +#, no-wrap +msgid "@code{data} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16231 +msgid "The data contained in the record. For instance an IP address associated with an A record, or a domain name associated with an NS record. Remember that domain names are relative to the origin unless they end with a dot." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16235 +#, no-wrap +msgid "{Data Type} zone-file" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16238 +msgid "Data type representing the content of a zone file. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:16247 +msgid "The list of entries. The SOA record is taken care of, so you don't need to put it in the list of entries. This list should probably contain an entry for your primary authoritative DNS server. Other than using a list of entries directly, you can use @code{define-zone-entries} to define a object containing the list of entries more easily, that you can later pass to the @code{entries} field of the @code{zone-file}." +msgstr "" + +#. type: item +#: doc/guix.texi:16248 +#, no-wrap +msgid "@code{origin} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16250 +msgid "The name of your zone. This parameter cannot be empty." +msgstr "" + +#. type: item +#: doc/guix.texi:16251 +#, no-wrap +msgid "@code{ns} (default: @code{\"ns\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16256 +msgid "The domain of your primary authoritative DNS server. The name is relative to the origin, unless it ends with a dot. It is mandatory that this primary DNS server corresponds to an NS record in the zone and that it is associated to an IP address in the list of entries." +msgstr "" + +#. type: item +#: doc/guix.texi:16257 +#, no-wrap +msgid "@code{mail} (default: @code{\"hostmaster\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16260 +msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{@@}." +msgstr "" + +#. type: item +#: doc/guix.texi:16261 +#, no-wrap +msgid "@code{serial} (default: @code{1})" +msgstr "" + +#. type: table +#: doc/guix.texi:16265 +msgid "The serial number of the zone. As this is used to keep track of changes by both slaves and resolvers, it is mandatory that it @emph{never} decreases. Always increment it when you make a change in your zone." +msgstr "" + +#. type: item +#: doc/guix.texi:16266 +#, no-wrap +msgid "@code{refresh} (default: @code{(* 2 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16270 +msgid "The frequency at which slaves will do a zone transfer. This value is a number of seconds. It can be computed by multiplications or with @code{(string->duration)}." +msgstr "" + +#. type: item +#: doc/guix.texi:16271 +#, no-wrap +msgid "@code{retry} (default: @code{(* 15 60)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16274 +msgid "The period after which a slave will retry to contact its master when it fails to do so a first time." +msgstr "" + +#. type: item +#: doc/guix.texi:16275 +#, no-wrap +msgid "@code{expiry} (default: @code{(* 14 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16279 +msgid "Default TTL of records. Existing records are considered correct for at most this amount of time. After this period, resolvers will invalidate their cache and check again that it still exists." +msgstr "" + +#. type: item +#: doc/guix.texi:16280 +#, no-wrap +msgid "@code{nx} (default: @code{3600})" +msgstr "" + +#. type: table +#: doc/guix.texi:16283 +msgid "Default TTL of inexistant records. This delay is usually short because you want your new domains to reach everyone quickly." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16287 +#, no-wrap +msgid "{Data Type} knot-remote-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16290 +msgid "Data type representing a remote configuration. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:16295 +msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty." +msgstr "" + +#. type: table +#: doc/guix.texi:16300 +msgid "An ordered list of destination IP addresses. Addresses are tried in sequence. An optional port can be given with the @@ separator. For instance: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Default port is 53." +msgstr "" + +#. type: item +#: doc/guix.texi:16301 +#, no-wrap +msgid "@code{via} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16305 +msgid "An ordered list of source IP addresses. An empty list will have Knot choose an appropriate source IP. An optional port can be given with the @@ separator. The default is to choose at random." +msgstr "" + +#. type: item +#: doc/guix.texi:16306 +#, no-wrap +msgid "@code{key} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16309 +msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16313 +#, no-wrap +msgid "{Data Type} knot-keystore-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16316 +msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:16320 +msgid "The id of the keystore. It must not be empty." +msgstr "" + +#. type: item +#: doc/guix.texi:16321 +#, no-wrap +msgid "@code{backend} (default: @code{'pem})" +msgstr "" + +#. type: table +#: doc/guix.texi:16323 +msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}." +msgstr "" + +#. type: item +#: doc/guix.texi:16324 +#, no-wrap +msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16328 +msgid "The configuration string of the backend. An example for the PKCS#11 is: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. For the pem backend, the string reprensents a path in the file system." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16332 +#, no-wrap +msgid "{Data Type} knot-policy-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16336 +msgid "Data type representing a dnssec policy. Knot DNS is able to automatically sign your zones. It can either generate and manage your keys automatically or use keys that you generate." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16343 +msgid "Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that is used to sign the second, and a Zone Signing Key (ZSK) that is used to sign the zone. In order to be trusted, the KSK needs to be present in the parent zone (usually a top-level domain). If your registrar supports dnssec, you will have to send them your KSK's hash so they can add a DS record in their zone. This is not automated and need to be done each time you change your KSK." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16349 +msgid "The policy also defines the lifetime of keys. Usually, ZSK can be changed easily and use weaker cryptographic functions (they use lower parameters) in order to sign records quickly, so they are changed often. The KSK however requires manual interaction with the registrar, so they are changed less often and use stronger parameters because they sign only one record." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16351 +msgid "This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:16355 +msgid "The id of the policy. It must not be empty." +msgstr "" + +#. type: item +#: doc/guix.texi:16356 +#, no-wrap +msgid "@code{keystore} (default: @code{\"default\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16361 +msgid "A reference to a keystore, that is a string containing the identifier of a keystore defined in a @code{knot-keystore-configuration} field. The @code{\"default\"} identifier means the default keystore (a kasp database that was setup by this service)." +msgstr "" + +#. type: item +#: doc/guix.texi:16362 +#, no-wrap +msgid "@code{manual?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16364 +msgid "Whether the key management is manual or automatic." +msgstr "" + +#. type: item +#: doc/guix.texi:16365 +#, no-wrap +msgid "@code{single-type-signing?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16367 +msgid "When @code{#t}, use the Single-Type Signing Scheme." +msgstr "" + +#. type: item +#: doc/guix.texi:16368 +#, no-wrap +msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16370 +msgid "An algorithm of signing keys and issued signatures." +msgstr "" + +#. type: item +#: doc/guix.texi:16371 +#, no-wrap +msgid "@code{ksk-size} (default: @code{256})" +msgstr "" + +#. type: table +#: doc/guix.texi:16374 +msgid "The length of the KSK. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms." +msgstr "" + +#. type: item +#: doc/guix.texi:16375 +#, no-wrap +msgid "@code{zsk-size} (default: @code{256})" +msgstr "" + +#. type: table +#: doc/guix.texi:16378 +msgid "The length of the ZSK. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms." +msgstr "" + +#. type: item +#: doc/guix.texi:16379 +#, no-wrap +msgid "@code{dnskey-ttl} (default: @code{'default})" +msgstr "" + +#. type: table +#: doc/guix.texi:16382 +msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL." +msgstr "" + +#. type: item +#: doc/guix.texi:16383 +#, no-wrap +msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16385 +msgid "The period between ZSK publication and the next rollover initiation." +msgstr "" + +#. type: item +#: doc/guix.texi:16386 +#, no-wrap +msgid "@code{propagation-delay} (default: @code{(* 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16389 +msgid "An extra delay added for each key rollover step. This value should be high enough to cover propagation of data from the master server to all slaves." +msgstr "" + +#. type: item +#: doc/guix.texi:16390 +#, no-wrap +msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16392 +msgid "A validity period of newly issued signatures." +msgstr "" + +#. type: item +#: doc/guix.texi:16393 +#, no-wrap +msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16395 +msgid "A period how long before a signature expiration the signature will be refreshed." +msgstr "" + +#. type: item +#: doc/guix.texi:16396 +#, no-wrap +msgid "@code{nsec3?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16398 +msgid "When @code{#t}, NSEC3 will be used instead of NSEC." +msgstr "" + +#. type: item +#: doc/guix.texi:16399 +#, no-wrap +msgid "@code{nsec3-iterations} (default: @code{5})" +msgstr "" + +#. type: table +#: doc/guix.texi:16401 +msgid "The number of additional times the hashing is performed." +msgstr "" + +#. type: item +#: doc/guix.texi:16402 +#, no-wrap +msgid "@code{nsec3-salt-length} (default: @code{8})" +msgstr "" + +#. type: table +#: doc/guix.texi:16405 +msgid "The length of a salt field in octets, which is appended to the original owner name before hashing." +msgstr "" + +#. type: item +#: doc/guix.texi:16406 +#, no-wrap +msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16408 +msgid "The validity period of newly issued salt field." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16412 +#, no-wrap +msgid "{Data Type} knot-zone-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16415 +msgid "Data type representing a zone served by Knot. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16417 +#, no-wrap +msgid "@code{domain} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16419 +msgid "The domain served by this configuration. It must not be empty." +msgstr "" + +#. type: item +#: doc/guix.texi:16420 +#, no-wrap +msgid "@code{file} (default: @code{\"\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16423 +msgid "The file where this zone is saved. This parameter is ignored by master zones. Empty means default location that depends on the domain name." +msgstr "" + +#. type: item +#: doc/guix.texi:16424 +#, no-wrap +msgid "@code{zone} (default: @code{(zone-file)})" +msgstr "" + +#. type: table +#: doc/guix.texi:16427 +msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record." +msgstr "" + +#. type: item +#: doc/guix.texi:16428 +#, no-wrap +msgid "@code{master} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16431 +msgid "A list of master remotes. When empty, this zone is a master. When set, this zone is a slave. This is a list of remotes identifiers." +msgstr "" + +#. type: item +#: doc/guix.texi:16432 +#, no-wrap +msgid "@code{ddns-master} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16435 +msgid "The main master. When empty, it defaults to the first master in the list of masters." +msgstr "" + +#. type: item +#: doc/guix.texi:16436 +#, no-wrap +msgid "@code{notify} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16438 +msgid "A list of slave remote identifiers." +msgstr "" + +#. type: item +#: doc/guix.texi:16439 +#, no-wrap +msgid "@code{acl} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16441 +msgid "A list of acl identifiers." +msgstr "" + +#. type: item +#: doc/guix.texi:16442 +#, no-wrap +msgid "@code{semantic-checks?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16444 +msgid "When set, this adds more semantic checks to the zone." +msgstr "" + +#. type: item +#: doc/guix.texi:16445 +#, no-wrap +msgid "@code{disable-any?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16447 +msgid "When set, this forbids queries of the ANY type." +msgstr "" + +#. type: item +#: doc/guix.texi:16448 +#, no-wrap +msgid "@code{zonefile-sync} (default: @code{0})" +msgstr "" + +#. type: table +#: doc/guix.texi:16451 +msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization." +msgstr "" + +#. type: item +#: doc/guix.texi:16452 +#, no-wrap +msgid "@code{serial-policy} (default: @code{'increment})" +msgstr "" + +#. type: table +#: doc/guix.texi:16454 +msgid "A policy between @code{'increment} and @code{'unixtime}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16458 +#, no-wrap +msgid "{Data Type} knot-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16461 +msgid "Data type representing the Knot configuration. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16463 +#, no-wrap +msgid "@code{knot} (default: @code{knot})" +msgstr "" + +#. type: table +#: doc/guix.texi:16465 +msgid "The Knot package." +msgstr "" + +#. type: item +#: doc/guix.texi:16466 +#, no-wrap +msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16468 +msgid "The run directory. This directory will be used for pid file and sockets." +msgstr "" + +#. type: item +#: doc/guix.texi:16469 +#, no-wrap +msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16471 doc/guix.texi:16474 +msgid "An ip address on which to listen." +msgstr "" + +#. type: item +#: doc/guix.texi:16472 +#, no-wrap +msgid "@code{listen-v6} (default: @code{\"::\"})" +msgstr "" + +#. type: item +#: doc/guix.texi:16475 +#, no-wrap +msgid "@code{listen-port} (default: @code{53})" +msgstr "" + +#. type: table +#: doc/guix.texi:16477 +msgid "A port on which to listen." +msgstr "" + +#. type: item +#: doc/guix.texi:16478 +#, no-wrap +msgid "@code{keys} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16480 +msgid "The list of knot-key-configuration used by this configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:16481 +#, no-wrap +msgid "@code{acls} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16483 +msgid "The list of knot-acl-configuration used by this configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:16484 +#, no-wrap +msgid "@code{remotes} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16486 +msgid "The list of knot-remote-configuration used by this configuration." +msgstr "" + +#. type: item +#: doc/guix.texi:16487 +#, no-wrap +msgid "@code{zones} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:16489 +msgid "The list of knot-zone-configuration used by this configuration." +msgstr "" + +#. type: cindex +#: doc/guix.texi:16496 +#, no-wrap +msgid "VPN (virtual private network)" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16497 +#, no-wrap +msgid "virtual private network (VPN)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16503 +msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs). It provides a @emph{client} service for your machine to connect to a VPN, and a @emph{servire} service for your machine to host a VPN. Both services use @uref{https://openvpn.net/, OpenVPN}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:16504 +#, no-wrap +msgid "{Scheme Procedure} openvpn-client-service @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:16506 +msgid "[#:config (openvpn-client-configuration)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:16508 +msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client." +msgstr "" + +#. type: deffn +#: doc/guix.texi:16510 +#, no-wrap +msgid "{Scheme Procedure} openvpn-server-service @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:16512 +msgid "[#:config (openvpn-server-configuration)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:16514 +msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server." +msgstr "" + +#. type: deffn +#: doc/guix.texi:16516 +msgid "Both can be run simultaneously." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16521 +msgid "Available @code{openvpn-client-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16522 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} package openvpn" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16524 doc/guix.texi:16660 +msgid "The OpenVPN package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16527 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} string pid-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16529 doc/guix.texi:16665 +msgid "The OpenVPN pid file." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16531 doc/guix.texi:16667 +msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16534 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} proto proto" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16537 doc/guix.texi:16673 +msgid "The protocol (UDP or TCP) used to open a channel between clients and servers." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16539 doc/guix.texi:16675 +msgid "Defaults to @samp{udp}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16542 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} dev dev" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16544 doc/guix.texi:16680 +msgid "The device type used to represent the VPN connection." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16546 doc/guix.texi:16682 +msgid "Defaults to @samp{tun}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16549 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} string ca" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16551 doc/guix.texi:16687 +msgid "The certificate authority to check connections against." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16553 doc/guix.texi:16689 +msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16556 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} string cert" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16559 doc/guix.texi:16695 +msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16561 doc/guix.texi:16697 +msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16564 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} string key" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16567 doc/guix.texi:16703 +msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16569 doc/guix.texi:16705 +msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16572 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16574 doc/guix.texi:16710 +msgid "Whether to use the lzo compression algorithm." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16579 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16581 doc/guix.texi:16717 +msgid "Don't re-read key files across SIGUSR1 or --ping-restart." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16586 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16589 doc/guix.texi:16725 +msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16594 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} number verbosity" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16596 doc/guix.texi:16732 +msgid "Verbosity level." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16598 doc/guix.texi:16734 doc/guix.texi:18011 +#: doc/guix.texi:18234 +msgid "Defaults to @samp{3}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16601 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16604 doc/guix.texi:16740 +msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16609 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16611 +msgid "Whether to check the server certificate has server usage extension." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16616 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} bind bind?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16618 +msgid "Bind to a specific local port number." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16623 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16625 +msgid "Retry resolving server address." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16630 +#, no-wrap +msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16632 +msgid "A list of remote servers to connect to." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16636 +msgid "Available @code{openvpn-remote-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16637 +#, no-wrap +msgid "{@code{openvpn-remote-configuration} parameter} string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16639 +msgid "Server name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16641 +msgid "Defaults to @samp{\"my-server\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16644 +#, no-wrap +msgid "{@code{openvpn-remote-configuration} parameter} number port" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16646 +msgid "Port number the server listens to." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16648 doc/guix.texi:16749 +msgid "Defaults to @samp{1194}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16657 +msgid "Available @code{openvpn-server-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16658 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} package openvpn" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16663 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string pid-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16670 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} proto proto" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16678 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} dev dev" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16685 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string ca" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16692 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string cert" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16700 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string key" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16708 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16715 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16722 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16730 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} number verbosity" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16737 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16745 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} number port" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16747 +msgid "Specifies the port number on which the server listens." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16752 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} ip-mask server" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16754 +msgid "An ip and mask specifying the subnet inside the virtual network." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16756 +msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16759 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16761 +msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16766 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string dh" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16768 +msgid "The Diffie-Hellman parameters file." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16770 +msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16773 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16775 +msgid "The file that records client IPs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16777 +msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16780 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16782 +msgid "When true, the server will act as a gateway for its clients." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16787 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16789 +msgid "When true, clients are allowed to talk to each other inside the VPN." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16794 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16800 +msgid "Causes ping-like messages to be sent back and forth over the link so that each side knows when the other side has gone down. @code{keepalive} requires a pair. The first element is the period of the ping sending, and the second element is the timeout before considering the other side down." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16803 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} number max-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16805 +msgid "The maximum number of clients." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16810 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} string status" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16813 +msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16815 +msgid "Defaults to @samp{\"/var/run/openvpn/status\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16818 +#, no-wrap +msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16820 +msgid "The list of configuration for some clients." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16824 +msgid "Available @code{openvpn-ccd-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16825 +#, no-wrap +msgid "{@code{openvpn-ccd-configuration} parameter} string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16827 +msgid "Client name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16829 +msgid "Defaults to @samp{\"client\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16832 +#, no-wrap +msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16834 +msgid "Client own network" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16839 +#, no-wrap +msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:16841 +msgid "Client VPN IP." +msgstr "" + +#. type: cindex +#: doc/guix.texi:16854 +#, no-wrap +msgid "NFS" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16859 +msgid "The @code{(gnu services nfs)} module provides the following services, which are most commonly used in relation to mounting or exporting directory trees as @dfn{network file systems} (NFS)." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:16860 +#, no-wrap +msgid "RPC Bind Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16861 +#, no-wrap +msgid "rpcbind" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16867 +msgid "The RPC Bind service provides a facility to map program numbers into universal addresses. Many NFS related services use this facility. Hence it is automatically started when a dependent service starts." +msgstr "" + +#. type: defvr +#: doc/guix.texi:16868 +#, no-wrap +msgid "{Scheme Variable} rpcbind-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:16870 +msgid "A service type for the RPC portmapper daemon." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16873 +#, no-wrap +msgid "{Data Type} rpcbind-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16876 +msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16877 +#, no-wrap +msgid "@code{rpcbind} (default: @code{rpcbind})" +msgstr "" + +#. type: table +#: doc/guix.texi:16879 +msgid "The rpcbind package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:16880 +#, no-wrap +msgid "@code{warm-start?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:16884 +msgid "If this parameter is @code{#t}, then the daemon will read a state file on startup thus reloading state information saved by a previous instance." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:16888 +#, no-wrap +msgid "Pipefs Pseudo File System" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16889 +#, no-wrap +msgid "pipefs" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16890 +#, no-wrap +msgid "rpc_pipefs" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16894 +msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs." +msgstr "" + +#. type: defvr +#: doc/guix.texi:16895 +#, no-wrap +msgid "{Scheme Variable} pipefs-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:16897 +msgid "A service type for the pipefs pseudo file system." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16899 +#, no-wrap +msgid "{Data Type} pipefs-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16902 +msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16903 +#, no-wrap +msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16905 +msgid "The directory to which the file system is to be attached." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:16909 +#, no-wrap +msgid "GSS Daemon Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16910 +#, no-wrap +msgid "GSSD" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16911 +#, no-wrap +msgid "GSS" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16912 +#, no-wrap +msgid "global security system" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16919 +msgid "The @dfn{global security system} (GSS) daemon provides strong security for RPC based protocols. Before exchanging RPC requests an RPC client must establish a security context. Typically this is done using the Kerberos command @command{kinit} or automatically at login time using PAM services (@pxref{Kerberos Services})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:16920 +#, no-wrap +msgid "{Scheme Variable} gss-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:16922 +msgid "A service type for the Global Security System (GSS) daemon." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16924 +#, no-wrap +msgid "{Data Type} gss-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16927 +msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:" +msgstr "" + +#. type: item +#: doc/guix.texi:16928 doc/guix.texi:16953 +#, no-wrap +msgid "@code{nfs-utils} (default: @code{nfs-utils})" +msgstr "" + +#. type: table +#: doc/guix.texi:16930 +msgid "The package in which the @command{rpc.gssd} command is to be found." +msgstr "" + +#. type: item +#: doc/guix.texi:16931 doc/guix.texi:16956 +#, no-wrap +msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:16933 doc/guix.texi:16958 +msgid "The directory where the pipefs file system is mounted." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:16938 +#, no-wrap +msgid "IDMAP Daemon Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16939 +#, no-wrap +msgid "idmapd" +msgstr "" + +#. type: cindex +#: doc/guix.texi:16940 +#, no-wrap +msgid "name mapper" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16944 +msgid "The idmap daemon service provides mapping between user IDs and user names. Typically it is required in order to access file systems mounted via NFSv4." +msgstr "" + +#. type: defvr +#: doc/guix.texi:16945 +#, no-wrap +msgid "{Scheme Variable} idmap-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:16947 +msgid "A service type for the Identity Mapper (IDMAP) daemon." +msgstr "" + +#. type: deftp +#: doc/guix.texi:16949 +#, no-wrap +msgid "{Data Type} idmap-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:16952 +msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:" +msgstr "" + +#. type: table +#: doc/guix.texi:16955 +msgid "The package in which the @command{rpc.idmapd} command is to be found." +msgstr "" + +#. type: item +#: doc/guix.texi:16959 +#, no-wrap +msgid "@code{domain} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:16963 +msgid "The local NFSv4 domain name. This must be a string or @code{#f}. If it is @code{#f} then the daemon will use the host's fully qualified domain name." +msgstr "" + +#. type: cindex +#: doc/guix.texi:16970 +#, no-wrap +msgid "continuous integration" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16974 +msgid "@uref{https://notabug.org/mthl/cuirass, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16976 +msgid "The @code{(gnu services cuirass)} module provides the following service." +msgstr "" + +#. type: defvr +#: doc/guix.texi:16977 +#, no-wrap +msgid "{Scheme Procedure} cuirass-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:16980 +msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:16987 +msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. Here is an example of a service defining a build job based on a specification that can be found in Cuirass source tree. This service polls the Guix repository and builds a subset of the Guix packages, as prescribed in the @file{gnu-system.scm} example spec:" +msgstr "" + +#. type: example +#: doc/guix.texi:16999 +#, no-wrap +msgid "" +"(let ((spec #~((#:name . \"guix\")\n" +" (#:url . \"git://git.savannah.gnu.org/guix.git\")\n" +" (#:load-path . \".\")\n" +" (#:file . \"build-aux/cuirass/gnu-system.scm\")\n" +" (#:proc . cuirass-jobs)\n" +" (#:arguments (subset . \"hello\"))\n" +" (#:branch . \"master\"))))\n" +" (service cuirass-service-type\n" +" (cuirass-configuration\n" +" (specifications #~(list '#$spec)))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17004 +msgid "While information related to build jobs is located directly in the specifications, global settings for the @command{cuirass} process are accessible in other @code{cuirass-configuration} fields." +msgstr "" + +#. type: deftp +#: doc/guix.texi:17005 +#, no-wrap +msgid "{Data Type} cuirass-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:17007 +msgid "Data type representing the configuration of Cuirass." +msgstr "" + +#. type: item +#: doc/guix.texi:17009 +#, no-wrap +msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17011 +msgid "Location of the log file." +msgstr "" + +#. type: item +#: doc/guix.texi:17012 +#, no-wrap +msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17014 +msgid "Location of the repository cache." +msgstr "" + +#. type: item +#: doc/guix.texi:17015 +#, no-wrap +msgid "@code{user} (default: @code{\"cuirass\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17017 +msgid "Owner of the @code{cuirass} process." +msgstr "" + +#. type: item +#: doc/guix.texi:17018 +#, no-wrap +msgid "@code{group} (default: @code{\"cuirass\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17020 +msgid "Owner's group of the @code{cuirass} process." +msgstr "" + +#. type: item +#: doc/guix.texi:17021 +#, no-wrap +msgid "@code{interval} (default: @code{60})" +msgstr "" + +#. type: table +#: doc/guix.texi:17024 +msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs." +msgstr "" + +#. type: item +#: doc/guix.texi:17025 +#, fuzzy, no-wrap +#| msgid "@code{package} (default: @code{varnish})" +msgid "@code{database} (default: @code{\"/var/run/cuirass/cuirass.db\"})" +msgstr "@code{package} (Vorgabe: @code{varnish})" + +#. type: table +#: doc/guix.texi:17028 +msgid "Location of sqlite database which contains the build results and previously added specifications." +msgstr "" + +#. type: item +#: doc/guix.texi:17029 +#, no-wrap +msgid "@code{port} (default: @code{8081})" +msgstr "" + +#. type: table +#: doc/guix.texi:17031 +msgid "Port number used by the HTTP server." +msgstr "" + +#. type: table +#: doc/guix.texi:17035 +msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost." +msgstr "" + +#. type: item +#: doc/guix.texi:17036 +#, no-wrap +msgid "@code{specifications} (default: @code{#~'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:17042 +msgid "A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications, where a specification is an association list (@pxref{Associations Lists,,, guile, GNU Guile Reference Manual}) whose keys are keywords (@code{#:keyword-example}) as shown in the example above." +msgstr "" + +#. type: item +#: doc/guix.texi:17043 +#, no-wrap +msgid "@code{use-substitutes?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:17046 +msgid "This allows using substitutes to avoid building every dependencies of a job from source." +msgstr "" + +#. type: item +#: doc/guix.texi:17047 +#, no-wrap +msgid "@code{one-shot?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:17049 +msgid "Only evaluate specifications and build derivations once." +msgstr "" + +#. type: item +#: doc/guix.texi:17050 +#, no-wrap +msgid "@code{fallback?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:17053 +msgid "When substituting a pre-built binary fails, fall back to building packages locally." +msgstr "" + +#. type: item +#: doc/guix.texi:17054 +#, fuzzy, no-wrap +#| msgid "@code{actions} (default: @code{'()})" +msgid "@code{load-path} (default: @code{'()})" +msgstr "@code{actions} (Vorgabe: @code{'()})" + +#. type: table +#: doc/guix.texi:17057 +msgid "This allows users to define their own packages and make them visible to cuirass as in @command{guix build} command." +msgstr "" + +#. type: item +#: doc/guix.texi:17058 +#, no-wrap +msgid "@code{cuirass} (default: @code{cuirass})" +msgstr "" + +#. type: table +#: doc/guix.texi:17060 +msgid "The Cuirass package to use." +msgstr "" + +#. type: cindex +#: doc/guix.texi:17066 +#, no-wrap +msgid "power management with TLP" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17069 +msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17075 +msgid "TLP enables various powersaving modes in userspace and kernel. Contrary to @code{upower-service}, it is not a passive, monitoring tool, as it will apply custom settings each time a new power source is detected. More information can be found at @uref{http://linrunner.de/en/tlp/tlp.html, TLP home page}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:17076 +#, no-wrap +msgid "{Scheme Variable} tlp-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:17080 +msgid "The service type for the TLP tool. Its value should be a valid TLP configuration (see below). To use the default settings, simply write:" +msgstr "" + +#. type: example +#: doc/guix.texi:17082 +#, no-wrap +msgid "(service tlp-service-type)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17087 +msgid "By default TLP does not need much configuration but most TLP parameters can be tweaked using @code{tlp-configuration}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17093 +msgid "Each parameter definition is preceded by its type; for example, @samp{boolean foo} indicates that the @code{foo} parameter should be specified as a boolean. Types starting with @code{maybe-} denote parameters that won't show up in TLP config file when their value is @code{'disabled}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17103 +msgid "Available @code{tlp-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17104 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} package tlp" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17106 +msgid "The TLP package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17109 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17111 +msgid "Set to true if you wish to enable TLP." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17116 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string tlp-default-mode" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17119 +msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17121 +msgid "Defaults to @samp{\"AC\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17124 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17127 +msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17132 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17134 +msgid "Same as @code{disk-idle-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17136 +msgid "Defaults to @samp{2}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17139 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17141 +msgid "Dirty pages flushing periodicity, expressed in seconds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17143 doc/guix.texi:17366 doc/guix.texi:18683 +#: doc/guix.texi:18691 +msgid "Defaults to @samp{15}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17146 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17148 +msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17150 +msgid "Defaults to @samp{60}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17153 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17157 +msgid "CPU frequency scaling governor on AC mode. With intel_pstate driver, alternatives are powersave and performance. With acpi-cpufreq driver, alternatives are ondemand, powersave, performance and conservative." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17159 doc/guix.texi:17166 doc/guix.texi:17173 +#: doc/guix.texi:17180 doc/guix.texi:17187 doc/guix.texi:17194 +#: doc/guix.texi:17202 doc/guix.texi:17210 doc/guix.texi:17217 +#: doc/guix.texi:17224 doc/guix.texi:17231 doc/guix.texi:17238 +#: doc/guix.texi:17268 doc/guix.texi:17306 doc/guix.texi:17313 +#: doc/guix.texi:17322 doc/guix.texi:17344 doc/guix.texi:17352 +#: doc/guix.texi:17359 doc/guix.texi:17514 doc/guix.texi:17534 +#: doc/guix.texi:17549 doc/guix.texi:17556 +msgid "Defaults to @samp{disabled}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17162 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17164 +msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17169 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17171 +msgid "Set the min available frequency for the scaling governor on AC." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17176 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17178 +msgid "Set the max available frequency for the scaling governor on AC." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17183 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17185 +msgid "Set the min available frequency for the scaling governor on BAT." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17190 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17192 +msgid "Set the max available frequency for the scaling governor on BAT." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17197 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17200 +msgid "Limit the min P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17205 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17208 +msgid "Limit the max P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17213 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17215 +msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17220 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17222 +msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17227 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17229 +msgid "Enable CPU turbo boost feature on AC mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17234 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17236 +msgid "Same as @code{cpu-boost-on-ac?} on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17241 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17244 +msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17249 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17251 +msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17256 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17258 +msgid "Enable Linux kernel NMI watchdog." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17263 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17266 +msgid "For Linux kernels with PHC patch applied, change CPU voltages. An example value would be @samp{\"F:V F:V F:V F:V\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17271 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17274 +msgid "Set CPU performance versus energy saving policy on AC. Alternatives are performance, normal, powersave." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17276 doc/guix.texi:17374 doc/guix.texi:17404 +msgid "Defaults to @samp{\"performance\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17279 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17281 +msgid "Same as @code{energy-perf-policy-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17283 doc/guix.texi:17381 +msgid "Defaults to @samp{\"powersave\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17286 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17288 +msgid "Hard disk devices." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17291 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17293 +msgid "Hard disk advanced power management level." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17296 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17298 +msgid "Same as @code{disk-apm-bat} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17301 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17304 +msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17309 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17311 +msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17316 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17320 +msgid "Select IO scheduler for disk devices. One value has to be specified for each declared hard disk. Example alternatives are cfq, deadline and noop." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17325 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17328 +msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17330 +msgid "Defaults to @samp{\"max_performance\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17333 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17335 +msgid "Same as @code{sata-linkpwr-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17337 +msgid "Defaults to @samp{\"min_power\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17340 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17342 +msgid "Exclude specified SATA host devices for link power management." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17347 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17350 +msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17355 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17357 +msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17362 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17364 +msgid "Seconds of inactivity before disk is suspended." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17369 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17372 +msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17377 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17379 +msgid "Same as @code{pcie-aspm-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17384 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17387 +msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17389 +msgid "Defaults to @samp{\"high\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17392 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17394 +msgid "Same as @code{radeon-power-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17396 +msgid "Defaults to @samp{\"low\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17399 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17402 +msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17407 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17409 +msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17411 +msgid "Defaults to @samp{\"battery\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17414 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17416 +msgid "Radeon DPM performance level. Alternatives are auto, low, high." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17418 doc/guix.texi:17425 doc/guix.texi:17499 +msgid "Defaults to @samp{\"auto\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17421 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17423 +msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17428 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17430 +msgid "Wifi power saving mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17435 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17437 +msgid "Same as @code{wifi-power-ac?} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17442 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17444 +msgid "Disable wake on LAN." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17449 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17452 +msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17457 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17459 +msgid "Same as @code{sound-powersave-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17461 doc/guix.texi:17976 doc/guix.texi:18120 +msgid "Defaults to @samp{1}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17464 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17466 +msgid "Disable controller in powersaving mode on Intel HDA devices." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17471 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17475 +msgid "Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17480 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string bay-device" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17482 +msgid "Name of the optical drive device to power off." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17484 +msgid "Defaults to @samp{\"sr0\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17487 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17490 +msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17492 +msgid "Defaults to @samp{\"on\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17495 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17497 +msgid "Same as @code{runtime-pm-ac} but on BAT mode." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17502 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17505 +msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17510 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17512 +msgid "Exclude specified PCI(e) device addresses from Runtime Power Management." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17517 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17520 +msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17523 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17525 +msgid "Enable USB autosuspend feature." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17530 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17532 +msgid "Exclude specified devices from USB autosuspend." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17537 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17539 +msgid "Exclude WWAN devices from USB autosuspend." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17544 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17547 +msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17552 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17554 +msgid "Enable USB autosuspend before shutdown." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17559 +#, no-wrap +msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17562 +msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17570 +msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating." +msgstr "" + +#. type: defvr +#: doc/guix.texi:17571 +#, no-wrap +msgid "{Scheme Variable} thermald-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:17576 +msgid "This is the service type for @uref{https://01.org/linux-thermal-daemon/, thermald}, the Linux Thermal Daemon, which is responsible for controlling the thermal state of processors and preventing overheating." +msgstr "" + +#. type: deftp +#: doc/guix.texi:17578 +#, no-wrap +msgid "{Data Type} thermald-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:17580 +msgid "Data type representing the configuration of @code{thermald-service-type}." +msgstr "" + +#. type: item +#: doc/guix.texi:17582 +#, no-wrap +msgid "@code{ignore-cpuid-check?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:17584 +msgid "Ignore cpuid check for supported CPU models." +msgstr "" + +#. type: item +#: doc/guix.texi:17585 +#, no-wrap +msgid "@code{thermald} (default: @var{thermald})" +msgstr "" + +#. type: table +#: doc/guix.texi:17587 +msgid "Package object of thermald." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17596 +msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)." +msgstr "" + +#. type: cindex +#: doc/guix.texi:17597 +#, no-wrap +msgid "mpd" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:17598 +#, no-wrap +msgid "Music Player Daemon" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17603 +msgid "The Music Player Daemon (MPD) is a service that can play music while being controlled from the local machine or over the network by a variety of clients." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17606 +msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output." +msgstr "" + +#. type: example +#: doc/guix.texi:17612 +#, no-wrap +msgid "" +"(service mpd-service-type\n" +" (mpd-configuration\n" +" (user \"bob\")\n" +" (port \"6666\")))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:17614 +#, no-wrap +msgid "{Scheme Variable} mpd-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:17616 +msgid "The service type for @command{mpd}" +msgstr "" + +#. type: deftp +#: doc/guix.texi:17618 +#, no-wrap +msgid "{Data Type} mpd-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:17620 +msgid "Data type representing the configuration of @command{mpd}." +msgstr "" + +#. type: item +#: doc/guix.texi:17622 +#, no-wrap +msgid "@code{user} (default: @code{\"mpd\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17624 +msgid "The user to run mpd as." +msgstr "" + +#. type: item +#: doc/guix.texi:17625 +#, no-wrap +msgid "@code{music-dir} (default: @code{\"~/Music\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17627 +msgid "The directory to scan for music files." +msgstr "" + +#. type: item +#: doc/guix.texi:17628 +#, no-wrap +msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17630 +msgid "The directory to store playlists." +msgstr "" + +#. type: item +#: doc/guix.texi:17631 +#, no-wrap +msgid "@code{port} (default: @code{\"6600\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17633 +msgid "The port to run mpd on." +msgstr "" + +#. type: item +#: doc/guix.texi:17634 +#, no-wrap +msgid "@code{address} (default: @code{\"any\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:17637 +msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:17642 +#, no-wrap +msgid "Virtualization services" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17647 +msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:17648 +#, no-wrap +msgid "Libvirt daemon" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17652 +msgid "@code{libvirtd} is the server side daemon component of the libvirt virtualization management system. This daemon runs on host servers and performs required management tasks for virtualized guests." +msgstr "" + +#. type: deffn +#: doc/guix.texi:17653 +#, no-wrap +msgid "{Scheme Variable} libvirt-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:17656 +msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}." +msgstr "" + +#. type: example +#: doc/guix.texi:17662 +#, no-wrap +msgid "" +"(service libvirt-service-type\n" +" (libvirt-configuration\n" +" (unix-sock-group \"libvirt\")\n" +" (tls-port \"16555\")))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:17667 +msgid "Available @code{libvirt-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17668 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} package libvirt" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17670 +msgid "Libvirt package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17673 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17676 +msgid "Flag listening for secure TLS connections on the public TCP/IP port. must set @code{listen} for this to have any effect." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17679 +msgid "It is necessary to setup a CA and issue server certificates before using this capability." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17684 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17687 +msgid "Listen for unencrypted TCP connections on the public TCP/IP port. must set @code{listen} for this to have any effect." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17691 +msgid "Using the TCP socket requires SASL authentication by default. Only SASL mechanisms which support data encryption are allowed. This is DIGEST_MD5 and GSSAPI (Kerberos5)" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17696 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string tls-port" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17699 +msgid "Port for accepting secure TLS connections This can be a port number, or service name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17701 +msgid "Defaults to @samp{\"16514\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17704 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string tcp-port" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17707 +msgid "Port for accepting insecure TCP connections This can be a port number, or service name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17709 +msgid "Defaults to @samp{\"16509\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17712 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string listen-addr" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17714 +msgid "IP address or hostname used for client connections." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17716 +msgid "Defaults to @samp{\"0.0.0.0\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17719 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17721 +msgid "Flag toggling mDNS advertisement of the libvirt service." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17724 +msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17729 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string mdns-name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17732 +msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17734 +msgid "Defaults to @samp{\"Virtualization Host \"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17737 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string unix-sock-group" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17741 +msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17743 +msgid "Defaults to @samp{\"root\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17746 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17749 +msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17751 doc/guix.texi:17769 +msgid "Defaults to @samp{\"0777\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17754 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17758 +msgid "UNIX socket permissions for the R/W socket. Default allows only root. If PolicyKit is enabled on the socket, the default will change to allow everyone (eg, 0777)" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17760 +msgid "Defaults to @samp{\"0770\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17763 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17767 +msgid "UNIX socket permissions for the admin socket. Default allows only owner (root), do not change it unless you are sure to whom you are exposing the access to." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17772 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17774 +msgid "The directory in which sockets will be found/created." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17776 +msgid "Defaults to @samp{\"/var/run/libvirt\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17779 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17782 +msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17784 doc/guix.texi:17793 +msgid "Defaults to @samp{\"polkit\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17787 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17791 +msgid "Authentication scheme for UNIX read-write sockets. By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17796 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string auth-tcp" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17800 +msgid "Authentication scheme for TCP sockets. If you don't enable SASL, then all TCP traffic is cleartext. Don't do this outside of a dev/test scenario." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17802 +msgid "Defaults to @samp{\"sasl\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17805 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string auth-tls" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17809 +msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17812 +msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17814 +msgid "Defaults to @samp{\"none\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17817 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17819 +msgid "API access control scheme." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17822 +msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17827 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string key-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17830 +msgid "Server key file path. If set to an empty string, then no private key is loaded." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17835 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string cert-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17838 +msgid "Server key file path. If set to an empty string, then no certificate is loaded." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17843 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string ca-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17846 +msgid "Server key file path. If set to an empty string, then no CA certificate is loaded." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17851 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string crl-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17854 +msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17859 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17861 +msgid "Disable verification of our own server certificates." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17864 +msgid "When libvirtd starts it performs some sanity checks against its own certificates." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17869 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17871 +msgid "Disable verification of client certificates." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17875 +msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17880 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17882 +msgid "Whitelist of allowed x509 Distinguished Name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17887 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17890 +msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17895 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string tls-priority" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17899 +msgid "Override the compile time default TLS priority string. The default is usually \"NORMAL\" unless overridden at build time. Only set this is it is desired for libvirt to deviate from the global default settings." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17901 +msgid "Defaults to @samp{\"NORMAL\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17904 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer max-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17907 doc/guix.texi:18330 +msgid "Maximum number of concurrent client connections to allow over all sockets combined." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17909 +msgid "Defaults to @samp{5000}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17912 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17916 +msgid "Maximum length of queue of connections waiting to be accepted by the daemon. Note, that some protocols supporting retransmission may obey this so that a later reattempt at connection succeeds." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17921 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17924 +msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17926 doc/guix.texi:17944 doc/guix.texi:17960 +msgid "Defaults to @samp{20}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17929 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer min-workers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17931 +msgid "Number of workers to start up initially." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17936 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer max-workers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17938 +msgid "Maximum number of worker threads." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17942 +msgid "If the number of active clients exceeds @code{min-workers}, then more threads are spawned, up to max_workers limit. Typically you'd want max_workers to equal maximum number of clients allowed." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17947 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer prio-workers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17951 +msgid "Number of priority workers. If all workers from above pool are stuck, some calls marked as high priority (notably domainDestroy) can be executed in this pool." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17956 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer max-requests" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17958 +msgid "Total global limit on concurrent RPC calls." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17963 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer max-client-requests" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17967 +msgid "Limit on concurrent requests from a single client connection. To avoid one client monopolizing the server this should be a small fraction of the global max_requests and max_workers parameter." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17972 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17974 +msgid "Same as @code{min-workers} but for the admin interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17979 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17981 +msgid "Same as @code{max-workers} but for the admin interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17986 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17988 +msgid "Same as @code{max-clients} but for the admin interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17993 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:17995 +msgid "Same as @code{max-queued-clients} but for the admin interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18000 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18002 +msgid "Same as @code{max-client-requests} but for the admin interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18007 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer log-level" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18009 doc/guix.texi:18232 +msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18014 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string log-filters" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18016 doc/guix.texi:18239 +msgid "Logging filters." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18019 doc/guix.texi:18242 +msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18023 doc/guix.texi:18246 +msgid "x:name" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18026 doc/guix.texi:18249 +msgid "x:+name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18036 doc/guix.texi:18259 +msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., \"remote\", \"qemu\", or \"util.json\" (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional \"+\" prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18040 doc/guix.texi:18085 doc/guix.texi:18263 +#: doc/guix.texi:18308 +msgid "1: DEBUG" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18043 doc/guix.texi:18088 doc/guix.texi:18266 +#: doc/guix.texi:18311 +msgid "2: INFO" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18046 doc/guix.texi:18091 doc/guix.texi:18269 +#: doc/guix.texi:18314 +msgid "3: WARNING" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18049 doc/guix.texi:18094 doc/guix.texi:18272 +#: doc/guix.texi:18317 +msgid "4: ERROR" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18054 doc/guix.texi:18277 +msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18056 doc/guix.texi:18279 +msgid "Defaults to @samp{\"3:remote 4:event\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18059 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string log-outputs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18061 doc/guix.texi:18284 +msgid "Logging outputs." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18064 doc/guix.texi:18287 +msgid "An output is one of the places to save logging information The format for an output can be:" +msgstr "" + +#. type: item +#: doc/guix.texi:18066 doc/guix.texi:18289 +#, no-wrap +msgid "x:stderr" +msgstr "" + +#. type: table +#: doc/guix.texi:18068 doc/guix.texi:18291 +msgid "output goes to stderr" +msgstr "" + +#. type: item +#: doc/guix.texi:18069 doc/guix.texi:18292 +#, no-wrap +msgid "x:syslog:name" +msgstr "" + +#. type: table +#: doc/guix.texi:18071 doc/guix.texi:18294 +msgid "use syslog for the output and use the given name as the ident" +msgstr "" + +#. type: item +#: doc/guix.texi:18072 doc/guix.texi:18295 +#, no-wrap +msgid "x:file:file_path" +msgstr "" + +#. type: table +#: doc/guix.texi:18074 doc/guix.texi:18297 +msgid "output to a file, with the given filepath" +msgstr "" + +#. type: item +#: doc/guix.texi:18075 doc/guix.texi:18298 +#, no-wrap +msgid "x:journald" +msgstr "" + +#. type: table +#: doc/guix.texi:18077 doc/guix.texi:18300 +msgid "output to journald logging system" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18081 doc/guix.texi:18304 +msgid "In all case the x prefix is the minimal level, acting as a filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18099 doc/guix.texi:18322 +msgid "Multiple outputs can be defined, they just need to be separated by spaces." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18101 doc/guix.texi:18324 +msgid "Defaults to @samp{\"3:stderr\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18104 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer audit-level" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18106 +msgid "Allows usage of the auditing subsystem to be altered" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18110 +msgid "0: disable all auditing" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18113 +msgid "1: enable auditing, only if enabled on host" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18116 +msgid "2: enable auditing, and exit if disabled on host." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18123 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} boolean audit-logging" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18125 +msgid "Send audit messages via libvirt logging infrastructure." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18130 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18132 +msgid "Host UUID. UUID must not have all digits be the same." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18137 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} string host-uuid-source" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18139 +msgid "Source to read host UUID." +msgstr "" + +#. type: itemize +#: doc/guix.texi:18143 +msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}" +msgstr "" + +#. type: itemize +#: doc/guix.texi:18146 +msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18151 +msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18153 +msgid "Defaults to @samp{\"smbios\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18156 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18161 +msgid "A keepalive message is sent to a client after @code{keepalive_interval} seconds of inactivity to check if the client is still responding. If set to -1, libvirtd will never send keepalive requests; however clients can still send them and the daemon will send responses." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18166 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer keepalive-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18170 +msgid "Maximum number of keepalive messages that are allowed to be sent to the client without getting any response before the connection is considered broken." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18177 +msgid "In other words, the connection is automatically closed approximately after @code{keepalive_interval * (keepalive_count + 1)} seconds since the last message received from the client. When @code{keepalive-count} is set to 0, connections will be automatically closed after @code{keepalive-interval} seconds of inactivity without sending any keepalive messages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18182 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18184 doc/guix.texi:18191 +msgid "Same as above but for admin interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18189 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18196 +#, no-wrap +msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18198 +msgid "Timeout for Open vSwitch calls." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18202 +msgid "The @code{ovs-vsctl} utility is used for the configuration and its timeout option is set by default to 5 seconds to avoid potential infinite waits blocking libvirt." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:18209 +#, no-wrap +msgid "Virtlog daemon" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18212 +msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18218 +msgid "This daemon is not used directly by libvirt client applications, rather it is called on their behalf by @code{libvirtd}. By maintaining the logs in a standalone daemon, the main @code{libvirtd} daemon can be restarted without risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() itself upon receiving @code{SIGUSR1}, to allow live upgrades without downtime." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18219 +#, no-wrap +msgid "{Scheme Variable} virtlog-service-type" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18222 +msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}." +msgstr "" + +#. type: example +#: doc/guix.texi:18227 +#, no-wrap +msgid "" +"(service virtlog-service-type\n" +" (virtlog-configuration\n" +" (max-clients 1000)))\n" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18230 +#, no-wrap +msgid "{@code{virtlog-configuration} parameter} integer log-level" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18237 +#, no-wrap +msgid "{@code{virtlog-configuration} parameter} string log-filters" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18282 +#, no-wrap +msgid "{@code{virtlog-configuration} parameter} string log-outputs" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18327 +#, no-wrap +msgid "{@code{virtlog-configuration} parameter} integer max-clients" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18332 +msgid "Defaults to @samp{1024}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18335 +#, no-wrap +msgid "{@code{virtlog-configuration} parameter} integer max-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18337 +msgid "Maximum file size before rolling over." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18339 +msgid "Defaults to @samp{2MB}" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18342 +#, no-wrap +msgid "{@code{virtlog-configuration} parameter} integer max-backups" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18344 +msgid "Maximum number of backup files to keep." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18346 +msgid "Defaults to @samp{3}" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:18349 +#, no-wrap +msgid "Transparent Emulation with QEMU" +msgstr "" + +#. type: cindex +#: doc/guix.texi:18351 +#, no-wrap +msgid "emulation" +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:18352 +#, no-wrap +msgid "binfmt_misc" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18358 +msgid "@code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you to transparently execute an ARMv7 program on an x86_64 machine. It achieves this by combining the @uref{https://www.qemu.org, QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux." +msgstr "" + +#. type: defvr +#: doc/guix.texi:18359 +#, no-wrap +msgid "{Scheme Variable} qemu-binfmt-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:18364 +msgid "This is the type of the QEMU/binfmt service for transparent emulation. Its value must be a @code{qemu-binfmt-configuration} object, which specifies the QEMU package to use as well as the architecture we want to emulated:" +msgstr "" + +#. type: example +#: doc/guix.texi:18369 +#, no-wrap +msgid "" +"(service qemu-binfmt-service-type\n" +" (qemu-binfmt-configuration\n" +" (platforms (lookup-qemu-platforms \"arm\" \"aarch64\" \"ppc\"))))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:18375 +msgid "In this example, we enable transparent emulation for the ARM and aarch64 platforms. Running @code{herd stop qemu-binfmt} turns it off, and running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:18377 +#, no-wrap +msgid "{Data Type} qemu-binfmt-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:18379 +msgid "This is the configuration for the @code{qemu-binfmt} service." +msgstr "" + +#. type: item +#: doc/guix.texi:18381 +#, no-wrap +msgid "@code{platforms} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:18384 +msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)." +msgstr "" + +#. type: item +#: doc/guix.texi:18385 +#, no-wrap +msgid "@code{guix-support?} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:18391 +msgid "When it is true, QEMU and all its dependencies are added to the build environment of @command{guix-daemon} (@pxref{Invoking guix-daemon, @code{--chroot-directory} option}). This allows the @code{binfmt_misc} handlers to be used within the build environment, which in turn means that you can transparently build programs for another architecture." +msgstr "" + +#. type: table +#: doc/guix.texi:18394 +msgid "For example, let's suppose you're on an x86_64 machine and you have this service:" +msgstr "" + +#. type: example +#: doc/guix.texi:18400 +#, no-wrap +msgid "" +"(service qemu-binfmt-service-type\n" +" (qemu-binfmt-configuration\n" +" (platforms (lookup-qemu-platforms \"arm\"))\n" +" (guix-support? #t)))\n" +msgstr "" + +#. type: table +#: doc/guix.texi:18403 +msgid "You can run:" +msgstr "" + +#. type: example +#: doc/guix.texi:18406 +#, no-wrap +msgid "guix build -s armhf-linux inkscape\n" +msgstr "" + +#. type: table +#: doc/guix.texi:18413 +msgid "and it will build Inkscape for ARMv7 @emph{as if it were a native build}, transparently using QEMU to emulate the ARMv7 CPU. Pretty handy if you'd like to test a package build for an architecture you don't have access to!" +msgstr "" + +#. type: item +#: doc/guix.texi:18414 +#, no-wrap +msgid "@code{qemu} (default: @code{qemu})" +msgstr "" + +#. type: table +#: doc/guix.texi:18416 +msgid "The QEMU package to use." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18419 +#, no-wrap +msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18424 +msgid "Return the list of QEMU platform objects corresponding to @var{platforms}@dots{}. @var{platforms} must be a list of strings corresponding to platform names, such as @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, and so on." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18426 +#, no-wrap +msgid "{Scheme Procedure} qemu-platform? @var{obj}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18428 +msgid "Return true if @var{obj} is a platform object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18430 +#, no-wrap +msgid "{Scheme Procedure} qemu-platform-name @var{platform}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18432 +msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18444 +msgid "The @code{(gnu services version-control)} module provides a service to allow remote access to local Git repositories. There are three options: the @code{git-daemon-service}, which provides access to repositories via the @code{git://} unsecured TCP-based protocol, extending the @code{nginx} web server to proxy some requests to @code{git-http-backend}, or providing a web interface with @code{cgit-service-type}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18445 +#, no-wrap +msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18449 +msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18455 +msgid "The optional @var{config} argument should be a @code{} object, by default it allows read-only access to exported@footnote{By creating the magic file \"git-daemon-export-ok\" in the repository directory.} repositories under @file{/srv/git}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:18458 +#, no-wrap +msgid "{Data Type} git-daemon-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:18460 +msgid "Data type representing the configuration for @code{git-daemon-service}." +msgstr "" + +#. type: item +#: doc/guix.texi:18462 doc/guix.texi:18518 +#, no-wrap +msgid "@code{package} (default: @var{git})" +msgstr "" + +#. type: table +#: doc/guix.texi:18464 doc/guix.texi:18520 +msgid "Package object of the Git distributed version control system." +msgstr "" + +#. type: item +#: doc/guix.texi:18465 doc/guix.texi:18524 +#, no-wrap +msgid "@code{export-all?} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:18468 +msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file." +msgstr "" + +#. type: item +#: doc/guix.texi:18469 +#, no-wrap +msgid "@code{base-path} (default: @file{/srv/git})" +msgstr "" + +#. type: table +#: doc/guix.texi:18474 +msgid "Whether to remap all the path requests as relative to the given path. If you run git daemon with @var{(base-path \"/srv/git\")} on example.com, then if you later try to pull @code{git://example.com/hello.git}, git daemon will interpret the path as @code{/srv/git/hello.git}." +msgstr "" + +#. type: item +#: doc/guix.texi:18475 +#, no-wrap +msgid "@code{user-path} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:18482 +msgid "Whether to allow @code{~user} notation to be used in requests. When specified with empty string, requests to @code{git://host/~alice/foo} is taken as a request to access @code{foo} repository in the home directory of user @code{alice}. If @var{(user-path \"path\")} is specified, the same request is taken as a request to access @code{path/foo} repository in the home directory of user @code{alice}." +msgstr "" + +#. type: item +#: doc/guix.texi:18483 +#, no-wrap +msgid "@code{listen} (default: @var{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:18486 +msgid "Whether to listen on specific IP addresses or hostnames, defaults to all." +msgstr "" + +#. type: item +#: doc/guix.texi:18487 +#, no-wrap +msgid "@code{port} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:18489 +msgid "Whether to listen on an alternative port, which defaults to 9418." +msgstr "" + +#. type: item +#: doc/guix.texi:18490 +#, no-wrap +msgid "@code{whitelist} (default: @var{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:18492 +msgid "If not empty, only allow access to this list of directories." +msgstr "" + +#. type: item +#: doc/guix.texi:18493 +#, no-wrap +msgid "@code{extra-options} (default: @var{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:18496 +msgid "Extra options will be passed to @code{git daemon}, please run @command{man git-daemon} for more information." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18510 +msgid "The @code{git://} protocol lacks authentication. When you pull from a repository fetched via @code{git://}, you don't know that the data you receive was modified is really coming from the specified host, and you have your connection is subject to eavesdropping. It's better to use an authenticated and encrypted transport, such as @code{https}. Although Git allows you to serve repositories using unsophisticated file-based web servers, there is a faster protocol implemented by the @code{git-http-backend} program. This program is the back-end of a proper Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web Services}, for more on running the necessary @code{fcgiwrap} daemon." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18513 +msgid "Guix has a separate configuration data type for serving Git repositories over HTTP." +msgstr "" + +#. type: deftp +#: doc/guix.texi:18514 +#, no-wrap +msgid "{Data Type} git-http-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:18516 +msgid "Data type representing the configuration for @code{git-http-service}." +msgstr "" + +#. type: item +#: doc/guix.texi:18521 +#, no-wrap +msgid "@code{git-root} (default: @file{/srv/git})" +msgstr "" + +#. type: table +#: doc/guix.texi:18523 +msgid "Directory containing the Git repositories to expose to the world." +msgstr "" + +#. type: table +#: doc/guix.texi:18527 +msgid "Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file." +msgstr "" + +#. type: item +#: doc/guix.texi:18528 +#, no-wrap +msgid "@code{uri-path} (default: @file{/git/})" +msgstr "" + +#. type: table +#: doc/guix.texi:18533 +msgid "Path prefix for Git access. With the default @code{/git/} prefix, this will map @code{http://@var{server}/git/@var{repo}.git} to @code{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with this prefix are not passed on to this Git instance." +msgstr "" + +#. type: item +#: doc/guix.texi:18534 +#, no-wrap +msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})" +msgstr "" + +#. type: table +#: doc/guix.texi:18537 +msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18544 +msgid "There is no @code{git-http-service-type}, currently; instead you can create an @code{nginx-location-configuration} from a @code{git-http-configuration} and then add that location to a web server." +msgstr "" + +#. type: deffn +#: doc/guix.texi:18545 +#, no-wrap +msgid "{Scheme Procedure} git-http-nginx-location-configuration @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18550 +msgid "[config=(git-http-configuration)] Compute an @code{nginx-location-configuration} that corresponds to the given Git http configuration. An example nginx service definition to serve the default @file{/srv/git} over HTTPS might be:" +msgstr "" + +#. type: example +#: doc/guix.texi:18567 +#, no-wrap +msgid "" +"(service nginx-service-type\n" +" (nginx-configuration\n" +" (server-blocks\n" +" (list\n" +" (nginx-server-configuration\n" +" (listen '(\"443 ssl\"))\n" +" (server-name \"git.my-host.org\")\n" +" (ssl-certificate\n" +" \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n" +" (ssl-certificate-key\n" +" \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n" +" (locations\n" +" (list\n" +" (git-http-nginx-location-configuration\n" +" (git-http-configuration (uri-path \"/\"))))))))))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:18574 +msgid "This example assumes that you are using Let's Encrypt to get your TLS certificate. @xref{Certificate Services}. The default @code{certbot} service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS. You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Web Services}." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:18576 +#, no-wrap +msgid "Cgit Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:18578 +#, no-wrap +msgid "Cgit service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:18579 +#, no-wrap +msgid "Git, web interface" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18582 +msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18585 +msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})." +msgstr "" + +#. type: example +#: doc/guix.texi:18588 +#, no-wrap +msgid "(service cgit-service-type)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18592 +msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:18596 +msgid "Available @code{cgit-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18597 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} package package" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18599 +msgid "The CGIT package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18602 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18604 +msgid "NGINX configuration." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18607 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object about-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18610 +msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18615 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string agefile" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18618 +msgid "Specifies a path, relative to each repository path, which can be used to specify the date and time of the youngest commit in the repository." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18623 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object auth-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18626 +msgid "Specifies a command that will be invoked for authenticating repository access." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18631 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string branch-sort" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18634 +msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set @samp{name} enables ordering by branch name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18636 +msgid "Defaults to @samp{\"name\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18639 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string cache-root" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18641 +msgid "Path used to store the cgit cache entries." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18643 +msgid "Defaults to @samp{\"/var/cache/cgit\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18646 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18649 +msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18651 doc/guix.texi:19094 +msgid "Defaults to @samp{-1}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18654 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18657 +msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18662 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18665 +msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18670 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18673 +msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18678 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18681 +msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18686 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18689 +msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18694 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18697 +msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18702 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer cache-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18705 +msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18710 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18712 +msgid "Sort items in the repo list case sensitively." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18717 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} list clone-prefix" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18720 +msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18725 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} list clone-url" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18727 +msgid "List of @code{clone-url} templates." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18732 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object commit-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18734 +msgid "Command which will be invoked to format commit messages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18739 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string commit-sort" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18743 doc/guix.texi:19301 +msgid "Flag which, when set to @samp{date}, enables strict date ordering in the commit log, and when set to @samp{topo} enables strict topological ordering." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18745 +msgid "Defaults to @samp{\"git log\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18748 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object css" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18750 +msgid "URL which specifies the css document to include in all cgit pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18752 +msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18755 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object email-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18759 +msgid "Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various places throughout the cgit interface." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18764 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean embedded?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18767 +msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18772 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18776 +msgid "Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit history graph to the left of the commit messages in the repository log page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18781 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18784 +msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18789 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18792 +msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18797 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18800 +msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18805 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18808 +msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18813 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18816 +msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18821 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18824 +msgid "Flag which, when set to @samp{#t}, will make cgit print the number of modified files for each commit on the repository log page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18829 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18832 +msgid "Flag which, when set to @samp{#t}, will make cgit print the number of added and removed lines for each commit on the repository log page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18837 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18840 doc/guix.texi:19364 +msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18845 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18849 +msgid "Flag which, when set to @code{1}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18854 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18858 +msgid "Flag which, when set to @samp{#t}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18863 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18866 +msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18871 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18874 +msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18879 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object favicon" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18881 +msgid "URL used as link to a shortcut icon for cgit." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18883 +msgid "Defaults to @samp{\"/favicon.ico\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18886 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string footer" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18890 +msgid "The content of the file specified with this option will be included verbatim at the bottom of all pages (i.e. it replaces the standard \"generated by...\" message)." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18895 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string head-include" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18898 +msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18903 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string header" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18906 +msgid "The content of the file specified with this option will be included verbatim at the top of all pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18911 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object include" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18914 +msgid "Name of a configfile to include before the rest of the current config- file is parsed." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18919 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string index-header" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18922 +msgid "The content of the file specified with this option will be included verbatim above the repository index." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18927 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string index-info" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18930 +msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18935 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean local-time?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18938 +msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18943 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object logo" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18946 +msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18948 +msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18951 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string logo-link" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18953 doc/guix.texi:19410 +msgid "URL loaded when clicking on the cgit logo image." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18958 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object owner-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18961 +msgid "Command which will be invoked to format the Owner column of the main page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18966 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer max-atom-items" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18968 +msgid "Number of items to display in atom feeds view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18970 doc/guix.texi:19205 doc/guix.texi:19213 +#: doc/guix.texi:19221 +msgid "Defaults to @samp{10}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18973 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer max-commit-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18975 +msgid "Number of entries to list per page in \"log\" view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18977 doc/guix.texi:18992 +msgid "Defaults to @samp{50}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18980 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer max-message-length" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18982 +msgid "Number of commit message characters to display in \"log\" view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18984 doc/guix.texi:19000 +msgid "Defaults to @samp{80}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18987 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer max-repo-count" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18990 +msgid "Specifies the number of entries to list per page on the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18995 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:18998 +msgid "Specifies the maximum number of repo description characters to display on the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19003 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer max-blob-size" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19005 +msgid "Specifies the maximum size of a blob to display HTML for in KBytes." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19010 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string max-stats" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19013 +msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19018 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19020 +msgid "Mimetype for the specified filename extension." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19024 +msgid "Defaults to @samp{((gif \"image/gif\") (html \"text/html\") (jpg \"image/jpeg\") (jpeg \"image/jpeg\") (pdf \"application/pdf\") (png \"image/png\") (svg \"image/svg+xml\"))}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19027 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object mimetype-file" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19029 +msgid "Specifies the file to use for automatic mimetype lookup." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19034 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string module-link" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19037 +msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19042 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean nocache?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19044 +msgid "If set to the value @samp{#t} caching will be disabled." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19049 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean noplainemail?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19052 +msgid "If set to @samp{#t} showing full author email addresses will be disabled." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19057 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean noheader?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19060 +msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19065 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} list project-list" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19069 +msgid "A list of subdirectories inside of @code{repository-directory}, relative to it, that should loaded as Git repositories. An empty list means that all subdirectories will be loaded." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19074 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object readme" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19076 +msgid "Text which will be used as default value for @code{cgit-repo-readme}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19081 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19085 +msgid "If set to @code{#t} and @code{repository-directory} is enabled, if any repositories are found with a suffix of @code{.git}, this suffix will be removed for the URL and name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19090 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer renamelimit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19092 +msgid "Maximum number of files to consider when detecting renames." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19097 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string repository-sort" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19099 +msgid "The way in which repositories in each section are sorted." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19104 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} robots-list robots" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19106 +msgid "Text used as content for the @code{robots} meta-tag." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19108 +msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19111 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string root-desc" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19113 +msgid "Text printed below the heading on the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19115 +msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19118 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string root-readme" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19121 +msgid "The content of the file specified with this option will be included verbatim below thef \"about\" link on the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19126 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string root-title" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19128 +msgid "Text printed as heading on the repository index page." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19133 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19139 +msgid "If set to @samp{#t} and repository-directory is enabled, repository-directory will recurse into directories whose name starts with a period. Otherwise, repository-directory will stay away from such directories, considered as \"hidden\". Note that this does not apply to the \".git\" directory in non-bare repos." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19144 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} list snapshots" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19147 +msgid "Text which specifies the default set of snapshot formats that cgit generates links for." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19152 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19155 +msgid "Name of the directory to scan for repositories (represents @code{scan-path})." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19157 +msgid "Defaults to @samp{\"/srv/git\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19160 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string section" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19163 doc/guix.texi:19479 +msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19168 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string section-sort" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19171 +msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19176 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer section-from-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19179 +msgid "A number which, if defined prior to repository-directory, specifies how many path elements from each repo path to use as a default section name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19184 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19187 +msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19192 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} file-object source-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19195 +msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19200 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer summary-branches" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19203 +msgid "Specifies the number of branches to display in the repository \"summary\" view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19208 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer summary-log" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19211 +msgid "Specifies the number of log entries to display in the repository \"summary\" view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19216 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} integer summary-tags" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19219 +msgid "Specifies the number of tags to display in the repository \"summary\" view." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19224 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string strict-export" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19227 +msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19232 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} string virtual-root" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19234 +msgid "URL which, if specified, will be used as root for all cgit links." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19236 +msgid "Defaults to @samp{\"/\"}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19239 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19241 +msgid "A list of @dfn{cgit-repo} records to use with config." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19245 +msgid "Available @code{repository-cgit-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19246 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19249 +msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19254 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19256 +msgid "Override the default @code{source-filter}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19261 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string url" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19263 +msgid "The relative URL used to access the repository." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19268 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19270 +msgid "Override the default @code{about-filter}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19275 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19278 +msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set to @samp{name} enables ordering by branch name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19283 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19285 +msgid "A list of URLs which can be used to clone repo." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19290 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19292 +msgid "Override the default @code{commit-filter}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19297 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19306 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19311 +msgid "The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used as default instead. By default branch pointed to by HEAD, or \"master\" if there is no suitable HEAD." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19316 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string desc" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19318 +msgid "The value to show as repository description." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19323 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19325 +msgid "The value to show as repository homepage." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19330 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19332 +msgid "Override the default @code{email-filter}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19337 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-commit-graph?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19340 +msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19345 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-log-filecount?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19348 +msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19353 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-log-linecount?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19356 +msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19361 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-remote-branches?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19369 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-subject-links?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19372 +msgid "A flag which can be used to override the global setting @code{enable-subject-links?}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19377 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-html-serving?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19380 +msgid "A flag which can be used to override the global setting @code{enable-html-serving?}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19385 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19388 +msgid "Flag which, when set to @code{#t}, hides the repository from the repository index." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19393 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19395 +msgid "Flag which, when set to @samp{#t}, ignores the repository." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19400 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19403 +msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19408 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19415 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19417 +msgid "Override the default @code{owner-filter}." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19422 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19426 +msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing. The arguments for the formatstring are the path and SHA1 of the submodule commit." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19431 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19435 +msgid "Text which will be used as the formatstring for a hyperlink when a submodule with the specified subdirectory path is printed in a directory listing." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19440 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19442 +msgid "Override the default maximum statistics period." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19447 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string name" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19449 +msgid "The value to show as repository name." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19454 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string owner" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19456 +msgid "A value used to identify the owner of the repository." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19461 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string path" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19463 +msgid "An absolute path to the repository directory." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19468 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string readme" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19471 +msgid "A path (relative to repo) which specifies a file to include verbatim as the \"About\" page for this repo." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19476 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-string section" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19484 +#, no-wrap +msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19486 doc/guix.texi:19495 +msgid "Extra options will be appended to cgitrc file." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19493 +#, no-wrap +msgid "{@code{cgit-configuration} parameter} list extra-options" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19507 +msgid "However, it could be that you just want to get a @code{cgitrc} up and running. In that case, you can pass an @code{opaque-cgit-configuration} as a record to @code{cgit-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19509 +msgid "Available @code{opaque-cgit-configuration} fields are:" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19510 +#, no-wrap +msgid "{@code{opaque-cgit-configuration} parameter} package cgit" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19512 +msgid "The cgit package." +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19514 +#, no-wrap +msgid "{@code{opaque-cgit-configuration} parameter} string string" +msgstr "" + +#. type: deftypevr +#: doc/guix.texi:19516 +msgid "The contents of the @code{cgitrc}, as a string." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19520 +msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:19525 +#, no-wrap +msgid "" +"(service cgit-service-type\n" +" (opaque-cgit-configuration\n" +" (cgitrc \"\")))\n" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:19531 +#, no-wrap +msgid "The Battle for Wesnoth Service" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19532 +#, no-wrap +msgid "wesnothd" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19536 +msgid "@uref{https://wesnoth.org, The Battle for Wesnoth} is a fantasy, turn based tactical strategy game, with several single player campaigns, and multiplayer games (both networked and local)." +msgstr "" + +#. type: defvar +#: doc/guix.texi:19537 +#, no-wrap +msgid "{Scheme Variable} wesnothd-service-type" +msgstr "" + +#. type: defvar +#: doc/guix.texi:19541 +msgid "Service type for the wesnothd service. Its value must be a @code{wesnothd-configuration} object. To run wesnothd in the default configuration, instantiate it as:" +msgstr "" + +#. type: example +#: doc/guix.texi:19544 +#, no-wrap +msgid "(service wesnothd-service-type)\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19547 +#, no-wrap +msgid "{Data Type} wesnothd-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19549 +msgid "Data type representing the configuration of @command{wesnothd}." +msgstr "" + +#. type: item +#: doc/guix.texi:19551 +#, no-wrap +msgid "@code{package} (default: @code{wesnoth-server})" +msgstr "" + +#. type: table +#: doc/guix.texi:19553 +msgid "The wesnoth server package to use." +msgstr "" + +#. type: item +#: doc/guix.texi:19554 +#, no-wrap +msgid "@code{port} (default: @code{15000})" +msgstr "" + +#. type: table +#: doc/guix.texi:19556 +msgid "The port to bind the server to." +msgstr "" + +#. type: cindex +#: doc/guix.texi:19562 +#, no-wrap +msgid "sysctl" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:19563 +#, no-wrap +msgid "System Control Service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19567 +msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot." +msgstr "" + +#. type: defvr +#: doc/guix.texi:19568 +#, no-wrap +msgid "{Scheme Variable} sysctl-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19572 +msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:" +msgstr "" + +#. type: example +#: doc/guix.texi:19577 +#, no-wrap +msgid "" +"(service sysctl-service-type\n" +" (sysctl-configuration\n" +" (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19580 +#, no-wrap +msgid "{Data Type} sysctl-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19582 +msgid "The data type representing the configuration of @command{sysctl}." +msgstr "" + +#. type: item +#: doc/guix.texi:19584 +#, no-wrap +msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})" +msgstr "" + +#. type: table +#: doc/guix.texi:19586 +msgid "The @command{sysctl} executable to use." +msgstr "" + +#. type: item +#: doc/guix.texi:19587 +#, no-wrap +msgid "@code{settings} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:19589 +msgid "An association list specifies kernel parameters and their values." +msgstr "" + +#. type: cindex +#: doc/guix.texi:19592 +#, no-wrap +msgid "lirc" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:19593 +#, no-wrap +msgid "Lirc Service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19596 +msgid "The @code{(gnu services lirc)} module provides the following service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:19597 +#, no-wrap +msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:19602 +msgid "[#:device #f] [#:driver #f] [#:config-file #f] @ [#:extra-options '()] Return a service that runs @url{http://www.lirc.org,LIRC}, a daemon that decodes infrared signals from remote controls." +msgstr "" + +#. type: deffn +#: doc/guix.texi:19606 +msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details." +msgstr "" + +#. type: deffn +#: doc/guix.texi:19609 +msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:19611 +#, no-wrap +msgid "spice" +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:19612 +#, no-wrap +msgid "Spice Service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19615 +msgid "The @code{(gnu services spice)} module provides the following service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:19616 +#, no-wrap +msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:19620 +msgid "Returns a service that runs @url{http://www.spice-space.org,VDAGENT}, a daemon that enables sharing the clipboard with a vm and setting the guest display resolution when the graphical console window resizes." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:19622 +#, no-wrap +msgid "Dictionary Services" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19623 +#, no-wrap +msgid "dictionary" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19625 +msgid "The @code{(gnu services dict)} module provides the following service:" +msgstr "" + +#. type: deffn +#: doc/guix.texi:19626 +#, no-wrap +msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:19629 +msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})." +msgstr "" + +#. type: deffn +#: doc/guix.texi:19633 +msgid "The optional @var{config} argument specifies the configuration for @command{dicod}, which should be a @code{} object, by default it serves the GNU Collaborative International Dictonary of English." +msgstr "" + +#. type: deffn +#: doc/guix.texi:19637 +msgid "You can add @command{open localhost} to your @file{~/.dico} file to make @code{localhost} the default server for @command{dico} client (@pxref{Initialization File,,, dico, GNU Dico Manual})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:19639 +#, no-wrap +msgid "{Data Type} dicod-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19641 +msgid "Data type representing the configuration of dicod." +msgstr "" + +#. type: item +#: doc/guix.texi:19643 +#, no-wrap +msgid "@code{dico} (default: @var{dico})" +msgstr "" + +#. type: table +#: doc/guix.texi:19645 +msgid "Package object of the GNU Dico dictionary server." +msgstr "" + +#. type: item +#: doc/guix.texi:19646 +#, no-wrap +msgid "@code{interfaces} (default: @var{'(\"localhost\")})" +msgstr "" + +#. type: table +#: doc/guix.texi:19650 +msgid "This is the list of IP addresses and ports and possibly socket file names to listen to (@pxref{Server Settings, @code{listen} directive,, dico, GNU Dico Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:19651 +#, no-wrap +msgid "@code{handlers} (default: @var{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:19653 +msgid "List of @code{} objects denoting handlers (module instances)." +msgstr "" + +#. type: item +#: doc/guix.texi:19654 +#, no-wrap +msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})" +msgstr "" + +#. type: table +#: doc/guix.texi:19656 +msgid "List of @code{} objects denoting dictionaries to be served." +msgstr "" + +#. type: deftp +#: doc/guix.texi:19659 +#, no-wrap +msgid "{Data Type} dicod-handler" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19661 +msgid "Data type representing a dictionary handler (module instance)." +msgstr "" + +#. type: table +#: doc/guix.texi:19665 +msgid "Name of the handler (module instance)." +msgstr "" + +#. type: item +#: doc/guix.texi:19666 +#, no-wrap +msgid "@code{module} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:19670 +msgid "Name of the dicod module of the handler (instance). If it is @code{#f}, the module has the same name as the handler. (@pxref{Modules,,, dico, GNU Dico Manual})." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:19671 doc/guix.texi:19691 +#, no-wrap +msgid "options" +msgstr "" + +#. type: table +#: doc/guix.texi:19673 +msgid "List of strings or gexps representing the arguments for the module handler" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19676 +#, no-wrap +msgid "{Data Type} dicod-database" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19678 +msgid "Data type representing a dictionary database." +msgstr "" + +#. type: table +#: doc/guix.texi:19682 +msgid "Name of the database, will be used in DICT commands." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:19683 +#, no-wrap +msgid "handler" +msgstr "" + +#. type: table +#: doc/guix.texi:19686 +msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:19687 +#, no-wrap +msgid "@code{complex?} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:19690 +msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{} object, otherwise not." +msgstr "" + +#. type: table +#: doc/guix.texi:19694 +msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:19697 +#, no-wrap +msgid "{Scheme Variable} %dicod-database:gcide" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19700 +msgid "A @code{} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19703 +msgid "The following is an example @code{dicod-service} configuration." +msgstr "" + +#. type: example +#: doc/guix.texi:19718 +#, no-wrap +msgid "" +"(dicod-service #:config\n" +" (dicod-configuration\n" +" (handlers (list (dicod-handler\n" +" (name \"wordnet\")\n" +" (module \"dictorg\")\n" +" (options\n" +" (list #~(string-append \"dbdir=\" #$wordnet))))))\n" +" (databases (list (dicod-database\n" +" (name \"wordnet\")\n" +" (complex? #t)\n" +" (handler \"wordnet\")\n" +" (options '(\"database=wn\")))\n" +" %dicod-database:gcide))))\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19723 +#, no-wrap +msgid "setuid programs" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19733 +msgid "Some programs need to run with ``root'' privileges, even when they are launched by unprivileged users. A notorious example is the @command{passwd} program, which users can run to change their password, and which needs to access the @file{/etc/passwd} and @file{/etc/shadow} files---something normally restricted to root, for obvious security reasons. To address that, these executables are @dfn{setuid-root}, meaning that they always run with root privileges (@pxref{How Change Persona,,, libc, The GNU C Library Reference Manual}, for more info about the setuid mechanism.)" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19740 +msgid "The store itself @emph{cannot} contain setuid programs: that would be a security issue since any user on the system can write derivations that populate the store (@pxref{The Store}). Thus, a different mechanism is used: instead of changing the setuid bit directly on files that are in the store, we let the system administrator @emph{declare} which programs should be setuid root." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19746 +msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of G-expressions denoting the names of programs to be setuid-root (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, can be designated by this G-expression (@pxref{G-Expressions}):" +msgstr "" + +#. type: example +#: doc/guix.texi:19749 +#, no-wrap +msgid "#~(string-append #$shadow \"/bin/passwd\")\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19753 +msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module." +msgstr "" + +#. type: defvr +#: doc/guix.texi:19754 +#, no-wrap +msgid "{Scheme Variable} %setuid-programs" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19756 +msgid "A list of G-expressions denoting common programs that are setuid-root." +msgstr "" + +#. type: defvr +#: doc/guix.texi:19759 +msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19765 +msgid "Under the hood, the actual setuid programs are created in the @file{/run/setuid-programs} directory at system activation time. The files in this directory refer to the ``real'' binaries, which are in the store." +msgstr "" + +#. type: cindex +#: doc/guix.texi:19769 +#, no-wrap +msgid "HTTPS, certificates" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19770 +#, no-wrap +msgid "X.509 certificates" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19771 +#, no-wrap +msgid "TLS" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19778 +msgid "Web servers available over HTTPS (that is, HTTP over the transport-layer security mechanism, TLS) send client programs an @dfn{X.509 certificate} that the client can then use to @emph{authenticate} the server. To do that, clients verify that the server's certificate is signed by a so-called @dfn{certificate authority} (CA). But to verify the CA's signature, clients must have first acquired the CA's certificate." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19782 +msgid "Web browsers such as GNU@tie{}IceCat include their own set of CA certificates, such that they are able to verify CA signatures out-of-the-box." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19786 +msgid "However, most other programs that can talk HTTPS---@command{wget}, @command{git}, @command{w3m}, etc.---need to be told where CA certificates can be found." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19793 +msgid "In GuixSD, this is done by adding a package that provides certificates to the @code{packages} field of the @code{operating-system} declaration (@pxref{operating-system Reference}). GuixSD includes one such package, @code{nss-certs}, which is a set of CA certificates provided as part of Mozilla's Network Security Services." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19798 +msgid "Note that it is @emph{not} part of @var{%base-packages}, so you need to explicitly add it. The @file{/etc/ssl/certs} directory, which is where most applications and libraries look for certificates by default, points to the certificates installed globally." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19808 +msgid "Unprivileged users, including users of Guix on a foreign distro, can also install their own certificate package in their profile. A number of environment variables need to be defined so that applications and libraries know where to find them. Namely, the OpenSSL library honors the @code{SSL_CERT_DIR} and @code{SSL_CERT_FILE} variables. Some applications add their own environment variables; for instance, the Git version control system honors the certificate bundle pointed to by the @code{GIT_SSL_CAINFO} environment variable. Thus, you would typically run something like:" +msgstr "" + +#. type: example +#: doc/guix.texi:19814 +#, no-wrap +msgid "" +"$ guix package -i nss-certs\n" +"$ export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n" +"$ export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n" +"$ export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19819 +msgid "As another example, R requires the @code{CURL_CA_BUNDLE} environment variable to point to a certificate bundle, so you would have to run something like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:19823 +#, no-wrap +msgid "" +"$ guix package -i nss-certs\n" +"$ export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19827 +msgid "For other applications you may want to look up the required environment variable in the relevant documentation." +msgstr "" + +#. type: cindex +#: doc/guix.texi:19832 +#, no-wrap +msgid "name service switch" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19833 +#, no-wrap +msgid "NSS" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19842 +msgid "The @code{(gnu system nss)} module provides bindings to the configuration file of the libc @dfn{name service switch} or @dfn{NSS} (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). In a nutshell, the NSS is a mechanism that allows libc to be extended with new ``name'' lookup methods for system databases, which includes host names, service names, user accounts, and more (@pxref{Name Service Switch, System Databases and Name Service Switch,, libc, The GNU C Library Reference Manual})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19849 +msgid "The NSS configuration specifies, for each system database, which lookup method is to be used, and how the various methods are chained together---for instance, under which circumstances NSS should try the next method in the list. The NSS configuration is given in the @code{name-service-switch} field of @code{operating-system} declarations (@pxref{operating-system Reference, @code{name-service-switch}})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:19850 +#, no-wrap +msgid "nss-mdns" +msgstr "" + +#. type: cindex +#: doc/guix.texi:19851 +#, no-wrap +msgid ".local, host name lookup" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19856 +msgid "As an example, the declaration below configures the NSS to use the @uref{http://0pointer.de/lennart/projects/nss-mdns/, @code{nss-mdns} back-end}, which supports host name lookups over multicast DNS (mDNS) for host names ending in @code{.local}:" +msgstr "" + +#. type: example +#: doc/guix.texi:19860 +#, no-wrap +msgid "" +"(name-service-switch\n" +" (hosts (list %files ;first, check /etc/hosts\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:19865 +#, no-wrap +msgid "" +" ;; If the above did not succeed, try\n" +" ;; with 'mdns_minimal'.\n" +" (name-service\n" +" (name \"mdns_minimal\")\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:19871 +#, no-wrap +msgid "" +" ;; 'mdns_minimal' is authoritative for\n" +" ;; '.local'. When it returns \"not found\",\n" +" ;; no need to try the next methods.\n" +" (reaction (lookup-specification\n" +" (not-found => return))))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:19875 +#, no-wrap +msgid "" +" ;; Then fall back to DNS.\n" +" (name-service\n" +" (name \"dns\"))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:19879 +#, no-wrap +msgid "" +" ;; Finally, try with the \"full\" 'mdns'.\n" +" (name-service\n" +" (name \"mdns\")))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19884 +msgid "Do not worry: the @code{%mdns-host-lookup-nss} variable (see below) contains this configuration, so you will not have to type it if all you want is to have @code{.local} host lookup working." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19892 +msgid "Note that, in this case, in addition to setting the @code{name-service-switch} of the @code{operating-system} declaration, you also need to use @code{avahi-service} (@pxref{Networking Services, @code{avahi-service}}), or @var{%desktop-services}, which includes it (@pxref{Desktop Services}). Doing this makes @code{nss-mdns} accessible to the name service cache daemon (@pxref{Base Services, @code{nscd-service}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19895 +msgid "For convenience, the following variables provide typical NSS configurations." +msgstr "" + +#. type: defvr +#: doc/guix.texi:19896 +#, no-wrap +msgid "{Scheme Variable} %default-nss" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19899 +msgid "This is the default name service switch configuration, a @code{name-service-switch} object." +msgstr "" + +#. type: defvr +#: doc/guix.texi:19901 +#, no-wrap +msgid "{Scheme Variable} %mdns-host-lookup-nss" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19904 +msgid "This is the name service switch configuration with support for host name lookup over multicast DNS (mDNS) for host names ending in @code{.local}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19914 +msgid "The reference for name service switch configuration is given below. It is a direct mapping of the configuration file format of the C library , so please refer to the C library manual for more information (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). Compared to the configuration file format of libc NSS, it has the advantage not only of adding this warm parenthetic feel that we like, but also static checks: you will know about syntax errors and typos as soon as you run @command{guix system}." +msgstr "" + +#. type: deftp +#: doc/guix.texi:19915 +#, no-wrap +msgid "{Data Type} name-service-switch" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19920 +msgid "This is the data type representation the configuration of libc's name service switch (NSS). Each field below represents one of the supported system databases." +msgstr "" + +#. type: item +#: doc/guix.texi:19922 +#, no-wrap +msgid "aliases" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19923 +#, no-wrap +msgid "ethers" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19925 +#, no-wrap +msgid "gshadow" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19926 +#, no-wrap +msgid "hosts" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19927 +#, no-wrap +msgid "initgroups" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19928 +#, no-wrap +msgid "netgroup" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19929 +#, no-wrap +msgid "networks" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19931 +#, no-wrap +msgid "public-key" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19932 +#, no-wrap +msgid "rpc" +msgstr "" + +#. type: itemx +#: doc/guix.texi:19934 +#, no-wrap +msgid "shadow" +msgstr "" + +#. type: table +#: doc/guix.texi:19937 +msgid "The system databases handled by the NSS. Each of these fields must be a list of @code{} objects (see below)." +msgstr "" + +#. type: deftp +#: doc/guix.texi:19940 +#, no-wrap +msgid "{Data Type} name-service" +msgstr "" + +#. type: deftp +#: doc/guix.texi:19944 +msgid "This is the data type representing an actual name service and the associated lookup action." +msgstr "" + +#. type: table +#: doc/guix.texi:19949 +msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})." +msgstr "" + +#. type: table +#: doc/guix.texi:19954 +msgid "Note that name services listed here must be visible to nscd. This is achieved by passing the @code{#:name-services} argument to @code{nscd-service} the list of packages providing the needed name services (@pxref{Base Services, @code{nscd-service}})." +msgstr "" + +#. type: item +#: doc/guix.texi:19955 +#, no-wrap +msgid "reaction" +msgstr "" + +#. type: table +#: doc/guix.texi:19959 +msgid "An action specified using the @code{lookup-specification} macro (@pxref{Actions in the NSS configuration,,, libc, The GNU C Library Reference Manual}). For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:19963 +#, no-wrap +msgid "" +"(lookup-specification (unavailable => continue)\n" +" (success => return))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19977 +msgid "For bootstrapping purposes, the Linux-Libre kernel is passed an @dfn{initial RAM disk}, or @dfn{initrd}. An initrd contains a temporary root file system as well as an initialization script. The latter is responsible for mounting the real root file system, and for loading any kernel modules that may be needed to achieve that." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:19986 +msgid "The @code{initrd-modules} field of an @code{operating-system} declaration allows you to specify Linux-libre kernel modules that must be available in the initrd. In particular, this is where you would list modules needed to actually drive the hard disk where your root partition is---although the default value of @code{initrd-modules} should cover most use cases. For example, assuming you need the @code{megaraid_sas} module in addition to the default modules to be able to access your root file system, you would write:" +msgstr "" + +#. type: example +#: doc/guix.texi:19991 +#, no-wrap +msgid "" +"(operating-system\n" +" ;; @dots{}\n" +" (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19993 +#, no-wrap +msgid "{Scheme Variable} %base-initrd-modules" +msgstr "" + +#. type: defvr +#: doc/guix.texi:19995 +msgid "This is the list of kernel modules included in the initrd by default." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20003 +msgid "Furthermore, if you need lower-level customization, the @code{initrd} field of an @code{operating-system} declaration allows you to specify which initrd you would like to use. The @code{(gnu system linux-initrd)} module provides three ways to build an initrd: the high-level @code{base-initrd} procedure and the low-level @code{raw-initrd} and @code{expression->initrd} procedures." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20008 +msgid "The @code{base-initrd} procedure is intended to cover most common uses. For example, if you want to add a bunch of kernel modules to be loaded at boot time, you can define the @code{initrd} field of the operating system declaration like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:20016 +#, no-wrap +msgid "" +"(initrd (lambda (file-systems . rest)\n" +" ;; Create a standard initrd but set up networking\n" +" ;; with the parameters QEMU expects by default.\n" +" (apply base-initrd file-systems\n" +" #:qemu-networking? #t\n" +" rest)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20021 +msgid "The @code{base-initrd} procedure also handles common use cases that involves using the system as a QEMU guest, or as a ``live'' system with volatile root file system." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20028 +msgid "The @code{base-initrd} procedure is built from @code{raw-initrd} procedure. Unlike @code{base-initrd}, @code{raw-initrd} doesn't do anything high-level, such as trying to guess which kernel modules and packages should be included to the initrd. An example use of @code{raw-initrd} is when a user has a custom Linux kernel configuration and default kernel modules included by @code{base-initrd} are not available." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20033 +msgid "The initial RAM disk produced by @code{base-initrd} or @code{raw-initrd} honors several options passed on the Linux kernel command line (that is, arguments passed @i{via} the @code{linux} command of GRUB, or the @code{-append} option of QEMU), notably:" +msgstr "" + +#. type: item +#: doc/guix.texi:20035 +#, no-wrap +msgid "--load=@var{boot}" +msgstr "" + +#. type: table +#: doc/guix.texi:20038 +msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system." +msgstr "" + +#. type: table +#: doc/guix.texi:20042 +msgid "GuixSD uses this option to yield control to a boot program that runs the service activation programs and then spawns the GNU@tie{}Shepherd, the initialization system." +msgstr "" + +#. type: item +#: doc/guix.texi:20043 +#, no-wrap +msgid "--root=@var{root}" +msgstr "" + +#. type: table +#: doc/guix.texi:20047 +msgid "Mount @var{root} as the root file system. @var{root} can be a device name like @code{/dev/sda1}, a file system label, or a file system UUID." +msgstr "" + +#. type: table +#: doc/guix.texi:20051 +msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}." +msgstr "" + +#. type: item +#: doc/guix.texi:20052 +#, no-wrap +msgid "modprobe.blacklist=@var{modules}@dots{}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20053 +#, no-wrap +msgid "module, black-listing" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20054 +#, no-wrap +msgid "black list, of kernel modules" +msgstr "" + +#. type: table +#: doc/guix.texi:20059 +msgid "Instruct the initial RAM disk as well as the @command{modprobe} command (from the kmod package) to refuse to load @var{modules}. @var{modules} must be a comma-separated list of module names---e.g., @code{usbkbd,9pnet}." +msgstr "" + +#. type: item +#: doc/guix.texi:20060 +#, no-wrap +msgid "--repl" +msgstr "" + +#. type: table +#: doc/guix.texi:20066 +msgid "Start a read-eval-print loop (REPL) from the initial RAM disk before it tries to load kernel modules and to mount the root file system. Our marketing team calls it @dfn{boot-to-Guile}. The Schemer in you will love it. @xref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}, for more information on Guile's REPL." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20072 +msgid "Now that you know all the features that initial RAM disks produced by @code{base-initrd} and @code{raw-initrd} provide, here is how to use it and customize it further." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20075 +#, no-wrap +msgid "{Monadic Procedure} raw-initrd @var{file-systems} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:20087 +msgid "[#:linux-modules '()] [#:mapped-devices '()] @ [#:helper-packages '()] [#:qemu-networking? #f] [#:volatile-root? #f] Return a monadic derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted (@pxref{Mapped Devices}). @var{helper-packages} is a list of packages to be copied in the initrd. It may include @code{e2fsck/static} or other packages needed by the initrd to check the root file system." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20091 +msgid "When @var{qemu-networking?} is true, set up networking with the standard QEMU parameters. When @var{virtio?} is true, load additional modules so that the initrd can be used as a QEMU guest with para-virtualized I/O drivers." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20094 +msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20096 +#, no-wrap +msgid "{Monadic Procedure} base-initrd @var{file-systems} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:20104 +msgid "[#:mapped-devices '()] [#:qemu-networking? #f] [#:volatile-root? #f]@ [#:linux-modules '()] Return a monadic derivation that builds a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20106 +msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20111 +msgid "The initrd is automatically populated with all the kernel modules necessary for @var{file-systems} and for the given options. Additional kernel modules can be listed in @var{linux-modules}. They will be added to the initrd, and loaded at boot time in the order in which they appear." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20118 +msgid "Needless to say, the initrds we produce and use embed a statically-linked Guile, and the initialization program is a Guile program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd." +msgstr "" + +#. type: deffn +#: doc/guix.texi:20119 +#, no-wrap +msgid "{Monadic Procedure} expression->initrd @var{exp} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:20125 +msgid "[#:guile %guile-static-stripped] [#:name \"guile-initrd\"] Return a derivation that builds a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20131 +#, no-wrap +msgid "boot loader" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20138 +msgid "The operating system supports multiple bootloaders. The bootloader is configured using @code{bootloader-configuration} declaration. All the fields of this structure are bootloader agnostic except for one field, @code{bootloader} that indicates the bootloader to be configured and installed." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20143 +msgid "Some of the bootloaders do not honor every field of @code{bootloader-configuration}. For instance, the extlinux bootloader does not support themes and thus ignores the @code{theme} field." +msgstr "" + +#. type: deftp +#: doc/guix.texi:20144 +#, no-wrap +msgid "{Data Type} bootloader-configuration" +msgstr "" + +#. type: deftp +#: doc/guix.texi:20146 +msgid "The type of a bootloader configuration declaration." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20150 +#, no-wrap +msgid "EFI, bootloader" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20151 +#, no-wrap +msgid "UEFI, bootloader" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20152 +#, no-wrap +msgid "BIOS, bootloader" +msgstr "" + +#. type: table +#: doc/guix.texi:20158 +msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported. @code{grub-efi-bootloader} allows to boot on modern systems using the @dfn{Unified Extensible Firmware Interface} (UEFI)." +msgstr "" + +#. type: table +#: doc/guix.texi:20161 +msgid "Available bootloaders are described in @code{(gnu bootloader @dots{})} modules." +msgstr "" + +#. type: table +#: doc/guix.texi:20171 +msgid "This is a string denoting the target onto which to install the bootloader. The exact interpretation depends on the bootloader in question; for @code{grub-bootloader}, for example, it should be a device name understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (for GRUB, @pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, it should be the path to a mounted EFI file system." +msgstr "" + +#. type: item +#: doc/guix.texi:20172 +#, no-wrap +msgid "@code{menu-entries} (default: @code{()})" +msgstr "" + +#. type: table +#: doc/guix.texi:20176 +msgid "A possibly empty list of @code{menu-entry} objects (see below), denoting entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations." +msgstr "" + +#. type: item +#: doc/guix.texi:20177 +#, no-wrap +msgid "@code{default-entry} (default: @code{0})" +msgstr "" + +#. type: table +#: doc/guix.texi:20180 +msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system." +msgstr "" + +#. type: item +#: doc/guix.texi:20181 +#, no-wrap +msgid "@code{timeout} (default: @code{5})" +msgstr "" + +#. type: table +#: doc/guix.texi:20184 +msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely." +msgstr "" + +#. type: item +#: doc/guix.texi:20185 +#, no-wrap +msgid "@code{theme} (default: @var{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:20189 +msgid "The bootloader theme object describing the theme to use. If no theme is provided, some bootloaders might use a default theme, that's true for GRUB." +msgstr "" + +#. type: item +#: doc/guix.texi:20190 +#, no-wrap +msgid "@code{terminal-outputs} (default: @code{'gfxterm})" +msgstr "" + +#. type: table +#: doc/guix.texi:20197 +msgid "The output terminals used for the bootloader boot menu, as a list of symbols. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, @code{morse}, and @code{pkmodem}. This field corresponds to the GRUB variable GRUB_TERMINAL_OUTPUT (@pxref{Simple configuration,,, grub,GNU GRUB manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:20198 +#, no-wrap +msgid "@code{terminal-inputs} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:20206 +msgid "The input terminals used for the bootloader boot menu, as a list of symbols. For GRUB, the default is the native platform terminal as determined at run-time. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. This field corresponds to the GRUB variable GRUB_TERMINAL_INPUT (@pxref{Simple configuration,,, grub,GNU GRUB manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:20207 +#, no-wrap +msgid "@code{serial-unit} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:20211 +msgid "The serial unit used by the bootloader, as an integer from 0 to 3. For GRUB, it is chosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:20212 +#, no-wrap +msgid "@code{serial-speed} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:20216 +msgid "The speed of the serial interface, as an integer. For GRUB, the default value is chosen at run-time; currently GRUB chooses 9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20220 +#, no-wrap +msgid "dual boot" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20221 +#, no-wrap +msgid "boot menu" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20227 +msgid "Should you want to list additional boot menu entries @i{via} the @code{menu-entries} field above, you will need to create them with the @code{menu-entry} form. For example, imagine you want to be able to boot another distro (hard to imagine!), you can define a menu entry along these lines:" +msgstr "" + +#. type: example +#: doc/guix.texi:20234 +#, no-wrap +msgid "" +"(menu-entry\n" +" (label \"The Other Distro\")\n" +" (linux \"/boot/old/vmlinux-2.6.32\")\n" +" (linux-arguments '(\"root=/dev/sda2\"))\n" +" (initrd \"/boot/old/initrd\"))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20237 +msgid "Details below." +msgstr "" + +#. type: deftp +#: doc/guix.texi:20238 +#, no-wrap +msgid "{Data Type} menu-entry" +msgstr "" + +#. type: deftp +#: doc/guix.texi:20240 +msgid "The type of an entry in the bootloader menu." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:20243 +#, no-wrap +msgid "label" +msgstr "" + +#. type: table +#: doc/guix.texi:20245 +msgid "The label to show in the menu---e.g., @code{\"GNU\"}." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:20246 +#, no-wrap +msgid "linux" +msgstr "" + +#. type: table +#: doc/guix.texi:20248 +msgid "The Linux kernel image to boot, for example:" +msgstr "" + +#. type: example +#: doc/guix.texi:20251 +#, no-wrap +msgid "(file-append linux-libre \"/bzImage\")\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20256 +msgid "For GRUB, it is also possible to specify a device explicitly in the file path using GRUB's device naming convention (@pxref{Naming convention,,, grub, GNU GRUB manual}), for example:" +msgstr "" + +#. type: example +#: doc/guix.texi:20259 +#, no-wrap +msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20263 +msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely." +msgstr "" + +#. type: item +#: doc/guix.texi:20264 +#, no-wrap +msgid "@code{linux-arguments} (default: @code{()})" +msgstr "" + +#. type: table +#: doc/guix.texi:20267 +msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}." +msgstr "" + +#. type: table +#: doc/guix.texi:20271 +msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})." +msgstr "" + +#. type: item +#: doc/guix.texi:20271 +#, no-wrap +msgid "@code{device} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:20274 +msgid "The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual})." +msgstr "" + +#. type: table +#: doc/guix.texi:20280 +msgid "This may be a file system label (a string), a file system UUID (a bytevector, @pxref{File Systems}), or @code{#f}, in which case the bootloader will search the device containing the file specified by the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be an OS device name such as @file{/dev/sda1}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20287 +msgid "Fow now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not documented yet." +msgstr "" + +#. type: defvr +#: doc/guix.texi:20292 +msgid "This is the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record." +msgstr "" + +#. type: defvr +#: doc/guix.texi:20295 +msgid "It comes with a fancy background image displaying the GNU and Guix logos." +msgstr "" + +#. type: subsection +#: doc/guix.texi:20299 +#, no-wrap +msgid "Invoking @code{guix system}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20304 +msgid "Once you have written an operating system declaration as seen in the previous section, it can be @dfn{instantiated} using the @command{guix system} command. The synopsis is:" +msgstr "" + +#. type: example +#: doc/guix.texi:20307 +#, no-wrap +msgid "guix system @var{options}@dots{} @var{action} @var{file}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20313 +msgid "@var{file} must be the name of a file containing an @code{operating-system} declaration. @var{action} specifies how the operating system is instantiated. Currently the following values are supported:" +msgstr "" + +#. type: item +#: doc/guix.texi:20315 +#, no-wrap +msgid "search" +msgstr "" + +#. type: table +#: doc/guix.texi:20318 +msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:" +msgstr "" + +#. type: example +#: doc/guix.texi:20330 +#, no-wrap +msgid "" +"$ guix system search console font\n" +"name: console-fonts\n" +"location: gnu/services/base.scm:729:2\n" +"extends: shepherd-root\n" +"description: Install the given fonts on the specified ttys (fonts are\n" +"+ per virtual console on GNU/Linux). The value of this service is a list\n" +"+ of tty/font pairs like:\n" +"+ \n" +"+ '((\"tty1\" . \"LatGrkCyr-8x16\"))\n" +"relevance: 20\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:20336 +#, no-wrap +msgid "" +"name: mingetty\n" +"location: gnu/services/base.scm:1048:2\n" +"extends: shepherd-root\n" +"description: Provide console login using the `mingetty' program.\n" +"relevance: 2\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:20343 +#, no-wrap +msgid "" +"name: login\n" +"location: gnu/services/base.scm:775:2\n" +"extends: pam\n" +"description: Provide a console log-in service as specified by its\n" +"+ configuration value, a `login-configuration' object.\n" +"relevance: 2\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:20345 +#, no-wrap +msgid "@dots{}\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20350 +msgid "As for @command{guix package --search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:20351 +#, no-wrap +msgid "reconfigure" +msgstr "" + +#. type: table +#: doc/guix.texi:20356 +msgid "Build the operating system described in @var{file}, activate it, and switch to it@footnote{This action (and the related actions @code{switch-generation} and @code{roll-back}) are usable only on systems already running GuixSD.}." +msgstr "" + +#. type: table +#: doc/guix.texi:20363 +msgid "This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running, it does not attempt to upgrade it since this would not be possible without stopping it first." +msgstr "" + +#. type: table +#: doc/guix.texi:20369 +msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix system list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})." +msgstr "" + +#. type: table +#: doc/guix.texi:20374 +msgid "It also adds a bootloader menu entry for the new OS configuration, ---unless @option{--no-bootloader} is passed. For GRUB, it moves entries for older configurations to a submenu, allowing you to choose an older system generation at boot time should you need it." +msgstr "" + +#. type: quotation +#: doc/guix.texi:20382 +msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix system reconfigure} for the first time (@pxref{Invoking guix pull}). Failing to do that you would see an older version of Guix once @command{reconfigure} has completed." +msgstr "" + +#. type: item +#: doc/guix.texi:20384 +#, no-wrap +msgid "switch-generation" +msgstr "" + +#. type: table +#: doc/guix.texi:20393 +msgid "Switch to an existing system generation. This action atomically switches the system profile to the specified system generation. It also rearranges the system's existing bootloader menu entries. It makes the menu entry for the specified system generation the default, and it moves the entries for the other generatiors to a submenu, if supported by the bootloader being used. The next time the system boots, it will use the specified system generation." +msgstr "" + +#. type: table +#: doc/guix.texi:20397 +msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file." +msgstr "" + +#. type: table +#: doc/guix.texi:20401 +msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:" +msgstr "" + +#. type: example +#: doc/guix.texi:20404 +#, no-wrap +msgid "guix system switch-generation 7\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20412 +msgid "The target generation can also be specified relative to the current generation with the form @code{+N} or @code{-N}, where @code{+3} means ``3 generations ahead of the current generation,'' and @code{-1} means ``1 generation prior to the current generation.'' When specifying a negative value such as @code{-1}, you must precede it with @code{--} to prevent it from being parsed as an option. For example:" +msgstr "" + +#. type: example +#: doc/guix.texi:20415 +#, no-wrap +msgid "guix system switch-generation -- -1\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20423 +msgid "Currently, the effect of invoking this action is @emph{only} to switch the system profile to an existing generation and rearrange the bootloader menu entries. To actually start using the target system generation, you must reboot after running this action. In the future, it will be updated to do the same things as @command{reconfigure}, like activating and deactivating services." +msgstr "" + +#. type: table +#: doc/guix.texi:20425 +msgid "This action will fail if the specified generation does not exist." +msgstr "" + +#. type: item +#: doc/guix.texi:20426 +#, no-wrap +msgid "roll-back" +msgstr "" + +#. type: table +#: doc/guix.texi:20432 +msgid "Switch to the preceding system generation. The next time the system boots, it will use the preceding system generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}." +msgstr "" + +#. type: table +#: doc/guix.texi:20436 +msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation." +msgstr "" + +#. type: table +#: doc/guix.texi:20441 +msgid "Build the derivation of the operating system, which includes all the configuration files and programs needed to boot and run the system. This action does not actually install anything." +msgstr "" + +#. type: item +#: doc/guix.texi:20442 +#, no-wrap +msgid "init" +msgstr "" + +#. type: table +#: doc/guix.texi:20446 +msgid "Populate the given directory with all the files necessary to run the operating system specified in @var{file}. This is useful for first-time installations of GuixSD. For instance:" +msgstr "" + +#. type: example +#: doc/guix.texi:20449 +#, no-wrap +msgid "guix system init my-os-config.scm /mnt\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20456 +msgid "copies to @file{/mnt} all the store items required by the configuration specified in @file{my-os-config.scm}. This includes configuration files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file." +msgstr "" + +#. type: table +#: doc/guix.texi:20460 +msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed." +msgstr "" + +#. type: item +#: doc/guix.texi:20461 +#, no-wrap +msgid "vm" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20462 doc/guix.texi:20726 +#, no-wrap +msgid "virtual machine" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20463 +#, no-wrap +msgid "VM" +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:20470 +msgid "guix system vm" +msgstr "" + +#. type: table +#: doc/guix.texi:20470 +msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM). Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1@tie{}GiB of RAM for the emulated machine:" +msgstr "" + +#. type: example +#: doc/guix.texi:20473 +#, no-wrap +msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -net user\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20476 +msgid "The VM shares its store with the host system." +msgstr "" + +#. type: table +#: doc/guix.texi:20481 +msgid "Additional file systems can be shared between the host and the VM using the @code{--share} and @code{--expose} command-line options: the former specifies a directory to be shared with write access, while the latter provides read-only access to the shared directory." +msgstr "" + +#. type: table +#: doc/guix.texi:20485 +msgid "The example below creates a VM in which the user's home directory is accessible read-only, and where the @file{/exchange} directory is a read-write mapping of @file{$HOME/tmp} on the host:" +msgstr "" + +#. type: example +#: doc/guix.texi:20489 +#, no-wrap +msgid "" +"guix system vm my-config.scm \\\n" +" --expose=$HOME --share=$HOME/tmp=/exchange\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20494 +msgid "On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted." +msgstr "" + +#. type: table +#: doc/guix.texi:20500 +msgid "The @code{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created. The @code{--image-size} option can be used to specify the size of the image." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20501 +#, no-wrap +msgid "System images, creation in various formats" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20502 +#, no-wrap +msgid "Creating system images in various formats" +msgstr "" + +#. type: item +#: doc/guix.texi:20503 +#, no-wrap +msgid "vm-image" +msgstr "" + +#. type: itemx +#: doc/guix.texi:20504 +#, no-wrap +msgid "disk-image" +msgstr "" + +#. type: itemx +#: doc/guix.texi:20505 +#, no-wrap +msgid "docker-image" +msgstr "" + +#. type: table +#: doc/guix.texi:20513 +msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}." +msgstr "" + +#. type: table +#: doc/guix.texi:20516 +msgid "You can specify the root file system type by using the @option{--file-system-type} option. It defaults to @code{ext4}." +msgstr "" + +#. type: table +#: doc/guix.texi:20520 +msgid "When using @code{vm-image}, the returned image is in qcow2 format, which the QEMU emulator can efficiently use. @xref{Running GuixSD in a VM}, for more information on how to run the image in a virtual machine." +msgstr "" + +#. type: table +#: doc/guix.texi:20525 +msgid "When using @code{disk-image}, a raw disk image is produced; it can be copied as is to a USB stick, for instance. Assuming @code{/dev/sdc} is the device corresponding to a USB stick, one can copy the image to it using the following command:" +msgstr "" + +#. type: example +#: doc/guix.texi:20528 +#, no-wrap +msgid "# dd if=$(guix system disk-image my-os.scm) of=/dev/sdc\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20535 +msgid "When using @code{docker-image}, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:" +msgstr "" + +#. type: example +#: doc/guix.texi:20541 +#, no-wrap +msgid "" +"image_id=\"$(docker load < guixsd-docker-image.tar.gz)\"\n" +"docker run -e GUIX_NEW_SYSTEM=/var/guix/profiles/system \\\\\n" +" --entrypoint /var/guix/profiles/system/profile/bin/guile \\\\\n" +" $image_id /var/guix/profiles/system/boot\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20551 +msgid "This command starts a new Docker container from the specified image. It will boot the GuixSD system in the usual manner, which means it will start any services you have defined in the operating system configuration. Depending on what you run in the Docker container, it may be necessary to give the container additional permissions. For example, if you intend to build software using Guix inside of the Docker container, you may need to pass the @option{--privileged} option to @code{docker run}." +msgstr "" + +#. type: table +#: doc/guix.texi:20559 +msgid "Return a script to run the operating system declared in @var{file} within a container. Containers are a set of lightweight isolation mechanisms provided by the kernel Linux-libre. Containers are substantially less resource-demanding than full virtual machines since the kernel, shared objects, and other resources can be shared with the host system; this also means they provide thinner isolation." +msgstr "" + +#. type: table +#: doc/guix.texi:20563 +msgid "Currently, the script must be run as root in order to support more than a single user and group. The container shares its store with the host system." +msgstr "" + +#. type: table +#: doc/guix.texi:20567 +msgid "As with the @code{vm} action (@pxref{guix system vm}), additional file systems to be shared between the host and container can be specified using the @option{--share} and @option{--expose} options:" +msgstr "" + +#. type: example +#: doc/guix.texi:20571 +#, no-wrap +msgid "" +"guix system container my-config.scm \\\n" +" --expose=$HOME --share=$HOME/tmp=/exchange\n" +msgstr "" + +#. type: quotation +#: doc/guix.texi:20575 +msgid "This option requires Linux-libre 3.19 or newer." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20582 +msgid "@var{options} can contain any of the common build options (@pxref{Common Build Options}). In addition, @var{options} can contain one of the following:" +msgstr "" + +#. type: table +#: doc/guix.texi:20591 +msgid "Consider the operating-system @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to an operating system. This is used to generate the GuixSD installer @pxref{Building the Installation Image})." +msgstr "" + +#. type: table +#: doc/guix.texi:20596 +msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})." +msgstr "" + +#. type: item +#: doc/guix.texi:20597 +#, no-wrap +msgid "--derivation" +msgstr "" + +#. type: table +#: doc/guix.texi:20601 +msgid "Return the derivation file name of the given operating system without building anything." +msgstr "" + +#. type: item +#: doc/guix.texi:20602 +#, no-wrap +msgid "--file-system-type=@var{type}" +msgstr "" + +#. type: table +#: doc/guix.texi:20606 +msgid "For the @code{disk-image} action, create a file system of the given @var{type} on the image." +msgstr "" + +#. type: table +#: doc/guix.texi:20608 +msgid "When this option is omitted, @command{guix system} uses @code{ext4}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20609 +#, no-wrap +msgid "ISO-9660 format" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20610 +#, no-wrap +msgid "CD image format" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20611 +#, no-wrap +msgid "DVD image format" +msgstr "" + +#. type: table +#: doc/guix.texi:20614 +msgid "@code{--file-system-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs." +msgstr "" + +#. type: item +#: doc/guix.texi:20615 +#, no-wrap +msgid "--image-size=@var{size}" +msgstr "" + +#. type: table +#: doc/guix.texi:20620 +msgid "For the @code{vm-image} and @code{disk-image} actions, create an image of the given @var{size}. @var{size} may be a number of bytes, or it may include a unit as a suffix (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})." +msgstr "" + +#. type: table +#: doc/guix.texi:20624 +msgid "When this option is omitted, @command{guix system} computes an estimate of the image size as a function of the size of the system declared in @var{file}." +msgstr "" + +#. type: item +#: doc/guix.texi:20630 +#, no-wrap +msgid "--skip-checks" +msgstr "" + +#. type: table +#: doc/guix.texi:20632 +msgid "Skip pre-installation safety checks." +msgstr "" + +#. type: table +#: doc/guix.texi:20639 +msgid "By default, @command{guix system init} and @command{guix system reconfigure} perform safety checks: they make sure the file systems that appear in the @code{operating-system} declaration actually exist (@pxref{File Systems}), and that any Linux kernel modules that may be needed at boot time are listed in @code{initrd-modules} (@pxref{Initial RAM Disk}). Passing this option skips these tests altogether." +msgstr "" + +#. type: item +#: doc/guix.texi:20640 +#, no-wrap +msgid "--on-error=@var{strategy}" +msgstr "" + +#. type: table +#: doc/guix.texi:20643 +msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:" +msgstr "" + +#. type: item +#: doc/guix.texi:20645 +#, no-wrap +msgid "nothing-special" +msgstr "" + +#. type: table +#: doc/guix.texi:20647 +msgid "Report the error concisely and exit. This is the default strategy." +msgstr "" + +#. type: item +#: doc/guix.texi:20648 +#, no-wrap +msgid "backtrace" +msgstr "" + +#. type: table +#: doc/guix.texi:20650 +msgid "Likewise, but also display a backtrace." +msgstr "" + +#. type: item +#: doc/guix.texi:20651 +#, no-wrap +msgid "debug" +msgstr "" + +#. type: table +#: doc/guix.texi:20657 +msgid "Report the error and enter Guile's debugger. From there, you can run commands such as @code{,bt} to get a backtrace, @code{,locals} to display local variable values, and more generally inspect the state of the program. @xref{Debug Commands,,, guile, GNU Guile Reference Manual}, for a list of available debugging commands." +msgstr "" + +#. type: quotation +#: doc/guix.texi:20667 +msgid "All the actions above, except @code{build} and @code{init}, can use KVM support in the Linux-libre kernel. Specifically, if the machine has hardware virtualization support, the corresponding KVM kernel module should be loaded, and the @file{/dev/kvm} device node must exist and be readable and writable by the user and by the build users of the daemon (@pxref{Build Environment Setup})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20673 +msgid "Once you have built, configured, re-configured, and re-re-configured your GuixSD installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the bootloader boot menu:" +msgstr "" + +#. type: item +#: doc/guix.texi:20676 +#, no-wrap +msgid "list-generations" +msgstr "" + +#. type: table +#: doc/guix.texi:20681 +msgid "List a summary of each generation of the operating system available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})." +msgstr "" + +#. type: table +#: doc/guix.texi:20686 +msgid "Optionally, one can specify a pattern, with the same syntax that is used in @command{guix package --list-generations}, to restrict the list of generations displayed. For instance, the following command displays generations that are up to 10 days old:" +msgstr "" + +#. type: example +#: doc/guix.texi:20689 +#, no-wrap +msgid "$ guix system list-generations 10d\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20696 +msgid "The @command{guix system} command has even more to offer! The following sub-commands allow you to visualize how your system services relate to each other:" +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:20698 +msgid "system-extension-graph" +msgstr "" + +#. type: item +#: doc/guix.texi:20700 +#, no-wrap +msgid "extension-graph" +msgstr "" + +#. type: table +#: doc/guix.texi:20705 +msgid "Emit in Dot/Graphviz format to standard output the @dfn{service extension graph} of the operating system defined in @var{file} (@pxref{Service Composition}, for more information on service extensions.)" +msgstr "" + +#. type: table +#: doc/guix.texi:20707 +msgid "The command:" +msgstr "" + +#. type: example +#: doc/guix.texi:20710 +#, no-wrap +msgid "$ guix system extension-graph @var{file} | dot -Tpdf > services.pdf\n" +msgstr "" + +#. type: table +#: doc/guix.texi:20713 +msgid "produces a PDF file showing the extension relations among services." +msgstr "" + +#. type: anchor{#1} +#: doc/guix.texi:20715 +msgid "system-shepherd-graph" +msgstr "" + +#. type: item +#: doc/guix.texi:20715 +#, no-wrap +msgid "shepherd-graph" +msgstr "" + +#. type: table +#: doc/guix.texi:20720 +msgid "Emit in Dot/Graphviz format to standard output the @dfn{dependency graph} of shepherd services of the operating system defined in @var{file}. @xref{Shepherd Services}, for more information and for an example graph." +msgstr "" + +#. type: subsection +#: doc/guix.texi:20724 +#, no-wrap +msgid "Running GuixSD in a Virtual Machine" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20734 +msgid "To run GuixSD in a virtual machine (VM), one can either use the pre-built GuixSD VM image distributed at @indicateurl{ftp://alpha.gnu.org/guix/guixsd-vm-image-@value{VERSION}.@var{system}.tar.xz} , or build their own virtual machine image using @command{guix system vm-image} (@pxref{Invoking guix system}). The returned image is in qcow2 format, which the @uref{http://qemu.org/, QEMU emulator} can efficiently use." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20735 +#, no-wrap +msgid "QEMU" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20742 +msgid "If you built your own image, you must copy it out of the store (@pxref{The Store}) and give yourself permission to write to the copy before you can use it. When invoking QEMU, you must choose a system emulator that is suitable for your hardware platform. Here is a minimal QEMU invocation that will boot the result of @command{guix system vm-image} on x86_64 hardware:" +msgstr "" + +#. type: example +#: doc/guix.texi:20747 +#, no-wrap +msgid "" +"$ qemu-system-x86_64 \\\n" +" -net user -net nic,model=virtio \\\n" +" -enable-kvm -m 256 /tmp/qemu-image\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20750 +msgid "Here is what each of these options means:" +msgstr "" + +#. type: item +#: doc/guix.texi:20752 +#, no-wrap +msgid "qemu-system-x86_64" +msgstr "" + +#. type: table +#: doc/guix.texi:20755 +msgid "This specifies the hardware platform to emulate. This should match the host." +msgstr "" + +#. type: item +#: doc/guix.texi:20756 +#, no-wrap +msgid "-net user" +msgstr "" + +#. type: table +#: doc/guix.texi:20760 +msgid "Enable the unprivileged user-mode network stack. The guest OS can access the host but not vice versa. This is the simplest way to get the guest OS online." +msgstr "" + +#. type: item +#: doc/guix.texi:20761 +#, no-wrap +msgid "-net nic,model=virtio" +msgstr "" + +#. type: table +#: doc/guix.texi:20766 +msgid "You must create a network interface of a given model. If you do not create a NIC, the boot will fail. Assuming your hardware platform is x86_64, you can get a list of available NIC models by running @command{qemu-system-x86_64 -net nic,model=help}." +msgstr "" + +#. type: item +#: doc/guix.texi:20767 +#, no-wrap +msgid "-enable-kvm" +msgstr "" + +#. type: table +#: doc/guix.texi:20771 +msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster." +msgstr "" + +#. type: item +#: doc/guix.texi:20772 +#, no-wrap +msgid "-m 256" +msgstr "" + +#. type: table +#: doc/guix.texi:20775 +msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations." +msgstr "" + +#. type: item +#: doc/guix.texi:20776 +#, no-wrap +msgid "/tmp/qemu-image" +msgstr "" + +#. type: table +#: doc/guix.texi:20778 +msgid "The file name of the qcow2 image." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20788 +msgid "The default @command{run-vm.sh} script that is returned by an invocation of @command{guix system vm} does not add a @command{-net user} flag by default. To get network access from within the vm add the @code{(dhcp-client-service)} to your system definition and start the VM using @command{`guix system vm config.scm` -net user}. An important caveat of using @command{-net user} for networking is that @command{ping} will not work, because it uses the ICMP protocol. You'll have to use a different command to check for network connectivity, for example @command{guix download}." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:20789 +#, no-wrap +msgid "Connecting Through SSH" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20798 +msgid "To enable SSH inside a VM you need to add a SSH server like @code{(dropbear-service)} or @code{(lsh-service)} to your VM. The @code{(lsh-service}) doesn't currently boot unsupervised. It requires you to type some characters to initialize the randomness generator. In addition you need to forward the SSH port, 22 by default, to the host. You can do this with" +msgstr "" + +#. type: example +#: doc/guix.texi:20801 +#, no-wrap +msgid "`guix system vm config.scm` -net user,hostfwd=tcp::10022-:22\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20804 +msgid "To connect to the VM you can run" +msgstr "" + +#. type: example +#: doc/guix.texi:20807 +#, no-wrap +msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20814 +msgid "The @command{-p} tells @command{ssh} the port you want to connect to. @command{-o UserKnownHostsFile=/dev/null} prevents @command{ssh} from complaining every time you modify your @command{config.scm} file and the @command{-o StrictHostKeyChecking=no} prevents you from having to allow a connection to an unknown host every time you connect." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:20815 +#, no-wrap +msgid "Using @command{virt-viewer} with Spice" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20821 +msgid "As an alternative to the default @command{qemu} graphical client you can use the @command{remote-viewer} from the @command{virt-viewer} package. To connect pass the @command{-spice port=5930,disable-ticketing} flag to @command{qemu}. See previous section for further information on how to do this." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20824 +msgid "Spice also allows you to do some nice stuff like share your clipboard with your VM. To enable that you'll also have to pass the following flags to @command{qemu}:" +msgstr "" + +#. type: example +#: doc/guix.texi:20830 +#, no-wrap +msgid "" +"-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n" +"-chardev spicevmc,name=vdagent,id=vdagent\n" +"-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n" +"name=com.redhat.spice.0\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20833 +msgid "You'll also need to add the @pxref{Miscellaneous Services, Spice service}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20840 +msgid "The previous sections show the available services and how one can combine them in an @code{operating-system} declaration. But how do we define them in the first place? And what is a service anyway?" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20852 +#, no-wrap +msgid "daemons" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20865 +msgid "Here we define a @dfn{service} as, broadly, something that extends the functionality of the operating system. Often a service is a process---a @dfn{daemon}---started when the system boots: a secure shell server, a Web server, the Guix build daemon, etc. Sometimes a service is a daemon whose execution can be triggered by another daemon---e.g., an FTP server started by @command{inetd} or a D-Bus service activated by @command{dbus-daemon}. Occasionally, a service does not map to a daemon. For instance, the ``account'' service collects user accounts and makes sure they exist when the system runs; the ``udev'' service collects device management rules and makes them available to the eudev daemon; the @file{/etc} service populates the @file{/etc} directory of the system." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20866 +#, no-wrap +msgid "service extensions" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20878 +msgid "GuixSD services are connected by @dfn{extensions}. For instance, the secure shell service @emph{extends} the Shepherd---the GuixSD initialization system, running as PID@tie{}1---by giving it the command lines to start and stop the secure shell daemon (@pxref{Networking Services, @code{lsh-service}}); the UPower service extends the D-Bus service by passing it its @file{.service} specification, and extends the udev service by passing it device management rules (@pxref{Desktop Services, @code{upower-service}}); the Guix daemon service extends the Shepherd by passing it the command lines to start and stop the daemon, and extends the account service by passing it a list of required build user accounts (@pxref{Base Services})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20882 +msgid "All in all, services and their ``extends'' relations form a directed acyclic graph (DAG). If we represent services as boxes and extensions as arrows, a typical system might provide something like this:" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20884 +msgid "@image{images/service-graph,,5in,Typical service extension graph.}" +msgstr "" + +#. type: cindex +#: doc/guix.texi:20885 +#, no-wrap +msgid "system service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20893 +msgid "At the bottom, we see the @dfn{system service}, which produces the directory containing everything to run and boot the system, as returned by the @command{guix system build} command. @xref{Service Reference}, to learn about the other service types shown here. @xref{system-extension-graph, the @command{guix system extension-graph} command}, for information on how to generate this representation for a particular operating system definition." +msgstr "" + +#. type: cindex +#: doc/guix.texi:20894 +#, no-wrap +msgid "service types" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20900 +msgid "Technically, developers can define @dfn{service types} to express these relations. There can be any number of services of a given type on the system---for instance, a system running two instances of the GNU secure shell server (lsh) has two instances of @var{lsh-service-type}, with different parameters." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20903 +msgid "The following section describes the programming interface for service types and services." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20910 +msgid "A @dfn{service type} is a node in the DAG described above. Let us start with a simple example, the service type for the Guix build daemon (@pxref{Invoking guix-daemon}):" +msgstr "" + +#. type: example +#: doc/guix.texi:20920 +#, no-wrap +msgid "" +"(define guix-service-type\n" +" (service-type\n" +" (name 'guix)\n" +" (extensions\n" +" (list (service-extension shepherd-root-service-type guix-shepherd-service)\n" +" (service-extension account-service-type guix-accounts)\n" +" (service-extension activation-service-type guix-activation)))\n" +" (default-value (guix-configuration))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20924 +msgid "It defines three things:" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:20928 +msgid "A name, whose sole purpose is to make inspection and debugging easier." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:20933 +msgid "A list of @dfn{service extensions}, where each extension designates the target service type and a procedure that, given the parameters of the service, returns a list of objects to extend the service of that type." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:20936 +msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:20939 +msgid "Optionally, a default value for instances of this type." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20942 +msgid "In this example, @var{guix-service-type} extends three services:" +msgstr "" + +#. type: item +#: doc/guix.texi:20944 +#, no-wrap +msgid "shepherd-root-service-type" +msgstr "" + +#. type: table +#: doc/guix.texi:20949 +msgid "The @var{guix-shepherd-service} procedure defines how the Shepherd service is extended. Namely, it returns a @code{} object that defines how @command{guix-daemon} is started and stopped (@pxref{Shepherd Services})." +msgstr "" + +#. type: item +#: doc/guix.texi:20950 +#, no-wrap +msgid "account-service-type" +msgstr "" + +#. type: table +#: doc/guix.texi:20955 +msgid "This extension for this service is computed by @var{guix-accounts}, which returns a list of @code{user-group} and @code{user-account} objects representing the build user accounts (@pxref{Invoking guix-daemon})." +msgstr "" + +#. type: item +#: doc/guix.texi:20956 +#, no-wrap +msgid "activation-service-type" +msgstr "" + +#. type: table +#: doc/guix.texi:20960 +msgid "Here @var{guix-activation} is a procedure that returns a gexp, which is a code snippet to run at ``activation time''---e.g., when the service is booted." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20963 +msgid "A service of this type is instantiated like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:20969 +#, no-wrap +msgid "" +"(service guix-service-type\n" +" (guix-configuration\n" +" (build-accounts 5)\n" +" (use-substitutes? #f)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20977 +msgid "The second argument to the @code{service} form is a value representing the parameters of this specific service instance. @xref{guix-configuration-type, @code{guix-configuration}}, for information about the @code{guix-configuration} data type. When the value is omitted, the default value specified by @code{guix-service-type} is used:" +msgstr "" + +#. type: example +#: doc/guix.texi:20980 +#, no-wrap +msgid "(service guix-service-type)\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20984 +msgid "@var{guix-service-type} is quite simple because it extends other services but is not extensible itself." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:20988 +msgid "The service type for an @emph{extensible} service looks like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:20995 +#, no-wrap +msgid "" +"(define udev-service-type\n" +" (service-type (name 'udev)\n" +" (extensions\n" +" (list (service-extension shepherd-root-service-type\n" +" udev-shepherd-service)))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:21003 +#, no-wrap +msgid "" +" (compose concatenate) ;concatenate the list of rules\n" +" (extend (lambda (config rules)\n" +" (match config\n" +" (($ udev initial-rules)\n" +" (udev-configuration\n" +" (udev udev) ;the udev package to use\n" +" (rules (append initial-rules rules)))))))))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21009 +msgid "This is the service type for the @uref{https://wiki.gentoo.org/wiki/Project:Eudev, eudev device management daemon}. Compared to the previous example, in addition to an extension of @var{shepherd-root-service-type}, we see two new fields:" +msgstr "" + +#. type: item +#: doc/guix.texi:21011 +#, no-wrap +msgid "compose" +msgstr "" + +#. type: table +#: doc/guix.texi:21014 +msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type." +msgstr "" + +#. type: table +#: doc/guix.texi:21017 +msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them." +msgstr "" + +#. type: item +#: doc/guix.texi:21018 +#, no-wrap +msgid "extend" +msgstr "" + +#. type: table +#: doc/guix.texi:21021 +msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions." +msgstr "" + +#. type: table +#: doc/guix.texi:21026 +msgid "Udev extensions are composed into a list of rules, but the udev service value is itself a @code{} record. So here, we extend that record by appending the list of rules it contains to the list of contributed rules." +msgstr "" + +#. type: table +#: doc/guix.texi:21032 +msgid "This is a string giving an overview of the service type. The string can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). The @command{guix system search} command searches these strings and displays them (@pxref{Invoking guix system})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21037 +msgid "There can be only one instance of an extensible service type such as @var{udev-service-type}. If there were more, the @code{service-extension} specifications would be ambiguous." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21040 +msgid "Still here? The next section provides a reference of the programming interface for services." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21048 +msgid "We have seen an overview of service types (@pxref{Service Types and Services}). This section provides a reference on how to manipulate services and service types. This interface is provided by the @code{(gnu services)} module." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21049 +#, no-wrap +msgid "{Scheme Procedure} service @var{type} [@var{value}]" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21053 +msgid "Return a new service of @var{type}, a @code{} object (see below.) @var{value} can be any object; it represents the parameters of this particular service instance." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21057 +msgid "When @var{value} is omitted, the default value specified by @var{type} is used; if @var{type} does not specify a default value, an error is raised." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21059 +msgid "For instance, this:" +msgstr "" + +#. type: example +#: doc/guix.texi:21062 +#, no-wrap +msgid "(service openssh-service-type)\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21066 +msgid "is equivalent to this:" +msgstr "" + +#. type: example +#: doc/guix.texi:21070 +#, no-wrap +msgid "" +"(service openssh-service-type\n" +" (openssh-configuration))\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21074 +msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21076 +#, no-wrap +msgid "{Scheme Procedure} service? @var{obj}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21078 +msgid "Return true if @var{obj} is a service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21080 +#, no-wrap +msgid "{Scheme Procedure} service-kind @var{service}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21082 +msgid "Return the type of @var{service}---i.e., a @code{} object." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21084 +#, no-wrap +msgid "{Scheme Procedure} service-value @var{service}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21087 +msgid "Return the value associated with @var{service}. It represents its parameters." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21090 +msgid "Here is an example of how a service is created and manipulated:" +msgstr "" + +#. type: example +#: doc/guix.texi:21099 +#, no-wrap +msgid "" +"(define s\n" +" (service nginx-service-type\n" +" (nginx-configuration\n" +" (nginx nginx)\n" +" (log-directory log-directory)\n" +" (run-directory run-directory)\n" +" (file config-file))))\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:21102 +#, no-wrap +msgid "" +"(service? s)\n" +"@result{} #t\n" +"\n" +msgstr "" + +#. type: example +#: doc/guix.texi:21105 +#, no-wrap +msgid "" +"(eq? (service-kind s) nginx-service-type)\n" +"@result{} #t\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21115 +msgid "The @code{modify-services} form provides a handy way to change the parameters of some of the services of a list such as @var{%base-services} (@pxref{Base Services, @code{%base-services}}). It evaluates to a list of services. Of course, you could always use standard list combinators such as @code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,, guile, GNU Guile Reference Manual}); @code{modify-services} simply provides a more concise form for this common pattern." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21116 +#, no-wrap +msgid "{Scheme Syntax} modify-services @var{services} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21118 +msgid "(@var{type} @var{variable} => @var{body}) @dots{}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21121 +msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:" +msgstr "" + +#. type: example +#: doc/guix.texi:21124 +#, no-wrap +msgid "(@var{type} @var{variable} => @var{body})\n" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21131 +msgid "where @var{type} is a service type---e.g., @code{guix-service-type}---and @var{variable} is an identifier that is bound within the @var{body} to the service parameters---e.g., a @code{guix-configuration} instance---of the original service of that @var{type}." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21138 +msgid "The @var{body} should evaluate to the new service parameters, which will be used to configure the new service. This new service will replace the original in the resulting list. Because a service's service parameters are created using @code{define-record-type*}, you can write a succinct @var{body} that evaluates to the new service parameters by using the @code{inherit} feature that @code{define-record-type*} provides." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21140 +msgid "@xref{Using the Configuration System}, for example usage." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21147 +msgid "Next comes the programming interface for service types. This is something you want to know when writing new service definitions, but not necessarily when simply looking for ways to customize your @code{operating-system} declaration." +msgstr "" + +#. type: deftp +#: doc/guix.texi:21148 +#, no-wrap +msgid "{Data Type} service-type" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21149 +#, no-wrap +msgid "service type" +msgstr "" + +#. type: deftp +#: doc/guix.texi:21152 +msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})." +msgstr "" + +#. type: table +#: doc/guix.texi:21156 +msgid "This is a symbol, used only to simplify inspection and debugging." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:21157 +#, no-wrap +msgid "extensions" +msgstr "" + +#. type: table +#: doc/guix.texi:21159 +msgid "A non-empty list of @code{} objects (see below)." +msgstr "" + +#. type: item +#: doc/guix.texi:21160 +#, no-wrap +msgid "@code{compose} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:21164 +msgid "If this is @code{#f}, then the service type denotes services that cannot be extended---i.e., services that do not receive ``values'' from other services." +msgstr "" + +#. type: table +#: doc/guix.texi:21168 +msgid "Otherwise, it must be a one-argument procedure. The procedure is called by @code{fold-services} and is passed a list of values collected from extensions. It may return any single value." +msgstr "" + +#. type: item +#: doc/guix.texi:21169 +#, no-wrap +msgid "@code{extend} (default: @code{#f})" +msgstr "" + +#. type: table +#: doc/guix.texi:21171 +msgid "If this is @code{#f}, services of this type cannot be extended." +msgstr "" + +#. type: table +#: doc/guix.texi:21177 +msgid "Otherwise, it must be a two-argument procedure: @code{fold-services} calls it, passing it the initial value of the service as the first argument and the result of applying @code{compose} to the extension values as the second argument. It must return a value that is a valid parameter value for the service instance." +msgstr "" + +#. type: deftp +#: doc/guix.texi:21180 +msgid "@xref{Service Types and Services}, for examples." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21182 +#, no-wrap +msgid "{Scheme Procedure} service-extension @var{target-type} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21188 +msgid "@var{compute} Return a new extension for services of type @var{target-type}. @var{compute} must be a one-argument procedure: @code{fold-services} calls it, passing it the value associated with the service that provides the extension; it must return a valid value for the target service." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21190 +#, no-wrap +msgid "{Scheme Procedure} service-extension? @var{obj}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21192 +msgid "Return true if @var{obj} is a service extension." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21198 +msgid "Occasionally, you might want to simply extend an existing service. This involves creating a new service type and specifying the extension of interest, which can be verbose; the @code{simple-service} procedure provides a shorthand for this." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21199 +#, no-wrap +msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21203 +msgid "Return a service that extends @var{target} with @var{value}. This works by creating a singleton service type @var{name}, of which the returned service is an instance." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21206 +msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:" +msgstr "" + +#. type: example +#: doc/guix.texi:21210 +#, no-wrap +msgid "" +"(simple-service 'my-mcron-job mcron-service-type\n" +" #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21220 +msgid "At the core of the service abstraction lies the @code{fold-services} procedure, which is responsible for ``compiling'' a list of services down to a single directory that contains everything needed to boot and run the system---the directory shown by the @command{guix system build} command (@pxref{Invoking guix system}). In essence, it propagates service extensions down the service graph, updating each node parameters on the way, until it reaches the root node." +msgstr "" + +#. type: deffn +#: doc/guix.texi:21221 +#, no-wrap +msgid "{Scheme Procedure} fold-services @var{services} @" +msgstr "" + +#. type: deffn +#: doc/guix.texi:21225 +msgid "[#:target-type @var{system-service-type}] Fold @var{services} by propagating their extensions down to the root of type @var{target-type}; return the root service adjusted accordingly." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21229 +msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21230 +#, no-wrap +msgid "{Scheme Variable} system-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21233 +msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21235 +#, no-wrap +msgid "{Scheme Variable} boot-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21238 +msgid "The type of the ``boot service'', which produces the @dfn{boot script}. The boot script is what the initial RAM disk runs when booting." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21240 +#, no-wrap +msgid "{Scheme Variable} etc-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21244 +msgid "The type of the @file{/etc} service. This service is used to create files under @file{/etc} and can be extended by passing it name/file tuples such as:" +msgstr "" + +#. type: example +#: doc/guix.texi:21247 +#, no-wrap +msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21251 +msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21253 +#, no-wrap +msgid "{Scheme Variable} setuid-program-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21257 +msgid "Type for the ``setuid-program service''. This service collects lists of executable file names, passed as gexps, and adds them to the set of setuid-root programs on the system (@pxref{Setuid Programs})." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21259 +#, no-wrap +msgid "{Scheme Variable} profile-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21263 +msgid "Type of the service that populates the @dfn{system profile}---i.e., the programs under @file{/run/current-system/profile}. Other services can extend it by passing it lists of packages to add to the system profile." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21269 +#, no-wrap +msgid "shepherd services" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21270 +#, no-wrap +msgid "PID 1" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21271 +#, no-wrap +msgid "init system" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21277 +msgid "The @code{(gnu services shepherd)} module provides a way to define services managed by the GNU@tie{}Shepherd, which is the GuixSD initialization system---the first process that is started when the system boots, also known as PID@tie{}1 (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21283 +msgid "Services in the Shepherd can depend on each other. For instance, the SSH daemon may need to be started after the syslog daemon has been started, which in turn can only happen once all the file systems have been mounted. The simple operating system defined earlier (@pxref{Using the Configuration System}) results in a service graph like this:" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21285 +msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21289 +msgid "You can actually generate such a graph for any operating system definition using the @command{guix system shepherd-graph} command (@pxref{system-shepherd-graph, @command{guix system shepherd-graph}})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21293 +msgid "The @var{%shepherd-root-service} is a service object representing PID@tie{}1, of type @var{shepherd-root-service-type}; it can be extended by passing it lists of @code{} objects." +msgstr "" + +#. type: deftp +#: doc/guix.texi:21294 +#, no-wrap +msgid "{Data Type} shepherd-service" +msgstr "" + +#. type: deftp +#: doc/guix.texi:21296 +msgid "The data type representing a service managed by the Shepherd." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:21298 +#, no-wrap +msgid "provision" +msgstr "" + +#. type: table +#: doc/guix.texi:21300 +msgid "This is a list of symbols denoting what the service provides." +msgstr "" + +#. type: table +#: doc/guix.texi:21305 +msgid "These are the names that may be passed to @command{herd start}, @command{herd status}, and similar commands (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual}). @xref{Slots of services, the @code{provides} slot,, shepherd, The GNU Shepherd Manual}, for details." +msgstr "" + +#. type: item +#: doc/guix.texi:21306 +#, no-wrap +msgid "@code{requirements} (default: @code{'()})" +msgstr "" + +#. type: table +#: doc/guix.texi:21308 +msgid "List of symbols denoting the Shepherd services this one depends on." +msgstr "" + +#. type: item +#: doc/guix.texi:21309 +#, no-wrap +msgid "@code{respawn?} (default: @code{#t})" +msgstr "" + +#. type: table +#: doc/guix.texi:21312 +msgid "Whether to restart the service when it stops, for instance when the underlying process dies." +msgstr "" + +#. type: code{#1} +#: doc/guix.texi:21313 +#, no-wrap +msgid "start" +msgstr "" + +#. type: itemx +#: doc/guix.texi:21314 +#, no-wrap +msgid "@code{stop} (default: @code{#~(const #f)})" +msgstr "" + +#. type: table +#: doc/guix.texi:21320 +msgid "The @code{start} and @code{stop} fields refer to the Shepherd's facilities to start and stop processes (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). They are given as G-expressions that get expanded in the Shepherd configuration file (@pxref{G-Expressions})." +msgstr "" + +#. type: table +#: doc/guix.texi:21323 +msgid "A documentation string, as shown when running:" +msgstr "" + +#. type: example +#: doc/guix.texi:21326 +#, no-wrap +msgid "herd doc @var{service-name}\n" +msgstr "" + +#. type: table +#: doc/guix.texi:21330 +msgid "where @var{service-name} is one of the symbols in @var{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})." +msgstr "" + +#. type: item +#: doc/guix.texi:21331 +#, no-wrap +msgid "@code{modules} (default: @var{%default-modules})" +msgstr "" + +#. type: table +#: doc/guix.texi:21334 +msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21338 +#, no-wrap +msgid "{Scheme Variable} shepherd-root-service-type" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21340 +msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21344 +msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{}." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21346 +#, no-wrap +msgid "{Scheme Variable} %shepherd-root-service" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21348 +msgid "This service represents PID@tie{}1." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21354 +#, no-wrap +msgid "documentation, searching for" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21355 +#, no-wrap +msgid "searching for documentation" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21356 +#, no-wrap +msgid "Info, documentation format" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21357 +#, no-wrap +msgid "man pages" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21358 +#, no-wrap +msgid "manual pages" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21365 +msgid "In most cases packages installed with Guix come with documentation. There are two main documentation formats: ``Info'', a browseable hypertext format used for GNU software, and ``manual pages'' (or ``man pages''), the linear documentation format traditionally found on Unix. Info manuals are accessed with the @command{info} command or with Emacs, and man pages are accessed using @command{man}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21369 +msgid "You can look for documentation of software installed on your system by keyword. For example, the following command searches for information about ``TLS'' in Info manuals:" +msgstr "" + +#. type: example +#: doc/guix.texi:21377 +#, no-wrap +msgid "" +"$ info -k TLS\n" +"\"(emacs)Network Security\" -- STARTTLS\n" +"\"(emacs)Network Security\" -- TLS\n" +"\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n" +"\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n" +"@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21381 +msgid "The command below searches for the same keyword in man pages:" +msgstr "" + +#. type: example +#: doc/guix.texi:21387 +#, no-wrap +msgid "" +"$ man -k TLS\n" +"SSL (7) - OpenSSL SSL/TLS library\n" +"certtool (1) - GnuTLS certificate tool\n" +"@dots {}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21393 +msgid "These searches are purely local to your computer so you have the guarantee that documentation you find corresponds to what you have actually installed, you can access it off-line, and your privacy is respected." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21396 +msgid "Once you have these results, you can view the relevant documentation by running, say:" +msgstr "" + +#. type: example +#: doc/guix.texi:21399 +#, no-wrap +msgid "$ info \"(gnutls)Core TLS API\"\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21403 +msgid "or:" +msgstr "" + +#. type: example +#: doc/guix.texi:21406 +#, no-wrap +msgid "$ man certtool\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21414 +msgid "Info manuals contain sections and indices as well as hyperlinks like those found in Web pages. The @command{info} reader (@pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}) and its Emacs counterpart (@pxref{Misc Help,,, emacs, The GNU Emacs Manual}) provide intuitive key bindings to navigate manuals. @xref{Getting Started,,, info, Info: An Introduction}, for an introduction to Info navigation." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21418 +#, no-wrap +msgid "debugging files" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21424 +msgid "Program binaries, as produced by the GCC compilers for instance, are typically written in the ELF format, with a section containing @dfn{debugging information}. Debugging information is what allows the debugger, GDB, to map binary code to source code; it is required to debug a compiled program in good conditions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21432 +msgid "The problem with debugging information is that is takes up a fair amount of disk space. For example, debugging information for the GNU C Library weighs in at more than 60 MiB. Thus, as a user, keeping all the debugging info of all the installed programs is usually not an option. Yet, space savings should not come at the cost of an impediment to debugging---especially in the GNU system, which should make it easier for users to exert their computing freedom (@pxref{GNU Distribution})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21439 +msgid "Thankfully, the GNU Binary Utilities (Binutils) and GDB provide a mechanism that allows users to get the best of both worlds: debugging information can be stripped from the binaries and stored in separate files. GDB is then able to load debugging information from those files, when they are available (@pxref{Separate Debug Files,,, gdb, Debugging with GDB})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21447 +msgid "The GNU distribution takes advantage of this by storing debugging information in the @code{lib/debug} sub-directory of a separate package output unimaginatively called @code{debug} (@pxref{Packages with Multiple Outputs}). Users can choose to install the @code{debug} output of a package when they need it. For instance, the following command installs the debugging information for the GNU C Library and for GNU Guile:" +msgstr "" + +#. type: example +#: doc/guix.texi:21450 +#, no-wrap +msgid "guix package -i glibc:debug guile:debug\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21456 +msgid "GDB must then be told to look for debug files in the user's profile, by setting the @code{debug-file-directory} variable (consider setting it from the @file{~/.gdbinit} file, @pxref{Startup,,, gdb, Debugging with GDB}):" +msgstr "" + +#. type: example +#: doc/guix.texi:21459 +#, no-wrap +msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21463 +msgid "From there on, GDB will pick up debugging information from the @code{.debug} files under @file{~/.guix-profile/lib/debug}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21470 +msgid "In addition, you will most likely want GDB to be able to show the source code being debugged. To do that, you will have to unpack the source code of the package of interest (obtained with @code{guix build --source}, @pxref{Invoking guix build}), and to point GDB to that source directory using the @code{directory} command (@pxref{Source Path, @code{directory},, gdb, Debugging with GDB})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21479 +msgid "The @code{debug} output mechanism in Guix is implemented by the @code{gnu-build-system} (@pxref{Build Systems}). Currently, it is opt-in---debugging information is available only for the packages with definitions explicitly declaring a @code{debug} output. This may be changed to opt-out in the future if our build farm servers can handle the load. To check whether a package has a @code{debug} output, use @command{guix package --list-available} (@pxref{Invoking guix package})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21484 +#, no-wrap +msgid "security updates" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21493 +msgid "Occasionally, important security vulnerabilities are discovered in software packages and must be patched. Guix developers try hard to keep track of known vulnerabilities and to apply fixes as soon as possible in the @code{master} branch of Guix (we do not yet provide a ``stable'' branch containing only security updates.) The @command{guix lint} tool helps developers find out about vulnerable versions of software packages in the distribution:" +msgstr "" + +#. type: smallexample +#: doc/guix.texi:21500 +#, no-wrap +msgid "" +"$ guix lint -c cve\n" +"gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n" +"gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n" +"gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n" +"@dots{}\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21503 +msgid "@xref{Invoking guix lint}, for more information." +msgstr "" + +#. type: quotation +#: doc/guix.texi:21507 +msgid "As of version @value{VERSION}, the feature described below is considered ``beta''." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21517 +msgid "Guix follows a functional package management discipline (@pxref{Introduction}), which implies that, when a package is changed, @emph{every package that depends on it} must be rebuilt. This can significantly slow down the deployment of fixes in core packages such as libc or Bash, since basically the whole distribution would need to be rebuilt. Using pre-built binaries helps (@pxref{Substitutes}), but deployment may still take more time than desired." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21518 +#, no-wrap +msgid "grafts" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21526 +msgid "To address this, Guix implements @dfn{grafts}, a mechanism that allows for fast deployment of critical updates without the costs associated with a whole-distribution rebuild. The idea is to rebuild only the package that needs to be patched, and then to ``graft'' it onto packages explicitly installed by the user and that were previously referring to the original package. The cost of grafting is typically very low, and order of magnitudes lower than a full rebuild of the dependency chain." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21527 +#, no-wrap +msgid "replacements of packages, for grafts" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21533 +msgid "For instance, suppose a security update needs to be applied to Bash. Guix developers will provide a package definition for the ``fixed'' Bash, say @var{bash-fixed}, in the usual way (@pxref{Defining Packages}). Then, the original package definition is augmented with a @code{replacement} field pointing to the package containing the bug fix:" +msgstr "" + +#. type: example +#: doc/guix.texi:21540 +#, no-wrap +msgid "" +"(define bash\n" +" (package\n" +" (name \"bash\")\n" +" ;; @dots{}\n" +" (replacement bash-fixed)))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21550 +msgid "From there on, any package depending directly or indirectly on Bash---as reported by @command{guix gc --requisites} (@pxref{Invoking guix gc})---that is installed is automatically ``rewritten'' to refer to @var{bash-fixed} instead of @var{bash}. This grafting process takes time proportional to the size of the package, usually less than a minute for an ``average'' package on a recent machine. Grafting is recursive: when an indirect dependency requires grafting, then grafting ``propagates'' up to the package that the user is installing." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21558 +msgid "Currently, the length of the name and version of the graft and that of the package it replaces (@var{bash-fixed} and @var{bash} in the example above) must be equal. This restriction mostly comes from the fact that grafting works by patching files, including binary files, directly. Other restrictions may apply: for instance, when adding a graft to a package providing a shared library, the original shared library and its replacement must have the same @code{SONAME} and be binary-compatible." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21562 +msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:" +msgstr "" + +#. type: example +#: doc/guix.texi:21565 +#, no-wrap +msgid "guix build bash --no-grafts\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21569 +msgid "returns the store file name of the original Bash, whereas:" +msgstr "" + +#. type: example +#: doc/guix.texi:21572 +#, no-wrap +msgid "guix build bash\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21577 +msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21580 +msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):" +msgstr "" + +#. type: example +#: doc/guix.texi:21583 +#, no-wrap +msgid "guix gc -R `readlink -f ~/.guix-profile` | grep bash\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21588 +msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete GuixSD system generation:" +msgstr "" + +#. type: example +#: doc/guix.texi:21591 +#, no-wrap +msgid "guix gc -R `guix system build my-config.scm` | grep bash\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21595 +msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:" +msgstr "" + +#. type: example +#: doc/guix.texi:21598 +#, no-wrap +msgid "lsof | grep /gnu/store/.*bash\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21615 +msgid "From a programming viewpoint, the package definitions of the GNU distribution are provided by Guile modules in the @code{(gnu packages @dots{})} name space@footnote{Note that packages under the @code{(gnu packages @dots{})} module name space are not necessarily ``GNU packages''. This module naming scheme follows the usual Guile module naming convention: @code{gnu} means that these modules are distributed as part of the GNU system, and @code{packages} identifies modules that define packages.} (@pxref{Modules, Guile modules,, guile, GNU Guile Reference Manual}). For instance, the @code{(gnu packages emacs)} module exports a variable named @code{emacs}, which is bound to a @code{} object (@pxref{Defining Packages})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21622 +msgid "The @code{(gnu packages @dots{})} module name space is automatically scanned for packages by the command-line tools. For instance, when running @code{guix package -i emacs}, all the @code{(gnu packages @dots{})} modules are scanned until one that exports a package object whose name is @code{emacs} is found. This package search facility is implemented in the @code{(gnu packages)} module." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21624 +#, no-wrap +msgid "package module search path" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21641 +msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @code{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. These package definitions will not be visible by default. Users can invoke commands such as @command{guix package} and @command{guix build} with the @code{-e} option so that they know where to find the package. Better yet, they can use the @code{-L} option of these commands to make those modules visible (@pxref{Invoking guix build, @code{--load-path}}), or define the @code{GUIX_PACKAGE_PATH} environment variable. This environment variable makes it easy to extend or customize the distribution and is honored by all the user interfaces." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21642 +#, no-wrap +msgid "{Environment Variable} GUIX_PACKAGE_PATH" +msgstr "" + +#. type: defvr +#: doc/guix.texi:21646 +msgid "This is a colon-separated list of directories to search for additional package modules. Directories listed in this variable take precedence over the own modules of the distribution." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21654 +msgid "The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each package is built based solely on other packages in the distribution. The root of this dependency graph is a small set of @dfn{bootstrap binaries}, provided by the @code{(gnu packages bootstrap)} module. For more information on bootstrapping, @pxref{Bootstrapping}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21658 +#, no-wrap +msgid "packages, creating" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21663 +msgid "The GNU distribution is nascent and may well lack some of your favorite packages. This section describes how you can help make the distribution grow. @xref{Contributing}, for additional information on how you can help." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21671 +msgid "Free software packages are usually distributed in the form of @dfn{source code tarballs}---typically @file{tar.gz} files that contain all the source files. Adding a package to the distribution means essentially two things: adding a @dfn{recipe} that describes how to build the package, including a list of other packages required to build it, and adding @dfn{package metadata} along with that recipe, such as a description and licensing information." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21680 +msgid "In Guix all this information is embodied in @dfn{package definitions}. Package definitions provide a high-level view of the package. They are written using the syntax of the Scheme programming language; in fact, for each package we define a variable bound to the package definition, and export that variable from a module (@pxref{Package Modules}). However, in-depth Scheme knowledge is @emph{not} a prerequisite for creating packages. For more information on package definitions, @pxref{Defining Packages}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21686 +msgid "Once a package definition is in place, stored in a file in the Guix source tree, it can be tested using the @command{guix build} command (@pxref{Invoking guix build}). For example, assuming the new package is called @code{gnew}, you may run this command from the Guix build tree (@pxref{Running Guix Before It Is Installed}):" +msgstr "" + +#. type: example +#: doc/guix.texi:21689 +#, no-wrap +msgid "./pre-inst-env guix build gnew --keep-failed\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21695 +msgid "Using @code{--keep-failed} makes it easier to debug build failures since it provides access to the failed build tree. Another useful command-line option when debugging is @code{--log-file}, to access the build log." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21700 +msgid "If the package is unknown to the @command{guix} command, it may be that the source file contains a syntax error, or lacks a @code{define-public} clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error:" +msgstr "" + +#. type: example +#: doc/guix.texi:21703 +#, no-wrap +msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21711 +msgid "Once your package builds correctly, please send us a patch (@pxref{Contributing}). Well, if you need help, we will be happy to help you too. Once the patch is committed in the Guix repository, the new package automatically gets built on the supported platforms by @url{http://hydra.gnu.org/jobset/gnu/master, our continuous integration system}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21712 +#, no-wrap +msgid "substituter" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21719 +msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{hydra.gnu.org} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21736 +#, no-wrap +msgid "free software" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21744 +msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{http://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21750 +msgid "In addition, the GNU distribution follow the @url{http://www.gnu.org/distros/free-system-distribution-guidelines.html,free software distribution guidelines}. Among other things, these guidelines reject non-free firmware, recommendations of non-free software, and discuss ways to deal with trademarks and patents." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21758 +msgid "Some otherwise free upstream package sources contain a small and optional subset that violates the above guidelines, for instance because this subset is itself non-free code. When that happens, the offending items are removed with appropriate patches or code snippets in the @code{origin} form of the package (@pxref{Defining Packages}). This way, @code{guix build --source} returns the ``freed'' source rather than the unmodified upstream source." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21763 +#, no-wrap +msgid "package name" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21771 +msgid "A package has actually two names associated with it: First, there is the name of the @emph{Scheme variable}, the one following @code{define-public}. By this name, the package can be made known in the Scheme code, for instance as input to another package. Second, there is the string in the @code{name} field of a package definition. This name is used by package management commands such as @command{guix package} and @command{guix build}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21776 +msgid "Both are usually the same and correspond to the lowercase conversion of the project name chosen upstream, with underscores replaced with hyphens. For instance, GNUnet is available as @code{gnunet}, and SDL_net as @code{sdl-net}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21781 +msgid "We do not add @code{lib} prefixes for library packages, unless these are already part of the official project name. But @pxref{Python Modules} and @ref{Perl Modules} for special rules concerning modules for the Python and Perl languages." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21783 +msgid "Font package names are handled differently, @pxref{Fonts}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21788 +#, no-wrap +msgid "package version" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21797 +msgid "We usually package only the latest version of a given free software project. But sometimes, for instance for incompatible library versions, two (or more) versions of the same package are needed. These require different Scheme variable names. We use the name as defined in @ref{Package Naming} for the most recent version; previous versions use the same name, suffixed by @code{-} and the smallest prefix of the version number that may distinguish the two versions." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21800 +msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21802 +msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:" +msgstr "" + +#. type: example +#: doc/guix.texi:21814 +#, no-wrap +msgid "" +"(define-public gtk+\n" +" (package\n" +" (name \"gtk+\")\n" +" (version \"3.9.12\")\n" +" ...))\n" +"(define-public gtk+-2\n" +" (package\n" +" (name \"gtk+\")\n" +" (version \"2.24.20\")\n" +" ...))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21816 +msgid "If we also wanted GTK+ 3.8.2, this would be packaged as" +msgstr "" + +#. type: example +#: doc/guix.texi:21822 +#, no-wrap +msgid "" +"(define-public gtk+-3.8\n" +" (package\n" +" (name \"gtk+\")\n" +" (version \"3.8.2\")\n" +" ...))\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21826 +#, no-wrap +msgid "version number, for VCS snapshots" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21832 +msgid "Occasionally, we package snapshots of upstream's version control system (VCS) instead of formal releases. This should remain exceptional, because it is up to upstream developers to clarify what the stable release is. Yet, it is sometimes necessary. So, what should we put in the @code{version} field?" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21840 +msgid "Clearly, we need to make the commit identifier of the VCS snapshot visible in the version string, but we also need to make sure that the version string is monotonically increasing so that @command{guix package --upgrade} can determine which version is newer. Since commit identifiers, notably with Git, are not monotonically increasing, we add a revision number that we increase each time we upgrade to a newer snapshot. The resulting version string looks like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:21849 +#, no-wrap +msgid "" +"2.0.11-3.cabba9e\n" +" ^ ^ ^\n" +" | | `-- upstream commit ID\n" +" | |\n" +" | `--- Guix package revision\n" +" |\n" +"latest upstream version\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21858 +msgid "It is a good idea to strip commit identifiers in the @code{version} field to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics have a role to play here) as well as problems related to OS limits such as the maximum shebang length (127 bytes for the Linux kernel.) It is best to use the full commit identifiers in @code{origin}s, though, to avoid ambiguities. A typical package definition may look like this:" +msgstr "" + +#. type: example +#: doc/guix.texi:21874 +#, no-wrap +msgid "" +"(define my-package\n" +" (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n" +" (revision \"1\")) ;Guix package revision\n" +" (package\n" +" (version (git-version \"0.9\" revision commit))\n" +" (source (origin\n" +" (method git-fetch)\n" +" (uri (git-reference\n" +" (url \"git://example.org/my-package.git\")\n" +" (commit commit)))\n" +" (sha256 (base32 \"1mbikn@dots{}\"))\n" +" (file-name (git-file-name name version))))\n" +" ;; @dots{}\n" +" )))\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21879 +#, no-wrap +msgid "package description" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21880 +#, no-wrap +msgid "package synopsis" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21887 +msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21895 +msgid "Synopses must start with a capital letter and must not end with a period. They must not start with ``a'' or ``the'', which usually does not bring anything; for instance, prefer ``File-frobbing tool'' over ``A tool that frobs files''. The synopsis should say what the package is---e.g., ``Core GNU utilities (file, text, shell)''---or what it is used for---e.g., the synopsis for GNU@tie{}grep is ``Print lines matching a pattern''." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21905 +msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21913 +msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21914 +#, no-wrap +msgid "Texinfo markup, in package descriptions" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21923 +msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21929 +msgid "Synopses and descriptions are translated by volunteers @uref{http://translationproject.org/domain/guix-packages.html, at the Translation Project} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21934 +msgid "To allow @command{xgettext} to extract them as translatable strings, synopses and descriptions @emph{must be literal strings}. This means that you cannot use @code{string-append} or @code{format} to construct these strings:" +msgstr "" + +#. type: lisp +#: doc/guix.texi:21940 +#, no-wrap +msgid "" +"(package\n" +" ;; @dots{}\n" +" (synopsis \"This is translatable\")\n" +" (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21948 +msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):" +msgstr "" + +#. type: example +#: doc/guix.texi:21953 +#, no-wrap +msgid "" +";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n" +"(description \"ARandR is designed to provide a simple visual front end\n" +"for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21959 +#, no-wrap +msgid "python" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21965 +msgid "We currently package Python 2 and Python 3, under the Scheme variable names @code{python-2} and @code{python} as explained in @ref{Version Numbers}. To avoid confusion and naming clashes with other programming languages, it seems desirable that the name of a package for a Python module contains the word @code{python}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21971 +msgid "Some modules are compatible with only one version of Python, others with both. If the package Foo compiles only with Python 3, we name it @code{python-foo}; if it compiles only with Python 2, we name it @code{python2-foo}. If it is compatible with both versions, we create two packages with the corresponding names." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21977 +msgid "If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name starts with @code{py} (e.g. @code{pytz}), we keep it and prefix it as described above." +msgstr "" + +#. type: subsubsection +#: doc/guix.texi:21978 +#, no-wrap +msgid "Specifying Dependencies" +msgstr "" + +#. type: cindex +#: doc/guix.texi:21979 +#, no-wrap +msgid "inputs, for Python packages" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21984 +msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21990 +msgid "Your mission, when writing a recipe for a Python package, is to map these dependencies to the appropriate type of ``input'' (@pxref{package Reference, inputs}). Although the @code{pypi} importer normally does a good job (@pxref{Invoking guix import}), you may want to check the following check list to determine which dependency goes where." +msgstr "" + +#. type: itemize +#: doc/guix.texi:21998 +msgid "We currently package Python 2 with @code{setuptools} and @code{pip} installed like Python 3.4 has per default. Thus you don't need to specify either of these as an input. @command{guix lint} will warn you if you do." +msgstr "" + +#. type: itemize +#: doc/guix.texi:22004 +msgid "Python dependencies required at run time go into @code{propagated-inputs}. They are typically defined with the @code{install_requires} keyword in @file{setup.py}, or in the @file{requirements.txt} file." +msgstr "" + +#. type: itemize +#: doc/guix.texi:22012 +msgid "Python packages required only at build time---e.g., those listed with the @code{setup_requires} keyword in @file{setup.py}---or only for testing---e.g., those in @code{tests_require}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want." +msgstr "" + +#. type: itemize +#: doc/guix.texi:22016 +msgid "Examples are the @code{pytest}, @code{mock}, and @code{nose} test frameworks. Of course if any of these packages is also required at run-time, it needs to go to @code{propagated-inputs}." +msgstr "" + +#. type: itemize +#: doc/guix.texi:22021 +msgid "Anything that does not fall in the previous categories goes to @code{inputs}, for example programs or C libraries required for building Python packages containing C extensions." +msgstr "" + +#. type: itemize +#: doc/guix.texi:22027 +msgid "If a Python package has optional dependencies (@code{extras_require}), it is up to you to decide whether to add them or not, based on their usefulness/overhead ratio (@pxref{Submitting Patches, @command{guix size}})." +msgstr "" + +#. type: cindex +#: doc/guix.texi:22034 +#, no-wrap +msgid "perl" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22045 +msgid "Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of @code{::} by dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} becomes @code{perl-xml-parser}. Modules containing several classes keep their lowercase upstream name and are also prepended by @code{perl-}. Such modules tend to have the word @code{perl} somewhere in their name, which gets dropped in favor of the prefix. For instance, @code{libwww-perl} becomes @code{perl-libwww}." +msgstr "" + +#. type: cindex +#: doc/guix.texi:22050 +#, no-wrap +msgid "java" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22053 +msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22059 +msgid "To avoid confusion and naming clashes with other programming languages, it is desirable that the name of a package for a Java package is prefixed with @code{java-}. If a project already contains the word @code{java}, we drop this; for instance, the package @code{ngsjava} is packaged under the name @code{java-ngs}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22065 +msgid "For Java packages containing a single class or a small class hierarchy, we use the lowercase class name, replace all occurrences of @code{.} by dashes and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} becomes package @code{java-apache-commons-cli}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22076 +msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22080 +msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22088 +msgid "The name of a package containing only one font family starts with @code{font-}; it is followed by the foundry name and a dash @code{-} if the foundry is known, and the font family name, in which spaces are replaced by dashes (and as usual, all upper case letters are transformed to lower case). For example, the Gentium font family by SIL is packaged under the name @code{font-sil-gentium}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22097 +msgid "For a package containing several font families, the name of the collection is used in the place of the font family name. For instance, the Liberation fonts consist of three families, Liberation Sans, Liberation Serif and Liberation Mono. These could be packaged separately under the names @code{font-liberation-sans} and so on; but as they are distributed together under a common name, we prefer to package them together as @code{font-liberation}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22103 +msgid "In the case where several formats of the same font family or font collection are packaged separately, a short form of the format, prepended by a dash, is added to the package name. We use @code{-ttf} for TrueType fonts, @code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 fonts." +msgstr "" + +#. type: cindex +#: doc/guix.texi:22111 +#, no-wrap +msgid "bootstrapping" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22121 +msgid "Bootstrapping in our context refers to how the distribution gets built ``from nothing''. Remember that the build environment of a derivation contains nothing but its declared inputs (@pxref{Introduction}). So there's an obvious chicken-and-egg problem: how does the first package get built? How does the first compiler get compiled? Note that this is a question of interest only to the curious hacker, not to the regular user, so you can shamelessly skip this section if you consider yourself a ``regular user''." +msgstr "" + +#. type: cindex +#: doc/guix.texi:22122 doc/guix.texi:22244 +#, no-wrap +msgid "bootstrap binaries" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22132 +msgid "The GNU system is primarily made of C code, with libc at its core. The GNU build system itself assumes the availability of a Bourne shell and command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep'. Furthermore, build programs---programs that run @code{./configure}, @code{make}, etc.---are written in Guile Scheme (@pxref{Derivations}). Consequently, to be able to build anything at all, from scratch, Guix relies on pre-built binaries of Guile, GCC, Binutils, libc, and the other packages mentioned above---the @dfn{bootstrap binaries}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22135 +msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (more on that later)." +msgstr "" + +#. type: unnumberedsubsec +#: doc/guix.texi:22136 +#, no-wrap +msgid "Preparing to Use the Bootstrap Binaries" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22141 +msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22146 +msgid "The figure above shows the very beginning of the dependency graph of the distribution, corresponding to the package definitions of the @code{(gnu packages bootstrap)} module. A similar figure can be generated with @command{guix graph} (@pxref{Invoking guix graph}), along the lines of:" +msgstr "" + +#. type: example +#: doc/guix.texi:22151 +#, no-wrap +msgid "" +"guix graph -t derivation \\\n" +" -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n" +" | dot -Tps > t.ps\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22160 +msgid "At this level of detail, things are slightly complex. First, Guile itself consists of an ELF executable, along with many source and compiled Scheme files that are dynamically loaded when it runs. This gets stored in the @file{guile-2.0.7.tar.xz} tarball shown in this graph. This tarball is part of Guix's ``source'' distribution, and gets inserted into the store with @code{add-to-store} (@pxref{The Store})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22169 +msgid "But how do we write a derivation that unpacks this tarball and adds it to the store? To solve this problem, the @code{guile-bootstrap-2.0.drv} derivation---the first one that gets built---uses @code{bash} as its builder, which runs @code{build-bootstrap-guile.sh}, which in turn calls @code{tar} to unpack the tarball. Thus, @file{bash}, @file{tar}, @file{xz}, and @file{mkdir} are statically-linked binaries, also part of the Guix source distribution, whose sole purpose is to allow the Guile tarball to be unpacked." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22181 +msgid "Once @code{guile-bootstrap-2.0.drv} is built, we have a functioning Guile that can be used to run subsequent build programs. Its first task is to download tarballs containing the other pre-built binaries---this is what the @code{.tar.xz.drv} derivations do. Guix modules such as @code{ftp-client.scm} are used for this purpose. The @code{module-import.drv} derivations import those modules in a directory in the store, using the original layout. The @code{module-import-compiled.drv} derivations compile those modules, and write them in an output directory with the right layout. This corresponds to the @code{#:modules} argument of @code{build-expression->derivation} (@pxref{Derivations})." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22185 +msgid "Finally, the various tarballs are unpacked by the derivations @code{gcc-bootstrap-0.drv}, @code{glibc-bootstrap-0.drv}, etc., at which point we have a working C tool chain." +msgstr "" + +#. type: unnumberedsubsec +#: doc/guix.texi:22187 +#, no-wrap +msgid "Building the Build Tools" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22196 +msgid "Bootstrapping is complete when we have a full tool chain that does not depend on the pre-built bootstrap tools discussed above. This no-dependency requirement is verified by checking whether the files of the final tool chain contain references to the @file{/gnu/store} directories of the bootstrap inputs. The process that leads to this ``final'' tool chain is described by the package definitions found in the @code{(gnu packages commencement)} module." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22203 +msgid "The @command{guix graph} command allows us to ``zoom out'' compared to the graph above, by looking at the level of package objects instead of individual derivations---remember that a package may translate to several derivations, typically one derivation to download its source, one to build the Guile modules it needs, and one to actually build the package from source. The command:" +msgstr "" + +#. type: example +#: doc/guix.texi:22208 +#, no-wrap +msgid "" +"guix graph -t bag \\\n" +" -e '(@@@@ (gnu packages commencement)\n" +" glibc-final-with-bootstrap-bash)' | dot -Tps > t.ps\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22215 +msgid "produces the dependency graph leading to the ``final'' C library@footnote{You may notice the @code{glibc-intermediate} label, suggesting that it is not @emph{quite} final, but as a good approximation, we will consider it final.}, depicted below." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22217 +msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22223 +msgid "The first tool that gets built with the bootstrap binaries is GNU@tie{}Make---noted @code{make-boot0} above---which is a prerequisite for all the following packages. From there Findutils and Diffutils get built." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22228 +msgid "Then come the first-stage Binutils and GCC, built as pseudo cross tools---i.e., with @code{--target} equal to @code{--host}. They are used to build libc. Thanks to this cross-build trick, this libc is guaranteed not to hold any reference to the initial tool chain." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22234 +msgid "From there the final Binutils and GCC (not shown above) are built. GCC uses @code{ld} from the final Binutils, and links programs against the just-built libc. This tool chain is used to build the other packages used by Guix and by the GNU Build System: Guile, Bash, Coreutils, etc." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22240 +msgid "And voilà! At this point we have the complete set of build tools that the GNU Build System expects. These are in the @code{%final-inputs} variable of the @code{(gnu packages commencement)} module, and are implicitly used by any package that uses @code{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})." +msgstr "" + +#. type: unnumberedsubsec +#: doc/guix.texi:22242 +#, no-wrap +msgid "Building the Bootstrap Binaries" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22249 +msgid "Because the final tool chain does not depend on the bootstrap binaries, those rarely need to be updated. Nevertheless, it is useful to have an automated way to produce them, should an update occur, and this is what the @code{(gnu packages make-bootstrap)} module provides." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22253 +msgid "The following command builds the tarballs containing the bootstrap binaries (Guile, Binutils, GCC, libc, and a tarball containing a mixture of Coreutils and other basic command-line tools):" +msgstr "" + +#. type: example +#: doc/guix.texi:22256 +#, no-wrap +msgid "guix build bootstrap-tarballs\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22261 +msgid "The generated tarballs are those that should be referred to in the @code{(gnu packages bootstrap)} module mentioned at the beginning of this section." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22267 +msgid "Still here? Then perhaps by now you've started to wonder: when do we reach a fixed point? That is an interesting question! The answer is unknown, but if you would like to investigate further (and have significant computational and storage resources to do so), then let us know." +msgstr "" + +#. type: unnumberedsubsec +#: doc/guix.texi:22268 +#, no-wrap +msgid "Reducing the Set of Bootstrap Binaries" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22276 +msgid "Our bootstrap binaries currently include GCC, Guile, etc. That's a lot of binary code! Why is that a problem? It's a problem because these big chunks of binary code are practically non-auditable, which makes it hard to establish what source code produced them. Every unauditable binary also leaves us vulnerable to compiler backdoors as described by Ken Thompson in the 1984 paper @emph{Reflections on Trusting Trust}." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22282 +msgid "This is mitigated by the fact that our bootstrap binaries were generated from an earlier Guix revision. Nevertheless it lacks the level of transparency that we get in the rest of the package dependency graph, where Guix always gives us a source-to-binary mapping. Thus, our goal is to reduce the set of bootstrap binaries to the bare minimum." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22288 +msgid "The @uref{http://bootstrappable.org, Bootstrappable.org web site} lists on-going projects to do that. One of these is about replacing the bootstrap GCC with a sequence of assemblers, interpreters, and compilers of increasing complexity, which could be built from source starting from a simple and auditable assembler. Your help is welcome!" +msgstr "" + +#. type: section +#: doc/guix.texi:22291 +#, no-wrap +msgid "Porting to a New Platform" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22300 +msgid "As discussed above, the GNU distribution is self-contained, and self-containment is achieved by relying on pre-built ``bootstrap binaries'' (@pxref{Bootstrapping}). These binaries are specific to an operating system kernel, CPU architecture, and application binary interface (ABI). Thus, to port the distribution to a platform that is not yet supported, one must build those bootstrap binaries, and update the @code{(gnu packages bootstrap)} module to use them on that platform." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22305 +msgid "Fortunately, Guix can @emph{cross compile} those bootstrap binaries. When everything goes well, and assuming the GNU tool chain supports the target platform, this can be as simple as running a command like this one:" +msgstr "" + +#. type: example +#: doc/guix.texi:22308 +#, no-wrap +msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22315 +msgid "For this to work, the @code{glibc-dynamic-linker} procedure in @code{(gnu packages bootstrap)} must be augmented to return the right file name for libc's dynamic linker on that platform; likewise, @code{system->linux-architecture} in @code{(gnu packages linux)} must be taught about the new platform." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22324 +msgid "Once these are built, the @code{(gnu packages bootstrap)} module needs to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and @file{gnu/local.mk} has rules do download it for the supported architectures; a rule for the new platform must be added as well." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22333 +msgid "In practice, there may be some complications. First, it may be that the extended GNU triplet that specifies an ABI (like the @code{eabi} suffix above) is not recognized by all the GNU tools. Typically, glibc recognizes some of these, whereas GCC uses an extra @code{--with-abi} configure flag (see @code{gcc.scm} for examples of how to handle this). Second, some of the required packages could fail to build for that platform. Lastly, the generated binaries could be broken for some reason." +msgstr "" + +#. type: include +#: doc/guix.texi:22335 +#, no-wrap +msgid "contributing.texi" +msgstr "contributing.de.texi" + +#. type: Plain text +#: doc/guix.texi:22348 +msgid "Guix is based on the @uref{http://nixos.org/nix/, Nix package manager}, which was designed and implemented by Eelco Dolstra, with contributions from other people (see the @file{nix/AUTHORS} file in Guix.) Nix pioneered functional package management, and promoted unprecedented features, such as transactional package upgrades and rollbacks, per-user profiles, and referentially transparent build processes. Without this work, Guix would not exist." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22351 +msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:22357 +msgid "GNU@tie{}Guix itself is a collective work with contributions from a number of people. See the @file{AUTHORS} file in Guix for more information on these fine people. The @file{THANKS} file lists people who have helped by reporting bugs, taking care of the infrastructure, providing artwork and themes, making suggestions, and more---thank you!" +msgstr "" + +#. type: cindex +#: doc/guix.texi:22362 +#, no-wrap +msgid "license, GNU Free Documentation License" +msgstr "" + +#. type: include +#: doc/guix.texi:22363 +#, no-wrap +msgid "fdl-1.3.texi" +msgstr "fdl-1.3.texi" + +#~ msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree." +#~ msgstr "Beachten Sie, dass @command{./pre-inst-env guix pull} den lokalen Quellbaum @emph{nicht} aktualisiert; es aktualisiert lediglich die symbolische Verknüpfung @file{~/.config/guix/current} (@pxref{Invoking guix pull}). Um Ihren lokalen Quellbaum zu aktualisieren, müssen Sie stattdessen @command{git pull} benutzen." + +#~ msgid "Generally, branches other than @code{master} are considered @emph{frozen} if there has been a recent evaluation, or there is a corresponding @code{-next} branch. Please ask on the mailing list or IRC if unsure where to place a patch." +#~ msgstr "Im Allgemeinen werden Branches außer @code{master} als @emph{unveränderlich} angesehen, wenn sie kürzlich ausgewertet wurden oder ein entsprechender @code{-next}-Branch existiert. Bitte fragen Sie auf der Mailing-Liste oder IRC, wenn Sie sich nicht sicher sind, wo ein Patch eingespielt werden sollte." + +#~ msgid "This manual is also available in French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}). If you would like to translate it in your native language, consider joining the @uref{https://translationproject.org/domain/guix-manual.html, Translation Project}." +#~ msgstr "Dieses Handbuch ist auch auf Französisch verfügbar (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}). Wenn Sie es in Ihre eigene Sprache übersetzen möchten, dann sind Sie beim @uref{https://translationproject.org/domain/guix-manual.html, Translation Project} herzlich willkommen." + +#~ msgid "Channels" +#~ msgstr "Kanäle" + +#~ msgid "Customizing the package collection." +#~ msgstr "Die Paketsammlung anpassen." + +#~ msgid "Inferiors" +#~ msgstr "Untergeordnete" + +#~ msgid "Interacting with another revision of Guix." +#~ msgstr "Mit einer anderen Version von Guix interagieren." + +#~ msgid "Invoking guix describe" +#~ msgstr "Aufruf von guix describe" + +#~ msgid "Display information about your Guix revision." +#~ msgstr "Informationen über Ihre Guix-Version anzeigen." + +#~ msgid "Invoking guix repl" +#~ msgstr "Aufruf von guix repl" + +#~ msgid "Fiddling with Guix interactively." +#~ msgstr "Interaktiv an Guix herumbasteln." + +#~ msgid "Sound Services" +#~ msgstr "Tondienste" + +#~ msgid "ALSA and Pulseaudio services." +#~ msgstr "Dienste für ALSA und Pulseaudio." + +#~ msgid "Extending battery life." +#~ msgstr "Den Akku schonen." + +#~ msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version" +#~ msgstr "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, Version" + +#~ msgid "0.1.0 or later;" +#~ msgstr "0.1.0 oder neuer," + +#~ msgid "@uref{https://notabug.org/civodul/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;" +#~ msgstr "@uref{https://notabug.org/civodul/guile-sqlite3, Guile-SQLite3}, Version 0.1.0 oder neuer," + +#~ msgid "replication, of software environments" +#~ msgstr "Nachbildung, von Software-Umgebungen" + +#~ msgid "provenance tracking, of software artifacts" +#~ msgstr "Provenienzverfolgung, von Software-Artefakten" + +#~ msgid "All of Guix and its package definitions is version-controlled, and @command{guix pull} allows you to ``travel in time'' on the history of Guix itself (@pxref{Invoking guix pull}). This makes it possible to replicate a Guix instance on a different machine or at a later point in time, which in turn allows you to @emph{replicate complete software environments}, while retaining precise @dfn{provenance tracking} of the software." +#~ msgstr "Ganz Guix und all seine Paketdefinitionen stehen unter Versionskontrolle und @command{guix pull} macht es möglich, auf dem Verlauf der Entwicklung von Guix selbst »in der Zeit zu reisen« (@pxref{Invoking guix pull}). Dadurch kann eine Instanz von Guix auf einer anderen Maschine oder zu einem späteren Zeitpunkt genau nachgebildet werden, wodurch auch @emph{vollständige Software-Umgebungen gänzlich nachgebildet} werden können, mit genauer @dfn{Provenienzverfolgung}, wo diese Software herkommt." + +#~ msgid "The result of running @command{guix pull} is a @dfn{profile} available under @file{~/.config/guix/current} containing the latest Guix. Thus, make sure to add it to the beginning of your search path so that you use the latest version, and similarly for the Info manual (@pxref{Documentation}):" +#~ msgstr "Das Ergebnis von @command{guix pull} ist ein als @file{~/.config/guix/current} verfügbares @dfn{Profil} mit dem neuesten Guix. Stellen Sie sicher, dass es am Anfang Ihres Suchpfades steht, damit Sie auch wirklich das neueste Guix und sein Info-Handbuch sehen (@pxref{Documentation}):" + +#~ msgid "" +#~ "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n" +#~ "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n" +#~ msgstr "" +#~ "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n" +#~ "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n" + +#~ msgid "The @code{--list-generations} or @code{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:" +#~ msgstr "Die Befehlszeilenoption @code{--list-generations} oder kurz @code{-l} listet ältere von @command{guix pull} erzeugte Generationen auf, zusammen mit Informationen zu deren Provenienz." + +#~ msgid "" +#~ "$ guix pull -l\n" +#~ "Generation 1\tJun 10 2018 00:18:18\n" +#~ " guix 65956ad\n" +#~ " repository URL: https://git.savannah.gnu.org/git/guix.git\n" +#~ " branch: origin/master\n" +#~ " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n" +#~ "\n" +#~ msgstr "" +#~ "$ guix pull -l\n" +#~ "Generation 1\tJun 10 2018 00:18:18\n" +#~ " guix 65956ad\n" +#~ " repository URL: https://git.savannah.gnu.org/git/guix.git\n" +#~ " branch: origin/master\n" +#~ " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n" +#~ "\n" + +#~ msgid "" +#~ "Generation 2\tJun 11 2018 11:02:49\n" +#~ " guix e0cc7f6\n" +#~ " repository URL: https://git.savannah.gnu.org/git/guix.git\n" +#~ " branch: origin/master\n" +#~ " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n" +#~ " 2 new packages: keepalived, libnfnetlink\n" +#~ " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n" +#~ " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n" +#~ " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n" +#~ "\n" +#~ msgstr "" +#~ "Generation 2\tJun 11 2018 11:02:49\n" +#~ " guix e0cc7f6\n" +#~ " repository URL: https://git.savannah.gnu.org/git/guix.git\n" +#~ " branch: origin/master\n" +#~ " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n" +#~ " 2 new packages: keepalived, libnfnetlink\n" +#~ " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n" +#~ " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n" +#~ " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n" +#~ "\n" + +#~ msgid "" +#~ "Generation 3\tJun 13 2018 23:31:07\t(current)\n" +#~ " guix 844cc1c\n" +#~ " repository URL: https://git.savannah.gnu.org/git/guix.git\n" +#~ " branch: origin/master\n" +#~ " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n" +#~ " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n" +#~ " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n" +#~ msgstr "" +#~ "Generation 3\tJun 13 2018 23:31:07\t(current)\n" +#~ " guix 844cc1c\n" +#~ " repository URL: https://git.savannah.gnu.org/git/guix.git\n" +#~ " branch: origin/master\n" +#~ " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n" +#~ " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n" +#~ " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n" + +#~ msgid "@ref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix." +#~ msgstr "Im Abschnitt @ref{Invoking guix describe, @command{guix describe}} werden andere Möglichkeiten erklärt, sich den momentanen Zustand von Guix beschreiben zu lassen." + +#~ msgid "This @code{~/.config/guix/current} profile works like any other profile created by @command{guix package} (@pxref{Invoking guix package}). That is, you can list generations, roll back to the previous generation---i.e., the previous Guix---and so on:" +#~ msgstr "Das Profil @code{~/.config/guix/current} verhält sich genau wie jedes andere Profil, das von @command{guix package} erzeugt wurde (@pxref{Invoking guix package}). Das bedeutet, Sie können seine Generationen auflisten und es auf die vorherige Generation — also das vorherige Guix — zurücksetzen und so weiter:" + +#~ msgid "" +#~ "$ guix package -p ~/.config/guix/current --roll-back\n" +#~ "switched from generation 3 to 2\n" +#~ "$ guix package -p ~/.config/guix/current --delete-generations=1\n" +#~ "deleting /home/charlie/.config/guix/current-1-link\n" +#~ msgstr "" +#~ "$ guix package -p ~/.config/guix/current --roll-back\n" +#~ "switched from generation 3 to 2\n" +#~ "$ guix package -p ~/.config/guix/current --delete-generations=1\n" +#~ "deleting /home/charlie/.config/guix/current-1-link\n" + +#~ msgid "Replicating Guix" +#~ msgstr "Guix nachbilden" + +#~ msgid "replicating Guix" +#~ msgstr "Nachbilden von Guix" + +#~ msgid "inferior packages" +#~ msgstr "untergeordnete Pakete" + +#~ msgid "The data type representing the configuration of iptables." +#~ msgstr "Repräsentiert die iptables-Konfiguration." + +#~ msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})" +#~ msgstr "@code{ipv4-rules} (Vorgabe: @code{%iptables-accept-all-rules})" + +#~ msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})" +#~ msgstr "@code{ipv6-rules} (Vorgabe: @code{%iptables-accept-all-rules})" + +#~ msgid "@code{tor} (default: @code{tor})" +#~ msgstr "@code{tor} (Vorgabe: @code{tor})" + +#~ msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})" +#~ msgstr "@code{config-file} (Vorgabe: @code{(plain-file \"empty\" \"\")})" + +#~ msgid "@code{hidden-services} (default: @code{'()})" +#~ msgstr "@code{hidden-services} (Vorgabe: @code{'()})" + +#~ msgid "@code{socks-socket-type} (default: @code{'tcp})" +#~ msgstr "@code{socks-socket-type} (Vorgabe: @code{'tcp})" + +#~ msgid "@code{allow-agent-forwarding?} (default: @code{#t})" +#~ msgstr "@code{allow-agent-forwarding?} (Vorgabe: @code{#t})" + +#~ msgid "@code{allow-tcp-forwarding?} (default: @code{#t})" +#~ msgstr "@code{allow-tcp-forwarding?} (Vorgabe: @code{#t})" + +#~ msgid "@code{gateway-ports?} (default: @code{#f})" +#~ msgstr "@code{gateway-ports?} (Vorgabe: @code{#f})" + +#~ msgid "@code{log-level} (default: @code{'info})" +#~ msgstr "@code{log-level} (Vorgabe: @code{'info})" + +#~ msgid "@code{web-listen-address} (default: @code{\":9100\"})" +#~ msgstr "@code{web-listen-address} (Vorgabe: @code{\":9100\"})" + +#~ msgid "The Varnish package to use." +#~ msgstr "Das Varnish-Paket, was benutzt werden soll." + +#~ msgid "@code{name} (default: @code{\"default\"})" +#~ msgstr "@code{name} (Vorgabe: @code{\"default\"})" + +#~ msgid "@code{backend} (default: @code{\"localhost:8080\"})" +#~ msgstr "@code{backend} (Vorgabe: @code{\"localhost:8080\"})" + +#~ msgid "@code{vcl} (default: #f)" +#~ msgstr "@code{vcl} (Vorgabe: #f)" + +#~ msgid "@code{listen} (default: @code{'(\"localhost:80\")})" +#~ msgstr "@code{listen} (Vorgabe: @code{'(\"localhost:80\")})" + +#~ msgid "@code{storage} (default: @code{'(\"malloc,128m\")})" +#~ msgstr "@code{storage} (Vorgabe: @code{'(\"malloc,128m\")})" + +#~ msgid "@code{parameters} (default: @code{'()})" +#~ msgstr "@code{parameters} (Vorgabe: @code{'()})" + +#~ msgid "@code{channels} (default: @code{%default-channels})" +#~ msgstr "@code{channels} (Vorgabe: @code{%default-channels})" + +#~ msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})" +#~ msgstr "@code{package-list-expiration} (Vorgabe: @code{(* 12 3600)})" + +#~ msgid "The ddclient package." +#~ msgstr "Das ddclient-Paket." + +#~ msgid "Gitolite Service" +#~ msgstr "Gitolite-Dienst" + +#~ msgid "Gitolite service" +#~ msgstr "Gitolite-Dienst" + +#~ msgid "@code{package} (default: @var{gitolite})" +#~ msgstr "@code{package} (Vorgabe: @var{gitolite})" + +#~ msgid "Gitolite package to use." +#~ msgstr "Welches Gitolite-Paket benutzt werden soll." + +#~ msgid "@code{user} (default: @var{git})" +#~ msgstr "@code{user} (Vorgabe: @var{git})" + +#~ msgid "@code{group} (default: @var{git})" +#~ msgstr "@code{group} (Vorgabe: @var{git})" + +#~ msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})" +#~ msgstr "@code{home-directory} (Vorgabe: @var{\"/var/lib/gitolite\"})" + +#~ msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})" +#~ msgstr "@code{rc-file} (Vorgabe: @var{(gitolite-rc-file)})" + +#~ msgid "@code{admin-pubkey} (default: @var{#f})" +#~ msgstr "@code{admin-pubkey} (Vorgabe: @var{#f})" + +#~ msgid "@code{umask} (default: @code{#o0077})" +#~ msgstr "@code{umask} (Vorgabe: @code{#o0077})" + +#~ msgid "@code{git-config-keys} (default: @code{\"\"})" +#~ msgstr "@code{git-config-keys} (Vorgabe: @code{\"\"})" + +#~ msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})" +#~ msgstr "@code{roles} (Vorgabe: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})" + +#~ msgid "@code{pcsc-lite} (default: @code{pcsc-lite})" +#~ msgstr "@code{pcsc-lite} (Vorgabe: @code{pcsc-lite})" + +#~ msgid "@code{usb-drivers} (default: @code{(list ccid)})" +#~ msgstr "@code{usb-drivers} (Vorgabe: @code{(list ccid)})" + +#~ msgid "Symbol naming the action." +#~ msgstr "Die Aktion bezeichnendes Symbol." diff --git a/po/doc/guix-manual.fr.po b/po/doc/guix-manual.fr.po index 1171ff3a46..3faeed8ee4 100644 --- a/po/doc/guix-manual.fr.po +++ b/po/doc/guix-manual.fr.po @@ -5,10 +5,10 @@ # msgid "" msgstr "" -"Project-Id-Version: guix-manual 0.15.0\n" +"Project-Id-Version: guix-manual 0.16.0.1\n" "Report-Msgid-Bugs-To: ludo@gnu.org\n" -"POT-Creation-Date: 2018-06-22 14:12+0200\n" -"PO-Revision-Date: 2018-08-26 11:43+0200\n" +"POT-Creation-Date: 2018-11-28 22:35+0100\n" +"PO-Revision-Date: 2018-12-02 12:30+0100\n" "Last-Translator: Julien Lepiller \n" "Language-Team: French \n" "Language: fr\n" @@ -19,12 +19,12 @@ msgstr "" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Offlate 0.1\n" -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: chapter -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:1 doc/contributing.texi:2 doc/guix.texi:107 -#: doc/guix.texi:278 +#: doc/contributing.texi:1 doc/contributing.texi:2 doc/guix.texi:122 +#: doc/guix.texi:298 #, no-wrap msgid "Contributing" msgstr "Contribuer" @@ -56,78 +56,78 @@ msgstr "Nous souhaitons fournir un environnement chaleureux, amical et sans harc msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice." msgstr "Les contributeurs n'ont pas besoin d'utiliser leur nom légal dans leurs correctifs et leurs communications en ligne ; ils peuvent utiliser n'importe quel nom ou pseudonyme de leur choix." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: section -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry #: doc/contributing.texi:28 doc/contributing.texi:30 doc/contributing.texi:31 -#: doc/guix.texi:284 +#: doc/guix.texi:304 #, no-wrap msgid "Building from Git" msgstr "Construire depuis Git" #. type: menuentry -#: doc/contributing.texi:28 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/guix.texi:304 msgid "The latest and greatest." msgstr "toujours le plus récent." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: section -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry #: doc/contributing.texi:28 doc/contributing.texi:102 -#: doc/contributing.texi:103 doc/guix.texi:284 +#: doc/contributing.texi:103 doc/guix.texi:304 #, no-wrap msgid "Running Guix Before It Is Installed" msgstr "Lancer Guix avant qu'il ne soit installé" #. type: menuentry -#: doc/contributing.texi:28 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/guix.texi:304 msgid "Hacker tricks." msgstr "Astuces pour les hackers." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: section -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:28 doc/contributing.texi:163 -#: doc/contributing.texi:164 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/contributing.texi:166 +#: doc/contributing.texi:167 doc/guix.texi:304 #, no-wrap msgid "The Perfect Setup" msgstr "La configuration parfaite" #. type: menuentry -#: doc/contributing.texi:28 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/guix.texi:304 msgid "The right tools." msgstr "Les bons outils." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: section -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:28 doc/contributing.texi:222 -#: doc/contributing.texi:223 doc/guix.texi:284 doc/guix.texi:286 +#: doc/contributing.texi:28 doc/contributing.texi:226 +#: doc/contributing.texi:227 doc/guix.texi:304 doc/guix.texi:306 #, no-wrap msgid "Coding Style" msgstr "Style de code" #. type: menuentry -#: doc/contributing.texi:28 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/guix.texi:304 msgid "Hygiene of the contributor." msgstr "Hygiène du contributeur." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: section -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:28 doc/contributing.texi:320 -#: doc/contributing.texi:321 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/contributing.texi:324 +#: doc/contributing.texi:325 doc/guix.texi:304 #, no-wrap msgid "Submitting Patches" msgstr "Envoyer des correctifs" #. type: menuentry -#: doc/contributing.texi:28 doc/guix.texi:284 +#: doc/contributing.texi:28 doc/guix.texi:304 msgid "Share your work." msgstr "Partager votre travail." @@ -248,12 +248,12 @@ msgid "In order to keep a sane working environment, you will find it useful to t msgstr "Pour garder un environnement de travail sain, il est utile de tester les changement localement sans les installer pour de vrai. Pour pouvoir distinguer votre rôle « d'utilisateur final » de celui parfois haut en couleur de « développeur »." #. type: Plain text -#: doc/contributing.texi:117 -msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix), as in@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:" -msgstr "Pour cela, tous les outils en ligne de commande sont utilisables même sans avoir lancé @code{make install}. Vous devez pour cela préfixer chaque commande par @command{./pre-inst-env} (le script @file{pre-inst-env} se trouve dans le répertoire de plus haut niveau de l'arborescence des sources de Guix) comme cela@footnote{L'option @option{-E} de @command{sudo} garantie que @code{GUILE_LOAD_PATH} est bien paramétré pour @command{guix-daemon} et les outils qu'il utilise puissent trouver les modules Guile dont ils ont besoin.} :" +#: doc/contributing.texi:120 +msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix; it is generated by @command{./configure}), as in@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:" +msgstr "Pour cela, tous les outils en ligne de commande sont utilisables même sans avoir lancé @code{make install}. Pour cela, vous devez d'abord avoir un environnement avec toutes les dépendances disponibles (@pxref{Building from Git}), puis préfixer chaque commande par @command{./pre-inst-env} (le script @file{pre-inst-env} se trouve dans le répertoire de plus haut niveau de l'arborescence des sources de Guix ; il est généré par @command{./configure}) comme cela@footnote{L'option @option{-E} de @command{sudo} garantie que @code{GUILE_LOAD_PATH} est bien paramétré pour @command{guix-daemon} et pour que les outils qu'il utilise puissent trouver les modules Guile dont ils ont besoin.} :" #. type: example -#: doc/contributing.texi:121 +#: doc/contributing.texi:124 #, no-wrap msgid "" "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n" @@ -263,12 +263,12 @@ msgstr "" "$ ./pre-inst-env guix build hello\n" #. type: Plain text -#: doc/contributing.texi:125 +#: doc/contributing.texi:128 msgid "Similarly, for a Guile session using the Guix modules:" msgstr "De même, pour une session Guile qui utilise les modules Guix :" #. type: example -#: doc/contributing.texi:128 +#: doc/contributing.texi:131 #, no-wrap msgid "" "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n" @@ -278,30 +278,30 @@ msgstr "" "\n" #. type: example -#: doc/contributing.texi:130 +#: doc/contributing.texi:133 #, no-wrap msgid ";;; (\"x86_64-linux\")\n" msgstr ";;; (\"x86_64-linux\")\n" #. type: cindex -#: doc/contributing.texi:133 +#: doc/contributing.texi:136 #, no-wrap msgid "REPL" msgstr "REPL" #. type: cindex -#: doc/contributing.texi:134 +#: doc/contributing.texi:137 #, no-wrap msgid "read-eval-print loop" msgstr "read-eval-print loop" #. type: Plain text -#: doc/contributing.texi:137 +#: doc/contributing.texi:140 msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):" msgstr "@dots{} et pour un REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual})" #. type: example -#: doc/contributing.texi:152 +#: doc/contributing.texi:155 #, no-wrap msgid "" "$ ./pre-inst-env guile\n" @@ -333,27 +333,27 @@ msgstr "" "$1 = 361\n" #. type: Plain text -#: doc/contributing.texi:156 +#: doc/contributing.texi:159 msgid "The @command{pre-inst-env} script sets up all the environment variables necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}." msgstr "Le script @command{pre-inst-env} paramètre toutes les variables d'environnement nécessaires, dont @env{PATH} et @env{GUILE_LOAD_PATH}." #. type: Plain text -#: doc/contributing.texi:161 +#: doc/contributing.texi:164 msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree." msgstr "Remarquez que @command{./pre-inst-env guix pull} ne met @emph{pas} à jour l'arborescence des sources locale ; cela met seulement à jour le lien symbolique de @file{~/.config/guix/current} (@pxref{Invoking guix pull}). Lancez @command{git pull} à la place si vous voulez mettre à jour votre arborescence des source locale." #. type: Plain text -#: doc/contributing.texi:171 +#: doc/contributing.texi:174 msgid "The Perfect Setup to hack on Guix is basically the perfect setup used for Guile hacking (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). First, you need more than an editor, you need @url{http://www.gnu.org/software/emacs, Emacs}, empowered by the wonderful @url{http://nongnu.org/geiser/, Geiser}." msgstr "La configuration parfaite pour travailler sur Guix est simplement la configuration parfaite pour travailler en Guile (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). Tout d'abord, vous avez besoin de mieux qu'un éditeur de texte, vous avez besoin de @url{http://www.gnu.org/software/emacs, Emacs}, amélioré par le superbe @url{http://nongnu.org/geiser/, Geiser}." #. type: Plain text -#: doc/contributing.texi:179 +#: doc/contributing.texi:182 msgid "Geiser allows for interactive and incremental development from within Emacs: code compilation and evaluation from within buffers, access to on-line documentation (docstrings), context-sensitive completion, @kbd{M-.} to jump to an object definition, a REPL to try out your code, and more (@pxref{Introduction,,, geiser, Geiser User Manual}). For convenient Guix development, make sure to augment Guile’s load path so that it finds source files from your checkout:" msgstr "Geiser permet le développement interactif et incrémental depuis Emacs : la compilation du code et son évaluation depuis les buffers, l'accès à la documentation en ligne (docstrings), la complétion sensible au contexte, @kbd{M-.} pour sauter à la définition d'un objet, un REPL pour tester votre code, et bien plus (@pxref{Introduction,,, geiser, Geiser User Manual}). Pour travailler confortablement sur Guix, assurez-vous de modifier le chemin de chargement de Guile pour qu'il trouve les fichiers source de votre dépôt :" #. type: lisp -#: doc/contributing.texi:184 +#: doc/contributing.texi:187 #, no-wrap msgid "" ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n" @@ -365,35 +365,35 @@ msgstr "" " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n" #. type: Plain text -#: doc/contributing.texi:192 +#: doc/contributing.texi:195 msgid "To actually edit the code, Emacs already has a neat Scheme mode. But in addition to that, you must not miss @url{http://www.emacswiki.org/emacs/ParEdit, Paredit}. It provides facilities to directly operate on the syntax tree, such as raising an s-expression or wrapping it, swallowing or rejecting the following s-expression, etc." msgstr "Pour effectivement éditer le code, Emacs a déjà un très bon mode Scheme. Mais en plus de ça, vous ne devez pas rater @url{http://www.emacswiki.org/emacs/ParEdit, Paredit}. Il fournit des fonctionnalités pour opérer directement sur l'arbre de syntaxe, comme relever une s-expression ou l'envelopper, absorber ou rejeter la s-expression suivante, etc." #. type: cindex -#: doc/contributing.texi:193 +#: doc/contributing.texi:196 #, no-wrap msgid "code snippets" msgstr "extraits de code" #. type: cindex -#: doc/contributing.texi:194 +#: doc/contributing.texi:197 #, no-wrap msgid "templates" msgstr "modèles" #. type: cindex -#: doc/contributing.texi:195 +#: doc/contributing.texi:198 #, no-wrap msgid "reducing boilerplate" msgstr "réduire la quantité de code commun" #. type: Plain text -#: doc/contributing.texi:202 +#: doc/contributing.texi:205 msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used with @url{http://joaotavora.github.io/yasnippet/, YASnippet} to expand short trigger strings to interactive text snippets. You may want to add the snippets directory to the @var{yas-snippet-dirs} variable in Emacs." msgstr "Nous fournissons aussi des modèles pour les messages de commit git communs et les définitions de paquets dans le répertoire @file{etc/snippets}. Ces modèles s'utilisent avec @url{http://joaotavora.github.io/yasnippet/, YASnippet} pour développer des chaînes courtes de déclenchement en extraits de texte interactifs. Vous pouvez ajouter le répertoire des modèles dans la variables @var{yas-snippet-dirs} d'Emacs." #. type: lisp -#: doc/contributing.texi:207 +#: doc/contributing.texi:210 #, no-wrap msgid "" ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n" @@ -405,402 +405,407 @@ msgstr "" " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n" #. type: Plain text -#: doc/contributing.texi:214 -msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package." -msgstr "Les extraits de messages de commit dépendent de @url{https://magit.vc/, Magit} pour afficher les fichiers sélectionnés. Lors de la modification d'un message de commit, tapez @code{add} suivi de @kbd{TAB} pour insérer un modèle de message de commit pour ajouter un paquet ; tapez @code{update} suivi de @kbd{TAB} pour insérer un modèle pour la mise à jour d'un paquet." +#: doc/contributing.texi:218 +msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package; type @code{https} followed by @kbd{TAB} to insert a template for changing the home page URI of a package to HTTPS." +msgstr "Les extraits de messages de commit dépendent de @url{https://magit.vc/, Magit} pour afficher les fichiers sélectionnés. Lors de la modification d'un message de commit, tapez @code{add} suivi de @kbd{TAB} pour insérer un modèle de message de commit pour ajouter un paquet ; tapez @code{update} suivi de @kbd{TAB} pour insérer un modèle pour la mise à jour d'un paquet ; tapez @code{https} suivi de @kbd{TAB} pour insérer un modèle pour le changement à HTTPS de l'URI de la page d'accueil." #. type: Plain text -#: doc/contributing.texi:220 +#: doc/contributing.texi:224 msgid "The main snippet for @code{scheme-mode} is triggered by typing @code{package...} followed by @kbd{TAB}. This snippet also inserts the trigger string @code{origin...}, which can be expanded further. The @code{origin} snippet in turn may insert other trigger strings ending on @code{...}, which also can be expanded further." msgstr "L'extrait principal pour @code{scheme-mode} est lancé en tapant @code{package…} suivi par @kbd{TAB}. Cet extrait insère aussi la chaîne de déclenchement @code{origin…}, qui peut aussi être étendue. L'extrait @code{origin} lui-même peut aussi insérer des chaînes de déclenchement qui finissent sur @code{…}, qui peuvent aussi être étendues." #. type: Plain text -#: doc/contributing.texi:228 +#: doc/contributing.texi:232 msgid "In general our code follows the GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). However, they do not say much about Scheme, so here are some additional rules." msgstr "En général notre code suit le Standard de Code GNU (@pxref{Top,,, standards, GNU Coding Standards}). Cependant, il ne parle pas beaucoup de Scheme, donc voici quelques règles supplémentaires." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: subsection -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:234 doc/contributing.texi:236 -#: doc/contributing.texi:237 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/contributing.texi:240 +#: doc/contributing.texi:241 doc/guix.texi:311 #, no-wrap msgid "Programming Paradigm" msgstr "Paradigme de programmation" #. type: menuentry -#: doc/contributing.texi:234 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/guix.texi:311 msgid "How to compose your elements." msgstr "Comment composer vos éléments." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: subsection -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:234 doc/contributing.texi:243 -#: doc/contributing.texi:244 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/contributing.texi:247 +#: doc/contributing.texi:248 doc/guix.texi:311 #, no-wrap msgid "Modules" msgstr "Modules" #. type: menuentry -#: doc/contributing.texi:234 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/guix.texi:311 msgid "Where to store your code?" msgstr "Où stocker votre code ?" -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: subsection -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:234 doc/contributing.texi:254 -#: doc/contributing.texi:255 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/contributing.texi:258 +#: doc/contributing.texi:259 doc/guix.texi:311 #, no-wrap msgid "Data Types and Pattern Matching" msgstr "Types de données et reconnaissance de motif" #. type: menuentry -#: doc/contributing.texi:234 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/guix.texi:311 msgid "Implementing data structures." msgstr "Implémenter des structures de données." -#. #-#-#-#-# contributing.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# contributing.pot (guix 0.16.0tp2) #-#-#-#-# #. type: subsection -#. #-#-#-#-# guix.pot (guix 0.14.0.6706-c6386-dirty) #-#-#-#-# +#. #-#-#-#-# guix.pot (guix 0.15.0.3784-e9926-dirty) #-#-#-#-# #. type: menuentry -#: doc/contributing.texi:234 doc/contributing.texi:268 -#: doc/contributing.texi:269 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/contributing.texi:272 +#: doc/contributing.texi:273 doc/guix.texi:311 #, no-wrap msgid "Formatting Code" msgstr "Formatage du code" #. type: menuentry -#: doc/contributing.texi:234 doc/guix.texi:291 +#: doc/contributing.texi:238 doc/guix.texi:311 msgid "Writing conventions." msgstr "Conventions d'écriture." #. type: Plain text -#: doc/contributing.texi:242 +#: doc/contributing.texi:246 msgid "Scheme code in Guix is written in a purely functional style. One exception is code that involves input/output, and procedures that implement low-level concepts, such as the @code{memoize} procedure." msgstr "Le code Scheme dans Guix est écrit dans un style purement fonctionnel. Le code qui s'occupe des entrées-sorties est une exception ainsi que les procédures qui implémentent des concepts bas-niveau comme la procédure @code{memoize}." #. type: Plain text -#: doc/contributing.texi:250 +#: doc/contributing.texi:254 msgid "Guile modules that are meant to be used on the builder side must live in the @code{(guix build @dots{})} name space. They must not refer to other Guix or GNU modules. However, it is OK for a ``host-side'' module to use a build-side module." msgstr "Les modules Guile qui sont sensés être utilisés du côté de la construction doivent se trouver dans l'espace de nom @code{(guix build @dots{})}. Ils ne doivent pas se référer à d'autres modules Guix ou GNU@. Cependant il est correct pour un module « côté hôte » de dépendre d'un module coté construction." #. type: Plain text -#: doc/contributing.texi:253 +#: doc/contributing.texi:257 msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}." msgstr "Les modules qui s'occupent du système GNU général devraient se trouver dans l'espace de nom @code{(gnu @dots{})} plutôt que @code{(guix @dots{})}." #. type: Plain text -#: doc/contributing.texi:262 +#: doc/contributing.texi:266 msgid "The tendency in classical Lisp is to use lists to represent everything, and then to browse them ``by hand'' using @code{car}, @code{cdr}, @code{cadr}, and co. There are several problems with that style, notably the fact that it is hard to read, error-prone, and a hindrance to proper type error reports." msgstr "La tendance en Lisp classique est d'utiliser des listes pour tout représenter et de naviguer dedans « à la main ( avec @code{car}, @code{cdr}, @code{cadr} et compagnie. Il y a plusieurs problèmes avec ce style, notamment le fait qu'il soit dur à lire, source d'erreur et un obstacle aux rapports d'erreur bien typés." #. type: Plain text -#: doc/contributing.texi:267 +#: doc/contributing.texi:271 msgid "Guix code should define appropriate data types (for instance, using @code{define-record-type*}) rather than abuse lists. In addition, it should use pattern matching, via Guile’s @code{(ice-9 match)} module, especially when matching lists." msgstr "Le code de Guix devrait définir des types de données appropriées (par exemple, avec @code{define-record-type*}) plutôt que d'abuser des listes. En plus, il devrait utiliser la recherche de motifs, via le module Guile @code{(ice-9 match)}, surtout pour rechercher dans des listes." #. type: cindex -#: doc/contributing.texi:271 +#: doc/contributing.texi:275 #, no-wrap msgid "formatting code" msgstr "formater le code" #. type: cindex -#: doc/contributing.texi:272 +#: doc/contributing.texi:276 #, no-wrap msgid "coding style" msgstr "style de code" #. type: Plain text -#: doc/contributing.texi:279 +#: doc/contributing.texi:283 msgid "When writing Scheme code, we follow common wisdom among Scheme programmers. In general, we follow the @url{http://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules}. This document happens to describe the conventions mostly used in Guile’s code too. It is very thoughtful and well written, so please do read it." msgstr "Lorsque nous écrivons du code Scheme, nous suivons la sagesse commune aux programmeurs Scheme. En général, nous suivons les @url{http://mumble.net/~campbell/scheme/style.txt, règles de style de Riastradh}. Ce document décrit aussi les conventions utilisées dans le code de Guile. Il est bien pensé et bien écrit, alors n'hésitez pas à le lire." #. type: Plain text -#: doc/contributing.texi:286 +#: doc/contributing.texi:290 msgid "Some special forms introduced in Guix, such as the @code{substitute*} macro, have special indentation rules. These are defined in the @file{.dir-locals.el} file, which Emacs automatically uses. Also note that Emacs-Guix provides @code{guix-devel-mode} mode that indents and highlights Guix code properly (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})." msgstr "Certaines formes spéciales introduites dans Guix comme la macro @code{substitute*} ont des règles d'indentation spécifiques. Elles sont définies dans le fichier @file{.dir-locals.el} qu'Emacs utilise automatiquement. Remarquez aussi qu'Emacs-Guix fournit le mode @code{guix-devel-mode} qui indente et colore le code Guix correctement (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})." #. type: cindex -#: doc/contributing.texi:287 +#: doc/contributing.texi:291 #, no-wrap msgid "indentation, of code" msgstr "indentation, du code" #. type: cindex -#: doc/contributing.texi:288 +#: doc/contributing.texi:292 #, no-wrap msgid "formatting, of code" msgstr "formatage, du code" #. type: Plain text -#: doc/contributing.texi:291 +#: doc/contributing.texi:295 msgid "If you do not use Emacs, please make sure to let your editor knows these rules. To automatically indent a package definition, you can also run:" msgstr "Si vous n'utilisez pas Emacs, assurez-vous que votre éditeur connaisse ces règles. Pour indenter automatiquement une définition de paquet, vous pouvez aussi lancer :" #. type: example -#: doc/contributing.texi:294 +#: doc/contributing.texi:298 #, no-wrap msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n" msgstr "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n" #. type: Plain text -#: doc/contributing.texi:300 +#: doc/contributing.texi:304 msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:" msgstr "Cela indente automatiquement la définition de @var{package} dans @file{gnu/packages/@var{file}.scm} en lançant Emacs en mode commande. Pour indenter un fichier complet, n'indiquez pas de second argument :" #. type: example -#: doc/contributing.texi:303 +#: doc/contributing.texi:307 #, no-wrap msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n" msgstr "./etc/indent-code.el gnu/services/@var{file}.scm\n" #. type: cindex -#: doc/contributing.texi:305 +#: doc/contributing.texi:309 #, no-wrap msgid "Vim, Scheme code editing" msgstr "Vim, édition de code Scheme" #. type: Plain text -#: doc/contributing.texi:311 +#: doc/contributing.texi:315 msgid "If you are editing code with Vim, we recommend that you run @code{:set autoindent} so that your code is automatically indented as you type. Additionally, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} may help you deal with all these parentheses." msgstr "Si vous éditez du code avec Vim, nous recommandons de lancer @code{:set autoindent} pour que votre code soit automatiquement indenté au moment où vous l'entrez. En plus, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} peut vous aider à gérer toutes ces parenthèses." #. type: Plain text -#: doc/contributing.texi:315 +#: doc/contributing.texi:319 msgid "We require all top-level procedures to carry a docstring. This requirement can be relaxed for simple private procedures in the @code{(guix build @dots{})} name space, though." msgstr "Nous demandons que toutes les procédure de premier niveau contiennent une chaîne de documentation. Ce pré-requis peut être relâché pour les procédures privées simples dans l'espace de nom @code{(guix build @dots{})} cependant." #. type: Plain text -#: doc/contributing.texi:318 +#: doc/contributing.texi:322 msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters." msgstr "Les procédures ne devraient pas avoir plus de quatre paramètres positionnés. Utilisez des paramètres par mot-clefs pour les procédures qui prennent plus de quatre paramètres." #. type: Plain text -#: doc/contributing.texi:327 +#: doc/contributing.texi:331 msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list." msgstr "Le développement se fait avec le système de contrôle de version Git. Ainsi, l'accès au dépôt n'est pas strictement nécessaire. Nous accueillons les contributions sous forme de correctifs produits par @code{git format-patch} envoyés sur la liste de diffusion @email{guix-patches@@gnu.org}." #. type: Plain text -#: doc/contributing.texi:334 +#: doc/contributing.texi:338 msgid "This mailing list is backed by a Debbugs instance accessible at @uref{https://bugs.gnu.org/guix-patches}, which allows us to keep track of submissions. Each message sent to that mailing list gets a new tracking number assigned; people can then follow up on the submission by sending email to @code{@var{NNN}@@debbugs.gnu.org}, where @var{NNN} is the tracking number (@pxref{Sending a Patch Series})." msgstr "Cette liste de diffusion est gérée par une instance Debbugs accessible à l'adresse @uref{https://bugs.gnu.org/guix-patches}, qui nous permet de suivre les soumissions. Chaque message envoyé à cette liste se voit attribuer un numéro de suivi ; les gens peuvent ensuite répondre à cette soumission en envoyant un courriel à @code{@var{NNN}@@debbugs.gnu.org}, où @var{NNN} est le numéro de suivi (@pxref{Envoyer une série de correctifs})." #. type: Plain text -#: doc/contributing.texi:338 +#: doc/contributing.texi:342 msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples." msgstr "Veuillez écrire les messages de commit dans le format ChangeLog (@pxref{Change Logs,,, standards, GNU Coding Standards}) ; vous pouvez regarder l'historique des commits pour trouver des exemples." #. type: Plain text -#: doc/contributing.texi:341 +#: doc/contributing.texi:345 msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:" msgstr "Avant de soumettre un correctif qui ajoute ou modifie la définition d'un paquet, veuillez vérifier cette check-list :" #. type: enumerate -#: doc/contributing.texi:348 +#: doc/contributing.texi:352 msgid "If the authors of the packaged software provide a cryptographic signature for the release tarball, make an effort to verify the authenticity of the archive. For a detached GPG signature file this would be done with the @code{gpg --verify} command." msgstr "Si les auteurs du paquet logiciel fournissent une signature cryptographique pour l'archive, faîtes un effort pour vérifier l'authenticité de l'archive. Pour un fichier de signature GPG détaché, cela se fait avec la commande @code{gpg --verify}." #. type: enumerate -#: doc/contributing.texi:352 +#: doc/contributing.texi:356 msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines." msgstr "Prenez un peu de temps pour fournir un synopsis et une description adéquats pour le paquet. Voir @xref{Synopsis et descriptions} pour quelques lignes directrices." #. type: enumerate -#: doc/contributing.texi:357 +#: doc/contributing.texi:361 msgid "Run @code{guix lint @var{package}}, where @var{package} is the name of the new or modified package, and fix any errors it reports (@pxref{Invoking guix lint})." msgstr "Lancez @code{guix lint @var{paquet}}, où @var{paquet} est le nom du nouveau paquet ou du paquet modifié, et corrigez les erreurs qu'il rapporte (@pxref{Invoquer guix lint})." #. type: enumerate -#: doc/contributing.texi:361 +#: doc/contributing.texi:365 msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}." msgstr "Assurez-vous que le paquet se construise sur votre plate-forme avec @code{guix build @var{paquet}}." #. type: cindex -#: doc/contributing.texi:363 +#: doc/contributing.texi:367 #, no-wrap msgid "bundling" msgstr "construction groupée" #. type: enumerate -#: doc/contributing.texi:366 +#: doc/contributing.texi:370 msgid "Make sure the package does not use bundled copies of software already available as separate packages." msgstr "Assurez-vous que le paquet n'utilise pas de copie groupée d'un logiciel déjà disponible dans un paquet séparé." #. type: enumerate -#: doc/contributing.texi:375 +#: doc/contributing.texi:379 msgid "Sometimes, packages include copies of the source code of their dependencies as a convenience for users. However, as a distribution, we want to make sure that such packages end up using the copy we already have in the distribution, if there is one. This improves resource usage (the dependency is built and stored only once), and allows the distribution to make transverse changes such as applying security updates for a given software package in a single place and have them affect the whole system---something that bundled copies prevent." msgstr "Parfois, les paquets incluent des copie du code source de leurs dépendances pour le confort de leurs utilisateurs. Cependant, en tant que distribution, nous voulons nous assurer que ces paquets utilisent bien les copient que nous avons déjà dans la distribution si elles existent. Cela améliore l'utilisation des ressources (la dépendance n'est construite et stockée qu'une seule fois) et permet à la distribution de faire des changements transversaux comme appliquer des correctifs de sécurité pour un paquet donné depuis un unique emplacement et qu'ils affectent tout le système, ce qu'empêchent les copies groupées." #. type: enumerate -#: doc/contributing.texi:382 +#: doc/contributing.texi:386 msgid "Take a look at the profile reported by @command{guix size} (@pxref{Invoking guix size}). This will allow you to notice references to other packages unwillingly retained. It may also help determine whether to split the package (@pxref{Packages with Multiple Outputs}), and which optional dependencies should be used." msgstr "Regardez le profile rapporté par @command{guix size} (@pxref{Invoking guix size}). Cela vous permettra de remarquer des références à d'autres paquets qui ont été retenus. Il peut aussi aider à déterminer s'il faut découper le paquet (@pxref{Des paquets avec plusieurs résultats}) et quelle dépendance facultative utiliser." #. type: enumerate -#: doc/contributing.texi:387 +#: doc/contributing.texi:391 msgid "For important changes, check that dependent package (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})." msgstr "Pour les changements important, vérifiez que les paquets qui en dépendent (s'ils existent) ne sont pas affectés par le changement ; @code{guix refresh --list-dependant @var{paquet}} vous aidera (@pxref{Invoquer guix refresh})." #. type: cindex -#: doc/contributing.texi:389 +#: doc/contributing.texi:393 #, no-wrap msgid "branching strategy" msgstr "stratégie de branche" #. type: cindex -#: doc/contributing.texi:390 +#: doc/contributing.texi:394 #, no-wrap msgid "rebuild scheduling strategy" msgstr "stratégie de planification des reconstructions" #. type: enumerate -#: doc/contributing.texi:393 +#: doc/contributing.texi:397 msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:" msgstr "Suivant le nombre de paquets dépendants et donc le nombre de reconstruction induites, les commits vont vers des branches différentes, suivant ces principes :" #. type: item -#: doc/contributing.texi:395 +#: doc/contributing.texi:399 #, no-wrap msgid "300 dependent packages or less" msgstr "300 paquets dépendants ou moins" #. type: table -#: doc/contributing.texi:397 +#: doc/contributing.texi:401 msgid "@code{master} branch (non-disruptive changes)." msgstr "branche @code{master} (changements non-disruptifs)." #. type: item -#: doc/contributing.texi:398 +#: doc/contributing.texi:402 #, no-wrap msgid "between 300 and 1,200 dependent packages" msgstr "entre 300 et 1 200 paquets dépendants" #. type: table -#: doc/contributing.texi:403 +#: doc/contributing.texi:407 msgid "@code{staging} branch (non-disruptive changes). This branch is intended to be merged in @code{master} every 3 weeks or so. Topical changes (e.g., an update of the GNOME stack) can instead go to a specific branch (say, @code{gnome-updates})." msgstr "branche @code{staging} (changemets non-disruptifs). Cette branche devrait être fusionnées dans @code{master} tous les 3 semaines. Les changements par thèmes (par exemple une mise à jour de la pile GNOME) peuvent aller dans une branche spécifique (disons, @code{gnome-updates})." #. type: item -#: doc/contributing.texi:404 +#: doc/contributing.texi:408 #, no-wrap msgid "more than 1,200 dependent packages" msgstr "plus de 1 200 paquets dépendants" #. type: table -#: doc/contributing.texi:408 +#: doc/contributing.texi:412 msgid "@code{core-updates} branch (may include major and potentially disruptive changes). This branch is intended to be merged in @code{master} every 2.5 months or so." msgstr "branche @code{core-updates} (peut inclure des changements majeurs et potentiellement disruptifs). Cette branche devrait être fusionnée dans @code{master} tous les 2,5 mois environ." #. type: enumerate -#: doc/contributing.texi:415 +#: doc/contributing.texi:419 msgid "All these branches are @uref{https://hydra.gnu.org/project/gnu, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available." msgstr "Toutes ces branches sont @uref{https://hydra.gnu.org/project/gnu, gérées par notre ferme de construction} et fusionnées dans @code{master} une fois que tout a été construit correctement. Cela nous permet de corriger des problèmes avant qu'ils n'atteignent les utilisateurs et réduit la fenêtre pendant laquelle les binaires pré-construits ne sont pas disponibles." #. type: enumerate -#: doc/contributing.texi:422 +#: doc/contributing.texi:426 msgid "Generally, branches other than @code{master} are considered @emph{frozen} if there has been a recent evaluation, or there is a corresponding @code{-next} branch. Please ask on the mailing list or IRC if unsure where to place a patch." msgstr "Généralement les autres branches que @code{master} sont considérées comme @emph{gelées} s'il y a eu une évaluation récente ou qu'il y a une branche @code{-next} correspondante. Demandez sur la liste de diffusion ou sur IRC si vous n'êtes pas sûr de savoir où pousser votre correctif." #. type: cindex -#: doc/contributing.texi:424 +#: doc/contributing.texi:428 #, no-wrap msgid "determinism, of build processes" msgstr "déterminisme, du processus de construction" #. type: cindex -#: doc/contributing.texi:425 +#: doc/contributing.texi:429 #, no-wrap msgid "reproducible builds, checking" msgstr "construction reproductibles, vérification" #. type: enumerate -#: doc/contributing.texi:429 +#: doc/contributing.texi:433 msgid "Check whether the package's build process is deterministic. This typically means checking whether an independent build of the package yields the exact same result that you obtained, bit for bit." msgstr "Vérifiez si le processus de construction du paquet est déterministe. Cela signifie typiquement vérifier qu'une construction indépendante du paquet renvoie exactement le même résultat que vous avez obtenu, bit à bit." #. type: enumerate -#: doc/contributing.texi:432 +#: doc/contributing.texi:436 msgid "A simple way to do that is by building the same package several times in a row on your machine (@pxref{Invoking guix build}):" msgstr "Une manière simple de le faire est de reconstruire le paquet plusieurs fois à la suite sur votre machine (@pxref{Invoquer guix build}) :" #. type: example -#: doc/contributing.texi:435 +#: doc/contributing.texi:439 #, no-wrap msgid "guix build --rounds=2 my-package\n" msgstr "guix build --rounds=2 mon-paquet\n" #. type: enumerate -#: doc/contributing.texi:439 +#: doc/contributing.texi:443 msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result." msgstr "Cela est suffisant pour trouver une classe de non-déterminisme commune, comme l'horodatage ou des sorties générées aléatoirement dans le résultat de la construction." #. type: enumerate -#: doc/contributing.texi:449 +#: doc/contributing.texi:453 msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{hydra.gnu.org} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files." msgstr "Une autre option consiste à utiliser @command{guix challenge} (@pxref{Invoquer guix challenge}). Vous pouvez lancer la commande une fois que les paquets ont été commités et construits par @code{hydra.gnu.org} pour vérifier s'il obtient le même résultat que vous. Mieux encore : trouvez une autre machine qui peut le construire et lancez @command{guix publish}. Puis la machine distante est sûrement différente de la vôtre, cela peut trouver des problèmes de non-déterminisme liés au matériel — par exemple utiliser une extension du jeu d'instruction — ou du noyau du système d'exploitation — par exemple se reposer sur @code{uname} ou les fichiers de @file{/proc}." #. type: enumerate -#: doc/contributing.texi:455 +#: doc/contributing.texi:459 msgid "When writing documentation, please use gender-neutral wording when referring to people, such as @uref{https://en.wikipedia.org/wiki/Singular_they, singular ``they''@comma{} ``their''@comma{} ``them''}, and so forth." msgstr "Lorsque vous écrivez de la documentation, utilisez une formulation au genre neutre lorsque vous vous référez à des personnes, comme le @uref{https://fr.wikipedia.org/wiki/They_singulier, ``they''@comma{} ``their''@comma{} ``them'' singulier} (en anglais)." #. type: enumerate -#: doc/contributing.texi:459 +#: doc/contributing.texi:463 msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower." msgstr "Vérifiez que votre correctif contienne seulement un ensemble de changements liés. Grouper des changements non liés ensemble rend la revue plus difficile et plus lente." #. type: enumerate -#: doc/contributing.texi:462 +#: doc/contributing.texi:466 msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package." msgstr "Ajouter plusieurs paquet ou une mise à jour d'un paquet avec des corrections dans ce paquet sont des exemples de changements sans rapport." #. type: enumerate -#: doc/contributing.texi:467 +#: doc/contributing.texi:471 msgid "Please follow our code formatting rules, possibly running the @command{etc/indent-code.el} script to do that automatically for you (@pxref{Formatting Code})." msgstr "Suivez nos règles de formatage de code, éventuellement en lançant le script @command{et/indent-code.el} pour le faire automatiquement (@pxref{Formatage du code})." +#. type: enumerate +#: doc/contributing.texi:479 +msgid "When possible, use mirrors in the source URL (@pxref{Invoking guix download}). Use reliable URLs, not generated ones. For instance, GitHub archives are not necessarily identical from one generation to the next, so in this case it's often better to clone the repository. Don't use the @command{name} field in the URL: it is not very useful and if the name changes, the URL will probably be wrong." +msgstr "Si possible, utilisez des miroirs dans l'URL des sources (@pxref{Invoking guix download}). Utilisez des URL stable, pas des URL générées. Par exemple, les archives GitHub ne sont pas nécessairement identiques d'une génération à la suivante, donc il vaut mieux dans ce cas cloner le dépôt. N'utilisez pas le champ @command{name} dans l'URL : ce n'est pas très utile et si le nom change, l'URL sera probablement erronée." + #. type: Plain text -#: doc/contributing.texi:477 +#: doc/contributing.texi:489 msgid "When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a subject. You may use your email client or the @command{git send-email} command (@pxref{Sending a Patch Series}). We prefer to get patches in plain text messages, either inline or as MIME attachments. You are advised to pay attention if your email client changes anything like line breaks or indentation which could potentially break the patches." msgstr "Lorsque vous envoyez un correctif à la liste de diffusion, utilisez @samp{[PATCH] @dots{}} comme sujet. Vous pouvez utiliser votre client de courriel ou la commande @command{git send-email} (@pxref{Envoyer une série de correctifs}). Nous préférons recevoir des correctifs en texte brut, soit en ligne, soit en pièce-jointe MIME@. Nous vous conseillons de faire attention si votre client de courriel change par exemple les retours à la ligne ou l'indentation, ce qui peut casser les correctifs." #. type: Plain text -#: doc/contributing.texi:480 +#: doc/contributing.texi:492 msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}." msgstr "Lorsqu'un bogue est résolu, veuillez fermer le fil en envoyant un courriel à @email{@var{NNN}-done@@debbugs.gnu.org}." #. type: anchor{#1} -#: doc/contributing.texi:481 doc/contributing.texi:483 +#: doc/contributing.texi:493 doc/contributing.texi:495 #, no-wrap msgid "Sending a Patch Series" msgstr "Envoyer une série de correctifs" #. type: cindex -#: doc/contributing.texi:483 +#: doc/contributing.texi:495 #, no-wrap msgid "patch series" msgstr "série de correctifs" #. type: code{#1} -#: doc/contributing.texi:484 +#: doc/contributing.texi:496 #, no-wrap msgid "git send-email" msgstr "git send-email" #. type: code{#1} -#: doc/contributing.texi:485 +#: doc/contributing.texi:497 #, no-wrap msgid "git-send-email" msgstr "git-send-email" #. type: Plain text -#: doc/contributing.texi:493 +#: doc/contributing.texi:505 msgid "When sending a patch series (e.g., using @code{git send-email}), please first send one message to @email{guix-patches@@gnu.org}, and then send subsequent patches to @email{@var{NNN}@@debbugs.gnu.org} to make sure they are kept together. See @uref{https://debbugs.gnu.org/Advanced.html, the Debbugs documentation} for more information." msgstr "Lorsque vous envoyez une série de correctifs (p.@@:: ex.@: avec @code{git send-email}), envoyez d'abord une premier message à @email{guix-patches@@gnu.org} puis envoyez le reste des correctifs à @email{@var{NNN}@@debbugs.gnu.org} pour vous assurer qu'ils seront groupés ensemble. Voyez @uref{https://debbugs.gnu.org/Advanced.html, la documentation de Debbugs} pour plus d'informations." @@ -813,7 +818,7 @@ msgstr "" "@frenchspacing on" #. type: title -#: doc/guix.texi:7 doc/guix.texi:78 +#: doc/guix.texi:7 doc/guix.texi:83 #, no-wrap msgid "GNU Guix Reference Manual" msgstr "Manuel de référence de GNU Guix" @@ -825,1828 +830,1920 @@ msgid "version.texi" msgstr "version-fr.texi" #. type: copying -#: doc/guix.texi:52 -msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby" -msgstr "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby" +#: doc/guix.texi:57 +msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017, 2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017, 2018 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018 Gábor Boskovits@* Copyright @copyright{} 2018 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@*" +msgstr "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nils Gillmann@* Copyright @copyright{} 2016, 2017, 2018 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2017, 2018 Clément Lassieur@* Copyright @copyright{} 2017, 2018 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018 Marius Bakke@* Copyright @copyright{} 2017 Hartmut Goebel@* Copyright @copyright{} 2017 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018 Gábor Boskovits@* Copyright @copyright{} 2018 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@*" #. type: copying -#: doc/guix.texi:59 +#: doc/guix.texi:64 msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''." msgstr "Vous avez la permission de copier, distribuer ou modifier ce document sous les termes de la Licence GNU Free Documentation, version 1.3 ou toute version ultérieure publiée par la Free Software Foundation ; sans section invariante, texte de couverture et sans texte de quatrième de couverture. Une copie de la licence est incluse dans la section intitulée « GNU Free Documentation License »." #. type: dircategory -#: doc/guix.texi:61 +#: doc/guix.texi:66 #, no-wrap msgid "System administration" msgstr "Administration système" #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "Guix: (guix)" msgstr "Guix: (guix.fr)" #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "Manage installed software and system configuration." msgstr "Gérer les logiciels installés et la configuration du système." #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "guix package: (guix)Invoking guix package" msgstr "guix package : (guix.fr)Invoquer guix package" #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "Installing, removing, and upgrading packages." msgstr "Intaller, supprimer et mettre à jour des paquets." #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "guix gc: (guix)Invoking guix gc" msgstr "guix gc : (guix.fr)Invoquer guix gc" #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "Reclaiming unused disk space." msgstr "Récupérer de l'espace disque inutilisé." #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "guix pull: (guix)Invoking guix pull" msgstr "guix pull : (guix.fr)Invoquer guix pull" #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "Update the list of available packages." msgstr "Mettre à jour la liste des paquets disponibles." #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "guix system: (guix)Invoking guix system" msgstr "guix system : (guix.fr)Invoquer guix system" #. type: menuentry -#: doc/guix.texi:68 +#: doc/guix.texi:73 msgid "Manage the operating system configuration." msgstr "Gérer la configuration du système d'exploitation." #. type: dircategory -#: doc/guix.texi:70 +#: doc/guix.texi:75 #, no-wrap msgid "Software development" msgstr "Développement logiciel" #. type: menuentry -#: doc/guix.texi:75 +#: doc/guix.texi:80 msgid "guix environment: (guix)Invoking guix environment" msgstr "guix environment : (guix.fr)Invoquer guix environment" #. type: menuentry -#: doc/guix.texi:75 +#: doc/guix.texi:80 msgid "Building development environments with Guix." msgstr "Construire des environnements de construction avec Guix." #. type: menuentry -#: doc/guix.texi:75 +#: doc/guix.texi:80 msgid "guix build: (guix)Invoking guix build" msgstr "guix build : (guix.fr)Invoquer guix build" #. type: menuentry -#: doc/guix.texi:75 +#: doc/guix.texi:80 msgid "Building packages." msgstr "Construire des paquets." #. type: menuentry -#: doc/guix.texi:75 +#: doc/guix.texi:80 msgid "guix pack: (guix)Invoking guix pack" msgstr "guix pack : (guix.fr) Invoquer guix pack" #. type: menuentry -#: doc/guix.texi:75 +#: doc/guix.texi:80 msgid "Creating binary bundles." msgstr "Créer des lots binaires." #. type: subtitle -#: doc/guix.texi:79 +#: doc/guix.texi:84 #, no-wrap msgid "Using the GNU Guix Functional Package Manager" msgstr "Utiliser le gestionnaire de paquet fonctionnel GNU Guix" #. type: author -#: doc/guix.texi:80 +#: doc/guix.texi:85 #, no-wrap msgid "The GNU Guix Developers" msgstr "Les développeurs de GNU Guix" #. type: titlepage -#: doc/guix.texi:86 +#: doc/guix.texi:91 msgid "Edition @value{EDITION} @* @value{UPDATED} @*" msgstr "Édition @value{EDITION} @* @value{UPDATED} @*" #. type: node -#: doc/guix.texi:93 +#: doc/guix.texi:98 #, no-wrap msgid "Top" msgstr "Top" #. type: top -#: doc/guix.texi:94 +#: doc/guix.texi:99 #, no-wrap msgid "GNU Guix" msgstr "GNU Guix" #. type: Plain text -#: doc/guix.texi:98 +#: doc/guix.texi:103 msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system." msgstr "Cette documentation décrit GNU Guix version @value{VERSION}, un outil de gestion de paquets fonctionnel écrit pour le système GNU@." +#. type: Plain text +#: doc/guix.texi:113 +msgid "This manual is also available in French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}) and German (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}). If you would like to translate it in your native language, consider joining the @uref{https://translationproject.org/domain/guix-manual.html, Translation Project}." +msgstr "Ce manuel est aussi disponible en anglais (@pxref{Top,,, guix, GNU Guix Reference Manual}) et en allemand (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}). Si vous souhaitez nous aider à traduire ce manuel en français, vous pouvez nous rejoindre sur le @uref{https://translationproject.org/domain/guix-manual.html, projet de traduction} et sur la liste de diffusion @uref{https://listes.traduc.org/mailman/listinfo/traduc/, traduc@@traduc.org}." + #. type: chapter -#: doc/guix.texi:107 doc/guix.texi:296 doc/guix.texi:297 +#: doc/guix.texi:122 doc/guix.texi:316 doc/guix.texi:317 #, no-wrap msgid "Introduction" msgstr "Introduction" #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "What is Guix about?" msgstr "Qu'est-ce que Guix ?" #. type: chapter -#: doc/guix.texi:107 doc/guix.texi:117 doc/guix.texi:369 doc/guix.texi:370 +#: doc/guix.texi:122 doc/guix.texi:132 doc/guix.texi:390 doc/guix.texi:391 #, no-wrap msgid "Installation" msgstr "Installation" #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "Installing Guix." msgstr "Installer Guix." #. type: chapter -#: doc/guix.texi:107 doc/guix.texi:132 doc/guix.texi:1657 doc/guix.texi:1658 +#: doc/guix.texi:122 doc/guix.texi:147 doc/guix.texi:1695 doc/guix.texi:1696 #, no-wrap msgid "Package Management" msgstr "Gestion de paquets" #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "Package installation, upgrade, etc." msgstr "Installation des paquets, mises à jour, etc." #. type: chapter -#: doc/guix.texi:107 doc/guix.texi:152 doc/guix.texi:3225 doc/guix.texi:3226 +#: doc/guix.texi:122 doc/guix.texi:170 doc/guix.texi:3687 doc/guix.texi:3688 #, no-wrap msgid "Programming Interface" msgstr "Interface de programmation" #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "Using Guix in Scheme." msgstr "Utiliser Guix en Scheme." #. type: chapter -#: doc/guix.texi:107 doc/guix.texi:166 doc/guix.texi:5533 doc/guix.texi:5534 +#: doc/guix.texi:122 doc/guix.texi:185 doc/guix.texi:6129 doc/guix.texi:6130 #, no-wrap msgid "Utilities" msgstr "Utilitaires" #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "Package management commands." msgstr "Commandes de gestion de paquets." #. type: chapter -#: doc/guix.texi:107 doc/guix.texi:191 doc/guix.texi:8191 doc/guix.texi:8192 +#: doc/guix.texi:122 doc/guix.texi:211 doc/guix.texi:8915 doc/guix.texi:8916 #, no-wrap msgid "GNU Distribution" msgstr "Distribution GNU" #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "Software for your friendly GNU system." msgstr "Des logiciels pour un système GNU convivial." #. type: menuentry -#: doc/guix.texi:107 +#: doc/guix.texi:122 msgid "Your help needed!" msgstr "Nous avons besoin de votre aide !" #. type: chapter -#: doc/guix.texi:112 doc/guix.texi:22822 doc/guix.texi:22823 +#: doc/guix.texi:127 doc/guix.texi:24347 doc/guix.texi:24348 #, no-wrap msgid "Acknowledgments" msgstr "Remerciements" #. type: menuentry -#: doc/guix.texi:112 +#: doc/guix.texi:127 msgid "Thanks!" msgstr "Merci !" #. type: appendix -#: doc/guix.texi:112 doc/guix.texi:22844 doc/guix.texi:22845 +#: doc/guix.texi:127 doc/guix.texi:24369 doc/guix.texi:24370 #, no-wrap msgid "GNU Free Documentation License" msgstr "La licence GNU Free Documentation" #. type: menuentry -#: doc/guix.texi:112 +#: doc/guix.texi:127 msgid "The license of this manual." msgstr "La licence de ce manuel." #. type: unnumbered -#: doc/guix.texi:112 doc/guix.texi:22850 doc/guix.texi:22851 +#: doc/guix.texi:127 doc/guix.texi:24375 doc/guix.texi:24376 #, no-wrap msgid "Concept Index" msgstr "Index des concepts" #. type: menuentry -#: doc/guix.texi:112 +#: doc/guix.texi:127 msgid "Concepts." msgstr "Les concepts." #. type: unnumbered -#: doc/guix.texi:112 doc/guix.texi:22854 doc/guix.texi:22855 +#: doc/guix.texi:127 doc/guix.texi:24379 doc/guix.texi:24380 #, no-wrap msgid "Programming Index" msgstr "Index de programmation" #. type: menuentry -#: doc/guix.texi:112 +#: doc/guix.texi:127 msgid "Data types, functions, and variables." msgstr "Types de données, fonctions et variables." #. type: menuentry -#: doc/guix.texi:115 +#: doc/guix.texi:130 msgid "--- The Detailed Node Listing ---" msgstr "--- Liste détaillée des nœuds ---" #. type: section -#: doc/guix.texi:124 doc/guix.texi:400 doc/guix.texi:402 doc/guix.texi:403 +#: doc/guix.texi:139 doc/guix.texi:424 doc/guix.texi:426 doc/guix.texi:427 #, no-wrap msgid "Binary Installation" msgstr "Installation binaire" #. type: menuentry -#: doc/guix.texi:124 doc/guix.texi:400 +#: doc/guix.texi:139 doc/guix.texi:424 msgid "Getting Guix running in no time!" msgstr "Commencer à utiliser Guix en un rien de temps !" #. type: section -#: doc/guix.texi:124 doc/guix.texi:400 doc/guix.texi:598 doc/guix.texi:599 +#: doc/guix.texi:139 doc/guix.texi:424 doc/guix.texi:630 doc/guix.texi:631 #, no-wrap msgid "Requirements" msgstr "Prérequis" #. type: menuentry -#: doc/guix.texi:124 doc/guix.texi:400 +#: doc/guix.texi:139 doc/guix.texi:424 msgid "Software needed to build and run Guix." msgstr "Logiciels requis pour construire et lancer Guix." #. type: section -#: doc/guix.texi:124 doc/guix.texi:400 doc/guix.texi:683 doc/guix.texi:684 +#: doc/guix.texi:139 doc/guix.texi:424 doc/guix.texi:717 doc/guix.texi:718 #, no-wrap msgid "Running the Test Suite" msgstr "Lancer la suite de tests" #. type: menuentry -#: doc/guix.texi:124 doc/guix.texi:400 +#: doc/guix.texi:139 doc/guix.texi:424 msgid "Testing Guix." msgstr "Tester Guix." #. type: section -#: doc/guix.texi:124 doc/guix.texi:126 doc/guix.texi:400 doc/guix.texi:748 -#: doc/guix.texi:749 +#: doc/guix.texi:139 doc/guix.texi:141 doc/guix.texi:424 doc/guix.texi:782 +#: doc/guix.texi:783 #, no-wrap msgid "Setting Up the Daemon" msgstr "Paramétrer le démon" #. type: menuentry -#: doc/guix.texi:124 doc/guix.texi:400 +#: doc/guix.texi:139 doc/guix.texi:424 msgid "Preparing the build daemon's environment." msgstr "Préparer l'environnement du démon de construction." #. type: node -#: doc/guix.texi:124 doc/guix.texi:400 doc/guix.texi:1181 +#: doc/guix.texi:139 doc/guix.texi:424 doc/guix.texi:1215 #, no-wrap msgid "Invoking guix-daemon" msgstr "Invoquer guix-daemon" #. type: menuentry -#: doc/guix.texi:124 doc/guix.texi:400 +#: doc/guix.texi:139 doc/guix.texi:424 msgid "Running the build daemon." msgstr "Lancer le démon de construction." #. type: section -#: doc/guix.texi:124 doc/guix.texi:400 doc/guix.texi:1446 doc/guix.texi:1447 +#: doc/guix.texi:139 doc/guix.texi:424 doc/guix.texi:1484 doc/guix.texi:1485 #, no-wrap msgid "Application Setup" msgstr "Réglages applicatifs" #. type: menuentry -#: doc/guix.texi:124 doc/guix.texi:400 +#: doc/guix.texi:139 doc/guix.texi:424 msgid "Application-specific setup." msgstr "Réglages spécifiques pour les application." #. type: subsection -#: doc/guix.texi:130 doc/guix.texi:768 doc/guix.texi:770 doc/guix.texi:771 +#: doc/guix.texi:145 doc/guix.texi:802 doc/guix.texi:804 doc/guix.texi:805 #, no-wrap msgid "Build Environment Setup" msgstr "Réglages de l'environnement de construction" #. type: menuentry -#: doc/guix.texi:130 doc/guix.texi:768 +#: doc/guix.texi:145 doc/guix.texi:802 msgid "Preparing the isolated build environment." msgstr "Préparer l'environnement de construction isolé." #. type: node -#: doc/guix.texi:130 doc/guix.texi:768 doc/guix.texi:887 +#: doc/guix.texi:145 doc/guix.texi:802 doc/guix.texi:921 #, no-wrap msgid "Daemon Offload Setup" msgstr "Réglages du délestage du démon" #. type: menuentry -#: doc/guix.texi:130 doc/guix.texi:768 +#: doc/guix.texi:145 doc/guix.texi:802 msgid "Offloading builds to remote machines." msgstr "Envoyer des constructions à des machines distantes." #. type: subsection -#: doc/guix.texi:130 doc/guix.texi:768 doc/guix.texi:1095 doc/guix.texi:1096 +#: doc/guix.texi:145 doc/guix.texi:802 doc/guix.texi:1129 doc/guix.texi:1130 #, no-wrap msgid "SELinux Support" msgstr "Support de SELinux" #. type: menuentry -#: doc/guix.texi:130 doc/guix.texi:768 +#: doc/guix.texi:145 doc/guix.texi:802 msgid "Using an SELinux policy for the daemon." msgstr "Utiliser une politique SELinux pour le démon." #. type: section -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:1689 doc/guix.texi:1690 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:1730 doc/guix.texi:1731 #, no-wrap msgid "Features" msgstr "Fonctionnalités" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "How Guix will make your life brighter." msgstr "Comment Guix va rendre votre vie plus heureuse." #. type: node -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:1766 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:1816 #, no-wrap msgid "Invoking guix package" msgstr "Invoquer guix package" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Package installation, removal, etc." msgstr "Installation, suppression, etc.@: de paquets." #. type: section -#: doc/guix.texi:141 doc/guix.texi:143 doc/guix.texi:1687 doc/guix.texi:2250 -#: doc/guix.texi:2251 +#: doc/guix.texi:159 doc/guix.texi:161 doc/guix.texi:1728 doc/guix.texi:2300 +#: doc/guix.texi:2301 #, no-wrap msgid "Substitutes" msgstr "Substituts" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Downloading pre-built binaries." msgstr "Télécharger des binaire déjà construits." #. type: section -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:2483 doc/guix.texi:2484 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:2533 doc/guix.texi:2534 #, no-wrap msgid "Packages with Multiple Outputs" msgstr "Des paquets avec plusieurs résultats" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Single source package, multiple outputs." msgstr "Un seul paquet source, plusieurs résultats." #. type: node -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:2537 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:2587 #, no-wrap msgid "Invoking guix gc" msgstr "Invoquer guix gc" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Running the garbage collector." msgstr "Lancer le ramasse-miettes." #. type: node -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:2725 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:2775 #, no-wrap msgid "Invoking guix pull" msgstr "Invoquer guix pull" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Fetching the latest Guix and distribution." msgstr "Récupérer la dernière version de Guix et de la distribution." +#. type: section +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:2916 doc/guix.texi:2917 +#, no-wrap +msgid "Channels" +msgstr "Canaux" + +#. type: menuentry +#: doc/guix.texi:159 doc/guix.texi:1728 +msgid "Customizing the package collection." +msgstr "Personnaliser la collection des paquets." + +#. type: section +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:3086 doc/guix.texi:3087 +#, no-wrap +msgid "Inferiors" +msgstr "Inférieurs" + +#. type: menuentry +#: doc/guix.texi:159 doc/guix.texi:1728 +msgid "Interacting with another revision of Guix." +msgstr "Interagir avec une autre révision de Guix." + #. type: node -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:2836 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:3214 +#, no-wrap +msgid "Invoking guix describe" +msgstr "Invoquer guix describe" + +#. type: menuentry +#: doc/guix.texi:159 doc/guix.texi:1728 +msgid "Display information about your Guix revision." +msgstr "Affiche des informations sur la révision Guix actuelle." + +#. type: node +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:3295 #, no-wrap msgid "Invoking guix pack" msgstr "Invoquer guix pack" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Creating software bundles." msgstr "Créer des lots de logiciels." #. type: node -#: doc/guix.texi:141 doc/guix.texi:1687 doc/guix.texi:3060 +#: doc/guix.texi:159 doc/guix.texi:1728 doc/guix.texi:3522 #, no-wrap msgid "Invoking guix archive" msgstr "Invoquer guix archive" #. type: menuentry -#: doc/guix.texi:141 doc/guix.texi:1687 +#: doc/guix.texi:159 doc/guix.texi:1728 msgid "Exporting and importing store files." msgstr "Exporter et importer des fichiers du dépôt." #. type: subsection -#: doc/guix.texi:150 doc/guix.texi:2273 doc/guix.texi:2275 doc/guix.texi:2276 +#: doc/guix.texi:168 doc/guix.texi:2323 doc/guix.texi:2325 doc/guix.texi:2326 #, no-wrap msgid "Official Substitute Server" msgstr "Serveur de substituts officiel" #. type: menuentry -#: doc/guix.texi:150 doc/guix.texi:2273 +#: doc/guix.texi:168 doc/guix.texi:2323 msgid "One particular source of substitutes." msgstr "Une source particulière de substituts." #. type: subsection -#: doc/guix.texi:150 doc/guix.texi:2273 doc/guix.texi:2305 doc/guix.texi:2306 +#: doc/guix.texi:168 doc/guix.texi:2323 doc/guix.texi:2355 doc/guix.texi:2356 #, no-wrap msgid "Substitute Server Authorization" msgstr "Autoriser un serveur de substituts" #. type: menuentry -#: doc/guix.texi:150 doc/guix.texi:2273 +#: doc/guix.texi:168 doc/guix.texi:2323 msgid "How to enable or disable substitutes." msgstr "Comment activer ou désactiver les substituts." #. type: subsection -#: doc/guix.texi:150 doc/guix.texi:2273 doc/guix.texi:2378 doc/guix.texi:2379 +#: doc/guix.texi:168 doc/guix.texi:2323 doc/guix.texi:2428 doc/guix.texi:2429 #, no-wrap msgid "Substitute Authentication" msgstr "Authentification des substituts" #. type: menuentry -#: doc/guix.texi:150 doc/guix.texi:2273 +#: doc/guix.texi:168 doc/guix.texi:2323 msgid "How Guix verifies substitutes." msgstr "Coment Guix vérifie les substituts." #. type: subsection -#: doc/guix.texi:150 doc/guix.texi:2273 doc/guix.texi:2413 doc/guix.texi:2414 +#: doc/guix.texi:168 doc/guix.texi:2323 doc/guix.texi:2463 doc/guix.texi:2464 #, no-wrap msgid "Proxy Settings" msgstr "Paramètres de serveur mandataire" #. type: menuentry -#: doc/guix.texi:150 doc/guix.texi:2273 +#: doc/guix.texi:168 doc/guix.texi:2323 msgid "How to get substitutes via proxy." msgstr "Comment récupérer des substituts à travers un serveur mandataire." #. type: subsection -#: doc/guix.texi:150 doc/guix.texi:2273 doc/guix.texi:2425 doc/guix.texi:2426 +#: doc/guix.texi:168 doc/guix.texi:2323 doc/guix.texi:2475 doc/guix.texi:2476 #, no-wrap msgid "Substitution Failure" msgstr "Échec de substitution" #. type: menuentry -#: doc/guix.texi:150 doc/guix.texi:2273 +#: doc/guix.texi:168 doc/guix.texi:2323 msgid "What happens when substitution fails." msgstr "Qu'arrive-t-il quand la substitution échoue." #. type: subsection -#: doc/guix.texi:150 doc/guix.texi:2273 doc/guix.texi:2453 doc/guix.texi:2454 +#: doc/guix.texi:168 doc/guix.texi:2323 doc/guix.texi:2503 doc/guix.texi:2504 #, no-wrap msgid "On Trusting Binaries" msgstr "De la confiance en des binaires" #. type: menuentry -#: doc/guix.texi:150 doc/guix.texi:2273 +#: doc/guix.texi:168 doc/guix.texi:2323 msgid "How can you trust that binary blob?" msgstr "Comment pouvez-vous avoir confiance en un paquet binaire ?" #. type: section -#: doc/guix.texi:159 doc/guix.texi:161 doc/guix.texi:3260 doc/guix.texi:3262 -#: doc/guix.texi:3263 +#: doc/guix.texi:178 doc/guix.texi:180 doc/guix.texi:3723 doc/guix.texi:3725 +#: doc/guix.texi:3726 #, no-wrap msgid "Defining Packages" msgstr "Définition des paquets" #. type: menuentry -#: doc/guix.texi:159 doc/guix.texi:3260 +#: doc/guix.texi:178 doc/guix.texi:3723 msgid "Defining new packages." msgstr "Définir de nouveaux paquets." #. type: section -#: doc/guix.texi:159 doc/guix.texi:3260 doc/guix.texi:3726 doc/guix.texi:3727 +#: doc/guix.texi:178 doc/guix.texi:3723 doc/guix.texi:4189 doc/guix.texi:4190 #, no-wrap msgid "Build Systems" msgstr "Systèmes de construction" #. type: menuentry -#: doc/guix.texi:159 doc/guix.texi:3260 +#: doc/guix.texi:178 doc/guix.texi:3723 msgid "Specifying how packages are built." msgstr "Spécifier comment construire les paquets." #. type: section -#: doc/guix.texi:159 doc/guix.texi:3260 doc/guix.texi:4321 doc/guix.texi:4322 +#: doc/guix.texi:178 doc/guix.texi:3723 doc/guix.texi:4856 doc/guix.texi:4857 #, no-wrap msgid "The Store" msgstr "Le dépôt" #. type: menuentry -#: doc/guix.texi:159 doc/guix.texi:3260 +#: doc/guix.texi:178 doc/guix.texi:3723 msgid "Manipulating the package store." msgstr "Manipuler le dépôt de paquets." #. type: section -#: doc/guix.texi:159 doc/guix.texi:3260 doc/guix.texi:4471 doc/guix.texi:4472 +#: doc/guix.texi:178 doc/guix.texi:3723 doc/guix.texi:5006 doc/guix.texi:5007 #, no-wrap msgid "Derivations" msgstr "Dérivations" #. type: menuentry -#: doc/guix.texi:159 doc/guix.texi:3260 +#: doc/guix.texi:178 doc/guix.texi:3723 msgid "Low-level interface to package derivations." msgstr "Interface de bas-niveau avec les dérivations de paquets." #. type: section -#: doc/guix.texi:159 doc/guix.texi:3260 doc/guix.texi:4649 doc/guix.texi:4650 +#: doc/guix.texi:178 doc/guix.texi:3723 doc/guix.texi:5187 doc/guix.texi:5188 #, no-wrap msgid "The Store Monad" msgstr "La monad du dépôt" #. type: menuentry -#: doc/guix.texi:159 doc/guix.texi:3260 +#: doc/guix.texi:178 doc/guix.texi:3723 msgid "Purely functional interface to the store." msgstr "Interface purement fonctionnelle avec le dépôt." #. type: section -#: doc/guix.texi:159 doc/guix.texi:3260 doc/guix.texi:4958 doc/guix.texi:4959 +#: doc/guix.texi:178 doc/guix.texi:3723 doc/guix.texi:5502 doc/guix.texi:5503 #, no-wrap msgid "G-Expressions" msgstr "G-Expressions" #. type: menuentry -#: doc/guix.texi:159 doc/guix.texi:3260 +#: doc/guix.texi:178 doc/guix.texi:3723 msgid "Manipulating build expressions." msgstr "Manipuler les expressions de construction." #. type: node -#: doc/guix.texi:164 doc/guix.texi:3508 doc/guix.texi:3511 +#: doc/guix.texi:178 doc/guix.texi:3723 doc/guix.texi:6076 +#, no-wrap +msgid "Invoking guix repl" +msgstr "Invoquer guix repl" + +#. type: menuentry +#: doc/guix.texi:178 doc/guix.texi:3723 +msgid "Fiddling with Guix interactively." +msgstr "S'amuser avec Guix de manière interactive." + +#. type: node +#: doc/guix.texi:183 doc/guix.texi:3971 doc/guix.texi:3974 #, no-wrap msgid "package Reference" msgstr "Référence de paquet" #. type: menuentry -#: doc/guix.texi:164 doc/guix.texi:3508 +#: doc/guix.texi:183 doc/guix.texi:3971 msgid "The package data type." msgstr "Le type de donnée des paquets." #. type: node -#: doc/guix.texi:164 doc/guix.texi:3508 doc/guix.texi:3638 +#: doc/guix.texi:183 doc/guix.texi:3971 doc/guix.texi:4101 #, no-wrap msgid "origin Reference" msgstr "Référence d'origine" #. type: menuentry -#: doc/guix.texi:164 doc/guix.texi:3508 +#: doc/guix.texi:183 doc/guix.texi:3971 msgid "The origin data type." msgstr "Le type de données d'origine." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:5559 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:6156 #, no-wrap msgid "Invoking guix build" msgstr "Invoquer guix build" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Building packages from the command line." msgstr "Construire des paquets depuis la ligne de commande." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:6146 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:6746 #, no-wrap msgid "Invoking guix edit" msgstr "Invoquer guix edit" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Editing package definitions." msgstr "Modifier les définitions de paquets." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:6172 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:6772 #, no-wrap msgid "Invoking guix download" msgstr "Invoquer guix download" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Downloading a file and printing its hash." msgstr "Télécharger un fichier et afficher son hash." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:6225 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:6825 #, no-wrap msgid "Invoking guix hash" msgstr "Invoquer guix hash" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Computing the cryptographic hash of a file." msgstr "Calculer le hash cryptographique d'un fichier." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:6287 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:6887 #, no-wrap msgid "Invoking guix import" msgstr "Invoquer guix import" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Importing package definitions." msgstr "Importer des définitions de paquets." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:6660 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:7292 #, no-wrap msgid "Invoking guix refresh" msgstr "Invoquer guix refresh" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Updating package definitions." msgstr "Mettre à jour les définitions de paquets." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:6907 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:7569 #, no-wrap msgid "Invoking guix lint" msgstr "Invoquer guix lint" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Finding errors in package definitions." msgstr "Trouver des erreurs dans les définitions de paquets." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:7016 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:7678 #, no-wrap msgid "Invoking guix size" msgstr "Invoquer guix size" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Profiling disk usage." msgstr "Profiler l'utilisation du disque." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:7140 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:7802 #, no-wrap msgid "Invoking guix graph" msgstr "Invoquer guix graph" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Visualizing the graph of packages." msgstr "Visualiser le graphe des paquets." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:7319 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:7988 #, no-wrap msgid "Invoking guix environment" msgstr "Invoquer guix environment" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Setting up development environments." msgstr "Mettre en place des environnements de développement." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:7638 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:8307 #, no-wrap msgid "Invoking guix publish" msgstr "Invoquer guix publish" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Sharing substitutes." msgstr "Partager des substituts." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:7855 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:8524 #, no-wrap msgid "Invoking guix challenge" msgstr "Invoquer guix challenge" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Challenging substitute servers." msgstr "Défier les serveurs de substituts." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:7994 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:8663 #, no-wrap msgid "Invoking guix copy" msgstr "Invoquer guix copy" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Copying to and from a remote store." msgstr "Copier vers et depuis un dépôt distant." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:8057 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:8726 #, no-wrap msgid "Invoking guix container" msgstr "Invoquer guix container" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Process isolation." msgstr "Isolation de processus." #. type: node -#: doc/guix.texi:182 doc/guix.texi:5557 doc/guix.texi:8111 +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:8780 #, no-wrap msgid "Invoking guix weather" msgstr "Invoquer guix weather" #. type: menuentry -#: doc/guix.texi:182 doc/guix.texi:5557 +#: doc/guix.texi:202 doc/guix.texi:6154 msgid "Assessing substitute availability." msgstr "Mesurer la disponibilité des substituts." +#. type: node +#: doc/guix.texi:202 doc/guix.texi:6154 doc/guix.texi:8858 +#, no-wrap +msgid "Invoking guix processes" +msgstr "Invoquer guix processes" + +#. type: menuentry +#: doc/guix.texi:202 doc/guix.texi:6154 +msgid "Listing client processes." +msgstr "Lister les processus clients." + #. type: section -#: doc/guix.texi:184 doc/guix.texi:5560 +#: doc/guix.texi:204 doc/guix.texi:6157 #, no-wrap msgid "Invoking @command{guix build}" msgstr "Invoquer @command{guix build}" #. type: subsection -#: doc/guix.texi:189 doc/guix.texi:5611 doc/guix.texi:5613 doc/guix.texi:5614 +#: doc/guix.texi:209 doc/guix.texi:6208 doc/guix.texi:6210 doc/guix.texi:6211 #, no-wrap msgid "Common Build Options" msgstr "Options de construction communes" #. type: menuentry -#: doc/guix.texi:189 doc/guix.texi:5611 +#: doc/guix.texi:209 doc/guix.texi:6208 msgid "Build options for most commands." msgstr "Options de construction pour la plupart des commandes." #. type: subsection -#: doc/guix.texi:189 doc/guix.texi:5611 doc/guix.texi:5755 doc/guix.texi:5756 +#: doc/guix.texi:209 doc/guix.texi:6208 doc/guix.texi:6356 doc/guix.texi:6357 #, no-wrap msgid "Package Transformation Options" msgstr "Options de transformation de paquets" #. type: menuentry -#: doc/guix.texi:189 doc/guix.texi:5611 +#: doc/guix.texi:209 doc/guix.texi:6208 msgid "Creating variants of packages." msgstr "Créer des variantes de paquets." #. type: subsection -#: doc/guix.texi:189 doc/guix.texi:5611 doc/guix.texi:5855 doc/guix.texi:5856 +#: doc/guix.texi:209 doc/guix.texi:6208 doc/guix.texi:6456 doc/guix.texi:6457 #, no-wrap msgid "Additional Build Options" msgstr "Options de construction supplémentaires" #. type: menuentry -#: doc/guix.texi:189 doc/guix.texi:5611 +#: doc/guix.texi:209 doc/guix.texi:6208 msgid "Options specific to 'guix build'." msgstr "Options spécifiques à « guix build »." #. type: subsection -#: doc/guix.texi:189 doc/guix.texi:5611 doc/guix.texi:6066 doc/guix.texi:6067 +#: doc/guix.texi:209 doc/guix.texi:6208 doc/guix.texi:6666 doc/guix.texi:6667 #, no-wrap msgid "Debugging Build Failures" msgstr "Débogage des échecs de construction" #. type: menuentry -#: doc/guix.texi:189 doc/guix.texi:5611 +#: doc/guix.texi:209 doc/guix.texi:6208 msgid "Real life packaging experience." msgstr "La vie d'un empaqueteur." #. type: section -#: doc/guix.texi:201 doc/guix.texi:203 doc/guix.texi:8263 doc/guix.texi:8268 -#: doc/guix.texi:8269 +#: doc/guix.texi:221 doc/guix.texi:223 doc/guix.texi:8987 doc/guix.texi:8992 +#: doc/guix.texi:8993 #, no-wrap msgid "System Installation" msgstr "Installation du système" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Installing the whole operating system." msgstr "Installer le système d'exploitation complet." #. type: section -#: doc/guix.texi:201 doc/guix.texi:213 doc/guix.texi:8263 doc/guix.texi:8900 -#: doc/guix.texi:8901 +#: doc/guix.texi:221 doc/guix.texi:233 doc/guix.texi:8987 doc/guix.texi:9636 +#: doc/guix.texi:9637 #, no-wrap msgid "System Configuration" msgstr "Configuration système" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Configuring the operating system." msgstr "Configurer le système d'exploitation." #. type: section -#: doc/guix.texi:201 doc/guix.texi:8263 doc/guix.texi:21835 -#: doc/guix.texi:21836 +#: doc/guix.texi:221 doc/guix.texi:8987 doc/guix.texi:23352 +#: doc/guix.texi:23353 #, no-wrap msgid "Documentation" msgstr "Documentation" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Browsing software user manuals." msgstr "Visualiser les manuels d'utilisateur des logiciels." #. type: section -#: doc/guix.texi:201 doc/guix.texi:8263 doc/guix.texi:21899 -#: doc/guix.texi:21900 +#: doc/guix.texi:221 doc/guix.texi:8987 doc/guix.texi:23416 +#: doc/guix.texi:23417 #, no-wrap msgid "Installing Debugging Files" msgstr "Installer les fichiers de débogage" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Feeding the debugger." msgstr "Nourrir le débogueur." #. type: section -#: doc/guix.texi:201 doc/guix.texi:8263 doc/guix.texi:21965 -#: doc/guix.texi:21966 +#: doc/guix.texi:221 doc/guix.texi:8987 doc/guix.texi:23482 +#: doc/guix.texi:23483 #, no-wrap msgid "Security Updates" msgstr "Mises à jour de sécurité" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Deploying security fixes quickly." msgstr "Déployer des correctifs de sécurité rapidement." #. type: section -#: doc/guix.texi:201 doc/guix.texi:8263 doc/guix.texi:22085 -#: doc/guix.texi:22086 +#: doc/guix.texi:221 doc/guix.texi:8987 doc/guix.texi:23602 +#: doc/guix.texi:23603 #, no-wrap msgid "Package Modules" msgstr "Modules de paquets" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Packages from the programmer's viewpoint." msgstr "Les paquets du point de vu du programmeur." #. type: section -#: doc/guix.texi:201 doc/guix.texi:267 doc/guix.texi:8263 doc/guix.texi:22139 -#: doc/guix.texi:22140 +#: doc/guix.texi:221 doc/guix.texi:287 doc/guix.texi:8987 doc/guix.texi:23664 +#: doc/guix.texi:23665 #, no-wrap msgid "Packaging Guidelines" msgstr "Consignes d'empaquetage" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Growing the distribution." msgstr "Faire grandir la distribution." #. type: section -#: doc/guix.texi:201 doc/guix.texi:8263 doc/guix.texi:22590 -#: doc/guix.texi:22591 +#: doc/guix.texi:221 doc/guix.texi:8987 doc/guix.texi:24115 +#: doc/guix.texi:24116 #, no-wrap msgid "Bootstrapping" msgstr "Bootstrapping" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "GNU/Linux built from scratch." msgstr "GNU/Linux depuis zéro." #. type: node -#: doc/guix.texi:201 doc/guix.texi:8263 doc/guix.texi:22774 +#: doc/guix.texi:221 doc/guix.texi:8987 doc/guix.texi:24299 #, no-wrap msgid "Porting" msgstr "Porter" #. type: menuentry -#: doc/guix.texi:201 doc/guix.texi:8263 +#: doc/guix.texi:221 doc/guix.texi:8987 msgid "Targeting another platform or kernel." msgstr "Cibler une autre plateforme ou un autre noyau." #. type: subsection -#: doc/guix.texi:211 doc/guix.texi:1131 doc/guix.texi:8300 doc/guix.texi:8302 -#: doc/guix.texi:8303 +#: doc/guix.texi:231 doc/guix.texi:1165 doc/guix.texi:9024 doc/guix.texi:9026 +#: doc/guix.texi:9027 #, no-wrap msgid "Limitations" msgstr "Limitations" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "What you can expect." msgstr "Ce à quoi vous attendre." #. type: subsection -#: doc/guix.texi:211 doc/guix.texi:8300 doc/guix.texi:8346 doc/guix.texi:8347 +#: doc/guix.texi:231 doc/guix.texi:9024 doc/guix.texi:9070 doc/guix.texi:9071 #, no-wrap msgid "Hardware Considerations" msgstr "Considérations matérielles" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "Supported hardware." msgstr "Matériel supporté." #. type: subsection -#: doc/guix.texi:211 doc/guix.texi:8300 doc/guix.texi:8381 doc/guix.texi:8382 +#: doc/guix.texi:231 doc/guix.texi:9024 doc/guix.texi:9105 doc/guix.texi:9106 #, no-wrap msgid "USB Stick and DVD Installation" msgstr "Installation depuis une clef USB ou un DVD" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "Preparing the installation medium." msgstr "Préparer le média d'installation." #. type: subsection -#: doc/guix.texi:211 doc/guix.texi:8300 doc/guix.texi:8479 doc/guix.texi:8480 +#: doc/guix.texi:231 doc/guix.texi:9024 doc/guix.texi:9204 doc/guix.texi:9205 #, no-wrap msgid "Preparing for Installation" msgstr "Préparer l'installation" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "Networking, partitioning, etc." msgstr "Réseau, partitionnement, etc." #. type: subsection -#: doc/guix.texi:211 doc/guix.texi:8300 doc/guix.texi:8718 doc/guix.texi:8719 +#: doc/guix.texi:231 doc/guix.texi:9024 doc/guix.texi:9454 doc/guix.texi:9455 #, no-wrap msgid "Proceeding with the Installation" msgstr "Effectuer l'installation" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "The real thing." msgstr "Pour de vrai." #. type: node -#: doc/guix.texi:211 doc/guix.texi:8300 doc/guix.texi:8815 +#: doc/guix.texi:231 doc/guix.texi:9024 doc/guix.texi:9551 #, no-wrap msgid "Installing GuixSD in a VM" msgstr "Installer GuixSD dans une VM" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "GuixSD playground." msgstr "Jouer avec GuixSD@." #. type: subsection -#: doc/guix.texi:211 doc/guix.texi:8300 doc/guix.texi:8869 doc/guix.texi:8870 +#: doc/guix.texi:231 doc/guix.texi:9024 doc/guix.texi:9605 doc/guix.texi:9606 #, no-wrap msgid "Building the Installation Image" msgstr "Construire l'image d'installation" #. type: menuentry -#: doc/guix.texi:211 doc/guix.texi:8300 +#: doc/guix.texi:231 doc/guix.texi:9024 msgid "How this comes to be." msgstr "D'où vient tout cela." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:8943 doc/guix.texi:8944 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:9679 doc/guix.texi:9680 #, no-wrap msgid "Using the Configuration System" msgstr "Utiliser le système de configuration" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Customizing your GNU system." msgstr "Personnaliser votre système GNU@." #. type: node -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:9159 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:9915 #, no-wrap msgid "operating-system Reference" msgstr "Référence de système d'exploitation" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Detail of operating-system declarations." msgstr "Détail sur la déclaration de système d'exploitation." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:9313 doc/guix.texi:9314 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:10069 +#: doc/guix.texi:10070 #, no-wrap msgid "File Systems" msgstr "Systèmes de fichiers" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Configuring file system mounts." msgstr "Configurer les montages de systèmes de fichiers." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:9478 doc/guix.texi:9479 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:10234 +#: doc/guix.texi:10235 #, no-wrap msgid "Mapped Devices" msgstr "Périphériques mappés" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Block device extra processing." msgstr "Gestion des périphériques de bloc." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:9599 doc/guix.texi:9600 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:10355 +#: doc/guix.texi:10356 #, no-wrap msgid "User Accounts" msgstr "Comptes utilisateurs" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Specifying user accounts." msgstr "Spécifier des comptes utilisateurs." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:1454 doc/guix.texi:8941 doc/guix.texi:9734 -#: doc/guix.texi:9735 +#: doc/guix.texi:249 doc/guix.texi:1492 doc/guix.texi:9677 doc/guix.texi:10490 +#: doc/guix.texi:10491 #, no-wrap msgid "Locales" msgstr "Régionalisation" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Language and cultural convention settings." msgstr "Paramétrer la langue et les conventions culturelles." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:231 doc/guix.texi:8941 doc/guix.texi:9874 -#: doc/guix.texi:9875 +#: doc/guix.texi:249 doc/guix.texi:251 doc/guix.texi:9677 doc/guix.texi:10630 +#: doc/guix.texi:10631 #, no-wrap msgid "Services" msgstr "Services" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Specifying system services." msgstr "Spécifier les services du système." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:20204 -#: doc/guix.texi:20205 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:21649 +#: doc/guix.texi:21650 #, no-wrap msgid "Setuid Programs" msgstr "Programmes setuid" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Programs running with root privileges." msgstr "Programmes tournant avec les privilèges root." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:1599 doc/guix.texi:8941 doc/guix.texi:20250 -#: doc/guix.texi:20251 +#: doc/guix.texi:249 doc/guix.texi:1637 doc/guix.texi:9677 doc/guix.texi:21695 +#: doc/guix.texi:21696 #, no-wrap msgid "X.509 Certificates" msgstr "Certificats X.509" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Authenticating HTTPS servers." msgstr "Authentifier les serveurs HTTPS@." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:1497 doc/guix.texi:8941 doc/guix.texi:20313 -#: doc/guix.texi:20314 +#: doc/guix.texi:249 doc/guix.texi:1535 doc/guix.texi:9677 doc/guix.texi:21758 +#: doc/guix.texi:21759 #, no-wrap msgid "Name Service Switch" msgstr "Name Service Switch" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Configuring libc's name service switch." msgstr "Configurer le « name service switch » de la libc." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:20451 -#: doc/guix.texi:20452 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:21896 +#: doc/guix.texi:21897 #, no-wrap msgid "Initial RAM Disk" msgstr "Disque de RAM initial" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Linux-Libre bootstrapping." msgstr "Démarrage de Linux-Libre." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:20611 -#: doc/guix.texi:20612 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:22056 +#: doc/guix.texi:22057 #, no-wrap msgid "Bootloader Configuration" msgstr "Configuration du chargeur d'amorçage" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Configuring the boot loader." msgstr "Configurer le chargeur d'amorçage." #. type: node -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:20782 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:22240 #, no-wrap msgid "Invoking guix system" msgstr "Invoquer guix system" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Instantiating a system configuration." msgstr "Instantier une configuration du système." #. type: node -#: doc/guix.texi:229 doc/guix.texi:8941 doc/guix.texi:21207 +#: doc/guix.texi:249 doc/guix.texi:9677 doc/guix.texi:22665 #, no-wrap msgid "Running GuixSD in a VM" msgstr "Lancer GuixSD dans une VM" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "How to run GuixSD in a virtual machine." msgstr "Comment lancer GuixSD dans une machine virtuelle." #. type: subsection -#: doc/guix.texi:229 doc/guix.texi:260 doc/guix.texi:8941 doc/guix.texi:21318 -#: doc/guix.texi:21319 +#: doc/guix.texi:249 doc/guix.texi:280 doc/guix.texi:9677 doc/guix.texi:22776 +#: doc/guix.texi:22777 #, no-wrap msgid "Defining Services" msgstr "Définir des services" #. type: menuentry -#: doc/guix.texi:229 doc/guix.texi:8941 +#: doc/guix.texi:249 doc/guix.texi:9677 msgid "Adding new service definitions." msgstr "Ajouter de nouvelles définitions de services." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:9949 doc/guix.texi:9950 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:10708 +#: doc/guix.texi:10709 #, no-wrap msgid "Base Services" msgstr "Services de base" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Essential system services." msgstr "Services systèmes essentiels." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:10733 -#: doc/guix.texi:10734 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:11518 +#: doc/guix.texi:11519 #, no-wrap msgid "Scheduled Job Execution" msgstr "Exécution de tâches planifiées" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "The mcron service." msgstr "Le service mcron." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:10828 -#: doc/guix.texi:10829 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:11628 +#: doc/guix.texi:11629 #, no-wrap msgid "Log Rotation" msgstr "Rotation des journaux" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "The rottlog service." msgstr "Le service rottlog." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:10930 -#: doc/guix.texi:10931 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:11730 +#: doc/guix.texi:11731 #, no-wrap msgid "Networking Services" msgstr "Services réseau" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Network setup, SSH daemon, etc." msgstr "Paramétres réseau, démon SSH, etc." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:11698 -#: doc/guix.texi:11699 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:12645 +#: doc/guix.texi:12646 #, no-wrap msgid "X Window" msgstr "Système de fenêtrage X" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Graphical display." msgstr "Affichage graphique." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:11982 -#: doc/guix.texi:11983 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:12929 +#: doc/guix.texi:12930 #, no-wrap msgid "Printing Services" msgstr "Services d'impression" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Local and remote printer support." msgstr "Support pour les imprimantes locales et distantes." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:12819 -#: doc/guix.texi:12820 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:13770 +#: doc/guix.texi:13771 #, no-wrap msgid "Desktop Services" msgstr "Services de bureaux" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "D-Bus and desktop services." msgstr "D-Bus et les services de bureaux." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:13127 -#: doc/guix.texi:13128 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:14078 +#: doc/guix.texi:14079 #, no-wrap msgid "Sound Services" msgstr "Services de son" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "ALSA and Pulseaudio services." msgstr "Services ALSA et Pulseaudio." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:13169 -#: doc/guix.texi:13170 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:14159 +#: doc/guix.texi:14160 #, no-wrap msgid "Database Services" msgstr "Services de bases de données" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "SQL databases, key-value stores, etc." msgstr "Bases SQL, clefs-valeurs, etc." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:13293 -#: doc/guix.texi:13294 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:14283 +#: doc/guix.texi:14284 #, no-wrap msgid "Mail Services" msgstr "Services de courriels" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "IMAP, POP3, SMTP, and all that." msgstr "IMAP, POP3, SMTP, et tout ça." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:14745 -#: doc/guix.texi:14746 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:15754 +#: doc/guix.texi:15755 #, no-wrap msgid "Messaging Services" msgstr "Services de messagerie" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Messaging services." msgstr "Services de messagerie." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:15216 -#: doc/guix.texi:15217 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:16225 +#: doc/guix.texi:16226 #, no-wrap msgid "Telephony Services" msgstr "Services de téléphonie" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Telephony services." msgstr "Services de téléphonie." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:15421 -#: doc/guix.texi:15422 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:16430 +#: doc/guix.texi:16431 #, no-wrap msgid "Monitoring Services" msgstr "Services de surveillance" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Monitoring services." msgstr "Services de surveillance." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:15574 -#: doc/guix.texi:15575 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:16616 +#: doc/guix.texi:16617 #, no-wrap msgid "Kerberos Services" msgstr "Services Kerberos" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Kerberos services." msgstr "Services Kerberos." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:15700 -#: doc/guix.texi:15701 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:16742 +#: doc/guix.texi:16743 #, no-wrap msgid "Web Services" msgstr "Services web" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Web servers." msgstr "Services web." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:16371 -#: doc/guix.texi:16372 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:17541 +#: doc/guix.texi:17542 #, no-wrap msgid "Certificate Services" msgstr "Services de certificats" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "TLS certificates via Let's Encrypt." msgstr "Certificats TLS via Let's Encrypt." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:16517 -#: doc/guix.texi:16518 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:17687 +#: doc/guix.texi:17688 #, no-wrap msgid "DNS Services" msgstr "Services DNS" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "DNS daemons." msgstr "Démons DNS@." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:16978 -#: doc/guix.texi:16979 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:18256 +#: doc/guix.texi:18257 #, no-wrap msgid "VPN Services" msgstr "Services VPN" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "VPN daemons." msgstr "Démons VPN" #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:17336 -#: doc/guix.texi:17337 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:18614 +#: doc/guix.texi:18615 #, no-wrap msgid "Network File System" msgstr "Système de fichiers en réseau" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "NFS related services." msgstr "Services liés à NFS@." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:17451 -#: doc/guix.texi:17452 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:18729 +#: doc/guix.texi:18730 #, no-wrap msgid "Continuous Integration" msgstr "Intégration continue" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "The Cuirass service." msgstr "Le service Cuirass." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:17547 -#: doc/guix.texi:17548 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:18846 +#: doc/guix.texi:18847 #, no-wrap -msgid "Power management Services" +msgid "Power Management Services" msgstr "Services de gestion de l'énergie" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 -msgid "The TLP tool." -msgstr "L'outil TLP@." +#: doc/guix.texi:278 doc/guix.texi:10706 +msgid "Extending battery life." +msgstr "Augmenter la durée de vie de la batterie." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:18075 -#: doc/guix.texi:18076 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:19380 +#: doc/guix.texi:19381 #, no-wrap msgid "Audio Services" msgstr "Services audio" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "The MPD." msgstr "MPD@." #. type: node -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:18125 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:19430 #, no-wrap msgid "Virtualization Services" msgstr "Services de virtualisation" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Virtualization services." msgstr "Services de virtualisation." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:18918 -#: doc/guix.texi:18919 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:20223 +#: doc/guix.texi:20224 #, no-wrap msgid "Version Control Services" msgstr "Services de contrôle de version" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Providing remote access to Git repositories." msgstr "Fournit des accès distants à des dépôts Git." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:20012 -#: doc/guix.texi:20013 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:21411 +#: doc/guix.texi:21412 #, no-wrap msgid "Game Services" msgstr "Services de jeu" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Game servers." msgstr "Serveurs de jeu." #. type: subsubsection -#: doc/guix.texi:258 doc/guix.texi:9947 doc/guix.texi:20043 -#: doc/guix.texi:20044 +#: doc/guix.texi:278 doc/guix.texi:10706 doc/guix.texi:21442 +#: doc/guix.texi:21443 #, no-wrap msgid "Miscellaneous Services" msgstr "Services divers" #. type: menuentry -#: doc/guix.texi:258 doc/guix.texi:9947 +#: doc/guix.texi:278 doc/guix.texi:10706 msgid "Other services." msgstr "D'autres services." #. type: subsubsection -#: doc/guix.texi:265 doc/guix.texi:21330 doc/guix.texi:21332 -#: doc/guix.texi:21333 +#: doc/guix.texi:285 doc/guix.texi:22788 doc/guix.texi:22790 +#: doc/guix.texi:22791 #, no-wrap msgid "Service Composition" msgstr "Composition de services" #. type: menuentry -#: doc/guix.texi:265 doc/guix.texi:21330 +#: doc/guix.texi:285 doc/guix.texi:22788 msgid "The model for composing services." msgstr "Le modèle de composition des services." #. type: subsubsection -#: doc/guix.texi:265 doc/guix.texi:21330 doc/guix.texi:21388 -#: doc/guix.texi:21389 +#: doc/guix.texi:285 doc/guix.texi:22788 doc/guix.texi:22846 +#: doc/guix.texi:22847 #, no-wrap msgid "Service Types and Services" msgstr "Types service et services" #. type: menuentry -#: doc/guix.texi:265 doc/guix.texi:21330 +#: doc/guix.texi:285 doc/guix.texi:22788 msgid "Types and services." msgstr "Types et services." #. type: subsubsection -#: doc/guix.texi:265 doc/guix.texi:21330 doc/guix.texi:21525 -#: doc/guix.texi:21526 +#: doc/guix.texi:285 doc/guix.texi:22788 doc/guix.texi:22983 +#: doc/guix.texi:22984 #, no-wrap msgid "Service Reference" msgstr "Référence de service" #. type: menuentry -#: doc/guix.texi:265 doc/guix.texi:21330 +#: doc/guix.texi:285 doc/guix.texi:22788 msgid "API reference." msgstr "Référence de l'API@." #. type: subsubsection -#: doc/guix.texi:265 doc/guix.texi:21330 doc/guix.texi:21750 -#: doc/guix.texi:21751 +#: doc/guix.texi:285 doc/guix.texi:22788 doc/guix.texi:23208 +#: doc/guix.texi:23209 #, no-wrap msgid "Shepherd Services" msgstr "Services Shepherd" #. type: menuentry -#: doc/guix.texi:265 doc/guix.texi:21330 +#: doc/guix.texi:285 doc/guix.texi:22788 msgid "A particular type of service." msgstr "Un type de service particulier." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22216 -#: doc/guix.texi:22217 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:23741 +#: doc/guix.texi:23742 #, no-wrap msgid "Software Freedom" msgstr "Liberté logiciel" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "What may go into the distribution." msgstr "Ce que la distribution peut contenir." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22244 -#: doc/guix.texi:22245 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:23769 +#: doc/guix.texi:23770 #, no-wrap msgid "Package Naming" msgstr "Conventions de nommage" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "What's in a name?" msgstr "Qu'est-ce qu'un bon nom ?" #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22269 -#: doc/guix.texi:22270 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:23794 +#: doc/guix.texi:23795 #, no-wrap msgid "Version Numbers" msgstr "Numéros de version" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "When the name is not enough." msgstr "Lorsque le nom n'est pas suffisant." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22360 -#: doc/guix.texi:22361 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:23885 +#: doc/guix.texi:23886 #, no-wrap msgid "Synopses and Descriptions" msgstr "Synopsis et descriptions" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "Helping users find the right package." msgstr "Aider les utilisateurs à trouver le bon paquet." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22440 -#: doc/guix.texi:22441 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:23965 +#: doc/guix.texi:23966 #, no-wrap msgid "Python Modules" msgstr "Modules python" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "A touch of British comedy." msgstr "Un peu de comédie anglaise." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22515 -#: doc/guix.texi:22516 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:24040 +#: doc/guix.texi:24041 #, no-wrap msgid "Perl Modules" msgstr "Modules perl" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "Little pearls." msgstr "Petites perles." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22531 -#: doc/guix.texi:22532 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:24056 +#: doc/guix.texi:24057 #, no-wrap msgid "Java Packages" msgstr "Paquets java" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "Coffee break." msgstr "Pause café." #. type: subsection -#: doc/guix.texi:276 doc/guix.texi:22214 doc/guix.texi:22551 -#: doc/guix.texi:22552 +#: doc/guix.texi:296 doc/guix.texi:23739 doc/guix.texi:24076 +#: doc/guix.texi:24077 #, no-wrap msgid "Fonts" msgstr "Polices de caractères" #. type: menuentry -#: doc/guix.texi:276 doc/guix.texi:22214 +#: doc/guix.texi:296 doc/guix.texi:23739 msgid "Fond of fonts." msgstr "À fond les fontes." #. type: cindex -#: doc/guix.texi:299 +#: doc/guix.texi:319 #, no-wrap msgid "purpose" msgstr "but" #. type: Plain text -#: doc/guix.texi:306 +#: doc/guix.texi:326 msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments." msgstr "GNU Guix@footnote{« Guix » se prononce comme « geeks » (en prononçant le « s »), ou « ɡiːks » dans l'alphabet phonétique international (API).} est un outil de gestion de paquets pour le système GNU@. Guix facilite pour les utilisateurs non privilégiés l'installation, la mise à jour et la suppression de paquets, la restauration à un ensemble de paquets précédent, la construction de paquets depuis les sources et plus généralement aide à la création et à la maintenance d'environnements logiciels." #. type: cindex -#: doc/guix.texi:307 +#: doc/guix.texi:327 #, no-wrap msgid "user interfaces" msgstr "interfaces utilisateurs" #. type: Plain text -#: doc/guix.texi:312 +#: doc/guix.texi:332 msgid "Guix provides a command-line package management interface (@pxref{Invoking guix package}), a set of command-line utilities (@pxref{Utilities}), as well as Scheme programming interfaces (@pxref{Programming Interface})." msgstr "Guix fournit une interface de gestion des paquets par la ligne de commande (@pxref{Invoquer guix package}), un ensemble d'utilitaires en ligne de commande (@pxref{Utilitaires}) ainsi que des interfaces de programmation Scheme (@pxref{Interface de programmation})." #. type: cindex -#: doc/guix.texi:312 +#: doc/guix.texi:332 #, no-wrap msgid "build daemon" msgstr "démon de construction" #. type: Plain text -#: doc/guix.texi:316 +#: doc/guix.texi:336 msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})." msgstr "Son @dfn{démon de construction} est responsable de la construction des paquets pour les utilisateurs (@pxref{Paramétrer le démon}) et du téléchargement des binaires pré-construits depuis les sources autorisées (@pxref{Substituts})." #. type: cindex -#: doc/guix.texi:317 +#: doc/guix.texi:337 #, no-wrap msgid "extensibility of the distribution" msgstr "extensibilité de la distribution" #. type: cindex -#: doc/guix.texi:318 doc/guix.texi:22107 +#: doc/guix.texi:338 doc/guix.texi:23624 #, no-wrap msgid "customization, of packages" msgstr "personnalisation, des paquets" #. type: Plain text -#: doc/guix.texi:327 +#: doc/guix.texi:347 msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})." msgstr "Guix contient de nombreuses définitions de paquet GNU et non-GNU qui respectent tous les @uref{https://www.gnu.org/philosophy/free-sw.fr.html, libertés de l'utilisateur}. Il est @emph{extensible} : les utilisateurs peuvent écrire leurs propres définitions de paquets (@pxref{Defining Packages}) et les rendre disponibles dans des modules de paquets indépendants (@pxref{Package Modules}). Il est aussi @emph{personnalisable} : les utilisateurs peuvent @emph{dériver} des définitions de paquets spécialisées à partir de définitions existantes, même depuis la ligne de commande (@pxref{Package Transformation Options})." #. type: cindex -#: doc/guix.texi:328 doc/guix.texi:8194 doc/guix.texi:8272 +#: doc/guix.texi:348 doc/guix.texi:8918 doc/guix.texi:8996 #, no-wrap msgid "Guix System Distribution" msgstr "Distribution Système Guix" #. type: cindex -#: doc/guix.texi:329 doc/guix.texi:8195 +#: doc/guix.texi:349 doc/guix.texi:8919 #, no-wrap msgid "GuixSD" msgstr "GuixSD" #. type: Plain text -#: doc/guix.texi:338 +#: doc/guix.texi:358 msgid "You can install GNU@tie{}Guix on top of an existing GNU/Linux system where it complements the available tools without interference (@pxref{Installation}), or you can use it as part of the standalone @dfn{Guix System Distribution} or GuixSD (@pxref{GNU Distribution}). With GNU@tie{}GuixSD, you @emph{declare} all aspects of the operating system configuration and Guix takes care of instantiating the configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration})." msgstr "Vous pouvez installer GNU@tie{}Guix sur un système GNU/Linux existant pour compléter les outils disponibles sans interférence (@pxref{Installation}) ou vous pouvez l'utiliser à travers la @dfn{Distribution Système Guix} ou GuixSD (@pxref{Distribution GNU}) distincte. Avec GNU@tie{}GuixSD, vous @emph{déclarez} tous les aspects de la configuration du système d'exploitation et Guix s'occupe de créer la configuration d'une manière transactionnelle, reproductible et sans état (@pxref{Configuration système})." #. type: cindex -#: doc/guix.texi:339 +#: doc/guix.texi:359 #, no-wrap msgid "functional package management" msgstr "gestion de paquet fonctionnelle" +#. type: cindex +#: doc/guix.texi:360 +#, no-wrap +msgid "isolation" +msgstr "isolation" + #. type: Plain text -#: doc/guix.texi:354 +#: doc/guix.texi:375 msgid "Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen as a @emph{function}, in the mathematical sense. That function takes inputs, such as build scripts, a compiler, and libraries, and returns an installed package. As a pure function, its result depends solely on its inputs---for instance, it cannot refer to software or scripts that were not explicitly passed as inputs. A build function always produces the same result when passed a given set of inputs. It cannot alter the environment of the running system in any way; for instance, it cannot create, modify, or delete files outside of its build and installation directories. This is achieved by running build processes in isolated environments (or @dfn{containers}), where only their explicit inputs are visible." msgstr "Sous le capot, Guix implémente la discipline de @dfn{gestion de paquet fonctionnel} inventé par Nix (@pxref{Remerciements}). Dans Guix le processus de construction et d'installation des paquets est vu comme une @emph{fonction} dans le sens mathématique du terme. Cette fonction a des entrées (comme des scripts de construction, un compilateur et des bibliothèques) et renvoie un paquet installé. En tant que fonction pure, son résultat ne dépend que de ses entrées. Par exemple, il ne peut pas faire référence à des logiciels ou des scripts qui n'ont pas été explicitement passés en entrée. Une fonction de construction produit toujours le même résultat quand on lui donne le même ensemble d'entrée. Elle ne peut pas modifier l'environnement du système en cours d'exécution d'aucune manière ; par exemple elle ne peut pas créer, modifier ou supprimer des fichiers en dehors de ses répertoires de construction et d'installation. Ce résultat s'obtient en lançant les processus de construction dans des environnements isolés (ou des @dfn{conteneurs}) où seules les entrées explicites sont visibles." #. type: cindex -#: doc/guix.texi:355 doc/guix.texi:4324 +#: doc/guix.texi:376 doc/guix.texi:4859 #, no-wrap msgid "store" msgstr "dépôt" #. type: Plain text -#: doc/guix.texi:362 +#: doc/guix.texi:383 msgid "The result of package build functions is @dfn{cached} in the file system, in a special directory called @dfn{the store} (@pxref{The Store}). Each package is installed in a directory of its own in the store---by default under @file{/gnu/store}. The directory name contains a hash of all the inputs used to build that package; thus, changing an input yields a different directory name." msgstr "Le résultat des fonctions de construction de paquets est mis en @dfn{cache} dans le système de fichier, dans répertoire spécial appelé le @dfn{dépôt} (@pxref{The Store}). Chaque paquet est installé dans son répertoire propre dans le dépôt — par défaut dans @file{/gnu/store}. Le nom du répertoire contient un hash de toutes les entrées utilisées pour construire le paquet ; ainsi, changer une entrée donnera un nom de répertoire différent." #. type: Plain text -#: doc/guix.texi:366 +#: doc/guix.texi:387 msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})." msgstr "Cette approche est le fondement des fonctionnalités les plus importante de Guix : le support des mises à jour des paquets et des retours en arrière transactionnels, l'installation différenciée par utilisateur et le ramassage de miettes pour les paquets (@pxref{Fonctionnalités})." #. type: cindex -#: doc/guix.texi:372 +#: doc/guix.texi:393 #, no-wrap msgid "installing Guix" msgstr "installer Guix" +#. type: cindex +#: doc/guix.texi:394 +#, no-wrap +msgid "official website" +msgstr "site officiel" + #. type: Plain text -#: doc/guix.texi:377 +#: doc/guix.texi:399 msgid "GNU Guix is available for download from its website at @url{http://www.gnu.org/software/guix/}. This section describes the software requirements of Guix, as well as how to install it and get ready to use it." msgstr "GNU Guix est disponible au téléchargement depuis son site web sur @url{http://www.gnu.org/software/guix/}. Cette section décrit les pré-requis logiciels de Guix ainsi que la manière de l'installer et de se préparer à l'utiliser." #. type: Plain text -#: doc/guix.texi:382 +#: doc/guix.texi:404 msgid "Note that this section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}." msgstr "Remarquez que cette section concerne l'installation du gestionnaire de paquet, ce qui se fait sur un système GNU/Linux en cours d'exécution. Si vous souhaitez plutôt installer le système d'exploitation GNU complet, @pxref{System Installation}." #. type: cindex -#: doc/guix.texi:383 doc/guix.texi:1449 +#: doc/guix.texi:405 doc/guix.texi:1487 #, no-wrap msgid "foreign distro" msgstr "distro extérieure" -#. type: Plain text -#: doc/guix.texi:389 -msgid "When installed on a running GNU/Linux system---thereafter called a @dfn{foreign distro}---GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched." -msgstr "Lorsqu'il est installé sur an système GNU/Linux existant — ci-après nommé @dfn{distro extérieure} — GNU@tie{}Guix complète les outils disponibles sans interférence. Ses données se trouvent exclusivement dans deux répertoires, typiquement @file{/gnu/store} et @file{/var/guix} ; les autres fichiers de votre système comme @file{/etc} sont laissés intacts." +#. type: cindex +#: doc/guix.texi:406 +#, no-wrap +msgid "directories related to foreign distro" +msgstr "répertoires liés aux distro extérieures" #. type: Plain text -#: doc/guix.texi:392 +#: doc/guix.texi:413 +msgid "When installed on a running GNU/Linux system---thereafter called a @dfn{foreign distro}---GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched." +msgstr "Lorsqu'il est installé sur un système GNU/Linux existant — ci-après nommé @dfn{distro extérieure} — GNU@tie{}Guix complète les outils disponibles sans interférence. Ses données se trouvent exclusivement dans deux répertoires, typiquement @file{/gnu/store} et @file{/var/guix} ; les autres fichiers de votre système comme @file{/etc} sont laissés intacts." + +#. type: Plain text +#: doc/guix.texi:416 msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})." msgstr "Une fois installé, Guix peut être mis à jour en lançant @command{guix pull} (@pxref{Invoking guix pull})." #. type: cindex -#: doc/guix.texi:405 +#: doc/guix.texi:429 #, no-wrap msgid "installing Guix from binaries" msgstr "installer Guix depuis les binaires" +#. type: cindex +#: doc/guix.texi:430 +#, no-wrap +msgid "installer script" +msgstr "script d'installation" + #. type: Plain text -#: doc/guix.texi:411 +#: doc/guix.texi:436 msgid "This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz." msgstr "Cette section décrit comment intaller Guix sur un système quelconque depuis un archive autonome qui fournit les binaires pour Guix et toutes ses dépendances. C'est souvent plus rapide que d'installer depuis les sources, ce qui est décrit dans les sections suivantes. Le seul pré-requis est d'avoir GNU@tie{}tar et Xz." #. type: Plain text -#: doc/guix.texi:416 +#: doc/guix.texi:441 msgid "We provide a @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}, which automates the download, installation, and initial configuration of Guix. It should be run as the root user." msgstr "Nous fournissons un script @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, script d'intallation shell} qui automatise le téléchargement, l'installation et la configuration initiale de Guix. Il devrait être lancé en tant qu'utilisateur root." #. type: Plain text -#: doc/guix.texi:418 +#: doc/guix.texi:443 msgid "Installing goes along these lines:" msgstr "L'installation se comme ceci :" #. type: cindex -#: doc/guix.texi:421 +#: doc/guix.texi:446 #, no-wrap msgid "downloading Guix binary" msgstr "téléchargement du Guix binaire" #. type: enumerate -#: doc/guix.texi:426 -msgid "Download the binary tarball from @indicateurl{ftp://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz}, where @var{system} is @code{x86_64-linux} for an @code{x86_64} machine already running the kernel Linux, and so on." -msgstr "Téléchargez l'archive binaire depuis @indicateurl{ftp://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{système}.tar.xz}, où @var{système} est @code{x86_64-linux} pour une machine @code{x86_64} sur laquelle tourne déjà le noyau Linux, etc." +#: doc/guix.texi:451 +msgid "Download the binary tarball from @indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz}, where @var{system} is @code{x86_64-linux} for an @code{x86_64} machine already running the kernel Linux, and so on." +msgstr "Téléchargez l'archive binaire depuis @indicateurl{https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{système}.tar.xz}, où @var{système} est @code{x86_64-linux} pour une machine @code{x86_64} sur laquelle tourne déjà le noyau Linux, etc." #. type: enumerate -#: doc/guix.texi:430 +#: doc/guix.texi:455 msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:" msgstr "Assurez-vous de télécharger le fichier @file{.sig} associé et de vérifier l'authenticité de l'archive avec, comme ceci :" #. type: example -#: doc/guix.texi:434 +#: doc/guix.texi:459 #, no-wrap msgid "" -"$ wget ftp://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" +"$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" "$ gpg --verify guix-binary-@value{VERSION}.@var{system}.tar.xz.sig\n" msgstr "" -"$ wget ftp://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{système}.tar.xz.sig\n" +"$ wget https://alpha.gnu.org/gnu/guix/guix-binary-@value{VERSION}.@var{système}.tar.xz.sig\n" "$ gpg --verify guix-binary-@value{VERSION}.@var{système}.tar.xz.sig\n" #. type: Plain text -#: doc/guix.texi:438 doc/guix.texi:8408 +#: doc/guix.texi:463 doc/guix.texi:9132 msgid "If that command fails because you do not have the required public key, then run this command to import it:" msgstr "Si cette commande échoue parce que vous n'avez pas la clef publique requise, lancez cette commande pour l'importer :" #. type: example -#: doc/guix.texi:441 doc/guix.texi:8411 +#: doc/guix.texi:467 doc/guix.texi:9136 #, no-wrap -msgid "$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" -msgstr "$ gpg --keyserver pgp.mit.edu --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" +msgid "" +"$ gpg --keyserver @value{KEY-SERVER} \\\n" +" --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" +msgstr "" +"$ gpg --keyserver @value{KEY-SERVER} \\\n" +" --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" #. type: Plain text -#: doc/guix.texi:446 doc/guix.texi:8416 +#: doc/guix.texi:472 doc/guix.texi:9141 msgid "and rerun the @code{gpg --verify} command." msgstr "et relancez la commande @code{gpg --verify}." #. type: enumerate -#: doc/guix.texi:450 +#: doc/guix.texi:476 msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:" msgstr "Maintenant, vous devez devenir l'utilisateur @code{root}. En fonction de votre distribution, vous devrez lancer @code{su -} ou @code{sudo -i}. En tant que @code{root}, lancez :" #. type: example -#: doc/guix.texi:456 +#: doc/guix.texi:482 #, no-wrap msgid "" "# cd /tmp\n" @@ -2660,465 +2757,492 @@ msgstr "" "# mv var/guix /var/ && mv gnu /\n" #. type: enumerate -#: doc/guix.texi:461 +#: doc/guix.texi:487 msgid "This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. The latter contains a ready-to-use profile for @code{root} (see next step.)" msgstr "Cela crée @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. Ce deuxième dossier contient un profil pret à être utilisé pour @code{root} (voir les étapes suivantes)." #. type: enumerate -#: doc/guix.texi:464 +#: doc/guix.texi:490 msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files." msgstr "Ne décompressez @emph{pas} l'archive sur un système Guix lancé car cela écraserait ses propres fichiers essentiels." #. type: enumerate -#: doc/guix.texi:474 +#: doc/guix.texi:500 msgid "The @code{--warning=no-timestamp} option makes sure GNU@tie{}tar does not emit warnings about ``implausibly old time stamps'' (such warnings were triggered by GNU@tie{}tar 1.26 and older; recent versions are fine.) They stem from the fact that all the files in the archive have their modification time set to zero (which means January 1st, 1970.) This is done on purpose to make sure the archive content is independent of its creation time, thus making it reproducible." msgstr "L'option @code{--warning=no-timestamp} s'assure que GNU@tie{}tar ne produise pas d'avertissement disant que « l'horodatage est trop vieux pour être plausible » (ces avertissements étaient produits par GNU@tie{}tar 1.26 et précédents ; les versions récentes n'ont pas ce problème). Cela vient du fait que les fichiers de l'archive ont pour date de modification zéro (ce qui signifie le 1er janvier 1970). C'est fait exprès pour s'assurer que le contenu de l'archive ne dépende pas de la date de création, ce qui la rend reproductible." #. type: enumerate -#: doc/guix.texi:477 -msgid "Make @code{root}'s profile available under @file{~root/.guix-profile}:" -msgstr "Rendez le profil de @code{root} disponible sous @file{~root/.guix-profile} :" +#: doc/guix.texi:504 +msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):" +msgstr "Rendez le profil disponible sous @file{~root/.config/guix/current}, qui est l'emplacement où @command{guix pull} installera les mises à jour (@pxref{Invoking guix pull}) :" #. type: example -#: doc/guix.texi:481 +#: doc/guix.texi:509 #, no-wrap msgid "" -"# ln -sf /var/guix/profiles/per-user/root/guix-profile \\\n" -" ~root/.guix-profile\n" +"# mkdir -p ~root/.config/guix\n" +"# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n" +" ~root/.config/guix/current\n" msgstr "" -"# ln -sf /var/guix/profiles/per-user/root/guix-profile \\\n" -" ~root/.guix-profile\n" +"# mkdir -p ~root/.config/guix\n" +"# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n" +" ~root/.config/guix/current\n" #. type: enumerate -#: doc/guix.texi:485 +#: doc/guix.texi:513 msgid "Source @file{etc/profile} to augment @code{PATH} and other relevant environment variables:" msgstr "Sourcez @file{etc/profile} pour augmenter @code{PATH} et les autres variables d'environnement nécessaires :" #. type: example -#: doc/guix.texi:489 +#: doc/guix.texi:517 #, no-wrap msgid "" -"# GUIX_PROFILE=\"`echo ~root`/.guix-profile\" ; \\\n" +"# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n" " source $GUIX_PROFILE/etc/profile\n" msgstr "" -"# GUIX_PROFILE=\"`echo ~root`/.guix-profile\" ; \\\n" +"# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n" " source $GUIX_PROFILE/etc/profile\n" #. type: enumerate -#: doc/guix.texi:494 +#: doc/guix.texi:522 msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})." msgstr "Créez le groupe et les comptes utilisateurs pour les utilisateurs de construction comme expliqué plus loin (@pxref{Build Environment Setup})." #. type: enumerate -#: doc/guix.texi:497 +#: doc/guix.texi:525 msgid "Run the daemon, and set it to automatically start on boot." msgstr "Lancez le démon et paramétrez-le pour démarrer automatiquement au démarrage." #. type: enumerate -#: doc/guix.texi:500 +#: doc/guix.texi:528 msgid "If your host distro uses the systemd init system, this can be achieved with these commands:" msgstr "Si votre distribution hôte utilise le système d'initialisation systemd, cela peut se faire avec ces commandes :" #. type: example -#: doc/guix.texi:512 +#: doc/guix.texi:540 #, no-wrap msgid "" -"# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \\\n" -" /etc/systemd/system/\n" +"# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n" +" /etc/systemd/system/\n" "# systemctl start guix-daemon && systemctl enable guix-daemon\n" msgstr "" -"# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \\\n" -" /etc/systemd/system/\n" +"# cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n" +" /etc/systemd/system/\n" "# systemctl start guix-daemon && systemctl enable guix-daemon\n" #. type: itemize -#: doc/guix.texi:515 doc/guix.texi:7845 +#: doc/guix.texi:543 doc/guix.texi:8514 msgid "If your host distro uses the Upstart init system:" msgstr "Si votre distribution hôte utilise le système d'initialisation Upstart :" #. type: example -#: doc/guix.texi:520 +#: doc/guix.texi:549 #, no-wrap msgid "" "# initctl reload-configuration\n" -"# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/\n" +"# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n" +" /etc/init/\n" "# start guix-daemon\n" msgstr "" "# initctl reload-configuration\n" -"# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/\n" +"# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n" +" /etc/init/\n" "# start guix-daemon\n" #. type: enumerate -#: doc/guix.texi:523 +#: doc/guix.texi:552 msgid "Otherwise, you can still start the daemon manually with:" msgstr "Sinon, vous pouvez toujours démarrer le démon manuellement avec :" #. type: example -#: doc/guix.texi:526 +#: doc/guix.texi:556 #, no-wrap -msgid "# ~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild\n" -msgstr "# ~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild\n" +msgid "" +"# ~root/.config/guix/current/bin/guix-daemon \\\n" +" --build-users-group=guixbuild\n" +msgstr "" +"# ~root/.config/guix/current/bin/guix-daemon \\\n" +" --build-users-group=guixbuild\n" #. type: enumerate -#: doc/guix.texi:531 +#: doc/guix.texi:561 msgid "Make the @command{guix} command available to other users on the machine, for instance with:" msgstr "Rendez la commande @command{guix} disponible pour les autres utilisateurs sur la machine, par exemple avec :" #. type: example -#: doc/guix.texi:536 +#: doc/guix.texi:566 #, no-wrap msgid "" "# mkdir -p /usr/local/bin\n" "# cd /usr/local/bin\n" -"# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix\n" +"# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n" msgstr "" "# mkdir -p /usr/local/bin\n" "# cd /usr/local/bin\n" -"# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix\n" +"# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n" #. type: enumerate -#: doc/guix.texi:540 +#: doc/guix.texi:570 msgid "It is also a good idea to make the Info version of this manual available there:" msgstr "C'est aussi une bonne idée de rendre la version Info de ce manuel disponible ici :" #. type: example -#: doc/guix.texi:546 +#: doc/guix.texi:576 #, no-wrap msgid "" "# mkdir -p /usr/local/share/info\n" "# cd /usr/local/share/info\n" -"# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ;\n" +"# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n" " do ln -s $i ; done\n" msgstr "" "# mkdir -p /usr/local/share/info\n" "# cd /usr/local/share/info\n" -"# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ;\n" +"# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n" " do ln -s $i ; done\n" #. type: enumerate -#: doc/guix.texi:552 +#: doc/guix.texi:582 msgid "That way, assuming @file{/usr/local/share/info} is in the search path, running @command{info guix} will open this manual (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, for more details on changing the Info search path.)" msgstr "Comme cela, en supposant que @file{/usr/local/share/info} est dans le chemin de recherche, lancer @command{info guix} ouvrira ce manuel (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, pour plus de détails sur comment changer le chemin de recherche de Info)." #. type: cindex -#: doc/guix.texi:554 doc/guix.texi:2309 doc/guix.texi:10423 +#: doc/guix.texi:584 doc/guix.texi:2359 doc/guix.texi:11213 #, no-wrap msgid "substitutes, authorization thereof" msgstr "substituts, autorisations" #. type: enumerate -#: doc/guix.texi:557 +#: doc/guix.texi:587 msgid "To use substitutes from @code{hydra.gnu.org} or one of its mirrors (@pxref{Substitutes}), authorize them:" msgstr "Pour utiliser les substituts de @code{hydra.gnu.org} ou l'un de ses mirroirs (@pxref{Substituts}), autorisez-les :" #. type: example -#: doc/guix.texi:560 +#: doc/guix.texi:591 #, no-wrap -msgid "# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub\n" -msgstr "# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub\n" +msgid "" +"# guix archive --authorize < \\\n" +" ~root/.config/guix/current/share/guix/hydra.gnu.org.pub\n" +msgstr "" +"# guix archive --authorize < \\\n" +" ~root/.config/guix/current/share/guix/hydra.gnu.org.pub\n" #. type: enumerate -#: doc/guix.texi:565 +#: doc/guix.texi:596 msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}." msgstr "Chaque utilisateur peut avoir besoin d'effectuer des étapes supplémentaires pour que leur environnement Guix soit prêt à être utilisé, @pxref{Application Setup}." #. type: Plain text -#: doc/guix.texi:568 +#: doc/guix.texi:599 msgid "Voilà, the installation is complete!" msgstr "Voilà, l'installation est terminée !" #. type: Plain text -#: doc/guix.texi:571 +#: doc/guix.texi:602 msgid "You can confirm that Guix is working by installing a sample package into the root profile:" msgstr "Vous pouvez confirmer que Guix fonctionne en installant un paquet d'exemple dans le profil de root :" #. type: example -#: doc/guix.texi:574 +#: doc/guix.texi:605 #, no-wrap msgid "# guix package -i hello\n" msgstr "# guix package -i hello\n" #. type: Plain text -#: doc/guix.texi:581 +#: doc/guix.texi:612 msgid "The @code{guix} package must remain available in @code{root}'s profile, or it would become subject to garbage collection---in which case you would find yourself badly handicapped by the lack of the @command{guix} command. In other words, do not remove @code{guix} by running @code{guix package -r guix}." msgstr "Le paquet @code{guix} doit rester disponible dans le profil de @code{root} ou il pourrait être sujet au ramassage de miettes — dans ce cas vous vous retrouveriez gravement handicapé par l'absence de la commande @command{guix}. En d'autres termes, ne supprimez pas @code{guix} en lançant @code{guix package -r guix}." #. type: Plain text -#: doc/guix.texi:584 +#: doc/guix.texi:615 msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:" msgstr "L'archive d'installation binaire peut être (re)produite et vérifiée simplement en lançaint la commande suivante dans l'arborescence des sources de Guix :" #. type: example -#: doc/guix.texi:587 +#: doc/guix.texi:618 #, no-wrap msgid "make guix-binary.@var{system}.tar.xz\n" msgstr "make guix-binary.@var{system}.tar.xz\n" #. type: Plain text -#: doc/guix.texi:591 +#: doc/guix.texi:622 msgid "... which, in turn, runs:" msgstr "… ce qui à son tour lance :" #. type: example -#: doc/guix.texi:594 +#: doc/guix.texi:626 #, no-wrap -msgid "guix pack -s @var{system} --localstatedir guix\n" -msgstr "guix pack -s @var{system} --localstatedir guix\n" +msgid "" +"guix pack -s @var{system} --localstatedir \\\n" +" --profile-name=current-guix guix\n" +msgstr "" +"guix pack -s @var{system} --localstatedir \\\n" +" --profile-name=current-guix guix\n" #. type: Plain text -#: doc/guix.texi:597 +#: doc/guix.texi:629 msgid "@xref{Invoking guix pack}, for more info on this handy tool." msgstr "@xref{Invoking guix pack}, pour plus d'info sur cet outil pratique." #. type: Plain text -#: doc/guix.texi:605 +#: doc/guix.texi:637 msgid "This section lists requirements when building Guix from source. The build procedure for Guix is the same as for other GNU software, and is not covered here. Please see the files @file{README} and @file{INSTALL} in the Guix source tree for additional details." msgstr "Cette section dresse la liste des pré-requis pour la construction de Guix depuis les sources. La procédure de construction pour Guix est la même que pour les autres logiciels GNU, et n'est pas expliquée ici. Regardez les fichiers @file{README} et @file{INSTALL} dans l'arborescence des sources de Guix pour plus de détails." #. type: Plain text -#: doc/guix.texi:607 +#: doc/guix.texi:639 msgid "GNU Guix depends on the following packages:" msgstr "GNU Guix dépend des paquets suivants :" #. type: item -#: doc/guix.texi:609 +#: doc/guix.texi:641 #, no-wrap msgid "@url{http://gnu.org/software/guile/, GNU Guile}, version 2.0.13 or" msgstr "@url{http://gnu.org/software/guile/, GNU Guile}, version 2.0.13 ou" #. type: itemize -#: doc/guix.texi:611 +#: doc/guix.texi:643 msgid "later, including 2.2.x;" -msgstr "ultérieure, dont 2.2.x," +msgstr "supérieure, dont 2.2.x," #. type: item -#: doc/guix.texi:611 +#: doc/guix.texi:643 #, no-wrap -msgid "@url{http://gnupg.org/, GNU libgcrypt};" -msgstr "@url{http://gnupg.org/, GNU libgcrypt}," +msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version" +msgstr "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version" #. type: itemize -#: doc/guix.texi:616 +#: doc/guix.texi:645 +msgid "0.1.0 or later;" +msgstr "0.1.0 ou supérieure," + +#. type: itemize +#: doc/guix.texi:649 msgid "@uref{http://gnutls.org/, GnuTLS}, specifically its Guile bindings (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});" msgstr "@uref{http://gnutls.org/, GnuTLS}, en particulier ses liaisons Guile (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile})," #. type: itemize -#: doc/guix.texi:619 -msgid "@uref{https://notabug.org/civodul/guile-sqlite3, Guile-SQLite3};" -msgstr "@uref{https://notabug.org/civodul/guile-sqlite3, Guile-SQLite3} ;" +#: doc/guix.texi:652 +msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;" +msgstr "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 ou supérieure," #. type: itemize -#: doc/guix.texi:623 +#: doc/guix.texi:656 msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, from August 2017 or later;" msgstr "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, d'août 2017 ou ultérieur," #. type: item -#: doc/guix.texi:623 +#: doc/guix.texi:656 #, no-wrap msgid "@url{http://zlib.net, zlib};" msgstr "@url{http://zlib.net, zlib}," #. type: item -#: doc/guix.texi:624 +#: doc/guix.texi:657 #, no-wrap msgid "@url{http://www.gnu.org/software/make/, GNU Make}." msgstr "@url{http://www.gnu.org/software/make/, GNU Make}." #. type: Plain text -#: doc/guix.texi:628 +#: doc/guix.texi:661 msgid "The following dependencies are optional:" msgstr "Les dépendances suivantes sont facultatives :" #. type: itemize -#: doc/guix.texi:636 +#: doc/guix.texi:669 msgid "Installing @url{http://savannah.nongnu.org/projects/guile-json/, Guile-JSON} will allow you to use the @command{guix import pypi} command (@pxref{Invoking guix import}). It is of interest primarily for developers and not for casual users." msgstr "Installer @url{http://savannah.nongnu.org/projects/guile-json/, Guile-JSON} vous permettra d'utiliser la commande @command{guix import pypi} (@pxref{Invoking guix import}). Il est surtout utile pour les développeurs et pas pour les utilisateurs occasionnels." #. type: itemize -#: doc/guix.texi:643 +#: doc/guix.texi:676 msgid "Support for build offloading (@pxref{Daemon Offload Setup}) and @command{guix copy} (@pxref{Invoking guix copy}) depends on @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.10.2 or later." msgstr "Le support pour la décharge de construction (@pxref{Daemon Offload Setup}) et @command{guix copy} (@pxref{Invoking guix copy}) dépend de @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.10.2 ou ulltérieure." #. type: itemize -#: doc/guix.texi:647 +#: doc/guix.texi:680 msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs." msgstr "Lorsque @url{http://www.bzip.org, libbz2} est disponible, @command{guix-daemon} peut l'utiliser pour compresser les journaux de construction." #. type: Plain text -#: doc/guix.texi:651 +#: doc/guix.texi:684 msgid "Unless @code{--disable-daemon} was passed to @command{configure}, the following packages are also needed:" msgstr "À moins que @code{--disable-daemon} ne soit passé à @command{configure}, les paquets suivants sont aussi requis :" #. type: item -#: doc/guix.texi:653 +#: doc/guix.texi:686 +#, no-wrap +msgid "@url{http://gnupg.org/, GNU libgcrypt};" +msgstr "@url{http://gnupg.org/, GNU libgcrypt}," + +#. type: item +#: doc/guix.texi:687 #, no-wrap msgid "@url{http://sqlite.org, SQLite 3};" msgstr "@url{http://sqlite.org, SQLite 3}," #. type: item -#: doc/guix.texi:654 +#: doc/guix.texi:688 #, no-wrap msgid "@url{http://gcc.gnu.org, GCC's g++}, with support for the" msgstr "@url{http://gcc.gnu.org, GCC's g++}, avec le support pour le" #. type: itemize -#: doc/guix.texi:656 +#: doc/guix.texi:690 msgid "C++11 standard." msgstr "standard C++11." #. type: cindex -#: doc/guix.texi:658 +#: doc/guix.texi:692 #, no-wrap msgid "state directory" msgstr "répertoire d'état" #. type: Plain text -#: doc/guix.texi:666 +#: doc/guix.texi:700 msgid "When configuring Guix on a system that already has a Guix installation, be sure to specify the same state directory as the existing installation using the @code{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). The @command{configure} script protects against unintended misconfiguration of @var{localstatedir} so you do not inadvertently corrupt your store (@pxref{The Store})." msgstr "Lorsque vous configurez Guix sur un système qui a déjà une installation de Guix, assurez-vous de spécifier le même répertoire d'état que l'installation existante avec l'option @code{--localstatedir} du script @command{configure} (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). Le script @command{configure} vous protège des mauvaises configurations involontaires de @var{localstatedir} pour éviter que vous ne corrompiez votre dépôt (@pxref{The Store})." #. type: cindex -#: doc/guix.texi:667 +#: doc/guix.texi:701 #, no-wrap msgid "Nix, compatibility" msgstr "Nix, compatibilité" #. type: Plain text -#: doc/guix.texi:672 +#: doc/guix.texi:706 msgid "When a working installation of @url{http://nixos.org/nix/, the Nix package manager} is available, you can instead configure Guix with @code{--disable-daemon}. In that case, Nix replaces the three dependencies above." msgstr "Lorsque vous avez une installation fonctionnelle du @url{http://nixos.org/nix/, gestionnaire de paquets Nix}, vous pouvez configurer Guix avec @code{--disable-daemon}. Dan ce cas, Nix remplace les trois dépendances au dessus." #. type: Plain text -#: doc/guix.texi:682 +#: doc/guix.texi:716 msgid "Guix is compatible with Nix, so it is possible to share the same store between both. To do so, you must pass @command{configure} not only the same @code{--with-store-dir} value, but also the same @code{--localstatedir} value. The latter is essential because it specifies where the database that stores metadata about the store is located, among other things. The default values for Nix are @code{--with-store-dir=/nix/store} and @code{--localstatedir=/nix/var}. Note that @code{--disable-daemon} is not required if your goal is to share the store with Nix." msgstr "Guix est compatible avec Nix, donc il est possible de partager le même dépôt entre les deux. Pour cela, vous devez passer à @command{configure} non seulement la même valeur de @code{--with-store-dir} mais aussi la même valeur de @code{--localstatedir}. Cette dernière est nécessaires car elle spécifie l'emplacement de la base de données qui stocke les métadonnées sur le dépôt, entre autres choses. Les valeurs par défaut pour Nix sont @code{--with-store-dir=/nix/store} et @code{--localstatedir=/nix/var}. Remarquez que @code{--disable-daemon} n'est pas requis si votre but est de partager le dépôt avec Nix." #. type: cindex -#: doc/guix.texi:686 +#: doc/guix.texi:720 #, no-wrap msgid "test suite" msgstr "suite de tests" #. type: Plain text -#: doc/guix.texi:692 +#: doc/guix.texi:726 msgid "After a successful @command{configure} and @code{make} run, it is a good idea to run the test suite. It can help catch issues with the setup or environment, or bugs in Guix itself---and really, reporting test failures is a good way to help improve the software. To run the test suite, type:" msgstr "Après avoir lancé @command{configure} et @code{make} correctement, c'est une bonne idée de lancer la suite de tests. Elle peut aider à trouver des erreurs avec la configuration ou l'environnement, ou des bogues dans Guix lui-même — et vraiment, rapporter des échecs de tests est une bonne manière d'aider à améliorer le logiciel. Pour lancer la suite de tests, tapez :" #. type: example -#: doc/guix.texi:695 +#: doc/guix.texi:729 #, no-wrap msgid "make check\n" msgstr "make check\n" #. type: Plain text -#: doc/guix.texi:702 +#: doc/guix.texi:736 msgid "Test cases can run in parallel: you can use the @code{-j} option of GNU@tie{}make to speed things up. The first run may take a few minutes on a recent machine; subsequent runs will be faster because the store that is created for test purposes will already have various things in cache." msgstr "Les cas de tests peuvent être lancés en parallèle : vous pouvez utiliser l'option @code{-j} de GNU@tie{}make pour accélérer les choses. Le premier lancement peut prendre plusieurs minutes sur une machine récente ; les lancements suivants seront plus rapides car le dépôt créé pour les tests aura déjà plusieurs choses en cache." #. type: Plain text -#: doc/guix.texi:705 +#: doc/guix.texi:739 msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:" msgstr "Il est aussi possible de lancer un sous-ensemble des tests en définissant la variable makefile @code{TESTS} comme dans cet exemple :" #. type: example -#: doc/guix.texi:708 +#: doc/guix.texi:742 #, no-wrap msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n" msgstr "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n" #. type: Plain text -#: doc/guix.texi:713 +#: doc/guix.texi:747 msgid "By default, tests results are displayed at a file level. In order to see the details of every individual test cases, it is possible to define the @code{SCM_LOG_DRIVER_FLAGS} makefile variable as in this example:" msgstr "Par défaut, les résultats des tests sont affichés au niveau du fichier. Pour voir les détails de chaque cas de test individuel, il est possible de définire la variable makefile @code{SCM_LOG_DRIVER_FLAGS} comme dans cet exemple :" #. type: example -#: doc/guix.texi:716 +#: doc/guix.texi:750 #, no-wrap msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n" msgstr "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n" #. type: Plain text -#: doc/guix.texi:722 +#: doc/guix.texi:756 msgid "Upon failure, please email @email{bug-guix@@gnu.org} and attach the @file{test-suite.log} file. Please specify the Guix version being used as well as version numbers of the dependencies (@pxref{Requirements}) in your message." msgstr "Après un échec, envoyez un courriel à @email{bug-guix@@gnu.org} et attachez le fichier @file{test-suite.log}. Précisez la version de Guix utilisée ainsi que les numéros de version de ses dépendances (@pxref{Requirements}) dans votre message." #. type: Plain text -#: doc/guix.texi:726 +#: doc/guix.texi:760 msgid "Guix also comes with a whole-system test suite that tests complete GuixSD operating system instances. It can only run on systems where Guix is already installed, using:" msgstr "Guix possède aussi une suite de tests de systèmes complets qui test des instances complètes du système d'exploitation GuixSD@. Elle ne peut être lancée qui sur un système où Guix est déjà installé, avec :" #. type: example -#: doc/guix.texi:729 +#: doc/guix.texi:763 #, no-wrap msgid "make check-system\n" msgstr "make check-system\n" #. type: Plain text -#: doc/guix.texi:733 +#: doc/guix.texi:767 msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:" msgstr "Ou, de nouveau, en définissant @code{TESTS} pour choisir un sous-ensemble des tests à lancer :" #. type: example -#: doc/guix.texi:736 +#: doc/guix.texi:770 #, no-wrap msgid "make check-system TESTS=\"basic mcron\"\n" msgstr "make check-system TESTS=\"basic mcron\"\n" #. type: Plain text -#: doc/guix.texi:744 +#: doc/guix.texi:778 msgid "These system tests are defined in the @code{(gnu tests @dots{})} modules. They work by running the operating systems under test with lightweight instrumentation in a virtual machine (VM). They can be computationally intensive or rather cheap, depending on whether substitutes are available for their dependencies (@pxref{Substitutes}). Some of them require a lot of storage space to hold VM images." msgstr "Ces tests systèmes sont définis dans les modules @code{(gnu tests @dots{})}. Ils fonctionnent en lançant les systèmes d'exploitation sous test avec une instrumentation légère dans une machine virtuelle (VM). Ils peuvent être intenses en terme de calculs ou plutôt rapides en fonction de la disponibilité des substituts de leurs dépendances (@pxref{Substituts}). Certains requièrent beaucoup d'espace disque pour contenir les images des VM@." #. type: Plain text -#: doc/guix.texi:747 +#: doc/guix.texi:781 msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details." msgstr "De nouveau, en cas d'échec, envoyez tous les détails à @email{bug-guix@@gnu.org}." #. type: cindex -#: doc/guix.texi:751 +#: doc/guix.texi:785 #, no-wrap msgid "daemon" msgstr "démon" #. type: Plain text -#: doc/guix.texi:759 +#: doc/guix.texi:793 msgid "Operations such as building a package or running the garbage collector are all performed by a specialized process, the @dfn{build daemon}, on behalf of clients. Only the daemon may access the store and its associated database. Thus, any operation that manipulates the store goes through the daemon. For instance, command-line tools such as @command{guix package} and @command{guix build} communicate with the daemon (@i{via} remote procedure calls) to instruct it what to do." msgstr "Les opérations comme la construction d'un paquet ou le lancement du ramasse-miettes sont toutes effectuées par un processus spécialisé, le @dfn{démon de construction}, pour le compte des clients. Seul le démon peut accéder au dépôt et à sa base de données associée. Ainsi, toute opération manipulant le dépôt passe par le démon. Par exemple, les outils en ligne de commande comme @command{guix package} et @command{guix build} communiquent avec le démon (@i{via} des appels de procédures distantes) pour lui dire quoi faire." #. type: Plain text -#: doc/guix.texi:763 +#: doc/guix.texi:797 msgid "The following sections explain how to prepare the build daemon's environment. See also @ref{Substitutes}, for information on how to allow the daemon to download pre-built binaries." msgstr "Les sections suivantes expliquent comment préparer l'environnement du démon de construction. Voir aussi @ref{Substituts} pour apprendre comment permettre le téléchargement de binaires pré-construits." #. type: cindex -#: doc/guix.texi:773 doc/guix.texi:1198 +#: doc/guix.texi:807 doc/guix.texi:1232 #, no-wrap msgid "build environment" msgstr "environnement de construction" #. type: Plain text -#: doc/guix.texi:781 +#: doc/guix.texi:815 msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users." msgstr "Dans une installation standard multi-utilisateurs, Guix et son démon — le programme @command{guix-daemon} — sont installé par l'administrateur système ; @file{/gnu/store} appartient à @code{root} et @command{guix-daemon} est lancé en @code{root}. Les utilisateurs non-privilégiés peuvent utiliser les outils Guix pour construire des paquets ou accéder au dépôt et le démon le fera pour leur compte en s'assurant que le dépôt garde un état cohérent et permet le partage des paquets déjà construits entre les utilisateurs." #. type: cindex -#: doc/guix.texi:782 +#: doc/guix.texi:816 #, no-wrap msgid "build users" msgstr "utilisateurs de construction" #. type: Plain text -#: doc/guix.texi:793 +#: doc/guix.texi:827 msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})." msgstr "Alors que @command{guix-daemon} tourne en @code{root}, vous n'avez pas forcément envie que les processus de construction de paquets tournent aussi en @code{root}, pour des raisons de sécurité évidentes. Pour éviter cela, vous devriez créer une réserve spéciale d'@dfn{utilisateurs de construction} que les processus de construction démarrés par le démon utiliseront. Ces utilisateurs de construction n'ont pas besoin d'un shell ou d'un répertoire personnel ; ils seront seulement utilisés quand le démon délaissera ses privilèges @code{root} dans les processus de construction. En ayant plusieurs de ces utilisateurs, vous permettez au démon de lancer des processus de construction distincts sous des UID différent, ce qui garanti qu'aucune interférence n'ait lieu entre les uns et les autres — une fonctionnalité essentielle puisque les constructions sont supposées être des fonctions pures (@pxref{Introduction})." #. type: Plain text -#: doc/guix.texi:796 +#: doc/guix.texi:830 msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):" msgstr "Sur un système GNU/Linux, on peut créer une réserve d'utilisateurs de construction comme ceci (avec la syntaxe Bash et les commandes @code{shadow}) :" #. type: example -#: doc/guix.texi:808 +#: doc/guix.texi:842 #, no-wrap msgid "" "# groupadd --system guixbuild\n" @@ -3140,113 +3264,113 @@ msgstr "" " done\n" #. type: Plain text -#: doc/guix.texi:818 +#: doc/guix.texi:852 msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})." msgstr "Le nombre d'utilisateurs de construction détermine le nombre de tâches de constructions qui peuvent tourner en parallèle, tel que spécifié par l'option @option{--max-jobs} (@pxref{Invoking guix-daemon, @option{--max-jobs}}). Pour utiliser @command{guix system vm} et les commandes liées, vous devrez ajouter les utilisateurs de construction au groupe @code{kvm} pour qu'ils puissent accéder à @file{/dev/kvm} avec @code{-G guixbuild,kvm} plutôt que @code{-G guixbuild} (@pxref{Invoking guix system})." #. type: Plain text -#: doc/guix.texi:827 +#: doc/guix.texi:861 msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, dropping the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file in @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, drop the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file in @file{/etc/init}.}:" msgstr "Le programme @code{guix-daemon} peut ensuite être lancé en @code{root} avec la commande suivante@footnote{Si votre machine utilise le système d'initialisation systemd, copiez le fichier @file{@var{prefix}/lib/systemd/system/guix-daemon.service} dans @file{/etc/systemd/system} pour vous assurer que @command{guix-daemon} est démarré automatiquement. De même, si votre machine utilise le système d'initialisation Upstart, copiez le fichier @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} dans @file{/etc/init}.} :" #. type: example -#: doc/guix.texi:830 doc/guix.texi:1191 +#: doc/guix.texi:864 doc/guix.texi:1225 #, no-wrap msgid "# guix-daemon --build-users-group=guixbuild\n" msgstr "# guix-daemon --build-users-group=guixbuild\n" #. type: cindex -#: doc/guix.texi:832 doc/guix.texi:1196 +#: doc/guix.texi:866 doc/guix.texi:1230 #, no-wrap msgid "chroot" msgstr "chroot" #. type: Plain text -#: doc/guix.texi:837 +#: doc/guix.texi:871 msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:" msgstr "De cette façon, le démon démarre les processus de construction dans un chroot, sous un des utilisateurs @code{guixbuilder}. Sur GNU/Linux par défaut, l'environnement chroot ne contient rien d'autre que :" #. type: itemize -#: doc/guix.texi:845 +#: doc/guix.texi:879 msgid "a minimal @code{/dev} directory, created mostly independently from the host @code{/dev}@footnote{``Mostly'', because while the set of files that appear in the chroot's @code{/dev} is fixed, most of these files can only be created if the host has them.};" msgstr "un répertoire @code{/dev} minimal, créé presque indépendamment du @code{/dev} de l'hôte@footnote{« presque », parce que même si l'ensemble des fichiers qui apparaissent dans le @code{/dev} du chroot sont déterminés à l'avance, la plupart de ces fichiers ne peut pas être créée si l'hôte ne les a pas.} ;" #. type: itemize -#: doc/guix.texi:849 +#: doc/guix.texi:883 msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;" msgstr "le répertoire @code{/proc} ; il ne montre que les processus du conteneur car on utilise une espace de nom séparé pour les PID ;" #. type: itemize -#: doc/guix.texi:853 +#: doc/guix.texi:887 msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};" msgstr "@file{/etc/passwd} avec une entrée pour l'utilisateur actuel et une entrée pour l'utilisateur @file{nobody} ;" #. type: itemize -#: doc/guix.texi:856 +#: doc/guix.texi:890 msgid "@file{/etc/group} with an entry for the user's group;" msgstr "@file{/etc/group} avec une entrée pour le groupe de l'utilisateur ;" #. type: itemize -#: doc/guix.texi:860 +#: doc/guix.texi:894 msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};" msgstr "@file{/etc/hosts} avec une entrée qui fait correspondre @code{localhost} à @code{127.0.0.1} ;" #. type: itemize -#: doc/guix.texi:863 +#: doc/guix.texi:897 msgid "a writable @file{/tmp} directory." msgstr "un répertoire @file{/tmp} inscriptible." #. type: Plain text -#: doc/guix.texi:872 +#: doc/guix.texi:906 msgid "You can influence the directory where the daemon stores build trees @i{via} the @code{TMPDIR} environment variable. However, the build tree within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @code{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes capture the name of their build tree." msgstr "Vous pouvez influencer le répertoire où le démon stocke les arbres de construction @i{via} la variable d'environnement @code{TMPDIR}. Cependant, l'arbre de construction dans le chroot sera toujours appelé @file{/tmp/guix-build-@var{nom}.drv-0}, où @var{nom} est le nom de la dérivation — p.@: ex.@: @code{coreutils-8.24}. De cette façon, la valeur de @code{TMPDIR} ne fuite pas à l'intérieur des environnements de construction, ce qui évite des différences lorsque le processus de construction retient le nom de leur répertoire de construction." #. type: vindex -#: doc/guix.texi:873 doc/guix.texi:2416 +#: doc/guix.texi:907 doc/guix.texi:2466 #, no-wrap msgid "http_proxy" msgstr "http_proxy" #. type: Plain text -#: doc/guix.texi:877 +#: doc/guix.texi:911 msgid "The daemon also honors the @code{http_proxy} environment variable for HTTP downloads it performs, be it for fixed-output derivations (@pxref{Derivations}) or for substitutes (@pxref{Substitutes})." msgstr "Le démon tient aussi compte de la variable d'environnement @code{http_proxy} pour ses téléchargements HTTP, que ce soit pour les dérivations à sortie fixes (@pxref{Derivations}) ou pour les substituts (@pxref{Substituts})." #. type: Plain text -#: doc/guix.texi:885 +#: doc/guix.texi:919 msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @code{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions." msgstr "Si vous installez Guix en tant qu'utilisateur non-privilégié, il est toujours possible de lancer @command{guix-daemon} si vous passez @code{--disable-chroot}. Cependant, les processus de construction ne seront pas isolés les uns des autres ni du reste du système. Ainsi les processus de construction peuvent interférer les uns avec les autres, et peuvent accéder à des programmes, des bibliothèques et d'autres fichiers présents sur le système — ce qui rend plus difficile de les voir comme des fonctions @emph{pures}." #. type: subsection -#: doc/guix.texi:888 +#: doc/guix.texi:922 #, no-wrap msgid "Using the Offload Facility" msgstr "Utiliser le dispositif de déchargement" #. type: cindex -#: doc/guix.texi:890 +#: doc/guix.texi:924 #, no-wrap msgid "offloading" msgstr "déchargement" #. type: cindex -#: doc/guix.texi:891 doc/guix.texi:1252 +#: doc/guix.texi:925 doc/guix.texi:1289 #, no-wrap msgid "build hook" msgstr "crochet de construction" #. type: Plain text -#: doc/guix.texi:905 +#: doc/guix.texi:939 msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system type---e.g., @file{x86_64-linux}. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine." msgstr "Si vous le souhaitez, le démon de construction peut @dfn{décharger} des constructions de dérivations sur d'autres machines Guix avec le @dfn{crochet de construction} @code{offload}@footnote{Cette fonctionnalité n'est disponible que si @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} est présent.}. Lorsque cette fonctionnalité est activée, Guix lit une liste de machines de constructions spécifiée par l'utilisateur dans @file{/etc/guix/machines.scm} ; à chaque fois qu'une construction est demandée, par exemple par @code{guix build}, le démon essaie de la décharger sur une des machines qui satisfont les contraintes de la dérivation, en particulier le type de système, p.@: ex.@: @file{x86_64-linux}. Les prérequis manquants pour la construction sont copiés par SSH sur la machine de construction qui procède ensuite à la construction ; si elle réussi, les sorties de la construction sont copiés vers la machine de départ." #. type: Plain text -#: doc/guix.texi:907 +#: doc/guix.texi:941 msgid "The @file{/etc/guix/machines.scm} file typically looks like this:" msgstr "Le fichier @file{/etc/guix/machines.scm} ressemble typiquement à cela :" #. type: example -#: doc/guix.texi:915 +#: doc/guix.texi:949 #, no-wrap msgid "" "(list (build-machine\n" @@ -3266,7 +3390,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:924 +#: doc/guix.texi:958 #, no-wrap msgid "" " (build-machine\n" @@ -3288,92 +3412,93 @@ msgstr "" " \"/.ssh/identity-for-guix\"))))\n" #. type: Plain text -#: doc/guix.texi:930 +#: doc/guix.texi:964 msgid "In the example above we specify a list of two build machines, one for the @code{x86_64} architecture and one for the @code{mips64el} architecture." msgstr "Dans l'exemple ci-dessus nous spécifions une liste de deux machines de construction, une pour l'architecture @code{x86_64} et une pour l'architecture @code{mips64el}." #. type: Plain text -#: doc/guix.texi:939 +#: doc/guix.texi:973 msgid "In fact, this file is---not surprisingly!---a Scheme file that is evaluated when the @code{offload} hook is started. Its return value must be a list of @code{build-machine} objects. While this example shows a fixed list of build machines, one could imagine, say, using DNS-SD to return a list of potential build machines discovered in the local network (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). The @code{build-machine} data type is detailed below." msgstr "En fait, ce fichier est — et ça ne devrait pas vous surprendre ! — un fichier Scheme qui est évalué au démarrage du crochet @code{offload}. Sa valeur de retour doit être une liste d'objets @code{build-machine}. Même si cet exemple montre une liste fixée de machines de construction, on pourrait imaginer par exemple utiliser DNS-SD pour renvoyer une liste de machines de constructions potentielles découvertes sur le réseau local (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). Le type de données @code{build-machine} est détaillé plus bas." #. type: deftp -#: doc/guix.texi:940 +#: doc/guix.texi:974 #, no-wrap msgid "{Data Type} build-machine" msgstr "{Type de données} build-machine" #. type: deftp -#: doc/guix.texi:943 +#: doc/guix.texi:977 msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:" msgstr "Ce type de données représente les machines de construction sur lesquelles le démon peut décharger des constructions. Les champs importants sont :" -#. type: code{#1} -#: doc/guix.texi:946 doc/guix.texi:3521 doc/guix.texi:9634 doc/guix.texi:9698 -#: doc/guix.texi:9793 doc/guix.texi:11267 doc/guix.texi:15402 -#: doc/guix.texi:15635 doc/guix.texi:15768 doc/guix.texi:16046 -#: doc/guix.texi:16087 doc/guix.texi:20147 doc/guix.texi:20164 -#: doc/guix.texi:20430 doc/guix.texi:21638 +#. type: item +#: doc/guix.texi:980 doc/guix.texi:3984 doc/guix.texi:10390 +#: doc/guix.texi:10454 doc/guix.texi:10549 doc/guix.texi:12158 +#: doc/guix.texi:16411 doc/guix.texi:16677 doc/guix.texi:16810 +#: doc/guix.texi:17118 doc/guix.texi:17159 doc/guix.texi:21592 +#: doc/guix.texi:21609 doc/guix.texi:21875 doc/guix.texi:23096 +#: doc/guix.texi:23296 #, no-wrap msgid "name" msgstr "name" #. type: table -#: doc/guix.texi:948 +#: doc/guix.texi:982 msgid "The host name of the remote machine." msgstr "Le nom d'hôte de la machine distante." #. type: item -#: doc/guix.texi:949 +#: doc/guix.texi:983 #, no-wrap msgid "system" msgstr "system" #. type: table -#: doc/guix.texi:951 +#: doc/guix.texi:985 msgid "The system type of the remote machine---e.g., @code{\"x86_64-linux\"}." msgstr "Le type de système de la machine distante, p.@: ex.@: @code{\"x86_64-linux\"}." #. type: code{#1} -#: doc/guix.texi:952 doc/guix.texi:11277 +#: doc/guix.texi:986 doc/guix.texi:12168 #, no-wrap msgid "user" msgstr "user" #. type: table -#: doc/guix.texi:956 +#: doc/guix.texi:990 msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins." msgstr "Le compte utilisateur à utiliser lors de la connexion à la machine distante par SSH@. Remarquez que la paire de clef SSH ne doit @emph{pas} être protégée par mot de passe pour permettre des connexions non-interactives." #. type: item -#: doc/guix.texi:957 +#: doc/guix.texi:991 #, no-wrap msgid "host-key" msgstr "host-key" #. type: table -#: doc/guix.texi:961 +#: doc/guix.texi:995 msgid "This must be the machine's SSH @dfn{public host key} in OpenSSH format. This is used to authenticate the machine when we connect to it. It is a long string that looks like this:" msgstr "Cela doit être la @dfn{clef d'hôte SSH publique} de la machine au format OpenSSH@. Elle est utilisée pour authentifier la machine lors de la connexion. C'est une longue chaîne qui ressemble à cela :" #. type: example -#: doc/guix.texi:964 +#: doc/guix.texi:998 #, no-wrap msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n" msgstr "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n" #. type: table -#: doc/guix.texi:969 +#: doc/guix.texi:1003 msgid "If the machine is running the OpenSSH daemon, @command{sshd}, the host key can be found in a file such as @file{/etc/ssh/ssh_host_ed25519_key.pub}." msgstr "Si la machine utilise le démon OpenSSH, @command{sshd}, la clef d'hôte se trouve dans un fichier comme @file{/etc/ssh/ssh_host_ed25519_key.pub}." #. type: table -#: doc/guix.texi:974 +#: doc/guix.texi:1008 msgid "If the machine is running the SSH daemon of GNU@tie{}lsh, @command{lshd}, the host key is in @file{/etc/lsh/host-key.pub} or a similar file. It can be converted to the OpenSSH format using @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):" msgstr "Si la machine utilise le démon SSH de GNU@tie{}lsh, la clef d'hôte est dans @file{/etc/lsh/host-key.pub} ou un fichier similaire. Elle peut être convertie au format OpenSSH avec @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}) :" #. type: example -#: doc/guix.texi:978 +#: doc/guix.texi:1012 #, no-wrap msgid "" "$ lsh-export-key --openssh < /etc/lsh/host-key.pub \n" @@ -3383,845 +3508,851 @@ msgstr "" "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n" #. type: deftp -#: doc/guix.texi:983 +#: doc/guix.texi:1017 msgid "A number of optional fields may be specified:" msgstr "Il y a un certain nombre de champs facultatifs que vous pouvez remplir :" #. type: item -#: doc/guix.texi:986 +#: doc/guix.texi:1020 #, no-wrap msgid "@code{port} (default: @code{22})" msgstr "@code{port} (par défaut : @code{22})" #. type: table -#: doc/guix.texi:988 +#: doc/guix.texi:1022 msgid "Port number of SSH server on the machine." msgstr "Numéro de port du serveur SSH sur la machine." #. type: item -#: doc/guix.texi:989 +#: doc/guix.texi:1023 #, no-wrap msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})" msgstr "@code{private-key} (par défaut : @file{~root/.ssh/id_rsa})" #. type: table -#: doc/guix.texi:992 -msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format." -msgstr "Le fichier de clef privée à utiliser lors de la connexion à la machine, au format OpenSSH@." +#: doc/guix.texi:1026 +msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format. This key must not be protected with a passphrase." +msgstr "Le fichier de clef privée SSH à utiliser lors de la connexion à la machine, au format OpenSSH@. Cette clef ne doit pas être protégée par phrase de passe." #. type: table -#: doc/guix.texi:995 +#: doc/guix.texi:1029 msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default." msgstr "Remarquez que la valeur par défaut est la clef privée @emph{du compte root}. Assurez-vous qu'elle existe si vous utilisez la valeur par défaut." #. type: item -#: doc/guix.texi:996 +#: doc/guix.texi:1030 #, no-wrap msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})" msgstr "@code{compression} (par défaut : @code{\"zlib@@openssh.com,zlib\"})" #. type: item -#: doc/guix.texi:997 doc/guix.texi:10667 +#: doc/guix.texi:1031 doc/guix.texi:11452 #, no-wrap msgid "@code{compression-level} (default: @code{3})" msgstr "@code{compression-level} (par défaut : @code{3})" #. type: table -#: doc/guix.texi:999 +#: doc/guix.texi:1033 msgid "The SSH-level compression methods and compression level requested." msgstr "Les méthodes de compression au niveau SSH et le niveau de compression demandé." #. type: table -#: doc/guix.texi:1002 +#: doc/guix.texi:1036 msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines." msgstr "Remarquez que le déchargement utilise la compression SSH pour réduire la bande passante utilisée lors du transfert vers et depuis les machines de construction." #. type: item -#: doc/guix.texi:1003 +#: doc/guix.texi:1037 #, no-wrap msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})" msgstr "@code{daemon-socket} (par défaut : @code{\"/var/guix/daemon-socket/socket\"})" #. type: table -#: doc/guix.texi:1006 +#: doc/guix.texi:1040 msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine." msgstr "Le nom de fichier du socket Unix-domain sur lequel @command{guix-daemon} écoute sur cette machine." #. type: item -#: doc/guix.texi:1007 +#: doc/guix.texi:1041 #, no-wrap msgid "@code{parallel-builds} (default: @code{1})" msgstr "@code{parallel-builds} (par défaut : @code{1})" #. type: table -#: doc/guix.texi:1009 +#: doc/guix.texi:1043 msgid "The number of builds that may run in parallel on the machine." msgstr "Le nombre de constructions qui peuvent tourner simultanément sur la machine." #. type: item -#: doc/guix.texi:1010 +#: doc/guix.texi:1044 #, no-wrap msgid "@code{speed} (default: @code{1.0})" msgstr "@code{speed} (par défaut : @code{1.0})" #. type: table -#: doc/guix.texi:1013 +#: doc/guix.texi:1047 msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor." msgstr "Un « facteur de vitesse relatif ». L'ordonnanceur des constructions tendra à préférer les machines avec un plus grand facteur de vitesse." #. type: item -#: doc/guix.texi:1014 +#: doc/guix.texi:1048 #, no-wrap msgid "@code{features} (default: @code{'()})" msgstr "@code{features} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:1019 +#: doc/guix.texi:1053 msgid "A list of strings denoting specific features supported by the machine. An example is @code{\"kvm\"} for machines that have the KVM Linux modules and corresponding hardware support. Derivations can request features by name, and they will be scheduled on matching build machines." msgstr "Une liste de chaînes qui contient les fonctionnalités spécifiques supportées par la machine. Un exemple est @code{\"kvm\"} pour les machines qui ont le module Linux KVM et le support matériel correspondant. Les dérivations peuvent demander des fonctionnalités par leur nom et seront orchestrées sur les machines de construction correspondantes." #. type: Plain text -#: doc/guix.texi:1027 +#: doc/guix.texi:1061 msgid "The @code{guile} command must be in the search path on the build machines. In addition, the Guix modules must be in @code{$GUILE_LOAD_PATH} on the build machine---you can check whether this is the case by running:" msgstr "La commande @code{guile} doit être dans le chemin de recherche des machines de construction. En plus, les modules Guix doivent se trouver dans @code{$GUILE_LOAD_PATH} sur la machine de construction. Vous pouvez vérifier si c'est le cas en lançant :" #. type: example -#: doc/guix.texi:1030 +#: doc/guix.texi:1064 #, no-wrap msgid "ssh build-machine guile -c \"'(use-modules (guix config))'\"\n" msgstr "ssh build-machine guile -c \"'(use-modules (guix config))'\"\n" #. type: Plain text -#: doc/guix.texi:1037 +#: doc/guix.texi:1071 msgid "There is one last thing to do once @file{machines.scm} is in place. As explained above, when offloading, files are transferred back and forth between the machine stores. For this to work, you first need to generate a key pair on each machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}):" msgstr "Il reste une dernière chose à faire maintenant que @file{machines.scm} est en place. Comme expliqué ci-dessus, lors du déchargement les fichiers sont transférés entre les dépôts des machines. Pour que cela fonctionne, vous devez d'abord générer une paire de clef sur chaque machine pour permettre au démon d'exporter des archives signées des fichiers de son dépôt (@pxref{Invoking guix archive}) :" #. type: example -#: doc/guix.texi:1040 +#: doc/guix.texi:1074 #, no-wrap msgid "# guix archive --generate-key\n" msgstr "# guix archive --generate-key\n" #. type: Plain text -#: doc/guix.texi:1045 +#: doc/guix.texi:1079 msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:" msgstr "Chaque machine de construction doit autoriser la clef de la machine maîtresse pour qu'ils acceptent les éléments de dépôt de celle-ci :" #. type: example -#: doc/guix.texi:1048 +#: doc/guix.texi:1082 #, no-wrap msgid "# guix archive --authorize < master-public-key.txt\n" msgstr "# guix archive --authorize < master-public-key.txt\n" #. type: Plain text -#: doc/guix.texi:1052 +#: doc/guix.texi:1086 msgid "Likewise, the master machine must authorize the key of each build machine." msgstr "De même, la machine maîtresse doit autoriser les clefs de chaque machine de construction." #. type: Plain text -#: doc/guix.texi:1058 +#: doc/guix.texi:1092 msgid "All the fuss with keys is here to express pairwise mutual trust relations between the master and the build machines. Concretely, when the master receives files from a build machine (and @i{vice versa}), its build daemon can make sure they are genuine, have not been tampered with, and that they are signed by an authorized key." msgstr "Toute cette histoire de clefs permet d'exprimer la confiance mutuelle deux-à-deux entre le maître et les machines de construction. Concrètement, lorsque le maître reçoit des fichiers d'une machine de construction (et vice-versa), son démon de construction s'assure qu'ils sont authentiques, n'ont pas été modifiés par un tiers et qu'il sont signés par un clef autorisée." #. type: cindex -#: doc/guix.texi:1059 +#: doc/guix.texi:1093 #, no-wrap msgid "offload test" msgstr "test du déchargement" #. type: Plain text -#: doc/guix.texi:1062 +#: doc/guix.texi:1096 msgid "To test whether your setup is operational, run this command on the master node:" msgstr "Pour tester que votre paramétrage fonctionne, lancez cette commande sur le nœud maître :" #. type: example -#: doc/guix.texi:1065 +#: doc/guix.texi:1099 #, no-wrap msgid "# guix offload test\n" msgstr "# guix offload test\n" #. type: Plain text -#: doc/guix.texi:1071 +#: doc/guix.texi:1105 msgid "This will attempt to connect to each of the build machines specified in @file{/etc/guix/machines.scm}, make sure Guile and the Guix modules are available on each machine, attempt to export to the machine and import from it, and report any error in the process." msgstr "Cela essaiera de se connecter à toutes les machines de construction spécifiées dans @file{/etc/guix/machines.scm}, s'assurera que Guile et les modules Guix sont disponibles sur toutes les machines et tentera d'exporter vers la machine et d'importer depuis elle, et rapportera toute erreur survenu pendant le processus." #. type: Plain text -#: doc/guix.texi:1074 +#: doc/guix.texi:1108 msgid "If you want to test a different machine file, just specify it on the command line:" msgstr "Si vous souhaitez tester un fichier de machines différent, spécifiez-le sur la ligne de commande :" #. type: example -#: doc/guix.texi:1077 +#: doc/guix.texi:1111 #, no-wrap msgid "# guix offload test machines-qualif.scm\n" msgstr "# guix offload test machines-qualif.scm\n" #. type: Plain text -#: doc/guix.texi:1081 +#: doc/guix.texi:1115 msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:" msgstr "Enfin, vous pouvez tester un sous-ensemble de machines dont le nom correspond à une expression rationnelle comme ceci :" #. type: example -#: doc/guix.texi:1084 +#: doc/guix.texi:1118 #, no-wrap msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n" msgstr "# guix offload test machines.scm '\\.gnu\\.org$'\n" #. type: cindex -#: doc/guix.texi:1086 +#: doc/guix.texi:1120 #, no-wrap msgid "offload status" msgstr "statut du déchargement" #. type: Plain text -#: doc/guix.texi:1089 +#: doc/guix.texi:1123 msgid "To display the current load of all build hosts, run this command on the main node:" msgstr "Pour afficher la charge actuelle de tous les hôtes de construction, lancez cette commande sur le nœud principal :" #. type: example -#: doc/guix.texi:1092 +#: doc/guix.texi:1126 #, no-wrap msgid "# guix offload status\n" msgstr "# guix offload status\n" #. type: cindex -#: doc/guix.texi:1098 +#: doc/guix.texi:1132 #, no-wrap msgid "SELinux, daemon policy" msgstr "SELinux, politique du démon" #. type: cindex -#: doc/guix.texi:1099 +#: doc/guix.texi:1133 #, no-wrap msgid "mandatory access control, SELinux" msgstr "contrôle d'accès obligatoire, SELinux" #. type: cindex -#: doc/guix.texi:1100 +#: doc/guix.texi:1134 #, no-wrap msgid "security, guix-daemon" msgstr "sécurité, guix-daemon" #. type: Plain text -#: doc/guix.texi:1106 +#: doc/guix.texi:1140 msgid "Guix includes an SELinux policy file at @file{etc/guix-daemon.cil} that can be installed on a system where SELinux is enabled, in order to label Guix files and to specify the expected behavior of the daemon. Since GuixSD does not provide an SELinux base policy, the daemon policy cannot be used on GuixSD." msgstr "Guix inclus un fichier de politique SELniux dans @file{etc/guix-daemon.cil} qui peut être installé sur un système où SELinux est activé pour que les fichiers Guix soient étiquetés et pour spécifier le comportement attendu du démon. Comme GuixSD ne fournit pas de politique SELniux de base, la politique du démon ne peut pas être utilisée sur GuixSD@." #. type: subsubsection -#: doc/guix.texi:1107 +#: doc/guix.texi:1141 #, no-wrap msgid "Installing the SELinux policy" msgstr "Installer la politique SELinux" #. type: cindex -#: doc/guix.texi:1108 +#: doc/guix.texi:1142 #, no-wrap msgid "SELinux, policy installation" msgstr "SELinux, installation de la politique" #. type: Plain text -#: doc/guix.texi:1110 +#: doc/guix.texi:1144 msgid "To install the policy run this command as root:" msgstr "Pour installer la politique, lancez cette commande en root :" #. type: example -#: doc/guix.texi:1113 +#: doc/guix.texi:1147 #, no-wrap msgid "semodule -i etc/guix-daemon.cil\n" msgstr "semodule -i etc/guix-daemon.cil\n" #. type: Plain text -#: doc/guix.texi:1117 +#: doc/guix.texi:1151 msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system." msgstr "Puis ré-étiquetez le système de fichier avec @code{restorecon} ou par un mécanisme différent fournit par votre système." #. type: Plain text -#: doc/guix.texi:1122 +#: doc/guix.texi:1156 msgid "Once the policy is installed, the file system has been relabeled, and the daemon has been restarted, it should be running in the @code{guix_daemon_t} context. You can confirm this with the following command:" msgstr "Une fois la politique installée, le système de fichier ré-étiqueté et le démon redémarré, il devrait être lancé dans le contexte @code{guix_daemon_t}. Vous pouvez le confirmer avec la commande suivante :" #. type: example -#: doc/guix.texi:1125 +#: doc/guix.texi:1159 #, no-wrap msgid "ps -Zax | grep guix-daemon\n" msgstr "ps -Zax | grep guix-daemon\n" #. type: Plain text -#: doc/guix.texi:1130 +#: doc/guix.texi:1164 msgid "Monitor the SELinux log files as you run a command like @code{guix build hello} to convince yourself that SELinux permits all necessary operations." msgstr "Surveillez les fichiers journaux de SELinux pendant que vous lancez une commande comme @code{guix build hello} pour vous convaincre que SELniux permet toutes les opérations nécessaires." #. type: cindex -#: doc/guix.texi:1132 +#: doc/guix.texi:1166 #, no-wrap msgid "SELinux, limitations" msgstr "SELinux, limites" #. type: Plain text -#: doc/guix.texi:1137 +#: doc/guix.texi:1171 msgid "This policy is not perfect. Here is a list of limitations or quirks that should be considered when deploying the provided SELinux policy for the Guix daemon." msgstr "La politique n'et pas parfaite. Voici une liste de limitations et de bizarreries qui vous devriez prendre en compte avant de déployer la politique SELinux fournie pour le démon Guix." #. type: enumerate -#: doc/guix.texi:1144 +#: doc/guix.texi:1178 msgid "@code{guix_daemon_socket_t} isn’t actually used. None of the socket operations involve contexts that have anything to do with @code{guix_daemon_socket_t}. It doesn’t hurt to have this unused label, but it would be preferrable to define socket rules for only this label." msgstr "@code{guix_daemon_socket_t} n'est pas vraiment utilisé. Aucune des opérations sur les sockets n'impliquent de contextes qui ont quoi que ce soit à voir avec @code{guix_daemon_socket_t}. Ça ne fait pas de mal d'avoir une étiquette inutilisée, mais il serait préférable de définir des règles sur les sockets uniquement pour cette étiquette." #. type: enumerate -#: doc/guix.texi:1155 +#: doc/guix.texi:1189 msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links." msgstr "@code{guix gc} ne peut pas accéder à n'importe quel lien vers les profils. Par conception, l'étiquette de fichier de la destination d'un lien symbolique est indépendant de l'étiquette du lien lui-même. Bien que tous les profils sous $localstatedir aient une étiquette, les liens vers ces profils héritent de l'étiquette du répertoire dans lequel ils se trouvent. Pour les liens dans le répertoire personnel cela sera @code{user_home_t}. Mais pour les liens du répertoire personnel de l'utilisateur root, ou @file{/tmp}, ou du répertoire de travail du serveur HTTP, etc, cela ne fonctionnera pas. SELinux empêcherait @code{guix gc} de lire et de suivre ces liens." #. type: enumerate -#: doc/guix.texi:1160 +#: doc/guix.texi:1194 msgid "The daemon’s feature to listen for TCP connections might no longer work. This might require extra rules, because SELinux treats network sockets differently from files." msgstr "La fonctionnalité du démon d'écouter des connexions TCP pourrait ne plus fonctionner. Cela demande des règles supplémentaires car SELinux traite les sockets réseau différemment des fichiers." #. type: enumerate -#: doc/guix.texi:1171 +#: doc/guix.texi:1205 msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain." msgstr "Actuellement tous les fichiers qui correspondent à l'expression rationnelle @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} reçoivent l'étiquette @code{guix_daemon_exec_t} ; cela signifie que @emph{tout} fichier avec ce nom dans n'importe quel profil serait autorisé à se lancer dans le domaine @code{guix_daemon_t}. Ce n'est pas idéal. Un attaquant pourrait construire un paquet qui fournit cet exécutable et convaincre un utilisateur de l'installer et de le lancer, ce qui l'élève dans le domaine @code{guix_daemon_t}. À ce moment SELinux ne pourrait pas l'empêcher d'accéder à des fichiers autorisés pour les processus de ce domaine." #. type: enumerate -#: doc/guix.texi:1179 +#: doc/guix.texi:1213 msgid "We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with @code{guix_daemon_exec_t}, instead of using a broad regular expression. The downside is that root would have to install or upgrade the policy at installation time whenever the Guix package that provides the effectively running @code{guix-daemon} executable is upgraded." msgstr "Nous pourrions générer une politique bien plus restrictive à l'installation, pour que seuls les noms de fichiers @emph{exacts} de l'exécutable @code{guix-daemon} actuellement installé soit étiqueté avec @code{guix_daemon_exec_t}, plutôt que d'utiliser une expression rationnelle plus large. L'inconvénient c'est que root devrait installer ou mettre à jour la politique à l'installation à chaque fois que le paquet Guix qui fournit l'exécutable @code{guix-daemon} effectivement exécuté est mis à jour." #. type: section -#: doc/guix.texi:1182 +#: doc/guix.texi:1216 #, no-wrap msgid "Invoking @command{guix-daemon}" msgstr "Invoquer @command{guix-daemon}" #. type: Plain text -#: doc/guix.texi:1188 +#: doc/guix.texi:1222 msgid "The @command{guix-daemon} program implements all the functionality to access the store. This includes launching build processes, running the garbage collector, querying the availability of a build result, etc. It is normally run as @code{root} like this:" msgstr "Le programme @command{guix-daemon} implémente toutes les fonctionnalités d'accès au dépôt. Cela inclus le lancement des processus de construction, le lancement du ramasse-miettes, la demande de disponibilité des résultats de construction, etc. Il tourne normalement en @code{root} comme ceci :" #. type: Plain text -#: doc/guix.texi:1195 +#: doc/guix.texi:1229 msgid "For details on how to set it up, @pxref{Setting Up the Daemon}." msgstr "Pour des détails sur son paramétrage, @pxref{Paramétrer le démon}." #. type: cindex -#: doc/guix.texi:1197 +#: doc/guix.texi:1231 #, no-wrap msgid "container, build environment" msgstr "conteneur, environnement de construction" #. type: cindex -#: doc/guix.texi:1199 doc/guix.texi:1737 doc/guix.texi:2397 doc/guix.texi:7858 +#: doc/guix.texi:1233 doc/guix.texi:1778 doc/guix.texi:2447 doc/guix.texi:8527 #, no-wrap msgid "reproducible builds" msgstr "constructions reproductibles" #. type: Plain text -#: doc/guix.texi:1211 +#: doc/guix.texi:1245 msgid "By default, @command{guix-daemon} launches build processes under different UIDs, taken from the build group specified with @code{--build-users-group}. In addition, each build process is run in a chroot environment that only contains the subset of the store that the build process depends on, as specified by its derivation (@pxref{Programming Interface, derivation}), plus a set of specific system directories. By default, the latter contains @file{/dev} and @file{/dev/pts}. Furthermore, on GNU/Linux, the build environment is a @dfn{container}: in addition to having its own file system tree, it has a separate mount name space, its own PID name space, network name space, etc. This helps achieve reproducible builds (@pxref{Features})." msgstr "Par défaut, @command{guix-daemon} lance les processus de construction sous différents UID récupérés depuis le groupe de construction spécifié avec @code{--build-users-group}. En plus, chaque processus de construction est lancé dans un environnement chroot qui ne contient que le sous-ensemble du dépôt dont le processus de construction dépend, tel que spécifié par sa dérivation (@pxref{Interface de programmation, dérivation}), plus un ensemble de répertoires systèmes spécifiques. Par défaut ce dernier contient @file{/dev} et @file{/dev/pts}. De plus, sous GNU/Linux, l'environnement de construction est un @dfn{conteneur} : en plus d'avoir sa propre arborescence du système de fichier, elle a un espace de montage séparé, son propre espace de PID, son espace de réseau, etc. Cela aide à obtenir des constructions reproductibles (@pxref{Fonctionnalités})." #. type: Plain text -#: doc/guix.texi:1220 -msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @code{TMPDIR} environment variable; this directory is shared with the container for the duration of the build. Be aware that using a directory other than @file{/tmp} can affect build results---for example, with a longer directory name, a build process that uses Unix-domain sockets might hit the name length limitation for @code{sun_path}, which it would otherwise not hit." -msgstr "Lorsque le démon effectue une construction pour le compte de l'utilisateur, il crée un répertoire sous @file{/tmp} ou sous le répertoire spécifié par sa variable d'environnement @code{TMPDIR}. Ce répertoire est partagé avec le conteneur pendant la durée de la construction. Soyez conscient qu'utiliser un répertoire différent de @file{/tmp} peut affecter les résultats de la construction — par exemple avec un nom de répertoire plus long, un processus de construction qui utiliserait des socket Unix-domain pourrait atteindre la limite de longueur de nom de fichier pour @code{sun_path}, qu'il n'aurait sinon pas atteinte." +#: doc/guix.texi:1251 +msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @code{TMPDIR} environment variable. This directory is shared with the container for the duration of the build, though within the container, the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}." +msgstr "Lorsque le démon effectue une construction pour le compte de l'utilisateur, il crée un répertoire sous @file{/tmp} ou sous le répertoire spécifié par sa variable d'environnement @code{TMPDIR}. Ce répertoire est partagé avec le conteneur pendant la durée de la construction, bien que dans le conteneur, l'arborescence de construction est toujours appelée @file{/tmp/guix-build-@var{name}.drv-0}." #. type: Plain text -#: doc/guix.texi:1224 +#: doc/guix.texi:1255 msgid "The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Invoking guix build, @option{--keep-failed}})." msgstr "Le répertoire de construction est automatiquement supprimé à la fin, à moins que la construction n'ait échoué et que le client ait spécifié @option{--keep-failed} (@pxref{Invoking guix build, @option{--keep-failed}})." #. type: Plain text -#: doc/guix.texi:1226 +#: doc/guix.texi:1261 +msgid "The daemon listens for connections and spawns one sub-process for each session started by a client (one of the @command{guix} sub-commands.) The @command{guix processes} command allows you to get an overview of the activity on your system by viewing each of the active sessions and clients. @xref{Invoking guix processes}, for more information." +msgstr "Le démon écoute les connexions et démarre un sous-processus pour chaque session démarrée par un client (l'une des sous-commandes de @command{guix}). La commande @command{guix processes} vous permet d'obtenir un aperçu de l'activité sur votre système en affichant chaque session et client actif. @xref{Invoking guix processes} pour plus d'informations." + +#. type: Plain text +#: doc/guix.texi:1263 msgid "The following command-line options are supported:" msgstr "Les options en ligne de commande suivantes sont disponibles :" #. type: item -#: doc/guix.texi:1228 +#: doc/guix.texi:1265 #, no-wrap msgid "--build-users-group=@var{group}" msgstr "--build-users-group=@var{groupe}" #. type: table -#: doc/guix.texi:1231 +#: doc/guix.texi:1268 msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})." msgstr "Prendre les utilisateurs de @var{group} pour lancer les processus de construction (@pxref{Paramétrer le démon, utilisateurs de construction})." #. type: item -#: doc/guix.texi:1232 doc/guix.texi:5669 +#: doc/guix.texi:1269 doc/guix.texi:6270 #, no-wrap msgid "--no-substitutes" msgstr "--no-substitutes" #. type: cindex -#: doc/guix.texi:1233 doc/guix.texi:1749 doc/guix.texi:2253 +#: doc/guix.texi:1270 doc/guix.texi:1790 doc/guix.texi:2303 #, no-wrap msgid "substitutes" msgstr "substituts" #. type: table -#: doc/guix.texi:1237 doc/guix.texi:5673 +#: doc/guix.texi:1274 doc/guix.texi:6274 msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})." msgstr "Ne pas utiliser de substitut pour les résultats de la construction. C'est-à-dire, toujours construire localement plutôt que de permettre le téléchargement de binaires pré-construits (@pxref{Substituts})." #. type: table -#: doc/guix.texi:1241 +#: doc/guix.texi:1278 msgid "When the daemon runs with @code{--no-substitutes}, clients can still explicitly enable substitution @i{via} the @code{set-build-options} remote procedure call (@pxref{The Store})." msgstr "Lorsque le démon tourne avec @code{--no-substitutes}, les clients peuvent toujours activer explicitement la substitution @i{via} l'appel de procédure distante @code{set-build-options} (@pxref{The Store})." #. type: item -#: doc/guix.texi:1242 doc/guix.texi:5656 doc/guix.texi:7107 doc/guix.texi:7983 -#: doc/guix.texi:8171 +#: doc/guix.texi:1279 doc/guix.texi:6257 doc/guix.texi:7769 doc/guix.texi:8652 +#: doc/guix.texi:8840 #, no-wrap msgid "--substitute-urls=@var{urls}" msgstr "--substitute-urls=@var{urls}" #. type: anchor{#1} -#: doc/guix.texi:1248 +#: doc/guix.texi:1285 msgid "daemon-substitute-urls" msgstr "daemon-substitute-urls" #. type: table -#: doc/guix.texi:1248 +#: doc/guix.texi:1285 msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{https://mirror.hydra.gnu.org https://hydra.gnu.org} is used (@code{mirror.hydra.gnu.org} is a mirror of @code{hydra.gnu.org})." msgstr "Considèrer @var{urls} comme la liste séparée par des espaces des URL des sources de substituts par défaut. Lorsque cette option est omise, @indicateurl{https://mirror.hydra.gnu.org https://hydra.gnu.org} est utilisé (@code{mirror.hydra.gnu.org} est un mirroire de @code{hydra.gnu.org})." #. type: table -#: doc/guix.texi:1251 +#: doc/guix.texi:1288 msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})." msgstr "Cela signifie que les substituts sont téléchargés depuis les @var{urls}, tant qu'ils sont signés par une signature de confiance (@pxref{Substituts})." #. type: item -#: doc/guix.texi:1253 doc/guix.texi:5694 +#: doc/guix.texi:1290 doc/guix.texi:6295 #, no-wrap msgid "--no-build-hook" msgstr "--no-build-hook" #. type: table -#: doc/guix.texi:1255 +#: doc/guix.texi:1292 msgid "Do not use the @dfn{build hook}." msgstr "Ne pas utiliser le @dfn{crochet de construction}." #. type: table -#: doc/guix.texi:1259 +#: doc/guix.texi:1296 msgid "The build hook is a helper program that the daemon can start and to which it submits build requests. This mechanism is used to offload builds to other machines (@pxref{Daemon Offload Setup})." msgstr "Le crochet de construction est un programme d'aide qui le démon peut démarrer et auquel soumettre les requêtes de construction. Ce mécanisme est utilisé pour décharger les constructions à d'autres machines (@pxref{Daemon Offload Setup})." #. type: item -#: doc/guix.texi:1260 +#: doc/guix.texi:1297 #, no-wrap msgid "--cache-failures" msgstr "--cache-failures" #. type: table -#: doc/guix.texi:1262 +#: doc/guix.texi:1299 msgid "Cache build failures. By default, only successful builds are cached." msgstr "Mettre les échecs de construction en cache. Par défaut, seules les constructions réussies sont mises en cache." #. type: table -#: doc/guix.texi:1267 +#: doc/guix.texi:1304 msgid "When this option is used, @command{guix gc --list-failures} can be used to query the set of store items marked as failed; @command{guix gc --clear-failures} removes store items from the set of cached failures. @xref{Invoking guix gc}." msgstr "Lorsque cette option est utilisée, @command{guix gc --list-failures} peut être utilisé pour demander l'ensemble des éléments du dépôt marqués comme échoués ; @command{guix gc --clear-failures} vide la liste des éléments aillant échoué. @xref{Invoking guix gc}." #. type: item -#: doc/guix.texi:1268 doc/guix.texi:5718 +#: doc/guix.texi:1305 doc/guix.texi:6319 #, no-wrap msgid "--cores=@var{n}" msgstr "--cores=@var{n}" #. type: itemx -#: doc/guix.texi:1269 doc/guix.texi:5719 +#: doc/guix.texi:1306 doc/guix.texi:6320 #, no-wrap msgid "-c @var{n}" msgstr "-c @var{n}" #. type: table -#: doc/guix.texi:1272 +#: doc/guix.texi:1309 msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available." msgstr "Utiliser @var{n} cœurs CPU pour construire chaque dérivation ; @code{0} signifie autant que possible." #. type: table -#: doc/guix.texi:1276 +#: doc/guix.texi:1313 msgid "The default value is @code{0}, but it may be overridden by clients, such as the @code{--cores} option of @command{guix build} (@pxref{Invoking guix build})." msgstr "La valeur par défaut est @code{0}, mais elle peut être modifiée par les clients comme avec l'option @code{--cores} de @command{guix build} (@pxref{Invoking guix build})." #. type: table -#: doc/guix.texi:1280 +#: doc/guix.texi:1317 msgid "The effect is to define the @code{NIX_BUILD_CORES} environment variable in the build process, which can then use it to exploit internal parallelism---for instance, by running @code{make -j$NIX_BUILD_CORES}." msgstr "L'effet est de définir la variable d'environnement @code{NIX_BUILD_CORES} dans le processus de construction, qui peut ensuite l'utiliser pour exploiter le parallélisme en interne — par exemple en lançant @code{make -j$NIX_BUILD_CORES}." #. type: item -#: doc/guix.texi:1281 doc/guix.texi:5723 +#: doc/guix.texi:1318 doc/guix.texi:6324 #, no-wrap msgid "--max-jobs=@var{n}" msgstr "--max-jobs=@var{n}" #. type: itemx -#: doc/guix.texi:1282 doc/guix.texi:5724 +#: doc/guix.texi:1319 doc/guix.texi:6325 #, no-wrap msgid "-M @var{n}" msgstr "-M @var{n}" #. type: table -#: doc/guix.texi:1287 +#: doc/guix.texi:1324 msgid "Allow at most @var{n} build jobs in parallel. The default value is @code{1}. Setting it to @code{0} means that no builds will be performed locally; instead, the daemon will offload builds (@pxref{Daemon Offload Setup}), or simply fail." msgstr "Permettre au plus @var{n} travaux de construction en parallèle. La valeur par défaut est @code{1}. La mettre à @code{0} signifie qu'aucune construction ne sera effectuée localement ; à la place, le démon déchargera les constructions (@pxref{Daemon Offload Setup}) ou échouera." #. type: item -#: doc/guix.texi:1288 doc/guix.texi:5699 +#: doc/guix.texi:1325 doc/guix.texi:6300 #, no-wrap msgid "--max-silent-time=@var{seconds}" msgstr "--max-silent-time=@var{secondes}" #. type: table -#: doc/guix.texi:1291 doc/guix.texi:5702 +#: doc/guix.texi:1328 doc/guix.texi:6303 msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure." msgstr "Lorsque le processus de construction ou de substitution restent silencieux pendant plus de @var{secondes}, le terminer et rapporter une erreur de construction." #. type: table -#: doc/guix.texi:1293 doc/guix.texi:1302 +#: doc/guix.texi:1330 doc/guix.texi:1339 msgid "The default value is @code{0}, which disables the timeout." msgstr "La valeur par défaut est @code{0}, ce qui désactive le délai." #. type: table -#: doc/guix.texi:1296 +#: doc/guix.texi:1333 msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @code{--max-silent-time}})." msgstr "La valeur spécifiée ici peut être modifiée par les clients (@pxref{Common Build Options, @code{--max-silent-time}})." #. type: item -#: doc/guix.texi:1297 doc/guix.texi:5706 +#: doc/guix.texi:1334 doc/guix.texi:6307 #, no-wrap msgid "--timeout=@var{seconds}" msgstr "--timeout=@var{secondes}" #. type: table -#: doc/guix.texi:1300 doc/guix.texi:5709 +#: doc/guix.texi:1337 doc/guix.texi:6310 msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure." msgstr "De même, lorsque le processus de construction ou de substitution dure plus de @var{secondes}, le terminer et rapporter une erreur de construction." #. type: table -#: doc/guix.texi:1305 +#: doc/guix.texi:1342 msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @code{--timeout}})." msgstr "La valeur spécifiée ici peut être modifiée par les clients (@pxref{Common Build Options, @code{--timeout}})." #. type: item -#: doc/guix.texi:1306 +#: doc/guix.texi:1343 #, no-wrap msgid "--rounds=@var{N}" msgstr "--rounds=@var{N}" #. type: table -#: doc/guix.texi:1311 +#: doc/guix.texi:1348 msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical. Note that this setting can be overridden by clients such as @command{guix build} (@pxref{Invoking guix build})." msgstr "Construire chaque dérivations @var{N} fois à la suite, et lever une erreur si les résultats de construction consécutifs ne sont pas identiques bit-à-bit. Remarquez que ce paramètre peut être modifié par les clients comme @command{guix build} (@pxref{Invoking guix build})." #. type: table -#: doc/guix.texi:1315 doc/guix.texi:6008 +#: doc/guix.texi:1352 doc/guix.texi:6608 msgid "When used in conjunction with @option{--keep-failed}, the differing output is kept in the store, under @file{/gnu/store/@dots{}-check}. This makes it easy to look for differences between the two results." msgstr "Lorsqu'utilisé avec @option{--keep-failed}, la sourtie différente est gardée dans le dépôt sous @file{/gnu/store/@dots{}-check}. Cela rend plus facile l'étude des différences entre les deux résultats." #. type: item -#: doc/guix.texi:1316 +#: doc/guix.texi:1353 #, no-wrap msgid "--debug" msgstr "--debug" #. type: table -#: doc/guix.texi:1318 +#: doc/guix.texi:1355 msgid "Produce debugging output." msgstr "Produire une sortie de débogage." #. type: table -#: doc/guix.texi:1322 +#: doc/guix.texi:1359 msgid "This is useful to debug daemon start-up issues, but then it may be overridden by clients, for example the @code{--verbosity} option of @command{guix build} (@pxref{Invoking guix build})." msgstr "Cela est utile pour déboguer des problèmes de démarrage du démon, mais ensuite elle peut être modifiée par les clients, par exemple par l'option @code{--verbosity} de @command{guix build} (@pxref{Invoking guix build})." #. type: item -#: doc/guix.texi:1323 +#: doc/guix.texi:1360 #, no-wrap msgid "--chroot-directory=@var{dir}" msgstr "--chroot-directory=@var{rép}" #. type: table -#: doc/guix.texi:1325 +#: doc/guix.texi:1362 msgid "Add @var{dir} to the build chroot." msgstr "Ajouter @var{rép} au chroot de construction" #. type: table -#: doc/guix.texi:1331 +#: doc/guix.texi:1368 msgid "Doing this may change the result of build processes---for instance if they use optional dependencies found in @var{dir} when it is available, and not otherwise. For that reason, it is not recommended to do so. Instead, make sure that each derivation declares all the inputs that it needs." msgstr "Cela peut changer le résultat d'un processus de construction — par exemple s'il utilise une dépendance facultative trouvée dans @var{rép} lorsqu'elle est disponible ou pas sinon. Pour cette raison, il n'est pas recommandé d'utiliser cette option. À la place, assurez-vous que chaque dérivation déclare toutes les entrées dont elle a besoin." #. type: item -#: doc/guix.texi:1332 +#: doc/guix.texi:1369 #, no-wrap msgid "--disable-chroot" msgstr "--disable-chroot" #. type: table -#: doc/guix.texi:1334 +#: doc/guix.texi:1371 msgid "Disable chroot builds." msgstr "Désactive les constructions dans un chroot." #. type: table -#: doc/guix.texi:1339 +#: doc/guix.texi:1376 msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account." msgstr "Utiliser cette option n'est pas recommandé car, de nouveau, elle permet aux processus de construction d'accéder à des dépendances non déclarées. Elle est nécessaire cependant lorsque @command{guix-daemon} tourne en tant qu'utilisateur non privilégié." #. type: item -#: doc/guix.texi:1340 +#: doc/guix.texi:1377 #, no-wrap msgid "--log-compression=@var{type}" msgstr "--log-compression=@var{type}" #. type: table -#: doc/guix.texi:1343 +#: doc/guix.texi:1380 msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}." msgstr "Compresser les journaux de construction suivant le @var{type}, parmi @code{gzip}, @code{bzip2} ou @code{none}." #. type: table -#: doc/guix.texi:1347 +#: doc/guix.texi:1384 msgid "Unless @code{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with bzip2 by default." msgstr "À moins que @code{--lose-logs} ne soit utilisé, tous les journaux de construction sont gardés dans @var{localstatedir}. Pour gagner de la place, le démon les compresse automatiquement avec bzip2 par défaut." #. type: item -#: doc/guix.texi:1348 +#: doc/guix.texi:1385 #, no-wrap msgid "--disable-deduplication" msgstr "--disable-deduplication" #. type: cindex -#: doc/guix.texi:1349 doc/guix.texi:2713 +#: doc/guix.texi:1386 doc/guix.texi:2763 #, no-wrap msgid "deduplication" msgstr "déduplication" #. type: table -#: doc/guix.texi:1351 +#: doc/guix.texi:1388 msgid "Disable automatic file ``deduplication'' in the store." msgstr "Désactiver la « déduplication » automatique des fichiers dans le dépôt." #. type: table -#: doc/guix.texi:1358 +#: doc/guix.texi:1395 msgid "By default, files added to the store are automatically ``deduplicated'': if a newly added file is identical to another one found in the store, the daemon makes the new file a hard link to the other file. This can noticeably reduce disk usage, at the expense of slightly increased input/output load at the end of a build process. This option disables this optimization." msgstr "Par défaut, les fichiers ajoutés au dépôt sont automatiquement « dédupliqués » : si un nouveau fichier est identique à un autre fichier trouvé dans le dépôt, le démon en fait un lien en dur vers l'autre fichier. Cela réduit considérablement l'utilisation de l'espace disque au prix d'une charge en entrée/sortie plus grande à la fin d'un processus de construction. Cette option désactive cette optimisation." #. type: item -#: doc/guix.texi:1359 +#: doc/guix.texi:1396 #, no-wrap msgid "--gc-keep-outputs[=yes|no]" msgstr "--gc-keep-outputs[=yes|no]" #. type: table -#: doc/guix.texi:1362 +#: doc/guix.texi:1399 msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations." msgstr "Dire si le ramasse-miettes (GC) doit garder les sorties des dérivations utilisées." #. type: cindex -#: doc/guix.texi:1363 doc/guix.texi:2548 +#: doc/guix.texi:1400 doc/guix.texi:2598 #, no-wrap msgid "GC roots" msgstr "racines du GC" #. type: cindex -#: doc/guix.texi:1364 doc/guix.texi:2549 +#: doc/guix.texi:1401 doc/guix.texi:2599 #, no-wrap msgid "garbage collector roots" msgstr "racines du ramasse-miettes" #. type: table -#: doc/guix.texi:1369 -msgid "When set to ``yes'', the GC will keep the outputs of any live derivation available in the store---the @code{.drv} files. The default is ``no'', meaning that derivation outputs are kept only if they are GC roots. @xref{Invoking guix gc}, for more on GC roots." -msgstr "Lorsqu'elle est à « yes », le GC gardera les sorties de toutes les dérivations — les fichiers @code{.drv} — utilisées dans le dépôt. La valeur par défaut est « no », ce qui signifie que les sorties des dérivations ne sont gardées que s'il s'agit de racines du GC@. @xref{Invoking guix gc} pour plus d'informations sur les racines du GC@." +#: doc/guix.texi:1406 +msgid "When set to ``yes'', the GC will keep the outputs of any live derivation available in the store---the @code{.drv} files. The default is ``no'', meaning that derivation outputs are kept only if they are reachable from a GC root. @xref{Invoking guix gc}, for more on GC roots." +msgstr "Lorsqu'elle est à « yes », le GC gardera les sorties de toutes les dérivations — les fichiers @code{.drv} — accessibles dans le dépôt. La valeur par défaut est « no », ce qui signifie que les sorties des dérivations ne sont gardées que si elles sont accessibles à partir d'une racine du GC. @xref{Invoking guix gc} pour plus d'informations sur les racines du GC." #. type: item -#: doc/guix.texi:1370 +#: doc/guix.texi:1407 #, no-wrap msgid "--gc-keep-derivations[=yes|no]" msgstr "--gc-keep-derivations[=yes|no]" #. type: table -#: doc/guix.texi:1373 +#: doc/guix.texi:1410 msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs." msgstr "Dire si le ramasse-miettes (GC) doit garder les dérivations correspondant à des sorties utilisées." #. type: table -#: doc/guix.texi:1378 +#: doc/guix.texi:1415 msgid "When set to ``yes'', as is the case by default, the GC keeps derivations---i.e., @code{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to ``no'' saves a bit of disk space." msgstr "Lorsqu'elle est à « yes », comme c'est le cas par défaut, le GC garde les dérivations — c.-à-d.@: les fichiers @file{.drv} — tant qu'au moins une de leurs sorties est utilisée. Cela permet aux utilisateurs de garder une trace de l'origine des éléments du dépôt. Le mettre à « no » préserve un peu d'espace disque." #. type: table -#: doc/guix.texi:1385 -msgid "Note that when both @code{--gc-keep-derivations} and @code{--gc-keep-outputs} are used, the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are live. This is convenient for developers since it saves rebuilds or downloads." -msgstr "Remarquez qu'avec @code{--gc-keep-derivations} et @code{--gc-keep-outputs}, le GC gardera tous les prérequis de construction (les sources, le compilateur, les bibliothèques, et les autres outils de construction) des objets utilisés dans le dépôt, indépendamment du fait qu'ils soient ou non utilisés. Cela est pratique pour les développeurs car ça leur fait gagner du temps de reconstruction et de téléchargement." +#: doc/guix.texi:1423 +msgid "In this way, setting @code{--gc-keep-derivations} to ``yes'' causes liveness to flow from outputs to derivations, and setting @code{--gc-keep-outputs} to ``yes'' causes liveness to flow from derivations to outputs. When both are set to ``yes'', the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads." +msgstr "De cette manière, avec @code{--gc-keep-derivations} à « yes », l'accessibilité des sorties s'étend des sorties aux dérivations et avec @code{--gc-keep-outputs} à « yes », elle s'étend des dérivations aux sorties. Quand les deux options sont à « yes », le GC gardera tous les prérequis de construction (les sources, le compilateur, les bibliothèques, et les autres outils de construction) des objets accessibles dans le dépôt, indépendamment du fait qu'ils soient ou non accessibles depuis une racine du GC. Cela est pratique pour les développeurs car ça leur fait gagner du temps de reconstruction et de téléchargement." #. type: item -#: doc/guix.texi:1386 +#: doc/guix.texi:1424 #, no-wrap msgid "--impersonate-linux-2.6" msgstr "--impersonate-linux-2.6" #. type: table -#: doc/guix.texi:1389 +#: doc/guix.texi:1427 msgid "On Linux-based systems, impersonate Linux 2.6. This means that the kernel's @code{uname} system call will report 2.6 as the release number." msgstr "Sur les système basés sur Linux, se faire passer pour Linux 2.6. Cela signifie que l'appel système du noyau @code{uname} rapportera 2.6 comme numéro de version." #. type: table -#: doc/guix.texi:1392 +#: doc/guix.texi:1430 msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number." msgstr "Cela peut être utile pour construire des programmes qui dépendent (généralement sans fondement) du numéro de version du noyau." #. type: item -#: doc/guix.texi:1393 +#: doc/guix.texi:1431 #, no-wrap msgid "--lose-logs" msgstr "--lose-logs" #. type: table -#: doc/guix.texi:1396 +#: doc/guix.texi:1434 msgid "Do not keep build logs. By default they are kept under @code{@var{localstatedir}/guix/log}." msgstr "Ne pas garder les journaux de construction. Par défaut ils sont gardés dans @code{@var{localstatedir}/guix/log}." #. type: item -#: doc/guix.texi:1397 doc/guix.texi:3009 doc/guix.texi:5954 doc/guix.texi:7134 -#: doc/guix.texi:7542 doc/guix.texi:8176 doc/guix.texi:20532 -#: doc/guix.texi:21076 +#: doc/guix.texi:1435 doc/guix.texi:3468 doc/guix.texi:6554 doc/guix.texi:7796 +#: doc/guix.texi:7979 doc/guix.texi:8211 doc/guix.texi:8845 +#: doc/guix.texi:21977 doc/guix.texi:22534 #, no-wrap msgid "--system=@var{system}" msgstr "--system=@var{système}" #. type: table -#: doc/guix.texi:1401 +#: doc/guix.texi:1439 msgid "Assume @var{system} as the current system type. By default it is the architecture/kernel pair found at configure time, such as @code{x86_64-linux}." msgstr "Supposer que @var{système} est le type de système actuel. Par défaut c'est la paire architecture-noyau trouvée à la configuration, comme @code{x86_64-linux}." #. type: item -#: doc/guix.texi:1402 +#: doc/guix.texi:1440 doc/guix.texi:6114 #, no-wrap msgid "--listen=@var{endpoint}" msgstr "--listen=@var{extrémité}" #. type: table -#: doc/guix.texi:1407 +#: doc/guix.texi:1445 msgid "Listen for connections on @var{endpoint}. @var{endpoint} is interpreted as the file name of a Unix-domain socket if it starts with @code{/} (slash sign). Otherwise, @var{endpoint} is interpreted as a host name or host name and port to listen to. Here are a few examples:" msgstr "Écouter les connexions sur @var{extrémité}. @var{extrémité} est interprété comme un nom de fichier d'un socket Unix-domain s'il commence par @code{/} (barre oblique). Sinon, @var{extrémité} est interprété comme un nom de domaine ou d'hôte et un port sur lequel écouter. Voici quelques exemples :" #. type: item -#: doc/guix.texi:1409 +#: doc/guix.texi:1447 #, no-wrap msgid "--listen=/gnu/var/daemon" msgstr "--listen=/gnu/var/daemon" #. type: table -#: doc/guix.texi:1412 +#: doc/guix.texi:1450 msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed." msgstr "Écouter les connexions sur le socket Unix-domain @file{/gnu/var/daemon} en le créant si besoin." #. type: item -#: doc/guix.texi:1413 +#: doc/guix.texi:1451 #, no-wrap msgid "--listen=localhost" msgstr "--listen=localhost" #. type: cindex -#: doc/guix.texi:1414 doc/guix.texi:4373 +#: doc/guix.texi:1452 doc/guix.texi:4908 #, no-wrap msgid "daemon, remote access" msgstr "démon, accès distant" #. type: cindex -#: doc/guix.texi:1415 doc/guix.texi:4374 +#: doc/guix.texi:1453 doc/guix.texi:4909 #, no-wrap msgid "remote access to the daemon" msgstr "accès distant au démon" #. type: cindex -#: doc/guix.texi:1416 doc/guix.texi:4375 +#: doc/guix.texi:1454 doc/guix.texi:4910 #, no-wrap msgid "daemon, cluster setup" msgstr "démon, paramètres de grappes" #. type: cindex -#: doc/guix.texi:1417 doc/guix.texi:4376 +#: doc/guix.texi:1455 doc/guix.texi:4911 #, no-wrap msgid "clusters, daemon setup" msgstr "grappes, paramètres du démon" #. type: table -#: doc/guix.texi:1420 +#: doc/guix.texi:1458 msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146." msgstr "Écouter les connexions TCP sur l'interface réseau correspondant à @code{localhost} sur le port 44146." #. type: item -#: doc/guix.texi:1421 +#: doc/guix.texi:1459 #, no-wrap msgid "--listen=128.0.0.42:1234" msgstr "--listen=128.0.0.42:1234" #. type: table -#: doc/guix.texi:1424 +#: doc/guix.texi:1462 msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234." msgstr "Écouter les connexions TCP sur l'interface réseau correspondant à @code{128.0.0.42} sur le port 1234." #. type: table -#: doc/guix.texi:1431 +#: doc/guix.texi:1469 msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @code{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." msgstr "Cette option peut être répétée plusieurs fois, auquel cas @command{guix-daemon} accepte des connexions sur toutes les extrémités spécifiées. Les utilisateurs peuvent dire aux commandes clientes à quelle extrémité se connecter en paramétrant la variable d'environnement @code{GUIX_DAEMON_SOCKET} (@pxref{The Store, @code{GUIX_DAEMON_SOCKET}})." #. type: quotation -#: doc/guix.texi:1432 doc/guix.texi:2330 doc/guix.texi:2844 doc/guix.texi:3071 -#: doc/guix.texi:4343 doc/guix.texi:4411 doc/guix.texi:5959 doc/guix.texi:5971 -#: doc/guix.texi:7434 doc/guix.texi:8061 doc/guix.texi:8279 doc/guix.texi:8490 -#: doc/guix.texi:11758 doc/guix.texi:20859 doc/guix.texi:21057 -#: doc/guix.texi:21144 doc/guix.texi:21988 +#: doc/guix.texi:1470 doc/guix.texi:2380 doc/guix.texi:3090 doc/guix.texi:3303 +#: doc/guix.texi:3533 doc/guix.texi:4878 doc/guix.texi:4946 doc/guix.texi:6559 +#: doc/guix.texi:6571 doc/guix.texi:8103 doc/guix.texi:8730 doc/guix.texi:9003 +#: doc/guix.texi:9215 doc/guix.texi:9364 doc/guix.texi:12705 +#: doc/guix.texi:17530 doc/guix.texi:22317 doc/guix.texi:22515 +#: doc/guix.texi:22602 doc/guix.texi:23505 #, no-wrap msgid "Note" msgstr "Remarque" #. type: quotation -#: doc/guix.texi:1438 +#: doc/guix.texi:1476 msgid "The daemon protocol is @emph{unauthenticated and unencrypted}. Using @code{--listen=@var{host}} is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon. In other cases where remote access to the daemon is needed, we recommend using Unix-domain sockets along with SSH." msgstr "Le protocole du démon est @emph{non authentifié et non chiffré}. Utiliser @code{--listen=@var{host}} est adapté sur des réseaux locaux, comme pour des grappes de serveurs, où seuls des nœuds de confiance peuvent se connecter au démon de construction. Dans les autres cas où l'accès à distance au démon est requis, nous conseillons d'utiliser un socket Unix-domain avec SSH@." #. type: table -#: doc/guix.texi:1443 +#: doc/guix.texi:1481 msgid "When @code{--listen} is omitted, @command{guix-daemon} listens for connections on the Unix-domain socket located at @file{@var{localstatedir}/guix/daemon-socket/socket}." msgstr "Lorsque @code{--listen} est omis, @command{guix-daemon} écoute les connexions sur le socket Unix-domain situé à @file{@var{localstatedir}/guix/daemon-socket/socket}." #. type: Plain text -#: doc/guix.texi:1453 +#: doc/guix.texi:1491 msgid "When using Guix on top of GNU/Linux distribution other than GuixSD---a so-called @dfn{foreign distro}---a few additional steps are needed to get everything in place. Here are some of them." msgstr "Lorsque vous utilisez Guix par dessus une distribution GNU/Linux différente de GuixSD — ce qu'on appelle une @dfn{distro externe} — quelques étapes supplémentaires sont requises pour que tout soit en place. En voici certaines." #. type: anchor{#1} -#: doc/guix.texi:1457 +#: doc/guix.texi:1495 msgid "locales-and-locpath" msgstr "locales-and-locpath" #. type: cindex -#: doc/guix.texi:1457 +#: doc/guix.texi:1495 #, no-wrap msgid "locales, when not on GuixSD" msgstr "régionalisation, en dehors de GuixSD" #. type: vindex -#: doc/guix.texi:1458 doc/guix.texi:9777 +#: doc/guix.texi:1496 doc/guix.texi:10533 #, no-wrap msgid "LOCPATH" msgstr "LOCPATH" #. type: vindex -#: doc/guix.texi:1459 +#: doc/guix.texi:1497 #, no-wrap msgid "GUIX_LOCPATH" msgstr "GUIX_LOCPATH" #. type: Plain text -#: doc/guix.texi:1464 +#: doc/guix.texi:1502 msgid "Packages installed @i{via} Guix will not use the locale data of the host system. Instead, you must first install one of the locale packages available with Guix and then define the @code{GUIX_LOCPATH} environment variable:" msgstr "Les paquets installés @i{via} Guix n'utiliseront pas les données de régionalisation du système hôte. À la place, vous devrez d'abord installer l'un des paquets linguistiques disponibles dans Guix puis définir la variable d'environnement @code{GUIX_LOCPATH} :" #. type: example -#: doc/guix.texi:1468 +#: doc/guix.texi:1506 #, no-wrap msgid "" "$ guix package -i glibc-locales\n" @@ -4231,428 +4362,445 @@ msgstr "" "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n" #. type: Plain text -#: doc/guix.texi:1474 +#: doc/guix.texi:1512 msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 110@tie{}MiB. Alternatively, the @code{glibc-utf8-locales} is smaller but limited to a few UTF-8 locales." msgstr "Remarquez que le paquet @code{glibc-locales} contient les données pour tous les environnement linguistiques supportés par la GNU@tie{}libc et pèse environ 110@tie{}Mo. Autrement, les @code{glibc-utf8-locales} est plus petit mais limité à quelques environnements UTF-8." #. type: Plain text -#: doc/guix.texi:1478 +#: doc/guix.texi:1516 msgid "The @code{GUIX_LOCPATH} variable plays a role similar to @code{LOCPATH} (@pxref{Locale Names, @code{LOCPATH},, libc, The GNU C Library Reference Manual}). There are two important differences though:" msgstr "La variable @code{GUIX_LOCPATH} joue un rôle similaire à @code{LOCPATH} (@pxref{Locale Names, @code{LOCPATH},, libc, The GNU C Library Reference Manual}). Il y a deux différences importantes cependant :" #. type: enumerate -#: doc/guix.texi:1485 +#: doc/guix.texi:1523 msgid "@code{GUIX_LOCPATH} is honored only by the libc in Guix, and not by the libc provided by foreign distros. Thus, using @code{GUIX_LOCPATH} allows you to make sure the programs of the foreign distro will not end up loading incompatible locale data." msgstr "@code{GUIX_LOCPATH} n'est compris que par la libc dans Guix et pas par la libc fournie par les distros externes. Ainsi, utiliser @code{GUIX_LOCPATH} vous permet de vous assurer que les programmes de la distro externe ne chargeront pas de données linguistiques incompatibles." #. type: enumerate -#: doc/guix.texi:1492 +#: doc/guix.texi:1530 msgid "libc suffixes each entry of @code{GUIX_LOCPATH} with @code{/X.Y}, where @code{X.Y} is the libc version---e.g., @code{2.22}. This means that, should your Guix profile contain a mixture of programs linked against different libc version, each libc version will only try to load locale data in the right format." msgstr "La libc ajoute un suffixe @code{/X.Y} à chaque entrée de @code{GUIX_LOCPATH}, où @code{X.Y} est la version de la libc — p.@: ex.@: @code{2.22}. Cela signifie que, si votre profile Guix contient un mélange de programmes liés avec des versions différentes de la libc, chaque version de la libc essaiera de charger les environnements linguistiques dans le bon format." #. type: Plain text -#: doc/guix.texi:1496 +#: doc/guix.texi:1534 msgid "This is important because the locale data format used by different libc versions may be incompatible." msgstr "Cela est important car le format des données linguistiques utilisés par différentes version de la libc peuvent être incompatibles." #. type: cindex -#: doc/guix.texi:1499 +#: doc/guix.texi:1537 #, no-wrap msgid "name service switch, glibc" msgstr "name service switch, glibc" #. type: cindex -#: doc/guix.texi:1500 +#: doc/guix.texi:1538 #, no-wrap msgid "NSS (name service switch), glibc" msgstr "NSS (name service switch), glibc" #. type: cindex -#: doc/guix.texi:1501 +#: doc/guix.texi:1539 #, no-wrap msgid "nscd (name service caching daemon)" msgstr "nscd (name service caching daemon)" #. type: cindex -#: doc/guix.texi:1502 +#: doc/guix.texi:1540 #, no-wrap msgid "name service caching daemon (nscd)" msgstr "name service caching daemon (nscd)" #. type: Plain text -#: doc/guix.texi:1509 +#: doc/guix.texi:1547 msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why." msgstr "Lorsque vous utilisez Guix sur une distro externe, nous @emph{recommandons fortement} que ce système fasse tourner le @dfn{démon de cache de service de noms} de la bibliothèque C de GNU, @command{nscd}, qui devrait écouter sur le socket @file{/var/run/nscd/socket}. Sans cela, les applications installées avec Guix peuvent échouer à résoudre des noms d'hôtes ou d'utilisateurs, ou même planter. Les paragraphes suivants expliquent pourquoi." #. type: file{#1} -#: doc/guix.texi:1510 +#: doc/guix.texi:1548 #, no-wrap msgid "nsswitch.conf" msgstr "nsswitch.conf" #. type: Plain text -#: doc/guix.texi:1515 +#: doc/guix.texi:1553 msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." msgstr "La bibliothèque C de GNU implémente un @dfn{name service switch} (NSS), qui est un mécanisme d'extension pour les « résolutions de noms » en général : résolution de nom d'hôte, de compte utilisateur et plus (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})." #. type: cindex -#: doc/guix.texi:1516 +#: doc/guix.texi:1554 #, no-wrap msgid "Network information service (NIS)" msgstr "Network information service (NIS)" #. type: cindex -#: doc/guix.texi:1517 +#: doc/guix.texi:1555 #, no-wrap msgid "NIS (Network information service)" msgstr "NIS (Network information service)" #. type: Plain text -#: doc/guix.texi:1526 +#: doc/guix.texi:1564 msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})." msgstr "Comme il est extensible, NSS supporte des @dfn{greffons} qui fournissent une nouvelle implémentation de résolution de nom : par exemple le greffon @code{nss-mdns} permet la résolution de noms d'hôtes en @code{.local}, le greffon @code{nis} permet la résolution de comptes utilisateurs avec le Network Information Service (NIS), etc. Ces « services de recherches » supplémentaires sont configurés au niveau du système dans @file{/etc/nsswitch.conf}, et tous les programmes qui tournent sur ce système honorent ces paramètres (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})" #. type: Plain text -#: doc/guix.texi:1536 +#: doc/guix.texi:1574 msgid "When they perform a name lookup---for instance by calling the @code{getaddrinfo} function in C---applications first try to connect to the nscd; on success, nscd performs name lookups on their behalf. If the nscd is not running, then they perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services---the @file{libnss_*.so} files---are @code{dlopen}'d, but they may come from the host system's C library, rather than from the C library the application is linked against (the C library coming from Guix)." msgstr "Lorsqu'ils essayent d'effectuer une résolution de nom — par exemple en appelant la fonction @code{getaddrinfo} en C — les applications essayent d'abord de se connecter au nscd ; en cas de réussite, nscd effectue la résolution de nom pour eux. Si le nscd ne tourne pas, alors ils effectue la résolution eux-même, en changeant les service de résolution dans leur propre espace d'adressage et en le lançant. Ce services de résolution de noms — les fichiers @file{libnns_*.so} — sont @code{dlopen}és mais ils peuvent provenir de la bibliothèque C du système, plutôt que de la bibliothèque C à laquelle l'application est liée (la bibliothèque C de Guix)." #. type: Plain text -#: doc/guix.texi:1541 +#: doc/guix.texi:1579 msgid "And this is where the problem is: if your application is linked against Guix's C library (say, glibc 2.24) and tries to load NSS plugins from another C library (say, @code{libnss_mdns.so} for glibc 2.22), it will likely crash or have its name lookups fail unexpectedly." msgstr "Et c'est là que se trouve le problème : si votre application est liée à la bibliothèque C de Guix (disons, glibc-2.24) et essaye de charger les greffons NSS d'une autre bibliothèque C (disons, @code{libnss_mdns.so} pour glibc-2.22), il est très probable qu'elle plante ou que sa résolution de nom échoue de manière inattendue." #. type: Plain text -#: doc/guix.texi:1546 +#: doc/guix.texi:1584 msgid "Running @command{nscd} on the system, among other advantages, eliminates this binary incompatibility problem because those @code{libnss_*.so} files are loaded in the @command{nscd} process, not in applications themselves." msgstr "Lancer @command{nscd} sur le système, entre autres avantages, élimine ce problème d'incompatibilité binaire car ces fichiers @code{libnss_*.so} sont chargés par le processus @command{nscd}, pas par l'application elle-même." #. type: subsection -#: doc/guix.texi:1547 +#: doc/guix.texi:1585 #, no-wrap msgid "X11 Fonts" msgstr "Polices X11" #. type: cindex -#: doc/guix.texi:1549 doc/guix.texi:22554 +#: doc/guix.texi:1587 doc/guix.texi:24079 #, no-wrap msgid "fonts" msgstr "polices" #. type: Plain text -#: doc/guix.texi:1557 +#: doc/guix.texi:1595 msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont-ttf}." msgstr "La majorité des applications graphiques utilisent fontconfig pour trouver et charger les police et effectuer le rendu côté client X11. Le paquet @code{fontconfig} dans Guix cherche les polices dans @file{$HOME/.guix-profile} par défaut. Ainsi, pour permettre aux applications graphiques installées avec Guix d'afficher des polices, vous devez aussi installer des polices avec Guix. Les paquets de polices essentiels sont @code{gs-fonts}, @code{font-dejavu} et @code{font-gnu-freefont-ttf}." #. type: Plain text -#: doc/guix.texi:1564 +#: doc/guix.texi:1602 msgid "To display text written in Chinese languages, Japanese, or Korean in graphical applications, consider installing @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}. The former has multiple outputs, one per language family (@pxref{Packages with Multiple Outputs}). For instance, the following command installs fonts for Chinese languages:" msgstr "Pour afficher des textes écrits en chinois, en japonais ou en coréen dans les applications graphiques, installez @code{font-adobe-source-han-sans} ou @code{font-wqy-zenhei}. Le premier a plusieurs sorties, une par famille de langue (@pxref{Packages with Multiple Outputs}). Par exemple, la commande suivante installe les polices pour le chinois :" #. type: example -#: doc/guix.texi:1567 +#: doc/guix.texi:1605 #, no-wrap msgid "guix package -i font-adobe-source-han-sans:cn\n" msgstr "guix package -i font-adobe-source-han-sans:cn\n" #. type: code{#1} -#: doc/guix.texi:1569 +#: doc/guix.texi:1607 #, no-wrap msgid "xterm" msgstr "xterm" #. type: Plain text -#: doc/guix.texi:1573 +#: doc/guix.texi:1611 msgid "Older programs such as @command{xterm} do not use Fontconfig and instead rely on server-side font rendering. Such programs require to specify a full name of a font using XLFD (X Logical Font Description), like this:" msgstr "Les vieux programmes comme @command{xterm} n'utilisent pas fontconfig et s'appuient sur le rendu du côté du serveur. Ces programmes ont besoin de spécifier le nom complet de la police en utlisant XLFD (X Logical Font Description), comme ceci :" #. type: example -#: doc/guix.texi:1576 +#: doc/guix.texi:1614 #, no-wrap msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n" msgstr "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n" #. type: Plain text -#: doc/guix.texi:1580 +#: doc/guix.texi:1618 msgid "To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:" msgstr "Pour pouvoir utiliser ces noms complets avec les polices TrueType installées dans votre profil Guix, vous devez étendre le chemin des polices du serveur X :" #. type: example -#: doc/guix.texi:1585 +#: doc/guix.texi:1623 #, no-wrap msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n" msgstr "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n" #. type: code{#1} -#: doc/guix.texi:1587 +#: doc/guix.texi:1625 #, no-wrap msgid "xlsfonts" msgstr "xlsfonts" #. type: Plain text -#: doc/guix.texi:1590 +#: doc/guix.texi:1628 msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there." msgstr "Ensuite, vous pouvez lancer @code{xlsfonts} (du paquet @code{xlsfonts}) pour vous assurer que vos polices TrueType y sont listées." #. type: code{#1} -#: doc/guix.texi:1591 +#: doc/guix.texi:1629 #, no-wrap msgid "fc-cache" msgstr "fc-cache" #. type: cindex -#: doc/guix.texi:1592 +#: doc/guix.texi:1630 #, no-wrap msgid "font cache" msgstr "cache de polices" #. type: Plain text -#: doc/guix.texi:1598 +#: doc/guix.texi:1636 msgid "After installing fonts you may have to refresh the font cache to use them in applications. The same applies when applications installed via Guix do not seem to find fonts. To force rebuilding of the font cache run @code{fc-cache -f}. The @code{fc-cache} command is provided by the @code{fontconfig} package." msgstr "Après l'installation des polices vous devrez peut-être rafraîchir le cache des polices pour pouvoir les utiliser dans les applications. Ça s'applique aussi lorsque les applications installées avec Guix n'ont pas l'air de trouver les polices. Pour forcer la reconstruction du cache de polices lancez @code{fc-cache -f}. La commande @code{fc-cache} est fournie par le paquet @code{fontconfig}." #. type: code{#1} -#: doc/guix.texi:1601 doc/guix.texi:20271 +#: doc/guix.texi:1639 doc/guix.texi:21716 #, no-wrap msgid "nss-certs" msgstr "nss-certs" #. type: Plain text -#: doc/guix.texi:1604 +#: doc/guix.texi:1642 msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS." msgstr "Le paquet @code{nss-certs} fournit les certificats X.509 qui permettent aux programmes d'authentifier les serveurs web par HTTPS@." #. type: Plain text -#: doc/guix.texi:1609 +#: doc/guix.texi:1647 msgid "When using Guix on a foreign distro, you can install this package and define the relevant environment variables so that packages know where to look for certificates. @xref{X.509 Certificates}, for detailed information." msgstr "Lorsque vous utilisez Guix sur une distribution externe, vous pouvez installer ce paquet et définir les variables d'environnement adéquates pour que les paquets sachent où trouver les certificats. @xref{X.509 Certificates}, pour des informations détaillées." #. type: subsection -#: doc/guix.texi:1610 +#: doc/guix.texi:1648 #, no-wrap msgid "Emacs Packages" msgstr "Paquets emacs" #. type: code{#1} -#: doc/guix.texi:1612 +#: doc/guix.texi:1650 #, no-wrap msgid "emacs" msgstr "emacs" #. type: Plain text -#: doc/guix.texi:1623 +#: doc/guix.texi:1661 msgid "When you install Emacs packages with Guix, the elisp files may be placed either in @file{$HOME/.guix-profile/share/emacs/site-lisp/} or in sub-directories of @file{$HOME/.guix-profile/share/emacs/site-lisp/guix.d/}. The latter directory exists because potentially there may exist thousands of Emacs packages and storing all their files in a single directory may not be reliable (because of name conflicts). So we think using a separate directory for each package is a good idea. It is very similar to how the Emacs package system organizes the file structure (@pxref{Package Files,,, emacs, The GNU Emacs Manual})." msgstr "Lorsque vous installez les paquets Emacs avec Guix, les fichiers elisp peuvent être placés soit dans @file{$HOME/.guix-profile/share/emacs/site-lisp/} soit dans des sous-répertoires de @file{$HOME/.guix-profile/share/emacs/site-lisp/guix.d/}. Ce dernier existe car il existe potentiellement des milliers de paquets Emacs et stocker leurs fichiers dans un seul répertoire peut ne pas être fiable (à cause de conflits de noms). Donc on pense qu'utiliser un répertoire séparé est une bonne idée. C'est très similaire à la manière dont le système de paquet d'Emacs organise la structure de fichiers (@pxref{Package Files,,, emacs, The GNU Emacs Manual})." #. type: Plain text -#: doc/guix.texi:1629 +#: doc/guix.texi:1667 msgid "By default, Emacs (installed with Guix) ``knows'' where these packages are placed, so you do not need to perform any configuration. If, for some reason, you want to avoid auto-loading Emacs packages installed with Guix, you can do so by running Emacs with @code{--no-site-file} option (@pxref{Init File,,, emacs, The GNU Emacs Manual})." msgstr "Par défaut, Emacs (installé avec Guix) « sait » où ces paquets ce trouvent, donc vous n'avez pas besoin de le configurer. Si, pour quelque raison que ce soit, vous souhaitez éviter de charger automatiquement les paquets Emacs installés avec Guix, vous pouvez le faire en lançaint Emacs avec l'option @code{--no-site-file} (@pxref{Init File,,, emacs, The GNU Emacs Manual})." #. type: subsection -#: doc/guix.texi:1630 +#: doc/guix.texi:1668 #, no-wrap msgid "The GCC toolchain" msgstr "La chaîne d'outils GCC" #. type: cindex -#: doc/guix.texi:1632 +#: doc/guix.texi:1670 #, no-wrap msgid "GCC" msgstr "GCC" #. type: cindex -#: doc/guix.texi:1633 +#: doc/guix.texi:1671 #, no-wrap msgid "ld-wrapper" msgstr "ld-wrapper" #. type: Plain text -#: doc/guix.texi:1642 +#: doc/guix.texi:1680 msgid "Guix offers individual compiler packages such as @code{gcc} but if you are in need of a complete toolchain for compiling and linking source code what you really want is the @code{gcc-toolchain} package. This package provides a complete GCC toolchain for C/C++ development, including GCC itself, the GNU C Library (headers and binaries, plus debugging symbols in the @code{debug} output), Binutils, and a linker wrapper." msgstr "Guix offre des paquets de compilateurs individuels comme @code{gcc} mais si vous avez besoin d'une chaîne de compilation complète pour compiler et lier du code source, vous avez en fait besoin du paquet @code{gcc-toolchain}. Ce paquet fournit une chaîne d'outils GCC pour le développement C/C++, dont GCC lui-même, la bibliothèque C de GNU (les en-têtes et les binaires, plus les symboles de débogage dans la sortie @code{debug}), Binutils et une enveloppe pour l'éditeur de liens." #. type: cindex -#: doc/guix.texi:1643 +#: doc/guix.texi:1681 #, no-wrap msgid "attempt to use impure library, error message" msgstr "tentative d'utiliser une bibliothèque impure, message d'erreur" #. type: Plain text -#: doc/guix.texi:1653 +#: doc/guix.texi:1691 msgid "The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches passed to the linker, add corresponding @code{-rpath} arguments, and invoke the actual linker with this new set of arguments. By default, the linker wrapper refuses to link to libraries outside the store to ensure ``purity''. This can be annoying when using the toolchain to link with local libraries. To allow references to libraries outside the store you need to define the environment variable @code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES}." msgstr "Le rôle de l'enveloppe est d'inspecter les paramètres @code{-L} et @code{-l} passés à l'éditeur de liens, d'ajouter des arguments @code{-rpath} correspondants et d'invoquer le véritable éditeur de liens avec ce nouvel ensemble d'arguments. Par défaut, l'enveloppe refuse de lier des bibliothèques en dehors du dépôt pour assure la « pureté ». Cela peut être embêtant lorsque vous utilisez la chaîne d'outils pour lier des bibliothèques locales. Pour permettre des références à des bibliothèques en dehors du dépôt, vous devrez définir la variable d'environnement @code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES}." #. type: cindex -#: doc/guix.texi:1660 +#: doc/guix.texi:1698 #, no-wrap msgid "packages" msgstr "paquets" #. type: Plain text -#: doc/guix.texi:1665 +#: doc/guix.texi:1703 msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features." msgstr "Le but de GNU Guix est de permettre à ses utilisateurs d'installer, mettre à jour et supprimer facilement des paquets logiciels sans devoir connaître leur procédure de construction ou leurs dépendances. Guix va aussi plus loin que ces fonctionnalités évidentes." #. type: Plain text -#: doc/guix.texi:1673 +#: doc/guix.texi:1711 msgid "This chapter describes the main features of Guix, as well as the package management tools it provides. Along with the command-line interface described below (@pxref{Invoking guix package, @code{guix package}}), you may also use the Emacs-Guix interface (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}), after installing @code{emacs-guix} package (run @kbd{M-x guix-help} command to start with it):" msgstr "Ce chapitre décrit les principales fonctionnalités de Guix, ainsi que des outils de gestion des paquets qu'il fournit. En plus de l'interface en ligne de commande décrite en dessous de (@pxref{Invoquer guix package, @code{guix package}}), vous pouvez aussi utiliser l'interface Emacs-Guix (@pxref{Top,,, emacs-guix, Le manuel de référence de emacs-guix}), après avoir installé le paquet @code{emacs-guix} (lancez la commande @kbd{M-x guix-help} pour le démarrer) :" #. type: example -#: doc/guix.texi:1676 +#: doc/guix.texi:1714 #, no-wrap msgid "guix package -i emacs-guix\n" msgstr "guix package -i emacs-guix\n" #. type: Plain text -#: doc/guix.texi:1695 +#: doc/guix.texi:1736 msgid "When using Guix, each package ends up in the @dfn{package store}, in its own directory---something that resembles @file{/gnu/store/xxx-package-1.2}, where @code{xxx} is a base32 string." msgstr "Lorsque vous utilisez Guix, chaque paquet arrive dans @dfn{dépôt des paquets}, dans son propre répertoire — quelque chose comme @file{/gnu/store/xxx-paquet-1.2}, où @code{xxx} est une chaîne en base32." #. type: Plain text -#: doc/guix.texi:1700 +#: doc/guix.texi:1741 msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}." msgstr "Plutôt que de se rapporter à ces répertoires, les utilisateurs ont leur propre @dfn{profil} qui pointe vers les paquets qu'ils veulent vraiment utiliser. Ces profils sont stockés dans le répertoire personnel de chaque utilisateur dans @code{$HOME/.guix-profile}." #. type: Plain text -#: doc/guix.texi:1708 +#: doc/guix.texi:1749 msgid "For example, @code{alice} installs GCC 4.7.2. As a result, @file{/home/alice/.guix-profile/bin/gcc} points to @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Now, on the same machine, @code{bob} had already installed GCC 4.8.0. The profile of @code{bob} simply continues to point to @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc}---i.e., both versions of GCC coexist on the same system without any interference." msgstr "Par exemple, @code{alice} installe GCC 4.7.2. Il en résulte que @file{/home/alice/.guix-profile/bin/gcc} pointe vers @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Maintenant, sur la même machine, @code{bob} a déjà intallé GCC 4.8.0. Le profil de @code{bob} continue simplement de pointer vers @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc} — c.-à-d.@: les deux versions de GCC coexistent surs le même système sans aucune interférence." #. type: Plain text -#: doc/guix.texi:1712 +#: doc/guix.texi:1753 msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}." msgstr "La commande @command{guix package} est l'outil central pour gérer les paquets (@pxref{Invoking guix package}). Il opère sur les profils utilisateurs et peut être utilisé avec les @emph{privilèges utilisateurs normaux}." #. type: cindex -#: doc/guix.texi:1713 doc/guix.texi:1782 +#: doc/guix.texi:1754 doc/guix.texi:1832 #, no-wrap msgid "transactions" msgstr "transactions" #. type: Plain text -#: doc/guix.texi:1720 +#: doc/guix.texi:1761 msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable." msgstr "La commande fournit les opérations évidentes d'installation, de suppression et de mise à jour. Chaque invocation est en fait une @emph{transaction} : soit l'opération demandée réussi, soit rien ne se passe. Ainsi, si le processus @command{guix package} est terminé pendant la transaction ou si une panne de courant arrive pendant la transaction, le profil de l'utilisateur reste dans son état précédent et reste utilisable." #. type: Plain text -#: doc/guix.texi:1728 +#: doc/guix.texi:1769 msgid "In addition, any package transaction may be @emph{rolled back}. So, if, for example, an upgrade installs a new version of a package that turns out to have a serious bug, users may roll back to the previous instance of their profile, which was known to work well. Similarly, the global system configuration on GuixSD is subject to transactional upgrades and roll-back (@pxref{Using the Configuration System})." msgstr "En plus, il est possible @emph{d'annuler} toute transaction sur les paquets. Donc si par exemple un mise à jour installe une nouvelle version d'un paquet qui révèle un bogue sérieux, les utilisateurs peuvent revenir en arrière à l'instance précédente de leur profil qui est connu pour bien fonctionner. De manière similaire, la configuration globale du système dans GuixSD est sujette aux mises à jour transactionnelles et aux annulations (@pxref{Using the Configuration System})." #. type: Plain text -#: doc/guix.texi:1735 +#: doc/guix.texi:1776 msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected." msgstr "Tous les paquets du dépôt des paquets peut être @emph{glané}. Guix peut déterminer quels paquets sont toujours référencés par les profils des utilisateurs et supprimer ceux qui ne sont plus référencés de manière prouvable (@pxref{Invoking guix gc}). Les utilisateurs peuvent toujours explicitement supprimer les anciennes générations de leur profil pour que les paquets auxquels elles faisaient référence puissent être glanés." #. type: cindex -#: doc/guix.texi:1736 +#: doc/guix.texi:1777 doc/guix.texi:3217 #, no-wrap msgid "reproducibility" msgstr "reproductibilité" #. type: Plain text -#: doc/guix.texi:1748 -msgid "Finally, Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})." -msgstr "Finalement, Guix prend une approche @dfn{purement fonctionnelle} de la gestion de paquets, telle que décrite dans l'introduction (@pxref{Introduction}). Chaque nom de répertoire de paquet dans @file{/gnu/store} contient un hash de toutes les entrées qui ont été utilisées pendant la construction de ce paquet — le compilateur, les bibliothèques, les scripts de construction, etc. Cette correspondance directe permet aux utilisateurs de s'assurer que l'installation d'un paquet donné correspond à l'état actuel de leur distribution. Elle aide aussi à maximiser la @dfn{reproductibilité} : grâce aux environnements de construction utilisés, une construction donnée à de forte chances de donner des fichiers identiques bit-à-bit lorsqu'elle est effectuée sur des machines différents (@pxref{Invoking guix-daemon, container})." +#: doc/guix.texi:1789 +msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})." +msgstr "Guix prend une approche @dfn{purement fonctionnelle} de la gestion de paquets, telle que décrite dans l'introduction (@pxref{Introduction}). Chaque nom de répertoire de paquet dans @file{/gnu/store} contient un hash de toutes les entrées qui ont été utilisées pendant la construction de ce paquet — le compilateur, les bibliothèques, les scripts de construction, etc. Cette correspondance directe permet aux utilisateurs de s'assurer que l'installation d'un paquet donné correspond à l'état actuel de leur distribution. Elle aide aussi à maximiser la @dfn{reproductibilité} : grâce aux environnements de construction utilisés, une construction donnée à de forte chances de donner des fichiers identiques bit-à-bit lorsqu'elle est effectuée sur des machines différents (@pxref{Invoking guix-daemon, container})." #. type: Plain text -#: doc/guix.texi:1759 +#: doc/guix.texi:1800 msgid "This foundation allows Guix to support @dfn{transparent binary/source deployment}. When a pre-built binary for a @file{/gnu/store} item is available from an external source---a @dfn{substitute}, Guix just downloads it and unpacks it; otherwise, it builds the package from source, locally (@pxref{Substitutes}). Because build results are usually bit-for-bit reproducible, users do not have to trust servers that provide substitutes: they can force a local build and @emph{challenge} providers (@pxref{Invoking guix challenge})." msgstr "Ce fondement permet à Guix de supporter le @dfn{déploiement transparent de binaire ou source}. Lorsqu'une binaire pré-construit pour une entrée de @file{/gnu/store} est disponible depuis une source externe (un @dfn{substitut}), Guix le télécharge simplement et le décompresse ; sinon, il construit le paquet depuis les sources localement (@pxref{Substituts}). Comme les résultats des constructions sont généralement reproductibles au bit près, si vous n'avez pas besoin de faire confiance aux serveurs qui fournissent les substituts : vous pouvez forcer une construction locale et @emph{défier} les fournisseurs (@pxref{Invoking guix challenge})." #. type: Plain text -#: doc/guix.texi:1765 +#: doc/guix.texi:1806 msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix environment})." msgstr "Le contrôle de l'environnement de construction est aussi une fonctionnalité utile pour les développeurs. La commande @command{guix environment} permet aux développeurs d'un paquet de mettre en place rapidement le bon environnement de développement pour leur paquet, sans avoir à installer manuellement les dépendances du paquet dans leur profil (@pxref{Invoking guix environment})." +#. type: cindex +#: doc/guix.texi:1807 +#, no-wrap +msgid "replication, of software environments" +msgstr "réplication, des environnements logiciels" + +#. type: cindex +#: doc/guix.texi:1808 +#, no-wrap +msgid "provenance tracking, of software artifacts" +msgstr "suivi de la provenance, des artefacts logiciels" + +#. type: Plain text +#: doc/guix.texi:1815 +msgid "All of Guix and its package definitions is version-controlled, and @command{guix pull} allows you to ``travel in time'' on the history of Guix itself (@pxref{Invoking guix pull}). This makes it possible to replicate a Guix instance on a different machine or at a later point in time, which in turn allows you to @emph{replicate complete software environments}, while retaining precise @dfn{provenance tracking} of the software." +msgstr "La totalité de Guix et des définitions de paquets sont placés sous contrôle de version, et @command{guix pull} vous permet de « voyager dans le temps » de l'historique de Guix lui-même (@pxref{Invoking guix pull}). Cela est rend possible la réplication d'une instance Guix sur une machine différente ou plus tard, ce qui vous permet de @emph{répliquer des environnements logiciels complets}, tout en garantissant un @dfn{suivi de provenance} précis des logiciels." + #. type: section -#: doc/guix.texi:1767 +#: doc/guix.texi:1817 #, no-wrap msgid "Invoking @command{guix package}" msgstr "Invoquer @command{guix package}" #. type: cindex -#: doc/guix.texi:1769 +#: doc/guix.texi:1819 #, no-wrap msgid "installing packages" msgstr "installer des paquets" #. type: cindex -#: doc/guix.texi:1770 +#: doc/guix.texi:1820 #, no-wrap msgid "removing packages" msgstr "supprimer des paquets" #. type: cindex -#: doc/guix.texi:1771 +#: doc/guix.texi:1821 #, no-wrap msgid "package installation" msgstr "installation de paquets" #. type: cindex -#: doc/guix.texi:1772 +#: doc/guix.texi:1822 #, no-wrap msgid "package removal" msgstr "suppression de paquets" #. type: Plain text -#: doc/guix.texi:1778 +#: doc/guix.texi:1828 msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. It operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:" msgstr "La commande @command{guix package} est l'outil qui permet d'installer, mettre à jour et supprimer les paquets ainsi que de revenir à une configuration précédente. Elle n'opère que dans le profil de l'utilisateur et fonctionne avec les privilèges utilisateurs normaux (@pxref{Fonctionnalités}). Sa syntaxe est :" #. type: example -#: doc/guix.texi:1781 +#: doc/guix.texi:1831 #, no-wrap msgid "guix package @var{options}\n" msgstr "guix package @var{options}\n" #. type: Plain text -#: doc/guix.texi:1787 +#: doc/guix.texi:1837 msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back." msgstr "@var{options} spécifie d'abord les opérations à effectuer pendant la transaction. À la fin, une nouvelle génération du profil est créée mais les @dfn{générations} précédentes du profil restent disponibles si l'utilisateur souhaite y revenir." #. type: Plain text -#: doc/guix.texi:1790 +#: doc/guix.texi:1840 msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:" msgstr "Par exemple, pour supprimer @code{lua} et installer @code{guile} et @code{guile-cairo} en une seule transaction :" #. type: example -#: doc/guix.texi:1793 +#: doc/guix.texi:1843 #, no-wrap msgid "guix package -r lua -i guile guile-cairo\n" msgstr "guix package -r lua -i guile guile-cairo\n" #. type: Plain text -#: doc/guix.texi:1799 +#: doc/guix.texi:1849 msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})." msgstr "@command{guix package} supporte aussi une @dfn{approche déclarative} où l'utilisateur spécifie l'ensemble exact des paquets qui doivent être disponibles le passe @i{via} l'option @option{--manifest} (@pxref{profile-manifest, @option{--manifest}})." #. type: cindex -#: doc/guix.texi:1800 +#: doc/guix.texi:1850 #, no-wrap msgid "profile" msgstr "profil" #. type: Plain text -#: doc/guix.texi:1806 +#: doc/guix.texi:1856 msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @code{PATH} environment variable, and so on." msgstr "Pour chaque utilisateur, un lien symbolique vers le profil par défaut de cet utilisateur est automatiquement créé dans @file{$HOME/.guix-profile}. Ce lien symbolique pointe toujours vers la génération actuelle du profil par défaut de l'utilisateur. Ainsi, les utilisateurs peuvent ajouter @file{$HOME/.guix-profile/bin} à leur variable d'environnement @code{PATH} etc." #. type: cindex -#: doc/guix.texi:1806 doc/guix.texi:2003 +#: doc/guix.texi:1856 doc/guix.texi:2053 #, no-wrap msgid "search paths" msgstr "chemins de recherche" #. type: Plain text -#: doc/guix.texi:1811 +#: doc/guix.texi:1861 msgid "If you are not using the Guix System Distribution, consider adding the following lines to your @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) so that newly-spawned shells get all the right environment variable definitions:" msgstr "Si vous n'utilisez pas la distribution système Guix, vous devriez ajouter les lignes suivantes à votre @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) pour que les shells créés ensuite aient les bonnes définitions des variables d'environnement :" #. type: example -#: doc/guix.texi:1815 +#: doc/guix.texi:1865 #, no-wrap msgid "" "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n" @@ -4662,249 +4810,249 @@ msgstr "" "source \"$HOME/.guix-profile/etc/profile\"\n" #. type: Plain text -#: doc/guix.texi:1826 +#: doc/guix.texi:1876 msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @code{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}." msgstr "Dans un environnement multi-utilisateur, les profils utilisateurs sont stockés comme une @dfn{racine du ramasse-miettes}, vers laquelle pointe @file{$HOME/.guix-profile} (@pxref{Invoking guix gc}). Ce répertoire est normalement @code{@var{localstatedir}/guix/profiles/per-user/@var{utilisateur}}, où @var{localstatedir} est la valeur passée à @code{configure} avec @code{--localstatedir} et @var{utilisateur} le nom d'utilisateur. Le répertoire @file{per-user} est créé lorsque @command{guix-daemon} est démarré et sous-répertoire @var{utilisateur} est créé par @command{guix package}." #. type: Plain text -#: doc/guix.texi:1828 +#: doc/guix.texi:1878 msgid "The @var{options} can be among the following:" msgstr "Les @var{options} peuvent être les suivante :" #. type: item -#: doc/guix.texi:1831 +#: doc/guix.texi:1881 #, no-wrap msgid "--install=@var{package} @dots{}" msgstr "--install=@var{paquet} @dots{}" #. type: itemx -#: doc/guix.texi:1832 +#: doc/guix.texi:1882 #, no-wrap msgid "-i @var{package} @dots{}" msgstr "-i @var{paquet} @dots{}" #. type: table -#: doc/guix.texi:1834 +#: doc/guix.texi:1884 msgid "Install the specified @var{package}s." msgstr "Installer les @var{paquet}s spécifiés." #. type: table -#: doc/guix.texi:1839 +#: doc/guix.texi:1889 msgid "Each @var{package} may specify either a simple package name, such as @code{guile}, or a package name followed by an at-sign and version number, such as @code{guile@@1.8.8} or simply @code{guile@@1.8} (in the latter case, the newest version prefixed by @code{1.8} is selected.)" msgstr "Chaque @var{paquet} peut spécifier soit un simple nom de paquet, comme @code{guile} ou un nom de paquet suivi d'un arobase et d'un numéro de version, comme @code{guile@@1.8.8} ou simplement @code{guile@@1.8} (dans ce dernier cas, la version la plus récente commençant par @code{1.8} est utilisée)." #. type: table -#: doc/guix.texi:1847 +#: doc/guix.texi:1897 msgid "If no version number is specified, the newest available version will be selected. In addition, @var{package} may contain a colon, followed by the name of one of the outputs of the package, as in @code{gcc:doc} or @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})." msgstr "Si aucun numéro de version n'est spécifié, la version la plus récente disponible est choisie. En plus, @var{paquet} peut contenir un deux-points, suivi du nom d'une des sorties du paquet, comme dans @code{gcc:doc} ou @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Des paquets avec un nom correspondant et (éventuellement une version) sont recherchés dans les modules de la distribution GNU (@pxref{Package Modules})." #. type: cindex -#: doc/guix.texi:1848 +#: doc/guix.texi:1898 #, no-wrap msgid "propagated inputs" msgstr "entrées propagées" #. type: table -#: doc/guix.texi:1854 +#: doc/guix.texi:1904 msgid "Sometimes packages have @dfn{propagated inputs}: these are dependencies that automatically get installed along with the required package (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects}, for information about propagated inputs in package definitions)." msgstr "Parfois les paquets ont des @dfn{entrées propagées} : ce sont des dépendances qui sont installées automatiquement avec le paquet demandé (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects} pour plus d'informations sur les entrées propagées dans les définitions des paquets)." #. type: anchor{#1} -#: doc/guix.texi:1861 +#: doc/guix.texi:1911 msgid "package-cmd-propagated-inputs" msgstr "package-cmd-propagated-inputs" #. type: table -#: doc/guix.texi:1861 +#: doc/guix.texi:1911 msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user." msgstr "Un exemple est la bibliothèque MPC de GNU : ses fichiers d'en-tête C se réfèrent à ceux de la bibliothèque MPFR de GNU, qui se réfèrent en retour à ceux de la bibliothèque GMP. Ainsi, lorsqu'on installe MPC, les bibliothèques MPFR et GMP sont aussi installées dans le profil ; supprimer MPC supprimera aussi MPFR et GMP — à moins qu'ils n'aient été aussi installés explicitement par l'utilisateur." #. type: table -#: doc/guix.texi:1866 +#: doc/guix.texi:1916 msgid "Besides, packages sometimes rely on the definition of environment variables for their search paths (see explanation of @code{--search-paths} below). Any missing or possibly incorrect environment variable definitions are reported here." msgstr "D'autre part, les paquets dépendent parfois de la définition de variables d'environnement pour leur chemin de recherche (voir les explications sur @code{--search-paths} plus bas). Toute définition de variable d'environnement manquante ou possiblement incorrecte est rapportée ici." #. type: item -#: doc/guix.texi:1867 +#: doc/guix.texi:1917 #, no-wrap msgid "--install-from-expression=@var{exp}" msgstr "--install-from-expression=@var{exp}" #. type: itemx -#: doc/guix.texi:1868 +#: doc/guix.texi:1918 #, no-wrap msgid "-e @var{exp}" msgstr "-e @var{exp}" #. type: table -#: doc/guix.texi:1870 +#: doc/guix.texi:1920 msgid "Install the package @var{exp} evaluates to." msgstr "Installer le paquet évalué par @var{exp}" #. type: table -#: doc/guix.texi:1875 +#: doc/guix.texi:1925 msgid "@var{exp} must be a Scheme expression that evaluates to a @code{} object. This option is notably useful to disambiguate between same-named variants of a package, with expressions such as @code{(@@ (gnu packages base) guile-final)}." msgstr "@var{exp} doit être une expression Scheme qui s'évalue en un objet @code{}. Cette option est notamment utile pour distinguer les variantes d'un paquet avec le même nom, avec des expressions comme @code{(@@ (gnu packages base) guile-final)}." #. type: table -#: doc/guix.texi:1879 +#: doc/guix.texi:1929 msgid "Note that this option installs the first output of the specified package, which may be insufficient when needing a specific output of a multiple-output package." msgstr "Remarquez que cette option installe la première sortie du paquet, ce qui peut être insuffisant lorsque vous avez besoin d'une sortie spécifique d'un paquet à plusieurs sorties." #. type: item -#: doc/guix.texi:1880 +#: doc/guix.texi:1930 #, no-wrap msgid "--install-from-file=@var{file}" msgstr "--install-from-file=@var{fichier}" #. type: itemx -#: doc/guix.texi:1881 doc/guix.texi:5870 +#: doc/guix.texi:1931 doc/guix.texi:6471 #, no-wrap msgid "-f @var{file}" msgstr "-f @var{fichier}" #. type: table -#: doc/guix.texi:1883 +#: doc/guix.texi:1933 msgid "Install the package that the code within @var{file} evaluates to." msgstr "Installer le paquet évalué par le code dans le @var{fichier}." #. type: table -#: doc/guix.texi:1886 doc/guix.texi:7493 +#: doc/guix.texi:1936 doc/guix.texi:8162 msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):" msgstr "Par exemple, @var{fichier} peut contenir une définition comme celle-ci (@pxref{Defining Packages}) :" #. type: example -#: doc/guix.texi:1889 doc/guix.texi:5880 +#: doc/guix.texi:1939 doc/guix.texi:6480 #, no-wrap msgid "@verbatiminclude package-hello.scm\n" msgstr "@verbatiminclude package-hello.scm\n" #. type: table -#: doc/guix.texi:1895 +#: doc/guix.texi:1945 msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix environment})." msgstr "Les développeurs peuvent trouver utile d'inclure un tel fichier @file{guix.scm} à la racine de l'arborescence des sources de leur projet qui pourrait être utilisé pour tester des versions de développement et créer des environnements de développement reproductibles (@pxref{Invoking guix environment})." #. type: item -#: doc/guix.texi:1896 +#: doc/guix.texi:1946 #, no-wrap msgid "--remove=@var{package} @dots{}" msgstr "--remove=@var{paquet} @dots{}" #. type: itemx -#: doc/guix.texi:1897 +#: doc/guix.texi:1947 #, no-wrap msgid "-r @var{package} @dots{}" msgstr "-r @var{paquet} @dots{}" #. type: table -#: doc/guix.texi:1899 +#: doc/guix.texi:1949 msgid "Remove the specified @var{package}s." msgstr "Supprimer les @var{paquet}s spécifiés." #. type: table -#: doc/guix.texi:1904 +#: doc/guix.texi:1954 msgid "As for @code{--install}, each @var{package} may specify a version number and/or output name in addition to the package name. For instance, @code{-r glibc:debug} would remove the @code{debug} output of @code{glibc}." msgstr "Comme pour @code{--install}, chaque @var{paquet} peut spécifier un numéro de version ou un nom de sortie en plus du nom du paquet. Par exemple, @code{-r glibc:debug} supprimerait la sortie @code{debug} de @code{glibc}." #. type: item -#: doc/guix.texi:1905 +#: doc/guix.texi:1955 #, no-wrap msgid "--upgrade[=@var{regexp} @dots{}]" msgstr "--upgrade[=@var{regexp} @dots{}]" #. type: itemx -#: doc/guix.texi:1906 +#: doc/guix.texi:1956 #, no-wrap msgid "-u [@var{regexp} @dots{}]" msgstr "-u [@var{regexp} @dots{}]" #. type: cindex -#: doc/guix.texi:1907 +#: doc/guix.texi:1957 #, no-wrap msgid "upgrading packages" msgstr "mettre à jour des paquets" #. type: table -#: doc/guix.texi:1911 +#: doc/guix.texi:1961 msgid "Upgrade all the installed packages. If one or more @var{regexp}s are specified, upgrade only installed packages whose name matches a @var{regexp}. Also see the @code{--do-not-upgrade} option below." msgstr "Mettre à jour tous les paquets installés. Si une @var{regexp} ou plus est spécifiée, la mise à jour n'installera que les paquets dont le nom correspond à @var{regexp}. Voyez aussi l'option @code{--do-not-upgrade} en dessous." #. type: table -#: doc/guix.texi:1916 +#: doc/guix.texi:1966 msgid "Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, you should regularly run @command{guix pull} (@pxref{Invoking guix pull})." msgstr "Remarquez que cela met à jour vers la dernière version des paquets trouvée dans la distribution actuellement installée. Pour mettre à jour votre distribution, vous devriez lancer régulièrement @command{guix pull} (@pxref{Invoking guix pull})." #. type: item -#: doc/guix.texi:1917 +#: doc/guix.texi:1967 #, no-wrap msgid "--do-not-upgrade[=@var{regexp} @dots{}]" msgstr "--do-not-upgrade[=@var{regexp} @dots{}]" #. type: table -#: doc/guix.texi:1922 +#: doc/guix.texi:1972 msgid "When used together with the @code{--upgrade} option, do @emph{not} upgrade any packages whose name matches a @var{regexp}. For example, to upgrade all packages in the current profile except those containing the substring ``emacs'':" msgstr "Lorsqu'elle est utilisée avec l'option @code{--upgrade}, ne @emph{pas} mettre à jour les paquets dont le nom correspond à @var{regexp}. Par exemple, pour mettre à jour tous les paquets du profil actuel à l'exception de ceux qui contiennent la chaîne « emacs » :" #. type: example -#: doc/guix.texi:1925 +#: doc/guix.texi:1975 #, no-wrap msgid "$ guix package --upgrade . --do-not-upgrade emacs\n" msgstr "$ guix package --upgrade . --do-not-upgrade emacs\n" #. type: anchor{#1} -#: doc/guix.texi:1927 +#: doc/guix.texi:1977 #, no-wrap msgid "profile-manifest" msgstr "profile-manifest" #. type: item -#: doc/guix.texi:1927 doc/guix.texi:2996 doc/guix.texi:6761 doc/guix.texi:7498 -#: doc/guix.texi:8182 +#: doc/guix.texi:1977 doc/guix.texi:3455 doc/guix.texi:7393 doc/guix.texi:8167 +#: doc/guix.texi:8851 #, no-wrap msgid "--manifest=@var{file}" msgstr "--manifest=@var{fichier}" #. type: itemx -#: doc/guix.texi:1928 doc/guix.texi:2997 doc/guix.texi:6762 doc/guix.texi:7499 +#: doc/guix.texi:1978 doc/guix.texi:3456 doc/guix.texi:7394 doc/guix.texi:8168 #, no-wrap msgid "-m @var{file}" msgstr "-m @var{fichier}" #. type: cindex -#: doc/guix.texi:1929 +#: doc/guix.texi:1979 #, no-wrap msgid "profile declaration" msgstr "déclaration de profil" #. type: cindex -#: doc/guix.texi:1930 +#: doc/guix.texi:1980 #, no-wrap msgid "profile manifest" msgstr "manifest de profil" #. type: table -#: doc/guix.texi:1933 +#: doc/guix.texi:1983 msgid "Create a new generation of the profile from the manifest object returned by the Scheme code in @var{file}." msgstr "Créer une nouvelle génération du profil depuis l'objet manifeste renvoyé par le code Scheme dans @var{fichier}." #. type: table -#: doc/guix.texi:1939 +#: doc/guix.texi:1989 msgid "This allows you to @emph{declare} the profile's contents rather than constructing it through a sequence of @code{--install} and similar commands. The advantage is that @var{file} can be put under version control, copied to different machines to reproduce the same profile, and so on." msgstr "Cela vous permet de @emph{déclarer} le contenu du profil plutôt que de le construire avec une série de @code{--install} et de commandes similaires. L'avantage étant que le @var{fichier} peut être placé sous contrôle de version, copié vers d'autres machines pour reproduire le même profil, etc." #. type: table -#: doc/guix.texi:1943 +#: doc/guix.texi:1993 msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:" msgstr "@var{fichier} doit retourner un objet @dfn{manifest} qui est en gros une liste de paquets :" #. type: findex -#: doc/guix.texi:1944 +#: doc/guix.texi:1994 #, no-wrap msgid "packages->manifest" msgstr "packages->manifest" #. type: example -#: doc/guix.texi:1947 +#: doc/guix.texi:1997 #, no-wrap msgid "" "(use-package-modules guile emacs)\n" @@ -4914,7 +5062,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:1953 +#: doc/guix.texi:2003 #, no-wrap msgid "" "(packages->manifest\n" @@ -4930,18 +5078,18 @@ msgstr "" " (list guile-2.0 \"debug\")))\n" #. type: findex -#: doc/guix.texi:1955 +#: doc/guix.texi:2005 #, no-wrap msgid "specifications->manifest" msgstr "specifications->manifest" #. type: table -#: doc/guix.texi:1962 +#: doc/guix.texi:2012 msgid "In this example we have to know which modules define the @code{emacs} and @code{guile-2.0} variables to provide the right @code{use-package-modules} line, which can be cumbersome. We can instead provide regular package specifications and let @code{specifications->manifest} look up the corresponding package objects, like this:" msgstr "Dans cet exemple on doit savoir quels modules définissent les variables @code{emacs} et @code{guile-2.0} pour fournir la bonne ligne @code{use-package-modules} ce qui peut être embêtant. On peut à la place fournir des spécifications de paquets normales et laisser @code{specifications->manifest} rechercher les objets de paquets correspondants, comme ceci :" #. type: example -#: doc/guix.texi:1966 +#: doc/guix.texi:2016 #, no-wrap msgid "" "(specifications->manifest\n" @@ -4951,121 +5099,121 @@ msgstr "" " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n" #. type: item -#: doc/guix.texi:1968 +#: doc/guix.texi:2018 #, no-wrap msgid "--roll-back" msgstr "--roll-back" #. type: cindex -#: doc/guix.texi:1969 doc/guix.texi:20911 +#: doc/guix.texi:2019 doc/guix.texi:22369 #, no-wrap msgid "rolling back" msgstr "revenir en arrière" #. type: cindex -#: doc/guix.texi:1970 +#: doc/guix.texi:2020 #, no-wrap msgid "undoing transactions" msgstr "défaire des transactions" #. type: cindex -#: doc/guix.texi:1971 +#: doc/guix.texi:2021 #, no-wrap msgid "transactions, undoing" msgstr "transactions, défaire" #. type: table -#: doc/guix.texi:1974 +#: doc/guix.texi:2024 msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction." msgstr "Revenir à la @dfn{génération} précédente du profil c.-à-d.@: défaire la dernière transaction." #. type: table -#: doc/guix.texi:1977 +#: doc/guix.texi:2027 msgid "When combined with options such as @code{--install}, roll back occurs before any other actions." msgstr "Lorsqu'elle est combinée avec des options comme @code{--install}, cette option revient en arrière avant toute autre action." #. type: table -#: doc/guix.texi:1981 +#: doc/guix.texi:2031 msgid "When rolling back from the first generation that actually contains installed packages, the profile is made to point to the @dfn{zeroth generation}, which contains no files apart from its own metadata." msgstr "Lorsque vous revenez de la première génération qui contient des fichiers, le profil pointera vers la @dfn{zéroième génération} qui ne contient aucun fichier en dehors de ses propres métadonnées." #. type: table -#: doc/guix.texi:1985 +#: doc/guix.texi:2035 msgid "After having rolled back, installing, removing, or upgrading packages overwrites previous future generations. Thus, the history of the generations in a profile is always linear." msgstr "Après être revenu en arrière, l'installation, la suppression et la mise à jour de paquets réécrit les futures générations précédentes. Ainsi, l'historique des générations dans un profil est toujours linéaire." #. type: item -#: doc/guix.texi:1986 +#: doc/guix.texi:2036 #, no-wrap msgid "--switch-generation=@var{pattern}" msgstr "--switch-generation=@var{motif}" #. type: itemx -#: doc/guix.texi:1987 +#: doc/guix.texi:2037 #, no-wrap msgid "-S @var{pattern}" msgstr "-S @var{motif}" #. type: cindex -#: doc/guix.texi:1988 doc/guix.texi:2186 doc/guix.texi:20869 +#: doc/guix.texi:2038 doc/guix.texi:2236 doc/guix.texi:22327 #, no-wrap msgid "generations" msgstr "générations" #. type: table -#: doc/guix.texi:1990 +#: doc/guix.texi:2040 msgid "Switch to a particular generation defined by @var{pattern}." msgstr "Basculer vers une génération particulière définie par le @var{motif}." #. type: table -#: doc/guix.texi:1996 +#: doc/guix.texi:2046 msgid "@var{pattern} may be either a generation number or a number prefixed with ``+'' or ``-''. The latter means: move forward/backward by a specified number of generations. For example, if you want to return to the latest generation after @code{--roll-back}, use @code{--switch-generation=+1}." msgstr "Le @var{motif} peut être soit un numéro de génération soit un nombre précédé de « + » ou « - ». Ce dernier signifie : se déplacer en avant ou en arrière d'un nombre donné de générations. Par exemple, si vous voulez retourner à la dernière génération après @code{--roll-back}, utilisez @code{--switch-generation=+1}." #. type: table -#: doc/guix.texi:2001 +#: doc/guix.texi:2051 msgid "The difference between @code{--roll-back} and @code{--switch-generation=-1} is that @code{--switch-generation} will not make a zeroth generation, so if a specified generation does not exist, the current generation will not be changed." msgstr "La différence entre @code{--roll-back} et @code{--switch-generation=-1} est que @code{--switch-generation} ne vous amènera pas à la zéroième génération, donc si la génération demandée n'existe pas la génération actuelle ne changera pas." #. type: item -#: doc/guix.texi:2002 +#: doc/guix.texi:2052 #, no-wrap msgid "--search-paths[=@var{kind}]" msgstr "--search-paths[=@var{genre}]" #. type: table -#: doc/guix.texi:2008 +#: doc/guix.texi:2058 msgid "Report environment variable definitions, in Bash syntax, that may be needed in order to use the set of installed packages. These environment variables are used to specify @dfn{search paths} for files used by some of the installed packages." msgstr "Rapporter les définitions des variables d'environnement dans la syntaxe Bash qui peuvent être requises pour utiliser l'ensemble des paquets installés. Ces variables d'environnement sont utilisées pour spécifier les @dfn{chemins de recherche} de fichiers utilisés par les paquets installés." #. type: table -#: doc/guix.texi:2016 +#: doc/guix.texi:2066 msgid "For example, GCC needs the @code{CPATH} and @code{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @code{--search-paths} will suggest setting these variables to @code{@var{profile}/include} and @code{@var{profile}/lib}, respectively." msgstr "Par exemple, GCC a besoin des variables d'environnement @code{CPATH} et @code{LIBRARY_PATH} pour trouver les en-têtes et les bibliothèques dans le profil de l'utilisateur (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). Si GCC et, disons, la bibliothèque C sont installés dans le profil, alors @code{--search-paths} suggérera d'initialiser ces variables à @code{@var{profil}/include} et @code{@var{profil}/lib}, respectivement." #. type: table -#: doc/guix.texi:2019 +#: doc/guix.texi:2069 msgid "The typical use case is to define these environment variables in the shell:" msgstr "Le cas d'utilisation typique est de définir ces variables d'environnement dans le shell :" #. type: example -#: doc/guix.texi:2022 +#: doc/guix.texi:2072 #, no-wrap msgid "$ eval `guix package --search-paths`\n" msgstr "$ eval `guix package --search-paths`\n" #. type: table -#: doc/guix.texi:2028 +#: doc/guix.texi:2078 msgid "@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix}, meaning that the returned environment variable definitions will either be exact settings, or prefixes or suffixes of the current value of these variables. When omitted, @var{kind} defaults to @code{exact}." msgstr "@var{genre} peut être l'une des valeurs @code{exact}, @code{prefix} ou @code{suffix}, ce qui signifie que les définitions des variables d'environnement retournées seront soit les paramètres exactes, ou placés avant ou après la valeur actuelle de ces paramètres. Lorsqu'il est omis, @var{genre} a pour valeur par défaut @code{exact}." #. type: table -#: doc/guix.texi:2031 +#: doc/guix.texi:2081 msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:" msgstr "Cette option peut aussi être utilisé pour calculer les chemins de recherche @emph{combinés} de plusieurs profils. Regardez cet exemple :" #. type: example -#: doc/guix.texi:2036 +#: doc/guix.texi:2086 #, no-wrap msgid "" "$ guix package -p foo -i guile\n" @@ -5077,118 +5225,118 @@ msgstr "" "$ guix package -p foo -p bar --search-paths\n" #. type: table -#: doc/guix.texi:2041 +#: doc/guix.texi:2091 msgid "The last command above reports about the @code{GUILE_LOAD_PATH} variable, even though, taken individually, neither @file{foo} nor @file{bar} would lead to that recommendation." msgstr "La dernière commande ci-dessus montre la variable @code{GUILE_LOAD_PATH} bien que, pris individuellement, ni @file{foo} ni @file{bar} n'auraient donné cette recommendation." #. type: item -#: doc/guix.texi:2043 +#: doc/guix.texi:2093 doc/guix.texi:2891 doc/guix.texi:3290 #, no-wrap msgid "--profile=@var{profile}" msgstr "--profile=@var{profil}" #. type: itemx -#: doc/guix.texi:2044 +#: doc/guix.texi:2094 doc/guix.texi:2892 doc/guix.texi:3291 #, no-wrap msgid "-p @var{profile}" msgstr "-p @var{profil}" #. type: table -#: doc/guix.texi:2046 +#: doc/guix.texi:2096 msgid "Use @var{profile} instead of the user's default profile." msgstr "Utiliser le @var{profil} à la place du profil par défaut de l'utilisateur." #. type: cindex -#: doc/guix.texi:2047 +#: doc/guix.texi:2097 #, no-wrap msgid "collisions, in a profile" msgstr "collisions, dans un profil" #. type: cindex -#: doc/guix.texi:2048 +#: doc/guix.texi:2098 #, no-wrap msgid "colliding packages in profiles" msgstr "faire des collisions de paquets dans des profils" #. type: cindex -#: doc/guix.texi:2049 +#: doc/guix.texi:2099 #, no-wrap msgid "profile collisions" msgstr "profil, collisions" #. type: item -#: doc/guix.texi:2050 +#: doc/guix.texi:2100 #, no-wrap msgid "--allow-collisions" msgstr "--allow-collisions" #. type: table -#: doc/guix.texi:2052 +#: doc/guix.texi:2102 msgid "Allow colliding packages in the new profile. Use at your own risk!" msgstr "Permettre des collisions de paquets dans le nouveau profil. À utiliser à vos risques et périls !" #. type: table -#: doc/guix.texi:2056 +#: doc/guix.texi:2106 msgid "By default, @command{guix package} reports as an error @dfn{collisions} in the profile. Collisions happen when two or more different versions or variants of a given package end up in the profile." msgstr "Par défaut, @command{guix package} rapporte les @dfn{collisions} dans le profil comme des erreurs. Les collisions ont lieu quand deux version ou variantes d'un paquet donné se retrouvent dans le profil." #. type: item -#: doc/guix.texi:2057 doc/guix.texi:2802 doc/guix.texi:7987 +#: doc/guix.texi:2107 doc/guix.texi:2900 doc/guix.texi:8656 #, no-wrap msgid "--verbose" msgstr "--verbose" #. type: table -#: doc/guix.texi:2060 +#: doc/guix.texi:2110 msgid "Produce verbose output. In particular, emit the build log of the environment on the standard error port." msgstr "Produire une sortie verbeuse. En particulier, fournir les journaux de construction de l'environnement sur le port d'erreur standard." #. type: item -#: doc/guix.texi:2061 doc/guix.texi:2828 doc/guix.texi:3050 +#: doc/guix.texi:2111 doc/guix.texi:2903 doc/guix.texi:3512 #, no-wrap msgid "--bootstrap" msgstr "--bootstrap" #. type: table -#: doc/guix.texi:2064 +#: doc/guix.texi:2114 msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers." msgstr "Utiliser le programme d'amorçage Guile pour compiler le profil. Cette option n'est utile que pour les développeurs de la distriibution." #. type: Plain text -#: doc/guix.texi:2070 +#: doc/guix.texi:2120 msgid "In addition to these actions, @command{guix package} supports the following options to query the current state of a profile, or the availability of packages:" msgstr "En plus de ces actions, @command{guix package} supporte les options suivantes pour demander l'état actuel d'un profil ou la disponibilité des paquets :" #. type: item -#: doc/guix.texi:2073 +#: doc/guix.texi:2123 #, no-wrap msgid "--search=@var{regexp}" msgstr "--search=@var{regexp}" #. type: itemx -#: doc/guix.texi:2074 +#: doc/guix.texi:2124 #, no-wrap msgid "-s @var{regexp}" msgstr "-s @var{regexp}" #. type: cindex -#: doc/guix.texi:2075 +#: doc/guix.texi:2125 #, no-wrap msgid "searching for packages" msgstr "chercher des paquets" #. type: table -#: doc/guix.texi:2080 +#: doc/guix.texi:2130 msgid "List the available packages whose name, synopsis, or description matches @var{regexp}, sorted by relevance. Print all the metadata of matching packages in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." msgstr "Lister les paquets disponibles dont le nom, le synopsis ou la description correspondent à la @var{regexp}, triés par pertinence. Afficher toutes les métadonnées des paquets correspondants au format @code{recutils} (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." #. type: table -#: doc/guix.texi:2083 +#: doc/guix.texi:2133 msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:" msgstr "Cela permet à des champs spécifiques d'être extraits avec la commande @command{recsel}, par exemple :" #. type: example -#: doc/guix.texi:2089 +#: doc/guix.texi:2139 #, no-wrap msgid "" "$ guix package -s malloc | recsel -p name,version,relevance\n" @@ -5204,7 +5352,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:2093 +#: doc/guix.texi:2143 #, no-wrap msgid "" "name: glibc\n" @@ -5217,131 +5365,131 @@ msgstr "" "relevance: 1\n" "\n" -#. type: example -#: doc/guix.texi:2097 -#, no-wrap -msgid "" -"name: libgc\n" -"version: 7.6.0\n" -"relevance: 1\n" -msgstr "" -"name: libgc\n" -"version: 7.6.0\n" -"relevance: 1\n" - -#. type: table -#: doc/guix.texi:2101 -msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:" -msgstr "De manière similaire, pour montrer le nom de tous les paquets disponibles sous license GNU@tie{}LGPL version 3 :" - -#. type: example -#: doc/guix.texi:2105 -#, no-wrap -msgid "" -"$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n" -"name: elfutils\n" -"\n" -msgstr "" -"$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n" -"name: elfutils\n" -"\n" - -#. type: example -#: doc/guix.texi:2108 -#, no-wrap -msgid "" -"name: gmp\n" -"@dots{}\n" -msgstr "" -"name: gmp\n" -"@dots{}\n" - -#. type: table -#: doc/guix.texi:2113 -msgid "It is also possible to refine search results using several @code{-s} flags. For example, the following command returns a list of board games:" -msgstr "Il est aussi possible de raffiner les résultats de la recherche avec plusieurs options @code{-s}. Par exemple, la commande suivante renvoie la liste des jeux de plateau :" - -#. type: example -#: doc/guix.texi:2118 -#, no-wrap -msgid "" -"$ guix package -s '\\' -s game | recsel -p name\n" -"name: gnubg\n" -"@dots{}\n" -msgstr "" -"$ guix package -s '\\' -s game | recsel -p name\n" -"name: gnubg\n" -"@dots{}\n" - -#. type: table -#: doc/guix.texi:2124 -msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards." -msgstr "Si on avait oublié @code{-s game}, on aurait aussi eu les paquets logiciels qui s'occupent de circuits imprimés (en anglais : circuit board) ; supprimer les chevrons autour de @code{board} aurait aussi ajouté les paquets qui parlent de clavier (en anglais : key@emph{board})." - -#. type: table -#: doc/guix.texi:2128 -msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:" -msgstr "Et maintenant un exemple plus élaboré. La commande suivante recherche les bibliothèques cryptographiques, retire les bibliothèques Haskell, Perl, Python et Ruby et affiche le nom et le synopsis des paquets correspondants :" - -#. type: example -#: doc/guix.texi:2132 -#, no-wrap -msgid "" -"$ guix package -s crypto -s library | \\\n" -" recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n" -msgstr "" -"$ guix package -s crypto -s library | \\\n" -" recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n" - -#. type: table -#: doc/guix.texi:2137 -msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}." -msgstr "@xref{Selection Expressions,,, recutils, GNU recutils manual} pour plus d'information sur les @dfn{expressions de sélection} pour @code{recsel -e}." - -#. type: item -#: doc/guix.texi:2138 -#, no-wrap -msgid "--show=@var{package}" -msgstr "--show=@var{paquet}" - -#. type: table -#: doc/guix.texi:2142 -msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." -msgstr "Afficher les détails du @var{paquet} dans la liste des paquets disponibles, au format @code{recutils} (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." - #. type: example #: doc/guix.texi:2147 #, no-wrap msgid "" -"$ guix package --show=python | recsel -p name,version\n" -"name: python\n" -"version: 2.7.6\n" -"\n" +"name: libgc\n" +"version: 7.6.0\n" +"relevance: 1\n" msgstr "" -"$ guix package --show=python | recsel -p name,version\n" -"name: python\n" -"version: 2.7.6\n" -"\n" - -#. type: example -#: doc/guix.texi:2150 -#, no-wrap -msgid "" -"name: python\n" -"version: 3.3.5\n" -msgstr "" -"name: python\n" -"version: 3.3.5\n" +"name: libgc\n" +"version: 7.6.0\n" +"relevance: 1\n" #. type: table -#: doc/guix.texi:2154 -msgid "You may also specify the full name of a package to only get details about a specific version of it:" -msgstr "Vous pouvez aussi spécifier le nom complet d'un paquet pour n'avoir que les détails concernant une version spécifique :" +#: doc/guix.texi:2151 +msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:" +msgstr "De manière similaire, pour montrer le nom de tous les paquets disponibles sous license GNU@tie{}LGPL version 3 :" + +#. type: example +#: doc/guix.texi:2155 +#, no-wrap +msgid "" +"$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n" +"name: elfutils\n" +"\n" +msgstr "" +"$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n" +"name: elfutils\n" +"\n" #. type: example #: doc/guix.texi:2158 #, no-wrap msgid "" +"name: gmp\n" +"@dots{}\n" +msgstr "" +"name: gmp\n" +"@dots{}\n" + +#. type: table +#: doc/guix.texi:2163 +msgid "It is also possible to refine search results using several @code{-s} flags. For example, the following command returns a list of board games:" +msgstr "Il est aussi possible de raffiner les résultats de la recherche avec plusieurs options @code{-s}. Par exemple, la commande suivante renvoie la liste des jeux de plateau :" + +#. type: example +#: doc/guix.texi:2168 +#, no-wrap +msgid "" +"$ guix package -s '\\' -s game | recsel -p name\n" +"name: gnubg\n" +"@dots{}\n" +msgstr "" +"$ guix package -s '\\' -s game | recsel -p name\n" +"name: gnubg\n" +"@dots{}\n" + +#. type: table +#: doc/guix.texi:2174 +msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards." +msgstr "Si on avait oublié @code{-s game}, on aurait aussi eu les paquets logiciels qui s'occupent de circuits imprimés (en anglais : circuit board) ; supprimer les chevrons autour de @code{board} aurait aussi ajouté les paquets qui parlent de clavier (en anglais : key@emph{board})." + +#. type: table +#: doc/guix.texi:2178 +msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:" +msgstr "Et maintenant un exemple plus élaboré. La commande suivante recherche les bibliothèques cryptographiques, retire les bibliothèques Haskell, Perl, Python et Ruby et affiche le nom et le synopsis des paquets correspondants :" + +#. type: example +#: doc/guix.texi:2182 +#, no-wrap +msgid "" +"$ guix package -s crypto -s library | \\\n" +" recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n" +msgstr "" +"$ guix package -s crypto -s library | \\\n" +" recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n" + +#. type: table +#: doc/guix.texi:2187 +msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}." +msgstr "@xref{Selection Expressions,,, recutils, GNU recutils manual} pour plus d'information sur les @dfn{expressions de sélection} pour @code{recsel -e}." + +#. type: item +#: doc/guix.texi:2188 +#, no-wrap +msgid "--show=@var{package}" +msgstr "--show=@var{paquet}" + +#. type: table +#: doc/guix.texi:2192 +msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." +msgstr "Afficher les détails du @var{paquet} dans la liste des paquets disponibles, au format @code{recutils} (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." + +#. type: example +#: doc/guix.texi:2197 +#, no-wrap +msgid "" +"$ guix package --show=python | recsel -p name,version\n" +"name: python\n" +"version: 2.7.6\n" +"\n" +msgstr "" +"$ guix package --show=python | recsel -p name,version\n" +"name: python\n" +"version: 2.7.6\n" +"\n" + +#. type: example +#: doc/guix.texi:2200 +#, no-wrap +msgid "" +"name: python\n" +"version: 3.3.5\n" +msgstr "" +"name: python\n" +"version: 3.3.5\n" + +#. type: table +#: doc/guix.texi:2204 +msgid "You may also specify the full name of a package to only get details about a specific version of it:" +msgstr "Vous pouvez aussi spécifier le nom complet d'un paquet pour n'avoir que les détails concernant une version spécifique :" + +#. type: example +#: doc/guix.texi:2208 +#, no-wrap +msgid "" "$ guix package --show=python@@3.4 | recsel -p name,version\n" "name: python\n" "version: 3.4.3\n" @@ -5351,250 +5499,250 @@ msgstr "" "version: 3.4.3\n" #. type: item -#: doc/guix.texi:2162 +#: doc/guix.texi:2212 #, no-wrap msgid "--list-installed[=@var{regexp}]" msgstr "--list-installed[=@var{regexp}]" #. type: itemx -#: doc/guix.texi:2163 +#: doc/guix.texi:2213 #, no-wrap msgid "-I [@var{regexp}]" msgstr "-I [@var{regexp}]" #. type: table -#: doc/guix.texi:2167 +#: doc/guix.texi:2217 msgid "List the currently installed packages in the specified profile, with the most recently installed packages shown last. When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}." msgstr "Liste les paquets actuellement installés dans le profil spécifié, avec les paquets les plus récemment installés en dernier. Lorsque @var{regexp} est spécifié, liste uniquement les paquets installés dont le nom correspond à @var{regexp}." #. type: table -#: doc/guix.texi:2173 +#: doc/guix.texi:2223 msgid "For each installed package, print the following items, separated by tabs: the package name, its version string, the part of the package that is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store." msgstr "Pour chaque paquet installé, affiche les éléments suivants, séparés par des tabulations : le nom du paquet, sa version, la partie du paquet qui est installé (par exemple, @code{out} pour la sortie par défaut, @code{include} pour ses en-têtes, etc) et le chemin du paquet dans le dépôt." #. type: item -#: doc/guix.texi:2174 +#: doc/guix.texi:2224 #, no-wrap msgid "--list-available[=@var{regexp}]" msgstr "--list-available[=@var{regexp}]" #. type: itemx -#: doc/guix.texi:2175 +#: doc/guix.texi:2225 #, no-wrap msgid "-A [@var{regexp}]" msgstr "-A [@var{regexp}]" #. type: table -#: doc/guix.texi:2179 +#: doc/guix.texi:2229 msgid "List packages currently available in the distribution for this system (@pxref{GNU Distribution}). When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}." msgstr "Lister les paquets actuellement disponibles dans la distribution pour ce système (@pxref{Distribution GNU}). Lorsque @var{regexp} est spécifié, liste uniquement les paquets dont le nom correspond à @var{regexp}." #. type: table -#: doc/guix.texi:2183 +#: doc/guix.texi:2233 msgid "For each package, print the following items separated by tabs: its name, its version string, the parts of the package (@pxref{Packages with Multiple Outputs}), and the source location of its definition." msgstr "Pour chaque paquet, affiche les éléments suivants séparés par des tabulations : son nom, sa version, les parties du paquet (@pxref{Packages with Multiple Outputs}), et l'emplacement de sa définition." #. type: item -#: doc/guix.texi:2184 doc/guix.texi:2821 +#: doc/guix.texi:2234 doc/guix.texi:2881 #, no-wrap msgid "--list-generations[=@var{pattern}]" msgstr "--list-generations[=@var{motif}]" #. type: itemx -#: doc/guix.texi:2185 doc/guix.texi:2822 +#: doc/guix.texi:2235 doc/guix.texi:2882 #, no-wrap msgid "-l [@var{pattern}]" msgstr "-l [@var{motif}]" #. type: table -#: doc/guix.texi:2191 +#: doc/guix.texi:2241 msgid "Return a list of generations along with their creation dates; for each generation, show the installed packages, with the most recently installed packages shown last. Note that the zeroth generation is never shown." msgstr "Renvoyer la liste des générations avec leur date de création ; pour chaque génération, montre les paquets installés avec les paquets installés les plus récemment en dernier. Remarquez que la zéroième génération n'est jamais montrée." #. type: table -#: doc/guix.texi:2196 +#: doc/guix.texi:2246 msgid "For each installed package, print the following items, separated by tabs: the name of a package, its version string, the part of the package that is installed (@pxref{Packages with Multiple Outputs}), and the location of this package in the store." msgstr "Pour chaque paquet installé, afficher les éléments suivants, séparés par des tabulations : le nom du paquet, sa version, la partie du paquet qui a été installée (@pxref{Packages with Multiple Outputs}), et l'emplacement du paquet dans le dépôt." #. type: table -#: doc/guix.texi:2199 +#: doc/guix.texi:2249 msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:" msgstr "Lorsque @var{motif} est utilisé, la commande ne renvoie que les générations correspondantes. Les motifs valides sont :" #. type: item -#: doc/guix.texi:2201 +#: doc/guix.texi:2251 #, no-wrap msgid "@emph{Integers and comma-separated integers}. Both patterns denote" msgstr "@emph{Des entiers et des entiers séparés par des virgules}. Les deux motifs correspondent" #. type: itemize -#: doc/guix.texi:2204 +#: doc/guix.texi:2254 msgid "generation numbers. For instance, @code{--list-generations=1} returns the first one." msgstr "à des numéros de version. Par exemple, @code{--list-generations=1} renvoie la première." #. type: itemize -#: doc/guix.texi:2207 +#: doc/guix.texi:2257 msgid "And @code{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed." msgstr "Et @code{--list-generations=1,8,2} renvoie les trois générations dans l'ordre spécifié. Aucune espace ni virgule surnuméraire n'est permise." #. type: item -#: doc/guix.texi:2208 +#: doc/guix.texi:2258 #, no-wrap msgid "@emph{Ranges}. @code{--list-generations=2..9} prints the" msgstr "@emph{Des interval}. @code{--list-generations=2..9} affiche les" #. type: itemize -#: doc/guix.texi:2211 +#: doc/guix.texi:2261 msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end." msgstr "générations demandées et tout ce qui se trouvent entre elles. Remarquez que le début d'un interval doit être plus petit que sa fin." #. type: itemize -#: doc/guix.texi:2215 +#: doc/guix.texi:2265 msgid "It is also possible to omit the endpoint. For example, @code{--list-generations=2..}, returns all generations starting from the second one." msgstr "Il est aussi possible d'omettre le numéro final. Par exemple, @code{--list-generations=2..} renvoie toutes les générations à partir de la deuxième." #. type: item -#: doc/guix.texi:2216 +#: doc/guix.texi:2266 #, no-wrap msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks," msgstr "@emph{Des durées}. Vous pouvez aussi récupérer les derniers @emph{N}@tie{}jours, semaines," #. type: itemize -#: doc/guix.texi:2220 +#: doc/guix.texi:2270 msgid "or months by passing an integer along with the first letter of the duration. For example, @code{--list-generations=20d} lists generations that are up to 20 days old." msgstr "ou moins en passant un entier avec la première lettre de la durée (en anglais : d, w ou m). Par exemple @code{--list-generations=20d} liste les générations qui sont agées d'au plus 20 jours." #. type: item -#: doc/guix.texi:2222 +#: doc/guix.texi:2272 #, no-wrap msgid "--delete-generations[=@var{pattern}]" msgstr "--delete-generations[=@var{motif}]" #. type: itemx -#: doc/guix.texi:2223 +#: doc/guix.texi:2273 #, no-wrap msgid "-d [@var{pattern}]" msgstr "-d [@var{motif}]" #. type: table -#: doc/guix.texi:2226 +#: doc/guix.texi:2276 msgid "When @var{pattern} is omitted, delete all generations except the current one." msgstr "Lorsque @var{motif} est omis, supprimer toutes les générations en dehors de l'actuelle." #. type: table -#: doc/guix.texi:2232 +#: doc/guix.texi:2282 msgid "This command accepts the same patterns as @option{--list-generations}. When @var{pattern} is specified, delete the matching generations. When @var{pattern} specifies a duration, generations @emph{older} than the specified duration match. For instance, @code{--delete-generations=1m} deletes generations that are more than one month old." msgstr "Cette commande accepte les même motifs que @option{--list-generations}. Lorsque @var{motif} est spécifié, supprimer les générations correspondante. Lorsque @var{motif} spécifie une durée, les générations @emph{plus vieilles} que la durée spécifiée correspondent. Par exemple @code{--delete-generations=1m} supprime les générations vieilles de plus d'un mois." #. type: table -#: doc/guix.texi:2235 +#: doc/guix.texi:2285 msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted." msgstr "Si la génération actuelle correspond, elle n'est @emph{pas} supprimée. La zéroième génération n'est elle non plus jamais supprimée." #. type: table -#: doc/guix.texi:2238 +#: doc/guix.texi:2288 msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care." msgstr "Remarquez que supprimer des générations empêche de revenir en arrière vers elles. Ainsi, cette commande doit être utilisée avec précaution." #. type: Plain text -#: doc/guix.texi:2249 +#: doc/guix.texi:2299 msgid "Finally, since @command{guix package} may actually start build processes, it supports all the common build options (@pxref{Common Build Options}). It also supports package transformation options, such as @option{--with-source} (@pxref{Package Transformation Options}). However, note that package transformations are lost when upgrading; to preserve transformations across upgrades, you should define your own package variant in a Guile module and add it to @code{GUIX_PACKAGE_PATH} (@pxref{Defining Packages})." msgstr "Enfin, comme @command{guix package} peut démarrer des processus de construction, elle supporte les options de construction communes (@pxref{Common Build Options}). Elle supporte aussi les options de transformation de paquets comme @option{--with-source} (@pxref{Package Transformation Options}). Cependant, remarquez que les transformations de paquets sont perdues à la mise à jour ; pour les préserver à travers les mises à jours, vous devriez définir vos propres variantes des paquets dans une module Guile et l'ajouter à @code{GUIX_PACKAGE_PATH} (@pxref{Defining Packages})." #. type: cindex -#: doc/guix.texi:2254 +#: doc/guix.texi:2304 #, no-wrap msgid "pre-built binaries" msgstr "binaires pré-construits" #. type: Plain text -#: doc/guix.texi:2260 +#: doc/guix.texi:2310 msgid "Guix supports transparent source/binary deployment, which means that it can either build things locally, or download pre-built items from a server, or both. We call these pre-built items @dfn{substitutes}---they are substitutes for local build results. In many cases, downloading a substitute is much faster than building things locally." msgstr "Guix gère le déploiement depuis des binaires ou des sources de manière transparente ce qui signifie qu'il peut aussi bien construire localement que télécharger des éléments pré-construits depuis un serveur ou les deux. Nous appelons ces éléments pré-construits des @dfn{substituts} — ils se substituent aux résultats des constructions locales. Dans la plupart des cas, télécharger un substitut est bien plus rapide que de construire les choses localement." #. type: Plain text -#: doc/guix.texi:2265 +#: doc/guix.texi:2315 msgid "Substitutes can be anything resulting from a derivation build (@pxref{Derivations}). Of course, in the common case, they are pre-built package binaries, but source tarballs, for instance, which also result from derivation builds, can be available as substitutes." msgstr "Les substituts peuvent être tout ce qui résulte d'une construction de dérivation (@pxref{Derivations}). Bien sûr dans le cas général, il s'agit de paquets binaires pré-construits, mais les archives des sources par exemple résultent aussi de la construction d'une dérivation qui peut aussi être disponible en tant que substitut." #. type: cindex -#: doc/guix.texi:2278 +#: doc/guix.texi:2328 #, no-wrap msgid "hydra" msgstr "hydra" #. type: cindex -#: doc/guix.texi:2279 +#: doc/guix.texi:2329 #, no-wrap msgid "build farm" msgstr "ferme de construction" #. type: Plain text -#: doc/guix.texi:2289 +#: doc/guix.texi:2339 msgid "The @code{mirror.hydra.gnu.org} server is a front-end to an official build farm that builds packages from Guix continuously for some architectures, and makes them available as substitutes. This is the default source of substitutes; it can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})." msgstr "Le serveur @code{mirror.hydra.gnu.org} est une interface à la ferme de construction officielle qui construit des paquets pour Guix continuellement pour certaines architectures et les rend disponibles en tant que substituts. C'est la source par défaut des substituts ; elle peut être modifiée en passant l'option @option{--substitute-urls} soit à @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) soit aux outils clients comme @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})." #. type: Plain text -#: doc/guix.texi:2295 +#: doc/guix.texi:2345 msgid "Substitute URLs can be either HTTP or HTTPS. HTTPS is recommended because communications are encrypted; conversely, using HTTP makes all communications visible to an eavesdropper, who could use the information gathered to determine, for instance, whether your system has unpatched security vulnerabilities." msgstr "Les URL des substituts peuvent être soit en HTTP soit en HTTPS. Le HTTPS est recommandé parce que les communications sont chiffrées ; à l'inverse HTTP rend les communications visibles pour un espion qui peut utiliser les informations accumulées sur vous pour déterminer par exemple si votre système a des vulnérabilités de sécurités non corrigées." #. type: Plain text -#: doc/guix.texi:2304 +#: doc/guix.texi:2354 msgid "Substitutes from the official build farm are enabled by default when using the Guix System Distribution (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server." msgstr "Les substituts de la ferme de construction officielle sont activés par défaut dans la distribution système Guix (@pxref{GNU Distribution}). Cependant, ils sont désactivés par défaut lorsque vous utilisez Guix sur une distribution externe, à moins que vous ne les ayez explicitement activés via l'une des étapes d'installation recommandées (@pxref{Installation}). Les paragraphes suivants décrivent comment activer ou désactiver les substituts de la ferme de construction ; la même procédure peut être utilisée pour activer les substituts de n'importe quel autre serveur de substituts." #. type: cindex -#: doc/guix.texi:2308 +#: doc/guix.texi:2358 #, no-wrap msgid "security" msgstr "sécurité" #. type: cindex -#: doc/guix.texi:2310 +#: doc/guix.texi:2360 #, no-wrap msgid "access control list (ACL), for substitutes" msgstr "liste de contrôle d'accès (ACL), pour les substituts" #. type: cindex -#: doc/guix.texi:2311 +#: doc/guix.texi:2361 #, no-wrap msgid "ACL (access control list), for substitutes" msgstr "ACL (liste de contrôle d'accès), pour les substituts" #. type: Plain text -#: doc/guix.texi:2318 +#: doc/guix.texi:2368 msgid "To allow Guix to download substitutes from @code{hydra.gnu.org} or a mirror thereof, you must add its public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust @code{hydra.gnu.org} to not be compromised and to serve genuine substitutes." msgstr "Pour permettre à Guix de télécharger les substituts depuis @code{hydra.gnu.org} ou un mirroir, vous devez ajouter sa clef publique à la liste de contrôle d'accès (ACL) des imports d'archives, avec la commande @command{guix archive} (@pxref{Invoking guix archive}). Cela implique que vous faîtes confiance à @code{hydra.gnu.org} pour ne pas être compromis et vous servir des substituts authentiques." #. type: Plain text -#: doc/guix.texi:2325 +#: doc/guix.texi:2375 msgid "The public key for @code{hydra.gnu.org} is installed along with Guix, in @code{@var{prefix}/share/guix/hydra.gnu.org.pub}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:" msgstr "La clef publique pour @code{hydra.gnu.org} est installée avec Guix, dans @code{@var{préfixe}/share/guix/hydra.gnu.org.pub}, où @var{préfixe} est le préfixe d'installation de Guix. Si vous avez installé Guix depuis les sources, assurez-vous d'avoir vérifié la signature GPG de @file{guix-@value{VERSION}.tar.gz} qui contient ce fichier de clef publique. Ensuite vous pouvez lancer quelque chose comme ceci :" #. type: example -#: doc/guix.texi:2328 +#: doc/guix.texi:2378 #, no-wrap msgid "# guix archive --authorize < @var{prefix}/share/guix/hydra.gnu.org.pub\n" msgstr "# guix archive --authorize < @var{préfixe}/share/guix/hydra.gnu.org.pub\n" #. type: quotation -#: doc/guix.texi:2334 +#: doc/guix.texi:2384 msgid "Similarly, the @file{berlin.guixsd.org.pub} file contains the public key for the project's new build farm, reachable at @indicateurl{https://berlin.guixsd.org}." msgstr "De même, le fichier @file{berlin.guixsd.org.pub} contient la clef publique de la nouvelle ferme de construction du projet, disponible depuis @indicateurl{https://berlin.guixsd.org}." #. type: quotation -#: doc/guix.texi:2339 +#: doc/guix.texi:2389 msgid "As of this writing @code{berlin.guixsd.org} is being upgraded so it can better scale up, but you might want to give it a try. It is backed by 20 x86_64/i686 build nodes and may be able to provide substitutes more quickly than @code{mirror.hydra.gnu.org}." msgstr "Au moment où ces lignes sont écrites, @code{berlin.guixsd.org} est mis à niveau pour mieux passer à l'échelle, mais vous pourriez vouloir le tester. Il est associé à 20 nœuds de construction x86_64/i686 et pourrait fournir des substituts plus rapidement que @code{mirror.hydra.gnu.org}" #. type: Plain text -#: doc/guix.texi:2343 +#: doc/guix.texi:2393 msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:" msgstr "Une fois que cela est en place, la sortie d'une commande comme @code{guix build} devrait changer de quelque chose comme :" #. type: example -#: doc/guix.texi:2352 +#: doc/guix.texi:2402 #, no-wrap msgid "" "$ guix build emacs --dry-run\n" @@ -5614,12 +5762,12 @@ msgstr "" "@dots{}\n" #. type: Plain text -#: doc/guix.texi:2356 +#: doc/guix.texi:2406 msgid "to something like:" msgstr "à quelque chose comme :" #. type: example -#: doc/guix.texi:2365 +#: doc/guix.texi:2415 #, no-wrap msgid "" "$ guix build emacs --dry-run\n" @@ -5639,551 +5787,551 @@ msgstr "" "@dots{}\n" #. type: Plain text -#: doc/guix.texi:2370 +#: doc/guix.texi:2420 msgid "This indicates that substitutes from @code{hydra.gnu.org} are usable and will be downloaded, when possible, for future builds." msgstr "Cela indique que les substituts de @code{hydra.gnu.org} sont utilisables et seront téléchargés, si possible, pour les futures constructions." #. type: cindex -#: doc/guix.texi:2371 +#: doc/guix.texi:2421 #, no-wrap msgid "substitutes, how to disable" msgstr "substituts, comment les désactiver" #. type: Plain text -#: doc/guix.texi:2377 +#: doc/guix.texi:2427 msgid "The substitute mechanism can be disabled globally by running @code{guix-daemon} with @code{--no-substitutes} (@pxref{Invoking guix-daemon}). It can also be disabled temporarily by passing the @code{--no-substitutes} option to @command{guix package}, @command{guix build}, and other command-line tools." msgstr "Le mécanisme de substitution peut être désactivé globalement en lançant @code{guix-daemon} avec @code{--no-substitutes} (@pxref{Invoking guix-daemon}). Il peut aussi être désactivé temporairement en passant l'option @code{--no-substitutes} à @command{guix package}, @command{guix build} et aux autres outils en ligne de commande." #. type: cindex -#: doc/guix.texi:2381 +#: doc/guix.texi:2431 #, no-wrap msgid "digital signatures" msgstr "signatures numériques" #. type: Plain text -#: doc/guix.texi:2385 +#: doc/guix.texi:2435 msgid "Guix detects and raises an error when attempting to use a substitute that has been tampered with. Likewise, it ignores substitutes that are not signed, or that are not signed by one of the keys listed in the ACL." msgstr "Guix détecte et lève une erreur lorsqu'il essaye d'utiliser un substituts qui a été modifié. De même, il ignore les substituts qui ne sont pas signés ou qui ne sont pas signés par l'une des clefs listés dans l'ACL." #. type: Plain text -#: doc/guix.texi:2391 +#: doc/guix.texi:2441 msgid "There is one exception though: if an unauthorized server provides substitutes that are @emph{bit-for-bit identical} to those provided by an authorized server, then the unauthorized server becomes eligible for downloads. For example, assume we have chosen two substitute servers with this option:" msgstr "Il y a une exception cependant : si un serveur non autorisé fournit des substituts qui sont @emph{identiques bit-à-bit} à ceux fournis par un serveur autorisé, alors le serveur non autorisé devient disponible pour les téléchargements. Par exemple en supposant qu'on a choisi deux serveurs de substituts avec cette option :" #. type: example -#: doc/guix.texi:2394 +#: doc/guix.texi:2444 #, no-wrap msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n" msgstr "--substitute-urls=\"https://a.example.org https://b.example.org\"\n" #. type: Plain text -#: doc/guix.texi:2405 +#: doc/guix.texi:2455 msgid "If the ACL contains only the key for @code{b.example.org}, and if @code{a.example.org} happens to serve the @emph{exact same} substitutes, then Guix will download substitutes from @code{a.example.org} because it comes first in the list and can be considered a mirror of @code{b.example.org}. In practice, independent build machines usually produce the same binaries, thanks to bit-reproducible builds (see below)." msgstr "Si l'ACL contient uniquement la clef de @code{b.example.org}, et si @code{a.example.org} sert @emph{exactement les mêmes} substituts, alors Guix téléchargera les substituts de @code{a.example.org} parce qu'il vient en premier dans la liste et peut être considéré comme un mirroir de @code{b.example.org}. En pratique, des machines de constructions produisent souvent les mêmes binaires grâce à des construction reproductibles au bit près (voir plus bas)." #. type: Plain text -#: doc/guix.texi:2412 +#: doc/guix.texi:2462 msgid "When using HTTPS, the server's X.509 certificate is @emph{not} validated (in other words, the server is not authenticated), contrary to what HTTPS clients such as Web browsers usually do. This is because Guix authenticates substitute information itself, as explained above, which is what we care about (whereas X.509 certificates are about authenticating bindings between domain names and public keys.)" msgstr "Lorsque vous utilisez HTTPS, le certificat X.509 du serveur n'est @emph{pas} validé (en d'autre termes, le serveur n'est pas authentifié), contrairement à ce que des clients HTTPS comme des navigateurs web font habituellement. Cela est dû au fait que Guix authentifie les informations sur les substituts eux-même, comme expliqué plus haut, ce dont on se soucie réellement (alors que les certificats X.509 authentifie la relation entre nom de domaine et clef publique)." #. type: Plain text -#: doc/guix.texi:2424 +#: doc/guix.texi:2474 msgid "Substitutes are downloaded over HTTP or HTTPS. The @code{http_proxy} environment variable can be set in the environment of @command{guix-daemon} and is honored for downloads of substitutes. Note that the value of @code{http_proxy} in the environment where @command{guix build}, @command{guix package}, and other client commands are run has @emph{absolutely no effect}." msgstr "Les substituts sont téléchargés par HTTP ou HTTPS. La variable d'environnement @code{http_proxy} peut être initialisée dans l'environnement de @command{guix-daemon} et est respectée pour le téléchargement des substituts. Remarquez que la valeur de @code{http_proxy} dans l'environnement où tournent @command{guix build}, @command{guix package} et les autres clients n'a @emph{absolument aucun effet}." #. type: Plain text -#: doc/guix.texi:2433 +#: doc/guix.texi:2483 msgid "Even when a substitute for a derivation is available, sometimes the substitution attempt will fail. This can happen for a variety of reasons: the substitute server might be offline, the substitute may recently have been deleted, the connection might have been interrupted, etc." msgstr "Même lorsqu'un substitut pour une dérivation est disponible, la substitution échoue parfois. Cela peut arriver pour plusieurs raisons : le serveur de substitut peut être hors ligne, le substitut a récemment été supprimé du serveur, la connexion peut avoir été interrompue, etc." #. type: Plain text -#: doc/guix.texi:2447 +#: doc/guix.texi:2497 msgid "When substitutes are enabled and a substitute for a derivation is available, but the substitution attempt fails, Guix will attempt to build the derivation locally depending on whether or not @code{--fallback} was given (@pxref{fallback-option,, common build option @code{--fallback}}). Specifically, if @code{--fallback} was omitted, then no local build will be performed, and the derivation is considered to have failed. However, if @code{--fallback} was given, then Guix will attempt to build the derivation locally, and the success or failure of the derivation depends on the success or failure of the local build. Note that when substitutes are disabled or no substitute is available for the derivation in question, a local build will @emph{always} be performed, regardless of whether or not @code{--fallback} was given." msgstr "Lorsque les substituts sont activés et qu'un substitut pour une dérivation est disponible, mais que la tentative de substitution échoue, Guix essaiera de construire la dérivation localement si @code{--fallback} a été passé en argument (@pxref{fallback-option,, common build option @code{--fallback}}). Plus spécifiquement, si cet option n'a pas été passée en argument, alors aucune construction locale n'est effectuée et la dérivation est considérée comme étant en échec. Cependant, si @code{--fallback} est passé en argument, alors Guix essaiera de construire la dérivation localement et l'échec ou le succès de la dérivation dépend de l'échec ou du succès de la construction locale. Remarquez que lorsque les substituts sont désactivés ou qu'aucun substitut n'est disponible pour la dérivation en question, une construction locale sera @emph{toujours} effectuée, indépendamment du fait que l'argument @code{--fallback} ait été ou non passé." #. type: Plain text -#: doc/guix.texi:2452 +#: doc/guix.texi:2502 msgid "To get an idea of how many substitutes are available right now, you can try running the @command{guix weather} command (@pxref{Invoking guix weather}). This command provides statistics on the substitutes provided by a server." msgstr "Pour se donner une idée du nombre de substituts disponibles maintenant, vous pouvez essayer de lancer la commande @command{guix weather} (@pxref{Invoking guix weather}). Cette command fournit des statistiques sur les substituts fournis par un serveur." #. type: cindex -#: doc/guix.texi:2456 +#: doc/guix.texi:2506 #, no-wrap msgid "trust, of pre-built binaries" msgstr "confiance, en des binaires pré-construits" #. type: Plain text -#: doc/guix.texi:2466 +#: doc/guix.texi:2516 msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using @code{hydra.gnu.org} substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that @code{hydra.gnu.org} is less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})." msgstr "De nos jours, le contrôle individuel sur son utilisation propre de l'informatique est à la merci d'institutions, de sociétés et de groupes avec assez de pouvoir et de détermination pour contourner les infrastructures informatiques et exploiter leurs faiblesses. Bien qu'utiliser les substituts de @code{hydra.gnu.org} soit pratique, nous encourageons les utilisateurs à construire aussi par eux-même, voir à faire tourner leur propre ferme de construction, pour que @code{hydra.gnu.org} devienne une cible moins intéressante. Une façon d'aider est de publier les logiciels que vous construisez avec @command{guix publish} pour que les autres aient plus de choix de serveurs où télécharger les substituts (@pxref{Invoking guix publish})." #. type: Plain text -#: doc/guix.texi:2478 +#: doc/guix.texi:2528 msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})." msgstr "Guix possède les fondations pour maximiser la reproductibilité logicielle (@pxref{Features}). Dans la plupart des cas, des constructions indépendantes d'un paquet donnée ou d'une dérivation devrait donner des résultats identiques au bit près. Ainsi, à travers un ensemble de constructions de paquets indépendantes il est possible de renforcer l'intégrité du système. La commande @command{guix challenge} a pour but d'aider les utilisateurs à tester les serveurs de substituts et à aider les développeurs à trouver les constructions de paquets non-déterministes (@pxref{Invoking guix challenge}). De même, l'option @option{--check} de @command{guix build} permet aux utilisateurs de vérifier si les substituts précédemment installés sont authentiques en les reconstruisant localement (@pxref{build-check, @command{guix build --check}})." #. type: Plain text -#: doc/guix.texi:2482 +#: doc/guix.texi:2532 msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}." msgstr "Dans le futur, nous aimerions que Guix puisse publier et recevoir des binaires d'autres utilisateurs, d'une manière pair-à-pair. Si vous voulez discuter de ce projet, rejoignez-nous sur @email{guix-devel@@gnu.org}." #. type: cindex -#: doc/guix.texi:2486 +#: doc/guix.texi:2536 #, no-wrap msgid "multiple-output packages" msgstr "paquets avec plusieurs résultats" #. type: cindex -#: doc/guix.texi:2487 +#: doc/guix.texi:2537 #, no-wrap msgid "package outputs" msgstr "sorties de paquets" #. type: cindex -#: doc/guix.texi:2488 +#: doc/guix.texi:2538 #, no-wrap msgid "outputs" msgstr "sorties" #. type: Plain text -#: doc/guix.texi:2498 +#: doc/guix.texi:2548 msgid "Often, packages defined in Guix have a single @dfn{output}---i.e., the source package leads to exactly one directory in the store. When running @command{guix package -i glibc}, one installs the default output of the GNU libc package; the default output is called @code{out}, but its name can be omitted as shown in this command. In this particular case, the default output of @code{glibc} contains all the C header files, shared libraries, static libraries, Info documentation, and other supporting files." msgstr "Souvent, les paquets définis dans Guix ont une seule @dfn{sortie} — c.-à-d.@: que le paquet source conduit à exactement un répertoire dans le dépôt. Lorsque vous lancez @command{guix package -i glibc}, vous installez la sortie par défaut du paquet GNU libc ; la sortie par défaut est appelée @code{out} mais son nom peut être omis comme le montre cette commande. Dans ce cas particuliers, la sortie par défaut de @code{glibc} contient tous les fichiers d'en-tête C, les bibliothèques partagées, les bibliothèques statiques, la documentation Info et les autres fichiers de support." #. type: Plain text -#: doc/guix.texi:2506 +#: doc/guix.texi:2556 msgid "Sometimes it is more appropriate to separate the various types of files produced from a single source package into separate outputs. For instance, the GLib C library (used by GTK+ and related packages) installs more than 20 MiB of reference documentation as HTML pages. To save space for users who do not need it, the documentation goes to a separate output, called @code{doc}. To install the main GLib output, which contains everything but the documentation, one would run:" msgstr "Parfois il est plus approprié de séparer les divers types de fichiers produits par un même paquet source en plusieurs sorties. Par exemple, la bibliothèque C GLib (utilisée par GTK+ et des paquets associés) installe plus de 20 Mo de documentation de référence dans des pages HTML. Pour préserver l'espace disque des utilisateurs qui n'en ont pas besoin, la documentation va dans une sortie séparée nommée @code{doc}. Pour installer la sortie principale de GLib, qui contient tout sauf la documentation, on devrait lancer :" #. type: example -#: doc/guix.texi:2509 +#: doc/guix.texi:2559 #, no-wrap msgid "guix package -i glib\n" msgstr "guix package -i glib\n" -#. type: code{#1} -#: doc/guix.texi:2511 doc/guix.texi:21805 +#. type: item +#: doc/guix.texi:2561 doc/guix.texi:23274 doc/guix.texi:23299 #, no-wrap msgid "documentation" msgstr "documentation" #. type: Plain text -#: doc/guix.texi:2513 +#: doc/guix.texi:2563 msgid "The command to install its documentation is:" msgstr "La commande pour installer la documentation est :" #. type: example -#: doc/guix.texi:2516 +#: doc/guix.texi:2566 #, no-wrap msgid "guix package -i glib:doc\n" msgstr "guix package -i glib:doc\n" #. type: Plain text -#: doc/guix.texi:2527 +#: doc/guix.texi:2577 msgid "Some packages install programs with different ``dependency footprints''. For instance, the WordNet package installs both command-line tools and graphical user interfaces (GUIs). The former depend solely on the C library, whereas the latter depend on Tcl/Tk and the underlying X libraries. In this case, we leave the command-line tools in the default output, whereas the GUIs are in a separate output. This allows users who do not need the GUIs to save space. The @command{guix size} command can help find out about such situations (@pxref{Invoking guix size}). @command{guix graph} can also be helpful (@pxref{Invoking guix graph})." msgstr "Certains paquets installent des programmes avec des « empreintes dépendances » différentes. Par exemple le paquet WordNet installe à la fois les outils en ligne de commande et les interfaces graphiques (GUI). La première ne dépend que de la bibliothèque C, alors que cette dernière dépend de Tcl/Tk et des bibliothèques X sous-jacentes. Dans ce cas, nous laissons les outils en ligne de commande dans la sortie par défaut et l'interface graphique dans une sortie séparée. Cela permet aux utilisateurs qui n'ont pas besoin d'interface graphique de gagner de la place. La commande @command{guix size} peut aider à trouver ces situations (@pxref{Invoking guix size}). @command{guix graph} peut aussi être utile (@pxref{Invoking guix graph})." #. type: Plain text -#: doc/guix.texi:2535 +#: doc/guix.texi:2585 msgid "There are several such multiple-output packages in the GNU distribution. Other conventional output names include @code{lib} for libraries and possibly header files, @code{bin} for stand-alone programs, and @code{debug} for debugging information (@pxref{Installing Debugging Files}). The outputs of a packages are listed in the third column of the output of @command{guix package --list-available} (@pxref{Invoking guix package})." msgstr "Il y a plusieurs paquets à sorties multiples dans la distribution GNU. D'autres noms de sorties conventionnels sont @code{lib} pour les bibliothèques et éventuellement les fichiers d'en-tête, @code{bin} pour les programmes indépendants et @code{debug} pour les informations de débogage (@pxref{Installing Debugging Files}). Les sorties d'un paquet sont listés dans la troisième colonne de la sortie de @command{guix package --list-available} (@pxref{Invoking guix package})." #. type: section -#: doc/guix.texi:2538 +#: doc/guix.texi:2588 #, no-wrap msgid "Invoking @command{guix gc}" msgstr "Invoquer @command{guix gc}" #. type: cindex -#: doc/guix.texi:2540 +#: doc/guix.texi:2590 #, no-wrap msgid "garbage collector" msgstr "ramasse-miettes" #. type: cindex -#: doc/guix.texi:2541 +#: doc/guix.texi:2591 #, no-wrap msgid "disk space" msgstr "espace disque" #. type: Plain text -#: doc/guix.texi:2547 +#: doc/guix.texi:2597 msgid "Packages that are installed, but not used, may be @dfn{garbage-collected}. The @command{guix gc} command allows users to explicitly run the garbage collector to reclaim space from the @file{/gnu/store} directory. It is the @emph{only} way to remove files from @file{/gnu/store}---removing files or directories manually may break it beyond repair!" msgstr "Les paquets qui sont installés mais pas utilisés peuvent être @dfn{glanés}. La commande @command{guix gc} permet aux utilisateurs de lancer explicitement le ramasse-miettes pour récupérer de l'espace dans le répertoire @file{/gnu/store}. C'est la @emph{seule} manière de supprimer des fichiers de @file{/gnu/store} — supprimer des fichiers ou des répertoires à la main peut le casser de manière impossible à réparer !" #. type: Plain text -#: doc/guix.texi:2558 +#: doc/guix.texi:2608 msgid "The garbage collector has a set of known @dfn{roots}: any file under @file{/gnu/store} reachable from a root is considered @dfn{live} and cannot be deleted; any other file is considered @dfn{dead} and may be deleted. The set of garbage collector roots (``GC roots'' for short) includes default user profiles; by default, the symlinks under @file{/var/guix/gcroots} represent these GC roots. New GC roots can be added with @command{guix build --root}, for example (@pxref{Invoking guix build})." msgstr "Le ramasse-miettes a un ensemble de @dfn{racines} connues : tout fichier dans @file{/gnu/store} atteignable depuis une racine est considéré comme @dfn{utilisé} et ne peut pas être supprimé ; tous les autres fichiers sont considérés comme @dfn{inutilisés} et peuvent être supprimés. L'ensemble des racines du ramasse-miettes (ou « racines du GC » pour faire court) inclue les profils par défaut des utilisateurs ; par défaut les liens symboliques sous @file{/var/guix/gcroots} représentent ces racines du GC. De nouvelles racines du GC peuvent être ajoutées avec la @command{guix build -- root} par exemple (@pxref{Invoking guix build})." #. type: Plain text -#: doc/guix.texi:2564 +#: doc/guix.texi:2614 msgid "Prior to running @code{guix gc --collect-garbage} to make space, it is often useful to remove old generations from user profiles; that way, old package builds referenced by those generations can be reclaimed. This is achieved by running @code{guix package --delete-generations} (@pxref{Invoking guix package})." msgstr "Avant de lancer @code{guix gc --collect-garbage} pour faire de la place, c'est souvent utile de supprimer les anciennes génération des profils utilisateurs ; de cette façon les anciennes constructions de paquets référencées par ces générations peuvent être glanées. Cela se fait en lançaint @code{guix package --delete-generations} (@pxref{Invoking guix package})." #. type: Plain text -#: doc/guix.texi:2568 +#: doc/guix.texi:2618 msgid "Our recommendation is to run a garbage collection periodically, or when you are short on disk space. For instance, to guarantee that at least 5@tie{}GB are available on your disk, simply run:" msgstr "Nous recommandons de lancer le ramasse-miettes régulièrement ou lorsque vous avez besoin d'espace disque. Par exemple pour garantir qu'au moins 5@tie{}Go d'espace reste libre sur votre disque, lancez simplement :" #. type: example -#: doc/guix.texi:2571 +#: doc/guix.texi:2621 #, no-wrap msgid "guix gc -F 5G\n" msgstr "guix gc -F 5G\n" #. type: Plain text -#: doc/guix.texi:2580 +#: doc/guix.texi:2630 msgid "It is perfectly safe to run as a non-interactive periodic job (@pxref{Scheduled Job Execution}, for how to set up such a job on GuixSD). Running @command{guix gc} with no arguments will collect as much garbage as it can, but that is often inconvenient: you may find yourself having to rebuild or re-download software that is ``dead'' from the GC viewpoint but that is necessary to build other pieces of software---e.g., the compiler tool chain." msgstr "Il est parfaitement possible de le lancer comme une tâche périodique non-interactive (@pxref{Scheduled Job Execution} pour apprendre comment paramétrer une telle tâche sur GuixSD). Lancer @command{guix gc} sans argument ramassera autant de miettes que possible mais ça n'est pas le plus pratique : vous pourriez vous retrouver à reconstruire ou re-télécharger des logiciels « inutilisés » du point de vu du GC mais qui sont nécessaires pour construire d'autres logiciels — p.@: ex.@: la chaîne de compilation." #. type: Plain text -#: doc/guix.texi:2586 +#: doc/guix.texi:2636 msgid "The @command{guix gc} command has three modes of operation: it can be used to garbage-collect any dead files (the default), to delete specific files (the @code{--delete} option), to print garbage-collector information, or for more advanced queries. The garbage collection options are as follows:" msgstr "La command @command{guix gc} a trois modes d'opération : il peut être utilisé pour glaner des fichiers inutilisés (par défaut), pour supprimer des fichiers spécifiques (l'option @code{--delete}), pour afficher des informations sur le ramasse-miettes ou pour des requêtes plus avancées. Les options du ramasse-miettes sont :" #. type: item -#: doc/guix.texi:2588 +#: doc/guix.texi:2638 #, no-wrap msgid "--collect-garbage[=@var{min}]" msgstr "--collect-garbage[=@var{min}]" #. type: itemx -#: doc/guix.texi:2589 +#: doc/guix.texi:2639 #, no-wrap msgid "-C [@var{min}]" msgstr "-C [@var{min}]" #. type: table -#: doc/guix.texi:2593 +#: doc/guix.texi:2643 msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified." msgstr "Ramasse les miettes — c.-à-d.@: les fichiers inaccessibles de @file{/gnu/store} et ses sous-répertoires. C'est l'opération par défaut lorsqu'aucune option n'est spécifiée." #. type: table -#: doc/guix.texi:2598 +#: doc/guix.texi:2648 msgid "When @var{min} is given, stop once @var{min} bytes have been collected. @var{min} may be a number of bytes, or it may include a unit as a suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})." msgstr "Lorsque @var{min} est donné, s'arrêter une fois que @var{min} octets ont été collectés. @var{min} pour être un nombre d'octets ou inclure un suffixe d'unité, comme @code{MiB} pour mébioctet et @code{GB} pour gigaoctet (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})." #. type: table -#: doc/guix.texi:2600 +#: doc/guix.texi:2650 msgid "When @var{min} is omitted, collect all the garbage." msgstr "Lorsque @var{min} est omis, tout glaner." #. type: item -#: doc/guix.texi:2601 +#: doc/guix.texi:2651 #, no-wrap msgid "--free-space=@var{free}" msgstr "--free-space=@var{libre}" #. type: itemx -#: doc/guix.texi:2602 +#: doc/guix.texi:2652 #, no-wrap msgid "-F @var{free}" msgstr "-F @var{libre}" #. type: table -#: doc/guix.texi:2606 +#: doc/guix.texi:2656 msgid "Collect garbage until @var{free} space is available under @file{/gnu/store}, if possible; @var{free} denotes storage space, such as @code{500MiB}, as described above." msgstr "Glaner jusqu'à ce que @var{libre} espace soit disponible dans @file{/gnu/store} si possible ; @var{libre} est une quantité de stockage comme @code{500MiB} comme décrit ci-dessus." #. type: table -#: doc/guix.texi:2609 +#: doc/guix.texi:2659 msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately." msgstr "Lorsque @var{libre} ou plus est disponible dans @file{/gnu/store} ne rien faire et s'arrêter immédiatement." #. type: item -#: doc/guix.texi:2610 +#: doc/guix.texi:2660 #, no-wrap msgid "--delete" msgstr "--delete" #. type: itemx -#: doc/guix.texi:2611 doc/guix.texi:6018 doc/guix.texi:21082 +#: doc/guix.texi:2661 doc/guix.texi:6618 doc/guix.texi:22540 #, no-wrap msgid "-d" msgstr "-d" #. type: table -#: doc/guix.texi:2615 +#: doc/guix.texi:2665 msgid "Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live." msgstr "Essayer de supprimer tous les fichiers et les répertoires du dépôt spécifiés en argument. Cela échoue si certains des fichiers ne sont pas dans le dépôt ou s'ils sont toujours utilisés." #. type: item -#: doc/guix.texi:2616 +#: doc/guix.texi:2666 #, no-wrap msgid "--list-failures" msgstr "--list-failures" #. type: table -#: doc/guix.texi:2618 +#: doc/guix.texi:2668 msgid "List store items corresponding to cached build failures." msgstr "Lister les éléments du dépôt qui correspondent à des échecs de construction" #. type: table -#: doc/guix.texi:2622 +#: doc/guix.texi:2672 msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})." msgstr "Cela n'affiche rien à moins que le démon n'ait été démarré avec @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})." #. type: item -#: doc/guix.texi:2623 +#: doc/guix.texi:2673 #, no-wrap msgid "--clear-failures" msgstr "--clear-failures" #. type: table -#: doc/guix.texi:2625 +#: doc/guix.texi:2675 msgid "Remove the specified store items from the failed-build cache." msgstr "Supprimer les éléments du dépôt spécifiés du cache des constructions échouées." #. type: table -#: doc/guix.texi:2628 +#: doc/guix.texi:2678 msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing." msgstr "De nouveau, cette option ne fait de sens que lorsque le démon est démarré avec @option{--cache-failures}. Autrement elle ne fait rien." #. type: item -#: doc/guix.texi:2629 +#: doc/guix.texi:2679 #, no-wrap msgid "--list-dead" msgstr "--list-dead" #. type: table -#: doc/guix.texi:2632 +#: doc/guix.texi:2682 msgid "Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root." msgstr "Montrer la liste des fichiers et des répertoires inutilisés encore présents dans le dépôt — c.-à-d.@: les fichiers et les répertoires qui ne sont plus atteignables par aucune racine." #. type: item -#: doc/guix.texi:2633 +#: doc/guix.texi:2683 #, no-wrap msgid "--list-live" msgstr "--list-live" #. type: table -#: doc/guix.texi:2635 +#: doc/guix.texi:2685 msgid "Show the list of live store files and directories." msgstr "Montrer la liste des fichiers et des répertoires du dépôt utilisés." #. type: Plain text -#: doc/guix.texi:2639 +#: doc/guix.texi:2689 msgid "In addition, the references among existing store files can be queried:" msgstr "En plus, les références entre les fichiers existants du dépôt peuvent être demandés :" #. type: item -#: doc/guix.texi:2642 +#: doc/guix.texi:2692 #, no-wrap msgid "--references" msgstr "--references" #. type: itemx -#: doc/guix.texi:2643 +#: doc/guix.texi:2693 #, no-wrap msgid "--referrers" msgstr "--referrers" #. type: cindex -#: doc/guix.texi:2644 doc/guix.texi:7145 +#: doc/guix.texi:2694 doc/guix.texi:7807 #, no-wrap msgid "package dependencies" msgstr "dépendances des paquets" #. type: table -#: doc/guix.texi:2647 +#: doc/guix.texi:2697 msgid "List the references (respectively, the referrers) of store files given as arguments." msgstr "Lister les références (respectivement les référents) des fichiers du dépôt en argument." #. type: item -#: doc/guix.texi:2648 +#: doc/guix.texi:2698 #, no-wrap msgid "--requisites" msgstr "--requisites" #. type: itemx -#: doc/guix.texi:2649 doc/guix.texi:2956 +#: doc/guix.texi:2699 doc/guix.texi:3415 #, no-wrap msgid "-R" msgstr "-R" #. type: item -#: doc/guix.texi:2650 doc/guix.texi:7021 doc/guix.texi:7049 doc/guix.texi:7117 +#: doc/guix.texi:2700 doc/guix.texi:7683 doc/guix.texi:7711 doc/guix.texi:7779 #, no-wrap msgid "closure" msgstr "closure" #. type: table -#: doc/guix.texi:2655 +#: doc/guix.texi:2705 msgid "List the requisites of the store files passed as arguments. Requisites include the store files themselves, their references, and the references of these, recursively. In other words, the returned list is the @dfn{transitive closure} of the store files." msgstr "Lister les prérequis des fichiers du dépôt passés en argument. Les prérequis sont le fichier du dépôt lui-même, leur références et les références de ces références, récursivement. En d'autre termes, la liste retournée est la @dfn{closure transitive} des fichiers du dépôt." #. type: table -#: doc/guix.texi:2659 +#: doc/guix.texi:2709 msgid "@xref{Invoking guix size}, for a tool to profile the size of the closure of an element. @xref{Invoking guix graph}, for a tool to visualize the graph of references." msgstr "@xref{Invoking guix size} pour un outil pour surveiller la taille de la closure d'un élément. @xref{Invoking guix graph} pour un outil pour visualiser le graphe des références." #. type: item -#: doc/guix.texi:2660 +#: doc/guix.texi:2710 #, no-wrap msgid "--derivers" msgstr "--derivers" #. type: item -#: doc/guix.texi:2661 doc/guix.texi:3241 doc/guix.texi:7230 +#: doc/guix.texi:2711 doc/guix.texi:3703 doc/guix.texi:7892 #, no-wrap msgid "derivation" msgstr "dérivation" #. type: table -#: doc/guix.texi:2664 +#: doc/guix.texi:2714 msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})." msgstr "Renvoie les dérivations menant aux éléments du dépôt donnés (@pxref{Derivations})." #. type: table -#: doc/guix.texi:2666 +#: doc/guix.texi:2716 msgid "For example, this command:" msgstr "Par exemple cette commande :" #. type: example -#: doc/guix.texi:2669 +#: doc/guix.texi:2719 #, no-wrap msgid "guix gc --derivers `guix package -I ^emacs$ | cut -f4`\n" msgstr "guix gc --derivers `guix package -I ^emacs$ | cut -f4`\n" #. type: table -#: doc/guix.texi:2674 +#: doc/guix.texi:2724 msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile." msgstr "renvoie les fichiers @file{.drv} menant au paquet @code{emacs} installé dans votre profil." #. type: table -#: doc/guix.texi:2678 +#: doc/guix.texi:2728 msgid "Note that there may be zero matching @file{.drv} files, for instance because these files have been garbage-collected. There can also be more than one matching @file{.drv} due to fixed-output derivations." msgstr "Remarquez qu'il peut n'y avoir aucun fichier @file{.drv} par exemple quand ces fichiers ont été glanés. Il peut aussi y avoir plus d'un fichier @file{.drv} correspondant à cause de dérivations à sortie fixées." #. type: Plain text -#: doc/guix.texi:2682 +#: doc/guix.texi:2732 msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage." msgstr "Enfin, les options suivantes vous permettent de vérifier l'intégrité du dépôt et de contrôler l'utilisation du disque." #. type: item -#: doc/guix.texi:2685 +#: doc/guix.texi:2735 #, no-wrap msgid "--verify[=@var{options}]" msgstr "--verify[=@var{options}]" #. type: cindex -#: doc/guix.texi:2686 +#: doc/guix.texi:2736 #, no-wrap msgid "integrity, of the store" msgstr "intégrité, du dépôt" #. type: cindex -#: doc/guix.texi:2687 +#: doc/guix.texi:2737 #, no-wrap msgid "integrity checking" msgstr "vérification d'intégrité" #. type: table -#: doc/guix.texi:2689 +#: doc/guix.texi:2739 msgid "Verify the integrity of the store." msgstr "Vérifier l'intégrité du dépôt." #. type: table -#: doc/guix.texi:2692 +#: doc/guix.texi:2742 msgid "By default, make sure that all the store items marked as valid in the database of the daemon actually exist in @file{/gnu/store}." msgstr "Par défaut, s'assurer que tous les éléments du dépôt marqués comme valides dans la base de données du démon existent bien dans @file{/gnu/store}." #. type: table -#: doc/guix.texi:2695 +#: doc/guix.texi:2745 msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}." msgstr "Lorsqu'elle est fournie, l'@var{option} doit être une liste séparée par des virgule de l'un ou plus parmi @code{contents} et @code{repair}." #. type: table -#: doc/guix.texi:2701 +#: doc/guix.texi:2751 msgid "When passing @option{--verify=contents}, the daemon computes the content hash of each store item and compares it against its hash in the database. Hash mismatches are reported as data corruptions. Because it traverses @emph{all the files in the store}, this command can take a long time, especially on systems with a slow disk drive." msgstr "Lorsque vous passez @option{--verify=contents}, le démon calcul le hash du contenu de chaque élément du dépôt et le compare au hash de sa base de données. Les différences de hash sont rapportées comme des corruptions de données. Comme elle traverse @emph{tous les fichiers du dépôt}, cette commande peut prendre très longtemps pour terminer, surtout sur un système avec un disque lent." #. type: cindex -#: doc/guix.texi:2702 +#: doc/guix.texi:2752 #, no-wrap msgid "repairing the store" msgstr "réparer le dépôt" #. type: cindex -#: doc/guix.texi:2703 doc/guix.texi:6011 +#: doc/guix.texi:2753 doc/guix.texi:6611 #, no-wrap msgid "corruption, recovering from" msgstr "corruption, récupérer de" #. type: table -#: doc/guix.texi:2711 +#: doc/guix.texi:2761 msgid "Using @option{--verify=repair} or @option{--verify=contents,repair} causes the daemon to try to repair corrupt store items by fetching substitutes for them (@pxref{Substitutes}). Because repairing is not atomic, and thus potentially dangerous, it is available only to the system administrator. A lightweight alternative, when you know exactly which items in the store are corrupt, is @command{guix build --repair} (@pxref{Invoking guix build})." msgstr "Utiliser @option{--verify=repair} ou @option{--verify=contents,repair} fait que le démon essaie de réparer les objets du dépôt corrompus en récupérant leurs substituts (@pxref{Substituts}). Comme la réparation n'est pas atomique et donc potentiellement dangereuse, elle n'est disponible que pour l'administrateur système. Une alternative plus légère lorsque vous connaissez exactement quelle entrée est corrompue consiste à lancer @command{guix build --repair} (@pxref{Invoking guix build})." #. type: item -#: doc/guix.texi:2712 +#: doc/guix.texi:2762 #, no-wrap msgid "--optimize" msgstr "--optimize" #. type: table -#: doc/guix.texi:2716 +#: doc/guix.texi:2766 msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}." msgstr "Optimiser le dépôt en liant en dur les fichiers identiques — c'est la @dfn{déduplication}." #. type: table -#: doc/guix.texi:2722 +#: doc/guix.texi:2772 msgid "The daemon performs deduplication after each successful build or archive import, unless it was started with @code{--disable-deduplication} (@pxref{Invoking guix-daemon, @code{--disable-deduplication}}). Thus, this option is primarily useful when the daemon was running with @code{--disable-deduplication}." msgstr "Le démon effectue une déduplication à chaque construction réussie ou import d'archive à moins qu'il n'ait été démarré avec @code{--disable-deduplication} (@pxref{Invoking guix-daemon, @code{--disable-deduplication}}). Ainsi, cette option est surtout utile lorsque le démon tourne avec @code{--disable-deduplication}." #. type: section -#: doc/guix.texi:2726 +#: doc/guix.texi:2776 #, no-wrap msgid "Invoking @command{guix pull}" msgstr "Invoquer @command{guix pull}" #. type: cindex -#: doc/guix.texi:2728 +#: doc/guix.texi:2778 #, no-wrap msgid "upgrading Guix" msgstr "mettre à niveau Guix" #. type: cindex -#: doc/guix.texi:2729 +#: doc/guix.texi:2779 #, no-wrap msgid "updating Guix" msgstr "mettre à jour Guix" #. type: command{#1} -#: doc/guix.texi:2730 +#: doc/guix.texi:2780 #, no-wrap msgid "guix pull" msgstr "guix pull" #. type: cindex -#: doc/guix.texi:2731 +#: doc/guix.texi:2781 #, no-wrap msgid "pull" msgstr "pull" #. type: Plain text -#: doc/guix.texi:2738 -msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository." -msgstr "Les paquets sont installés ou mis à jour vers la dernière version disponible dans la distribution actuellement disponible sur votre machine locale. Pour mettre à jour cette distribution, en même temps que les outils Guix, vous devez lancer @command{guix pull} ; la commande télécharge le dernier code source de Guix et des descriptions de paquets et le déploie. Le code source est téléchargé depuis un dépôt @uref{https://git-scm.com, Git}." +#: doc/guix.texi:2789 +msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository, by default the official GNU@tie{}Guix repository, though this can be customized." +msgstr "Les paquets sont installés ou mis à jour vers la dernière version disponible dans la distribution actuellement disponible sur votre machine locale. Pour mettre à jour cette distribution, en même temps que les outils Guix, vous devez lancer @command{guix pull} ; la commande télécharge le dernier code source de Guix et des descriptions de paquets et le déploie. Le code source est téléchargé depuis un dépôt @uref{https://git-scm.com, Git}, par défaut le dépôt officiel de GNU@tie{}Guix, bien que cela puisse être personnalisé." #. type: Plain text -#: doc/guix.texi:2744 +#: doc/guix.texi:2795 msgid "On completion, @command{guix package} will use packages and package versions from this just-retrieved copy of Guix. Not only that, but all the Guix commands and Scheme modules will also be taken from that latest version. New @command{guix} sub-commands added by the update also become available." msgstr "À la fin, @command{guix package} utilisera les paquets et les versions des paquets de la copie de Guix tout juste récupérée. Non seulement ça, mais toutes les commandes Guix et les modules Scheme seront aussi récupérés depuis la dernière version. Les nouvelles sous-commandes de @command{guix} ajoutés par la mise à jour sont aussi maintenant disponibles." #. type: Plain text -#: doc/guix.texi:2750 +#: doc/guix.texi:2801 msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who run @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa." msgstr "Chaque utilisateur peut mettre à jour sa copie de Guix avec @command{guix pull} et l'effet est limité à l'utilisateur qui a lancé @command{guix pull}. Par exemple, lorsque l'utilisateur @code{root} lance @command{guix pull}, cela n'a pas d'effet sur la version de Guix que vois @code{alice} et vice-versa" #. type: Plain text -#: doc/guix.texi:2756 +#: doc/guix.texi:2807 msgid "The result of running @command{guix pull} is a @dfn{profile} available under @file{~/.config/guix/current} containing the latest Guix. Thus, make sure to add it to the beginning of your search path so that you use the latest version, and similarly for the Info manual (@pxref{Documentation}):" msgstr "Le résultat après avoir lancé @command{guix pull} est un @dfn{profil} disponible sous @file{~/.config/guix/current} contenant la dernière version de Guix. Ainsi, assurez-vous de l'ajouter au début de votre chemin de recherche pour que vous utilisiez la dernière version. Le même conseil s'applique au manuel Info (@pxref{Documentation}) :" #. type: example -#: doc/guix.texi:2760 +#: doc/guix.texi:2811 #, no-wrap msgid "" "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n" @@ -6193,12 +6341,12 @@ msgstr "" "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n" #. type: Plain text -#: doc/guix.texi:2764 +#: doc/guix.texi:2815 msgid "The @code{--list-generations} or @code{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:" msgstr "L'option @code{--list-generations} ou @code{-l} liste les anciennes générations produites par @command{guix pull}, avec des détails sur leur origine :" #. type: example -#: doc/guix.texi:2772 +#: doc/guix.texi:2823 #, no-wrap msgid "" "$ guix pull -l\n" @@ -6218,7 +6366,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:2778 +#: doc/guix.texi:2833 #, no-wrap msgid "" "Generation 2\tJun 11 2018 11:02:49\n" @@ -6226,6 +6374,10 @@ msgid "" " repository URL: https://git.savannah.gnu.org/git/guix.git\n" " branch: origin/master\n" " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n" +" 2 new packages: keepalived, libnfnetlink\n" +" 6 packages upgraded: emacs-nix-mode@@2.0.4,\n" +" guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n" +" heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n" "\n" msgstr "" "Génération 2\t11 juin 2018 11:02:49\n" @@ -6233,10 +6385,14 @@ msgstr "" " URL du dépôt : https://git.savannah.gnu.org/git/guix.git\n" " branche : origin/master\n" " commit : e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n" +" 2 nouveaux paquets : keepalived, libnfnetlink\n" +" 6 paquets mis à jour : emacs-nix-mode@@2.0.4,\n" +" guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n" +" heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n" "\n" #. type: example -#: doc/guix.texi:2784 +#: doc/guix.texi:2841 #, no-wrap msgid "" "Generation 3\tJun 13 2018 23:31:07\t(current)\n" @@ -6244,329 +6400,1034 @@ msgid "" " repository URL: https://git.savannah.gnu.org/git/guix.git\n" " branch: origin/master\n" " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n" +" 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n" +" 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n" msgstr "" "Génération 3\t13 juin 2018 23:31:07\t(actuelle)\n" " guix 844cc1c\n" " URL du dépôt : https://git.savannah.gnu.org/git/guix.git\n" " branche : origin/master\n" " commit : 844cc1c8f394f03b404c5bb3aee086922373490c\n" +" 28 nouveaux paquets : emacs-helm-ls-git, emacs-helm-mu, @dots{}\n" +" 69 paquets mis à jour : borg@@1.1.6, cheese@@3.28.0, @dots{}\n" #. type: Plain text -#: doc/guix.texi:2790 +#: doc/guix.texi:2845 +msgid "@ref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix." +msgstr "@ref{Invoking guix describe, @command{guix describe}} pour d'autres manières de décrire le statut actuel de Guix." + +#. type: Plain text +#: doc/guix.texi:2850 msgid "This @code{~/.config/guix/current} profile works like any other profile created by @command{guix package} (@pxref{Invoking guix package}). That is, you can list generations, roll back to the previous generation---i.e., the previous Guix---and so on:" msgstr "Ce profil @code{~/.config/guix/current} fonctionne comme les autres profils créés par @command{guix package} (@pxref{Invoking guix package}). C'est-à-dire que vous pouvez lister les générations, revenir en arrière à une génération précédente — c.-à-d.@: la version de Guix précédente — etc :" #. type: example -#: doc/guix.texi:2796 +#: doc/guix.texi:2856 #, no-wrap msgid "" "$ guix package -p ~/.config/guix/current --roll-back\n" "switched from generation 3 to 2\n" "$ guix package -p ~/.config/guix/current --delete-generations=1\n" -"deleting /home/charlie/.config/guix/current-1-link\n" +"deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n" msgstr "" "$ guix package -p ~/.config/guix/current --roll-back\n" "passé de la génération 3 à 2\n" "$ guix package -p ~/.config/guix/current --delete-generations=1\n" -"suppression de /home/charlie/.config/guix/current-1-link\n" +"suppression de /var/guix/profiles/per-user/charlie/current-guix-1-link\n" #. type: Plain text -#: doc/guix.texi:2800 +#: doc/guix.texi:2860 msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:" msgstr "La commande @command{guix pull} est typiquement invoquée sans arguments mais il supporte les options suivantes :" -#. type: table -#: doc/guix.texi:2804 -msgid "Produce verbose output, writing build logs to the standard error output." -msgstr "Produire une sortie verbeuse, en écrivant les journaux de construction sur la sortie d'erreur standard." - #. type: item -#: doc/guix.texi:2805 +#: doc/guix.texi:2862 #, no-wrap msgid "--url=@var{url}" msgstr "--url=@var{url}" -#. type: table -#: doc/guix.texi:2807 -msgid "Download Guix from the Git repository at @var{url}." -msgstr "Télécharger Guix depuis le dépôt Git à @var{url}." - -#. type: vindex -#: doc/guix.texi:2808 -#, no-wrap -msgid "GUIX_PULL_URL" -msgstr "GUIX_PULL_URL" - -#. type: table -#: doc/guix.texi:2812 -msgid "By default, the source is taken from its canonical Git repository at @code{gnu.org}, for the stable branch of Guix. To use a different source, set the @code{GUIX_PULL_URL} environment variable." -msgstr "Par défaut, la source est récupérée depuis le dépôt Git canonique sur @code{gnu.org}, pour la branche stable de Guix. Pour utiliser une autre source, paramétrez la variable d'environnement @code{GUIX_PULL_URL}." - -#. type: item -#: doc/guix.texi:2813 +#. type: itemx +#: doc/guix.texi:2863 #, no-wrap msgid "--commit=@var{commit}" msgstr "--commit=@var{commit}" -#. type: table -#: doc/guix.texi:2816 -msgid "Deploy @var{commit}, a valid Git commit ID represented as a hexadecimal string." -msgstr "Déployer de @var{commit}, un ID de commit Git valide représenté par une chaîne hexadécimale." - -#. type: item -#: doc/guix.texi:2817 +#. type: itemx +#: doc/guix.texi:2864 #, no-wrap msgid "--branch=@var{branch}" msgstr "--branch=@var{branche}" #. type: table -#: doc/guix.texi:2820 -msgid "Deploy the tip of @var{branch}, the name of a Git branch available on the repository at @var{url}." -msgstr "Déployer le haut de la @var{branche}, le nom d'une branche Git disponible sur le répertoire à @var{url}." +#: doc/guix.texi:2867 +msgid "Download code from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}." +msgstr "Télécharger le code depuis l'@var{url} spécifié, au @var{commit} donné (un commit Git valide représenté par une chaîne hexadécimale) ou à la branche @var{branch}." + +#. type: cindex +#: doc/guix.texi:2868 doc/guix.texi:2920 +#, no-wrap +msgid "@file{channels.scm}, configuration file" +msgstr "@file{channels.scm}, fichier de configuration" + +#. type: cindex +#: doc/guix.texi:2869 doc/guix.texi:2921 +#, no-wrap +msgid "configuration file for channels" +msgstr "fichier de configuration pour les canaux" #. type: table -#: doc/guix.texi:2827 +#: doc/guix.texi:2873 +msgid "These options are provided for convenience, but you can also specify your configuration in the @file{~/.config/guix/channels.scm} file or using the @option{--channels} option (see below)." +msgstr "Ces options sont fournies pour votre confort, mais vous pouvez aussi spécifier votre configuration dans le fichier @file{~/.config/guix/channels.scm} ou en utilisant l'option @option{--channels} (voir plus bas)." + +#. type: item +#: doc/guix.texi:2874 +#, no-wrap +msgid "--channels=@var{file}" +msgstr "--channels=@var{file}" + +#. type: itemx +#: doc/guix.texi:2875 +#, no-wrap +msgid "-C @var{file}" +msgstr "-C @var{file}" + +#. type: table +#: doc/guix.texi:2880 +msgid "Read the list of channels from @var{file} instead of @file{~/.config/guix/channels.scm}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels}, for more information." +msgstr "Lit la liste des canaux dans @var{file} plutôt que dans @file{~/.config/guix/channels.scm}. @var{file} doit contenir un code Scheme qui s'évalue en une liste d'objets de canaux. @xref{Channels} pour plus d'informations." + +#. type: table +#: doc/guix.texi:2887 msgid "List all the generations of @file{~/.config/guix/current} or, if @var{pattern} is provided, the subset of generations that match @var{pattern}. The syntax of @var{pattern} is the same as with @code{guix package --list-generations} (@pxref{Invoking guix package})." msgstr "Liste toutes les générations de @file{~/.config/guix/current} ou, si @var{motif} est fournit, le sous-ensemble des générations qui correspondent à @var{motif}. La syntaxe de @var{motif} est la même qu'avec @code{guix package --list-generations} (@pxref{Invoking guix package})." #. type: table -#: doc/guix.texi:2831 +#: doc/guix.texi:2890 +msgid "@ref{Invoking guix describe}, for a way to display information about the current generation only." +msgstr "@ref{Invoking guix describe}, pour une manière d'afficher des informations sur la génération actuelle uniquement." + +#. type: table +#: doc/guix.texi:2894 +msgid "Use @var{profile} instead of @file{~/.config/guix/current}." +msgstr "Utiliser le @var{profil} à la place de @file{~/.config/guix/current}." + +#. type: item +#: doc/guix.texi:2895 doc/guix.texi:6248 +#, no-wrap +msgid "--dry-run" +msgstr "--dry-run" + +#. type: itemx +#: doc/guix.texi:2896 doc/guix.texi:6249 +#, no-wrap +msgid "-n" +msgstr "-n" + +#. type: table +#: doc/guix.texi:2899 +msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it." +msgstr "Montrer quels commits des canaux seraient utilisés et ce qui serait construit ou substitué mais ne pas le faire vraiment." + +#. type: table +#: doc/guix.texi:2902 +msgid "Produce verbose output, writing build logs to the standard error output." +msgstr "Produire une sortie verbeuse, en écrivant les journaux de construction sur la sortie d'erreur standard." + +#. type: table +#: doc/guix.texi:2906 msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers." msgstr "Utiliser le programme d'amorçage Guile pour construire la dernière version de Guix. Cette option n'est utile que pour les développeurs de Guix." #. type: Plain text -#: doc/guix.texi:2835 +#: doc/guix.texi:2912 +msgid "The @dfn{channel} mechanism allows you to instruct @command{guix pull} which repository and branch to pull from, as well as @emph{additional} repositories containing package modules that should be deployed. @xref{Channels}, for more information." +msgstr "Le mécanisme de @dfn{canaux} vous permet de dire à @command{guix pull} quels répertoires et branches récupérer, ainsi que les dépôts @emph{supplémentaires} contenant des modules de paquets qui devraient être déployés. @xref{Channels} pour plus d'information." + +#. type: Plain text +#: doc/guix.texi:2915 msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})." msgstr "En plus, @command{guix pull} supporte toutes les options de construction communes (@pxref{Common Build Options})." -#. type: section -#: doc/guix.texi:2837 +#. type: item +#: doc/guix.texi:2919 doc/guix.texi:3279 #, no-wrap -msgid "Invoking @command{guix pack}" -msgstr "Invoquer @command{guix pack}" +msgid "channels" +msgstr "canaux" + +#. type: cindex +#: doc/guix.texi:2922 +#, no-wrap +msgid "@command{guix pull}, configuration file" +msgstr "@command{guix pull}, fichier de configuration" + +#. type: cindex +#: doc/guix.texi:2923 +#, no-wrap +msgid "configuration of @command{guix pull}" +msgstr "configuration de @command{guix pull}" #. type: Plain text -#: doc/guix.texi:2843 -msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in." -msgstr "Parfois vous voulez passer un logiciel à des gens qui n'ont pas (encore !) la chance d'utiliser Guix. Vous leur diriez bien de lancer @command{guix package -i @var{quelque chose}} mais ce n'est pas possible dans ce cas. C'est là que @command{guix pack} entre en jeu." +#: doc/guix.texi:2932 +msgid "Guix and its package collection are updated by running @command{guix pull} (@pxref{Invoking guix pull}). By default @command{guix pull} downloads and deploys Guix itself from the official GNU@tie{}Guix repository. This can be customized by defining @dfn{channels} in the @file{~/.config/guix/channels.scm} file. A channel specifies a URL and branch of a Git repository to be deployed, and @command{guix pull} can be instructed to pull from one or more channels. In other words, channels can be used to @emph{customize} and to @emph{extend} Guix, as we will see below." +msgstr "Guix et sa collection de paquets sont mis à jour en lançant @command{guix pull} (@pxref{Invoking guix pull}). Par défaut @command{guix pull} télécharge et déploie Guix lui-même depuis le dépôt officiel de GNU@tie{}Guix. Cela peut être personnalisé en définissant des @dfn{canaux} dans le fichier @file{~/.config/guix/channels.scm}. Un canal spécifie l'URL et la branche d'un répertoire Git à déployer et on peut demander à @command{guix pull} de récupérer un ou plusieurs canaux. En d'autres termes, les canaux peuvent être utilisés pour personnaliser et pour @emph{étendre} Guix, comme on le verra plus bas." -#. type: quotation -#: doc/guix.texi:2848 -msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}." -msgstr "Si vous cherchez comment échanger des binaires entre des machines où Guix est déjà installé, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, et @ref{Invoking guix archive}." - -#. type: cindex -#: doc/guix.texi:2850 +#. type: subsection +#: doc/guix.texi:2933 #, no-wrap -msgid "pack" -msgstr "pack" - -#. type: cindex -#: doc/guix.texi:2851 -#, no-wrap -msgid "bundle" -msgstr "lot" - -#. type: cindex -#: doc/guix.texi:2852 -#, no-wrap -msgid "application bundle" -msgstr "lot d'applications" - -#. type: cindex -#: doc/guix.texi:2853 -#, no-wrap -msgid "software bundle" -msgstr "lot de logiciels" +msgid "Using a Custom Guix Channel" +msgstr "Utiliser un canal Guix personnalisé" #. type: Plain text -#: doc/guix.texi:2862 -msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping." -msgstr "La commande @command{guix pack} crée un @dfn{pack} ou @dfn{lot de logiciels} : elle crée une archive tar ou un autre type d'archive contenunt les binaires pour le logiciel qui vous intéresse ainsi que ses dépendances. L'archive qui en résulte peut être utilisée sur toutes les machines qui n'ont pas Guix et les gens peuvent lancer exactement les mêmes binaires que ceux que vous avez avec Guix. Le pack lui-même est créé d'une manière reproductible au bit près, pour que n'importe qui puisse vérifier qu'il contient bien les résultats que vous prétendez proposer." +#: doc/guix.texi:2940 +msgid "The channel called @code{guix} specifies where Guix itself---its command-line tools as well as its package collection---should be downloaded. For instance, suppose you want to update from your own copy of the Guix repository at @code{example.org}, and specifically the @code{super-hacks} branch, you can write in @code{~/.config/guix/channels.scm} this specification:" +msgstr "Le canal nommé @code{guix} spécifie où Guix lui-même — ses outils en ligne de commande ainsi que sa collection de paquets — sera téléchargé. Par exemple, supposons que vous voulez effectuer les mises à jour depuis votre propre copie du dépôt Guix sur @code{example.org}, et plus particulièrement depuis la branche @code{super-hacks}. Vous pouvez écrire cette spécification dans @code{~/.config/guix/channels.scm} :" -#. type: Plain text -#: doc/guix.texi:2865 -msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:" -msgstr "Par exemple, pour créer un lot contenant Guile, Emacs, Geiser et toutes leurs dépendances, vous pouvez lancer :" - -#. type: example -#: doc/guix.texi:2870 +#. type: lisp +#: doc/guix.texi:2947 #, no-wrap msgid "" -"$ guix pack guile emacs geiser\n" -"@dots{}\n" -"/gnu/store/@dots{}-pack.tar.gz\n" +";; Tell 'guix pull' to use my own repo.\n" +"(list (channel\n" +" (name 'guix)\n" +" (url \"https://example.org/my-guix.git\")\n" +" (branch \"super-hacks\")))\n" msgstr "" -"$ guix pack guile emacs geiser\n" +";; Dit à « guix pull » d'utiliser mon propre dépôt.\n" +"(list (channel\n" +" (name 'guix)\n" +" (url \"https://example.org/my-guix.git\")\n" +" (branch \"super-hacks\")))\n" + +#. type: Plain text +#: doc/guix.texi:2952 +msgid "From there on, @command{guix pull} will fetch code from the @code{super-hacks} branch of the repository at @code{example.org}." +msgstr "Maintenant, @command{guix pull} récupérera le code depuis la branche @code{super-hacks} du dépôt sur @code{example.org}." + +#. type: subsection +#: doc/guix.texi:2953 +#, no-wrap +msgid "Specifying Additional Channels" +msgstr "Spécifier des canaux supplémentaires" + +#. type: cindex +#: doc/guix.texi:2955 +#, no-wrap +msgid "extending the package collection (channels)" +msgstr "étendre la collection de paquets (canaux)" + +#. type: cindex +#: doc/guix.texi:2956 +#, no-wrap +msgid "personal packages (channels)" +msgstr "paquets personnels (canaux)" + +#. type: cindex +#: doc/guix.texi:2957 +#, no-wrap +msgid "channels, for personal packages" +msgstr "canaux, pour des paquets personnels" + +#. type: Plain text +#: doc/guix.texi:2965 +msgid "You can also specify @emph{additional channels} to pull from. Let's say you have a bunch of custom package variants or personal packages that you think would make little sense to contribute to the Guix project, but would like to have these packages transparently available to you at the command line. You would first write modules containing those package definitions (@pxref{Package Modules}), maintain them in a Git repository, and then you and anyone else can use it as an additional channel to get packages from. Neat, no?" +msgstr "Vous pouvez aussi spécifier des @emph{canaux supplémentaires} à récupérer. Disons que vous avez un ensemble de paquets personnels ou de variantes personnalisées qu'il ne vaudrait pas le coup de contribuer au projet Guix, mais que vous voudriez pouvoir utiliser de manière transparente sur la ligne de commande. Vous écririez d'abord des modules contenant ces définitions de paquets (@pxref{Package Modules}), en les maintenant dans un dépôt Git, puis vous ou n'importe qui d'autre pourrait l'utiliser comme un canal supplémentaire où trouver ces paquets. Sympa, non ?" + +#. type: quotation +#: doc/guix.texi:2969 +#, no-wrap +msgid "Warning" +msgstr "Attention" + +#. type: quotation +#: doc/guix.texi:2973 +msgid "Before you, dear user, shout---``woow this is @emph{soooo coool}!''---and publish your personal channel to the world, we would like to share a few words of caution:" +msgstr "Avant que vous, cher utilisateur, ne vous exclamiez « Oh mais c'est @emph{super génial} ! » et que vous ne publiez vos canaux personnels publiquement, nous voudrions vous donner quelques avertissements :" + +#. type: itemize +#: doc/guix.texi:2981 +msgid "Before publishing a channel, please consider contributing your package definitions to Guix proper (@pxref{Contributing}). Guix as a project is open to free software of all sorts, and packages in Guix proper are readily available to all Guix users and benefit from the project's quality assurance process." +msgstr "Avant de publier un canal, envisagez de contribuer vos définitions de paquets dans Guix (@pxref{Contributing}). Guix en tant que projet est ouvert à tous les logiciels libres de toutes sortes, et les paquets dans Guix sont déjà disponibles à tous les utilisateurs de Guix et bénéficient des processus d'assurance qualité du projet." + +#. type: itemize +#: doc/guix.texi:2990 +msgid "When you maintain package definitions outside Guix, we, Guix developers, consider that @emph{the compatibility burden is on you}. Remember that package modules and package definitions are just Scheme code that uses various programming interfaces (APIs). We want to remain free to change these APIs to keep improving Guix, possibly in ways that break your channel. We never change APIs gratuitously, but we will @emph{not} commit to freezing APIs either." +msgstr "Lorsque vous maintenez des définitions de paquets en dehors de Guix, nous, les développeurs de Guix, considérons que @emph{la charge de la compatibilité vous incombe}. Rappelez-vous que les modules de paquets et les définitions de paquets ne sont que du code Scheme qui utilise diverses interfaces de programmation (API). Nous souhaitons rester libres de changer ces API pour continuer à améliorer Guix, éventuellement d'une manière qui casse votre canal. Nous ne changeons jamais l'API gratuitement, mais nous ne nous engageons @emph{pas} à geler les API non plus." + +#. type: itemize +#: doc/guix.texi:2994 +msgid "Corollary: if you're using an external channel and that channel breaks, please @emph{report the issue to the channel authors}, not to the Guix project." +msgstr "Corollaire : si vous utilisez un canal externe et que le canal est cassé, merci de @emph{rapporter le problème à l'auteur du canal}, pas au projet Guix." + +#. type: quotation +#: doc/guix.texi:3001 +msgid "You've been warned! Having said this, we believe external channels are a practical way to exert your freedom to augment Guix' package collection and to share your improvements, which are basic tenets of @uref{https://www.gnu.org/philosophy/free-sw.html, free software}. Please email us at @email{guix-devel@@gnu.org} if you'd like to discuss this." +msgstr "Vous avez été prévenus ! Maintenant, nous pensons que des canaux externes sont une manière pratique d'exercer votre liberté pour augmenter la collection de paquets de Guix et de partager vos améliorations, qui sont les principes de bases du @uref{https://www.gnu.org/philosophy/free-sw.html, logiciel libe}. Contactez-nous par courriel sur @email{guix-devel@@gnu.org} si vous souhaitez discuter à ce propos." + +#. type: Plain text +#: doc/guix.texi:3007 +msgid "Once you have a Git repository containing your own package modules, you can write @code{~/.config/guix/channels.scm} to instruct @command{guix pull} to pull from your personal channel @emph{in addition} to the default Guix channel(s):" +msgstr "Une fois que vous avez un dépôt Git contenant vos propres modules de paquets, vous pouvez écrire @code{~/.config/guix/channels.scm} pour dire à @command{guix pull} de récupérer votre canal personnel @emph{en plus} des canaux Guix par défaut :" + +#. type: vindex +#: doc/guix.texi:3008 +#, no-wrap +msgid "%default-channels" +msgstr "%default-channels" + +#. type: lisp +#: doc/guix.texi:3015 +#, no-wrap +msgid "" +";; Add my personal packages to those Guix provides.\n" +"(cons (channel\n" +" (name 'my-personal-packages)\n" +" (url \"https://example.org/personal-packages.git\"))\n" +" %default-channels)\n" +msgstr "" +";; Ajouter mes paquets personnels à ceux fournis par Guix.\n" +"(cons (channel\n" +" (name 'my-personal-packages)\n" +" (url \"https://example.org/personal-packages.git\"))\n" +" %default-channels)\n" + +#. type: Plain text +#: doc/guix.texi:3025 +msgid "Note that the snippet above is (as always!) Scheme code; we use @code{cons} to add a channel the list of channels that the variable @code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). With this file in place, @command{guix pull} builds not only Guix but also the package modules from your own repository. The result in @file{~/.config/guix/current} is the union of Guix with your own package modules:" +msgstr "Remarquez que le bout de code au-dessus est (comme toujours !) du code Scheme ; nous utilisons @code{cons} pour ajouter un canal à la liste des canaux que la variable @code{%default-channels} représente (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). Avec ce fichier en place, @command{guix pull} construit non seulement Guix mais aussi les modules de paquets de votre propre dépôt. Le résultat dans @file{~/.config/guix/current} est l'union de Guix et de vos propres modules de paquets :" + +#. type: example +#: doc/guix.texi:3040 +#, no-wrap +msgid "" +"$ guix pull --list-generations\n" "@dots{}\n" -"/gnu/store/@dots{}-pack.tar.gz\n" +"Generation 19\tAug 27 2018 16:20:48\n" +" guix d894ab8\n" +" repository URL: https://git.savannah.gnu.org/git/guix.git\n" +" branch: master\n" +" commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n" +" my-personal-packages dd3df5e\n" +" repository URL: https://example.org/personal-packages.git\n" +" branch: master\n" +" commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n" +" 11 new packages: my-gimp, my-emacs-with-cool-features, @dots{}\n" +" 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n" +msgstr "" +"$ guix pull --list-generations\n" +"@dots{}\n" +"Génération 19\tAug 27 2018 16:20:48\n" +" guix d894ab8\n" +" URL du dépôt : https://git.savannah.gnu.org/git/guix.git\n" +" branche : master\n" +" commit : d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n" +" my-personal-packages dd3df5e\n" +" URL du dépôt : https://example.org/personal-packages.git\n" +" branche : master\n" +" commit : dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n" +" 11 nouveaux paquets : my-gimp, my-emacs-with-cool-features, @dots{}\n" +" 4 paquets mis à jour : emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n" #. type: Plain text -#: doc/guix.texi:2878 -msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})." -msgstr "Le résultat ici est une archive tar contenant un répertoire @file{/gnu/store} avec tous les paquets nécessaires. L'archive qui en résulte contient un @dfn{profil} avec les trois paquets qui vous intéressent ; le profil est le même qui celui qui aurait été créé avec @command{guix package -i}. C'est ce mécanisme qui est utilisé pour créer les archives tar binaires indépendantes de Guix (@pxref{Binary Installation})." +#: doc/guix.texi:3048 +msgid "The output of @command{guix pull} above shows that Generation@tie{}19 includes both Guix and packages from the @code{my-personal-packages} channel. Among the new and upgraded packages that are listed, some like @code{my-gimp} and @code{my-emacs-with-cool-features} might come from @code{my-personal-packages}, while others come from the Guix default channel." +msgstr "La sortie de @command{guix pull} ci-dessus montre que la génération@tie{}19 contient aussi bien Guix que les paquets du canal @code{my-personal-packages}. Parmi les nouveaux paquets et les paquets mis à jour qui sont listés, certains comme @code{my-gimp} et @code{my-emacs-with-cool-features} peuvent provenir de @code{my-personal-packages}, tandis que d'autres viennent du canal par défaut de Guix." + +#. type: subsection +#: doc/guix.texi:3049 +#, no-wrap +msgid "Replicating Guix" +msgstr "Répliquer Guix" + +#. type: cindex +#: doc/guix.texi:3051 +#, no-wrap +msgid "pinning, channels" +msgstr "épinglage, canaux" + +#. type: cindex +#: doc/guix.texi:3052 doc/guix.texi:3218 +#, no-wrap +msgid "replicating Guix" +msgstr "répliquer Guix" + +#. type: cindex +#: doc/guix.texi:3053 +#, no-wrap +msgid "reproducibility, of Guix" +msgstr "reproductibilité, de Guix" #. type: Plain text -#: doc/guix.texi:2883 -msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:" -msgstr "Les utilisateurs de ce pack devraient lancer @file{/gnu/store/@dots{}-profile/bin/guile} pour lancer Guile, ce qui n'est pas très pratique. Pour éviter cela, vous pouvez créer, disons, un lien symbolique @file{/opt/gnu/bin} vers le profil :" +#: doc/guix.texi:3058 +msgid "The @command{guix pull --list-generations} output above shows precisely which commits were used to build this instance of Guix. We can thus replicate it, say, on another machine, by providing a channel specification in @file{~/.config/guix/channels.scm} that is ``pinned'' to these commits:" +msgstr "La sortie de @command{guix pull --list-generations} ci-dessus montre précisément quels commits ont été utilisés pour construire cette instance de Guix. Nous pouvons donc la répliquer, disons sur une autre machine, en fournissant une spécification de canal dans @file{~/.config/guix/channels.scm} qui est « épinglé » à ces commits :" + +#. type: lisp +#: doc/guix.texi:3069 +#, no-wrap +msgid "" +";; Deploy specific commits of my channels of interest.\n" +"(list (channel\n" +" (name 'guix)\n" +" (url \"https://git.savannah.gnu.org/git/guix.git\")\n" +" (commit \"d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\"))\n" +" (channel\n" +" (name 'my-personal-packages)\n" +" (url \"https://example.org/personal-packages.git\")\n" +" (branch \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n" +msgstr "" +";; Déployer des commits précis de mes canaux préférés.\n" +"(list (channel\n" +" (name 'guix)\n" +" (url \"https://git.savannah.gnu.org/git/guix.git\")\n" +" (commit \"d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\"))\n" +" (channel\n" +" (name 'my-personal-packages)\n" +" (url \"https://example.org/personal-packages.git\")\n" +" (branch \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n" + +#. type: Plain text +#: doc/guix.texi:3073 +msgid "The @command{guix describe --format=channels} command can even generate this list of channels directly (@pxref{Invoking guix describe})." +msgstr "La commande @command{guix describe --format=channels} peut même générer cette liste de canaux directement (@pxref{Invoking guix describe})." + +#. type: Plain text +#: doc/guix.texi:3080 +msgid "At this point the two machines run the @emph{exact same Guix}, with access to the @emph{exact same packages}. The output of @command{guix build gimp} on one machine will be exactly the same, bit for bit, as the output of the same command on the other machine. It also means both machines have access to all the source code of Guix and, transitively, to all the source code of every package it defines." +msgstr "À ce moment les deux machines font tourner @emph{exactement le même Guix}, avec l'accès @emph{exactement aux même paquets}. La sortie de @command{guix build gimp} sur une machine sera exactement la même, au bit près, que la sortie de la même commande sur l'autre machine. Cela signifie aussi que les deux machines ont accès à tous les codes sources de Guix, et transitivement, à tous les codes sources de tous les paquets qu'il définit." + +#. type: Plain text +#: doc/guix.texi:3085 +msgid "This gives you super powers, allowing you to track the provenance of binary artifacts with very fine grain, and to reproduce software environments at will---some sort of ``meta reproducibility'' capabilities, if you will. @xref{Inferiors}, for another way to take advantage of these super powers." +msgstr "Cela vous donne des super-pouvoirs, ce qui vous permet de suivre la provenance des artefacts binaires avec un grain très fin et de reproduire les environnements logiciels à volonté — une sorte de capacité de « méta-reproductibilité », si vous voulez. @xref{Inferiors}, pour une autre manière d'utiliser ces super-pouvoirs." + +#. type: quotation +#: doc/guix.texi:3093 +msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change." +msgstr "La fonctionnalité décrite ici est un « démonstrateur technique » à la version @value{VERSION}. Ainsi, l'interface est sujette à changements." + +#. type: cindex +#: doc/guix.texi:3095 doc/guix.texi:6093 +#, no-wrap +msgid "inferiors" +msgstr "inférieurs" + +#. type: cindex +#: doc/guix.texi:3096 +#, no-wrap +msgid "composition of Guix revisions" +msgstr "composition de révisions de Guix" + +#. type: Plain text +#: doc/guix.texi:3101 +msgid "Sometimes you might need to mix packages from the revision of Guix you're currently running with packages available in a different revision of Guix. Guix @dfn{inferiors} allow you to achieve that by composing different Guix revisions in arbitrary ways." +msgstr "Parfois vous pourriez avoir à mélanger des paquets de votre révision de Guix avec des paquets disponibles dans une révision différente de Guix. Les @dfn{inférieurs} de Guix vous permettent d'accomplir cette tâche en composant différentes versions de Guix de manière arbitraire." + +#. type: cindex +#: doc/guix.texi:3102 doc/guix.texi:3167 +#, no-wrap +msgid "inferior packages" +msgstr "paquets inférieurs" + +#. type: Plain text +#: doc/guix.texi:3108 +msgid "Technically, an ``inferior'' is essentially a separate Guix process connected to your main Guix process through a REPL (@pxref{Invoking guix repl}). The @code{(guix inferior)} module allows you to create inferiors and to communicate with them. It also provides a high-level interface to browse and manipulate the packages that an inferior provides---@dfn{inferior packages}." +msgstr "Techniquement, un « inférieur » est surtout un processus Guix séparé connecté à votre processus Guix principal à travers un REPL (@pxref{Invoking guix repl}). Le module @code{(guix inferior)} vous permet de créer des inférieurs et de communiquer avec eux. Il fournit aussi une interface de haut-niveau pour naviguer dans les paquets d'un inférieur — @dfn{des paquets inférieurs} — et les manipuler." + +#. type: Plain text +#: doc/guix.texi:3118 +msgid "When combined with channels (@pxref{Channels}), inferiors provide a simple way to interact with a separate revision of Guix. For example, let's assume you want to install in your profile the current @code{guile} package, along with the @code{guile-json} as it existed in an older revision of Guix---perhaps because the newer @code{guile-json} has an incompatible API and you want to run your code against the old API@. To do that, you could write a manifest for use by @code{guix package --manifest} (@pxref{Invoking guix package}); in that manifest, you would create an inferior for that old Guix revision you care about, and you would look up the @code{guile-json} package in the inferior:" +msgstr "Lorsqu'on les combine avec des canaux (@pxref{Channels}), les inférieurs fournissent une manière simple d'interagir avec un révision de Guix séparée. Par exemple, disons que vous souhaitiez installer dans votre profil le paquet guile actuel, avec le @code{guile-json} d'une ancienne révision de Guix — peut-être parce que la nouvelle version de @code{guile-json} a une API incompatible et que vous voulez lancer du code avec l'ancienne API. Pour cela, vous pourriez écrire un manifeste à utiliser avec @code{guix package --manifest} (@pxref{Invoking guix package}) ; dans ce manifeste, vous créeriez un inférieur pour l'ancienne révision de Guix qui vous intéresse et vous chercheriez le paquet @code{guile-json} dans l'inférieur :" + +#. type: lisp +#: doc/guix.texi:3122 +#, no-wrap +msgid "" +"(use-modules (guix inferior) (guix channels)\n" +" (srfi srfi-1)) ;for 'first'\n" +"\n" +msgstr "" +"(use-modules (guix inferior) (guix channels)\n" +" (srfi srfi-1)) ;pour « first »\n" +"\n" + +#. type: lisp +#: doc/guix.texi:3131 +#, no-wrap +msgid "" +"(define channels\n" +" ;; This is the old revision from which we want to\n" +" ;; extract guile-json.\n" +" (list (channel\n" +" (name 'guix)\n" +" (url \"https://git.savannah.gnu.org/git/guix.git\")\n" +" (commit\n" +" \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n" +"\n" +msgstr "" +"(define channels\n" +" ;; L'ancienne révision depuis laquelle on veut\n" +" ;; extraire guile-json.\n" +" (list (channel\n" +" (name 'guix)\n" +" (url \"https://git.savannah.gnu.org/git/guix.git\")\n" +" (commit\n" +" \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n" +"\n" + +#. type: lisp +#: doc/guix.texi:3135 +#, no-wrap +msgid "" +"(define inferior\n" +" ;; An inferior representing the above revision.\n" +" (inferior-for-channels channels))\n" +"\n" +msgstr "" +"(define inferior\n" +" ;; Un inférieur représentant la révision ci-dessus.\n" +" (inferior-for-channels channels))\n" +"\n" + +#. type: lisp +#: doc/guix.texi:3141 +#, no-wrap +msgid "" +";; Now create a manifest with the current \"guile\" package\n" +";; and the old \"guile-json\" package.\n" +"(packages->manifest\n" +" (list (first (lookup-inferior-packages inferior \"guile-json\"))\n" +" (specification->package \"guile\")))\n" +msgstr "" +";; Maintenant on crée un manifeste avec le paquet « guile » actuel\n" +";; et l'ancien paquet « guile-json ».\n" +"(packages->manifest\n" +" (list (first (lookup-inferior-packages inferior \"guile-json\"))\n" +" (specification->package \"guile\")))\n" + +#. type: Plain text +#: doc/guix.texi:3146 +msgid "On its first run, @command{guix package --manifest} might have to build the channel you specified before it can create the inferior; subsequent runs will be much faster because the Guix revision will be cached." +msgstr "Durant la première exécution, @command{guix package --manifest} pourrait avoir besoin de construire le canal que vous avez spécifié avant de créer l'inférieur ; les exécutions suivantes seront bien plus rapides parce que la révision de Guix sera déjà en cache." + +#. type: Plain text +#: doc/guix.texi:3149 +msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:" +msgstr "Le module @code{(guix inferior)} fournit les procédures suivantes pour ouvrir un inférieur :" + +#. type: deffn +#: doc/guix.texi:3150 +#, no-wrap +msgid "{Scheme Procedure} inferior-for-channels @var{channels} @" +msgstr "{Procédure Scheme} inferior-for-channels @var{channels} @" + +#. type: deffn +#: doc/guix.texi:3155 +msgid "[#:cache-directory] [#:ttl] Return an inferior for @var{channels}, a list of channels. Use the cache at @var{cache-directory}, where entries can be reclaimed after @var{ttl} seconds. This procedure opens a new connection to the build daemon." +msgstr "" +"[#:cache-directory] [#:ttl]\n" +"Renvoie un inférieur pour @var{channels}, une liste de canaux. Elle utilise le cache dans @var{cache-directory}, où les entrées peuvent être glanées après @var{ttl} secondes. Cette procédure ouvre une nouvelle connexion au démon de construction." + +#. type: deffn +#: doc/guix.texi:3158 +msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time." +msgstr "Elle a pour effet de bord de construire ou de substituer des binaires pour @var{channels}, ce qui peut prendre du temps." + +#. type: deffn +#: doc/guix.texi:3160 +#, no-wrap +msgid "{Scheme Procedure} open-inferior @var{directory} @" +msgstr "{Procédure Scheme} open-inferior @var{directory} @" + +#. type: deffn +#: doc/guix.texi:3165 +msgid "[#:command \"bin/guix\"] Open the inferior Guix in @var{directory}, running @code{@var{directory}/@var{command} repl} or equivalent. Return @code{#f} if the inferior could not be launched." +msgstr "" +"[#:command \"bin/guix\"]\n" +"Ouvre le Guix inférieur dans @var{directory} et lance @code{@var{directory}/@var{command} repl} ou équivalent. Renvoie @code{#f} si l'inférieur n'a pas pu être lancé." + +#. type: Plain text +#: doc/guix.texi:3170 +msgid "The procedures listed below allow you to obtain and manipulate inferior packages." +msgstr "Les procédures listées plus bas vous permettent d'obtenir et de manipuler des paquets inférieurs." + +#. type: deffn +#: doc/guix.texi:3171 +#, no-wrap +msgid "{Scheme Procedure} inferior-packages @var{inferior}" +msgstr "{Procédure Scheme} inferior-packages @var{inferior}" + +#. type: deffn +#: doc/guix.texi:3173 +msgid "Return the list of packages known to @var{inferior}." +msgstr "Renvoie la liste des paquets connus de l'inférieur @var{inferior}." + +#. type: deffn +#: doc/guix.texi:3175 +#, no-wrap +msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @" +msgstr "{Procédure Scheme} lookup-inferior-packages @var{inferior} @var{name} @" + +#. type: deffn +#: doc/guix.texi:3180 +msgid "[@var{version}] Return the sorted list of inferior packages matching @var{name} in @var{inferior}, with highest version numbers first. If @var{version} is true, return only packages with a version number prefixed by @var{version}." +msgstr "" +"[@var{version}]\n" +"Renvoie la liste triée des paquets inférieurs qui correspondent à @var{name} dans @var{inferior}, avec le plus haut numéro de version en premier. Si @var{version} est vrai, renvoie seulement les paquets avec un numéro de version préfixé par @var{version}." + +#. type: deffn +#: doc/guix.texi:3182 +#, no-wrap +msgid "{Scheme Procedure} inferior-package? @var{obj}" +msgstr "{Procédure Scheme} inferior-package? @var{obj}" + +#. type: deffn +#: doc/guix.texi:3184 +msgid "Return true if @var{obj} is an inferior package." +msgstr "Renvoie vrai si @var{obj} est un paquet inférieur." + +#. type: deffn +#: doc/guix.texi:3186 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-name @var{package}" +msgstr "{Procédure Scheme} inferior-package-name @var{package}" + +#. type: deffnx +#: doc/guix.texi:3187 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-version @var{package}" +msgstr "{Procédure Scheme} inferior-package-version @var{package}" + +#. type: deffnx +#: doc/guix.texi:3188 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-synopsis @var{package}" +msgstr "{Procédure Scheme} inferior-package-synopsis @var{package}" + +#. type: deffnx +#: doc/guix.texi:3189 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-description @var{package}" +msgstr "{Procédure Scheme} inferior-package-description @var{package}" + +#. type: deffnx +#: doc/guix.texi:3190 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-home-page @var{package}" +msgstr "{Procédure Scheme} inferior-package-home-page @var{package}" + +#. type: deffnx +#: doc/guix.texi:3191 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-location @var{package}" +msgstr "{Procédure Scheme} inferior-package-location @var{package}" + +#. type: deffnx +#: doc/guix.texi:3192 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-inputs @var{package}" +msgstr "{Procédure Scheme} inferior-package-inputs @var{package}" + +#. type: deffnx +#: doc/guix.texi:3193 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}" +msgstr "{Procédure Scheme} inferior-package-native-inputs @var{package}" + +#. type: deffnx +#: doc/guix.texi:3194 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}" +msgstr "{Procédure Scheme} inferior-package-propagated-inputs @var{package}" + +#. type: deffnx +#: doc/guix.texi:3195 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}" +msgstr "{Procédure Scheme} inferior-package-transitive-propagated-inputs @var{package}" + +#. type: deffnx +#: doc/guix.texi:3196 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}" +msgstr "{Procédure Scheme} inferior-package-native-search-paths @var{package}" + +#. type: deffnx +#: doc/guix.texi:3197 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}" +msgstr "{Procédure Scheme} inferior-package-transitive-native-search-paths @var{package}" + +#. type: deffnx +#: doc/guix.texi:3198 +#, no-wrap +msgid "{Scheme Procedure} inferior-package-search-paths @var{package}" +msgstr "{Procédure Scheme} inferior-package-search-paths @var{package}" + +#. type: deffn +#: doc/guix.texi:3203 +msgid "These procedures are the counterpart of package record accessors (@pxref{package Reference}). Most of them work by querying the inferior @var{package} comes from, so the inferior must still be live when you call these procedures." +msgstr "Ces procédures sont la contrepartie des accesseurs des enregistrements de paquets (@pxref{package Reference}). La plupart fonctionne en effectuant des requêtes à l'inférieur dont provient @var{package}, donc l'inférieur doit toujours être disponible lorsque vous appelez ces procédures." + +#. type: Plain text +#: doc/guix.texi:3213 +msgid "Inferior packages can be used transparently like any other package or file-like object in G-expressions (@pxref{G-Expressions}). They are also transparently handled by the @code{packages->manifest} procedure, which is commonly use in manifests (@pxref{Invoking guix package, the @option{--manifest} option of @command{guix package}}). Thus you can insert an inferior package pretty much anywhere you would insert a regular package: in manifests, in the @code{packages} field of your @code{operating-system} declaration, and so on." +msgstr "Les paquets inférieurs peuvent être utilisés de manière transparente comme tout autre paquet ou objet simili-fichier dans des G-expressions (@pxref{G-Expressions}). Ils sont aussi gérés de manière transparente par la procédure @code{packages->manifest}, qui est typiquement utilisée dans des manifestes (@pxref{Invoking guix package, l'option @option{--manifest} de @command{guix package}}). Ainsi, vous pouvez insérer un paquet inférieur à peu près n'importe où vous utiliseriez un paquet normal : dans des manifestes, dans le champ @code{packages} de votre déclaration @code{operating-system}, etc." + +#. type: section +#: doc/guix.texi:3215 +#, no-wrap +msgid "Invoking @command{guix describe}" +msgstr "Invoquer @command{guix describe}" + +#. type: Plain text +#: doc/guix.texi:3226 +msgid "Often you may want to answer questions like: ``Which revision of Guix am I using?'' or ``Which channels am I using?'' This is useful information in many situations: if you want to @emph{replicate} an environment on a different machine or user account, if you want to report a bug or to determine what change in the channels you are using caused it, or if you want to record your system state for reproducibility purposes. The @command{guix describe} command answers these questions." +msgstr "Souvent vous voudrez répondre à des questions comme « quelle révision de Guix j'utilise ? » ou « quels canaux est-ce que j'utilise ? ». C'est une information utile dans de nombreuses situations : si vous voulez @emph{répliquer} un environnement sur une machine différente ou un compte utilisateur, si vous voulez rapporter un bogue ou pour déterminer quel changement dans les canaux que vous utilisez l'a causé ou si vous voulez enregistrer l'état de votre système pour le reproduire. La commande @command{guix describe} répond à ces questions." + +#. type: Plain text +#: doc/guix.texi:3230 +msgid "When run from a @command{guix pull}ed @command{guix}, @command{guix describe} displays the channel(s) that it was built from, including their repository URL and commit IDs (@pxref{Channels}):" +msgstr "Lorsqu'elle est lancée depuis un @command{guix} mis à jour avec @command{guix pull}, @command{guix describe} affiche les canaux qui ont été construits, avec l'URL de leur dépôt et l'ID de leur commit (@pxref{Channels}) :" #. type: example -#: doc/guix.texi:2886 +#: doc/guix.texi:3238 #, no-wrap -msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n" -msgstr "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n" +msgid "" +"$ guix describe\n" +"Generation 10\tSep 03 2018 17:32:44\t(current)\n" +" guix e0fa68c\n" +" repository URL: https://git.savannah.gnu.org/git/guix.git\n" +" branch: master\n" +" commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n" +msgstr "" +"$ guix describe\n" +"Generation 10\t03 sep. 2018 17:32:44\t(actuelle)\n" +" guix e0fa68c\n" +" URL du dépôt : https://git.savannah.gnu.org/git/guix.git\n" +" branche : master\n" +" commit : e0fa68c7718fffd33d81af415279d6ddb518f727\n" #. type: Plain text -#: doc/guix.texi:2890 -msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy." -msgstr "De cette façon, les utilisateurs peuvent joyeusement taper @file{/opt/gnu/bin/guile} et profiter." - -#. type: cindex -#: doc/guix.texi:2891 -#, no-wrap -msgid "relocatable binaries, with @command{guix pack}" -msgstr "binaires repositionnables, avec @command{guix pack}" +#: doc/guix.texi:3247 +msgid "If you're familiar with the Git version control system, this is similar in spirit to @command{git describe}; the output is also similar to that of @command{guix pull --list-generations}, but limited to the current generation (@pxref{Invoking guix pull, the @option{--list-generations} option}). Because the Git commit ID shown above unambiguously refers to a snapshot of Guix, this information is all it takes to describe the revision of Guix you're using, and also to replicate it." +msgstr "Si vous connaissez bien le système de contrôle de version Git, cela ressemble en essence à @command{git describe} ; la sortie est aussi similaire à celle de @command{guix pull --list-generations}, mais limitée à la génération actuelle (@pxref{Invoking guix pull, l'option @option{--list-generations}}). Comme l'ID de commit de Git ci-dessus se réfère sans aucune ambiguïté à un instantané de Guix, cette information est tout ce dont vous avez besoin pour décrire la révision de Guix que vous utilisez et pour la répliquer." #. type: Plain text -#: doc/guix.texi:2899 -msgid "What if the recipient of your pack does not have root privileges on their machine, and thus cannot unpack it in the root file system? In that case, you will want to use the @code{--relocatable} option (see below). This option produces @dfn{relocatable binaries}, meaning they they can be placed anywhere in the file system hierarchy: in the example above, users can unpack your tarball in their home directory and directly run @file{./opt/gnu/bin/guile}." -msgstr "Et si le destinataire de votre pack n'a pas les privilèges root sur sa machine, et ne peut donc pas le décompresser dans le système de fichiers racine ? Dans ce cas, vous pourriez utiliser l'option @code{--relocatable} (voir plus bas). Cette option produite des @dfn{binaire repositionnables}, ce qui signifie qu'ils peuvent être placés n'importe où dans l'arborescence du système de fichiers : dans l'exemple au-dessus, les utilisateurs peuvent décompresser votre archive dans leur répertoire personnel et lancer directement @file{./opt/gnu/bin/guile}." - -#. type: cindex -#: doc/guix.texi:2900 -#, no-wrap -msgid "Docker, build an image with guix pack" -msgstr "Docker, construire une image avec guix pack" - -#. type: Plain text -#: doc/guix.texi:2903 -msgid "Alternatively, you can produce a pack in the Docker image format using the following command:" -msgstr "Autrement, vous pouvez produire un pack au format d'image Docker avec la commande suivante :" +#: doc/guix.texi:3250 +msgid "To make it easier to replicate Guix, @command{guix describe} can also be asked to return a list of channels instead of the human-readable description above:" +msgstr "Pour rendre plus facile la réplication de Guix, @command{guix describe} peut aussi renvoyer une liste de canaux plutôt que la description lisible par un humain au-dessus :" #. type: example -#: doc/guix.texi:2906 +#: doc/guix.texi:3258 #, no-wrap -msgid "guix pack -f docker guile emacs geiser\n" -msgstr "guix pack -f docker guile emacs geiser\n" +msgid "" +"$ guix describe -f channels\n" +"(list (channel\n" +" (name 'guix)\n" +" (url \"https://git.savannah.gnu.org/git/guix.git\")\n" +" (commit\n" +" \"e0fa68c7718fffd33d81af415279d6ddb518f727\")))\n" +msgstr "" +"$ guix describe -f channels\n" +"(list (channel\n" +" (name 'guix)\n" +" (url \"https://git.savannah.gnu.org/git/guix.git\")\n" +" (commit\n" +" \"e0fa68c7718fffd33d81af415279d6ddb518f727\")))\n" #. type: Plain text -#: doc/guix.texi:2913 -msgid "The result is a tarball that can be passed to the @command{docker load} command. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information." -msgstr "Le résultat est une archive tar qui peut être passée à la commande @command{docker load}. Voir la @uref{https://docs.docker.com/engine/reference/commandline/load/, documentation de Docker} pour plus d'informations." - -#. type: cindex -#: doc/guix.texi:2914 -#, no-wrap -msgid "Singularity, build an image with guix pack" -msgstr "Singularity, construire une image avec guix pack" - -#. type: cindex -#: doc/guix.texi:2915 -#, no-wrap -msgid "SquashFS, build an image with guix pack" -msgstr "SquashFS, construire une image avec guix pack" +#: doc/guix.texi:3267 +msgid "You can save this to a file and feed it to @command{guix pull -C} on some other machine or at a later point in time, which will instantiate @emph{this exact Guix revision} (@pxref{Invoking guix pull, the @option{-C} option}). From there on, since you're able to deploy the same revision of Guix, you can just as well @emph{replicate a complete software environment}. We humbly think that this is @emph{awesome}, and we hope you'll like it too!" +msgstr "Vous pouvez sauvegarder ceci dans un fichier et le donner à @command{guix pull -C} sur une autre machine ou plus tard, ce qui instantiera @emph{exactement la même révision de Guix} (@pxref{Invoking guix pull, l'option @option{-C}}). À partir de là, comme vous pouvez déployer la même révision de Guix, vous pouvez aussi bien @emph{répliquer un environnement logiciel complet}. Nous pensons humblement que c'est @emph{génial}, et nous espérons que vous aimerez ça aussi !" #. type: Plain text -#: doc/guix.texi:2918 -msgid "Yet another option is to produce a SquashFS image with the following command:" -msgstr "Autrement, vous pouvez produire une image SquashFS avec la commande suivante :" - -#. type: example -#: doc/guix.texi:2921 -#, no-wrap -msgid "guix pack -f squashfs guile emacs geiser\n" -msgstr "guix pack -f squashfs guile emacs geiser\n" - -#. type: Plain text -#: doc/guix.texi:2929 -msgid "The result is a SquashFS file system image that can either be mounted or directly be used as a file system container image with the @uref{http://singularity.lbl.gov, Singularity container execution environment}, using commands like @command{singularity shell} or @command{singularity exec}." -msgstr "Le résultat est une image de système de fichiers SquashFS qui peut soit être montée directement soit être utilisée comme image de conteneur de système de fichiers avec l'@uref{http://singularity.lbl.gov, environnement d'exécution conteneurisé Singularity}, avec des commandes comme @command{singularity shell} ou @command{singularity exec}." - -#. type: Plain text -#: doc/guix.texi:2931 -msgid "Several command-line options allow you to customize your pack:" -msgstr "Diverses options en ligne de commande vous permettent de personnaliser votre pack :" +#: doc/guix.texi:3270 +msgid "The details of the options supported by @command{guix describe} are as follows:" +msgstr "Voici les détails des options supportées par @command{guix describe} :" #. type: item -#: doc/guix.texi:2933 +#: doc/guix.texi:3272 doc/guix.texi:3392 #, no-wrap msgid "--format=@var{format}" msgstr "--format=@var{format}" #. type: itemx -#: doc/guix.texi:2934 +#: doc/guix.texi:3273 doc/guix.texi:3393 #, no-wrap msgid "-f @var{format}" msgstr "-f @var{format}" #. type: table -#: doc/guix.texi:2936 +#: doc/guix.texi:3275 +msgid "Produce output in the specified @var{format}, one of:" +msgstr "Produire la sortie dans le @var{format} donné, parmi :" + +#. type: item +#: doc/guix.texi:3277 +#, no-wrap +msgid "human" +msgstr "human" + +#. type: table +#: doc/guix.texi:3279 +msgid "produce human-readable output;" +msgstr "produire une sortie lisible par un humain," + +#. type: table +#: doc/guix.texi:3283 +msgid "produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking guix pull});" +msgstr "produire une liste de spécifications de canaux qui peut être passée à @command{guix pull -C} ou installée dans @file{~/.config/guix/channels.scm} (@pxref{Invoking guix pull})," + +#. type: item +#: doc/guix.texi:3283 doc/guix.texi:7075 +#, no-wrap +msgid "json" +msgstr "json" + +#. type: cindex +#: doc/guix.texi:3284 +#, no-wrap +msgid "JSON" +msgstr "JSON" + +#. type: table +#: doc/guix.texi:3286 +msgid "produce a list of channel specifications in JSON format;" +msgstr "produire une liste de spécifications de canaux dans le format JSON," + +#. type: item +#: doc/guix.texi:3286 +#, no-wrap +msgid "recutils" +msgstr "recutils" + +#. type: table +#: doc/guix.texi:3288 +msgid "produce a list of channel specifications in Recutils format." +msgstr "produire une liste de spécifications de canaux dans le format Recutils." + +#. type: table +#: doc/guix.texi:3293 +msgid "Display information about @var{profile}." +msgstr "Afficher les informations sur le @var{profil}." + +#. type: section +#: doc/guix.texi:3296 +#, no-wrap +msgid "Invoking @command{guix pack}" +msgstr "Invoquer @command{guix pack}" + +#. type: Plain text +#: doc/guix.texi:3302 +msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in." +msgstr "Parfois vous voulez passer un logiciel à des gens qui n'ont pas (encore !) la chance d'utiliser Guix. Vous leur diriez bien de lancer @command{guix package -i @var{quelque chose}} mais ce n'est pas possible dans ce cas. C'est là que @command{guix pack} entre en jeu." + +#. type: quotation +#: doc/guix.texi:3307 +msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}." +msgstr "Si vous cherchez comment échanger des binaires entre des machines où Guix est déjà installé, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, et @ref{Invoking guix archive}." + +#. type: cindex +#: doc/guix.texi:3309 +#, no-wrap +msgid "pack" +msgstr "pack" + +#. type: cindex +#: doc/guix.texi:3310 +#, no-wrap +msgid "bundle" +msgstr "lot" + +#. type: cindex +#: doc/guix.texi:3311 +#, no-wrap +msgid "application bundle" +msgstr "lot d'applications" + +#. type: cindex +#: doc/guix.texi:3312 +#, no-wrap +msgid "software bundle" +msgstr "lot de logiciels" + +#. type: Plain text +#: doc/guix.texi:3321 +msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping." +msgstr "La commande @command{guix pack} crée un @dfn{pack} ou @dfn{lot de logiciels} : elle crée une archive tar ou un autre type d'archive contenunt les binaires pour le logiciel qui vous intéresse ainsi que ses dépendances. L'archive qui en résulte peut être utilisée sur toutes les machines qui n'ont pas Guix et les gens peuvent lancer exactement les mêmes binaires que ceux que vous avez avec Guix. Le pack lui-même est créé d'une manière reproductible au bit près, pour que n'importe qui puisse vérifier qu'il contient bien les résultats que vous prétendez proposer." + +#. type: Plain text +#: doc/guix.texi:3324 +msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:" +msgstr "Par exemple, pour créer un lot contenant Guile, Emacs, Geiser et toutes leurs dépendances, vous pouvez lancer :" + +#. type: example +#: doc/guix.texi:3329 +#, no-wrap +msgid "" +"$ guix pack guile emacs geiser\n" +"@dots{}\n" +"/gnu/store/@dots{}-pack.tar.gz\n" +msgstr "" +"$ guix pack guile emacs geiser\n" +"@dots{}\n" +"/gnu/store/@dots{}-pack.tar.gz\n" + +#. type: Plain text +#: doc/guix.texi:3337 +msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})." +msgstr "Le résultat ici est une archive tar contenant un répertoire @file{/gnu/store} avec tous les paquets nécessaires. L'archive qui en résulte contient un @dfn{profil} avec les trois paquets qui vous intéressent ; le profil est le même qui celui qui aurait été créé avec @command{guix package -i}. C'est ce mécanisme qui est utilisé pour créer les archives tar binaires indépendantes de Guix (@pxref{Binary Installation})." + +#. type: Plain text +#: doc/guix.texi:3342 +msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:" +msgstr "Les utilisateurs de ce pack devraient lancer @file{/gnu/store/@dots{}-profile/bin/guile} pour lancer Guile, ce qui n'est pas très pratique. Pour éviter cela, vous pouvez créer, disons, un lien symbolique @file{/opt/gnu/bin} vers le profil :" + +#. type: example +#: doc/guix.texi:3345 +#, no-wrap +msgid "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n" +msgstr "guix pack -S /opt/gnu/bin=bin guile emacs geiser\n" + +#. type: Plain text +#: doc/guix.texi:3349 +msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy." +msgstr "De cette façon, les utilisateurs peuvent joyeusement taper @file{/opt/gnu/bin/guile} et profiter." + +#. type: cindex +#: doc/guix.texi:3350 +#, no-wrap +msgid "relocatable binaries, with @command{guix pack}" +msgstr "binaires repositionnables, avec @command{guix pack}" + +#. type: Plain text +#: doc/guix.texi:3358 +msgid "What if the recipient of your pack does not have root privileges on their machine, and thus cannot unpack it in the root file system? In that case, you will want to use the @code{--relocatable} option (see below). This option produces @dfn{relocatable binaries}, meaning they they can be placed anywhere in the file system hierarchy: in the example above, users can unpack your tarball in their home directory and directly run @file{./opt/gnu/bin/guile}." +msgstr "Et si le destinataire de votre pack n'a pas les privilèges root sur sa machine, et ne peut donc pas le décompresser dans le système de fichiers racine ? Dans ce cas, vous pourriez utiliser l'option @code{--relocatable} (voir plus bas). Cette option produite des @dfn{binaire repositionnables}, ce qui signifie qu'ils peuvent être placés n'importe où dans l'arborescence du système de fichiers : dans l'exemple au-dessus, les utilisateurs peuvent décompresser votre archive dans leur répertoire personnel et lancer directement @file{./opt/gnu/bin/guile}." + +#. type: cindex +#: doc/guix.texi:3359 +#, no-wrap +msgid "Docker, build an image with guix pack" +msgstr "Docker, construire une image avec guix pack" + +#. type: Plain text +#: doc/guix.texi:3362 +msgid "Alternatively, you can produce a pack in the Docker image format using the following command:" +msgstr "Autrement, vous pouvez produire un pack au format d'image Docker avec la commande suivante :" + +#. type: example +#: doc/guix.texi:3365 +#, no-wrap +msgid "guix pack -f docker guile emacs geiser\n" +msgstr "guix pack -f docker guile emacs geiser\n" + +#. type: Plain text +#: doc/guix.texi:3372 +msgid "The result is a tarball that can be passed to the @command{docker load} command. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information." +msgstr "Le résultat est une archive tar qui peut être passée à la commande @command{docker load}. Voir la @uref{https://docs.docker.com/engine/reference/commandline/load/, documentation de Docker} pour plus d'informations." + +#. type: cindex +#: doc/guix.texi:3373 +#, no-wrap +msgid "Singularity, build an image with guix pack" +msgstr "Singularity, construire une image avec guix pack" + +#. type: cindex +#: doc/guix.texi:3374 +#, no-wrap +msgid "SquashFS, build an image with guix pack" +msgstr "SquashFS, construire une image avec guix pack" + +#. type: Plain text +#: doc/guix.texi:3377 +msgid "Yet another option is to produce a SquashFS image with the following command:" +msgstr "Autrement, vous pouvez produire une image SquashFS avec la commande suivante :" + +#. type: example +#: doc/guix.texi:3380 +#, no-wrap +msgid "guix pack -f squashfs guile emacs geiser\n" +msgstr "guix pack -f squashfs guile emacs geiser\n" + +#. type: Plain text +#: doc/guix.texi:3388 +msgid "The result is a SquashFS file system image that can either be mounted or directly be used as a file system container image with the @uref{http://singularity.lbl.gov, Singularity container execution environment}, using commands like @command{singularity shell} or @command{singularity exec}." +msgstr "Le résultat est une image de système de fichiers SquashFS qui peut soit être montée directement soit être utilisée comme image de conteneur de système de fichiers avec l'@uref{http://singularity.lbl.gov, environnement d'exécution conteneurisé Singularity}, avec des commandes comme @command{singularity shell} ou @command{singularity exec}." + +#. type: Plain text +#: doc/guix.texi:3390 +msgid "Several command-line options allow you to customize your pack:" +msgstr "Diverses options en ligne de commande vous permettent de personnaliser votre pack :" + +#. type: table +#: doc/guix.texi:3395 msgid "Produce a pack in the given @var{format}." msgstr "Produire un pack dans le @var{format} donné." #. type: table -#: doc/guix.texi:2938 +#: doc/guix.texi:3397 msgid "The available formats are:" msgstr "Les formats disponibles sont :" #. type: item -#: doc/guix.texi:2940 +#: doc/guix.texi:3399 #, no-wrap msgid "tarball" msgstr "tarball" #. type: table -#: doc/guix.texi:2943 +#: doc/guix.texi:3402 msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks." msgstr "C'est le format par défaut. Il produit une archive tar contenant tous les binaires et les liens symboliques spécifiés." #. type: item -#: doc/guix.texi:2944 +#: doc/guix.texi:3403 #, no-wrap msgid "docker" msgstr "docker" #. type: table -#: doc/guix.texi:2948 +#: doc/guix.texi:3407 msgid "This produces a tarball that follows the @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, Docker Image Specification}." msgstr "Cela produit une archive tar qui suit la @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, spécification des images Docker}." #. type: item -#: doc/guix.texi:2949 +#: doc/guix.texi:3408 #, no-wrap msgid "squashfs" msgstr "squashfs" #. type: table -#: doc/guix.texi:2953 +#: doc/guix.texi:3412 msgid "This produces a SquashFS image containing all the specified binaries and symlinks, as well as empty mount points for virtual file systems like procfs." msgstr "Cela produit une image SquashFS contenant tous les binaires et liens symboliques spécifiés, ainsi que des points de montages vides pour les systèmes de fichiers virtuels comme procfs." #. type: item -#: doc/guix.texi:2955 +#: doc/guix.texi:3414 #, no-wrap msgid "--relocatable" msgstr "--relocatable" #. type: table -#: doc/guix.texi:2960 +#: doc/guix.texi:3419 msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there. For example, if you create a pack containing Bash with:" msgstr "Produit des @dfn{binaires repositionnables} — c.-à-d.@: des binaires que vous pouvez placer n'importe où dans l'arborescence du système de fichiers et les lancer à partir de là. Par exemple, si vous créez un pack contenant Bash avec :" #. type: example -#: doc/guix.texi:2963 +#: doc/guix.texi:3422 #, no-wrap msgid "guix pack -R -S /mybin=bin bash\n" msgstr "guix pack -R -S /mybin=bin bash\n" #. type: table -#: doc/guix.texi:2968 +#: doc/guix.texi:3427 msgid "... you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:" msgstr "… vous pouvez copier ce pack sur une machine qui n'a pas Guix et depuis votre répertoire personnel en tant qu'utilisateur non-privilégié, lancer :" #. type: example -#: doc/guix.texi:2972 +#: doc/guix.texi:3431 #, no-wrap msgid "" "tar xf pack.tar.gz\n" @@ -6576,232 +7437,238 @@ msgstr "" "./mybin/sh\n" #. type: table -#: doc/guix.texi:2980 +#: doc/guix.texi:3439 msgid "In that shell, if you type @code{ls /gnu/store}, you'll notice that @file{/gnu/store} shows up and contains all the dependencies of @code{bash}, even though the machine actually lacks @file{/gnu/store} altogether! That is probably the simplest way to deploy Guix-built software on a non-Guix machine." msgstr "Dans ce shell, si vous tapez @code{ls /gnu/store}, vous remarquerez que @file{/gnu/store} apparaît et contient toutes les dépendances de @code{bash}, même si la machine n'a pas du tout de @file{/gnu/store} ! C'est sans doute la manière la plus simple de déployer du logiciel construit avec Guix sur une machine sans Guix." #. type: table -#: doc/guix.texi:2987 +#: doc/guix.texi:3446 msgid "There's a gotcha though: this technique relies on the @dfn{user namespace} feature of the kernel Linux, which allows unprivileged users to mount or change root. Old versions of Linux did not support it, and some GNU/Linux distributions turn it off; on these systems, programs from the pack @emph{will fail to run}, unless they are unpacked in the root file system." msgstr "Il y a un inconvénient cependant : cette technique repose sur les @dfn{espaces de noms} du noyau Linux qui permettent à des utilisateurs non-privilégiés de monter des systèmes de fichiers ou de changer de racine. Les anciennes versions de Linux ne le supportaient pas et certaines distributions GNU/Linux les désactivent ; sur ces système, les programme du pack @emph{ne fonctionneront pas} à moins qu'ils ne soient décompressés à la racine du système de fichiers." #. type: item -#: doc/guix.texi:2988 doc/guix.texi:5882 doc/guix.texi:6720 doc/guix.texi:7307 -#: doc/guix.texi:7457 doc/guix.texi:21068 +#: doc/guix.texi:3447 doc/guix.texi:6482 doc/guix.texi:7352 doc/guix.texi:7969 +#: doc/guix.texi:8126 doc/guix.texi:22526 #, no-wrap msgid "--expression=@var{expr}" msgstr "--expression=@var{expr}" #. type: itemx -#: doc/guix.texi:2989 doc/guix.texi:5883 doc/guix.texi:6721 doc/guix.texi:7308 -#: doc/guix.texi:7458 doc/guix.texi:21069 +#: doc/guix.texi:3448 doc/guix.texi:6483 doc/guix.texi:7353 doc/guix.texi:7970 +#: doc/guix.texi:8127 doc/guix.texi:22527 #, no-wrap msgid "-e @var{expr}" msgstr "-e @var{expr}" #. type: table -#: doc/guix.texi:2991 doc/guix.texi:6723 doc/guix.texi:7310 +#: doc/guix.texi:3450 doc/guix.texi:7355 doc/guix.texi:7972 msgid "Consider the package @var{expr} evaluates to." msgstr "Considérer le paquet évalué par @var{expr}." #. type: table -#: doc/guix.texi:2995 +#: doc/guix.texi:3454 msgid "This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @code{--expression} in @command{guix build}})." msgstr "Cela a le même but que l'option de même nom de @command{guix build} (@pxref{Additional Build Options, @code{--expression} dans @command{guix build}})." #. type: table -#: doc/guix.texi:3000 +#: doc/guix.texi:3459 msgid "Use the packages contained in the manifest object returned by the Scheme code in @var{file}." msgstr "Utiliser les paquets contenus dans l'objet manifeste renvoyé par le code Scheme dans @var{fichier}" #. type: table -#: doc/guix.texi:3008 +#: doc/guix.texi:3467 msgid "This has a similar purpose as the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files. It allows you to define a collection of packages once and use it both for creating profiles and for creating archives for use on machines that do not have Guix installed. Note that you can specify @emph{either} a manifest file @emph{or} a list of packages, but not both." msgstr "Elle a un but similaire à l'option de même nom dans @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) et utilise les mêmes fichiers manifeste. Ils vous permettent de définir une collection de paquets une fois et de l'utiliser aussi bien pour créer des profils que pour créer des archives pour des machines qui n'ont pas Guix d'installé. Remarquez que vous pouvez spécifier @emph{soit} un fichier manifeste, @emph{soit} une liste de paquet, mais pas les deux." #. type: itemx -#: doc/guix.texi:3010 doc/guix.texi:5955 doc/guix.texi:7135 doc/guix.texi:7543 -#: doc/guix.texi:8177 doc/guix.texi:21077 +#: doc/guix.texi:3469 doc/guix.texi:6555 doc/guix.texi:7797 doc/guix.texi:7980 +#: doc/guix.texi:8212 doc/guix.texi:8846 doc/guix.texi:22535 #, no-wrap msgid "-s @var{system}" msgstr "-s @var{système}" #. type: table -#: doc/guix.texi:3013 doc/guix.texi:5958 +#: doc/guix.texi:3472 doc/guix.texi:6558 msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host." msgstr "Tenter de construire pour le @var{système} — p.@: ex.@: @code{i686-linux} — plutôt que pour le type de système de l'hôte de construction." #. type: item -#: doc/guix.texi:3014 doc/guix.texi:5986 +#: doc/guix.texi:3473 doc/guix.texi:6586 #, no-wrap msgid "--target=@var{triplet}" msgstr "--target=@var{triplet}" #. type: cindex -#: doc/guix.texi:3015 doc/guix.texi:3441 doc/guix.texi:5987 +#: doc/guix.texi:3474 doc/guix.texi:3904 doc/guix.texi:6587 #, no-wrap msgid "cross-compilation" msgstr "compilation croisée" #. type: table -#: doc/guix.texi:3019 doc/guix.texi:5991 +#: doc/guix.texi:3478 doc/guix.texi:6591 msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"mips64el-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})." msgstr "Effectuer une compilation croisée pour @var{triplet} qui doit être un triplet GNU valide, comme @code{\"mips64el-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})." #. type: item -#: doc/guix.texi:3020 +#: doc/guix.texi:3479 #, no-wrap msgid "--compression=@var{tool}" msgstr "--compression=@var{outil}" #. type: itemx -#: doc/guix.texi:3021 +#: doc/guix.texi:3480 #, no-wrap msgid "-C @var{tool}" msgstr "-C @var{outil}" #. type: table -#: doc/guix.texi:3024 +#: doc/guix.texi:3483 msgid "Compress the resulting tarball using @var{tool}---one of @code{gzip}, @code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression." msgstr "Compresser l'archive résultante avec @var{outil} — l'un des outils parmi @code{bzip2}, @code{xz}, @code{lzip} ou @code{none} pour aucune compression." #. type: item -#: doc/guix.texi:3025 +#: doc/guix.texi:3484 #, no-wrap msgid "--symlink=@var{spec}" msgstr "--symlink=@var{spec}" #. type: itemx -#: doc/guix.texi:3026 +#: doc/guix.texi:3485 #, no-wrap msgid "-S @var{spec}" msgstr "-S @var{spec}" #. type: table -#: doc/guix.texi:3029 +#: doc/guix.texi:3488 msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times." msgstr "Ajouter les liens symboliques spécifiés par @var{spec} dans le pack. Cette option peut apparaître plusieurs fois." #. type: table -#: doc/guix.texi:3033 +#: doc/guix.texi:3492 msgid "@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} is the symlink that will be created and @var{target} is the symlink target." msgstr "@var{spec} a la forme @code{@var{source}=@var{cible}}, où @var{source} est le lien symbolique qui sera créé et @var{cible} est la cible du lien." #. type: table -#: doc/guix.texi:3036 +#: doc/guix.texi:3495 msgid "For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile." msgstr "Par exemple, @code{-S /opt/gnu/bin=bin} crée un lien symbolique @file{/opt/gnu/bin} qui pointe vers le sous-répertoire @file{bin} du profil." #. type: item -#: doc/guix.texi:3037 +#: doc/guix.texi:3496 #, no-wrap msgid "--localstatedir" msgstr "--localstatedir" -#. type: table -#: doc/guix.texi:3040 -msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack." -msgstr "Inclure le « répertoire d'état local », @file{/var/guix} dans le paquet résultant." +#. type: itemx +#: doc/guix.texi:3497 +#, no-wrap +msgid "--profile-name=@var{name}" +msgstr "--profile-name=@var{nom}" #. type: table -#: doc/guix.texi:3046 +#: doc/guix.texi:3502 +msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} profile---by default @var{name} is @code{guix-profile}, which corresponds to @file{~root/.guix-profile}." +msgstr "Inclus le « répertoire d'état local », @file{/var/guix}, dans le lot qui en résulte, et notamment le profil @file{/var/guix/profiles/per-user/root/@var{nom}} — par défaut @var{nom} est @code{guix-profile}, ce qui correspond à @file{~root/.guix-profile}." + +#. type: table +#: doc/guix.texi:3508 msgid "@file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in the pack means that the store is ``complete'' and manageable by Guix; not providing it pack means that the store is ``dead'': items cannot be added to it or removed from it after extraction of the pack." msgstr "@file{/var/guix} contient la base de données du dépôt (@pxref{The Store}) ainsi que les racines du ramasse-miettes (@pxref{Invoking guix gc}). Le fournir dans le pack signifie que le dépôt et « complet » et gérable par Guix ; ne pas le fournir dans le pack signifie que le dépôt est « mort » : aucun élément ne peut être ajouté ni enlevé après l'extraction du pack." #. type: table -#: doc/guix.texi:3049 +#: doc/guix.texi:3511 msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})." msgstr "Un cas d'utilisation est l'archive binaire indépendante de Guix (@pxref{Binary Installation})." #. type: table -#: doc/guix.texi:3053 +#: doc/guix.texi:3515 msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers." msgstr "Utiliser les programmes d'amorçage pour construire le pack. Cette option n'est utile que pour les développeurs de Guix." #. type: Plain text -#: doc/guix.texi:3058 +#: doc/guix.texi:3520 msgid "In addition, @command{guix pack} supports all the common build options (@pxref{Common Build Options}) and all the package transformation options (@pxref{Package Transformation Options})." msgstr "En plus, @command{guix pack} supporte toutes les options de construction communes (@pxref{Common Build Options}) et toutes les options de transformation de paquets (@pxref{Package Transformation Options})." #. type: section -#: doc/guix.texi:3061 +#: doc/guix.texi:3523 #, no-wrap msgid "Invoking @command{guix archive}" msgstr "Invoquer @command{guix archive}" #. type: command{#1} -#: doc/guix.texi:3063 +#: doc/guix.texi:3525 #, no-wrap msgid "guix archive" msgstr "guix archive" #. type: cindex -#: doc/guix.texi:3064 +#: doc/guix.texi:3526 #, no-wrap msgid "archive" msgstr "archive" #. type: Plain text -#: doc/guix.texi:3070 +#: doc/guix.texi:3532 msgid "The @command{guix archive} command allows users to @dfn{export} files from the store into a single archive, and to later @dfn{import} them on a machine that runs Guix. In particular, it allows store files to be transferred from one machine to the store on another machine." msgstr "La commande @command{guix archive} permet aux utilisateurs d'@dfn{exporter} des fichiers du dépôt dans une simple archive puis ensuite de les @dfn{importer} sur une machine qui fait tourner Guix. En particulier, elle permet de transférer des fichiers du dépôt d'une machine vers le dépôt d'une autre machine." #. type: quotation -#: doc/guix.texi:3074 +#: doc/guix.texi:3536 msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}." msgstr "Si vous chercher une manière de produire des archives dans un format adapté pour des outils autres que Guix, @pxref{Invoking guix pack}." #. type: cindex -#: doc/guix.texi:3076 +#: doc/guix.texi:3538 #, no-wrap msgid "exporting store items" msgstr "exporter des éléments du dépôt" #. type: Plain text -#: doc/guix.texi:3078 +#: doc/guix.texi:3540 msgid "To export store files as an archive to standard output, run:" msgstr "Pour exporter des fichiers du dépôt comme une archive sur la sortie standard, lancez :" #. type: example -#: doc/guix.texi:3081 +#: doc/guix.texi:3543 #, no-wrap msgid "guix archive --export @var{options} @var{specifications}...\n" msgstr "guix archive --export @var{options} @var{spécifications}...\n" #. type: Plain text -#: doc/guix.texi:3088 +#: doc/guix.texi:3550 msgid "@var{specifications} may be either store file names or package specifications, as for @command{guix package} (@pxref{Invoking guix package}). For instance, the following command creates an archive containing the @code{gui} output of the @code{git} package and the main output of @code{emacs}:" msgstr "@var{spécifications} peut être soit des noms de fichiers soit des spécifications de paquets, comme pour @command{guix package} (@pxref{Invoking guix package}). Par exemple, la commande suivante crée une archive contenant la sortie @code{gui} du paquet @code{git} et la sortie principale de @code{emacs} :" #. type: example -#: doc/guix.texi:3091 +#: doc/guix.texi:3553 #, no-wrap msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n" msgstr "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n" #. type: Plain text -#: doc/guix.texi:3096 +#: doc/guix.texi:3558 msgid "If the specified packages are not built yet, @command{guix archive} automatically builds them. The build process may be controlled with the common build options (@pxref{Common Build Options})." msgstr "Si les paquets spécifiés ne sont pas déjà construits, @command{guix archive} les construit automatiquement. Le processus de construction peut être contrôlé avec les options de construction communes (@pxref{Common Build Options})." #. type: Plain text -#: doc/guix.texi:3099 +#: doc/guix.texi:3561 msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:" msgstr "Pour transférer le paquet @code{emacs} vers une machine connectée en SSH, on pourrait lancer :" #. type: example -#: doc/guix.texi:3102 +#: doc/guix.texi:3564 #, no-wrap msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n" msgstr "guix archive --export -r emacs | ssh la-machine guix archive --import\n" #. type: Plain text -#: doc/guix.texi:3107 +#: doc/guix.texi:3569 msgid "Similarly, a complete user profile may be transferred from one machine to another like this:" msgstr "De même, on peut transférer un profil utilisateur complet d'une machine à une autre comme cela :" #. type: example -#: doc/guix.texi:3111 +#: doc/guix.texi:3573 #, no-wrap msgid "" "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n" @@ -6811,160 +7678,162 @@ msgstr "" " ssh la-machine guix-archive --import\n" #. type: Plain text -#: doc/guix.texi:3121 +#: doc/guix.texi:3583 msgid "However, note that, in both examples, all of @code{emacs} and the profile as well as all of their dependencies are transferred (due to @code{-r}), regardless of what is already available in the store on the target machine. The @code{--missing} option can help figure out which items are missing from the target store. The @command{guix copy} command simplifies and optimizes this whole process, so this is probably what you should use in this case (@pxref{Invoking guix copy})." msgstr "Cependant, remarquez que, dans les deux exemples, le paquet @code{emacs}, le profil ainsi que toutes leurs dépendances sont transférées (à cause de @code{-r}), indépendamment du fait qu'ils soient disponibles dans le dépôt de la machine cible. L'option @code{--missing} peut vous aider à comprendre les éléments qui manquent dans le dépôt de la machine cible. La commande @command{guix copy} simplifie et optimise ce processus, c'est donc ce que vous devriez utiliser dans ce cas (@pxref{Invoking guix copy})." #. type: cindex -#: doc/guix.texi:3122 +#: doc/guix.texi:3584 #, no-wrap msgid "nar, archive format" msgstr "nar, format d'archive" #. type: cindex -#: doc/guix.texi:3123 +#: doc/guix.texi:3585 #, no-wrap msgid "normalized archive (nar)" msgstr "archive normalisée (nar)" #. type: Plain text -#: doc/guix.texi:3133 +#: doc/guix.texi:3595 msgid "Archives are stored in the ``normalized archive'' or ``nar'' format, which is comparable in spirit to `tar', but with differences that make it more appropriate for our purposes. First, rather than recording all Unix metadata for each file, the nar format only mentions the file type (regular, directory, or symbolic link); Unix permissions and owner/group are dismissed. Second, the order in which directory entries are stored always follows the order of file names according to the C locale collation order. This makes archive production fully deterministic." msgstr "Les archives sont stockées au format « archive normalisé » ou « nar », qui est comparable dans l'esprit à « tar » mais avec des différences qui le rendent utilisable pour ce qu'on veut faire. Tout d'abord, au lieu de stocker toutes les métadonnées Unix de chaque fichier, le format nar ne mentionne que le type de fichier (normal, répertoire ou lien symbolique) ; les permissions Unix, le groupe et l'utilisateur ne sont pas mentionnés. Ensuite, l'ordre dans lequel les entrées de répertoires sont stockés suit toujours l'ordre des noms de fichier dans l'environnement linguistique C. Cela rend la production des archives entièrement déterministe." #. type: Plain text -#: doc/guix.texi:3139 +#: doc/guix.texi:3601 msgid "When exporting, the daemon digitally signs the contents of the archive, and that digital signature is appended. When importing, the daemon verifies the signature and rejects the import in case of an invalid signature or if the signing key is not authorized." msgstr "Lors de l'export, le démon signe numériquement le contenu de l'archive et cette signature est ajoutée à la fin du fichier. Lors de l'import, le démon vérifie la signature et rejette l'import en cas de signature invalide ou si la clef de signature n'est pas autorisée." #. type: Plain text -#: doc/guix.texi:3141 +#: doc/guix.texi:3603 msgid "The main options are:" msgstr "Les principales options sont :" #. type: item -#: doc/guix.texi:3143 +#: doc/guix.texi:3605 #, no-wrap msgid "--export" msgstr "--export" #. type: table -#: doc/guix.texi:3146 +#: doc/guix.texi:3608 msgid "Export the specified store files or packages (see below.) Write the resulting archive to the standard output." msgstr "Exporter les fichiers ou les paquets du dépôt (voir plus bas). Écrire l'archive résultante sur la sortie standard." #. type: table -#: doc/guix.texi:3149 +#: doc/guix.texi:3611 msgid "Dependencies are @emph{not} included in the output, unless @code{--recursive} is passed." msgstr "Les dépendances ne sont @emph{pas} incluses dans la sortie à moins que @code{--recursive} ne soit passé." #. type: itemx -#: doc/guix.texi:3150 doc/guix.texi:6258 doc/guix.texi:6644 +#: doc/guix.texi:3612 doc/guix.texi:6858 doc/guix.texi:6956 doc/guix.texi:6983 +#: doc/guix.texi:7182 doc/guix.texi:7223 doc/guix.texi:7270 #, no-wrap msgid "-r" msgstr "-r" #. type: item -#: doc/guix.texi:3151 doc/guix.texi:6257 doc/guix.texi:6643 +#: doc/guix.texi:3613 doc/guix.texi:6857 doc/guix.texi:6955 doc/guix.texi:6982 +#: doc/guix.texi:7181 doc/guix.texi:7222 doc/guix.texi:7269 #, no-wrap msgid "--recursive" msgstr "--recursive" #. type: table -#: doc/guix.texi:3156 +#: doc/guix.texi:3618 msgid "When combined with @code{--export}, this instructs @command{guix archive} to include dependencies of the given items in the archive. Thus, the resulting archive is self-contained: it contains the closure of the exported store items." msgstr "En combinaison avec @code{--export}, cette option demande à @command{guix archive} d'inclure les dépendances des éléments donnés dans l'archive. Ainsi, l'archive résultante est autonome : elle contient la closure des éléments du dépôt exportés." #. type: item -#: doc/guix.texi:3157 +#: doc/guix.texi:3619 #, no-wrap msgid "--import" msgstr "--import" #. type: table -#: doc/guix.texi:3162 +#: doc/guix.texi:3624 msgid "Read an archive from the standard input, and import the files listed therein into the store. Abort if the archive has an invalid digital signature, or if it is signed by a public key not among the authorized keys (see @code{--authorize} below.)" msgstr "Lire une archive depuis l'entrée standard et importer les fichiers inclus dans le dépôt. Annuler si l'archive a une signature invalide ou si elle est signée par une clef publique qui ne se trouve pas dans le clefs autorisées (voir @code{--authorize} plus bas.)" #. type: item -#: doc/guix.texi:3163 +#: doc/guix.texi:3625 #, no-wrap msgid "--missing" msgstr "--missing" #. type: table -#: doc/guix.texi:3167 +#: doc/guix.texi:3629 msgid "Read a list of store file names from the standard input, one per line, and write on the standard output the subset of these files missing from the store." msgstr "Liste une liste de noms de fichiers du dépôt sur l'entrée standard, un par ligne, et écrit sur l'entrée standard le sous-ensemble de ces fichiers qui manquent dans le dépôt." #. type: item -#: doc/guix.texi:3168 +#: doc/guix.texi:3630 #, no-wrap msgid "--generate-key[=@var{parameters}]" msgstr "--generate-key[=@var{paramètres}]" #. type: cindex -#: doc/guix.texi:3169 +#: doc/guix.texi:3631 #, no-wrap msgid "signing, archives" msgstr "signature, archives" #. type: table -#: doc/guix.texi:3174 +#: doc/guix.texi:3636 msgid "Generate a new key pair for the daemon. This is a prerequisite before archives can be exported with @code{--export}. Note that this operation usually takes time, because it needs to gather enough entropy to generate the key pair." msgstr "Générer une nouvelle paire de clefs pour le démon. Cela est un prérequis avant que les archives ne puissent être exportées avec @code{--export}. Remarquez que cette opération prend généralement du temps parce qu'elle doit récupère suffisamment d'entropie pour générer la paire de clefs." #. type: table -#: doc/guix.texi:3184 +#: doc/guix.texi:3646 msgid "The generated key pair is typically stored under @file{/etc/guix}, in @file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, which must be kept secret.) When @var{parameters} is omitted, an ECDSA key using the Ed25519 curve is generated, or, for Libgcrypt versions before 1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})." msgstr "La paire de clefs générée est typiquement stockée dans @file{/etc/guix}, dans @file{signing-key.pub} (clef publique) et @file{signing-key.sec} (clef privée, qui doit rester secrète). Lorsque @var{paramètres} est omis, une clef ECDSA utilisant la courbe Ed25519 est générée ou pour les version de libgcrypt avant 1.6.0, une clef RSA de 4096 bits. Autrement, @var{paramètres} peut spécifier les paramètres @code{genkey} adaptés pour libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})." #. type: item -#: doc/guix.texi:3185 +#: doc/guix.texi:3647 #, no-wrap msgid "--authorize" msgstr "--authorize" #. type: cindex -#: doc/guix.texi:3186 +#: doc/guix.texi:3648 #, no-wrap msgid "authorizing, archives" msgstr "autorisation, archives" #. type: table -#: doc/guix.texi:3190 +#: doc/guix.texi:3652 msgid "Authorize imports signed by the public key passed on standard input. The public key must be in ``s-expression advanced format''---i.e., the same format as the @file{signing-key.pub} file." msgstr "Autoriser les imports signés par la clef publique passée sur l'entrée standard. La clef publique doit être au « format avancé s-expression » — c.-à-d.@: le même format que le fichier @file{signing-key.pub}." #. type: table -#: doc/guix.texi:3197 +#: doc/guix.texi:3659 msgid "The list of authorized keys is kept in the human-editable file @file{/etc/guix/acl}. The file contains @url{http://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format s-expressions''} and is structured as an access-control list in the @url{http://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure (SPKI)}." msgstr "La liste des clefs autorisées est gardée dans un fichier modifiable par des humains dans @file{/etc/guix/acl}. Le fichier contient des @url{http://people.csail.mit.edu/rivest/Sexp.txt, « s-expressions au format avancé »} et est structuré comme une liste de contrôle d'accès dans l'@url{http://theworld.com/~cme/spki.txt, infrastructure à clefs publiques simple (SPKI)}." #. type: item -#: doc/guix.texi:3198 +#: doc/guix.texi:3660 #, no-wrap msgid "--extract=@var{directory}" msgstr "--extract=@var{répertoire}" #. type: itemx -#: doc/guix.texi:3199 +#: doc/guix.texi:3661 #, no-wrap msgid "-x @var{directory}" msgstr "-x @var{répertoire}" #. type: table -#: doc/guix.texi:3203 +#: doc/guix.texi:3665 msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and extract it to @var{directory}. This is a low-level operation needed in only very narrow use cases; see below." msgstr "Lit une archive à un seul élément telle que servie par un serveur de substituts (@pxref{Substituts}) et l'extrait dans @var{répertoire}. C'est une opération de bas niveau requise seulement dans de rares cas d'usage ; voir plus loin." #. type: table -#: doc/guix.texi:3206 +#: doc/guix.texi:3668 msgid "For example, the following command extracts the substitute for Emacs served by @code{hydra.gnu.org} to @file{/tmp/emacs}:" msgstr "Par exemple, la commande suivante extrait le substitut pour Emacs servi par @code{hydra.gnu.org} dans @file{/tmp/emacs} :" #. type: example -#: doc/guix.texi:3211 +#: doc/guix.texi:3673 #, no-wrap msgid "" "$ wget -O - \\\n" @@ -6976,42 +7845,42 @@ msgstr "" " | bunzip2 | guix archive -x /tmp/emacs\n" #. type: table -#: doc/guix.texi:3218 +#: doc/guix.texi:3680 msgid "Single-item archives are different from multiple-item archives produced by @command{guix archive --export}; they contain a single store item, and they do @emph{not} embed a signature. Thus this operation does @emph{no} signature verification and its output should be considered unsafe." msgstr "Les archives à un seul élément sont différentes des archives à plusieurs éléments produites par @command{guix archive --export} ; elles contiennent un seul élément du dépôt et elles n'embarquent @emph{pas} de signature. Ainsi cette opération ne vérifie @emph{pas} de signature et sa sortie devrait être considérée comme non sûre." #. type: table -#: doc/guix.texi:3221 +#: doc/guix.texi:3683 msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers." msgstr "Le but principal de cette opération est de faciliter l'inspection du contenu des archives venant de serveurs auxquels on ne fait potentiellement pas confiance." #. type: Plain text -#: doc/guix.texi:3234 +#: doc/guix.texi:3696 msgid "GNU Guix provides several Scheme programming interfaces (APIs) to define, build, and query packages. The first interface allows users to write high-level package definitions. These definitions refer to familiar packaging concepts, such as the name and version of a package, its build system, and its dependencies. These definitions can then be turned into concrete build actions." msgstr "GNU Guix fournit diverses interface de programmation Scheme (API) qui pour définir, construire et faire des requêtes sur des paquets. La première interface permet aux utilisateurs d'écrire des définitions de paquets de haut-niveau. Ces définitions se réfèrent à des concepts de création de paquets familiers, comme le nom et la version du paquet, son système de construction et ses dépendances. Ces définitions peuvent ensuite être transformées en actions concrètes lors de la construction." #. type: Plain text -#: doc/guix.texi:3240 +#: doc/guix.texi:3702 msgid "Build actions are performed by the Guix daemon, on behalf of users. In a standard setup, the daemon has write access to the store---the @file{/gnu/store} directory---whereas users do not. The recommended setup also has the daemon perform builds in chroots, under a specific build users, to minimize interference with the rest of the system." msgstr "Les actions de construction sont effectuées par le démon Guix, pour le compte des utilisateurs. Dans un environnement standard, le démon possède les droits en écriture sur le dépôt — le répertoire @file{/gnu/store} — mais pas les utilisateurs. La configuration recommandée permet aussi au démon d'effectuer la construction dans des chroots, avec un utilisateur de construction spécifique pour minimiser les interférences avec le reste du système." #. type: Plain text -#: doc/guix.texi:3249 +#: doc/guix.texi:3711 msgid "Lower-level APIs are available to interact with the daemon and the store. To instruct the daemon to perform a build action, users actually provide it with a @dfn{derivation}. A derivation is a low-level representation of the build actions to be taken, and the environment in which they should occur---derivations are to package definitions what assembly is to C programs. The term ``derivation'' comes from the fact that build results @emph{derive} from them." msgstr "Il y a des API de plus bas niveau pour interagir avec le démon et le dépôt. Pour demander au démon d'effectuer une action de construction, les utilisateurs lui donnent en fait une @dfn{dérivation}. Une dérivation est une représentation à bas-niveau des actions de construction à entreprendre et l'environnement dans lequel elles devraient avoir lieu — les dérivations sont aux définitions de paquets ce que l'assembleur est aux programmes C. Le terme de « dérivation » vient du fait que les résultats de la construction en @emph{dérivent}." #. type: Plain text -#: doc/guix.texi:3252 +#: doc/guix.texi:3714 msgid "This chapter describes all these APIs in turn, starting from high-level package definitions." msgstr "Ce chapitre décrit toutes ces API tour à tour, à partir des définitions de paquets à haut-niveau." #. type: Plain text -#: doc/guix.texi:3269 +#: doc/guix.texi:3732 msgid "The high-level interface to package definitions is implemented in the @code{(guix packages)} and @code{(guix build-system)} modules. As an example, the package definition, or @dfn{recipe}, for the GNU Hello package looks like this:" msgstr "L'interface de haut-niveau pour les définitions de paquets est implémentée dans les modules @code{(guix packages)} et @code{(guix build-system)}. Par exemple, la définition du paquet, ou la @dfn{recette}, du paquet GNU Hello ressemble à cela :" #. type: example -#: doc/guix.texi:3277 +#: doc/guix.texi:3740 #, no-wrap msgid "" "(define-module (gnu packages hello)\n" @@ -7031,7 +7900,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:3296 +#: doc/guix.texi:3759 #, no-wrap msgid "" "(define-public hello\n" @@ -7073,277 +7942,277 @@ msgstr "" " (license gpl3+)))\n" #. type: Plain text -#: doc/guix.texi:3306 +#: doc/guix.texi:3769 msgid "Without being a Scheme expert, the reader may have guessed the meaning of the various fields here. This expression binds the variable @code{hello} to a @code{} object, which is essentially a record (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). This package object can be inspected using procedures found in the @code{(guix packages)} module; for instance, @code{(package-name hello)} returns---surprise!---@code{\"hello\"}." msgstr "Sans être un expert Scheme, le lecteur peut comprendre la signification des différents champs présents. Cette expression lie la variable @code{hello} à un objet @code{}, qui est essentiellement un enregistrement (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). On peut inspecter cet objet de paquet avec les procédures qui se trouvent dans le module @code{(guix packages)} ; par exemple, @code{(package-name hello)} renvoie — oh surprise ! — @code{\"hello\"}." #. type: Plain text -#: doc/guix.texi:3310 +#: doc/guix.texi:3773 msgid "With luck, you may be able to import part or all of the definition of the package you are interested in from another repository, using the @code{guix import} command (@pxref{Invoking guix import})." msgstr "Avec un peu de chance, vous pourrez importer tout ou partie de la définition du paquet qui vous intéresse depuis un autre répertoire avec la commande @code{guix import} (@pxref{Invoking guix import})." #. type: Plain text -#: doc/guix.texi:3316 +#: doc/guix.texi:3779 msgid "In the example above, @var{hello} is defined in a module of its own, @code{(gnu packages hello)}. Technically, this is not strictly necessary, but it is convenient to do so: all the packages defined in modules under @code{(gnu packages @dots{})} are automatically known to the command-line tools (@pxref{Package Modules})." msgstr "Dans l'exemple précédent, @var{hello} est défini dans un module à part, @code{(gnu packages hello)}. Techniquement, cela n'est pas strictement nécessaire, mais c'est pratique : tous les paquets définis dans des modules sous @code{(gnu packages @dots{})} sont automatiquement connus des outils en ligne de commande (@pxref{Package Modules})." #. type: Plain text -#: doc/guix.texi:3318 +#: doc/guix.texi:3781 msgid "There are a few points worth noting in the above package definition:" msgstr "Il y a quelques points à remarquer dans la définition de paquet précédente :" #. type: itemize -#: doc/guix.texi:3325 +#: doc/guix.texi:3788 msgid "The @code{source} field of the package is an @code{} object (@pxref{origin Reference}, for the complete reference). Here, the @code{url-fetch} method from @code{(guix download)} is used, meaning that the source is a file to be downloaded over FTP or HTTP." msgstr "Le champ @code{source} du paquet est un objet @code{} (@pxref{origin Reference}, pour la référence complète). Ici, on utilise la méthode @code{url-fetch} de @code{(guix download)}, ce qui signifie que la source est un fichier à télécharger par FTP ou HTTP." #. type: itemize -#: doc/guix.texi:3328 +#: doc/guix.texi:3791 msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}." msgstr "Le préfixe @code{mirror://gnu} demande à @code{url-fetch} d'utiliser l'un des miroirs GNU définis dans @code{(guix download)}." #. type: itemize -#: doc/guix.texi:3335 +#: doc/guix.texi:3798 msgid "The @code{sha256} field specifies the expected SHA256 hash of the file being downloaded. It is mandatory, and allows Guix to check the integrity of the file. The @code{(base32 @dots{})} form introduces the base32 representation of the hash. You can obtain this information with @code{guix download} (@pxref{Invoking guix download}) and @code{guix hash} (@pxref{Invoking guix hash})." msgstr "Le champ @code{sha256} spécifie le hash SHA256 attendu pour le fichier téléchargé. Il est requis et permet à Guix de vérifier l'intégrité du fichier. La forme @code{(base32 @dots{})} introduit a représentation en base32 du hash. Vous pouvez obtenir cette information avec @code{guix download} (@pxref{Invoking guix download}) et @code{guix hash} (@pxref{Invoking guix hash})." #. type: cindex -#: doc/guix.texi:3336 +#: doc/guix.texi:3799 #, no-wrap msgid "patches" msgstr "correctifs" #. type: itemize -#: doc/guix.texi:3340 +#: doc/guix.texi:3803 msgid "When needed, the @code{origin} form can also have a @code{patches} field listing patches to be applied, and a @code{snippet} field giving a Scheme expression to modify the source code." msgstr "Lorsque cela est requis, la forme @code{origin} peut aussi avec un champ @code{patches} qui liste les correctifs à appliquer et un champ @code{snippet} qui donne une expression Scheme pour modifier le code source." #. type: cindex -#: doc/guix.texi:3342 +#: doc/guix.texi:3805 #, no-wrap msgid "GNU Build System" msgstr "Système de construction GNU" #. type: itemize -#: doc/guix.texi:3348 +#: doc/guix.texi:3811 msgid "The @code{build-system} field specifies the procedure to build the package (@pxref{Build Systems}). Here, @var{gnu-build-system} represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence." msgstr "Le champ @code{build-system} spécifie la procédure pour construire le paquet (@pxref{Build Systems}). Ici, @var{gnu-build-system} représente le système de construction GNU familier, où les paquets peuvent être configurés, construits et installés avec la séquence @code{./configure && make && make check && make install} habituelle." #. type: itemize -#: doc/guix.texi:3354 +#: doc/guix.texi:3817 msgid "The @code{arguments} field specifies options for the build system (@pxref{Build Systems}). Here it is interpreted by @var{gnu-build-system} as a request run @file{configure} with the @code{--enable-silent-rules} flag." msgstr "Le champ @code{arguments} spécifie des options pour le système de construction (@pxref{Build Systems}). Ici il est interprété par @var{gnu-build-system} comme une demande de lancer @file{configure} avec le drapeau @code{--enable-silent-rules}." #. type: findex -#: doc/guix.texi:3355 doc/guix.texi:3358 +#: doc/guix.texi:3818 doc/guix.texi:3821 #, no-wrap msgid "quote" msgstr "quote" #. type: cindex -#: doc/guix.texi:3356 +#: doc/guix.texi:3819 #, no-wrap msgid "quoting" msgstr "quoting" #. type: findex -#: doc/guix.texi:3357 +#: doc/guix.texi:3820 #, no-wrap msgid "'" msgstr "'" #. type: itemize -#: doc/guix.texi:3366 +#: doc/guix.texi:3829 msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})." msgstr "Que sont ces apostrophes (@code{'}) ? C'est de la syntaxe Scheme pour introduire une liste ; @code{'} est synonyme de la fonction @code{quote}. @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, pour des détails. Ice la valeur du champ @code{arguments} est une liste d'arguments passés au système de construction plus tard, comme avec @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})." #. type: itemize -#: doc/guix.texi:3372 +#: doc/guix.texi:3835 msgid "The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and @code{#:configure-flags} is a keyword used to pass a keyword argument to the build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})." msgstr "La séquence dièse-deux-points (@code{#:}) définie un @dfn{mot-clef} Scheme (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), et @code{#:configure-flags} est un mot-clef utilisé pour passer un argument au système de construction (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})." #. type: itemize -#: doc/guix.texi:3378 +#: doc/guix.texi:3841 msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @var{gawk} variable; @var{gawk} is itself bound to a @code{} object." msgstr "Le champ @code{inputs} spécifie les entrées du processus de construction — c.-à-d.@: les dépendances à la construction ou à l'exécution du paquet. Ici on définie une entrée nommée @code{\"gawk\"} dont la valeur est la variable @var{gawk} ; @var{gawk} est elle-même liée à un objet @code{}." #. type: cindex -#: doc/guix.texi:3379 +#: doc/guix.texi:3842 #, no-wrap msgid "backquote (quasiquote)" msgstr "accent grave (quasiquote)" #. type: findex -#: doc/guix.texi:3380 +#: doc/guix.texi:3843 #, no-wrap msgid "`" msgstr "`" #. type: findex -#: doc/guix.texi:3381 +#: doc/guix.texi:3844 #, no-wrap msgid "quasiquote" msgstr "quasiquote" #. type: cindex -#: doc/guix.texi:3382 +#: doc/guix.texi:3845 #, no-wrap msgid "comma (unquote)" msgstr "virgule (unquote)" #. type: findex -#: doc/guix.texi:3383 +#: doc/guix.texi:3846 #, no-wrap msgid "," msgstr "," #. type: findex -#: doc/guix.texi:3384 +#: doc/guix.texi:3847 #, no-wrap msgid "unquote" msgstr "unquote" #. type: findex -#: doc/guix.texi:3385 +#: doc/guix.texi:3848 #, no-wrap msgid ",@@" msgstr ",@@" #. type: findex -#: doc/guix.texi:3386 +#: doc/guix.texi:3849 #, no-wrap msgid "unquote-splicing" msgstr "unquote-splicing" #. type: itemize -#: doc/guix.texi:3392 +#: doc/guix.texi:3855 msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})." msgstr "De nouveau, @code{`} (un accent grave, synonyme de la fonction @code{quasiquote}) nous permet d'introduire une liste litérale dans le champ @code{inputs}, tandis que @code{,} (une virgule, synonyme de la fonction @code{unquote}) nous permet d'insérer une valeur dans cette liste (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})." #. type: itemize -#: doc/guix.texi:3396 +#: doc/guix.texi:3859 msgid "Note that GCC, Coreutils, Bash, and other essential tools do not need to be specified as inputs here. Instead, @var{gnu-build-system} takes care of ensuring that they are present (@pxref{Build Systems})." msgstr "Remarquez que GCC, Coreutils, Bash et les autres outils essentiels n'ont pas besoin d'être spécifiés en tant qu'entrées ici. À la place, le @var{gnu-build-system} est en charge de s'assurer qu'ils sont présents (@pxref{Build Systems})." #. type: itemize -#: doc/guix.texi:3400 +#: doc/guix.texi:3863 msgid "However, any other dependencies need to be specified in the @code{inputs} field. Any dependency not specified here will simply be unavailable to the build process, possibly leading to a build failure." msgstr "Cependant, toutes les autres dépendances doivent être spécifiées dans le champ @code{inputs}. Toute dépendance qui ne serait pas spécifiée ici sera simplement indisponible pour le processus de construction, ce qui peut mener à un échec de la construction." #. type: Plain text -#: doc/guix.texi:3403 +#: doc/guix.texi:3866 msgid "@xref{package Reference}, for a full description of possible fields." msgstr "@xref{package Reference}, pour une description complète des champs possibles." #. type: Plain text -#: doc/guix.texi:3414 +#: doc/guix.texi:3877 msgid "Once a package definition is in place, the package may actually be built using the @code{guix build} command-line tool (@pxref{Invoking guix build}), troubleshooting any build failures you encounter (@pxref{Debugging Build Failures}). You can easily jump back to the package definition using the @command{guix edit} command (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, for more information on how to test package definitions, and @ref{Invoking guix lint}, for information on how to check a definition for style conformance." msgstr "Lorsqu'une définition de paquet est en place, le paquet peut enfin être construit avec l'outil en ligne de commande @code{guix build} (@pxref{Invoking guix build}), pour résoudre les échecs de construction que vous pourriez rencontrer (@pxref{Debugging Build Failures}). Vous pouvez aisément revenir à la définition du paquet avec la commande @command{guix edit} (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, pour plus d'inforamtions sur la manière de tester des définitions de paquets et @ref{Invoking guix lint}, pour des informations sur la manière de vérifier que la définition réspecte les conventions de style." #. type: vindex -#: doc/guix.texi:3414 +#: doc/guix.texi:3877 #, no-wrap msgid "GUIX_PACKAGE_PATH" msgstr "GUIX_PACKAGE_PATH" #. type: Plain text -#: doc/guix.texi:3418 -msgid "Lastly, @pxref{Package Modules}, for information on how to extend the distribution by adding your own package definitions to @code{GUIX_PACKAGE_PATH}." -msgstr "Enfin, @pxref{Package Modules} pour des informations sur la manière d'étendre la distribution en ajoutant vos propres définitions de paquets dans @code{GUIX_PACKAGE_PATH}." +#: doc/guix.texi:3881 +msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''." +msgstr "Enfin, @pxref{Channels} pour des informations sur la manière d'étendre la distribution en ajoutant vos propres définitions de paquets dans un « canal »." #. type: Plain text -#: doc/guix.texi:3422 +#: doc/guix.texi:3885 msgid "Finally, updating the package definition to a new upstream version can be partly automated by the @command{guix refresh} command (@pxref{Invoking guix refresh})." msgstr "Finalement, la mise à jour de la définition du paquet à une nouvelle version amont peut en partie s'automatiser avec la commande @command{guix refresh} (@pxref{Invoking guix refresh})." #. type: Plain text -#: doc/guix.texi:3428 +#: doc/guix.texi:3891 msgid "Behind the scenes, a derivation corresponding to the @code{} object is first computed by the @code{package-derivation} procedure. That derivation is stored in a @code{.drv} file under @file{/gnu/store}. The build actions it prescribes may then be realized by using the @code{build-derivations} procedure (@pxref{The Store})." msgstr "Sous le capot, une dérivation qui correspond à un objet @code{} est d'abord calculé par la procédure @code{package-derivation}. Cette dérivation est stockée dans un fichier @code{.drv} dans @file{/gnu/store}. Les actions de construction qu'il prescrit peuvent ensuite être réalisées par la procédure @code{build-derivation} (@pxref{The Store})." #. type: deffn -#: doc/guix.texi:3429 +#: doc/guix.texi:3892 #, no-wrap msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]" msgstr "{Procédure Scheme} package-derivation @var{store} @var{package} [@var{system}]" #. type: deffn -#: doc/guix.texi:3432 +#: doc/guix.texi:3895 msgid "Return the @code{} object of @var{package} for @var{system} (@pxref{Derivations})." msgstr "Renvoie l'objet @code{} du @var{paquet} pour le @var{système} (@pxref{Derivations})." #. type: deffn -#: doc/guix.texi:3438 +#: doc/guix.texi:3901 msgid "@var{package} must be a valid @code{} object, and @var{system} must be a string denoting the target system type---e.g., @code{\"x86_64-linux\"} for an x86_64 Linux-based GNU system. @var{store} must be a connection to the daemon, which operates on the store (@pxref{The Store})." msgstr "@var{paquet} doit être un objet @code{} valide et @var{système} une chaîne indiquant le type de système cible — p.ex.@: @code{\"x86_64-linux\"} pour un système GNU x86_64 basé sur Linux. @var{dépôt} doit être une connexion au démon, qui opère sur les dépôt (@pxref{The Store})." #. type: Plain text -#: doc/guix.texi:3444 +#: doc/guix.texi:3907 msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:" msgstr "De manière identique, il est possible de calculer une dérivation qui effectue une compilation croisée d'un paquet pour un autre système :" #. type: deffn -#: doc/guix.texi:3445 +#: doc/guix.texi:3908 #, no-wrap msgid "{Scheme Procedure} package-cross-derivation @var{store} @" msgstr "{Procédure Scheme} package-cross-derivation @var{store} @" #. type: deffn -#: doc/guix.texi:3449 +#: doc/guix.texi:3912 msgid "@var{package} @var{target} [@var{system}] Return the @code{} object of @var{package} cross-built from @var{system} to @var{target}." msgstr "@var{paquet} @var{cible} [@var{système}] renvoie l'objet @code{} duof @var{paquet} construit depuis @var{système} pour @var{cible}." #. type: deffn -#: doc/guix.texi:3454 +#: doc/guix.texi:3917 msgid "@var{target} must be a valid GNU triplet denoting the target hardware and operating system, such as @code{\"mips64el-linux-gnu\"} (@pxref{Configuration Names, GNU configuration triplets,, configure, GNU Configure and Build System})." msgstr "@var{cible} doit être un triplet GNU valide indiquant le matériel cible et le système d'exploitation, comme @code{\"mips64el-linux-gnu\"} (@pxref{Configuration Names, GNU configuration triplets,, configure, GNU Configure and Build System})." #. type: cindex -#: doc/guix.texi:3456 +#: doc/guix.texi:3919 #, no-wrap msgid "package transformations" msgstr "transformations de paquets" #. type: cindex -#: doc/guix.texi:3457 +#: doc/guix.texi:3920 #, no-wrap msgid "input rewriting" msgstr "réécriture d'entrées" #. type: cindex -#: doc/guix.texi:3458 +#: doc/guix.texi:3921 #, no-wrap msgid "dependency tree rewriting" msgstr "réécriture de l'arbre des dépendances" #. type: Plain text -#: doc/guix.texi:3462 +#: doc/guix.texi:3925 msgid "Packages can be manipulated in arbitrary ways. An example of a useful transformation is @dfn{input rewriting}, whereby the dependency tree of a package is rewritten by replacing specific inputs by others:" msgstr "On peut manipuler les paquets de manière arbitraire. Une transformation utile est par exemple la @dfn{réécriture d'entrées} où l'arbre des dépendances d'un paquet est réécrit en replaçant des entrées spécifiques par d'autres :" #. type: deffn -#: doc/guix.texi:3463 +#: doc/guix.texi:3926 #, no-wrap msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @" msgstr "{Procédure Scheme} package-input-rewriting @var{replacements} @" #. type: deffn -#: doc/guix.texi:3470 +#: doc/guix.texi:3933 msgid "[@var{rewrite-name}] Return a procedure that, when passed a package, replaces its direct and indirect dependencies (but not its implicit inputs) according to @var{replacements}. @var{replacements} is a list of package pairs; the first element of each pair is the package to replace, and the second one is the replacement." msgstr "[@var{nom-réécrit}] Renvoie une procédure qui, lorsqu'on lui donne un paquet, remplace des dépendances directes et indirectes (mais pas ses entrées implicites) en fonction de @var{remplacements}. @var{remplacements} est une liste de paires de paquets ; le premier élément de chaque pair est le paquet à remplacer, le second son remplaçant." #. type: deffn -#: doc/guix.texi:3473 +#: doc/guix.texi:3936 msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite." msgstr "De manière facultative, @var{nom-réécrit} est une procédure à un argument qui prend le nom d'un paquet et renvoie son nouveau nom après l'avoir réécrit." #. type: Plain text -#: doc/guix.texi:3477 +#: doc/guix.texi:3940 msgid "Consider this example:" msgstr "Regardez cet exemple :" #. type: example -#: doc/guix.texi:3483 +#: doc/guix.texi:3946 #, no-wrap msgid "" "(define libressl-instead-of-openssl\n" @@ -7359,7 +8228,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:3486 +#: doc/guix.texi:3949 #, no-wrap msgid "" "(define git-with-libressl\n" @@ -7369,128 +8238,129 @@ msgstr "" " (libressl-instead-of-openssl git))\n" #. type: Plain text -#: doc/guix.texi:3494 +#: doc/guix.texi:3957 msgid "Here we first define a rewriting procedure that replaces @var{openssl} with @var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} package that uses @var{libressl} instead of @var{openssl}. This is exactly what the @option{--with-input} command-line option does (@pxref{Package Transformation Options, @option{--with-input}})." msgstr "Ici nous définissons d'abord une procédure de réécriture qui remplace @var{openssl} par @var{libressl}. Ensuite nous l'utilisons pour définir une @dfn{variante} du paquet @var{git} qui utilise @var{libressl} plutôt que @var{openssl}. cela est exactement ce que l'option en ligne de commande @option{--with-input} fait (@pxref{Package Transformation Options, @option{--with-input}})." #. type: Plain text -#: doc/guix.texi:3498 +#: doc/guix.texi:3961 msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph." msgstr "Une procédure plus générique pour réécrire un graphe de dépendance d'un paquet est @code{package-mapping} : elle supporte n'importe quel changement dans les nœuds du graphe." #. type: deffn -#: doc/guix.texi:3499 +#: doc/guix.texi:3962 #, no-wrap msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}]" msgstr "{Procédure Scheme} package-mapping @var{proc} [@var{cut?}]" #. type: deffn -#: doc/guix.texi:3503 +#: doc/guix.texi:3966 msgid "Return a procedure that, given a package, applies @var{proc} to all the packages depended on and returns the resulting package. The procedure stops recursion when @var{cut?} returns true for a given package." msgstr "Renvoie une procédure qui, avec un paquet, applique @var{proc} sur tous les paquets dont il dépend et renvoie le paquet qui en résulte. La procédure arrête la récursion là où @var{cut?} renvoie vrai pour un paquet donné." #. type: subsection -#: doc/guix.texi:3512 +#: doc/guix.texi:3975 #, no-wrap msgid "@code{package} Reference" msgstr "Référence de @code{package}" #. type: Plain text -#: doc/guix.texi:3516 +#: doc/guix.texi:3979 msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})." msgstr "Cette section résume toutes les options disponibles dans les déclarations @code{package} (@pxref{Defining Packages})." #. type: deftp -#: doc/guix.texi:3517 +#: doc/guix.texi:3980 #, no-wrap msgid "{Data Type} package" msgstr "{Type de données} package" #. type: deftp -#: doc/guix.texi:3519 +#: doc/guix.texi:3982 msgid "This is the data type representing a package recipe." msgstr "C'est le type de donnée représentant une recette de paquets" #. type: table -#: doc/guix.texi:3523 +#: doc/guix.texi:3986 msgid "The name of the package, as a string." msgstr "Le nom du paquet, comme une chaîne de caractères." #. type: code{#1} -#: doc/guix.texi:3524 +#: doc/guix.texi:3987 #, no-wrap msgid "version" msgstr "version" #. type: table -#: doc/guix.texi:3526 +#: doc/guix.texi:3989 msgid "The version of the package, as a string." msgstr "La version du paquet, comme une chaîne de caractères." #. type: code{#1} -#: doc/guix.texi:3527 doc/guix.texi:6927 doc/guix.texi:9509 doc/guix.texi:9797 +#: doc/guix.texi:3990 doc/guix.texi:7589 doc/guix.texi:10265 +#: doc/guix.texi:10553 #, no-wrap msgid "source" msgstr "source" #. type: table -#: doc/guix.texi:3534 +#: doc/guix.texi:3997 msgid "An object telling how the source code for the package should be acquired. Most of the time, this is an @code{origin} object, which denotes a file fetched from the Internet (@pxref{origin Reference}). It can also be any other ``file-like'' object such as a @code{local-file}, which denotes a file from the local file system (@pxref{G-Expressions, @code{local-file}})." msgstr "Un objet qui indique comment le code source du paquet devrait être récupéré. La plupart du temps, c'est un objet @code{origin} qui indique un fichier récupéré depuis internet (@pxref{origin Reference}). Il peut aussi s'agir de tout autre objet ``simili-fichier'' comme un @code{local-file} qui indique un fichier du système de fichier local (@pxref{G-Expressions, @code{local-file}})." #. type: code{#1} -#: doc/guix.texi:3535 +#: doc/guix.texi:3998 #, no-wrap msgid "build-system" msgstr "build-system" #. type: table -#: doc/guix.texi:3538 +#: doc/guix.texi:4001 msgid "The build system that should be used to build the package (@pxref{Build Systems})." msgstr "Le système de construction qui devrait être utilisé pour construire le paquet (@pxref{Build Systems})." #. type: item -#: doc/guix.texi:3539 doc/guix.texi:11285 +#: doc/guix.texi:4002 doc/guix.texi:12176 #, no-wrap msgid "@code{arguments} (default: @code{'()})" msgstr "@code{arguments} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:3542 +#: doc/guix.texi:4005 msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs." msgstr "Les arguments à passer au système de construction. C'est une liste qui contient typiquement une séquence de paires de clefs-valeurs." #. type: item -#: doc/guix.texi:3543 +#: doc/guix.texi:4006 #, no-wrap msgid "@code{inputs} (default: @code{'()})" msgstr "@code{inputs} (par défaut : @code{'()})" #. type: itemx -#: doc/guix.texi:3544 +#: doc/guix.texi:4007 #, no-wrap msgid "@code{native-inputs} (default: @code{'()})" msgstr "@code{native-inputs} (par défaut : @code{'()})" #. type: itemx -#: doc/guix.texi:3545 +#: doc/guix.texi:4008 #, no-wrap msgid "@code{propagated-inputs} (default: @code{'()})" msgstr "@code{propagated-inputs} (par défaut : @code{'()})" #. type: cindex -#: doc/guix.texi:3546 +#: doc/guix.texi:4009 #, no-wrap msgid "inputs, of packages" msgstr "entrées, des paquets" #. type: table -#: doc/guix.texi:3554 +#: doc/guix.texi:4017 msgid "These fields list dependencies of the package. Each one is a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:" msgstr "Ces champs listent les dépendances du paquet. Chacune est une liste de tuples, où chaque tuple a une étiquette pour une entrée (une chaîne de caractères) comme premier élément, un paquet, une origine ou une dérivation comme deuxième élément et éventuellement le nom d'une sortie à utiliser qui est @code{\"out\"} par défaut (@pxref{Packages with Multiple Outputs}, pour plus d'informations sur les sorties des paquets). Par exemple, la liste suivante spécifie trois entrées :" #. type: example -#: doc/guix.texi:3559 +#: doc/guix.texi:4022 #, no-wrap msgid "" "`((\"libffi\" ,libffi)\n" @@ -7502,253 +8372,253 @@ msgstr "" " (\"glib:bin\" ,glib \"bin\")) ;la sortie \"bin\" de Glib\n" #. type: cindex -#: doc/guix.texi:3561 +#: doc/guix.texi:4024 #, no-wrap msgid "cross compilation, package dependencies" msgstr "compilation croisée, dépendances des paquets" #. type: table -#: doc/guix.texi:3567 +#: doc/guix.texi:4030 msgid "The distinction between @code{native-inputs} and @code{inputs} is necessary when considering cross-compilation. When cross-compiling, dependencies listed in @code{inputs} are built for the @emph{target} architecture; conversely, dependencies listed in @code{native-inputs} are built for the architecture of the @emph{build} machine." msgstr "La distinction entre @code{native-inputs} et @code{inputs} est nécessaire lorsqu'on considère la compilation croisée. Lors d'une compilation croisée, les dépendances listées dans @code{inputs} sont construites pour l'architecture @emph{cible} ; inversement, les dépendances listées dans @code{native-inputs} sont construites pour l'architecture de la machine de @emph{construction}." #. type: table -#: doc/guix.texi:3572 +#: doc/guix.texi:4035 msgid "@code{native-inputs} is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison. @command{guix lint} can report likely mistakes in this area (@pxref{Invoking guix lint})." msgstr "@code{native-inputs} est typiquement utilisé pour lister les outils requis à la construction mais pas à l'exécution, comme Autoconf, Automake, pkg-config, Gettext ou Bison. @command{guix lint} peut rapporter des erreurs de ce type (@pxref{Invoking guix lint})." #. type: anchor{#1} -#: doc/guix.texi:3579 +#: doc/guix.texi:4042 msgid "package-propagated-inputs" msgstr "package-propagated-inputs" #. type: table -#: doc/guix.texi:3579 +#: doc/guix.texi:4042 msgid "Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the specified packages will be automatically installed alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs.)" msgstr "Enfin, @code{propagated-inputs} est similaire à @code{inputs}, mais les paquets spécifiés seront automatiquement installés avec le paquet auquel ils appartiennent (@pxref{package-cmd-propagated-inputs, @command{guix package}}, pour des informations sur la manière dont @command{guix package} traite les entrées propagées)." #. type: table -#: doc/guix.texi:3583 +#: doc/guix.texi:4046 msgid "For example this is necessary when a C/C++ library needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field." msgstr "Par exemple cela est nécessaire lorsque des bibliothèques C/C++ ont besoin d'en-têtes d'une autre bibliothèque pour être compilé ou lorsqu'un fichier pkg-config se rapporte à un autre @i{via} son champ @code{Requires}." #. type: table -#: doc/guix.texi:3590 +#: doc/guix.texi:4053 msgid "Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. To ensure that libraries written in those languages can find library code they depend on at run time, run-time dependencies must be listed in @code{propagated-inputs} rather than @code{inputs}." msgstr "Un autre exemple où @code{propagated-inputs} est utile est pour les langages auxquels il manque un moyen de retenir le chemin de recherche comme c'est le cas du @code{RUNPATH} des fichiers ELF ; cela comprend Guile, Python, Perl et plus. Pour s'assurer que les bibliothèques écrites dans ces langages peuvent trouver le code des bibliothèques dont elles dépendent à l'exécution, les dépendances à l'exécution doivent être listées dans @code{propagated-inputs} plutôt que @code{inputs}." #. type: item -#: doc/guix.texi:3591 +#: doc/guix.texi:4054 #, no-wrap msgid "@code{self-native-input?} (default: @code{#f})" msgstr "@code{self-native-input?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:3594 +#: doc/guix.texi:4057 msgid "This is a Boolean field telling whether the package should use itself as a native input when cross-compiling." msgstr "C'est un champ booléen qui indique si le paquet devrait s'utiliser lui-même comme entrée native lors de la compilation croisée." #. type: item -#: doc/guix.texi:3595 +#: doc/guix.texi:4058 #, no-wrap msgid "@code{outputs} (default: @code{'(\"out\")})" msgstr "@code{outputs} (par défaut : @code{'(\"out\")})" #. type: table -#: doc/guix.texi:3598 +#: doc/guix.texi:4061 msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs." msgstr "La liste des noms de sorties du paquet. @xref{Packages with Multiple Outputs}, pour des exemples typiques d'utilisation de sorties supplémentaires." #. type: item -#: doc/guix.texi:3599 +#: doc/guix.texi:4062 #, no-wrap msgid "@code{native-search-paths} (default: @code{'()})" msgstr "@code{native-search-paths} (par défaut : @code{'()})" #. type: itemx -#: doc/guix.texi:3600 +#: doc/guix.texi:4063 #, no-wrap msgid "@code{search-paths} (default: @code{'()})" msgstr "@code{search-paths} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:3603 +#: doc/guix.texi:4066 msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package." msgstr "Une liste d'objets @code{search-path-specification} décrivant les variables d'environnement de recherche de chemins que ce paquet utilise." #. type: item -#: doc/guix.texi:3604 +#: doc/guix.texi:4067 #, no-wrap msgid "@code{replacement} (default: @code{#f})" msgstr "@code{replacement} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:3608 +#: doc/guix.texi:4071 msgid "This must be either @code{#f} or a package object that will be used as a @dfn{replacement} for this package. @xref{Security Updates, grafts}, for details." msgstr "Ce champ doit être soit @code{#f} soit un objet de paquet qui sera utilisé comme @dfn{remplaçant} de ce paquet. @xref{Security Updates, grafts}, pour plus de détails." #. type: item -#: doc/guix.texi:3609 doc/guix.texi:6919 +#: doc/guix.texi:4072 doc/guix.texi:7581 #, no-wrap msgid "synopsis" msgstr "synopsis" #. type: table -#: doc/guix.texi:3611 +#: doc/guix.texi:4074 msgid "A one-line description of the package." msgstr "Une description sur une ligne du paquet." #. type: item -#: doc/guix.texi:3612 doc/guix.texi:6920 doc/guix.texi:21511 +#: doc/guix.texi:4075 doc/guix.texi:7582 doc/guix.texi:22969 #, no-wrap msgid "description" msgstr "description" #. type: table -#: doc/guix.texi:3614 +#: doc/guix.texi:4077 msgid "A more elaborate description of the package." msgstr "Une description plus détaillée du paquet." #. type: code{#1} -#: doc/guix.texi:3615 +#: doc/guix.texi:4078 #, no-wrap msgid "license" msgstr "license" #. type: cindex -#: doc/guix.texi:3616 +#: doc/guix.texi:4079 #, no-wrap msgid "license, of packages" msgstr "licence, des paquets" #. type: table -#: doc/guix.texi:3619 +#: doc/guix.texi:4082 msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values." msgstr "La licence du paquet ; une valeur tirée de @code{(guix licenses)} ou une liste de ces valeurs." #. type: itemx -#: doc/guix.texi:3620 doc/guix.texi:6928 +#: doc/guix.texi:4083 doc/guix.texi:7590 #, no-wrap msgid "home-page" msgstr "home-page" #. type: table -#: doc/guix.texi:3622 +#: doc/guix.texi:4085 msgid "The URL to the home-page of the package, as a string." msgstr "L'URL de la page d'accueil du paquet, en tant que chaîne de caractères." #. type: item -#: doc/guix.texi:3623 +#: doc/guix.texi:4086 #, no-wrap msgid "@code{supported-systems} (default: @var{%supported-systems})" msgstr "@code{supported-systems} (par défaut : @var{%supported-systems})" #. type: table -#: doc/guix.texi:3626 +#: doc/guix.texi:4089 msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}." msgstr "La liste des systèmes supportés par le paquet, comme des chaînes de caractères de la forme @code{architecture-noyau}, par exemple @code{\"x86_64-linux\"}." #. type: item -#: doc/guix.texi:3627 +#: doc/guix.texi:4090 #, no-wrap msgid "@code{maintainers} (default: @code{'()})" msgstr "@code{maintainers} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:3629 +#: doc/guix.texi:4092 msgid "The list of maintainers of the package, as @code{maintainer} objects." msgstr "La liste des mainteneurs du paquet, comme des objets @code{maintainer}." #. type: item -#: doc/guix.texi:3630 +#: doc/guix.texi:4093 #, no-wrap msgid "@code{location} (default: source location of the @code{package} form)" msgstr "@code{location} (par défaut : emplacement de la source de la forme @code{package})" #. type: table -#: doc/guix.texi:3634 +#: doc/guix.texi:4097 msgid "The source location of the package. It is useful to override this when inheriting from another package, in which case this field is not automatically corrected." msgstr "L'emplacement de la source du paquet. C'est utile de le remplacer lorsqu'on hérite d'un autre paquet, auquel cas ce champ n'est pas automatiquement corrigé." #. type: subsection -#: doc/guix.texi:3639 +#: doc/guix.texi:4102 #, no-wrap msgid "@code{origin} Reference" msgstr "Référence de @code{origin}" #. type: Plain text -#: doc/guix.texi:3643 +#: doc/guix.texi:4106 msgid "This section summarizes all the options available in @code{origin} declarations (@pxref{Defining Packages})." msgstr "Cette section résume toutes les options disponibles dans le déclarations @code{origin} (@pxref{Defining Packages})." #. type: deftp -#: doc/guix.texi:3644 +#: doc/guix.texi:4107 #, no-wrap msgid "{Data Type} origin" msgstr "{Type de données} origin" #. type: deftp -#: doc/guix.texi:3646 +#: doc/guix.texi:4109 msgid "This is the data type representing a source code origin." msgstr "C'est le type de donnée qui représente l'origine d'un code source." #. type: code{#1} -#: doc/guix.texi:3648 doc/guix.texi:16065 +#: doc/guix.texi:4111 doc/guix.texi:17137 #, no-wrap msgid "uri" msgstr "uri" #. type: table -#: doc/guix.texi:3653 +#: doc/guix.texi:4116 msgid "An object containing the URI of the source. The object type depends on the @code{method} (see below). For example, when using the @var{url-fetch} method of @code{(guix download)}, the valid @code{uri} values are: a URL represented as a string, or a list thereof." msgstr "Un objet contenant l'URI de la source. Le type d'objet dépend de la @code{method} (voir plus bas). Par exemple, avec la méthode @var{url-fetch} de @code{(guix download)}, les valeurs valide d'@code{uri} sont : une URL représentée par une chaîne de caractères, ou une liste de chaînes de caractères." #. type: code{#1} -#: doc/guix.texi:3654 +#: doc/guix.texi:4117 #, no-wrap msgid "method" msgstr "method" #. type: table -#: doc/guix.texi:3656 +#: doc/guix.texi:4119 msgid "A procedure that handles the URI." msgstr "Un procédure qui gère l'URI." #. type: table -#: doc/guix.texi:3658 +#: doc/guix.texi:4121 msgid "Examples include:" msgstr "Quelques exemples :" #. type: item -#: doc/guix.texi:3660 +#: doc/guix.texi:4123 #, no-wrap msgid "@var{url-fetch} from @code{(guix download)}" msgstr "@var{url-fetch} de @code{(guix download)}" #. type: table -#: doc/guix.texi:3663 +#: doc/guix.texi:4126 msgid "download a file from the HTTP, HTTPS, or FTP URL specified in the @code{uri} field;" msgstr "télécharge un fichier depuis l'URL HTTP, HTTPS ou FTP spécifiée dans le champ @code{uri} ;" #. type: vindex -#: doc/guix.texi:3664 doc/guix.texi:6275 +#: doc/guix.texi:4127 doc/guix.texi:6875 #, no-wrap msgid "git-fetch" msgstr "git-fetch" #. type: item -#: doc/guix.texi:3665 +#: doc/guix.texi:4128 #, no-wrap msgid "@var{git-fetch} from @code{(guix git-download)}" msgstr "@var{git-fetch} de @code{(guix git-download)}" #. type: table -#: doc/guix.texi:3669 +#: doc/guix.texi:4132 msgid "clone the Git version control repository, and check out the revision specified in the @code{uri} field as a @code{git-reference} object; a @code{git-reference} looks like this:" msgstr "clone le dépôt sous contrôle de version Git et récupère la révision spécifiée dans le champ @code{uri} en tant qu'objet @code{git-reference} ; un objet @code{git-reference} ressemble à cela :" #. type: example -#: doc/guix.texi:3674 +#: doc/guix.texi:4137 #, no-wrap msgid "" "(git-reference\n" @@ -7760,1208 +8630,1304 @@ msgstr "" " (commit \"v4.1.5.1\"))\n" #. type: code{#1} -#: doc/guix.texi:3677 +#: doc/guix.texi:4140 #, no-wrap msgid "sha256" msgstr "sha256" #. type: table -#: doc/guix.texi:3681 +#: doc/guix.texi:4144 msgid "A bytevector containing the SHA-256 hash of the source. Typically the @code{base32} form is used here to generate the bytevector from a base-32 string." msgstr "Un bytevector contenant le hash SHA-256 de la source. Typiquement la forme @code{base32} est utilisée ici pour générer le bytevector depuis une chaîne de caractères en base-32." #. type: table -#: doc/guix.texi:3685 +#: doc/guix.texi:4148 msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})." msgstr "Vous pouvez obtenir cette information avec @code{guix download} (@pxref{Invoking guix download}) ou @code{guix hash} (@pxref{Invoking guix hash})." #. type: item -#: doc/guix.texi:3686 +#: doc/guix.texi:4149 #, no-wrap msgid "@code{file-name} (default: @code{#f})" msgstr "@code{file-name} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:3692 +#: doc/guix.texi:4155 msgid "The file name under which the source code should be saved. When this is @code{#f}, a sensible default value will be used in most cases. In case the source is fetched from a URL, the file name from the URL will be used. For version control checkouts, it is recommended to provide the file name explicitly because the default is not very descriptive." msgstr "Le nom de fichier à utiliser pour sauvegarder le fichier. Lorsqu'elle est à @code{#f}, une valeur par défaut raisonnable est utilisée dans la plupart des cas. Dans le cas où la source est récupérée depuis une URL, le nom de fichier est celui de l'URL. Pour les sources récupérées depuis un outil de contrôle de version, il est recommandé de fournir un nom de fichier explicitement parce que le nom par défaut n'est pas très descriptif." #. type: item -#: doc/guix.texi:3693 +#: doc/guix.texi:4156 #, no-wrap msgid "@code{patches} (default: @code{'()})" msgstr "@code{patches} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:3696 +#: doc/guix.texi:4159 msgid "A list of file names, origins, or file-like objects (@pxref{G-Expressions, file-like objects}) pointing to patches to be applied to the source." msgstr "Une liste de noms de fichiers, d'origines ou d'objets simili-fichiers (@pxref{G-Expressions, file-like objects}) qui pointent vers des correctifs à appliquer sur la source." #. type: table -#: doc/guix.texi:3700 +#: doc/guix.texi:4163 msgid "This list of patches must be unconditional. In particular, it cannot depend on the value of @code{%current-system} or @code{%current-target-system}." msgstr "Cette liste de correctifs doit être inconditionnelle. En particulier, elle ne peut pas dépendre des valeurs de @code{%current-system} ou @code{%current-target-system}." #. type: item -#: doc/guix.texi:3701 +#: doc/guix.texi:4164 #, no-wrap msgid "@code{snippet} (default: @code{#f})" msgstr "@code{snippet} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:3705 +#: doc/guix.texi:4168 msgid "A G-expression (@pxref{G-Expressions}) or S-expression that will be run in the source directory. This is a convenient way to modify the source, sometimes more convenient than a patch." msgstr "Une G-expression (@pxref{G-Expressions}) ou une S-expression qui sera lancée dans le répertoire des sources. C'est une manière pratique de modifier la source, parfois plus qu'un correctif." #. type: item -#: doc/guix.texi:3706 +#: doc/guix.texi:4169 #, no-wrap msgid "@code{patch-flags} (default: @code{'(\"-p1\")})" msgstr "@code{patch-flags} (par défaut : @code{'(\"-p1\")})" #. type: table -#: doc/guix.texi:3709 +#: doc/guix.texi:4172 msgid "A list of command-line flags that should be passed to the @code{patch} command." msgstr "Une liste de drapeaux à passer à la commande @code{patch}." #. type: item -#: doc/guix.texi:3710 +#: doc/guix.texi:4173 #, no-wrap msgid "@code{patch-inputs} (default: @code{#f})" msgstr "@code{patch-inputs} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:3714 +#: doc/guix.texi:4177 msgid "Input packages or derivations to the patching process. When this is @code{#f}, the usual set of inputs necessary for patching are provided, such as GNU@tie{}Patch." msgstr "Paquets d'entrées ou dérivations pour le processus de correction. Lorsqu'elle est à @code{#f}, l'ensemble d'entrées habituellement nécessaire pour appliquer des correctifs est fournit, comme GNU@tie{}Patch." #. type: item -#: doc/guix.texi:3715 +#: doc/guix.texi:4178 #, no-wrap msgid "@code{modules} (default: @code{'()})" msgstr "@code{modules} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:3718 +#: doc/guix.texi:4181 msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field." msgstr "Une liste de modules Guile qui devraient être chargés pendant le processus de correction et pendant que le lancement du code du champ @code{snippet}." #. type: item -#: doc/guix.texi:3719 +#: doc/guix.texi:4182 #, no-wrap msgid "@code{patch-guile} (default: @code{#f})" msgstr "@code{patch-guile} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:3722 +#: doc/guix.texi:4185 msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used." msgstr "Le paquet Guile à utiliser dans le processus de correction. Lorsqu'elle est à @code{#f}, une valeur par défaut raisonnable est utilisée." #. type: cindex -#: doc/guix.texi:3729 +#: doc/guix.texi:4192 #, no-wrap msgid "build system" msgstr "système de construction" #. type: Plain text -#: doc/guix.texi:3734 +#: doc/guix.texi:4197 msgid "Each package definition specifies a @dfn{build system} and arguments for that build system (@pxref{Defining Packages}). This @code{build-system} field represents the build procedure of the package, as well as implicit dependencies of that build procedure." msgstr "Chaque définition de paquet définie un @dfn{système de construction} et des arguments pour ce système de construction (@pxref{Defining Packages}). Ce champ @code{build-system} représente la procédure de construction du paquet, ainsi que des dépendances implicites pour cette procédure de construction." #. type: Plain text -#: doc/guix.texi:3738 +#: doc/guix.texi:4201 msgid "Build systems are @code{} objects. The interface to create and manipulate them is provided by the @code{(guix build-system)} module, and actual build systems are exported by specific modules." msgstr "Les systèmes de construction sont des objets @code{}. L'interface pour les créer et les manipuler est fournie par le module @code{(guix build-system)} et les systèmes de construction eux-mêmes sont exportés par des modules spécifiques." #. type: cindex -#: doc/guix.texi:3739 +#: doc/guix.texi:4202 #, no-wrap msgid "bag (low-level package representation)" msgstr "sac (représentation à bas-niveau des paquets)" #. type: Plain text -#: doc/guix.texi:3746 +#: doc/guix.texi:4209 msgid "Under the hood, build systems first compile package objects to @dfn{bags}. A @dfn{bag} is like a package, but with less ornamentation---in other words, a bag is a lower-level representation of a package, which includes all the inputs of that package, including some that were implicitly added by the build system. This intermediate representation is then compiled to a derivation (@pxref{Derivations})." msgstr "Sous le capot, les systèmes de construction compilent d'abord des objets paquets en @dfn{sacs}. Un @dfn{sac} est comme un paquet, mais avec moins de décoration — en d'autres mots, un sac est une représentation à bas-niveau d'un paquet, qui inclus toutes les entrées de ce paquet, dont certaines ont été implicitement ajoutées par le système de construction. Cette représentation intermédiaire est ensuite compilée en une dérivation (@pxref{Derivations})." #. type: Plain text -#: doc/guix.texi:3754 +#: doc/guix.texi:4217 msgid "Build systems accept an optional list of @dfn{arguments}. In package definitions, these are passed @i{via} the @code{arguments} field (@pxref{Defining Packages}). They are typically keyword arguments (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). The value of these arguments is usually evaluated in the @dfn{build stratum}---i.e., by a Guile process launched by the daemon (@pxref{Derivations})." msgstr "Les systèmes de construction acceptent une liste d'@dfn{arguments} facultatifs. Dans les définitions de paquets, ils sont passés @i{via} le champ @code{arguments} (@pxref{Defining Packages}). Ce sont typiquement des arguments par mot-clef (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). La valeur de ces arguments est habituellement évaluée dans la @dfn{strate de construction} — c.-à-d.@: par un processus Guile lancé par le démon (@pxref{Derivations})." #. type: Plain text -#: doc/guix.texi:3758 +#: doc/guix.texi:4221 msgid "The main build system is @var{gnu-build-system}, which implements the standard build procedure for GNU and many other packages. It is provided by the @code{(guix build-system gnu)} module." msgstr "Le système de construction principal est le @var{gnu-build-system} qui implémente les procédures de construction standard pour les paquets GNU et de nombreux autres. Il est fournit par le module @code{(guix build-system gnu)}." #. type: defvr -#: doc/guix.texi:3759 +#: doc/guix.texi:4222 #, no-wrap msgid "{Scheme Variable} gnu-build-system" msgstr "{Variable Scheme} gnu-build-system" #. type: defvr -#: doc/guix.texi:3763 +#: doc/guix.texi:4226 msgid "@var{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})." msgstr "@var{gnu-build-system} représente le système de construction GNU et ses variantes (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})." #. type: cindex -#: doc/guix.texi:3764 +#: doc/guix.texi:4227 #, no-wrap msgid "build phases" msgstr "phases de construction" #. type: defvr -#: doc/guix.texi:3771 +#: doc/guix.texi:4234 msgid "In a nutshell, packages using it are configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence. In practice, a few additional steps are often needed. All these steps are split up in separate @dfn{phases}, notably@footnote{Please see the @code{(guix build gnu-build-system)} modules for more details about the build phases.}:" msgstr "En résumé, les paquets qui l'utilisent sont configurés, construits et installés avec la séquence @code{./configure && make && make check && make install} habituelle. En pratique, des étapes supplémentaires sont souvent requises. Toutes ces étapes sont séparées dans des @dfn{phases} différentes, notamment@footnote{Regardez les modules @code{(guix build gnu-build-system)} pour plus de détails sur les phases de construction.}:" #. type: item -#: doc/guix.texi:3773 +#: doc/guix.texi:4236 #, no-wrap msgid "unpack" msgstr "unpack" #. type: table -#: doc/guix.texi:3777 +#: doc/guix.texi:4240 msgid "Unpack the source tarball, and change the current directory to the extracted source tree. If the source is actually a directory, copy it to the build tree, and enter that directory." msgstr "Décompresse l'archive des sources et se déplace dans l'arborescence des sources fraîchement extraites. Si la source est en fait un répertoire, le copie dans l'arborescence de construction et entre dans ce répertoire." #. type: item -#: doc/guix.texi:3778 +#: doc/guix.texi:4241 #, no-wrap msgid "patch-source-shebangs" msgstr "patch-source-shebangs" #. type: table -#: doc/guix.texi:3782 +#: doc/guix.texi:4245 msgid "Patch shebangs encountered in source files so they refer to the right store file names. For instance, this changes @code{#!/bin/sh} to @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}." msgstr "Corrige les shebangs (@code{#!}) rencontrés dans les fichiers pour qu'ils se réfèrent aux bons noms de fichiers. Par exemple, elle change @code{#!/bin/sh} en @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}." #. type: item -#: doc/guix.texi:3783 doc/guix.texi:4268 +#: doc/guix.texi:4246 doc/guix.texi:4803 #, no-wrap msgid "configure" msgstr "configure" #. type: table -#: doc/guix.texi:3787 +#: doc/guix.texi:4250 msgid "Run the @file{configure} script with a number of default options, such as @code{--prefix=/gnu/store/@dots{}}, as well as the options specified by the @code{#:configure-flags} argument." msgstr "Lance le script @code{configure} avec un certain nombre d'options par défaut, comme @code{--prefix=/gnu/store/@dots{}}, ainsi que les options spécifiées par l'argument @code{#:configure-flags}." #. type: item -#: doc/guix.texi:3788 doc/guix.texi:4273 doc/guix.texi:20921 +#: doc/guix.texi:4251 doc/guix.texi:4440 doc/guix.texi:4808 +#: doc/guix.texi:22379 #, no-wrap msgid "build" msgstr "build" #. type: table -#: doc/guix.texi:3792 +#: doc/guix.texi:4255 msgid "Run @code{make} with the list of flags specified with @code{#:make-flags}. If the @code{#:parallel-build?} argument is true (the default), build with @code{make -j}." msgstr "Lance @code{make} avec la liste des drapeaux spécifiés avec @code{#:make-flags}. Si l'argument @code{#:parallel-build?} est vrai (par défaut), construit avec @code{make -j}." #. type: item -#: doc/guix.texi:3793 doc/guix.texi:4277 +#: doc/guix.texi:4256 doc/guix.texi:4450 doc/guix.texi:4812 #, no-wrap msgid "check" msgstr "check" #. type: table -#: doc/guix.texi:3798 +#: doc/guix.texi:4261 msgid "Run @code{make check}, or some other target specified with @code{#:test-target}, unless @code{#:tests? #f} is passed. If the @code{#:parallel-tests?} argument is true (the default), run @code{make check -j}." msgstr "Lance @code{make check}, ou une autre cible spécifiée par @code{#:test-target}, à moins que @code{#:tests? #f} ne soit passé. Si l'argument @code{#:parallel-tests?} est vrai (par défaut), lance @code{make check -j}." #. type: item -#: doc/guix.texi:3799 doc/guix.texi:4281 +#: doc/guix.texi:4262 doc/guix.texi:4458 doc/guix.texi:4816 #, no-wrap msgid "install" msgstr "install" #. type: table -#: doc/guix.texi:3801 +#: doc/guix.texi:4264 msgid "Run @code{make install} with the flags listed in @code{#:make-flags}." msgstr "Lance @code{make install} avec les drapeaux listés dans @code{#:make-flags}." #. type: item -#: doc/guix.texi:3802 +#: doc/guix.texi:4265 #, no-wrap msgid "patch-shebangs" msgstr "patch-shebangs" #. type: table -#: doc/guix.texi:3804 +#: doc/guix.texi:4267 msgid "Patch shebangs on the installed executable files." msgstr "Corrige les shebangs des fichiers exécutables installés." #. type: item -#: doc/guix.texi:3805 +#: doc/guix.texi:4268 #, no-wrap msgid "strip" msgstr "strip" #. type: table -#: doc/guix.texi:3809 +#: doc/guix.texi:4272 msgid "Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is false), copying them to the @code{debug} output when available (@pxref{Installing Debugging Files})." msgstr "Nettoie les symboles de débogage dans les fichiers ELF (à moins que @code{#:strip-binaries?} ne soit faux), les copie dans la sortie @code{debug} lorsqu'elle est disponible (@pxref{Installing Debugging Files})." #. type: vindex -#: doc/guix.texi:3811 +#: doc/guix.texi:4274 #, no-wrap msgid "%standard-phases" msgstr "%standard-phases" #. type: defvr -#: doc/guix.texi:3816 +#: doc/guix.texi:4279 msgid "The build-side module @code{(guix build gnu-build-system)} defines @var{%standard-phases} as the default list of build phases. @var{%standard-phases} is a list of symbol/procedure pairs, where the procedure implements the actual phase." msgstr "Le module du côté du constructeur @code{(guix build gnu-build-system)} définie @var{%standard-phases} comme la liste par défaut des phases de construction. @var{%standard-phases} est une liste de paires de symboles et de procédures, où la procédure implémente la phase en question." #. type: defvr -#: doc/guix.texi:3819 +#: doc/guix.texi:4282 msgid "The list of phases used for a particular package can be changed with the @code{#:phases} parameter. For instance, passing:" msgstr "La liste des phases utilisées par un paquet particulier peut être modifiée avec le paramètre @code{#:phases}. Par exemple, en passant :" #. type: example -#: doc/guix.texi:3822 +#: doc/guix.texi:4285 #, no-wrap msgid "#:phases (modify-phases %standard-phases (delete 'configure))\n" msgstr "#:phases (modify-phases %standard-phases (delete 'configure))\n" #. type: defvr -#: doc/guix.texi:3826 +#: doc/guix.texi:4289 msgid "means that all the phases described above will be used, except the @code{configure} phase." msgstr "signifie que toutes les procédures décrites plus haut seront utilisées, sauf la phase @code{configure}." #. type: defvr -#: doc/guix.texi:3833 +#: doc/guix.texi:4296 msgid "In addition, this build system ensures that the ``standard'' environment for GNU packages is available. This includes tools such as GCC, libc, Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix build-system gnu)} module for a complete list). We call these the @dfn{implicit inputs} of a package, because package definitions do not have to mention them." msgstr "En plus, ce système de construction s'assure que l'environnement « standard » pour les paquets GNU est disponible. Cela inclus des outils comme GCC, libc, Coreutils, Bash, Make, Diffutils, grep et sed (voir le module @code{(guix build-system gnu)} pour une liste complète). Nous les appelons les @dfn{entrées implicites} d'un paquet parce que la définition du paquet ne les mentionne pas." #. type: Plain text -#: doc/guix.texi:3840 +#: doc/guix.texi:4303 msgid "Other @code{} objects are defined to support other conventions and tools used by free software packages. They inherit most of @var{gnu-build-system}, and differ mainly in the set of inputs implicitly added to the build process, and in the list of phases executed. Some of these build systems are listed below." msgstr "D'autres objets @code{} sont définis pour supporter d'autres conventions et outils utilisés par les paquets de logiciels libres. Ils héritent de la plupart de @var{gnu-build-system} et diffèrent surtout dans l'ensemble des entrées implicites ajoutées au processus de construction et dans la liste des phases exécutées. Certains de ces systèmes de construction sont listés ci-dessous." #. type: defvr -#: doc/guix.texi:3841 +#: doc/guix.texi:4304 #, no-wrap msgid "{Scheme Variable} ant-build-system" msgstr "{Variable Scheme} ant-build-system" #. type: defvr -#: doc/guix.texi:3845 +#: doc/guix.texi:4308 msgid "This variable is exported by @code{(guix build-system ant)}. It implements the build procedure for Java packages that can be built with @url{http://ant.apache.org/, Ant build tool}." msgstr "Cette variable est exportée par @code{(guix build-system ant)}. Elle implémente la procédure de construction pour les paquets Java qui peuvent être construits avec @url{http://ant.apache.org/, l'outil de construction Ant}." #. type: defvr -#: doc/guix.texi:3850 +#: doc/guix.texi:4313 msgid "It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided by the @code{icedtea} package to the set of inputs. Different packages can be specified with the @code{#:ant} and @code{#:jdk} parameters, respectively." msgstr "Elle ajoute à la fois @code{ant} et the @dfn{kit de développement Java} (JDK) fournit par le paquet @code{icedtea} à l'ensemble des entrées. Des paquets différents peuvent être spécifiés avec les paramètres @code{#:ant} et @code{#:jdk} respectivement." #. type: defvr -#: doc/guix.texi:3856 +#: doc/guix.texi:4319 msgid "When the original package does not provide a suitable Ant build file, the parameter @code{#:jar-name} can be used to generate a minimal Ant build file @file{build.xml} with tasks to build the specified jar archive. In this case the parameter @code{#:source-dir} can be used to specify the source sub-directory, defaulting to ``src''." msgstr "Lorsque le paquet d'origine ne fournit pas de fichier de construction Ant acceptable, le paramètre @code{#:jar-name} peut être utilisé pour générer un fichier de construction Ant @file{build.xml} minimal, avec des tâches pour construire l'archive jar spécifiée. Dans ce cas, le paramètre @code{#:source-dir} peut être utilisé pour spécifier le sous-répertoire des sources, par défaut « src »." #. type: defvr -#: doc/guix.texi:3864 +#: doc/guix.texi:4327 msgid "The @code{#:main-class} parameter can be used with the minimal ant buildfile to specify the main class of the resulting jar. This makes the jar file executable. The @code{#:test-include} parameter can be used to specify the list of junit tests to run. It defaults to @code{(list \"**/*Test.java\")}. The @code{#:test-exclude} can be used to disable some tests. It defaults to @code{(list \"**/Abstract*.java\")}, because abstract classes cannot be run as tests." msgstr "Le paramètre @code{#:main-class} peut être utilisé avec le fichier de construction minimal pour spécifier la classe principale du jar. Cela rend le fichier jar exécutable. Le paramètre @code{#:test-include} peut être utilisé pour spécifier la liste des tests junit à lancer. Il vaut par défaut @code{(list \"**/*Test.java\")}. Le paramètre @code{#:test-exclude} peut être utilisé pour désactiver certains tests. Sa valeur par défaut est @code{(list \"**/Abstract*.java\")}, parce que les classes abstraites ne peuvent pas être utilisées comme des tests." #. type: defvr -#: doc/guix.texi:3868 +#: doc/guix.texi:4331 msgid "The parameter @code{#:build-target} can be used to specify the Ant task that should be run during the @code{build} phase. By default the ``jar'' task will be run." msgstr "Le paramètre @code{#:build-target} peut être utilisé pour spécifier la tâche Ant qui devrait être lancée pendant la phase @code{build}. Par défaut la tâche « jar » sera lancée." #. type: defvr -#: doc/guix.texi:3871 +#: doc/guix.texi:4334 #, no-wrap msgid "{Scheme Variable} android-ndk-build-system" msgstr "{Variable Scheme} android-ndk-build-system" #. type: cindex -#: doc/guix.texi:3872 +#: doc/guix.texi:4335 #, no-wrap msgid "Android distribution" msgstr "Distribution android" #. type: cindex -#: doc/guix.texi:3873 +#: doc/guix.texi:4336 #, no-wrap msgid "Android NDK build system" msgstr "système de construction Android NDK" #. type: defvr -#: doc/guix.texi:3877 +#: doc/guix.texi:4340 msgid "This variable is exported by @code{(guix build-system android-ndk)}. It implements a build procedure for Android NDK (native development kit) packages using a Guix-specific build process." msgstr "Cette variable est exportée par @code{(guix build-system android-ndk)}. Elle implémente une procédure de construction pour les paquets du NDK Android (@i{native development kit}) avec des processus de construction spécifiques à Guix." #. type: defvr -#: doc/guix.texi:3881 +#: doc/guix.texi:4344 msgid "The build system assumes that packages install their public interface (header) files to the subdirectory \"include\" of the \"out\" output and their libraries to the subdirectory \"lib\" of the \"out\" output." msgstr "Le système de construction suppose que les paquets installent leur interface publique (les en-têtes) dans un sous-répertoire de « include » de la sortie « out » et leurs bibliothèques dans le sous-répertoire « lib » de la sortie « out »." #. type: defvr -#: doc/guix.texi:3884 +#: doc/guix.texi:4347 msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files." msgstr "Il est aussi supposé que l'union de toutes les dépendances d'un paquet n'a pas de fichiers en conflit." #. type: defvr -#: doc/guix.texi:3887 +#: doc/guix.texi:4350 msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools." msgstr "Pour l'instant, la compilation croisée n'est pas supportées — donc pour l'instant les bibliothèques et les fichiers d'en-têtes sont supposés être des outils de l'hôte." #. type: defvr -#: doc/guix.texi:3890 +#: doc/guix.texi:4353 #, no-wrap msgid "{Scheme Variable} asdf-build-system/source" msgstr "{Variable Scheme} asdf-build-system/source" #. type: defvrx -#: doc/guix.texi:3891 +#: doc/guix.texi:4354 #, no-wrap msgid "{Scheme Variable} asdf-build-system/sbcl" msgstr "{Variable Scheme} asdf-build-system/sbcl" #. type: defvrx -#: doc/guix.texi:3892 +#: doc/guix.texi:4355 #, no-wrap msgid "{Scheme Variable} asdf-build-system/ecl" msgstr "{Variable Scheme} asdf-build-system/ecl" #. type: defvr -#: doc/guix.texi:3898 +#: doc/guix.texi:4361 msgid "These variables, exported by @code{(guix build-system asdf)}, implement build procedures for Common Lisp packages using @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system definition facility for Common Lisp programs and libraries." msgstr "Ces variables, exportées par @code{(guix build-system asdf)}, implémentent les procédures de constructions pour les paquets en Common Lisp qui utilisent @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF est un dispositif de définition de systèmes pour les programmes et les bibliothèques en Common Lisp." #. type: defvr -#: doc/guix.texi:3905 +#: doc/guix.texi:4368 msgid "The @code{asdf-build-system/source} system installs the packages in source form, and can be loaded using any common lisp implementation, via ASDF. The others, such as @code{asdf-build-system/sbcl}, install binary systems in the format which a particular implementation understands. These build systems can also be used to produce executable programs, or lisp images which contain a set of packages pre-loaded." msgstr "Le système @code{asdf-build-system/source} installe les paquets au format source qui peuvent être chargés avec n'importe quelle implémentation de common lisp, via ASDF. Les autres, comme @code{asdf-build-system/sbcl}, installent des binaires au format qu'un implémentation particulière comprend. Ces systèmes de constructions peuvent aussi être utilisés pour produire des programmes exécutables ou des images lisp qui contiennent un ensemble de paquets pré-chargés." #. type: defvr -#: doc/guix.texi:3909 +#: doc/guix.texi:4372 msgid "The build system uses naming conventions. For binary packages, the package name should be prefixed with the lisp implementation, such as @code{sbcl-} for @code{asdf-build-system/sbcl}." msgstr "Le système de construction utilise des conventions de nommage. Pour les paquets binaires, le nom du paquet devrait être préfixé par l'implémentation lisp, comme @code{sbcl-} pour @code{asdf-build-system/sbcl}." #. type: defvr -#: doc/guix.texi:3913 +#: doc/guix.texi:4376 msgid "Additionally, the corresponding source package should be labeled using the same convention as python packages (see @ref{Python Modules}), using the @code{cl-} prefix." msgstr "En plus, le paquet source correspondant devrait étiquetté avec la même convention que les paquets python (voir @ref{Python Modules}), avec le préfixe @code{cl-}." #. type: defvr -#: doc/guix.texi:3918 +#: doc/guix.texi:4381 msgid "For binary packages, each system should be defined as a Guix package. If one package @code{origin} contains several systems, package variants can be created in order to build all the systems. Source packages, which use @code{asdf-build-system/source}, may contain several systems." msgstr "Pour les paquets binaires, chaque système devrait être défini comme un paquet Guix. Si un paquet @code{origine} contient plusieurs systèmes, on peut créer des variantes du paquet pour construire tous les systèmes. Les paquets sources, qui utilisent @code{asdf-build-system/source}, peuvent contenir plusieurs systèmes." #. type: defvr -#: doc/guix.texi:3925 +#: doc/guix.texi:4388 msgid "In order to create executable programs and images, the build-side procedures @code{build-program} and @code{build-image} can be used. They should be called in a build phase after the @code{create-symlinks} phase, so that the system which was just built can be used within the resulting image. @code{build-program} requires a list of Common Lisp expressions to be passed as the @code{#:entry-program} argument." msgstr "Pour créer des programmes exécutables et des images, les procédures côté construction @code{build-program} et @code{build-image} peuvent être utilisées. Elles devraient être appelées dans une phase de construction après la phase @code{create-symlinks} pour que le système qui vient d'être construit puisse être utilisé dans l'image créée. @code{build-program} requiert une liste d'expressions Common Lisp dans l'argument @code{#:entry-program}." #. type: defvr -#: doc/guix.texi:3934 +#: doc/guix.texi:4397 msgid "If the system is not defined within its own @code{.asd} file of the same name, then the @code{#:asd-file} parameter should be used to specify which file the system is defined in. Furthermore, if the package defines a system for its tests in a separate file, it will be loaded before the tests are run if it is specified by the @code{#:test-asd-file} parameter. If it is not set, the files @code{-tests.asd}, @code{-test.asd}, @code{tests.asd}, and @code{test.asd} will be tried if they exist." msgstr "Si le système n'est pas défini dans son propre fichier @code{.asd} du même nom, alors le paramètre @code{#:asd-file} devrait être utilisé pour spécifier dans quel fichier le système est défini. De plus, si le paquet défini un système pour ses tests dans un fichier séparé, il sera chargé avant que les tests ne soient lancés s'il est spécifié par le paramètre @code{#:test-asd-file}. S'il n'est pas spécifié, les fichiers @code{-tests.asd}, @code{-test.asd}, @code{tests.asd} et @code{test.asd} seront testés." #. type: defvr -#: doc/guix.texi:3938 +#: doc/guix.texi:4401 msgid "If for some reason the package must be named in a different way than the naming conventions suggest, the @code{#:asd-system-name} parameter can be used to specify the name of the system." msgstr "Si pour quelque raison que ce soit le paquet doit être nommé d'une manière différente de ce que la convention de nommage suggère, le paramètre @code{#:asd-system-name} peut être utilisé pour spécifier le nom du système." #. type: defvr -#: doc/guix.texi:3941 +#: doc/guix.texi:4404 #, no-wrap msgid "{Scheme Variable} cargo-build-system" msgstr "{Variable Scheme} cargo-build-system" #. type: cindex -#: doc/guix.texi:3942 +#: doc/guix.texi:4405 #, no-wrap msgid "Rust programming language" msgstr "Langage de programmation Rust" #. type: cindex -#: doc/guix.texi:3943 +#: doc/guix.texi:4406 #, no-wrap msgid "Cargo (Rust build system)" msgstr "Cargo (système de construction Rust)" #. type: defvr -#: doc/guix.texi:3947 +#: doc/guix.texi:4410 msgid "This variable is exported by @code{(guix build-system cargo)}. It supports builds of packages using Cargo, the build tool of the @uref{https://www.rust-lang.org, Rust programming language}." msgstr "Cette variable est exportée par @code{(guix build-system cargo)}. Elle supporte les construction de paquets avec Cargo, le système de construction du @uref{https://www.rust-lang.org, langage de programmation Rust}." #. type: defvr -#: doc/guix.texi:3952 +#: doc/guix.texi:4415 msgid "In its @code{configure} phase, this build system replaces dependencies specified in the @file{Carto.toml} file with inputs to the Guix package. The @code{install} phase installs the binaries, and it also installs the source code and @file{Cargo.toml} file." msgstr "Dans sa phase @code{configure}, ce système de construction remplace les dépendances spécifiées dans le fichier @file{Cargo.toml} par des paquets Guix. La phase @code{install} installe les binaires et installe aussi le code source et le fichier @file{Cargo.toml}." +#. type: cindex +#: doc/guix.texi:4417 +#, no-wrap +msgid "Clojure (programming language)" +msgstr "Clojure (langage de programmation)" + +#. type: cindex +#: doc/guix.texi:4418 +#, no-wrap +msgid "simple Clojure build system" +msgstr "système de construction Clojure simple" + #. type: defvr -#: doc/guix.texi:3954 +#: doc/guix.texi:4419 +#, no-wrap +msgid "{Scheme Variable} clojure-build-system" +msgstr "{Variable Scheme} clojure-build-system" + +#. type: defvr +#: doc/guix.texi:4424 +msgid "This variable is exported by @code{(guix build-system clojure)}. It implements a simple build procedure for @uref{https://clojure.org/, Clojure} packages using plain old @code{compile} in Clojure. Cross-compilation is not supported yet." +msgstr "Cette variable est exportée par @code{(guix build-system clojure)}. Elle implémente une procédure de construction des paquets simple qui utilise le bon vieux @code{compile} de Clojure. La compilation croisée n'est pas encore supportée." + +#. type: defvr +#: doc/guix.texi:4428 +msgid "It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. Different packages can be specified with the @code{#:clojure}, @code{#:jdk} and @code{#:zip} parameters, respectively." +msgstr "Elle ajoute @code{clojure}, @code{icedtea} et @code{zip} à l'ensemble des entrées. Des paquets différents peuvent être spécifiés avec les paramètres @code{#:clojure}, @code{#:jdk} et @code{#:zip}." + +#. type: defvr +#: doc/guix.texi:4434 +msgid "A list of source directories, test directories and jar names can be specified with the @code{#:source-dirs}, @code{#:test-dirs} and @code{#:jar-names} parameters, respectively. Compile directory and main class can be specified with the @code{#:compile-dir} and @code{#:main-class} parameters, respectively. Other parameters are documented below." +msgstr "Une liste de répertoires sources, de répertoires de tests et de noms de jar peuvent être spécifiés avec les paramètres @code{#:source-dirs}, @code{#:test-dirs} et @code{#:jar-names}. Le répertoire de construction est la classe principale peuvent être spécifiés avec les paramètres @code{#:compile-dir} et @code{#:main-class}. Les autres paramètres sont documentés plus bas." + +#. type: defvr +#: doc/guix.texi:4437 +msgid "This build system is an extension of @var{ant-build-system}, but with the following phases changed:" +msgstr "Ce système de construction est une extension de @var{ant-build-system}, mais avec les phases suivantes modifiées :" + +#. type: table +#: doc/guix.texi:4449 +msgid "This phase calls @code{compile} in Clojure to compile source files and runs @command{jar} to create jars from both source files and compiled files according to the include list and exclude list specified in @code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude list has priority over the include list. These lists consist of symbols representing Clojure libraries or the special keyword @code{#:all} representing all Clojure libraries found under the source directories. The parameter @code{#:omit-source?} decides if source should be included into the jars." +msgstr "Cette phase appelle @code{compile} en Clojure pour compiler les fichiers sources et lance @command{jar} pour créer les fichiers jar à partir des fichiers sources et des fichiers compilés en suivant la liste d'inclusion et d'exclusion spécifiées dans @code{#:aot-include} et @code{#:aot-exclude}. La liste d'exclusion a la priorité sur la liste d'inclusion. Ces listes consistent en des symboles représentant des bibliothèque Clojure ou le mot clef spécial @code{#:all}, représentant toutes les bibliothèques Clojure trouvées dans les répertoires des sources. Le paramètre @code{#:omit-source?} décide si les sources devraient être incluses dans les fichiers jar." + +#. type: table +#: doc/guix.texi:4457 +msgid "This phase runs tests according to the include list and exclude list specified in @code{#:test-include} and @code{#:test-exclude}, respectively. Their meanings are analogous to that of @code{#:aot-include} and @code{#:aot-exclude}, except that the special keyword @code{#:all} now stands for all Clojure libraries found under the test directories. The parameter @code{#:tests?} decides if tests should be run." +msgstr "Cette phase lance les tests en suivant les liste d'inclusion et d'exclusion spécifiées dans @code{#:test-include} et @code{#:test-exclude}. Leur signification est analogue à celle de @code{#:aot-include} et @code{#:aot-exclude}, sauf que le mot-clef spécial @code{#:all} signifie maintenant toutes les bibliothèques Clojure trouvées dans les répertoires de tests. Le paramètre @code{#:tests?} décide si les tests devraient être lancés." + +#. type: table +#: doc/guix.texi:4460 +msgid "This phase installs all jars built previously." +msgstr "Cette phase installe tous les fichiers jar précédemment construits." + +#. type: defvr +#: doc/guix.texi:4463 +msgid "Apart from the above, this build system also contains an additional phase:" +msgstr "En dehors de cela, le système de construction contient aussi la phase suivante :" + +#. type: item +#: doc/guix.texi:4466 +#, no-wrap +msgid "install-doc" +msgstr "install-doc" + +#. type: table +#: doc/guix.texi:4471 +msgid "This phase installs all top-level files with base name matching @var{%doc-regex}. A different regex can be specified with the @code{#:doc-regex} parameter. All files (recursively) inside the documentation directories specified in @code{#:doc-dirs} are installed as well." +msgstr "Cette phase installe tous les fichiers dans le répertoire de plus haut niveau dont le nom correspond à @var{%doc-regex}. On peut spécifier une regex différente avec le paramètre @code{#:doc-regex}. Tous les fichiers (récursivement) dans les répertoires de documentations spécifiés dans @code{#:doc-dirs} sont aussi installés." + +#. type: defvr +#: doc/guix.texi:4474 #, no-wrap msgid "{Scheme Variable} cmake-build-system" msgstr "{Variable Scheme} cmake-build-system" #. type: defvr -#: doc/guix.texi:3958 +#: doc/guix.texi:4478 msgid "This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @url{http://www.cmake.org, CMake build tool}." -msgstr "Cette variable est exportée par @code{(guix build-system cmake)}. Elle implémente la procédure de construction des paquets qui utilisent l'@url{http://www.cmake.org, outils de construction CMake}." +msgstr "Cette variable est exportée par @code{(guix build-system cmake)}. Elle implémente la procédure de construction des paquets qui utilisent l'@url{http://www.cmake.org, outil de construction CMake}." #. type: defvr -#: doc/guix.texi:3962 +#: doc/guix.texi:4482 msgid "It automatically adds the @code{cmake} package to the set of inputs. Which package is used can be specified with the @code{#:cmake} parameter." msgstr "Elle ajoute automatiquement le paquet @code{cmake} à l'ensemble des entrées. Le paquet utilisé peut être spécifié par le paramètre @code{#:cmake}." #. type: defvr -#: doc/guix.texi:3969 +#: doc/guix.texi:4489 msgid "The @code{#:configure-flags} parameter is taken as a list of flags passed to the @command{cmake} command. The @code{#:build-type} parameter specifies in abstract terms the flags passed to the compiler; it defaults to @code{\"RelWithDebInfo\"} (short for ``release mode with debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default." msgstr "Le paramètre @code{#:configure-flags} est pris comme une liste de drapeaux à passer à la commande @command{cmake}. Le paramètre @code{#:build-type} spécifie en termes abstrait les drapeaux passés au compilateur ; sa valeur par défaut est @code{\"RelWithDebInfo\"} (ce qui veut dire « mode public avec les informations de débogage » en plus court), ce qui signifie en gros que le code sera compilé avec @code{-O2 -g} comme pour les paquets autoconf par défaut." #. type: defvr -#: doc/guix.texi:3971 +#: doc/guix.texi:4491 #, no-wrap msgid "{Scheme Variable} go-build-system" msgstr "{Variable Scheme} go-build-system" #. type: defvr -#: doc/guix.texi:3976 +#: doc/guix.texi:4496 msgid "This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go build mechanisms}." msgstr "Cette variable est exportée par @code{(guix build-system go)}. Elle implémente la procédure pour les paquets Go utilisant les @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, mécanismes de construction Go} standard." #. type: defvr -#: doc/guix.texi:3987 +#: doc/guix.texi:4507 msgid "The user is expected to provide a value for the key @code{#:import-path} and, in some cases, @code{#:unpack-path}. The @url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds to the file system path expected by the package's build scripts and any referring packages, and provides a unique way to refer to a Go package. It is typically based on a combination of the package source code's remote URI and file system hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases." msgstr "L'utilisateur doit fournir une valeur à la clef @code{#:import-path} et, dans certains cas, @code{#:unpack-path}. Le @url{https://golang.org/doc/code.html#ImportPaths, chemin d'import} correspond au chemin dans le système de fichiers attendu par le script de construction du paquet et les paquets qui s'y réfèrent et fournit une manière unique de se référer à un paquet Go. Il est typiquement basé sur une combinaison de l'URI du code source du paquet et d'une structure hiérarchique du système de fichier. Dans certains cas, vous devrez extraire le code source du paquet dans une structure de répertoires différente que celle indiquée par le chemin d'import et @code{#:unpack-path} devrait être utilisé dans ces cas-là." #. type: defvr -#: doc/guix.texi:3992 +#: doc/guix.texi:4512 msgid "Packages that provide Go libraries should be installed along with their source code. The key @code{#:install-source?}, which defaults to @code{#t}, controls whether or not the source code is installed. It can be set to @code{#f} for packages that only provide executable files." msgstr "Les paquets qui fournissent des bibliothèques Go devraient être installées avec leur code source. La clef @code{#:install-soruce?}, qui vaut @code{#t} par défaut, contrôle l'installation du code source. Elle peut être mise à @code{#f} pour les paquets qui ne fournissent que des fichiers exécutables." #. type: defvr -#: doc/guix.texi:3994 +#: doc/guix.texi:4514 #, no-wrap msgid "{Scheme Variable} glib-or-gtk-build-system" msgstr "{Variable Scheme} glib-or-gtk-build-system" #. type: defvr -#: doc/guix.texi:3997 +#: doc/guix.texi:4517 msgid "This variable is exported by @code{(guix build-system glib-or-gtk)}. It is intended for use with packages making use of GLib or GTK+." msgstr "Cette variable est exportée par @code{(guix build-system glib-or-gtk)}. Elle est conçue pour être utilisée par des paquets qui utilisent GLib ou GTK+." #. type: defvr -#: doc/guix.texi:4000 +#: doc/guix.texi:4520 msgid "This build system adds the following two phases to the ones defined by @var{gnu-build-system}:" msgstr "Ce système de construction ajoute les deux phases suivantes à celles définies par @var{gnu-build-system} :" #. type: item -#: doc/guix.texi:4002 doc/guix.texi:4297 +#: doc/guix.texi:4522 doc/guix.texi:4832 #, no-wrap msgid "glib-or-gtk-wrap" msgstr "glib-or-gtk-wrap" #. type: table -#: doc/guix.texi:4009 +#: doc/guix.texi:4529 msgid "The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are able to find GLib ``schemas'' and @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ modules}. This is achieved by wrapping the programs in launch scripts that appropriately set the @code{XDG_DATA_DIRS} and @code{GTK_PATH} environment variables." msgstr "La phase @code{glib-or-gtk-wrap} s'assure que les programmes dans @file{bin/} sont capable de trouver les « schemas » GLib et les @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, modules GTK+}. Ceci est fait en enveloppant les programmes dans des scripts de lancement qui initialisent correctement les variables d'environnement @code{XDG_DATA_DIRS} et @code{GTK_PATH}." #. type: table -#: doc/guix.texi:4016 +#: doc/guix.texi:4536 msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any GLib or GTK+ binaries, and where wrapping would gratuitously add a dependency of that output on GLib and GTK+." msgstr "Il est possible d'exclure des sorties spécifiques de ce processus d'enveloppage en listant leur nom dans le paramètre @code{#:glib-or-gtk-wrap-excluded-outputs}. C'est utile lorsqu'une sortie est connue pour ne pas contenir de binaires GLib ou GTK+, et où l'enveloppe ajouterait une dépendance inutile vers GLib et GTK+." #. type: item -#: doc/guix.texi:4017 doc/guix.texi:4301 +#: doc/guix.texi:4537 doc/guix.texi:4836 #, no-wrap msgid "glib-or-gtk-compile-schemas" msgstr "glib-or-gtk-compile-schemas" #. type: table -#: doc/guix.texi:4025 +#: doc/guix.texi:4545 msgid "The phase @code{glib-or-gtk-compile-schemas} makes sure that all @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, GSettings schemas} of GLib are compiled. Compilation is performed by the @command{glib-compile-schemas} program. It is provided by the package @code{glib:bin} which is automatically imported by the build system. The @code{glib} package providing @command{glib-compile-schemas} can be specified with the @code{#:glib} parameter." msgstr "La phase @code{glib-or-gtk-compile-schemas} s'assure que tous les @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, schémas GSettings} de GLib sont compilés. La compilation est effectuée par le programme @command{glib-compile-schemas}. Il est fournit par le paquet @code{glib:bin} qui est automatiquement importé par le système de construction. Le paquet @code{glib} qui fournit @command{glib-compile-schemas} peut être spécifié avec le paramètre @code{#:glib}." #. type: defvr -#: doc/guix.texi:4028 +#: doc/guix.texi:4548 msgid "Both phases are executed after the @code{install} phase." msgstr "Ces deux phases sont exécutées après la phase @code{install}." #. type: defvr -#: doc/guix.texi:4030 +#: doc/guix.texi:4550 +#, no-wrap +msgid "{Scheme Variable} guile-build-system" +msgstr "{Variable Scheme} guile-build-system" + +#. type: defvr +#: doc/guix.texi:4557 +msgid "This build system is for Guile packages that consist exclusively of Scheme code and that are so lean that they don't even have a makefile, let alone a @file{configure} script. It compiles Scheme code using @command{guild compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and installs the @file{.scm} and @file{.go} files in the right place. It also installs documentation." +msgstr "Ce système de construction sert aux paquets Guile qui consistent exclusivement en code Scheme et qui sont si simple qu'ils n'ont même pas un makefile, sans parler d'un script @file{configure}. Il compile le code Scheme en utilisant @command{guild compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) et installe les fichiers @file{.scm} et @file{.go} aux bons emplacements. Il installe aussi la documentation." + +#. type: defvr +#: doc/guix.texi:4560 +msgid "This build system supports cross-compilation by using the @code{--target} option of @command{guild compile}." +msgstr "Ce système de construction supporte la compilation croisée en utilisant l'option @code{--target} de @command{guild compile}." + +#. type: defvr +#: doc/guix.texi:4563 +msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field." +msgstr "Les paquets construits avec @code{guile-build-system} doivent fournir un paquet Guile dans leur champ @code{native-inputs}." + +#. type: defvr +#: doc/guix.texi:4565 #, no-wrap msgid "{Scheme Variable} minify-build-system" msgstr "{Variable Scheme} minify-build-system" #. type: defvr -#: doc/guix.texi:4033 +#: doc/guix.texi:4568 msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages." msgstr "Cette variable est exportée par @code{(guix build-system minify)}. Elle implémente une procédure de minification pour des paquets JavaScript simples." #. type: defvr -#: doc/guix.texi:4039 +#: doc/guix.texi:4574 msgid "It adds @code{uglify-js} to the set of inputs and uses it to compress all JavaScript files in the @file{src} directory. A different minifier package can be specified with the @code{#:uglify-js} parameter, but it is expected that the package writes the minified code to the standard output." msgstr "Elle ajoute @code{uglify-js} à l'ensemble des entrées et l'utilise pour compresser tous les fichiers JavaScript du répertoire @file{src}. Un minifieur différent peut être spécifié avec le paramètre @code{#:uglify-js} mais il est attendu que ce paquet écrive le code minifié sur la sortie standard." #. type: defvr -#: doc/guix.texi:4043 +#: doc/guix.texi:4578 msgid "When the input JavaScript files are not all located in the @file{src} directory, the parameter @code{#:javascript-files} can be used to specify a list of file names to feed to the minifier." msgstr "Lorsque les fichiers JavaScript d'entrée ne sont pas situés dans le répertoire @file{src}, le paramètre @code{#:javascript-files} peut être utilisé pour spécifier une liste de noms de fichiers à donner au minifieur." #. type: defvr -#: doc/guix.texi:4045 +#: doc/guix.texi:4580 #, no-wrap msgid "{Scheme Variable} ocaml-build-system" msgstr "{Variable Scheme} ocaml-build-system" #. type: defvr -#: doc/guix.texi:4051 +#: doc/guix.texi:4586 msgid "This variable is exported by @code{(guix build-system ocaml)}. It implements a build procedure for @uref{https://ocaml.org, OCaml} packages, which consists of choosing the correct set of commands to run for each package. OCaml packages can expect many different commands to be run. This build system will try some of them." msgstr "Cette variable est exportée par @code{(guix build-system ocaml)}. Elle implémente une procédure de construction pour les paquets @uref{https://ocaml.org, OCaml} qui consiste à choisir le bon ensemble de commande à lancer pour chaque paquet. Les paquets OCaml peuvent demander des commandes diverses pour être construit. Ce système de construction en essaye certaines." #. type: defvr -#: doc/guix.texi:4061 +#: doc/guix.texi:4596 msgid "When the package has a @file{setup.ml} file present at the top-level, it will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and @code{ocaml setup.ml -install}. The build system will assume that this file was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will take care of setting the prefix and enabling tests if they are not disabled. You can pass configure and build flags with the @code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} key can be passed to change the set of flags used to enable tests. The @code{#:use-make?} key can be used to bypass this system in the build and install phases." msgstr "Lorsqu'un fichier @file{setup.ml} est présent dans le répertoire de plus haut niveau, elle lancera @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} et @code{ocaml setup.ml -install}. Le système de construction supposera que ces fichiers ont été générés par @uref{http://oasis.forge.ocamlcore.org/, OASIS} et prendra soin d'initialiser le préfixe et d'activer les tests s'ils ne sont pas désactivés. Vous pouvez passer des drapeaux de configuration et de consturction avec @code{#:configure-flags} et @code{#:build-flags}. La clef @code{#:test-flags} peut être passée pour changer l'ensemble des drapeaux utilisés pour activer les tests. La clef @code{#:use-make?} peut être utilisée pour outrepasser ce système dans les phases de construction et d'installation." #. type: defvr -#: doc/guix.texi:4066 +#: doc/guix.texi:4601 msgid "When the package has a @file{configure} file, it is assumed that it is a hand-made configure script that requires a different argument format than in the @code{gnu-build-system}. You can add more flags with the @code{#:configure-flags} key." msgstr "Lorsque le paquet a un fichier @file{configure}, il est supposé qu'il s'agit d'un script configure écrit à la main qui demande un format différent de celui de @code{gnu-build-system}. Vous pouvez ajouter plus de drapeaux avec la clef @code{#:configure-flags}." #. type: defvr -#: doc/guix.texi:4070 +#: doc/guix.texi:4605 msgid "When the package has a @file{Makefile} file (or @code{#:use-make?} is @code{#t}), it will be used and more flags can be passed to the build and install phases with the @code{#:make-flags} key." msgstr "Lorsque le paquet a un fichier @file{Makefile} (ou @code{#:use-make?} vaut @code{#t}), il sera utilisé et plus de drapeaux peuvent être passés à la construction et l'installation avec la clef @code{#:make-flags}." #. type: defvr -#: doc/guix.texi:4078 +#: doc/guix.texi:4613 msgid "Finally, some packages do not have these files and use a somewhat standard location for its build system. In that case, the build system will run @code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of providing the path to the required findlib module. Additional flags can be passed via the @code{#:build-flags} key. Install is taken care of by @command{opam-installer}. In this case, the @code{opam} package must be added to the @code{native-inputs} field of the package definition." msgstr "Enfin, certains paquets n'ont pas ces fichiers mais utilisent un emplacement plus ou moins standard pour leur système de construction. Dans ce cas, le système de construction lancera @code{ocaml pkg/pkg.ml} ou @code{pkg/build.ml} et prendra soin de fournir le chemin du module findlib requis. Des drapeaux supplémentaires peuvent être passés via la clef @code{#:bulid-flags}. L'installation se fait avec @command{opam-installer}. Dans ce cas, le paquet @code{opam} doit être ajouté au champ @code{native-inputs} de la définition du paquet." #. type: defvr -#: doc/guix.texi:4086 +#: doc/guix.texi:4621 msgid "Note that most OCaml packages assume they will be installed in the same directory as OCaml, which is not what we want in guix. In particular, they will install @file{.so} files in their module's directory, which is usually fine because it is in the OCaml compiler directory. In guix though, these libraries cannot be found and we use @code{CAML_LD_LIBRARY_PATH}. This variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where @file{.so} libraries should be installed." msgstr "Remarquez que la plupart des paquets OCaml supposent qu'ils seront installés dans le même répertoire qu'OCaml, ce qui n'est pas ce que nous voulons faire dans Guix. En particulier, ils installeront leurs fichiers @file{.so} dans leur propre répertoire de module, ce qui est normalement correct puisqu'il s'agit du répertoire du compilateur OCaml. Dans Guix en revanche, le bibliothèques ne peuvent pas y être trouvées et on utilise @code{CAML_LD_LIBRARY_PATH} à la place. Cette variable pointe vers @file{lib/ocaml/site-lib/stubslibs} et c'est là où les bibliothèques @file{.so} devraient être installées." #. type: defvr -#: doc/guix.texi:4088 +#: doc/guix.texi:4623 #, no-wrap msgid "{Scheme Variable} python-build-system" msgstr "{Variable Scheme} python-build-system" #. type: defvr -#: doc/guix.texi:4093 +#: doc/guix.texi:4628 msgid "This variable is exported by @code{(guix build-system python)}. It implements the more or less standard build procedure used by Python packages, which consists in running @code{python setup.py build} and then @code{python setup.py install --prefix=/gnu/store/@dots{}}." msgstr "Cette variable est exportée par @code{(guix build-system python)}. Elle implémente la procédure de construction plus ou moins standarde utilisée pour les paquets Python, qui consiste à lancer @code{python setup.py build} puis @code{python setup.py install --prefix=/gnu/store/@dots{}}." #. type: defvr -#: doc/guix.texi:4097 +#: doc/guix.texi:4632 msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @code{PYTHONPATH} environment variable points to all the Python libraries they depend on." msgstr "Pour les paquets qui installent des programmes autonomes dans @code{bin/}, elle prend soin d'envelopper ces binaires pour que leur variable d'environnement @code{PYTHONPATH} pointe vers toutes les bibliothèques Python dont ils dépendent." #. type: defvr -#: doc/guix.texi:4103 +#: doc/guix.texi:4638 msgid "Which Python package is used to perform the build can be specified with the @code{#:python} parameter. This is a useful way to force a package to be built for a specific version of the Python interpreter, which might be necessary if the package is only compatible with a single interpreter version." msgstr "Le paquet Python utilisé pour effectuer la construction peut être spécifié avec le paramètre @code{#:python}. C'est une manière utile de forcer un paquet à être construit avec une version particulière de l'interpréteur python, ce qui peut être nécessaire si le paquet n'est compatible qu'avec une version de l'interpréteur." #. type: defvr -#: doc/guix.texi:4108 +#: doc/guix.texi:4643 msgid "By default guix calls @code{setup.py} under control of @code{setuptools}, much like @command{pip} does. Some packages are not compatible with setuptools (and pip), thus you can disable this by setting the @code{#:use-setuptools} parameter to @code{#f}." msgstr "Par défaut Guix appelle @code{setup.py} sous le contrôle de @code{setuptools}, comme le fait @command{pip}. Certains paquets ne sont pas compatibles avec setuptools (et pip), ainsi vous pouvez désactiver cela en mettant le paramètre @code{#:use-setuptools} à @code{#f}." #. type: defvr -#: doc/guix.texi:4110 +#: doc/guix.texi:4645 #, no-wrap msgid "{Scheme Variable} perl-build-system" msgstr "{Variable Scheme} perl-build-system" #. type: defvr -#: doc/guix.texi:4122 +#: doc/guix.texi:4657 msgid "This variable is exported by @code{(guix build-system perl)}. It implements the standard build procedure for Perl packages, which either consists in running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by @code{Build} and @code{Build install}; or in running @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, depending on which of @code{Build.PL} or @code{Makefile.PL} is present in the package distribution. Preference is given to the former if both @code{Build.PL} and @code{Makefile.PL} exist in the package distribution. This preference can be reversed by specifying @code{#t} for the @code{#:make-maker?} parameter." msgstr "Cette variable est exportée par @code{(guix build-system perl)}. Elle implémente la procédure de construction standarde des paquets Perl, qui consiste soit à lancer @code{perl Build.PL --prefix=/gnu/store/@dots{}}, suivi de @code{Build} et @code{Build install} ; ou à lancer @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, suivi de @code{make} et @code{make install}, en fonction de la présence de @code{Build.PL} ou @code{Makefile.PL} dans la distribution du paquet. Le premier a la préférence si @code{Build.PL} et @code{Makefile.PL} existent tous deux dans la distribution du paquet. Cette préférence peut être inversée en spécifiant @code{#t} pour le paramètre @code{#:make-maker?}." #. type: defvr -#: doc/guix.texi:4126 +#: doc/guix.texi:4661 msgid "The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation passes flags specified by the @code{#:make-maker-flags} or @code{#:module-build-flags} parameter, respectively." msgstr "L'invocation initiale de @code{perl Makefile.PL} ou @code{perl Build.PL} passe les drapeaux spécifiés par le paramètre @code{#:make-maker-flags} ou @code{#:module-build-flags}, respectivement." #. type: defvr -#: doc/guix.texi:4128 +#: doc/guix.texi:4663 msgid "Which Perl package is used can be specified with @code{#:perl}." msgstr "Le paquet Perl utilisé peut être spécifié avec @code{#:perl}." #. type: defvr -#: doc/guix.texi:4130 +#: doc/guix.texi:4665 #, no-wrap msgid "{Scheme Variable} r-build-system" msgstr "{Variable Scheme} r-build-system" #. type: defvr -#: doc/guix.texi:4138 +#: doc/guix.texi:4673 msgid "This variable is exported by @code{(guix build-system r)}. It implements the build procedure used by @uref{http://r-project.org, R} packages, which essentially is little more than running @code{R CMD INSTALL --library=/gnu/store/@dots{}} in an environment where @code{R_LIBS_SITE} contains the paths to all R package inputs. Tests are run after installation using the R function @code{tools::testInstalledPackage}." msgstr "Cette variable est exportée par @code{(guix build-system r)}. Elle implémente la procédure de construction utilisée par les paquets @uref{http://r-project.org, R} qui consiste à lancer à peine plus que @code{R CMD INSTALL --library=/gnu/store/@dots{}} dans un environnement où @code{R_LIBS_SITE} contient les chemins de toutes les entrées R. Les tests sont lancés après l'installation avec la fonction R @code{tools::testInstalledPackage}." #. type: defvr -#: doc/guix.texi:4140 +#: doc/guix.texi:4675 #, no-wrap msgid "{Scheme Variable} texlive-build-system" msgstr "{Variable Scheme} texlive-build-system" #. type: defvr -#: doc/guix.texi:4145 +#: doc/guix.texi:4680 msgid "This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The build system sets the @code{TEXINPUTS} variable to find all TeX source files in the inputs." msgstr "Cette variable est exportée par @code{(guix build-system texlive)}. Elle est utilisée pour construire des paquets TeX en mode batch avec le moteur spécifié. Le système de construction initialise la variable @code{TEXINPUTS} pour trouver tous les fichiers source TeX dans ses entrées." #. type: defvr -#: doc/guix.texi:4154 +#: doc/guix.texi:4689 msgid "By default it runs @code{luatex} on all files ending on @code{ins}. A different engine and format can be specified with the @code{#:tex-format} argument. Different build targets can be specified with the @code{#:build-targets} argument, which expects a list of file names. The build system adds only @code{texlive-bin} and @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the inputs. Both can be overridden with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, respectively." msgstr "Par défaut, elle lance @code{luatex} sur tous les fichiers qui se terminent par @code{ins}. Un moteur et un format différent peuvent être spécifiés avec l'argument @code{#:tex-format}. Plusieurs cibles de constructions peuvent être indiquées avec l'argument @code{#:build-targets} qui attend une liste de noms de fichiers. Le système de construction ajoute uniquement @code{texlive-bin} et @code{texlive-latex-base} (de @code{(gnu packages tex)} à la liste des entrées. Les deux peuvent être remplacés avec les arguments @code{#:texlive-bin} et @code{#:texlive-latex-base}, respectivement." #. type: defvr -#: doc/guix.texi:4157 +#: doc/guix.texi:4692 msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree." msgstr "Le paramètre @code{#:tex-directory} dit au système de construction où installer les fichiers construit dans l'arbre texmf." #. type: defvr -#: doc/guix.texi:4159 +#: doc/guix.texi:4694 #, no-wrap msgid "{Scheme Variable} ruby-build-system" msgstr "{Variable Scheme} ruby-build-system" #. type: defvr -#: doc/guix.texi:4163 +#: doc/guix.texi:4698 msgid "This variable is exported by @code{(guix build-system ruby)}. It implements the RubyGems build procedure used by Ruby packages, which involves running @code{gem build} followed by @code{gem install}." msgstr "Cette variable est exportée par @code{(guix build-system ruby)}. Elle implémenter la procédure de construction RubyGems utilisée par les paquets Ruby qui consiste à lancer @code{gem build} suivi de @code{gem install}." #. type: defvr -#: doc/guix.texi:4171 +#: doc/guix.texi:4706 msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball." msgstr "Le champ @code{source} d'un paquet qui utilise ce système de construction référence le plus souvent une archive gem, puisque c'est le format utilisé par les développeurs Ruby quand ils publient leur logiciel. Le système de construction décompresse l'archive gem, éventuellement en corrigeant les sources, lance la suite de tests, recompresse la gemme et l'installe. En plus, des répertoires et des archives peuvent être référencés pour permettre de construire des gemmes qui n'ont pas été publiées depuis Git ou une archive de sources traditionnelle." #. type: defvr -#: doc/guix.texi:4175 +#: doc/guix.texi:4710 msgid "Which Ruby package is used can be specified with the @code{#:ruby} parameter. A list of additional flags to be passed to the @command{gem} command can be specified with the @code{#:gem-flags} parameter." msgstr "Le paquet Ruby utilisé peut être spécifié avec le paramètre @code{#:ruby}. Une liste de drapeaux supplémentaires à passer à la commande @command{gem} peut être spécifiée avec le paramètre @code{#:gem-flags}." #. type: defvr -#: doc/guix.texi:4177 +#: doc/guix.texi:4712 #, no-wrap msgid "{Scheme Variable} waf-build-system" msgstr "{Variable Scheme} waf-build-system" #. type: defvr -#: doc/guix.texi:4183 +#: doc/guix.texi:4718 msgid "This variable is exported by @code{(guix build-system waf)}. It implements a build procedure around the @code{waf} script. The common phases---@code{configure}, @code{build}, and @code{install}---are implemented by passing their names as arguments to the @code{waf} script." msgstr "Cette variable est exportée par @code{(guix build-system waf)}. Elle implémente une procédure de construction autour du script @code{waf}. Les phases usuelles — @code{configure}, @code{build} et @code{install} — sont implémentée en passant leur nom en argument au script @code{waf}." #. type: defvr -#: doc/guix.texi:4187 +#: doc/guix.texi:4722 msgid "The @code{waf} script is executed by the Python interpreter. Which Python package is used to run the script can be specified with the @code{#:python} parameter." msgstr "Le script @code{waf} est exécuté par l'interpréteur Python. Le paquet Python utilisé pour lancer le script peut être spécifié avec le paramètre @code{#:python}." #. type: defvr -#: doc/guix.texi:4189 +#: doc/guix.texi:4724 #, no-wrap msgid "{Scheme Variable} scons-build-system" msgstr "{Variable Scheme} scons-build-system" #. type: defvr -#: doc/guix.texi:4195 +#: doc/guix.texi:4730 msgid "This variable is exported by @code{(guix build-system scons)}. It implements the build procedure used by the SCons software construction tool. This build system runs @code{scons} to build the package, @code{scons test} to run tests, and then @code{scons install} to install the package." msgstr "Cette variable est exportée par @code{(guix build-system scons)}. Elle implémente la procédure de construction utilisée par l'outil de construction SCons. Ce système de construction lance @code{scons} pour construire le paquet, @code{scons test} pour lancer les tests puis @code{scons install} pour installer le paquet." #. type: defvr -#: doc/guix.texi:4200 +#: doc/guix.texi:4735 msgid "Additional flags to be passed to @code{scons} can be specified with the @code{#:scons-flags} parameter. The version of Python used to run SCons can be specified by selecting the appropriate SCons package with the @code{#:scons} parameter." msgstr "On peut passer des drapeaux supplémentaires à @code{scons} en les spécifiant avec le paramètre @code{#:scons-flags}. La version de python utilisée pour lancer SCons peut être spécifiée en sélectionnant le paquet SCons approprié avec le paramètre @code{#:scons}." #. type: defvr -#: doc/guix.texi:4202 +#: doc/guix.texi:4737 #, no-wrap msgid "{Scheme Variable} haskell-build-system" msgstr "{Variable Scheme} haskell-build-system" #. type: defvr -#: doc/guix.texi:4216 +#: doc/guix.texi:4751 msgid "This variable is exported by @code{(guix build-system haskell)}. It implements the Cabal build procedure used by Haskell packages, which involves running @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead of installing the package by running @code{runhaskell Setup.hs install}, to avoid trying to register libraries in the read-only compiler store directory, the build system uses @code{runhaskell Setup.hs copy}, followed by @code{runhaskell Setup.hs register}. In addition, the build system generates the package documentation by running @code{runhaskell Setup.hs haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock parameters can be passed with the help of the @code{#:haddock-flags} parameter. If the file @code{Setup.hs} is not found, the build system looks for @code{Setup.lhs} instead." msgstr "Cette variable est exportée par @code{(guix build-system haskell)}. Elle implémente la procédure de construction Cabal utilisée par les paquets Haskell, qui consiste à lancer @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} et @code{runhaskell Setup.hs build}. Plutôt que d'installer le paquets en lançant @code{runhaskell Setup.hs install}, pour éviter d'essayer d'enregistrer les bibliothèques dans le répertoire du dépôt en lecture-seule du compilateur, le système de construction utilise @code{runhaskell Setup.hs copy}, suivi de @code{runhaskell Setup.hs register}. En plus, le système de construction génère la documentation du paquet en lançant @code{runhaskell Setup.hs haddock}, à moins que @code{#:haddock? #f} ne soit passé. Des paramètres facultatifs pour Haddock peuvent être passés à l'aide du paramètre @code{#:haddock-flags}. Si le fichier @code{Setup.hs} n'est pas trouvé, le système de construction cherchera @code{Setup.lhs} à la place." #. type: defvr -#: doc/guix.texi:4219 +#: doc/guix.texi:4754 msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}." msgstr "Le compilateur Haskell utilisé peut être spécifié avec le paramètre @code{#:haskell} qui a pour valeur par défaut @code{ghc}." #. type: defvr -#: doc/guix.texi:4221 +#: doc/guix.texi:4756 #, no-wrap msgid "{Scheme Variable} dub-build-system" msgstr "{Variable Scheme} dub-build-system" #. type: defvr -#: doc/guix.texi:4226 +#: doc/guix.texi:4761 msgid "This variable is exported by @code{(guix build-system dub)}. It implements the Dub build procedure used by D packages, which involves running @code{dub build} and @code{dub run}. Installation is done by copying the files manually." msgstr "Cette variable est exportée par @code{(guix build-system dub)}. Elle implémente la procédure de construction Dub utilisée par les paquets D qui consiste à lancer @code{dub build} et @code{dub run}. L'installation est effectuée en copiant les fichiers manuellement." #. type: defvr -#: doc/guix.texi:4229 +#: doc/guix.texi:4764 msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}." msgstr "Le compilateur D utilisé peut être spécifié avec le paramètre @code{#:ldc} qui vaut par défaut @code{ldc}." #. type: defvr -#: doc/guix.texi:4231 +#: doc/guix.texi:4766 #, no-wrap msgid "{Scheme Variable} emacs-build-system" msgstr "{Variable Scheme} emacs-build-system" #. type: defvr -#: doc/guix.texi:4235 +#: doc/guix.texi:4770 msgid "This variable is exported by @code{(guix build-system emacs)}. It implements an installation procedure similar to the packaging system of Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual})." msgstr "Cette variable est exportée par @code{(guix build-system emacs)}. Elle implémente une procédure d'installation similaire au système de gestion de paquet d'Emacs lui-même (@pxref{Packages,,, emacs, The GNU Emacs Manual})." #. type: defvr -#: doc/guix.texi:4242 +#: doc/guix.texi:4777 msgid "It first creates the @code{@var{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard documentation directory and the @file{dir} file is deleted. Each package is installed in its own directory under @file{share/emacs/site-lisp/guix.d}." msgstr "Elle crée d'abord le fichier @code{@var{package}-autoloads.el}, puis compile tous les fichiers Emacs Lisp en bytecode. Contrairement au système de gestion de paquets d'Emacs, les fichiers de documentation info sont déplacés dans le répertoire standard et le fichier @file{dir} est supprimé. Chaque paquet est installé dans son propre répertoire dans @file{share/emacs/site-lisp/guix.d}." #. type: defvr -#: doc/guix.texi:4244 +#: doc/guix.texi:4779 #, no-wrap msgid "{Scheme Variable} font-build-system" msgstr "{Variable Scheme} font-build-system" #. type: defvr -#: doc/guix.texi:4250 +#: doc/guix.texi:4785 msgid "This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream provides pre-compiled TrueType, OpenType, etc. font files that merely need to be copied into place. It copies font files to standard locations in the output directory." msgstr "Cette variable est exportée par @code{(guix build-system font)}. Elle implémente une procédure d'installation pour les paquets de polices où des fichiers de polices TrueType, OpenType, etc sont fournis en amont et n'ont qu'à être copiés à leur emplacement final. Elle copie les fichiers de polices à l'emplacement standard dans le répertoire de sortie." #. type: defvr -#: doc/guix.texi:4252 +#: doc/guix.texi:4787 #, no-wrap msgid "{Scheme Variable} meson-build-system" msgstr "{Variable Scheme} meson-build-system" #. type: defvr -#: doc/guix.texi:4256 +#: doc/guix.texi:4791 msgid "This variable is exported by @code{(guix build-system meson)}. It implements the build procedure for packages that use @url{http://mesonbuild.com, Meson} as their build system." msgstr "Cette variable est exportée par @code{(guix build-system meson)}. Elle implémente la procédure de construction des paquets qui utilisent @url{http://mesonbuild.com, Meson} comme système de construction." #. type: defvr -#: doc/guix.texi:4262 +#: doc/guix.texi:4797 msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed." msgstr "Elle ajoute à la fois Meson et @uref{https://ninja-build.org/, Ninja} à l'ensemble des entrées, et ils peuvent être modifiés avec les paramètres @code{#:meson} et @code{#:ninja} si requis. Le Meson par défaut est @code{meson-for-build}, qui est spécial parce qu'il ne nettoie pas le @code{RUNPATH} des binaires et les bibliothèques qu'il installe." #. type: defvr -#: doc/guix.texi:4265 +#: doc/guix.texi:4800 msgid "This build system is an extension of @var{gnu-build-system}, but with the following phases changed to some specific for Meson:" msgstr "Ce système de construction est une extension de @var{gnu-build-system}, mais avec les phases suivantes modifiées pour Meson :" #. type: table -#: doc/guix.texi:4272 +#: doc/guix.texi:4807 msgid "The phase runs @code{meson} with the flags specified in @code{#:configure-flags}. The flag @code{--build-type} is always set to @code{plain} unless something else is specified in @code{#:build-type}." msgstr "La phase lance @code{meson} avec les drapeaux spécifiés dans @code{#:configure-flags}. Le drapeau @code{--build-type} est toujours initialisé à @code{plain} à moins que quelque chose d'autre ne soit spécifié dans @code{#:build-type}." #. type: table -#: doc/guix.texi:4276 +#: doc/guix.texi:4811 msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}." msgstr "La phase lance @code{ninja} pour construire le paquet en parallèle par défaut, mais cela peut être changé avec @code{#:parallel-build?}." #. type: table -#: doc/guix.texi:4280 +#: doc/guix.texi:4815 msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default." msgstr "La phase lance @code{ninja} avec la cible spécifiée dans @code{#:test-target}, qui est @code{\"test\"} par défaut." #. type: table -#: doc/guix.texi:4283 +#: doc/guix.texi:4818 msgid "The phase runs @code{ninja install} and can not be changed." msgstr "La phase lance @code{ninja install} et ne peut pas être changée." #. type: defvr -#: doc/guix.texi:4286 +#: doc/guix.texi:4821 msgid "Apart from that, the build system also adds the following phases:" msgstr "En dehors de cela, le système de construction ajoute aussi la phase suivante :" #. type: item -#: doc/guix.texi:4289 +#: doc/guix.texi:4824 #, no-wrap msgid "fix-runpath" msgstr "fix-runpath" #. type: table -#: doc/guix.texi:4296 +#: doc/guix.texi:4831 msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson-for-build}, such as test dependencies, that aren't actually required for the program to run." msgstr "Cette phase s'assure que tous les binaire peuvent trouver les bibliothèques dont ils ont besoin. Elle cherche les bibliothèques requises dans les sous-répertoires du paquet en construction et les ajoute au @code{RUNPATH} là où c'est nécessaire. Elle supprime aussi les références aux bibliothèques laissées là par la phase de construction par @code{meson-for-build} comme les dépendances des tests, qui ne sont pas vraiment requises pour le programme." #. type: table -#: doc/guix.texi:4300 doc/guix.texi:4304 +#: doc/guix.texi:4835 doc/guix.texi:4839 msgid "This phase is the phase provided by @code{glib-or-gtk-build-system}, and it is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}." msgstr "Cette phase est la phase fournie par @code{glib-or-gtk-build-system} et n'est pas activée par défaut. Elle peut l'être avec @code{#:glib-or-gtk?}." #. type: Plain text -#: doc/guix.texi:4311 +#: doc/guix.texi:4846 msgid "Lastly, for packages that do not need anything as sophisticated, a ``trivial'' build system is provided. It is trivial in the sense that it provides basically no support: it does not pull any implicit inputs, and does not have a notion of build phases." msgstr "Enfin, pour les paquets qui n'ont pas besoin de choses sophistiquées, un système de construction « trivial » est disponible. Il est trivial dans le sens où il ne fournit en gros aucun support : il n'apporte pas de dépendance implicite, et n'a pas de notion de phase de construction." #. type: defvr -#: doc/guix.texi:4312 +#: doc/guix.texi:4847 #, no-wrap msgid "{Scheme Variable} trivial-build-system" msgstr "{Variable Scheme} trivial-build-system" #. type: defvr -#: doc/guix.texi:4314 +#: doc/guix.texi:4849 msgid "This variable is exported by @code{(guix build-system trivial)}." msgstr "Cette variable est exportée par @code{(guix build-system trivial)}." #. type: defvr -#: doc/guix.texi:4319 +#: doc/guix.texi:4854 msgid "This build system requires a @code{#:builder} argument. This argument must be a Scheme expression that builds the package output(s)---as with @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})." msgstr "Ce système de construction requiert un argument @code{#:builder}. Cet argument doit être une expression Scheme qui construit la sortie du paquet — comme avec @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})." #. type: cindex -#: doc/guix.texi:4325 +#: doc/guix.texi:4860 #, no-wrap msgid "store items" msgstr "éléments du dépôt" #. type: cindex -#: doc/guix.texi:4326 +#: doc/guix.texi:4861 #, no-wrap msgid "store paths" msgstr "chemins dans le dépôt" #. type: Plain text -#: doc/guix.texi:4337 +#: doc/guix.texi:4872 msgid "Conceptually, the @dfn{store} is the place where derivations that have been built successfully are stored---by default, @file{/gnu/store}. Sub-directories in the store are referred to as @dfn{store items} or sometimes @dfn{store paths}. The store has an associated database that contains information such as the store paths referred to by each store path, and the list of @emph{valid} store items---results of successful builds. This database resides in @file{@var{localstatedir}/guix/db}, where @var{localstatedir} is the state directory specified @i{via} @option{--localstatedir} at configure time, usually @file{/var}." msgstr "Conceptuellement, le @dfn{dépôt} est l'endroit où les dérivations qui ont bien été construites sont stockées — par défaut, @file{/gnu/store}. Les sous-répertoires dans le dépôt s'appellent des @dfn{éléments du dépôt} ou parfois des @dfn{chemins du dépôt}. Le dépôt a une base de données associée qui contient des informations comme les chemins du dépôt auxquels se réfèrent chaque chemin du dépôt et la liste des éléments du dépôt @emph{valides} — les résultats d'une construction réussie. Cette base de données se trouve dans @file{@var{localstatedir}/guix/db} où @var{localstatedir} est le répertoire d'états spécifié @i{via} @option {--localstatedir} à la configuration, typiquement @file{/var}." #. type: Plain text -#: doc/guix.texi:4342 +#: doc/guix.texi:4877 msgid "The store is @emph{always} accessed by the daemon on behalf of its clients (@pxref{Invoking guix-daemon}). To manipulate the store, clients connect to the daemon over a Unix-domain socket, send requests to it, and read the result---these are remote procedure calls, or RPCs." msgstr "C'est @emph{toujours} le démon qui accède au dépôt pour le compte de ses clients (@pxref{Invoking guix-daemon}). Pour manipuler le dépôt, les clients se connectent au démon par un socket Unix-domain, envoient une requête dessus et lisent le résultat — ce sont des appels de procédures distantes, ou RPC." #. type: quotation -#: doc/guix.texi:4347 +#: doc/guix.texi:4882 msgid "Users must @emph{never} modify files under @file{/gnu/store} directly. This would lead to inconsistencies and break the immutability assumptions of Guix's functional model (@pxref{Introduction})." msgstr "Les utilisateurs ne doivent @emph{jamais} modifier les fichiers dans @file{/gnu/store} directement. Cela entraînerait des incohérences et casserait l'hypothèse d'immutabilité du modèle fonctionnel de Guix (@pxref{Introduction})." #. type: quotation -#: doc/guix.texi:4351 +#: doc/guix.texi:4886 msgid "@xref{Invoking guix gc, @command{guix gc --verify}}, for information on how to check the integrity of the store and attempt recovery from accidental modifications." msgstr "@xref{Invoking guix gc, @command{guix gc --verify}}, pour des informations sur la manière de vérifier l'intégrité du dépôt et d'essayer de réparer des modifications accidentelles." #. type: Plain text -#: doc/guix.texi:4358 +#: doc/guix.texi:4893 msgid "The @code{(guix store)} module provides procedures to connect to the daemon, and to perform RPCs. These are described below. By default, @code{open-connection}, and thus all the @command{guix} commands, connect to the local daemon or to the URI specified by the @code{GUIX_DAEMON_SOCKET} environment variable." msgstr "Le module @code{(guix store)} fournit des procédures pour se connecter au démon et pour effectuer des RPC. Elles sont décrites plus bas. Par défaut, @code{open-connection}, et donc toutes les commandes @command{guix} se connectent au démon local ou à l'URI spécifiée par la variable d'environnement @code{GUIX_DAEMON_SOCKET}." #. type: defvr -#: doc/guix.texi:4359 +#: doc/guix.texi:4894 #, no-wrap msgid "{Environment Variable} GUIX_DAEMON_SOCKET" msgstr "{Variable d'environnement} GUIX_DAEMON_SOCKET" #. type: defvr -#: doc/guix.texi:4364 +#: doc/guix.texi:4899 msgid "When set, the value of this variable should be a file name or a URI designating the daemon endpoint. When it is a file name, it denotes a Unix-domain socket to connect to. In addition to file names, the supported URI schemes are:" msgstr "Lorsqu'elle est initialisée, la valeur de cette variable devrait être un nom de fichier ou une URI qui désigne l'extrémité du démon. Lorsque c'est un nom de fichier, il dénote un socket Unix-domain où se connecter. En plus des noms de fichiers, les schémas d'URI supportés sont :" #. type: code{#1} -#: doc/guix.texi:4366 doc/guix.texi:15771 +#: doc/guix.texi:4901 doc/guix.texi:16813 #, no-wrap msgid "file" msgstr "file" #. type: itemx -#: doc/guix.texi:4367 +#: doc/guix.texi:4902 #, no-wrap msgid "unix" msgstr "unix" #. type: table -#: doc/guix.texi:4371 +#: doc/guix.texi:4906 msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}." msgstr "Pour les sockets Unix-domain. @code{file:///var/guix/daemon-socket/socket} est équivalent à @file{/var/guix/daemon-socket/socket}." #. type: item -#: doc/guix.texi:4372 +#: doc/guix.texi:4907 #, no-wrap msgid "guix" msgstr "guix" #. type: table -#: doc/guix.texi:4380 +#: doc/guix.texi:4915 msgid "These URIs denote connections over TCP/IP, without encryption nor authentication of the remote host. The URI must specify the host name and optionally a port number (by default port 44146 is used):" msgstr "Ces URI dénotent des connexions par TCP/IP, sans chiffrement ni authentification de l'hôte distant. L'URI doit spécifier le nom d'hôte et éventuellement un numéro de port (par défaut 44146) :" #. type: example -#: doc/guix.texi:4383 +#: doc/guix.texi:4918 #, no-wrap msgid "guix://master.guix.example.org:1234\n" msgstr "guix://master.guix.example.org:1234\n" #. type: table -#: doc/guix.texi:4388 +#: doc/guix.texi:4923 msgid "This setup is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon at @code{master.guix.example.org}." msgstr "Ce paramétrage est adapté aux réseaux locaux, comme dans le cas de grappes de serveurs, où seuls des noms de confiance peuvent se connecter au démon de construction sur @code{master.guix.example.org}." #. type: table -#: doc/guix.texi:4392 +#: doc/guix.texi:4927 msgid "The @code{--listen} option of @command{guix-daemon} can be used to instruct it to listen for TCP connections (@pxref{Invoking guix-daemon, @code{--listen}})." msgstr "L'option @code{--listen} de @command{guix-daemon} peut être utilisé pour lui dire d'écouter des connexions TCP (@pxref{Invoking guix-daemon, @code{--listen}})." #. type: item -#: doc/guix.texi:4393 +#: doc/guix.texi:4928 #, no-wrap msgid "ssh" msgstr "ssh" #. type: cindex -#: doc/guix.texi:4394 +#: doc/guix.texi:4929 #, no-wrap msgid "SSH access to build daemons" msgstr "accès SSH au démon de construction" #. type: table -#: doc/guix.texi:4398 +#: doc/guix.texi:4933 msgid "These URIs allow you to connect to a remote daemon over SSH@footnote{This feature requires Guile-SSH (@pxref{Requirements}).}. A typical URL might look like this:" msgstr "Ces URI vous permettent de vous connecter au démon à distance à travers SSH@footnote{Cette fonctionnalité requiert Guile-SSH (@pxref{Requirements}).}." #. type: example -#: doc/guix.texi:4401 +#: doc/guix.texi:4936 #, no-wrap msgid "ssh://charlie@@guix.example.org:22\n" msgstr "ssh://charlie@@guix.example.org:22\n" #. type: table -#: doc/guix.texi:4405 +#: doc/guix.texi:4940 msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})." msgstr "Comme pour @command{guix copy}, les fichiers de configuration du client OpenSSH sont respectés (@pxref{Invoking guix copy})." #. type: defvr -#: doc/guix.texi:4408 +#: doc/guix.texi:4943 msgid "Additional URI schemes may be supported in the future." msgstr "Des schémas d'URI supplémentaires pourraient être supportés dans le futur." #. type: quotation -#: doc/guix.texi:4415 +#: doc/guix.texi:4950 msgid "The ability to connect to remote build daemons is considered experimental as of @value{VERSION}. Please get in touch with us to share any problems or suggestions you may have (@pxref{Contributing})." msgstr "La capacité de se connecter à un démon de construction distant est considéré comme expérimental à la version @value{VERSION}. Contactez-nous pour partager vos problèmes ou des suggestions que vous pourriez avoir (@pxref{Contributing})." #. type: deffn -#: doc/guix.texi:4418 +#: doc/guix.texi:4953 #, no-wrap msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]" msgstr "{Procédure Scheme} open-connection [@var{uri}] [#:reserve-space? #t]" #. type: deffn -#: doc/guix.texi:4423 +#: doc/guix.texi:4958 msgid "Connect to the daemon over the Unix-domain socket at @var{uri} (a string). When @var{reserve-space?} is true, instruct it to reserve a little bit of extra space on the file system so that the garbage collector can still operate should the disk become full. Return a server object." msgstr "Se connecte au démon à travers le socket Unix-domain à @var{uri} (une chaîne de caractères). Lorsque @var{reserve-space?} est vrai, cela demande de réserver un peu de place supplémentaire sur le système de fichiers pour que le ramasse-miette puisse opérer au cas où le disque serait plein. Renvoie un objet serveur." #. type: deffn -#: doc/guix.texi:4426 +#: doc/guix.texi:4961 msgid "@var{file} defaults to @var{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}." msgstr "@var{file} a pour valeur par défaut @var{%default-socket-path}, qui est l'emplacement normal en fonction des options données à @command{configure}." #. type: deffn -#: doc/guix.texi:4428 +#: doc/guix.texi:4963 #, no-wrap msgid "{Scheme Procedure} close-connection @var{server}" msgstr "{Procédure Scheme} close-connection @var{server}" #. type: deffn -#: doc/guix.texi:4430 +#: doc/guix.texi:4965 msgid "Close the connection to @var{server}." msgstr "Ferme la connexion au @var{serveur}." #. type: defvr -#: doc/guix.texi:4432 +#: doc/guix.texi:4967 #, no-wrap msgid "{Scheme Variable} current-build-output-port" msgstr "{Variable Scheme} current-build-output-port" #. type: defvr -#: doc/guix.texi:4435 +#: doc/guix.texi:4970 msgid "This variable is bound to a SRFI-39 parameter, which refers to the port where build and error logs sent by the daemon should be written." msgstr "Cette variable est liée à un paramètre SRFI-39, qui se réfère au port où les journaux de construction et d'erreur envoyés par le démon devraient être écrits." #. type: Plain text -#: doc/guix.texi:4439 +#: doc/guix.texi:4974 msgid "Procedures that make RPCs all take a server object as their first argument." msgstr "Les procédures qui font des RPC prennent toutes un objet serveur comme premier argument." #. type: deffn -#: doc/guix.texi:4440 +#: doc/guix.texi:4975 #, no-wrap msgid "{Scheme Procedure} valid-path? @var{server} @var{path}" msgstr "{Procédure Scheme} valid-path? @var{server} @var{path}" #. type: cindex -#: doc/guix.texi:4441 +#: doc/guix.texi:4976 #, no-wrap msgid "invalid store items" msgstr "éléments du dépôt invalides" #. type: deffn -#: doc/guix.texi:4446 +#: doc/guix.texi:4981 msgid "Return @code{#t} when @var{path} designates a valid store item and @code{#f} otherwise (an invalid item may exist on disk but still be invalid, for instance because it is the result of an aborted or failed build.)" msgstr "Renvoie @code{#t} lorsque @var{path} désigne un élément du dépôt valide et @code{#f} sinon (un élément invalide peut exister sur le disque mais rester invalide, par exemple parce que c'est le résultat d'une construction annulée ou échouée)." #. type: deffn -#: doc/guix.texi:4449 +#: doc/guix.texi:4984 msgid "A @code{&nix-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})." msgstr "Une condition @code{&nix-protocol-error} est levée si @var{path} n'est pas préfixée par le répertoire du dépôt (@file{/gnu/store})." #. type: deffn -#: doc/guix.texi:4451 +#: doc/guix.texi:4986 #, no-wrap msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]" msgstr "{Procédure Scheme} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]" #. type: deffn -#: doc/guix.texi:4455 +#: doc/guix.texi:4990 msgid "Add @var{text} under file @var{name} in the store, and return its store path. @var{references} is the list of store paths referred to by the resulting store path." msgstr "Ajoute @var{text} dans le fichier @var{name} dans le dépôt et renvoie son chemin. @var{references} est la liste des chemins du dépôt référencés par le chemin du dépôt qui en résulte." #. type: deffn -#: doc/guix.texi:4457 +#: doc/guix.texi:4992 #, no-wrap msgid "{Scheme Procedure} build-derivations @var{server} @var{derivations}" msgstr "{Procédure Scheme} build-derivations @var{server} @var{derivations}" #. type: deffn -#: doc/guix.texi:4461 +#: doc/guix.texi:4996 msgid "Build @var{derivations} (a list of @code{} objects or derivation paths), and return when the worker is done building them. Return @code{#t} on success." msgstr "Construit @var{derivaton} (ne liste d'objets @code{} ou de chemins de dérivations) et retourne quand le travailleur a fini de les construire. Renvoie @code{#t} en cas de réussite." #. type: Plain text -#: doc/guix.texi:4467 +#: doc/guix.texi:5002 msgid "Note that the @code{(guix monads)} module provides a monad as well as monadic versions of the above procedures, with the goal of making it more convenient to work with code that accesses the store (@pxref{The Store Monad})." msgstr "Remarque que le module @code{(guix monads)} fournit une monad ainsi que des version monadiques des procédures précédentes, avec le but de rendre plus facile de travailler avec le code qui accède au dépôt (@pxref{The Store Monad})." #. type: i{#1} -#: doc/guix.texi:4470 +#: doc/guix.texi:5005 msgid "This section is currently incomplete." msgstr "Cette section est actuellement incomplète." #. type: cindex -#: doc/guix.texi:4474 +#: doc/guix.texi:5009 #, no-wrap msgid "derivations" msgstr "dérivations" #. type: Plain text -#: doc/guix.texi:4478 +#: doc/guix.texi:5013 msgid "Low-level build actions and the environment in which they are performed are represented by @dfn{derivations}. A derivation contains the following pieces of information:" msgstr "Les actions de construction à bas-niveau et l'environnement dans lequel elles sont effectuées sont représentés par des @dfn{dérivations}. Une dérivation contient cet ensemble d'informations :" #. type: itemize -#: doc/guix.texi:4483 +#: doc/guix.texi:5018 msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more." msgstr "Les sorties de la dérivation — les dérivations produisent au moins un fichier ou répertoire dans le dépôt, mais peuvent en produire plus." #. type: itemize -#: doc/guix.texi:4487 +#: doc/guix.texi:5022 msgid "The inputs of the derivations, which may be other derivations or plain files in the store (patches, build scripts, etc.)" msgstr "Les entrées de la dérivation, qui peuvent être d'autres dérivations ou des fichiers dans le dépôt (correctifs, scripts de construction, etc)." #. type: itemize -#: doc/guix.texi:4490 +#: doc/guix.texi:5025 msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}." msgstr "Le type de système ciblé par la dérivation — p.ex.@: @code{x86_64-linux}." #. type: itemize -#: doc/guix.texi:4494 +#: doc/guix.texi:5029 msgid "The file name of a build script in the store, along with the arguments to be passed." msgstr "Le nom de fichier d'un script de construction dans le dépôt avec les arguments à lui passer." #. type: itemize -#: doc/guix.texi:4497 +#: doc/guix.texi:5032 msgid "A list of environment variables to be defined." msgstr "Une liste de variables d'environnement à définir." #. type: cindex -#: doc/guix.texi:4500 +#: doc/guix.texi:5035 #, no-wrap msgid "derivation path" msgstr "chemin de dérivation" #. type: Plain text -#: doc/guix.texi:4508 +#: doc/guix.texi:5043 msgid "Derivations allow clients of the daemon to communicate build actions to the store. They exist in two forms: as an in-memory representation, both on the client- and daemon-side, and as files in the store whose name end in @code{.drv}---these files are referred to as @dfn{derivation paths}. Derivations paths can be passed to the @code{build-derivations} procedure to perform the build actions they prescribe (@pxref{The Store})." msgstr "Les dérivations permettent aux client du démon de communiquer des actions de construction dans le dépôt. Elles existent sous deux formes : en tant que représentation en mémoire, à la fois côté client et démon, et en tant que fichiers dans le dépôt dont le nom fini par @code{.drv} — on dit que ce sont des @dfn{chemins de dérivations}. Les chemins de dérivations peuvent être passés à la procédure @code{build-derivations} pour effectuer les actions de construction qu'ils prescrivent (@pxref{The Store})." #. type: cindex -#: doc/guix.texi:4509 +#: doc/guix.texi:5044 #, no-wrap msgid "fixed-output derivations" msgstr "dérivations à sortie fixe" #. type: Plain text -#: doc/guix.texi:4516 +#: doc/guix.texi:5051 msgid "Operations such as file downloads and version-control checkouts for which the expected content hash is known in advance are modeled as @dfn{fixed-output derivations}. Unlike regular derivations, the outputs of a fixed-output derivation are independent of its inputs---e.g., a source code download produces the same result regardless of the download method and tools being used." msgstr "Des opérations comme le téléchargement de fichiers et la récupération de sources gérés par un logiciel de contrôle de version pour lesquels le hash du contenu est connu à l'avance sont modélisés par des @dfn{dérivations à sortie fixe}. Contrairement aux dérivation habituelles, les sorties d'une dérivation à sortie fixe sont indépendantes de ses entrées — p.ex.@: un code source téléchargé produit le même résultat quelque soit la méthode de téléchargement utilisée." #. type: Plain text -#: doc/guix.texi:4521 +#: doc/guix.texi:5056 msgid "The @code{(guix derivations)} module provides a representation of derivations as Scheme objects, along with procedures to create and otherwise manipulate derivations. The lowest-level primitive to create a derivation is the @code{derivation} procedure:" msgstr "Le module @code{(guix derivations)} fournit une représentation des dérivations comme des objets Scheme, avec des procédures pour créer et manipuler des dérivations. La primitive de plus bas-niveau pour créer une dérivation est la procédure @code{derivation} :" #. type: deffn -#: doc/guix.texi:4522 +#: doc/guix.texi:5057 #, no-wrap msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @" msgstr "{Procédure Scheme} derivation @var{store} @var{name} @var{builder} @" #. type: deffn -#: doc/guix.texi:4531 -msgid "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] Build a derivation with the given arguments, and return the resulting @code{} object." +#: doc/guix.texi:5066 +msgid "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] [#:properties '()] Build a derivation with the given arguments, and return the resulting @code{} object." msgstr "" "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @\n" -"[#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @\n" +"[#:recursive? #f] [#:inputs '()] [#:env-vars '()] @\n" +"[#:system (%current-system)] [#:references-graphs #f] @\n" "[#:allowed-references #f] [#:disallowed-references #f] @\n" "[#:leaked-env-vars #f] [#:local-build? #f] @\n" -"[#:substitutable? #t]\n" -"\n" -"Construit une dérivation avec les arguments donnés et renvie l'objet @code{} obtenu." +"[#:substitutable? #t] [#:properties '()]\n" +"Construit une dérivation avec les arguments donnés et renvoie l'objet @code{} obtenu." #. type: deffn -#: doc/guix.texi:4538 +#: doc/guix.texi:5073 msgid "When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output derivation} is created---i.e., one whose result is known in advance, such as a file download. If, in addition, @var{recursive?} is true, then that fixed output may be an executable file or a directory and @var{hash} must be the hash of an archive containing this output." msgstr "Lorsque @var{hash} et @var{hash-algo} sont donnés, une @dfn{dérivation à sortie fixe} est créée — c.-à-d.@: une dérivation dont le résultat est connu à l'avance, comme dans le cas du téléchargement d'un fichier. Si, en plus, @var{recursive?} est vrai, alors la sortie fixe peut être un fichier exécutable ou un répertoire et @var{hash} doit être le hash d'une archive contenant la sortie." #. type: deffn -#: doc/guix.texi:4543 +#: doc/guix.texi:5078 msgid "When @var{references-graphs} is true, it must be a list of file name/store path pairs. In that case, the reference graph of each store path is exported in the build environment in the corresponding file, in a simple text format." msgstr "Lorsque @var{references-graphs} est vrai, il doit s'agir d'une liste de paires de noms de fichiers et de chemins du dépôt. Dans ce cas, le graphe des références de chaque chemin du dépôt est exporté dans l'environnement de construction dans le fichier correspondant, dans un simple format texte." #. type: deffn -#: doc/guix.texi:4548 +#: doc/guix.texi:5083 msgid "When @var{allowed-references} is true, it must be a list of store items or outputs that the derivation's output may refer to. Likewise, @var{disallowed-references}, if true, must be a list of things the outputs may @emph{not} refer to." msgstr "Lorsque @var{allowed-references} est vrai, il doit s'agir d'une liste d'éléments du dépôt ou de sorties auxquelles la sortie de la dérivations peut faire référence. De même, @var{disallowed-references}, si vrai, doit être une liste de choses que la sortie ne doit @emph{pas} référencer." #. type: deffn -#: doc/guix.texi:4555 +#: doc/guix.texi:5090 msgid "When @var{leaked-env-vars} is true, it must be a list of strings denoting environment variables that are allowed to ``leak'' from the daemon's environment to the build environment. This is only applicable to fixed-output derivations---i.e., when @var{hash} is true. The main use is to allow variables such as @code{http_proxy} to be passed to derivations that download files." msgstr "Lorsque @var{leaked-env-vars} est vrai, il doit s'agir d'une liste de chaînes de caractères qui désignent les variables d'environnements qui peuvent « fuiter » de l'environnement du démon dans l'environnement de construction. Ce n'est possible que pour les dérivations à sortie fixe — c.-à-d.@: lorsque @var{hash} est vrai. L'utilisation principale est de permettre à des variables comme @code{http_proxy} d'être passées aux dérivations qui téléchargent des fichiers." #. type: deffn -#: doc/guix.texi:4560 +#: doc/guix.texi:5095 msgid "When @var{local-build?} is true, declare that the derivation is not a good candidate for offloading and should rather be built locally (@pxref{Daemon Offload Setup}). This is the case for small derivations where the costs of data transfers would outweigh the benefits." msgstr "Lorsque @var{local-build?} est vrai, déclare que la dérivation n'est pas un bon candidat pour le déchargement et devrait plutôt être construit localement (@pxref{Daemon Offload Setup}). C'est le cas des petites dérivations où le coût du transfert de données est plus important que les bénéfices." #. type: deffn -#: doc/guix.texi:4565 +#: doc/guix.texi:5100 msgid "When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set." msgstr "Lorsque que @var{substitutable?} est faux, déclare que les substituts de la sortie de la dérivation ne devraient pas être utilisés (@pxref{Substituts}). Cela est utile par exemple pour construire des paquets qui utilisent des détails du jeu d'instruction du CPU hôte." +#. type: deffn +#: doc/guix.texi:5103 +msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation." +msgstr "@var{properties} doit être une liste d'association décrivant les « propriétés » de la dérivation. Elle est gardée telle-quelle, sans être interprétée, dans la dérivation." + #. type: Plain text -#: doc/guix.texi:4571 +#: doc/guix.texi:5109 msgid "Here's an example with a shell script as its builder, assuming @var{store} is an open connection to the daemon, and @var{bash} points to a Bash executable in the store:" msgstr "Voici un exemple avec un script shell comme constructeur, en supposant que @var{store} est une connexion ouverte au démon et @var{bash} pointe vers un exécutable Bash dans le dépôt :" #. type: lisp -#: doc/guix.texi:4576 +#: doc/guix.texi:5114 #, no-wrap msgid "" "(use-modules (guix utils)\n" @@ -8975,7 +9941,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:4585 +#: doc/guix.texi:5123 #, no-wrap msgid "" "(let ((builder ; add the Bash script to the store\n" @@ -8997,23 +9963,23 @@ msgstr "" "@result{} # /gnu/store/@dots{}-foo>\n" #. type: Plain text -#: doc/guix.texi:4592 +#: doc/guix.texi:5130 msgid "As can be guessed, this primitive is cumbersome to use directly. A better approach is to write build scripts in Scheme, of course! The best course of action for that is to write the build code as a ``G-expression'', and to pass it to @code{gexp->derivation}. For more information, @pxref{G-Expressions}." msgstr "Comme on pourrait s'en douter, cette primitive est difficile à utiliser directement. Une meilleure approche est d'écrire les scripts de construction en Scheme, bien sur ! Le mieux à faire pour cela est d'écrire le code de construction comme une « G-expression » et de la passer à @code{gexp->derivation}. Pour plus d'informations, @pxref{G-Expressions}." #. type: Plain text -#: doc/guix.texi:4597 +#: doc/guix.texi:5135 msgid "Once upon a time, @code{gexp->derivation} did not exist and constructing derivations with build code written in Scheme was achieved with @code{build-expression->derivation}, documented below. This procedure is now deprecated in favor of the much nicer @code{gexp->derivation}." msgstr "Il fut un temps où @code{gexp->derivation} n'existait pas et où construire une dérivation donc le code de construction était écrit en Scheme se faisait avec @code{build-expression->derivation}, documenté plus bas. Cette procédure est maintenant obsolète, remplacée par @code{gexp->derivation} qui est meilleure." #. type: deffn -#: doc/guix.texi:4598 +#: doc/guix.texi:5136 #, no-wrap msgid "{Scheme Procedure} build-expression->derivation @var{store} @" msgstr "{Procédure Scheme} build-expression->derivation @var{store} @" #. type: deffn -#: doc/guix.texi:4614 +#: doc/guix.texi:5152 msgid "@var{name} @var{exp} @ [#:system (%current-system)] [#:inputs '()] @ [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that executes Scheme expression @var{exp} as a builder for derivation @var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} tuples; when @var{sub-drv} is omitted, @code{\"out\"} is assumed. @var{modules} is a list of names of Guile modules from the current search path to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}." msgstr "" "@var{name} @var{exp} @\n" @@ -9026,27 +9992,27 @@ msgstr "" "Renvoie une dérivation qui exécute l'expression Scheme @var{exp} comme un constructeur pour la dérivation @var{name}. @var{inputs} doit être une liste de tuples @code{(name drv-path sub-drv)} ; lorsque @var{sub-drv} est omis, @code{\"out\"} est utilisé. @var{modules} est une liste de noms de modules Guile du chemin de recherche actuel qui seront copiés dans le dépôt, compilés et rendus disponibles dans le chemin de chargement pendant l'exécution de @var{exp} — p.@: ex.@: @code{((guix build utils) (guix build gnu-build-system))}." #. type: deffn -#: doc/guix.texi:4622 +#: doc/guix.texi:5160 msgid "@var{exp} is evaluated in an environment where @code{%outputs} is bound to a list of output/path pairs, and where @code{%build-inputs} is bound to a list of string/output-path pairs made from @var{inputs}. Optionally, @var{env-vars} is a list of string pairs specifying the name and value of environment variables visible to the builder. The builder terminates by passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns @code{#f}, the build is considered to have failed." msgstr "@var{exp} est évaluée dans une environnement où @code{%outputs} est lié à une liste de paires de sortie/chemin, et où @code{%build-inputs} est lié à une liste de paires de chaînes de caractères et de chemin de sortie construite à partir de @var{inputs}. Éventuellement, @var{env-vars} est une liste de paires de chaînes de caractères spécifiant le nom et la valeur de variables d'environnement visibles pour le constructeur. Le constructeur termine en passant le résultat de @var{exp} à @code{exit} ; ainsi, lorsque @var{exp} renvoie @code{#f}, la construction est considérée en échec." #. type: deffn -#: doc/guix.texi:4626 +#: doc/guix.texi:5164 msgid "@var{exp} is built using @var{guile-for-build} (a derivation). When @var{guile-for-build} is omitted or is @code{#f}, the value of the @code{%guile-for-build} fluid is used instead." msgstr "@var{exp} est construite avec @var{guile-for-build} (une dérivation). Lorsque @var{guile-for-build} est omis où est @code{#f}, la valeur du fluide @code{%guile-for-build} est utilisée à la place." #. type: deffn -#: doc/guix.texi:4631 +#: doc/guix.texi:5169 msgid "See the @code{derivation} procedure for the meaning of @var{references-graphs}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?}, and @var{substitutable?}." msgstr "Voir la procédure @code{derivation} pour la signification de @var{references-graph}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?} et @var{substitutable?}." #. type: Plain text -#: doc/guix.texi:4636 +#: doc/guix.texi:5174 msgid "Here's an example of a single-output derivation that creates a directory containing one file:" msgstr "Voici un exemple de dérivation à sortie unique qui crée un répertoire avec un fichier :" #. type: lisp -#: doc/guix.texi:4644 +#: doc/guix.texi:5182 #, no-wrap msgid "" "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n" @@ -9066,51 +10032,51 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:4646 +#: doc/guix.texi:5184 #, no-wrap msgid "@result{} # @dots{}>\n" msgstr "@result{} # @dots{}>\n" #. type: cindex -#: doc/guix.texi:4652 +#: doc/guix.texi:5190 #, no-wrap msgid "monad" msgstr "monad" #. type: Plain text -#: doc/guix.texi:4658 +#: doc/guix.texi:5196 msgid "The procedures that operate on the store described in the previous sections all take an open connection to the build daemon as their first argument. Although the underlying model is functional, they either have side effects or depend on the current state of the store." msgstr "Les procédures qui travaillent sur le dépôt décrites dans les sections précédentes prennent toutes une connexion ouverte au démon de construction comme premier argument. Bien que le modèle sous-jacent soit fonctionnel, elles ont soit des effets de bord, soit dépendent de l'état actuel du dépôt." #. type: Plain text -#: doc/guix.texi:4664 +#: doc/guix.texi:5202 msgid "The former is inconvenient: the connection to the build daemon has to be carried around in all those functions, making it impossible to compose functions that do not take that parameter with functions that do. The latter can be problematic: since store operations have side effects and/or depend on external state, they have to be properly sequenced." msgstr "Le premier point est embêtant : on doit se balader avec la connexion au démon dans toutes ces fonctions, ce qui rend impossible le fait de composer des fonctions qui ne prennent pas ce paramètre avec des fonctions qui le prennent. Le deuxième point est problématique : comme les opérations sur le dépôt ont des effets de bord ou dépendent d'états externes, elles doivent être enchaînés correctement." #. type: cindex -#: doc/guix.texi:4665 +#: doc/guix.texi:5203 #, no-wrap msgid "monadic values" msgstr "valeurs monadiques" #. type: cindex -#: doc/guix.texi:4666 +#: doc/guix.texi:5204 #, no-wrap msgid "monadic functions" msgstr "fonctions monadiques" #. type: Plain text -#: doc/guix.texi:4676 +#: doc/guix.texi:5214 msgid "This is where the @code{(guix monads)} module comes in. This module provides a framework for working with @dfn{monads}, and a particularly useful monad for our uses, the @dfn{store monad}. Monads are a construct that allows two things: associating ``context'' with values (in our case, the context is the store), and building sequences of computations (here computations include accesses to the store). Values in a monad---values that carry this additional context---are called @dfn{monadic values}; procedures that return such values are called @dfn{monadic procedures}." msgstr "C'est là que le module @code{(guix monads)} arrive à la rescousse. Ce module fournit un cadre pour travailler avec des @dfn{monads}, en particulier une monad très utile pour notre usage, la @dfn{monad du dépôt}. Les monads sont des constructions qui permettent deux choses : associer un « contexte » avec une valeur (dans notre cas, le contexte est le dépôt) et construire une séquence de calculs (ici les calculs comprennent des accès au dépôt). Les valeurs dans une monad — les valeurs qui contiennent ce contexte supplémentaire — sont appelées des @dfn{valeurs monadiques} ; les procédures qui renvoient ce genre de valeur sont appelées des @dfn{procédures monadiques}." #. type: Plain text -#: doc/guix.texi:4678 +#: doc/guix.texi:5216 msgid "Consider this ``normal'' procedure:" msgstr "Considérez cette procédure « normale » :" #. type: example -#: doc/guix.texi:4687 +#: doc/guix.texi:5225 #, no-wrap msgid "" "(define (sh-symlink store)\n" @@ -9130,12 +10096,12 @@ msgstr "" " `(symlink ,sh %output))))\n" #. type: Plain text -#: doc/guix.texi:4691 +#: doc/guix.texi:5229 msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:" msgstr "En utilisant @code{(guix monads)} et @code{(guix gexp)}, on peut la réécrire en une fonction monadique :" #. type: example -#: doc/guix.texi:4699 +#: doc/guix.texi:5237 #, no-wrap msgid "" "(define (sh-symlink)\n" @@ -9153,17 +10119,17 @@ msgstr "" " #$output))))\n" #. type: Plain text -#: doc/guix.texi:4706 +#: doc/guix.texi:5244 msgid "There are several things to note in the second version: the @code{store} parameter is now implicit and is ``threaded'' in the calls to the @code{package->derivation} and @code{gexp->derivation} monadic procedures, and the monadic value returned by @code{package->derivation} is @dfn{bound} using @code{mlet} instead of plain @code{let}." msgstr "Il y a plusieurs choses à remarquer avec cette deuxième version : le paramètre @code{store} est maintenant implicitement « enfilé » dans les appels aux procédures monadiques @code{package->derivation} et @code{gexp->derivation}, et la valeur monadique renvoyée par @code{package->derivation} est @dfn{liée} avec @code{mlet} plutôt qu'avec un simple @code{let}." #. type: Plain text -#: doc/guix.texi:4710 +#: doc/guix.texi:5248 msgid "As it turns out, the call to @code{package->derivation} can even be omitted since it will take place implicitly, as we will see later (@pxref{G-Expressions}):" msgstr "Il se trouve que l'appel à @code{package->derivation} peut même être omis puisqu'il aura lieu implicitement, comme nous le verrons plus tard (@pxref{G-Expressions}) :" #. type: example -#: doc/guix.texi:4716 +#: doc/guix.texi:5254 #, no-wrap msgid "" "(define (sh-symlink)\n" @@ -9177,12 +10143,12 @@ msgstr "" " #$output)))\n" #. type: Plain text -#: doc/guix.texi:4725 +#: doc/guix.texi:5263 msgid "Calling the monadic @code{sh-symlink} has no effect. As someone once said, ``you exit a monad like you exit a building on fire: by running''. So, to exit the monad and get the desired effect, one must use @code{run-with-store}:" msgstr "L'appel à la procédure monadique @code{sh-symlink} n'a aucun effet. En anglais on pourrait dire « you exit a monad like you exit a building on fire: by running »@footnote{NdT : « on sort d'une monad comme d'un immeuble en flamme, en courant ». Le jeu de mot est perdu à la traduction : courrir et lancer utilisent le même verbe @i{run} en anglais.}. Donc, pour sortir de la monad et obtenir l'effet escompté, on doit utiliser @code{run-with-store}." #. type: example -#: doc/guix.texi:4729 +#: doc/guix.texi:5267 #, no-wrap msgid "" "(run-with-store (open-connection) (sh-symlink))\n" @@ -9192,12 +10158,12 @@ msgstr "" "@result{} /gnu/store/...-sh-symlink\n" #. type: Plain text -#: doc/guix.texi:4735 +#: doc/guix.texi:5273 msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``meta-commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad}. The former is used to ``run'' a single monadic value through the store:" msgstr "Remarquez que le module @code{(guix monad-repl)} étend la console Guile avec de nouvelles « méta-commandes » pour rendre plus facile la manipulation de procédures monadiques : @code{run-in-store} et @code{enter-store-monad}. La première est utilisée pour « lancer » une seule valeur monadique à travers le dépôt :" #. type: example -#: doc/guix.texi:4739 +#: doc/guix.texi:5277 #, no-wrap msgid "" "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n" @@ -9207,12 +10173,12 @@ msgstr "" "$1 = # @dots{}>\n" #. type: Plain text -#: doc/guix.texi:4743 +#: doc/guix.texi:5281 msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:" msgstr "La deuxième entre dans une console récursive, où toutes les valeurs de retour sont automatiquement lancées à travers le dépôt :" #. type: example -#: doc/guix.texi:4752 +#: doc/guix.texi:5290 #, no-wrap msgid "" "scheme@@(guile-user)> ,enter-store-monad\n" @@ -9232,50 +10198,50 @@ msgstr "" "scheme@@(guile-user)>\n" #. type: Plain text -#: doc/guix.texi:4757 +#: doc/guix.texi:5295 msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL." msgstr "Remarquez qu'on ne peut pas renvoyer de valeur non monadique dans la console @code{store-monad}." #. type: Plain text -#: doc/guix.texi:4760 +#: doc/guix.texi:5298 msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below." msgstr "Les formes syntaxiques principales pour utiliser des monads en général sont disponibles dans le module @code{(guix monads)} et sont décrites ci-dessous." #. type: deffn -#: doc/guix.texi:4761 +#: doc/guix.texi:5299 #, no-wrap msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..." msgstr "{Syntaxe Scheme} with-monad @var{monad} @var{body} ..." #. type: deffn -#: doc/guix.texi:4764 +#: doc/guix.texi:5302 msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}." msgstr "Évalue n'importe quelle forme @code{>>=} ou @code{return} dans @var{body} comme une @var{monad}." #. type: deffn -#: doc/guix.texi:4766 +#: doc/guix.texi:5304 #, no-wrap msgid "{Scheme Syntax} return @var{val}" msgstr "{Syntaxe Scheme} return @var{val}" #. type: deffn -#: doc/guix.texi:4768 +#: doc/guix.texi:5306 msgid "Return a monadic value that encapsulates @var{val}." msgstr "Renvoie une valeur monadique qui encapsule @var{val}." #. type: deffn -#: doc/guix.texi:4770 +#: doc/guix.texi:5308 #, no-wrap msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..." msgstr "{Syntaxe Scheme} >>= @var{mval} @var{mproc} ..." #. type: deffn -#: doc/guix.texi:4777 +#: doc/guix.texi:5315 msgid "@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic procedures @var{mproc}@dots{}@footnote{This operation is commonly referred to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus we use this somewhat cryptic symbol inherited from the Haskell language.}. There can be one @var{mproc} or several of them, as in this example:" msgstr "@dfn{Lie} une valeur monadique @var{mval}, en passant son « contenu » aux procédures monadiques @var{mproc}@dots{}@footnote{Cette opération est souvent appelée « bind », mais ce nom dénote une procédure qui n'a rien à voir en Guile. Ainsi, nous empruntons ce symbole quelque peu cryptique au langage Haskell}. Il peut y avoir une ou plusieurs @code{mproc}, comme dans cet exemple :" #. type: example -#: doc/guix.texi:4785 +#: doc/guix.texi:5323 #, no-wrap msgid "" "(run-with-state\n" @@ -9295,7 +10261,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:4788 +#: doc/guix.texi:5326 #, no-wrap msgid "" "@result{} 4\n" @@ -9305,101 +10271,101 @@ msgstr "" "@result{} some-state\n" #. type: deffn -#: doc/guix.texi:4791 +#: doc/guix.texi:5329 #, no-wrap msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @" msgstr "{Syntaxe Scheme} mlet @var{monad} ((@var{var} @var{mval}) ...) @" #. type: deffn -#: doc/guix.texi:4793 +#: doc/guix.texi:5331 msgid "@var{body} ..." msgstr "@var{body} ..." #. type: deffnx -#: doc/guix.texi:4793 +#: doc/guix.texi:5331 #, no-wrap msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @" msgstr "{Syntaxe Scheme} mlet* @var{monad} ((@var{var} @var{mval}) ...) @" #. type: deffn -#: doc/guix.texi:4805 +#: doc/guix.texi:5343 msgid "@var{body} ... Bind the variables @var{var} to the monadic values @var{mval} in @var{body}, which is a sequence of expressions. As with the bind operator, this can be thought of as ``unpacking'' the raw, non-monadic value ``contained'' in @var{mval} and making @var{var} refer to that raw, non-monadic value within the scope of the @var{body}. The form (@var{var} -> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per @code{let}. The binding operations occur in sequence from left to right. The last expression of @var{body} must be a monadic expression, and its result will become the result of the @code{mlet} or @code{mlet*} when run in the @var{monad}." msgstr "" "@var{body} ...\n" "Lie les variables @var{var} aux valeurs monadiques @var{mval} dans @var{body}, une séquence d'expressions. Comme avec l'opérateur de liaison, on peut réfléchir comme si on « ouvrait » la valeur non-monadique « contenue » dans @var{mval} et comme si on faisait en sorte que @var{var} se réfère à cette valeur pure, non-monadique, dans la portée de @var{body}. La forme (@var{var} -> @var{val}) lie @var{var} à la valeur « normale » @var{val}, comme @code{let}. L'opération de liaison a lieu en séquence de la gauche vers la droite. La dernière expression de @var{body} doit être une expression monadique et son résultat deviendra le résultat de @code{mlet} ou @code{mlet*} lorsque lancé dans la @var{monad}." #. type: deffn -#: doc/guix.texi:4808 +#: doc/guix.texi:5346 msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})." msgstr "@code{mlet*} est à @code{mlet} ce que @code{let*} est à @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})." #. type: deffn -#: doc/guix.texi:4810 +#: doc/guix.texi:5348 #, no-wrap msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..." msgstr "{Système Scheme} mbegin @var{monad} @var{mexp} ..." #. type: deffn -#: doc/guix.texi:4814 +#: doc/guix.texi:5352 msgid "Bind @var{mexp} and the following monadic expressions in sequence, returning the result of the last expression. Every expression in the sequence must be a monadic expression." msgstr "Lie @var{mexp} et les expressions monadiques suivantes en séquence, et renvoie le résultat de la dernière expression. Chaque expression dans la séquence doit être une expression monadique." #. type: deffn -#: doc/guix.texi:4818 +#: doc/guix.texi:5356 msgid "This is akin to @code{mlet}, except that the return values of the monadic expressions are ignored. In that sense, it is analogous to @code{begin}, but applied to monadic expressions." msgstr "Cette procédure est similaire à @code{mlet}, sauf que les valeurs de retour des expressions monadiques sont ignorées. Dans ce sens, elle est analogue à @code{begin}, mais appliqué à des expressions monadiques." #. type: deffn -#: doc/guix.texi:4820 +#: doc/guix.texi:5358 #, no-wrap msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..." msgstr "{Système Scheme} mwhen @var{condition} @var{mexp0} @var{mexp*} ..." #. type: deffn -#: doc/guix.texi:4825 +#: doc/guix.texi:5363 msgid "When @var{condition} is true, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is false, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression." msgstr "Lorsque la @var{condition} est vraie, évalue la séquence des expressions monadiques @var{mexp0}..@var{mexp*} comme dans un @code{mbegin}. Lorsque la @var{condition} est fausse, renvoie @code{*unspecified*} dans la monad actuelle. Cahque expression dans la séquence doit être une expression monadique." #. type: deffn -#: doc/guix.texi:4827 +#: doc/guix.texi:5365 #, no-wrap msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..." msgstr "{Système Scheme} munless @var{condition} @var{mexp0} @var{mexp*} ..." #. type: deffn -#: doc/guix.texi:4832 +#: doc/guix.texi:5370 msgid "When @var{condition} is false, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is true, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression." msgstr "Lorsque la @var{condition} est fausse, évalue la séquence des expressions monadiques @var{mexp0}..@var{mexp*} comme dans un @code{mbegin}. Lorsque la @var{condition} est vraie, renvoie @code{*unspecified*} dans la monad actuelle. Cahque expression dans la séquence doit être une expression monadique." #. type: cindex -#: doc/guix.texi:4834 +#: doc/guix.texi:5372 #, no-wrap msgid "state monad" msgstr "monad d'état" #. type: Plain text -#: doc/guix.texi:4838 +#: doc/guix.texi:5376 msgid "The @code{(guix monads)} module provides the @dfn{state monad}, which allows an additional value---the state---to be @emph{threaded} through monadic procedure calls." msgstr "Le module @code{(guix monads)} fournit la @dfn{monad d'état} qui permet à une valeur supplémentaire — l'état — d'être enfilée à travers les appels de procédures." #. type: defvr -#: doc/guix.texi:4839 +#: doc/guix.texi:5377 #, no-wrap msgid "{Scheme Variable} %state-monad" msgstr "{Variable Scheme} %state-monad" #. type: defvr -#: doc/guix.texi:4842 +#: doc/guix.texi:5380 msgid "The state monad. Procedures in the state monad can access and change the state that is threaded." msgstr "La monad d'état. les procédure dans la monad d'état peuvent accéder et modifier l'état qui est enfilé." #. type: defvr -#: doc/guix.texi:4846 +#: doc/guix.texi:5384 msgid "Consider the example below. The @code{square} procedure returns a value in the state monad. It returns the square of its argument, but also increments the current state value:" msgstr "Considérez l'exemple ci-dessous. La procédure @code{square} renvoie une valeur dans la monad d'état. Elle renvoie le carré de son argument, mais incrémente aussi la valeur actuelle de l'état :" #. type: example -#: doc/guix.texi:4853 +#: doc/guix.texi:5391 #, no-wrap msgid "" "(define (square x)\n" @@ -9417,7 +10383,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:4857 +#: doc/guix.texi:5395 #, no-wrap msgid "" "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n" @@ -9429,138 +10395,149 @@ msgstr "" "@result{} 3\n" #. type: defvr -#: doc/guix.texi:4861 +#: doc/guix.texi:5399 msgid "When ``run'' through @var{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls." msgstr "Lorsqu'on la lance à travers @var{%state-monad}, on obtient cet valeur d'état supplémentaire, qui est le nombre d'appels à @code{square}." #. type: deffn -#: doc/guix.texi:4863 +#: doc/guix.texi:5401 #, no-wrap msgid "{Monadic Procedure} current-state" -msgstr "{Procédure Monadic} current-state" +msgstr "{Procédure monadique} current-state" #. type: deffn -#: doc/guix.texi:4865 +#: doc/guix.texi:5403 msgid "Return the current state as a monadic value." msgstr "Renvoie l'état actuel dans une valeur monadique." #. type: deffn -#: doc/guix.texi:4867 +#: doc/guix.texi:5405 #, no-wrap msgid "{Monadic Procedure} set-current-state @var{value}" -msgstr "{Procédure Monadic} set-current-state @var{value}" +msgstr "{Procédure monadique} set-current-state @var{value}" #. type: deffn -#: doc/guix.texi:4870 +#: doc/guix.texi:5408 msgid "Set the current state to @var{value} and return the previous state as a monadic value." msgstr "Initialise l'état actuel à @var{value} et renvoie l'état précédent dans une valeur monadique." #. type: deffn -#: doc/guix.texi:4872 +#: doc/guix.texi:5410 #, no-wrap msgid "{Monadic Procedure} state-push @var{value}" -msgstr "{Procédure Monadic} state-push @var{value}" +msgstr "{Procédure monadique} state-push @var{value}" #. type: deffn -#: doc/guix.texi:4875 +#: doc/guix.texi:5413 msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value." msgstr "Pousse @var{value} sur l'état actuel, qui est supposé être une liste, et renvoie l'état précédent dans une valeur monadique." #. type: deffn -#: doc/guix.texi:4877 +#: doc/guix.texi:5415 #, no-wrap msgid "{Monadic Procedure} state-pop" -msgstr "{Procédure Monadic} state-pop" +msgstr "{Procédure monadique} state-pop" #. type: deffn -#: doc/guix.texi:4880 +#: doc/guix.texi:5418 msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list." msgstr "Récupère (pop) une valeur dans l'état actuel et la renvoie comme une valeur monadique. L'état est supposé être une liste." #. type: deffn -#: doc/guix.texi:4882 +#: doc/guix.texi:5420 #, no-wrap msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]" msgstr "{Procédure Scheme} run-with-state @var{mval} [@var{state}]" #. type: deffn -#: doc/guix.texi:4885 +#: doc/guix.texi:5423 msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state." msgstr "Lance la valeur monadique @var{mval} avec @var{state} comme valeur initiale. Renvoie deux valeurs : la valeur du résultat et l'état du résultat." #. type: Plain text -#: doc/guix.texi:4889 +#: doc/guix.texi:5427 msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows." msgstr "L'interface principale avec la monad du dépôt, fournit par le module @code{(guix store)}, est la suivante." #. type: defvr -#: doc/guix.texi:4890 +#: doc/guix.texi:5428 #, no-wrap msgid "{Scheme Variable} %store-monad" msgstr "{Variable Scheme} %store-monad" #. type: defvr -#: doc/guix.texi:4892 +#: doc/guix.texi:5430 msgid "The store monad---an alias for @var{%state-monad}." msgstr "La monad du dépôt — un alias pour @var{%state-monad}." #. type: defvr -#: doc/guix.texi:4896 +#: doc/guix.texi:5434 msgid "Values in the store monad encapsulate accesses to the store. When its effect is needed, a value of the store monad must be ``evaluated'' by passing it to the @code{run-with-store} procedure (see below.)" msgstr "Les valeurs dans la monad du dépôt encapsulent des accès au dépôt. Lorsque son effet est requis, une valeur de la monad du dépôt doit être « évaluée » en la passant à la procédure @code{run-with-store} (voir plus bas)." #. type: deffn -#: doc/guix.texi:4898 +#: doc/guix.texi:5436 #, no-wrap msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]" msgstr "{Procédure Scheme} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]" #. type: deffn -#: doc/guix.texi:4901 +#: doc/guix.texi:5439 msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection." msgstr "Lance @var{mval}, une valeur monadique dans la monad du dépôt, dans @var{store}, une connexion ouvert au dépôt." #. type: deffn -#: doc/guix.texi:4903 +#: doc/guix.texi:5441 #, no-wrap msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]" -msgstr "{Procédure Monadique} text-file @var{name} @var{text} [@var{references}]" +msgstr "{Procédure monadique} text-file @var{name} @var{text} [@var{references}]" #. type: deffn -#: doc/guix.texi:4907 +#: doc/guix.texi:5445 msgid "Return as a monadic value the absolute file name in the store of the file containing @var{text}, a string. @var{references} is a list of store items that the resulting text file refers to; it defaults to the empty list." msgstr "Renvoie une valeur monadique correspondant au nom de fichier dans le dépôt du fichier contenant @var{text}, une chaîne de caractères. @var{references} est une liste d'éléments du dépôt auxquels le fichier texte en résultat se réfère ; c'est la liste vide par défaut." #. type: deffn -#: doc/guix.texi:4909 +#: doc/guix.texi:5447 #, no-wrap -msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @" -msgstr "{Procédure Monadique} interned-file @var{file} [@var{name}] @" +msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]" +msgstr "{Procédure monadique} binary-file @var{name} @var{data} [@var{references}]" #. type: deffn -#: doc/guix.texi:4914 +#: doc/guix.texi:5451 +msgid "Return as a monadic value the absolute file name in the store of the file containing @var{data}, a bytevector. @var{references} is a list of store items that the resulting binary file refers to; it defaults to the empty list." +msgstr "Renvoie une valeur monadique correspondant au nom de fichier absolu dans le dépôt du fichier contenant @var{data}, un vecteur d'octets. @var{references} est une liste d'éléments du dépôt auxquels le fichier binaire en résultat se réfère ; c'est la liste vide par défaut." + +#. type: deffn +#: doc/guix.texi:5453 +#, no-wrap +msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @" +msgstr "{Procédure monadique} interned-file @var{file} [@var{name}] @" + +#. type: deffn +#: doc/guix.texi:5458 msgid "[#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once interned in the store. Use @var{name} as its store name, or the basename of @var{file} if @var{name} is omitted." msgstr "" "[#:recursive? #t] [#:select? (const #t)]\n" "Renvoie le nom de @var{file} une fois ajouté au dépôt. Utilise @var{name} comme nom dans le dépôt ou le nom de fichier de @var{file} si @var{name} est omis." #. type: deffn -#: doc/guix.texi:4918 doc/guix.texi:5330 +#: doc/guix.texi:5462 doc/guix.texi:5875 msgid "When @var{recursive?} is true, the contents of @var{file} are added recursively; if @var{file} designates a flat file and @var{recursive?} is true, its contents are added, and its permission bits are kept." msgstr "Lorsque @var{recursive?} est vraie, le contenu de @var{file} est ajouté récursivement ; si @var{file} désigne un fichier simple et que @var{recursive?} est vrai, son contenu est ajouté et ses bits de permissions sont préservés." #. type: deffn -#: doc/guix.texi:4923 doc/guix.texi:5335 +#: doc/guix.texi:5467 doc/guix.texi:5880 msgid "When @var{recursive?} is true, call @code{(@var{select?} @var{file} @var{stat})} for each directory entry, where @var{file} is the entry's absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true." msgstr "Lorsque @var{recursive?} est vraie, appelle @code{(@var{select?} @var{file} @var{stat})} pour chaque répertoire où @var{file} est le nom de fichier absolu de l'entrée et @var{stat} est le résultat de @code{lstat} ; à l'exception des entrées pour lesquelles @var{select?} ne renvoie pas vrai." #. type: deffn -#: doc/guix.texi:4925 +#: doc/guix.texi:5469 msgid "The example below adds a file to the store, under two different names:" msgstr "L'exemple ci-dessous ajoute un fichier au dépôt, sous deux noms différents :" #. type: example -#: doc/guix.texi:4931 +#: doc/guix.texi:5475 #, no-wrap msgid "" "(run-with-store (open-connection)\n" @@ -9576,24 +10553,24 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:4933 +#: doc/guix.texi:5477 #, no-wrap msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n" msgstr "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n" #. type: Plain text -#: doc/guix.texi:4939 +#: doc/guix.texi:5483 msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:" msgstr "Le module @code{(guix packages)} exporte les procédures monadiques liées aux paquets suivantes :" #. type: deffn -#: doc/guix.texi:4940 +#: doc/guix.texi:5484 #, no-wrap msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @" -msgstr "{Procédure Monadique} package-file @var{package} [@var{file}] @" +msgstr "{Procédure monadique} package-file @var{package} [@var{file}] @" #. type: deffn -#: doc/guix.texi:4948 +#: doc/guix.texi:5492 msgid "[#:system (%current-system)] [#:target #f] @ [#:output \"out\"] Return as a monadic value in the absolute file name of @var{file} within the @var{output} directory of @var{package}. When @var{file} is omitted, return the name of the @var{output} directory of @var{package}. When @var{target} is true, use it as a cross-compilation target triplet." msgstr "" "[#:system (%current-system)] [#:target #f] @\n" @@ -9601,95 +10578,95 @@ msgstr "" "Renvoie une valeur monadique qui contient le nom de fichier absolu de @var{file} dans le répertoire @var{output} de @var{package}. Lorsque @var{file} est omis, renvoie le nom du répertoire @var{output} de @var{package}. Lorsque @var{target} est vrai, l'utilise comme un triplet de cible pour la compilation croisée." #. type: deffn -#: doc/guix.texi:4950 +#: doc/guix.texi:5494 #, no-wrap msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]" -msgstr "{Procédure Monadique} package->derivation @var{package} [@var{system}]" +msgstr "{Procédure monadique} package->derivation @var{package} [@var{system}]" #. type: deffnx -#: doc/guix.texi:4951 +#: doc/guix.texi:5495 #, no-wrap msgid "{Monadic Procedure} package->cross-derivation @var{package} @" -msgstr "{Procédure Monadique} package->cross-derivation @var{package} @" +msgstr "{Procédure monadique} package->cross-derivation @var{package} @" #. type: deffn -#: doc/guix.texi:4955 +#: doc/guix.texi:5499 msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})." msgstr "" "@var{target} [@var{system}]\n" "Version monadique de @code{package-derivation} et @code{package-cross-derivation} (@pxref{Defining Packages})." #. type: cindex -#: doc/guix.texi:4961 +#: doc/guix.texi:5505 #, no-wrap msgid "G-expression" msgstr "G-expression" #. type: cindex -#: doc/guix.texi:4962 +#: doc/guix.texi:5506 #, no-wrap msgid "build code quoting" msgstr "quoting du code de construction" #. type: Plain text -#: doc/guix.texi:4968 +#: doc/guix.texi:5512 msgid "So we have ``derivations'', which represent a sequence of build actions to be performed to produce an item in the store (@pxref{Derivations}). These build actions are performed when asking the daemon to actually build the derivations; they are run by the daemon in a container (@pxref{Invoking guix-daemon})." msgstr "On a donc des « dérivations » qui représentent une séquence d'actions de construction à effectuer pour produire un élément du dépôt (@pxref{Derivations}). Ces actions de construction sont effectuées lorsqu'on demande au démon de construire effectivement les dérivations ; elles sont lancées par le démon dans un conteneur (@pxref{Invoking guix-daemon})." #. type: cindex -#: doc/guix.texi:4969 +#: doc/guix.texi:5513 #, no-wrap msgid "strata of code" msgstr "strate de code" #. type: Plain text -#: doc/guix.texi:4981 +#: doc/guix.texi:5525 msgid "It should come as no surprise that we like to write these build actions in Scheme. When we do that, we end up with two @dfn{strata} of Scheme code@footnote{The term @dfn{stratum} in this context was coined by Manuel Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who has written insightful @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on this topic}, refers to this kind of code generation as @dfn{staging}.}: the ``host code''---code that defines packages, talks to the daemon, etc.---and the ``build code''---code that actually performs build actions, such as making directories, invoking @command{make}, etc." msgstr "Ça ne devrait pas vous surprendre, mais nous aimons écrire ces actions de construction en Scheme. Lorsqu'on fait ça, on fini avec deux @dfn{strates} de code Scheme@footnote{Le terme @dfn{strate} dans ce contexte a été inventé par Manuel Serrano et ses collaborateurs dans le contexte de leur travaux sur Hop. Oleg Kiselyov, qui a écrit des @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essais perspicaces et du code sur le sujet}, utilise le terme de « mise en scène » pour ce genre de génération de code.} : le « code hôte » — le code qui défini les paquets, parle au démon, etc — et le « code côté construction » — le code qui effectue effectivement les actions de construction, comme créer des répertoires, invoquer @code{make}, etc." #. type: Plain text -#: doc/guix.texi:4988 +#: doc/guix.texi:5532 msgid "To describe a derivation and its build actions, one typically needs to embed build code inside host code. It boils down to manipulating build code as data, and the homoiconicity of Scheme---code has a direct representation as data---comes in handy for that. But we need more than the normal @code{quasiquote} mechanism in Scheme to construct build expressions." msgstr "Pour décrire une dérivation et ses actions de construction, on a typiquement besoin d'intégrer le code de construction dans le code hôte. Ça revient à manipuler le code de construction comme de la donnée, et l'homoiconicité de Scheme — le code a une représentation directe en tant que donnée — est très utile pour cela. Mais on a besoin de plus que le mécanisme de @code{quasiquote} en Scheme pour construire des expressions de construction." #. type: Plain text -#: doc/guix.texi:4997 +#: doc/guix.texi:5541 msgid "The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and @code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and @code{unquote-splicing}, respectively (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are major differences:" msgstr "Le module @code{(guix gexp)} implémente les @dfn{G-expressions}, une forme de S-expression adaptée aux expressions de construction. Les G-expression, ou @dfn{gexps}, consistent en gros en trois formes syntaxiques : @code{gexp}, @code{ungexp} et @code{ungexp-splicing} (ou plus simplement : @code{#~}, @code{#$} et @code{#$@@}), qui sont comparable à @code{quasiquote}, @code{unquote} ett @code{unquote-splicing} respectivement (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). Cependant il y a des différences majeures :" #. type: itemize -#: doc/guix.texi:5002 +#: doc/guix.texi:5546 msgid "Gexps are meant to be written to a file and run or manipulated by other processes." msgstr "Les Gexps sont conçues pour être écrites dans un fichier et être lancées ou manipulées par d'autres processus." #. type: itemize -#: doc/guix.texi:5007 +#: doc/guix.texi:5551 msgid "When a high-level object such as a package or derivation is unquoted inside a gexp, the result is as if its output file name had been introduced." msgstr "Lorsqu'un objet de haut-niveau comme un paquet ou une dérivation est unquotée dans une gexp, le résultat est comme si le nom de fichier de son résultat avait été introduit." #. type: itemize -#: doc/guix.texi:5012 +#: doc/guix.texi:5556 msgid "Gexps carry information about the packages or derivations they refer to, and these dependencies are automatically added as inputs to the build processes that use them." msgstr "Les gexps transportent des informatinos sur les paquets ou les dérivations auxquels elles se réfèrent, et ces dépendances sont automatiquement ajoutées comme des entrées du processus de construction qui les utilise." #. type: cindex -#: doc/guix.texi:5014 doc/guix.texi:5517 +#: doc/guix.texi:5558 doc/guix.texi:6062 #, no-wrap msgid "lowering, of high-level objects in gexps" msgstr "abaissement, des objets haut-niveau dans les gepxs" #. type: Plain text -#: doc/guix.texi:5024 +#: doc/guix.texi:5568 msgid "This mechanism is not limited to package and derivation objects: @dfn{compilers} able to ``lower'' other high-level objects to derivations or files in the store can be defined, such that these objects can also be inserted into gexps. For example, a useful type of high-level objects that can be inserted in a gexp is ``file-like objects'', which make it easy to add files to the store and to refer to them in derivations and such (see @code{local-file} and @code{plain-file} below.)" msgstr "Ce mécanisme n'est pas limité aux paquets et aux dérivations : on peut définir des @dfn{compilateurs} capable « d'abaisser » d'autres objets de haut-niveau ou des fichiers dans le dépôt, pour que ces objets puissent aussi être insérés dans des gexps. Par exemple, des objets haut-niveau utiles qui pourraient être insérées dans une gexp sont les « objets simili-fichiers », qui rendent facile l'ajout de fichiers dans le dépôt et les références vers eux dans les dérivations et autres (voir @code{local-file} et @code{plain-file} ci-dessous)." #. type: Plain text -#: doc/guix.texi:5026 +#: doc/guix.texi:5570 msgid "To illustrate the idea, here is an example of a gexp:" msgstr "Pour illustrer cette idée, voici un exemple de gexp :" #. type: example -#: doc/guix.texi:5034 +#: doc/guix.texi:5578 #, no-wrap msgid "" "(define build-exp\n" @@ -9707,34 +10684,34 @@ msgstr "" " \"list-files\")))\n" #. type: Plain text -#: doc/guix.texi:5039 +#: doc/guix.texi:5583 msgid "This gexp can be passed to @code{gexp->derivation}; we obtain a derivation that builds a directory containing exactly one symlink to @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}:" msgstr "Cette gexp peut être passée à @code{gexp->derivation} ; on obtient une dérivation qui construit une répertoire contenant exactement un lien symbolique à @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls} :" #. type: example -#: doc/guix.texi:5042 +#: doc/guix.texi:5586 #, no-wrap msgid "(gexp->derivation \"the-thing\" build-exp)\n" msgstr "(gexp->derivation \"the-thing\" build-exp)\n" #. type: Plain text -#: doc/guix.texi:5050 +#: doc/guix.texi:5594 msgid "As one would expect, the @code{\"/gnu/store/@dots{}-coreutils-8.22\"} string is substituted to the reference to the @var{coreutils} package in the actual build code, and @var{coreutils} is automatically made an input to the derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp output)}) is replaced by a string containing the directory name of the output of the derivation." msgstr "Comme on pourrait s'y attendre, la chaîne @code{\"/gnu/store/@dots{}-coreutils-8.22\"} est substituée à la place de la référence au paquet @var{coreutils} dans le code de construction final, et @var{coreutils} est automatiquement devenu une entrée de la dérivation. De même, @code{#$output} (équivalent à @code{(ungexp output)}) est remplacé par une chaîne de caractères contenant le nom du répertoire de la sortie de la dérivation." #. type: cindex -#: doc/guix.texi:5051 +#: doc/guix.texi:5595 #, no-wrap msgid "cross compilation" msgstr "compilation croisée" #. type: Plain text -#: doc/guix.texi:5057 +#: doc/guix.texi:5601 msgid "In a cross-compilation context, it is useful to distinguish between references to the @emph{native} build of a package---that can run on the host---versus references to cross builds of a package. To that end, the @code{#+} plays the same role as @code{#$}, but is a reference to a native package build:" msgstr "Dans le contexte d'une compilation croisée, il est utile de distinguer entre des références à la construction @emph{native} d'un paquet — qui peut être lancé par l'hôte — et des références à la construction croisée d'un paquet. Pour cela, @code{#+} joue le même rôle que @code{#$}, mais référence une construction native d'un paquet :" #. type: example -#: doc/guix.texi:5067 +#: doc/guix.texi:5611 #, no-wrap msgid "" "(gexp->derivation \"vi\"\n" @@ -9756,29 +10733,29 @@ msgstr "" " #:target \"mips64el-linux-gnu\")\n" #. type: Plain text -#: doc/guix.texi:5073 +#: doc/guix.texi:5617 msgid "In the example above, the native build of @var{coreutils} is used, so that @command{ln} can actually run on the host; but then the cross-compiled build of @var{emacs} is referenced." msgstr "Dans l'exemple ci-dessus, la construction native de @var{coreutils} est utilisée, pour que @command{ln} puisse effectivement être lancé sur l'hôte ; mais ensuite la construction croisée d'@var{emacs} est utilisée." #. type: cindex -#: doc/guix.texi:5074 +#: doc/guix.texi:5618 #, no-wrap msgid "imported modules, for gexps" msgstr "modules importés, pour les gexps" #. type: findex -#: doc/guix.texi:5075 +#: doc/guix.texi:5619 #, no-wrap msgid "with-imported-modules" msgstr "with-imported-modules" #. type: Plain text -#: doc/guix.texi:5080 +#: doc/guix.texi:5624 msgid "Another gexp feature is @dfn{imported modules}: sometimes you want to be able to use certain Guile modules from the ``host environment'' in the gexp, so those modules should be imported in the ``build environment''. The @code{with-imported-modules} form allows you to express that:" msgstr "Une autre fonctionnalité, ce sont les @dfn{modules importés} : parfois vous voudriez pouvoir utiliser certains modules Guile de « l'environnement hôte » dans la gexp, donc ces modules devraient être importés dans « l'environnement de construction ». La forme @code{with-imported-modules} vous permet d'exprimer ça :" #. type: example -#: doc/guix.texi:5091 +#: doc/guix.texi:5635 #, no-wrap msgid "" "(let ((build (with-imported-modules '((guix build utils))\n" @@ -9802,29 +10779,29 @@ msgstr "" " #t)))\n" #. type: Plain text -#: doc/guix.texi:5097 +#: doc/guix.texi:5641 msgid "In this example, the @code{(guix build utils)} module is automatically pulled into the isolated build environment of our gexp, such that @code{(use-modules (guix build utils))} works as expected." msgstr "Dans cet exemple, le module @code{(guix build utils)} est automatiquement récupéré dans l'environnement de construction isolé de notre gexp, pour que @code{(use-modules (guix build utils))} fonctionne comme on s'y attendrait." #. type: cindex -#: doc/guix.texi:5098 +#: doc/guix.texi:5642 #, no-wrap msgid "module closure" msgstr "closure de module" #. type: findex -#: doc/guix.texi:5099 +#: doc/guix.texi:5643 #, no-wrap msgid "source-module-closure" msgstr "source-module-closure" #. type: Plain text -#: doc/guix.texi:5106 +#: doc/guix.texi:5650 msgid "Usually you want the @emph{closure} of the module to be imported---i.e., the module itself and all the modules it depends on---rather than just the module; failing to do that, attempts to use the module will fail because of missing dependent modules. The @code{source-module-closure} procedure computes the closure of a module by looking at its source file headers, which comes in handy in this case:" msgstr "Typiquement, vous voudriez que la @emph{closure} complète du mondule soit importé — c.-à-d.@: le module lui-même et tous les modules dont il dépend — plutôt que seulement le module ; sinon, une tentative de chargement du module échouera à cause des modules dépendants manquants. La procédure @code{source-module-closure} calcule la closure d'un module en cherchant dans ses en-têtes sources, ce qui est pratique dans ce cas :" #. type: example -#: doc/guix.texi:5109 +#: doc/guix.texi:5653 #, no-wrap msgid "" "(use-modules (guix modules)) ;for 'source-module-closure'\n" @@ -9834,7 +10811,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:5118 +#: doc/guix.texi:5662 #, no-wrap msgid "" "(with-imported-modules (source-module-closure\n" @@ -9856,24 +10833,24 @@ msgstr "" " @dots{})))\n" #. type: cindex -#: doc/guix.texi:5120 +#: doc/guix.texi:5664 #, no-wrap msgid "extensions, for gexps" msgstr "extensions, des gexps" #. type: findex -#: doc/guix.texi:5121 +#: doc/guix.texi:5665 #, no-wrap msgid "with-extensions" msgstr "with-extensions" #. type: Plain text -#: doc/guix.texi:5126 +#: doc/guix.texi:5670 msgid "In the same vein, sometimes you want to import not just pure-Scheme modules, but also ``extensions'' such as Guile bindings to C libraries or other ``full-blown'' packages. Say you need the @code{guile-json} package available on the build side, here's how you would do it:" msgstr "Dans la même idée, parfois vous pouvez souhaiter importer non seulement des modules en Scheme pur, mais aussi des « extensions » comme des liaisons Guile de bibliothèques C ou d'autres paquet « complets ». Disons que vous voulez utiliser le paquet @code{guile-json} du côté de la construction, voici comme procéder :" #. type: example -#: doc/guix.texi:5129 +#: doc/guix.texi:5673 #, no-wrap msgid "" "(use-modules (gnu packages guile)) ;for 'guile-json'\n" @@ -9883,7 +10860,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:5135 +#: doc/guix.texi:5679 #, no-wrap msgid "" "(with-extensions (list guile-json)\n" @@ -9899,184 +10876,184 @@ msgstr "" " @dots{})))\n" #. type: Plain text -#: doc/guix.texi:5138 +#: doc/guix.texi:5682 msgid "The syntactic form to construct gexps is summarized below." msgstr "La forme syntaxique pour construire des gexps est résumée ci-dessous." #. type: deffn -#: doc/guix.texi:5139 +#: doc/guix.texi:5683 #, no-wrap msgid "{Scheme Syntax} #~@var{exp}" msgstr "{Syntaxe Scheme} #~@var{exp}" #. type: deffnx -#: doc/guix.texi:5140 +#: doc/guix.texi:5684 #, no-wrap msgid "{Scheme Syntax} (gexp @var{exp})" msgstr "{Syntaxe Scheme} (gexp @var{exp})" #. type: deffn -#: doc/guix.texi:5143 +#: doc/guix.texi:5687 msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:" msgstr "Renvoie une G-expression contenant @var{exp}. @var{exp} peut contenir une ou plusieurs de ces formes :" #. type: item -#: doc/guix.texi:5145 +#: doc/guix.texi:5689 #, no-wrap msgid "#$@var{obj}" msgstr "#$@var{obj}" #. type: itemx -#: doc/guix.texi:5146 +#: doc/guix.texi:5690 #, no-wrap msgid "(ungexp @var{obj})" msgstr "(ungexp @var{obj})" #. type: table -#: doc/guix.texi:5151 +#: doc/guix.texi:5695 msgid "Introduce a reference to @var{obj}. @var{obj} may have one of the supported types, for example a package or a derivation, in which case the @code{ungexp} form is replaced by its output file name---e.g., @code{\"/gnu/store/@dots{}-coreutils-8.22}." msgstr "Introduit une référence à @var{obj}. @var{obj} peut être d'un des types supportés, par exemple un paquet ou une dérivation, auquel cas la forme @code{ungexp} est remplacée par le nom de fichier de sa sortie — p.@: ex.@: @code{\"/gnu/store/@dots{}-coreutils-8.22}." #. type: table -#: doc/guix.texi:5154 +#: doc/guix.texi:5698 msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly." msgstr "Si @var{boj} est une liste, elle est traversée et les références aux objets supportés sont substitués de manière similaire." #. type: table -#: doc/guix.texi:5157 +#: doc/guix.texi:5701 msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp." msgstr "Si @var{obj} est une autre gexp, son contenu est inséré et ses dépendances sont ajoutées à celle de la gexp qui l'entoure." #. type: table -#: doc/guix.texi:5159 +#: doc/guix.texi:5703 msgid "If @var{obj} is another kind of object, it is inserted as is." msgstr "Si @var{obj} est un autre type d'objet, il est inséré tel quel." #. type: item -#: doc/guix.texi:5160 +#: doc/guix.texi:5704 #, no-wrap msgid "#$@var{obj}:@var{output}" msgstr "#$@var{obj}:@var{output}" #. type: itemx -#: doc/guix.texi:5161 +#: doc/guix.texi:5705 #, no-wrap msgid "(ungexp @var{obj} @var{output})" msgstr "(ungexp @var{obj} @var{output})" #. type: table -#: doc/guix.texi:5165 +#: doc/guix.texi:5709 msgid "This is like the form above, but referring explicitly to the @var{output} of @var{obj}---this is useful when @var{obj} produces multiple outputs (@pxref{Packages with Multiple Outputs})." msgstr "Cette forme est similaire à la précédente, mais se réfère explicitement à la sortie @var{output} de l'objet @var{obj} — c'est utile lorsque @var{obj} produit plusieurs sorties (@pxref{Packages with Multiple Outputs})." #. type: item -#: doc/guix.texi:5166 +#: doc/guix.texi:5710 #, no-wrap msgid "#+@var{obj}" msgstr "#+@var{obj}" #. type: itemx -#: doc/guix.texi:5167 +#: doc/guix.texi:5711 #, no-wrap msgid "#+@var{obj}:output" msgstr "#+@var{obj}:output" #. type: itemx -#: doc/guix.texi:5168 +#: doc/guix.texi:5712 #, no-wrap msgid "(ungexp-native @var{obj})" msgstr "(ungexp-native @var{obj})" #. type: itemx -#: doc/guix.texi:5169 +#: doc/guix.texi:5713 #, no-wrap msgid "(ungexp-native @var{obj} @var{output})" msgstr "(ungexp-native @var{obj} @var{output})" #. type: table -#: doc/guix.texi:5172 +#: doc/guix.texi:5716 msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context." msgstr "Comme @code{ungexp}, mais produit une référence à la construction @emph{native} de @var{obj} lorsqu'elle est utilisée dans une compilation croisée." #. type: item -#: doc/guix.texi:5173 +#: doc/guix.texi:5717 #, no-wrap msgid "#$output[:@var{output}]" msgstr "#$output[:@var{output}]" #. type: itemx -#: doc/guix.texi:5174 +#: doc/guix.texi:5718 #, no-wrap msgid "(ungexp output [@var{output}])" msgstr "(ungexp output [@var{output}])" #. type: table -#: doc/guix.texi:5177 +#: doc/guix.texi:5721 msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted." msgstr "Insère une référence à la sortie @var{output} de la dérivation, ou à la sortie principale lorsque @var{output} est omis." #. type: table -#: doc/guix.texi:5179 +#: doc/guix.texi:5723 msgid "This only makes sense for gexps passed to @code{gexp->derivation}." msgstr "Cela ne fait du sens que pour les gexps passées à @code{gexp->derivation}." #. type: item -#: doc/guix.texi:5180 +#: doc/guix.texi:5724 #, no-wrap msgid "#$@@@var{lst}" msgstr "#$@@@var{lst}" #. type: itemx -#: doc/guix.texi:5181 +#: doc/guix.texi:5725 #, no-wrap msgid "(ungexp-splicing @var{lst})" msgstr "(ungexp-splicing @var{lst})" #. type: table -#: doc/guix.texi:5184 +#: doc/guix.texi:5728 msgid "Like the above, but splices the contents of @var{lst} inside the containing list." msgstr "Comme au dessus, mais recolle (@i{splice}) le contenu de @var{lst} dans la liste qui la contient." #. type: item -#: doc/guix.texi:5185 +#: doc/guix.texi:5729 #, no-wrap msgid "#+@@@var{lst}" msgstr "#+@@@var{lst}" #. type: itemx -#: doc/guix.texi:5186 +#: doc/guix.texi:5730 #, no-wrap msgid "(ungexp-native-splicing @var{lst})" msgstr "(ungexp-native-splicing @var{lst})" #. type: table -#: doc/guix.texi:5189 +#: doc/guix.texi:5733 msgid "Like the above, but refers to native builds of the objects listed in @var{lst}." msgstr "Comme au dessus, mais se réfère à la construction native des objets listés dans @var{lst}." #. type: deffn -#: doc/guix.texi:5194 +#: doc/guix.texi:5738 msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below.)" msgstr "Les G-expressions crées par @code{gexp} ou @code{#~} sont des objets à l'exécution du type @code{gexp?} (voir plus bas)." #. type: deffn -#: doc/guix.texi:5196 +#: doc/guix.texi:5740 #, no-wrap msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}" msgstr "{Syntaxe Scheme} with-imported-modules @var{modules} @var{body}@dots{}" #. type: deffn -#: doc/guix.texi:5199 +#: doc/guix.texi:5743 msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment." msgstr "Marque les gexps définies dans @var{body}@dots{} comme requérant @var{modules} dans leur environnement d'exécution." #. type: deffn -#: doc/guix.texi:5203 +#: doc/guix.texi:5747 msgid "Each item in @var{modules} can be the name of a module, such as @code{(guix build utils)}, or it can be a module name, followed by an arrow, followed by a file-like object:" msgstr "Chaque élément dans @var{module} peut être le nom d'un module, comme @code{(guix build utils)} ou le nom d'un module suivi d'une flêche, suivie d'un objet simili-fichier :" #. type: example -#: doc/guix.texi:5209 +#: doc/guix.texi:5753 #, no-wrap msgid "" "`((guix build utils)\n" @@ -10090,56 +11067,56 @@ msgstr "" " #~(define-module @dots{}))))\n" #. type: deffn -#: doc/guix.texi:5214 +#: doc/guix.texi:5758 msgid "In the example above, the first two modules are taken from the search path, and the last one is created from the given file-like object." msgstr "Dans l'exemple au dessus, les deux premiers modules sont récupérés dans le chemin de recherche, et le dernier est créé à partir d'un objet simili-fichier." #. type: deffn -#: doc/guix.texi:5218 +#: doc/guix.texi:5762 msgid "This form has @emph{lexical} scope: it has an effect on the gexps directly defined in @var{body}@dots{}, but not on those defined, say, in procedures called from @var{body}@dots{}." msgstr "Cette forme a une portée @emph{lexicale} : elle a un effet sur les gexp directement définies dans @var{body}@dots{}, mais pas sur celles définies dans des procédures appelées par @var{body}@dots{}." #. type: deffn -#: doc/guix.texi:5220 +#: doc/guix.texi:5764 #, no-wrap msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}" msgstr "{Syntaxe Scheme} with-extensions @var{extensions} @var{body}@dots{}" #. type: deffn -#: doc/guix.texi:5225 +#: doc/guix.texi:5769 msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{extensions} in their build and execution environment. @var{extensions} is typically a list of package objects such as those defined in the @code{(gnu packages guile)} module." msgstr "Marque les gexps définies dans @var{body}@dots{} comme requérant @var{extensions} dans leur environnement de construction et d'exécution. @var{extensions} est typiquement une liste d'objets paquets comme définis dans le module @code{(gnu packages guile)}." #. type: deffn -#: doc/guix.texi:5230 +#: doc/guix.texi:5774 msgid "Concretely, the packages listed in @var{extensions} are added to the load path while compiling imported modules in @var{body}@dots{}; they are also added to the load path of the gexp returned by @var{body}@dots{}." msgstr "Concrètement, les paquets listés dans @var{extensions} sont ajoutés au chemin de chargement lors de la compilation des modules importés dans @var{body}@dots{} ; ils sont aussi ajoutés au chemin de chargement de la gexp renvoyée par @var{body}@dots{}." #. type: deffn -#: doc/guix.texi:5232 +#: doc/guix.texi:5776 #, no-wrap msgid "{Scheme Procedure} gexp? @var{obj}" msgstr "{Procédure Scheme} gexp? @var{obj}" #. type: deffn -#: doc/guix.texi:5234 +#: doc/guix.texi:5778 msgid "Return @code{#t} if @var{obj} is a G-expression." msgstr "Renvoie @code{#t} si @var{obj} est une G-expression." #. type: Plain text -#: doc/guix.texi:5240 +#: doc/guix.texi:5784 msgid "G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more information about monads.)" msgstr "Les G-expressions sont conçues pour être écrites sur le disque, soit en tant que code pour construire une dérivation, soit en tant que fichier normal dans le dépôt. Les procédure monadiques suivantes vous permettent de faire cela (@pxref{The Store Monad}, pour plus d'information sur les monads)." #. type: deffn -#: doc/guix.texi:5241 +#: doc/guix.texi:5785 #, no-wrap msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @" -msgstr "{Procédure Monadique} gexp->derivation @var{name} @var{exp} @" +msgstr "{Procédure monadique} gexp->derivation @var{name} @var{exp} @" #. type: deffn -#: doc/guix.texi:5258 -msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @var{%load-path}] @ [#:effective-version \"2.2\"] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}." +#: doc/guix.texi:5803 +msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @var{%load-path}] @ [#:effective-version \"2.2\"] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] @ [#:properties '()] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}." msgstr "" "[#:system (%current-system)] [#:target #f] [#:graft? #t] @\n" "[#:hash #f] [#:hash-algo #f] @\n" @@ -10147,35 +11124,35 @@ msgstr "" "[#:module-path @var{%load-path}] @\n" "[#:effective-version \"2.2\"] @\n" "[#:references-graphs #f] [#:allowed-references #f] @\n" -"[#:disallowed-references #f] @\n" -"[#:leaked-env-vars #f] @\n" +"[#:disallowed-references #f] @ [#:leaked-env-vars #f] @\n" "[#:script-name (string-append @var{name} \"-builder\")] @\n" "[#:deprecation-warnings #f] @\n" -"[#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f]\n" +"[#:local-build? #f] [#:substitutable? #t] @\n" +"[#:properties '()] [#:guile-for-build #f]\n" "Renvoie une dérivation @var{name} qui lance @var{exp} (une gexp) avec @var{guile-for-build} (une dérivation) sur @var{system} ; @var{exp} est stocké dans un fichier appelé @var{script-name}. Lorsque @var{target} est vraie, elle est utilisée comme triplet de cible de compilation croisée pour les paquets référencés par @var{exp}." #. type: deffn -#: doc/guix.texi:5266 +#: doc/guix.texi:5811 msgid "@var{modules} is deprecated in favor of @code{with-imported-modules}. Its meaning is to make @var{modules} available in the evaluation context of @var{exp}; @var{modules} is a list of names of Guile modules searched in @var{module-path} to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}." msgstr "@var{modules} est devenu obsolète en faveur de @code{with-imported-modules}. Sa signification est de rendre @var{modules} disponibles dans le contexte d'évaluation de @var{exp} ; @var{modules} est une liste de noms de modules Guile qui sont cherchés dans @var{module-path} pour les copier dans le dépôt, les compiler et les rendre disponibles dans le chemin de chargement pendant l'exécution de @var{exp} — p.@: ex.@: @code{((guix build utils) (guix build gnu-build-system))}." #. type: deffn -#: doc/guix.texi:5269 +#: doc/guix.texi:5814 msgid "@var{effective-version} determines the string to use when adding extensions of @var{exp} (see @code{with-extensions}) to the search path---e.g., @code{\"2.2\"}." msgstr "@var{effective-version} détermine la chaîne à utiliser lors d'ajout d'extensions de @var{exp} (voir @code{with-extensions}) au chemin de recherche — p.@: ex.@: @code{\"2.2\"}." #. type: deffn -#: doc/guix.texi:5272 +#: doc/guix.texi:5817 msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable." msgstr "@var{graft?} détermine si les paquets référencés par @var{exp} devraient être greffés si possible." #. type: deffn -#: doc/guix.texi:5275 +#: doc/guix.texi:5820 msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:" msgstr "Lorsque @var{references-graphs} est vrai, il doit s'agir d'une liste de tuples de la forme suivante :" #. type: example -#: doc/guix.texi:5282 +#: doc/guix.texi:5827 #, no-wrap msgid "" "(@var{file-name} @var{package})\n" @@ -10191,38 +11168,38 @@ msgstr "" "(@var{file-name} @var{store-item})\n" #. type: deffn -#: doc/guix.texi:5288 +#: doc/guix.texi:5833 msgid "The right-hand-side of each element of @var{references-graphs} is automatically made an input of the build process of @var{exp}. In the build environment, each @var{file-name} contains the reference graph of the corresponding item, in a simple text format." msgstr "La partie droite des éléments de @var{references-graphs} est automatiquement transformée en une entrée du processus de construction @var{exp}. Dans l'environnement de construction, chaque @var{file-name} contient le graphe des références de l'élément correspondant, dans un format texte simple." #. type: deffn -#: doc/guix.texi:5294 +#: doc/guix.texi:5839 msgid "@var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. Similarly for @var{disallowed-references}, which can list items that must not be referenced by the outputs." msgstr "@var{allowed-references} doit soit être @code{#f}, soit une liste de noms de sorties ou de paquets. Dans ce dernier cas, la liste dénote les éléments du dépôt auxquels le résultat a le droit de faire référence. Toute référence à un autre élément du dépôt conduira à une erreur à la construction. Comme pour @var{disallowed-references}, qui peut lister des éléments qui ne doivent pas être référencés par les sorties." #. type: deffn -#: doc/guix.texi:5297 +#: doc/guix.texi:5842 msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}." msgstr "@var{deprecation-warnings} détermine s'il faut afficher les avertissement d'obsolescence à la compilation de modules. Il peut valoir @code{#f}, @code{t} ou @code{'detailed}." #. type: deffn -#: doc/guix.texi:5299 +#: doc/guix.texi:5844 msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})." msgstr "Les autres arguments sont les mêmes que pour @code{derivation} (@pxref{Derivations})." #. type: cindex -#: doc/guix.texi:5301 +#: doc/guix.texi:5846 #, no-wrap msgid "file-like objects" msgstr "objets simili-fichiers" #. type: Plain text -#: doc/guix.texi:5306 +#: doc/guix.texi:5851 msgid "The @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file}, and @code{scheme-file} procedures below return @dfn{file-like objects}. That is, when unquoted in a G-expression, these objects lead to a file in the store. Consider this G-expression:" msgstr "Les procédures @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file} et @code{scheme-file} ci-dessous renvoient des @dfn{objets simili-fichiers}. C'est-à-dire, lorsqu'ils sont unquotés dans une G-expression, ces objets donnent un fichier dans le dépôt. Considérez cette G-expression :" #. type: example -#: doc/guix.texi:5310 +#: doc/guix.texi:5855 #, no-wrap msgid "" "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n" @@ -10232,82 +11209,82 @@ msgstr "" " #$(local-file \"/tmp/my-nscd.conf\"))\n" #. type: Plain text -#: doc/guix.texi:5319 +#: doc/guix.texi:5864 msgid "The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the G-expression refers to that copy under @file{/gnu/store}; thus, modifying or removing the file in @file{/tmp} does not have any effect on what the G-expression does. @code{plain-file} can be used similarly; it differs in that the file content is directly passed as a string." msgstr "Ici, l'effet est « d'internaliser » @file{/tmp/my-nscd.conf} en le copiant dans le dépôt. Une fois étendu, par exemple via @code{gexp->derivation}, la G-expression se réfère à cette copie dans @file{/gnu/store} ; ainsi, modifier ou supprimer le fichier dans @file{/tmp} n'a aucun effet sur ce que fait la G-expression. @code{plain-file} peut être utilisé de la même manière ; elle est seulement différente par le fait que le contenu du fichier est passé directement par une chaîne de caractères." #. type: deffn -#: doc/guix.texi:5320 +#: doc/guix.texi:5865 #, no-wrap msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @" msgstr "{Procédure Scheme} local-file @var{file} [@var{name}] @" #. type: deffn -#: doc/guix.texi:5326 +#: doc/guix.texi:5871 msgid "[#:recursive? #f] [#:select? (const #t)] Return an object representing local file @var{file} to add to the store; this object can be used in a gexp. If @var{file} is a relative file name, it is looked up relative to the source file where this form appears. @var{file} will be added to the store under @var{name}--by default the base name of @var{file}." msgstr "" "[#:recursive? #f] [#:select? (const #t)]\n" "Renvoie un objet représentant un fichier local @var{file} à ajouter au dépôt ; cet objet peut être utilisé dans une gexp. Si @var{file} est un nom de fichier relatif, il est récupéré à partir de la position du fichier source dans lequel il apparaît. @var{file} sera ajouté au dépôt sous le nom @var{name} — par défaut le nom de base de @var{file}." #. type: deffn -#: doc/guix.texi:5338 +#: doc/guix.texi:5883 msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})." msgstr "C'est la version déclarative de la procédure monadique @code{interned-file} (@pxref{The Store Monad, @code{interned-file}})." #. type: deffn -#: doc/guix.texi:5340 +#: doc/guix.texi:5885 #, no-wrap msgid "{Scheme Procedure} plain-file @var{name} @var{content}" msgstr "{Procédure Scheme} plain-file @var{name} @var{content}" #. type: deffn -#: doc/guix.texi:5343 -msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string) to be added to the store." -msgstr "Renvoie un objet représentant un fichier texte nommé @var{name} avec pour contenu @var{content} (une chaîne de caractères) à ajouter un dépôt." +#: doc/guix.texi:5888 +msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string or a bytevector) to be added to the store." +msgstr "Renvoie un objet représentant un fichier texte nommé @var{name} avec pour contenu @var{content} (une chaîne de caractères ou un vecteur d'octets) à ajouter un dépôt." #. type: deffn -#: doc/guix.texi:5345 +#: doc/guix.texi:5890 msgid "This is the declarative counterpart of @code{text-file}." msgstr "C'est la version déclarative de @code{text-file}." #. type: deffn -#: doc/guix.texi:5347 +#: doc/guix.texi:5892 #, no-wrap msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @" msgstr "{Procédure Scheme} computed-file @var{name} @var{gexp} @" #. type: deffn -#: doc/guix.texi:5352 +#: doc/guix.texi:5897 msgid "[#:options '(#:local-build? #t)] Return an object representing the store item @var{name}, a file or directory computed by @var{gexp}. @var{options} is a list of additional arguments to pass to @code{gexp->derivation}." msgstr "" "[#:options '(#:local-build? #t)]\n" "Renvoie un objet représentant un élément du dépôt @var{name}, un fichier ou un répertoire calculé par @var{gexp}. @var{options} est une liste d'arguments supplémentaires à passer à @code{gexp->derivation}." #. type: deffn -#: doc/guix.texi:5354 +#: doc/guix.texi:5899 msgid "This is the declarative counterpart of @code{gexp->derivation}." msgstr "C'est la version déclarative de @code{gexp->derivation}." #. type: deffn -#: doc/guix.texi:5356 +#: doc/guix.texi:5901 #, no-wrap msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @" msgstr "{Procédure monadique} gexp->script @var{name} @var{exp} @" #. type: deffn -#: doc/guix.texi:5361 +#: doc/guix.texi:5906 msgid "[#:guile (default-guile)] [#:module-path %load-path] Return an executable script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s imported modules in its search path. Look up @var{exp}'s modules in @var{module-path}." msgstr "" "[#:guile (default-guile)] [#:module-path %load-path]\n" "Renvoie un script exécutable @var{name} qui lance @var{exp} avec @var{guile}, avec les modules importés de @var{exp} dans son chemin de recherche. Cherche les modules de @var{exp} dans @var{module-path}." #. type: deffn -#: doc/guix.texi:5364 +#: doc/guix.texi:5909 msgid "The example below builds a script that simply invokes the @command{ls} command:" msgstr "L'exemple ci-dessous construit un script qui invoque simplement la commande @command{ls} :" #. type: example -#: doc/guix.texi:5367 +#: doc/guix.texi:5912 #, no-wrap msgid "" "(use-modules (guix gexp) (gnu packages base))\n" @@ -10317,7 +11294,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:5371 +#: doc/guix.texi:5916 #, no-wrap msgid "" "(gexp->script \"list-files\"\n" @@ -10329,12 +11306,12 @@ msgstr "" " \"ls\"))\n" #. type: deffn -#: doc/guix.texi:5376 +#: doc/guix.texi:5921 msgid "When ``running'' it through the store (@pxref{The Store Monad, @code{run-with-store}}), we obtain a derivation that produces an executable file @file{/gnu/store/@dots{}-list-files} along these lines:" msgstr "Lorsqu'elle est « lancée » à travers le dépôt (@pxref{The Store Monad, @code{run-with-store}}), on obtient une dérivation qui produit une fichier exécutable @file{/gnu/store/@dots{}-list-files} qui ressemble à :" #. type: example -#: doc/guix.texi:5381 +#: doc/guix.texi:5926 #, no-wrap msgid "" "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n" @@ -10346,31 +11323,31 @@ msgstr "" "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n" #. type: deffn -#: doc/guix.texi:5384 +#: doc/guix.texi:5929 #, no-wrap msgid "{Scheme Procedure} program-file @var{name} @var{exp} @" msgstr "{Procédure Scheme} program-file @var{name} @var{exp} @" #. type: deffn -#: doc/guix.texi:5389 +#: doc/guix.texi:5934 msgid "[#:guile #f] [#:module-path %load-path] Return an object representing the executable store item @var{name} that runs @var{gexp}. @var{guile} is the Guile package used to execute that script. Imported modules of @var{gexp} are looked up in @var{module-path}." msgstr "" "[#:guile #f] [#:module-path %load-path]\n" "Renvoie un objet représentant un élément du dépôt @var{name} qui lance @var{gexp}. @var{guile} est le paquet Guile à utiliser pour exécuter le script. Les modules importés par @var{gexp} sont recherchés dans @var{module-path}." #. type: deffn -#: doc/guix.texi:5391 +#: doc/guix.texi:5936 msgid "This is the declarative counterpart of @code{gexp->script}." msgstr "C'est la version déclarative de @code{gexp->script}." #. type: deffn -#: doc/guix.texi:5393 +#: doc/guix.texi:5938 #, no-wrap msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @" msgstr "{Procédure monadique} gexp->file @var{name} @var{exp} @" #. type: deffn -#: doc/guix.texi:5400 +#: doc/guix.texi:5945 msgid "[#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile (default-guile)] Return a derivation that builds a file @var{name} containing @var{exp}. When @var{splice?} is true, @var{exp} is considered to be a list of expressions that will be spliced in the resulting file." msgstr "" "[#:set-load-path? #t] [#:module-path %load-path] @\n" @@ -10379,49 +11356,49 @@ msgstr "" "Renvoie une dérivation qui construit un fichier @var{name} contenant @var{exp}. Lorsque @var{splice?} est vrai, @var{exp} est considéré comme une liste d'expressions qui seront splicée dans le fichier qui en résulte." #. type: deffn -#: doc/guix.texi:5405 +#: doc/guix.texi:5950 msgid "When @var{set-load-path?} is true, emit code in the resulting file to set @code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s imported modules. Look up @var{exp}'s modules in @var{module-path}." msgstr "Lorsque @var{set-load-path?} est vrai, émet du code dans le fichier de résultat pour initialiser @code{%load-path} et @code{%load-compiled-path} pour honorer les modules importés de @var{exp}. Les modules de @var{exp} sont trouvés dans @var{module-path}." #. type: deffn -#: doc/guix.texi:5408 +#: doc/guix.texi:5953 msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof." msgstr "Le fichier qui en résulte retient les références à toutes les dépendances de @var{exp} ou un sous-ensemble." #. type: deffn -#: doc/guix.texi:5410 +#: doc/guix.texi:5955 #, no-wrap msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} [#:splice? #f]" msgstr "{Procédure Scheme} scheme-file @var{name} @var{exp} [#:splice? #f]" #. type: deffn -#: doc/guix.texi:5413 +#: doc/guix.texi:5958 msgid "Return an object representing the Scheme file @var{name} that contains @var{exp}." msgstr "Renvoie un objet représentant le fichier Scheme @var{name} qui contient @var{exp}." #. type: deffn -#: doc/guix.texi:5415 +#: doc/guix.texi:5960 msgid "This is the declarative counterpart of @code{gexp->file}." msgstr "C'est la version déclarative de @code{gexp->file}." #. type: deffn -#: doc/guix.texi:5417 +#: doc/guix.texi:5962 #, no-wrap msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}" msgstr "{Procédure monadique} text-file* @var{name} @var{text} @dots{}" #. type: deffn -#: doc/guix.texi:5423 +#: doc/guix.texi:5968 msgid "Return as a monadic value a derivation that builds a text file containing all of @var{text}. @var{text} may list, in addition to strings, objects of any type that can be used in a gexp: packages, derivations, local file objects, etc. The resulting store file holds references to all these." msgstr "Renvoie une valeur monadique qui construit un ficher texte contenant @var{text}. @var{text} peut lister, en plus de chaînes de caractères, des objet de n'importe quel type qui peut être utilisé dans une gexp : des paquets, des dérivations, des fichiers objet locaux, etc. Le fichier du dépôt qui en résulte en retient toutes les références." #. type: deffn -#: doc/guix.texi:5428 +#: doc/guix.texi:5973 msgid "This variant should be preferred over @code{text-file} anytime the file to create will reference items from the store. This is typically the case when building a configuration file that embeds store file names, like this:" msgstr "Cette variante devrait être préférée à @code{text-file} lorsque vous souhaitez créer des fichiers qui référencent le dépôt. Cela est le cas typiquement lorsque vous construisez un fichier de configuration qui contient des noms de fichiers du dépôt, comme ceci :" #. type: example -#: doc/guix.texi:5436 +#: doc/guix.texi:5981 #, no-wrap msgid "" "(define (profile.sh)\n" @@ -10439,23 +11416,23 @@ msgstr "" " grep \"/bin:\" sed \"/bin\\n\"))\n" #. type: deffn -#: doc/guix.texi:5441 +#: doc/guix.texi:5986 msgid "In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby preventing them from being garbage-collected during its lifetime." msgstr "Dans cet exemple, le fichier @file{/gnu/store/@dots{}-profile.sh} qui en résulte référence @var{coreutils}, @var{grep} et @var{sed}, ce qui les empêche d'être glanés tant que le script est accessible." #. type: deffn -#: doc/guix.texi:5443 +#: doc/guix.texi:5988 #, no-wrap msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}" msgstr "{Procédure Scheme} mixed-text-file @var{name} @var{text} @dots{}" #. type: deffn -#: doc/guix.texi:5447 +#: doc/guix.texi:5992 msgid "Return an object representing store file @var{name} containing @var{text}. @var{text} is a sequence of strings and file-like objects, as in:" msgstr "Renvoie un objet représentant le fichier du dépôt @var{name} contenant @var{text}. @var{text} est une séquence de chaînes de caractères et de fichiers simili-objets, comme dans :" #. type: example -#: doc/guix.texi:5451 +#: doc/guix.texi:5996 #, no-wrap msgid "" "(mixed-text-file \"profile\"\n" @@ -10465,82 +11442,82 @@ msgstr "" " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n" #. type: deffn -#: doc/guix.texi:5454 +#: doc/guix.texi:5999 msgid "This is the declarative counterpart of @code{text-file*}." msgstr "C'est la version déclarative de @code{text-file*}." #. type: deffn -#: doc/guix.texi:5456 +#: doc/guix.texi:6001 #, no-wrap msgid "{Scheme Procedure} file-union @var{name} @var{files}" msgstr "{Procédure Scheme} file-union @var{name} @var{files}" #. type: deffn -#: doc/guix.texi:5461 +#: doc/guix.texi:6006 msgid "Return a @code{} that builds a directory containing all of @var{files}. Each item in @var{files} must be a two-element list where the first element is the file name to use in the new directory, and the second element is a gexp denoting the target file. Here's an example:" msgstr "Renvoie un @code{} qui construit un répertoire qui contient tous les fichiers de @var{files}. Chaque élément de @var{files} doit être une paire où le premier élément est le nom de fichier à utiliser dans le nouveau répertoire et le second élément est une gexp dénotant le fichier cible. Voici un exemple :" #. type: example -#: doc/guix.texi:5468 +#: doc/guix.texi:6013 #, no-wrap msgid "" "(file-union \"etc\"\n" " `((\"hosts\" ,(plain-file \"hosts\"\n" " \"127.0.0.1 localhost\"))\n" " (\"bashrc\" ,(plain-file \"bashrc\"\n" -" \"alias ls='ls --color'\"))))\n" +" \"alias ls='ls --color=auto'\"))))\n" msgstr "" "(file-union \"etc\"\n" " `((\"hosts\" ,(plain-file \"hosts\"\n" " \"127.0.0.1 localhost\"))\n" " (\"bashrc\" ,(plain-file \"bashrc\"\n" -" \"alias ls='ls --color'\"))))\n" +" \"alias ls='ls --color=auto'\"))))\n" #. type: deffn -#: doc/guix.texi:5471 +#: doc/guix.texi:6016 msgid "This yields an @code{etc} directory containing these two files." msgstr "Cela crée un répertoire @code{etc} contenant ces deux fichiers." #. type: deffn -#: doc/guix.texi:5473 +#: doc/guix.texi:6018 #, no-wrap msgid "{Scheme Procedure} directory-union @var{name} @var{things}" msgstr "{Procédure Scheme} directory-union @var{name} @var{things}" #. type: deffn -#: doc/guix.texi:5476 +#: doc/guix.texi:6021 msgid "Return a directory that is the union of @var{things}, where @var{things} is a list of file-like objects denoting directories. For example:" msgstr "Renvoie un répertoire qui est l'union de @var{things}, où @var{things} est une liste d'objets simili-fichiers qui dénotent des répertoires. Par exemple :" #. type: example -#: doc/guix.texi:5479 +#: doc/guix.texi:6024 #, no-wrap msgid "(directory-union \"guile+emacs\" (list guile emacs))\n" msgstr "(directory-union \"guile+emacs\" (list guile emacs))\n" #. type: deffn -#: doc/guix.texi:5482 +#: doc/guix.texi:6027 msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages." msgstr "crée un répertoire qui est l'union des paquets @code{guile} et @code{emacs}." #. type: deffn -#: doc/guix.texi:5484 +#: doc/guix.texi:6029 #, no-wrap msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}" msgstr "{Procédure Scheme} file-append @var{obj} @var{suffix} @dots{}" #. type: deffn -#: doc/guix.texi:5488 +#: doc/guix.texi:6033 msgid "Return a file-like object that expands to the concatenation of @var{obj} and @var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is a string." msgstr "Renvoie un objet simili-fichier qui correspond à la concaténation de @var{obj} et @var{suffix} où @var{obj} est un objet abaissable et chaque @var{suffix} est une chaîne de caractères." #. type: deffn -#: doc/guix.texi:5490 +#: doc/guix.texi:6035 msgid "As an example, consider this gexp:" msgstr "Par exemple, considérez cette gexp :" #. type: example -#: doc/guix.texi:5495 +#: doc/guix.texi:6040 #, no-wrap msgid "" "(gexp->script \"run-uname\"\n" @@ -10552,12 +11529,12 @@ msgstr "" " \"/bin/uname\")))\n" #. type: deffn -#: doc/guix.texi:5498 +#: doc/guix.texi:6043 msgid "The same effect could be achieved with:" msgstr "On peut obtenir le même effet avec :" #. type: example -#: doc/guix.texi:5503 +#: doc/guix.texi:6048 #, no-wrap msgid "" "(gexp->script \"run-uname\"\n" @@ -10569,86 +11546,193 @@ msgstr "" " \"/bin/uname\")))\n" #. type: deffn -#: doc/guix.texi:5509 +#: doc/guix.texi:6054 msgid "There is one difference though: in the @code{file-append} case, the resulting script contains the absolute file name as a string, whereas in the second case, the resulting script contains a @code{(string-append @dots{})} expression to construct the file name @emph{at run time}." msgstr "Il y a une différence cependant : dans le cas @code{file-append}, le script qui en résulte contient le nom de fichier absolu comme une chaîne de caractère alors que dans le deuxième cas, le script contient une expression @code{(string-append @dots{})} pour construire le nom de fichier @emph{à l'exécution}." #. type: Plain text -#: doc/guix.texi:5516 +#: doc/guix.texi:6061 msgid "Of course, in addition to gexps embedded in ``host'' code, there are also modules containing build tools. To make it clear that they are meant to be used in the build stratum, these modules are kept in the @code{(guix build @dots{})} name space." msgstr "Bien sûr, en plus de gexps inclues dans le code « hôte », certains modules contiennent des outils de construction. Pour savoir facilement qu'ils sont à utiliser dans la strate de construction, ces modules sont gardés dans l'espace de nom @code{(guix build @dots{})}." #. type: Plain text -#: doc/guix.texi:5522 +#: doc/guix.texi:6067 msgid "Internally, high-level objects are @dfn{lowered}, using their compiler, to either derivations or store items. For instance, lowering a package yields a derivation, and lowering a @code{plain-file} yields a store item. This is achieved using the @code{lower-object} monadic procedure." msgstr "En interne, les objets de haut-niveau sont @dfn{abaissés}, avec leur compilateur, soit en des dérivations, soit en des objets du dépôt. Par exemple, abaisser un paquet crée une dérivation, et abaisser un @code{plain-file} crée un élément du dépôt. Cela est effectué par la procédure monadique @code{lower-object}." #. type: deffn -#: doc/guix.texi:5523 +#: doc/guix.texi:6068 #, no-wrap msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @" -msgstr "{Procédure Monadique} lower-object @var{obj} [@var{system}] @" +msgstr "{Procédure monadique} lower-object @var{obj} [@var{system}] @" #. type: deffn -#: doc/guix.texi:5529 +#: doc/guix.texi:6074 msgid "[#:target #f] Return as a value in @var{%store-monad} the derivation or store item corresponding to @var{obj} for @var{system}, cross-compiling for @var{target} if @var{target} is true. @var{obj} must be an object that has an associated gexp compiler, such as a @code{}." msgstr "" "[#:target #f]\n" "Renvoie la dérivation ou l'élément du dépôt comme une valeur de @var{%store-monad} qui correspond à @var{obj} pour @var{system}, en compilant de manière croisée pour @var{target} si @var{target} est vrai. @var{obj} doit être un objet qui a un compilateur de gexp associé, comme un @code{}." +#. type: section +#: doc/guix.texi:6077 +#, no-wrap +msgid "Invoking @command{guix repl}" +msgstr "Invoquer @command{guix repl}" + +#. type: cindex +#: doc/guix.texi:6079 +#, no-wrap +msgid "REPL, read-eval-print loop" +msgstr "REPL, read-eval-print loop" + #. type: Plain text -#: doc/guix.texi:5540 +#: doc/guix.texi:6085 +msgid "The @command{guix repl} command spawns a Guile @dfn{read-eval-print loop} (REPL) for interactive programming (@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}). Compared to just launching the @command{guile} command, @command{guix repl} guarantees that all the Guix modules and all its dependencies are available in the search path. You can use it this way:" +msgstr "La commande @command{guix repl} démarre un @dfn{boucle lecture-évaluation-affichage} Guile pour la programmation interactive (@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}). Comparé au lancement de la commande @command{guile}, @command{guix repl} garanti que tous les modules Guix et toutes ses dépendances sont disponibles dans le chemin de recherche. Vous pouvez l'utiliser de cette manière :" + +#. type: example +#: doc/guix.texi:6091 +#, no-wrap +msgid "" +"$ guix repl\n" +"scheme@@(guile-user)> ,use (gnu packages base)\n" +"scheme@@(guile-user)> coreutils\n" +"$1 = #\n" +msgstr "" +"$ guix repl\n" +"scheme@@(guile-user)> ,use (gnu packages base)\n" +"scheme@@(guile-user)> coreutils\n" +"$1 = #\n" + +#. type: Plain text +#: doc/guix.texi:6098 +msgid "In addition, @command{guix repl} implements a simple machine-readable REPL protocol for use by @code{(guix inferior)}, a facility to interact with @dfn{inferiors}, separate processes running a potentially different revision of Guix." +msgstr "En plus, @command{guix repl} implémente un protocole REPL simple lisible par une machine à utiliser avec @code{(guix inferior)}, un dispositif pour interagir avec des @dfn{inférieurs}, des processus séparés qui font tourner une version potentiellement différente de Guix." + +#. type: Plain text +#: doc/guix.texi:6100 +msgid "The available options are as follows:" +msgstr "Les options disponibles sont les suivante :" + +#. type: item +#: doc/guix.texi:6102 doc/guix.texi:7952 +#, no-wrap +msgid "--type=@var{type}" +msgstr "--type=@var{type}" + +#. type: itemx +#: doc/guix.texi:6103 doc/guix.texi:7953 doc/guix.texi:22545 +#, no-wrap +msgid "-t @var{type}" +msgstr "-t @var{type}" + +#. type: table +#: doc/guix.texi:6105 +msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:" +msgstr "Démarrer un REPL du @var{type} donné, qui peut être l'un de ces types :" + +#. type: item +#: doc/guix.texi:6107 +#, no-wrap +msgid "guile" +msgstr "guile" + +#. type: table +#: doc/guix.texi:6109 +msgid "This is default, and it spawns a standard full-featured Guile REPL." +msgstr "C'est la valeur par défaut. Elle démarre un REPL Guile standard fonctionnel." + +#. type: item +#: doc/guix.texi:6109 +#, no-wrap +msgid "machine" +msgstr "machine" + +#. type: table +#: doc/guix.texi:6112 +msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks." +msgstr "Démarre un REPL qui utilise le protocole lisible par machine. C'est le protocole que parle le module @code{(guix inferior)}." + +#. type: table +#: doc/guix.texi:6118 +msgid "By default, @command{guix repl} reads from standard input and writes to standard output. When this option is passed, it will instead listen for connections on @var{endpoint}. Here are examples of valid options:" +msgstr "Par défaut, @command{guix repl} lit depuis l'entrée standard et écrit sur la sortie standard. Lorsque cette option est passée, il écoutera plutôt les connexions sur @var{endpoint}. Voici un exemple d'options valides :" + +#. type: item +#: doc/guix.texi:6120 +#, no-wrap +msgid "--listen=tcp:37146" +msgstr "--listen=tcp:37146" + +#. type: table +#: doc/guix.texi:6122 +msgid "Accept connections on localhost on port 37146." +msgstr "Accepte les connexions sur localhost, sur le port 31." + +#. type: item +#: doc/guix.texi:6123 +#, no-wrap +msgid "--listen=unix:/tmp/socket" +msgstr "--listen=unix:/tmp/socket" + +#. type: table +#: doc/guix.texi:6125 +msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}." +msgstr "Accepte les connexions sur le socket Unix-domain @file{/tmp/socket}." + +#. type: Plain text +#: doc/guix.texi:6136 msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way." msgstr "cette section décrit les utilitaires en ligne de commande de Guix. certains sont surtout faits pour les développeurs qui écrivent de nouvelles définitions de paquets tandis que d'autres sont plus utiles pour une utilisation générale. Ils complètent l'interface de programmation Scheme de Guix d'une manière pratique." #. type: cindex -#: doc/guix.texi:5562 +#: doc/guix.texi:6159 #, no-wrap msgid "package building" msgstr "construction de paquets" #. type: command{#1} -#: doc/guix.texi:5563 +#: doc/guix.texi:6160 #, no-wrap msgid "guix build" msgstr "guix build" #. type: Plain text -#: doc/guix.texi:5569 +#: doc/guix.texi:6166 msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers." msgstr "La commande @command{guix build} construit des paquets ou des dérivations et leurs dépendances et affiche les chemins du dépôt qui en résulte. Remarquez qu'elle ne modifie pas le profil de l'utilisateur — c'est le travail de la commande @command{guix package} (@pxref{Invoking guix package}). Ainsi, elle est surtout utile pour les développeurs de la distribution." #. type: Plain text -#: doc/guix.texi:5571 doc/guix.texi:6235 doc/guix.texi:6302 doc/guix.texi:6995 -#: doc/guix.texi:7333 doc/guix.texi:7663 doc/guix.texi:7968 doc/guix.texi:8034 -#: doc/guix.texi:8073 +#: doc/guix.texi:6168 doc/guix.texi:6835 doc/guix.texi:6902 doc/guix.texi:7657 +#: doc/guix.texi:8002 doc/guix.texi:8332 doc/guix.texi:8637 doc/guix.texi:8703 +#: doc/guix.texi:8742 msgid "The general syntax is:" msgstr "La syntaxe générale est :" #. type: example -#: doc/guix.texi:5574 +#: doc/guix.texi:6171 #, no-wrap msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n" msgstr "guix build @var{options} @var{package-or-derivation}@dots{}\n" #. type: Plain text -#: doc/guix.texi:5579 +#: doc/guix.texi:6176 msgid "As an example, the following command builds the latest versions of Emacs and of Guile, displays their build logs, and finally displays the resulting directories:" msgstr "Par exemple, la commande suivante construit la dernière version d'Emacs et de Guile, affiche leur journaux de construction et enfin affiche les répertoires des résultats :" #. type: example -#: doc/guix.texi:5582 +#: doc/guix.texi:6179 #, no-wrap msgid "guix build emacs guile\n" msgstr "guix build emacs guile\n" #. type: Plain text -#: doc/guix.texi:5585 +#: doc/guix.texi:6182 msgid "Similarly, the following command builds all the available packages:" msgstr "De même, la commande suivante construit tous les paquets disponibles :" #. type: example -#: doc/guix.texi:5589 +#: doc/guix.texi:6186 #, no-wrap msgid "" "guix build --quiet --keep-going \\\n" @@ -10658,312 +11742,305 @@ msgstr "" " `guix package -A | cut -f1,2 --output-delimiter=@@`\n" #. type: Plain text -#: doc/guix.texi:5597 +#: doc/guix.texi:6194 msgid "@var{package-or-derivation} may be either the name of a package found in the software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the former case, a package with the corresponding name (and optionally version) is searched for among the GNU distribution modules (@pxref{Package Modules})." msgstr "@var{package-or-derivation} peut être soit le nom d'un paquet trouvé dans la distribution logicielle comme @code{coreutils}, soit @code{coreutils@@8.20}, soit une dérivation comme @file{/gnu/store/@dots{}-coreutils-8.19.drv}. Dans le premier cas, la commande cherchera un paquet avec le nom correspondant (et éventuellement la version) dans les modules de la distribution GNU (@pxref{Package Modules})." #. type: Plain text -#: doc/guix.texi:5602 +#: doc/guix.texi:6199 msgid "Alternatively, the @code{--expression} option may be used to specify a Scheme expression that evaluates to a package; this is useful when disambiguating among several same-named packages or package variants is needed." msgstr "Autrement, l'option @code{--expression} peut être utilisée pour spécifier une expression Scheme qui s'évalue en un paquet ; c'est utile pour différencier des paquets avec le même nom ou des variantes de paquets." #. type: Plain text -#: doc/guix.texi:5605 +#: doc/guix.texi:6202 msgid "There may be zero or more @var{options}. The available options are described in the subsections below." msgstr "Il peut y avoir aucune, une ou plusieurs @var{options}. Les options disponibles sont décrites dans les sous-sections ci-dessous." #. type: Plain text -#: doc/guix.texi:5620 +#: doc/guix.texi:6217 msgid "A number of options that control the build process are common to @command{guix build} and other commands that can spawn builds, such as @command{guix package} or @command{guix archive}. These are the following:" msgstr "Un certain nombre d'options qui contrôlent le processus de construction sont communes avec @command{guix build} et les autres commandes qui peuvent générer des constructions, comme @command{guix package} ou @command{guix archive}. Voici ces options :" #. type: item -#: doc/guix.texi:5623 +#: doc/guix.texi:6220 #, no-wrap msgid "--load-path=@var{directory}" msgstr "--load-path=@var{répertoire}" #. type: itemx -#: doc/guix.texi:5624 +#: doc/guix.texi:6221 #, no-wrap msgid "-L @var{directory}" msgstr "-L @var{répertoire}" #. type: table -#: doc/guix.texi:5627 +#: doc/guix.texi:6224 msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})." msgstr "Ajoute @var{répertoire} au début du chemin de recherche de module de paquets (@pxref{Package Modules})." #. type: table -#: doc/guix.texi:5630 +#: doc/guix.texi:6227 msgid "This allows users to define their own packages and make them visible to the command-line tools." msgstr "Cela permet à des utilisateurs de définir leur propres paquets et les rendre disponibles aux outils en ligne de commande." #. type: item -#: doc/guix.texi:5631 +#: doc/guix.texi:6228 #, no-wrap msgid "--keep-failed" msgstr "--keep-failed" #. type: itemx -#: doc/guix.texi:5632 +#: doc/guix.texi:6229 #, no-wrap msgid "-K" msgstr "-K" #. type: table -#: doc/guix.texi:5638 +#: doc/guix.texi:6235 msgid "Keep the build tree of failed builds. Thus, if a build fails, its build tree is kept under @file{/tmp}, in a directory whose name is shown at the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues." msgstr "Garde l'arborescence de construction des constructions en échec. Ainsi, si une construction échoue, son arborescence de construction est préservée dans @file{/tmp}, dans un répertoire dont le nom est affiché à la fin du journal de construction. Cela est utile pour déboguer des échecs de construction. @xref{Debugging Build Failures}, pour des astuces sur la manière de déboguer des problèmes de construction." +#. type: table +#: doc/guix.texi:6239 +msgid "This option has no effect when connecting to a remote daemon with a @code{guix://} URI (@pxref{The Store, the @code{GUIX_DAEMON_SOCKET} variable})." +msgstr "Cette option n'a pas d'effet lors de la connexion à un démon distant avec l'URI @code{guix://} (@pxref{The Store, la variable @code{GUIX_DAEMON_SOCKET}})." + #. type: item -#: doc/guix.texi:5639 +#: doc/guix.texi:6240 #, no-wrap msgid "--keep-going" msgstr "--keep-going" #. type: itemx -#: doc/guix.texi:5640 +#: doc/guix.texi:6241 #, no-wrap msgid "-k" msgstr "-k" #. type: table -#: doc/guix.texi:5643 +#: doc/guix.texi:6244 msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed." msgstr "Continue lorsque certaines dérivations échouent ; ne s'arrête que lorsque toutes les constructions ont soit réussies, soit échouées." #. type: table -#: doc/guix.texi:5646 +#: doc/guix.texi:6247 msgid "The default behavior is to stop as soon as one of the specified derivations has failed." msgstr "Le comportement par défaut est de s'arrêter dès qu'une des dérivations spécifiées échoue." -#. type: item -#: doc/guix.texi:5647 -#, no-wrap -msgid "--dry-run" -msgstr "--dry-run" - -#. type: itemx -#: doc/guix.texi:5648 -#, no-wrap -msgid "-n" -msgstr "-n" - #. type: table -#: doc/guix.texi:5650 +#: doc/guix.texi:6251 msgid "Do not build the derivations." msgstr "Ne pas construire les dérivations." #. type: anchor{#1} -#: doc/guix.texi:5652 +#: doc/guix.texi:6253 msgid "fallback-option" msgstr "option de repli" #. type: item -#: doc/guix.texi:5652 +#: doc/guix.texi:6253 #, no-wrap msgid "--fallback" msgstr "--fallback" #. type: table -#: doc/guix.texi:5655 +#: doc/guix.texi:6256 msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})." msgstr "Lorsque la substitution d'un binaire pré-compilé échoue, construit les paquets localement à la place (@pxref{Substitution Failure})." #. type: anchor{#1} -#: doc/guix.texi:5661 +#: doc/guix.texi:6262 msgid "client-substitute-urls" msgstr "client-substitute-urls" #. type: table -#: doc/guix.texi:5661 +#: doc/guix.texi:6262 msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs, overriding the default list of URLs of @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})." msgstr "Considère @var{urls} comme une liste d'URL de sources de substituts séparés par des espaces, et remplace la liste par défaut d'URL de @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})." #. type: table -#: doc/guix.texi:5665 +#: doc/guix.texi:6266 msgid "This means that substitutes may be downloaded from @var{urls}, provided they are signed by a key authorized by the system administrator (@pxref{Substitutes})." msgstr "Cela signifie que les substituts peuvent être téléchargés depuis @var{urls}, tant qu'ils sont signés par une clef autorisée par l'administrateur système (@pxref{Substituts})." #. type: table -#: doc/guix.texi:5668 +#: doc/guix.texi:6269 msgid "When @var{urls} is the empty string, substitutes are effectively disabled." msgstr "Lorsque @var{urls} est la chaîne vide, cela a pour effet de désactiver la substitution." #. type: item -#: doc/guix.texi:5674 +#: doc/guix.texi:6275 #, no-wrap msgid "--no-grafts" msgstr "--no-grafts" #. type: table -#: doc/guix.texi:5678 +#: doc/guix.texi:6279 msgid "Do not ``graft'' packages. In practice, this means that package updates available as grafts are not applied. @xref{Security Updates}, for more information on grafts." msgstr "Ne par « greffer » les paquets. En pratique, cela signifie que les mises à jour des paquets disponibles comme des greffes ne sont pas appliquées. @xref{Security Updates}, pour plus d'information sur les greffes." #. type: item -#: doc/guix.texi:5679 +#: doc/guix.texi:6280 #, no-wrap msgid "--rounds=@var{n}" msgstr "--rounds=@var{n}" #. type: table -#: doc/guix.texi:5682 +#: doc/guix.texi:6283 msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical." msgstr "Construit chaque dérivation @var{n} fois d'affilé, et renvoie une erreur si les constructions consécutives ne sont pas identiques bit-à-bit." #. type: table -#: doc/guix.texi:5687 +#: doc/guix.texi:6288 msgid "This is a useful way to detect non-deterministic builds processes. Non-deterministic build processes are a problem because they make it practically impossible for users to @emph{verify} whether third-party binaries are genuine. @xref{Invoking guix challenge}, for more." msgstr "Cela est une manière utile pour détecter des processus de construction non déterministes. Les processus de construction non déterministes sont problématiques car ils rendent pratiquement impossible la @emph{vérification} par les utilisateurs de l'authenticité de binaires tiers. @xref{Invoking guix challenge}, pour plus d'informations." #. type: table -#: doc/guix.texi:5693 +#: doc/guix.texi:6294 msgid "Note that, currently, the differing build results are not kept around, so you will have to manually investigate in case of an error---e.g., by stashing one of the build results with @code{guix archive --export} (@pxref{Invoking guix archive}), then rebuilding, and finally comparing the two results." msgstr "Remarquez que, les résultats qui diffèrent ne sont pas gardés, donc vous devrez inspecter manuellement chaque erreur — p.@: ex.@: en gardant l'un des résultats avec @code{guix archive --export} (@pxref{Invoking guix archive}), puis en reconstruisant, et enfin en comparant les deux résultats." #. type: table -#: doc/guix.texi:5698 +#: doc/guix.texi:6299 msgid "Do not attempt to offload builds @i{via} the ``build hook'' of the daemon (@pxref{Daemon Offload Setup}). That is, always build things locally instead of offloading builds to remote machines." msgstr "N'essaye pas de décharger les constructions via le « crochet de construction » du démon (@pxref{Daemon Offload Setup}). C'est-à-dire que tout sera construit localement plutôt que de décharger les constructions à une machine distante." #. type: table -#: doc/guix.texi:5705 +#: doc/guix.texi:6306 msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @code{--max-silent-time}})." msgstr "Par défaut, les paramètres du démon sont pris en compte (@pxref{Invoking guix-daemon, @code{--max-silent-time}})." #. type: table -#: doc/guix.texi:5712 +#: doc/guix.texi:6313 msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @code{--timeout}})." msgstr "Par défaut, les paramètres du démon sont pris en compte (@pxref{Invoking guix-daemon, @code{--timeout}})." #. type: item -#: doc/guix.texi:5713 +#: doc/guix.texi:6314 #, no-wrap msgid "--verbosity=@var{level}" msgstr "--verbosity=@var{level}" #. type: table -#: doc/guix.texi:5717 +#: doc/guix.texi:6318 msgid "Use the given verbosity level. @var{level} must be an integer between 0 and 5; higher means more verbose output. Setting a level of 4 or more may be helpful when debugging setup issues with the build daemon." msgstr "Utilise le niveau de verbosité donné. @var{level} doit être un entier entre 0 et 5 ; les entiers les plus hauts signifient une sortie plus verbeuse. Le mettre à 4 ou plus peut être utile pour déboguer des problèmes de configuration du démon de construction." #. type: table -#: doc/guix.texi:5722 +#: doc/guix.texi:6323 msgid "Allow the use of up to @var{n} CPU cores for the build. The special value @code{0} means to use as many CPU cores as available." msgstr "Permet d'utiliser jusqu'à @var{n} cœurs du CPU pour la construction. La valeur spéciale @code{0} signifie autant de cœurs que possible." #. type: table -#: doc/guix.texi:5728 +#: doc/guix.texi:6329 msgid "Allow at most @var{n} build jobs in parallel. @xref{Invoking guix-daemon, @code{--max-jobs}}, for details about this option and the equivalent @command{guix-daemon} option." msgstr "Permet au plus @var{n} travaux de construction en parallèle. @xref{Invoking guix-daemon, @code{--max-jobs}}, pour plus de détails sur cette option et l'option équivalente pour @command{guix-daemon}." #. type: Plain text -#: doc/guix.texi:5735 +#: doc/guix.texi:6336 msgid "Behind the scenes, @command{guix build} is essentially an interface to the @code{package-derivation} procedure of the @code{(guix packages)} module, and to the @code{build-derivations} procedure of the @code{(guix derivations)} module." msgstr "Sous le capot, @command{guix build} est surtout un interface à la procédure @code{package-derivation} du module @code{(guix packages)}, et à la procédure @code{build-derivations} du module @code{(guix derivations)}." #. type: Plain text -#: doc/guix.texi:5739 +#: doc/guix.texi:6340 msgid "In addition to options explicitly passed on the command line, @command{guix build} and other @command{guix} commands that support building honor the @code{GUIX_BUILD_OPTIONS} environment variable." msgstr "En plus des options passées explicitement par la ligne de commande, @command{guix build} et les autres commande @command{guix} qui peuvent effectuer des construction honorent la variable d'environnement @code{GUIX_BUILD_OPTIONS}." #. type: defvr -#: doc/guix.texi:5740 +#: doc/guix.texi:6341 #, no-wrap msgid "{Environment Variable} GUIX_BUILD_OPTIONS" msgstr "{Variable d'environnement} GUIX_BUILD_OPTIONS" #. type: defvr -#: doc/guix.texi:5745 +#: doc/guix.texi:6346 msgid "Users can define this variable to a list of command line options that will automatically be used by @command{guix build} and other @command{guix} commands that can perform builds, as in the example below:" msgstr "Les utilisateurs peuvent définir cette variable à une liste d'options de la ligne de commande qui seront automatiquement utilisées par @command{guix build} et les autres commandes @command{guix} qui peuvent effectuer des constructions, comme dans l'exemple suivant :" #. type: example -#: doc/guix.texi:5748 +#: doc/guix.texi:6349 #, no-wrap msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n" msgstr "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n" #. type: defvr -#: doc/guix.texi:5752 +#: doc/guix.texi:6353 msgid "These options are parsed independently, and the result is appended to the parsed command-line options." msgstr "Ces options sont analysées indépendamment, et le résultat est ajouté aux options de la ligne de commande analysées." #. type: cindex -#: doc/guix.texi:5758 +#: doc/guix.texi:6359 #, no-wrap msgid "package variants" msgstr "variantes de paquets" #. type: Plain text -#: doc/guix.texi:5766 +#: doc/guix.texi:6367 msgid "Another set of command-line options supported by @command{guix build} and also @command{guix package} are @dfn{package transformation options}. These are options that make it possible to define @dfn{package variants}---for instance, packages built from different source code. This is a convenient way to create customized packages on the fly without having to type in the definitions of package variants (@pxref{Defining Packages})." msgstr "Un autre ensemble d'options de la ligne de commande supportés par @command{guix build} et aussi @command{guix package} sont les @dfn{options de transformation de paquets}. Ce sont des options qui rendent possible la définition de @dfn{variantes de paquets} — par exemple, des paquets construit à partir de sources différentes. C'est une manière simple de créer des paquets personnalisés à la volée sans avoir à taper les définitions de variantes de paquets (@pxref{Defining Packages})." #. type: item -#: doc/guix.texi:5769 +#: doc/guix.texi:6370 #, no-wrap msgid "--with-source=@var{source}" msgstr "--with-source=@var{source}" #. type: itemx -#: doc/guix.texi:5770 +#: doc/guix.texi:6371 #, no-wrap msgid "--with-source=@var{package}=@var{source}" msgstr "--with-source=@var{paquet}=@var{source}" #. type: itemx -#: doc/guix.texi:5771 +#: doc/guix.texi:6372 #, no-wrap msgid "--with-source=@var{package}@@@var{version}=@var{source}" msgstr "--with-source=@var{paquet}@@@var{version}=@var{source}" #. type: table -#: doc/guix.texi:5776 +#: doc/guix.texi:6377 msgid "Use @var{source} as the source of @var{package}, and @var{version} as its version number. @var{source} must be a file name or a URL, as for @command{guix download} (@pxref{Invoking guix download})." msgstr "Utiles @var{source} comme la source de @var{paquet}, et @var{version} comme son numéro de version. @var{source} doit être un nom de fichier ou une URL, comme pour @command{guix download} (@pxref{Invoking guix download})." #. type: table -#: doc/guix.texi:5782 +#: doc/guix.texi:6383 msgid "When @var{package} is omitted, it is taken to be the package name specified on the command line that matches the base of @var{source}---e.g., if @var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package is @code{guile}." msgstr "Lorsque @var{paquet} est omis, la commande utilisera le nom de paquet spécifié par la base de @var{source} — p.@: ex.@: si @var{source} est @code{/src/guix-2.0.10.tar.gz}, le paquet correspondant est @code{guile}." #. type: table -#: doc/guix.texi:5785 +#: doc/guix.texi:6386 msgid "Likewise, when @var{version} is omitted, the version string is inferred from @var{source}; in the previous example, it is @code{2.0.10}." msgstr "De même, lorsque @var{version} est omis, la chaîne de version est inférée à partir de @var{source} ; dans l'exemple précédent, il s'agit de @code{2.0.10}." #. type: table -#: doc/guix.texi:5790 +#: doc/guix.texi:6391 msgid "This option allows users to try out versions of packages other than the one provided by the distribution. The example below downloads @file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the @code{ed} package:" msgstr "Cette option permet aux utilisateurs d'essayer des version des paquets différentes de celles fournies par la distribution. L'exemple ci-dessous télécharge @file{ed-1.7.tar.g} depuis un mirroir GNU et l'utilise comme source pour le paquet @code{ed} :" #. type: example -#: doc/guix.texi:5793 +#: doc/guix.texi:6394 #, no-wrap msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n" msgstr "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n" #. type: table -#: doc/guix.texi:5797 +#: doc/guix.texi:6398 msgid "As a developer, @code{--with-source} makes it easy to test release candidates:" msgstr "En tant que développeur, @code{--with-source} permet de tester facilement des version bêta :" #. type: example -#: doc/guix.texi:5800 +#: doc/guix.texi:6401 #, no-wrap msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n" msgstr "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n" #. type: table -#: doc/guix.texi:5803 +#: doc/guix.texi:6404 msgid "@dots{} or to build from a checkout in a pristine environment:" msgstr "@dots{} ou pour construire un dépôt de gestion de version dans un environnement vierge :" #. type: example -#: doc/guix.texi:5807 +#: doc/guix.texi:6408 #, no-wrap msgid "" "$ git clone git://git.sv.gnu.org/guix.git\n" @@ -10973,184 +12050,184 @@ msgstr "" "$ guix build guix --with-source=guix@@1.0=./guix\n" #. type: item -#: doc/guix.texi:5809 +#: doc/guix.texi:6410 #, no-wrap msgid "--with-input=@var{package}=@var{replacement}" msgstr "--with-input=@var{paquet}=@var{remplaçant}" #. type: table -#: doc/guix.texi:5814 +#: doc/guix.texi:6415 msgid "Replace dependency on @var{package} by a dependency on @var{replacement}. @var{package} must be a package name, and @var{replacement} must be a package specification such as @code{guile} or @code{guile@@1.8}." msgstr "Remplace la dépendance sur @var{paquet} par une dépendance à @var{remplaçant}. @var{paquet} doit être un nom de paquet et @var{remplaçant} doit être une spécification de paquet comme @code{guile} ou @code{guile@@1.8}." #. type: table -#: doc/guix.texi:5818 +#: doc/guix.texi:6419 msgid "For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on the legacy version of Guile, @code{guile@@2.0}:" msgstr "Par exemple, la commande suivante construit Guix, mais remplace sa dépendance à la version stable actuelle de Guile par une dépendance à une ancienne version de Guile, @code{guile@@2.0} :" #. type: example -#: doc/guix.texi:5821 +#: doc/guix.texi:6422 #, no-wrap msgid "guix build --with-input=guile=guile@@2.0 guix\n" msgstr "guix build --with-input=guile=guile@@2.0 guix\n" #. type: table -#: doc/guix.texi:5826 +#: doc/guix.texi:6427 msgid "This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on @code{guile}) get rebuilt against @code{guile@@2.0}." msgstr "C'est un remplacement récursif profond. Donc dans cet exemple, à la fois @code{guix} et ses dépendances @code{guile-json} (qui dépend aussi de @code{guile}) sont reconstruits avec @code{guile@@2.0}." #. type: table -#: doc/guix.texi:5829 +#: doc/guix.texi:6430 msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})." msgstr "Cette option est implémentée avec la procédure Scheme @code{package-input-rewriting} (@pxref{Defining Packages, @code{package-input-rewriting}})." #. type: item -#: doc/guix.texi:5830 +#: doc/guix.texi:6431 #, no-wrap msgid "--with-graft=@var{package}=@var{replacement}" msgstr "--with-graft=@var{paquet}=@var{remplaçant}" #. type: table -#: doc/guix.texi:5836 +#: doc/guix.texi:6437 msgid "This is similar to @code{--with-input} but with an important difference: instead of rebuilding the whole dependency chain, @var{replacement} is built and then @dfn{grafted} onto the binaries that were initially referring to @var{package}. @xref{Security Updates}, for more information on grafts." msgstr "Cette option est similaire à @code{--with-input} mais avec une différence importante : plutôt que de reconstruire la chaîne de dépendance complète, @var{remplaçant} est construit puis @dfn{greffé} sur les binaires qui référençaient initialement @var{paquet}. @xref{Security Updates}, pour plus d'information sur les greffes." #. type: table -#: doc/guix.texi:5840 +#: doc/guix.texi:6441 msgid "For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and all its dependencies, replacing references to the version of GnuTLS they currently refer to:" msgstr "Par exemple, la commande ci-dessous greffe la version 3.5.4 de GnuTLS sur Wget et toutes ses dépendances, en remplaçant les références à la version actuelle de GnuTLS à laquelle ils se réfèrent actuellement :" #. type: example -#: doc/guix.texi:5843 +#: doc/guix.texi:6444 #, no-wrap msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n" msgstr "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n" #. type: table -#: doc/guix.texi:5852 +#: doc/guix.texi:6453 msgid "This has the advantage of being much faster than rebuilding everything. But there is a caveat: it works if and only if @var{package} and @var{replacement} are strictly compatible---for example, if they provide a library, the application binary interface (ABI) of those libraries must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care!" msgstr "Cela a l'avantage d'être bien plus rapide que de tout reconstruire. Mais il y a un piège : cela ne fonctionne que si @var{paquet} et @var{remplaçant} sont strictement compatibles — par exemple, s'ils fournissent une bibliothèque, l'interface binaire applicative (ABI) de ces bibliothèques doivent être compatibles. Si @var{remplaçant} est incompatible avec @var{paquet}, alors le paquet qui en résulte peut devenir inutilisable. À utilisez avec précaution !" #. type: Plain text -#: doc/guix.texi:5860 +#: doc/guix.texi:6461 msgid "The command-line options presented below are specific to @command{guix build}." msgstr "Les options de la ligne de commande ci-dessous sont spécifiques à @command{guix build}." #. type: item -#: doc/guix.texi:5863 +#: doc/guix.texi:6464 #, no-wrap msgid "--quiet" msgstr "--quiet" #. type: itemx -#: doc/guix.texi:5864 +#: doc/guix.texi:6465 #, no-wrap msgid "-q" msgstr "-q" #. type: table -#: doc/guix.texi:5868 +#: doc/guix.texi:6469 msgid "Build quietly, without displaying the build log. Upon completion, the build log is kept in @file{/var} (or similar) and can always be retrieved using the @option{--log-file} option." msgstr "Construire en silence, sans afficher les journaux de construction. À la fin, le journal de construction est gardé dans @file{/var} (ou similaire) et on peut toujours l'y trouver avec l'option @option{--log-file}." #. type: item -#: doc/guix.texi:5869 +#: doc/guix.texi:6470 #, no-wrap msgid "--file=@var{file}" msgstr "--file=@var{fichier}" #. type: table -#: doc/guix.texi:5874 -msgid "Build the package or derivation that the code within @var{file} evaluates to." -msgstr "Construit le paquet ou la dérivation en lequel le code dans @var{file} s'évalue." +#: doc/guix.texi:6474 +msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})." +msgstr "Construit le paquet, la dérivation ou l'objet simili-fichier en lequel le code dans @var{file} s'évalue (@pxref{G-Expressions, file-like objects})." #. type: table -#: doc/guix.texi:5877 +#: doc/guix.texi:6477 msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):" msgstr "Par exemple, @var{file} peut contenir une définition de paquet comme ceci (@pxref{Defining Packages}) :" #. type: table -#: doc/guix.texi:5885 +#: doc/guix.texi:6485 msgid "Build the package or derivation @var{expr} evaluates to." msgstr "Construit le paquet ou la dérivation en lequel @var{expr} s'évalue." #. type: table -#: doc/guix.texi:5889 +#: doc/guix.texi:6489 msgid "For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, which unambiguously designates this specific variant of version 1.8 of Guile." msgstr "Par exemple, @var{expr} peut être @code{(@@ (gnu packages guile) guile-1.8)}, qui désigne sans ambiguïté cette variante spécifique de la version 1.8 de Guile." #. type: table -#: doc/guix.texi:5893 +#: doc/guix.texi:6493 msgid "Alternatively, @var{expr} may be a G-expression, in which case it is used as a build program passed to @code{gexp->derivation} (@pxref{G-Expressions})." msgstr "Autrement, @var{exp} peut être une G-expression, auquel cas elle est utilisée comme un programme de construction passé à @code{gexp->derivation} (@pxref{G-Expressions})." #. type: table -#: doc/guix.texi:5897 +#: doc/guix.texi:6497 msgid "Lastly, @var{expr} may refer to a zero-argument monadic procedure (@pxref{The Store Monad}). The procedure must return a derivation as a monadic value, which is then passed through @code{run-with-store}." msgstr "Enfin, @var{expr} peut se référer à une procédure monadique à au moins un argument (@pxref{The Store Monad}). La procédure doit renvoyer une dérivation comme une valeur monadique, qui est ensuite lancée à travers @code{run-with-store}." #. type: item -#: doc/guix.texi:5898 +#: doc/guix.texi:6498 #, no-wrap msgid "--source" msgstr "--source" #. type: itemx -#: doc/guix.texi:5899 +#: doc/guix.texi:6499 #, no-wrap msgid "-S" msgstr "-S" #. type: table -#: doc/guix.texi:5902 +#: doc/guix.texi:6502 msgid "Build the source derivations of the packages, rather than the packages themselves." msgstr "Construit les dérivation source des paquets, plutôt que des paquets eux-même." #. type: table -#: doc/guix.texi:5906 +#: doc/guix.texi:6506 msgid "For instance, @code{guix build -S gcc} returns something like @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source tarball." msgstr "Par exemple, @code{guix build -S gcc} renvoie quelque chose comme @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, qui est l'archive des sources de GCC." #. type: table -#: doc/guix.texi:5910 +#: doc/guix.texi:6510 msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})." msgstr "L'archive des sources renvoyée est le résultat de l'application des correctifs et des extraits de code éventuels spécifiés dans le champ @code{origin} du paquet (@pxref{Defining Packages})." #. type: item -#: doc/guix.texi:5911 +#: doc/guix.texi:6511 #, no-wrap msgid "--sources" msgstr "--sources" #. type: table -#: doc/guix.texi:5918 +#: doc/guix.texi:6518 msgid "Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy of all the source code needed to build @var{packages}, allowing you to eventually build them even without network access. It is an extension of the @code{--source} option and can accept one of the following optional argument values:" msgstr "Récupère et renvoie la source de @var{package-or-derivation} et toute ses dépendances, récursivement. C'est pratique pour obtenir une copie locale de tous les codes sources requis pour construire @var{packages}, ce qui vous permet de les construire plus tard même sans accès réseau. C'est une extension de l'option @code{--source} et peut accepter l'un des arguments facultatifs suivants :" #. type: item -#: doc/guix.texi:5920 doc/guix.texi:7184 +#: doc/guix.texi:6520 doc/guix.texi:7846 #, no-wrap msgid "package" msgstr "package" #. type: table -#: doc/guix.texi:5923 +#: doc/guix.texi:6523 msgid "This value causes the @code{--sources} option to behave in the same way as the @code{--source} option." msgstr "Cette valeur fait que l'option @code{--sources} se comporte comme l'option @code{--source}." #. type: item -#: doc/guix.texi:5924 doc/guix.texi:12103 +#: doc/guix.texi:6524 doc/guix.texi:13054 #, no-wrap msgid "all" msgstr "all" #. type: table -#: doc/guix.texi:5927 +#: doc/guix.texi:6527 msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value." msgstr "Construit les dérivations des sources de tous les paquets, dont les sources qui pourraient être listées dans @code{inputs}. C'est la valeur par défaut." #. type: example -#: doc/guix.texi:5933 +#: doc/guix.texi:6533 #, no-wrap msgid "" "$ guix build --sources tzdata\n" @@ -11164,18 +12241,18 @@ msgstr "" " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n" #. type: item -#: doc/guix.texi:5935 +#: doc/guix.texi:6535 #, no-wrap msgid "transitive" msgstr "transitive" #. type: table -#: doc/guix.texi:5939 +#: doc/guix.texi:6539 msgid "Build the source derivations of all packages, as well of all transitive inputs to the packages. This can be used e.g. to prefetch package source for later offline building." msgstr "Construit les dérivations des sources de tous les paquets, ainsi que toutes celles les entrées transitives des paquets. On peut utiliser cette option pour précharger les sources des paquets pour les construire plus tard hors ligne par exemple." #. type: example -#: doc/guix.texi:5950 +#: doc/guix.texi:6550 #, no-wrap msgid "" "$ guix build --sources=transitive tzdata\n" @@ -11199,154 +12276,154 @@ msgstr "" "@dots{}\n" #. type: quotation -#: doc/guix.texi:5963 +#: doc/guix.texi:6563 msgid "The @code{--system} flag is for @emph{native} compilation and must not be confused with cross-compilation. See @code{--target} below for information on cross-compilation." msgstr "Le drapeau @code{--system} est utilisé pour une compilation @emph{native} et ne doit pas être confondu avec une compilation croisée. Voir @code{--target} ci-dessous pour des informations sur la compilation croisée." #. type: table -#: doc/guix.texi:5970 +#: doc/guix.texi:6570 msgid "An example use of this is on Linux-based systems, which can emulate different personalities. For instance, passing @code{--system=i686-linux} on an @code{x86_64-linux} system or @code{--system=armhf-linux} on an @code{aarch64-linux} system allows you to build packages in a complete 32-bit environment." msgstr "Par exemple, passer @code{--system=i686-linux} sur un système @code{x86_64-linux} ou @code{--system=armhf-linux} sur un système @code{aarch64-linux} vous permet de construire des paquets dans un environnement entièrement 32-bits. C'est une exemple d'utilisation de cette option sur les systèmes Linux, qui peuvent émuler plusieurs personnalités." #. type: quotation -#: doc/guix.texi:5975 +#: doc/guix.texi:6575 msgid "Building for an @code{armhf-linux} system is unconditionally enabled on @code{aarch64-linux} machines, although certain aarch64 chipsets do not allow for this functionality, notably the ThunderX." msgstr "La possibilité de construire pour un système @code{armhf-linux} est activé sans condition sur les machines @code{aarch64-linux}, bien que certaines puces aarch64 n'en soient pas capables, comme les ThunderX." #. type: table -#: doc/guix.texi:5981 +#: doc/guix.texi:6581 msgid "Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is enabled (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), you can build for any system for which a QEMU @code{binfmt_misc} handler is installed." msgstr "De même, lorsque l'émulation transparente avec QEMU et @code{binfnmt_misc} est activée (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), vous pouvez construire pour n'importe quel système pour lequel un gestionnaire QEMU @code{binfmt_misc} est installé." #. type: table -#: doc/guix.texi:5985 +#: doc/guix.texi:6585 msgid "Builds for a system other than that of the machine you are using can also be offloaded to a remote machine of the right architecture. @xref{Daemon Offload Setup}, for more information on offloading." msgstr "Les constructions pour un autre système que celui de la machine que vous utilisez peuvent aussi être déchargées à une machine distante de la bonne architecture. @xref{Daemon Offload Setup}, pour plus d'information sur le déchargement." #. type: anchor{#1} -#: doc/guix.texi:5993 +#: doc/guix.texi:6593 msgid "build-check" msgstr "vérification de la construction" #. type: item -#: doc/guix.texi:5993 +#: doc/guix.texi:6593 #, no-wrap msgid "--check" msgstr "--check" #. type: cindex -#: doc/guix.texi:5994 +#: doc/guix.texi:6594 #, no-wrap msgid "determinism, checking" msgstr "déterminisme, vérification" #. type: cindex -#: doc/guix.texi:5995 +#: doc/guix.texi:6595 #, no-wrap msgid "reproducibility, checking" msgstr "reproductibilité, vérification" #. type: table -#: doc/guix.texi:5999 +#: doc/guix.texi:6599 msgid "Rebuild @var{package-or-derivation}, which are already available in the store, and raise an error if the build results are not bit-for-bit identical." msgstr "Reconstruit les @var{package-or-derivation}, qui sont déjà disponibles dans le dépôt et lève une erreur si les résultats des constructions ne sont pas identiques bit-à-bit." #. type: table -#: doc/guix.texi:6004 +#: doc/guix.texi:6604 msgid "This mechanism allows you to check whether previously installed substitutes are genuine (@pxref{Substitutes}), or whether the build result of a package is deterministic. @xref{Invoking guix challenge}, for more background information and tools." msgstr "Ce mécanisme vous permet de vérifier si les substituts précédemment installés sont authentiques (@pxref{Substituts}) ou si le résultat de la construction d'un paquet est déterministe. @xref{Invoking guix challenge} pour plus d'informations et pour les outils." #. type: item -#: doc/guix.texi:6009 +#: doc/guix.texi:6609 #, no-wrap msgid "--repair" msgstr "--repair" #. type: cindex -#: doc/guix.texi:6010 +#: doc/guix.texi:6610 #, no-wrap msgid "repairing store items" msgstr "réparer les éléments du dépôt" #. type: table -#: doc/guix.texi:6014 +#: doc/guix.texi:6614 msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them." msgstr "Essaye de réparer les éléments du dépôt spécifiés, s'ils sont corrompus, en les téléchargeant ou en les construisant à nouveau." #. type: table -#: doc/guix.texi:6016 +#: doc/guix.texi:6616 msgid "This operation is not atomic and thus restricted to @code{root}." msgstr "Cette opération n'est pas atomique et donc restreinte à l'utilisateur @code{root}" #. type: item -#: doc/guix.texi:6017 +#: doc/guix.texi:6617 #, no-wrap msgid "--derivations" msgstr "--derivations" #. type: table -#: doc/guix.texi:6021 +#: doc/guix.texi:6621 msgid "Return the derivation paths, not the output paths, of the given packages." msgstr "Renvoie les chemins de dérivation, et non les chemins de sortie, des paquets donnés." #. type: item -#: doc/guix.texi:6022 doc/guix.texi:7441 doc/guix.texi:21109 +#: doc/guix.texi:6622 doc/guix.texi:8110 doc/guix.texi:22567 #, no-wrap msgid "--root=@var{file}" msgstr "--root=@var{fichier}" #. type: itemx -#: doc/guix.texi:6023 doc/guix.texi:7442 doc/guix.texi:21110 +#: doc/guix.texi:6623 doc/guix.texi:8111 doc/guix.texi:22568 #, no-wrap msgid "-r @var{file}" msgstr "-r @var{fichier}" #. type: cindex -#: doc/guix.texi:6024 +#: doc/guix.texi:6624 #, no-wrap msgid "GC roots, adding" msgstr "racines du GC, ajout" #. type: cindex -#: doc/guix.texi:6025 +#: doc/guix.texi:6625 #, no-wrap msgid "garbage collector roots, adding" msgstr "ajout de racines au ramasse-miettes" #. type: table -#: doc/guix.texi:6028 doc/guix.texi:21113 +#: doc/guix.texi:6628 doc/guix.texi:22571 msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root." msgstr "Fait de @var{fichier} un lien symbolique vers le résultat, et l'enregistre en tant que racine du ramasse-miettes." #. type: table -#: doc/guix.texi:6034 +#: doc/guix.texi:6634 msgid "Consequently, the results of this @command{guix build} invocation are protected from garbage collection until @var{file} is removed. When that option is omitted, build results are eligible for garbage collection as soon as the build completes. @xref{Invoking guix gc}, for more on GC roots." msgstr "En conséquence, les résultats de cette invocation de @command{guix build} sont protégés du ramasse-miettes jusqu'à ce que @var{fichier} soit supprimé. Lorsque cette option est omise, les constructions sont susceptibles d'être glanées." #. type: item -#: doc/guix.texi:6035 +#: doc/guix.texi:6635 #, no-wrap msgid "--log-file" msgstr "--log-file" #. type: cindex -#: doc/guix.texi:6036 +#: doc/guix.texi:6636 #, no-wrap msgid "build logs, access" msgstr "journaux de construction, accès" #. type: table -#: doc/guix.texi:6040 +#: doc/guix.texi:6640 msgid "Return the build log file names or URLs for the given @var{package-or-derivation}, or raise an error if build logs are missing." msgstr "Renvoie les noms des journaux de construction ou les URL des @var{package-or-derivation} donnés ou lève une erreur si les journaux de construction sont absents." #. type: table -#: doc/guix.texi:6043 +#: doc/guix.texi:6643 msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:" msgstr "Cela fonctionne indépendamment de la manière dont les paquets ou les dérivations sont spécifiées. Par exemple, les invocations suivantes sont équivalentes :" #. type: example -#: doc/guix.texi:6049 +#: doc/guix.texi:6649 #, no-wrap msgid "" "guix build --log-file `guix build -d guile`\n" @@ -11360,17 +12437,17 @@ msgstr "" "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n" #. type: table -#: doc/guix.texi:6054 +#: doc/guix.texi:6654 msgid "If a log is unavailable locally, and unless @code{--no-substitutes} is passed, the command looks for a corresponding log on one of the substitute servers (as specified with @code{--substitute-urls}.)" msgstr "Si un journal n'est pas disponible localement, à moins que @code{--no-substitutes} ne soit passé, la commande cherche un journal correspondant sur l'un des serveurs de substituts (tels que spécifiés avec @code{--substitute-urls}.)" #. type: table -#: doc/guix.texi:6057 +#: doc/guix.texi:6657 msgid "So for instance, imagine you want to see the build log of GDB on MIPS, but you are actually on an @code{x86_64} machine:" msgstr "Donc par exemple, imaginons que vous souhaitiez voir le journal de construction de GDB sur MIPS, mais que vous n'avez qu'une machine @code{x86_64} :" #. type: example -#: doc/guix.texi:6061 +#: doc/guix.texi:6661 #, no-wrap msgid "" "$ guix build --log-file gdb -s mips64el-linux\n" @@ -11380,33 +12457,33 @@ msgstr "" "https://hydra.gnu.org/log/@dots{}-gdb-7.10\n" #. type: table -#: doc/guix.texi:6064 +#: doc/guix.texi:6664 msgid "You can freely access a huge library of build logs!" msgstr "Vous pouvez accéder librement à un vaste bibliothèque de journaux de construction !" #. type: cindex -#: doc/guix.texi:6069 +#: doc/guix.texi:6669 #, no-wrap msgid "build failures, debugging" msgstr "échecs de construction, débogage" #. type: Plain text -#: doc/guix.texi:6075 +#: doc/guix.texi:6675 msgid "When defining a new package (@pxref{Defining Packages}), you will probably find yourself spending some time debugging and tweaking the build until it succeeds. To do that, you need to operate the build commands yourself in an environment as close as possible to the one the build daemon uses." msgstr "Lors de la définition d'un nouveau paquet (@pxref{Defining Packages}), vous passerez probablement du temps à déboguer et modifier la construction jusqu'à ce que ça marche. Pour cela, vous devez effectuer les commandes de construction vous-même dans un environnement le plus proche possible de celui qu'utilise le démon de construction." #. type: Plain text -#: doc/guix.texi:6080 +#: doc/guix.texi:6680 msgid "To that end, the first thing to do is to use the @option{--keep-failed} or @option{-K} option of @command{guix build}, which will keep the failed build tree in @file{/tmp} or whatever directory you specified as @code{TMPDIR} (@pxref{Invoking guix build, @code{--keep-failed}})." msgstr "Pour cela, la première chose à faire est d'utiliser l'option @option{--keep-failed} ou @option{-K} de @command{guix build}, qui gardera l'arborescence de construction dans @file{/tmp} ou le répertoire spécifié par @code{TMPDIR} (@pxref{Invoking guix build, @code{--keep-failed}})." #. type: Plain text -#: doc/guix.texi:6086 +#: doc/guix.texi:6686 msgid "From there on, you can @command{cd} to the failed build tree and source the @file{environment-variables} file, which contains all the environment variable definitions that were in place when the build failed. So let's say you're debugging a build failure in package @code{foo}; a typical session would look like this:" msgstr "À partir de là, vous pouvez vous déplacer dans l'arborescence de construction et sourcer le fichier @file{environment-variables}, qui contient toutes les variables d'environnement qui étaient définies lorsque la construction a échoué. Disons que vous déboguez un échec de construction dans le paquet @code{foo} ; une session typique ressemblerait à cela :" #. type: example -#: doc/guix.texi:6093 +#: doc/guix.texi:6693 #, no-wrap msgid "" "$ guix build foo -K\n" @@ -11422,22 +12499,22 @@ msgstr "" "$ cd foo-1.2\n" #. type: Plain text -#: doc/guix.texi:6097 +#: doc/guix.texi:6697 msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process." msgstr "Maintenant, vous pouvez invoquer les commandes comme si vous étiez le démon (presque) et corriger le processus de construction." #. type: Plain text -#: doc/guix.texi:6103 +#: doc/guix.texi:6703 msgid "Sometimes it happens that, for example, a package's tests pass when you run them manually but they fail when the daemon runs them. This can happen because the daemon runs builds in containers where, unlike in our environment above, network access is missing, @file{/bin/sh} does not exist, etc. (@pxref{Build Environment Setup})." msgstr "Parfois il arrive que, par exemple, les tests d'un paquet réussissent lorsque vous les lancez manuellement mais échouent quand ils sont lancés par le démon. Cela peut arriver parce que le démon tourne dans un conteneur où, contrairement à notre environnement au-dessus, l'accès réseau est indisponible, @file{/bin/sh} n'existe pas, etc (@pxref{Build Environment Setup})." #. type: Plain text -#: doc/guix.texi:6106 +#: doc/guix.texi:6706 msgid "In such cases, you may need to run inspect the build process from within a container similar to the one the build daemon creates:" msgstr "Dans ce cas, vous pourriez avoir besoin de lancer le processus de construction dans un conteneur similaire à celui que le démon crée :" #. type: example -#: doc/guix.texi:6114 +#: doc/guix.texi:6714 #, no-wrap msgid "" "$ guix build -K foo\n" @@ -11455,251 +12532,251 @@ msgstr "" "[env]# cd foo-1.2\n" #. type: Plain text -#: doc/guix.texi:6123 +#: doc/guix.texi:6723 msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which would may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)." msgstr "Ici, @command{guix environment -C} crée un conteneur et démarre un nouveau shell dedans (@pxref{Invoking guix environment}). La partie @command{--ad-hoc strace gdb} ajoute les commandes @command{strace} et @command{gdb} dans le conteneur, ce qui pourrait s'avérer utile pour le débogage. L'option @option{--no-grafts} s'assure qu'on obtient le même environnement, avec des paquets non greffés (@pxref{Security Updates}, pour plus d'informations sur les greffes)." #. type: Plain text -#: doc/guix.texi:6126 +#: doc/guix.texi:6726 msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:" msgstr "Pour obtenir un conteneur plus proche de ce qui serait utilisé par le démon de construction, on peut enlever @file{/bin/sh} :" #. type: example -#: doc/guix.texi:6129 +#: doc/guix.texi:6729 #, no-wrap msgid "[env]# rm /bin/sh\n" msgstr "[env]# rm /bin/sh\n" #. type: Plain text -#: doc/guix.texi:6133 +#: doc/guix.texi:6733 msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)" msgstr "Ne vous inquiétez pas, c'est sans danger : tout cela se passe dans un conteneur jetable créé par @command{guix environment}." #. type: Plain text -#: doc/guix.texi:6136 +#: doc/guix.texi:6736 msgid "The @command{strace} command is probably not in the search path, but we can run:" msgstr "La commande @command{strace} n'est probablement pas dans le chemin de recherche, mais on peut lancer :" #. type: example -#: doc/guix.texi:6139 +#: doc/guix.texi:6739 #, no-wrap msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n" msgstr "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n" #. type: Plain text -#: doc/guix.texi:6144 +#: doc/guix.texi:6744 msgid "In this way, not only you will have reproduced the environment variables the daemon uses, you will also be running the build process in a container similar to the one the daemon uses." msgstr "De cette manière, non seulement vous aurez reproduit les variables d'environnement utilisées par le démon, mais vous lancerez aussi le processus de construction dans un conteneur similaire à celui utilisé par le démon." #. type: section -#: doc/guix.texi:6147 +#: doc/guix.texi:6747 #, no-wrap msgid "Invoking @command{guix edit}" msgstr "Invoquer @command{guix edit}" #. type: command{#1} -#: doc/guix.texi:6149 +#: doc/guix.texi:6749 #, no-wrap msgid "guix edit" msgstr "guix edit" #. type: cindex -#: doc/guix.texi:6150 +#: doc/guix.texi:6750 #, no-wrap msgid "package definition, editing" msgstr "définition de paquets, modification" #. type: Plain text -#: doc/guix.texi:6155 +#: doc/guix.texi:6755 msgid "So many packages, so many source files! The @command{guix edit} command facilitates the life of users and packagers by pointing their editor at the source file containing the definition of the specified packages. For instance:" msgstr "Tant de paquets, tant de fichiers source ! La commande @command{guix edit} facilite la vie des utilisateurs et des packagers en plaçant leur éditeur sur le fichier source qui contient la définition des paquets spécifiés. Par exemple :" #. type: example -#: doc/guix.texi:6158 +#: doc/guix.texi:6758 #, no-wrap msgid "guix edit gcc@@4.9 vim\n" msgstr "guix edit gcc@@4.9 vim\n" #. type: Plain text -#: doc/guix.texi:6164 +#: doc/guix.texi:6764 msgid "launches the program specified in the @code{VISUAL} or in the @code{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim." msgstr "lance le programme spécifié dans la variable d'environnement @code{VISUAL} ou @code{EDITOR} pour visionner la recette de GCC@tie{}4.9.3 et cele de Vim." #. type: Plain text -#: doc/guix.texi:6170 -msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @code{GUIX_PACKAGE_PATH} (@pxref{Defining Packages}), you will be able to edit the package recipes. Otherwise, you will be able to examine the read-only recipes for packages currently in the store." -msgstr "Si vous utilisez une copie du dépôt Git de Guix (@pxref{Building from Git}), ou que vous avez créé vos propres paquets dans @code{GUIX_PACKAGE_PATH} (@pxref{Defining Packages}), vous pourrez modifier les recettes des paquets. Sinon, vous pourrez examiner les recettes en lecture-seule des paquets actuellement dans le dépôt." +#: doc/guix.texi:6770 +msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @code{GUIX_PACKAGE_PATH} (@pxref{Package Modules}), you will be able to edit the package recipes. In other cases, you will be able to examine the read-only recipes for packages currently in the store." +msgstr "Si vous utilisez une copie du dépôt Git de Guix (@pxref{Building from Git}), ou que vous avez créé vos propres paquets dans @code{GUIX_PACKAGE_PATH} (@pxref{Package Modules}), vous pourrez modifier les recettes des paquets. Sinon, vous pourrez examiner les recettes en lecture-seule des paquets actuellement dans le dépôt." #. type: section -#: doc/guix.texi:6173 +#: doc/guix.texi:6773 #, no-wrap msgid "Invoking @command{guix download}" msgstr "Invoquer @command{guix download}" #. type: command{#1} -#: doc/guix.texi:6175 +#: doc/guix.texi:6775 #, no-wrap msgid "guix download" msgstr "guix download" #. type: cindex -#: doc/guix.texi:6176 +#: doc/guix.texi:6776 #, no-wrap msgid "downloading package sources" msgstr "télécharger les sources des paquets" #. type: Plain text -#: doc/guix.texi:6183 +#: doc/guix.texi:6783 msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash." msgstr "En écrivant des définitions de paquets, les développeurs ont généralement besoin de télécharger une archive des sources, calculer son hash SHA256 et écrire ce hash dans la définition du paquet (@pxref{Defining Packages}). L'outil @command{guix download} aide à cette tâche : il télécharge un fichier à l'URL donné, l'ajoute au dépôt et affiche à la fois son nom dans le dépôt et son hash SHA56." #. type: Plain text -#: doc/guix.texi:6190 +#: doc/guix.texi:6790 msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})." msgstr "Le fait que le fichier téléchargé soit ajouté au dépôt préserve la bande passante : losque les développeurs finissent par construire le paquet nouvellement défini avec @command{guix build}, l'archive des sources n'aura pas besoin d'être téléchargée de nouveau puisqu'elle se trouvera déjà dans le dépôt. C'est aussi une manière pratique de garder des fichiers temporairement, qui pourront ensuite être supprimés (@pxref{Invoking guix gc})." #. type: Plain text -#: doc/guix.texi:6198 +#: doc/guix.texi:6798 msgid "The @command{guix download} command supports the same URIs as used in package definitions. In particular, it supports @code{mirror://} URIs. @code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile bindings for GnuTLS are available in the user's environment; when they are not available, an error is raised. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more information." msgstr "La commande @command{guix download} supporte les mêmes URI que celles utilisées dans les définitions de paquets. En particulier, elle supporte les URI @code {mirror://}. Les URI @code{http} (HTTP sur TLS) sont supportées @emph{si} les liaisons Guile de GnuTLS sont disponibles dans l'environnement de l'utilisateur ; si elle ne sont pas disponibles, une erreur est renvoyée. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, pour plus d'informations." #. type: Plain text -#: doc/guix.texi:6203 +#: doc/guix.texi:6803 msgid "@command{guix download} verifies HTTPS server certificates by loading the certificates of X.509 authorities from the directory pointed to by the @code{SSL_CERT_DIR} environment variable (@pxref{X.509 Certificates}), unless @option{--no-check-certificate} is used." msgstr "@command{guix download} vérifie les certificats du serveur HTTPS en chargeant les autorités de certification X.509 depuis le répertoire vers lequel pointe la variable d'environnement @code{SSL_CERT_DIR} (@pxref{X.509 Certificates}), à moins que @option{--no-check-certificate} ne soit utilisé." #. type: Plain text -#: doc/guix.texi:6205 doc/guix.texi:7721 +#: doc/guix.texi:6805 doc/guix.texi:8390 msgid "The following options are available:" msgstr "Les options suivantes sont disponibles :" #. type: item -#: doc/guix.texi:6207 doc/guix.texi:6246 +#: doc/guix.texi:6807 doc/guix.texi:6846 #, no-wrap msgid "--format=@var{fmt}" msgstr "--format=@var{fmt}" #. type: itemx -#: doc/guix.texi:6208 doc/guix.texi:6247 +#: doc/guix.texi:6808 doc/guix.texi:6847 #, no-wrap msgid "-f @var{fmt}" msgstr "-f @var{fmt}" #. type: table -#: doc/guix.texi:6211 +#: doc/guix.texi:6811 msgid "Write the hash in the format specified by @var{fmt}. For more information on the valid values for @var{fmt}, @pxref{Invoking guix hash}." msgstr "Écrit le hash dans le format spécifié par @var{fmt}. Pour plus d'informations sur les valeurs valides pour @var{fmt}, @pxref{Invoking guix hash}." #. type: item -#: doc/guix.texi:6212 +#: doc/guix.texi:6812 #, no-wrap msgid "--no-check-certificate" msgstr "--no-check-certificate" #. type: table -#: doc/guix.texi:6214 +#: doc/guix.texi:6814 msgid "Do not validate the X.509 certificates of HTTPS servers." msgstr "Ne pas valider les certificats HTTPS des serveurs." #. type: table -#: doc/guix.texi:6218 +#: doc/guix.texi:6818 msgid "When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks." msgstr "Lorsque vous utilisez cette option, vous n'avez @emph{absolument aucune garanti} que vous communiquez avec le serveur authentique responsable de l'URL donnée, ce qui vous rend vulnérable à des attaques de « l'homme du milieu »." #. type: item -#: doc/guix.texi:6219 +#: doc/guix.texi:6819 #, no-wrap msgid "--output=@var{file}" msgstr "--output=@var{fichier}" #. type: itemx -#: doc/guix.texi:6220 +#: doc/guix.texi:6820 #, no-wrap msgid "-o @var{file}" msgstr "-o @var{fichier}" #. type: table -#: doc/guix.texi:6223 +#: doc/guix.texi:6823 msgid "Save the downloaded file to @var{file} instead of adding it to the store." msgstr "Enregistre le fichier téléchargé dans @var{fichier} plutôt que de l'ajouter au dépôt." #. type: section -#: doc/guix.texi:6226 +#: doc/guix.texi:6826 #, no-wrap msgid "Invoking @command{guix hash}" msgstr "Invoquer @command{guix hash}" #. type: command{#1} -#: doc/guix.texi:6228 +#: doc/guix.texi:6828 #, no-wrap msgid "guix hash" msgstr "guix hash" #. type: Plain text -#: doc/guix.texi:6233 +#: doc/guix.texi:6833 msgid "The @command{guix hash} command computes the SHA256 hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of a file, which can be used in the definition of a package (@pxref{Defining Packages})." msgstr "La commande @command{guix hash} calcul le hash SHA256 d'un fichier. C'est surtout un outil pour simplifier la vie des contributeurs de la distribution : il calcul le hash cryptographique d'un fichier, qui peut être utilisé dans la définition d'un paquet (@pxref{Defining Packages})." #. type: example -#: doc/guix.texi:6238 +#: doc/guix.texi:6838 #, no-wrap msgid "guix hash @var{option} @var{file}\n" msgstr "guix hash @var{option} @var{fichier}\n" #. type: Plain text -#: doc/guix.texi:6243 +#: doc/guix.texi:6843 msgid "When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the hash of data read from standard input. @command{guix hash} has the following options:" msgstr "Lorsque @var{fichier} est @code{-} (un tiret), @command{guix hash} calcul le hash des données lues depuis l'entrée standard. @command{guix hash} a les options suivantes :" #. type: table -#: doc/guix.texi:6249 +#: doc/guix.texi:6849 msgid "Write the hash in the format specified by @var{fmt}." msgstr "Écrit le hash dans le format spécifié par @var{fmt}." #. type: table -#: doc/guix.texi:6252 +#: doc/guix.texi:6852 msgid "Supported formats: @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)." msgstr "Les formats supportés sont : @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} et @code{hexadecimal} peuvent aussi être utilisés)." #. type: table -#: doc/guix.texi:6256 +#: doc/guix.texi:6856 msgid "If the @option{--format} option is not specified, @command{guix hash} will output the hash in @code{nix-base32}. This representation is used in the definitions of packages." msgstr "Si l'option @option {--format} n'est pas spécifiée, @command{guix hash} affichera le hash en @code{nix-base32}. Cette représentation est utilisée dans les définitions des paquets." #. type: table -#: doc/guix.texi:6260 +#: doc/guix.texi:6860 msgid "Compute the hash on @var{file} recursively." msgstr "Calcule le hash sur @var{fichier} récursivement." #. type: table -#: doc/guix.texi:6269 +#: doc/guix.texi:6869 msgid "In this case, the hash is computed on an archive containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps has no impact on the hash (@pxref{Invoking guix archive})." msgstr "Dans ce cas, le hash est calculé sur une archive contenant @var{fichier}, dont ses enfants si c'est un répertoire. Certaines métadonnées de @var{fichier} fait partie de l'archive ; par exemple lorsque @var{fichier} est un fichier normal, le hash est différent que le @var{fichier} soit exécutable ou non. Les métadonnées comme un horodatage n'ont aucun impact sur le hash (@pxref{Invoking guix archive})." #. type: item -#: doc/guix.texi:6270 +#: doc/guix.texi:6870 #, no-wrap msgid "--exclude-vcs" msgstr "--exclude-vcs" #. type: itemx -#: doc/guix.texi:6271 +#: doc/guix.texi:6871 #, no-wrap msgid "-x" msgstr "-x" #. type: table -#: doc/guix.texi:6274 +#: doc/guix.texi:6874 msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)" msgstr "Lorsqu'elle est combinée à @option{--recursive}, exclut les répertoires de système de contrôle de version (@file{.bzr}, @file{.git}, @file{.hg}, etc)." #. type: table -#: doc/guix.texi:6279 +#: doc/guix.texi:6879 msgid "As an example, here is how you would compute the hash of a Git checkout, which is useful when using the @code{git-fetch} method (@pxref{origin Reference}):" msgstr "Par exemple, voici comment calculer le hash d'un dépôt Git, ce qui est utile avec la méthode @code{git-fetch} (@pxref{origin Reference}) :" #. type: example -#: doc/guix.texi:6284 +#: doc/guix.texi:6884 #, no-wrap msgid "" "$ git clone http://example.org/foo.git\n" @@ -11711,299 +12788,299 @@ msgstr "" "$ guix hash -rx .\n" #. type: cindex -#: doc/guix.texi:6288 doc/guix.texi:6293 +#: doc/guix.texi:6888 doc/guix.texi:6893 #, no-wrap msgid "Invoking @command{guix import}" msgstr "Invoquer @command{guix import}" #. type: cindex -#: doc/guix.texi:6290 +#: doc/guix.texi:6890 #, no-wrap msgid "importing packages" msgstr "importer des paquets" #. type: cindex -#: doc/guix.texi:6291 +#: doc/guix.texi:6891 #, no-wrap msgid "package import" msgstr "paquets importés" #. type: cindex -#: doc/guix.texi:6292 +#: doc/guix.texi:6892 #, no-wrap msgid "package conversion" msgstr "conversion de paquets" #. type: Plain text -#: doc/guix.texi:6300 +#: doc/guix.texi:6900 msgid "The @command{guix import} command is useful for people who would like to add a package to the distribution with as little work as possible---a legitimate demand. The command knows of a few repositories from which it can ``import'' package metadata. The result is a package definition, or a template thereof, in the format we know (@pxref{Defining Packages})." msgstr "La commande @command{guix import} est utile pour les gens qui voudraient ajouter un paquet à la distribution avec aussi peu de travail que possible — une demande légitime. La commande connaît quelques dépôts logiciels d'où elle peut « importer » des métadonnées de paquets. Le résultat est une définition de paquet, ou un modèle de définition, dans le format reconnu par Guix (@pxref{Defining Packages})." #. type: example -#: doc/guix.texi:6305 +#: doc/guix.texi:6905 #, no-wrap msgid "guix import @var{importer} @var{options}@dots{}\n" msgstr "guix import @var{importer} @var{options}@dots{}\n" #. type: Plain text -#: doc/guix.texi:6311 +#: doc/guix.texi:6911 msgid "@var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other options specific to @var{importer}. Currently, the available ``importers'' are:" msgstr "@var{importer} spécifie la source depuis laquelle importer des métadonnées de paquets, et @var{options} spécifie un identifiant de paquet et d'autres options spécifiques à @var{importer}. Actuellement les « importateurs » disponibles sont :" #. type: item -#: doc/guix.texi:6313 doc/guix.texi:6772 +#: doc/guix.texi:6913 doc/guix.texi:7404 #, no-wrap msgid "gnu" msgstr "gnu" #. type: table -#: doc/guix.texi:6317 +#: doc/guix.texi:6917 msgid "Import metadata for the given GNU package. This provides a template for the latest version of that GNU package, including the hash of its source tarball, and its canonical synopsis and description." msgstr "Importe des métadonnées d'un paquet GNU donné. Cela fournit un modèle pour la dernière version de ce paquet GNU, avec le hash de son archive, le synopsis et la description canonique." #. type: table -#: doc/guix.texi:6320 +#: doc/guix.texi:6920 msgid "Additional information such as the package dependencies and its license needs to be figured out manually." msgstr "Les informations supplémentaires comme les dépendances du paquet et sa licence doivent être renseignées manuellement." #. type: table -#: doc/guix.texi:6323 +#: doc/guix.texi:6923 msgid "For example, the following command returns a package definition for GNU@tie{}Hello:" msgstr "Par exemple, la commande suivante renvoie une définition de paquets pour GNU@tie{}Hello :" #. type: example -#: doc/guix.texi:6326 +#: doc/guix.texi:6926 #, no-wrap msgid "guix import gnu hello\n" msgstr "guix import gnu hello\n" #. type: table -#: doc/guix.texi:6329 doc/guix.texi:6547 doc/guix.texi:6592 doc/guix.texi:6616 +#: doc/guix.texi:6929 doc/guix.texi:7163 doc/guix.texi:7213 doc/guix.texi:7242 msgid "Specific command-line options are:" msgstr "Les options spécifiques sont :" #. type: item -#: doc/guix.texi:6331 doc/guix.texi:6873 +#: doc/guix.texi:6931 doc/guix.texi:7535 #, no-wrap msgid "--key-download=@var{policy}" msgstr "--key-download=@var{politique}" #. type: table -#: doc/guix.texi:6335 +#: doc/guix.texi:6935 msgid "As for @code{guix refresh}, specify the policy to handle missing OpenPGP keys when verifying the package signature. @xref{Invoking guix refresh, @code{--key-download}}." msgstr "Comme pour @code{guix refresh}, spécifie la politique de gestion des clefs OpenPGP manquantes lors de la vérification de la signature d'un paquet. @xref{Invoking guix refresh, @code{--key-download}}." #. type: item -#: doc/guix.texi:6337 doc/guix.texi:6338 doc/guix.texi:6790 +#: doc/guix.texi:6937 doc/guix.texi:6938 doc/guix.texi:7422 #, no-wrap msgid "pypi" msgstr "pypi" #. type: table -#: doc/guix.texi:6346 +#: doc/guix.texi:6946 msgid "Import metadata from the @uref{https://pypi.python.org/, Python Package Index}@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Information is taken from the JSON-formatted description available at @code{pypi.python.org} and usually includes all the relevant information, including package dependencies. For maximum efficiency, it is recommended to install the @command{unzip} utility, so that the importer can unzip Python wheels and gather data from them." msgstr "Importe des métadonnées depuis @uref{https://pypi.python.org/, l'index des paquets Python}@footnote{Cette fonctionnalité requiert l'installation de Guile-JSON. @xref{Requirements}.}. Les informations sont récupérées à partir de la description en JSON disponible sur @code{pypi.python.org} et inclus généralement toutes les informations utiles, dont les dépendances des paquets. Pour une efficacité maximale, il est recommandé d'installer l'utilitaire @command{unzip}, pour que l'importateur puisse dézipper les wheels Python et récupérer les informations contenues à l'intérieur." #. type: table -#: doc/guix.texi:6349 +#: doc/guix.texi:6949 msgid "The command below imports metadata for the @code{itsdangerous} Python package:" msgstr "La commande ci-dessous importe les métadonnées du paquet Python @code{itsdangerous} :" #. type: example -#: doc/guix.texi:6352 +#: doc/guix.texi:6952 #, no-wrap msgid "guix import pypi itsdangerous\n" msgstr "guix import pypi itsdangerous\n" +#. type: table +#: doc/guix.texi:6960 doc/guix.texi:6987 doc/guix.texi:7186 doc/guix.texi:7227 +#: doc/guix.texi:7274 +msgid "Traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix." +msgstr "Traverse le graphe des dépendances du paquet amont donné et génère les expressions de paquets de tous ceux qui ne sont pas déjà dans Guix." + #. type: item -#: doc/guix.texi:6354 doc/guix.texi:6355 doc/guix.texi:6792 +#: doc/guix.texi:6962 doc/guix.texi:6963 doc/guix.texi:7424 #, no-wrap msgid "gem" msgstr "gem" #. type: table -#: doc/guix.texi:6366 +#: doc/guix.texi:6974 msgid "Import metadata from @uref{https://rubygems.org/, RubyGems}@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Information is taken from the JSON-formatted description available at @code{rubygems.org} and includes most relevant information, including runtime dependencies. There are some caveats, however. The metadata doesn't distinguish between synopses and descriptions, so the same string is used for both fields. Additionally, the details of non-Ruby dependencies required to build native extensions is unavailable and left as an exercise to the packager." msgstr "Importe des métadonnées de @uref{https://rubygems.org/, RubyGems}@footnote{Cette fonctionnalité requiert l'installation de Guile-JSON. @xref{Requirements}.}. Les informations sont récupérées au format JSON disponible sur @code{rubygems.org} et inclut les informations les plus utiles, comme les dépendances à l'exécution. Il y a des pièges cependant. Les métadonnées ne distinguent pas synopsis et description, donc la même chaîne est utilisée pour les deux champs. En plus, les détails des dépendances non Ruby requises pour construire des extensions natives sont indisponibles et laissé en exercice au packager." #. type: table -#: doc/guix.texi:6368 +#: doc/guix.texi:6976 msgid "The command below imports metadata for the @code{rails} Ruby package:" msgstr "La commande ci-dessous importe les métadonnées pour le paquet Ruby @code{rails} :" #. type: example -#: doc/guix.texi:6371 +#: doc/guix.texi:6979 #, no-wrap msgid "guix import gem rails\n" msgstr "guix import gem rails\n" #. type: item -#: doc/guix.texi:6373 doc/guix.texi:6788 +#: doc/guix.texi:6989 doc/guix.texi:7420 #, no-wrap msgid "cpan" msgstr "cpan" #. type: cindex -#: doc/guix.texi:6374 +#: doc/guix.texi:6990 #, no-wrap msgid "CPAN" msgstr "CPAN" #. type: table -#: doc/guix.texi:6384 +#: doc/guix.texi:7000 msgid "Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information should be checked closely. If Perl is available in the store, then the @code{corelist} utility will be used to filter core modules out of the list of dependencies." msgstr "Importe des métadonnées de @uref{https://www.metacpan.org/, MetaCPAN}@footnote{Cette fonctionnalité requiert l'installation de Guile-JSON. @xref{Requirements}.}. Les informations sont récupérées au format JSON disponible à travers @uref{https://fastapi.metacpan.org/, l'API de MetaCPAN} et inclus les informations les plus utiles, comme les dépendances des modules. L'information sur les licences doit être vérifiée avec attention. Si Perl est disponible dans le dépôt, alors l'utilitaire @code{corelist} sera utiliser pour exclure les modules du cœur de la distribution Perl de la liste des dépendances." #. type: table -#: doc/guix.texi:6387 +#: doc/guix.texi:7003 msgid "The command command below imports metadata for the @code{Acme::Boolean} Perl module:" msgstr "La commande ci-dessous importe les métadonnées du module Perl @code{Acme::Boolean} :" #. type: example -#: doc/guix.texi:6390 +#: doc/guix.texi:7006 #, no-wrap msgid "guix import cpan Acme::Boolean\n" msgstr "guix import cpan Acme::Boolean\n" #. type: item -#: doc/guix.texi:6392 doc/guix.texi:6784 +#: doc/guix.texi:7008 doc/guix.texi:7416 #, no-wrap msgid "cran" msgstr "cran" #. type: cindex -#: doc/guix.texi:6393 +#: doc/guix.texi:7009 #, no-wrap msgid "CRAN" msgstr "CRAN" #. type: cindex -#: doc/guix.texi:6394 +#: doc/guix.texi:7010 #, no-wrap msgid "Bioconductor" msgstr "Bioconductor" #. type: table -#: doc/guix.texi:6398 +#: doc/guix.texi:7014 msgid "Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central repository for the @uref{http://r-project.org, GNU@tie{}R statistical and graphical environment}." msgstr "Importe des métadonnées de @uref{https://cran.r-project.org/, CRAN}, le dépôt central de @uref{http://r-project.org, l'environnement statistique et graphique GUN@tie{}R}." #. type: table -#: doc/guix.texi:6400 +#: doc/guix.texi:7016 msgid "Information is extracted from the @code{DESCRIPTION} file of the package." msgstr "Les informations sont extraites du fichier @file{DESCRIPTION} du paquet." #. type: table -#: doc/guix.texi:6403 +#: doc/guix.texi:7019 msgid "The command command below imports metadata for the @code{Cairo} R package:" msgstr "La commande ci-dessous importe les métadonnées du paquet R @code{Cairo} :" #. type: example -#: doc/guix.texi:6406 +#: doc/guix.texi:7022 #, no-wrap msgid "guix import cran Cairo\n" msgstr "guix import cran Cairo\n" #. type: table -#: doc/guix.texi:6411 +#: doc/guix.texi:7027 msgid "When @code{--recursive} is added, the importer will traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix." msgstr "Lorsque l'option @code{--recursive} est utilisée, l'importateur traversera le graphe des dépendances du paquet amont récursivement et générera des expressions de paquets pour tous ceux qui ne sont pas déjà dans Guix." #. type: table -#: doc/guix.texi:6416 +#: doc/guix.texi:7032 msgid "When @code{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for for the analysis and comprehension of high-throughput genomic data in bioinformatics." msgstr "Lorsque l'option @code{--archive=bioconductor} est utilisée, les métadonnées sont importées de @uref{https://www.bioconductor.org/, Bioconductor}, un répertoire de paquets R pour l'analyse et la compréhension de données génomiques volumineuses en bioinformatique." #. type: table -#: doc/guix.texi:6419 +#: doc/guix.texi:7035 msgid "Information is extracted from the @code{DESCRIPTION} file of a package published on the web interface of the Bioconductor SVN repository." msgstr "Les informations sont extraites du fichier @file{DESCRIPTION} d'un paquet publié sur l'interface web du dépôt SVN de Bioconductor." #. type: table -#: doc/guix.texi:6422 +#: doc/guix.texi:7038 msgid "The command below imports metadata for the @code{GenomicRanges} R package:" msgstr "La commande ci-dessous importe les métadonnées du paquet R @code{GenomicRanges} :" #. type: example -#: doc/guix.texi:6425 +#: doc/guix.texi:7041 #, no-wrap msgid "guix import cran --archive=bioconductor GenomicRanges\n" msgstr "guix import cran --archive=bioconductor GenomicRanges\n" #. type: item -#: doc/guix.texi:6427 +#: doc/guix.texi:7043 #, no-wrap msgid "texlive" msgstr "texlive" #. type: cindex -#: doc/guix.texi:6428 +#: doc/guix.texi:7044 #, no-wrap msgid "TeX Live" msgstr "TeX Live" #. type: cindex -#: doc/guix.texi:6429 +#: doc/guix.texi:7045 #, no-wrap msgid "CTAN" msgstr "CTAN" #. type: table -#: doc/guix.texi:6433 +#: doc/guix.texi:7049 msgid "Import metadata from @uref{http://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}." msgstr "Importe les métadonnées de @uref{http://www.ctan.org/, CTAN}, l'archive TeX réseau complète pour les paquets TeX qui font partie de la @uref{https://www.tug.org/texlive/, distribution TeX Live}." #. type: table -#: doc/guix.texi:6438 +#: doc/guix.texi:7054 msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives." msgstr "Les informations sur les paquets sont obtenues à travers l'API XML fournie par CTAN, tandis que le code source est téléchargé depuis le dépôt SVN du projet Tex Live. Cette méthode est utilisée parce que CTAN ne garde pas d'archives versionnées." #. type: table -#: doc/guix.texi:6441 +#: doc/guix.texi:7057 msgid "The command command below imports metadata for the @code{fontspec} TeX package:" msgstr "La commande ci-dessous importe les métadonnées du paquet TeX @code{fontspec} :" #. type: example -#: doc/guix.texi:6444 +#: doc/guix.texi:7060 #, no-wrap msgid "guix import texlive fontspec\n" msgstr "guix import texlive fontspec\n" #. type: table -#: doc/guix.texi:6450 +#: doc/guix.texi:7066 msgid "When @code{--archive=DIRECTORY} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling directory under the same root." msgstr "Lorsque l'option @code{--archive=DIRECTORY} est utilisée, le code source n'est pas téléchargé depuis le sous-répertoire @file{latex} du l'arborescence @file{texmf-dist/source} dans le dépôt SVN de TeX Live, mais depuis le répertoire voisin spécifié sous la même racine." #. type: table -#: doc/guix.texi:6454 +#: doc/guix.texi:7070 msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:" msgstr "La commande ci-dessous importe les métadonnées du paquet @code{ifxetex} depuis CTAN en récupérant les sources depuis le répertoire @file{texmf/source/generic} :" #. type: example -#: doc/guix.texi:6457 +#: doc/guix.texi:7073 #, no-wrap msgid "guix import texlive --archive=generic ifxetex\n" msgstr "guix import texlive --archive=generic ifxetex\n" -#. type: item -#: doc/guix.texi:6459 -#, no-wrap -msgid "json" -msgstr "json" - #. type: cindex -#: doc/guix.texi:6460 +#: doc/guix.texi:7076 #, no-wrap msgid "JSON, import" msgstr "JSON, import" #. type: table -#: doc/guix.texi:6465 +#: doc/guix.texi:7081 msgid "Import package metadata from a local JSON file@footnote{This functionality requires Guile-JSON to be installed. @xref{Requirements}.}. Consider the following example package definition in JSON format:" msgstr "Importe des métadonnées d'un fichier JSON local@footnote{Cette fonctionnalité requiert l'installation de Guile-JSON. @xref{Requirements}.}. Considérez l'exemple suivant d'une définition de paquet au format JSON :" #. type: example -#: doc/guix.texi:6478 +#: doc/guix.texi:7094 #, no-wrap msgid "" "@{\n" @@ -12031,17 +13108,17 @@ msgstr "" "@}\n" #. type: table -#: doc/guix.texi:6484 +#: doc/guix.texi:7100 msgid "The field names are the same as for the @code{} record (@xref{Defining Packages}). References to other packages are provided as JSON lists of quoted package specification strings such as @code{guile} or @code{guile@@2.0}." msgstr "Les noms des champs sont les mêmes que pour les enregistrements de @code{} (@xref{Defining Packages}). Les référence à d'autres paquets sont fournies comme des listes JSON de chaînes de spécifications de paquets comme @code{guile} ou @code{guile@@2.0}." #. type: table -#: doc/guix.texi:6487 +#: doc/guix.texi:7103 msgid "The importer also supports a more explicit source definition using the common fields for @code{} records:" msgstr "L'importateur supporte aussi une définition plus explicite des sources avec les champs habituels pour les enregistrements @code{} :" #. type: example -#: doc/guix.texi:6500 +#: doc/guix.texi:7116 #, no-wrap msgid "" "@{\n" @@ -12069,270 +13146,288 @@ msgstr "" "@}\n" #. type: table -#: doc/guix.texi:6504 +#: doc/guix.texi:7120 msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:" msgstr "La commande ci-dessous lit les métadonnées du fichier JSON @code{hello.json} et renvoie une expression de paquet :" #. type: example -#: doc/guix.texi:6507 +#: doc/guix.texi:7123 #, no-wrap msgid "guix import json hello.json\n" msgstr "guix import json hello.json\n" #. type: item -#: doc/guix.texi:6509 +#: doc/guix.texi:7125 #, no-wrap msgid "nix" msgstr "nix" #. type: table -#: doc/guix.texi:6518 +#: doc/guix.texi:7134 msgid "Import metadata from a local copy of the source of the @uref{http://nixos.org/nixpkgs/, Nixpkgs distribution}@footnote{This relies on the @command{nix-instantiate} command of @uref{http://nixos.org/nix/, Nix}.}. Package definitions in Nixpkgs are typically written in a mixture of Nix-language and Bash code. This command only imports the high-level package structure that is written in the Nix language. It normally includes all the basic fields of a package definition." msgstr "Importe les métadonnées d'une copie locale des source de @uref{http://nixos.org/nixpkgs/, la distribution Nixpkgs}@footnote{Cela repose sur la commande @command{nix-instantiate} de @uref{http://nixos.org/nix/, Nix}.}. Les définitions de paquets dans Nixpkgs sont habituellement écrites en un mélange entre le langage Nix et Bash. Cette commande n'importe que la structure de haut-niveau du paquet qui est écrite dans le langage Nix. Elle inclut normalement tous les champs de base de la définition d'un paquet." #. type: table -#: doc/guix.texi:6521 +#: doc/guix.texi:7137 msgid "When importing a GNU package, the synopsis and descriptions are replaced by their canonical upstream variant." msgstr "Lorsque vous importez un paquet GNU, le synopsis et la description sont replacés par la version canonique en amont." #. type: table -#: doc/guix.texi:6523 +#: doc/guix.texi:7139 msgid "Usually, you will first need to do:" msgstr "Normalement, vous devrez d'abord faire :" #. type: example -#: doc/guix.texi:6526 +#: doc/guix.texi:7142 #, no-wrap msgid "export NIX_REMOTE=daemon\n" msgstr "export NIX_REMOTE=daemon\n" #. type: table -#: doc/guix.texi:6530 +#: doc/guix.texi:7146 msgid "so that @command{nix-instantiate} does not try to open the Nix database." msgstr "pour que @command{nix-instantiate} n'essaye pas d'ouvrir la base de données de Nix." #. type: table -#: doc/guix.texi:6534 +#: doc/guix.texi:7150 msgid "As an example, the command below imports the package definition of LibreOffice (more precisely, it imports the definition of the package bound to the @code{libreoffice} top-level attribute):" msgstr "Par exemple, la commande ci-dessous importe la définition du paquet de LibreOffice (plus précisément, elle importe la définition du paquet lié à l'attribut de plus haut-niveau @code{libreoffice}) :" #. type: example -#: doc/guix.texi:6537 +#: doc/guix.texi:7153 #, no-wrap msgid "guix import nix ~/path/to/nixpkgs libreoffice\n" msgstr "guix import nix ~/path/to/nixpkgs libreoffice\n" #. type: item -#: doc/guix.texi:6539 doc/guix.texi:6540 doc/guix.texi:6796 +#: doc/guix.texi:7155 doc/guix.texi:7156 doc/guix.texi:7428 #, no-wrap msgid "hackage" msgstr "hackage" #. type: table -#: doc/guix.texi:6545 +#: doc/guix.texi:7161 msgid "Import metadata from the Haskell community's central package archive @uref{https://hackage.haskell.org/, Hackage}. Information is taken from Cabal files and includes all the relevant information, including package dependencies." msgstr "Importe les métadonnées de l'archive de paquets centrale de la communauté Haskell, @uref{https://hackage.haskell.org/, Hackage}. Les informations sont récupérées depuis les fichiers Cabal et incluent toutes les informations utiles, dont les dépendances des paquets." #. type: item -#: doc/guix.texi:6549 +#: doc/guix.texi:7165 #, no-wrap msgid "--stdin" msgstr "--stdin" #. type: itemx -#: doc/guix.texi:6550 +#: doc/guix.texi:7166 #, no-wrap msgid "-s" msgstr "-s" #. type: table -#: doc/guix.texi:6552 +#: doc/guix.texi:7168 msgid "Read a Cabal file from standard input." msgstr "Lit un fichier Cabal depuis l'entrée standard." #. type: item -#: doc/guix.texi:6552 doc/guix.texi:6594 +#: doc/guix.texi:7168 doc/guix.texi:7215 #, no-wrap msgid "--no-test-dependencies" msgstr "--no-test-dependencies" #. type: itemx -#: doc/guix.texi:6553 doc/guix.texi:6595 +#: doc/guix.texi:7169 doc/guix.texi:7216 #, no-wrap msgid "-t" msgstr "-t" #. type: table -#: doc/guix.texi:6555 doc/guix.texi:6597 +#: doc/guix.texi:7171 doc/guix.texi:7218 msgid "Do not include dependencies required only by the test suites." msgstr "N'inclut pas les dépendances requises uniquement par les suites de tests." #. type: item -#: doc/guix.texi:6555 +#: doc/guix.texi:7171 #, no-wrap msgid "--cabal-environment=@var{alist}" msgstr "--cabal-environment=@var{alist}" #. type: itemx -#: doc/guix.texi:6556 +#: doc/guix.texi:7172 #, no-wrap msgid "-e @var{alist}" msgstr "-e @var{alist}" #. type: table -#: doc/guix.texi:6565 +#: doc/guix.texi:7181 msgid "@var{alist} is a Scheme alist defining the environment in which the Cabal conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, @code{impl} and a string representing the name of a flag. The value associated with a flag has to be either the symbol @code{true} or @code{false}. The value associated with other keys has to conform to the Cabal file format definition. The default value associated with the keys @code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and @samp{ghc}, respectively." msgstr "@var{alist} est une alist Scheme qui définie l'environnement dans lequel les conditions de Cabal sont évaluées. Les clefs acceptées sont : @code{os}, @code{arch}, @code{impl} et une représentation sous forme de chaîne de caractères du nom d'un drapeau. La valeur associée à un drapeau doit être le symbole @code{true} ou @code{false}. La valeur associée aux autres clefs doivent se conformer avec la définition du format de fichiers Cabal. La valeur par défaut associée avec les clefs @code{os}, @code{arch} et @code{impl} sont respectivement @samp{linux}, @samp{x86_64} et @samp{ghc}." #. type: table -#: doc/guix.texi:6570 +#: doc/guix.texi:7191 msgid "The command below imports metadata for the latest version of the @code{HTTP} Haskell package without including test dependencies and specifying the value of the flag @samp{network-uri} as @code{false}:" msgstr "La commande ci-dessous importe les métadonnées de la dernière version du paquet Haskell @code{HTTP} sans inclure les dépendances des tests et en spécifiant la valeur du drapeau @samp{network-uri} comme étant @code{false} :" #. type: example -#: doc/guix.texi:6573 +#: doc/guix.texi:7194 #, no-wrap msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n" msgstr "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n" #. type: table -#: doc/guix.texi:6577 +#: doc/guix.texi:7198 msgid "A specific package version may optionally be specified by following the package name by an at-sign and a version number as in the following example:" msgstr "Une version spécifique du paquet peut éventuellement être spécifiée en faisant suivre le nom du paquet par un arobase et un numéro de version comme dans l'exemple suivant :" #. type: example -#: doc/guix.texi:6580 +#: doc/guix.texi:7201 #, no-wrap msgid "guix import hackage mtl@@2.1.3.1\n" msgstr "guix import hackage mtl@@2.1.3.1\n" #. type: item -#: doc/guix.texi:6582 doc/guix.texi:6583 doc/guix.texi:6798 +#: doc/guix.texi:7203 doc/guix.texi:7204 doc/guix.texi:7430 #, no-wrap msgid "stackage" msgstr "stackage" #. type: table -#: doc/guix.texi:6590 +#: doc/guix.texi:7211 msgid "The @code{stackage} importer is a wrapper around the @code{hackage} one. It takes a package name, looks up the package version included in a long-term support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the @code{hackage} importer to retrieve its metadata. Note that it is up to you to select an LTS release compatible with the GHC compiler used by Guix." msgstr "L'importateur @code{stackage} est une enveloppe autour de l'importateur @code{hackage}. Il prend un nom de paquet, recherche la version incluse dans une version au support étendu (LTS) de @uref{https://www.stackage.org, Stackage} et utilise l'importateur @code{hackage} pour récupérer les métadonnées. Remarquez que c'est à vous de choisir une version LTS compatible avec le compilateur GHC utilisé par Guix." #. type: item -#: doc/guix.texi:6597 +#: doc/guix.texi:7218 #, no-wrap msgid "--lts-version=@var{version}" msgstr "--lts-version=@var{version}" #. type: itemx -#: doc/guix.texi:6598 +#: doc/guix.texi:7219 #, no-wrap -msgid "-r @var{version}" -msgstr "-r @var{version}" +msgid "-l @var{version}" +msgstr "-l @var{version}" #. type: table -#: doc/guix.texi:6601 +#: doc/guix.texi:7222 msgid "@var{version} is the desired LTS release version. If omitted the latest release is used." msgstr "@var{version} est la version LTS désirée. Si elle est omise, la dernière version est utilisée." #. type: table -#: doc/guix.texi:6605 +#: doc/guix.texi:7231 msgid "The command below imports metadata for the @code{HTTP} Haskell package included in the LTS Stackage release version 7.18:" msgstr "La commande ci-dessous importe les métadonnées du paquet Haskell @code{HTTP} inclus dans la version LTS 7.18 de Stackage :" #. type: example -#: doc/guix.texi:6608 +#: doc/guix.texi:7234 #, no-wrap msgid "guix import stackage --lts-version=7.18 HTTP\n" msgstr "guix import stackage --lts-version=7.18 HTTP\n" #. type: item -#: doc/guix.texi:6610 doc/guix.texi:6611 doc/guix.texi:6782 +#: doc/guix.texi:7236 doc/guix.texi:7237 doc/guix.texi:7414 #, no-wrap msgid "elpa" msgstr "elpa" #. type: table -#: doc/guix.texi:6614 +#: doc/guix.texi:7240 msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})." msgstr "Importe les métadonnées du dépôt de paquets ELPA (Emacs Lisp Package Archive) (@pxref{Packages,,, emacs, The GNU Emacs Manual})." #. type: item -#: doc/guix.texi:6618 +#: doc/guix.texi:7244 #, no-wrap msgid "--archive=@var{repo}" msgstr "--archive=@var{repo}" #. type: itemx -#: doc/guix.texi:6619 +#: doc/guix.texi:7245 #, no-wrap msgid "-a @var{repo}" msgstr "-a @var{repo}" #. type: table -#: doc/guix.texi:6623 +#: doc/guix.texi:7249 msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:" msgstr "@var{repo} identifie le dépôt d'archive depuis lequel récupérer les informations. Actuellement les dépôts supportés et leurs identifiants sont :" #. type: itemize -#: doc/guix.texi:6627 +#: doc/guix.texi:7253 msgid "@uref{http://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default." msgstr "@uref{http://elpa.gnu.org/packages, GNU}, qu'on peut choisir avec l'identifiant @code{gnu}. C'est la valeur par défaut." #. type: itemize -#: doc/guix.texi:6633 +#: doc/guix.texi:7259 msgid "Packages from @code{elpa.gnu.org} are signed with one of the keys contained in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or similar) in the @code{emacs} package (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})." msgstr "Les paquets de @code{elpa.gnu.org} avec l'une des clefs contenues dans le porte-clef GnuPG @file{share/emacs/25.1/etc/package-keyring.gpg} (ou similaire) dans le paquet @code{emacs} (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})." #. type: itemize -#: doc/guix.texi:6637 +#: doc/guix.texi:7263 msgid "@uref{http://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier." msgstr "@uref{http://stable.melpa.org/packages, MELPA-Stable}, qu'on peut sélectionner avec l'identifiant @code{melpa-stable}." #. type: itemize -#: doc/guix.texi:6641 +#: doc/guix.texi:7267 msgid "@uref{http://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier." msgstr "@uref{http://melpa.org/packages, MELPA}, qu'on peut sélectionner avec l'identifiant @code{melpa}." -#. type: table -#: doc/guix.texi:6648 -msgid "Traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix." -msgstr "Traverse le graphe des dépendances du paquet amont donné et génère les expressions de paquets de tous ceux qui ne sont pas déjà dans Guix." - #. type: item -#: doc/guix.texi:6650 doc/guix.texi:6651 doc/guix.texi:6800 +#: doc/guix.texi:7276 doc/guix.texi:7277 doc/guix.texi:7432 #, no-wrap msgid "crate" msgstr "crate" #. type: table -#: doc/guix.texi:6654 +#: doc/guix.texi:7280 msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}." msgstr "Importe les métadonnées du répertoire des paquets Rust @uref{https://crates.io, crates.io}." +#. type: item +#: doc/guix.texi:7281 +#, no-wrap +msgid "opam" +msgstr "opam" + +#. type: cindex +#: doc/guix.texi:7282 +#, no-wrap +msgid "OPAM" +msgstr "OPAM" + +#. type: cindex +#: doc/guix.texi:7283 +#, no-wrap +msgid "OCaml" +msgstr "OCaml" + +#. type: table +#: doc/guix.texi:7286 +msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community." +msgstr "Importe les métadonnées du répertoire de paquets @uref{https://opam.ocaml.org/, OPAM} utilisé par la communauté OCaml" + #. type: Plain text -#: doc/guix.texi:6659 +#: doc/guix.texi:7291 msgid "The structure of the @command{guix import} code is modular. It would be useful to have more importers for other package formats, and your help is welcome here (@pxref{Contributing})." msgstr "La structure du code de @command{guix import} est modulaire. Il serait utile d'avoir plus d'importateurs pour d'autres formats de paquets et votre aide est la bienvenue sur ce sujet (@pxref{Contributing})." #. type: section -#: doc/guix.texi:6661 +#: doc/guix.texi:7293 #, no-wrap msgid "Invoking @command{guix refresh}" msgstr "Invoquer @command{guix refresh}" #. type: command{#1} -#: doc/guix.texi:6663 +#: doc/guix.texi:7295 #, no-wrap msgid "guix refresh" msgstr "guix refresh" #. type: Plain text -#: doc/guix.texi:6668 +#: doc/guix.texi:7300 msgid "The primary audience of the @command{guix refresh} command is developers of the GNU software distribution. By default, it reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:" msgstr "L'audience première de la commande @command{guix refresh} est l'ensemble des développeurs de la distribution logicielle GNU. Par défaut, elle rapporte les paquets fournis par la distribution qui sont en retard par rapport aux dernières versions disponibles en amont, comme ceci :" #. type: example -#: doc/guix.texi:6673 +#: doc/guix.texi:7305 #, no-wrap msgid "" "$ guix refresh\n" @@ -12344,12 +13439,12 @@ msgstr "" "gnu/packages/glib.scm:77:12: glib serait mis à jour de 2.34.3 à 2.37.0\n" #. type: Plain text -#: doc/guix.texi:6677 +#: doc/guix.texi:7309 msgid "Alternately, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:" msgstr "Autrement, on peut spécifier les paquets à considérer, auquel cas un avertissement est émis pour les paquets qui n'ont pas de gestionnaire de mise à jour associé :" #. type: example -#: doc/guix.texi:6682 +#: doc/guix.texi:7314 #, no-wrap msgid "" "$ guix refresh coreutils guile guile-ssh\n" @@ -12361,17 +13456,17 @@ msgstr "" "gnu/packages/guile.scm:136:12 : guile serait mis à jour de 2.0.12 à 2.0.13\n" #. type: Plain text -#: doc/guix.texi:6691 +#: doc/guix.texi:7323 msgid "@command{guix refresh} browses the upstream repository of each package and determines the highest version number of the releases therein. The command knows how to update specific types of packages: GNU packages, ELPA packages, etc.---see the documentation for @option{--type} below. There are many packages, though, for which it lacks a method to determine whether a new upstream release is available. However, the mechanism is extensible, so feel free to get in touch with us to add a new method!" msgstr "@command{guix refresh} navigue le dépôt amont de chaque paquet et détermine le numéro de version le plus élevé parmi les versions publiées. La commande sait comment mettre à jour certains types de paquets : les paquets GNU, les paquets ELPA, etc. — voir la documentation pour @option{--type} ci-dessous. Il y a beaucoup de paquet cependant pour lesquels il manque une méthode pour déterminer si une nouvelle version est disponible en amont. Cependant, le mécanisme est extensible, alors n'hésitez pas à nous contacter pour ajouter une nouvelle méthode !" #. type: Plain text -#: doc/guix.texi:6696 +#: doc/guix.texi:7328 msgid "Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used to that effect:" msgstr "Parfois les noms en amont diffèrent du nom de paquet utilisé par Guix et @command{guix refresh} a besoin d'un peu d'aide. La plupart des gestionnaires de mise à jour honorent la propriété @code{upstream-name} dans les définitions de paquets, ce qui peut être utilisé à cette fin :" #. type: example -#: doc/guix.texi:6703 +#: doc/guix.texi:7335 #, no-wrap msgid "" "(define-public network-manager\n" @@ -12387,226 +13482,226 @@ msgstr "" " (properties '((upstream-name . \"NetworkManager\")))))\n" #. type: Plain text -#: doc/guix.texi:6715 +#: doc/guix.texi:7347 msgid "When passed @code{--update}, it modifies distribution source files to update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature using @command{gpg}, and finally computing its hash. When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, @command{guix refresh} reports an error." msgstr "Lorsque l'option @code{--update} est utilisée, elle modifie les fichiers source de la distribution pour mettre à jour le numéro de version et le hash de l'archive source de ces recettes de paquets (@pxref{Defining Packages}). Cela est effectué en téléchargeant la dernière version de l'archive des sources de chaque paquet et des signatures associées, en authentifiant l'archive téléchargée avec sa signature en utilisant @command{gpg} puis en calculant son hash. Lorsque la clef publique utilisée pour signer l'archive manque du porte-clefs de l'utilisateur, le gestionnaire tente de la récupérer automatiquement d'un serveur de clef public ; si cela réussi, la clef est ajoutée au porte-clefs de l'utilisateur, sinon @command{guix refresh} rapporte une erreur." #. type: Plain text -#: doc/guix.texi:6717 +#: doc/guix.texi:7349 msgid "The following options are supported:" msgstr "Les options suivantes sont supportées :" #. type: table -#: doc/guix.texi:6725 doc/guix.texi:7312 +#: doc/guix.texi:7357 doc/guix.texi:7974 msgid "This is useful to precisely refer to a package, as in this example:" msgstr "C'est utile pour précisément se référer à un paquet, comme dans cet exemple :" #. type: example -#: doc/guix.texi:6728 +#: doc/guix.texi:7360 #, no-wrap msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n" msgstr "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n" #. type: table -#: doc/guix.texi:6732 +#: doc/guix.texi:7364 msgid "This command lists the dependents of the ``final'' libc (essentially all the packages.)" msgstr "Cette commande liste les paquets qui dépendent de la libc « finale » (en gros tous les paquets)." #. type: item -#: doc/guix.texi:6733 +#: doc/guix.texi:7365 #, no-wrap msgid "--update" msgstr "--update" #. type: itemx -#: doc/guix.texi:6734 +#: doc/guix.texi:7366 #, no-wrap msgid "-u" msgstr "-u" #. type: table -#: doc/guix.texi:6738 +#: doc/guix.texi:7370 msgid "Update distribution source files (package recipes) in place. This is usually run from a checkout of the Guix source tree (@pxref{Running Guix Before It Is Installed}):" msgstr "Met à jour les fichiers source de la distribution (les recettes de paquets) en place. Cette option est généralement utilisée depuis une copie du dépôt git de Guix (@pxref{Running Guix Before It Is Installed}) :" #. type: example -#: doc/guix.texi:6741 +#: doc/guix.texi:7373 #, no-wrap msgid "$ ./pre-inst-env guix refresh -s non-core -u\n" msgstr "$ ./pre-inst-env guix refresh -s non-core -u\n" #. type: table -#: doc/guix.texi:6744 +#: doc/guix.texi:7376 msgid "@xref{Defining Packages}, for more information on package definitions." msgstr "@xref{Defining Packages}, pour plus d'information sur les définitions des paquets." #. type: item -#: doc/guix.texi:6745 +#: doc/guix.texi:7377 #, no-wrap msgid "--select=[@var{subset}]" msgstr "--select=[@var{subset}]" #. type: itemx -#: doc/guix.texi:6746 +#: doc/guix.texi:7378 #, no-wrap msgid "-s @var{subset}" msgstr "-s @var{subset}" #. type: table -#: doc/guix.texi:6749 +#: doc/guix.texi:7381 msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}." msgstr "Choisi tous les paquets dans @var{subset}, entre @code{core} et @code{non-core}." #. type: table -#: doc/guix.texi:6756 +#: doc/guix.texi:7388 msgid "The @code{core} subset refers to all the packages at the core of the distribution---i.e., packages that are used to build ``everything else''. This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of these packages in the distribution entails a rebuild of all the others. Thus, such updates are an inconvenience to users in terms of build time or bandwidth used to achieve the upgrade." msgstr "Le sous-ensemble @code{core} se réfère à tous les paquets du cœur de la distribution — c.-à-d.@: les paquets qui sont utilisés pour construire « tout le rest ». Cela comprend GCC, libc, Binutils, Bash, etc. Habituellement, changer l'un de ces paquets dans la distribution implique de reconstruire tous les autres. Ainsi, ces mises à jour sont une nuisance pour les utilisateurs, en terme de temps de compilation et de bande passante utilisés pour effectuer la mise à jour." #. type: table -#: doc/guix.texi:6760 +#: doc/guix.texi:7392 msgid "The @code{non-core} subset refers to the remaining packages. It is typically useful in cases where an update of the core packages would be inconvenient." msgstr "Le sous-ensemble @code{non-core} se réfère au reste des paquets. C'est habituellement utile dans les cas où une mise à jour des paquets du cœur serait dérangeante." #. type: table -#: doc/guix.texi:6765 +#: doc/guix.texi:7397 msgid "Select all the packages from the manifest in @var{file}. This is useful to check if any packages of the user manifest can be updated." msgstr "Choisi tous les paquets du manifeste dans @var{file}. C'est utile pour vérifier qu'aucun des paquets du manifeste utilisateur ne peut être mis à jour." #. type: item -#: doc/guix.texi:6766 +#: doc/guix.texi:7398 #, no-wrap msgid "--type=@var{updater}" msgstr "--type=@var{updater}" #. type: itemx -#: doc/guix.texi:6767 +#: doc/guix.texi:7399 #, no-wrap msgid "-t @var{updater}" msgstr "-t @var{updater}" #. type: table -#: doc/guix.texi:6770 +#: doc/guix.texi:7402 msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:" msgstr "Chois uniquement les paquets pris en charge par @var{updater} (éventuellement une liste de gestionnaires de mise à jour séparés par des virgules). Actuellement, @var{updater} peut être l'une des valeurs suivantes :" #. type: table -#: doc/guix.texi:6774 +#: doc/guix.texi:7406 msgid "the updater for GNU packages;" msgstr "le gestionnaire de mise à jour pour les paquets GNU ;" #. type: item -#: doc/guix.texi:6774 +#: doc/guix.texi:7406 #, no-wrap msgid "gnome" msgstr "gnome" #. type: table -#: doc/guix.texi:6776 +#: doc/guix.texi:7408 msgid "the updater for GNOME packages;" msgstr "le gestionnaire de mise à jour pour les paquets GNOME ;" #. type: item -#: doc/guix.texi:6776 +#: doc/guix.texi:7408 #, no-wrap msgid "kde" msgstr "kde" #. type: table -#: doc/guix.texi:6778 +#: doc/guix.texi:7410 msgid "the updater for KDE packages;" msgstr "le gestionnaire de mise à jour pour les paquets KDE ;" #. type: item -#: doc/guix.texi:6778 +#: doc/guix.texi:7410 #, no-wrap msgid "xorg" msgstr "xorg" #. type: table -#: doc/guix.texi:6780 +#: doc/guix.texi:7412 msgid "the updater for X.org packages;" msgstr "le gestionnaire de mise à jour pour les paquets X.org ;" #. type: item -#: doc/guix.texi:6780 +#: doc/guix.texi:7412 #, no-wrap msgid "kernel.org" msgstr "kernel.org" #. type: table -#: doc/guix.texi:6782 +#: doc/guix.texi:7414 msgid "the updater for packages hosted on kernel.org;" msgstr "le gestionnaire de mise à jour pour les paquets hébergés sur kernel.org ;" #. type: table -#: doc/guix.texi:6784 +#: doc/guix.texi:7416 msgid "the updater for @uref{http://elpa.gnu.org/, ELPA} packages;" msgstr "le gestionnaire de mise à jour pour les paquets @uref{http://elpa.gnu.org/, ELPA} ;" #. type: table -#: doc/guix.texi:6786 +#: doc/guix.texi:7418 msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;" msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://cran.r-project.org/, CRAN} ;" #. type: item -#: doc/guix.texi:6786 +#: doc/guix.texi:7418 #, no-wrap msgid "bioconductor" msgstr "bioconductor" #. type: table -#: doc/guix.texi:6788 +#: doc/guix.texi:7420 msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;" msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://www.bioconductor.org/, Bioconductor} ;" #. type: table -#: doc/guix.texi:6790 +#: doc/guix.texi:7422 msgid "the updater for @uref{http://www.cpan.org/, CPAN} packages;" msgstr "le gestionnaire de mise à jour pour les paquets @uref{http://www.cpan.org/, CPAN} ;" #. type: table -#: doc/guix.texi:6792 +#: doc/guix.texi:7424 msgid "the updater for @uref{https://pypi.python.org, PyPI} packages." msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://pypi.python.org, PyPI} ;" #. type: table -#: doc/guix.texi:6794 +#: doc/guix.texi:7426 msgid "the updater for @uref{https://rubygems.org, RubyGems} packages." msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://rubygems.org, RubyGems} ;" #. type: item -#: doc/guix.texi:6794 +#: doc/guix.texi:7426 #, no-wrap msgid "github" msgstr "github" #. type: table -#: doc/guix.texi:6796 +#: doc/guix.texi:7428 msgid "the updater for @uref{https://github.com, GitHub} packages." msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://github.com, GitHub} ;" #. type: table -#: doc/guix.texi:6798 +#: doc/guix.texi:7430 msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages." msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://hackage.haskell.org, Hackage} ;" #. type: table -#: doc/guix.texi:6800 +#: doc/guix.texi:7432 msgid "the updater for @uref{https://www.stackage.org, Stackage} packages." msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://www.stackage.org, Stackage} ;" #. type: table -#: doc/guix.texi:6802 +#: doc/guix.texi:7434 msgid "the updater for @uref{https://crates.io, Crates} packages." msgstr "le gestionnaire de mise à jour pour les paquets @uref{https://crates.io, Crates} ;" #. type: table -#: doc/guix.texi:6806 +#: doc/guix.texi:7438 msgid "For instance, the following command only checks for updates of Emacs packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages:" msgstr "Par exemple, la commande suivante ne vérifie que les mises à jour des paquets Emacs hébergés sur @code{elpa.gnu.org} et les paquets CRAN :" #. type: example -#: doc/guix.texi:6811 +#: doc/guix.texi:7443 #, no-wrap msgid "" "$ guix refresh --type=elpa,cran\n" @@ -12618,77 +13713,77 @@ msgstr "" "gnu/packages/emacs.scm:856:13 : emacs-auctex serait mis à jour de 11.88.6 à 11.88.9\n" #. type: Plain text -#: doc/guix.texi:6817 +#: doc/guix.texi:7449 msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:" msgstr "En plus, on peut passer à @command{guix refresh} un ou plusieurs noms de paquets, comme dans cet exemple :" #. type: example -#: doc/guix.texi:6820 +#: doc/guix.texi:7452 #, no-wrap msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n" msgstr "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n" #. type: Plain text -#: doc/guix.texi:6826 +#: doc/guix.texi:7458 msgid "The command above specifically updates the @code{emacs} and @code{idutils} packages. The @code{--select} option would have no effect in this case." msgstr "La commande au-dessus met à jour spécifiquement les paquets @code{emacs} et @code{idutils}. L'option @code{--select} n'aurait aucun effet dans ce cas." #. type: Plain text -#: doc/guix.texi:6831 +#: doc/guix.texi:7463 msgid "When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may be used when passing @command{guix refresh} one or more package names:" msgstr "Pour déterminer s'il faut mettre à jour un paquet, il est parfois pratique de savoir quels paquets seraient affectés par la mise à jour pour pouvoir vérifier la compatibilité. Pour cela l'option suivante peut être utilisée avec un ou plusieurs noms de paquets passés à @command{guix refresh} :" #. type: item -#: doc/guix.texi:6834 +#: doc/guix.texi:7466 #, no-wrap msgid "--list-updaters" msgstr "--list-updaters" #. type: itemx -#: doc/guix.texi:6835 +#: doc/guix.texi:7467 #, no-wrap msgid "-L" msgstr "-L" #. type: table -#: doc/guix.texi:6837 +#: doc/guix.texi:7469 msgid "List available updaters and exit (see @option{--type} above.)" msgstr "Liste les gestionnaires de mise à jour et quitte (voir l'option @option{--type} plus haut)." #. type: table -#: doc/guix.texi:6840 +#: doc/guix.texi:7472 msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters." msgstr "Pour chaque gestionnaire, affiche le pourcentage de paquets qu'il couvre ; à la fin, affiche le pourcentage de paquets couverts par tous les gestionnaires." #. type: item -#: doc/guix.texi:6841 +#: doc/guix.texi:7473 #, no-wrap msgid "--list-dependent" msgstr "--list-dependent" #. type: itemx -#: doc/guix.texi:6842 doc/guix.texi:7005 +#: doc/guix.texi:7474 doc/guix.texi:7667 #, no-wrap msgid "-l" msgstr "-l" #. type: table -#: doc/guix.texi:6845 +#: doc/guix.texi:7477 msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages." msgstr "Liste les paquets de plus haut-niveau qui devraient être reconstruits après la mise à jour d'un ou plusieurs paquets." #. type: table -#: doc/guix.texi:6849 +#: doc/guix.texi:7481 msgid "@xref{Invoking guix graph, the @code{reverse-package} type of @command{guix graph}}, for information on how to visualize the list of dependents of a package." msgstr "@xref{Invoking guix graph, le type @code{reverse-package} de @command{guix graph}}, pour des informations sur la manière de visualiser la liste des paquets dépendant d'un autre." #. type: Plain text -#: doc/guix.texi:6855 +#: doc/guix.texi:7487 msgid "Be aware that the @code{--list-dependent} option only @emph{approximates} the rebuilds that would be required as a result of an upgrade. More rebuilds might be required under some circumstances." msgstr "Soyez conscients que l'option @code{--list-dependent} ne fait @emph{qu'approximer} les reconstructions qui seraient requises par une mise à jour. Plus de reconstructions pourraient être requises dans certaines circonstances." #. type: example -#: doc/guix.texi:6860 +#: doc/guix.texi:7492 #, no-wrap msgid "" "$ guix refresh --list-dependent flex\n" @@ -12700,186 +13795,233 @@ msgstr "" "hop@@2.4.0 geiser@@0.4 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n" #. type: Plain text -#: doc/guix.texi:6864 +#: doc/guix.texi:7496 msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package." msgstr "La commande ci-dessus liste un ensemble de paquets qui peuvent être construits pour vérifier la compatibilité d'une mise à jour de @code{flex}." #. type: Plain text -#: doc/guix.texi:6866 +#: doc/guix.texi:7498 msgid "The following options can be used to customize GnuPG operation:" msgstr "Les options suivante peuvent être utilisées pour personnaliser les opérations avec GnuPG :" #. type: item -#: doc/guix.texi:6869 +#: doc/guix.texi:7501 #, no-wrap msgid "--gpg=@var{command}" msgstr "--gpg=@var{commande}" #. type: table -#: doc/guix.texi:6872 +#: doc/guix.texi:7504 msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}." msgstr "Utilise @var{commande} comme la commande de GnuPG 2.x. @var{commande} est recherchée dans @code{PATH}." +#. type: item +#: doc/guix.texi:7505 +#, no-wrap +msgid "--keyring=@var{file}" +msgstr "--keyring=@var{fichier}" + #. type: table -#: doc/guix.texi:6876 +#: doc/guix.texi:7511 +msgid "Use @var{file} as the keyring for upstream keys. @var{file} must be in the @dfn{keybox format}. Keybox files usually have a name ending in @file{.kbx} and the GNU@tie{}Privacy Guard (GPG) can manipulate these files (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the GNU Privacy Guard}, for information on a tool to manipulate keybox files)." +msgstr "Utilise @var{fichier} comme porte-clefs pour les clefs amont. @var{fichier} doit être dans le @dfn{format keybox}. Les fichiers Keybox ont d'habitude un nom qui fini par @file{.kbx} et GNU@tie{}Privacy Guard (GPG) peut manipuler ces fichiers (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the Privacy Guard}, pour plus d'informations sur un outil pour manipuler des fichiers keybox)." + +#. type: table +#: doc/guix.texi:7517 +msgid "When this option is omitted, @command{guix refresh} uses @file{~/.config/guix/upstream/trustedkeys.kbx} as the keyring for upstream signing keys. OpenPGP signatures are checked against keys from this keyring; missing keys are downloaded to this keyring as well (see @option{--key-download} below.)" +msgstr "Lorsque cette option est omise, @command{guix refresh} utilise @file{~/.config/guix/upstream/trustedkeys.kbx} comme porte-clefs pour les clefs de signature amont. Les signatures OpenPGP sont vérifiées avec ces clefs ; les clefs manquantes sont aussi téléchargées dans ce porte-clefs (voir @option{--key-download} plus bas)." + +#. type: table +#: doc/guix.texi:7520 +msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:" +msgstr "Vous pouvez exporter les clefs de votre porte-clefs GPG par défaut dans un fichier keybox avec une commande telle que :" + +#. type: example +#: doc/guix.texi:7523 +#, no-wrap +msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n" +msgstr "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n" + +#. type: table +#: doc/guix.texi:7526 +msgid "Likewise, you can fetch keys to a specific keybox file like this:" +msgstr "De même, vous pouvez récupérer des clefs dans un fichier keybox spécifique comme ceci :" + +#. type: example +#: doc/guix.texi:7530 +#, no-wrap +msgid "" +"gpg --no-default-keyring --keyring mykeyring.kbx \\\n" +" --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" +msgstr "" +"gpg --no-default-keyring --keyring mykeyring.kbx \\\n" +" --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n" + +#. type: table +#: doc/guix.texi:7534 +msgid "@ref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option." +msgstr "@ref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard} pour plus d'informations sur l'option @option{--keyring} de GPG." + +#. type: table +#: doc/guix.texi:7538 msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:" msgstr "Gère les clefs OpenPGP manquantes d'après la @var{politique}, qui peut être l'une des suivantes :" #. type: item -#: doc/guix.texi:6878 doc/guix.texi:14077 +#: doc/guix.texi:7540 doc/guix.texi:15086 #, no-wrap msgid "always" msgstr "always" #. type: table -#: doc/guix.texi:6881 +#: doc/guix.texi:7543 msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring." msgstr "Toujours télécharger les clefs manquantes depuis un serveur de clefs et les ajouter au porte-clefs de l'utilisateur." #. type: item -#: doc/guix.texi:6882 doc/guix.texi:14079 +#: doc/guix.texi:7544 doc/guix.texi:15088 #, no-wrap msgid "never" msgstr "never" #. type: table -#: doc/guix.texi:6884 +#: doc/guix.texi:7546 msgid "Never try to download missing OpenPGP keys. Instead just bail out." msgstr "Ne jamais essayer de télécharger les clefs OpenPGP manquante. Quitter à la place." #. type: item -#: doc/guix.texi:6885 +#: doc/guix.texi:7547 #, no-wrap msgid "interactive" msgstr "interactive" #. type: table -#: doc/guix.texi:6888 +#: doc/guix.texi:7550 msgid "When a package signed with an unknown OpenPGP key is encountered, ask the user whether to download it or not. This is the default behavior." msgstr "Lorsqu'on rencontre un paquet signé par une clef OpenPGP inconnue, demander à l'utilisateur s'il souhaite la télécharger ou non. C'est le comportement par défaut." #. type: item -#: doc/guix.texi:6890 +#: doc/guix.texi:7552 #, no-wrap msgid "--key-server=@var{host}" msgstr "--key-server=@var{host}" #. type: table -#: doc/guix.texi:6892 +#: doc/guix.texi:7554 msgid "Use @var{host} as the OpenPGP key server when importing a public key." msgstr "Utiliser @var{host} comme serveur de clefs OpenPGP lors de l'importe d'une clef publique." #. type: Plain text -#: doc/guix.texi:6905 +#: doc/guix.texi:7567 msgid "The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new releases. When used repeatedly e.g. when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with GitHub through the use of an API token alleviates these limits. To use an API token, set the environment variable @code{GUIX_GITHUB_TOKEN} to a token procured from @uref{https://github.com/settings/tokens} or otherwise." msgstr "Le gestionnaire de mises à jour @code{github} utilise @uref{https://developer.github.com/v3/, l'API de GitHub} pour faire des requêtes sur les nouvelles versions. Lorsqu'elle est utilisé de manière répétée, p.@: ex.@: lorsque vous vérifiez tous les paquets, GitHub finira par refuser de répondre à d'autres requêtes de l'API. Par défaut 60 requêtes à l'heure sont autorisées, et une vérification complète de tous les paquets GitHub dans Guix requiert bien plus que cela. L'authentification avec GitHub à travers l'utilisation d'un jeton d'API lève ces limites. Pour utiliser un jeton de l'API, initialisez la variable d'environnement @code{GUIX_GITHUB_TOKEN} avec un jeton que vous vous serez procuré sur @uref{https://github.com/settings/tokens} ou autrement." #. type: section -#: doc/guix.texi:6908 +#: doc/guix.texi:7570 #, no-wrap msgid "Invoking @command{guix lint}" msgstr "Invoquer @command{guix lint}" #. type: command{#1} -#: doc/guix.texi:6910 +#: doc/guix.texi:7572 #, no-wrap msgid "guix lint" msgstr "guix lint" #. type: cindex -#: doc/guix.texi:6911 +#: doc/guix.texi:7573 #, no-wrap msgid "package, checking for errors" msgstr "paquets, chercher des erreurs" #. type: Plain text -#: doc/guix.texi:6917 +#: doc/guix.texi:7579 msgid "The @command{guix lint} command is meant to help package developers avoid common errors and use a consistent style. It runs a number of checks on a given set of packages in order to find common mistakes in their definitions. Available @dfn{checkers} include (see @code{--list-checkers} for a complete list):" msgstr "La commande @command{guix lint} est conçue pour aider les développeurs à éviter des erreurs commune et à utiliser un style cohérent lors de l'écriture de recettes de paquets. Elle lance des vérifications sur un ensemble de paquets donnés pour trouver des erreurs communes dans leur définition. Les @dfn{vérifieurs} disponibles comprennent (voir @code{--list-checkers} pour une liste complète) :" #. type: table -#: doc/guix.texi:6923 +#: doc/guix.texi:7585 msgid "Validate certain typographical and stylistic rules about package descriptions and synopses." msgstr "Vérifie certaines règles typographiques et stylistiques dans les descriptions et les synopsis." #. type: item -#: doc/guix.texi:6924 +#: doc/guix.texi:7586 #, no-wrap msgid "inputs-should-be-native" msgstr "inputs-should-be-native" #. type: table -#: doc/guix.texi:6926 +#: doc/guix.texi:7588 msgid "Identify inputs that should most likely be native inputs." msgstr "Identifie les entrées qui devraient sans doute plutôt être des entrées natives." #. type: itemx -#: doc/guix.texi:6929 +#: doc/guix.texi:7591 #, no-wrap msgid "mirror-url" msgstr "mirror-url" #. type: itemx -#: doc/guix.texi:6930 +#: doc/guix.texi:7592 #, no-wrap msgid "source-file-name" msgstr "source-file-name" #. type: table -#: doc/guix.texi:6936 +#: doc/guix.texi:7598 msgid "Probe @code{home-page} and @code{source} URLs and report those that are invalid. Suggest a @code{mirror://} URL when applicable. Check that the source file name is meaningful, e.g. is not just a version number or ``git-checkout'', without a declared @code{file-name} (@pxref{origin Reference})." msgstr "Sonde les URL @code{home-page} et @code{source} et rapporte celles qui sont invalides. Suggère une URL en @code{mirror://} lorsque c'est possible. Vérifie que le nom du fichier source a un sens, p.@: ex.@: qu'il ne s'agisse pas juste d'un numéro de version ou « git-checkou », sans avoir déclaré un @code{file-name} (@pxref{origin Reference})." #. type: item -#: doc/guix.texi:6937 +#: doc/guix.texi:7599 #, no-wrap msgid "cve" msgstr "cve" #. type: cindex -#: doc/guix.texi:6938 doc/guix.texi:21969 +#: doc/guix.texi:7600 doc/guix.texi:23486 #, no-wrap msgid "security vulnerabilities" msgstr "vulnérabilités" #. type: cindex -#: doc/guix.texi:6939 +#: doc/guix.texi:7601 #, no-wrap msgid "CVE, Common Vulnerabilities and Exposures" msgstr "CVE, Common Vulnerabilities and Exposures" #. type: table -#: doc/guix.texi:6944 +#: doc/guix.texi:7606 msgid "Report known vulnerabilities found in the Common Vulnerabilities and Exposures (CVE) databases of the current and past year @uref{https://nvd.nist.gov/download.cfm#CVE_FEED, published by the US NIST}." msgstr "Rapporte les vulnérabilités connues trouvées dans les bases de données CVE (Common Vulnerabilities and Exposures) de l'année en cours et des années précédentes @uref{https://nvd.nist.gov/download.cfm#CVE_FEED, publié par le NIST américain}." #. type: table -#: doc/guix.texi:6946 +#: doc/guix.texi:7608 msgid "To view information about a particular vulnerability, visit pages such as:" msgstr "Pour voir les informations sur une vulnérabilité en particulier, visitez les pages :" #. type: indicateurl{#1} -#: doc/guix.texi:6950 +#: doc/guix.texi:7612 msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD" msgstr "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ANNÉE-ABCD" #. type: indicateurl{#1} -#: doc/guix.texi:6952 +#: doc/guix.texi:7614 msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD" msgstr "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-ANNÉE-ABCD" #. type: table -#: doc/guix.texi:6957 +#: doc/guix.texi:7619 msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}." msgstr "où @code{CVE-ANNÉE-ABCD} est l'identifiant CVE — p.@: ex.@: @code{CVE-2015-7554}." #. type: table -#: doc/guix.texi:6962 +#: doc/guix.texi:7624 msgid "Package developers can specify in package recipes the @uref{https://nvd.nist.gov/cpe.cfm,Common Platform Enumeration (CPE)} name and version of the package when they differ from the name or version that Guix uses, as in this example:" msgstr "Les développeurs de paquets peuvent spécifier dans les recettes des paquets le nom @uref{https://nvd.nist.gov/cpe.cfm,CPE (Common Platform Enumeration)} et la version du paquet s'ils diffèrent du nom et de la version que Guix utilise, comme dans cet exemple :" #. type: example -#: doc/guix.texi:6970 +#: doc/guix.texi:7632 #, no-wrap msgid "" "(package\n" @@ -12897,12 +14039,12 @@ msgstr "" " (cpe-version . \"2.3\")))\n" #. type: table -#: doc/guix.texi:6977 +#: doc/guix.texi:7639 msgid "Some entries in the CVE database do not specify which version of a package they apply to, and would thus ``stick around'' forever. Package developers who found CVE alerts and verified they can be ignored can declare them as in this example:" msgstr "Certaines entrées dans la base de données CVE ne spécifient pas la version du paquet auquel elles s'appliquent et lui restera donc attachée pour toujours. Les développeurs qui trouvent des alertes CVE et ont vérifiés qu'elles peuvent être ignorées peuvent les déclarer comme dans cet exemple :" #. type: example -#: doc/guix.texi:6987 +#: doc/guix.texi:7649 #, no-wrap msgid "" "(package\n" @@ -12924,91 +14066,91 @@ msgstr "" " \"CVE-2011-5244\")))))\n" #. type: item -#: doc/guix.texi:6989 +#: doc/guix.texi:7651 #, no-wrap msgid "formatting" msgstr "formatting" #. type: table -#: doc/guix.texi:6992 +#: doc/guix.texi:7654 msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc." msgstr "Avertit le développeurs lorsqu'il y a des problèmes de formatage du code source évident : des espaces en fin de ligne, des tabulations, etc." #. type: example -#: doc/guix.texi:6998 +#: doc/guix.texi:7660 #, no-wrap msgid "guix lint @var{options} @var{package}@dots{}\n" msgstr "guix lint @var{options} @var{package}@dots{}\n" #. type: Plain text -#: doc/guix.texi:7002 +#: doc/guix.texi:7664 msgid "If no package is given on the command line, then all packages are checked. The @var{options} may be zero or more of the following:" msgstr "Si aucun paquet n'est donné par la ligne de commande, tous les paquets seront vérifiés. Les @var{options} peuvent contenir aucune ou plus des options suivantes :" #. type: item -#: doc/guix.texi:7004 +#: doc/guix.texi:7666 #, no-wrap msgid "--list-checkers" msgstr "--list-checkers" #. type: table -#: doc/guix.texi:7008 +#: doc/guix.texi:7670 msgid "List and describe all the available checkers that will be run on packages and exit." msgstr "Liste et décrit tous les vérificateurs disponibles qui seront lancés sur les paquets puis quitte." #. type: item -#: doc/guix.texi:7009 +#: doc/guix.texi:7671 #, no-wrap msgid "--checkers" msgstr "--checkers" #. type: itemx -#: doc/guix.texi:7010 +#: doc/guix.texi:7672 #, no-wrap msgid "-c" msgstr "-c" #. type: table -#: doc/guix.texi:7013 +#: doc/guix.texi:7675 msgid "Only enable the checkers specified in a comma-separated list using the names returned by @code{--list-checkers}." msgstr "N'active que les vérificateurs spécifiés dans une liste de noms séparés par des virgules parmi la liste renvoyée par @code{--list-checkers}." #. type: section -#: doc/guix.texi:7017 +#: doc/guix.texi:7679 #, no-wrap msgid "Invoking @command{guix size}" msgstr "Invoquer @command{guix size}" #. type: cindex -#: doc/guix.texi:7019 +#: doc/guix.texi:7681 #, no-wrap msgid "size" msgstr "taille" #. type: cindex -#: doc/guix.texi:7020 +#: doc/guix.texi:7682 #, no-wrap msgid "package size" msgstr "paquet, taille" #. type: command{#1} -#: doc/guix.texi:7022 +#: doc/guix.texi:7684 #, no-wrap msgid "guix size" msgstr "guix size" #. type: Plain text -#: doc/guix.texi:7029 +#: doc/guix.texi:7691 msgid "The @command{guix size} command helps package developers profile the disk usage of packages. It is easy to overlook the impact of an additional dependency added to a package, or the impact of using a single output for a package that could easily be split (@pxref{Packages with Multiple Outputs}). Such are the typical issues that @command{guix size} can highlight." msgstr "La commande @command{guix size} aide les développeurs à dresser un profil de l'utilisation du disque que font les paquets. C'est facile de négliger l'impact d'une dépendance supplémentaire ajoutée à un paquet, ou l'impact de l'utilisation d'une sortie unique pour un paquet qui pourrait être facilement séparé (@pxref{Packages with Multiple Outputs}). Ce sont les problèmes que @command{guix size} peut typiquement mettre en valeur." #. type: Plain text -#: doc/guix.texi:7034 +#: doc/guix.texi:7696 msgid "The command can be passed one or more package specifications such as @code{gcc@@4.8} or @code{guile:debug}, or a file name in the store. Consider this example:" msgstr "On peut passer un ou plusieurs spécifications de paquets à la commande, comme @code{gcc@@4.8} ou @code{guile:debug}, ou un nom de fichier dans le dépôt. Regardez cet exemple :" #. type: example -#: doc/guix.texi:7047 +#: doc/guix.texi:7709 #, no-wrap msgid "" "$ guix size coreutils\n" @@ -13036,43 +14178,43 @@ msgstr "" "total: 78.9 MiB\n" #. type: Plain text -#: doc/guix.texi:7053 +#: doc/guix.texi:7715 msgid "The store items listed here constitute the @dfn{transitive closure} of Coreutils---i.e., Coreutils and all its dependencies, recursively---as would be returned by:" msgstr "Les éléments du dépôt listés ici constituent la @dfn{cloture transitive} de Coreutils — c.-à-d.@: Coreutils et toutes ses dépendances, récursivement — comme ce qui serait renvoyé par :" #. type: example -#: doc/guix.texi:7056 +#: doc/guix.texi:7718 #, no-wrap msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n" msgstr "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n" #. type: Plain text -#: doc/guix.texi:7064 +#: doc/guix.texi:7726 msgid "Here the output shows three columns next to store items. The first column, labeled ``total'', shows the size in mebibytes (MiB) of the closure of the store item---that is, its own size plus the size of all its dependencies. The next column, labeled ``self'', shows the size of the item itself. The last column shows the ratio of the size of the item itself to the space occupied by all the items listed here." msgstr "Ici, la sortie possède trois colonnes à côté de chaque élément du dépôt. La première colonne, nommée « total », montre la taille en mébioctet (Mio) de la cloture de l'élément du dépôt — c'est-à-dire sa propre taille plus la taille de ses dépendances. La colonne suivante, nommée « lui-même », montre la taille de l'élément lui-même. La dernière colonne montre le ration de la taille de l'élément lui-même par rapport à celle de tous les éléments montrés." #. type: Plain text -#: doc/guix.texi:7070 +#: doc/guix.texi:7732 msgid "In this example, we see that the closure of Coreutils weighs in at 79@tie{}MiB, most of which is taken by libc and GCC's run-time support libraries. (That libc and GCC's libraries represent a large fraction of the closure is not a problem @i{per se} because they are always available on the system anyway.)" msgstr "Dans cet exemple, on voit que la cloture de Coreutils pèse 79@tie{}Mio, dont la plupart est dû à la libc et aux bibliothèques à l'exécution de GCC (ce n'est pas un problème en soit que la libc et les bibliothèques de GCC représentent une grande part de la cloture parce qu'elles sont toujours disponibles sur le système de toute façon)." #. type: Plain text -#: doc/guix.texi:7079 +#: doc/guix.texi:7741 msgid "When the package(s) passed to @command{guix size} are available in the store@footnote{More precisely, @command{guix size} looks for the @emph{ungrafted} variant of the given package(s), as returned by @code{guix build @var{package} --no-grafts}. @xref{Security Updates}, for information on grafts.}, @command{guix size} queries the daemon to determine its dependencies, and measures its size in the store, similar to @command{du -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils})." msgstr "Lorsque les paquets passés à @command{guix size} sont disponibles dans le dépôt@footnote{Plus précisément, @command{guix size} cherche les variantes @emph{non greffées} des paquets donnés, tels qu'ils sont renvoyés par @code{guix build @var{paquet} --no-graft}. @xref{Security Updates} pour des informations sur les greffes}, @command{guix size} demande au démon de déterminer ses dépendances, et mesure sa taille dans le dépôt, comme avec @command{du -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU Coreutils})." #. type: Plain text -#: doc/guix.texi:7084 +#: doc/guix.texi:7746 msgid "When the given packages are @emph{not} in the store, @command{guix size} reports information based on the available substitutes (@pxref{Substitutes}). This makes it possible it to profile disk usage of store items that are not even on disk, only available remotely." msgstr "Lorsque les paquets donnés ne sont @emph{pas} dans le dépôt, @command{guix size} rapporte les informations en se basant sur les substituts disponibles (@pxref{Substituts}). Cela permet de profiler l'utilisation du disque des éléments du dépôt même s'ils ne sont pas sur le disque, mais disponibles à distance." #. type: Plain text -#: doc/guix.texi:7086 +#: doc/guix.texi:7748 msgid "You can also specify several package names:" msgstr "Vous pouvez aussi spécifier plusieurs noms de paquets :" #. type: example -#: doc/guix.texi:7096 +#: doc/guix.texi:7758 #, no-wrap msgid "" "$ guix size coreutils grep sed bash\n" @@ -13094,462 +14236,460 @@ msgstr "" "total: 102.3 MiB\n" #. type: Plain text -#: doc/guix.texi:7102 +#: doc/guix.texi:7764 msgid "In this example we see that the combination of the four packages takes 102.3@tie{}MiB in total, which is much less than the sum of each closure since they have a lot of dependencies in common." msgstr "Dans cet exemple on voit que la combinaison des quatre paquets prent 102.3@tie{}Mio en tout, ce qui est bien moins que la somme des clotures puisqu'ils ont beaucoup de dépendances en commun." #. type: Plain text -#: doc/guix.texi:7104 +#: doc/guix.texi:7766 msgid "The available options are:" msgstr "Les options disponibles sont :" #. type: table -#: doc/guix.texi:7110 +#: doc/guix.texi:7772 msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}." msgstr "Utilise les informations de substituts de @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}." #. type: item -#: doc/guix.texi:7111 +#: doc/guix.texi:7773 #, no-wrap msgid "--sort=@var{key}" msgstr "--sort=@var{clef}" #. type: table -#: doc/guix.texi:7113 +#: doc/guix.texi:7775 msgid "Sort lines according to @var{key}, one of the following options:" msgstr "Trie les lignes en fonction de la @var{clef}, l'une des optinos suivantes :" #. type: item -#: doc/guix.texi:7115 +#: doc/guix.texi:7777 #, no-wrap msgid "self" msgstr "self" #. type: table -#: doc/guix.texi:7117 +#: doc/guix.texi:7779 msgid "the size of each item (the default);" msgstr "la taille de chaque élément (par défaut) ;" #. type: table -#: doc/guix.texi:7119 +#: doc/guix.texi:7781 msgid "the total size of the item's closure." msgstr "la taille totale de la cloture de l'élémente." #. type: item -#: doc/guix.texi:7121 +#: doc/guix.texi:7783 #, no-wrap msgid "--map-file=@var{file}" msgstr "--map-file=@var{fichier} " #. type: table -#: doc/guix.texi:7123 +#: doc/guix.texi:7785 msgid "Write a graphical map of disk usage in PNG format to @var{file}." msgstr "Écrit un schéma de l'utilisation du disque au format PNG dans @var{fichier}." #. type: table -#: doc/guix.texi:7125 +#: doc/guix.texi:7787 msgid "For the example above, the map looks like this:" msgstr "Pour l'exemple au-dessus, le schéma ressemble à ceci :" #. type: table -#: doc/guix.texi:7128 +#: doc/guix.texi:7790 msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}" msgstr "@image{images/coreutils-size-map,5in,, schéma de l'utilisation du disque de Coreutils produit par @command{guix size}}" #. type: table -#: doc/guix.texi:7133 +#: doc/guix.texi:7795 msgid "This option requires that @uref{http://wingolog.org/software/guile-charting/, Guile-Charting} be installed and visible in Guile's module search path. When that is not the case, @command{guix size} fails as it tries to load it." msgstr "Cette option requiert l'installation de @uref{http://wingolog.org/software/guile-charting/, Guile-Charting} et qu'il soit visible dans le chemin de recherche des modules Guile. Lorsque ce n'est pas le cas, @command{guix size} plante en essayant de le charger." #. type: table -#: doc/guix.texi:7137 +#: doc/guix.texi:7799 msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}." msgstr "Considère les paquets pour @var{système} — p.@: ex.@: @code{x86_64-linux}." #. type: section -#: doc/guix.texi:7141 +#: doc/guix.texi:7803 #, no-wrap msgid "Invoking @command{guix graph}" msgstr "Invoque @command{guix graph}" #. type: cindex -#: doc/guix.texi:7143 +#: doc/guix.texi:7805 #, no-wrap msgid "DAG" msgstr "DAG" #. type: command{#1} -#: doc/guix.texi:7144 +#: doc/guix.texi:7806 #, no-wrap msgid "guix graph" msgstr "guix graph" #. type: Plain text -#: doc/guix.texi:7158 +#: doc/guix.texi:7820 msgid "Packages and their dependencies form a @dfn{graph}, specifically a directed acyclic graph (DAG). It can quickly become difficult to have a mental model of the package DAG, so the @command{guix graph} command provides a visual representation of the DAG. By default, @command{guix graph} emits a DAG representation in the input format of @uref{http://www.graphviz.org/, Graphviz}, so its output can be passed directly to the @command{dot} command of Graphviz. It can also emit an HTML page with embedded JavaScript code to display a ``chord diagram'' in a Web browser, using the @uref{https://d3js.org/, d3.js} library, or emit Cypher queries to construct a graph in a graph database supporting the @uref{http://www.opencypher.org/, openCypher} query language. The general syntax is:" msgstr "Les paquets et leurs dépendances forment un @dfn{graphe}, plus précisément un graphe orienté acyclique (DAG). Il peut vite devenir difficile d'avoir une représentation mentale du DAG d'un paquet, donc la commande @command{guix graph} fournit une représentation visuelle du DAG. Par défaut, @command{guix graph} émet un représentation du DAG dans le format d'entrée de @uref{http://www.graphviz.org/, Graphviz}, pour que sa sortie puisse être passée directement à la commande @command{dot} de Graphviz. Elle peut aussi émettre une page HTML avec du code Javascript pour afficher un « digramme d'accords » dans un navigateur Web, grâce à la bibliothèque @uref{https://d3js.org/, d3.js}, ou émettre des requêtes Cypher pour construire un graphe dans une base de donnée de graphes supportant le langage de requêtes @uref{http://www.opencypher.org/, openCypher}. La syntaxe générale est :" #. type: example -#: doc/guix.texi:7161 +#: doc/guix.texi:7823 #, no-wrap msgid "guix graph @var{options} @var{package}@dots{}\n" msgstr "guix graph @var{options} @var{paquet}@dots{}\n" #. type: Plain text -#: doc/guix.texi:7166 +#: doc/guix.texi:7828 msgid "For example, the following command generates a PDF file representing the package DAG for the GNU@tie{}Core Utilities, showing its build-time dependencies:" msgstr "Par exemple, la commande suivante génère un fichier PDF représentant le DAG du paquet pour GNU@tie{}Core Utilities, qui montre ses dépendances à la compilation :" #. type: example -#: doc/guix.texi:7169 +#: doc/guix.texi:7831 #, no-wrap msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n" msgstr "guix graph coreutils | dot -Tpdf > dag.pdf\n" #. type: Plain text -#: doc/guix.texi:7172 +#: doc/guix.texi:7834 msgid "The output looks like this:" msgstr "La sortie ressemble à ceci :" #. type: Plain text -#: doc/guix.texi:7174 +#: doc/guix.texi:7836 msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}" msgstr "@image{images/coreutils-graph,2in,,Graphe de dépendance de GNU Coreutils}" #. type: Plain text -#: doc/guix.texi:7176 +#: doc/guix.texi:7838 msgid "Nice little graph, no?" msgstr "Joli petit graphe, non ?" #. type: Plain text -#: doc/guix.texi:7182 +#: doc/guix.texi:7844 msgid "But there is more than one graph! The one above is concise: it is the graph of package objects, omitting implicit inputs such as GCC, libc, grep, etc. It is often useful to have such a concise graph, but sometimes one may want to see more details. @command{guix graph} supports several types of graphs, allowing you to choose the level of detail:" msgstr "Mais il y a plus qu'un seul graphe ! Celui au-dessus est concis : c'est le graphe des objets paquets, en omettant les entrées implicites comme GCC, libc, grep, etc. Il est souvent utile d'avoir ces graphes concis, mais parfois on veut voir plus de détails. @command{guix graph} supporte plusieurs types de graphes, qui vous permettent de choisir le niveau de détails :" #. type: table -#: doc/guix.texi:7188 +#: doc/guix.texi:7850 msgid "This is the default type used in the example above. It shows the DAG of package objects, excluding implicit dependencies. It is concise, but filters out many details." msgstr "C'est le type par défaut utilisé dans l'exemple plus haut. Il montre le DAG des objets paquets, sans les dépendances implicites. C'est concis, mais omet pas mal de détails." #. type: item -#: doc/guix.texi:7189 +#: doc/guix.texi:7851 #, no-wrap msgid "reverse-package" msgstr "reverse-package" #. type: table -#: doc/guix.texi:7191 +#: doc/guix.texi:7853 msgid "This shows the @emph{reverse} DAG of packages. For example:" msgstr "Cela montre le DAG @emph{inversé} des paquets. Par exemple :" #. type: example -#: doc/guix.texi:7194 +#: doc/guix.texi:7856 #, no-wrap msgid "guix graph --type=reverse-package ocaml\n" msgstr "guix graph --type=reverse-package ocaml\n" #. type: table -#: doc/guix.texi:7197 +#: doc/guix.texi:7859 msgid "... yields the graph of packages that depend on OCaml." msgstr "… montre le graphe des paquets qui dépendent de OCaml." #. type: table -#: doc/guix.texi:7202 +#: doc/guix.texi:7864 msgid "Note that for core packages this can yield huge graphs. If all you want is to know the number of packages that depend on a given package, use @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh, @option{--list-dependent}})." msgstr "Remarquez que pour les paquets du cœur de la distribution, cela crée des graphes énormes. Si vous voulez seulement voir le nombre de paquets qui dépendent d'un paquet donnés, utilisez @command{guix refresh --list-dependent} (@pxref{Invoking guix refresh, @option{--list-dependent}})." #. type: item -#: doc/guix.texi:7203 +#: doc/guix.texi:7865 #, no-wrap msgid "bag-emerged" msgstr "bag-emerged" #. type: table -#: doc/guix.texi:7205 +#: doc/guix.texi:7867 msgid "This is the package DAG, @emph{including} implicit inputs." msgstr "C'est le DAG du paquet, @emph{avec} les entrées implicites." #. type: table -#: doc/guix.texi:7207 +#: doc/guix.texi:7869 msgid "For instance, the following command:" msgstr "Par exemple, la commande suivante :" #. type: example -#: doc/guix.texi:7210 +#: doc/guix.texi:7872 #, no-wrap msgid "guix graph --type=bag-emerged coreutils | dot -Tpdf > dag.pdf\n" msgstr "guix graph --type=bag-emerged coreutils | dot -Tpdf > dag.pdf\n" #. type: table -#: doc/guix.texi:7213 +#: doc/guix.texi:7875 msgid "... yields this bigger graph:" msgstr "… montre ce graphe plus gros :" #. type: table -#: doc/guix.texi:7215 +#: doc/guix.texi:7877 msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}" msgstr "@image{images/coreutils-bag-graph,,5in,Graphe des dépendances détaillé de GNU Coreutils}" #. type: table -#: doc/guix.texi:7218 +#: doc/guix.texi:7880 msgid "At the bottom of the graph, we see all the implicit inputs of @var{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})." msgstr "En bas du graphe, on voit toutes les entrées implicites de @var{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})." #. type: table -#: doc/guix.texi:7222 +#: doc/guix.texi:7884 msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness." msgstr "Maintenant, remarquez que les dépendances de ces entrées implicites — c'est-à-dire les @dfn{dépendances de bootstrap} (@pxref{Bootstrapping}) — ne sont pas affichées, pour rester concis." #. type: item -#: doc/guix.texi:7223 +#: doc/guix.texi:7885 #, no-wrap msgid "bag" msgstr "bag" #. type: table -#: doc/guix.texi:7226 +#: doc/guix.texi:7888 msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies." msgstr "Comme @code{bag-emerged} mais cette fois inclus toutes les dépendances de bootstrap." #. type: item -#: doc/guix.texi:7227 +#: doc/guix.texi:7889 #, no-wrap msgid "bag-with-origins" msgstr "bag-with-origins" #. type: table -#: doc/guix.texi:7229 +#: doc/guix.texi:7891 msgid "Similar to @code{bag}, but also showing origins and their dependencies." msgstr "Comme @code{bag}, mais montre aussi les origines et leurs dépendances." #. type: table -#: doc/guix.texi:7235 +#: doc/guix.texi:7897 msgid "This is the most detailed representation: It shows the DAG of derivations (@pxref{Derivations}) and plain store items. Compared to the above representation, many additional nodes are visible, including build scripts, patches, Guile modules, etc." msgstr "C'est la représentation lu plus détaillée : elle montre le DAG des dérivations (@pxref{Derivations}) et des éléments du dépôt. Comparé à la représentation ci-dessus, beaucoup plus de nœuds sont visibles, dont les scripts de construction, les correctifs, les modules Guile, etc." #. type: table -#: doc/guix.texi:7238 +#: doc/guix.texi:7900 msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:" msgstr "Pour ce type de graphe, il est aussi possible de passer un nom de fichier @file{.drv} à la place d'un nom de paquet, comme dans :" #. type: example -#: doc/guix.texi:7241 +#: doc/guix.texi:7903 #, no-wrap msgid "guix graph -t derivation `guix system build -d my-config.scm`\n" msgstr "guix graph -t derivation `guix system build -d my-config.scm`\n" #. type: item -#: doc/guix.texi:7243 +#: doc/guix.texi:7905 #, no-wrap msgid "module" msgstr "module" #. type: table -#: doc/guix.texi:7247 +#: doc/guix.texi:7909 msgid "This is the graph of @dfn{package modules} (@pxref{Package Modules}). For example, the following command shows the graph for the package module that defines the @code{guile} package:" msgstr "C'est le graphe des @dfn{modules de paquets} (@pxref{Package Modules}). Par exemple, la commande suivante montre le graphe des modules de paquets qui définissent le paquet @code{guile} :" #. type: example -#: doc/guix.texi:7250 +#: doc/guix.texi:7912 #, no-wrap msgid "guix graph -t module guile | dot -Tpdf > module-graph.pdf\n" msgstr "guix graph -t module guile | dot -Tpdf > module-graph.pdf\n" #. type: Plain text -#: doc/guix.texi:7255 +#: doc/guix.texi:7917 msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:" msgstr "Tous les types ci-dessus correspondent aux @emph{dépendances à la construction}. Le type de graphe suivant représente les @emph{dépendances à l'exécution} :" #. type: item -#: doc/guix.texi:7257 +#: doc/guix.texi:7919 #, no-wrap msgid "references" msgstr "references" #. type: table -#: doc/guix.texi:7260 +#: doc/guix.texi:7922 msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})." msgstr "C'est le graphe des @dfn{references} d'une sortie d'un paquet, telles que renvoyées par @command{guix gc --references} (@pxref{Invoking guix gc})." #. type: table -#: doc/guix.texi:7263 +#: doc/guix.texi:7925 msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes." msgstr "Si la sortie du paquet donnée n'est pas disponible dans le dépôt, @command{guix graph} essayera d'obtenir les informations sur les dépendances à travers les substituts." #. type: table -#: doc/guix.texi:7267 +#: doc/guix.texi:7929 msgid "Here you can also pass a store file name instead of a package name. For example, the command below produces the reference graph of your profile (which can be big!):" msgstr "Vous pouvez aussi passer un nom de fichier du dépôt plutôt qu'un nom de paquet. Par exemple, la commande ci-dessous produit le graphe des références de votre profile (qui peut être gros !) :" #. type: example -#: doc/guix.texi:7270 +#: doc/guix.texi:7932 #, no-wrap msgid "guix graph -t references `readlink -f ~/.guix-profile`\n" msgstr "guix graph -t references `readlink -f ~/.guix-profile`\n" #. type: item -#: doc/guix.texi:7272 +#: doc/guix.texi:7934 #, no-wrap msgid "referrers" msgstr "referrers" #. type: table -#: doc/guix.texi:7275 +#: doc/guix.texi:7937 msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})." msgstr "C'est le graphe des @dfn{référents} d'un élément du dépôt, tels que renvoyés par @command{guix gc --referrers} (@pxref{Invoking guix gc})." #. type: table -#: doc/guix.texi:7281 +#: doc/guix.texi:7943 msgid "This relies exclusively on local information from your store. For instance, let us suppose that the current Inkscape is available in 10 profiles on your machine; @command{guix graph -t referrers inkscape} will show a graph rooted at Inkscape and with those 10 profiles linked to it." msgstr "Cela repose exclusivement sur les informations de votre dépôt. Par exemple, supposons que Inkscape est actuellement disponible dans 10 profils sur votre machine ; @command{guix graph -t referrers inkscape} montrera le graphe dont la racine est Inkscape avec 10 profils qui y sont liés." #. type: table -#: doc/guix.texi:7284 +#: doc/guix.texi:7946 msgid "It can help determine what is preventing a store item from being garbage collected." msgstr "Cela peut aider à déterminer ce qui empêche un élément du dépôt d'être glané." #. type: Plain text -#: doc/guix.texi:7288 +#: doc/guix.texi:7950 msgid "The available options are the following:" msgstr "Les options disponibles sont les suivante :" -#. type: item -#: doc/guix.texi:7290 -#, no-wrap -msgid "--type=@var{type}" -msgstr "--type=@var{type}" - -#. type: itemx -#: doc/guix.texi:7291 doc/guix.texi:21087 -#, no-wrap -msgid "-t @var{type}" -msgstr "-t @var{type}" - #. type: table -#: doc/guix.texi:7294 +#: doc/guix.texi:7956 msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above." msgstr "Produit un graphe en sortie de type @var{type} où @var{type} doit être l'un des types au-dessus." #. type: item -#: doc/guix.texi:7295 +#: doc/guix.texi:7957 #, no-wrap msgid "--list-types" msgstr "--list-types" #. type: table -#: doc/guix.texi:7297 +#: doc/guix.texi:7959 msgid "List the supported graph types." msgstr "Liste les types de graphes supportés." #. type: item -#: doc/guix.texi:7298 +#: doc/guix.texi:7960 #, no-wrap msgid "--backend=@var{backend}" msgstr "--backend=@var{moteur}" #. type: itemx -#: doc/guix.texi:7299 +#: doc/guix.texi:7961 #, no-wrap msgid "-b @var{backend}" msgstr "-b @var{moteur}" #. type: table -#: doc/guix.texi:7301 +#: doc/guix.texi:7963 msgid "Produce a graph using the selected @var{backend}." msgstr "Produit un graphe avec le @var{moteur} choisi." #. type: item -#: doc/guix.texi:7302 +#: doc/guix.texi:7964 #, no-wrap msgid "--list-backends" msgstr "--list-backends" #. type: table -#: doc/guix.texi:7304 +#: doc/guix.texi:7966 msgid "List the supported graph backends." msgstr "Liste les moteurs de graphes supportés." #. type: table -#: doc/guix.texi:7306 +#: doc/guix.texi:7968 msgid "Currently, the available backends are Graphviz and d3.js." msgstr "Actuellement les moteurs disponibles sont Graphviz et d3.js." #. type: example -#: doc/guix.texi:7315 +#: doc/guix.texi:7977 #, no-wrap msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n" msgstr "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n" +#. type: table +#: doc/guix.texi:7982 +msgid "Display the graph for @var{system}---e.g., @code{i686-linux}." +msgstr "Affiche le graphe pour @var{système} — p.@: ex.@: @code{i686-linux}." + +#. type: table +#: doc/guix.texi:7985 +msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize." +msgstr "Le graphe de dépendance des paquets est la plupart du temps indépendant de l'architecture, mais il y a quelques parties qui dépendent de l'architecture que cette option vous permet de visualiser." + #. type: section -#: doc/guix.texi:7320 +#: doc/guix.texi:7989 #, no-wrap msgid "Invoking @command{guix environment}" msgstr "Invoquer @command{guix environment}" #. type: cindex -#: doc/guix.texi:7322 +#: doc/guix.texi:7991 #, no-wrap msgid "reproducible build environments" msgstr "environnements de construction reproductibles" #. type: cindex -#: doc/guix.texi:7323 +#: doc/guix.texi:7992 #, no-wrap msgid "development environments" msgstr "environnement de développement" #. type: command{#1} -#: doc/guix.texi:7324 +#: doc/guix.texi:7993 #, no-wrap msgid "guix environment" msgstr "guix environment" #. type: cindex -#: doc/guix.texi:7325 +#: doc/guix.texi:7994 #, no-wrap msgid "environment, package build environment" msgstr "environnement de construction de paquets" #. type: Plain text -#: doc/guix.texi:7331 +#: doc/guix.texi:8000 msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them." msgstr "Le but de @command{guix environment} est d'assister les hackers dans la création d'environnements de développement reproductibles sans polluer leur profil de paquets. L'outil @command{guix environment} prend un ou plusieurs paquets, construit leurs entrées et crée un environnement shell pour pouvoir les utiliser." #. type: example -#: doc/guix.texi:7336 +#: doc/guix.texi:8005 #, no-wrap msgid "guix environment @var{options} @var{package}@dots{}\n" msgstr "guix environment @var{options} @var{paquet}@dots{}\n" #. type: Plain text -#: doc/guix.texi:7340 +#: doc/guix.texi:8009 msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:" msgstr "L'exemple suivant crée un nouveau shell préparé pour le développement de GNU@tie{}Guile :" #. type: example -#: doc/guix.texi:7343 +#: doc/guix.texi:8012 #, no-wrap msgid "guix environment guile\n" msgstr "guix environment guile\n" #. type: Plain text -#: doc/guix.texi:7360 +#: doc/guix.texi:8029 msgid "If the needed dependencies are not built yet, @command{guix environment} automatically builds them. The environment of the new shell is an augmented version of the environment that @command{guix environment} was run in. It contains the necessary search paths for building the given package added to the existing environment variables. To create a ``pure'' environment, in which the original environment variables have been unset, use the @code{--pure} option@footnote{Users sometimes wrongfully augment environment variables such as @code{PATH} in their @file{~/.bashrc} file. As a consequence, when @code{guix environment} launches it, Bash may read @file{~/.bashrc}, thereby introducing ``impurities'' in these environment variables. It is an error to define such environment variables in @file{.bashrc}; instead, they should be defined in @file{.bash_profile}, which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files.}." msgstr "Si les dépendances requises ne sont pas déjà construites, @command{guix environment} les construit automatiquement. L'environnement du nouveau shell est une version améliorée de l'environnement dans lequel @command{guix environment} a été lancé. Il contient les chemins de recherche nécessaires à la construction du paquet donné en plus des variables d'environnement existantes. Pour créer un environnement « pur », dans lequel les variables d'environnement de départ ont été nettoyées, utilisez l'option @code{--pure}@footnote{Les utilisateurs ajoutent parfois à tord des valeurs supplémentaires dans les variables comme @code{PATH} dans leur @file{~/.bashrc}. En conséquence, lorsque @code{guix environment} le lance, Bash peut lire @file{~/.bashrc}, ce qui produit des « impuretés » dans ces variables d'environnement. C'est une erreur de définir ces variables d'environnement dans @file{.bashrc} ; à la place, elles devraient être définie dans @file{.bash_profile}, qui est sourcé uniquement par les shells de connexion. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, pour des détails sur les fichiers de démarrage de Bash.}." #. type: vindex -#: doc/guix.texi:7361 +#: doc/guix.texi:8030 #, no-wrap msgid "GUIX_ENVIRONMENT" msgstr "GUIX_ENVIRONMENT" #. type: Plain text -#: doc/guix.texi:7367 +#: doc/guix.texi:8036 msgid "@command{guix environment} defines the @code{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):" msgstr "@command{guix environment} définie la variable @code{GUIX_ENVIRONMENT} dans le shell qu'il crée ; sa valeur est le nom de fichier du profil de cet environnement. Cela permet aux utilisateur, disons, de définir un prompt spécifique pour les environnement de développement dans leur @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) :" #. type: example -#: doc/guix.texi:7373 +#: doc/guix.texi:8042 #, no-wrap msgid "" "if [ -n \"$GUIX_ENVIRONMENT\" ]\n" @@ -13563,339 +14703,339 @@ msgstr "" "fi\n" #. type: Plain text -#: doc/guix.texi:7377 +#: doc/guix.texi:8046 msgid "... or to browse the profile:" msgstr "… ou de naviguer dans le profil :" #. type: example -#: doc/guix.texi:7380 +#: doc/guix.texi:8049 #, no-wrap msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n" msgstr "$ ls \"$GUIX_ENVIRONMENT/bin\"\n" #. type: Plain text -#: doc/guix.texi:7386 +#: doc/guix.texi:8055 msgid "Additionally, more than one package may be specified, in which case the union of the inputs for the given packages are used. For example, the command below spawns a shell where all of the dependencies of both Guile and Emacs are available:" msgstr "En plus, plus d'un paquet peut être spécifié, auquel cas l'union des entrées des paquets données est utilisée. Par exemple, la commande ci-dessous crée un shell où toutes les dépendances de Guile et Emacs sont disponibles :" #. type: example -#: doc/guix.texi:7389 +#: doc/guix.texi:8058 #, no-wrap msgid "guix environment guile emacs\n" msgstr "guix environment guile emacs\n" #. type: Plain text -#: doc/guix.texi:7394 +#: doc/guix.texi:8063 msgid "Sometimes an interactive shell session is not desired. An arbitrary command may be invoked by placing the @code{--} token to separate the command from the rest of the arguments:" msgstr "Parfois, une session shell interactive est inutile. On peut invoquer une commande arbitraire en plaçant le jeton @code{--} pour séparer la commande du reste des arguments :" #. type: example -#: doc/guix.texi:7397 +#: doc/guix.texi:8066 #, no-wrap msgid "guix environment guile -- make -j4\n" msgstr "guix environment guile -- make -j4\n" #. type: Plain text -#: doc/guix.texi:7403 +#: doc/guix.texi:8072 msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}2.7 and NumPy:" msgstr "Dans d'autres situations, il est plus pratique de spécifier la liste des paquets requis dans l'environnement. Par exemple, la commande suivante lance @command{python} dans un environnement contenant Python@tie{}2.7 et NumPy :" #. type: example -#: doc/guix.texi:7406 +#: doc/guix.texi:8075 #, no-wrap msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n" msgstr "guix environment --ad-hoc python2-numpy python-2.7 -- python\n" #. type: Plain text -#: doc/guix.texi:7417 +#: doc/guix.texi:8086 msgid "Furthermore, one might want the dependencies of a package and also some additional packages that are not build-time or runtime dependencies, but are useful when developing nonetheless. Because of this, the @code{--ad-hoc} flag is positional. Packages appearing before @code{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment. Packages appearing after are interpreted as packages that will be added to the environment directly. For example, the following command creates a Guix development environment that additionally includes Git and strace:" msgstr "En plus, on peut vouloir les dépendance d'un paquet et aussi des paquets supplémentaires qui ne sont pas des dépendances à l'exécution ou à la construction, mais qui sont utiles au développement tout de même. À cause de cela, le drapeau @code{--ad-hoc} est positionnel. Les paquets qui apparaissent avant @code{--ad-hoc} sont interprétés comme les paquets dont les dépendances seront ajoutées à l'environnement. Les paquets qui apparaissent après @code{--ad-hoc} sont interprétés comme les paquets à ajouter à l'environnement directement. Par exemple, la commande suivante crée un environnement de développement pour Guix avec les paquets Git et strace en plus :" #. type: example -#: doc/guix.texi:7420 +#: doc/guix.texi:8089 #, no-wrap msgid "guix environment guix --ad-hoc git strace\n" msgstr "guix environment guix --ad-hoc git strace\n" #. type: Plain text -#: doc/guix.texi:7429 +#: doc/guix.texi:8098 msgid "Sometimes it is desirable to isolate the environment as much as possible, for maximal purity and reproducibility. In particular, when using Guix on a host distro that is not GuixSD, it is desirable to prevent access to @file{/usr/bin} and other system-wide resources from the development environment. For example, the following command spawns a Guile REPL in a ``container'' where only the store and the current working directory are mounted:" msgstr "Parfois il est souhaitable d'isoler l'environnement le plus possible, pour une pureté et une reproductibilité maximale. En particulier, lorsque vous utilisez Guix sur une distribution hôte qui n'est pas GuixSD, il est souhaitable d'éviter l'accès à @file{/usr/bin} et d'autres ressources du système depuis les environnements de développement. Par exemple, la commande suivante crée un REPL Guile dans un « conteneur » où seuls le dépôt et le répertoire de travail actuel sont montés :" #. type: example -#: doc/guix.texi:7432 +#: doc/guix.texi:8101 #, no-wrap msgid "guix environment --ad-hoc --container guile -- guile\n" msgstr "guix environment --ad-hoc --container guile -- guile\n" #. type: quotation -#: doc/guix.texi:7436 +#: doc/guix.texi:8105 msgid "The @code{--container} option requires Linux-libre 3.19 or newer." msgstr "L'option @code{--container} requiert Linux-libre 3.19 ou supérieur." #. type: Plain text -#: doc/guix.texi:7439 +#: doc/guix.texi:8108 msgid "The available options are summarized below." msgstr "Les options disponibles sont résumées ci-dessous." #. type: cindex -#: doc/guix.texi:7443 +#: doc/guix.texi:8112 #, no-wrap msgid "persistent environment" msgstr "environnement persistent" #. type: cindex -#: doc/guix.texi:7444 +#: doc/guix.texi:8113 #, no-wrap msgid "garbage collector root, for environments" msgstr "racine du ramasse-miettes, pour les environnements" #. type: table -#: doc/guix.texi:7447 +#: doc/guix.texi:8116 msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root." msgstr "Fait de @var{fichier} un lien symbolique vers le profil de cet environnement, et l'enregistre comme une racine du ramasse-miettes." #. type: table -#: doc/guix.texi:7450 +#: doc/guix.texi:8119 msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''." msgstr "C'est utile si vous souhaitez protéger votre environnement du ramasse-miettes, pour le rendre « persistent »." #. type: table -#: doc/guix.texi:7456 +#: doc/guix.texi:8125 msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix environment} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots." msgstr "Lorsque cette option est omise, l'environnement n'est protégé du ramasse-miettes que le temps de la session @command{guix environment}. Cela signifie que la prochaine fois que vous créerez le même environnement, vous pourriez avoir à reconstruire ou télécharger des paquets. @xref{Invoking guix gc}, pour plus d'informations sur les racines du GC." #. type: table -#: doc/guix.texi:7461 +#: doc/guix.texi:8130 msgid "Create an environment for the package or list of packages that @var{expr} evaluates to." msgstr "Crée un environnement pour le paquet ou la liste de paquets en lesquels s'évalue @var{expr}." #. type: table -#: doc/guix.texi:7463 +#: doc/guix.texi:8132 msgid "For example, running:" msgstr "Par exemple, lancer :" #. type: example -#: doc/guix.texi:7466 +#: doc/guix.texi:8135 #, no-wrap msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n" msgstr "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n" #. type: table -#: doc/guix.texi:7470 +#: doc/guix.texi:8139 msgid "starts a shell with the environment for this specific variant of the PETSc package." msgstr "démarre un shell avec l'environnement pour cette variante spécifique du paquet PETSc." #. type: table -#: doc/guix.texi:7472 +#: doc/guix.texi:8141 msgid "Running:" msgstr "Lancer :" #. type: example -#: doc/guix.texi:7475 +#: doc/guix.texi:8144 #, no-wrap msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n" msgstr "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n" #. type: table -#: doc/guix.texi:7478 +#: doc/guix.texi:8147 msgid "starts a shell with all the GuixSD base packages available." msgstr "démarre un shell où tous les paquets de base de GuixSD sont disponibles." #. type: table -#: doc/guix.texi:7481 +#: doc/guix.texi:8150 msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:" msgstr "Les commande au-dessus n'utilisent que les sorties par défaut des paquets donnés. Pour choisir d'autres sorties, on peut spécifier des pairs :" #. type: example -#: doc/guix.texi:7484 +#: doc/guix.texi:8153 #, no-wrap msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n" msgstr "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n" #. type: item -#: doc/guix.texi:7486 +#: doc/guix.texi:8155 #, no-wrap msgid "--load=@var{file}" msgstr "--load=@var{fichier}" #. type: itemx -#: doc/guix.texi:7487 +#: doc/guix.texi:8156 #, no-wrap msgid "-l @var{file}" msgstr "-l @var{fichier}" #. type: table -#: doc/guix.texi:7490 +#: doc/guix.texi:8159 msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to." msgstr "Crée un environnement pour le paquet ou la liste de paquets en lesquels @var{fichier} s'évalue." #. type: example -#: doc/guix.texi:7496 +#: doc/guix.texi:8165 #, no-wrap msgid "@verbatiminclude environment-gdb.scm\n" msgstr "@verbatiminclude environment-gdb.scm\n" #. type: table -#: doc/guix.texi:7502 +#: doc/guix.texi:8171 msgid "Create an environment for the packages contained in the manifest object returned by the Scheme code in @var{file}." msgstr "Crée un environnement pour les paquets contenus dans l'objet manifeste renvoyé par le code Scheme dans @var{fichier}." #. type: table -#: doc/guix.texi:7506 +#: doc/guix.texi:8175 msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files." msgstr "C'est similaire à l'option de même nom de @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) et utilise les même fichiers manifestes." #. type: item -#: doc/guix.texi:7507 +#: doc/guix.texi:8176 #, no-wrap msgid "--ad-hoc" msgstr "--ad-hoc" #. type: table -#: doc/guix.texi:7512 +#: doc/guix.texi:8181 msgid "Include all specified packages in the resulting environment, as if an @i{ad hoc} package were defined with them as inputs. This option is useful for quickly creating an environment without having to write a package expression to contain the desired inputs." msgstr "Inclut tous les paquets spécifiés dans l'environnement qui en résulte, comme si un paquet @i{ad hoc} était spécifié, avec ces paquets comme entrées. Cette option est utile pour créer un environnement rapidement sans avoir à écrire une expression de paquet contenant les entrées désirées." #. type: table -#: doc/guix.texi:7514 +#: doc/guix.texi:8183 msgid "For instance, the command:" msgstr "Par exemple la commande :" #. type: example -#: doc/guix.texi:7517 +#: doc/guix.texi:8186 #, no-wrap msgid "guix environment --ad-hoc guile guile-sdl -- guile\n" msgstr "guix environment --ad-hoc guile guile-sdl -- guile\n" #. type: table -#: doc/guix.texi:7521 +#: doc/guix.texi:8190 msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available." msgstr "lance @command{guile} dans un environnement où Guile et Guile-SDDL sont disponibles." #. type: table -#: doc/guix.texi:7526 +#: doc/guix.texi:8195 msgid "Note that this example implicitly asks for the default output of @code{guile} and @code{guile-sdl}, but it is possible to ask for a specific output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} (@pxref{Packages with Multiple Outputs})." msgstr "Remarquez que cet exemple demande implicitement la sortie par défaut de @code{guile} et @code{guile-sdl}, mais il est possible de demander une sortie spécifique — p.@: ex.@: @code{glib:bin} demande la sortie @code{bin} de @code{glib} (@pxref{Packages with Multiple Outputs})." #. type: table -#: doc/guix.texi:7532 +#: doc/guix.texi:8201 msgid "This option may be composed with the default behavior of @command{guix environment}. Packages appearing before @code{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly." msgstr "Cette option peut être composée avec le comportement par défaut de @command{guix environment}. Les paquets qui apparaissent avant @code{--ad-hoc} sont interprétés comme les paquets dont les dépendances seront ajoutées à l'environnement, le comportement par défaut. Les paquets qui apparaissent après @code{--ad-hoc} sont interprétés comme les paquets à ajouter à l'environnement directement." #. type: item -#: doc/guix.texi:7533 +#: doc/guix.texi:8202 #, no-wrap msgid "--pure" msgstr "--pure" #. type: table -#: doc/guix.texi:7537 +#: doc/guix.texi:8206 msgid "Unset existing environment variables when building the new environment. This has the effect of creating an environment in which search paths only contain package inputs." msgstr "Nettoie les variables d'environnement existantes lors de la construction du nouvel environnement. Cela a pour effet de créer un environnement dans lequel les chemins de recherche ne contiennent que des entrées de paquets." #. type: item -#: doc/guix.texi:7538 +#: doc/guix.texi:8207 #, no-wrap msgid "--search-paths" msgstr "--search-paths" #. type: table -#: doc/guix.texi:7541 +#: doc/guix.texi:8210 msgid "Display the environment variable definitions that make up the environment." msgstr "Affiche les définitions des variables d'environnement qui composent l'environnement." #. type: table -#: doc/guix.texi:7545 +#: doc/guix.texi:8214 msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}." msgstr "Essaye de construire pour @var{système} — p.@: ex.@: @code{i686-linux}." #. type: item -#: doc/guix.texi:7546 +#: doc/guix.texi:8215 #, no-wrap msgid "--container" msgstr "--container" #. type: itemx -#: doc/guix.texi:7547 +#: doc/guix.texi:8216 #, no-wrap msgid "-C" msgstr "-C" #. type: item -#: doc/guix.texi:7548 doc/guix.texi:8059 doc/guix.texi:21036 +#: doc/guix.texi:8217 doc/guix.texi:8728 doc/guix.texi:22494 #, no-wrap msgid "container" msgstr "conteneur" #. type: table -#: doc/guix.texi:7556 +#: doc/guix.texi:8225 msgid "Run @var{command} within an isolated container. The current working directory outside the container is mapped inside the container. Additionally, unless overridden with @code{--user}, a dummy home directory is created that matches the current user's home directory, and @file{/etc/passwd} is configured accordingly. The spawned process runs as the current user outside the container, but has root privileges in the context of the container." msgstr "Lance @var{commande} dans un conteneur isolé. Le répertoire de travail actuel en dehors du conteneur est monté dans le conteneur. En plus, à moins de le changer avec @code{--user}, un répertoire personnel fictif est créé pour correspondre à celui de l'utilisateur actuel et @file{/etc/passwod} est configuré en conséquence. Le processus est lancé en tant que l'utilisateur actuel en dehors du conteneur, mais a les privilèges root dans le contexte du conteneur." #. type: item -#: doc/guix.texi:7557 +#: doc/guix.texi:8226 #, no-wrap msgid "--network" msgstr "--network" #. type: itemx -#: doc/guix.texi:7558 +#: doc/guix.texi:8227 #, no-wrap msgid "-N" msgstr "-N" #. type: table -#: doc/guix.texi:7562 +#: doc/guix.texi:8231 msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device." msgstr "Pour les conteneurs, partage l'espace de nom du réseau avec le système hôte. Les conteneurs créés sans cette option n'ont accès qu'à l'interface de boucle locale." #. type: item -#: doc/guix.texi:7563 +#: doc/guix.texi:8232 #, no-wrap msgid "--link-profile" msgstr "--link-profile" #. type: itemx -#: doc/guix.texi:7564 +#: doc/guix.texi:8233 #, no-wrap msgid "-P" msgstr "-P" #. type: table -#: doc/guix.texi:7571 +#: doc/guix.texi:8240 msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container. This is equivalent to running the command @command{ln -s $GUIX_ENVIRONMENT ~/.guix-profile} within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix environment} was invoked in the user's home directory." msgstr "Pour les conteneurs, lie le profil de l'environnement à @file{~/.guix-profile} dans le conteneur. C'est équivalent à lance la commande @command{ln -s $GUIX_ENVIRONMENT ~/.guix-profile} dans le conteneur. La liaison échouera et annulera l'environnement si le répertoire existe déjà, ce qui sera sans doute le cas si @command{guix environment} est invoqué dans le répertoire personnel de l'utilisateur." #. type: table -#: doc/guix.texi:7578 +#: doc/guix.texi:8247 msgid "Certain packages are configured to look in @code{~/.guix-profile} for configuration files and data;@footnote{For example, the @code{fontconfig} package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} @code{--link-profile} allows these programs to behave as expected within the environment." msgstr "Certains paquets sont configurés pour chercher des fichiers de configuration et des données dans @code{~/.guix-profile}@footnote{Par exemple, le paquet @code{fontconfig} inspecte @file{~/.guix-profile/share/fonts} pour trouver des polices supplémentaires.} ; @code{--link-profile} permet à ces programmes de se comporter comme attendu dans l'environnement." #. type: item -#: doc/guix.texi:7579 doc/guix.texi:7731 +#: doc/guix.texi:8248 doc/guix.texi:8400 #, no-wrap msgid "--user=@var{user}" msgstr "--user=@var{utilisateur}" #. type: itemx -#: doc/guix.texi:7580 doc/guix.texi:7732 +#: doc/guix.texi:8249 doc/guix.texi:8401 #, no-wrap msgid "-u @var{user}" msgstr "-u @var{utilisateur}" #. type: table -#: doc/guix.texi:7586 +#: doc/guix.texi:8255 msgid "For containers, use the username @var{user} in place of the current user. The generated @file{/etc/passwd} entry within the container will contain the name @var{user}; the home directory will be @file{/home/USER}; and no user GECOS data will be copied. @var{user} need not exist on the system." msgstr "Pour les conteneurs, utilise le nom d'utilisateur @var{utilisateur} à la place de l'utilisateur actuel. L'entrée générée dans @file{/etc/passwod} dans le conteneur contiendra le nom @var{utilisateur} ; le répertoire personnel sera @file{/home/UTILISATEUR} ; et aucune donnée GECOS ne sera copiée. @var{utilisateur} n'a pas besoin d'exister sur le système." #. type: table -#: doc/guix.texi:7591 +#: doc/guix.texi:8260 msgid "Additionally, any shared or exposed path (see @code{--share} and @code{--expose} respectively) whose target is within the current user's home directory will be remapped relative to @file{/home/USER}; this includes the automatic mapping of the current working directory." msgstr "En plus, tous les chemins partagés ou exposés (voir @code{--share} et @code{--expose} respectivement) dont la cible est dans le répertoire personnel de l'utilisateur seront remontés relativement à @file{/home/UTILISATEUR} ; cela comprend le montage automatique du répertoire de travail actuel." #. type: example -#: doc/guix.texi:7598 +#: doc/guix.texi:8267 #, no-wrap msgid "" "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n" @@ -13911,358 +15051,358 @@ msgstr "" " --expose=/tmp/target=$HOME/target\n" #. type: table -#: doc/guix.texi:7603 +#: doc/guix.texi:8272 msgid "While this will limit the leaking of user identity through home paths and each of the user fields, this is only one useful component of a broader privacy/anonymity solution---not one in and of itself." msgstr "Bien que cela limite la fuite de l'identité de l'utilisateur à travers le chemin du répertoire personnel et des champs de l'utilisateur, ce n'est qu'un composant utile pour une solution d'anonymisation ou de préservation de la vie privée — pas une solution en elle-même." #. type: item -#: doc/guix.texi:7604 +#: doc/guix.texi:8273 #, no-wrap msgid "--expose=@var{source}[=@var{target}]" msgstr "--expose=@var{source}[=@var{cible}]" #. type: table -#: doc/guix.texi:7609 +#: doc/guix.texi:8278 msgid "For containers, expose the file system @var{source} from the host system as the read-only file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container." msgstr "Pour les conteneurs, expose le système de fichiers @var{source} du système hôte comme un système de fichiers en lecture seule @var{cible} dans le conteneur. Si @var{cible} n'est pas spécifiée, @var{source} est utilisé comme point de montage dans le conteneur." #. type: table -#: doc/guix.texi:7613 +#: doc/guix.texi:8282 msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible read-only via the @file{/exchange} directory:" msgstr "L'exemple ci-dessous crée un REPL Guile dans un conteneur dans lequel le répertoire personnel de l'utilisateur est accessible en lecture-seule via le répertoire @file{/exchange} :" #. type: example -#: doc/guix.texi:7616 +#: doc/guix.texi:8285 #, no-wrap msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n" msgstr "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n" #. type: item -#: doc/guix.texi:7618 +#: doc/guix.texi:8287 #, no-wrap msgid "--share=@var{source}[=@var{target}]" msgstr "--share=@var{source}[=@var{cible}]" #. type: table -#: doc/guix.texi:7623 +#: doc/guix.texi:8292 msgid "For containers, share the file system @var{source} from the host system as the writable file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container." msgstr "Pour les conteneurs, partage le système de fichiers @var{soruce} du système hôte comme un système de fichiers en lecture-écriture @var{cible} dans le conteneur. Si @var{cible} n'est pas spécifiée, @var{source} est utilisée comme point de montage dans le conteneur." #. type: table -#: doc/guix.texi:7627 +#: doc/guix.texi:8296 msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible for both reading and writing via the @file{/exchange} directory:" msgstr "L'exemple ci-dessous crée un REPL Guile dans un conteneur dans lequel le répertoire personnel de l'utilisateur est accessible en lecture-écriture via le répertoire @file{/exchange} :" #. type: example -#: doc/guix.texi:7630 +#: doc/guix.texi:8299 #, no-wrap msgid "guix environment --container --share=$HOME=/exchange --ad-hoc guile -- guile\n" msgstr "guix environment --container --share=$HOME=/exchange --ad-hoc guile -- guile\n" #. type: Plain text -#: doc/guix.texi:7636 +#: doc/guix.texi:8305 msgid "@command{guix environment} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options})." msgstr "@command{guix environment} supporte aussi toutes les options de construction que @command{guix build} supporte (@pxref{Common Build Options})." #. type: section -#: doc/guix.texi:7639 +#: doc/guix.texi:8308 #, no-wrap msgid "Invoking @command{guix publish}" msgstr "Invoquer @command{guix publish}" #. type: command{#1} -#: doc/guix.texi:7641 +#: doc/guix.texi:8310 #, no-wrap msgid "guix publish" msgstr "guix publish" #. type: Plain text -#: doc/guix.texi:7645 +#: doc/guix.texi:8314 msgid "The purpose of @command{guix publish} is to enable users to easily share their store with others, who can then use it as a substitute server (@pxref{Substitutes})." msgstr "Le but de @command{guix publish} est de vous permettre de partager facilement votre dépôt avec d'autres personnes qui peuvent ensuite l'utiliser comme serveur de substituts (@pxref{Substituts})." #. type: Plain text -#: doc/guix.texi:7651 +#: doc/guix.texi:8320 msgid "When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Hydra, the software behind the @code{hydra.gnu.org} build farm." msgstr "Lorsque @command{guix publish} est lancé, il crée un serveur HTTP qui permet à n'importe qui avec un accès réseau d'y récupérer des substituts. Cela signifie que toutes les machines qui font tourner Guix peuvent aussi agir comme une ferme de construction, puisque l'interface HTTP est compatible avec Hydra, le logiciel derrière la ferme de construction @code{hydra.gnu.org}." #. type: Plain text -#: doc/guix.texi:7657 +#: doc/guix.texi:8326 msgid "For security, each substitute is signed, allowing recipients to check their authenticity and integrity (@pxref{Substitutes}). Because @command{guix publish} uses the signing key of the system, which is only readable by the system administrator, it must be started as root; the @code{--user} option makes it drop root privileges early on." msgstr "Pour des raisons de sécurité, chaque substitut est signé, ce qui permet aux destinataires de vérifier leur authenticité et leur intégrité (@pxref{Substituts}). Comme @command{guix publish} utilise la clef de signature du système, qui n'est lisible que par l'administrateur système, il doit être lancé en root ; l'option @code{--user} lui fait baisser ses privilèges le plus tôt possible." #. type: Plain text -#: doc/guix.texi:7661 +#: doc/guix.texi:8330 msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})." msgstr "La pair de clefs pour les signatures doit être générée avant de lancer @command{guix publish}, avec @command{guix archive --generate-key} (@pxref{Invoking guix archive})." #. type: example -#: doc/guix.texi:7666 +#: doc/guix.texi:8335 #, no-wrap msgid "guix publish @var{options}@dots{}\n" msgstr "guix publish @var{options}@dots{}\n" #. type: Plain text -#: doc/guix.texi:7670 +#: doc/guix.texi:8339 msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:" msgstr "Lancer @command{guix publish} sans arguments supplémentaires lancera un serveur HTTP sur le port 8080 :" #. type: example -#: doc/guix.texi:7673 +#: doc/guix.texi:8342 #, no-wrap msgid "guix publish\n" msgstr "guix publish\n" #. type: Plain text -#: doc/guix.texi:7677 +#: doc/guix.texi:8346 msgid "Once a publishing server has been authorized (@pxref{Invoking guix archive}), the daemon may download substitutes from it:" msgstr "Une fois qu'un serveur de publication a été autorisé (@pxref{Invoking guix archive}), le démon peut télécharger des substituts à partir de lui :" #. type: example -#: doc/guix.texi:7680 +#: doc/guix.texi:8349 #, no-wrap msgid "guix-daemon --substitute-urls=http://example.org:8080\n" msgstr "guix-daemon --substitute-urls=http://example.org:8080\n" #. type: Plain text -#: doc/guix.texi:7689 +#: doc/guix.texi:8358 msgid "By default, @command{guix publish} compresses archives on the fly as it serves them. This ``on-the-fly'' mode is convenient in that it requires no setup and is immediately available. However, when serving lots of clients, we recommend using the @option{--cache} option, which enables caching of the archives before they are sent to clients---see below for details. The @command{guix weather} command provides a handy way to check what a server provides (@pxref{Invoking guix weather})." msgstr "Par défaut, @command{guix publish} compresse les archives à la volée quand il les sert. Ce mode « à la volée » est pratique puisqu'il ne demande aucune configuration et est disponible immédiatement. Cependant, lorsqu'il s'agit de servir beaucoup de clients, nous recommandons d'utiliser l'option @option{--cache}, qui active le cache des archives avant de les envoyer aux clients — voir les détails plus bas. La commande @command{guix weather} fournit un manière pratique de vérifier ce qu'un serveur fournit (@pxref{Invoking guix weather})." #. type: Plain text -#: doc/guix.texi:7696 +#: doc/guix.texi:8365 msgid "As a bonus, @command{guix publish} also serves as a content-addressed mirror for source files referenced in @code{origin} records (@pxref{origin Reference}). For instance, assuming @command{guix publish} is running on @code{example.org}, the following URL returns the raw @file{hello-2.10.tar.gz} file with the given SHA256 hash (represented in @code{nix-base32} format, @pxref{Invoking guix hash}):" msgstr "En bonus, @command{guix publish} sert aussi un miroir adressé par le contenu des fichiers source référencées dans les enregistrements @code{origin} (@pxref{origin Reference}). Par exemple, en supposant que @command{guix publish} tourne sur @code{example.org}, l'URL suivante renverra le fichie brut @file{hello-2.10.tar.gz} avec le hash SHA256 donné (représenté sous le format @code{nix-base32}, @pxref{Invoking guix hash}) :" #. type: example -#: doc/guix.texi:7699 +#: doc/guix.texi:8368 #, no-wrap msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n" msgstr "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n" #. type: Plain text -#: doc/guix.texi:7703 +#: doc/guix.texi:8372 msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')." msgstr "Évidemment, ces URL ne fonctionnent que pour des fichiers dans le dépôt ; dans les autres cas, elles renvoie une erreur 404 (« Introuvable »)." #. type: cindex -#: doc/guix.texi:7704 +#: doc/guix.texi:8373 #, no-wrap msgid "build logs, publication" msgstr "journaux de construction, publication" #. type: Plain text -#: doc/guix.texi:7706 +#: doc/guix.texi:8375 msgid "Build logs are available from @code{/log} URLs like:" msgstr "Les journaux de construction sont disponibles à partir des URL @code{/log} comme ceci :" #. type: example -#: doc/guix.texi:7709 +#: doc/guix.texi:8378 #, no-wrap msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n" msgstr "http://example.org/log/gwspk@dots{}-guile-2.2.3\n" #. type: Plain text -#: doc/guix.texi:7719 +#: doc/guix.texi:8388 msgid "When @command{guix-daemon} is configured to save compressed build logs, as is the case by default (@pxref{Invoking guix-daemon}), @code{/log} URLs return the compressed log as-is, with an appropriate @code{Content-Type} and/or @code{Content-Encoding} header. We recommend running @command{guix-daemon} with @code{--log-compression=gzip} since Web browsers can automatically decompress it, which is not the case with bzip2 compression." msgstr "Lorsque @command{guix-daemon} est configuré pour sauvegarder les journaux de construction compressés, comme c'est le cas par défaut (@pxref{Invoking guix-daemon}), les URL @code{/log} renvoient le journal compressé tel-quel, avec un en-tête @code{Content-Type} ou @code{Content-Encoding} approprié. Nous recommandons de lancer @command{guix-daemon} avec @code{--log-compression=gzip} pace que les navigateurs web les décompressent automatiquement, ce qui n'est pas le cas avec la compression bzip2." #. type: item -#: doc/guix.texi:7723 +#: doc/guix.texi:8392 #, no-wrap msgid "--port=@var{port}" msgstr "--port=@var{port}" #. type: itemx -#: doc/guix.texi:7724 +#: doc/guix.texi:8393 #, no-wrap msgid "-p @var{port}" msgstr "-p @var{port}" #. type: table -#: doc/guix.texi:7726 +#: doc/guix.texi:8395 msgid "Listen for HTTP requests on @var{port}." msgstr "Écoute les requêtes HTTP sur le @var{port}" #. type: item -#: doc/guix.texi:7727 doc/guix.texi:17516 +#: doc/guix.texi:8396 doc/guix.texi:18819 #, no-wrap msgid "--listen=@var{host}" msgstr "--listen=@var{hôte}" #. type: table -#: doc/guix.texi:7730 +#: doc/guix.texi:8399 msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface." msgstr "Écoute sur l'interface réseau de @var{hôte}. Par défaut, la commande accepte les connexions de n'importe quelle interface." #. type: table -#: doc/guix.texi:7735 +#: doc/guix.texi:8404 msgid "Change privileges to @var{user} as soon as possible---i.e., once the server socket is open and the signing key has been read." msgstr "Charge les privilèges de @var{utilisateur} le plus vite possible — c.-à-d. une fois que la socket du serveur est ouverte et que la clef de signature a été lue." #. type: item -#: doc/guix.texi:7736 +#: doc/guix.texi:8405 #, no-wrap msgid "--compression[=@var{level}]" msgstr "--compression[=@var{niveau}]" #. type: itemx -#: doc/guix.texi:7737 +#: doc/guix.texi:8406 #, no-wrap msgid "-C [@var{level}]" msgstr "-C [@var{niveau}]" #. type: table -#: doc/guix.texi:7742 +#: doc/guix.texi:8411 msgid "Compress data using the given @var{level}. When @var{level} is zero, disable compression. The range 1 to 9 corresponds to different gzip compression levels: 1 is the fastest, and 9 is the best (CPU-intensive). The default is 3." msgstr "Compresse les données au @var{niveau} donné. Lorsque le @var{niveau} est zéro, désactive la compression. L'intervalle 1 à 9 correspond aux différents niveaux de compression gzip : 1 est le plus rapide et 9 est la meilleure (mais gourmande en CPU). Le niveau par défaut est 3." #. type: table -#: doc/guix.texi:7751 +#: doc/guix.texi:8420 msgid "Unless @option{--cache} is used, compression occurs on the fly and the compressed streams are not cached. Thus, to reduce load on the machine that runs @command{guix publish}, it may be a good idea to choose a low compression level, to run @command{guix publish} behind a caching proxy, or to use @option{--cache}. Using @option{--cache} has the advantage that it allows @command{guix publish} to add @code{Content-Length} HTTP header to its responses." msgstr "À moins que @option{--cache} ne soit utilisé, la compression se fait à la volée et les flux compressés ne sont pas cachés. Ainsi, pour réduire la charge sur la machine qui fait tourner @command{guix publish}, c'est une bonne idée de choisir un niveau de compression faible, de lancer @command{guix publish} derrière un serveur de cache ou d'utiliser @option{--cache}. Utilise @option{--cache} a l'avantage qu'il permet à @command{guix publish} d'ajouter l'en-tête HTTP @code{Content-Length} à sa réponse." #. type: item -#: doc/guix.texi:7752 +#: doc/guix.texi:8421 #, no-wrap msgid "--cache=@var{directory}" msgstr "--cache=@var{répertoire}" #. type: itemx -#: doc/guix.texi:7753 +#: doc/guix.texi:8422 #, no-wrap msgid "-c @var{directory}" msgstr "-c @var{répertoire}" #. type: table -#: doc/guix.texi:7756 +#: doc/guix.texi:8425 msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache." msgstr "Cache les archives et les métadonnées (les URL @code{.narinfo}) dans @var{répertoire} et ne sert que les archives dans ce cache." #. type: table -#: doc/guix.texi:7764 +#: doc/guix.texi:8433 msgid "When this option is omitted, archives and meta-data are created on-the-fly. This can reduce the available bandwidth, especially when compression is enabled, since this may become CPU-bound. Another drawback of the default mode is that the length of archives is not known in advance, so @command{guix publish} does not add a @code{Content-Length} HTTP header to its responses, which in turn prevents clients from knowing the amount of data being downloaded." msgstr "Lorsque cette option est omise, les archives et les métadonnées sont crées à la volée. Cela réduit la bande passante disponible, surtout quand la compression est activée puisqu'elle pourrait être limitée par le CPU. Un autre inconvénient au mode par défaut est que la taille des archives n'est pas connue à l'avance, donc @command{guix publish} n'ajoute pas l'en-tête @code{Content-Length} à ses résponses, ce qui empêche les clients de savoir la quantité de données à télécharger." #. type: table -#: doc/guix.texi:7772 +#: doc/guix.texi:8441 msgid "Conversely, when @option{--cache} is used, the first request for a store item (@i{via} a @code{.narinfo} URL) returns 404 and triggers a background process to @dfn{bake} the archive---computing its @code{.narinfo} and compressing the archive, if needed. Once the archive is cached in @var{directory}, subsequent requests succeed and are served directly from the cache, which guarantees that clients get the best possible bandwidth." msgstr "À l'inverse, lorsque @option{--cache} est utilisée, la première requête pour un élément du dépôt (via une URL @code{.narinfo}) renvoie une erreur 404 et déclenche la création de l'archive — en calculant son @code{.narinfo} et en compressant l'archive au besoin. Une fois l'archive cachée dans @var{répertoire}, les requêtes suivantes réussissent et sont servies directement depuis le cache, ce qui garanti que les clients ont la meilleure bande passante possible." #. type: table -#: doc/guix.texi:7776 +#: doc/guix.texi:8445 msgid "The ``baking'' process is performed by worker threads. By default, one thread per CPU core is created, but this can be customized. See @option{--workers} below." msgstr "Le processus de création est effectué par des threads de travail. Par défaut, un thread par cœur du CPU est créé, mais cela peut être personnalisé. Voir @option{--workers} plus bas." #. type: table -#: doc/guix.texi:7779 +#: doc/guix.texi:8448 msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired." msgstr "Lorsque l'option @option{--ttl} est utilisée, les entrées cachées sont automatiquement supprimées lorsqu'elles expirent." #. type: item -#: doc/guix.texi:7780 +#: doc/guix.texi:8449 #, no-wrap msgid "--workers=@var{N}" msgstr "--workers=@var{N}" #. type: table -#: doc/guix.texi:7783 +#: doc/guix.texi:8452 msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives." msgstr "Lorsque @option{--cache} est utilisée, demande l'allocation de @var{N} thread de travail pour créer les archives." #. type: item -#: doc/guix.texi:7784 +#: doc/guix.texi:8453 #, no-wrap msgid "--ttl=@var{ttl}" msgstr "--ttl=@var{ttl}" #. type: table -#: doc/guix.texi:7788 +#: doc/guix.texi:8457 msgid "Produce @code{Cache-Control} HTTP headers that advertise a time-to-live (TTL) of @var{ttl}. @var{ttl} must denote a duration: @code{5d} means 5 days, @code{1m} means 1 month, and so on." msgstr "Produit des en-têtes HTTP @code{Cache-Control} qui expriment une durée de vie (TTL) de @var{ttl}. @var{ttl} peut dénoter une durée : @code{5d} signifie 5 jours, @code{1m} signifie un mois, etc." #. type: table -#: doc/guix.texi:7793 +#: doc/guix.texi:8462 msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}. However, note that @code{guix publish} does not itself guarantee that the store items it provides will indeed remain available for as long as @var{ttl}." msgstr "Cela permet au Guix de l'utilisateur de garder les informations en cache pendant @var{ttl}. Cependant, remarquez que @code{guix publish} ne garanti pas lui-même que les éléments du dépôt qu'il fournit seront toujours disponible pendant la durée @var{ttl}." #. type: table -#: doc/guix.texi:7797 +#: doc/guix.texi:8466 msgid "Additionally, when @option{--cache} is used, cached entries that have not been accessed for @var{ttl} and that no longer have a corresponding item in the store, may be deleted." msgstr "En plus, lorsque @option{--cache} est utilisée, les entrées cachées qui n'ont pas été demandé depuis @var{ttl} et n'ont pas d'élément correspondant dans le dépôt peuvent être supprimées." #. type: item -#: doc/guix.texi:7798 +#: doc/guix.texi:8467 #, no-wrap msgid "--nar-path=@var{path}" msgstr "--nar-path=@var{chemin}" #. type: table -#: doc/guix.texi:7801 +#: doc/guix.texi:8470 msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})." msgstr "Utilise @var{chemin} comme préfixe des URL de fichier « nar » (@pxref{Invoking guix archive, normalized archives})." #. type: table -#: doc/guix.texi:7805 +#: doc/guix.texi:8474 msgid "By default, nars are served at a URL such as @code{/nar/gzip/@dots{}-coreutils-8.25}. This option allows you to change the @code{/nar} part to @var{path}." msgstr "Par défaut, les nars sont présents à l'URL comme @code{/nar/gzip/@dots{}-coreutils-8.25}. Cette option vous permet de changer la partie @code{/nar} en @var{chemin}." #. type: item -#: doc/guix.texi:7806 +#: doc/guix.texi:8475 #, no-wrap msgid "--public-key=@var{file}" msgstr "--public-key=@var{fichier}" #. type: itemx -#: doc/guix.texi:7807 +#: doc/guix.texi:8476 #, no-wrap msgid "--private-key=@var{file}" msgstr "--private-key=@var{fichier}" #. type: table -#: doc/guix.texi:7810 +#: doc/guix.texi:8479 msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published." msgstr "Utilise les @var{fichier}s spécifiques comme pair de clefs utilisées pour signer les éléments avant de les publier." #. type: table -#: doc/guix.texi:7817 +#: doc/guix.texi:8486 msgid "The files must correspond to the same key pair (the private key is used for signing and the public key is merely advertised in the signature metadata). They must contain keys in the canonical s-expression format as produced by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). By default, @file{/etc/guix/signing-key.pub} and @file{/etc/guix/signing-key.sec} are used." msgstr "Les fichiers doivent correspondre à la même pair de clefs (la clef privée est utilisée pour signer et la clef publique est seulement ajouté aux métadonnées de la signature). Ils doivent contenir les clefs dans le format s-expression canonique produit par @command{guix archive --generate-key} (@pxref{Invoking guix archive}). Par défaut, @file{/etc/guix/signing-key.pub} et @file{/etc/guix/signing-key.sec} sont utilisés." #. type: item -#: doc/guix.texi:7818 +#: doc/guix.texi:8487 #, no-wrap msgid "--repl[=@var{port}]" msgstr "--repl[=@var{port}]" #. type: itemx -#: doc/guix.texi:7819 +#: doc/guix.texi:8488 #, no-wrap msgid "-r [@var{port}]" msgstr "-r [@var{port}]" #. type: table -#: doc/guix.texi:7823 +#: doc/guix.texi:8492 msgid "Spawn a Guile REPL server (@pxref{REPL Servers,,, guile, GNU Guile Reference Manual}) on @var{port} (37146 by default). This is used primarily for debugging a running @command{guix publish} server." msgstr "Crée un serveur REPL Guile (@pxref{REPL Servers,,, guile, GNU Guile Reference Manual}) sur @var{pport} (37146 par défaut). C'est surtout utile pour déboguer un serveur @command{guix publish} qui tourne." #. type: Plain text -#: doc/guix.texi:7829 +#: doc/guix.texi:8498 msgid "Enabling @command{guix publish} on a GuixSD system is a one-liner: just instantiate a @code{guix-publish-service-type} service in the @code{services} field of the @code{operating-system} declaration (@pxref{guix-publish-service-type, @code{guix-publish-service-type}})." msgstr "Activer @command{guix publish} sur un système GuixSD est vraiment une seule ligne : instantiez simplement un service @code{guix-publish-service-type} dans le champs @code{services} de votre déclaration @code{operating-system} (@pxref{guix-publish-service-type, @code{guix-publish-service-type}})." #. type: Plain text -#: doc/guix.texi:7832 +#: doc/guix.texi:8501 msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:”" msgstr "Si vous avez installé Guix sur une « distro extérieure », suivez ces instructions :" #. type: itemize -#: doc/guix.texi:7836 +#: doc/guix.texi:8505 msgid "If your host distro uses the systemd init system:" msgstr "Si votre distro hôte utilise le système d'init systemd :" #. type: example -#: doc/guix.texi:7841 +#: doc/guix.texi:8510 #, no-wrap msgid "" "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n" @@ -14274,7 +15414,7 @@ msgstr "" "# systemctl start guix-publish && systemctl enable guix-publish\n" #. type: example -#: doc/guix.texi:7849 +#: doc/guix.texi:8518 #, no-wrap msgid "" "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n" @@ -14284,56 +15424,56 @@ msgstr "" "# start guix-publish\n" #. type: itemize -#: doc/guix.texi:7853 +#: doc/guix.texi:8522 msgid "Otherwise, proceed similarly with your distro's init system." msgstr "Sinon, procédez de manière similaire avec votre système d'init de votre distro." #. type: section -#: doc/guix.texi:7856 +#: doc/guix.texi:8525 #, no-wrap msgid "Invoking @command{guix challenge}" msgstr "Invoquer @command{guix challenge}" #. type: cindex -#: doc/guix.texi:7859 +#: doc/guix.texi:8528 #, no-wrap msgid "verifiable builds" msgstr "constructions vérifiables" #. type: command{#1} -#: doc/guix.texi:7860 +#: doc/guix.texi:8529 #, no-wrap msgid "guix challenge" msgstr "guix challenge" #. type: cindex -#: doc/guix.texi:7861 +#: doc/guix.texi:8530 #, no-wrap msgid "challenge" msgstr "défi" #. type: Plain text -#: doc/guix.texi:7866 +#: doc/guix.texi:8535 msgid "Do the binaries provided by this server really correspond to the source code it claims to build? Is a package build process deterministic? These are the questions the @command{guix challenge} command attempts to answer." msgstr "Est-ce que les binaires fournis par ce serveur correspondent réellement au code source qu'il dit avoir construit ? Est-ce que le processus de construction d'un paquet est déterministe ? Ce sont les question auxquelles la commande @command{guix challenge} essaye de répondre." #. type: Plain text -#: doc/guix.texi:7874 +#: doc/guix.texi:8543 msgid "The former is obviously an important question: Before using a substitute server (@pxref{Substitutes}), one had better @emph{verify} that it provides the right binaries, and thus @emph{challenge} it. The latter is what enables the former: If package builds are deterministic, then independent builds of the package should yield the exact same result, bit for bit; if a server provides a binary different from the one obtained locally, it may be either corrupt or malicious." msgstr "La première question est évidemment importante : avant d'utiliser un serveur de substituts (@pxref{Substituts}), il vaut mieux @emph{vérifier} qu'il fournit les bons binaires et donc le @emph{défier}. La deuxième est ce qui permet la première : si les constructions des paquets sont déterministes alors des constructions indépendantes du paquet devraient donner le même résultat, bit à bit ; si un serveur fournit un binaire différent de celui obtenu localement, il peut être soit corrompu, soit malveillant." #. type: Plain text -#: doc/guix.texi:7883 +#: doc/guix.texi:8552 msgid "We know that the hash that shows up in @file{/gnu/store} file names is the hash of all the inputs of the process that built the file or directory---compilers, libraries, build scripts, etc. (@pxref{Introduction}). Assuming deterministic build processes, one store file name should map to exactly one build output. @command{guix challenge} checks whether there is, indeed, a single mapping by comparing the build outputs of several independent builds of any given store item." msgstr "On sait que le hash qui apparaît dans @file{/gnu/store} est le hash de toutes les entrées du processus qui construit le fichier ou le répertoire — les compilateurs, les bibliothèques, les scripts de construction, etc. (@pxref{Introduction}). En supposant que les processus de construction sont déterministes, un nom de fichier dans le dépôt devrait correspondre exactement à une sortie de construction. @command{guix challenge} vérifie si il y a bien effectivement une seule correspondance en comparant les sorties de plusieurs constructions indépendantes d'un élément du dépôt donné." #. type: Plain text -#: doc/guix.texi:7885 +#: doc/guix.texi:8554 msgid "The command output looks like this:" msgstr "La sortie de la commande ressemble à :" #. type: smallexample -#: doc/guix.texi:7902 +#: doc/guix.texi:8571 #, no-wrap msgid "" "$ guix challenge --substitute-urls=\"https://hydra.gnu.org https://guix.example.org\"\n" @@ -14371,7 +15511,7 @@ msgstr "" "\n" #. type: smallexample -#: doc/guix.texi:7904 +#: doc/guix.texi:8573 #, no-wrap msgid "" "@dots{}\n" @@ -14381,7 +15521,7 @@ msgstr "" "\n" #. type: smallexample -#: doc/guix.texi:7909 +#: doc/guix.texi:8578 #, no-wrap msgid "" "6,406 store items were analyzed:\n" @@ -14395,28 +15535,28 @@ msgstr "" " - 1,132 (17.7%) étaient impossibles à évaluer\n" #. type: Plain text -#: doc/guix.texi:7917 +#: doc/guix.texi:8586 msgid "In this example, @command{guix challenge} first scans the store to determine the set of locally-built derivations---as opposed to store items that were downloaded from a substitute server---and then queries all the substitute servers. It then reports those store items for which the servers obtained a result different from the local build." msgstr "Dans cet exemple, @command{guix challenge} scanne d'abord le dépôt pour déterminer l'ensemble des dérivations construites localement — en opposition aux éléments qui ont été téléchargées depuis un serveur de substituts — puis demande leur avis à tous les serveurs de substituts. Il rapporte ensuite les éléments du dépôt pour lesquels les serveurs ont obtenu un résultat différent de la construction locale." #. type: cindex -#: doc/guix.texi:7918 +#: doc/guix.texi:8587 #, no-wrap msgid "non-determinism, in package builds" msgstr "non-déterminisme, dans les constructions des paquets" #. type: Plain text -#: doc/guix.texi:7929 +#: doc/guix.texi:8598 msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{hydra.gnu.org} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building packages in isolated environments (@pxref{Features}). Most common sources of non-determinism include the addition of timestamps in build results, the inclusion of random numbers, and directory listings sorted by inode number. See @uref{https://reproducible-builds.org/docs/}, for more information." msgstr "Dans l'exemple, @code{guix.example.org} obtient toujours une réponse différente. Inversement, @code{hydra.gnu.org} est d'accord avec les constructions locale, sauf dans le cas de Git. Cela peut indiquer que le processus de construction de Git est non-déterministe, ce qui signifie que sa sortie diffère en fonction de divers choses que Guix ne contrôle pas parfaitement, malgré l'isolation des constructions (@pxref{Features}). Les sources les plus communes de non-déterminisme comprennent l'ajout d'horodatage dans les résultats des constructions, l'inclusion de nombres aléatoires et des listes de fichiers ordonnés par numéro d'inœud. Voir @uref{https://reproducible-builds.org/docs/}, pour plus d'informations." #. type: Plain text -#: doc/guix.texi:7932 +#: doc/guix.texi:8601 msgid "To find out what is wrong with this Git binary, we can do something along these lines (@pxref{Invoking guix archive}):" msgstr "Pour trouver ce qui ne va pas avec le binaire de Git, on peut faire quelque chose comme cela (@pxref{Invoking guix archive}) :" #. type: example -#: doc/guix.texi:7937 +#: doc/guix.texi:8606 #, no-wrap msgid "" "$ wget -q -O - https://hydra.gnu.org/nar/@dots{}-git-2.5.0 \\\n" @@ -14428,100 +15568,100 @@ msgstr "" "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n" #. type: Plain text -#: doc/guix.texi:7946 +#: doc/guix.texi:8615 msgid "This command shows the difference between the files resulting from the local build, and the files resulting from the build on @code{hydra.gnu.org} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps visualize differences for all kinds of files." msgstr "Cette commande montre les différences entre les fichiers qui résultent de la construction locale et des fichiers qui résultent de la construction sur @code{hydra.gnu.org} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). La commande @command{diff} fonctionne bien avec des fichiers texte. Lorsque des fichiers binaires diffèrent cependant, @uref{https://diffoscope.org/, Diffoscope} est une meilleure option. C'est un outil qui aide à visualiser les différences entre toute sorte de fichiers." #. type: Plain text -#: doc/guix.texi:7954 +#: doc/guix.texi:8623 msgid "Once you have done that work, you can tell whether the differences are due to a non-deterministic build process or to a malicious server. We try hard to remove sources of non-determinism in packages to make it easier to verify substitutes, but of course, this is a process that involves not just Guix, but a large part of the free software community. In the meantime, @command{guix challenge} is one tool to help address the problem." msgstr "Une fois que vous avez fait ce travail, vous pourrez dire si les différences sont dues au non-déterminisme du processus de construction ou à la malhonnêteté du serveur. Nous avons fait beaucoup d'effort pour éliminer les sources de non-déterminisme dans les paquets pour rendre plus facile la vérification des substituts, mais bien sûr, c'est un processus qui n'implique pas que Guix, mais une grande partie de la communauté des logiciels libres. Pendant ce temps, @command{guix challenge} est un outil pour aider à corriger le problème." #. type: Plain text -#: doc/guix.texi:7958 +#: doc/guix.texi:8627 msgid "If you are writing packages for Guix, you are encouraged to check whether @code{hydra.gnu.org} and other substitute servers obtain the same build result as you did with:" msgstr "Si vous écrivez un paquet pour Guix, nous vous encourageons à vérifier si @code{hydra.gnu.org} et d'autres serveurs de substituts obtiennent le même résultat que vous avec :" #. type: example -#: doc/guix.texi:7961 +#: doc/guix.texi:8630 #, no-wrap msgid "$ guix challenge @var{package}\n" msgstr "$ guix challenge @var{paquet}\n" #. type: Plain text -#: doc/guix.texi:7966 +#: doc/guix.texi:8635 msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}." msgstr "où @var{paquet} est une spécification de paquet comme @code{guile@@2.0} ou @code{glibc:debug}." #. type: example -#: doc/guix.texi:7971 +#: doc/guix.texi:8640 #, no-wrap msgid "guix challenge @var{options} [@var{packages}@dots{}]\n" msgstr "guix challenge @var{options} [@var{paquets}@dots{}]\n" #. type: Plain text -#: doc/guix.texi:7978 +#: doc/guix.texi:8647 msgid "When a difference is found between the hash of a locally-built item and that of a server-provided substitute, or among substitutes provided by different servers, the command displays it as in the example above and its exit code is 2 (other non-zero exit codes denote other kinds of errors.)" msgstr "Lorsqu'une différence est trouvée entre l'empreinte d'un élément construit localement et celle d'un substitut fournit par un serveur, ou parmi les substituts fournis par différents serveurs, la commande l'affiche comme dans l'exemple ci-dessus et sa valeur de sortie est 2 (les autres valeurs différentes de 0 indiquent d'autres sortes d'erreurs)." #. type: Plain text -#: doc/guix.texi:7980 +#: doc/guix.texi:8649 msgid "The one option that matters is:" msgstr "L'option qui compte est :" #. type: table -#: doc/guix.texi:7986 +#: doc/guix.texi:8655 msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to." msgstr "Considère @var{urls} comme la liste des URL des sources de substituts séparés par des espaces avec lesquels comparer les paquets locaux." #. type: itemx -#: doc/guix.texi:7988 +#: doc/guix.texi:8657 #, no-wrap msgid "-v" msgstr "-v" #. type: table -#: doc/guix.texi:7991 +#: doc/guix.texi:8660 msgid "Show details about matches (identical contents) in addition to information about mismatches." msgstr "Montre des détails sur les correspondances (contenu identique) en plus des informations sur différences." #. type: section -#: doc/guix.texi:7995 +#: doc/guix.texi:8664 #, no-wrap msgid "Invoking @command{guix copy}" msgstr "Invoquer @command{guix copy}" #. type: cindex -#: doc/guix.texi:7997 +#: doc/guix.texi:8666 #, no-wrap msgid "copy, of store items, over SSH" msgstr "copier des éléments du dépôt par SSH" #. type: cindex -#: doc/guix.texi:7998 +#: doc/guix.texi:8667 #, no-wrap msgid "SSH, copy of store items" msgstr "SSH, copie d'éléments du dépôt" #. type: cindex -#: doc/guix.texi:7999 +#: doc/guix.texi:8668 #, no-wrap msgid "sharing store items across machines" msgstr "partager des éléments du dépôt entre plusieurs machines" #. type: cindex -#: doc/guix.texi:8000 +#: doc/guix.texi:8669 #, no-wrap msgid "transferring store items across machines" msgstr "transférer des éléments du dépôt entre plusieurs machines" #. type: Plain text -#: doc/guix.texi:8007 +#: doc/guix.texi:8676 msgid "The @command{guix copy} command copies items from the store of one machine to that of another machine over a secure shell (SSH) connection@footnote{This command is available only when Guile-SSH was found. @xref{Requirements}, for details.}. For example, the following command copies the @code{coreutils} package, the user's profile, and all their dependencies over to @var{host}, logged in as @var{user}:" msgstr "La commande @command{guix copy} copie des éléments du dépôt d'une machine vers le dépôt d'une autre machine à travers une connexion SSH@footnote{Cette commande n'est disponible que si Guile-SSH est trouvé. @xref{Requirements}, pour des détails}. Par exemple, la commande suivante copie le paquet @code{coreutils}, le profil utilisateur et toutes leurs dépendances sur @var{hôte}, en tant qu'utilisateur @var{utilisateur} :" #. type: example -#: doc/guix.texi:8011 +#: doc/guix.texi:8680 #, no-wrap msgid "" "guix copy --to=@var{user}@@@var{host} \\\n" @@ -14531,192 +15671,192 @@ msgstr "" " coreutils `readlink -f ~/.guix-profile`\n" #. type: Plain text -#: doc/guix.texi:8015 +#: doc/guix.texi:8684 msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent." msgstr "Si certains éléments à copier sont déjà présents sur @var{hôte}, ils ne sont pas envoyés." #. type: Plain text -#: doc/guix.texi:8018 +#: doc/guix.texi:8687 msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:" msgstr "La commande ci-dessous récupère @code{libreoffice} et @code{gimp} depuis @var{hôte}, en supposant qu'ils y sont présents :" #. type: example -#: doc/guix.texi:8021 +#: doc/guix.texi:8690 #, no-wrap msgid "guix copy --from=@var{host} libreoffice gimp\n" msgstr "guix copy --from=@var{hôte} libreoffice gimp\n" #. type: Plain text -#: doc/guix.texi:8026 +#: doc/guix.texi:8695 msgid "The SSH connection is established using the Guile-SSH client, which is compatible with OpenSSH: it honors @file{~/.ssh/known_hosts} and @file{~/.ssh/config}, and uses the SSH agent for authentication." msgstr "La connexion SSH est établie avec le client Guile-SSH, qui set compatible avec OpenSSH : il honore @file{~/.ssh/known_hosts} et @file{~/.ssh/config} et utilise l'agent SSH pour l'authentification." #. type: Plain text -#: doc/guix.texi:8032 +#: doc/guix.texi:8701 msgid "The key used to sign items that are sent must be accepted by the remote machine. Likewise, the key used by the remote machine to sign items you are retrieving must be in @file{/etc/guix/acl} so it is accepted by your own daemon. @xref{Invoking guix archive}, for more information about store item authentication." msgstr "La clef utilisée pour signer les éléments qui sont envoyés doit être acceptée par la machine distante. De même, la clef utilisée pour la machine distante depuis laquelle vous récupérez des éléments doit être dans @file{/etc/guix/acl} pour qu'ils soient acceptés par votre propre démon. @xref{Invoking guix archive}, pour plus d'informations sur l'authentification des éléments du dépôt." #. type: example -#: doc/guix.texi:8037 +#: doc/guix.texi:8706 #, no-wrap msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n" msgstr "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n" #. type: Plain text -#: doc/guix.texi:8040 +#: doc/guix.texi:8709 msgid "You must always specify one of the following options:" msgstr "Vous devez toujours spécifier l'une des options suivantes :" #. type: item -#: doc/guix.texi:8042 +#: doc/guix.texi:8711 #, no-wrap msgid "--to=@var{spec}" msgstr "--to=@var{spec}" #. type: itemx -#: doc/guix.texi:8043 +#: doc/guix.texi:8712 #, no-wrap msgid "--from=@var{spec}" msgstr "--from=@var{spec}" #. type: table -#: doc/guix.texi:8047 +#: doc/guix.texi:8716 msgid "Specify the host to send to or receive from. @var{spec} must be an SSH spec such as @code{example.org}, @code{charlie@@example.org}, or @code{charlie@@example.org:2222}." msgstr "Spécifie l'hôte où envoyer ou d'où recevoir les éléments. @var{spec} doit être une spécification SSH comme @code{example.org}, @code{charlie@@example.org} ou @code{charlie@@example.org:2222}." #. type: Plain text -#: doc/guix.texi:8051 +#: doc/guix.texi:8720 msgid "The @var{items} can be either package names, such as @code{gimp}, or store items, such as @file{/gnu/store/@dots{}-idutils-4.6}." msgstr "L'option @var{items} peut être des noms de paquets, comme @code{gimp} ou des éléments du dépôt comme @file{/gnu/store/@dots{}-idutils-4.6}." #. type: Plain text -#: doc/guix.texi:8055 +#: doc/guix.texi:8724 msgid "When specifying the name of a package to send, it is first built if needed, unless @option{--dry-run} was specified. Common build options are supported (@pxref{Common Build Options})." msgstr "Lorsque vous spécifiez le nom d'un paquet à envoyer, il est d'abord construit au besoin, sauf si l'option @option{--dry-run} est spécifiée. Les options de construction communes sont supportées (@pxref{Common Build Options})." #. type: section -#: doc/guix.texi:8058 +#: doc/guix.texi:8727 #, no-wrap msgid "Invoking @command{guix container}" msgstr "Invoquer @command{guix container}" #. type: command{#1} -#: doc/guix.texi:8060 +#: doc/guix.texi:8729 #, no-wrap msgid "guix container" msgstr "guix container" #. type: quotation -#: doc/guix.texi:8064 +#: doc/guix.texi:8733 msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future." msgstr "À la version @value{VERSION}, cet outil est toujours expérimental. L'interface est sujette à changement radicaux dans le futur." #. type: Plain text -#: doc/guix.texi:8071 +#: doc/guix.texi:8740 msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands." msgstr "Le but de @command{guix container} est de manipuler des processus qui tournent dans un environnement séparé, connus sous le nom de « conteneur », typiquement créés par les commandes @command{guix environment} (@pxref{Invoking guix environment}) et @command{guix system container} (@pxref{Invoking guix system})." #. type: example -#: doc/guix.texi:8076 +#: doc/guix.texi:8745 #, no-wrap msgid "guix container @var{action} @var{options}@dots{}\n" msgstr "guix container @var{action} @var{options}@dots{}\n" #. type: Plain text -#: doc/guix.texi:8080 +#: doc/guix.texi:8749 msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action." msgstr "@var{action} spécifie les opérations à effectuer avec un conteneur, et @var{options} spécifie les arguments spécifiques au contexte pour l'action." #. type: Plain text -#: doc/guix.texi:8082 +#: doc/guix.texi:8751 msgid "The following actions are available:" msgstr "Les actions suivantes sont disponibles :" #. type: item -#: doc/guix.texi:8084 +#: doc/guix.texi:8753 #, no-wrap msgid "exec" msgstr "exec" #. type: table -#: doc/guix.texi:8086 +#: doc/guix.texi:8755 msgid "Execute a command within the context of a running container." msgstr "Exécute une commande dans le contexte d'un conteneur lancé." #. type: table -#: doc/guix.texi:8088 +#: doc/guix.texi:8757 msgid "The syntax is:" msgstr "La syntaxe est :" #. type: example -#: doc/guix.texi:8091 +#: doc/guix.texi:8760 #, no-wrap msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n" msgstr "guix container exec @var{pid} @var{programme} @var{arguments}@dots{}\n" #. type: table -#: doc/guix.texi:8097 +#: doc/guix.texi:8766 msgid "@var{pid} specifies the process ID of the running container. @var{program} specifies an executable file name within the root file system of the container. @var{arguments} are the additional options that will be passed to @var{program}." msgstr "@var{pid} spécifie le PID du conteneur lancé. @var{programme} spécifie le nom du fichier exécutable dans le système de fichiers racine du conteneur. @var{arguments} sont les options supplémentairesà passer à @var{programme}." #. type: table -#: doc/guix.texi:8101 +#: doc/guix.texi:8770 msgid "The following command launches an interactive login shell inside a GuixSD container, started by @command{guix system container}, and whose process ID is 9001:" msgstr "La commande suivante lance un shell de connexion interactif dans un conteneur GuixSD, démarré par @command{guix system container} et dont le PID est 9001 :" #. type: example -#: doc/guix.texi:8104 +#: doc/guix.texi:8773 #, no-wrap msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n" msgstr "guix container exec 9001 /run/current-system/profile/bin/bash --login\n" #. type: table -#: doc/guix.texi:8108 +#: doc/guix.texi:8777 msgid "Note that the @var{pid} cannot be the parent process of a container. It must be PID 1 of the container or one of its child processes." msgstr "Remarquez que @var{pid} ne peut pas être le processus parent d'un conteneur. Ce doit être le PID 1 du conteneur ou l'un de ses processus fils." #. type: section -#: doc/guix.texi:8112 +#: doc/guix.texi:8781 #, no-wrap msgid "Invoking @command{guix weather}" msgstr "Invoquer @command{guix weather}" #. type: Plain text -#: doc/guix.texi:8121 +#: doc/guix.texi:8790 msgid "Occasionally you're grumpy because substitutes are lacking and you end up building packages by yourself (@pxref{Substitutes}). The @command{guix weather} command reports on substitute availability on the specified servers so you can have an idea of whether you'll be grumpy today. It can sometimes be useful info as a user, but it is primarily useful to people running @command{guix publish} (@pxref{Invoking guix publish})." msgstr "Vous pouvez parfois grogner lorsque les substituts ne sont pas disponibles et que vous devez construire les paquets vous-même (@pxref{Substituts}). La commande @command{guix weather} rapporte la disponibilité des substituts sur les serveurs spécifiés pour que vous sachiez si vous allez raller aujourd'hui. Cela peut parfois être une information utile pour les utilisateurs, mais elle est surtout utile pour les personnes qui font tourner @command{guix publish} (@pxref{Invoking guix publish})." #. type: cindex -#: doc/guix.texi:8122 +#: doc/guix.texi:8791 #, no-wrap msgid "statistics, for substitutes" msgstr "statistiques sur les substituts" #. type: cindex -#: doc/guix.texi:8123 +#: doc/guix.texi:8792 #, no-wrap msgid "availability of substitutes" msgstr "disponibilité des substituts" #. type: cindex -#: doc/guix.texi:8124 +#: doc/guix.texi:8793 #, no-wrap msgid "substitute availability" msgstr "substuts, disponibilité" #. type: cindex -#: doc/guix.texi:8125 +#: doc/guix.texi:8794 #, no-wrap msgid "weather, substitute availability" msgstr "weather, disponibilité des substituts" #. type: Plain text -#: doc/guix.texi:8127 +#: doc/guix.texi:8796 msgid "Here's a sample run:" msgstr "Voici un exemple :" #. type: example -#: doc/guix.texi:8139 +#: doc/guix.texi:8808 #, no-wrap msgid "" "$ guix weather --substitute-urls=https://guix.example.org\n" @@ -14744,7 +15884,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:8149 +#: doc/guix.texi:8818 #, no-wrap msgid "" " 9.8% (342 out of 3,470) of the missing items are queued\n" @@ -14768,300 +15908,394 @@ msgstr "" " aarch64-linux : 6.41 constructions par heure\n" #. type: cindex -#: doc/guix.texi:8151 +#: doc/guix.texi:8820 #, no-wrap msgid "continuous integration, statistics" msgstr "intégration continue, statistiques" #. type: Plain text -#: doc/guix.texi:8160 +#: doc/guix.texi:8829 msgid "As you can see, it reports the fraction of all the packages for which substitutes are available on the server---regardless of whether substitutes are enabled, and regardless of whether this server's signing key is authorized. It also reports the size of the compressed archives (``nars'') provided by the server, the size the corresponding store items occupy in the store (assuming deduplication is turned off), and the server's throughput. The second part gives continuous integration (CI) statistics, if the server supports it." msgstr "Comme vous pouvez le voir, elle rapporte le pourcentage des paquets pour lesquels des substituts sont disponibles sur le serveur — indépendamment du fait que les substituts soient activés, et indépendamment du fait que la clef de signature du serveur soit autorisée. Elle rapporte aussi la taille des archives compressées fournies par le serveur, la taille des éléments du dépôt correspondant dans le dépôt (en supposant que la déduplication soit désactivée) et la vitesse du serveur. La deuxième partie donne des statistiques sur l'intégration continue (CI), si le serveur le supporte." #. type: Plain text -#: doc/guix.texi:8166 +#: doc/guix.texi:8835 msgid "To achieve that, @command{guix weather} queries over HTTP(S) meta-data (@dfn{narinfos}) for all the relevant store items. Like @command{guix challenge}, it ignores signatures on those substitutes, which is innocuous since the command only gathers statistics and cannot install those substitutes." msgstr "Pour cela, @command{guix weather} récupère par HTTP(S) les métadonnées (@dfn{narinfos}@ de tous les éléments du dépôts pertinents. Comme @command{guix challenge}, il ignore les signatures de ces substituts, ce qui n'est pas dangereux puisque la commande ne fait que récupérer des statistiques et n'installe pas ces substituts." #. type: Plain text -#: doc/guix.texi:8169 +#: doc/guix.texi:8838 msgid "Among other things, it is possible to query specific system types and specific package sets. The available options are listed below." msgstr "Entre autres choses, il est possible de demander des types de système particuliers et des ensembles de paquets particuliers. Les options disponibles sont listées plus bas." #. type: table -#: doc/guix.texi:8175 +#: doc/guix.texi:8844 msgid "@var{urls} is the space-separated list of substitute server URLs to query. When this option is omitted, the default set of substitute servers is queried." msgstr "@var{urls} est la liste des URL des serveurs de substituts séparés par des espaces. Lorsque cette option n'est pas renseignée, l'ensemble des serveurs de substituts par défaut est utilisé." #. type: table -#: doc/guix.texi:8181 +#: doc/guix.texi:8850 msgid "Query substitutes for @var{system}---e.g., @code{aarch64-linux}. This option can be repeated, in which case @command{guix weather} will query substitutes for several system types." msgstr "Effectue des requêtes pour les substituts @var{système} — p.@: ex.@: @code{aarch64-linux}. Cette option peut être répétée, auquel cas @command{guix weather} demandera les substituts de plusieurs types de systèmes." #. type: table -#: doc/guix.texi:8187 +#: doc/guix.texi:8856 msgid "Instead of querying substitutes for all the packages, only ask for those specified in @var{file}. @var{file} must contain a @dfn{manifest}, as with the @code{-m} option of @command{guix package} (@pxref{Invoking guix package})." msgstr "Plutôt que de demander des substituts pour tous les paquets, demande uniquement les paquets spécifiés dans @var{fichier}. @var{fichier} doit contenir un @dfn{manifeste} comme avec l'option @code{-m} de @command{guix package} (@pxref{Invoking guix package})." +#. type: section +#: doc/guix.texi:8859 +#, no-wrap +msgid "Invoking @command{guix processes}" +msgstr "Invoquer @command{guix processes}" + #. type: Plain text -#: doc/guix.texi:8205 +#: doc/guix.texi:8867 +msgid "The @command{guix processes} command can be useful to developers and system administrators, especially on multi-user machines and on build farms: it lists the current sessions (connections to the daemon), as well as information about the processes involved@footnote{Remote sessions, when @command{guix-daemon} is started with @option{--listen} specifying a TCP endpoint, are @emph{not} listed.}. Here's an example of the information it returns:" +msgstr "La commande @command{guix processes} peut être utile pour les développeurs et les administrateurs systèmes, surtout sur des machines multi-utilisateurs et sur les fermes de construction : elle liste les sessions actuelles (les connexions au démon), ainsi que des informations sur les processus en question@footnote{Les sessions distantes, lorsque @command{guix-daemon} est démarré avec @option{--listen} en spécifiant un point d'entrée TCP, ne sont @emph{pas} listées.}. Voici un exemple des informations qu'elle renvoie :" + +#. type: example +#: doc/guix.texi:8873 +#, no-wrap +msgid "" +"$ sudo guix processes\n" +"SessionPID: 19002\n" +"ClientPID: 19090\n" +"ClientCommand: guix environment --ad-hoc python\n" +"\n" +msgstr "" +"$ sudo guix processes\n" +"SessionPID: 19002\n" +"ClientPID: 19090\n" +"ClientCommand: guix environment --ad-hoc python\n" +"\n" + +#. type: example +#: doc/guix.texi:8877 +#, no-wrap +msgid "" +"SessionPID: 19402\n" +"ClientPID: 19367\n" +"ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n" +"\n" +msgstr "" +"SessionPID: 19402\n" +"ClientPID: 19367\n" +"ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n" +"\n" + +#. type: example +#: doc/guix.texi:8887 +#, no-wrap +msgid "" +"SessionPID: 19444\n" +"ClientPID: 19419\n" +"ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n" +"LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n" +"LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n" +"LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n" +"ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800\n" +"ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800\n" +"ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800\n" +msgstr "" +"SessionPID: 19444\n" +"ClientPID: 19419\n" +"ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n" +"LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n" +"LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n" +"LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n" +"ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800\n" +"ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800\n" +"ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800\n" + +#. type: Plain text +#: doc/guix.texi:8894 +msgid "In this example we see that @command{guix-daemon} has three clients: @command{guix environment}, @command{guix publish}, and the Cuirass continuous integration tool; their process identifier (PID) is given by the @code{ClientPID} field. The @code{SessionPID} field gives the PID of the @command{guix-daemon} sub-process of this particular session." +msgstr "Dans cet exemple, on voit que @command{guix-daemon} a trois clients directs : @command{guix environment}, @command{guix publish} et l'outil d'intégration continue Cuirass ; leur identifiant de processus (PID) est donné par le champ @code{ClientPID}. Le champ @code{SessionPID} fournit le PID du sous-processus @command{guix-daemon} de cette session particulière." + +#. type: Plain text +#: doc/guix.texi:8901 +msgid "The @code{LockHeld} fields show which store items are currently locked by this session, which corresponds to store items being built or substituted (the @code{LockHeld} field is not displayed when @command{guix processes} is not running as root.) Last, by looking at the @code{ChildProcess} field, we understand that these three builds are being offloaded (@pxref{Daemon Offload Setup})." +msgstr "Les champs @code{LockHeld} montrent quels éléments du dépôt sont actuellement verrouillés par cette session, ce qui correspond aux éléments du dépôt qui sont en train d'être construits ou d'être substitués (le champ @code{LockHeld} n'est pas montré si @command{guix processes} n'est pas lancé en root). Enfin, en regardant le champ @code{ChildProcess}, on comprend que ces trois constructions sont déchargées (@pxref{Daemon Offload Setup})." + +#. type: Plain text +#: doc/guix.texi:8906 +msgid "The output is in Recutils format so we can use the handy @command{recsel} command to select sessions of interest (@pxref{Selection Expressions,,, recutils, GNU recutils manual}). As an example, the command shows the command line and PID of the client that triggered the build of a Perl package:" +msgstr "La sortie est dans le format Recutils pour qu'on puisse utiliser la commande @command{recsel} pour sélectionner les sessions qui nous intéressent (@pxref{Selection Expressions,,, recutils, GNU recutils manual}). Par exemple, la commande montre la ligne de commande et le PID du client qui effectue la construction d'un paquet Perl :" + +#. type: example +#: doc/guix.texi:8912 +#, no-wrap +msgid "" +"$ sudo guix processes | \\\n" +" recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n" +"ClientPID: 19419\n" +"ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n" +msgstr "" +"$ sudo guix processes | \\\n" +" recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n" +"ClientPID: 19419\n" +"ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n" + +#. type: Plain text +#: doc/guix.texi:8929 msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{http://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). To distinguish between the two, we refer to the standalone distribution as the Guix System Distribution, or GuixSD." msgstr "Guix fournit aussi une distribution du système GNU contenant uniquement des logiciels libres@footnote{Le terme « libre » se réfère ici bien sûr à @url{http://www.gnu.org/philosophy/free-sw.fr.html,la liberté offerte à l'utilisateur de ces logiciels}.}. On peut installer la distribution elle-même (@pxref{System Installation}), mais on peut aussi installer Guix comme gestionnaire de paquets par dessus un système GNU/Linux déjà installé (@pxref{Installation}). Pour distinguer ces deux cas, on appelle la distribution autonome « Distribution Système Guix » ou GuixSD." #. type: Plain text -#: doc/guix.texi:8211 +#: doc/guix.texi:8935 msgid "The distribution provides core GNU packages such as GNU libc, GCC, and Binutils, as well as many GNU and non-GNU applications. The complete list of available packages can be browsed @url{http://www.gnu.org/software/guix/packages,on-line} or by running @command{guix package} (@pxref{Invoking guix package}):" msgstr "la distribution fournit les paquets cœur de GNU comme la GNU libc, GCC et Binutils, ainsi que de nombreuses applications GNU et non-GNU. La liste complète des paquets disponibles se trouve @url{http://www.gnu.org/software/guix/packages,en ligne} ou en lançant @command{guix package} (@pxref{Invoking guix package}) :" #. type: example -#: doc/guix.texi:8214 +#: doc/guix.texi:8938 #, no-wrap msgid "guix package --list-available\n" msgstr "guix package --list-available\n" #. type: Plain text -#: doc/guix.texi:8220 +#: doc/guix.texi:8944 msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom." msgstr "Notre but est de fournir une distribution logicielle entièrement libre de GNU/Linux et d'autres variantes de GNU, en se concentrant sur la promotion et l'intégration étroite des composants GNU en insistant sur les programmes et les outils qui aident l'utilisateur à exercer ses libertés." #. type: Plain text -#: doc/guix.texi:8222 +#: doc/guix.texi:8946 msgid "Packages are currently available on the following platforms:" msgstr "Les paquets sont actuellement disponibles pour les plateformes suivantes :" #. type: item -#: doc/guix.texi:8225 doc/guix.texi:8390 +#: doc/guix.texi:8949 doc/guix.texi:9114 #, no-wrap msgid "x86_64-linux" msgstr "x86_64-linux" #. type: table -#: doc/guix.texi:8227 +#: doc/guix.texi:8951 msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel;" msgstr "l'architecture Intel et AMD @code{x86_64} avec le noyau Linux-libre ;" #. type: item -#: doc/guix.texi:8228 doc/guix.texi:8393 +#: doc/guix.texi:8952 doc/guix.texi:9117 #, no-wrap msgid "i686-linux" msgstr "i686-linux" #. type: table -#: doc/guix.texi:8230 +#: doc/guix.texi:8954 msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel;" msgstr "l'architecture Intel 32-bits (IA32) avec le noyau Linux-libre ;" #. type: item -#: doc/guix.texi:8231 +#: doc/guix.texi:8955 #, no-wrap msgid "armhf-linux" msgstr "armhf-linux" #. type: table -#: doc/guix.texi:8235 +#: doc/guix.texi:8959 msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel." msgstr "l'architecture ARMv7-A avec gestion des flottants matérielle, Thumb-2 et NEON, avec l'interface binaire applicative (ABI) EABI hard-float et le noyau Linux-libre ;" #. type: item -#: doc/guix.texi:8236 +#: doc/guix.texi:8960 #, no-wrap msgid "aarch64-linux" msgstr "aarch64-linux" #. type: table -#: doc/guix.texi:8240 +#: doc/guix.texi:8964 msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel. This is currently in an experimental stage, with limited support. @xref{Contributing}, for how to help!" msgstr "les processeurs ARMv8-A 64-bits en little-endian avec le noyau Linux-libre. Le support est actuellement expérimental et limité. @xref{Contributing}, pour savoir comment aider !" #. type: item -#: doc/guix.texi:8241 +#: doc/guix.texi:8965 #, no-wrap msgid "mips64el-linux" msgstr "mips64el-linux" #. type: table -#: doc/guix.texi:8244 +#: doc/guix.texi:8968 msgid "little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel." msgstr "les processeurs MIPS 64-bits little-endian, spécifiquement la série Loongson, ABI n32, avec le noyau Linux-libre." #. type: Plain text -#: doc/guix.texi:8248 +#: doc/guix.texi:8972 msgid "GuixSD itself is currently only available on @code{i686} and @code{x86_64}." msgstr "GuixSD lui-même est actuellement disponible sur @code{i686} et @code{x86_64}." #. type: Plain text -#: doc/guix.texi:8252 +#: doc/guix.texi:8976 msgid "For information on porting to other architectures or kernels, @pxref{Porting}." msgstr "Pour des informations sur comment porter vers d'autres architectures et d'autres noyau, @pxref{Porting}." #. type: Plain text -#: doc/guix.texi:8267 +#: doc/guix.texi:8991 msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help." msgstr "La construction de cette distribution est un effort collaboratif et nous vous invitons à nous rejoindre ! @xref{Contributing}, pour des informations sur la manière de nous aider." #. type: cindex -#: doc/guix.texi:8271 +#: doc/guix.texi:8995 #, no-wrap msgid "installing GuixSD" msgstr "installer GuixSD" #. type: Plain text -#: doc/guix.texi:8277 +#: doc/guix.texi:9001 msgid "This section explains how to install the Guix System Distribution (GuixSD) on a machine. The Guix package manager can also be installed on top of a running GNU/Linux system, @pxref{Installation}." msgstr "Cette section explique comment installer la distribution système Guix (GuixSD) sur votre machine. Le gestionnaire de paquets Guix peut aussi être installé sur un système GNU/Linux déjà installé, @pxref{Installation}." #. type: quotation -#: doc/guix.texi:8286 +#: doc/guix.texi:9010 msgid "You are reading this documentation with an Info reader. For details on how to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit @kbd{l} afterwards to come back here." msgstr "Vous lisez cette documentation avec un lecteur Info. Pour des détails sur son utilisation, appuyez sur la touche @key{ENTRÉE} (« Entrée » ou « à la ligne ») sur le lien suivant : @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Appuyez ensuite sur @kbd{l} pour revenir ici." #. type: quotation -#: doc/guix.texi:8289 +#: doc/guix.texi:9013 msgid "Alternately, run @command{info info} in another tty to keep the manual available." msgstr "Autrement, lancez @command{info info} dans un autre tty pour garder ce manuel ouvert." #. type: Plain text -#: doc/guix.texi:8314 +#: doc/guix.texi:9038 msgid "As of version @value{VERSION}, the Guix System Distribution (GuixSD) is not production-ready. It may contain bugs and lack important features. Thus, if you are looking for a stable production system that respects your freedom as a computer user, a good solution at this point is to consider @url{http://www.gnu.org/distros/free-distros.html, one of the more established GNU/Linux distributions}. We hope you can soon switch to the GuixSD without fear, of course. In the meantime, you can also keep using your distribution and try out the package manager on top of it (@pxref{Installation})." msgstr "À la version @value{VERSION}, la distribution système Guix (GuixSD) n'est pas prête pour la production. Elle peut contenir des bogues et ne pas avoir certaines fonctionnalités importantes. Ainsi, si vous cherche un système de production stable qui respecte votre liberté en tant qu'utilisateur, une bonne solution consiste à utiliser @url{http://www.gnu.org/distros/free-distros.html, une des distributions GNU/Linux mieux établie}. Nous espérons que vous pourrez bientôt passer à GuixSD sans peur, bien sûr. Pendant ce temps, vous pouvez aussi utiliser votre distribution actuelle et essayer le gestionnaire de paquet par dessus celle-ci (@pxref{Installation})." #. type: Plain text -#: doc/guix.texi:8317 +#: doc/guix.texi:9041 msgid "Before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:" msgstr "Avant de procéder à l'installation, soyez conscient de ces limitations les plus importantes qui s'appliquent à la version @value{VERSION} :" #. type: itemize -#: doc/guix.texi:8323 +#: doc/guix.texi:9047 msgid "The installation process does not include a graphical user interface and requires familiarity with GNU/Linux (see the following subsections to get a feel of what that means.)" msgstr "Le procédé d'installation n'a pas d'interface utilisateur graphique et requiert une certaine familiarité avec GNU/Linux (voir les sous-sections suivantes pour avoir un aperçu de ce que cela signifie)." #. type: itemize -#: doc/guix.texi:8326 +#: doc/guix.texi:9050 msgid "Support for the Logical Volume Manager (LVM) is missing." msgstr "LVM (gestionnaire de volumes logiques) n'est pas supporté." #. type: itemize -#: doc/guix.texi:8330 +#: doc/guix.texi:9054 msgid "More and more system services are provided (@pxref{Services}), but some may be missing." msgstr "De plus en plus de services systèmes sont fournis (@pxref{Services}) mais certains manquent toujours cruellement." #. type: itemize -#: doc/guix.texi:8334 -msgid "More than 6,500 packages are available, but you might occasionally find that a useful package is missing." -msgstr "Plus de 6 500 paquets sont disponibles, mais vous pourrez parfois trouver qu'un paquet utile est absent." +#: doc/guix.texi:9058 +msgid "More than 7,500 packages are available, but you might occasionally find that a useful package is missing." +msgstr "Plus de 7@tie{}500 paquets sont disponibles, mais vous pourrez parfois trouver qu'un paquet utile est absent." #. type: itemize -#: doc/guix.texi:8339 +#: doc/guix.texi:9063 msgid "GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop Services}), as well as a number of X11 window managers. However, some graphical applications may be missing, as well as KDE." msgstr "GNOME, Xfce, LXDE et Enlightenment sont disponibles (@pxref{Desktop Services}), ainsi qu'un certain nombre de gestionnaires de fenêtres X11. cependant, certaines applications graphiques peuvent manquer, ainsi que KDE." #. type: Plain text -#: doc/guix.texi:8344 +#: doc/guix.texi:9068 msgid "You have been warned! But more than a disclaimer, this is an invitation to report issues (and success stories!), and to join us in improving it. @xref{Contributing}, for more info." msgstr "Vous êtes avertis ! Mais plus qu'un avertissement, c'est une invitation à rapporter les problèmes (et vos succès !) et à nous rejoindre pour améliorer la distribution. @xref{Contributing}, pour plus d'info." #. type: cindex -#: doc/guix.texi:8349 +#: doc/guix.texi:9073 #, no-wrap msgid "hardware support on GuixSD" msgstr "support matériel sur GuixSD" #. type: Plain text -#: doc/guix.texi:8358 +#: doc/guix.texi:9082 msgid "GNU@tie{}GuixSD focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on GuixSD." msgstr "GNU@tie{}GuixSD se concentre sur le respect des libertés de ses utilisateurs. Il est construit autour du noyau Linux-libre, ce qui signifie que seuls les matériels pour lesquels des pilotes logiciels et des microgiciels libres sont disponibles sont supportés. De nos jours, une grande gamme de matériel qu'on peut acheter est supporté par GNU/Linux-libre — des claviers aux cartes graphiques en passant par les scanners et les contrôleurs Ethernet. Malheureusement, il reste des produit dont les fabriquants refusent de laisser le contrôle aux utilisateurs sur leur propre utilisation de l'ordinateur, et ces matériels ne sont pas supportés par GuixSD." #. type: cindex -#: doc/guix.texi:8359 +#: doc/guix.texi:9083 #, no-wrap msgid "WiFi, hardware support" msgstr "WiFi, support matériel" #. type: Plain text -#: doc/guix.texi:8368 +#: doc/guix.texi:9092 msgid "One of the main areas where free drivers or firmware are lacking is WiFi devices. WiFi devices known to work include those using Atheros chips (AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. Free firmware exists for both and is available out-of-the-box on GuixSD, as part of @var{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})." msgstr "L'un des types de matériels où les pilotes ou les microgiciels sont le moins disponibles sont les appareils WiFi. Les appareils WiFi connus pour fonctionner sont ceux qui utilisent des puces Atheros (AR9271 et AR7010) qui correspondent au pilote @code{ath9k} de Linux-libre, et ceux qui utilisent des puces Broadcom/AirForce (BCM43xx avec la révision Wireless-Core 5), qui correspondent au pilote @code{b43-open} de Linux-libre. Des microgiciels libres existent pour les deux et sont disponibles directement sur GuixSD, dans @var{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})." #. type: cindex -#: doc/guix.texi:8369 +#: doc/guix.texi:9093 #, no-wrap msgid "RYF, Respects Your Freedom" msgstr "RYF, Respects Your Freedom" #. type: Plain text -#: doc/guix.texi:8375 +#: doc/guix.texi:9099 msgid "The @uref{https://www.fsf.org/, Free Software Foundation} runs @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a certification program for hardware products that respect your freedom and your privacy and ensure that you have control over your device. We encourage you to check the list of RYF-certified devices." msgstr "La @uref{https://www.fsf.org/, Free Software Foundation} a un programme de certification nommé @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), pour les produits matériels qui respectent votre liberté et votre vie privée en s'assurant que vous avez le contrôle sur l'appareil. Nous vous encourageons à vérifier la liste des appareils certifiés par RYF." #. type: Plain text -#: doc/guix.texi:8379 +#: doc/guix.texi:9103 msgid "Another useful resource is the @uref{https://www.h-node.org/, H-Node} web site. It contains a catalog of hardware devices with information about their support in GNU/Linux." msgstr "Une autre ressource utile est le site web @uref{https://www.h-node.org/, H-Node}. Il contient un catalogue d'appareils avec des informations sur leur support dans GNU/Linux." #. type: Plain text -#: doc/guix.texi:8388 -msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{ftp://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz}, where @var{system} is one of:" -msgstr "Une image d'installation ISO-9660 téléchargeable depuis @indicateurl{ftp://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{système}.iso.xz} peut être écrite sur une clef USB ou gravée sur un DVD, où @var{système} est l'une de ces valeurs :" +#: doc/guix.texi:9112 +msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz}, where @var{system} is one of:" +msgstr "Une image d'installation ISO-9660 téléchargeable depuis @indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{système}.iso.xz} peut être écrite sur une clef USB ou gravée sur un DVD, où @var{système} est l'une de ces valeurs :" #. type: table -#: doc/guix.texi:8392 +#: doc/guix.texi:9116 msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;" msgstr "pour un système GNU/Linux sur un CPU compatible Intel/AMD 64-bits ;" #. type: table -#: doc/guix.texi:8395 +#: doc/guix.texi:9119 msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs." msgstr "pour un système GNU/Linux sur un CPU compatible Intel 32-bits ;" #. type: Plain text -#: doc/guix.texi:8400 +#: doc/guix.texi:9124 msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:" msgstr "Assurez-vous de télécharger les fichiers @file{.sig} associés et de vérifier l'authenticité de l'image avec, de cette manière :" #. type: example -#: doc/guix.texi:8404 +#: doc/guix.texi:9128 #, no-wrap msgid "" -"$ wget ftp://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" +"$ wget https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" "$ gpg --verify guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" msgstr "" -"$ wget ftp://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{système}.iso.xz.sig\n" +"$ wget https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" "$ gpg --verify guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig\n" #. type: Plain text -#: doc/guix.texi:8419 +#: doc/guix.texi:9144 msgid "This image contains the tools necessary for an installation. It is meant to be copied @emph{as is} to a large-enough USB stick or DVD." msgstr "Cette image contient les outils nécessaires à l'installation. Elle est faite pour être copiée @emph{telle quelle} sur une clef USB assez grosse ou un DVD." #. type: unnumberedsubsubsec -#: doc/guix.texi:8420 +#: doc/guix.texi:9145 #, no-wrap msgid "Copying to a USB Stick" msgstr "Copie sur une clef USB" #. type: Plain text -#: doc/guix.texi:8423 +#: doc/guix.texi:9148 msgid "To copy the image to a USB stick, follow these steps:" msgstr "Pour copier l'image sur une clef USB, suivez ces étapes :" #. type: enumerate -#: doc/guix.texi:8427 doc/guix.texi:8452 +#: doc/guix.texi:9152 doc/guix.texi:9177 msgid "Decompress the image using the @command{xz} command:" msgstr "Décompressez l'image avec la commande @command{xz} :" #. type: example -#: doc/guix.texi:8430 doc/guix.texi:8455 +#: doc/guix.texi:9155 doc/guix.texi:9180 #, no-wrap msgid "xz -d guixsd-install-@value{VERSION}.@var{system}.iso.xz\n" msgstr "xz -d guixsd-install-@value{VERSION}.@var{système}.iso.xz\n" #. type: enumerate -#: doc/guix.texi:8436 +#: doc/guix.texi:9161 msgid "Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with:" msgstr "Insérez la clef USB de 1@tie{}Gio ou plus dans votre machine et déterminez son nom d'appareil. En supposant que la clef usb est connue sous le nom de @file{/dev/sdX}, copiez l'image avec :" #. type: example -#: doc/guix.texi:8440 +#: doc/guix.texi:9165 #, no-wrap msgid "" "dd if=guixsd-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX\n" @@ -15071,182 +16305,182 @@ msgstr "" "sync\n" #. type: enumerate -#: doc/guix.texi:8443 +#: doc/guix.texi:9168 msgid "Access to @file{/dev/sdX} usually requires root privileges." msgstr "Accéder à @file{/dev/sdX} requiert généralement les privilèges super-utilisateur." #. type: unnumberedsubsubsec -#: doc/guix.texi:8445 +#: doc/guix.texi:9170 #, no-wrap msgid "Burning on a DVD" msgstr "Graver sur un DVD" #. type: Plain text -#: doc/guix.texi:8448 +#: doc/guix.texi:9173 msgid "To copy the image to a DVD, follow these steps:" msgstr "Pour copier l'image sur un DVD, suivez ces étapes :" #. type: enumerate -#: doc/guix.texi:8461 +#: doc/guix.texi:9186 msgid "Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with:" msgstr "Insérez un DVD vierge dans votre machine et déterminez son nom d'appareil. En supposant que le DVD soit connu sont le nom de @file{/dev/srX}, copiez l'image avec :" #. type: example -#: doc/guix.texi:8464 +#: doc/guix.texi:9189 #, no-wrap msgid "growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.x86_64.iso\n" msgstr "growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.x86_64.iso\n" #. type: enumerate -#: doc/guix.texi:8467 +#: doc/guix.texi:9192 msgid "Access to @file{/dev/srX} usually requires root privileges." msgstr "Accéder à @file{/dev/srX} requiert généralement les privilèges super-utilisateur." #. type: unnumberedsubsubsec -#: doc/guix.texi:8469 +#: doc/guix.texi:9194 #, no-wrap msgid "Booting" msgstr "Démarrage" #. type: Plain text -#: doc/guix.texi:8474 +#: doc/guix.texi:9199 msgid "Once this is done, you should be able to reboot the system and boot from the USB stick or DVD. The latter usually requires you to get in the BIOS or UEFI boot menu, where you can choose to boot from the USB stick." msgstr "Une fois que c'est fait, vous devriez pouvoir redémarrer le système et démarrer depuis la clef USB ou le DVD. Pour cela, vous devrez généralement entrer dans le menu de démarrage BIOS ou UEFI, où vous pourrez choisir de démarrer sur la clef USB." #. type: Plain text -#: doc/guix.texi:8477 +#: doc/guix.texi:9202 msgid "@xref{Installing GuixSD in a VM}, if, instead, you would like to install GuixSD in a virtual machine (VM)." msgstr "@xref{Installing GuixSD in a VM}, si, à la place, vous souhaitez installer GuixSD dans une machine virtuelle (VM)." #. type: Plain text -#: doc/guix.texi:8489 +#: doc/guix.texi:9214 msgid "Once you have successfully booted your computer using the installation medium, you should end up with a root prompt. Several console TTYs are configured and can be used to run commands as root. TTY2 shows this documentation, browsable using the Info reader commands (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). The installation system runs the GPM mouse daemon, which allows you to select text with the left mouse button and to paste it with the middle button." msgstr "Une fois que vous avez démarré votre ordinateur sur le média d'installation, vous devriez vous retrouver sur un prompt en root. Plusieurs TTY sont configurées et peuvent être utilisés pour lancer des commandes en root. Le TTY2 affiche cette documentation, dans la quelle vous pouvez naviguer avec les commandes du lecteur Info (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). Le démon de souris GPM tourne sur le système d'installation, ce qui vous permet de sélectionner du texte avec le bouton gauche de la souris et de le coller en appuyant sur la molette." #. type: quotation -#: doc/guix.texi:8494 +#: doc/guix.texi:9219 msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below." msgstr "L'installation nécessite un accès au réseau pour que les dépendances manquantes de votre configuration système puissent être téléchargées. Voyez la section « réseau » plus bas." #. type: Plain text -#: doc/guix.texi:8500 +#: doc/guix.texi:9225 msgid "The installation system includes many common tools needed for this task. But it is also a full-blown GuixSD system, which means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})." msgstr "Le système d'installation inclus plusieurs outils usuels pour requis pour cette tâche. Mais c'est aussi un système GuixSD complet, ce qui signifie que vous pouvez installer des paquets supplémentaires si vous en avez besoin, avec @command{guix package} (@pxref{Invoking guix package})." #. type: subsubsection -#: doc/guix.texi:8501 +#: doc/guix.texi:9226 #, no-wrap msgid "Keyboard Layout" msgstr "Disposition du clavier" #. type: cindex -#: doc/guix.texi:8503 doc/guix.texi:10593 doc/guix.texi:11931 +#: doc/guix.texi:9228 doc/guix.texi:11378 doc/guix.texi:12878 #, no-wrap msgid "keyboard layout" msgstr "disposition du clavier" #. type: Plain text -#: doc/guix.texi:8507 +#: doc/guix.texi:9232 msgid "The installation image uses the US qwerty keyboard layout. If you want to change it, you can use the @command{loadkeys} command. For example, the following command selects the Dvorak keyboard layout:" msgstr "L'image d'installation utilise la disposition clavier qwerty (US). Si vous voulez la changer, vous pouvez utiliser la commande @command{loadkeys}. Par exemple, la commande suivante sélectionne la disposition Dvorak :" #. type: example -#: doc/guix.texi:8510 +#: doc/guix.texi:9235 #, no-wrap msgid "loadkeys dvorak\n" msgstr "loadkeys dvorak\n" #. type: Plain text -#: doc/guix.texi:8515 +#: doc/guix.texi:9240 msgid "See the files under @file{/run/current-system/profile/share/keymaps} for a list of available keyboard layouts. Run @command{man loadkeys} for more information." msgstr "Consultez les fichiers dans @file{/run/current-system/profile/share/keymaps} pour trouver une liste des dispositions disponibles. Lancez @command{man loadkey} pour plus d'informations." #. type: subsubsection -#: doc/guix.texi:8516 +#: doc/guix.texi:9241 #, no-wrap msgid "Networking" msgstr "Réseau" #. type: Plain text -#: doc/guix.texi:8519 -msgid "Run the following command see what your network interfaces are called:" +#: doc/guix.texi:9244 +msgid "Run the following command to see what your network interfaces are called:" msgstr "Lancez la commande suivante pour voir comment vos interfaces réseau sont appelées :" #. type: example -#: doc/guix.texi:8522 +#: doc/guix.texi:9247 #, no-wrap msgid "ifconfig -a\n" msgstr "ifconfig -a\n" #. type: Plain text -#: doc/guix.texi:8526 +#: doc/guix.texi:9251 msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:" msgstr "@dots{} ou, avec la commande spécifique à GNU/Linux @command{ip} :" #. type: example -#: doc/guix.texi:8529 +#: doc/guix.texi:9254 #, no-wrap msgid "ip a\n" msgstr "ip a\n" #. type: Plain text -#: doc/guix.texi:8536 +#: doc/guix.texi:9261 msgid "Wired interfaces have a name starting with @samp{e}; for example, the interface corresponding to the first on-board Ethernet controller is called @samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like @samp{w1p2s0}." msgstr "Les interfaces filaires ont un nom qui commence par @samp{e} ; par exemple, l'interface qui correspond au premier contrôleur Ethernet sur la carte mère est appelé @samp{eno1}. Les interfaces sans-fil ont un nom qui commence par @samp{w}, comme @samp{w1p2s0}." #. type: item -#: doc/guix.texi:8538 +#: doc/guix.texi:9263 #, no-wrap msgid "Wired connection" msgstr "Connexion filaire" #. type: table -#: doc/guix.texi:8541 +#: doc/guix.texi:9266 msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use." msgstr "Pour configure une connexion filaire, lancez la commande suivante, en remplaçant @var{interface} par le nom de l'interface filaire que vous voulez utiliser." #. type: example -#: doc/guix.texi:8544 +#: doc/guix.texi:9269 #, no-wrap msgid "ifconfig @var{interface} up\n" msgstr "ifconfig @var{interface} up\n" #. type: item -#: doc/guix.texi:8546 +#: doc/guix.texi:9271 #, no-wrap msgid "Wireless connection" msgstr "Connexion sans-fil" #. type: cindex -#: doc/guix.texi:8547 doc/guix.texi:11008 +#: doc/guix.texi:9272 doc/guix.texi:11817 #, no-wrap msgid "wireless" msgstr "sans-fil" #. type: cindex -#: doc/guix.texi:8548 doc/guix.texi:11009 +#: doc/guix.texi:9273 doc/guix.texi:11818 #, no-wrap msgid "WiFi" msgstr "WiFi" #. type: table -#: doc/guix.texi:8553 +#: doc/guix.texi:9278 msgid "To configure wireless networking, you can create a configuration file for the @command{wpa_supplicant} configuration tool (its location is not important) using one of the available text editors such as @command{nano}:" msgstr "Pour configurer le réseau sans-fil, vous pouvez créer un fichier de configuration pour l'outil de configuration @command{wpa_supplicant} (son emplacement importe peu) avec l'un des éditeurs de texte disponibles comme @command{nano} :" #. type: example -#: doc/guix.texi:8556 +#: doc/guix.texi:9281 #, no-wrap msgid "nano wpa_supplicant.conf\n" msgstr "nano wpa_supplicant.conf\n" #. type: table -#: doc/guix.texi:8561 +#: doc/guix.texi:9286 msgid "As an example, the following stanza can go to this file and will work for many wireless networks, provided you give the actual SSID and passphrase for the network you are connecting to:" msgstr "Par exemple, la déclaration qui suit peut aller dans ce fichier et fonctionnera pour plusieurs réseaux sans-fil, si vous donnez le vrai SSID et la phrase de passe pour le réseau auquel vous vous connectez :" #. type: example -#: doc/guix.texi:8568 +#: doc/guix.texi:9293 #, no-wrap msgid "" "network=@{\n" @@ -15262,215 +16496,232 @@ msgstr "" "@}\n" #. type: table -#: doc/guix.texi:8573 +#: doc/guix.texi:9298 msgid "Start the wireless service and run it in the background with the following command (substitute @var{interface} with the name of the network interface you want to use):" msgstr "Démarrez le service sans-file et lancez-le en tache de fond avec la commande suivante (en remplaçant @var{interface} par le nom de l'interface réseau que vous voulez utiliser) :" #. type: example -#: doc/guix.texi:8576 +#: doc/guix.texi:9301 #, no-wrap msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n" msgstr "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n" #. type: table -#: doc/guix.texi:8579 +#: doc/guix.texi:9304 msgid "Run @command{man wpa_supplicant} for more information." msgstr "Lancez @command{man wpa_supplicant} pour plus d'informations." #. type: cindex -#: doc/guix.texi:8581 +#: doc/guix.texi:9306 #, no-wrap msgid "DHCP" msgstr "DHCP" #. type: Plain text -#: doc/guix.texi:8584 +#: doc/guix.texi:9309 msgid "At this point, you need to acquire an IP address. On a network where IP addresses are automatically assigned @i{via} DHCP, you can run:" msgstr "À partir de ce moment, vous avez besoin d'une adresse IP. Sur les réseaux où les IP sont automatiquement attribuée par DHCP, vous pouvez lancer :" #. type: example -#: doc/guix.texi:8587 +#: doc/guix.texi:9312 #, no-wrap msgid "dhclient -v @var{interface}\n" msgstr "dhclient -v @var{interface}\n" #. type: Plain text -#: doc/guix.texi:8590 +#: doc/guix.texi:9315 msgid "Try to ping a server to see if networking is up and running:" msgstr "Essayez de pinger un serveur pour voir si le réseau fonctionne :" #. type: example -#: doc/guix.texi:8593 +#: doc/guix.texi:9318 #, no-wrap msgid "ping -c 3 gnu.org\n" msgstr "ping -c 3 gnu.org\n" #. type: Plain text -#: doc/guix.texi:8597 +#: doc/guix.texi:9322 msgid "Setting up network access is almost always a requirement because the image does not contain all the software and tools that may be needed." msgstr "Mettre en place un accès réseau est presque toujours une nécessité parce que l'image ne contient pas tous les logiciels et les outils dont vous pourriez avoir besoin." #. type: cindex -#: doc/guix.texi:8598 +#: doc/guix.texi:9323 #, no-wrap msgid "installing over SSH" msgstr "installer par SSH" #. type: Plain text -#: doc/guix.texi:8601 +#: doc/guix.texi:9326 msgid "If you want to, you can continue the installation remotely by starting an SSH server:" msgstr "Si vous le souhaitez, vous pouvez continuer l'installation à distance en démarrant un serveur SSH :" #. type: example -#: doc/guix.texi:8604 +#: doc/guix.texi:9329 #, no-wrap msgid "herd start ssh-daemon\n" msgstr "herd start ssh-daemon\n" #. type: Plain text -#: doc/guix.texi:8608 +#: doc/guix.texi:9333 msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in." msgstr "Assurez-vous soit de définir un mot de passe avec @command{passwd}, soit de configurer l'authentification par clef OpenSSH avant de vous connecter." #. type: subsubsection -#: doc/guix.texi:8609 +#: doc/guix.texi:9334 #, no-wrap msgid "Disk Partitioning" msgstr "Partitionnement" #. type: Plain text -#: doc/guix.texi:8613 +#: doc/guix.texi:9338 msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)." msgstr "À moins que vous ne l'ayez déjà fait, l'étape suivante consiste à partitionner le disque puis à formater les partitions cibles." #. type: Plain text -#: doc/guix.texi:8618 +#: doc/guix.texi:9343 msgid "The installation image includes several partitioning tools, including Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and @command{cfdisk}. Run it and set up your disk with the partition layout you want:" msgstr "L'image d'installation inclus plusieurs outils de partitionnement, dont Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, et @command{cfdisk}. Lancez-en un et paramétrez votre disque avec le partitionnement qui vous convient :" #. type: example -#: doc/guix.texi:8621 +#: doc/guix.texi:9346 #, no-wrap msgid "cfdisk\n" msgstr "cfdisk\n" #. type: Plain text -#: doc/guix.texi:8627 +#: doc/guix.texi:9352 msgid "If your disk uses the GUID Partition Table (GPT) format and you plan to install BIOS-based GRUB (which is the default), make sure a BIOS Boot Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual})." msgstr "Si votre disque utilise le format des tables de partitions GUID (GPT) et que vous souhaitez installer un GRUB pour système BIOS (c'est le cas par défaut), assurez-vous de créer qu'une partition de démarrage BIOS soit bien disponible (@pxref{BIOS installation,,, grub, GNU GRUB manual})." #. type: cindex -#: doc/guix.texi:8628 +#: doc/guix.texi:9353 #, no-wrap msgid "EFI, installation" msgstr "EFI, installation" #. type: cindex -#: doc/guix.texi:8629 +#: doc/guix.texi:9354 #, no-wrap msgid "UEFI, installation" msgstr "UEFI, installation" #. type: cindex -#: doc/guix.texi:8630 +#: doc/guix.texi:9355 #, no-wrap msgid "ESP, EFI system partition" msgstr "ESP, partition système EFI" #. type: Plain text -#: doc/guix.texi:8634 +#: doc/guix.texi:9359 msgid "If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System Partition} (ESP) is required. This partition should be mounted at @file{/boot/efi} and must have the @code{esp} flag set. E.g., for @command{parted}:" msgstr "Si vous souhaitez à la place utilise GRUB pour système EFI, vous devrez avoir une @dfn{partition système EFI} (ESP) en FAT32. Cette partition devrait être montée dans @file{/boot/efi} et doit avoir le drapeau @code{esp}. P.@: ex.@: pour @command{parted} :" #. type: example -#: doc/guix.texi:8637 +#: doc/guix.texi:9362 #, no-wrap msgid "parted /dev/sda set 1 esp on\n" msgstr "parted /dev/sda set 1 esp on\n" -#. type: Plain text -#: doc/guix.texi:8645 -msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently GuixSD only supports ext4 and btrfs file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda2}, run:" -msgstr "Une fois que vous avez fini le partitionnement du disque dur cible, vous devez créer un système de fichier sur les partitions@footnote{Actuellement GuixSD ne supporte que les systèmes de fichiers ext4 et btrfs. En particulier, le code qui lit les UUID des systèmes de fichiers et les étiquettes ne fonctionne que pour ces types de systèmes de fichiers.}. Pour l'ESP, si vous en avez une et en supposant que ce soit @file{/dev/sda2}, lancez :" - -#. type: example -#: doc/guix.texi:8648 +#. type: vindex +#: doc/guix.texi:9365 doc/guix.texi:22092 #, no-wrap -msgid "mkfs.fat -F32 /dev/sda2\n" -msgstr "mkfs.fat -F32 /dev/sda2\n" +msgid "grub-bootloader" +msgstr "grub-bootloader" + +#. type: vindex +#: doc/guix.texi:9366 doc/guix.texi:22086 +#, no-wrap +msgid "grub-efi-bootloader" +msgstr "grub-efi-bootloader" + +#. type: quotation +#: doc/guix.texi:9373 +msgid "Unsure whether to use EFI- or BIOS-based GRUB? If the directory @file{/sys/firmware/efi} exists in the installation image, then you should probably perform an EFI installation, using @code{grub-efi-bootloader}. Otherwise you should use the BIOS-based GRUB, known as @code{grub-bootloader}. @xref{Bootloader Configuration}, for more info on bootloaders." +msgstr "Vous n'êtes pas sûr de savoir si vous devez utiliser un GRUB EFI ou BIOS ? Si le répertoire @file{/sys/firmware/efi} existe sur l'image d'installation, vous devriez probablement effectuer une installation EFI, avec @code{grub-efi-bootloader}. Sinon, vous devriez utiliser le GRUB en BIOS, @code{grub-bootloader}. @xref{Bootloader Configuration} pour plus d'information sur le chargeur d'amorçage." #. type: Plain text -#: doc/guix.texi:8656 -msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda1}, a file system with the label @code{my-root} can be created with:" -msgstr "Préférez assigner une étiquette au système de fichier pour que vous puissiez facilement vous y référer dans la déclaration @code{file-system} (@pxref{File Systems}). On le fait habituellement avec l'option @code{-L} de @command{mkfs.ext4} et des commandes liées. Donc, en supposant que la partition racine soit @file{/dev/sda1}, on peut créer un système de fichier avec pour étiquette @code{my-root} avec :" +#: doc/guix.texi:9381 +msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently GuixSD only supports ext4 and btrfs file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:" +msgstr "Une fois que vous avez fini le partitionnement du disque dur cible, vous devez créer un système de fichier sur les partitions@footnote{Actuellement GuixSD ne supporte que les systèmes de fichiers ext4 et btrfs. En particulier, le code qui lit les UUID des systèmes de fichiers et les étiquettes ne fonctionne que pour ces types de systèmes de fichiers.}. Pour l'ESP, si vous en avez une et en supposant que ce soit @file{/dev/sda1}, lancez :" #. type: example -#: doc/guix.texi:8659 +#: doc/guix.texi:9384 #, no-wrap -msgid "mkfs.ext4 -L my-root /dev/sda1\n" -msgstr "mkfs.ext4 -L my-root /dev/sda1\n" +msgid "mkfs.fat -F32 /dev/sda1\n" +msgstr "mkfs.fat -F32 /dev/sda1\n" + +#. type: Plain text +#: doc/guix.texi:9392 +msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda2}, a file system with the label @code{my-root} can be created with:" +msgstr "Préférez assigner une étiquette au système de fichier pour que vous puissiez vous y référer de manière fiable dans la déclaration @code{file-system} (@pxref{File Systems}). On le fait habituellement avec l'option @code{-L} de @command{mkfs.ext4} et des commandes liées. Donc, en supposant que la partition racine soit sur @file{/dev/sda2}, on peut créer un système de fichier avec pour étiquette @code{my-root} avec :" + +#. type: example +#: doc/guix.texi:9395 +#, no-wrap +msgid "mkfs.ext4 -L my-root /dev/sda2\n" +msgstr "mkfs.ext4 -L my-root /dev/sda2\n" #. type: cindex -#: doc/guix.texi:8661 doc/guix.texi:9066 +#: doc/guix.texi:9397 doc/guix.texi:9823 #, no-wrap msgid "encrypted disk" msgstr "chiffrement du disque" #. type: Plain text -#: doc/guix.texi:8668 -msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information.) Assuming you want to store the root partition on @file{/dev/sda1}, the command sequence would be along these lines:" -msgstr "Si vous voulez plutôt chiffrer la partition racine, vous pouvez utiliser les utilitaires Cryptsetup et LUKS pour cela (voir @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} pour plus d'informations). En supposant que vous voulez stocker la partition racine sur @fiel{/dev/sda1}, la séquence de commandes suivante vous mènerait à ce résultat :" +#: doc/guix.texi:9404 +msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information.) Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence would be along these lines:" +msgstr "Si vous voulez plutôt chiffrer la partition racine, vous pouvez utiliser les utilitaires Cryptsetup et LUKS pour cela (voir @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} pour plus d'informations). En supposant que vous voulez stocker la partition racine sur @file{/dev/sda2}, la séquence de commandes suivante vous mènerait à ce résultat :" #. type: example -#: doc/guix.texi:8673 +#: doc/guix.texi:9409 #, no-wrap msgid "" -"cryptsetup luksFormat /dev/sda1\n" -"cryptsetup open --type luks /dev/sda1 my-partition\n" +"cryptsetup luksFormat /dev/sda2\n" +"cryptsetup open --type luks /dev/sda2 my-partition\n" "mkfs.ext4 -L my-root /dev/mapper/my-partition\n" msgstr "" -"cryptsetup luksFormat /dev/sda1\n" -"cryptsetup open --type luks /dev/sda1 my-partition\n" +"cryptsetup luksFormat /dev/sda2\n" +"cryptsetup open --type luks /dev/sda2 my-partition\n" "mkfs.ext4 -L my-root /dev/mapper/my-partition\n" #. type: Plain text -#: doc/guix.texi:8678 +#: doc/guix.texi:9414 msgid "Once that is done, mount the target file system under @file{/mnt} with a command like (again, assuming @code{my-root} is the label of the root file system):" msgstr "Une fois cela effectué, montez le système de fichier cible dans @file{/mnt} avec une commande comme (de nouveau, en supposant que @code{my-root} est l'étiquette du système de fichiers racine) :" #. type: example -#: doc/guix.texi:8681 +#: doc/guix.texi:9417 #, no-wrap msgid "mount LABEL=my-root /mnt\n" msgstr "mount LABEL=my-root /mnt\n" #. type: Plain text -#: doc/guix.texi:8687 +#: doc/guix.texi:9423 msgid "Also mount any other file systems you would like to use on the target system relative to this path. If you have @file{/boot} on a separate partition for example, mount it at @file{/mnt/boot} now so it is found by @code{guix system init} afterwards." msgstr "Montez aussi tous les systèmes de fichiers que vous voudriez utiliser sur le système cible relativement à ce chemin. Si vous avez un @file{/boot} sur une partition séparé par exemple, montez-le sur @file{/mnt/boot} maintenant pour qu'il puisse être trouvé par @code{guix system init} ensuite." #. type: Plain text -#: doc/guix.texi:8692 -msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda2}, you would run:" -msgstr "Enfin, si vous souhaitez utilise une ou plusieurs partitions de swap (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), assurez-vous de les initialiser avec @command{mkswap}. En supposant que vous avez une partition de swap sur @file{/dev/sda2}, vous pouvez lancer :" +#: doc/guix.texi:9428 +msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:" +msgstr "Enfin, si vous souhaitez utiliser une ou plusieurs partitions de swap (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), assurez-vous de les initialiser avec @command{mkswap}. En supposant que vous avez une partition de swap sur @file{/dev/sda3}, vous pouvez lancer :" #. type: example -#: doc/guix.texi:8696 +#: doc/guix.texi:9432 #, no-wrap msgid "" -"mkswap /dev/sda2\n" -"swapon /dev/sda2\n" +"mkswap /dev/sda3\n" +"swapon /dev/sda3\n" msgstr "" -"mkswap /dev/sda2\n" -"swapon /dev/sda2\n" +"mkswap /dev/sda3\n" +"swapon /dev/sda3\n" #. type: Plain text -#: doc/guix.texi:8704 +#: doc/guix.texi:9440 msgid "Alternatively, you may use a swap file. For example, assuming that in the new system you want to use the file @file{/swapfile} as a swap file, you would run@footnote{This example will work for many types of file systems (e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the required steps may be different. For details, see the manual pages for @command{mkswap} and @command{swapon}.}:" msgstr "Autrement, vous pouvez utiliser un fichier de swap. Par exemple, en supposant que dans le nouveau système vous voulez utiliser le fichier @file{/swapfile} comme fichier de swap, vous lanceriez@footnote{Cet exemple fonctionnera sur plusieurs types de systèmes de fichiers (p.@: ex.@: ext4). Cependant, pour les systèmes de fichiers qui utilisent la copie sur écriture (COW) comme btrfs, les étapes requises peuvent varier. Pour plus de détails, regardez les pages de manuel de @command{mkswap} et @command{swapon}.} :" #. type: example -#: doc/guix.texi:8712 +#: doc/guix.texi:9448 #, no-wrap msgid "" "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n" @@ -15488,38 +16739,38 @@ msgstr "" "swapon /mnt/swapfile\n" #. type: Plain text -#: doc/guix.texi:8717 +#: doc/guix.texi:9453 msgid "Note that if you have encrypted the root partition and created a swap file in its file system as described above, then the encryption also protects the swap file, just like any other file in that file system." msgstr "Remarquez que si vous avez chiffré la partition racine et créé un fichier d'échange dans son système de fichier comme décrit ci-dessus, alors le chiffrement protégera aussi le fichier d'échange, comme n'importe quel fichier de ce système de fichiers." #. type: Plain text -#: doc/guix.texi:8723 +#: doc/guix.texi:9459 msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:" msgstr "Lorsque la partition cible est prête et que les autres partitions sont montées, on est prêt à commencer l'installation. Commencez par :" #. type: example -#: doc/guix.texi:8726 +#: doc/guix.texi:9462 #, no-wrap msgid "herd start cow-store /mnt\n" msgstr "herd start cow-store /mnt\n" #. type: Plain text -#: doc/guix.texi:8733 +#: doc/guix.texi:9469 msgid "This makes @file{/gnu/store} copy-on-write, such that packages added to it during the installation phase are written to the target disk on @file{/mnt} rather than kept in memory. This is necessary because the first phase of the @command{guix system init} command (see below) entails downloads or builds to @file{/gnu/store} which, initially, is an in-memory file system." msgstr "Cela rend @file{/gnu/store} capable de faire de la copie sur écriture, de sorte que les paquets ajoutés pendant l'installation sont écrits sur le disque cible sur @file{/mnt} plutôt que gardés en mémoire. Cela est nécessaire parce que la première phase de la commande @command{guix system init} (voir plus bas) implique de télécharger ou de construire des éléments de @file{/gnu/store} qui est initialement un système de fichiers en mémoire." #. type: Plain text -#: doc/guix.texi:8744 +#: doc/guix.texi:9480 msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include GNU Zile (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system." msgstr "Ensuite, vous devrez modifier un fichier et fournir la déclaration du système à installer. Pour cela, le système d'installation propose trois éditeurs de texte. Nous recommandons GNU nano (@pxref{Top,,, nano, GNU nano Manual}), qui supporte la coloration syntaxique la correspondance de parenthèses ; les autres éditeurs sont GNU Zile (un clone d'Emacs) et nvi (un clone de l'éditeur @command{vi} original de BSD). Nous recommandons vivement de stocker ce fichier sur le système de fichier racine cible, disons en tant que @file{/mnt/etc/config.scm}. Sinon, vous perdrez votre fichier de configuration une fois que vous aurez redémarré sur votre nouveau système." #. type: Plain text -#: doc/guix.texi:8751 +#: doc/guix.texi:9487 msgid "@xref{Using the Configuration System}, for an overview of the configuration file. The example configurations discussed in that section are available under @file{/etc/configuration} in the installation image. Thus, to get started with a system configuration providing a graphical display server (a ``desktop'' system), you can run something along these lines:" msgstr "@xref{Using the Configuration System}, pour un aperçu de comment créer votre fichier de configuration. Les exemples de configuration dont on parle dans cette section sont disponibles dans @file{/etc/configuration} sur l'image d'installation. Ainsi, pour commencer avec une configuration du système qui fournit un serveur d'affichage graphique (un système de « bureau »), vous pouvez lancer ce qui suit :" #. type: example -#: doc/guix.texi:8756 +#: doc/guix.texi:9492 #, no-wrap msgid "" "# mkdir /mnt/etc\n" @@ -15531,124 +16782,124 @@ msgstr "" "# nano /mnt/etc/config.scm\n" #. type: Plain text -#: doc/guix.texi:8760 +#: doc/guix.texi:9496 msgid "You should pay attention to what your configuration file contains, and in particular:" msgstr "Vous devriez faire attention à ce que contient votre fichier de configuration, en particulier :" #. type: itemize -#: doc/guix.texi:8770 +#: doc/guix.texi:9506 msgid "Make sure the @code{bootloader-configuration} form refers to the target you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{target} field names a device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted EFI partition, like @code{/boot/efi}, and do make sure the path is actually mounted." msgstr "Assurez-vous que la forme @code{bootloader-configuration} se réfère à la cible où vous voulez installer GRUB. Elle devrait aussi mentionner @code{grub-bootloader} si vous installer GRUB en mode BIOS (ou « legacy ») ou @code{grub-efi-bootloader} pour les système UEFI plus récents. Pour les anciens systèmes, le champs @code{target} contient un périphérique comme @code{/dev/sda} ; pour les systèmes UEFI il contient un chemin vers une partition EFI montée, comme @code{/boot/efi}, et assurez-vous que ce chemin est bien monté." #. type: itemize -#: doc/guix.texi:8776 -msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration sets the value of @code{title} to @code{'label}." -msgstr "Assurez-vous que les étiquettes de vos systèmes de fichiers correspondent aux valeurs de leur champs @code{device} dans votre configuration @code{file-system}, en supposant que la configuration @code{file-system} utilise la valeur @code{'label} dans le champ @code{title}." +#: doc/guix.texi:9512 +msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration uses the @code{file-system-label} procedure in its @code{device} field." +msgstr "Assurez-vous que les étiquettes de vos systèmes de fichiers correspondent aux valeurs de leur champs @code{device} dans votre configuration @code{file-system}, en supposant que la configuration @code{file-system} utilise la procédure @code{file-system-label} dans son champ @code{device}." #. type: itemize -#: doc/guix.texi:8780 +#: doc/guix.texi:9516 msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})." msgstr "Si vous avez des partitions RAID ou chiffrées, assurez-vous d'ajouter un champ @code{mapped-device} pour les décrire (@pxref{Mapped Devices})." #. type: Plain text -#: doc/guix.texi:8785 +#: doc/guix.texi:9521 msgid "Once you are done preparing the configuration file, the new system must be initialized (remember that the target root file system is mounted under @file{/mnt}):" msgstr "Une fois que vous avez fini les préparatifs sur le fichier de configuration, le nouveau système peut être initialisé (rappelez-vous que le système de fichiers racine cible est dans @file{/mnt}) :" #. type: example -#: doc/guix.texi:8788 +#: doc/guix.texi:9524 #, no-wrap msgid "guix system init /mnt/etc/config.scm /mnt\n" msgstr "guix system init /mnt/etc/config.scm /mnt\n" #. type: Plain text -#: doc/guix.texi:8795 +#: doc/guix.texi:9531 msgid "This copies all the necessary files and installs GRUB on @file{/dev/sdX}, unless you pass the @option{--no-bootloader} option. For more information, @pxref{Invoking guix system}. This command may trigger downloads or builds of missing packages, which can take some time." msgstr "Cela copie tous les fichiers nécessaires et installe GRUB sur @file{/dev/sdX} à moins que vous ne passiez l'option @option{--no-bootloader}. Pour plus d'informations, @pxref{Invoking guix system}. Cette commande peut engendrer des téléchargements ou des constructions pour les paquets manquants, ce qui peut prendre du temps." #. type: Plain text -#: doc/guix.texi:8802 +#: doc/guix.texi:9538 msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords})." msgstr "Une fois que cette commande a terminée — et on l'espère réussi ! — vous pouvez lancer @command{reboot} et démarrer sur votre nouveau système. Le mot de passe @code{root} est d'abord vide ; les mots de passe des autres utilisateurs doivent être initialisés avec la commande @command{passwd} en tant que @code{root}, à mois que votre configuration ne spécifie autre chose (@pxref{user-account-password, mot de passe des comptes utilisateurs})." #. type: cindex -#: doc/guix.texi:8803 +#: doc/guix.texi:9539 #, no-wrap msgid "upgrading GuixSD" msgstr "mettre à jour GuixSD" #. type: Plain text -#: doc/guix.texi:8810 +#: doc/guix.texi:9546 msgid "From then on, you can update GuixSD whenever you want by running @command{guix pull} as @code{root} (@pxref{Invoking guix pull}), and then running @command{guix system reconfigure} to build a new system generation with the latest packages and services (@pxref{Invoking guix system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates})." msgstr "À partir de maintenant, vous pouvez mettre à jour GuixSD lorsque vous le souhaitez en lançant @command{guix pull} en tant que @code{root} (@pxref{Invoking guix pull}), puis en lançant @command{guix system reconfigure} pour construire une nouvelle génération du système avec les derniers paquets et les derniers services (@pxref{Invoking guix system}). Nous vous recommandons de le faire régulièrement pour que votre système inclus les dernières mises à jour de sécurité (@pxref{Security Updates})." #. type: Plain text -#: doc/guix.texi:8814 +#: doc/guix.texi:9550 msgid "Join us on @code{#guix} on the Freenode IRC network or on @file{guix-devel@@gnu.org} to share your experience---good or not so good." msgstr "Rejoignez-nous sur @code{#guix} sur le réseau IRC Freenode ou sur @file{guix-devel@@gnu.org} pour partager votre expérience — bonne ou mauvaise." #. type: subsection -#: doc/guix.texi:8816 +#: doc/guix.texi:9552 #, no-wrap msgid "Installing GuixSD in a Virtual Machine" msgstr "Installer GuixSD sur une machine virtuelle" #. type: cindex -#: doc/guix.texi:8818 +#: doc/guix.texi:9554 #, no-wrap msgid "virtual machine, GuixSD installation" msgstr "machine virtuelle, installation de GuixSD" #. type: cindex -#: doc/guix.texi:8819 +#: doc/guix.texi:9555 #, no-wrap msgid "virtual private server (VPS)" msgstr "serveur privé virtuel (VPS)" #. type: cindex -#: doc/guix.texi:8820 +#: doc/guix.texi:9556 #, no-wrap msgid "VPS (virtual private server)" msgstr "VPS (serveur privé virtuel)" #. type: Plain text -#: doc/guix.texi:8824 +#: doc/guix.texi:9560 msgid "If you'd like to install GuixSD in a virtual machine (VM) or on a virtual private server (VPS) rather than on your beloved machine, this section is for you." msgstr "Si vous souhaitez installer GuixSD sur une machine virtuelle (VM) ou un serveur privé virtuel (VPS) plutôt que sur votre machine chérie, cette section est faite pour vous." #. type: Plain text -#: doc/guix.texi:8827 +#: doc/guix.texi:9563 msgid "To boot a @uref{http://qemu.org/,QEMU} VM for installing GuixSD in a disk image, follow these steps:" msgstr "Pour démarrer une VM @uref{http://qemu.org/,QEMU} pour installer GuixSD sur une image disque, suivez ces étapes :" #. type: enumerate -#: doc/guix.texi:8832 +#: doc/guix.texi:9568 msgid "First, retrieve and decompress the GuixSD installation image as described previously (@pxref{USB Stick and DVD Installation})." msgstr "Tout d'abord récupérez et décompressez l'image d'installation de GuixSD comme décrit précédemment (@pxref{USB Stick and DVD Installation})." #. type: enumerate -#: doc/guix.texi:8836 +#: doc/guix.texi:9572 msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:" msgstr "Créez une image disque qui contiendra le système installé. Pour créer une image qcow2, utilise la commande @command{qemu-img} :" #. type: example -#: doc/guix.texi:8839 +#: doc/guix.texi:9575 #, no-wrap msgid "qemu-img create -f qcow2 guixsd.img 50G\n" msgstr "qemu-img create -f qcow2 guixsd.img 50G\n" #. type: enumerate -#: doc/guix.texi:8843 +#: doc/guix.texi:9579 msgid "The resulting file will be much smaller than 50 GB (typically less than 1 MB), but it will grow as the virtualized storage device is filled up." msgstr "Le fichier qui en résulte sera bien plus petit que les 50 Go (habituellement moins de 1 Mo) mais il grossira au fur et à mesure que le stockage virtuel grossira." #. type: enumerate -#: doc/guix.texi:8846 +#: doc/guix.texi:9582 msgid "Boot the USB installation image in an VM:" msgstr "Démarrez l'image d'installation USB dans une VM :" #. type: example -#: doc/guix.texi:8852 +#: doc/guix.texi:9588 #, no-wrap msgid "" "qemu-system-x86_64 -m 1024 -smp 1 \\\n" @@ -15662,141 +16913,193 @@ msgstr "" " -drive file=guixsd.img\n" #. type: enumerate -#: doc/guix.texi:8855 +#: doc/guix.texi:9591 msgid "The ordering of the drives matters." msgstr "L'ordre des périphérique est important" #. type: enumerate -#: doc/guix.texi:8859 +#: doc/guix.texi:9595 msgid "In the VM console, quickly press the @kbd{F12} key to enter the boot menu. Then press the @kbd{2} key and the @kbd{RET} key to validate your selection." msgstr "Dans la console de la VM, appuyez rapidement sur @kbd{F12} pour entrer dans le menu de démarrage. Ensuite appuyez sur @kbd{2} et la touche @kbd{Entrée} pour valider votre choix." #. type: enumerate -#: doc/guix.texi:8863 +#: doc/guix.texi:9599 msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions." msgstr "Vous êtes maintenant root dans la VM, continuez en suivant la procédure d'installation. @xref{Preparing for Installation}, et suivez les instructions." #. type: Plain text -#: doc/guix.texi:8868 +#: doc/guix.texi:9604 msgid "Once installation is complete, you can boot the system that's on your @file{guixsd.img} image. @xref{Running GuixSD in a VM}, for how to do that." msgstr "Une fois l'installation terminée, vous pouvez démarrer le système dans votre image @file{guixsd.img}. @xref{Running GuixSD in a VM}, pour une manière de faire." #. type: cindex -#: doc/guix.texi:8872 +#: doc/guix.texi:9608 #, no-wrap msgid "installation image" msgstr "image d'installation" #. type: Plain text -#: doc/guix.texi:8875 +#: doc/guix.texi:9611 msgid "The installation image described above was built using the @command{guix system} command, specifically:" msgstr "L'image d'installation décrite plus haut a été construite avec la commande @command{guix system}, plus précisément :" #. type: example -#: doc/guix.texi:8878 +#: doc/guix.texi:9614 #, no-wrap msgid "guix system disk-image gnu/system/install.scm\n" msgstr "guix system disk-image gnu/system/install.scm\n" #. type: Plain text -#: doc/guix.texi:8883 +#: doc/guix.texi:9619 msgid "Have a look at @file{gnu/system/install.scm} in the source tree, and see also @ref{Invoking guix system} for more information about the installation image." msgstr "Regardez le fichier @file{gnu/system/install.scm} dans l'arborescence des sources et regardez aussi @ref{Invoking guix system} pour plus d'informations sur l'image d'installation." #. type: subsection -#: doc/guix.texi:8884 +#: doc/guix.texi:9620 #, no-wrap msgid "Building the Installation Image for ARM Boards" msgstr "Construire l'image d'installation pour les cartes ARM" #. type: Plain text -#: doc/guix.texi:8888 +#: doc/guix.texi:9624 msgid "Many ARM boards require a specific variant of the @uref{http://www.denx.de/wiki/U-Boot/, U-Boot} bootloader." msgstr "De nombreuses cartes ARM requièrent une variante spécifique du chargeur d'amorçage @uref{http://www.denx.de/wiki/U-Boot/, U-Boot}." #. type: Plain text -#: doc/guix.texi:8892 +#: doc/guix.texi:9628 msgid "If you build a disk image and the bootloader is not available otherwise (on another boot drive etc), it's advisable to build an image that includes the bootloader, specifically:" msgstr "Si vous construisez une image disque et que le chargeur d'amorçage n'est pas disponible autrement (sur un autre périphérique d'amorçage etc), il est recommandé de construire une image qui inclus le chargeur d'amorçage, plus précisément :" #. type: example -#: doc/guix.texi:8895 +#: doc/guix.texi:9631 #, no-wrap msgid "guix system disk-image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n" msgstr "guix system disk-image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n" #. type: Plain text -#: doc/guix.texi:8899 +#: doc/guix.texi:9635 msgid "@code{A20-OLinuXino-Lime2} is the name of the board. If you specify an invalid board, a list of possible boards will be printed." msgstr "@code{A20-OLinuXino-Lime2} est le nom de la carte. Si vous spécifiez une carte invalide, une liste de cartes possibles sera affichée." #. type: cindex -#: doc/guix.texi:8903 +#: doc/guix.texi:9639 #, no-wrap msgid "system configuration" msgstr "configuration du système" #. type: Plain text -#: doc/guix.texi:8909 +#: doc/guix.texi:9645 msgid "The Guix System Distribution supports a consistent whole-system configuration mechanism. By that we mean that all aspects of the global system configuration---such as the available system services, timezone and locale settings, user accounts---are declared in a single place. Such a @dfn{system configuration} can be @dfn{instantiated}---i.e., effected." msgstr "La distribution système Guix utilise un mécanisme de configuration du système cohérent. On veut dire par là que tous les aspects de la configuration globale du système — comme la disponibilité des services système, des fuseaux horaires, des paramètres linguistiques, des comptes utilisateurs — sont déclarés à un seul endroit. Une telle @dfn{configuration système} peut être @dfn{instanciée}, c'est-à-dire entrer en vigueur." #. type: Plain text -#: doc/guix.texi:8919 +#: doc/guix.texi:9655 msgid "One of the advantages of putting all the system configuration under the control of Guix is that it supports transactional system upgrades, and makes it possible to roll back to a previous system instantiation, should something go wrong with the new one (@pxref{Features}). Another advantage is that it makes it easy to replicate the exact same configuration across different machines, or at different points in time, without having to resort to additional administration tools layered on top of the own tools of the system." msgstr "L'un des avantages de placer toute la configuration du système sous le contrôle de Guix est de permettre les mises à jour transactionnelles du système ce qui rend possible le fait de revenir en arrière à une instanciation précédent du système, si quelque chose se passait mal avec le nouveau (@pxref{Features}). Un autre avantage est de rendre facile la réplication de la même configuration sur plusieurs machines différentes ou à différents moments dans le temps, sans avoir à recourir à des outils d'administrations supplémentaires au-dessus des outils du système." #. type: Plain text -#: doc/guix.texi:8924 +#: doc/guix.texi:9660 msgid "This section describes this mechanism. First we focus on the system administrator's viewpoint---explaining how the system is configured and instantiated. Then we show how this mechanism can be extended, for instance to support new system services." msgstr "Cette section décrit ce mécanisme. Tout d'abord nous nous concentrons sur le point de vue de l'administrateur système en expliquant comment le système est configuré et instancié. Ensuite nous montrons comment ce mécanisme peut être étendu, par exemple pour supporter de nouveaux services systèmes." #. type: Plain text -#: doc/guix.texi:8951 +#: doc/guix.texi:9687 msgid "The operating system is configured by providing an @code{operating-system} declaration in a file that can then be passed to the @command{guix system} command (@pxref{Invoking guix system}). A simple setup, with the default system services, the default Linux-Libre kernel, initial RAM disk, and boot loader looks like this:" msgstr "Le système d'exploitation est configuré en fournissant une déclaration @code{operating-system} dans un fichier qui peut être passé à la command @command{guix system} (@pxref{Invoking guix system}). Une configuration simple, avec les services systèmes par défaut, le noyau Linux-Libre par défaut, un disque de RAM initial et un chargeur d'amorçage ressemble à ceci :" #. type: findex -#: doc/guix.texi:8952 +#: doc/guix.texi:9688 #, no-wrap msgid "operating-system" msgstr "operating-system" #. type: include -#: doc/guix.texi:8954 +#: doc/guix.texi:9690 #, no-wrap msgid "os-config-bare-bones.texi" msgstr "os-config-bare-bones.texi" #. type: Plain text -#: doc/guix.texi:8961 +#: doc/guix.texi:9697 msgid "This example should be self-describing. Some of the fields defined above, such as @code{host-name} and @code{bootloader}, are mandatory. Others, such as @code{packages} and @code{services}, can be omitted, in which case they get a default value." msgstr "Cet exemple devrait se comprendre de lui-même. Certains champs définis ci-dessus, comme @code{host-name} et @code{bootloader} sont obligatoires. D'autres comme @code{packages} et @code{services} peuvent être omis auquel cas ils ont une valeur par défaut." #. type: Plain text -#: doc/guix.texi:8966 +#: doc/guix.texi:9702 msgid "Below we discuss the effect of some of the most important fields (@pxref{operating-system Reference}, for details about all the available fields), and how to @dfn{instantiate} the operating system using @command{guix system}." msgstr "Ci-dessous nous discutons des effets de certains des champs les plus importants (@pxref{operating-system Reference}, pour des détails sur tous les champs disponibles) et comment @dfn{instancier} le système d'exploitation avec @command{guix system}." #. type: unnumberedsubsubsec -#: doc/guix.texi:8967 +#: doc/guix.texi:9703 +#, no-wrap +msgid "Bootloader" +msgstr "Bootloader" + +#. type: cindex +#: doc/guix.texi:9705 +#, no-wrap +msgid "legacy boot, on Intel machines" +msgstr "ancien système de démarrage, sur les machines Intel" + +#. type: cindex +#: doc/guix.texi:9706 +#, no-wrap +msgid "BIOS boot, on Intel machines" +msgstr "démarrage BIOS, sur les machines Intel" + +#. type: cindex +#: doc/guix.texi:9707 +#, no-wrap +msgid "UEFI boot" +msgstr "démarrage UEFI" + +#. type: cindex +#: doc/guix.texi:9708 +#, no-wrap +msgid "EFI boot" +msgstr "démarrage EFI" + +#. type: Plain text +#: doc/guix.texi:9714 +msgid "The @code{bootloader} field describes the method that will be used to boot your system. Machines based on Intel processors can boot in ``legacy'' BIOS mode, as in the example above. However, more recent machines rely instead on the @dfn{Unified Extensible Firmware Interface} (UEFI) to boot. In that case, the @code{bootloader} field should contain something along these lines:" +msgstr "Le champ @code{bootloader} décrit la méthode qui sera utilisée pour démarrer votre système. Les machines basées sur les processeurs Intel peuvent démarrer dans l'ancien mode BIOS, comme dans l'exemple au-dessus. Cependant, les machines plus récentes s'appuient sur l'UEFI (@dfn{Unified Extensible Firmware Interface}) pour démarrer. Dans ce cas, le champ @code{bootloader} devrait contenir quelque chose comme cela :" + +#. type: example +#: doc/guix.texi:9719 +#, no-wrap +msgid "" +"(bootloader-configuration\n" +" (bootloader grub-efi-bootloader)\n" +" (target \"/boot/efi\"))\n" +msgstr "" +"(bootloader-configuration\n" +" (bootloader grub-efi-bootloader)\n" +" (target \"/boot/efi\"))\n" + +#. type: Plain text +#: doc/guix.texi:9723 +msgid "@xref{Bootloader Configuration}, for more information on the available configuration options." +msgstr "@xref{Bootloader Configuration}, pour plus d'informations sur les options de configuration disponibles." + +#. type: unnumberedsubsubsec +#: doc/guix.texi:9724 #, no-wrap msgid "Globally-Visible Packages" msgstr "Paquets visibles sur tout le système" #. type: vindex -#: doc/guix.texi:8969 +#: doc/guix.texi:9726 #, no-wrap msgid "%base-packages" msgstr "%base-packages" #. type: Plain text -#: doc/guix.texi:8982 -msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @code{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @var{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the GNU Zile lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen and OpenSSH to those, taken from the @code{(gnu packages screen)} and @code{(gnu packages ssh)} modules (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:" -msgstr "Le champ @code{packages} liste les paquets qui seront visibles sur tout le système, pour tous les comptes utilisateurs — c.-à-d.@: dans la variable d'environnement @code{PATH} de tous les utilisateurs — en plus des paquets par profil (@pxref{Invoking guix package}). La variable @var{%base-packages} fournit tous les outils qu'on pourrait attendre pour les taches de base de l'administrateur et de l'utilisateur — dont les GNU Core Utilities, les GNU Networking Utilities, l'éditeur de texte léger GNU Zile, @command{find}, @command{grep}, etc. L'exemple au-dessus ajout GNU@tie{}Screen et OpenSSH à ces paquets, récupérés depuis les modules @code{(gnu packages screen)} et @code{(gnu packages ssh)} (@pxref{Package Modules}). La syntaxe @code{(list paquet sortie)} peut être utilisée pour ajouter une sortie spécifique d'un paquet :" +#: doc/guix.texi:9739 +msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @code{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @var{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the GNU Zile lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen to those, taken from the @code{(gnu packages screen)} module (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:" +msgstr "Le champ @code{packages} liste les paquets qui seront visibles sur tout le système, pour tous les comptes utilisateurs — c.-à-d.@: dans la variable d'environnement @code{PATH} de tous les utilisateurs — en plus des profils utilisateurs (@pxref{Invoking guix package}). La variable @var{%base-packages} fournit tous les outils qu'on pourrait attendre pour les taches de base de l'administrateur et de l'utilisateur — dont les GNU Core Utilities, les GNU Networking Utilities, l'éditeur de texte léger GNU Zile, @command{find}, @command{grep}, etc. L'exemple au-dessus ajoute GNU@tie{}Screen à ces paquets, récupéré depuis le module @code{(gnu packages screen)} (@pxref{Package Modules}). Vous pouvez utiliser la syntaxe @code{(list paquet sortie)} pour ajouter une sortie spécifique d'un paquet :" #. type: lisp -#: doc/guix.texi:8986 +#: doc/guix.texi:9743 #, no-wrap msgid "" "(use-modules (gnu packages))\n" @@ -15808,7 +17111,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:8991 +#: doc/guix.texi:9748 #, no-wrap msgid "" "(operating-system\n" @@ -15822,18 +17125,18 @@ msgstr "" " %base-packages)))\n" #. type: findex -#: doc/guix.texi:8993 +#: doc/guix.texi:9750 #, no-wrap msgid "specification->package" msgstr "specification->package" #. type: Plain text -#: doc/guix.texi:9002 +#: doc/guix.texi:9759 msgid "Referring to packages by variable name, like @code{bind} above, has the advantage of being unambiguous; it also allows typos and such to be diagnosed right away as ``unbound variables''. The downside is that one needs to know which module defines which package, and to augment the @code{use-package-modules} line accordingly. To avoid that, one can use the @code{specification->package} procedure of the @code{(gnu packages)} module, which returns the best package for a given name or name and version:" msgstr "Se référer aux paquets par le nom de leur variable, comme @code{bind} ci-dessus, a l'avantage d'être sans ambiguïté ; cela permet aussi de se rendre rapidement compte de coquilles quand on a des « variables non liées ». L'inconvénient est qu'on a besoin de savoir dans quel module est défini le paquet, et de modifier la ligne @code{use-package-modules} en conséquence. Pour éviter cela, on peut utiliser la procédure @code{specification->package} du module @code{(gnu packages)}, qui renvoie le meilleur paquet pour un nom donné ou un nom et une version :" #. type: lisp -#: doc/guix.texi:9005 +#: doc/guix.texi:9762 #, no-wrap msgid "" "(use-modules (gnu packages))\n" @@ -15843,7 +17146,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:9011 +#: doc/guix.texi:9768 #, no-wrap msgid "" "(operating-system\n" @@ -15859,52 +17162,52 @@ msgstr "" " %base-packages)))\n" #. type: unnumberedsubsubsec -#: doc/guix.texi:9013 +#: doc/guix.texi:9770 #, no-wrap msgid "System Services" msgstr "Services systèmes" #. type: cindex -#: doc/guix.texi:9015 doc/guix.texi:20417 doc/guix.texi:21335 +#: doc/guix.texi:9772 doc/guix.texi:21862 doc/guix.texi:22793 #, no-wrap msgid "services" msgstr "services" #. type: vindex -#: doc/guix.texi:9016 +#: doc/guix.texi:9773 #, no-wrap msgid "%base-services" msgstr "%base-services" #. type: Plain text -#: doc/guix.texi:9026 +#: doc/guix.texi:9783 msgid "The @code{services} field lists @dfn{system services} to be made available when the system starts (@pxref{Services}). The @code{operating-system} declaration above specifies that, in addition to the basic services, we want the @command{lshd} secure shell daemon listening on port 2222 (@pxref{Networking Services, @code{lsh-service}}). Under the hood, @code{lsh-service} arranges so that @code{lshd} is started with the right command-line options, possibly with supporting configuration files generated as needed (@pxref{Defining Services})." msgstr "Le champ @code{services} liste les @dfn{services système} à rendre disponible lorsque le système démarre (@pxref{Services}). La déclaration @code{operating-system} au-dessus spécifie que, en plus des services de base, on veut que le démon ssh @command{lshd} écoute sur le port 2222 (@pxref{Networking Services, @code{lsh-service}}). Sous le capot, @code{lsh-service} s'arrange pour que @code{lshd} soit lancé avec les bonnes options de la ligne de commande, éventuellement en générant des fichiers de configuration (@pxref{Defining Services})." #. type: cindex -#: doc/guix.texi:9027 +#: doc/guix.texi:9784 #, no-wrap msgid "customization, of services" msgstr "personnalisation des services" #. type: findex -#: doc/guix.texi:9028 +#: doc/guix.texi:9785 #, no-wrap msgid "modify-services" msgstr "modify-services" #. type: Plain text -#: doc/guix.texi:9032 +#: doc/guix.texi:9789 msgid "Occasionally, instead of using the base services as is, you will want to customize them. To do this, use @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) to modify the list." msgstr "Parfois, plutôt que d'utiliser les services de base tels-quels, on peut vouloir les personnaliser. Pour cela, utilisez @code{modify-services} (@pxref{Service Reference, @code{modify-services}}) pour modifier la liste." #. type: Plain text -#: doc/guix.texi:9037 +#: doc/guix.texi:9794 msgid "For example, suppose you want to modify @code{guix-daemon} and Mingetty (the console log-in) in the @var{%base-services} list (@pxref{Base Services, @code{%base-services}}). To do that, you can write the following in your operating system declaration:" msgstr "Par exemple, supposons que vous souhaitiez modifier @code{guix-daemon} et Mingetty (l'écran de connexion en console) dans la liste @var{%base-services} (@pxref{Base Services, @code{%base-services}}). Pour cela, vous pouvez écrire ce qui suit dans votre déclaration de système d'exploitation :" #. type: lisp -#: doc/guix.texi:9050 +#: doc/guix.texi:9807 #, no-wrap msgid "" "(define %my-services\n" @@ -15933,7 +17236,7 @@ msgstr "" " (inherit config)))))\n" #. type: lisp -#: doc/guix.texi:9054 +#: doc/guix.texi:9811 #, no-wrap msgid "" "(operating-system\n" @@ -15945,55 +17248,49 @@ msgstr "" " (services %my-services))\n" #. type: Plain text -#: doc/guix.texi:9065 +#: doc/guix.texi:9822 msgid "This changes the configuration---i.e., the service parameters---of the @code{guix-service-type} instance, and that of all the @code{mingetty-service-type} instances in the @var{%base-services} list. Observe how this is accomplished: first, we arrange for the original configuration to be bound to the identifier @code{config} in the @var{body}, and then we write the @var{body} so that it evaluates to the desired configuration. In particular, notice how we use @code{inherit} to create a new configuration which has the same values as the old configuration, but with a few modifications." msgstr "Cela modifie la configuration — c.-à-d.@: les paramètres du service — de l'instance de @code{guix-service-type}, et de toutes les instances de @code{mingetty-service-type} dans la liste @var{%base-services}. Remarquez comment on fait cela : d'abord, on s'arrange pour que la configuration de départ soit liée à l'identifiant @code{config} dans @var{body} puis on écrit @var{body} pour qu'il s'évalue en la configuration désirée. En particulier, remarquez comment on utilise @code{inherit} pour créer une nouvelle configuration qui a les même valeurs que l'ancienne configuration, avec seulement quelques modifications." #. type: Plain text -#: doc/guix.texi:9072 +#: doc/guix.texi:9829 msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:" msgstr "La configuration pour une utilisation de « bureau » typique, avec une partition racine chiffrée, le serveur d'affichage X11, GNOME et Xfce (les utilisateurs peuvent choisir l'environnement de bureau sur l'écran de connexion en appuyant sur @kbd{F1}), la gestion du réseau, la gestion de l'énergie, et bien plus, ressemblerait à ceci :" #. type: include -#: doc/guix.texi:9074 +#: doc/guix.texi:9831 #, no-wrap msgid "os-config-desktop.texi" msgstr "os-config-desktop.texi" -#. type: cindex -#: doc/guix.texi:9077 -#, no-wrap -msgid "UEFI" -msgstr "UEFI" - #. type: Plain text -#: doc/guix.texi:9080 -msgid "A graphical UEFI system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:" -msgstr "Un système UEFI graphique avec un panel de gestionnaires de fenêtres légers plutôt que des environnements de bureaux complets ressemblerait à ceci :" +#: doc/guix.texi:9836 +msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:" +msgstr "Un système graphique avec un choix de gestionnaires de fenêtres légers plutôt que des environnement de bureaux complets ressemblerait à cela :" #. type: include -#: doc/guix.texi:9082 +#: doc/guix.texi:9838 #, no-wrap msgid "os-config-lightweight-desktop.texi" msgstr "os-config-lightweight-desktop.texi" #. type: Plain text -#: doc/guix.texi:9088 +#: doc/guix.texi:9844 msgid "This example refers to the @file{/boot/efi} file system by its UUID, @code{1234-ABCD}. Replace this UUID with the right UUID on your system, as returned by the @command{blkid} command." msgstr "Cet exemple se réfère au système de fichier @file{/boot/efi} par son UUID, @code{1234-ABCD}. Remplacez cet UUID par le bon UUID de votre système, renvoyé par la commande @command{blkid}." #. type: Plain text -#: doc/guix.texi:9092 +#: doc/guix.texi:9848 msgid "@xref{Desktop Services}, for the exact list of services provided by @var{%desktop-services}. @xref{X.509 Certificates}, for background information about the @code{nss-certs} package that is used here." msgstr "@xref{Desktop Services}, pour la liste exacte des services fournis par @var{%desktop-services}. @xref{X.509 Certificates}, pour des informations sur le paquet @code{nss-certs} utilisé ici." #. type: Plain text -#: doc/guix.texi:9099 +#: doc/guix.texi:9855 msgid "Again, @var{%desktop-services} is just a list of service objects. If you want to remove services from there, you can do so using the procedures for list filtering (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile Reference Manual}). For instance, the following expression returns a list that contains all the services in @var{%desktop-services} minus the Avahi service:" msgstr "Encore une fois, @var{%desktop-services} n'est qu'une liste d'objets service. Si vous voulez en supprimer des services, vous pouvez le faire avec des procédures pour les listes (@pxref{SRFI-1 Filtering and Partitioning,,, guile, GNU Guile Reference Manual}). Par exemple, l'expression suivante renvoie une liste qui contient tous les services dans @var{%desktop-services} sauf le service Avahi :" #. type: example -#: doc/guix.texi:9104 +#: doc/guix.texi:9860 #, no-wrap msgid "" "(remove (lambda (service)\n" @@ -16005,288 +17302,288 @@ msgstr "" " %desktop-services)\n" #. type: unnumberedsubsubsec -#: doc/guix.texi:9106 +#: doc/guix.texi:9862 #, no-wrap msgid "Instantiating the System" msgstr "Instancier le système" #. type: Plain text -#: doc/guix.texi:9113 +#: doc/guix.texi:9869 msgid "Assuming the @code{operating-system} declaration is stored in the @file{my-system-config.scm} file, the @command{guix system reconfigure my-system-config.scm} command instantiates that configuration, and makes it the default GRUB boot entry (@pxref{Invoking guix system})." msgstr "En supposant que la déclaration @code{operating-system} est stockée dans le fichier @file{my-system-config.scm}, la commande @command{guix system reconfigure my-system-config.scm} instancie cette configuration et en fait l'entrée par défaut dans GRUB (@pxref{Invoking guix system})." #. type: Plain text -#: doc/guix.texi:9121 +#: doc/guix.texi:9877 msgid "The normal way to change the system configuration is by updating this file and re-running @command{guix system reconfigure}. One should never have to touch files in @file{/etc} or to run commands that modify the system state such as @command{useradd} or @command{grub-install}. In fact, you must avoid that since that would not only void your warranty but also prevent you from rolling back to previous versions of your system, should you ever need to." msgstr "Pour changer la configuration du système, on met normalement à jour ce fichier et on relance @command{guix system reconfigure}. On ne devrait jamais avoir à modifier de fichiers dans @file{/etc} ou à lancer des commandes qui modifient l'état du système comme @command{useradd} ou @command{grub-install}. En fait, vous devez les éviter parce que non seulement ça annulerait vos garanties, mais ça empêcherait aussi de revenir à des versions précédents du système, si vous en avez besoin." #. type: cindex -#: doc/guix.texi:9122 +#: doc/guix.texi:9878 #, no-wrap msgid "roll-back, of the operating system" msgstr "revenir en arrière dans la configuration du système" #. type: Plain text -#: doc/guix.texi:9132 +#: doc/guix.texi:9888 msgid "Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the system via the commands @command{guix system roll-back} and @command{guix system switch-generation}." msgstr "En parlant de revenir en arrière, à chaque fois que vous lancez @command{guix system reconfigure}, une nouvelle @dfn{génération} du système est crée — sans modifier ou supprimer les générations précédentes. Les anciennes générations du système ont une entrée dans le menu du chargeur d'amorçage, ce qui vous permet de démarrer dessus au cas où quelque chose se serait mal passé avec la dernière génération. C'est rassurant, non ? La commande @command{guix system list-generations} liste les générations du système disponibles sur le disque. Il est possible de revenir à une ancienne génération via les commandes @command{guix system roll-back} et @command{guix system switch-generation}." #. type: Plain text -#: doc/guix.texi:9138 -msgid "Although the command @command{guix system reconfigure} will not modify previous generations, must take care when the current generation is not the latest (e.g., after invoking @command{guix system roll-back}), since the operation might overwrite a later generation (@pxref{Invoking guix system})." +#: doc/guix.texi:9894 +msgid "Although the @command{guix system reconfigure} command will not modify previous generations, you must take care when the current generation is not the latest (e.g., after invoking @command{guix system roll-back}), since the operation might overwrite a later generation (@pxref{Invoking guix system})." msgstr "Bien que la commande @command{guix system reconfigure} ne modifiera pas les générations précédentes, vous devez faire attention lorsque votre génération actuelle n'est pas la dernière (p.@: ex.@: après avoir invoqué @command{guix system roll-back}), puisque l'opération pourrait remplacer une génération suivante (@pxref{Invoking guix system})." #. type: unnumberedsubsubsec -#: doc/guix.texi:9139 +#: doc/guix.texi:9895 #, no-wrap msgid "The Programming Interface" msgstr "L'interface de programmation" #. type: Plain text -#: doc/guix.texi:9144 +#: doc/guix.texi:9900 msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):" msgstr "Au niveau Scheme, la grosse déclaration @code{operating-system} est instanciée avec la procédure monadique suivante (@pxref{The Store Monad}) :" #. type: deffn -#: doc/guix.texi:9145 +#: doc/guix.texi:9901 #, no-wrap msgid "{Monadic Procedure} operating-system-derivation os" -msgstr "{Procédure Monadique} operating-system-derivation os" +msgstr "{Procédure monadique} operating-system-derivation os" #. type: deffn -#: doc/guix.texi:9148 +#: doc/guix.texi:9904 msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})." msgstr "Renvoie une dérivation qui construit @var{os}, un objet @code{operating-system} (@pxref{Derivations})." #. type: deffn -#: doc/guix.texi:9152 +#: doc/guix.texi:9908 msgid "The output of the derivation is a single directory that refers to all the packages, configuration files, and other supporting files needed to instantiate @var{os}." msgstr "La sortie de la dérivation est un répertoire qui se réfère à tous les paquets et d'autres fichiers supports requis pour instancier @var{os}." #. type: Plain text -#: doc/guix.texi:9157 +#: doc/guix.texi:9913 msgid "This procedure is provided by the @code{(gnu system)} module. Along with @code{(gnu services)} (@pxref{Services}), this module contains the guts of GuixSD. Make sure to visit it!" msgstr "Cette procédure est fournie par le module @code{(gnu system)}. Avec @code{(gnu srevices)} (@pxref{Services}), ce module contient les entrailles de GuixSD. Ouvrez-le un jour !" #. type: subsection -#: doc/guix.texi:9160 +#: doc/guix.texi:9916 #, no-wrap msgid "@code{operating-system} Reference" msgstr "Référence de @code{operating-system}" #. type: Plain text -#: doc/guix.texi:9165 +#: doc/guix.texi:9921 msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})." msgstr "Cette section résume toutes les options disponibles dans les déclarations @code{operating-system} (@pxref{Using the Configuration System})." #. type: deftp -#: doc/guix.texi:9166 +#: doc/guix.texi:9922 #, no-wrap msgid "{Data Type} operating-system" msgstr "{Type de données} operating-system" #. type: deftp -#: doc/guix.texi:9170 +#: doc/guix.texi:9926 msgid "This is the data type representing an operating system configuration. By that, we mean all the global system configuration, not per-user configuration (@pxref{Using the Configuration System})." msgstr "C'est le type de données représentant une configuration d'un système d'exploitation. On veut dire par là toute la configuration globale du système, mais pas la configuration par utilisateur (@pxref{Using the Configuration System})." #. type: item -#: doc/guix.texi:9172 +#: doc/guix.texi:9928 #, no-wrap msgid "@code{kernel} (default: @var{linux-libre})" msgstr "@code{kernel} (par défaut : @var{linux-libre})" #. type: table -#: doc/guix.texi:9176 +#: doc/guix.texi:9932 msgid "The package object of the operating system kernel to use@footnote{Currently only the Linux-libre kernel is supported. In the future, it will be possible to use the GNU@tie{}Hurd.}." msgstr "L'objet paquet d'un noyau de système d'exploitation à utiliser@footnote{Actuellement seul le noyau Linux-libre est supporté. Dans le futur, il sera possible d'utiliser GNU@tie{}Hurd.}." #. type: item -#: doc/guix.texi:9177 +#: doc/guix.texi:9933 #, no-wrap msgid "@code{kernel-arguments} (default: @code{'()})" msgstr "@code{kernel-arguments} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:9180 +#: doc/guix.texi:9936 msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}." msgstr "Liste de chaînes ou de gexps représentant des arguments supplémentaires à passer sur la ligne de commande du noyau — p.@: ex.@: @code{(\"console=ttyS0\")}." #. type: code{#1} -#: doc/guix.texi:9181 doc/guix.texi:20614 doc/guix.texi:20633 +#: doc/guix.texi:9937 doc/guix.texi:22059 doc/guix.texi:22078 #, no-wrap msgid "bootloader" msgstr "bootloader" #. type: table -#: doc/guix.texi:9183 +#: doc/guix.texi:9939 msgid "The system bootloader configuration object. @xref{Bootloader Configuration}." msgstr "L'objet de configuration du chargeur d'amorçage. @xref{Bootloader Configuration}." #. type: item -#: doc/guix.texi:9184 +#: doc/guix.texi:9940 #, no-wrap msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})" msgstr "@code{initrd-modules} (par défaut : @code{%base-initrd-modules})" #. type: code{#1} -#: doc/guix.texi:9185 doc/guix.texi:20454 doc/guix.texi:20557 -#: doc/guix.texi:20752 +#: doc/guix.texi:9941 doc/guix.texi:21899 doc/guix.texi:22002 +#: doc/guix.texi:22210 #, no-wrap msgid "initrd" msgstr "initrd" #. type: cindex -#: doc/guix.texi:9186 doc/guix.texi:20455 doc/guix.texi:20558 +#: doc/guix.texi:9942 doc/guix.texi:21900 doc/guix.texi:22003 #, no-wrap msgid "initial RAM disk" msgstr "disque de RAM initial" #. type: table -#: doc/guix.texi:9189 +#: doc/guix.texi:9945 msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}." msgstr "La liste des modules du noyau linux requis dans l'image disque de RAM initiale. @xref{Initial RAM Disk}." #. type: item -#: doc/guix.texi:9190 +#: doc/guix.texi:9946 #, no-wrap msgid "@code{initrd} (default: @code{base-initrd})" msgstr "@code{initrd} (par défaut : @code{base-initrd})" #. type: table -#: doc/guix.texi:9194 -msgid "A monadic procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}." -msgstr "Une procédure monadique qui renvoie un disque de RAM initial pour le noyau Linux. Ce champ est fournit pour pouvoir personnaliser son système à bas-niveau et n'est que rarement utile dans le cas général. @xref{Initial RAM Disk}." +#: doc/guix.texi:9950 +msgid "A procedure that returns an initial RAM disk for the Linux kernel. This field is provided to support low-level customization and should rarely be needed for casual use. @xref{Initial RAM Disk}." +msgstr "Une procédure qui renvoie un disque de RAM initial pour le noyau Linux. Ce champ est fournit pour pouvoir personnaliser son système à bas-niveau et n'est que rarement utile dans le cas général. @xref{Initial RAM Disk}." #. type: item -#: doc/guix.texi:9195 +#: doc/guix.texi:9951 #, no-wrap msgid "@code{firmware} (default: @var{%base-firmware})" msgstr "@code{firmware} (par défaut : @var{%base-firmware})" #. type: cindex -#: doc/guix.texi:9196 +#: doc/guix.texi:9952 #, no-wrap msgid "firmware" msgstr "firmware" #. type: table -#: doc/guix.texi:9198 +#: doc/guix.texi:9954 msgid "List of firmware packages loadable by the operating system kernel." msgstr "Liste les paquets de microgiciels chargeables pour le noyau de système d'exploitation." #. type: table -#: doc/guix.texi:9203 +#: doc/guix.texi:9959 msgid "The default includes firmware needed for Atheros- and Broadcom-based WiFi devices (Linux-libre modules @code{ath9k} and @code{b43-open}, respectively). @xref{Hardware Considerations}, for more info on supported hardware." msgstr "La valeur par défaut contient les microgiciels requis pour les périphériques WiFi Atheros et Broadcom (modules @code{ath9k} et @code{b43-open} de Linux-libre, respectivement). @xref{Hardware Considerations}, pour plus d'info sur les périphériques supportés." #. type: code{#1} -#: doc/guix.texi:9204 +#: doc/guix.texi:9960 #, no-wrap msgid "host-name" msgstr "host-name" #. type: table -#: doc/guix.texi:9206 +#: doc/guix.texi:9962 msgid "The host name." msgstr "Le nom d'hôte." #. type: code{#1} -#: doc/guix.texi:9207 +#: doc/guix.texi:9963 #, no-wrap msgid "hosts-file" msgstr "hosts-file" #. type: cindex -#: doc/guix.texi:9208 +#: doc/guix.texi:9964 #, no-wrap msgid "hosts file" msgstr "fichier hosts" #. type: table -#: doc/guix.texi:9213 +#: doc/guix.texi:9969 msgid "A file-like object (@pxref{G-Expressions, file-like objects}) for use as @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). The default is a file with entries for @code{localhost} and @var{host-name}." msgstr "Un objet simili-fichier (@pxref{G-Expressions, file-like objects}) à utiliser comme @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). La valeur par défaut est un fichier avec des entrées pour @code{localhost} et @var{host-name}." #. type: item -#: doc/guix.texi:9214 +#: doc/guix.texi:9970 #, no-wrap msgid "@code{mapped-devices} (default: @code{'()})" msgstr "@code{mapped-devices} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:9216 +#: doc/guix.texi:9972 msgid "A list of mapped devices. @xref{Mapped Devices}." msgstr "Une liste de périphériques mappés. @xref{Mapped Devices}." #. type: code{#1} -#: doc/guix.texi:9217 +#: doc/guix.texi:9973 #, no-wrap msgid "file-systems" msgstr "file-systems" #. type: table -#: doc/guix.texi:9219 +#: doc/guix.texi:9975 msgid "A list of file systems. @xref{File Systems}." msgstr "Une liste de systèmes de fichiers. @xref{File Systems}." #. type: item -#: doc/guix.texi:9220 +#: doc/guix.texi:9976 #, no-wrap msgid "@code{swap-devices} (default: @code{'()})" msgstr "@code{swap-devices} (par défaut : @code{'()})" #. type: cindex -#: doc/guix.texi:9221 +#: doc/guix.texi:9977 #, no-wrap msgid "swap devices" msgstr "espaces d'échange" #. type: table -#: doc/guix.texi:9228 +#: doc/guix.texi:9984 msgid "A list of strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). For example, @code{'(\"/dev/sda3\")} or @code{'(\"/swapfile\")}. It is possible to specify a swap file in a file system on a mapped device, provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}." msgstr "Une liste de chaînes identifiant les périphériques ou les fichiers utilisé pour « l'espace d'échange » (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). Par exemple, @code{'(\"/dev/sda3\")} ou @code{'(\"/swapfile\")}. Il est possible de spécifier un fichier d'échange sur un périphérique mappé, tant que le périphérique nécessaire et le système de fichiers sont aussi spécifiés. @xref{Mapped Devices} et @ref{File Systems}." #. type: item -#: doc/guix.texi:9229 +#: doc/guix.texi:9985 #, no-wrap msgid "@code{users} (default: @code{%base-user-accounts})" msgstr "@code{users} (par défaut : @code{%base-user-accounts})" #. type: itemx -#: doc/guix.texi:9230 +#: doc/guix.texi:9986 #, no-wrap msgid "@code{groups} (default: @var{%base-groups})" msgstr "@code{groups} (par défaut : @var{%base-groups})" #. type: table -#: doc/guix.texi:9232 +#: doc/guix.texi:9988 msgid "List of user accounts and groups. @xref{User Accounts}." msgstr "Liste les comptes utilisateurs et les groupes. @xref{User Accounts}." #. type: table -#: doc/guix.texi:9235 +#: doc/guix.texi:9991 msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added." msgstr "Si la liste @code{users} n'a pas de compte lié à l'UID@tie{}0, un compte « root » avec l'UID@tie{}0 est automatiquement ajouté." #. type: item -#: doc/guix.texi:9236 +#: doc/guix.texi:9992 #, no-wrap msgid "@code{skeletons} (default: @code{(default-skeletons)})" msgstr "@code{skeletons} (par défaut : @code{(default-skeletons)})" #. type: table -#: doc/guix.texi:9240 +#: doc/guix.texi:9996 msgid "A list target file name/file-like object tuples (@pxref{G-Expressions, file-like objects}). These are the skeleton files that will be added to the home directory of newly-created user accounts." msgstr "Une liste de couples composés d'un nom de fichier cible et d'un objet simili-fichier (@pxref{G-Expressions, file-like objects}). Ce sont les fichiers squelettes qui seront ajoutés au répertoire personnel des comptes utilisateurs nouvellement créés." #. type: table -#: doc/guix.texi:9242 +#: doc/guix.texi:9998 msgid "For instance, a valid value may look like this:" msgstr "Par exemple, un valeur valide ressemblerait à cela :" #. type: example -#: doc/guix.texi:9248 +#: doc/guix.texi:10004 #, no-wrap msgid "" "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n" @@ -16300,166 +17597,166 @@ msgstr "" " (activate-readline)\")))\n" #. type: item -#: doc/guix.texi:9250 +#: doc/guix.texi:10006 #, no-wrap msgid "@code{issue} (default: @var{%default-issue})" msgstr "@code{issue} (par défaut : @var{%default-issue})" #. type: table -#: doc/guix.texi:9253 +#: doc/guix.texi:10009 msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console." msgstr "Une chaîne qui dénote le contenu du fichier @file{/etc/issue} qui est affiché lorsqu'un utilisateur se connecte sur la console." #. type: item -#: doc/guix.texi:9254 +#: doc/guix.texi:10010 #, no-wrap msgid "@code{packages} (default: @var{%base-packages})" msgstr "@code{packages} (par défaut : @var{%base-packages})" #. type: table -#: doc/guix.texi:9257 +#: doc/guix.texi:10013 msgid "The set of packages installed in the global profile, which is accessible at @file{/run/current-system/profile}." msgstr "L'ensemble des paquets installés dans le profil global, qui est accessible à partir de @file{/run/current-system/profile}." #. type: table -#: doc/guix.texi:9261 +#: doc/guix.texi:10017 msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})." msgstr "L'ensemble par défaut contient les utilitaires de base et c'est une bonne pratique d'installer les utilitaires non essentiels dans les profils utilisateurs (@pxref{Invoking guix package})." #. type: code{#1} -#: doc/guix.texi:9262 +#: doc/guix.texi:10018 #, no-wrap msgid "timezone" msgstr "timezone" #. type: table -#: doc/guix.texi:9264 +#: doc/guix.texi:10020 msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}." msgstr "Une chaîne identifiant un fuseau horaire — p.@: ex.@: @code{\"Europe/Paris\"}." #. type: table -#: doc/guix.texi:9268 +#: doc/guix.texi:10024 msgid "You can run the @command{tzselect} command to find out which timezone string corresponds to your region. Choosing an invalid timezone name causes @command{guix system} to fail." msgstr "Vous pouvez lancer la commande @command{tzselect} pour trouver le fuseau horaire correspondant à votre région. Si vous choisissez un nom de fuseau horaire invalide, @command{guix system} échouera." #. type: item -#: doc/guix.texi:9269 +#: doc/guix.texi:10025 #, no-wrap msgid "@code{locale} (default: @code{\"en_US.utf8\"})" msgstr "@code{locale} (par défaut : @code{\"en_US.utf8\"})" #. type: table -#: doc/guix.texi:9272 +#: doc/guix.texi:10028 msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information." msgstr "Le nom du paramètre régional par défaut (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, pour plus d'informations." #. type: item -#: doc/guix.texi:9273 +#: doc/guix.texi:10029 #, no-wrap msgid "@code{locale-definitions} (default: @var{%default-locale-definitions})" msgstr "@code{locale-definitions} (par défaut : @var{%default-locale-definitions})" #. type: table -#: doc/guix.texi:9276 +#: doc/guix.texi:10032 msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}." msgstr "La liste des définitions de locales à compiler et qui devraient être utilisées à l'exécution. @xref{Locales}." #. type: item -#: doc/guix.texi:9277 +#: doc/guix.texi:10033 #, no-wrap msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})" msgstr "@code{locale-libcs} (par défaut : @code{(list @var{glibc})})" #. type: table -#: doc/guix.texi:9281 +#: doc/guix.texi:10037 msgid "The list of GNU@tie{}libc packages whose locale data and tools are used to build the locale definitions. @xref{Locales}, for compatibility considerations that justify this option." msgstr "La liste des paquets GNU@tie{}libc dont les données des paramètres linguistiques sont utilisées pour construire les définitions des paramètres linguistiques. @xref{Locales}, pour des considérations sur la compatibilité qui justifient cette option." #. type: item -#: doc/guix.texi:9282 +#: doc/guix.texi:10038 #, no-wrap msgid "@code{name-service-switch} (default: @var{%default-nss})" msgstr "@code{name-service-switch} (par défaut : @var{%default-nss})" #. type: table -#: doc/guix.texi:9286 +#: doc/guix.texi:10042 msgid "Configuration of the libc name service switch (NSS)---a @code{} object. @xref{Name Service Switch}, for details." msgstr "La configuration de NSS de la libc (name service switch) — un objet @code{}. @xref{Name Service Switch}, pour des détails." #. type: item -#: doc/guix.texi:9287 +#: doc/guix.texi:10043 #, no-wrap msgid "@code{services} (default: @var{%base-services})" msgstr "@code{services} (par défaut : @var{%base-services})" #. type: table -#: doc/guix.texi:9289 +#: doc/guix.texi:10045 msgid "A list of service objects denoting system services. @xref{Services}." msgstr "Une liste d'objets services qui dénotent les services du système. @xref{Services}." #. type: item -#: doc/guix.texi:9290 +#: doc/guix.texi:10046 #, no-wrap msgid "@code{pam-services} (default: @code{(base-pam-services)})" msgstr "@code{pam-services} (par défaut : @code{(base-pam-services)})" #. type: cindex -#: doc/guix.texi:9291 +#: doc/guix.texi:10047 #, no-wrap msgid "PAM" msgstr "PAM" #. type: cindex -#: doc/guix.texi:9292 +#: doc/guix.texi:10048 #, no-wrap msgid "pluggable authentication modules" msgstr "pluggable authentication modules" #. type: table -#: doc/guix.texi:9295 +#: doc/guix.texi:10051 msgid "Linux @dfn{pluggable authentication module} (PAM) services." msgstr "Services PAM (@dfn{pluggable authentication module}) Linux." #. type: item -#: doc/guix.texi:9296 +#: doc/guix.texi:10052 #, no-wrap msgid "@code{setuid-programs} (default: @var{%setuid-programs})" msgstr "@code{setuid-programs} (par défaut : @var{%setuid-programs})" #. type: table -#: doc/guix.texi:9299 +#: doc/guix.texi:10055 msgid "List of string-valued G-expressions denoting setuid programs. @xref{Setuid Programs}." msgstr "Liste de G-expressions qui s'évaluent en chaînes de caractères qui dénotent les programmes setuid. @xref{Setuid Programs}." #. type: item -#: doc/guix.texi:9300 +#: doc/guix.texi:10056 #, no-wrap msgid "@code{sudoers-file} (default: @var{%sudoers-specification})" msgstr "@code{sudoers-file} (par défaut : @var{%sudoers-specification})" #. type: cindex -#: doc/guix.texi:9301 +#: doc/guix.texi:10057 #, no-wrap msgid "sudoers file" msgstr "fichier sudoers" #. type: table -#: doc/guix.texi:9304 +#: doc/guix.texi:10060 msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})." msgstr "Le contenu du fichier @file{/etc/sudoers} comme un objet simili-fichier (@pxref{G-Expressions, @code{local-file} et @code{plain-file}})." #. type: table -#: doc/guix.texi:9309 +#: doc/guix.texi:10065 msgid "This file specifies which users can use the @command{sudo} command, what they are allowed to do, and what privileges they may gain. The default is that only @code{root} and members of the @code{wheel} group may use @code{sudo}." msgstr "Ce fichier spécifier quels utilisateurs peuvent utiliser la commande @command{sudo}, ce qu'ils ont le droit de faire, et quels privilèges ils peuvent gagner. La valeur par défaut est que seul @code{root} et les membres du groupe @code{wheel} peuvent utiliser @code{sudo}." #. type: Plain text -#: doc/guix.texi:9320 +#: doc/guix.texi:10076 msgid "The list of file systems to be mounted is specified in the @code{file-systems} field of the operating system declaration (@pxref{Using the Configuration System}). Each file system is declared using the @code{file-system} form, like this:" msgstr "La liste des systèmes de fichiers à monter est spécifiée dans le champ @code{file-systems} de la déclaration de système d'exploitation (@pxref{Using the Configuration System}). Chaque système de fichier est déclaré avec la forme @code{file-system}, comme ceci :" #. type: example -#: doc/guix.texi:9326 +#: doc/guix.texi:10082 #, no-wrap msgid "" "(file-system\n" @@ -16473,67 +17770,67 @@ msgstr "" " (type \"ext4\"))\n" #. type: Plain text -#: doc/guix.texi:9330 +#: doc/guix.texi:10086 msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below." msgstr "Comme d'habitude, certains de ces champs sont obligatoire — comme le montre l'exemple au-dessus — alors que d'autres peuvent être omis. Ils sont décrits plus bas." #. type: deftp -#: doc/guix.texi:9331 +#: doc/guix.texi:10087 #, no-wrap msgid "{Data Type} file-system" msgstr "{Type de données} file-system" #. type: deftp -#: doc/guix.texi:9334 +#: doc/guix.texi:10090 msgid "Objects of this type represent file systems to be mounted. They contain the following members:" msgstr "Les objets de ce type représentent des systèmes de fichiers à monter. Ils contiennent les membres suivants :" #. type: item -#: doc/guix.texi:9336 doc/guix.texi:9522 +#: doc/guix.texi:10092 doc/guix.texi:10278 #, no-wrap msgid "type" msgstr "type" #. type: table -#: doc/guix.texi:9339 +#: doc/guix.texi:10095 msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}." msgstr "C'est une chaîne de caractères spécifiant le type du système de fichier — p.@: ex.@: @code{\"ext4\"}." #. type: code{#1} -#: doc/guix.texi:9340 +#: doc/guix.texi:10096 #, no-wrap msgid "mount-point" msgstr "mount-point" #. type: table -#: doc/guix.texi:9342 +#: doc/guix.texi:10098 msgid "This designates the place where the file system is to be mounted." msgstr "Désigne l'emplacement où le système de fichier sera monté." #. type: code{#1} -#: doc/guix.texi:9343 +#: doc/guix.texi:10099 #, no-wrap msgid "device" msgstr "device" #. type: table -#: doc/guix.texi:9353 +#: doc/guix.texi:10109 msgid "This names the ``source'' of the file system. It can be one of three things: a file system label, a file system UUID, or the name of a @file{/dev} node. Labels and UUIDs offer a way to refer to file systems without having to hard-code their actual device name@footnote{Note that, while it is tempting to use @file{/dev/disk/by-uuid} and similar device names to achieve the same result, this is not recommended: These special device nodes are created by the udev daemon and may be unavailable at the time the device is mounted.}." msgstr "Ce champ nomme le système de fichier « source ». il peut être l'une de ces trois choses : une étiquette de système de fichiers, un UUID de système de fichier ou le nom d'un nœud dans @file{/dev}. Les étiquettes et les UUID offrent une manière de se référer à des systèmes de fichiers sans avoir à coder en dur le nom de périphérique@footnote{Remarquez que, s'il est tentant d'utiliser @file{/dev/disk/by-uuid} et autres chemins similaires pour obtenir le même résultat, ce n'est pas recommandé : ces nœuds de périphériques spéciaux sont créés par le démon udev et peuvent ne pas être disponibles au moment de monter le périphérique.}." #. type: findex -#: doc/guix.texi:9354 +#: doc/guix.texi:10110 #, no-wrap msgid "file-system-label" msgstr "file-system-label" #. type: table -#: doc/guix.texi:9359 +#: doc/guix.texi:10115 msgid "File system labels are created using the @code{file-system-label} procedure, UUIDs are created using @code{uuid}, and @file{/dev} node are plain strings. Here's an example of a file system referred to by its label, as shown by the @command{e2label} command:" msgstr "Les étiquettes de systèmes de fichiers sont crées avec la procédure @code{file-system-label}, les UUID avec @code{uuid} et les nœuds de @file{/dev} sont de simples chaînes de caractères. Voici un exemple d'un système de fichiers référencé par son étiquette, donnée par la commande @command{e2label} :" #. type: example -#: doc/guix.texi:9365 +#: doc/guix.texi:10121 #, no-wrap msgid "" "(file-system\n" @@ -16547,18 +17844,18 @@ msgstr "" " (device (file-system-label \"my-home\")))\n" #. type: findex -#: doc/guix.texi:9367 +#: doc/guix.texi:10123 #, no-wrap msgid "uuid" msgstr "uuid" #. type: table -#: doc/guix.texi:9375 +#: doc/guix.texi:10131 msgid "UUIDs are converted from their string representation (as shown by the @command{tune2fs -l} command) using the @code{uuid} form@footnote{The @code{uuid} form expects 16-byte UUIDs as defined in @uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. This is the form of UUID used by the ext2 family of file systems and others, but it is different from ``UUIDs'' found in FAT file systems, for instance.}, like this:" msgstr "Les UUID sont convertis à partir de leur représentation en chaîne de caractères (montrée par la command @command{tune2fs -l}) en utilisant la forme @code{uuid}@footnote{La forme @code{uuid} s'attend à des UUID sur 16 octets définis dans la @uref{https://tools.ietf.org/html/rfc4122, RFC@tie{}4122}. C'est la forme des UUID utilisées par la famille de systèmes de fichiers ext2 et d'autres, mais ce n'est pas le même type d'UUID que ceux qui se trouvent sur les systèmes de fichiers FAT par exemple}, comme ceci :" #. type: example -#: doc/guix.texi:9381 +#: doc/guix.texi:10137 #, no-wrap msgid "" "(file-system\n" @@ -16572,268 +17869,268 @@ msgstr "" " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n" #. type: table -#: doc/guix.texi:9389 +#: doc/guix.texi:10145 msgid "When the source of a file system is a mapped device (@pxref{Mapped Devices}), its @code{device} field @emph{must} refer to the mapped device name---e.g., @file{\"/dev/mapper/root-partition\"}. This is required so that the system knows that mounting the file system depends on having the corresponding device mapping established." msgstr "Lorsque la source d'un système de fichiers est un périphérique mappé (@pxref{Mapped Devices}), sont champ @code{device} @emph{doit} se référer au nom du périphérique mappé — p.@: ex.@: @file{\"/dev/mapper/root-partition\"}. Cela est requis pour que le système sache que monter ce système de fichier dépend de la présence du périphérique mappé correspondant." #. type: item -#: doc/guix.texi:9390 +#: doc/guix.texi:10146 #, no-wrap msgid "@code{flags} (default: @code{'()})" msgstr "@code{flags} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:9395 +#: doc/guix.texi:10151 msgid "This is a list of symbols denoting mount flags. Recognized flags include @code{read-only}, @code{bind-mount}, @code{no-dev} (disallow access to special files), @code{no-suid} (ignore setuid and setgid bits), and @code{no-exec} (disallow program execution.)" msgstr "C'est une liste de symboles qui dénotent des drapeaux de montage. Les drapeaux reconnus sont @code{read-only}, @code{bind-mount}, @code{no-dev} (interdit l'accès aux fichiers spéciaux), @code{no-suid} (ignore les bits setuid et setgid) et @code{no-exec} (interdit l'exécution de programmes)." #. type: item -#: doc/guix.texi:9396 +#: doc/guix.texi:10152 #, no-wrap msgid "@code{options} (default: @code{#f})" msgstr "@code{options} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9398 +#: doc/guix.texi:10154 msgid "This is either @code{#f}, or a string denoting mount options." msgstr "C'est soit @code{#f} soit une chaîne de caractères dénotant des options de montage." #. type: item -#: doc/guix.texi:9399 +#: doc/guix.texi:10155 #, no-wrap msgid "@code{mount?} (default: @code{#t})" msgstr "@code{mount?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:9404 +#: doc/guix.texi:10160 msgid "This value indicates whether to automatically mount the file system when the system is brought up. When set to @code{#f}, the file system gets an entry in @file{/etc/fstab} (read by the @command{mount} command) but is not automatically mounted." msgstr "Cette valeur indique s'il faut monter automatiquement le système de fichier au démarrage du système. Lorsque la valeur est @code{#f}, le système de fichier reçoit une entrée dans @file{/etc/fstab} (lue par la commande @command{mount}) mais n'est pas monté automatiquement." #. type: item -#: doc/guix.texi:9405 +#: doc/guix.texi:10161 #, no-wrap msgid "@code{needed-for-boot?} (default: @code{#f})" msgstr "@code{needed-for-boot?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9410 +#: doc/guix.texi:10166 msgid "This Boolean value indicates whether the file system is needed when booting. If that is true, then the file system is mounted when the initial RAM disk (initrd) is loaded. This is always the case, for instance, for the root file system." msgstr "Cette valeur booléenne indique si le système de fichier est nécessaire au démarrage. Si c'est vrai alors le système de fichier est monté au chargement du disque de RAM initial. C'est toujours le cas par exemple du système de fichiers racine." #. type: item -#: doc/guix.texi:9411 +#: doc/guix.texi:10167 #, no-wrap msgid "@code{check?} (default: @code{#t})" msgstr "@code{check?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:9414 +#: doc/guix.texi:10170 msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted." msgstr "Cette valeur booléenne indique si le système de fichier doit être vérifié avant de le monter." #. type: item -#: doc/guix.texi:9415 +#: doc/guix.texi:10171 #, no-wrap msgid "@code{create-mount-point?} (default: @code{#f})" msgstr "@code{create-mount-point?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9417 +#: doc/guix.texi:10173 msgid "When true, the mount point is created if it does not exist yet." msgstr "Lorsque cette valeur est vraie, le point de montage est créé s'il n'existe pas déjà." #. type: item -#: doc/guix.texi:9418 +#: doc/guix.texi:10174 #, no-wrap msgid "@code{dependencies} (default: @code{'()})" msgstr "@code{dependencies} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:9422 +#: doc/guix.texi:10178 msgid "This is a list of @code{} or @code{} objects representing file systems that must be mounted or mapped devices that must be opened before (and unmounted or closed after) this one." msgstr "C'est une liste d'objets @code{} ou @code{} qui représentent les systèmes de fichiers qui doivent être montés ou les périphériques mappés qui doivent être ouverts avant (et monté ou fermés après) celui-ci." #. type: table -#: doc/guix.texi:9426 +#: doc/guix.texi:10182 msgid "As an example, consider a hierarchy of mounts: @file{/sys/fs/cgroup} is a dependency of @file{/sys/fs/cgroup/cpu} and @file{/sys/fs/cgroup/memory}." msgstr "Par exemple, considérons une hiérarchie de montage : @file{/sys/fs/cgroup} est une dépendance de @file{/sys/fs/cgroup/cpu} et @file{/sys/fs/cgroup/memory}." #. type: table -#: doc/guix.texi:9429 +#: doc/guix.texi:10185 msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})." msgstr "Un autre exemple est un système de fichier qui dépend d'un périphérique mappé, par exemple pour une partition chiffrée (@pxref{Mapped Devices})." #. type: Plain text -#: doc/guix.texi:9434 +#: doc/guix.texi:10190 msgid "The @code{(gnu system file-systems)} exports the following useful variables." msgstr "Le module @code{(gnu system file-systems)} exporte les variables utiles suivantes." #. type: defvr -#: doc/guix.texi:9435 +#: doc/guix.texi:10191 #, no-wrap msgid "{Scheme Variable} %base-file-systems" msgstr "{Variable Scheme} %base-file-systems" #. type: defvr -#: doc/guix.texi:9440 +#: doc/guix.texi:10196 msgid "These are essential file systems that are required on normal systems, such as @var{%pseudo-terminal-file-system} and @var{%immutable-store} (see below.) Operating system declarations should always contain at least these." msgstr "Ce sont les systèmes de fichiers essentiels qui sont requis sur les systèmes normaux, comme @var{%pseudo-terminal-file-system} et @var{%immutable-store} (voir plus bas). Les déclarations de systèmes d'exploitation devraient au moins les contenir." #. type: defvr -#: doc/guix.texi:9442 +#: doc/guix.texi:10198 #, no-wrap msgid "{Scheme Variable} %pseudo-terminal-file-system" msgstr "{Variable Scheme} %pseudo-terminal-file-system" #. type: defvr -#: doc/guix.texi:9448 +#: doc/guix.texi:10204 msgid "This is the file system to be mounted as @file{/dev/pts}. It supports @dfn{pseudo-terminals} created @i{via} @code{openpty} and similar functions (@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). Pseudo-terminals are used by terminal emulators such as @command{xterm}." msgstr "C'est le système de fichier monté sur @file{/dev/pts}. Il supporte les @dfn{pseudo-terminaux} créés via @code{openpty} et les fonctions similaires (@pxref{Pseudo-Terminals,,, libc, The GNU C Library Reference Manual}). Les pseudo-terminaux sont utilisés par les émulateurs de terminaux comme @command{xterm}." #. type: defvr -#: doc/guix.texi:9450 +#: doc/guix.texi:10206 #, no-wrap msgid "{Scheme Variable} %shared-memory-file-system" msgstr "{Variable Scheme} %shared-memory-file-system" #. type: defvr -#: doc/guix.texi:9454 +#: doc/guix.texi:10210 msgid "This file system is mounted as @file{/dev/shm} and is used to support memory sharing across processes (@pxref{Memory-mapped I/O, @code{shm_open},, libc, The GNU C Library Reference Manual})." msgstr "Ce système de fichier est monté dans @file{/dev/shm} et est utilisé pour le partage de mémoire entre processus (@pxref{Memory-mapped I/O, @code{shm_open},, libc, The GNU C Library Reference Manual})." #. type: defvr -#: doc/guix.texi:9456 +#: doc/guix.texi:10212 #, no-wrap msgid "{Scheme Variable} %immutable-store" msgstr "{Variable Scheme} %immutable-store" #. type: defvr -#: doc/guix.texi:9461 +#: doc/guix.texi:10217 msgid "This file system performs a read-only ``bind mount'' of @file{/gnu/store}, making it read-only for all the users including @code{root}. This prevents against accidental modification by software running as @code{root} or by system administrators." msgstr "Ce système de fichiers effectue un « montage lié » en lecture-seule de @file{/gnu/store}, ce qui en fait un répertoire en lecture-seule pour tous les utilisateurs dont @code{root}. Cela évite que des logiciels qui tournent en @code{root} ou des administrateurs systèmes ne modifient accidentellement le dépôt." #. type: defvr -#: doc/guix.texi:9464 +#: doc/guix.texi:10220 msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''" msgstr "Le démon lui-même est toujours capable d'écrire dans le dépôt : il est remonté en lecture-écriture dans son propre « espace de nom »." #. type: defvr -#: doc/guix.texi:9466 +#: doc/guix.texi:10222 #, no-wrap msgid "{Scheme Variable} %binary-format-file-system" msgstr "{Variable Scheme} %binary-format-file-system" #. type: defvr -#: doc/guix.texi:9470 +#: doc/guix.texi:10226 msgid "The @code{binfmt_misc} file system, which allows handling of arbitrary executable file types to be delegated to user space. This requires the @code{binfmt.ko} kernel module to be loaded." msgstr "Le système de fichiers @code{binfmt_misc}, qui permet de gérer n'importe quel type de fichiers exécutables à déléguer en espace utilisateur. Cela demande que le module du noyau @code{binfmt.ko} soit chargé." #. type: defvr -#: doc/guix.texi:9472 +#: doc/guix.texi:10228 #, no-wrap msgid "{Scheme Variable} %fuse-control-file-system" msgstr "{Variable Scheme} %fuse-control-file-system" #. type: defvr -#: doc/guix.texi:9476 +#: doc/guix.texi:10232 msgid "The @code{fusectl} file system, which allows unprivileged users to mount and unmount user-space FUSE file systems. This requires the @code{fuse.ko} kernel module to be loaded." msgstr "Le système de fichiers @code{fusectl}, qui permet à des utilisateurs non privilégiés de monter et de démonter des systèmes de fichiers FUSE en espace utilisateur. Cela requiert que le module du noyau @code{fuse.ko} soit chargé." #. type: cindex -#: doc/guix.texi:9481 +#: doc/guix.texi:10237 #, no-wrap msgid "device mapping" msgstr "mappage de périphériques" #. type: cindex -#: doc/guix.texi:9482 +#: doc/guix.texi:10238 #, no-wrap msgid "mapped devices" msgstr "périphériques mappés" #. type: Plain text -#: doc/guix.texi:9500 +#: doc/guix.texi:10256 msgid "The Linux kernel has a notion of @dfn{device mapping}: a block device, such as a hard disk partition, can be @dfn{mapped} into another device, usually in @code{/dev/mapper/}, with additional processing over the data that flows through it@footnote{Note that the GNU@tie{}Hurd makes no difference between the concept of a ``mapped device'' and that of a file system: both boil down to @emph{translating} input/output operations made on a file to operations on its backing store. Thus, the Hurd implements mapped devices, like file systems, using the generic @dfn{translator} mechanism (@pxref{Translators,,, hurd, The GNU Hurd Reference Manual}).}. A typical example is encryption device mapping: all writes to the mapped device are encrypted, and all reads are deciphered, transparently. Guix extends this notion by considering any device or set of devices that are @dfn{transformed} in some way to create a new device; for instance, RAID devices are obtained by @dfn{assembling} several other devices, such as hard disks or partitions, into a new one that behaves as one partition. Other examples, not yet implemented, are LVM logical volumes." msgstr "Le noyau Linux a une notion de @dfn{mappage de périphériques} : un périphérique bloc, comme une partition sur un disque dur, peut être @dfn{mappé} sur un autre périphérique, typiquement dans @code{/dev/mapper}, avec des calculs supplémentaires sur les données qui naviguent entre les deux@footnote{Remarquez que le Hurd ne fait pas de différence entre le concept de « périphérique mappé » et celle d'un système de fichiers : les deux correspondent à la @emph{traduction} des opérations d'entrée-sortie faites sur un fichier en des opérations sur ce qui le contient. Ainsi, le Hurd implémente les périphériques mappés, comme les systèmes de fichiers, avec le mécanisme des @dfn{traducteurs} générique (@pxref{Translators,,, hurd, The GNU Hurd Reference Manual}).}. Un exemple typique est le mappage de périphériques chiffrés : toutes les écritures sont sur le périphérique mappé sont chiffrées, toutes les lectures déchiffrées, de manière transparente. Guix étend cette notion en considérant que tout périphérique ou ensemble de périphériques qui sont @dfn{transformés} d'une certaine manière créent un nouveau périphérique ; par exemple, les périphériques RAID sont obtenus en @dfn{assemblant} plusieurs autres périphériques, comme des disque ou des partitions, en un nouveau périphérique en tant qu'unique partition. Un autre exemple, qui n'est pas encore disponible, sont les volumes logiques LVM." #. type: Plain text -#: doc/guix.texi:9503 +#: doc/guix.texi:10259 msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below." msgstr "Les périphériques mappés sont déclarés avec la forme @code{mapped-device}, définie comme suit ; par exemple, voir ci-dessous." #. type: deftp -#: doc/guix.texi:9504 +#: doc/guix.texi:10260 #, no-wrap msgid "{Data Type} mapped-device" msgstr "{Type de données} mapped-device" #. type: deftp -#: doc/guix.texi:9507 +#: doc/guix.texi:10263 msgid "Objects of this type represent device mappings that will be made when the system boots up." msgstr "Les objets de ce type représentent des mappages de périphériques qui seront effectués au démarrage du système." #. type: table -#: doc/guix.texi:9513 +#: doc/guix.texi:10269 msgid "This is either a string specifying the name of the block device to be mapped, such as @code{\"/dev/sda3\"}, or a list of such strings when several devices need to be assembled for creating a new one." msgstr "C'est soit une chaîne qui spécifie le nom d'un périphérique bloc à mapper, comme @code{\"/dev/sda3\"}, soit une liste de plusieurs périphériques à assembler pour en créer un nouveau." #. type: code{#1} -#: doc/guix.texi:9514 doc/guix.texi:20646 +#: doc/guix.texi:10270 doc/guix.texi:22103 #, no-wrap msgid "target" msgstr "target" #. type: table -#: doc/guix.texi:9521 +#: doc/guix.texi:10277 msgid "This string specifies the name of the resulting mapped device. For kernel mappers such as encrypted devices of type @code{luks-device-mapping}, specifying @code{\"my-partition\"} leads to the creation of the @code{\"/dev/mapper/my-partition\"} device. For RAID devices of type @code{raid-device-mapping}, the full device name such as @code{\"/dev/md0\"} needs to be given." msgstr "Cette chaîne spécifie le nom du périphérique mappé qui en résulte. Pour les mappeurs noyaux comme les périphériques chiffrés de type @code{luks-device-mapping}, spécifier @code{\"ma-partition\"} crée le périphérique @code{\"/dev/mapper/ma-partition\"}. Pour les périphériques RAID de type @code{raid-device-mapping}, il faut donner le nom complet comme @code{\"/dev/md0\"}." #. type: table -#: doc/guix.texi:9525 +#: doc/guix.texi:10281 msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}." msgstr "Ce doit être un objets @code{mapped-device-kind}, qui spécifie comment @var{source} est mappés sur @var{target}." #. type: defvr -#: doc/guix.texi:9528 +#: doc/guix.texi:10284 #, no-wrap msgid "{Scheme Variable} luks-device-mapping" msgstr "{Variable Scheme} luks-device-mapping" #. type: defvr -#: doc/guix.texi:9532 +#: doc/guix.texi:10288 msgid "This defines LUKS block device encryption using the @command{cryptsetup} command from the package with the same name. It relies on the @code{dm-crypt} Linux kernel module." msgstr "Cela définie les périphériques blocs chiffrés en LUKS avec @command{cryptsetup} du paquet du même nom. Elle s'appuie sur le module du noyau Linux @code{dm-crypt}." #. type: defvr -#: doc/guix.texi:9534 +#: doc/guix.texi:10290 #, no-wrap msgid "{Scheme Variable} raid-device-mapping" msgstr "{Variable Scheme} raid-device-mapping" #. type: defvr -#: doc/guix.texi:9539 +#: doc/guix.texi:10295 msgid "This defines a RAID device, which is assembled using the @code{mdadm} command from the package with the same name. It requires a Linux kernel module for the appropriate RAID level to be loaded, such as @code{raid456} for RAID-4, RAID-5 or RAID-6, or @code{raid10} for RAID-10." msgstr "Cela définie un périphérique RAID qui est assemblé avec la commande @code{mdadm} du paquet du même nom. Elle nécessite un module noyau Linux approprié pour le niveau RAID chargé, comme @code{raid456} pour RAID-4, RAID-5 et RAID-6 ou @code{raid10} pour RAID-10." #. type: cindex -#: doc/guix.texi:9541 +#: doc/guix.texi:10297 #, no-wrap msgid "disk encryption" msgstr "chiffrement du disque" #. type: cindex -#: doc/guix.texi:9542 +#: doc/guix.texi:10298 #, no-wrap msgid "LUKS" msgstr "LUKS" #. type: Plain text -#: doc/guix.texi:9550 +#: doc/guix.texi:10306 msgid "The following example specifies a mapping from @file{/dev/sda3} to @file{/dev/mapper/home} using LUKS---the @url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, a standard mechanism for disk encryption. The @file{/dev/mapper/home} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems})." msgstr "L'exemple suivant spécifie un mappage de @file{/dev/sda3} vers @file{/dev/mapper/home} avec LUKS — @url{https://gitlab.com/cryptsetup/cryptsetup,Linux Unified Key Setup}, un mécanisme standard pour chiffrer les disques. Le périphérique @file{/dev/mapper/home} peut ensuite être utilisé comme @code{device} d'une déclaration @code{file-system} (@pxref{File Systems})." #. type: example -#: doc/guix.texi:9556 +#: doc/guix.texi:10312 #, no-wrap msgid "" "(mapped-device\n" @@ -16847,23 +18144,23 @@ msgstr "" " (type luks-device-mapping))\n" #. type: Plain text -#: doc/guix.texi:9561 +#: doc/guix.texi:10317 msgid "Alternatively, to become independent of device numbering, one may obtain the LUKS UUID (@dfn{unique identifier}) of the source device by a command like:" msgstr "Autrement, pour devenir indépendant du numéro de périphérique, on peut obtenir l'UUID LUKS (@dfn{l'identifiant unique}) du périphérique source avec une commande comme :" #. type: example -#: doc/guix.texi:9564 +#: doc/guix.texi:10320 #, no-wrap msgid "cryptsetup luksUUID /dev/sda3\n" msgstr "cryptsetup luksUUID /dev/sda3\n" #. type: Plain text -#: doc/guix.texi:9567 +#: doc/guix.texi:10323 msgid "and use it as follows:" msgstr "et l'utiliser ainsi :" #. type: example -#: doc/guix.texi:9573 +#: doc/guix.texi:10329 #, no-wrap msgid "" "(mapped-device\n" @@ -16877,23 +18174,23 @@ msgstr "" " (type luks-device-mapping))\n" #. type: cindex -#: doc/guix.texi:9575 +#: doc/guix.texi:10331 #, no-wrap msgid "swap encryption" msgstr "chiffrement de l'espace d'échange" #. type: Plain text -#: doc/guix.texi:9581 +#: doc/guix.texi:10337 msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Preparing for Installation,,Disk Partitioning}, for an example." msgstr "Il est aussi désirable de chiffrer l'espace d'échange, puisque l'espace d'échange peut contenir des données sensibles. Une manière de faire cela est d'utiliser un fichier d'échange dans un système de fichiers sur un périphérique mappé avec un chiffrement LUKS. De cette manière, le fichier d'échange est chiffré parce que tout le périphérique est chiffré. @xref{Preparing for Installation,,Disk Partitioning}, pour un exemple." #. type: Plain text -#: doc/guix.texi:9584 +#: doc/guix.texi:10340 msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:" msgstr "Un périphérique RAID formé des partitions @file{/dev/sda1} et @file{/dev/sdb1} peut être déclaré ainsi :" #. type: example -#: doc/guix.texi:9590 +#: doc/guix.texi:10346 #, no-wrap msgid "" "(mapped-device\n" @@ -16907,35 +18204,35 @@ msgstr "" " (type raid-device-mapping))\n" #. type: Plain text -#: doc/guix.texi:9597 +#: doc/guix.texi:10353 msgid "The @file{/dev/md0} device can then be used as the @code{device} of a @code{file-system} declaration (@pxref{File Systems}). Note that the RAID level need not be given; it is chosen during the initial creation and formatting of the RAID device and is determined automatically later." msgstr "Le périphérique @file{/dev/md0} peut ensuite être utilisé comme @code{device} d'une déclaration @code{file-system} (@pxref{File Systems}). Remarquez que le niveau de RAID n'a pas besoin d'être donné ; il est choisi pendant la création initiale du périphérique RAID et est ensuite déterminé automatiquement." #. type: cindex -#: doc/guix.texi:9602 +#: doc/guix.texi:10358 #, no-wrap msgid "users" msgstr "utilisateurs" #. type: cindex -#: doc/guix.texi:9603 +#: doc/guix.texi:10359 #, no-wrap msgid "accounts" msgstr "comptes" #. type: cindex -#: doc/guix.texi:9604 +#: doc/guix.texi:10360 #, no-wrap msgid "user accounts" msgstr "comptes utilisateurs" #. type: Plain text -#: doc/guix.texi:9608 +#: doc/guix.texi:10364 msgid "User accounts and groups are entirely managed through the @code{operating-system} declaration. They are specified with the @code{user-account} and @code{user-group} forms:" msgstr "Les comptes utilisateurs et les groupes sont gérés entièrement par la déclaration @code{operating-system}. Ils sont spécifiés avec les formes @code{user-account} et @code{user-group} :" #. type: example -#: doc/guix.texi:9619 +#: doc/guix.texi:10375 #, no-wrap msgid "" "(user-account\n" @@ -16959,255 +18256,255 @@ msgstr "" " (home-directory \"/home/alice\"))\n" #. type: Plain text -#: doc/guix.texi:9628 +#: doc/guix.texi:10384 msgid "When booting or upon completion of @command{guix system reconfigure}, the system ensures that only the user accounts and groups specified in the @code{operating-system} declaration exist, and with the specified properties. Thus, account or group creations or modifications made by directly invoking commands such as @command{useradd} are lost upon reconfiguration or reboot. This ensures that the system remains exactly as declared." msgstr "Lors du démarrage ou à la fin de @command{guix system reconfigure}, le système s'assure que seuls les comptes utilisateurs et les groupes spécifiés dans la déclaration @code{operating-system} existent, et avec les propriétés spécifiées. Ainsi, les modifications ou les créations de comptes ou de groupes effectuées directement en invoquant des commandes comme @command{useradd} sont perdue à la reconfiguration ou au redémarrage. Cela permet de s'assurer que le système reste exactement tel que déclaré." #. type: deftp -#: doc/guix.texi:9629 +#: doc/guix.texi:10385 #, no-wrap msgid "{Data Type} user-account" msgstr "{Type de données} user-account" #. type: deftp -#: doc/guix.texi:9632 +#: doc/guix.texi:10388 msgid "Objects of this type represent user accounts. The following members may be specified:" msgstr "Les objets de se type représentent les comptes utilisateurs. Les membres suivants peuvent être spécifiés :" #. type: table -#: doc/guix.texi:9636 +#: doc/guix.texi:10392 msgid "The name of the user account." msgstr "Le nom du compte utilisateur." #. type: itemx -#: doc/guix.texi:9637 doc/guix.texi:20408 +#: doc/guix.texi:10393 doc/guix.texi:21853 #, no-wrap msgid "group" msgstr "group" #. type: cindex -#: doc/guix.texi:9638 doc/guix.texi:9687 +#: doc/guix.texi:10394 doc/guix.texi:10443 #, no-wrap msgid "groups" msgstr "groupes" #. type: table -#: doc/guix.texi:9641 +#: doc/guix.texi:10397 msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to." msgstr "C'est le nom (une chaîne) ou un identifiant (un nombre) du groupe utilisateur auquel ce compte appartient." #. type: item -#: doc/guix.texi:9642 +#: doc/guix.texi:10398 #, no-wrap msgid "@code{supplementary-groups} (default: @code{'()})" msgstr "@code{supplementary-groups} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:9645 +#: doc/guix.texi:10401 msgid "Optionally, this can be defined as a list of group names that this account belongs to." msgstr "Éventuellement, cela peut être définie comme une liste de noms de groupes auxquels ce compte appartient." #. type: item -#: doc/guix.texi:9646 +#: doc/guix.texi:10402 #, no-wrap msgid "@code{uid} (default: @code{#f})" msgstr "@code{uid} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9650 +#: doc/guix.texi:10406 msgid "This is the user ID for this account (a number), or @code{#f}. In the latter case, a number is automatically chosen by the system when the account is created." msgstr "C'est l'ID utilisateur de ce compte (un nombre) ou @code{#f}. Dans ce dernier cas, le nombre est choisi automatiquement par le système à la création du compte." #. type: item -#: doc/guix.texi:9651 +#: doc/guix.texi:10407 #, no-wrap msgid "@code{comment} (default: @code{\"\"})" msgstr "@code{comment} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:9653 +#: doc/guix.texi:10409 msgid "A comment about the account, such as the account owner's full name." msgstr "Un commentaire à propos du compte, comme le nom complet de l'utilisateur." #. type: code{#1} -#: doc/guix.texi:9654 +#: doc/guix.texi:10410 #, no-wrap msgid "home-directory" msgstr "home-directory" #. type: table -#: doc/guix.texi:9656 +#: doc/guix.texi:10412 msgid "This is the name of the home directory for the account." msgstr "C'est le nom du répertoire personnel du compte." #. type: item -#: doc/guix.texi:9657 +#: doc/guix.texi:10413 #, no-wrap msgid "@code{create-home-directory?} (default: @code{#t})" msgstr "@code{create-home-directory?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:9660 +#: doc/guix.texi:10416 msgid "Indicates whether the home directory of this account should be created if it does not exist yet." msgstr "Indique si le répertoire personnel du compte devrait être créé s'il n'existe pas déjà." #. type: item -#: doc/guix.texi:9661 +#: doc/guix.texi:10417 #, no-wrap msgid "@code{shell} (default: Bash)" msgstr "@code{shell} (par défaut : Bash)" #. type: table -#: doc/guix.texi:9664 +#: doc/guix.texi:10420 msgid "This is a G-expression denoting the file name of a program to be used as the shell (@pxref{G-Expressions})." msgstr "C'est une G-expression qui dénote un nom de fichier d'un programme utilisé comme shell (@pxref{G-Expressions})." #. type: item -#: doc/guix.texi:9665 doc/guix.texi:9705 +#: doc/guix.texi:10421 doc/guix.texi:10461 #, no-wrap msgid "@code{system?} (default: @code{#f})" msgstr "@code{system?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9669 +#: doc/guix.texi:10425 msgid "This Boolean value indicates whether the account is a ``system'' account. System accounts are sometimes treated specially; for instance, graphical login managers do not list them." msgstr "C'est une valeur booléenne qui indique si le compte est un compte « système ». Les comptes systèmes sont parfois traités à part ; par exemple, les gestionnaires de connexion graphiques ne les liste pas." #. type: anchor{#1} -#: doc/guix.texi:9671 +#: doc/guix.texi:10427 msgid "user-account-password" msgstr "user-account-password" #. type: item -#: doc/guix.texi:9671 doc/guix.texi:9709 +#: doc/guix.texi:10427 doc/guix.texi:10465 #, no-wrap msgid "@code{password} (default: @code{#f})" msgstr "@code{password} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9677 +#: doc/guix.texi:10433 msgid "You would normally leave this field to @code{#f}, initialize user passwords as @code{root} with the @command{passwd} command, and then let users change it with @command{passwd}. Passwords set with @command{passwd} are of course preserved across reboot and reconfiguration." msgstr "Vous laisseriez normalement ce champ à @code{#f} et initialiseriez les mots de passe utilisateurs en tant que @code{root} avec la commande @command{passwd}, puis laisseriez l'utilisateur le changer avec @command{passwd}. Les mots de passes définis avec @command{passwd} sont bien sûr préservés après redémarrage et reconfiguration." #. type: table -#: doc/guix.texi:9683 +#: doc/guix.texi:10439 msgid "If you @emph{do} want to have a preset password for an account, then this field must contain the encrypted password, as a string. @xref{crypt,,, libc, The GNU C Library Reference Manual}, for more information on password encryption, and @ref{Encryption,,, guile, GNU Guile Reference Manual}, for information on Guile's @code{crypt} procedure." msgstr "Si vous voulez @emph{vraiment} définir un mot de passe pour un compte, alors ce champ doit contenir le mot de passe chiffré, comme une chaîne de caractère. @xref{crypt,,, libc, The GNU C Library Reference Manual}, pour plus d'information sur le chiffrement des mots de passe et @ref{Encryption,,, guile, GNU Guile Reference Manual}, pour des informations sur la procédure @code{crypt} de Guile." #. type: Plain text -#: doc/guix.texi:9689 +#: doc/guix.texi:10445 msgid "User group declarations are even simpler:" msgstr "Les déclarations de groupes sont encore plus simple :" #. type: example -#: doc/guix.texi:9692 +#: doc/guix.texi:10448 #, no-wrap msgid "(user-group (name \"students\"))\n" msgstr "(user-group (name \"students\"))\n" #. type: deftp -#: doc/guix.texi:9694 +#: doc/guix.texi:10450 #, no-wrap msgid "{Data Type} user-group" msgstr "{Type de données} user-group" #. type: deftp -#: doc/guix.texi:9696 +#: doc/guix.texi:10452 msgid "This type is for, well, user groups. There are just a few fields:" msgstr "C'est le type pour, hé bien, les comptes utilisateurs. Il n'y a que quelques champs :" #. type: table -#: doc/guix.texi:9700 +#: doc/guix.texi:10456 msgid "The name of the group." msgstr "Le nom du groupe." #. type: item -#: doc/guix.texi:9701 +#: doc/guix.texi:10457 #, no-wrap msgid "@code{id} (default: @code{#f})" msgstr "@code{id} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:9704 +#: doc/guix.texi:10460 msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created." msgstr "L'identifiant du groupe (un nombre). S'il est @code{#f}, un nouveau nombre est alloué automatiquement lorsque le groupe est créé." #. type: table -#: doc/guix.texi:9708 +#: doc/guix.texi:10464 msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs." msgstr "Cette valeur booléenne indique si le groupe est un groupe « système ». les groupes systèmes ont un numéro d'ID bas." #. type: table -#: doc/guix.texi:9712 +#: doc/guix.texi:10468 msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group." msgstr "Quoi, les groupes utilisateurs peuvent avoir des mots de passe ? On dirait bien. À moins que la valeur ne soit @code{#f}, ce champ spécifie le mot de passe du groupe." #. type: Plain text -#: doc/guix.texi:9718 +#: doc/guix.texi:10474 msgid "For convenience, a variable lists all the basic user groups one may expect:" msgstr "Par simplicité, une variable liste les groupes utilisateurs de base auxquels on pourrait s'attendre :" #. type: defvr -#: doc/guix.texi:9719 +#: doc/guix.texi:10475 #, no-wrap msgid "{Scheme Variable} %base-groups" msgstr "{Variable Scheme} %base-groups" #. type: defvr -#: doc/guix.texi:9724 +#: doc/guix.texi:10480 msgid "This is the list of basic user groups that users and/or packages expect to be present on the system. This includes groups such as ``root'', ``wheel'', and ``users'', as well as groups used to control access to specific devices such as ``audio'', ``disk'', and ``cdrom''." msgstr "C'est la liste des groupes utilisateur de base que les utilisateurs et les paquets s'attendent à trouver sur le système. Cela comprend des groupes comme « root », « wheel » et « users », ainsi que des groupes utilisés pour contrôler l'accès à certains périphériques, comme « audio », « disk » et « cdrom »." #. type: defvr -#: doc/guix.texi:9726 +#: doc/guix.texi:10482 #, no-wrap msgid "{Scheme Variable} %base-user-accounts" msgstr "{Variable Scheme} %base-user-accounts" #. type: defvr -#: doc/guix.texi:9729 +#: doc/guix.texi:10485 msgid "This is the list of basic system accounts that programs may expect to find on a GNU/Linux system, such as the ``nobody'' account." msgstr "C'est la liste des compte du système de base que les programmes peuvent s'attendre à trouver sur un système GNU/Linux, comme le compte « nobody »." #. type: defvr -#: doc/guix.texi:9732 +#: doc/guix.texi:10488 msgid "Note that the ``root'' account is not included here. It is a special-case and is automatically added whether or not it is specified." msgstr "Remarquez que le compte « root » n'est pas défini ici. C'est un cas particulier et il est automatiquement ajouté qu'il soit spécifié ou non." #. type: cindex -#: doc/guix.texi:9737 +#: doc/guix.texi:10493 #, no-wrap msgid "locale" msgstr "paramètres linguistiques" #. type: Plain text -#: doc/guix.texi:9744 +#: doc/guix.texi:10500 msgid "A @dfn{locale} defines cultural conventions for a particular language and region of the world (@pxref{Locales,,, libc, The GNU C Library Reference Manual}). Each locale has a name that typically has the form @code{@var{language}_@var{territory}.@var{codeset}}---e.g., @code{fr_LU.utf8} designates the locale for the French language, with cultural conventions from Luxembourg, and using the UTF-8 encoding." msgstr "Un @dfn{paramètre linguistique} définie les conventions culturelles d'une langue et d'une région particulières (@pxref{Locales,,, libc, The GNU C Library Reference Manual}). Chaque paramètre linguistique a un nom de la forme @code{@var{langue}_@var{territoire}.@var{jeudecaractères}} — p.@: ex.@: @code{fr_LU.utf8} désigne le paramètre linguistique pour le français, avec les conventions culturelles du Luxembourg, en utilisant l'encodage UTF-8." #. type: cindex -#: doc/guix.texi:9745 +#: doc/guix.texi:10501 #, no-wrap msgid "locale definition" msgstr "définition des paramètres linguistiques" #. type: Plain text -#: doc/guix.texi:9749 +#: doc/guix.texi:10505 msgid "Usually, you will want to specify the default locale for the machine using the @code{locale} field of the @code{operating-system} declaration (@pxref{operating-system Reference, @code{locale}})." msgstr "Normalement, vous voudrez spécifier les paramètres linguistiques par défaut pour la machine en utilisant le champ @code{locale} de la déclaration @code{operating-system} (@pxref{operating-system Reference, @code{locale}})." #. type: Plain text -#: doc/guix.texi:9758 +#: doc/guix.texi:10514 msgid "The selected locale is automatically added to the @dfn{locale definitions} known to the system if needed, with its codeset inferred from its name---e.g., @code{bo_CN.utf8} will be assumed to use the @code{UTF-8} codeset. Additional locale definitions can be specified in the @code{locale-definitions} slot of @code{operating-system}---this is useful, for instance, if the codeset could not be inferred from the locale name. The default set of locale definitions includes some widely used locales, but not all the available locales, in order to save space." msgstr "Les paramètres régionaux choisis sont automatiquement ajoutés aux définitions des @dfn{paramètres régionaux} connues par le système au besoin, avec le jeu de caractères inféré à partir de son nom, p.@: ex.@: @code{bo_CN.utf8} supposera qu'il faut utiliser le jeu de caractères @code{UTF-8}. Des définitions supplémentaires peuvent être spécifiées dans le champ @code{locale-definitions} de @code{operating-system} — c'est utile par exemple si le jeu de caractères n'a pas été inféré à partir du nom. L'ensemble par défaut de définitions comprend certains paramètres linguistiques parmi les plus utilisés, mais pas toutes les variantes disponibles, pour gagner de la place." #. type: Plain text -#: doc/guix.texi:9761 +#: doc/guix.texi:10517 msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:" msgstr "Par exemple, pour ajouter les paramètres pour le frison septentrional en Allemagne, la valeur de ce champ serait :" #. type: example -#: doc/guix.texi:9766 +#: doc/guix.texi:10522 #, no-wrap msgid "" "(cons (locale-definition\n" @@ -17219,12 +18516,12 @@ msgstr "" " %default-locale-definitions)\n" #. type: Plain text -#: doc/guix.texi:9770 +#: doc/guix.texi:10526 msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:" msgstr "De me, pour gagner de la place, on peut vouloir lister dans @code{locale-definitions} seulement les paramètres qui sont vraiment utilisés, comme dans :" #. type: example -#: doc/guix.texi:9775 +#: doc/guix.texi:10531 #, no-wrap msgid "" "(list (locale-definition\n" @@ -17236,114 +18533,114 @@ msgstr "" " (charset \"EUC-JP\")))\n" #. type: Plain text -#: doc/guix.texi:9784 +#: doc/guix.texi:10540 msgid "The compiled locale definitions are available at @file{/run/current-system/locale/X.Y}, where @code{X.Y} is the libc version, which is the default location where the GNU@tie{}libc provided by Guix looks for locale data. This can be overridden using the @code{LOCPATH} environment variable (@pxref{locales-and-locpath, @code{LOCPATH} and locale packages})." msgstr "Les définitions des paramètres linguistiques compilées sont disponibles dans @file{/run/current-system/locale/X.Y}, où @code{X.Y} est la version de la libc, ce qui est l'emplacement par défaut où la GNU@tie{}libc fournie par Guix cherche les données de régionalisation. Cet emplacement peut être modifié avec la variable d'environnement @code{LOCPATH} (@pxref{locales-and-locpath, @code{LOCPATH} and locale packages})." #. type: Plain text -#: doc/guix.texi:9787 +#: doc/guix.texi:10543 msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below." msgstr "La forme @code{locale-definition} est fournie par le module @code{(gnu system locale)}. Des détails sont disponibles plus bas." #. type: deftp -#: doc/guix.texi:9788 +#: doc/guix.texi:10544 #, no-wrap msgid "{Data Type} locale-definition" msgstr "{Type de données} locale-definition" #. type: deftp -#: doc/guix.texi:9790 +#: doc/guix.texi:10546 msgid "This is the data type of a locale definition." msgstr "C'est le type de données d'une définition de paramètres linguistiques." #. type: table -#: doc/guix.texi:9796 +#: doc/guix.texi:10552 msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names." msgstr "Le nom du paramètre linguistique. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, pour en savoir plus sur les noms de paramètres linguistiques." #. type: table -#: doc/guix.texi:9800 +#: doc/guix.texi:10556 msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name." msgstr "Le nom de la source pour ce paramètre linguistique. C'est typiquement la partie @code{@var{langue}_@var{territoire}} du nom du paramètre." #. type: item -#: doc/guix.texi:9801 +#: doc/guix.texi:10557 #, no-wrap msgid "@code{charset} (default: @code{\"UTF-8\"})" msgstr "@code{charset} (par défaut : @code{\"UTF-8\"})" #. type: table -#: doc/guix.texi:9805 +#: doc/guix.texi:10561 msgid "The ``character set'' or ``code set'' for that locale, @uref{http://www.iana.org/assignments/character-sets, as defined by IANA}." msgstr "Le « jeu de caractères » d'un paramètre linguistique, @uref{http://www.iana.org/assignments/character-sets, défini par l'IANA}." #. type: defvr -#: doc/guix.texi:9809 +#: doc/guix.texi:10565 #, no-wrap msgid "{Scheme Variable} %default-locale-definitions" msgstr "{Variable Scheme} %default-locale-definitions" #. type: defvr -#: doc/guix.texi:9813 +#: doc/guix.texi:10569 msgid "A list of commonly used UTF-8 locales, used as the default value of the @code{locale-definitions} field of @code{operating-system} declarations." msgstr "Une liste des paramètres linguistiques UTF-8 couramment utilisés, utilisée comme valeur par défaut pour le champ @code{locale-definitions} des déclarations @code{operating-system}." #. type: cindex -#: doc/guix.texi:9814 +#: doc/guix.texi:10570 #, no-wrap msgid "locale name" msgstr "nom de paramètre linguistique" #. type: cindex -#: doc/guix.texi:9815 +#: doc/guix.texi:10571 #, no-wrap msgid "normalized codeset in locale names" msgstr "jeu de caractère normalisé dans les noms de paramètres linguistiques" #. type: defvr -#: doc/guix.texi:9821 +#: doc/guix.texi:10577 msgid "These locale definitions use the @dfn{normalized codeset} for the part that follows the dot in the name (@pxref{Using gettextized software, normalized codeset,, libc, The GNU C Library Reference Manual}). So for instance it has @code{uk_UA.utf8} but @emph{not}, say, @code{uk_UA.UTF-8}." msgstr "Ces définitions de paramètres linguistiques utilisent le @dfn{jeu de caractère normalisé} pour la partie qui suit le point dans le nom (@pxref{Using gettextized software, normalized codeset,, libc, The GNU C Library Reference Manual}). Donc par exemple il y a @code{uk_UA.utf8} mais @emph{pas}, disons, @code{uk_UA.UTF-8}." #. type: subsubsection -#: doc/guix.texi:9823 +#: doc/guix.texi:10579 #, no-wrap msgid "Locale Data Compatibility Considerations" msgstr "Considérations sur la compatibilité des données linguistiques" #. type: cindex -#: doc/guix.texi:9825 +#: doc/guix.texi:10581 #, no-wrap msgid "incompatibility, of locale data" msgstr "incompatibilité, des données linguistiques" #. type: Plain text -#: doc/guix.texi:9832 +#: doc/guix.texi:10588 msgid "@code{operating-system} declarations provide a @code{locale-libcs} field to specify the GNU@tie{}libc packages that are used to compile locale declarations (@pxref{operating-system Reference}). ``Why would I care?'', you may ask. Well, it turns out that the binary format of locale data is occasionally incompatible from one libc version to another." msgstr "Les déclaration @code{operating-system} fournissent un champ @code{locale-libcs} pour spécifier les paquets GNU@tie{}libc à utiliser pour compiler les déclarations de paramètres linguistiques (@pxref{operating-system Reference}). « Pourquoi je devrais m'en soucier ? », vous demandez-vous sûrement. Hé bien il se trouve que le format binaire des données linguistique est parfois incompatible d'une version de la libc à une autre." #. type: Plain text -#: doc/guix.texi:9844 +#: doc/guix.texi:10600 msgid "For instance, a program linked against libc version 2.21 is unable to read locale data produced with libc 2.22; worse, that program @emph{aborts} instead of simply ignoring the incompatible locale data@footnote{Versions 2.23 and later of GNU@tie{}libc will simply skip the incompatible locale data, which is already an improvement.}. Similarly, a program linked against libc 2.22 can read most, but not all, of the locale data from libc 2.21 (specifically, @code{LC_COLLATE} data is incompatible); thus calls to @code{setlocale} may fail, but programs will not abort." msgstr "Par exemple, un programme lié à la libc version 2.21 est incapable de lire les données linguistiques produites par la libc 2.22 ; pire, ce programme @emph{plante} plutôt que d'ignorer les données linguistiques incompatibles@footnote{Les version 2.23 et supérieures de la GNU@tie{}libc sauteront simplement les données linguistiques incompatibles, ce qui est déjà mieux.}. De même, un programme lié à la libc 2.22 peut lire la plupart mais pas toutes les données linguistiques de la libc 2.21 (spécifiquement les données @code{LC_COLLATE} sont incompatibles) ; donc les appels à @code{setlocale} peuvent échouer, mais les programmes ne plantent pas." #. type: Plain text -#: doc/guix.texi:9849 +#: doc/guix.texi:10605 msgid "The ``problem'' in GuixSD is that users have a lot of freedom: They can choose whether and when to upgrade software in their profiles, and might be using a libc version different from the one the system administrator used to build the system-wide locale data." msgstr "Le « problème » avec GuixSD c'est que les utilisateurs ont beaucoup de liberté : ils peuvent choisir s'ils veulent et quand ils veulent mettre à jour les logiciels de leur profil, et peuvent utiliser une version différente de la libc de celle que l'administrateur système utilise pour construire les données linguistiques du système global." #. type: Plain text -#: doc/guix.texi:9853 +#: doc/guix.texi:10609 msgid "Fortunately, unprivileged users can also install their own locale data and define @var{GUIX_LOCPATH} accordingly (@pxref{locales-and-locpath, @code{GUIX_LOCPATH} and locale packages})." msgstr "Heureusement, les utilisateurs non privilégiés peuvent aussi installer leur propres données linguistiques et définir @var{GUIX_LOCPATH} comme il le faut (@pxref{locales-and-locpath, @code{GUIX_LOCPATH} and locale packages})." #. type: Plain text -#: doc/guix.texi:9860 +#: doc/guix.texi:10616 msgid "Still, it is best if the system-wide locale data at @file{/run/current-system/locale} is built for all the libc versions actually in use on the system, so that all the programs can access it---this is especially crucial on a multi-user system. To do that, the administrator can specify several libc packages in the @code{locale-libcs} field of @code{operating-system}:" msgstr "Cependant, c'est encore mieux si les données linguistiques du système dans @file{/run/current-system/locale} étaient construites avec les versions de la libc utilisées sur le système, pour que tous les programmes puissent y accéder — c'est surtout crucial sur un système multi-utilisateurs. Pour cela, l'administrateur peut spécifier plusieurs paquets de la libc dans le champ @code{locale-libcs} de @code{operating-system} :" #. type: example -#: doc/guix.texi:9863 +#: doc/guix.texi:10619 #, no-wrap msgid "" "(use-package-modules base)\n" @@ -17353,7 +18650,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:9867 +#: doc/guix.texi:10623 #, no-wrap msgid "" "(operating-system\n" @@ -17365,54 +18662,66 @@ msgstr "" " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n" #. type: Plain text -#: doc/guix.texi:9872 +#: doc/guix.texi:10628 msgid "This example would lead to a system containing locale definitions for both libc 2.21 and the current version of libc in @file{/run/current-system/locale}." msgstr "cet exemple créera un système contenant les définitions des paramètres linguistiques pour la libc 2.21 et pour la version actuelle de la libc dans @file{/run/current-system/locale}." #. type: cindex -#: doc/guix.texi:9877 +#: doc/guix.texi:10633 #, no-wrap msgid "system services" msgstr "services systèmes" #. type: Plain text -#: doc/guix.texi:9883 +#: doc/guix.texi:10639 msgid "An important part of preparing an @code{operating-system} declaration is listing @dfn{system services} and their configuration (@pxref{Using the Configuration System}). System services are typically daemons launched when the system boots, or other actions needed at that time---e.g., configuring network access." msgstr "Une part importante de la préparation d'une déclaration @code{operating-system} est la liste des @dfn{services systèmes} et de leur configuration (@pxref{Using the Configuration System}). Les services systèmes sont typiquement des démons lancés au démarrage ou d'autres actions requises à ce moment-là — p.@: ex.@: configurer les accès réseaux." #. type: Plain text -#: doc/guix.texi:9890 +#: doc/guix.texi:10646 msgid "GuixSD has a broad definition of ``service'' (@pxref{Service Composition}), but many services are managed by the GNU@tie{}Shepherd (@pxref{Shepherd Services}). On a running system, the @command{herd} command allows you to list the available services, show their status, start and stop them, or do other specific operations (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}). For example:" msgstr "GuixSD a une définition large de « service » (@pxref{Service Composition}), mais beaucoup de services sont gérés par le GNU@tie{}Shepherd (@pxref{Shepherd Services}). Sur un système lancé, la commande @command{herd} vous permet de lister les services disponibles, montrer leur statut, les démarrer et les arrêter, ou faire d'autres opérations spécifiques (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}). Par exemple :" #. type: example -#: doc/guix.texi:9893 +#: doc/guix.texi:10649 #, no-wrap msgid "# herd status\n" msgstr "# herd status\n" #. type: Plain text -#: doc/guix.texi:9898 -msgid "The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given service:" -msgstr "La commande ci-dessus, lancée en @code{root}, liste les services actuellement définis. La commande @command{herd doc} montre un synopsis du service donné :" +#: doc/guix.texi:10654 +msgid "The above command, run as @code{root}, lists the currently defined services. The @command{herd doc} command shows a synopsis of the given service and its associated actions:" +msgstr "La commande ci-dessus, lancée en @code{root}, liste les services actuellement définis. La commande @command{herd doc} montre un synopsis du service donné et ses actions associées :" #. type: example -#: doc/guix.texi:9902 +#: doc/guix.texi:10658 #, no-wrap msgid "" "# herd doc nscd\n" "Run libc's name service cache daemon (nscd).\n" +"\n" msgstr "" "# herd doc nscd\n" "Run libc's name service cache daemon (nscd).\n" +"\n" + +#. type: example +#: doc/guix.texi:10661 +#, no-wrap +msgid "" +"# herd doc nscd action invalidate\n" +"invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n" +msgstr "" +"# herd doc nscd action invalidate\n" +"invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n" #. type: Plain text -#: doc/guix.texi:9907 +#: doc/guix.texi:10666 msgid "The @command{start}, @command{stop}, and @command{restart} sub-commands have the effect you would expect. For instance, the commands below stop the nscd service and restart the Xorg display server:" msgstr "Les sous-commandes @command{start}, @command{stop} et @command{restart} ont l'effet auquel on s'attend. Par exemple, les commande suivantes stoppent le service nscd et redémarrent le serveur d'affichage Xorg :" #. type: example -#: doc/guix.texi:9914 +#: doc/guix.texi:10673 #, no-wrap msgid "" "# herd stop nscd\n" @@ -17428,90 +18737,90 @@ msgstr "" "Service xorg-server has been started.\n" #. type: Plain text -#: doc/guix.texi:9919 +#: doc/guix.texi:10678 msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration." msgstr "Les sections suivantes documentent les services disponibles, en commençant par les services de base qui peuvent être utilisés avec une déclaration @code{operating-system}." #. type: Plain text -#: doc/guix.texi:9955 +#: doc/guix.texi:10714 msgid "The @code{(gnu services base)} module provides definitions for the basic services that one expects from the system. The services exported by this module are listed below." msgstr "Le module @code{(gnu services base)} fournit des définitions de services poru les services de base qu'on peut attendre du système. Les services exportés par ce module sort listés ci-dessous." #. type: defvr -#: doc/guix.texi:9956 +#: doc/guix.texi:10715 #, no-wrap msgid "{Scheme Variable} %base-services" msgstr "{Variable Scheme} %base-services" #. type: defvr -#: doc/guix.texi:9962 +#: doc/guix.texi:10721 msgid "This variable contains a list of basic services (@pxref{Service Types and Services}, for more information on service objects) one would expect from the system: a login service (mingetty) on each tty, syslogd, the libc name service cache daemon (nscd), the udev device manager, and more." msgstr "Cette variable contient une liste de services de base (@pxref{Service Types and Services}, pour plus d'informations sur les objets service) qu'on peut attendre du système : un service de connexion (mingetty) sur chaque tty, syslogd, le démon de cache de noms de la libc (nscd), le gestionnaire de périphériques udev, et plus." #. type: defvr -#: doc/guix.texi:9967 +#: doc/guix.texi:10726 msgid "This is the default value of the @code{services} field of @code{operating-system} declarations. Usually, when customizing a system, you will want to append services to @var{%base-services}, like this:" msgstr "C'est la valeur par défaut du champ @code{services} des déclarations @code{operating-system}. Habituellement, lors de la personnalisation d'un système, vous voudrez ajouter des services à ceux de @var{%base-services}, comme ceci :" #. type: example -#: doc/guix.texi:9970 +#: doc/guix.texi:10729 #, no-wrap msgid "(cons* (avahi-service) (lsh-service) %base-services)\n" msgstr "(cons* (avahi-service) (lsh-service) %base-services)\n" #. type: defvr -#: doc/guix.texi:9973 +#: doc/guix.texi:10732 #, no-wrap msgid "{Scheme Variable} special-files-service-type" msgstr "{Variable Scheme} special-files-service-type" #. type: defvr -#: doc/guix.texi:9976 +#: doc/guix.texi:10735 msgid "This is the service that sets up ``special files'' such as @file{/bin/sh}; an instance of it is part of @code{%base-services}." msgstr "C'est le service qui met en place des « fichiers spéciaux » comme @file{/bin/sh} ; une instance de ce service fait partie de @code{%base-services}." #. type: defvr -#: doc/guix.texi:9980 +#: doc/guix.texi:10739 msgid "The value associated with @code{special-files-service-type} services must be a list of tuples where the first element is the ``special file'' and the second element is its target. By default it is:" msgstr "La valeur associée avec les services @code{special-files-service-type} doit être une liste de couples dont le premier élément est le « fichier spécial » et le deuxième sa cible. Par défaut il s'agit de :" #. type: file{#1} -#: doc/guix.texi:9981 +#: doc/guix.texi:10740 #, no-wrap msgid "/bin/sh" msgstr "/bin/sh" #. type: cindex -#: doc/guix.texi:9982 +#: doc/guix.texi:10741 #, no-wrap msgid "@file{sh}, in @file{/bin}" msgstr "@file{sh}, dans @file{/bin}" #. type: example -#: doc/guix.texi:9985 +#: doc/guix.texi:10744 #, no-wrap msgid "`((\"/bin/sh\" ,(file-append @var{bash} \"/bin/sh\")))\n" msgstr "`((\"/bin/sh\" ,(file-append @var{bash} \"/bin/sh\")))\n" #. type: file{#1} -#: doc/guix.texi:9987 +#: doc/guix.texi:10746 #, no-wrap msgid "/usr/bin/env" msgstr "/usr/bin/env" #. type: cindex -#: doc/guix.texi:9988 +#: doc/guix.texi:10747 #, no-wrap msgid "@file{env}, in @file{/usr/bin}" msgstr "@file{env}, dans @file{/usr/bin}" #. type: defvr -#: doc/guix.texi:9991 +#: doc/guix.texi:10750 msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:" msgstr "Si vous voulez ajouter, disons, @code{/usr/bin/env} à votre système, vous pouvez changer cela en :" #. type: example -#: doc/guix.texi:9995 +#: doc/guix.texi:10754 #, no-wrap msgid "" "`((\"/bin/sh\" ,(file-append @var{bash} \"/bin/sh\"))\n" @@ -17521,28 +18830,28 @@ msgstr "" " (\"/usr/bin/env\" ,(file-append @var{coreutils} \"/bin/env\")))\n" #. type: defvr -#: doc/guix.texi:10002 +#: doc/guix.texi:10761 msgid "Since this is part of @code{%base-services}, you can use @code{modify-services} to customize the set of special files (@pxref{Service Reference, @code{modify-services}}). But the simple way to add a special file is @i{via} the @code{extra-special-file} procedure (see below.)" msgstr "Comme il fait parti de @code{%base-services}, vous pouvez utiliser @code{modify-services} pour personnaliser l'ensemble des fichiers spéciaux (@pxref{Service Reference, @code{modify-services}}). Mais une manière plus simple d'ajouter un fichier spécial est d'utiliser la procédure @code{extra-special-file} (voir plus bas)." #. type: deffn -#: doc/guix.texi:10004 +#: doc/guix.texi:10763 #, no-wrap msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}" msgstr "{Procédure Scheme} extra-special-file @var{file} @var{target}" #. type: deffn -#: doc/guix.texi:10006 +#: doc/guix.texi:10765 msgid "Use @var{target} as the ``special file'' @var{file}." msgstr "Utilise @var{target} comme « fichier spécial » @var{file}." #. type: deffn -#: doc/guix.texi:10010 +#: doc/guix.texi:10769 msgid "For example, adding the following lines to the @code{services} field of your operating system declaration leads to a @file{/usr/bin/env} symlink:" msgstr "Par exemple, ajouter l'une des lignes suivantes au champ @code{services} de votre déclaration de système d'exploitation crée un lien symbolique @file{/usr/bin/env} :" #. type: example -#: doc/guix.texi:10014 +#: doc/guix.texi:10773 #, no-wrap msgid "" "(extra-special-file \"/usr/bin/env\"\n" @@ -17552,1101 +18861,1152 @@ msgstr "" " (file-append coreutils \"/bin/env\"))\n" #. type: deffn -#: doc/guix.texi:10017 +#: doc/guix.texi:10776 #, no-wrap msgid "{Scheme Procedure} host-name-service @var{name}" msgstr "{Procédure Scheme} host-name-service @var{name}" #. type: deffn -#: doc/guix.texi:10019 +#: doc/guix.texi:10778 msgid "Return a service that sets the host name to @var{name}." msgstr "Renvoie un service qui paramètre le nom d'hôte à @var{name}." #. type: deffn -#: doc/guix.texi:10021 +#: doc/guix.texi:10780 #, no-wrap msgid "{Scheme Procedure} login-service @var{config}" msgstr "{Procédure Scheme} login-service @var{config}" #. type: deffn -#: doc/guix.texi:10025 +#: doc/guix.texi:10784 msgid "Return a service to run login according to @var{config}, a @code{} object, which specifies the message of the day, among other things." msgstr "Renvoie un service pour lancer login en suivant @var{config}, un objet @code{} qui spécifie le message du jour, entre autres choses." #. type: deftp -#: doc/guix.texi:10027 +#: doc/guix.texi:10786 #, no-wrap msgid "{Data Type} login-configuration" msgstr "{Type de données} login-configuration" #. type: deftp -#: doc/guix.texi:10029 +#: doc/guix.texi:10788 msgid "This is the data type representing the configuration of login." msgstr "Le type de données qui représente la configuration de login." #. type: code{#1} -#: doc/guix.texi:10032 +#: doc/guix.texi:10791 #, no-wrap msgid "motd" msgstr "motd" #. type: cindex -#: doc/guix.texi:10033 +#: doc/guix.texi:10792 #, no-wrap msgid "message of the day" msgstr "message du jour" #. type: table -#: doc/guix.texi:10035 +#: doc/guix.texi:10794 msgid "A file-like object containing the ``message of the day''." msgstr "Un objet simili-fichier contenant le « message du jour »." #. type: item -#: doc/guix.texi:10036 doc/guix.texi:11736 +#: doc/guix.texi:10795 doc/guix.texi:12683 #, no-wrap msgid "@code{allow-empty-passwords?} (default: @code{#t})" msgstr "@code{allow-empty-passwords?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:10039 +#: doc/guix.texi:10798 msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created." msgstr "Permet les mots de passes vides par défaut pour que les utilisateurs puissent se connecter au compte « root » la première fois après sa création." #. type: deffn -#: doc/guix.texi:10043 +#: doc/guix.texi:10802 #, no-wrap msgid "{Scheme Procedure} mingetty-service @var{config}" msgstr "{Procédure Scheme} mingetty-service @var{config}" #. type: deffn -#: doc/guix.texi:10047 +#: doc/guix.texi:10806 msgid "Return a service to run mingetty according to @var{config}, a @code{} object, which specifies the tty to run, among other things." msgstr "Renvoie un service qui lance mingetty en suivant @var{config}, un objet @code{}, qui spécifie le tty à lancer entre autres choses." #. type: deftp -#: doc/guix.texi:10049 +#: doc/guix.texi:10808 #, no-wrap msgid "{Data Type} mingetty-configuration" msgstr "{Type de données} mingetty-configuration" #. type: deftp -#: doc/guix.texi:10052 +#: doc/guix.texi:10811 msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in." msgstr "C'est le type de données représentant la configuration de Mingetty, qui fournit l'implémentation par défaut de l'écran de connexion des consoles virtuelles." #. type: code{#1} -#: doc/guix.texi:10055 doc/guix.texi:10091 +#: doc/guix.texi:10814 doc/guix.texi:10850 #, no-wrap msgid "tty" msgstr "tty" #. type: table -#: doc/guix.texi:10057 +#: doc/guix.texi:10816 msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}." msgstr "Le nom de la console sur laquelle tourne ce Mingetty, p.@: ex.@: @code{\"tty1\"}." #. type: item -#: doc/guix.texi:10058 doc/guix.texi:10120 +#: doc/guix.texi:10817 doc/guix.texi:10879 doc/guix.texi:11038 #, no-wrap msgid "@code{auto-login} (default: @code{#f})" msgstr "@code{auto-login} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10062 +#: doc/guix.texi:10821 msgid "When true, this field must be a string denoting the user name under which the system automatically logs in. When it is @code{#f}, a user name and password must be entered to log in." msgstr "Lorsque la valeur est vraie, ce champ doit être une chaîne de caractère dénotant le nom d'utilisateur pour lequel le système se connecte automatiquement. Lorsque la valeur est @code{#f}, il faut entrer un nom d'utilisateur et un mot de passe pour se connecter." #. type: item -#: doc/guix.texi:10063 +#: doc/guix.texi:10822 #, no-wrap msgid "@code{login-program} (default: @code{#f})" msgstr "@code{login-program} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10067 +#: doc/guix.texi:10826 msgid "This must be either @code{#f}, in which case the default log-in program is used (@command{login} from the Shadow tool suite), or a gexp denoting the name of the log-in program." msgstr "Ce doit être soit @code{#f}, auquel cas le programme de connexion par défaut est utilisé (@command{login} de la suite d'outils Shadow), soit une gexp dénotant le nom d'un programme de connexion." #. type: item -#: doc/guix.texi:10068 +#: doc/guix.texi:10827 #, no-wrap msgid "@code{login-pause?} (default: @code{#f})" msgstr "@code{login-pause?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10071 +#: doc/guix.texi:10830 msgid "When set to @code{#t} in conjunction with @var{auto-login}, the user will have to press a key before the log-in shell is launched." msgstr "Lorsque la valeur est @code{#t} en plus de @var{auto-login}, l'utilisateur devrai appuyer sur une touche avant que le shell de connexion ne soit lancé." #. type: item -#: doc/guix.texi:10072 +#: doc/guix.texi:10831 #, no-wrap msgid "@code{mingetty} (default: @var{mingetty})" msgstr "@code{mingetty} (par défaut : @var{mingetty})" #. type: table -#: doc/guix.texi:10074 +#: doc/guix.texi:10833 msgid "The Mingetty package to use." msgstr "Le paquet Mingetty à utiliser." #. type: deffn -#: doc/guix.texi:10078 +#: doc/guix.texi:10837 #, no-wrap msgid "{Scheme Procedure} agetty-service @var{config}" msgstr "{Procédure Scheme} agetty-service @var{config}" #. type: deffn -#: doc/guix.texi:10082 +#: doc/guix.texi:10841 msgid "Return a service to run agetty according to @var{config}, an @code{} object, which specifies the tty to run, among other things." msgstr "Renvoie un service pour lancer agetty en suivant @var{config}, un objet @code{}, qui spécifie le tty à lancer, entre autres choses." #. type: deftp -#: doc/guix.texi:10084 +#: doc/guix.texi:10843 #, no-wrap msgid "{Data Type} agetty-configuration" msgstr "{Type de données} agetty-configuration" #. type: deftp -#: doc/guix.texi:10088 +#: doc/guix.texi:10847 msgid "This is the data type representing the configuration of agetty, which implements virtual and serial console log-in. See the @code{agetty(8)} man page for more information." msgstr "Ce type de données représente la configuration de agetty, qui implémente l'écran de connexion des consoles virtuelles et series. Voir la page de manuel de @code{agetty(8)} pour plus d'informations." #. type: table -#: doc/guix.texi:10095 +#: doc/guix.texi:10854 msgid "The name of the console this agetty runs on, as a string---e.g., @code{\"ttyS0\"}. This argument is optional, it will default to a reasonable default serial port used by the kernel Linux." msgstr "Le nom de la console sur laquelle agetty est lancé p.@: ex.@: @code{\"ttyS0\"}. Cet argument est facultatif, il aura par défaut une valeur raisonnable d'un port série utilisé par le noyau Linux." #. type: table -#: doc/guix.texi:10099 +#: doc/guix.texi:10858 msgid "For this, if there is a value for an option @code{agetty.tty} in the kernel command line, agetty will extract the device name of the serial port from it and use that." msgstr "Pour cela, s'il y a une valeur pour une option @code{agetty.tty} sur la ligne de commande du noyau, agetty extraira le nom du périphérique du port série à partir de cette option." #. type: table -#: doc/guix.texi:10103 +#: doc/guix.texi:10862 msgid "If not and if there is a value for an option @code{console} with a tty in the Linux command line, agetty will extract the device name of the serial port from it and use that." msgstr "Sinon et s'il y a une valeur pour une option @code{console} avec un tty sur la ligne de commande du noyau Linux, agetty extraira le nom du périphérique du port série et l'utilisera." #. type: table -#: doc/guix.texi:10107 +#: doc/guix.texi:10866 msgid "In both cases, agetty will leave the other serial device settings (baud rate etc.) alone---in the hope that Linux pinned them to the correct values." msgstr "Dans les deux cas, agetty laissera les autres paramètres du périphérique série (baud, etc) sans y toucher — dans l'espoir que Linux leur a assigné les bonnes valeurs." #. type: item -#: doc/guix.texi:10108 +#: doc/guix.texi:10867 #, no-wrap msgid "@code{baud-rate} (default: @code{#f})" msgstr "@code{baud-rate} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10111 +#: doc/guix.texi:10870 msgid "A string containing a comma-separated list of one or more baud rates, in descending order." msgstr "Une chaîne qui contient une liste d'un ou plusieurs taux de baud séparés par des virgules, en ordre décroissant." #. type: item -#: doc/guix.texi:10112 +#: doc/guix.texi:10871 #, no-wrap msgid "@code{term} (default: @code{#f})" msgstr "@code{term} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10115 +#: doc/guix.texi:10874 msgid "A string containing the value used for the @code{TERM} environment variable." msgstr "Une chaîne contenant la valeur utilisée pour la variable d'environnement @code{TERM}." #. type: item -#: doc/guix.texi:10116 +#: doc/guix.texi:10875 #, no-wrap msgid "@code{eight-bits?} (default: @code{#f})" msgstr "@code{eight-bits?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10119 +#: doc/guix.texi:10878 msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled." msgstr "Lorsque la valeur est @code{#t}, le tty est supposé être propre pour les caractères 8-bit et la détection de parité est désactivée." #. type: table -#: doc/guix.texi:10123 +#: doc/guix.texi:10882 doc/guix.texi:11041 msgid "When passed a login name, as a string, the specified user will be logged in automatically without prompting for their login name or password." msgstr "Lorsqu'un nom de connexion est passé comme une chaîne de caractères, l'utilisateur spécifié sera automatiquement connecté sans demande du nom d'utilisateur ni du mot de passe." #. type: item -#: doc/guix.texi:10124 +#: doc/guix.texi:10883 #, no-wrap msgid "@code{no-reset?} (default: @code{#f})" msgstr "@code{no-reset?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10126 +#: doc/guix.texi:10885 msgid "When @code{#t}, don't reset terminal cflags (control modes)." msgstr "Lorsque la valeur est @code{#t}, ne vide pas les cflags du terminal (modes de contrôle)." #. type: item -#: doc/guix.texi:10127 +#: doc/guix.texi:10886 #, no-wrap msgid "@code{host} (default: @code{#f})" msgstr "@code{host} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10130 +#: doc/guix.texi:10889 msgid "This accepts a string containing the \"login_host\", which will be written into the @file{/var/run/utmpx} file." msgstr "Cette option accepte une chaîne contenant le « login_host », qui sera écrit dans le fichier @file{/var/run/utmpx}." #. type: item -#: doc/guix.texi:10131 +#: doc/guix.texi:10890 #, no-wrap msgid "@code{remote?} (default: @code{#f})" msgstr "@code{remote?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10135 +#: doc/guix.texi:10894 msgid "When set to @code{#t} in conjunction with @var{host}, this will add an @code{-r} fakehost option to the command line of the login program specified in @var{login-program}." msgstr "Lorsque la valeur est @code{#t} en plus de @var{host}, cette option ajoutera une option fakehost @code{-r} à la ligne de commande du programme de connexion spécifié dans @var{login-program}." #. type: item -#: doc/guix.texi:10136 +#: doc/guix.texi:10895 #, no-wrap msgid "@code{flow-control?} (default: @code{#f})" msgstr "@code{flow-control?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10138 +#: doc/guix.texi:10897 msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control." msgstr "Lorsque la valeur est @code{#t}, active le contrôle de flux matériel (RTS/CTS)." #. type: item -#: doc/guix.texi:10139 +#: doc/guix.texi:10898 #, no-wrap msgid "@code{no-issue?} (default: @code{#f})" msgstr "@code{no-issue?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10142 +#: doc/guix.texi:10901 msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt." msgstr "Lorsque la valeur est @code{#t}, le contenu du fichier @file{/etc/issue} ne sera pas affiché avant de présenter l'écran de connexion." #. type: item -#: doc/guix.texi:10143 +#: doc/guix.texi:10902 #, no-wrap msgid "@code{init-string} (default: @code{#f})" msgstr "@code{init-string} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10146 +#: doc/guix.texi:10905 msgid "This accepts a string that will be sent to the tty or modem before sending anything else. It can be used to initialize a modem." msgstr "Cette option accepte une chaîne de caractères qui sera envoyée au tty ou au modem avant toute autre chose. Elle peut être utilisée pour initialiser un modem." #. type: item -#: doc/guix.texi:10147 +#: doc/guix.texi:10906 #, no-wrap msgid "@code{no-clear?} (default: @code{#f})" msgstr "@code{no-clear?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10150 +#: doc/guix.texi:10909 msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt." msgstr "Lorsque la valeur est @code{#t}, agetty ne nettoiera pas l'écran avant de montrer l'écran de connexion." #. type: item -#: doc/guix.texi:10151 +#: doc/guix.texi:10910 #, no-wrap msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))" msgstr "@code{login-program} (par défaut : (file-append shadow \"/bin/login\"))" #. type: table -#: doc/guix.texi:10155 +#: doc/guix.texi:10914 msgid "This must be either a gexp denoting the name of a log-in program, or unset, in which case the default value is the @command{login} from the Shadow tool suite." msgstr "Cette option doit être soit une gexp dénotant le nom d'un programme de connexion, soit non définie, auquel cas la valeur par défaut est la commande @command{login} de la suite d'outils Shadow." #. type: item -#: doc/guix.texi:10156 +#: doc/guix.texi:10915 #, no-wrap msgid "@code{local-line} (default: @code{#f})" msgstr "@code{local-line} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10160 +#: doc/guix.texi:10919 msgid "Control the CLOCAL line flag. This accepts one of three symbols as arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f}, the default value chosen by agetty is @code{'auto}." msgstr "Contrôle le drapeau CLOCAL. Cette option accepte l'un des trois symboles comme argument, @code{'auto}, @code{'always} ou @code{'never}. Si la valeur est @code{#f}, la valeur par défaut choisie par agetty est @code{'auto}…" #. type: item -#: doc/guix.texi:10161 +#: doc/guix.texi:10920 #, no-wrap msgid "@code{extract-baud?} (default: @code{#f})" msgstr "@code{extract-baud?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10164 +#: doc/guix.texi:10923 msgid "When set to @code{#t}, instruct agetty to try to extract the baud rate from the status messages produced by certain types of modems." msgstr "Lorsque la valeur est @code{#t}, dit à agetty d'essayer d'extraire la taux de baud depuis les messages de statut produits par certains modems." #. type: item -#: doc/guix.texi:10165 +#: doc/guix.texi:10924 #, no-wrap msgid "@code{skip-login?} (default: @code{#f})" msgstr "@code{skip-login?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10169 +#: doc/guix.texi:10928 msgid "When set to @code{#t}, do not prompt the user for a login name. This can be used with @var{login-program} field to use non-standard login systems." msgstr "Lorsque la valeur est @code{#t}, ne demande par de nom d'utilisateur. Elle peut être utilisée avec le champ @var{login-program} pour utiliser des systèmes de connexion non standards." #. type: item -#: doc/guix.texi:10170 +#: doc/guix.texi:10929 #, no-wrap msgid "@code{no-newline?} (default: @code{#f})" msgstr "@code{no-newline?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10173 +#: doc/guix.texi:10932 msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file." msgstr "Lorsque la valeur est @code{#t}, n'affiche pas de retour à la ligne avant d'afficher le fichier @file{/etc/issue}." #. type: item -#: doc/guix.texi:10175 +#: doc/guix.texi:10934 #, no-wrap msgid "@code{login-options} (default: @code{#f})" msgstr "@code{login-options} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10180 +#: doc/guix.texi:10939 msgid "This option accepts a string containing options that are passed to the login program. When used with the @var{login-program}, be aware that a malicious user could try to enter a login name containing embedded options that could be parsed by the login program." msgstr "Cette option accepte une chaîne de caractères contenant des options passées au programme login. Lorsqu'utilisé avec @var{login-program}, soyez conscient qu'un utilisateur malicieux pourrait essayer de rentrer un nom d'utilisateur contenant des options incluses qui pourraient être analysées par le programme de connexion." #. type: item -#: doc/guix.texi:10181 +#: doc/guix.texi:10940 #, no-wrap msgid "@code{login-pause} (default: @code{#f})" msgstr "@code{login-pause} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10185 +#: doc/guix.texi:10944 msgid "When set to @code{#t}, wait for any key before showing the login prompt. This can be used in conjunction with @var{auto-login} to save memory by lazily spawning shells." msgstr "Lorsque la valeur est @code{#t}, attend qu'une touche soit appuyée avant de montrer l'écran de connexion. Cela peut être utilisé avec @var{auto-login} pour sauvegarder de la mémoire en lançant les shells de manière fainéante." #. type: item -#: doc/guix.texi:10186 +#: doc/guix.texi:10945 #, no-wrap msgid "@code{chroot} (default: @code{#f})" msgstr "@code{chroot} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10189 +#: doc/guix.texi:10948 msgid "Change root to the specified directory. This option accepts a directory path as a string." msgstr "Change de racine dans le répertoire donné. Cette option accepte un chemin en tant que chaîne de caractères." #. type: item -#: doc/guix.texi:10190 +#: doc/guix.texi:10949 #, no-wrap msgid "@code{hangup?} (default: @code{#f})" msgstr "@code{hangup?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10193 +#: doc/guix.texi:10952 msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal." msgstr "Utilise l'appel système Linux @code{vhangup} pour raccrocher virtuellement le terminal spécifié." #. type: item -#: doc/guix.texi:10194 +#: doc/guix.texi:10953 #, no-wrap msgid "@code{keep-baud?} (default: @code{#f})" msgstr "@code{keep-baud?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10198 +#: doc/guix.texi:10957 msgid "When set to @code{#t}, try to keep the existing baud rate. The baud rates from @var{baud-rate} are used when agetty receives a @key{BREAK} character." msgstr "Lorsque la valeur est @code{#t}, essaye de garder le taux de baud existant. Les taux de baud de @var{baud-rate} sont utilisés lorsque agetty reçoit un caractères @key{BREAK}." #. type: item -#: doc/guix.texi:10199 +#: doc/guix.texi:10958 #, no-wrap msgid "@code{timeout} (default: @code{#f})" msgstr "@code{timeout} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10202 +#: doc/guix.texi:10961 msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds." msgstr "Lorsque la valeur est un nombre entier, termine la session si aucun nom d'utilisateur n'a pu être lu après @var{timeout} secondes." #. type: item -#: doc/guix.texi:10203 +#: doc/guix.texi:10962 #, no-wrap msgid "@code{detect-case?} (default: @code{#f})" msgstr "@code{detect-case?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10209 +#: doc/guix.texi:10968 msgid "When set to @code{#t}, turn on support for detecting an uppercase-only terminal. This setting will detect a login name containing only uppercase letters as indicating an uppercase-only terminal and turn on some upper-to-lower case conversions. Note that this will not support Unicode characters." msgstr "Lorsque la valeur est @code{#t}, active le support pour la détection des terminaux en majuscule uniquement. Ce paramètre détectera qu'un nom d'utilisateur qui ne contient que des majuscules indique un terminal en majuscule et effectuera des conversion de majuscule en minuscule. Remarquez que cela ne fonctionne pas avec les caractères unicode." #. type: item -#: doc/guix.texi:10210 +#: doc/guix.texi:10969 #, no-wrap msgid "@code{wait-cr?} (default: @code{#f})" msgstr "@code{wait-cr?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10215 +#: doc/guix.texi:10974 msgid "When set to @code{#t}, wait for the user or modem to send a carriage-return or linefeed character before displaying @file{/etc/issue} or login prompt. This is typically used with the @var{init-string} option." msgstr "Lorsque la valeur est @code{#t}, attend que l'utilisateur ou le modem envoie un retour chariot ou un saut de ligne avant d'afficher @file{/etc/issue} ou l'écran de connexion. Cela est typiquement utilisé avec l'option @var{init-string}." #. type: item -#: doc/guix.texi:10216 +#: doc/guix.texi:10975 #, no-wrap msgid "@code{no-hints?} (default: @code{#f})" msgstr "@code{no-hints?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10219 +#: doc/guix.texi:10978 msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks." msgstr "Lorsque la valeur est @code{#t}, n'affiche par les astuces à propos des verrouillages numériques, majuscule et défilement." #. type: item -#: doc/guix.texi:10220 +#: doc/guix.texi:10979 #, no-wrap msgid "@code{no-hostname?} (default: @code{#f})" msgstr "@code{no-hostname?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10223 +#: doc/guix.texi:10982 msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all." msgstr "Par défaut, le nom d'hôte est affiché. Lorsque la valeur est @code{#t}, aucun nom d'hôte ne sera affiché." #. type: item -#: doc/guix.texi:10224 +#: doc/guix.texi:10983 #, no-wrap msgid "@code{long-hostname?} (default: @code{#f})" msgstr "@code{long-hostname?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10228 +#: doc/guix.texi:10987 msgid "By default, the hostname is only printed until the first dot. When this option is set to @code{#t}, the fully qualified hostname by @code{gethostname} or @code{getaddrinfo} is shown." msgstr "Par défaut, le nom d'hôte n'est affiché qu'après le premier point. Lorsque la valeur est @code{#t}, le nom d'hôte pleinement qualifié renvoyé par @code{gethostname} ou @code{getaddrinfo} sera affiché." #. type: item -#: doc/guix.texi:10229 +#: doc/guix.texi:10988 #, no-wrap msgid "@code{erase-characters} (default: @code{#f})" msgstr "@code{erase-characters} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10232 +#: doc/guix.texi:10991 msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name." msgstr "Cette option accepte une chaîne de caractères de caractères supplémentaires qui devraient être interprétés comme des effacements lorsque l'utilisateur les tape dans leur nom d'utilisateur." #. type: item -#: doc/guix.texi:10233 +#: doc/guix.texi:10992 #, no-wrap msgid "@code{kill-characters} (default: @code{#f})" msgstr "@code{kill-characters} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10237 +#: doc/guix.texi:10996 msgid "This option accepts a string that should be interpreted to mean \"ignore all previous characters\" (also called a \"kill\" character) when the types their login name." msgstr "Cette option accepte une chaîne de caractères qui devrait être interprété comme signifiant « ignore tous les caractères précédent » (aussi appelé un caractère « kill ») lorsque l'utilisateur tape son nom d'utilisateur." #. type: item -#: doc/guix.texi:10238 +#: doc/guix.texi:10997 #, no-wrap msgid "@code{chdir} (default: @code{#f})" msgstr "@code{chdir} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10241 +#: doc/guix.texi:11000 msgid "This option accepts, as a string, a directory path that will be changed to before login." msgstr "Cette option accepte, en tant que chaîne de caractères, un chemin vers un répertoire dans lequel se trouvera la commande avant la connexion." #. type: item -#: doc/guix.texi:10242 +#: doc/guix.texi:11001 #, no-wrap msgid "@code{delay} (default: @code{#f})" msgstr "@code{delay} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10245 +#: doc/guix.texi:11004 msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt." msgstr "Cette option accepte, en tant qu'entier, le nombre de secondes à attendre avant d'ouvrir le tty et afficher l'écran de connexion." #. type: item -#: doc/guix.texi:10246 +#: doc/guix.texi:11005 #, no-wrap msgid "@code{nice} (default: @code{#f})" msgstr "@code{nice} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10249 +#: doc/guix.texi:11008 msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program." msgstr "Cette option accepte, en tant qu'entier, la valeur « nice » avec laquelle le programme @command{login} tourne." #. type: item -#: doc/guix.texi:10250 doc/guix.texi:10450 +#: doc/guix.texi:11009 doc/guix.texi:11240 doc/guix.texi:11955 +#: doc/guix.texi:17244 #, no-wrap msgid "@code{extra-options} (default: @code{'()})" msgstr "@code{extra-options} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:10253 +#: doc/guix.texi:11012 msgid "This option provides an \"escape hatch\" for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings." msgstr "Cette option fournie un « mécanisme de secours » pour que l'utilisateur puisse ajouter des arguments de la ligne de commande arbitraires à @command{agetty} comme une liste de chaînes de caractères." #. type: deffn -#: doc/guix.texi:10257 +#: doc/guix.texi:11016 #, no-wrap msgid "{Scheme Procedure} kmscon-service-type @var{config}" msgstr "{Procédure Scheme} kmscon-service-type @var{config}" #. type: deffn -#: doc/guix.texi:10261 +#: doc/guix.texi:11020 msgid "Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} according to @var{config}, a @code{} object, which specifies the tty to run, among other things." msgstr "Renvoie un service qui lance @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon} d'après @var{config}, un objet @code{}, qui spécifie le tty sur lequel tourner, entre autres choses." #. type: deftp -#: doc/guix.texi:10263 +#: doc/guix.texi:11022 #, no-wrap msgid "{Data Type} kmscon-configuration" msgstr "{Type de données} kmscon-configuration" #. type: deftp -#: doc/guix.texi:10266 +#: doc/guix.texi:11025 msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in." msgstr "C'est le type de données représentant la configuration de Kscon, qui implémente l'écran de chargement de la console virtuelle." #. type: code{#1} -#: doc/guix.texi:10269 +#: doc/guix.texi:11028 #, no-wrap msgid "virtual-terminal" msgstr "virtual-terminal" #. type: table -#: doc/guix.texi:10271 +#: doc/guix.texi:11030 msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}." msgstr "Le nom de la console sur laquelle Kmscon tourne, p.@: ex.@: @code{\"tty1\"}." #. type: item -#: doc/guix.texi:10272 +#: doc/guix.texi:11031 #, no-wrap msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})" msgstr "@code{login-program} (par défaut : @code{#~(string-append #$shadow \"/bin/login\")})" #. type: table -#: doc/guix.texi:10275 +#: doc/guix.texi:11034 msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite." msgstr "Une gexp qui dénote le nom d'un programme de connexion. le programme de connexion par défaut est @command{login} de la suite d'outils Shadow." #. type: item -#: doc/guix.texi:10276 +#: doc/guix.texi:11035 #, no-wrap msgid "@code{login-arguments} (default: @code{'(\"-p\")})" msgstr "@code{login-arguments} (par défaut : @code{'(\"-p\")})" #. type: table -#: doc/guix.texi:10278 +#: doc/guix.texi:11037 msgid "A list of arguments to pass to @command{login}." msgstr "Une liste d'arguments à passer à @command{login}." #. type: item -#: doc/guix.texi:10279 +#: doc/guix.texi:11042 #, no-wrap msgid "@code{hardware-acceleration?} (default: #f)" msgstr "@code{hardware-acceleration?} (par défaut : #f)" #. type: table -#: doc/guix.texi:10281 +#: doc/guix.texi:11044 msgid "Whether to use hardware acceleration." msgstr "S'il faut utiliser l'accélération matérielle." #. type: item -#: doc/guix.texi:10282 +#: doc/guix.texi:11045 #, no-wrap msgid "@code{kmscon} (default: @var{kmscon})" msgstr "@code{kmscon} (par défaut : @var{kmscon})" #. type: table -#: doc/guix.texi:10284 +#: doc/guix.texi:11047 msgid "The Kmscon package to use." msgstr "Le paquet Kmscon à utiliser." #. type: cindex -#: doc/guix.texi:10288 +#: doc/guix.texi:11051 #, no-wrap msgid "name service cache daemon" msgstr "name service cache daemon" #. type: cindex -#: doc/guix.texi:10289 +#: doc/guix.texi:11052 #, no-wrap msgid "nscd" msgstr "nscd" #. type: deffn -#: doc/guix.texi:10290 +#: doc/guix.texi:11053 #, no-wrap msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @" msgstr "{Procédure Scheme} nscd-service [@var{config}] [#:glibc glibc] @" #. type: deffn -#: doc/guix.texi:10295 +#: doc/guix.texi:11058 msgid "[#:name-services '()] Return a service that runs the libc name service cache daemon (nscd) with the given @var{config}---an @code{} object. @xref{Name Service Switch}, for an example." msgstr "" "[#:name-services '()]\n" "Renvoie un service qui lance le démon de cache de services de noms de la libc (nscd) avec la @var{config} donnée — un objet @code{}. @xref{Name Service Switch}, pour un exemple." +#. type: deffn +#: doc/guix.texi:11060 +msgid "For convenience, the Shepherd service for nscd provides the following actions:" +msgstr "Parce que c'est pratique, le service du Shepherd pour nscd fournit les actions suivantes :" + +#. type: item +#: doc/guix.texi:11062 +#, no-wrap +msgid "invalidate" +msgstr "invalidate" + +#. type: cindex +#: doc/guix.texi:11063 +#, no-wrap +msgid "cache invalidation, nscd" +msgstr "invalidation du cache, nscd" + +#. type: cindex +#: doc/guix.texi:11064 +#, no-wrap +msgid "nscd, cache invalidation" +msgstr "nscd, invalidation du cache" + +#. type: table +#: doc/guix.texi:11066 +msgid "This invalidate the given cache. For instance, running:" +msgstr "Cela invalide le cache dnné. Par exemple, en laçant :" + +#. type: example +#: doc/guix.texi:11069 +#, no-wrap +msgid "herd invalidate nscd hosts\n" +msgstr "herd invalidate nscd hosts\n" + +#. type: table +#: doc/guix.texi:11073 +msgid "invalidates the host name lookup cache of nscd." +msgstr "on invalide le cache de noms d'hôtes de nscd." + +#. type: item +#: doc/guix.texi:11074 +#, no-wrap +msgid "statistics" +msgstr "statistiques" + +#. type: table +#: doc/guix.texi:11077 +msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches." +msgstr "Lancer @command{herd statistics nscd} affiche des informations sur l'utilisation de nscd et des caches." + #. type: defvr -#: doc/guix.texi:10297 +#: doc/guix.texi:11081 #, no-wrap msgid "{Scheme Variable} %nscd-default-configuration" msgstr "{Variable Scheme} %nscd-default-configuration" #. type: defvr -#: doc/guix.texi:10301 +#: doc/guix.texi:11085 msgid "This is the default @code{} value (see below) used by @code{nscd-service}. It uses the caches defined by @var{%nscd-default-caches}; see below." msgstr "C'est la valeur par défaut de @code{} (voir plus bas) utilisée par @code{nscd-service}. Elle utilise les caches définis par @var{%nscd-default-caches} ; voir plus bas." #. type: deftp -#: doc/guix.texi:10303 +#: doc/guix.texi:11087 #, no-wrap msgid "{Data Type} nscd-configuration" msgstr "{Type de données} nscd-configuration" #. type: deftp -#: doc/guix.texi:10306 +#: doc/guix.texi:11090 msgid "This is the data type representing the name service cache daemon (nscd) configuration." msgstr "C'est le type de données qui représente la configuration du démon de cache de services de noms (nscd)." #. type: item -#: doc/guix.texi:10309 +#: doc/guix.texi:11093 #, no-wrap msgid "@code{name-services} (default: @code{'()})" msgstr "@code{name-services} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:10312 +#: doc/guix.texi:11096 msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}." msgstr "Liste des paquets dénotant des @dfn{services de noms} qui doivent être visible pour nscd, p.@: ex.@: @code{(list @var{nss-mdns})}." #. type: item -#: doc/guix.texi:10313 +#: doc/guix.texi:11097 #, no-wrap msgid "@code{glibc} (default: @var{glibc})" msgstr "@code{glibc} (par défaut : @var{glibc})" #. type: table -#: doc/guix.texi:10316 +#: doc/guix.texi:11100 msgid "Package object denoting the GNU C Library providing the @command{nscd} command." msgstr "Objet de paquet qui dénote la Biblothèque C de GNU qui fournit la commande @command{nscd}." #. type: item -#: doc/guix.texi:10317 +#: doc/guix.texi:11101 #, no-wrap msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})" msgstr "@code{log-file} (par défaut : @code{\"/var/log/nscd.log\"})" #. type: table -#: doc/guix.texi:10320 +#: doc/guix.texi:11104 msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive." msgstr "Nom du fichier journal de nscd. C'est là que les sorties de débogage sont envoyée lorsque @code{debug-level} est strictement positif." #. type: item -#: doc/guix.texi:10321 +#: doc/guix.texi:11105 #, no-wrap msgid "@code{debug-level} (default: @code{0})" msgstr "@code{debug-level} (par défaut : @code{0})" #. type: table -#: doc/guix.texi:10324 +#: doc/guix.texi:11108 msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged." msgstr "Entier qui dénote le niveau de débogage. Les entiers les plus grands signifient plus de sortie de débogage." #. type: item -#: doc/guix.texi:10325 +#: doc/guix.texi:11109 #, no-wrap msgid "@code{caches} (default: @var{%nscd-default-caches})" msgstr "@code{caches} (par défaut : @var{%nscd-default-caches})" #. type: table -#: doc/guix.texi:10328 +#: doc/guix.texi:11112 msgid "List of @code{} objects denoting things to be cached; see below." msgstr "Liste d'objets @code{} qui dénotent des choses à mettre en cache ; voir plus bas." #. type: deftp -#: doc/guix.texi:10332 +#: doc/guix.texi:11116 #, no-wrap msgid "{Data Type} nscd-cache" msgstr "{Type de données} nscd-cache" #. type: deftp -#: doc/guix.texi:10334 +#: doc/guix.texi:11118 msgid "Data type representing a cache database of nscd and its parameters." msgstr "Type de données représentant une base de données de cache de nscd et ses paramètres." #. type: cindex -#: doc/guix.texi:10337 doc/guix.texi:13172 +#: doc/guix.texi:11121 doc/guix.texi:14162 #, no-wrap msgid "database" msgstr "database" #. type: table -#: doc/guix.texi:10342 +#: doc/guix.texi:11126 msgid "This is a symbol representing the name of the database to be cached. Valid values are @code{passwd}, @code{group}, @code{hosts}, and @code{services}, which designate the corresponding NSS database (@pxref{NSS Basics,,, libc, The GNU C Library Reference Manual})." msgstr "C'est un symbole qui représente le nom de la base de donnée à mettre en cache. Les valeurs valide sont @code{passwd}, @code{group}, @code{hosts} et @code{services} qui désignent les bases de données NSS correspondantes (@pxref{NSS Basics,,, libc, The GNU C Library Reference Manual})." #. type: code{#1} -#: doc/guix.texi:10343 +#: doc/guix.texi:11127 #, no-wrap msgid "positive-time-to-live" msgstr "positive-time-to-live" #. type: itemx -#: doc/guix.texi:10344 +#: doc/guix.texi:11128 #, no-wrap msgid "@code{negative-time-to-live} (default: @code{20})" msgstr "@code{negative-time-to-live} (par défaut : @code{20})" #. type: table -#: doc/guix.texi:10347 +#: doc/guix.texi:11131 msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache." msgstr "Un entier qui représente le nombre de secondes pendant lesquelles un résultat positif ou négatif reste en cache." #. type: item -#: doc/guix.texi:10348 +#: doc/guix.texi:11132 #, no-wrap msgid "@code{check-files?} (default: @code{#t})" msgstr "@code{check-files?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:10351 +#: doc/guix.texi:11135 msgid "Whether to check for updates of the files corresponding to @var{database}." msgstr "Indique s'il faut vérifier des mises à jours dans les fichiers correspondant à @var{database}." #. type: table -#: doc/guix.texi:10355 +#: doc/guix.texi:11139 msgid "For instance, when @var{database} is @code{hosts}, setting this flag instructs nscd to check for updates in @file{/etc/hosts} and to take them into account." msgstr "Par exemple, lorsque @var{database} est @code{hosts}, ce drapeau indique à nscd de vérifier s'il y a des mises à jour de @file{/etc/hosts} et de les prendre en compte." #. type: item -#: doc/guix.texi:10356 +#: doc/guix.texi:11140 #, no-wrap msgid "@code{persistent?} (default: @code{#t})" msgstr "@code{persistent?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:10358 +#: doc/guix.texi:11142 msgid "Whether the cache should be stored persistently on disk." msgstr "Indique si le cache devrait être stocké de manière persistante sur le disque." #. type: item -#: doc/guix.texi:10359 +#: doc/guix.texi:11143 #, no-wrap msgid "@code{shared?} (default: @code{#t})" msgstr "@code{shared?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:10361 +#: doc/guix.texi:11145 msgid "Whether the cache should be shared among users." msgstr "Indique si le cache devrait être partagé entre les utilisateurs." #. type: item -#: doc/guix.texi:10362 +#: doc/guix.texi:11146 #, no-wrap msgid "@code{max-database-size} (default: 32@tie{}MiB)" msgstr "@code{max-database-size} (par défaut : 32@tie{}MiB)" #. type: table -#: doc/guix.texi:10364 +#: doc/guix.texi:11148 msgid "Maximum size in bytes of the database cache." msgstr "Taille maximale en octets de la base de données en cache." #. type: defvr -#: doc/guix.texi:10371 +#: doc/guix.texi:11155 #, no-wrap msgid "{Scheme Variable} %nscd-default-caches" msgstr "{Variable Scheme} %nscd-default-caches" #. type: defvr -#: doc/guix.texi:10374 +#: doc/guix.texi:11158 msgid "List of @code{} objects used by default by @code{nscd-configuration} (see above)." msgstr "Liste d'objets @code{} utilisés par défaut par @code{nscd-configuration} (voir plus haut)." #. type: defvr -#: doc/guix.texi:10380 +#: doc/guix.texi:11164 msgid "It enables persistent and aggressive caching of service and host name lookups. The latter provides better host name lookup performance, resilience in the face of unreliable name servers, and also better privacy---often the result of host name lookups is in local cache, so external name servers do not even need to be queried." msgstr "Elle active la mise en cache persistante et agressive des recherches de services et de noms d'hôtes. Ces derniers fournissent une recherche de noms d'hôtes plus performante, résiliente face à des serveurs de noms peu fiables et une protection de votre vie privée plus efficace — souvent le résultat des recherches de noms d'hôtes sont dans le cache local, donc les serveurs de nom externes n'ont même pas besoin d'être questionnés." #. type: anchor{#1} -#: doc/guix.texi:10383 +#: doc/guix.texi:11167 msgid "syslog-configuration-type" msgstr "syslog-configuration-type" #. type: cindex -#: doc/guix.texi:10383 doc/guix.texi:10399 +#: doc/guix.texi:11167 doc/guix.texi:11183 #, no-wrap msgid "syslog" msgstr "syslog" #. type: cindex -#: doc/guix.texi:10384 doc/guix.texi:10833 +#: doc/guix.texi:11168 doc/guix.texi:11633 #, no-wrap msgid "logging" msgstr "logging" #. type: deftp -#: doc/guix.texi:10385 +#: doc/guix.texi:11169 #, no-wrap msgid "{Data Type} syslog-configuration" msgstr "{Type de données} syslog-configuration" #. type: deftp -#: doc/guix.texi:10387 +#: doc/guix.texi:11171 msgid "This data type represents the configuration of the syslog daemon." msgstr "Ce type de données représente la configuration du démon syslog." #. type: item -#: doc/guix.texi:10389 +#: doc/guix.texi:11173 #, no-wrap msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})" msgstr "@code{syslogd} (par défaut : @code{#~(string-append #$inetutils \"/libexec/syslogd\")})" #. type: table -#: doc/guix.texi:10391 +#: doc/guix.texi:11175 msgid "The syslog daemon to use." msgstr "Le démon syslog à utiliser." #. type: item -#: doc/guix.texi:10392 +#: doc/guix.texi:11176 #, no-wrap msgid "@code{config-file} (default: @code{%default-syslog.conf})" msgstr "@code{config-file} (par défaut : @code{%default-syslog.conf})" #. type: table -#: doc/guix.texi:10394 +#: doc/guix.texi:11178 msgid "The syslog configuration file to use." msgstr "Le fichier de configuration de syslog à utiliser." #. type: anchor{#1} -#: doc/guix.texi:10399 +#: doc/guix.texi:11183 msgid "syslog-service" msgstr "syslog-service" #. type: deffn -#: doc/guix.texi:10400 +#: doc/guix.texi:11184 #, no-wrap msgid "{Scheme Procedure} syslog-service @var{config}" msgstr "{Procédure Scheme} syslog-service @var{config}" #. type: deffn -#: doc/guix.texi:10402 +#: doc/guix.texi:11186 msgid "Return a service that runs a syslog daemon according to @var{config}." msgstr "Renvoie un service qui lance un démon syslog en suivant @var{config}." #. type: deffn -#: doc/guix.texi:10405 +#: doc/guix.texi:11189 msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax." msgstr "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, pour plus d'informations sur la syntaxe du fichier de configuration." +#. type: defvr +#: doc/guix.texi:11191 +#, no-wrap +msgid "{Scheme Variable} guix-service-type" +msgstr "{Variable Scheme} guix-service-type" + +#. type: defvr +#: doc/guix.texi:11195 +msgid "This is the type of the service that runs the build daemon, @command{guix-daemon} (@pxref{Invoking guix-daemon}). Its value must be a @code{guix-configuration} record as described below." +msgstr "C'est le type de service qui lance le démon de construction, @command{guix-daemon} (@pxref{Invoking guix-daemon}). Sa valeur doit être un enregistrement @code{guix-configuration} décrit plus bas." + #. type: anchor{#1} -#: doc/guix.texi:10408 +#: doc/guix.texi:11198 msgid "guix-configuration-type" msgstr "guix-configuration-type" #. type: deftp -#: doc/guix.texi:10408 +#: doc/guix.texi:11198 #, no-wrap msgid "{Data Type} guix-configuration" msgstr "{Type de données} guix-configuration" #. type: deftp -#: doc/guix.texi:10411 +#: doc/guix.texi:11201 msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information." msgstr "Ce type de données représente la configuration du démon de construction de Guix. @xref{Invoking guix-daemon} pour plus d'informations." #. type: item -#: doc/guix.texi:10413 +#: doc/guix.texi:11203 #, no-wrap msgid "@code{guix} (default: @var{guix})" msgstr "@code{guix} (par défaut : @var{guix})" #. type: table -#: doc/guix.texi:10415 doc/guix.texi:10659 +#: doc/guix.texi:11205 doc/guix.texi:11444 msgid "The Guix package to use." msgstr "Le paquet Guix à utiliser." #. type: item -#: doc/guix.texi:10416 +#: doc/guix.texi:11206 #, no-wrap msgid "@code{build-group} (default: @code{\"guixbuild\"})" msgstr "@code{build-group} (par défaut : @code{\"guixbuild\"})" #. type: table -#: doc/guix.texi:10418 +#: doc/guix.texi:11208 msgid "Name of the group for build user accounts." msgstr "Nom du groupe des comptes utilisateurs de construction." #. type: item -#: doc/guix.texi:10419 +#: doc/guix.texi:11209 #, no-wrap msgid "@code{build-accounts} (default: @code{10})" msgstr "@code{build-accounts} (par défaut : @code{10})" #. type: table -#: doc/guix.texi:10421 +#: doc/guix.texi:11211 msgid "Number of build user accounts to create." msgstr "Nombre de comptes utilisateurs de construction à créer." #. type: item -#: doc/guix.texi:10422 +#: doc/guix.texi:11212 #, no-wrap msgid "@code{authorize-key?} (default: @code{#t})" msgstr "@code{authorize-key?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:10427 +#: doc/guix.texi:11217 msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{hydra.gnu.org} (@pxref{Substitutes})." msgstr "Autoriser ou non les clefs de substituts listées dans @code{authorize-keys} — par défaut celle de @code{hydra.gny.org} (@pxref{Substituts})." #. type: vindex -#: doc/guix.texi:10428 +#: doc/guix.texi:11218 #, no-wrap msgid "%default-authorized-guix-keys" msgstr "%default-authorized-guix-keys" #. type: item -#: doc/guix.texi:10429 +#: doc/guix.texi:11219 #, no-wrap msgid "@code{authorized-keys} (default: @var{%default-authorized-guix-keys})" msgstr "@code{authorized-keys} (par défaut : @var{%default-authorized-guix-keys})" #. type: table -#: doc/guix.texi:10433 +#: doc/guix.texi:11223 msgid "The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it contains that of @code{hydra.gnu.org} (@pxref{Substitutes})." msgstr "La liste des fichiers de clefs autorisées pour les imports d'archives, en tant que liste de gexps sous forme de chaînes (@pxref{Invoking guix archive}). Par défaut, elle contient celle de @code{hydra.gnu.org} (@pxref{Substituts})." #. type: item -#: doc/guix.texi:10434 +#: doc/guix.texi:11224 #, no-wrap msgid "@code{use-substitutes?} (default: @code{#t})" msgstr "@code{use-substitutes?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:10436 +#: doc/guix.texi:11226 msgid "Whether to use substitutes." msgstr "S'il faut utiliser les substituts." #. type: item -#: doc/guix.texi:10437 +#: doc/guix.texi:11227 #, no-wrap msgid "@code{substitute-urls} (default: @var{%default-substitute-urls})" msgstr "@code{substitute-urls} (par défaut : @var{%default-substitute-urls})" #. type: table -#: doc/guix.texi:10439 +#: doc/guix.texi:11229 msgid "The list of URLs where to look for substitutes by default." msgstr "La liste des URL où trouver des substituts par défaut." #. type: item -#: doc/guix.texi:10440 +#: doc/guix.texi:11230 #, no-wrap msgid "@code{max-silent-time} (default: @code{0})" msgstr "@code{max-silent-time} (par défaut : @code{0})" #. type: itemx -#: doc/guix.texi:10441 +#: doc/guix.texi:11231 #, no-wrap msgid "@code{timeout} (default: @code{0})" msgstr "@code{timeout} (par défaut : @code{0})" #. type: table -#: doc/guix.texi:10445 +#: doc/guix.texi:11235 msgid "The number of seconds of silence and the number of seconds of activity, respectively, after which a build process times out. A value of zero disables the timeout." msgstr "Le nombre de secondes de silence et le nombre de secondes d'inactivité, respectivement, après lesquelles un processus de construction son délai d'attente. Une valeur de zéro désactive le délai d'attente." #. type: item -#: doc/guix.texi:10446 +#: doc/guix.texi:11236 #, no-wrap msgid "@code{log-compression} (default: @code{'bzip2})" msgstr "@code{log-compression} (par défaut : @code{'bzip2})" #. type: table -#: doc/guix.texi:10449 +#: doc/guix.texi:11239 msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}." msgstr "Le type de compression utilisé par les journaux de construction — parmi @code{gzip}, @code{bzip2} et @code{none}." #. type: table -#: doc/guix.texi:10452 +#: doc/guix.texi:11242 msgid "List of extra command-line options for @command{guix-daemon}." msgstr "Liste d'options supplémentaires de la ligne de commande pour @command{guix-daemon}." #. type: item -#: doc/guix.texi:10453 +#: doc/guix.texi:11243 #, no-wrap msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})" msgstr "@code{log-file} (par défaut : @code{\"/var/log/guix-daemon.log\"})" #. type: table -#: doc/guix.texi:10456 +#: doc/guix.texi:11246 msgid "File where @command{guix-daemon}'s standard output and standard error are written." msgstr "Le fichier où les sorties standard et d'erreur de @command{guix-daemon} sont écrites." #. type: item -#: doc/guix.texi:10457 +#: doc/guix.texi:11247 #, no-wrap msgid "@code{http-proxy} (default: @code{#f})" msgstr "@code{http-proxy} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10460 +#: doc/guix.texi:11250 msgid "The HTTP proxy used for downloading fixed-output derivations and substitutes." msgstr "Le serveur mandataire HTTP à utiliser pour télécharger les dérivations à sortie fixe et les substituts." #. type: item -#: doc/guix.texi:10461 +#: doc/guix.texi:11251 #, no-wrap msgid "@code{tmpdir} (default: @code{#f})" msgstr "@code{tmpdir} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10463 +#: doc/guix.texi:11253 msgid "A directory path where the @command{guix-daemon} will perform builds." msgstr "Un répertoire où @command{guix-daemon} effectuera ses constructions." #. type: deffn -#: doc/guix.texi:10467 -#, no-wrap -msgid "{Scheme Procedure} guix-service @var{config}" -msgstr "{Procédure Scheme} guix-service @var{config}" - -#. type: deffn -#: doc/guix.texi:10470 -msgid "Return a service that runs the Guix build daemon according to @var{config}." -msgstr "Renvoie un service qui fait tourner le démon de construction de Guix en suivant @var{config}." - -#. type: deffn -#: doc/guix.texi:10472 +#: doc/guix.texi:11257 #, no-wrap msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]" msgstr "{Procédure Scheme} udev-service [#:udev @var{eudev} #:rules @code{'()}]" #. type: deffn -#: doc/guix.texi:10477 +#: doc/guix.texi:11262 msgid "Run @var{udev}, which populates the @file{/dev} directory dynamically. udev rules can be provided as a list of files through the @var{rules} variable. The procedures @var{udev-rule} and @var{file->udev-rule} from @code{(gnu services base)} simplify the creation of such rule files." msgstr "Lance @var{udev}, qui rempli le répertoire @file{/dev} dynamiquement. Les règles udev peuvent être fournies comme une liste de fichier via la variable @var{rules}. Les procédures @var{udev-rule} et @var{file->udev-rule} de @code{(gnu services base)} simplifient la création de ces fichiers de règle." #. type: deffn -#: doc/guix.texi:10478 +#: doc/guix.texi:11263 #, no-wrap msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]" msgstr "{Procédure Scheme} udev-rule [@var{file-name} @var{contents}]" #. type: deffn -#: doc/guix.texi:10481 +#: doc/guix.texi:11266 msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal." msgstr "Renvoie un fichier de règle udev nommé @var{file-name} contenant les règles définie par le litéral @var{contents}." #. type: deffn -#: doc/guix.texi:10485 +#: doc/guix.texi:11270 msgid "In the following example, a rule for a USB device is defined to be stored in the file @file{90-usb-thing.rules}. The rule runs a script upon detecting a USB device with a given product identifier." msgstr "Dans l'exemple suivant, on définie une règle pour un périphérique USB qui sera stockée dans le fichier @file{90-usb-thing.rules}. La règle lance un script à la détection du périphérique USB avec l'identifiant de produit donné." #. type: example -#: doc/guix.texi:10493 +#: doc/guix.texi:11278 #, no-wrap msgid "" "(define %example-udev-rule\n" @@ -18664,12 +20024,12 @@ msgstr "" " \"RUN+=\\\"/path/to/script\\\"\")))\n" #. type: deffn -#: doc/guix.texi:10497 +#: doc/guix.texi:11282 msgid "Here we show how the default @var{udev-service} can be extended with it." msgstr "Ici on montre comment le service @var{udev-service} par défaut peut être étendu avec cette règle." #. type: example -#: doc/guix.texi:10507 +#: doc/guix.texi:11292 #, no-wrap msgid "" "(operating-system\n" @@ -18691,23 +20051,23 @@ msgstr "" " (list %example-udev-rule))))))))\n" #. type: deffn -#: doc/guix.texi:10509 +#: doc/guix.texi:11294 #, no-wrap msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]" msgstr "{Procédure Scheme} file->udev-rule [@var{file-name} @var{file}]" #. type: deffn -#: doc/guix.texi:10512 +#: doc/guix.texi:11297 msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object." msgstr "Renvoie un fichier udev nommé @var{file-name} contenant les règles définies dans @var{file}, un objet simili-fichier." #. type: deffn -#: doc/guix.texi:10514 +#: doc/guix.texi:11299 msgid "The following example showcases how we can use an existing rule file." msgstr "L'exemple suivant montre comment utiliser un fichier de règles existant." #. type: example -#: doc/guix.texi:10519 +#: doc/guix.texi:11304 #, no-wrap msgid "" "(use-modules (guix download) ;for url-fetch\n" @@ -18721,7 +20081,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:10530 +#: doc/guix.texi:11315 #, no-wrap msgid "" "(define %android-udev-rules\n" @@ -18747,17 +20107,17 @@ msgstr "" " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n" #. type: deffn -#: doc/guix.texi:10539 +#: doc/guix.texi:11324 msgid "Additionally, Guix package definitions can be included in @var{rules} in order to extend the udev rules with the definitions found under their @file{lib/udev/rules.d} sub-directory. In lieu of the previous @var{file->udev-rule} example, we could have used the @var{android-udev-rules} package which exists in Guix in the @code{(gnu packages android)} module." msgstr "En plus, les définitions des paquets de Guix peuvent être inclus dans @var{rules} pour étendre les règles avec les définitions trouvées dans leur sous-répertoire @file{lib/udev/rules.d}. Au lieu de l'exemple @var{file->udev-rule} précédent, on aurait pu utiliser le paquet @var{android-udev-rules} qui existe dans le module @code{(gnu packages android)}." #. type: deffn -#: doc/guix.texi:10548 +#: doc/guix.texi:11333 msgid "The following example shows how to use the @var{android-udev-rules} package so that the Android tool @command{adb} can detect devices without root privileges. It also details how to create the @code{adbusers} group, which is required for the proper functioning of the rules defined within the @var{android-udev-rules} package. To create such a group, we must define it both as part of the @var{supplementary-groups} of our @var{user-account} declaration, as well as in the @var{groups} field of the @var{operating-system} record." msgstr "L'exemple suivant montre comment utiliser le paquet @var{android-udev-rules} pour que l'outil Android @command{adb} puisse détecter les appareils sans privilège root. Il détaille aussi comment créer le grope @code{adbusers}, requis pour le bon fonctionnement des règles définies dans le paquet @var{android-udev-rules}. Pour créer ce groupe, on doit le définir dans les @var{supplementary-groups} de la déclaration @var{user-account} ainsi que dans le champ @var{groups} de l'enregistrement @var{operating-system}." #. type: example -#: doc/guix.texi:10553 +#: doc/guix.texi:11338 #, no-wrap msgid "" "(use-modules (gnu packages android) ;for android-udev-rules\n" @@ -18771,7 +20131,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:10562 +#: doc/guix.texi:11347 #, no-wrap msgid "" "(operating-system\n" @@ -18795,7 +20155,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:10565 +#: doc/guix.texi:11350 #, no-wrap msgid "" " (groups (cons (user-group (system? #t) (name \"adbusers\"))\n" @@ -18807,7 +20167,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:10567 +#: doc/guix.texi:11352 #, no-wrap msgid "" " ;; @dots{}\n" @@ -18817,7 +20177,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:10574 +#: doc/guix.texi:11359 #, no-wrap msgid "" " (services\n" @@ -18835,313 +20195,313 @@ msgstr "" " (udev-configuration-rules config))))))))\n" #. type: defvr -#: doc/guix.texi:10577 +#: doc/guix.texi:11362 #, no-wrap msgid "{Scheme Variable} urandom-seed-service-type" msgstr "{Variable Scheme} urandom-seed-service-type" #. type: defvr -#: doc/guix.texi:10582 +#: doc/guix.texi:11367 msgid "Save some entropy in @var{%random-seed-file} to seed @file{/dev/urandom} when rebooting. It also tries to seed @file{/dev/urandom} from @file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is readable." msgstr "Garde de l'entropie dans @var{%random-seed-file} pour démarrer @file{/dev/urandom} au redémarrage. Ce service essaye aussi de démarrer @file{/dev/urandom} à partir de @file{/dev/hwrng} au démarrage si @file{/dev/hwrng} existe et peut être lu." #. type: defvr -#: doc/guix.texi:10584 +#: doc/guix.texi:11369 #, no-wrap msgid "{Scheme Variable} %random-seed-file" msgstr "{Variable Scheme} %random-seed-file" #. type: defvr -#: doc/guix.texi:10588 +#: doc/guix.texi:11373 msgid "This is the name of the file where some random bytes are saved by @var{urandom-seed-service} to seed @file{/dev/urandom} when rebooting. It defaults to @file{/var/lib/random-seed}." msgstr "C'est le nom du fichier où des octets aléatoires sont sauvegardés par @var{urandom-seed-service} pour démarrer @file{/dev/urandom} au redémarrage. Sa valeur par défaut est @file{/var/lib/random-seed}." #. type: cindex -#: doc/guix.texi:10590 doc/guix.texi:11930 +#: doc/guix.texi:11375 doc/guix.texi:12877 #, no-wrap msgid "keymap" msgstr "disposition clavier" #. type: cindex -#: doc/guix.texi:10591 +#: doc/guix.texi:11376 #, no-wrap msgid "keyboard" msgstr "clavier" #. type: deffn -#: doc/guix.texi:10592 +#: doc/guix.texi:11377 #, no-wrap msgid "{Scheme Procedure} console-keymap-service @var{files} ..." msgstr "{Procédure Scheme} console-keymap-service @var{files} ..." #. type: deffn -#: doc/guix.texi:10597 +#: doc/guix.texi:11382 msgid "Return a service to load console keymaps from @var{files} using @command{loadkeys} command. Most likely, you want to load some default keymap, which can be done like this:" msgstr "Renvoie un service qui charge les dispositions claviers de @var{files} avec la commande @command{loadkeys}. Vraisemblablement, vous voudrez charger une disposition par défaut, ce qui se fait ainsi :" #. type: example -#: doc/guix.texi:10600 +#: doc/guix.texi:11385 #, no-wrap msgid "(console-keymap-service \"dvorak\")\n" msgstr "(console-keymap-service \"dvorak\")\n" #. type: deffn -#: doc/guix.texi:10604 +#: doc/guix.texi:11389 msgid "Or, for example, for a Swedish keyboard, you may need to combine the following keymaps:" msgstr "Ou par exemple pour un clavier suédois, vous pourriez avoir besoin de combiner les dispositions suivantes :" #. type: example -#: doc/guix.texi:10606 +#: doc/guix.texi:11391 #, no-wrap msgid "(console-keymap-service \"se-lat6\" \"se-fi-lat6\")\n" msgstr "(console-keymap-service \"se-lat6\" \"se-fi-lat6\")\n" #. type: deffn -#: doc/guix.texi:10610 +#: doc/guix.texi:11395 msgid "Also you can specify a full file name (or file names) of your keymap(s). See @code{man loadkeys} for details." msgstr "Vous pouvez aussi spécifier le nom de fichier (ou les noms de fichiers) complets de vos dispositions. Voir @code{man loadkeys} pour des détails." #. type: cindex -#: doc/guix.texi:10613 +#: doc/guix.texi:11398 #, no-wrap msgid "mouse" msgstr "souris" #. type: cindex -#: doc/guix.texi:10614 +#: doc/guix.texi:11399 #, no-wrap msgid "gpm" msgstr "gpm" #. type: defvr -#: doc/guix.texi:10615 +#: doc/guix.texi:11400 #, no-wrap msgid "{Scheme Variable} gpm-service-type" msgstr "{Variable Scheme} gpm-service-type" #. type: defvr -#: doc/guix.texi:10620 +#: doc/guix.texi:11405 msgid "This is the type of the service that runs GPM, the @dfn{general-purpose mouse daemon}, which provides mouse support to the Linux console. GPM allows users to use the mouse in the console, notably to select, copy, and paste text." msgstr "C'est le type du service qui lance GPM, le @dfn{démon de souris à but général}, qui fournit le support de la souris sur la console Linux. GPM permet aux utilisateurs d'utiliser la souris dans la console, entre autres pour sélectionner, copier et coller du texte." #. type: defvr -#: doc/guix.texi:10623 +#: doc/guix.texi:11408 msgid "The value for services of this type must be a @code{gpm-configuration} (see below). This service is not part of @var{%base-services}." msgstr "La valeur pour les services de ce type doit être un @code{gpm-configuration} (voir plus bas). Ce service ne fait pas partie de @var{%base-services}." #. type: deftp -#: doc/guix.texi:10625 +#: doc/guix.texi:11410 #, no-wrap msgid "{Data Type} gpm-configuration" msgstr "{Type de données} gpm-configuration" #. type: deftp -#: doc/guix.texi:10627 +#: doc/guix.texi:11412 msgid "Data type representing the configuration of GPM." msgstr "Type de données représentant la configuration de GPM." #. type: item -#: doc/guix.texi:10629 +#: doc/guix.texi:11414 #, no-wrap msgid "@code{options} (default: @code{%default-gpm-options})" msgstr "@code{options} (par défaut : @code{%default-gpm-options})" #. type: table -#: doc/guix.texi:10634 +#: doc/guix.texi:11419 msgid "Command-line options passed to @command{gpm}. The default set of options instruct @command{gpm} to listen to mouse events on @file{/dev/input/mice}. @xref{Command Line,,, gpm, gpm manual}, for more information." msgstr "Les options de la ligne de commande à passer à @command{gpm}. L'ensemble des options par défaut dit à @command{gpm} d'écouter les événements de la souris dans @file{/dev/input/mice}. @xref{Command Line,,, gpm, gpm manual}, pour plus d'informations." #. type: item -#: doc/guix.texi:10635 +#: doc/guix.texi:11420 #, no-wrap msgid "@code{gpm} (default: @code{gpm})" msgstr "@code{gpm} (par défaut : @code{gpm})" #. type: table -#: doc/guix.texi:10637 +#: doc/guix.texi:11422 msgid "The GPM package to use." msgstr "Le paquet GPM à utiliser." #. type: anchor{#1} -#: doc/guix.texi:10642 +#: doc/guix.texi:11427 msgid "guix-publish-service-type" msgstr "guix-publish-service-type" #. type: deffn -#: doc/guix.texi:10642 +#: doc/guix.texi:11427 #, no-wrap msgid "{Scheme Variable} guix-publish-service-type" msgstr "{Variable Scheme} guix-publish-service-type" #. type: deffn -#: doc/guix.texi:10646 +#: doc/guix.texi:11431 msgid "This is the service type for @command{guix publish} (@pxref{Invoking guix publish}). Its value must be a @code{guix-configuration} object, as described below." msgstr "C'est le type de service pour @command{guix publish} (@pxref{Invoking guix publish}). Sa valeur doit être un objet @code{guix-configuration} décrit plus bas." #. type: deffn -#: doc/guix.texi:10650 +#: doc/guix.texi:11435 msgid "This assumes that @file{/etc/guix} already contains a signing key pair as created by @command{guix archive --generate-key} (@pxref{Invoking guix archive}). If that is not the case, the service will fail to start." msgstr "Ce service suppose que @file{/etc/guix} contient déjà une paire de clefs créée par @command{guix archive --generate-key} (@pxref{Invoking guix archive}). Si ce n'est pas le cas, le service ne démarrera pas." #. type: deftp -#: doc/guix.texi:10652 +#: doc/guix.texi:11437 #, no-wrap msgid "{Data Type} guix-publish-configuration" msgstr "{Type de données} guix-publish-configuration" #. type: deftp -#: doc/guix.texi:10655 +#: doc/guix.texi:11440 msgid "Data type representing the configuration of the @code{guix publish} service." msgstr "Le type de données représentant la configuration du service @code{guix publish}." #. type: item -#: doc/guix.texi:10657 +#: doc/guix.texi:11442 #, no-wrap msgid "@code{guix} (default: @code{guix})" msgstr "@code{guix} (par défaut : @code{guix})" #. type: item -#: doc/guix.texi:10660 +#: doc/guix.texi:11445 #, no-wrap msgid "@code{port} (default: @code{80})" msgstr "@code{port} (par défaut : @code{80})" #. type: table -#: doc/guix.texi:10662 +#: doc/guix.texi:11447 msgid "The TCP port to listen for connections." msgstr "Le port TCP sur lequel écouter les connexions." #. type: item -#: doc/guix.texi:10663 +#: doc/guix.texi:11448 #, no-wrap msgid "@code{host} (default: @code{\"localhost\"})" msgstr "@code{host} (par défaut : @code{\"localhost\"})" #. type: table -#: doc/guix.texi:10666 +#: doc/guix.texi:11451 msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces." msgstr "L'hôte (et donc, l'interface réseau) sur lequel écouter. Utilisez @code{\"0.0.0.0\"} pour écouter sur toutes les interfaces réseaux." #. type: table -#: doc/guix.texi:10671 +#: doc/guix.texi:11456 msgid "The gzip compression level at which substitutes are compressed. Use @code{0} to disable compression altogether, and @code{9} to get the best compression ratio at the expense of increased CPU usage." msgstr "Le niveau de compression gzip auquel les substituts sont compressés. Utilisez @code{0} pour désactiver complètement la compression, et @code{9} pour avoir le meilleur taux de compression contre une plus grande utilisation du CPU." #. type: item -#: doc/guix.texi:10672 +#: doc/guix.texi:11457 #, no-wrap msgid "@code{nar-path} (default: @code{\"nar\"})" msgstr "@code{nar-path} (par défaut : @code{\"nar\"})" #. type: table -#: doc/guix.texi:10675 +#: doc/guix.texi:11460 msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @code{--nar-path}}, for details." msgstr "Le chemin d'URL où les « nars » se trouvent. @xref{Invoking guix publish, @code{--nar-path}}, pour des détails." #. type: item -#: doc/guix.texi:10676 +#: doc/guix.texi:11461 #, no-wrap msgid "@code{cache} (default: @code{#f})" msgstr "@code{cache} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10682 +#: doc/guix.texi:11467 msgid "When it is @code{#f}, disable caching and instead generate archives on demand. Otherwise, this should be the name of a directory---e.g., @code{\"/var/cache/guix/publish\"}---where @command{guix publish} caches archives and meta-data ready to be sent. @xref{Invoking guix publish, @option{--cache}}, for more information on the tradeoffs involved." msgstr "Lorsque la valeur est @code{#f}, désactive le cache et génère les archives à la demande. Sinon, cela devrait être le nom d'un répertoire — p.@: ex.@: @code{\"/var/cache/guix/publish\"} — où @command{guix publish} gère le cache des archives et des métadonnées prêtes à être envoyées. @xref{Invoking guix publish, @option{--cache}}, pour plus d'informations sur les compromis impliqués." #. type: item -#: doc/guix.texi:10683 +#: doc/guix.texi:11468 #, no-wrap msgid "@code{workers} (default: @code{#f})" msgstr "@code{workers} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10687 +#: doc/guix.texi:11472 msgid "When it is an integer, this is the number of worker threads used for caching; when @code{#f}, the number of processors is used. @xref{Invoking guix publish, @option{--workers}}, for more information." msgstr "Lorsque la valeur est un entier, c'est le nombre de threads de travail utilisés pour le cache ; lorsque la valeur est @code{#f}, le nombre de processeurs est utilisé. @xref{Invoking guix publish, @option{--workers}}, pour plus d'informations." #. type: item -#: doc/guix.texi:10688 +#: doc/guix.texi:11473 #, no-wrap msgid "@code{ttl} (default: @code{#f})" msgstr "@code{ttl} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10692 +#: doc/guix.texi:11477 msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds of the published archives. @xref{Invoking guix publish, @option{--ttl}}, for more information." msgstr "Lorsque la valeur est un entier, il dénote la @dfn{durée de vie} en secondes des archives publiées. @xref{Invoking guix publish, @option{--ttl}}, pour plus d'informations." #. type: anchor{#1} -#: doc/guix.texi:10696 +#: doc/guix.texi:11481 msgid "rngd-service" msgstr "rngd-service" #. type: deffn -#: doc/guix.texi:10696 +#: doc/guix.texi:11481 #, no-wrap msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @" msgstr "{Procédure Scheme} rngd-service [#:rng-tools @var{rng-tools}] @" #. type: deffn -#: doc/guix.texi:10701 +#: doc/guix.texi:11486 msgid "[#:device \"/dev/hwrng\"] Return a service that runs the @command{rngd} program from @var{rng-tools} to add @var{device} to the kernel's entropy pool. The service will fail if @var{device} does not exist." msgstr "" "[#:device \"/dev/hwrng\"]\n" "Renvoie un service qui lance le programme @command{rngd} de @var{rng-tools} pour ajouter @var{device} à la réserve d'entropie du noyau. Le service échouera si @var{device} n'existe pas." #. type: anchor{#1} -#: doc/guix.texi:10704 +#: doc/guix.texi:11489 msgid "pam-limits-service" msgstr "pam-limits-service" #. type: cindex -#: doc/guix.texi:10704 +#: doc/guix.texi:11489 #, no-wrap msgid "session limits" msgstr "limites de session" #. type: cindex -#: doc/guix.texi:10705 +#: doc/guix.texi:11490 #, no-wrap msgid "ulimit" msgstr "ulimit" #. type: cindex -#: doc/guix.texi:10706 +#: doc/guix.texi:11491 #, no-wrap msgid "priority" msgstr "priorités" #. type: cindex -#: doc/guix.texi:10707 +#: doc/guix.texi:11492 #, no-wrap msgid "realtime" msgstr "temps réel" #. type: cindex -#: doc/guix.texi:10708 +#: doc/guix.texi:11493 #, no-wrap msgid "jackd" msgstr "jackd" #. type: deffn -#: doc/guix.texi:10709 +#: doc/guix.texi:11494 #, no-wrap msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]" msgstr "{Procédure Scheme} pam-limits-service [#:limits @code{'()}]" #. type: deffn -#: doc/guix.texi:10716 +#: doc/guix.texi:11501 msgid "Return a service that installs a configuration file for the @uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, @code{pam_limits} module}. The procedure optionally takes a list of @code{pam-limits-entry} values, which can be used to specify @code{ulimit} limits and nice priority limits to user sessions." msgstr "Renvoie un service qui installe un fichier de configuration pour le @uref{http://linux-pam.org/Linux-PAM-html/sag-pam_limits.html, module @code{pam_limits}}. La procédure prend éventuellement une liste de valeurs @code{pam-limits-entry} qui peuvent être utilisées pour spécifier les limites @code{ulimit} et les priorités des sessions utilisateurs." #. type: deffn -#: doc/guix.texi:10719 +#: doc/guix.texi:11504 msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:" msgstr "La définition de limites suivante défini deux limites matérielles et logicielles pour toutes les sessions connectées des utilisateurs du groupe @code{realtime} :" #. type: example -#: doc/guix.texi:10725 +#: doc/guix.texi:11510 #, no-wrap msgid "" "(pam-limits-service\n" @@ -19155,40 +20515,40 @@ msgstr "" " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n" #. type: deffn -#: doc/guix.texi:10731 +#: doc/guix.texi:11516 msgid "The first entry increases the maximum realtime priority for non-privileged processes; the second entry lifts any restriction of the maximum address space that can be locked in memory. These settings are commonly used for real-time audio systems." msgstr "La première entrée augment la priorité en temps réel maximale des processus non privilégiés ; la deuxième entrée abandonne les restrictions sur l'espace d'adressage maximal qui peut être verrouillé en mémoire. Ces paramètres sont souvent utilisés sur les systèmes audio temps-réel." #. type: cindex -#: doc/guix.texi:10736 +#: doc/guix.texi:11521 #, no-wrap msgid "cron" msgstr "cron" #. type: cindex -#: doc/guix.texi:10737 +#: doc/guix.texi:11522 #, no-wrap msgid "mcron" msgstr "mcron" #. type: cindex -#: doc/guix.texi:10738 +#: doc/guix.texi:11523 #, no-wrap msgid "scheduling jobs" msgstr "tâches planifiées" #. type: Plain text -#: doc/guix.texi:10745 +#: doc/guix.texi:11530 msgid "The @code{(gnu services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). GNU@tie{}mcron is similar to the traditional Unix @command{cron} daemon; the main difference is that it is implemented in Guile Scheme, which provides a lot of flexibility when specifying the scheduling of jobs and their actions." msgstr "Le module @code{(gnu services mcron)} fournit une interface pour GNU@tie{}mcron, un démon qui lance des tâches planifiées (@pxref{Top,,, mcron, GNU@tie{}mcron}). GNU@tie{}mcron est similaire au démon Unix traditionel @command{cron} ; la principale différence est qu'il est implémenté en Guile Scheme, qui fournit beaucoup de flexibilité lors de la spécification de la planification des tâches et de leurs actions." #. type: Plain text -#: doc/guix.texi:10753 +#: doc/guix.texi:11538 msgid "The example below defines an operating system that runs the @command{updatedb} (@pxref{Invoking updatedb,,, find, Finding Files}) and the @command{guix gc} commands (@pxref{Invoking guix gc}) daily, as well as the @command{mkid} command on behalf of an unprivileged user (@pxref{mkid invocation,,, idutils, ID Database Utilities}). It uses gexps to introduce job definitions that are passed to mcron (@pxref{G-Expressions})." msgstr "L'exemple en dessous définit un système d'exploitation qu lance les commandes @command{updatebd} (@pxref{Invoking updatedb,,, find, Finding Files}) et @command{guix gc} (@pxref{Invoking guix gc}) tous les jours, ainsi que la commande @command{mkid} en tant qu'utilisateur non privilégié (@pxref{mkid invocation,,, idutils, ID Database Utilities}). Il utilise des gexps pour introduire des définitions de tâches qui sont passées à mcron (@pxref{G-Expressions})." #. type: lisp -#: doc/guix.texi:10757 +#: doc/guix.texi:11542 #, no-wrap msgid "" "(use-modules (guix) (gnu) (gnu services mcron))\n" @@ -19200,7 +20560,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:10766 +#: doc/guix.texi:11551 #, no-wrap msgid "" "(define updatedb-job\n" @@ -19224,7 +20584,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:10772 +#: doc/guix.texi:11557 #, no-wrap msgid "" "(define garbage-collector-job\n" @@ -19242,7 +20602,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:10779 +#: doc/guix.texi:11564 #, no-wrap msgid "" "(define idutils-job\n" @@ -19262,7 +20622,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:10786 +#: doc/guix.texi:11571 #, no-wrap msgid "" "(operating-system\n" @@ -19280,28 +20640,50 @@ msgstr "" " %base-services)))\n" #. type: Plain text -#: doc/guix.texi:10791 +#: doc/guix.texi:11576 msgid "@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, for more information on mcron job specifications. Below is the reference of the mcron service." msgstr "@xref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}, pour plus d'informations sur les spécifications des tâche de mcron. Ci-dessous est la référence du service mcron." +#. type: Plain text +#: doc/guix.texi:11579 +msgid "On a running system, you can use the @code{schedule} action of the service to visualize the mcron jobs that will be executed next:" +msgstr "Sur un système lancé, vous pouvez utiliser l'action @code{schedule} du service pour visualiser les travaux mcron qui seront exécutés ensuite :" + +#. type: example +#: doc/guix.texi:11582 +#, no-wrap +msgid "# herd schedule mcron\n" +msgstr "# herd schedule mcron\n" + +#. type: Plain text +#: doc/guix.texi:11587 +msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:" +msgstr "Cet exemple ci-dessus montre les cinq tâches qui seront exécutés, mais vous pouvez spécifier le nombre de tâches à afficher :" + +#. type: example +#: doc/guix.texi:11590 +#, no-wrap +msgid "# herd schedule mcron 10\n" +msgstr "# herd schedule mcron 10\n" + #. type: deffn -#: doc/guix.texi:10792 +#: doc/guix.texi:11592 #, no-wrap msgid "{Scheme Procedure} mcron-service @var{jobs} [#:mcron @var{mcron}]" msgstr "{Procédure Scheme} mcron-service @var{jobs} [#:mcron @var{mcron}]" #. type: deffn -#: doc/guix.texi:10795 +#: doc/guix.texi:11595 msgid "Return an mcron service running @var{mcron} that schedules @var{jobs}, a list of gexps denoting mcron job specifications." msgstr "Renvoie un service mcron qui lance @var{mcron} qui planifie les tâches @var{jobs}, une liste de gexps qui dénotent des spécifications de tâches de mcron." #. type: deffn -#: doc/guix.texi:10797 +#: doc/guix.texi:11597 msgid "This is a shorthand for:" msgstr "C'est un raccourci pour :" #. type: example -#: doc/guix.texi:10800 +#: doc/guix.texi:11600 #, no-wrap msgid "" "(service mcron-service-type\n" @@ -19311,78 +20693,78 @@ msgstr "" " (mcron-configuration (mcron mcron) (jobs jobs)))\n" #. type: defvr -#: doc/guix.texi:10803 +#: doc/guix.texi:11603 #, no-wrap msgid "{Scheme Variable} mcron-service-type" msgstr "{Variable Scheme} mcron-service-type" #. type: defvr -#: doc/guix.texi:10806 +#: doc/guix.texi:11606 msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object." msgstr "C'est le type du service @code{mcron}, dont la valeur est un objet @code{mcron-configuration}" #. type: defvr -#: doc/guix.texi:10811 +#: doc/guix.texi:11611 msgid "This service type can be the target of a service extension that provides it additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run." msgstr "Ce type de service peut être la cible d'une extension de service qui lui fournit des spécifications de tâches supplémentaires (@pxref{Service Composition}). En d'autres termes, il est possible de définir des services qui fournissent des tâches mcron à lancer." #. type: deftp -#: doc/guix.texi:10813 +#: doc/guix.texi:11613 #, no-wrap msgid "{Data Type} mcron-configuration" msgstr "{Type de données} mcron-configuration" #. type: deftp -#: doc/guix.texi:10815 +#: doc/guix.texi:11615 msgid "Data type representing the configuration of mcron." msgstr "Type données qui représente la configuration de mcron." #. type: item -#: doc/guix.texi:10817 +#: doc/guix.texi:11617 #, no-wrap msgid "@code{mcron} (default: @var{mcron})" msgstr "@code{mcron} (par défaut : @var{mcron})" #. type: table -#: doc/guix.texi:10819 +#: doc/guix.texi:11619 msgid "The mcron package to use." msgstr "Le paquet mcron à utiliser." #. type: code{#1} -#: doc/guix.texi:10820 doc/guix.texi:10879 +#: doc/guix.texi:11620 doc/guix.texi:11679 #, no-wrap msgid "jobs" msgstr "jobs" #. type: table -#: doc/guix.texi:10824 +#: doc/guix.texi:11624 msgid "This is a list of gexps (@pxref{G-Expressions}), where each gexp corresponds to an mcron job specification (@pxref{Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})." msgstr "C'est la liste des gexps (@pxref{G-Expressions}), où chaque gexp correspond à une spécification de tâche de mcron (@pxref{Syntax, mcron job specifications,, mcron, GNU@tie{}mcron})." #. type: cindex -#: doc/guix.texi:10831 +#: doc/guix.texi:11631 #, no-wrap msgid "rottlog" msgstr "rottlog" #. type: cindex -#: doc/guix.texi:10832 +#: doc/guix.texi:11632 #, no-wrap msgid "log rotation" msgstr "journaux, rotation" #. type: Plain text -#: doc/guix.texi:10839 +#: doc/guix.texi:11639 msgid "Log files such as those found in @file{/var/log} tend to grow endlessly, so it's a good idea to @dfn{rotate} them once in a while---i.e., archive their contents in separate files, possibly compressed. The @code{(gnu services admin)} module provides an interface to GNU@tie{}Rot[t]log, a log rotation tool (@pxref{Top,,, rottlog, GNU Rot[t]log Manual})." msgstr "Les fichiers journaux comme ceux qui se trouvent dans @file{/var/log} ont tendance à grandir sans fin, donc c'est une bonne idée de le @dfn{faire tourner} de temps à autres — c.-à-d.@: archiver leur contenu dans des fichiers séparés, potentiellement compressés. Le module @code{(gnu services admin)} fournit une interface pour GNU@tie{}Rot[t]log, un outil de rotation de journaux (@pxref{Top,,, rottlog, GNU Rot[t]log Manual})." #. type: Plain text -#: doc/guix.texi:10842 +#: doc/guix.texi:11642 msgid "The example below defines an operating system that provides log rotation with the default settings, for commonly encountered log files." msgstr "L'exemple ci-dessous définit un système d'exploitation qui fournit la rotation des journaux avec les paramètres par défaut, pour les journaux les plus courants." #. type: lisp -#: doc/guix.texi:10847 +#: doc/guix.texi:11647 #, no-wrap msgid "" "(use-modules (guix) (gnu))\n" @@ -19396,7 +20778,7 @@ msgstr "" "\n" #. type: lisp -#: doc/guix.texi:10852 +#: doc/guix.texi:11652 #, no-wrap msgid "" "(operating-system\n" @@ -19410,93 +20792,93 @@ msgstr "" " %base-services)))\n" #. type: defvr -#: doc/guix.texi:10854 +#: doc/guix.texi:11654 #, no-wrap msgid "{Scheme Variable} rottlog-service-type" msgstr "{Variable Scheme} rottlog-service-type" #. type: defvr -#: doc/guix.texi:10857 +#: doc/guix.texi:11657 msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object." msgstr "C'est le type du service Rotlog, dont la valeur est un objet @code{rottlog-configuration}." #. type: defvr -#: doc/guix.texi:10860 +#: doc/guix.texi:11660 msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated." msgstr "D'autres services peuvent étendre celui-ci avec de nouveaux objets @code{log-rotation} (voir plus bas), en augmentant ainsi l'ensemble des fichiers à faire tourner." #. type: defvr -#: doc/guix.texi:10863 +#: doc/guix.texi:11663 msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service." msgstr "Ce type de service peut définir des taches (@pxref{Scheduled Job Execution}) pour lancer le service rottlog." #. type: deftp -#: doc/guix.texi:10865 +#: doc/guix.texi:11665 #, no-wrap msgid "{Data Type} rottlog-configuration" msgstr "{Type de données} rottlog-configuration" #. type: deftp -#: doc/guix.texi:10867 +#: doc/guix.texi:11667 msgid "Data type representing the configuration of rottlog." msgstr "Type de données représentant la configuration de rottlog." #. type: item -#: doc/guix.texi:10869 +#: doc/guix.texi:11669 #, no-wrap msgid "@code{rottlog} (default: @code{rottlog})" msgstr "@code{rottlog} (par défaut : @code{rottlog})" #. type: table -#: doc/guix.texi:10871 +#: doc/guix.texi:11671 msgid "The Rottlog package to use." msgstr "Le paquet Rottlog à utiliser." #. type: item -#: doc/guix.texi:10872 +#: doc/guix.texi:11672 #, no-wrap msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})" msgstr "@code{rc-file} (par défaut : @code{(file-append rottlog \"/etc/rc\")})" #. type: table -#: doc/guix.texi:10875 +#: doc/guix.texi:11675 msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})." msgstr "Le fichier de configuration Rottlog à utiliser (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})." #. type: item -#: doc/guix.texi:10876 +#: doc/guix.texi:11676 #, no-wrap msgid "@code{rotations} (default: @code{%default-rotations})" msgstr "@code{rotations} (par défaut : @code{%default-rotations})" #. type: table -#: doc/guix.texi:10878 +#: doc/guix.texi:11678 msgid "A list of @code{log-rotation} objects as defined below." msgstr "Une liste d'objets @code{log-rotation} définis plus bas." #. type: table -#: doc/guix.texi:10882 +#: doc/guix.texi:11682 msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})." msgstr "C'est une liste de gexps où chaque gexp correspond à une spécification de tache de mcron (@pxref{Scheduled Job Execution})." #. type: deftp -#: doc/guix.texi:10885 +#: doc/guix.texi:11685 #, no-wrap msgid "{Data Type} log-rotation" msgstr "{Type de données} log-rotation" #. type: deftp -#: doc/guix.texi:10887 +#: doc/guix.texi:11687 msgid "Data type representing the rotation of a group of log files." msgstr "Type de données représentant la rotation d'un groupe de fichiers journaux." #. type: deftp -#: doc/guix.texi:10891 +#: doc/guix.texi:11691 msgid "Taking an example from the Rottlog manual (@pxref{Period Related File Examples,,, rottlog, GNU Rot[t]log Manual}), a log rotation might be defined like this:" msgstr "En reprenant un exemple du manuel de Rottlog (@pxref{Period Related File Examples,,, rottlog, GNU Rot[t]log Manual}), on peut définir la rotation d'un journal de cette manière :" #. type: example -#: doc/guix.texi:10900 +#: doc/guix.texi:11700 #, no-wrap msgid "" "(log-rotation\n" @@ -19516,111 +20898,111 @@ msgstr "" " \"nocompress\")))\n" #. type: deftp -#: doc/guix.texi:10903 +#: doc/guix.texi:11703 msgid "The list of fields is as follows:" msgstr "La liste des champs est la suivante :" #. type: item -#: doc/guix.texi:10905 +#: doc/guix.texi:11705 #, no-wrap msgid "@code{frequency} (default: @code{'weekly})" msgstr "@code{frequency} (par défaut : @code{'weekly})" #. type: table -#: doc/guix.texi:10907 +#: doc/guix.texi:11707 msgid "The log rotation frequency, a symbol." msgstr "La fréquence de rotation, un symbole." #. type: code{#1} -#: doc/guix.texi:10908 +#: doc/guix.texi:11708 #, no-wrap msgid "files" msgstr "files" #. type: table -#: doc/guix.texi:10910 +#: doc/guix.texi:11710 msgid "The list of files or file glob patterns to rotate." msgstr "La liste des fichiers ou des motifs de noms de fichiers à faire tourner." #. type: item -#: doc/guix.texi:10911 +#: doc/guix.texi:11711 #, no-wrap msgid "@code{options} (default: @code{'()})" msgstr "@code{options} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:10914 +#: doc/guix.texi:11714 msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})." msgstr "La liste des options de rottlog pour cette rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})." #. type: item -#: doc/guix.texi:10915 +#: doc/guix.texi:11715 #, no-wrap msgid "@code{post-rotate} (default: @code{#f})" msgstr "@code{post-rotate} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10917 +#: doc/guix.texi:11717 msgid "Either @code{#f} or a gexp to execute once the rotation has completed." msgstr "Soit @code{#f}, soit une gexp à exécuter une fois la rotation terminée." #. type: defvr -#: doc/guix.texi:10920 +#: doc/guix.texi:11720 #, no-wrap msgid "{Scheme Variable} %default-rotations" msgstr "{Variable Scheme} %default-rotations" #. type: defvr -#: doc/guix.texi:10923 +#: doc/guix.texi:11723 msgid "Specifies weekly rotation of @var{%rotated-files} and a couple of other files." msgstr "Spécifie la rotation hebdomadaire de @var{%rotated-files} et de quelques autres fichiers." #. type: defvr -#: doc/guix.texi:10925 +#: doc/guix.texi:11725 #, no-wrap msgid "{Scheme Variable} %rotated-files" msgstr "{Variable Scheme} %rotated-files" #. type: defvr -#: doc/guix.texi:10928 +#: doc/guix.texi:11728 msgid "The list of syslog-controlled files to be rotated. By default it is: @code{'(\"/var/log/messages\" \"/var/log/secure\")}." msgstr "La liste des fichiers contrôlés par syslog à faire tourner. Par défaut il s'agit de : @code{'(\"/var/log/messages\" \"/var/log/secure\")}" #. type: Plain text -#: doc/guix.texi:10935 +#: doc/guix.texi:11735 msgid "The @code{(gnu services networking)} module provides services to configure the network interface." msgstr "Le module @code{(gnu services networking)} fournit des services pour configurer les interfaces réseaux." #. type: cindex -#: doc/guix.texi:10936 +#: doc/guix.texi:11736 #, no-wrap msgid "DHCP, networking service" msgstr "DHCP, service réseau" -#. type: deffn -#: doc/guix.texi:10937 +#. type: defvr +#: doc/guix.texi:11737 #, no-wrap -msgid "{Scheme Procedure} dhcp-client-service [#:dhcp @var{isc-dhcp}]" -msgstr "{Procédure Scheme} dhcp-client-service [#:dhcp @var{isc-dhcp}]" +msgid "{Scheme Variable} dhcp-client-service-type" +msgstr "{Variable Scheme} dhcp-client-service-type" + +#. type: defvr +#: doc/guix.texi:11741 +msgid "This is the type of services that run @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client, on all the non-loopback network interfaces. Its value is the DHCP client package to use, @code{isc-dhcp} by default." +msgstr "C'est le type de services qui lance @var{dhcp}, un client DHC (protocole de configuration d'hôte dynamique) sur toutes les interfaces réseau non-loopback. Sa valeur est le paquet du client DHCP à utiliser, @code{isc-dhcp} par défaut." #. type: deffn -#: doc/guix.texi:10940 -msgid "Return a service that runs @var{dhcp}, a Dynamic Host Configuration Protocol (DHCP) client, on all the non-loopback network interfaces." -msgstr "Renvoie un service qui lance @var{dhcp}, un client DHCP (Dynamic Host Configuration Protocol) sur toutes les interfaces réseaux en dehors de la boucle locale." - -#. type: deffn -#: doc/guix.texi:10942 +#: doc/guix.texi:11743 #, no-wrap msgid "{Scheme Procedure} dhcpd-service-type" msgstr "{Procédure Scheme} dhcpd-service-type" #. type: deffn -#: doc/guix.texi:10946 +#: doc/guix.texi:11747 msgid "This type defines a service that runs a DHCP daemon. To create a service of this type, you must supply a @code{}. For example:" msgstr "Ce type définie un service qui lance un démon DHCP. Pour créer un service de ce type, vous devez appliquer un objet @code{}. Par exemple :" #. type: example -#: doc/guix.texi:10952 +#: doc/guix.texi:11753 #, no-wrap msgid "" "(service dhcpd-service-type\n" @@ -19634,296 +21016,314 @@ msgstr "" " (interfaces '(\"enp0s25\"))))\n" #. type: deftp -#: doc/guix.texi:10955 +#: doc/guix.texi:11756 #, no-wrap msgid "{Data Type} dhcpd-configuration" msgstr "{Type de données} dhcpd-configuration" #. type: item -#: doc/guix.texi:10957 +#: doc/guix.texi:11758 #, no-wrap msgid "@code{package} (default: @code{isc-dhcp})" msgstr "@code{package} (par défaut : @code{isc-dhcp})" #. type: table -#: doc/guix.texi:10962 +#: doc/guix.texi:11763 msgid "The package that provides the DHCP daemon. This package is expected to provide the daemon at @file{sbin/dhcpd} relative to its output directory. The default package is the @uref{http://www.isc.org/products/DHCP, ISC's DHCP server}." msgstr "Le paquet qui fournit le démon DHCP. ce paquet doit fournir le démon @file{sbin/dhcpd} relativement à son répertoire de sortie. Le paquet par défaut est le @uref{http://www.isc.org/products/DHCP, serveur DHCP d'ISC}" #. type: item -#: doc/guix.texi:10962 doc/guix.texi:14707 +#: doc/guix.texi:11763 doc/guix.texi:11952 doc/guix.texi:15716 #, no-wrap msgid "@code{config-file} (default: @code{#f})" msgstr "@code{config-file} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:10967 +#: doc/guix.texi:11768 msgid "The configuration file to use. This is required. It will be passed to @code{dhcpd} via its @code{-cf} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man dhcpd.conf} for details on the configuration file syntax." msgstr "Le fichier de configuration à utiliser. Il est requis. Il sera passé à @code{dhcpd} via son option @code{-cf}. La valeur peut être n'importe quel objet « simili-fichier » (@pxref{G-Expressions, file-like objects}). Voir @code{man dhcpd.conf} pour des détails sur la syntaxe du fichier de configuration." #. type: item -#: doc/guix.texi:10967 +#: doc/guix.texi:11768 #, no-wrap msgid "@code{version} (default: @code{\"4\"})" msgstr "@code{version} (par défaut : @code{\"4\"})" #. type: table -#: doc/guix.texi:10972 +#: doc/guix.texi:11773 msgid "The DHCP version to use. The ISC DHCP server supports the values ``4'', ``6'', and ``4o6''. These correspond to the @code{dhcpd} program options @code{-4}, @code{-6}, and @code{-4o6}. See @code{man dhcpd} for details." msgstr "La version de DHCP à utiliser. Le serveur DHCP d'ISC supporte les valeur « 4 », « 6 » et « 4o6 ». Elles correspondent aux options @code{-4}, @code{-6} et @code{-4o6} du programme @code{dhcpd}. Voir @code{man dhcpd} pour plus de détails." #. type: item -#: doc/guix.texi:10972 +#: doc/guix.texi:11773 #, no-wrap msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})" msgstr "@code{run-directory} (par défaut : @code{\"/run/dhcpd\"})" #. type: table -#: doc/guix.texi:10975 +#: doc/guix.texi:11776 msgid "The run directory to use. At service activation time, this directory will be created if it does not exist." msgstr "Le répertoire d'exécution à utiliser. Au moment de l'activation du service, ce répertoire sera créé s'il n'existe pas." #. type: item -#: doc/guix.texi:10975 +#: doc/guix.texi:11776 #, no-wrap msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})" msgstr "@code{pid-file} (par défaut : @code{\"/run/dhcpd/dhcpd.pid\"})" #. type: table -#: doc/guix.texi:10978 +#: doc/guix.texi:11779 msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details." msgstr "Le fichier de PID à utiliser. Cela correspond à l'option @code{-pf} de @code{dhcpd}. Voir @code{man dhcpd} pour plus de détails." #. type: item -#: doc/guix.texi:10978 +#: doc/guix.texi:11779 #, no-wrap msgid "@code{interfaces} (default: @code{'()})" msgstr "@code{interfaces} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:10984 +#: doc/guix.texi:11785 msgid "The names of the network interfaces on which dhcpd should listen for broadcasts. If this list is not empty, then its elements (which must be strings) will be appended to the @code{dhcpd} invocation when starting the daemon. It may not be necessary to explicitly specify any interfaces here; see @code{man dhcpd} for details." msgstr "Les noms des interfaces réseaux sur lesquelles dhcpd écoute. Si cette liste n'est pas vide, alors ses éléments (qui doivent être des chaînes de caractères) seront ajoutés à l'invocation de @code{dhcpd} lors du démarrage du démon. Il n'est pas forcément nécessaire de spécifier des interfaces ici ; voir @code{man dhcpd} pour plus de détails." #. type: defvr -#: doc/guix.texi:10987 +#: doc/guix.texi:11788 #, no-wrap msgid "{Scheme Variable} static-networking-service-type" msgstr "{Variable Scheme} static-networking-service-type" #. type: defvr -#: doc/guix.texi:10990 +#: doc/guix.texi:11791 msgid "This is the type for statically-configured network interfaces." msgstr "C'est le type des interfaces réseaux configurés statiquement." #. type: deffn -#: doc/guix.texi:10992 +#: doc/guix.texi:11793 #, no-wrap msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @" msgstr "{Procédure Scheme} static-networking-service @var{interface} @var{ip} @" #. type: deffn -#: doc/guix.texi:11000 -msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface." +#: doc/guix.texi:11801 +msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface." msgstr "" -"[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] [#:requirement @code{'(udev)}]\n" +"[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @\n" +"[#:requirement @code{'(udev)}]\n" "Renvoie un service qui démarre @var{interface} avec l'adresse @var{ip}. Si @var{netmask} est vrai, il sera utilisé comme masque de sous-réseau. Si @var{gateway} est vrai, ce doit être une chaîne de caractères qui spécifie la passerelle par défaut du réseau. @var{requirement} peut être utilisé pour déclarer une dépendance sur un autre service avant de configurer l'interface." #. type: deffn -#: doc/guix.texi:11005 +#: doc/guix.texi:11806 msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle." msgstr "On peut appeler cette procédure plusieurs fois, une fois par interface réseau qui nous intéresse. Dans les coulisses, elle étend @code{static-networking-service-type} avec les interfaces réseaux supplémentaires à gérer." +#. type: deffn +#: doc/guix.texi:11808 +msgid "For example:" +msgstr "Par exemple :" + +#. type: example +#: doc/guix.texi:11813 +#, no-wrap +msgid "" +"(static-networking-service \"eno1\" \"192.168.1.82\"\n" +" #:gateway \"192.168.1.2\"\n" +" #:name-servers '(\"192.168.1.2\"))\n" +msgstr "" +"(static-networking-service \"eno1\" \"192.168.1.82\"\n" +" #:gateway \"192.168.1.2\"\n" +" #:name-servers '(\"192.168.1.2\"))\n" + #. type: cindex -#: doc/guix.texi:11007 +#: doc/guix.texi:11816 #, no-wrap msgid "wicd" msgstr "wicd" #. type: cindex -#: doc/guix.texi:11010 +#: doc/guix.texi:11819 #, no-wrap msgid "network management" msgstr "gestion du réseau" #. type: deffn -#: doc/guix.texi:11011 +#: doc/guix.texi:11820 #, no-wrap msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]" msgstr "{Procédure Scheme} wicd-service [#:wicd @var{wicd}]" #. type: deffn -#: doc/guix.texi:11014 +#: doc/guix.texi:11823 msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking." msgstr "Renvoie un service qui lance @url{https://launchpad.net/wicd,Wicd}, un démon de gestion réseau qui cherche à simplifier la configuration des résaux filaires et sans fil." #. type: deffn -#: doc/guix.texi:11019 +#: doc/guix.texi:11828 msgid "This service adds the @var{wicd} package to the global profile, providing several commands to interact with the daemon and configure networking: @command{wicd-client}, a graphical user interface, and the @command{wicd-cli} and @command{wicd-curses} user interfaces." msgstr "Ce service ajoute le paquet @var{wicd} au profil global, pour fournir des commandes pour interagir avec le démon et configurer le réseau : @command{wicd-client}, une interface graphique et les interfaces utilisateurs @command{wicd-cli} et @command{wicd-curses}." #. type: cindex -#: doc/guix.texi:11021 +#: doc/guix.texi:11830 #, no-wrap msgid "ModemManager" msgstr "ModemManager" #. type: defvr -#: doc/guix.texi:11023 +#: doc/guix.texi:11832 #, no-wrap msgid "{Scheme Variable} modem-manager-service-type" msgstr "{Variable Scheme} modem-manager-service-type" #. type: defvr -#: doc/guix.texi:11028 +#: doc/guix.texi:11837 msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/ModemManager, ModemManager} service. The value for this service type is a @code{modem-manager-configuration} record." msgstr "C'est le type de service pour le service @uref{https://wiki.gnome.org/Projects/ModemManager, ModemManager}. La valeur de ce type de service est un enregistrement @code{modem-manager-configuration}." #. type: defvr -#: doc/guix.texi:11031 doc/guix.texi:11053 +#: doc/guix.texi:11840 doc/guix.texi:11862 msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})." msgstr "Ce service fait partie de @code{%desktop-services} (@pxref{Desktop Services})." #. type: deftp -#: doc/guix.texi:11033 +#: doc/guix.texi:11842 #, no-wrap msgid "{Data Type} modem-manager-configuration" msgstr "{Type de données} modem-manager-configuration" #. type: deftp -#: doc/guix.texi:11035 +#: doc/guix.texi:11844 msgid "Data type representing the configuration of ModemManager." msgstr "Type de donnée représentant la configuration de ModemManager." #. type: item -#: doc/guix.texi:11037 +#: doc/guix.texi:11846 #, no-wrap msgid "@code{modem-manager} (default: @code{modem-manager})" msgstr "@code{modem-manager} (par défaut : @code{modem-manager})" #. type: table -#: doc/guix.texi:11039 +#: doc/guix.texi:11848 msgid "The ModemManager package to use." msgstr "Le paquet ModemManager à utiliser." #. type: cindex -#: doc/guix.texi:11043 +#: doc/guix.texi:11852 #, no-wrap msgid "NetworkManager" msgstr "NetworkManager" #. type: defvr -#: doc/guix.texi:11045 +#: doc/guix.texi:11854 #, no-wrap msgid "{Scheme Variable} network-manager-service-type" msgstr "{Variable Scheme} network-manager-service-type" #. type: defvr -#: doc/guix.texi:11050 +#: doc/guix.texi:11859 msgid "This is the service type for the @uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager} service. The value for this service type is a @code{network-manager-configuration} record." msgstr "C'est le type de service pour le service @uref{https://wiki.gnome.org/Projects/NetworkManager, NetworkManager}. La valeur pour ce type de service est un enregistrement @code{network-manager-configuration}." #. type: deftp -#: doc/guix.texi:11055 +#: doc/guix.texi:11864 #, no-wrap msgid "{Data Type} network-manager-configuration" msgstr "{Type de données} network-manager-configuration" #. type: deftp -#: doc/guix.texi:11057 +#: doc/guix.texi:11866 msgid "Data type representing the configuration of NetworkManager." msgstr "Type de données représentant la configuration de NetworkManager." #. type: item -#: doc/guix.texi:11059 +#: doc/guix.texi:11868 #, no-wrap msgid "@code{network-manager} (default: @code{network-manager})" msgstr "@code{network-manager} (par défaut : @code{network-manager})" #. type: table -#: doc/guix.texi:11061 +#: doc/guix.texi:11870 msgid "The NetworkManager package to use." msgstr "Le paquet NetworkManager à utiliser." #. type: item -#: doc/guix.texi:11062 +#: doc/guix.texi:11871 #, no-wrap msgid "@code{dns} (default: @code{\"default\"})" msgstr "@code{dns} (par défaut : @code{\"default\"})" #. type: table -#: doc/guix.texi:11065 +#: doc/guix.texi:11874 msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file." msgstr "Mode de gestion pour le DNS, qui affecte la manière dont NetworkManager utilise le fichier de configuration @code{resolv.conf}" #. type: item -#: doc/guix.texi:11067 +#: doc/guix.texi:11876 #, no-wrap msgid "default" msgstr "default" #. type: table -#: doc/guix.texi:11070 +#: doc/guix.texi:11879 msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections." msgstr "NetworkManager mettra à jour @code{resolv.conf} pour refléter les serveurs de noms fournis par les connexions actives." #. type: item -#: doc/guix.texi:11071 +#: doc/guix.texi:11880 #, no-wrap msgid "dnsmasq" msgstr "dnsmasq" #. type: table -#: doc/guix.texi:11075 +#: doc/guix.texi:11884 msgid "NetworkManager will run @code{dnsmasq} as a local caching nameserver, using a \"split DNS\" configuration if you are connected to a VPN, and then update @code{resolv.conf} to point to the local nameserver." msgstr "NetworkManager lancera @code{dnsmasq} en tant que serveur de cache local, en utilisant une configuration « DNS disjointe » si vous êtes connecté par un VPN puis mettra à jour @code{resolv.conf} pour pointer vers le serveur de nom local." #. type: item -#: doc/guix.texi:11076 doc/guix.texi:12100 +#: doc/guix.texi:11885 doc/guix.texi:13051 #, no-wrap msgid "none" msgstr "none" #. type: table -#: doc/guix.texi:11078 +#: doc/guix.texi:11887 msgid "NetworkManager will not modify @code{resolv.conf}." msgstr "NetworkManager ne modifiera pas @code{resolv.conf}." #. type: item -#: doc/guix.texi:11080 +#: doc/guix.texi:11889 #, no-wrap msgid "@code{vpn-plugins} (default: @code{'()})" msgstr "@code{vpn-plugins} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:11084 +#: doc/guix.texi:11893 msgid "This is the list of available plugins for virtual private networks (VPNs). An example of this is the @code{network-manager-openvpn} package, which allows NetworkManager to manage VPNs @i{via} OpenVPN." msgstr "C'est la liste des greffons disponibles pour les VPN (réseaux privés virtuels). Un exemple est le paquet @code{network-manager-openvpn}, qui permet à NetworkManager de gérer des VPN via OpenVPN." #. type: cindex -#: doc/guix.texi:11088 +#: doc/guix.texi:11897 #, no-wrap msgid "Connman" msgstr "Connman" #. type: deffn -#: doc/guix.texi:11089 +#: doc/guix.texi:11898 #, no-wrap msgid "{Scheme Variable} connman-service-type" msgstr "{Variable Scheme} connman-service-type" #. type: deffn -#: doc/guix.texi:11092 +#: doc/guix.texi:11901 msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager." msgstr "C'est le type de service pour lancer @url{https://01.org/connman,Connman}, un gestionnaire de connexions réseaux." #. type: deffn -#: doc/guix.texi:11095 +#: doc/guix.texi:11904 msgid "Its value must be an @code{connman-configuration} record as in this example:" msgstr "Sa valeur doit être un enregistrement @code{connman-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:11100 +#: doc/guix.texi:11909 #, no-wrap msgid "" "(service connman-service-type\n" @@ -19935,288 +21335,480 @@ msgstr "" " (disable-vpn? #t)))\n" #. type: deffn -#: doc/guix.texi:11103 +#: doc/guix.texi:11912 msgid "See below for details about @code{connman-configuration}." msgstr "Voir plus bas pour des détails sur @code{connman-configuration}." #. type: deftp -#: doc/guix.texi:11105 +#: doc/guix.texi:11914 #, no-wrap msgid "{Data Type} connman-configuration" msgstr "{Type de données} connman-configuration" #. type: deftp -#: doc/guix.texi:11107 +#: doc/guix.texi:11916 msgid "Data Type representing the configuration of connman." msgstr "Type de données représentant la configuration de connman." #. type: item -#: doc/guix.texi:11109 +#: doc/guix.texi:11918 #, no-wrap msgid "@code{connman} (default: @var{connman})" msgstr "@code{connman} (par défaut : @var{connman})" #. type: table -#: doc/guix.texi:11111 +#: doc/guix.texi:11920 msgid "The connman package to use." msgstr "Le paquet connman à utiliser." #. type: item -#: doc/guix.texi:11112 +#: doc/guix.texi:11921 #, no-wrap msgid "@code{disable-vpn?} (default: @code{#f})" msgstr "@code{disable-vpn?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11114 -msgid "When true, enable connman's vpn plugin." -msgstr "Lorsque la valeur est vraie, active le greffon vpn de connman." +#: doc/guix.texi:11923 +msgid "When true, disable connman's vpn plugin." +msgstr "Lorsque la valeur est vraie, désactive le greffon vpn de connman." #. type: cindex -#: doc/guix.texi:11117 +#: doc/guix.texi:11926 #, no-wrap msgid "WPA Supplicant" msgstr "WPA Supplicant" #. type: defvr -#: doc/guix.texi:11118 +#: doc/guix.texi:11927 #, no-wrap msgid "{Scheme Variable} wpa-supplicant-service-type" msgstr "{Variable Scheme} wpa-supplicant-service-type" #. type: defvr -#: doc/guix.texi:11123 -msgid "This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, an authentication daemon required to authenticate against encrypted WiFi or ethernet networks. It is configured to listen for requests on D-Bus." -msgstr "C'est le type du service qui lance @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, un démon d'authentification requis pour s'authentifier sur des WiFi chiffrés ou des réseaux ethernet. l est configuré pour écouter des requêtes sur D-Bus." +#: doc/guix.texi:11931 +msgid "This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA supplicant}, an authentication daemon required to authenticate against encrypted WiFi or ethernet networks." +msgstr "C'est le type du service qui lance@url{https://w1.fi/wpa_supplicant/,WPA supplicant}, un démon d'authentification requis pour s'authentifier sur des WiFi chiffrés ou des réseaux ethernet." + +#. type: deftp +#: doc/guix.texi:11933 +#, no-wrap +msgid "{Data Type} wpa-supplicant-configuration" +msgstr "{Type de données} wpa-supplicant-configuration" + +#. type: deftp +#: doc/guix.texi:11935 +msgid "Data type representing the configuration of WPA Supplicant." +msgstr "Type données qui représente la configuration de WPA Supplicant." + +#. type: deftp +#: doc/guix.texi:11937 +msgid "It takes the following parameters:" +msgstr "Il prend les paramètres suivants :" + +#. type: item +#: doc/guix.texi:11939 +#, no-wrap +msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})" +msgstr "@code{wpa-supplicant} (par défaut : @code{wpa-supplicant})" + +#. type: table +#: doc/guix.texi:11941 +msgid "The WPA Supplicant package to use." +msgstr "Le paquet WPA Supplicant à utiliser." + +#. type: item +#: doc/guix.texi:11942 +#, no-wrap +msgid "@code{dbus?} (default: @code{#t})" +msgstr "@code{dbus?} (par défaut : @code{#t})" + +#. type: table +#: doc/guix.texi:11944 +msgid "Whether to listen for requests on D-Bus." +msgstr "Indique s'il faut écouter les requêtes sur D-Bus." + +#. type: item +#: doc/guix.texi:11945 +#, no-wrap +msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})" +msgstr "@code{pid-file} (par défaut : @code{\"/var/run/wpa_supplicant.pid\"})" + +#. type: table +#: doc/guix.texi:11947 +msgid "Where to store the PID file." +msgstr "Où stocker votre fichier de PID." + +#. type: item +#: doc/guix.texi:11948 +#, no-wrap +msgid "@code{interface} (default: @code{#f})" +msgstr "@code{interface} (par défaut : @code{#f})" + +#. type: table +#: doc/guix.texi:11951 +msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control." +msgstr "Si une valeur est indiquée, elle doit spécifier le nom d'une interface réseau que WPA supplicant contrôlera." + +#. type: table +#: doc/guix.texi:11954 +msgid "Optional configuration file to use." +msgstr "Fichier de configuration facultatif à utiliser." + +#. type: table +#: doc/guix.texi:11957 +msgid "List of additional command-line arguments to pass to the daemon." +msgstr "Liste d'arguments de la ligne de commande supplémentaires à passer au démon." + +#. type: cindex +#: doc/guix.texi:11960 +#, no-wrap +msgid "iptables" +msgstr "iptables" #. type: defvr -#: doc/guix.texi:11126 -msgid "The value of this service is the @code{wpa-supplicant} package to use. Thus, it can be instantiated like this:" -msgstr "La valeur de ce service est le paquet @code{wpa-supplicant} à utiliser. Ainsi, il peut être instancié de cette manière :" +#: doc/guix.texi:11961 +#, no-wrap +msgid "{Scheme Variable} iptables-service-type" +msgstr "{Variable Scheme} iptables-service-type" + +#. type: defvr +#: doc/guix.texi:11967 +msgid "This is the service type to set up an iptables configuration. iptables is a packet filtering framework supported by the Linux kernel. This service supports configuring iptables for both IPv4 and IPv6. A simple example configuration rejecting all incoming connections except those to the ssh port 22 is shown below." +msgstr "C'est le type de service pour mettre en place une configuration iptables. iptables est un outil de filtrage de paquet supporté par le noyau Linux. Ce service supporte la configuration d'iptable pour IPv4 et IPv6. Un exemple simple de configuration, qui rejette les connexions entrantes sauf celles sur le port 22 est présenté ci-dessous." #. type: lisp -#: doc/guix.texi:11129 +#: doc/guix.texi:11987 #, no-wrap msgid "" -"(use-modules (gnu services networking))\n" -"\n" +"(service iptables-service-type\n" +" (iptables-configuration\n" +" (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n" +":INPUT ACCEPT\n" +":FORWARD ACCEPT\n" +":OUTPUT ACCEPT\n" +"-A INPUT -p tcp --dport 22 -j ACCEPT\n" +"-A INPUT -j REJECT --reject-with icmp-port-unreachable\n" +"COMMIT\n" +"\"))\n" +" (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n" +":INPUT ACCEPT\n" +":FORWARD ACCEPT\n" +":OUTPUT ACCEPT\n" +"-A INPUT -p tcp --dport 22 -j ACCEPT\n" +"-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n" +"COMMIT\n" +"\"))))\n" msgstr "" -"(use-modules (gnu services networking))\n" -"\n" +"(service iptables-service-type\n" +" (iptables-configuration\n" +" (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n" +":INPUT ACCEPT\n" +":FORWARD ACCEPT\n" +":OUTPUT ACCEPT\n" +"-A INPUT -p tcp --dport 22 -j ACCEPT\n" +"-A INPUT -j REJECT --reject-with icmp-port-unreachable\n" +"COMMIT\n" +"\"))\n" +" (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n" +":INPUT ACCEPT\n" +":FORWARD ACCEPT\n" +":OUTPUT ACCEPT\n" +"-A INPUT -p tcp --dport 22 -j ACCEPT\n" +"-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n" +"COMMIT\n" +"\"))))\n" -#. type: lisp -#: doc/guix.texi:11131 +#. type: deftp +#: doc/guix.texi:11990 #, no-wrap -msgid "(service wpa-supplicant-service-type)\n" -msgstr "(service wpa-supplicant-service-type)\n" +msgid "{Data Type} iptables-configuration" +msgstr "{Type de données} iptables-configuration" + +#. type: deftp +#: doc/guix.texi:11992 +msgid "The data type representing the configuration of iptables." +msgstr "Type de données représentant la configuration d'iptables." + +#. type: item +#: doc/guix.texi:11994 +#, no-wrap +msgid "@code{iptables} (default: @code{iptables})" +msgstr "@code{iptables} (par défaut : @code{iptables})" + +#. type: table +#: doc/guix.texi:11997 +msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}." +msgstr "Le paquet iptables qui fournit @code{iptables-restore} et @code{ip6tables-restore}." + +#. type: item +#: doc/guix.texi:11997 +#, no-wrap +msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})" +msgstr "@code{ipv4-rules} (par défaut : @code{%iptables-accept-all-rules})" + +#. type: table +#: doc/guix.texi:12001 +msgid "The iptables rules to use. It will be passed to @code{iptables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})." +msgstr "Les règles iptables à utiliser. Elles seront passées à @code{iptables-restore}. Cela peut être un objet « simili-fichier » (@pxref{G-Expressions, file-like objects})." + +#. type: item +#: doc/guix.texi:12001 +#, no-wrap +msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})" +msgstr "@code{ipv6-rules} (par défaut : @code{%iptables-accept-all-rules})" + +#. type: table +#: doc/guix.texi:12005 +msgid "The ip6tables rules to use. It will be passed to @code{ip6tables-restore}. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})." +msgstr "Les règles iptables à utiliser. Elles seront passées à @code{ip6tables-restore}. Cela peut être un objet « simili-fichier » (@pxref{G-Expressions, file-like objects})." #. type: cindex -#: doc/guix.texi:11134 +#: doc/guix.texi:12008 #, no-wrap -msgid "NTP" -msgstr "NTP" +msgid "NTP (Network Time Protocol), service" +msgstr "NTP (Network Time Protocol), service" #. type: cindex -#: doc/guix.texi:11135 +#: doc/guix.texi:12009 #, no-wrap msgid "real time clock" msgstr "horloge" -#. type: deffn -#: doc/guix.texi:11136 +#. type: defvr +#: doc/guix.texi:12010 #, no-wrap -msgid "{Scheme Procedure} ntp-service [#:ntp @var{ntp}] @" -msgstr "{Procédure Scheme} ntp-service [#:ntp @var{ntp}] @" - -#. type: deffn -#: doc/guix.texi:11144 -msgid "[#:servers @var{%ntp-servers}] @ [#:allow-large-adjustment? #f] Return a service that runs the daemon from @var{ntp}, the @uref{http://www.ntp.org, Network Time Protocol package}. The daemon will keep the system clock synchronized with that of @var{servers}. @var{allow-large-adjustment?} determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds." -msgstr "" -"[#:servers @var{%ntp-servers}] @\n" -"[#:allow-large-adjustment? #f]\n" -"Renvoie un service qui lance le démon de @var{ntp}, le @uref{http://www.ntp.org, paquet Network Time Protocol}. Le démon gardera l'horloge système synchronisée avec celle des serveurs @var{servers}. @var{allow-large-adjustment?} détermine si @command{ntpd} a le droit de faire des ajustements initiaux de plus de 1 000 secondes." +msgid "{Scheme Variable} ntp-service-type" +msgstr "{Variable Scheme} ntp-service-type" #. type: defvr -#: doc/guix.texi:11146 -#, no-wrap -msgid "{Scheme Variable} %ntp-servers" -msgstr "{Variable Scheme} %ntp-servers" +#: doc/guix.texi:12014 +msgid "This is the type of the service running the the @uref{http://www.ntp.org, Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep the system clock synchronized with that of the specified NTP servers." +msgstr "C'est le type de service qui lance le démon @uref{http://www.ntp.org, Network Time Protocol (NTP)}, @command{ntpd}. Le démon gardera l'horloge système synchronisée avec celle des serveurs NTP." #. type: defvr -#: doc/guix.texi:11148 -msgid "List of host names used as the default NTP servers." -msgstr "Liste des noms d'hôtes utilisés comme serveurs NTP par défaut." - -#. type: cindex -#: doc/guix.texi:11150 -#, no-wrap -msgid "OpenNTPD" -msgstr "OpenNTPD" - -#. type: deffn -#: doc/guix.texi:11151 -#, no-wrap -msgid "{Scheme Procedure} openntpd-service-type" -msgstr "{Procédure Scheme} openntpd-service-type" - -#. type: deffn -#: doc/guix.texi:11155 -msgid "Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system clock synchronized with that of the given servers." -msgstr "Lance le démon NTP @command{ntpd}, implémenté par @uref{http://www.openntpd.org, OpenNTPD}. Le démon gardera l'horloge système synchronisée avec celle des serveurs donnés." - -#. type: example -#: doc/guix.texi:11165 -#, no-wrap -msgid "" -"(service\n" -" openntpd-service-type\n" -" (openntpd-configuration\n" -" (listen-on '(\"127.0.0.1\" \"::1\"))\n" -" (sensor '(\"udcf0 correction 70000\"))\n" -" (constraint-from '(\"www.gnu.org\"))\n" -" (constraints-from '(\"https://www.google.com/\"))\n" -" (allow-large-adjustment? #t)))\n" -"\n" -msgstr "" -"(service\n" -" openntpd-service-type\n" -" (openntpd-configuration\n" -" (listen-on '(\"127.0.0.1\" \"::1\"))\n" -" (sensor '(\"udcf0 correction 70000\"))\n" -" (constraint-from '(\"www.gnu.org\"))\n" -" (constraints-from '(\"https://www.google.com/\"))\n" -" (allow-large-adjustment? #t)))\n" -"\n" +#: doc/guix.texi:12017 +msgid "The value of this service is an @code{ntpd-configuration} object, as described below." +msgstr "La valeur de ce service est un objet @code{ntpd-configuration}, décrit ci-dessous." #. type: deftp -#: doc/guix.texi:11169 +#: doc/guix.texi:12019 #, no-wrap -msgid "{Data Type} openntpd-configuration" -msgstr "{Type de données} openntpd-configuration" +msgid "{Data Type} ntp-configuration" +msgstr "{Type de données} ntp-configuration" + +#. type: deftp +#: doc/guix.texi:12021 +msgid "This is the data type for the NTP service configuration." +msgstr "C'est le type de données représentant la configuration du service NTP." #. type: item -#: doc/guix.texi:11171 +#: doc/guix.texi:12023 #, no-wrap -msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})" -msgstr "@code{openntpd} (par défaut : @code{(file-append openntpd \"/sbin/ntpd\")})" +msgid "@code{servers} (default: @code{%ntp-servers})" +msgstr "@code{servers} (par défaut : @code{%ntp-servers})" #. type: table -#: doc/guix.texi:11173 -msgid "The openntpd executable to use." -msgstr "L'exécutable openntpd à utiliser." +#: doc/guix.texi:12026 +msgid "This is the list of servers (host names) with which @command{ntpd} will be synchronized." +msgstr "C'est la liste des serveurs (noms d'hôtes) avec lesquels @command{ntpd} sera synchronisé." #. type: item -#: doc/guix.texi:11173 -#, no-wrap -msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})" -msgstr "@code{listen-on} (par défaut : @code{'(\"127.0.0.1\" \"::1\")})" - -#. type: table -#: doc/guix.texi:11175 -msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on." -msgstr "Une liste d'adresses IP locales ou de noms d'hôtes que devrait écouter le démon ntpd." - -#. type: item -#: doc/guix.texi:11175 -#, no-wrap -msgid "@code{query-from} (default: @code{'()})" -msgstr "@code{query-from} (par défaut : @code{'()})" - -#. type: table -#: doc/guix.texi:11177 -msgid "A list of local IP address the ntpd daemon should use for outgoing queries." -msgstr "Une liste d'adresses IP que le démon devrait utiliser pour les requêtes sortantes." - -#. type: item -#: doc/guix.texi:11177 -#, no-wrap -msgid "@code{sensor} (default: @code{'()})" -msgstr "@code{sensor} (par défaut : @code{'()})" - -#. type: table -#: doc/guix.texi:11182 -msgid "Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} will listen to each sensor that acutally exists and ignore non-existant ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} for more information." -msgstr "Spécifie une liste de senseurs de différences de temps que ntpd devrait utiliser. @code{ntpd} écoutera chaque senseur qui existe et ignorera ceux qui n'existent pas. Voir @uref{https://man.openbsd.org/ntpd.conf, la documentation en amont} pour plus d'informations." - -#. type: item -#: doc/guix.texi:11182 -#, no-wrap -msgid "@code{server} (default: @var{%ntp-servers})" -msgstr "@code{server} (par défaut : @var{%ntp-servers})" - -#. type: table -#: doc/guix.texi:11184 -msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to." -msgstr "Spécifie une liste d'adresses IP ou de noms d'hôtes de serveurs NTP avec lesquels se synchroniser." - -#. type: item -#: doc/guix.texi:11184 doc/guix.texi:16965 -#, no-wrap -msgid "@code{servers} (default: @code{'()})" -msgstr "@code{servers} (par défaut : @code{'()})" - -#. type: table -#: doc/guix.texi:11186 -msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to." -msgstr "Spécifie une liste d'adresses IP ou de noms d'hôtes de banques de serveurs NTP avec lesquelles se synchroniser." - -#. type: item -#: doc/guix.texi:11186 -#, no-wrap -msgid "@code{constraint-from} (default: @code{'()})" -msgstr "@code{constraint-from} (par défaut : @code{'()})" - -#. type: table -#: doc/guix.texi:11193 -msgid "@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint." -msgstr "@code{ntpd} peut être configuré pour demander la « Date » à des serveurs HTTPS de confiance via TLS. Cette information de temps n'est pas utilisée pour sa précision mais agit comme une contrainte authentifiée, ce qui réduit l'impact d'une attaque par l'homme du milieu sur le protocole NTP non authentifié. Spécifie une liste d'URL, d'adresses IP ou de noms d'hôtes de serveurs HTTPS qui fournissent cette contrainte." - -#. type: item -#: doc/guix.texi:11193 -#, no-wrap -msgid "@code{constraints-from} (default: @code{'()})" -msgstr "@code{constraints-from} (par défaut : @code{'()})" - -#. type: table -#: doc/guix.texi:11197 -msgid "As with constraint from, specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint. Should the hostname resolve to multiple IP addresses, @code{ntpd} will calculate a median constraint from all of them." -msgstr "Comme pour @code{constraint-from}, spécifie une liste d'URL, d'adresses IP ou de noms d'hôtes de serveurs HTTPS qui fournissent une contrainte. Si les noms d'hôtes sont résolus en plusieurs adresses IP, @code{ntpd} calculera la contrainte médiane." - -#. type: item -#: doc/guix.texi:11197 +#: doc/guix.texi:12027 doc/guix.texi:12088 #, no-wrap msgid "@code{allow-large-adjustment?} (default: @code{#f})" msgstr "@code{allow-large-adjustment?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11200 +#: doc/guix.texi:12030 +msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds." +msgstr "Détermine si @code{ntpd} peut faire un ajustement initial de plus de 1@tie{}000 secondes." + +#. type: item +#: doc/guix.texi:12031 +#, no-wrap +msgid "@code{ntp} (default: @code{ntp})" +msgstr "@code{ntp} (par défaut : @code{ntp})" + +#. type: table +#: doc/guix.texi:12033 +msgid "The NTP package to use." +msgstr "Le paquet NTP à utiliser." + +#. type: defvr +#: doc/guix.texi:12036 +#, no-wrap +msgid "{Scheme Variable} %ntp-servers" +msgstr "{Variable Scheme} %ntp-servers" + +#. type: defvr +#: doc/guix.texi:12039 +msgid "List of host names used as the default NTP servers. These are servers of the @uref{https://www.ntppool.org/en/, NTP Pool Project}." +msgstr "Liste de noms d'hôtes à utiliser comme serveurs NTP par défaut. Ce sont les serveurs du @uref{https://www.ntppool.org/fr/, projet NTP Pool}" + +#. type: cindex +#: doc/guix.texi:12041 +#, no-wrap +msgid "OpenNTPD" +msgstr "OpenNTPD" + +#. type: deffn +#: doc/guix.texi:12042 +#, no-wrap +msgid "{Scheme Procedure} openntpd-service-type" +msgstr "{Procédure Scheme} openntpd-service-type" + +#. type: deffn +#: doc/guix.texi:12046 +msgid "Run the @command{ntpd}, the Network Time Protocol (NTP) daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The daemon will keep the system clock synchronized with that of the given servers." +msgstr "Lance le démon NTP @command{ntpd}, implémenté par @uref{http://www.openntpd.org, OpenNTPD}. Le démon gardera l'horloge système synchronisée avec celle des serveurs donnés." + +#. type: example +#: doc/guix.texi:12056 +#, no-wrap +msgid "" +"(service\n" +" openntpd-service-type\n" +" (openntpd-configuration\n" +" (listen-on '(\"127.0.0.1\" \"::1\"))\n" +" (sensor '(\"udcf0 correction 70000\"))\n" +" (constraint-from '(\"www.gnu.org\"))\n" +" (constraints-from '(\"https://www.google.com/\"))\n" +" (allow-large-adjustment? #t)))\n" +"\n" +msgstr "" +"(service\n" +" openntpd-service-type\n" +" (openntpd-configuration\n" +" (listen-on '(\"127.0.0.1\" \"::1\"))\n" +" (sensor '(\"udcf0 correction 70000\"))\n" +" (constraint-from '(\"www.gnu.org\"))\n" +" (constraints-from '(\"https://www.google.com/\"))\n" +" (allow-large-adjustment? #t)))\n" +"\n" + +#. type: deftp +#: doc/guix.texi:12060 +#, no-wrap +msgid "{Data Type} openntpd-configuration" +msgstr "{Type de données} openntpd-configuration" + +#. type: item +#: doc/guix.texi:12062 +#, no-wrap +msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})" +msgstr "@code{openntpd} (par défaut : @code{(file-append openntpd \"/sbin/ntpd\")})" + +#. type: table +#: doc/guix.texi:12064 +msgid "The openntpd executable to use." +msgstr "L'exécutable openntpd à utiliser." + +#. type: item +#: doc/guix.texi:12064 +#, no-wrap +msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})" +msgstr "@code{listen-on} (par défaut : @code{'(\"127.0.0.1\" \"::1\")})" + +#. type: table +#: doc/guix.texi:12066 +msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on." +msgstr "Une liste d'adresses IP locales ou de noms d'hôtes que devrait écouter le démon ntpd." + +#. type: item +#: doc/guix.texi:12066 +#, no-wrap +msgid "@code{query-from} (default: @code{'()})" +msgstr "@code{query-from} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:12068 +msgid "A list of local IP address the ntpd daemon should use for outgoing queries." +msgstr "Une liste d'adresses IP que le démon devrait utiliser pour les requêtes sortantes." + +#. type: item +#: doc/guix.texi:12068 +#, no-wrap +msgid "@code{sensor} (default: @code{'()})" +msgstr "@code{sensor} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:12073 +msgid "Specify a list of timedelta sensor devices ntpd should use. @code{ntpd} will listen to each sensor that acutally exists and ignore non-existant ones. See @uref{https://man.openbsd.org/ntpd.conf, upstream documentation} for more information." +msgstr "Spécifie une liste de senseurs de différences de temps que ntpd devrait utiliser. @code{ntpd} écoutera chaque senseur qui existe et ignorera ceux qui n'existent pas. Voir @uref{https://man.openbsd.org/ntpd.conf, la documentation en amont} pour plus d'informations." + +#. type: item +#: doc/guix.texi:12073 +#, no-wrap +msgid "@code{server} (default: @var{%ntp-servers})" +msgstr "@code{server} (par défaut : @var{%ntp-servers})" + +#. type: table +#: doc/guix.texi:12075 +msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to." +msgstr "Spécifie une liste d'adresses IP ou de noms d'hôtes de serveurs NTP avec lesquels se synchroniser." + +#. type: item +#: doc/guix.texi:12075 doc/guix.texi:18135 +#, no-wrap +msgid "@code{servers} (default: @code{'()})" +msgstr "@code{servers} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:12077 +msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to." +msgstr "Spécifie une liste d'adresses IP ou de noms d'hôtes de banques de serveurs NTP avec lesquelles se synchroniser." + +#. type: item +#: doc/guix.texi:12077 +#, no-wrap +msgid "@code{constraint-from} (default: @code{'()})" +msgstr "@code{constraint-from} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:12084 +msgid "@code{ntpd} can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint." +msgstr "@code{ntpd} peut être configuré pour demander la « Date » à des serveurs HTTPS de confiance via TLS. Cette information de temps n'est pas utilisée pour sa précision mais agit comme une contrainte authentifiée, ce qui réduit l'impact d'une attaque par l'homme du milieu sur le protocole NTP non authentifié. Spécifie une liste d'URL, d'adresses IP ou de noms d'hôtes de serveurs HTTPS qui fournissent cette contrainte." + +#. type: item +#: doc/guix.texi:12084 +#, no-wrap +msgid "@code{constraints-from} (default: @code{'()})" +msgstr "@code{constraints-from} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:12088 +msgid "As with constraint from, specify a list of URLs, IP addresses or hostnames of HTTPS servers to provide a constraint. Should the hostname resolve to multiple IP addresses, @code{ntpd} will calculate a median constraint from all of them." +msgstr "Comme pour @code{constraint-from}, spécifie une liste d'URL, d'adresses IP ou de noms d'hôtes de serveurs HTTPS qui fournissent une contrainte. Si les noms d'hôtes sont résolus en plusieurs adresses IP, @code{ntpd} calculera la contrainte médiane." + +#. type: table +#: doc/guix.texi:12091 msgid "Determines if @code{ntpd} is allowed to make an initial adjustment of more than 180 seconds." msgstr "Détermine si @code{ntpd} peut faire un ajustement initial de plus de 180 secondes." #. type: cindex -#: doc/guix.texi:11203 +#: doc/guix.texi:12094 #, no-wrap msgid "inetd" msgstr "inetd" #. type: deffn -#: doc/guix.texi:11204 +#: doc/guix.texi:12095 #, no-wrap msgid "{Scheme variable} inetd-service-type" msgstr "{Variable Scheme} inetd-service-type" #. type: deffn -#: doc/guix.texi:11209 +#: doc/guix.texi:12100 msgid "This service runs the @command{inetd} (@pxref{inetd invocation,,, inetutils, GNU Inetutils}) daemon. @command{inetd} listens for connections on internet sockets, and lazily starts the specified server program when a connection is made on one of these sockets." msgstr "Ce service lance le démon @command{inetd} (@pxref{inetd invocation,,, inetutils, GNU Inetutils}). @command{inetd} écoute des connexionssur des sockets internet et démarre le programme spécifié uniquement lorsqu'une connexion arrive sur l'un de ces sockets." #. type: deffn -#: doc/guix.texi:11215 +#: doc/guix.texi:12106 msgid "The value of this service is an @code{inetd-configuration} object. The following example configures the @command{inetd} daemon to provide the built-in @command{echo} service, as well as an smtp service which forwards smtp traffic over ssh to a server @code{smtp-server} behind a gateway @code{hostname}:" msgstr "La valeur de ce service est un objet @code{inetd-configuration}. L'exemple suivant configure le démon @command{inetd} pour qu'il fournisse le service @command{echo}, ainsi qu'in service smtp qui transfère le trafic smtp par ssh à un serveur @code{smtp-server} derrière une passerelle @code{hostname} :" #. type: example -#: doc/guix.texi:11238 +#: doc/guix.texi:12129 #, no-wrap msgid "" "(service\n" @@ -20264,170 +21856,231 @@ msgstr "" " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))\n" #. type: deffn -#: doc/guix.texi:11241 +#: doc/guix.texi:12132 msgid "See below for more details about @code{inetd-configuration}." msgstr "Voir plus bas pour plus de détails sur @code{inetd-configuration}." #. type: deftp -#: doc/guix.texi:11243 +#: doc/guix.texi:12134 #, no-wrap msgid "{Data Type} inetd-configuration" msgstr "{Type de données} inetd-configuration" #. type: deftp -#: doc/guix.texi:11245 +#: doc/guix.texi:12136 msgid "Data type representing the configuration of @command{inetd}." msgstr "Type de données représentant la configuration de @command{inetd}." #. type: item -#: doc/guix.texi:11247 +#: doc/guix.texi:12138 #, no-wrap msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})" msgstr "@code{program} (par défaut : @code{(file-append inetutils \"/libexec/inetd\")})" #. type: table -#: doc/guix.texi:11249 +#: doc/guix.texi:12140 msgid "The @command{inetd} executable to use." msgstr "L'exécutable @command{inetd} à utiliser." #. type: item -#: doc/guix.texi:11250 doc/guix.texi:16671 +#: doc/guix.texi:12141 doc/guix.texi:17841 #, no-wrap msgid "@code{entries} (default: @code{'()})" msgstr "@code{entries} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:11253 +#: doc/guix.texi:12144 msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor." msgstr "Une liste d'entrées de services @command{inetd}. Chaque entrée devrait être crée avec le constructeur @code{inetd-entry}." #. type: deftp -#: doc/guix.texi:11256 +#: doc/guix.texi:12147 #, no-wrap msgid "{Data Type} inetd-entry" msgstr "{Type de données} inetd-entry" #. type: deftp -#: doc/guix.texi:11260 +#: doc/guix.texi:12151 msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests." msgstr "Type de données représentant une entrée dans la configuration d'@command{inetd}. Chaque entrée correspond à un socket sur lequel @command{inetd} écoutera les requêtes." #. type: item -#: doc/guix.texi:11262 +#: doc/guix.texi:12153 #, no-wrap msgid "@code{node} (default: @code{#f})" msgstr "@code{node} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11267 +#: doc/guix.texi:12158 msgid "Optional string, a comma-separated list of local addresses @command{inetd} should use when listening for this service. @xref{Configuration file,,, inetutils, GNU Inetutils} for a complete description of all options." msgstr "Chaîne de caractères facultative, un liste d'adresses locales séparées par des virgules que @command{inetd} devrait utiliser pour écouter ce service. @xref{Configuration file,,, inetutils, GNU Inetutils} pour une description complète de toutes les options." #. type: table -#: doc/guix.texi:11269 +#: doc/guix.texi:12160 msgid "A string, the name must correspond to an entry in @code{/etc/services}." msgstr "Une chaîne de caractères dont le nom doit correspondre à une entrée de @code{/etc/services}." #. type: code{#1} -#: doc/guix.texi:11269 +#: doc/guix.texi:12160 #, no-wrap msgid "socket-type" msgstr "socket-type" #. type: table -#: doc/guix.texi:11272 +#: doc/guix.texi:12163 msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}." msgstr "Un symbole parmi @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} ou @code{'seqpacket}." #. type: code{#1} -#: doc/guix.texi:11272 +#: doc/guix.texi:12163 #, no-wrap msgid "protocol" msgstr "protocol" #. type: table -#: doc/guix.texi:11274 +#: doc/guix.texi:12165 msgid "A string, must correspond to an entry in @code{/etc/protocols}." msgstr "Une chaîne de caractères qui doit correspondre à une entrée dans @code{/etc/protocols}." #. type: item -#: doc/guix.texi:11274 +#: doc/guix.texi:12165 #, no-wrap msgid "@code{wait?} (default: @code{#t})" msgstr "@code{wait?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:11277 +#: doc/guix.texi:12168 msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests." msgstr "Indique si @command{inetd} devrait attendre que le serveur ait quitté avant d'écouter de nouvelles demandes de service." #. type: table -#: doc/guix.texi:11282 +#: doc/guix.texi:12173 msgid "A string containing the user (and, optionally, group) name of the user as whom the server should run. The group name can be specified in a suffix, separated by a colon or period, i.e. @code{\"user\"}, @code{\"user:group\"} or @code{\"user.group\"}." msgstr "Une chaîne de caractères contenant le nom d'utilisateur (et éventuellement de groupe) de l'utilisateur en tant que lequel le serveur devrait tourner. Le nom du groupe peut être spécifié comme un suffixe, séparé par un deux-points ou un point, c.-à-d.@: @code{\"utilisateur\"}, @code{\"utilisateur:groupe\"} ou @code{\"utilisateur.groupe\"}." #. type: item -#: doc/guix.texi:11282 +#: doc/guix.texi:12173 #, no-wrap msgid "@code{program} (default: @code{\"internal\"})" msgstr "@code{program} (par défaut : @code{\"internal\"})" #. type: table -#: doc/guix.texi:11285 +#: doc/guix.texi:12176 msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service." msgstr "Le programme du serveur qui servira les requêtes, ou @code{\"internal\"} si @command{inetd} devrait utiliser un service inclus." #. type: table -#: doc/guix.texi:11290 +#: doc/guix.texi:12181 msgid "A list strings or file-like objects, which are the server program's arguments, starting with the zeroth argument, i.e. the name of the program itself. For @command{inetd}'s internal services, this entry must be @code{'()} or @code{'(\"internal\")}." msgstr "Une liste de chaînes de caractères ou d'objets simili-fichiers qui sont les arguments du programme du serveur, en commençant par le zéroième argument, c.-à-d.@: le nom du programme lui-même. Pour les services internes à @command{inetd}, cette entrée doit être @code{'()} ou @code{'(\"internal\")}." #. type: deftp -#: doc/guix.texi:11294 +#: doc/guix.texi:12185 msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field." msgstr "@xref{Configuration file,,, inetutils, GNU Inetutils} pour trouver une discussion plus détaillée de chaque champ de configuration." #. type: cindex -#: doc/guix.texi:11296 +#: doc/guix.texi:12187 #, no-wrap msgid "Tor" msgstr "Tor" +#. type: defvr +#: doc/guix.texi:12188 +#, no-wrap +msgid "{Scheme Variable} tor-service-type" +msgstr "{Variable Scheme} tor-service-type" + +#. type: defvr +#: doc/guix.texi:12193 +msgid "This is the type for a service that runs the @uref{https://torproject.org, Tor} anonymous networking daemon. The service is configured using a @code{} record. By default, the Tor daemon runs as the @code{tor} unprivileged user, which is a member of the @code{tor} group." +msgstr "C'est le type pour un service qui lance le démon de navigation anonyme @uref{https://torproject.org, Tor}. Le service est configuré avec un enregistrement @code{}. Par défaut, le démon Tor est lancé en tant qu'utilisateur non privilégié @code{tor}, membre du groupe @code{tor}." + #. type: deffn -#: doc/guix.texi:11297 +#: doc/guix.texi:12196 #, no-wrap msgid "{Scheme Procedure} tor-service [@var{config-file}] [#:tor @var{tor}]" msgstr "{Procédure Scheme} tor-service [@var{config-file}] [#:tor @var{tor}]" #. type: deffn -#: doc/guix.texi:11300 -msgid "Return a service to run the @uref{https://torproject.org, Tor} anonymous networking daemon." -msgstr "Renvoie un service qui lance le démon de réseau anonyme @uref{https://torproject.org, Tor}." +#: doc/guix.texi:12200 +msgid "This procedure is deprecated and will be removed in a future release. Return a service of the @code{tor-service-type} type. @var{config-file} and @var{tor} have the same meaning as in @code{}." +msgstr "Cette procédure est obsolète et sera supprimée dans les futures versions. Renvoie un service de type @code{tor-service-type}. @var{config-file} et @var{tor} ont la même signification que dans @code{}." -#. type: deffn -#: doc/guix.texi:11305 -msgid "The daemon runs as the @code{tor} unprivileged user. It is passed @var{config-file}, a file-like object, with an additional @code{User tor} line and lines for hidden services added via @code{tor-hidden-service}. Run @command{man tor} for information about the configuration file." -msgstr "Le démon est lancé avec l'identité de l'utilisateur non privilégié @code{tor}. Il lit @var{config-file}, un objet simili-fichier, avec une ligne @code{User tor} supplémentaire et des lignes pour les services cachés ajoutées par des @code{tor-hidden-service}. Lncez @command{man tor} pour obtenir des informations sur le fichier de configuration." +#. type: deftp +#: doc/guix.texi:12202 +#, no-wrap +msgid "{Data Type} tor-configuration" +msgstr "{Type de données} tor-configuration" + +#. type: item +#: doc/guix.texi:12204 +#, no-wrap +msgid "@code{tor} (default: @code{tor})" +msgstr "@code{tor} (par défaut : @code{tor})" + +#. type: table +#: doc/guix.texi:12209 +msgid "The package that provides the Tor daemon. This package is expected to provide the daemon at @file{bin/tor} relative to its output directory. The default package is the @uref{https://www.torproject.org, Tor Project's} implementation." +msgstr "Le paquet qui fournit le démon Tor. Ce paquet doit fournir le démon @file{bin/tor} relativement à son répertoire de sortie. Le paquet par défaut est le l'implémentation du @uref{https://www.torproject.org, projet Tor}." + +#. type: item +#: doc/guix.texi:12210 +#, no-wrap +msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})" +msgstr "@code{config-file} (par défaut : @code{(plain-file \"empty\" \"\")})" + +#. type: table +#: doc/guix.texi:12216 +msgid "The configuration file to use. It will be appended to a default configuration file, and the final configuration file will be passed to @code{tor} via its @code{-f} option. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects}). See @code{man tor} for details on the configuration file syntax." +msgstr "Le fichier de configuration à utiliser. Il sera ajouté au fichier de configuration par défaut, et le fichier de configuration final sera passé à @code{tor} via son option @code{-f}. Cela peut être n'importe quel objet « simili-fichier » (@pxref{G-Expressions, file-like objects}). Voir @code{man tor} pour plus de détails sur la syntaxe du fichier de configuration." + +#. type: item +#: doc/guix.texi:12217 +#, no-wrap +msgid "@code{hidden-services} (default: @code{'()})" +msgstr "@code{hidden-services} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:12223 +msgid "The list of @code{} records to use. For any hidden service you include in this list, appropriate configuration to enable the hidden service will be automatically added to the default configuration file. You may conveniently create @code{} records using the @code{tor-hidden-service} procedure described below." +msgstr "La liste des enregistrements @code{} à utiliser. Pour n'importe quel service cache que vous ajoutez à cette liste, la configuration appropriée pour activer le service caché sera automatiquement ajouté au fichier de configuration par défaut. Vous pouvez aussi créer des enregistrements @code{} avec la procédure @code{tor-hidden-service} décrite plus bas." + +#. type: item +#: doc/guix.texi:12224 +#, no-wrap +msgid "@code{socks-socket-type} (default: @code{'tcp})" +msgstr "@code{socks-socket-type} (par défaut : @code{'tcp})" + +#. type: table +#: doc/guix.texi:12231 +msgid "The default socket type that Tor should use for its SOCKS socket. This must be either @code{'tcp} or @code{'unix}. If it is @code{'tcp}, then by default Tor will listen on TCP port 9050 on the loopback interface (i.e., localhost). If it is @code{'unix}, then Tor will listen on the UNIX domain socket @file{/var/run/tor/socks-sock}, which will be made writable by members of the @code{tor} group." +msgstr "Le type de socket par défaut que Tor devrait utiliser pour les socket SOCKS. Cela doit être soit @code{'tcp} soit @code{'unix}. S'il s'agit de @code{'tcp}, alors Tor écoutera pas défaut sur le port TCP 9050 sur l'interface de boucle locale (c.-à-d.@: localhost). S'il s'agit de @code{'unix}, Tor écoutera sur le socket UNIX domain @file{/var/run/tor/socks-sock}, qui sera inscriptible pour les membres du groupe @code{tor}." + +#. type: table +#: doc/guix.texi:12236 +msgid "If you want to customize the SOCKS socket in more detail, leave @code{socks-socket-type} at its default value of @code{'tcp} and use @code{config-file} to override the default by providing your own @code{SocksPort} option." +msgstr "Si vous voulez personnaliser le socket SOCKS plus avant, laissez @code{socks-socket-type} à sa valeur par défaut de @code{'tcp} et utilisez @code{config-file} pour remplacer les valeurs par défaut avec votre propre option @code{SocksPort}." #. type: cindex -#: doc/guix.texi:11307 +#: doc/guix.texi:12239 #, no-wrap msgid "hidden service" msgstr "service caché" #. type: deffn -#: doc/guix.texi:11308 +#: doc/guix.texi:12240 #, no-wrap msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}" msgstr "{Procédure Scheme} tor-hidden-service @var{name} @var{mapping}" #. type: deffn -#: doc/guix.texi:11311 +#: doc/guix.texi:12243 msgid "Define a new Tor @dfn{hidden service} called @var{name} and implementing @var{mapping}. @var{mapping} is a list of port/host tuples, such as:" msgstr "Définie un @dfn{service caché} pour Tor nommé @var{name} qui implémente @var{mapping}. @var{mapping} est une liste de paires de port et d'hôte, comme dans :" #. type: example -#: doc/guix.texi:11315 +#: doc/guix.texi:12247 #, no-wrap msgid "" " '((22 \"127.0.0.1:22\")\n" @@ -20437,242 +22090,242 @@ msgstr "" " (80 \"127.0.0.1:8080\"))\n" #. type: deffn -#: doc/guix.texi:11319 +#: doc/guix.texi:12251 msgid "In this example, port 22 of the hidden service is mapped to local port 22, and port 80 is mapped to local port 8080." msgstr "Dans cet exemple, le port 22 du service caché est relié au port local 22 et le port 80 est relié au port local 8080." #. type: deffn -#: doc/guix.texi:11323 +#: doc/guix.texi:12255 msgid "This creates a @file{/var/lib/tor/hidden-services/@var{name}} directory, where the @file{hostname} file contains the @code{.onion} host name for the hidden service." msgstr "Cela crée un répertoire @file{/var/lib/tor/hidden-services/@var{name}} où le fichier @file{hostname} contient le nom d'hôte @code{.onion} pour le service caché." #. type: deffn -#: doc/guix.texi:11326 +#: doc/guix.texi:12258 msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information." msgstr "Voir @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} pour trouver plus d'information." #. type: Plain text -#: doc/guix.texi:11329 +#: doc/guix.texi:12261 msgid "The @code{(gnu services rsync)} module provides the following services:" msgstr "Le module @code{(gnu services rsync)} fournit les services suivant :" #. type: Plain text -#: doc/guix.texi:11333 +#: doc/guix.texi:12265 msgid "You might want an rsync daemon if you have files that you want available so anyone (or just yourself) can download existing files or upload new files." msgstr "Vous pourriez vouloir un démon rsync si vous voulez que des fichiers soient disponibles pour que n'importe qui (ou juste vous) puisse télécharger des fichiers existants ou en téléverser des nouveaux." #. type: deffn -#: doc/guix.texi:11334 +#: doc/guix.texi:12266 #, no-wrap msgid "{Scheme Variable} rsync-service-type" msgstr "{Variable Scheme} rsync-service-type" #. type: deffn -#: doc/guix.texi:11337 +#: doc/guix.texi:12269 msgid "This is the type for the @uref{https://rsync.samba.org, rsync} rsync daemon, @command{rsync-configuration} record as in this example:" msgstr "C'est le type pour le démon @uref{https://rsync.samba.org, rsync}, qui prend un enregistrement @command{rsync-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:11340 +#: doc/guix.texi:12272 #, no-wrap msgid "(service rsync-service-type)\n" msgstr "(service rsync-service-type)\n" #. type: deffn -#: doc/guix.texi:11343 +#: doc/guix.texi:12275 msgid "See below for details about @code{rsync-configuration}." msgstr "Voir plus pas pour trouver des détails à propos de @code{rsync-configuration}." #. type: deftp -#: doc/guix.texi:11345 +#: doc/guix.texi:12277 #, no-wrap msgid "{Data Type} rsync-configuration" msgstr "{Type de données} rsync-configuration" #. type: deftp -#: doc/guix.texi:11347 +#: doc/guix.texi:12279 msgid "Data type representing the configuration for @code{rsync-service}." msgstr "Type de données représentant la configuration de @code{rsync-service}." #. type: item -#: doc/guix.texi:11349 +#: doc/guix.texi:12281 #, no-wrap msgid "@code{package} (default: @var{rsync})" msgstr "@code{package} (par défaut : @var{rsync})" #. type: table -#: doc/guix.texi:11351 +#: doc/guix.texi:12283 msgid "@code{rsync} package to use." msgstr "Le paquet @code{rsync} à utiliser." #. type: item -#: doc/guix.texi:11352 +#: doc/guix.texi:12284 #, no-wrap msgid "@code{port-number} (default: @code{873})" msgstr "@code{port-number} (par défaut : @code{873})" #. type: table -#: doc/guix.texi:11356 +#: doc/guix.texi:12288 msgid "TCP port on which @command{rsync} listens for incoming connections. If port is less than @code{1024} @command{rsync} needs to be started as the @code{root} user and group." msgstr "Le port TCP sur lequel @command{rsync} écoute les connexions entrantes. Si le port est inférieur à @code{1024}, @command{rsync} doit être démarré en tant qu'utilisateur et groupe @code{root}." #. type: item -#: doc/guix.texi:11357 +#: doc/guix.texi:12289 #, no-wrap msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})" msgstr "@code{pid-file} (par défaut : @code{\"/var/run/rsyncd/rsyncd.pid\"})" #. type: table -#: doc/guix.texi:11359 +#: doc/guix.texi:12291 msgid "Name of the file where @command{rsync} writes its PID." msgstr "Nom du fichier où @command{rsync} écrit son PID." #. type: item -#: doc/guix.texi:11360 +#: doc/guix.texi:12292 #, no-wrap msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})" msgstr "@code{lock-file} (par défaut : @code{\"/var/run/rsyncd/rsyncd.lock\"})" #. type: table -#: doc/guix.texi:11362 +#: doc/guix.texi:12294 msgid "Name of the file where @command{rsync} writes its lock file." msgstr "Nom du fichier où @command{rsync} écrit son fichier de verrouillage." #. type: item -#: doc/guix.texi:11363 +#: doc/guix.texi:12295 #, no-wrap msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})" msgstr "@code{log-file} (par défaut : @code{\"/var/log/rsyncd.log\"})" #. type: table -#: doc/guix.texi:11365 +#: doc/guix.texi:12297 msgid "Name of the file where @command{rsync} writes its log file." msgstr "Nom du fichier où @command{rsync} écrit son fichier de journal." #. type: item -#: doc/guix.texi:11366 +#: doc/guix.texi:12298 #, no-wrap msgid "@code{use-chroot?} (default: @var{#t})" msgstr "@code{use-chroot?} (par défaut : @var{#t})" #. type: table -#: doc/guix.texi:11368 +#: doc/guix.texi:12300 msgid "Whether to use chroot for @command{rsync} shared directory." msgstr "S'il faut utiliser un chroot pour le répertoire partagé de @command{rsync}." #. type: item -#: doc/guix.texi:11369 +#: doc/guix.texi:12301 #, no-wrap msgid "@code{share-path} (default: @file{/srv/rsync})" msgstr "@code{share-path} (par défaut : @file{/srv/rsync})" #. type: table -#: doc/guix.texi:11371 +#: doc/guix.texi:12303 msgid "Location of the @command{rsync} shared directory." msgstr "Emplacement du répertoire partagé de @command{rsync}." #. type: item -#: doc/guix.texi:11372 +#: doc/guix.texi:12304 #, no-wrap msgid "@code{share-comment} (default: @code{\"Rsync share\"})" msgstr "@code{share-comment} (par défaut : @code{\"Rsync share\"})" #. type: table -#: doc/guix.texi:11374 +#: doc/guix.texi:12306 msgid "Comment of the @command{rsync} shared directory." msgstr "Commentaire du répertoire partagé de @command{rsync}." #. type: item -#: doc/guix.texi:11375 +#: doc/guix.texi:12307 #, no-wrap msgid "@code{read-only?} (default: @var{#f})" msgstr "@code{read-only?} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:11377 +#: doc/guix.texi:12309 msgid "Read-write permissions to shared directory." msgstr "Permission en écriture sur le répertoire partagé." #. type: item -#: doc/guix.texi:11378 +#: doc/guix.texi:12310 #, no-wrap msgid "@code{timeout} (default: @code{300})" msgstr "@code{timeout} (par défaut : @code{300})" #. type: table -#: doc/guix.texi:11380 +#: doc/guix.texi:12312 msgid "I/O timeout in seconds." msgstr "Délai d'attente d'entrée-sortie en secondes." #. type: item -#: doc/guix.texi:11381 +#: doc/guix.texi:12313 #, no-wrap msgid "@code{user} (default: @var{\"root\"})" msgstr "@code{user} (par défaut : @var{\"root\"})" #. type: table -#: doc/guix.texi:11383 +#: doc/guix.texi:12315 msgid "Owner of the @code{rsync} process." msgstr "Propriétaire du processus @code{rsync}." #. type: item -#: doc/guix.texi:11384 +#: doc/guix.texi:12316 #, no-wrap msgid "@code{group} (default: @var{\"root\"})" msgstr "@code{group} (par défaut : @var{\"root\"})" #. type: table -#: doc/guix.texi:11386 +#: doc/guix.texi:12318 msgid "Group of the @code{rsync} process." msgstr "Groupe du processus @code{rsync}." #. type: item -#: doc/guix.texi:11387 +#: doc/guix.texi:12319 #, no-wrap msgid "@code{uid} (default: @var{\"rsyncd\"})" msgstr "@code{uid} (par défaut : @var{\"rsyncd\"})" #. type: table -#: doc/guix.texi:11390 +#: doc/guix.texi:12322 msgid "User name or user ID that file transfers to and from that module should take place as when the daemon was run as @code{root}." msgstr "Nom d'utilisateur ou ID utilisateur en tant que lequel les transferts de fichiers ont lieu si le démon a été lancé en @code{root}." #. type: item -#: doc/guix.texi:11391 +#: doc/guix.texi:12323 #, no-wrap msgid "@code{gid} (default: @var{\"rsyncd\"})" msgstr "@code{gid} (par défaut : @var{\"rsyncd\"})" #. type: table -#: doc/guix.texi:11393 +#: doc/guix.texi:12325 msgid "Group name or group ID that will be used when accessing the module." msgstr "Nom du groupe ou ID du groupe qui sera utilisé lors de l'accès au module." #. type: Plain text -#: doc/guix.texi:11398 +#: doc/guix.texi:12330 msgid "Furthermore, @code{(gnu services ssh)} provides the following services." msgstr "En plus, @code{(gnu services ssh)} fournit les services suivant." #. type: cindex -#: doc/guix.texi:11398 doc/guix.texi:11437 doc/guix.texi:21275 +#: doc/guix.texi:12330 doc/guix.texi:12369 doc/guix.texi:22733 #, no-wrap msgid "SSH" msgstr "SSH" #. type: cindex -#: doc/guix.texi:11399 doc/guix.texi:11438 doc/guix.texi:21276 +#: doc/guix.texi:12331 doc/guix.texi:12370 doc/guix.texi:22734 #, no-wrap msgid "SSH server" msgstr "serveur SSH" #. type: deffn -#: doc/guix.texi:11401 +#: doc/guix.texi:12333 #, no-wrap msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @" msgstr "{Procédure Scheme} lsh-service [#:host-key \"/etc/lsh/host-key\"] @" #. type: deffn -#: doc/guix.texi:11410 +#: doc/guix.texi:12342 msgid "[#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @ [#:allow-empty-passwords? #f] [#:root-login? #f] @ [#:syslog-output? #t] [#:x11-forwarding? #t] @ [#:tcp/ip-forwarding? #t] [#:password-authentication? #t] @ [#:public-key-authentication? #t] [#:initialize? #t] Run the @command{lshd} program from @var{lsh} to listen on port @var{port-number}. @var{host-key} must designate a file containing the host key, and readable only by root." msgstr "" "[#:daemonic? #t] [#:interfaces '()] [#:port-number 22] @\n" @@ -20683,48 +22336,48 @@ msgstr "" "Lance le programme @command{lshd} de @var{lsh} pour écouter sur le port @var{port-number}. @var{host-key} doit désigner un fichier contenant la clef d'hôte et ne doit être lisible que par root." #. type: deffn -#: doc/guix.texi:11416 +#: doc/guix.texi:12348 msgid "When @var{daemonic?} is true, @command{lshd} will detach from the controlling terminal and log its output to syslogd, unless one sets @var{syslog-output?} to false. Obviously, it also makes lsh-service depend on existence of syslogd service. When @var{pid-file?} is true, @command{lshd} writes its PID to the file called @var{pid-file}." msgstr "Lorsque @var{daemonic?} est vrai, @command{lshd} se détachera du terminal qui le contrôle et enregistrera ses journaux avec syslogd, à moins que @var{syslog-output?} ne soit faux. Évidemment, cela rend aussi lsh-service dépendant de l'existence d'un service syslogd. Lorsque @var{pid-file?} est vrai, @command{lshd} écrit son PID dans le fichier @var{pid-file}." #. type: deffn -#: doc/guix.texi:11420 +#: doc/guix.texi:12352 msgid "When @var{initialize?} is true, automatically create the seed and host key upon service activation if they do not exist yet. This may take long and require interaction." msgstr "Lorsque @var{initialize?} est vrai, la graine et la clef d'hôte seront créés lors de l'activation du service s'ils n'existent pas encore. Cela peut prendre du temps et demande une interaction." #. type: deffn -#: doc/guix.texi:11425 +#: doc/guix.texi:12357 msgid "When @var{initialize?} is false, it is up to the user to initialize the randomness generator (@pxref{lsh-make-seed,,, lsh, LSH Manual}), and to create a key pair with the private key stored in file @var{host-key} (@pxref{lshd basics,,, lsh, LSH Manual})." msgstr "Lorsque @var{initialize?} est faux, c'est à l'utilisateur d'initialiser le générateur d'aléatoire (@pxref{lsh-make-seed,,, lsh, LSH Manual}) et de crée une paire de clefs dont la clef privée sera stockée dans le fichier @var{host-key} (@pxref{lshd basics,,, lsh, LSH Manual})." #. type: deffn -#: doc/guix.texi:11429 +#: doc/guix.texi:12361 msgid "When @var{interfaces} is empty, lshd listens for connections on all the network interfaces; otherwise, @var{interfaces} must be a list of host names or addresses." msgstr "Lorsque @var{interfaces} est vide, lshd écoute les connexions sur toutes les interfaces réseau ; autrement, @var{interfaces} doit être une liste de noms d'hôtes et d'adresses." #. type: deffn -#: doc/guix.texi:11433 +#: doc/guix.texi:12365 msgid "@var{allow-empty-passwords?} specifies whether to accept log-ins with empty passwords, and @var{root-login?} specifies whether to accept log-ins as root." msgstr "@var{allow-empty-passwords?} spécifie si les connexions avec des mots de passes vides sont acceptés et @var{root-login?} spécifie si la connexion en root est acceptée." #. type: deffn -#: doc/guix.texi:11435 +#: doc/guix.texi:12367 msgid "The other options should be self-descriptive." msgstr "Les autres options devraient être évidentes." #. type: deffn -#: doc/guix.texi:11439 +#: doc/guix.texi:12371 #, no-wrap msgid "{Scheme Variable} openssh-service-type" msgstr "{Variable Scheme} openssh-service-type" #. type: deffn -#: doc/guix.texi:11443 +#: doc/guix.texi:12375 msgid "This is the type for the @uref{http://www.openssh.org, OpenSSH} secure shell daemon, @command{sshd}. Its value must be an @code{openssh-configuration} record as in this example:" msgstr "C'est le type pour le démon ssh @uref{http://www.openssh.org, OpenSSH}, @command{sshd}. Sa valeur doit être un enregistrement @code{openssh-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:11452 +#: doc/guix.texi:12384 #, no-wrap msgid "" "(service openssh-service-type\n" @@ -20744,17 +22397,17 @@ msgstr "" " (\"bob\" ,(local-file \"bob.pub\"))))))\n" #. type: deffn -#: doc/guix.texi:11455 +#: doc/guix.texi:12387 msgid "See below for details about @code{openssh-configuration}." msgstr "Voir plus bas pour trouver des détails sur @code{openssh-configuration}." #. type: deffn -#: doc/guix.texi:11458 +#: doc/guix.texi:12390 msgid "This service can be extended with extra authorized keys, as in this example:" msgstr "Ce service peut être étendu avec des clefs autorisées supplémentaires, comme dans cet exemple :" #. type: example -#: doc/guix.texi:11463 +#: doc/guix.texi:12395 #, no-wrap msgid "" "(service-extension openssh-service-type\n" @@ -20766,159 +22419,192 @@ msgstr "" " ,(local-file \"charlie.pub\")))))\n" #. type: deftp -#: doc/guix.texi:11466 +#: doc/guix.texi:12398 #, no-wrap msgid "{Data Type} openssh-configuration" msgstr "{Type de données} openssh-configuration" #. type: deftp -#: doc/guix.texi:11468 +#: doc/guix.texi:12400 msgid "This is the configuration record for OpenSSH's @command{sshd}." msgstr "C'est l'enregistrement de la configuration de la commande @command{sshd} d'OpenSSH." #. type: item -#: doc/guix.texi:11470 +#: doc/guix.texi:12402 #, no-wrap msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})" msgstr "@code{pid-file} (par défaut : @code{\"/var/run/sshd.pid\"})" #. type: table -#: doc/guix.texi:11472 +#: doc/guix.texi:12404 msgid "Name of the file where @command{sshd} writes its PID." msgstr "Nom du fichier où @command{sshd} écrit son PID." #. type: item -#: doc/guix.texi:11473 +#: doc/guix.texi:12405 #, no-wrap msgid "@code{port-number} (default: @code{22})" msgstr "@code{port-number} (par défaut : @code{22})" #. type: table -#: doc/guix.texi:11475 +#: doc/guix.texi:12407 msgid "TCP port on which @command{sshd} listens for incoming connections." msgstr "Port TCP sur lequel @command{sshd} écoute les connexions entrantes." #. type: item -#: doc/guix.texi:11476 +#: doc/guix.texi:12408 #, no-wrap msgid "@code{permit-root-login} (default: @code{#f})" msgstr "@code{permit-root-login} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11481 +#: doc/guix.texi:12413 msgid "This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If it's the symbol @code{'without-password}, then root logins are permitted but not with password-based authentication." msgstr "Ce champ détermine si et quand autoriser les connexions en root. Si la valeur est @code{#f}, les connexions en root sont désactivées ; si la valeur est @code{#t}, elles sont autorisées. S'il s'agit du symbole @code{'without-password}, alors les connexions root sont autorisées mais pas par une authentification par mot de passe." #. type: item -#: doc/guix.texi:11482 doc/guix.texi:11615 +#: doc/guix.texi:12414 doc/guix.texi:12562 #, no-wrap msgid "@code{allow-empty-passwords?} (default: @code{#f})" msgstr "@code{allow-empty-passwords?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11485 +#: doc/guix.texi:12417 msgid "When true, users with empty passwords may log in. When false, they may not." msgstr "Lorsque la valeur est vraie, les utilisateurs avec un mot de passe vide peuvent se connecter. Sinon, ils ne peuvent pas." #. type: item -#: doc/guix.texi:11486 doc/guix.texi:11618 +#: doc/guix.texi:12418 doc/guix.texi:12565 #, no-wrap msgid "@code{password-authentication?} (default: @code{#t})" msgstr "@code{password-authentication?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:11489 +#: doc/guix.texi:12421 msgid "When true, users may log in with their password. When false, they have other authentication methods." msgstr "Lorsque la valeur est vraie, les utilisateurs peuvent se connecter avec leur mot de passe. Sinon, ils doivent utiliser une autre méthode d'authentification." #. type: item -#: doc/guix.texi:11490 +#: doc/guix.texi:12422 #, no-wrap msgid "@code{public-key-authentication?} (default: @code{#t})" msgstr "@code{public-key-authentication?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:11493 +#: doc/guix.texi:12425 msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method." msgstr "Lorsque la valeur est vraie, les utilisateurs peuvent se connecter avec leur clef publique. Sinon, les utilisateurs doivent utiliser une autre méthode d'authentification." #. type: table -#: doc/guix.texi:11496 +#: doc/guix.texi:12428 msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2." msgstr "Les clefs publiques autorisées sont stockées dans @file{~/.ssh/authorized_keys}. Ce n'est utilisé que par le protocole version 2." #. type: item -#: doc/guix.texi:11497 +#: doc/guix.texi:12429 #, no-wrap msgid "@code{x11-forwarding?} (default: @code{#f})" msgstr "@code{x11-forwarding?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11501 +#: doc/guix.texi:12433 msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work." msgstr "Lorsque la valeur est vraie, le transfert de connexion du client graphique X11 est activé — en d'autre termes, les options @option{-X} et @option{-Y} de @command{ssh} fonctionneront." #. type: item -#: doc/guix.texi:11502 +#: doc/guix.texi:12434 +#, no-wrap +msgid "@code{allow-agent-forwarding?} (default: @code{#t})" +msgstr "@code{allow-agent-forwarding?} (par défaut : @code{#t})" + +#. type: table +#: doc/guix.texi:12436 +msgid "Whether to allow agent forwarding." +msgstr "Indique s'il faut autoriser la redirection d'agent." + +#. type: item +#: doc/guix.texi:12437 +#, no-wrap +msgid "@code{allow-tcp-forwarding?} (default: @code{#t})" +msgstr "@code{allow-tcp-forwarding?} (par défaut : @code{#t})" + +#. type: table +#: doc/guix.texi:12439 +msgid "Whether to allow TCP forwarding." +msgstr "Indique s'il faut autoriser la redirection TCP." + +#. type: item +#: doc/guix.texi:12440 +#, no-wrap +msgid "@code{gateway-ports?} (default: @code{#f})" +msgstr "@code{gateway-ports?} (par défaut : @code{#f})" + +#. type: table +#: doc/guix.texi:12442 +msgid "Whether to allow gateway ports." +msgstr "Indique s'il faut autoriser les ports de passerelle." + +#. type: item +#: doc/guix.texi:12443 #, no-wrap msgid "@code{challenge-response-authentication?} (default: @code{#f})" msgstr "@code{challenge-response-authentication?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11505 +#: doc/guix.texi:12446 msgid "Specifies whether challenge response authentication is allowed (e.g. via PAM)." msgstr "Spécifie si l'authentification par défi est autorisée (p.@: ex.@: via PAM)." #. type: item -#: doc/guix.texi:11506 +#: doc/guix.texi:12447 #, no-wrap msgid "@code{use-pam?} (default: @code{#t})" msgstr "@code{use-pam?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:11512 +#: doc/guix.texi:12453 msgid "Enables the Pluggable Authentication Module interface. If set to @code{#t}, this will enable PAM authentication using @code{challenge-response-authentication?} and @code{password-authentication?}, in addition to PAM account and session module processing for all authentication types." msgstr "Active l'interface avec le module d'authentification greffable, PAM. Si la valeur est @code{#t}, cela activera l'authentification PAM avec @code{challenge-response-authentication?} et @code{password-authentication?}, en plus des modules de compte et de session de PAM pour tous les types d'authentification." #. type: table -#: doc/guix.texi:11517 +#: doc/guix.texi:12458 msgid "Because PAM challenge response authentication usually serves an equivalent role to password authentication, you should disable either @code{challenge-response-authentication?} or @code{password-authentication?}." msgstr "Comme l'authentification par défi de PAM sert généralement un rôle équivalent à l'authentification par mot de passe, vous devriez désactiver soit @code{challenge-response-authentication?}, soit @code{password-authentication?}." #. type: item -#: doc/guix.texi:11518 +#: doc/guix.texi:12459 #, no-wrap msgid "@code{print-last-log?} (default: @code{#t})" msgstr "@code{print-last-log?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:11521 +#: doc/guix.texi:12462 msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively." msgstr "Spécifie si @command{sshd} devrait afficher la date et l'heure de dernière connexion des utilisateurs lorsqu'un utilisateur se connecte de manière interactive." #. type: item -#: doc/guix.texi:11522 +#: doc/guix.texi:12463 #, no-wrap msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})" msgstr "@code{subsystems} (par défaut : @code{'((\"sftp\" \"internal-sftp\"))})" #. type: table -#: doc/guix.texi:11524 +#: doc/guix.texi:12465 msgid "Configures external subsystems (e.g. file transfer daemon)." msgstr "Configure les sous-systèmes externes (p.@: ex.@: le démon de transfert de fichiers)." #. type: table -#: doc/guix.texi:11528 +#: doc/guix.texi:12469 msgid "This is a list of two-element lists, each of which containing the subsystem name and a command (with optional arguments) to execute upon subsystem request." msgstr "C'est une liste de paires, composées chacune du nom du sous-système et d'une commande (avec éventuellement des arguments) à exécuter à la demande du sous-système." #. type: table -#: doc/guix.texi:11531 +#: doc/guix.texi:12472 msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternately, one can specify the @command{sftp-server} command:" msgstr "La commande @command{internal-sftp} implémente un serveur SFTP dans le processus. Autrement, on peut spécifier la commande @command{sftp-server} :" #. type: example -#: doc/guix.texi:11536 +#: doc/guix.texi:12477 #, no-wrap msgid "" "(service openssh-service-type\n" @@ -20932,28 +22618,28 @@ msgstr "" " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n" #. type: item -#: doc/guix.texi:11538 +#: doc/guix.texi:12479 #, no-wrap msgid "@code{accepted-environment} (default: @code{'()})" msgstr "@code{accepted-environment} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:11540 +#: doc/guix.texi:12481 msgid "List of strings describing which environment variables may be exported." msgstr "Liste de chaînes de caractères qui décrivent les variables d'environnement qui peuvent être exportées." #. type: table -#: doc/guix.texi:11543 +#: doc/guix.texi:12484 msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}." msgstr "Chaque chaîne a sa propre ligne. Voir l'option @code{AcceptEnv} dans @code{man sshd_config}." #. type: table -#: doc/guix.texi:11548 +#: doc/guix.texi:12489 msgid "This example allows ssh-clients to export the @code{COLORTERM} variable. It is set by terminal emulators, which support colors. You can use it in your shell's ressource file to enable colors for the prompt and commands if this variable is set." msgstr "Cet exemple permet aux clients ssh d'exporter la variable @code{COLORTERM}. Elle est initialisée par les émulateurs de terminaux qui supportent les couleurs. Vous pouvez l'utiliser dans votre fichier de ressource de votre shell pour activer les couleurs sur la ligne de commande si cette variable est initialisée." #. type: example -#: doc/guix.texi:11553 +#: doc/guix.texi:12494 #, no-wrap msgid "" "(service openssh-service-type\n" @@ -20965,30 +22651,30 @@ msgstr "" " (accepted-environment '(\"COLORTERM\"))))\n" #. type: item -#: doc/guix.texi:11555 +#: doc/guix.texi:12496 #, no-wrap msgid "@code{authorized-keys} (default: @code{'()})" msgstr "@code{authorized-keys} (par défaut : @code{'()})" #. type: cindex -#: doc/guix.texi:11556 +#: doc/guix.texi:12497 #, no-wrap msgid "authorized keys, SSH" msgstr "clefs autorisées, SSH" #. type: cindex -#: doc/guix.texi:11557 +#: doc/guix.texi:12498 #, no-wrap msgid "SSH authorized keys" msgstr "SSH, clefs autorisées" #. type: table -#: doc/guix.texi:11561 +#: doc/guix.texi:12502 msgid "This is the list of authorized keys. Each element of the list is a user name followed by one or more file-like objects that represent SSH public keys. For example:" msgstr "C'est la liste des clefs autorisées. Chaque élément de la liste est un nom d'utilisateur suivit d'un ou plusieurs objets simili-fichiers qui représentent les clefs publiques SSH. Par exemple :" #. type: example -#: doc/guix.texi:11568 +#: doc/guix.texi:12509 #, no-wrap msgid "" "(openssh-configuration\n" @@ -21004,38 +22690,49 @@ msgstr "" " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n" #. type: table -#: doc/guix.texi:11573 +#: doc/guix.texi:12514 msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}." msgstr "enregistre les clefs publiques spécifiées pour les comptes @code{rekado}, @code{chris} et @code{root}." #. type: table -#: doc/guix.texi:11576 +#: doc/guix.texi:12517 msgid "Additional authorized keys can be specified @i{via} @code{service-extension}." msgstr "Des clefs autorisées supplémentaires peuvent être spécifiées via @code{service-extension}." #. type: table -#: doc/guix.texi:11579 +#: doc/guix.texi:12520 msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}." msgstr "Remarquez que cela n'interfère @emph{pas} avec l'utilisation de @file{~/.ssh/authorized_keys}." +#. type: item +#: doc/guix.texi:12521 +#, no-wrap +msgid "@code{log-level} (default: @code{'info})" +msgstr "@code{log-level} (par défaut : @code{'info})" + +#. type: table +#: doc/guix.texi:12525 +msgid "This is a symbol specifying the logging level: @code{quiet}, @code{fatal}, @code{error}, @code{info}, @code{verbose}, @code{debug}, etc. See the man page for @file{sshd_config} for the full list of level names." +msgstr "C'est le symbole qui spécifie le niveau de journalisation : @code{quiet}, @code{fatal}, @code{error}, @code{info}, @code{verbose}, @code{debug}, etc. Voir la page de manuel de @file{sshd_config} pour trouver la liste complète des noms de niveaux." + #. type: deffn -#: doc/guix.texi:11582 +#: doc/guix.texi:12529 #, no-wrap msgid "{Scheme Procedure} dropbear-service [@var{config}]" msgstr "{Procédure Scheme} dropbear-service [@var{config}]" #. type: deffn -#: doc/guix.texi:11586 +#: doc/guix.texi:12533 msgid "Run the @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,Dropbear SSH daemon} with the given @var{config}, a @code{} object." msgstr "Lance le @uref{https://matt.ucc.asn.au/dropbear/dropbear.html,démon SSH Dropbear} avec la configuration @var{config} donnée, un objet @code{}." #. type: deffn -#: doc/guix.texi:11589 +#: doc/guix.texi:12536 msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:" msgstr "Par exemple, pour spécifier un service Dropbear qui écoute sur le port 1234, ajoutez cet appel au champ @code{services} d evotre système d'exploitation :" #. type: example -#: doc/guix.texi:11593 +#: doc/guix.texi:12540 #, no-wrap msgid "" "(dropbear-service (dropbear-configuration\n" @@ -21045,99 +22742,99 @@ msgstr "" " (port-number 1234)))\n" #. type: deftp -#: doc/guix.texi:11596 +#: doc/guix.texi:12543 #, no-wrap msgid "{Data Type} dropbear-configuration" msgstr "{Type de données} dropbear-configuration" #. type: deftp -#: doc/guix.texi:11598 +#: doc/guix.texi:12545 msgid "This data type represents the configuration of a Dropbear SSH daemon." msgstr "Ce type de données représente la configuration d'un démon SSH Dropbear." #. type: item -#: doc/guix.texi:11600 +#: doc/guix.texi:12547 #, no-wrap msgid "@code{dropbear} (default: @var{dropbear})" msgstr "@code{dropbear} (par défaut : @var{dropbear})" #. type: table -#: doc/guix.texi:11602 +#: doc/guix.texi:12549 msgid "The Dropbear package to use." msgstr "Le paquet Dropbear à utiliser." #. type: item -#: doc/guix.texi:11603 +#: doc/guix.texi:12550 #, no-wrap msgid "@code{port-number} (default: 22)" msgstr "@code{port-number} (par défaut : 22)" #. type: table -#: doc/guix.texi:11605 +#: doc/guix.texi:12552 msgid "The TCP port where the daemon waits for incoming connections." msgstr "Le port TCP sur lequel le démon attend des connexions entrantes." #. type: item -#: doc/guix.texi:11606 +#: doc/guix.texi:12553 #, no-wrap msgid "@code{syslog-output?} (default: @code{#t})" msgstr "@code{syslog-output?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:11608 +#: doc/guix.texi:12555 msgid "Whether to enable syslog output." msgstr "Indique s'il faut activer la sortie vers syslog." #. type: item -#: doc/guix.texi:11609 +#: doc/guix.texi:12556 #, no-wrap msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})" msgstr "@code{pid-file} (par défaut : @code{\"/var/run/dropbear.pid\"})" #. type: table -#: doc/guix.texi:11611 +#: doc/guix.texi:12558 msgid "File name of the daemon's PID file." msgstr "Nom du fichier de PID du démon." #. type: item -#: doc/guix.texi:11612 +#: doc/guix.texi:12559 #, no-wrap msgid "@code{root-login?} (default: @code{#f})" msgstr "@code{root-login?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11614 +#: doc/guix.texi:12561 msgid "Whether to allow @code{root} logins." msgstr "Indique s'il faut autoriser les connexions en @code{root}." #. type: table -#: doc/guix.texi:11617 +#: doc/guix.texi:12564 msgid "Whether to allow empty passwords." msgstr "Indique s'il faut autoriser les mots de passes vides." #. type: table -#: doc/guix.texi:11620 +#: doc/guix.texi:12567 msgid "Whether to enable password-based authentication." msgstr "Indique s'il faut autoriser l'authentification par mot de passe." #. type: defvr -#: doc/guix.texi:11623 +#: doc/guix.texi:12570 #, no-wrap msgid "{Scheme Variable} %facebook-host-aliases" msgstr "{Variable Scheme} %facebook-host-aliases" #. type: defvr -#: doc/guix.texi:11629 +#: doc/guix.texi:12576 msgid "This variable contains a string for use in @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). Each line contains a entry that maps a known server name of the Facebook on-line service---e.g., @code{www.facebook.com}---to the local host---@code{127.0.0.1} or its IPv6 equivalent, @code{::1}." msgstr "Cette variable contient une chaîne de caractères à utiliser dans @file{/etc/hosts} (@pxref{Host Names,,, libc, The GNU C Library Reference Manual}). Chaque ligne contient une entrée qui fait correspondre les noms des serveurs connus du service en ligne Facebook — p.@: ex.@: @code{www.facebook.com} — à l'hôte local — @code{127.0.0.1} ou son équivalent en IPv6, @code{::1}." #. type: defvr -#: doc/guix.texi:11633 +#: doc/guix.texi:12580 msgid "This variable is typically used in the @code{hosts-file} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @file{/etc/hosts}}):" msgstr "Cette variable est typiquement utilisée dans le champ @code{hosts-file} d'une déclaration @code{operating-system} (@pxref{operating-system Reference, @file{/etc/hosts}}) :" #. type: example -#: doc/guix.texi:11636 +#: doc/guix.texi:12583 #, no-wrap msgid "" "(use-modules (gnu) (guix))\n" @@ -21147,7 +22844,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:11646 +#: doc/guix.texi:12593 #, no-wrap msgid "" "(operating-system\n" @@ -21171,23 +22868,23 @@ msgstr "" " %facebook-host-aliases))))\n" #. type: defvr -#: doc/guix.texi:11650 +#: doc/guix.texi:12597 msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook." msgstr "Ce mécanisme peut éviter que des programmes qui tournent localement, comme des navigateurs Web, ne se connectent à Facebook." #. type: Plain text -#: doc/guix.texi:11653 +#: doc/guix.texi:12600 msgid "The @code{(gnu services avahi)} provides the following definition." msgstr "Le module @code{(gnu services avahi)} fourni la définition suivante." #. type: deffn -#: doc/guix.texi:11654 +#: doc/guix.texi:12601 #, no-wrap msgid "{Scheme Procedure} avahi-service [#:avahi @var{avahi}] @" msgstr "{Procédure Scheme} avahi-service [#:avahi @var{avahi}] @" #. type: deffn -#: doc/guix.texi:11666 +#: doc/guix.texi:12613 msgid "[#:host-name #f] [#:publish? #t] [#:ipv4? #t] @ [#:ipv6? #t] [#:wide-area? #f] @ [#:domains-to-browse '()] [#:debug? #f] Return a service that runs @command{avahi-daemon}, a system-wide mDNS/DNS-SD responder that allows for service discovery and \"zero-configuration\" host name lookups (see @uref{http://avahi.org/}), and extends the name service cache daemon (nscd) so that it can resolve @code{.local} host names using @uref{http://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable." msgstr "" "[#:host-name #f] [#:publish? #t] [#:ipv4? #t] @\n" @@ -21196,611 +22893,611 @@ msgstr "" "Renvoie un service qui lance @command{avahi-daemon}, un serveur qui répond aux requêtes mDNS/DNS-SD qui permet de découvrir des services et de chercher des noms d'hôtes « sans configuration » (voir @uref{http://avahi.org/}) et qui étend le démon de cache de services de noms (nscd) pour qu'il puisse résoudre des noms en @code{.local} avec @uref{http://0pointer.de/lennart/projects/nss-mdns/, nss-mdns}. En plus, ajoute le paquet @var{avahi} au profil du système pour que les commandes comme @command{avahi-browse} soient directement utilisables." #. type: deffn -#: doc/guix.texi:11669 +#: doc/guix.texi:12616 msgid "If @var{host-name} is different from @code{#f}, use that as the host name to publish for this machine; otherwise, use the machine's actual host name." msgstr "Si @var{host-name} n'est pas @code{#f}, utilise cette valeur comme nom d'hôte à publier pour la machine ; sinon, utilise le vrai nom d'hôte de la machine." #. type: deffn -#: doc/guix.texi:11673 +#: doc/guix.texi:12620 msgid "When @var{publish?} is true, publishing of host names and services is allowed; in particular, avahi-daemon will publish the machine's host name and IP address via mDNS on the local network." msgstr "Lorsque la valeur de @var{publish?} est vraie, la publication des noms d'hôtes et des domaines sont autorisés ; en particulier, avahi-daemon publiera le nom d'hôte et l'adresse IP de la machine via mDNS sur le réseau local." #. type: deffn -#: doc/guix.texi:11675 +#: doc/guix.texi:12622 msgid "When @var{wide-area?} is true, DNS-SD over unicast DNS is enabled." msgstr "Lorsque la valeur de @var{wide-area?} est vraie, DNS-SD sur DNS unicast est activé." #. type: deffn -#: doc/guix.texi:11678 +#: doc/guix.texi:12625 msgid "Boolean values @var{ipv4?} and @var{ipv6?} determine whether to use IPv4/IPv6 sockets." msgstr "Les valeurs booléennes @var{ipv4?} et @var{ipv6?} déterminent s'il faut utiliser un socket IPv4 ou IPv6 respectivement." #. type: deffn -#: doc/guix.texi:11680 +#: doc/guix.texi:12627 #, no-wrap msgid "{Scheme Variable} openvswitch-service-type" msgstr "{Variable Scheme} openvswitch-service-type" #. type: deffn -#: doc/guix.texi:11684 +#: doc/guix.texi:12631 msgid "This is the type of the @uref{http://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object." msgstr "C'est le type du service @uref{http://www.openvswitch.org, Open vSwitch}, dont la valeur devrait être un objet @code{openvswitch-configuration}." #. type: deftp -#: doc/guix.texi:11686 +#: doc/guix.texi:12633 #, no-wrap msgid "{Data Type} openvswitch-configuration" msgstr "{Type de données} openvswitch-configuration" #. type: deftp -#: doc/guix.texi:11690 +#: doc/guix.texi:12637 msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension." msgstr "Type de données représentant la configuration de Open vSwitch, un commutateur virtuel multiniveaux conçu pour rendre possible l'automatisation massive des réseaux avec des extensions programmables." #. type: item -#: doc/guix.texi:11692 +#: doc/guix.texi:12639 #, no-wrap msgid "@code{package} (default: @var{openvswitch})" msgstr "@code{package} (par défaut : @var{openvswitch})" #. type: table -#: doc/guix.texi:11694 +#: doc/guix.texi:12641 msgid "Package object of the Open vSwitch." msgstr "Objet de paquet de Open vSwitch." #. type: cindex -#: doc/guix.texi:11701 +#: doc/guix.texi:12648 #, no-wrap msgid "X11" msgstr "X11" #. type: cindex -#: doc/guix.texi:11702 +#: doc/guix.texi:12649 #, no-wrap msgid "X Window System" msgstr "Système de fenêtrage X" #. type: cindex -#: doc/guix.texi:11703 doc/guix.texi:11880 +#: doc/guix.texi:12650 doc/guix.texi:12827 #, no-wrap msgid "login manager" msgstr "gestionnaire de connexion" #. type: Plain text -#: doc/guix.texi:11708 +#: doc/guix.texi:12655 msgid "Support for the X Window graphical display system---specifically Xorg---is provided by the @code{(gnu services xorg)} module. Note that there is no @code{xorg-service} procedure. Instead, the X server is started by the @dfn{login manager}, by default SLiM." msgstr "Le support pour le système d'affichage graphique X Window — en particulier Xorg — est fournit par le module @code{(gnu services xorg)}. Remarquez qu'il n'y a pas de procédure @code{xorg-service}. À la place, le serveur X est démarré par le @dfn{gestionnaire de connexion}, par défaut SLiM." #. type: cindex -#: doc/guix.texi:11709 +#: doc/guix.texi:12656 #, no-wrap msgid "window manager" msgstr "gestionnaire de fenêtre" #. type: Plain text -#: doc/guix.texi:11714 +#: doc/guix.texi:12661 msgid "To use X11, you must install at least one @dfn{window manager}---for example the @code{windowmaker} or @code{openbox} packages---preferably by adding it to the @code{packages} field of your operating system definition (@pxref{operating-system Reference, system-wide packages})." msgstr "Pour utiliser X11, vous devez installer au moins un @dfn{gestionnaire de fenêtre} — par exemple les paquets @code{windowmaker} ou @code{openbox} — de préférence en l'ajoutant au champ @code{packages} de votre définition de système d'exploitation (@pxref{operating-system Reference, system-wide packages})." #. type: defvr -#: doc/guix.texi:11715 +#: doc/guix.texi:12662 #, no-wrap msgid "{Scheme Variable} slim-service-type" msgstr "{Variable Scheme} slim-service-type" #. type: defvr -#: doc/guix.texi:11717 +#: doc/guix.texi:12664 msgid "This is the type for the SLiM graphical login manager for X11." msgstr "C'est de type pour le gestionnaire de connexion graphique SLiM pour X11." #. type: cindex -#: doc/guix.texi:11718 +#: doc/guix.texi:12665 #, no-wrap msgid "session types (X11)" msgstr "types de sessions (X11)" #. type: cindex -#: doc/guix.texi:11719 +#: doc/guix.texi:12666 #, no-wrap msgid "X11 session types" msgstr "X11, types de sessions" #. type: defvr -#: doc/guix.texi:11726 +#: doc/guix.texi:12673 msgid "SLiM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen using @kbd{F1}. Packages such as @code{xfce}, @code{sawfish}, and @code{ratpoison} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen." msgstr "SLiM cherche des @dfn{types de sessions} définies par les fichiers @file{.desktop} dans @file{/run/current-system/profile/share/xsessions} et permet aux utilisateurs de choisir une session depuis l'écran de connexion avec @kbd{F1}. Les paquets comme @code{xfce}, @code{sawfish} et @code{ratpoison} fournissent des fichiers @file{.desktop} ; les ajouter à l'ensemble des paquets du système les rendra automatiquement disponibles sur l'écran de connexion." #. type: defvr -#: doc/guix.texi:11730 +#: doc/guix.texi:12677 msgid "In addition, @file{~/.xsession} files are honored. When available, @file{~/.xsession} must be an executable that starts a window manager and/or other X clients." msgstr "En plus, les fichiers @file{~/.xsession} sont honorées. Lorsqu'il est disponible, @file{~/.xsession} doit être un fichier exécutable qui démarre un gestionnaire de fenêtre au un autre client X." #. type: deftp -#: doc/guix.texi:11732 +#: doc/guix.texi:12679 #, no-wrap msgid "{Data Type} slim-configuration" msgstr "{Type de données} slim-configuration" #. type: deftp -#: doc/guix.texi:11734 +#: doc/guix.texi:12681 msgid "Data type representing the configuration of @code{slim-service-type}." msgstr "Type de données représentant la configuration de @code{slim-service-type}." #. type: table -#: doc/guix.texi:11738 +#: doc/guix.texi:12685 msgid "Whether to allow logins with empty passwords." msgstr "S'il faut autoriser les connexions avec un mot de passe vide." #. type: item -#: doc/guix.texi:11739 +#: doc/guix.texi:12686 #, no-wrap msgid "@code{auto-login?} (default: @code{#f})" msgstr "@code{auto-login?} (par défaut : @code{#f})" #. type: itemx -#: doc/guix.texi:11740 +#: doc/guix.texi:12687 #, no-wrap msgid "@code{default-user} (default: @code{\"\"})" msgstr "@code{default-user} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:11742 +#: doc/guix.texi:12689 msgid "When @code{auto-login?} is false, SLiM presents a log-in screen." msgstr "Lorsque @code{auto-login?} est faux, SLiM présent un écran de connexion." #. type: table -#: doc/guix.texi:11745 +#: doc/guix.texi:12692 msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}." msgstr "Lorsque @code{auto-login?} est vrai, SLiM se connecte directement en tant que @code{default-user}." #. type: item -#: doc/guix.texi:11746 +#: doc/guix.texi:12693 #, no-wrap msgid "@code{theme} (default: @code{%default-slim-theme})" msgstr "@code{theme} (par défaut : @code{%default-slim-theme})" #. type: itemx -#: doc/guix.texi:11747 +#: doc/guix.texi:12694 #, no-wrap msgid "@code{theme-name} (default: @code{%default-slim-theme-name})" msgstr "@code{theme-name} (par défaut : @code{%default-slim-theme-name})" #. type: table -#: doc/guix.texi:11749 +#: doc/guix.texi:12696 msgid "The graphical theme to use and its name." msgstr "Le thème graphique à utiliser et son nom." #. type: item -#: doc/guix.texi:11750 +#: doc/guix.texi:12697 #, no-wrap msgid "@code{auto-login-session} (default: @code{#f})" msgstr "@code{auto-login-session} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:11753 +#: doc/guix.texi:12700 msgid "If true, this must be the name of the executable to start as the default session---e.g., @code{(file-append windowmaker \"/bin/windowmaker\")}." msgstr "Si la valeur est vraie, elle doit être le nom d'un exécutable à démarrer comme session par défaut — p.@: ex.@: @code{(file-append windowmaker \"/bin/windowmaker\")}." #. type: table -#: doc/guix.texi:11757 +#: doc/guix.texi:12704 msgid "If false, a session described by one of the available @file{.desktop} files in @code{/run/current-system/profile} and @code{~/.guix-profile} will be used." msgstr "Si la valeur est fausse, une session décrite par l'un des fichiers @file{.desktop} disponibles dans @code{/run/current-system/profile} et @code{~/.guix-profile} sera utilisée." #. type: quotation -#: doc/guix.texi:11762 +#: doc/guix.texi:12709 msgid "You must install at least one window manager in the system profile or in your user profile. Failing to do that, if @code{auto-login-session} is false, you will be unable to log in." msgstr "Vous devez installer au moins un gestionnaire de fenêtres dans le profil du système ou dans votre profil utilisateur. Sinon, si @code{auto-login-session} est faux, vous ne serez jamais capable de vous connecter." #. type: item -#: doc/guix.texi:11764 +#: doc/guix.texi:12711 #, no-wrap msgid "@code{startx} (default: @code{(xorg-start-command)})" msgstr "@code{startx} (par défaut : @code{(xorg-start-command)})" #. type: table -#: doc/guix.texi:11766 +#: doc/guix.texi:12713 msgid "The command used to start the X11 graphical server." msgstr "La commande utilisée pour démarrer le serveur graphique X11." #. type: item -#: doc/guix.texi:11767 +#: doc/guix.texi:12714 #, no-wrap msgid "@code{xauth} (default: @code{xauth})" msgstr "@code{xauth} (par défaut : @code{xauth})" #. type: table -#: doc/guix.texi:11769 +#: doc/guix.texi:12716 msgid "The XAuth package to use." msgstr "Le paquet XAuth à utiliser." #. type: item -#: doc/guix.texi:11770 +#: doc/guix.texi:12717 #, no-wrap msgid "@code{shepherd} (default: @code{shepherd})" msgstr "@code{shepherd} (par défaut : @code{shepherd})" #. type: table -#: doc/guix.texi:11773 +#: doc/guix.texi:12720 msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}." msgstr "Le paquet Shepherd à utiliser pour invoquer @command{halt} et @command{reboot}." #. type: item -#: doc/guix.texi:11774 +#: doc/guix.texi:12721 #, no-wrap msgid "@code{sessreg} (default: @code{sessreg})" msgstr "@code{sessreg} (par défaut : @code{sessreg})" #. type: table -#: doc/guix.texi:11776 +#: doc/guix.texi:12723 msgid "The sessreg package used in order to register the session." msgstr "Le paquet sessreg à utiliser pour enregistrer la session." #. type: item -#: doc/guix.texi:11777 +#: doc/guix.texi:12724 #, no-wrap msgid "@code{slim} (default: @code{slim})" msgstr "@code{slim} (par défaut : @code{slim})" #. type: table -#: doc/guix.texi:11779 +#: doc/guix.texi:12726 msgid "The SLiM package to use." msgstr "Le paquet SLiM à utiliser." #. type: defvr -#: doc/guix.texi:11782 doc/guix.texi:20772 +#: doc/guix.texi:12729 doc/guix.texi:22230 #, no-wrap msgid "{Scheme Variable} %default-theme" msgstr "{Variable Scheme} %default-theme" #. type: defvrx -#: doc/guix.texi:11783 +#: doc/guix.texi:12730 #, no-wrap msgid "{Scheme Variable} %default-theme-name" msgstr "{Variable Scheme} %default-theme-name" #. type: defvr -#: doc/guix.texi:11785 +#: doc/guix.texi:12732 msgid "The default SLiM theme and its name." msgstr "Le thème SLiM par défaut et son nom." #. type: deftp -#: doc/guix.texi:11788 +#: doc/guix.texi:12735 #, no-wrap msgid "{Data Type} sddm-configuration" msgstr "{Type de données} sddm-configuration" #. type: deftp -#: doc/guix.texi:11790 +#: doc/guix.texi:12737 msgid "This is the data type representing the sddm service configuration." msgstr "C'est le type de données représentant la configuration du service sddm." #. type: item -#: doc/guix.texi:11792 +#: doc/guix.texi:12739 #, no-wrap msgid "@code{display-server} (default: \"x11\")" msgstr "@code{display-server} (par défaut : \"x11\")" #. type: table -#: doc/guix.texi:11795 +#: doc/guix.texi:12742 msgid "Select display server to use for the greeter. Valid values are \"x11\" or \"wayland\"." msgstr "Choisit le serveur d'affichage à utiliser pour l'écran d'accueil. Les valeurs valides sont « x11 » et « wayland »." #. type: item -#: doc/guix.texi:11796 +#: doc/guix.texi:12743 #, no-wrap msgid "@code{numlock} (default: \"on\")" msgstr "@code{numlock} (par défaut : \"on\")" #. type: table -#: doc/guix.texi:11798 +#: doc/guix.texi:12745 msgid "Valid values are \"on\", \"off\" or \"none\"." msgstr "Les valeurs valides sont « on », « off » ou « none »." #. type: item -#: doc/guix.texi:11799 +#: doc/guix.texi:12746 #, no-wrap msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})" msgstr "@code{halt-command} (par défaut : @code{#~(string-apppend #$shepherd \"/sbin/halt\")})" #. type: table -#: doc/guix.texi:11801 +#: doc/guix.texi:12748 msgid "Command to run when halting." msgstr "La commande à lancer à l'arrêt du système." #. type: item -#: doc/guix.texi:11802 +#: doc/guix.texi:12749 #, no-wrap msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})" msgstr "@code{reboot-command} (par défaut : @code{#~(string-append #$shepherd \"/sbin/reboot\")})" #. type: table -#: doc/guix.texi:11804 +#: doc/guix.texi:12751 msgid "Command to run when rebooting." msgstr "La commande à lancer lors du redémarrage du système." #. type: item -#: doc/guix.texi:11805 +#: doc/guix.texi:12752 #, no-wrap msgid "@code{theme} (default \"maldives\")" msgstr "@code{theme} (par défaut : \"maldives\")" #. type: table -#: doc/guix.texi:11807 +#: doc/guix.texi:12754 msgid "Theme to use. Default themes provided by SDDM are \"elarun\" or \"maldives\"." msgstr "Le thème à utiliser. Les thèmes par défaut fournis par SDDM sont « elarun » et « maldives »." #. type: item -#: doc/guix.texi:11808 +#: doc/guix.texi:12755 #, no-wrap msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")" msgstr "@code{themes-directory} (par défaut : \"/run/current-system/profile/share/sddm/themes\")" #. type: table -#: doc/guix.texi:11810 +#: doc/guix.texi:12757 msgid "Directory to look for themes." msgstr "Le répertoire où se trouvent les thèmes." #. type: item -#: doc/guix.texi:11811 +#: doc/guix.texi:12758 #, no-wrap msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")" msgstr "@code{faces-directory} (par défaut : \"/run/current-system/profile/share/sddm/faces\")" #. type: table -#: doc/guix.texi:11813 +#: doc/guix.texi:12760 msgid "Directory to look for faces." msgstr "Répertoire où se trouvent les avatars." #. type: item -#: doc/guix.texi:11814 +#: doc/guix.texi:12761 #, no-wrap msgid "@code{default-path} (default \"/run/current-system/profile/bin\")" msgstr "@code{default-path} (par défaut : \"/run/current-system/profile/bin\")" #. type: table -#: doc/guix.texi:11816 +#: doc/guix.texi:12763 msgid "Default PATH to use." msgstr "Le PATH par défaut à utiliser." #. type: item -#: doc/guix.texi:11817 +#: doc/guix.texi:12764 #, no-wrap msgid "@code{minimum-uid} (default 1000)" msgstr "@code{minimum-uid} (par défaut : 1000)" #. type: table -#: doc/guix.texi:11819 +#: doc/guix.texi:12766 msgid "Minimum UID to display in SDDM." msgstr "UID minimum pour être affiché dans SDDM." #. type: item -#: doc/guix.texi:11820 +#: doc/guix.texi:12767 #, no-wrap msgid "@code{maximum-uid} (default 2000)" msgstr "@code{maximum-uid} (par défaut : 2000)" #. type: table -#: doc/guix.texi:11822 +#: doc/guix.texi:12769 msgid "Maximum UID to display in SDDM" msgstr "UID maximum pour être affiché dans SDDM." #. type: item -#: doc/guix.texi:11823 +#: doc/guix.texi:12770 #, no-wrap msgid "@code{remember-last-user?} (default #t)" msgstr "@code{remember-last-user?} (par défaut : #t)" #. type: table -#: doc/guix.texi:11825 +#: doc/guix.texi:12772 msgid "Remember last user." msgstr "S'il faut se rappeler le dernier utilisateur connecté." #. type: item -#: doc/guix.texi:11826 +#: doc/guix.texi:12773 #, no-wrap msgid "@code{remember-last-session?} (default #t)" msgstr "@code{remember-last-session?} (par défaut : #t)" #. type: table -#: doc/guix.texi:11828 +#: doc/guix.texi:12775 msgid "Remember last session." msgstr "S'il faut se rappeler la dernière session." #. type: item -#: doc/guix.texi:11829 +#: doc/guix.texi:12776 #, no-wrap msgid "@code{hide-users} (default \"\")" msgstr "@code{hide-users} (par défaut : \"\")" #. type: table -#: doc/guix.texi:11831 +#: doc/guix.texi:12778 msgid "Usernames to hide from SDDM greeter." msgstr "Les noms d'utilisateurs à cacher sur l'écran d'accueil de SDDM." #. type: item -#: doc/guix.texi:11832 +#: doc/guix.texi:12779 #, no-wrap msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})" msgstr "@code{hide-shells} (par défaut : @code{#~(string-append #$shadow \"/sbin/nologin\")})" #. type: table -#: doc/guix.texi:11834 +#: doc/guix.texi:12781 msgid "Users with shells listed will be hidden from the SDDM greeter." msgstr "Les utilisateurs avec les shells listés seront cachés sur l'écran d'accueil de SDDM." #. type: item -#: doc/guix.texi:11835 +#: doc/guix.texi:12782 #, no-wrap msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})" msgstr "@code{session-command} (par défaut : @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})" #. type: table -#: doc/guix.texi:11837 +#: doc/guix.texi:12784 msgid "Script to run before starting a wayland session." msgstr "Le script à lancer avant de démarrer une session wayland." #. type: item -#: doc/guix.texi:11838 +#: doc/guix.texi:12785 #, no-wrap msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")" msgstr "@code{sessions-directory} (par défaut : \"/run/current-system/profile/share/wayland-sessions\")" #. type: table -#: doc/guix.texi:11840 +#: doc/guix.texi:12787 msgid "Directory to look for desktop files starting wayland sessions." msgstr "Le répertoire où trouver les fichiers .desktop qui démarrent des sessions wayland." #. type: item -#: doc/guix.texi:11841 +#: doc/guix.texi:12788 #, no-wrap msgid "@code{xorg-server-path} (default @code{xorg-start-command})" msgstr "@code{xorg-server-path} (par défaut : @code{xorg-start-command})" #. type: table -#: doc/guix.texi:11843 +#: doc/guix.texi:12790 msgid "Path to xorg-server." msgstr "Chemin vers xorg-server." #. type: item -#: doc/guix.texi:11844 +#: doc/guix.texi:12791 #, no-wrap msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})" msgstr "@code{xauth-path} (par défaut : @code{#~(string-append #$xauth \"/bin/xauth\")})" #. type: table -#: doc/guix.texi:11846 +#: doc/guix.texi:12793 msgid "Path to xauth." msgstr "Chemin vers xauth." #. type: item -#: doc/guix.texi:11847 +#: doc/guix.texi:12794 #, no-wrap msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})" msgstr "@code{xephyr-path} (par défaut : @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})" #. type: table -#: doc/guix.texi:11849 +#: doc/guix.texi:12796 msgid "Path to Xephyr." msgstr "Chemin vers Xephyr." #. type: item -#: doc/guix.texi:11850 +#: doc/guix.texi:12797 #, no-wrap msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})" msgstr "@code{xdisplay-start} (par défaut : @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})" #. type: table -#: doc/guix.texi:11852 +#: doc/guix.texi:12799 msgid "Script to run after starting xorg-server." msgstr "Le script à lancer après avoir démarré xorg-server." #. type: item -#: doc/guix.texi:11853 +#: doc/guix.texi:12800 #, no-wrap msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})" msgstr "@code{xdisplay-stop} (par défaut : @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})" #. type: table -#: doc/guix.texi:11855 +#: doc/guix.texi:12802 msgid "Script to run before stopping xorg-server." msgstr "Le script à lancer avant d'arrêter xorg-server." #. type: item -#: doc/guix.texi:11856 +#: doc/guix.texi:12803 #, no-wrap msgid "@code{xsession-command} (default: @code{xinitrc})" msgstr "@code{xsession-command} (par défaut : @code{xinitrc})" #. type: table -#: doc/guix.texi:11858 +#: doc/guix.texi:12805 msgid "Script to run before starting a X session." msgstr "Le script à lancer avant de démarrer une session X." #. type: item -#: doc/guix.texi:11859 +#: doc/guix.texi:12806 #, no-wrap msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")" msgstr "@code{xsessions-directory} (par défaut : \"/run/current-system/profile/share/xsessions\")" #. type: table -#: doc/guix.texi:11861 +#: doc/guix.texi:12808 msgid "Directory to look for desktop files starting X sessions." msgstr "Répertoire où trouver les fichiers .desktop pour les sessions X." #. type: item -#: doc/guix.texi:11862 +#: doc/guix.texi:12809 #, no-wrap msgid "@code{minimum-vt} (default: 7)" msgstr "@code{minimum-vt} (par défaut : 7)" #. type: table -#: doc/guix.texi:11864 +#: doc/guix.texi:12811 msgid "Minimum VT to use." msgstr "VT minimal à utiliser." #. type: item -#: doc/guix.texi:11865 +#: doc/guix.texi:12812 #, no-wrap msgid "@code{xserver-arguments} (default \"-nolisten tcp\")" msgstr "@code{xserver-arguments} (par défaut : \"-nolisten tcp\")" #. type: table -#: doc/guix.texi:11867 +#: doc/guix.texi:12814 msgid "Arguments to pass to xorg-server." msgstr "Arguments à passer à xorg-server." #. type: item -#: doc/guix.texi:11868 +#: doc/guix.texi:12815 #, no-wrap msgid "@code{auto-login-user} (default \"\")" msgstr "@code{auto-login-user} (par défaut : \"\")" #. type: table -#: doc/guix.texi:11870 +#: doc/guix.texi:12817 msgid "User to use for auto-login." msgstr "Utilisateur à utiliser pour la connexion automatique." #. type: item -#: doc/guix.texi:11871 +#: doc/guix.texi:12818 #, no-wrap msgid "@code{auto-login-session} (default \"\")" msgstr "@code{auto-login-session} (par défaut : \"\")" #. type: table -#: doc/guix.texi:11873 +#: doc/guix.texi:12820 msgid "Desktop file to use for auto-login." msgstr "Le fichier desktop à utiliser pour la connexion automatique." #. type: item -#: doc/guix.texi:11874 +#: doc/guix.texi:12821 #, no-wrap msgid "@code{relogin?} (default #f)" msgstr "@code{relogin?} (par défaut : #f)" #. type: table -#: doc/guix.texi:11876 +#: doc/guix.texi:12823 msgid "Relogin after logout." msgstr "S'il faut se reconnecter après la déconnexion." #. type: cindex -#: doc/guix.texi:11881 +#: doc/guix.texi:12828 #, no-wrap msgid "X11 login" msgstr "connexion X11" #. type: deffn -#: doc/guix.texi:11882 +#: doc/guix.texi:12829 #, no-wrap msgid "{Scheme Procedure} sddm-service config" msgstr "{Procédure Scheme} sddm-service config" #. type: deffn -#: doc/guix.texi:11885 +#: doc/guix.texi:12832 msgid "Return a service that spawns the SDDM graphical login manager for config of type @code{}." msgstr "Renvoie un service qui démarre le gestionnaire de connexion graphique SDDM avec une configuration de type @code{}." #. type: example -#: doc/guix.texi:11890 +#: doc/guix.texi:12837 #, no-wrap msgid "" " (sddm-service (sddm-configuration\n" @@ -21812,13 +23509,13 @@ msgstr "" " (auto-login-session \"xfce.desktop\")))\n" #. type: deffn -#: doc/guix.texi:11893 +#: doc/guix.texi:12840 #, no-wrap msgid "{Scheme Procedure} xorg-start-command [#:guile] @" msgstr "{Procédure Scheme} xorg-start-command [#:guile] @" #. type: deffn -#: doc/guix.texi:11902 +#: doc/guix.texi:12849 msgid "[#:modules %default-xorg-modules] @ [#:fonts %default-xorg-fonts] @ [#:configuration-file (xorg-configuration-file @dots{})] @ [#:xorg-server @var{xorg-server}] Return a @code{startx} script in which @var{modules}, a list of X module packages, and @var{fonts}, a list of X font directories, are available. See @code{xorg-wrapper} for more details on the arguments. The result should be used in place of @code{startx}." msgstr "" "[#:modules %default-xorg-modules] @\n" @@ -21828,18 +23525,18 @@ msgstr "" "Renvoie un script @code{startx} dans lequel @var{modules}, une liste de paquets de modules X et @var{fonts}, une liste de répertoires de polices X, sont disponibles. Voir @code{xorg-wrapper} pour plus de détails sur les arguments. Le résultat devrait être utilisé à la place de @code{startx}." #. type: deffn -#: doc/guix.texi:11904 +#: doc/guix.texi:12851 msgid "Usually the X server is started by a login manager." msgstr "Habituellement le serveur X est démarré par un gestionnaire de connexion." #. type: deffn -#: doc/guix.texi:11906 +#: doc/guix.texi:12853 #, no-wrap msgid "{Scheme Procedure} xorg-configuration-file @" msgstr "{Procédure Scheme} xorg-configuration-file @" #. type: deffn -#: doc/guix.texi:11912 +#: doc/guix.texi:12859 msgid "[#:modules %default-xorg-modules] @ [#:fonts %default-xorg-fonts] @ [#:drivers '()] [#:resolutions '()] [#:extra-config '()] Return a configuration file for the Xorg server containing search paths for all the common drivers." msgstr "" "[#:modules %default-xorg-modules] @\n" @@ -21848,32 +23545,32 @@ msgstr "" "Renvoie un fichier de configuration pour le serveur Xorg qui contient des chemins de recherche pour tous les pilotes communs." #. type: deffn -#: doc/guix.texi:11917 +#: doc/guix.texi:12864 msgid "@var{modules} must be a list of @dfn{module packages} loaded by the Xorg server---e.g., @code{xf86-video-vesa}, @code{xf86-input-keyboard}, and so on. @var{fonts} must be a list of font directories to add to the server's @dfn{font path}." msgstr "@var{modules} doit être une liste de @dfn{paquets de modules} chargés par le serveur Xorg — p.@: ex.@: @code{xf86-video-vesa}, @code{xf86-input-keyboard} etc. @var{fonts} doit être une liste de répertoires de polices à ajouter au @dfn{chemin de polices} du serveur." #. type: deffn -#: doc/guix.texi:11921 +#: doc/guix.texi:12868 msgid "@var{drivers} must be either the empty list, in which case Xorg chooses a graphics driver automatically, or a list of driver names that will be tried in this order---e.g., @code{(\"modesetting\" \"vesa\")}." msgstr "@var{drivers} doit être soit la liste vide, auquel cas Xorg choisis un pilote graphique automatiquement, soit une liste de noms de pilotes qui seront essayés dans cet ordre — p.@: ex.@: @code{(\"modesetting\" \"vesa\")}." #. type: deffn -#: doc/guix.texi:11925 +#: doc/guix.texi:12872 msgid "Likewise, when @var{resolutions} is the empty list, Xorg chooses an appropriate screen resolution; otherwise, it must be a list of resolutions---e.g., @code{((1024 768) (640 480))}." msgstr "De même, lorsque @var{resolutions} est la liste vide, Xorg choisis une résolution d'écran appropriée ; autrement, ce doit être une liste de résolutions — p.@: ex.@: @code{((1024 768) (640 480))}." #. type: deffn -#: doc/guix.texi:11929 +#: doc/guix.texi:12876 msgid "Last, @var{extra-config} is a list of strings or objects appended to the configuration file. It is used to pass extra text to be added verbatim to the configuration file." msgstr "Enfin, @var{extra-config} est une liste de chaînes de caractères ou d'objets ajoutés au fichier de configuration. Elle est utilisée pour passer du texte supplémentaire à être ajouté directement au fichier de configuration." #. type: deffn -#: doc/guix.texi:11935 +#: doc/guix.texi:12882 msgid "This procedure is especially useful to configure a different keyboard layout than the default US keymap. For instance, to use the ``bépo'' keymap by default on the display manager:" msgstr "Cette procédure est particulièrement utile pour configurer une disposition de clavier différente de la disposition US par défaut. Par exemple, pour utiliser la disposition « bépo » par défaut sur le gestionnaire d'affichage :" #. type: example -#: doc/guix.texi:11945 +#: doc/guix.texi:12892 #, no-wrap msgid "" "(define bepo-evdev\n" @@ -21897,7 +23594,7 @@ msgstr "" "\n" #. type: example -#: doc/guix.texi:11958 +#: doc/guix.texi:12905 #, no-wrap msgid "" "(operating-system\n" @@ -21927,1608 +23624,1613 @@ msgstr "" " (list bepo-evdev)))))))))\n" #. type: deffn -#: doc/guix.texi:11967 +#: doc/guix.texi:12914 msgid "The @code{MatchIsKeyboard} line specifies that we only apply the configuration to keyboards. Without this line, other devices such as touchpad may not work correctly because they will be attached to the wrong driver. In this example, the user typically used @code{setxkbmap fr bepo} to set their favorite keymap once logged in. The first argument corresponds to the layout, while the second argument corresponds to the variant. The @code{xkb_variant} line can be omitted to select the default variant." msgstr "La ligne @code{MatchIsKeyboard} spécifie que nous n'appliquons la configuration qu'aux claviers. Sans cette ligne, d'autres périphériques comme les pavés tactiles ne fonctionneront pas correctement parce qu'ils seront associés au mauvais pilote. Dans cet exemple, l'utilisateur utiliserait typiquement @code{setxkbmap fr bepo} pour utiliser sa disposition de clavier préférée une fois connecté. Le premier argument correspond à la disposition, tandis que le second argument correspond à la variante. La ligne @code{xkb_variant} peut être omise pour choisir la variante par défaut." #. type: deffn -#: doc/guix.texi:11969 +#: doc/guix.texi:12916 #, no-wrap msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]" msgstr "{Procédure Scheme} screen-locker-service @var{package} [@var{program}]" #. type: deffn -#: doc/guix.texi:11973 +#: doc/guix.texi:12920 msgid "Add @var{package}, a package for a screen locker or screen saver whose command is @var{program}, to the set of setuid programs and add a PAM entry for it. For example:" msgstr "Ajoute @var{package}, un paquet pour un verrouiller l'écran ou un économiseur d'écran dont la commande est @var{program}, à l'ensemble des programmes setuid et lui ajoute une entrée PAM. Par exemple :" #. type: lisp -#: doc/guix.texi:11976 +#: doc/guix.texi:12923 #, no-wrap msgid "(screen-locker-service xlockmore \"xlock\")\n" msgstr "(screen-locker-service xlockmore \"xlock\")\n" #. type: deffn -#: doc/guix.texi:11979 +#: doc/guix.texi:12926 msgid "makes the good ol' XlockMore usable." msgstr "rend utilisable le bon vieux XlockMore." #. type: cindex -#: doc/guix.texi:11985 +#: doc/guix.texi:12932 #, no-wrap msgid "printer support with CUPS" msgstr "support des imprimantes avec CUPS" #. type: Plain text -#: doc/guix.texi:11989 +#: doc/guix.texi:12936 msgid "The @code{(gnu services cups)} module provides a Guix service definition for the CUPS printing service. To add printer support to a GuixSD system, add a @code{cups-service} to the operating system definition:" msgstr "Le module @code{(gnu services cups)} fournit une définition de service Guix pour le service d'impression CUPS. Pour ajouter le support d'une imprimante à un système GuixSD, ajoutez un @code{cups-service} à la définition du système d'exploitation :" #. type: deffn -#: doc/guix.texi:11990 +#: doc/guix.texi:12937 #, no-wrap msgid "{Scheme Variable} cups-service-type" msgstr "{Variable Scheme} cups-service-type" #. type: deffn -#: doc/guix.texi:11994 +#: doc/guix.texi:12941 msgid "The service type for the CUPS print server. Its value should be a valid CUPS configuration (see below). To use the default settings, simply write:" msgstr "Le type de service pour un serveur d'impression CUPS. Sa valeur devrait être une configuration CUPS valide (voir plus bas). Pour utiliser les paramètres par défaut, écrivez simplement :" #. type: example -#: doc/guix.texi:11996 +#: doc/guix.texi:12943 #, no-wrap msgid "(service cups-service-type)\n" msgstr "(service cups-service-type)\n" #. type: Plain text -#: doc/guix.texi:12006 +#: doc/guix.texi:12953 msgid "The CUPS configuration controls the basic things about your CUPS installation: what interfaces it listens on, what to do if a print job fails, how much logging to do, and so on. To actually add a printer, you have to visit the @url{http://localhost:631} URL, or use a tool such as GNOME's printer configuration services. By default, configuring a CUPS service will generate a self-signed certificate if needed, for secure connections to the print server." msgstr "La configuration de CUPS contrôle les paramètres de base de votre installation CUPS : sur quelles interfaces il doit écouter, que faire si un travail échoue, combien de journalisation il faut faire, etc. Pour ajouter une imprimante, vous devrez visiter l'URL @url{http://localhost:631} ou utiliser un outil comme les services de configuration d'imprimante de GNOME. Par défaut, la configuration du service CUPS générera un certificat auto-signé si besoin, pour les connexions sécurisée avec le serveur d'impression." #. type: Plain text -#: doc/guix.texi:12011 -msgid "Suppose you want to enable the Web interface of CUPS and also add support for Epson printers @i{via} the @code{escpr} package and for HP printers @i{via} the @code{hplip} package. You can do that directly, like this (you need to use the @code{(gnu packages cups)} module):" -msgstr "Supposons que vous souhaitez activer l'interface Web de CUPS et ajouter le support pour les imprimantes Epson via le paquet @code{escpr} et our les imprimantes HP via le paquet @code{hplip}. Vous pouvez le faire directement, comme ceci (vous devez utiliser le module @code{(gnu packages cups)}) :" +#: doc/guix.texi:12958 +msgid "Suppose you want to enable the Web interface of CUPS and also add support for Epson printers @i{via} the @code{escpr} package and for HP printers @i{via} the @code{hplip-minimal} package. You can do that directly, like this (you need to use the @code{(gnu packages cups)} module):" +msgstr "Supposons que vous souhaitiez activer l'interface Web de CUPS et ajouter le support pour les imprimantes Epson via le paquet @code{escpr} et our les imprimantes HP via le paquet @code{hplip-minimal}. Vous pouvez le faire directement, comme ceci (vous devez utiliser le module @code{(gnu packages cups)}) :" #. type: example -#: doc/guix.texi:12018 +#: doc/guix.texi:12965 #, no-wrap msgid "" "(service cups-service-type\n" " (cups-configuration\n" " (web-interface? #t)\n" " (extensions\n" -" (list cups-filters escpr hplip))))\n" +" (list cups-filters escpr hplip-minimal))))\n" msgstr "" "(service cups-service-type\n" " (cups-configuration\n" " (web-interface? #t)\n" " (extensions\n" -" (list cups-filters escpr hplip))))\n" +" (list cups-filters escpr hplip-minimal))))\n" #. type: Plain text -#: doc/guix.texi:12026 +#: doc/guix.texi:12970 +msgid "Note: If you wish to use the Qt5 based GUI which comes with the hplip package then it is suggested that you install the @code{hplip} package, either in your OS configuration file or as your user." +msgstr "Remarque : si vous souhaitez utiliser la GUI basée sur Qt5 qui provient du paquet hplip, nous vous suggérons d'installer le paquet @code{hplip}, soit dans votre configuration d'OS, soit en tant qu'utilisateur." + +#. type: Plain text +#: doc/guix.texi:12977 msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{cupsd.conf} file that you want to port over from some other system; see the end for more details." msgstr "Les paramètres de configuration disponibles sont les suivants. Chaque définition des paramètres est précédé par son type ; par exemple, @samp{string-list foo} indique que le paramètre @code{foo} devrait être spécifié comme une liste de chaînes de caractères. Il y a aussi une manière de spécifier la configuration comme une chaîne de caractères, si vous avez un vieux fichier @code{cupsd.conf} que vous voulez porter depuis un autre système ; voir la fin pour plus de détails." #. type: Plain text -#: doc/guix.texi:12037 +#: doc/guix.texi:12988 msgid "Available @code{cups-configuration} fields are:" msgstr "Les champs de @code{cups-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:12038 +#: doc/guix.texi:12989 #, no-wrap msgid "{@code{cups-configuration} parameter} package cups" msgstr "{paramètre de @code{cups-configuration}} package cups" #. type: deftypevr -#: doc/guix.texi:12040 doc/guix.texi:12797 +#: doc/guix.texi:12991 doc/guix.texi:13748 msgid "The CUPS package." msgstr "Le paquet CUPS." #. type: deftypevr -#: doc/guix.texi:12042 +#: doc/guix.texi:12993 #, no-wrap msgid "{@code{cups-configuration} parameter} package-list extensions" msgstr "{paramètre de @code{cups-configuration}} package-list extensions" #. type: deftypevr -#: doc/guix.texi:12044 +#: doc/guix.texi:12995 msgid "Drivers and other extensions to the CUPS package." msgstr "Pilotes et autres extensions du paquet CUPS." #. type: deftypevr -#: doc/guix.texi:12046 +#: doc/guix.texi:12997 #, no-wrap msgid "{@code{cups-configuration} parameter} files-configuration files-configuration" msgstr "{paramètre de @code{cups-configuration}} files-configuration files-configuration" #. type: deftypevr -#: doc/guix.texi:12049 +#: doc/guix.texi:13000 msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters." msgstr "Configuration de l'emplacement où écrire les journaux, quels répertoires utiliser pour les travaux d'impression et les paramètres de configuration privilégiés liés." #. type: deftypevr -#: doc/guix.texi:12051 +#: doc/guix.texi:13002 msgid "Available @code{files-configuration} fields are:" msgstr "Les champs @code{files-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:12052 +#: doc/guix.texi:13003 #, no-wrap msgid "{@code{files-configuration} parameter} log-location access-log" msgstr "{paramètre de @code{files-configuration}} log-location access-log" #. type: deftypevr -#: doc/guix.texi:12060 +#: doc/guix.texi:13011 msgid "Defines the access log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-access_log}." msgstr "Définit le fichier de journal d'accès. Spécifier un nom de fichier vide désactive la génération de journaux d'accès. La valeur @code{stderr} fait que les entrées du journal seront envoyés sur l'erreur standard lorsque l'ordonnanceur est lancé au premier plan ou vers le démon de journal système lorsqu'il tourne en tache de fond. La valeur @code{syslog} fait que les entrées du journal sont envoyées au démon de journalisation du système. Le nom du serveur peut être inclus dans les noms de fichiers avec la chaîne @code{%s}, comme dans @code{/var/log/cups/%s-access_log}." #. type: deftypevr -#: doc/guix.texi:12062 +#: doc/guix.texi:13013 msgid "Defaults to @samp{\"/var/log/cups/access_log\"}." msgstr "La valeur par défaut est @samp{\"/var/log/cups/access_log\"}." #. type: deftypevr -#: doc/guix.texi:12064 +#: doc/guix.texi:13015 #, no-wrap msgid "{@code{files-configuration} parameter} file-name cache-dir" msgstr "{paramètre de @code{files-configuration}} file-name cache-dir" #. type: deftypevr -#: doc/guix.texi:12066 +#: doc/guix.texi:13017 msgid "Where CUPS should cache data." msgstr "L'emplacement où CUPS devrait mettre les données en cache." #. type: deftypevr -#: doc/guix.texi:12068 +#: doc/guix.texi:13019 msgid "Defaults to @samp{\"/var/cache/cups\"}." msgstr "La valeur par défaut est @samp{\"/var/cache/cups\"}." #. type: deftypevr -#: doc/guix.texi:12070 +#: doc/guix.texi:13021 #, no-wrap msgid "{@code{files-configuration} parameter} string config-file-perm" msgstr "{paramètre de @code{files-configuration}} string config-file-perm" #. type: deftypevr -#: doc/guix.texi:12073 +#: doc/guix.texi:13024 msgid "Specifies the permissions for all configuration files that the scheduler writes." msgstr "Spécifie les permissions pour tous les fichiers de configuration que l'ordonnanceur écrit." #. type: deftypevr -#: doc/guix.texi:12079 +#: doc/guix.texi:13030 msgid "Note that the permissions for the printers.conf file are currently masked to only allow access from the scheduler user (typically root). This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system. There is no way to disable this security feature." msgstr "Remarquez que les permissions pour le fichier printers.conf sont actuellement masqués pour ne permettre que l'accès par l'utilisateur de l'ordonnanceur (typiquement root). La raison est que les URI des imprimantes contiennent des informations d'authentification sensibles qui ne devraient pas être connues sur le système. Il n'est pas possible de désactiver cette fonctionnalité de sécurité." #. type: deftypevr -#: doc/guix.texi:12081 +#: doc/guix.texi:13032 msgid "Defaults to @samp{\"0640\"}." msgstr "La valeur par défaut est @samp{\"0640\"}." #. type: deftypevr -#: doc/guix.texi:12083 +#: doc/guix.texi:13034 #, no-wrap msgid "{@code{files-configuration} parameter} log-location error-log" msgstr "{paramètre de @code{files-configuration}} log-location error-log" #. type: deftypevr -#: doc/guix.texi:12091 +#: doc/guix.texi:13042 msgid "Defines the error log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-error_log}." msgstr "Définit le fichier de journal d'erreur. Spécifier un nom de fichier vide désactive la génération de journaux d'erreur. La valeur @code{stderr} fait que les entrées du journal seront envoyés sur l'erreur standard lorsque l'ordonnanceur est lancé au premier plan ou vers le démon de journal système lorsqu'il tourne en tache de fond. La valeur @code{syslog} fait que les entrées du journal sont envoyées au démon de journalisation du système. Le nom du serveur peut être inclus dans les noms de fichiers avec la chaîne @code{%s}, comme dans @code{/var/log/cups/%s-error_log}." #. type: deftypevr -#: doc/guix.texi:12093 +#: doc/guix.texi:13044 msgid "Defaults to @samp{\"/var/log/cups/error_log\"}." msgstr "La valeur par défaut est @samp{\"/var/log/cups/error_log\"}." #. type: deftypevr -#: doc/guix.texi:12095 +#: doc/guix.texi:13046 #, no-wrap msgid "{@code{files-configuration} parameter} string fatal-errors" msgstr "{paramètre de @code{files-configuration}} string fatal-errors" #. type: deftypevr -#: doc/guix.texi:12098 +#: doc/guix.texi:13049 msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:" msgstr "Spécifie quelles erreurs sont fatales, qui font terminer l'ordonnanceur. Les types de chaînes sont :" #. type: table -#: doc/guix.texi:12102 +#: doc/guix.texi:13053 msgid "No errors are fatal." msgstr "Aucune erreur n'est fatale." #. type: table -#: doc/guix.texi:12105 +#: doc/guix.texi:13056 msgid "All of the errors below are fatal." msgstr "Toutes les erreurs ci-dessous sont fatales." #. type: item -#: doc/guix.texi:12106 +#: doc/guix.texi:13057 #, no-wrap msgid "browse" msgstr "browse" #. type: table -#: doc/guix.texi:12109 +#: doc/guix.texi:13060 msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon." msgstr "Les erreurs d'initialisation de la navigation sont fatales, par exemple les connexion échouées au démon DNS-SD." #. type: item -#: doc/guix.texi:12110 +#: doc/guix.texi:13061 #, no-wrap msgid "config" msgstr "config" #. type: table -#: doc/guix.texi:12112 +#: doc/guix.texi:13063 msgid "Configuration file syntax errors are fatal." msgstr "Les erreurs de syntaxe du fichier de configuration sont fatale." #. type: item -#: doc/guix.texi:12113 +#: doc/guix.texi:13064 #, no-wrap msgid "listen" msgstr "listen" #. type: table -#: doc/guix.texi:12116 +#: doc/guix.texi:13067 msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses." msgstr "Les erreurs d'écoute ou de port sont fatales, sauf pour les erreurs d'IPv6 sur la boucle locale ou les adresses @code{any}." #. type: item -#: doc/guix.texi:12117 +#: doc/guix.texi:13068 #, no-wrap msgid "log" msgstr "log" #. type: table -#: doc/guix.texi:12119 +#: doc/guix.texi:13070 msgid "Log file creation or write errors are fatal." msgstr "Les erreurs de création ou d'écriture des fichiers de journal sont fatales." #. type: item -#: doc/guix.texi:12120 +#: doc/guix.texi:13071 #, no-wrap msgid "permissions" msgstr "permissions" #. type: table -#: doc/guix.texi:12123 +#: doc/guix.texi:13074 msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions." msgstr "Les mauvaises permissions des fichiers de démarrage sont fatales, par exemple un certificat TLS et des fichiers de clefs avec des permissions permettant la lecture à tout le monde." #. type: deftypevr -#: doc/guix.texi:12126 +#: doc/guix.texi:13077 msgid "Defaults to @samp{\"all -browse\"}." msgstr "La valeur par défaut est @samp{\"all -browse\"}." #. type: deftypevr -#: doc/guix.texi:12128 +#: doc/guix.texi:13079 #, no-wrap msgid "{@code{files-configuration} parameter} boolean file-device?" msgstr "{paramètre de @code{files-configuration}} boolean file-device?" #. type: deftypevr -#: doc/guix.texi:12131 +#: doc/guix.texi:13082 msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed." msgstr "Spécifie si le fichier de pseudo-périphérique peut être utilisé pour de nouvelles queues d'impression. L'URI @uref{file:///dev/null} est toujours permise." #. type: deftypevr -#: doc/guix.texi:12133 doc/guix.texi:12203 doc/guix.texi:12239 -#: doc/guix.texi:12251 doc/guix.texi:12257 doc/guix.texi:12273 -#: doc/guix.texi:12361 doc/guix.texi:12455 doc/guix.texi:12771 -#: doc/guix.texi:12784 doc/guix.texi:17090 doc/guix.texi:17104 -#: doc/guix.texi:17226 doc/guix.texi:17247 doc/guix.texi:17268 -#: doc/guix.texi:17275 doc/guix.texi:17320 doc/guix.texi:17327 -#: doc/guix.texi:17730 doc/guix.texi:17744 doc/guix.texi:17916 -#: doc/guix.texi:17961 doc/guix.texi:18048 doc/guix.texi:18177 -#: doc/guix.texi:18210 doc/guix.texi:18350 doc/guix.texi:18361 -#: doc/guix.texi:18611 doc/guix.texi:19253 doc/guix.texi:19262 -#: doc/guix.texi:19270 doc/guix.texi:19278 doc/guix.texi:19294 -#: doc/guix.texi:19310 doc/guix.texi:19318 doc/guix.texi:19326 -#: doc/guix.texi:19335 doc/guix.texi:19344 doc/guix.texi:19360 -#: doc/guix.texi:19424 doc/guix.texi:19530 doc/guix.texi:19538 -#: doc/guix.texi:19546 doc/guix.texi:19571 doc/guix.texi:19625 -#: doc/guix.texi:19673 doc/guix.texi:19826 doc/guix.texi:19834 -#: doc/guix.texi:19842 doc/guix.texi:19850 doc/guix.texi:19858 -#: doc/guix.texi:19866 doc/guix.texi:19874 doc/guix.texi:19881 +#: doc/guix.texi:13084 doc/guix.texi:13154 doc/guix.texi:13190 +#: doc/guix.texi:13202 doc/guix.texi:13208 doc/guix.texi:13224 +#: doc/guix.texi:13312 doc/guix.texi:13406 doc/guix.texi:13722 +#: doc/guix.texi:13735 doc/guix.texi:18368 doc/guix.texi:18382 +#: doc/guix.texi:18504 doc/guix.texi:18525 doc/guix.texi:18546 +#: doc/guix.texi:18553 doc/guix.texi:18598 doc/guix.texi:18605 +#: doc/guix.texi:19032 doc/guix.texi:19046 doc/guix.texi:19218 +#: doc/guix.texi:19263 doc/guix.texi:19350 doc/guix.texi:19482 +#: doc/guix.texi:19515 doc/guix.texi:19655 doc/guix.texi:19666 +#: doc/guix.texi:19916 doc/guix.texi:20558 doc/guix.texi:20567 +#: doc/guix.texi:20575 doc/guix.texi:20583 doc/guix.texi:20599 +#: doc/guix.texi:20615 doc/guix.texi:20623 doc/guix.texi:20631 +#: doc/guix.texi:20640 doc/guix.texi:20649 doc/guix.texi:20665 +#: doc/guix.texi:20729 doc/guix.texi:20835 doc/guix.texi:20843 +#: doc/guix.texi:20851 doc/guix.texi:20876 doc/guix.texi:20930 +#: doc/guix.texi:20978 doc/guix.texi:21179 doc/guix.texi:21186 msgid "Defaults to @samp{#f}." msgstr "La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:12135 +#: doc/guix.texi:13086 #, no-wrap msgid "{@code{files-configuration} parameter} string group" msgstr "{paramètre de @code{files-configuration}} string group" #. type: deftypevr -#: doc/guix.texi:12138 +#: doc/guix.texi:13089 msgid "Specifies the group name or ID that will be used when executing external programs." msgstr "Spécifie le nom ou l'ID du groupe qui sera utilisé lors de l'exécution de programmes externes." #. type: deftypevr -#: doc/guix.texi:12140 doc/guix.texi:12220 +#: doc/guix.texi:13091 doc/guix.texi:13171 msgid "Defaults to @samp{\"lp\"}." msgstr "La valeur par défaut est @samp{\"lp\"}." #. type: deftypevr -#: doc/guix.texi:12142 +#: doc/guix.texi:13093 #, no-wrap msgid "{@code{files-configuration} parameter} string log-file-perm" msgstr "{paramètre de @code{files-configuration}} string log-file-perm" #. type: deftypevr -#: doc/guix.texi:12144 +#: doc/guix.texi:13095 msgid "Specifies the permissions for all log files that the scheduler writes." msgstr "Spécifie les permissions pour tous les fichiers de journal que l'ordonnanceur écrit." #. type: deftypevr -#: doc/guix.texi:12146 +#: doc/guix.texi:13097 msgid "Defaults to @samp{\"0644\"}." msgstr "La valeur par défaut est @samp{\"0644\"}." #. type: deftypevr -#: doc/guix.texi:12148 +#: doc/guix.texi:13099 #, no-wrap msgid "{@code{files-configuration} parameter} log-location page-log" msgstr "{paramètre de @code{files-configuration}} log-location page-log" #. type: deftypevr -#: doc/guix.texi:12156 +#: doc/guix.texi:13107 msgid "Defines the page log filename. Specifying a blank filename disables access log generation. The value @code{stderr} causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background. The value @code{syslog} causes log entries to be sent to the system log daemon. The server name may be included in filenames using the string @code{%s}, as in @code{/var/log/cups/%s-page_log}." msgstr "Définit le fichier de journal de page. Spécifier un nom de fichier vide désactive la génération de journaux de pages. La valeur @code{stderr} fait que les entrées du journal seront envoyés sur l'erreur standard lorsque l'ordonnanceur est lancé au premier plan ou vers le démon de journal système lorsqu'il tourne en tache de fond. La valeur @code{syslog} fait que les entrées du journal sont envoyées au démon de journalisation du système. Le nom du serveur peut être inclus dans les noms de fichiers avec la chaîne @code{%s}, comme dans @code{/var/log/cups/%s-page_log}." #. type: deftypevr -#: doc/guix.texi:12158 +#: doc/guix.texi:13109 msgid "Defaults to @samp{\"/var/log/cups/page_log\"}." msgstr "La valeur par défaut est @samp{\"/var/log/cups/page_log\"}." #. type: deftypevr -#: doc/guix.texi:12160 +#: doc/guix.texi:13111 #, no-wrap msgid "{@code{files-configuration} parameter} string remote-root" msgstr "{paramètre de @code{files-configuration}} string remote-root" #. type: deftypevr -#: doc/guix.texi:12163 +#: doc/guix.texi:13114 msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}." msgstr "Spécifie le nom d'utilisateur associé aux accès non authentifiés par des clients qui se disent être l'utilisateur root. La valeur par défaut est @code{remroot}." #. type: deftypevr -#: doc/guix.texi:12165 +#: doc/guix.texi:13116 msgid "Defaults to @samp{\"remroot\"}." msgstr "La valeur par défaut est @samp{\"remroot\"}." #. type: deftypevr -#: doc/guix.texi:12167 +#: doc/guix.texi:13118 #, no-wrap msgid "{@code{files-configuration} parameter} file-name request-root" msgstr "{paramètre de @code{files-configuration}} file-name request-root" #. type: deftypevr -#: doc/guix.texi:12170 +#: doc/guix.texi:13121 msgid "Specifies the directory that contains print jobs and other HTTP request data." msgstr "Spécifie le répertoire qui contient les travaux d'impression et d'autres données des requêtes HTTP." #. type: deftypevr -#: doc/guix.texi:12172 +#: doc/guix.texi:13123 msgid "Defaults to @samp{\"/var/spool/cups\"}." msgstr "La valeur par défaut est @samp{\"/var/spool/cups\"}." #. type: deftypevr -#: doc/guix.texi:12174 +#: doc/guix.texi:13125 #, no-wrap msgid "{@code{files-configuration} parameter} sandboxing sandboxing" msgstr "{paramètre de @code{files-configuration}} sandboxing sandboxing" #. type: deftypevr -#: doc/guix.texi:12179 +#: doc/guix.texi:13130 msgid "Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler; either @code{relaxed} or @code{strict}. This directive is currently only used/supported on macOS." msgstr "Spécifie le niveau d'isolation de sécurité appliqué aux filtres d'impression, aux moteurs et aux autres processus fils de l'ordonnanceur ; soit @code{relaxed} soit @code{strict}. Cette directive n'est actuellement utilisée et supportée que sur macOS." #. type: deftypevr -#: doc/guix.texi:12181 +#: doc/guix.texi:13132 msgid "Defaults to @samp{strict}." msgstr "La valeur par défaut est @samp{strict}." #. type: deftypevr -#: doc/guix.texi:12183 +#: doc/guix.texi:13134 #, no-wrap msgid "{@code{files-configuration} parameter} file-name server-keychain" msgstr "{paramètre de @code{files-configuration}} file-name server-keychain" #. type: deftypevr -#: doc/guix.texi:12188 +#: doc/guix.texi:13139 msgid "Specifies the location of TLS certificates and private keys. CUPS will look for public and private keys in this directory: a @code{.crt} files for PEM-encoded certificates and corresponding @code{.key} files for PEM-encoded private keys." msgstr "Spécifie l'emplacement des certifications TLS et des clefs privées. CUPS cherchera les clefs publiques et privées dans ce répertoire : un fichier @code{.crt} pour un certificat encodé en PEM et le fichier @code{.key} correspondant pour la clef privée encodée en PEM." #. type: deftypevr -#: doc/guix.texi:12190 +#: doc/guix.texi:13141 msgid "Defaults to @samp{\"/etc/cups/ssl\"}." msgstr "La valeur par défaut est @samp{\"/etc/cups/ssl\"}." #. type: deftypevr -#: doc/guix.texi:12192 +#: doc/guix.texi:13143 #, no-wrap msgid "{@code{files-configuration} parameter} file-name server-root" msgstr "{paramètre de @code{files-configuration}} file-name server-root" #. type: deftypevr -#: doc/guix.texi:12194 +#: doc/guix.texi:13145 msgid "Specifies the directory containing the server configuration files." msgstr "Spécifie le répertoire contenant les fichiers de configuration du serveur." #. type: deftypevr -#: doc/guix.texi:12196 +#: doc/guix.texi:13147 msgid "Defaults to @samp{\"/etc/cups\"}." msgstr "La valeur par défaut est @samp{\"/etc/cups\"}." #. type: deftypevr -#: doc/guix.texi:12198 +#: doc/guix.texi:13149 #, no-wrap msgid "{@code{files-configuration} parameter} boolean sync-on-close?" msgstr "{paramètre de @code{files-configuration}} boolean sync-on-close?" #. type: deftypevr -#: doc/guix.texi:12201 +#: doc/guix.texi:13152 msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files." msgstr "Spécifie si l'ordonnanceur appelle fsync(2) après avoir écrit la configuration ou les fichiers d'état." #. type: deftypevr -#: doc/guix.texi:12205 +#: doc/guix.texi:13156 #, no-wrap msgid "{@code{files-configuration} parameter} space-separated-string-list system-group" msgstr "{paramètre de @code{files-configuration}} space-separated-string-list system-group" #. type: deftypevr -#: doc/guix.texi:12207 +#: doc/guix.texi:13158 msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication." msgstr "Spécifie le groupe ou les groupes à utiliser pour l'authentification du groupe @code{@@SYSTEM}." #. type: deftypevr -#: doc/guix.texi:12209 +#: doc/guix.texi:13160 #, no-wrap msgid "{@code{files-configuration} parameter} file-name temp-dir" msgstr "{paramètre de @code{files-configuration}} file-name temp-dir" #. type: deftypevr -#: doc/guix.texi:12211 +#: doc/guix.texi:13162 msgid "Specifies the directory where temporary files are stored." msgstr "Spécifie le répertoire où les fichiers temporaires sont stockés." #. type: deftypevr -#: doc/guix.texi:12213 +#: doc/guix.texi:13164 msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}." msgstr "La valeur par défaut est @samp{\"/var/spool/cups/tmp\"}." #. type: deftypevr -#: doc/guix.texi:12215 +#: doc/guix.texi:13166 #, no-wrap msgid "{@code{files-configuration} parameter} string user" msgstr "{paramètre de @code{files-configuration}} string user" #. type: deftypevr -#: doc/guix.texi:12218 +#: doc/guix.texi:13169 msgid "Specifies the user name or ID that is used when running external programs." msgstr "Spécifie le nom d'utilisateur ou l'ID utilisé pour lancer des programmes externes." #. type: deftypevr -#: doc/guix.texi:12223 +#: doc/guix.texi:13174 #, no-wrap msgid "{@code{cups-configuration} parameter} access-log-level access-log-level" msgstr "{paramètre de @code{cups-configuration}} access-log-level access-log-level" #. type: deftypevr -#: doc/guix.texi:12230 +#: doc/guix.texi:13181 msgid "Specifies the logging level for the AccessLog file. The @code{config} level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated. The @code{actions} level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for @code{config}. The @code{all} level logs all requests." msgstr "Spécifie le niveau de journalisation pour le fichier AccessLog. Le niveau @code{config} enregistre les ajouts, suppressions et modifications d'imprimantes et de classes et lorsque les fichiers de configuration sont accédés ou mis à jour. Le niveau @code{actions} enregistre la soumission, la suspension, la libération, la modification et l'annulation des travaux et toutes les conditions de @code{config}. Le niveau @code{all} enregistre toutes les requêtes." #. type: deftypevr -#: doc/guix.texi:12232 +#: doc/guix.texi:13183 msgid "Defaults to @samp{actions}." msgstr "La valeur par défaut est @samp{actions}." #. type: deftypevr -#: doc/guix.texi:12234 +#: doc/guix.texi:13185 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?" msgstr "{paramètre de @code{cups-configuration}} boolean auto-purge-jobs?" #. type: deftypevr -#: doc/guix.texi:12237 +#: doc/guix.texi:13188 msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas." msgstr "Spécifie s'il faut vider l'historique des travaux automatiquement lorsqu'il n'est plus nécessaire pour les quotas." #. type: deftypevr -#: doc/guix.texi:12241 +#: doc/guix.texi:13192 #, no-wrap msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols" msgstr "{paramètre de @code{cups-configuration}} browse-local-protocols browse-local-protocols" #. type: deftypevr -#: doc/guix.texi:12243 +#: doc/guix.texi:13194 msgid "Specifies which protocols to use for local printer sharing." msgstr "Spécifie les protocoles à utiliser pour partager les imprimantes sur le réseau local." #. type: deftypevr -#: doc/guix.texi:12245 +#: doc/guix.texi:13196 msgid "Defaults to @samp{dnssd}." msgstr "La valeur par défaut est @samp{dnssd}." #. type: deftypevr -#: doc/guix.texi:12247 +#: doc/guix.texi:13198 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean browse-web-if?" msgstr "{paramètre de @code{cups-configuration}} boolean browse-web-if?" #. type: deftypevr -#: doc/guix.texi:12249 +#: doc/guix.texi:13200 msgid "Specifies whether the CUPS web interface is advertised." msgstr "Spécifie si l'interface web de CUPS est publiée." #. type: deftypevr -#: doc/guix.texi:12253 +#: doc/guix.texi:13204 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean browsing?" msgstr "{paramètre de @code{cups-configuration}} boolean browsing?" #. type: deftypevr -#: doc/guix.texi:12255 +#: doc/guix.texi:13206 msgid "Specifies whether shared printers are advertised." msgstr "Spécifie si les imprimantes partagées sont publiées." #. type: deftypevr -#: doc/guix.texi:12259 +#: doc/guix.texi:13210 #, no-wrap msgid "{@code{cups-configuration} parameter} string classification" msgstr "{paramètre de @code{cups-configuration}} string classification" #. type: deftypevr -#: doc/guix.texi:12264 +#: doc/guix.texi:13215 msgid "Specifies the security classification of the server. Any valid banner name can be used, including \"classified\", \"confidential\", \"secret\", \"topsecret\", and \"unclassified\", or the banner can be omitted to disable secure printing functions." msgstr "Spécifie la classification de sécurité du serveur. N'importe quel nom de bannière peut être utilisé, comme « classifié », « confidentiel », « secret », « top secret » et « déclassifié » ou la bannière peut être omise pour désactiver les fonctions d'impression sécurisées." #. type: deftypevr -#: doc/guix.texi:12266 doc/guix.texi:12603 doc/guix.texi:14019 -#: doc/guix.texi:14031 doc/guix.texi:18316 doc/guix.texi:18324 -#: doc/guix.texi:18332 doc/guix.texi:18340 doc/guix.texi:18618 -#: doc/guix.texi:19096 doc/guix.texi:19104 doc/guix.texi:19112 -#: doc/guix.texi:19220 doc/guix.texi:19245 doc/guix.texi:19376 -#: doc/guix.texi:19384 doc/guix.texi:19392 doc/guix.texi:19400 -#: doc/guix.texi:19408 doc/guix.texi:19416 doc/guix.texi:19439 -#: doc/guix.texi:19447 doc/guix.texi:19499 doc/guix.texi:19515 -#: doc/guix.texi:19523 doc/guix.texi:19562 doc/guix.texi:19585 -#: doc/guix.texi:19607 doc/guix.texi:19614 doc/guix.texi:19649 -#: doc/guix.texi:19657 doc/guix.texi:19681 doc/guix.texi:19713 -#: doc/guix.texi:19742 doc/guix.texi:19749 doc/guix.texi:19756 -#: doc/guix.texi:19764 doc/guix.texi:19778 doc/guix.texi:19787 -#: doc/guix.texi:19797 doc/guix.texi:19804 doc/guix.texi:19811 -#: doc/guix.texi:19818 doc/guix.texi:19889 doc/guix.texi:19896 -#: doc/guix.texi:19903 doc/guix.texi:19912 doc/guix.texi:19928 -#: doc/guix.texi:19935 doc/guix.texi:19942 doc/guix.texi:19949 -#: doc/guix.texi:19957 doc/guix.texi:19965 +#: doc/guix.texi:13217 doc/guix.texi:13554 doc/guix.texi:15028 +#: doc/guix.texi:15040 doc/guix.texi:19621 doc/guix.texi:19629 +#: doc/guix.texi:19637 doc/guix.texi:19645 doc/guix.texi:19923 +#: doc/guix.texi:20401 doc/guix.texi:20409 doc/guix.texi:20417 +#: doc/guix.texi:20525 doc/guix.texi:20550 doc/guix.texi:20681 +#: doc/guix.texi:20689 doc/guix.texi:20697 doc/guix.texi:20705 +#: doc/guix.texi:20713 doc/guix.texi:20721 doc/guix.texi:20744 +#: doc/guix.texi:20752 doc/guix.texi:20804 doc/guix.texi:20820 +#: doc/guix.texi:20828 doc/guix.texi:20867 doc/guix.texi:20890 +#: doc/guix.texi:20912 doc/guix.texi:20919 doc/guix.texi:20954 +#: doc/guix.texi:20962 doc/guix.texi:20986 doc/guix.texi:21018 +#: doc/guix.texi:21047 doc/guix.texi:21054 doc/guix.texi:21061 +#: doc/guix.texi:21069 doc/guix.texi:21083 doc/guix.texi:21092 +#: doc/guix.texi:21102 doc/guix.texi:21109 doc/guix.texi:21116 +#: doc/guix.texi:21123 doc/guix.texi:21194 doc/guix.texi:21201 +#: doc/guix.texi:21208 doc/guix.texi:21217 doc/guix.texi:21233 +#: doc/guix.texi:21240 doc/guix.texi:21247 doc/guix.texi:21254 +#: doc/guix.texi:21262 doc/guix.texi:21270 msgid "Defaults to @samp{\"\"}." msgstr "La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:12268 +#: doc/guix.texi:13219 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean classify-override?" msgstr "{paramètre de @code{cups-configuration}} boolean classify-override?" #. type: deftypevr -#: doc/guix.texi:12271 +#: doc/guix.texi:13222 msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option." msgstr "Spécifie si les utilisateurs peuvent remplacer la classification (page de couverture) des travaux d'impression individuels avec l'option @code{job-sheets}." #. type: deftypevr -#: doc/guix.texi:12275 +#: doc/guix.texi:13226 #, no-wrap msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type" msgstr "{paramètre de @code{cups-configuration}} default-auth-type default-auth-type" #. type: deftypevr -#: doc/guix.texi:12277 +#: doc/guix.texi:13228 msgid "Specifies the default type of authentication to use." msgstr "Spécifie le type d'authentification par défaut à utiliser." #. type: deftypevr -#: doc/guix.texi:12279 +#: doc/guix.texi:13230 msgid "Defaults to @samp{Basic}." msgstr "La valeur par défaut est @samp{Basic}." #. type: deftypevr -#: doc/guix.texi:12281 +#: doc/guix.texi:13232 #, no-wrap msgid "{@code{cups-configuration} parameter} default-encryption default-encryption" msgstr "{paramètre de @code{cups-configuration}} default-encryption default-encryption" #. type: deftypevr -#: doc/guix.texi:12283 +#: doc/guix.texi:13234 msgid "Specifies whether encryption will be used for authenticated requests." msgstr "Spécifie si le chiffrement sera utilisé pour les requêtes authentifiées." #. type: deftypevr -#: doc/guix.texi:12285 +#: doc/guix.texi:13236 msgid "Defaults to @samp{Required}." msgstr "La valeur par défaut est @samp{Required}." #. type: deftypevr -#: doc/guix.texi:12287 +#: doc/guix.texi:13238 #, no-wrap msgid "{@code{cups-configuration} parameter} string default-language" msgstr "{paramètre de @code{cups-configuration}} string default-language" #. type: deftypevr -#: doc/guix.texi:12289 +#: doc/guix.texi:13240 msgid "Specifies the default language to use for text and web content." msgstr "Spécifie la langue par défaut à utiliser pour le contenu textuel et web." #. type: deftypevr -#: doc/guix.texi:12291 +#: doc/guix.texi:13242 msgid "Defaults to @samp{\"en\"}." msgstr "La valeur par défaut est @samp{\"en\"}." #. type: deftypevr -#: doc/guix.texi:12293 +#: doc/guix.texi:13244 #, no-wrap msgid "{@code{cups-configuration} parameter} string default-paper-size" msgstr "{paramètre de @code{cups-configuration}} string default-paper-size" #. type: deftypevr -#: doc/guix.texi:12298 +#: doc/guix.texi:13249 msgid "Specifies the default paper size for new print queues. @samp{\"Auto\"} uses a locale-specific default, while @samp{\"None\"} specifies there is no default paper size. Specific size names are typically @samp{\"Letter\"} or @samp{\"A4\"}." msgstr "Spécifie la taille de papier par défaut pour les nouvelles queues d'impression. @samp{\"Auto\"} utilise la valeur par défaut du paramètre de régionalisation, tandis que @samp{\"None\"} spécifie qu'il n'y a pas de taille par défaut. Des noms de tailles spécifique sont par exemple @samp{\"Letter\"} et @samp{\"A4\"}." #. type: deftypevr -#: doc/guix.texi:12300 +#: doc/guix.texi:13251 msgid "Defaults to @samp{\"Auto\"}." msgstr "La valeur par défaut est @samp{\"Auto\"}." #. type: deftypevr -#: doc/guix.texi:12302 +#: doc/guix.texi:13253 #, no-wrap msgid "{@code{cups-configuration} parameter} string default-policy" msgstr "{paramètre de @code{cups-configuration}} string default-policy" #. type: deftypevr -#: doc/guix.texi:12304 +#: doc/guix.texi:13255 msgid "Specifies the default access policy to use." msgstr "Spécifie la politique d'accès par défaut à utiliser." #. type: deftypevr -#: doc/guix.texi:12306 +#: doc/guix.texi:13257 msgid "Defaults to @samp{\"default\"}." msgstr "La valeur par défaut est @samp{\"default\"}." #. type: deftypevr -#: doc/guix.texi:12308 +#: doc/guix.texi:13259 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean default-shared?" msgstr "{paramètre de @code{cups-configuration}} boolean default-shared?" #. type: deftypevr -#: doc/guix.texi:12310 +#: doc/guix.texi:13261 msgid "Specifies whether local printers are shared by default." msgstr "Spécifie si les imprimantes locales sont partagées par défaut." #. type: deftypevr -#: doc/guix.texi:12312 doc/guix.texi:12392 doc/guix.texi:12688 -#: doc/guix.texi:17060 doc/guix.texi:17067 doc/guix.texi:17075 -#: doc/guix.texi:17097 doc/guix.texi:17111 doc/guix.texi:17196 -#: doc/guix.texi:17203 doc/guix.texi:17211 doc/guix.texi:17597 -#: doc/guix.texi:17737 doc/guix.texi:17923 doc/guix.texi:17930 -#: doc/guix.texi:17952 doc/guix.texi:17991 doc/guix.texi:18011 -#: doc/guix.texi:18025 doc/guix.texi:18165 doc/guix.texi:19198 -#: doc/guix.texi:19286 doc/guix.texi:19302 doc/guix.texi:19352 +#: doc/guix.texi:13263 doc/guix.texi:13343 doc/guix.texi:13639 +#: doc/guix.texi:18190 doc/guix.texi:18218 doc/guix.texi:18338 +#: doc/guix.texi:18345 doc/guix.texi:18353 doc/guix.texi:18375 +#: doc/guix.texi:18389 doc/guix.texi:18474 doc/guix.texi:18481 +#: doc/guix.texi:18489 doc/guix.texi:18899 doc/guix.texi:19039 +#: doc/guix.texi:19225 doc/guix.texi:19232 doc/guix.texi:19254 +#: doc/guix.texi:19293 doc/guix.texi:19313 doc/guix.texi:19327 +#: doc/guix.texi:19470 doc/guix.texi:20503 doc/guix.texi:20591 +#: doc/guix.texi:20607 doc/guix.texi:20657 msgid "Defaults to @samp{#t}." msgstr "La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:12314 +#: doc/guix.texi:13265 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer dirty-clean-interval" #. type: deftypevr -#: doc/guix.texi:12318 +#: doc/guix.texi:13269 msgid "Specifies the delay for updating of configuration and state files, in seconds. A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds." msgstr "Spécifie le délai pour mettre à jour les fichiers de configuration et d'état. Une valeur de 0 fait que la mise à jour arrive aussi vite que possible, typiquement en quelques millisecondes." #. type: deftypevr -#: doc/guix.texi:12320 doc/guix.texi:12368 doc/guix.texi:12377 -#: doc/guix.texi:12398 doc/guix.texi:12695 +#: doc/guix.texi:13271 doc/guix.texi:13319 doc/guix.texi:13328 +#: doc/guix.texi:13349 doc/guix.texi:13646 msgid "Defaults to @samp{30}." msgstr "La valeur par défaut est @samp{30}." #. type: deftypevr -#: doc/guix.texi:12322 +#: doc/guix.texi:13273 #, no-wrap msgid "{@code{cups-configuration} parameter} error-policy error-policy" msgstr "{paramètre de @code{cups-configuration}} error-policy error-policy" #. type: deftypevr -#: doc/guix.texi:12328 +#: doc/guix.texi:13279 msgid "Specifies what to do when an error occurs. Possible values are @code{abort-job}, which will discard the failed print job; @code{retry-job}, which will retry the job at a later time; @code{retry-this-job}, which retries the failed job immediately; and @code{stop-printer}, which stops the printer." msgstr "Spécifie ce qu'il faut faire si une erreur a lieu. Les valeurs possibles sont @code{abort-job}, qui supprimera les travaux d'impression en échec ; @code{retry-job}, qui tentera de nouveau l'impression plus tard ; @code{retry-this-job}, qui retentera l'impression immédiatement ; et @code{stop-printer} qui arrête l'imprimante." #. type: deftypevr -#: doc/guix.texi:12330 +#: doc/guix.texi:13281 msgid "Defaults to @samp{stop-printer}." msgstr "La valeur par défaut est @samp{stop-printer}." #. type: deftypevr -#: doc/guix.texi:12332 +#: doc/guix.texi:13283 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer filter-limit" #. type: deftypevr -#: doc/guix.texi:12340 +#: doc/guix.texi:13291 msgid "Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems. A limit of 0 disables filter limiting. An average print to a non-PostScript printer needs a filter limit of about 200. A PostScript printer needs about half that (100). Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time." msgstr "Spécifie le coût maximum des filtres qui sont lancés en même temps, pour minimiser les problèmes de ressources de disque, de mémoire et de CPU. Une limite de 0 désactive la limite de filtrage. Une impression standard vers une imprimante non-PostScript requirt une limite de filtre d'environ 200. Une imprimante PostScript requiert environ la moitié (100). Mettre en place la limite en dessous de ces valeurs limitera l'ordonnanceur à un seul travail d'impression à la fois." #. type: deftypevr -#: doc/guix.texi:12342 doc/guix.texi:12350 doc/guix.texi:12405 -#: doc/guix.texi:12521 doc/guix.texi:12535 doc/guix.texi:12542 -#: doc/guix.texi:14123 doc/guix.texi:14135 doc/guix.texi:17613 -#: doc/guix.texi:17938 doc/guix.texi:19191 doc/guix.texi:19491 -#: doc/guix.texi:19665 +#: doc/guix.texi:13293 doc/guix.texi:13301 doc/guix.texi:13356 +#: doc/guix.texi:13472 doc/guix.texi:13486 doc/guix.texi:13493 +#: doc/guix.texi:14470 doc/guix.texi:14486 doc/guix.texi:15132 +#: doc/guix.texi:15144 doc/guix.texi:18915 doc/guix.texi:19240 +#: doc/guix.texi:20496 doc/guix.texi:20796 doc/guix.texi:20970 msgid "Defaults to @samp{0}." msgstr "La valeur par défaut est @samp{0}." #. type: deftypevr -#: doc/guix.texi:12344 +#: doc/guix.texi:13295 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer filter-nice" #. type: deftypevr -#: doc/guix.texi:12348 +#: doc/guix.texi:13299 msgid "Specifies the scheduling priority of filters that are run to print a job. The nice value ranges from 0, the highest priority, to 19, the lowest priority." msgstr "Spécifie la priorité des filtres de l'ordonnanceur qui sont lancés pour imprimer un travail. La valeur va de 0, la plus grande priorité, à 19, la plus basse priorité." #. type: deftypevr -#: doc/guix.texi:12352 +#: doc/guix.texi:13303 #, no-wrap msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups" msgstr "{paramètre de @code{cups-configuration}} host-name-lookups host-name-lookups" #. type: deftypevr -#: doc/guix.texi:12359 +#: doc/guix.texi:13310 msgid "Specifies whether to do reverse lookups on connecting clients. The @code{double} setting causes @code{cupsd} to verify that the hostname resolved from the address matches one of the addresses returned for that hostname. Double lookups also prevent clients with unregistered addresses from connecting to your server. Only set this option to @code{#t} or @code{double} if absolutely required." msgstr "Spécifie s'il faut faire des résolutions inverses sur les clients qui se connectent. Le paramètre @code{double} fait que @code{cupsd} vérifie que le nom d'hôte résolu depuis l'adresse correspond à l'une des adresses renvoyées par ce nom d'hôte. Les résolutions doubles évitent aussi que des clients avec des adresses non enregistrées ne s'adressent à votre serveur. N'initialisez cette valeur qu'à @code{#t} ou @code{double} que si c'est absolument nécessaire." #. type: deftypevr -#: doc/guix.texi:12363 +#: doc/guix.texi:13314 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer job-kill-delay" #. type: deftypevr -#: doc/guix.texi:12366 +#: doc/guix.texi:13317 msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job." msgstr "Spécifie le nombre de secondes à attendre avant de tuer les filtres et les moteurs associés avec un travail annulé ou suspendu." #. type: deftypevr -#: doc/guix.texi:12370 +#: doc/guix.texi:13321 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer job-retry-interval" #. type: deftypevr -#: doc/guix.texi:12375 +#: doc/guix.texi:13326 msgid "Specifies the interval between retries of jobs in seconds. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}." msgstr "Spécifie l'intervalle des nouvelles tentatives en secondes. C'est typiquement utilisé pour les queues de fax mais peut aussi être utilisé avec des queues d'impressions normales dont la politique d'erreur est @code{retry-job} ou @code{retry-current-job}." #. type: deftypevr -#: doc/guix.texi:12379 +#: doc/guix.texi:13330 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer job-retry-limit" #. type: deftypevr -#: doc/guix.texi:12384 +#: doc/guix.texi:13335 msgid "Specifies the number of retries that are done for jobs. This is typically used for fax queues but can also be used with normal print queues whose error policy is @code{retry-job} or @code{retry-current-job}." msgstr "Spécifie le nombre de nouvelles tentatives pour les travaux. C'est typiquement utilisé pour les queues de fax mais peut aussi être utilisé pour les queues d'impressions dont la politique d'erreur est @code{retry-job} ou @code{retry-current-job}." #. type: deftypevr -#: doc/guix.texi:12386 doc/guix.texi:18417 doc/guix.texi:18437 -#: doc/guix.texi:18453 doc/guix.texi:18467 doc/guix.texi:18474 -#: doc/guix.texi:18481 doc/guix.texi:18488 doc/guix.texi:18647 -#: doc/guix.texi:18663 doc/guix.texi:18670 doc/guix.texi:18677 -#: doc/guix.texi:18688 doc/guix.texi:19143 doc/guix.texi:19151 -#: doc/guix.texi:19159 doc/guix.texi:19183 +#: doc/guix.texi:13337 doc/guix.texi:19722 doc/guix.texi:19742 +#: doc/guix.texi:19758 doc/guix.texi:19772 doc/guix.texi:19779 +#: doc/guix.texi:19786 doc/guix.texi:19793 doc/guix.texi:19952 +#: doc/guix.texi:19968 doc/guix.texi:19975 doc/guix.texi:19982 +#: doc/guix.texi:19993 doc/guix.texi:20448 doc/guix.texi:20456 +#: doc/guix.texi:20464 doc/guix.texi:20488 msgid "Defaults to @samp{5}." msgstr "La valeur par défaut est @samp{5}." #. type: deftypevr -#: doc/guix.texi:12388 +#: doc/guix.texi:13339 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean keep-alive?" msgstr "{paramètre de @code{cups-configuration}} boolean keep-alive?" #. type: deftypevr -#: doc/guix.texi:12390 +#: doc/guix.texi:13341 msgid "Specifies whether to support HTTP keep-alive connections." msgstr "Spécifie s'il faut supporter les connexion HTTP keep-alive." #. type: deftypevr -#: doc/guix.texi:12394 +#: doc/guix.texi:13345 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer keep-alive-timeout" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer keep-alive-timeout" #. type: deftypevr -#: doc/guix.texi:12396 +#: doc/guix.texi:13347 msgid "Specifies how long an idle client connection remains open, in seconds." msgstr "Spécifie combien de temps les connexions inactives avec les clients restent ouvertes, en secondes." #. type: deftypevr -#: doc/guix.texi:12400 +#: doc/guix.texi:13351 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer limit-request-body" #. type: deftypevr -#: doc/guix.texi:12403 +#: doc/guix.texi:13354 msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check." msgstr "Spécifie la taille maximale des fichiers à imprimer, des requêtes IPP et des données de formulaires HTML. Une limite de 0 désactive la vérification de la limite." #. type: deftypevr -#: doc/guix.texi:12407 +#: doc/guix.texi:13358 #, no-wrap msgid "{@code{cups-configuration} parameter} multiline-string-list listen" msgstr "{paramètre de @code{cups-configuration}} multiline-string-list listen" #. type: deftypevr -#: doc/guix.texi:12414 +#: doc/guix.texi:13365 msgid "Listens on the specified interfaces for connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses. Values can also be file names of local UNIX domain sockets. The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks." msgstr "Écoute sur les interfaces spécifiées. Les valeurs valides sont de la forme @var{adresse}:@var{port}, où @var{adresse} est sotit une daresse IPv6 dans des crochets, soit une adresse IPv4, soit @code{*} pour indiquer toutes les adresses. Les valeurs peuvent aussi être des noms de fichiers de socket UNIX domain. La directive Listen est similaire à la directive Port mais vous permet de restreindre l'accès à des interfaces ou des réseaux spécifiques." #. type: deftypevr -#: doc/guix.texi:12416 +#: doc/guix.texi:13367 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer listen-back-log" #. type: deftypevr -#: doc/guix.texi:12423 +#: doc/guix.texi:13374 msgid "Specifies the number of pending connections that will be allowed. This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections. When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones." msgstr "Spécifie le nombre de connexions en attente qui seront permises. Ça n'affecte normalement que les serveurs très actifs qui ont atteint la limite MaxClients, mais peut aussi être déclenché par un grand nombre de connexions simultanées. Lorsque la limite est atteinte, le système d'exploitation refusera les connexions supplémentaires jusqu'à ce que l'ordonnanceur accepte les connexions en attente." #. type: deftypevr -#: doc/guix.texi:12425 +#: doc/guix.texi:13376 msgid "Defaults to @samp{128}." msgstr "La valeur par défaut est @samp{128}." #. type: deftypevr -#: doc/guix.texi:12427 +#: doc/guix.texi:13378 #, no-wrap msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls" msgstr "{paramètre de @code{cups-configuration}} location-access-control-list location-access-controls" #. type: deftypevr -#: doc/guix.texi:12429 +#: doc/guix.texi:13380 msgid "Specifies a set of additional access controls." msgstr "Spécifie un ensemble de contrôles d'accès supplémentaires." #. type: deftypevr -#: doc/guix.texi:12431 +#: doc/guix.texi:13382 msgid "Available @code{location-access-controls} fields are:" msgstr "Les champs de @code{location-access-controls} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:12432 +#: doc/guix.texi:13383 #, no-wrap msgid "{@code{location-access-controls} parameter} file-name path" msgstr "{paramètre de @code{location-access-controls}} file-name path" #. type: deftypevr -#: doc/guix.texi:12434 +#: doc/guix.texi:13385 msgid "Specifies the URI path to which the access control applies." msgstr "Spécifie le chemin d'URI auquel les contrôles d'accès s'appliquent." #. type: deftypevr -#: doc/guix.texi:12436 +#: doc/guix.texi:13387 #, no-wrap msgid "{@code{location-access-controls} parameter} access-control-list access-controls" msgstr "{paramètre de @code{location-access-controls}} access-control-list access-controls" #. type: deftypevr -#: doc/guix.texi:12439 +#: doc/guix.texi:13390 msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}." msgstr "Les contrôles d'accès pour tous les accès à ce chemin, dans le même format que le champ @code{access-controls} de @code{operation-access-control}." #. type: deftypevr -#: doc/guix.texi:12441 doc/guix.texi:12447 doc/guix.texi:12461 -#: doc/guix.texi:12468 doc/guix.texi:12610 doc/guix.texi:12669 -#: doc/guix.texi:12753 doc/guix.texi:12764 doc/guix.texi:14609 -#: doc/guix.texi:17118 doc/guix.texi:17306 doc/guix.texi:18308 -#: doc/guix.texi:18368 doc/guix.texi:18376 doc/guix.texi:19206 -#: doc/guix.texi:19213 doc/guix.texi:19555 doc/guix.texi:19633 -#: doc/guix.texi:19727 doc/guix.texi:19735 doc/guix.texi:19771 -#: doc/guix.texi:19921 doc/guix.texi:19972 doc/guix.texi:19981 +#: doc/guix.texi:13392 doc/guix.texi:13398 doc/guix.texi:13412 +#: doc/guix.texi:13419 doc/guix.texi:13561 doc/guix.texi:13620 +#: doc/guix.texi:13704 doc/guix.texi:13715 doc/guix.texi:15618 +#: doc/guix.texi:18249 doc/guix.texi:18396 doc/guix.texi:18584 +#: doc/guix.texi:19613 doc/guix.texi:19673 doc/guix.texi:19681 +#: doc/guix.texi:20511 doc/guix.texi:20518 doc/guix.texi:20860 +#: doc/guix.texi:20938 doc/guix.texi:21032 doc/guix.texi:21040 +#: doc/guix.texi:21076 doc/guix.texi:21226 doc/guix.texi:21277 +#: doc/guix.texi:21286 msgid "Defaults to @samp{()}." msgstr "La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:12443 +#: doc/guix.texi:13394 #, no-wrap msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls" msgstr "{paramètre de @code{location-access-controls}} method-access-control-list method-access-controls" #. type: deftypevr -#: doc/guix.texi:12445 +#: doc/guix.texi:13396 msgid "Access controls for method-specific access to this path." msgstr "Contrôles d'accès pour les accès spécifiques à la méthode à ce chemin." #. type: deftypevr -#: doc/guix.texi:12449 +#: doc/guix.texi:13400 msgid "Available @code{method-access-controls} fields are:" msgstr "Les champs de @code{method-access-controls} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:12450 +#: doc/guix.texi:13401 #, no-wrap msgid "{@code{method-access-controls} parameter} boolean reverse?" msgstr "{paramètre de @code{method-access-controls}} boolean reverse?" #. type: deftypevr -#: doc/guix.texi:12453 +#: doc/guix.texi:13404 msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods." msgstr "Si la valeur est @code{#t}, applique les contrôles d'accès à toutes les méthodes sauf les méthodes listées. Sinon, applique le contrôle uniquement aux méthodes listées." #. type: deftypevr -#: doc/guix.texi:12457 +#: doc/guix.texi:13408 #, no-wrap msgid "{@code{method-access-controls} parameter} method-list methods" msgstr "{paramètre de @code{method-access-controls}} method-list methods" #. type: deftypevr -#: doc/guix.texi:12459 +#: doc/guix.texi:13410 msgid "Methods to which this access control applies." msgstr "Les méthodes auxquelles ce contrôle d'accès s'applique." #. type: deftypevr -#: doc/guix.texi:12463 +#: doc/guix.texi:13414 #, no-wrap msgid "{@code{method-access-controls} parameter} access-control-list access-controls" msgstr "{paramètre de @code{method-access-controls}} access-control-list access-controls" #. type: deftypevr -#: doc/guix.texi:12466 +#: doc/guix.texi:13417 msgid "Access control directives, as a list of strings. Each string should be one directive, such as \"Order allow,deny\"." msgstr "Directives de contrôle d'accès, comme une liste de chaînes de caractères. Chaque chaîne devrait être une directive, comme « Order allow, deny »." #. type: deftypevr -#: doc/guix.texi:12472 +#: doc/guix.texi:13423 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer log-debug-history" #. type: deftypevr -#: doc/guix.texi:12476 +#: doc/guix.texi:13427 msgid "Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting." msgstr "Spécifie le nombre de messages de débogage qui sont retenu pour la journalisation si une erreur arrive dans un travail d'impression. Les messages de débogage sont journalisés indépendamment du paramètre LogLevel." #. type: deftypevr -#: doc/guix.texi:12478 doc/guix.texi:12499 doc/guix.texi:12506 -#: doc/guix.texi:14369 doc/guix.texi:17291 +#: doc/guix.texi:13429 doc/guix.texi:13450 doc/guix.texi:13457 +#: doc/guix.texi:15378 doc/guix.texi:18569 msgid "Defaults to @samp{100}." msgstr "La valeur par défaut est @samp{100}." #. type: deftypevr -#: doc/guix.texi:12480 +#: doc/guix.texi:13431 #, no-wrap msgid "{@code{cups-configuration} parameter} log-level log-level" msgstr "{paramètre de @code{cups-configuration}} log-level log-level" #. type: deftypevr -#: doc/guix.texi:12483 +#: doc/guix.texi:13434 msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything." msgstr "Spécifie le niveau de journalisation du fichier ErrorLog. La valeur @code{none} arrête toute journalisation alors que que @code{debug2} enregistre tout." #. type: deftypevr -#: doc/guix.texi:12485 +#: doc/guix.texi:13436 msgid "Defaults to @samp{info}." msgstr "La valeur par défaut est @samp{info}." #. type: deftypevr -#: doc/guix.texi:12487 +#: doc/guix.texi:13438 #, no-wrap msgid "{@code{cups-configuration} parameter} log-time-format log-time-format" msgstr "{paramètre de @code{cups-configuration}} log-time-format log-time-format" #. type: deftypevr -#: doc/guix.texi:12490 +#: doc/guix.texi:13441 msgid "Specifies the format of the date and time in the log files. The value @code{standard} logs whole seconds while @code{usecs} logs microseconds." msgstr "Spécifie le format de la date et de l'heure dans les fichiers de journaux. La valeur @code{standard} enregistre les secondes entières alors que @code{usecs} enregistre les microsecondes." #. type: deftypevr -#: doc/guix.texi:12492 +#: doc/guix.texi:13443 msgid "Defaults to @samp{standard}." msgstr "La valeur par défaut est @samp{standard}." #. type: deftypevr -#: doc/guix.texi:12494 +#: doc/guix.texi:13445 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-clients" #. type: deftypevr -#: doc/guix.texi:12497 +#: doc/guix.texi:13448 msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler." msgstr "Spécifie le nombre maximum de clients simultanés qui sont autorisés par l'ordonnanceur." #. type: deftypevr -#: doc/guix.texi:12501 +#: doc/guix.texi:13452 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-clients-per-host" #. type: deftypevr -#: doc/guix.texi:12504 +#: doc/guix.texi:13455 msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address." msgstr "Spécifie le nombre maximum de clients simultanés permis depuis une même adresse." #. type: deftypevr -#: doc/guix.texi:12508 +#: doc/guix.texi:13459 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-copies" #. type: deftypevr -#: doc/guix.texi:12511 +#: doc/guix.texi:13462 msgid "Specifies the maximum number of copies that a user can print of each job." msgstr "Spécifie le nombre maximum de copies qu'un utilisateur peut imprimer pour chaque travail." #. type: deftypevr -#: doc/guix.texi:12513 +#: doc/guix.texi:13464 msgid "Defaults to @samp{9999}." msgstr "La valeur par défaut est @samp{9999}." #. type: deftypevr -#: doc/guix.texi:12515 +#: doc/guix.texi:13466 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-hold-time" #. type: deftypevr -#: doc/guix.texi:12519 +#: doc/guix.texi:13470 msgid "Specifies the maximum time a job may remain in the @code{indefinite} hold state before it is canceled. A value of 0 disables cancellation of held jobs." msgstr "Spécifie la durée maximum qu'un travail peut rester dans l'état de suspension @code{indefinite} avant qu'il ne soit annulé. La valeur 0 désactive l'annulation des travaux suspendus." #. type: deftypevr -#: doc/guix.texi:12523 +#: doc/guix.texi:13474 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-jobs" #. type: deftypevr -#: doc/guix.texi:12526 +#: doc/guix.texi:13477 msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs." msgstr "Spécifie le nombre maximum de travaux simultanés autorisés. La valeur 0 permet un nombre illimité de travaux." #. type: deftypevr -#: doc/guix.texi:12528 +#: doc/guix.texi:13479 msgid "Defaults to @samp{500}." msgstr "La valeur par défaut est @samp{500}." #. type: deftypevr -#: doc/guix.texi:12530 +#: doc/guix.texi:13481 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-jobs-per-printer" #. type: deftypevr -#: doc/guix.texi:12533 +#: doc/guix.texi:13484 msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer." msgstr "Spécifie le nombre maximum de travaux simultanés autorisés par imprimante. La valeur 0 permet au plus MaxJobs travaux par imprimante." #. type: deftypevr -#: doc/guix.texi:12537 +#: doc/guix.texi:13488 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-jobs-per-user" #. type: deftypevr -#: doc/guix.texi:12540 +#: doc/guix.texi:13491 msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user." msgstr "Spécifie le nombre maximum de travaux simultanés permis par utilisateur. La valeur 0 permet au plus MaxJobs travaux par utilisateur." #. type: deftypevr -#: doc/guix.texi:12544 +#: doc/guix.texi:13495 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-job-time" #. type: deftypevr -#: doc/guix.texi:12547 +#: doc/guix.texi:13498 msgid "Specifies the maximum time a job may take to print before it is canceled, in seconds. Set to 0 to disable cancellation of \"stuck\" jobs." msgstr "Spécifie la durée maximum qu'un travail peut prendre avant qu'il ne soit annulé, en secondes. Indiquez 0 pour désactiver l'annulation des travaux « coincés »." #. type: deftypevr -#: doc/guix.texi:12549 +#: doc/guix.texi:13500 msgid "Defaults to @samp{10800}." msgstr "La valeur par défaut est @samp{10800}." #. type: deftypevr -#: doc/guix.texi:12551 +#: doc/guix.texi:13502 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer max-log-size" #. type: deftypevr -#: doc/guix.texi:12554 +#: doc/guix.texi:13505 msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation." msgstr "Spécifie la taille maximale des fichiers de journaux avant qu'on ne les fasse tourner, en octets. La valeur 0 désactive la rotation." #. type: deftypevr -#: doc/guix.texi:12556 +#: doc/guix.texi:13507 msgid "Defaults to @samp{1048576}." msgstr "La valeur par défaut est @samp{1048576}." #. type: deftypevr -#: doc/guix.texi:12558 +#: doc/guix.texi:13509 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer multiple-operation-timeout" #. type: deftypevr -#: doc/guix.texi:12561 +#: doc/guix.texi:13512 msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds." msgstr "Spécifie la durée maximale à permettre entre les fichiers d'un travail en contenant plusieurs, en secondes." #. type: deftypevr -#: doc/guix.texi:12563 doc/guix.texi:12777 +#: doc/guix.texi:13514 doc/guix.texi:13728 doc/guix.texi:18183 msgid "Defaults to @samp{300}." msgstr "La valeur par défaut est @samp{300}." #. type: deftypevr -#: doc/guix.texi:12565 +#: doc/guix.texi:13516 #, no-wrap msgid "{@code{cups-configuration} parameter} string page-log-format" msgstr "{paramètre de @code{cups-configuration}} string page-log-format" #. type: deftypevr -#: doc/guix.texi:12570 +#: doc/guix.texi:13521 msgid "Specifies the format of PageLog lines. Sequences beginning with percent (@samp{%}) characters are replaced with the corresponding information, while all other characters are copied literally. The following percent sequences are recognized:" msgstr "Spécifie le format des lignes PageLog. Les séquences qui commencent par un pourcent (@samp{%}) sont remplacées par l'information correspondante, tandis que les autres caractères sont copiés littéralement. Les séquences pourcent suivantes sont reconnues :" #. type: item -#: doc/guix.texi:12572 +#: doc/guix.texi:13523 #, no-wrap msgid "%%" msgstr "%%" #. type: table -#: doc/guix.texi:12574 +#: doc/guix.texi:13525 msgid "insert a single percent character" msgstr "insère un seul caractères pourcent" #. type: item -#: doc/guix.texi:12575 +#: doc/guix.texi:13526 #, no-wrap msgid "%@{name@}" msgstr "%@{name@}" #. type: table -#: doc/guix.texi:12577 +#: doc/guix.texi:13528 msgid "insert the value of the specified IPP attribute" msgstr "insère la valeur de l'attribut IPP spécifié" #. type: item -#: doc/guix.texi:12578 +#: doc/guix.texi:13529 #, no-wrap msgid "%C" msgstr "%C" #. type: table -#: doc/guix.texi:12580 +#: doc/guix.texi:13531 msgid "insert the number of copies for the current page" msgstr "insère le nombre de copies pour la page actuelle" #. type: item -#: doc/guix.texi:12581 +#: doc/guix.texi:13532 #, no-wrap msgid "%P" msgstr "%P" #. type: table -#: doc/guix.texi:12583 +#: doc/guix.texi:13534 msgid "insert the current page number" msgstr "insère le numéro de page actuelle" #. type: item -#: doc/guix.texi:12584 +#: doc/guix.texi:13535 #, no-wrap msgid "%T" msgstr "%T" #. type: table -#: doc/guix.texi:12586 +#: doc/guix.texi:13537 msgid "insert the current date and time in common log format" msgstr "insère la date et l'heure actuelle dans un format de journal commun" #. type: item -#: doc/guix.texi:12587 +#: doc/guix.texi:13538 #, no-wrap msgid "%j" msgstr "%j" #. type: table -#: doc/guix.texi:12589 +#: doc/guix.texi:13540 msgid "insert the job ID" msgstr "insère l'ID du travail" #. type: item -#: doc/guix.texi:12590 doc/guix.texi:13979 +#: doc/guix.texi:13541 doc/guix.texi:14988 #, no-wrap msgid "%p" msgstr "%p" #. type: table -#: doc/guix.texi:12592 +#: doc/guix.texi:13543 msgid "insert the printer name" msgstr "insère le nom de l'imprimante" #. type: item -#: doc/guix.texi:12593 doc/guix.texi:14002 +#: doc/guix.texi:13544 doc/guix.texi:15011 #, no-wrap msgid "%u" msgstr "%u" #. type: table -#: doc/guix.texi:12595 +#: doc/guix.texi:13546 msgid "insert the username" msgstr "insère le nom d'utilisateur" #. type: deftypevr -#: doc/guix.texi:12601 +#: doc/guix.texi:13552 msgid "A value of the empty string disables page logging. The string @code{%p %u %j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} %@{media@} %@{sides@}} creates a page log with the standard items." msgstr "Si la valeur est la chaîne vide, le PageLog est désactivée. La chaîne @code{%p %u %j %T %P %C %@{job-billing@} %@{job-originating-host-name@} %@{job-name@} %@{media@} %@{sides@}} crée un PageLog avec les entrées standards." #. type: deftypevr -#: doc/guix.texi:12605 +#: doc/guix.texi:13556 #, no-wrap msgid "{@code{cups-configuration} parameter} environment-variables environment-variables" msgstr "{paramètre de @code{cups-configuration}} environment-variables environment-variables" #. type: deftypevr -#: doc/guix.texi:12608 +#: doc/guix.texi:13559 msgid "Passes the specified environment variable(s) to child processes; a list of strings." msgstr "Passe les variables d'environnement spécifiées aux processus fils ; une liste de chaînes de caractères." #. type: deftypevr -#: doc/guix.texi:12612 +#: doc/guix.texi:13563 #, no-wrap msgid "{@code{cups-configuration} parameter} policy-configuration-list policies" msgstr "{paramètre de @code{cups-configuration}} policy-configuration-list policies" #. type: deftypevr -#: doc/guix.texi:12614 +#: doc/guix.texi:13565 msgid "Specifies named access control policies." msgstr "Spécifie des politiques de contrôle d'accès nommées." #. type: deftypevr -#: doc/guix.texi:12616 +#: doc/guix.texi:13567 msgid "Available @code{policy-configuration} fields are:" msgstr "Les champs de @code{policy-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:12617 +#: doc/guix.texi:13568 #, no-wrap msgid "{@code{policy-configuration} parameter} string name" msgstr "{paramètre de @code{policy-configuration}} string name" #. type: deftypevr -#: doc/guix.texi:12619 +#: doc/guix.texi:13570 msgid "Name of the policy." msgstr "Nom de la politique." #. type: deftypevr -#: doc/guix.texi:12621 +#: doc/guix.texi:13572 #, no-wrap msgid "{@code{policy-configuration} parameter} string job-private-access" msgstr "{paramètre de @code{policy-configuration}} string job-private-access" #. type: deftypevr -#: doc/guix.texi:12631 +#: doc/guix.texi:13582 msgid "Specifies an access list for a job's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-config} configuration, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}." msgstr "Spécifie une liste d'accès pour les valeurs privées du travail. @code{@@ACL} correspond aux valeurs requesting-user-name-allowed ou requesting-user-name-denied de l'imprimante. @code{@@OWNER} correspond au propriétaire du travail. @code{@@SYSTEM} correspond aux groupes listés dans le champ @code{system-group} de la configuration @code{files-config}, qui est réifié dans le fichier @code{cups-files.conf(5)}. Les autres éléments possibles de la liste d'accès sont des noms d'utilisateurs spécifiques et @code{@@@var{group}} pour indiquer les membres d'un groupe spécifique. La liste d'accès peut aussi être simplement @code{all} ou @code{default}." #. type: deftypevr -#: doc/guix.texi:12633 doc/guix.texi:12655 +#: doc/guix.texi:13584 doc/guix.texi:13606 msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}." msgstr "La valeur par défaut est @samp{\"@@OWNER @@SYSTEM\"}." #. type: deftypevr -#: doc/guix.texi:12635 +#: doc/guix.texi:13586 #, no-wrap msgid "{@code{policy-configuration} parameter} string job-private-values" msgstr "{paramètre de @code{policy-configuration}} string job-private-values" #. type: deftypevr -#: doc/guix.texi:12638 doc/guix.texi:12660 +#: doc/guix.texi:13589 doc/guix.texi:13611 msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}." msgstr "Spécifie la liste des valeurs de travaux à rendre privée, ou @code{all}, @code{default}, ou @code{none}." #. type: deftypevr -#: doc/guix.texi:12641 +#: doc/guix.texi:13592 msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}." msgstr "La valeur par défaut est @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}." #. type: deftypevr -#: doc/guix.texi:12643 +#: doc/guix.texi:13594 #, no-wrap msgid "{@code{policy-configuration} parameter} string subscription-private-access" msgstr "{paramètre de @code{policy-configuration}} string subscription-private-access" #. type: deftypevr -#: doc/guix.texi:12653 +#: doc/guix.texi:13604 msgid "Specifies an access list for a subscription's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-config} configuration, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}." msgstr "Spécifie un liste d'accès pour les valeurs privées de la souscription. @code{@@ACL} correspond aux valeurs requesting-user-name-allowed ou requesting-user-name-denied de l'imprimante. @code{@@OWNER} correspond au propriétaire du travail. @code{@@SYSTEM} correspond aux groupes listés dans le champ @code{system-group} de la configuration @code{files-config}, qui est réifié dans le fichier @code{cups-files.conf(5)}. Les autres éléments possibles de la liste d'accès sont des noms d'utilisateurs spécifiques et @code{@@@var{group}} pour indiquer les membres d'un groupe spécifique. La liste d'accès peut aussi être simplement @code{all} ou @code{default}." #. type: deftypevr -#: doc/guix.texi:12657 +#: doc/guix.texi:13608 #, no-wrap msgid "{@code{policy-configuration} parameter} string subscription-private-values" msgstr "{paramètre de @code{policy-configuration}} string subscription-private-values" #. type: deftypevr -#: doc/guix.texi:12663 +#: doc/guix.texi:13614 msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}." msgstr "La valeur par défaut est @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}." #. type: deftypevr -#: doc/guix.texi:12665 +#: doc/guix.texi:13616 #, no-wrap msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls" msgstr "{paramètre de @code{policy-configuration}} operation-access-control-list access-controls" #. type: deftypevr -#: doc/guix.texi:12667 +#: doc/guix.texi:13618 msgid "Access control by IPP operation." msgstr "Contrôle d'accès par les actions IPP." #. type: deftypevr -#: doc/guix.texi:12672 +#: doc/guix.texi:13623 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files" msgstr "{paramètre de @code{cups-configuration}} boolean-or-non-negative-integer preserve-job-files" #. type: deftypevr -#: doc/guix.texi:12677 +#: doc/guix.texi:13628 msgid "Specifies whether job files (documents) are preserved after a job is printed. If a numeric value is specified, job files are preserved for the indicated number of seconds after printing. Otherwise a boolean value applies indefinitely." msgstr "Spécifie si les fichiers de travaux (les documents) sont préservés après qu'un travail est imprimé. Si une valeur numérique est spécifiée, les fichiers de travaux sont préservés pour le nombre de secondes indiquées après l'impression. Sinon, une valeur booléenne s'applique indéfiniment." #. type: deftypevr -#: doc/guix.texi:12679 +#: doc/guix.texi:13630 msgid "Defaults to @samp{86400}." msgstr "La valeur par défaut est @samp{86400}." #. type: deftypevr -#: doc/guix.texi:12681 +#: doc/guix.texi:13632 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history" msgstr "{paramètre de @code{cups-configuration}} boolean-or-non-negative-integer preserve-job-history" #. type: deftypevr -#: doc/guix.texi:12686 +#: doc/guix.texi:13637 msgid "Specifies whether the job history is preserved after a job is printed. If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing. If @code{#t}, the job history is preserved until the MaxJobs limit is reached." msgstr "Spécifie si l'historique des travaux est préservé après qu'un travail est imprimé. Si une valeur numérique est spécifiée, l'historique des travaux est préservé pour le nombre de secondes indiquées après l'impression. Si la valeur est @code{#t}, l'historique des travaux est préservé jusqu'à atteindre la limite MaxJobs." #. type: deftypevr -#: doc/guix.texi:12690 +#: doc/guix.texi:13641 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer reload-timeout" #. type: deftypevr -#: doc/guix.texi:12693 +#: doc/guix.texi:13644 msgid "Specifies the amount of time to wait for job completion before restarting the scheduler." msgstr "Spécifie la durée d'attente pour la fin des travaux avant de redémarrer l'ordonnanceur." #. type: deftypevr -#: doc/guix.texi:12697 +#: doc/guix.texi:13648 #, no-wrap msgid "{@code{cups-configuration} parameter} string rip-cache" msgstr "{paramètre de @code{cups-configuration}} string rip-cache" #. type: deftypevr -#: doc/guix.texi:12700 +#: doc/guix.texi:13651 msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer." msgstr "Spécifie la quantité de mémoire maximale à utiliser pour convertir des documents en bitmaps pour l'imprimante." #. type: deftypevr -#: doc/guix.texi:12702 +#: doc/guix.texi:13653 msgid "Defaults to @samp{\"128m\"}." msgstr "La valeur par défaut est @samp{\"128m\"}." #. type: deftypevr -#: doc/guix.texi:12704 +#: doc/guix.texi:13655 #, no-wrap msgid "{@code{cups-configuration} parameter} string server-admin" msgstr "{paramètre de @code{cups-configuration}} string server-admin" #. type: deftypevr -#: doc/guix.texi:12706 +#: doc/guix.texi:13657 msgid "Specifies the email address of the server administrator." msgstr "Spécifie l'adresse de courriel de l'administrateur système." #. type: deftypevr -#: doc/guix.texi:12708 +#: doc/guix.texi:13659 msgid "Defaults to @samp{\"root@@localhost.localdomain\"}." msgstr "La valeur par défaut est @samp{\"root@@localhost.localdomain\"}." #. type: deftypevr -#: doc/guix.texi:12710 +#: doc/guix.texi:13661 #, no-wrap msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias" msgstr "{paramètre de @code{cups-configuration}} host-name-list-or-* server-alias" #. type: deftypevr -#: doc/guix.texi:12718 +#: doc/guix.texi:13669 msgid "The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces. Using the special name @code{*} can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall. If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using @code{*}." msgstr "La directive ServerAlias est utilisée pour la validation des en-tête HTTP Host lorsque les clients se connectent à l'ordonnanceur depuis des interfaces externes. Utiliser le nom spécial @code{*} peut exposer votre système à des attaques connues de recombinaison DNS dans le navigateur, même lorsque vous accédez au site à travers un pare-feu. Si la découverte automatique des autres noms ne fonctionne pas, nous vous recommandons de lister chaque nom alternatif avec une directive SeverAlias plutôt que d'utiliser @code{*}." #. type: deftypevr -#: doc/guix.texi:12720 +#: doc/guix.texi:13671 msgid "Defaults to @samp{*}." msgstr "La valeur par défaut est @samp{*}." #. type: deftypevr -#: doc/guix.texi:12722 +#: doc/guix.texi:13673 #, no-wrap msgid "{@code{cups-configuration} parameter} string server-name" msgstr "{paramètre de @code{cups-configuration}} string server-name" #. type: deftypevr -#: doc/guix.texi:12724 +#: doc/guix.texi:13675 msgid "Specifies the fully-qualified host name of the server." msgstr "Spécifie le nom d'hôte pleinement qualifié du serveur." #. type: deftypevr -#: doc/guix.texi:12726 +#: doc/guix.texi:13677 msgid "Defaults to @samp{\"localhost\"}." msgstr "La valeur par défaut est @samp{\"localhost\"}." #. type: deftypevr -#: doc/guix.texi:12728 +#: doc/guix.texi:13679 #, no-wrap msgid "{@code{cups-configuration} parameter} server-tokens server-tokens" msgstr "{paramètre de @code{cups-configuration}} server-tokens server-tokens" #. type: deftypevr -#: doc/guix.texi:12736 +#: doc/guix.texi:13687 msgid "Specifies what information is included in the Server header of HTTP responses. @code{None} disables the Server header. @code{ProductOnly} reports @code{CUPS}. @code{Major} reports @code{CUPS 2}. @code{Minor} reports @code{CUPS 2.0}. @code{Minimal} reports @code{CUPS 2.0.0}. @code{OS} reports @code{CUPS 2.0.0 (@var{uname})} where @var{uname} is the output of the @code{uname} command. @code{Full} reports @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}." msgstr "Spécifie les informations incluses dans les en-têtes Server des réponses HTTP. @code{None} désactive l'en-tête Server. @code{ProductOnly} rapporte @code{CUPS}. @code{Major} rapporte @code{CUPS 2}. @code{Minor} rapporte @code{CUPS 2.0}. @code{Minimal} rapporte @code{CUPS 2.0.0}. @code{OS} rapporte @code{CUPS 2.0.0 (@var{uname})} où @var{uname} est la sortie de la commande @code{uname}. @code{Full} rapporte @code{CUPS 2.0.0 (@var{uname}) IPP/2.0}." #. type: deftypevr -#: doc/guix.texi:12738 +#: doc/guix.texi:13689 msgid "Defaults to @samp{Minimal}." msgstr "La valeur par défaut est @samp{Minimal}." #. type: deftypevr -#: doc/guix.texi:12740 +#: doc/guix.texi:13691 #, no-wrap msgid "{@code{cups-configuration} parameter} string set-env" msgstr "{paramètre de @code{cups-configuration}} string set-env" #. type: deftypevr -#: doc/guix.texi:12742 +#: doc/guix.texi:13693 msgid "Set the specified environment variable to be passed to child processes." msgstr "Indique que la variable d'environnement spécifiée doit être passée aux processus fils." #. type: deftypevr -#: doc/guix.texi:12744 +#: doc/guix.texi:13695 msgid "Defaults to @samp{\"variable value\"}." msgstr "La valeur par défaut est @samp{\"variable value\"}." #. type: deftypevr -#: doc/guix.texi:12746 +#: doc/guix.texi:13697 #, no-wrap msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen" msgstr "{paramètre de @code{cups-configuration}} multiline-string-list ssl-listen" #. type: deftypevr -#: doc/guix.texi:12751 +#: doc/guix.texi:13702 msgid "Listens on the specified interfaces for encrypted connections. Valid values are of the form @var{address}:@var{port}, where @var{address} is either an IPv6 address enclosed in brackets, an IPv4 address, or @code{*} to indicate all addresses." msgstr "Écoute des connexions chiffrées sur les interfaces spécifiées. Les valeurs valides sont de la forme @var{adresse}:@var{port}, où @var{adresse} est soit une adresse IPv6 dans des crochets, soit une adresse IPv4, soit @code{*} pour indiquer toutes les interfaces." #. type: deftypevr -#: doc/guix.texi:12755 +#: doc/guix.texi:13706 #, no-wrap msgid "{@code{cups-configuration} parameter} ssl-options ssl-options" msgstr "{paramètre de @code{cups-configuration}} ssl-options ssl-options" #. type: deftypevr -#: doc/guix.texi:12762 +#: doc/guix.texi:13713 msgid "Sets encryption options. By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites. The @code{AllowRC4} option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones. The @code{AllowSSL3} option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0." msgstr "Indique les options de chiffrement. Par défaut, CUPS ne supporte que le chiffrement avec TLS 1.0 ou plus avec des suites de chiffrement connues pour être sures. L'option @code{AllowRC4} active les suites de chiffrement 128-bits RC4, qui sont requises pour certains vieux clients qui n'implémentent pas les nouvelles. L'option @code{AllowSSL3} active SSL v3.0, qui est requis par certains vieux clients qui ne supportent pas TLS v1.0." #. type: deftypevr -#: doc/guix.texi:12766 +#: doc/guix.texi:13717 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean strict-conformance?" msgstr "{paramètre de @code{cups-configuration}} boolean strict-conformance?" #. type: deftypevr -#: doc/guix.texi:12769 +#: doc/guix.texi:13720 msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications." msgstr "Spécifie si l'ordonnanceur demande aux clients d'adhérer aux spécifications IPP." #. type: deftypevr -#: doc/guix.texi:12773 +#: doc/guix.texi:13724 #, no-wrap msgid "{@code{cups-configuration} parameter} non-negative-integer timeout" msgstr "{paramètre de @code{cups-configuration}} non-negative-integer timeout" #. type: deftypevr -#: doc/guix.texi:12775 +#: doc/guix.texi:13726 msgid "Specifies the HTTP request timeout, in seconds." msgstr "Spécifie le délai d'attente des requêtes HTTP, en secondes." #. type: deftypevr -#: doc/guix.texi:12780 +#: doc/guix.texi:13731 #, no-wrap msgid "{@code{cups-configuration} parameter} boolean web-interface?" msgstr "{paramètre de @code{cups-configuration}} boolean web-interface?" #. type: deftypevr -#: doc/guix.texi:12782 +#: doc/guix.texi:13733 msgid "Specifies whether the web interface is enabled." msgstr "Spécifie si l'interface web est activée." #. type: Plain text -#: doc/guix.texi:12792 +#: doc/guix.texi:13743 msgid "At this point you're probably thinking ``oh dear, Guix manual, I like you but you can stop already with the configuration options''. Indeed. However, one more point: it could be that you have an existing @code{cupsd.conf} that you want to use. In that case, you can pass an @code{opaque-cups-configuration} as the configuration of a @code{cups-service-type}." msgstr "Maintenant, vous vous dîtes peut-être « oh la la, cher manuel de Guix, je t'aime bien mais arrête maintenant avec ces options de configuration »@footnote{NdT : je vous rassure, c'est aussi mon sentiment au moment de traduire ces lignes. Et pour moi, c'est encore loin d'être fini.}. En effet. cependant, encore un point supplémentaire : vous pouvez avoir un fichier @code{cupsd.conf} existant que vous pourriez vouloir utiliser. Dans ce cas, vous pouvez passer un @code{opaque-cups-configuration} en configuration d'un @code{cups-service-type}." #. type: Plain text -#: doc/guix.texi:12794 +#: doc/guix.texi:13745 msgid "Available @code{opaque-cups-configuration} fields are:" msgstr "Les champs de @code{opaque-cups-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:12795 +#: doc/guix.texi:13746 #, no-wrap msgid "{@code{opaque-cups-configuration} parameter} package cups" msgstr "{paramètre de @code{opaque-cups-configuration}} package cups" #. type: deftypevr -#: doc/guix.texi:12799 +#: doc/guix.texi:13750 #, no-wrap msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf" msgstr "{paramètre de @code{opaque-cups-configuration}} string cupsd.conf" #. type: deftypevr -#: doc/guix.texi:12801 +#: doc/guix.texi:13752 msgid "The contents of the @code{cupsd.conf}, as a string." msgstr "Le contenu de @code{cupsd.conf}, en tant que chaîne de caractères." #. type: deftypevr -#: doc/guix.texi:12803 +#: doc/guix.texi:13754 #, no-wrap msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf" msgstr "{paramètre de @code{opaque-cups-configuration}} string cups-files.conf" #. type: deftypevr -#: doc/guix.texi:12805 +#: doc/guix.texi:13756 msgid "The contents of the @code{cups-files.conf} file, as a string." msgstr "Le contenu du fichier @code{cups-files.conf}, en tant que chaîne de caractères." #. type: Plain text -#: doc/guix.texi:12810 +#: doc/guix.texi:13761 msgid "For example, if your @code{cupsd.conf} and @code{cups-files.conf} are in strings of the same name, you could instantiate a CUPS service like this:" msgstr "Par exemple, si vos fichiers @code{cupsd.conf} et @code{cups-files.conf} sont dans des chaînes du même nom, pouvez instancier un service CUPS de cette manière :" #. type: example -#: doc/guix.texi:12816 +#: doc/guix.texi:13767 #, no-wrap msgid "" "(service cups-service-type\n" @@ -23542,114 +25244,114 @@ msgstr "" " (cups-files.conf cups-files.conf)))\n" #. type: Plain text -#: doc/guix.texi:12827 +#: doc/guix.texi:13778 msgid "The @code{(gnu services desktop)} module provides services that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop environments like GNOME, XFCE or MATE." msgstr "Le module @code{(gnu services desktop)} fournit des services qui sont habituellement utiles dans le contexte d'une installation « de bureau » — c'est-à-dire sur une machine qui fait tourner un service d'affichage graphique, éventuellement avec des interfaces utilisateurs graphiques, etc. Il définit aussi des services qui fournissent des environnements de bureau spécifiques comme GNOME, XFCE et MATE." #. type: Plain text -#: doc/guix.texi:12831 +#: doc/guix.texi:13782 msgid "To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical environment and networking:" msgstr "Pour simplifier les choses, le module définit une variable contenant l'ensemble des services que les utilisateurs s'attendent en général à avoir sur une machine avec un environnement graphique et le réseau :" #. type: defvr -#: doc/guix.texi:12832 +#: doc/guix.texi:13783 #, no-wrap msgid "{Scheme Variable} %desktop-services" msgstr "{Variable Scheme} %desktop-services" #. type: defvr -#: doc/guix.texi:12835 +#: doc/guix.texi:13786 msgid "This is a list of services that builds upon @var{%base-services} and adds or adjusts services for a typical ``desktop'' setup." msgstr "C'est la liste des services qui étend @var{%base-services} en ajoutant ou en ajustant des services pour une configuration « de bureau » typique." #. type: defvr -#: doc/guix.texi:12845 +#: doc/guix.texi:13796 msgid "In particular, it adds a graphical login manager (@pxref{X Window, @code{slim-service}}), screen lockers, a network management tool (@pxref{Networking Services, @code{network-manager-service-type}}), energy and color management services, the @code{elogind} login and seat manager, the Polkit privilege service, the GeoClue location service, the AccountsService daemon that allows authorized users change system passwords, an NTP client (@pxref{Networking Services}), the Avahi daemon, and has the name service switch service configured to be able to use @code{nss-mdns} (@pxref{Name Service Switch, mDNS})." msgstr "En particulier, il ajoute un gestionnaire de connexion graphique (@pxref{X Window, @code{slim-service}}), des verrouilleurs d'écran, un outil de gestion réseau (@pxref{Networking Services, @code{network-manager-service-type}}), des services de gestion de l'énergie et des couleurs, le gestionnaire de connexion et de session @code{elogind}, le service de privilèges Polkit, le service de géolocalisation GeoClue, le démon Accounts Service qui permet aux utilisateurs autorisés de changer leur mot de passe, un client NTP (@pxref{Networking Services}), le démon Avahi, et le service name service switch est configuré pour pouvoir utiliser @code{nss-mdns} (@pxref{Name Service Switch, mDNS})." #. type: Plain text -#: doc/guix.texi:12850 +#: doc/guix.texi:13801 msgid "The @var{%desktop-services} variable can be used as the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}})." msgstr "La variable @var{%desktop-services} peut être utilisée comme champ @code{services} d'une déclaration @code{operating-system} (@pxref{operating-system Reference, @code{services}})." #. type: Plain text -#: doc/guix.texi:12873 +#: doc/guix.texi:13824 msgid "Additionally, the @code{gnome-desktop-service}, @code{xfce-desktop-service}, @code{mate-desktop-service} and @code{enlightenment-desktop-service-type} procedures can add GNOME, XFCE, MATE and/or Enlightenment to a system. To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{gnome-desktop-service} adds the GNOME metapackage to the system profile. Likewise, adding the XFCE service not only adds the @code{xfce} metapackage to the system profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. To ``add MATE'' means that @code{polkit} and @code{dbus} are extended appropriately, allowing MATE to operate with elevated privileges on a limited number of special-purpose system interfaces. Additionally, adding a service made by @code{mate-desktop-service} adds the MATE metapackage to the system profile. ``Adding ENLIGHTENMENT'' means that @code{dbus} is extended appropriately, and several of Enlightenment's binaries are set as setuid, allowing Enlightenment's screen locker and other functionality to work as expetected." msgstr "En plus, les procédures @code{gnome-desktop-service}, @code{xfce-desktop-service}, @code{mate-desktop-service} et @code{enlightenment-desktop-service-type} peuvent ajouter GNOME, XFCE, MATE ou Enlightenment à un système. « Ajouter GNOME » signifie que les services du système comme les utilitaires d'ajustement de la luminosité et de gestion de l'énergie sont ajoutés au système, en étendant @code{polkit} et @code{dbus} de la bonne manière, ce qui permet à GNOME d'opérer avec des privilèges plus élevés sur un nombre limité d'interfaces systèmes spécialisées. En plus, ajouter un service construit par @code{gnome-desktop-service} ajoute le métapaquet GNOME au profil du système. de même, ajouter le service XFCE ajoute le métapaquet @code{xfce} au profil système, mais il permet aussi au gestionnaire de fichiers Thunar d'ouvrir une fenêtre de gestion des fichier « en mode root », si l'utilisateur s'authentifie avec le mot de passe administrateur via l'interface graphique polkit standard. « Ajouter MATE » signifie que @code{polkit} et @code{dbus} sont étendue de la bonne manière, ce qui permet à MATE d'opérer avec des privilèges plus élevés sur un nombre limité d'interface systèmes spécialisées. « Ajouter ENLIGHTENMENT » signifie que @code{dbus} est étendu comme il faut et que plusieurs binaires d'Enlightenment récupèrent le bit setuid, ce qui permet au verrouilleur d'écran d'Enlightenment et à d'autres fonctionnalités de fonctionner correctement." #. type: Plain text -#: doc/guix.texi:12882 +#: doc/guix.texi:13833 msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to use the @code{sddm-service} instead of the @code{slim-service} for the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland." msgstr "Les environnement de bureau dans Guix utilisent le service d'affichage Xorg par défaut. Si vous voulez utiliser le protocol de serveur d'affichage plus récent Wayland, vous devez utiliser @code{sddm-service} à la place de @code{slim-service} comme gestionnaire de connexion graphique. Vous devriez ensuite sélectionner la session « GNOME (Wayland) » dans SDDM. Autrement, vous pouvez essayer de démarrer GNOME sur Wayland manuellement depuis un TTY avec la commande @command{XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session}. Actuellement seul GNOME support Wayland." #. type: deffn -#: doc/guix.texi:12883 +#: doc/guix.texi:13834 #, no-wrap msgid "{Scheme Procedure} gnome-desktop-service" msgstr "{Procédure Scheme} gnome-desktop-service" #. type: deffn -#: doc/guix.texi:12887 +#: doc/guix.texi:13838 msgid "Return a service that adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}." msgstr "Renvoie un service qui ajoute le paquet @code{gnome} au profil système et étend polkit avec des actions de @code{gnome-settings-daemon}." #. type: deffn -#: doc/guix.texi:12889 +#: doc/guix.texi:13840 #, no-wrap msgid "{Scheme Procedure} xfce-desktop-service" msgstr "{Procédure Scheme} xfce-desktop-service" #. type: deffn -#: doc/guix.texi:12894 +#: doc/guix.texi:13845 msgid "Return a service that adds the @code{xfce} package to the system profile, and extends polkit with the ability for @code{thunar} to manipulate the file system as root from within a user session, after the user has authenticated with the administrator's password." msgstr "Renvoie un service qui ajoute le paquet @code{xfce} au profil du système et étend polkit avec la capacité pour @code{thunar} de manipuler le système de fichier en tant que root depuis une session utilisateur, après que l'utilisateur s'est authentifié avec le mot de passe administrateur." #. type: deffn -#: doc/guix.texi:12896 +#: doc/guix.texi:13847 #, no-wrap msgid "{Scheme Procedure} mate-desktop-service" msgstr "{Procédure Scheme} mate-desktop-service" #. type: deffn -#: doc/guix.texi:12900 +#: doc/guix.texi:13851 msgid "Return a service that adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}." msgstr "Renvoie un service qui ajoute le paquet @code{mate} au profil du système et étend polkit avec les actions de @code{mate-settings-daemon}." #. type: deffn -#: doc/guix.texi:12902 +#: doc/guix.texi:13853 #, no-wrap msgid "{Scheme Procedure} enlightenment-desktop-service-type" msgstr "{Procédure Scheme} enlightenment-desktop-service-type" #. type: deffn -#: doc/guix.texi:12905 +#: doc/guix.texi:13856 msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}." msgstr "Renvoie un service qui ajoute le paquet @code{enlightenment} et étend dbus avec les actions de @code{efl}" #. type: deftp -#: doc/guix.texi:12907 +#: doc/guix.texi:13858 #, no-wrap msgid "{Data Type} enlightenment-desktop-service-configuration" msgstr "{Type de données} enlightenment-desktop-service-configuration" #. type: item -#: doc/guix.texi:12909 +#: doc/guix.texi:13860 #, no-wrap msgid "@code{enlightenment} (default @code{enlightenment})" msgstr "@code{enlightenment} (par défaut : @code{enlightenment})" #. type: table -#: doc/guix.texi:12911 +#: doc/guix.texi:13862 msgid "The enlightenment package to use." msgstr "Le paquet enlightenment à utiliser." #. type: Plain text -#: doc/guix.texi:12919 +#: doc/guix.texi:13870 msgid "Because the GNOME, XFCE and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include any of them by default. To add GNOME, XFCE or MATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}:" msgstr "Comme les services de bureau GNOME, XFCE et MATE récupèrent tant de paquet, la variable @code{%desktop-services} par défaut n'inclut aucun d'entre eux. Pour ajouter GNOME, XFCE ou MATE, utilisez @code{cons} pour les ajouter à @code{%desktop-services} dans le champ @code{services} de votre @code{operating-system}." #. type: example -#: doc/guix.texi:12930 +#: doc/guix.texi:13881 #, no-wrap msgid "" "(use-modules (gnu))\n" @@ -23673,327 +25375,327 @@ msgstr "" " ...)\n" #. type: Plain text -#: doc/guix.texi:12934 +#: doc/guix.texi:13885 msgid "These desktop environments will then be available as options in the graphical login window." msgstr "Ces environnements de bureau seront alors disponibles comme une option dans la fenêtre de connexion graphique." #. type: Plain text -#: doc/guix.texi:12938 +#: doc/guix.texi:13889 msgid "The actual service definitions included in @code{%desktop-services} and provided by @code{(gnu services dbus)} and @code{(gnu services desktop)} are described below." msgstr "Les définitions de service qui sont vraiment incluses dans @code{%desktop-services} et fournies par @code{(gnu services dbus)} et @code{(gnu services desktop)} sont décrites plus bas." #. type: deffn -#: doc/guix.texi:12939 +#: doc/guix.texi:13890 #, no-wrap msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]" msgstr "{Procédure Scheme} dbus-service [#:dbus @var{dbus}] [#:services '()]" #. type: deffn -#: doc/guix.texi:12942 +#: doc/guix.texi:13893 msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}." msgstr "Renvoie un service qui lance le « bus système », @var{dbus}, avec le support de @var{services}." #. type: deffn -#: doc/guix.texi:12946 +#: doc/guix.texi:13897 msgid "@uref{http://dbus.freedesktop.org/, D-Bus} is an inter-process communication facility. Its system bus is used to allow system services to communicate and to be notified of system-wide events." msgstr "@uref{http://dbus.freedesktop.org/, D-Bus} est un utilitaire de communication inter-processus. Son bus système est utilisé pour permettre à des services systèmes de communiquer et d'être notifiés d'événements systèmes." #. type: deffn -#: doc/guix.texi:12951 +#: doc/guix.texi:13902 msgid "@var{services} must be a list of packages that provide an @file{etc/dbus-1/system.d} directory containing additional D-Bus configuration and policy files. For example, to allow avahi-daemon to use the system bus, @var{services} must be equal to @code{(list avahi)}." msgstr "@var{services} doit être une liste de paquets qui fournissent un répertoire @file{etc/dbus-1/system.d} contenant de la configuration D-Bus supplémentaire et des fichiers de politiques. Par exemple, pour permettre à avahi-daemon d'utiliser le bus système, @var{services} doit être égal à @code{(list avahi)}." #. type: deffn -#: doc/guix.texi:12953 +#: doc/guix.texi:13904 #, no-wrap msgid "{Scheme Procedure} elogind-service [#:config @var{config}]" msgstr "{Procédure Scheme} elogind-service [#:config @var{config}]" #. type: deffn -#: doc/guix.texi:12959 +#: doc/guix.texi:13910 msgid "Return a service that runs the @code{elogind} login and seat management daemon. @uref{https://github.com/elogind/elogind, Elogind} exposes a D-Bus interface that can be used to know which users are logged in, know what kind of sessions they have open, suspend the system, inhibit system suspend, reboot the system, and other tasks." msgstr "Renvoie un service qui lance le démon de gestion de connexion et de session @code{elogind}. @uref{https://github.com/elogind/elogind, Elogind} expose une interface D-Bus qui peut être utilisée pour connaître quels utilisateurs sont connectés, le type de session qu'ils sont ouverte, suspendre le système, désactiver la veille système, redémarrer le système et d'autre taches." #. type: deffn -#: doc/guix.texi:12963 +#: doc/guix.texi:13914 msgid "Elogind handles most system-level power events for a computer, for example suspending the system when a lid is closed, or shutting it down when the power button is pressed." msgstr "Elogind gère la plupart des événements liés à l'énergie du système, par exemple mettre en veille le système quand l'écran est rabattu ou en l'éteignant quand le bouton de démarrage est appuyé." #. type: deffn -#: doc/guix.texi:12968 +#: doc/guix.texi:13919 msgid "The @var{config} keyword argument specifies the configuration for elogind, and should be the result of an @code{(elogind-configuration (@var{parameter} @var{value})...)} invocation. Available parameters and their default values are:" msgstr "L'argument @var{config} spécifie la configuration d'elogind et devrait être le résultat d'une invocation de @code{(elogind-configuration (@var{parameter} @var{value})...)}. Les paramètres disponibles et leur valeur par défaut sont :" #. type: item -#: doc/guix.texi:12970 +#: doc/guix.texi:13921 #, no-wrap msgid "kill-user-processes?" msgstr "kill-user-processes?" #. type: code{#1} -#: doc/guix.texi:12972 doc/guix.texi:12990 doc/guix.texi:12992 -#: doc/guix.texi:12994 doc/guix.texi:13006 +#: doc/guix.texi:13923 doc/guix.texi:13941 doc/guix.texi:13943 +#: doc/guix.texi:13945 doc/guix.texi:13957 msgid "#f" msgstr "#f" #. type: item -#: doc/guix.texi:12972 +#: doc/guix.texi:13923 #, no-wrap msgid "kill-only-users" msgstr "kill-only-users" #. type: code{#1} -#: doc/guix.texi:12974 doc/guix.texi:13012 +#: doc/guix.texi:13925 doc/guix.texi:13963 msgid "()" msgstr "()" #. type: item -#: doc/guix.texi:12974 +#: doc/guix.texi:13925 #, no-wrap msgid "kill-exclude-users" msgstr "kill-exclude-users" #. type: code{#1} -#: doc/guix.texi:12976 +#: doc/guix.texi:13927 msgid "(\"root\")" msgstr "(\"root\")" #. type: item -#: doc/guix.texi:12976 +#: doc/guix.texi:13927 #, no-wrap msgid "inhibit-delay-max-seconds" msgstr "inhibit-delay-max-seconds" #. type: code{#1} -#: doc/guix.texi:12978 +#: doc/guix.texi:13929 msgid "5" msgstr "5" #. type: item -#: doc/guix.texi:12978 +#: doc/guix.texi:13929 #, no-wrap msgid "handle-power-key" msgstr "handle-power-key" #. type: code{#1} -#: doc/guix.texi:12980 +#: doc/guix.texi:13931 msgid "poweroff" msgstr "poweroff" #. type: item -#: doc/guix.texi:12980 +#: doc/guix.texi:13931 #, no-wrap msgid "handle-suspend-key" msgstr "handle-suspend-key" #. type: code{#1} -#: doc/guix.texi:12982 doc/guix.texi:12986 +#: doc/guix.texi:13933 doc/guix.texi:13937 msgid "suspend" msgstr "suspend" #. type: item -#: doc/guix.texi:12982 +#: doc/guix.texi:13933 #, no-wrap msgid "handle-hibernate-key" msgstr "handle-hibernate-key" #. type: code{#1} -#: doc/guix.texi:12984 +#: doc/guix.texi:13935 msgid "hibernate" msgstr "hibernate" #. type: item -#: doc/guix.texi:12984 +#: doc/guix.texi:13935 #, no-wrap msgid "handle-lid-switch" msgstr "handle-lid-switch" #. type: item -#: doc/guix.texi:12986 +#: doc/guix.texi:13937 #, no-wrap msgid "handle-lid-switch-docked" msgstr "handle-lid-switch-docked" #. type: code{#1} -#: doc/guix.texi:12988 doc/guix.texi:13000 +#: doc/guix.texi:13939 doc/guix.texi:13951 msgid "ignore" msgstr "ignore" #. type: item -#: doc/guix.texi:12988 +#: doc/guix.texi:13939 #, no-wrap msgid "power-key-ignore-inhibited?" msgstr "power-key-ignore-inhibited?" #. type: item -#: doc/guix.texi:12990 +#: doc/guix.texi:13941 #, no-wrap msgid "suspend-key-ignore-inhibited?" msgstr "suspend-key-ignore-inhibited?" #. type: item -#: doc/guix.texi:12992 +#: doc/guix.texi:13943 #, no-wrap msgid "hibernate-key-ignore-inhibited?" msgstr "hibernate-key-ignore-inhibited?" #. type: item -#: doc/guix.texi:12994 +#: doc/guix.texi:13945 #, no-wrap msgid "lid-switch-ignore-inhibited?" msgstr "lid-switch-ignore-inhibited?" #. type: code{#1} -#: doc/guix.texi:12996 doc/guix.texi:13008 +#: doc/guix.texi:13947 doc/guix.texi:13959 msgid "#t" msgstr "#t" #. type: item -#: doc/guix.texi:12996 +#: doc/guix.texi:13947 #, no-wrap msgid "holdoff-timeout-seconds" msgstr "holdoff-timeout-seconds" #. type: code{#1} -#: doc/guix.texi:12998 +#: doc/guix.texi:13949 msgid "30" msgstr "30" #. type: item -#: doc/guix.texi:12998 +#: doc/guix.texi:13949 #, no-wrap msgid "idle-action" msgstr "idle-action" #. type: item -#: doc/guix.texi:13000 +#: doc/guix.texi:13951 #, no-wrap msgid "idle-action-seconds" msgstr "idle-action-seconds" #. type: code{#1} -#: doc/guix.texi:13002 +#: doc/guix.texi:13953 msgid "(* 30 60)" msgstr "(* 30 60)" #. type: item -#: doc/guix.texi:13002 +#: doc/guix.texi:13953 #, no-wrap msgid "runtime-directory-size-percent" msgstr "runtime-directory-size-percent" #. type: code{#1} -#: doc/guix.texi:13004 +#: doc/guix.texi:13955 msgid "10" msgstr "10" #. type: item -#: doc/guix.texi:13004 +#: doc/guix.texi:13955 #, no-wrap msgid "runtime-directory-size" msgstr "runtime-directory-size" #. type: item -#: doc/guix.texi:13006 +#: doc/guix.texi:13957 #, no-wrap msgid "remove-ipc?" msgstr "remove-ipc?" #. type: item -#: doc/guix.texi:13008 +#: doc/guix.texi:13959 #, no-wrap msgid "suspend-state" msgstr "suspend-state" #. type: code{#1} -#: doc/guix.texi:13010 +#: doc/guix.texi:13961 msgid "(\"mem\" \"standby\" \"freeze\")" msgstr "(\"mem\" \"standby\" \"freeze\")" #. type: item -#: doc/guix.texi:13010 +#: doc/guix.texi:13961 #, no-wrap msgid "suspend-mode" msgstr "suspend-mode" #. type: item -#: doc/guix.texi:13012 +#: doc/guix.texi:13963 #, no-wrap msgid "hibernate-state" msgstr "hibernate-state" #. type: code{#1} -#: doc/guix.texi:13014 doc/guix.texi:13018 +#: doc/guix.texi:13965 doc/guix.texi:13969 msgid "(\"disk\")" msgstr "(\"disk\")" #. type: item -#: doc/guix.texi:13014 +#: doc/guix.texi:13965 #, no-wrap msgid "hibernate-mode" msgstr "hibernate-mode" #. type: code{#1} -#: doc/guix.texi:13016 +#: doc/guix.texi:13967 msgid "(\"platform\" \"shutdown\")" msgstr "(\"platform\" \"shutdown\")" #. type: item -#: doc/guix.texi:13016 +#: doc/guix.texi:13967 #, no-wrap msgid "hybrid-sleep-state" msgstr "hybrid-sleep-state" #. type: item -#: doc/guix.texi:13018 +#: doc/guix.texi:13969 #, no-wrap msgid "hybrid-sleep-mode" msgstr "hybrid-sleep-mode" #. type: code{#1} -#: doc/guix.texi:13020 +#: doc/guix.texi:13971 msgid "(\"suspend\" \"platform\" \"shutdown\")" msgstr "(\"suspend\" \"platform\" \"shutdown\")" #. type: deffn -#: doc/guix.texi:13023 +#: doc/guix.texi:13974 #, no-wrap msgid "{Scheme Procedure} accountsservice-service @" msgstr "{Procédure Scheme} accountsservice-service @" #. type: deffn -#: doc/guix.texi:13031 +#: doc/guix.texi:13982 msgid "[#:accountsservice @var{accountsservice}] Return a service that runs AccountsService, a system service that can list available accounts, change their passwords, and so on. AccountsService integrates with PolicyKit to enable unprivileged users to acquire the capability to modify their system configuration. @uref{https://www.freedesktop.org/wiki/Software/AccountsService/, the accountsservice web site} for more information." msgstr "" "[#:accountsservice @var{accountsservice}]\n" "Renvoie un service qui lance AccountsService, un service système qui peut lister les comptes disponibles, changer leur mot de passe, etc. AccountsService s'intègre à Polkit pour permettre aux utilisateurs non privilégiés de pouvoir modifier la configuration de leur système. @uref{https://www.freedesktop.org/wiki/Software/AccountsService/, le site de accountsservice} pour trouver plus d'informations." #. type: deffn -#: doc/guix.texi:13034 +#: doc/guix.texi:13985 msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service." msgstr "L'argument @var{accountsservice} est le paquet @code{accountsservice} à exposer comme un service." #. type: deffn -#: doc/guix.texi:13036 +#: doc/guix.texi:13987 #, no-wrap msgid "{Scheme Procedure} polkit-service @" msgstr "{Procédure Scheme} polkit-service @" #. type: deffn -#: doc/guix.texi:13045 +#: doc/guix.texi:13996 msgid "[#:polkit @var{polkit}] Return a service that runs the @uref{http://www.freedesktop.org/wiki/Software/polkit/, Polkit privilege management service}, which allows system administrators to grant access to privileged operations in a structured way. By querying the Polkit service, a privileged system component can know when it should grant additional capabilities to ordinary users. For example, an ordinary user can be granted the capability to suspend the system if the user is logged in locally." msgstr "" "[#:polkit @var{polkit}]\n" "Renvoie un service qui lance le @uref{http://www.freedesktop.org/wiki/Software/polkit/, service de gestion des privilèges Polkit}, qui permet aux administrateurs systèmes de permettre l'accès à des opération privilégiées d'une manière structurée. En demandant au service Polkit, un composant système privilégié peut savoir lorsqu'il peut donner des privilèges supplémentaires à des utilisateurs normaux. Par exemple, un utilisateur normal peut obtenir le droit de mettre le système en veille si l'utilisateur est connecté localement." #. type: deffn -#: doc/guix.texi:13047 +#: doc/guix.texi:13998 #, no-wrap msgid "{Scheme Procedure} upower-service [#:upower @var{upower}] @" msgstr "{Procédure Scheme} upower-service [#:upower @var{upower}] @" #. type: deffn -#: doc/guix.texi:13064 +#: doc/guix.texi:14015 msgid "[#:watts-up-pro? #f] @ [#:poll-batteries? #t] @ [#:ignore-lid? #f] @ [#:use-percentage-for-policy? #f] @ [#:percentage-low 10] @ [#:percentage-critical 3] @ [#:percentage-action 2] @ [#:time-low 1200] @ [#:time-critical 300] @ [#:time-action 120] @ [#:critical-power-action 'hybrid-sleep] Return a service that runs @uref{http://upower.freedesktop.org/, @command{upowerd}}, a system-wide monitor for power consumption and battery levels, with the given configuration settings. It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME." msgstr "" "[#:watts-up-pro? #f] @\n" @@ -24010,57 +25712,57 @@ msgstr "" "Renvoie un service qui lance @uref{http://upower.freedesktop.org/, @command{upowerd}}, un moniteur système pour la consommation électrique et le niveau de batterie, avec les paramètres de configuration données. Il implémente l'interface D-Bus @code{org.freedesktop.UPower} et est notamment utilisé par GNOME." #. type: deffn -#: doc/guix.texi:13066 +#: doc/guix.texi:14017 #, no-wrap msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]" msgstr "{Procédure Scheme} udisks-service [#:udisks @var{udisks}]" #. type: deffn -#: doc/guix.texi:13071 +#: doc/guix.texi:14022 msgid "Return a service for @uref{http://udisks.freedesktop.org/docs/latest/, UDisks}, a @dfn{disk management} daemon that provides user interfaces with notifications and ways to mount/unmount disks. Programs that talk to UDisks include the @command{udisksctl} command, part of UDisks, and GNOME Disks." msgstr "Renvoie un service pour @uref{http://udisks.freedesktop.org/docs/latest/, UDisks}, un démon de @dfn{gestion de disques} qui fournit des notifications et la capacité de monter et démonter des disques à des interfaces utilisateurs. Les programmes qui parlent à UDisks sont par exemple la commande @command{udisksctl}, qui fait partie de UDisks et GNOME Disks." #. type: deffn -#: doc/guix.texi:13073 +#: doc/guix.texi:14024 #, no-wrap msgid "{Scheme Procedure} colord-service [#:colord @var{colord}]" msgstr "{Procédure Scheme} colord-service [#:colord @var{colord}]" #. type: deffn -#: doc/guix.texi:13079 +#: doc/guix.texi:14030 msgid "Return a service that runs @command{colord}, a system service with a D-Bus interface to manage the color profiles of input and output devices such as screens and scanners. It is notably used by the GNOME Color Manager graphical tool. See @uref{http://www.freedesktop.org/software/colord/, the colord web site} for more information." msgstr "Renvoie un service qui lance @command{colord}, un service système avec une interface D-Bus pour gérer les profils de couleur des périphériques d'entrées et de sorties comme les écrans et les scanners. Il est notamment utilisé par l'outil graphique GNOME Color Manager. Voir @uref{http://www.freedesktop.org/software/colord/, le site web de colord} pour plus d'informations." #. type: deffn -#: doc/guix.texi:13081 +#: doc/guix.texi:14032 #, no-wrap msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]" msgstr "{Procédure Scheme} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]" #. type: deffn -#: doc/guix.texi:13090 +#: doc/guix.texi:14041 msgid "Return a configuration allowing an application to access GeoClue location data. @var{name} is the Desktop ID of the application, without the @code{.desktop} part. If @var{allowed?} is true, the application will have access to location information by default. The boolean @var{system?} value indicates whether an application is a system component or not. Finally @var{users} is a list of UIDs of all users for which this application is allowed location info access. An empty users list means that all users are allowed." msgstr "Renvoie une configuration qui permet d'accéder aux données de localisation de GeoClue. @var{name} est l'ID Desktop de l'application, sans la partie en @code{.desktop}. Si @var{allowed?} est vraie, l'application aura droit d'accéder aux informations de localisation par défaut. Le booléen @var{system?} indique si une application est un composant système ou non. Enfin @var{users} est la liste des UID des utilisateurs pour lesquels cette application a le droit d'accéder aux informations de géolocalisation. Une liste d'utilisateurs vide indique que tous les utilisateurs sont autorisés." #. type: defvr -#: doc/guix.texi:13092 +#: doc/guix.texi:14043 #, no-wrap msgid "{Scheme Variable} %standard-geoclue-applications" msgstr "{Variable Scheme} %standard-geoclue-applications" #. type: defvr -#: doc/guix.texi:13099 +#: doc/guix.texi:14050 msgid "The standard list of well-known GeoClue application configurations, granting authority to the GNOME date-and-time utility to ask for the current location in order to set the time zone, and allowing the IceCat and Epiphany web browsers to request location information. IceCat and Epiphany both query the user before allowing a web page to know the user's location." msgstr "la liste standard de configuration des application GeoClue connues, qui permet à l'utilitaire date-and-time de GNOME de demander l'emplacement actuel pour initialiser le fuseau horaire et aux navigateurs web IceCat et Epiphany de demander les informations de localisation. IceCat et Epiphany demandent tous deux à l'utilisateur avant de permettre à une page web de connaître l'emplacement de l'utilisateur." #. type: deffn -#: doc/guix.texi:13101 +#: doc/guix.texi:14052 #, no-wrap msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @" msgstr "{Procédure Scheme} geoclue-service [#:colord @var{colord}] @" #. type: deffn -#: doc/guix.texi:13114 +#: doc/guix.texi:14065 msgid "[#:whitelist '()] @ [#:wifi-geolocation-url \"https://location.services.mozilla.com/v1/geolocate?key=geoclue\"] @ [#:submit-data? #f] [#:wifi-submission-url \"https://location.services.mozilla.com/v1/submit?key=geoclue\"] @ [#:submission-nick \"geoclue\"] @ [#:applications %standard-geoclue-applications] Return a service that runs the GeoClue location service. This service provides a D-Bus interface to allow applications to request access to a user's physical location, and optionally to add information to online location databases. See @uref{https://wiki.freedesktop.org/www/Software/GeoClue/, the GeoClue web site} for more information." msgstr "" "[#:whitelist '()] @\n" @@ -24071,125 +25773,222 @@ msgstr "" "Renvoie un service qui lance le service de géolocalisation GeoClue. Ce service fournit une interface D-Bus pour permettre aux applications de demande l'accès à la position de l'utilisateur et éventuellement d'ajouter des informations à des bases de données de géolocalisation en ligne. Voir @uref{https://wiki.freedesktop.org/www/Software/GeoClue/, le site web de GeoClue} pour plus d'informations." #. type: deffn -#: doc/guix.texi:13116 +#: doc/guix.texi:14067 #, no-wrap msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @" msgstr "{Procédure Scheme} bluetooth-service [#:bluez @var{bluez}] @" #. type: deffn -#: doc/guix.texi:13123 +#: doc/guix.texi:14074 msgid "[@w{#:auto-enable? #f}] Return a service that runs the @command{bluetoothd} daemon, which manages all the Bluetooth devices and provides a number of D-Bus interfaces. When AUTO-ENABLE? is true, the bluetooth controller is powered automatically at boot, which can be useful when using a bluetooth keyboard or mouse." msgstr "" "[@w{#:auto-enable? #f}]\n" "Renvoie un service qui lance le démon @command{bluetoothd} qui gère tous les appareils Bluetooth et fournit un certain nombre d'interfaces D-Bus. Lorsque @var{auto-enable?} est vraie, le contrôler bluetooth est automatiquement alimenté au démarrage, ce qui peut être utile lorsque vous utilisez un clavier ou une souris bluetooth." #. type: deffn -#: doc/guix.texi:13125 +#: doc/guix.texi:14076 msgid "Users need to be in the @code{lp} group to access the D-Bus service." msgstr "Les utilisateurs doivent être dans le groupe @code{lp} pour accéder au service D-Bus." #. type: cindex -#: doc/guix.texi:13130 +#: doc/guix.texi:14081 #, no-wrap msgid "sound support" msgstr "support du son" #. type: cindex -#: doc/guix.texi:13131 +#: doc/guix.texi:14082 #, no-wrap msgid "ALSA" msgstr "ALSA" #. type: cindex -#: doc/guix.texi:13132 +#: doc/guix.texi:14083 #, no-wrap msgid "PulseAudio, sound support" msgstr "PulseAudio, support du son" #. type: Plain text -#: doc/guix.texi:13139 -msgid "The @code{(gnu services sound)} module provides an @code{alsa-service-type} service to generate an ALSA @file{/etc/asound.conf} configuration file. This configuration file is what allows applications that produce sound using ALSA to be correctly handled." -msgstr "Le module @code{(gnu services sound)} fournit un service @code{alsa-service-type} pour générer un fichier de configuration @file{/etc/asound.conf}. Ce fichier de configuration est ce qui permet aux applications de produire du son avec ALSA d'être correctement gérées." +#: doc/guix.texi:14088 +msgid "The @code{(gnu services sound)} module provides a service to configure the Advanced Linux Sound Architecture (ALSA) system, which makes PulseAudio the preferred ALSA output driver." +msgstr "Le module @code{(gnu services sound)} fournit un service pour configurer le système ALSA (architecture son linux avancée), qui fait de PulseAudio le pilote de sortie préféré d'ALSA." #. type: deffn -#: doc/guix.texi:13140 +#: doc/guix.texi:14089 #, no-wrap msgid "{Scheme Variable} alsa-service-type" msgstr "{Variable Scheme} alsa-service-type" #. type: deffn -#: doc/guix.texi:13143 -msgid "This is the type for the @uref{https://alsa-project.org/, ALSA}, @command{alsa-configuration} record as in this example:" -msgstr "C'est le type pour @uref{https://alsa-project.org/, ALSA}, que demande un enregistrement @command{alsa-configuration} comme dans cet exemple :" +#: doc/guix.texi:14094 +msgid "This is the type for the @uref{https://alsa-project.org/, Advanced Linux Sound Architecture} (ALSA) system, which generates the @file{/etc/asound.conf} configuration file. The value for this type is a @command{alsa-configuration} record as in this example:" +msgstr "C'est le type pour le système @uref{https://alsa-project.org/, Advanced Linux Sound Architecture} (ALSA), qui génère le fichier de configuration @file{/etc/asound.conf}. La valer de ce type est un enregistrement @command{alsa-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:13146 +#: doc/guix.texi:14097 #, no-wrap msgid "(service alsa-service-type)\n" msgstr "(service alsa-service-type)\n" #. type: deffn -#: doc/guix.texi:13149 +#: doc/guix.texi:14100 msgid "See below for details about @code{alsa-configuration}." msgstr "Voir plus bas pour des détails sur @code{alsa-configuration}." #. type: deftp -#: doc/guix.texi:13151 +#: doc/guix.texi:14102 #, no-wrap msgid "{Data Type} alsa-configuration" msgstr "{Type de données} alsa-configuration" #. type: deftp -#: doc/guix.texi:13153 +#: doc/guix.texi:14104 msgid "Data type representing the configuration for @code{alsa-service}." msgstr "Type de données représentant la configuration pour @code{alsa-service}." #. type: item -#: doc/guix.texi:13155 +#: doc/guix.texi:14106 +#, no-wrap +msgid "@code{alsa-plugins} (default: @var{alsa-plugins})" +msgstr "@code{alsa-plugins} (par défaut : @var{alsa-plugins})" + +#. type: table +#: doc/guix.texi:14108 +msgid "@code{alsa-plugins} package to use." +msgstr "Le paquet @code{alsa-plugins} à utiliser." + +#. type: item +#: doc/guix.texi:14109 #, no-wrap msgid "@code{pulseaudio?} (default: @var{#t})" msgstr "@code{pulseaudio?} (par défaut : @var{#t})" #. type: table -#: doc/guix.texi:13158 +#: doc/guix.texi:14112 msgid "Whether ALSA applications should transparently be made to use the @uref{http://www.pulseaudio.org/, PulseAudio} sound server." msgstr "Indique si les applications ALSA devraient utiliser le serveur de son @uref{http://www.pulseaudio.org/, PulseAudio} de manière transparente pour elles." #. type: table -#: doc/guix.texi:13162 +#: doc/guix.texi:14116 msgid "Using PulseAudio allows you to run several sound-producing applications at the same time and to individual control them @i{via} @command{pavucontrol}, among other things." msgstr "Utiliser PulseAudio vous permet dans lancer plusieurs applications qui produisent du son en même temps et de les contrôler individuellement via @command{pavucontrol} entre autres choses." #. type: item -#: doc/guix.texi:13163 +#: doc/guix.texi:14117 #, no-wrap msgid "@code{extra-options} (default: @var{\"\"})" msgstr "@code{extra-options} (par défaut : @var{\"\"})" #. type: table -#: doc/guix.texi:13165 -msgid "String to append to the @file{asound.conf} file." -msgstr "Chaîne à ajouter au fichier @file{asound.conf}." +#: doc/guix.texi:14119 +msgid "String to append to the @file{/etc/asound.conf} file." +msgstr "Chaîne à ajouter au fichier @file{/etc/asound.conf}." + +#. type: Plain text +#: doc/guix.texi:14125 +msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:" +msgstr "Les utilisateurs individuels qui veulent modifier la configuration système d'ALSA peuvent le faire avec le fichier @file{~/.asoundrc} :" + +#. type: example +#: doc/guix.texi:14131 +#, no-wrap +msgid "" +"# In guix, we have to specify the absolute path for plugins.\n" +"pcm_type.jack @{\n" +" lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n" +"@}\n" +"\n" +msgstr "" +"# Dans guix, il faut spécifier le chemin absolu des greffons.\n" +"pcm_type.jack @{\n" +" lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n" +"@}\n" +"\n" + +#. type: example +#: doc/guix.texi:14140 +#, no-wrap +msgid "" +"# Routing ALSA to jack:\n" +"# .\n" +"pcm.rawjack @{\n" +" type jack\n" +" playback_ports @{\n" +" 0 system:playback_1\n" +" 1 system:playback_2\n" +" @}\n" +"\n" +msgstr "" +"# Faire passer ALSA par Jack :\n" +"# .\n" +"pcm.rawjack @{\n" +" type jack\n" +" playback_ports @{\n" +" 0 system:playback_1\n" +" 1 system:playback_2\n" +" @}\n" +"\n" + +#. type: example +#: doc/guix.texi:14146 +#, no-wrap +msgid "" +" capture_ports @{\n" +" 0 system:capture_1\n" +" 1 system:capture_2\n" +" @}\n" +"@}\n" +"\n" +msgstr "" +" capture_ports @{\n" +" 0 system:capture_1\n" +" 1 system:capture_2\n" +" @}\n" +"@}\n" +"\n" + +#. type: example +#: doc/guix.texi:14153 +#, no-wrap +msgid "" +"pcm.!default @{\n" +" type plug\n" +" slave @{\n" +" pcm \"rawjack\"\n" +" @}\n" +"@}\n" +msgstr "" +"pcm.!default @{\n" +" type plug\n" +" slave @{\n" +" pcm \"rawjack\"\n" +" @}\n" +"@}\n" + +#. type: Plain text +#: doc/guix.texi:14157 +msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details." +msgstr "Voir @uref{https://www.alsa-project.org/main/index.php/Asoundrc} pour les détails." #. type: cindex -#: doc/guix.texi:13173 +#: doc/guix.texi:14163 #, no-wrap msgid "SQL" msgstr "SQL" #. type: Plain text -#: doc/guix.texi:13175 +#: doc/guix.texi:14165 msgid "The @code{(gnu services databases)} module provides the following services." msgstr "Le module @code{(gnu services databases)} fournit les services suivants." #. type: deffn -#: doc/guix.texi:13176 +#: doc/guix.texi:14166 #, no-wrap msgid "{Scheme Procedure} postgresql-service [#:postgresql postgresql] @" msgstr "{Procédure Scheme} postgresql-service [#:postgresql postgresql] @" #. type: deffn -#: doc/guix.texi:13181 +#: doc/guix.texi:14171 msgid "[#:config-file] [#:data-directory ``/var/lib/postgresql/data''] @ [#:port 5432] [#:locale ``en_US.utf8''] Return a service that runs @var{postgresql}, the PostgreSQL database server." msgstr "" "[#:config-file] [#:data-directory ``/var/lib/postgresql/data''] @\n" @@ -24197,320 +25996,320 @@ msgstr "" "Renvoie un service qui lance @var{postgresql}, le service de bases de données PostgreSQL." #. type: deffn -#: doc/guix.texi:13185 +#: doc/guix.texi:14175 msgid "The PostgreSQL daemon loads its runtime configuration from @var{config-file}, creates a database cluster with @var{locale} as the default locale, stored in @var{data-directory}. It then listens on @var{port}." msgstr "Le démon PostgreSQL charge sa configuration à l'exécution depuis @var{config-file}, crée une grappe de bases de données avec @var{locale} comme paramètre de régionalisation par défaut, stockée dans @var{data-directory}. Il écoute ensuite sur @var{port}." #. type: deffn -#: doc/guix.texi:13187 +#: doc/guix.texi:14177 #, no-wrap msgid "{Scheme Procedure} mysql-service [#:config (mysql-configuration)]" msgstr "{Procédure Scheme} mysql-service [#:config (mysql-configuration)]" #. type: deffn -#: doc/guix.texi:13190 +#: doc/guix.texi:14180 msgid "Return a service that runs @command{mysqld}, the MySQL or MariaDB database server." msgstr "Renvoie un service qui lance @command{mysqld}, le service de bases de données MySQL ou MariaDB." #. type: deffn -#: doc/guix.texi:13193 +#: doc/guix.texi:14183 msgid "The optional @var{config} argument specifies the configuration for @command{mysqld}, which should be a @code{} object." msgstr "L'argument @var{config} facultatif spécifie la configuration de @command{mysqld}, qui devrait être un objet @code{}." #. type: deftp -#: doc/guix.texi:13195 +#: doc/guix.texi:14185 #, no-wrap msgid "{Data Type} mysql-configuration" msgstr "{Type de données} mysql-configuration" #. type: deftp -#: doc/guix.texi:13197 +#: doc/guix.texi:14187 msgid "Data type representing the configuration of @var{mysql-service}." msgstr "Type de données représentant la configuration de @var{mysql-service}." #. type: item -#: doc/guix.texi:13199 +#: doc/guix.texi:14189 #, no-wrap msgid "@code{mysql} (default: @var{mariadb})" msgstr "@code{mysql} (par défaut : @var{mariadb})" #. type: table -#: doc/guix.texi:13202 +#: doc/guix.texi:14192 msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}." msgstr "Objet paquet du serveur de base de données MySQL, qui peut être soit @var{mariadb}, soit @var{mysql}." #. type: table -#: doc/guix.texi:13205 +#: doc/guix.texi:14195 msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty." msgstr "Pour MySQL, un mot de passe root temporaire sera affiché à l'activation. Pour MariaDB, le mot de passe root est vide." #. type: item -#: doc/guix.texi:13206 +#: doc/guix.texi:14196 #, no-wrap msgid "@code{port} (default: @code{3306})" msgstr "@code{port} (par défaut : @code{3306})" #. type: table -#: doc/guix.texi:13208 +#: doc/guix.texi:14198 msgid "TCP port on which the database server listens for incoming connections." msgstr "Port TCP sur lequel le serveur de base de données écoute les connexions entrantes." #. type: defvr -#: doc/guix.texi:13211 +#: doc/guix.texi:14201 #, no-wrap msgid "{Scheme Variable} memcached-service-type" msgstr "{Variable Scheme} memcached-service-type" #. type: defvr -#: doc/guix.texi:13215 +#: doc/guix.texi:14205 msgid "This is the service type for the @uref{https://memcached.org/, Memcached} service, which provides a distributed in memory cache. The value for the service type is a @code{memcached-configuration} object." msgstr "C'est le type de service pour le service @uref{https://memcached.org/, Memcached} qui fournit un cache en mémoire distribué. La valeur pour le type de service est un objet @code{memcached-configuration}." #. type: example -#: doc/guix.texi:13219 +#: doc/guix.texi:14209 #, no-wrap msgid "(service memcached-service-type)\n" msgstr "(service memcached-service-type)\n" #. type: deftp -#: doc/guix.texi:13221 +#: doc/guix.texi:14211 #, no-wrap msgid "{Data Type} memcached-configuration" msgstr "{Type de données} memcached-configuration" #. type: deftp -#: doc/guix.texi:13223 +#: doc/guix.texi:14213 msgid "Data type representing the configuration of memcached." msgstr "Type de données représentant la configuration de memcached." #. type: item -#: doc/guix.texi:13225 +#: doc/guix.texi:14215 #, no-wrap msgid "@code{memcached} (default: @code{memcached})" msgstr "@code{memcached} (par défaut : @code{memcached})" #. type: table -#: doc/guix.texi:13227 +#: doc/guix.texi:14217 msgid "The Memcached package to use." msgstr "Le paquet Memcached à utiliser." #. type: item -#: doc/guix.texi:13228 +#: doc/guix.texi:14218 #, no-wrap msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})" msgstr "@code{interfaces} (par défaut : @code{'(\"0.0.0.0\")})" #. type: table -#: doc/guix.texi:13230 +#: doc/guix.texi:14220 msgid "Network interfaces on which to listen." msgstr "Les interfaces réseaux sur lesquelles écouter." #. type: item -#: doc/guix.texi:13231 +#: doc/guix.texi:14221 #, no-wrap msgid "@code{tcp-port} (default: @code{11211})" msgstr "@code{tcp-port} (par défaut : @code{11211})" #. type: table -#: doc/guix.texi:13233 +#: doc/guix.texi:14223 msgid "Port on which to accept connections on," msgstr "Port sur lequel accepter les connexions." #. type: item -#: doc/guix.texi:13234 +#: doc/guix.texi:14224 #, no-wrap msgid "@code{udp-port} (default: @code{11211})" msgstr "@code{udp-port} (par défaut : @code{11211})" #. type: table -#: doc/guix.texi:13237 +#: doc/guix.texi:14227 msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket." msgstr "Port sur lequel accepter les connexions UDP, une valeur de 0 désactive l'écoute en UDP." #. type: item -#: doc/guix.texi:13238 +#: doc/guix.texi:14228 #, no-wrap msgid "@code{additional-options} (default: @code{'()})" msgstr "@code{additional-options} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:13240 +#: doc/guix.texi:14230 msgid "Additional command line options to pass to @code{memcached}." msgstr "Options de la ligne de commande supplémentaires à passer à @code{memcached}." #. type: defvr -#: doc/guix.texi:13243 +#: doc/guix.texi:14233 #, no-wrap msgid "{Scheme Variable} mongodb-service-type" msgstr "{Variable Scheme} mongodb-service-type" #. type: defvr -#: doc/guix.texi:13246 +#: doc/guix.texi:14236 msgid "This is the service type for @uref{https://www.mongodb.com/, MongoDB}. The value for the service type is a @code{mongodb-configuration} object." msgstr "C'est le type de service pour @uref{https://www.mongodb.com/, MongoDB}. La valeur de ce service est un objet @code{mongodb-configuration}." #. type: example -#: doc/guix.texi:13250 +#: doc/guix.texi:14240 #, no-wrap msgid "(service mongodb-service-type)\n" msgstr "(service mongodb-service-type)\n" #. type: deftp -#: doc/guix.texi:13252 +#: doc/guix.texi:14242 #, no-wrap msgid "{Data Type} mongodb-configuration" msgstr "{Type de données} mongodb-configuration" #. type: deftp -#: doc/guix.texi:13254 +#: doc/guix.texi:14244 msgid "Data type representing the configuration of mongodb." msgstr "Type de données représentant la configuration de mongodb." #. type: item -#: doc/guix.texi:13256 +#: doc/guix.texi:14246 #, no-wrap msgid "@code{mongodb} (default: @code{mongodb})" msgstr "@code{mongodb} (par défaut : @code{mongodb})" #. type: table -#: doc/guix.texi:13258 +#: doc/guix.texi:14248 msgid "The MongoDB package to use." msgstr "Le paquet MongoDB à utiliser." #. type: item -#: doc/guix.texi:13259 +#: doc/guix.texi:14249 #, no-wrap msgid "@code{config-file} (default: @code{%default-mongodb-configuration-file})" msgstr "@code{config-file} (par défaut : @code{%default-mongodb-configuration-file})" #. type: table -#: doc/guix.texi:13261 +#: doc/guix.texi:14251 msgid "The configuration file for MongoDB." msgstr "Le fichier de configuration pour MongoDB." #. type: item -#: doc/guix.texi:13262 +#: doc/guix.texi:14252 #, no-wrap msgid "@code{data-directory} (default: @code{\"/var/lib/mongodb\"})" msgstr "@code{data-directory} (par défaut : @code{\"/var/lib/mongodb\"})" #. type: table -#: doc/guix.texi:13266 +#: doc/guix.texi:14256 msgid "This value is used to create the directory, so that it exists and is owned by the mongodb user. It should match the data-directory which MongoDB is configured to use through the configuration file." msgstr "Cette valeur est utilisée pour créer le répertoire, pour qu'il existe et appartienne à l'utilisateur mongodb. Il devrait correspondre au data-directory que MongoDB est configuré pour utiliser dans son fichier de configuration." #. type: defvr -#: doc/guix.texi:13269 +#: doc/guix.texi:14259 #, no-wrap msgid "{Scheme Variable} redis-service-type" msgstr "{Variable Scheme} redis-service-type" #. type: defvr -#: doc/guix.texi:13272 +#: doc/guix.texi:14262 msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object." msgstr "C'est le type de service pour la base clef-valeur @uref{https://redis.io/, Redis} dont la valeur est un objet @code{redis-configuration}." #. type: deftp -#: doc/guix.texi:13274 +#: doc/guix.texi:14264 #, no-wrap msgid "{Data Type} redis-configuration" msgstr "{Type de données} redis-configuration" #. type: deftp -#: doc/guix.texi:13276 +#: doc/guix.texi:14266 msgid "Data type representing the configuration of redis." msgstr "Type de données représentant la configuration de redis." #. type: item -#: doc/guix.texi:13278 +#: doc/guix.texi:14268 #, no-wrap msgid "@code{redis} (default: @code{redis})" msgstr "@code{redis} (par défaut : @code{redis})" #. type: table -#: doc/guix.texi:13280 +#: doc/guix.texi:14270 msgid "The Redis package to use." msgstr "Le paquet Redis à utiliser." #. type: item -#: doc/guix.texi:13281 +#: doc/guix.texi:14271 #, no-wrap msgid "@code{bind} (default: @code{\"127.0.0.1\"})" msgstr "@code{bind} (par défaut : @code{\"127.0.0.1\"})" #. type: table -#: doc/guix.texi:13283 +#: doc/guix.texi:14273 msgid "Network interface on which to listen." msgstr "Interface réseau sur laquelle écouter." #. type: item -#: doc/guix.texi:13284 +#: doc/guix.texi:14274 #, no-wrap msgid "@code{port} (default: @code{6379})" msgstr "@code{port} (par défaut : @code{6379})" #. type: table -#: doc/guix.texi:13287 +#: doc/guix.texi:14277 msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket." msgstr "Port sur lequel accepter les connexions, une valeur de 0 désactive l'écoute sur un socket TCP." #. type: item -#: doc/guix.texi:13288 +#: doc/guix.texi:14278 #, no-wrap msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})" msgstr "@code{working-directory} (par défaut : @code{\"/var/lib/redis\"})" #. type: table -#: doc/guix.texi:13290 +#: doc/guix.texi:14280 msgid "Directory in which to store the database and related files." msgstr "Répertoire dans lequel stocker la base de données et les fichiers liés." #. type: cindex -#: doc/guix.texi:13296 +#: doc/guix.texi:14286 #, no-wrap msgid "mail" msgstr "courriel" #. type: code{#1} -#: doc/guix.texi:13297 doc/guix.texi:16457 +#: doc/guix.texi:14287 doc/guix.texi:17627 #, no-wrap msgid "email" msgstr "email" #. type: Plain text -#: doc/guix.texi:13302 +#: doc/guix.texi:14292 msgid "The @code{(gnu services mail)} module provides Guix service definitions for email services: IMAP, POP3, and LMTP servers, as well as mail transport agents (MTAs). Lots of acronyms! These services are detailed in the subsections below." msgstr "Le module @code{(gnu services mail)} fournit des définitions de services Guix pour les services de courriel : des serveurs IMAP, POP3 et LMTP ainsi que des MTA (Mail Transport Agent). Que d'acronymes ! Ces services sont détaillés dans les sous-sections ci-dessous." #. type: subsubheading -#: doc/guix.texi:13303 +#: doc/guix.texi:14293 #, no-wrap msgid "Dovecot Service" msgstr "Service Dovecot" #. type: deffn -#: doc/guix.texi:13305 +#: doc/guix.texi:14295 #, no-wrap msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]" msgstr "{Procédure Scheme} dovecot-service [#:config (dovecot-configuration)]" #. type: deffn -#: doc/guix.texi:13307 +#: doc/guix.texi:14297 msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server." msgstr "Renvoie un service qui lance le serveur de courriel IMAP/POP3/LMTP Dovecot." #. type: Plain text -#: doc/guix.texi:13317 +#: doc/guix.texi:14307 msgid "By default, Dovecot does not need much configuration; the default configuration object created by @code{(dovecot-configuration)} will suffice if your mail is delivered to @code{~/Maildir}. A self-signed certificate will be generated for TLS-protected connections, though Dovecot will also listen on cleartext ports by default. There are a number of options, though, which mail administrators might need to change, and as is the case with other services, Guix allows the system administrator to specify these parameters via a uniform Scheme interface." msgstr "Par défaut, Dovecot n'a pas besoin de beaucoup de configuration ; l'objet de configuration par défaut créé par @code{(dovecot-configuration)} suffira si votre courriel est livré dans @code{~/Maildir}. Un certificat auto-signé sera généré pour les connexions TLS, bien que Dovecot écoutera aussi sur les ports non chiffrés par défaut. Il y a quelques options cependant, que les administrateurs peuvent avoir besoin de changer et comme c'est le cas avec d'autres services, Guix permet aux administrateurs systèmes de spécifier ces paramètres via une interface Scheme unifiée." #. type: Plain text -#: doc/guix.texi:13320 +#: doc/guix.texi:14310 msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:" msgstr "Par exemple, pour spécifier que les courriels se trouvent dans @code{maildir~/.mail}, on peut instancier Dovecot de cette manière :" #. type: example -#: doc/guix.texi:13325 +#: doc/guix.texi:14315 #, no-wrap msgid "" "(dovecot-service #:config\n" @@ -24522,2357 +26321,2379 @@ msgstr "" " (mail-location \"maildir:~/.mail\")))\n" #. type: Plain text -#: doc/guix.texi:13333 +#: doc/guix.texi:14323 msgid "The available configuration parameters follow. Each parameter definition is preceded by its type; for example, @samp{string-list foo} indicates that the @code{foo} parameter should be specified as a list of strings. There is also a way to specify the configuration as a string, if you have an old @code{dovecot.conf} file that you want to port over from some other system; see the end for more details." msgstr "Les paramètres de configuration disponibles sont les suivants. Chaque définition des paramètres est précédé par son type ; par exemple, @samp{string-list foo} indique que le paramètre @code{foo} devrait être spécifié comme une liste de chaînes de caractères. Il y a aussi une manière de spécifier la configuration comme une chaîne de caractères, si vous avez un vieux fichier @code{dovecot.conf} que vous voulez porter depuis un autre système ; voir la fin pour plus de détails." #. type: Plain text -#: doc/guix.texi:13343 +#: doc/guix.texi:14333 msgid "Available @code{dovecot-configuration} fields are:" msgstr "Les champs de @code{dovecot-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13344 +#: doc/guix.texi:14334 #, no-wrap msgid "{@code{dovecot-configuration} parameter} package dovecot" msgstr "{paramètre de @code{dovecot-configuration}} package dovecot" #. type: deftypevr -#: doc/guix.texi:13346 doc/guix.texi:14633 +#: doc/guix.texi:14336 doc/guix.texi:15642 msgid "The dovecot package." msgstr "Le paquet dovecot" #. type: deftypevr -#: doc/guix.texi:13348 +#: doc/guix.texi:14338 #, no-wrap msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen" msgstr "{paramètre de @code{dovecot-configuration}} comma-separated-string-list listen" #. type: deftypevr -#: doc/guix.texi:13354 +#: doc/guix.texi:14344 msgid "A list of IPs or hosts where to listen for connections. @samp{*} listens on all IPv4 interfaces, @samp{::} listens on all IPv6 interfaces. If you want to specify non-default ports or anything more complex, customize the address and port fields of the @samp{inet-listener} of the specific services you are interested in." msgstr "Une liste d'IP ou d'hôtes à écouter pour les connexions. @samp{*} écoute sur toutes les interfaces IPv4, @samp{::} écoute sur toutes les interfaces IPv6. Si vous voulez spécifier des ports différents de la valeur par défaut ou quelque chose de plus complexe, complétez les champs d'adresse et de port de @samp{inet-listener} des services spécifiques qui vous intéressent." #. type: deftypevr -#: doc/guix.texi:13356 +#: doc/guix.texi:14346 #, no-wrap msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols" msgstr "{paramètre de @code{dovecot-configuration}} protocol-configuration-list protocols" #. type: deftypevr -#: doc/guix.texi:13359 +#: doc/guix.texi:14349 msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}." msgstr "Liste des protocoles que vous voulez servir. Les protocoles disponibles comprennent @samp{imap}, @samp{pop3} et @samp{lmtp}." #. type: deftypevr -#: doc/guix.texi:13361 +#: doc/guix.texi:14351 msgid "Available @code{protocol-configuration} fields are:" msgstr "Les champs @code{protocol-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13362 +#: doc/guix.texi:14352 #, no-wrap msgid "{@code{protocol-configuration} parameter} string name" msgstr "{paramètre de @code{protocol-configuration}} string name" #. type: deftypevr -#: doc/guix.texi:13364 +#: doc/guix.texi:14354 msgid "The name of the protocol." msgstr "Le nom du protocole." #. type: deftypevr -#: doc/guix.texi:13366 +#: doc/guix.texi:14356 #, no-wrap msgid "{@code{protocol-configuration} parameter} string auth-socket-path" msgstr "{paramètre de @code{protocol-configuration}} string auth-socket-path" #. type: deftypevr -#: doc/guix.texi:13370 +#: doc/guix.texi:14360 msgid "UNIX socket path to the master authentication server to find users. This is used by imap (for shared users) and lda. It defaults to @samp{\"/var/run/dovecot/auth-userdb\"}." msgstr "Le chemin d'un socket UNIX vers le serveur d'authentification maître pour trouver les utilisateurs. C'est utilisé par imap (pour les utilisateurs partagés) et lda. Sa valeur par défaut est @samp{\"/var/run/dovecot/auth-userdb\"}." #. type: deftypevr -#: doc/guix.texi:13372 +#: doc/guix.texi:14362 #, no-wrap msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins" msgstr "{paramètre de @code{protocol-configuration}} space-separated-string-list mail-plugins" #. type: deftypevr -#: doc/guix.texi:13374 +#: doc/guix.texi:14364 msgid "Space separated list of plugins to load." msgstr "Liste de greffons à charger séparés par des espaces." #. type: deftypevr -#: doc/guix.texi:13376 +#: doc/guix.texi:14366 #, no-wrap msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections" msgstr "{paramètre de @code{protocol-configuration}} non-negative-integer mail-max-userip-connections" #. type: deftypevr -#: doc/guix.texi:13380 +#: doc/guix.texi:14370 msgid "Maximum number of IMAP connections allowed for a user from each IP address. NOTE: The username is compared case-sensitively. Defaults to @samp{10}." msgstr "Nombre maximum de connexions IMAP permises pour un utilisateur depuis chaque adresse IP. Remarque : la comparaison du nom d'utilisateur est sensible à la casse. Par défaut @samp{10}." #. type: deftypevr -#: doc/guix.texi:13384 +#: doc/guix.texi:14374 #, no-wrap msgid "{@code{dovecot-configuration} parameter} service-configuration-list services" msgstr "{paramètre de @code{dovecot-configuration}} service-configuration-list services" #. type: deftypevr -#: doc/guix.texi:13388 +#: doc/guix.texi:14378 msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}." msgstr "Liste des services à activer. Les services disponibles comprennent @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth} et @samp{lmtp}." #. type: deftypevr -#: doc/guix.texi:13390 +#: doc/guix.texi:14380 msgid "Available @code{service-configuration} fields are:" msgstr "Les champs de @code{service-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13391 +#: doc/guix.texi:14381 #, no-wrap msgid "{@code{service-configuration} parameter} string kind" msgstr "{paramètre de @code{service-configuration}} string kind" #. type: deftypevr -#: doc/guix.texi:13396 +#: doc/guix.texi:14386 msgid "The service kind. Valid values include @code{director}, @code{imap-login}, @code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, @code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning}, or anything else." msgstr "Le type de service. Les valeurs valides comprennent @code{director}, @code{imap-login}, @code{pop3-login}, @code{lmtp}, @code{imap}, @code{pop3}, @code{auth}, @code{auth-worker}, @code{dict}, @code{tcpwrap}, @code{quota-warning} ou n'importe quoi d'autre." #. type: deftypevr -#: doc/guix.texi:13398 +#: doc/guix.texi:14388 #, no-wrap msgid "{@code{service-configuration} parameter} listener-configuration-list listeners" msgstr "{paramètre de @code{service-configuration}} listener-configuration-list listeners" #. type: deftypevr -#: doc/guix.texi:13403 +#: doc/guix.texi:14393 msgid "Listeners for the service. A listener is either a @code{unix-listener-configuration}, a @code{fifo-listener-configuration}, or an @code{inet-listener-configuration}. Defaults to @samp{()}." msgstr "Les auditeurs du service. Un auditeur est soit un @code{unix-listener-configuration}, soit un @code{fifo-listener-configuration}, soit un @code{inet-listener-configuration}. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13405 +#: doc/guix.texi:14395 msgid "Available @code{unix-listener-configuration} fields are:" msgstr "Les champs de @code{unix-listener-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13406 +#: doc/guix.texi:14396 #, no-wrap msgid "{@code{unix-listener-configuration} parameter} string path" msgstr "{paramètre de @code{unix-listener-configuration}} string path" #. type: deftypevr -#: doc/guix.texi:13409 doc/guix.texi:13432 +#: doc/guix.texi:14399 doc/guix.texi:14422 msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name." msgstr "Chemin vers le fichier, relativement au champ @code{base-dir}. C'est aussi utilisé comme nom de section." #. type: deftypevr -#: doc/guix.texi:13411 +#: doc/guix.texi:14401 #, no-wrap msgid "{@code{unix-listener-configuration} parameter} string mode" msgstr "{paramètre de @code{unix-listener-configuration}} string mode" #. type: deftypevr -#: doc/guix.texi:13414 doc/guix.texi:13437 +#: doc/guix.texi:14404 doc/guix.texi:14427 msgid "The access mode for the socket. Defaults to @samp{\"0600\"}." msgstr "Le mode d'accès pour le socket. La valeur par défaut est @samp{\"0600\"}." #. type: deftypevr -#: doc/guix.texi:13416 +#: doc/guix.texi:14406 #, no-wrap msgid "{@code{unix-listener-configuration} parameter} string user" msgstr "{paramètre de @code{unix-listener-configuration}} string user" #. type: deftypevr -#: doc/guix.texi:13419 doc/guix.texi:13442 +#: doc/guix.texi:14409 doc/guix.texi:14432 msgid "The user to own the socket. Defaults to @samp{\"\"}." msgstr "L'utilisateur à qui appartient le socket. La valeur par défaut est @samp{\"\"}" #. type: deftypevr -#: doc/guix.texi:13421 +#: doc/guix.texi:14411 #, no-wrap msgid "{@code{unix-listener-configuration} parameter} string group" msgstr "{paramètre de @code{unix-listener-configuration}} string group" #. type: deftypevr -#: doc/guix.texi:13424 doc/guix.texi:13447 +#: doc/guix.texi:14414 doc/guix.texi:14437 msgid "The group to own the socket. Defaults to @samp{\"\"}." msgstr "Le groupe auquel appartient le socket. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13428 +#: doc/guix.texi:14418 msgid "Available @code{fifo-listener-configuration} fields are:" msgstr "Les champs de @code{fifo-listener-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13429 +#: doc/guix.texi:14419 #, no-wrap msgid "{@code{fifo-listener-configuration} parameter} string path" msgstr "{paramètre de @code{fifo-listener-configuration}} string path" #. type: deftypevr -#: doc/guix.texi:13434 +#: doc/guix.texi:14424 #, no-wrap msgid "{@code{fifo-listener-configuration} parameter} string mode" msgstr "{paramètre de @code{fifo-listener-configuration}} string mode" #. type: deftypevr -#: doc/guix.texi:13439 +#: doc/guix.texi:14429 #, no-wrap msgid "{@code{fifo-listener-configuration} parameter} string user" msgstr "{paramètre de @code{fifo-listener-configuration}} string user" #. type: deftypevr -#: doc/guix.texi:13444 +#: doc/guix.texi:14434 #, no-wrap msgid "{@code{fifo-listener-configuration} parameter} string group" msgstr "{paramètre de @code{fifo-listener-configuration}} string group" #. type: deftypevr -#: doc/guix.texi:13451 +#: doc/guix.texi:14441 msgid "Available @code{inet-listener-configuration} fields are:" msgstr "Les champs de @code{inet-listener-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13452 +#: doc/guix.texi:14442 #, no-wrap msgid "{@code{inet-listener-configuration} parameter} string protocol" msgstr "{paramètre de @code{inet-listener-configuration}} string protocol" #. type: deftypevr -#: doc/guix.texi:13454 +#: doc/guix.texi:14444 msgid "The protocol to listen for." msgstr "Le protocole à écouter." #. type: deftypevr -#: doc/guix.texi:13456 +#: doc/guix.texi:14446 #, no-wrap msgid "{@code{inet-listener-configuration} parameter} string address" msgstr "{paramètre de @code{inet-listener-configuration}} string address" #. type: deftypevr -#: doc/guix.texi:13459 +#: doc/guix.texi:14449 msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}." msgstr "L'adresse sur laquelle écouter, ou la chaîne vide pour toutes les adresses. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13461 +#: doc/guix.texi:14451 #, no-wrap msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port" msgstr "{paramètre de @code{inet-listener-configuration}} non-negative-integer port" #. type: deftypevr -#: doc/guix.texi:13463 +#: doc/guix.texi:14453 msgid "The port on which to listen." msgstr "Le port sur lequel écouter." #. type: deftypevr -#: doc/guix.texi:13465 +#: doc/guix.texi:14455 #, no-wrap msgid "{@code{inet-listener-configuration} parameter} boolean ssl?" msgstr "{paramètre de @code{inet-listener-configuration}} boolean ssl?" #. type: deftypevr -#: doc/guix.texi:13469 +#: doc/guix.texi:14459 msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}." msgstr "S'il faut utiliser SSL pour ce service ; @samp{yes}, @samp{no} ou @samp{required}. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:13473 +#: doc/guix.texi:14463 +#, no-wrap +msgid "{@code{service-configuration} parameter} non-negative-integer client-limit" +msgstr "{paramètre de @code{service-configuration}} non-negative-integer client-limit" + +#. type: deftypevr +#: doc/guix.texi:14468 +msgid "Maximum number of simultaneous client connections per process. Once this number of connections is received, the next incoming connection will prompt Dovecot to spawn another process. If set to 0, @code{default-client-limit} is used instead." +msgstr "Connexions de clients simultanées maximum par processus. Une fois ce nombre de connections atteint, la connexion suivante fera en sorte que Dovecot démarre un autre processus. Si la valeur est 0, @code{default-client-limit} est utilisé à la place." + +#. type: deftypevr +#: doc/guix.texi:14473 #, no-wrap msgid "{@code{service-configuration} parameter} non-negative-integer service-count" msgstr "{paramètre de @code{service-configuration}} non-negative-integer service-count" #. type: deftypevr -#: doc/guix.texi:13478 +#: doc/guix.texi:14478 msgid "Number of connections to handle before starting a new process. Typically the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 is faster. . Defaults to @samp{1}." msgstr "Nombre de connexions à gérer avant de démarrer un nouveau processus. Typiquement les valeurs utiles sont 0 (sans limite) ou 1. 1 est plus sûr, mais 0 est plus rapide. . La valeur par défaut est @samp{1}." #. type: deftypevr -#: doc/guix.texi:13480 +#: doc/guix.texi:14481 +#, no-wrap +msgid "{@code{service-configuration} parameter} non-negative-integer process-limit" +msgstr "{paramètre de @code{service-configuration}} non-negative-integer process-limit" + +#. type: deftypevr +#: doc/guix.texi:14484 +msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead." +msgstr "Nombre de processus maximum qui peut exister pour ce service. Si la valeur est 0, @code{default-process-limit} est utilisé à la place." + +#. type: deftypevr +#: doc/guix.texi:14489 #, no-wrap msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail" msgstr "{paramètre de @code{service-configuration}} non-negative-integer process-min-avail" #. type: deftypevr -#: doc/guix.texi:13483 +#: doc/guix.texi:14492 msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}." msgstr "Nombre de processus à toujours garder en attente de connexions. La valeur par défaut est @samp{0}." #. type: deftypevr -#: doc/guix.texi:13485 +#: doc/guix.texi:14494 #, no-wrap msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit" msgstr "{paramètre de @code{service-configuration}} non-negative-integer vsz-limit" #. type: deftypevr -#: doc/guix.texi:13489 +#: doc/guix.texi:14498 msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}." msgstr "Si vous mettez @samp{service-count 0}, vous avez sans doute besoin d'augmenter ce paramètre. La valeur par défaut est @samp{256000000}." #. type: deftypevr -#: doc/guix.texi:13493 +#: doc/guix.texi:14502 #, no-wrap msgid "{@code{dovecot-configuration} parameter} dict-configuration dict" msgstr "{paramètre de @code{dovecot-configuration}} dict-configuration dict" #. type: deftypevr -#: doc/guix.texi:13496 +#: doc/guix.texi:14505 msgid "Dict configuration, as created by the @code{dict-configuration} constructor." msgstr "Configuration du dictionnaire, créé par le constructeur @code{dict-configuration}." #. type: deftypevr -#: doc/guix.texi:13498 +#: doc/guix.texi:14507 msgid "Available @code{dict-configuration} fields are:" msgstr "Les champs de @code{dict-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13499 +#: doc/guix.texi:14508 #, no-wrap msgid "{@code{dict-configuration} parameter} free-form-fields entries" msgstr "{paramètre de @code{dict-configuration}} free-form-fields entries" #. type: deftypevr -#: doc/guix.texi:13502 +#: doc/guix.texi:14511 msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}." msgstr "Une liste de paires de clefs-valeurs que ce dictionnaire contient. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13506 +#: doc/guix.texi:14515 #, no-wrap msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs" msgstr "{paramètre de @code{dovecot-configuration}} passdb-configuration-list passdbs" #. type: deftypevr -#: doc/guix.texi:13509 +#: doc/guix.texi:14518 msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor." msgstr "Une liste de configurations passdb, chacune créée par le constructeur @code{passdb-configuration}." #. type: deftypevr -#: doc/guix.texi:13511 +#: doc/guix.texi:14520 msgid "Available @code{passdb-configuration} fields are:" msgstr "Les champs de @code{passdb-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13512 +#: doc/guix.texi:14521 #, no-wrap msgid "{@code{passdb-configuration} parameter} string driver" msgstr "{paramètre de @code{passdb-configuration}} string driver" #. type: deftypevr -#: doc/guix.texi:13517 +#: doc/guix.texi:14526 msgid "The driver that the passdb should use. Valid values include @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{static}. Defaults to @samp{\"pam\"}." msgstr "Le pilote à utiliser par passdb. Les valeur valides comprennent @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth} et @samp{static}. La valeur par défaut est @samp{\"pam\"}." #. type: deftypevr -#: doc/guix.texi:13519 +#: doc/guix.texi:14528 #, no-wrap msgid "{@code{passdb-configuration} parameter} space-separated-string-list args" msgstr "{paramètre de @code{passdb-configuration}} space-separated-string-list args" #. type: deftypevr -#: doc/guix.texi:13522 +#: doc/guix.texi:14531 msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}." msgstr "Liste d'arguments pour le pilote passdb séparés par des espaces. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13526 +#: doc/guix.texi:14535 #, no-wrap msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs" msgstr "{paramètre de @code{dovecot-configuration}} userdb-configuration-list userdbs" #. type: deftypevr -#: doc/guix.texi:13529 +#: doc/guix.texi:14538 msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor." msgstr "Liste des configurations userdb, chacune créée par le constructeur @code{userdb-configuration}." #. type: deftypevr -#: doc/guix.texi:13531 +#: doc/guix.texi:14540 msgid "Available @code{userdb-configuration} fields are:" msgstr "Les champs de @code{userdb-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13532 +#: doc/guix.texi:14541 #, no-wrap msgid "{@code{userdb-configuration} parameter} string driver" msgstr "{paramètre de @code{userdb-configuration}} string driver" #. type: deftypevr -#: doc/guix.texi:13536 +#: doc/guix.texi:14545 msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}." msgstr "Le pilote que userdb devrait utiliser. Les valeurs valides comprennent @samp{passwd} et @samp{static}. La valeur par défaut est @samp{\"passwd\"}." #. type: deftypevr -#: doc/guix.texi:13538 +#: doc/guix.texi:14547 #, no-wrap msgid "{@code{userdb-configuration} parameter} space-separated-string-list args" msgstr "{paramètre de @code{userdb-configuration}} space-separated-string-list args" #. type: deftypevr -#: doc/guix.texi:13541 +#: doc/guix.texi:14550 msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}." msgstr "Liste des arguments du pilote userdb séparés par des espaces. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13543 +#: doc/guix.texi:14552 #, no-wrap msgid "{@code{userdb-configuration} parameter} free-form-args override-fields" msgstr "{paramètre de @code{userdb-configuration}} free-form-args override-fields" #. type: deftypevr -#: doc/guix.texi:13546 +#: doc/guix.texi:14555 msgid "Override fields from passwd. Defaults to @samp{()}." msgstr "Remplace des champs de passwd. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13550 +#: doc/guix.texi:14559 #, no-wrap msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration" msgstr "{paramètre de @code{dovecot-configuration}} plugin-configuration plugin-configuration" #. type: deftypevr -#: doc/guix.texi:13553 +#: doc/guix.texi:14562 msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor." msgstr "Configuration du greffon, créé par le constructeur @code{plugin-configuration}." #. type: deftypevr -#: doc/guix.texi:13555 +#: doc/guix.texi:14564 #, no-wrap msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces" msgstr "{paramètre de @code{dovecot-configuration}} list-of-namespace-configuration namespaces" #. type: deftypevr -#: doc/guix.texi:13558 +#: doc/guix.texi:14567 msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor." msgstr "Liste d'espaces de noms. Chaque élément de la liste est créé par le constructeur @code{namespace-configuration}." #. type: deftypevr -#: doc/guix.texi:13560 +#: doc/guix.texi:14569 msgid "Available @code{namespace-configuration} fields are:" msgstr "Les champs de @code{namespace-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13561 +#: doc/guix.texi:14570 #, no-wrap msgid "{@code{namespace-configuration} parameter} string name" msgstr "{paramètre de @code{namespace-configuration}} string name" #. type: deftypevr -#: doc/guix.texi:13563 +#: doc/guix.texi:14572 msgid "Name for this namespace." msgstr "Nom de cet espace de nom." #. type: deftypevr -#: doc/guix.texi:13565 +#: doc/guix.texi:14574 #, no-wrap msgid "{@code{namespace-configuration} parameter} string type" msgstr "{paramètre de @code{namespace-configuration}} string type" #. type: deftypevr -#: doc/guix.texi:13568 +#: doc/guix.texi:14577 msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}." msgstr "Type d'espace de nom : @samp{private}, @samp{shared} ou @samp{public}. La valeur par défaut est @samp{\"private\"}." #. type: deftypevr -#: doc/guix.texi:13570 +#: doc/guix.texi:14579 #, no-wrap msgid "{@code{namespace-configuration} parameter} string separator" msgstr "{paramètre de @code{namespace-configuration}} string separator" #. type: deftypevr -#: doc/guix.texi:13576 +#: doc/guix.texi:14585 msgid "Hierarchy separator to use. You should use the same separator for all namespaces or some clients get confused. @samp{/} is usually a good one. The default however depends on the underlying mail storage format. Defaults to @samp{\"\"}." msgstr "Séparateur de hiérarchie à utiliser. Vous devriez utiliser le même séparateur pour tous les espaces de noms ou certains clients seront confus. @samp{/} est généralement une bonne valeur. La valeur par défaut dépend cependant du format de stockage sous-jacent. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13578 +#: doc/guix.texi:14587 #, no-wrap msgid "{@code{namespace-configuration} parameter} string prefix" msgstr "{paramètre de @code{namespace-configuration}} string prefix" #. type: deftypevr -#: doc/guix.texi:13582 +#: doc/guix.texi:14591 msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}." msgstr "Préfixe requis pour accéder à cet espace de nom. Ce paramètres doit être différent pour tous les espaces de noms. Par exemple @samp{Public/}. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13584 +#: doc/guix.texi:14593 #, no-wrap msgid "{@code{namespace-configuration} parameter} string location" msgstr "{paramètre de @code{namespace-configuration}} string location" #. type: deftypevr -#: doc/guix.texi:13588 +#: doc/guix.texi:14597 msgid "Physical location of the mailbox. This is in the same format as mail_location, which is also the default for it. Defaults to @samp{\"\"}." msgstr "Emplacement physique de la boîte aux lettres. C'est le même format que mail_location, qui est aussi la valeur par défaut. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13590 +#: doc/guix.texi:14599 #, no-wrap msgid "{@code{namespace-configuration} parameter} boolean inbox?" msgstr "{paramètre de @code{namespace-configuration}} boolean inbox?" #. type: deftypevr -#: doc/guix.texi:13594 +#: doc/guix.texi:14603 msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}." msgstr "Il ne peut y avoir qu'un INBOX, et ce paramètre définit l'espace de nom qui le possède. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13596 +#: doc/guix.texi:14605 #, no-wrap msgid "{@code{namespace-configuration} parameter} boolean hidden?" msgstr "{paramètre de @code{namespace-configuration}} boolean hidden?" #. type: deftypevr -#: doc/guix.texi:13604 +#: doc/guix.texi:14613 msgid "If namespace is hidden, it's not advertised to clients via NAMESPACE extension. You'll most likely also want to set @samp{list? #f}. This is mostly useful when converting from another server with different namespaces which you want to deprecate but still keep working. For example you can create hidden namespaces with prefixes @samp{~/mail/}, @samp{~%u/mail/} and @samp{mail/}. Defaults to @samp{#f}." msgstr "Si l'espace de nom est caché, il n'est pas publié auprès des clients par l'extension NAMESPACE. Vous voudrez aussi sans doute indiquer @samp{list? #f}. C'est surtout utile lors de la conversion depuis un autre serveur avec des espaces de noms différents que vous voulez rendre obsolètes sans les casser. Par exemple vous pouvez cacher les espaces de noms avec les préfixes @samp{~/mail/}, @samp{~%u/mail/} et @samp{mail/}. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13606 +#: doc/guix.texi:14615 #, no-wrap msgid "{@code{namespace-configuration} parameter} boolean list?" msgstr "{paramètre de @code{namespace-configuration}} boolean list?" #. type: deftypevr -#: doc/guix.texi:13612 +#: doc/guix.texi:14621 msgid "Show the mailboxes under this namespace with the LIST command. This makes the namespace visible for clients that do not support the NAMESPACE extension. The special @code{children} value lists child mailboxes, but hides the namespace prefix. Defaults to @samp{#t}." msgstr "Montre les boîtes aux lettres sons cet espace de nom avec la commande LIST. Cela rend l'espace de nom visible pour les clients qui ne supportent pas l'extension NAMESPACE. La valeur spéciale @code{children} liste les boîtes aux lettres filles mais cache le préfixe de l'espace de nom. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:13614 +#: doc/guix.texi:14623 #, no-wrap msgid "{@code{namespace-configuration} parameter} boolean subscriptions?" msgstr "{paramètre de @code{namespace-configuration}} boolean subscriptions?" #. type: deftypevr -#: doc/guix.texi:13619 +#: doc/guix.texi:14628 msgid "Namespace handles its own subscriptions. If set to @code{#f}, the parent namespace handles them. The empty prefix should always have this as @code{#t}). Defaults to @samp{#t}." msgstr "Les espaces de noms gèrent leur propre souscription. Si la valeur est @code{#f}, l'espace de nom parent s'en charge. Le préfixe vide devrait toujours avoir cette valeur à @code{#t}. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:13621 +#: doc/guix.texi:14630 #, no-wrap msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes" msgstr "{paramètre de @code{namespace-configuration}} mailbox-configuration-list mailboxes" #. type: deftypevr -#: doc/guix.texi:13624 +#: doc/guix.texi:14633 msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}." msgstr "Liste des boîtes aux lettres prédéfinies dans cet espace de nom. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13626 +#: doc/guix.texi:14635 msgid "Available @code{mailbox-configuration} fields are:" msgstr "Les champs de @code{mailbox-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:13627 +#: doc/guix.texi:14636 #, no-wrap msgid "{@code{mailbox-configuration} parameter} string name" msgstr "{paramètre de @code{mailbox-configuration}} string name" #. type: deftypevr -#: doc/guix.texi:13629 +#: doc/guix.texi:14638 msgid "Name for this mailbox." msgstr "Nom de cette boîte aux lettres." #. type: deftypevr -#: doc/guix.texi:13631 +#: doc/guix.texi:14640 #, no-wrap msgid "{@code{mailbox-configuration} parameter} string auto" msgstr "{paramètre de @code{mailbox-configuration}} string auto" #. type: deftypevr -#: doc/guix.texi:13635 +#: doc/guix.texi:14644 msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}." msgstr "@samp{create} créera automatiquement cette boîte aux lettres. @samp{subscribe} créera et souscrira à la boîte aux lettres. La valeur par défaut est @samp{\"no\"}." #. type: deftypevr -#: doc/guix.texi:13637 +#: doc/guix.texi:14646 #, no-wrap msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use" msgstr "{paramètre de @code{mailbox-configuration}} space-separated-string-list special-use" #. type: deftypevr -#: doc/guix.texi:13642 +#: doc/guix.texi:14651 msgid "List of IMAP @code{SPECIAL-USE} attributes as specified by RFC 6154. Valid values are @code{\\All}, @code{\\Archive}, @code{\\Drafts}, @code{\\Flagged}, @code{\\Junk}, @code{\\Sent}, and @code{\\Trash}. Defaults to @samp{()}." msgstr "Liste des attributs @code{SPECIAL-USE} IMAP spécifiés par la RFC 6154. Les valeurs valides sont @code{\\All}, @code{\\Archive}, @code{\\Drafts}, @code{\\Flagged}, @code{\\Junk}, @code{\\Sent} et @code{\\Trash}. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13648 +#: doc/guix.texi:14657 #, no-wrap msgid "{@code{dovecot-configuration} parameter} file-name base-dir" msgstr "{paramètre de @code{dovecot-configuration}} file-name base-dir" #. type: deftypevr -#: doc/guix.texi:13651 +#: doc/guix.texi:14660 msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}." msgstr "Répertoire de base où stocker les données d'exécution. La valeur par défaut est @samp{\"/var/run/dovecot/\"}." #. type: deftypevr -#: doc/guix.texi:13653 +#: doc/guix.texi:14662 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string login-greeting" msgstr "{paramètre de @code{dovecot-configuration}} string login-greeting" #. type: deftypevr -#: doc/guix.texi:13656 +#: doc/guix.texi:14665 msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}." msgstr "Message d'accueil pour les clients. La valeur par défaut est @samp{\"Dovecot ready.\"}." #. type: deftypevr -#: doc/guix.texi:13658 +#: doc/guix.texi:14667 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list login-trusted-networks" #. type: deftypevr -#: doc/guix.texi:13665 +#: doc/guix.texi:14674 msgid "List of trusted network ranges. Connections from these IPs are allowed to override their IP addresses and ports (for logging and for authentication checks). @samp{disable-plaintext-auth} is also ignored for these networks. Typically you would specify your IMAP proxy servers here. Defaults to @samp{()}." msgstr "Liste des groupes d'adresses de confiance. Les connexions depuis ces IP sont autorisées à modifier leurs adresses IP et leurs ports (pour la connexion et la vérification d'authentification). @samp{disable-plaintext-auth} est aussi ignoré pour ces réseaux. Typiquement vous voudrez spécifier votre mandataire IMAP ici. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13667 +#: doc/guix.texi:14676 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list login-access-sockets" #. type: deftypevr -#: doc/guix.texi:13670 +#: doc/guix.texi:14679 msgid "List of login access check sockets (e.g. tcpwrap). Defaults to @samp{()}." msgstr "Liste des sockets de vérification d'accès de connexion (p.@: ex.@: tcpwrap). La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13672 +#: doc/guix.texi:14681 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?" msgstr "{paramètre de @code{dovecot-configuration}} boolean verbose-proctitle?" #. type: deftypevr -#: doc/guix.texi:13678 +#: doc/guix.texi:14687 msgid "Show more verbose process titles (in ps). Currently shows user name and IP address. Useful for seeing who is actually using the IMAP processes (e.g. shared mailboxes or if the same uid is used for multiple accounts). Defaults to @samp{#f}." msgstr "Montre des titres de processus plus verbeux (dans ps). Actuellement, montre le nom d'utilisateur et l'adresse IP. Utile pour voir qui utilise les processus IMAP (p.@: ex.@: des boîtes aux lettres partagées ou si le même uid est utilisé pour plusieurs comptes). La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13680 +#: doc/guix.texi:14689 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?" msgstr "{paramètre de @code{dovecot-configuration}} boolean shutdown-clients?" #. type: deftypevr -#: doc/guix.texi:13686 +#: doc/guix.texi:14695 msgid "Should all processes be killed when Dovecot master process shuts down. Setting this to @code{#f} means that Dovecot can be upgraded without forcing existing client connections to close (although that could also be a problem if the upgrade is e.g. due to a security fix). Defaults to @samp{#t}." msgstr "Indique si les processus devraient toujours être tués lorsque le processus maître de Dovecot est éteint. La valeur @code{#f} signifie que Dovecot peut être mis à jour sans forcer les connexions clientes existantes à se fermer (bien que cela puisse être un problème si la mise à jour est un correctif de sécurité par exemple). La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:13688 +#: doc/guix.texi:14697 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer doveadm-worker-count" #. type: deftypevr -#: doc/guix.texi:13692 +#: doc/guix.texi:14701 msgid "If non-zero, run mail commands via this many connections to doveadm server, instead of running them directly in the same process. Defaults to @samp{0}." msgstr "Si la valeur n'est pas zéro, lance les commandes de courriel via ce nombre de connexions au serveur doveadm au lieu de les lancer dans le même processus. La valeur par défaut est @samp{0}." #. type: deftypevr -#: doc/guix.texi:13694 +#: doc/guix.texi:14703 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path" msgstr "{paramètre de @code{dovecot-configuration}} string doveadm-socket-path" #. type: deftypevr -#: doc/guix.texi:13697 +#: doc/guix.texi:14706 msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}." msgstr "Socket UNIX ou hôte:port utilisé pour se connecter au serveur doveadm. La valeur par défaut est @samp{\"doveadm-server\"}." #. type: deftypevr -#: doc/guix.texi:13699 +#: doc/guix.texi:14708 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list import-environment" #. type: deftypevr -#: doc/guix.texi:13703 +#: doc/guix.texi:14712 msgid "List of environment variables that are preserved on Dovecot startup and passed down to all of its child processes. You can also give key=value pairs to always set specific settings." msgstr "Liste des variables d'environnement qui sont préservées au démarrage de Dovecot et passées à tous ses processus fils. Vous pouvez aussi donner des paires clef=valeur pour toujours spécifier ce paramètre." #. type: deftypevr -#: doc/guix.texi:13705 +#: doc/guix.texi:14714 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?" msgstr "{paramètre de @code{dovecot-configuration}} boolean disable-plaintext-auth?" #. type: deftypevr -#: doc/guix.texi:13712 +#: doc/guix.texi:14721 msgid "Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP matches the local IP (i.e. you're connecting from the same computer), the connection is considered secure and plaintext authentication is allowed. See also ssl=required setting. Defaults to @samp{#t}." msgstr "Désactive la commande LOGIN et toutes les autres authentifications en texte clair à moins que SSL/TLS ne soit utilisé (capacité LOGINDISABLED). Remarquez que si l'IP distante correspond à l'IP locale (c.-à-d.@: que vous vous connectez depuis le même ordinateur), la connexion est considérée comme sécurisée et l'authentification en texte clair est permise. Voir aussi le paramètre ssl=required. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:13714 +#: doc/guix.texi:14723 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer auth-cache-size" #. type: deftypevr -#: doc/guix.texi:13719 +#: doc/guix.texi:14728 msgid "Authentication cache size (e.g. @samp{#e10e6}). 0 means it's disabled. Note that bsdauth, PAM and vpopmail require @samp{cache-key} to be set for caching to be used. Defaults to @samp{0}." msgstr "Taille du cache d'authentification (p.@: ex.@: @samp{#e10e6}). 0 signifie qu'il est désactivé. Remarquez que bsdauth, PAM et vpopmail ont besoin que @samp{cache-key} soit indiqué pour que le cache soit utilisé. La valeur par défaut est @samp{0}." #. type: deftypevr -#: doc/guix.texi:13721 +#: doc/guix.texi:14730 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl" msgstr "{paramètre de @code{dovecot-configuration}} string auth-cache-ttl" #. type: deftypevr -#: doc/guix.texi:13729 +#: doc/guix.texi:14738 msgid "Time to live for cached data. After TTL expires the cached record is no longer used, *except* if the main database lookup returns internal failure. We also try to handle password changes automatically: If user's previous authentication was successful, but this one wasn't, the cache isn't used. For now this works only with plaintext authentication. Defaults to @samp{\"1 hour\"}." msgstr "Durée de vie des données en cache. Après l'expiration du TTL l'enregistrement en cache n'est plus utilisé *sauf* si la requête à la base de données principale revoie une erreur interne. Nous essayons aussi de gérer les changements de mot de passe automatiquement : si l'authentification précédente de l'utilisateur était réussie mais pas celle-ci, le cache n'est pas utilisé. Pour l'instant cela fonctionne avec l'authentification en texte clair uniquement. La valeur par défaut est @samp{\"1 hour\"}." #. type: deftypevr -#: doc/guix.texi:13731 +#: doc/guix.texi:14740 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl" msgstr "{paramètre de @code{dovecot-configuration}} string auth-cache-negative-ttl" #. type: deftypevr -#: doc/guix.texi:13735 +#: doc/guix.texi:14744 msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}." msgstr "TTL pour les résultats négatifs (l'utilisateur n'est pas trouvé ou le mot de passe ne correspond pas). 0 désactive la mise en cache complètement. La valeur par défaut est @samp{\"1 hour\"}." #. type: deftypevr -#: doc/guix.texi:13737 +#: doc/guix.texi:14746 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list auth-realms" #. type: deftypevr -#: doc/guix.texi:13743 +#: doc/guix.texi:14752 msgid "List of realms for SASL authentication mechanisms that need them. You can leave it empty if you don't want to support multiple realms. Many clients simply use the first one listed here, so keep the default realm first. Defaults to @samp{()}." msgstr "Liste des domaines pour les mécanismes d'authentification SASL qui en ont besoin. Vous pouvez laisser ce paramètre vide si vous ne voulez pas utiliser plusieurs domaines. Beaucoup de clients utilisent le premier domaine listé ici, donc gardez celui par défaut en premier. La valeur par défaut est @samp{()}" #. type: deftypevr -#: doc/guix.texi:13745 +#: doc/guix.texi:14754 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-default-realm" msgstr "{paramètre de @code{dovecot-configuration}} string auth-default-realm" #. type: deftypevr -#: doc/guix.texi:13750 +#: doc/guix.texi:14759 msgid "Default realm/domain to use if none was specified. This is used for both SASL realms and appending @@domain to username in plaintext logins. Defaults to @samp{\"\"}." msgstr "Domaine par défaut à utiliser si aucun n'est spécifié. C'est utilisé pour les domaines SASL et pour ajouter @@domaine au nom d'utilisateur dans les authentification en texte clair. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13752 +#: doc/guix.texi:14761 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-username-chars" msgstr "{paramètre de @code{dovecot-configuration}} string auth-username-chars" #. type: deftypevr -#: doc/guix.texi:13759 +#: doc/guix.texi:14768 msgid "List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. This is just an extra check to make sure user can't exploit any potential quote escaping vulnerabilities with SQL/LDAP databases. If you want to allow all characters, set this value to empty. Defaults to @samp{\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@@\"}." msgstr "Liste des caractères autorisés dans les noms d'utilisateur. Si le nom d'utilisateur donné par l'utilisateur contient un caractère qui n'est pas listé ici, la connexion échoue automatiquement. C'est juste une vérification supplémentaire pour s'assure que l'utilisateur ne puisse pas exploiter des vulnérabilités potentielles d'échappement de guillemets avec les bases de données SQL/LDAP. Si vous voulez autoriser tous les caractères, indiquez la liste vide." #. type: deftypevr -#: doc/guix.texi:13761 +#: doc/guix.texi:14770 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-username-translation" msgstr "{paramètre de @code{dovecot-configuration}} string auth-username-translation" #. type: deftypevr -#: doc/guix.texi:13767 +#: doc/guix.texi:14776 msgid "Username character translations before it's looked up from databases. The value contains series of from -> to characters. For example @samp{#@@/@@} means that @samp{#} and @samp{/} characters are translated to @samp{@@}. Defaults to @samp{\"\"}." msgstr "Traduction de caractères dans les noms d'utilisateur avant qu'ils ne soient cherchés en base. La valeur contient une série de caractère de -> à. Par exemple @samp{#@@/@@} signifie que @samp{#} et @samp{/} sont traduits en @samp{@@}. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13769 +#: doc/guix.texi:14778 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-username-format" msgstr "{paramètre de @code{dovecot-configuration}} string auth-username-format" #. type: deftypevr -#: doc/guix.texi:13776 +#: doc/guix.texi:14785 msgid "Username formatting before it's looked up from databases. You can use the standard variables here, e.g. %Lu would lowercase the username, %n would drop away the domain if it was given, or @samp{%n-AT-%d} would change the @samp{@@} into @samp{-AT-}. This translation is done after @samp{auth-username-translation} changes. Defaults to @samp{\"%Lu\"}." msgstr "Format des noms d'utilisateur avant qu'ils ne soient cherchés en base. Vous pouvez utiliser les variables standard ici, p.@: ex.@: %Lu est le nom d'utilisateur en minuscule, %n enlève le domaine s'il est donné ou @samp{%n-AT-%d} changerait le @samp{@@} en @samp{-AT-}. Cette traduction est faite après les changements de @samp{auth-username-translation}. La valeur par défaut est @samp{\"%Lu\"}." #. type: deftypevr -#: doc/guix.texi:13778 +#: doc/guix.texi:14787 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator" msgstr "{paramètre de @code{dovecot-configuration}} string auth-master-user-separator" #. type: deftypevr -#: doc/guix.texi:13786 +#: doc/guix.texi:14795 msgid "If you want to allow master users to log in by specifying the master username within the normal username string (i.e. not using SASL mechanism's support for it), you can specify the separator character here. The format is then . UW-IMAP uses @samp{*} as the separator, so that could be a good choice. Defaults to @samp{\"\"}." msgstr "Si vous voulez permettre aux utilisateurs maîtres de se connecter en spécifiant le nom d'utilisateur maître dans la chaîne de nom d'utilisateur normal (c.-à-d.@: sans utiliser le support du mécanisme SASL pour cela), vous pouvez spécifier le caractère de séparation ici. Le format est ensuite . UW-IMAP utilise @samp{*} comme séparateur, donc ça pourrait être un bon choix. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13788 +#: doc/guix.texi:14797 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username" msgstr "{paramètre de @code{dovecot-configuration}} string auth-anonymous-username" #. type: deftypevr -#: doc/guix.texi:13792 +#: doc/guix.texi:14801 msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}." msgstr "Nom d'utilisateur à utiliser pour les utilisateurs qui se connectent avec le mécanisme SASL ANONYMOUS. La valeur par défaut est @samp{\"anonymous\"}." #. type: deftypevr -#: doc/guix.texi:13794 +#: doc/guix.texi:14803 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer auth-worker-max-count" #. type: deftypevr -#: doc/guix.texi:13799 +#: doc/guix.texi:14808 msgid "Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (e.g. MySQL and PAM). They're automatically created and destroyed as needed. Defaults to @samp{30}." msgstr "Nombre maximum de processus de travail dovecot-auth. Ils sont utilisés pour exécuter des requêtes passdb et userdb bloquantes (p.@: ex.@: MySQL et PAM). Ils sont créés automatiquement et détruits au besoin. La valeur par défaut est @samp{30}." #. type: deftypevr -#: doc/guix.texi:13801 +#: doc/guix.texi:14810 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname" msgstr "{paramètre de @code{dovecot-configuration}} string auth-gssapi-hostname" #. type: deftypevr -#: doc/guix.texi:13806 +#: doc/guix.texi:14815 msgid "Host name to use in GSSAPI principal names. The default is to use the name returned by gethostname(). Use @samp{$ALL} (with quotes) to allow all keytab entries. Defaults to @samp{\"\"}." msgstr "Nom d'hôte à utiliser dans les noms GSSAPI principaux. La valeur par défaut est d'utiliser le nom renvoyé par gethostname(). Utilisez @samp{$ALL} (avec des guillemets) pour permettre toutes les entrées keytab. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13808 +#: doc/guix.texi:14817 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab" msgstr "{paramètre de @code{dovecot-configuration}} string auth-krb5-keytab" #. type: deftypevr -#: doc/guix.texi:13814 +#: doc/guix.texi:14823 msgid "Kerberos keytab to use for the GSSAPI mechanism. Will use the system default (usually @file{/etc/krb5.keytab}) if not specified. You may need to change the auth service to run as root to be able to read this file. Defaults to @samp{\"\"}." msgstr "Keytab Kerberos à utiliser pour le mécanisme GSSAPI. Utilisera la valeur par défaut du système (typiquement @file{/etc/krb5.keytab}) s'il n'est pas spécifié. Vous pourriez avoir besoin de faire en sorte que le service d'authentification tourne en root pour pouvoir lire ce fichier. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13816 +#: doc/guix.texi:14825 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-use-winbind?" #. type: deftypevr -#: doc/guix.texi:13821 +#: doc/guix.texi:14830 msgid "Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and @samp{ntlm-auth} helper. . Defaults to @samp{#f}." msgstr "Effectue l'authentification NTLM et GSS-SPNEGO avec le démon winbind de Samba et l'utilitaire @samp{ntlm-auth}. . La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13823 +#: doc/guix.texi:14832 #, no-wrap msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path" msgstr "{paramètre de @code{dovecot-configuration}} file-name auth-winbind-helper-path" #. type: deftypevr -#: doc/guix.texi:13826 +#: doc/guix.texi:14835 msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}." msgstr "Chemin du binaire @samp{ntlm-auth} de samba. La valeur par défaut est @samp{\"/usr/bin/ntlm_auth\"}." #. type: deftypevr -#: doc/guix.texi:13828 +#: doc/guix.texi:14837 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay" msgstr "{paramètre de @code{dovecot-configuration}} string auth-failure-delay" #. type: deftypevr -#: doc/guix.texi:13831 +#: doc/guix.texi:14840 msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}." msgstr "Durée d'attente avant de répondre à des authentifications échouées. La valeur par défaut est @samp{\"2 secs\"}." #. type: deftypevr -#: doc/guix.texi:13833 +#: doc/guix.texi:14842 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-ssl-require-client-cert?" #. type: deftypevr -#: doc/guix.texi:13837 +#: doc/guix.texi:14846 msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}." msgstr "Requiert un certification client SSL valide ou l'authentification échoue. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13839 +#: doc/guix.texi:14848 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-ssl-username-from-cert?" #. type: deftypevr -#: doc/guix.texi:13844 +#: doc/guix.texi:14853 msgid "Take the username from client's SSL certificate, using @code{X509_NAME_get_text_by_NID()} which returns the subject's DN's CommonName. Defaults to @samp{#f}." msgstr "Prend le nom d'utilisateur du certificat SSL client, avec @code{X509_NAME_get_text_by_NID()} qui renvoie le CommonName du DN du sujet. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13846 +#: doc/guix.texi:14855 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list auth-mechanisms" #. type: deftypevr -#: doc/guix.texi:13852 +#: doc/guix.texi:14861 msgid "List of wanted authentication mechanisms. Supported mechanisms are: @samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, @samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, @samp{skey}, and @samp{gss-spnego}. NOTE: See also @samp{disable-plaintext-auth} setting." msgstr "Liste des mécanismes d'authentification souhaités. Les mécanismes supportés sont : @samp{plain}, @samp{login}, @samp{digest-md5}, @samp{cram-md5}, @samp{ntlm}, @samp{rpa}, @samp{apop}, @samp{anonymous}, @samp{gssapi}, @samp{otp}, @samp{skey} et @samp{gss-spnego}. Remarquez : Voir aussi le paramètre @samp{disable-plaintext-auth}." #. type: deftypevr -#: doc/guix.texi:13854 +#: doc/guix.texi:14863 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list director-servers" #. type: deftypevr -#: doc/guix.texi:13859 +#: doc/guix.texi:14868 msgid "List of IPs or hostnames to all director servers, including ourself. Ports can be specified as ip:port. The default port is the same as what director service's @samp{inet-listener} is using. Defaults to @samp{()}." msgstr "Liste des IP ou des noms d'hôtes des serveurs directeurs, dont soi-même. Les ports peuvent être spécifiés avec ip:port. Le port par défaut est le même que le @samp{inet-listener} du service directeur. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13861 +#: doc/guix.texi:14870 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list director-mail-servers" #. type: deftypevr -#: doc/guix.texi:13865 +#: doc/guix.texi:14874 msgid "List of IPs or hostnames to all backend mail servers. Ranges are allowed too, like 10.0.0.10-10.0.0.30. Defaults to @samp{()}." msgstr "Liste des IP ou des noms d'hôtes de tous les serveurs de courriel de la grappe. Les intervalles sont aussi permis, comme 10.0.0.10-10.0.0.30. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:13867 +#: doc/guix.texi:14876 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string director-user-expire" msgstr "{paramètre de @code{dovecot-configuration}} string director-user-expire" #. type: deftypevr -#: doc/guix.texi:13871 +#: doc/guix.texi:14880 msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}." msgstr "Combien de temps avant de rediriger les utilisateurs à un serveur spécifique après qu'il n'y a plus de connexion. La valeur par défaut est @samp{\"15 min\"}." #. type: deftypevr -#: doc/guix.texi:13873 +#: doc/guix.texi:14882 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string director-username-hash" msgstr "{paramètre de @code{dovecot-configuration}} string director-username-hash" #. type: deftypevr -#: doc/guix.texi:13878 +#: doc/guix.texi:14887 msgid "How the username is translated before being hashed. Useful values include %Ln if user can log in with or without @@domain, %Ld if mailboxes are shared within domain. Defaults to @samp{\"%Lu\"}." msgstr "La manière de traduire le nom d'utilisateur avant de le hasher. Les valeurs utiles comprennent %Ln si l'utilisateur peut se connecter avec ou sans @@domain, %Ld si les boîtes aux lettres sont partagées dans le domaine. La valeur par défaut est @samp{\"%Lu\"}." #. type: deftypevr -#: doc/guix.texi:13880 +#: doc/guix.texi:14889 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string log-path" msgstr "{paramètre de @code{dovecot-configuration}} string log-path" #. type: deftypevr -#: doc/guix.texi:13884 +#: doc/guix.texi:14893 msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}." msgstr "Fichier de journal à utiliser pour les messages d'erreur. @samp{syslog} journalise vers syslog, @samp{/dev/stderr} vers la sortie d'erreur. La valeur par défaut est @samp{\"syslog\"}." #. type: deftypevr -#: doc/guix.texi:13886 +#: doc/guix.texi:14895 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string info-log-path" msgstr "{paramètre de @code{dovecot-configuration}} string info-log-path" #. type: deftypevr -#: doc/guix.texi:13890 +#: doc/guix.texi:14899 msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}." msgstr "Fichier de journal à utiliser pour les messages d'information. La valeur par défaut est @samp{log-path}. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13892 +#: doc/guix.texi:14901 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string debug-log-path" msgstr "{paramètre de @code{dovecot-configuration}} string debug-log-path" #. type: deftypevr -#: doc/guix.texi:13896 +#: doc/guix.texi:14905 msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}." msgstr "Fichier de journal à utiliser pour les messages de débogage. La valeur par défaut est @samp{info-log-path}. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:13898 +#: doc/guix.texi:14907 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string syslog-facility" msgstr "{paramètre de @code{dovecot-configuration}} string syslog-facility" #. type: deftypevr -#: doc/guix.texi:13903 +#: doc/guix.texi:14912 msgid "Syslog facility to use if you're logging to syslog. Usually if you don't want to use @samp{mail}, you'll use local0..local7. Also other standard facilities are supported. Defaults to @samp{\"mail\"}." msgstr "Dispositif syslog à utiliser si vous journalisez avec syslog. Normalement si vous ne voulez pas utiliser @samp{mail}, vous voudrez utiliser local0..local7. D'autres dispositifs standard sont supportés. La valeur par défaut est @samp{\"mail\"}." #. type: deftypevr -#: doc/guix.texi:13905 +#: doc/guix.texi:14914 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-verbose?" #. type: deftypevr -#: doc/guix.texi:13909 +#: doc/guix.texi:14918 msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}." -msgstr "" +msgstr "Indique s'il faut enregistrer les tentatives de connexion échouées et la raison de leur échec. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13911 +#: doc/guix.texi:14920 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose-passwords?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-verbose-passwords?" #. type: deftypevr -#: doc/guix.texi:13918 +#: doc/guix.texi:14927 msgid "In case of password mismatches, log the attempted password. Valid values are no, plain and sha1. sha1 can be useful for detecting brute force password attempts vs. user simply trying the same password over and over again. You can also truncate the value to n chars by appending \":n\" (e.g. sha1:6). Defaults to @samp{#f}." -msgstr "" +msgstr "Dans le cas où le mot de passe n'était pas correct, indique s'il faut enregistrer le mauvais mot de passe. Les valeurs valides sont « no », « plain » et « sha1 ». Il peut être utile d'indiquer « sha1 » pour discriminer des attaques par force brute d'utilisateurs qui réessayent encore et encore le même mot de passe. Vous pouvez aussi tronquer la valeur à n caractères en ajoutant « :n » (p.@: ex.@: « sha1:6 »). La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13920 +#: doc/guix.texi:14929 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-debug?" #. type: deftypevr -#: doc/guix.texi:13924 +#: doc/guix.texi:14933 msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}." -msgstr "" +msgstr "Journaux encore plus verbeux pour le débogage. Cela montre par exemple les requêtes SQL effectuées. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13926 +#: doc/guix.texi:14935 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?" msgstr "{paramètre de @code{dovecot-configuration}} boolean auth-debug-passwords?" #. type: deftypevr -#: doc/guix.texi:13931 +#: doc/guix.texi:14940 msgid "In case of password mismatches, log the passwords and used scheme so the problem can be debugged. Enabling this also enables @samp{auth-debug}. Defaults to @samp{#f}." -msgstr "" +msgstr "Dans le cas où le mot de passe était incorrect, indique s'il faut enregistrer les mots de passe et les schémas utilisés pour que le problème puisse être débogué. Activer cette option active aussi @samp{auth-debug}. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13933 +#: doc/guix.texi:14942 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mail-debug?" #. type: deftypevr -#: doc/guix.texi:13937 +#: doc/guix.texi:14946 msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}." -msgstr "" +msgstr "Indique s'il faut activer le débogage du traitement des courriels. Cela peut vous aider à comprendre pourquoi Dovecot ne trouve pas vos courriels. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13939 +#: doc/guix.texi:14948 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?" msgstr "{paramètre de @code{dovecot-configuration}} boolean verbose-ssl?" #. type: deftypevr -#: doc/guix.texi:13942 +#: doc/guix.texi:14951 msgid "Show protocol level SSL errors. Defaults to @samp{#f}." -msgstr "" +msgstr "Indique s'il faut montrer les erreurs au niveau SSL. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:13944 +#: doc/guix.texi:14953 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string log-timestamp" msgstr "{paramètre de @code{dovecot-configuration}} string log-timestamp" #. type: deftypevr -#: doc/guix.texi:13948 +#: doc/guix.texi:14957 msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}." -msgstr "" +msgstr "Préfixe à utiliser devant chaque ligne écrite dans le fichier journal. Les codes % sont au format strftime(3). La valeur par défaut est @samp{\"\\\"%b %d %H:%M:%S \\\"\"}." #. type: deftypevr -#: doc/guix.texi:13950 +#: doc/guix.texi:14959 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list login-log-format-elements" #. type: deftypevr -#: doc/guix.texi:13954 +#: doc/guix.texi:14963 msgid "List of elements we want to log. The elements which have a non-empty variable value are joined together to form a comma-separated string." -msgstr "" +msgstr "Liste des éléments qu'il faut enregistrer. Les éléments qui ont une variable non vide sont agrégés pour former une chaîne de mots séparés par des virgules." #. type: deftypevr -#: doc/guix.texi:13956 +#: doc/guix.texi:14965 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string login-log-format" msgstr "{paramètre de @code{dovecot-configuration}} string login-log-format" #. type: deftypevr -#: doc/guix.texi:13960 +#: doc/guix.texi:14969 msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}." -msgstr "" +msgstr "Format du journal de connexion. %s contient la chaîne @samp{login-log-format-elements}, %$ contient la donnée à enregistrer. La valeur par défaut est @samp{\"%$: %s\"}." #. type: deftypevr -#: doc/guix.texi:13962 +#: doc/guix.texi:14971 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix" msgstr "{paramètre de @code{dovecot-configuration}} string mail-log-prefix" #. type: deftypevr -#: doc/guix.texi:13966 +#: doc/guix.texi:14975 msgid "Log prefix for mail processes. See doc/wiki/Variables.txt for list of possible variables you can use. Defaults to @samp{\"\\\"%s(%u)<%@{pid@}><%@{session@}>: \\\"\"}." -msgstr "" +msgstr "Préfixe à utiliser devant chaque ligne du fichier de journal pour les processus traitant les courriels. Voir doc/wiki/Variables.txt pour trouver la liste des variables que vous pouvez utiliser. La valeur par défaut est @samp{\"\\\"%s(%u)<%@{pid@}><%@{session@}>: \\\"\"}." #. type: deftypevr -#: doc/guix.texi:13968 +#: doc/guix.texi:14977 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string deliver-log-format" msgstr "{paramètre de @code{dovecot-configuration}} string deliver-log-format" #. type: deftypevr -#: doc/guix.texi:13970 +#: doc/guix.texi:14979 msgid "Format to use for logging mail deliveries. You can use variables:" -msgstr "" +msgstr "Format à utiliser pour enregistrer les livraisons de courriels. Vous pouvez utiliser ces variables :" #. type: item -#: doc/guix.texi:13971 +#: doc/guix.texi:14980 #, no-wrap msgid "%$" msgstr "%$" #. type: table -#: doc/guix.texi:13973 +#: doc/guix.texi:14982 msgid "Delivery status message (e.g. @samp{saved to INBOX})" -msgstr "" +msgstr "Message de statut de la livraison (p.@: ex.@: @samp{saved to INBOX})" #. type: item -#: doc/guix.texi:13973 +#: doc/guix.texi:14982 #, no-wrap msgid "%m" msgstr "%m" #. type: table -#: doc/guix.texi:13975 +#: doc/guix.texi:14984 msgid "Message-ID" -msgstr "" +msgstr "Message-ID" #. type: item -#: doc/guix.texi:13975 doc/guix.texi:14507 +#: doc/guix.texi:14984 doc/guix.texi:15516 #, no-wrap msgid "%s" msgstr "%s" #. type: table -#: doc/guix.texi:13977 +#: doc/guix.texi:14986 msgid "Subject" -msgstr "" +msgstr "Objet" #. type: item -#: doc/guix.texi:13977 +#: doc/guix.texi:14986 #, no-wrap msgid "%f" msgstr "%f" #. type: table -#: doc/guix.texi:13979 +#: doc/guix.texi:14988 msgid "From address" -msgstr "" +msgstr "Adresse « de »" #. type: table -#: doc/guix.texi:13981 +#: doc/guix.texi:14990 msgid "Physical size" -msgstr "" +msgstr "Taille physique" #. type: item -#: doc/guix.texi:13981 +#: doc/guix.texi:14990 #, no-wrap msgid "%w" msgstr "%w" #. type: table -#: doc/guix.texi:13983 +#: doc/guix.texi:14992 msgid "Virtual size." -msgstr "" +msgstr "Taille virtuelle." #. type: deftypevr -#: doc/guix.texi:13985 +#: doc/guix.texi:14994 msgid "Defaults to @samp{\"msgid=%m: %$\"}." msgstr "La valeur par défaut est @samp{\"msgid=%m: %$\"}." #. type: deftypevr -#: doc/guix.texi:13987 +#: doc/guix.texi:14996 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-location" msgstr "{paramètre de @code{dovecot-configuration}} string mail-location" #. type: deftypevr -#: doc/guix.texi:13992 +#: doc/guix.texi:15001 msgid "Location for users' mailboxes. The default is empty, which means that Dovecot tries to find the mailboxes automatically. This won't work if the user doesn't yet have any mail, so you should explicitly tell Dovecot the full location." -msgstr "" +msgstr "Emplacement des boîtes à lettre des utilisateurs. La valeur par défaut est vide, ce qui signifie que Dovecot essaiera de trouver les boîte aux lettres automatiquement. Cela ne fonctionnera pas si l'utilisateur n'a aucun courriel, donc il vaut mieux indiquer explicitement le bon emplacement à Dovecot." #. type: deftypevr -#: doc/guix.texi:13998 +#: doc/guix.texi:15007 msgid "If you're using mbox, giving a path to the INBOX file (e.g. /var/mail/%u) isn't enough. You'll also need to tell Dovecot where the other mailboxes are kept. This is called the \"root mail directory\", and it must be the first path given in the @samp{mail-location} setting." -msgstr "" +msgstr "Si vous utilisez mbox, il ne suffit pas de donner le chemin vers le fichier INBOX (p.@: ex.@: /var/mail/%u). Vous devrez aussi dire à Dovecot où les autres boîtes aux lettres se trouvent. Cela s'appelle le « répertoire racine des courriels » et il doit être le premier chemin donné à l'option @samp{mail-location}." #. type: deftypevr -#: doc/guix.texi:14000 +#: doc/guix.texi:15009 msgid "There are a few special variables you can use, eg.:" -msgstr "" +msgstr "Il y a quelques variables spéciales que vous pouvez utiliser :" #. type: table -#: doc/guix.texi:14004 +#: doc/guix.texi:15013 msgid "username" -msgstr "" +msgstr "nom d'utilisateur" #. type: item -#: doc/guix.texi:14004 doc/guix.texi:14503 +#: doc/guix.texi:15013 doc/guix.texi:15512 #, no-wrap msgid "%n" msgstr "%n" #. type: table -#: doc/guix.texi:14006 +#: doc/guix.texi:15015 msgid "user part in user@@domain, same as %u if there's no domain" -msgstr "" +msgstr "la partie « utilisateur » dans « utilisateur@@domaine », comme %u s'il n'y a pas de domaine." #. type: item -#: doc/guix.texi:14006 +#: doc/guix.texi:15015 #, no-wrap msgid "%d" msgstr "%d" #. type: table -#: doc/guix.texi:14008 +#: doc/guix.texi:15017 msgid "domain part in user@@domain, empty if there's no domain" -msgstr "" +msgstr "la partie « domaine » dans « utilisateur@@domaine », vide s'il n'y a pas de domaine" #. type: item -#: doc/guix.texi:14008 +#: doc/guix.texi:15017 #, no-wrap msgid "%h" msgstr "%h" #. type: table -#: doc/guix.texi:14010 +#: doc/guix.texi:15019 msgid "home director" -msgstr "" +msgstr "répertoire personnel" #. type: deftypevr -#: doc/guix.texi:14013 +#: doc/guix.texi:15022 msgid "See doc/wiki/Variables.txt for full list. Some examples:" -msgstr "" +msgstr "Voir doc/wiki/Variables.txt pour la liste complète. Quelques exemple :" #. type: item -#: doc/guix.texi:14014 +#: doc/guix.texi:15023 #, no-wrap msgid "maildir:~/Maildir" msgstr "maildir:~/Maildir" #. type: item -#: doc/guix.texi:14015 +#: doc/guix.texi:15024 #, no-wrap msgid "mbox:~/mail:INBOX=/var/mail/%u" msgstr "mbox:~/mail:INBOX=/var/mail/%u" #. type: item -#: doc/guix.texi:14016 +#: doc/guix.texi:15025 #, no-wrap msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%" msgstr "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%" #. type: deftypevr -#: doc/guix.texi:14021 +#: doc/guix.texi:15030 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-uid" msgstr "{paramètre de @code{dovecot-configuration}} string mail-uid" #. type: deftypevr -#: doc/guix.texi:14026 +#: doc/guix.texi:15035 msgid "System user and group used to access mails. If you use multiple, userdb can override these by returning uid or gid fields. You can use either numbers or names. . Defaults to @samp{\"\"}." -msgstr "" +msgstr "Utilisateur et groupe système utilisé pour accéder aux courriels. Si vous utilisez multiple, userdb peut remplacer ces valeurs en renvoyant les champs uid et gid. Vous pouvez utiliser soit des nombres, soit des noms. . La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14028 +#: doc/guix.texi:15037 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-gid" msgstr "{paramètre de @code{dovecot-configuration}} string mail-gid" #. type: deftypevr -#: doc/guix.texi:14033 +#: doc/guix.texi:15042 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group" msgstr "{paramètre de @code{dovecot-configuration}} string mail-privileged-group" #. type: deftypevr -#: doc/guix.texi:14039 +#: doc/guix.texi:15048 msgid "Group to enable temporarily for privileged operations. Currently this is used only with INBOX when either its initial creation or dotlocking fails. Typically this is set to \"mail\" to give access to /var/mail. Defaults to @samp{\"\"}." -msgstr "" +msgstr "Groupe à activer temporairement pour les opérations privilégiées. Actuellement cela est utilisé uniquement avec INBOX lors de sa création initiale et quand le verrouillage échoie. Typiquement, vous pouvez utiliser « mail » pour donner accès à /var/mail. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14041 +#: doc/guix.texi:15050 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-access-groups" msgstr "{paramètre de @code{dovecot-configuration}} string mail-access-groups" #. type: deftypevr -#: doc/guix.texi:14049 +#: doc/guix.texi:15058 msgid "Grant access to these supplementary groups for mail processes. Typically these are used to set up access to shared mailboxes. Note that it may be dangerous to set these if users can create symlinks (e.g. if \"mail\" group is set here, ln -s /var/mail ~/mail/var could allow a user to delete others' mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow reading it). Defaults to @samp{\"\"}." -msgstr "" +msgstr "Donne l'accès à ces groupes supplémentaires aux processus de courriel. Ils sont typiquement utilisés pour mettre en place l'accès à des boîtes aux lettres partagées. Remarquez qu'il peut être dangereux d'utiliser cette option si l'utilisateur peut créer des liens symboliques (p.@: ex.@: si le groupe « mail » est utilisé ici, « ln -s /var/mail ~/mail/var » peut permettre à un utilisateur de supprimer les boîtes aux lettres des autres, ou « ln -s /secret/shared/box ~/mail/mybox » lui permettrait de la lire). La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14051 +#: doc/guix.texi:15060 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mail-full-filesystem-access?" #. type: deftypevr -#: doc/guix.texi:14057 +#: doc/guix.texi:15066 msgid "Allow full file system access to clients. There's no access checks other than what the operating system does for the active UID/GID. It works with both maildir and mboxes, allowing you to prefix mailboxes names with e.g. /path/ or ~user/. Defaults to @samp{#f}." -msgstr "" +msgstr "Permet l'accès complet au système de fichiers pour les clients. Il n'y a pas de vérification d'accès autres que ce que le système d'exploitation fait avec les UID/GID. Cela fonctionne aussi bien avec maildir qu'avec mbox, ce qui vous permet de préfixer les noms des boîtes aux lettres avec p.@: ex.@: /chemin/ ou ~utilisateur/. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14059 +#: doc/guix.texi:15068 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mmap-disable?" #. type: deftypevr -#: doc/guix.texi:14063 +#: doc/guix.texi:15072 msgid "Don't use mmap() at all. This is required if you store indexes to shared file systems (NFS or clustered file system). Defaults to @samp{#f}." -msgstr "" +msgstr "Ne pas du tout utiliser mmap(). Cela est requis si vous stockez les index dans des systèmes de fichiers partagés (NFS ou clusterfs). La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14065 +#: doc/guix.texi:15074 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?" msgstr "{paramètre de @code{dovecot-configuration}} boolean dotlock-use-excl?" #. type: deftypevr -#: doc/guix.texi:14070 +#: doc/guix.texi:15079 msgid "Rely on @samp{O_EXCL} to work when creating dotlock files. NFS supports @samp{O_EXCL} since version 3, so this should be safe to use nowadays by default. Defaults to @samp{#t}." -msgstr "" +msgstr "S'appuyer sur @samp{O_EXCL} lors de la création de fichiers de verrouillage. NFS supporte @samp{O_EXCL} depuis la version 3, donc cette option est sûre de nos jours. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:14072 +#: doc/guix.texi:15081 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-fsync" msgstr "{paramètre de @code{dovecot-configuration}} string mail-fsync" #. type: deftypevr -#: doc/guix.texi:14074 +#: doc/guix.texi:15083 msgid "When to use fsync() or fdatasync() calls:" -msgstr "" +msgstr "Quand utiliser les appels à fsync() ou fdatasync() :" #. type: item -#: doc/guix.texi:14075 +#: doc/guix.texi:15084 #, no-wrap msgid "optimized" -msgstr "" +msgstr "optimized" #. type: table -#: doc/guix.texi:14077 +#: doc/guix.texi:15086 msgid "Whenever necessary to avoid losing important data" -msgstr "" +msgstr "Lorsque cela est nécessaire pour éviter de perdre des données importantes" #. type: table -#: doc/guix.texi:14079 +#: doc/guix.texi:15088 msgid "Useful with e.g. NFS when write()s are delayed" -msgstr "" +msgstr "Utile lorsque par exemple les écritures NFS sont retardées" #. type: table -#: doc/guix.texi:14081 +#: doc/guix.texi:15090 msgid "Never use it (best performance, but crashes can lose data)." -msgstr "" +msgstr "Ne l'utilisez pas (ça a de meilleures performances, mais les crashs font perdre toutes les données)." #. type: deftypevr -#: doc/guix.texi:14083 +#: doc/guix.texi:15092 msgid "Defaults to @samp{\"optimized\"}." msgstr "La valeur par défaut est @samp{\"optimized\"}." #. type: deftypevr -#: doc/guix.texi:14085 +#: doc/guix.texi:15094 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mail-nfs-storage?" #. type: deftypevr -#: doc/guix.texi:14090 +#: doc/guix.texi:15099 msgid "Mail storage exists in NFS. Set this to yes to make Dovecot flush NFS caches whenever needed. If you're using only a single mail server this isn't needed. Defaults to @samp{#f}." -msgstr "" +msgstr "Le stockage des courriels se fait sur NFS. Utilisez cette option pour que Dovecot vide les caches NFS lorsque c'est nécessaire. Si vous utilisez seulement un simple serveur de courriel, ce n'est pas nécessaire. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14092 +#: doc/guix.texi:15101 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mail-nfs-index?" #. type: deftypevr -#: doc/guix.texi:14096 +#: doc/guix.texi:15105 msgid "Mail index files also exist in NFS. Setting this to yes requires @samp{mmap-disable? #t} and @samp{fsync-disable? #f}. Defaults to @samp{#f}." -msgstr "" +msgstr "Les fichiers d'index de courriels sont sur un système de fichiers NFS. Pour utiliser cette option, vous aurez besoin de @samp{mmap-disable? #t} et @samp{fsync-disable? #f}. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14098 +#: doc/guix.texi:15107 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string lock-method" msgstr "{paramètre de @code{dovecot-configuration}} string lock-method" #. type: deftypevr -#: doc/guix.texi:14104 +#: doc/guix.texi:15113 msgid "Locking method for index files. Alternatives are fcntl, flock and dotlock. Dotlocking uses some tricks which may create more disk I/O than other locking methods. NFS users: flock doesn't work, remember to change @samp{mmap-disable}. Defaults to @samp{\"fcntl\"}." -msgstr "" +msgstr "Méthode de verrouillage des fichiers d'index. Les alternatives sont fcntl, flock et dotlock. Le verrouillage-point (dotlocking) utilise des astuces qui peuvent créer plus d'utilisation du disque que les autres méthodes de verrouillage. Pour les utilisateurs de NFS, flock ne marche pas, et rappelez-vous de modifier @samp{mmap-disable}. La valeur par défaut est @samp{\"fcntl\"}." #. type: deftypevr -#: doc/guix.texi:14106 +#: doc/guix.texi:15115 #, no-wrap msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir" msgstr "{paramètre de @code{dovecot-configuration}} file-name mail-temp-dir" #. type: deftypevr -#: doc/guix.texi:14110 +#: doc/guix.texi:15119 msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}." -msgstr "" +msgstr "Le répertoire dans lequel LDA/LMTP stockent temporairement les courriels de plus de 128 Ko. La valeur par défaut est @samp{\"/tmp\"}." #. type: deftypevr -#: doc/guix.texi:14112 +#: doc/guix.texi:15121 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer first-valid-uid" #. type: deftypevr -#: doc/guix.texi:14118 +#: doc/guix.texi:15127 msgid "Valid UID range for users. This is mostly to make sure that users can't log in as daemons or other system users. Note that denying root logins is hardcoded to dovecot binary and can't be done even if @samp{first-valid-uid} is set to 0. Defaults to @samp{500}." -msgstr "" +msgstr "L'intervalle d'UID valides pour les utilisateurs. Cette option est surtout utile pour s'assurer que les utilisateurs ne peuvent pas s'authentifier en tant que démon ou qu'un autre utilisateur système. Remarquez que la connexion en root est interdite en dur dans le binaire de dovecot et qu'on ne peut pas l'autoriser même si @samp{first-valid-uid} vaut 0. La valeur par défaut est @samp{500}." #. type: deftypevr -#: doc/guix.texi:14120 +#: doc/guix.texi:15129 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer last-valid-uid" #. type: deftypevr -#: doc/guix.texi:14125 +#: doc/guix.texi:15134 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer first-valid-gid" #. type: deftypevr -#: doc/guix.texi:14130 +#: doc/guix.texi:15139 msgid "Valid GID range for users. Users having non-valid GID as primary group ID aren't allowed to log in. If user belongs to supplementary groups with non-valid GIDs, those groups are not set. Defaults to @samp{1}." -msgstr "" +msgstr "Li'ntervalle de GID valides pour les utilisateurs. Les utilisateurs qui ont un GID non-valide comme numéro de groupe primaire ne peuvent pas se connecter. Si l'utilisateur appartient à un groupe avec un GID non valide, ce groupe n'est pas utilisable. La valeur par défaut est @samp{1}." #. type: deftypevr -#: doc/guix.texi:14132 +#: doc/guix.texi:15141 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer last-valid-gid" #. type: deftypevr -#: doc/guix.texi:14137 +#: doc/guix.texi:15146 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer mail-max-keyword-length" #. type: deftypevr -#: doc/guix.texi:14141 +#: doc/guix.texi:15150 msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}." -msgstr "" +msgstr "Longueur maximale autorisée pour les mots-clefs. Elle n'est utilisée que lors de la création de nouveaux mots-clefs. La valeur par défaut est @samp{50}." #. type: deftypevr -#: doc/guix.texi:14143 +#: doc/guix.texi:15152 #, no-wrap msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs" msgstr "{paramètre de @code{dovecot-configuration}} colon-separated-file-name-list valid-chroot-dirs" #. type: deftypevr -#: doc/guix.texi:14153 +#: doc/guix.texi:15162 msgid "List of directories under which chrooting is allowed for mail processes (i.e. /var/mail will allow chrooting to /var/mail/foo/bar too). This setting doesn't affect @samp{login-chroot} @samp{mail-chroot} or auth chroot settings. If this setting is empty, \"/./\" in home dirs are ignored. WARNING: Never add directories here which local users can modify, that may lead to root exploit. Usually this should be done only if you don't allow shell access for users. . Defaults to @samp{()}." -msgstr "" +msgstr "Liste des répertoires sous lesquels le chroot est permis pour les processus de traitement des courriels (c.-à-d.@: /var/mail permettra aussi de se chrooter dans /var/mail/foo/bar). Ce paramètre n'affecte pas @samp{login-chroot} @samp{mail-chroot} ou les paramètres de chroot de l'authentification. Si ce paramètre est vide, « /./ » dans les répertoires personnels sont ignorés. ATTENTION : n'ajoutez jamais de répertoires ici que les utilisateurs locaux peuvent modifier, puisque ça pourrait permettre d'escalader les privilèges. Normalement vous ne devriez le faire que si les utilisateurs n'ont pas d'accès shell. . La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:14155 +#: doc/guix.texi:15164 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-chroot" msgstr "{paramètre de @code{dovecot-configuration}} string mail-chroot" #. type: deftypevr -#: doc/guix.texi:14164 +#: doc/guix.texi:15173 msgid "Default chroot directory for mail processes. This can be overridden for specific users in user database by giving /./ in user's home directory (e.g. /home/./user chroots into /home). Note that usually there is no real need to do chrooting, Dovecot doesn't allow users to access files outside their mail directory anyway. If your home directories are prefixed with the chroot directory, append \"/.\" to @samp{mail-chroot}. . Defaults to @samp{\"\"}." -msgstr "" +msgstr "Répertoire chroot par défaut pour les processus de traitement des courriels. Cela peut être modifié pour des utilisateurs particuliers dans la base de donnée en donnant /./ dans le répertoire personnel (p.@: ex.@: /home/./utilisateur permet de se chrooter dans /home). Remarquez qu'il n'y a d'habitude pas besoin de se chrooter. Dovecot ne permet pas aux utilisateurs d'accéder aux fichiers en dehors de leur répertoire de courriels de toute façon. Si vos répertoires personnels sont préfixés par le répertoire de chroot, ajoutez « /. » à @samp{mail-chroot}. . La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14166 +#: doc/guix.texi:15175 #, no-wrap msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path" msgstr "{paramètre de @code{dovecot-configuration}} file-name auth-socket-path" #. type: deftypevr -#: doc/guix.texi:14170 +#: doc/guix.texi:15179 msgid "UNIX socket path to master authentication server to find users. This is used by imap (for shared users) and lda. Defaults to @samp{\"/var/run/dovecot/auth-userdb\"}." -msgstr "" +msgstr "Chemin de socket UNIX vers le serveur d'authentification maître pour trouver les utilisateurs. C'est utilisé par imap (pour les utilisateurs partagés) et lda. La valeur par défaut est @samp{\"/var/run/dovecot/auth-userdb\"}." #. type: deftypevr -#: doc/guix.texi:14172 +#: doc/guix.texi:15181 #, no-wrap msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir" msgstr "{paramètre de @code{dovecot-configuration}} file-name mail-plugin-dir" #. type: deftypevr -#: doc/guix.texi:14175 +#: doc/guix.texi:15184 msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}." -msgstr "" +msgstr "Répertoire où trouver les greffons. La valeur par défaut est @samp{\"/usr/lib/dovecot\"}." #. type: deftypevr -#: doc/guix.texi:14177 +#: doc/guix.texi:15186 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list mail-plugins" #. type: deftypevr -#: doc/guix.texi:14181 +#: doc/guix.texi:15190 msgid "List of plugins to load for all services. Plugins specific to IMAP, LDA, etc. are added to this list in their own .conf files. Defaults to @samp{()}." -msgstr "" +msgstr "Liste des greffons à charger pour tous les services. Les greffons spécifiques à IMAP, LDA, etc sont ajoutés à cette liste dans leur propre fichiers .conf. La valeur par défaut est @samp{()}." #. type: deftypevr -#: doc/guix.texi:14183 +#: doc/guix.texi:15192 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer mail-cache-min-mail-count" #. type: deftypevr -#: doc/guix.texi:14188 +#: doc/guix.texi:15197 msgid "The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads. Defaults to @samp{0}." -msgstr "" +msgstr "Le nombre minimal de courriels dans une boîte aux lettres avant de mettre à jour le fichier de cache. Cela permet d'optimiser le comportement de Dovecot pour qu'il fasse moins d'écriture disque contre plus de lecture disque. La valeur par défaut est @samp{0}." #. type: deftypevr -#: doc/guix.texi:14190 +#: doc/guix.texi:15199 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval" msgstr "{paramètre de @code{dovecot-configuration}} string mailbox-idle-check-interval" #. type: deftypevr -#: doc/guix.texi:14197 +#: doc/guix.texi:15206 msgid "When IDLE command is running, mailbox is checked once in a while to see if there are any new mails or other changes. This setting defines the minimum time to wait between those checks. Dovecot can also use dnotify, inotify and kqueue to find out immediately when changes occur. Defaults to @samp{\"30 secs\"}." -msgstr "" +msgstr "Lorsque la commande IDLE est lancée, la boîte aux lettres est vérifiée de temps en temps pour voir s'il y a de nouveaux messages ou d'autres changements. Ce paramètre défini le temps d'attente minimum entre deux vérifications. Dovecot peut aussi utilise dnotify, inotify et kqueue pour trouver immédiatement les changements. La valeur par défaut est @samp{\"30 secs\"}." #. type: deftypevr -#: doc/guix.texi:14199 +#: doc/guix.texi:15208 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mail-save-crlf?" #. type: deftypevr -#: doc/guix.texi:14206 +#: doc/guix.texi:15215 msgid "Save mails with CR+LF instead of plain LF. This makes sending those mails take less CPU, especially with sendfile() syscall with Linux and FreeBSD. But it also creates a bit more disk I/O which may just make it slower. Also note that if other software reads the mboxes/maildirs, they may handle the extra CRs wrong and cause problems. Defaults to @samp{#f}." -msgstr "" +msgstr "Sauvegarder les courriels avec CR+LF plutôt que seulement LF. Cela permet de consommer moins de CPU en envoyant ces courriels, surtout avec l'appel système sendfile() de Linux et FreeBSD. Mais cela crée un peu plus d'utilisation du disque, ce qui peut aussi le ralentir. Remarquez aussi que si d'autres logiciels lisent les mbox/maildirs, ils peuvent se tromper dans leur traitement de ces CR supplémentaires et causer des problèmes. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14208 +#: doc/guix.texi:15217 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?" msgstr "{paramètre de @code{dovecot-configuration}} boolean maildir-stat-dirs?" #. type: deftypevr -#: doc/guix.texi:14216 +#: doc/guix.texi:15225 msgid "By default LIST command returns all entries in maildir beginning with a dot. Enabling this option makes Dovecot return only entries which are directories. This is done by stat()ing each entry, so it causes more disk I/O. (For systems setting struct @samp{dirent->d_type} this check is free and it's done always regardless of this setting). Defaults to @samp{#f}." -msgstr "" +msgstr "Par défaut la commande LIST renvoie toutes les entrées du maildir qui commencent par un point. Activer cette option permet à Dovecot de renvoyer uniquement les entrées qui sont des répertoires. Cela se fait avec stat() sur chaque entrée, ce qui cause plus d'utilisation du disque. For systems setting struct @samp{dirent->d_type} this check is free and it's done always regardless of this setting). La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14218 +#: doc/guix.texi:15227 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?" msgstr "{paramètre de @code{dovecot-configuration}} boolean maildir-copy-with-hardlinks?" #. type: deftypevr -#: doc/guix.texi:14223 +#: doc/guix.texi:15232 msgid "When copying a message, do it with hard links whenever possible. This makes the performance much better, and it's unlikely to have any side effects. Defaults to @samp{#t}." -msgstr "" +msgstr "Lors de la copie d'un message, le faire avec des liens en dur si possible. Cela améliore un peu la performance et n'a que peu de chance d'avoir des effets secondaires." #. type: deftypevr -#: doc/guix.texi:14225 +#: doc/guix.texi:15234 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?" msgstr "{paramètre de @code{dovecot-configuration}} boolean maildir-very-dirty-syncs?" #. type: deftypevr -#: doc/guix.texi:14230 +#: doc/guix.texi:15239 msgid "Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only when its mtime changes unexpectedly or when we can't find the mail otherwise. Defaults to @samp{#f}." -msgstr "" +msgstr "Suppose que Dovecot est le seul MUA qui accède à Maildir : scanne le répertoire cur/ seulement lorsque son mtime change de manière inattendue ou lorsqu'il ne peut pas trouver le courriel autrement. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14232 +#: doc/guix.texi:15241 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list mbox-read-locks" #. type: deftypevr -#: doc/guix.texi:14235 +#: doc/guix.texi:15244 msgid "Which locking methods to use for locking mbox. There are four available:" -msgstr "" +msgstr "La méthode de verrouillage à utiliser pour verrouiller le boîtes aux lettres mbox. Il y en a quatre :" #. type: item -#: doc/guix.texi:14237 +#: doc/guix.texi:15246 #, no-wrap msgid "dotlock" msgstr "dotlock" #. type: table -#: doc/guix.texi:14241 +#: doc/guix.texi:15250 msgid "Create .lock file. This is the oldest and most NFS-safe solution. If you want to use /var/mail/ like directory, the users will need write access to that directory." -msgstr "" +msgstr "Crée un fichier .lock. C'est la solution la plus ancienne et la plus sûr pour NFS. Si vous voulez utiliser /var/mail/, les utilisateurs auront besoin de l'accès en écriture à ce répertoire." #. type: item -#: doc/guix.texi:14241 +#: doc/guix.texi:15250 #, no-wrap msgid "dotlock-try" msgstr "dotlock-try" #. type: table -#: doc/guix.texi:14244 +#: doc/guix.texi:15253 msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it." -msgstr "" +msgstr "Comme pour dotlock, mais si elle échoue à cause d'un problème de permission ou parce qu'il n'y a pas assez d'espace disque, l'ignore." #. type: item -#: doc/guix.texi:14244 +#: doc/guix.texi:15253 #, no-wrap msgid "fcntl" msgstr "fcntl" #. type: table -#: doc/guix.texi:14246 +#: doc/guix.texi:15255 msgid "Use this if possible. Works with NFS too if lockd is used." -msgstr "" +msgstr "Utilisez cette méthode si possible. Elle fonctionne aussi avec NFS si vous utilisez lockd." #. type: item -#: doc/guix.texi:14246 +#: doc/guix.texi:15255 #, no-wrap msgid "flock" msgstr "flock" #. type: table -#: doc/guix.texi:14248 doc/guix.texi:14250 +#: doc/guix.texi:15257 doc/guix.texi:15259 msgid "May not exist in all systems. Doesn't work with NFS." -msgstr "" +msgstr "Peut ne pas exister sur tous les systèmes. Ne fonctionne pas avec NFS." #. type: item -#: doc/guix.texi:14248 +#: doc/guix.texi:15257 #, no-wrap msgid "lockf" msgstr "lockf" #. type: deftypevr -#: doc/guix.texi:14256 +#: doc/guix.texi:15265 msgid "You can use multiple locking methods; if you do the order they're declared in is important to avoid deadlocks if other MTAs/MUAs are using multiple locking methods as well. Some operating systems don't allow using some of them simultaneously." -msgstr "" +msgstr "Vous pouvez utiliser plusieurs méthodes de verrouillage ; dans ce cas l'ordre dans lequel elles sont déclarées est important pour éviter des interblocages si d'autres MTA/MUA utilisent aussi plusieurs méthodes. Certains systèmes d'exploitation ne permettent pas d'utiliser certaines méthodes en même temps." #. type: deftypevr -#: doc/guix.texi:14258 +#: doc/guix.texi:15267 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list mbox-write-locks" #. type: deftypevr -#: doc/guix.texi:14262 +#: doc/guix.texi:15271 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout" msgstr "{paramètre de @code{dovecot-configuration}} string mbox-lock-timeout" #. type: deftypevr -#: doc/guix.texi:14265 +#: doc/guix.texi:15274 msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}." -msgstr "" +msgstr "Temps d'attente maximal pour un verrou (tous les verrous) avant d'abandonner. La valeur par défaut est @samp{\"5 mins\"}." #. type: deftypevr -#: doc/guix.texi:14267 +#: doc/guix.texi:15276 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout" msgstr "{paramètre de @code{dovecot-configuration}} string mbox-dotlock-change-timeout" #. type: deftypevr -#: doc/guix.texi:14271 +#: doc/guix.texi:15280 msgid "If dotlock exists but the mailbox isn't modified in any way, override the lock file after this much time. Defaults to @samp{\"2 mins\"}." -msgstr "" +msgstr "Si le fichier dotlock existe mais que la boîte aux lettres n'est pas modifiée, remplacer le fichier de verrouillage après ce temps d'attente. La valeur par défaut est @samp{\"2 mins\"}." #. type: deftypevr -#: doc/guix.texi:14273 +#: doc/guix.texi:15282 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mbox-dirty-syncs?" #. type: deftypevr -#: doc/guix.texi:14284 +#: doc/guix.texi:15293 msgid "When mbox changes unexpectedly we have to fully read it to find out what changed. If the mbox is large this can take a long time. Since the change is usually just a newly appended mail, it'd be faster to simply read the new mails. If this setting is enabled, Dovecot does this but still safely fallbacks to re-reading the whole mbox file whenever something in mbox isn't how it's expected to be. The only real downside to this setting is that if some other MUA changes message flags, Dovecot doesn't notice it immediately. Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK commands. Defaults to @samp{#t}." -msgstr "" +msgstr "Lorsqu'un mbox change ne manière inattendue, il faut le lire en entier pour savoir ce qui a changé. Si le mbox est assez grand cela peut prendre beaucoup de temps. Comme le changement est habituellement un simple courriel supplémentaire, il serait plus rapide de lire le nouveaux courriels. Si ce paramètre est activé, Dovecot fait cela mais revient toujours à relire le fichier mbox complet si le fichier n'est pas comme attendu. Le seul réel inconvénient à ce paramètre est que certains MUA changent les drapeaux des messages, et dans ce cas Dovecot ne s'en rend pas immédiatement compte. Remarquez qu'une synchronisation complète est effectuée avec les commandes SELECT, EXAMINE, EXPUNGE et CHECK. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:14286 +#: doc/guix.texi:15295 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mbox-very-dirty-syncs?" #. type: deftypevr -#: doc/guix.texi:14291 +#: doc/guix.texi:15300 msgid "Like @samp{mbox-dirty-syncs}, but don't do full syncs even with SELECT, EXAMINE, EXPUNGE or CHECK commands. If this is set, @samp{mbox-dirty-syncs} is ignored. Defaults to @samp{#f}." -msgstr "" +msgstr "Comme @samp{mbox-dirty-syncs}, mais ne synchronise pas complètement même avec les commandes SELECT, EXAMINE, EXPUNGE ou CHECK. Si l'option n'est pas actifée, @samp{mbox-dirty-syncs} est ignorée. La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14293 +#: doc/guix.texi:15302 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mbox-lazy-writes?" #. type: deftypevr -#: doc/guix.texi:14299 +#: doc/guix.texi:15308 msgid "Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK commands and when closing the mailbox). This is especially useful for POP3 where clients often delete all mails. The downside is that our changes aren't immediately visible to other MUAs. Defaults to @samp{#t}." -msgstr "" +msgstr "Attendre avant d'écrire les en-têtes mbox jusqu'à la prochaine synchronisation des écritures (les commandes EXPUNGE et CHECK et quand on ferme la boîte aux lettres). C'est surtout utile pour POP3 où les clients suppriment souvent tous les courriels. L'inconvénient c'est que vos changements ne sont pas immédiatement visibles pour les autres MUA. La valeur par défaut est @samp{#t}." #. type: deftypevr -#: doc/guix.texi:14301 +#: doc/guix.texi:15310 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer mbox-min-index-size" #. type: deftypevr -#: doc/guix.texi:14306 +#: doc/guix.texi:15315 msgid "If mbox size is smaller than this (e.g. 100k), don't write index files. If an index file already exists it's still read, just not updated. Defaults to @samp{0}." -msgstr "" +msgstr "Si la taille du fichier mbox est plus petite que cela (p.@: ex.@: 100k), ne pas écrire de fichier d'index. Si un fichier d'index existe déjà il est toujours lu, mais pas mis à jour. La valeur par défaut est @samp{0}." #. type: deftypevr -#: doc/guix.texi:14308 +#: doc/guix.texi:15317 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer mdbox-rotate-size" #. type: deftypevr -#: doc/guix.texi:14311 +#: doc/guix.texi:15320 msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}." -msgstr "" +msgstr "Taille du fichier dbox maximale avant rotation. La valeur par défaut est @samp{10000000}." #. type: deftypevr -#: doc/guix.texi:14313 +#: doc/guix.texi:15322 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval" msgstr "{paramètre de @code{dovecot-configuration}} string mdbox-rotate-interval" #. type: deftypevr -#: doc/guix.texi:14318 +#: doc/guix.texi:15327 msgid "Maximum dbox file age until it's rotated. Typically in days. Day begins from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled. Defaults to @samp{\"1d\"}." -msgstr "" +msgstr "Âge maximum du fichier dbox avant rotation. Typiquement en jours. Les jours commencent à minuit, donc 1d signifie aujourd'hui, 2d pour hier, etc. 0 pour désactiver la vérification. La valeur par défaut est @samp{\"1d\"}." #. type: deftypevr -#: doc/guix.texi:14320 +#: doc/guix.texi:15329 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?" msgstr "{paramètre de @code{dovecot-configuration}} boolean mdbox-preallocate-space?" #. type: deftypevr -#: doc/guix.texi:14325 +#: doc/guix.texi:15334 msgid "When creating new mdbox files, immediately preallocate their size to @samp{mdbox-rotate-size}. This setting currently works only in Linux with some file systems (ext4, xfs). Defaults to @samp{#f}." -msgstr "" +msgstr "Lors de la création des fichiers mdbox, préallouer immédiatement leur taille à @samp{mdbox-rotate-size}. Ce paramètre ne fonctionne actuellement que dans Linux avec certains systèmes de fichiers (ext4, xfs). La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14327 +#: doc/guix.texi:15336 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir" msgstr "{paramètre de @code{dovecot-configuration}} string mail-attachment-dir" #. type: deftypevr -#: doc/guix.texi:14331 +#: doc/guix.texi:15340 msgid "sdbox and mdbox support saving mail attachments to external files, which also allows single instance storage for them. Other backends don't support this for now." -msgstr "" +msgstr "Les formats sdbox et mdbox supportent la sauvegarde des pièces-jointes dans des fichiers externes, ce qui permet de les stocker une seule fois. Les autres moteurs ne le supportent pas pour le moment." #. type: deftypevr -#: doc/guix.texi:14333 +#: doc/guix.texi:15342 msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk." -msgstr "" +msgstr "ATTENTION : Cette fonctionnalité n'a pas été beaucoup testée. Utilisez-la à vos risques et périls." #. type: deftypevr -#: doc/guix.texi:14336 +#: doc/guix.texi:15345 msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}." -msgstr "" +msgstr "Racine du répertoire où stocker les pièces-jointes. Désactivé si vide. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14338 +#: doc/guix.texi:15347 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer mail-attachment-min-size" #. type: deftypevr -#: doc/guix.texi:14343 +#: doc/guix.texi:15352 msgid "Attachments smaller than this aren't saved externally. It's also possible to write a plugin to disable saving specific attachments externally. Defaults to @samp{128000}." -msgstr "" +msgstr "Les pièces-jointes plus petites que cela ne sont pas enregistrées à part. Il est aussi possible d'écrire un greffon pour désactiver l'enregistrement externe de certaines pièces-jointes spécifiques. La valeur par défaut est @samp{128000}." #. type: deftypevr -#: doc/guix.texi:14345 +#: doc/guix.texi:15354 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs" msgstr "{paramètre de @code{dovecot-configuration}} string mail-attachment-fs" #. type: deftypevr -#: doc/guix.texi:14347 +#: doc/guix.texi:15356 msgid "File system backend to use for saving attachments:" -msgstr "" +msgstr "Moteur du système de fichier à utiliser pour sauvegarder les pièces-jointes :" #. type: item -#: doc/guix.texi:14348 +#: doc/guix.texi:15357 #, no-wrap msgid "posix" -msgstr "" +msgstr "posix" #. type: table -#: doc/guix.texi:14350 +#: doc/guix.texi:15359 msgid "No SiS done by Dovecot (but this might help FS's own deduplication)" -msgstr "" +msgstr "Pas de SiS (single instance storage) par Dovecot (mais cela peut aider la déduplication du système de fichier)" #. type: item -#: doc/guix.texi:14350 +#: doc/guix.texi:15359 #, no-wrap msgid "sis posix" -msgstr "" +msgstr "sis posix" #. type: table -#: doc/guix.texi:14352 +#: doc/guix.texi:15361 msgid "SiS with immediate byte-by-byte comparison during saving" -msgstr "" +msgstr "SiS avec comparaison bit-à-bit immédiate pendant la sauvegarde" #. type: item -#: doc/guix.texi:14352 +#: doc/guix.texi:15361 #, no-wrap msgid "sis-queue posix" -msgstr "" +msgstr "sis-queue posix" #. type: table -#: doc/guix.texi:14354 +#: doc/guix.texi:15363 msgid "SiS with delayed comparison and deduplication." -msgstr "" +msgstr "SiS avec déduplication et comparaison différées" #. type: deftypevr -#: doc/guix.texi:14356 +#: doc/guix.texi:15365 msgid "Defaults to @samp{\"sis posix\"}." msgstr "La valeur par défaut est @samp{\"sis posix\"}." #. type: deftypevr -#: doc/guix.texi:14358 +#: doc/guix.texi:15367 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash" msgstr "{paramètre de @code{dovecot-configuration}} string mail-attachment-hash" #. type: deftypevr -#: doc/guix.texi:14364 +#: doc/guix.texi:15373 msgid "Hash format to use in attachment filenames. You can add any text and variables: @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Variables can be truncated, e.g. @code{%@{sha256:80@}} returns only first 80 bits. Defaults to @samp{\"%@{sha1@}\"}." -msgstr "" +msgstr "Format de hash à utiliser dans les noms de fichiers des pièces-jointes. Vous pouvez ajouter n'importe quel texte ou variable : @code{%@{md4@}}, @code{%@{md5@}}, @code{%@{sha1@}}, @code{%@{sha256@}}, @code{%@{sha512@}}, @code{%@{size@}}. Les variables peuvent être tronquées, p.@: ex.@: @code{%@{sha256:80@}} renvoie seulement les 80 premiers bits. La valeur par défaut est @samp{\"%@{sha1@}\"}." #. type: deftypevr -#: doc/guix.texi:14366 +#: doc/guix.texi:15375 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer default-process-limit" #. type: deftypevr -#: doc/guix.texi:14371 +#: doc/guix.texi:15380 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer default-client-limit" #. type: deftypevr -#: doc/guix.texi:14374 doc/guix.texi:18402 +#: doc/guix.texi:15383 doc/guix.texi:19707 msgid "Defaults to @samp{1000}." msgstr "La valeur par défaut est @samp{1000}." #. type: deftypevr -#: doc/guix.texi:14376 +#: doc/guix.texi:15385 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer default-vsz-limit" #. type: deftypevr -#: doc/guix.texi:14381 +#: doc/guix.texi:15390 msgid "Default VSZ (virtual memory size) limit for service processes. This is mainly intended to catch and kill processes that leak memory before they eat up everything. Defaults to @samp{256000000}." -msgstr "" +msgstr "Limite VSZ (taille mémoire virtuelle) par défaut pour les processus de service. C'est surtout pour attraper et tuer les processus qui font fuiter la mémoire avant qu'ils ne l'utilisent en entier. La valeur par défaut est @samp{256000000}." #. type: deftypevr -#: doc/guix.texi:14383 +#: doc/guix.texi:15392 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string default-login-user" msgstr "{paramètre de @code{dovecot-configuration}} string default-login-user" #. type: deftypevr -#: doc/guix.texi:14388 +#: doc/guix.texi:15397 msgid "Login user is internally used by login processes. This is the most untrusted user in Dovecot system. It shouldn't have access to anything at all. Defaults to @samp{\"dovenull\"}." -msgstr "" +msgstr "Utilisateur de connexion utilisé en interne par les processus de connexion. C'est l'utilisateur avec la confiance minimale pour Dovecot. Il ne devrait avoir accès à rien du tout. La valeur par défaut est @samp{\"dovenull\"}." #. type: deftypevr -#: doc/guix.texi:14390 +#: doc/guix.texi:15399 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string default-internal-user" msgstr "{paramètre de @code{dovecot-configuration}} string default-internal-user" #. type: deftypevr -#: doc/guix.texi:14395 +#: doc/guix.texi:15404 msgid "Internal user is used by unprivileged processes. It should be separate from login user, so that login processes can't disturb other processes. Defaults to @samp{\"dovecot\"}." -msgstr "" +msgstr "Utilisateur utilisé en interne par les processus non privilégiés. Il devrait être différent de l'utilisateur de connexion, pour que les processus de connexion ne puissent pas perturber les autres processus. La valeur par défaut est @samp{\"dovecot\"}." #. type: deftypevr -#: doc/guix.texi:14397 +#: doc/guix.texi:15406 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string ssl?" msgstr "{paramètre de @code{dovecot-configuration}} string ssl?" #. type: deftypevr -#: doc/guix.texi:14400 +#: doc/guix.texi:15409 msgid "SSL/TLS support: yes, no, required. . Defaults to @samp{\"required\"}." -msgstr "" +msgstr "Support SSL/TLS : yes, no, required. . La valeur par défaut est @samp{\"required\"}." #. type: deftypevr -#: doc/guix.texi:14402 +#: doc/guix.texi:15411 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string ssl-cert" msgstr "{paramètre de @code{dovecot-configuration}} string ssl-cert" #. type: deftypevr -#: doc/guix.texi:14405 +#: doc/guix.texi:15414 msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\" was automatically rejected:%n%r\"}." msgstr "La valeur par défaut est @samp{\"Your message to <%t> was automatically rejected:%n%r\"}." #. type: deftypevr -#: doc/guix.texi:14515 +#: doc/guix.texi:15524 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter" msgstr "{paramètre de @code{dovecot-configuration}} string recipient-delimiter" #. type: deftypevr -#: doc/guix.texi:14519 +#: doc/guix.texi:15528 msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}." -msgstr "" +msgstr "Caractère de délimitation entre la partie locale et le détail des adresses de courriel. La valeur par défaut est @samp{\"+\"}." #. type: deftypevr -#: doc/guix.texi:14521 +#: doc/guix.texi:15530 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header" msgstr "{paramètre de @code{dovecot-configuration}} string lda-original-recipient-header" #. type: deftypevr -#: doc/guix.texi:14527 +#: doc/guix.texi:15536 msgid "Header where the original recipient address (SMTP's RCPT TO: address) is taken from if not available elsewhere. With dovecot-lda -a parameter overrides this. A commonly used header for this is X-Original-To. Defaults to @samp{\"\"}." -msgstr "" +msgstr "En-tête où l'adresse du destinataire d'origine (l'adresse RCPT TO de SMTP) est récupérée si elle n'est pas disponible ailleurs. Le paramètre -a de dovecot-lda le remplace. L'en-tête couramment utilisée pour cela est X-Original-To. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14529 +#: doc/guix.texi:15538 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?" msgstr "{paramètre de @code{dovecot-configuration}} boolean lda-mailbox-autocreate?" #. type: deftypevr -#: doc/guix.texi:14533 +#: doc/guix.texi:15542 msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}." -msgstr "" +msgstr "Sauvegarder un courriel dans un fichier qui n'existe pas devrait-il le créer ? La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14535 +#: doc/guix.texi:15544 #, no-wrap msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?" msgstr "{paramètre de @code{dovecot-configuration}} boolean lda-mailbox-autosubscribe?" #. type: deftypevr -#: doc/guix.texi:14539 +#: doc/guix.texi:15548 msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}." -msgstr "" +msgstr "Devrait-on aussi se souscrire aux boîtes aux lettres nouvellement créées ? La valeur par défaut est @samp{#f}." #. type: deftypevr -#: doc/guix.texi:14541 +#: doc/guix.texi:15550 #, no-wrap msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length" msgstr "{paramètre de @code{dovecot-configuration}} non-negative-integer imap-max-line-length" #. type: deftypevr -#: doc/guix.texi:14547 +#: doc/guix.texi:15556 msgid "Maximum IMAP command line length. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get \"Too long argument\" or \"IMAP command line too large\" errors often. Defaults to @samp{64000}." -msgstr "" +msgstr "Longueur maximale de la ligne de commande IMAP. Certains clients génèrent des lignes de commandes très longues avec des boîtes aux lettres énormes, donc vous pourriez avoir besoin d'augmenter cette limite si vous obtenez les erreurs « Too long argument » ou « IMAP command line too large ». La valeur par défaut est @samp{64000}." #. type: deftypevr -#: doc/guix.texi:14549 +#: doc/guix.texi:15558 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string imap-logout-format" msgstr "{paramètre de @code{dovecot-configuration}} string imap-logout-format" #. type: deftypevr -#: doc/guix.texi:14551 +#: doc/guix.texi:15560 msgid "IMAP logout format string:" -msgstr "" +msgstr "Format de la chaîne de déconnexion IMAP :" #. type: item -#: doc/guix.texi:14552 +#: doc/guix.texi:15561 #, no-wrap msgid "%i" msgstr "%i" #. type: table -#: doc/guix.texi:14554 +#: doc/guix.texi:15563 msgid "total number of bytes read from client" -msgstr "" +msgstr "nombre d'octets lus par le client" #. type: item -#: doc/guix.texi:14554 +#: doc/guix.texi:15563 #, no-wrap msgid "%o" msgstr "%o" #. type: table -#: doc/guix.texi:14556 +#: doc/guix.texi:15565 msgid "total number of bytes sent to client." -msgstr "" +msgstr "nombre total d'octets envoyés au client." #. type: deftypevr -#: doc/guix.texi:14559 +#: doc/guix.texi:15568 msgid "See @file{doc/wiki/Variables.txt} for a list of all the variables you can use. Defaults to @samp{\"in=%i out=%o deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}\"}." -msgstr "" +msgstr "Voir @file{doc/wiki/Variables.txt} pour une liste de toutes les variables utilisables. La valeur par défaut est @samp{\"in=%i out=%o deleted=%@{deleted@} expunged=%@{expunged@} trashed=%@{trashed@} hdr_count=%@{fetch_hdr_count@} hdr_bytes=%@{fetch_hdr_bytes@} body_count=%@{fetch_body_count@} body_bytes=%@{fetch_body_bytes@}\"}." #. type: deftypevr -#: doc/guix.texi:14561 +#: doc/guix.texi:15570 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string imap-capability" msgstr "{paramètre de @code{dovecot-configuration}} string imap-capability" #. type: deftypevr -#: doc/guix.texi:14565 +#: doc/guix.texi:15574 msgid "Override the IMAP CAPABILITY response. If the value begins with '+', add the given capabilities on top of the defaults (e.g. +XFOO XBAR). Defaults to @samp{\"\"}." -msgstr "" +msgstr "Remplace la réponse CAPABILITY d'IMAP. Si la valeur commence par « + », ajoute les capacités données en haut des valeur par défaut (p.@: ex.@: +XFOO XBAR). La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14567 +#: doc/guix.texi:15576 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval" msgstr "{paramètre de @code{dovecot-configuration}} string imap-idle-notify-interval" #. type: deftypevr -#: doc/guix.texi:14571 +#: doc/guix.texi:15580 msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}." -msgstr "" +msgstr "Temps d'attente entre les notifications « OK Still here » lorsque le client est en IDLE. La valeur par défaut est @samp{\"2 mins\"}." #. type: deftypevr -#: doc/guix.texi:14573 +#: doc/guix.texi:15582 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string imap-id-send" msgstr "{paramètre de @code{dovecot-configuration}} string imap-id-send" #. type: deftypevr -#: doc/guix.texi:14579 +#: doc/guix.texi:15588 msgid "ID field names and values to send to clients. Using * as the value makes Dovecot use the default value. The following fields have default values currently: name, version, os, os-version, support-url, support-email. Defaults to @samp{\"\"}." -msgstr "" +msgstr "Noms des champs ID et de leur valeur à envoyer aux clients. « * » signifie la valeur par défaut. Les champs suivants ont actuellement des valeurs par défaut : name, version, os, os-version, support-url, support-email. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14581 +#: doc/guix.texi:15590 #, no-wrap msgid "{@code{dovecot-configuration} parameter} string imap-id-log" msgstr "{paramètre de @code{dovecot-configuration}} string imap-id-log" #. type: deftypevr -#: doc/guix.texi:14584 +#: doc/guix.texi:15593 msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}." -msgstr "" +msgstr "Champs ID envoyés par le client à enregistrer. « * » signifie tout. La valeur par défaut est @samp{\"\"}." #. type: deftypevr -#: doc/guix.texi:14586 +#: doc/guix.texi:15595 #, no-wrap msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds" msgstr "{paramètre de @code{dovecot-configuration}} space-separated-string-list imap-client-workarounds" #. type: deftypevr -#: doc/guix.texi:14588 +#: doc/guix.texi:15597 msgid "Workarounds for various client bugs:" -msgstr "" +msgstr "Contournements pour divers bogues de certains client :" #. type: item -#: doc/guix.texi:14590 +#: doc/guix.texi:15599 #, no-wrap msgid "delay-newmail" msgstr "delay-newmail" #. type: table -#: doc/guix.texi:14597 +#: doc/guix.texi:15606 msgid "Send EXISTS/RECENT new mail notifications only when replying to NOOP and CHECK commands. Some clients ignore them otherwise, for example OSX Mail (' before setting it here, to get a feel for which cipher suites you will get. After setting this option, it is recommend that you inspect your Murmur log to ensure that Murmur is using the cipher suites that you expected it to." -msgstr "" +msgstr "Nous vous recommandons d'essayer votre chaîne de suites de chiffrements avec « openssl ciphers » avant de l'indiquer ici, pour avoir une idée des suites de chiffrement que vous aurez. Après avoir indiqué cette option, nous vous recommandons d'inspecter les journaux de Murmur pour vous assurer que Murmur utilise les suites de chiffrements auxquelles vous vous attendez." #. type: table -#: doc/guix.texi:15382 +#: doc/guix.texi:16391 msgid "Note: Changing this option may impact the backwards compatibility of your Murmur server, and can remove the ability for older Mumble clients to be able to connect to it." -msgstr "" +msgstr "Remarque : modifier cette option peut impacter la rétrocompatibilité de votre serveur Murmur, et peut empêcher que des clients Mumble anciens se connectent." #. type: item -#: doc/guix.texi:15383 +#: doc/guix.texi:16392 #, no-wrap msgid "@code{public-registration} (default: @code{#f})" msgstr "@code{public-registration} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15385 +#: doc/guix.texi:16394 msgid "Must be a @code{} record or @code{#f}." -msgstr "" +msgstr "Doit être un enregistrement @code{} ou @code{#f}." #. type: table -#: doc/guix.texi:15390 +#: doc/guix.texi:16399 msgid "You can optionally register your server in the public server list that the @code{mumble} client shows on startup. You cannot register your server if you have set a @code{server-password}, or set @code{allow-ping} to @code{#f}." -msgstr "" +msgstr "Vous pouvez aussi enregistrer votre serveur dans la liste des serveurs publiques que le client @code{mumble} affiche au démarrage. Vous ne pouvez pas enregistrer votre serveur si vous avez un @code{server-password} ou @code{allow-ping} à @code{#f}." #. type: table -#: doc/guix.texi:15392 +#: doc/guix.texi:16401 msgid "It might take a few hours until it shows up in the public list." -msgstr "" +msgstr "Cela peut prendre quelques heures avant d'arriver sur la liste publique." #. type: item -#: doc/guix.texi:15393 doc/guix.texi:15964 +#: doc/guix.texi:16402 doc/guix.texi:17036 #, no-wrap msgid "@code{file} (default: @code{#f})" msgstr "@code{file} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15395 +#: doc/guix.texi:16404 msgid "Optional alternative override for this configuration." -msgstr "" +msgstr "Version alternative de cette configuration : si vous indiquez quelque chose, le reste est ignoré." #. type: deftp -#: doc/guix.texi:15398 +#: doc/guix.texi:16407 #, no-wrap msgid "{Data Type} murmur-public-registration-configuration" msgstr "{Type de données} murmur-public-registration-configuration" #. type: deftp -#: doc/guix.texi:15400 +#: doc/guix.texi:16409 msgid "Configuration for public registration of a murmur service." -msgstr "" +msgstr "Configuration pour l'enregistrement public du service murmur." #. type: table -#: doc/guix.texi:15404 +#: doc/guix.texi:16413 msgid "This is a display name for your server. Not to be confused with the hostname." -msgstr "" +msgstr "C'est le nom d'affichage de votre serveur. Ne pas le confondre avec le nom d'hôte." #. type: itemx -#: doc/guix.texi:15405 doc/guix.texi:20414 +#: doc/guix.texi:16414 doc/guix.texi:21859 #, no-wrap msgid "password" -msgstr "" +msgstr "password" #. type: table -#: doc/guix.texi:15408 +#: doc/guix.texi:16417 msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password." -msgstr "" +msgstr "Un mot de passe pour identifier votre enregistrement. Les mises à jours suivantes devront utiliser le même mot de passe. Ne le perdez pas." #. type: code{#1} -#: doc/guix.texi:15409 +#: doc/guix.texi:16418 #, no-wrap msgid "url" -msgstr "" +msgstr "url" #. type: table -#: doc/guix.texi:15412 +#: doc/guix.texi:16421 msgid "This should be a @code{http://} or @code{https://} link to your web site." -msgstr "" +msgstr "Cela devrait être le lien @code{http://} ou @code{https://} vers votre site web." #. type: item -#: doc/guix.texi:15413 +#: doc/guix.texi:16422 #, no-wrap msgid "@code{hostname} (default: @code{#f})" msgstr "@code{hostname} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15416 +#: doc/guix.texi:16425 msgid "By default your server will be listed by its IP address. If it is set your server will be linked by this host name instead." -msgstr "" +msgstr "Par défaut votre serveur sera listé par son adresse IP. Si cette option est indiquée votre serveur sera listé par son nom d'hôte." #. type: subsubheading -#: doc/guix.texi:15424 +#: doc/guix.texi:16433 #, no-wrap msgid "Tailon Service" -msgstr "" +msgstr "Service Tailon" #. type: Plain text -#: doc/guix.texi:15428 +#: doc/guix.texi:16437 msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files." -msgstr "" +msgstr "@uref{https://tailon.readthedocs.io/, Tailon} est une application web pour visualiser et chercher des fichiers de journaux." #. type: Plain text -#: doc/guix.texi:15431 +#: doc/guix.texi:16440 msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})." -msgstr "" +msgstr "L'exemple suivant configurera le service avec les valeurs par défaut. Par défaut, on peut accéder à Tailon sur le pour 8080 (@code{http://localhost:8080})." #. type: example -#: doc/guix.texi:15434 +#: doc/guix.texi:16443 #, no-wrap msgid "(service tailon-service-type)\n" -msgstr "" +msgstr "(service tailon-service-type)\n" #. type: Plain text -#: doc/guix.texi:15438 +#: doc/guix.texi:16447 msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands." -msgstr "" +msgstr "L'exemple suivant personnalise un peu plus la configuration de Tailon, en ajoutant @command{sed} à la liste des commandes autorisées." #. type: example -#: doc/guix.texi:15445 +#: doc/guix.texi:16454 #, no-wrap msgid "" "(service tailon-service-type\n" @@ -28497,188 +30328,196 @@ msgid "" " (tailon-configuration-file\n" " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n" msgstr "" +"(service tailon-service-type\n" +" (tailon-configuration\n" +" (config-file\n" +" (tailon-configuration-file\n" +" (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n" #. type: deftp -#: doc/guix.texi:15448 +#: doc/guix.texi:16457 #, no-wrap msgid "{Data Type} tailon-configuration" msgstr "{Type de données} tailon-configuration" #. type: deftp -#: doc/guix.texi:15451 +#: doc/guix.texi:16460 msgid "Data type representing the configuration of Tailon. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration de Tailon. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:15453 +#: doc/guix.texi:16462 #, no-wrap msgid "@code{config-file} (default: @code{(tailon-configuration-file)})" msgstr "@code{config-file} (par défaut : @code{(tailon-configuration-file)})" #. type: table -#: doc/guix.texi:15457 +#: doc/guix.texi:16466 msgid "The configuration file to use for Tailon. This can be set to a @dfn{tailon-configuration-file} record value, or any gexp (@pxref{G-Expressions})." -msgstr "" +msgstr "Le fichier de configuration à utiliser pour Tailon. Ce champ peut contenir un enregistrement @dfn{tailon-configuration-file} ou n'importe quelle gexp (@pxref{G-Expressions})." #. type: table -#: doc/guix.texi:15460 +#: doc/guix.texi:16469 msgid "For example, to instead use a local file, the @code{local-file} function can be used:" -msgstr "" +msgstr "Par exemple, pour utiliser un fichier local à la place, on peut utiliser la fonction @code{local-file} :" #. type: example -#: doc/guix.texi:15465 +#: doc/guix.texi:16474 #, no-wrap msgid "" "(service tailon-service-type\n" " (tailon-configuration\n" " (config-file (local-file \"./my-tailon.conf\"))))\n" msgstr "" +"(service tailon-service-type\n" +" (tailon-configuration\n" +" (config-file (local-file \"./my-tailon.conf\"))))\n" #. type: item -#: doc/guix.texi:15467 +#: doc/guix.texi:16476 #, no-wrap msgid "@code{package} (default: @code{tailon})" msgstr "@code{package} (par défaut : @code{tailon})" #. type: table -#: doc/guix.texi:15469 +#: doc/guix.texi:16478 msgid "The tailon package to use." msgstr "Le paquet tailon à utiliser." #. type: deftp -#: doc/guix.texi:15473 +#: doc/guix.texi:16482 #, no-wrap msgid "{Data Type} tailon-configuration-file" msgstr "{Type de données} tailon-configuration-file" #. type: deftp -#: doc/guix.texi:15476 +#: doc/guix.texi:16485 msgid "Data type representing the configuration options for Tailon. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant les options de configuration de Tailon. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:15478 +#: doc/guix.texi:16487 #, no-wrap msgid "@code{files} (default: @code{(list \"/var/log\")})" msgstr "@code{files} (par défaut : @code{(list \"/var/log\")})" #. type: table -#: doc/guix.texi:15483 +#: doc/guix.texi:16492 msgid "List of files to display. The list can include strings for a single file or directory, or a list, where the first item is the name of a subsection, and the remaining items are the files or directories in that subsection." -msgstr "" +msgstr "Liste des fichiers à afficher. La liste peut inclure des chaînes pour des fichiers simple ou des répertoires, ou une liste, où le premier élément est le nom d'un sous-section et le reste des fichiers ou des répertoires de cette sous-section." #. type: item -#: doc/guix.texi:15484 +#: doc/guix.texi:16493 #, no-wrap msgid "@code{bind} (default: @code{\"localhost:8080\"})" msgstr "@code{bind} (par défaut : @code{\"localhost:8080\"})" #. type: table -#: doc/guix.texi:15486 +#: doc/guix.texi:16495 msgid "Address and port to which Tailon should bind on." -msgstr "" +msgstr "Adresse et port sur lesquels Tailon écoute." #. type: item -#: doc/guix.texi:15487 +#: doc/guix.texi:16496 #, no-wrap msgid "@code{relative-root} (default: @code{#f})" msgstr "@code{relative-root} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15489 +#: doc/guix.texi:16498 msgid "URL path to use for Tailon, set to @code{#f} to not use a path." -msgstr "" +msgstr "Chemin de l'URL à utiliser pour Tailon, ou @code{#f} pour ne pas utiliser de chemin." #. type: item -#: doc/guix.texi:15490 +#: doc/guix.texi:16499 #, no-wrap msgid "@code{allow-transfers?} (default: @code{#t})" msgstr "@code{allow-transfers?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:15492 +#: doc/guix.texi:16501 msgid "Allow downloading the log files in the web interface." -msgstr "" +msgstr "Permet de télécharger les journaux dans l'interface web." #. type: item -#: doc/guix.texi:15493 +#: doc/guix.texi:16502 #, no-wrap msgid "@code{follow-names?} (default: @code{#t})" msgstr "@code{follow-names?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:15495 +#: doc/guix.texi:16504 msgid "Allow tailing of not-yet existent files." -msgstr "" +msgstr "Permet de surveiller des fichiers qui n'existent pas encore." #. type: item -#: doc/guix.texi:15496 +#: doc/guix.texi:16505 #, no-wrap msgid "@code{tail-lines} (default: @code{200})" msgstr "@code{tail-lines} (par défaut : @code{200})" #. type: table -#: doc/guix.texi:15498 +#: doc/guix.texi:16507 msgid "Number of lines to read initially from each file." -msgstr "" +msgstr "Nombre de lignes à lire initialement dans chaque fichier." #. type: item -#: doc/guix.texi:15499 +#: doc/guix.texi:16508 #, no-wrap msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})" msgstr "@code{allowed-commands} (par défaut : @code{(list \"tail\" \"grep\" \"awk\")})" #. type: table -#: doc/guix.texi:15501 +#: doc/guix.texi:16510 msgid "Commands to allow running. By default, @code{sed} is disabled." -msgstr "" +msgstr "Commandes autorisées. Par défaut, @code{sed} est désactivé." #. type: item -#: doc/guix.texi:15502 +#: doc/guix.texi:16511 #, no-wrap msgid "@code{debug?} (default: @code{#f})" msgstr "@code{debug?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15504 +#: doc/guix.texi:16513 msgid "Set @code{debug?} to @code{#t} to show debug messages." -msgstr "" +msgstr "Configurez @code{debug?} à @code{#t} pour montrer les messages de débogage." #. type: item -#: doc/guix.texi:15505 +#: doc/guix.texi:16514 #, no-wrap msgid "@code{wrap-lines} (default: @code{#t})" msgstr "@code{wrap-lines} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:15509 +#: doc/guix.texi:16518 msgid "Initial line wrapping state in the web interface. Set to @code{#t} to initially wrap lines (the default), or to @code{#f} to initially not wrap lines." -msgstr "" +msgstr "État initial du retour à la ligne dans l'interface web. Configurez l'option à @code{#t} pour retourner à la ligne (par défaut) ou à @code{#f} pour ne pas retourner à la ligne au début." #. type: item -#: doc/guix.texi:15510 +#: doc/guix.texi:16519 #, no-wrap msgid "@code{http-auth} (default: @code{#f})" msgstr "@code{http-auth} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15514 +#: doc/guix.texi:16523 msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}." -msgstr "" +msgstr "Type d'authentification HTTP à utiliser. Indiquez @code{#f} pour désactiver l'authentification (par défaut). Les valeur supportées sont @code{\"digest\"} et @code{\"basic\"}." #. type: item -#: doc/guix.texi:15515 +#: doc/guix.texi:16524 #, no-wrap msgid "@code{users} (default: @code{#f})" msgstr "@code{users} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15520 +#: doc/guix.texi:16529 msgid "If HTTP authentication is enabled (see @code{http-auth}), access will be restricted to the credentials provided here. To configure users, use a list of pairs, where the first element of the pair is the username, and the 2nd element of the pair is the password." -msgstr "" +msgstr "Si l'authentification HTTP est activée (voir @code{http-auth}), l'accès sera restreint aux identifiants fournis ici. Pour configurer des utilisateurs, utilisez une liste de paires, où le premier élément de la paire est le nom d'utilisateur et le second élément est le mot de passe." #. type: example -#: doc/guix.texi:15526 +#: doc/guix.texi:16535 #, no-wrap msgid "" "(tailon-configuration-file\n" @@ -28686,155 +30525,230 @@ msgid "" " (users '((\"user1\" . \"password1\")\n" " (\"user2\" . \"password2\"))))\n" msgstr "" +"(tailon-configuration-file\n" +" (http-auth \"basic\")\n" +" (users '((\"user1\" . \"password1\")\n" +" (\"user2\" . \"password2\"))))\n" #. type: subsubheading -#: doc/guix.texi:15532 +#: doc/guix.texi:16541 #, no-wrap msgid "Darkstat Service" -msgstr "" +msgstr "Service Darkstat" #. type: cindex -#: doc/guix.texi:15533 +#: doc/guix.texi:16542 #, no-wrap msgid "darkstat" -msgstr "" +msgstr "darkstat" #. type: Plain text -#: doc/guix.texi:15536 +#: doc/guix.texi:16545 msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP." -msgstr "" +msgstr "Darkstat est un « renifleur de paquets » qui capture le trafic réseau, calcul des statistiques sur l'utilisation et sert des rapport sur HTTP." #. type: defvar -#: doc/guix.texi:15537 +#: doc/guix.texi:16546 #, no-wrap msgid "{Scheme Variable} darkstat-service-type" msgstr "{Variable Scheme} darkstat-service-type" #. type: defvar -#: doc/guix.texi:15542 +#: doc/guix.texi:16551 msgid "This is the service type for the @uref{https://unix4lyfe.org/darkstat/, darkstat} service, its value must be a @code{darkstat-configuration} record as in this example:" -msgstr "" +msgstr "C'est le type de service pour le service @uref{https://unix4lyfe.org/darkstat/, darkstat}, sa valeur doit être un enregistrement @code{darkstat-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:15547 +#: doc/guix.texi:16556 #, no-wrap msgid "" "(service darkstat-service-type\n" " (darkstat-configuration\n" " (interface \"eno1\")))\n" msgstr "" +"(service darkstat-service-type\n" +" (darkstat-configuration\n" +" (interface \"eno1\")))\n" #. type: deftp -#: doc/guix.texi:15550 +#: doc/guix.texi:16559 #, no-wrap msgid "{Data Type} darkstat-configuration" msgstr "{Type de données} darkstat-configuration" #. type: deftp -#: doc/guix.texi:15552 +#: doc/guix.texi:16561 msgid "Data type representing the configuration of @command{darkstat}." -msgstr "" +msgstr "Type de données représentant la configuration de @command{darkstat}." #. type: item -#: doc/guix.texi:15554 +#: doc/guix.texi:16563 #, no-wrap msgid "@code{package} (default: @code{darkstat})" msgstr "@code{package} (par défaut : @code{darkstat})" #. type: table -#: doc/guix.texi:15556 +#: doc/guix.texi:16565 msgid "The darkstat package to use." msgstr "Le paquet darkstat à utiliser." #. type: code{#1} -#: doc/guix.texi:15557 +#: doc/guix.texi:16566 #, no-wrap msgid "interface" -msgstr "" +msgstr "interface" #. type: table -#: doc/guix.texi:15559 +#: doc/guix.texi:16568 msgid "Capture traffic on the specified network interface." -msgstr "" +msgstr "Capture le trafic sur l'interface réseau spécifiée." #. type: item -#: doc/guix.texi:15560 +#: doc/guix.texi:16569 #, no-wrap msgid "@code{port} (default: @code{\"667\"})" msgstr "@code{port} (par défaut : @code{\"667\"})" #. type: table -#: doc/guix.texi:15562 +#: doc/guix.texi:16571 msgid "Bind the web interface to the specified port." -msgstr "" +msgstr "Lie l'interface web sur le port spécifié." #. type: item -#: doc/guix.texi:15563 +#: doc/guix.texi:16572 #, no-wrap msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})" msgstr "@code{bind-address} (par défaut : @code{\"127.0.0.1\"})" #. type: table -#: doc/guix.texi:15565 +#: doc/guix.texi:16574 doc/guix.texi:16612 msgid "Bind the web interface to the specified address." -msgstr "" +msgstr "Lie l'interface web sur l'adresse spécifiée." #. type: item -#: doc/guix.texi:15566 +#: doc/guix.texi:16575 #, no-wrap msgid "@code{base} (default: @code{\"/\"})" msgstr "@code{base} (par défaut : @code{\"/\"})" #. type: table -#: doc/guix.texi:15569 +#: doc/guix.texi:16578 msgid "Specify the path of the base URL. This can be useful if @command{darkstat} is accessed via a reverse proxy." -msgstr "" - -#. type: cindex -#: doc/guix.texi:15576 -#, no-wrap -msgid "Kerberos" -msgstr "" - -#. type: Plain text -#: doc/guix.texi:15580 -msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}." -msgstr "" +msgstr "Spécifie le chemin de base des URL. C'est utile si on accède à @command{darkstat} à travers un proxy inverse." #. type: subsubheading -#: doc/guix.texi:15581 +#: doc/guix.texi:16582 +#, no-wrap +msgid "Prometheus Node Exporter Service" +msgstr "Service d'export de nœud de Prometheus" + +#. type: cindex +#: doc/guix.texi:16584 +#, no-wrap +msgid "prometheus-node-exporter" +msgstr "prometheus-node-exporter" + +#. type: Plain text +#: doc/guix.texi:16589 +msgid "The Prometheus ``node exporter'' makes hardware and operating system statistics provided by the Linux kernel available for the Prometheus monitoring system. This service should be deployed on all physical nodes and virtual machines, where monitoring these statistics is desirable." +msgstr "L'exportateur de nœuds de Prometheus rend disponible les statistiques sur le matériel et le système d'exploitation fournies par le noyau Linux pour le système de surveillance Prometheus. Ce service devrait être déployé sur tous les nœuds physiques et les machines virtuelles, où vous voulez surveiller ces statistiques." + +#. type: defvar +#: doc/guix.texi:16590 +#, no-wrap +msgid "{Scheme variable} prometheus-node-exporter-service-type" +msgstr "{Variable Scheme} prometheus-node-exporter-service-type" + +#. type: defvar +#: doc/guix.texi:16595 +msgid "This is the service type for the @uref{https://github.com/prometheus/node_exporter/, prometheus-node-exporter} service, its value must be a @code{prometheus-node-exporter-configuration} record as in this example:" +msgstr "C'est le type de service pour le service @uref{https://github.com/prometheus/node_exporter/, prometheus-node-exporter}, sa valeur doit être un enregistrement @code{prometheus-node-exporter-configuration} comme dans cet exemple :" + +#. type: example +#: doc/guix.texi:16600 +#, no-wrap +msgid "" +"(service prometheus-node-exporter-service-type\n" +" (prometheus-node-exporter-configuration\n" +" (web-listen-address \":9100\")))\n" +msgstr "" +"(service prometheus-node-exporter-service-type\n" +" (prometheus-node-exporter-configuration\n" +" (web-listen-address \":9100\")))\n" + +#. type: deftp +#: doc/guix.texi:16603 +#, no-wrap +msgid "{Data Type} prometheus-node-exporter-configuration" +msgstr "{Type de données} prometheus-node-exporter-configuration" + +#. type: deftp +#: doc/guix.texi:16605 +msgid "Data type representing the configuration of @command{node_exporter}." +msgstr "Type de données représentant la configuration de @command{node_exporter}" + +#. type: item +#: doc/guix.texi:16607 +#, no-wrap +msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})" +msgstr "@code{package} (par défaut : @code{go-github-com-prometheus-node-exporter})" + +#. type: table +#: doc/guix.texi:16609 +msgid "The prometheus-node-exporter package to use." +msgstr "Le paquet prometheus-node-exporter à utiliser." + +#. type: item +#: doc/guix.texi:16610 +#, no-wrap +msgid "@code{web-listen-address} (default: @code{\":9100\"})" +msgstr "@code{web-listen-address} (par défaut : @code{\":9100\"})" + +#. type: cindex +#: doc/guix.texi:16618 +#, no-wrap +msgid "Kerberos" +msgstr "Kerberos" + +#. type: Plain text +#: doc/guix.texi:16622 +msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}." +msgstr "Le module @code{(gnu services kerberos)} fournit des services liés au protocole d'authentification @dfn{Kerberos}." + +#. type: subsubheading +#: doc/guix.texi:16623 #, no-wrap msgid "Krb5 Service" -msgstr "" +msgstr "Service Krb5" #. type: Plain text -#: doc/guix.texi:15588 +#: doc/guix.texi:16630 msgid "Programs using a Kerberos client library normally expect a configuration file in @file{/etc/krb5.conf}. This service generates such a file from a definition provided in the operating system declaration. It does not cause any daemon to be started." -msgstr "" +msgstr "Les programmes qui utilisent une bibliothèque cliente Kerberos s'attendent à trouver un fichier de configuration dans @file{/etc/krb5.conf}. Ce service génère un tel fichier à partir d'une définition fournie par la déclaration de système d'exploitation. Il ne démarre aucun démon." #. type: Plain text -#: doc/guix.texi:15592 +#: doc/guix.texi:16634 msgid "No ``keytab'' files are provided by this service---you must explicitly create them. This service is known to work with the MIT client library, @code{mit-krb5}. Other implementations have not been tested." -msgstr "" +msgstr "Aucun fichier « keytab » n'est fourni par ce service — vous devez les créer explicitement. Ce service est connu pour fonctionner avec la bibliothèque cliente MIT, @code{mit-krb5}. Les autres implémentations n'ont pas été testées." #. type: defvr -#: doc/guix.texi:15593 +#: doc/guix.texi:16635 #, no-wrap msgid "{Scheme Variable} krb5-service-type" msgstr "{Variable Scheme} krb5-service-type" #. type: defvr -#: doc/guix.texi:15595 +#: doc/guix.texi:16637 msgid "A service type for Kerberos 5 clients." -msgstr "" +msgstr "Un type de service pour les clients Kerberos 5." #. type: Plain text -#: doc/guix.texi:15599 +#: doc/guix.texi:16641 msgid "Here is an example of its use:" -msgstr "" +msgstr "Voici un exemple d'utilisation :" #. type: lisp -#: doc/guix.texi:15613 +#: doc/guix.texi:16655 #, no-wrap msgid "" "(service krb5-service-type\n" @@ -28851,231 +30765,244 @@ msgid "" " (admin-server \"kerb-admin.argrx.edu\")\n" " (kdc \"keys.argrx.edu\"))))))\n" msgstr "" +"(service krb5-service-type\n" +" (krb5-configuration\n" +" (default-realm \"EXAMPLE.COM\")\n" +" (allow-weak-crypto? #t)\n" +" (realms (list\n" +" (krb5-realm\n" +" (name \"EXAMPLE.COM\")\n" +" (admin-server \"groucho.example.com\")\n" +" (kdc \"karl.example.com\"))\n" +" (krb5-realm\n" +" (name \"ARGRX.EDU\")\n" +" (admin-server \"kerb-admin.argrx.edu\")\n" +" (kdc \"keys.argrx.edu\"))))))\n" #. type: Plain text -#: doc/guix.texi:15617 +#: doc/guix.texi:16659 msgid "This example provides a Kerberos@tie{}5 client configuration which:" -msgstr "" +msgstr "Cet exemple fournit une configuration cliente Kerberos@tie{}5 qui :" #. type: item -#: doc/guix.texi:15618 +#: doc/guix.texi:16660 #, no-wrap msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both" -msgstr "" +msgstr "Reconnais deux domaines : « EXAMPLE.COM » et « ARGREX.EDU », tous deux" #. type: itemize -#: doc/guix.texi:15620 +#: doc/guix.texi:16662 msgid "of which have distinct administration servers and key distribution centers;" -msgstr "" +msgstr "aillant des serveurs d'administration et des centres de distribution de clefs distincts ;" #. type: item -#: doc/guix.texi:15620 +#: doc/guix.texi:16662 #, no-wrap msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly" -msgstr "" +msgstr "Utilisera le domaine « EXAMPLE.COM » pr défaut si le domaine n'est pas spécifié" #. type: itemize -#: doc/guix.texi:15622 +#: doc/guix.texi:16664 msgid "specified by clients;" -msgstr "" +msgstr "explicitement par les clients ;" #. type: item -#: doc/guix.texi:15622 +#: doc/guix.texi:16664 #, no-wrap msgid "Accepts services which only support encryption types known to be weak." -msgstr "" +msgstr "Acceptera les services qui ne supportent que des types de chiffrements connus pour être faibles." #. type: Plain text -#: doc/guix.texi:15630 +#: doc/guix.texi:16672 msgid "The @code{krb5-realm} and @code{krb5-configuration} types have many fields. Only the most commonly used ones are described here. For a full list, and more detailed explanation of each, see the MIT @uref{http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf} documentation." -msgstr "" +msgstr "Les types @code{krb5-realm} et @code{krb5-configuration} ont de nombreux champs. Seuls les plus communs sont décrits ici. Pour une liste complète, et plus de détails sur chacun d'entre eux, voir la documentation de MIT @uref{http://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html,,krb5.conf}." #. type: deftp -#: doc/guix.texi:15632 +#: doc/guix.texi:16674 #, no-wrap msgid "{Data Type} krb5-realm" msgstr "{Type de données} krb5-realm" #. type: cindex -#: doc/guix.texi:15633 +#: doc/guix.texi:16675 #, no-wrap msgid "realm, kerberos" -msgstr "" +msgstr "domaine, kerberos" #. type: table -#: doc/guix.texi:15639 +#: doc/guix.texi:16681 msgid "This field is a string identifying the name of the realm. A common convention is to use the fully qualified DNS name of your organization, converted to upper case." -msgstr "" +msgstr "Ce champ est une chaîne identifiant le nom d'un domaine. Une convention courante est d'utiliser le nom pleinement qualifié de votre organisation, converti en majuscule." #. type: code{#1} -#: doc/guix.texi:15640 +#: doc/guix.texi:16682 #, no-wrap msgid "admin-server" -msgstr "" +msgstr "admin-server" #. type: table -#: doc/guix.texi:15643 +#: doc/guix.texi:16685 msgid "This field is a string identifying the host where the administration server is running." -msgstr "" +msgstr "Ce champ est une chaîne identifiant l'hôte où le serveur d'administration tourne." #. type: code{#1} -#: doc/guix.texi:15644 +#: doc/guix.texi:16686 #, no-wrap msgid "kdc" -msgstr "" +msgstr "kdc" #. type: table -#: doc/guix.texi:15647 +#: doc/guix.texi:16689 msgid "This field is a string identifying the key distribution center for the realm." -msgstr "" +msgstr "Ce champ est une chaîne identifiant le centre de distribution de clefs pour ce domaine." #. type: deftp -#: doc/guix.texi:15650 +#: doc/guix.texi:16692 #, no-wrap msgid "{Data Type} krb5-configuration" msgstr "{Type de données} krb5-configuration" #. type: item -#: doc/guix.texi:15653 +#: doc/guix.texi:16695 #, no-wrap msgid "@code{allow-weak-crypto?} (default: @code{#f})" msgstr "@code{allow-weak-crypto?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15656 +#: doc/guix.texi:16698 msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted." -msgstr "" +msgstr "Si ce drapeau est @code{#t} les services qui n'offrent que des algorithmes de chiffrement faibles seront acceptés." #. type: item -#: doc/guix.texi:15657 +#: doc/guix.texi:16699 #, no-wrap msgid "@code{default-realm} (default: @code{#f})" msgstr "@code{default-realm} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15664 +#: doc/guix.texi:16706 msgid "This field should be a string identifying the default Kerberos realm for the client. You should set this field to the name of your Kerberos realm. If this value is @code{#f} then a realm must be specified with every Kerberos principal when invoking programs such as @command{kinit}." -msgstr "" +msgstr "Ce champ devrait être une chaîne identifiant le domaine Kerberos par défaut pour le client. Vous devriez mettre le nom de votre domaine Kerberos dans ce champ. Si cette valeur est @code{#f} alors un domaine doit être spécifié pour chaque principal Kerberos à l'invocation des programmes comme @command{kinit}." #. type: code{#1} -#: doc/guix.texi:15665 +#: doc/guix.texi:16707 #, no-wrap msgid "realms" -msgstr "" +msgstr "realms" #. type: table -#: doc/guix.texi:15670 +#: doc/guix.texi:16712 msgid "This should be a non-empty list of @code{krb5-realm} objects, which clients may access. Normally, one of them will have a @code{name} field matching the @code{default-realm} field." -msgstr "" +msgstr "Cela doit être une liste non-vide d'objets @code{krb5-realm}, auxquels les clients peuvent accéder. Normalement, l'un d'entre eux aura un champ @code{name} qui correspond au champ @code{default-realm}." #. type: subsubheading -#: doc/guix.texi:15674 +#: doc/guix.texi:16716 #, no-wrap msgid "PAM krb5 Service" -msgstr "" +msgstr "Service PAM krb5" #. type: cindex -#: doc/guix.texi:15675 +#: doc/guix.texi:16717 #, no-wrap msgid "pam-krb5" -msgstr "" +msgstr "pam-krb5" #. type: Plain text -#: doc/guix.texi:15681 +#: doc/guix.texi:16723 msgid "The @code{pam-krb5} service allows for login authentication and password management via Kerberos. You will need this service if you want PAM enabled applications to authenticate users using Kerberos." -msgstr "" +msgstr "Le service @code{pam-krb5} permet la connexion et la gestion des mots de passe par Kerberos. Vous aurez besoin de ce service si vous voulez que les applications qui utilisent PAM puissent authentifier automatiquement les utilisateurs avec Kerberos." #. type: defvr -#: doc/guix.texi:15682 +#: doc/guix.texi:16724 #, no-wrap msgid "{Scheme Variable} pam-krb5-service-type" msgstr "{Variable Scheme} pam-krb5-service-type" #. type: defvr -#: doc/guix.texi:15684 +#: doc/guix.texi:16726 msgid "A service type for the Kerberos 5 PAM module." -msgstr "" +msgstr "Un type de service pour le module PAM Kerberos 5." #. type: deftp -#: doc/guix.texi:15686 +#: doc/guix.texi:16728 #, no-wrap msgid "{Data Type} pam-krb5-configuration" msgstr "{Type de données} pam-krb5-configuration" #. type: deftp -#: doc/guix.texi:15689 +#: doc/guix.texi:16731 msgid "Data type representing the configuration of the Kerberos 5 PAM module This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration du module PAM Kerberos 5. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:15690 +#: doc/guix.texi:16732 #, no-wrap msgid "@code{pam-krb5} (default: @code{pam-krb5})" msgstr "@code{pam-krb5} (par défaut : @code{pam-krb5})" #. type: table -#: doc/guix.texi:15692 +#: doc/guix.texi:16734 msgid "The pam-krb5 package to use." msgstr "Le paquet pam-krb5 à utiliser." #. type: item -#: doc/guix.texi:15693 +#: doc/guix.texi:16735 #, no-wrap msgid "@code{minimum-uid} (default: @code{1000})" msgstr "@code{minimum-uid} (par défaut : @code{1000})" #. type: table -#: doc/guix.texi:15696 +#: doc/guix.texi:16738 msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate." -msgstr "" +msgstr "Le plus petite ID utilisateur pour lequel les authentifications Kerberos devraient être tentées. Les comptes locaux avec une valeur plus petite échoueront silencieusement leur authentification Kerberos." #. type: cindex -#: doc/guix.texi:15703 +#: doc/guix.texi:16745 #, no-wrap msgid "web" -msgstr "" +msgstr "web" #. type: cindex -#: doc/guix.texi:15704 +#: doc/guix.texi:16746 #, no-wrap msgid "www" -msgstr "" +msgstr "www" #. type: cindex -#: doc/guix.texi:15705 +#: doc/guix.texi:16747 #, no-wrap msgid "HTTP" -msgstr "" +msgstr "HTTP" #. type: Plain text -#: doc/guix.texi:15708 +#: doc/guix.texi:16750 msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon." -msgstr "" +msgstr "Le module @code{(gnu services web)} fournit le serveur Apache HTTP, le serveur web nginx et aussi un démon fastcgi." #. type: subsubheading -#: doc/guix.texi:15709 +#: doc/guix.texi:16751 #, no-wrap msgid "Apache HTTP Server" -msgstr "" +msgstr "Serveur Apache HTTP" #. type: deffn -#: doc/guix.texi:15711 +#: doc/guix.texi:16753 #, no-wrap msgid "{Scheme Variable} httpd-service-type" msgstr "{Variable Scheme} httpd-service-type" #. type: deffn -#: doc/guix.texi:15715 -msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{https-configuration} record." -msgstr "" +#: doc/guix.texi:16757 +msgid "Service type for the @uref{https://httpd.apache.org/,Apache HTTP} server (@dfn{httpd}). The value for this service type is a @code{httpd-configuration} record." +msgstr "Type de service pour le serveur @uref{https://httpd.apache.org/,Apache HTTP} (@dfn{httpd}). La valeur de ce type de service est un enregistrement @code{httpd-configuration}." #. type: deffn -#: doc/guix.texi:15717 doc/guix.texi:15868 +#: doc/guix.texi:16759 doc/guix.texi:16940 msgid "A simple example configuration is given below." -msgstr "" +msgstr "Un exemple de configuration simple est donné ci-dessous." #. type: example -#: doc/guix.texi:15725 +#: doc/guix.texi:16767 #, no-wrap msgid "" "(service httpd-service-type\n" @@ -29085,14 +31012,20 @@ msgid "" " (server-name \"www.example.com\")\n" " (document-root \"/srv/http/www.example.com\")))))\n" msgstr "" +"(service httpd-service-type\n" +" (httpd-configuration\n" +" (config\n" +" (httpd-config-file\n" +" (server-name \"www.example.com\")\n" +" (document-root \"/srv/http/www.example.com\")))))\n" #. type: deffn -#: doc/guix.texi:15729 +#: doc/guix.texi:16771 msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration." -msgstr "" +msgstr "D'autres services peuvent aussi étendre @code{httpd-service-type} pour être ajouté à la configuration." #. type: example -#: doc/guix.texi:15738 doc/guix.texi:15848 +#: doc/guix.texi:16780 doc/guix.texi:16920 #, no-wrap msgid "" "(simple-service 'my-extra-server httpd-service-type\n" @@ -29103,259 +31036,328 @@ msgid "" " \"ServerName \"www.example.com\n" " DocumentRoot \\\"/srv/http/www.example.com\\\"\")))))\n" msgstr "" +"(simple-service 'my-extra-server httpd-service-type\n" +" (list\n" +" (httpd-virtualhost\n" +" \"*:80\"\n" +" (list (string-append\n" +" \"ServerName \"www.example.com\n" +" DocumentRoot \\\"/srv/http/www.example.com\\\"\")))))\n" #. type: Plain text -#: doc/guix.texi:15744 +#: doc/guix.texi:16786 msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below." -msgstr "" +msgstr "Les détails des types d'enregistrement @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} et @code{httpd-virtualhost} sont donnés plus bas." #. type: deffn -#: doc/guix.texi:15745 +#: doc/guix.texi:16787 #, no-wrap msgid "{Data Type} httpd-configuration" msgstr "{Type de données} httpd-configuration" #. type: deffn -#: doc/guix.texi:15747 +#: doc/guix.texi:16789 msgid "This data type represents the configuration for the httpd service." -msgstr "" +msgstr "Ce type de données représente la configuration du service httpd." #. type: item -#: doc/guix.texi:15749 +#: doc/guix.texi:16791 #, no-wrap msgid "@code{package} (default: @code{httpd})" msgstr "@code{package} (par défaut : @code{httpd})" #. type: table -#: doc/guix.texi:15751 +#: doc/guix.texi:16793 msgid "The httpd package to use." msgstr "Le paquet httpd à utiliser." #. type: item -#: doc/guix.texi:15752 doc/guix.texi:15811 +#: doc/guix.texi:16794 doc/guix.texi:16883 #, no-wrap msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})" msgstr "@code{pid-file} (par défaut : @code{\"/var/run/httpd\"})" #. type: table -#: doc/guix.texi:15754 +#: doc/guix.texi:16796 msgid "The pid file used by the shepherd-service." -msgstr "" +msgstr "Le fichier de pid utilisé par le service shepherd." #. type: item -#: doc/guix.texi:15755 +#: doc/guix.texi:16797 #, no-wrap msgid "@code{config} (default: @code{(httpd-config-file)})" msgstr "@code{config} (par défaut : @code{(httpd-config-file)})" #. type: table -#: doc/guix.texi:15760 +#: doc/guix.texi:16802 msgid "The configuration file to use with the httpd service. The default value is a @code{httpd-config-file} record, but this can also be a different G-expression that generates a file, for example a @code{plain-file}. A file outside of the store can also be specified through a string." -msgstr "" +msgstr "Le fichier de configuration à utiliser avec le service httpd. La valeur par défaut est un enregistrement @code{httpd-config-file} mais cela peut aussi être un G-expression qui génère un fichier, par exemple un @code{plain-file}. Un fichier en dehors du dépôt peut aussi être spécifié avec une chaîne de caractères." #. type: deffn -#: doc/guix.texi:15764 +#: doc/guix.texi:16806 #, no-wrap msgid "{Data Type} httpd-module" msgstr "{Type de données} httpd-module" #. type: deffn -#: doc/guix.texi:15766 +#: doc/guix.texi:16808 msgid "This data type represents a module for the httpd service." -msgstr "" +msgstr "Ce type de données représente un module pour le service httpd." #. type: table -#: doc/guix.texi:15770 +#: doc/guix.texi:16812 msgid "The name of the module." -msgstr "" +msgstr "Le nom du module." #. type: table -#: doc/guix.texi:15776 +#: doc/guix.texi:16818 msgid "The file for the module. This can be relative to the httpd package being used, the absolute location of a file, or a G-expression for a file within the store, for example @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}." -msgstr "" +msgstr "Le fichier pour le module. Cela peut être relatif au paquet httpd utilisé, l'emplacement absolu d'un fichier ou une G-expression pour un fichier dans le dépôt, par exemple @code{(file-append mod-wsgi \"/modules/mod_wsgi.so\")}." + +#. type: defvr +#: doc/guix.texi:16822 +#, no-wrap +msgid "{Scheme Variable} %default-httpd-modules" +msgstr "{Variable Scheme} %default-httpd-modules" + +#. type: defvr +#: doc/guix.texi:16824 +msgid "A default list of @code{httpd-module} objects." +msgstr "Une liste par défaut des objets @code{httpd-module}." #. type: deffn -#: doc/guix.texi:15780 +#: doc/guix.texi:16826 #, no-wrap msgid "{Data Type} httpd-config-file" msgstr "{Type de données} httpd-config-file" #. type: deffn -#: doc/guix.texi:15782 +#: doc/guix.texi:16828 msgid "This data type represents a configuration file for the httpd service." -msgstr "" +msgstr "Ce type de données représente un fichier de configuration pour le service httpd." #. type: item -#: doc/guix.texi:15784 +#: doc/guix.texi:16830 #, no-wrap msgid "@code{modules} (default: @code{%default-httpd-modules})" msgstr "@code{modules} (par défaut : @code{%default-httpd-modules})" #. type: table -#: doc/guix.texi:15787 +#: doc/guix.texi:16833 msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration." +msgstr "Les modules à charger. Les modules supplémentaires peuvent être ajoutés ici ou chargés par des configuration supplémentaires." + +#. type: table +#: doc/guix.texi:16836 +msgid "For example, in order to handle requests for PHP files, you can use Apache’s @code{mod_proxy_fcgi} module along with @code{php-fpm-service-type}:" +msgstr "Par exemple, pour gérer les requêtes pour des fichiers PHP, vous pouvez utiliser le module @code{mod_proxy_fcgi} d'Apache avec @code{php-fpm-service-type} :" + +#. type: example +#: doc/guix.texi:16858 +#, no-wrap +msgid "" +"(service httpd-service-type\n" +" (httpd-configuration\n" +" (config\n" +" (httpd-config-file\n" +" (modules (cons*\n" +" (httpd-module\n" +" (name \"proxy_module\")\n" +" (file \"modules/mod_proxy.so\"))\n" +" (httpd-module\n" +" (name \"proxy_fcgi_module\")\n" +" (file \"modules/mod_proxy_fcgi.so\"))\n" +" %default-httpd-modules))\n" +" (extra-config (list \"\\\n" +"\n" +" SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n" +"\"))))))\n" +"(service php-fpm-service-type\n" +" (php-fpm-configuration\n" +" (socket \"/var/run/php-fpm.sock\")\n" +" (socket-group \"httpd\")))\n" msgstr "" +"(service httpd-service-type\n" +" (httpd-configuration\n" +" (config\n" +" (httpd-config-file\n" +" (modules (cons*\n" +" (httpd-module\n" +" (name \"proxy_module\")\n" +" (file \"modules/mod_proxy.so\"))\n" +" (httpd-module\n" +" (name \"proxy_fcgi_module\")\n" +" (file \"modules/mod_proxy_fcgi.so\"))\n" +" %default-httpd-modules))\n" +" (extra-config (list \"\\\n" +"\n" +" SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n" +"\"))))))\n" +"(service php-fpm-service-type\n" +" (php-fpm-configuration\n" +" (socket \"/var/run/php-fpm.sock\")\n" +" (socket-group \"httpd\")))\n" #. type: item -#: doc/guix.texi:15788 +#: doc/guix.texi:16860 #, no-wrap msgid "@code{server-root} (default: @code{httpd})" msgstr "@code{server-root} (par défaut : @code{httpd})" #. type: table -#: doc/guix.texi:15792 +#: doc/guix.texi:16864 msgid "The @code{ServerRoot} in the configuration file, defaults to the httpd package. Directives including @code{Include} and @code{LoadModule} are taken as relative to the server root." -msgstr "" +msgstr "Le @code{ServerRoot} dans le fichier de configuration, par défaut le paquet httpd. Les directives comme @code{Include} et @code{LoadModule} sont prises relativement à la racine du serveur." #. type: item -#: doc/guix.texi:15793 +#: doc/guix.texi:16865 #, no-wrap msgid "@code{server-name} (default: @code{#f})" msgstr "@code{server-name} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15797 +#: doc/guix.texi:16869 msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself." -msgstr "" +msgstr "Le @code{ServerName} dans le fichier de configuration, utilisé pour spécifier le schéma de requête, le nom d'hôte et le port que le serveur utilise pour s'identifier." #. type: table -#: doc/guix.texi:15801 +#: doc/guix.texi:16873 msgid "This doesn't need to be set in the server config, and can be specifyed in virtual hosts. The default is @code{#f} to not specify a @code{ServerName}." -msgstr "" +msgstr "Cela n'a pas besoin d'être dans la configuration du serveur, et peut être spécifié dans les hôtes virtuels. La valeur par défaut est @code{#f} pour ne pas spécifier de @code{ServerName}." #. type: item -#: doc/guix.texi:15802 +#: doc/guix.texi:16874 #, no-wrap msgid "@code{document-root} (default: @code{\"/srv/http\"})" msgstr "@code{document-root} (par défaut : @code{\"/srv/http\"})" #. type: table -#: doc/guix.texi:15804 +#: doc/guix.texi:16876 msgid "The @code{DocumentRoot} from which files will be served." -msgstr "" +msgstr "Le @code{DocumentRoot} depuis lequel les fichiers seront servis." #. type: item -#: doc/guix.texi:15805 +#: doc/guix.texi:16877 #, no-wrap msgid "@code{listen} (default: @code{'(\"80\")})" msgstr "@code{listen} (par défaut : @code{'(\"80\")})" #. type: table -#: doc/guix.texi:15810 +#: doc/guix.texi:16882 msgid "The list of values for the @code{Listen} directives in the config file. The value should be a list of strings, when each string can specify the port number to listen on, and optionally the IP address and protocol to use." -msgstr "" +msgstr "La liste des valeurs pour les directives @code{Listen} dans le fichier de configuration. La valeur devrait être une liste de chaînes, où chacune spécifie le port sur lequel écouter et éventuellement une adresse IP et un protocole à utiliser." #. type: table -#: doc/guix.texi:15815 +#: doc/guix.texi:16887 msgid "The @code{PidFile} to use. This should match the @code{pid-file} set in the @code{httpd-configuration} so that the Shepherd service is configured correctly." -msgstr "" +msgstr "Le @code{PidFile} à utiliser. Cela devrait correspondre à @code{pid-file} indiqué dans @code{httpd-configuration} pour que le service Shepherd soit correctement configuré." #. type: item -#: doc/guix.texi:15816 +#: doc/guix.texi:16888 #, no-wrap msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})" msgstr "@code{error-log} (par défaut : @code{\"/var/log/httpd/error_log\"})" #. type: table -#: doc/guix.texi:15818 +#: doc/guix.texi:16890 msgid "The @code{ErrorLog} to which the server will log errors." -msgstr "" +msgstr "Le @code{ErrorLog} où le serveur écrit les journaux d'erreurs." #. type: item -#: doc/guix.texi:15819 +#: doc/guix.texi:16891 #, no-wrap msgid "@code{user} (default: @code{\"httpd\"})" msgstr "@code{user} (par défaut : @code{\"httpd\"})" #. type: table -#: doc/guix.texi:15821 +#: doc/guix.texi:16893 msgid "The @code{User} which the server will answer requests as." -msgstr "" +msgstr "Le @code{User} en tant que lequel le serveur répondra aux requêtes." #. type: item -#: doc/guix.texi:15822 +#: doc/guix.texi:16894 #, no-wrap msgid "@code{group} (default: @code{\"httpd\"})" msgstr "@code{group} (par défaut : @code{\"httpd\"})" #. type: table -#: doc/guix.texi:15824 +#: doc/guix.texi:16896 msgid "The @code{Group} which the server will answer requests as." -msgstr "" +msgstr "Le @code{Group} que le serveur utilisera pour répondre aux requêtes." #. type: item -#: doc/guix.texi:15825 +#: doc/guix.texi:16897 #, no-wrap msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})" msgstr "@code{extra-config} (par défaut : @code{(list \"TypesConfig etc/httpd/mime.types\")})" #. type: table -#: doc/guix.texi:15828 +#: doc/guix.texi:16900 msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file." -msgstr "" +msgstr "Une liste plate de chaînes et de G-expressions qui seront ajoutées à la fin du fichier de configuration." #. type: table -#: doc/guix.texi:15831 +#: doc/guix.texi:16903 msgid "Any values which the service is extended with will be appended to this list." -msgstr "" +msgstr "N'importe quelle valeur avec laquelle le service est étendu sera ajouté à cette liste." #. type: deffn -#: doc/guix.texi:15835 +#: doc/guix.texi:16907 #, no-wrap msgid "{Data Type} httpd-virtualhost" msgstr "{Type de données} httpd-virtualhost" #. type: deffn -#: doc/guix.texi:15837 +#: doc/guix.texi:16909 msgid "This data type represents a virtualhost configuration block for the httpd service." -msgstr "" +msgstr "Ce type de données représente la configuration d'un hôte virtuel pour le service httpd." #. type: deffn -#: doc/guix.texi:15839 +#: doc/guix.texi:16911 msgid "These should be added to the extra-config for the httpd-service." -msgstr "" +msgstr "Ils devraient être ajoutés à extra-config dans httpd-service." #. type: code{#1} -#: doc/guix.texi:15851 +#: doc/guix.texi:16923 #, no-wrap msgid "addresses-and-ports" msgstr "addresses-and-ports" #. type: table -#: doc/guix.texi:15853 +#: doc/guix.texi:16925 msgid "The addresses and ports for the @code{VirtualHost} directive." -msgstr "" +msgstr "L'adresse et le port pour la directive @code{VirtualHost}." #. type: code{#1} -#: doc/guix.texi:15854 +#: doc/guix.texi:16926 #, no-wrap msgid "contents" msgstr "contents" #. type: table -#: doc/guix.texi:15857 +#: doc/guix.texi:16929 msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions." -msgstr "" +msgstr "Le contenu de la directive @code{VirtualHost}, cela devrait être une liste de chaîne et de G-expressions." #. type: subsubheading -#: doc/guix.texi:15861 +#: doc/guix.texi:16933 #, no-wrap msgid "NGINX" msgstr "NGINX" #. type: deffn -#: doc/guix.texi:15863 +#: doc/guix.texi:16935 #, no-wrap msgid "{Scheme Variable} nginx-service-type" msgstr "{Variable Scheme} nginx-service-type" #. type: deffn -#: doc/guix.texi:15866 +#: doc/guix.texi:16938 msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{} record." -msgstr "" +msgstr "Type de service pour le serveur web @uref{https://nginx.org/,NGinx}. La valeur de ce service est un enregistrement @code{}." #. type: example -#: doc/guix.texi:15876 doc/guix.texi:15930 +#: doc/guix.texi:16948 doc/guix.texi:17002 #, no-wrap msgid "" "(service nginx-service-type\n" @@ -29365,14 +31367,20 @@ msgid "" " (server-name '(\"www.example.com\"))\n" " (root \"/srv/http/www.example.com\"))))))\n" msgstr "" +"(service nginx-service-type\n" +" (nginx-configuration\n" +" (server-blocks\n" +" (list (nginx-server-configuration\n" +" (server-name '(\"www.example.com\"))\n" +" (root \"/srv/http/www.example.com\"))))))\n" #. type: deffn -#: doc/guix.texi:15881 +#: doc/guix.texi:16953 msgid "In addition to adding server blocks to the service configuration directly, this service can be extended by other services to add server blocks, as in this example:" -msgstr "" +msgstr "En plus d'ajouter des blocs de serveurs dans la configuration du service directement, ce service peut être étendu par d'autres services pour ajouter des blocs de serveurs, comme dans cet exemple :" #. type: example -#: doc/guix.texi:15887 +#: doc/guix.texi:16959 #, no-wrap msgid "" "(simple-service 'my-extra-server nginx-service-type\n" @@ -29386,88 +31394,88 @@ msgstr "" " (try-files (list \"$uri\" \"$uri/index.html\")))))\n" #. type: Plain text -#: doc/guix.texi:15898 +#: doc/guix.texi:16970 msgid "At startup, @command{nginx} has not yet read its configuration file, so it uses a default file to log error messages. If it fails to load its configuration file, that is where error messages are logged. After the configuration file is loaded, the default error log file changes as per configuration. In our case, startup error messages can be found in @file{/var/run/nginx/logs/error.log}, and after configuration in @file{/var/log/nginx/error.log}. The second location can be changed with the @var{log-directory} configuration option." -msgstr "" +msgstr "Au démarrage, @command{nginx} n'a pas encore lu son fichier de configuration, donc il utilise les fichiers par défaut pour les messages d'erreur. S'il échoue à charger sa configuration, c'est là où les messages seront enregistrés. Après la lecture du fichier de configuration, le fichier de journal d'erreur par défaut change en fonction de celle-ci. Dans notre cas, les messages d'erreur au démarage se trouvent dans @file{/var/run/nginx/logs/error.log} et après la configuration dans @file{/var/log/nginx/error.log}. Ce second emplacement peut être modifié avec l'option de configuration @var{log-directory}." #. type: deffn -#: doc/guix.texi:15899 +#: doc/guix.texi:16971 #, no-wrap msgid "{Data Type} nginx-configuration" msgstr "{Type de données} nginx-configuration" #. type: deffn -#: doc/guix.texi:15903 +#: doc/guix.texi:16975 msgid "This data type represents the configuration for NGinx. Some configuration can be done through this and the other provided record types, or alternatively, a config file can be provided." -msgstr "" +msgstr "Ce type de données représente la configuration de NGinx. Certaines configurations peuvent se faire ici et d'autres fournissent des types d'enregistrement ou éventuellement, on peut fournir un fichier de configuration." #. type: item -#: doc/guix.texi:15905 +#: doc/guix.texi:16977 #, no-wrap msgid "@code{nginx} (default: @code{nginx})" msgstr "@code{nginx} (par défaut : @code{nginx})" #. type: table -#: doc/guix.texi:15907 +#: doc/guix.texi:16979 msgid "The nginx package to use." msgstr "Le paquet nginx à utiliser." #. type: item -#: doc/guix.texi:15908 +#: doc/guix.texi:16980 #, no-wrap msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})" msgstr "@code{log-directory} (par défaut : @code{\"/var/log/nginx\"})" #. type: table -#: doc/guix.texi:15910 +#: doc/guix.texi:16982 msgid "The directory to which NGinx will write log files." -msgstr "" +msgstr "Le répertoire dans lequel NGinx écrira ses fichiers journaux." #. type: item -#: doc/guix.texi:15911 +#: doc/guix.texi:16983 #, no-wrap msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})" msgstr "@code{run-directory} (par défaut : @code{\"/var/run/nginx\"})" #. type: table -#: doc/guix.texi:15914 +#: doc/guix.texi:16986 msgid "The directory in which NGinx will create a pid file, and write temporary files." -msgstr "" +msgstr "Le répertoire dans lequel NGinx créera un fichier de pid et écrira des fichiers temporaires." #. type: item -#: doc/guix.texi:15915 +#: doc/guix.texi:16987 #, no-wrap msgid "@code{server-blocks} (default: @code{'()})" msgstr "@code{server-blocks} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:15919 +#: doc/guix.texi:16991 msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{}." -msgstr "" +msgstr "Une liste de @dfn{blocs serveur} à créer dans le fichier de configuration généré, dont les éléments sont de type @code{}." #. type: table -#: doc/guix.texi:15923 +#: doc/guix.texi:16995 msgid "The following example would setup NGinx to serve @code{www.example.com} from the @code{/srv/http/www.example.com} directory, without using HTTPS." -msgstr "" +msgstr "L'exemple suivant paramètre NGinx pour servir @code{www.example.com} depuis le répertoire @code{/srv/http/www.example.com} sans utiliser HTTPS." #. type: item -#: doc/guix.texi:15932 +#: doc/guix.texi:17004 #, no-wrap msgid "@code{upstream-blocks} (default: @code{'()})" msgstr "@code{upstream-blocks} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:15936 +#: doc/guix.texi:17008 msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{}." -msgstr "" +msgstr "Une liste de @dfn{blocs amont} à créer dans le fichier de configuration généré, dont les éléments sont de type @code{}." #. type: table -#: doc/guix.texi:15943 +#: doc/guix.texi:17015 msgid "Configuring upstreams through the @code{upstream-blocks} can be useful when combined with @code{locations} in the @code{} records. The following example creates a server configuration with one location configuration, that will proxy requests to a upstream configuration, which will handle requests with two servers." -msgstr "" +msgstr "Configurer les serveurs amont à travers les @code{upstream-blocks} peut être utile en combinaison avec @code{locations} dans les enregistrements @code{}. L'exemple suivant crée une configuration de serveur avec une configuration « location » qui sera mandataire pour une configuration amont, qui gérera les requêtes avec deux serveurs." #. type: example -#: doc/guix.texi:15962 +#: doc/guix.texi:17034 #, no-wrap msgid "" "(service\n" @@ -29507,742 +31515,932 @@ msgstr "" " \"server2.example.com\")))))))\n" #. type: table -#: doc/guix.texi:15970 +#: doc/guix.texi:17042 msgid "If a configuration @var{file} is provided, this will be used, rather than generating a configuration file from the provided @code{log-directory}, @code{run-directory}, @code{server-blocks} and @code{upstream-blocks}. For proper operation, these arguments should match what is in @var{file} to ensure that the directories are created when the service is activated." -msgstr "" +msgstr "Si un fichier de configuration @var{file} est fourni, il sera utilisé au lieu de générer un fichier de configuration à partir des @code{log-directory}, @code{run-directory}, @code{server-blocks} et @code{upstream-blocks} fournis. Pour un bon fonctionnement, ces arguments devraient correspondre à ce qui se trouve dans @var{file} pour s'assurer que les répertoires sont créé lorsque le service est activé." #. type: table -#: doc/guix.texi:15974 +#: doc/guix.texi:17046 msgid "This can be useful if you have an existing configuration file, or it's not possible to do what is required through the other parts of the nginx-configuration record." -msgstr "" +msgstr "Cela peut être utile si vous avez déjà un fichier de configuration existant ou s'il n'est pas possible de faire ce dont vous avez besoin avec les autres parties de l'enregistrement nginx-configuration." #. type: item -#: doc/guix.texi:15975 +#: doc/guix.texi:17047 #, no-wrap msgid "@code{server-names-hash-bucket-size} (default: @code{#f})" msgstr "@code{server-names-hash-bucket-size} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15978 +#: doc/guix.texi:17050 msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line." -msgstr "" +msgstr "Taille du seau pour les tables de hashage des noms de serveurs, par dauft @code{#f} pour utilise la taille des lignes de cache du processeur." #. type: item -#: doc/guix.texi:15979 +#: doc/guix.texi:17051 #, no-wrap msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})" msgstr "@code{server-names-hash-bucket-max-size} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:15981 +#: doc/guix.texi:17053 msgid "Maximum bucket size for the server names hash tables." -msgstr "" +msgstr "Taille maximum des seaux pour les tables de hashage des serveurs de noms." #. type: item -#: doc/guix.texi:15982 +#: doc/guix.texi:17054 #, no-wrap msgid "@code{extra-content} (default: @code{\"\"})" msgstr "@code{extra-content} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:15985 +#: doc/guix.texi:17057 msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression." -msgstr "" +msgstr "Contenu supplémentaire du bloc @code{http}. Cela devrait être une chaîne ou un G-expression." #. type: deftp -#: doc/guix.texi:15989 +#: doc/guix.texi:17061 #, no-wrap msgid "{Data Type} nginx-server-configuration" msgstr "{Type de données} nginx-server-configuration" #. type: deftp -#: doc/guix.texi:15992 +#: doc/guix.texi:17064 msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration d'un bloc serveur de nginx. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:15994 +#: doc/guix.texi:17066 #, no-wrap msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})" msgstr "@code{listen} (par défaut : @code{'(\"80\" \"443 ssl\")})" #. type: table -#: doc/guix.texi:15999 +#: doc/guix.texi:17071 msgid "Each @code{listen} directive sets the address and port for IP, or the path for a UNIX-domain socket on which the server will accept requests. Both address and port, or only address or only port can be specified. An address may also be a hostname, for example:" -msgstr "" +msgstr "Chaque directive @code{listen} indique l'adresse et le port pour le protocole IP ou le chemin d'un socket UNIX-domain sur lequel le serveur acceptera les connexions. On peut spécifier l'adresse et le port, ou juste l'adresse ou juste le port. Une adresse peut aussi être un nom d'hôte, par exemple :" #. type: example -#: doc/guix.texi:16002 +#: doc/guix.texi:17074 #, no-wrap msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n" msgstr "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n" #. type: item -#: doc/guix.texi:16004 +#: doc/guix.texi:17076 #, no-wrap msgid "@code{server-name} (default: @code{(list 'default)})" msgstr "@code{server-name} (par défaut : @code{(list 'default)})" #. type: table -#: doc/guix.texi:16007 +#: doc/guix.texi:17079 msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server." -msgstr "" +msgstr "Une liste de noms de serveurs que ce serveur représente. @code{'default} représente le serveur par défaut pour les connexions qui ne correspondent à aucun autre serveur." #. type: item -#: doc/guix.texi:16008 +#: doc/guix.texi:17080 #, no-wrap msgid "@code{root} (default: @code{\"/srv/http\"})" msgstr "@code{root} (par défaut : @code{\"/srv/http\"})" #. type: table -#: doc/guix.texi:16010 +#: doc/guix.texi:17082 msgid "Root of the website nginx will serve." -msgstr "" +msgstr "Racine du site web que sert nginx." #. type: item -#: doc/guix.texi:16011 +#: doc/guix.texi:17083 #, no-wrap msgid "@code{locations} (default: @code{'()})" msgstr "@code{locations} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16015 +#: doc/guix.texi:17087 msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block." -msgstr "" +msgstr "Une liste d'enregistrements @dfn{nginx-location-configuration} ou @dfn{nginx-named-location-configuration} à utiliser dans ce bloc serveur." #. type: item -#: doc/guix.texi:16016 +#: doc/guix.texi:17088 #, no-wrap msgid "@code{index} (default: @code{(list \"index.html\")})" msgstr "@code{index} (par défaut : @code{(list \"index.html\")})" #. type: table -#: doc/guix.texi:16019 +#: doc/guix.texi:17091 msgid "Index files to look for when clients ask for a directory. If it cannot be found, Nginx will send the list of files in the directory." -msgstr "" +msgstr "Fichiers d'index à chercher lorsque les clients demandent un répertoire. S'il ne peut pas être trouvé, Nginx enverra la liste des fichiers dans le répertoire." #. type: item -#: doc/guix.texi:16020 +#: doc/guix.texi:17092 #, no-wrap msgid "@code{try-files} (default: @code{'()})" msgstr "@code{try-files} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16023 +#: doc/guix.texi:17095 msgid "A list of files whose existence is checked in the specified order. @code{nginx} will use the first file it finds to process the request." -msgstr "" +msgstr "Une liste de fichiers dont l'existence doit être vérifiée dans l'ordre spécifié. @code{nginx} utilisera le premier fichier trouvé pour satisfaire la requête." #. type: item -#: doc/guix.texi:16024 +#: doc/guix.texi:17096 #, no-wrap msgid "@code{ssl-certificate} (default: @code{#f})" msgstr "@code{ssl-certificate} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16027 +#: doc/guix.texi:17099 msgid "Where to find the certificate for secure connections. Set it to @code{#f} if you don't have a certificate or you don't want to use HTTPS." -msgstr "" +msgstr "Où trouver les certificats pour les connexions sécurisées. Indiquez @code{#f} si vous n'avez pas de certificats et que vous ne voulez pas utiliser HTTPS." #. type: item -#: doc/guix.texi:16028 +#: doc/guix.texi:17100 #, no-wrap msgid "@code{ssl-certificate-key} (default: @code{#f})" msgstr "@code{ssl-certificate-key} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16031 +#: doc/guix.texi:17103 msgid "Where to find the private key for secure connections. Set it to @code{#f} if you don't have a key or you don't want to use HTTPS." -msgstr "" +msgstr "Où trouver la clef privée pour les connexions sécurisées. Indiquez @code{#f} si vous n'avez pas de clef et que vous ne voulez pas utiliser HTTPS." #. type: item -#: doc/guix.texi:16032 +#: doc/guix.texi:17104 #, no-wrap msgid "@code{server-tokens?} (default: @code{#f})" msgstr "@code{server-tokens?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16034 +#: doc/guix.texi:17106 msgid "Whether the server should add its configuration to response." -msgstr "" +msgstr "Indique si le serveur devrait ajouter sa configuration dans les réponses." #. type: item -#: doc/guix.texi:16035 +#: doc/guix.texi:17107 #, no-wrap msgid "@code{raw-content} (default: @code{'()})" msgstr "@code{raw-content} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16037 +#: doc/guix.texi:17109 msgid "A list of raw lines added to the server block." -msgstr "" +msgstr "Une liste de lignes brutes à ajouter dans le bloc serveur." #. type: deftp -#: doc/guix.texi:16041 +#: doc/guix.texi:17113 #, no-wrap msgid "{Data Type} nginx-upstream-configuration" msgstr "{Type de données} nginx-upstream-configuration" #. type: deftp -#: doc/guix.texi:16044 +#: doc/guix.texi:17116 msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration d'un bloc @code{upstream} nginx. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16048 +#: doc/guix.texi:17120 msgid "Name for this group of servers." -msgstr "" +msgstr "Nome de ces groupe de serveurs." #. type: code{#1} -#: doc/guix.texi:16049 +#: doc/guix.texi:17121 #, no-wrap msgid "servers" -msgstr "" +msgstr "serveurs" #. type: table -#: doc/guix.texi:16056 +#: doc/guix.texi:17128 msgid "Specify the addresses of the servers in the group. The address can be specified as a IP address (e.g. @samp{127.0.0.1}), domain name (e.g. @samp{backend1.example.com}) or a path to a UNIX socket using the prefix @samp{unix:}. For addresses using an IP address or domain name, the default port is 80, and a different port can be specified explicitly." -msgstr "" +msgstr "Spécifie les adresses des serveurs dans le groupe. L'adresse peut être spécifié avec une adresse IP (p.@: ex.@: @samp{127.0.0.1}), un nom de domaine (p.@: ex.@: @samp{backend1.example.com}) ou un chemin vers un socket UNIX avec le préfixe @samp{unix:}. Pour les adresse utilisant une adresse IP ou un nom de domaine, le port par défaut est 80 et un port différent peut être spécifié explicitement." #. type: deftp -#: doc/guix.texi:16060 +#: doc/guix.texi:17132 #, no-wrap msgid "{Data Type} nginx-location-configuration" msgstr "{Type de données} nginx-location-configuration" #. type: deftp -#: doc/guix.texi:16063 +#: doc/guix.texi:17135 msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration d'un bloc @code{location} nginx. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16067 +#: doc/guix.texi:17139 msgid "URI which this location block matches." -msgstr "" +msgstr "URI qui correspond à ce bloc." #. type: anchor{#1} -#: doc/guix.texi:16069 +#: doc/guix.texi:17141 msgid "nginx-location-configuration body" -msgstr "" +msgstr "nginx-location-configuration body" #. type: code{#1} -#: doc/guix.texi:16069 doc/guix.texi:16090 +#: doc/guix.texi:17141 doc/guix.texi:17162 #, no-wrap msgid "body" -msgstr "" +msgstr "body" #. type: table -#: doc/guix.texi:16076 +#: doc/guix.texi:17148 msgid "Body of the location block, specified as a list of strings. This can contain many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, the following directive would be specified in the body @samp{(list \"proxy_pass http://upstream-name;\")}." -msgstr "" +msgstr "Corps du block location, spécifié comme une liste de chaînes de caractères. Cela peut contenir de nombreuses directives de configuration. PAr exemple, pour passer des requêtes à un groupe de serveurs amont définis dans un bloc @code{nginx-upstream-configuration}, la directive suivante peut être spécifiée dans le corps : @samp{(list \"proxy_pass http://upstream-name;\")}." #. type: deftp -#: doc/guix.texi:16080 +#: doc/guix.texi:17152 #, no-wrap msgid "{Data Type} nginx-named-location-configuration" msgstr "{Type de données} nginx-named-location-configuration" #. type: deftp -#: doc/guix.texi:16085 +#: doc/guix.texi:17157 msgid "Data type representing the configuration of an nginx named location block. Named location blocks are used for request redirection, and not used for regular request processing. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration d'un bloc location nginx nommé. Les blocs location nommés sont utilisé les redirections de requêtes et pas pour le traitement des requêtes normales. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16089 +#: doc/guix.texi:17161 msgid "Name to identify this location block." -msgstr "" +msgstr "Nom pour identifier ce bloc location." #. type: table -#: doc/guix.texi:16095 +#: doc/guix.texi:17167 msgid "@xref{nginx-location-configuration body}, as the body for named location blocks can be used in a similar way to the @code{nginx-location-configuration body}. One restriction is that the body of a named location block cannot contain location blocks." -msgstr "" +msgstr "@xref{nginx-location-configuration body}, comme le corps d'un bloc location nommé peut être utilisé de la même manière que @code{nginx-location-configuration body}. Une restriction est que le corps d'un bloc location nommé ne peut pas contenir de bloc location." + +#. type: subsubheading +#: doc/guix.texi:17171 +#, no-wrap +msgid "Varnish Cache" +msgstr "Cache Varnish" #. type: cindex -#: doc/guix.texi:16099 +#: doc/guix.texi:17172 #, no-wrap -msgid "fastcgi" -msgstr "" - -#. type: cindex -#: doc/guix.texi:16100 -#, no-wrap -msgid "fcgiwrap" -msgstr "" +msgid "Varnish" +msgstr "Varnish" #. type: Plain text -#: doc/guix.texi:16107 -msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix." -msgstr "" - -#. type: Plain text -#: doc/guix.texi:16114 -msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process." -msgstr "" +#: doc/guix.texi:17177 +msgid "Varnish is a fast cache server that sits in between web applications and end users. It proxies requests from clients and caches the accessed URLs such that multiple requests for the same resource only creates one request to the back-end." +msgstr "Varnish est un serveur de cache rapide qui se trouve entre les applications web et les utilisateurs. Il sert de serveur mandataire pour les requêtes des clients et met les URL accédées en cache pour que plusieurs requêtes à la même ressource ne crée qu'une requête au moteur." #. type: defvr -#: doc/guix.texi:16115 +#: doc/guix.texi:17178 +#, no-wrap +msgid "{Scheme Variable} varnish-service-type" +msgstr "{Variable Scheme} varnish-service-type" + +#. type: defvr +#: doc/guix.texi:17180 +msgid "Service type for the Varnish daemon." +msgstr "Type de service pour le démon Varnish." + +#. type: deftp +#: doc/guix.texi:17182 +#, no-wrap +msgid "{Data Type} varnish-configuration" +msgstr "{Type de données} varnish-configuration" + +#. type: deftp +#: doc/guix.texi:17185 +msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:" +msgstr "Type de données représentant la configuration du service @code{varnish}. Ce type a les paramètres suivants :" + +#. type: item +#: doc/guix.texi:17187 +#, no-wrap +msgid "@code{package} (default: @code{varnish})" +msgstr "@code{package} (par défaut : @code{varnish})" + +#. type: table +#: doc/guix.texi:17189 +msgid "The Varnish package to use." +msgstr "Le paquet Varnish à utiliser." + +#. type: item +#: doc/guix.texi:17190 +#, no-wrap +msgid "@code{name} (default: @code{\"default\"})" +msgstr "@code{name} (par défaut : @code{\"default\"})" + +#. type: table +#: doc/guix.texi:17195 +msgid "A name for this Varnish instance. Varnish will create a directory in @file{/var/varnish/} with this name and keep temporary files there. If the name starts with a forward slash, it is interpreted as an absolute directory name." +msgstr "Un nom pour cet instance de Varnish. Varnish va créer un répertoire dans @file{/var/varnish/} avec ce nom et gardera des fichiers temporaires à cet endroit. Si le nom commence par une barre oblique, il est interprété comme un nom de répertoire absolu." + +#. type: table +#: doc/guix.texi:17198 +msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g. @command{varnishncsa -n default}." +msgstr "Passez l'argument @code{-n} aux autres programmes Varnish pour vous connecter à l'instance nommée, p.@: ex.@: @command{varnishncsa -n default}." + +#. type: item +#: doc/guix.texi:17199 +#, no-wrap +msgid "@code{backend} (default: @code{\"localhost:8080\"})" +msgstr "@code{backend} (par défaut : @code{\"localhost:8080\"})" + +#. type: table +#: doc/guix.texi:17201 +msgid "The backend to use. This option has no effect if @code{vcl} is set." +msgstr "Le moteur à utiliser. Cette option n'a pas d'effet si @code{vcl} est vrai." + +#. type: item +#: doc/guix.texi:17202 +#, no-wrap +msgid "@code{vcl} (default: #f)" +msgstr "@code{vcl} (par défaut : #f)" + +#. type: table +#: doc/guix.texi:17207 +msgid "The @dfn{VCL} (Varnish Configuration Language) program to run. If this is @code{#f}, Varnish will proxy @code{backend} using the default configuration. Otherwise this must be a file-like object with valid VCL syntax." +msgstr "Le programme @dfn{VCL} (Varnish Configuration Language) à lancer. Si la valeur est @code{#f}, Varnsh servira de mandataire pour @code{backend} avec la configuration par défaut. Sinon, ce doit être un objet simili-fichier avec une syntaxe VCL valide." + +#. type: table +#: doc/guix.texi:17211 +msgid "For example, to mirror @url{http://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:" +msgstr "Par exemple, pour créer un miroir de @url{http://www.gnu.org,www.gnu.org} avec VCL vous pouvez faire quelque chose comme cela :" + +#. type: example +#: doc/guix.texi:17218 +#, no-wrap +msgid "" +"(define %gnu-mirror\n" +" (plain-file\n" +" \"gnu.vcl\"\n" +" \"vcl 4.1;\n" +"backend gnu @{ .host = \"www.gnu.org\"; @}\"))\n" +"\n" +msgstr "" +"(define %gnu-mirror\n" +" (plain-file\n" +" \"gnu.vcl\"\n" +" \"vcl 4.1;\n" +"backend gnu @{ .host = \"www.gnu.org\"; @}\"))\n" +"\n" + +#. type: example +#: doc/guix.texi:17226 +#, no-wrap +msgid "" +"(operating-system\n" +" ...\n" +" (services (cons (service varnish-service-type\n" +" (varnish-configuration\n" +" (listen '(\":80\"))\n" +" (vcl %gnu-mirror)))\n" +" %base-services)))\n" +msgstr "" +"(operating-system\n" +" ...\n" +" (services (cons (service varnish-service-type\n" +" (varnish-configuration\n" +" (listen '(\":80\"))\n" +" (vcl %gnu-mirror)))\n" +" %base-services)))\n" + +#. type: table +#: doc/guix.texi:17230 +msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program." +msgstr "On peut inspecter la configuration d'une instance Varnish actuellement lancée en utilisant le programme @command{varnishadm}." + +#. type: table +#: doc/guix.texi:17234 +msgid "Consult the @url{https://varnish-cache.org/docs/,Varnish User Guide} and @url{https://book.varnish-software.com/4.0/,Varnish Book} for comprehensive documentation on Varnish and its configuration language." +msgstr "Consultez le @url{https://varnish-cache.org/docs/,guide utilisateur de varnish} et le @url{https://book.varnish-software.com/4.0/,livre varnish} pour une documentation complète sur Varnish et son langage de configuration." + +#. type: item +#: doc/guix.texi:17235 +#, no-wrap +msgid "@code{listen} (default: @code{'(\"localhost:80\")})" +msgstr "@code{listen} (par défaut : @code{'(\"localhost:80\")})" + +#. type: table +#: doc/guix.texi:17237 +msgid "List of addresses Varnish will listen on." +msgstr "Liste des adresses sur lesquelles écoute Varnish." + +#. type: item +#: doc/guix.texi:17238 +#, no-wrap +msgid "@code{storage} (default: @code{'(\"malloc,128m\")})" +msgstr "@code{storage} (par défaut : @code{'(\"malloc,128m\")})" + +#. type: table +#: doc/guix.texi:17240 +msgid "List of storage backends that will be available in VCL." +msgstr "Liste de moteurs de stockage qui seront disponibles en VCL." + +#. type: item +#: doc/guix.texi:17241 +#, no-wrap +msgid "@code{parameters} (default: @code{'()})" +msgstr "@code{parameters} (par défaut : @code{'()})" + +#. type: table +#: doc/guix.texi:17243 +msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}." +msgstr "Liste des paramètres à l'exécution de la forme @code{'((\"parameter\" . \"value\"))}." + +#. type: table +#: doc/guix.texi:17246 +msgid "Additional arguments to pass to the @command{varnishd} process." +msgstr "Arguments supplémentaires à passer au processus @command{varnishd}." + +#. type: subsubheading +#: doc/guix.texi:17250 +#, no-wrap +msgid "FastCGI" +msgstr "FastCGI" + +#. type: cindex +#: doc/guix.texi:17251 +#, no-wrap +msgid "fastcgi" +msgstr "fastcgi" + +#. type: cindex +#: doc/guix.texi:17252 +#, no-wrap +msgid "fcgiwrap" +msgstr "fcgiwrap" + +#. type: Plain text +#: doc/guix.texi:17259 +msgid "FastCGI is an interface between the front-end and the back-end of a web service. It is a somewhat legacy facility; new web services should generally just talk HTTP between the front-end and the back-end. However there are a number of back-end services such as PHP or the optimized HTTP Git repository access that use FastCGI, so we have support for it in Guix." +msgstr "FastCGI est une interface entre le frontal et le moteur d'un service web. C'est un dispositif quelque peu désué ; les nouveaux services devraient généralement juste parler HTTP entre le frontal et le moteur. Cependant il y a un certain nombre de services de moteurs comme PHP ou l'accès aux dépôts Git optimisé en HTTP qui utilisent FastCGI, donc nous le supportons dans Guix." + +#. type: Plain text +#: doc/guix.texi:17266 +msgid "To use FastCGI, you configure the front-end web server (e.g., nginx) to dispatch some subset of its requests to the fastcgi backend, which listens on a local TCP or UNIX socket. There is an intermediary @code{fcgiwrap} program that sits between the actual backend process and the web server. The front-end indicates which backend program to run, passing that information to the @code{fcgiwrap} process." +msgstr "Pour utiliser FastCGI, vous configurez le serveur web frontal (p.@: ex.@: nginx) pour envoyer un sous-ensemble de ses requêtes au moteur fastcgi, qui écoute sur un socket UNIX ou TCP local. Il y a un programme @code{fcgiwrap} intermédiaire qui se trouve entre le processus du moteur et le serveur web. Le frontal indique quel moteur lancer, en passant cette information au processus @code{fcgiwrap}." + +#. type: defvr +#: doc/guix.texi:17267 #, no-wrap msgid "{Scheme Variable} fcgiwrap-service-type" msgstr "{Variable Scheme} fcgiwrap-service-type" #. type: defvr -#: doc/guix.texi:16117 +#: doc/guix.texi:17269 msgid "A service type for the @code{fcgiwrap} FastCGI proxy." -msgstr "" +msgstr "Un type de service pour le mandataire FastCGI @code{fcgiwrap}." #. type: deftp -#: doc/guix.texi:16119 +#: doc/guix.texi:17271 #, no-wrap msgid "{Data Type} fcgiwrap-configuration" msgstr "{Type de données} fcgiwrap-configuration" #. type: deftp -#: doc/guix.texi:16122 +#: doc/guix.texi:17274 msgid "Data type representing the configuration of the @code{fcgiwrap} serice. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration d'un service @code{fcgiwrap}. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16123 +#: doc/guix.texi:17275 #, no-wrap msgid "@code{package} (default: @code{fcgiwrap})" msgstr "@code{package} (par défaut : @code{fcgiwrap})" #. type: table -#: doc/guix.texi:16125 +#: doc/guix.texi:17277 msgid "The fcgiwrap package to use." msgstr "Le paquet fcgiwrap à utiliser." #. type: item -#: doc/guix.texi:16126 +#: doc/guix.texi:17278 #, no-wrap msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})" msgstr "@code{socket} (par défaut : @code{tcp:127.0.0.1:9000})" #. type: table -#: doc/guix.texi:16132 +#: doc/guix.texi:17284 msgid "The socket on which the @code{fcgiwrap} process should listen, as a string. Valid @var{socket} values include @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} and @code{tcp6:[@var{ipv6_addr}]:port}." -msgstr "" +msgstr "Le socket sur lequel le processus @code{fcgiwrap} écoute, en tant que chaîne de caractères. Les valeurs valides de @var{socket} sont @code{unix:@var{/path/to/unix/socket}}, @code{tcp:@var{dot.ted.qu.ad}:@var{port}} et @code{tcp6:[@var{ipv6_addr}]:port}." #. type: item -#: doc/guix.texi:16133 +#: doc/guix.texi:17285 #, no-wrap msgid "@code{user} (default: @code{fcgiwrap})" msgstr "@code{user} (par défaut : @code{fcgiwrap})" #. type: itemx -#: doc/guix.texi:16134 +#: doc/guix.texi:17286 #, no-wrap msgid "@code{group} (default: @code{fcgiwrap})" msgstr "@code{group} (par défaut : @code{fcgiwrap})" #. type: table -#: doc/guix.texi:16139 +#: doc/guix.texi:17291 msgid "The user and group names, as strings, under which to run the @code{fcgiwrap} process. The @code{fastcgi} service will ensure that if the user asks for the specific user or group names @code{fcgiwrap} that the corresponding user and/or group is present on the system." -msgstr "" +msgstr "Les noms de l'utilisateur et du groupe, en tant que chaînes de caractères, sous lesquels lancer le processus @code{fcgiwrap}. Le service @code{fastcgi} s'assurera que si l'utilisateur demande les noms d'utilisateurs et de groupes @code{fcgiwrap} l'utilisateur et le groupe correspondant seront présents sur le système." #. type: table -#: doc/guix.texi:16146 +#: doc/guix.texi:17298 msgid "It is possible to configure a FastCGI-backed web service to pass HTTP authentication information from the front-end to the back-end, and to allow @code{fcgiwrap} to run the back-end process as a corresponding local user. To enable this capability on the back-end., run @code{fcgiwrap} as the @code{root} user and group. Note that this capability also has to be configured on the front-end as well." -msgstr "" +msgstr "Il est possible de configurer un service web soutenu par FastCGI pour passer les informations d'authentification HTTP depuis le frontal jusqu'au moteur, et de permettre à @code{fcgiwrap} dans lancer le processus de moteur avec l'utilisateur correspondant. Pour activer cette fonctionnalité sur le moteur, lancez @code{fcgiwrap} en tant qu'utilisateur et groupe @code{root}. Remarquez que cette fonctionnalité doit aussi être configurée sur le frontal." #. type: cindex -#: doc/guix.texi:16149 +#: doc/guix.texi:17301 #, no-wrap msgid "php-fpm" -msgstr "" +msgstr "php-fpm" #. type: Plain text -#: doc/guix.texi:16152 +#: doc/guix.texi:17304 msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size." -msgstr "" +msgstr "PHP-FPM (FastCGI Process Manager) est une implémentation FastCGI de PHP alternative avec quelques fonctionnalités supplémentaires utiles pour les sites de toutes tailles." #. type: Plain text -#: doc/guix.texi:16154 +#: doc/guix.texi:17306 msgid "These features include:" -msgstr "" +msgstr "Ces fonctionnalités comprennent :" #. type: item -#: doc/guix.texi:16155 +#: doc/guix.texi:17307 #, no-wrap msgid "Adaptive process spawning" -msgstr "" +msgstr "La création de processus adaptative" #. type: item -#: doc/guix.texi:16156 +#: doc/guix.texi:17308 #, no-wrap msgid "Basic statistics (similar to Apache's mod_status)" -msgstr "" +msgstr "Des statistiques de base (comme le mod_status d'Apache)" #. type: item -#: doc/guix.texi:16157 +#: doc/guix.texi:17309 #, no-wrap msgid "Advanced process management with graceful stop/start" -msgstr "" +msgstr "La gestion des processus avancée avec arrêt et démarrage sans heurts" #. type: item -#: doc/guix.texi:16158 +#: doc/guix.texi:17310 #, no-wrap msgid "Ability to start workers with different uid/gid/chroot/environment" -msgstr "" +msgstr "La possibilité de démarrer des processus de travail avec différents uid/gid/chroot/environnement" #. type: itemize -#: doc/guix.texi:16160 +#: doc/guix.texi:17312 msgid "and different php.ini (replaces safe_mode)" -msgstr "" +msgstr "et différents php.ini (à la place de safe_mode)" #. type: item -#: doc/guix.texi:16160 +#: doc/guix.texi:17312 #, no-wrap msgid "Stdout & stderr logging" -msgstr "" +msgstr "L'enregistrement des journaux sur stdout et stderr" #. type: item -#: doc/guix.texi:16161 +#: doc/guix.texi:17313 #, no-wrap msgid "Emergency restart in case of accidental opcode cache destruction" -msgstr "" +msgstr "Le redémarrage d'urgence dans le cas de la destruction accidentelle du cache des opcodes" #. type: item -#: doc/guix.texi:16162 +#: doc/guix.texi:17314 #, no-wrap msgid "Accelerated upload support" -msgstr "" +msgstr "Le support des téléversements accélérés" #. type: item -#: doc/guix.texi:16163 +#: doc/guix.texi:17315 #, no-wrap msgid "Support for a \"slowlog\"" -msgstr "" +msgstr "Le support de « showlog »" #. type: item -#: doc/guix.texi:16164 +#: doc/guix.texi:17316 #, no-wrap msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -" -msgstr "" +msgstr "Des améliorations à FastCGI, comme fastcgi_finish_request() -" #. type: itemize -#: doc/guix.texi:16167 +#: doc/guix.texi:17319 msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)" -msgstr "" +msgstr "une fonction spéciale pour terminer la requête et nettoyer toutes les données tout en continuant à faire d'autres choses qui prennent du temps (conversion vidéo, gestion des stats, etc…)." #. type: Plain text -#: doc/guix.texi:16169 +#: doc/guix.texi:17321 msgid "... and much more." -msgstr "" +msgstr "… et bien plus." #. type: defvr -#: doc/guix.texi:16170 +#: doc/guix.texi:17322 #, no-wrap msgid "{Scheme Variable} php-fpm-service-type" msgstr "{Variable Scheme} php-fpm-service-type" #. type: defvr -#: doc/guix.texi:16172 +#: doc/guix.texi:17324 msgid "A Service type for @code{php-fpm}." -msgstr "" +msgstr "Un type de service pour @code{php-fpm}." #. type: deftp -#: doc/guix.texi:16174 +#: doc/guix.texi:17326 #, no-wrap msgid "{Data Type} php-fpm-configuration" msgstr "{Type de données} php-fpm-configuration" #. type: deftp -#: doc/guix.texi:16176 +#: doc/guix.texi:17328 msgid "Data Type for php-fpm service configuration." -msgstr "" +msgstr "Type de données pour la configuration du service php-fpm." #. type: item -#: doc/guix.texi:16177 +#: doc/guix.texi:17329 #, no-wrap msgid "@code{php} (default: @code{php})" msgstr "@code{php} (par défaut : @code{php})" #. type: table -#: doc/guix.texi:16179 +#: doc/guix.texi:17331 msgid "The php package to use." msgstr "Le paquet php à utiliser." #. type: item -#: doc/guix.texi:16179 +#: doc/guix.texi:17331 #, no-wrap msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})" msgstr "@code{socket} (par défaut : @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})" #. type: table -#: doc/guix.texi:16181 +#: doc/guix.texi:17333 msgid "The address on which to accept FastCGI requests. Valid syntaxes are:" -msgstr "" +msgstr "L'adresse sur laquelle accepter les requêts FastCGI. Les syntaxes valides sont :" #. type: code{#1} -#: doc/guix.texi:16182 +#: doc/guix.texi:17334 #, no-wrap msgid "\"ip.add.re.ss:port\"" -msgstr "" +msgstr "\"ip.add.re.ss:port\"" #. type: table -#: doc/guix.texi:16184 +#: doc/guix.texi:17336 msgid "Listen on a TCP socket to a specific address on a specific port." -msgstr "" +msgstr "Écoute sur un socket TCP sur l'adresse spécifiée sur un port spécifié." #. type: code{#1} -#: doc/guix.texi:16184 +#: doc/guix.texi:17336 #, no-wrap msgid "\"port\"" -msgstr "" +msgstr "\"port\"" #. type: table -#: doc/guix.texi:16186 +#: doc/guix.texi:17338 msgid "Listen on a TCP socket to all addresses on a specific port." -msgstr "" +msgstr "Écoute sur un socket TCP sur toutes les adresse sur un port spécifique." #. type: code{#1} -#: doc/guix.texi:16186 +#: doc/guix.texi:17338 #, no-wrap msgid "\"/path/to/unix/socket\"" -msgstr "" +msgstr "\"/path/to/unix/socket\"" #. type: table -#: doc/guix.texi:16188 +#: doc/guix.texi:17340 msgid "Listen on a unix socket." -msgstr "" +msgstr "Écoute sur un socket unix." #. type: item -#: doc/guix.texi:16190 +#: doc/guix.texi:17342 #, no-wrap msgid "@code{user} (default: @code{php-fpm})" msgstr "@code{user} (par défaut : @code{php-fpm})" #. type: table -#: doc/guix.texi:16192 +#: doc/guix.texi:17344 msgid "User who will own the php worker processes." -msgstr "" +msgstr "Utilisateur à qui appartiendra le processus de travail de php." #. type: item -#: doc/guix.texi:16192 +#: doc/guix.texi:17344 #, no-wrap msgid "@code{group} (default: @code{php-fpm})" msgstr "@code{group} (par défaut : @code{php-fpm})" #. type: table -#: doc/guix.texi:16194 +#: doc/guix.texi:17346 msgid "Group of the worker processes." -msgstr "" +msgstr "Groupe du processus de travail." #. type: item -#: doc/guix.texi:16194 +#: doc/guix.texi:17346 #, no-wrap msgid "@code{socket-user} (default: @code{php-fpm})" msgstr "@code{socket-user} (par défaut : @code{php-fpm})" #. type: table -#: doc/guix.texi:16196 +#: doc/guix.texi:17348 msgid "User who can speak to the php-fpm socket." -msgstr "" +msgstr "Utilisateur qui peut parler au socket php-fpm." #. type: item -#: doc/guix.texi:16196 +#: doc/guix.texi:17348 #, no-wrap msgid "@code{socket-group} (default: @code{php-fpm})" msgstr "@code{socket-group} (par défaut : @code{php-fpm})" #. type: table -#: doc/guix.texi:16198 +#: doc/guix.texi:17350 msgid "Group that can speak to the php-fpm socket." -msgstr "" +msgstr "Groupe qui peut parler au socket php-fpm." #. type: item -#: doc/guix.texi:16198 +#: doc/guix.texi:17350 #, no-wrap msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})" msgstr "@code{pid-file} (par défaut : @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})" #. type: table -#: doc/guix.texi:16201 +#: doc/guix.texi:17353 msgid "The process id of the php-fpm process is written to this file once the service has started." -msgstr "" +msgstr "Le pid de php-fpm est écrit dans ce fichier une fois que le service a démarré." #. type: item -#: doc/guix.texi:16201 +#: doc/guix.texi:17353 #, no-wrap msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})" msgstr "@code{log-file} (par défaut : @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})" #. type: table -#: doc/guix.texi:16203 +#: doc/guix.texi:17355 msgid "Log for the php-fpm master process." -msgstr "" +msgstr "Fichier de journal pour le processus maître de php-fpm." #. type: item -#: doc/guix.texi:16203 +#: doc/guix.texi:17355 #, no-wrap msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})" msgstr "@code{process-manager} (par défaut : @code{(php-fpm-dynamic-process-manager-configuration)})" #. type: table -#: doc/guix.texi:16206 +#: doc/guix.texi:17358 msgid "Detailed settings for the php-fpm process manager. Must be either:" -msgstr "" +msgstr "Configuration détaillée pour le gestionnaire de processus de php-fpm. Il doit s'agir soit de :" #. type: code{#1} -#: doc/guix.texi:16207 +#: doc/guix.texi:17359 #, no-wrap msgid "" -msgstr "" +msgstr "," #. type: code{#1} -#: doc/guix.texi:16208 +#: doc/guix.texi:17360 #, no-wrap msgid "" -msgstr "" +msgstr " ou" #. type: code{#1} -#: doc/guix.texi:16209 +#: doc/guix.texi:17361 #, no-wrap msgid "" -msgstr "" +msgstr "" #. type: item -#: doc/guix.texi:16211 +#: doc/guix.texi:17363 #, no-wrap msgid "@code{display-errors} (default @code{#f})" msgstr "@code{display-errors} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16216 +#: doc/guix.texi:17368 msgid "Determines whether php errors and warning should be sent to clients and displayed in their browsers. This is useful for local php development, but a security risk for public sites, as error messages can reveal passwords and personal data." -msgstr "" +msgstr "Détermine si les erreurs et les avertissements php doivent être envoyés aux clients et affichés dans leur navigateur. Cela est utile pour un développement php local, mais un risque pour la sécurité pour les sites publics, comme les messages d'erreur peuvent révéler des mots de passes et des données personnelles." #. type: item -#: doc/guix.texi:16216 +#: doc/guix.texi:17368 #, no-wrap msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})" msgstr "@code{workers-logfile} (par défaut : @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})" #. type: table -#: doc/guix.texi:16219 +#: doc/guix.texi:17371 msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging." -msgstr "" +msgstr "Ce fichier enregistrera la sortie @code{stderr} des processus de travail de php. On peut indiquer @code{#f} pour désactiver la journalisation." #. type: item -#: doc/guix.texi:16219 +#: doc/guix.texi:17371 #, no-wrap msgid "@code{file} (default @code{#f})" msgstr "@code{file} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16222 +#: doc/guix.texi:17374 msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it." -msgstr "" +msgstr "Une version alternative de la configuration complète. Vous pouvez utiliser la fonction @code{mixed-text-file} ou un chemin de fichier absolu." #. type: deftp -#: doc/guix.texi:16225 +#: doc/guix.texi:17377 #, no-wrap msgid "{Data type} php-fpm-dynamic-process-manager-configuration" -msgstr "" +msgstr "{Type de données} php-fpm-dynamic-process-manager-configuration" #. type: deftp -#: doc/guix.texi:16229 +#: doc/guix.texi:17381 msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on it's configured limits." -msgstr "" +msgstr "Type de données pour le gestionnaire de processus @code{dynamic} de php-fpm. Avec le gestionnaire de processus @code{dynamic}, des processus de travail de secours sont gardés en fonction des limites configurées." #. type: item -#: doc/guix.texi:16230 doc/guix.texi:16246 doc/guix.texi:16256 +#: doc/guix.texi:17382 doc/guix.texi:17398 doc/guix.texi:17408 #, no-wrap msgid "@code{max-children} (default: @code{5})" msgstr "@code{max-children} (par défaut : @code{5})" #. type: table -#: doc/guix.texi:16232 doc/guix.texi:16248 doc/guix.texi:16258 +#: doc/guix.texi:17384 doc/guix.texi:17400 doc/guix.texi:17410 msgid "Maximum of worker processes." -msgstr "" +msgstr "Nombre maximum de processus de travail." #. type: item -#: doc/guix.texi:16232 +#: doc/guix.texi:17384 #, no-wrap msgid "@code{start-servers} (default: @code{2})" msgstr "@code{start-servers} (par défaut : @code{2})" #. type: table -#: doc/guix.texi:16234 +#: doc/guix.texi:17386 msgid "How many worker processes should be started on start-up." -msgstr "" +msgstr "Nombre de processus de travail au démarrage." #. type: item -#: doc/guix.texi:16234 +#: doc/guix.texi:17386 #, no-wrap msgid "@code{min-spare-servers} (default: @code{1})" msgstr "@code{min-spare-servers} (par défaut : @code{1})" #. type: table -#: doc/guix.texi:16236 +#: doc/guix.texi:17388 msgid "How many spare worker processes should be kept around at minimum." -msgstr "" +msgstr "Nombre de processus de travail de secours minimum qui doivent rester à disposition." #. type: item -#: doc/guix.texi:16236 +#: doc/guix.texi:17388 #, no-wrap msgid "@code{max-spare-servers} (default: @code{3})" msgstr "@code{max-spare-servers} (par défaut : @code{3})" #. type: table -#: doc/guix.texi:16238 +#: doc/guix.texi:17390 msgid "How many spare worker processes should be kept around at maximum." -msgstr "" +msgstr "Nombre maximum de processus de travail de secours qui peuvent rester à disposition." #. type: deftp -#: doc/guix.texi:16241 +#: doc/guix.texi:17393 #, no-wrap msgid "{Data type} php-fpm-static-process-manager-configuration" -msgstr "" +msgstr "{Type de données} php-fpm-static-process-manager-configuration" #. type: deftp -#: doc/guix.texi:16245 +#: doc/guix.texi:17397 msgid "Data Type for the @code{static} php-fpm process manager. With the @code{static} process manager, an unchanging number of worker processes are created." -msgstr "" +msgstr "Type de données pour le gestionnaire de processus @code{static} de php-fpm. Avec le gestionnaire de processus @code{static}, un nombre constant de processus de travail est créé." #. type: deftp -#: doc/guix.texi:16251 +#: doc/guix.texi:17403 #, no-wrap msgid "{Data type} php-fpm-on-demand-process-manager-configuration" -msgstr "" +msgstr "{Type de données} php-fpm-on-demand-process-manager-configuration" #. type: deftp -#: doc/guix.texi:16255 +#: doc/guix.texi:17407 msgid "Data Type for the @code{on-demand} php-fpm process manager. With the @code{on-demand} process manager, worker processes are only created as requests arrive." -msgstr "" +msgstr "Type de données pour le gestionnaire de processus @code{on-demand} de php-fpm. Avec le gestionnaire de processus @code{on-demand}, les processus de travail ne sont créés que lorsque les requêtes arrivent." #. type: item -#: doc/guix.texi:16258 +#: doc/guix.texi:17410 #, no-wrap msgid "@code{process-idle-timeout} (default: @code{10})" msgstr "@code{process-idle-timeout} (par défaut : @code{10})" #. type: table -#: doc/guix.texi:16260 +#: doc/guix.texi:17412 msgid "The time in seconds after which a process with no requests is killed." -msgstr "" +msgstr "La durée en secondes après laquelle un processus sans requête sera tué." #. type: deffn -#: doc/guix.texi:16264 +#: doc/guix.texi:17416 #, no-wrap msgid "{Scheme Procedure} nginx-php-fpm-location @" msgstr "{Procédure Scheme} nginx-php-fpm-location @" #. type: deffn -#: doc/guix.texi:16270 +#: doc/guix.texi:17422 msgid "[#:nginx-package nginx] @ [socket (string-append \"/var/run/php\" @ (version-major (package-version php)) @ \"-fpm.sock\")] A helper function to quickly add php to an @code{nginx-server-configuration}." msgstr "" +"[#:nginx-package nginx] @\n" +"[socket (string-append \"/var/run/php\" @\n" +"(version-major (package-version php)) @\n" +"\"-fpm.sock\")]\n" +"Une fonction d'aide pour ajouter rapidement php à un @code{nginx-server-configuration}." #. type: Plain text -#: doc/guix.texi:16273 +#: doc/guix.texi:17425 msgid "A simple services setup for nginx with php can look like this:" -msgstr "" +msgstr "Une configuration simple de services pour php ressemble à ceci :" #. type: example -#: doc/guix.texi:16286 +#: doc/guix.texi:17438 #, no-wrap msgid "" -"(services (cons* (dhcp-client-service)\n" +"(services (cons* (service dhcp-client-service-type)\n" " (service php-fpm-service-type)\n" " (service nginx-service-type\n" " (nginx-server-configuration\n" @@ -30255,36 +32453,52 @@ msgid "" " (ssl-certificate-key #f)))\n" " %base-services))\n" msgstr "" +"(services (cons* (service dhcp-client-service-type)\n" +" (service php-fpm-service-type)\n" +" (service nginx-service-type\n" +" (nginx-server-configuration\n" +" (server-name '(\"example.com\"))\n" +" (root \"/srv/http/\")\n" +" (locations\n" +" (list (nginx-php-location)))\n" +" (https-port #f)\n" +" (ssl-certificate #f)\n" +" (ssl-certificate-key #f)))\n" +" %base-services))\n" #. type: cindex -#: doc/guix.texi:16288 +#: doc/guix.texi:17440 #, no-wrap msgid "cat-avatar-generator" -msgstr "" +msgstr "cat-avatar-generator" #. type: Plain text -#: doc/guix.texi:16292 +#: doc/guix.texi:17444 msgid "The cat avatar generator is a simple service to demonstrate the use of php-fpm in @code{Nginx}. It is used to generate cat avatar from a seed, for instance the hash of a user's email address." -msgstr "" +msgstr "Le générateur d'avatar de chat est un simple service pour démontrer l'utilisation de php-fpm dans @code{Nginx}. Il permet de générer des avatars de chats à partir d'une graine, par exemple le hash de l'adresse de courriel d'un utilisateur." #. type: deffn -#: doc/guix.texi:16293 +#: doc/guix.texi:17445 #, no-wrap msgid "{Scheme Procedure} cat-avatar-generator-serice @" msgstr "{Procédure Scheme} cat-avatar-generator-serice @" #. type: deffn -#: doc/guix.texi:16301 +#: doc/guix.texi:17453 msgid "[#:cache-dir \"/var/cache/cat-avatar-generator\"] @ [#:package cat-avatar-generator] @ [#:configuration (nginx-server-configuration)] Returns an nginx-server-configuration that inherits @code{configuration}. It extends the nginx configuration to add a server block that serves @code{package}, a version of cat-avatar-generator. During execution, cat-avatar-generator will be able to use @code{cache-dir} as its cache directory." msgstr "" +"[#:cache-dir \"/var/cache/cat-avatar-generator\"] @\n" +"[#:package cat-avatar-generator] @\n" +"[#:configuration (nginx-server-configuration)]\n" +"Renvoie un nginx-server-configuration qui hérite de @code{configuration}. Il étend la configuration nginx pour ajouter un bloc de serveur qui sert @code{package}, une version de cat-avatar-generator. Pendant l'exécution, cat-avatar-generator pourra utiliser @code{cache-dir} comme répertoire de cache." #. type: Plain text -#: doc/guix.texi:16304 +#: doc/guix.texi:17456 msgid "A simple setup for cat-avatar-generator can look like this:" -msgstr "" +msgstr "Une configuration simple de cat-avatar-generator ressemble à ceci :" #. type: example -#: doc/guix.texi:16311 +#: doc/guix.texi:17463 #, no-wrap msgid "" "(services (cons* (cat-avatar-generator-service\n" @@ -30294,135 +32508,163 @@ msgid "" " ...\n" " %base-services))\n" msgstr "" +"(services (cons* (cat-avatar-generator-service\n" +" #:configuration\n" +" (nginx-server-configuration\n" +" (server-name '(\"example.com\"))))\n" +" ...\n" +" %base-services))\n" #. type: subsubheading -#: doc/guix.texi:16313 +#: doc/guix.texi:17465 #, no-wrap msgid "Hpcguix-web" -msgstr "" +msgstr "Hpcguix-web" #. type: cindex -#: doc/guix.texi:16315 +#: doc/guix.texi:17467 #, no-wrap msgid "hpcguix-web" -msgstr "" +msgstr "hpcguix-web" #. type: Plain text -#: doc/guix.texi:16320 +#: doc/guix.texi:17472 msgid "The @uref{hpcguix-web, https://github.com/UMCUGenetics/hpcguix-web/} program is a customizable web interface to browse Guix packages, initially designed for users of high-performance computing (HPC) clusters." -msgstr "" +msgstr "Le programme @uref{hpcguix-web, https://github.com/UMCUGenetics/hpcguix-web/} est une interface web personnalisable pour naviguer dans les paquets Guix, initialement conçue pour les utilisateurs des grappes de calcul de haute performance (HPC)." #. type: defvr -#: doc/guix.texi:16321 +#: doc/guix.texi:17473 #, no-wrap msgid "{Scheme Variable} hpcguix-web-service-type" msgstr "{Variable Scheme} hpcguix-web-service-type" #. type: defvr -#: doc/guix.texi:16323 +#: doc/guix.texi:17475 msgid "The service type for @code{hpcguix-web}." -msgstr "" +msgstr "Le type de service pour @code{hpcguix-web}." #. type: deftp -#: doc/guix.texi:16325 +#: doc/guix.texi:17477 #, no-wrap msgid "{Data Type} hpcguix-web-configuration" msgstr "{Type de données} hpcguix-web-configuration" #. type: deftp -#: doc/guix.texi:16327 +#: doc/guix.texi:17479 msgid "Data type for the hpcguix-web service configuration." -msgstr "" +msgstr "Type de données pour la configuration du service hpcguix-web." #. type: code{#1} -#: doc/guix.texi:16329 +#: doc/guix.texi:17481 #, no-wrap msgid "specs" -msgstr "" +msgstr "specs" #. type: table -#: doc/guix.texi:16332 +#: doc/guix.texi:17484 msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:" -msgstr "" +msgstr "Une gexp (@pxref{G-Expressions}) spécifiant la configuration du service hpcguix-web. Les éléments principaux disponibles dans cette spec sont :" #. type: item -#: doc/guix.texi:16334 +#: doc/guix.texi:17486 #, no-wrap msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})" msgstr "@code{title-prefix} (par défaut : @code{\"hpcguix | \"})" #. type: table -#: doc/guix.texi:16336 +#: doc/guix.texi:17488 msgid "The page title prefix." msgstr "Le préfixe du titre des pages." #. type: item -#: doc/guix.texi:16337 +#: doc/guix.texi:17489 #, no-wrap msgid "@code{guix-command} (default: @code{\"guix\"})" msgstr "@code{guix-command} (par défaut : @code{\"guix\"})" #. type: table -#: doc/guix.texi:16339 +#: doc/guix.texi:17491 msgid "The @command{guix} command." msgstr "La commande @command{guix}" #. type: item -#: doc/guix.texi:16340 +#: doc/guix.texi:17492 #, no-wrap msgid "@code{package-filter-proc} (default: @code{(const #t)})" msgstr "@code{package-filter-proc} (par défaut : @code{(const #t)})" #. type: table -#: doc/guix.texi:16342 +#: doc/guix.texi:17494 msgid "A procedure specifying how to filter packages that are displayed." msgstr "Une procédure qui spécifie comment filtrer les paquets qui seront affichés." #. type: item -#: doc/guix.texi:16343 +#: doc/guix.texi:17495 #, no-wrap msgid "@code{package-page-extension-proc} (default: @code{(const '())})" msgstr "@code{package-page-extension-proc} (par défaut : @code{(const '())})" #. type: table -#: doc/guix.texi:16345 +#: doc/guix.texi:17497 msgid "Extension package for @code{hpcguix-web}." -msgstr "" +msgstr "Paquet d'extensions pour @code{hpcguix-web}." #. type: item -#: doc/guix.texi:16346 +#: doc/guix.texi:17498 #, no-wrap msgid "@code{menu} (default: @code{'()})" msgstr "@code{menu} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16348 +#: doc/guix.texi:17500 msgid "Additional entry in page @code{menu}." -msgstr "" - -#. type: table -#: doc/guix.texi:16353 -msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}." -msgstr "" +msgstr "Entrée supplémentaire dans la page @code{menu}." #. type: item -#: doc/guix.texi:16354 +#: doc/guix.texi:17501 +#, no-wrap +msgid "@code{channels} (default: @code{%default-channels})" +msgstr "@code{channels} (par défaut : @code{%default-channels})" + +#. type: table +#: doc/guix.texi:17503 +msgid "List of channels from which the package list is built (@pxref{Channels})." +msgstr "Liste des canaux depuis lesquels la liste des paquets est construite (@pxref{Channels})." + +#. type: item +#: doc/guix.texi:17504 +#, no-wrap +msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})" +msgstr "@code{package-list-expiration} (par défaut : @code{(* 12 3600)})" + +#. type: table +#: doc/guix.texi:17507 +msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels." +msgstr "Le temps d'expiration, en secondes, après lequel la liste des paquets est reconstruite depuis les dernières instance des canaux donnés." + +#. type: table +#: doc/guix.texi:17512 +msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}." +msgstr "Voir le dépôt hpcguix-web pour un @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, exemple complet}" + +#. type: item +#: doc/guix.texi:17513 #, no-wrap msgid "@code{package} (default: @code{hpcguix-web})" msgstr "@code{package} (par défaut : @code{hpcguix-web})" #. type: table -#: doc/guix.texi:16356 +#: doc/guix.texi:17515 msgid "The hpcguix-web package to use." msgstr "Le paquet hpcguix-web à utiliser." #. type: Plain text -#: doc/guix.texi:16360 +#: doc/guix.texi:17519 msgid "A typical hpcguix-web service declaration looks like this:" -msgstr "" +msgstr "Une déclaration de service hpcguix-web typique ressemble à cela :" #. type: example -#: doc/guix.texi:16369 +#: doc/guix.texi:17528 #, no-wrap msgid "" "(service hpcguix-web-service-type\n" @@ -30433,69 +32675,86 @@ msgid "" " (title-prefix \"Guix-HPC - \")\n" " (menu '((\"/about\" \"ABOUT\"))))))))\n" msgstr "" +"(service hpcguix-web-service-type\n" +" (hpcguix-web-configuration\n" +" (specs\n" +" #~(define site-config\n" +" (hpcweb-configuration\n" +" (title-prefix \"Guix-HPC - \")\n" +" (menu '((\"/about\" \"ABOUT\"))))))))\n" + +#. type: quotation +#: doc/guix.texi:17535 +msgid "The hpcguix-web service periodically updates the package list it publishes by pulling channels from Git. To that end, it needs to access X.509 certificates so that it can authenticate Git servers when communicating over HTTPS, and it assumes that @file{/etc/ssl/certs} contains those certificates." +msgstr "Le service hpcguix-web met régulièrement à jour la liste des paquets qu'il publie en récupérant les canaux depuis Git. Pour cela, il doit accéder aux certificats X.509 pour qu'il puisse authentifier les serveurs Git quand il communique en HTTPS, et il suppose que @file{/etc/ssl/certs} contient ces certificats." + +#. type: quotation +#: doc/guix.texi:17539 +msgid "Thus, make sure to add @code{nss-certs} or another certificate package to the @code{packages} field of your configuration. @ref{X.509 Certificates}, for more information on X.509 certificates." +msgstr "Ainsi, assurez-vous d'ajouter @code{nss-certs} ou un autre paquet de certificats dans le champ @code{packages} de votre configuration. @ref{X.509 Certificates} pour plus d'informations sur les certificats X.509." #. type: cindex -#: doc/guix.texi:16374 +#: doc/guix.texi:17544 #, no-wrap msgid "Web" -msgstr "" +msgstr "Web" #. type: cindex -#: doc/guix.texi:16375 +#: doc/guix.texi:17545 #, no-wrap msgid "HTTP, HTTPS" -msgstr "" +msgstr "HTTP, HTTPS" #. type: cindex -#: doc/guix.texi:16376 +#: doc/guix.texi:17546 #, no-wrap msgid "Let's Encrypt" -msgstr "" +msgstr "Let's Encrypt" #. type: cindex -#: doc/guix.texi:16377 +#: doc/guix.texi:17547 #, no-wrap msgid "TLS certificates" -msgstr "" +msgstr "certificats TLS" #. type: Plain text -#: doc/guix.texi:16384 +#: doc/guix.texi:17554 msgid "The @code{(gnu services certbot)} module provides a service to automatically obtain a valid TLS certificate from the Let's Encrypt certificate authority. These certificates can then be used to serve content securely over HTTPS or other TLS-based protocols, with the knowledge that the client will be able to verify the server's authenticity." -msgstr "" +msgstr "Le module @code{(gnu services certbot)} fournit un service qui récupère automatiquement un certificat TLS valide de l'autorité de certification Let's Encrypt. Ces certificats peuvent ensuite être utilisés pour servir du contenu de manière sécurisée sur HTTPS et d'autres protocoles basés sur TLS, en sachant que le client sera capable de vérifier l'authenticité du serveur." #. type: Plain text -#: doc/guix.texi:16396 +#: doc/guix.texi:17566 msgid "@url{https://letsencrypt.org/, Let's Encrypt} provides the @code{certbot} tool to automate the certification process. This tool first securely generates a key on the server. It then makes a request to the Let's Encrypt certificate authority (CA) to sign the key. The CA checks that the request originates from the host in question by using a challenge-response protocol, requiring the server to provide its response over HTTP. If that protocol completes successfully, the CA signs the key, resulting in a certificate. That certificate is valid for a limited period of time, and therefore to continue to provide TLS services, the server needs to periodically ask the CA to renew its signature." -msgstr "" +msgstr "@url{https://letsencrypt.org/, Let's Encrypt} fournit l'outil @code{certbot} pour automatiser le processus de certification. Cet outil génère d'abord un clef sur le serveur de manière sécurisée. Ensuite il demande à l'autorité de certification Let's Encrypt de signer la clef. La CA vérifie que la requête provient de l'hôte en question en utilisant un protocole de défi-réponse, ce qui requiert que le serveur fournisse sa réponse par HTTP. Si ce protocole se passe sans encombre, la CA signe la clef et on obtient un certificat. Ce certificat est valide pour une durée limitée et donc, pour continuer à fournir des services en TLS, le serveur doit régulièrement demander à la CA de renouveler sa signature." #. type: Plain text -#: doc/guix.texi:16403 +#: doc/guix.texi:17573 msgid "The certbot service automates this process: the initial key generation, the initial certification request to the Let's Encrypt service, the web server challenge/response integration, writing the certificate to disk, the automated periodic renewals, and the deployment tasks associated with the renewal (e.g. reloading services, copying keys with different permissions)." -msgstr "" +msgstr "Le service certbot automatise ce processus : la génération initiale de la clef, la demande de certification initiale au service Let's Encrypt, l'intégration du protocole de défi/réponse dans le serveur web, l'écriture du certificat sur le disque, les renouvellements périodiques et les taches de déploiement avec le renouvellement (p.@: ex.@: recharger les services, copier les clefs avec d'autres permissions)." #. type: Plain text -#: doc/guix.texi:16409 +#: doc/guix.texi:17579 msgid "Certbot is run twice a day, at a random minute within the hour. It won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your service a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason." -msgstr "" +msgstr "Certbot est lancé deux fois par jour, à une minute aléatoire dans l'heure. Il ne fera rien sauf si vos certificats doivent être renouvelés ou sont révoqués, mais le lancer régulièrement permettra à vos services de rester en ligne si Let's Encrypt décide de révoquer votre certificat." #. type: Plain text -#: doc/guix.texi:16413 +#: doc/guix.texi:17583 msgid "By using this service, you agree to the ACME Subscriber Agreement, which can be found there: @url{https://acme-v01.api.letsencrypt.org/directory}." -msgstr "" +msgstr "En utilisant ce service, vous acceptez le document « ACME Subscriber Agreement », qu'on peut trouver ici : @url{https://acme-v01.api.letsencrypt.org/directory}." #. type: defvr -#: doc/guix.texi:16414 +#: doc/guix.texi:17584 #, no-wrap msgid "{Scheme Variable} certbot-service-type" msgstr "{Variable Scheme} certbot-service-type" #. type: defvr -#: doc/guix.texi:16417 +#: doc/guix.texi:17587 msgid "A service type for the @code{certbot} Let's Encrypt client. Its value must be a @code{certbot-configuration} record as in this example:" -msgstr "" +msgstr "Un type de service pour le client Let's Encrypt @code{certbot}. Sa valeur doit être un enregistrement @code{certbot-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:16424 +#: doc/guix.texi:17594 #, no-wrap msgid "" "(define %nginx-deploy-hook\n" @@ -30505,9 +32764,15 @@ msgid "" " (kill pid SIGHUP))))\n" "\n" msgstr "" +"(define %nginx-deploy-hook\n" +" (program-file\n" +" \"nginx-deploy-hook\"\n" +" #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n" +" (kill pid SIGHUP))))\n" +"\n" #. type: example -#: doc/guix.texi:16435 +#: doc/guix.texi:17605 #, no-wrap msgid "" "(service certbot-service-type\n" @@ -30521,182 +32786,192 @@ msgid "" " (certificate-configuration\n" " (domains '(\"bar.example.net\")))))))\n" msgstr "" +"(service certbot-service-type\n" +" (certbot-configuration\n" +" (email \"foo@@example.net\")\n" +" (certificates\n" +" (list\n" +" (certificate-configuration\n" +" (domains '(\"example.net\" \"www.example.net\"))\n" +" (deploy-hook %nginx-deploy-hook))\n" +" (certificate-configuration\n" +" (domains '(\"bar.example.net\")))))))\n" #. type: defvr -#: doc/guix.texi:16438 +#: doc/guix.texi:17608 msgid "See below for details about @code{certbot-configuration}." -msgstr "" +msgstr "Voir plus bas pour des détails sur @code{certbot-configuration}." #. type: deftp -#: doc/guix.texi:16440 +#: doc/guix.texi:17610 #, no-wrap msgid "{Data Type} certbot-configuration" msgstr "{Type de données} certbot-configuration" #. type: deftp -#: doc/guix.texi:16443 +#: doc/guix.texi:17613 msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:" -msgstr "" +msgstr "Type données représentant la configuration du service @code{certbot}. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16445 +#: doc/guix.texi:17615 #, no-wrap msgid "@code{package} (default: @code{certbot})" msgstr "@code{package} (par défaut : @code{certbot})" #. type: table -#: doc/guix.texi:16447 +#: doc/guix.texi:17617 msgid "The certbot package to use." msgstr "Le paquet certbot à utiliser." #. type: item -#: doc/guix.texi:16448 +#: doc/guix.texi:17618 #, no-wrap msgid "@code{webroot} (default: @code{/var/www})" msgstr "@code{webroot} (par défaut : @code{/var/www})" #. type: table -#: doc/guix.texi:16451 +#: doc/guix.texi:17621 msgid "The directory from which to serve the Let's Encrypt challenge/response files." -msgstr "" +msgstr "Le répertoire depuis lequel servir les fichiers du défi/réponse de Let's Encrypt." #. type: item -#: doc/guix.texi:16452 +#: doc/guix.texi:17622 #, no-wrap msgid "@code{certificates} (default: @code{()})" msgstr "@code{certificates} (par défaut : @code{()})" #. type: table -#: doc/guix.texi:16456 +#: doc/guix.texi:17626 msgid "A list of @code{certificates-configuration}s for which to generate certificates and request signatures. Each certificate has a @code{name} and several @code{domains}." -msgstr "" +msgstr "Une liste de @code{certificates-configuration} pour lesquels générer des certificats et demander des signatures. Chaque certificat a un @code{name} et plusieurs @code{domains}." #. type: table -#: doc/guix.texi:16460 +#: doc/guix.texi:17630 msgid "Mandatory email used for registration, recovery contact, and important account notifications." -msgstr "" +msgstr "Courriel obligatoire utilisé pour la création de compte, le contact en cas de problème et des notifications importantes sur le compte." #. type: item -#: doc/guix.texi:16461 +#: doc/guix.texi:17631 #, no-wrap msgid "@code{rsa-key-size} (default: @code{2048})" msgstr "@code{rsa-key-size} (par défaut : @code{2048})" #. type: table -#: doc/guix.texi:16463 +#: doc/guix.texi:17633 msgid "Size of the RSA key." -msgstr "" +msgstr "Taille de la clef RSA." #. type: item -#: doc/guix.texi:16464 +#: doc/guix.texi:17634 #, no-wrap msgid "@code{default-location} (default: @i{see below})" -msgstr "" +msgstr "@code{default-location} (par défaut : @i{voir plus bas})" #. type: table -#: doc/guix.texi:16473 +#: doc/guix.texi:17643 msgid "The default @code{nginx-location-configuration}. Because @code{certbot} needs to be able to serve challenges and responses, it needs to be able to run a web server. It does so by extending the @code{nginx} web service with an @code{nginx-server-configuration} listening on the @var{domains} on port 80, and which has a @code{nginx-location-configuration} for the @code{/.well-known/} URI path subspace used by Let's Encrypt. @xref{Web Services}, for more on these nginx configuration data types." -msgstr "" +msgstr "Le @code{nginx-location-configuration} par défaut. Come @code{certbot} doit pouvoir servir les défis et les réponses, il doit être capable de lancer un serveur web. Cela se fait en étendant le service web @code{nginx} avec un @code{nginx-server-configuration} qui écoute sur les @var{domains} sur le port 80 et qui a un @code{nginx-location-configuration} pour le chemin @code{/.well-known/} utilisé par Let's Encrypt. @xref{Web Services} pour plus d'information sur les types de données de la configuration de nginx." #. type: table -#: doc/guix.texi:16477 +#: doc/guix.texi:17647 msgid "Requests to other URL paths will be matched by the @code{default-location}, which if present is added to all @code{nginx-server-configuration}s." -msgstr "" +msgstr "Les requêtes vers d'autres URL correspondra à @code{default-location}, qui, s'il est présent, sera ajout é à tous les @code{nginx-server-configuration}." #. type: table -#: doc/guix.texi:16481 +#: doc/guix.texi:17651 msgid "By default, the @code{default-location} will issue a redirect from @code{http://@var{domain}/...} to @code{https://@var{domain}/...}, leaving you to define what to serve on your site via @code{https}." -msgstr "" +msgstr "Par défaut, le @code{default-location} sera une redirection de @code{http://@var{domain}/…} vers @code{https://@var{domain}/…}, en vous laissant définir ce que vous voulez servir sur votre site en @code{https}." #. type: table -#: doc/guix.texi:16483 +#: doc/guix.texi:17653 msgid "Pass @code{#f} to not issue a default location." -msgstr "" +msgstr "Passez @code{#f} pour ne pas utiliser de location par défaut." #. type: deftp -#: doc/guix.texi:16486 +#: doc/guix.texi:17656 #, no-wrap msgid "{Data Type} certificate-configuration" msgstr "{Type de données} certificate-configuration" #. type: deftp -#: doc/guix.texi:16489 +#: doc/guix.texi:17659 msgid "Data type representing the configuration of a certificate. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration d'un certificat. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16491 +#: doc/guix.texi:17661 #, no-wrap msgid "@code{name} (default: @i{see below})" -msgstr "" +msgstr "@code{name} (par défaut : @i{voir plus bas})" #. type: table -#: doc/guix.texi:16495 +#: doc/guix.texi:17665 msgid "This name is used by Certbot for housekeeping and in file paths; it doesn't affect the content of the certificate itself. To see certificate names, run @code{certbot certificates}." -msgstr "" +msgstr "Ce nom est utilisé par Certbot pour ses tâches quotidiennes et dans les chemins de fichiers ; il n'affecte pas le contenu des certificats eux-mêmes. Pour voir les noms des certificats, lancez @code{certbot certificates}." #. type: table -#: doc/guix.texi:16497 +#: doc/guix.texi:17667 msgid "Its default is the first provided domain." -msgstr "" +msgstr "Sa valeur par défaut est le premier domaine spécifié." #. type: item -#: doc/guix.texi:16498 +#: doc/guix.texi:17668 #, no-wrap msgid "@code{domains} (default: @code{()})" msgstr "@code{domains} (par défaut : @code{()})" #. type: table -#: doc/guix.texi:16501 +#: doc/guix.texi:17671 msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate." -msgstr "" +msgstr "Le premier domaine spécifié sera le CN du sujet du certificat, et tous les domaines seront les noms alternatifs du sujet dans le certificat." #. type: item -#: doc/guix.texi:16502 +#: doc/guix.texi:17672 #, no-wrap msgid "@code{deploy-hook} (default: @code{#f})" msgstr "@code{deploy-hook} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16510 +#: doc/guix.texi:17680 msgid "Command to be run in a shell once for each successfully issued certificate. For this command, the shell variable @code{$RENEWED_LINEAGE} will point to the config live subdirectory (for example, @samp{\"/etc/letsencrypt/live/example.com\"}) containing the new certificates and keys; the shell variable @code{$RENEWED_DOMAINS} will contain a space-delimited list of renewed certificate domains (for example, @samp{\"example.com www.example.com\"}." -msgstr "" +msgstr "Commande à lancer dans un shell une fois par certificat récupéré avec succès. Pour cette commande, la variable @code{$RENEWED_LINEAGE} pointera sur le sous-répertoire live (par exemple, @samp{\"/etc/letsencrypt/live/example.com\"}) contenant le nouveau certificat et la clef ; la variable @code{$RENEWED_DOMAINS} contiendra les noms de domaines séparés par des espaces (par exemple @samp{\"example.com www.example.com\"})." #. type: Plain text -#: doc/guix.texi:16517 +#: doc/guix.texi:17687 msgid "For each @code{certificate-configuration}, the certificate is saved to @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} and the key is saved to @code{/etc/letsencrypt/live/@var{name}/privkey.pem}." -msgstr "" +msgstr "Pour chaque @code{certificate-configuration}, le certificat est sauvegardé dans @code{/etc/letsencrypt/live/@var{name}/fullchain.pem} et la clef est sauvegardée dans @code{/etc/letsencrypt/live/@var{name}/privkey.pem}." #. type: cindex -#: doc/guix.texi:16519 +#: doc/guix.texi:17689 #, no-wrap msgid "DNS (domain name system)" -msgstr "" +msgstr "DNS (domain name system)" #. type: cindex -#: doc/guix.texi:16520 +#: doc/guix.texi:17690 #, no-wrap msgid "domain name system (DNS)" -msgstr "" +msgstr "domain name system (DNS)" #. type: Plain text -#: doc/guix.texi:16528 +#: doc/guix.texi:17698 msgid "The @code{(gnu services dns)} module provides services related to the @dfn{domain name system} (DNS). It provides a server service for hosting an @emph{authoritative} DNS server for multiple zones, slave or master. This service uses @uref{https://www.knot-dns.cz/, Knot DNS}. And also a caching and forwarding DNS server for the LAN, which uses @uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}." -msgstr "" +msgstr "Le module @code{(gnu services dns)} fournit des services liés au @dfn{système de noms de domaines} (DNS). Il fournit un service de serveur pour héberger un serveur DNS @emph{faisant autorité} pour plusieurs zones, en esclave ou en maître. Ce service utilise @uref{https://www.knot-dns.cz/, Knot DNS}. Il fournit aussi un service de cache et de renvoie DNS pour le LAN, qui utilise @uref{http://www.thekelleys.org.uk/dnsmasq/doc.html, dnsmasq}." #. type: subsubheading -#: doc/guix.texi:16529 +#: doc/guix.texi:17699 #, no-wrap msgid "Knot Service" msgstr "Service Knot" #. type: Plain text -#: doc/guix.texi:16533 +#: doc/guix.texi:17703 msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:" -msgstr "" +msgstr "Voici un exemple de configuration pour un serveur faisant autorité sur deux zone, un maître et un esclave :" #. type: lisp -#: doc/guix.texi:16540 +#: doc/guix.texi:17710 #, no-wrap msgid "" "(define-zone-entries example.org.zone\n" @@ -30706,9 +32981,15 @@ msgid "" " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n" "\n" msgstr "" +"(define-zone-entries example.org.zone\n" +";; Name TTL Class Type Data\n" +" (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n" +" (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n" +" (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n" +"\n" #. type: lisp -#: doc/guix.texi:16547 +#: doc/guix.texi:17717 #, no-wrap msgid "" "(define master-zone\n" @@ -30719,9 +33000,16 @@ msgid "" " (entries example.org.zone)))))\n" "\n" msgstr "" +"(define master-zone\n" +" (knot-zone-configuration\n" +" (domain \"example.org\")\n" +" (zone (zone-file\n" +" (origin \"example.org\")\n" +" (entries example.org.zone)))))\n" +"\n" #. type: lisp -#: doc/guix.texi:16553 +#: doc/guix.texi:17723 #, no-wrap msgid "" "(define slave-zone\n" @@ -30731,9 +33019,15 @@ msgid "" " (master (list \"plop-master\"))))\n" "\n" msgstr "" +"(define slave-zone\n" +" (knot-zone-configuration\n" +" (domain \"plop.org\")\n" +" (dnssec-policy \"default\")\n" +" (master (list \"plop-master\"))))\n" +"\n" #. type: lisp -#: doc/guix.texi:16558 +#: doc/guix.texi:17728 #, no-wrap msgid "" "(define plop-master\n" @@ -30742,9 +33036,14 @@ msgid "" " (address (list \"208.76.58.171\"))))\n" "\n" msgstr "" +"(define plop-master\n" +" (knot-remote-configuration\n" +" (id \"plop-master\")\n" +" (address (list \"208.76.58.171\"))))\n" +"\n" #. type: lisp -#: doc/guix.texi:16567 +#: doc/guix.texi:17737 #, no-wrap msgid "" "(operating-system\n" @@ -30756,836 +33055,844 @@ msgid "" " ;; ...\n" " %base-services)))\n" msgstr "" +"(operating-system\n" +" ;; ...\n" +" (services (cons* (service knot-service-type\n" +" (knot-configuration\n" +" (remotes (list plop-master))\n" +" (zones (list master-zone slave-zone))))\n" +" ;; ...\n" +" %base-services)))\n" #. type: deffn -#: doc/guix.texi:16569 +#: doc/guix.texi:17739 #, no-wrap msgid "{Scheme Variable} knot-service-type" msgstr "{Variable Scheme} knot-service-type" #. type: deffn -#: doc/guix.texi:16571 +#: doc/guix.texi:17741 msgid "This is the type for the Knot DNS server." -msgstr "" +msgstr "C'est le type pour le serveur DNS Knot." #. type: deffn -#: doc/guix.texi:16579 +#: doc/guix.texi:17749 msgid "Knot DNS is an authoritative DNS server, meaning that it can serve multiple zones, that is to say domain names you would buy from a registrar. This server is not a resolver, meaning that it can only resolve names for which it is authoritative. This server can be configured to serve zones as a master server or a slave server as a per-zone basis. Slave zones will get their data from masters, and will serve it as an authoritative server. From the point of view of a resolver, there is no difference between master and slave." -msgstr "" +msgstr "Knot DNS est un serveur DNS faisant autorité, ce qui signifie qu'il peut servir plusieurs zones, c'est-à-dire des noms de domaines que vous achetez à un registrar. Ce serveur n'est pas un résolveur, ce qui signifie qu'il ne peut pas résoudre les noms pour lesquels il ne fait pas autorité. Ce serveur peut être configuré pour servir des zones comme un serveur maître ou comme un serveur esclave, en fonction des zones. Les zones esclaves récupèrent leurs données des maîtres, et seront servies comme faisant autorité. Du point de vue d'un résolveur, il n'y a pas de différence entre un maître et un esclave@footnote{NdT : Voir la conférence en Français de Stéphane Bortzmeyer pour en apprendre plus sur le DNS : @url{https://iletaitunefoisinternet.fr/dns-bortzmeyer/index.html}}." #. type: deffn -#: doc/guix.texi:16581 +#: doc/guix.texi:17751 msgid "The following data types are used to configure the Knot DNS server:" -msgstr "" +msgstr "Les types de données suivants sont utilisés pour configurer le serveur DNS Knot :" #. type: deftp -#: doc/guix.texi:16583 +#: doc/guix.texi:17753 #, no-wrap msgid "{Data Type} knot-key-configuration" msgstr "{Type de données} knot-key-configuration" #. type: deftp -#: doc/guix.texi:16586 +#: doc/guix.texi:17756 msgid "Data type representing a key. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant une clef. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16588 doc/guix.texi:16608 doc/guix.texi:16723 -#: doc/guix.texi:16749 doc/guix.texi:16784 +#: doc/guix.texi:17758 doc/guix.texi:17778 doc/guix.texi:17893 +#: doc/guix.texi:17919 doc/guix.texi:17954 #, no-wrap msgid "@code{id} (default: @code{\"\"})" msgstr "@code{id} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16591 +#: doc/guix.texi:17761 msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty." -msgstr "" +msgstr "Un identifiant pour d'autres champs de configuration qui se réfèrent à cette clef. Les ID doivent être uniques et non vides." #. type: item -#: doc/guix.texi:16592 +#: doc/guix.texi:17762 #, no-wrap msgid "@code{algorithm} (default: @code{#f})" msgstr "@code{algorithm} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16596 +#: doc/guix.texi:17766 msgid "The algorithm to use. Choose between @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} and @code{'hmac-sha512}." -msgstr "" +msgstr "L'algorithme à utiliser. Choisissez entre @code{#f}, @code{'hmac-md5}, @code{'hmac-sha1}, @code{'hmac-sha224}, @code{'hmac-sha256}, @code{'hmac-sha384} et @code{'hmac-sha512}." #. type: item -#: doc/guix.texi:16597 +#: doc/guix.texi:17767 #, no-wrap msgid "@code{secret} (default: @code{\"\"})" msgstr "@code{secret} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16599 +#: doc/guix.texi:17769 msgid "The secret key itself." -msgstr "" +msgstr "La clef secrète elle-même." #. type: deftp -#: doc/guix.texi:16603 +#: doc/guix.texi:17773 #, no-wrap msgid "{Data Type} knot-acl-configuration" msgstr "{Type de données} knot-acl-configuration" #. type: deftp -#: doc/guix.texi:16606 +#: doc/guix.texi:17776 msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant une configuration de liste de contrôle d'accès (ACL). Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16611 +#: doc/guix.texi:17781 msgid "An identifier for ether configuration fields to refer to this key. IDs must be unique and must not be empty." -msgstr "" +msgstr "Un identifiant pour d'autres champs de configuration qui se réfèrent à cette clef. Les ID doivent être uniques et non vides." #. type: item -#: doc/guix.texi:16612 doc/guix.texi:16727 +#: doc/guix.texi:17782 doc/guix.texi:17897 #, no-wrap msgid "@code{address} (default: @code{'()})" msgstr "@code{address} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16616 +#: doc/guix.texi:17786 msgid "An ordered list of IP addresses, network subnets, or network ranges represented with strings. The query must match one of them. Empty value means that address match is not required." -msgstr "" +msgstr "Une liste ordonnée d'adresses IP, de sous-réseaux ou d'intervalles de réseaux représentés par des chaînes de caractères. La requête doit correspondre à l'une d'entre elles. La valeur vide signifie que l'adresse n'a pas besoin de correspondre." #. type: item -#: doc/guix.texi:16617 +#: doc/guix.texi:17787 #, no-wrap msgid "@code{key} (default: @code{'()})" msgstr "@code{key} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16621 +#: doc/guix.texi:17791 msgid "An ordered list of references to keys represented with strings. The string must match a key ID defined in a @code{knot-key-configuration}. No key means that a key is not require to match that ACL." -msgstr "" +msgstr "Une liste ordonnées de références à des clefs représentés par des chaînes. La chaîne doit correspondre à un ID définie dans un @code{knot-key-configuration}. Aucune clef signifie qu'une clef n'est pas nécessaire pour correspondre à l'ACL." #. type: item -#: doc/guix.texi:16622 +#: doc/guix.texi:17792 #, no-wrap msgid "@code{action} (default: @code{'()})" msgstr "@code{action} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16626 +#: doc/guix.texi:17796 msgid "An ordered list of actions that are permitted or forbidden by this ACL. Possible values are lists of zero or more elements from @code{'transfer}, @code{'notify} and @code{'update}." -msgstr "" +msgstr "Une liste ordonnée d'actions permises ou interdites par cet ACL. Les valeurs possibles sont une liste de zéro ou plus d'éléments entre @code{'transfer}, @code{'notify} et @code{'update}." #. type: item -#: doc/guix.texi:16627 +#: doc/guix.texi:17797 #, no-wrap msgid "@code{deny?} (default: @code{#f})" msgstr "@code{deny?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16630 +#: doc/guix.texi:17800 msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed." -msgstr "" +msgstr "Lorsque la valeur est vraie, l'ACL définie des restrictions. Les actions listées sont interdites. Lorsque la valeur est fausse, les actions listées sont autorisées." #. type: deftp -#: doc/guix.texi:16634 +#: doc/guix.texi:17804 #, no-wrap msgid "{Data Type} zone-entry" msgstr "{Type de données} zone-entry" #. type: deftp -#: doc/guix.texi:16637 +#: doc/guix.texi:17807 msgid "Data type represnting a record entry in a zone file. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant une entrée dans un fichier de zone. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16639 +#: doc/guix.texi:17809 #, no-wrap msgid "@code{name} (default: @code{\"@@\"})" msgstr "@code{name} (par défaut : @code{\"@@\"})" #. type: table -#: doc/guix.texi:16645 +#: doc/guix.texi:17815 msgid "The name of the record. @code{\"@@\"} refers to the origin of the zone. Names are relative to the origin of the zone. For example, in the @code{example.org} zone, @code{\"ns.example.org\"} actually refers to @code{ns.example.org.example.org}. Names ending with a dot are absolute, which means that @code{\"ns.example.org.\"} refers to @code{ns.example.org}." -msgstr "" +msgstr "Le nom de l'enregistrement. @code{\"@@\"} se réfère à l'origine de la zone. Les noms sont relatifs à l'origine de la zone. Par exemple, dans la zone @code{example.org}, @code{\"ns.example.org\"} se réfère en fait à @code{ns.example.org.example.org}. Les noms qui finissent par un point sont absolus, ce qui signifie que @code{\"ns.example.org.\"} se réfère bien à @code{ns.example.org}." #. type: item -#: doc/guix.texi:16646 +#: doc/guix.texi:17816 #, no-wrap msgid "@code{ttl} (default: @code{\"\"})" msgstr "@code{ttl} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16648 +#: doc/guix.texi:17818 msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used." -msgstr "" +msgstr "La durée de vie (TTL) de cet enregistrement. S'il n'est pas indiqué, le TTL par défaut est utilisé." #. type: item -#: doc/guix.texi:16649 +#: doc/guix.texi:17819 #, no-wrap msgid "@code{class} (default: @code{\"IN\"})" msgstr "@code{class} (par défaut : @code{\"IN\"})" #. type: table -#: doc/guix.texi:16652 +#: doc/guix.texi:17822 msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}." -msgstr "" +msgstr "La classe de l'enregistrement. Knot ne supporte actuellement que @code{\"IN\"} et partiellement @code{\"CH\"}." #. type: item -#: doc/guix.texi:16653 +#: doc/guix.texi:17823 #, no-wrap msgid "@code{type} (default: @code{\"A\"})" msgstr "@code{type} (par défaut : @code{\"A\"})" #. type: table -#: doc/guix.texi:16657 +#: doc/guix.texi:17827 msgid "The type of the record. Common types include A (IPv4 address), AAAA (IPv6 address), NS (Name Server) and MX (Mail eXchange). Many other types are defined." -msgstr "" +msgstr "Le type d'enregistrement. Les types usuels sont A (une adresse IPv4), NS (serveur de nom) et MX (serveur de courriel). Bien d'autres types sont définis." #. type: item -#: doc/guix.texi:16658 +#: doc/guix.texi:17828 #, no-wrap msgid "@code{data} (default: @code{\"\"})" msgstr "@code{data} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16662 +#: doc/guix.texi:17832 msgid "The data contained in the record. For instance an IP address associated with an A record, or a domain name associated with an NS record. Remember that domain names are relative to the origin unless they end with a dot." -msgstr "" +msgstr "Les données contenues dans l'enregistrement. Par exemple une adresse IP associée à un enregistrement A, ou un nom de domaine associé à un enregistrement NS. Rappelez-vous que les noms de domaines sont relatifs à l'origine à moins qu'ils ne finissent par un point." #. type: deftp -#: doc/guix.texi:16666 +#: doc/guix.texi:17836 #, no-wrap msgid "{Data Type} zone-file" msgstr "{Type de données} zone-file" #. type: deftp -#: doc/guix.texi:16669 +#: doc/guix.texi:17839 msgid "Data type representing the content of a zone file. This type has the following parameters:" -msgstr "" +msgstr "Type données représentant le contenu d'un fichier de zone. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16678 +#: doc/guix.texi:17848 msgid "The list of entries. The SOA record is taken care of, so you don't need to put it in the list of entries. This list should probably contain an entry for your primary authoritative DNS server. Other than using a list of entries directly, you can use @code{define-zone-entries} to define a object containing the list of entries more easily, that you can later pass to the @code{entries} field of the @code{zone-file}." -msgstr "" +msgstr "La liste des entrées. On s'occupe de l'enregistrement SOA, donc vous n'avez pas besoin de l'ajouter dans la liste des entrées. Cette liste devrait contenir une entrée pour votre serveur DNS primaire faisant autorité. En plus d'utiliser une liste des entrées directement, vous pouvez utiliser @code{define-zone-entries} pour définir un objet contenant la liste des entrées plus facilement, que vous pouvez ensuite passer au champ @code{entries} de @code{zone-file}." #. type: item -#: doc/guix.texi:16679 +#: doc/guix.texi:17849 #, no-wrap msgid "@code{origin} (default: @code{\"\"})" msgstr "@code{origin} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16681 +#: doc/guix.texi:17851 msgid "The name of your zone. This parameter cannot be empty." -msgstr "" +msgstr "Le nom de votre zone. Ce paramètre ne peut pas être vide." #. type: item -#: doc/guix.texi:16682 +#: doc/guix.texi:17852 #, no-wrap msgid "@code{ns} (default: @code{\"ns\"})" msgstr "@code{ns} (par défaut : @code{\"ns\"})" #. type: table -#: doc/guix.texi:16687 +#: doc/guix.texi:17857 msgid "The domain of your primary authoritative DNS server. The name is relative to the origin, unless it ends with a dot. It is mandatory that this primary DNS server corresponds to an NS record in the zone and that it is associated to an IP address in the list of entries." -msgstr "" +msgstr "Le domaine de votre serveur DNS primaire faisant autorité. Le nom est relatif à l'origine, à moins qu'il finisse par un point. Il est nécessaire que ce serveur DNS primaire corresponde à un enregistrement NS dans la zone et qu'il soit associé à une adresse IP dans la liste des entrées." #. type: item -#: doc/guix.texi:16688 +#: doc/guix.texi:17858 #, no-wrap msgid "@code{mail} (default: @code{\"hostmaster\"})" msgstr "@code{mail} (par défaut : @code{\"hostmaster\"})" #. type: table -#: doc/guix.texi:16691 +#: doc/guix.texi:17861 msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{@@}." -msgstr "" +msgstr "Une adresse de courriel pour vous contacter en tant que propriétaire de la zone. Cela se transforme en @code{@@}." #. type: item -#: doc/guix.texi:16692 +#: doc/guix.texi:17862 #, no-wrap msgid "@code{serial} (default: @code{1})" msgstr "@code{serial} (par défaut : @code{1})" #. type: table -#: doc/guix.texi:16696 +#: doc/guix.texi:17866 msgid "The serial number of the zone. As this is used to keep track of changes by both slaves and resolvers, it is mandatory that it @emph{never} decreases. Always increment it when you make a change in your zone." -msgstr "" +msgstr "Le numéro de série de la zone. Comme c'est utilisé pour vérifier les changements à la fois par les esclaves et par les résolveurs, il est nécessaire qu'il ne décroisse @emph{jamais}. Incrémentez-le toujours quand vous faites un changement sur votre zone." #. type: item -#: doc/guix.texi:16697 +#: doc/guix.texi:17867 #, no-wrap msgid "@code{refresh} (default: @code{(* 2 24 3600)})" msgstr "@code{refresh} (par défaut : @code{(* 2 24 3600)})" #. type: table -#: doc/guix.texi:16701 +#: doc/guix.texi:17871 msgid "The frequency at which slaves will do a zone transfer. This value is a number of seconds. It can be computed by multiplications or with @code{(string->duration)}." -msgstr "" +msgstr "La fréquence à laquelle les esclaves demanderont un transfert de zone. Cette valeur est un nombre de secondes. On peut le calculer avec des multiplications ou avec @code{(string->duration)}." #. type: item -#: doc/guix.texi:16702 +#: doc/guix.texi:17872 #, no-wrap msgid "@code{retry} (default: @code{(* 15 60)})" msgstr "@code{retry} (par défaut : @code{(* 15 60)})" #. type: table -#: doc/guix.texi:16705 +#: doc/guix.texi:17875 msgid "The period after which a slave will retry to contact its master when it fails to do so a first time." -msgstr "" +msgstr "La période après laquelle un esclave essaiera de contacter son maître lorsqu'il échoue à le faire la première fois." #. type: item -#: doc/guix.texi:16706 +#: doc/guix.texi:17876 #, no-wrap msgid "@code{expiry} (default: @code{(* 14 24 3600)})" msgstr "@code{expiry} (par défaut : @code{(* 14 24 3600)})" #. type: table -#: doc/guix.texi:16710 +#: doc/guix.texi:17880 msgid "Default TTL of records. Existing records are considered correct for at most this amount of time. After this period, resolvers will invalidate their cache and check again that it still exists." -msgstr "" +msgstr "TTL par défaut des enregistrements. Les enregistrements existants sont considérés corrects pour au moins cette durée. Après cette période, les résolveurs invalideront leur cache et vérifieront de nouveau qu'ils existent toujours." #. type: item -#: doc/guix.texi:16711 +#: doc/guix.texi:17881 #, no-wrap msgid "@code{nx} (default: @code{3600})" msgstr "@code{nx} (par défaut : @code{3600})" #. type: table -#: doc/guix.texi:16714 +#: doc/guix.texi:17884 msgid "Default TTL of inexistant records. This delay is usually short because you want your new domains to reach everyone quickly." -msgstr "" +msgstr "TTL par défaut des enregistrement inexistants. Ce TTL est habituellement court parce que vous voulez que vous nouveaux domaines soient disponibles pour tout le monde le plus rapidement possible." #. type: deftp -#: doc/guix.texi:16718 +#: doc/guix.texi:17888 #, no-wrap msgid "{Data Type} knot-remote-configuration" msgstr "{Type de données} knot-remote-configuration" #. type: deftp -#: doc/guix.texi:16721 +#: doc/guix.texi:17891 msgid "Data type representing a remote configuration. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant une configuration de serveurs distants. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16726 +#: doc/guix.texi:17896 msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty." -msgstr "" +msgstr "Un identifiant pour que les autres champs de configuration se réfèrent à ce serveur distant. les ID doivent être uniques et non vides." #. type: table -#: doc/guix.texi:16731 +#: doc/guix.texi:17901 msgid "An ordered list of destination IP addresses. Addresses are tried in sequence. An optional port can be given with the @@ separator. For instance: @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Default port is 53." -msgstr "" +msgstr "Une liste ordonnée d'adresses IP de destination. Ces adresses sont essayées en séquence. Un port facultatif peut être donné avec le séparateur @@. Par exemple @code{(list \"1.2.3.4\" \"2.3.4.5@@53\")}. Le port par défaut est le 53." #. type: item -#: doc/guix.texi:16732 +#: doc/guix.texi:17902 #, no-wrap msgid "@code{via} (default: @code{'()})" msgstr "@code{via} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16736 +#: doc/guix.texi:17906 msgid "An ordered list of source IP addresses. An empty list will have Knot choose an appropriate source IP. An optional port can be given with the @@ separator. The default is to choose at random." -msgstr "" +msgstr "Une liste ordonnée d'adresses IP sources. Une liste vide fera choisir une IP source appropriée à Knot. Un port facultatif peut être donné avec le séparateur @@. La valeur par défaut est de choisir aléatoirement." #. type: item -#: doc/guix.texi:16737 +#: doc/guix.texi:17907 #, no-wrap msgid "@code{key} (default: @code{#f})" msgstr "@code{key} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16740 +#: doc/guix.texi:17910 msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field." -msgstr "" +msgstr "Une référence à une clef, c'est-à-dire une chaîne contenant l'identifiant d'une clef définie dans un champ @code{knot-key-configuration}." #. type: deftp -#: doc/guix.texi:16744 +#: doc/guix.texi:17914 #, no-wrap msgid "{Data Type} knot-keystore-configuration" msgstr "{Type de données} knot-keystore-configuration" #. type: deftp -#: doc/guix.texi:16747 +#: doc/guix.texi:17917 msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant une base de clefs pour garder les clefs dnssec. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16751 +#: doc/guix.texi:17921 msgid "The id of the keystore. It must not be empty." -msgstr "" +msgstr "L'id de cette base de clefs. Il ne doit pas être vide." #. type: item -#: doc/guix.texi:16752 +#: doc/guix.texi:17922 #, no-wrap msgid "@code{backend} (default: @code{'pem})" msgstr "@code{backend} (par défaut : @code{'pem})" #. type: table -#: doc/guix.texi:16754 +#: doc/guix.texi:17924 msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}." -msgstr "" +msgstr "Le moteur de stockage des clefs. Cela peut être @code{'pem} ou @code{'pkcs11}." #. type: item -#: doc/guix.texi:16755 +#: doc/guix.texi:17925 #, no-wrap msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})" msgstr "@code{config} (par défaut : @code{\"/var/lib/knot/keys/keys\"})" #. type: table -#: doc/guix.texi:16759 +#: doc/guix.texi:17929 msgid "The configuration string of the backend. An example for the PKCS#11 is: @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. For the pem backend, the string reprensents a path in the file system." -msgstr "" +msgstr "La chaîne de configuration pour le moteur. Voici un exemple pour PKCS#11 : @code{\"pkcs11:token=knot;pin-value=1234 /gnu/store/.../lib/pkcs11/libsofthsm2.so\"}. Pour le moteur pem, la chaîne représente un chemin dans le système de fichiers." #. type: deftp -#: doc/guix.texi:16763 +#: doc/guix.texi:17933 #, no-wrap msgid "{Data Type} knot-policy-configuration" msgstr "{Type de données} knot-policy-configuration" #. type: deftp -#: doc/guix.texi:16767 +#: doc/guix.texi:17937 msgid "Data type representing a dnssec policy. Knot DNS is able to automatically sign your zones. It can either generate and manage your keys automatically or use keys that you generate." -msgstr "" +msgstr "Type de données représentant une politique dnssec. Knot DNS est capable de signer automatiquement vos zones. Il peut soit générer et gérer vos clefs automatiquement ou utiliser des clefs que vous générez." #. type: deftp -#: doc/guix.texi:16774 +#: doc/guix.texi:17944 msgid "Dnssec is usually implemented using two keys: a Key Signing Key (KSK) that is used to sign the second, and a Zone Signing Key (ZSK) that is used to sign the zone. In order to be trusted, the KSK needs to be present in the parent zone (usually a top-level domain). If your registrar supports dnssec, you will have to send them your KSK's hash so they can add a DS record in their zone. This is not automated and need to be done each time you change your KSK." -msgstr "" +msgstr "Dnssec est habituellement implémenté avec deux clefs : une KSK (key signing key) qui est utilisé pour signer une seconde, la ZSK (zone signing key) qui est utilisée pour signer la zone. Pour pouvoir être de confiance, la KSK doit être présente dans la zone parente (normalement un domaine de haut niveau). Si votre registrar supporte dnssec, vous devrez leur envoyer le hash de votre KSK pour qu'il puisse ajouter un enregistrement DS dans la zone parente. Ce n'est pas automatique et vous devrez le faire à chaque fois que vous changerez votre KSK." #. type: deftp -#: doc/guix.texi:16780 +#: doc/guix.texi:17950 msgid "The policy also defines the lifetime of keys. Usually, ZSK can be changed easily and use weaker cryptographic functions (they use lower parameters) in order to sign records quickly, so they are changed often. The KSK however requires manual interaction with the registrar, so they are changed less often and use stronger parameters because they sign only one record." -msgstr "" +msgstr "La politique définie aussi la durée de vie des clefs. Habituellement, la ZSK peut être changée facilement et utilise des fonctions cryptographiques plus faibles (avec un paramètre plus faible) pour signer les enregistrements rapidement, donc elles sont changées très régulièrement. La KSK en revanche requiert une interaction manuelle avec le registrar, donc elle change moins souvent et utilise des paramètres plus robustes puisqu'elle ne signe qu'un seul enregistrement." #. type: deftp -#: doc/guix.texi:16782 +#: doc/guix.texi:17952 msgid "This type has the following parameters:" -msgstr "" +msgstr "Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:16786 +#: doc/guix.texi:17956 msgid "The id of the policy. It must not be empty." -msgstr "" +msgstr "L'id de la politique. Il ne doit pas être vide." #. type: item -#: doc/guix.texi:16787 +#: doc/guix.texi:17957 #, no-wrap msgid "@code{keystore} (default: @code{\"default\"})" msgstr "@code{keystore} (par défaut : @code{\"default\"})" #. type: table -#: doc/guix.texi:16792 +#: doc/guix.texi:17962 msgid "A reference to a keystore, that is a string containing the identifier of a keystore defined in a @code{knot-keystore-configuration} field. The @code{\"default\"} identifier means the default keystore (a kasp database that was setup by this service)." -msgstr "" +msgstr "Une référence à une base de clefs, c'est-à-dire une chaîne contenant l'identifiant d'une base de clefs définie dans un champ @code{knot-keystore-configuration}. L'identifiant @code{\"default\"} signifie la base par défaut (une base de données kasp initialisée par ce service)." #. type: item -#: doc/guix.texi:16793 +#: doc/guix.texi:17963 #, no-wrap msgid "@code{manual?} (default: @code{#f})" msgstr "@code{manual?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16795 +#: doc/guix.texi:17965 msgid "Whether the key management is manual or automatic." -msgstr "" +msgstr "Indique si la clef est gérée manuellement ou automatiquement." #. type: item -#: doc/guix.texi:16796 +#: doc/guix.texi:17966 #, no-wrap msgid "@code{single-type-signing?} (default: @code{#f})" msgstr "@code{single-type-signing?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16798 +#: doc/guix.texi:17968 msgid "When @code{#t}, use the Single-Type Signing Scheme." -msgstr "" +msgstr "Lorsque la valeur est @code{#t}, utilise le schéma de signature Single-Type" #. type: item -#: doc/guix.texi:16799 +#: doc/guix.texi:17969 #, no-wrap msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})" msgstr "@code{algorithm} (par défaut : @code{\"ecdsap256sha256\"})" #. type: table -#: doc/guix.texi:16801 +#: doc/guix.texi:17971 msgid "An algorithm of signing keys and issued signatures." -msgstr "" +msgstr "Un algorithme de clef de signature et de signatures." #. type: item -#: doc/guix.texi:16802 +#: doc/guix.texi:17972 #, no-wrap msgid "@code{ksk-size} (default: @code{256})" msgstr "@code{ksk-size} (par défaut : @code{256})" #. type: table -#: doc/guix.texi:16805 +#: doc/guix.texi:17975 msgid "The length of the KSK. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms." -msgstr "" +msgstr "La longueur de la KSK. Remarquez que cette valeur est correcte pour l'algorithme par défaut, mais ne serait pas sécurisée pour d'autres algorithmes." #. type: item -#: doc/guix.texi:16806 +#: doc/guix.texi:17976 #, no-wrap msgid "@code{zsk-size} (default: @code{256})" msgstr "@code{zsk-size} (par défaut : @code{256})" #. type: table -#: doc/guix.texi:16809 +#: doc/guix.texi:17979 msgid "The length of the ZSK. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms." -msgstr "" +msgstr "La longueur de la ZSK. Remarquez que cette valeur est correcte pour l'algorithme par défaut, mais ne serait pas sécurisée pour d'autres algorithmes." #. type: item -#: doc/guix.texi:16810 +#: doc/guix.texi:17980 #, no-wrap msgid "@code{dnskey-ttl} (default: @code{'default})" msgstr "@code{dnskey-ttl} (par défaut : @code{'default})" #. type: table -#: doc/guix.texi:16813 +#: doc/guix.texi:17983 msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL." -msgstr "" +msgstr "La valeur du TTL pour les enregistrements DNSKEY ajoutés au sommet de la zone. La valeur spéciale @code{'default} signifie la même valeur que le TTL du SOA de la zone." #. type: item -#: doc/guix.texi:16814 +#: doc/guix.texi:17984 #, no-wrap msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})" msgstr "@code{zsk-lifetime} (par défaut : @code{(* 30 24 3600)})" #. type: table -#: doc/guix.texi:16816 +#: doc/guix.texi:17986 msgid "The period between ZSK publication and the next rollover initiation." -msgstr "" +msgstr "La période entre la publication d'une ZSK et l'initialisation d'un nouveau changement." #. type: item -#: doc/guix.texi:16817 +#: doc/guix.texi:17987 #, no-wrap msgid "@code{propagation-delay} (default: @code{(* 24 3600)})" msgstr "@code{propagation-delay} (par défaut : @code{(* 24 3600)})" #. type: table -#: doc/guix.texi:16820 +#: doc/guix.texi:17990 msgid "An extra delay added for each key rollover step. This value should be high enough to cover propagation of data from the master server to all slaves." -msgstr "" +msgstr "Un délai supplémentaire pour chaque étape du changement. Cette valeur devrait être assez grande pour couvrir le temps de propagation des données entre le serveur primaire et tous les secondaires." #. type: item -#: doc/guix.texi:16821 +#: doc/guix.texi:17991 #, no-wrap msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})" msgstr "@code{rrsig-lifetime} (par défaut : @code{(* 14 24 3600)})" #. type: table -#: doc/guix.texi:16823 +#: doc/guix.texi:17993 msgid "A validity period of newly issued signatures." -msgstr "" +msgstr "Une période de validité des nouvelles signatures." #. type: item -#: doc/guix.texi:16824 +#: doc/guix.texi:17994 #, no-wrap msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})" msgstr "@code{rrsig-refresh} (par défaut : @code{(* 7 24 3600)})" #. type: table -#: doc/guix.texi:16826 +#: doc/guix.texi:17996 msgid "A period how long before a signature expiration the signature will be refreshed." -msgstr "" +msgstr "Une période qui indique combien de temps avant l'expiration d'une signature elle sera rafraîchie." #. type: item -#: doc/guix.texi:16827 +#: doc/guix.texi:17997 #, no-wrap msgid "@code{nsec3?} (default: @code{#f})" msgstr "@code{nsec3?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16829 +#: doc/guix.texi:17999 msgid "When @code{#t}, NSEC3 will be used instead of NSEC." -msgstr "" +msgstr "Lorsque la valeur est @code{#t}, on utilisera NSEC3 au lien de NSEC." #. type: item -#: doc/guix.texi:16830 +#: doc/guix.texi:18000 #, no-wrap msgid "@code{nsec3-iterations} (default: @code{5})" msgstr "@code{nsec3-iterations} (par défaut : @code{5})" #. type: table -#: doc/guix.texi:16832 +#: doc/guix.texi:18002 msgid "The number of additional times the hashing is performed." -msgstr "" +msgstr "Le nombre de fois supplémentaires que le hash est effectué." #. type: item -#: doc/guix.texi:16833 +#: doc/guix.texi:18003 #, no-wrap msgid "@code{nsec3-salt-length} (default: @code{8})" msgstr "@code{nsec3-salt-length} (par défaut : @code{8})" #. type: table -#: doc/guix.texi:16836 +#: doc/guix.texi:18006 msgid "The length of a salt field in octets, which is appended to the original owner name before hashing." -msgstr "" +msgstr "La longueur du champ de sel en octets, ajouté au nom du propriétaire avant de hasher." #. type: item -#: doc/guix.texi:16837 +#: doc/guix.texi:18007 #, no-wrap msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})" msgstr "@code{nsec3-salt-lifetime} (par défaut : @code{(* 30 24 3600)})" #. type: table -#: doc/guix.texi:16839 +#: doc/guix.texi:18009 msgid "The validity period of newly issued salt field." -msgstr "" +msgstr "La période de validité des nouveaux champs sel." #. type: deftp -#: doc/guix.texi:16843 +#: doc/guix.texi:18013 #, no-wrap msgid "{Data Type} knot-zone-configuration" msgstr "{Type de données} knot-zone-configuration" #. type: deftp -#: doc/guix.texi:16846 +#: doc/guix.texi:18016 msgid "Data type representing a zone served by Knot. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la zone servie par Knot. ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16848 +#: doc/guix.texi:18018 #, no-wrap msgid "@code{domain} (default: @code{\"\"})" msgstr "@code{domain} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16850 +#: doc/guix.texi:18020 msgid "The domain served by this configuration. It must not be empty." -msgstr "" +msgstr "Le domaine servi par cette configuration. Il ne doit pas être vide." #. type: item -#: doc/guix.texi:16851 +#: doc/guix.texi:18021 #, no-wrap msgid "@code{file} (default: @code{\"\"})" msgstr "@code{file} (par défaut : @code{\"\"})" #. type: table -#: doc/guix.texi:16854 +#: doc/guix.texi:18024 msgid "The file where this zone is saved. This parameter is ignored by master zones. Empty means default location that depends on the domain name." -msgstr "" +msgstr "Le fichier où la zone est sauvegardée. Ce paramètre est ignoré pour les zones maîtres. La valeur vide signifie l'emplacement par défaut qui dépend du nom de domaine." #. type: item -#: doc/guix.texi:16855 +#: doc/guix.texi:18025 #, no-wrap msgid "@code{zone} (default: @code{(zone-file)})" msgstr "@code{zone} (par défaut : @code{(zone-file)})" #. type: table -#: doc/guix.texi:16858 +#: doc/guix.texi:18028 msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record." -msgstr "" +msgstr "Le contenu du fichier de zone. Ce paramètre est ignoré par les zones esclaves. Il doit contenir un enregistrement zone-file." #. type: item -#: doc/guix.texi:16859 +#: doc/guix.texi:18029 #, no-wrap msgid "@code{master} (default: @code{'()})" msgstr "@code{master} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16862 +#: doc/guix.texi:18032 msgid "A list of master remotes. When empty, this zone is a master. When set, this zone is a slave. This is a list of remotes identifiers." -msgstr "" +msgstr "Une liste des serveurs distants maîtres. Lorsque la liste est vide, cette zone est un maître. Lorsque la valeur est indiquée, cette zone est un esclave. C'est al liste des identifiants des serveurs distants." #. type: item -#: doc/guix.texi:16863 +#: doc/guix.texi:18033 #, no-wrap msgid "@code{ddns-master} (default: @code{#f})" msgstr "@code{ddns-master} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16866 +#: doc/guix.texi:18036 msgid "The main master. When empty, it defaults to the first master in the list of masters." -msgstr "" +msgstr "Le maître principal. Lorsque la valeur est vide, la valeur par défaut est le premier maître de la liste des maîtres." #. type: item -#: doc/guix.texi:16867 +#: doc/guix.texi:18037 #, no-wrap msgid "@code{notify} (default: @code{'()})" msgstr "@code{notify} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16869 +#: doc/guix.texi:18039 msgid "A list of slave remote identifiers." -msgstr "" +msgstr "Une liste d'identifiants de groupe de serveurs esclaves." #. type: item -#: doc/guix.texi:16870 +#: doc/guix.texi:18040 #, no-wrap msgid "@code{acl} (default: @code{'()})" msgstr "@code{acl} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16872 +#: doc/guix.texi:18042 msgid "A list of acl identifiers." -msgstr "" +msgstr "Une liste d'identifiants d'ACL." #. type: item -#: doc/guix.texi:16873 +#: doc/guix.texi:18043 #, no-wrap msgid "@code{semantic-checks?} (default: @code{#f})" msgstr "@code{semantic-checks?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16875 +#: doc/guix.texi:18045 msgid "When set, this adds more semantic checks to the zone." -msgstr "" +msgstr "Lorsque la valeur est indiquée, cela ajoute plus de vérifications sémantiques à la zone." #. type: item -#: doc/guix.texi:16876 +#: doc/guix.texi:18046 #, no-wrap msgid "@code{disable-any?} (default: @code{#f})" msgstr "@code{disable-any?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16878 +#: doc/guix.texi:18048 msgid "When set, this forbids queries of the ANY type." -msgstr "" +msgstr "Lorsque la valeur est vraie, cela interdit les requêtes de type ANY." #. type: item -#: doc/guix.texi:16879 +#: doc/guix.texi:18049 #, no-wrap msgid "@code{zonefile-sync} (default: @code{0})" msgstr "@code{zonefile-sync} (par défaut : @code{0})" #. type: table -#: doc/guix.texi:16882 +#: doc/guix.texi:18052 msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization." -msgstr "" +msgstr "Le délai entre une modification en mémoire et sur le disque. 0 signifie une synchronisation immédiate." #. type: item -#: doc/guix.texi:16883 +#: doc/guix.texi:18053 #, no-wrap msgid "@code{serial-policy} (default: @code{'increment})" msgstr "@code{serial-policy} (par défaut : @code{'increment})" #. type: table -#: doc/guix.texi:16885 +#: doc/guix.texi:18055 msgid "A policy between @code{'increment} and @code{'unixtime}." -msgstr "" +msgstr "Une politique entre @code{'increment} et @code{'unixtime}." #. type: deftp -#: doc/guix.texi:16889 +#: doc/guix.texi:18059 #, no-wrap msgid "{Data Type} knot-configuration" msgstr "{Type de données} knot-configuration" #. type: deftp -#: doc/guix.texi:16892 +#: doc/guix.texi:18062 msgid "Data type representing the Knot configuration. This type has the following parameters:" -msgstr "" +msgstr "Type de donées représentant la configuration de Knot. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:16894 +#: doc/guix.texi:18064 #, no-wrap msgid "@code{knot} (default: @code{knot})" msgstr "@code{knot} (par défaut : @code{knot})" #. type: table -#: doc/guix.texi:16896 +#: doc/guix.texi:18066 msgid "The Knot package." -msgstr "" +msgstr "Le paquet Knot." #. type: item -#: doc/guix.texi:16897 +#: doc/guix.texi:18067 #, no-wrap msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})" msgstr "@code{run-directory} (par défaut : @code{\"/var/run/knot\"})" #. type: table -#: doc/guix.texi:16899 +#: doc/guix.texi:18069 msgid "The run directory. This directory will be used for pid file and sockets." -msgstr "" +msgstr "Le répertoire de travail. Ce répertoire sera utilisé pour le fichier pid et les sockets." #. type: item -#: doc/guix.texi:16900 +#: doc/guix.texi:18070 #, no-wrap msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})" msgstr "@code{listen-v4} (par défaut : @code{\"0.0.0.0\"})" #. type: table -#: doc/guix.texi:16902 doc/guix.texi:16905 +#: doc/guix.texi:18072 doc/guix.texi:18075 msgid "An ip address on which to listen." -msgstr "" +msgstr "Une adresse IP sur laquelle écouter." #. type: item -#: doc/guix.texi:16903 +#: doc/guix.texi:18073 #, no-wrap msgid "@code{listen-v6} (default: @code{\"::\"})" msgstr "@code{listen-v6} (par défaut : @code{\"::\"})" #. type: item -#: doc/guix.texi:16906 +#: doc/guix.texi:18076 #, no-wrap msgid "@code{listen-port} (default: @code{53})" msgstr "@code{listen-port} (par défaut : @code{53})" #. type: table -#: doc/guix.texi:16908 +#: doc/guix.texi:18078 msgid "A port on which to listen." -msgstr "" +msgstr "Un port sur lequel écouter." #. type: item -#: doc/guix.texi:16909 +#: doc/guix.texi:18079 #, no-wrap msgid "@code{keys} (default: @code{'()})" msgstr "@code{keys} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16911 +#: doc/guix.texi:18081 msgid "The list of knot-key-configuration used by this configuration." -msgstr "" +msgstr "La liste des knot-key-configuration utilisés par cette configuration." #. type: item -#: doc/guix.texi:16912 +#: doc/guix.texi:18082 #, no-wrap msgid "@code{acls} (default: @code{'()})" msgstr "@code{acls} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16914 +#: doc/guix.texi:18084 msgid "The list of knot-acl-configuration used by this configuration." -msgstr "" +msgstr "La liste des knot-acl-configuration utilisés par cette configuration." #. type: item -#: doc/guix.texi:16915 +#: doc/guix.texi:18085 #, no-wrap msgid "@code{remotes} (default: @code{'()})" msgstr "@code{remotes} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16917 +#: doc/guix.texi:18087 msgid "The list of knot-remote-configuration used by this configuration." -msgstr "" +msgstr "La liste des knot-remote-configuration utilisés par cette configuration." #. type: item -#: doc/guix.texi:16918 +#: doc/guix.texi:18088 #, no-wrap msgid "@code{zones} (default: @code{'()})" msgstr "@code{zones} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16920 +#: doc/guix.texi:18090 msgid "The list of knot-zone-configuration used by this configuration." -msgstr "" +msgstr "La liste des knot-zone-configuration utilisés par cette configuration." #. type: subsubheading -#: doc/guix.texi:16924 +#: doc/guix.texi:18094 #, no-wrap msgid "Dnsmasq Service" msgstr "Services Dnsmasq" #. type: deffn -#: doc/guix.texi:16926 +#: doc/guix.texi:18096 #, no-wrap msgid "{Scheme Variable} dnsmasq-service-type" msgstr "{Variable Scheme} dnsmasq-service-type" #. type: deffn -#: doc/guix.texi:16929 +#: doc/guix.texi:18099 msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:" -msgstr "" +msgstr "C'est le type du service dnsmasq, dont la valeur devrait être un objet @code{dnsmasq-configuration} comme dans cet exemple :" #. type: example -#: doc/guix.texi:16935 +#: doc/guix.texi:18105 #, no-wrap msgid "" "(service dnsmasq-service-type\n" @@ -31593,2083 +33900,2354 @@ msgid "" " (no-resolv? #t)\n" " (servers '(\"192.168.1.1\"))))\n" msgstr "" +"(service dnsmasq-service-type\n" +" (dnsmasq-configuration\n" +" (no-resolv? #t)\n" +" (servers '(\"192.168.1.1\"))))\n" #. type: deftp -#: doc/guix.texi:16938 +#: doc/guix.texi:18108 #, no-wrap msgid "{Data Type} dnsmasq-configuration" msgstr "{Type de données} dnsmasq-configuration" #. type: deftp -#: doc/guix.texi:16940 +#: doc/guix.texi:18110 msgid "Data type representing the configuration of dnsmasq." msgstr "Type de données qui représente la configuration de dnsmasq." #. type: item -#: doc/guix.texi:16942 +#: doc/guix.texi:18112 #, no-wrap msgid "@code{package} (default: @var{dnsmasq})" msgstr "@code{package} (par défaut : @var{dnsmasq})" #. type: table -#: doc/guix.texi:16944 +#: doc/guix.texi:18114 msgid "Package object of the dnsmasq server." -msgstr "" +msgstr "L'objet de paquet du serveur dnsmasq." #. type: item -#: doc/guix.texi:16945 +#: doc/guix.texi:18115 #, no-wrap msgid "@code{no-hosts?} (default: @code{#f})" msgstr "@code{no-hosts?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16947 +#: doc/guix.texi:18117 msgid "When true, don't read the hostnames in /etc/hosts." -msgstr "" +msgstr "Lorsque la valeur est vraie, ne pas lire les noms d'hôte dans /etc/hosts." #. type: item -#: doc/guix.texi:16948 +#: doc/guix.texi:18118 #, no-wrap msgid "@code{port} (default: @code{53})" msgstr "@code{port} (par défaut : @code{53})" #. type: table -#: doc/guix.texi:16951 -msgid "The port to listen on. Setting this to zero completely disables DNS funtion, leaving only DHCP and/or TFTP." -msgstr "" +#: doc/guix.texi:18121 +msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions." +msgstr "Le port sur lequel écouter. Le mettre à zéro désactive complètement les réponses DNS, ce qui ne laisse que les fonctions DHCP et TFTP." #. type: item -#: doc/guix.texi:16952 +#: doc/guix.texi:18122 #, no-wrap msgid "@code{local-service?} (default: @code{#t})" msgstr "@code{local-service?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:16955 +#: doc/guix.texi:18125 msgid "Accept DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server." -msgstr "" +msgstr "Accepte les requêtes DNS seulement des hôtes dont les adresses sont sur le sous-réseau local, c.-à-d.@: sur un sous-réseau pour lequel une interface existe sur le serveur." #. type: item -#: doc/guix.texi:16956 +#: doc/guix.texi:18126 #, no-wrap msgid "@code{listen-addresses} (default: @code{'()})" msgstr "@code{listen-addresses} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:16958 +#: doc/guix.texi:18128 msgid "Listen on the given IP addresses." -msgstr "" +msgstr "Écoute sur le adresses IP données." #. type: item -#: doc/guix.texi:16959 +#: doc/guix.texi:18129 #, no-wrap msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})" msgstr "@code{resolv-file} (par défaut : @code{\"/etc/resolv.conf\"})" #. type: table -#: doc/guix.texi:16961 +#: doc/guix.texi:18131 msgid "The file to read the IP address of the upstream nameservers from." -msgstr "" +msgstr "Le fichier où lire l'adresse IP des serveurs de noms en amont." #. type: item -#: doc/guix.texi:16962 +#: doc/guix.texi:18132 #, no-wrap msgid "@code{no-resolv?} (default: @code{#f})" msgstr "@code{no-resolv?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:16964 +#: doc/guix.texi:18134 msgid "When true, don't read @var{resolv-file}." -msgstr "" +msgstr "Lorsque la valeur est vraie, ne pas lire @var{resolv-file}." #. type: table -#: doc/guix.texi:16967 +#: doc/guix.texi:18137 msgid "Specify IP address of upstream servers directly." -msgstr "" +msgstr "Spécifiez l'adresse IP des serveurs en amont directement." #. type: item -#: doc/guix.texi:16968 +#: doc/guix.texi:18138 #, no-wrap msgid "@code{cache-size} (default: @code{150})" msgstr "@code{cache-size} (par défaut : @code{150})" #. type: table -#: doc/guix.texi:16971 +#: doc/guix.texi:18141 msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching." -msgstr "" +msgstr "Indique la taille du cache de dnsmasq. Indiquer 0 désactive le cache." #. type: item -#: doc/guix.texi:16972 +#: doc/guix.texi:18142 #, no-wrap msgid "@code{negative-cache?} (default: @code{#t})" msgstr "@code{negative-cache?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:16974 +#: doc/guix.texi:18144 msgid "When false, disable negative caching." -msgstr "" +msgstr "Lorsque la valeur est fausse, désactive le cache des réponses négatives." + +#. type: subsubheading +#: doc/guix.texi:18148 +#, no-wrap +msgid "ddclient Service" +msgstr "Service ddclient" #. type: cindex -#: doc/guix.texi:16980 +#: doc/guix.texi:18150 #, no-wrap -msgid "VPN (virtual private network)" -msgstr "" - -#. type: cindex -#: doc/guix.texi:16981 -#, no-wrap -msgid "virtual private network (VPN)" -msgstr "" +msgid "ddclient" +msgstr "ddclient" #. type: Plain text -#: doc/guix.texi:16987 +#: doc/guix.texi:18154 +msgid "The ddclient service described below runs the ddclient daemon, which takes care of automatically updating DNS entries for service providers such as @uref{https://dyn.com/dns/, Dyn}." +msgstr "Le srevice ddclient décrit plus bas lance le démon ddclient, qui prend en charge la mise à jour automatique des entrées DNS pour les fournisseurs de service comme @uref{https://dyn.com/dns/, Dyn}." + +#. type: Plain text +#: doc/guix.texi:18157 +msgid "The following example show instantiates the service with its default configuration:" +msgstr "L'exemple suivant montre comment instantier le service avec sa configuration par défaut :" + +#. type: example +#: doc/guix.texi:18160 +#, no-wrap +msgid "(service ddclient-service-type)\n" +msgstr "(service ddclient-service-type)\n" + +#. type: Plain text +#: doc/guix.texi:18169 +msgid "Note that ddclient needs to access credentials that are stored in a @dfn{secret file}, by default @file{/etc/ddclient/secrets} (see @code{secret-file} below.) You are expected to create this file manually, in an ``out-of-band'' fashion (you @emph{could} make this file part of the service configuration, for instance by using @code{plain-file}, but it will be world-readable @i{via} @file{/gnu/store}.) See the examples in the @file{share/ddclient} directory of the @code{ddclient} package." +msgstr "Remarquez que ddclient a besoin d'accéder à des identifiants stockés dans un @dfn{fichier de secrets}, par défaut @file{/etc/ddclient/secrets} (voir @code{secret-file} plus bas). On s'attend à ce que vous créiez ce fichier manuellement, de manière externe à guix (vous @emph{pourriez} ajouter ce fichier dans une partie de votre configuration, par exemple avec @code{plain-file}, mais il serait lisible pour tout le monde via @file{/gnu/store}). Vois les exemples dans le répertoire @file{share/ddclient} du paquet @code{ddclient}." + +#. type: Plain text +#: doc/guix.texi:18173 +msgid "Available @code{ddclient-configuration} fields are:" +msgstr "Les champs de @code{ddclient-configuration} disponibles sont :" + +#. type: deftypevr +#: doc/guix.texi:18174 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} package ddclient" +msgstr "{paramètre de @code{ddclient-configuration}} package ddclient" + +#. type: deftypevr +#: doc/guix.texi:18176 +msgid "The ddclient package." +msgstr "Le paquet ddclient." + +#. type: deftypevr +#: doc/guix.texi:18179 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} integer daemon" +msgstr "{paramètre de @code{ddclient-configuration}} integer daemon" + +#. type: deftypevr +#: doc/guix.texi:18181 +msgid "The period after which ddclient will retry to check IP and domain name." +msgstr "La période après laquelle ddclient réessaiera de vérifier l'IP et le nom de domaine." + +#. type: deftypevr +#: doc/guix.texi:18186 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} boolean syslog" +msgstr "{paramètre de @code{ddclient-configuration}} boolean syslog" + +#. type: deftypevr +#: doc/guix.texi:18188 +msgid "Use syslog for the output." +msgstr "Utiliser syslog pour la sortie." + +#. type: deftypevr +#: doc/guix.texi:18193 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} string mail" +msgstr "{paramètre de @code{ddclient-configuration}} string mail" + +#. type: deftypevr +#: doc/guix.texi:18195 +msgid "Mail to user." +msgstr "Courriel de l'utilisateur." + +#. type: deftypevr +#: doc/guix.texi:18197 doc/guix.texi:18204 doc/guix.texi:19532 +msgid "Defaults to @samp{\"root\"}." +msgstr "La valeur par défaut est @samp{\"root\"}." + +#. type: deftypevr +#: doc/guix.texi:18200 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} string mail-failure" +msgstr "{paramètre de @code{ddclient-configuration}} string mail-failure" + +#. type: deftypevr +#: doc/guix.texi:18202 +msgid "Mail failed update to user." +msgstr "Courriel de l'utilisateur pour les échecs." + +#. type: deftypevr +#: doc/guix.texi:18207 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} string pid" +msgstr "{paramètre de @code{ddclient-configuration}} string pid" + +#. type: deftypevr +#: doc/guix.texi:18209 +msgid "The ddclient PID file." +msgstr "Le fichier de PID de ddclient." + +#. type: deftypevr +#: doc/guix.texi:18211 +msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}." +msgstr "La valeur par défaut est @samp{\"/var/run/ddclient/ddclient.pid\"}." + +#. type: deftypevr +#: doc/guix.texi:18214 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} boolean ssl" +msgstr "{paramètre de @code{ddclient-configuration}} boolean ssl" + +#. type: deftypevr +#: doc/guix.texi:18216 +msgid "Enable SSL support." +msgstr "Activer le support de SSL." + +#. type: deftypevr +#: doc/guix.texi:18221 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} string user" +msgstr "{paramètre de @code{ddclient-configuration}} string user" + +#. type: deftypevr +#: doc/guix.texi:18224 +msgid "Specifies the user name or ID that is used when running ddclient program." +msgstr "Spécifie le nm d'utilisateur ou l'ID qui est utilisé pour lancer le programme ddclient." + +#. type: deftypevr +#: doc/guix.texi:18226 doc/guix.texi:18233 +msgid "Defaults to @samp{\"ddclient\"}." +msgstr "La valeur par défaut est @samp{\"ddclient\"}." + +#. type: deftypevr +#: doc/guix.texi:18229 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} string group" +msgstr "{paramètre de @code{ddclient-configuration}} string group" + +#. type: deftypevr +#: doc/guix.texi:18231 +msgid "Group of the user who will run the ddclient program." +msgstr "Groupe de l'utilisateur qui lancera le programme ddclient." + +#. type: deftypevr +#: doc/guix.texi:18236 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} string secret-file" +msgstr "{paramètre de @code{ddclient-configuration}} string secret-file" + +#. type: deftypevr +#: doc/guix.texi:18240 +msgid "Secret file which will be appended to @file{ddclient.conf} file. This file contains credentials for use by ddclient. You are expected to create it manually." +msgstr "Fichier de secrets qui sera ajouté au fichier @file{ddclient.conf}. Ce fichier contient les paramètres d'authentification utilisés par ddclient. On s'attend à ce que vous le créiez manuellement." + +#. type: deftypevr +#: doc/guix.texi:18242 +msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}." +msgstr "La valeur par défaut est @samp{\"/etc/ddclient/secrets.conf\"}." + +#. type: deftypevr +#: doc/guix.texi:18245 +#, no-wrap +msgid "{@code{ddclient-configuration} parameter} list extra-options" +msgstr "{paramètre de @code{ddclient-configuration}} list extra-options" + +#. type: deftypevr +#: doc/guix.texi:18247 +msgid "Extra options will be appended to @file{ddclient.conf} file." +msgstr "Options supplémentaires qui seront ajoutées au fichier @file{ddclient.conf}." + +#. type: cindex +#: doc/guix.texi:18258 +#, no-wrap +msgid "VPN (virtual private network)" +msgstr "VPN (réseau privé virtuel)" + +#. type: cindex +#: doc/guix.texi:18259 +#, no-wrap +msgid "virtual private network (VPN)" +msgstr "réseau privé virtuel (VPN)" + +#. type: Plain text +#: doc/guix.texi:18265 msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs). It provides a @emph{client} service for your machine to connect to a VPN, and a @emph{servire} service for your machine to host a VPN. Both services use @uref{https://openvpn.net/, OpenVPN}." -msgstr "" +msgstr "Le module @code{(gnu services vpn)} fournit des services liés aux @dfn{réseaux privés virtuels} (VPN). Il fournit un srevice @emph{client} pour que votre machine se connecte à un VPN et un service @emph{serveur} pour que votre machine héberge un VPN. Les deux services utilisent @uref{https://openvpn.net/, OpenVPN}." #. type: deffn -#: doc/guix.texi:16988 +#: doc/guix.texi:18266 #, no-wrap msgid "{Scheme Procedure} openvpn-client-service @" msgstr "{Procédure Scheme} openvpn-client-service @" #. type: deffn -#: doc/guix.texi:16990 +#: doc/guix.texi:18268 msgid "[#:config (openvpn-client-configuration)]" -msgstr "" +msgstr "[#:config (openvpn-client-configuration)]" #. type: deffn -#: doc/guix.texi:16992 +#: doc/guix.texi:18270 msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client." -msgstr "" +msgstr "Renvoie un service qui lance @command{openvpn}, un démon VPN, en tant que client." #. type: deffn -#: doc/guix.texi:16994 +#: doc/guix.texi:18272 #, no-wrap msgid "{Scheme Procedure} openvpn-server-service @" msgstr "{Procédure Scheme} openvpn-server-service @" #. type: deffn -#: doc/guix.texi:16996 +#: doc/guix.texi:18274 msgid "[#:config (openvpn-server-configuration)]" -msgstr "" +msgstr "[#:config (openvpn-server-configuration)]" #. type: deffn -#: doc/guix.texi:16998 +#: doc/guix.texi:18276 msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server." -msgstr "" +msgstr "Renvoie un service qui lance @command{openvpn}, un démon VPN, en tant que serveur." #. type: deffn -#: doc/guix.texi:17000 +#: doc/guix.texi:18278 msgid "Both can be run simultaneously." -msgstr "" +msgstr "Les deux services peuvent être lancés en même temps." #. type: Plain text -#: doc/guix.texi:17005 +#: doc/guix.texi:18283 msgid "Available @code{openvpn-client-configuration} fields are:" msgstr "Les champs de @code{openvpn-client-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:17006 +#: doc/guix.texi:18284 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} package openvpn" msgstr "{paramètre de @code{openvpn-client-configuration}} package openvpn" #. type: deftypevr -#: doc/guix.texi:17008 doc/guix.texi:17144 +#: doc/guix.texi:18286 doc/guix.texi:18422 msgid "The OpenVPN package." -msgstr "" +msgstr "Le paquet OpenVPN." #. type: deftypevr -#: doc/guix.texi:17011 +#: doc/guix.texi:18289 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} string pid-file" msgstr "{paramètre de @code{openvpn-client-configuration}} string pid-file" #. type: deftypevr -#: doc/guix.texi:17013 doc/guix.texi:17149 +#: doc/guix.texi:18291 doc/guix.texi:18427 msgid "The OpenVPN pid file." -msgstr "" +msgstr "Le fichier de PID d'OpenVPN." #. type: deftypevr -#: doc/guix.texi:17015 doc/guix.texi:17151 +#: doc/guix.texi:18293 doc/guix.texi:18429 msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}." msgstr "La valeur par défaut est @samp{\"/var/run/openvpn/openvpn.pid\"}." #. type: deftypevr -#: doc/guix.texi:17018 +#: doc/guix.texi:18296 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} proto proto" msgstr "{paramètre de @code{openvpn-client-configuration}} proto proto" #. type: deftypevr -#: doc/guix.texi:17021 doc/guix.texi:17157 +#: doc/guix.texi:18299 doc/guix.texi:18435 msgid "The protocol (UDP or TCP) used to open a channel between clients and servers." -msgstr "" +msgstr "Le protocole (UDP ou TCP) utilisé pour ouvrir un canal entre les clients et les serveurs." #. type: deftypevr -#: doc/guix.texi:17023 doc/guix.texi:17159 +#: doc/guix.texi:18301 doc/guix.texi:18437 msgid "Defaults to @samp{udp}." msgstr "La valeur par défaut est @samp{udp}." #. type: deftypevr -#: doc/guix.texi:17026 +#: doc/guix.texi:18304 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} dev dev" msgstr "{paramètre de @code{openvpn-client-configuration}} dev dev" #. type: deftypevr -#: doc/guix.texi:17028 doc/guix.texi:17164 +#: doc/guix.texi:18306 doc/guix.texi:18442 msgid "The device type used to represent the VPN connection." -msgstr "" +msgstr "Le périphérique utilisé pour représenter la connexion VPN." #. type: deftypevr -#: doc/guix.texi:17030 doc/guix.texi:17166 +#: doc/guix.texi:18308 doc/guix.texi:18444 msgid "Defaults to @samp{tun}." msgstr "La valeur par défaut est @samp{tun}." #. type: deftypevr -#: doc/guix.texi:17033 +#: doc/guix.texi:18311 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} string ca" msgstr "{paramètre de @code{openvpn-client-configuration}} string ca" #. type: deftypevr -#: doc/guix.texi:17035 doc/guix.texi:17171 +#: doc/guix.texi:18313 doc/guix.texi:18449 msgid "The certificate authority to check connections against." -msgstr "" +msgstr "L'autorité de certification qui sert à vérifier les connexions." #. type: deftypevr -#: doc/guix.texi:17037 doc/guix.texi:17173 +#: doc/guix.texi:18315 doc/guix.texi:18451 msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}." msgstr "La valeur par défaut est @samp{\"/etc/openvpn/ca.crt\"}." #. type: deftypevr -#: doc/guix.texi:17040 +#: doc/guix.texi:18318 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} string cert" msgstr "{paramètre de @code{openvpn-client-configuration}} string cert" #. type: deftypevr -#: doc/guix.texi:17043 doc/guix.texi:17179 +#: doc/guix.texi:18321 doc/guix.texi:18457 msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}." -msgstr "" +msgstr "Le certificat de la machine sur laquelle tourne le démon. Il devrait être signé par l'autorité indiquée dans @code{ca}." #. type: deftypevr -#: doc/guix.texi:17045 doc/guix.texi:17181 +#: doc/guix.texi:18323 doc/guix.texi:18459 msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}." msgstr "La valeur par défaut est @samp{\"/etc/openvpn/client.crt\"}." #. type: deftypevr -#: doc/guix.texi:17048 +#: doc/guix.texi:18326 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} string key" msgstr "{paramètre de @code{openvpn-client-configuration}} string key" #. type: deftypevr -#: doc/guix.texi:17051 doc/guix.texi:17187 +#: doc/guix.texi:18329 doc/guix.texi:18465 msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}." -msgstr "" +msgstr "La clef de la machine sur laquelle tourne le démon. Elle doit être la clef dont le certificat est donné dans @code{cert}." #. type: deftypevr -#: doc/guix.texi:17053 doc/guix.texi:17189 +#: doc/guix.texi:18331 doc/guix.texi:18467 msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}." msgstr "La valeur par défaut est @samp{\"/etc/openvpn/client.key\"}." #. type: deftypevr -#: doc/guix.texi:17056 +#: doc/guix.texi:18334 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?" msgstr "{paramètre de @code{openvpn-client-configuration}} boolean comp-lzo?" #. type: deftypevr -#: doc/guix.texi:17058 doc/guix.texi:17194 +#: doc/guix.texi:18336 doc/guix.texi:18472 msgid "Whether to use the lzo compression algorithm." -msgstr "" +msgstr "Indique s'il faut utiliser l'algorithme de compression lzo." #. type: deftypevr -#: doc/guix.texi:17063 +#: doc/guix.texi:18341 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?" msgstr "{paramètre de @code{openvpn-client-configuration}} boolean persist-key?" #. type: deftypevr -#: doc/guix.texi:17065 doc/guix.texi:17201 +#: doc/guix.texi:18343 doc/guix.texi:18479 msgid "Don't re-read key files across SIGUSR1 or --ping-restart." -msgstr "" +msgstr "Ne pas relire les fichiers de clefs entre les SIGUSR1 et les --ping-restart." #. type: deftypevr -#: doc/guix.texi:17070 +#: doc/guix.texi:18348 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?" msgstr "{paramètre de @code{openvpn-client-configuration}} boolean persist-tun?" #. type: deftypevr -#: doc/guix.texi:17073 doc/guix.texi:17209 +#: doc/guix.texi:18351 doc/guix.texi:18487 msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts." -msgstr "" +msgstr "Ne pas fermer et rouvrir les périphériques TUN/TAP ou lancer de scripts de démarrage/d'arrêt entre les SIGUSR1 et les --ping-restart." #. type: deftypevr -#: doc/guix.texi:17078 +#: doc/guix.texi:18356 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} number verbosity" msgstr "{paramètre de @code{openvpn-client-configuration}} number verbosity" #. type: deftypevr -#: doc/guix.texi:17080 doc/guix.texi:17216 +#: doc/guix.texi:18358 doc/guix.texi:18494 msgid "Verbosity level." -msgstr "" +msgstr "Niveau de verbosité." #. type: deftypevr -#: doc/guix.texi:17082 doc/guix.texi:17218 doc/guix.texi:18495 -#: doc/guix.texi:18718 +#: doc/guix.texi:18360 doc/guix.texi:18496 doc/guix.texi:19800 +#: doc/guix.texi:20023 msgid "Defaults to @samp{3}." msgstr "La valeur par défaut est @samp{3}." #. type: deftypevr -#: doc/guix.texi:17085 +#: doc/guix.texi:18363 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth" msgstr "{paramètre de @code{openvpn-client-configuration}} tls-auth-client tls-auth" #. type: deftypevr -#: doc/guix.texi:17088 doc/guix.texi:17224 +#: doc/guix.texi:18366 doc/guix.texi:18502 msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks." -msgstr "" +msgstr "Ajoute une couche d'authentification HMAC supplémentaire au dessus du canal de contrôle TLS pour se protéger contre les attaques DoS." #. type: deftypevr -#: doc/guix.texi:17093 +#: doc/guix.texi:18371 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?" msgstr "{paramètre de @code{openvpn-client-configuration}} key-usage verify-key-usage?" #. type: deftypevr -#: doc/guix.texi:17095 +#: doc/guix.texi:18373 msgid "Whether to check the server certificate has server usage extension." -msgstr "" +msgstr "Indique s'il faut vérifier que le certificat du serveur a l'extension d'utilisation." #. type: deftypevr -#: doc/guix.texi:17100 +#: doc/guix.texi:18378 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} bind bind?" msgstr "{paramètre de @code{openvpn-client-configuration}} bind bind?" #. type: deftypevr -#: doc/guix.texi:17102 +#: doc/guix.texi:18380 msgid "Bind to a specific local port number." -msgstr "" +msgstr "Se lier à un port spécifique." #. type: deftypevr -#: doc/guix.texi:17107 +#: doc/guix.texi:18385 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?" msgstr "{paramètre de @code{openvpn-client-configuration}} resolv-retry resolv-retry?" #. type: deftypevr -#: doc/guix.texi:17109 +#: doc/guix.texi:18387 msgid "Retry resolving server address." -msgstr "" +msgstr "Réessayer de résoudre l'adresse du serveur." #. type: deftypevr -#: doc/guix.texi:17114 +#: doc/guix.texi:18392 #, no-wrap msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote" msgstr "{paramètre de @code{openvpn-client-configuration}} openvpn-remote-list remote" #. type: deftypevr -#: doc/guix.texi:17116 +#: doc/guix.texi:18394 msgid "A list of remote servers to connect to." -msgstr "" +msgstr "Une liste de serveurs distants sur lesquels se connecter." #. type: deftypevr -#: doc/guix.texi:17120 +#: doc/guix.texi:18398 msgid "Available @code{openvpn-remote-configuration} fields are:" msgstr "Les champs de @code{openvpn-remote-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:17121 +#: doc/guix.texi:18399 #, no-wrap msgid "{@code{openvpn-remote-configuration} parameter} string name" msgstr "{paramètre de @code{openvpn-remote-configuration}} string name" #. type: deftypevr -#: doc/guix.texi:17123 +#: doc/guix.texi:18401 msgid "Server name." -msgstr "" +msgstr "Nom du serveur." #. type: deftypevr -#: doc/guix.texi:17125 +#: doc/guix.texi:18403 msgid "Defaults to @samp{\"my-server\"}." msgstr "La valeur par défaut est @samp{\"my-server\"}." #. type: deftypevr -#: doc/guix.texi:17128 +#: doc/guix.texi:18406 #, no-wrap msgid "{@code{openvpn-remote-configuration} parameter} number port" msgstr "{paramètre de @code{openvpn-remote-configuration}} number port" #. type: deftypevr -#: doc/guix.texi:17130 +#: doc/guix.texi:18408 msgid "Port number the server listens to." -msgstr "" +msgstr "Numéro de port sur lequel écoute le serveur." #. type: deftypevr -#: doc/guix.texi:17132 doc/guix.texi:17233 +#: doc/guix.texi:18410 doc/guix.texi:18511 msgid "Defaults to @samp{1194}." msgstr "La valeur par défaut est @samp{1194}." #. type: Plain text -#: doc/guix.texi:17141 +#: doc/guix.texi:18419 msgid "Available @code{openvpn-server-configuration} fields are:" msgstr "Les champs de @code{openvpn-server-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:17142 +#: doc/guix.texi:18420 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} package openvpn" msgstr "{paramètre de @code{openvpn-server-configuration}} package openvpn" #. type: deftypevr -#: doc/guix.texi:17147 +#: doc/guix.texi:18425 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string pid-file" msgstr "{paramètre de @code{openvpn-server-configuration}} string pid-file" #. type: deftypevr -#: doc/guix.texi:17154 +#: doc/guix.texi:18432 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} proto proto" msgstr "{paramètre de @code{openvpn-server-configuration}} proto proto" #. type: deftypevr -#: doc/guix.texi:17162 +#: doc/guix.texi:18440 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} dev dev" msgstr "{paramètre de @code{openvpn-server-configuration}} dev dev" #. type: deftypevr -#: doc/guix.texi:17169 +#: doc/guix.texi:18447 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string ca" msgstr "{paramètre de @code{openvpn-server-configuration}} string ca" #. type: deftypevr -#: doc/guix.texi:17176 +#: doc/guix.texi:18454 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string cert" msgstr "{paramètre de @code{openvpn-server-configuration}} string cert" #. type: deftypevr -#: doc/guix.texi:17184 +#: doc/guix.texi:18462 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string key" msgstr "{paramètre de @code{openvpn-server-configuration}} string key" #. type: deftypevr -#: doc/guix.texi:17192 +#: doc/guix.texi:18470 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?" msgstr "{paramètre de @code{openvpn-server-configuration}} boolean comp-lzo?" #. type: deftypevr -#: doc/guix.texi:17199 +#: doc/guix.texi:18477 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?" msgstr "{paramètre de @code{openvpn-server-configuration}} boolean persist-key?" #. type: deftypevr -#: doc/guix.texi:17206 +#: doc/guix.texi:18484 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?" msgstr "{paramètre de @code{openvpn-server-configuration}} boolean persist-tun?" #. type: deftypevr -#: doc/guix.texi:17214 +#: doc/guix.texi:18492 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} number verbosity" msgstr "{paramètre de @code{openvpn-server-configuration}} number verbosity" #. type: deftypevr -#: doc/guix.texi:17221 +#: doc/guix.texi:18499 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth" msgstr "{paramètre de @code{openvpn-server-configuration}} tls-auth-server tls-auth" #. type: deftypevr -#: doc/guix.texi:17229 +#: doc/guix.texi:18507 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} number port" msgstr "{paramètre de @code{openvpn-server-configuration}} number port" #. type: deftypevr -#: doc/guix.texi:17231 +#: doc/guix.texi:18509 msgid "Specifies the port number on which the server listens." -msgstr "" +msgstr "Spécifie le numéro de port sur lequel les serveurs écoutent." #. type: deftypevr -#: doc/guix.texi:17236 +#: doc/guix.texi:18514 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} ip-mask server" msgstr "{paramètre de @code{openvpn-server-configuration}} ip-mask server" #. type: deftypevr -#: doc/guix.texi:17238 +#: doc/guix.texi:18516 msgid "An ip and mask specifying the subnet inside the virtual network." -msgstr "" +msgstr "Une ip et un masque de sous-réseau spécifiant le sous-réseau dans le réseau virtuel." #. type: deftypevr -#: doc/guix.texi:17240 +#: doc/guix.texi:18518 msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}." msgstr "La valeur par défaut est @samp{\"10.8.0.0 255.255.255.0\"}." #. type: deftypevr -#: doc/guix.texi:17243 +#: doc/guix.texi:18521 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6" msgstr "{paramètre de @code{openvpn-server-configuration}} cidr6 server-ipv6" #. type: deftypevr -#: doc/guix.texi:17245 +#: doc/guix.texi:18523 msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network." -msgstr "" +msgstr "Une notation CIDR pour spécifier le sous-réseau IPv6 dans le réseau virtuel." #. type: deftypevr -#: doc/guix.texi:17250 +#: doc/guix.texi:18528 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string dh" msgstr "{paramètre de @code{openvpn-server-configuration}} string dh" #. type: deftypevr -#: doc/guix.texi:17252 +#: doc/guix.texi:18530 msgid "The Diffie-Hellman parameters file." -msgstr "" +msgstr "Le fichier de paramètres Diffie-Hellman." #. type: deftypevr -#: doc/guix.texi:17254 +#: doc/guix.texi:18532 msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}." msgstr "La valeur par défaut est @samp{\"/etc/openvpn/dh2048.pem\"}." #. type: deftypevr -#: doc/guix.texi:17257 +#: doc/guix.texi:18535 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist" msgstr "{paramètre de @code{openvpn-server-configuration}} string ifconfig-pool-persist" #. type: deftypevr -#: doc/guix.texi:17259 +#: doc/guix.texi:18537 msgid "The file that records client IPs." -msgstr "" +msgstr "Le fichier qui enregistre les IP des clients." #. type: deftypevr -#: doc/guix.texi:17261 +#: doc/guix.texi:18539 msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}." msgstr "La valeur par défaut est @samp{\"/etc/openvpn/ipp.txt\"}." #. type: deftypevr -#: doc/guix.texi:17264 +#: doc/guix.texi:18542 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?" msgstr "{paramètre de @code{openvpn-server-configuration}} gateway redirect-gateway?" #. type: deftypevr -#: doc/guix.texi:17266 +#: doc/guix.texi:18544 msgid "When true, the server will act as a gateway for its clients." -msgstr "" +msgstr "Lorsque la valeur est vraie, le serveur agira comme une passerelle pour ses clients." #. type: deftypevr -#: doc/guix.texi:17271 +#: doc/guix.texi:18549 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?" msgstr "{paramètre de @code{openvpn-server-configuration}} boolean client-to-client?" #. type: deftypevr -#: doc/guix.texi:17273 +#: doc/guix.texi:18551 msgid "When true, clients are allowed to talk to each other inside the VPN." -msgstr "" +msgstr "Lorsque la valeur est vraie, les clients sont autorisés à se parler entre eux dans le VPN." #. type: deftypevr -#: doc/guix.texi:17278 +#: doc/guix.texi:18556 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive" msgstr "{paramètre de @code{openvpn-server-configuration}} keepalive keepalive" #. type: deftypevr -#: doc/guix.texi:17284 +#: doc/guix.texi:18562 msgid "Causes ping-like messages to be sent back and forth over the link so that each side knows when the other side has gone down. @code{keepalive} requires a pair. The first element is the period of the ping sending, and the second element is the timeout before considering the other side down." -msgstr "" +msgstr "Fait que des messages de ping sont envoyés régulièrement dans les deux sens pour que chaque côté sache quand l'autre n'est plus disponible. @code{keepalive} a besoin d'une paire. Le premier élément est la période d'envoie du ping, et le second élément est le délai d'attente avant de considéré que l'autre côté n'est plus disponible." #. type: deftypevr -#: doc/guix.texi:17287 +#: doc/guix.texi:18565 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} number max-clients" msgstr "{paramètre de @code{openvpn-server-configuration}} number max-clients" #. type: deftypevr -#: doc/guix.texi:17289 +#: doc/guix.texi:18567 msgid "The maximum number of clients." -msgstr "" +msgstr "Le nombre maximum de clients." #. type: deftypevr -#: doc/guix.texi:17294 +#: doc/guix.texi:18572 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} string status" msgstr "{paramètre de @code{openvpn-server-configuration}} string status" #. type: deftypevr -#: doc/guix.texi:17297 +#: doc/guix.texi:18575 msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute." -msgstr "" +msgstr "Le fichier de statut. Ce fichier montre un court rapport sur les connexions actuelles. Il est tronqué et réécrit toutes les minutes." #. type: deftypevr -#: doc/guix.texi:17299 +#: doc/guix.texi:18577 msgid "Defaults to @samp{\"/var/run/openvpn/status\"}." msgstr "La valeur par défaut est @samp{\"/var/run/openvpn/status\"}." #. type: deftypevr -#: doc/guix.texi:17302 +#: doc/guix.texi:18580 #, no-wrap msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir" msgstr "{paramètre de @code{openvpn-server-configuration}} openvpn-ccd-list client-config-dir" #. type: deftypevr -#: doc/guix.texi:17304 +#: doc/guix.texi:18582 msgid "The list of configuration for some clients." -msgstr "" +msgstr "La liste des configuration pour certains clients." #. type: deftypevr -#: doc/guix.texi:17308 +#: doc/guix.texi:18586 msgid "Available @code{openvpn-ccd-configuration} fields are:" msgstr "Les champs de @code{openvpn-ccd-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:17309 +#: doc/guix.texi:18587 #, no-wrap msgid "{@code{openvpn-ccd-configuration} parameter} string name" msgstr "{paramètre de @code{openvpn-ccd-configuration}} string name" #. type: deftypevr -#: doc/guix.texi:17311 +#: doc/guix.texi:18589 msgid "Client name." -msgstr "" +msgstr "Nom du client." #. type: deftypevr -#: doc/guix.texi:17313 +#: doc/guix.texi:18591 msgid "Defaults to @samp{\"client\"}." msgstr "La valeur par défaut est @samp{\"client\"}." #. type: deftypevr -#: doc/guix.texi:17316 +#: doc/guix.texi:18594 #, no-wrap msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute" msgstr "{paramètre de @code{openvpn-ccd-configuration}} ip-mask iroute" #. type: deftypevr -#: doc/guix.texi:17318 +#: doc/guix.texi:18596 msgid "Client own network" -msgstr "" +msgstr "Le réseau du client." #. type: deftypevr -#: doc/guix.texi:17323 +#: doc/guix.texi:18601 #, no-wrap msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push" msgstr "{paramètre de @code{openvpn-ccd-configuration}} ip-mask ifconfig-push" #. type: deftypevr -#: doc/guix.texi:17325 +#: doc/guix.texi:18603 msgid "Client VPN IP." -msgstr "" +msgstr "IP du client sur le VPN." #. type: cindex -#: doc/guix.texi:17338 +#: doc/guix.texi:18616 #, no-wrap msgid "NFS" -msgstr "" +msgstr "NFS" #. type: Plain text -#: doc/guix.texi:17343 +#: doc/guix.texi:18621 msgid "The @code{(gnu services nfs)} module provides the following services, which are most commonly used in relation to mounting or exporting directory trees as @dfn{network file systems} (NFS)." -msgstr "" +msgstr "Le module @code{(gnu services nfs)} fournit les services suivants, qui sont tous utilisés pour monter et exporter des arborescences de répertoires en @dfn{network file systems} (NFS)." #. type: subsubheading -#: doc/guix.texi:17344 +#: doc/guix.texi:18622 #, no-wrap msgid "RPC Bind Service" -msgstr "" +msgstr "Service RPC Bind" #. type: cindex -#: doc/guix.texi:17345 +#: doc/guix.texi:18623 #, no-wrap msgid "rpcbind" -msgstr "" +msgstr "rpcbind" #. type: Plain text -#: doc/guix.texi:17351 +#: doc/guix.texi:18629 msgid "The RPC Bind service provides a facility to map program numbers into universal addresses. Many NFS related services use this facility. Hence it is automatically started when a dependent service starts." -msgstr "" +msgstr "Le service RPC Bind fournit un dispositif pour faire correspondre les numéros de programmes à des adresses universelles. De nombreux services liés à NFS utilisent ce dispositif. Donc il est automatiquement démarré lorsqu'un service qui en dépend est démarré." #. type: defvr -#: doc/guix.texi:17352 +#: doc/guix.texi:18630 #, no-wrap msgid "{Scheme Variable} rpcbind-service-type" msgstr "{Variable Scheme} rpcbind-service-type" #. type: defvr -#: doc/guix.texi:17354 +#: doc/guix.texi:18632 msgid "A service type for the RPC portmapper daemon." -msgstr "" +msgstr "Un type de service pour le démon RPC portmapper." #. type: deftp -#: doc/guix.texi:17357 +#: doc/guix.texi:18635 #, no-wrap msgid "{Data Type} rpcbind-configuration" msgstr "{Type de données} rpcbind-configuration" #. type: deftp -#: doc/guix.texi:17360 +#: doc/guix.texi:18638 msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:" -msgstr "" +msgstr "Type données représentant la configuration du service RPC Bind. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:17361 +#: doc/guix.texi:18639 #, no-wrap msgid "@code{rpcbind} (default: @code{rpcbind})" msgstr "@code{rpcbind} (par défaut : @code{rpcbind})" #. type: table -#: doc/guix.texi:17363 +#: doc/guix.texi:18641 msgid "The rpcbind package to use." msgstr "Le paquet rpcbind à utiliser." #. type: item -#: doc/guix.texi:17364 +#: doc/guix.texi:18642 #, no-wrap msgid "@code{warm-start?} (default: @code{#t})" msgstr "@code{warm-start?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:17368 +#: doc/guix.texi:18646 msgid "If this parameter is @code{#t}, then the daemon will read a state file on startup thus reloading state information saved by a previous instance." -msgstr "" +msgstr "Si ce paramètre est @code{#t}, alors le démon lira un fichier d'état au démarrage ce qui lui fait recharger les informations d'états sauvegardés par une instance précédente." #. type: subsubheading -#: doc/guix.texi:17372 +#: doc/guix.texi:18650 #, no-wrap msgid "Pipefs Pseudo File System" -msgstr "" +msgstr "Pseudo-système de fichiers Pipefs" #. type: cindex -#: doc/guix.texi:17373 +#: doc/guix.texi:18651 #, no-wrap msgid "pipefs" -msgstr "" +msgstr "pipefs" #. type: cindex -#: doc/guix.texi:17374 +#: doc/guix.texi:18652 #, no-wrap msgid "rpc_pipefs" -msgstr "" +msgstr "rpc_pipefs" #. type: Plain text -#: doc/guix.texi:17378 +#: doc/guix.texi:18656 msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs." -msgstr "" +msgstr "Le système de fichiers pipefs est utilisé pour transférer des données liées à NFS entre le noyau et les programmes en espace utilisateur." #. type: defvr -#: doc/guix.texi:17379 +#: doc/guix.texi:18657 #, no-wrap msgid "{Scheme Variable} pipefs-service-type" msgstr "{Variable Scheme} pipefs-service-type" #. type: defvr -#: doc/guix.texi:17381 +#: doc/guix.texi:18659 msgid "A service type for the pipefs pseudo file system." -msgstr "" +msgstr "Un type de service pour le pseudo-système de fichiers pipefs." #. type: deftp -#: doc/guix.texi:17383 +#: doc/guix.texi:18661 #, no-wrap msgid "{Data Type} pipefs-configuration" msgstr "{Type de données} pipefs-configuration" #. type: deftp -#: doc/guix.texi:17386 +#: doc/guix.texi:18664 msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration du service du pseudo-système de fichiers pipefs. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:17387 +#: doc/guix.texi:18665 #, no-wrap msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})" msgstr "@code{mount-point} (par défaut : @code{\"/var/lib/nfs/rpc_pipefs\"})" #. type: table -#: doc/guix.texi:17389 +#: doc/guix.texi:18667 msgid "The directory to which the file system is to be attached." -msgstr "" +msgstr "Le répertoire dans lequel le système de fichiers est attaché." #. type: subsubheading -#: doc/guix.texi:17393 +#: doc/guix.texi:18671 #, no-wrap msgid "GSS Daemon Service" -msgstr "" +msgstr "Service de démon GSS" #. type: cindex -#: doc/guix.texi:17394 +#: doc/guix.texi:18672 #, no-wrap msgid "GSSD" -msgstr "" +msgstr "GSSD" #. type: cindex -#: doc/guix.texi:17395 +#: doc/guix.texi:18673 #, no-wrap msgid "GSS" -msgstr "" +msgstr "GSS" #. type: cindex -#: doc/guix.texi:17396 +#: doc/guix.texi:18674 #, no-wrap msgid "global security system" -msgstr "" +msgstr "système de sécurité global" #. type: Plain text -#: doc/guix.texi:17403 +#: doc/guix.texi:18681 msgid "The @dfn{global security system} (GSS) daemon provides strong security for RPC based protocols. Before exchanging RPC requests an RPC client must establish a security context. Typically this is done using the Kerberos command @command{kinit} or automatically at login time using PAM services (@pxref{Kerberos Services})." -msgstr "" +msgstr "Le démon du @dfn{système de sécurité global} (GSS) fournit une sécurité forte pour les protocoles basés sur des RPC. Avant d'échanger des requêtes RPC, un client RPC doit établir un contexte sécurisé. Typiquement cela se fait avec la commande Kerberos @command{kinit} ou automatiquement à la connexion avec les services PAM (@pxref{Kerberos Services})." #. type: defvr -#: doc/guix.texi:17404 +#: doc/guix.texi:18682 #, no-wrap msgid "{Scheme Variable} gss-service-type" msgstr "{Variable Scheme} gss-service-type" #. type: defvr -#: doc/guix.texi:17406 +#: doc/guix.texi:18684 msgid "A service type for the Global Security System (GSS) daemon." -msgstr "" +msgstr "Un type de service pour le démon du système de sécurité global (GSS)." #. type: deftp -#: doc/guix.texi:17408 +#: doc/guix.texi:18686 #, no-wrap msgid "{Data Type} gss-configuration" msgstr "{Type de données} gss-configuration" #. type: deftp -#: doc/guix.texi:17411 +#: doc/guix.texi:18689 msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration du service du démon GSS. Ce type a les paramètres suivants :" #. type: item -#: doc/guix.texi:17412 doc/guix.texi:17437 +#: doc/guix.texi:18690 doc/guix.texi:18715 #, no-wrap msgid "@code{nfs-utils} (default: @code{nfs-utils})" msgstr "@code{nfs-utils} (par défaut : @code{nfs-utils})" #. type: table -#: doc/guix.texi:17414 +#: doc/guix.texi:18692 msgid "The package in which the @command{rpc.gssd} command is to be found." -msgstr "" +msgstr "Le paquet dans lequel la commande @command{rpc.gssd} se trouve." #. type: item -#: doc/guix.texi:17415 doc/guix.texi:17440 +#: doc/guix.texi:18693 doc/guix.texi:18718 #, no-wrap msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})" msgstr "@code{pipefs-directory} (par défaut : @code{\"/var/lib/nfs/rpc_pipefs\"})" #. type: table -#: doc/guix.texi:17417 doc/guix.texi:17442 +#: doc/guix.texi:18695 doc/guix.texi:18720 msgid "The directory where the pipefs file system is mounted." -msgstr "" +msgstr "Le répertoire où le système de fichier pipefs doit être monté." #. type: subsubheading -#: doc/guix.texi:17422 +#: doc/guix.texi:18700 #, no-wrap msgid "IDMAP Daemon Service" -msgstr "" +msgstr "Service de démon IDMAP" #. type: cindex -#: doc/guix.texi:17423 +#: doc/guix.texi:18701 #, no-wrap msgid "idmapd" -msgstr "" +msgstr "idmapd" #. type: cindex -#: doc/guix.texi:17424 +#: doc/guix.texi:18702 #, no-wrap msgid "name mapper" -msgstr "" +msgstr "correspondance de nom" #. type: Plain text -#: doc/guix.texi:17428 +#: doc/guix.texi:18706 msgid "The idmap daemon service provides mapping between user IDs and user names. Typically it is required in order to access file systems mounted via NFSv4." -msgstr "" +msgstr "Le service du démon idmap fournit une correspondance entre les ID utilisateur et les noms d'utilisateurs. Typiquement, cela est requis pour accéder aux systèmes de fichiers montés via NFSv4." #. type: defvr -#: doc/guix.texi:17429 +#: doc/guix.texi:18707 #, no-wrap msgid "{Scheme Variable} idmap-service-type" msgstr "{Variable Scheme} idmap-service-type" #. type: defvr -#: doc/guix.texi:17431 +#: doc/guix.texi:18709 msgid "A service type for the Identity Mapper (IDMAP) daemon." -msgstr "" +msgstr "Un type de service pour le démon de correspondance d'identité (IDMAP)." #. type: deftp -#: doc/guix.texi:17433 +#: doc/guix.texi:18711 #, no-wrap msgid "{Data Type} idmap-configuration" msgstr "{Type de données} idmap-configuration" #. type: deftp -#: doc/guix.texi:17436 +#: doc/guix.texi:18714 msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:" -msgstr "" +msgstr "Type de données représentant la configuration du service du démon IDMAP. Ce type a les paramètres suivants :" #. type: table -#: doc/guix.texi:17439 +#: doc/guix.texi:18717 msgid "The package in which the @command{rpc.idmapd} command is to be found." -msgstr "" +msgstr "Le paquet dans lequel se trouve la commande @command{rpc.idmapd}." #. type: item -#: doc/guix.texi:17443 +#: doc/guix.texi:18721 #, no-wrap msgid "@code{domain} (default: @code{#f})" msgstr "@code{domain} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:17447 +#: doc/guix.texi:18725 msgid "The local NFSv4 domain name. This must be a string or @code{#f}. If it is @code{#f} then the daemon will use the host's fully qualified domain name." -msgstr "" +msgstr "Le nom de domaine NFSv4 local. Il faut que ce soit une chaîne de caractères ou @code{#f}. Si la valeur est @code{#f} le démon utilisera le nom de domaine pleinement qualifié de l'hôte." #. type: cindex -#: doc/guix.texi:17454 +#: doc/guix.texi:18732 #, no-wrap msgid "continuous integration" -msgstr "" +msgstr "intégration continue" #. type: Plain text -#: doc/guix.texi:17458 -msgid "@uref{https://notabug.org/mthl/cuirass, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})." -msgstr "@uref{https://notabug.org/mthl/cuirass, Cuirass} est un outil d'intégration continue pour Guix. On peut l'utiliser aussi bien pour le développement que pour fournir des substituts à d'autres (@pxref{Substituts})." +#: doc/guix.texi:18736 +msgid "@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} is a continuous integration tool for Guix. It can be used both for development and for providing substitutes to others (@pxref{Substitutes})." +msgstr "@uref{https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git, Cuirass} est un outil d'intégration continue pour Guix. On peut l'utiliser aussi bien pour le développement que pour fournir des substituts à d'autres (@pxref{Substituts})." #. type: Plain text -#: doc/guix.texi:17460 +#: doc/guix.texi:18738 msgid "The @code{(gnu services cuirass)} module provides the following service." -msgstr "" +msgstr "Le module @code{(gnu services cuirass)} fournit le service suivant." #. type: defvr -#: doc/guix.texi:17461 +#: doc/guix.texi:18739 #, no-wrap msgid "{Scheme Procedure} cuirass-service-type" msgstr "{Procédure Scheme} cuirass-service-type" #. type: defvr -#: doc/guix.texi:17464 +#: doc/guix.texi:18742 msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below." -msgstr "" +msgstr "Le type du service Cuirass. Sa valeur doit être un objet @code{cuirass-configuration}, décrit ci-dessous." #. type: Plain text -#: doc/guix.texi:17471 -msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. Here is an example of a service defining a build job based on a specification that can be found in Cuirass source tree. This service polls the Guix repository and builds a subset of the Guix packages, as prescribed in the @file{gnu-system.scm} example spec:" -msgstr "" +#: doc/guix.texi:18749 +msgid "To add build jobs, you have to set the @code{specifications} field of the configuration. Here is an example of a service that polls the Guix repository and builds the packages from a manifest. Some of the packages are defined in the @code{\"custom-packages\"} input, which is the equivalent of @code{GUIX_PACKAGE_PATH}." +msgstr "Pour ajouter des travaux de construction, vous devez indiquer le champ @code{specifications} de la configuration. Voici un exemple de service qui récupère le dépôt Guix et construit les paquets depuis un manifeste. Certains des paquets sont définis dans l'entrée @code{\"custom-packages\"}, qui est l'équivalent de @code{GUIX_PACKAGE_PATH}." #. type: example -#: doc/guix.texi:17483 +#: doc/guix.texi:18777 #, no-wrap msgid "" -"(let ((spec #~((#:name . \"guix\")\n" -" (#:url . \"git://git.savannah.gnu.org/guix.git\")\n" -" (#:load-path . \".\")\n" -" (#:file . \"build-aux/cuirass/gnu-system.scm\")\n" -" (#:proc . cuirass-jobs)\n" -" (#:arguments (subset . \"hello\"))\n" -" (#:branch . \"master\"))))\n" -" (service cuirass-service-type\n" -" (cuirass-configuration\n" -" (specifications #~(list '#$spec)))))\n" +"(define %cuirass-specs\n" +" #~(list\n" +" '((#:name . \"my-manifest\")\n" +" (#:load-path-inputs . (\"guix\"))\n" +" (#:package-path-inputs . (\"custom-packages\"))\n" +" (#:proc-input . \"guix\")\n" +" (#:proc-file . \"build-aux/cuirass/gnu-system.scm\")\n" +" (#:proc . cuirass-jobs)\n" +" (#:proc-args . ((subset . \"manifests\")\n" +" (systems . (\"x86_64-linux\"))\n" +" (manifests . ((\"config\" . \"guix/manifest.scm\")))))\n" +" (#:inputs . (((#:name . \"guix\")\n" +" (#:url . \"git://git.savannah.gnu.org/guix.git\")\n" +" (#:load-path . \".\")\n" +" (#:branch . \"master\")\n" +" (#:no-compile? . #t))\n" +" ((#:name . \"config\")\n" +" (#:url . \"git://git.example.org/config.git\")\n" +" (#:load-path . \".\")\n" +" (#:branch . \"master\")\n" +" (#:no-compile? . #t))\n" +" ((#:name . \"custom-packages\")\n" +" (#:url . \"git://git.example.org/custom-packages.git\")\n" +" (#:load-path . \".\")\n" +" (#:branch . \"master\")\n" +" (#:no-compile? . #t)))))))\n" +"\n" msgstr "" +"(define %cuirass-specs\n" +" #~(list\n" +" '((#:name . \"my-manifest\")\n" +" (#:load-path-inputs . (\"guix\"))\n" +" (#:package-path-inputs . (\"custom-packages\"))\n" +" (#:proc-input . \"guix\")\n" +" (#:proc-file . \"build-aux/cuirass/gnu-system.scm\")\n" +" (#:proc . cuirass-jobs)\n" +" (#:proc-args . ((subset . \"manifests\")\n" +" (systems . (\"x86_64-linux\"))\n" +" (manifests . ((\"config\" . \"guix/manifest.scm\")))))\n" +" (#:inputs . (((#:name . \"guix\")\n" +" (#:url . \"git://git.savannah.gnu.org/guix.git\")\n" +" (#:load-path . \".\")\n" +" (#:branch . \"master\")\n" +" (#:no-compile? . #t))\n" +" ((#:name . \"config\")\n" +" (#:url . \"git://git.example.org/config.git\")\n" +" (#:load-path . \".\")\n" +" (#:branch . \"master\")\n" +" (#:no-compile? . #t))\n" +" ((#:name . \"custom-packages\")\n" +" (#:url . \"git://git.example.org/custom-packages.git\")\n" +" (#:load-path . \".\")\n" +" (#:branch . \"master\")\n" +" (#:no-compile? . #t)))))))\n" +"\n" + +#. type: example +#: doc/guix.texi:18781 +#, no-wrap +msgid "" +"(service cuirass-service-type\n" +" (cuirass-configuration\n" +" (specifications %cuirass-specs)))\n" +msgstr "" +"(service cuirass-service-type\n" +" (cuirass-configuration\n" +" (specifications %cuirass-specs)))\n" #. type: Plain text -#: doc/guix.texi:17488 +#: doc/guix.texi:18786 msgid "While information related to build jobs is located directly in the specifications, global settings for the @command{cuirass} process are accessible in other @code{cuirass-configuration} fields." -msgstr "" +msgstr "Tandis que les informations liés aux travaux de construction sont directement dans les spécifications, les paramètres globaux pour le processus @command{cuirass} sont accessibles dans les autres champs de @code{cuirass-configuration}." #. type: deftp -#: doc/guix.texi:17489 +#: doc/guix.texi:18787 #, no-wrap msgid "{Data Type} cuirass-configuration" msgstr "{Type de données} cuirass-configuration" #. type: deftp -#: doc/guix.texi:17491 +#: doc/guix.texi:18789 msgid "Data type representing the configuration of Cuirass." -msgstr "" +msgstr "Type de données représentant la configuration de Cuirass." #. type: item -#: doc/guix.texi:17493 +#: doc/guix.texi:18791 #, no-wrap msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})" msgstr "@code{log-file} (par défaut : @code{\"/var/log/cuirass.log\"})" #. type: table -#: doc/guix.texi:17495 +#: doc/guix.texi:18793 msgid "Location of the log file." -msgstr "" +msgstr "Emplacement du fichier de journal." #. type: item -#: doc/guix.texi:17496 +#: doc/guix.texi:18794 #, no-wrap msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})" msgstr "@code{cache-directory} (par défaut : @code{\"/var/cache/cuirass\"})" #. type: table -#: doc/guix.texi:17498 +#: doc/guix.texi:18796 msgid "Location of the repository cache." -msgstr "" +msgstr "Emplacement du cache du dépôt." #. type: item -#: doc/guix.texi:17499 +#: doc/guix.texi:18797 #, no-wrap msgid "@code{user} (default: @code{\"cuirass\"})" msgstr "@code{user} (par défaut : @code{\"cuirass\"})" #. type: table -#: doc/guix.texi:17501 +#: doc/guix.texi:18799 msgid "Owner of the @code{cuirass} process." -msgstr "" +msgstr "Propriétaire du processus @code{cuirass}." #. type: item -#: doc/guix.texi:17502 +#: doc/guix.texi:18800 #, no-wrap msgid "@code{group} (default: @code{\"cuirass\"})" msgstr "@code{group} (par défaut : @code{\"cuirass\"})" #. type: table -#: doc/guix.texi:17504 +#: doc/guix.texi:18802 msgid "Owner's group of the @code{cuirass} process." -msgstr "" +msgstr "Groupe du propriétaire du processus @code{cuirass}." #. type: item -#: doc/guix.texi:17505 +#: doc/guix.texi:18803 #, no-wrap msgid "@code{interval} (default: @code{60})" msgstr "@code{interval} (par défaut : @code{60})" #. type: table -#: doc/guix.texi:17508 +#: doc/guix.texi:18806 msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs." -msgstr "" +msgstr "Nombre de secondes entre les mises à jour du dépôt suivis des travaux de Cuirass." #. type: item -#: doc/guix.texi:17509 +#: doc/guix.texi:18807 #, no-wrap -msgid "@code{database} (default: @code{\"/var/run/cuirass/cuirass.db\"})" -msgstr "@code{database} (par défaut : @code{\"/var/run/cuirass/cuirass.db\"})" +msgid "@code{database} (default: @code{\"/var/lib/cuirass/cuirass.db\"})" +msgstr "@code{database} (par défaut : @code{\"/var/lib/cuirass/cuirass.db\"})" #. type: table -#: doc/guix.texi:17512 +#: doc/guix.texi:18810 msgid "Location of sqlite database which contains the build results and previously added specifications." -msgstr "" +msgstr "Emplacement de la base de données sqlite qui contient les résultats de construction et les spécifications précédemment ajoutées." #. type: item -#: doc/guix.texi:17513 +#: doc/guix.texi:18811 +#, no-wrap +msgid "@code{ttl} (default: @code{(* 30 24 3600)})" +msgstr "@code{ttl} (par défaut : @code{(* 30 24 3600)})" + +#. type: table +#: doc/guix.texi:18815 +msgid "Specifies the time-to-live (TTL) in seconds of garbage collector roots that are registered for build results. This means that build results are protected from garbage collection for at least @var{ttl} seconds." +msgstr "Spécifie la durée de vie (TTL) en seconde des racines du ramasse-miette qui sont enregistrés comme des résultats de construction. Cela signifie que les résultats de construction ne seront pas glanés pendant au moins @var{ttl} secondes." + +#. type: item +#: doc/guix.texi:18816 #, no-wrap msgid "@code{port} (default: @code{8081})" msgstr "@code{port} (par défaut : @code{8081})" #. type: table -#: doc/guix.texi:17515 +#: doc/guix.texi:18818 msgid "Port number used by the HTTP server." -msgstr "" +msgstr "Numéro de port utilisé pour le serveur HTTP." #. type: table -#: doc/guix.texi:17519 +#: doc/guix.texi:18822 msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost." -msgstr "" +msgstr "Écoute sur l'interface réseau de @var{host}. La valeur par défaut est d'accepter les connexions depuis localhost." #. type: item -#: doc/guix.texi:17520 +#: doc/guix.texi:18823 #, no-wrap msgid "@code{specifications} (default: @code{#~'()})" msgstr "@code{specifications} (par défaut : @code{#~'()})" #. type: table -#: doc/guix.texi:17526 +#: doc/guix.texi:18829 msgid "A gexp (@pxref{G-Expressions}) that evaluates to a list of specifications, where a specification is an association list (@pxref{Associations Lists,,, guile, GNU Guile Reference Manual}) whose keys are keywords (@code{#:keyword-example}) as shown in the example above." -msgstr "" +msgstr "Une gexp (@pxref{G-Expressions}) qui s'évalue en une liste de spécifications, où une spécification est une liste d'association (@pxref{Associations Lists,,, guile, GNU Guile Reference Manual}) dont les clefs sont des mots-clefs (@code{#:exemple-de-mot-clef}) comme dans l'exemple plus haut." #. type: item -#: doc/guix.texi:17527 +#: doc/guix.texi:18830 #, no-wrap msgid "@code{use-substitutes?} (default: @code{#f})" msgstr "@code{use-substitutes?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:17530 +#: doc/guix.texi:18833 msgid "This allows using substitutes to avoid building every dependencies of a job from source." -msgstr "" +msgstr "Cela permet d'utiliser des substituts pour éviter de construire toutes les dépendance d'un travail depuis les sources." #. type: item -#: doc/guix.texi:17531 +#: doc/guix.texi:18834 #, no-wrap msgid "@code{one-shot?} (default: @code{#f})" msgstr "@code{one-shot?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:17533 +#: doc/guix.texi:18836 msgid "Only evaluate specifications and build derivations once." -msgstr "" +msgstr "N'évaluer les spécification et construire les dérivations qu'une seule fois." #. type: item -#: doc/guix.texi:17534 +#: doc/guix.texi:18837 #, no-wrap msgid "@code{fallback?} (default: @code{#f})" msgstr "@code{fallback?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:17537 +#: doc/guix.texi:18840 msgid "When substituting a pre-built binary fails, fall back to building packages locally." -msgstr "" +msgstr "Lorsque la substitution d'un binaire pré-construit échoue, revenir à la construction locale du paquet." #. type: item -#: doc/guix.texi:17538 -#, no-wrap -msgid "@code{load-path} (default: @code{'()})" -msgstr "@code{load-path} (par défaut : @code{'()})" - -#. type: table -#: doc/guix.texi:17541 -msgid "This allows users to define their own packages and make them visible to cuirass as in @command{guix build} command." -msgstr "" - -#. type: item -#: doc/guix.texi:17542 +#: doc/guix.texi:18841 #, no-wrap msgid "@code{cuirass} (default: @code{cuirass})" msgstr "@code{cuirass} (par défaut : @code{cuirass})" #. type: table -#: doc/guix.texi:17544 +#: doc/guix.texi:18843 msgid "The Cuirass package to use." msgstr "Le paquet Cuirass à utiliser." #. type: cindex -#: doc/guix.texi:17550 +#: doc/guix.texi:18849 +#, no-wrap +msgid "tlp" +msgstr "tlp" + +#. type: cindex +#: doc/guix.texi:18850 #, no-wrap msgid "power management with TLP" -msgstr "" +msgstr "gestion de l'énergie avec TLP" + +#. type: subsubheading +#: doc/guix.texi:18851 +#, no-wrap +msgid "TLP daemon" +msgstr "démon TLP" #. type: Plain text -#: doc/guix.texi:17553 +#: doc/guix.texi:18855 msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP." -msgstr "" +msgstr "Le module @code{(gnu services pm)} fournit une définition de service Guix pour l'outil de gestion d'énergie Linux TLP." #. type: Plain text -#: doc/guix.texi:17559 +#: doc/guix.texi:18861 msgid "TLP enables various powersaving modes in userspace and kernel. Contrary to @code{upower-service}, it is not a passive, monitoring tool, as it will apply custom settings each time a new power source is detected. More information can be found at @uref{http://linrunner.de/en/tlp/tlp.html, TLP home page}." -msgstr "" +msgstr "TLP active plusieurs modes un espace utilisateur et dans le noyau. Contrairement à @code{upower-service}, ce n'est pas un outil passif de surveillance, puisqu'il applique des paramètres personnalisés à chaque fois qu'il détecte une nouvelle source d'énergie. Vous pouvez trouver plus d'informations sur @uref{http://linrunner.de/en/tlp/tlp.html, la page d'accueil de TLP}." #. type: deffn -#: doc/guix.texi:17560 +#: doc/guix.texi:18862 #, no-wrap msgid "{Scheme Variable} tlp-service-type" msgstr "{Variable Scheme} tlp-service-type" #. type: deffn -#: doc/guix.texi:17564 +#: doc/guix.texi:18866 msgid "The service type for the TLP tool. Its value should be a valid TLP configuration (see below). To use the default settings, simply write:" -msgstr "" +msgstr "Le type de service pour l'outil TLP. Sa valeur devrait être une configuration valide de TLP (voir plus bas). Pour utiliser les paramètres par défaut, écrivez simplement :" #. type: example -#: doc/guix.texi:17566 +#: doc/guix.texi:18868 #, no-wrap msgid "(service tlp-service-type)\n" -msgstr "" +msgstr "(service tlp-service-type)\n" #. type: Plain text -#: doc/guix.texi:17571 +#: doc/guix.texi:18873 msgid "By default TLP does not need much configuration but most TLP parameters can be tweaked using @code{tlp-configuration}." -msgstr "" +msgstr "Par défaut TLP n'a pas besoin de beaucoup de configuration mais la plupart des paramètres de TLP peuvent être modifiés avec @code{tlp-configuration}." #. type: Plain text -#: doc/guix.texi:17577 +#: doc/guix.texi:18879 msgid "Each parameter definition is preceded by its type; for example, @samp{boolean foo} indicates that the @code{foo} parameter should be specified as a boolean. Types starting with @code{maybe-} denote parameters that won't show up in TLP config file when their value is @code{'disabled}." -msgstr "" +msgstr "Chaque définition de paramètre est précédée par son type ; par exemple, @samp{boolean foo} indique que le paramètre @code{foo} doit être spécifié comme un booléen. Les types qui commencent par @code{maybe-} dénotent des paramètres qui n'apparaîtront pas dans la configuration de TLP lorsque leur valeur est @code{'disabled}." #. type: Plain text -#: doc/guix.texi:17587 +#: doc/guix.texi:18889 msgid "Available @code{tlp-configuration} fields are:" msgstr "Les champs de @code{tlp-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:17588 +#: doc/guix.texi:18890 #, no-wrap msgid "{@code{tlp-configuration} parameter} package tlp" msgstr "{paramètre de @code{tlp-configuration}} package tlp" #. type: deftypevr -#: doc/guix.texi:17590 +#: doc/guix.texi:18892 msgid "The TLP package." -msgstr "" +msgstr "Le paquet TLP." #. type: deftypevr -#: doc/guix.texi:17593 +#: doc/guix.texi:18895 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?" msgstr "{paramètre de @code{tlp-configuration}} boolean tlp-enable?" #. type: deftypevr -#: doc/guix.texi:17595 +#: doc/guix.texi:18897 msgid "Set to true if you wish to enable TLP." -msgstr "" +msgstr "Indiquez vrai si vous souhaitez activer TLP." #. type: deftypevr -#: doc/guix.texi:17600 +#: doc/guix.texi:18902 #, no-wrap msgid "{@code{tlp-configuration} parameter} string tlp-default-mode" msgstr "{paramètre de @code{tlp-configuration}} string tlp-default-mode" #. type: deftypevr -#: doc/guix.texi:17603 +#: doc/guix.texi:18905 msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT." -msgstr "" +msgstr "Mode par défaut lorsqu'aucune source d'énergie ne peut être détectée. Les possibilités sont AC et BAT." #. type: deftypevr -#: doc/guix.texi:17605 +#: doc/guix.texi:18907 msgid "Defaults to @samp{\"AC\"}." msgstr "La valeur par défaut est @samp{\"AC\"}." #. type: deftypevr -#: doc/guix.texi:17608 +#: doc/guix.texi:18910 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer disk-idle-secs-on-ac" #. type: deftypevr -#: doc/guix.texi:17611 +#: doc/guix.texi:18913 msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC." -msgstr "" +msgstr "Nombre de secondes que le noyau Linux doit attendre après que les disques s'arrêtent pour se synchroniser quand il est sur secteur." #. type: deftypevr -#: doc/guix.texi:17616 +#: doc/guix.texi:18918 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer disk-idle-secs-on-bat" #. type: deftypevr -#: doc/guix.texi:17618 +#: doc/guix.texi:18920 msgid "Same as @code{disk-idle-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{disk-idle-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17620 +#: doc/guix.texi:18922 msgid "Defaults to @samp{2}." msgstr "La valeur par défaut est @samp{2}." #. type: deftypevr -#: doc/guix.texi:17623 +#: doc/guix.texi:18925 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer max-lost-work-secs-on-ac" #. type: deftypevr -#: doc/guix.texi:17625 +#: doc/guix.texi:18927 msgid "Dirty pages flushing periodicity, expressed in seconds." -msgstr "" +msgstr "Périodicité du nettoyage des pages invalidées, en secondes." #. type: deftypevr -#: doc/guix.texi:17627 doc/guix.texi:17850 doc/guix.texi:19167 -#: doc/guix.texi:19175 +#: doc/guix.texi:18929 doc/guix.texi:19152 doc/guix.texi:20472 +#: doc/guix.texi:20480 msgid "Defaults to @samp{15}." msgstr "La valeur par défaut est @samp{15}." #. type: deftypevr -#: doc/guix.texi:17630 +#: doc/guix.texi:18932 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer max-lost-work-secs-on-bat" #. type: deftypevr -#: doc/guix.texi:17632 +#: doc/guix.texi:18934 msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{max-lost-work-secs-on-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17634 +#: doc/guix.texi:18936 msgid "Defaults to @samp{60}." msgstr "La valeur par défaut est @samp{60}." #. type: deftypevr -#: doc/guix.texi:17637 +#: doc/guix.texi:18939 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac" msgstr "{paramètre de @code{tlp-configuration}} maybe-space-separated-string-list cpu-scaling-governor-on-ac" #. type: deftypevr -#: doc/guix.texi:17641 +#: doc/guix.texi:18943 msgid "CPU frequency scaling governor on AC mode. With intel_pstate driver, alternatives are powersave and performance. With acpi-cpufreq driver, alternatives are ondemand, powersave, performance and conservative." -msgstr "" +msgstr "Gouverneur de fréquence d'horloge sur secteur. Avec le pilote intel_pstate, les possibilités sont powersave et performance. Avec le pilote acpi-cpufreq, les possibilités sont ondemand, powersave, performance et conservative." #. type: deftypevr -#: doc/guix.texi:17643 doc/guix.texi:17650 doc/guix.texi:17657 -#: doc/guix.texi:17664 doc/guix.texi:17671 doc/guix.texi:17678 -#: doc/guix.texi:17686 doc/guix.texi:17694 doc/guix.texi:17701 -#: doc/guix.texi:17708 doc/guix.texi:17715 doc/guix.texi:17722 -#: doc/guix.texi:17752 doc/guix.texi:17790 doc/guix.texi:17797 -#: doc/guix.texi:17806 doc/guix.texi:17828 doc/guix.texi:17836 -#: doc/guix.texi:17843 doc/guix.texi:17998 doc/guix.texi:18018 -#: doc/guix.texi:18033 doc/guix.texi:18040 +#: doc/guix.texi:18945 doc/guix.texi:18952 doc/guix.texi:18959 +#: doc/guix.texi:18966 doc/guix.texi:18973 doc/guix.texi:18980 +#: doc/guix.texi:18988 doc/guix.texi:18996 doc/guix.texi:19003 +#: doc/guix.texi:19010 doc/guix.texi:19017 doc/guix.texi:19024 +#: doc/guix.texi:19054 doc/guix.texi:19092 doc/guix.texi:19099 +#: doc/guix.texi:19108 doc/guix.texi:19130 doc/guix.texi:19138 +#: doc/guix.texi:19145 doc/guix.texi:19300 doc/guix.texi:19320 +#: doc/guix.texi:19335 doc/guix.texi:19342 doc/guix.texi:21131 +#: doc/guix.texi:21139 doc/guix.texi:21147 doc/guix.texi:21155 +#: doc/guix.texi:21163 doc/guix.texi:21171 msgid "Defaults to @samp{disabled}." msgstr "La valeur par défaut est @samp{disabled}." #. type: deftypevr -#: doc/guix.texi:17646 +#: doc/guix.texi:18948 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat" msgstr "{paramètre de @code{tlp-configuration}} maybe-space-separated-string-list cpu-scaling-governor-on-bat" #. type: deftypevr -#: doc/guix.texi:17648 +#: doc/guix.texi:18950 msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{cpu-scaling-governor-on-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17653 +#: doc/guix.texi:18955 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-min-freq-on-ac" #. type: deftypevr -#: doc/guix.texi:17655 +#: doc/guix.texi:18957 msgid "Set the min available frequency for the scaling governor on AC." -msgstr "" +msgstr "Indique la fréquence d'horloge minimale pour le gouverneur sur secteur." #. type: deftypevr -#: doc/guix.texi:17660 +#: doc/guix.texi:18962 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-max-freq-on-ac" #. type: deftypevr -#: doc/guix.texi:17662 +#: doc/guix.texi:18964 msgid "Set the max available frequency for the scaling governor on AC." -msgstr "" +msgstr "Indique la fréquence d'horloge maximale pour le gouverneur sur secteur." #. type: deftypevr -#: doc/guix.texi:17667 +#: doc/guix.texi:18969 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-min-freq-on-bat" #. type: deftypevr -#: doc/guix.texi:17669 +#: doc/guix.texi:18971 msgid "Set the min available frequency for the scaling governor on BAT." -msgstr "" +msgstr "Indique la fréquence d'horloge minimale pour le gouverneur sur batterie." #. type: deftypevr -#: doc/guix.texi:17674 +#: doc/guix.texi:18976 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-scaling-max-freq-on-bat" #. type: deftypevr -#: doc/guix.texi:17676 +#: doc/guix.texi:18978 msgid "Set the max available frequency for the scaling governor on BAT." -msgstr "" +msgstr "Indique la fréquence d'horloge maximale pour le gouverneur sur batterie." #. type: deftypevr -#: doc/guix.texi:17681 +#: doc/guix.texi:18983 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-min-perf-on-ac" #. type: deftypevr -#: doc/guix.texi:17684 +#: doc/guix.texi:18986 msgid "Limit the min P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance." -msgstr "" +msgstr "Limite le P-état minimum pour contrôler la dissipation de puissance dans le CPU, sur secteur. Les valeurs sont indiqués comme un pourcentage des performances disponibles." #. type: deftypevr -#: doc/guix.texi:17689 +#: doc/guix.texi:18991 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-max-perf-on-ac" #. type: deftypevr -#: doc/guix.texi:17692 +#: doc/guix.texi:18994 msgid "Limit the max P-state to control the power dissipation of the CPU, in AC mode. Values are stated as a percentage of the available performance." -msgstr "" +msgstr "Limite le P-état maximum pour contrôler la dissipation de puissance dans le CPU, sur secteur. Les valeurs sont indiqués comme un pourcentage des performances disponibles." #. type: deftypevr -#: doc/guix.texi:17697 +#: doc/guix.texi:18999 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-min-perf-on-bat" #. type: deftypevr -#: doc/guix.texi:17699 +#: doc/guix.texi:19001 msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode." -msgstr "" +msgstr "Comme @code{cpu-min-perf-on-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17704 +#: doc/guix.texi:19006 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat" msgstr "{paramètre de @code{tlp-configuration}} maybe-non-negative-integer cpu-max-perf-on-bat" #. type: deftypevr -#: doc/guix.texi:17706 +#: doc/guix.texi:19008 msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode." -msgstr "" +msgstr "Comme @code{cpu-max-perf-on-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17711 +#: doc/guix.texi:19013 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?" msgstr "{paramètre de @code{tlp-configuration}} maybe-boolean cpu-boost-on-ac?" #. type: deftypevr -#: doc/guix.texi:17713 +#: doc/guix.texi:19015 msgid "Enable CPU turbo boost feature on AC mode." -msgstr "" +msgstr "Active la fonctionnalité turbo boost du CPU sur secteur." #. type: deftypevr -#: doc/guix.texi:17718 +#: doc/guix.texi:19020 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?" msgstr "{paramètre de @code{tlp-configuration}} maybe-boolean cpu-boost-on-bat?" #. type: deftypevr -#: doc/guix.texi:17720 +#: doc/guix.texi:19022 msgid "Same as @code{cpu-boost-on-ac?} on BAT mode." -msgstr "" +msgstr "Comme @code{cpu-boost-on-ac?} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17725 +#: doc/guix.texi:19027 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?" msgstr "{paramètre de @code{tlp-configuration}} boolean sched-powersave-on-ac?" #. type: deftypevr -#: doc/guix.texi:17728 +#: doc/guix.texi:19030 msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions." -msgstr "" +msgstr "Permet au noyau Linux de minimiser le nombre de cœurs/hyper-threads CPU utilisés lorsque la charge est faible." #. type: deftypevr -#: doc/guix.texi:17733 +#: doc/guix.texi:19035 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?" msgstr "{paramètre de @code{tlp-configuration}} boolean sched-powersave-on-bat?" #. type: deftypevr -#: doc/guix.texi:17735 +#: doc/guix.texi:19037 msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode." -msgstr "" +msgstr "Comme @code{sched-powersave-on-ac?} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17740 +#: doc/guix.texi:19042 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?" msgstr "{paramètre de @code{tlp-configuration}} boolean nmi-watchdog?" #. type: deftypevr -#: doc/guix.texi:17742 +#: doc/guix.texi:19044 msgid "Enable Linux kernel NMI watchdog." -msgstr "" +msgstr "Active le chien de garde NMI du noyau Linux." #. type: deftypevr -#: doc/guix.texi:17747 +#: doc/guix.texi:19049 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls" msgstr "{paramètre de @code{tlp-configuration}} maybe-string phc-controls" #. type: deftypevr -#: doc/guix.texi:17750 +#: doc/guix.texi:19052 msgid "For Linux kernels with PHC patch applied, change CPU voltages. An example value would be @samp{\"F:V F:V F:V F:V\"}." -msgstr "" +msgstr "Pour les noyaux Linux avec le correctif PHC, change le voltage du CPU. Une valeur serait par exemple @samp{\"F:V F:V F:V F:V\"}." #. type: deftypevr -#: doc/guix.texi:17755 +#: doc/guix.texi:19057 #, no-wrap msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string energy-perf-policy-on-ac" #. type: deftypevr -#: doc/guix.texi:17758 +#: doc/guix.texi:19060 msgid "Set CPU performance versus energy saving policy on AC. Alternatives are performance, normal, powersave." -msgstr "" +msgstr "Indique le niveau de performance du CPU par rapport à la politique de gestion de l'énergie sur secteur. Les possibilités sont performance, normal et powersave." #. type: deftypevr -#: doc/guix.texi:17760 doc/guix.texi:17858 doc/guix.texi:17888 +#: doc/guix.texi:19062 doc/guix.texi:19160 doc/guix.texi:19190 msgid "Defaults to @samp{\"performance\"}." msgstr "La valeur par défaut est @samp{\"performance\"}." #. type: deftypevr -#: doc/guix.texi:17763 +#: doc/guix.texi:19065 #, no-wrap msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string energy-perf-policy-on-bat" #. type: deftypevr -#: doc/guix.texi:17765 +#: doc/guix.texi:19067 msgid "Same as @code{energy-perf-policy-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{energy-perf-policy-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17767 doc/guix.texi:17865 +#: doc/guix.texi:19069 doc/guix.texi:19167 msgid "Defaults to @samp{\"powersave\"}." msgstr "La valeur par défaut est @samp{\"powersave\"}." #. type: deftypevr -#: doc/guix.texi:17770 +#: doc/guix.texi:19072 #, no-wrap msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices" msgstr "{paramètre de @code{tlp-configuration}} space-separated-string-list disks-devices" #. type: deftypevr -#: doc/guix.texi:17772 +#: doc/guix.texi:19074 msgid "Hard disk devices." -msgstr "" +msgstr "Périphériques de disque dur." #. type: deftypevr -#: doc/guix.texi:17775 +#: doc/guix.texi:19077 #, no-wrap msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac" msgstr "{paramètre de @code{tlp-configuration}} space-separated-string-list disk-apm-level-on-ac" #. type: deftypevr -#: doc/guix.texi:17777 +#: doc/guix.texi:19079 msgid "Hard disk advanced power management level." -msgstr "" +msgstr "Niveau de gestion de l'énergie avancé des disques durs." #. type: deftypevr -#: doc/guix.texi:17780 +#: doc/guix.texi:19082 #, no-wrap msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat" msgstr "{paramètre de @code{tlp-configuration}} space-separated-string-list disk-apm-level-on-bat" #. type: deftypevr -#: doc/guix.texi:17782 +#: doc/guix.texi:19084 msgid "Same as @code{disk-apm-bat} but on BAT mode." -msgstr "" +msgstr "Comme @code{disk-apm-bat} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17785 +#: doc/guix.texi:19087 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac" msgstr "{paramètre de @code{tlp-configuration}} maybe-space-separated-string-list disk-spindown-timeout-on-ac" #. type: deftypevr -#: doc/guix.texi:17788 +#: doc/guix.texi:19090 msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk." -msgstr "" +msgstr "Délai d'attente pour arrêter de faire tourner les disques. Une valeur doit être spécifiée pour chaque disque dur déclaré." #. type: deftypevr -#: doc/guix.texi:17793 +#: doc/guix.texi:19095 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat" msgstr "{paramètre de @code{tlp-configuration}} maybe-space-separated-string-list disk-spindown-timeout-on-bat" #. type: deftypevr -#: doc/guix.texi:17795 +#: doc/guix.texi:19097 msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{disk-spindown-timeout-on-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17800 +#: doc/guix.texi:19102 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched" msgstr "{paramètre de @code{tlp-configuration}} maybe-space-separated-string-list disk-iosched" #. type: deftypevr -#: doc/guix.texi:17804 +#: doc/guix.texi:19106 msgid "Select IO scheduler for disk devices. One value has to be specified for each declared hard disk. Example alternatives are cfq, deadline and noop." -msgstr "" +msgstr "Sélectionne l'ordonnanceur d'entrées-sorties pour le disque. Une valeur doit être spécifiée pour chaque disque déclaré. Les possibilités sont par exemple cfq, deadline et noop." #. type: deftypevr -#: doc/guix.texi:17809 +#: doc/guix.texi:19111 #, no-wrap msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string sata-linkpwr-on-ac" #. type: deftypevr -#: doc/guix.texi:17812 +#: doc/guix.texi:19114 msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance." -msgstr "" +msgstr "Niveau de gestion de l'énergie des lien SATA aggressive (ALPM). Les possibilités sont min_power, medium_power et max_performance." #. type: deftypevr -#: doc/guix.texi:17814 +#: doc/guix.texi:19116 msgid "Defaults to @samp{\"max_performance\"}." msgstr "La valeur par défaut est @samp{\"max_performance\"}." #. type: deftypevr -#: doc/guix.texi:17817 +#: doc/guix.texi:19119 #, no-wrap msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string sata-linkpwr-on-bat" #. type: deftypevr -#: doc/guix.texi:17819 +#: doc/guix.texi:19121 msgid "Same as @code{sata-linkpwr-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{sata-linkpwr-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17821 +#: doc/guix.texi:19123 msgid "Defaults to @samp{\"min_power\"}." msgstr "La valeur par défaut est @samp{\"min_power\"}." #. type: deftypevr -#: doc/guix.texi:17824 +#: doc/guix.texi:19126 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist" msgstr "{paramètre de @code{tlp-configuration}} maybe-string sata-linkpwr-blacklist" #. type: deftypevr -#: doc/guix.texi:17826 +#: doc/guix.texi:19128 msgid "Exclude specified SATA host devices for link power management." -msgstr "" +msgstr "Exclu les périphériques SATA spécifiés de la gestion de l'énergie des liens." #. type: deftypevr -#: doc/guix.texi:17831 +#: doc/guix.texi:19133 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?" msgstr "{paramètre de @code{tlp-configuration}} maybe-on-off-boolean ahci-runtime-pm-on-ac?" #. type: deftypevr -#: doc/guix.texi:17834 +#: doc/guix.texi:19136 msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode." -msgstr "" +msgstr "Active la gestion de l'énergie à l'exécution pour les contrôleurs AHCI et les disques, sur secteur" #. type: deftypevr -#: doc/guix.texi:17839 +#: doc/guix.texi:19141 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?" msgstr "{paramètre de @code{tlp-configuration}} maybe-on-off-boolean ahci-runtime-pm-on-bat?" #. type: deftypevr -#: doc/guix.texi:17841 +#: doc/guix.texi:19143 msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode." -msgstr "" +msgstr "Comme @code{ahci-runtime-pm-on-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17846 +#: doc/guix.texi:19148 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer ahci-runtime-pm-timeout" #. type: deftypevr -#: doc/guix.texi:17848 +#: doc/guix.texi:19150 msgid "Seconds of inactivity before disk is suspended." -msgstr "" +msgstr "Secondes d'inactivités avant de suspendre les disques." #. type: deftypevr -#: doc/guix.texi:17853 +#: doc/guix.texi:19155 #, no-wrap msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string pcie-aspm-on-ac" #. type: deftypevr -#: doc/guix.texi:17856 +#: doc/guix.texi:19158 msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave." -msgstr "" +msgstr "Niveau de gestion de l'énergie des états actifs de PCI Express. Les possibilités sont default, performance et powersave." #. type: deftypevr -#: doc/guix.texi:17861 +#: doc/guix.texi:19163 #, no-wrap msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string pcie-aspm-on-bat" #. type: deftypevr -#: doc/guix.texi:17863 +#: doc/guix.texi:19165 msgid "Same as @code{pcie-aspm-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{pcie-aspm-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17868 +#: doc/guix.texi:19170 #, no-wrap msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string radeon-power-profile-on-ac" #. type: deftypevr -#: doc/guix.texi:17871 +#: doc/guix.texi:19173 msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default." -msgstr "" +msgstr "Niveau de vitesse de l'horloge des cartes graphiques Radeon. Les possibilités sont low, mid, high, auto et default." #. type: deftypevr -#: doc/guix.texi:17873 +#: doc/guix.texi:19175 msgid "Defaults to @samp{\"high\"}." msgstr "La valeur par défaut est @samp{\"high\"}." #. type: deftypevr -#: doc/guix.texi:17876 +#: doc/guix.texi:19178 #, no-wrap msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string radeon-power-profile-on-bat" #. type: deftypevr -#: doc/guix.texi:17878 +#: doc/guix.texi:19180 msgid "Same as @code{radeon-power-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{radeon-power-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17880 +#: doc/guix.texi:19182 msgid "Defaults to @samp{\"low\"}." msgstr "La valeur par défaut est @samp{\"low\"}." #. type: deftypevr -#: doc/guix.texi:17883 +#: doc/guix.texi:19185 #, no-wrap msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string radeon-dpm-state-on-ac" #. type: deftypevr -#: doc/guix.texi:17886 +#: doc/guix.texi:19188 msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance." -msgstr "" +msgstr "Méthode de gestion de l'énergie dynamique de Radeon (DPM). Les possibilités sont battery et performance." #. type: deftypevr -#: doc/guix.texi:17891 +#: doc/guix.texi:19193 #, no-wrap msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string radeon-dpm-state-on-bat" #. type: deftypevr -#: doc/guix.texi:17893 +#: doc/guix.texi:19195 msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{radeon-dpm-state-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17895 +#: doc/guix.texi:19197 msgid "Defaults to @samp{\"battery\"}." msgstr "La valeur par défaut est @samp{\"battery\"}." #. type: deftypevr -#: doc/guix.texi:17898 +#: doc/guix.texi:19200 #, no-wrap msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string radeon-dpm-perf-level-on-ac" #. type: deftypevr -#: doc/guix.texi:17900 +#: doc/guix.texi:19202 msgid "Radeon DPM performance level. Alternatives are auto, low, high." -msgstr "" +msgstr "Niveau de performance de DPM. Les possibilités sont auto, low et high." #. type: deftypevr -#: doc/guix.texi:17902 doc/guix.texi:17909 doc/guix.texi:17983 +#: doc/guix.texi:19204 doc/guix.texi:19211 doc/guix.texi:19285 msgid "Defaults to @samp{\"auto\"}." msgstr "La valeur par défaut est @samp{\"auto\"}." #. type: deftypevr -#: doc/guix.texi:17905 +#: doc/guix.texi:19207 #, no-wrap msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string radeon-dpm-perf-level-on-bat" #. type: deftypevr -#: doc/guix.texi:17907 +#: doc/guix.texi:19209 msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{radeon-dpm-perf-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17912 +#: doc/guix.texi:19214 #, no-wrap msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?" msgstr "{paramètre de @code{tlp-configuration}} on-off-boolean wifi-pwr-on-ac?" #. type: deftypevr -#: doc/guix.texi:17914 +#: doc/guix.texi:19216 msgid "Wifi power saving mode." -msgstr "" +msgstr "Mode de gestion de l'énergie wifi." #. type: deftypevr -#: doc/guix.texi:17919 +#: doc/guix.texi:19221 #, no-wrap msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?" msgstr "{paramètre de @code{tlp-configuration}} on-off-boolean wifi-pwr-on-bat?" #. type: deftypevr -#: doc/guix.texi:17921 +#: doc/guix.texi:19223 msgid "Same as @code{wifi-power-ac?} but on BAT mode." -msgstr "" +msgstr "Comme @code{wifi-power-ac?} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17926 +#: doc/guix.texi:19228 #, no-wrap msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?" msgstr "{paramètre de @code{tlp-configuration}} y-n-boolean wol-disable?" #. type: deftypevr -#: doc/guix.texi:17928 +#: doc/guix.texi:19230 msgid "Disable wake on LAN." -msgstr "" +msgstr "Désactive wake on LAN." #. type: deftypevr -#: doc/guix.texi:17933 +#: doc/guix.texi:19235 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer sound-power-save-on-ac" #. type: deftypevr -#: doc/guix.texi:17936 +#: doc/guix.texi:19238 msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving." -msgstr "" +msgstr "Durée d'attente en secondes avant d'activer la gestion de l'énergie audio sur les périphériques Intel HDA et AC97. La valeur 0 désactive la gestion de l'énergie." #. type: deftypevr -#: doc/guix.texi:17941 +#: doc/guix.texi:19243 #, no-wrap msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat" msgstr "{paramètre de @code{tlp-configuration}} non-negative-integer sound-power-save-on-bat" #. type: deftypevr -#: doc/guix.texi:17943 +#: doc/guix.texi:19245 msgid "Same as @code{sound-powersave-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{sound-powersave-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17945 doc/guix.texi:18460 doc/guix.texi:18604 +#: doc/guix.texi:19247 doc/guix.texi:19765 doc/guix.texi:19909 msgid "Defaults to @samp{1}." msgstr "La valeur par défaut est @samp{1}." #. type: deftypevr -#: doc/guix.texi:17948 +#: doc/guix.texi:19250 #, no-wrap msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?" msgstr "{paramètre de @code{tlp-configuration}} y-n-boolean sound-power-save-controller?" #. type: deftypevr -#: doc/guix.texi:17950 +#: doc/guix.texi:19252 msgid "Disable controller in powersaving mode on Intel HDA devices." -msgstr "" +msgstr "Désactive le contrôleur en mode de gestion de l'énergie sur les périphériques Intel HDA." #. type: deftypevr -#: doc/guix.texi:17955 +#: doc/guix.texi:19257 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?" msgstr "{paramètre de @code{tlp-configuration}} boolean bay-poweroff-on-bat?" #. type: deftypevr -#: doc/guix.texi:17959 +#: doc/guix.texi:19261 msgid "Enable optical drive in UltraBay/MediaBay on BAT mode. Drive can be powered on again by releasing (and reinserting) the eject lever or by pressing the disc eject button on newer models." -msgstr "" +msgstr "Active le périphérique optique AltraBay/MediaBay en mode batterie. Le périphérique peut être de nouveau alimenté en lâchant (et en réinsérant) le levier d'éjection ou en appuyant sur le bouton d'éjection sur les modèles plus récents." #. type: deftypevr -#: doc/guix.texi:17964 +#: doc/guix.texi:19266 #, no-wrap msgid "{@code{tlp-configuration} parameter} string bay-device" msgstr "{paramètre de @code{tlp-configuration}} string bay-device" #. type: deftypevr -#: doc/guix.texi:17966 +#: doc/guix.texi:19268 msgid "Name of the optical drive device to power off." -msgstr "" +msgstr "Nom du périphérique optique à éteindre." #. type: deftypevr -#: doc/guix.texi:17968 +#: doc/guix.texi:19270 msgid "Defaults to @samp{\"sr0\"}." msgstr "La valeur par défaut est @samp{\"sr0\"}." #. type: deftypevr -#: doc/guix.texi:17971 +#: doc/guix.texi:19273 #, no-wrap msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac" msgstr "{paramètre de @code{tlp-configuration}} string runtime-pm-on-ac" #. type: deftypevr -#: doc/guix.texi:17974 +#: doc/guix.texi:19276 msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto." -msgstr "" +msgstr "Gestion de l'énergie à l'exécution sur les bus PCI(e). Les possibilités sont on et auto." #. type: deftypevr -#: doc/guix.texi:17976 +#: doc/guix.texi:19278 msgid "Defaults to @samp{\"on\"}." msgstr "La valeur par défaut est @samp{\"on\"}." #. type: deftypevr -#: doc/guix.texi:17979 +#: doc/guix.texi:19281 #, no-wrap msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat" msgstr "{paramètre de @code{tlp-configuration}} string runtime-pm-on-bat" #. type: deftypevr -#: doc/guix.texi:17981 +#: doc/guix.texi:19283 msgid "Same as @code{runtime-pm-ac} but on BAT mode." -msgstr "" +msgstr "Comme @code{runtime-pm-ac} mais en mode batterie." #. type: deftypevr -#: doc/guix.texi:17986 +#: doc/guix.texi:19288 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?" msgstr "{paramètre de @code{tlp-configuration}} boolean runtime-pm-all?" #. type: deftypevr -#: doc/guix.texi:17989 +#: doc/guix.texi:19291 msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones." -msgstr "" +msgstr "Gestion de l'énergie à l'exécution pour tous les bus PCI(e), sauf ceux en liste noire." #. type: deftypevr -#: doc/guix.texi:17994 +#: doc/guix.texi:19296 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist" msgstr "{paramètre de @code{tlp-configuration}} maybe-space-separated-string-list runtime-pm-blacklist" #. type: deftypevr -#: doc/guix.texi:17996 +#: doc/guix.texi:19298 msgid "Exclude specified PCI(e) device addresses from Runtime Power Management." -msgstr "" +msgstr "Exclue les adresses des périphériques PCI(e) spécifiés de la gestion de l'énergie à l'exécution." #. type: deftypevr -#: doc/guix.texi:18001 +#: doc/guix.texi:19303 #, no-wrap msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist" msgstr "{paramètre de @code{tlp-configuration}} space-separated-string-list runtime-pm-driver-blacklist" #. type: deftypevr -#: doc/guix.texi:18004 +#: doc/guix.texi:19306 msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management." -msgstr "" +msgstr "Exclue les périphériques PCI(e) assignés aux pilotes spécifiés de la gestion de l'énergie à l'exécution." #. type: deftypevr -#: doc/guix.texi:18007 +#: doc/guix.texi:19309 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?" msgstr "{paramètre de @code{tlp-configuration}} boolean usb-autosuspend?" #. type: deftypevr -#: doc/guix.texi:18009 +#: doc/guix.texi:19311 msgid "Enable USB autosuspend feature." -msgstr "" +msgstr "Active la fonctionnalité de mise en veille automatique de l'USB." #. type: deftypevr -#: doc/guix.texi:18014 +#: doc/guix.texi:19316 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist" msgstr "{paramètre de @code{tlp-configuration}} maybe-string usb-blacklist" #. type: deftypevr -#: doc/guix.texi:18016 +#: doc/guix.texi:19318 msgid "Exclude specified devices from USB autosuspend." -msgstr "" +msgstr "Exclue les périphériques spécifiés de la mise en veille automatique de l'USB." #. type: deftypevr -#: doc/guix.texi:18021 +#: doc/guix.texi:19323 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?" msgstr "{paramètre de @code{tlp-configuration}} boolean usb-blacklist-wwan?" #. type: deftypevr -#: doc/guix.texi:18023 +#: doc/guix.texi:19325 msgid "Exclude WWAN devices from USB autosuspend." -msgstr "" +msgstr "Exclue les périphériques WWAN de la mise en veille automatique de l'USB." #. type: deftypevr -#: doc/guix.texi:18028 +#: doc/guix.texi:19330 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist" msgstr "{paramètre de @code{tlp-configuration}} maybe-string usb-whitelist" #. type: deftypevr -#: doc/guix.texi:18031 +#: doc/guix.texi:19333 msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}." -msgstr "" +msgstr "Inclue les périphériques spécifiés dans la mise en veille automatique de l'USB, même s'ils sont déjà exclus par le pilote ou via @code{usb-blacklist-wwan?}." #. type: deftypevr -#: doc/guix.texi:18036 +#: doc/guix.texi:19338 #, no-wrap msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?" msgstr "{paramètre de @code{tlp-configuration}} maybe-boolean usb-autosuspend-disable-on-shutdown?" #. type: deftypevr -#: doc/guix.texi:18038 +#: doc/guix.texi:19340 msgid "Enable USB autosuspend before shutdown." -msgstr "" +msgstr "Active la mise en veille de l'USB avant l'arrêt." #. type: deftypevr -#: doc/guix.texi:18043 +#: doc/guix.texi:19345 #, no-wrap msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?" msgstr "{paramètre de @code{tlp-configuration}} boolean restore-device-state-on-startup?" #. type: deftypevr -#: doc/guix.texi:18046 +#: doc/guix.texi:19348 msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup." -msgstr "" +msgstr "Restaure l'état des périphériques radio (bluetooth, wifi, wwan) du dernier arrêt au démarrage du système." + +#. type: cindex +#: doc/guix.texi:19353 +#, no-wrap +msgid "thermald" +msgstr "thermald" + +#. type: cindex +#: doc/guix.texi:19354 +#, no-wrap +msgid "CPU frequency scaling with thermald" +msgstr "gestion de la fréquence du CPU avec thermald" + +#. type: subsubheading +#: doc/guix.texi:19355 +#, no-wrap +msgid "Thermald daemon" +msgstr "démon Thermald" #. type: Plain text -#: doc/guix.texi:18054 +#: doc/guix.texi:19359 msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating." -msgstr "" +msgstr "Le module @code{(gnu services pm)} fournit une interface pour thermald, un service de gestion de l'horloge CPU qui aide à éviter la surchauffe." #. type: defvr -#: doc/guix.texi:18055 +#: doc/guix.texi:19360 #, no-wrap msgid "{Scheme Variable} thermald-service-type" msgstr "{Variable Scheme} thermald-service-type" #. type: defvr -#: doc/guix.texi:18060 +#: doc/guix.texi:19365 msgid "This is the service type for @uref{https://01.org/linux-thermal-daemon/, thermald}, the Linux Thermal Daemon, which is responsible for controlling the thermal state of processors and preventing overheating." -msgstr "" +msgstr "C'est le type de service pour @uref{https://01.org/linux-thermal-daemon/, thermald}, le démon de température de Linux, responsable du contrôle de l'état thermique des processeurs et d'éviter la surchauffe." #. type: deftp -#: doc/guix.texi:18062 +#: doc/guix.texi:19367 #, no-wrap msgid "{Data Type} thermald-configuration" msgstr "{Type de données} thermald-configuration" #. type: deftp -#: doc/guix.texi:18064 +#: doc/guix.texi:19369 msgid "Data type representing the configuration of @code{thermald-service-type}." -msgstr "" +msgstr "Type de données représentant la configuration de @code{thermald-service-type}." #. type: item -#: doc/guix.texi:18066 +#: doc/guix.texi:19371 #, no-wrap msgid "@code{ignore-cpuid-check?} (default: @code{#f})" msgstr "@code{ignore-cpuid-check?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:18068 +#: doc/guix.texi:19373 msgid "Ignore cpuid check for supported CPU models." -msgstr "" +msgstr "Ignore la vérification des modèles CPU supportés avec cpuid." #. type: item -#: doc/guix.texi:18069 +#: doc/guix.texi:19374 #, no-wrap msgid "@code{thermald} (default: @var{thermald})" msgstr "@code{thermald} (par défaut : @var{thermald})" #. type: table -#: doc/guix.texi:18071 +#: doc/guix.texi:19376 msgid "Package object of thermald." -msgstr "" +msgstr "Objet du paquet de thermald." #. type: Plain text -#: doc/guix.texi:18080 +#: doc/guix.texi:19385 msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)." -msgstr "" +msgstr "Le module @code{(gnu services audio)} fournit un service qui lance MPD (le démon de lecture de musique)." #. type: cindex -#: doc/guix.texi:18081 +#: doc/guix.texi:19386 #, no-wrap msgid "mpd" -msgstr "" +msgstr "mpd" #. type: subsubheading -#: doc/guix.texi:18082 +#: doc/guix.texi:19387 #, no-wrap msgid "Music Player Daemon" -msgstr "" +msgstr "Music Player Daemon" #. type: Plain text -#: doc/guix.texi:18087 +#: doc/guix.texi:19392 msgid "The Music Player Daemon (MPD) is a service that can play music while being controlled from the local machine or over the network by a variety of clients." -msgstr "" +msgstr "Le démon de lecture de musique (MPD) est un service qui joue de la musique tout en étant contrôlé depuis la machine locale ou à travers le réseau par divers clients." #. type: Plain text -#: doc/guix.texi:18090 +#: doc/guix.texi:19395 msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output." -msgstr "" +msgstr "L'exemple suivant montre comment on peut lancer @code{mpd} en tant qu'utilisateur @code{\"bob\"} sur le port @code{6666}. Il utilise pulseaudio pour la sortie audio." #. type: example -#: doc/guix.texi:18096 +#: doc/guix.texi:19401 #, no-wrap msgid "" "(service mpd-service-type\n" @@ -33677,119 +36255,123 @@ msgid "" " (user \"bob\")\n" " (port \"6666\")))\n" msgstr "" +"(service mpd-service-type\n" +" (mpd-configuration\n" +" (user \"bob\")\n" +" (port \"6666\")))\n" #. type: defvr -#: doc/guix.texi:18098 +#: doc/guix.texi:19403 #, no-wrap msgid "{Scheme Variable} mpd-service-type" msgstr "{Variable Scheme} mpd-service-type" #. type: defvr -#: doc/guix.texi:18100 +#: doc/guix.texi:19405 msgid "The service type for @command{mpd}" -msgstr "" +msgstr "Le type de service pour @command{mpd}." #. type: deftp -#: doc/guix.texi:18102 +#: doc/guix.texi:19407 #, no-wrap msgid "{Data Type} mpd-configuration" msgstr "{Type de données} mpd-configuration" #. type: deftp -#: doc/guix.texi:18104 +#: doc/guix.texi:19409 msgid "Data type representing the configuration of @command{mpd}." -msgstr "" +msgstr "Type de données représentant la configuration de @command{mpd}." #. type: item -#: doc/guix.texi:18106 +#: doc/guix.texi:19411 #, no-wrap msgid "@code{user} (default: @code{\"mpd\"})" msgstr "@code{user} (par défaut : @code{\"mpd\"})" #. type: table -#: doc/guix.texi:18108 +#: doc/guix.texi:19413 msgid "The user to run mpd as." -msgstr "" +msgstr "L'utilisateur qui lance mpd." #. type: item -#: doc/guix.texi:18109 +#: doc/guix.texi:19414 #, no-wrap msgid "@code{music-dir} (default: @code{\"~/Music\"})" msgstr "@code{music-dir} (par défaut : @code{\"~/Music\"})" #. type: table -#: doc/guix.texi:18111 +#: doc/guix.texi:19416 msgid "The directory to scan for music files." -msgstr "" +msgstr "Le répertoire à scanner pour trouver les fichiers de musique." #. type: item -#: doc/guix.texi:18112 +#: doc/guix.texi:19417 #, no-wrap msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})" msgstr "@code{playlist-dir} (par défaut : @code{\"~/.mpd/playlists\"})" #. type: table -#: doc/guix.texi:18114 +#: doc/guix.texi:19419 msgid "The directory to store playlists." -msgstr "" +msgstr "Le répertoire où stocker les playlists." #. type: item -#: doc/guix.texi:18115 +#: doc/guix.texi:19420 #, no-wrap msgid "@code{port} (default: @code{\"6600\"})" msgstr "@code{port} (par défaut : @code{\"6600\"})" #. type: table -#: doc/guix.texi:18117 +#: doc/guix.texi:19422 msgid "The port to run mpd on." -msgstr "" +msgstr "Le port sur lequel lancer mpd." #. type: item -#: doc/guix.texi:18118 +#: doc/guix.texi:19423 #, no-wrap msgid "@code{address} (default: @code{\"any\"})" msgstr "@code{address} (par défaut : @code{\"any\"})" #. type: table -#: doc/guix.texi:18121 +#: doc/guix.texi:19426 msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here." -msgstr "" +msgstr "L'adresse sur laquelle se lie mpd. Pour utiliser un socket Unix domain, un chemin absolu peut être spécifié ici." #. type: subsubsection -#: doc/guix.texi:18126 +#: doc/guix.texi:19431 #, no-wrap msgid "Virtualization services" -msgstr "" +msgstr "services de virtualisation" #. type: Plain text -#: doc/guix.texi:18131 +#: doc/guix.texi:19436 msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services." -msgstr "" +msgstr "Le module @code{(gnu services virtualization)} fournit des services pour les démons libvirt et virtlog, ainsi que d'autres services liés à la virtualisation." #. type: subsubheading -#: doc/guix.texi:18132 +#: doc/guix.texi:19437 #, no-wrap msgid "Libvirt daemon" -msgstr "" +msgstr "démon libvirt" #. type: Plain text -#: doc/guix.texi:18136 +#: doc/guix.texi:19441 msgid "@code{libvirtd} is the server side daemon component of the libvirt virtualization management system. This daemon runs on host servers and performs required management tasks for virtualized guests." -msgstr "" +msgstr "@code{libvirtd} est le démon côté serveur du système de gestion de virtualisation libvirt. Ce démon tourne sur des serveurs hôtes et effectue les taches de gestion requises pour les clients virtualisés." #. type: deffn -#: doc/guix.texi:18137 +#: doc/guix.texi:19442 #, no-wrap msgid "{Scheme Variable} libvirt-service-type" msgstr "{Variable Scheme} libvirt-service-type" #. type: deffn -#: doc/guix.texi:18140 +#: doc/guix.texi:19445 msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}." -msgstr "" +msgstr "C'est le type du @uref{https://libvirt.org, démon libvirt}. Sa valeur doit être un @code{libvirt-configuration}." #. type: example -#: doc/guix.texi:18146 +#: doc/guix.texi:19451 #, no-wrap msgid "" "(service libvirt-service-type\n" @@ -33797,1037 +36379,1042 @@ msgid "" " (unix-sock-group \"libvirt\")\n" " (tls-port \"16555\")))\n" msgstr "" +"(service libvirt-service-type\n" +" (libvirt-configuration\n" +" (unix-sock-group \"libvirt\")\n" +" (tls-port \"16555\")))\n" #. type: Plain text -#: doc/guix.texi:18151 +#: doc/guix.texi:19456 msgid "Available @code{libvirt-configuration} fields are:" msgstr "Les champs de @code{libvirt-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:18152 +#: doc/guix.texi:19457 #, no-wrap msgid "{@code{libvirt-configuration} parameter} package libvirt" msgstr "{paramètre de @code{libvirt-configuration}} package libvirt" #. type: deftypevr -#: doc/guix.texi:18154 +#: doc/guix.texi:19459 msgid "Libvirt package." -msgstr "" +msgstr "Paquet libvirt." #. type: deftypevr -#: doc/guix.texi:18157 +#: doc/guix.texi:19462 #, no-wrap msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?" msgstr "{paramètre de @code{libvirt-configuration}} boolean listen-tls?" #. type: deftypevr -#: doc/guix.texi:18160 +#: doc/guix.texi:19465 msgid "Flag listening for secure TLS connections on the public TCP/IP port. must set @code{listen} for this to have any effect." -msgstr "" +msgstr "Indique s'il faut écouter des connexions TLS sécurisées sur le port TCP/IP public. Vous devez remplir le champ @code{listen} pour que cela ait un effet." #. type: deftypevr -#: doc/guix.texi:18163 +#: doc/guix.texi:19468 msgid "It is necessary to setup a CA and issue server certificates before using this capability." -msgstr "" +msgstr "Il est nécessaire de mettre en place une CA et de créer un certificat serveur avant d'utiliser cette fonctionnalité." #. type: deftypevr -#: doc/guix.texi:18168 +#: doc/guix.texi:19473 #, no-wrap msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?" msgstr "{paramètre de @code{libvirt-configuration}} boolean listen-tcp?" #. type: deftypevr -#: doc/guix.texi:18171 +#: doc/guix.texi:19476 msgid "Listen for unencrypted TCP connections on the public TCP/IP port. must set @code{listen} for this to have any effect." -msgstr "" +msgstr "Écoute des connexions non-chiffrées sur le port TCP/IP public. Vous devez remplir le champ @code{listen} pour que cela ait un effet." #. type: deftypevr -#: doc/guix.texi:18175 +#: doc/guix.texi:19480 msgid "Using the TCP socket requires SASL authentication by default. Only SASL mechanisms which support data encryption are allowed. This is DIGEST_MD5 and GSSAPI (Kerberos5)" -msgstr "" +msgstr "L'utilisation des sockets TCP requiert une authentification SASL par défaut. Seuls les mécanismes SASL qui supportent le chiffrement des données sont permis. Il s'agit de DIGEST_MD5 et GSSAPI (Kerberos5)." #. type: deftypevr -#: doc/guix.texi:18180 +#: doc/guix.texi:19485 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string tls-port" msgstr "{paramètre de @code{libvirt-configuration}} string tls-port" #. type: deftypevr -#: doc/guix.texi:18183 +#: doc/guix.texi:19488 msgid "Port for accepting secure TLS connections This can be a port number, or service name" -msgstr "" +msgstr "Pour pour accepter les connexions TLS sécurisées. Il peut s'agir d'un numéro de port ou d'un nom de service." #. type: deftypevr -#: doc/guix.texi:18185 +#: doc/guix.texi:19490 msgid "Defaults to @samp{\"16514\"}." msgstr "La valeur par défaut est @samp{\"16514\"}." #. type: deftypevr -#: doc/guix.texi:18188 +#: doc/guix.texi:19493 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string tcp-port" msgstr "{paramètre de @code{libvirt-configuration}} string tcp-port" #. type: deftypevr -#: doc/guix.texi:18191 +#: doc/guix.texi:19496 msgid "Port for accepting insecure TCP connections This can be a port number, or service name" -msgstr "" +msgstr "Pour sur lequel accepter les connexions TCP non sécurisées. Cela peut être un numéro de port ou un nom de service." #. type: deftypevr -#: doc/guix.texi:18193 +#: doc/guix.texi:19498 msgid "Defaults to @samp{\"16509\"}." msgstr "La valeur par défaut est @samp{\"16509\"}." #. type: deftypevr -#: doc/guix.texi:18196 +#: doc/guix.texi:19501 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string listen-addr" msgstr "{paramètre de @code{libvirt-configuration}} string listen-addr" #. type: deftypevr -#: doc/guix.texi:18198 +#: doc/guix.texi:19503 msgid "IP address or hostname used for client connections." -msgstr "" +msgstr "Adresse IP ou nom d'hôte utilisé pour les connexions des clients." #. type: deftypevr -#: doc/guix.texi:18200 +#: doc/guix.texi:19505 msgid "Defaults to @samp{\"0.0.0.0\"}." msgstr "La valeur par défaut est @samp{\"0.0.0.0\"}." #. type: deftypevr -#: doc/guix.texi:18203 +#: doc/guix.texi:19508 #, no-wrap msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?" msgstr "{paramètre de @code{libvirt-configuration}} boolean mdns-adv?" #. type: deftypevr -#: doc/guix.texi:18205 +#: doc/guix.texi:19510 msgid "Flag toggling mDNS advertisement of the libvirt service." -msgstr "" +msgstr "Indique s'il faut publier le service libvirt en mDNS." #. type: deftypevr -#: doc/guix.texi:18208 +#: doc/guix.texi:19513 msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon." -msgstr "" +msgstr "Autrement, vous pouvez désactiver cela pour tous les services en stoppant le démon Avahi." #. type: deftypevr -#: doc/guix.texi:18213 +#: doc/guix.texi:19518 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string mdns-name" msgstr "{paramètre de @code{libvirt-configuration}} string mdns-name" #. type: deftypevr -#: doc/guix.texi:18216 +#: doc/guix.texi:19521 msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network." -msgstr "" +msgstr "Nom publié par défaut sur mDNS. Cela doit être unique sur le réseau local." #. type: deftypevr -#: doc/guix.texi:18218 +#: doc/guix.texi:19523 msgid "Defaults to @samp{\"Virtualization Host \"}." msgstr "La valeur par défaut est @samp{\"Virtualization Host \"}." #. type: deftypevr -#: doc/guix.texi:18221 +#: doc/guix.texi:19526 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string unix-sock-group" msgstr "{paramètre de @code{libvirt-configuration}} string unix-sock-group" #. type: deftypevr -#: doc/guix.texi:18225 +#: doc/guix.texi:19530 msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root." -msgstr "" +msgstr "Groupe propriétaire du socket Unix domain. Cela peut être utilisé pour permettre à un ensemble d'utilisateurs « de confiance » de gérer les fonctionnalités sans devenir root." #. type: deftypevr -#: doc/guix.texi:18227 -msgid "Defaults to @samp{\"root\"}." -msgstr "La valeur par défaut est @samp{\"root\"}." - -#. type: deftypevr -#: doc/guix.texi:18230 +#: doc/guix.texi:19535 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms" msgstr "{paramètre de @code{libvirt-configuration}} string unix-sock-ro-perms" #. type: deftypevr -#: doc/guix.texi:18233 +#: doc/guix.texi:19538 msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only." -msgstr "" +msgstr "Permission Unix pour le socket en lecture seule. Il est utilisé pour surveiller le statut des VM uniquement." #. type: deftypevr -#: doc/guix.texi:18235 doc/guix.texi:18253 +#: doc/guix.texi:19540 doc/guix.texi:19558 msgid "Defaults to @samp{\"0777\"}." msgstr "La valeur par défaut est @samp{\"0777\"}." #. type: deftypevr -#: doc/guix.texi:18238 +#: doc/guix.texi:19543 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms" msgstr "{paramètre de @code{libvirt-configuration}} string unix-sock-rw-perms" #. type: deftypevr -#: doc/guix.texi:18242 +#: doc/guix.texi:19547 msgid "UNIX socket permissions for the R/W socket. Default allows only root. If PolicyKit is enabled on the socket, the default will change to allow everyone (eg, 0777)" -msgstr "" +msgstr "Permission Unix pour le socket en lecture-écriture. La valeur par défaut n'autorise que root. Si PolicyKit est activé sur le socket, la valeur par défaut change et permet tout le monde (c.-à-d.@: 0777)." #. type: deftypevr -#: doc/guix.texi:18244 +#: doc/guix.texi:19549 msgid "Defaults to @samp{\"0770\"}." msgstr "La valeur par défaut est @samp{\"0770\"}." #. type: deftypevr -#: doc/guix.texi:18247 +#: doc/guix.texi:19552 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms" msgstr "{paramètre de @code{libvirt-configuration}} string unix-sock-admin-perms" #. type: deftypevr -#: doc/guix.texi:18251 +#: doc/guix.texi:19556 msgid "UNIX socket permissions for the admin socket. Default allows only owner (root), do not change it unless you are sure to whom you are exposing the access to." -msgstr "" +msgstr "permissions Unix pour le socket d'administration. La valeur par défaut ne permet que le propriétaire (root), ne la changez pas à moins que vous ne soyez sûr de savoir à qui vous exposez cet accès." #. type: deftypevr -#: doc/guix.texi:18256 +#: doc/guix.texi:19561 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir" msgstr "{paramètre de @code{libvirt-configuration}} string unix-sock-dir" #. type: deftypevr -#: doc/guix.texi:18258 +#: doc/guix.texi:19563 msgid "The directory in which sockets will be found/created." -msgstr "" +msgstr "Le répertoire dans lequel les sockets sont créés." #. type: deftypevr -#: doc/guix.texi:18260 +#: doc/guix.texi:19565 msgid "Defaults to @samp{\"/var/run/libvirt\"}." msgstr "La valeur par défaut est @samp{\"/var/run/libvirt\"}." #. type: deftypevr -#: doc/guix.texi:18263 +#: doc/guix.texi:19568 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro" msgstr "{paramètre de @code{libvirt-configuration}} string auth-unix-ro" #. type: deftypevr -#: doc/guix.texi:18266 +#: doc/guix.texi:19571 msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect" -msgstr "" +msgstr "Schéma d'authentification pour les socket Unix en lecture-seule. Par défaut les permissions des socket permettent à n'importe qui de se connecter." #. type: deftypevr -#: doc/guix.texi:18268 doc/guix.texi:18277 +#: doc/guix.texi:19573 doc/guix.texi:19582 msgid "Defaults to @samp{\"polkit\"}." msgstr "La valeur par défaut est @samp{\"polkit\"}." #. type: deftypevr -#: doc/guix.texi:18271 +#: doc/guix.texi:19576 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw" msgstr "{paramètre de @code{libvirt-configuration}} string auth-unix-rw" #. type: deftypevr -#: doc/guix.texi:18275 +#: doc/guix.texi:19580 msgid "Authentication scheme for UNIX read-write sockets. By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth." -msgstr "" +msgstr "Schéma d'authentification pour les socket UNIX en lecture-écriture. Par défaut les permissions du socket ne permettent que root. Si le support de PolicyKit a été compilé dans libvirt, la valeur par défaut utilise l'authentification « polkit »." #. type: deftypevr -#: doc/guix.texi:18280 +#: doc/guix.texi:19585 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string auth-tcp" msgstr "{paramètre de @code{libvirt-configuration}} string auth-tcp" #. type: deftypevr -#: doc/guix.texi:18284 +#: doc/guix.texi:19589 msgid "Authentication scheme for TCP sockets. If you don't enable SASL, then all TCP traffic is cleartext. Don't do this outside of a dev/test scenario." -msgstr "" +msgstr "Schéma d'authentification pour les sockets TCP. Si vous n'avez pas activé SASL, alors tout le trafic TCP est en clair. Ne le faites pas en dehors de scénario de développement ou de test." #. type: deftypevr -#: doc/guix.texi:18286 +#: doc/guix.texi:19591 msgid "Defaults to @samp{\"sasl\"}." msgstr "La valeur par défaut est @samp{\"sasl\"}." #. type: deftypevr -#: doc/guix.texi:18289 +#: doc/guix.texi:19594 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string auth-tls" msgstr "{paramètre de @code{libvirt-configuration}} string auth-tls" #. type: deftypevr -#: doc/guix.texi:18293 +#: doc/guix.texi:19598 msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates." -msgstr "" +msgstr "Schéma d'authentification pour les sockets TLS. Les sockets TLS sont déjà chiffrés par la couche TLS, et une authentification limitée est effectuée avec les certificats." #. type: deftypevr -#: doc/guix.texi:18296 +#: doc/guix.texi:19601 msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option" -msgstr "" +msgstr "Il est possible d'utiliser de n'importe quel mécanisme d'authentification SASL en utilisant « sasl » pour cette option." #. type: deftypevr -#: doc/guix.texi:18298 +#: doc/guix.texi:19603 msgid "Defaults to @samp{\"none\"}." msgstr "La valeur par défaut est @samp{\"none\"}." #. type: deftypevr -#: doc/guix.texi:18301 +#: doc/guix.texi:19606 #, no-wrap msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers" msgstr "{paramètre de @code{libvirt-configuration}} optional-list access-drivers" #. type: deftypevr -#: doc/guix.texi:18303 +#: doc/guix.texi:19608 msgid "API access control scheme." -msgstr "" +msgstr "Schéma de contrôle d'accès à l'API." #. type: deftypevr -#: doc/guix.texi:18306 +#: doc/guix.texi:19611 msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this." -msgstr "" +msgstr "Par défaut un utilisateur authentifié peut accéder à toutes les API. Les pilotes d'accès peuvent placer des restrictions là-dessus." #. type: deftypevr -#: doc/guix.texi:18311 +#: doc/guix.texi:19616 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string key-file" msgstr "{paramètre de @code{libvirt-configuration}} string key-file" #. type: deftypevr -#: doc/guix.texi:18314 +#: doc/guix.texi:19619 msgid "Server key file path. If set to an empty string, then no private key is loaded." -msgstr "" +msgstr "Chemin de fichier de la clef du serveur. Si la valeur est une chaîne vide, aucune clef privée n'est chargée." #. type: deftypevr -#: doc/guix.texi:18319 +#: doc/guix.texi:19624 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string cert-file" msgstr "{paramètre de @code{libvirt-configuration}} string cert-file" #. type: deftypevr -#: doc/guix.texi:18322 +#: doc/guix.texi:19627 msgid "Server key file path. If set to an empty string, then no certificate is loaded." -msgstr "" +msgstr "Chemin de fichier de la clef du serveur. Si la chaîne est vide, aucun certificat n'est chargé." #. type: deftypevr -#: doc/guix.texi:18327 +#: doc/guix.texi:19632 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string ca-file" msgstr "{paramètre de @code{libvirt-configuration}} string ca-file" #. type: deftypevr -#: doc/guix.texi:18330 +#: doc/guix.texi:19635 msgid "Server key file path. If set to an empty string, then no CA certificate is loaded." -msgstr "" +msgstr "Chemin de fichier de la clef du serveur. Si la chaîne est vide, aucun certificat de CA n'est chargé." #. type: deftypevr -#: doc/guix.texi:18335 +#: doc/guix.texi:19640 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string crl-file" msgstr "{paramètre de @code{libvirt-configuration}} string crl-file" #. type: deftypevr -#: doc/guix.texi:18338 +#: doc/guix.texi:19643 msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded." -msgstr "" +msgstr "Chemin de la liste de révocation des certificats. Si la chaîne est vide, aucun CRL n'est chargé." #. type: deftypevr -#: doc/guix.texi:18343 +#: doc/guix.texi:19648 #, no-wrap msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert" msgstr "{paramètre de @code{libvirt-configuration}} boolean tls-no-sanity-cert" #. type: deftypevr -#: doc/guix.texi:18345 +#: doc/guix.texi:19650 msgid "Disable verification of our own server certificates." -msgstr "" +msgstr "Désactive la vérification de nos propres certificats serveurs." #. type: deftypevr -#: doc/guix.texi:18348 +#: doc/guix.texi:19653 msgid "When libvirtd starts it performs some sanity checks against its own certificates." -msgstr "" +msgstr "Lorsque libvirtd démarre il effectue des vérifications de routine sur ses propres certificats." #. type: deftypevr -#: doc/guix.texi:18353 +#: doc/guix.texi:19658 #, no-wrap msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert" msgstr "{paramètre de @code{libvirt-configuration}} boolean tls-no-verify-cert" #. type: deftypevr -#: doc/guix.texi:18355 +#: doc/guix.texi:19660 msgid "Disable verification of client certificates." -msgstr "" +msgstr "Désactive la vérification des certificats clients." #. type: deftypevr -#: doc/guix.texi:18359 +#: doc/guix.texi:19664 msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected." -msgstr "" +msgstr "La vérification des certificats clients est le mécanisme d'authentification principal. Tout client qui ne présent pas de certificat signé par la CA sera rejeté." #. type: deftypevr -#: doc/guix.texi:18364 +#: doc/guix.texi:19669 #, no-wrap msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list" msgstr "{paramètre de @code{libvirt-configuration}} optional-list tls-allowed-dn-list" #. type: deftypevr -#: doc/guix.texi:18366 +#: doc/guix.texi:19671 msgid "Whitelist of allowed x509 Distinguished Name." -msgstr "" +msgstr "Liste blanche des Distinguished Name x509 autorisés." #. type: deftypevr -#: doc/guix.texi:18371 +#: doc/guix.texi:19676 #, no-wrap msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames" msgstr "{paramètre de @code{libvirt-configuration}} optional-list sasl-allowed-usernames" #. type: deftypevr -#: doc/guix.texi:18374 +#: doc/guix.texi:19679 msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism." -msgstr "" +msgstr "Liste blanche des noms d'utilisateur SASL permis. Le format des noms d'utilisateurs dépend du mécanisme d'authentification SASL." #. type: deftypevr -#: doc/guix.texi:18379 +#: doc/guix.texi:19684 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string tls-priority" msgstr "{paramètre de @code{libvirt-configuration}} string tls-priority" #. type: deftypevr -#: doc/guix.texi:18383 +#: doc/guix.texi:19688 msgid "Override the compile time default TLS priority string. The default is usually \"NORMAL\" unless overridden at build time. Only set this is it is desired for libvirt to deviate from the global default settings." -msgstr "" +msgstr "Modifie la chaîne de priorité TLS par défaut fixée à la compilation. La valeur par défaut est typiquement « NORMAL » à moins qu'elle n'ait été modifiée à la compilation. Ne l'indiquez que si vous voulez que libvirt agisse différemment des paramètres par défaut globaux." #. type: deftypevr -#: doc/guix.texi:18385 +#: doc/guix.texi:19690 msgid "Defaults to @samp{\"NORMAL\"}." msgstr "La valeur par défaut est @samp{\"NORMAL\"}." #. type: deftypevr -#: doc/guix.texi:18388 +#: doc/guix.texi:19693 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer max-clients" msgstr "{paramètre de @code{libvirt-configuration}} integer max-clients" #. type: deftypevr -#: doc/guix.texi:18391 doc/guix.texi:18814 +#: doc/guix.texi:19696 doc/guix.texi:20119 msgid "Maximum number of concurrent client connections to allow over all sockets combined." -msgstr "" +msgstr "Nombre maximum de connexions clientes en même temps sur tous les sockets." #. type: deftypevr -#: doc/guix.texi:18393 +#: doc/guix.texi:19698 msgid "Defaults to @samp{5000}." msgstr "La valeur par défaut est @samp{5000}." #. type: deftypevr -#: doc/guix.texi:18396 +#: doc/guix.texi:19701 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients" msgstr "{paramètre de @code{libvirt-configuration}} integer max-queued-clients" #. type: deftypevr -#: doc/guix.texi:18400 +#: doc/guix.texi:19705 msgid "Maximum length of queue of connections waiting to be accepted by the daemon. Note, that some protocols supporting retransmission may obey this so that a later reattempt at connection succeeds." -msgstr "" +msgstr "Longueur maximum de la queue de connexions en attente d'acceptation du démon. Remarquez que certains protocoles supportant la retransmission peuvent obéir à ce paramètre pour qu'une connexion ultérieure réussisse." #. type: deftypevr -#: doc/guix.texi:18405 +#: doc/guix.texi:19710 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients" msgstr "{paramètre de @code{libvirt-configuration}} integer max-anonymous-clients" #. type: deftypevr -#: doc/guix.texi:18408 +#: doc/guix.texi:19713 msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off" -msgstr "" +msgstr "Longueur maximum de la queue des clients acceptés mais pas authentifiés. Indiquez zéro pour désactiver ce paramètre." #. type: deftypevr -#: doc/guix.texi:18410 doc/guix.texi:18428 doc/guix.texi:18444 +#: doc/guix.texi:19715 doc/guix.texi:19733 doc/guix.texi:19749 msgid "Defaults to @samp{20}." msgstr "La valeur par défaut est @samp{20}." #. type: deftypevr -#: doc/guix.texi:18413 +#: doc/guix.texi:19718 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer min-workers" msgstr "{paramètre de @code{libvirt-configuration}} integer min-workers" #. type: deftypevr -#: doc/guix.texi:18415 +#: doc/guix.texi:19720 msgid "Number of workers to start up initially." -msgstr "" +msgstr "Nombre de processus de travail démarrés initialement." #. type: deftypevr -#: doc/guix.texi:18420 +#: doc/guix.texi:19725 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer max-workers" msgstr "{paramètre de @code{libvirt-configuration}} integer max-workers" #. type: deftypevr -#: doc/guix.texi:18422 +#: doc/guix.texi:19727 msgid "Maximum number of worker threads." -msgstr "" +msgstr "Nombre maximum de threads de travail." #. type: deftypevr -#: doc/guix.texi:18426 +#: doc/guix.texi:19731 msgid "If the number of active clients exceeds @code{min-workers}, then more threads are spawned, up to max_workers limit. Typically you'd want max_workers to equal maximum number of clients allowed." -msgstr "" +msgstr "Si le nombre de clients actifs dépasse @code{min-workers}, plus de threads seront démarrés, jusqu'à la limite de max_workers. Typiquement vous voulez que max_workers soit égal au nombre maximum de clients permis." #. type: deftypevr -#: doc/guix.texi:18431 +#: doc/guix.texi:19736 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer prio-workers" msgstr "{paramètre de @code{libvirt-configuration}} integer prio-workers" #. type: deftypevr -#: doc/guix.texi:18435 +#: doc/guix.texi:19740 msgid "Number of priority workers. If all workers from above pool are stuck, some calls marked as high priority (notably domainDestroy) can be executed in this pool." -msgstr "" +msgstr "Nombre de travailleurs prioritaires. Si tous les threads de travail du groupe ci-dessus sont bloqués, certains appels marqués comme prioritaires (notamment domainDestroy) peuvent être exécutés par ce groupe." #. type: deftypevr -#: doc/guix.texi:18440 +#: doc/guix.texi:19745 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer max-requests" msgstr "{paramètre de @code{libvirt-configuration}} integer max-requests" #. type: deftypevr -#: doc/guix.texi:18442 +#: doc/guix.texi:19747 msgid "Total global limit on concurrent RPC calls." -msgstr "" +msgstr "Limite globale totale sur les appels RPC concurrents." #. type: deftypevr -#: doc/guix.texi:18447 +#: doc/guix.texi:19752 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer max-client-requests" msgstr "{paramètre de @code{libvirt-configuration}} integer max-client-requests" #. type: deftypevr -#: doc/guix.texi:18451 +#: doc/guix.texi:19756 msgid "Limit on concurrent requests from a single client connection. To avoid one client monopolizing the server this should be a small fraction of the global max_requests and max_workers parameter." msgstr "" #. type: deftypevr -#: doc/guix.texi:18456 +#: doc/guix.texi:19761 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-min-workers" #. type: deftypevr -#: doc/guix.texi:18458 +#: doc/guix.texi:19763 msgid "Same as @code{min-workers} but for the admin interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:18463 +#: doc/guix.texi:19768 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-max-workers" #. type: deftypevr -#: doc/guix.texi:18465 +#: doc/guix.texi:19770 msgid "Same as @code{max-workers} but for the admin interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:18470 +#: doc/guix.texi:19775 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-max-clients" #. type: deftypevr -#: doc/guix.texi:18472 +#: doc/guix.texi:19777 msgid "Same as @code{max-clients} but for the admin interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:18477 +#: doc/guix.texi:19782 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-max-queued-clients" #. type: deftypevr -#: doc/guix.texi:18479 +#: doc/guix.texi:19784 msgid "Same as @code{max-queued-clients} but for the admin interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:18484 +#: doc/guix.texi:19789 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-max-client-requests" #. type: deftypevr -#: doc/guix.texi:18486 +#: doc/guix.texi:19791 msgid "Same as @code{max-client-requests} but for the admin interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:18491 +#: doc/guix.texi:19796 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer log-level" msgstr "{paramètre de @code{libvirt-configuration}} integer log-level" #. type: deftypevr -#: doc/guix.texi:18493 doc/guix.texi:18716 +#: doc/guix.texi:19798 doc/guix.texi:20021 msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug." msgstr "" #. type: deftypevr -#: doc/guix.texi:18498 +#: doc/guix.texi:19803 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string log-filters" msgstr "{paramètre de @code{libvirt-configuration}} string log-filters" #. type: deftypevr -#: doc/guix.texi:18500 doc/guix.texi:18723 +#: doc/guix.texi:19805 doc/guix.texi:20028 msgid "Logging filters." msgstr "" #. type: deftypevr -#: doc/guix.texi:18503 doc/guix.texi:18726 +#: doc/guix.texi:19808 doc/guix.texi:20031 msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:" msgstr "" #. type: itemize -#: doc/guix.texi:18507 doc/guix.texi:18730 +#: doc/guix.texi:19812 doc/guix.texi:20035 msgid "x:name" -msgstr "" +msgstr "x:nom" #. type: itemize -#: doc/guix.texi:18510 doc/guix.texi:18733 +#: doc/guix.texi:19815 doc/guix.texi:20038 msgid "x:+name" -msgstr "" +msgstr "x:+nom" #. type: deftypevr -#: doc/guix.texi:18520 doc/guix.texi:18743 +#: doc/guix.texi:19825 doc/guix.texi:20048 msgid "where @code{name} is a string which is matched against the category given in the @code{VIR_LOG_INIT()} at the top of each libvirt source file, e.g., \"remote\", \"qemu\", or \"util.json\" (the name in the filter can be a substring of the full category name, in order to match multiple similar categories), the optional \"+\" prefix tells libvirt to log stack trace for each message matching name, and @code{x} is the minimal level where matching messages should be logged:" msgstr "" #. type: itemize -#: doc/guix.texi:18524 doc/guix.texi:18569 doc/guix.texi:18747 -#: doc/guix.texi:18792 +#: doc/guix.texi:19829 doc/guix.texi:19874 doc/guix.texi:20052 +#: doc/guix.texi:20097 msgid "1: DEBUG" msgstr "" #. type: itemize -#: doc/guix.texi:18527 doc/guix.texi:18572 doc/guix.texi:18750 -#: doc/guix.texi:18795 +#: doc/guix.texi:19832 doc/guix.texi:19877 doc/guix.texi:20055 +#: doc/guix.texi:20100 msgid "2: INFO" msgstr "" #. type: itemize -#: doc/guix.texi:18530 doc/guix.texi:18575 doc/guix.texi:18753 -#: doc/guix.texi:18798 +#: doc/guix.texi:19835 doc/guix.texi:19880 doc/guix.texi:20058 +#: doc/guix.texi:20103 msgid "3: WARNING" msgstr "" #. type: itemize -#: doc/guix.texi:18533 doc/guix.texi:18578 doc/guix.texi:18756 -#: doc/guix.texi:18801 +#: doc/guix.texi:19838 doc/guix.texi:19883 doc/guix.texi:20061 +#: doc/guix.texi:20106 msgid "4: ERROR" msgstr "" #. type: deftypevr -#: doc/guix.texi:18538 doc/guix.texi:18761 +#: doc/guix.texi:19843 doc/guix.texi:20066 msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces." msgstr "" #. type: deftypevr -#: doc/guix.texi:18540 doc/guix.texi:18763 +#: doc/guix.texi:19845 doc/guix.texi:20068 msgid "Defaults to @samp{\"3:remote 4:event\"}." msgstr "La valeur par défaut est @samp{\"3:remote 4:event\"}." #. type: deftypevr -#: doc/guix.texi:18543 +#: doc/guix.texi:19848 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string log-outputs" msgstr "{paramètre de @code{libvirt-configuration}} string log-outputs" #. type: deftypevr -#: doc/guix.texi:18545 doc/guix.texi:18768 +#: doc/guix.texi:19850 doc/guix.texi:20073 msgid "Logging outputs." msgstr "" #. type: deftypevr -#: doc/guix.texi:18548 doc/guix.texi:18771 +#: doc/guix.texi:19853 doc/guix.texi:20076 msgid "An output is one of the places to save logging information The format for an output can be:" msgstr "" #. type: item -#: doc/guix.texi:18550 doc/guix.texi:18773 +#: doc/guix.texi:19855 doc/guix.texi:20078 #, no-wrap msgid "x:stderr" msgstr "" #. type: table -#: doc/guix.texi:18552 doc/guix.texi:18775 +#: doc/guix.texi:19857 doc/guix.texi:20080 msgid "output goes to stderr" msgstr "" #. type: item -#: doc/guix.texi:18553 doc/guix.texi:18776 +#: doc/guix.texi:19858 doc/guix.texi:20081 #, no-wrap msgid "x:syslog:name" msgstr "" #. type: table -#: doc/guix.texi:18555 doc/guix.texi:18778 +#: doc/guix.texi:19860 doc/guix.texi:20083 msgid "use syslog for the output and use the given name as the ident" msgstr "" #. type: item -#: doc/guix.texi:18556 doc/guix.texi:18779 +#: doc/guix.texi:19861 doc/guix.texi:20084 #, no-wrap msgid "x:file:file_path" msgstr "" #. type: table -#: doc/guix.texi:18558 doc/guix.texi:18781 +#: doc/guix.texi:19863 doc/guix.texi:20086 msgid "output to a file, with the given filepath" msgstr "" #. type: item -#: doc/guix.texi:18559 doc/guix.texi:18782 +#: doc/guix.texi:19864 doc/guix.texi:20087 #, no-wrap msgid "x:journald" msgstr "" #. type: table -#: doc/guix.texi:18561 doc/guix.texi:18784 +#: doc/guix.texi:19866 doc/guix.texi:20089 msgid "output to journald logging system" msgstr "" #. type: deftypevr -#: doc/guix.texi:18565 doc/guix.texi:18788 +#: doc/guix.texi:19870 doc/guix.texi:20093 msgid "In all case the x prefix is the minimal level, acting as a filter" msgstr "" #. type: deftypevr -#: doc/guix.texi:18583 doc/guix.texi:18806 +#: doc/guix.texi:19888 doc/guix.texi:20111 msgid "Multiple outputs can be defined, they just need to be separated by spaces." msgstr "" #. type: deftypevr -#: doc/guix.texi:18585 doc/guix.texi:18808 +#: doc/guix.texi:19890 doc/guix.texi:20113 msgid "Defaults to @samp{\"3:stderr\"}." msgstr "La valeur par défaut est @samp{\"3:stderr\"}." #. type: deftypevr -#: doc/guix.texi:18588 +#: doc/guix.texi:19893 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer audit-level" msgstr "{paramètre de @code{libvirt-configuration}} integer audit-level" #. type: deftypevr -#: doc/guix.texi:18590 +#: doc/guix.texi:19895 msgid "Allows usage of the auditing subsystem to be altered" msgstr "" #. type: itemize -#: doc/guix.texi:18594 +#: doc/guix.texi:19899 msgid "0: disable all auditing" msgstr "" #. type: itemize -#: doc/guix.texi:18597 +#: doc/guix.texi:19902 msgid "1: enable auditing, only if enabled on host" msgstr "" #. type: itemize -#: doc/guix.texi:18600 +#: doc/guix.texi:19905 msgid "2: enable auditing, and exit if disabled on host." msgstr "" #. type: deftypevr -#: doc/guix.texi:18607 +#: doc/guix.texi:19912 #, no-wrap msgid "{@code{libvirt-configuration} parameter} boolean audit-logging" msgstr "{paramètre de @code{libvirt-configuration}} boolean audit-logging" #. type: deftypevr -#: doc/guix.texi:18609 +#: doc/guix.texi:19914 msgid "Send audit messages via libvirt logging infrastructure." msgstr "" #. type: deftypevr -#: doc/guix.texi:18614 +#: doc/guix.texi:19919 #, no-wrap msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid" msgstr "{paramètre de @code{libvirt-configuration}} optional-string host-uuid" #. type: deftypevr -#: doc/guix.texi:18616 +#: doc/guix.texi:19921 msgid "Host UUID. UUID must not have all digits be the same." msgstr "" #. type: deftypevr -#: doc/guix.texi:18621 +#: doc/guix.texi:19926 #, no-wrap msgid "{@code{libvirt-configuration} parameter} string host-uuid-source" msgstr "{paramètre de @code{libvirt-configuration}} string host-uuid-source" #. type: deftypevr -#: doc/guix.texi:18623 +#: doc/guix.texi:19928 msgid "Source to read host UUID." msgstr "" #. type: itemize -#: doc/guix.texi:18627 +#: doc/guix.texi:19932 msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}" msgstr "" #. type: itemize -#: doc/guix.texi:18630 +#: doc/guix.texi:19935 msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}" msgstr "" #. type: deftypevr -#: doc/guix.texi:18635 +#: doc/guix.texi:19940 msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated." msgstr "" #. type: deftypevr -#: doc/guix.texi:18637 +#: doc/guix.texi:19942 msgid "Defaults to @samp{\"smbios\"}." msgstr "La valeur par défaut est @samp{\"smbios\"}." #. type: deftypevr -#: doc/guix.texi:18640 +#: doc/guix.texi:19945 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval" msgstr "{paramètre de @code{libvirt-configuration}} integer keepalive-interval" #. type: deftypevr -#: doc/guix.texi:18645 +#: doc/guix.texi:19950 msgid "A keepalive message is sent to a client after @code{keepalive_interval} seconds of inactivity to check if the client is still responding. If set to -1, libvirtd will never send keepalive requests; however clients can still send them and the daemon will send responses." msgstr "" #. type: deftypevr -#: doc/guix.texi:18650 +#: doc/guix.texi:19955 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer keepalive-count" msgstr "{paramètre de @code{libvirt-configuration}} integer keepalive-count" #. type: deftypevr -#: doc/guix.texi:18654 +#: doc/guix.texi:19959 msgid "Maximum number of keepalive messages that are allowed to be sent to the client without getting any response before the connection is considered broken." msgstr "" #. type: deftypevr -#: doc/guix.texi:18661 +#: doc/guix.texi:19966 msgid "In other words, the connection is automatically closed approximately after @code{keepalive_interval * (keepalive_count + 1)} seconds since the last message received from the client. When @code{keepalive-count} is set to 0, connections will be automatically closed after @code{keepalive-interval} seconds of inactivity without sending any keepalive messages." msgstr "" #. type: deftypevr -#: doc/guix.texi:18666 +#: doc/guix.texi:19971 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-keepalive-interval" #. type: deftypevr -#: doc/guix.texi:18668 doc/guix.texi:18675 +#: doc/guix.texi:19973 doc/guix.texi:19980 msgid "Same as above but for admin interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:18673 +#: doc/guix.texi:19978 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count" msgstr "{paramètre de @code{libvirt-configuration}} integer admin-keepalive-count" #. type: deftypevr -#: doc/guix.texi:18680 +#: doc/guix.texi:19985 #, no-wrap msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout" msgstr "{paramètre de @code{libvirt-configuration}} integer ovs-timeout" #. type: deftypevr -#: doc/guix.texi:18682 +#: doc/guix.texi:19987 msgid "Timeout for Open vSwitch calls." msgstr "" #. type: deftypevr -#: doc/guix.texi:18686 +#: doc/guix.texi:19991 msgid "The @code{ovs-vsctl} utility is used for the configuration and its timeout option is set by default to 5 seconds to avoid potential infinite waits blocking libvirt." msgstr "" #. type: subsubheading -#: doc/guix.texi:18693 +#: doc/guix.texi:19998 #, no-wrap msgid "Virtlog daemon" -msgstr "" +msgstr "démon Virrlog" #. type: Plain text -#: doc/guix.texi:18696 +#: doc/guix.texi:20001 msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles." msgstr "" #. type: Plain text -#: doc/guix.texi:18702 +#: doc/guix.texi:20007 msgid "This daemon is not used directly by libvirt client applications, rather it is called on their behalf by @code{libvirtd}. By maintaining the logs in a standalone daemon, the main @code{libvirtd} daemon can be restarted without risk of losing logs. The @code{virtlogd} daemon has the ability to re-exec() itself upon receiving @code{SIGUSR1}, to allow live upgrades without downtime." msgstr "" #. type: deffn -#: doc/guix.texi:18703 +#: doc/guix.texi:20008 #, no-wrap msgid "{Scheme Variable} virtlog-service-type" msgstr "{Variable Scheme} virtlog-service-type" #. type: deffn -#: doc/guix.texi:18706 +#: doc/guix.texi:20011 msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}." msgstr "" #. type: example -#: doc/guix.texi:18711 +#: doc/guix.texi:20016 #, no-wrap msgid "" "(service virtlog-service-type\n" " (virtlog-configuration\n" " (max-clients 1000)))\n" msgstr "" +"(service virtlog-service-type\n" +" (virtlog-configuration\n" +" (max-clients 1000)))\n" #. type: deftypevr -#: doc/guix.texi:18714 +#: doc/guix.texi:20019 #, no-wrap msgid "{@code{virtlog-configuration} parameter} integer log-level" msgstr "{paramètre de @code{virtlog-configuration}} integer log-level" #. type: deftypevr -#: doc/guix.texi:18721 +#: doc/guix.texi:20026 #, no-wrap msgid "{@code{virtlog-configuration} parameter} string log-filters" msgstr "{paramètre de @code{virtlog-configuration}} string log-filters" #. type: deftypevr -#: doc/guix.texi:18766 +#: doc/guix.texi:20071 #, no-wrap msgid "{@code{virtlog-configuration} parameter} string log-outputs" msgstr "{paramètre de @code{virtlog-configuration}} string log-outputs" #. type: deftypevr -#: doc/guix.texi:18811 +#: doc/guix.texi:20116 #, no-wrap msgid "{@code{virtlog-configuration} parameter} integer max-clients" msgstr "{paramètre de @code{virtlog-configuration}} integer max-clients" #. type: deftypevr -#: doc/guix.texi:18816 +#: doc/guix.texi:20121 msgid "Defaults to @samp{1024}." msgstr "La valeur par défaut est @samp{1024}." #. type: deftypevr -#: doc/guix.texi:18819 +#: doc/guix.texi:20124 #, no-wrap msgid "{@code{virtlog-configuration} parameter} integer max-size" msgstr "{paramètre de @code{virtlog-configuration}} integer max-size" #. type: deftypevr -#: doc/guix.texi:18821 +#: doc/guix.texi:20126 msgid "Maximum file size before rolling over." msgstr "" #. type: deftypevr -#: doc/guix.texi:18823 +#: doc/guix.texi:20128 msgid "Defaults to @samp{2MB}" -msgstr "" +msgstr "La valeur par défaut est @samp{2MB}." #. type: deftypevr -#: doc/guix.texi:18826 +#: doc/guix.texi:20131 #, no-wrap msgid "{@code{virtlog-configuration} parameter} integer max-backups" msgstr "{paramètre de @code{virtlog-configuration}} integer max-backups" #. type: deftypevr -#: doc/guix.texi:18828 +#: doc/guix.texi:20133 msgid "Maximum number of backup files to keep." msgstr "" #. type: deftypevr -#: doc/guix.texi:18830 +#: doc/guix.texi:20135 msgid "Defaults to @samp{3}" -msgstr "" +msgstr "La valeur par défaut est @samp{3}." #. type: subsubheading -#: doc/guix.texi:18833 +#: doc/guix.texi:20138 #, no-wrap msgid "Transparent Emulation with QEMU" -msgstr "" +msgstr "Émulation transparente avec QEMU" #. type: cindex -#: doc/guix.texi:18835 +#: doc/guix.texi:20140 #, no-wrap msgid "emulation" -msgstr "" +msgstr "émulation" #. type: code{#1} -#: doc/guix.texi:18836 +#: doc/guix.texi:20141 #, no-wrap msgid "binfmt_misc" -msgstr "" +msgstr "binfmt_misc" #. type: Plain text -#: doc/guix.texi:18842 +#: doc/guix.texi:20147 msgid "@code{qemu-binfmt-service-type} provides support for transparent emulation of program binaries built for different architectures---e.g., it allows you to transparently execute an ARMv7 program on an x86_64 machine. It achieves this by combining the @uref{https://www.qemu.org, QEMU} emulator and the @code{binfmt_misc} feature of the kernel Linux." msgstr "" #. type: defvr -#: doc/guix.texi:18843 +#: doc/guix.texi:20148 #, no-wrap msgid "{Scheme Variable} qemu-binfmt-service-type" msgstr "{Variable Scheme} qemu-binfmt-service-type" #. type: defvr -#: doc/guix.texi:18848 +#: doc/guix.texi:20153 msgid "This is the type of the QEMU/binfmt service for transparent emulation. Its value must be a @code{qemu-binfmt-configuration} object, which specifies the QEMU package to use as well as the architecture we want to emulated:" msgstr "" #. type: example -#: doc/guix.texi:18853 +#: doc/guix.texi:20158 #, no-wrap msgid "" "(service qemu-binfmt-service-type\n" " (qemu-binfmt-configuration\n" " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\" \"ppc\"))))\n" msgstr "" +"(service qemu-binfmt-service-type\n" +" (qemu-binfmt-configuration\n" +" (platforms (lookup-qemu-platforms \"arm\" \"aarch64\" \"ppc\"))))\n" #. type: defvr -#: doc/guix.texi:18859 +#: doc/guix.texi:20164 msgid "In this example, we enable transparent emulation for the ARM and aarch64 platforms. Running @code{herd stop qemu-binfmt} turns it off, and running @code{herd start qemu-binfmt} turns it back on (@pxref{Invoking herd, the @command{herd} command,, shepherd, The GNU Shepherd Manual})." msgstr "" #. type: deftp -#: doc/guix.texi:18861 +#: doc/guix.texi:20166 #, no-wrap msgid "{Data Type} qemu-binfmt-configuration" msgstr "{Type de données} qemu-binfmt-configuration" #. type: deftp -#: doc/guix.texi:18863 +#: doc/guix.texi:20168 msgid "This is the configuration for the @code{qemu-binfmt} service." msgstr "" #. type: item -#: doc/guix.texi:18865 +#: doc/guix.texi:20170 #, no-wrap msgid "@code{platforms} (default: @code{'()})" msgstr "@code{platforms} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:18868 +#: doc/guix.texi:20173 msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)." msgstr "" #. type: item -#: doc/guix.texi:18869 +#: doc/guix.texi:20174 #, no-wrap msgid "@code{guix-support?} (default: @code{#f})" msgstr "@code{guix-support?} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:18875 +#: doc/guix.texi:20180 msgid "When it is true, QEMU and all its dependencies are added to the build environment of @command{guix-daemon} (@pxref{Invoking guix-daemon, @code{--chroot-directory} option}). This allows the @code{binfmt_misc} handlers to be used within the build environment, which in turn means that you can transparently build programs for another architecture." msgstr "" #. type: table -#: doc/guix.texi:18878 +#: doc/guix.texi:20183 msgid "For example, let's suppose you're on an x86_64 machine and you have this service:" msgstr "" #. type: example -#: doc/guix.texi:18884 +#: doc/guix.texi:20189 #, no-wrap msgid "" "(service qemu-binfmt-service-type\n" @@ -34835,264 +37422,268 @@ msgid "" " (platforms (lookup-qemu-platforms \"arm\"))\n" " (guix-support? #t)))\n" msgstr "" +"(service qemu-binfmt-service-type\n" +" (qemu-binfmt-configuration\n" +" (platforms (lookup-qemu-platforms \"arm\"))\n" +" (guix-support? #t)))\n" #. type: table -#: doc/guix.texi:18887 +#: doc/guix.texi:20192 msgid "You can run:" -msgstr "" +msgstr "Vous pouvez lancer :" #. type: example -#: doc/guix.texi:18890 +#: doc/guix.texi:20195 #, no-wrap msgid "guix build -s armhf-linux inkscape\n" -msgstr "" +msgstr "guix build -s armhf-linux inkscape\n" #. type: table -#: doc/guix.texi:18897 +#: doc/guix.texi:20202 msgid "and it will build Inkscape for ARMv7 @emph{as if it were a native build}, transparently using QEMU to emulate the ARMv7 CPU. Pretty handy if you'd like to test a package build for an architecture you don't have access to!" msgstr "" #. type: item -#: doc/guix.texi:18898 +#: doc/guix.texi:20203 #, no-wrap msgid "@code{qemu} (default: @code{qemu})" msgstr "@code{qemu} (par défaut : @code{qemu})" #. type: table -#: doc/guix.texi:18900 +#: doc/guix.texi:20205 msgid "The QEMU package to use." msgstr "Le paquet QEMU à utiliser." #. type: deffn -#: doc/guix.texi:18903 +#: doc/guix.texi:20208 #, no-wrap msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}" msgstr "{Procédure Scheme} lookup-qemu-platforms @var{platforms}@dots{}" #. type: deffn -#: doc/guix.texi:18908 +#: doc/guix.texi:20213 msgid "Return the list of QEMU platform objects corresponding to @var{platforms}@dots{}. @var{platforms} must be a list of strings corresponding to platform names, such as @code{\"arm\"}, @code{\"sparc\"}, @code{\"mips64el\"}, and so on." msgstr "" #. type: deffn -#: doc/guix.texi:18910 +#: doc/guix.texi:20215 #, no-wrap msgid "{Scheme Procedure} qemu-platform? @var{obj}" msgstr "{Procédure Scheme} qemu-platform? @var{obj}" #. type: deffn -#: doc/guix.texi:18912 +#: doc/guix.texi:20217 msgid "Return true if @var{obj} is a platform object." msgstr "" #. type: deffn -#: doc/guix.texi:18914 +#: doc/guix.texi:20219 #, no-wrap msgid "{Scheme Procedure} qemu-platform-name @var{platform}" msgstr "{Procédure Scheme} qemu-platform-name @var{platform}" #. type: deffn -#: doc/guix.texi:18916 +#: doc/guix.texi:20221 msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}." msgstr "" #. type: Plain text -#: doc/guix.texi:18928 +#: doc/guix.texi:20233 msgid "The @code{(gnu services version-control)} module provides a service to allow remote access to local Git repositories. There are three options: the @code{git-daemon-service}, which provides access to repositories via the @code{git://} unsecured TCP-based protocol, extending the @code{nginx} web server to proxy some requests to @code{git-http-backend}, or providing a web interface with @code{cgit-service-type}." msgstr "" #. type: deffn -#: doc/guix.texi:18929 +#: doc/guix.texi:20234 #, no-wrap msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]" msgstr "{Procédure Scheme} git-daemon-service [#:config (git-daemon-configuration)]" #. type: deffn -#: doc/guix.texi:18933 +#: doc/guix.texi:20238 msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access." msgstr "" #. type: deffn -#: doc/guix.texi:18939 +#: doc/guix.texi:20244 msgid "The optional @var{config} argument should be a @code{} object, by default it allows read-only access to exported@footnote{By creating the magic file \"git-daemon-export-ok\" in the repository directory.} repositories under @file{/srv/git}." msgstr "" #. type: deftp -#: doc/guix.texi:18942 +#: doc/guix.texi:20247 #, no-wrap msgid "{Data Type} git-daemon-configuration" msgstr "{Type de données} git-daemon-configuration" #. type: deftp -#: doc/guix.texi:18944 +#: doc/guix.texi:20249 msgid "Data type representing the configuration for @code{git-daemon-service}." msgstr "" #. type: item -#: doc/guix.texi:18946 doc/guix.texi:19002 +#: doc/guix.texi:20251 doc/guix.texi:20307 #, no-wrap msgid "@code{package} (default: @var{git})" msgstr "@code{package} (par défaut : @var{git})" #. type: table -#: doc/guix.texi:18948 doc/guix.texi:19004 +#: doc/guix.texi:20253 doc/guix.texi:20309 msgid "Package object of the Git distributed version control system." msgstr "" #. type: item -#: doc/guix.texi:18949 doc/guix.texi:19008 +#: doc/guix.texi:20254 doc/guix.texi:20313 #, no-wrap msgid "@code{export-all?} (default: @var{#f})" msgstr "@code{export-all?} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:18952 +#: doc/guix.texi:20257 msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file." msgstr "" #. type: item -#: doc/guix.texi:18953 +#: doc/guix.texi:20258 #, no-wrap msgid "@code{base-path} (default: @file{/srv/git})" -msgstr "" +msgstr "@code{base-path} (par défaut : @file{/srv/git})" #. type: table -#: doc/guix.texi:18958 +#: doc/guix.texi:20263 msgid "Whether to remap all the path requests as relative to the given path. If you run git daemon with @var{(base-path \"/srv/git\")} on example.com, then if you later try to pull @code{git://example.com/hello.git}, git daemon will interpret the path as @code{/srv/git/hello.git}." msgstr "" #. type: item -#: doc/guix.texi:18959 +#: doc/guix.texi:20264 #, no-wrap msgid "@code{user-path} (default: @var{#f})" msgstr "@code{user-path} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:18966 +#: doc/guix.texi:20271 msgid "Whether to allow @code{~user} notation to be used in requests. When specified with empty string, requests to @code{git://host/~alice/foo} is taken as a request to access @code{foo} repository in the home directory of user @code{alice}. If @var{(user-path \"path\")} is specified, the same request is taken as a request to access @code{path/foo} repository in the home directory of user @code{alice}." msgstr "" #. type: item -#: doc/guix.texi:18967 +#: doc/guix.texi:20272 #, no-wrap msgid "@code{listen} (default: @var{'()})" msgstr "@code{listen} (par défaut : @var{'()})" #. type: table -#: doc/guix.texi:18970 +#: doc/guix.texi:20275 msgid "Whether to listen on specific IP addresses or hostnames, defaults to all." msgstr "" #. type: item -#: doc/guix.texi:18971 +#: doc/guix.texi:20276 #, no-wrap msgid "@code{port} (default: @var{#f})" msgstr "@code{port} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:18973 +#: doc/guix.texi:20278 msgid "Whether to listen on an alternative port, which defaults to 9418." msgstr "" #. type: item -#: doc/guix.texi:18974 +#: doc/guix.texi:20279 #, no-wrap msgid "@code{whitelist} (default: @var{'()})" msgstr "@code{whitelist} (par défaut : @var{'()})" #. type: table -#: doc/guix.texi:18976 +#: doc/guix.texi:20281 msgid "If not empty, only allow access to this list of directories." msgstr "" #. type: item -#: doc/guix.texi:18977 +#: doc/guix.texi:20282 #, no-wrap msgid "@code{extra-options} (default: @var{'()})" msgstr "@code{extra-options} (par défaut : @var{'()})" #. type: table -#: doc/guix.texi:18980 +#: doc/guix.texi:20285 msgid "Extra options will be passed to @code{git daemon}, please run @command{man git-daemon} for more information." msgstr "" #. type: Plain text -#: doc/guix.texi:18994 +#: doc/guix.texi:20299 msgid "The @code{git://} protocol lacks authentication. When you pull from a repository fetched via @code{git://}, you don't know that the data you receive was modified is really coming from the specified host, and you have your connection is subject to eavesdropping. It's better to use an authenticated and encrypted transport, such as @code{https}. Although Git allows you to serve repositories using unsophisticated file-based web servers, there is a faster protocol implemented by the @code{git-http-backend} program. This program is the back-end of a proper Git web service. It is designed to sit behind a FastCGI proxy. @xref{Web Services}, for more on running the necessary @code{fcgiwrap} daemon." msgstr "" #. type: Plain text -#: doc/guix.texi:18997 +#: doc/guix.texi:20302 msgid "Guix has a separate configuration data type for serving Git repositories over HTTP." msgstr "" #. type: deftp -#: doc/guix.texi:18998 +#: doc/guix.texi:20303 #, no-wrap msgid "{Data Type} git-http-configuration" msgstr "{Type de données} git-http-configuration" #. type: deftp -#: doc/guix.texi:19000 +#: doc/guix.texi:20305 msgid "Data type representing the configuration for @code{git-http-service}." msgstr "" #. type: item -#: doc/guix.texi:19005 +#: doc/guix.texi:20310 #, no-wrap msgid "@code{git-root} (default: @file{/srv/git})" -msgstr "" +msgstr "@code{git-root} (par défaut : @file{/srv/git})" #. type: table -#: doc/guix.texi:19007 +#: doc/guix.texi:20312 msgid "Directory containing the Git repositories to expose to the world." msgstr "" #. type: table -#: doc/guix.texi:19011 +#: doc/guix.texi:20316 msgid "Whether to expose access for all Git repositories in @var{git-root}, even if they do not have the @file{git-daemon-export-ok} file." msgstr "" #. type: item -#: doc/guix.texi:19012 +#: doc/guix.texi:20317 #, no-wrap msgid "@code{uri-path} (default: @file{/git/})" -msgstr "" +msgstr "@code{uri-path} (par défaut : @file{/git/})" #. type: table -#: doc/guix.texi:19017 +#: doc/guix.texi:20322 msgid "Path prefix for Git access. With the default @code{/git/} prefix, this will map @code{http://@var{server}/git/@var{repo}.git} to @code{/srv/git/@var{repo}.git}. Requests whose URI paths do not begin with this prefix are not passed on to this Git instance." msgstr "" #. type: item -#: doc/guix.texi:19018 +#: doc/guix.texi:20323 #, no-wrap msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})" msgstr "@code{fcgiwrap-socket} (par défaut : @code{127.0.0.1:9000})" #. type: table -#: doc/guix.texi:19021 +#: doc/guix.texi:20326 msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}." msgstr "" #. type: Plain text -#: doc/guix.texi:19028 +#: doc/guix.texi:20333 msgid "There is no @code{git-http-service-type}, currently; instead you can create an @code{nginx-location-configuration} from a @code{git-http-configuration} and then add that location to a web server." msgstr "" #. type: deffn -#: doc/guix.texi:19029 +#: doc/guix.texi:20334 #, no-wrap msgid "{Scheme Procedure} git-http-nginx-location-configuration @" msgstr "{Procédure Scheme} git-http-nginx-location-configuration @" #. type: deffn -#: doc/guix.texi:19034 +#: doc/guix.texi:20339 msgid "[config=(git-http-configuration)] Compute an @code{nginx-location-configuration} that corresponds to the given Git http configuration. An example nginx service definition to serve the default @file{/srv/git} over HTTPS might be:" msgstr "" #. type: example -#: doc/guix.texi:19051 +#: doc/guix.texi:20356 #, no-wrap msgid "" "(service nginx-service-type\n" @@ -35111,1531 +37702,1796 @@ msgid "" " (git-http-nginx-location-configuration\n" " (git-http-configuration (uri-path \"/\"))))))))))\n" msgstr "" +"(service nginx-service-type\n" +" (nginx-configuration\n" +" (server-blocks\n" +" (list\n" +" (nginx-server-configuration\n" +" (listen '(\"443 ssl\"))\n" +" (server-name \"git.my-host.org\")\n" +" (ssl-certificate\n" +" \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n" +" (ssl-certificate-key\n" +" \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n" +" (locations\n" +" (list\n" +" (git-http-nginx-location-configuration\n" +" (git-http-configuration (uri-path \"/\"))))))))))\n" #. type: deffn -#: doc/guix.texi:19058 +#: doc/guix.texi:20363 msgid "This example assumes that you are using Let's Encrypt to get your TLS certificate. @xref{Certificate Services}. The default @code{certbot} service will redirect all HTTP traffic on @code{git.my-host.org} to HTTPS. You will also need to add an @code{fcgiwrap} proxy to your system services. @xref{Web Services}." msgstr "" #. type: subsubheading -#: doc/guix.texi:19060 +#: doc/guix.texi:20365 #, no-wrap msgid "Cgit Service" -msgstr "" +msgstr "Service Cgit" #. type: cindex -#: doc/guix.texi:19062 +#: doc/guix.texi:20367 #, no-wrap msgid "Cgit service" -msgstr "" +msgstr "service cgit" #. type: cindex -#: doc/guix.texi:19063 +#: doc/guix.texi:20368 #, no-wrap msgid "Git, web interface" -msgstr "" +msgstr "git, interface web" #. type: Plain text -#: doc/guix.texi:19066 +#: doc/guix.texi:20371 msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C." -msgstr "" +msgstr "@uref{https://git.zx2c4.com/cgit/, Cgit} est une interface web pour des dépôts Git écrite en C." #. type: Plain text -#: doc/guix.texi:19069 +#: doc/guix.texi:20374 msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})." msgstr "" #. type: example -#: doc/guix.texi:19072 +#: doc/guix.texi:20377 #, no-wrap msgid "(service cgit-service-type)\n" -msgstr "" +msgstr "(service cgit-service-type)\n" #. type: Plain text -#: doc/guix.texi:19076 +#: doc/guix.texi:20381 msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string." msgstr "" #. type: Plain text -#: doc/guix.texi:19080 +#: doc/guix.texi:20385 msgid "Available @code{cgit-configuration} fields are:" msgstr "Les champs de @code{cgit-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:19081 +#: doc/guix.texi:20386 #, no-wrap msgid "{@code{cgit-configuration} parameter} package package" msgstr "{paramètre de @code{cgit-configuration}} package package" #. type: deftypevr -#: doc/guix.texi:19083 +#: doc/guix.texi:20388 msgid "The CGIT package." -msgstr "" +msgstr "Le paquet cgit." #. type: deftypevr -#: doc/guix.texi:19086 +#: doc/guix.texi:20391 #, no-wrap msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx" msgstr "{paramètre de @code{cgit-configuration}} nginx-server-configuration-list nginx" #. type: deftypevr -#: doc/guix.texi:19088 +#: doc/guix.texi:20393 msgid "NGINX configuration." -msgstr "" +msgstr "Configuration Nginx." #. type: deftypevr -#: doc/guix.texi:19091 +#: doc/guix.texi:20396 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object about-filter" msgstr "{paramètre de @code{cgit-configuration}} file-object about-filter" #. type: deftypevr -#: doc/guix.texi:19094 +#: doc/guix.texi:20399 msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)." msgstr "" #. type: deftypevr -#: doc/guix.texi:19099 +#: doc/guix.texi:20404 #, no-wrap msgid "{@code{cgit-configuration} parameter} string agefile" msgstr "{paramètre de @code{cgit-configuration}} string agefile" #. type: deftypevr -#: doc/guix.texi:19102 +#: doc/guix.texi:20407 msgid "Specifies a path, relative to each repository path, which can be used to specify the date and time of the youngest commit in the repository." msgstr "" #. type: deftypevr -#: doc/guix.texi:19107 +#: doc/guix.texi:20412 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object auth-filter" msgstr "{paramètre de @code{cgit-configuration}} file-object auth-filter" #. type: deftypevr -#: doc/guix.texi:19110 +#: doc/guix.texi:20415 msgid "Specifies a command that will be invoked for authenticating repository access." msgstr "" #. type: deftypevr -#: doc/guix.texi:19115 +#: doc/guix.texi:20420 #, no-wrap msgid "{@code{cgit-configuration} parameter} string branch-sort" msgstr "{paramètre de @code{cgit-configuration}} string branch-sort" #. type: deftypevr -#: doc/guix.texi:19118 +#: doc/guix.texi:20423 msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set @samp{name} enables ordering by branch name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19120 +#: doc/guix.texi:20425 msgid "Defaults to @samp{\"name\"}." msgstr "La valeur par défaut est @samp{\"name\"}." #. type: deftypevr -#: doc/guix.texi:19123 +#: doc/guix.texi:20428 #, no-wrap msgid "{@code{cgit-configuration} parameter} string cache-root" msgstr "{paramètre de @code{cgit-configuration}} string cache-root" #. type: deftypevr -#: doc/guix.texi:19125 +#: doc/guix.texi:20430 msgid "Path used to store the cgit cache entries." msgstr "" #. type: deftypevr -#: doc/guix.texi:19127 +#: doc/guix.texi:20432 msgid "Defaults to @samp{\"/var/cache/cgit\"}." msgstr "La valeur par défaut est @samp{\"/var/cache/cgit\"}." #. type: deftypevr -#: doc/guix.texi:19130 +#: doc/guix.texi:20435 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-static-ttl" #. type: deftypevr -#: doc/guix.texi:19133 +#: doc/guix.texi:20438 msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1." msgstr "" #. type: deftypevr -#: doc/guix.texi:19135 doc/guix.texi:19578 +#: doc/guix.texi:20440 doc/guix.texi:20883 msgid "Defaults to @samp{-1}." msgstr "La valeur par défaut est @samp{-1}." #. type: deftypevr -#: doc/guix.texi:19138 +#: doc/guix.texi:20443 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-dynamic-ttl" #. type: deftypevr -#: doc/guix.texi:19141 +#: doc/guix.texi:20446 msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1." msgstr "" #. type: deftypevr -#: doc/guix.texi:19146 +#: doc/guix.texi:20451 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-repo-ttl" #. type: deftypevr -#: doc/guix.texi:19149 +#: doc/guix.texi:20454 msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19154 +#: doc/guix.texi:20459 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-root-ttl" #. type: deftypevr -#: doc/guix.texi:19157 +#: doc/guix.texi:20462 msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19162 +#: doc/guix.texi:20467 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-scanrc-ttl" #. type: deftypevr -#: doc/guix.texi:19165 +#: doc/guix.texi:20470 msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories." msgstr "" #. type: deftypevr -#: doc/guix.texi:19170 +#: doc/guix.texi:20475 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-about-ttl" #. type: deftypevr -#: doc/guix.texi:19173 +#: doc/guix.texi:20478 msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19178 +#: doc/guix.texi:20483 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl" msgstr "{paramètre de @code{cgit-configuration}} integer cache-snapshot-ttl" #. type: deftypevr -#: doc/guix.texi:19181 +#: doc/guix.texi:20486 msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots." msgstr "" #. type: deftypevr -#: doc/guix.texi:19186 +#: doc/guix.texi:20491 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer cache-size" msgstr "{paramètre de @code{cgit-configuration}} integer cache-size" #. type: deftypevr -#: doc/guix.texi:19189 +#: doc/guix.texi:20494 msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled." msgstr "" #. type: deftypevr -#: doc/guix.texi:19194 +#: doc/guix.texi:20499 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?" msgstr "{paramètre de @code{cgit-configuration}} boolean case-sensitive-sort?" #. type: deftypevr -#: doc/guix.texi:19196 +#: doc/guix.texi:20501 msgid "Sort items in the repo list case sensitively." msgstr "" #. type: deftypevr -#: doc/guix.texi:19201 +#: doc/guix.texi:20506 #, no-wrap msgid "{@code{cgit-configuration} parameter} list clone-prefix" msgstr "{paramètre de @code{cgit-configuration}} list clone-prefix" #. type: deftypevr -#: doc/guix.texi:19204 +#: doc/guix.texi:20509 msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository." msgstr "" #. type: deftypevr -#: doc/guix.texi:19209 +#: doc/guix.texi:20514 #, no-wrap msgid "{@code{cgit-configuration} parameter} list clone-url" msgstr "{paramètre de @code{cgit-configuration}} list clone-url" #. type: deftypevr -#: doc/guix.texi:19211 +#: doc/guix.texi:20516 msgid "List of @code{clone-url} templates." msgstr "" #. type: deftypevr -#: doc/guix.texi:19216 +#: doc/guix.texi:20521 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object commit-filter" msgstr "{paramètre de @code{cgit-configuration}} file-object commit-filter" #. type: deftypevr -#: doc/guix.texi:19218 +#: doc/guix.texi:20523 msgid "Command which will be invoked to format commit messages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19223 +#: doc/guix.texi:20528 #, no-wrap msgid "{@code{cgit-configuration} parameter} string commit-sort" msgstr "{paramètre de @code{cgit-configuration}} string commit-sort" #. type: deftypevr -#: doc/guix.texi:19227 doc/guix.texi:19785 +#: doc/guix.texi:20532 doc/guix.texi:21090 msgid "Flag which, when set to @samp{date}, enables strict date ordering in the commit log, and when set to @samp{topo} enables strict topological ordering." msgstr "" #. type: deftypevr -#: doc/guix.texi:19229 +#: doc/guix.texi:20534 msgid "Defaults to @samp{\"git log\"}." msgstr "La valeur par défaut est @samp{\"git log\"}." #. type: deftypevr -#: doc/guix.texi:19232 +#: doc/guix.texi:20537 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object css" msgstr "{paramètre de @code{cgit-configuration}} file-object css" #. type: deftypevr -#: doc/guix.texi:19234 +#: doc/guix.texi:20539 msgid "URL which specifies the css document to include in all cgit pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19236 +#: doc/guix.texi:20541 msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}." msgstr "La valeur par défaut est @samp{\"/share/cgit/cgit.css\"}." #. type: deftypevr -#: doc/guix.texi:19239 +#: doc/guix.texi:20544 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object email-filter" msgstr "{paramètre de @code{cgit-configuration}} file-object email-filter" #. type: deftypevr -#: doc/guix.texi:19243 +#: doc/guix.texi:20548 msgid "Specifies a command which will be invoked to format names and email address of committers, authors, and taggers, as represented in various places throughout the cgit interface." msgstr "" #. type: deftypevr -#: doc/guix.texi:19248 +#: doc/guix.texi:20553 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean embedded?" msgstr "{paramètre de @code{cgit-configuration}} boolean embedded?" #. type: deftypevr -#: doc/guix.texi:19251 +#: doc/guix.texi:20556 msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19256 +#: doc/guix.texi:20561 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-commit-graph?" #. type: deftypevr -#: doc/guix.texi:19260 +#: doc/guix.texi:20565 msgid "Flag which, when set to @samp{#t}, will make cgit print an ASCII-art commit history graph to the left of the commit messages in the repository log page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19265 +#: doc/guix.texi:20570 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-filter-overrides?" #. type: deftypevr -#: doc/guix.texi:19268 +#: doc/guix.texi:20573 msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files." msgstr "" #. type: deftypevr -#: doc/guix.texi:19273 +#: doc/guix.texi:20578 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-follow-links?" #. type: deftypevr -#: doc/guix.texi:19276 +#: doc/guix.texi:20581 msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19281 +#: doc/guix.texi:20586 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-http-clone?" #. type: deftypevr -#: doc/guix.texi:19284 +#: doc/guix.texi:20589 msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones." msgstr "" #. type: deftypevr -#: doc/guix.texi:19289 +#: doc/guix.texi:20594 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-index-links?" #. type: deftypevr -#: doc/guix.texi:19292 +#: doc/guix.texi:20597 msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index." msgstr "" #. type: deftypevr -#: doc/guix.texi:19297 +#: doc/guix.texi:20602 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-index-owner?" #. type: deftypevr -#: doc/guix.texi:19300 +#: doc/guix.texi:20605 msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index." msgstr "" #. type: deftypevr -#: doc/guix.texi:19305 +#: doc/guix.texi:20610 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-log-filecount?" #. type: deftypevr -#: doc/guix.texi:19308 +#: doc/guix.texi:20613 msgid "Flag which, when set to @samp{#t}, will make cgit print the number of modified files for each commit on the repository log page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19313 +#: doc/guix.texi:20618 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-log-linecount?" #. type: deftypevr -#: doc/guix.texi:19316 +#: doc/guix.texi:20621 msgid "Flag which, when set to @samp{#t}, will make cgit print the number of added and removed lines for each commit on the repository log page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19321 +#: doc/guix.texi:20626 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-remote-branches?" #. type: deftypevr -#: doc/guix.texi:19324 doc/guix.texi:19848 +#: doc/guix.texi:20629 doc/guix.texi:21153 msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views." msgstr "" #. type: deftypevr -#: doc/guix.texi:19329 +#: doc/guix.texi:20634 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-subject-links?" #. type: deftypevr -#: doc/guix.texi:19333 +#: doc/guix.texi:20638 msgid "Flag which, when set to @code{1}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19338 +#: doc/guix.texi:20643 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-html-serving?" #. type: deftypevr -#: doc/guix.texi:19342 +#: doc/guix.texi:20647 msgid "Flag which, when set to @samp{#t}, will make cgit use the subject of the parent commit as link text when generating links to parent commits in commit view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19347 +#: doc/guix.texi:20652 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-tree-linenumbers?" #. type: deftypevr -#: doc/guix.texi:19350 +#: doc/guix.texi:20655 msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19355 +#: doc/guix.texi:20660 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?" msgstr "{paramètre de @code{cgit-configuration}} boolean enable-git-config?" #. type: deftypevr -#: doc/guix.texi:19358 +#: doc/guix.texi:20663 msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings." msgstr "" #. type: deftypevr -#: doc/guix.texi:19363 +#: doc/guix.texi:20668 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object favicon" msgstr "{paramètre de @code{cgit-configuration}} file-object favicon" #. type: deftypevr -#: doc/guix.texi:19365 +#: doc/guix.texi:20670 msgid "URL used as link to a shortcut icon for cgit." msgstr "" #. type: deftypevr -#: doc/guix.texi:19367 +#: doc/guix.texi:20672 msgid "Defaults to @samp{\"/favicon.ico\"}." msgstr "La valeur par défaut est @samp{\"/favicon.ico\"}." #. type: deftypevr -#: doc/guix.texi:19370 +#: doc/guix.texi:20675 #, no-wrap msgid "{@code{cgit-configuration} parameter} string footer" msgstr "{paramètre de @code{cgit-configuration}} string footer" #. type: deftypevr -#: doc/guix.texi:19374 +#: doc/guix.texi:20679 msgid "The content of the file specified with this option will be included verbatim at the bottom of all pages (i.e. it replaces the standard \"generated by...\" message)." msgstr "" #. type: deftypevr -#: doc/guix.texi:19379 +#: doc/guix.texi:20684 #, no-wrap msgid "{@code{cgit-configuration} parameter} string head-include" msgstr "{paramètre de @code{cgit-configuration}} string head-include" #. type: deftypevr -#: doc/guix.texi:19382 +#: doc/guix.texi:20687 msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19387 +#: doc/guix.texi:20692 #, no-wrap msgid "{@code{cgit-configuration} parameter} string header" msgstr "{paramètre de @code{cgit-configuration}} string header" #. type: deftypevr -#: doc/guix.texi:19390 +#: doc/guix.texi:20695 msgid "The content of the file specified with this option will be included verbatim at the top of all pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19395 +#: doc/guix.texi:20700 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object include" msgstr "{paramètre de @code{cgit-configuration}} file-object include" #. type: deftypevr -#: doc/guix.texi:19398 +#: doc/guix.texi:20703 msgid "Name of a configfile to include before the rest of the current config- file is parsed." msgstr "" #. type: deftypevr -#: doc/guix.texi:19403 +#: doc/guix.texi:20708 #, no-wrap msgid "{@code{cgit-configuration} parameter} string index-header" msgstr "{paramètre de @code{cgit-configuration}} string index-header" #. type: deftypevr -#: doc/guix.texi:19406 +#: doc/guix.texi:20711 msgid "The content of the file specified with this option will be included verbatim above the repository index." msgstr "" #. type: deftypevr -#: doc/guix.texi:19411 +#: doc/guix.texi:20716 #, no-wrap msgid "{@code{cgit-configuration} parameter} string index-info" msgstr "{paramètre de @code{cgit-configuration}} string index-info" #. type: deftypevr -#: doc/guix.texi:19414 +#: doc/guix.texi:20719 msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19419 +#: doc/guix.texi:20724 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean local-time?" msgstr "{paramètre de @code{cgit-configuration}} boolean local-time?" #. type: deftypevr -#: doc/guix.texi:19422 +#: doc/guix.texi:20727 msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone." msgstr "" #. type: deftypevr -#: doc/guix.texi:19427 +#: doc/guix.texi:20732 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object logo" msgstr "{paramètre de @code{cgit-configuration}} file-object logo" #. type: deftypevr -#: doc/guix.texi:19430 +#: doc/guix.texi:20735 msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19432 +#: doc/guix.texi:20737 msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}." msgstr "La valeur par défaut est @samp{\"/share/cgit/cgit.png\"}." #. type: deftypevr -#: doc/guix.texi:19435 +#: doc/guix.texi:20740 #, no-wrap msgid "{@code{cgit-configuration} parameter} string logo-link" msgstr "{paramètre de @code{cgit-configuration}} string logo-link" #. type: deftypevr -#: doc/guix.texi:19437 doc/guix.texi:19894 +#: doc/guix.texi:20742 doc/guix.texi:21199 msgid "URL loaded when clicking on the cgit logo image." msgstr "" #. type: deftypevr -#: doc/guix.texi:19442 +#: doc/guix.texi:20747 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object owner-filter" msgstr "{paramètre de @code{cgit-configuration}} file-object owner-filter" #. type: deftypevr -#: doc/guix.texi:19445 +#: doc/guix.texi:20750 msgid "Command which will be invoked to format the Owner column of the main page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19450 +#: doc/guix.texi:20755 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer max-atom-items" msgstr "{paramètre de @code{cgit-configuration}} integer max-atom-items" #. type: deftypevr -#: doc/guix.texi:19452 +#: doc/guix.texi:20757 msgid "Number of items to display in atom feeds view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19454 doc/guix.texi:19689 doc/guix.texi:19697 -#: doc/guix.texi:19705 +#: doc/guix.texi:20759 doc/guix.texi:20994 doc/guix.texi:21002 +#: doc/guix.texi:21010 msgid "Defaults to @samp{10}." msgstr "La valeur par défaut est @samp{10}." #. type: deftypevr -#: doc/guix.texi:19457 +#: doc/guix.texi:20762 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer max-commit-count" msgstr "{paramètre de @code{cgit-configuration}} integer max-commit-count" #. type: deftypevr -#: doc/guix.texi:19459 +#: doc/guix.texi:20764 msgid "Number of entries to list per page in \"log\" view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19461 doc/guix.texi:19476 +#: doc/guix.texi:20766 doc/guix.texi:20781 msgid "Defaults to @samp{50}." msgstr "La valeur par défaut est @samp{50}." #. type: deftypevr -#: doc/guix.texi:19464 +#: doc/guix.texi:20769 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer max-message-length" msgstr "{paramètre de @code{cgit-configuration}} integer max-message-length" #. type: deftypevr -#: doc/guix.texi:19466 +#: doc/guix.texi:20771 msgid "Number of commit message characters to display in \"log\" view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19468 doc/guix.texi:19484 +#: doc/guix.texi:20773 doc/guix.texi:20789 msgid "Defaults to @samp{80}." msgstr "La valeur par défaut est @samp{80}." #. type: deftypevr -#: doc/guix.texi:19471 +#: doc/guix.texi:20776 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer max-repo-count" msgstr "{paramètre de @code{cgit-configuration}} integer max-repo-count" #. type: deftypevr -#: doc/guix.texi:19474 +#: doc/guix.texi:20779 msgid "Specifies the number of entries to list per page on the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19479 +#: doc/guix.texi:20784 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length" msgstr "{paramètre de @code{cgit-configuration}} integer max-repodesc-length" #. type: deftypevr -#: doc/guix.texi:19482 +#: doc/guix.texi:20787 msgid "Specifies the maximum number of repo description characters to display on the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19487 +#: doc/guix.texi:20792 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer max-blob-size" msgstr "{paramètre de @code{cgit-configuration}} integer max-blob-size" #. type: deftypevr -#: doc/guix.texi:19489 +#: doc/guix.texi:20794 msgid "Specifies the maximum size of a blob to display HTML for in KBytes." msgstr "" #. type: deftypevr -#: doc/guix.texi:19494 +#: doc/guix.texi:20799 #, no-wrap msgid "{@code{cgit-configuration} parameter} string max-stats" msgstr "{paramètre de @code{cgit-configuration}} string max-stats" #. type: deftypevr -#: doc/guix.texi:19497 +#: doc/guix.texi:20802 msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19502 +#: doc/guix.texi:20807 #, no-wrap msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype" msgstr "{paramètre de @code{cgit-configuration}} mimetype-alist mimetype" #. type: deftypevr -#: doc/guix.texi:19504 +#: doc/guix.texi:20809 msgid "Mimetype for the specified filename extension." msgstr "" #. type: deftypevr -#: doc/guix.texi:19508 +#: doc/guix.texi:20813 msgid "Defaults to @samp{((gif \"image/gif\") (html \"text/html\") (jpg \"image/jpeg\") (jpeg \"image/jpeg\") (pdf \"application/pdf\") (png \"image/png\") (svg \"image/svg+xml\"))}." msgstr "La valeur par défaut est @samp{((gif \"image/gif\") (html \"text/html\") (jpg \"image/jpeg\") (jpeg \"image/jpeg\") (pdf \"application/pdf\") (png \"image/png\") (svg \"image/svg+xml\"))}." #. type: deftypevr -#: doc/guix.texi:19511 +#: doc/guix.texi:20816 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object mimetype-file" msgstr "{paramètre de @code{cgit-configuration}} file-object mimetype-file" #. type: deftypevr -#: doc/guix.texi:19513 +#: doc/guix.texi:20818 msgid "Specifies the file to use for automatic mimetype lookup." msgstr "" #. type: deftypevr -#: doc/guix.texi:19518 +#: doc/guix.texi:20823 #, no-wrap msgid "{@code{cgit-configuration} parameter} string module-link" msgstr "{paramètre de @code{cgit-configuration}} string module-link" #. type: deftypevr -#: doc/guix.texi:19521 +#: doc/guix.texi:20826 msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing." msgstr "" #. type: deftypevr -#: doc/guix.texi:19526 +#: doc/guix.texi:20831 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean nocache?" msgstr "{paramètre de @code{cgit-configuration}} boolean nocache?" #. type: deftypevr -#: doc/guix.texi:19528 +#: doc/guix.texi:20833 msgid "If set to the value @samp{#t} caching will be disabled." msgstr "" #. type: deftypevr -#: doc/guix.texi:19533 +#: doc/guix.texi:20838 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean noplainemail?" msgstr "{paramètre de @code{cgit-configuration}} boolean noplainemail?" #. type: deftypevr -#: doc/guix.texi:19536 +#: doc/guix.texi:20841 msgid "If set to @samp{#t} showing full author email addresses will be disabled." msgstr "" #. type: deftypevr -#: doc/guix.texi:19541 +#: doc/guix.texi:20846 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean noheader?" msgstr "{paramètre de @code{cgit-configuration}} boolean noheader?" #. type: deftypevr -#: doc/guix.texi:19544 +#: doc/guix.texi:20849 msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19549 +#: doc/guix.texi:20854 #, no-wrap msgid "{@code{cgit-configuration} parameter} project-list project-list" msgstr "{paramètre de @code{cgit-configuration}} project-list project-list" #. type: deftypevr -#: doc/guix.texi:19553 +#: doc/guix.texi:20858 msgid "A list of subdirectories inside of @code{repository-directory}, relative to it, that should loaded as Git repositories. An empty list means that all subdirectories will be loaded." msgstr "" #. type: deftypevr -#: doc/guix.texi:19558 +#: doc/guix.texi:20863 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object readme" msgstr "{paramètre de @code{cgit-configuration}} file-object readme" #. type: deftypevr -#: doc/guix.texi:19560 +#: doc/guix.texi:20865 msgid "Text which will be used as default value for @code{cgit-repo-readme}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19565 +#: doc/guix.texi:20870 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?" msgstr "{paramètre de @code{cgit-configuration}} boolean remove-suffix?" #. type: deftypevr -#: doc/guix.texi:19569 +#: doc/guix.texi:20874 msgid "If set to @code{#t} and @code{repository-directory} is enabled, if any repositories are found with a suffix of @code{.git}, this suffix will be removed for the URL and name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19574 +#: doc/guix.texi:20879 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer renamelimit" msgstr "{paramètre de @code{cgit-configuration}} integer renamelimit" #. type: deftypevr -#: doc/guix.texi:19576 +#: doc/guix.texi:20881 msgid "Maximum number of files to consider when detecting renames." msgstr "" #. type: deftypevr -#: doc/guix.texi:19581 +#: doc/guix.texi:20886 #, no-wrap msgid "{@code{cgit-configuration} parameter} string repository-sort" msgstr "{paramètre de @code{cgit-configuration}} string repository-sort" #. type: deftypevr -#: doc/guix.texi:19583 +#: doc/guix.texi:20888 msgid "The way in which repositories in each section are sorted." msgstr "" #. type: deftypevr -#: doc/guix.texi:19588 +#: doc/guix.texi:20893 #, no-wrap msgid "{@code{cgit-configuration} parameter} robots-list robots" msgstr "{paramètre de @code{cgit-configuration}} robots-list robots" #. type: deftypevr -#: doc/guix.texi:19590 +#: doc/guix.texi:20895 msgid "Text used as content for the @code{robots} meta-tag." msgstr "" #. type: deftypevr -#: doc/guix.texi:19592 +#: doc/guix.texi:20897 msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}." msgstr "La valeur par défaut est @samp{(\"noindex\" \"nofollow\")}." #. type: deftypevr -#: doc/guix.texi:19595 +#: doc/guix.texi:20900 #, no-wrap msgid "{@code{cgit-configuration} parameter} string root-desc" msgstr "{paramètre de @code{cgit-configuration}} string root-desc" #. type: deftypevr -#: doc/guix.texi:19597 +#: doc/guix.texi:20902 msgid "Text printed below the heading on the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19599 +#: doc/guix.texi:20904 msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}." msgstr "La valeur par défaut est @samp{\"a fast webinterface for the git dscm\"}." #. type: deftypevr -#: doc/guix.texi:19602 +#: doc/guix.texi:20907 #, no-wrap msgid "{@code{cgit-configuration} parameter} string root-readme" msgstr "{paramètre de @code{cgit-configuration}} string root-readme" #. type: deftypevr -#: doc/guix.texi:19605 +#: doc/guix.texi:20910 msgid "The content of the file specified with this option will be included verbatim below thef \"about\" link on the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19610 +#: doc/guix.texi:20915 #, no-wrap msgid "{@code{cgit-configuration} parameter} string root-title" msgstr "{paramètre de @code{cgit-configuration}} string root-title" #. type: deftypevr -#: doc/guix.texi:19612 +#: doc/guix.texi:20917 msgid "Text printed as heading on the repository index page." msgstr "" #. type: deftypevr -#: doc/guix.texi:19617 +#: doc/guix.texi:20922 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path" msgstr "{paramètre de @code{cgit-configuration}} boolean scan-hidden-path" #. type: deftypevr -#: doc/guix.texi:19623 +#: doc/guix.texi:20928 msgid "If set to @samp{#t} and repository-directory is enabled, repository-directory will recurse into directories whose name starts with a period. Otherwise, repository-directory will stay away from such directories, considered as \"hidden\". Note that this does not apply to the \".git\" directory in non-bare repos." msgstr "" #. type: deftypevr -#: doc/guix.texi:19628 +#: doc/guix.texi:20933 #, no-wrap msgid "{@code{cgit-configuration} parameter} list snapshots" msgstr "{paramètre de @code{cgit-configuration}} list snapshots" #. type: deftypevr -#: doc/guix.texi:19631 +#: doc/guix.texi:20936 msgid "Text which specifies the default set of snapshot formats that cgit generates links for." msgstr "" #. type: deftypevr -#: doc/guix.texi:19636 +#: doc/guix.texi:20941 #, no-wrap msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory" msgstr "{paramètre de @code{cgit-configuration}} repository-directory repository-directory" #. type: deftypevr -#: doc/guix.texi:19639 +#: doc/guix.texi:20944 msgid "Name of the directory to scan for repositories (represents @code{scan-path})." msgstr "" #. type: deftypevr -#: doc/guix.texi:19641 +#: doc/guix.texi:20946 msgid "Defaults to @samp{\"/srv/git\"}." msgstr "La valeur par défaut est @samp{\"/srv/git\"}." #. type: deftypevr -#: doc/guix.texi:19644 +#: doc/guix.texi:20949 #, no-wrap msgid "{@code{cgit-configuration} parameter} string section" msgstr "{paramètre de @code{cgit-configuration}} string section" #. type: deftypevr -#: doc/guix.texi:19647 doc/guix.texi:19963 +#: doc/guix.texi:20952 doc/guix.texi:21268 msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19652 +#: doc/guix.texi:20957 #, no-wrap msgid "{@code{cgit-configuration} parameter} string section-sort" msgstr "{paramètre de @code{cgit-configuration}} string section-sort" #. type: deftypevr -#: doc/guix.texi:19655 +#: doc/guix.texi:20960 msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19660 +#: doc/guix.texi:20965 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer section-from-path" msgstr "{paramètre de @code{cgit-configuration}} integer section-from-path" #. type: deftypevr -#: doc/guix.texi:19663 +#: doc/guix.texi:20968 msgid "A number which, if defined prior to repository-directory, specifies how many path elements from each repo path to use as a default section name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19668 +#: doc/guix.texi:20973 #, no-wrap msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?" msgstr "{paramètre de @code{cgit-configuration}} boolean side-by-side-diffs?" #. type: deftypevr -#: doc/guix.texi:19671 +#: doc/guix.texi:20976 msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default." msgstr "" #. type: deftypevr -#: doc/guix.texi:19676 +#: doc/guix.texi:20981 #, no-wrap msgid "{@code{cgit-configuration} parameter} file-object source-filter" msgstr "{paramètre de @code{cgit-configuration}} file-object source-filter" #. type: deftypevr -#: doc/guix.texi:19679 +#: doc/guix.texi:20984 msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19684 +#: doc/guix.texi:20989 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer summary-branches" msgstr "{paramètre de @code{cgit-configuration}} integer summary-branches" #. type: deftypevr -#: doc/guix.texi:19687 +#: doc/guix.texi:20992 msgid "Specifies the number of branches to display in the repository \"summary\" view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19692 +#: doc/guix.texi:20997 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer summary-log" msgstr "{paramètre de @code{cgit-configuration}} integer summary-log" #. type: deftypevr -#: doc/guix.texi:19695 +#: doc/guix.texi:21000 msgid "Specifies the number of log entries to display in the repository \"summary\" view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19700 +#: doc/guix.texi:21005 #, no-wrap msgid "{@code{cgit-configuration} parameter} integer summary-tags" msgstr "{paramètre de @code{cgit-configuration}} integer summary-tags" #. type: deftypevr -#: doc/guix.texi:19703 +#: doc/guix.texi:21008 msgid "Specifies the number of tags to display in the repository \"summary\" view." msgstr "" #. type: deftypevr -#: doc/guix.texi:19708 +#: doc/guix.texi:21013 #, no-wrap msgid "{@code{cgit-configuration} parameter} string strict-export" msgstr "{paramètre de @code{cgit-configuration}} string strict-export" #. type: deftypevr -#: doc/guix.texi:19711 +#: doc/guix.texi:21016 msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository." msgstr "" #. type: deftypevr -#: doc/guix.texi:19716 +#: doc/guix.texi:21021 #, no-wrap msgid "{@code{cgit-configuration} parameter} string virtual-root" msgstr "{paramètre de @code{cgit-configuration}} string virtual-root" #. type: deftypevr -#: doc/guix.texi:19718 +#: doc/guix.texi:21023 msgid "URL which, if specified, will be used as root for all cgit links." msgstr "" #. type: deftypevr -#: doc/guix.texi:19720 +#: doc/guix.texi:21025 msgid "Defaults to @samp{\"/\"}." msgstr "La valeur par défaut est @samp{\"/\"}." #. type: deftypevr -#: doc/guix.texi:19723 +#: doc/guix.texi:21028 #, no-wrap msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories" msgstr "{paramètre de @code{cgit-configuration}} repository-cgit-configuration-list repositories" #. type: deftypevr -#: doc/guix.texi:19725 +#: doc/guix.texi:21030 msgid "A list of @dfn{cgit-repo} records to use with config." msgstr "" #. type: deftypevr -#: doc/guix.texi:19729 +#: doc/guix.texi:21034 msgid "Available @code{repository-cgit-configuration} fields are:" msgstr "Les champs de @code{repository-cgit-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:19730 +#: doc/guix.texi:21035 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-list snapshots" #. type: deftypevr -#: doc/guix.texi:19733 +#: doc/guix.texi:21038 msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting." msgstr "" #. type: deftypevr -#: doc/guix.texi:19738 +#: doc/guix.texi:21043 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-file-object source-filter" #. type: deftypevr -#: doc/guix.texi:19740 +#: doc/guix.texi:21045 msgid "Override the default @code{source-filter}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19745 +#: doc/guix.texi:21050 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string url" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string url" #. type: deftypevr -#: doc/guix.texi:19747 +#: doc/guix.texi:21052 msgid "The relative URL used to access the repository." msgstr "" #. type: deftypevr -#: doc/guix.texi:19752 +#: doc/guix.texi:21057 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-file-object about-filter" #. type: deftypevr -#: doc/guix.texi:19754 +#: doc/guix.texi:21059 msgid "Override the default @code{about-filter}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19759 +#: doc/guix.texi:21064 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string branch-sort" #. type: deftypevr -#: doc/guix.texi:19762 +#: doc/guix.texi:21067 msgid "Flag which, when set to @samp{age}, enables date ordering in the branch ref list, and when set to @samp{name} enables ordering by branch name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19767 +#: doc/guix.texi:21072 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-list clone-url" #. type: deftypevr -#: doc/guix.texi:19769 +#: doc/guix.texi:21074 msgid "A list of URLs which can be used to clone repo." msgstr "" #. type: deftypevr -#: doc/guix.texi:19774 +#: doc/guix.texi:21079 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-file-object commit-filter" #. type: deftypevr -#: doc/guix.texi:19776 +#: doc/guix.texi:21081 msgid "Override the default @code{commit-filter}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19781 +#: doc/guix.texi:21086 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string commit-sort" #. type: deftypevr -#: doc/guix.texi:19790 +#: doc/guix.texi:21095 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string defbranch" #. type: deftypevr -#: doc/guix.texi:19795 +#: doc/guix.texi:21100 msgid "The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used as default instead. By default branch pointed to by HEAD, or \"master\" if there is no suitable HEAD." msgstr "" #. type: deftypevr -#: doc/guix.texi:19800 +#: doc/guix.texi:21105 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string desc" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string desc" #. type: deftypevr -#: doc/guix.texi:19802 +#: doc/guix.texi:21107 msgid "The value to show as repository description." msgstr "" #. type: deftypevr -#: doc/guix.texi:19807 +#: doc/guix.texi:21112 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string homepage" #. type: deftypevr -#: doc/guix.texi:19809 +#: doc/guix.texi:21114 msgid "The value to show as repository homepage." msgstr "" #. type: deftypevr -#: doc/guix.texi:19814 +#: doc/guix.texi:21119 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-file-object email-filter" #. type: deftypevr -#: doc/guix.texi:19816 +#: doc/guix.texi:21121 msgid "Override the default @code{email-filter}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19821 +#: doc/guix.texi:21126 #, no-wrap -msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-commit-graph?" -msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean enable-commit-graph?" +msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?" +msgstr "{paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-commit-graph?" #. type: deftypevr -#: doc/guix.texi:19824 +#: doc/guix.texi:21129 msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19829 +#: doc/guix.texi:21134 #, no-wrap -msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-log-filecount?" -msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean enable-log-filecount?" +msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?" +msgstr "{paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-log-filecount?" #. type: deftypevr -#: doc/guix.texi:19832 +#: doc/guix.texi:21137 msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19837 +#: doc/guix.texi:21142 #, no-wrap -msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-log-linecount?" -msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean enable-log-linecount?" +msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?" +msgstr "{paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-log-linecount?" #. type: deftypevr -#: doc/guix.texi:19840 +#: doc/guix.texi:21145 msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19845 +#: doc/guix.texi:21150 #, no-wrap -msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-remote-branches?" -msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean enable-remote-branches?" +msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?" +msgstr "{paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-remote-branches?" #. type: deftypevr -#: doc/guix.texi:19853 +#: doc/guix.texi:21158 #, no-wrap -msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-subject-links?" -msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean enable-subject-links?" +msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?" +msgstr "{paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-subject-links?" #. type: deftypevr -#: doc/guix.texi:19856 +#: doc/guix.texi:21161 msgid "A flag which can be used to override the global setting @code{enable-subject-links?}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19861 +#: doc/guix.texi:21166 #, no-wrap -msgid "{@code{repository-cgit-configuration} parameter} repo-boolean enable-html-serving?" -msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean enable-html-serving?" +msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?" +msgstr "{paramètre de @code{repository-cgit-configuration}} maybe-repo-boolean enable-html-serving?" #. type: deftypevr -#: doc/guix.texi:19864 +#: doc/guix.texi:21169 msgid "A flag which can be used to override the global setting @code{enable-html-serving?}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19869 +#: doc/guix.texi:21174 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean hide?" #. type: deftypevr -#: doc/guix.texi:19872 +#: doc/guix.texi:21177 msgid "Flag which, when set to @code{#t}, hides the repository from the repository index." msgstr "" #. type: deftypevr -#: doc/guix.texi:19877 +#: doc/guix.texi:21182 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-boolean ignore?" #. type: deftypevr -#: doc/guix.texi:19879 +#: doc/guix.texi:21184 msgid "Flag which, when set to @samp{#t}, ignores the repository." msgstr "" #. type: deftypevr -#: doc/guix.texi:19884 +#: doc/guix.texi:21189 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-file-object logo" #. type: deftypevr -#: doc/guix.texi:19887 +#: doc/guix.texi:21192 msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages." msgstr "" #. type: deftypevr -#: doc/guix.texi:19892 +#: doc/guix.texi:21197 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string logo-link" #. type: deftypevr -#: doc/guix.texi:19899 +#: doc/guix.texi:21204 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-file-object owner-filter" #. type: deftypevr -#: doc/guix.texi:19901 +#: doc/guix.texi:21206 msgid "Override the default @code{owner-filter}." msgstr "" #. type: deftypevr -#: doc/guix.texi:19906 +#: doc/guix.texi:21211 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string module-link" #. type: deftypevr -#: doc/guix.texi:19910 +#: doc/guix.texi:21215 msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing. The arguments for the formatstring are the path and SHA1 of the submodule commit." msgstr "" #. type: deftypevr -#: doc/guix.texi:19915 +#: doc/guix.texi:21220 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path" msgstr "{paramètre de @code{repository-cgit-configuration}} module-link-path module-link-path" #. type: deftypevr -#: doc/guix.texi:19919 +#: doc/guix.texi:21224 msgid "Text which will be used as the formatstring for a hyperlink when a submodule with the specified subdirectory path is printed in a directory listing." msgstr "" #. type: deftypevr -#: doc/guix.texi:19924 +#: doc/guix.texi:21229 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string max-stats" #. type: deftypevr -#: doc/guix.texi:19926 +#: doc/guix.texi:21231 msgid "Override the default maximum statistics period." msgstr "" #. type: deftypevr -#: doc/guix.texi:19931 +#: doc/guix.texi:21236 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string name" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string name" #. type: deftypevr -#: doc/guix.texi:19933 +#: doc/guix.texi:21238 msgid "The value to show as repository name." msgstr "" #. type: deftypevr -#: doc/guix.texi:19938 +#: doc/guix.texi:21243 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string owner" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string owner" #. type: deftypevr -#: doc/guix.texi:19940 +#: doc/guix.texi:21245 msgid "A value used to identify the owner of the repository." msgstr "" #. type: deftypevr -#: doc/guix.texi:19945 +#: doc/guix.texi:21250 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string path" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string path" #. type: deftypevr -#: doc/guix.texi:19947 +#: doc/guix.texi:21252 msgid "An absolute path to the repository directory." msgstr "" #. type: deftypevr -#: doc/guix.texi:19952 +#: doc/guix.texi:21257 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string readme" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string readme" #. type: deftypevr -#: doc/guix.texi:19955 +#: doc/guix.texi:21260 msgid "A path (relative to repo) which specifies a file to include verbatim as the \"About\" page for this repo." msgstr "" #. type: deftypevr -#: doc/guix.texi:19960 +#: doc/guix.texi:21265 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-string section" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-string section" #. type: deftypevr -#: doc/guix.texi:19968 +#: doc/guix.texi:21273 #, no-wrap msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options" msgstr "{paramètre de @code{repository-cgit-configuration}} repo-list extra-options" #. type: deftypevr -#: doc/guix.texi:19970 doc/guix.texi:19979 +#: doc/guix.texi:21275 doc/guix.texi:21284 msgid "Extra options will be appended to cgitrc file." msgstr "" #. type: deftypevr -#: doc/guix.texi:19977 +#: doc/guix.texi:21282 #, no-wrap msgid "{@code{cgit-configuration} parameter} list extra-options" msgstr "{paramètre de @code{cgit-configuration}} list extra-options" #. type: Plain text -#: doc/guix.texi:19991 +#: doc/guix.texi:21296 msgid "However, it could be that you just want to get a @code{cgitrc} up and running. In that case, you can pass an @code{opaque-cgit-configuration} as a record to @code{cgit-service-type}. As its name indicates, an opaque configuration does not have easy reflective capabilities." msgstr "" #. type: Plain text -#: doc/guix.texi:19993 +#: doc/guix.texi:21298 msgid "Available @code{opaque-cgit-configuration} fields are:" msgstr "Les champs de @code{opaque-cgit-configuration} disponibles sont :" #. type: deftypevr -#: doc/guix.texi:19994 +#: doc/guix.texi:21299 #, no-wrap msgid "{@code{opaque-cgit-configuration} parameter} package cgit" msgstr "{paramètre de @code{opaque-cgit-configuration}} package cgit" #. type: deftypevr -#: doc/guix.texi:19996 +#: doc/guix.texi:21301 msgid "The cgit package." msgstr "" #. type: deftypevr -#: doc/guix.texi:19998 +#: doc/guix.texi:21303 #, no-wrap msgid "{@code{opaque-cgit-configuration} parameter} string string" msgstr "{paramètre de @code{opaque-cgit-configuration}} string string" #. type: deftypevr -#: doc/guix.texi:20000 +#: doc/guix.texi:21305 msgid "The contents of the @code{cgitrc}, as a string." msgstr "" #. type: Plain text -#: doc/guix.texi:20004 +#: doc/guix.texi:21309 msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:" msgstr "" #. type: example -#: doc/guix.texi:20009 +#: doc/guix.texi:21314 #, no-wrap msgid "" "(service cgit-service-type\n" " (opaque-cgit-configuration\n" " (cgitrc \"\")))\n" msgstr "" +"(service cgit-service-type\n" +" (opaque-cgit-configuration\n" +" (cgitrc \"\")))\n" #. type: subsubheading -#: doc/guix.texi:20015 +#: doc/guix.texi:21316 +#, no-wrap +msgid "Gitolite Service" +msgstr "Service Gitolite" + +#. type: cindex +#: doc/guix.texi:21318 +#, no-wrap +msgid "Gitolite service" +msgstr "service Gitolite" + +#. type: cindex +#: doc/guix.texi:21319 +#, no-wrap +msgid "Git, hosting" +msgstr "Git, hébergement" + +#. type: Plain text +#: doc/guix.texi:21322 +msgid "@uref{http://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21325 +msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21328 +msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key." +msgstr "" + +#. type: example +#: doc/guix.texi:21335 +#, no-wrap +msgid "" +"(service gitolite-service-type\n" +" (gitolite-configuration\n" +" (admin-pubkey (plain-file\n" +" \"yourname.pub\"\n" +" \"ssh-rsa AAAA... guix@@example.com\"))))\n" +msgstr "" +"(service gitolite-service-type\n" +" (gitolite-configuration\n" +" (admin-pubkey (plain-file\n" +" \"yourname.pub\"\n" +" \"ssh-rsa AAAA... guix@@example.com\"))))\n" + +#. type: Plain text +#: doc/guix.texi:21340 +msgid "Gitolite is configured through a special admin repository which you can clone, for example, if you setup Gitolite on @code{example.com}, you would run the following command to clone the admin repository." +msgstr "" + +#. type: example +#: doc/guix.texi:21343 +#, no-wrap +msgid "git clone git@@example.com:gitolite-admin\n" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21349 +msgid "When the Gitolite service is activated, the provided @code{admin-pubkey} will be inserted in to the @file{keydir} directory in the gitolite-admin repository. If this results in a change in the repository, it will be committed using the message ``gitolite setup by GNU Guix''." +msgstr "" + +#. type: deftp +#: doc/guix.texi:21350 +#, no-wrap +msgid "{Data Type} gitolite-configuration" +msgstr "{Type de données} gitolite-configuration" + +#. type: deftp +#: doc/guix.texi:21352 +msgid "Data type representing the configuration for @code{gitolite-service-type}." +msgstr "Type de données représentant la configuration de @code{gitolite-service-type}." + +#. type: item +#: doc/guix.texi:21354 +#, no-wrap +msgid "@code{package} (default: @var{gitolite})" +msgstr "@code{package} (par défaut : @var{gitolite})" + +#. type: table +#: doc/guix.texi:21356 +msgid "Gitolite package to use." +msgstr "Le paquet Gitolite à utiliser." + +#. type: item +#: doc/guix.texi:21357 +#, no-wrap +msgid "@code{user} (default: @var{git})" +msgstr "@code{user} (par défaut : @var{git})" + +#. type: table +#: doc/guix.texi:21360 +msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH." +msgstr "" + +#. type: item +#: doc/guix.texi:21361 +#, no-wrap +msgid "@code{group} (default: @var{git})" +msgstr "@code{group} (par défaut : @var{git})" + +#. type: table +#: doc/guix.texi:21363 +msgid "Group to use for Gitolite." +msgstr "Groupe à utiliser pour Gitolite." + +#. type: item +#: doc/guix.texi:21364 +#, no-wrap +msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})" +msgstr "@code{home-directory} (par défaut : @var{\"/var/lib/gitolite\"})" + +#. type: table +#: doc/guix.texi:21366 +msgid "Directory in which to store the Gitolite configuration and repositories." +msgstr "Répertoire dans lequel stocker la configuration et les dépôts de Gitolite." + +#. type: item +#: doc/guix.texi:21367 +#, no-wrap +msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})" +msgstr "@code{rc-file} (par défaut : @var{(gitolite-rc-file)})" + +#. type: table +#: doc/guix.texi:21370 +msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite." +msgstr "Un objet « simili-fichier » (@pxref{G-Expressions, file-like objects}) représentant la configuration de Gitolite." + +#. type: item +#: doc/guix.texi:21371 +#, no-wrap +msgid "@code{admin-pubkey} (default: @var{#f})" +msgstr "@code{admin-pubkey} (par défaut : @var{#f})" + +#. type: table +#: doc/guix.texi:21375 +msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}) used to setup Gitolite. This will be inserted in to the @file{keydir} directory within the gitolite-admin repository." +msgstr "Un objet « simili-fichier » (@pxref{G-Expressions, file-like objects}) utilisé pour paramétrer Gitolite. Il sera inséré dans le répertoire @file{keydir} dans le dépôt gitolite-admin." + +#. type: table +#: doc/guix.texi:21377 +msgid "To specify the SSH key as a string, use the @code{plain-file} function." +msgstr "" + +#. type: example +#: doc/guix.texi:21380 +#, no-wrap +msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n" +msgstr "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n" + +#. type: deftp +#: doc/guix.texi:21385 +#, no-wrap +msgid "{Data Type} gitolite-rc-file" +msgstr "{Type de données} gitolite-rc-file" + +#. type: deftp +#: doc/guix.texi:21387 +msgid "Data type representing the Gitolite RC file." +msgstr "Type de données représentant le fichier RC de Gitolite." + +#. type: item +#: doc/guix.texi:21389 +#, no-wrap +msgid "@code{umask} (default: @code{#o0077})" +msgstr "@code{umask} (par défaut : @code{#o0077})" + +#. type: table +#: doc/guix.texi:21392 +msgid "This controls the permissions Gitolite sets on the repositories and their contents." +msgstr "" + +#. type: table +#: doc/guix.texi:21396 +msgid "A value like @code{#o0027} will give read access to the group used by Gitolite (by default: @code{git}). This is necessary when using Gitolite with software like cgit or gitweb." +msgstr "" + +#. type: item +#: doc/guix.texi:21397 +#, no-wrap +msgid "@code{git-config-keys} (default: @code{\"\"})" +msgstr "@code{git-config-keys} (par défaut : @code{\"\"})" + +#. type: table +#: doc/guix.texi:21400 +msgid "Gitolite allows you to set git config values using the \"config\" keyword. This setting allows control over the config keys to accept." +msgstr "" + +#. type: item +#: doc/guix.texi:21401 +#, no-wrap +msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})" +msgstr "@code{roles} (par défaut : @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})" + +#. type: table +#: doc/guix.texi:21403 +msgid "Set the role names allowed to be used by users running the perms command." +msgstr "" + +#. type: item +#: doc/guix.texi:21404 +#, no-wrap +msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})" +msgstr "@code{enable} (par défaut : @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})" + +#. type: table +#: doc/guix.texi:21406 +msgid "This setting controls the commands and features to enable within Gitolite." +msgstr "" + +#. type: subsubheading +#: doc/guix.texi:21414 #, no-wrap msgid "The Battle for Wesnoth Service" msgstr "" #. type: cindex -#: doc/guix.texi:20016 +#: doc/guix.texi:21415 #, no-wrap msgid "wesnothd" -msgstr "" +msgstr "wesnothd" #. type: Plain text -#: doc/guix.texi:20020 +#: doc/guix.texi:21419 msgid "@uref{https://wesnoth.org, The Battle for Wesnoth} is a fantasy, turn based tactical strategy game, with several single player campaigns, and multiplayer games (both networked and local)." msgstr "" #. type: defvar -#: doc/guix.texi:20021 +#: doc/guix.texi:21420 #, no-wrap msgid "{Scheme Variable} wesnothd-service-type" msgstr "{Variable Scheme} wesnothd-service-type" #. type: defvar -#: doc/guix.texi:20025 +#: doc/guix.texi:21424 msgid "Service type for the wesnothd service. Its value must be a @code{wesnothd-configuration} object. To run wesnothd in the default configuration, instantiate it as:" msgstr "" #. type: example -#: doc/guix.texi:20028 +#: doc/guix.texi:21427 #, no-wrap msgid "(service wesnothd-service-type)\n" -msgstr "" +msgstr "(service wesnothd-service-type)\n" #. type: deftp -#: doc/guix.texi:20031 +#: doc/guix.texi:21430 #, no-wrap msgid "{Data Type} wesnothd-configuration" msgstr "{Type de données} wesnothd-configuration" #. type: deftp -#: doc/guix.texi:20033 +#: doc/guix.texi:21432 msgid "Data type representing the configuration of @command{wesnothd}." msgstr "" #. type: item -#: doc/guix.texi:20035 +#: doc/guix.texi:21434 #, no-wrap msgid "@code{package} (default: @code{wesnoth-server})" msgstr "@code{package} (par défaut : @code{wesnoth-server})" #. type: table -#: doc/guix.texi:20037 +#: doc/guix.texi:21436 msgid "The wesnoth server package to use." msgstr "" #. type: item -#: doc/guix.texi:20038 +#: doc/guix.texi:21437 #, no-wrap msgid "@code{port} (default: @code{15000})" msgstr "@code{port} (par défaut : @code{15000})" #. type: table -#: doc/guix.texi:20040 +#: doc/guix.texi:21439 msgid "The port to bind the server to." msgstr "" #. type: cindex -#: doc/guix.texi:20046 +#: doc/guix.texi:21445 #, no-wrap -msgid "sysctl" +msgid "fingerprint" msgstr "" #. type: subsubheading -#: doc/guix.texi:20047 +#: doc/guix.texi:21446 +#, no-wrap +msgid "Fingerprint Service" +msgstr "Service d'empreintes digitales" + +#. type: Plain text +#: doc/guix.texi:21450 +msgid "The @code{(gnu services fingerprint)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor." +msgstr "Le module @code{(gnu services fingerprint)} fournit un service DBus pour lire et identifier les empreintes digitales via un lecteur d'empreinte." + +#. type: defvr +#: doc/guix.texi:21451 +#, no-wrap +msgid "{Scheme Variable} fprintd-service-type" +msgstr "{Variable Scheme} fprintd-service-type" + +#. type: defvr +#: doc/guix.texi:21454 +msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability." +msgstr "" + +#. type: example +#: doc/guix.texi:21457 +#, no-wrap +msgid "(service fprintd-service-type)\n" +msgstr "(service fprintd-service-type)\n" + +#. type: cindex +#: doc/guix.texi:21460 +#, no-wrap +msgid "sysctl" +msgstr "sysctl" + +#. type: subsubheading +#: doc/guix.texi:21461 #, no-wrap msgid "System Control Service" msgstr "" #. type: Plain text -#: doc/guix.texi:20051 +#: doc/guix.texi:21465 msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot." msgstr "" #. type: defvr -#: doc/guix.texi:20052 +#: doc/guix.texi:21466 #, no-wrap msgid "{Scheme Variable} sysctl-service-type" msgstr "{Variable Scheme} sysctl-service-type" #. type: defvr -#: doc/guix.texi:20056 +#: doc/guix.texi:21470 msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:" msgstr "" #. type: example -#: doc/guix.texi:20061 +#: doc/guix.texi:21475 #, no-wrap msgid "" "(service sysctl-service-type\n" @@ -36644,296 +39500,363 @@ msgid "" msgstr "" #. type: deftp -#: doc/guix.texi:20064 +#: doc/guix.texi:21478 #, no-wrap msgid "{Data Type} sysctl-configuration" msgstr "{Type de données} sysctl-configuration" #. type: deftp -#: doc/guix.texi:20066 +#: doc/guix.texi:21480 msgid "The data type representing the configuration of @command{sysctl}." msgstr "" #. type: item -#: doc/guix.texi:20068 +#: doc/guix.texi:21482 #, no-wrap msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})" msgstr "@code{sysctl} (par défaut : @code{(file-append procps \"/sbin/sysctl\"})" #. type: table -#: doc/guix.texi:20070 +#: doc/guix.texi:21484 msgid "The @command{sysctl} executable to use." msgstr "" #. type: item -#: doc/guix.texi:20071 +#: doc/guix.texi:21485 #, no-wrap msgid "@code{settings} (default: @code{'()})" msgstr "@code{settings} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:20073 +#: doc/guix.texi:21487 msgid "An association list specifies kernel parameters and their values." msgstr "" #. type: cindex -#: doc/guix.texi:20076 +#: doc/guix.texi:21490 #, no-wrap -msgid "lirc" -msgstr "" +msgid "pcscd" +msgstr "pcscd" #. type: subsubheading -#: doc/guix.texi:20077 +#: doc/guix.texi:21491 +#, no-wrap +msgid "PC/SC Smart Card Daemon Service" +msgstr "" + +#. type: Plain text +#: doc/guix.texi:21498 +msgid "The @code{(gnu services security-token)} module provides the following service to run @command{pcscd}, the PC/SC Smart Card Daemon. @command{pcscd} is the daemon program for pcsc-lite and the MuscleCard framework. It is a resource manager that coordinates communications with smart card readers, smart cards and cryptographic tokens that are connected to the system." +msgstr "" + +#. type: defvr +#: doc/guix.texi:21499 +#, no-wrap +msgid "{Scheme Variable} pcscd-service-type" +msgstr "{Variable Scheme} pcscd-service-type" + +#. type: defvr +#: doc/guix.texi:21503 +msgid "Service type for the @command{pcscd} service. Its value must be a @code{pcscd-configuration} object. To run pcscd in the default configuration, instantiate it as:" +msgstr "Le type de service pour le service @command{pcscd}. Sa valeur doit être un objet @code{pcscd-configuration}. Pour lancer pcscd dans sa configuration par défaut, instantiez-le avec :" + +#. type: example +#: doc/guix.texi:21506 +#, no-wrap +msgid "(service pcscd-service-type)\n" +msgstr "(service pcscd-service-type)\n" + +#. type: deftp +#: doc/guix.texi:21509 +#, no-wrap +msgid "{Data Type} pcscd-configuration" +msgstr "{Type de données} pcscd-configuration" + +#. type: deftp +#: doc/guix.texi:21511 +msgid "The data type representing the configuration of @command{pcscd}." +msgstr "Type de données représentant la configuration de @command{pcscd}." + +#. type: item +#: doc/guix.texi:21513 +#, no-wrap +msgid "@code{pcsc-lite} (default: @code{pcsc-lite})" +msgstr "@code{pcsc-lite} (par défaut : @code{pcsc-lite})" + +#. type: table +#: doc/guix.texi:21515 +msgid "The pcsc-lite package that provides pcscd." +msgstr "Le paquet pcsc-lite qui fournit pcscd." + +#. type: item +#: doc/guix.texi:21515 +#, no-wrap +msgid "@code{usb-drivers} (default: @code{(list ccid)})" +msgstr "@code{usb-drivers} (par défaut : @code{(list ccid)})" + +#. type: table +#: doc/guix.texi:21518 +msgid "List of packages that provide USB drivers to pcscd. Drivers are expected to be under @file{pcsc/drivers} in the store directory of the package." +msgstr "" + +#. type: cindex +#: doc/guix.texi:21521 +#, no-wrap +msgid "lirc" +msgstr "lirc" + +#. type: subsubheading +#: doc/guix.texi:21522 #, no-wrap msgid "Lirc Service" msgstr "" #. type: Plain text -#: doc/guix.texi:20080 +#: doc/guix.texi:21525 msgid "The @code{(gnu services lirc)} module provides the following service." msgstr "" #. type: deffn -#: doc/guix.texi:20081 +#: doc/guix.texi:21526 #, no-wrap msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @" msgstr "{Procédure Scheme} lirc-service [#:lirc lirc] @" #. type: deffn -#: doc/guix.texi:20086 +#: doc/guix.texi:21531 msgid "[#:device #f] [#:driver #f] [#:config-file #f] @ [#:extra-options '()] Return a service that runs @url{http://www.lirc.org,LIRC}, a daemon that decodes infrared signals from remote controls." msgstr "" #. type: deffn -#: doc/guix.texi:20090 +#: doc/guix.texi:21535 msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details." msgstr "" #. type: deffn -#: doc/guix.texi:20093 +#: doc/guix.texi:21538 msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}." msgstr "" #. type: cindex -#: doc/guix.texi:20095 +#: doc/guix.texi:21540 #, no-wrap msgid "spice" -msgstr "" +msgstr "spice" #. type: subsubheading -#: doc/guix.texi:20096 +#: doc/guix.texi:21541 #, no-wrap msgid "Spice Service" msgstr "" #. type: Plain text -#: doc/guix.texi:20099 +#: doc/guix.texi:21544 msgid "The @code{(gnu services spice)} module provides the following service." msgstr "" #. type: deffn -#: doc/guix.texi:20100 +#: doc/guix.texi:21545 #, no-wrap msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]" msgstr "{Procédure Scheme} spice-vdagent-service [#:spice-vdagent]" #. type: deffn -#: doc/guix.texi:20104 +#: doc/guix.texi:21549 msgid "Returns a service that runs @url{http://www.spice-space.org,VDAGENT}, a daemon that enables sharing the clipboard with a vm and setting the guest display resolution when the graphical console window resizes." msgstr "" #. type: subsubsection -#: doc/guix.texi:20106 +#: doc/guix.texi:21551 #, no-wrap msgid "Dictionary Services" msgstr "" #. type: cindex -#: doc/guix.texi:20107 +#: doc/guix.texi:21552 #, no-wrap msgid "dictionary" msgstr "" #. type: Plain text -#: doc/guix.texi:20109 +#: doc/guix.texi:21554 msgid "The @code{(gnu services dict)} module provides the following service:" msgstr "" #. type: deffn -#: doc/guix.texi:20110 +#: doc/guix.texi:21555 #, no-wrap msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]" msgstr "{Procédure Scheme} dicod-service [#:config (dicod-configuration)]" #. type: deffn -#: doc/guix.texi:20113 +#: doc/guix.texi:21558 msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})." msgstr "" #. type: deffn -#: doc/guix.texi:20117 +#: doc/guix.texi:21562 msgid "The optional @var{config} argument specifies the configuration for @command{dicod}, which should be a @code{} object, by default it serves the GNU Collaborative International Dictonary of English." msgstr "" #. type: deffn -#: doc/guix.texi:20121 +#: doc/guix.texi:21566 msgid "You can add @command{open localhost} to your @file{~/.dico} file to make @code{localhost} the default server for @command{dico} client (@pxref{Initialization File,,, dico, GNU Dico Manual})." msgstr "" #. type: deftp -#: doc/guix.texi:20123 +#: doc/guix.texi:21568 #, no-wrap msgid "{Data Type} dicod-configuration" msgstr "{Type de données} dicod-configuration" #. type: deftp -#: doc/guix.texi:20125 +#: doc/guix.texi:21570 msgid "Data type representing the configuration of dicod." msgstr "" #. type: item -#: doc/guix.texi:20127 +#: doc/guix.texi:21572 #, no-wrap msgid "@code{dico} (default: @var{dico})" msgstr "@code{dico} (par défaut : @var{dico})" #. type: table -#: doc/guix.texi:20129 +#: doc/guix.texi:21574 msgid "Package object of the GNU Dico dictionary server." msgstr "" #. type: item -#: doc/guix.texi:20130 +#: doc/guix.texi:21575 #, no-wrap msgid "@code{interfaces} (default: @var{'(\"localhost\")})" msgstr "@code{interfaces} (par défaut : @var{'(\"localhost\")})" #. type: table -#: doc/guix.texi:20134 +#: doc/guix.texi:21579 msgid "This is the list of IP addresses and ports and possibly socket file names to listen to (@pxref{Server Settings, @code{listen} directive,, dico, GNU Dico Manual})." msgstr "" #. type: item -#: doc/guix.texi:20135 +#: doc/guix.texi:21580 #, no-wrap msgid "@code{handlers} (default: @var{'()})" msgstr "@code{handlers} (par défaut : @var{'()})" #. type: table -#: doc/guix.texi:20137 +#: doc/guix.texi:21582 msgid "List of @code{} objects denoting handlers (module instances)." msgstr "" #. type: item -#: doc/guix.texi:20138 +#: doc/guix.texi:21583 #, no-wrap msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})" msgstr "@code{databases} (par défaut : @var{(list %dicod-database:gcide)})" #. type: table -#: doc/guix.texi:20140 +#: doc/guix.texi:21585 msgid "List of @code{} objects denoting dictionaries to be served." msgstr "" #. type: deftp -#: doc/guix.texi:20143 +#: doc/guix.texi:21588 #, no-wrap msgid "{Data Type} dicod-handler" msgstr "{Type de données} dicod-handler" #. type: deftp -#: doc/guix.texi:20145 +#: doc/guix.texi:21590 msgid "Data type representing a dictionary handler (module instance)." msgstr "" #. type: table -#: doc/guix.texi:20149 +#: doc/guix.texi:21594 msgid "Name of the handler (module instance)." msgstr "" #. type: item -#: doc/guix.texi:20150 +#: doc/guix.texi:21595 #, no-wrap msgid "@code{module} (default: @var{#f})" msgstr "@code{module} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:20154 +#: doc/guix.texi:21599 msgid "Name of the dicod module of the handler (instance). If it is @code{#f}, the module has the same name as the handler. (@pxref{Modules,,, dico, GNU Dico Manual})." msgstr "" #. type: code{#1} -#: doc/guix.texi:20155 doc/guix.texi:20175 +#: doc/guix.texi:21600 doc/guix.texi:21620 #, no-wrap msgid "options" msgstr "" #. type: table -#: doc/guix.texi:20157 +#: doc/guix.texi:21602 msgid "List of strings or gexps representing the arguments for the module handler" msgstr "" #. type: deftp -#: doc/guix.texi:20160 +#: doc/guix.texi:21605 #, no-wrap msgid "{Data Type} dicod-database" msgstr "{Type de données} dicod-database" #. type: deftp -#: doc/guix.texi:20162 +#: doc/guix.texi:21607 msgid "Data type representing a dictionary database." msgstr "" #. type: table -#: doc/guix.texi:20166 +#: doc/guix.texi:21611 msgid "Name of the database, will be used in DICT commands." msgstr "" #. type: code{#1} -#: doc/guix.texi:20167 +#: doc/guix.texi:21612 #, no-wrap msgid "handler" msgstr "" #. type: table -#: doc/guix.texi:20170 +#: doc/guix.texi:21615 msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})." msgstr "" #. type: item -#: doc/guix.texi:20171 +#: doc/guix.texi:21616 #, no-wrap msgid "@code{complex?} (default: @var{#f})" msgstr "@code{complex?} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:20174 +#: doc/guix.texi:21619 msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{} object, otherwise not." msgstr "" #. type: table -#: doc/guix.texi:20178 +#: doc/guix.texi:21623 msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})." msgstr "" #. type: defvr -#: doc/guix.texi:20181 +#: doc/guix.texi:21626 #, no-wrap msgid "{Scheme Variable} %dicod-database:gcide" msgstr "{Variable Scheme} %dicod-database:gcide" #. type: defvr -#: doc/guix.texi:20184 +#: doc/guix.texi:21629 msgid "A @code{} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package." msgstr "" #. type: Plain text -#: doc/guix.texi:20187 +#: doc/guix.texi:21632 msgid "The following is an example @code{dicod-service} configuration." msgstr "" #. type: example -#: doc/guix.texi:20202 +#: doc/guix.texi:21647 #, no-wrap msgid "" "(dicod-service #:config\n" @@ -36950,110 +39873,123 @@ msgid "" " (options '(\"database=wn\")))\n" " %dicod-database:gcide))))\n" msgstr "" +"(dicod-service #:config\n" +" (dicod-configuration\n" +" (handlers (list (dicod-handler\n" +" (name \"wordnet\")\n" +" (module \"dictorg\")\n" +" (options\n" +" (list #~(string-append \"dbdir=\" #$wordnet))))))\n" +" (databases (list (dicod-database\n" +" (name \"wordnet\")\n" +" (complex? #t)\n" +" (handler \"wordnet\")\n" +" (options '(\"database=wn\")))\n" +" %dicod-database:gcide))))\n" #. type: cindex -#: doc/guix.texi:20207 +#: doc/guix.texi:21652 #, no-wrap msgid "setuid programs" msgstr "" #. type: Plain text -#: doc/guix.texi:20217 +#: doc/guix.texi:21662 msgid "Some programs need to run with ``root'' privileges, even when they are launched by unprivileged users. A notorious example is the @command{passwd} program, which users can run to change their password, and which needs to access the @file{/etc/passwd} and @file{/etc/shadow} files---something normally restricted to root, for obvious security reasons. To address that, these executables are @dfn{setuid-root}, meaning that they always run with root privileges (@pxref{How Change Persona,,, libc, The GNU C Library Reference Manual}, for more info about the setuid mechanism.)" msgstr "" #. type: Plain text -#: doc/guix.texi:20224 +#: doc/guix.texi:21669 msgid "The store itself @emph{cannot} contain setuid programs: that would be a security issue since any user on the system can write derivations that populate the store (@pxref{The Store}). Thus, a different mechanism is used: instead of changing the setuid bit directly on files that are in the store, we let the system administrator @emph{declare} which programs should be setuid root." msgstr "" #. type: Plain text -#: doc/guix.texi:20230 +#: doc/guix.texi:21675 msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of G-expressions denoting the names of programs to be setuid-root (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, can be designated by this G-expression (@pxref{G-Expressions}):" msgstr "" #. type: example -#: doc/guix.texi:20233 +#: doc/guix.texi:21678 #, no-wrap msgid "#~(string-append #$shadow \"/bin/passwd\")\n" -msgstr "" +msgstr "#~(string-append #$shadow \"/bin/passwd\")\n" #. type: Plain text -#: doc/guix.texi:20237 +#: doc/guix.texi:21682 msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module." msgstr "" #. type: defvr -#: doc/guix.texi:20238 +#: doc/guix.texi:21683 #, no-wrap msgid "{Scheme Variable} %setuid-programs" msgstr "{Variable Scheme} %setuid-programs" #. type: defvr -#: doc/guix.texi:20240 +#: doc/guix.texi:21685 msgid "A list of G-expressions denoting common programs that are setuid-root." msgstr "" #. type: defvr -#: doc/guix.texi:20243 +#: doc/guix.texi:21688 msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}." msgstr "" #. type: Plain text -#: doc/guix.texi:20249 +#: doc/guix.texi:21694 msgid "Under the hood, the actual setuid programs are created in the @file{/run/setuid-programs} directory at system activation time. The files in this directory refer to the ``real'' binaries, which are in the store." msgstr "" #. type: cindex -#: doc/guix.texi:20253 +#: doc/guix.texi:21698 #, no-wrap msgid "HTTPS, certificates" msgstr "" #. type: cindex -#: doc/guix.texi:20254 +#: doc/guix.texi:21699 #, no-wrap msgid "X.509 certificates" msgstr "" #. type: cindex -#: doc/guix.texi:20255 +#: doc/guix.texi:21700 #, no-wrap msgid "TLS" -msgstr "" +msgstr "TLS" #. type: Plain text -#: doc/guix.texi:20262 +#: doc/guix.texi:21707 msgid "Web servers available over HTTPS (that is, HTTP over the transport-layer security mechanism, TLS) send client programs an @dfn{X.509 certificate} that the client can then use to @emph{authenticate} the server. To do that, clients verify that the server's certificate is signed by a so-called @dfn{certificate authority} (CA). But to verify the CA's signature, clients must have first acquired the CA's certificate." msgstr "" #. type: Plain text -#: doc/guix.texi:20266 +#: doc/guix.texi:21711 msgid "Web browsers such as GNU@tie{}IceCat include their own set of CA certificates, such that they are able to verify CA signatures out-of-the-box." msgstr "" #. type: Plain text -#: doc/guix.texi:20270 +#: doc/guix.texi:21715 msgid "However, most other programs that can talk HTTPS---@command{wget}, @command{git}, @command{w3m}, etc.---need to be told where CA certificates can be found." msgstr "" #. type: Plain text -#: doc/guix.texi:20277 +#: doc/guix.texi:21722 msgid "In GuixSD, this is done by adding a package that provides certificates to the @code{packages} field of the @code{operating-system} declaration (@pxref{operating-system Reference}). GuixSD includes one such package, @code{nss-certs}, which is a set of CA certificates provided as part of Mozilla's Network Security Services." msgstr "" #. type: Plain text -#: doc/guix.texi:20282 +#: doc/guix.texi:21727 msgid "Note that it is @emph{not} part of @var{%base-packages}, so you need to explicitly add it. The @file{/etc/ssl/certs} directory, which is where most applications and libraries look for certificates by default, points to the certificates installed globally." msgstr "" #. type: Plain text -#: doc/guix.texi:20292 +#: doc/guix.texi:21737 msgid "Unprivileged users, including users of Guix on a foreign distro, can also install their own certificate package in their profile. A number of environment variables need to be defined so that applications and libraries know where to find them. Namely, the OpenSSL library honors the @code{SSL_CERT_DIR} and @code{SSL_CERT_FILE} variables. Some applications add their own environment variables; for instance, the Git version control system honors the certificate bundle pointed to by the @code{GIT_SSL_CAINFO} environment variable. Thus, you would typically run something like:" msgstr "" #. type: example -#: doc/guix.texi:20298 +#: doc/guix.texi:21743 #, no-wrap msgid "" "$ guix package -i nss-certs\n" @@ -37063,12 +39999,12 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:20303 +#: doc/guix.texi:21748 msgid "As another example, R requires the @code{CURL_CA_BUNDLE} environment variable to point to a certificate bundle, so you would have to run something like this:" msgstr "" #. type: example -#: doc/guix.texi:20307 +#: doc/guix.texi:21752 #, no-wrap msgid "" "$ guix package -i nss-certs\n" @@ -37076,60 +40012,63 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:20311 +#: doc/guix.texi:21756 msgid "For other applications you may want to look up the required environment variable in the relevant documentation." msgstr "" #. type: cindex -#: doc/guix.texi:20316 +#: doc/guix.texi:21761 #, no-wrap msgid "name service switch" -msgstr "" +msgstr "name service switch" #. type: cindex -#: doc/guix.texi:20317 +#: doc/guix.texi:21762 #, no-wrap msgid "NSS" -msgstr "" +msgstr "NSS" #. type: Plain text -#: doc/guix.texi:20326 +#: doc/guix.texi:21771 msgid "The @code{(gnu system nss)} module provides bindings to the configuration file of the libc @dfn{name service switch} or @dfn{NSS} (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). In a nutshell, the NSS is a mechanism that allows libc to be extended with new ``name'' lookup methods for system databases, which includes host names, service names, user accounts, and more (@pxref{Name Service Switch, System Databases and Name Service Switch,, libc, The GNU C Library Reference Manual})." msgstr "" #. type: Plain text -#: doc/guix.texi:20333 +#: doc/guix.texi:21778 msgid "The NSS configuration specifies, for each system database, which lookup method is to be used, and how the various methods are chained together---for instance, under which circumstances NSS should try the next method in the list. The NSS configuration is given in the @code{name-service-switch} field of @code{operating-system} declarations (@pxref{operating-system Reference, @code{name-service-switch}})." msgstr "" #. type: cindex -#: doc/guix.texi:20334 +#: doc/guix.texi:21779 #, no-wrap msgid "nss-mdns" -msgstr "" +msgstr "nss-mdns" #. type: cindex -#: doc/guix.texi:20335 +#: doc/guix.texi:21780 #, no-wrap msgid ".local, host name lookup" msgstr "" #. type: Plain text -#: doc/guix.texi:20340 +#: doc/guix.texi:21785 msgid "As an example, the declaration below configures the NSS to use the @uref{http://0pointer.de/lennart/projects/nss-mdns/, @code{nss-mdns} back-end}, which supports host name lookups over multicast DNS (mDNS) for host names ending in @code{.local}:" msgstr "" #. type: example -#: doc/guix.texi:20344 +#: doc/guix.texi:21789 #, no-wrap msgid "" "(name-service-switch\n" " (hosts (list %files ;first, check /etc/hosts\n" "\n" msgstr "" +"(name-service-switch\n" +" (hosts (list %files ;first, check /etc/hosts\n" +"\n" #. type: example -#: doc/guix.texi:20349 +#: doc/guix.texi:21794 #, no-wrap msgid "" " ;; If the above did not succeed, try\n" @@ -37140,7 +40079,7 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:20355 +#: doc/guix.texi:21800 #, no-wrap msgid "" " ;; 'mdns_minimal' is authoritative for\n" @@ -37152,7 +40091,7 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:20359 +#: doc/guix.texi:21804 #, no-wrap msgid "" " ;; Then fall back to DNS.\n" @@ -37162,7 +40101,7 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:20363 +#: doc/guix.texi:21808 #, no-wrap msgid "" " ;; Finally, try with the \"full\" 'mdns'.\n" @@ -37171,157 +40110,157 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:20368 +#: doc/guix.texi:21813 msgid "Do not worry: the @code{%mdns-host-lookup-nss} variable (see below) contains this configuration, so you will not have to type it if all you want is to have @code{.local} host lookup working." msgstr "" #. type: Plain text -#: doc/guix.texi:20376 +#: doc/guix.texi:21821 msgid "Note that, in this case, in addition to setting the @code{name-service-switch} of the @code{operating-system} declaration, you also need to use @code{avahi-service} (@pxref{Networking Services, @code{avahi-service}}), or @var{%desktop-services}, which includes it (@pxref{Desktop Services}). Doing this makes @code{nss-mdns} accessible to the name service cache daemon (@pxref{Base Services, @code{nscd-service}})." msgstr "" #. type: Plain text -#: doc/guix.texi:20379 +#: doc/guix.texi:21824 msgid "For convenience, the following variables provide typical NSS configurations." msgstr "" #. type: defvr -#: doc/guix.texi:20380 +#: doc/guix.texi:21825 #, no-wrap msgid "{Scheme Variable} %default-nss" msgstr "{Variable Scheme} %default-nss" #. type: defvr -#: doc/guix.texi:20383 +#: doc/guix.texi:21828 msgid "This is the default name service switch configuration, a @code{name-service-switch} object." msgstr "" #. type: defvr -#: doc/guix.texi:20385 +#: doc/guix.texi:21830 #, no-wrap msgid "{Scheme Variable} %mdns-host-lookup-nss" msgstr "{Variable Scheme} %mdns-host-lookup-nss" #. type: defvr -#: doc/guix.texi:20388 +#: doc/guix.texi:21833 msgid "This is the name service switch configuration with support for host name lookup over multicast DNS (mDNS) for host names ending in @code{.local}." msgstr "" #. type: Plain text -#: doc/guix.texi:20398 +#: doc/guix.texi:21843 msgid "The reference for name service switch configuration is given below. It is a direct mapping of the configuration file format of the C library , so please refer to the C library manual for more information (@pxref{NSS Configuration File,,, libc, The GNU C Library Reference Manual}). Compared to the configuration file format of libc NSS, it has the advantage not only of adding this warm parenthetic feel that we like, but also static checks: you will know about syntax errors and typos as soon as you run @command{guix system}." msgstr "" #. type: deftp -#: doc/guix.texi:20399 +#: doc/guix.texi:21844 #, no-wrap msgid "{Data Type} name-service-switch" msgstr "{Type de données} name-service-switch" #. type: deftp -#: doc/guix.texi:20404 +#: doc/guix.texi:21849 msgid "This is the data type representation the configuration of libc's name service switch (NSS). Each field below represents one of the supported system databases." msgstr "" #. type: item -#: doc/guix.texi:20406 +#: doc/guix.texi:21851 #, no-wrap msgid "aliases" -msgstr "" +msgstr "aliases" #. type: itemx -#: doc/guix.texi:20407 +#: doc/guix.texi:21852 #, no-wrap msgid "ethers" -msgstr "" +msgstr "ethers" #. type: itemx -#: doc/guix.texi:20409 +#: doc/guix.texi:21854 #, no-wrap msgid "gshadow" -msgstr "" +msgstr "gshadow" #. type: itemx -#: doc/guix.texi:20410 +#: doc/guix.texi:21855 #, no-wrap msgid "hosts" -msgstr "" +msgstr "hosts" #. type: itemx -#: doc/guix.texi:20411 +#: doc/guix.texi:21856 #, no-wrap msgid "initgroups" -msgstr "" +msgstr "initgroups" #. type: itemx -#: doc/guix.texi:20412 +#: doc/guix.texi:21857 #, no-wrap msgid "netgroup" -msgstr "" +msgstr "netgroup" #. type: itemx -#: doc/guix.texi:20413 +#: doc/guix.texi:21858 #, no-wrap msgid "networks" -msgstr "" +msgstr "networks" #. type: itemx -#: doc/guix.texi:20415 +#: doc/guix.texi:21860 #, no-wrap msgid "public-key" -msgstr "" +msgstr "public-key" #. type: itemx -#: doc/guix.texi:20416 +#: doc/guix.texi:21861 #, no-wrap msgid "rpc" -msgstr "" +msgstr "rpc" #. type: itemx -#: doc/guix.texi:20418 +#: doc/guix.texi:21863 #, no-wrap msgid "shadow" -msgstr "" +msgstr "shadow" #. type: table -#: doc/guix.texi:20421 +#: doc/guix.texi:21866 msgid "The system databases handled by the NSS. Each of these fields must be a list of @code{} objects (see below)." msgstr "" #. type: deftp -#: doc/guix.texi:20424 +#: doc/guix.texi:21869 #, no-wrap msgid "{Data Type} name-service" msgstr "{Type de données} name-service" #. type: deftp -#: doc/guix.texi:20428 +#: doc/guix.texi:21873 msgid "This is the data type representing an actual name service and the associated lookup action." msgstr "" #. type: table -#: doc/guix.texi:20433 +#: doc/guix.texi:21878 msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})." msgstr "" #. type: table -#: doc/guix.texi:20438 +#: doc/guix.texi:21883 msgid "Note that name services listed here must be visible to nscd. This is achieved by passing the @code{#:name-services} argument to @code{nscd-service} the list of packages providing the needed name services (@pxref{Base Services, @code{nscd-service}})." msgstr "" #. type: item -#: doc/guix.texi:20439 +#: doc/guix.texi:21884 #, no-wrap msgid "reaction" msgstr "" #. type: table -#: doc/guix.texi:20443 +#: doc/guix.texi:21888 msgid "An action specified using the @code{lookup-specification} macro (@pxref{Actions in the NSS configuration,,, libc, The GNU C Library Reference Manual}). For example:" msgstr "" #. type: example -#: doc/guix.texi:20447 +#: doc/guix.texi:21892 #, no-wrap msgid "" "(lookup-specification (unavailable => continue)\n" @@ -37329,17 +40268,17 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:20461 +#: doc/guix.texi:21906 msgid "For bootstrapping purposes, the Linux-Libre kernel is passed an @dfn{initial RAM disk}, or @dfn{initrd}. An initrd contains a temporary root file system as well as an initialization script. The latter is responsible for mounting the real root file system, and for loading any kernel modules that may be needed to achieve that." msgstr "" #. type: Plain text -#: doc/guix.texi:20470 +#: doc/guix.texi:21915 msgid "The @code{initrd-modules} field of an @code{operating-system} declaration allows you to specify Linux-libre kernel modules that must be available in the initrd. In particular, this is where you would list modules needed to actually drive the hard disk where your root partition is---although the default value of @code{initrd-modules} should cover most use cases. For example, assuming you need the @code{megaraid_sas} module in addition to the default modules to be able to access your root file system, you would write:" msgstr "" #. type: example -#: doc/guix.texi:20475 +#: doc/guix.texi:21920 #, no-wrap msgid "" "(operating-system\n" @@ -37348,28 +40287,28 @@ msgid "" msgstr "" #. type: defvr -#: doc/guix.texi:20477 +#: doc/guix.texi:21922 #, no-wrap msgid "{Scheme Variable} %base-initrd-modules" msgstr "{Variable Scheme} %base-initrd-modules" #. type: defvr -#: doc/guix.texi:20479 +#: doc/guix.texi:21924 msgid "This is the list of kernel modules included in the initrd by default." msgstr "" #. type: Plain text -#: doc/guix.texi:20487 +#: doc/guix.texi:21932 msgid "Furthermore, if you need lower-level customization, the @code{initrd} field of an @code{operating-system} declaration allows you to specify which initrd you would like to use. The @code{(gnu system linux-initrd)} module provides three ways to build an initrd: the high-level @code{base-initrd} procedure and the low-level @code{raw-initrd} and @code{expression->initrd} procedures." msgstr "" #. type: Plain text -#: doc/guix.texi:20492 +#: doc/guix.texi:21937 msgid "The @code{base-initrd} procedure is intended to cover most common uses. For example, if you want to add a bunch of kernel modules to be loaded at boot time, you can define the @code{initrd} field of the operating system declaration like this:" msgstr "" #. type: example -#: doc/guix.texi:20500 +#: doc/guix.texi:21945 #, no-wrap msgid "" "(initrd (lambda (file-systems . rest)\n" @@ -37381,316 +40320,343 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:20505 +#: doc/guix.texi:21950 msgid "The @code{base-initrd} procedure also handles common use cases that involves using the system as a QEMU guest, or as a ``live'' system with volatile root file system." msgstr "" #. type: Plain text -#: doc/guix.texi:20512 +#: doc/guix.texi:21957 msgid "The @code{base-initrd} procedure is built from @code{raw-initrd} procedure. Unlike @code{base-initrd}, @code{raw-initrd} doesn't do anything high-level, such as trying to guess which kernel modules and packages should be included to the initrd. An example use of @code{raw-initrd} is when a user has a custom Linux kernel configuration and default kernel modules included by @code{base-initrd} are not available." msgstr "" #. type: Plain text -#: doc/guix.texi:20517 +#: doc/guix.texi:21962 msgid "The initial RAM disk produced by @code{base-initrd} or @code{raw-initrd} honors several options passed on the Linux kernel command line (that is, arguments passed @i{via} the @code{linux} command of GRUB, or the @code{-append} option of QEMU), notably:" msgstr "" #. type: item -#: doc/guix.texi:20519 +#: doc/guix.texi:21964 #, no-wrap msgid "--load=@var{boot}" msgstr "" #. type: table -#: doc/guix.texi:20522 +#: doc/guix.texi:21967 msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system." msgstr "" #. type: table -#: doc/guix.texi:20526 +#: doc/guix.texi:21971 msgid "GuixSD uses this option to yield control to a boot program that runs the service activation programs and then spawns the GNU@tie{}Shepherd, the initialization system." msgstr "" #. type: item -#: doc/guix.texi:20527 +#: doc/guix.texi:21972 #, no-wrap msgid "--root=@var{root}" msgstr "" #. type: table -#: doc/guix.texi:20531 +#: doc/guix.texi:21976 msgid "Mount @var{root} as the root file system. @var{root} can be a device name like @code{/dev/sda1}, a file system label, or a file system UUID." msgstr "" #. type: table -#: doc/guix.texi:20535 +#: doc/guix.texi:21980 msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}." msgstr "" #. type: item -#: doc/guix.texi:20536 +#: doc/guix.texi:21981 #, no-wrap msgid "modprobe.blacklist=@var{modules}@dots{}" msgstr "" #. type: cindex -#: doc/guix.texi:20537 +#: doc/guix.texi:21982 #, no-wrap msgid "module, black-listing" msgstr "" #. type: cindex -#: doc/guix.texi:20538 +#: doc/guix.texi:21983 #, no-wrap msgid "black list, of kernel modules" msgstr "" #. type: table -#: doc/guix.texi:20543 +#: doc/guix.texi:21988 msgid "Instruct the initial RAM disk as well as the @command{modprobe} command (from the kmod package) to refuse to load @var{modules}. @var{modules} must be a comma-separated list of module names---e.g., @code{usbkbd,9pnet}." msgstr "" #. type: item -#: doc/guix.texi:20544 +#: doc/guix.texi:21989 #, no-wrap msgid "--repl" msgstr "" #. type: table -#: doc/guix.texi:20550 +#: doc/guix.texi:21995 msgid "Start a read-eval-print loop (REPL) from the initial RAM disk before it tries to load kernel modules and to mount the root file system. Our marketing team calls it @dfn{boot-to-Guile}. The Schemer in you will love it. @xref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}, for more information on Guile's REPL." msgstr "" #. type: Plain text -#: doc/guix.texi:20556 +#: doc/guix.texi:22001 msgid "Now that you know all the features that initial RAM disks produced by @code{base-initrd} and @code{raw-initrd} provide, here is how to use it and customize it further." msgstr "" #. type: deffn -#: doc/guix.texi:20559 +#: doc/guix.texi:22004 #, no-wrap -msgid "{Monadic Procedure} raw-initrd @var{file-systems} @" +msgid "{Scheme Procedure} raw-initrd @var{file-systems} @" +msgstr "{Procédure Scheme} raw-initrd @var{file-systems} @" + +#. type: deffn +#: doc/guix.texi:22016 +msgid "[#:linux-modules '()] [#:mapped-devices '()] @ [#:helper-packages '()] [#:qemu-networking? #f] [#:volatile-root? #f] Return a derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted (@pxref{Mapped Devices}). @var{helper-packages} is a list of packages to be copied in the initrd. It may include @code{e2fsck/static} or other packages needed by the initrd to check the root file system." msgstr "" #. type: deffn -#: doc/guix.texi:20571 -msgid "[#:linux-modules '()] [#:mapped-devices '()] @ [#:helper-packages '()] [#:qemu-networking? #f] [#:volatile-root? #f] Return a monadic derivation that builds a raw initrd. @var{file-systems} is a list of file systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{linux-modules} is a list of kernel modules to be loaded at boot time. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted (@pxref{Mapped Devices}). @var{helper-packages} is a list of packages to be copied in the initrd. It may include @code{e2fsck/static} or other packages needed by the initrd to check the root file system." -msgstr "" - -#. type: deffn -#: doc/guix.texi:20575 +#: doc/guix.texi:22020 msgid "When @var{qemu-networking?} is true, set up networking with the standard QEMU parameters. When @var{virtio?} is true, load additional modules so that the initrd can be used as a QEMU guest with para-virtualized I/O drivers." msgstr "" #. type: deffn -#: doc/guix.texi:20578 +#: doc/guix.texi:22023 msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost." msgstr "" #. type: deffn -#: doc/guix.texi:20580 +#: doc/guix.texi:22025 #, no-wrap -msgid "{Monadic Procedure} base-initrd @var{file-systems} @" +msgid "{Scheme Procedure} base-initrd @var{file-systems} @" +msgstr "{Procédure Scheme} base-initrd @var{file-systems} @" + +#. type: deffn +#: doc/guix.texi:22033 +msgid "[#:mapped-devices '()] [#:qemu-networking? #f] [#:volatile-root? #f]@ [#:linux-modules '()] Return as a file-like object a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted." msgstr "" #. type: deffn -#: doc/guix.texi:20588 -msgid "[#:mapped-devices '()] [#:qemu-networking? #f] [#:volatile-root? #f]@ [#:linux-modules '()] Return a monadic derivation that builds a generic initrd, with kernel modules taken from @var{linux}. @var{file-systems} is a list of file-systems to be mounted by the initrd, possibly in addition to the root file system specified on the kernel command line via @code{--root}. @var{mapped-devices} is a list of device mappings to realize before @var{file-systems} are mounted." -msgstr "" - -#. type: deffn -#: doc/guix.texi:20590 +#: doc/guix.texi:22035 msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}." msgstr "" #. type: deffn -#: doc/guix.texi:20595 +#: doc/guix.texi:22040 msgid "The initrd is automatically populated with all the kernel modules necessary for @var{file-systems} and for the given options. Additional kernel modules can be listed in @var{linux-modules}. They will be added to the initrd, and loaded at boot time in the order in which they appear." msgstr "" #. type: Plain text -#: doc/guix.texi:20602 +#: doc/guix.texi:22047 msgid "Needless to say, the initrds we produce and use embed a statically-linked Guile, and the initialization program is a Guile program. That gives a lot of flexibility. The @code{expression->initrd} procedure builds such an initrd, given the program to run in that initrd." msgstr "" #. type: deffn -#: doc/guix.texi:20603 +#: doc/guix.texi:22048 #, no-wrap -msgid "{Monadic Procedure} expression->initrd @var{exp} @" -msgstr "" +msgid "{Scheme Procedure} expression->initrd @var{exp} @" +msgstr "{Procédure Scheme} expression->initrd @var{exp} @" #. type: deffn -#: doc/guix.texi:20609 -msgid "[#:guile %guile-static-stripped] [#:name \"guile-initrd\"] Return a derivation that builds a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd." +#: doc/guix.texi:22054 +msgid "[#:guile %guile-static-stripped] [#:name \"guile-initrd\"] Return as a file-like object a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd." msgstr "" #. type: cindex -#: doc/guix.texi:20615 +#: doc/guix.texi:22060 #, no-wrap msgid "boot loader" msgstr "" #. type: Plain text -#: doc/guix.texi:20622 +#: doc/guix.texi:22067 msgid "The operating system supports multiple bootloaders. The bootloader is configured using @code{bootloader-configuration} declaration. All the fields of this structure are bootloader agnostic except for one field, @code{bootloader} that indicates the bootloader to be configured and installed." msgstr "" #. type: Plain text -#: doc/guix.texi:20627 +#: doc/guix.texi:22072 msgid "Some of the bootloaders do not honor every field of @code{bootloader-configuration}. For instance, the extlinux bootloader does not support themes and thus ignores the @code{theme} field." msgstr "" #. type: deftp -#: doc/guix.texi:20628 +#: doc/guix.texi:22073 #, no-wrap msgid "{Data Type} bootloader-configuration" msgstr "{Type de données} bootloader-configuration" #. type: deftp -#: doc/guix.texi:20630 +#: doc/guix.texi:22075 msgid "The type of a bootloader configuration declaration." msgstr "" #. type: cindex -#: doc/guix.texi:20634 +#: doc/guix.texi:22079 #, no-wrap msgid "EFI, bootloader" msgstr "" #. type: cindex -#: doc/guix.texi:20635 +#: doc/guix.texi:22080 #, no-wrap msgid "UEFI, bootloader" msgstr "" #. type: cindex -#: doc/guix.texi:20636 +#: doc/guix.texi:22081 #, no-wrap msgid "BIOS, bootloader" msgstr "" #. type: table -#: doc/guix.texi:20642 -msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported. @code{grub-efi-bootloader} allows to boot on modern systems using the @dfn{Unified Extensible Firmware Interface} (UEFI)." +#: doc/guix.texi:22085 +msgid "The bootloader to use, as a @code{bootloader} object. For now @code{grub-bootloader}, @code{grub-efi-bootloader}, @code{extlinux-bootloader} and @code{u-boot-bootloader} are supported." msgstr "" #. type: table -#: doc/guix.texi:20645 -msgid "Available bootloaders are described in @code{(gnu bootloader @dots{})} modules." +#: doc/guix.texi:22091 +msgid "@code{grub-efi-bootloader} allows to boot on modern systems using the @dfn{Unified Extensible Firmware Interface} (UEFI). This is what you should use if the installation image contains a @file{/sys/firmware/efi} directory when you boot it on your system." msgstr "" #. type: table -#: doc/guix.texi:20655 -msgid "This is a string denoting the target onto which to install the bootloader. The exact interpretation depends on the bootloader in question; for @code{grub-bootloader}, for example, it should be a device name understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (for GRUB, @pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, it should be the path to a mounted EFI file system." +#: doc/guix.texi:22095 +msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode." +msgstr "" + +#. type: cindex +#: doc/guix.texi:22096 +#, no-wrap +msgid "ARM, bootloaders" +msgstr "ARM, chargeurs d'amorçage" + +#. type: cindex +#: doc/guix.texi:22097 +#, no-wrap +msgid "AArch64, bootloaders" +msgstr "AArch64, chargeurs d'amorçage" + +#. type: table +#: doc/guix.texi:22102 +msgid "Available bootloaders are described in @code{(gnu bootloader @dots{})} modules. In particular, @code{(gnu bootloader u-boot)} contains definitions of bootloaders for a wide range of ARM and AArch64 systems, using the @uref{http://www.denx.de/wiki/U-Boot/, U-Boot bootloader}." +msgstr "" + +#. type: table +#: doc/guix.texi:22106 +msgid "This is a string denoting the target onto which to install the bootloader." +msgstr "" + +#. type: table +#: doc/guix.texi:22113 +msgid "The interpretation depends on the bootloader in question. For @code{grub-bootloader}, for example, it should be a device name understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, it should be the mount point of the EFI file system, usually @file{/boot/efi}." msgstr "" #. type: item -#: doc/guix.texi:20656 +#: doc/guix.texi:22114 #, no-wrap msgid "@code{menu-entries} (default: @code{()})" msgstr "@code{menu-entries} (par défaut : @code{()})" #. type: table -#: doc/guix.texi:20660 +#: doc/guix.texi:22118 msgid "A possibly empty list of @code{menu-entry} objects (see below), denoting entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations." msgstr "" #. type: item -#: doc/guix.texi:20661 +#: doc/guix.texi:22119 #, no-wrap msgid "@code{default-entry} (default: @code{0})" msgstr "@code{default-entry} (par défaut : @code{0})" #. type: table -#: doc/guix.texi:20664 +#: doc/guix.texi:22122 msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system." msgstr "" #. type: item -#: doc/guix.texi:20665 +#: doc/guix.texi:22123 #, no-wrap msgid "@code{timeout} (default: @code{5})" msgstr "@code{timeout} (par défaut : @code{5})" #. type: table -#: doc/guix.texi:20668 +#: doc/guix.texi:22126 msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely." msgstr "" #. type: item -#: doc/guix.texi:20669 +#: doc/guix.texi:22127 #, no-wrap msgid "@code{theme} (default: @var{#f})" msgstr "@code{theme} (par défaut : @var{#f})" #. type: table -#: doc/guix.texi:20673 +#: doc/guix.texi:22131 msgid "The bootloader theme object describing the theme to use. If no theme is provided, some bootloaders might use a default theme, that's true for GRUB." msgstr "" #. type: item -#: doc/guix.texi:20674 +#: doc/guix.texi:22132 #, no-wrap msgid "@code{terminal-outputs} (default: @code{'gfxterm})" msgstr "@code{terminal-outputs} (par défaut : @code{'gfxterm})" #. type: table -#: doc/guix.texi:20681 -msgid "The output terminals used for the bootloader boot menu, as a list of symbols. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, @code{morse}, and @code{pkmodem}. This field corresponds to the GRUB variable GRUB_TERMINAL_OUTPUT (@pxref{Simple configuration,,, grub,GNU GRUB manual})." +#: doc/guix.texi:22139 +msgid "The output terminals used for the bootloader boot menu, as a list of symbols. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, @code{morse}, and @code{pkmodem}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_OUTPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})." msgstr "" #. type: item -#: doc/guix.texi:20682 +#: doc/guix.texi:22140 #, no-wrap msgid "@code{terminal-inputs} (default: @code{'()})" msgstr "@code{terminal-inputs} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:20690 -msgid "The input terminals used for the bootloader boot menu, as a list of symbols. For GRUB, the default is the native platform terminal as determined at run-time. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. This field corresponds to the GRUB variable GRUB_TERMINAL_INPUT (@pxref{Simple configuration,,, grub,GNU GRUB manual})." +#: doc/guix.texi:22148 +msgid "The input terminals used for the bootloader boot menu, as a list of symbols. For GRUB, the default is the native platform terminal as determined at run-time. GRUB accepts the values: @code{console}, @code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. This field corresponds to the GRUB variable @code{GRUB_TERMINAL_INPUT} (@pxref{Simple configuration,,, grub,GNU GRUB manual})." msgstr "" #. type: item -#: doc/guix.texi:20691 +#: doc/guix.texi:22149 #, no-wrap msgid "@code{serial-unit} (default: @code{#f})" msgstr "@code{serial-unit} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:20695 +#: doc/guix.texi:22153 msgid "The serial unit used by the bootloader, as an integer from 0 to 3. For GRUB, it is chosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual})." msgstr "" #. type: item -#: doc/guix.texi:20696 +#: doc/guix.texi:22154 #, no-wrap msgid "@code{serial-speed} (default: @code{#f})" msgstr "@code{serial-speed} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:20700 +#: doc/guix.texi:22158 msgid "The speed of the serial interface, as an integer. For GRUB, the default value is chosen at run-time; currently GRUB chooses 9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual})." msgstr "" #. type: cindex -#: doc/guix.texi:20704 +#: doc/guix.texi:22162 #, no-wrap msgid "dual boot" msgstr "" #. type: cindex -#: doc/guix.texi:20705 +#: doc/guix.texi:22163 #, no-wrap msgid "boot menu" msgstr "" #. type: Plain text -#: doc/guix.texi:20711 +#: doc/guix.texi:22169 msgid "Should you want to list additional boot menu entries @i{via} the @code{menu-entries} field above, you will need to create them with the @code{menu-entry} form. For example, imagine you want to be able to boot another distro (hard to imagine!), you can define a menu entry along these lines:" msgstr "" #. type: example -#: doc/guix.texi:20718 +#: doc/guix.texi:22176 #, no-wrap msgid "" "(menu-entry\n" @@ -37701,147 +40667,147 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:20721 +#: doc/guix.texi:22179 msgid "Details below." msgstr "" #. type: deftp -#: doc/guix.texi:20722 +#: doc/guix.texi:22180 #, no-wrap msgid "{Data Type} menu-entry" msgstr "{Type de données} menu-entry" #. type: deftp -#: doc/guix.texi:20724 +#: doc/guix.texi:22182 msgid "The type of an entry in the bootloader menu." msgstr "" #. type: code{#1} -#: doc/guix.texi:20727 +#: doc/guix.texi:22185 #, no-wrap msgid "label" msgstr "" #. type: table -#: doc/guix.texi:20729 +#: doc/guix.texi:22187 msgid "The label to show in the menu---e.g., @code{\"GNU\"}." msgstr "" #. type: code{#1} -#: doc/guix.texi:20730 +#: doc/guix.texi:22188 #, no-wrap msgid "linux" msgstr "" #. type: table -#: doc/guix.texi:20732 +#: doc/guix.texi:22190 msgid "The Linux kernel image to boot, for example:" msgstr "" #. type: example -#: doc/guix.texi:20735 +#: doc/guix.texi:22193 #, no-wrap msgid "(file-append linux-libre \"/bzImage\")\n" msgstr "" #. type: table -#: doc/guix.texi:20740 +#: doc/guix.texi:22198 msgid "For GRUB, it is also possible to specify a device explicitly in the file path using GRUB's device naming convention (@pxref{Naming convention,,, grub, GNU GRUB manual}), for example:" msgstr "" #. type: example -#: doc/guix.texi:20743 +#: doc/guix.texi:22201 #, no-wrap msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n" msgstr "" #. type: table -#: doc/guix.texi:20747 +#: doc/guix.texi:22205 msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely." msgstr "" #. type: item -#: doc/guix.texi:20748 +#: doc/guix.texi:22206 #, no-wrap msgid "@code{linux-arguments} (default: @code{()})" msgstr "@code{linux-arguments} (par défaut : @code{()})" #. type: table -#: doc/guix.texi:20751 +#: doc/guix.texi:22209 msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}." msgstr "" #. type: table -#: doc/guix.texi:20755 +#: doc/guix.texi:22213 msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})." msgstr "" #. type: item -#: doc/guix.texi:20755 +#: doc/guix.texi:22213 #, no-wrap msgid "@code{device} (default: @code{#f})" msgstr "@code{device} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:20758 +#: doc/guix.texi:22216 msgid "The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual})." msgstr "" #. type: table -#: doc/guix.texi:20764 +#: doc/guix.texi:22222 msgid "This may be a file system label (a string), a file system UUID (a bytevector, @pxref{File Systems}), or @code{#f}, in which case the bootloader will search the device containing the file specified by the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be an OS device name such as @file{/dev/sda1}." msgstr "" #. type: Plain text -#: doc/guix.texi:20771 +#: doc/guix.texi:22229 msgid "Fow now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not documented yet." msgstr "" #. type: defvr -#: doc/guix.texi:20776 +#: doc/guix.texi:22234 msgid "This is the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record." msgstr "" #. type: defvr -#: doc/guix.texi:20779 +#: doc/guix.texi:22237 msgid "It comes with a fancy background image displaying the GNU and Guix logos." msgstr "" #. type: subsection -#: doc/guix.texi:20783 +#: doc/guix.texi:22241 #, no-wrap msgid "Invoking @code{guix system}" msgstr "Invoquer @code{guix system}" #. type: Plain text -#: doc/guix.texi:20788 +#: doc/guix.texi:22246 msgid "Once you have written an operating system declaration as seen in the previous section, it can be @dfn{instantiated} using the @command{guix system} command. The synopsis is:" msgstr "" #. type: example -#: doc/guix.texi:20791 +#: doc/guix.texi:22249 #, no-wrap msgid "guix system @var{options}@dots{} @var{action} @var{file}\n" msgstr "" #. type: Plain text -#: doc/guix.texi:20797 +#: doc/guix.texi:22255 msgid "@var{file} must be the name of a file containing an @code{operating-system} declaration. @var{action} specifies how the operating system is instantiated. Currently the following values are supported:" msgstr "" #. type: item -#: doc/guix.texi:20799 +#: doc/guix.texi:22257 #, no-wrap msgid "search" msgstr "" #. type: table -#: doc/guix.texi:20802 +#: doc/guix.texi:22260 msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:" msgstr "" #. type: example -#: doc/guix.texi:20814 +#: doc/guix.texi:22272 #, no-wrap msgid "" "$ guix system search console font\n" @@ -37858,7 +40824,7 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:20820 +#: doc/guix.texi:22278 #, no-wrap msgid "" "name: mingetty\n" @@ -37870,7 +40836,7 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:20827 +#: doc/guix.texi:22285 #, no-wrap msgid "" "name: login\n" @@ -37883,194 +40849,194 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:20829 +#: doc/guix.texi:22287 #, no-wrap msgid "@dots{}\n" msgstr "@dots{}\n" #. type: table -#: doc/guix.texi:20834 +#: doc/guix.texi:22292 msgid "As for @command{guix package --search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})." msgstr "" #. type: item -#: doc/guix.texi:20835 +#: doc/guix.texi:22293 #, no-wrap msgid "reconfigure" msgstr "" #. type: table -#: doc/guix.texi:20840 +#: doc/guix.texi:22298 msgid "Build the operating system described in @var{file}, activate it, and switch to it@footnote{This action (and the related actions @code{switch-generation} and @code{roll-back}) are usable only on systems already running GuixSD.}." msgstr "" #. type: table -#: doc/guix.texi:20847 -msgid "This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running, it does not attempt to upgrade it since this would not be possible without stopping it first." +#: doc/guix.texi:22305 +msgid "This effects all the configuration specified in @var{file}: user accounts, system services, global package list, setuid programs, etc. The command starts system services specified in @var{file} that are not currently running; if a service is currently running this command will arrange for it to be upgraded the next time it is stopped (eg. by @code{herd stop X} or @code{herd restart X})." msgstr "" #. type: table -#: doc/guix.texi:20853 +#: doc/guix.texi:22311 msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix system list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})." msgstr "" #. type: table -#: doc/guix.texi:20858 +#: doc/guix.texi:22316 msgid "It also adds a bootloader menu entry for the new OS configuration, ---unless @option{--no-bootloader} is passed. For GRUB, it moves entries for older configurations to a submenu, allowing you to choose an older system generation at boot time should you need it." msgstr "" #. type: quotation -#: doc/guix.texi:20866 +#: doc/guix.texi:22324 msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix system reconfigure} for the first time (@pxref{Invoking guix pull}). Failing to do that you would see an older version of Guix once @command{reconfigure} has completed." msgstr "" #. type: item -#: doc/guix.texi:20868 +#: doc/guix.texi:22326 #, no-wrap msgid "switch-generation" msgstr "" #. type: table -#: doc/guix.texi:20877 +#: doc/guix.texi:22335 msgid "Switch to an existing system generation. This action atomically switches the system profile to the specified system generation. It also rearranges the system's existing bootloader menu entries. It makes the menu entry for the specified system generation the default, and it moves the entries for the other generatiors to a submenu, if supported by the bootloader being used. The next time the system boots, it will use the specified system generation." msgstr "" #. type: table -#: doc/guix.texi:20881 +#: doc/guix.texi:22339 msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file." msgstr "" #. type: table -#: doc/guix.texi:20885 +#: doc/guix.texi:22343 msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:" msgstr "" #. type: example -#: doc/guix.texi:20888 +#: doc/guix.texi:22346 #, no-wrap msgid "guix system switch-generation 7\n" msgstr "" #. type: table -#: doc/guix.texi:20896 +#: doc/guix.texi:22354 msgid "The target generation can also be specified relative to the current generation with the form @code{+N} or @code{-N}, where @code{+3} means ``3 generations ahead of the current generation,'' and @code{-1} means ``1 generation prior to the current generation.'' When specifying a negative value such as @code{-1}, you must precede it with @code{--} to prevent it from being parsed as an option. For example:" msgstr "" #. type: example -#: doc/guix.texi:20899 +#: doc/guix.texi:22357 #, no-wrap msgid "guix system switch-generation -- -1\n" msgstr "" #. type: table -#: doc/guix.texi:20907 +#: doc/guix.texi:22365 msgid "Currently, the effect of invoking this action is @emph{only} to switch the system profile to an existing generation and rearrange the bootloader menu entries. To actually start using the target system generation, you must reboot after running this action. In the future, it will be updated to do the same things as @command{reconfigure}, like activating and deactivating services." msgstr "" #. type: table -#: doc/guix.texi:20909 +#: doc/guix.texi:22367 msgid "This action will fail if the specified generation does not exist." msgstr "" #. type: item -#: doc/guix.texi:20910 +#: doc/guix.texi:22368 #, no-wrap msgid "roll-back" msgstr "" #. type: table -#: doc/guix.texi:20916 +#: doc/guix.texi:22374 msgid "Switch to the preceding system generation. The next time the system boots, it will use the preceding system generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}." msgstr "" #. type: table -#: doc/guix.texi:20920 +#: doc/guix.texi:22378 msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation." msgstr "" #. type: table -#: doc/guix.texi:20925 +#: doc/guix.texi:22383 msgid "Build the derivation of the operating system, which includes all the configuration files and programs needed to boot and run the system. This action does not actually install anything." msgstr "" #. type: item -#: doc/guix.texi:20926 +#: doc/guix.texi:22384 #, no-wrap msgid "init" msgstr "" #. type: table -#: doc/guix.texi:20930 +#: doc/guix.texi:22388 msgid "Populate the given directory with all the files necessary to run the operating system specified in @var{file}. This is useful for first-time installations of GuixSD. For instance:" msgstr "" #. type: example -#: doc/guix.texi:20933 +#: doc/guix.texi:22391 #, no-wrap msgid "guix system init my-os-config.scm /mnt\n" msgstr "" #. type: table -#: doc/guix.texi:20940 +#: doc/guix.texi:22398 msgid "copies to @file{/mnt} all the store items required by the configuration specified in @file{my-os-config.scm}. This includes configuration files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file." msgstr "" #. type: table -#: doc/guix.texi:20944 +#: doc/guix.texi:22402 msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed." msgstr "" #. type: item -#: doc/guix.texi:20945 +#: doc/guix.texi:22403 #, no-wrap msgid "vm" msgstr "" #. type: cindex -#: doc/guix.texi:20946 doc/guix.texi:21210 +#: doc/guix.texi:22404 doc/guix.texi:22668 #, no-wrap msgid "virtual machine" msgstr "" #. type: cindex -#: doc/guix.texi:20947 +#: doc/guix.texi:22405 #, no-wrap msgid "VM" msgstr "" #. type: anchor{#1} -#: doc/guix.texi:20954 +#: doc/guix.texi:22412 msgid "guix system vm" msgstr "" #. type: table -#: doc/guix.texi:20954 +#: doc/guix.texi:22412 msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM). Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1@tie{}GiB of RAM for the emulated machine:" msgstr "" #. type: example -#: doc/guix.texi:20957 +#: doc/guix.texi:22415 #, no-wrap msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -net user\n" msgstr "" #. type: table -#: doc/guix.texi:20960 +#: doc/guix.texi:22418 msgid "The VM shares its store with the host system." msgstr "" #. type: table -#: doc/guix.texi:20965 +#: doc/guix.texi:22423 msgid "Additional file systems can be shared between the host and the VM using the @code{--share} and @code{--expose} command-line options: the former specifies a directory to be shared with write access, while the latter provides read-only access to the shared directory." msgstr "" #. type: table -#: doc/guix.texi:20969 +#: doc/guix.texi:22427 msgid "The example below creates a VM in which the user's home directory is accessible read-only, and where the @file{/exchange} directory is a read-write mapping of @file{$HOME/tmp} on the host:" msgstr "" #. type: example -#: doc/guix.texi:20973 +#: doc/guix.texi:22431 #, no-wrap msgid "" "guix system vm my-config.scm \\\n" @@ -38078,78 +41044,78 @@ msgid "" msgstr "" #. type: table -#: doc/guix.texi:20978 +#: doc/guix.texi:22436 msgid "On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted." msgstr "" #. type: table -#: doc/guix.texi:20984 +#: doc/guix.texi:22442 msgid "The @code{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created. The @code{--image-size} option can be used to specify the size of the image." msgstr "" #. type: cindex -#: doc/guix.texi:20985 +#: doc/guix.texi:22443 #, no-wrap msgid "System images, creation in various formats" msgstr "" #. type: cindex -#: doc/guix.texi:20986 +#: doc/guix.texi:22444 #, no-wrap msgid "Creating system images in various formats" msgstr "" #. type: item -#: doc/guix.texi:20987 +#: doc/guix.texi:22445 #, no-wrap msgid "vm-image" msgstr "" #. type: itemx -#: doc/guix.texi:20988 +#: doc/guix.texi:22446 #, no-wrap msgid "disk-image" msgstr "" #. type: itemx -#: doc/guix.texi:20989 +#: doc/guix.texi:22447 #, no-wrap msgid "docker-image" msgstr "" #. type: table -#: doc/guix.texi:20997 +#: doc/guix.texi:22455 msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}." msgstr "" #. type: table -#: doc/guix.texi:21000 +#: doc/guix.texi:22458 msgid "You can specify the root file system type by using the @option{--file-system-type} option. It defaults to @code{ext4}." msgstr "" #. type: table -#: doc/guix.texi:21004 +#: doc/guix.texi:22462 msgid "When using @code{vm-image}, the returned image is in qcow2 format, which the QEMU emulator can efficiently use. @xref{Running GuixSD in a VM}, for more information on how to run the image in a virtual machine." msgstr "" #. type: table -#: doc/guix.texi:21009 +#: doc/guix.texi:22467 msgid "When using @code{disk-image}, a raw disk image is produced; it can be copied as is to a USB stick, for instance. Assuming @code{/dev/sdc} is the device corresponding to a USB stick, one can copy the image to it using the following command:" msgstr "" #. type: example -#: doc/guix.texi:21012 +#: doc/guix.texi:22470 #, no-wrap msgid "# dd if=$(guix system disk-image my-os.scm) of=/dev/sdc\n" msgstr "" #. type: table -#: doc/guix.texi:21019 +#: doc/guix.texi:22477 msgid "When using @code{docker-image}, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:" msgstr "" #. type: example -#: doc/guix.texi:21025 +#: doc/guix.texi:22483 #, no-wrap msgid "" "image_id=\"$(docker load < guixsd-docker-image.tar.gz)\"\n" @@ -38159,27 +41125,27 @@ msgid "" msgstr "" #. type: table -#: doc/guix.texi:21035 +#: doc/guix.texi:22493 msgid "This command starts a new Docker container from the specified image. It will boot the GuixSD system in the usual manner, which means it will start any services you have defined in the operating system configuration. Depending on what you run in the Docker container, it may be necessary to give the container additional permissions. For example, if you intend to build software using Guix inside of the Docker container, you may need to pass the @option{--privileged} option to @code{docker run}." msgstr "" #. type: table -#: doc/guix.texi:21043 +#: doc/guix.texi:22501 msgid "Return a script to run the operating system declared in @var{file} within a container. Containers are a set of lightweight isolation mechanisms provided by the kernel Linux-libre. Containers are substantially less resource-demanding than full virtual machines since the kernel, shared objects, and other resources can be shared with the host system; this also means they provide thinner isolation." msgstr "" #. type: table -#: doc/guix.texi:21047 +#: doc/guix.texi:22505 msgid "Currently, the script must be run as root in order to support more than a single user and group. The container shares its store with the host system." msgstr "" #. type: table -#: doc/guix.texi:21051 +#: doc/guix.texi:22509 msgid "As with the @code{vm} action (@pxref{guix system vm}), additional file systems to be shared between the host and container can be specified using the @option{--share} and @option{--expose} options:" msgstr "" #. type: example -#: doc/guix.texi:21055 +#: doc/guix.texi:22513 #, no-wrap msgid "" "guix system container my-config.scm \\\n" @@ -38187,260 +41153,260 @@ msgid "" msgstr "" #. type: quotation -#: doc/guix.texi:21059 +#: doc/guix.texi:22517 msgid "This option requires Linux-libre 3.19 or newer." msgstr "" #. type: Plain text -#: doc/guix.texi:21066 +#: doc/guix.texi:22524 msgid "@var{options} can contain any of the common build options (@pxref{Common Build Options}). In addition, @var{options} can contain one of the following:" msgstr "" #. type: table -#: doc/guix.texi:21075 +#: doc/guix.texi:22533 msgid "Consider the operating-system @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to an operating system. This is used to generate the GuixSD installer @pxref{Building the Installation Image})." msgstr "" #. type: table -#: doc/guix.texi:21080 +#: doc/guix.texi:22538 msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})." msgstr "" #. type: item -#: doc/guix.texi:21081 +#: doc/guix.texi:22539 #, no-wrap msgid "--derivation" msgstr "" #. type: table -#: doc/guix.texi:21085 +#: doc/guix.texi:22543 msgid "Return the derivation file name of the given operating system without building anything." msgstr "" #. type: item -#: doc/guix.texi:21086 +#: doc/guix.texi:22544 #, no-wrap msgid "--file-system-type=@var{type}" msgstr "" #. type: table -#: doc/guix.texi:21090 +#: doc/guix.texi:22548 msgid "For the @code{disk-image} action, create a file system of the given @var{type} on the image." msgstr "" #. type: table -#: doc/guix.texi:21092 +#: doc/guix.texi:22550 msgid "When this option is omitted, @command{guix system} uses @code{ext4}." msgstr "" #. type: cindex -#: doc/guix.texi:21093 +#: doc/guix.texi:22551 #, no-wrap msgid "ISO-9660 format" msgstr "" #. type: cindex -#: doc/guix.texi:21094 +#: doc/guix.texi:22552 #, no-wrap msgid "CD image format" msgstr "" #. type: cindex -#: doc/guix.texi:21095 +#: doc/guix.texi:22553 #, no-wrap msgid "DVD image format" msgstr "" #. type: table -#: doc/guix.texi:21098 +#: doc/guix.texi:22556 msgid "@code{--file-system-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs." msgstr "" #. type: item -#: doc/guix.texi:21099 +#: doc/guix.texi:22557 #, no-wrap msgid "--image-size=@var{size}" msgstr "" #. type: table -#: doc/guix.texi:21104 +#: doc/guix.texi:22562 msgid "For the @code{vm-image} and @code{disk-image} actions, create an image of the given @var{size}. @var{size} may be a number of bytes, or it may include a unit as a suffix (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})." msgstr "" #. type: table -#: doc/guix.texi:21108 +#: doc/guix.texi:22566 msgid "When this option is omitted, @command{guix system} computes an estimate of the image size as a function of the size of the system declared in @var{file}." msgstr "" #. type: item -#: doc/guix.texi:21114 +#: doc/guix.texi:22572 #, no-wrap msgid "--skip-checks" msgstr "--skip-checks" #. type: table -#: doc/guix.texi:21116 +#: doc/guix.texi:22574 msgid "Skip pre-installation safety checks." msgstr "" #. type: table -#: doc/guix.texi:21123 +#: doc/guix.texi:22581 msgid "By default, @command{guix system init} and @command{guix system reconfigure} perform safety checks: they make sure the file systems that appear in the @code{operating-system} declaration actually exist (@pxref{File Systems}), and that any Linux kernel modules that may be needed at boot time are listed in @code{initrd-modules} (@pxref{Initial RAM Disk}). Passing this option skips these tests altogether." msgstr "" #. type: item -#: doc/guix.texi:21124 +#: doc/guix.texi:22582 #, no-wrap msgid "--on-error=@var{strategy}" msgstr "" #. type: table -#: doc/guix.texi:21127 +#: doc/guix.texi:22585 msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:" msgstr "" #. type: item -#: doc/guix.texi:21129 +#: doc/guix.texi:22587 #, no-wrap msgid "nothing-special" msgstr "" #. type: table -#: doc/guix.texi:21131 +#: doc/guix.texi:22589 msgid "Report the error concisely and exit. This is the default strategy." msgstr "" #. type: item -#: doc/guix.texi:21132 +#: doc/guix.texi:22590 #, no-wrap msgid "backtrace" msgstr "" #. type: table -#: doc/guix.texi:21134 +#: doc/guix.texi:22592 msgid "Likewise, but also display a backtrace." msgstr "" #. type: item -#: doc/guix.texi:21135 +#: doc/guix.texi:22593 #, no-wrap msgid "debug" msgstr "" #. type: table -#: doc/guix.texi:21141 +#: doc/guix.texi:22599 msgid "Report the error and enter Guile's debugger. From there, you can run commands such as @code{,bt} to get a backtrace, @code{,locals} to display local variable values, and more generally inspect the state of the program. @xref{Debug Commands,,, guile, GNU Guile Reference Manual}, for a list of available debugging commands." msgstr "" #. type: quotation -#: doc/guix.texi:21151 +#: doc/guix.texi:22609 msgid "All the actions above, except @code{build} and @code{init}, can use KVM support in the Linux-libre kernel. Specifically, if the machine has hardware virtualization support, the corresponding KVM kernel module should be loaded, and the @file{/dev/kvm} device node must exist and be readable and writable by the user and by the build users of the daemon (@pxref{Build Environment Setup})." msgstr "" #. type: Plain text -#: doc/guix.texi:21157 +#: doc/guix.texi:22615 msgid "Once you have built, configured, re-configured, and re-re-configured your GuixSD installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the bootloader boot menu:" msgstr "" #. type: item -#: doc/guix.texi:21160 +#: doc/guix.texi:22618 #, no-wrap msgid "list-generations" msgstr "" #. type: table -#: doc/guix.texi:21165 +#: doc/guix.texi:22623 msgid "List a summary of each generation of the operating system available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})." msgstr "" #. type: table -#: doc/guix.texi:21170 +#: doc/guix.texi:22628 msgid "Optionally, one can specify a pattern, with the same syntax that is used in @command{guix package --list-generations}, to restrict the list of generations displayed. For instance, the following command displays generations that are up to 10 days old:" msgstr "" #. type: example -#: doc/guix.texi:21173 +#: doc/guix.texi:22631 #, no-wrap msgid "$ guix system list-generations 10d\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21180 +#: doc/guix.texi:22638 msgid "The @command{guix system} command has even more to offer! The following sub-commands allow you to visualize how your system services relate to each other:" msgstr "" #. type: anchor{#1} -#: doc/guix.texi:21182 +#: doc/guix.texi:22640 msgid "system-extension-graph" msgstr "" #. type: item -#: doc/guix.texi:21184 +#: doc/guix.texi:22642 #, no-wrap msgid "extension-graph" msgstr "" #. type: table -#: doc/guix.texi:21189 +#: doc/guix.texi:22647 msgid "Emit in Dot/Graphviz format to standard output the @dfn{service extension graph} of the operating system defined in @var{file} (@pxref{Service Composition}, for more information on service extensions.)" msgstr "" #. type: table -#: doc/guix.texi:21191 +#: doc/guix.texi:22649 msgid "The command:" msgstr "" #. type: example -#: doc/guix.texi:21194 +#: doc/guix.texi:22652 #, no-wrap msgid "$ guix system extension-graph @var{file} | dot -Tpdf > services.pdf\n" msgstr "" #. type: table -#: doc/guix.texi:21197 +#: doc/guix.texi:22655 msgid "produces a PDF file showing the extension relations among services." msgstr "" #. type: anchor{#1} -#: doc/guix.texi:21199 +#: doc/guix.texi:22657 msgid "system-shepherd-graph" msgstr "" #. type: item -#: doc/guix.texi:21199 +#: doc/guix.texi:22657 #, no-wrap msgid "shepherd-graph" msgstr "" #. type: table -#: doc/guix.texi:21204 +#: doc/guix.texi:22662 msgid "Emit in Dot/Graphviz format to standard output the @dfn{dependency graph} of shepherd services of the operating system defined in @var{file}. @xref{Shepherd Services}, for more information and for an example graph." msgstr "" #. type: subsection -#: doc/guix.texi:21208 +#: doc/guix.texi:22666 #, no-wrap msgid "Running GuixSD in a Virtual Machine" msgstr "" #. type: Plain text -#: doc/guix.texi:21218 -msgid "To run GuixSD in a virtual machine (VM), one can either use the pre-built GuixSD VM image distributed at @indicateurl{ftp://alpha.gnu.org/guix/guixsd-vm-image-@value{VERSION}.@var{system}.tar.xz} , or build their own virtual machine image using @command{guix system vm-image} (@pxref{Invoking guix system}). The returned image is in qcow2 format, which the @uref{http://qemu.org/, QEMU emulator} can efficiently use." +#: doc/guix.texi:22676 +msgid "To run GuixSD in a virtual machine (VM), one can either use the pre-built GuixSD VM image distributed at @indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-vm-image-@value{VERSION}.@var{system}.xz} , or build their own virtual machine image using @command{guix system vm-image} (@pxref{Invoking guix system}). The returned image is in qcow2 format, which the @uref{http://qemu.org/, QEMU emulator} can efficiently use." msgstr "" #. type: cindex -#: doc/guix.texi:21219 +#: doc/guix.texi:22677 #, no-wrap msgid "QEMU" msgstr "" #. type: Plain text -#: doc/guix.texi:21226 +#: doc/guix.texi:22684 msgid "If you built your own image, you must copy it out of the store (@pxref{The Store}) and give yourself permission to write to the copy before you can use it. When invoking QEMU, you must choose a system emulator that is suitable for your hardware platform. Here is a minimal QEMU invocation that will boot the result of @command{guix system vm-image} on x86_64 hardware:" msgstr "" #. type: example -#: doc/guix.texi:21231 +#: doc/guix.texi:22689 #, no-wrap msgid "" "$ qemu-system-x86_64 \\\n" @@ -38449,132 +41415,132 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21234 +#: doc/guix.texi:22692 msgid "Here is what each of these options means:" msgstr "" #. type: item -#: doc/guix.texi:21236 +#: doc/guix.texi:22694 #, no-wrap msgid "qemu-system-x86_64" msgstr "" #. type: table -#: doc/guix.texi:21239 +#: doc/guix.texi:22697 msgid "This specifies the hardware platform to emulate. This should match the host." msgstr "" #. type: item -#: doc/guix.texi:21240 +#: doc/guix.texi:22698 #, no-wrap msgid "-net user" msgstr "" #. type: table -#: doc/guix.texi:21244 +#: doc/guix.texi:22702 msgid "Enable the unprivileged user-mode network stack. The guest OS can access the host but not vice versa. This is the simplest way to get the guest OS online." msgstr "" #. type: item -#: doc/guix.texi:21245 +#: doc/guix.texi:22703 #, no-wrap msgid "-net nic,model=virtio" msgstr "" #. type: table -#: doc/guix.texi:21250 +#: doc/guix.texi:22708 msgid "You must create a network interface of a given model. If you do not create a NIC, the boot will fail. Assuming your hardware platform is x86_64, you can get a list of available NIC models by running @command{qemu-system-x86_64 -net nic,model=help}." msgstr "" #. type: item -#: doc/guix.texi:21251 +#: doc/guix.texi:22709 #, no-wrap msgid "-enable-kvm" msgstr "" #. type: table -#: doc/guix.texi:21255 +#: doc/guix.texi:22713 msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster." msgstr "" #. type: item -#: doc/guix.texi:21256 +#: doc/guix.texi:22714 #, no-wrap msgid "-m 256" msgstr "" #. type: table -#: doc/guix.texi:21259 +#: doc/guix.texi:22717 msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations." msgstr "" #. type: item -#: doc/guix.texi:21260 +#: doc/guix.texi:22718 #, no-wrap msgid "/tmp/qemu-image" msgstr "" #. type: table -#: doc/guix.texi:21262 +#: doc/guix.texi:22720 msgid "The file name of the qcow2 image." msgstr "" #. type: Plain text -#: doc/guix.texi:21272 +#: doc/guix.texi:22730 msgid "The default @command{run-vm.sh} script that is returned by an invocation of @command{guix system vm} does not add a @command{-net user} flag by default. To get network access from within the vm add the @code{(dhcp-client-service)} to your system definition and start the VM using @command{`guix system vm config.scm` -net user}. An important caveat of using @command{-net user} for networking is that @command{ping} will not work, because it uses the ICMP protocol. You'll have to use a different command to check for network connectivity, for example @command{guix download}." msgstr "" #. type: subsubsection -#: doc/guix.texi:21273 +#: doc/guix.texi:22731 #, no-wrap msgid "Connecting Through SSH" msgstr "" #. type: Plain text -#: doc/guix.texi:21282 +#: doc/guix.texi:22740 msgid "To enable SSH inside a VM you need to add a SSH server like @code{(dropbear-service)} or @code{(lsh-service)} to your VM. The @code{(lsh-service}) doesn't currently boot unsupervised. It requires you to type some characters to initialize the randomness generator. In addition you need to forward the SSH port, 22 by default, to the host. You can do this with" msgstr "" #. type: example -#: doc/guix.texi:21285 +#: doc/guix.texi:22743 #, no-wrap msgid "`guix system vm config.scm` -net user,hostfwd=tcp::10022-:22\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21288 +#: doc/guix.texi:22746 msgid "To connect to the VM you can run" msgstr "" #. type: example -#: doc/guix.texi:21291 +#: doc/guix.texi:22749 #, no-wrap msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21298 +#: doc/guix.texi:22756 msgid "The @command{-p} tells @command{ssh} the port you want to connect to. @command{-o UserKnownHostsFile=/dev/null} prevents @command{ssh} from complaining every time you modify your @command{config.scm} file and the @command{-o StrictHostKeyChecking=no} prevents you from having to allow a connection to an unknown host every time you connect." msgstr "" #. type: subsubsection -#: doc/guix.texi:21299 +#: doc/guix.texi:22757 #, no-wrap msgid "Using @command{virt-viewer} with Spice" msgstr "" #. type: Plain text -#: doc/guix.texi:21305 +#: doc/guix.texi:22763 msgid "As an alternative to the default @command{qemu} graphical client you can use the @command{remote-viewer} from the @command{virt-viewer} package. To connect pass the @command{-spice port=5930,disable-ticketing} flag to @command{qemu}. See previous section for further information on how to do this." msgstr "" #. type: Plain text -#: doc/guix.texi:21308 +#: doc/guix.texi:22766 msgid "Spice also allows you to do some nice stuff like share your clipboard with your VM. To enable that you'll also have to pass the following flags to @command{qemu}:" msgstr "" #. type: example -#: doc/guix.texi:21314 +#: doc/guix.texi:22772 #, no-wrap msgid "" "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n" @@ -38584,81 +41550,81 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21317 +#: doc/guix.texi:22775 msgid "You'll also need to add the @pxref{Miscellaneous Services, Spice service}." msgstr "" #. type: Plain text -#: doc/guix.texi:21324 +#: doc/guix.texi:22782 msgid "The previous sections show the available services and how one can combine them in an @code{operating-system} declaration. But how do we define them in the first place? And what is a service anyway?" msgstr "" #. type: cindex -#: doc/guix.texi:21336 +#: doc/guix.texi:22794 #, no-wrap msgid "daemons" msgstr "" #. type: Plain text -#: doc/guix.texi:21349 +#: doc/guix.texi:22807 msgid "Here we define a @dfn{service} as, broadly, something that extends the functionality of the operating system. Often a service is a process---a @dfn{daemon}---started when the system boots: a secure shell server, a Web server, the Guix build daemon, etc. Sometimes a service is a daemon whose execution can be triggered by another daemon---e.g., an FTP server started by @command{inetd} or a D-Bus service activated by @command{dbus-daemon}. Occasionally, a service does not map to a daemon. For instance, the ``account'' service collects user accounts and makes sure they exist when the system runs; the ``udev'' service collects device management rules and makes them available to the eudev daemon; the @file{/etc} service populates the @file{/etc} directory of the system." msgstr "" #. type: cindex -#: doc/guix.texi:21350 +#: doc/guix.texi:22808 #, no-wrap msgid "service extensions" msgstr "" #. type: Plain text -#: doc/guix.texi:21362 +#: doc/guix.texi:22820 msgid "GuixSD services are connected by @dfn{extensions}. For instance, the secure shell service @emph{extends} the Shepherd---the GuixSD initialization system, running as PID@tie{}1---by giving it the command lines to start and stop the secure shell daemon (@pxref{Networking Services, @code{lsh-service}}); the UPower service extends the D-Bus service by passing it its @file{.service} specification, and extends the udev service by passing it device management rules (@pxref{Desktop Services, @code{upower-service}}); the Guix daemon service extends the Shepherd by passing it the command lines to start and stop the daemon, and extends the account service by passing it a list of required build user accounts (@pxref{Base Services})." msgstr "" #. type: Plain text -#: doc/guix.texi:21366 +#: doc/guix.texi:22824 msgid "All in all, services and their ``extends'' relations form a directed acyclic graph (DAG). If we represent services as boxes and extensions as arrows, a typical system might provide something like this:" msgstr "" #. type: Plain text -#: doc/guix.texi:21368 +#: doc/guix.texi:22826 msgid "@image{images/service-graph,,5in,Typical service extension graph.}" msgstr "" #. type: cindex -#: doc/guix.texi:21369 +#: doc/guix.texi:22827 #, no-wrap msgid "system service" msgstr "" #. type: Plain text -#: doc/guix.texi:21377 +#: doc/guix.texi:22835 msgid "At the bottom, we see the @dfn{system service}, which produces the directory containing everything to run and boot the system, as returned by the @command{guix system build} command. @xref{Service Reference}, to learn about the other service types shown here. @xref{system-extension-graph, the @command{guix system extension-graph} command}, for information on how to generate this representation for a particular operating system definition." msgstr "" #. type: cindex -#: doc/guix.texi:21378 +#: doc/guix.texi:22836 #, no-wrap msgid "service types" msgstr "" #. type: Plain text -#: doc/guix.texi:21384 +#: doc/guix.texi:22842 msgid "Technically, developers can define @dfn{service types} to express these relations. There can be any number of services of a given type on the system---for instance, a system running two instances of the GNU secure shell server (lsh) has two instances of @var{lsh-service-type}, with different parameters." msgstr "" #. type: Plain text -#: doc/guix.texi:21387 +#: doc/guix.texi:22845 msgid "The following section describes the programming interface for service types and services." msgstr "" #. type: Plain text -#: doc/guix.texi:21394 +#: doc/guix.texi:22852 msgid "A @dfn{service type} is a node in the DAG described above. Let us start with a simple example, the service type for the Guix build daemon (@pxref{Invoking guix-daemon}):" msgstr "" #. type: example -#: doc/guix.texi:21404 +#: doc/guix.texi:22862 #, no-wrap msgid "" "(define guix-service-type\n" @@ -38672,75 +41638,75 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21408 +#: doc/guix.texi:22866 msgid "It defines three things:" msgstr "" #. type: enumerate -#: doc/guix.texi:21412 +#: doc/guix.texi:22870 msgid "A name, whose sole purpose is to make inspection and debugging easier." msgstr "" #. type: enumerate -#: doc/guix.texi:21417 +#: doc/guix.texi:22875 msgid "A list of @dfn{service extensions}, where each extension designates the target service type and a procedure that, given the parameters of the service, returns a list of objects to extend the service of that type." msgstr "" #. type: enumerate -#: doc/guix.texi:21420 +#: doc/guix.texi:22878 msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service." msgstr "" #. type: enumerate -#: doc/guix.texi:21423 +#: doc/guix.texi:22881 msgid "Optionally, a default value for instances of this type." msgstr "" #. type: Plain text -#: doc/guix.texi:21426 +#: doc/guix.texi:22884 msgid "In this example, @var{guix-service-type} extends three services:" msgstr "" #. type: item -#: doc/guix.texi:21428 +#: doc/guix.texi:22886 #, no-wrap msgid "shepherd-root-service-type" msgstr "" #. type: table -#: doc/guix.texi:21433 +#: doc/guix.texi:22891 msgid "The @var{guix-shepherd-service} procedure defines how the Shepherd service is extended. Namely, it returns a @code{} object that defines how @command{guix-daemon} is started and stopped (@pxref{Shepherd Services})." msgstr "" #. type: item -#: doc/guix.texi:21434 +#: doc/guix.texi:22892 #, no-wrap msgid "account-service-type" msgstr "" #. type: table -#: doc/guix.texi:21439 +#: doc/guix.texi:22897 msgid "This extension for this service is computed by @var{guix-accounts}, which returns a list of @code{user-group} and @code{user-account} objects representing the build user accounts (@pxref{Invoking guix-daemon})." msgstr "" #. type: item -#: doc/guix.texi:21440 +#: doc/guix.texi:22898 #, no-wrap msgid "activation-service-type" msgstr "" #. type: table -#: doc/guix.texi:21444 +#: doc/guix.texi:22902 msgid "Here @var{guix-activation} is a procedure that returns a gexp, which is a code snippet to run at ``activation time''---e.g., when the service is booted." msgstr "" #. type: Plain text -#: doc/guix.texi:21447 +#: doc/guix.texi:22905 msgid "A service of this type is instantiated like this:" msgstr "" #. type: example -#: doc/guix.texi:21453 +#: doc/guix.texi:22911 #, no-wrap msgid "" "(service guix-service-type\n" @@ -38750,28 +41716,28 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21461 +#: doc/guix.texi:22919 msgid "The second argument to the @code{service} form is a value representing the parameters of this specific service instance. @xref{guix-configuration-type, @code{guix-configuration}}, for information about the @code{guix-configuration} data type. When the value is omitted, the default value specified by @code{guix-service-type} is used:" msgstr "" #. type: example -#: doc/guix.texi:21464 +#: doc/guix.texi:22922 #, no-wrap msgid "(service guix-service-type)\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21468 +#: doc/guix.texi:22926 msgid "@var{guix-service-type} is quite simple because it extends other services but is not extensible itself." msgstr "" #. type: Plain text -#: doc/guix.texi:21472 +#: doc/guix.texi:22930 msgid "The service type for an @emph{extensible} service looks like this:" msgstr "" #. type: example -#: doc/guix.texi:21479 +#: doc/guix.texi:22937 #, no-wrap msgid "" "(define udev-service-type\n" @@ -38783,7 +41749,7 @@ msgid "" msgstr "" #. type: example -#: doc/guix.texi:21487 +#: doc/guix.texi:22945 #, no-wrap msgid "" " (compose concatenate) ;concatenate the list of rules\n" @@ -38796,96 +41762,96 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21493 +#: doc/guix.texi:22951 msgid "This is the service type for the @uref{https://wiki.gentoo.org/wiki/Project:Eudev, eudev device management daemon}. Compared to the previous example, in addition to an extension of @var{shepherd-root-service-type}, we see two new fields:" msgstr "" #. type: item -#: doc/guix.texi:21495 +#: doc/guix.texi:22953 #, no-wrap msgid "compose" msgstr "" #. type: table -#: doc/guix.texi:21498 +#: doc/guix.texi:22956 msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type." msgstr "" #. type: table -#: doc/guix.texi:21501 +#: doc/guix.texi:22959 msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them." msgstr "" #. type: item -#: doc/guix.texi:21502 +#: doc/guix.texi:22960 #, no-wrap msgid "extend" msgstr "" #. type: table -#: doc/guix.texi:21505 +#: doc/guix.texi:22963 msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions." msgstr "" #. type: table -#: doc/guix.texi:21510 +#: doc/guix.texi:22968 msgid "Udev extensions are composed into a list of rules, but the udev service value is itself a @code{} record. So here, we extend that record by appending the list of rules it contains to the list of contributed rules." msgstr "" #. type: table -#: doc/guix.texi:21516 +#: doc/guix.texi:22974 msgid "This is a string giving an overview of the service type. The string can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). The @command{guix system search} command searches these strings and displays them (@pxref{Invoking guix system})." msgstr "" #. type: Plain text -#: doc/guix.texi:21521 +#: doc/guix.texi:22979 msgid "There can be only one instance of an extensible service type such as @var{udev-service-type}. If there were more, the @code{service-extension} specifications would be ambiguous." msgstr "" #. type: Plain text -#: doc/guix.texi:21524 +#: doc/guix.texi:22982 msgid "Still here? The next section provides a reference of the programming interface for services." msgstr "" #. type: Plain text -#: doc/guix.texi:21532 +#: doc/guix.texi:22990 msgid "We have seen an overview of service types (@pxref{Service Types and Services}). This section provides a reference on how to manipulate services and service types. This interface is provided by the @code{(gnu services)} module." msgstr "" #. type: deffn -#: doc/guix.texi:21533 +#: doc/guix.texi:22991 #, no-wrap msgid "{Scheme Procedure} service @var{type} [@var{value}]" msgstr "{Procédure Scheme} service @var{type} [@var{value}]" #. type: deffn -#: doc/guix.texi:21537 +#: doc/guix.texi:22995 msgid "Return a new service of @var{type}, a @code{} object (see below.) @var{value} can be any object; it represents the parameters of this particular service instance." msgstr "" #. type: deffn -#: doc/guix.texi:21541 +#: doc/guix.texi:22999 msgid "When @var{value} is omitted, the default value specified by @var{type} is used; if @var{type} does not specify a default value, an error is raised." msgstr "" #. type: deffn -#: doc/guix.texi:21543 +#: doc/guix.texi:23001 msgid "For instance, this:" msgstr "" #. type: example -#: doc/guix.texi:21546 +#: doc/guix.texi:23004 #, no-wrap msgid "(service openssh-service-type)\n" msgstr "" #. type: deffn -#: doc/guix.texi:21550 +#: doc/guix.texi:23008 msgid "is equivalent to this:" msgstr "" #. type: example -#: doc/guix.texi:21554 +#: doc/guix.texi:23012 #, no-wrap msgid "" "(service openssh-service-type\n" @@ -38893,50 +41859,50 @@ msgid "" msgstr "" #. type: deffn -#: doc/guix.texi:21558 +#: doc/guix.texi:23016 msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration." msgstr "" #. type: deffn -#: doc/guix.texi:21560 +#: doc/guix.texi:23018 #, no-wrap msgid "{Scheme Procedure} service? @var{obj}" msgstr "{Procédure Scheme} service? @var{obj}" #. type: deffn -#: doc/guix.texi:21562 +#: doc/guix.texi:23020 msgid "Return true if @var{obj} is a service." msgstr "" #. type: deffn -#: doc/guix.texi:21564 +#: doc/guix.texi:23022 #, no-wrap msgid "{Scheme Procedure} service-kind @var{service}" msgstr "{Procédure Scheme} service-kind @var{service}" #. type: deffn -#: doc/guix.texi:21566 +#: doc/guix.texi:23024 msgid "Return the type of @var{service}---i.e., a @code{} object." msgstr "" #. type: deffn -#: doc/guix.texi:21568 +#: doc/guix.texi:23026 #, no-wrap msgid "{Scheme Procedure} service-value @var{service}" msgstr "{Procédure Scheme} service-value @var{service}" #. type: deffn -#: doc/guix.texi:21571 +#: doc/guix.texi:23029 msgid "Return the value associated with @var{service}. It represents its parameters." msgstr "" #. type: Plain text -#: doc/guix.texi:21574 +#: doc/guix.texi:23032 msgid "Here is an example of how a service is created and manipulated:" msgstr "" #. type: example -#: doc/guix.texi:21583 +#: doc/guix.texi:23041 #, no-wrap msgid "" "(define s\n" @@ -38948,186 +41914,199 @@ msgid "" " (file config-file))))\n" "\n" msgstr "" +"(define s\n" +" (service nginx-service-type\n" +" (nginx-configuration\n" +" (nginx nginx)\n" +" (log-directory log-directory)\n" +" (run-directory run-directory)\n" +" (file config-file))))\n" +"\n" #. type: example -#: doc/guix.texi:21586 +#: doc/guix.texi:23044 #, no-wrap msgid "" "(service? s)\n" "@result{} #t\n" "\n" msgstr "" +"(service? s)\n" +"@result{} #t\n" +"\n" #. type: example -#: doc/guix.texi:21589 +#: doc/guix.texi:23047 #, no-wrap msgid "" "(eq? (service-kind s) nginx-service-type)\n" "@result{} #t\n" msgstr "" +"(eq? (service-kind s) nginx-service-type)\n" +"@result{} #t\n" #. type: Plain text -#: doc/guix.texi:21599 +#: doc/guix.texi:23057 msgid "The @code{modify-services} form provides a handy way to change the parameters of some of the services of a list such as @var{%base-services} (@pxref{Base Services, @code{%base-services}}). It evaluates to a list of services. Of course, you could always use standard list combinators such as @code{map} and @code{fold} to do that (@pxref{SRFI-1, List Library,, guile, GNU Guile Reference Manual}); @code{modify-services} simply provides a more concise form for this common pattern." msgstr "" #. type: deffn -#: doc/guix.texi:21600 +#: doc/guix.texi:23058 #, no-wrap msgid "{Scheme Syntax} modify-services @var{services} @" msgstr "" #. type: deffn -#: doc/guix.texi:21602 +#: doc/guix.texi:23060 msgid "(@var{type} @var{variable} => @var{body}) @dots{}" msgstr "" #. type: deffn -#: doc/guix.texi:21605 +#: doc/guix.texi:23063 msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:" msgstr "" #. type: example -#: doc/guix.texi:21608 +#: doc/guix.texi:23066 #, no-wrap msgid "(@var{type} @var{variable} => @var{body})\n" msgstr "" #. type: deffn -#: doc/guix.texi:21615 +#: doc/guix.texi:23073 msgid "where @var{type} is a service type---e.g., @code{guix-service-type}---and @var{variable} is an identifier that is bound within the @var{body} to the service parameters---e.g., a @code{guix-configuration} instance---of the original service of that @var{type}." msgstr "" #. type: deffn -#: doc/guix.texi:21622 +#: doc/guix.texi:23080 msgid "The @var{body} should evaluate to the new service parameters, which will be used to configure the new service. This new service will replace the original in the resulting list. Because a service's service parameters are created using @code{define-record-type*}, you can write a succinct @var{body} that evaluates to the new service parameters by using the @code{inherit} feature that @code{define-record-type*} provides." msgstr "" #. type: deffn -#: doc/guix.texi:21624 +#: doc/guix.texi:23082 msgid "@xref{Using the Configuration System}, for example usage." msgstr "" #. type: Plain text -#: doc/guix.texi:21631 +#: doc/guix.texi:23089 msgid "Next comes the programming interface for service types. This is something you want to know when writing new service definitions, but not necessarily when simply looking for ways to customize your @code{operating-system} declaration." msgstr "" #. type: deftp -#: doc/guix.texi:21632 +#: doc/guix.texi:23090 #, no-wrap msgid "{Data Type} service-type" msgstr "{Type de données} service-type" #. type: cindex -#: doc/guix.texi:21633 +#: doc/guix.texi:23091 #, no-wrap msgid "service type" -msgstr "" +msgstr "type de service" #. type: deftp -#: doc/guix.texi:21636 +#: doc/guix.texi:23094 msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})." msgstr "" #. type: table -#: doc/guix.texi:21640 +#: doc/guix.texi:23098 msgid "This is a symbol, used only to simplify inspection and debugging." msgstr "" #. type: code{#1} -#: doc/guix.texi:21641 +#: doc/guix.texi:23099 #, no-wrap msgid "extensions" -msgstr "" +msgstr "extensions" #. type: table -#: doc/guix.texi:21643 +#: doc/guix.texi:23101 msgid "A non-empty list of @code{} objects (see below)." msgstr "" #. type: item -#: doc/guix.texi:21644 +#: doc/guix.texi:23102 #, no-wrap msgid "@code{compose} (default: @code{#f})" msgstr "@code{compose} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:21648 +#: doc/guix.texi:23106 msgid "If this is @code{#f}, then the service type denotes services that cannot be extended---i.e., services that do not receive ``values'' from other services." msgstr "" #. type: table -#: doc/guix.texi:21652 +#: doc/guix.texi:23110 msgid "Otherwise, it must be a one-argument procedure. The procedure is called by @code{fold-services} and is passed a list of values collected from extensions. It may return any single value." msgstr "" #. type: item -#: doc/guix.texi:21653 +#: doc/guix.texi:23111 #, no-wrap msgid "@code{extend} (default: @code{#f})" msgstr "@code{extend} (par défaut : @code{#f})" #. type: table -#: doc/guix.texi:21655 +#: doc/guix.texi:23113 msgid "If this is @code{#f}, services of this type cannot be extended." msgstr "" #. type: table -#: doc/guix.texi:21661 +#: doc/guix.texi:23119 msgid "Otherwise, it must be a two-argument procedure: @code{fold-services} calls it, passing it the initial value of the service as the first argument and the result of applying @code{compose} to the extension values as the second argument. It must return a value that is a valid parameter value for the service instance." msgstr "" #. type: deftp -#: doc/guix.texi:21664 +#: doc/guix.texi:23122 msgid "@xref{Service Types and Services}, for examples." msgstr "" #. type: deffn -#: doc/guix.texi:21666 +#: doc/guix.texi:23124 #, no-wrap msgid "{Scheme Procedure} service-extension @var{target-type} @" msgstr "{Procédure Scheme} service-extension @var{target-type} @" #. type: deffn -#: doc/guix.texi:21672 +#: doc/guix.texi:23130 msgid "@var{compute} Return a new extension for services of type @var{target-type}. @var{compute} must be a one-argument procedure: @code{fold-services} calls it, passing it the value associated with the service that provides the extension; it must return a valid value for the target service." msgstr "" #. type: deffn -#: doc/guix.texi:21674 +#: doc/guix.texi:23132 #, no-wrap msgid "{Scheme Procedure} service-extension? @var{obj}" msgstr "{Procédure Scheme} service-extension? @var{obj}" #. type: deffn -#: doc/guix.texi:21676 +#: doc/guix.texi:23134 msgid "Return true if @var{obj} is a service extension." msgstr "" #. type: Plain text -#: doc/guix.texi:21682 +#: doc/guix.texi:23140 msgid "Occasionally, you might want to simply extend an existing service. This involves creating a new service type and specifying the extension of interest, which can be verbose; the @code{simple-service} procedure provides a shorthand for this." msgstr "" #. type: deffn -#: doc/guix.texi:21683 +#: doc/guix.texi:23141 #, no-wrap msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}" msgstr "{Procédure Scheme} simple-service @var{name} @var{target} @var{value}" #. type: deffn -#: doc/guix.texi:21687 +#: doc/guix.texi:23145 msgid "Return a service that extends @var{target} with @var{value}. This works by creating a singleton service type @var{name}, of which the returned service is an instance." msgstr "" #. type: deffn -#: doc/guix.texi:21690 +#: doc/guix.texi:23148 msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:" msgstr "" #. type: example -#: doc/guix.texi:21694 +#: doc/guix.texi:23152 #, no-wrap msgid "" "(simple-service 'my-mcron-job mcron-service-type\n" @@ -39135,297 +42114,396 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21704 +#: doc/guix.texi:23162 msgid "At the core of the service abstraction lies the @code{fold-services} procedure, which is responsible for ``compiling'' a list of services down to a single directory that contains everything needed to boot and run the system---the directory shown by the @command{guix system build} command (@pxref{Invoking guix system}). In essence, it propagates service extensions down the service graph, updating each node parameters on the way, until it reaches the root node." msgstr "" #. type: deffn -#: doc/guix.texi:21705 +#: doc/guix.texi:23163 #, no-wrap msgid "{Scheme Procedure} fold-services @var{services} @" msgstr "{Procédure Scheme} fold-services @var{services} @" #. type: deffn -#: doc/guix.texi:21709 +#: doc/guix.texi:23167 msgid "[#:target-type @var{system-service-type}] Fold @var{services} by propagating their extensions down to the root of type @var{target-type}; return the root service adjusted accordingly." msgstr "" #. type: Plain text -#: doc/guix.texi:21713 +#: doc/guix.texi:23171 msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below." msgstr "" #. type: defvr -#: doc/guix.texi:21714 +#: doc/guix.texi:23172 #, no-wrap msgid "{Scheme Variable} system-service-type" msgstr "{Variable Scheme} system-service-type" #. type: defvr -#: doc/guix.texi:21717 +#: doc/guix.texi:23175 msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command." msgstr "" #. type: defvr -#: doc/guix.texi:21719 +#: doc/guix.texi:23177 #, no-wrap msgid "{Scheme Variable} boot-service-type" msgstr "{Variable Scheme} boot-service-type" #. type: defvr -#: doc/guix.texi:21722 +#: doc/guix.texi:23180 msgid "The type of the ``boot service'', which produces the @dfn{boot script}. The boot script is what the initial RAM disk runs when booting." msgstr "" #. type: defvr -#: doc/guix.texi:21724 +#: doc/guix.texi:23182 #, no-wrap msgid "{Scheme Variable} etc-service-type" msgstr "{Variable Scheme} etc-service-type" #. type: defvr -#: doc/guix.texi:21728 +#: doc/guix.texi:23186 msgid "The type of the @file{/etc} service. This service is used to create files under @file{/etc} and can be extended by passing it name/file tuples such as:" msgstr "" #. type: example -#: doc/guix.texi:21731 +#: doc/guix.texi:23189 #, no-wrap msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n" msgstr "" #. type: defvr -#: doc/guix.texi:21735 +#: doc/guix.texi:23193 msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file." msgstr "" #. type: defvr -#: doc/guix.texi:21737 +#: doc/guix.texi:23195 #, no-wrap msgid "{Scheme Variable} setuid-program-service-type" msgstr "{Variable Scheme} setuid-program-service-type" #. type: defvr -#: doc/guix.texi:21741 +#: doc/guix.texi:23199 msgid "Type for the ``setuid-program service''. This service collects lists of executable file names, passed as gexps, and adds them to the set of setuid-root programs on the system (@pxref{Setuid Programs})." msgstr "" #. type: defvr -#: doc/guix.texi:21743 +#: doc/guix.texi:23201 #, no-wrap msgid "{Scheme Variable} profile-service-type" msgstr "{Variable Scheme} profile-service-type" #. type: defvr -#: doc/guix.texi:21747 +#: doc/guix.texi:23205 msgid "Type of the service that populates the @dfn{system profile}---i.e., the programs under @file{/run/current-system/profile}. Other services can extend it by passing it lists of packages to add to the system profile." msgstr "" #. type: cindex -#: doc/guix.texi:21753 +#: doc/guix.texi:23211 #, no-wrap msgid "shepherd services" -msgstr "" +msgstr "services shepherd" #. type: cindex -#: doc/guix.texi:21754 +#: doc/guix.texi:23212 #, no-wrap msgid "PID 1" -msgstr "" +msgstr "PID 1" #. type: cindex -#: doc/guix.texi:21755 +#: doc/guix.texi:23213 #, no-wrap msgid "init system" msgstr "" #. type: Plain text -#: doc/guix.texi:21761 +#: doc/guix.texi:23219 msgid "The @code{(gnu services shepherd)} module provides a way to define services managed by the GNU@tie{}Shepherd, which is the GuixSD initialization system---the first process that is started when the system boots, also known as PID@tie{}1 (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual})." msgstr "" #. type: Plain text -#: doc/guix.texi:21767 +#: doc/guix.texi:23225 msgid "Services in the Shepherd can depend on each other. For instance, the SSH daemon may need to be started after the syslog daemon has been started, which in turn can only happen once all the file systems have been mounted. The simple operating system defined earlier (@pxref{Using the Configuration System}) results in a service graph like this:" msgstr "" #. type: Plain text -#: doc/guix.texi:21769 +#: doc/guix.texi:23227 msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}" msgstr "" #. type: Plain text -#: doc/guix.texi:21773 +#: doc/guix.texi:23231 msgid "You can actually generate such a graph for any operating system definition using the @command{guix system shepherd-graph} command (@pxref{system-shepherd-graph, @command{guix system shepherd-graph}})." msgstr "" #. type: Plain text -#: doc/guix.texi:21777 +#: doc/guix.texi:23235 msgid "The @var{%shepherd-root-service} is a service object representing PID@tie{}1, of type @var{shepherd-root-service-type}; it can be extended by passing it lists of @code{} objects." msgstr "" #. type: deftp -#: doc/guix.texi:21778 +#: doc/guix.texi:23236 #, no-wrap msgid "{Data Type} shepherd-service" msgstr "{Type de données} shepherd-service" #. type: deftp -#: doc/guix.texi:21780 +#: doc/guix.texi:23238 msgid "The data type representing a service managed by the Shepherd." msgstr "" #. type: code{#1} -#: doc/guix.texi:21782 +#: doc/guix.texi:23240 #, no-wrap msgid "provision" -msgstr "" +msgstr "provision" #. type: table -#: doc/guix.texi:21784 +#: doc/guix.texi:23242 msgid "This is a list of symbols denoting what the service provides." msgstr "" #. type: table -#: doc/guix.texi:21789 +#: doc/guix.texi:23247 msgid "These are the names that may be passed to @command{herd start}, @command{herd status}, and similar commands (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual}). @xref{Slots of services, the @code{provides} slot,, shepherd, The GNU Shepherd Manual}, for details." msgstr "" #. type: item -#: doc/guix.texi:21790 +#: doc/guix.texi:23248 #, no-wrap msgid "@code{requirements} (default: @code{'()})" msgstr "@code{requirements} (par défaut : @code{'()})" #. type: table -#: doc/guix.texi:21792 +#: doc/guix.texi:23250 msgid "List of symbols denoting the Shepherd services this one depends on." msgstr "" #. type: item -#: doc/guix.texi:21793 +#: doc/guix.texi:23251 #, no-wrap msgid "@code{respawn?} (default: @code{#t})" msgstr "@code{respawn?} (par défaut : @code{#t})" #. type: table -#: doc/guix.texi:21796 +#: doc/guix.texi:23254 msgid "Whether to restart the service when it stops, for instance when the underlying process dies." msgstr "" #. type: code{#1} -#: doc/guix.texi:21797 +#: doc/guix.texi:23255 #, no-wrap msgid "start" -msgstr "" +msgstr "start" #. type: itemx -#: doc/guix.texi:21798 +#: doc/guix.texi:23256 #, no-wrap msgid "@code{stop} (default: @code{#~(const #f)})" msgstr "@code{stop} (par défaut : @code{#~(const #f)})" #. type: table -#: doc/guix.texi:21804 +#: doc/guix.texi:23262 msgid "The @code{start} and @code{stop} fields refer to the Shepherd's facilities to start and stop processes (@pxref{Service De- and Constructors,,, shepherd, The GNU Shepherd Manual}). They are given as G-expressions that get expanded in the Shepherd configuration file (@pxref{G-Expressions})." msgstr "" +#. type: item +#: doc/guix.texi:23263 +#, no-wrap +msgid "@code{actions} (default: @code{'()})" +msgstr "@code{actions} (par défaut : @code{'()})" + +#. type: cindex +#: doc/guix.texi:23264 +#, no-wrap +msgid "actions, of Shepherd services" +msgstr "action, des services Shepherd" + #. type: table -#: doc/guix.texi:21807 +#: doc/guix.texi:23269 +msgid "This is a list of @code{shepherd-action} objects (see below) defining @dfn{actions} supported by the service, in addition to the standard @code{start} and @code{stop} actions. Actions listed here become available as @command{herd} sub-commands:" +msgstr "" + +#. type: example +#: doc/guix.texi:23272 +#, no-wrap +msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n" +msgstr "herd @var{action} @var{service} [@var{arguments}@dots{}]\n" + +#. type: table +#: doc/guix.texi:23276 msgid "A documentation string, as shown when running:" msgstr "" #. type: example -#: doc/guix.texi:21810 +#: doc/guix.texi:23279 #, no-wrap msgid "herd doc @var{service-name}\n" msgstr "" #. type: table -#: doc/guix.texi:21814 +#: doc/guix.texi:23283 msgid "where @var{service-name} is one of the symbols in @var{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})." msgstr "" #. type: item -#: doc/guix.texi:21815 +#: doc/guix.texi:23284 #, no-wrap msgid "@code{modules} (default: @var{%default-modules})" msgstr "@code{modules} (par défaut : @var{%default-modules})" #. type: table -#: doc/guix.texi:21818 +#: doc/guix.texi:23287 msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated." msgstr "" +#. type: deftp +#: doc/guix.texi:23291 +#, no-wrap +msgid "{Data Type} shepherd-action" +msgstr "{Type de données} shepherd-action" + +#. type: deftp +#: doc/guix.texi:23294 +msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)." +msgstr "" + +#. type: table +#: doc/guix.texi:23298 +msgid "Symbol naming the action." +msgstr "Symbole nommant l'action" + +#. type: table +#: doc/guix.texi:23301 +msgid "This is a documentation string for the action. It can be viewed by running:" +msgstr "" + +#. type: example +#: doc/guix.texi:23304 +#, no-wrap +msgid "herd doc @var{service} action @var{action}\n" +msgstr "" + +#. type: item +#: doc/guix.texi:23306 +#, no-wrap +msgid "procedure" +msgstr "" + +#. type: table +#: doc/guix.texi:23310 +msgid "This should be a gexp that evaluates to a procedure of at least one argument, which is the ``running value'' of the service (@pxref{Slots of services,,, shepherd, The GNU Shepherd Manual})." +msgstr "" + +#. type: deftp +#: doc/guix.texi:23314 +msgid "The following example defines an action called @code{say-hello} that kindly greets the user:" +msgstr "" + +#. type: example +#: doc/guix.texi:23323 +#, no-wrap +msgid "" +"(shepherd-action\n" +" (name 'say-hello)\n" +" (documentation \"Say hi!\")\n" +" (procedure #~(lambda (running . args)\n" +" (format #t \"Hello, friend! arguments: ~s\\n\"\n" +" args)\n" +" #t)))\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:23326 +msgid "Assuming this action is added to the @code{example} service, then you can do:" +msgstr "" + +#. type: example +#: doc/guix.texi:23332 +#, no-wrap +msgid "" +"# herd say-hello example\n" +"Hello, friend! arguments: ()\n" +"# herd say-hello example a b c\n" +"Hello, friend! arguments: (\"a\" \"b\" \"c\")\n" +msgstr "" + +#. type: deftp +#: doc/guix.texi:23337 +msgid "This, as you can see, is a fairly sophisticated way to say hello. @xref{Service Convenience,,, shepherd, The GNU Shepherd Manual}, for more info on actions." +msgstr "" + #. type: defvr -#: doc/guix.texi:21822 +#: doc/guix.texi:23339 #, no-wrap msgid "{Scheme Variable} shepherd-root-service-type" msgstr "{Variable Scheme} shepherd-root-service-type" #. type: defvr -#: doc/guix.texi:21824 +#: doc/guix.texi:23341 msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1." msgstr "" #. type: defvr -#: doc/guix.texi:21828 +#: doc/guix.texi:23345 msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{}." msgstr "" #. type: defvr -#: doc/guix.texi:21830 +#: doc/guix.texi:23347 #, no-wrap msgid "{Scheme Variable} %shepherd-root-service" msgstr "{Variable Scheme} %shepherd-root-service" #. type: defvr -#: doc/guix.texi:21832 +#: doc/guix.texi:23349 msgid "This service represents PID@tie{}1." msgstr "" #. type: cindex -#: doc/guix.texi:21838 +#: doc/guix.texi:23355 #, no-wrap msgid "documentation, searching for" msgstr "" #. type: cindex -#: doc/guix.texi:21839 +#: doc/guix.texi:23356 #, no-wrap msgid "searching for documentation" msgstr "" #. type: cindex -#: doc/guix.texi:21840 +#: doc/guix.texi:23357 #, no-wrap msgid "Info, documentation format" msgstr "" #. type: cindex -#: doc/guix.texi:21841 +#: doc/guix.texi:23358 #, no-wrap msgid "man pages" msgstr "" #. type: cindex -#: doc/guix.texi:21842 +#: doc/guix.texi:23359 #, no-wrap msgid "manual pages" msgstr "" #. type: Plain text -#: doc/guix.texi:21849 +#: doc/guix.texi:23366 msgid "In most cases packages installed with Guix come with documentation. There are two main documentation formats: ``Info'', a browseable hypertext format used for GNU software, and ``manual pages'' (or ``man pages''), the linear documentation format traditionally found on Unix. Info manuals are accessed with the @command{info} command or with Emacs, and man pages are accessed using @command{man}." msgstr "" #. type: Plain text -#: doc/guix.texi:21853 +#: doc/guix.texi:23370 msgid "You can look for documentation of software installed on your system by keyword. For example, the following command searches for information about ``TLS'' in Info manuals:" msgstr "" #. type: example -#: doc/guix.texi:21861 +#: doc/guix.texi:23378 #, no-wrap msgid "" "$ info -k TLS\n" @@ -39437,12 +42515,12 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21865 +#: doc/guix.texi:23382 msgid "The command below searches for the same keyword in man pages:" msgstr "" #. type: example -#: doc/guix.texi:21871 +#: doc/guix.texi:23388 #, no-wrap msgid "" "$ man -k TLS\n" @@ -39452,108 +42530,108 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21877 +#: doc/guix.texi:23394 msgid "These searches are purely local to your computer so you have the guarantee that documentation you find corresponds to what you have actually installed, you can access it off-line, and your privacy is respected." msgstr "" #. type: Plain text -#: doc/guix.texi:21880 +#: doc/guix.texi:23397 msgid "Once you have these results, you can view the relevant documentation by running, say:" msgstr "" #. type: example -#: doc/guix.texi:21883 +#: doc/guix.texi:23400 #, no-wrap msgid "$ info \"(gnutls)Core TLS API\"\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21887 +#: doc/guix.texi:23404 msgid "or:" msgstr "" #. type: example -#: doc/guix.texi:21890 +#: doc/guix.texi:23407 #, no-wrap msgid "$ man certtool\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21898 +#: doc/guix.texi:23415 msgid "Info manuals contain sections and indices as well as hyperlinks like those found in Web pages. The @command{info} reader (@pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}) and its Emacs counterpart (@pxref{Misc Help,,, emacs, The GNU Emacs Manual}) provide intuitive key bindings to navigate manuals. @xref{Getting Started,,, info, Info: An Introduction}, for an introduction to Info navigation." msgstr "" #. type: cindex -#: doc/guix.texi:21902 +#: doc/guix.texi:23419 #, no-wrap msgid "debugging files" msgstr "" #. type: Plain text -#: doc/guix.texi:21908 +#: doc/guix.texi:23425 msgid "Program binaries, as produced by the GCC compilers for instance, are typically written in the ELF format, with a section containing @dfn{debugging information}. Debugging information is what allows the debugger, GDB, to map binary code to source code; it is required to debug a compiled program in good conditions." msgstr "" #. type: Plain text -#: doc/guix.texi:21916 +#: doc/guix.texi:23433 msgid "The problem with debugging information is that is takes up a fair amount of disk space. For example, debugging information for the GNU C Library weighs in at more than 60 MiB. Thus, as a user, keeping all the debugging info of all the installed programs is usually not an option. Yet, space savings should not come at the cost of an impediment to debugging---especially in the GNU system, which should make it easier for users to exert their computing freedom (@pxref{GNU Distribution})." msgstr "Le problème avec les informations de débogage est qu'elles prennent pas mal de place sur le disque. Par exemple, les informations de débogage de la bibliothèque C de GNU prend plus de 60 Mo. Ainsi, en tant qu'utilisateur, garder toutes les informations de débogage de tous les programmes installés n'est souvent pas une possibilité. Cependant, l'économie d'espace ne devrait pas empêcher le débogage — en particulier, dans le système GNU, qui devrait faciliter pour ses utilisateurs l'exercice de leurs libertés (@pxref{Distribution GNU})." #. type: Plain text -#: doc/guix.texi:21923 +#: doc/guix.texi:23440 msgid "Thankfully, the GNU Binary Utilities (Binutils) and GDB provide a mechanism that allows users to get the best of both worlds: debugging information can be stripped from the binaries and stored in separate files. GDB is then able to load debugging information from those files, when they are available (@pxref{Separate Debug Files,,, gdb, Debugging with GDB})." msgstr "" #. type: Plain text -#: doc/guix.texi:21931 +#: doc/guix.texi:23448 msgid "The GNU distribution takes advantage of this by storing debugging information in the @code{lib/debug} sub-directory of a separate package output unimaginatively called @code{debug} (@pxref{Packages with Multiple Outputs}). Users can choose to install the @code{debug} output of a package when they need it. For instance, the following command installs the debugging information for the GNU C Library and for GNU Guile:" msgstr "" #. type: example -#: doc/guix.texi:21934 +#: doc/guix.texi:23451 #, no-wrap msgid "guix package -i glibc:debug guile:debug\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21940 +#: doc/guix.texi:23457 msgid "GDB must then be told to look for debug files in the user's profile, by setting the @code{debug-file-directory} variable (consider setting it from the @file{~/.gdbinit} file, @pxref{Startup,,, gdb, Debugging with GDB}):" msgstr "" #. type: example -#: doc/guix.texi:21943 +#: doc/guix.texi:23460 #, no-wrap msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n" msgstr "" #. type: Plain text -#: doc/guix.texi:21947 +#: doc/guix.texi:23464 msgid "From there on, GDB will pick up debugging information from the @code{.debug} files under @file{~/.guix-profile/lib/debug}." msgstr "" #. type: Plain text -#: doc/guix.texi:21954 +#: doc/guix.texi:23471 msgid "In addition, you will most likely want GDB to be able to show the source code being debugged. To do that, you will have to unpack the source code of the package of interest (obtained with @code{guix build --source}, @pxref{Invoking guix build}), and to point GDB to that source directory using the @code{directory} command (@pxref{Source Path, @code{directory},, gdb, Debugging with GDB})." msgstr "" #. type: Plain text -#: doc/guix.texi:21963 +#: doc/guix.texi:23480 msgid "The @code{debug} output mechanism in Guix is implemented by the @code{gnu-build-system} (@pxref{Build Systems}). Currently, it is opt-in---debugging information is available only for the packages with definitions explicitly declaring a @code{debug} output. This may be changed to opt-out in the future if our build farm servers can handle the load. To check whether a package has a @code{debug} output, use @command{guix package --list-available} (@pxref{Invoking guix package})." msgstr "" #. type: cindex -#: doc/guix.texi:21968 +#: doc/guix.texi:23485 #, no-wrap msgid "security updates" msgstr "" #. type: Plain text -#: doc/guix.texi:21977 +#: doc/guix.texi:23494 msgid "Occasionally, important security vulnerabilities are discovered in software packages and must be patched. Guix developers try hard to keep track of known vulnerabilities and to apply fixes as soon as possible in the @code{master} branch of Guix (we do not yet provide a ``stable'' branch containing only security updates.) The @command{guix lint} tool helps developers find out about vulnerable versions of software packages in the distribution:" msgstr "" #. type: smallexample -#: doc/guix.texi:21984 +#: doc/guix.texi:23501 #, no-wrap msgid "" "$ guix lint -c cve\n" @@ -39564,44 +42642,44 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:21987 +#: doc/guix.texi:23504 msgid "@xref{Invoking guix lint}, for more information." msgstr "" #. type: quotation -#: doc/guix.texi:21991 +#: doc/guix.texi:23508 msgid "As of version @value{VERSION}, the feature described below is considered ``beta''." msgstr "" #. type: Plain text -#: doc/guix.texi:22001 +#: doc/guix.texi:23518 msgid "Guix follows a functional package management discipline (@pxref{Introduction}), which implies that, when a package is changed, @emph{every package that depends on it} must be rebuilt. This can significantly slow down the deployment of fixes in core packages such as libc or Bash, since basically the whole distribution would need to be rebuilt. Using pre-built binaries helps (@pxref{Substitutes}), but deployment may still take more time than desired." msgstr "Guix suit une discipline de gestion de paquets fonctionnelle (@pxref{Introduction}), ce qui implique que lorsqu'un paquet change, @emph{tous les paquets qui en dépendent} doivent être reconstruits. Cela peut grandement ralentir le déploiement de corrections dans les paquets du cœur comme libc ou bash comme presque toute la distribution aurait besoin d'être reconstruite. Cela aide d'utiliser des binaires pré-construits (@pxref{Substituts}), mais le déploiement peut toujours prendre plus de temps de souhaité." #. type: cindex -#: doc/guix.texi:22002 +#: doc/guix.texi:23519 #, no-wrap msgid "grafts" msgstr "greffes" #. type: Plain text -#: doc/guix.texi:22010 +#: doc/guix.texi:23527 msgid "To address this, Guix implements @dfn{grafts}, a mechanism that allows for fast deployment of critical updates without the costs associated with a whole-distribution rebuild. The idea is to rebuild only the package that needs to be patched, and then to ``graft'' it onto packages explicitly installed by the user and that were previously referring to the original package. The cost of grafting is typically very low, and order of magnitudes lower than a full rebuild of the dependency chain." msgstr "" #. type: cindex -#: doc/guix.texi:22011 +#: doc/guix.texi:23528 #, no-wrap msgid "replacements of packages, for grafts" msgstr "" #. type: Plain text -#: doc/guix.texi:22017 +#: doc/guix.texi:23534 msgid "For instance, suppose a security update needs to be applied to Bash. Guix developers will provide a package definition for the ``fixed'' Bash, say @var{bash-fixed}, in the usual way (@pxref{Defining Packages}). Then, the original package definition is augmented with a @code{replacement} field pointing to the package containing the bug fix:" msgstr "" #. type: example -#: doc/guix.texi:22024 +#: doc/guix.texi:23541 #, no-wrap msgid "" "(define bash\n" @@ -39612,246 +42690,261 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:22034 +#: doc/guix.texi:23551 msgid "From there on, any package depending directly or indirectly on Bash---as reported by @command{guix gc --requisites} (@pxref{Invoking guix gc})---that is installed is automatically ``rewritten'' to refer to @var{bash-fixed} instead of @var{bash}. This grafting process takes time proportional to the size of the package, usually less than a minute for an ``average'' package on a recent machine. Grafting is recursive: when an indirect dependency requires grafting, then grafting ``propagates'' up to the package that the user is installing." msgstr "" #. type: Plain text -#: doc/guix.texi:22042 +#: doc/guix.texi:23559 msgid "Currently, the length of the name and version of the graft and that of the package it replaces (@var{bash-fixed} and @var{bash} in the example above) must be equal. This restriction mostly comes from the fact that grafting works by patching files, including binary files, directly. Other restrictions may apply: for instance, when adding a graft to a package providing a shared library, the original shared library and its replacement must have the same @code{SONAME} and be binary-compatible." msgstr "" #. type: Plain text -#: doc/guix.texi:22046 +#: doc/guix.texi:23563 msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:" msgstr "" #. type: example -#: doc/guix.texi:22049 +#: doc/guix.texi:23566 #, no-wrap msgid "guix build bash --no-grafts\n" msgstr "" #. type: Plain text -#: doc/guix.texi:22053 +#: doc/guix.texi:23570 msgid "returns the store file name of the original Bash, whereas:" msgstr "" #. type: example -#: doc/guix.texi:22056 +#: doc/guix.texi:23573 #, no-wrap msgid "guix build bash\n" msgstr "guix build bash\n" #. type: Plain text -#: doc/guix.texi:22061 +#: doc/guix.texi:23578 msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash." msgstr "" #. type: Plain text -#: doc/guix.texi:22064 +#: doc/guix.texi:23581 msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):" msgstr "" #. type: example -#: doc/guix.texi:22067 +#: doc/guix.texi:23584 #, no-wrap msgid "guix gc -R `readlink -f ~/.guix-profile` | grep bash\n" msgstr "" #. type: Plain text -#: doc/guix.texi:22072 +#: doc/guix.texi:23589 msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete GuixSD system generation:" msgstr "" #. type: example -#: doc/guix.texi:22075 +#: doc/guix.texi:23592 #, no-wrap msgid "guix gc -R `guix system build my-config.scm` | grep bash\n" msgstr "" #. type: Plain text -#: doc/guix.texi:22079 +#: doc/guix.texi:23596 msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:" msgstr "" #. type: example -#: doc/guix.texi:22082 +#: doc/guix.texi:23599 #, no-wrap msgid "lsof | grep /gnu/store/.*bash\n" msgstr "" #. type: Plain text -#: doc/guix.texi:22099 +#: doc/guix.texi:23616 msgid "From a programming viewpoint, the package definitions of the GNU distribution are provided by Guile modules in the @code{(gnu packages @dots{})} name space@footnote{Note that packages under the @code{(gnu packages @dots{})} module name space are not necessarily ``GNU packages''. This module naming scheme follows the usual Guile module naming convention: @code{gnu} means that these modules are distributed as part of the GNU system, and @code{packages} identifies modules that define packages.} (@pxref{Modules, Guile modules,, guile, GNU Guile Reference Manual}). For instance, the @code{(gnu packages emacs)} module exports a variable named @code{emacs}, which is bound to a @code{} object (@pxref{Defining Packages})." msgstr "" #. type: Plain text -#: doc/guix.texi:22106 +#: doc/guix.texi:23623 msgid "The @code{(gnu packages @dots{})} module name space is automatically scanned for packages by the command-line tools. For instance, when running @code{guix package -i emacs}, all the @code{(gnu packages @dots{})} modules are scanned until one that exports a package object whose name is @code{emacs} is found. This package search facility is implemented in the @code{(gnu packages)} module." msgstr "" #. type: cindex -#: doc/guix.texi:22108 +#: doc/guix.texi:23625 #, no-wrap msgid "package module search path" msgstr "" #. type: Plain text -#: doc/guix.texi:22125 -msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @code{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. These package definitions will not be visible by default. Users can invoke commands such as @command{guix package} and @command{guix build} with the @code{-e} option so that they know where to find the package. Better yet, they can use the @code{-L} option of these commands to make those modules visible (@pxref{Invoking guix build, @code{--load-path}}), or define the @code{GUIX_PACKAGE_PATH} environment variable. This environment variable makes it easy to extend or customize the distribution and is honored by all the user interfaces." +#: doc/guix.texi:23634 +msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @code{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. There are two ways to make these package definitions visible to the user interfaces:" +msgstr "" + +#. type: enumerate +#: doc/guix.texi:23641 +msgid "By adding the directory containing your package modules to the search path with the @code{-L} flag of @command{guix package} and other commands (@pxref{Common Build Options}), or by setting the @code{GUIX_PACKAGE_PATH} environment variable described below." +msgstr "" + +#. type: enumerate +#: doc/guix.texi:23647 +msgid "By defining a @dfn{channel} and configuring @command{guix pull} so that it pulls from it. A channel is essentially a Git repository containing package modules. @xref{Channels}, for more information on how to define and use channels." +msgstr "" + +#. type: Plain text +#: doc/guix.texi:23650 +msgid "@code{GUIX_PACKAGE_PATH} works similarly to other search path variables:" msgstr "" #. type: defvr -#: doc/guix.texi:22126 +#: doc/guix.texi:23651 #, no-wrap msgid "{Environment Variable} GUIX_PACKAGE_PATH" msgstr "" #. type: defvr -#: doc/guix.texi:22130 +#: doc/guix.texi:23655 msgid "This is a colon-separated list of directories to search for additional package modules. Directories listed in this variable take precedence over the own modules of the distribution." msgstr "" #. type: Plain text -#: doc/guix.texi:22138 +#: doc/guix.texi:23663 msgid "The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each package is built based solely on other packages in the distribution. The root of this dependency graph is a small set of @dfn{bootstrap binaries}, provided by the @code{(gnu packages bootstrap)} module. For more information on bootstrapping, @pxref{Bootstrapping}." msgstr "" #. type: cindex -#: doc/guix.texi:22142 +#: doc/guix.texi:23667 #, no-wrap msgid "packages, creating" msgstr "" #. type: Plain text -#: doc/guix.texi:22147 +#: doc/guix.texi:23672 msgid "The GNU distribution is nascent and may well lack some of your favorite packages. This section describes how you can help make the distribution grow. @xref{Contributing}, for additional information on how you can help." msgstr "" #. type: Plain text -#: doc/guix.texi:22155 +#: doc/guix.texi:23680 msgid "Free software packages are usually distributed in the form of @dfn{source code tarballs}---typically @file{tar.gz} files that contain all the source files. Adding a package to the distribution means essentially two things: adding a @dfn{recipe} that describes how to build the package, including a list of other packages required to build it, and adding @dfn{package metadata} along with that recipe, such as a description and licensing information." msgstr "" #. type: Plain text -#: doc/guix.texi:22164 +#: doc/guix.texi:23689 msgid "In Guix all this information is embodied in @dfn{package definitions}. Package definitions provide a high-level view of the package. They are written using the syntax of the Scheme programming language; in fact, for each package we define a variable bound to the package definition, and export that variable from a module (@pxref{Package Modules}). However, in-depth Scheme knowledge is @emph{not} a prerequisite for creating packages. For more information on package definitions, @pxref{Defining Packages}." msgstr "" #. type: Plain text -#: doc/guix.texi:22170 +#: doc/guix.texi:23695 msgid "Once a package definition is in place, stored in a file in the Guix source tree, it can be tested using the @command{guix build} command (@pxref{Invoking guix build}). For example, assuming the new package is called @code{gnew}, you may run this command from the Guix build tree (@pxref{Running Guix Before It Is Installed}):" msgstr "" #. type: example -#: doc/guix.texi:22173 +#: doc/guix.texi:23698 #, no-wrap msgid "./pre-inst-env guix build gnew --keep-failed\n" msgstr "./pre-inst-env guix build gnew --keep-failed\n" #. type: Plain text -#: doc/guix.texi:22179 +#: doc/guix.texi:23704 msgid "Using @code{--keep-failed} makes it easier to debug build failures since it provides access to the failed build tree. Another useful command-line option when debugging is @code{--log-file}, to access the build log." msgstr "" #. type: Plain text -#: doc/guix.texi:22184 +#: doc/guix.texi:23709 msgid "If the package is unknown to the @command{guix} command, it may be that the source file contains a syntax error, or lacks a @code{define-public} clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error:" msgstr "" #. type: example -#: doc/guix.texi:22187 +#: doc/guix.texi:23712 #, no-wrap msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n" msgstr "" #. type: Plain text -#: doc/guix.texi:22195 +#: doc/guix.texi:23720 msgid "Once your package builds correctly, please send us a patch (@pxref{Contributing}). Well, if you need help, we will be happy to help you too. Once the patch is committed in the Guix repository, the new package automatically gets built on the supported platforms by @url{http://hydra.gnu.org/jobset/gnu/master, our continuous integration system}." msgstr "" #. type: cindex -#: doc/guix.texi:22196 +#: doc/guix.texi:23721 #, no-wrap msgid "substituter" msgstr "" #. type: Plain text -#: doc/guix.texi:22203 +#: doc/guix.texi:23728 msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{hydra.gnu.org} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch." msgstr "On peut obtenir la nouvelle définition du paquet simplement en lançant @command{guix pull} (@pxref{Invoking guix pull}). Lorsque @code{hydra.gnu.org} a fini de construire le paquet, l'installation du paquet y télécharge automatiquement les binaires (@pxref{Substituts}). La seule intervention humaine requise est pendant la revue et l'application du correctif." #. type: cindex -#: doc/guix.texi:22220 +#: doc/guix.texi:23745 #, no-wrap msgid "free software" msgstr "" #. type: Plain text -#: doc/guix.texi:22228 +#: doc/guix.texi:23753 msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{http://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms." msgstr "" #. type: Plain text -#: doc/guix.texi:22234 +#: doc/guix.texi:23759 msgid "In addition, the GNU distribution follow the @url{http://www.gnu.org/distros/free-system-distribution-guidelines.html,free software distribution guidelines}. Among other things, these guidelines reject non-free firmware, recommendations of non-free software, and discuss ways to deal with trademarks and patents." msgstr "" #. type: Plain text -#: doc/guix.texi:22242 +#: doc/guix.texi:23767 msgid "Some otherwise free upstream package sources contain a small and optional subset that violates the above guidelines, for instance because this subset is itself non-free code. When that happens, the offending items are removed with appropriate patches or code snippets in the @code{origin} form of the package (@pxref{Defining Packages}). This way, @code{guix build --source} returns the ``freed'' source rather than the unmodified upstream source." msgstr "" #. type: cindex -#: doc/guix.texi:22247 +#: doc/guix.texi:23772 #, no-wrap msgid "package name" msgstr "" #. type: Plain text -#: doc/guix.texi:22255 +#: doc/guix.texi:23780 msgid "A package has actually two names associated with it: First, there is the name of the @emph{Scheme variable}, the one following @code{define-public}. By this name, the package can be made known in the Scheme code, for instance as input to another package. Second, there is the string in the @code{name} field of a package definition. This name is used by package management commands such as @command{guix package} and @command{guix build}." msgstr "" #. type: Plain text -#: doc/guix.texi:22260 +#: doc/guix.texi:23785 msgid "Both are usually the same and correspond to the lowercase conversion of the project name chosen upstream, with underscores replaced with hyphens. For instance, GNUnet is available as @code{gnunet}, and SDL_net as @code{sdl-net}." msgstr "" #. type: Plain text -#: doc/guix.texi:22265 +#: doc/guix.texi:23790 msgid "We do not add @code{lib} prefixes for library packages, unless these are already part of the official project name. But @pxref{Python Modules} and @ref{Perl Modules} for special rules concerning modules for the Python and Perl languages." msgstr "" #. type: Plain text -#: doc/guix.texi:22267 +#: doc/guix.texi:23792 msgid "Font package names are handled differently, @pxref{Fonts}." msgstr "" #. type: cindex -#: doc/guix.texi:22272 +#: doc/guix.texi:23797 #, no-wrap msgid "package version" msgstr "" #. type: Plain text -#: doc/guix.texi:22281 +#: doc/guix.texi:23806 msgid "We usually package only the latest version of a given free software project. But sometimes, for instance for incompatible library versions, two (or more) versions of the same package are needed. These require different Scheme variable names. We use the name as defined in @ref{Package Naming} for the most recent version; previous versions use the same name, suffixed by @code{-} and the smallest prefix of the version number that may distinguish the two versions." msgstr "" #. type: Plain text -#: doc/guix.texi:22284 +#: doc/guix.texi:23809 msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number." msgstr "" #. type: Plain text -#: doc/guix.texi:22286 +#: doc/guix.texi:23811 msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:" msgstr "" #. type: example -#: doc/guix.texi:22298 +#: doc/guix.texi:23823 #, no-wrap msgid "" "(define-public gtk+\n" @@ -39877,12 +42970,12 @@ msgstr "" " ...))\n" #. type: Plain text -#: doc/guix.texi:22300 +#: doc/guix.texi:23825 msgid "If we also wanted GTK+ 3.8.2, this would be packaged as" msgstr "" #. type: example -#: doc/guix.texi:22306 +#: doc/guix.texi:23831 #, no-wrap msgid "" "(define-public gtk+-3.8\n" @@ -39898,23 +42991,23 @@ msgstr "" " ...))\n" #. type: cindex -#: doc/guix.texi:22310 +#: doc/guix.texi:23835 #, no-wrap msgid "version number, for VCS snapshots" msgstr "" #. type: Plain text -#: doc/guix.texi:22316 +#: doc/guix.texi:23841 msgid "Occasionally, we package snapshots of upstream's version control system (VCS) instead of formal releases. This should remain exceptional, because it is up to upstream developers to clarify what the stable release is. Yet, it is sometimes necessary. So, what should we put in the @code{version} field?" msgstr "" #. type: Plain text -#: doc/guix.texi:22324 +#: doc/guix.texi:23849 msgid "Clearly, we need to make the commit identifier of the VCS snapshot visible in the version string, but we also need to make sure that the version string is monotonically increasing so that @command{guix package --upgrade} can determine which version is newer. Since commit identifiers, notably with Git, are not monotonically increasing, we add a revision number that we increase each time we upgrade to a newer snapshot. The resulting version string looks like this:" msgstr "" #. type: example -#: doc/guix.texi:22333 +#: doc/guix.texi:23858 #, no-wrap msgid "" "2.0.11-3.cabba9e\n" @@ -39927,12 +43020,12 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:22342 +#: doc/guix.texi:23867 msgid "It is a good idea to strip commit identifiers in the @code{version} field to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics have a role to play here) as well as problems related to OS limits such as the maximum shebang length (127 bytes for the Linux kernel.) It is best to use the full commit identifiers in @code{origin}s, though, to avoid ambiguities. A typical package definition may look like this:" msgstr "" #. type: example -#: doc/guix.texi:22358 +#: doc/guix.texi:23883 #, no-wrap msgid "" "(define my-package\n" @@ -39966,60 +43059,60 @@ msgstr "" " )))\n" #. type: cindex -#: doc/guix.texi:22363 +#: doc/guix.texi:23888 #, no-wrap msgid "package description" msgstr "" #. type: cindex -#: doc/guix.texi:22364 +#: doc/guix.texi:23889 #, no-wrap msgid "package synopsis" msgstr "" #. type: Plain text -#: doc/guix.texi:22371 +#: doc/guix.texi:23896 msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them." msgstr "" #. type: Plain text -#: doc/guix.texi:22379 +#: doc/guix.texi:23904 msgid "Synopses must start with a capital letter and must not end with a period. They must not start with ``a'' or ``the'', which usually does not bring anything; for instance, prefer ``File-frobbing tool'' over ``A tool that frobs files''. The synopsis should say what the package is---e.g., ``Core GNU utilities (file, text, shell)''---or what it is used for---e.g., the synopsis for GNU@tie{}grep is ``Print lines matching a pattern''." msgstr "" #. type: Plain text -#: doc/guix.texi:22389 +#: doc/guix.texi:23914 msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for." msgstr "" #. type: Plain text -#: doc/guix.texi:22397 +#: doc/guix.texi:23922 msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features." msgstr "" #. type: cindex -#: doc/guix.texi:22398 +#: doc/guix.texi:23923 #, no-wrap msgid "Texinfo markup, in package descriptions" msgstr "" #. type: Plain text -#: doc/guix.texi:22407 +#: doc/guix.texi:23932 msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately." msgstr "" #. type: Plain text -#: doc/guix.texi:22413 +#: doc/guix.texi:23938 msgid "Synopses and descriptions are translated by volunteers @uref{http://translationproject.org/domain/guix-packages.html, at the Translation Project} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale." msgstr "" #. type: Plain text -#: doc/guix.texi:22418 +#: doc/guix.texi:23943 msgid "To allow @command{xgettext} to extract them as translatable strings, synopses and descriptions @emph{must be literal strings}. This means that you cannot use @code{string-append} or @code{format} to construct these strings:" msgstr "" #. type: lisp -#: doc/guix.texi:22424 +#: doc/guix.texi:23949 #, no-wrap msgid "" "(package\n" @@ -40029,12 +43122,12 @@ msgid "" msgstr "" #. type: Plain text -#: doc/guix.texi:22432 +#: doc/guix.texi:23957 msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):" msgstr "" #. type: example -#: doc/guix.texi:22437 +#: doc/guix.texi:23962 #, no-wrap msgid "" ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n" @@ -40043,180 +43136,180 @@ msgid "" msgstr "" #. type: cindex -#: doc/guix.texi:22443 +#: doc/guix.texi:23968 #, no-wrap msgid "python" msgstr "python" #. type: Plain text -#: doc/guix.texi:22449 +#: doc/guix.texi:23974 msgid "We currently package Python 2 and Python 3, under the Scheme variable names @code{python-2} and @code{python} as explained in @ref{Version Numbers}. To avoid confusion and naming clashes with other programming languages, it seems desirable that the name of a package for a Python module contains the word @code{python}." msgstr "" #. type: Plain text -#: doc/guix.texi:22455 +#: doc/guix.texi:23980 msgid "Some modules are compatible with only one version of Python, others with both. If the package Foo compiles only with Python 3, we name it @code{python-foo}; if it compiles only with Python 2, we name it @code{python2-foo}. If it is compatible with both versions, we create two packages with the corresponding names." msgstr "" #. type: Plain text -#: doc/guix.texi:22461 +#: doc/guix.texi:23986 msgid "If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name starts with @code{py} (e.g. @code{pytz}), we keep it and prefix it as described above." msgstr "" #. type: subsubsection -#: doc/guix.texi:22462 +#: doc/guix.texi:23987 #, no-wrap msgid "Specifying Dependencies" msgstr "" #. type: cindex -#: doc/guix.texi:22463 +#: doc/guix.texi:23988 #, no-wrap msgid "inputs, for Python packages" msgstr "" #. type: Plain text -#: doc/guix.texi:22468 +#: doc/guix.texi:23993 msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}." msgstr "" #. type: Plain text -#: doc/guix.texi:22474 +#: doc/guix.texi:23999 msgid "Your mission, when writing a recipe for a Python package, is to map these dependencies to the appropriate type of ``input'' (@pxref{package Reference, inputs}). Although the @code{pypi} importer normally does a good job (@pxref{Invoking guix import}), you may want to check the following check list to determine which dependency goes where." msgstr "" #. type: itemize -#: doc/guix.texi:22482 +#: doc/guix.texi:24007 msgid "We currently package Python 2 with @code{setuptools} and @code{pip} installed like Python 3.4 has per default. Thus you don't need to specify either of these as an input. @command{guix lint} will warn you if you do." msgstr "" #. type: itemize -#: doc/guix.texi:22488 +#: doc/guix.texi:24013 msgid "Python dependencies required at run time go into @code{propagated-inputs}. They are typically defined with the @code{install_requires} keyword in @file{setup.py}, or in the @file{requirements.txt} file." msgstr "" #. type: itemize -#: doc/guix.texi:22496 +#: doc/guix.texi:24021 msgid "Python packages required only at build time---e.g., those listed with the @code{setup_requires} keyword in @file{setup.py}---or only for testing---e.g., those in @code{tests_require}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want." msgstr "" #. type: itemize -#: doc/guix.texi:22500 +#: doc/guix.texi:24025 msgid "Examples are the @code{pytest}, @code{mock}, and @code{nose} test frameworks. Of course if any of these packages is also required at run-time, it needs to go to @code{propagated-inputs}." msgstr "" #. type: itemize -#: doc/guix.texi:22505 +#: doc/guix.texi:24030 msgid "Anything that does not fall in the previous categories goes to @code{inputs}, for example programs or C libraries required for building Python packages containing C extensions." msgstr "" #. type: itemize -#: doc/guix.texi:22511 +#: doc/guix.texi:24036 msgid "If a Python package has optional dependencies (@code{extras_require}), it is up to you to decide whether to add them or not, based on their usefulness/overhead ratio (@pxref{Submitting Patches, @command{guix size}})." msgstr "" #. type: cindex -#: doc/guix.texi:22518 +#: doc/guix.texi:24043 #, no-wrap msgid "perl" msgstr "perl" #. type: Plain text -#: doc/guix.texi:22529 +#: doc/guix.texi:24054 msgid "Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of @code{::} by dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} becomes @code{perl-xml-parser}. Modules containing several classes keep their lowercase upstream name and are also prepended by @code{perl-}. Such modules tend to have the word @code{perl} somewhere in their name, which gets dropped in favor of the prefix. For instance, @code{libwww-perl} becomes @code{perl-libwww}." msgstr "" #. type: cindex -#: doc/guix.texi:22534 +#: doc/guix.texi:24059 #, no-wrap msgid "java" msgstr "java" #. type: Plain text -#: doc/guix.texi:22537 +#: doc/guix.texi:24062 msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name." msgstr "" #. type: Plain text -#: doc/guix.texi:22543 +#: doc/guix.texi:24068 msgid "To avoid confusion and naming clashes with other programming languages, it is desirable that the name of a package for a Java package is prefixed with @code{java-}. If a project already contains the word @code{java}, we drop this; for instance, the package @code{ngsjava} is packaged under the name @code{java-ngs}." msgstr "" #. type: Plain text -#: doc/guix.texi:22549 +#: doc/guix.texi:24074 msgid "For Java packages containing a single class or a small class hierarchy, we use the lowercase class name, replace all occurrences of @code{.} by dashes and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} becomes package @code{java-apache-commons-cli}." msgstr "" #. type: Plain text -#: doc/guix.texi:22560 +#: doc/guix.texi:24085 msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live." msgstr "" #. type: Plain text -#: doc/guix.texi:22564 +#: doc/guix.texi:24089 msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name." msgstr "" #. type: Plain text -#: doc/guix.texi:22572 +#: doc/guix.texi:24097 msgid "The name of a package containing only one font family starts with @code{font-}; it is followed by the foundry name and a dash @code{-} if the foundry is known, and the font family name, in which spaces are replaced by dashes (and as usual, all upper case letters are transformed to lower case). For example, the Gentium font family by SIL is packaged under the name @code{font-sil-gentium}." msgstr "" #. type: Plain text -#: doc/guix.texi:22581 +#: doc/guix.texi:24106 msgid "For a package containing several font families, the name of the collection is used in the place of the font family name. For instance, the Liberation fonts consist of three families, Liberation Sans, Liberation Serif and Liberation Mono. These could be packaged separately under the names @code{font-liberation-sans} and so on; but as they are distributed together under a common name, we prefer to package them together as @code{font-liberation}." msgstr "" #. type: Plain text -#: doc/guix.texi:22587 +#: doc/guix.texi:24112 msgid "In the case where several formats of the same font family or font collection are packaged separately, a short form of the format, prepended by a dash, is added to the package name. We use @code{-ttf} for TrueType fonts, @code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 fonts." msgstr "" #. type: cindex -#: doc/guix.texi:22595 +#: doc/guix.texi:24120 #, no-wrap msgid "bootstrapping" msgstr "" #. type: Plain text -#: doc/guix.texi:22605 +#: doc/guix.texi:24130 msgid "Bootstrapping in our context refers to how the distribution gets built ``from nothing''. Remember that the build environment of a derivation contains nothing but its declared inputs (@pxref{Introduction}). So there's an obvious chicken-and-egg problem: how does the first package get built? How does the first compiler get compiled? Note that this is a question of interest only to the curious hacker, not to the regular user, so you can shamelessly skip this section if you consider yourself a ``regular user''." msgstr "" #. type: cindex -#: doc/guix.texi:22606 doc/guix.texi:22728 +#: doc/guix.texi:24131 doc/guix.texi:24253 #, no-wrap msgid "bootstrap binaries" msgstr "" #. type: Plain text -#: doc/guix.texi:22616 +#: doc/guix.texi:24141 msgid "The GNU system is primarily made of C code, with libc at its core. The GNU build system itself assumes the availability of a Bourne shell and command-line tools provided by GNU Coreutils, Awk, Findutils, `sed', and `grep'. Furthermore, build programs---programs that run @code{./configure}, @code{make}, etc.---are written in Guile Scheme (@pxref{Derivations}). Consequently, to be able to build anything at all, from scratch, Guix relies on pre-built binaries of Guile, GCC, Binutils, libc, and the other packages mentioned above---the @dfn{bootstrap binaries}." msgstr "" #. type: Plain text -#: doc/guix.texi:22619 +#: doc/guix.texi:24144 msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (more on that later)." msgstr "" #. type: unnumberedsubsec -#: doc/guix.texi:22620 +#: doc/guix.texi:24145 #, no-wrap msgid "Preparing to Use the Bootstrap Binaries" msgstr "" #. type: Plain text -#: doc/guix.texi:22625 +#: doc/guix.texi:24150 msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}" msgstr "" #. type: Plain text -#: doc/guix.texi:22630 +#: doc/guix.texi:24155 msgid "The figure above shows the very beginning of the dependency graph of the distribution, corresponding to the package definitions of the @code{(gnu packages bootstrap)} module. A similar figure can be generated with @command{guix graph} (@pxref{Invoking guix graph}), along the lines of:" msgstr "" #. type: example -#: doc/guix.texi:22635 +#: doc/guix.texi:24160 #, no-wrap msgid "" "guix graph -t derivation \\\n" @@ -40228,43 +43321,43 @@ msgstr "" " | dot -Tps > t.ps\n" #. type: Plain text -#: doc/guix.texi:22644 +#: doc/guix.texi:24169 msgid "At this level of detail, things are slightly complex. First, Guile itself consists of an ELF executable, along with many source and compiled Scheme files that are dynamically loaded when it runs. This gets stored in the @file{guile-2.0.7.tar.xz} tarball shown in this graph. This tarball is part of Guix's ``source'' distribution, and gets inserted into the store with @code{add-to-store} (@pxref{The Store})." msgstr "" #. type: Plain text -#: doc/guix.texi:22653 +#: doc/guix.texi:24178 msgid "But how do we write a derivation that unpacks this tarball and adds it to the store? To solve this problem, the @code{guile-bootstrap-2.0.drv} derivation---the first one that gets built---uses @code{bash} as its builder, which runs @code{build-bootstrap-guile.sh}, which in turn calls @code{tar} to unpack the tarball. Thus, @file{bash}, @file{tar}, @file{xz}, and @file{mkdir} are statically-linked binaries, also part of the Guix source distribution, whose sole purpose is to allow the Guile tarball to be unpacked." msgstr "" #. type: Plain text -#: doc/guix.texi:22665 +#: doc/guix.texi:24190 msgid "Once @code{guile-bootstrap-2.0.drv} is built, we have a functioning Guile that can be used to run subsequent build programs. Its first task is to download tarballs containing the other pre-built binaries---this is what the @code{.tar.xz.drv} derivations do. Guix modules such as @code{ftp-client.scm} are used for this purpose. The @code{module-import.drv} derivations import those modules in a directory in the store, using the original layout. The @code{module-import-compiled.drv} derivations compile those modules, and write them in an output directory with the right layout. This corresponds to the @code{#:modules} argument of @code{build-expression->derivation} (@pxref{Derivations})." msgstr "" #. type: Plain text -#: doc/guix.texi:22669 +#: doc/guix.texi:24194 msgid "Finally, the various tarballs are unpacked by the derivations @code{gcc-bootstrap-0.drv}, @code{glibc-bootstrap-0.drv}, etc., at which point we have a working C tool chain." msgstr "" #. type: unnumberedsubsec -#: doc/guix.texi:22671 +#: doc/guix.texi:24196 #, no-wrap msgid "Building the Build Tools" msgstr "" #. type: Plain text -#: doc/guix.texi:22680 +#: doc/guix.texi:24205 msgid "Bootstrapping is complete when we have a full tool chain that does not depend on the pre-built bootstrap tools discussed above. This no-dependency requirement is verified by checking whether the files of the final tool chain contain references to the @file{/gnu/store} directories of the bootstrap inputs. The process that leads to this ``final'' tool chain is described by the package definitions found in the @code{(gnu packages commencement)} module." msgstr "" #. type: Plain text -#: doc/guix.texi:22687 +#: doc/guix.texi:24212 msgid "The @command{guix graph} command allows us to ``zoom out'' compared to the graph above, by looking at the level of package objects instead of individual derivations---remember that a package may translate to several derivations, typically one derivation to download its source, one to build the Guile modules it needs, and one to actually build the package from source. The command:" msgstr "" #. type: example -#: doc/guix.texi:22692 +#: doc/guix.texi:24217 #, no-wrap msgid "" "guix graph -t bag \\\n" @@ -40276,157 +43369,227 @@ msgstr "" " glibc-final-with-bootstrap-bash)' | dot -Tps > t.ps\n" #. type: Plain text -#: doc/guix.texi:22699 +#: doc/guix.texi:24224 msgid "produces the dependency graph leading to the ``final'' C library@footnote{You may notice the @code{glibc-intermediate} label, suggesting that it is not @emph{quite} final, but as a good approximation, we will consider it final.}, depicted below." msgstr "" #. type: Plain text -#: doc/guix.texi:22701 +#: doc/guix.texi:24226 msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}" msgstr "@image{images/bootstrap-packages,6in,,Graphe de dépendance des premiers paquets}" #. type: Plain text -#: doc/guix.texi:22707 +#: doc/guix.texi:24232 msgid "The first tool that gets built with the bootstrap binaries is GNU@tie{}Make---noted @code{make-boot0} above---which is a prerequisite for all the following packages. From there Findutils and Diffutils get built." msgstr "" #. type: Plain text -#: doc/guix.texi:22712 +#: doc/guix.texi:24237 msgid "Then come the first-stage Binutils and GCC, built as pseudo cross tools---i.e., with @code{--target} equal to @code{--host}. They are used to build libc. Thanks to this cross-build trick, this libc is guaranteed not to hold any reference to the initial tool chain." msgstr "" #. type: Plain text -#: doc/guix.texi:22718 +#: doc/guix.texi:24243 msgid "From there the final Binutils and GCC (not shown above) are built. GCC uses @code{ld} from the final Binutils, and links programs against the just-built libc. This tool chain is used to build the other packages used by Guix and by the GNU Build System: Guile, Bash, Coreutils, etc." msgstr "" #. type: Plain text -#: doc/guix.texi:22724 +#: doc/guix.texi:24249 msgid "And voilà! At this point we have the complete set of build tools that the GNU Build System expects. These are in the @code{%final-inputs} variable of the @code{(gnu packages commencement)} module, and are implicitly used by any package that uses @code{gnu-build-system} (@pxref{Build Systems, @code{gnu-build-system}})." msgstr "" #. type: unnumberedsubsec -#: doc/guix.texi:22726 +#: doc/guix.texi:24251 #, no-wrap msgid "Building the Bootstrap Binaries" msgstr "" #. type: Plain text -#: doc/guix.texi:22733 +#: doc/guix.texi:24258 msgid "Because the final tool chain does not depend on the bootstrap binaries, those rarely need to be updated. Nevertheless, it is useful to have an automated way to produce them, should an update occur, and this is what the @code{(gnu packages make-bootstrap)} module provides." msgstr "" #. type: Plain text -#: doc/guix.texi:22737 +#: doc/guix.texi:24262 msgid "The following command builds the tarballs containing the bootstrap binaries (Guile, Binutils, GCC, libc, and a tarball containing a mixture of Coreutils and other basic command-line tools):" msgstr "" #. type: example -#: doc/guix.texi:22740 +#: doc/guix.texi:24265 #, no-wrap msgid "guix build bootstrap-tarballs\n" msgstr "guix build bootstrap-tarballs\n" #. type: Plain text -#: doc/guix.texi:22745 +#: doc/guix.texi:24270 msgid "The generated tarballs are those that should be referred to in the @code{(gnu packages bootstrap)} module mentioned at the beginning of this section." msgstr "" #. type: Plain text -#: doc/guix.texi:22751 +#: doc/guix.texi:24276 msgid "Still here? Then perhaps by now you've started to wonder: when do we reach a fixed point? That is an interesting question! The answer is unknown, but if you would like to investigate further (and have significant computational and storage resources to do so), then let us know." msgstr "" #. type: unnumberedsubsec -#: doc/guix.texi:22752 +#: doc/guix.texi:24277 #, no-wrap msgid "Reducing the Set of Bootstrap Binaries" msgstr "" #. type: Plain text -#: doc/guix.texi:22760 +#: doc/guix.texi:24285 msgid "Our bootstrap binaries currently include GCC, Guile, etc. That's a lot of binary code! Why is that a problem? It's a problem because these big chunks of binary code are practically non-auditable, which makes it hard to establish what source code produced them. Every unauditable binary also leaves us vulnerable to compiler backdoors as described by Ken Thompson in the 1984 paper @emph{Reflections on Trusting Trust}." msgstr "" #. type: Plain text -#: doc/guix.texi:22766 +#: doc/guix.texi:24291 msgid "This is mitigated by the fact that our bootstrap binaries were generated from an earlier Guix revision. Nevertheless it lacks the level of transparency that we get in the rest of the package dependency graph, where Guix always gives us a source-to-binary mapping. Thus, our goal is to reduce the set of bootstrap binaries to the bare minimum." msgstr "" #. type: Plain text -#: doc/guix.texi:22772 +#: doc/guix.texi:24297 msgid "The @uref{http://bootstrappable.org, Bootstrappable.org web site} lists on-going projects to do that. One of these is about replacing the bootstrap GCC with a sequence of assemblers, interpreters, and compilers of increasing complexity, which could be built from source starting from a simple and auditable assembler. Your help is welcome!" msgstr "" #. type: section -#: doc/guix.texi:22775 +#: doc/guix.texi:24300 #, no-wrap msgid "Porting to a New Platform" msgstr "Porter vers une nouvelle plateforme" #. type: Plain text -#: doc/guix.texi:22784 +#: doc/guix.texi:24309 msgid "As discussed above, the GNU distribution is self-contained, and self-containment is achieved by relying on pre-built ``bootstrap binaries'' (@pxref{Bootstrapping}). These binaries are specific to an operating system kernel, CPU architecture, and application binary interface (ABI). Thus, to port the distribution to a platform that is not yet supported, one must build those bootstrap binaries, and update the @code{(gnu packages bootstrap)} module to use them on that platform." msgstr "" #. type: Plain text -#: doc/guix.texi:22789 +#: doc/guix.texi:24314 msgid "Fortunately, Guix can @emph{cross compile} those bootstrap binaries. When everything goes well, and assuming the GNU tool chain supports the target platform, this can be as simple as running a command like this one:" msgstr "" #. type: example -#: doc/guix.texi:22792 +#: doc/guix.texi:24317 #, no-wrap msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n" msgstr "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n" #. type: Plain text -#: doc/guix.texi:22799 +#: doc/guix.texi:24324 msgid "For this to work, the @code{glibc-dynamic-linker} procedure in @code{(gnu packages bootstrap)} must be augmented to return the right file name for libc's dynamic linker on that platform; likewise, @code{system->linux-architecture} in @code{(gnu packages linux)} must be taught about the new platform." msgstr "" #. type: Plain text -#: doc/guix.texi:22808 -msgid "Once these are built, the @code{(gnu packages bootstrap)} module needs to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and @file{gnu/local.mk} has rules do download it for the supported architectures; a rule for the new platform must be added as well." +#: doc/guix.texi:24333 +msgid "Once these are built, the @code{(gnu packages bootstrap)} module needs to be updated to refer to these binaries on the target platform. That is, the hashes and URLs of the bootstrap tarballs for the new platform must be added alongside those of the currently supported platforms. The bootstrap Guile tarball is treated specially: it is expected to be available locally, and @file{gnu/local.mk} has rules to download it for the supported architectures; a rule for the new platform must be added as well." msgstr "" #. type: Plain text -#: doc/guix.texi:22817 +#: doc/guix.texi:24342 msgid "In practice, there may be some complications. First, it may be that the extended GNU triplet that specifies an ABI (like the @code{eabi} suffix above) is not recognized by all the GNU tools. Typically, glibc recognizes some of these, whereas GCC uses an extra @code{--with-abi} configure flag (see @code{gcc.scm} for examples of how to handle this). Second, some of the required packages could fail to build for that platform. Lastly, the generated binaries could be broken for some reason." msgstr "" #. type: include -#: doc/guix.texi:22819 +#: doc/guix.texi:24344 #, no-wrap msgid "contributing.texi" msgstr "contributing.fr.texi" #. type: Plain text -#: doc/guix.texi:22832 +#: doc/guix.texi:24357 msgid "Guix is based on the @uref{http://nixos.org/nix/, Nix package manager}, which was designed and implemented by Eelco Dolstra, with contributions from other people (see the @file{nix/AUTHORS} file in Guix.) Nix pioneered functional package management, and promoted unprecedented features, such as transactional package upgrades and rollbacks, per-user profiles, and referentially transparent build processes. Without this work, Guix would not exist." msgstr "Guix se base sur le @uref{http://nixos.org/nix/, gestionnaire de paquets Nix} conçu et implémenté par Eelco Dolstra, avec des constributions d'autres personnes (voir le fichier @file{nix/AUTHORS} dans Guix). Nix a inventé la gestion de paquet fonctionnelle et promu des fonctionnalités sans précédents comme les mises à jour de paquets transactionnelles et les retours en arrière, les profils par utilisateurs et les processus de constructions transparents pour les références. Sans ce travail, Guix n'existerait pas." #. type: Plain text -#: doc/guix.texi:22835 +#: doc/guix.texi:24360 msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix." msgstr "Les distributions logicielles basées sur Nix, Nixpkgs et NixOS, ont aussi été une inspiration pour Guix." #. type: Plain text -#: doc/guix.texi:22841 +#: doc/guix.texi:24366 msgid "GNU@tie{}Guix itself is a collective work with contributions from a number of people. See the @file{AUTHORS} file in Guix for more information on these fine people. The @file{THANKS} file lists people who have helped by reporting bugs, taking care of the infrastructure, providing artwork and themes, making suggestions, and more---thank you!" msgstr "GNU@tie{}Guix lui-même est un travail collectif avec des contributions d'un grand nombre de personnes. Voyez le fichier @file{AUTHORS} dans Guix pour plus d'information sur ces personnes de qualité. Le fichier @file{THANKS} liste les personnes qui ont aidé en rapportant des bogues, en prenant soin de l'infrastructure, en fournissant des images et des thèmes, en faisant des suggestions et bien plus. Merci !" #. type: cindex -#: doc/guix.texi:22846 +#: doc/guix.texi:24371 #, no-wrap msgid "license, GNU Free Documentation License" msgstr "license, GNU Free Documentation License" #. type: include -#: doc/guix.texi:22847 +#: doc/guix.texi:24372 #, no-wrap msgid "fdl-1.3.texi" msgstr "fdl-1.3.texi" +#~ msgid "The TLP tool." +#~ msgstr "L'outil TLP@." + +#~ msgid "Make @code{root}'s profile available under @file{~root/.guix-profile}:" +#~ msgstr "Rendez le profil de @code{root} disponible sous @file{~root/.guix-profile} :" + +#~ msgid "Download Guix from the Git repository at @var{url}." +#~ msgstr "Télécharger Guix depuis le dépôt Git à @var{url}." + +#~ msgid "GUIX_PULL_URL" +#~ msgstr "GUIX_PULL_URL" + +#~ msgid "By default, the source is taken from its canonical Git repository at @code{gnu.org}, for the stable branch of Guix. To use a different source, set the @code{GUIX_PULL_URL} environment variable." +#~ msgstr "Par défaut, la source est récupérée depuis le dépôt Git canonique sur @code{gnu.org}, pour la branche stable de Guix. Pour utiliser une autre source, paramétrez la variable d'environnement @code{GUIX_PULL_URL}." + +#~ msgid "Deploy the tip of @var{branch}, the name of a Git branch available on the repository at @var{url}." +#~ msgstr "Déployer le haut de la @var{branche}, le nom d'une branche Git disponible sur le répertoire à @var{url}." + +#~ msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack." +#~ msgstr "Inclure le « répertoire d'état local », @file{/var/guix} dans le paquet résultant." + +#~ msgid "{Scheme Procedure} guix-service @var{config}" +#~ msgstr "{Procédure Scheme} guix-service @var{config}" + +#~ msgid "Return a service that runs the Guix build daemon according to @var{config}." +#~ msgstr "Renvoie un service qui fait tourner le démon de construction de Guix en suivant @var{config}." + +#~ msgid "{Scheme Procedure} dhcp-client-service [#:dhcp @var{isc-dhcp}]" +#~ msgstr "{Procédure Scheme} dhcp-client-service [#:dhcp @var{isc-dhcp}]" + +#~ msgid "The value of this service is the @code{wpa-supplicant} package to use. Thus, it can be instantiated like this:" +#~ msgstr "La valeur de ce service est le paquet @code{wpa-supplicant} à utiliser. Ainsi, il peut être instancié de cette manière :" + +#~ msgid "" +#~ "(use-modules (gnu services networking))\n" +#~ "\n" +#~ msgstr "" +#~ "(use-modules (gnu services networking))\n" +#~ "\n" + +#~ msgid "(service wpa-supplicant-service-type)\n" +#~ msgstr "(service wpa-supplicant-service-type)\n" + +#~ msgid "NTP" +#~ msgstr "NTP" + +#~ msgid "{Scheme Procedure} ntp-service [#:ntp @var{ntp}] @" +#~ msgstr "{Procédure Scheme} ntp-service [#:ntp @var{ntp}] @" + +#~ msgid "[#:servers @var{%ntp-servers}] @ [#:allow-large-adjustment? #f] Return a service that runs the daemon from @var{ntp}, the @uref{http://www.ntp.org, Network Time Protocol package}. The daemon will keep the system clock synchronized with that of @var{servers}. @var{allow-large-adjustment?} determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds." +#~ msgstr "" +#~ "[#:servers @var{%ntp-servers}] @\n" +#~ "[#:allow-large-adjustment? #f]\n" +#~ "Renvoie un service qui lance le démon de @var{ntp}, le @uref{http://www.ntp.org, paquet Network Time Protocol}. Le démon gardera l'horloge système synchronisée avec celle des serveurs @var{servers}. @var{allow-large-adjustment?} détermine si @command{ntpd} a le droit de faire des ajustements initiaux de plus de 1 000 secondes." + +#~ msgid "List of host names used as the default NTP servers." +#~ msgstr "Liste des noms d'hôtes utilisés comme serveurs NTP par défaut." + +#~ msgid "Return a service to run the @uref{https://torproject.org, Tor} anonymous networking daemon." +#~ msgstr "Renvoie un service qui lance le démon de réseau anonyme @uref{https://torproject.org, Tor}." + +#~ msgid "The daemon runs as the @code{tor} unprivileged user. It is passed @var{config-file}, a file-like object, with an additional @code{User tor} line and lines for hidden services added via @code{tor-hidden-service}. Run @command{man tor} for information about the configuration file." +#~ msgstr "Le démon est lancé avec l'identité de l'utilisateur non privilégié @code{tor}. Il lit @var{config-file}, un objet simili-fichier, avec une ligne @code{User tor} supplémentaire et des lignes pour les services cachés ajoutées par des @code{tor-hidden-service}. Lncez @command{man tor} pour obtenir des informations sur le fichier de configuration." + +#~ msgid "The @code{(gnu services sound)} module provides an @code{alsa-service-type} service to generate an ALSA @file{/etc/asound.conf} configuration file. This configuration file is what allows applications that produce sound using ALSA to be correctly handled." +#~ msgstr "Le module @code{(gnu services sound)} fournit un service @code{alsa-service-type} pour générer un fichier de configuration @file{/etc/asound.conf}. Ce fichier de configuration est ce qui permet aux applications de produire du son avec ALSA d'être correctement gérées." + +#~ msgid "@code{load-path} (default: @code{'()})" +#~ msgstr "@code{load-path} (par défaut : @code{'()})" + #~ msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/latest} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree.@footnote{If you would like to set up @command{guix} to use your Git checkout, you can point the @file{~/.config/guix/latest} symlink to your Git checkout directory. If you are the sole user of your system, you may also consider pointing the @file{/root/.config/guix/latest} symlink to point to @file{~/.config/guix/latest}; this way it will always use the same @command{guix} as your user does.}" #~ msgstr "Remarquez que @command{./pre-inst-env guix pull} ne met @emph{pas} à jour l'arborescence des sources locale ; il met seulement à jour le lien symbolique @file{~/.config/guix/latest} (@pxref{Invoquer guix pull}). Lancez @command{git pull} à la place si vous voulez mettre à jour votre arborescence des sources locale@footnote{Si vous voulez paramétrer @command{guix} pour qu'il utilise votre dépôt Git, vous pouvez faire pointer le lien symbolique @file{~/.config/guix/latest} vers le répertoire contenant ce dépôt. Si vous le seul utilisateur du système, vous pouvez aussi considérer faire pointer le lien symbolique @file{/root/.config/guix/latest} vers @file{~/.config/guix/latest} ; comme ça root aura toujours la même commande @command{guix} que votre utilisateur}." diff --git a/po/doc/local.mk b/po/doc/local.mk index ca588ea916..6b934d945a 100644 --- a/po/doc/local.mk +++ b/po/doc/local.mk @@ -16,9 +16,13 @@ # You should have received a copy of the GNU General Public License # along with GNU Guix. If not, see . +DOC_PO_FILES= \ + %D%/guix-manual.de.po \ + %D%/guix-manual.fr.po + EXTRA_DIST = \ %D%/guix-manual.pot \ - %D%/guix-manual.fr.po + $(DOC_PO_FILES) POT_OPTIONS = --package-name "guix" --package-version "$(VERSION)" \ --copyright-holder "Ludovic Courtès" \ @@ -57,3 +61,8 @@ doc-pot-update: done msgcat $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) > $(srcdir)/po/doc/guix-manual.pot rm -f $(addprefix $(srcdir)/po/doc/, $(TMP_POT_FILES)) + +doc-po-update: doc-pot-update + for f in $(DOC_PO_FILES); do \ + $(MAKE) "$$f"; \ + done diff --git a/po/guix/POTFILES.in b/po/guix/POTFILES.in index 2e37a19407..e0da801587 100644 --- a/po/guix/POTFILES.in +++ b/po/guix/POTFILES.in @@ -32,6 +32,7 @@ guix/scripts/copy.scm guix/scripts/pack.scm guix/scripts/weather.scm guix/scripts/describe.scm +guix/scripts/processes.scm guix/gnu-maintenance.scm guix/scripts/container.scm guix/scripts/container/exec.scm @@ -42,4 +43,5 @@ guix/http-client.scm guix/nar.scm guix/channels.scm guix/profiles.scm +guix/git.scm nix/nix-daemon/guix-daemon.cc diff --git a/po/guix/de.po b/po/guix/de.po index 7e29852c2a..e78162487c 100644 --- a/po/guix/de.po +++ b/po/guix/de.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: guix 0.15.0\n" "Report-Msgid-Bugs-To: ludo@gnu.org\n" "POT-Creation-Date: 2018-06-22 14:08+0200\n" -"PO-Revision-Date: 2018-08-24 20:57+0200\n" +"PO-Revision-Date: 2018-10-27 02:22+0200\n" "Last-Translator: Mario Blättermann \n" "Language-Team: German \n" "Language: de\n" @@ -437,7 +437,7 @@ msgid "" " --no-build-hook do not attempt to offload builds via the build hook" msgstr "" "\n" -" --no-build-hook nicht versuchen, Erstellungen über den »build hook«\n" +" --no-build-hook nicht versuchen, Erstellungen über den »Build-Hook«\n" " auszulagern" #: guix/scripts/build.scm:362 @@ -497,7 +497,7 @@ msgstr "" #: guix/scripts/build.scm:479 guix/scripts/build.scm:486 #, scheme-format msgid "not a number: '~a' option argument: ~a~%" -msgstr "Keine Zahl: Kommandozeilenargument von »~a«: ~a~%" +msgstr "Keine Zahl: Befehlszeilenargument von »~a«: ~a~%" #: guix/scripts/build.scm:505 msgid "" @@ -658,7 +658,7 @@ msgid "" "invalid argument: '~a' option argument: ~a, ~\n" "must be one of 'package', 'all', or 'transitive'~%" msgstr "" -"Ungültiges Argument der Kommandozeilenoption »~a«: ~a, ~\n" +"Ungültiges Argument der Befehlszeilenoption »~a«: ~a, ~\n" "muss entweder »package«, »all« oder »transitive« sein~%" #: guix/scripts/build.scm:621 @@ -1018,7 +1018,7 @@ msgstr "" msgid "upgrade regexp '~a' looks like a command-line option~%" msgstr "" "--upgrade: Der reguläre Ausdruck »~a«\n" -"sieht wie eine Kommandozeilenoption aus" +"sieht wie eine Befehlszeilenoption aus" #: guix/scripts/package.scm:443 #, scheme-format @@ -1183,7 +1183,7 @@ msgstr "Es sind bereits ~h Bytes verfügbar auf ~a, nichts zu tun~%" #: guix/scripts/gc.scm:205 msgid "freeing ~h bytes~%" -msgstr "Gebe ~h Bytes frei~%" +msgstr "~h Bytes werden freigegeben~%" #: guix/scripts/gc.scm:217 #, scheme-format @@ -1192,7 +1192,7 @@ msgstr "Zusätzliche Argumente: ~{~a ~}~%" #: guix/scripts/gc.scm:237 guix/scripts/gc.scm:240 msgid "freed ~h bytes~%" -msgstr "~h Bytes freigegeben" +msgstr "~h Bytes wurden freigegeben" #: guix/scripts/hash.scm:47 msgid "" @@ -2885,7 +2885,7 @@ msgid "" " -R, --relocatable produce relocatable executables" msgstr "" "\n" -" -R, --relocatable »portable« ausführbare Datei erzeugen" +" -R, --relocatable pfad-agnostische ausführbare Datei erzeugen" #: guix/scripts/pack.scm:650 msgid "" @@ -3331,7 +3331,7 @@ msgstr "Generation ~a des Profils »~a« existiert nicht~%" #: guix/ui.scm:628 #, scheme-format msgid " ... propagated from ~a@~a~%" -msgstr " … propagatiert von ~a@~a~%" +msgstr " … propagiert von ~a@~a~%" #: guix/ui.scm:638 #, scheme-format @@ -3703,7 +3703,7 @@ msgstr "URLS als die vorgegebene Liste von Substitutsanbietern nutzen" #: nix/nix-daemon/guix-daemon.cc:117 msgid "do not use the 'build hook'" -msgstr "den »build hook« nicht benutzen" +msgstr "den »Build-Hook« nicht benutzen" #: nix/nix-daemon/guix-daemon.cc:119 msgid "cache build failures" diff --git a/po/guix/fr.po b/po/guix/fr.po index 19f50127ed..7928b4f93d 100644 --- a/po/guix/fr.po +++ b/po/guix/fr.po @@ -15,10 +15,10 @@ # msgid "" msgstr "" -"Project-Id-Version: guix 0.15.0\n" +"Project-Id-Version: guix 0.16.0\n" "Report-Msgid-Bugs-To: ludo@gnu.org\n" -"POT-Creation-Date: 2018-06-22 14:08+0200\n" -"PO-Revision-Date: 2018-07-04 20:49+0200\n" +"POT-Creation-Date: 2018-11-28 15:05+0100\n" +"PO-Revision-Date: 2018-12-03 19:23+0100\n" "Last-Translator: Julien Lepiller \n" "Language-Team: French \n" "Language: fr\n" @@ -69,42 +69,42 @@ msgstr "" msgid "Try adding @code{(use-service-modules ~a)}." msgstr "Essayez d'ajouter @code{(use-service-modules ~a)}." -#: gnu/packages.scm:92 +#: gnu/packages.scm:94 #, scheme-format msgid "~a: patch not found" msgstr "~a : correctif introuvable" -#: gnu/packages.scm:108 +#: gnu/packages.scm:110 #, scheme-format msgid "could not find bootstrap binary '~a' for system '~a'" msgstr "impossible de trouver le binaire d'initialisation « ~a » pour le système « ~a »" -#: gnu/packages.scm:259 +#: gnu/packages.scm:270 #, scheme-format msgid "ambiguous package specification `~a'~%" msgstr "spécification du paquet « ~a » ambiguë~%" -#: gnu/packages.scm:260 +#: gnu/packages.scm:271 #, scheme-format msgid "choosing ~a@~a from ~a~%" msgstr "choix de ~a@~a parmi ~a~%" -#: gnu/packages.scm:265 guix/scripts/package.scm:238 +#: gnu/packages.scm:276 guix/scripts/package.scm:206 #, scheme-format msgid "package '~a' has been superseded by '~a'~%" msgstr "le paquet « ~a » a été remplacé par « ~a »~%" -#: gnu/packages.scm:272 +#: gnu/packages.scm:283 #, scheme-format msgid "~A: package not found for version ~a~%" msgstr "~A : paquet introuvable pour la version ~a~%" -#: gnu/packages.scm:273 +#: gnu/packages.scm:284 #, scheme-format msgid "~A: unknown package~%" msgstr "~A : paquet inconnu~%" -#: gnu/packages.scm:301 +#: gnu/packages.scm:312 #, scheme-format msgid "package `~a' lacks output `~a'~%" msgstr "le paquet « ~a » requiert la sortie « ~a »~%" @@ -203,52 +203,52 @@ msgstr "" msgid "no target of type '~a' for service '~a'" msgstr "pas de cible de type « ~a » pour le service « ~a »" -#: gnu/services.scm:702 gnu/services.scm:795 +#: gnu/services.scm:702 gnu/services.scm:805 #, scheme-format msgid "more than one target service of type '~a'" msgstr "plus d'un service cible de type « ~a »" -#: gnu/services.scm:785 +#: gnu/services.scm:795 #, scheme-format msgid "service of type '~a' not found" msgstr "service de type « ~a » pas trouvé" -#: gnu/system.scm:320 +#: gnu/system.scm:317 #, scheme-format msgid "unrecognized boot parameters at '~a'~%" msgstr "paramètres de démarrage non reconnus dans « ~a »~%" -#: gnu/system.scm:731 +#: gnu/system.scm:725 #, scheme-format msgid "using a string for file '~a' is deprecated; use 'plain-file' instead~%" msgstr "l'utilisation d'une chaîne pour le fichier « ~a » est obsolète. Utilisez plutôt « plain-file »~%" -#: gnu/system.scm:747 +#: gnu/system.scm:741 #, scheme-format msgid "using a monadic value for '~a' is deprecated; use 'plain-file' instead~%" msgstr "l'utilisation d'une valeur monadic pour « ~a » est obsolète. Utilisez plutôt « plain-file »~%" -#: gnu/system.scm:892 +#: gnu/system.scm:885 #, scheme-format msgid "~a: invalid locale name" msgstr "~a : nom d'environnement linguistique non valide" -#: gnu/services/shepherd.scm:175 +#: gnu/services/shepherd.scm:192 #, scheme-format msgid "service '~a' provided more than once" msgstr "service « ~a » fourni plus d'une fois" -#: gnu/services/shepherd.scm:190 +#: gnu/services/shepherd.scm:207 #, scheme-format msgid "service '~a' requires '~a', which is not provided by any service" msgstr "le service « ~a » requiert « ~a » qui n'est fourni pas aucun service" -#: gnu/system/mapped-devices.scm:142 +#: gnu/system/mapped-devices.scm:147 #, scheme-format msgid "you may need these modules in the initrd for ~a:~{ ~a~}" msgstr "vous pourriez avoir besoin de ces modules dans l’image de démarrage pour ~a :~{ ~a~}" -#: gnu/system/mapped-devices.scm:146 +#: gnu/system/mapped-devices.scm:151 #, scheme-format msgid "" "Try adding them to the\n" @@ -261,6 +261,9 @@ msgid "" " (initrd-modules (append (list~{ ~s~})\n" " %base-initrd-modules)))\n" "@end example\n" +"\n" +"If you think this diagnostic is inaccurate, use the @option{--skip-checks}\n" +"option of @command{guix system}.\n" msgstr "" "Essayez de les ajouter dans le champ @code{initrd-modules} de votre déclaration\n" "@code{operating-system}, comme ceci :\n" @@ -271,42 +274,46 @@ msgstr "" " (initrd-modules (append (list~{ ~s~})\n" " %base-initrd-modules)))\n" "@end example\n" +"\n" +"Si vous pensez que ce diagnostic est inexact, utilisez l'option @option{--skip-checks}\n" +"de @command{guix system}.\n" -#: gnu/system/mapped-devices.scm:222 +#: gnu/system/mapped-devices.scm:230 #, scheme-format msgid "no LUKS partition with UUID '~a'" msgstr "aucune partition LUKS avec l’UUID « ~a »" -#: gnu/system/shadow.scm:245 +#: gnu/system/shadow.scm:258 #, scheme-format msgid "supplementary group '~a' of user '~a' is undeclared" msgstr "le groupe supplémentaire « ~a » de l'utilisateur « ~a » n'est pas déclaré" -#: gnu/system/shadow.scm:255 +#: gnu/system/shadow.scm:268 #, scheme-format msgid "primary group '~a' of user '~a' is undeclared" msgstr "le groupe primaire « ~a » de l'utilisateur « ~a » n'est pas déclaré" -#: guix/scripts.scm:56 +#: guix/scripts.scm:60 #, scheme-format msgid "invalid argument: ~a~%" msgstr "argument non valide : ~a~%" -#: guix/scripts.scm:84 guix/scripts/download.scm:135 -#: guix/scripts/import/cran.scm:82 guix/scripts/import/elpa.scm:85 +#: guix/scripts.scm:88 guix/scripts/download.scm:135 +#: guix/scripts/import/cran.scm:84 guix/scripts/import/elpa.scm:85 #: guix/scripts/publish.scm:881 guix/scripts/edit.scm:81 +#: guix/scripts/describe.scm:197 guix/scripts/processes.scm:216 #, scheme-format msgid "~A: unrecognized option~%" msgstr "~A : option non reconnue~%" -#: guix/scripts.scm:179 +#: guix/scripts.scm:182 #, scheme-format msgid "Your Guix installation is ~a day old.\n" msgid_plural "Your Guix installation is ~a days old.\n" msgstr[0] "Votre installation Guix est vieille de ~a jour.\n" msgstr[1] "Votre installation Guix est vieille de ~a jours.\n" -#: guix/scripts.scm:184 +#: guix/scripts.scm:187 #, scheme-format msgid "" "Consider running 'guix pull' followed by\n" @@ -315,22 +322,52 @@ msgstr "" "Envisagez d'exécuter « guix pull » suivi de\n" "« ~a » pour obtenir des paquets à jour et des mises à jour de sécurité.\n" -#: guix/scripts/build.scm:81 +#: guix/scripts.scm:211 +#, scheme-format +msgid "only ~,1f% of free space available on ~a~%" +msgstr "seulement ~,1f % d'espace libre sur ~a~%" + +#: guix/scripts.scm:214 +#, scheme-format +msgid "" +"Consider deleting old profile\n" +"generations and collecting garbage, along these lines:\n" +"\n" +"@example\n" +"guix package -p ~s --delete-generations=1m\n" +"guix gc\n" +"@end example\n" +msgstr "" +"Pensez à supprimer de vieilles générations du profil\n" +"et à lancer le ramasse-miettes de cette façon :\n" +"\n" +"@example\n" +"guix package -p ~s --delete-generations=1m\n" +"guix gc\n" +"@end example\n" + +#: guix/scripts.scm:222 +msgid "" +"Consider running @command{guix gc} to free\n" +"space." +msgstr "Pensez à lancer @command{guix gc} pour libérer de l'espace." + +#: guix/scripts/build.scm:84 #, scheme-format msgid "cannot access build log at '~a':~%" msgstr "aucun journal de compilation sur « ~a »~%" -#: guix/scripts/build.scm:135 +#: guix/scripts/build.scm:138 #, scheme-format msgid "failed to create GC root `~a': ~a~%" msgstr "impossible de créer la racine du GC « ~a » : ~a~%" -#: guix/scripts/build.scm:237 +#: guix/scripts/build.scm:240 #, scheme-format msgid "invalid replacement specification: ~s~%" msgstr "spécification de remplacement invalide : ~s~%" -#: guix/scripts/build.scm:294 +#: guix/scripts/build.scm:297 msgid "" "\n" " --with-source=SOURCE\n" @@ -340,7 +377,7 @@ msgstr "" " --with-source=SOURCE\n" " utiliser la SOURCE donnée pour compiler le paquet correspondant" -#: guix/scripts/build.scm:297 +#: guix/scripts/build.scm:300 msgid "" "\n" " --with-input=PACKAGE=REPLACEMENT\n" @@ -350,7 +387,7 @@ msgstr "" " --with-input=PAQUET=REMPLACEMENT\n" " remplacer le paquet de dépendance PAQUET par REMPLACEMENT" -#: guix/scripts/build.scm:300 +#: guix/scripts/build.scm:303 msgid "" "\n" " --with-graft=PACKAGE=REPLACEMENT\n" @@ -360,12 +397,12 @@ msgstr "" " --with-graft=PAQUET=REMPLACEMENT\n" " greffer le paquet REMPLACEMENT sur les paquets qui font référence à PAQUET" -#: guix/scripts/build.scm:325 +#: guix/scripts/build.scm:328 #, scheme-format msgid "transformation '~a' had no effect on ~a~%" msgstr "la transformation « ~a » n'a pas d'effet sur ~a~%" -#: guix/scripts/build.scm:343 +#: guix/scripts/build.scm:346 msgid "" "\n" " -L, --load-path=DIR prepend DIR to the package module search path" @@ -373,7 +410,7 @@ msgstr "" "\n" " -L, --load-path=REP préfixer le chemin de recherche par REP" -#: guix/scripts/build.scm:345 +#: guix/scripts/build.scm:348 msgid "" "\n" " -K, --keep-failed keep build tree of failed builds" @@ -381,7 +418,7 @@ msgstr "" "\n" " -K, --keep-failed garder l'arbre de compilation pour les compilations ayant échoué" -#: guix/scripts/build.scm:347 +#: guix/scripts/build.scm:350 msgid "" "\n" " -k, --keep-going keep going when some of the derivations fail" @@ -389,7 +426,7 @@ msgstr "" "\n" " -k, --keep-going continuer si certaines dérivations échouent" -#: guix/scripts/build.scm:349 +#: guix/scripts/build.scm:352 msgid "" "\n" " -n, --dry-run do not build the derivations" @@ -397,7 +434,7 @@ msgstr "" "\n" " -n, --dry-run ne pas compiler les dérivations" -#: guix/scripts/build.scm:351 +#: guix/scripts/build.scm:354 msgid "" "\n" " --fallback fall back to building when the substituter fails" @@ -405,7 +442,7 @@ msgstr "" "\n" " --fallback revenir à la compilation quand le substitut échoue" -#: guix/scripts/build.scm:353 +#: guix/scripts/build.scm:356 msgid "" "\n" " --no-substitutes build instead of resorting to pre-built substitutes" @@ -413,7 +450,7 @@ msgstr "" "\n" " --no-substitutes compiler plutôt que recourir à des substituts pré-compilés" -#: guix/scripts/build.scm:355 guix/scripts/size.scm:232 +#: guix/scripts/build.scm:358 guix/scripts/size.scm:223 msgid "" "\n" " --substitute-urls=URLS\n" @@ -423,7 +460,7 @@ msgstr "" " --substitute-urls=URLS\n" " récupérer les substituts depuis les URLS si elles sont autorisées" -#: guix/scripts/build.scm:358 +#: guix/scripts/build.scm:361 msgid "" "\n" " --no-grafts do not graft packages" @@ -431,7 +468,7 @@ msgstr "" "\n" " --no-grafts ne pas greffer les paquets" -#: guix/scripts/build.scm:360 +#: guix/scripts/build.scm:363 msgid "" "\n" " --no-build-hook do not attempt to offload builds via the build hook" @@ -439,7 +476,7 @@ msgstr "" "\n" " --no-build-hook ne pas essayer de décharger les compilations via le hook de compilation" -#: guix/scripts/build.scm:362 +#: guix/scripts/build.scm:365 msgid "" "\n" " --max-silent-time=SECONDS\n" @@ -449,7 +486,7 @@ msgstr "" " --max-silent-time=N\n" " marquer la compilation comme ayant échouée après N secondes de silence" -#: guix/scripts/build.scm:365 +#: guix/scripts/build.scm:368 msgid "" "\n" " --timeout=SECONDS mark the build as failed after SECONDS of activity" @@ -457,7 +494,7 @@ msgstr "" "\n" " --timeout=N marquer la compilation comme ayant échouée après N secondes d'activité" -#: guix/scripts/build.scm:367 +#: guix/scripts/build.scm:370 msgid "" "\n" " --verbosity=LEVEL use the given verbosity LEVEL" @@ -465,7 +502,7 @@ msgstr "" "\n" " --verbosity=NIVEAU utiliser le NIVEAU de verbosité donné" -#: guix/scripts/build.scm:369 +#: guix/scripts/build.scm:372 msgid "" "\n" " --rounds=N build N times in a row to detect non-determinism" @@ -473,7 +510,7 @@ msgstr "" "\n" " --rounds=N compiler N fois de suite pour détecter les non déterminismes" -#: guix/scripts/build.scm:371 +#: guix/scripts/build.scm:374 msgid "" "\n" " -c, --cores=N allow the use of up to N CPU cores for the build" @@ -481,7 +518,7 @@ msgstr "" "\n" " -c, --cores=N utiliser jusqu'à N cœurs CPU pour la compilation" -#: guix/scripts/build.scm:373 +#: guix/scripts/build.scm:376 msgid "" "\n" " -M, --max-jobs=N allow at most N build jobs" @@ -489,12 +526,12 @@ msgstr "" "\n" " -M, --max-jobs=N autoriser au plus N tâches de compilation" -#: guix/scripts/build.scm:479 guix/scripts/build.scm:486 +#: guix/scripts/build.scm:486 guix/scripts/build.scm:493 #, scheme-format msgid "not a number: '~a' option argument: ~a~%" msgstr "pas un nombre: argument d'option « ~a » : ~a~%" -#: guix/scripts/build.scm:505 +#: guix/scripts/build.scm:514 msgid "" "Usage: guix build [OPTION]... PACKAGE-OR-DERIVATION...\n" "Build the given PACKAGE-OR-DERIVATION and return their output paths.\n" @@ -502,7 +539,7 @@ msgstr "" "Usage: guix build [OPTION]... PAQUET-OU-DERIVATION...\n" "Compiler le PAQUET-OU-DERIVATION donné et retourner leurs chemins de sortie.\n" -#: guix/scripts/build.scm:507 +#: guix/scripts/build.scm:516 msgid "" "\n" " -e, --expression=EXPR build the package or derivation EXPR evaluates to" @@ -510,7 +547,7 @@ msgstr "" "\n" " -e, --expression=EXPR compiler le paquet ou la dérivation évalué par EXPR" -#: guix/scripts/build.scm:509 +#: guix/scripts/build.scm:518 msgid "" "\n" " -f, --file=FILE build the package or derivation that the code within\n" @@ -520,7 +557,7 @@ msgstr "" " -f, --file=FICHIER compiler le paquet ou la dérivation qui est évaluée\n" " par le code dans FICHIER" -#: guix/scripts/build.scm:512 +#: guix/scripts/build.scm:521 msgid "" "\n" " -S, --source build the packages' source derivations" @@ -528,7 +565,7 @@ msgstr "" "\n" " -S, --source compiler les dérivations de source du paquet" -#: guix/scripts/build.scm:514 +#: guix/scripts/build.scm:523 msgid "" "\n" " --sources[=TYPE] build source derivations; TYPE may optionally be one\n" @@ -538,7 +575,7 @@ msgstr "" " --sources[=TYPE] compiler les dérivations sources. TYPE peut optionnellement\n" " être « package », « all » (défaut) ou « transitive »" -#: guix/scripts/build.scm:517 guix/scripts/pack.scm:646 +#: guix/scripts/build.scm:526 guix/scripts/pack.scm:712 msgid "" "\n" " -s, --system=SYSTEM attempt to build for SYSTEM--e.g., \"i686-linux\"" @@ -546,7 +583,7 @@ msgstr "" "\n" " -s, --system=SYSTÈME essayer de compiler pour le SYSTÈME donné, par exemple « i686-linux »" -#: guix/scripts/build.scm:519 guix/scripts/pack.scm:648 +#: guix/scripts/build.scm:528 guix/scripts/pack.scm:714 msgid "" "\n" " --target=TRIPLET cross-build for TRIPLET--e.g., \"armel-linux-gnu\"" @@ -554,7 +591,7 @@ msgstr "" "\n" " --target=TRIPLET effectuer une compilation croisée pour TRIPLET, par exemple « armel-linux-gnu »" -#: guix/scripts/build.scm:521 +#: guix/scripts/build.scm:530 msgid "" "\n" " -d, --derivations return the derivation paths of the given packages" @@ -562,7 +599,7 @@ msgstr "" "\n" " -d, --derivations retourner les chemins de dérivation pour les paquets donnés" -#: guix/scripts/build.scm:523 +#: guix/scripts/build.scm:532 msgid "" "\n" " --check rebuild items to check for non-determinism issues" @@ -570,7 +607,7 @@ msgstr "" "\n" " --check recompiler les éléments pour détecter des problèmes de non déterminisme" -#: guix/scripts/build.scm:525 +#: guix/scripts/build.scm:534 msgid "" "\n" " --repair repair the specified items" @@ -578,7 +615,7 @@ msgstr "" "\n" " --repair réparer les éléments spécifiés" -#: guix/scripts/build.scm:527 +#: guix/scripts/build.scm:536 msgid "" "\n" " -r, --root=FILE make FILE a symlink to the result, and register it\n" @@ -588,7 +625,7 @@ msgstr "" " -r, --root=FICHIER faire de FICHIER un lien symbolique pointant sur le résultat\n" " et l'enregistrer en tant que racine du garbage collector" -#: guix/scripts/build.scm:530 +#: guix/scripts/build.scm:539 msgid "" "\n" " -q, --quiet do not show the build log" @@ -596,7 +633,7 @@ msgstr "" "\n" " -q, --quiet ne pas montrer le journal de compilation" -#: guix/scripts/build.scm:532 +#: guix/scripts/build.scm:541 msgid "" "\n" " --log-file return the log file names for the given derivations" @@ -604,16 +641,17 @@ msgstr "" "\n" " --log-file retourner les fichiers de journalisation pour les dérivations données" -#: guix/scripts/build.scm:539 guix/scripts/download.scm:83 -#: guix/scripts/package.scm:395 guix/scripts/gc.scm:76 -#: guix/scripts/hash.scm:59 guix/scripts/import.scm:92 -#: guix/scripts/import/cran.scm:47 guix/scripts/pull.scm:120 -#: guix/scripts/substitute.scm:879 guix/scripts/system.scm:993 -#: guix/scripts/lint.scm:1107 guix/scripts/publish.scm:94 -#: guix/scripts/edit.scm:44 guix/scripts/size.scm:243 -#: guix/scripts/graph.scm:466 guix/scripts/challenge.scm:241 -#: guix/scripts/copy.scm:122 guix/scripts/pack.scm:661 -#: guix/scripts/weather.scm:258 guix/scripts/container.scm:33 +#: guix/scripts/build.scm:548 guix/scripts/download.scm:83 +#: guix/scripts/package.scm:366 guix/scripts/gc.scm:76 +#: guix/scripts/hash.scm:60 guix/scripts/import.scm:93 +#: guix/scripts/import/cran.scm:47 guix/scripts/pull.scm:95 +#: guix/scripts/substitute.scm:889 guix/scripts/system.scm:1017 +#: guix/scripts/lint.scm:1115 guix/scripts/publish.scm:94 +#: guix/scripts/edit.scm:44 guix/scripts/size.scm:234 +#: guix/scripts/graph.scm:472 guix/scripts/challenge.scm:241 +#: guix/scripts/copy.scm:122 guix/scripts/pack.scm:730 +#: guix/scripts/weather.scm:259 guix/scripts/describe.scm:71 +#: guix/scripts/processes.scm:200 guix/scripts/container.scm:34 #: guix/scripts/container/exec.scm:43 msgid "" "\n" @@ -622,16 +660,17 @@ msgstr "" "\n" " -h, --help afficher cette aide et quitter" -#: guix/scripts/build.scm:541 guix/scripts/download.scm:85 -#: guix/scripts/package.scm:397 guix/scripts/gc.scm:78 -#: guix/scripts/hash.scm:61 guix/scripts/import.scm:94 -#: guix/scripts/import/cran.scm:49 guix/scripts/pull.scm:122 -#: guix/scripts/substitute.scm:881 guix/scripts/system.scm:995 -#: guix/scripts/lint.scm:1111 guix/scripts/publish.scm:96 -#: guix/scripts/edit.scm:46 guix/scripts/size.scm:245 -#: guix/scripts/graph.scm:468 guix/scripts/challenge.scm:243 -#: guix/scripts/copy.scm:124 guix/scripts/pack.scm:663 -#: guix/scripts/weather.scm:260 guix/scripts/container.scm:35 +#: guix/scripts/build.scm:550 guix/scripts/download.scm:85 +#: guix/scripts/package.scm:368 guix/scripts/gc.scm:78 +#: guix/scripts/hash.scm:62 guix/scripts/import.scm:95 +#: guix/scripts/import/cran.scm:51 guix/scripts/pull.scm:97 +#: guix/scripts/substitute.scm:891 guix/scripts/system.scm:1019 +#: guix/scripts/lint.scm:1119 guix/scripts/publish.scm:96 +#: guix/scripts/edit.scm:46 guix/scripts/size.scm:236 +#: guix/scripts/graph.scm:474 guix/scripts/challenge.scm:243 +#: guix/scripts/copy.scm:124 guix/scripts/pack.scm:732 +#: guix/scripts/weather.scm:261 guix/scripts/describe.scm:73 +#: guix/scripts/processes.scm:202 guix/scripts/container.scm:36 #: guix/scripts/container/exec.scm:45 msgid "" "\n" @@ -640,7 +679,7 @@ msgstr "" "\n" " -V, --version afficher les informations sur la version et quitter" -#: guix/scripts/build.scm:568 +#: guix/scripts/build.scm:577 #, scheme-format msgid "" "invalid argument: '~a' option argument: ~a, ~\n" @@ -649,22 +688,22 @@ msgstr "" "argument invalide: argument en option « ~a » : ~a, ~\n" "doit être « package », « all » ou « transitive »~%" -#: guix/scripts/build.scm:621 +#: guix/scripts/build.scm:630 #, scheme-format msgid "~s: not something we can build~%" msgstr "~s : pas quelque chose qu'on sait compiler~%" -#: guix/scripts/build.scm:679 +#: guix/scripts/build.scm:688 #, scheme-format msgid "~a: warning: package '~a' has no source~%" msgstr "~a : attention : le paquet « ~a » n'a pas de source~%" -#: guix/scripts/build.scm:713 +#: guix/scripts/build.scm:726 #, scheme-format msgid "no build log for '~a'~%" msgstr "aucun journal de compilation pour « ~a »~%" -#: guix/discovery.scm:90 +#: guix/discovery.scm:91 #, scheme-format msgid "cannot access `~a': ~a~%" msgstr "impossible d'accéder à « ~a » : ~a~%" @@ -686,7 +725,7 @@ msgstr "" "Formats supportés : « nix-base32 » (par défaut), « base32 », et « base16 »\n" "(« hex » et « hexadecimal » peuvent aussi être utilisés).\n" -#: guix/scripts/download.scm:75 guix/scripts/hash.scm:54 +#: guix/scripts/download.scm:75 guix/scripts/hash.scm:55 msgid "" "\n" " -f, --format=FMT write the hash in the given format" @@ -712,12 +751,12 @@ msgstr "" "\n" " -o, --output=FICHIER télécharge dans le FICHIER" -#: guix/scripts/download.scm:103 guix/scripts/hash.scm:82 +#: guix/scripts/download.scm:103 guix/scripts/hash.scm:83 #, scheme-format msgid "unsupported hash format: ~a~%" msgstr "format d'empreinte non supporté : ~a~%" -#: guix/scripts/download.scm:138 guix/scripts/package.scm:884 +#: guix/scripts/download.scm:138 guix/scripts/package.scm:905 #: guix/scripts/publish.scm:883 #, scheme-format msgid "~A: extraneous argument~%" @@ -738,70 +777,45 @@ msgstr "~a : impossible d'évaluer l'URI~%" msgid "~a: download failed~%" msgstr "~a : le téléchargement a échoué~%" -#: guix/scripts/package.scm:72 -#, scheme-format -msgid "Try \"info '(guix) Invoking guix package'\" for more information.~%" -msgstr "Essayez « info '(guix) Invoking guix package' » pour plus d'information.~%" - -#: guix/scripts/package.scm:94 -#, scheme-format -msgid "error: while creating directory `~a': ~a~%" -msgstr "erreur : pendant la création du répertoire « ~a » : ~a~%" - -#: guix/scripts/package.scm:98 -#, scheme-format -msgid "Please create the `~a' directory, with you as the owner.~%" -msgstr "Veuillez créer le répertoire « ~a » dont vous êtes le propriétaire.~%" - -#: guix/scripts/package.scm:105 -#, scheme-format -msgid "error: directory `~a' is not owned by you~%" -msgstr "erreur : vous ne possédez pas le répertoire « ~a »~%" - -#: guix/scripts/package.scm:108 -#, scheme-format -msgid "Please change the owner of `~a' to user ~s.~%" -msgstr "Veuillez définir ~s comme propriétaire de « ~a ».~%" - -#: guix/scripts/package.scm:143 +#: guix/scripts/package.scm:109 #, scheme-format msgid "not removing generation ~a, which is current~%" msgstr "la génération ~a n'est pas supprimée car elle est actuelle~%" -#: guix/scripts/package.scm:150 +#: guix/scripts/package.scm:116 #, scheme-format msgid "no matching generation~%" msgstr "aucune génération correspondante~%" -#: guix/scripts/package.scm:153 guix/scripts/package.scm:690 -#: guix/scripts/system.scm:593 +#: guix/scripts/package.scm:119 guix/scripts/package.scm:707 +#: guix/scripts/system.scm:622 #, scheme-format msgid "invalid syntax: ~a~%" msgstr "syntaxe non valide : ~a~%" -#: guix/scripts/package.scm:182 +#: guix/scripts/package.scm:148 #, scheme-format msgid "nothing to be done~%" msgstr "aucune action à faire~%" -#: guix/scripts/package.scm:196 +#: guix/scripts/package.scm:162 #, scheme-format msgid "~a package in profile~%" msgid_plural "~a packages in profile~%" msgstr[0] "~a paquet dans le profile~%" msgstr[1] "~a paquets dans le profile~%" -#: guix/scripts/package.scm:280 +#: guix/scripts/package.scm:248 #, scheme-format msgid "package '~a' no longer exists~%" msgstr "le paquet « ~a » n'existe plus~%" -#: guix/scripts/package.scm:318 +#: guix/scripts/package.scm:286 #, scheme-format msgid "The following environment variable definitions may be needed:~%" msgstr "Il pourrait être nécessaire de définir les variables d'environnement suivantes :~%" -#: guix/scripts/package.scm:334 +#: guix/scripts/package.scm:305 msgid "" "Usage: guix package [OPTION]...\n" "Install, remove, or upgrade packages in a single transaction.\n" @@ -809,7 +823,7 @@ msgstr "" "Usage : guix package [OPTION]...\n" "Installer, supprimer ou mettre à jour les paquets en une seule transaction.\n" -#: guix/scripts/package.scm:336 +#: guix/scripts/package.scm:307 msgid "" "\n" " -i, --install PACKAGE ...\n" @@ -819,7 +833,7 @@ msgstr "" " -i, --install=PAQUET ...\n" " installer les PAQUETs" -#: guix/scripts/package.scm:339 +#: guix/scripts/package.scm:310 msgid "" "\n" " -e, --install-from-expression=EXP\n" @@ -829,7 +843,7 @@ msgstr "" " -e, --install-from-expression=EXP\n" " installer le paquet évalué par EXP" -#: guix/scripts/package.scm:342 +#: guix/scripts/package.scm:313 msgid "" "\n" " -f, --install-from-file=FILE\n" @@ -841,7 +855,7 @@ msgstr "" " installer le paquet évalué par le code dans\n" " FICHIER" -#: guix/scripts/package.scm:346 +#: guix/scripts/package.scm:317 msgid "" "\n" " -r, --remove PACKAGE ...\n" @@ -851,7 +865,7 @@ msgstr "" " -r, --remove=PAQUET ...\n" " supprimer les PAQUETs" -#: guix/scripts/package.scm:349 +#: guix/scripts/package.scm:320 msgid "" "\n" " -u, --upgrade[=REGEXP] upgrade all the installed packages matching REGEXP" @@ -859,7 +873,7 @@ msgstr "" "\n" " -u, --upgrade[=REGEXP] mettre à jour tous les paquets installés correspondant à REGEXP" -#: guix/scripts/package.scm:351 +#: guix/scripts/package.scm:322 msgid "" "\n" " -m, --manifest=FILE create a new profile generation with the manifest\n" @@ -869,7 +883,7 @@ msgstr "" " -m, --manifest=FICHIER créer une nouvelle génération de profil avec le\n" " manifeste dans FICHIER" -#: guix/scripts/package.scm:354 +#: guix/scripts/package.scm:325 msgid "" "\n" " --do-not-upgrade[=REGEXP] do not upgrade any packages matching REGEXP" @@ -877,7 +891,7 @@ msgstr "" "\n" " --do-not-upgrade[=REGEXP] ne pas mettre à jour les paquets correspondant à REGEXP" -#: guix/scripts/package.scm:356 +#: guix/scripts/package.scm:327 msgid "" "\n" " --roll-back roll back to the previous generation" @@ -885,7 +899,7 @@ msgstr "" "\n" " --roll-back revenir à la génération antérieure" -#: guix/scripts/package.scm:358 +#: guix/scripts/package.scm:329 msgid "" "\n" " --search-paths[=KIND]\n" @@ -895,7 +909,7 @@ msgstr "" " --search-paths=[GENRE]\n" " afficher les définitions de variables d'environnement requises" -#: guix/scripts/package.scm:361 guix/scripts/pull.scm:113 +#: guix/scripts/package.scm:332 guix/scripts/pull.scm:84 msgid "" "\n" " -l, --list-generations[=PATTERN]\n" @@ -905,7 +919,7 @@ msgstr "" " -l, --list-generations[=MOTIF]\n" " lister les générations correspondant à MOTIF" -#: guix/scripts/package.scm:364 +#: guix/scripts/package.scm:335 msgid "" "\n" " -d, --delete-generations[=PATTERN]\n" @@ -915,7 +929,7 @@ msgstr "" " -d, --delete-generations[=MOTIF]\n" " supprimer les générations correspondant à MOTIF" -#: guix/scripts/package.scm:367 +#: guix/scripts/package.scm:338 msgid "" "\n" " -S, --switch-generation=PATTERN\n" @@ -925,7 +939,7 @@ msgstr "" " -S, --switch-generation=MOTIF\n" " basculer vers une génération correspondant à MOTIF" -#: guix/scripts/package.scm:370 +#: guix/scripts/package.scm:341 msgid "" "\n" " -p, --profile=PROFILE use PROFILE instead of the user's default profile" @@ -933,7 +947,7 @@ msgstr "" "\n" " -p, --profile=PROFIL utiliser PROFIL au lieu du profil par défaut de l'utilisateur" -#: guix/scripts/package.scm:373 +#: guix/scripts/package.scm:344 msgid "" "\n" " --allow-collisions do not treat collisions in the profile as an error" @@ -941,7 +955,7 @@ msgstr "" "\n" " --allow-collisions ne pas traiter les collisions dans le profil comme une erreur" -#: guix/scripts/package.scm:375 +#: guix/scripts/package.scm:346 msgid "" "\n" " --bootstrap use the bootstrap Guile to build the profile" @@ -949,7 +963,7 @@ msgstr "" "\n" " --bootstrap utiliser le programme d'amorçage Guile pour compiler le profil" -#: guix/scripts/package.scm:377 guix/scripts/pull.scm:105 +#: guix/scripts/package.scm:348 guix/scripts/pull.scm:74 msgid "" "\n" " --verbose produce verbose output" @@ -957,7 +971,7 @@ msgstr "" "\n" " --verbose produire une sortie verbeuse" -#: guix/scripts/package.scm:380 +#: guix/scripts/package.scm:351 msgid "" "\n" " -s, --search=REGEXP search in synopsis and description using REGEXP" @@ -965,7 +979,7 @@ msgstr "" "\n" " -s, --search=REGEXP chercher dans le synopsis et la description en utilisant REGEXP" -#: guix/scripts/package.scm:382 +#: guix/scripts/package.scm:353 msgid "" "\n" " -I, --list-installed[=REGEXP]\n" @@ -975,7 +989,7 @@ msgstr "" " -I, --list-installed[=REGEXP]\n" " lister les paquets installés correspondant à REGEXP" -#: guix/scripts/package.scm:385 +#: guix/scripts/package.scm:356 msgid "" "\n" " -A, --list-available[=REGEXP]\n" @@ -985,7 +999,7 @@ msgstr "" " -A, --list-available[=REGEXP]\n" " lister les paquets disponibles correspondant à REGEXP" -#: guix/scripts/package.scm:388 +#: guix/scripts/package.scm:359 msgid "" "\n" " --show=PACKAGE show details about PACKAGE" @@ -993,32 +1007,37 @@ msgstr "" "\n" " --show=PAQUET montrer des détails du PAQUET" -#: guix/scripts/package.scm:440 +#: guix/scripts/package.scm:411 #, scheme-format msgid "upgrade regexp '~a' looks like a command-line option~%" msgstr "l'expression régulière « ~a » ressemble à une option de la ligne de commande~%" -#: guix/scripts/package.scm:443 +#: guix/scripts/package.scm:414 #, scheme-format msgid "is this intended?~%" msgstr "est-ce intentionnel ?~%" -#: guix/scripts/package.scm:488 +#: guix/scripts/package.scm:459 #, scheme-format msgid "~a: unsupported kind of search path~%" msgstr "~a : type de chemin de recherche non supporté~%" -#: guix/scripts/package.scm:789 +#: guix/scripts/package.scm:776 +#, scheme-format +msgid "~a~@[@~a~]: package not found~%" +msgstr "~a~@[@~a~] : paquet introuvable~%" + +#: guix/scripts/package.scm:810 #, scheme-format msgid "cannot switch to generation '~a'~%" msgstr "impossible de passer à la génération « ~a »~%" -#: guix/scripts/package.scm:806 +#: guix/scripts/package.scm:827 #, scheme-format msgid "would install new manifest from '~a' with ~d entries~%" msgstr "installerait le nouveau manifeste depuis « ~a » avec ~d entrées~%" -#: guix/scripts/package.scm:808 +#: guix/scripts/package.scm:829 #, scheme-format msgid "installing new manifest from '~a' with ~d entries~%" msgstr "installation du nouveau manifeste depuis « ~a » avec ~d entrées~%" @@ -1152,12 +1171,12 @@ msgid "invalid amount of storage: ~a~%" msgstr "quantité de stockage non valide : ~a~%" #: guix/scripts/gc.scm:202 -msgid "already ~h bytes available on ~a, nothing to do~%" -msgstr "déjà ~h octets disponibles sur ~a, rien à faire~%" +msgid "already ~h MiBs available on ~a, nothing to do~%" +msgstr "déjà ~h Mo disponibles sur ~a, rien à faire~%" #: guix/scripts/gc.scm:205 -msgid "freeing ~h bytes~%" -msgstr "libération de ~h octets~%" +msgid "freeing ~h MiBs~%" +msgstr "libération de ~h Mo~%" #: guix/scripts/gc.scm:217 #, scheme-format @@ -1165,10 +1184,10 @@ msgid "extraneous arguments: ~{~a ~}~%" msgstr "arguments superflus : ~{~a ~}~%" #: guix/scripts/gc.scm:237 guix/scripts/gc.scm:240 -msgid "freed ~h bytes~%" -msgstr "~h octets libérés~%" +msgid "freed ~h MiBs~%" +msgstr "~h Mo libérés~%" -#: guix/scripts/hash.scm:47 +#: guix/scripts/hash.scm:48 msgid "" "Usage: guix hash [OPTION] FILE\n" "Return the cryptographic hash of FILE.\n" @@ -1182,7 +1201,7 @@ msgstr "" "Formats supportés: « nix-base32 » (par défaut), « base32 », et « base16 » (« hex »\n" "et « hexadecimal » peuvent également être utilisés).\n" -#: guix/scripts/hash.scm:52 +#: guix/scripts/hash.scm:53 msgid "" "\n" " -x, --exclude-vcs exclude version control directories" @@ -1190,7 +1209,7 @@ msgstr "" "\n" " -x, --exclude-vcs exclure les répertoires de contrôle de versions" -#: guix/scripts/hash.scm:56 +#: guix/scripts/hash.scm:57 msgid "" "\n" " -r, --recursive compute the hash on FILE recursively" @@ -1198,18 +1217,18 @@ msgstr "" "\n" " -r, --recursive calculer l'empreinte de FICHIER de manière récursive" -#: guix/scripts/hash.scm:150 guix/ui.scm:365 guix/ui.scm:706 guix/ui.scm:759 +#: guix/scripts/hash.scm:151 guix/ui.scm:371 guix/ui.scm:728 guix/ui.scm:781 #, scheme-format msgid "~a~%" msgstr "~a~%" -#: guix/scripts/hash.scm:153 guix/scripts/system.scm:1161 -#: guix/scripts/system.scm:1170 guix/scripts/system.scm:1177 +#: guix/scripts/hash.scm:154 guix/scripts/system.scm:1189 +#: guix/scripts/system.scm:1198 guix/scripts/system.scm:1205 #, scheme-format msgid "wrong number of arguments~%" msgstr "nombre d'arguments incorrect~%" -#: guix/scripts/import.scm:86 +#: guix/scripts/import.scm:87 msgid "" "Usage: guix import IMPORTER ARGS ...\n" "Run IMPORTER with ARGS.\n" @@ -1217,21 +1236,21 @@ msgstr "" "Usage : guix import IMPORTATEUR ARGS...\n" "Lancer IMPORTATEUR avec ARGS.\n" -#: guix/scripts/import.scm:89 +#: guix/scripts/import.scm:90 msgid "IMPORTER must be one of the importers listed below:\n" msgstr "IMPORTATEUR doit être un des importateurs listés ci-dessous:\n" -#: guix/scripts/import.scm:103 +#: guix/scripts/import.scm:104 #, scheme-format msgid "guix import: missing importer name~%" msgstr "guix import: nom d'importateur manquant~%" -#: guix/scripts/import.scm:123 +#: guix/scripts/import.scm:124 #, scheme-format msgid "'~a' import failed~%" msgstr "l'importateur « ~a » a échoué~%" -#: guix/scripts/import.scm:124 +#: guix/scripts/import.scm:125 #, scheme-format msgid "~a: invalid importer~%" msgstr "~a : importateur non valide~%" @@ -1252,17 +1271,25 @@ msgstr "" "\n" " -a, --archive=ARCHIVE spécifier le dépôt de l'archive" -#: guix/scripts/import/cran.scm:110 +#: guix/scripts/import/cran.scm:49 +msgid "" +"\n" +" -r, --recursive import packages recursively" +msgstr "" +"\n" +" -r, --recursive importer les paquets de manière récursive" + +#: guix/scripts/import/cran.scm:112 #, scheme-format msgid "failed to download description for package '~a'~%" msgstr "échec lors du téléchargement de la description du paquet « ~a »~%" -#: guix/scripts/import/cran.scm:114 guix/scripts/import/elpa.scm:113 +#: guix/scripts/import/cran.scm:116 guix/scripts/import/elpa.scm:113 #, scheme-format msgid "too few arguments~%" msgstr "trop peu d'arguments~%" -#: guix/scripts/import/cran.scm:116 guix/scripts/import/elpa.scm:115 +#: guix/scripts/import/cran.scm:118 guix/scripts/import/elpa.scm:115 #, scheme-format msgid "too many arguments~%" msgstr "trop d'arguments~%" @@ -1312,26 +1339,7 @@ msgstr "" msgid "failed to download package '~a'~%" msgstr "échec lors du téléchargement du paquet « ~a »~%" -#: guix/scripts/pull.scm:66 -#, scheme-format -msgid "" -"Guile-Git is missing but it is now required by 'guix pull'.\n" -"Install it by running:\n" -"\n" -" guix package -i ~a\n" -" export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/~a:$GUILE_LOAD_PATH\n" -" export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/~a/site-ccache:$GUILE_LOAD_COMPILED_PATH\n" -"\n" -msgstr "" -"Il vous manque Guile-Git qui est désormais requis par « guix pull ».\n" -"Installez-le en lançant :\n" -"\n" -" guix package -i ~a\n" -" export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/~a:$GUILE_LOAD_PATH\n" -" export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/~a/site-ccache:$GUILE_LOAD_COMPILED_PATH\n" -"\n" - -#: guix/scripts/pull.scm:103 +#: guix/scripts/pull.scm:72 msgid "" "Usage: guix pull [OPTION]...\n" "Download and deploy the latest version of Guix.\n" @@ -1339,7 +1347,15 @@ msgstr "" "Usage : guix pull [OPTION]...\n" "Télécharger et déployer la dernière version de Guix.\n" -#: guix/scripts/pull.scm:107 +#: guix/scripts/pull.scm:76 +msgid "" +"\n" +" -C, --channels=FILE deploy the channels defined in FILE" +msgstr "" +"\n" +" -C, --channels=FICHIER déploie les canaux définis dans FICHIER" + +#: guix/scripts/pull.scm:78 msgid "" "\n" " --url=URL download from the Git repository at URL" @@ -1347,7 +1363,7 @@ msgstr "" "\n" " --url=URL télécharger le dépôt Git depuis URL" -#: guix/scripts/pull.scm:109 +#: guix/scripts/pull.scm:80 msgid "" "\n" " --commit=COMMIT download the specified COMMIT" @@ -1355,7 +1371,7 @@ msgstr "" "\n" " --commit=COMMIT télécharger le COMMIT indiqué" -#: guix/scripts/pull.scm:111 +#: guix/scripts/pull.scm:82 msgid "" "\n" " --branch=BRANCH download the tip of the specified BRANCH" @@ -1363,7 +1379,24 @@ msgstr "" "\n" " --branch=BRANCHE télécharger le bout de la BRANCHE indiquée" -#: guix/scripts/pull.scm:116 +#: guix/scripts/pull.scm:87 +#, scheme-format +msgid "" +"\n" +" -p, --profile=PROFILE use PROFILE instead of ~/.config/guix/current" +msgstr "" +"\n" +" -p, --profile=PROFIL utiliser PROFIL au lieu de ~/.config/guix/current" + +#: guix/scripts/pull.scm:89 +msgid "" +"\n" +" -n, --dry-run show what would be pulled and built" +msgstr "" +"\n" +" -n, --dry-run montrer ce qui serait récupéré et ce qui serait construit" + +#: guix/scripts/pull.scm:91 msgid "" "\n" " --bootstrap use the bootstrap Guile to build the new Guix" @@ -1371,157 +1404,189 @@ msgstr "" "\n" " --bootstrap utiliser le programme d'amorçage Guile pour compiler le nouveau Guix" -#: guix/scripts/pull.scm:263 -#, scheme-format -msgid "cannot enforce use of the Let's Encrypt certificates~%" -msgstr "impossible d'imposer l'utilisation des certificats Let's Encrypt~%" +#: guix/scripts/pull.scm:165 +msgid "New in this revision:\n" +msgstr "Nouveautés de cette révision :\n" -#: guix/scripts/pull.scm:265 -#, scheme-format -msgid "please upgrade Guile-Git~%" -msgstr "veuillez mettre à jour Guile-Git~%" - -#: guix/scripts/pull.scm:273 +#: guix/scripts/pull.scm:223 #, scheme-format msgid "Git error ~a~%" msgstr "Erreur Git : ~a~%" -#: guix/scripts/pull.scm:275 +#: guix/scripts/pull.scm:225 #, scheme-format msgid "Git error: ~a~%" msgstr "Erreur Git : ~a~%" -#: guix/scripts/pull.scm:302 +#: guix/scripts/pull.scm:250 +#, scheme-format +msgid "Migrating profile generations to '~a'...~%" +msgstr "Migration des générations du profil vers « ~a »...~%" + +#: guix/scripts/pull.scm:285 +#, scheme-format +msgid "while creating symlink '~a': ~a~%" +msgstr "pendant la création du lien symbolique « ~a » : ~a ~%" + +#: guix/scripts/pull.scm:307 #, scheme-format msgid " repository URL: ~a~%" -msgstr " URL du répertoire : ~a~%" +msgstr " URL du dépôt : ~a~%" -#: guix/scripts/pull.scm:304 +#: guix/scripts/pull.scm:309 #, scheme-format msgid " branch: ~a~%" msgstr " branche: ~a~%" -#: guix/scripts/pull.scm:305 +#: guix/scripts/pull.scm:310 #, scheme-format msgid " commit: ~a~%" msgstr " commit : ~a~%" -#: guix/scripts/pull.scm:373 -#, scheme-format -msgid "Updating from Git repository at '~a'...~%" -msgstr "Mise à jour depuis le dépôt Git « ~a »...~%" +#: guix/scripts/pull.scm:376 +msgid " ~h new package: ~a~%" +msgid_plural " ~h new packages: ~a~%" +msgstr[0] " ~h nouveau paquet : ~a~%" +msgstr[1] " ~h nouveau paquets : ~a~%" -#: guix/scripts/pull.scm:383 -#, scheme-format -msgid "Building from Git commit ~a...~%" -msgstr "Construction depuis le commit Git « ~a »...~%" +#: guix/scripts/pull.scm:387 +msgid " ~h package upgraded: ~a~%" +msgid_plural " ~h packages upgraded: ~a~%" +msgstr[0] " ~h paquet mis à jour : ~a~%" +msgstr[1] " ~h paquets mis à jour : ~a~%" -#: guix/scripts/substitute.scm:125 +#: guix/scripts/pull.scm:451 +#, scheme-format +msgid "'~a' did not return a list of channels~%" +msgstr "« ~a » n'a pas renvoyé une liste de canaux~%" + +#: guix/scripts/pull.scm:465 +#, scheme-format +msgid "" +"The 'GUIX_PULL_URL' environment variable is deprecated.\n" +"Use '~/.config/guix/channels.scm' instead." +msgstr "" +"La variable d'environnement « GUIX_PULL_URL » est obsolète.\n" +"Utilisez « ~/.config/guix/channels.scm » à la place." + +#: guix/scripts/pull.scm:490 +#, scheme-format +msgid "'--url', '--commit', and '--branch' are not applicable~%" +msgstr "'--url', '--commit' et '--branch' ne sont pas utilisables~%" + +#: guix/scripts/pull.scm:515 +#, scheme-format +msgid "Building from this channel:~%" +msgid_plural "Building from these channels:~%" +msgstr[0] "Construction depuis ce canal :~%" +msgstr[1] "Construction depuis ces canaux :~%" + +#: guix/scripts/substitute.scm:126 #, scheme-format msgid "authentication and authorization of substitutes disabled!~%" msgstr "authentification et autorisation des substituts désactivées !~%" -#: guix/scripts/substitute.scm:200 +#: guix/scripts/substitute.scm:201 #, scheme-format msgid "download from '~a' failed: ~a, ~s~%" msgstr "le téléchargement depuis « ~a » a échoué : ~a, ~s~%" -#: guix/scripts/substitute.scm:213 +#: guix/scripts/substitute.scm:214 #, scheme-format msgid "while fetching ~a: server is somewhat slow~%" msgstr "pendant la récupération de ~a : le serveur est plutôt lent~%" -#: guix/scripts/substitute.scm:215 +#: guix/scripts/substitute.scm:216 #, scheme-format msgid "try `--no-substitutes' if the problem persists~%" msgstr "essayez l'option « --no-substitutes » si le problème persiste~%" -#: guix/scripts/substitute.scm:225 +#: guix/scripts/substitute.scm:226 #, scheme-format msgid "unsupported substitute URI scheme: ~a~%" msgstr "schéma de substitution URI non supporté : ~a~%" -#: guix/scripts/substitute.scm:260 +#: guix/scripts/substitute.scm:261 #, scheme-format msgid "while fetching '~a': ~a (~s)~%" msgstr "pendant la récupération de « ~a » : ~a (~s)~%" -#: guix/scripts/substitute.scm:265 +#: guix/scripts/substitute.scm:266 #, scheme-format msgid "ignoring substitute server at '~s'~%" msgstr "ignore le serveur de substitution à « ~s »~%" -#: guix/scripts/substitute.scm:315 +#: guix/scripts/substitute.scm:316 #, scheme-format msgid "signature version must be a number: ~s~%" msgstr "la version de la signature doit être un nombre: ~s~%" -#: guix/scripts/substitute.scm:319 +#: guix/scripts/substitute.scm:320 #, scheme-format msgid "unsupported signature version: ~a~%" msgstr "version de signature non supportée : ~a~%" -#: guix/scripts/substitute.scm:327 +#: guix/scripts/substitute.scm:328 #, scheme-format msgid "signature is not a valid s-expression: ~s~%" msgstr "la signature n'est pas une s-expression valide : ~s~%" -#: guix/scripts/substitute.scm:331 +#: guix/scripts/substitute.scm:332 #, scheme-format msgid "invalid format of the signature field: ~a~%" msgstr "format invalide du champ de signature : ~a~%" -#: guix/scripts/substitute.scm:366 +#: guix/scripts/substitute.scm:367 #, scheme-format msgid "invalid signature for '~a'~%" msgstr "signature non valide pour « ~a »~%" -#: guix/scripts/substitute.scm:368 +#: guix/scripts/substitute.scm:369 #, scheme-format msgid "hash mismatch for '~a'~%" msgstr "l'empreinte ne correspond pas pour « ~a »~%" -#: guix/scripts/substitute.scm:370 +#: guix/scripts/substitute.scm:371 #, scheme-format msgid "'~a' is signed with an unauthorized key~%" msgstr "« ~a » est signé avec une clé non autorisée~%" -#: guix/scripts/substitute.scm:372 +#: guix/scripts/substitute.scm:373 #, scheme-format msgid "signature on '~a' is corrupt~%" msgstr "la signature de « ~a » est corrompue~%" -#: guix/scripts/substitute.scm:457 +#: guix/scripts/substitute.scm:458 #, scheme-format msgid "'~a' does not name a store item~%" msgstr "« ~a » ne nomme pas un élément du stockage~%" -#: guix/scripts/substitute.scm:619 +#: guix/scripts/substitute.scm:620 #, scheme-format msgid "updating substitutes from '~a'... ~5,1f%" msgstr "mise à jour des substituts depuis « ~a »... ~5,1f%" -#: guix/scripts/substitute.scm:683 +#: guix/scripts/substitute.scm:684 #, scheme-format msgid "~s: unsupported server URI scheme~%" msgstr "~s : schéma de URI serveur non supporté~%" -#: guix/scripts/substitute.scm:693 +#: guix/scripts/substitute.scm:694 #, scheme-format msgid "'~a' uses different store '~a'; ignoring it~%" msgstr "« ~a » utilise un stockage « ~a » différent. Il est ignoré~%" -#: guix/scripts/substitute.scm:853 +#: guix/scripts/substitute.scm:863 #, scheme-format msgid "host name lookup error: ~a~%" msgstr "erreur lors de la consultation du nom d'hôte : ~a~%" -#: guix/scripts/substitute.scm:858 +#: guix/scripts/substitute.scm:868 #, scheme-format msgid "TLS error in procedure '~a': ~a~%" msgstr "Erreur TLS dans la procédure « ~a » : ~a~%" -#: guix/scripts/substitute.scm:869 +#: guix/scripts/substitute.scm:879 msgid "" "Usage: guix substitute [OPTION]...\n" "Internal tool to substitute a pre-built binary to a local build.\n" @@ -1529,7 +1594,7 @@ msgstr "" "Usage : guix substitute [OPTION]...\n" "Outil interne pour substituer un binaire pré-compilé à une compilation locale.\n" -#: guix/scripts/substitute.scm:871 +#: guix/scripts/substitute.scm:881 msgid "" "\n" " --query report on the availability of substitutes for the\n" @@ -1540,7 +1605,7 @@ msgstr "" " noms de fichiers de dépôt passés sur l'entrée\n" " standard" -#: guix/scripts/substitute.scm:874 +#: guix/scripts/substitute.scm:884 msgid "" "\n" " --substitute STORE-FILE DESTINATION\n" @@ -1552,26 +1617,26 @@ msgstr "" " télécharger FICHIER-DÉPÔT et l'enregistrer comme un Nar\n" " dans le fichier DESTINATION" -#: guix/scripts/substitute.scm:939 +#: guix/scripts/substitute.scm:949 #, scheme-format msgid "no valid substitute for '~a'~%" msgstr "pas de substitut valide pour « ~a »~%" -#: guix/scripts/substitute.scm:946 +#: guix/scripts/substitute.scm:957 #, scheme-format msgid "Downloading ~a...~%" msgstr "Téléchargement de « ~a »...~%" -#: guix/scripts/substitute.scm:1002 +#: guix/scripts/substitute.scm:1019 msgid "ACL for archive imports seems to be uninitialized, substitutes may be unavailable\n" msgstr "L'ACL pour l'import d'archives ne semble pas initialisée ; les substituts pourraient être indisponibles\n" -#: guix/scripts/substitute.scm:1056 +#: guix/scripts/substitute.scm:1073 #, scheme-format msgid "~a: invalid URI~%" msgstr "~a : URI invalide~%" -#: guix/scripts/substitute.scm:1116 +#: guix/scripts/substitute.scm:1144 #, scheme-format msgid "~a: unrecognized options~%" msgstr "~a : options non reconnues~%" @@ -1610,111 +1675,120 @@ msgstr "" msgid "wrong arguments" msgstr "mauvais arguments" -#: guix/scripts/system.scm:143 +#: guix/scripts/system.scm:148 #, scheme-format msgid "failed to register '~a' under '~a'~%" msgstr "impossible d'enregistrer « ~a » sous « ~a »~%" -#: guix/scripts/system.scm:154 +#: guix/scripts/system.scm:163 #, scheme-format msgid "copying to '~a'..." msgstr "copie vers « ~a »..." -#: guix/scripts/system.scm:189 +#: guix/scripts/system.scm:204 #, scheme-format msgid "failed to install bootloader ~a~%" msgstr "impossible d'installer le chargeur de démarrage : ~a~%" -#: guix/scripts/system.scm:209 +#: guix/scripts/system.scm:224 #, scheme-format msgid "initializing the current root file system~%" msgstr "initialisation du système de fichier racine courant~%" -#: guix/scripts/system.scm:223 +#: guix/scripts/system.scm:238 #, scheme-format msgid "not running as 'root', so the ownership of '~a' may be incorrect!~%" msgstr "n'est pas exécuté en tant que « root » donc le propriétaire de « ~a » pourrait être incorrect !~%" -#: guix/scripts/system.scm:268 +#: guix/scripts/system.scm:290 #, scheme-format msgid "while talking to shepherd: ~a~%" msgstr "en parlant au shepherd : ~a~%" -#: guix/scripts/system.scm:275 +#: guix/scripts/system.scm:297 #, scheme-format msgid "service '~a' could not be found~%" msgstr "service: « ~a » introuvable~%" -#: guix/scripts/system.scm:278 +#: guix/scripts/system.scm:300 #, scheme-format msgid "service '~a' does not have an action '~a'~%" msgstr "le service « ~a » n'a pas d'action « ~a »~%" -#: guix/scripts/system.scm:282 +#: guix/scripts/system.scm:304 #, scheme-format msgid "exception caught while executing '~a' on service '~a':~%" msgstr "exception interceptée pendant l'exécution de « ~a » sur le service « ~a »:~%" -#: guix/scripts/system.scm:290 +#: guix/scripts/system.scm:312 #, scheme-format msgid "something went wrong: ~s~%" msgstr "quelque chose s'est mal passé : ~s~%" -#: guix/scripts/system.scm:293 +#: guix/scripts/system.scm:315 #, scheme-format msgid "shepherd error~%" msgstr "erreur du shepherd~%" -#: guix/scripts/system.scm:310 +#: guix/scripts/system.scm:332 #, scheme-format msgid "failed to obtain list of shepherd services~%" msgstr "erreur en essayant d'obtenir la liste des services du shepherd~%" -#: guix/scripts/system.scm:330 +#: guix/scripts/system.scm:352 #, scheme-format msgid "unloading service '~a'...~%" msgstr "déchargement du service « ~a »...~%" -#: guix/scripts/system.scm:338 +#: guix/scripts/system.scm:361 #, scheme-format msgid "loading new services:~{ ~a~}...~%" msgstr "chargement des nouveaux services :~{ ~a~}...~%" -#: guix/scripts/system.scm:364 +#: guix/scripts/system.scm:366 +msgid "" +"To complete the upgrade, run 'herd restart SERVICE' to stop,\n" +"upgrade, and restart each service that was not automatically restarted.\n" +msgstr "" +"Pour compléter la mise à jour, lancez « herd restart SERVICE » pour arrêter,\n" +"mettre à jour et redémarrer tous les services qui n'ont pas été redémarrés\n" +"automatiquement.\n" + +#: guix/scripts/system.scm:393 #, scheme-format msgid "activating system...~%" msgstr "activation du système...~%" -#: guix/scripts/system.scm:442 +#: guix/scripts/system.scm:471 #, scheme-format msgid "cannot switch to system generation '~a'~%" msgstr "impossible de passer à la génération « ~a » du système~%" -#: guix/scripts/system.scm:513 +#: guix/scripts/system.scm:542 msgid "the DAG of services" msgstr "le graphe orienté acyclique (DAG) des services" -#: guix/scripts/system.scm:526 +#: guix/scripts/system.scm:555 msgid "the dependency graph of shepherd services" msgstr "le graphique des dépendances des services du shepherd" -#: guix/scripts/system.scm:550 +#: guix/scripts/system.scm:579 #, scheme-format msgid " file name: ~a~%" msgstr " nom de fichier: ~a~%" -#: guix/scripts/system.scm:551 +#: guix/scripts/system.scm:580 #, scheme-format msgid " canonical file name: ~a~%" msgstr " nom de fichier canonique : ~a~%" #. TRANSLATORS: Please preserve the two-space indentation. -#: guix/scripts/system.scm:553 +#: guix/scripts/system.scm:582 #, scheme-format msgid " label: ~a~%" msgstr " étiquette : ~a~%" -#: guix/scripts/system.scm:554 +#: guix/scripts/system.scm:583 #, scheme-format msgid " bootloader: ~a~%" msgstr " chargeur de démarrage : ~a~%" @@ -1727,22 +1801,22 @@ msgstr " chargeur de démarrage : ~a~%" #. root device: label: "my-root" #. or just: #. root device: /dev/sda3 -#: guix/scripts/system.scm:564 +#: guix/scripts/system.scm:593 #, scheme-format msgid " root device: ~[UUID: ~a~;label: ~s~;~a~]~%" msgstr " périphérique racine : ~[UUID : ~a~;étiquette : ~s~;~a~]~%" -#: guix/scripts/system.scm:575 +#: guix/scripts/system.scm:604 #, scheme-format msgid " kernel: ~a~%" msgstr " noyau : ~a~%" -#: guix/scripts/system.scm:646 +#: guix/scripts/system.scm:675 #, scheme-format msgid "~a: error: device '~a' not found: ~a~%" msgstr "~a : erreur : périphérique « ~a » non trouvé : ~a~%" -#: guix/scripts/system.scm:650 +#: guix/scripts/system.scm:679 #, scheme-format msgid "" "If '~a' is a file system\n" @@ -1751,37 +1825,37 @@ msgstr "" "Si « ~a » est une étiquette de système de fichiers, écrivez\n" "@code{(file-system-label ~s)} dans votre champ @code{device}." -#: guix/scripts/system.scm:658 +#: guix/scripts/system.scm:687 #, scheme-format msgid "~a: error: file system with label '~a' not found~%" msgstr "~a : erreur : le système de fichier étiqueté « ~a » est introuvable~%" -#: guix/scripts/system.scm:663 +#: guix/scripts/system.scm:692 #, scheme-format msgid "~a: error: file system with UUID '~a' not found~%" msgstr "~a : erreur : le système de fichier avec l'UUID « ~a » est introuvable~%" -#: guix/scripts/system.scm:764 +#: guix/scripts/system.scm:793 #, scheme-format msgid "~a not found: 'guix pull' was never run~%" msgstr "~a pas trouvé : « guix pull » n'a jamais été exécuté~%" -#: guix/scripts/system.scm:765 +#: guix/scripts/system.scm:794 #, scheme-format msgid "Consider running 'guix pull' before 'reconfigure'.~%" msgstr "Envisagez d'exécuter « guix pull » avant « reconfigure ».~%" -#: guix/scripts/system.scm:766 +#: guix/scripts/system.scm:795 #, scheme-format msgid "Failing to do that may downgrade your system!~%" msgstr "Si vous ne le faites pas, votre système pourrait être amené à une version inférieure !~%" -#: guix/scripts/system.scm:883 +#: guix/scripts/system.scm:907 #, scheme-format msgid "initializing operating system under '~a'...~%" msgstr "initialisation du système d'exploitation sous « ~a »...~%" -#: guix/scripts/system.scm:928 +#: guix/scripts/system.scm:952 msgid "" "Usage: guix system [OPTION ...] ACTION [ARG ...] [FILE]\n" "Build the operating system declared in FILE according to ACTION.\n" @@ -1791,67 +1865,67 @@ msgstr "" "Compiler le système d'exploitation déclaré dans FICHER en suivant ACTION.\n" "Certaines ACTIONS supportent des ARGUMENTS supplémentaires.\n" -#: guix/scripts/system.scm:932 guix/scripts/container.scm:28 +#: guix/scripts/system.scm:956 guix/scripts/container.scm:29 msgid "The valid values for ACTION are:\n" msgstr "Les valeurs possibles pour ACTION sont :\n" -#: guix/scripts/system.scm:934 +#: guix/scripts/system.scm:958 msgid " search search for existing service types\n" msgstr " search chercher des types de services existants\n" -#: guix/scripts/system.scm:936 +#: guix/scripts/system.scm:960 msgid " reconfigure switch to a new operating system configuration\n" msgstr " reconfigure basculer vers une nouvelle configuration du système d'exploitation\n" -#: guix/scripts/system.scm:938 +#: guix/scripts/system.scm:962 msgid " roll-back switch to the previous operating system configuration\n" msgstr " roll-back basculer vers la configuration du système d'exploitation précédente\n" -#: guix/scripts/system.scm:940 +#: guix/scripts/system.scm:964 msgid " switch-generation switch to an existing operating system configuration\n" msgstr " switch-generation basculer vers une configuration du système d'exploitation existante\n" -#: guix/scripts/system.scm:942 +#: guix/scripts/system.scm:966 msgid " list-generations list the system generations\n" msgstr " list-generations lister les générations du système\n" -#: guix/scripts/system.scm:944 +#: guix/scripts/system.scm:968 msgid " build build the operating system without installing anything\n" msgstr " build compiler le système d'exploitation sans rien installer\n" -#: guix/scripts/system.scm:946 +#: guix/scripts/system.scm:970 msgid " container build a container that shares the host's store\n" msgstr " container compiler un conteneur qui partage le dépôt de l'hôte\n" -#: guix/scripts/system.scm:948 +#: guix/scripts/system.scm:972 msgid " vm build a virtual machine image that shares the host's store\n" msgstr " vm compiler une machine virtuelle partageant le dépôt de l'hôte\n" -#: guix/scripts/system.scm:950 +#: guix/scripts/system.scm:974 msgid " vm-image build a freestanding virtual machine image\n" msgstr " vm-image compiler une image autonome de machine virtuelle\n" -#: guix/scripts/system.scm:952 +#: guix/scripts/system.scm:976 msgid " disk-image build a disk image, suitable for a USB stick\n" msgstr " disk-image compiler une image disque adaptée pour une clé USB\n" -#: guix/scripts/system.scm:954 +#: guix/scripts/system.scm:978 msgid " docker-image build a Docker image\n" msgstr " docker-image compiler une image Docker\n" -#: guix/scripts/system.scm:956 +#: guix/scripts/system.scm:980 msgid " init initialize a root file system to run GNU\n" msgstr " init initialiser un système de fichier racine pour lancer GNU.\n" -#: guix/scripts/system.scm:958 +#: guix/scripts/system.scm:982 msgid " extension-graph emit the service extension graph in Dot format\n" msgstr " extension-graph produire le graphique des extensions de service au format Dot\n" -#: guix/scripts/system.scm:960 +#: guix/scripts/system.scm:984 msgid " shepherd-graph emit the graph of shepherd services in Dot format\n" msgstr " shepherd-graph produire le graphique des services du shepherd au format Dot\n" -#: guix/scripts/system.scm:964 +#: guix/scripts/system.scm:988 msgid "" "\n" " -d, --derivation return the derivation of the given system" @@ -1859,7 +1933,7 @@ msgstr "" "\n" " -d, --derivation retourner les dérivations pour le système donné" -#: guix/scripts/system.scm:966 +#: guix/scripts/system.scm:990 msgid "" "\n" " -e, --expression=EXPR consider the operating-system EXPR evaluates to\n" @@ -1869,7 +1943,7 @@ msgstr "" " -e, --expression=EXPR considère le paquet évalué par EXPR\n" " au lieu de lire FICHIER, lorsque c'est possible" -#: guix/scripts/system.scm:969 +#: guix/scripts/system.scm:993 msgid "" "\n" " --on-error=STRATEGY\n" @@ -1879,7 +1953,7 @@ msgstr "" " --on-error=STRATÉGIE\n" " appliquer la STRATÉGIE quand une erreur survient en lisant le FICHIER" -#: guix/scripts/system.scm:972 +#: guix/scripts/system.scm:996 msgid "" "\n" " --file-system-type=TYPE\n" @@ -1891,7 +1965,7 @@ msgstr "" " avec « disk-image », produit un système de fichiers racine de TYPE\n" " (parmis « ext4» et « iso9660 »)" -#: guix/scripts/system.scm:976 +#: guix/scripts/system.scm:1000 msgid "" "\n" " --image-size=SIZE for 'vm-image', produce an image of SIZE" @@ -1900,7 +1974,7 @@ msgstr "" " --image-size=TAILLE\n" " pour « vm-image », produire une image de TAILLE" -#: guix/scripts/system.scm:978 +#: guix/scripts/system.scm:1002 msgid "" "\n" " --no-bootloader for 'init', do not install a bootloader" @@ -1908,7 +1982,7 @@ msgstr "" "\n" " --no-bootloader pour « init », ne pas installer un chargeur de démarrage" -#: guix/scripts/system.scm:980 +#: guix/scripts/system.scm:1004 msgid "" "\n" " --share=SPEC for 'vm', share host file system according to SPEC" @@ -1917,7 +1991,7 @@ msgstr "" " --share=SPEC pour « vm », partager le système de fichiers hôte selon\n" " SPEC" -#: guix/scripts/system.scm:982 +#: guix/scripts/system.scm:1006 msgid "" "\n" " -r, --root=FILE for 'vm', 'vm-image', 'disk-image', 'container',\n" @@ -1930,7 +2004,7 @@ msgstr "" " sur le résultat et l'enregistrer en tant que racine du\n" " ramasse-miettes" -#: guix/scripts/system.scm:986 +#: guix/scripts/system.scm:1010 msgid "" "\n" " --expose=SPEC for 'vm', expose host file system according to SPEC" @@ -1939,7 +2013,7 @@ msgstr "" " --expose=SPEC pour « vm », exposer le système de fichiers hôte selon\n" " SPEC" -#: guix/scripts/system.scm:988 +#: guix/scripts/system.scm:1012 msgid "" "\n" " --full-boot for 'vm', make a full boot sequence" @@ -1947,7 +2021,7 @@ msgstr "" "\n" " --full-boot pour « vm », accomplir une séquence complète de démarrage" -#: guix/scripts/system.scm:990 +#: guix/scripts/system.scm:1014 msgid "" "\n" " --skip-checks skip file system and initrd module safety checks" @@ -1956,54 +2030,54 @@ msgstr "" " --skip-checks ignorer les tests de sécurité des systèmes de fichiers et\n" " des modules de l'initrd" -#: guix/scripts/system.scm:1089 +#: guix/scripts/system.scm:1116 #, scheme-format msgid "both file and expression cannot be specified~%" msgstr "on ne peut pas spécifier à la fois un fichier et une expression~%" -#: guix/scripts/system.scm:1096 +#: guix/scripts/system.scm:1123 #, scheme-format msgid "no configuration specified~%" msgstr "aucune configuration spécifiée~%" -#: guix/scripts/system.scm:1196 +#: guix/scripts/system.scm:1224 #, scheme-format msgid "~a: unknown action~%" msgstr "~a : action inconnue~%" -#: guix/scripts/system.scm:1212 +#: guix/scripts/system.scm:1240 #, scheme-format msgid "wrong number of arguments for action '~a'~%" msgstr "nombre d'arguments incorrect pour l'action « ~a »~%" -#: guix/scripts/system.scm:1217 +#: guix/scripts/system.scm:1245 #, scheme-format msgid "guix system: missing command name~%" msgstr "guix system : nom de commande manquant~%" -#: guix/scripts/system.scm:1219 +#: guix/scripts/system.scm:1247 #, scheme-format msgid "Try 'guix system --help' for more information.~%" msgstr "Essayez « guix system --help » pour plus d'informations.~%" -#: guix/scripts/system/search.scm:88 guix/ui.scm:1162 guix/ui.scm:1176 +#: guix/scripts/system/search.scm:88 guix/ui.scm:1205 guix/ui.scm:1219 msgid "unknown" msgstr "inconnu" -#: guix/scripts/lint.scm:139 +#: guix/scripts/lint.scm:140 #, scheme-format msgid "Available checkers:~%" msgstr "Vérificateurs disponibles :~%" -#: guix/scripts/lint.scm:163 +#: guix/scripts/lint.scm:164 msgid "description should not be empty" msgstr "la description ne devrait pas être vide" -#: guix/scripts/lint.scm:173 +#: guix/scripts/lint.scm:174 msgid "Texinfo markup in description is invalid" msgstr "Des balises Texinfo dans la description sont invalides" -#: guix/scripts/lint.scm:183 +#: guix/scripts/lint.scm:184 #, scheme-format msgid "" "description should not contain ~\n" @@ -2014,15 +2088,15 @@ msgstr "" #. TRANSLATORS: '@code' is Texinfo markup and must be kept #. as is. -#: guix/scripts/lint.scm:196 +#: guix/scripts/lint.scm:197 msgid "use @code or similar ornament instead of quotes" msgstr "utiliser @code ou une décoration similaire au lieu des guillemets" -#: guix/scripts/lint.scm:203 +#: guix/scripts/lint.scm:204 msgid "description should start with an upper-case letter or digit" msgstr "la description devrait commencer par une majuscule ou un chiffre" -#: guix/scripts/lint.scm:219 +#: guix/scripts/lint.scm:220 #, scheme-format msgid "" "sentences in description should be followed ~\n" @@ -2031,261 +2105,261 @@ msgstr "" "les phrases dans la description devraient être suivies ~\n" "par deux espaces. Infraction probable~p à ~{~a~^, ~}" -#: guix/scripts/lint.scm:237 +#: guix/scripts/lint.scm:238 #, scheme-format msgid "invalid description: ~s" msgstr "description invalide : ~s" -#: guix/scripts/lint.scm:282 +#: guix/scripts/lint.scm:283 #, scheme-format msgid "'~a' should probably be a native input" msgstr "« ~a » devrait sans doute être une entrée native" -#: guix/scripts/lint.scm:298 +#: guix/scripts/lint.scm:299 #, scheme-format msgid "'~a' should probably not be an input at all" msgstr "« ~a » ne devrait probablement pas être une entrée du tout" -#: guix/scripts/lint.scm:315 +#: guix/scripts/lint.scm:316 msgid "synopsis should not be empty" msgstr "le synopsis ne devrait pas être vide" -#: guix/scripts/lint.scm:323 +#: guix/scripts/lint.scm:324 msgid "no period allowed at the end of the synopsis" msgstr "un point n'est pas autorisé à la fin du synopsis" -#: guix/scripts/lint.scm:335 +#: guix/scripts/lint.scm:336 msgid "no article allowed at the beginning of the synopsis" msgstr "les articles ne sont pas permis au début du synopsis" -#: guix/scripts/lint.scm:342 +#: guix/scripts/lint.scm:343 msgid "synopsis should be less than 80 characters long" msgstr "le synopsis devrait être plus court que 80 caractères" -#: guix/scripts/lint.scm:348 +#: guix/scripts/lint.scm:349 msgid "synopsis should start with an upper-case letter or digit" msgstr "le synopsis devrait commencer par une majuscule ou un chiffre" -#: guix/scripts/lint.scm:355 +#: guix/scripts/lint.scm:356 msgid "synopsis should not start with the package name" msgstr "le synopsis ne devrait pas commencer par un nom de paquet" -#: guix/scripts/lint.scm:365 +#: guix/scripts/lint.scm:366 msgid "Texinfo markup in synopsis is invalid" msgstr "La balise Texinfo dans le synopsis est invalide" -#: guix/scripts/lint.scm:384 +#: guix/scripts/lint.scm:385 #, scheme-format msgid "invalid synopsis: ~s" msgstr "synopsis non valide : ~s" -#: guix/scripts/lint.scm:503 +#: guix/scripts/lint.scm:504 #, scheme-format msgid "URI ~a returned suspiciously small file (~a bytes)" msgstr "L'URI ~a a renvoyé un fichier étrangement petit (~a octets)" -#: guix/scripts/lint.scm:513 +#: guix/scripts/lint.scm:514 #, scheme-format msgid "permanent redirect from ~a to ~a" msgstr "redirection permanente de ~a vers ~a" -#: guix/scripts/lint.scm:520 +#: guix/scripts/lint.scm:521 #, scheme-format msgid "invalid permanent redirect from ~a" msgstr "redirection permanente invalide : ~a" -#: guix/scripts/lint.scm:527 guix/scripts/lint.scm:539 +#: guix/scripts/lint.scm:528 guix/scripts/lint.scm:540 #, scheme-format msgid "URI ~a not reachable: ~a (~s)" msgstr "L'URI ~a n'a pu être atteinte : ~a (~s)" -#: guix/scripts/lint.scm:546 +#: guix/scripts/lint.scm:547 #, scheme-format msgid "URI ~a domain not found: ~a" msgstr "Le domaine de l'URI ~a n'a pas été trouvé : ~a" -#: guix/scripts/lint.scm:554 +#: guix/scripts/lint.scm:555 #, scheme-format msgid "URI ~a unreachable: ~a" msgstr "L'URI ~a n'a pu être atteinte : ~a" -#: guix/scripts/lint.scm:563 +#: guix/scripts/lint.scm:564 #, scheme-format msgid "TLS certificate error: ~a" msgstr "Erreur de certificat TLS : ~a" -#: guix/scripts/lint.scm:584 +#: guix/scripts/lint.scm:585 msgid "invalid value for home page" msgstr "valeur invalide pour la page d'accueil" -#: guix/scripts/lint.scm:587 +#: guix/scripts/lint.scm:588 #, scheme-format msgid "invalid home page URL: ~s" msgstr "URL de la page d'accueil invalide : ~s" -#: guix/scripts/lint.scm:613 +#: guix/scripts/lint.scm:614 msgid "file names of patches should start with the package name" msgstr "les noms de fichiers des correctifs devraient commencer par le nom du paquet" -#: guix/scripts/lint.scm:629 +#: guix/scripts/lint.scm:630 #, scheme-format msgid "~a: file name is too long" msgstr "~a : le nom de fichier est trop long" -#: guix/scripts/lint.scm:670 +#: guix/scripts/lint.scm:671 #, scheme-format msgid "~a: ~a: proposed synopsis: ~s~%" msgstr "~a : ~a : synopsis proposé : ~s~%" -#: guix/scripts/lint.scm:683 +#: guix/scripts/lint.scm:684 #, scheme-format msgid "~a: ~a: proposed description:~% \"~a\"~%" msgstr "~a : ~a : description proposée :~% « ~a »~%" -#: guix/scripts/lint.scm:725 +#: guix/scripts/lint.scm:726 msgid "all the source URIs are unreachable:" msgstr "toutes les URI sources sont inatteignables :" -#: guix/scripts/lint.scm:747 +#: guix/scripts/lint.scm:748 msgid "the source file name should contain the package name" msgstr "le nom du fichier source devrait contenir le nom du paquet" -#: guix/scripts/lint.scm:763 +#: guix/scripts/lint.scm:764 #, scheme-format msgid "URL should be 'mirror://~a/~a'" msgstr "L'URL devrait être « mirror://~a/~a »" -#: guix/scripts/lint.scm:781 guix/scripts/lint.scm:785 +#: guix/scripts/lint.scm:783 guix/scripts/lint.scm:788 #, scheme-format -msgid "failed to create derivation: ~a" -msgstr "échec à la création de la dérivation : ~a" +msgid "failed to create ~a derivation: ~a" +msgstr "échec à la création de la dérivation pour ~a : ~a" -#: guix/scripts/lint.scm:799 +#: guix/scripts/lint.scm:805 #, scheme-format -msgid "failed to create derivation: ~s~%" -msgstr "échec à la création de la dérivation : ~s~%" +msgid "failed to create ~a derivation: ~s" +msgstr "échec à la création de la dérivation pour ~a : ~s" -#: guix/scripts/lint.scm:809 +#: guix/scripts/lint.scm:817 msgid "invalid license field" msgstr "champ de licence invalide" -#: guix/scripts/lint.scm:816 +#: guix/scripts/lint.scm:824 #, scheme-format msgid "~a: HTTP GET error for ~a: ~a (~s)~%" msgstr "~a : erreur HTTP GET pour ~a : ~a (~s)~%" -#: guix/scripts/lint.scm:826 +#: guix/scripts/lint.scm:834 #, scheme-format msgid "~a: host lookup failure: ~a~%" msgstr "~a : erreur lors de la consultation du nom d'hôte : ~a~%" -#: guix/scripts/lint.scm:831 +#: guix/scripts/lint.scm:839 #, scheme-format msgid "~a: TLS certificate error: ~a" msgstr "~a : erreur de certificat TLS : ~a" -#: guix/scripts/lint.scm:846 +#: guix/scripts/lint.scm:854 msgid "while retrieving CVE vulnerabilities" msgstr "pendant la récupération des vulnérabilités CVE" -#: guix/scripts/lint.scm:883 +#: guix/scripts/lint.scm:891 #, scheme-format msgid "probably vulnerable to ~a" msgstr "probablement vulnérable à ~a" -#: guix/scripts/lint.scm:890 +#: guix/scripts/lint.scm:898 #, scheme-format msgid "while retrieving upstream info for '~a'" msgstr "pendant la récupération des informations en amont de « ~a »" -#: guix/scripts/lint.scm:898 +#: guix/scripts/lint.scm:906 #, scheme-format msgid "can be upgraded to ~a" msgstr "peut être mis à jour vers ~a" -#: guix/scripts/lint.scm:913 +#: guix/scripts/lint.scm:921 #, scheme-format msgid "tabulation on line ~a, column ~a" msgstr "tabulation à la ligne ~a, colonne ~a" -#: guix/scripts/lint.scm:922 +#: guix/scripts/lint.scm:930 #, scheme-format msgid "trailing white space on line ~a" msgstr "espace à la fin de la ligne ~a" -#: guix/scripts/lint.scm:932 +#: guix/scripts/lint.scm:940 #, scheme-format msgid "line ~a is way too long (~a characters)" msgstr "la ligne ~a est beaucoup trop longue (~a caractères)" -#: guix/scripts/lint.scm:943 +#: guix/scripts/lint.scm:951 #, scheme-format msgid "line ~a: parentheses feel lonely, move to the previous or next line" msgstr "ligne ~a : des parenthèses se sentent seules. À déplacer à la ligne suivante ou précédente" -#: guix/scripts/lint.scm:1013 +#: guix/scripts/lint.scm:1021 msgid "Validate package descriptions" msgstr "Valider des descriptions de paquets" -#: guix/scripts/lint.scm:1017 +#: guix/scripts/lint.scm:1025 msgid "Validate synopsis & description of GNU packages" msgstr "Valider le synopsis et la description de paquets GNU" -#: guix/scripts/lint.scm:1021 +#: guix/scripts/lint.scm:1029 msgid "Identify inputs that should be native inputs" msgstr "Identifier les entrées qui devraient être natives" -#: guix/scripts/lint.scm:1025 +#: guix/scripts/lint.scm:1033 msgid "Identify inputs that shouldn't be inputs at all" msgstr "Identifier les entrées qui ne devraient pas être des entrées du tout" -#: guix/scripts/lint.scm:1029 +#: guix/scripts/lint.scm:1037 msgid "Validate file names and availability of patches" msgstr "Valider les noms de fichiers et la disponibilité de correctifs" -#: guix/scripts/lint.scm:1033 +#: guix/scripts/lint.scm:1041 msgid "Validate home-page URLs" msgstr "Valider les URL des pages d'accueil" #. TRANSLATORS: is the name of a data type and must not be #. translated. -#: guix/scripts/lint.scm:1039 +#: guix/scripts/lint.scm:1047 msgid "Make sure the 'license' field is a or a list thereof" msgstr "Assurez vous que le champ « licence » est une ou une telle liste" -#: guix/scripts/lint.scm:1044 +#: guix/scripts/lint.scm:1052 msgid "Validate source URLs" msgstr "Valider les URL sources" -#: guix/scripts/lint.scm:1048 +#: guix/scripts/lint.scm:1056 msgid "Suggest 'mirror://' URLs" msgstr "Suggérer les URL « mirror:// »" -#: guix/scripts/lint.scm:1052 +#: guix/scripts/lint.scm:1060 msgid "Validate file names of sources" msgstr "Valider les noms des fichiers des sources" -#: guix/scripts/lint.scm:1056 +#: guix/scripts/lint.scm:1064 msgid "Report failure to compile a package to a derivation" msgstr "Signaler l'échec de la compilation d'un paquet d'une dérivation" -#: guix/scripts/lint.scm:1060 +#: guix/scripts/lint.scm:1068 msgid "Validate package synopses" msgstr "Valider les synopsis des paquets" -#: guix/scripts/lint.scm:1064 +#: guix/scripts/lint.scm:1072 msgid "Check the Common Vulnerabilities and Exposures (CVE) database" msgstr "Vérifier la base de données des vulnérabilités et failles connues (CVE)" -#: guix/scripts/lint.scm:1069 +#: guix/scripts/lint.scm:1077 msgid "Check the package for new upstream releases" msgstr "Vérifier s'il y a une nouvelle version en amont pour le paquet" -#: guix/scripts/lint.scm:1073 +#: guix/scripts/lint.scm:1081 msgid "Look for formatting issues in the source" msgstr "Rechercher des problèmes de format dans la source" -#: guix/scripts/lint.scm:1101 +#: guix/scripts/lint.scm:1109 msgid "" "Usage: guix lint [OPTION]... [PACKAGE]...\n" "Run a set of checkers on the specified package; if none is specified,\n" @@ -2295,7 +2369,7 @@ msgstr "" "Lancer un ensemble de vérificateurs sur le paquet spécifié ; si aucun n'est spécifié,\n" "lancer les vérificateurs sur tous les paquets.\n" -#: guix/scripts/lint.scm:1104 +#: guix/scripts/lint.scm:1112 msgid "" "\n" " -c, --checkers=CHECKER1,CHECKER2...\n" @@ -2305,7 +2379,7 @@ msgstr "" " -c, --checkers=CHECKER1,CHECKER2...\n" " lancer uniquement les vérificateurs spécifiés" -#: guix/scripts/lint.scm:1109 +#: guix/scripts/lint.scm:1117 msgid "" "\n" " -l, --list-checkers display the list of available lint checkers" @@ -2313,7 +2387,7 @@ msgstr "" "\n" " -l, --list-checkers afficher la liste des vérificateurs disponibles" -#: guix/scripts/lint.scm:1129 +#: guix/scripts/lint.scm:1137 #, scheme-format msgid "~a: invalid checker~%" msgstr "~a : vérificateur non valide~%" @@ -2480,24 +2554,24 @@ msgstr "l'emplacement source du paquet « ~a » est inconnue~%" msgid "failed to launch '~a': ~a~%" msgstr "impossible de démarrer « ~a » : ~a~%" -#: guix/scripts/size.scm:77 +#: guix/scripts/size.scm:68 #, scheme-format msgid "no available substitute information for '~a'~%" msgstr "pas d'information de substitution disponible pour « ~a »~%" -#: guix/scripts/size.scm:99 +#: guix/scripts/size.scm:90 msgid "store item" msgstr "élément stockage" -#: guix/scripts/size.scm:99 +#: guix/scripts/size.scm:90 msgid "total" msgstr "total" -#: guix/scripts/size.scm:99 +#: guix/scripts/size.scm:90 msgid "self" msgstr "lui-même" -#: guix/scripts/size.scm:107 +#: guix/scripts/size.scm:98 #, scheme-format msgid "total: ~,1f MiB~%" msgstr "total : ~,1f MiB~%" @@ -2505,11 +2579,11 @@ msgstr "total : ~,1f MiB~%" #. TRANSLATORS: This is the title of a graph, meaning that the graph #. represents a profile of the store (the "store" being the place where #. packages are stored.) -#: guix/scripts/size.scm:221 +#: guix/scripts/size.scm:212 msgid "store profile" msgstr "profil du dépôt" -#: guix/scripts/size.scm:230 +#: guix/scripts/size.scm:221 msgid "" "Usage: guix size [OPTION]... PACKAGE\n" "Report the size of PACKAGE and its dependencies.\n" @@ -2517,7 +2591,7 @@ msgstr "" "Usage : guix size [OPTION]... PAQUET\n" "Rapporter la taille du PAQUET et de ses dépendances.\n" -#: guix/scripts/size.scm:235 +#: guix/scripts/size.scm:226 msgid "" "\n" " -s, --system=SYSTEM consider packages for SYSTEM--e.g., \"i686-linux\"" @@ -2526,7 +2600,7 @@ msgstr "" " -s, --system=SYSTÈME prend en compte les paquets pour le SYSTÈME, par exemple « i686-linux »" #. TRANSLATORS: "closure" and "self" must not be translated. -#: guix/scripts/size.scm:238 +#: guix/scripts/size.scm:229 msgid "" "\n" " --sort=KEY sort according to KEY--\"closure\" or \"self\"" @@ -2534,7 +2608,7 @@ msgstr "" "\n" " --sort=CLEF tri en fonction de la CLEF : « closure » ou « self »" -#: guix/scripts/size.scm:240 +#: guix/scripts/size.scm:231 msgid "" "\n" " -m, --map-file=FILE write to FILE a graphical map of disk usage" @@ -2542,12 +2616,12 @@ msgstr "" "\n" " -m, --map-file=FICHIER écrit dans le FICHIER une carte graphique de l'utilisation du disque" -#: guix/scripts/size.scm:271 +#: guix/scripts/size.scm:262 #, scheme-format msgid "~a: invalid sorting key~%" msgstr "~a : clef de tri invalide~%" -#: guix/scripts/size.scm:306 +#: guix/scripts/size.scm:297 msgid "missing store item argument\n" msgstr "argument d'élément de stockage manquant\n" @@ -2625,7 +2699,7 @@ msgstr "Les types de moteurs de graphes disponibles sont :\n" #. TRANSLATORS: Here 'dot' is the name of a program; it must not be #. translated. -#: guix/scripts/graph.scm:453 +#: guix/scripts/graph.scm:457 msgid "" "Usage: guix graph PACKAGE...\n" "Emit a representation of the dependency graph of PACKAGE...\n" @@ -2633,7 +2707,7 @@ msgstr "" "Usage : guix graph PAQUET...\n" "Produit une représentation du graphe des dépendances de PAQUET...\n" -#: guix/scripts/graph.scm:455 +#: guix/scripts/graph.scm:459 msgid "" "\n" " -b, --backend=TYPE produce a graph with the given backend TYPE" @@ -2641,7 +2715,7 @@ msgstr "" "\n" " -b, --backend=TYPE produire un graphe avec le TYPE de moteur donné" -#: guix/scripts/graph.scm:457 +#: guix/scripts/graph.scm:461 msgid "" "\n" " --list-backends list the available graph backends" @@ -2649,7 +2723,7 @@ msgstr "" "\n" " --list-backends lister les types de moteurs de graphes disponibles" -#: guix/scripts/graph.scm:459 +#: guix/scripts/graph.scm:463 msgid "" "\n" " -t, --type=TYPE represent nodes of the given TYPE" @@ -2657,7 +2731,7 @@ msgstr "" "\n" " -t, --type=TYPE représenter les nœuds du TYPE donné" -#: guix/scripts/graph.scm:461 +#: guix/scripts/graph.scm:465 msgid "" "\n" " --list-types list the available graph types" @@ -2665,7 +2739,7 @@ msgstr "" "\n" " --list-types lister les types de graphes disponibles" -#: guix/scripts/graph.scm:463 guix/scripts/pack.scm:644 +#: guix/scripts/graph.scm:467 guix/scripts/pack.scm:710 msgid "" "\n" " -e, --expression=EXPR consider the package EXPR evaluates to" @@ -2673,6 +2747,14 @@ msgstr "" "\n" " -e, --expression=EXPR considère le paquet évalué par EXPR" +#: guix/scripts/graph.scm:469 +msgid "" +"\n" +" -s, --system=SYSTEM consider the graph for SYSTEM--e.g., \"i686-linux\"" +msgstr "" +"\n" +" -s, --system=SYSTÈME considérer le graphe pour le SYSTÈME, par exemple « i686-linux »" + #: guix/scripts/challenge.scm:191 #, scheme-format msgid " local hash: ~a~%" @@ -2789,12 +2871,12 @@ msgstr "" msgid "use '--to' or '--from'~%" msgstr "utilisez « --to » ou « --from »~%" -#: guix/scripts/pack.scm:89 +#: guix/scripts/pack.scm:93 #, scheme-format msgid "~a: compressor not found~%" msgstr "~a : compresseur introuvable~%" -#: guix/scripts/pack.scm:467 +#: guix/scripts/pack.scm:504 #, scheme-format msgid "" "cross-compilation not implemented here;\n" @@ -2803,12 +2885,45 @@ msgstr "" "la compilation croisée n'est pas implémentée ici ;\n" "envoyez un courriel à « ~a »~%" +#: guix/scripts/pack.scm:615 +msgid "The supported formats for 'guix pack' are:" +msgstr "Les formats supportés par « guix pack » sont :" + +#: guix/scripts/pack.scm:617 +msgid "" +"\n" +" tarball Self-contained tarball, ready to run on another machine" +msgstr "" +"\n" +" tarball Archive auto-contenue, prête à être lancée sur d'autres machines" + +#: guix/scripts/pack.scm:619 +msgid "" +"\n" +" squashfs Squashfs image suitable for Singularity" +msgstr "" +"\n" +" squashfs Image Squashfs compatible avec Singularity" + #: guix/scripts/pack.scm:621 +msgid "" +"\n" +" docker Tarball ready for 'docker load'" +msgstr "" +"\n" +" docker Archive prête à être utilisée avec « docker load »" + +#: guix/scripts/pack.scm:678 #, scheme-format msgid "~a: invalid symlink specification~%" msgstr "~a : spécification de lien symbolique invalide~%" -#: guix/scripts/pack.scm:634 +#: guix/scripts/pack.scm:689 +#, scheme-format +msgid "~a: unsupported profile name~%" +msgstr "~a : nom de profil non supporté~%" + +#: guix/scripts/pack.scm:698 msgid "" "Usage: guix pack [OPTION]... PACKAGE...\n" "Create a bundle of PACKAGE.\n" @@ -2816,7 +2931,7 @@ msgstr "" "Utilisation : guix pack [OPTION]... PAQUET...\n" "Créer un lot applicatif de PAQUET.\n" -#: guix/scripts/pack.scm:640 +#: guix/scripts/pack.scm:704 msgid "" "\n" " -f, --format=FORMAT build a pack in the given FORMAT" @@ -2824,7 +2939,15 @@ msgstr "" "\n" " -f, --format=FORMAT créer un lot applicatif dans le FORMAT donné" -#: guix/scripts/pack.scm:642 +#: guix/scripts/pack.scm:706 +msgid "" +"\n" +" --list-formats list the formats available" +msgstr "" +"\n" +" --list-formats lister les formats disponibles" + +#: guix/scripts/pack.scm:708 msgid "" "\n" " -R, --relocatable produce relocatable executables" @@ -2832,7 +2955,7 @@ msgstr "" "\n" " -R, --relocatable produire des exécutables repositionnables" -#: guix/scripts/pack.scm:650 +#: guix/scripts/pack.scm:716 msgid "" "\n" " -C, --compression=TOOL compress using TOOL--e.g., \"lzip\"" @@ -2841,7 +2964,7 @@ msgstr "" " -C, --compression=OUTIL\n" " compresser en utilisant l'OUTIL, par ex, « lzip »" -#: guix/scripts/pack.scm:652 +#: guix/scripts/pack.scm:718 msgid "" "\n" " -S, --symlink=SPEC create symlinks to the profile according to SPEC" @@ -2849,7 +2972,7 @@ msgstr "" "\n" " -S, --symlink=SPEC créer des liens symboliques vers le profil selon la SPEC" -#: guix/scripts/pack.scm:654 +#: guix/scripts/pack.scm:720 msgid "" "\n" " -m, --manifest=FILE create a pack with the manifest from FILE" @@ -2857,7 +2980,7 @@ msgstr "" "\n" " -m, --manifest=FICHIER créer un lot avec le manifeste dans FICHIER" -#: guix/scripts/pack.scm:656 +#: guix/scripts/pack.scm:722 msgid "" "\n" " --localstatedir include /var/guix in the resulting pack" @@ -2865,7 +2988,16 @@ msgstr "" "\n" " --localstatedir inclure /var/guix dans le lot résultant" -#: guix/scripts/pack.scm:658 +#: guix/scripts/pack.scm:724 +msgid "" +"\n" +" --profile-name=NAME\n" +" populate /var/guix/profiles/.../NAME" +msgstr "" +"\n" +" --profile-name=NOM rempli /var/guix/profiles/.../NOM" + +#: guix/scripts/pack.scm:727 msgid "" "\n" " --bootstrap use the bootstrap binaries to build the pack" @@ -2873,91 +3005,91 @@ msgstr "" "\n" " --bootstrap utiliser les programmes d'amorçage pour compiler le lot" -#: guix/scripts/pack.scm:700 +#: guix/scripts/pack.scm:769 #, scheme-format msgid "both a manifest and a package list were given~%" msgstr "vous avez donné à la fois un manifeste et une liste de paquets~%" -#: guix/scripts/pack.scm:743 +#: guix/scripts/pack.scm:814 #, scheme-format -msgid "~a: unknown pack format" -msgstr "~a : format de paquet inconnu" +msgid "~a: unknown pack format~%" +msgstr "~a : format de lot inconnu~%" -#: guix/scripts/weather.scm:72 +#: guix/scripts/weather.scm:73 msgid "computing ~h package derivations for ~a...~%" msgstr "calcul de ~h dérivations de paquets pour ~a…~%" -#: guix/scripts/weather.scm:161 +#: guix/scripts/weather.scm:162 msgid "looking for ~h store items on ~a...~%" msgstr "recherche de ~h éléments du dépôt sur ~a...~%" -#: guix/scripts/weather.scm:173 +#: guix/scripts/weather.scm:174 msgid " ~2,1f% substitutes available (~h out of ~h)~%" msgstr " ~2,1f% substituts disponibles (~h sur ~h)~%" -#: guix/scripts/weather.scm:179 +#: guix/scripts/weather.scm:180 #, scheme-format msgid " unknown substitute sizes~%" msgstr " taille des substituts inconnue~%" -#: guix/scripts/weather.scm:182 +#: guix/scripts/weather.scm:183 msgid " ~,1h MiB of nars (compressed)~%" msgstr " ~,1h Mo de fichiers nar (compressés)~%" -#: guix/scripts/weather.scm:183 +#: guix/scripts/weather.scm:184 msgid " at least ~,1h MiB of nars (compressed)~%" msgstr " au moins ~,1h Mo de fichiers nar (compressés)~%" -#: guix/scripts/weather.scm:185 +#: guix/scripts/weather.scm:186 msgid " ~,1h MiB on disk (uncompressed)~%" msgstr " ~,1h Mo sur le disque (décompressé)~%" -#: guix/scripts/weather.scm:187 +#: guix/scripts/weather.scm:188 msgid " ~,3h seconds per request (~,1h seconds in total)~%" msgstr " ~,3h secondes par requête (~,1h secondesen tout)~%" -#: guix/scripts/weather.scm:189 +#: guix/scripts/weather.scm:190 msgid " ~,1h requests per second~%" msgstr " ~,1h requêtes par seconde~%" -#: guix/scripts/weather.scm:195 +#: guix/scripts/weather.scm:196 #, scheme-format msgid " (continuous integration information unavailable)~%" msgstr " (informations sur l’intégration continue indisponibles)~%" -#: guix/scripts/weather.scm:198 +#: guix/scripts/weather.scm:199 #, scheme-format msgid " '~a' returned ~a (~s)~%" msgstr " « ~a » a renvoyé ~a (~s)~%" -#: guix/scripts/weather.scm:215 +#: guix/scripts/weather.scm:216 msgid " ~,1f% (~h out of ~h) of the missing items are queued~%" msgstr " ~,1f% (~h sur ~h) des éléments manquants sont dans la queue~%" -#: guix/scripts/weather.scm:221 +#: guix/scripts/weather.scm:222 msgid " at least ~h queued builds~%" msgstr " au moins ~h constructions dans la queue~%" -#: guix/scripts/weather.scm:222 +#: guix/scripts/weather.scm:223 msgid " ~h queued builds~%" msgstr " ~h constructions dans la queue~%" -#: guix/scripts/weather.scm:225 +#: guix/scripts/weather.scm:226 #, scheme-format msgid " ~a: ~a (~0,1f%)~%" msgstr " ~a : ~a (~0,1f%)~%" -#: guix/scripts/weather.scm:231 +#: guix/scripts/weather.scm:232 #, scheme-format msgid " build rate: ~1,2f builds per hour~%" msgstr " vitesse de construction : ~1,2f constructions par l'heure~%" -#: guix/scripts/weather.scm:235 +#: guix/scripts/weather.scm:236 #, scheme-format msgid " ~a: ~,2f builds per hour~%" msgstr " ~a: ~,2f constructions par heure~%" -#: guix/scripts/weather.scm:247 +#: guix/scripts/weather.scm:248 msgid "" "Usage: guix weather [OPTIONS]\n" "Report the availability of substitutes.\n" @@ -2965,7 +3097,7 @@ msgstr "" "Usage : guix weather [OPTIONS]\n" "Rapporte la disponibilité des substituts.\n" -#: guix/scripts/weather.scm:249 +#: guix/scripts/weather.scm:250 msgid "" "\n" " --substitute-urls=URLS\n" @@ -2975,7 +3107,7 @@ msgstr "" " --substitute-urls=URLS\n" " vérifie la disponibilité des substituts aux URLS" -#: guix/scripts/weather.scm:252 +#: guix/scripts/weather.scm:253 msgid "" "\n" " -m, --manifest=MANIFEST\n" @@ -2985,7 +3117,7 @@ msgstr "" " -m, --manifest=MANIFESTE\n" " recherche les substituts des paquets du MANIFESTE" -#: guix/scripts/weather.scm:255 +#: guix/scripts/weather.scm:256 msgid "" "\n" " -s, --system=SYSTEM consider substitutes for SYSTEM--e.g., \"i686-linux\"" @@ -2993,32 +3125,99 @@ msgstr "" "\n" " -s, --system=SYSTÈME prend en compte les substituts pour le SYSTÈME, par exemple « i686-linux »" -#: guix/scripts/weather.scm:279 +#: guix/scripts/weather.scm:280 #, scheme-format msgid "~a: invalid URL~%" msgstr "~a : URL invalide~%" -#: guix/gnu-maintenance.scm:570 +#: guix/scripts/describe.scm:45 +#, scheme-format +msgid "~a: unsupported output format~%" +msgstr "~a : format de sortie non supporté~%" + +#: guix/scripts/describe.scm:64 +msgid "" +"Usage: guix describe [OPTION]...\n" +"Display information about the channels currently in use.\n" +msgstr "" +"Utilisation : guix describe [OPTION]...\n" +"Affiche des informations sur les canaux actuellement utilisés.\n" + +#: guix/scripts/describe.scm:66 +msgid "" +"\n" +" -f, --format=FORMAT display information in the given FORMAT" +msgstr "" +"\n" +" -f, --format=FORMAT montrer les informations dans le FORMAT donné" + +#: guix/scripts/describe.scm:68 +msgid "" +"\n" +" -p, --profile=PROFILE display information about PROFILE" +msgstr "" +"\n" +" -p, --profile=PROFIL afficher les informations sur le PROFIL" + +#: guix/scripts/describe.scm:87 +#, scheme-format +msgid "~%;; warning: GUIX_PACKAGE_PATH=\"~a\"~%" +msgstr "~%;; attention : GUIX_PACKAGE_PATH=\"~a\"~%" + +#: guix/scripts/describe.scm:115 +#, scheme-format +msgid "failed to determine origin~%" +msgstr "échec à la détection de l'origine~%" + +#: guix/scripts/describe.scm:121 +#, scheme-format +msgid "Git checkout:~%" +msgstr "Dépôt git :~%" + +#: guix/scripts/describe.scm:122 +#, scheme-format +msgid " repository: ~a~%" +msgstr " URL du dépôt : ~a~%" + +#: guix/scripts/describe.scm:123 +#, scheme-format +msgid " branch: ~a~%" +msgstr " branche: ~a~%" + +#: guix/scripts/describe.scm:124 +#, scheme-format +msgid " commit: ~a~%" +msgstr " commit : ~a~%" + +#: guix/scripts/processes.scm:197 +msgid "" +"Usage: guix processes\n" +"List the current Guix sessions and their processes." +msgstr "" +"Utilisation : guix processes\n" +"Liste les sessions Guix actuelles et leurs processus." + +#: guix/gnu-maintenance.scm:661 msgid "Updater for GNU packages" msgstr "Logiciel de mise à jour des paquets GNU" -#: guix/gnu-maintenance.scm:579 +#: guix/gnu-maintenance.scm:670 msgid "Updater for GNU packages only available via FTP" msgstr "Logiciel de mise à jour des paquets GNU disponibles uniquement par FTP" -#: guix/gnu-maintenance.scm:588 +#: guix/gnu-maintenance.scm:679 msgid "Updater for KDE packages" msgstr "Logiciel de mise à jour des paquets KDE" -#: guix/gnu-maintenance.scm:595 +#: guix/gnu-maintenance.scm:686 msgid "Updater for X.org packages" msgstr "Logiciel de mise à jour des paquets X.org" -#: guix/gnu-maintenance.scm:602 +#: guix/gnu-maintenance.scm:693 msgid "Updater for packages hosted on kernel.org" msgstr "Logiciel de mise à jour des paquets hébergés sur kernel.org" -#: guix/scripts/container.scm:25 +#: guix/scripts/container.scm:26 msgid "" "Usage: guix container ACTION ARGS...\n" "Build and manipulate Linux containers.\n" @@ -3026,16 +3225,16 @@ msgstr "" "Usage : guix container ACTION ARGS...\n" "Compile et manipule des containers Linux.\n" -#: guix/scripts/container.scm:30 +#: guix/scripts/container.scm:31 msgid " exec execute a command inside of an existing container\n" msgstr " exec exécuter une commande dans un container existant\n" -#: guix/scripts/container.scm:53 +#: guix/scripts/container.scm:54 #, scheme-format msgid "guix container: missing action~%" msgstr "guix container : action manquante~%" -#: guix/scripts/container.scm:63 +#: guix/scripts/container.scm:64 #, scheme-format msgid "guix container: invalid action~%" msgstr "guix container : action invalide~%" @@ -3093,81 +3292,105 @@ msgstr "~a : le fichier source est introuvable" msgid "~a: ~a: no `version' field in source; skipping~%" msgstr "~a : ~a : aucun champ « version » dans la source ; ignoré~%" -#: guix/ui.scm:169 +#: guix/ui.scm:175 #, scheme-format msgid "error: ~a: unbound variable" msgstr "erreur : ~a : variable non liée" -#: guix/ui.scm:265 +#: guix/ui.scm:271 msgid "entering debugger; type ',bt' for a backtrace\n" msgstr "entrée dans le débogueur; tapez « ,bt » pour la trace d'exécution\n" -#: guix/ui.scm:314 +#: guix/ui.scm:320 #, scheme-format msgid "hint: ~a~%" msgstr "conseil : ~a~%" -#: guix/ui.scm:330 +#: guix/ui.scm:336 msgid "Did you forget a @code{use-modules} form?" msgstr "Auriez-vous oublié un @code{use-modules} ?" -#: guix/ui.scm:332 +#: guix/ui.scm:338 #, scheme-format msgid "Did you forget @code{(use-modules ~a)}?" msgstr "Auriez-vous oublié @code{(use-modules ~a)} ?" -#: guix/ui.scm:341 guix/ui.scm:381 guix/ui.scm:388 +#: guix/ui.scm:347 guix/ui.scm:387 guix/ui.scm:394 #, scheme-format msgid "failed to load '~a': ~a~%" msgstr "impossible de charger « ~a » : ~a~%" -#: guix/ui.scm:348 +#: guix/ui.scm:354 #, scheme-format msgid "~amissing closing parenthesis~%" msgstr "~a parenthèses fermantes manquantes~%" -#: guix/ui.scm:353 guix/ui.scm:361 guix/ui.scm:692 +#: guix/ui.scm:359 guix/ui.scm:367 guix/ui.scm:714 #, scheme-format msgid "~a: error: ~a~%" msgstr "~a : erreur: ~a~%" -#: guix/ui.scm:368 guix/ui.scm:762 +#: guix/ui.scm:374 guix/ui.scm:784 #, scheme-format msgid "exception thrown: ~s~%" msgstr "exception générée : ~s~%" -#: guix/ui.scm:372 guix/ui.scm:394 +#: guix/ui.scm:378 guix/ui.scm:400 #, scheme-format msgid "failed to load '~a':~%" msgstr "échec lors du chargement de « ~a » :~%" -#: guix/ui.scm:384 +#: guix/ui.scm:390 #, scheme-format msgid "~a: warning: ~a~%" msgstr "~a : avertissement : ~a~%" -#: guix/ui.scm:391 +#: guix/ui.scm:397 #, scheme-format msgid "failed to load '~a': exception thrown: ~s~%" msgstr "échec lors du chargement de « ~a » : exception générée : ~s~%" -#: guix/ui.scm:424 +#: guix/ui.scm:433 #, scheme-format msgid "failed to install locale: ~a~%" msgstr "impossible d'installer l'environnement linguistique : ~a~%" +#: guix/ui.scm:435 +msgid "" +"Consider installing the @code{glibc-utf8-locales} or\n" +"@code{glibc-locales} package and defining @code{GUIX_LOCPATH}, along these\n" +"lines:\n" +"\n" +"@example\n" +"guix package -i glibc-utf8-locales\n" +"export GUIX_LOCPATH=\"$HOME/.guix-profile/lib/locale\"\n" +"@end example\n" +"\n" +"See the \"Application Setup\" section in the manual, for more info.\n" +msgstr "" +"Pensez à installer le paquet @code{glibc-utf8-locales} ou\n" +"@code{glibc-locales} et à définir @code{GUIX_LOCPATH} de cette\n" +"façon :\n" +"\n" +"@example\n" +"guix package -i glibc-utf8-locales\n" +"export GUIX_LOCPATH=\"$HOME/.guix-profile/lib/locale\"\n" +"@end example\n" +"\n" +"Voir la section « Réglages applicatifs » du manuel pour plus d'informations.\n" + #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. */ -#: guix/ui.scm:454 +#: guix/ui.scm:473 msgid "(C)" msgstr "©" -#: guix/ui.scm:455 +#: guix/ui.scm:474 msgid "the Guix authors\n" msgstr "les auteurs de Guix\n" -#: guix/ui.scm:456 +#: guix/ui.scm:475 msgid "" "License GPLv3+: GNU GPL version 3 or later \n" "This is free software: you are free to change and redistribute it.\n" @@ -3181,7 +3404,7 @@ msgstr "" #. package. Please add another line saying "Report translation bugs to #. ...\n" with the address for translation bugs (typically your translation #. team's web or email address). -#: guix/ui.scm:468 +#: guix/ui.scm:487 #, scheme-format msgid "" "\n" @@ -3191,7 +3414,7 @@ msgstr "" "Signalez toute anomalie à : ~a.\n" "Signalez toute erreur de traduction à : traduc@traduc.org." -#: guix/ui.scm:470 +#: guix/ui.scm:489 #, scheme-format msgid "" "\n" @@ -3200,7 +3423,7 @@ msgstr "" "\n" "~a page d'accueil : <~a>" -#: guix/ui.scm:472 +#: guix/ui.scm:491 msgid "" "\n" "General help using GNU software: " @@ -3208,27 +3431,27 @@ msgstr "" "\n" "Aide générale sur l'utilisation des logiciels GNU : " -#: guix/ui.scm:517 +#: guix/ui.scm:539 #, scheme-format msgid "'~a' is not a valid regular expression: ~a~%" msgstr "« ~a » n'est pas une expression rationnelle valide : ~a~%" -#: guix/ui.scm:523 +#: guix/ui.scm:545 #, scheme-format msgid "~a: invalid number~%" msgstr "~a : nombre non valide~%" -#: guix/ui.scm:540 +#: guix/ui.scm:562 #, scheme-format msgid "invalid number: ~a~%" msgstr "nombre non valide : ~a~%" -#: guix/ui.scm:563 +#: guix/ui.scm:585 #, scheme-format msgid "unknown unit: ~a~%" msgstr "unité inconnue : ~a~%" -#: guix/ui.scm:578 +#: guix/ui.scm:600 #, scheme-format msgid "" "You cannot have two different versions\n" @@ -3237,7 +3460,7 @@ msgstr "" "Vous ne pouvez pas avoir deux versions ou variantes\n" "différentes de @code{~a} dans le même profil." -#: guix/ui.scm:581 +#: guix/ui.scm:603 #, scheme-format msgid "" "Try upgrading both @code{~a} and @code{~a},\n" @@ -3246,116 +3469,116 @@ msgstr "" "Essayez de mettre à jour à la fois @code{~a} et @code{~a},\n" "ou supprimez-en un du profil." -#: guix/ui.scm:600 +#: guix/ui.scm:622 #, scheme-format msgid "~a:~a:~a: package `~a' has an invalid input: ~s~%" msgstr "~a :~a :~a : le paquet « ~a » a une entrée non valide : ~s~%" -#: guix/ui.scm:607 +#: guix/ui.scm:629 #, scheme-format msgid "~a: ~a: build system `~a' does not support cross builds~%" msgstr "~a : ~a : le système de compilation « ~a » ne supporte pas la compilation croisée~%" -#: guix/ui.scm:613 +#: guix/ui.scm:635 #, scheme-format msgid "~s: invalid G-expression input~%" msgstr "~s : entrée G-expression invalide~%" -#: guix/ui.scm:616 +#: guix/ui.scm:638 #, scheme-format msgid "profile '~a' does not exist~%" msgstr "le profile « ~a » n'existe pas~%" -#: guix/ui.scm:619 +#: guix/ui.scm:641 #, scheme-format msgid "generation ~a of profile '~a' does not exist~%" msgstr "la génération ~a du profile « ~a » n'existe pas~%" -#: guix/ui.scm:628 +#: guix/ui.scm:650 #, scheme-format msgid " ... propagated from ~a@~a~%" msgstr " ... propagé depuis ~a@~a~%" -#: guix/ui.scm:638 +#: guix/ui.scm:660 #, scheme-format msgid "profile contains conflicting entries for ~a~a~%" msgstr "le profil contient des entrées en conflit pour ~a~a~%" -#: guix/ui.scm:641 +#: guix/ui.scm:663 #, scheme-format msgid " first entry: ~a@~a~a ~a~%" msgstr " première entrée : ~a@~a~a ~a~%" -#: guix/ui.scm:647 +#: guix/ui.scm:669 #, scheme-format msgid " second entry: ~a@~a~a ~a~%" msgstr " deuxième entrée : ~a@~a~a ~a~%" -#: guix/ui.scm:659 +#: guix/ui.scm:681 #, scheme-format msgid "corrupt input while restoring '~a' from ~s~%" msgstr "entrée corrompue en restaurant « ~a » depuis ~s~%" -#: guix/ui.scm:661 +#: guix/ui.scm:683 #, scheme-format msgid "corrupt input while restoring archive from ~s~%" msgstr "entrée corrompue en restaurant l'archive depuis ~s~%" -#: guix/ui.scm:664 +#: guix/ui.scm:686 #, scheme-format msgid "failed to connect to `~a': ~a~%" msgstr "impossible de se connecter à « ~a » : ~a~%" -#: guix/ui.scm:669 +#: guix/ui.scm:691 #, scheme-format msgid "build failed: ~a~%" msgstr "la compilation a échoué : ~a~%" -#: guix/ui.scm:672 +#: guix/ui.scm:694 #, scheme-format msgid "reference to invalid output '~a' of derivation '~a'~%" msgstr "référence à la sortie invalide « ~a » de la dérivation « ~a »~%" -#: guix/ui.scm:676 +#: guix/ui.scm:698 #, scheme-format msgid "file '~a' could not be found in these directories:~{ ~a~}~%" msgstr "le fichier « ~a » n'a pas été trouvé dans ces répertoires :~{ ~a~}~%" -#: guix/ui.scm:681 +#: guix/ui.scm:703 #, scheme-format msgid "program exited~@[ with non-zero exit status ~a~]~@[ terminated by signal ~a~]~@[ stopped by signal ~a~]: ~s~%" msgstr "le programme a quitté~@[ avec un statut non nul ~a~]~@[ terminé par le signal ~a~]~@[ arrêté par le signal ~a~] : ~s~%" -#: guix/ui.scm:712 +#: guix/ui.scm:734 #, scheme-format msgid "~a: ~a~%" msgstr "~a: ~a~%" -#: guix/ui.scm:747 +#: guix/ui.scm:769 #, scheme-format msgid "failed to read expression ~s: ~s~%" msgstr "impossible de lire l'expression ~s : ~s~%" -#: guix/ui.scm:753 +#: guix/ui.scm:775 #, scheme-format msgid "failed to evaluate expression '~a':~%" msgstr "impossible d'évaluer l'expression « ~a » :~%" -#: guix/ui.scm:756 +#: guix/ui.scm:778 #, scheme-format msgid "syntax error: ~a~%" msgstr "erreur de syntaxe : ~a~%" -#: guix/ui.scm:774 +#: guix/ui.scm:796 #, scheme-format msgid "expression ~s does not evaluate to a package~%" msgstr "l'expression ~s ne correspond à aucun paquet~%" -#: guix/ui.scm:793 +#: guix/ui.scm:816 msgid "at least ~,1h MB needed but only ~,1h MB available in ~a~%" msgstr "au moins ~,1h Mo sont nécessaires mais seulement ~,1h Mo sont disponibles dans ~a~%" -#: guix/ui.scm:861 +#: guix/ui.scm:894 #, scheme-format msgid "~:[The following derivation would be built:~%~{ ~a~%~}~;~]" msgid_plural "~:[The following derivations would be built:~%~{ ~a~%~}~;~]" @@ -3364,18 +3587,25 @@ msgstr[1] "~:[Les dérivations suivantes seraient compilées :~%~{ ~a~%~}~;~]" #. TRANSLATORS: "MB" is for "megabyte"; it should be #. translated to the corresponding abbreviation. -#: guix/ui.scm:869 +#: guix/ui.scm:902 msgid "~:[~,1h MB would be downloaded:~%~{ ~a~%~}~;~]" msgstr "~:[~,1h Mo seraient téléchargés :~%~{ ~a~%~}~;~]" -#: guix/ui.scm:874 +#: guix/ui.scm:907 #, scheme-format msgid "~:[The following file would be downloaded:~%~{ ~a~%~}~;~]" msgid_plural "~:[The following files would be downloaded:~%~{ ~a~%~}~;~]" msgstr[0] "~:[Le fichier suivant serait téléchargé :~%~{ ~a~%~}~;~]" msgstr[1] "~:[Les fichiers suivants seraient téléchargés :~%~{ ~a~%~}~;~]" -#: guix/ui.scm:881 +#: guix/ui.scm:913 +#, scheme-format +msgid "~:[The following graft would be made:~%~{ ~a~%~}~;~]" +msgid_plural "~:[The following grafts would be made:~%~{ ~a~%~}~;~]" +msgstr[0] "~:[La greffe suivante serait effectuée :~%~{ ~a~%~}~;~]" +msgstr[1] "~:[Les greffes suivantes seraient effectuées :~%~{ ~a~%~}~;~]" + +#: guix/ui.scm:919 #, scheme-format msgid "~:[The following derivation will be built:~%~{ ~a~%~}~;~]" msgid_plural "~:[The following derivations will be built:~%~{ ~a~%~}~;~]" @@ -3384,78 +3614,85 @@ msgstr[1] "~:[Les dérivations suivantes seront compilées :~%~{ ~a~%~}~;~]" #. TRANSLATORS: "MB" is for "megabyte"; it should be #. translated to the corresponding abbreviation. -#: guix/ui.scm:889 +#: guix/ui.scm:927 msgid "~:[~,1h MB will be downloaded:~%~{ ~a~%~}~;~]" msgstr "~:[~,1h Mo seront téléchargés :~%~{ ~a~%~}~;~]" -#: guix/ui.scm:894 +#: guix/ui.scm:932 #, scheme-format msgid "~:[The following file will be downloaded:~%~{ ~a~%~}~;~]" msgid_plural "~:[The following files will be downloaded:~%~{ ~a~%~}~;~]" msgstr[0] "~:[Le fichier suivant sera téléchargé :~%~{ ~a~%~}~;~]" msgstr[1] "~:[Les fichiers suivants seront téléchargés :~%~{ ~a~%~}~;~]" -#: guix/ui.scm:954 +#: guix/ui.scm:938 +#, scheme-format +msgid "~:[The following graft will be made:~%~{ ~a~%~}~;~]" +msgid_plural "~:[The following grafts will be made:~%~{ ~a~%~}~;~]" +msgstr[0] "~:[La greffe suivante sera effectuée :~%~{ ~a~%~}~;~]" +msgstr[1] "~:[Les greffes suivantes seront effectuées :~%~{ ~a~%~}~;~]" + +#: guix/ui.scm:997 #, scheme-format msgid "The following package would be removed:~%~{~a~%~}~%" msgid_plural "The following packages would be removed:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant serait supprimé :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seraient supprimés :~%~{~a~%~}~%" -#: guix/ui.scm:959 +#: guix/ui.scm:1002 #, scheme-format msgid "The following package will be removed:~%~{~a~%~}~%" msgid_plural "The following packages will be removed:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant sera supprimé :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seront supprimés :~%~{~a~%~}~%" -#: guix/ui.scm:972 +#: guix/ui.scm:1015 #, scheme-format msgid "The following package would be downgraded:~%~{~a~%~}~%" msgid_plural "The following packages would be downgraded:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant serait mis à une version inférieure :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seraient mis à des versions inférieures :~%~{~a~%~}~%" -#: guix/ui.scm:977 +#: guix/ui.scm:1020 #, scheme-format msgid "The following package will be downgraded:~%~{~a~%~}~%" msgid_plural "The following packages will be downgraded:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant sera mis à une version inférieure :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seront mis à des versions inférieures :~%~{~a~%~}~%" -#: guix/ui.scm:990 +#: guix/ui.scm:1033 #, scheme-format msgid "The following package would be upgraded:~%~{~a~%~}~%" msgid_plural "The following packages would be upgraded:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant serait mis à jour :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seraient mis à jour :~%~{~a~%~}~%" -#: guix/ui.scm:995 +#: guix/ui.scm:1038 #, scheme-format msgid "The following package will be upgraded:~%~{~a~%~}~%" msgid_plural "The following packages will be upgraded:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant sera mis à jour :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seront mis à jour :~%~{~a~%~}~%" -#: guix/ui.scm:1006 +#: guix/ui.scm:1049 #, scheme-format msgid "The following package would be installed:~%~{~a~%~}~%" msgid_plural "The following packages would be installed:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant serait installé :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seraient installés :~%~{~a~%~}~%" -#: guix/ui.scm:1011 +#: guix/ui.scm:1054 #, scheme-format msgid "The following package will be installed:~%~{~a~%~}~%" msgid_plural "The following packages will be installed:~%~{~a~%~}~%" msgstr[0] "Le paquet suivant sera installé :~%~{~a~%~}~%" msgstr[1] "Les paquets suivants seront installés :~%~{~a~%~}~%" -#: guix/ui.scm:1028 +#: guix/ui.scm:1071 msgid "" msgstr "" -#: guix/ui.scm:1390 +#: guix/ui.scm:1436 #, scheme-format msgid "Generation ~a\t~a" msgstr "Génération ~a\t~a" @@ -3465,7 +3702,7 @@ msgstr "Génération ~a\t~a" #. usual way of presenting dates in your locale. #. See https://www.gnu.org/software/guile/manual/html_node/SRFI_002d19-Date-to-string.html #. for details. -#: guix/ui.scm:1399 +#: guix/ui.scm:1445 #, scheme-format msgid "~b ~d ~Y ~T" msgstr "~d ~b ~Y ~T" @@ -3473,27 +3710,27 @@ msgstr "~d ~b ~Y ~T" #. TRANSLATORS: The word "current" here is an adjective for #. "Generation", as in "current generation". Use the appropriate #. gender where applicable. -#: guix/ui.scm:1405 +#: guix/ui.scm:1451 #, scheme-format msgid "~a\t(current)~%" msgstr "~a\t(actuelle)~%" -#: guix/ui.scm:1448 +#: guix/ui.scm:1494 #, scheme-format msgid "switched from generation ~a to ~a~%" msgstr "passé de la génération ~a à ~a~%" -#: guix/ui.scm:1464 +#: guix/ui.scm:1510 #, scheme-format msgid "deleting ~a~%" msgstr "suppression de ~a~%" -#: guix/ui.scm:1495 +#: guix/ui.scm:1541 #, scheme-format msgid "Try `guix --help' for more information.~%" msgstr "Essayez « guix --help » pour plus d'informations.~%" -#: guix/ui.scm:1523 +#: guix/ui.scm:1569 msgid "" "Usage: guix COMMAND ARGS...\n" "Run COMMAND with ARGS.\n" @@ -3501,25 +3738,105 @@ msgstr "" "Usage : guix COMMANDE ARGS...\n" "Lance la COMMANDE avec les arguments ARGS.\n" -#: guix/ui.scm:1526 +#: guix/ui.scm:1572 msgid "COMMAND must be one of the sub-commands listed below:\n" msgstr "COMMANDE doit être une des sous-commandes listées ci-dessous :\n" -#: guix/ui.scm:1546 +#: guix/ui.scm:1592 #, scheme-format msgid "guix: ~a: command not found~%" msgstr "guix : ~a : commande introuvable~%" -#: guix/ui.scm:1576 +#: guix/ui.scm:1622 #, scheme-format msgid "guix: missing command name~%" msgstr "guix : nom de commande manquant~%" -#: guix/ui.scm:1584 +#: guix/ui.scm:1630 #, scheme-format msgid "guix: unrecognized option '~a'~%" msgstr "guix : option « ~a » non reconnue ~%" +#: guix/status.scm:335 +#, scheme-format +msgid "applying ~a graft for ~a..." +msgid_plural "applying ~a grafts for ~a..." +msgstr[0] "application de ~a greffe pour ~a..." +msgstr[1] "application de ~a greffes pour ~a..." + +#: guix/status.scm:340 +#, scheme-format +msgid "building ~a..." +msgstr "construction de ~a..." + +#: guix/status.scm:344 +#, scheme-format +msgid "successfully built ~a" +msgstr "construction de ~a réussie" + +#: guix/status.scm:350 +#, scheme-format +msgid "The following build is still in progress:~%~{ ~a~%~}~%" +msgid_plural "The following builds are still in progress:~%~{ ~a~%~}~%" +msgstr[0] "La construction suivante est toujours en cours :~%~{ ~a~%~}~%" +msgstr[1] "Les constructions suivantes sont toujours en cours :~%~{ ~a~%~}~%" + +#: guix/status.scm:355 +#, scheme-format +msgid "build of ~a failed" +msgstr "la compilation de ~a a échoué" + +#: guix/status.scm:359 +#, scheme-format +msgid "Could not find build log for '~a'." +msgstr "Aucun journal de compilation pour « ~a »~%" + +#: guix/status.scm:362 +#, scheme-format +msgid "View build log at '~a'." +msgstr "Vous trouverez le journal de compilation dans « ~a »." + +#: guix/status.scm:366 +#, scheme-format +msgid "substituting ~a..." +msgstr "substitution de ~a..." + +#: guix/status.scm:369 +#, scheme-format +msgid "downloading from ~a..." +msgstr "téléchargement depuis ~a..." + +#: guix/status.scm:394 +#, scheme-format +msgid "substitution of ~a complete" +msgstr "substitution de ~a terminée" + +#: guix/status.scm:397 +#, scheme-format +msgid "substitution of ~a failed" +msgstr "la substitution de ~a a échoué" + +#. TRANSLATORS: The final string looks like "sha256 hash mismatch for +#. /gnu/store/…-sth:", where "sha256" is the hash algorithm. +#: guix/status.scm:402 +#, scheme-format +msgid "~a hash mismatch for ~a:" +msgstr "l'empreinte ~a ne correspond pas pour ~a :" + +#: guix/status.scm:404 +#, scheme-format +msgid "" +" expected hash: ~a\n" +" actual hash: ~a~%" +msgstr "" +" empreinte attendue : ~a\n" +" empreinte obtenue : ~a~%" + +#: guix/status.scm:409 +#, scheme-format +msgid "offloading build of ~a to '~a'" +msgstr "déchargement de la construction de ~a sur « ~a »" + #: guix/http-client.scm:117 #, scheme-format msgid "following redirection to `~a'...~%" @@ -3530,48 +3847,77 @@ msgstr "redirection vers « ~a »...~%" msgid "~a: HTTP download failed: ~a (~s)" msgstr "~a : le téléchargement HTTP a échoué : ~a (~s)" -#: guix/nar.scm:156 +#: guix/nar.scm:157 msgid "signature is not a valid s-expression" msgstr "la signature n'est pas une s-expression valide" -#: guix/nar.scm:165 +#: guix/nar.scm:166 msgid "invalid signature" msgstr "signature non valide" -#: guix/nar.scm:169 +#: guix/nar.scm:170 msgid "invalid hash" msgstr "empreinte non valide" -#: guix/nar.scm:177 +#: guix/nar.scm:178 msgid "unauthorized public key" msgstr "clé publique non autorisée" -#: guix/nar.scm:182 +#: guix/nar.scm:183 msgid "corrupt signature data" msgstr "signature corrompue" -#: guix/nar.scm:202 +#: guix/nar.scm:203 msgid "corrupt file set archive" msgstr "ensemble de fichiers corrompu dans l'archive" -#: guix/nar.scm:212 +#: guix/nar.scm:213 #, scheme-format msgid "importing file or directory '~a'...~%" msgstr "import du fichier ou répertoire « ~a »...~%" -#: guix/nar.scm:223 +#: guix/nar.scm:224 #, scheme-format msgid "found valid signature for '~a'~%" msgstr "signature valide trouvée pour « ~a »~%" -#: guix/nar.scm:230 +#: guix/nar.scm:231 msgid "imported file lacks a signature" msgstr "les fichiers importés requièrent une signature" -#: guix/nar.scm:269 +#: guix/nar.scm:270 msgid "invalid inter-file archive mark" msgstr "marque d'archive inter-fichier non valide" +#: guix/channels.scm:108 +#, scheme-format +msgid "Updating channel '~a' from Git repository at '~a'...~%" +msgstr "Mise à jour du canal « ~a » depuis le dépôt Git sur « ~a »...~%" + +#: guix/profiles.scm:501 +msgid "unsupported manifest format" +msgstr "format de manifeste non supporté" + +#: guix/profiles.scm:1630 +#, scheme-format +msgid "while creating directory `~a': ~a" +msgstr "pendant la création du répertoire « ~a » : ~a" + +#: guix/profiles.scm:1635 +#, scheme-format +msgid "Please create the @file{~a} directory, with you as the owner." +msgstr "Veuillez créer le répertoire @file{~a} dont vous êtes le propriétaire." + +#: guix/profiles.scm:1644 +#, scheme-format +msgid "directory `~a' is not owned by you" +msgstr "vous ne possédez pas le répertoire « ~a »" + +#: guix/profiles.scm:1648 +#, scheme-format +msgid "Please change the owner of @file{~a} to user ~s." +msgstr "Veuillez définir le propriétaire de @file{~a} comme étant ~s." + #: nix/nix-daemon/guix-daemon.cc:66 msgid "guix-daemon -- perform derivation builds and store accesses" msgstr "guix-daemon -- réalise les compilations des dérivations et les accès au stockage" @@ -3696,6 +4042,32 @@ msgstr "écoute sur SOCKET pour des connexions" msgid "produce debugging output" msgstr "produit une sortie de déboguage" +#~ msgid "Try \"info '(guix) Invoking guix package'\" for more information.~%" +#~ msgstr "Essayez « info '(guix) Invoking guix package' » pour plus d'information.~%" + +#~ msgid "" +#~ "Guile-Git is missing but it is now required by 'guix pull'.\n" +#~ "Install it by running:\n" +#~ "\n" +#~ " guix package -i ~a\n" +#~ " export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/~a:$GUILE_LOAD_PATH\n" +#~ " export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/~a/site-ccache:$GUILE_LOAD_COMPILED_PATH\n" +#~ "\n" +#~ msgstr "" +#~ "Il vous manque Guile-Git qui est désormais requis par « guix pull ».\n" +#~ "Installez-le en lançant :\n" +#~ "\n" +#~ " guix package -i ~a\n" +#~ " export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/~a:$GUILE_LOAD_PATH\n" +#~ " export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/~a/site-ccache:$GUILE_LOAD_COMPILED_PATH\n" +#~ "\n" + +#~ msgid "cannot enforce use of the Let's Encrypt certificates~%" +#~ msgstr "impossible d'imposer l'utilisation des certificats Let's Encrypt~%" + +#~ msgid "please upgrade Guile-Git~%" +#~ msgstr "veuillez mettre à jour Guile-Git~%" + #~ msgid "Guix already up to date\n" #~ msgstr "Guix est déjà à jour\n" diff --git a/po/packages/fr.po b/po/packages/fr.po index 96bfe759b8..6a69172c7a 100644 --- a/po/packages/fr.po +++ b/po/packages/fr.po @@ -2,12 +2,13 @@ # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the guix package. # Rémy Chevalier , 2014. +# Julien Lepiller , 2018. msgid "" msgstr "" -"Project-Id-Version: guix-packages 0.15.0\n" +"Project-Id-Version: guix-packages 0.16.0\n" "Report-Msgid-Bugs-To: ludo@gnu.org\n" -"POT-Creation-Date: 2018-06-22 14:08+0200\n" -"PO-Revision-Date: 2018-06-23 14:14+0200\n" +"POT-Creation-Date: 2018-11-28 15:05+0100\n" +"PO-Revision-Date: 2018-11-30 21:50+0100\n" "Last-Translator: Julien Lepiller \n" "Language-Team: French \n" "Language: fr\n" @@ -37,11 +38,11 @@ msgstr "" "pour votre travail quotidien, vos besoins personnels ou juste pour\n" "le plaisir de taper." -#: gnu/packages/aspell.scm:71 gnu/packages/libreoffice.scm:743 +#: gnu/packages/aspell.scm:85 gnu/packages/libreoffice.scm:777 msgid "Spell checker" msgstr "Correcteur orthographique" -#: gnu/packages/aspell.scm:73 +#: gnu/packages/aspell.scm:87 msgid "" "Aspell is a spell-checker which can be used either as a library or as\n" "a standalone program. Notable features of Aspell include its full support of\n" @@ -53,13 +54,13 @@ msgstr "" "des documents encodés UTF-8 et la possibilité d'utiliser plusieurs dictionnaires\n" "y compris personnels." -#: gnu/packages/aspell.scm:115 +#: gnu/packages/aspell.scm:129 msgid "This package provides a dictionary for the GNU Aspell spell checker." msgstr "" "Ce paquet fournit un dictionnaire pour le correcteur orthographique\n" "GNU Aspell." -#: gnu/packages/aspell.scm:296 gnu/packages/libreoffice.scm:793 +#: gnu/packages/aspell.scm:310 gnu/packages/libreoffice.scm:827 msgid "" "This package provides a dictionary for the Hunspell spell-checking\n" "library." @@ -67,35 +68,35 @@ msgstr "" "Ce paquet fournit un dictionnaire pour le correcteur orthographique\n" "Hunspell." -#: gnu/packages/aspell.scm:314 +#: gnu/packages/aspell.scm:328 msgid "Hunspell dictionary for English" msgstr "Dictionnaire Hunspell pour l'anglais" -#: gnu/packages/aspell.scm:318 +#: gnu/packages/aspell.scm:332 msgid "Hunspell dictionary for Australian English" msgstr "Dictionnaire Hunspell pour l'anglais australien" -#: gnu/packages/aspell.scm:322 +#: gnu/packages/aspell.scm:336 msgid "Hunspell dictionary for Canadian English" msgstr "Dictionnaire Hunspell pour l'anglais canadien" -#: gnu/packages/aspell.scm:326 +#: gnu/packages/aspell.scm:340 msgid "Hunspell dictionary for British English, with -ise endings" msgstr "Dictionnaire Hunspell pour l'anglais britannique, avec des terminaisons en -ise" -#: gnu/packages/aspell.scm:330 +#: gnu/packages/aspell.scm:344 msgid "Hunspell dictionary for British English, with -ize endings" msgstr "Dictionnaire Hunspell pour l'anglais britannique, avec des terminaisons en -ize" -#: gnu/packages/aspell.scm:334 +#: gnu/packages/aspell.scm:348 msgid "Hunspell dictionary for United States English" msgstr "Dictionnaire Hunspell pour l'anglais états-unien" -#: gnu/packages/audio.scm:136 +#: gnu/packages/audio.scm:140 msgid "Realtime modular synthesizer and effect processor" msgstr "Synthétiseur modulaire en temps réel et traitement d'effets" -#: gnu/packages/audio.scm:138 +#: gnu/packages/audio.scm:142 msgid "" "AlsaModularSynth is a digital implementation of a classical analog\n" "modular synthesizer system. It uses virtual control voltages to control the\n" @@ -109,11 +110,11 @@ msgstr "" "fréquence, par exemple du VCO (Oscillateur commandé en tension) ou du VCF\n" "(Filtre contrôlé en tension) suivent la convention de 1 V / Octave." -#: gnu/packages/audio.scm:175 +#: gnu/packages/audio.scm:181 msgid "Library for audio labelling" msgstr "Bibliothèque pour l'étiquetage de fichiers audio" -#: gnu/packages/audio.scm:177 +#: gnu/packages/audio.scm:183 msgid "" "aubio is a tool designed for the extraction of annotations from audio\n" "signals. Its features include segmenting a sound file before each of its\n" @@ -125,11 +126,11 @@ msgstr "" "chaque attaque, à la détection de ton, en passant par l'écoute du rythme\n" "et la production de fichiers MIDI à partir d'audio en direct." -#: gnu/packages/audio.scm:279 +#: gnu/packages/audio.scm:285 msgid "Digital audio workstation" msgstr "Station de travail audio numérique" -#: gnu/packages/audio.scm:281 +#: gnu/packages/audio.scm:287 msgid "" "Ardour is a multi-channel digital audio workstation, allowing users to\n" "record, edit, mix and master audio and MIDI projects. It is targeted at audio\n" @@ -140,11 +141,11 @@ msgstr "" "conçu pour les ingénieurs du son, les musiciens, les éditeurs de bandes son et\n" "les compositeurs." -#: gnu/packages/audio.scm:417 +#: gnu/packages/audio.scm:425 msgid "Software for recording and editing sounds" msgstr "Logiciel pour enregistrer et modifier des sons" -#: gnu/packages/audio.scm:419 +#: gnu/packages/audio.scm:427 msgid "" "Audacity is a multi-track audio editor designed for recording, playing\n" "and editing digital audio. It features digital effects and spectrum analysis\n" @@ -154,11 +155,22 @@ msgstr "" "et modifier des sons numériques. Il propose des effets numériques et des\n" "outils d'analyse spectrale." -#: gnu/packages/audio.scm:454 +#: gnu/packages/audio.scm:463 +msgid "Pitch-correction LADSPA audio plugin" +msgstr "" + +#: gnu/packages/audio.scm:465 +msgid "" +"Autotalent is a LADSPA plugin for real-time pitch-correction. Among its\n" +"controls are allowable notes, strength of correction, LFO for vibrato and\n" +"formant warp." +msgstr "" + +#: gnu/packages/audio.scm:509 msgid "Tonewheel organ synthesizer" msgstr "Synthétiseur d'organe tonewheel" -#: gnu/packages/audio.scm:456 +#: gnu/packages/audio.scm:511 msgid "" "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ\n" "with drawbars, distortion and rotating speakers. The organ has three\n" @@ -167,11 +179,11 @@ msgid "" "plugins are provided." msgstr "" -#: gnu/packages/audio.scm:493 +#: gnu/packages/audio.scm:548 msgid "Audio plug-in pack for LV2 and JACK environments" msgstr "" -#: gnu/packages/audio.scm:495 +#: gnu/packages/audio.scm:550 msgid "" "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.\n" "The suite contains lots of effects (delay, modulation, signal processing,\n" @@ -180,11 +192,22 @@ msgid "" "tools (analyzer, mono/stereo tools, crossovers)." msgstr "" -#: gnu/packages/audio.scm:549 +#: gnu/packages/audio.scm:593 +msgid "LV2 port of the CAPS audio plugin colection" +msgstr "Port LV2 de la collection de greffons audio CAPS" + +#: gnu/packages/audio.scm:595 +msgid "" +"LV2 port of CAPS, a collection of audio plugins comprising basic virtual\n" +"guitar amplification and a small range of classic effects, signal processors and\n" +"generators of mostly elementary and occasionally exotic nature." +msgstr "" + +#: gnu/packages/audio.scm:645 msgid "Software speech synthesizer" msgstr "" -#: gnu/packages/audio.scm:550 +#: gnu/packages/audio.scm:646 msgid "" "eSpeak is a software speech synthesizer for English and\n" "other languages. eSpeak uses a \"formant synthesis\" method. This allows many\n" @@ -193,22 +216,22 @@ msgid "" "based on human speech recordings." msgstr "" -#: gnu/packages/audio.scm:588 +#: gnu/packages/audio.scm:685 msgid "LV2 plugins for live use" msgstr "" -#: gnu/packages/audio.scm:590 +#: gnu/packages/audio.scm:687 msgid "" "The infamous plugins are a collection of LV2 audio plugins for live\n" "performances. The plugins include a cellular automaton synthesizer, an\n" "envelope follower, distortion effects, tape effects and more." msgstr "" -#: gnu/packages/audio.scm:631 +#: gnu/packages/audio.scm:729 msgid "SWH plugins in LV2 format" msgstr "" -#: gnu/packages/audio.scm:633 +#: gnu/packages/audio.scm:731 msgid "" "Swh-plugins-lv2 is a collection of audio plugins in LV2 format. Plugin\n" "classes include: dynamics (compressor, limiter), time (delay, chorus,\n" @@ -216,42 +239,42 @@ msgid "" "emulation (valve, tape), bit fiddling (decimator, pointer-cast), etc." msgstr "" -#: gnu/packages/audio.scm:667 +#: gnu/packages/audio.scm:765 msgid "Sound and music computing system" msgstr "" -#: gnu/packages/audio.scm:669 +#: gnu/packages/audio.scm:767 msgid "" "Csound is a user-programmable and user-extensible sound processing\n" "language and software synthesizer." msgstr "" -#: gnu/packages/audio.scm:710 gnu/packages/audio.scm:2974 +#: gnu/packages/audio.scm:808 gnu/packages/audio.scm:3085 msgid "C++ wrapper around the ALSA API" msgstr "" -#: gnu/packages/audio.scm:712 +#: gnu/packages/audio.scm:810 msgid "" "clalsadrv is a C++ wrapper around the ALSA API simplifying access to\n" "ALSA PCM devices." msgstr "" -#: gnu/packages/audio.scm:749 +#: gnu/packages/audio.scm:847 msgid "LADSPA ambisonics plugins" msgstr "" -#: gnu/packages/audio.scm:751 +#: gnu/packages/audio.scm:849 msgid "" "The AMB plugins are a set of LADSPA ambisonics plugins, mainly to be\n" "used within Ardour. Features include: mono and stereo to B-format panning,\n" "horizontal rotator, square, hexagon and cube decoders." msgstr "" -#: gnu/packages/audio.scm:786 +#: gnu/packages/audio.scm:884 msgid "Chorus, phaser, and vintage high-pass and low-pass filters" msgstr "" -#: gnu/packages/audio.scm:788 +#: gnu/packages/audio.scm:886 msgid "" "This package provides various LADSPA plugins. @code{cs_chorus} and\n" "@code{cs_phaser} provide chorus and phaser effects, respectively;\n" @@ -261,21 +284,21 @@ msgid "" "the non-linear circuit elements of their original analog counterparts." msgstr "" -#: gnu/packages/audio.scm:826 +#: gnu/packages/audio.scm:924 msgid "LADSPA reverb plugin" msgstr "" -#: gnu/packages/audio.scm:828 +#: gnu/packages/audio.scm:926 msgid "" "This package provides a stereo reverb LADSPA plugin based on the\n" "well-known greverb." msgstr "" -#: gnu/packages/audio.scm:862 +#: gnu/packages/audio.scm:960 msgid "LADSPA four-band parametric equalizer plugin" msgstr "" -#: gnu/packages/audio.scm:864 +#: gnu/packages/audio.scm:962 msgid "" "This package provides a LADSPA plugin for a four-band parametric\n" "equalizer. Each section has an active/bypass switch, frequency, bandwidth and\n" @@ -290,11 +313,11 @@ msgid "" "for stage use." msgstr "" -#: gnu/packages/audio.scm:907 +#: gnu/packages/audio.scm:1005 msgid "LADSPA stereo width plugin" msgstr "" -#: gnu/packages/audio.scm:909 +#: gnu/packages/audio.scm:1007 msgid "" "This package provides a LADSPA plugin to manipulate the stereo width of\n" "audio signals." @@ -302,11 +325,11 @@ msgstr "" "Ce paquet fournit des un greffon LADSPA pour manipuler la profondeur\n" "des signaux audio." -#: gnu/packages/audio.scm:944 +#: gnu/packages/audio.scm:1042 msgid "LADSPA plugin for synthesizer oscillators" msgstr "" -#: gnu/packages/audio.scm:946 +#: gnu/packages/audio.scm:1044 msgid "" "The @code{blvco} LADSPA plugin provides three anti-aliased oscillators:\n" "\n" @@ -321,11 +344,11 @@ msgid "" "output of analog synthesizers such as the Moog Voyager." msgstr "" -#: gnu/packages/audio.scm:988 +#: gnu/packages/audio.scm:1086 msgid "LADSPA Autowah effect plugin" msgstr "" -#: gnu/packages/audio.scm:990 +#: gnu/packages/audio.scm:1088 msgid "" "This package provides a LADSPA plugin for a Wah effect with envelope\n" "follower." @@ -333,19 +356,19 @@ msgstr "" "Ce paquet fournit un greffon LADSPA pour l'effet Wah avec un suiveur\n" "d'enveloppe." -#: gnu/packages/audio.scm:1024 +#: gnu/packages/audio.scm:1122 msgid "LADSPA stereo reverb plugin" msgstr "" -#: gnu/packages/audio.scm:1026 +#: gnu/packages/audio.scm:1124 msgid "This package provides a LADSPA plugin for a stereo reverb effect." msgstr "Ce paquet fournit un greffon LADSPA pour l'effet stereo reverb." -#: gnu/packages/audio.scm:1065 +#: gnu/packages/audio.scm:1163 msgid "SoundFont synthesizer" msgstr "" -#: gnu/packages/audio.scm:1067 +#: gnu/packages/audio.scm:1165 msgid "" "FluidSynth is a real-time software synthesizer based on the SoundFont 2\n" "specifications. FluidSynth reads and handles MIDI events from the MIDI input\n" @@ -353,39 +376,39 @@ msgid "" "also play midifiles using a Soundfont." msgstr "" -#: gnu/packages/audio.scm:1098 +#: gnu/packages/audio.scm:1212 msgid "MPEG-4 and MPEG-2 AAC decoder" msgstr "" -#: gnu/packages/audio.scm:1100 +#: gnu/packages/audio.scm:1214 msgid "" "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,\n" "PS, and DAB+." msgstr "" -#: gnu/packages/audio.scm:1140 +#: gnu/packages/audio.scm:1254 msgid "Signal processing language" msgstr "" -#: gnu/packages/audio.scm:1142 +#: gnu/packages/audio.scm:1256 msgid "Faust is a programming language for realtime audio signal processing." msgstr "" -#: gnu/packages/audio.scm:1213 +#: gnu/packages/audio.scm:1323 msgid "GUS compatible patches for MIDI players" msgstr "" -#: gnu/packages/audio.scm:1215 +#: gnu/packages/audio.scm:1325 msgid "" "FreePats is a project to create a free and open set of GUS compatible\n" "patches that can be used with softsynths such as Timidity and WildMidi." msgstr "" -#: gnu/packages/audio.scm:1267 +#: gnu/packages/audio.scm:1378 msgid "Virtual guitar amplifier" msgstr "" -#: gnu/packages/audio.scm:1268 +#: gnu/packages/audio.scm:1379 msgid "" "Guitarix is a virtual guitar amplifier running JACK.\n" "Guitarix takes the signal from your guitar as a mono-signal from your sound\n" @@ -396,11 +419,11 @@ msgid "" "auto-wah." msgstr "" -#: gnu/packages/audio.scm:1322 +#: gnu/packages/audio.scm:1433 msgid "Audio effects processor" msgstr "" -#: gnu/packages/audio.scm:1324 +#: gnu/packages/audio.scm:1435 msgid "" "Rakarrack is a richly featured multi-effects processor emulating a\n" "guitar effects pedalboard. Effects include compressor, expander, noise gate,\n" @@ -412,22 +435,22 @@ msgid "" "well suited to all musical instruments and vocals." msgstr "" -#: gnu/packages/audio.scm:1375 +#: gnu/packages/audio.scm:1486 msgid "LV2 convolution reverb" msgstr "" -#: gnu/packages/audio.scm:1377 +#: gnu/packages/audio.scm:1488 msgid "" "IR is a low-latency, real-time, high performance signal convolver\n" "especially for creating reverb effects. It supports impulse responses with 1,\n" "2 or 4 channels, in any soundfile format supported by libsndfile." msgstr "" -#: gnu/packages/audio.scm:1407 +#: gnu/packages/audio.scm:1526 msgid "JACK audio connection kit" msgstr "" -#: gnu/packages/audio.scm:1409 +#: gnu/packages/audio.scm:1528 msgid "" "JACK is a low-latency audio server. It can connect a number of\n" "different applications to an audio device, as well as allowing them to share\n" @@ -437,32 +460,32 @@ msgid "" "synchronous execution of all clients, and low latency operation." msgstr "" -#: gnu/packages/audio.scm:1505 +#: gnu/packages/audio.scm:1624 msgid "Simple LV2 host for JACK" msgstr "" -#: gnu/packages/audio.scm:1507 +#: gnu/packages/audio.scm:1626 msgid "" "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2\n" "plugins and exposes their ports as JACK ports, essentially making any LV2\n" "plugin function as a JACK application." msgstr "" -#: gnu/packages/audio.scm:1550 +#: gnu/packages/audio.scm:1669 msgid "Linux Audio Developer's Simple Plugin API (LADSPA)" msgstr "" -#: gnu/packages/audio.scm:1552 +#: gnu/packages/audio.scm:1671 msgid "" "LADSPA is a standard that allows software audio processors and effects\n" "to be plugged into a wide range of audio synthesis and recording packages." msgstr "" -#: gnu/packages/audio.scm:1598 +#: gnu/packages/audio.scm:1717 msgid "Audio application session manager" msgstr "" -#: gnu/packages/audio.scm:1600 +#: gnu/packages/audio.scm:1719 msgid "" "LASH is a session management system for audio applications. It allows\n" "you to save and restore audio sessions consisting of multiple interconneced\n" @@ -470,11 +493,11 @@ msgid "" "connections between them." msgstr "" -#: gnu/packages/audio.scm:1621 +#: gnu/packages/audio.scm:1740 msgid "Bauer stereophonic-to-binaural DSP" msgstr "" -#: gnu/packages/audio.scm:1623 +#: gnu/packages/audio.scm:1742 msgid "" "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is\n" "designed to improve headphone listening of stereo audio records. Recommended\n" @@ -482,21 +505,21 @@ msgid "" "essential distortions." msgstr "" -#: gnu/packages/audio.scm:1646 +#: gnu/packages/audio.scm:1765 msgid "Implementation of the Open Sound Control protocol" msgstr "Implantation du protocole Open Sound Control" -#: gnu/packages/audio.scm:1648 +#: gnu/packages/audio.scm:1767 msgid "" "liblo is a lightweight library that provides an easy to use\n" "implementation of the Open Sound Control (@dfn{OSC}) protocol." msgstr "" -#: gnu/packages/audio.scm:1671 +#: gnu/packages/audio.scm:1790 msgid "Bindings for PortAudio v19" msgstr "Liaisons pour PortAudio v19" -#: gnu/packages/audio.scm:1672 +#: gnu/packages/audio.scm:1791 msgid "" "This package provides bindings for PortAudio v19, the\n" "cross-platform audio input/output stream library." @@ -504,11 +527,11 @@ msgstr "" "Ce paquet fournit les liaisons Python pour PortAudio v19, la\n" "bibliothèque de flux audio d'entrée/sortie multiplateforme." -#: gnu/packages/audio.scm:1697 +#: gnu/packages/audio.scm:1816 msgid "Python bindings for liblo" msgstr "" -#: gnu/packages/audio.scm:1699 +#: gnu/packages/audio.scm:1818 msgid "" "Pyliblo is a Python wrapper for the liblo Open Sound Control (OSC)\n" "library. It supports almost the complete functionality of liblo, allowing you\n" @@ -516,22 +539,22 @@ msgid "" "included are the command line utilities @code{send_osc} and @code{dump_osc}." msgstr "" -#: gnu/packages/audio.scm:1741 +#: gnu/packages/audio.scm:1859 msgid "Library to simplify use of LV2 plugins in applications" msgstr "" -#: gnu/packages/audio.scm:1743 +#: gnu/packages/audio.scm:1861 msgid "" "Lilv is a C library to make the use of LV2 plugins as simple as possible\n" "for applications. Lilv is the successor to SLV2, rewritten to be\n" "significantly faster and have minimal dependencies." msgstr "" -#: gnu/packages/audio.scm:1769 +#: gnu/packages/audio.scm:1887 msgid "LV2 audio plugin specification" msgstr "" -#: gnu/packages/audio.scm:1771 +#: gnu/packages/audio.scm:1889 msgid "" "LV2 is an open specification for audio plugins and host applications.\n" "At its core, LV2 is a simple stable interface, accompanied by extensions which\n" @@ -539,38 +562,38 @@ msgid "" "software." msgstr "" -#: gnu/packages/audio.scm:1823 +#: gnu/packages/audio.scm:1941 msgid "LV2 port of the mda Piano plugin" msgstr "Port LV2 du greffon mda Piano" -#: gnu/packages/audio.scm:1824 +#: gnu/packages/audio.scm:1942 msgid "An LV2 port of the mda Piano VSTi." msgstr "Un port LV2 du VSTi mda Piano." -#: gnu/packages/audio.scm:1837 +#: gnu/packages/audio.scm:1955 msgid "LV2 port of the mda EPiano plugin" msgstr "Port LV2 du greffon mda EPiano" -#: gnu/packages/audio.scm:1838 +#: gnu/packages/audio.scm:1956 msgid "An LV2 port of the mda EPiano VSTi." msgstr "Un port LV2 du VSTi mda EPiano." -#: gnu/packages/audio.scm:1883 +#: gnu/packages/audio.scm:2001 msgid "C++ libraries for LV2 plugins" msgstr "" -#: gnu/packages/audio.scm:1885 +#: gnu/packages/audio.scm:2003 msgid "" "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and\n" "extensions into easy to use C++ classes. It is the successor of\n" "lv2-c++-tools." msgstr "" -#: gnu/packages/audio.scm:1926 +#: gnu/packages/audio.scm:2044 msgid "3D audio API" msgstr "" -#: gnu/packages/audio.scm:1928 +#: gnu/packages/audio.scm:2046 msgid "" "OpenAL provides capabilities for playing audio in a virtual 3D\n" "environment. Distance attenuation, doppler shift, and directional sound\n" @@ -580,50 +603,50 @@ msgid "" "buffers, and audio capture." msgstr "" -#: gnu/packages/audio.scm:1958 +#: gnu/packages/audio.scm:2076 msgid "Free implementation of OpenAL's ALUT standard" msgstr "" -#: gnu/packages/audio.scm:1959 +#: gnu/packages/audio.scm:2077 msgid "freealut is the OpenAL Utility Toolkit." msgstr "" -#: gnu/packages/audio.scm:1988 +#: gnu/packages/audio.scm:2106 msgid "Modular patch bay for audio and MIDI systems" msgstr "" -#: gnu/packages/audio.scm:1990 +#: gnu/packages/audio.scm:2108 msgid "" "Patchage is a modular patch bay for audio and MIDI systems based on JACK\n" "and ALSA." msgstr "" -#: gnu/packages/audio.scm:2017 +#: gnu/packages/audio.scm:2135 msgid "Jack server control application" msgstr "" -#: gnu/packages/audio.scm:2018 +#: gnu/packages/audio.scm:2136 msgid "" "Control a Jack server. Allows you to plug various sources\n" "into various outputs and to start, stop and configure jackd" msgstr "" -#: gnu/packages/audio.scm:2051 +#: gnu/packages/audio.scm:2169 msgid "Stereo audio recorder for JACK" msgstr "" -#: gnu/packages/audio.scm:2052 +#: gnu/packages/audio.scm:2170 msgid "" "QJackRcd is a simple graphical stereo recorder for JACK\n" "supporting silence processing for automatic pause, file splitting, and\n" "background file post-processing." msgstr "" -#: gnu/packages/audio.scm:2149 +#: gnu/packages/audio.scm:2267 msgid "Synthesis engine and programming language" msgstr "Moteur de synthèse et langage de programmation" -#: gnu/packages/audio.scm:2150 +#: gnu/packages/audio.scm:2268 msgid "" "SuperCollider is a synthesis engine (@code{scsynth} or\n" "@code{supernova}) and programming language (@code{sclang}). It can be used\n" @@ -635,52 +658,52 @@ msgid "" "using GuixSD." msgstr "" -#: gnu/packages/audio.scm:2181 +#: gnu/packages/audio.scm:2299 msgid "Real-time audio utility library" msgstr "" -#: gnu/packages/audio.scm:2183 +#: gnu/packages/audio.scm:2301 msgid "" "Raul (Real-time Audio Utility Library) is a C++ utility library primarily\n" "aimed at audio/musical applications." msgstr "" -#: gnu/packages/audio.scm:2227 +#: gnu/packages/audio.scm:2345 msgid "Audio time-stretching and pitch-shifting library" msgstr "" -#: gnu/packages/audio.scm:2229 +#: gnu/packages/audio.scm:2347 msgid "" "Rubber Band is a library and utility program that permits changing the\n" "tempo and pitch of an audio recording independently of one another." msgstr "" -#: gnu/packages/audio.scm:2277 +#: gnu/packages/audio.scm:2391 msgid "Cross-platform MIDI library for C++" msgstr "" -#: gnu/packages/audio.scm:2279 +#: gnu/packages/audio.scm:2393 msgid "" "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific\n" "classes) that provide a common cross-platform API for realtime MIDI\n" "input/output." msgstr "" -#: gnu/packages/audio.scm:2304 +#: gnu/packages/audio.scm:2418 msgid "Library for serialising LV2 atoms to/from RDF" msgstr "" -#: gnu/packages/audio.scm:2306 +#: gnu/packages/audio.scm:2420 msgid "" "Sratom is a library for serialising LV2 atoms to/from RDF, particularly\n" "the Turtle syntax." msgstr "" -#: gnu/packages/audio.scm:2334 +#: gnu/packages/audio.scm:2448 msgid "Library for loading and wrapping LV2 plugin UIs" msgstr "" -#: gnu/packages/audio.scm:2336 +#: gnu/packages/audio.scm:2450 msgid "" "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.\n" "\n" @@ -692,11 +715,11 @@ msgid "" "Suil currently supports every combination of Gtk, Qt, and X11." msgstr "" -#: gnu/packages/audio.scm:2393 +#: gnu/packages/audio.scm:2507 msgid "Software synthesizer for playing MIDI files" msgstr "" -#: gnu/packages/audio.scm:2395 +#: gnu/packages/audio.scm:2509 msgid "" "TiMidity++ is a software synthesizer. It can play MIDI files by\n" "converting them into PCM waveform data; give it a MIDI data along with digital\n" @@ -705,43 +728,43 @@ msgid "" "disks as various audio file formats." msgstr "" -#: gnu/packages/audio.scm:2433 +#: gnu/packages/audio.scm:2547 msgid "Modular and extensible audio processing system" msgstr "" -#: gnu/packages/audio.scm:2435 +#: gnu/packages/audio.scm:2549 msgid "" "Vamp is an audio processing plugin system for plugins that extract\n" "descriptive information from audio data — typically referred to as audio\n" "analysis plugins or audio feature extraction plugins." msgstr "" -#: gnu/packages/audio.scm:2474 +#: gnu/packages/audio.scm:2588 msgid "Library for time stretching and pitch scaling of audio" msgstr "" -#: gnu/packages/audio.scm:2476 +#: gnu/packages/audio.scm:2590 msgid "" "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time\n" "stretching and pitch scaling of audio. This package contains the library." msgstr "" -#: gnu/packages/audio.scm:2498 +#: gnu/packages/audio.scm:2612 msgid "Hybrid lossless audio codec" msgstr "" -#: gnu/packages/audio.scm:2500 +#: gnu/packages/audio.scm:2614 msgid "" "WavPack is an audio compression format with lossless, lossy and hybrid\n" "compression modes. This package contains command-line programs and library to\n" "encode and decode wavpack files." msgstr "" -#: gnu/packages/audio.scm:2519 +#: gnu/packages/audio.scm:2633 msgid "Mod file playing library" msgstr "" -#: gnu/packages/audio.scm:2521 +#: gnu/packages/audio.scm:2635 msgid "" "Libmodplug renders mod music files as raw audio data, for playing or\n" "conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are\n" @@ -749,33 +772,33 @@ msgid "" "surround and reverb." msgstr "" -#: gnu/packages/audio.scm:2540 +#: gnu/packages/audio.scm:2654 msgid "Module player library" msgstr "" -#: gnu/packages/audio.scm:2542 +#: gnu/packages/audio.scm:2656 msgid "" "Libxmp is a library that renders module files to PCM data. It supports\n" "over 90 mainstream and obscure module formats including Protracker (MOD),\n" "Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT)." msgstr "" -#: gnu/packages/audio.scm:2565 +#: gnu/packages/audio.scm:2679 msgid "Extended module player" msgstr "" -#: gnu/packages/audio.scm:2567 +#: gnu/packages/audio.scm:2681 msgid "" "Xmp is a portable module player that plays over 90 mainstream and\n" "obscure module formats, including Protracker MOD, Fasttracker II XM, Scream\n" "Tracker 3 S3M and Impulse Tracker IT files." msgstr "" -#: gnu/packages/audio.scm:2592 +#: gnu/packages/audio.scm:2709 msgid "Audio processing library for changing tempo, pitch and playback rate" msgstr "" -#: gnu/packages/audio.scm:2594 +#: gnu/packages/audio.scm:2711 msgid "" "SoundTouch is an audio processing library for changing the tempo, pitch\n" "and playback rates of audio streams or audio files. It is intended for\n" @@ -783,11 +806,11 @@ msgid "" "control functionality, or just for playing around with the sound effects." msgstr "" -#: gnu/packages/audio.scm:2631 +#: gnu/packages/audio.scm:2748 msgid "Sound processing utility" msgstr "" -#: gnu/packages/audio.scm:2633 +#: gnu/packages/audio.scm:2750 msgid "" "SoX (Sound eXchange) is a command line utility that can convert\n" "various formats of computer audio files to other formats. It can also\n" @@ -795,92 +818,92 @@ msgid "" "can play and record audio files." msgstr "" -#: gnu/packages/audio.scm:2656 +#: gnu/packages/audio.scm:2773 msgid "One-dimensional sample-rate conversion library" msgstr "" -#: gnu/packages/audio.scm:2658 +#: gnu/packages/audio.scm:2775 msgid "" "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate\n" "conversion. It may be used, for example, to resample PCM-encoded audio." msgstr "" -#: gnu/packages/audio.scm:2688 +#: gnu/packages/audio.scm:2805 msgid "MPEG Audio Layer 2 (MP2) encoder" msgstr "" -#: gnu/packages/audio.scm:2690 +#: gnu/packages/audio.scm:2807 msgid "" "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on\n" "tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and\n" "portions of LAME." msgstr "" -#: gnu/packages/audio.scm:2729 +#: gnu/packages/audio.scm:2840 msgid "Audio I/O library" msgstr "" -#: gnu/packages/audio.scm:2731 +#: gnu/packages/audio.scm:2842 msgid "" "PortAudio is a portable C/C++ audio I/O library providing a simple API\n" "to record and/or play sound using a callback function or a blocking read/write\n" "interface." msgstr "" -#: gnu/packages/audio.scm:2761 +#: gnu/packages/audio.scm:2872 msgid "Graphical user interface for FluidSynth" msgstr "" -#: gnu/packages/audio.scm:2763 +#: gnu/packages/audio.scm:2874 msgid "" "Qsynth is a GUI front-end application for the FluidSynth SoundFont\n" "synthesizer written in C++." msgstr "" -#: gnu/packages/audio.scm:2800 +#: gnu/packages/audio.scm:2911 msgid "Networked audio system" msgstr "" -#: gnu/packages/audio.scm:2802 +#: gnu/packages/audio.scm:2913 msgid "" "RSound allows you to send audio from an application and transfer it\n" "directly to a different computer on your LAN network. It is an audio daemon\n" "with a much different focus than most other audio daemons." msgstr "" -#: gnu/packages/audio.scm:2833 +#: gnu/packages/audio.scm:2944 msgid "JACK audio frequency analyzer and display" msgstr "" -#: gnu/packages/audio.scm:2835 +#: gnu/packages/audio.scm:2946 msgid "" "XJackFreak is an audio analysis and equalizing tool for the Jack Audio\n" "Connection Kit. It can display the FFT of any input, modify it and output the\n" "result." msgstr "" -#: gnu/packages/audio.scm:2881 +#: gnu/packages/audio.scm:2992 msgid "Fast, partitioned convolution engine library" msgstr "" -#: gnu/packages/audio.scm:2883 +#: gnu/packages/audio.scm:2994 msgid "" "Zita convolver is a C++ library providing a real-time convolution\n" "engine." msgstr "" -#: gnu/packages/audio.scm:2930 +#: gnu/packages/audio.scm:3041 msgid "C++ library for resampling audio signals" msgstr "Bibliothèque C++ pour ré-échantillonner des signaux audio" -#: gnu/packages/audio.scm:2932 +#: gnu/packages/audio.scm:3043 msgid "" "Libzita-resampler is a C++ library for resampling audio signals. It is\n" "designed to be used within a real-time processing context, to be fast, and to\n" "provide high-quality sample rate conversion." msgstr "" -#: gnu/packages/audio.scm:2976 +#: gnu/packages/audio.scm:3087 msgid "" "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy\n" "access to ALSA PCM devices, taking care of the many functions required to\n" @@ -888,11 +911,11 @@ msgid "" "point audio data." msgstr "" -#: gnu/packages/audio.scm:3001 +#: gnu/packages/audio.scm:3113 msgid "Cue and toc file parsers and utilities" msgstr "" -#: gnu/packages/audio.scm:3002 +#: gnu/packages/audio.scm:3114 msgid "" "Cuetools is a set of programs that are useful for manipulating\n" "and using CUE sheet (cue) files and Table of Contents (toc) files. CUE and TOC\n" @@ -900,11 +923,11 @@ msgid "" "machine-readable ASCII format." msgstr "" -#: gnu/packages/audio.scm:3021 +#: gnu/packages/audio.scm:3133 msgid "WAVE audio data processing tool" msgstr "" -#: gnu/packages/audio.scm:3022 +#: gnu/packages/audio.scm:3134 msgid "" "shntool is a multi-purpose WAVE data processing and reporting\n" "utility. File formats are abstracted from its core, so it can process any file\n" @@ -913,63 +936,63 @@ msgid "" "use them split WAVE data into multiple files." msgstr "" -#: gnu/packages/audio.scm:3060 +#: gnu/packages/audio.scm:3173 msgid "DTS Coherent Acoustics decoder" msgstr "" -#: gnu/packages/audio.scm:3061 +#: gnu/packages/audio.scm:3174 msgid "" "Dcadec is a DTS Coherent Acoustics surround sound decoder\n" "with support for HD extensions." msgstr "" -#: gnu/packages/audio.scm:3082 +#: gnu/packages/audio.scm:3195 msgid "Tool to adjust loudness of media files" msgstr "" -#: gnu/packages/audio.scm:3084 +#: gnu/packages/audio.scm:3197 msgid "" "BS1770GAIN is a loudness scanner compliant with ITU-R BS.1770 and its\n" "flavors EBU R128, ATSC A/85, and ReplayGain 2.0. It helps normalizing the\n" "loudness of audio and video files to the same level." msgstr "" -#: gnu/packages/audio.scm:3115 +#: gnu/packages/audio.scm:3228 msgid "Lightweight audio filtering library" msgstr "" -#: gnu/packages/audio.scm:3116 +#: gnu/packages/audio.scm:3229 msgid "" "An easy to use audio filtering library made from webrtc\n" "code, used in @code{libtoxcore}." msgstr "" -#: gnu/packages/audio.scm:3160 +#: gnu/packages/audio.scm:3273 msgid "GSM 06.10 lossy speech compression library" msgstr "Bibliothèque de compression de la voix avec perte GSM 06.10" -#: gnu/packages/audio.scm:3161 +#: gnu/packages/audio.scm:3274 msgid "" "This C library provides an encoder and a decoder for the GSM\n" "06.10 RPE-LTP lossy speech compression algorithm." msgstr "" -#: gnu/packages/audio.scm:3182 +#: gnu/packages/audio.scm:3295 msgid "ALSA wrappers for Python" msgstr "" -#: gnu/packages/audio.scm:3184 +#: gnu/packages/audio.scm:3297 msgid "" "This package contains wrappers for accessing the ALSA API from Python.\n" "It is currently fairly complete for PCM devices, and has some support for\n" "mixers." msgstr "" -#: gnu/packages/audio.scm:3222 +#: gnu/packages/audio.scm:3335 msgid "Bluetooth ALSA backend" msgstr "" -#: gnu/packages/audio.scm:3223 +#: gnu/packages/audio.scm:3336 msgid "" "This project is a rebirth of a direct integration between\n" "Bluez and ALSA. Since Bluez >= 5, the build-in integration has been removed\n" @@ -982,22 +1005,22 @@ msgid "" "on the ALSA software PCM plugin." msgstr "" -#: gnu/packages/audio.scm:3285 +#: gnu/packages/audio.scm:3398 msgid "Sound editor" msgstr "Éditeur de son" -#: gnu/packages/audio.scm:3288 +#: gnu/packages/audio.scm:3401 msgid "" "Snd is a sound editor modelled loosely after Emacs. It can be\n" "customized and extended using either the s7 Scheme implementation (included in\n" "the Snd sources), Ruby, or Forth." msgstr "" -#: gnu/packages/audio.scm:3321 +#: gnu/packages/audio.scm:3434 msgid "LV2 plugin for broadband noise reduction" msgstr "" -#: gnu/packages/audio.scm:3322 +#: gnu/packages/audio.scm:3435 msgid "" "Noise Repellent is an LV2 plugin to reduce noise. It has\n" "the following features:\n" @@ -1017,40 +1040,66 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/audio.scm:3390 +#: gnu/packages/audio.scm:3504 msgid "Command-line audio visualizer" msgstr "Visionneuse audio en ligne de commande" -#: gnu/packages/audio.scm:3391 +#: gnu/packages/audio.scm:3505 msgid "" "@code{cli-visualizer} displays fast-Fourier\n" "transforms (FFTs) of the sound being played, as well as other graphical\n" "representations." msgstr "" -#: gnu/packages/audio.scm:3442 +#: gnu/packages/audio.scm:3556 msgid "Console audio visualizer for ALSA, MPD, and PulseAudio" msgstr "" -#: gnu/packages/audio.scm:3443 +#: gnu/packages/audio.scm:3557 msgid "" "C.A.V.A. is a bar audio spectrum visualizer for the terminal\n" "using ALSA, MPD, PulseAudio, or a FIFO buffer as its input." msgstr "" -#: gnu/packages/audio.scm:3476 +#: gnu/packages/audio.scm:3590 msgid "Pro-quality GM soundfont" msgstr "" -#: gnu/packages/audio.scm:3477 +#: gnu/packages/audio.scm:3591 msgid "Fluid-3 is Frank Wen's pro-quality GM soundfont." msgstr "" -#: gnu/packages/backup.scm:120 +#: gnu/packages/audio.scm:3617 +msgid "Fraunhofer FDK AAC library" +msgstr "" + +#: gnu/packages/audio.scm:3618 +msgid "" +"FDK is a library for encoding and decoding Advanced Audio\n" +"Coding (AAC) format audio, developed by Fraunhofer IIS, and included as part of\n" +"Android. It supports several Audio Object Types including MPEG-2 and MPEG-4 AAC\n" +"LC, HE-AAC (AAC LC + SBR), HE-AACv2 (LC + SBR + PS) as well AAC-LD (low delay)\n" +"and AAC-ELD (enhanced low delay) for real-time communication. The encoding\n" +"library supports sample rates up to 96 kHz and up to eight channels (7.1\n" +"surround)." +msgstr "" + +#: gnu/packages/audio.scm:3657 +msgid "Audio editing and playback for OpenShot" +msgstr "" + +#: gnu/packages/audio.scm:3658 +msgid "" +"OpenShot Audio Library (libopenshot-audio) allows\n" +"high-quality editing and playback of audio, and is based on the JUCE\n" +"library." +msgstr "" + +#: gnu/packages/backup.scm:122 msgid "Encrypted backup using rsync algorithm" msgstr "Système de sauvegarde chiffrée utilisant l'algorithme rsync" -#: gnu/packages/backup.scm:122 +#: gnu/packages/backup.scm:124 msgid "" "Duplicity backs up directories by producing encrypted tar-format volumes\n" "and uploading them to a remote or local file server. Because duplicity uses\n" @@ -1066,11 +1115,11 @@ msgstr "" "dernière sauvegarde. L'utilisation de GnuPG pour chiffrer ou signer ces archives\n" "permet de prévenir tout rique d'espionnage ou d'altération par le serveur." -#: gnu/packages/backup.scm:151 +#: gnu/packages/backup.scm:149 msgid "File verification and repair tools" msgstr "" -#: gnu/packages/backup.scm:152 +#: gnu/packages/backup.scm:150 msgid "" "Par2cmdline uses Reed-Solomon error-correcting codes to\n" "generate and verify PAR2 recovery files. These files can be distributed\n" @@ -1082,11 +1131,11 @@ msgid "" "can even repair them." msgstr "" -#: gnu/packages/backup.scm:188 +#: gnu/packages/backup.scm:186 msgid "Simple incremental backup tool" msgstr "Outil simple de sauvegarde incrémentale" -#: gnu/packages/backup.scm:190 +#: gnu/packages/backup.scm:188 msgid "" "Hdup2 is a backup utility, its aim is to make backup really simple. The\n" "backup scheduling is done by means of a cron job. It supports an\n" @@ -1098,11 +1147,11 @@ msgstr "" "supporte un mécanisme d'inclusion et d'exclusion, les sauvegardes distantes,\n" "chiffrées ou morcelées (appelées chunks) permettant un gravure sur CD/DVD aisée." -#: gnu/packages/backup.scm:264 +#: gnu/packages/backup.scm:262 msgid "Multi-format archive and compression library" msgstr "Bibliothèque de compression et d'archivage multi-format" -#: gnu/packages/backup.scm:266 +#: gnu/packages/backup.scm:264 msgid "" "Libarchive provides a flexible interface for reading and writing\n" "archives in various formats such as tar and cpio. Libarchive also supports\n" @@ -1120,11 +1169,11 @@ msgstr "" "l'archive en continu. Notez qu'il n'existe pour l'instant aucun support intégré\n" "pour les accès aléatoires ou les modifications ponctuelles." -#: gnu/packages/backup.scm:324 +#: gnu/packages/backup.scm:322 msgid "Provide a list of files to backup" msgstr "Fournit une liste des fichiers à sauvegarder" -#: gnu/packages/backup.scm:326 +#: gnu/packages/backup.scm:324 msgid "" "Rdup is a utility inspired by rsync and the plan9 way of doing backups.\n" "Rdup itself does not backup anything, it only print a list of absolute\n" @@ -1136,11 +1185,11 @@ msgstr "" "liste de fichiers sur la sortie standard. Des scripts auxiliaires utilisant\n" "cette liste et implantant la stratégie de sauvegarde sont nécessaires." -#: gnu/packages/backup.scm:356 +#: gnu/packages/backup.scm:354 msgid "Tar-compatible archiver" msgstr "Archiveur compatible avec le format tar" -#: gnu/packages/backup.scm:358 +#: gnu/packages/backup.scm:356 msgid "" "Btar is a tar-compatible archiver which allows arbitrary compression and\n" "ciphering, redundancy, differential backup, indexed extraction, multicore\n" @@ -1152,11 +1201,11 @@ msgstr "" "l'extraction indexée, la compression multi-coeurs, la sérialisation des entrées-\n" "sorties et la tolérance aux erreurs d'archivage partielles." -#: gnu/packages/backup.scm:384 +#: gnu/packages/backup.scm:382 msgid "Local/remote mirroring+incremental backup" msgstr "Sauvegarde mirroir/incrémentales, locales ou distantes" -#: gnu/packages/backup.scm:386 +#: gnu/packages/backup.scm:384 msgid "" "Rdiff-backup backs up one directory to another, possibly over a network.\n" "The target directory ends up a copy of the source directory, but extra reverse\n" @@ -1183,11 +1232,11 @@ msgstr "" "différence sera transmise. Enfin, rdiff-backup est simple d'utilisation et la\n" "configuration par défaut sera généralement suffisante." -#: gnu/packages/backup.scm:428 +#: gnu/packages/backup.scm:426 msgid "Deduplicating snapshot backup utility based on rsync" msgstr "Utilitaire de sauvegarde dédupliquées basé sur rsync" -#: gnu/packages/backup.scm:429 +#: gnu/packages/backup.scm:427 msgid "" "rsnapshot is a file system snapshot utility based on rsync.\n" "rsnapshot makes it easy to make periodic snapshots of local machines, and\n" @@ -1200,11 +1249,11 @@ msgstr "" "pour chaque sauvegarde, rsnapshot utilise des liens en dur pour dédupliquer\n" "les fichiers identiques." -#: gnu/packages/backup.scm:464 +#: gnu/packages/backup.scm:480 msgid "Tools & library for data backup and distributed storage" msgstr "Outils et bibliothèque pour la sauvegarde de données et le stockage distribué" -#: gnu/packages/backup.scm:466 +#: gnu/packages/backup.scm:482 msgid "" "Libchop is a set of utilities and library for data backup and\n" "distributed storage. Its main application is @command{chop-backup}, an\n" @@ -1223,11 +1272,11 @@ msgstr "" "le stockage adressable par contenu, le clefs de hash, les arbres de Merkle,\n" "la détection de similarité et la compression sans perte." -#: gnu/packages/backup.scm:578 +#: gnu/packages/backup.scm:606 msgid "Deduplicated, encrypted, authenticated and compressed backups" msgstr "Sauvegardes dédupliquées, chiffrées, authentifiées et compressées" -#: gnu/packages/backup.scm:579 +#: gnu/packages/backup.scm:607 msgid "" "Borg is a deduplicating backup program. Optionally, it\n" "supports compression and authenticated encryption. The main goal of Borg is to\n" @@ -1244,11 +1293,11 @@ msgstr "" "chiffrement authentifié le rend adapté aux sauvegardes vers des cibles qui ne\n" "sont pas de confiance. Borg est un fork de Attic." -#: gnu/packages/backup.scm:625 +#: gnu/packages/backup.scm:653 msgid "Deduplicating backup program" msgstr "Programme de sauvegardes dédupliquées" -#: gnu/packages/backup.scm:626 +#: gnu/packages/backup.scm:654 msgid "" "Attic is a deduplicating backup program. The main goal of\n" "Attic is to provide an efficient and secure way to backup data. The data\n" @@ -1260,11 +1309,11 @@ msgstr "" "technique de déduplication de données utilisée par Attic le rend adapté aux\n" "sauvegardes quotidiennes car seuls les changements sont stockés." -#: gnu/packages/backup.scm:656 +#: gnu/packages/backup.scm:684 msgid "WIM file manipulation library and utilities" msgstr "Bibliothèque et utilitaires de manipulation de fichiers WIM" -#: gnu/packages/backup.scm:657 +#: gnu/packages/backup.scm:685 msgid "" "wimlib is a C library and set of command-line utilities for\n" "creating, modifying, extracting, and mounting archives in the Windows Imaging\n" @@ -1277,40 +1326,46 @@ msgstr "" "directement depuis ou sur des volumes NTFS avec @code{ntfs-3g}, et préserve\n" "les attributs spécifiques à NTFS." -#: gnu/packages/backup.scm:714 -msgid "Easy and secure backup program" -msgstr "Programme de sauvegarde sécurisées et faciles" +#: gnu/packages/backup.scm:742 +msgid "Retired backup program" +msgstr "Programme de sauvegardes obsolète" -#: gnu/packages/backup.scm:715 +#: gnu/packages/backup.scm:744 msgid "" -"Obnam is an easy, secure backup program. Features\n" -"include snapshot backups, data de-duplication and encrypted backups\n" -"using GnuPG. Backups can be stored on local hard disks, or online via\n" -"the SSH SFTP protocol. The backup server, if used, does not require\n" -"any special software, on top of SSH." +"Warning: @uref{https://blog.liw.fi/posts/2017/08/13/retiring_obnam/,\n" +"the Obnam project is retired}. You should use another backup solution instead.\n" +"\n" +"Obnam was an easy, secure backup program. Features included snapshot backups,\n" +"data de-duplication and encrypted backups using GnuPG. Backups can be stored on\n" +"local hard disks, or online via the SSH SFTP protocol. The backup server, if\n" +"used, does not require any special software, on top of SSH." msgstr "" -"Obnam est un programme de sauvegardes sécurisées et faciles. Il permet la\n" +"Attention : @uref{https://blog.liw.fi/posts/2017/08/13/retiring_obnam/,\n" +"le projet Obnam est arrêté}. Vous devriez utiliser une autre solution de sauvegarde\n" +"à la place.\n" +"\n" +"Obnam était un programme de sauvegardes sécurisées et faciles. Il permet la\n" "sauvegarde d'instantanées, la déduplication de données et le chiffrement des\n" "sauvegardes avec GnuPG. Les sauvegardes sont stockées sur les disques locaux\n" "ou en ligne avec le protocole SSH SFTP. Le serveur de sauvegarde, s'il est\n" "utilisé, ne requiert aucun programme spécifique en dehors de SSH." -#: gnu/packages/backup.scm:821 +#: gnu/packages/backup.scm:852 msgid "Fast, disk based, rotating network backup system" msgstr "" -#: gnu/packages/backup.scm:823 +#: gnu/packages/backup.scm:854 msgid "" "With dirvish you can maintain a set of complete images of your\n" "file systems with unattended creation and expiration. A dirvish backup vault\n" "is like a time machine for your data. " msgstr "" -#: gnu/packages/backup.scm:909 +#: gnu/packages/backup.scm:952 msgid "Backup program with multiple revisions, encryption and more" msgstr "" -#: gnu/packages/backup.scm:910 +#: gnu/packages/backup.scm:953 msgid "" "Restic is a program that does backups right and was designed\n" "with the following principles in mind:\n" @@ -1565,43 +1620,43 @@ msgstr "" msgid "The GNU C Library (GNU Hurd variant)" msgstr "La bibliothèque GNU C (variante GNU Hurd)" -#: gnu/packages/base.scm:998 +#: gnu/packages/base.scm:1015 msgid "All the locales supported by the GNU C Library" msgstr "" -#: gnu/packages/base.scm:1000 +#: gnu/packages/base.scm:1017 msgid "" "This package provides all the locales supported by the GNU C Library,\n" "more than 400 in total. To use them set the 'LOCPATH' environment variable to\n" "the 'share/locale' sub-directory of this package." msgstr "" -#: gnu/packages/base.scm:1069 +#: gnu/packages/base.scm:1086 msgid "Small sample of UTF-8 locales" msgstr "" -#: gnu/packages/base.scm:1071 +#: gnu/packages/base.scm:1088 msgid "" "This package provides a small sample of UTF-8 locales mostly useful in\n" "test environments." msgstr "" -#: gnu/packages/base.scm:1089 +#: gnu/packages/base.scm:1106 msgid "Find full path of shell commands" msgstr "" -#: gnu/packages/base.scm:1091 +#: gnu/packages/base.scm:1108 msgid "" "The which program finds the location of executables in PATH, with a\n" "variety of options. It is an alternative to the shell \"type\" built-in\n" "command." msgstr "" -#: gnu/packages/base.scm:1194 +#: gnu/packages/base.scm:1211 msgid "Database of current and historical time zones" msgstr "Base de données des fuseaux horaires courant et historiques" -#: gnu/packages/base.scm:1195 +#: gnu/packages/base.scm:1212 msgid "" "The Time Zone Database (often called tz or zoneinfo)\n" "contains code and data that represent the history of local time for many\n" @@ -1615,22 +1670,22 @@ msgstr "" "pour refléter les changements effectués par les entités politiques aux limites de ces zones,\n" "les décalages UTC et les changements d'heures." -#: gnu/packages/base.scm:1231 +#: gnu/packages/base.scm:1266 msgid "Character set conversion library" msgstr "Bibliothèque de conversion de jeux de caractères" -#: gnu/packages/base.scm:1233 +#: gnu/packages/base.scm:1268 msgid "" "libiconv provides an implementation of the iconv function for systems\n" "that lack it. iconv is used to convert between character encodings in a\n" "program. It supports a wide variety of different encodings." msgstr "" -#: gnu/packages/bittorrent.scm:110 +#: gnu/packages/bittorrent.scm:113 msgid "Fast and easy BitTorrent client" msgstr "" -#: gnu/packages/bittorrent.scm:112 +#: gnu/packages/bittorrent.scm:115 msgid "" "Transmission is a BitTorrent client that comes with graphical,\n" "textual, and Web user interfaces. Transmission also has a daemon for\n" @@ -1638,72 +1693,72 @@ msgid "" "DHT, µTP, PEX and Magnet Links." msgstr "" -#: gnu/packages/bittorrent.scm:144 +#: gnu/packages/bittorrent.scm:147 msgid "BitTorrent library of rtorrent" msgstr "" -#: gnu/packages/bittorrent.scm:146 +#: gnu/packages/bittorrent.scm:149 msgid "" "LibTorrent is a BitTorrent library used by and developed in parallel\n" "with the BitTorrent client rtorrent. It is written in C++ with emphasis on\n" "speed and efficiency." msgstr "" -#: gnu/packages/bittorrent.scm:173 +#: gnu/packages/bittorrent.scm:176 msgid "BitTorrent client with ncurses interface" msgstr "" -#: gnu/packages/bittorrent.scm:175 +#: gnu/packages/bittorrent.scm:178 msgid "" "rTorrent is a BitTorrent client with an ncurses interface. It supports\n" "full encryption, DHT, PEX, and Magnet Links. It can also be controlled via\n" "XML-RPC over SCGI." msgstr "" -#: gnu/packages/bittorrent.scm:208 gnu/packages/bittorrent.scm:249 +#: gnu/packages/bittorrent.scm:209 gnu/packages/bittorrent.scm:250 msgid "Console client for the Transmission BitTorrent daemon" msgstr "" -#: gnu/packages/bittorrent.scm:209 +#: gnu/packages/bittorrent.scm:210 msgid "" "Tremc is a console client, with a curses interface, for the\n" "Transmission BitTorrent daemon." msgstr "" -#: gnu/packages/bittorrent.scm:250 +#: gnu/packages/bittorrent.scm:251 msgid "" "Transmission-remote-cli is a console client, with a curses\n" "interface, for the Transmission BitTorrent daemon. This package is no longer\n" "maintained upstream." msgstr "" -#: gnu/packages/bittorrent.scm:298 +#: gnu/packages/bittorrent.scm:299 msgid "Utility for parallel downloading files" msgstr "" -#: gnu/packages/bittorrent.scm:300 +#: gnu/packages/bittorrent.scm:301 msgid "" "Aria2 is a lightweight, multi-protocol & multi-source command-line\n" "download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.\n" "Aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces." msgstr "" -#: gnu/packages/bittorrent.scm:331 +#: gnu/packages/bittorrent.scm:332 msgid "Universal download manager with GTK+ interface" msgstr "" -#: gnu/packages/bittorrent.scm:333 +#: gnu/packages/bittorrent.scm:334 msgid "" "uGet is portable download manager with GTK+ interface supporting\n" "HTTP, HTTPS, BitTorrent and Metalink, supporting multi-connection\n" "downloads, download scheduling, download rate limiting." msgstr "" -#: gnu/packages/bittorrent.scm:362 +#: gnu/packages/bittorrent.scm:363 msgid "Utility to create BitTorrent metainfo files" msgstr "" -#: gnu/packages/bittorrent.scm:364 +#: gnu/packages/bittorrent.scm:365 msgid "" "mktorrent is a simple command-line utility to create BitTorrent\n" "@dfn{metainfo} files, often known simply as @dfn{torrents}, from both single\n" @@ -1713,22 +1768,22 @@ msgid "" "and will take advantage of multiple processor cores where possible." msgstr "" -#: gnu/packages/bittorrent.scm:404 +#: gnu/packages/bittorrent.scm:416 msgid "Feature complete BitTorrent implementation" msgstr "" -#: gnu/packages/bittorrent.scm:406 +#: gnu/packages/bittorrent.scm:418 msgid "" "libtorrent-rasterbar is a feature complete C++ BitTorrent implementation\n" "focusing on efficiency and scalability. It runs on embedded devices as well as\n" "desktops." msgstr "" -#: gnu/packages/bittorrent.scm:444 +#: gnu/packages/bittorrent.scm:456 msgid "Graphical BitTorrent client" msgstr "" -#: gnu/packages/bittorrent.scm:446 +#: gnu/packages/bittorrent.scm:458 msgid "" "qBittorrent is a BitTorrent client programmed in C++/Qt that uses\n" "libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.\n" @@ -1738,6 +1793,20 @@ msgid "" "features." msgstr "" +#: gnu/packages/bittorrent.scm:493 +msgid "Fully-featured cross-platform ​BitTorrent client" +msgstr "" + +#: gnu/packages/bittorrent.scm:495 +msgid "" +"Deluge contains the common features to BitTorrent clients such as\n" +"Protocol Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange\n" +"(PEX), UPnP, NAT-PMP, Proxy support, Web seeds, global and per-torrent\n" +"speed limits. Deluge heavily utilises the ​libtorrent library. It is\n" +"designed to run as both a normal standalone desktop application and as a\n" +"​client-server." +msgstr "" + #: gnu/packages/certs.scm:68 msgid "Python script to extract .pem data from certificate collection" msgstr "" @@ -1787,42 +1856,42 @@ msgid "" "in compression." msgstr "" -#: gnu/packages/compression.scm:137 +#: gnu/packages/compression.scm:134 msgid "Zip Compression library" msgstr "" -#: gnu/packages/compression.scm:139 +#: gnu/packages/compression.scm:136 msgid "" "Minizip is a minimalistic library that supports compressing,\n" "extracting and viewing ZIP archives. This version is extracted from\n" "the @code{zlib} source." msgstr "" -#: gnu/packages/compression.scm:158 +#: gnu/packages/compression.scm:155 msgid "Replacement for Sun's 'jar' utility" msgstr "" -#: gnu/packages/compression.scm:160 +#: gnu/packages/compression.scm:157 msgid "" "FastJar is an attempt to create a much faster replacement for Sun's 'jar'\n" "utility. Instead of being written in Java, FastJar is written in C." msgstr "" -#: gnu/packages/compression.scm:194 +#: gnu/packages/compression.scm:186 msgid "C library for manipulating POSIX tar files" msgstr "Bibliothèque C pour manipuler des fichiers tar POSIX" -#: gnu/packages/compression.scm:196 +#: gnu/packages/compression.scm:188 msgid "" "libtar is a C library for manipulating POSIX tar files. It handles\n" "adding and extracting files to/from a tar archive." msgstr "" -#: gnu/packages/compression.scm:213 +#: gnu/packages/compression.scm:205 msgid "General file (de)compression (using lzw)" msgstr "" -#: gnu/packages/compression.scm:227 +#: gnu/packages/compression.scm:219 msgid "" "GNU Gzip provides data compression and decompression utilities; the\n" "typical extension is \".gz\". Unlike the \"zip\" format, it compresses a single\n" @@ -1830,11 +1899,11 @@ msgid "" "\".tar.gz\" or \".tgz\", etc." msgstr "" -#: gnu/packages/compression.scm:310 +#: gnu/packages/compression.scm:304 msgid "High-quality data compression program" msgstr "" -#: gnu/packages/compression.scm:312 +#: gnu/packages/compression.scm:306 msgid "" "bzip2 is a freely available, patent free (see below), high-quality data\n" "compressor. It typically compresses files to within 10% to 15% of the best\n" @@ -1843,11 +1912,11 @@ msgid "" "decompression." msgstr "" -#: gnu/packages/compression.scm:333 +#: gnu/packages/compression.scm:327 msgid "Parallel bzip2 compression utility" msgstr "" -#: gnu/packages/compression.scm:335 +#: gnu/packages/compression.scm:329 msgid "" "lbzip2 is a multi-threaded compression utility with support for the\n" "bzip2 compressed file format. lbzip2 can process standard bz2 files in\n" @@ -1857,11 +1926,11 @@ msgid "" "compatible with bzip2 – both at file format and command line level." msgstr "" -#: gnu/packages/compression.scm:365 +#: gnu/packages/compression.scm:359 msgid "Parallel bzip2 implementation" msgstr "" -#: gnu/packages/compression.scm:367 +#: gnu/packages/compression.scm:361 msgid "" "Pbzip2 is a parallel implementation of the bzip2 block-sorting file\n" "compressor that uses pthreads and achieves near-linear speedup on SMP machines.\n" @@ -1869,11 +1938,11 @@ msgid "" "compressed with pbzip2 can be decompressed with bzip2)." msgstr "" -#: gnu/packages/compression.scm:388 +#: gnu/packages/compression.scm:382 msgid "General-purpose data compression" msgstr "" -#: gnu/packages/compression.scm:390 +#: gnu/packages/compression.scm:384 msgid "" "XZ Utils is free general-purpose data compression software with high\n" "compression ratio. XZ Utils were written for POSIX-like systems, but also\n" @@ -1886,11 +1955,11 @@ msgid "" "than gzip and 15 % smaller output than bzip2." msgstr "" -#: gnu/packages/compression.scm:418 +#: gnu/packages/compression.scm:412 msgid "Data compression library suitable for real-time data de-/compression" msgstr "" -#: gnu/packages/compression.scm:420 +#: gnu/packages/compression.scm:414 msgid "" "LZO is a data compression library which is suitable for data\n" "de-/compression in real-time. This means it favours speed over\n" @@ -1900,22 +1969,22 @@ msgid "" "format are designed to be portable across platforms." msgstr "" -#: gnu/packages/compression.scm:456 +#: gnu/packages/compression.scm:450 msgid "Python bindings for the LZO data compression library" msgstr "Liaisons python pour la bibliothèque de compression LZO" -#: gnu/packages/compression.scm:458 +#: gnu/packages/compression.scm:452 msgid "" "Python-LZO provides Python bindings for LZO, i.e. you can access\n" "the LZO library from your Python scripts thereby compressing ordinary\n" "Python strings." msgstr "" -#: gnu/packages/compression.scm:481 +#: gnu/packages/compression.scm:475 msgid "Compress or expand files" msgstr "Compresse et décompresse des fichiers" -#: gnu/packages/compression.scm:483 +#: gnu/packages/compression.scm:477 msgid "" "Lzop is a file compressor which is very similar to gzip. Lzop uses the\n" "LZO data compression library for compression services, and its main advantages\n" @@ -1923,11 +1992,11 @@ msgid "" "some compression ratio)." msgstr "" -#: gnu/packages/compression.scm:502 +#: gnu/packages/compression.scm:496 msgid "Lossless data compressor based on the LZMA algorithm" msgstr "" -#: gnu/packages/compression.scm:504 +#: gnu/packages/compression.scm:498 msgid "" "Lzip is a lossless data compressor with a user interface similar to the\n" "one of gzip or bzip2. Lzip decompresses almost as fast as gzip and compresses\n" @@ -1935,11 +2004,11 @@ msgid "" "archiving. Lzip is a clean implementation of the LZMA algorithm." msgstr "" -#: gnu/packages/compression.scm:523 +#: gnu/packages/compression.scm:517 msgid "Recover and decompress data from damaged lzip files" msgstr "" -#: gnu/packages/compression.scm:525 +#: gnu/packages/compression.scm:519 msgid "" "Lziprecover is a data recovery tool and decompressor for files in the lzip\n" "compressed data format (.lz). It can test the integrity of lzip files, extract\n" @@ -1955,11 +2024,11 @@ msgid "" "decompressors when faced with corrupted input." msgstr "" -#: gnu/packages/compression.scm:567 +#: gnu/packages/compression.scm:561 msgid "Archives in shell scripts, uuencode/uudecode" msgstr "" -#: gnu/packages/compression.scm:569 +#: gnu/packages/compression.scm:563 msgid "" "GNU sharutils is a package for creating and manipulating shell\n" "archives that can be readily emailed. A shell archive is a file that can be\n" @@ -1967,71 +2036,71 @@ msgid "" "This package is mostly for compatibility and historical interest." msgstr "" -#: gnu/packages/compression.scm:600 +#: gnu/packages/compression.scm:594 msgid "Library for SoundFont decompression" msgstr "" -#: gnu/packages/compression.scm:602 +#: gnu/packages/compression.scm:596 msgid "" "SfArkLib is a C++ library for decompressing SoundFont files compressed\n" "with the sfArk algorithm." msgstr "" -#: gnu/packages/compression.scm:636 +#: gnu/packages/compression.scm:631 msgid "Basic sfArk decompressor" msgstr "" -#: gnu/packages/compression.scm:637 +#: gnu/packages/compression.scm:632 msgid "" "SfArk extractor converts SoundFonts in the compressed legacy\n" "sfArk file format to the uncompressed sf2 format." msgstr "" -#: gnu/packages/compression.scm:654 +#: gnu/packages/compression.scm:650 msgid "Compression tools for some formats used by Microsoft" msgstr "" -#: gnu/packages/compression.scm:656 +#: gnu/packages/compression.scm:652 msgid "" "The purpose of libmspack is to provide both compression and\n" "decompression of some loosely related file formats used by Microsoft." msgstr "" -#: gnu/packages/compression.scm:675 +#: gnu/packages/compression.scm:671 msgid "Low-level interface to bzip2 compression library" msgstr "" -#: gnu/packages/compression.scm:676 +#: gnu/packages/compression.scm:672 msgid "" "This module provides a Perl interface to the bzip2\n" "compression library." msgstr "" -#: gnu/packages/compression.scm:710 +#: gnu/packages/compression.scm:706 msgid "Low-level interface to zlib compression library" msgstr "" -#: gnu/packages/compression.scm:711 +#: gnu/packages/compression.scm:707 msgid "" "This module provides a Perl interface to the zlib\n" "compression library." msgstr "" -#: gnu/packages/compression.scm:732 +#: gnu/packages/compression.scm:728 msgid "IO Interface to compressed files/buffers" msgstr "" -#: gnu/packages/compression.scm:733 +#: gnu/packages/compression.scm:729 msgid "" "IO-Compress provides a Perl interface to allow reading and\n" "writing of compressed data created with the zlib and bzip2 libraries." msgstr "" -#: gnu/packages/compression.scm:759 +#: gnu/packages/compression.scm:755 msgid "Compression algorithm focused on speed" msgstr "" -#: gnu/packages/compression.scm:760 +#: gnu/packages/compression.scm:756 msgid "" "LZ4 is a lossless compression algorithm, providing\n" "compression speed at 400 MB/s per core (0.16 Bytes/cycle). It also features an\n" @@ -2040,30 +2109,30 @@ msgid "" "time for compression ratio." msgstr "" -#: gnu/packages/compression.scm:785 +#: gnu/packages/compression.scm:781 msgid "LZ4 bindings for Python" msgstr "Liaisons LZ4 pour Python" -#: gnu/packages/compression.scm:787 +#: gnu/packages/compression.scm:783 msgid "" "This package provides python bindings for the lz4 compression library\n" "by Yann Collet. The project contains bindings for the LZ4 block format and\n" "the LZ4 frame format." msgstr "" -#: gnu/packages/compression.scm:810 +#: gnu/packages/compression.scm:806 msgid "String compression" msgstr "" -#: gnu/packages/compression.scm:811 +#: gnu/packages/compression.scm:807 msgid "Lz-string is a string compressor library for Python." msgstr "" -#: gnu/packages/compression.scm:849 +#: gnu/packages/compression.scm:845 msgid "Tools to create and extract squashfs file systems" msgstr "" -#: gnu/packages/compression.scm:851 +#: gnu/packages/compression.scm:847 msgid "" "Squashfs is a highly compressed read-only file system for Linux. It uses\n" "zlib to compress files, inodes, and directories. All blocks are packed to\n" @@ -2073,21 +2142,21 @@ msgid "" "extract such file systems." msgstr "" -#: gnu/packages/compression.scm:905 +#: gnu/packages/compression.scm:901 msgid "Parallel implementation of gzip" msgstr "" -#: gnu/packages/compression.scm:907 +#: gnu/packages/compression.scm:903 msgid "" "This package provides a parallel implementation of gzip that exploits\n" "multiple processors and multiple cores when compressing data." msgstr "" -#: gnu/packages/compression.scm:931 +#: gnu/packages/compression.scm:927 msgid "Parallel indexing implementation of LZMA" msgstr "" -#: gnu/packages/compression.scm:933 +#: gnu/packages/compression.scm:929 msgid "" "The existing XZ Utils provide great compression in the .xz file format,\n" "but they produce just one big block of compressed data. Pixz instead produces\n" @@ -2096,11 +2165,11 @@ msgid "" "tarballs." msgstr "" -#: gnu/packages/compression.scm:975 +#: gnu/packages/compression.scm:971 msgid "Implementation of the Brotli compression algorithm" msgstr "" -#: gnu/packages/compression.scm:977 +#: gnu/packages/compression.scm:973 msgid "" "Brotli is a general-purpose lossless compression algorithm. It is\n" "similar in speed to deflate but offers denser compression. This package\n" @@ -2108,19 +2177,32 @@ msgid "" "respectively, based on the reference implementation from Google." msgstr "" -#: gnu/packages/compression.scm:1001 +#: gnu/packages/compression.scm:1007 +msgid "Patch binary files" +msgstr "" + +#: gnu/packages/compression.scm:1009 +msgid "" +"@command{bsdiff} and @command{bspatch} are tools for building and\n" +"applying patches to binary files. By using suffix sorting (specifically\n" +"Larsson and Sadakane's @code{qsufsort}) and taking advantage of how\n" +"executable files change, bsdiff routinely produces binary patches 50-80%\n" +"smaller than those produced by @code{Xdelta}." +msgstr "" + +#: gnu/packages/compression.scm:1055 msgid "Tool to unpack Cabinet archives" msgstr "" -#: gnu/packages/compression.scm:1002 +#: gnu/packages/compression.scm:1056 msgid "Extracts files out of Microsoft Cabinet (.cab) archives" msgstr "" -#: gnu/packages/compression.scm:1036 +#: gnu/packages/compression.scm:1089 msgid "Delta encoder for binary files" msgstr "" -#: gnu/packages/compression.scm:1037 +#: gnu/packages/compression.scm:1090 msgid "" "xdelta encodes only the differences between two binary files\n" "using the VCDIFF algorithm and patch file format described in RFC 3284. It can\n" @@ -2129,11 +2211,11 @@ msgid "" "human-readable output." msgstr "" -#: gnu/packages/compression.scm:1070 +#: gnu/packages/compression.scm:1123 msgid "Large file compressor with a very high compression ratio" msgstr "" -#: gnu/packages/compression.scm:1071 +#: gnu/packages/compression.scm:1124 msgid "" "lrzip is a compression utility that uses long-range\n" "redundancy reduction to improve the subsequent compression ratio of\n" @@ -2144,22 +2226,22 @@ msgid "" "well as bzip2." msgstr "" -#: gnu/packages/compression.scm:1101 +#: gnu/packages/compression.scm:1154 msgid "Filter for improving compression of typed binary data" msgstr "" -#: gnu/packages/compression.scm:1102 +#: gnu/packages/compression.scm:1155 msgid "" "Bitshuffle is an algorithm that rearranges typed, binary data\n" "for improving compression, as well as a python/C package that implements this\n" "algorithm within the Numpy framework." msgstr "" -#: gnu/packages/compression.scm:1123 +#: gnu/packages/compression.scm:1176 msgid "Fast compressor/decompressor" msgstr "" -#: gnu/packages/compression.scm:1124 +#: gnu/packages/compression.scm:1177 msgid "" "Snappy is a compression/decompression library. It does not\n" "aim for maximum compression, or compatibility with any other compression library;\n" @@ -2169,63 +2251,63 @@ msgid "" "100% bigger." msgstr "" -#: gnu/packages/compression.scm:1253 +#: gnu/packages/compression.scm:1306 msgid "Compression/decompression algorithm in Java" msgstr "" -#: gnu/packages/compression.scm:1254 +#: gnu/packages/compression.scm:1307 msgid "" -"Snappy-java is a Java port of the snappy, a fast C++\n" -"compresser/decompresser." +"Snappy-java is a Java port of snappy, a fast C++\n" +"compressor/decompressor." msgstr "" -#: gnu/packages/compression.scm:1359 +#: gnu/packages/compression.scm:1412 msgid "Java port of the Snappy (de)compressor" msgstr "" -#: gnu/packages/compression.scm:1361 +#: gnu/packages/compression.scm:1414 msgid "" "Iq80-snappy is a port of the Snappy compressor and decompressor rewritten\n" "in pure Java. This compression code produces a byte-for-byte exact copy of the\n" "output created by the original C++ code, and is extremely fast." msgstr "" -#: gnu/packages/compression.scm:1400 +#: gnu/packages/compression.scm:1453 msgid "Java bzip2 compression/decompression library" msgstr "Bibliothèque de compression et décompression bzip2 pour Java" -#: gnu/packages/compression.scm:1401 +#: gnu/packages/compression.scm:1454 msgid "" "Jbzip2 is a Java bzip2 compression/decompression library.\n" "It can be used as a replacement for the Apache @code{CBZip2InputStream} /\n" "@code{CBZip2OutputStream} classes." msgstr "" -#: gnu/packages/compression.scm:1467 +#: gnu/packages/compression.scm:1520 msgid "Command-line file archiver with high compression ratio" msgstr "" -#: gnu/packages/compression.scm:1468 +#: gnu/packages/compression.scm:1521 msgid "" "p7zip is a command-line port of 7-Zip, a file archiver that\n" "handles the 7z format which features very high compression ratios." msgstr "" -#: gnu/packages/compression.scm:1509 +#: gnu/packages/compression.scm:1562 msgid "Compressed C++ iostream" msgstr "" -#: gnu/packages/compression.scm:1510 +#: gnu/packages/compression.scm:1563 msgid "" "gzstream is a small library for providing zlib\n" "functionality in a C++ iostream." msgstr "" -#: gnu/packages/compression.scm:1559 +#: gnu/packages/compression.scm:1612 msgid "Incremental journaling archiver" msgstr "" -#: gnu/packages/compression.scm:1560 +#: gnu/packages/compression.scm:1613 msgid "" "ZPAQ is a command-line archiver for realistic situations with\n" "many duplicate and already compressed files. It backs up only those files\n" @@ -2239,21 +2321,21 @@ msgid "" "or junctions, and always follows hard links." msgstr "" -#: gnu/packages/compression.scm:1642 +#: gnu/packages/compression.scm:1695 msgid "Extract CAB files from InstallShield installers" msgstr "" -#: gnu/packages/compression.scm:1644 +#: gnu/packages/compression.scm:1697 msgid "" "@command{unshield} is a tool and library for extracting @file{.cab}\n" " archives from InstallShield installers." msgstr "" -#: gnu/packages/compression.scm:1675 +#: gnu/packages/compression.scm:1727 msgid "Zstandard real-time compression algorithm" msgstr "" -#: gnu/packages/compression.scm:1676 +#: gnu/packages/compression.scm:1728 msgid "" "Zstandard (@command{zstd}) is a lossless compression algorithm\n" "that combines very fast operation with a compression ratio comparable to that of\n" @@ -2263,11 +2345,11 @@ msgid "" "speed." msgstr "" -#: gnu/packages/compression.scm:1718 +#: gnu/packages/compression.scm:1770 msgid "Threaded implementation of the Zstandard compression algorithm" msgstr "" -#: gnu/packages/compression.scm:1719 +#: gnu/packages/compression.scm:1771 msgid "" "Parallel Zstandard (PZstandard or @command{pzstd}) is a\n" "multi-threaded implementation of the @uref{http://zstd.net/, Zstandard\n" @@ -2280,11 +2362,11 @@ msgid "" "the actual decompression, the other input and output." msgstr "" -#: gnu/packages/compression.scm:1757 +#: gnu/packages/compression.scm:1809 msgid "Compression and file packing utility" msgstr "Utilitaire de compression et de paquetage de fichiers" -#: gnu/packages/compression.scm:1759 +#: gnu/packages/compression.scm:1811 msgid "" "Zip is a compression and file packaging/archive utility. Zip is useful\n" "for packaging a set of files for distribution, for archiving files, and for\n" @@ -2312,11 +2394,11 @@ msgstr "" "pour chaque fichier.Des ratios de compression de 2 à 3 sont généralement\n" "atteignables pour les fichiers texte." -#: gnu/packages/compression.scm:1821 +#: gnu/packages/compression.scm:1873 msgid "Decompression and file extraction utility" msgstr "Utilitaire de décompression et d'extraction de fichiers" -#: gnu/packages/compression.scm:1823 +#: gnu/packages/compression.scm:1875 msgid "" "UnZip is an extraction utility for archives compressed in .zip format,\n" "also called \"zipfiles\".\n" @@ -2333,19 +2415,19 @@ msgstr "" "vers le répertoire courant et ses sous-répertoires. Unzip recrée par défaut la\n" "structure des répertoires contenus dans l'archive." -#: gnu/packages/compression.scm:1854 +#: gnu/packages/compression.scm:1906 msgid "Library for accessing zip files" msgstr "Bibliothèque de manipulation des fichiers zip" -#: gnu/packages/compression.scm:1856 +#: gnu/packages/compression.scm:1908 msgid "ZZipLib is a library based on zlib for accessing zip files." msgstr "ZZipLib est une bibliothèque basée sur zlip pour la manipulation de fichiers zip." -#: gnu/packages/compression.scm:1878 +#: gnu/packages/compression.scm:1930 msgid "Provides an interface to Zip archive files" msgstr "Fournit une interface pour les fichiers d'archives ZIP" -#: gnu/packages/compression.scm:1879 +#: gnu/packages/compression.scm:1931 msgid "" "The @code{Archive::Zip} module allows a Perl program to\n" "create, manipulate, read, and write Zip archive files." @@ -2353,11 +2435,11 @@ msgstr "" "Le module @code{Archive::Zip} permet à un programme Perl de créer,\n" "manipuler, lire et écrire des fichiers d'archives Zip." -#: gnu/packages/compression.scm:1901 +#: gnu/packages/compression.scm:1953 msgid "C library for reading, creating, and modifying zip archives" msgstr "" -#: gnu/packages/compression.scm:1902 +#: gnu/packages/compression.scm:1954 msgid "" "Libzip is a C library for reading, creating, and modifying\n" "zip archives. Files can be added from data buffers, files, or compressed data\n" @@ -2365,11 +2447,11 @@ msgid "" "archive can be reverted." msgstr "" -#: gnu/packages/compression.scm:1935 +#: gnu/packages/compression.scm:1987 msgid "Universal tool to manage file archives of various types" msgstr "" -#: gnu/packages/compression.scm:1936 +#: gnu/packages/compression.scm:1988 msgid "" "The main command is @command{aunpack} which extracts files\n" "from an archive. The other commands provided are @command{apack} (to create\n" @@ -2379,11 +2461,11 @@ msgid "" "of archives." msgstr "" -#: gnu/packages/compression.scm:1958 +#: gnu/packages/compression.scm:2010 msgid "Generic archive extracting mechanism" msgstr "" -#: gnu/packages/compression.scm:1959 +#: gnu/packages/compression.scm:2011 msgid "" "It allows you to extract any archive file of the type .tar,\n" ".tar.gz, .gz, .Z, tar.bz2, .tbz, .bz2, .zip, .xz,, .txz, .tar.xz or .lzma\n" @@ -2391,21 +2473,21 @@ msgid "" "type by using either Perl modules, or command-line tools on your system." msgstr "" -#: gnu/packages/compression.scm:1995 +#: gnu/packages/compression.scm:2047 msgid "XZ in Java" msgstr "" -#: gnu/packages/compression.scm:1996 +#: gnu/packages/compression.scm:2048 msgid "" "Tukaani-xz is an implementation of xz compression/decompression\n" "algorithms in Java." msgstr "" -#: gnu/packages/compression.scm:2016 +#: gnu/packages/compression.scm:2068 msgid "Small, stand-alone lzip decompressor" msgstr "" -#: gnu/packages/compression.scm:2018 +#: gnu/packages/compression.scm:2070 msgid "" "Lunzip is a decompressor for files in the lzip compression format (.lz),\n" "written as a single small C tool with no dependencies. This makes it\n" @@ -2415,11 +2497,11 @@ msgid "" "Lunzip is intended to be fully compatible with the regular lzip package." msgstr "" -#: gnu/packages/compression.scm:2043 +#: gnu/packages/compression.scm:2095 msgid "Small, stand-alone lzip compressor and decompressor" msgstr "Compresseur et décompresseur lzip léger et autonome" -#: gnu/packages/compression.scm:2045 +#: gnu/packages/compression.scm:2097 msgid "" "Clzip is a compressor and decompressor for files in the lzip compression\n" "format (.lz), written as a single small C tool with no dependencies. This makes\n" @@ -2428,11 +2510,11 @@ msgid "" "Clzip is intended to be fully compatible with the regular lzip package." msgstr "" -#: gnu/packages/compression.scm:2072 +#: gnu/packages/compression.scm:2124 msgid "Lzip data compression C library" msgstr "Bibliothèque C de compression lzip" -#: gnu/packages/compression.scm:2074 +#: gnu/packages/compression.scm:2126 msgid "" "Lzlib is a C library for in-memory LZMA compression and decompression in\n" "the lzip format. It supports integrity checking of the decompressed data, and\n" @@ -2440,11 +2522,11 @@ msgid "" "corrupted input." msgstr "" -#: gnu/packages/compression.scm:2096 +#: gnu/packages/compression.scm:2148 msgid "Parallel lossless data compressor for the lzip format" msgstr "" -#: gnu/packages/compression.scm:2098 +#: gnu/packages/compression.scm:2150 msgid "" "Plzip is a massively parallel (multi-threaded) lossless data compressor\n" "and decompressor that uses the lzip file format (.lz). Files produced by plzip\n" @@ -2458,21 +2540,21 @@ msgid "" "single-member files which can't be decompressed in parallel." msgstr "" -#: gnu/packages/compression.scm:2132 +#: gnu/packages/compression.scm:2184 msgid "Tool for extracting Inno Setup installers" msgstr "" -#: gnu/packages/compression.scm:2133 +#: gnu/packages/compression.scm:2185 msgid "" "innoextract allows extracting Inno Setup installers under\n" "non-Windows systems without running the actual installer using wine." msgstr "" -#: gnu/packages/compression.scm:2169 +#: gnu/packages/compression.scm:2221 msgid "General-purpose lossless compression" msgstr "" -#: gnu/packages/compression.scm:2170 +#: gnu/packages/compression.scm:2222 msgid "" "This package provides the reference implementation of Brotli,\n" "a generic-purpose lossless compression algorithm that compresses data using a\n" @@ -2484,11 +2566,11 @@ msgid "" "The specification of the Brotli Compressed Data Format is defined in RFC 7932." msgstr "" -#: gnu/packages/compression.scm:2193 +#: gnu/packages/compression.scm:2245 msgid "Portable lossless data compression library" msgstr "Bibliothèque de compression de données sans perte portable" -#: gnu/packages/compression.scm:2194 +#: gnu/packages/compression.scm:2246 msgid "" "UCL implements a number of compression algorithms that\n" "achieve an excellent compression ratio while allowing fast decompression.\n" @@ -2498,11 +2580,11 @@ msgid "" "decompression is a little bit slower." msgstr "" -#: gnu/packages/compression.scm:2250 +#: gnu/packages/compression.scm:2302 msgid "Compression tool for executables" msgstr "Outil de compression pour les exécutables" -#: gnu/packages/compression.scm:2252 +#: gnu/packages/compression.scm:2304 msgid "" "The Ultimate Packer for eXecutables (UPX) is an executable file\n" "compressor. UPX typically reduces the file size of programs and shared\n" @@ -2510,43 +2592,43 @@ msgid "" "download times, and other distribution and storage costs." msgstr "" -#: gnu/packages/databases.scm:158 +#: gnu/packages/databases.scm:159 msgid "Clustered RDF storage and query engine" msgstr "" -#: gnu/packages/databases.scm:159 +#: gnu/packages/databases.scm:160 msgid "" "4store is a RDF/SPARQL store written in C, supporting\n" "either single machines or networked clusters." msgstr "" -#: gnu/packages/databases.scm:178 +#: gnu/packages/databases.scm:179 msgid "Hash library of database functions compatible with traditional dbm" msgstr "" -#: gnu/packages/databases.scm:180 +#: gnu/packages/databases.scm:181 msgid "" "GDBM is a library for manipulating hashed databases. It is used to\n" "store key/value pairs in a file in a manner similar to the Unix dbm library\n" "and provides interfaces to the traditional file format." msgstr "" -#: gnu/packages/databases.scm:221 +#: gnu/packages/databases.scm:222 msgid "@code{mgo} offers a rich MongoDB driver for Go." msgstr "" -#: gnu/packages/databases.scm:223 +#: gnu/packages/databases.scm:224 msgid "" "@code{mgo} (pronounced as mango) is a MongoDB driver for the Go language.\n" "It implements a rich selection of features under a simple API following\n" "standard Go idioms." msgstr "" -#: gnu/packages/databases.scm:273 +#: gnu/packages/databases.scm:274 msgid "Berkeley database" msgstr "Base de données Berkeley" -#: gnu/packages/databases.scm:275 +#: gnu/packages/databases.scm:276 msgid "" "Berkeley DB is an embeddable database allowing developers the choice of\n" "SQL, Key/Value, XML/XQuery or Java Object storage for their data model." @@ -2555,34 +2637,34 @@ msgstr "" "le choix de SQL, clé/valeur, XML/XQuery ou Java Object Storage pour leur\n" "modèle de données." -#: gnu/packages/databases.scm:352 +#: gnu/packages/databases.scm:353 msgid "Utility for dumping and restoring ElasticSearch indexes" msgstr "" -#: gnu/packages/databases.scm:354 +#: gnu/packages/databases.scm:355 msgid "" "This package provides a utility for dumping the contents of an\n" "ElasticSearch index to a compressed file and restoring the dumpfile back to an\n" "ElasticSearch server" msgstr "" -#: gnu/packages/databases.scm:392 +#: gnu/packages/databases.scm:393 msgid "Fast key-value storage library" msgstr "" -#: gnu/packages/databases.scm:394 +#: gnu/packages/databases.scm:395 msgid "" "LevelDB is a fast key-value storage library that provides an ordered\n" "mapping from string keys to string values." msgstr "" -#: gnu/packages/databases.scm:415 -msgid "In memory caching service" +#: gnu/packages/databases.scm:416 +msgid "In-memory caching service" msgstr "" -#: gnu/packages/databases.scm:416 +#: gnu/packages/databases.scm:417 msgid "" -"Memcached is a in memory key value store. It has a small\n" +"Memcached is an in-memory key-value store. It has a small\n" "and generic API, and was originally intended for use with dynamic web\n" "applications." msgstr "" @@ -2599,11 +2681,11 @@ msgid "" "RDBMS systems (which are deep in functionality)." msgstr "" -#: gnu/packages/databases.scm:620 +#: gnu/packages/databases.scm:613 msgid "Fast, easy to use, and popular database" msgstr "Base de données rapide, facile d'utilisation et populaire" -#: gnu/packages/databases.scm:622 +#: gnu/packages/databases.scm:615 msgid "" "MySQL is a fast, reliable, and easy to use relational database\n" "management system that supports the standardized Structured Query\n" @@ -2612,21 +2694,21 @@ msgstr "" "MySQL est un système de gestion de base de données relationnelle rapide,\n" " fiable et facile d'emploi, supportant le SQL standardisé." -#: gnu/packages/databases.scm:699 +#: gnu/packages/databases.scm:797 msgid "SQL database server" msgstr "" -#: gnu/packages/databases.scm:701 +#: gnu/packages/databases.scm:799 msgid "" "MariaDB is a multi-user and multi-threaded SQL database server, designed\n" "as a drop-in replacement of MySQL." msgstr "" -#: gnu/packages/databases.scm:739 +#: gnu/packages/databases.scm:838 msgid "Powerful object-relational database system" msgstr "Système de base de données relationnelle puissant" -#: gnu/packages/databases.scm:741 +#: gnu/packages/databases.scm:840 msgid "" "PostgreSQL is a powerful object-relational database system. It is fully\n" "ACID compliant, has full support for foreign keys, joins, views, triggers, and\n" @@ -2642,11 +2724,21 @@ msgstr "" "INTERVAL et TIMESTAMP. Il supporte aussi le stockage binaire de grands objets, dont\n" "les images, le son et la vidéo." -#: gnu/packages/databases.scm:780 +#: gnu/packages/databases.scm:880 +msgid "Pure-Python MySQL driver" +msgstr "" + +#: gnu/packages/databases.scm:882 +msgid "" +"PyMySQL is a pure-Python MySQL client library, based on PEP 249.\n" +"Most public APIs are compatible with @command{mysqlclient} and MySQLdb." +msgstr "" + +#: gnu/packages/databases.scm:907 msgid "Key-value database" msgstr "Base de données clef-valeur" -#: gnu/packages/databases.scm:781 +#: gnu/packages/databases.scm:908 msgid "" "QDBM is a library of routines for managing a\n" "database. The database is a simple data file containing key-value\n" @@ -2656,11 +2748,11 @@ msgid "" "organized in a hash table or B+ tree." msgstr "" -#: gnu/packages/databases.scm:836 +#: gnu/packages/databases.scm:963 msgid "Manipulate plain text files as databases" msgstr "Manipule les fichiers texte comme des bases de données" -#: gnu/packages/databases.scm:838 +#: gnu/packages/databases.scm:965 msgid "" "GNU Recutils is a set of tools and libraries for creating and\n" "manipulating text-based, human-editable databases. Despite being text-based,\n" @@ -2675,11 +2767,11 @@ msgstr "" "les timestamps et plus encore. De nombreux types de champs sont supportés, tout comme\n" "le chiffrement." -#: gnu/packages/databases.scm:934 +#: gnu/packages/databases.scm:1061 msgid "Persistent key-value store for fast storage" msgstr "" -#: gnu/packages/databases.scm:936 +#: gnu/packages/databases.scm:1063 msgid "" "RocksDB is a library that forms the core building block for a fast\n" "key-value server, especially suited for storing data on flash drives. It\n" @@ -2690,11 +2782,11 @@ msgid "" "data in a single database. RocksDB is partially based on @code{LevelDB}." msgstr "" -#: gnu/packages/databases.scm:996 +#: gnu/packages/databases.scm:1123 msgid "Command-line tool for accessing SPARQL endpoints over HTTP" msgstr "" -#: gnu/packages/databases.scm:997 +#: gnu/packages/databases.scm:1124 msgid "" "Sparql-query is a command-line tool for accessing SPARQL\n" "endpoints over HTTP. It has been intentionally designed to 'feel' similar to\n" @@ -2705,11 +2797,23 @@ msgid "" "for example from a shell script." msgstr "" -#: gnu/packages/databases.scm:1039 +#: gnu/packages/databases.scm:1158 +msgid "Text console-based database viewer and editor" +msgstr "" + +#: gnu/packages/databases.scm:1160 +msgid "" +"SQLcrush lets you view and edit a database directly from the text\n" +"console through an ncurses interface. You can explore each table's structure,\n" +"browse and edit the contents, add and delete entries, all while tracking your\n" +"changes." +msgstr "" + +#: gnu/packages/databases.scm:1197 msgid "The SQLite database management system" msgstr "Le système de gestion de bases de données SQLite" -#: gnu/packages/databases.scm:1041 +#: gnu/packages/databases.scm:1199 msgid "" "SQLite is a software library that implements a self-contained, serverless,\n" "zero-configuration, transactional SQL database engine. SQLite is the most\n" @@ -2721,11 +2825,11 @@ msgstr "" "SQLite est le moteur de bases de données SQL le plus déployé de part le monde.\n" "Le code source de SQLite est dans le domaine public." -#: gnu/packages/databases.scm:1099 +#: gnu/packages/databases.scm:1255 msgid "Trivial database" msgstr "Base de données triviale" -#: gnu/packages/databases.scm:1101 +#: gnu/packages/databases.scm:1257 msgid "" "TDB is a Trivial Database. In concept, it is very much like GDBM,\n" "and BSD's DB except that it allows multiple simultaneous writers and uses\n" @@ -2737,19 +2841,19 @@ msgstr "" "accès simultanés en écriture et utilise un verrouillage interne pour éviter les\n" "empiétements. Notez que TDB est aussi très léger." -#: gnu/packages/databases.scm:1120 +#: gnu/packages/databases.scm:1276 msgid "Database independent interface for Perl" msgstr "Interface de base de données pour Perl" -#: gnu/packages/databases.scm:1121 +#: gnu/packages/databases.scm:1277 msgid "This package provides an database interface for Perl." msgstr "Ce paquet fournit une interface de base de données pour Perl." -#: gnu/packages/databases.scm:1169 +#: gnu/packages/databases.scm:1325 msgid "Extensible and flexible object <-> relational mapper" msgstr "" -#: gnu/packages/databases.scm:1170 +#: gnu/packages/databases.scm:1326 msgid "" "An SQL to OO mapper with an object API inspired by\n" "Class::DBI (with a compatibility layer as a springboard for porting) and a\n" @@ -2761,21 +2865,21 @@ msgid "" "\"ORDER BY\" and \"HAVING\" support." msgstr "" -#: gnu/packages/databases.scm:1201 +#: gnu/packages/databases.scm:1357 msgid "Cursor with built-in caching support" msgstr "" -#: gnu/packages/databases.scm:1202 +#: gnu/packages/databases.scm:1358 msgid "" "DBIx::Class::Cursor::Cached provides a cursor class with\n" "built-in caching support." msgstr "" -#: gnu/packages/databases.scm:1224 +#: gnu/packages/databases.scm:1380 msgid "Introspect many-to-many relationships" msgstr "" -#: gnu/packages/databases.scm:1225 +#: gnu/packages/databases.scm:1381 msgid "" "Because the many-to-many relationships are not real\n" "relationships, they can not be introspected with DBIx::Class. Many-to-many\n" @@ -2785,22 +2889,22 @@ msgid "" "introspected and examined." msgstr "" -#: gnu/packages/databases.scm:1283 +#: gnu/packages/databases.scm:1439 msgid "Create a DBIx::Class::Schema based on a database" msgstr "" -#: gnu/packages/databases.scm:1284 +#: gnu/packages/databases.scm:1440 msgid "" "DBIx::Class::Schema::Loader automates the definition of a\n" "DBIx::Class::Schema by scanning database table definitions and setting up the\n" "columns, primary keys, unique constraints and relationships." msgstr "" -#: gnu/packages/databases.scm:1308 +#: gnu/packages/databases.scm:1464 msgid "DBI PostgreSQL interface" msgstr "Interface DBI PostgreSQL" -#: gnu/packages/databases.scm:1309 +#: gnu/packages/databases.scm:1465 msgid "" "This package provides a PostgreSQL driver for the Perl5\n" "@dfn{Database Interface} (DBI)." @@ -2808,11 +2912,11 @@ msgstr "" "Ce paquet fournit un pilote PostgreSQL pour la @dfn{Database Interface}\n" "(DBI) de Perl5." -#: gnu/packages/databases.scm:1333 +#: gnu/packages/databases.scm:1502 msgid "DBI MySQL interface" msgstr "Interface DBI MySQL" -#: gnu/packages/databases.scm:1334 +#: gnu/packages/databases.scm:1503 msgid "" "This package provides a MySQL driver for the Perl5\n" "@dfn{Database Interface} (DBI)." @@ -2820,11 +2924,11 @@ msgstr "" "Ce paquet fournit un pilote MySQL pour la @dfn{Database Interface}\n" "(DBI) de Perl5." -#: gnu/packages/databases.scm:1353 +#: gnu/packages/databases.scm:1522 msgid "SQlite interface for Perl" msgstr "Interface SQLite pour Perl" -#: gnu/packages/databases.scm:1354 +#: gnu/packages/databases.scm:1523 msgid "" "DBD::SQLite is a Perl DBI driver for SQLite, that includes\n" "the entire thing in the distribution. So in order to get a fast transaction\n" @@ -2835,11 +2939,11 @@ msgstr "" "de la distribution. Donc il suffit d'installer ce module dans votre projet\n" "pour obtenir un RDBMS capable de transactions rapides et rien d'autre." -#: gnu/packages/databases.scm:1385 +#: gnu/packages/databases.scm:1554 msgid "Generate SQL from Perl data structures" msgstr "" -#: gnu/packages/databases.scm:1386 +#: gnu/packages/databases.scm:1555 msgid "" "This module was inspired by the excellent DBIx::Abstract.\n" "While based on the concepts used by DBIx::Abstract, the concepts used have\n" @@ -2849,32 +2953,32 @@ msgid "" "time your data changes." msgstr "" -#: gnu/packages/databases.scm:1415 +#: gnu/packages/databases.scm:1584 msgid "Split SQL code into atomic statements" msgstr "" -#: gnu/packages/databases.scm:1416 +#: gnu/packages/databases.scm:1585 msgid "" "This module tries to split any SQL code, even including\n" "non-standard extensions, into the atomic statements it is composed of." msgstr "" -#: gnu/packages/databases.scm:1434 +#: gnu/packages/databases.scm:1603 msgid "SQL tokenizer" msgstr "" -#: gnu/packages/databases.scm:1435 +#: gnu/packages/databases.scm:1604 msgid "" "SQL::Tokenizer is a tokenizer for SQL queries. It does not\n" "claim to be a parser or query verifier. It just creates sane tokens from a\n" "valid SQL query." msgstr "" -#: gnu/packages/databases.scm:1453 +#: gnu/packages/databases.scm:1622 msgid "Data source abstraction library" msgstr "Bibliothèque d'abstraction de source de données" -#: gnu/packages/databases.scm:1454 +#: gnu/packages/databases.scm:1623 msgid "" "Unixodbc is a library providing an API with which to access\n" "data sources. Data sources include SQL Servers and any software with an ODBC\n" @@ -2884,11 +2988,11 @@ msgstr "" "d'accéder à des sources de données. Ces sources incluent des serveurs SQL\n" "où tout logiciel avec un driver ODBC." -#: gnu/packages/databases.scm:1478 +#: gnu/packages/databases.scm:1647 msgid "In-memory key/value and document store" msgstr "" -#: gnu/packages/databases.scm:1480 +#: gnu/packages/databases.scm:1649 msgid "" "UnQLite is an in-process software library which implements a\n" "self-contained, serverless, zero-configuration, transactional NoSQL\n" @@ -2897,33 +3001,33 @@ msgid "" "similar to BerkeleyDB, LevelDB, etc." msgstr "" -#: gnu/packages/databases.scm:1508 +#: gnu/packages/databases.scm:1677 msgid "Key-value cache and store" msgstr "" -#: gnu/packages/databases.scm:1509 +#: gnu/packages/databases.scm:1678 msgid "" "Redis is an advanced key-value cache and store. Redis\n" "supports many data structures including strings, hashes, lists, sets, sorted\n" "sets, bitmaps and hyperloglogs." msgstr "" -#: gnu/packages/databases.scm:1536 +#: gnu/packages/databases.scm:1705 msgid "Kyoto Cabinet is a modern implementation of the DBM database" msgstr "" -#: gnu/packages/databases.scm:1538 +#: gnu/packages/databases.scm:1707 msgid "" "Kyoto Cabinet is a standalone file-based database that supports Hash\n" "and B+ Tree data storage models. It is a fast key-value lightweight\n" "database and supports many programming languages. It is a NoSQL database." msgstr "" -#: gnu/packages/databases.scm:1564 +#: gnu/packages/databases.scm:1733 msgid "Tokyo Cabinet is a modern implementation of the DBM database" msgstr "" -#: gnu/packages/databases.scm:1566 +#: gnu/packages/databases.scm:1735 msgid "" "Tokyo Cabinet is a library of routines for managing a database.\n" "The database is a simple data file containing records, each is a pair of a\n" @@ -2933,11 +3037,11 @@ msgid "" "organized in hash table, B+ tree, or fixed-length array." msgstr "" -#: gnu/packages/databases.scm:1602 +#: gnu/packages/databases.scm:1771 msgid "NoSQL data engine" msgstr "" -#: gnu/packages/databases.scm:1604 +#: gnu/packages/databases.scm:1773 msgid "" "WiredTiger is an extensible platform for data management. It supports\n" "row-oriented storage (where all columns of a row are stored together),\n" @@ -2946,32 +3050,31 @@ msgid "" "trees (LSM), for sustained throughput under random insert workloads." msgstr "" -#: gnu/packages/databases.scm:1644 +#: gnu/packages/databases.scm:1824 msgid "WiredTiger bindings for GNU Guile" msgstr "Liaisons WiredTiger pour GNU Guile" -#: gnu/packages/databases.scm:1646 +#: gnu/packages/databases.scm:1826 msgid "" "This package provides Guile bindings to the WiredTiger ``NoSQL''\n" -"database. Various higher level database abstractions." +"database." msgstr "" -"Ce paquet fournit les liaisons Guile pour le système de base de données\n" -"``NoSQL`` WiredTiger. Diverses abstractions de bases de données plus haut\n" -"niveau." +"Ce paquet fournit les liaisons Guile pour le système de base de données « NoSQL »\n" +"WiredTiger." -#: gnu/packages/databases.scm:1678 +#: gnu/packages/databases.scm:1858 msgid "Perl5 access to Berkeley DB version 1.x" msgstr "" -#: gnu/packages/databases.scm:1680 +#: gnu/packages/databases.scm:1860 msgid "The DB::File module provides Perl bindings to the Berkeley DB version 1.x." msgstr "" -#: gnu/packages/databases.scm:1707 +#: gnu/packages/databases.scm:1887 msgid "Lightning Memory-Mapped Database library" msgstr "" -#: gnu/packages/databases.scm:1709 +#: gnu/packages/databases.scm:1889 msgid "" "The @dfn{Lightning Memory-Mapped Database} (LMDB) is a high-performance\n" "transactional database. Unlike more complex relational databases, LMDB handles\n" @@ -2984,22 +3087,22 @@ msgid "" "virtual address space — not physical RAM." msgstr "" -#: gnu/packages/databases.scm:1746 +#: gnu/packages/databases.scm:1926 msgid "C++ connector for PostgreSQL" msgstr "" -#: gnu/packages/databases.scm:1748 +#: gnu/packages/databases.scm:1928 msgid "" "Libpqxx is a C++ library to enable user programs to communicate with the\n" "PostgreSQL database back-end. The database back-end can be local or it may be\n" "on another machine, accessed via TCP/IP." msgstr "" -#: gnu/packages/databases.scm:1771 +#: gnu/packages/databases.scm:1951 msgid "Small object-relational mapping utility" msgstr "" -#: gnu/packages/databases.scm:1773 +#: gnu/packages/databases.scm:1953 msgid "" "Peewee is a simple and small ORM (object-relation mapping) tool. Peewee\n" "handles converting between pythonic values and those used by databases, so you\n" @@ -3008,11 +3111,11 @@ msgid "" "can autogenerate peewee models using @code{pwiz}, a model generator." msgstr "" -#: gnu/packages/databases.scm:1820 +#: gnu/packages/databases.scm:2000 msgid "Library providing transparent encryption of SQLite database files" msgstr "" -#: gnu/packages/databases.scm:1821 +#: gnu/packages/databases.scm:2001 msgid "" "SQLCipher is an implementation of SQLite, extended to\n" "provide transparent 256-bit AES encryption of database files. Pages are\n" @@ -3021,27 +3124,27 @@ msgid "" "development." msgstr "" -#: gnu/packages/databases.scm:1853 gnu/packages/databases.scm:1880 +#: gnu/packages/databases.scm:2033 gnu/packages/databases.scm:2060 msgid "Python ODBC Library" msgstr "La bibliothèque Python ODBC" -#: gnu/packages/databases.scm:1854 +#: gnu/packages/databases.scm:2034 msgid "" "@code{python-pyodbc-c} provides a Python DB-API driver\n" "for ODBC." msgstr "" -#: gnu/packages/databases.scm:1881 +#: gnu/packages/databases.scm:2061 msgid "" "@code{python-pyodbc} provides a Python DB-API driver\n" "for ODBC." msgstr "" -#: gnu/packages/databases.scm:1918 +#: gnu/packages/databases.scm:2093 msgid "Read Microsoft Access databases" msgstr "" -#: gnu/packages/databases.scm:1919 +#: gnu/packages/databases.scm:2094 msgid "" "MDB Tools is a set of tools and applications to read the\n" "proprietary MDB file format used in Microsoft's Access database package. This\n" @@ -3050,42 +3153,42 @@ msgid "" "etc., and an SQL engine for performing simple SQL queries." msgstr "" -#: gnu/packages/databases.scm:1962 +#: gnu/packages/databases.scm:2137 msgid "Python binding for the ‘Lightning’ database (LMDB)" msgstr "" -#: gnu/packages/databases.scm:1964 +#: gnu/packages/databases.scm:2139 msgid "" "python-lmdb or py-lmdb is a Python binding for the @dfn{Lightning\n" "Memory-Mapped Database} (LMDB), a high-performance key-value store." msgstr "" -#: gnu/packages/databases.scm:2018 +#: gnu/packages/databases.scm:2193 msgid "ActiveRecord ORM for Python" msgstr "" -#: gnu/packages/databases.scm:2020 +#: gnu/packages/databases.scm:2195 msgid "" "Orator provides a simple ActiveRecord-like Object Relational Mapping\n" "implementation for Python." msgstr "" -#: gnu/packages/databases.scm:2053 +#: gnu/packages/databases.scm:2228 msgid "Multi-model database system" msgstr "Système de base de données multi-modèles" -#: gnu/packages/databases.scm:2054 +#: gnu/packages/databases.scm:2229 msgid "" "Virtuoso is a scalable cross-platform server that combines\n" "relational, graph, and document data management with web application server\n" "and web services platform functionality." msgstr "" -#: gnu/packages/databases.scm:2082 +#: gnu/packages/databases.scm:2260 msgid "Database interface and MySQL driver for R" msgstr "Interface de base de données et pilote MySQL pour R" -#: gnu/packages/databases.scm:2084 +#: gnu/packages/databases.scm:2262 msgid "" "This package provides a DBI interface to MySQL / MariaDB. The RMySQL\n" "package contains an old implementation based on legacy code from S-PLUS which\n" @@ -3093,34 +3196,34 @@ msgid "" "the RMariaDB package." msgstr "" -#: gnu/packages/databases.scm:2109 +#: gnu/packages/databases.scm:2287 msgid "" "Cassandra Cluster Manager for Apache Cassandra clusters on\n" "localhost" msgstr "" -#: gnu/packages/databases.scm:2111 +#: gnu/packages/databases.scm:2289 msgid "" "Cassandra Cluster Manager is a development tool for testing\n" "local Cassandra clusters. It creates, launches and removes Cassandra clusters\n" "on localhost." msgstr "" -#: gnu/packages/databases.scm:2137 +#: gnu/packages/databases.scm:2315 msgid "SQLite bindings for Python" msgstr "Liaisons SQLite pour Python" -#: gnu/packages/databases.scm:2139 +#: gnu/packages/databases.scm:2317 msgid "" "Pysqlite provides SQLite bindings for Python that comply to the\n" "Database API 2.0T." msgstr "" -#: gnu/packages/databases.scm:2166 +#: gnu/packages/databases.scm:2344 msgid "Database abstraction library" msgstr "Bibliothèque d'abstraction de bases de données" -#: gnu/packages/databases.scm:2168 +#: gnu/packages/databases.scm:2346 msgid "" "SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that\n" "gives application developers the full power and flexibility of SQL. It\n" @@ -3129,11 +3232,11 @@ msgid "" "simple and Pythonic domain language." msgstr "" -#: gnu/packages/databases.scm:2207 +#: gnu/packages/databases.scm:2385 msgid "Various utility functions for SQLAlchemy" msgstr "" -#: gnu/packages/databases.scm:2209 +#: gnu/packages/databases.scm:2387 msgid "" "SQLAlchemy-utils provides various utility functions and custom data types\n" "for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python.\n" @@ -3150,21 +3253,21 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/databases.scm:2250 +#: gnu/packages/databases.scm:2428 msgid "Database migration tool for SQLAlchemy" msgstr "" -#: gnu/packages/databases.scm:2252 +#: gnu/packages/databases.scm:2430 msgid "" "Alembic is a lightweight database migration tool for usage with the\n" "SQLAlchemy Database Toolkit for Python." msgstr "" -#: gnu/packages/databases.scm:2278 +#: gnu/packages/databases.scm:2456 msgid "Tiny key value database with concurrency support" msgstr "" -#: gnu/packages/databases.scm:2280 +#: gnu/packages/databases.scm:2458 msgid "" "PickleShare is a small ‘shelve’-like datastore with concurrency support.\n" "Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike\n" @@ -3175,11 +3278,11 @@ msgid "" "PickleShare." msgstr "" -#: gnu/packages/databases.scm:2332 +#: gnu/packages/databases.scm:2510 msgid "Another Python SQLite Wrapper" msgstr "" -#: gnu/packages/databases.scm:2333 +#: gnu/packages/databases.scm:2511 msgid "" "APSW is a Python wrapper for the SQLite\n" "embedded relational database engine. In contrast to other wrappers such as\n" @@ -3187,22 +3290,22 @@ msgid "" "translate the complete SQLite API into Python." msgstr "" -#: gnu/packages/databases.scm:2357 +#: gnu/packages/databases.scm:2535 msgid "Neo4j driver code written in Python" msgstr "" -#: gnu/packages/databases.scm:2358 +#: gnu/packages/databases.scm:2536 msgid "" "This package provides the Neo4j Python driver that connects\n" "to the database using Neo4j's binary protocol. It aims to be minimal, while\n" "being idiomatic to Python." msgstr "" -#: gnu/packages/databases.scm:2377 +#: gnu/packages/databases.scm:2555 msgid "Library and toolkit for working with Neo4j in Python" msgstr "" -#: gnu/packages/databases.scm:2378 +#: gnu/packages/databases.scm:2556 msgid "" "This package provides a client library and toolkit for\n" "working with Neo4j from within Python applications and from the command\n" @@ -3210,30 +3313,32 @@ msgid "" "designed to be easy and intuitive to use." msgstr "" -#: gnu/packages/databases.scm:2403 +#: gnu/packages/databases.scm:2581 msgid "Python PostgreSQL adapter" msgstr "Adaptateur Python pour PostgreSQL" -#: gnu/packages/databases.scm:2405 -msgid "psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API 2.0. " +#: gnu/packages/databases.scm:2583 +msgid "" +"psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API\n" +"2.0." msgstr "" -#: gnu/packages/databases.scm:2429 +#: gnu/packages/databases.scm:2608 msgid "SQLAlchemy schema displayer" msgstr "" -#: gnu/packages/databases.scm:2430 +#: gnu/packages/databases.scm:2609 msgid "" "This package provides a program to build Entity\n" "Relationship diagrams from a SQLAlchemy model (or directly from the\n" "database)." msgstr "" -#: gnu/packages/databases.scm:2460 +#: gnu/packages/databases.scm:2639 msgid "MySQLdb is an interface to the popular MySQL database server for Python" msgstr "" -#: gnu/packages/databases.scm:2461 +#: gnu/packages/databases.scm:2640 msgid "" "MySQLdb is an interface to the popular MySQL database server\n" "for Python. The design goals are:\n" @@ -3244,85 +3349,86 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/databases.scm:2489 +#: gnu/packages/databases.scm:2668 msgid "Python extension that wraps protocol parsing code in hiredis" msgstr "" -#: gnu/packages/databases.scm:2490 +#: gnu/packages/databases.scm:2669 msgid "" "Python-hiredis is a python extension that wraps protocol\n" "parsing code in hiredis. It primarily speeds up parsing of multi bulk replies." msgstr "" -#: gnu/packages/databases.scm:2513 +#: gnu/packages/databases.scm:2692 msgid "Fake implementation of redis API for testing purposes" msgstr "" -#: gnu/packages/databases.scm:2514 +#: gnu/packages/databases.scm:2694 msgid "" -"Fakeredis is a pure python implementation of the redis-py\n" -"python client that simulates talking to a redis server. This was created for a\n" -"single purpose: to write unittests. Setting up redis is not hard, but many time\n" -" you want to write unittests that do not talk to an external server (such as\n" -"redis). This module now allows tests to simply use this module as a reasonable\n" -"substitute for redis." +"Fakeredis is a pure-Python implementation of the redis-py Python client\n" +"that simulates talking to a redis server. It was created for a single purpose:\n" +"to write unit tests.\n" +"\n" +"Setting up redis is not hard, but one often wants to write unit tests that don't\n" +"talk to an external server such as redis. This module can be used as a\n" +"reasonable substitute." msgstr "" -#: gnu/packages/databases.scm:2542 +#: gnu/packages/databases.scm:2723 msgid "Redis Python client" msgstr "" -#: gnu/packages/databases.scm:2544 +#: gnu/packages/databases.scm:2725 msgid "This package provides a Python interface to the Redis key-value store." msgstr "Ce paquet fournit une interface Python pour le dépôt clef-valeur Redis." -#: gnu/packages/databases.scm:2565 +#: gnu/packages/databases.scm:2746 msgid "Simple job queues for Python" msgstr "" -#: gnu/packages/databases.scm:2567 +#: gnu/packages/databases.scm:2748 msgid "" "RQ (Redis Queue) is a simple Python library for queueing jobs and\n" "processing them in the background with workers. It is backed by Redis and it\n" "is designed to have a low barrier to entry." msgstr "" -#: gnu/packages/databases.scm:2590 +#: gnu/packages/databases.scm:2771 msgid "Port of asyncio-redis to trollius" msgstr "" -#: gnu/packages/databases.scm:2591 +#: gnu/packages/databases.scm:2772 msgid "" "@code{trollius-redis} is a Redis client for Python\n" " trollius. It is an asynchronious IO (PEP 3156) implementation of the\n" " Redis protocol." msgstr "" -#: gnu/packages/databases.scm:2618 +#: gnu/packages/databases.scm:2799 msgid "Non-validating SQL parser" msgstr "" -#: gnu/packages/databases.scm:2619 +#: gnu/packages/databases.scm:2800 msgid "" "Sqlparse is a non-validating SQL parser for Python. It\n" "provides support for parsing, splitting and formatting SQL statements." msgstr "" -#: gnu/packages/databases.scm:2639 +#: gnu/packages/databases.scm:2820 msgid "Library to write SQL queries in a pythonic way" msgstr "" -#: gnu/packages/databases.scm:2640 +#: gnu/packages/databases.scm:2821 msgid "" "@code{python-sql} is a library to write SQL queries, that\n" "transforms idiomatic python function calls to well-formed SQL queries." msgstr "" -#: gnu/packages/databases.scm:2725 +#: gnu/packages/databases.scm:2906 msgid "Various tools for interacting with MongoDB and BSON" msgstr "" -#: gnu/packages/databases.scm:2727 +#: gnu/packages/databases.scm:2908 msgid "" "This package includes a collection of tools related to MongoDB.\n" "@table @code\n" @@ -3347,11 +3453,11 @@ msgid "" "@end table" msgstr "" -#: gnu/packages/databases.scm:2813 +#: gnu/packages/databases.scm:2994 msgid "Columnar in-memory analytics" msgstr "" -#: gnu/packages/databases.scm:2814 +#: gnu/packages/databases.scm:2995 msgid "" "Apache Arrow is a columnar in-memory analytics layer\n" "designed to accelerate big data. It houses a set of canonical in-memory\n" @@ -3360,11 +3466,11 @@ msgid "" "algorithm implementations." msgstr "" -#: gnu/packages/databases.scm:2858 +#: gnu/packages/databases.scm:3039 msgid "Python bindings for Apache Arrow" msgstr "Liaisons python pour Apache Arrow" -#: gnu/packages/databases.scm:2859 +#: gnu/packages/databases.scm:3040 msgid "" "This library provides a Pythonic API wrapper for the reference\n" "Arrow C++ implementation, along with tools for interoperability with pandas,\n" @@ -3447,11 +3553,11 @@ msgid "" "multiple test suites, which are then all managed by a single harness." msgstr "" -#: gnu/packages/games.scm:170 +#: gnu/packages/games.scm:176 msgid "Tron clone in 3D" msgstr "" -#: gnu/packages/games.scm:171 +#: gnu/packages/games.scm:177 msgid "" "Armagetron is a multiplayer game in 3d that attempts to\n" "emulate and expand on the lightcycle sequence from the movie Tron. It's\n" @@ -3461,26 +3567,40 @@ msgid "" "settings to tweak as well." msgstr "" -#: gnu/packages/games.scm:246 +#: gnu/packages/games.scm:239 +msgid "Antagonistic Tetris-style falling brick game for text terminals" +msgstr "" + +#: gnu/packages/games.scm:241 +msgid "" +"Bastet (short for Bastard Tetris) is a simple ncurses-based falling brick\n" +"game. Unlike normal Tetris, Bastet does not choose the next brick at random.\n" +"Instead, it uses a special algorithm to choose the worst brick possible.\n" +"\n" +"Playing bastet can be a painful experience, especially if you usually make\n" +"canyons and wait for the long I-shaped block to clear four rows at a time." +msgstr "" + +#: gnu/packages/games.scm:305 msgid "Survival horror roguelike video game" msgstr "" -#: gnu/packages/games.scm:248 +#: gnu/packages/games.scm:307 msgid "" -"Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic world.\n" -"Struggle to survive in a harsh, persistent, procedurally generated world.\n" -"Scavenge the remnants of a dead civilization for food, equipment, or, if you are\n" -"lucky, a vehicle with a full tank of gas to get you out of Dodge. Fight to\n" -"defeat or escape from a wide variety of powerful monstrosities, from zombies to\n" -"giant insects to killer robots and things far stranger and deadlier, and against\n" -"the others like yourself, that want what you have." +"Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic\n" +"world. Struggle to survive in a harsh, persistent, procedurally generated\n" +"world. Scavenge the remnants of a dead civilization for food, equipment, or,\n" +"if you are lucky, a vehicle with a full tank of gas to get you out of Dodge.\n" +"Fight to defeat or escape from a wide variety of powerful monstrosities, from\n" +"zombies to giant insects to killer robots and things far stranger and deadlier,\n" +"and against the others like yourself, that want what you have." msgstr "" -#: gnu/packages/games.scm:289 +#: gnu/packages/games.scm:348 msgid "Speaking cow text filter" msgstr "" -#: gnu/packages/games.scm:290 +#: gnu/packages/games.scm:349 msgid "" "Cowsay is basically a text filter. Send some text into it,\n" "and you get a cow saying your text. If you think a talking cow isn't enough,\n" @@ -3488,11 +3608,11 @@ msgid "" "tired of cows, a variety of other ASCII-art messengers are available." msgstr "" -#: gnu/packages/games.scm:357 +#: gnu/packages/games.scm:416 msgid "Free content game based on the Doom engine" msgstr "Jeu au contenu libre basé sur le moteur Doom" -#: gnu/packages/games.scm:366 +#: gnu/packages/games.scm:425 msgid "" "The Freedoom project aims to create a complete free content first person\n" "shooter game. Freedoom by itself is just the raw material for a game: it must\n" @@ -3506,11 +3626,25 @@ msgstr "" "pour être jouable. Freedoom complète le moteur Doom sur trois niveaux : les\n" "graphismes, les effets sonores et la musique pour faire un jeu entièrement libre." -#: gnu/packages/games.scm:440 +#: gnu/packages/games.scm:473 +msgid "Isometric role-playing game against killer robots" +msgstr "" + +#: gnu/packages/games.scm:475 +msgid "" +"Freedroid RPG is an @dfn{RPG} (Role-Playing Game) with isometric graphics.\n" +"The game tells the story of a world destroyed by a conflict between robots and\n" +"their human masters. To restore peace to humankind, the player must complete\n" +"numerous quests while fighting off rebelling robots---either by taking control\n" +"of them, or by simply blasting them to pieces with melee and ranged weapons in\n" +"real-time combat." +msgstr "" + +#: gnu/packages/games.scm:552 msgid "Software for exploring cellular automata" msgstr "" -#: gnu/packages/games.scm:442 +#: gnu/packages/games.scm:554 msgid "" "Golly simulates Conway's Game of Life and many other types of cellular\n" "automata. The following features are available:\n" @@ -3531,11 +3665,11 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/games.scm:504 +#: gnu/packages/games.scm:602 msgid "Puzzle/platform game" msgstr "" -#: gnu/packages/games.scm:505 +#: gnu/packages/games.scm:603 msgid "" "Me and My Shadow is a puzzle/platform game in which you try\n" "to reach the exit by solving puzzles. Spikes, moving blocks, fragile blocks\n" @@ -3543,11 +3677,11 @@ msgid "" "shadow mimic them to reach blocks you couldn't reach alone." msgstr "" -#: gnu/packages/games.scm:540 +#: gnu/packages/games.scm:638 msgid "Multiplayer dungeon game involving knights and quests" msgstr "" -#: gnu/packages/games.scm:541 +#: gnu/packages/games.scm:639 msgid "" "Knights is a multiplayer game involving several knights who\n" "must run around a dungeon and complete various quests. Each game revolves\n" @@ -3559,15 +3693,15 @@ msgid "" "destroying an ancient book using a special wand." msgstr "" -#: gnu/packages/games.scm:578 +#: gnu/packages/games.scm:676 msgid "Backgammon game" msgstr "Jeu de backgammon" -#: gnu/packages/games.scm:579 +#: gnu/packages/games.scm:677 msgid "" -"The GNU backgammon application can be used for playing, analyzing and\n" -"teaching the game. It has an advanced evaluation engine based on artificial\n" -"neural networks suitable for both beginners and advanced players. In\n" +"The GNU backgammon application can be used for playing,\n" +"analyzing and teaching the game. It has an advanced evaluation engine based on\n" +"artificial neural networks suitable for both beginners and advanced players. In\n" "addition to a command-line interface, it also features an attractive, 3D\n" "representation of the playing board." msgstr "" @@ -3577,11 +3711,11 @@ msgstr "" "d'une interface en ligne de commande, il possède aussi une représentation 3D\n" "attractive du plateau de jeu." -#: gnu/packages/games.scm:608 +#: gnu/packages/games.scm:706 msgid "3d Rubik's cube game" msgstr "Jeu de Rubik's cube en 3d" -#: gnu/packages/games.scm:610 +#: gnu/packages/games.scm:708 msgid "" "GNUbik is a puzzle game in which you must manipulate a cube to make\n" "each of its faces have a uniform color. The game is customizable, allowing\n" @@ -3595,11 +3729,11 @@ msgstr "" "pouvez même utiliser des photos pour les faces à la place des couleurs. Le jeu\n" "peut être scripté avec Guile." -#: gnu/packages/games.scm:632 +#: gnu/packages/games.scm:730 msgid "The game of Shogi (Japanese chess)" msgstr "Le jeu de Shōgi (les échecs japonais)" -#: gnu/packages/games.scm:633 +#: gnu/packages/games.scm:731 msgid "" "GNU Shogi is a program that plays the game Shogi (Japanese\n" "Chess). It is similar to standard chess but this variant is far more complicated." @@ -3607,11 +3741,11 @@ msgstr "" "GNU Shogi est un programme qui joue au Shōgi (les échecs japonais).\n" "Il est similaire aux échecs standards mais cette variante est bien plus complexe." -#: gnu/packages/games.scm:664 +#: gnu/packages/games.scm:762 msgid "Tetris clone based on the SDL library" msgstr "" -#: gnu/packages/games.scm:666 +#: gnu/packages/games.scm:764 msgid "" "LTris is a tetris clone: differently shaped blocks are falling down the\n" "rectangular playing field and can be moved sideways or rotated by 90 degree\n" @@ -3625,31 +3759,62 @@ msgid "" "watch your CPU playing while enjoying a cup of tea!" msgstr "" -#: gnu/packages/games.scm:719 +#: gnu/packages/games.scm:886 +msgid "Classic dungeon crawl game" +msgstr "" + +#: gnu/packages/games.scm:887 +msgid "" +"NetHack is a single player dungeon exploration game that runs\n" +"on a wide variety of computer systems, with a variety of graphical and text\n" +"interfaces all using the same game engine. Unlike many other Dungeons &\n" +"Dragons-inspired games, the emphasis in NetHack is on discovering the detail of\n" +"the dungeon and not simply killing everything in sight - in fact, killing\n" +"everything in sight is a good way to die quickly. Each game presents a\n" +"different landscape - the random number generator provides an essentially\n" +"unlimited number of variations of the dungeon and its denizens to be discovered\n" +"by the player in one of a number of characters: you can pick your race, your\n" +"role, and your gender." +msgstr "" + +#: gnu/packages/games.scm:932 +msgid "Logical tile puzzle" +msgstr "" + +#: gnu/packages/games.scm:934 +msgid "" +"PipeWalker is a simple puzzle game with many diffent themes: connect all\n" +"computers to one network server, bring water from a source to the taps, etc.\n" +"The underlying mechanism is always the same: you must turn each tile in the\n" +"grid in the right direction to combine all components into a single circuit.\n" +"Every puzzle has a complete solution, although there may be more than one." +msgstr "" + +#: gnu/packages/games.scm:982 msgid "Version of the classic 3D shoot'em'up game Doom" msgstr "Version du jeu classique de shoot'em'up Doom en 3D" -#: gnu/packages/games.scm:721 +#: gnu/packages/games.scm:984 msgid "PrBoom+ is a Doom source port developed from the original PrBoom project." msgstr "" "PrBoom+ est un port des sources de Doom développé à partir du projet\n" "PrBoom original." -#: gnu/packages/games.scm:768 +#: gnu/packages/games.scm:1032 msgid "Action platformer game" msgstr "" -#: gnu/packages/games.scm:770 +#: gnu/packages/games.scm:1034 msgid "" "ReTux is an action platformer loosely inspired by the Mario games,\n" "utilizing the art assets from the @code{SuperTux} project." msgstr "" -#: gnu/packages/games.scm:876 +#: gnu/packages/games.scm:1140 msgid "A classical roguelike/sandbox game" msgstr "" -#: gnu/packages/games.scm:878 +#: gnu/packages/games.scm:1142 msgid "" "RogueBox Adventures is a graphical roguelike with strong influences\n" "from sandbox games like Minecraft or Terraria. The main idea of RogueBox\n" @@ -3657,19 +3822,19 @@ msgid "" "can be explored and changed freely." msgstr "" -#: gnu/packages/games.scm:905 +#: gnu/packages/games.scm:1169 msgid "User interface for gnushogi" msgstr "Interface pour gnushogi" -#: gnu/packages/games.scm:906 +#: gnu/packages/games.scm:1170 msgid "A graphical user interface for the package @code{gnushogi}." msgstr "Une interface utilisateur graphique pour le paquet @code{gnushogi}" -#: gnu/packages/games.scm:957 +#: gnu/packages/games.scm:1221 msgid "GNU/Linux port of the indie game \"l'Abbaye des Morts\"" msgstr "Port GNU/Linux du jeu indépendant « l'Abbaye des Morts »" -#: gnu/packages/games.scm:958 +#: gnu/packages/games.scm:1222 msgid "" "L'Abbaye des Morts is a 2D platform game set in 13th century\n" "France. The Cathars, who preach about good Christian beliefs, were being\n" @@ -3678,11 +3843,11 @@ msgid "" "that beneath its ruins lay buried an ancient evil." msgstr "" -#: gnu/packages/games.scm:1010 +#: gnu/packages/games.scm:1275 msgid "Dungeon exploration roguelike" msgstr "Roguelike d'exploration de donjon" -#: gnu/packages/games.scm:1011 +#: gnu/packages/games.scm:1276 msgid "" "Angband is a Classic dungeon exploration roguelike. Explore\n" "the depths below Angband, seeking riches, fighting monsters, and preparing to\n" @@ -3692,11 +3857,11 @@ msgstr "" "en dessous d'Angband, cherchez des richesses, combattez des montres et préparez-vous\n" "à combattre Morgoth, le Seigneur des Ténèbres." -#: gnu/packages/games.scm:1047 +#: gnu/packages/games.scm:1312 msgid "Lemmings clone" msgstr "Clone de Lemmings" -#: gnu/packages/games.scm:1049 +#: gnu/packages/games.scm:1314 msgid "" "Pingus is a free Lemmings-like puzzle game in which the player takes\n" "command of a bunch of small animals and has to guide them through levels.\n" @@ -3711,11 +3876,11 @@ msgstr "" "leur donnant des ordres. Plusieurs de ces ordres sont nécessaires pour atteindre\n" "la fin du niveau. Le jeu est présenté en 2D, en vue de côté." -#: gnu/packages/games.scm:1071 +#: gnu/packages/games.scm:1336 msgid "Convert English text to humorous dialects" msgstr "Convertit du texte en anglais vers des dialectes rigolos" -#: gnu/packages/games.scm:1072 +#: gnu/packages/games.scm:1337 msgid "" "The GNU Talk Filters are programs that convert English text\n" "into stereotyped or otherwise humorous dialects. The filters are provided as\n" @@ -3725,11 +3890,11 @@ msgstr "" "vers des dialectes stéréotypés ou rigolos. Les filtres sont fournis en tant que\n" "bibliothèques C, pour qu'ils puissent être facilement intégrés à d'autres programmes." -#: gnu/packages/games.scm:1104 +#: gnu/packages/games.scm:1369 msgid "Simulate the display from \"The Matrix\"" msgstr "Simule l'affichage comme dans « Matrix »" -#: gnu/packages/games.scm:1105 +#: gnu/packages/games.scm:1370 msgid "" "CMatrix simulates the display from \"The Matrix\" and is\n" "based on the screensaver from the movie's website. It works with terminal\n" @@ -3741,11 +3906,11 @@ msgstr "" "peut faire défiler les lignes à la même vitesse ou de manière asynchrone\n" "à une vitesse définie par l'utilisateur." -#: gnu/packages/games.scm:1125 +#: gnu/packages/games.scm:1390 msgid "Full chess implementation" msgstr "Implémentation complète du jeu d'échecs" -#: gnu/packages/games.scm:1126 +#: gnu/packages/games.scm:1391 msgid "" "GNU Chess is a chess engine. It allows you to compete\n" "against the computer in a game of chess, either through the default terminal\n" @@ -3756,11 +3921,11 @@ msgstr "" "textuelle par défaut soit via une interface visuelle externe comme\n" "GNU XBoard." -#: gnu/packages/games.scm:1154 +#: gnu/packages/games.scm:1419 msgid "Twisted adventures of young pig farmer Dink Smallwood" msgstr "" -#: gnu/packages/games.scm:1156 +#: gnu/packages/games.scm:1421 msgid "" "GNU FreeDink is a free and portable re-implementation of the engine\n" "for the role-playing game Dink Smallwood. It supports not only the original\n" @@ -3768,19 +3933,29 @@ msgid "" "To that extent, it also includes a front-end for managing all of your D-Mods." msgstr "" -#: gnu/packages/games.scm:1181 +#: gnu/packages/games.scm:1446 msgid "Game data for GNU Freedink" msgstr "Données de jeu pour GNU Freedink" -#: gnu/packages/games.scm:1183 +#: gnu/packages/games.scm:1448 msgid "This package contains the game data of GNU Freedink." msgstr "Ce paquet continet les données du jeu GNU Freedink." -#: gnu/packages/games.scm:1236 +#: gnu/packages/games.scm:1469 +msgid "Front-end for managing and playing Dink Modules" +msgstr "Interface pour gérer et jouer à des modules pour Dink" + +#: gnu/packages/games.scm:1470 +msgid "" +"DFArc makes it easy to play and manage the GNU FreeDink game\n" +"and its numerous D-Mods." +msgstr "" + +#: gnu/packages/games.scm:1522 msgid "Graphical user interface for chess programs" msgstr "Interface utilisateur Graphique pour les programmes d'échecs" -#: gnu/packages/games.scm:1237 +#: gnu/packages/games.scm:1523 msgid "" "GNU XBoard is a graphical board for all varieties of chess,\n" "including international chess, xiangqi (Chinese chess), shogi (Japanese chess)\n" @@ -3794,11 +3969,11 @@ msgstr "" "supportées. Il présente une interface utilisateur complètement interactive et\n" "peut charger et sauvegarder les jeux dans la Notation de Jeu Universelle." -#: gnu/packages/games.scm:1291 +#: gnu/packages/games.scm:1577 msgid "Ball and paddle game" msgstr "" -#: gnu/packages/games.scm:1292 +#: gnu/packages/games.scm:1578 msgid "" "XBoing is a blockout type game where you have a paddle which\n" "you control to bounce a ball around the game zone destroying blocks with a\n" @@ -3806,11 +3981,11 @@ msgid "" "destroy, the better your score. The person with the highest score wins." msgstr "" -#: gnu/packages/games.scm:1326 +#: gnu/packages/games.scm:1612 msgid "Typing tutor" msgstr "Tutorial pour apprendre à taper" -#: gnu/packages/games.scm:1328 +#: gnu/packages/games.scm:1614 msgid "" "GNU Typist is a universal typing tutor. It can be used to learn and\n" "practice touch-typing. Several tutorials are included; in addition to\n" @@ -3819,11 +3994,11 @@ msgid "" "are primarily in English, however some in other languages are provided." msgstr "" -#: gnu/packages/games.scm:1375 +#: gnu/packages/games.scm:1680 msgid "3D game engine written in C++" msgstr "Moteur de jeu 3D écrit en C++" -#: gnu/packages/games.scm:1377 +#: gnu/packages/games.scm:1682 msgid "" "The Irrlicht Engine is a high performance realtime 3D engine written in\n" "C++. Features include an OpenGL renderer, extensible materials, scene graph\n" @@ -3836,11 +4011,11 @@ msgstr "" "effets spéciaux, le support pour des formats de fichiers graphiques usuels et la\n" "détection de collision." -#: gnu/packages/games.scm:1429 +#: gnu/packages/games.scm:1734 msgid "2D space shooter" msgstr "Jeu de tir spatial en 2D" -#: gnu/packages/games.scm:1431 +#: gnu/packages/games.scm:1736 msgid "" "M.A.R.S. is a 2D space shooter with pretty visual effects and\n" "attractive physics. Players can battle each other or computer controlled\n" @@ -3848,19 +4023,19 @@ msgid "" "match, cannon keep, and grave-itation pit." msgstr "" -#: gnu/packages/games.scm:1473 +#: gnu/packages/games.scm:1770 msgid "Main game data for the Minetest game engine" msgstr "Données principales du jeu pour le moteur de jeu Minetest" -#: gnu/packages/games.scm:1475 +#: gnu/packages/games.scm:1772 msgid "Game data for the Minetest infinite-world block sandox game." msgstr "" -#: gnu/packages/games.scm:1527 +#: gnu/packages/games.scm:1832 msgid "Infinite-world block sandbox game" msgstr "" -#: gnu/packages/games.scm:1529 +#: gnu/packages/games.scm:1834 msgid "" "Minetest is a sandbox construction game. Players can create and destroy\n" "various types of blocks in a three-dimensional open world. This allows\n" @@ -3869,11 +4044,11 @@ msgid "" "in different ways." msgstr "" -#: gnu/packages/games.scm:1568 +#: gnu/packages/games.scm:1873 msgid "Curses Implementation of the Glk API" msgstr "Implémentation en Curses de l'API Glk" -#: gnu/packages/games.scm:1570 +#: gnu/packages/games.scm:1875 msgid "" "Glk defines a portable API for applications with text UIs. It was\n" "primarily designed for interactive fiction, but it should be suitable for many\n" @@ -3888,11 +4063,11 @@ msgstr "" "tourne dans une fenêtre de terminal et qui utilise la bibliothèque @code{curses.h}\n" "pour le contrôle de l'écran." -#: gnu/packages/games.scm:1608 +#: gnu/packages/games.scm:1913 msgid "Interpreter for Glulx VM" msgstr "Interpréteur pour Glulx VM" -#: gnu/packages/games.scm:1610 +#: gnu/packages/games.scm:1915 msgid "" "Glulx is a 32-bit portable virtual machine intended for writing and\n" "playing interactive fiction. It was designed by Andrew Plotkin to relieve\n" @@ -3904,11 +4079,11 @@ msgstr "" "relacher certaines contraintes du vénérable format Z-machine. C'est l'interpréteur\n" "de référence, qui utilise l'API Glk." -#: gnu/packages/games.scm:1644 +#: gnu/packages/games.scm:1949 msgid "Z-machine interpreter" msgstr "Interpréteur Z-machine" -#: gnu/packages/games.scm:1646 +#: gnu/packages/games.scm:1951 msgid "" "Fizmo is a console-based Z-machine interpreter. It is used to play\n" "interactive fiction, also known as text adventures, which were implemented\n" @@ -3918,11 +4093,11 @@ msgstr "" "à des fictions interactives, aussi connues sous le nom d'aventures textuelles,\n" "qui étaient implémentées soit par Infocom ou crées avec le compilateur Inform." -#: gnu/packages/games.scm:1664 +#: gnu/packages/games.scm:1969 msgid "Play the game of Go" msgstr "Jouer au jeu de Go" -#: gnu/packages/games.scm:1666 +#: gnu/packages/games.scm:1971 msgid "" "GNU Go is a program that plays the game of Go, in which players\n" "place stones on a grid to form territory or capture other stones. While\n" @@ -3940,11 +4115,11 @@ msgstr "" "de stockage standard pour les jeux (SGF, Smart Game Format) et le format\n" "de communication inter-processus (GMP, Go Modem Protocol)." -#: gnu/packages/games.scm:1694 +#: gnu/packages/games.scm:1999 msgid "High-speed arctic racing game based on Tux Racer" msgstr "" -#: gnu/packages/games.scm:1696 +#: gnu/packages/games.scm:2001 msgid "" "Extreme Tux Racer, or etracer as it is called for short, is\n" "a simple OpenGL racing game featuring Tux, the Linux mascot. The goal of the\n" @@ -3957,11 +4132,11 @@ msgid "" "This game is based on the GPL version of the famous game TuxRacer." msgstr "" -#: gnu/packages/games.scm:1778 +#: gnu/packages/games.scm:2083 msgid "3D kart racing game" msgstr "Jeu de course de karts en 3D" -#: gnu/packages/games.scm:1779 +#: gnu/packages/games.scm:2084 msgid "" "SuperTuxKart is a 3D kart racing game, with a focus on\n" "having fun over realism. You can play with up to 4 friends on one PC, racing\n" @@ -3973,12 +4148,12 @@ msgstr "" "la courses les uns contre les autres ou d'essayer de battre l'ordinateur. Un\n" "mode solo est aussi disponible." -#: gnu/packages/games.scm:1811 +#: gnu/packages/games.scm:2116 msgid "Game of jumping to the next floor, trying not to fall" msgstr "Un jeu où on saute à l'étage au dessus en essayent de ne pas tomber" # replay en français ? -#: gnu/packages/games.scm:1813 +#: gnu/packages/games.scm:2118 msgid "" "GNUjump is a simple, yet addictive game in which you must jump from\n" "platform to platform to avoid falling, while the platforms drop at faster rates\n" @@ -3991,11 +4166,11 @@ msgstr "" "propose du multijoueur, des FPS illimités, une chute douce du sol des\n" "graphismes et des sons personnalisables et des replays." -#: gnu/packages/games.scm:1847 +#: gnu/packages/games.scm:2152 msgid "Turn-based strategy game" msgstr "Jeu de stratégie en tour par tour" -#: gnu/packages/games.scm:1849 +#: gnu/packages/games.scm:2154 msgid "" "The Battle for Wesnoth is a fantasy, turn based tactical strategy game,\n" "with several single player campaigns, and multiplayer games (both networked and\n" @@ -4015,11 +4190,11 @@ msgstr "" "gagnent de l'expérience et augmentent de niveau, et sont rejoués d'un scénario\n" "à la campagne suivante." -#: gnu/packages/games.scm:1871 +#: gnu/packages/games.scm:2176 msgid "Dedicated @emph{Battle for Wesnoth} server" msgstr "Serveur dédié pour la @emph{Bataille pour Wesnoth}" -#: gnu/packages/games.scm:1872 +#: gnu/packages/games.scm:2177 msgid "" "This package contains a dedicated server for @emph{The\n" "Battle for Wesnoth}." @@ -4027,11 +4202,11 @@ msgstr "" "Ce paquet contient un serveur dédié pour @emph{La bataille\n" "pour Wesnoth}." -#: gnu/packages/games.scm:1913 +#: gnu/packages/games.scm:2218 msgid "Mouse and keyboard discovery for children" msgstr "Découverte de la souris et du clavier pour les enfants" -#: gnu/packages/games.scm:1915 +#: gnu/packages/games.scm:2220 msgid "" "Gamine is a game designed for young children who are learning to use the\n" "mouse and keyboard. The child uses the mouse to draw colored dots and lines\n" @@ -4041,11 +4216,11 @@ msgstr "" "souris et le clavier. L'enfant utilise la souris pour dessiner des points colorés\n" "et des lignes sur l'écran et le clavier pour afficher des lettres." -#: gnu/packages/games.scm:1947 +#: gnu/packages/games.scm:2260 msgid "Puzzle game with a cat in lead role" msgstr "" -#: gnu/packages/games.scm:1948 +#: gnu/packages/games.scm:2261 msgid "" "Project Raincat is a game developed by Carnegie Mellon\n" "students through GCS during the Fall 2008 semester. Raincat features game\n" @@ -4055,11 +4230,11 @@ msgid "" msgstr "" # Traductino officielle du nom du jeu ? -#: gnu/packages/games.scm:1982 +#: gnu/packages/games.scm:2295 msgid "Client for 'The Mana World' and similar games" msgstr "Client pour « the Mana World » et des jeux similaires" -#: gnu/packages/games.scm:1984 +#: gnu/packages/games.scm:2297 msgid "" "ManaPlus is a 2D MMORPG client for game servers. It is the only\n" "fully supported client for @uref{http://www.themanaworld.org, The mana\n" @@ -4070,11 +4245,11 @@ msgstr "" "client entièrement supporté par @uref{http://www.themanaworld.org, the Mana World},\n" "@uref{http://evolonline.org, Evol Online} et @uref{http://landoffire.org, Land of fire}." -#: gnu/packages/games.scm:2052 +#: gnu/packages/games.scm:2365 msgid "Transportation economics simulator" msgstr "Simulateur de l'économie du transport" -#: gnu/packages/games.scm:2053 +#: gnu/packages/games.scm:2366 msgid "" "OpenTTD is a game in which you transport goods and\n" "passengers by land, water and air. It is a re-implementation of Transport\n" @@ -4091,11 +4266,11 @@ msgstr "" "ne contient que le moteur de jeu. Lorsque vous le démarrez, il vous sera demandé de télécharger\n" "un thème graphique." -#: gnu/packages/games.scm:2110 +#: gnu/packages/games.scm:2423 msgid "Base graphics set for OpenTTD" msgstr "" -#: gnu/packages/games.scm:2112 +#: gnu/packages/games.scm:2425 msgid "" "The OpenGFX projects is an implementation of the OpenTTD base grahics\n" "set that aims to ensure the best possible out-of-the-box experience.\n" @@ -4110,49 +4285,49 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/games.scm:2157 +#: gnu/packages/games.scm:2470 msgid "Base sounds for OpenTTD" msgstr "" -#: gnu/packages/games.scm:2158 +#: gnu/packages/games.scm:2471 msgid "" "OpenSFX is a set of free base sounds for OpenTTD which make\n" "it possible to play OpenTTD without requiring the proprietary sound files from\n" "the original Transport Tycoon Deluxe." msgstr "" -#: gnu/packages/games.scm:2195 +#: gnu/packages/games.scm:2508 msgid "Music set for OpenTTD" msgstr "" -#: gnu/packages/games.scm:2196 +#: gnu/packages/games.scm:2509 msgid "" "OpenMSX is a music set for OpenTTD which makes it possible\n" "to play OpenTTD without requiring the proprietary music from the original\n" "Transport Tycoon Deluxe." msgstr "" -#: gnu/packages/games.scm:2265 +#: gnu/packages/games.scm:2578 msgid "Title sequences for OpenRCT2" msgstr "" -#: gnu/packages/games.scm:2267 +#: gnu/packages/games.scm:2580 msgid "openrct2-title-sequences is a set of title sequences for OpenRCT2." msgstr "" -#: gnu/packages/games.scm:2306 +#: gnu/packages/games.scm:2619 msgid "Objects for OpenRCT2" msgstr "" -#: gnu/packages/games.scm:2308 +#: gnu/packages/games.scm:2621 msgid "openrct2-objects is a set of objects for OpenRCT2." msgstr "" -#: gnu/packages/games.scm:2360 +#: gnu/packages/games.scm:2684 msgid "Free software re-implementation of RollerCoaster Tycoon 2" msgstr "" -#: gnu/packages/games.scm:2361 +#: gnu/packages/games.scm:2685 msgid "" "OpenRCT2 is a free software re-implementation of\n" "RollerCoaster Tycoon 2 (RCT2). The gameplay revolves around building and\n" @@ -4162,43 +4337,43 @@ msgid "" "images, etc.)" msgstr "" -#: gnu/packages/games.scm:2403 +#: gnu/packages/games.scm:2727 msgid "Pinball simulator" msgstr "" -#: gnu/packages/games.scm:2404 +#: gnu/packages/games.scm:2728 msgid "" "The Emilia Pinball Project is a pinball simulator. There\n" "are only two levels to play with, but they are very addictive." msgstr "" -#: gnu/packages/games.scm:2427 +#: gnu/packages/games.scm:2751 msgid "Board game inspired by The Settlers of Catan" msgstr "" -#: gnu/packages/games.scm:2428 +#: gnu/packages/games.scm:2752 msgid "" "Pioneers is an emulation of the board game The Settlers of\n" "Catan. It can be played on a local network, on the internet, and with AI\n" "players." msgstr "" -#: gnu/packages/games.scm:2469 gnu/packages/gnome.scm:2663 +#: gnu/packages/games.scm:2793 gnu/packages/gnome.scm:2655 msgid "Logic puzzle game" msgstr "" -#: gnu/packages/games.scm:2470 +#: gnu/packages/games.scm:2794 msgid "" "The goal of this logic game is to open all cards in a 6x6\n" "grid, using a number of hints as to their relative position. The game idea\n" "is attributed to Albert Einstein." msgstr "" -#: gnu/packages/games.scm:2499 +#: gnu/packages/games.scm:2823 msgid "MUD and telnet client" msgstr "" -#: gnu/packages/games.scm:2501 +#: gnu/packages/games.scm:2825 msgid "" "POWWOW is a client software which can be used for telnet as well as for\n" "@dfn{Multi-User Dungeon} (MUD). Additionally it can serve as a nice client for\n" @@ -4206,33 +4381,33 @@ msgid "" "http://lavachat.symlynx.com/unix/" msgstr "" -#: gnu/packages/games.scm:2676 +#: gnu/packages/games.scm:3000 msgid "Arena shooter derived from the Cube 2 engine" msgstr "" -#: gnu/packages/games.scm:2678 +#: gnu/packages/games.scm:3002 msgid "" "Red Eclipse is an arena shooter, created from the Cube2 engine.\n" "Offering an innovative parkour system and distinct but all potent weapons,\n" "Red Eclipse provides fast paced and accessible gameplay." msgstr "" -#: gnu/packages/games.scm:2738 +#: gnu/packages/games.scm:3062 msgid "Text adventure game" msgstr "" -#: gnu/packages/games.scm:2740 +#: gnu/packages/games.scm:3064 msgid "" "Grue Hunter is a text adventure game written in Perl. You must make\n" "your way through an underground cave system in search of the Grue. Can you\n" "capture it and get out alive?" msgstr "" -#: gnu/packages/games.scm:2782 +#: gnu/packages/games.scm:3106 msgid "Old-school earthworm action game" msgstr "" -#: gnu/packages/games.scm:2784 +#: gnu/packages/games.scm:3108 msgid "" "lierolibre is an earthworm action game where you fight another player\n" "(or the computer) underground using a wide array of weapons.\n" @@ -4257,11 +4432,11 @@ msgid "" "fullscreen, use F5 or Alt+Enter." msgstr "" -#: gnu/packages/games.scm:2859 +#: gnu/packages/games.scm:3181 msgid "3D Real-time strategy and real-time tactics game" msgstr "" -#: gnu/packages/games.scm:2861 +#: gnu/packages/games.scm:3183 msgid "" "Warzone 2100 offers campaign, multi-player, and single-player skirmish\n" "modes. An extensive tech tree with over 400 different technologies, combined\n" @@ -4269,11 +4444,11 @@ msgid "" "tactics." msgstr "" -#: gnu/packages/games.scm:2894 +#: gnu/packages/games.scm:3216 msgid "2D scrolling shooter game" msgstr "" -#: gnu/packages/games.scm:2896 +#: gnu/packages/games.scm:3218 msgid "" "In the year 2579, the intergalactic weapons corporation, WEAPCO, has\n" "dominated the galaxy. Guide Chris Bainfield and his friend Sid Wilson on\n" @@ -4282,11 +4457,11 @@ msgid "" "in strikes against the evil corporation." msgstr "" -#: gnu/packages/games.scm:2927 +#: gnu/packages/games.scm:3249 msgid "Fast-paced, arcade-style, top-scrolling space shooter" msgstr "" -#: gnu/packages/games.scm:2929 +#: gnu/packages/games.scm:3251 msgid "" "In this game you are the captain of the cargo ship Chromium B.S.U. and\n" "are responsible for delivering supplies to the troops on the front line. Your\n" @@ -4294,11 +4469,11 @@ msgid "" "safety of the Chromium vessel." msgstr "" -#: gnu/packages/games.scm:3005 +#: gnu/packages/games.scm:3327 msgid "Drawing software for children" msgstr "" -#: gnu/packages/games.scm:3007 +#: gnu/packages/games.scm:3329 msgid "" "Tux Paint is a free drawing program designed for young children (kids\n" "ages 3 and up). It has a simple, easy-to-use interface; fun sound effects;\n" @@ -4307,40 +4482,40 @@ msgid "" "your child be creative." msgstr "" -#: gnu/packages/games.scm:3046 +#: gnu/packages/games.scm:3368 msgid "Stamp images for Tux Paint" msgstr "" -#: gnu/packages/games.scm:3048 +#: gnu/packages/games.scm:3370 msgid "" "This package contains a set of \"Rubber Stamp\" images which can be used\n" "with the \"Stamp\" tool within Tux Paint." msgstr "" -#: gnu/packages/games.scm:3095 +#: gnu/packages/games.scm:3417 msgid "Configure Tux Paint" msgstr "" -#: gnu/packages/games.scm:3097 +#: gnu/packages/games.scm:3419 msgid "Tux Paint Config is a graphical configuration editor for Tux Paint." msgstr "" -#: gnu/packages/games.scm:3129 +#: gnu/packages/games.scm:3451 msgid "2D platformer game" msgstr "" -#: gnu/packages/games.scm:3130 +#: gnu/packages/games.scm:3452 msgid "" "SuperTux is a free classic 2D jump'n run sidescroller game\n" "in a style similar to the original Super Mario games covered under\n" "the GNU GPL." msgstr "" -#: gnu/packages/games.scm:3164 +#: gnu/packages/games.scm:3486 msgid "MUD client" msgstr "" -#: gnu/packages/games.scm:3166 +#: gnu/packages/games.scm:3488 msgid "" "TinTin++ is a MUD client which supports MCCP (Mud Client Compression Protocol),\n" "MMCP (Mud Master Chat Protocol), xterm 256 colors, most TELNET options used by MUDs,\n" @@ -4348,11 +4523,11 @@ msgid "" "auto mapper with a VT100 map display." msgstr "" -#: gnu/packages/games.scm:3203 +#: gnu/packages/games.scm:3525 msgid "Programming game" msgstr "" -#: gnu/packages/games.scm:3204 +#: gnu/packages/games.scm:3526 msgid "" "Learn programming, playing with ants and spider webs ;-)\n" "Your robot ant can be programmed in many languages: OCaml, Python, C, C++,\n" @@ -4360,22 +4535,22 @@ msgid "" "programmers may also add their own favorite language." msgstr "" -#: gnu/packages/games.scm:3248 +#: gnu/packages/games.scm:3571 msgid "Keyboard mashing and doodling game for babies" msgstr "" -#: gnu/packages/games.scm:3249 +#: gnu/packages/games.scm:3572 msgid "" "Bambam is a simple baby keyboard (and gamepad) masher\n" "application that locks the keyboard and mouse and instead displays bright\n" "colors, pictures, and sounds." msgstr "" -#: gnu/packages/games.scm:3313 +#: gnu/packages/games.scm:3636 msgid "Arcade-style fire fighting game" msgstr "" -#: gnu/packages/games.scm:3315 +#: gnu/packages/games.scm:3638 msgid "" "Mr. Rescue is an arcade styled 2d action game centered around evacuating\n" "civilians from burning buildings. The game features fast-paced fire\n" @@ -4383,11 +4558,11 @@ msgid "" "throwing people around in pseudo-randomly generated buildings." msgstr "" -#: gnu/packages/games.scm:3422 +#: gnu/packages/games.scm:3747 msgid "Non-euclidean graphical rogue-like game" msgstr "" -#: gnu/packages/games.scm:3424 +#: gnu/packages/games.scm:3749 msgid "" "HyperRogue is a game in which the player collects treasures and fights\n" "monsters -- rogue-like but for the fact that it is played on the hyperbolic\n" @@ -4401,21 +4576,21 @@ msgid "" "symbols, it still needs graphics to render the non-euclidean world." msgstr "" -#: gnu/packages/games.scm:3467 +#: gnu/packages/games.scm:3792 msgid "Shooter with space station destruction" msgstr "" -#: gnu/packages/games.scm:3469 +#: gnu/packages/games.scm:3794 msgid "" "Kobo Deluxe is an enhanced version of Akira Higuchi's XKobo graphical game\n" "for Un*x systems with X11." msgstr "" -#: gnu/packages/games.scm:3501 +#: gnu/packages/games.scm:3826 msgid "Turn based empire building strategy game" msgstr "" -#: gnu/packages/games.scm:3502 +#: gnu/packages/games.scm:3827 msgid "" "Freeciv is a turn based empire building strategy game\n" "inspired by the history of human civilization. The game commences in\n" @@ -4423,11 +4598,11 @@ msgid "" "to the Space Age." msgstr "" -#: gnu/packages/games.scm:3533 +#: gnu/packages/games.scm:3858 msgid "Recreation of data decryption effect in \"Sneakers\"" msgstr "" -#: gnu/packages/games.scm:3535 +#: gnu/packages/games.scm:3860 msgid "" "@code{No More Secrets} provides a command line tool called \"nms\"\n" "that recreates the famous data decryption effect seen on screen in the 1992\n" @@ -4438,41 +4613,41 @@ msgid "" "starting a decryption sequence to reveal the original plaintext characters." msgstr "" -#: gnu/packages/games.scm:3562 +#: gnu/packages/games.scm:3887 msgid "Data files for MegaGlest" msgstr "Fichiers de données pour MegaGlest" -#: gnu/packages/games.scm:3563 +#: gnu/packages/games.scm:3888 msgid "This package contains the data files required for MegaGlest." msgstr "Ce paquet contient les fichiers de données requis par MegaGlest." -#: gnu/packages/games.scm:3616 +#: gnu/packages/games.scm:3941 msgid "3D real-time strategy (RTS) game" msgstr "" -#: gnu/packages/games.scm:3617 +#: gnu/packages/games.scm:3942 msgid "" "MegaGlest is a cross-platform 3D real-time strategy (RTS)\n" "game, where you control the armies of one of seven different factions: Tech,\n" "Magic, Egypt, Indians, Norsemen, Persian or Romans." msgstr "" -#: gnu/packages/games.scm:3668 +#: gnu/packages/games.scm:3993 msgid "Side-scrolling physics platformer with a ball of tar" msgstr "" -#: gnu/packages/games.scm:3669 +#: gnu/packages/games.scm:3994 msgid "" "In FreeGish you control Gish, a ball of tar who lives\n" "happily with his girlfriend Brea, until one day a mysterious dark creature\n" "emerges from a sewer hole and pulls her below ground." msgstr "" -#: gnu/packages/games.scm:3708 +#: gnu/packages/games.scm:4030 msgid "Classic overhead run-and-gun game" msgstr "" -#: gnu/packages/games.scm:3709 +#: gnu/packages/games.scm:4031 msgid "" "C-Dogs SDL is a classic overhead run-and-gun game,\n" "supporting up to 4 players in co-op and deathmatch modes. Customize your\n" @@ -4480,33 +4655,33 @@ msgid "" "over 100 user-created campaigns." msgstr "" -#: gnu/packages/games.scm:3809 +#: gnu/packages/games.scm:4131 msgid "3D puzzle game" msgstr "" -#: gnu/packages/games.scm:3810 +#: gnu/packages/games.scm:4132 msgid "" "Kiki the nano bot is a 3D puzzle game. It is basically a\n" "mixture of the games Sokoban and Kula-World. Your task is to help Kiki, a\n" "small robot living in the nano world, repair its maker." msgstr "" -#: gnu/packages/games.scm:3900 +#: gnu/packages/games.scm:4264 msgid "2D retro multiplayer shooter game" msgstr "" -#: gnu/packages/games.scm:3901 +#: gnu/packages/games.scm:4265 msgid "" "Teeworlds is an online multiplayer game. Battle with up to\n" "16 players in a variety of game modes, including Team Deathmatch and Capture\n" "The Flag. You can even design your own maps!" msgstr "" -#: gnu/packages/games.scm:3954 +#: gnu/packages/games.scm:4318 msgid "Puzzle game with a dexterity component" msgstr "" -#: gnu/packages/games.scm:3955 +#: gnu/packages/games.scm:4319 msgid "" "Enigma is a puzzle game with 550 unique levels. The object\n" "of the game is to find and uncover pairs of identically colored ‘Oxyd’ stones.\n" @@ -4518,11 +4693,25 @@ msgid "" "with the mouse isn’t always trivial." msgstr "" -#: gnu/packages/games.scm:4026 +#: gnu/packages/games.scm:4352 +msgid "Abstract puzzle game" +msgstr "" + +#: gnu/packages/games.scm:4353 +msgid "" +"Chroma is an abstract puzzle game. A variety of colourful\n" +"shapes are arranged in a series of increasingly complex patterns, forming\n" +" fiendish traps that must be disarmed and mysterious puzzles that must be\n" +" manipulated in order to give up their subtle secrets. Initially so\n" +" straightforward that anyone can pick it up and begin to play, yet gradually\n" +" becoming difficult enough to tax even the brightest of minds." +msgstr "" + +#: gnu/packages/games.scm:4422 msgid "Puzzle game" msgstr "" -#: gnu/packages/games.scm:4027 +#: gnu/packages/games.scm:4423 msgid "" "Fish Fillets NG is strictly a puzzle game. The goal in\n" "every of the seventy levels is always the same: find a safe way out. The fish\n" @@ -4531,26 +4720,26 @@ msgid "" "fish. The whole game is accompanied by quiet, comforting music." msgstr "" -#: gnu/packages/games.scm:4091 +#: gnu/packages/games.scm:4487 msgid "Roguelike dungeon crawler game" msgstr "" -#: gnu/packages/games.scm:4092 +#: gnu/packages/games.scm:4488 msgid "" "Dungeon Crawl Stone Soup is a roguelike adventure through\n" "dungeons filled with dangerous monsters in a quest to find the mystifyingly\n" "fabulous Orb of Zot." msgstr "" -#: gnu/packages/games.scm:4138 +#: gnu/packages/games.scm:4534 msgid "Graphical roguelike dungeon crawler game" msgstr "" -#: gnu/packages/games.scm:4168 +#: gnu/packages/games.scm:4564 msgid "Cross-platform third-person action game" msgstr "" -#: gnu/packages/games.scm:4169 +#: gnu/packages/games.scm:4565 msgid "" "Lugaru is a third-person action game. The main character,\n" "Turner, is an anthropomorphic rebel bunny rabbit with impressive combat skills.\n" @@ -4560,19 +4749,19 @@ msgid "" "fight against their plot and save his fellow rabbits from slavery." msgstr "" -#: gnu/packages/games.scm:4219 +#: gnu/packages/games.scm:4615 msgid "Data files for 0ad" msgstr "" -#: gnu/packages/games.scm:4220 +#: gnu/packages/games.scm:4616 msgid "0ad-data provides the data files required by the game 0ad." msgstr "" -#: gnu/packages/games.scm:4338 +#: gnu/packages/games.scm:4734 msgid "3D real-time strategy game of ancient warfare" msgstr "" -#: gnu/packages/games.scm:4339 +#: gnu/packages/games.scm:4735 msgid "" "0 A.D. is a real-time strategy (RTS) game of ancient\n" "warfare. It's a historically-based war/economy game that allows players to\n" @@ -4582,11 +4771,11 @@ msgid "" "0ad needs a window manager that supports 'Extended Window Manager Hints'." msgstr "" -#: gnu/packages/games.scm:4414 +#: gnu/packages/games.scm:4810 msgid "Colossal Cave Adventure" msgstr "" -#: gnu/packages/games.scm:4415 +#: gnu/packages/games.scm:4811 msgid "" "The original Colossal Cave Adventure from 1976 was the\n" "origin of all text adventures, dungeon-crawl (computer) games, and\n" @@ -4595,11 +4784,11 @@ msgid "" "\"adventure 2.5\" and \"430-point adventure\"." msgstr "" -#: gnu/packages/games.scm:4426 +#: gnu/packages/games.scm:4822 msgid "Single-player, RPG roguelike game set in the world of Eyal" msgstr "" -#: gnu/packages/games.scm:4533 +#: gnu/packages/games.scm:4930 msgid "" "Tales of Maj’Eyal (ToME) RPG, featuring tactical turn-based\n" "combat and advanced character building. Play as one of many unique races and\n" @@ -4610,29 +4799,29 @@ msgid "" "Tales of Maj’Eyal offers engaging roguelike gameplay for the 21st century." msgstr "" -#: gnu/packages/games.scm:4579 +#: gnu/packages/games.scm:4976 msgid "First person shooter engine for Quake 1" msgstr "" -#: gnu/packages/games.scm:4580 +#: gnu/packages/games.scm:4977 msgid "" "Quakespasm is a modern engine for id software's Quake 1.\n" "It includes support for 64 bit CPUs, custom music playback, a new sound driver,\n" "some graphical niceities, and numerous bug-fixes and other improvements." msgstr "" -#: gnu/packages/games.scm:4629 +#: gnu/packages/games.scm:5027 msgid "" "vkquake is a modern engine for id software's Quake 1.\n" "It includes support for 64 bit CPUs, custom music playback, a new sound driver,\n" "some graphical niceities, and numerous bug-fixes and other improvements." msgstr "" -#: gnu/packages/games.scm:4680 +#: gnu/packages/games.scm:5078 msgid "First person shooter engine based on quake2" msgstr "" -#: gnu/packages/games.scm:4681 +#: gnu/packages/games.scm:5079 msgid "" "Yamagi Quake II is an enhanced client for id Software's Quake II.\n" "The main focus is an unchanged single player experience like back in 1997,\n" @@ -4642,22 +4831,30 @@ msgid "" "making Yamagi Quake II one of the most solid Quake II implementations available." msgstr "" -#: gnu/packages/games.scm:4737 +#: gnu/packages/games.scm:5107 +msgid "Sudoku for your terminal" +msgstr "" + +#: gnu/packages/games.scm:5108 +msgid "Nudoku is a ncurses-based Sudoku game for your terminal." +msgstr "" + +#: gnu/packages/games.scm:5154 msgid "Realistic physics puzzle game" msgstr "" -#: gnu/packages/games.scm:4738 +#: gnu/packages/games.scm:5155 msgid "" "The Butterfly Effect (tbe) is a game that uses\n" "realistic physics simulations to combine lots of simple mechanical\n" "elements to achieve a simple goal in the most complex way possible." msgstr "" -#: gnu/packages/games.scm:4789 +#: gnu/packages/games.scm:5206 msgid "Game of lonely space adventure" msgstr "" -#: gnu/packages/games.scm:4791 +#: gnu/packages/games.scm:5208 msgid "" "Pioneer is a space adventure game set in our galaxy at the turn of the\n" "31st century. The game is open-ended, and you are free to eke out whatever\n" @@ -4668,22 +4865,22 @@ msgid "" "whatever you make of it." msgstr "" -#: gnu/packages/games.scm:4818 +#: gnu/packages/games.scm:5235 msgid "Hacking contribution graphs in git" msgstr "" -#: gnu/packages/games.scm:4820 +#: gnu/packages/games.scm:5237 msgid "" "Badass generates false commits for a range of dates, essentially\n" "hacking the gamification of contribution graphs on platforms such as\n" "Github or Gitlab." msgstr "" -#: gnu/packages/games.scm:4898 +#: gnu/packages/games.scm:5315 msgid "Educational programming strategy game" msgstr "" -#: gnu/packages/games.scm:4899 +#: gnu/packages/games.scm:5316 msgid "" "Colobot: Gold Edition is a real-time strategy game, where\n" "you can program your units (bots) in a language called CBOT, which is similar\n" @@ -4691,11 +4888,11 @@ msgid "" "You can save humanity and get programming skills!" msgstr "" -#: gnu/packages/games.scm:4982 +#: gnu/packages/games.scm:5399 msgid "Modern Doom 2 source port" msgstr "" -#: gnu/packages/games.scm:4983 +#: gnu/packages/games.scm:5400 msgid "" "GZdoom is a port of the Doom 2 game engine, with a modern\n" "renderer. It improves modding support with ZDoom's advanced mapping features\n" @@ -4703,29 +4900,29 @@ msgid "" "Strife, Chex Quest, and fan-created games like Harmony, Hacx and Freedoom." msgstr "" -#: gnu/packages/games.scm:5044 +#: gnu/packages/games.scm:5470 msgid "The Fortune Cookie program from BSD games" msgstr "" -#: gnu/packages/games.scm:5045 +#: gnu/packages/games.scm:5471 msgid "" "Fortune is a command-line utility which displays a random\n" "quotation from a collection of quotes." msgstr "" -#: gnu/packages/games.scm:5085 +#: gnu/packages/games.scm:5511 msgid "Data files for Xonotic" msgstr "Fichiers de données pour Xonotic" -#: gnu/packages/games.scm:5087 +#: gnu/packages/games.scm:5513 msgid "Xonotic-data provides the data files required by the game Xonotic." msgstr "Ce paquet contient les fichiers de données requis par le jeu Xonotic." -#: gnu/packages/games.scm:5278 +#: gnu/packages/games.scm:5707 msgid "Fast-paced first-person shooter game" msgstr "" -#: gnu/packages/games.scm:5280 +#: gnu/packages/games.scm:5709 msgid "" "Xonotic is a free, fast-paced first-person shooter.\n" "The project is geared towards providing addictive arena shooter\n" @@ -4735,11 +4932,54 @@ msgid "" "open-source FPS of its kind." msgstr "" -#: gnu/packages/gcc.scm:347 +#: gnu/packages/games.scm:5759 +msgid "Portable Z-machine interpreter (ncurses version) for text adventure games" +msgstr "" + +#: gnu/packages/games.scm:5760 +msgid "" +"Frotz is an interpreter for Infocom games and other Z-machine\n" +"games in the text adventure/interactive fiction genre. This version of Frotz\n" +"complies with standard 1.0 of Graham Nelson's specification. It plays all\n" +"Z-code games V1-V8, including V6, with sound support through libao, and uses\n" +"ncurses for text display." +msgstr "" + +#: gnu/packages/games.scm:5801 +msgid "Portable Z-machine dumb interpreter for text adventure games" +msgstr "" + +#: gnu/packages/games.scm:5802 +msgid "" +"Frotz is an interpreter for Infocom games and\n" +"other Z-machine games in the text adventure/interactive fiction genre.\n" +"dfrotz is the dumb interface version. You get no screen control; everything\n" +"is just printed to the terminal line by line. The terminal handles all the\n" +"scrolling. Maybe you'd like to experience what it's like to play Adventure on\n" +"a teletype. A much cooler use for compiling Frotz with the dumb interface is\n" +"that it can be wrapped in CGI scripting, PHP, and the like to allow people\n" +"to play games on webpages. It can also be made into a chat bot." +msgstr "" + +#: gnu/packages/games.scm:5865 +msgid "Portable Z-machine interpreter (SDL port) for text adventure games" +msgstr "" + +#: gnu/packages/games.scm:5866 +msgid "" +"Frotz is an interpreter for Infocom games and other Z-machine\n" +"games in the text adventure/interactive fiction genre. This version of Frotz\n" +"using SDL fully supports all these versions of the Z-Machine including the\n" +"graphical version 6. Graphics and sound are created through the use of the SDL\n" +"libraries. AIFF sound effects and music in MOD and OGG formats are supported\n" +"when packaged in Blorb container files or optionally from individual files." +msgstr "" + +#: gnu/packages/gcc.scm:348 msgid "GNU Compiler Collection" msgstr "GNU Compiler Collection" -#: gnu/packages/gcc.scm:349 +#: gnu/packages/gcc.scm:350 msgid "" "GCC is the GNU Compiler Collection. It provides compiler front-ends\n" "for several languages, including C, C++, Objective-C, Fortran, Java, Ada, and\n" @@ -4749,7 +4989,7 @@ msgstr "" "pour plusieurs langages, dont C, C++, Objective-C, Fortran, Java, Ada,\n" "et Go. Il inclut également le support de bibliothèques pour ces langages." -#: gnu/packages/gcc.scm:514 +#: gnu/packages/gcc.scm:516 msgid "" "GCC is the GNU Compiler Collection. It provides compiler front-ends\n" "for several languages, including C, C++, Objective-C, Fortran, Ada, and Go.\n" @@ -4759,25 +4999,25 @@ msgstr "" "pour plusieurs langages, dont C, C++, Objective-C, Fortran, Ada et Go.\n" "Il inclut également le support de bibliothèques pour ces langages." -#: gnu/packages/gcc.scm:545 +#: gnu/packages/gcc.scm:561 msgid "GNU C++ standard library" msgstr "Bibliothèque standard C++ GNU" -#: gnu/packages/gcc.scm:580 +#: gnu/packages/gcc.scm:596 msgid "Collection of subroutines used by various GNU programs" msgstr "Collection de sous-routines utilisées par divers programmes GNU" -#: gnu/packages/gcc.scm:765 +#: gnu/packages/gcc.scm:803 msgid "GNU libstdc++ documentation" msgstr "Documentation de GNU libstdc++" -#: gnu/packages/gcc.scm:835 +#: gnu/packages/gcc.scm:873 msgid "Manipulating sets and relations of integer points bounded by linear constraints" msgstr "" "Manipulation des ensembles et relations d'entiers liés par des\n" "contraintes linéaires" -#: gnu/packages/gcc.scm:838 +#: gnu/packages/gcc.scm:876 msgid "" "isl is a library for manipulating sets and relations of integer points\n" "bounded by linear constraints. Supported operations on sets include\n" @@ -4789,11 +5029,11 @@ msgid "" "dependence analysis and bounds on piecewise step-polynomials." msgstr "" -#: gnu/packages/gcc.scm:888 +#: gnu/packages/gcc.scm:926 msgid "Library to generate code for scanning Z-polyhedra" msgstr "Bibliothèque poru générer du code pour analyser des Z-polyhèdres" -#: gnu/packages/gcc.scm:890 +#: gnu/packages/gcc.scm:928 msgid "" "CLooG is a free software library to generate code for scanning\n" "Z-polyhedra. That is, it finds a code (e.g., in C, FORTRAN...) that\n" @@ -4819,11 +5059,11 @@ msgstr "" "contrôle complet de la qualité du code généré, mais CLooG est conçu pour\n" "éviter le sur-coût des contrôles et pour produire un code très efficace." -#: gnu/packages/gcc.scm:945 +#: gnu/packages/gcc.scm:983 msgid "Reference manual for the C programming language" msgstr "Manuel de référence pour le langage de programmation C" -#: gnu/packages/gcc.scm:947 +#: gnu/packages/gcc.scm:985 msgid "" "This is a reference manual for the C programming language, as\n" "implemented by the GNU C Compiler (gcc). As a reference, it is not intended\n" @@ -4835,11 +5075,11 @@ msgstr "" "n'est pas conçu comme un tutoriel du langage. Il précise plutôt les\n" "constructions du langage. Les fonctions des bibliothèques ne sont pas incluses." -#: gnu/packages/gettext.scm:108 +#: gnu/packages/gettext.scm:109 msgid "Tools and documentation for translation (used to build other packages)" msgstr "Outils et documentation pour la traduction (utilisés pour construire d'autres paquets)" -#: gnu/packages/gettext.scm:110 +#: gnu/packages/gettext.scm:111 msgid "" "GNU Gettext is a package providing a framework for translating the\n" "textual output of programs into multiple languages. It provides translators\n" @@ -4852,15 +5092,15 @@ msgstr "" "bibliothèque pour charger les messages traduits depuis les catalogues.\n" "Presque tous les paquets GNU utilisent Gettext." -#: gnu/packages/gettext.scm:140 +#: gnu/packages/gettext.scm:141 msgid "Tools and documentation for translation" msgstr "Outils et documentation pour la traduction" -#: gnu/packages/gettext.scm:213 +#: gnu/packages/gettext.scm:201 msgid "Scripts to ease maintenance of translations" msgstr "Scripts pour faciliter la maintenance des traductions" -#: gnu/packages/gettext.scm:215 +#: gnu/packages/gettext.scm:203 msgid "" "The po4a (PO for anything) project goal is to ease translations (and\n" "more interestingly, the maintenance of translations) using gettext tools on\n" @@ -4870,11 +5110,11 @@ msgstr "" "la maintenance des traductions) en utilisant les outils gettext dans des domaines\n" "pour lesquels ils n'étaient pas conçus, comme la documentation." -#: gnu/packages/gimp.scm:68 +#: gnu/packages/gimp.scm:69 msgid "Image pixel format conversion library" msgstr "Bibliothèque de conversion des formats d'images pixelisés" -#: gnu/packages/gimp.scm:70 +#: gnu/packages/gimp.scm:71 msgid "" "Babl is a dynamic, any-to-any pixel format translation library.\n" "It allows converting between different methods of storing pixels, known as\n" @@ -4894,22 +5134,22 @@ msgstr "" "existantes est aussi fournit ainsi que le cadre pour ajouter de nouveaux modèles\n" "de couleurs et des types de données." -#: gnu/packages/gimp.scm:109 +#: gnu/packages/gimp.scm:110 msgid "Graph based image processing framework" msgstr "" -#: gnu/packages/gimp.scm:110 +#: gnu/packages/gimp.scm:111 msgid "" "GEGL (Generic Graphics Library) provides infrastructure to\n" "do demand based cached non destructive image editing on larger than RAM\n" "buffers." msgstr "" -#: gnu/packages/gimp.scm:176 +#: gnu/packages/gimp.scm:180 msgid "GNU Image Manipulation Program" msgstr "Programme de Manipulation d'Image GNU" -#: gnu/packages/gimp.scm:178 +#: gnu/packages/gimp.scm:182 msgid "" "GIMP is an application for image manipulation tasks such as photo\n" "retouching, composition and authoring. It supports all common image formats\n" @@ -4917,11 +5157,11 @@ msgid "" "that is extensible via a plugin system." msgstr "" -#: gnu/packages/gimp.scm:238 +#: gnu/packages/gimp.scm:242 msgid "GIMP plug-in to edit image in fourier space" msgstr "Greffon GIMP pour éditer des images en espace de fourier" -#: gnu/packages/gimp.scm:240 +#: gnu/packages/gimp.scm:244 msgid "" "This package provides a simple plug-in to apply the fourier transform on\n" "an image, allowing you to work with the transformed image inside GIMP. You\n" @@ -4933,53 +5173,65 @@ msgstr "" "pouvez dessiner ou appliquer des filtres en espace de fourier et récupérer l'image\n" "modifiée avec n'importe quel transformée de fourier inverse." -#: gnu/packages/gimp.scm:268 +#: gnu/packages/gimp.scm:272 msgid "Artistic brushes library" msgstr "" -#: gnu/packages/gimp.scm:269 +#: gnu/packages/gimp.scm:273 msgid "" "Libmypaint, also called \"brushlib\", is a library for making\n" "brushstrokes which is used by MyPaint and GIMP." msgstr "" -#: gnu/packages/gimp.scm:300 +#: gnu/packages/gimp.scm:304 msgid "Default brushes for MyPaint" msgstr "" -#: gnu/packages/gimp.scm:301 +#: gnu/packages/gimp.scm:305 msgid "" "This package provides the default set of brushes for\n" "MyPaint." msgstr "Ce paquet fournit les pinceaux par défaut de MyPaint." -#: gnu/packages/gnome.scm:205 +#: gnu/packages/gimp.scm:366 +msgid "GIMP plugins for texture synthesis" +msgstr "" + +#: gnu/packages/gimp.scm:368 +msgid "" +"This package provides resynthesizer plugins for GIMP, which encompasses\n" +"tools for healing selections (content-aware fill), enlarging the canvas and\n" +"healing the border, increasing the resolution while adding detail, and\n" +"transfering the style of an image." +msgstr "" + +#: gnu/packages/gnome.scm:208 msgid "CD/DVD burning tool for Gnome" msgstr "" -#: gnu/packages/gnome.scm:206 +#: gnu/packages/gnome.scm:209 msgid "" "Brasero is an application to burn CD/DVD for the Gnome\n" "Desktop. It is designed to be as simple as possible and has some unique\n" "features to enable users to create their discs easily and quickly." msgstr "" -#: gnu/packages/gnome.scm:281 +#: gnu/packages/gnome.scm:284 msgid "Simple backup tool, for regular encrypted backups" msgstr "" -#: gnu/packages/gnome.scm:283 +#: gnu/packages/gnome.scm:286 msgid "" "Déjà Dup is a simple backup tool, for regular encrypted backups. It\n" "uses duplicity as the backend, which supports incremental backups and storage\n" "either on a local, or remote machine via a number of methods." msgstr "" -#: gnu/packages/gnome.scm:330 +#: gnu/packages/gnome.scm:333 msgid "Diagram creation for GNOME" msgstr "" -#: gnu/packages/gnome.scm:331 +#: gnu/packages/gnome.scm:334 msgid "" "Dia can be used to draw different types of diagrams, and\n" "includes support for UML static structure diagrams (class diagrams), entity\n" @@ -4987,33 +5239,33 @@ msgid "" "formats like PNG, SVG, PDF and EPS." msgstr "" -#: gnu/packages/gnome.scm:387 +#: gnu/packages/gnome.scm:390 msgid "Library for accessing online service APIs" msgstr "Bibliothèque d'accès à des API de services en ligne" -#: gnu/packages/gnome.scm:389 +#: gnu/packages/gnome.scm:392 msgid "" "libgdata is a GLib-based library for accessing online service APIs using\n" "the GData protocol — most notably, Google's services. It provides APIs to\n" "access the common Google services, and has full asynchronous support." msgstr "" -#: gnu/packages/gnome.scm:420 +#: gnu/packages/gnome.scm:425 msgid "GObject-based library for handling and rendering XPS documents" msgstr "" -#: gnu/packages/gnome.scm:422 +#: gnu/packages/gnome.scm:427 msgid "" "libgxps is a GObject-based library for handling and rendering XPS\n" "documents. This package also contains binaries that can convert XPS documents\n" "to other formats." msgstr "" -#: gnu/packages/gnome.scm:442 +#: gnu/packages/gnome.scm:447 msgid "Bootstrap GNOME modules built from Git" msgstr "" -#: gnu/packages/gnome.scm:443 +#: gnu/packages/gnome.scm:448 msgid "" "gnome-common contains various files needed to bootstrap\n" "GNOME modules built from Git. It contains a common \"autogen.sh\" script that\n" @@ -5021,11 +5273,11 @@ msgid "" "commonly used macros." msgstr "" -#: gnu/packages/gnome.scm:494 +#: gnu/packages/gnome.scm:499 msgid "Libgnome-desktop, gnome-about, and desktop-wide documents" msgstr "" -#: gnu/packages/gnome.scm:496 +#: gnu/packages/gnome.scm:501 msgid "" "The libgnome-desktop library provides API shared by several applications\n" "on the desktop, but that cannot live in the platform for various reasons.\n" @@ -5035,49 +5287,49 @@ msgid "" "The gnome-about program helps find which version of GNOME is installed." msgstr "" -#: gnu/packages/gnome.scm:529 +#: gnu/packages/gnome.scm:534 msgid "Documentation utilities for the Gnome project" msgstr "Utilitaires de documentation pour le projet Gnome" -#: gnu/packages/gnome.scm:531 +#: gnu/packages/gnome.scm:536 msgid "" "Gnome-doc-utils is a collection of documentation utilities for the\n" "Gnome project. It includes xml2po tool which makes it easier to translate\n" "and keep up to date translations of documentation." msgstr "" -#: gnu/packages/gnome.scm:570 +#: gnu/packages/gnome.scm:575 msgid "Disk management utility for GNOME" msgstr "" -#: gnu/packages/gnome.scm:571 +#: gnu/packages/gnome.scm:576 msgid "Disk management utility for GNOME." msgstr "" -#: gnu/packages/gnome.scm:614 +#: gnu/packages/gnome.scm:619 msgid "Libraries for displaying certificates and accessing key stores" msgstr "" -#: gnu/packages/gnome.scm:616 +#: gnu/packages/gnome.scm:621 msgid "" "The GCR package contains libraries used for displaying certificates and\n" "accessing key stores. It also provides the viewer for crypto files on the\n" "GNOME Desktop." msgstr "" -#: gnu/packages/gnome.scm:645 +#: gnu/packages/gnome.scm:650 msgid "Accessing passwords from the GNOME keyring" msgstr "" -#: gnu/packages/gnome.scm:647 +#: gnu/packages/gnome.scm:652 msgid "Client library to access passwords from the GNOME keyring." msgstr "" -#: gnu/packages/gnome.scm:717 +#: gnu/packages/gnome.scm:722 msgid "Daemon to store passwords and encryption keys" msgstr "" -#: gnu/packages/gnome.scm:719 +#: gnu/packages/gnome.scm:724 msgid "" "gnome-keyring is a program that keeps passwords and other secrets for\n" "users. It is run as a daemon in the session, similar to ssh-agent, and other\n" @@ -5088,11 +5340,11 @@ msgid "" "forgotten when the session ends." msgstr "" -#: gnu/packages/gnome.scm:793 +#: gnu/packages/gnome.scm:798 msgid "GNOME's document viewer" msgstr "" -#: gnu/packages/gnome.scm:795 +#: gnu/packages/gnome.scm:800 msgid "" "Evince is a document viewer for multiple document formats. It\n" "currently supports PDF, PostScript, DjVu, TIFF and DVI. The goal\n" @@ -5100,50 +5352,50 @@ msgid "" "on the GNOME Desktop with a single simple application." msgstr "" -#: gnu/packages/gnome.scm:824 +#: gnu/packages/gnome.scm:829 msgid "GNOME settings for various desktop components" msgstr "" -#: gnu/packages/gnome.scm:826 +#: gnu/packages/gnome.scm:831 msgid "" "Gsettings-desktop-schemas contains a collection of GSettings schemas\n" "for settings shared by various components of the GNOME desktop." msgstr "" -#: gnu/packages/gnome.scm:860 +#: gnu/packages/gnome.scm:865 msgid "Utility to implement the Freedesktop Icon Naming Specification" msgstr "" -#: gnu/packages/gnome.scm:862 +#: gnu/packages/gnome.scm:867 msgid "" "To help with the transition to the Freedesktop Icon Naming\n" "Specification, the icon naming utility maps the icon names used by the\n" "GNOME and KDE desktops to the icon names proposed in the specification." msgstr "" -#: gnu/packages/gnome.scm:893 +#: gnu/packages/gnome.scm:898 msgid "GNOME icon theme" msgstr "" -#: gnu/packages/gnome.scm:895 +#: gnu/packages/gnome.scm:900 msgid "Icons for the GNOME desktop." msgstr "" -#: gnu/packages/gnome.scm:932 +#: gnu/packages/gnome.scm:937 msgid "Tango icon theme" msgstr "" -#: gnu/packages/gnome.scm:933 +#: gnu/packages/gnome.scm:938 msgid "" "This is an icon theme that follows the Tango visual\n" "guidelines." msgstr "" -#: gnu/packages/gnome.scm:959 +#: gnu/packages/gnome.scm:964 msgid "Database of common MIME types" msgstr "" -#: gnu/packages/gnome.scm:961 +#: gnu/packages/gnome.scm:966 msgid "" "The shared-mime-info package contains the core database of common types\n" "and the update-mime-database command used to extend it. It requires glib2 to\n" @@ -5152,19 +5404,19 @@ msgid "" "database is translated at Transifex." msgstr "" -#: gnu/packages/gnome.scm:985 +#: gnu/packages/gnome.scm:990 msgid "Freedesktop icon theme" msgstr "" -#: gnu/packages/gnome.scm:987 +#: gnu/packages/gnome.scm:992 msgid "Freedesktop icon theme." msgstr "" -#: gnu/packages/gnome.scm:1015 +#: gnu/packages/gnome.scm:1020 msgid "GNOME desktop notification library" msgstr "" -#: gnu/packages/gnome.scm:1017 +#: gnu/packages/gnome.scm:1022 msgid "" "Libnotify is a library that sends desktop notifications to a\n" "notification daemon, as defined in the Desktop Notifications spec. These\n" @@ -5172,11 +5424,11 @@ msgid "" "some form of information without getting in the user's way." msgstr "" -#: gnu/packages/gnome.scm:1051 +#: gnu/packages/gnome.scm:1056 msgid "GObject plugin system" msgstr "" -#: gnu/packages/gnome.scm:1053 +#: gnu/packages/gnome.scm:1058 msgid "" "Libpeas is a gobject-based plugin engine, targeted at giving every\n" "application the chance to assume its own extensibility. It also has a set of\n" @@ -5185,33 +5437,33 @@ msgid "" "API." msgstr "" -#: gnu/packages/gnome.scm:1092 +#: gnu/packages/gnome.scm:1097 msgid "OpenGL extension to GTK+" msgstr "" -#: gnu/packages/gnome.scm:1093 +#: gnu/packages/gnome.scm:1098 msgid "" "GtkGLExt is an OpenGL extension to GTK+. It provides\n" "additional GDK objects which support OpenGL rendering in GTK+ and GtkWidget\n" "API add-ons to make GTK+ widgets OpenGL-capable." msgstr "" -#: gnu/packages/gnome.scm:1136 +#: gnu/packages/gnome.scm:1141 msgid "GTK+ rapid application development tool" msgstr "" -#: gnu/packages/gnome.scm:1137 +#: gnu/packages/gnome.scm:1142 msgid "" "Glade is a rapid application development (RAD) tool to\n" "enable quick & easy development of user interfaces for the GTK+ toolkit and\n" "the GNOME desktop environment." msgstr "" -#: gnu/packages/gnome.scm:1165 +#: gnu/packages/gnome.scm:1170 msgid "CSS2 parsing and manipulation library" msgstr "" -#: gnu/packages/gnome.scm:1167 +#: gnu/packages/gnome.scm:1172 msgid "" "Libcroco is a standalone CSS2 parsing and manipulation library.\n" "The parser provides a low level event driven SAC-like API and a CSS object\n" @@ -5219,31 +5471,31 @@ msgid "" "XML/CSS rendering engine." msgstr "" -#: gnu/packages/gnome.scm:1200 +#: gnu/packages/gnome.scm:1205 msgid "GNOME's Structured File Library" msgstr "" -#: gnu/packages/gnome.scm:1202 +#: gnu/packages/gnome.scm:1207 msgid "" "Libgsf aims to provide an efficient extensible I/O abstraction for\n" "dealing with different structured file formats." msgstr "" -#: gnu/packages/gnome.scm:1267 +#: gnu/packages/gnome.scm:1272 msgid "Render SVG files using Cairo" msgstr "" -#: gnu/packages/gnome.scm:1269 +#: gnu/packages/gnome.scm:1274 msgid "" "Librsvg is a C library to render SVG files using the Cairo 2D graphics\n" "library." msgstr "" -#: gnu/packages/gnome.scm:1293 +#: gnu/packages/gnome.scm:1298 msgid "Create trees of CORBA Interface Definition Language files" msgstr "" -#: gnu/packages/gnome.scm:1294 +#: gnu/packages/gnome.scm:1299 msgid "" "Libidl is a library for creating trees of CORBA Interface\n" "Definition Language (idl) files, which is a specification for defining\n" @@ -5252,144 +5504,144 @@ msgid "" "functionality was designed to be as reusable and portable as possible." msgstr "" -#: gnu/packages/gnome.scm:1334 +#: gnu/packages/gnome.scm:1339 msgid "CORBA 2.4-compliant Object Request Broker" msgstr "" -#: gnu/packages/gnome.scm:1335 +#: gnu/packages/gnome.scm:1340 msgid "" "ORBit2 is a CORBA 2.4-compliant Object Request Broker (orb)\n" "featuring mature C, C++ and Python bindings." msgstr "" -#: gnu/packages/gnome.scm:1382 +#: gnu/packages/gnome.scm:1387 msgid "Framework for creating reusable components for use in GNOME applications" msgstr "" -#: gnu/packages/gnome.scm:1383 +#: gnu/packages/gnome.scm:1388 msgid "" "Bonobo is a framework for creating reusable components for\n" "use in GNOME applications, built on top of CORBA." msgstr "" -#: gnu/packages/gnome.scm:1414 +#: gnu/packages/gnome.scm:1419 msgid "Store application preferences" msgstr "" -#: gnu/packages/gnome.scm:1415 +#: gnu/packages/gnome.scm:1420 msgid "" "Gconf is a system for storing application preferences. It\n" "is intended for user preferences; not arbitrary data storage." msgstr "" -#: gnu/packages/gnome.scm:1449 +#: gnu/packages/gnome.scm:1454 msgid "Base MIME and Application database for GNOME" msgstr "" -#: gnu/packages/gnome.scm:1450 +#: gnu/packages/gnome.scm:1455 msgid "" "GNOME Mime Data is a module which contains the base MIME\n" "and Application database for GNOME. The data stored by this module is\n" "designed to be accessed through the MIME functions in GnomeVFS." msgstr "" -#: gnu/packages/gnome.scm:1493 +#: gnu/packages/gnome.scm:1498 msgid "Access files and folders in GNOME applications" msgstr "" -#: gnu/packages/gnome.scm:1495 +#: gnu/packages/gnome.scm:1500 msgid "" "GnomeVFS is the core library used to access files and folders in GNOME\n" "applications. It provides a file system abstraction which allows applications\n" "to access local and remote files with a single consistent API." msgstr "" -#: gnu/packages/gnome.scm:1540 +#: gnu/packages/gnome.scm:1545 msgid "Useful routines for building applications" msgstr "" -#: gnu/packages/gnome.scm:1541 +#: gnu/packages/gnome.scm:1546 msgid "" "The libgnome library provides a number of useful routines\n" "for building modern applications, including session management, activation of\n" "files and URIs, and displaying help." msgstr "" -#: gnu/packages/gnome.scm:1564 +#: gnu/packages/gnome.scm:1569 msgid "2D drawing library" msgstr "Bibliothèque de dessin 2D" -#: gnu/packages/gnome.scm:1565 +#: gnu/packages/gnome.scm:1570 msgid "" "Libart is a 2D drawing library intended as a\n" "high-quality vector-based 2D library with antialiasing and alpha composition." msgstr "" -#: gnu/packages/gnome.scm:1592 +#: gnu/packages/gnome.scm:1597 msgid "Flexible widget for creating interactive structured graphics" msgstr "" -#: gnu/packages/gnome.scm:1593 +#: gnu/packages/gnome.scm:1598 msgid "" "The GnomeCanvas widget provides a flexible widget for\n" "creating interactive structured graphics." msgstr "" -#: gnu/packages/gnome.scm:1617 +#: gnu/packages/gnome.scm:1622 msgid "C++ bindings to the GNOME Canvas library" msgstr "" -#: gnu/packages/gnome.scm:1618 +#: gnu/packages/gnome.scm:1623 msgid "C++ bindings to the GNOME Canvas library." msgstr "" -#: gnu/packages/gnome.scm:1650 +#: gnu/packages/gnome.scm:1655 msgid "Additional widgets for applications" msgstr "" -#: gnu/packages/gnome.scm:1651 +#: gnu/packages/gnome.scm:1656 msgid "" "The libgnomeui library provides additional widgets for\n" "applications. Many of the widgets from libgnomeui have already been\n" "ported to GTK+." msgstr "" -#: gnu/packages/gnome.scm:1677 +#: gnu/packages/gnome.scm:1682 msgid "Load glade interfaces and access the glade built widgets" msgstr "" -#: gnu/packages/gnome.scm:1678 +#: gnu/packages/gnome.scm:1683 msgid "" "Libglade is a library that provides interfaces for loading\n" "graphical interfaces described in glade files and for accessing the\n" "widgets built in the loading process." msgstr "" -#: gnu/packages/gnome.scm:1708 gnu/packages/gnome.scm:1740 +#: gnu/packages/gnome.scm:1713 gnu/packages/gnome.scm:1745 msgid "Printing framework for GNOME" msgstr "" -#: gnu/packages/gnome.scm:1710 +#: gnu/packages/gnome.scm:1715 msgid "" "GNOME-print was a printing framework for GNOME. It has been deprecated\n" "since ca. 2006, when GTK+ itself incorporated printing support." msgstr "" -#: gnu/packages/gnome.scm:1784 +#: gnu/packages/gnome.scm:1789 msgid "Some user interface controls using Bonobo" msgstr "" -#: gnu/packages/gnome.scm:1785 +#: gnu/packages/gnome.scm:1790 msgid "" "The Bonobo UI library provides a number of user interface\n" "controls using the Bonobo component framework." msgstr "" -#: gnu/packages/gnome.scm:1810 +#: gnu/packages/gnome.scm:1815 msgid "Window Navigator Construction Kit" msgstr "" -#: gnu/packages/gnome.scm:1812 +#: gnu/packages/gnome.scm:1817 msgid "" "Libwnck is the Window Navigator Construction Kit, a library for use in\n" "writing pagers, tasklists, and more generally applications that are dealing\n" @@ -5397,19 +5649,19 @@ msgid "" "Hints specification (EWMH)." msgstr "" -#: gnu/packages/gnome.scm:1865 +#: gnu/packages/gnome.scm:1870 msgid "Document-centric objects and utilities" msgstr "" -#: gnu/packages/gnome.scm:1866 +#: gnu/packages/gnome.scm:1871 msgid "A GLib/GTK+ set of document-centric objects and utilities." msgstr "" -#: gnu/packages/gnome.scm:1950 +#: gnu/packages/gnome.scm:1955 msgid "Spreadsheet application" msgstr "" -#: gnu/packages/gnome.scm:1952 +#: gnu/packages/gnome.scm:1957 msgid "" "GNUmeric is a GNU spreadsheet application, running under GNOME. It is\n" "interoperable with other spreadsheet applications. It has a vast array of\n" @@ -5418,29 +5670,29 @@ msgid "" "engineering." msgstr "" -#: gnu/packages/gnome.scm:1992 +#: gnu/packages/gnome.scm:1997 msgid "Default GNOME 3 themes" msgstr "" -#: gnu/packages/gnome.scm:1994 +#: gnu/packages/gnome.scm:1999 msgid "The default GNOME 3 themes (Adwaita and some accessibility themes)." msgstr "" -#: gnu/packages/gnome.scm:2027 +#: gnu/packages/gnome.scm:2032 msgid "Manage encryption keys and passwords in the GNOME keyring" msgstr "" -#: gnu/packages/gnome.scm:2029 +#: gnu/packages/gnome.scm:2034 msgid "" "Seahorse is a GNOME application for managing encryption keys and\n" "passwords in the GNOME keyring." msgstr "" -#: gnu/packages/gnome.scm:2067 gnu/packages/gnome.scm:2305 +#: gnu/packages/gnome.scm:2072 gnu/packages/gnome.scm:2296 msgid "Compiler for the GObject type system" msgstr "" -#: gnu/packages/gnome.scm:2069 +#: gnu/packages/gnome.scm:2074 msgid "" "Vala is a programming language that aims to bring modern programming\n" "language features to GNOME developers without imposing any additional runtime\n" @@ -5448,11 +5700,11 @@ msgid "" "libraries written in C." msgstr "" -#: gnu/packages/gnome.scm:2101 +#: gnu/packages/gnome.scm:2106 msgid "Virtual Terminal Emulator" msgstr "" -#: gnu/packages/gnome.scm:2103 +#: gnu/packages/gnome.scm:2108 msgid "" "VTE is a library (libvte) implementing a terminal emulator widget for\n" "GTK+, and a minimal sample application (vte) using that. Vte is mainly used in\n" @@ -5460,39 +5712,39 @@ msgid "" "editors, IDEs, etc." msgstr "" -#: gnu/packages/gnome.scm:2136 +#: gnu/packages/gnome.scm:2140 msgid "Enhanced VTE terminal widget" msgstr "" -#: gnu/packages/gnome.scm:2138 +#: gnu/packages/gnome.scm:2142 msgid "" "VTE is a library (libvte) implementing a terminal emulator widget for\n" "GTK+, this fork provides additional functions exposed for keyboard text\n" "selection and URL hints." msgstr "" -#: gnu/packages/gnome.scm:2224 +#: gnu/packages/gnome.scm:2228 msgid "Remote desktop viewer for GNOME" msgstr "" -#: gnu/packages/gnome.scm:2225 +#: gnu/packages/gnome.scm:2229 msgid "" "Vinagre is a remote display client supporting the VNC, SPICE\n" "and RDP protocols." msgstr "" -#: gnu/packages/gnome.scm:2277 +#: gnu/packages/gnome.scm:2268 msgid "Low-level GNOME configuration system" msgstr "" -#: gnu/packages/gnome.scm:2278 +#: gnu/packages/gnome.scm:2269 msgid "" "Dconf is a low-level configuration system. Its main purpose\n" "is to provide a backend to GSettings on platforms that don't already have\n" "configuration storage systems." msgstr "" -#: gnu/packages/gnome.scm:2307 +#: gnu/packages/gnome.scm:2298 msgid "" "JSON-GLib is a C library based on GLib providing serialization and\n" "deserialization support for the JavaScript Object Notation (JSON) format\n" @@ -5501,11 +5753,11 @@ msgid "" "and objects." msgstr "" -#: gnu/packages/gnome.scm:2346 +#: gnu/packages/gnome.scm:2337 msgid "High-level API for X Keyboard Extension" msgstr "" -#: gnu/packages/gnome.scm:2348 +#: gnu/packages/gnome.scm:2339 msgid "" "LibXklavier is a library providing high-level API for X Keyboard\n" "Extension known as XKB. This library is intended to support XFree86 and other\n" @@ -5513,58 +5765,58 @@ msgid "" "indicators etc)." msgstr "" -#: gnu/packages/gnome.scm:2376 +#: gnu/packages/gnome.scm:2367 msgid "Python bindings to librsvg" msgstr "" -#: gnu/packages/gnome.scm:2378 +#: gnu/packages/gnome.scm:2369 msgid "" "This packages provides Python bindings to librsvg, the SVG rendering\n" "library." msgstr "" -#: gnu/packages/gnome.scm:2428 +#: gnu/packages/gnome.scm:2419 msgid "Network-related GIO modules" msgstr "" -#: gnu/packages/gnome.scm:2430 +#: gnu/packages/gnome.scm:2421 msgid "" "This package contains various network related extensions for the GIO\n" "library." msgstr "" -#: gnu/packages/gnome.scm:2461 +#: gnu/packages/gnome.scm:2452 msgid "RESTful web api query library" msgstr "" -#: gnu/packages/gnome.scm:2463 +#: gnu/packages/gnome.scm:2454 msgid "" "This library was designed to make it easier to access web services that\n" "claim to be \"RESTful\". It includes convenience wrappers for libsoup and\n" "libxml to ease remote use of the RESTful API." msgstr "" -#: gnu/packages/gnome.scm:2585 +#: gnu/packages/gnome.scm:2577 msgid "GLib-based HTTP Library" msgstr "" -#: gnu/packages/gnome.scm:2587 +#: gnu/packages/gnome.scm:2579 msgid "" "LibSoup is an HTTP client/server library for GNOME. It uses GObjects\n" "and the GLib main loop, to integrate well with GNOME applications." msgstr "" -#: gnu/packages/gnome.scm:2633 +#: gnu/packages/gnome.scm:2625 msgid "GObject bindings for \"Secret Service\" API" msgstr "" -#: gnu/packages/gnome.scm:2635 +#: gnu/packages/gnome.scm:2627 msgid "" "Libsecret is a GObject based library for storing and retrieving passwords\n" "and other secrets. It communicates with the \"Secret Service\" using DBus." msgstr "" -#: gnu/packages/gnome.scm:2664 +#: gnu/packages/gnome.scm:2656 msgid "" "Five or More is a game where you try to align\n" " five or more objects of the same color and shape causing them to disappear.\n" @@ -5572,21 +5824,21 @@ msgid "" " Try to last as long as possible." msgstr "" -#: gnu/packages/gnome.scm:2702 +#: gnu/packages/gnome.scm:2694 msgid "Minesweeper game" msgstr "" -#: gnu/packages/gnome.scm:2704 +#: gnu/packages/gnome.scm:2696 msgid "" "Mines (previously gnomine) is a puzzle game where you locate mines\n" "floating in an ocean using only your brain and a little bit of luck." msgstr "" -#: gnu/packages/gnome.scm:2735 +#: gnu/packages/gnome.scm:2727 msgid "Japanese logic game" msgstr "" -#: gnu/packages/gnome.scm:2737 +#: gnu/packages/gnome.scm:2729 msgid "" "Sudoku is a Japanese logic game that exploded in popularity in 2005.\n" "GNOME Sudoku is meant to have an interface as simple and unobstrusive as\n" @@ -5594,11 +5846,11 @@ msgid "" "more fun." msgstr "" -#: gnu/packages/gnome.scm:2783 +#: gnu/packages/gnome.scm:2775 msgid "Terminal emulator" msgstr "" -#: gnu/packages/gnome.scm:2785 +#: gnu/packages/gnome.scm:2777 msgid "" "GNOME Terminal is a terminal emulator application for accessing a\n" "UNIX shell environment which can be used to run programs available on\n" @@ -5608,22 +5860,22 @@ msgid "" "keyboard shortcuts." msgstr "" -#: gnu/packages/gnome.scm:2851 +#: gnu/packages/gnome.scm:2843 msgid "Color management service" msgstr "" -#: gnu/packages/gnome.scm:2852 +#: gnu/packages/gnome.scm:2844 msgid "" "Colord is a system service that makes it easy to manage,\n" "install and generate color profiles to accurately color manage input and\n" "output devices." msgstr "" -#: gnu/packages/gnome.scm:2897 +#: gnu/packages/gnome.scm:2889 msgid "Geolocation service" msgstr "" -#: gnu/packages/gnome.scm:2898 +#: gnu/packages/gnome.scm:2890 msgid "" "Geoclue is a D-Bus service that provides location\n" "information. The primary goal of the Geoclue project is to make creating\n" @@ -5632,11 +5884,11 @@ msgid "" "permission from user." msgstr "" -#: gnu/packages/gnome.scm:2933 +#: gnu/packages/gnome.scm:2925 msgid "Geocoding and reverse-geocoding library" msgstr "" -#: gnu/packages/gnome.scm:2935 +#: gnu/packages/gnome.scm:2927 msgid "" "geocode-glib is a convenience library for geocoding (finding longitude,\n" "and latitude from an address) and reverse geocoding (finding an address from\n" @@ -5644,11 +5896,11 @@ msgid "" "faster results and to avoid unnecessary server load." msgstr "" -#: gnu/packages/gnome.scm:2988 +#: gnu/packages/gnome.scm:2974 msgid "System daemon for managing power devices" msgstr "" -#: gnu/packages/gnome.scm:2990 +#: gnu/packages/gnome.scm:2976 msgid "" "UPower is an abstraction for enumerating power devices,\n" "listening to device events and querying history and statistics. Any\n" @@ -5656,21 +5908,21 @@ msgid "" "service via the system message bus." msgstr "" -#: gnu/packages/gnome.scm:3048 +#: gnu/packages/gnome.scm:3034 msgid "Location, time zone, and weather library for GNOME" msgstr "" -#: gnu/packages/gnome.scm:3050 +#: gnu/packages/gnome.scm:3036 msgid "" "libgweather is a library to access weather information from online\n" "services for numerous locations." msgstr "" -#: gnu/packages/gnome.scm:3101 +#: gnu/packages/gnome.scm:3087 msgid "GNOME settings daemon" msgstr "" -#: gnu/packages/gnome.scm:3103 +#: gnu/packages/gnome.scm:3089 msgid "" "This package contains the daemon responsible for setting the various\n" "parameters of a GNOME session and the applications that run under it. It\n" @@ -5678,42 +5930,42 @@ msgid "" "settings, themes, mouse settings, and startup of other daemons." msgstr "" -#: gnu/packages/gnome.scm:3140 +#: gnu/packages/gnome.scm:3126 msgid "Library to parse and save media playlists for GNOME" msgstr "" -#: gnu/packages/gnome.scm:3141 +#: gnu/packages/gnome.scm:3127 msgid "" "Totem-pl-parser is a GObjects-based library to parse and save\n" "playlists in a variety of formats." msgstr "" -#: gnu/packages/gnome.scm:3175 +#: gnu/packages/gnome.scm:3161 msgid "Solitaire card games" msgstr "" -#: gnu/packages/gnome.scm:3177 +#: gnu/packages/gnome.scm:3163 msgid "" "Aisleriot (also known as Solitaire or sol) is a collection of card games\n" "which are easy to play with the aid of a mouse." msgstr "" -#: gnu/packages/gnome.scm:3201 +#: gnu/packages/gnome.scm:3187 msgid "API documentation browser for GNOME" msgstr "" -#: gnu/packages/gnome.scm:3203 +#: gnu/packages/gnome.scm:3189 msgid "" "Devhelp is an API documentation browser for GTK+ and GNOME. It works\n" "natively with GTK-Doc (the API reference system developed for GTK+ and used\n" "throughout GNOME for API documentation)." msgstr "" -#: gnu/packages/gnome.scm:3270 +#: gnu/packages/gnome.scm:3256 msgid "Object oriented GL/GLES Abstraction/Utility Layer" msgstr "" -#: gnu/packages/gnome.scm:3272 +#: gnu/packages/gnome.scm:3258 msgid "" "Cogl is a small library for using 3D graphics hardware to draw pretty\n" "pictures. The API departs from the flat state machine style of OpenGL and is\n" @@ -5721,26 +5973,26 @@ msgid "" "without stepping on each others toes." msgstr "" -#: gnu/packages/gnome.scm:3329 +#: gnu/packages/gnome.scm:3315 msgid "Open GL based interactive canvas library" msgstr "" -#: gnu/packages/gnome.scm:3331 gnu/packages/gnome.scm:3360 +#: gnu/packages/gnome.scm:3317 gnu/packages/gnome.scm:3346 msgid "" "Clutter is an Open GL based interactive canvas library, designed for\n" "creating fast, mainly 2D single window applications such as media box UIs,\n" "presentations, kiosk style applications and so on." msgstr "" -#: gnu/packages/gnome.scm:3358 +#: gnu/packages/gnome.scm:3344 msgid "Open GL based interactive canvas library GTK+ widget" msgstr "" -#: gnu/packages/gnome.scm:3388 +#: gnu/packages/gnome.scm:3374 msgid "Integration library for using GStreamer with Clutter" msgstr "" -#: gnu/packages/gnome.scm:3390 +#: gnu/packages/gnome.scm:3376 msgid "" "Clutter-Gst is an integration library for using GStreamer with Clutter.\n" "It provides a GStreamer sink to upload frames to GL and an actor that\n" @@ -5748,11 +6000,11 @@ msgid "" "GL based interactive canvas library." msgstr "" -#: gnu/packages/gnome.scm:3424 +#: gnu/packages/gnome.scm:3410 msgid "C library providing a ClutterActor to display maps" msgstr "" -#: gnu/packages/gnome.scm:3426 +#: gnu/packages/gnome.scm:3412 msgid "" "libchamplain is a C library providing a ClutterActor to display maps.\n" "It also provides a Gtk+ widget to display maps in Gtk+ applications. Python\n" @@ -5760,32 +6012,32 @@ msgid "" "such as OpenStreetMap, OpenCycleMap, OpenAerialMap, and Maps for free." msgstr "" -#: gnu/packages/gnome.scm:3457 +#: gnu/packages/gnome.scm:3443 msgid "Object mapper from GObjects to SQLite" msgstr "" -#: gnu/packages/gnome.scm:3459 +#: gnu/packages/gnome.scm:3445 msgid "" "Gom provides an object mapper from GObjects to SQLite. It helps you\n" "write applications that need to store structured data as well as make complex\n" "queries upon that data." msgstr "" -#: gnu/packages/gnome.scm:3494 +#: gnu/packages/gnome.scm:3480 msgid "Useful functionality shared among GNOME games" msgstr "" -#: gnu/packages/gnome.scm:3496 +#: gnu/packages/gnome.scm:3482 msgid "" "libgnome-games-support is a small library intended for internal use by\n" "GNOME Games, but it may be used by others." msgstr "" -#: gnu/packages/gnome.scm:3524 +#: gnu/packages/gnome.scm:3510 msgid "Sliding block puzzles" msgstr "" -#: gnu/packages/gnome.scm:3526 +#: gnu/packages/gnome.scm:3512 msgid "" "GNOME Klotski is a set of block sliding puzzles. The objective is to move\n" "the patterned block to the area bordered by green markers. To do so, you will\n" @@ -5793,55 +6045,55 @@ msgid "" "as possible!" msgstr "" -#: gnu/packages/gnome.scm:3580 +#: gnu/packages/gnome.scm:3566 msgid "Framework for discovering and browsing media" msgstr "" -#: gnu/packages/gnome.scm:3582 gnu/packages/gnome.scm:3635 +#: gnu/packages/gnome.scm:3568 gnu/packages/gnome.scm:3621 msgid "" "Grilo is a framework focused on making media discovery and browsing easy\n" "for application developers." msgstr "" -#: gnu/packages/gnome.scm:3633 +#: gnu/packages/gnome.scm:3619 msgid "Plugins for the Grilo media discovery library" msgstr "" -#: gnu/packages/gnome.scm:3736 +#: gnu/packages/gnome.scm:3722 msgid "Simple media player for GNOME based on GStreamer" msgstr "" -#: gnu/packages/gnome.scm:3737 +#: gnu/packages/gnome.scm:3723 msgid "" "Totem is a simple yet featureful media player for GNOME\n" "which can read a large number of file formats." msgstr "" -#: gnu/packages/gnome.scm:3838 +#: gnu/packages/gnome.scm:3824 msgid "Music player for GNOME" msgstr "" -#: gnu/packages/gnome.scm:3839 +#: gnu/packages/gnome.scm:3825 msgid "" "Rhythmbox is a music playing application for GNOME. It\n" "supports playlists, song ratings, and any codecs installed through gstreamer." msgstr "" -#: gnu/packages/gnome.scm:3889 +#: gnu/packages/gnome.scm:3875 msgid "GNOME image viewer" msgstr "" -#: gnu/packages/gnome.scm:3890 +#: gnu/packages/gnome.scm:3876 msgid "" "Eye of GNOME is the GNOME image viewer. It\n" "supports image conversion, rotation, and slideshows." msgstr "" -#: gnu/packages/gnome.scm:3912 +#: gnu/packages/gnome.scm:3898 msgid "Extensions for the Eye of GNOME image viewer" msgstr "" -#: gnu/packages/gnome.scm:3924 +#: gnu/packages/gnome.scm:3910 msgid "" "This package provides plugins for the Eye of GNOME (EOG) image viewer,\n" "notably:\n" @@ -5854,21 +6106,21 @@ msgid "" "@end itemize\n" msgstr "" -#: gnu/packages/gnome.scm:3960 +#: gnu/packages/gnome.scm:3946 msgid "GObject bindings for libudev" msgstr "Liaisons GObject pour libudev" -#: gnu/packages/gnome.scm:3962 +#: gnu/packages/gnome.scm:3948 msgid "" "This library provides GObject bindings for libudev. It was originally\n" "part of udev-extras, then udev, then systemd. It's now a project on its own." msgstr "" -#: gnu/packages/gnome.scm:4010 +#: gnu/packages/gnome.scm:3996 msgid "Userspace virtual file system for GIO" msgstr "" -#: gnu/packages/gnome.scm:4012 +#: gnu/packages/gnome.scm:3998 msgid "" "GVFS is a userspace virtual file system designed to work with the I/O\n" "abstraction of GIO. It contains a GIO module that seamlessly adds GVFS support\n" @@ -5879,11 +6131,11 @@ msgid "" "DAV, and others." msgstr "" -#: gnu/packages/gnome.scm:4058 +#: gnu/packages/gnome.scm:4031 msgid "GLib binding for libusb1" msgstr "Liaisons GLib pour libusb1" -#: gnu/packages/gnome.scm:4060 +#: gnu/packages/gnome.scm:4033 msgid "" "GUsb is a GObject wrapper for libusb1 that makes it easy to do\n" "asynchronous control, bulk and interrupt transfers with proper cancellation\n" @@ -5891,11 +6143,11 @@ msgid "" "USB transfers with your high-level application or system daemon." msgstr "" -#: gnu/packages/gnome.scm:4111 +#: gnu/packages/gnome.scm:4084 msgid "Document and image scanner" msgstr "" -#: gnu/packages/gnome.scm:4112 +#: gnu/packages/gnome.scm:4085 msgid "" "Simple Scan is an easy-to-use application, designed to let\n" "users connect their scanner and quickly have the image/document in an\n" @@ -5904,62 +6156,62 @@ msgid "" "work and the interface is well tested." msgstr "" -#: gnu/packages/gnome.scm:4185 +#: gnu/packages/gnome.scm:4152 msgid "Web browser for GNOME" msgstr "" -#: gnu/packages/gnome.scm:4187 +#: gnu/packages/gnome.scm:4154 msgid "" "Eolie is a new web browser for GNOME. It features Firefox sync support,\n" "a secret password store, an adblocker, and a modern UI." msgstr "" -#: gnu/packages/gnome.scm:4239 +#: gnu/packages/gnome.scm:4211 msgid "GNOME web browser" msgstr "" -#: gnu/packages/gnome.scm:4241 +#: gnu/packages/gnome.scm:4213 msgid "" "Epiphany is a GNOME web browser targeted at non-technical users. Its\n" "principles are simplicity and standards compliance." msgstr "" -#: gnu/packages/gnome.scm:4297 +#: gnu/packages/gnome.scm:4269 msgid "D-Bus debugger" msgstr "" -#: gnu/packages/gnome.scm:4299 +#: gnu/packages/gnome.scm:4271 msgid "" "D-Feet is a D-Bus debugger, which can be used to inspect D-Bus interfaces\n" "of running programs and invoke methods on those interfaces." msgstr "" -#: gnu/packages/gnome.scm:4321 +#: gnu/packages/gnome.scm:4293 msgid "XSL stylesheets for Yelp" msgstr "" -#: gnu/packages/gnome.scm:4323 +#: gnu/packages/gnome.scm:4295 msgid "" "Yelp-xsl contains XSL stylesheets that are used by the yelp help browser\n" "to format Docbook and Mallard documents." msgstr "" -#: gnu/packages/gnome.scm:4354 +#: gnu/packages/gnome.scm:4326 msgid "GNOME help browser" msgstr "" -#: gnu/packages/gnome.scm:4356 +#: gnu/packages/gnome.scm:4328 msgid "" "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,\n" "man, info, and HTML documents. It can locate documents according to the\n" "freedesktop.org help system specification." msgstr "" -#: gnu/packages/gnome.scm:4384 +#: gnu/packages/gnome.scm:4356 msgid "Yelp documentation tools" msgstr "" -#: gnu/packages/gnome.scm:4386 +#: gnu/packages/gnome.scm:4358 msgid "" "Yelp-tools is a collection of scripts and build utilities to help create,\n" "manage, and publish documentation for Yelp and the web. Most of the heavy\n" @@ -5967,32 +6219,32 @@ msgid "" "wraps things up in a developer-friendly way." msgstr "" -#: gnu/packages/gnome.scm:4423 +#: gnu/packages/gnome.scm:4395 msgid "GObject collection library" msgstr "" -#: gnu/packages/gnome.scm:4425 +#: gnu/packages/gnome.scm:4397 msgid "" "Libgee is a utility library providing GObject-based interfaces and\n" "classes for commonly used data structures." msgstr "" -#: gnu/packages/gnome.scm:4452 +#: gnu/packages/gnome.scm:4424 msgid "GObject wrapper around the Exiv2 photo metadata library" msgstr "" -#: gnu/packages/gnome.scm:4454 +#: gnu/packages/gnome.scm:4426 msgid "" "Gexiv2 is a GObject wrapper around the Exiv2 photo metadata library. It\n" "allows for GNOME applications to easily inspect and update EXIF, IPTC, and XMP\n" "metadata in photo and video files of various formats." msgstr "" -#: gnu/packages/gnome.scm:4498 +#: gnu/packages/gnome.scm:4470 msgid "Photo manager for GNOME 3" msgstr "" -#: gnu/packages/gnome.scm:4500 +#: gnu/packages/gnome.scm:4472 msgid "" "Shotwell is a digital photo manager designed for the GNOME desktop\n" "environment. It allows you to import photos from disk or camera, organize\n" @@ -6000,62 +6252,62 @@ msgid "" "share them with others via social networking and more." msgstr "" -#: gnu/packages/gnome.scm:4541 +#: gnu/packages/gnome.scm:4513 msgid "Graphical archive manager for GNOME" msgstr "" -#: gnu/packages/gnome.scm:4542 +#: gnu/packages/gnome.scm:4514 msgid "" "File Roller is an archive manager for the GNOME desktop\n" "environment that allows users to view, unpack, and create compressed archives\n" "such as gzip tarballs." msgstr "" -#: gnu/packages/gnome.scm:4620 +#: gnu/packages/gnome.scm:4592 msgid "Session manager for GNOME" msgstr "" -#: gnu/packages/gnome.scm:4622 +#: gnu/packages/gnome.scm:4594 msgid "" "This package contains the GNOME session manager, as well as a\n" "configuration program to choose applications starting on login." msgstr "" -#: gnu/packages/gnome.scm:4687 +#: gnu/packages/gnome.scm:4659 msgid "Javascript bindings for GNOME" msgstr "" -#: gnu/packages/gnome.scm:4690 +#: gnu/packages/gnome.scm:4662 msgid "" "Gjs is a javascript binding for GNOME. It's mainly based on spidermonkey\n" "javascript engine and the GObject introspection framework." msgstr "" -#: gnu/packages/gnome.scm:4749 +#: gnu/packages/gnome.scm:4721 msgid "GNOME text editor" msgstr "Éditeur de texte GNOME" -#: gnu/packages/gnome.scm:4750 +#: gnu/packages/gnome.scm:4722 msgid "" "While aiming at simplicity and ease of use, gedit is a\n" "powerful general purpose text editor." msgstr "" -#: gnu/packages/gnome.scm:4774 +#: gnu/packages/gnome.scm:4746 msgid "Display graphical dialog boxes from shell scripts" msgstr "" -#: gnu/packages/gnome.scm:4777 +#: gnu/packages/gnome.scm:4749 msgid "" "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you\n" "to display dialog boxes from the commandline and shell scripts." msgstr "" -#: gnu/packages/gnome.scm:4876 +#: gnu/packages/gnome.scm:4848 msgid "Window and compositing manager" msgstr "" -#: gnu/packages/gnome.scm:4879 +#: gnu/packages/gnome.scm:4851 msgid "" "Mutter is a window and compositing manager that displays and manages your\n" "desktop via OpenGL. Mutter combines a sophisticated display engine using the\n" @@ -6063,11 +6315,11 @@ msgid "" "window manager." msgstr "" -#: gnu/packages/gnome.scm:4913 +#: gnu/packages/gnome.scm:4885 msgid "Single sign-on framework for GNOME" msgstr "" -#: gnu/packages/gnome.scm:4916 +#: gnu/packages/gnome.scm:4888 msgid "" "GNOME Online Accounts provides interfaces so that applications and\n" "libraries in GNOME can access the user's online accounts. It has providers for\n" @@ -6075,32 +6327,32 @@ msgid "" "Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos." msgstr "" -#: gnu/packages/gnome.scm:5000 +#: gnu/packages/gnome.scm:4972 msgid "Store address books and calendars" msgstr "" -#: gnu/packages/gnome.scm:5003 +#: gnu/packages/gnome.scm:4975 msgid "" "This package provides a unified backend for programs that work with\n" "contacts, tasks, and calendar information. It was originally developed for\n" "Evolution (hence the name), but is now used by other packages as well." msgstr "" -#: gnu/packages/gnome.scm:5066 +#: gnu/packages/gnome.scm:5038 msgid "Text entry and UI navigation application" msgstr "" -#: gnu/packages/gnome.scm:5069 +#: gnu/packages/gnome.scm:5041 msgid "" "Caribou is an input assistive technology intended for switch and pointer\n" "users." msgstr "" -#: gnu/packages/gnome.scm:5187 +#: gnu/packages/gnome.scm:5159 msgid "Network connection manager" msgstr "" -#: gnu/packages/gnome.scm:5190 +#: gnu/packages/gnome.scm:5162 msgid "" "NetworkManager is a system network service that manages your network\n" "devices and connections, attempting to keep active network connectivity when\n" @@ -6109,39 +6361,39 @@ msgid "" "services." msgstr "" -#: gnu/packages/gnome.scm:5224 +#: gnu/packages/gnome.scm:5196 msgid "OpenVPN plug-in for NetworkManager" msgstr "" -#: gnu/packages/gnome.scm:5226 +#: gnu/packages/gnome.scm:5198 msgid "" "This extension of NetworkManager allows it to take care of connections\n" "to virtual private networks (VPNs) via OpenVPN." msgstr "" -#: gnu/packages/gnome.scm:5248 +#: gnu/packages/gnome.scm:5220 msgid "Database of broadband connection configuration" msgstr "" -#: gnu/packages/gnome.scm:5249 +#: gnu/packages/gnome.scm:5221 msgid "Database of broadband connection configuration." msgstr "" -#: gnu/packages/gnome.scm:5283 +#: gnu/packages/gnome.scm:5255 msgid "Applet for managing network connections" msgstr "" -#: gnu/packages/gnome.scm:5286 +#: gnu/packages/gnome.scm:5258 msgid "" "This package contains a systray applet for NetworkManager. It displays\n" "the available networks and allows users to easily switch between them." msgstr "" -#: gnu/packages/gnome.scm:5311 +#: gnu/packages/gnome.scm:5283 msgid "C++ wrapper for XML parser library libxml2" msgstr "" -#: gnu/packages/gnome.scm:5313 +#: gnu/packages/gnome.scm:5285 msgid "" "This package provides a C++ wrapper for the XML parser library\n" "libxml2." @@ -6149,31 +6401,31 @@ msgstr "" "Ce paquet fournit une enveloppe C++ autour de la bibliothèque d'analyseur XML\n" "libxml2." -#: gnu/packages/gnome.scm:5449 +#: gnu/packages/gnome.scm:5422 msgid "Display manager for GNOME" msgstr "" -#: gnu/packages/gnome.scm:5452 +#: gnu/packages/gnome.scm:5425 msgid "" "GNOME Display Manager is a system service that is responsible for\n" "providing graphical log-ins and managing local and remote displays." msgstr "" -#: gnu/packages/gnome.scm:5476 +#: gnu/packages/gnome.scm:5449 msgid "Portable system access library" msgstr "" -#: gnu/packages/gnome.scm:5479 +#: gnu/packages/gnome.scm:5452 msgid "" "LibGTop is a library to get system specific data such as CPU and memory\n" "usage and information about running processes." msgstr "" -#: gnu/packages/gnome.scm:5509 +#: gnu/packages/gnome.scm:5482 msgid "GNOME Bluetooth subsystem" msgstr "" -#: gnu/packages/gnome.scm:5512 +#: gnu/packages/gnome.scm:5485 msgid "" "This package contains tools for managing and manipulating Bluetooth\n" "devices using the GNOME desktop." @@ -6181,11 +6433,11 @@ msgstr "" "Ce paquet contient des outils pour gérer et manipuler des appareils bluetooth\n" "depuis le bureau GNOME." -#: gnu/packages/gnome.scm:5578 +#: gnu/packages/gnome.scm:5551 msgid "Utilities to configure the GNOME desktop" msgstr "" -#: gnu/packages/gnome.scm:5581 +#: gnu/packages/gnome.scm:5554 msgid "" "This package contains configuration applets for the GNOME desktop,\n" "allowing to set accessibility configuration, desktop fonts, keyboard and mouse\n" @@ -6193,21 +6445,21 @@ msgid "" "properties, screen resolution, and other GNOME parameters." msgstr "" -#: gnu/packages/gnome.scm:5666 +#: gnu/packages/gnome.scm:5639 msgid "Desktop shell for GNOME" msgstr "" -#: gnu/packages/gnome.scm:5669 +#: gnu/packages/gnome.scm:5642 msgid "" "GNOME Shell provides core user interface functions for the GNOME desktop,\n" "like switching to windows and launching applications." msgstr "" -#: gnu/packages/gnome.scm:5704 +#: gnu/packages/gnome.scm:5677 msgid "VNC viewer widget for GTK+" msgstr "" -#: gnu/packages/gnome.scm:5706 +#: gnu/packages/gnome.scm:5679 msgid "" "GTK-VNC is a VNC viewer widget for GTK+, used by remote desktop viewing\n" "applications, for instance the Vinagre client, GNOME Boxes and virt-viewer.\n" @@ -6215,43 +6467,43 @@ msgid "" "as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions." msgstr "" -#: gnu/packages/gnome.scm:5734 +#: gnu/packages/gnome.scm:5707 msgid "Archives integration support for GNOME" msgstr "" -#: gnu/packages/gnome.scm:5737 +#: gnu/packages/gnome.scm:5710 msgid "" "GNOME Autoar is a library which makes creating and extracting archives\n" "easy, safe, and automatic." msgstr "" -#: gnu/packages/gnome.scm:5789 +#: gnu/packages/gnome.scm:5762 msgid "Metadata database, indexer and search tool" msgstr "" -#: gnu/packages/gnome.scm:5792 +#: gnu/packages/gnome.scm:5765 msgid "" "Tracker is an advanced framework for first class objects with associated\n" "metadata and tags. It provides a one stop solution for all metadata, tags,\n" "shared object databases, search tools and indexing." msgstr "" -#: gnu/packages/gnome.scm:5843 +#: gnu/packages/gnome.scm:5816 msgid "File manager for GNOME" msgstr "" -#: gnu/packages/gnome.scm:5846 +#: gnu/packages/gnome.scm:5819 msgid "" "Nautilus (Files) is a file manager designed to fit the GNOME desktop\n" "design and behaviour, giving the user a simple way to navigate and manage its\n" "files." msgstr "" -#: gnu/packages/gnome.scm:5878 +#: gnu/packages/gnome.scm:5851 msgid "Disk usage analyzer for GNOME" msgstr "" -#: gnu/packages/gnome.scm:5880 +#: gnu/packages/gnome.scm:5853 msgid "" "Baobab (Disk Usage Analyzer) is a graphical application to analyse disk\n" "usage in the GNOME desktop environment. It can easily scan device volumes or\n" @@ -6259,11 +6511,11 @@ msgid "" "is complete it provides a graphical representation of each selected folder." msgstr "" -#: gnu/packages/gnome.scm:5904 +#: gnu/packages/gnome.scm:5877 msgid "Background images for the GNOME desktop" msgstr "" -#: gnu/packages/gnome.scm:5906 +#: gnu/packages/gnome.scm:5879 msgid "" "GNOME backgrounds package contains a collection of graphics files which\n" "can be used as backgrounds in the GNOME Desktop environment. Additionally,\n" @@ -6271,33 +6523,33 @@ msgid "" "can add your own files to the collection." msgstr "" -#: gnu/packages/gnome.scm:5939 +#: gnu/packages/gnome.scm:5912 msgid "Take pictures of your screen" msgstr "" -#: gnu/packages/gnome.scm:5941 +#: gnu/packages/gnome.scm:5914 msgid "" "GNOME Screenshot is a utility used for taking screenshots of the entire\n" "screen, a window or a user defined area of the screen, with optional\n" "beautifying border effects." msgstr "" -#: gnu/packages/gnome.scm:5978 +#: gnu/packages/gnome.scm:5951 msgid "Graphical editor for GNOME's dconf configuration system" msgstr "" -#: gnu/packages/gnome.scm:5980 +#: gnu/packages/gnome.scm:5953 msgid "" "Dconf-editor is a graphical tool for browsing and editing the dconf\n" "configuration system for GNOME. It allows users to configure desktop\n" "software that do not provide their own configuration interface." msgstr "" -#: gnu/packages/gnome.scm:6009 +#: gnu/packages/gnome.scm:5982 msgid "Default MIME type associations for the GNOME desktop" msgstr "" -#: gnu/packages/gnome.scm:6011 +#: gnu/packages/gnome.scm:5984 msgid "" "Given many installed packages which might handle a given MIME type, a\n" "user running the GNOME desktop probably has some preferences: for example,\n" @@ -6306,94 +6558,94 @@ msgid "" "associations for GNOME." msgstr "" -#: gnu/packages/gnome.scm:6070 +#: gnu/packages/gnome.scm:6043 msgid "The GNU desktop environment" msgstr "" -#: gnu/packages/gnome.scm:6073 +#: gnu/packages/gnome.scm:6046 msgid "" "GNOME is the graphical desktop for GNU. It includes a wide variety of\n" "applications for browsing the web, editing text and images, creating\n" "documents and diagrams, playing media, scanning, and much more." msgstr "" -#: gnu/packages/gnome.scm:6125 +#: gnu/packages/gnome.scm:6098 msgid "Desktop recording program" msgstr "" -#: gnu/packages/gnome.scm:6126 +#: gnu/packages/gnome.scm:6099 msgid "" "Byzanz is a simple desktop recording program with a\n" "command-line interface. It can record part or all of an X display for a\n" "specified duration and save it as a GIF encoded animated image file." msgstr "" -#: gnu/packages/gnome.scm:6153 +#: gnu/packages/gnome.scm:6126 msgid "GObject wrapper for libcanberra" msgstr "" -#: gnu/packages/gnome.scm:6155 +#: gnu/packages/gnome.scm:6128 msgid "" "GSound is a small library for playing system sounds. It's designed to be\n" "used via GObject Introspection, and is a thin wrapper around the libcanberra C\n" "library." msgstr "" -#: gnu/packages/gnome.scm:6182 +#: gnu/packages/gnome.scm:6155 msgid "Library for accessing SkyDrive and Hotmail" msgstr "Bibliothèque pour accéder à SkyDrive et Hotmail" -#: gnu/packages/gnome.scm:6184 +#: gnu/packages/gnome.scm:6157 msgid "" "Libzapojit is a GLib-based library for accessing online service APIs of\n" "Microsoft SkyDrive and Hotmail, using their REST protocols." msgstr "" -#: gnu/packages/gnome.scm:6220 +#: gnu/packages/gnome.scm:6193 msgid "GNOME's clock application" msgstr "" -#: gnu/packages/gnome.scm:6222 +#: gnu/packages/gnome.scm:6195 msgid "" "GNOME Clocks is a simple clocks application designed to fit the GNOME\n" "desktop. It supports world clock, stop watch, alarms, and count down timer." msgstr "" -#: gnu/packages/gnome.scm:6254 +#: gnu/packages/gnome.scm:6227 msgid "GNOME's calendar application" msgstr "" -#: gnu/packages/gnome.scm:6256 +#: gnu/packages/gnome.scm:6229 msgid "" "GNOME Calendar is a simple calendar application designed to fit the GNOME\n" "desktop. It supports multiple calendars, month, week and year view." msgstr "" -#: gnu/packages/gnome.scm:6306 +#: gnu/packages/gnome.scm:6279 msgid "GNOME's ToDo Application" msgstr "" -#: gnu/packages/gnome.scm:6308 +#: gnu/packages/gnome.scm:6281 msgid "" "GNOME To Do is a simplistic personal task manager designed to perfectly\n" "fit the GNOME desktop." msgstr "" -#: gnu/packages/gnome.scm:6337 +#: gnu/packages/gnome.scm:6319 msgid "Look up words in dictionary sources" msgstr "" -#: gnu/packages/gnome.scm:6339 +#: gnu/packages/gnome.scm:6321 msgid "" "GNOME Dictionary can look for the definition or translation of a word in\n" "existing databases over the internet." msgstr "" -#: gnu/packages/gnome.scm:6399 +#: gnu/packages/gnome.scm:6381 msgid "Customize advanced GNOME 3 options" msgstr "" -#: gnu/packages/gnome.scm:6402 +#: gnu/packages/gnome.scm:6384 msgid "" "GNOME Tweak Tool allows adjusting advanced configuration settings in\n" "GNOME 3. This includes things like the fonts used in user interface elements,\n" @@ -6401,63 +6653,63 @@ msgid "" "GNOME Shell appearance and extension, etc." msgstr "" -#: gnu/packages/gnome.scm:6429 +#: gnu/packages/gnome.scm:6411 msgid "Extensions for GNOME Shell" msgstr "" -#: gnu/packages/gnome.scm:6430 +#: gnu/packages/gnome.scm:6412 msgid "" "GNOME Shell extensions modify and extend GNOME Shell\n" "functionality and behavior." msgstr "" -#: gnu/packages/gnome.scm:6460 +#: gnu/packages/gnome.scm:6442 msgid "A flat GTK+ theme with transparent elements" msgstr "" -#: gnu/packages/gnome.scm:6461 +#: gnu/packages/gnome.scm:6443 msgid "" "Arc is a flat theme with transparent elements for GTK 3, GTK\n" "2, and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments\n" "like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc." msgstr "" -#: gnu/packages/gnome.scm:6500 +#: gnu/packages/gnome.scm:6474 msgid "Faba icon theme" msgstr "" -#: gnu/packages/gnome.scm:6502 +#: gnu/packages/gnome.scm:6476 msgid "" "Faba is a minimal icon set used as a basis for other themes such as\n" "Moka" msgstr "" -#: gnu/packages/gnome.scm:6526 +#: gnu/packages/gnome.scm:6500 msgid "Moka icon theme" msgstr "" -#: gnu/packages/gnome.scm:6527 +#: gnu/packages/gnome.scm:6501 msgid "" "Moka is a stylized desktop icon set, designed to be clear,\n" "simple and consistent." msgstr "" -#: gnu/packages/gnome.scm:6559 +#: gnu/packages/gnome.scm:6533 msgid "Arc icon theme" msgstr "" -#: gnu/packages/gnome.scm:6560 +#: gnu/packages/gnome.scm:6534 msgid "" "The Arc icon theme provides a set of icons matching the\n" "style of the Arc GTK theme. Icons missing from the Arc theme are provided by\n" "the Moka icon theme." msgstr "" -#: gnu/packages/gnome.scm:6592 +#: gnu/packages/gnome.scm:6566 msgid "Library to aggregate data about people" msgstr "" -#: gnu/packages/gnome.scm:6593 +#: gnu/packages/gnome.scm:6567 msgid "" "Libfolks is a library that aggregates information about people\n" "from multiple sources (e.g., Telepathy connection managers for IM contacts,\n" @@ -6466,31 +6718,31 @@ msgid "" "compiled." msgstr "" -#: gnu/packages/gnome.scm:6628 +#: gnu/packages/gnome.scm:6602 msgid "GLib/GObject wrapper for the Facebook API" msgstr "" -#: gnu/packages/gnome.scm:6629 +#: gnu/packages/gnome.scm:6603 msgid "" "This library allows you to use the Facebook API from\n" "GLib/GObject code." msgstr "" -#: gnu/packages/gnome.scm:6657 +#: gnu/packages/gnome.scm:6631 msgid "GNOME keyboard configuration library" msgstr "" -#: gnu/packages/gnome.scm:6659 +#: gnu/packages/gnome.scm:6633 msgid "" "Libgnomekbd is a keyboard configuration library for the GNOME desktop\n" "environment, which can notably display keyboard layouts." msgstr "" -#: gnu/packages/gnome.scm:6693 +#: gnu/packages/gnome.scm:6667 msgid "Library for writing single instance applications" msgstr "Bibliothèque pour écrire des applications à instance unique" -#: gnu/packages/gnome.scm:6695 +#: gnu/packages/gnome.scm:6669 msgid "" "Libunique is a library for writing single instance applications. If you\n" "launch a single instance application twice, the second instance will either just\n" @@ -6500,32 +6752,32 @@ msgid "" "handling the startup notification side." msgstr "" -#: gnu/packages/gnome.scm:6728 +#: gnu/packages/gnome.scm:6702 msgid "Desktop calculator" msgstr "" -#: gnu/packages/gnome.scm:6730 +#: gnu/packages/gnome.scm:6704 msgid "" "Calculator is an application that solves mathematical equations and\n" "is suitable as a default application in a Desktop environment." msgstr "" -#: gnu/packages/gnome.scm:6764 +#: gnu/packages/gnome.scm:6732 msgid "Virtual sticky note" msgstr "" -#: gnu/packages/gnome.scm:6766 +#: gnu/packages/gnome.scm:6734 msgid "" "Xpad is a sticky note that strives to be simple, fault tolerant,\n" "and customizable. Xpad consists of independent pad windows, each is\n" "basically a text box in which notes can be written." msgstr "" -#: gnu/packages/gnome.scm:6796 +#: gnu/packages/gnome.scm:6764 msgid "Unicode character picker and font browser" msgstr "" -#: gnu/packages/gnome.scm:6798 +#: gnu/packages/gnome.scm:6766 msgid "" "This program allows you to browse through all the available Unicode\n" "characters and categories for the installed fonts, and to examine their\n" @@ -6533,22 +6785,22 @@ msgid "" "only know by its Unicode name or code point." msgstr "" -#: gnu/packages/gnome.scm:6828 +#: gnu/packages/gnome.scm:6796 msgid "Web development studio" msgstr "" -#: gnu/packages/gnome.scm:6830 +#: gnu/packages/gnome.scm:6798 msgid "" "Bluefish is an editor targeted towards programmers and web developers,\n" "with many options to write web sites, scripts and other code.\n" "Bluefish supports many programming and markup languages." msgstr "" -#: gnu/packages/gnome.scm:6862 +#: gnu/packages/gnome.scm:6830 msgid "Process viewer and system resource monitor for GNOME" msgstr "" -#: gnu/packages/gnome.scm:6864 +#: gnu/packages/gnome.scm:6832 msgid "" "GNOME System Monitor is a GNOME process viewer and system monitor with\n" "an attractive, easy-to-use interface. It has features, such as a tree view\n" @@ -6557,43 +6809,43 @@ msgid "" "kill/reinice processes." msgstr "" -#: gnu/packages/gnome.scm:6890 +#: gnu/packages/gnome.scm:6858 msgid "Python client bindings for D-Bus AT-SPI" msgstr "" -#: gnu/packages/gnome.scm:6894 +#: gnu/packages/gnome.scm:6862 msgid "" "This package includes a python client library for the AT-SPI D-Bus\n" "accessibility infrastructure." msgstr "" -#: gnu/packages/gnome.scm:6953 +#: gnu/packages/gnome.scm:6921 msgid "Screen reader for individuals who are blind or visually impaired" msgstr "" -#: gnu/packages/gnome.scm:6956 +#: gnu/packages/gnome.scm:6924 msgid "" "Orca is a screen reader that provides access to the graphical desktop\n" "via speech and refreshable braille. Orca works with applications and toolkits\n" "that support the Assistive Technology Service Provider Interface (AT-SPI)." msgstr "" -#: gnu/packages/gnome.scm:7008 +#: gnu/packages/gnome.scm:6976 msgid "GNOME's alternative spell checker" msgstr "" -#: gnu/packages/gnome.scm:7010 +#: gnu/packages/gnome.scm:6978 msgid "" "gspell provides a flexible API to add spell-checking to a GTK+\n" "application. It provides a GObject API, spell-checking to text entries and\n" "text views, and buttons to choose the language." msgstr "" -#: gnu/packages/gnome.scm:7052 +#: gnu/packages/gnome.scm:7020 msgid "Project management software for the GNOME desktop" msgstr "" -#: gnu/packages/gnome.scm:7054 +#: gnu/packages/gnome.scm:7022 msgid "" "GNOME Planner is a project management tool based on the Work Breakdown\n" "Structure (WBS). Its goal is to enable you to easily plan projects. Based on\n" @@ -6605,11 +6857,11 @@ msgid "" "views can be printed as PDF or PostScript files, or exported to HTML." msgstr "" -#: gnu/packages/gnome.scm:7120 +#: gnu/packages/gnome.scm:7088 msgid "GNOME music playing application" msgstr "" -#: gnu/packages/gnome.scm:7122 +#: gnu/packages/gnome.scm:7090 msgid "" "Lollypop is a music player designed to play well with GNOME desktop.\n" "Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets information\n" @@ -6617,31 +6869,31 @@ msgid "" "automatically and it can stream songs from online music services and charts." msgstr "" -#: gnu/packages/gnome.scm:7149 +#: gnu/packages/gnome.scm:7117 msgid "Video effects for Cheese and other GNOME applications" msgstr "" -#: gnu/packages/gnome.scm:7151 +#: gnu/packages/gnome.scm:7119 msgid "" "A collection of GStreamer video filters and effects to be used in\n" "photo-booth-like software, such as Cheese." msgstr "" -#: gnu/packages/gnome.scm:7211 +#: gnu/packages/gnome.scm:7179 msgid "Webcam photo booth software for GNOME" msgstr "" -#: gnu/packages/gnome.scm:7213 +#: gnu/packages/gnome.scm:7181 msgid "" "Cheese uses your webcam to take photos and videos. Cheese can also\n" "apply fancy special effects and lets you share the fun with others." msgstr "" -#: gnu/packages/gnome.scm:7250 +#: gnu/packages/gnome.scm:7218 msgid "Audio music cd ripper" msgstr "" -#: gnu/packages/gnome.scm:7251 +#: gnu/packages/gnome.scm:7219 msgid "" "Sound Juicer extracts audio from compact discs and convert it\n" "into audio files that a personal computer or digital audio player can play.\n" @@ -6649,53 +6901,64 @@ msgid "" "mp3, Ogg Vorbis and FLAC" msgstr "" -#: gnu/packages/gnome.scm:7304 +#: gnu/packages/gnome.scm:7283 +msgid "Convert between audio formats with a graphical interface" +msgstr "" + +#: gnu/packages/gnome.scm:7285 +msgid "" +"SoundConverter supports converting between many audio formats including\n" +"Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and\n" +"configurable file renaming. " +msgstr "" + +#: gnu/packages/gnome.scm:7330 msgid "Tool to help prevent repetitive strain injury (RSI)" msgstr "" -#: gnu/packages/gnome.scm:7305 +#: gnu/packages/gnome.scm:7332 msgid "" -"Workrave is a program that assists in the recovery and\n" -"prevention of repetitive strain injury (RSI). The program frequently alerts\n" -"you to take micro-pauses, rest breaks and restricts you to your daily limit" +"Workrave is a program that assists in the recovery and prevention of\n" +"repetitive strain injury (@dfn{RSI}). The program frequently alerts you to take\n" +"micro-pauses and rest breaks, and restricts you to your daily limit." msgstr "" -#: gnu/packages/gnome.scm:7334 +#: gnu/packages/gnome.scm:7361 msgid "GNOME hexadecimal editor" msgstr "Éditeur hexadécimal de GNOME" -#: gnu/packages/gnome.scm:7335 +#: gnu/packages/gnome.scm:7362 msgid "" "The GHex program can view and edit files in two ways:\n" "hexadecimal or ASCII. It is useful for editing binary files in general." msgstr "" -#: gnu/packages/gnuzilla.scm:121 +#: gnu/packages/gnuzilla.scm:127 msgid "Mozilla javascript engine" msgstr "" -#: gnu/packages/gnuzilla.scm:122 +#: gnu/packages/gnuzilla.scm:128 msgid "" "SpiderMonkey is Mozilla's JavaScript engine written\n" "in C/C++." msgstr "" -#: gnu/packages/gnuzilla.scm:285 +#: gnu/packages/gnuzilla.scm:357 msgid "Netscape API for system level and libc-like functions" msgstr "" -#: gnu/packages/gnuzilla.scm:286 +#: gnu/packages/gnuzilla.scm:358 msgid "" "Netscape Portable Runtime (@dfn{NSPR}) provides a\n" "platform-neutral API for system level and libc-like functions. It is used\n" "in the Mozilla clients." msgstr "" -#: gnu/packages/gnuzilla.scm:392 +#: gnu/packages/gnuzilla.scm:464 msgid "Network Security Services" msgstr "" -#: gnu/packages/gnuzilla.scm:394 +#: gnu/packages/gnuzilla.scm:466 msgid "" "Network Security Services (@dfn{NSS}) is a set of libraries designed to\n" "support cross-platform development of security-enabled client and server\n" @@ -6704,33 +6967,33 @@ msgid "" "security standards." msgstr "" -#: gnu/packages/gnuzilla.scm:783 +#: gnu/packages/gnuzilla.scm:840 msgid "Entirely free browser derived from Mozilla Firefox" msgstr "" -#: gnu/packages/gnuzilla.scm:785 +#: gnu/packages/gnuzilla.scm:842 msgid "" "IceCat is the GNU version of the Firefox browser. It is entirely free\n" "software, which does not recommend non-free plugins and addons. It also\n" "features built-in privacy-protecting features." msgstr "" -#: gnu/packages/gtk.scm:103 +#: gnu/packages/gtk.scm:105 msgid "GNOME accessibility toolkit" msgstr "" -#: gnu/packages/gtk.scm:105 +#: gnu/packages/gtk.scm:107 msgid "" "ATK provides the set of accessibility interfaces that are implemented\n" "by other toolkits and applications. Using the ATK interfaces, accessibility\n" "tools have full access to view and control running applications." msgstr "" -#: gnu/packages/gtk.scm:145 +#: gnu/packages/gtk.scm:147 msgid "2D graphics library" msgstr "Bibliothèque graphique 2D" -#: gnu/packages/gtk.scm:147 +#: gnu/packages/gtk.scm:149 msgid "" "Cairo is a 2D graphics library with support for multiple output devices.\n" "Currently supported output targets include the X Window System (via both\n" @@ -6748,56 +7011,56 @@ msgid "" "affine transformation (scale, rotation, shear, etc.)." msgstr "" -#: gnu/packages/gtk.scm:175 +#: gnu/packages/gtk.scm:177 msgid "2D graphics library (with X11 support)" msgstr "" -#: gnu/packages/gtk.scm:209 +#: gnu/packages/gtk.scm:211 msgid "OpenType text shaping engine" msgstr "" -#: gnu/packages/gtk.scm:211 +#: gnu/packages/gtk.scm:213 msgid "HarfBuzz is an OpenType text shaping engine." msgstr "" -#: gnu/packages/gtk.scm:247 +#: gnu/packages/gtk.scm:250 msgid "GNOME text and font handling library" msgstr "" -#: gnu/packages/gtk.scm:249 +#: gnu/packages/gtk.scm:252 msgid "" "Pango is the core text and font handling library used in GNOME\n" "applications. It has extensive support for the different writing systems\n" "used throughout the world." msgstr "" -#: gnu/packages/gtk.scm:275 +#: gnu/packages/gtk.scm:291 msgid "Obsolete pango functions" msgstr "" -#: gnu/packages/gtk.scm:276 +#: gnu/packages/gtk.scm:292 msgid "" "Pangox was a X backend to pango. It is now obsolete and no\n" "longer provided by recent pango releases. pangox-compat provides the\n" "functions which were removed." msgstr "" -#: gnu/packages/gtk.scm:313 +#: gnu/packages/gtk.scm:329 msgid "GTK+ widget for interactive graph-like environments" msgstr "" -#: gnu/packages/gtk.scm:315 +#: gnu/packages/gtk.scm:331 msgid "" "Ganv is an interactive GTK+ widget for interactive “boxes and lines” or\n" "graph-like environments, e.g. modular synths or finite state machine\n" "diagrams." msgstr "" -#: gnu/packages/gtk.scm:384 +#: gnu/packages/gtk.scm:400 msgid "Widget that extends the standard GTK+ 2.x 'GtkTextView' widget" msgstr "" -#: gnu/packages/gtk.scm:386 +#: gnu/packages/gtk.scm:402 msgid "" "GtkSourceView is a portable C library that extends the standard GTK+\n" "framework for multiline text editing with support for configurable syntax\n" @@ -6805,56 +7068,56 @@ msgid "" "printing and other features typical of a source code editor." msgstr "" -#: gnu/packages/gtk.scm:435 +#: gnu/packages/gtk.scm:451 msgid "GNOME source code widget" msgstr "" -#: gnu/packages/gtk.scm:436 +#: gnu/packages/gtk.scm:452 msgid "" "GtkSourceView is a text widget that extends the standard\n" "GTK+ text widget GtkTextView. It improves GtkTextView by implementing syntax\n" "highlighting and other features typical of a source code editor." msgstr "" -#: gnu/packages/gtk.scm:486 +#: gnu/packages/gtk.scm:502 msgid "GNOME image loading and manipulation library" msgstr "" -#: gnu/packages/gtk.scm:488 +#: gnu/packages/gtk.scm:504 msgid "" "GdkPixbuf is a library for image loading and manipulation developed\n" "in the GNOME project." msgstr "" -#: gnu/packages/gtk.scm:522 +#: gnu/packages/gtk.scm:538 msgid "GNOME image loading and manipulation library, with SVG support" msgstr "" -#: gnu/packages/gtk.scm:562 +#: gnu/packages/gtk.scm:578 msgid "Assistive Technology Service Provider Interface, core components" msgstr "" -#: gnu/packages/gtk.scm:564 +#: gnu/packages/gtk.scm:580 msgid "" "The Assistive Technology Service Provider Interface, core components,\n" "is part of the GNOME accessibility project." msgstr "" -#: gnu/packages/gtk.scm:597 +#: gnu/packages/gtk.scm:613 msgid "Assistive Technology Service Provider Interface, ATK bindings" msgstr "" -#: gnu/packages/gtk.scm:599 +#: gnu/packages/gtk.scm:615 msgid "" "The Assistive Technology Service Provider Interface\n" "is part of the GNOME accessibility project." msgstr "" -#: gnu/packages/gtk.scm:659 +#: gnu/packages/gtk.scm:675 msgid "Cross-platform toolkit for creating graphical user interfaces" msgstr "" -#: gnu/packages/gtk.scm:661 +#: gnu/packages/gtk.scm:677 msgid "" "GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating\n" "graphical user interfaces. Offering a complete set of widgets, GTK+ is\n" @@ -6862,11 +7125,11 @@ msgid "" "application suites." msgstr "" -#: gnu/packages/gtk.scm:823 +#: gnu/packages/gtk.scm:811 msgid "Cairo bindings for GNU Guile" msgstr "Liaisons Cairo pour GNU Guile" -#: gnu/packages/gtk.scm:825 +#: gnu/packages/gtk.scm:813 msgid "" "Guile-Cairo wraps the Cairo graphics library for Guile Scheme.\n" "Guile-Cairo is complete, wrapping almost all of the Cairo API. It is API\n" @@ -6876,21 +7139,21 @@ msgid "" "exceptions, macros, and a dynamic programming environment." msgstr "" -#: gnu/packages/gtk.scm:873 +#: gnu/packages/gtk.scm:861 msgid "Render SVG images using Cairo from Guile" msgstr "" -#: gnu/packages/gtk.scm:875 +#: gnu/packages/gtk.scm:863 msgid "" "Guile-RSVG wraps the RSVG library for Guile, allowing you to render SVG\n" "images onto Cairo surfaces." msgstr "" -#: gnu/packages/gtk.scm:922 +#: gnu/packages/gtk.scm:903 msgid "Create SVG or PDF presentations in Guile" msgstr "Création de SVG et de présentations PDF en Guile" -#: gnu/packages/gtk.scm:924 +#: gnu/packages/gtk.scm:905 msgid "" "Guile-Present defines a declarative vocabulary for presentations,\n" "together with tools to render presentation documents as SVG or PDF.\n" @@ -6899,51 +7162,51 @@ msgid "" "documents." msgstr "" -#: gnu/packages/gtk.scm:978 +#: gnu/packages/gtk.scm:959 msgid "Guile interface for GTK+ programming for GNOME" msgstr "" -#: gnu/packages/gtk.scm:980 +#: gnu/packages/gtk.scm:961 msgid "" "Includes guile-clutter, guile-gnome-gstreamer,\n" "guile-gnome-platform (GNOME developer libraries), and guile-gtksourceview." msgstr "" -#: gnu/packages/gtk.scm:1013 +#: gnu/packages/gtk.scm:994 msgid "C++ bindings to the Cairo 2D graphics library" msgstr "" -#: gnu/packages/gtk.scm:1015 +#: gnu/packages/gtk.scm:996 msgid "" "Cairomm provides a C++ programming interface to the Cairo 2D graphics\n" "library." msgstr "" -#: gnu/packages/gtk.scm:1039 +#: gnu/packages/gtk.scm:1020 msgid "C++ interface to the Pango text rendering library" msgstr "" -#: gnu/packages/gtk.scm:1041 +#: gnu/packages/gtk.scm:1022 msgid "" "Pangomm provides a C++ programming interface to the Pango text rendering\n" "library." msgstr "" -#: gnu/packages/gtk.scm:1062 +#: gnu/packages/gtk.scm:1043 msgid "C++ interface to the ATK accessibility library" msgstr "" -#: gnu/packages/gtk.scm:1064 +#: gnu/packages/gtk.scm:1045 msgid "" "ATKmm provides a C++ programming interface to the ATK accessibility\n" "toolkit." msgstr "" -#: gnu/packages/gtk.scm:1108 +#: gnu/packages/gtk.scm:1089 msgid "C++ interface to the GTK+ graphical user interface library" msgstr "" -#: gnu/packages/gtk.scm:1110 +#: gnu/packages/gtk.scm:1091 msgid "" "gtkmm is the official C++ interface for the popular GUI library GTK+.\n" "Highlights include typesafe callbacks, and a comprehensive set of widgets that\n" @@ -6952,11 +7215,11 @@ msgid "" "extensive documentation, including API reference and a tutorial." msgstr "" -#: gnu/packages/gtk.scm:1159 +#: gnu/packages/gtk.scm:1140 msgid "C++ interface to the GTK+ 'GtkTextView' widget" msgstr "" -#: gnu/packages/gtk.scm:1161 +#: gnu/packages/gtk.scm:1142 msgid "" "gtksourceviewmm is a portable C++ library that extends the standard GTK+\n" "framework for multiline text editing with support for configurable syntax\n" @@ -6964,41 +7227,41 @@ msgid "" "printing and other features typical of a source code editor." msgstr "" -#: gnu/packages/gtk.scm:1191 +#: gnu/packages/gtk.scm:1172 msgid "Python bindings for cairo" msgstr "" -#: gnu/packages/gtk.scm:1193 +#: gnu/packages/gtk.scm:1174 msgid "Pycairo is a set of Python bindings for the Cairo graphics library." msgstr "" -#: gnu/packages/gtk.scm:1266 +#: gnu/packages/gtk.scm:1247 msgid "Python bindings for GTK+" msgstr "" -#: gnu/packages/gtk.scm:1268 +#: gnu/packages/gtk.scm:1249 msgid "" "PyGTK allows you to write full featured GTK programs in Python. It is\n" "targeted at GTK 2.x, and can be used in conjunction with gnome-python to\n" "write GNOME applications." msgstr "" -#: gnu/packages/gtk.scm:1292 +#: gnu/packages/gtk.scm:1273 msgid "Perl interface to the cairo 2d vector graphics library" msgstr "" -#: gnu/packages/gtk.scm:1293 +#: gnu/packages/gtk.scm:1274 msgid "" "Cairo provides Perl bindings for the vector graphics library\n" "cairo. It supports multiple output targets, including PNG, PDF and SVG. Cairo\n" "produces identical output on all those targets." msgstr "" -#: gnu/packages/gtk.scm:1318 +#: gnu/packages/gtk.scm:1299 msgid "Perl interface to the 2.x series of the Gimp Toolkit library" msgstr "" -#: gnu/packages/gtk.scm:1319 +#: gnu/packages/gtk.scm:1300 msgid "" "Perl bindings to the 2.x series of the Gtk+ widget set.\n" "This module allows you to write graphical user interfaces in a Perlish and\n" @@ -7006,11 +7269,11 @@ msgid "" "yet remaining very close in spirit to original API." msgstr "" -#: gnu/packages/gtk.scm:1346 +#: gnu/packages/gtk.scm:1327 msgid "Layout and render international text" msgstr "" -#: gnu/packages/gtk.scm:1347 +#: gnu/packages/gtk.scm:1328 msgid "" "Pango is a library for laying out and rendering text, with an\n" "emphasis on internationalization. Pango can be used anywhere that text layout\n" @@ -7027,11 +7290,11 @@ msgid "" "and routines to assist in editing internationalized text." msgstr "" -#: gnu/packages/gtk.scm:1406 +#: gnu/packages/gtk.scm:1381 msgid "Library for minimalistic gtk+3 user interfaces" msgstr "" -#: gnu/packages/gtk.scm:1407 +#: gnu/packages/gtk.scm:1382 msgid "" "Girara is a library that implements a user interface that\n" "focuses on simplicity and minimalism. Currently based on GTK+, a\n" @@ -7042,75 +7305,97 @@ msgid "" "information." msgstr "" -#: gnu/packages/gtk.scm:1474 +#: gnu/packages/gtk.scm:1481 msgid "Documentation generator from C source code" msgstr "" -#: gnu/packages/gtk.scm:1476 +#: gnu/packages/gtk.scm:1483 msgid "" "GTK-Doc generates API documentation from comments added to C code. It is\n" "typically used to document the public API of GTK+ and GNOME libraries, but it\n" "can also be used to document application code." msgstr "" -#: gnu/packages/gtk.scm:1504 +#: gnu/packages/gtk.scm:1511 msgid "Theming engines for GTK+ 2.x" msgstr "" -#: gnu/packages/gtk.scm:1506 +#: gnu/packages/gtk.scm:1513 msgid "" "This package contains the standard GTK+ 2.x theming engines including\n" "Clearlooks, Crux, High Contrast, Industrial, LighthouseBlue, Metal, Mist,\n" "Redmond95 and ThinIce." msgstr "" -#: gnu/packages/gtk.scm:1534 +#: gnu/packages/gtk.scm:1541 msgid "Cairo-based theming engine for GTK+ 2.x" msgstr "" -#: gnu/packages/gtk.scm:1536 +#: gnu/packages/gtk.scm:1543 msgid "" "Murrine is a cairo-based GTK+ theming engine. It is named after the\n" "glass artworks done by Venicians glass blowers." msgstr "" -#: gnu/packages/gtk.scm:1563 +#: gnu/packages/gtk.scm:1569 msgid "Spell-checking addon for GTK's TextView widget" msgstr "" -#: gnu/packages/gtk.scm:1565 +#: gnu/packages/gtk.scm:1571 msgid "" "GtkSpell provides word-processor-style highlighting and replacement of\n" "misspelled words in a GtkTextView widget." msgstr "" -#: gnu/packages/gtk.scm:1588 +#: gnu/packages/gtk.scm:1594 msgid "Lightweight GTK+ clipboard manager" msgstr "" -#: gnu/packages/gtk.scm:1590 +#: gnu/packages/gtk.scm:1596 msgid "" "ClipIt is a clipboard manager with features such as a history, search\n" "thereof, global hotkeys and clipboard item actions. It was forked from\n" "Parcellite and adds bugfixes and features." msgstr "" -#: gnu/packages/gtk.scm:1627 +#: gnu/packages/gtk.scm:1633 msgid "Thin layer of graphic data types" msgstr "" -#: gnu/packages/gtk.scm:1628 +#: gnu/packages/gtk.scm:1634 msgid "" "This library provides graphic types and their relative API;\n" "it does not deal with windowing system surfaces, drawing, scene graphs, or\n" "input." msgstr "" -#: gnu/packages/guile.scm:138 gnu/packages/guile.scm:217 +#: gnu/packages/gtk.scm:1659 +msgid "Gtk+ widget for dealing with 2-D tabular data" +msgstr "" + +#: gnu/packages/gtk.scm:1661 +msgid "" +"GNU Spread Sheet Widget is a library for Gtk+ which provides a widget for\n" +"viewing and manipulating 2 dimensional tabular data in a manner similar to many\n" +"popular spread sheet programs." +msgstr "" + +#: gnu/packages/gtk.scm:1702 +msgid "GTK+ dialog boxes for shell scripts" +msgstr "" + +#: gnu/packages/gtk.scm:1704 +msgid "" +"This program allows you to display GTK+ dialog boxes from command line or\n" +"shell scripts. Example of how to use @code{yad} can be consulted at\n" +"@url{https://sourceforge.net/p/yad-dialog/wiki/browse_pages/}." +msgstr "" + +#: gnu/packages/guile.scm:141 gnu/packages/guile.scm:220 msgid "Scheme implementation intended especially for extensions" msgstr "Implantation de Scheme spécialement destinée aux extensions" -#: gnu/packages/guile.scm:140 gnu/packages/guile.scm:219 +#: gnu/packages/guile.scm:143 gnu/packages/guile.scm:222 msgid "" "Guile is the GNU Ubiquitous Intelligent Language for Extensions, the\n" "official extension language of the GNU system. It is an implementation of\n" @@ -7123,22 +7408,22 @@ msgstr "" "Scheme qui peut être facilement incluse dans d'autres applications pour faciliter\n" "l'ajout de fonctionnalités sans avoir à réécrire le code source." -#: gnu/packages/guile.scm:356 +#: gnu/packages/guile.scm:410 msgid "Line editing support for GNU Guile" msgstr "Support de l'édition de ligne pour GNU Guile" -#: gnu/packages/guile.scm:358 +#: gnu/packages/guile.scm:412 msgid "" "This module provides line editing support via the Readline library for\n" "GNU@tie{}Guile. Use the @code{(ice-9 readline)} module and call its\n" "@code{activate-readline} procedure to enable it." msgstr "" -#: gnu/packages/guile.scm:477 +#: gnu/packages/guile.scm:528 msgid "Package manager for Guile" msgstr "" -#: gnu/packages/guile.scm:479 +#: gnu/packages/guile.scm:530 msgid "" "Guildhall is a package manager written for Guile Scheme. A guild is\n" "an association of independent craftspeople. A guildhall is where they meet.\n" @@ -7152,11 +7437,11 @@ msgid "" "program can be installed in one go." msgstr "" -#: gnu/packages/guile.scm:572 +#: gnu/packages/guile.scm:623 msgid "Web application framework written in Guile" msgstr "" -#: gnu/packages/guile.scm:573 +#: gnu/packages/guile.scm:624 msgid "" "GNU Artanis is a web application framework written in Guile\n" "Scheme. A web application framework (WAF) is a software framework that is\n" @@ -7168,11 +7453,11 @@ msgid "" "more." msgstr "" -#: gnu/packages/guile.scm:599 +#: gnu/packages/guile.scm:650 msgid "Framework for building readers for GNU Guile" msgstr "Framework pour la construction de lecteurs GNU Guile" -#: gnu/packages/guile.scm:601 +#: gnu/packages/guile.scm:652 msgid "" "Guile-Reader is a simple framework for building readers for GNU Guile.\n" "\n" @@ -7196,21 +7481,21 @@ msgstr "" "plus puissante et plus flexible (il est par exemple possible d'instancier autant\n" "de lecteurs que nécessaires)." -#: gnu/packages/guile.scm:655 +#: gnu/packages/guile.scm:706 msgid "Guile bindings to ncurses" msgstr "Bindings Guile pour ncurses" -#: gnu/packages/guile.scm:657 +#: gnu/packages/guile.scm:708 msgid "" "guile-ncurses provides Guile language bindings for the ncurses\n" "library." msgstr "guile-ncurses fournit un binding Guile pour la biliothèque ncurses." -#: gnu/packages/guile.scm:715 +#: gnu/packages/guile.scm:766 msgid "Run jobs at scheduled times" msgstr "Plannification de tâches" -#: gnu/packages/guile.scm:717 +#: gnu/packages/guile.scm:768 msgid "" "GNU Mcron is a complete replacement for Vixie cron. It is used to run\n" "tasks on a schedule, such as every hour or every Monday. Mcron is written in\n" @@ -7222,11 +7507,23 @@ msgstr "" "Mcron est écrit en Guile et peut donc être configuré en Scheme ; le format cron\n" "original est aussi supporté." -#: gnu/packages/guile.scm:759 +#: gnu/packages/guile.scm:836 +msgid "Guile project tooling" +msgstr "" + +#: gnu/packages/guile.scm:838 +msgid "" +"Hall is a command-line application and a set of Guile libraries that\n" +"allow you to quickly create and publish Guile projects. It allows you to\n" +"transparently support the GNU build system, manage a project hierarchy &\n" +"provides tight coupling to Guix." +msgstr "" + +#: gnu/packages/guile.scm:870 msgid "Guile parser library for the iCalendar format" msgstr "" -#: gnu/packages/guile.scm:761 +#: gnu/packages/guile.scm:872 msgid "" "Guile-ICS is an iCalendar (RFC5545) format parser library written in\n" "pure Scheme. The library can be used to read and write iCalendar data.\n" @@ -7234,11 +7531,11 @@ msgid "" "The library is shipped with documentation in Info format and usage examples." msgstr "" -#: gnu/packages/guile.scm:796 +#: gnu/packages/guile.scm:907 msgid "Collection of useful Guile Scheme modules" msgstr "Collection de modules Scheme utiles pour Guile" -#: gnu/packages/guile.scm:798 +#: gnu/packages/guile.scm:909 msgid "" "Guile-Lib is intended as an accumulation place for pure-scheme Guile\n" "modules, allowing for people to cooperate integrating their generic Guile\n" @@ -7249,11 +7546,11 @@ msgstr "" "aux utilisateurs d'intégrer leurs modules Guile au sein d'une bilbiothéque commune\n" "et cohérente. Voyez Guile-Lib comme une version plus simple de CPAN limitée à Guile." -#: gnu/packages/guile.scm:844 +#: gnu/packages/guile.scm:944 msgid "JSON module for Guile" msgstr "Module JSON pour Guile" -#: gnu/packages/guile.scm:846 +#: gnu/packages/guile.scm:946 msgid "" "Guile-JSON supports parsing and building JSON documents according to the\n" "specification. These are the main features:\n" @@ -7275,11 +7572,11 @@ msgstr "" "@item formatage élégant.\n" "@end itemize\n" -#: gnu/packages/guile.scm:932 +#: gnu/packages/guile.scm:982 msgid "MiniKanren declarative logic system, packaged for Guile" msgstr "" -#: gnu/packages/guile.scm:934 +#: gnu/packages/guile.scm:984 msgid "" "MiniKanren is a relational programming extension to the Scheme\n" "programming Language, written as a smaller version of Kanren suitable for\n" @@ -7292,13 +7589,13 @@ msgid "" "See http://minikanren.org/ for more on miniKanren generally." msgstr "" -#: gnu/packages/guile.scm:1008 +#: gnu/packages/guile.scm:1020 msgid "" "Minimal implementation of incremental computation in Guile\n" "Scheme" msgstr "" -#: gnu/packages/guile.scm:1010 +#: gnu/packages/guile.scm:1022 msgid "" "This package provides a complete Scheme implementation of\n" "miniAdapton, which implements the core functionality of the Adapton system for\n" @@ -7309,51 +7606,51 @@ msgid "" "understand, extend, and port to host languages other than Scheme." msgstr "" -#: gnu/packages/guile.scm:1092 +#: gnu/packages/guile.scm:1064 msgid "S-expression based regular expressions" msgstr "" -#: gnu/packages/guile.scm:1094 +#: gnu/packages/guile.scm:1066 msgid "" "Irregex is an s-expression based alternative to your classic\n" "string-based regular expressions. It implements SRFI 115 and is deeply\n" "inspired by the SCSH regular expression system." msgstr "" -#: gnu/packages/guile.scm:1196 +#: gnu/packages/guile.scm:1120 msgid "Guile bindings to the GDBM library via Guile's FFI" msgstr "" -#: gnu/packages/guile.scm:1198 +#: gnu/packages/guile.scm:1122 msgid "" "Guile bindings to the GDBM key-value storage system, using\n" "Guile's foreign function interface." msgstr "" -#: gnu/packages/guile.scm:1257 +#: gnu/packages/guile.scm:1154 msgid "Access SQLite databases from Guile" msgstr "" -#: gnu/packages/guile.scm:1259 +#: gnu/packages/guile.scm:1156 msgid "This package provides Guile bindings to the SQLite database system." msgstr "Ce paquet fournit les liaisons Guile pour le système de base de données SQLite." -#: gnu/packages/guile.scm:1307 +#: gnu/packages/guile.scm:1219 msgid "Functional static site generator" msgstr "" -#: gnu/packages/guile.scm:1308 +#: gnu/packages/guile.scm:1220 msgid "" "Haunt is a static site generator written in Guile\n" "Scheme. Haunt features a functional build system and an extensible\n" "interface for reading articles in any format." msgstr "" -#: gnu/packages/guile.scm:1346 -msgid "Guile application configuration parsing library" +#: gnu/packages/guile.scm:1252 +msgid "Guile application configuration parsing library." msgstr "" -#: gnu/packages/guile.scm:1348 +#: gnu/packages/guile.scm:1254 msgid "" "Guile Config is a library providing a declarative approach to\n" "application configuration specification. The library provides clean\n" @@ -7364,43 +7661,43 @@ msgid "" "above command-line parameters." msgstr "" -#: gnu/packages/guile.scm:1387 +#: gnu/packages/guile.scm:1282 msgid "Redis client library for Guile" msgstr "" -#: gnu/packages/guile.scm:1388 +#: gnu/packages/guile.scm:1283 msgid "" "Guile-redis provides a Scheme interface to the Redis\n" "key-value cache and store." msgstr "" -#: gnu/packages/guile.scm:1465 +#: gnu/packages/guile.scm:1360 msgid "Whitespace to lisp syntax for Guile" msgstr "" -#: gnu/packages/guile.scm:1466 +#: gnu/packages/guile.scm:1361 msgid "" "Wisp is a syntax for Guile which provides a Python-like\n" "whitespace-significant language. It may be easier on the eyes for some\n" "users and in some situations." msgstr "" -#: gnu/packages/guile.scm:1517 +#: gnu/packages/guile.scm:1412 msgid "2D/3D game engine for GNU Guile" msgstr "" -#: gnu/packages/guile.scm:1518 +#: gnu/packages/guile.scm:1413 msgid "" "Sly is a 2D/3D game engine written in Guile Scheme. Sly\n" "features a functional reactive programming interface and live coding\n" "capabilities." msgstr "" -#: gnu/packages/guile.scm:1554 +#: gnu/packages/guile.scm:1449 msgid "Generate C bindings for Guile" msgstr "Génère des liaisons C pour Guile" -#: gnu/packages/guile.scm:1555 +#: gnu/packages/guile.scm:1450 msgid "" "G-Wrap is a tool and Guile library for generating function\n" "wrappers for inter-language calls. It currently only supports generating Guile\n" @@ -7409,11 +7706,11 @@ msgid "" "provides access to that interface and its types from the Scheme level." msgstr "" -#: gnu/packages/guile.scm:1597 +#: gnu/packages/guile.scm:1492 msgid "Guile database abstraction layer" msgstr "Couche d'abstraction de base de données pour Guile" -#: gnu/packages/guile.scm:1600 +#: gnu/packages/guile.scm:1495 msgid "" "guile-dbi is a library for Guile that provides a convenient interface to\n" "SQL databases. Database programming with guile-dbi is generic in that the same\n" @@ -7421,54 +7718,54 @@ msgid "" "It currently supports MySQL, Postgres and SQLite3." msgstr "" -#: gnu/packages/guile.scm:1634 +#: gnu/packages/guile.scm:1529 msgid "Guile DBI driver for SQLite" msgstr "" -#: gnu/packages/guile.scm:1637 +#: gnu/packages/guile.scm:1532 msgid "" "guile-dbi is a library for Guile that provides a convenient interface to\n" "SQL databases. This package implements the interface for SQLite." msgstr "" -#: gnu/packages/guile.scm:1683 +#: gnu/packages/guile.scm:1575 msgid "DSV module for Guile" msgstr "Module DSV pour Guile" -#: gnu/packages/guile.scm:1685 +#: gnu/packages/guile.scm:1577 msgid "" "Guile-DSV is a GNU Guile module for working with the\n" "delimiter-separated values (DSV) data format. Guile-DSV supports the\n" "Unix-style DSV format and RFC 4180 format." msgstr "" -#: gnu/packages/guile.scm:1712 +#: gnu/packages/guile.scm:1604 msgid "XOSD bindings for Guile" msgstr "" -#: gnu/packages/guile.scm:1714 +#: gnu/packages/guile.scm:1606 msgid "" "Guile-XOSD provides Guile bindings for @code{libxosd},\n" "@uref{http://sourceforge.net/projects/libxosd/, the X On Screen Display\n" "library}." msgstr "" -#: gnu/packages/guile.scm:1737 +#: gnu/packages/guile.scm:1629 msgid "Evaluate code in a running Guile process" msgstr "" -#: gnu/packages/guile.scm:1739 +#: gnu/packages/guile.scm:1631 msgid "" "Guile-Daemon is a small Guile program that loads your initial\n" "configuration file, and then reads and evaluates Guile expressions that\n" "you send to a FIFO file." msgstr "" -#: gnu/packages/guile.scm:1771 +#: gnu/packages/guile.scm:1665 msgid "CommonMark parser for Guile" msgstr "" -#: gnu/packages/guile.scm:1773 +#: gnu/packages/guile.scm:1667 msgid "" "guile-commonmark is a library for parsing CommonMark, a fully specified\n" "variant of Markdown. The library is written in Guile Scheme and is designed\n" @@ -7477,11 +7774,11 @@ msgid "" "is no support for parsing block and inline level HTML." msgstr "" -#: gnu/packages/guile.scm:1804 +#: gnu/packages/guile.scm:1698 msgid "Structured access to bytevector contents for Guile" msgstr "" -#: gnu/packages/guile.scm:1806 +#: gnu/packages/guile.scm:1700 msgid "" "Guile bytestructures offers a system imitating the type system\n" "of the C programming language, to be used on bytevectors. C's type\n" @@ -7490,21 +7787,21 @@ msgid "" "type system, elevating types to first-class status." msgstr "" -#: gnu/packages/guile.scm:1850 +#: gnu/packages/guile.scm:1744 msgid "Spell-checking from Guile" msgstr "" -#: gnu/packages/guile.scm:1852 +#: gnu/packages/guile.scm:1746 msgid "" "guile-aspell is a Guile Scheme library for comparing a string against a\n" "dictionary and suggesting spelling corrections." msgstr "" -#: gnu/packages/guile.scm:1901 +#: gnu/packages/guile.scm:1795 msgid "Extend Bash using Guile" msgstr "" -#: gnu/packages/guile.scm:1903 +#: gnu/packages/guile.scm:1797 #, scheme-format msgid "" "Guile-Bash provides a shared library and set of Guile modules,\n" @@ -7529,11 +7826,11 @@ msgid "" "and then run @command{scm example.scm}." msgstr "" -#: gnu/packages/guile.scm:1950 +#: gnu/packages/guile.scm:1844 msgid "Asynchronous actor model library for Guile" msgstr "" -#: gnu/packages/guile.scm:1952 +#: gnu/packages/guile.scm:1846 msgid "" "GNU 8sync (pronounced \"eight-sync\") is an asynchronous programming\n" "library for GNU Guile based on the actor model.\n" @@ -7541,11 +7838,11 @@ msgid "" "Note that 8sync is only available for Guile 2.2." msgstr "" -#: gnu/packages/guile.scm:1975 +#: gnu/packages/guile.scm:1883 msgid "Lightweight concurrency facility for Guile" msgstr "" -#: gnu/packages/guile.scm:1977 +#: gnu/packages/guile.scm:1885 msgid "" "Fibers is a Guile library that implements a a lightweight concurrency\n" "facility, inspired by systems like Concurrent ML, Go, and Erlang. A fiber is\n" @@ -7559,21 +7856,21 @@ msgid "" "is not available for Guile 2.0." msgstr "" -#: gnu/packages/guile.scm:2015 +#: gnu/packages/guile.scm:1922 msgid "Guile bindings for libgit2" msgstr "Liaisons Guile pour libgit2" -#: gnu/packages/guile.scm:2017 +#: gnu/packages/guile.scm:1924 msgid "" "This package provides Guile bindings to libgit2, a library to\n" "manipulate repositories of the Git version control system." msgstr "" -#: gnu/packages/guile.scm:2042 +#: gnu/packages/guile.scm:1949 msgid "General-purpose syntax highlighter for GNU Guile" msgstr "" -#: gnu/packages/guile.scm:2043 +#: gnu/packages/guile.scm:1950 msgid "" "Guile-syntax-highlight is a general-purpose syntax\n" "highlighting library for GNU Guile. It can parse code written in various\n" @@ -7581,29 +7878,66 @@ msgid "" "HTML (via SXML) or any other format for rendering." msgstr "" -#: gnu/packages/guile.scm:2069 +#: gnu/packages/guile.scm:1976 msgid "S-expression based json reader/writer for Guile" msgstr "" -#: gnu/packages/guile.scm:2070 +#: gnu/packages/guile.scm:1977 msgid "" "guile-sjson is a json reader/writer for Guile.\n" "It has a nice, simple s-expression based syntax." msgstr "" -#: gnu/packages/guile.scm:2114 +#: gnu/packages/guile.scm:1997 msgid "Colorized REPL for Guile" msgstr "" -#: gnu/packages/guile.scm:2116 +#: gnu/packages/guile.scm:1999 msgid "Guile-colorized provides you with a colorized REPL for GNU Guile." msgstr "" -#: gnu/packages/guile.scm:2202 +#: gnu/packages/guile.scm:2054 +msgid "Purely functional data structures for Guile" +msgstr "" + +#: gnu/packages/guile.scm:2056 +msgid "" +"This package provides purely functional data structures written in R6RS\n" +"Scheme and compiled for Guile. It has been tested with Racket, Guile 2,\n" +"Vicare Scheme and IronScheme. Right now it contains:\n" +"\n" +"@itemize\n" +"@item queues\n" +"@item deques\n" +"@item bbtrees\n" +"@item sets\n" +"@item dlists\n" +"@item priority search queues (PSQs)\n" +"@item finger trees\n" +"@item sequences\n" +"@item heaps\n" +"@item hash array mapped tries (HAMTs).\n" +"@end itemize\n" +msgstr "" + +#: gnu/packages/guile.scm:2089 +msgid "AA tree data structure for Guile" +msgstr "" + +#: gnu/packages/guile.scm:2091 +msgid "" +"This package provides an implementation of @dfn{AA trees}, a\n" +"self-balancing binary tree data structure, for Guile. It ensure @math{O(log\n" +"n)} worst case performance for core operations. The module provides\n" +"non-mutating insert, delete, and search operations, with support for\n" +"convenient nested tree operations." +msgstr "" + +#: gnu/packages/guile.scm:2130 msgid "Guile wrapper over ZeroMQ library" msgstr "" -#: gnu/packages/guile.scm:2204 +#: gnu/packages/guile.scm:2132 msgid "" "This package provides a Guile programming interface to the ZeroMQ\n" "messaging library." @@ -7611,32 +7945,63 @@ msgstr "" "Ce paquet fournit une interface de programmation Guile pour la bibliothèque\n" "de messages ZeroMQ." -#: gnu/packages/guile.scm:2329 +#: gnu/packages/guile.scm:2218 msgid "Guile kernel for the Jupyter Notebook" msgstr "" -#: gnu/packages/guile.scm:2331 +#: gnu/packages/guile.scm:2220 msgid "" "This package provides a Guile 2.x kernel for the Jupyter Notebook. It\n" "allows users to interact with the Guile REPL through Jupyter." msgstr "" -#: gnu/packages/guile.scm:2354 +#: gnu/packages/guile.scm:2243 msgid "SPARQL module for Guile" msgstr "Module SPARQL pour Guile" -#: gnu/packages/guile.scm:2355 +#: gnu/packages/guile.scm:2244 msgid "" "This package provides the functionality to query a SPARQL\n" "endpoint. Additionally, it provides an interface to write SPARQL queries\n" "using S-expressions." msgstr "" -#: gnu/packages/imagemagick.scm:112 gnu/packages/imagemagick.scm:215 +#: gnu/packages/guile.scm:2270 +msgid "Guile interface to the Debbugs bug tracking service" +msgstr "" + +#: gnu/packages/guile.scm:2272 +msgid "" +"This package provides a Guile library to communicate with a Debbugs bug\n" +"tracker's SOAP service, such as @url{https://bugs.gnu.org}." +msgstr "" + +#: gnu/packages/guile.scm:2300 +msgid "Guile email parser" +msgstr "" + +#: gnu/packages/guile.scm:2301 +msgid "" +"This package provides an email parser written in pure\n" +"Guile." +msgstr "Ce paquet fournit un analyseur de courriels en pur Guile." + +#: gnu/packages/guile.scm:2357 +msgid "Guile bindings to Newt" +msgstr "Liaisons Guile pour Newt" + +#: gnu/packages/guile.scm:2359 +msgid "" +"This package provides bindings for Newt, a programming library for\n" +"color text mode, widget based user interfaces. The bindings are written in pure\n" +"Scheme by using Guile’s foreign function interface." +msgstr "" + +#: gnu/packages/imagemagick.scm:113 gnu/packages/imagemagick.scm:216 msgid "Create, edit, compose, or convert bitmap images" msgstr "" -#: gnu/packages/imagemagick.scm:114 +#: gnu/packages/imagemagick.scm:115 msgid "" "ImageMagick is a software suite to create, edit, compose, or convert\n" "bitmap images. It can read and write images in a variety of formats (over 100)\n" @@ -7646,11 +8011,11 @@ msgid "" "text, lines, polygons, ellipses and Bézier curves." msgstr "" -#: gnu/packages/imagemagick.scm:161 +#: gnu/packages/imagemagick.scm:162 msgid "Perl interface to ImageMagick" msgstr "" -#: gnu/packages/imagemagick.scm:162 +#: gnu/packages/imagemagick.scm:163 msgid "" "This Perl extension allows the reading, manipulation and\n" "writing of a large number of image file formats using the ImageMagick library.\n" @@ -7658,94 +8023,112 @@ msgid "" "script." msgstr "" -#: gnu/packages/imagemagick.scm:217 +#: gnu/packages/imagemagick.scm:218 msgid "" "GraphicsMagick provides a comprehensive collection of utilities,\n" "programming interfaces, and GUIs, to support file format conversion, image\n" "processing, and 2D vector rendering." msgstr "" -#: gnu/packages/image.scm:99 +#: gnu/packages/image.scm:103 msgid "Library for handling PNG files" msgstr "Bibliothèque pour manipuler des fichiers PNG" -#: gnu/packages/image.scm:101 +#: gnu/packages/image.scm:105 msgid "" "Libpng is the official PNG (Portable Network Graphics) reference\n" "library. It supports almost all PNG features and is extensible." msgstr "" -#: gnu/packages/image.scm:165 +#: gnu/packages/image.scm:169 msgid "APNG patch for libpng" msgstr "" -#: gnu/packages/image.scm:167 +#: gnu/packages/image.scm:171 msgid "" "APNG (Animated Portable Network Graphics) is an unofficial\n" "extension of the APNG (Portable Network Graphics) format.\n" "APNG patch provides APNG support to libpng." msgstr "" -#: gnu/packages/image.scm:207 +#: gnu/packages/image.scm:211 msgid "Read and write PNG images" msgstr "" -#: gnu/packages/image.scm:209 +#: gnu/packages/image.scm:213 msgid "" "This package provides an easy and simple way to read, write and display\n" "bitmap images stored in the PNG format. It can read and write both files and\n" "in-memory raw vectors." msgstr "" -#: gnu/packages/image.scm:244 +#: gnu/packages/image.scm:248 msgid "Utility to compress PNG files" msgstr "" -#: gnu/packages/image.scm:245 +#: gnu/packages/image.scm:249 msgid "" "pngcrusqh is an optimizer for PNG (Portable Network Graphics)\n" "files. It can compress them as much as 40% losslessly." msgstr "" -#: gnu/packages/image.scm:264 +#: gnu/packages/image.scm:307 +msgid "Pretty small png library" +msgstr "Bibliothèque png très petite" + +#: gnu/packages/image.scm:308 +msgid "" +"A pretty small png library.\n" +"Currently all documentation resides in @file{pnglite.h}." +msgstr "" + +#: gnu/packages/image.scm:323 msgid "Library for handling JPEG files" msgstr "Bibliothèque de manipulation des fichiers JPEG" -#: gnu/packages/image.scm:266 +#: gnu/packages/image.scm:325 msgid "" "Libjpeg implements JPEG image encoding, decoding, and transcoding.\n" "JPEG is a standardized compression method for full-color and gray-scale\n" "images.\n" -"The included programs provide conversion between the JPEG format and\n" -"image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats." +"It also includes programs that provide conversion between the JPEG format and\n" +"image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats, as well as\n" +"lossless JPEG manipulations such as rotation, scaling or cropping:\n" +"@enumerate\n" +"@item cjpeg\n" +"@item djpeg\n" +"@item jpegtran\n" +"@item rdjpgcom\n" +"@item wrjpgcom\n" +"@end enumerate" msgstr "" -#: gnu/packages/image.scm:331 +#: gnu/packages/image.scm:398 msgid "Implementation of the JPEG XR standard" msgstr "Implémentation du standard JPEG XR" -#: gnu/packages/image.scm:332 +#: gnu/packages/image.scm:399 msgid "" "JPEG XR is an approved ISO/IEC International standard (its\n" "official designation is ISO/IEC 29199-2). This library is an implementation of that standard." msgstr "" -#: gnu/packages/image.scm:355 +#: gnu/packages/image.scm:421 msgid "Optimize JPEG images" msgstr "" -#: gnu/packages/image.scm:357 +#: gnu/packages/image.scm:423 msgid "" "jpegoptim provides lossless optimization (based on optimizing\n" "the Huffman tables) and \"lossy\" optimization based on setting\n" "maximum quality factor." msgstr "" -#: gnu/packages/image.scm:382 +#: gnu/packages/image.scm:448 msgid "Library for handling Mac OS icns resource files" msgstr "Bibliothèque de manipulation des fichiers de resources d'icones Mac OS" -#: gnu/packages/image.scm:384 +#: gnu/packages/image.scm:450 msgid "" "Libicns is a library for the manipulation of Mac OS IconFamily resource\n" "type files (ICNS). @command{icns2png} and @command{png2icns} are provided to\n" @@ -7755,11 +8138,11 @@ msgid "" "extracting icontainer icon files." msgstr "" -#: gnu/packages/image.scm:419 +#: gnu/packages/image.scm:486 msgid "Library for handling TIFF files" msgstr "Bibliothèque de manipulation de fichiers TIFF" -#: gnu/packages/image.scm:421 +#: gnu/packages/image.scm:488 msgid "" "Libtiff provides support for the Tag Image File Format (TIFF), a format\n" "used for storing image data.\n" @@ -7767,11 +8150,11 @@ msgid "" "collection of tools for doing simple manipulations of TIFF images." msgstr "" -#: gnu/packages/image.scm:473 +#: gnu/packages/image.scm:551 msgid "Library and tools for image processing and analysis" msgstr "" -#: gnu/packages/image.scm:475 +#: gnu/packages/image.scm:553 msgid "" "Leptonica is a C library and set of command-line tools for efficient\n" "image processing and image analysis operations. It supports rasterop, affine\n" @@ -7781,11 +8164,11 @@ msgid "" "arithmetic ops." msgstr "" -#: gnu/packages/image.scm:497 +#: gnu/packages/image.scm:576 msgid "Decoder of the JBIG2 image compression format" msgstr "" -#: gnu/packages/image.scm:499 +#: gnu/packages/image.scm:578 msgid "" "JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit\n" "monochrome) images at moderately high resolution, and in particular scanned\n" @@ -7798,11 +8181,11 @@ msgid "" "work." msgstr "" -#: gnu/packages/image.scm:534 +#: gnu/packages/image.scm:628 msgid "JPEG 2000 codec" msgstr "" -#: gnu/packages/image.scm:536 +#: gnu/packages/image.scm:630 msgid "" "The OpenJPEG library is a JPEG 2000 codec written in C. It has\n" "been developed in order to promote the use of JPEG 2000, the new\n" @@ -7815,11 +8198,11 @@ msgid "" "error-resilience, a Java-viewer for j2k-images, ..." msgstr "" -#: gnu/packages/image.scm:603 +#: gnu/packages/image.scm:697 msgid "Tools and library for working with GIF images" msgstr "Outils et bibliothèque pour travailler avec les images GIF" -#: gnu/packages/image.scm:605 +#: gnu/packages/image.scm:699 msgid "" "GIFLIB is a library for reading and writing GIF images. It is API and\n" "ABI compatible with libungif which was in wide use while the LZW compression\n" @@ -7827,19 +8210,19 @@ msgid "" "compose, and analyze GIF images." msgstr "" -#: gnu/packages/image.scm:627 +#: gnu/packages/image.scm:721 msgid "GIF decompression library" msgstr "Bibliothèque de décompression GIF" -#: gnu/packages/image.scm:629 +#: gnu/packages/image.scm:723 msgid "libungif is the old GIF decompression library by the GIFLIB project." msgstr "" -#: gnu/packages/image.scm:658 +#: gnu/packages/image.scm:752 msgid "Loading, saving, rendering and manipulating image files" msgstr "" -#: gnu/packages/image.scm:660 +#: gnu/packages/image.scm:754 msgid "" "Imlib2 is a library that does image file loading and saving as well as\n" "rendering, manipulation, arbitrary polygon support, etc.\n" @@ -7852,32 +8235,32 @@ msgid "" "more modular, simple, and flexible." msgstr "" -#: gnu/packages/image.scm:692 +#: gnu/packages/image.scm:786 msgid "Wrapper library for imlib2" msgstr "" -#: gnu/packages/image.scm:694 +#: gnu/packages/image.scm:788 msgid "" "Giblib is a simple library which wraps imlib2's context API, avoiding\n" "all the context_get/set calls, adds fontstyles to the truetype renderer and\n" "supplies a generic doubly-linked list and some string functions." msgstr "" -#: gnu/packages/image.scm:775 +#: gnu/packages/image.scm:869 msgid "Library for handling popular graphics image formats" msgstr "" -#: gnu/packages/image.scm:777 +#: gnu/packages/image.scm:871 msgid "" "FreeImage is a library for developers who would like to support popular\n" "graphics image formats like PNG, BMP, JPEG, TIFF and others." msgstr "" -#: gnu/packages/image.scm:839 +#: gnu/packages/image.scm:933 msgid "Computer vision library" msgstr "" -#: gnu/packages/image.scm:841 +#: gnu/packages/image.scm:935 msgid "" "VIGRA stands for Vision with Generic Algorithms. It is an image\n" "processing and analysis library that puts its main emphasis on customizable\n" @@ -7885,22 +8268,22 @@ msgid "" "multi-dimensional image processing." msgstr "" -#: gnu/packages/image.scm:874 +#: gnu/packages/image.scm:968 msgid "C interface to the VIGRA computer vision library" msgstr "Interface C à la bibliothèque de vision par ordinateur VIGRA" -#: gnu/packages/image.scm:876 +#: gnu/packages/image.scm:970 msgid "" "This package provides a C interface to the VIGRA C++ computer vision\n" "library. It is designed primarily to ease the implementation of higher-level\n" "language bindings to VIGRA." msgstr "" -#: gnu/packages/image.scm:916 +#: gnu/packages/image.scm:1010 msgid "Lossless and lossy image compression" msgstr "" -#: gnu/packages/image.scm:918 +#: gnu/packages/image.scm:1012 msgid "" "WebP is a new image format that provides lossless and lossy compression\n" "for images. WebP lossless images are 26% smaller in size compared to\n" @@ -7912,52 +8295,52 @@ msgid "" "channels." msgstr "" -#: gnu/packages/image.scm:946 +#: gnu/packages/image.scm:1040 msgid "Library for handling MNG files" msgstr "Bibliothèque de manipulation des fichiers MNG" -#: gnu/packages/image.scm:948 +#: gnu/packages/image.scm:1042 msgid "Libmng is the MNG (Multiple-image Network Graphics) reference library." msgstr "" -#: gnu/packages/image.scm:976 +#: gnu/packages/image.scm:1070 msgid "Library and command-line utility to manage image metadata" msgstr "" -#: gnu/packages/image.scm:978 +#: gnu/packages/image.scm:1072 msgid "" "Exiv2 is a C++ library and a command line utility to manage image\n" "metadata. It provides fast and easy read and write access to the Exif, IPTC\n" "and XMP metadata of images in various formats." msgstr "" -#: gnu/packages/image.scm:1018 +#: gnu/packages/image.scm:1112 msgid "Library for manipulating many image formats" msgstr "" -#: gnu/packages/image.scm:1019 +#: gnu/packages/image.scm:1113 msgid "" "Developer's Image Library (DevIL) is a library to develop\n" "applications with support for many types of images. DevIL can load, save,\n" "convert, manipulate, filter and display a wide variety of image formats." msgstr "" -#: gnu/packages/image.scm:1039 +#: gnu/packages/image.scm:1133 msgid "JPEG-2000 library" msgstr "" -#: gnu/packages/image.scm:1040 +#: gnu/packages/image.scm:1134 msgid "" "The JasPer Project is an initiative to provide a reference\n" "implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e.,\n" "ISO/IEC 15444-1)." msgstr "" -#: gnu/packages/image.scm:1070 +#: gnu/packages/image.scm:1164 msgid "Scaling, colorspace conversion, and dithering library" msgstr "" -#: gnu/packages/image.scm:1071 +#: gnu/packages/image.scm:1165 msgid "" "Zimg implements the commonly required image processing basics\n" "of scaling, colorspace conversion, and depth conversion. A simple API enables\n" @@ -7965,11 +8348,11 @@ msgid "" "the programmer." msgstr "" -#: gnu/packages/image.scm:1104 +#: gnu/packages/image.scm:1198 msgid "Perceptual image comparison utility" msgstr "" -#: gnu/packages/image.scm:1105 +#: gnu/packages/image.scm:1199 msgid "" "PerceptualDiff visually compares two images to determine\n" "whether they look alike. It uses a computational model of the human visual\n" @@ -7977,33 +8360,33 @@ msgid "" "differences in file encoding, image quality, and other small variations." msgstr "" -#: gnu/packages/image.scm:1145 +#: gnu/packages/image.scm:1239 msgid "Image and audio steganography" msgstr "" -#: gnu/packages/image.scm:1147 +#: gnu/packages/image.scm:1241 msgid "" "Steghide is a program to hide data in various kinds of image and audio\n" "files (known as @dfn{steganography}). Neither color nor sample frequencies are\n" "changed, making the embedding resistant against first-order statistical tests." msgstr "" -#: gnu/packages/image.scm:1172 +#: gnu/packages/image.scm:1266 msgid "Image library for Extempore" msgstr "" -#: gnu/packages/image.scm:1174 +#: gnu/packages/image.scm:1268 msgid "" "This package is a collection of assorted single-file libraries. Of\n" "all included libraries only the image loading and decoding library is\n" "installed as @code{stb_image}." msgstr "" -#: gnu/packages/image.scm:1203 +#: gnu/packages/image.scm:1305 msgid "Optimizer that recompresses PNG image files to a smaller size" msgstr "" -#: gnu/packages/image.scm:1204 +#: gnu/packages/image.scm:1306 msgid "" "OptiPNG is a PNG optimizer that recompresses image\n" "files to a smaller size, without losing any information. This program\n" @@ -8011,11 +8394,11 @@ msgid "" "PNG, and performs PNG integrity checks and corrections." msgstr "" -#: gnu/packages/image.scm:1229 +#: gnu/packages/image.scm:1331 msgid "SIMD-accelerated JPEG image handling library" msgstr "" -#: gnu/packages/image.scm:1230 +#: gnu/packages/image.scm:1332 msgid "" "libjpeg-turbo is a JPEG image codec that accelerates baseline\n" "JPEG compression and decompression using SIMD instructions: MMX on x86, SSE2 on\n" @@ -8028,11 +8411,11 @@ msgid "" "and decompress to 32-bit and big-endian pixel buffers (RGBX, XBGR, etc.)." msgstr "" -#: gnu/packages/image.scm:1278 +#: gnu/packages/image.scm:1382 msgid "Library for reading and writing files in the nifti-1 format" msgstr "" -#: gnu/packages/image.scm:1279 +#: gnu/packages/image.scm:1383 msgid "" "Niftilib is a set of i/o libraries for reading and writing\n" "files in the nifti-1 data format - a binary file format for storing\n" @@ -8040,32 +8423,32 @@ msgid "" "(fMRI) brain images." msgstr "" -#: gnu/packages/image.scm:1318 +#: gnu/packages/image.scm:1422 msgid "Color picker" msgstr "" -#: gnu/packages/image.scm:1319 +#: gnu/packages/image.scm:1423 msgid "Gpick is an advanced color picker and palette editing tool." msgstr "" -#: gnu/packages/image.scm:1335 +#: gnu/packages/image.scm:1441 msgid "IPTC metadata manipulation library" msgstr "Bibliothèque de manipulation de métadonnées IPTC" -#: gnu/packages/image.scm:1336 +#: gnu/packages/image.scm:1443 msgid "" -"Libiptcdata is a C library for manipulating the International\n" -"Press Telecommunications Council (IPTC) metadata stored within multimedia files\n" +"Libiptcdata is a C library for manipulating the International Press\n" +"Telecommunications Council (@dfn{IPTC}) metadata stored within multimedia files\n" "such as images. This metadata can include captions and keywords, often used by\n" "popular photo management applications. The library provides routines for\n" "parsing, viewing, modifying, and saving this metadata." msgstr "" -#: gnu/packages/image.scm:1372 +#: gnu/packages/image.scm:1479 msgid "Powerful yet simple to use screenshot software" msgstr "" -#: gnu/packages/image.scm:1373 +#: gnu/packages/image.scm:1480 msgid "" "Flameshot is a screenshot program.\n" "Features:\n" @@ -8079,22 +8462,22 @@ msgid "" "@end itemize\n" msgstr "" -#: gnu/packages/image.scm:1399 +#: gnu/packages/image.scm:1506 msgid "Read and write JPEG images with R" msgstr "" -#: gnu/packages/image.scm:1400 +#: gnu/packages/image.scm:1507 msgid "" "This package provides a way to read, write and display bitmap\n" "images stored in the JPEG format with R. It can read and write both files and\n" "in-memory raw vectors." msgstr "" -#: gnu/packages/image.scm:1434 +#: gnu/packages/image.scm:1541 msgid "Edit GIF images and animations" msgstr "" -#: gnu/packages/image.scm:1435 +#: gnu/packages/image.scm:1542 msgid "" "Gifsicle is a command-line GIF image manipulation tool that:\n" "\n" @@ -8113,11 +8496,19 @@ msgid "" "identical visual appearance." msgstr "" -#: gnu/packages/image-viewers.scm:91 -msgid "Fast and light imlib2-based image viewer" +#: gnu/packages/image.scm:1581 +msgid "Convert JPEG images to ASCII" +msgstr "" + +#: gnu/packages/image.scm:1583 +msgid "Jp2a is a small utility that converts JPEG images to ASCII." msgstr "" #: gnu/packages/image-viewers.scm:93 +msgid "Fast and light imlib2-based image viewer" +msgstr "" + +#: gnu/packages/image-viewers.scm:95 msgid "" "feh is an X11 image viewer aimed mostly at console users.\n" "Unlike most other viewers, it does not have a fancy GUI, but simply\n" @@ -8126,11 +8517,11 @@ msgid "" "actions." msgstr "" -#: gnu/packages/image-viewers.scm:154 +#: gnu/packages/image-viewers.scm:156 msgid "Lightweight GTK+ based image viewer" msgstr "" -#: gnu/packages/image-viewers.scm:156 +#: gnu/packages/image-viewers.scm:158 msgid "" "Geeqie is a lightweight GTK+ based image viewer for Unix like operating\n" "systems. It features: EXIF, IPTC and XMP metadata browsing and editing\n" @@ -8140,21 +8531,21 @@ msgid "" "collection. Geeqie was initially based on GQview." msgstr "" -#: gnu/packages/image-viewers.scm:181 +#: gnu/packages/image-viewers.scm:183 msgid "Simple and fast image viewer for X" msgstr "" -#: gnu/packages/image-viewers.scm:182 +#: gnu/packages/image-viewers.scm:184 msgid "" "gpicview is a lightweight GTK+ 2.x based image viewer.\n" "It is the default image viewer on LXDE desktop environment." msgstr "" -#: gnu/packages/image-viewers.scm:223 +#: gnu/packages/image-viewers.scm:225 msgid "Simple X Image Viewer" msgstr "" -#: gnu/packages/image-viewers.scm:225 +#: gnu/packages/image-viewers.scm:227 msgid "" "sxiv is an alternative to feh and qiv. Its primary goal is to\n" "provide the most basic features required for fast image viewing. It has\n" @@ -8163,11 +8554,11 @@ msgid "" "it and customize it for your needs." msgstr "" -#: gnu/packages/image-viewers.scm:265 +#: gnu/packages/image-viewers.scm:267 msgid "Simple, fast and elegant image viewer" msgstr "" -#: gnu/packages/image-viewers.scm:266 +#: gnu/packages/image-viewers.scm:268 msgid "" "Viewnior is an image viewer program. Created to be simple,\n" "fast and elegant. Its minimalistic interface provides more screenspace for\n" @@ -8185,21 +8576,21 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/image-viewers.scm:334 +#: gnu/packages/image-viewers.scm:336 msgid "Render images in the terminal" msgstr "" -#: gnu/packages/image-viewers.scm:336 +#: gnu/packages/image-viewers.scm:338 msgid "" "Catimg is a little program that prints images in the terminal.\n" "It supports JPEG, PNG and GIF formats." msgstr "" -#: gnu/packages/image-viewers.scm:387 +#: gnu/packages/image-viewers.scm:389 msgid "High dynamic range (HDR) imaging application" msgstr "" -#: gnu/packages/image-viewers.scm:389 +#: gnu/packages/image-viewers.scm:391 msgid "" "Luminance HDR (formerly QtPFSGui) is a graphical user interface\n" "application that aims to provide a workflow for high dynamic range (HDR)\n" @@ -8215,11 +8606,11 @@ msgid "" "@end itemize\n" msgstr "" -#: gnu/packages/image-viewers.scm:437 +#: gnu/packages/image-viewers.scm:439 msgid "Image viewer for comics" msgstr "" -#: gnu/packages/image-viewers.scm:438 +#: gnu/packages/image-viewers.scm:440 msgid "" "MComix is a customizable image viewer that specializes as\n" "a comic and manga reader. It supports a variety of container formats\n" @@ -8280,11 +8671,11 @@ msgstr "" msgid "Clone of the Motif toolkit for the X window system." msgstr "" -#: gnu/packages/libreoffice.scm:98 +#: gnu/packages/libreoffice.scm:100 msgid "General purpose formula parser and interpreter" msgstr "" -#: gnu/packages/libreoffice.scm:99 +#: gnu/packages/libreoffice.scm:101 msgid "" "Ixion is a library for calculating the results of formula\n" "expressions stored in multiple named targets, or \"cells\". The cells can\n" @@ -8292,11 +8683,11 @@ msgid "" "their dependencies automatically upon calculation." msgstr "" -#: gnu/packages/libreoffice.scm:126 +#: gnu/packages/libreoffice.scm:128 msgid "File import filter library for spreadsheet documents" msgstr "" -#: gnu/packages/libreoffice.scm:127 +#: gnu/packages/libreoffice.scm:129 msgid "" "Orcus is a library that provides a collection of standalone\n" "file processing filters. It is currently focused on providing filters for\n" @@ -8306,33 +8697,33 @@ msgid "" "CSV, CSS and XML." msgstr "" -#: gnu/packages/libreoffice.scm:161 +#: gnu/packages/libreoffice.scm:163 msgid "Document importer for office suites" msgstr "" -#: gnu/packages/libreoffice.scm:162 +#: gnu/packages/libreoffice.scm:164 msgid "" "Librevenge is a base library for writing document import\n" "filters. It has interfaces for text documents, vector graphics,\n" "spreadsheets and presentations." msgstr "" -#: gnu/packages/libreoffice.scm:187 +#: gnu/packages/libreoffice.scm:189 msgid "Library for importing WordPerfect documents" msgstr "" -#: gnu/packages/libreoffice.scm:188 +#: gnu/packages/libreoffice.scm:190 msgid "" "Libwpd is a C++ library designed to help process\n" "WordPerfect documents. It is most commonly used to import such documents\n" "into other word processors." msgstr "" -#: gnu/packages/libreoffice.scm:221 +#: gnu/packages/libreoffice.scm:223 msgid "Library for import of reflowable e-book formats" msgstr "" -#: gnu/packages/libreoffice.scm:222 +#: gnu/packages/libreoffice.scm:224 msgid "" "Libe-book is a library and a set of tools for reading and\n" "converting various reflowable e-book formats. Currently supported are:\n" @@ -8342,73 +8733,73 @@ msgid "" "ZVR (simple compressed text format)." msgstr "" -#: gnu/packages/libreoffice.scm:252 +#: gnu/packages/libreoffice.scm:254 msgid "EPUB generator library for librevenge" msgstr "" -#: gnu/packages/libreoffice.scm:253 +#: gnu/packages/libreoffice.scm:255 msgid "" "libepubgen is an EPUB generator for librevenge. It supports\n" "librevenge's text document interface and--currently in a very limited\n" "way--presentation and vector drawing interfaces." msgstr "" -#: gnu/packages/libreoffice.scm:279 +#: gnu/packages/libreoffice.scm:281 msgid "Library and tools for the WordPerfect Graphics format" msgstr "" -#: gnu/packages/libreoffice.scm:280 +#: gnu/packages/libreoffice.scm:282 msgid "" "The libwpg project provides a library and tools for\n" "working with graphics in the WPG (WordPerfect Graphics) format." msgstr "" -#: gnu/packages/libreoffice.scm:321 +#: gnu/packages/libreoffice.scm:323 msgid "CMIS client library" msgstr "" -#: gnu/packages/libreoffice.scm:322 +#: gnu/packages/libreoffice.scm:324 msgid "" "LibCMIS is a C++ client library for the CMIS interface. It\n" "allows C++ applications to connect to any ECM behaving as a CMIS server such\n" "as Alfresco or Nuxeo." msgstr "" -#: gnu/packages/libreoffice.scm:353 +#: gnu/packages/libreoffice.scm:355 msgid "Library for parsing the AbiWord format" msgstr "Bibliothèque d'analyse du format AbiWord" -#: gnu/packages/libreoffice.scm:354 +#: gnu/packages/libreoffice.scm:356 msgid "" "Libabw is a library that parses the file format of\n" "AbiWord documents." msgstr "" -#: gnu/packages/libreoffice.scm:385 +#: gnu/packages/libreoffice.scm:387 msgid "Library for parsing the CorelDRAW format" msgstr "" -#: gnu/packages/libreoffice.scm:386 +#: gnu/packages/libreoffice.scm:388 msgid "" "Libcdr is a library that parses the file format of\n" "CorelDRAW documents of all versions." msgstr "" -#: gnu/packages/libreoffice.scm:418 +#: gnu/packages/libreoffice.scm:420 msgid "Library for parsing the Apple Keynote format" msgstr "" -#: gnu/packages/libreoffice.scm:419 +#: gnu/packages/libreoffice.scm:421 msgid "" "Libetonyek is a library that parses the file format of\n" "Apple Keynote documents. It currently supports Keynote versions 2 to 5." msgstr "" -#: gnu/packages/libreoffice.scm:443 +#: gnu/packages/libreoffice.scm:445 msgid "Library to access tags for identifying languages" msgstr "Bibliothèque pour accéder aux étiquettes qui identifient les langues" -#: gnu/packages/libreoffice.scm:444 +#: gnu/packages/libreoffice.scm:446 msgid "" "Liblangtag implements an interface to work with tags\n" "for identifying languages as described in RFC 5646. It supports the\n" @@ -8417,62 +8808,73 @@ msgid "" "standard 21.0.2." msgstr "" -#: gnu/packages/libreoffice.scm:464 +#: gnu/packages/libreoffice.scm:466 msgid "Text Categorization library" msgstr "Bibliothèque de catégorisation de textes" -#: gnu/packages/libreoffice.scm:465 +#: gnu/packages/libreoffice.scm:467 msgid "" "Libexttextcat is an N-Gram-Based Text Categorization\n" "library primarily intended for language guessing." msgstr "" -#: gnu/packages/libreoffice.scm:495 +#: gnu/packages/libreoffice.scm:497 msgid "Library for parsing the FreeHand format" msgstr "" -#: gnu/packages/libreoffice.scm:496 +#: gnu/packages/libreoffice.scm:498 msgid "" "Libfreehand is a library that parses the file format of\n" "Aldus/Macromedia/Adobe FreeHand documents." msgstr "" -#: gnu/packages/libreoffice.scm:522 +#: gnu/packages/libreoffice.scm:524 msgid "Library for parsing the Microsoft Publisher format" msgstr "" -#: gnu/packages/libreoffice.scm:523 +#: gnu/packages/libreoffice.scm:525 msgid "" "Libmspub is a library that parses the file format of\n" "Microsoft Publisher documents of all versions." msgstr "" -#: gnu/packages/libreoffice.scm:548 +#: gnu/packages/libreoffice.scm:551 +msgid "Language-neutral @code{NUMBERTEXT} and @code{MONEYTEXT} functions" +msgstr "" + +#: gnu/packages/libreoffice.scm:553 +msgid "" +"The libnumbertext library provides language-neutral @code{NUMBERTEXT}\n" +"and @code{MONEYTEXT} functions for LibreOffice Calc, available for C++ and\n" +"Java." +msgstr "" + +#: gnu/packages/libreoffice.scm:579 msgid "Library for parsing the PageMaker format" msgstr "" -#: gnu/packages/libreoffice.scm:549 +#: gnu/packages/libreoffice.scm:580 msgid "" "Libpagemaker is a library that parses the file format of\n" "Aldus/Adobe PageMaker documents. Currently it only understands documents\n" "created by PageMaker version 6.x and 7." msgstr "" -#: gnu/packages/libreoffice.scm:579 +#: gnu/packages/libreoffice.scm:610 msgid "Library for parsing the Microsoft Visio format" msgstr "" -#: gnu/packages/libreoffice.scm:580 +#: gnu/packages/libreoffice.scm:611 msgid "" "Libvisio is a library that parses the file format of\n" "Microsoft Visio documents of all versions." msgstr "" -#: gnu/packages/libreoffice.scm:608 +#: gnu/packages/libreoffice.scm:639 msgid "ODF (Open Document Format) library" msgstr "" -#: gnu/packages/libreoffice.scm:609 +#: gnu/packages/libreoffice.scm:640 msgid "" "Libodfgen is a library for generating documents in the\n" "Open Document Format (ODF). It provides generator implementations for all\n" @@ -8480,49 +8882,49 @@ msgid "" "text documents, vector drawings, presentations and spreadsheets." msgstr "" -#: gnu/packages/libreoffice.scm:636 +#: gnu/packages/libreoffice.scm:667 msgid "Import library for some old Macintosh text documents" msgstr "" -#: gnu/packages/libreoffice.scm:637 +#: gnu/packages/libreoffice.scm:668 msgid "" "Libmwaw contains some import filters for old Macintosh\n" "text documents (MacWrite, ClarisWorks, ... ) and for some graphics and\n" "spreadsheet documents." msgstr "" -#: gnu/packages/libreoffice.scm:660 +#: gnu/packages/libreoffice.scm:691 msgid "Provides LibreOffice support for old StarOffice documents" msgstr "" -#: gnu/packages/libreoffice.scm:661 +#: gnu/packages/libreoffice.scm:692 msgid "" "@code{libstaroffice} is an import filter for the document formats\n" "from the old StarOffice (.sdc, .sdw, ...)." msgstr "" -#: gnu/packages/libreoffice.scm:686 +#: gnu/packages/libreoffice.scm:717 msgid "Import library for Microsoft Works text documents" msgstr "" -#: gnu/packages/libreoffice.scm:687 +#: gnu/packages/libreoffice.scm:718 msgid "" "Libwps is a library for importing files in the Microsoft\n" "Works word processor file format." msgstr "" -#: gnu/packages/libreoffice.scm:714 +#: gnu/packages/libreoffice.scm:748 msgid "Parses file format of Zoner Callisto/Draw documents" msgstr "" -#: gnu/packages/libreoffice.scm:715 +#: gnu/packages/libreoffice.scm:749 msgid "" "Libzmf is a library that parses the file format of Zoner\n" "Callisto/Draw documents. Currently it only understands documents created by\n" "Zoner Draw version 4 and 5." msgstr "" -#: gnu/packages/libreoffice.scm:744 +#: gnu/packages/libreoffice.scm:778 msgid "" "Hunspell is a spell checker and morphological analyzer\n" "library and program designed for languages with rich morphology and complex\n" @@ -8530,59 +8932,59 @@ msgid "" msgstr "" #. TRANSLATORS: In French, this is "Français classique". -#: gnu/packages/libreoffice.scm:807 +#: gnu/packages/libreoffice.scm:841 msgid "Hunspell dictionary for ``classic'' French (recommended)" msgstr "" #. TRANSLATORS: In French, this is "Français moderne". -#: gnu/packages/libreoffice.scm:812 +#: gnu/packages/libreoffice.scm:846 msgid "Hunspell dictionary for ``modern'' French" msgstr "" -#: gnu/packages/libreoffice.scm:816 +#: gnu/packages/libreoffice.scm:850 msgid "Hunspell dictionary for the post @dfn{1990 réforme} French" msgstr "" -#: gnu/packages/libreoffice.scm:820 +#: gnu/packages/libreoffice.scm:854 msgid "Hunspell dictionary for all variants of French" msgstr "" -#: gnu/packages/libreoffice.scm:838 +#: gnu/packages/libreoffice.scm:872 msgid "Hyphenation library" msgstr "Bibliothèque de césures" -#: gnu/packages/libreoffice.scm:839 +#: gnu/packages/libreoffice.scm:873 msgid "" "Hyphen is a hyphenation library using TeX hyphenation\n" "patterns, which are pre-processed by a perl script." msgstr "" -#: gnu/packages/libreoffice.scm:862 +#: gnu/packages/libreoffice.scm:896 msgid "Thesaurus" msgstr "" -#: gnu/packages/libreoffice.scm:863 +#: gnu/packages/libreoffice.scm:897 msgid "" "MyThes is a simple thesaurus that uses a structured text\n" "data file and an index file with binary search to look up words and phrases\n" "and to return information on pronunciations, meanings and synonyms." msgstr "" -#: gnu/packages/libreoffice.scm:891 +#: gnu/packages/libreoffice.scm:925 msgid "Library and tools for the QuarkXPress file format" msgstr "" -#: gnu/packages/libreoffice.scm:892 +#: gnu/packages/libreoffice.scm:926 msgid "" "libqxp is a library and a set of tools for reading and\n" "converting QuarkXPress file format. It supports versions 3.1 to 4.1." msgstr "" -#: gnu/packages/libreoffice.scm:1087 +#: gnu/packages/libreoffice.scm:1126 msgid "Office suite" msgstr "" -#: gnu/packages/libreoffice.scm:1088 +#: gnu/packages/libreoffice.scm:1127 msgid "" "LibreOffice is a comprehensive office suite. It contains\n" "a number of components: Writer, a word processor; Calc, a spreadsheet\n" @@ -8591,19 +8993,19 @@ msgid "" "Math for editing mathematics." msgstr "" -#: gnu/packages/linux.scm:215 +#: gnu/packages/linux.scm:220 msgid "GNU Linux-Libre kernel headers" msgstr "Fichiers d'en-tête pour le noyau GNU Linux-Libre" -#: gnu/packages/linux.scm:216 +#: gnu/packages/linux.scm:221 msgid "Headers of the Linux-Libre kernel." msgstr "Fichiers d'en-tête pour le noyau Linux-Libre." -#: gnu/packages/linux.scm:391 +#: gnu/packages/linux.scm:396 msgid "100% free redistribution of a cleaned Linux kernel" msgstr "Redistribution 100% libre d'un noyau Linux propre" -#: gnu/packages/linux.scm:393 +#: gnu/packages/linux.scm:398 msgid "" "GNU Linux-Libre is a free (as in freedom) variant of the Linux kernel.\n" "It has been modified to remove all non-free binary blobs." @@ -8611,11 +9013,11 @@ msgstr "" "GNU Linux-Libre est une variante libre du noyau Linux.\n" "Il a été modifié pour en retirer toutes les composantes non-libres." -#: gnu/packages/linux.scm:514 +#: gnu/packages/linux.scm:529 msgid "Pluggable authentication modules for Linux" msgstr "Modules d'authentification pour Linux" -#: gnu/packages/linux.scm:516 +#: gnu/packages/linux.scm:531 msgid "" "A *Free* project to implement OSF's RFC 86.0.\n" "Pluggable authentication modules are small shared object files that can\n" @@ -8628,11 +9030,11 @@ msgstr "" "d'un utilisateur au moment de la connexion. Ses principales fonctionnalités sont\n" "la reconfiguration locale et dynamique." -#: gnu/packages/linux.scm:558 +#: gnu/packages/linux.scm:573 msgid "Small utilities that use the proc file system" msgstr "Petits utilitaires utilisant le système de fichier proc" -#: gnu/packages/linux.scm:560 +#: gnu/packages/linux.scm:575 msgid "" "This PSmisc package is a set of some small useful utilities that\n" "use the proc file system. We're not about changing the world, but\n" @@ -8643,33 +9045,33 @@ msgstr "" "mais simplement de fournir de l'aide à l'administrateur système dans ses\n" "tâches les plus courantes." -#: gnu/packages/linux.scm:645 +#: gnu/packages/linux.scm:660 msgid "Collection of utilities for the Linux kernel" msgstr "Collection d'utilitaires pour le noyau Linux" -#: gnu/packages/linux.scm:646 +#: gnu/packages/linux.scm:661 msgid "" "Util-linux is a diverse collection of Linux kernel\n" "utilities. It provides dmesg and includes tools for working with file systems,\n" "block devices, UUIDs, TTYs, and many other tools." msgstr "" -#: gnu/packages/linux.scm:670 +#: gnu/packages/linux.scm:685 msgid "PERPETUAL DATE CONVERTER FROM GREGORIAN TO POEE CALENDAR" msgstr "" -#: gnu/packages/linux.scm:672 +#: gnu/packages/linux.scm:687 msgid "" "ddate displays the Discordian date and holidays of a given date.\n" "The Discordian calendar was made popular by the \"Illuminatus!\" trilogy\n" "by Robert Shea and Robert Anton Wilson." msgstr "" -#: gnu/packages/linux.scm:708 +#: gnu/packages/linux.scm:723 msgid "Utilities that give information about processes" msgstr "Utilitaires fournissant des informations sur les processus" -#: gnu/packages/linux.scm:710 +#: gnu/packages/linux.scm:725 msgid "" "Procps is the package that has a bunch of small useful utilities\n" "that give information about processes using the Linux /proc file system.\n" @@ -8681,27 +9083,27 @@ msgstr "" "Le paquet inclut les programmes ps, top, vmstat, w, kill, free,\n" "slabtop et skill." -#: gnu/packages/linux.scm:736 +#: gnu/packages/linux.scm:751 msgid "Tools for working with USB devices, such as lsusb" msgstr "Outils de manipulation des périphériques USB, tels que lsusb" -#: gnu/packages/linux.scm:738 +#: gnu/packages/linux.scm:753 msgid "Tools for working with USB devices, such as lsusb." msgstr "Outils de manipulation des périphériques USB, tels que lsusb." -#: gnu/packages/linux.scm:815 +#: gnu/packages/linux.scm:829 msgid "Creating and checking ext2/ext3/ext4 file systems" msgstr "Création et vérification de systèmes de fichiers ext1/ext3/ext4" -#: gnu/packages/linux.scm:817 +#: gnu/packages/linux.scm:831 msgid "This package provides tools for manipulating ext2/ext3/ext4 file systems." msgstr "Ce paquet fournit des outils pour manipuler les systèmes de fichiers ext2/ext3/ext4." -#: gnu/packages/linux.scm:859 +#: gnu/packages/linux.scm:873 msgid "Statically-linked e2fsck command from e2fsprogs" msgstr "Commandes de e2fsck liées statiquement provenant de e2fsprogs" -#: gnu/packages/linux.scm:860 +#: gnu/packages/linux.scm:874 msgid "" "This package provides statically-linked e2fsck command taken\n" "from the e2fsprogs package. It is meant to be used in initrds." @@ -8709,21 +9111,21 @@ msgstr "" "Ce paquet fournit la commande e2fsck liée statiquement issue\n" "du paquet e2fsprogs. Il est censé être utilisé dans les initrds." -#: gnu/packages/linux.scm:879 +#: gnu/packages/linux.scm:895 msgid "Recover deleted files from ext2/3/4 partitions" msgstr "" -#: gnu/packages/linux.scm:881 +#: gnu/packages/linux.scm:897 msgid "" "Extundelete is a set of tools that can recover deleted files from an\n" "ext3 or ext4 partition." msgstr "" -#: gnu/packages/linux.scm:912 +#: gnu/packages/linux.scm:928 msgid "Zero non-allocated regions in ext2/ext3/ext4 file systems" msgstr "Remet à zéro les régions non allouées dans les systèmes de fichiers ext2/ext3/ext4" -#: gnu/packages/linux.scm:914 +#: gnu/packages/linux.scm:930 msgid "" "Zerofree finds the unallocated blocks with non-zero value content in an\n" "ext2, ext3, or ext4 file system and fills them with zeroes (or another value).\n" @@ -8731,11 +9133,11 @@ msgid "" "Zerofree requires the file system to be unmounted or mounted read-only." msgstr "" -#: gnu/packages/linux.scm:942 +#: gnu/packages/linux.scm:962 msgid "System call tracer for Linux" msgstr "Traceur d'appel système pour Linux" -#: gnu/packages/linux.scm:944 +#: gnu/packages/linux.scm:964 msgid "" "strace is a system call tracer, i.e. a debugging tool which prints out a\n" "trace of all the system calls made by a another process/program." @@ -8743,22 +9145,22 @@ msgstr "" "strace est un traceur d'appels système, c-à-d un outil de débogage affichant\n" "les appels système effectués par un autre processus/programme." -#: gnu/packages/linux.scm:965 +#: gnu/packages/linux.scm:985 msgid "Library call tracer for Linux" msgstr "Traceur d'appel système pour Linux" -#: gnu/packages/linux.scm:967 +#: gnu/packages/linux.scm:987 msgid "" "ltrace intercepts and records dynamic library calls which are called by\n" "an executed process and the signals received by that process. It can also\n" "intercept and print the system calls executed by the program." msgstr "" -#: gnu/packages/linux.scm:993 +#: gnu/packages/linux.scm:1006 msgid "The Advanced Linux Sound Architecture libraries" msgstr "Bibliothèques ALSA (Advanced Linux Sound Architecture)" -#: gnu/packages/linux.scm:995 gnu/packages/linux.scm:1039 +#: gnu/packages/linux.scm:1008 gnu/packages/linux.scm:1052 msgid "" "The Advanced Linux Sound Architecture (ALSA) provides audio and\n" "MIDI functionality to the Linux-based operating system." @@ -8766,15 +9168,15 @@ msgstr "" "ALSA fournit des fonctionnalités audio et MIDI pour les sytèmes\n" "basés sur Linux." -#: gnu/packages/linux.scm:1037 +#: gnu/packages/linux.scm:1050 msgid "Utilities for the Advanced Linux Sound Architecture (ALSA)" msgstr "Utilitaires pour ALSA (Advanced Linux Sound Architecture)" -#: gnu/packages/linux.scm:1097 +#: gnu/packages/linux.scm:1119 msgid "Plugins for the Advanced Linux Sound Architecture (ALSA)" msgstr "Greffons pour ALSA (Advanced Linux Sound Architecture)" -#: gnu/packages/linux.scm:1099 +#: gnu/packages/linux.scm:1121 msgid "" "The Advanced Linux Sound Architecture (ALSA) provides audio and\n" "MIDI functionality to the Linux-based operating system. This package enhances ALSA\n" @@ -8783,11 +9185,11 @@ msgid "" "external rate conversion." msgstr "" -#: gnu/packages/linux.scm:1133 +#: gnu/packages/linux.scm:1155 msgid "Programs to configure Linux IP packet filtering rules" msgstr "Programmes de configuration de règles de filtrage des paquets IP pour Linux" -#: gnu/packages/linux.scm:1135 +#: gnu/packages/linux.scm:1157 msgid "" "@command{iptables} is the user-space command line program used to\n" "configure the Linux 2.4.x and later IPv4 packet filtering ruleset\n" @@ -8807,11 +9209,11 @@ msgstr "" "\n" "Les deux commandes sont destinées aux administrateurs système." -#: gnu/packages/linux.scm:1191 +#: gnu/packages/linux.scm:1213 msgid "Ethernet bridge frame table administration" msgstr "" -#: gnu/packages/linux.scm:1194 +#: gnu/packages/linux.scm:1216 msgid "" "ebtables is an application program used to set up and maintain the\n" "tables of rules (inside the Linux kernel) that inspect Ethernet frames. It is\n" @@ -8819,11 +9221,11 @@ msgid "" "that the Ethernet protocol is much simpler than the IP protocol." msgstr "" -#: gnu/packages/linux.scm:1242 +#: gnu/packages/linux.scm:1264 msgid "Utilities for controlling TCP/IP networking and traffic in Linux" msgstr "Utilitaires de contrôle du traffic TCP/IP pour Linux" -#: gnu/packages/linux.scm:1244 +#: gnu/packages/linux.scm:1266 msgid "" "Iproute2 is a collection of utilities for controlling TCP/IP networking\n" "and traffic with the Linux kernel. The most important of these are\n" @@ -8835,11 +9237,11 @@ msgid "" "inadequately in modern network environments, and both should be deprecated." msgstr "" -#: gnu/packages/linux.scm:1321 +#: gnu/packages/linux.scm:1343 msgid "Tools for controlling the network subsystem in Linux" msgstr "Outils pour contrôler le sous-système réseau dans Linux" -#: gnu/packages/linux.scm:1323 +#: gnu/packages/linux.scm:1345 msgid "" "This package includes the important tools for controlling the network\n" "subsystem of the Linux kernel. This includes arp, ifconfig, netstat, rarp and\n" @@ -8853,21 +9255,21 @@ msgstr "" "particulières (pliconfig, slattach) et à des aspects avancés de la configuration\n" "réseau (iptunnel, ipmaddr)." -#: gnu/packages/linux.scm:1361 +#: gnu/packages/linux.scm:1383 msgid "Library for working with POSIX capabilities" msgstr "Bibliothèque pour travailler avec les possibilités de POSIX" -#: gnu/packages/linux.scm:1363 +#: gnu/packages/linux.scm:1385 msgid "" "Libcap2 provides a programming interface to POSIX capabilities on\n" "Linux-based operating systems." msgstr "Libcap2 fournit une interface de programmation POSIX aux systèmes basés sur Linux." -#: gnu/packages/linux.scm:1406 +#: gnu/packages/linux.scm:1428 msgid "Manipulate Ethernet bridges" msgstr "Manipulation des ponts Ethernet" -#: gnu/packages/linux.scm:1408 +#: gnu/packages/linux.scm:1430 msgid "" "Utilities for Linux's Ethernet bridging facilities. A bridge is a way\n" "to connect two Ethernet segments together in a protocol independent way.\n" @@ -8882,11 +9284,11 @@ msgstr "" "niveau 2, tous les protocoles peuvent transiter de manière transparente sur un\n" "un pont." -#: gnu/packages/linux.scm:1476 +#: gnu/packages/linux.scm:1498 msgid "NetLink protocol library suite" msgstr "Bibliothèqye pour le protocole NetLink" -#: gnu/packages/linux.scm:1478 +#: gnu/packages/linux.scm:1500 msgid "" "The libnl suite is a collection of libraries providing APIs to netlink\n" "protocol based Linux kernel interfaces. Netlink is an IPC mechanism primarily\n" @@ -8900,21 +9302,21 @@ msgstr "" "est conçu pour être un successeur plus flexible à ioctl permettant de configurer\n" "le réseau au niveau noyau et surveiller les interfaces." -#: gnu/packages/linux.scm:1508 +#: gnu/packages/linux.scm:1530 msgid "Tool for configuring wireless devices" msgstr "Outils de configuration d'extensions sans fil" -#: gnu/packages/linux.scm:1510 +#: gnu/packages/linux.scm:1532 msgid "" "iw is a new nl80211 based CLI configuration utility for wireless\n" "devices. It replaces @code{iwconfig}, which is deprecated." msgstr "" -#: gnu/packages/linux.scm:1556 +#: gnu/packages/linux.scm:1578 msgid "Analyze power consumption on Intel-based laptops" msgstr "Analyse de la consommation des portables basés sur Intel" -#: gnu/packages/linux.scm:1558 +#: gnu/packages/linux.scm:1580 msgid "" "PowerTOP is a Linux tool to diagnose issues with power consumption and\n" "power management. In addition to being a diagnostic tool, PowerTOP also has\n" @@ -8929,11 +9331,11 @@ msgstr "" "l'énergie pour des cas où le système d'exploitation n'a pas activé ces\n" "paramètres." -#: gnu/packages/linux.scm:1580 +#: gnu/packages/linux.scm:1602 msgid "Audio mixer for X and the console" msgstr "Table de mixage audio basée sur X et la console" -#: gnu/packages/linux.scm:1582 +#: gnu/packages/linux.scm:1604 msgid "" "Aumix adjusts an audio mixer from X, the console, a terminal,\n" "the command line or a script." @@ -8941,11 +9343,11 @@ msgstr "" "Aumix ajuste un mixer audio depuis X, la console, un terminal,\n" "la ligne de commande ou un script." -#: gnu/packages/linux.scm:1606 +#: gnu/packages/linux.scm:1628 msgid "Displays the IO activity of running processes" msgstr "Affiche l'activité des entrées-sorties des processus en cours d'exécution" -#: gnu/packages/linux.scm:1608 +#: gnu/packages/linux.scm:1630 msgid "" "Iotop is a Python program with a top like user interface to show the\n" "processes currently causing I/O." @@ -8953,11 +9355,11 @@ msgstr "" "Iotop est un programme Python doté d'une interface utilisateur affichant les\n" "entrées-sorties en cours des processus." -#: gnu/packages/linux.scm:1662 +#: gnu/packages/linux.scm:1684 msgid "Support file systems implemented in user space" msgstr "Support des systèmes de fichiers implantés dans l'espace utilisateur" -#: gnu/packages/linux.scm:1664 +#: gnu/packages/linux.scm:1686 msgid "" "As a consequence of its monolithic design, file system code for Linux\n" "normally goes into the kernel itself---which is not only a robustness issue,\n" @@ -8974,11 +9376,11 @@ msgstr "" "ce problème en permettant aux utilisateurs de lancer les implantations de\n" "systèmes de fichiers comme des processus utilisateur." -#: gnu/packages/linux.scm:1695 +#: gnu/packages/linux.scm:1717 msgid "User-space union file system" msgstr "" -#: gnu/packages/linux.scm:1697 +#: gnu/packages/linux.scm:1719 msgid "" "UnionFS-FUSE is a flexible union file system implementation in user\n" "space, using the FUSE library. Mounting a union file system allows you to\n" @@ -8986,15 +9388,15 @@ msgid "" "UnionFS-FUSE additionally supports copy-on-write." msgstr "" -#: gnu/packages/linux.scm:1725 +#: gnu/packages/linux.scm:1747 msgid "User-space union file system (statically linked)" msgstr "" -#: gnu/packages/linux.scm:1775 +#: gnu/packages/linux.scm:1797 msgid "Mount remote file systems over SSH" msgstr "Montage de systèmes de fichier distants avec SSH" -#: gnu/packages/linux.scm:1777 +#: gnu/packages/linux.scm:1799 msgid "" "This is a file system client based on the SSH File Transfer Protocol.\n" "Since most SSH servers already support this protocol it is very easy to set\n" @@ -9007,11 +9409,11 @@ msgstr "" "aussi facile de monter le système de fichiers que de se connecter avec un client\n" "SSH." -#: gnu/packages/linux.scm:1800 +#: gnu/packages/linux.scm:1822 msgid "Tool for mounting archive files with FUSE" msgstr "" -#: gnu/packages/linux.scm:1801 +#: gnu/packages/linux.scm:1823 msgid "" "archivemount is a FUSE-based file system for Unix variants,\n" "including Linux. Its purpose is to mount archives (i.e. tar, tar.gz, etc.) to a\n" @@ -9020,11 +9422,11 @@ msgid "" "compressed, transparent to other programs, without decompressing them." msgstr "" -#: gnu/packages/linux.scm:1831 +#: gnu/packages/linux.scm:1852 msgid "Tools for non-uniform memory access (NUMA) machines" msgstr "Outils pour les machines basées sur NUMA (non-uniform memory access)" -#: gnu/packages/linux.scm:1833 +#: gnu/packages/linux.scm:1854 msgid "" "NUMA stands for Non-Uniform Memory Access, in other words a system whose\n" "memory is not all in one place. The numactl program allows you to run your\n" @@ -9041,32 +9443,32 @@ msgstr "" "une application sur des noeuds CPU et mémoire spécifiques au moyen de politiques\n" "fournies au système d'exploitation avant le lancement du programme." -#: gnu/packages/linux.scm:1869 +#: gnu/packages/linux.scm:1890 msgid "Neo2 console layout" msgstr "" -#: gnu/packages/linux.scm:1871 +#: gnu/packages/linux.scm:1892 msgid "" "Kbd-neo provides the Neo2 keyboard layout for use with\n" "@command{loadkeys(1)} from @code{kbd(4)}." msgstr "" -#: gnu/packages/linux.scm:1937 +#: gnu/packages/linux.scm:1958 msgid "Linux keyboard utilities and keyboard maps" msgstr "" -#: gnu/packages/linux.scm:1939 +#: gnu/packages/linux.scm:1960 msgid "" "This package contains keytable files and keyboard utilities compatible\n" "for systems using the Linux kernel. This includes commands such as\n" "'loadkeys', 'setfont', 'kbdinfo', and 'chvt'." msgstr "" -#: gnu/packages/linux.scm:1968 +#: gnu/packages/linux.scm:1984 msgid "Monitor file accesses" msgstr "Surveillance des accès fichier" -#: gnu/packages/linux.scm:1970 +#: gnu/packages/linux.scm:1986 msgid "" "The inotify-tools packages provides a C library and command-line tools\n" "to use Linux' inotify mechanism, which allows file accesses to be monitored." @@ -9075,11 +9477,11 @@ msgstr "" "permettant d'utiliser le mécanisme inotify de Linux qui autorise la surveillance\n" "des accès fichier." -#: gnu/packages/linux.scm:2009 +#: gnu/packages/linux.scm:2025 msgid "Kernel module tools" msgstr "Outils de module noyau" -#: gnu/packages/linux.scm:2010 +#: gnu/packages/linux.scm:2026 msgid "" "Kmod is a set of tools to handle common tasks with Linux\n" "kernel modules like insert, remove, list, check properties, resolve\n" @@ -9097,11 +9499,11 @@ msgstr "" "kmod. L'objectif est d'être compatible avec les outils, les configurations et\n" "les indices du projet module-init-tools." -#: gnu/packages/linux.scm:2073 +#: gnu/packages/linux.scm:2089 msgid "Userspace device management" msgstr "Gestion de périphériques utilisateurs" -#: gnu/packages/linux.scm:2074 +#: gnu/packages/linux.scm:2090 msgid "" "Udev is a daemon which dynamically creates and removes\n" "device nodes from /dev/, handles hotplug events and loads drivers at boot\n" @@ -9111,26 +9513,26 @@ msgstr "" "des noeuds de périphériques dans /dev/, gérer leur branchement à chaud\n" "et charger leur pilotes au démarrage." -#: gnu/packages/linux.scm:2141 +#: gnu/packages/linux.scm:2169 msgid "Logical volume management for Linux" msgstr "Gestion de volumes logiques pour Linux" -#: gnu/packages/linux.scm:2143 +#: gnu/packages/linux.scm:2171 msgid "" "LVM2 is the logical volume management tool set for Linux-based systems.\n" "This package includes the user-space libraries and tools, including the device\n" "mapper. Kernel components are part of Linux-libre." msgstr "" -#: gnu/packages/linux.scm:2165 +#: gnu/packages/linux.scm:2193 msgid "Logical volume management for Linux (statically linked)" msgstr "Gestion de volumes logiques pour Linux (lié statiquement)" -#: gnu/packages/linux.scm:2195 +#: gnu/packages/linux.scm:2223 msgid "Tools for manipulating Linux Wireless Extensions" msgstr "Outils de manipulation d'extensions sans fil pour Linux" -#: gnu/packages/linux.scm:2196 +#: gnu/packages/linux.scm:2224 msgid "" "Wireless Tools are used to manipulate the now-deprecated\n" "Linux Wireless Extensions; consider using 'iw' instead. The Wireless\n" @@ -9139,33 +9541,33 @@ msgid "" "interface." msgstr "" -#: gnu/packages/linux.scm:2273 +#: gnu/packages/linux.scm:2301 msgid "Central regulatory domain agent (CRDA) for WiFi" msgstr "" -#: gnu/packages/linux.scm:2275 +#: gnu/packages/linux.scm:2303 msgid "" "The Central Regulatory Domain Agent (CRDA) acts as the udev helper for\n" "communication between the kernel Linux and user space for regulatory\n" "compliance." msgstr "" -#: gnu/packages/linux.scm:2328 +#: gnu/packages/linux.scm:2356 msgid "Wireless regulatory database" msgstr "Base de données sans fil réglementaire" -#: gnu/packages/linux.scm:2330 +#: gnu/packages/linux.scm:2358 msgid "" "This package contains the wireless regulatory database Central\n" "Regulatory Database Agent (CRDA) daemon. The database contains information on\n" "country-specific regulations for the wireless spectrum." msgstr "" -#: gnu/packages/linux.scm:2407 +#: gnu/packages/linux.scm:2435 msgid "Utilities to read temperature/voltage/fan sensors" msgstr "Utilitaires pour la lecture de capteurs de tempéture/voltage/ventilateur" -#: gnu/packages/linux.scm:2409 +#: gnu/packages/linux.scm:2437 msgid "" "Lm-sensors is a hardware health monitoring package for Linux. It allows\n" "you to access information from temperature, voltage, and fan speed sensors.\n" @@ -9176,22 +9578,22 @@ msgstr "" "le voltage ou la vitesse des ventilatuers. Il fonctionne avec la plupart des\n" "systèmes les plus récents." -#: gnu/packages/linux.scm:2427 +#: gnu/packages/linux.scm:2455 msgid "Manipulate Intel microcode bundles" msgstr "Manipulation des lots de microcodes Intel" -#: gnu/packages/linux.scm:2429 +#: gnu/packages/linux.scm:2457 msgid "" "@command{iucode_tool} is a utility to work with microcode packages for\n" "Intel processors. It can convert between formats, extract specific versions,\n" "create a firmware image suitable for the Linux kernel, and more." msgstr "" -#: gnu/packages/linux.scm:2458 +#: gnu/packages/linux.scm:2486 msgid "I2C tools for Linux" msgstr "" -#: gnu/packages/linux.scm:2460 +#: gnu/packages/linux.scm:2488 msgid "" "The i2c-tools package contains a heterogeneous set of I2C tools for\n" "Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers,\n" @@ -9199,11 +9601,11 @@ msgid "" "SMBus access." msgstr "" -#: gnu/packages/linux.scm:2497 +#: gnu/packages/linux.scm:2525 msgid "Hardware health information viewer" msgstr "Utiltaire de monitoring hardware" -#: gnu/packages/linux.scm:2499 +#: gnu/packages/linux.scm:2527 msgid "" "Xsensors reads data from the libsensors library regarding hardware\n" "health such as temperature, voltage and fan speed and displays the information\n" @@ -9213,11 +9615,11 @@ msgstr "" "la vitesse des ventilateurs depuis la bibliothèque libsensors et affiche les informations\n" "numériquement." -#: gnu/packages/linux.scm:2551 +#: gnu/packages/linux.scm:2579 msgid "Linux profiling with performance counters" msgstr "" -#: gnu/packages/linux.scm:2553 +#: gnu/packages/linux.scm:2581 msgid "" "perf is a tool suite for profiling using hardware performance counters,\n" "with support in the Linux kernel. perf can instrument CPU performance\n" @@ -9226,11 +9628,11 @@ msgid "" "particular the 'perf' command." msgstr "" -#: gnu/packages/linux.scm:2576 +#: gnu/packages/linux.scm:2604 msgid "Simple tool for creating Linux namespace containers" msgstr "" -#: gnu/packages/linux.scm:2577 +#: gnu/packages/linux.scm:2605 msgid "" "pflask is a simple tool for creating Linux namespace\n" "containers. It can be used for running a command or even booting an OS inside\n" @@ -9239,11 +9641,11 @@ msgid "" "thanks to the use of namespaces." msgstr "" -#: gnu/packages/linux.scm:2623 +#: gnu/packages/linux.scm:2651 msgid "Container platform" msgstr "" -#: gnu/packages/linux.scm:2624 +#: gnu/packages/linux.scm:2652 msgid "" "Singularity is a container platform supporting a number of\n" "container image formats. It can build SquashFS container images or import\n" @@ -9251,11 +9653,11 @@ msgid "" "isolation or root privileges." msgstr "" -#: gnu/packages/linux.scm:2652 +#: gnu/packages/linux.scm:2680 msgid "View and tune ATA disk drive parameters" msgstr "" -#: gnu/packages/linux.scm:2654 +#: gnu/packages/linux.scm:2682 msgid "" "@command{hdparm} is a command-line utility to control ATA controllers and\n" "disk drives. It can increase performance and/or reliability by careful tuning\n" @@ -9269,22 +9671,22 @@ msgid "" "Translation (@dfn{SAT}) are also supported." msgstr "" -#: gnu/packages/linux.scm:2685 +#: gnu/packages/linux.scm:2713 msgid "Tool for enabling and disabling wireless devices" msgstr "Outils pour activer ou désactiver des périphériques sans fil" -#: gnu/packages/linux.scm:2687 +#: gnu/packages/linux.scm:2715 msgid "" "rfkill is a simple tool for accessing the rfkill device interface,\n" "which is used to enable and disable wireless networking devices, typically\n" "WLAN, Bluetooth and mobile broadband." msgstr "" -#: gnu/packages/linux.scm:2708 +#: gnu/packages/linux.scm:2736 msgid "Display information on ACPI devices" msgstr "" -#: gnu/packages/linux.scm:2709 +#: gnu/packages/linux.scm:2737 msgid "" "@code{acpi} attempts to replicate the functionality of the\n" "\"old\" @code{apm} command on ACPI systems, including battery and thermal\n" @@ -9292,11 +9694,11 @@ msgid "" "about ACPI devices." msgstr "" -#: gnu/packages/linux.scm:2728 +#: gnu/packages/linux.scm:2756 msgid "Daemon for delivering ACPI events to user-space programs" msgstr "" -#: gnu/packages/linux.scm:2730 +#: gnu/packages/linux.scm:2758 msgid "" "acpid is designed to notify user-space programs of Advanced\n" "Configuration and Power Interface (ACPI) events. acpid should be started\n" @@ -9305,37 +9707,37 @@ msgid "" "specified in /etc/acpi/events and execute the rules that match the event." msgstr "" -#: gnu/packages/linux.scm:2752 +#: gnu/packages/linux.scm:2780 msgid "System utilities based on Linux sysfs" msgstr "" -#: gnu/packages/linux.scm:2754 +#: gnu/packages/linux.scm:2782 msgid "" "These are a set of utilities built upon sysfs, a virtual file system in\n" "Linux kernel versions 2.5+ that exposes a system's device tree. The package\n" "also contains the libsysfs library." msgstr "" -#: gnu/packages/linux.scm:2784 +#: gnu/packages/linux.scm:2812 msgid "System utilities based on Linux sysfs (version 1.x)" msgstr "" -#: gnu/packages/linux.scm:2807 +#: gnu/packages/linux.scm:2835 msgid "Utilities to get and set CPU frequency on Linux" msgstr "" -#: gnu/packages/linux.scm:2809 +#: gnu/packages/linux.scm:2837 msgid "" "The cpufrequtils suite contains utilities to retrieve CPU frequency\n" "information, and set the CPU frequency if supported, using the cpufreq\n" "capabilities of the Linux kernel." msgstr "" -#: gnu/packages/linux.scm:2828 +#: gnu/packages/linux.scm:2856 msgid "Interface library for the Linux IEEE1394 drivers" msgstr "" -#: gnu/packages/linux.scm:2830 +#: gnu/packages/linux.scm:2858 msgid "" "Libraw1394 is the only supported interface to the kernel side raw1394 of\n" "the Linux IEEE-1394 subsystem, which provides direct access to the connected\n" @@ -9344,46 +9746,46 @@ msgid "" "protocol in question." msgstr "" -#: gnu/packages/linux.scm:2854 +#: gnu/packages/linux.scm:2882 msgid "AV/C protocol library for IEEE 1394" msgstr "" -#: gnu/packages/linux.scm:2856 +#: gnu/packages/linux.scm:2884 msgid "" "Libavc1394 is a programming interface to the AV/C specification from\n" "the 1394 Trade Association. AV/C stands for Audio/Video Control." msgstr "" -#: gnu/packages/linux.scm:2878 +#: gnu/packages/linux.scm:2906 msgid "Isochronous streaming media library for IEEE 1394" msgstr "" -#: gnu/packages/linux.scm:2880 +#: gnu/packages/linux.scm:2908 msgid "" "The libiec61883 library provides a higher level API for streaming DV,\n" "MPEG-2 and audio over Linux IEEE 1394." msgstr "" -#: gnu/packages/linux.scm:2929 +#: gnu/packages/linux.scm:2957 msgid "Tool for managing Linux Software RAID arrays" msgstr "" -#: gnu/packages/linux.scm:2931 +#: gnu/packages/linux.scm:2959 msgid "" "mdadm is a tool for managing Linux Software RAID arrays. It can create,\n" "assemble, report on, and monitor arrays. It can also move spares between raid\n" "arrays when needed." msgstr "" -#: gnu/packages/linux.scm:2963 +#: gnu/packages/linux.scm:2991 msgid "Statically-linked 'mdadm' command for use in an initrd" msgstr "Commandes mdadm liées statiquement à utiliser dans un initrd" -#: gnu/packages/linux.scm:3031 +#: gnu/packages/linux.scm:3056 msgid "Access block devices through multiple paths" msgstr "" -#: gnu/packages/linux.scm:3033 +#: gnu/packages/linux.scm:3058 msgid "" "This package provides the following binaries to drive the\n" "Linux Device Mapper multipathing driver:\n" @@ -9396,74 +9798,74 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/linux.scm:3065 +#: gnu/packages/linux.scm:3090 msgid "Linux-native asynchronous I/O access library" msgstr "" -#: gnu/packages/linux.scm:3067 +#: gnu/packages/linux.scm:3092 msgid "" "This library enables userspace to use Linux kernel asynchronous I/O\n" "system calls, important for the performance of databases and other advanced\n" "applications." msgstr "" -#: gnu/packages/linux.scm:3089 +#: gnu/packages/linux.scm:3114 msgid "Bluetooth subband audio codec" msgstr "" -#: gnu/packages/linux.scm:3091 +#: gnu/packages/linux.scm:3116 msgid "" "The SBC is a digital audio encoder and decoder used to transfer data to\n" "Bluetooth audio output devices like headphones or loudspeakers." msgstr "" -#: gnu/packages/linux.scm:3157 +#: gnu/packages/linux.scm:3182 msgid "Linux Bluetooth protocol stack" msgstr "" -#: gnu/packages/linux.scm:3159 +#: gnu/packages/linux.scm:3184 msgid "" "BlueZ provides support for the core Bluetooth layers and protocols. It\n" "is flexible, efficient and uses a modular implementation." msgstr "" -#: gnu/packages/linux.scm:3181 +#: gnu/packages/linux.scm:3206 msgid "Mount exFAT file systems" msgstr "Montage de systèmes de fichier exFAT" -#: gnu/packages/linux.scm:3183 +#: gnu/packages/linux.scm:3208 msgid "" "This package provides a FUSE-based file system that provides read and\n" "write access to exFAT devices." msgstr "" -#: gnu/packages/linux.scm:3225 +#: gnu/packages/linux.scm:3250 msgid "Mouse support for the Linux console" msgstr "" -#: gnu/packages/linux.scm:3227 +#: gnu/packages/linux.scm:3252 msgid "" "The GPM (general-purpose mouse) daemon is a mouse server for\n" "applications running on the Linux console. It allows users to select items\n" "and copy/paste text in the console and in xterm." msgstr "" -#: gnu/packages/linux.scm:3290 +#: gnu/packages/linux.scm:3315 msgid "Create and manage btrfs copy-on-write file systems" msgstr "" -#: gnu/packages/linux.scm:3291 +#: gnu/packages/linux.scm:3316 msgid "" "Btrfs is a @dfn{copy-on-write} (CoW) file system for Linux\n" "aimed at implementing advanced features while focusing on fault tolerance,\n" "repair and easy administration." msgstr "" -#: gnu/packages/linux.scm:3324 +#: gnu/packages/linux.scm:3349 msgid "Statically-linked btrfs command from btrfs-progs" msgstr "Commandes btrfs de btrfs-progs liées statiquement" -#: gnu/packages/linux.scm:3325 +#: gnu/packages/linux.scm:3350 msgid "" "This package provides the statically-linked @command{btrfs}\n" "from the btrfs-progs package. It is meant to be used in initrds." @@ -9471,22 +9873,22 @@ msgstr "" "Ce paquet fournit la commande liée statiquement @command{btrfs}\n" "issue du paquet btrfs-progs. Il est censé être utilisé dans les initrd." -#: gnu/packages/linux.scm:3362 +#: gnu/packages/linux.scm:3387 msgid "Userland tools for f2fs" msgstr "" -#: gnu/packages/linux.scm:3364 +#: gnu/packages/linux.scm:3389 msgid "" "F2FS, the Flash-Friendly File System, is a modern file system\n" "designed to be fast and durable on flash devices such as solid-state\n" "disks and SD cards. This package provides the userland utilities." msgstr "" -#: gnu/packages/linux.scm:3412 +#: gnu/packages/linux.scm:3437 msgid "Free-fall protection for spinning laptop hard drives" msgstr "" -#: gnu/packages/linux.scm:3414 +#: gnu/packages/linux.scm:3439 msgid "" "Prevents shock damage to the internal spinning hard drive(s) of some\n" "HP and Dell laptops. When sudden movement is detected, all input/output\n" @@ -9496,11 +9898,11 @@ msgid "" "feature, and a laptop with an accelerometer. It has no effect on SSDs." msgstr "" -#: gnu/packages/linux.scm:3469 +#: gnu/packages/linux.scm:3494 msgid "Simple fan control program" msgstr "" -#: gnu/packages/linux.scm:3471 +#: gnu/packages/linux.scm:3496 msgid "" "Thinkfan is a simple fan control program. It reads temperatures,\n" "checks them against configured limits and switches to appropriate (also\n" @@ -9509,22 +9911,22 @@ msgid "" "from userspace." msgstr "" -#: gnu/packages/linux.scm:3519 +#: gnu/packages/linux.scm:3544 msgid "Read-write access to NTFS file systems" msgstr "" -#: gnu/packages/linux.scm:3521 +#: gnu/packages/linux.scm:3546 msgid "" "NTFS-3G provides read-write access to NTFS file systems, which are\n" "commonly found on Microsoft Windows. It is implemented as a FUSE file system.\n" "The package provides additional NTFS tools." msgstr "" -#: gnu/packages/linux.scm:3563 +#: gnu/packages/linux.scm:3588 msgid "Utilities and libraries for working with RDMA devices" msgstr "" -#: gnu/packages/linux.scm:3565 +#: gnu/packages/linux.scm:3590 msgid "" "This package provides userspace components for the InfiniBand\n" "subsystem of the Linux kernel. Specifically it contains userspace\n" @@ -9544,49 +9946,74 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/linux.scm:3613 +#: gnu/packages/linux.scm:3643 +msgid "Open Fabrics Enterprise Distribution (OFED) Performance Tests" +msgstr "" + +#: gnu/packages/linux.scm:3644 +msgid "" +"This is a collection of tests written over uverbs intended for\n" +"use as a performance micro-benchmark. The tests may be used for hardware or\n" +"software tuning as well as for functional testing.\n" +"\n" +"The collection contains a set of bandwidth and latency benchmark such as:\n" +"@enumerate\n" +"@item Send - @code{ib_send_bw} and @code{ib_send_lat}\n" +"@item RDMA Read - @code{ib_read_bw} and @code{ib_read_lat}\n" +"@item RDMA Write - @code{ib_write_bw} and @code{ib_wriet_lat}\n" +"@item RDMA Atomic - @code{ib_atomic_bw} and @code{ib_atomic_lat}\n" +"@item Native Ethernet (when working with MOFED2) - @code{raw_ethernet_bw}, @code{raw_ethernet_lat}\n" +"@end enumerate" +msgstr "" + +#: gnu/packages/linux.scm:3681 msgid "Random number generator daemon" msgstr "" -#: gnu/packages/linux.scm:3615 +#: gnu/packages/linux.scm:3683 msgid "" "Monitor a hardware random number generator, and supply entropy\n" "from that to the system kernel's @file{/dev/random} machinery." msgstr "" -#: gnu/packages/linux.scm:3653 +#: gnu/packages/linux.scm:3720 msgid "CPU frequency and voltage scaling tools for Linux" msgstr "" -#: gnu/packages/linux.scm:3655 +#: gnu/packages/linux.scm:3722 msgid "" "cpupower is a set of user-space tools that use the cpufreq feature of the\n" "Linux kernel to retrieve and control processor features related to power saving,\n" "such as frequency and voltage scaling." msgstr "" -#: gnu/packages/linux.scm:3674 +#: gnu/packages/linux.scm:3742 msgid "Entropy source for the Linux random number generator" msgstr "" -#: gnu/packages/linux.scm:3676 +#: gnu/packages/linux.scm:3744 msgid "" "haveged generates an unpredictable stream of random numbers for use by\n" "Linux's @file{/dev/random} and @file{/dev/urandom} devices. The kernel's\n" "standard mechanisms for filling the entropy pool may not be sufficient for\n" "systems with high needs or limited user interaction, such as headless servers.\n" +"\n" "@command{haveged} runs as a privileged daemon, harvesting randomness from the\n" "indirect effects of hardware events on hidden processor state using the HArdware\n" -"Volatile Entropy Gathering and Expansion (HAVEGE) algorithm. It tunes itself to\n" -"its environment and provides the same built-in test suite for the output stream\n" -"as used on certified hardware security devices." +"Volatile Entropy Gathering and Expansion (@dfn{HAVEGE}) algorithm. It tunes\n" +"itself to its environment and provides the same built-in test suite for the\n" +"output stream as used on certified hardware security devices.\n" +"\n" +"The quality of the randomness produced by this algorithm has not been proven.\n" +"It is recommended to run it together with another entropy source like rngd, and\n" +"not as a replacement for it." msgstr "" -#: gnu/packages/linux.scm:3715 +#: gnu/packages/linux.scm:3829 msgid "eCryptfs cryptographic file system utilities" msgstr "" -#: gnu/packages/linux.scm:3717 +#: gnu/packages/linux.scm:3831 msgid "" "eCryptfs is a POSIX-compliant stacked cryptographic file system for Linux.\n" "Each file's cryptographic meta-data is stored inside the file itself, along\n" @@ -9596,11 +10023,11 @@ msgid "" "2.6.19. This package contains the userland utilities to manage it." msgstr "" -#: gnu/packages/linux.scm:3748 +#: gnu/packages/linux.scm:3862 msgid "NFSv4 support library for name/ID mapping" msgstr "" -#: gnu/packages/linux.scm:3749 +#: gnu/packages/linux.scm:3863 msgid "" "Libnfsidmap is a library holding mulitiple methods of\n" "mapping names to ids and visa versa, mainly for NFSv4. It provides an\n" @@ -9608,11 +10035,11 @@ msgid "" "the default @code{nsswitch} and the experimental @code{umich_ldap}." msgstr "" -#: gnu/packages/linux.scm:3783 +#: gnu/packages/linux.scm:3897 msgid "Tools for loading and managing Linux kernel modules" msgstr "Outils de chargement et de gestion de modules noyau pour Linux" -#: gnu/packages/linux.scm:3785 +#: gnu/packages/linux.scm:3899 msgid "" "Tools for loading and managing Linux kernel modules, such as `modprobe',\n" "`insmod', `lsmod', and more." @@ -9620,11 +10047,11 @@ msgstr "" "Outils pour le chargement et la gestion des modules noyau Linux, tels que\n" "\"modprob\", \"insmod\", \"lsmod\" et plus." -#: gnu/packages/linux.scm:3822 +#: gnu/packages/linux.scm:3936 msgid "Machine check monitor for x86 Linux systems" msgstr "" -#: gnu/packages/linux.scm:3824 +#: gnu/packages/linux.scm:3938 msgid "" "The mcelog daemon is required by the Linux kernel to log memory, I/O, CPU,\n" "and other hardware errors on x86 systems. It can also perform user-defined\n" @@ -9632,11 +10059,11 @@ msgid "" "are exceeded." msgstr "" -#: gnu/packages/linux.scm:3853 +#: gnu/packages/linux.scm:3967 msgid "MTD Flash Storage Utilities" msgstr "" -#: gnu/packages/linux.scm:3854 +#: gnu/packages/linux.scm:3968 msgid "" "This package provides utilities for testing, partitioning, etc\n" "of flash storage." @@ -9644,11 +10071,11 @@ msgstr "" "Ce paquet fournit des outils pour tester, partitionner, etc\n" "les périphériques flash." -#: gnu/packages/linux.scm:3877 +#: gnu/packages/linux.scm:3991 msgid "Interface to Linux's seccomp syscall filtering mechanism" msgstr "" -#: gnu/packages/linux.scm:3878 +#: gnu/packages/linux.scm:3992 msgid "" "The libseccomp library provides an easy to use, platform\n" "independent, interface to the Linux Kernel's syscall filtering mechanism. The\n" @@ -9658,11 +10085,11 @@ msgid "" "developers." msgstr "" -#: gnu/packages/linux.scm:3920 +#: gnu/packages/linux.scm:4034 msgid "Usage monitor for AMD Radeon graphics" msgstr "" -#: gnu/packages/linux.scm:3921 +#: gnu/packages/linux.scm:4035 msgid "" "RadeonTop monitors resource consumption on supported AMD\n" "Radeon Graphics Processing Units (GPUs), either in real time as bar graphs on\n" @@ -9672,21 +10099,21 @@ msgid "" "under OpenGL graphics workloads." msgstr "" -#: gnu/packages/linux.scm:3957 +#: gnu/packages/linux.scm:4071 msgid "Tool and library to manipulate EFI variables" msgstr "" -#: gnu/packages/linux.scm:3958 +#: gnu/packages/linux.scm:4072 msgid "" "This package provides a library and a command line\n" "interface to the variable facility of UEFI boot firmware." msgstr "" -#: gnu/packages/linux.scm:3996 +#: gnu/packages/linux.scm:4110 msgid "Modify the Extensible Firmware Interface (EFI) boot manager" msgstr "" -#: gnu/packages/linux.scm:3998 +#: gnu/packages/linux.scm:4112 msgid "" "@code{efibootmgr} is a user-space application to modify the Intel\n" "Extensible Firmware Interface (EFI) Boot Manager. This application can\n" @@ -9694,11 +10121,11 @@ msgid "" "running boot option, and more." msgstr "" -#: gnu/packages/linux.scm:4034 +#: gnu/packages/linux.scm:4148 msgid "Performance monitoring tools for Linux" msgstr "" -#: gnu/packages/linux.scm:4035 +#: gnu/packages/linux.scm:4149 msgid "" "The sysstat utilities are a collection of performance\n" "monitoring tools for Linux. These include @code{mpstat}, @code{iostat},\n" @@ -9706,11 +10133,11 @@ msgid "" "@code{sadf} and @code{sa}." msgstr "" -#: gnu/packages/linux.scm:4068 +#: gnu/packages/linux.scm:4173 msgid "GNU/Linux application to control backlights" msgstr "" -#: gnu/packages/linux.scm:4070 +#: gnu/packages/linux.scm:4175 msgid "" "Light is a program to send commands to screen backlight controllers\n" "under GNU/Linux. Features include:\n" @@ -9726,11 +10153,11 @@ msgid "" "Light is the successor of lightscript." msgstr "" -#: gnu/packages/linux.scm:4174 +#: gnu/packages/linux.scm:4282 msgid "Power management tool for Linux" msgstr "Outil de gestion de l'énergie pour Linux" -#: gnu/packages/linux.scm:4175 +#: gnu/packages/linux.scm:4283 msgid "" "TLP is a power management tool for Linux. It comes with\n" "a default configuration already optimized for battery life. Nevertheless,\n" @@ -9738,11 +10165,11 @@ msgid "" "every time the power supply source is changed." msgstr "" -#: gnu/packages/linux.scm:4202 +#: gnu/packages/linux.scm:4310 msgid "List hardware information" msgstr "Liste les informations sur le matériel" -#: gnu/packages/linux.scm:4204 +#: gnu/packages/linux.scm:4312 msgid "" "@command{lshw} (Hardware Lister) is a small tool to provide\n" "detailed information on the hardware configuration of the machine.\n" @@ -9752,11 +10179,11 @@ msgid "" "machines (PowerMac G4 is known to work)." msgstr "" -#: gnu/packages/linux.scm:4227 +#: gnu/packages/linux.scm:4335 msgid "Netlink utility library" msgstr "Bibliothèque pour le protocole NetLink" -#: gnu/packages/linux.scm:4228 +#: gnu/packages/linux.scm:4336 msgid "" "Libmnl is a minimalistic user-space library oriented to\n" "Netlink developers. There are a lot of common tasks in parsing, validating,\n" @@ -9765,11 +10192,11 @@ msgid "" "re-use code and to avoid re-inventing the wheel." msgstr "" -#: gnu/packages/linux.scm:4253 +#: gnu/packages/linux.scm:4361 msgid "Netlink programming interface to the Linux nf_tables subsystem" msgstr "" -#: gnu/packages/linux.scm:4254 +#: gnu/packages/linux.scm:4362 msgid "" "Libnftnl is a userspace library providing a low-level netlink\n" "programming interface to the in-kernel nf_tables subsystem. The library\n" @@ -9777,11 +10204,11 @@ msgid "" "used by nftables." msgstr "" -#: gnu/packages/linux.scm:4281 +#: gnu/packages/linux.scm:4389 msgid "Userspace utility for Linux packet filtering" msgstr "Utilitaire en espcae utilisateur pour les règles de filtrage des paquets IP pour Linux" -#: gnu/packages/linux.scm:4282 +#: gnu/packages/linux.scm:4390 msgid "" "nftables is the project that aims to replace the existing\n" "{ip,ip6,arp,eb}tables framework. Basically, this project provides a new packet\n" @@ -9791,11 +10218,11 @@ msgid "" "userspace queueing component and the logging subsystem." msgstr "" -#: gnu/packages/linux.scm:4379 +#: gnu/packages/linux.scm:4487 msgid "Unprivileged chroot, bind mount, and binfmt_misc" msgstr "" -#: gnu/packages/linux.scm:4381 +#: gnu/packages/linux.scm:4489 msgid "" "PRoot is a user-space implementation of @code{chroot}, @code{mount --bind},\n" "and @code{binfmt_misc}. This means that users don't need any privileges or\n" @@ -9808,15 +10235,15 @@ msgid "" "available in the kernel Linux." msgstr "" -#: gnu/packages/linux.scm:4397 +#: gnu/packages/linux.scm:4505 msgid "Unprivileged chroot, bind mount, and binfmt_misc (statically linked)" msgstr "" -#: gnu/packages/linux.scm:4443 +#: gnu/packages/linux.scm:4551 msgid "Linux tool to dump x86 CPUID information about the CPU(s)" msgstr "" -#: gnu/packages/linux.scm:4444 +#: gnu/packages/linux.scm:4552 msgid "" "cpuid dumps detailed information about the CPU(s) gathered\n" "from the CPUID instruction, and also determines the exact model of CPU(s). It\n" @@ -9824,22 +10251,22 @@ msgid "" "NexGen, Rise, and SiS CPUs." msgstr "" -#: gnu/packages/linux.scm:4471 +#: gnu/packages/linux.scm:4579 msgid "Use a FUSE file system to access data over MTP" msgstr "" -#: gnu/packages/linux.scm:4472 +#: gnu/packages/linux.scm:4580 msgid "" "jmtpfs uses FUSE (file system in userspace) to provide access\n" "to data over the Media Transfer Protocol (MTP). Unprivileged users can mount\n" "the MTP device as a file system." msgstr "" -#: gnu/packages/linux.scm:4495 +#: gnu/packages/linux.scm:4603 msgid "Utility to show process environment" msgstr "" -#: gnu/packages/linux.scm:4496 +#: gnu/packages/linux.scm:4604 msgid "" "Procenv is a command-line tool that displays as much detail about\n" "itself and its environment as possible. It can be used as a test\n" @@ -9847,11 +10274,11 @@ msgid "" "comparing system environments." msgstr "" -#: gnu/packages/linux.scm:4523 +#: gnu/packages/linux.scm:4631 msgid "Open Fabric Interfaces" msgstr "" -#: gnu/packages/linux.scm:4525 +#: gnu/packages/linux.scm:4633 msgid "" "OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric\n" "communication services to applications. OFI is best described as a collection\n" @@ -9865,11 +10292,11 @@ msgid "" "libraries, which are often integrated directly into libfabric." msgstr "" -#: gnu/packages/linux.scm:4571 +#: gnu/packages/linux.scm:4679 msgid "Intel Performance Scaled Messaging (PSM) Libraries" msgstr "" -#: gnu/packages/linux.scm:4573 +#: gnu/packages/linux.scm:4681 msgid "" "The PSM Messaging API, or PSM API, is Intel's low-level user-level\n" "communications interface for the True Scale family of products. PSM users are\n" @@ -9877,22 +10304,22 @@ msgid "" "interfaces in parallel environments." msgstr "" -#: gnu/packages/linux.scm:4614 +#: gnu/packages/linux.scm:4722 msgid "Take screenshots of one or more Linux text consoles" msgstr "" -#: gnu/packages/linux.scm:4616 +#: gnu/packages/linux.scm:4724 msgid "" "snapscreenshot saves a screenshot of one or more Linux text consoles as a\n" "Targa (@dfn{.tga}) image. It can be used by anyone with read access to the\n" "relevant @file{/dev/vcs*} file(s)." msgstr "" -#: gnu/packages/linux.scm:4670 +#: gnu/packages/linux.scm:4778 msgid "Take a screenshot of the contents of the Linux framebuffer" msgstr "" -#: gnu/packages/linux.scm:4672 +#: gnu/packages/linux.scm:4780 msgid "" "fbcat saves the contents of the Linux framebuffer (@file{/dev/fb*}), or\n" "a dump therof. It supports a wide range of drivers and pixel formats.\n" @@ -9904,22 +10331,22 @@ msgid "" "emulates the behaviour of Gunnar Monell's older fbgrab utility." msgstr "" -#: gnu/packages/linux.scm:4703 +#: gnu/packages/linux.scm:4811 msgid "Control groups management tools" msgstr "" -#: gnu/packages/linux.scm:4704 +#: gnu/packages/linux.scm:4812 msgid "" "Control groups is Linux kernel method for process resource\n" "restriction, permission handling and more. This package provides userspace\n" "interface to this kernel feature." msgstr "" -#: gnu/packages/linux.scm:4737 +#: gnu/packages/linux.scm:4846 msgid "Control fan speed on Macbooks" msgstr "" -#: gnu/packages/linux.scm:4739 +#: gnu/packages/linux.scm:4848 msgid "" "mbpfan is a fan control daemon for Apple Macbooks. It uses input from\n" "the @code{coretemp} module and sets the fan speed using the @code{applesmc}\n" @@ -9927,11 +10354,11 @@ msgid "" "privileges." msgstr "" -#: gnu/packages/linux.scm:4782 +#: gnu/packages/linux.scm:4891 msgid "Intel Performance Scaled Messaging 2 (PSM2) library" msgstr "" -#: gnu/packages/linux.scm:4784 +#: gnu/packages/linux.scm:4893 msgid "" "This package is low-level user-level Intel's communications interface.\n" "The PSM2 API is a high-performance vendor-specific protocol that provides a\n" @@ -9939,11 +10366,11 @@ msgid "" "high-speed networking devices." msgstr "" -#: gnu/packages/linux.scm:4824 +#: gnu/packages/linux.scm:4933 msgid "Performance event monitoring library" msgstr "Bibliothèque de surveillance d'événements de performance" -#: gnu/packages/linux.scm:4826 +#: gnu/packages/linux.scm:4935 msgid "" "This package provides a library called libpfm4, which is used to develop\n" "monitoring tools exploiting the performance monitoring events such as those\n" @@ -9958,11 +10385,11 @@ msgid "" "introduced in Linux 2.6.31." msgstr "" -#: gnu/packages/linux.scm:4854 +#: gnu/packages/linux.scm:4963 msgid "Low-level netfilter netlink communication library" msgstr "" -#: gnu/packages/linux.scm:4856 +#: gnu/packages/linux.scm:4965 msgid "" "@code{libnfnetlink} is the low-level library for netfilter related\n" "kernel/userspace communication. It provides a generic messaging\n" @@ -9994,11 +10421,11 @@ msgid "" "beginning." msgstr "" -#: gnu/packages/messaging.scm:118 +#: gnu/packages/messaging.scm:119 msgid "Off-the-Record (OTR) Messaging Library and Toolkit" msgstr "" -#: gnu/packages/messaging.scm:120 +#: gnu/packages/messaging.scm:121 msgid "" "OTR allows you to have private conversations over instant messaging by\n" "providing: (1) Encryption: No one else can read your instant messages. (2)\n" @@ -10011,11 +10438,11 @@ msgid "" "keys, no previous conversation is compromised." msgstr "" -#: gnu/packages/messaging.scm:154 +#: gnu/packages/messaging.scm:155 msgid "Implementation of a ratcheting forward secrecy protocol" msgstr "Implémentation d'un protocole de confidentialité persistante ajustable" -#: gnu/packages/messaging.scm:155 +#: gnu/packages/messaging.scm:156 msgid "" "libsignal-protocol-c is an implementation of a ratcheting\n" "forward secrecy protocol that works in synchronous and asynchronous\n" @@ -10023,11 +10450,11 @@ msgid "" "end-to-end encryption." msgstr "" -#: gnu/packages/messaging.scm:196 +#: gnu/packages/messaging.scm:197 msgid "IRC to instant messaging gateway" msgstr "" -#: gnu/packages/messaging.scm:197 +#: gnu/packages/messaging.scm:198 msgid "" "BitlBee brings IM (instant messaging) to IRC clients, for\n" "people who have an IRC client running all the time and don't want to run an\n" @@ -10037,21 +10464,21 @@ msgid "" "identi.ca and status.net)." msgstr "" -#: gnu/packages/messaging.scm:243 +#: gnu/packages/messaging.scm:244 msgid "Discord plugin for Bitlbee" msgstr "" -#: gnu/packages/messaging.scm:244 +#: gnu/packages/messaging.scm:245 msgid "" "Bitlbee-discord is a plugin for Bitlbee witch provides\n" "access to servers running the Discord protocol." msgstr "" -#: gnu/packages/messaging.scm:291 +#: gnu/packages/messaging.scm:292 msgid "Graphical IRC Client" msgstr "" -#: gnu/packages/messaging.scm:293 +#: gnu/packages/messaging.scm:294 msgid "" "HexChat lets you connect to multiple IRC networks at once. The main\n" "window shows the list of currently connected networks and their channels, the\n" @@ -10060,11 +10487,11 @@ msgid "" "dictionaries. HexChat can be extended with multiple addons." msgstr "" -#: gnu/packages/messaging.scm:358 +#: gnu/packages/messaging.scm:359 msgid "Lightweight Internet Relay Chat server for small networks" msgstr "" -#: gnu/packages/messaging.scm:360 +#: gnu/packages/messaging.scm:361 msgid "" "ngIRCd is a lightweight @dfn{Internet Relay Chat} (IRC) server for small\n" "or private networks. It is easy to configure, can cope with dynamic IP\n" @@ -10072,21 +10499,21 @@ msgid "" "authentication." msgstr "" -#: gnu/packages/messaging.scm:432 +#: gnu/packages/messaging.scm:433 msgid "Graphical multi-protocol instant messaging client" msgstr "" -#: gnu/packages/messaging.scm:434 +#: gnu/packages/messaging.scm:435 msgid "" "Pidgin is a modular instant messaging client that supports many popular\n" "chat protocols." msgstr "" -#: gnu/packages/messaging.scm:472 +#: gnu/packages/messaging.scm:473 msgid "Off-the-Record Messaging plugin for Pidgin" msgstr "" -#: gnu/packages/messaging.scm:474 +#: gnu/packages/messaging.scm:475 msgid "" "Pidgin-OTR is a plugin that adds support for OTR to the Pidgin instant\n" "messaging client. OTR (Off-the-Record) Messaging allows you to have private\n" @@ -10101,11 +10528,11 @@ msgid "" "compromised." msgstr "" -#: gnu/packages/messaging.scm:541 +#: gnu/packages/messaging.scm:542 msgid "IRC network bouncer" msgstr "" -#: gnu/packages/messaging.scm:542 +#: gnu/packages/messaging.scm:543 msgid "" "ZNC is an @dfn{IRC network bouncer} or @dfn{BNC}. It can\n" "detach the client from the actual IRC server, and also from selected channels.\n" @@ -10113,22 +10540,22 @@ msgid "" "simultaneously and therefore appear under the same nickname on IRC." msgstr "" -#: gnu/packages/messaging.scm:563 +#: gnu/packages/messaging.scm:564 msgid "Non-blocking Jabber/XMPP module" msgstr "" -#: gnu/packages/messaging.scm:565 +#: gnu/packages/messaging.scm:566 msgid "" "The goal of this python library is to provide a way for Python\n" "applications to use Jabber/XMPP networks in a non-blocking way. This library\n" "was initially a fork of xmpppy, but uses non-blocking sockets." msgstr "" -#: gnu/packages/messaging.scm:661 +#: gnu/packages/messaging.scm:652 msgid "Jabber (XMPP) client" msgstr "" -#: gnu/packages/messaging.scm:662 +#: gnu/packages/messaging.scm:653 msgid "" "Gajim is a feature-rich and easy to use Jabber/XMPP client.\n" "Among its features are: a tabbed chat window and single window modes; support\n" @@ -10137,21 +10564,21 @@ msgid "" "end-to-end encryption support; XML console." msgstr "" -#: gnu/packages/messaging.scm:731 +#: gnu/packages/messaging.scm:722 msgid "Graphical Jabber (XMPP) client" msgstr "" -#: gnu/packages/messaging.scm:732 +#: gnu/packages/messaging.scm:723 msgid "" "Dino is a Jabber (XMPP) client which aims to fit well into\n" "a graphical desktop environment like GNOME." msgstr "" -#: gnu/packages/messaging.scm:821 +#: gnu/packages/messaging.scm:812 msgid "Jabber (XMPP) server" msgstr "" -#: gnu/packages/messaging.scm:822 +#: gnu/packages/messaging.scm:813 msgid "" "Prosody is a modern XMPP communication server. It aims to\n" "be easy to set up and configure, and efficient with system resources.\n" @@ -10160,56 +10587,56 @@ msgid "" "protocols." msgstr "" -#: gnu/packages/messaging.scm:864 gnu/packages/messaging.scm:897 +#: gnu/packages/messaging.scm:848 gnu/packages/messaging.scm:882 msgid "Library for the Tox encrypted messenger protocol" msgstr "" -#: gnu/packages/messaging.scm:866 +#: gnu/packages/messaging.scm:850 msgid "C library implementation of the Tox encrypted messenger protocol." msgstr "" -#: gnu/packages/messaging.scm:899 +#: gnu/packages/messaging.scm:884 msgid "" "Official fork of the C library implementation of the Tox encrypted\n" "messenger protocol." msgstr "" -#: gnu/packages/messaging.scm:954 +#: gnu/packages/messaging.scm:939 msgid "Lightweight Tox client" msgstr "Client Tox léger" -#: gnu/packages/messaging.scm:956 +#: gnu/packages/messaging.scm:941 msgid "" "Utox is a lightweight Tox client. Tox is a distributed and secure\n" "instant messenger with audio and video chat capabilities." msgstr "" -#: gnu/packages/messaging.scm:1013 +#: gnu/packages/messaging.scm:998 msgid "Tox chat client using Qt" msgstr "" -#: gnu/packages/messaging.scm:1014 +#: gnu/packages/messaging.scm:999 msgid "" "qTox is a Tox client that follows the Tox design\n" "guidelines. It provides an easy to use application that allows you to\n" "connect with friends and family without anyone else listening in." msgstr "" -#: gnu/packages/messaging.scm:1107 +#: gnu/packages/messaging.scm:1092 msgid "" "Distributed and trustless peer-to-peer communications protocol\n" "for sending encrypted messages to one person or many subscribers." msgstr "" -#: gnu/packages/messaging.scm:1109 +#: gnu/packages/messaging.scm:1094 msgid "Distributed peer-to-peer communication" msgstr "" -#: gnu/packages/messaging.scm:1128 +#: gnu/packages/messaging.scm:1113 msgid "Multi-user chat program" msgstr "" -#: gnu/packages/messaging.scm:1129 +#: gnu/packages/messaging.scm:1114 msgid "" "Ytalk is a replacement for the BSD talk program. Its main\n" "advantage is the ability to communicate with any arbitrary number of users at\n" @@ -10217,11 +10644,11 @@ msgid "" "with several different talk daemons at the same time." msgstr "" -#: gnu/packages/messaging.scm:1154 +#: gnu/packages/messaging.scm:1139 msgid "Portable high-level Jabber/XMPP library for C++" msgstr "" -#: gnu/packages/messaging.scm:1156 +#: gnu/packages/messaging.scm:1141 msgid "" "gloox is a full-featured Jabber/XMPP client library,\n" "written in ANSI C++. It makes writing spec-compliant clients easy\n" @@ -10229,7 +10656,7 @@ msgid "" "into existing applications." msgstr "" -#: gnu/packages/messaging.scm:1231 +#: gnu/packages/messaging.scm:1216 msgid "" "@code{Net::PSYC} with support for TCP, UDP, Event.pm, @code{IO::Select} and\n" "Gtk2 event loops. This package includes 12 applications and additional scripts:\n" @@ -10237,26 +10664,26 @@ msgid "" "for @uref{https://torproject.org,tor} router) and many more." msgstr "" -#: gnu/packages/messaging.scm:1235 +#: gnu/packages/messaging.scm:1220 msgid "Perl implementation of PSYC protocol" msgstr "" -#: gnu/packages/messaging.scm:1274 +#: gnu/packages/messaging.scm:1259 msgid "" "@code{libpsyc} is a PSYC library in C which implements\n" "core aspects of PSYC, useful for all kinds of clients and servers\n" "including psyced." msgstr "" -#: gnu/packages/messaging.scm:1277 +#: gnu/packages/messaging.scm:1262 msgid "PSYC library in C" msgstr "" -#: gnu/packages/messaging.scm:1344 +#: gnu/packages/messaging.scm:1329 msgid "psycLPC is a multi-user network server programming language" msgstr "" -#: gnu/packages/messaging.scm:1346 +#: gnu/packages/messaging.scm:1331 msgid "" "LPC is a bytecode language, invented to specifically implement\n" "multi user virtual environments on the internet. This technology is used for\n" @@ -10265,7 +10692,7 @@ msgid "" "many bug fixes." msgstr "" -#: gnu/packages/messaging.scm:1377 +#: gnu/packages/messaging.scm:1362 msgid "" "Loudmouth is a lightweight and easy-to-use C library for programming\n" "with the XMPP (formerly known as Jabber) protocol. It is designed to be\n" @@ -10273,11 +10700,11 @@ msgid "" "protocol allows." msgstr "" -#: gnu/packages/messaging.scm:1381 +#: gnu/packages/messaging.scm:1366 msgid "Asynchronous XMPP library" msgstr "" -#: gnu/packages/messaging.scm:1413 +#: gnu/packages/messaging.scm:1398 msgid "" "Mcabber is a small XMPP (Jabber) console client, which includes features\n" "such as SASL and TLS support, @dfn{Multi-User Chat} (MUC) support, logging,\n" @@ -10285,15 +10712,15 @@ msgid "" "support, and more." msgstr "" -#: gnu/packages/messaging.scm:1417 +#: gnu/packages/messaging.scm:1402 msgid "Small XMPP console client" msgstr "" -#: gnu/packages/messaging.scm:1463 +#: gnu/packages/messaging.scm:1448 msgid "Extensible console-based Jabber client" msgstr "" -#: gnu/packages/messaging.scm:1465 +#: gnu/packages/messaging.scm:1450 msgid "" "GNU Freetalk is a command-line Jabber/XMPP chat client. It notably uses\n" "the Readline library to handle input, so it features convenient navigation of\n" @@ -10301,39 +10728,39 @@ msgid "" "is also scriptable and extensible via Guile." msgstr "" -#: gnu/packages/messaging.scm:1493 gnu/packages/messaging.scm:1522 +#: gnu/packages/messaging.scm:1479 gnu/packages/messaging.scm:1508 msgid "C library for writing XMPP clients" msgstr "Bibliothèque C pour écrire des clients XMPP" -#: gnu/packages/messaging.scm:1494 +#: gnu/packages/messaging.scm:1480 msgid "" "Libmesode is a fork of libstrophe for use with Profanity\n" "XMPP Client. In particular, libmesode provides extra TLS functionality such as\n" "manual SSL certificate verification." msgstr "" -#: gnu/packages/messaging.scm:1523 +#: gnu/packages/messaging.scm:1509 msgid "" "Libstrophe is a minimal XMPP library written in C. It has\n" "almost no external dependencies, only an XML parsing library (expat or libxml\n" "are both supported)." msgstr "" -#: gnu/packages/messaging.scm:1559 +#: gnu/packages/messaging.scm:1545 msgid "Console-based XMPP client" msgstr "" -#: gnu/packages/messaging.scm:1560 +#: gnu/packages/messaging.scm:1546 msgid "" "Profanity is a console based XMPP client written in C\n" "using ncurses and libmesode, inspired by Irssi." msgstr "" -#: gnu/packages/messaging.scm:1590 +#: gnu/packages/messaging.scm:1575 msgid "Library implementing the client IRC protocol" msgstr "" -#: gnu/packages/messaging.scm:1591 +#: gnu/packages/messaging.scm:1576 msgid "" "Libircclient is a library which implements the client IRC\n" "protocol. It is designed to be small, fast, portable and compatible with the\n" @@ -10341,32 +10768,81 @@ msgid "" "building the IRC clients and bots." msgstr "" -#: gnu/packages/messaging.scm:1641 +#: gnu/packages/messaging.scm:1626 msgid "Tox chat client using ncurses" msgstr "" -#: gnu/packages/messaging.scm:1642 +#: gnu/packages/messaging.scm:1627 msgid "" "Toxic is a console-based instant messaging client, using\n" "c-toxcore and ncurses. It provides audio calls, sound and desktop\n" "notifications, and Python scripting support." msgstr "" -#: gnu/packages/mpd.scm:82 +#: gnu/packages/messaging.scm:1653 +msgid "Qt5 client library for the Matrix instant messaging protocol" +msgstr "" + +#: gnu/packages/messaging.scm:1654 +msgid "" +"libqmatrixclient is a Qt5 library to write clients for the\n" +"Matrix instant messaging protocol. Quaternion is the reference client\n" +"implementation. Quaternion and libqmatrixclient together form the\n" +"QMatrixClient project." +msgstr "" + +#: gnu/packages/messaging.scm:1700 +msgid "Graphical client for the Matrix instant messaging protocol" +msgstr "" + +#: gnu/packages/messaging.scm:1701 +msgid "" +"Quaternion is a Qt5 desktop client for the Matrix instant\n" +"messaging protocol. It uses libqmatrixclient and is its reference client\n" +"implementation. Quaternion and libqmatriclient together form the\n" +"QMatrixClient project." +msgstr "" + +#: gnu/packages/messaging.scm:1740 +msgid "Instant messaging client for Google Hangouts" +msgstr "" + +#: gnu/packages/messaging.scm:1742 +msgid "" +"Hangups is an instant messaging client for Google Hangouts. It includes\n" +"both a Python library and a reference client with a text-based user interface.\n" +"\n" +"Hangups is implements a reverse-engineered version of Hangouts' proprietary,\n" +"non-interoperable protocol, which allows it to support features like group\n" +"messaging that aren’t available to clients that connect over XMPP." +msgstr "" + +#: gnu/packages/messaging.scm:1822 +msgid "Telegram messaging support for Pidgin" +msgstr "" + +#: gnu/packages/messaging.scm:1824 +msgid "" +"Telegram-purple is a plugin for Libpurple, the communication library\n" +"used by the Pidgin instant messaging client, that adds support for the\n" +"Telegram messenger." +msgstr "" + +#: gnu/packages/mpd.scm:84 msgid "Music Player Daemon client library" msgstr "" -#: gnu/packages/mpd.scm:83 +#: gnu/packages/mpd.scm:85 msgid "" "A stable, documented, asynchronous API library for\n" "interfacing MPD in the C, C++ & Objective C languages." msgstr "" -#: gnu/packages/mpd.scm:155 +#: gnu/packages/mpd.scm:157 msgid "Music Player Daemon" msgstr "" -#: gnu/packages/mpd.scm:156 +#: gnu/packages/mpd.scm:158 msgid "" "Music Player Daemon (MPD) is a flexible, powerful,\n" "server-side application for playing music. Through plugins and libraries it\n" @@ -10374,31 +10850,31 @@ msgid "" "protocol." msgstr "" -#: gnu/packages/mpd.scm:179 +#: gnu/packages/mpd.scm:183 msgid "Music Player Daemon client" msgstr "" -#: gnu/packages/mpd.scm:180 +#: gnu/packages/mpd.scm:184 msgid "" "MPC is a minimalist command line interface to MPD, the music\n" "player daemon." msgstr "" -#: gnu/packages/mpd.scm:203 +#: gnu/packages/mpd.scm:227 msgid "Curses Music Player Daemon client" msgstr "" -#: gnu/packages/mpd.scm:204 +#: gnu/packages/mpd.scm:228 msgid "" "ncmpc is a fully featured MPD client, which runs in a\n" "terminal using ncurses." msgstr "" -#: gnu/packages/mpd.scm:234 +#: gnu/packages/mpd.scm:258 msgid "Featureful ncurses based MPD client inspired by ncmpc" msgstr "" -#: gnu/packages/mpd.scm:235 +#: gnu/packages/mpd.scm:259 msgid "" "Ncmpcpp is an mpd client with a UI very similar to ncmpc,\n" "but it provides new useful features such as support for regular expressions\n" @@ -10406,31 +10882,31 @@ msgid "" "sort playlists, and a local file system browser." msgstr "" -#: gnu/packages/mpd.scm:258 +#: gnu/packages/mpd.scm:282 msgid "MPD client for track scrobbling" msgstr "" -#: gnu/packages/mpd.scm:259 +#: gnu/packages/mpd.scm:283 msgid "" "mpdscribble is a Music Player Daemon client which submits\n" "information about tracks being played to a scrobbler, such as Libre.FM." msgstr "" -#: gnu/packages/mpd.scm:282 +#: gnu/packages/mpd.scm:306 msgid "Python MPD client library" msgstr "" -#: gnu/packages/mpd.scm:283 +#: gnu/packages/mpd.scm:307 msgid "" "Python-mpd2 is a Python library which provides a client\n" "interface for the Music Player Daemon." msgstr "" -#: gnu/packages/mpd.scm:332 +#: gnu/packages/mpd.scm:356 msgid "Elegant client for the Music Player Daemon" msgstr "" -#: gnu/packages/mpd.scm:333 +#: gnu/packages/mpd.scm:357 msgid "" "Sonata is an elegant graphical client for the Music Player\n" "Daemon (MPD). It supports playlists, multiple profiles (connecting to different\n" @@ -10461,11 +10937,11 @@ msgid "" "themselves." msgstr "" -#: gnu/packages/networking.scm:115 +#: gnu/packages/networking.scm:120 msgid "Viewing and manipulating MAC addresses of network interfaces" msgstr "" -#: gnu/packages/networking.scm:116 +#: gnu/packages/networking.scm:121 msgid "" "GNU MAC Changer is a utility for viewing and changing MAC\n" "addresses of networking devices. New addresses may be set explicitly or\n" @@ -10473,22 +10949,22 @@ msgid "" "or, more generally, MAC addresses of the same category of hardware." msgstr "" -#: gnu/packages/networking.scm:144 +#: gnu/packages/networking.scm:149 msgid "Teredo IPv6 tunneling software" msgstr "" -#: gnu/packages/networking.scm:146 +#: gnu/packages/networking.scm:151 msgid "" "Miredo is an implementation (client, relay, server) of the Teredo\n" "specification, which provides IPv6 Internet connectivity to IPv6 enabled hosts\n" "residing in IPv4-only networks, even when they are behind a NAT device." msgstr "" -#: gnu/packages/networking.scm:168 +#: gnu/packages/networking.scm:173 msgid "Open bidirectional communication channels from the command line" msgstr "" -#: gnu/packages/networking.scm:170 +#: gnu/packages/networking.scm:175 msgid "" "socat is a relay for bidirectional data transfer between two independent\n" "data channels---files, pipes, devices, sockets, etc. It can create\n" @@ -10501,22 +10977,22 @@ msgid "" "or server shell scripts with network connections." msgstr "" -#: gnu/packages/networking.scm:251 +#: gnu/packages/networking.scm:256 msgid "Monitor and filter incoming requests for network services" msgstr "" -#: gnu/packages/networking.scm:252 +#: gnu/packages/networking.scm:257 msgid "" "With this package you can monitor and filter incoming requests for\n" "network services. It includes a library which may be used by daemons to\n" "transparently check connection attempts against an access control list." msgstr "" -#: gnu/packages/networking.scm:272 +#: gnu/packages/networking.scm:277 msgid "Library for message-based applications" msgstr "" -#: gnu/packages/networking.scm:274 +#: gnu/packages/networking.scm:279 msgid "" "The 0MQ lightweight messaging kernel is a library which extends the\n" "standard socket interfaces with features traditionally provided by specialized\n" @@ -10526,53 +11002,63 @@ msgid "" "more." msgstr "" -#: gnu/packages/networking.scm:312 +#: gnu/packages/networking.scm:317 msgid "High-level C bindings for ØMQ" msgstr "Liaisons de haut-niveau pour ØMQ" -#: gnu/packages/networking.scm:314 +#: gnu/packages/networking.scm:319 msgid "" "czmq provides bindings for the ØMQ core API that hides the differences\n" "between different versions of ØMQ." msgstr "" -#: gnu/packages/networking.scm:349 +#: gnu/packages/networking.scm:346 +msgid "C++ bindings for the ØMQ messaging library" +msgstr "Liaisons C++ pour la bibliothèque de messagerie ØMQ" + +#: gnu/packages/networking.scm:348 +msgid "" +"This package provides header-only C++ bindings for ØMQ. The header\n" +"files contain direct mappings of the abstractions provided by the ØMQ C API." +msgstr "" + +#: gnu/packages/networking.scm:383 msgid "Apache Kafka C/C++ client library" msgstr "" -#: gnu/packages/networking.scm:351 +#: gnu/packages/networking.scm:385 msgid "" "librdkafka is a C library implementation of the Apache Kafka protocol,\n" "containing both Producer and Consumer support." msgstr "" -#: gnu/packages/networking.scm:368 +#: gnu/packages/networking.scm:402 msgid "Library for Neighbor Discovery Protocol" msgstr "" -#: gnu/packages/networking.scm:370 +#: gnu/packages/networking.scm:404 msgid "" "libndp contains a library which provides a wrapper for IPv6 Neighbor\n" "Discovery Protocol. It also provides a tool named ndptool for sending and\n" "receiving NDP messages." msgstr "" -#: gnu/packages/networking.scm:388 +#: gnu/packages/networking.scm:422 msgid "Display or change Ethernet device settings" msgstr "" -#: gnu/packages/networking.scm:390 +#: gnu/packages/networking.scm:424 msgid "" "ethtool can be used to query and change settings such as speed,\n" "auto-negotiation and checksum offload on many network devices, especially\n" "Ethernet devices." msgstr "" -#: gnu/packages/networking.scm:429 +#: gnu/packages/networking.scm:463 msgid "Text based network interface status monitor" msgstr "" -#: gnu/packages/networking.scm:431 +#: gnu/packages/networking.scm:465 msgid "" "IFStatus is a simple, easy-to-use program for displaying commonly\n" "needed/wanted real-time traffic statistics of multiple network\n" @@ -10580,11 +11066,11 @@ msgid "" "intended as a substitute for the PPPStatus and EthStatus projects." msgstr "" -#: gnu/packages/networking.scm:451 +#: gnu/packages/networking.scm:485 msgid "Realtime console network usage monitor" msgstr "" -#: gnu/packages/networking.scm:453 +#: gnu/packages/networking.scm:487 msgid "" "Nload is a console application which monitors network traffic and\n" "bandwidth usage in real time. It visualizes the in- and outgoing traffic using\n" @@ -10592,11 +11078,11 @@ msgid "" "and min/max network usage." msgstr "" -#: gnu/packages/networking.scm:496 +#: gnu/packages/networking.scm:530 msgid "Tunnel IPv4 data through a DNS server" msgstr "" -#: gnu/packages/networking.scm:497 +#: gnu/packages/networking.scm:531 msgid "" "Iodine tunnels IPv4 data through a DNS server. This\n" "can be useful in different situations where internet access is firewalled, but\n" @@ -10604,11 +11090,11 @@ msgid "" "and up to 1 Mbit/s downstream." msgstr "" -#: gnu/packages/networking.scm:534 +#: gnu/packages/networking.scm:568 msgid "Intelligent client for the WHOIS directory service" msgstr "" -#: gnu/packages/networking.scm:536 +#: gnu/packages/networking.scm:570 msgid "" "whois searches for an object in a @dfn{WHOIS} (RFC 3912) database.\n" "It is commonly used to look up the registered users or assignees of an Internet\n" @@ -10620,22 +11106,22 @@ msgid "" "of the same name." msgstr "" -#: gnu/packages/networking.scm:611 +#: gnu/packages/networking.scm:645 msgid "Network traffic analyzer" msgstr "" -#: gnu/packages/networking.scm:612 +#: gnu/packages/networking.scm:646 msgid "" "Wireshark is a network protocol analyzer, or @dfn{packet\n" "sniffer}, that lets you capture and interactively browse the contents of\n" "network frames." msgstr "" -#: gnu/packages/networking.scm:632 +#: gnu/packages/networking.scm:666 msgid "Send ICMP ECHO_REQUEST packets to network hosts" msgstr "" -#: gnu/packages/networking.scm:634 +#: gnu/packages/networking.scm:668 msgid "" "fping is a ping like program which uses the Internet Control Message\n" "Protocol (ICMP) echo request to determine if a target host is responding.\n" @@ -10646,11 +11132,22 @@ msgid "" "fashion." msgstr "" -#: gnu/packages/networking.scm:668 +#: gnu/packages/networking.scm:719 +msgid "Command-line interface to the Gandi.net Web API" +msgstr "Interface en ligne de commande pour l'API Web de Gandi.net" + +#: gnu/packages/networking.scm:721 +msgid "" +"This package provides a command-line client (@command{gandi}) to buy,\n" +"manage, and delete Internet resources from Gandi.net such as domain names,\n" +"virtual machines, and certificates." +msgstr "" + +#: gnu/packages/networking.scm:751 msgid "Web server latency and throughput monitor" msgstr "" -#: gnu/packages/networking.scm:670 +#: gnu/packages/networking.scm:753 msgid "" "httping measures how long it takes to connect to a web server, send an\n" "HTTP(S) request, and receive the reply headers. It is somewhat similar to\n" @@ -10659,11 +11156,11 @@ msgid "" "application stack itself." msgstr "" -#: gnu/packages/networking.scm:701 +#: gnu/packages/networking.scm:784 msgid "Visualize curl statistics" msgstr "" -#: gnu/packages/networking.scm:703 +#: gnu/packages/networking.scm:786 msgid "" "@command{httpstat} is a tool to visualize statistics from the\n" "@command{curl} HTTP client. It acts as a wrapper for @command{curl} and\n" @@ -10671,21 +11168,21 @@ msgid "" "TCP connection, TLS handshake and so on) in the terminal." msgstr "" -#: gnu/packages/networking.scm:723 +#: gnu/packages/networking.scm:806 msgid "Console based live network and disk I/O bandwidth monitor" msgstr "" -#: gnu/packages/networking.scm:724 +#: gnu/packages/networking.scm:807 msgid "" "Bandwidth Monitor NG is a small and simple console based\n" "live network and disk I/O bandwidth monitor." msgstr "" -#: gnu/packages/networking.scm:778 +#: gnu/packages/networking.scm:867 msgid "Assess WiFi network security" msgstr "" -#: gnu/packages/networking.scm:780 +#: gnu/packages/networking.scm:869 msgid "" "Aircrack-ng is a complete suite of tools to assess WiFi network\n" "security. It focuses on different areas of WiFi security: monitoring,\n" @@ -10693,105 +11190,118 @@ msgid "" "allows for heavy scripting." msgstr "" -#: gnu/packages/networking.scm:805 +#: gnu/packages/networking.scm:893 +msgid "IPv4 and IPv6 validation methods" +msgstr "" + +#: gnu/packages/networking.scm:895 +msgid "" +"This module provides several IP address validation subroutines that both\n" +"validate and untaint their input. This includes both basic validation\n" +"(@code{is_ipv4()} and @code{is_ipv6()}) and special cases like checking whether\n" +"an address belongs to a specific network or whether an address is public or\n" +"private (reserved)." +msgstr "" + +#: gnu/packages/networking.scm:923 msgid "Perl Interface to the Domain Name System" msgstr "" -#: gnu/packages/networking.scm:806 +#: gnu/packages/networking.scm:924 msgid "Net::DNS is the Perl Interface to the Domain Name System." msgstr "" -#: gnu/packages/networking.scm:837 +#: gnu/packages/networking.scm:955 msgid "IPv6 related part of the C socket.h defines and structure manipulators for Perl" msgstr "" -#: gnu/packages/networking.scm:838 +#: gnu/packages/networking.scm:956 msgid "" "Socket6 binds the IPv6 related part of the C socket header\n" "definitions and structure manipulators for Perl." msgstr "" -#: gnu/packages/networking.scm:864 +#: gnu/packages/networking.scm:982 msgid "Programmable DNS resolver class for offline emulation of DNS" msgstr "" -#: gnu/packages/networking.scm:865 +#: gnu/packages/networking.scm:983 msgid "" "Net::DNS::Resolver::Programmable is a programmable DNS resolver for\n" "offline emulation of DNS." msgstr "" -#: gnu/packages/networking.scm:898 +#: gnu/packages/networking.scm:1016 msgid "Manages IPv4 and IPv6 addresses and subnets" msgstr "" -#: gnu/packages/networking.scm:899 +#: gnu/packages/networking.scm:1017 msgid "NetAddr::IP manages IPv4 and IPv6 addresses and subsets." msgstr "" -#: gnu/packages/networking.scm:923 +#: gnu/packages/networking.scm:1041 msgid "Patricia Trie Perl module for fast IP address lookups" msgstr "" -#: gnu/packages/networking.scm:925 +#: gnu/packages/networking.scm:1043 msgid "Net::Patricia does IP address lookups quickly in Perl." msgstr "" -#: gnu/packages/networking.scm:948 +#: gnu/packages/networking.scm:1066 msgid "Perl extension for merging IPv4 or IPv6 CIDR addresses" msgstr "" -#: gnu/packages/networking.scm:949 +#: gnu/packages/networking.scm:1067 msgid "Net::CIDR::Lite merges IPv4 or IPv6 CIDR addresses." msgstr "" -#: gnu/packages/networking.scm:971 +#: gnu/packages/networking.scm:1089 msgid "Look up location and network information by IP Address in Perl" msgstr "" -#: gnu/packages/networking.scm:972 +#: gnu/packages/networking.scm:1090 msgid "" "The Perl module 'Geo::IP'. It looks up location and network\n" "information by IP Address." msgstr "" -#: gnu/packages/networking.scm:1001 +#: gnu/packages/networking.scm:1119 msgid "Perl object interface for AF_INET/AF_INET6 domain sockets" msgstr "" -#: gnu/packages/networking.scm:1002 +#: gnu/packages/networking.scm:1120 msgid "" "IO::Socket::INET6 is an interface for AF_INET/AF_INET6 domain\n" "sockets in Perl." msgstr "" -#: gnu/packages/networking.scm:1031 +#: gnu/packages/networking.scm:1149 msgid "Library providing automatic proxy configuration management" msgstr "" -#: gnu/packages/networking.scm:1032 +#: gnu/packages/networking.scm:1150 msgid "" "Libproxy handles the details of HTTP/HTTPS proxy\n" "configuration for applications across all scenarios. Applications using\n" "libproxy only have to specify which proxy to use." msgstr "" -#: gnu/packages/networking.scm:1065 +#: gnu/packages/networking.scm:1186 msgid "Redirect any TCP connection through a proxy or proxy chain" msgstr "" -#: gnu/packages/networking.scm:1066 +#: gnu/packages/networking.scm:1187 msgid "" "Proxychains-ng is a preloader which hooks calls to sockets\n" "in dynamically linked programs and redirects them through one or more SOCKS or\n" "HTTP proxies." msgstr "" -#: gnu/packages/networking.scm:1087 +#: gnu/packages/networking.scm:1208 msgid "Network communication layer on top of UDP" msgstr "" -#: gnu/packages/networking.scm:1089 +#: gnu/packages/networking.scm:1210 msgid "" "ENet's purpose is to provide a relatively thin, simple and robust network\n" "communication layer on top of UDP. The primary feature it provides is optional\n" @@ -10801,11 +11311,11 @@ msgid "" "library remains flexible, portable, and easily embeddable." msgstr "" -#: gnu/packages/networking.scm:1153 +#: gnu/packages/networking.scm:1274 msgid "Applicative network protocol demultiplexer" msgstr "" -#: gnu/packages/networking.scm:1155 +#: gnu/packages/networking.scm:1276 msgid "" "sslh is a network protocol demultiplexer. It acts like a switchboard,\n" "accepting connections from clients on one port and forwarding them to different\n" @@ -10817,11 +11327,11 @@ msgid "" "that block port 22." msgstr "" -#: gnu/packages/networking.scm:1178 +#: gnu/packages/networking.scm:1299 msgid "TCP, UDP and SCTP bandwidth measurement tool" msgstr "" -#: gnu/packages/networking.scm:1180 +#: gnu/packages/networking.scm:1301 msgid "" "iPerf is a tool to measure achievable bandwidth on IP networks. It\n" "supports tuning of various parameters related to timing, buffers and\n" @@ -10829,11 +11339,11 @@ msgid "" "the bandwidth, loss, and other parameters." msgstr "" -#: gnu/packages/networking.scm:1213 +#: gnu/packages/networking.scm:1334 msgid "Per-process bandwidth monitor" msgstr "" -#: gnu/packages/networking.scm:1214 +#: gnu/packages/networking.scm:1335 msgid "" "NetHogs is a small 'net top' tool for Linux. Instead of\n" "breaking the traffic down per protocol or per subnet, like most tools do, it\n" @@ -10845,11 +11355,11 @@ msgid "" "gone wild and are suddenly taking up your bandwidth." msgstr "" -#: gnu/packages/networking.scm:1260 +#: gnu/packages/networking.scm:1381 msgid "Usenet binary file downloader" msgstr "" -#: gnu/packages/networking.scm:1262 +#: gnu/packages/networking.scm:1383 msgid "" "NZBGet is a binary newsgrabber, which downloads files from Usenet based\n" "on information given in @code{nzb} files. NZBGet can be used in standalone\n" @@ -10859,11 +11369,11 @@ msgid "" "procedure calls (RPCs)." msgstr "" -#: gnu/packages/networking.scm:1316 +#: gnu/packages/networking.scm:1437 msgid "Virtual network switch" msgstr "" -#: gnu/packages/networking.scm:1319 +#: gnu/packages/networking.scm:1440 msgid "" "Open vSwitch is a multilayer virtual switch. It is designed to enable\n" "massive network automation through programmatic extension, while still\n" @@ -10871,54 +11381,54 @@ msgid "" "IPFIX, RSPAN, CLI, LACP, 802.1ag)." msgstr "" -#: gnu/packages/networking.scm:1341 +#: gnu/packages/networking.scm:1462 msgid "Python class and tools for handling IP addresses and networks" msgstr "" -#: gnu/packages/networking.scm:1342 +#: gnu/packages/networking.scm:1463 msgid "" "The @code{IP} class allows a comfortable parsing and\n" "handling for most notations in use for IPv4 and IPv6 addresses and\n" "networks." msgstr "" -#: gnu/packages/networking.scm:1366 +#: gnu/packages/networking.scm:1487 msgid "Internet bandwidth tester" msgstr "" -#: gnu/packages/networking.scm:1368 +#: gnu/packages/networking.scm:1489 msgid "" "Command line interface for testing internet bandwidth using\n" "speedtest.net." msgstr "" -#: gnu/packages/networking.scm:1386 +#: gnu/packages/networking.scm:1507 msgid "HPA's tftp client" msgstr "" -#: gnu/packages/networking.scm:1388 +#: gnu/packages/networking.scm:1509 msgid "" "This is a tftp client derived from OpenBSD tftp with some extra options\n" "added and bugs fixed. The source includes readline support but it is not\n" "enabled due to license conflicts between the BSD advertising clause and the GPL." msgstr "" -#: gnu/packages/networking.scm:1416 +#: gnu/packages/networking.scm:1537 msgid "Small Ident Daemon" msgstr "" -#: gnu/packages/networking.scm:1418 +#: gnu/packages/networking.scm:1539 msgid "" "@dfn{Pidentd} (Peter's Ident Daemon) is a identd, which implements a\n" "identification server. Pidentd looks up specific TCP/IP connections and\n" "returns the user name and other information about the connection." msgstr "" -#: gnu/packages/networking.scm:1465 +#: gnu/packages/networking.scm:1586 msgid "Create secure pipes between sockets" msgstr "" -#: gnu/packages/networking.scm:1466 +#: gnu/packages/networking.scm:1587 msgid "" "Spiped (pronounced \"ess-pipe-dee\") is a utility for creating\n" "symmetrically encrypted and authenticated pipes between socket addresses, so\n" @@ -10928,11 +11438,11 @@ msgid "" "does not use SSH and requires a pre-shared symmetric key." msgstr "" -#: gnu/packages/networking.scm:1493 +#: gnu/packages/networking.scm:1614 msgid "Routing Software Suite" msgstr "" -#: gnu/packages/networking.scm:1494 +#: gnu/packages/networking.scm:1615 msgid "" "Quagga is a routing software suite, providing implementations\n" "of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4 for Unix platforms.\n" @@ -10944,22 +11454,22 @@ msgid "" "updates to the zebra daemon." msgstr "" -#: gnu/packages/networking.scm:1545 +#: gnu/packages/networking.scm:1666 msgid "IPv6 security research toolkit" msgstr "" -#: gnu/packages/networking.scm:1546 +#: gnu/packages/networking.scm:1667 msgid "" "The THC IPv6 Toolkit provides command-line tools and a library\n" "for researching IPv6 implementations and deployments. It requires Linux 2.6 or\n" "newer and only works on Ethernet network interfaces." msgstr "" -#: gnu/packages/networking.scm:1572 +#: gnu/packages/networking.scm:1693 msgid "Bandwidth monitor" msgstr "" -#: gnu/packages/networking.scm:1573 +#: gnu/packages/networking.scm:1694 msgid "" "bmon is a monitoring and debugging tool to capture\n" "networking-related statistics and prepare them visually in a human-friendly\n" @@ -10967,11 +11477,11 @@ msgid "" "interface and a programmable text output for scripting." msgstr "" -#: gnu/packages/networking.scm:1613 +#: gnu/packages/networking.scm:1734 msgid "Framework for low-level network packet construction" msgstr "" -#: gnu/packages/networking.scm:1615 +#: gnu/packages/networking.scm:1736 msgid "" "Libnet provides a fairly portable framework for network packet\n" "construction and injection. It features portable packet creation interfaces\n" @@ -10980,11 +11490,11 @@ msgid "" "can be whipped up with little effort." msgstr "" -#: gnu/packages/networking.scm:1643 +#: gnu/packages/networking.scm:1764 msgid "Network diagnostic tool" msgstr "" -#: gnu/packages/networking.scm:1645 +#: gnu/packages/networking.scm:1766 msgid "" "@dfn{mtr} (My TraceRoute) combines the functionality of the\n" "@command{traceroute} and @command{ping} programs in a single network diagnostic\n" @@ -10994,22 +11504,22 @@ msgid "" "displays the results in real time." msgstr "" -#: gnu/packages/networking.scm:1697 +#: gnu/packages/networking.scm:1818 msgid "IKEv1/v2 keying daemon" msgstr "" -#: gnu/packages/networking.scm:1698 +#: gnu/packages/networking.scm:1819 msgid "" "StrongSwan is an IPsec implementation originally based upon\n" "the FreeS/WAN project. It contains support for IKEv1, IKEv2, MOBIKE, IPv6,\n" "NAT-T and more." msgstr "" -#: gnu/packages/networking.scm:1781 +#: gnu/packages/networking.scm:1902 msgid "Peer-to-peer client for the eD2K and Kademlia networks" msgstr "" -#: gnu/packages/networking.scm:1783 +#: gnu/packages/networking.scm:1904 msgid "" "aMule is an eMule-like client for the eD2k and Kademlia peer-to-peer\n" "file sharing networks. It includes a graphical user interface (GUI), a daemon\n" @@ -11018,11 +11528,11 @@ msgid "" "remotely." msgstr "" -#: gnu/packages/networking.scm:1806 +#: gnu/packages/networking.scm:1927 msgid "Framework for proximity-based peer-to-peer applications" msgstr "" -#: gnu/packages/networking.scm:1807 +#: gnu/packages/networking.scm:1928 msgid "" "Zyre provides reliable group messaging over local area\n" "networks using zeromq. It has these key characteristics:\n" @@ -11039,11 +11549,11 @@ msgid "" "@end itemize" msgstr "" -#: gnu/packages/networking.scm:1847 +#: gnu/packages/networking.scm:1968 msgid "CAN utilities" msgstr "" -#: gnu/packages/networking.scm:1848 +#: gnu/packages/networking.scm:1969 msgid "" "This package provides CAN utilities in the following areas:\n" "\n" @@ -11059,22 +11569,22 @@ msgid "" "@end itemize" msgstr "" -#: gnu/packages/networking.scm:1900 +#: gnu/packages/networking.scm:2006 msgid "C++ library for ASynchronous network I/O" msgstr "" -#: gnu/packages/networking.scm:1901 +#: gnu/packages/networking.scm:2007 msgid "" "Asio is a cross-platform C++ library for network and\n" "low-level I/O programming that provides developers with a consistent\n" "asynchronous model using a modern C++ approach." msgstr "" -#: gnu/packages/networking.scm:1925 +#: gnu/packages/networking.scm:2031 msgid "Fast tunnel proxy that helps you bypass firewalls" msgstr "" -#: gnu/packages/networking.scm:1927 +#: gnu/packages/networking.scm:2033 msgid "" "This package is a fast tunnel proxy that helps you bypass firewalls.\n" "\n" @@ -11088,49 +11598,98 @@ msgid "" "@end itemize" msgstr "" -#: gnu/packages/pdf.scm:121 +#: gnu/packages/networking.scm:2111 +msgid "Simple Network Management Protocol library and tools" +msgstr "" + +#: gnu/packages/networking.scm:2112 +msgid "" +"The @dfn{Simple Network Management Protocol} (SNMP) is a\n" +"widely used protocol for monitoring the health and welfare of network\n" +"equipment (e.g. routers), computer equipment and even devices like UPSs.\n" +"Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and\n" +"SNMP v3 using both IPv4 and IPv6." +msgstr "" + +#: gnu/packages/networking.scm:2153 +msgid "Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces" +msgstr "" + +#: gnu/packages/networking.scm:2154 +msgid "" +"uBridge is a simple program to create user-land bridges\n" +"between various technologies. Currently, bridging between UDP tunnels,\n" +"Ethernet and TAP interfaces is supported. Packet capture is also supported." +msgstr "" + +#: gnu/packages/networking.scm:2200 +msgid "Capture wlan traffic to hashcat and John the Ripper" +msgstr "" + +#: gnu/packages/networking.scm:2202 +msgid "" +"This package contains a small set of tools to capture and convert\n" +"packets from wireless devices for use with hashcat or John the Ripper." +msgstr "" + +#: gnu/packages/networking.scm:2229 +msgid "Small tool to capture packets from wlan devices" +msgstr "" + +#: gnu/packages/networking.scm:2231 +msgid "" +"Small tool to capture packets from WLAN devices. After capturing,\n" +"upload the \"uncleaned\" cap to @url{https://wpa-sec.stanev.org/?submit} to\n" +"see if the access point or the client is vulnerable to a dictionary attack.\n" +"Convert the cap file to hccapx format and/or to WPA-PMKID-PBKDF2\n" +"hashline (16800) with @command{hcxpcaptool} from the @code{hcxtools} package\n" +"and check if the WLAN key or the master key was transmitted unencrypted." +msgstr "" + +#: gnu/packages/networking.scm:2258 +msgid "SOCKS server and client" +msgstr "" + +#: gnu/packages/networking.scm:2259 +msgid "" +"Dante is a SOCKS client and server implementation. It can\n" +"be installed on a machine with access to an external TCP/IP network and will\n" +"allow all other machines, without direct access to that network, to be relayed\n" +"through the machine the Dante server is running on. The external network will\n" +"never see any machines other than the one Dante is running on." +msgstr "" + +#: gnu/packages/pdf.scm:125 msgid "PDF rendering library" msgstr "Bibliothèque de rendu PDF" -#: gnu/packages/pdf.scm:123 +#: gnu/packages/pdf.scm:127 msgid "Poppler is a PDF rendering library based on the xpdf-3.0 code base." msgstr "" -#: gnu/packages/pdf.scm:148 +#: gnu/packages/pdf.scm:160 msgid "Poppler encoding files for rendering of CJK and Cyrillic text" msgstr "" -#: gnu/packages/pdf.scm:149 +#: gnu/packages/pdf.scm:161 msgid "" "This package provides optional encoding files for Poppler.\n" "When present, Poppler is able to correctly render CJK and Cyrillic text." msgstr "" -#: gnu/packages/pdf.scm:162 +#: gnu/packages/pdf.scm:174 msgid "Qt4 frontend for the Poppler PDF rendering library" msgstr "" -#: gnu/packages/pdf.scm:169 +#: gnu/packages/pdf.scm:181 msgid "Qt5 frontend for the Poppler PDF rendering library" msgstr "" -#: gnu/packages/pdf.scm:202 -msgid "Python bindings for Poppler-Qt4" -msgstr "" - -#: gnu/packages/pdf.scm:204 -msgid "" -"This package provides Python bindings for the Qt4 interface of the\n" -"Poppler PDF rendering library." -msgstr "" -"Ce paquet fournit les liaisons Python pour l'interface Qt4 de la\n" -"bibliothèque de rendu de PDF Poppler." - -#: gnu/packages/pdf.scm:249 +#: gnu/packages/pdf.scm:224 msgid "Python bindings for Poppler-Qt5" msgstr "" -#: gnu/packages/pdf.scm:251 +#: gnu/packages/pdf.scm:226 msgid "" "This package provides Python bindings for the Qt5 interface of the\n" "Poppler PDF rendering library." @@ -11138,90 +11697,90 @@ msgstr "" "Ce paquet fournit les liaisons Python pour l'interface Qt5 de la\n" "bibliothèque de rendu de PDF Poppler." -#: gnu/packages/pdf.scm:288 +#: gnu/packages/pdf.scm:260 msgid "Library for generating PDF files" msgstr "Bibliothèque de génération de fichiers PDF" -#: gnu/packages/pdf.scm:290 +#: gnu/packages/pdf.scm:262 msgid "" "libHaru is a library for generating PDF files. libHaru does not support\n" "reading and editing of existing PDF files." msgstr "" -#: gnu/packages/pdf.scm:337 +#: gnu/packages/pdf.scm:309 msgid "Viewer for PDF files based on the Motif toolkit" msgstr "Visionneuse pour fichiers PDF basée sur la boîte à outil Motif" -#: gnu/packages/pdf.scm:339 +#: gnu/packages/pdf.scm:311 msgid "Xpdf is a viewer for Portable Document Format (PDF) files." msgstr "Xpdf est une visionneuse pour fichiers PDF (Portable Document Format)" -#: gnu/packages/pdf.scm:367 +#: gnu/packages/pdf.scm:345 msgid "Comic book support for zathura (libarchive backend)" msgstr "" -#: gnu/packages/pdf.scm:368 +#: gnu/packages/pdf.scm:346 msgid "" "The zathura-cb plugin adds comic book support to zathura\n" "using libarchive." msgstr "" -#: gnu/packages/pdf.scm:396 +#: gnu/packages/pdf.scm:380 msgid "PS support for zathura (libspectre backend)" msgstr "" -#: gnu/packages/pdf.scm:397 +#: gnu/packages/pdf.scm:381 msgid "" "The zathura-ps plugin adds PS support to zathura\n" "using libspectre." msgstr "" -#: gnu/packages/pdf.scm:426 +#: gnu/packages/pdf.scm:416 msgid "DjVu support for zathura (DjVuLibre backend)" msgstr "" -#: gnu/packages/pdf.scm:427 +#: gnu/packages/pdf.scm:417 msgid "" "The zathura-djvu plugin adds DjVu support to zathura\n" "using the DjVuLibre library." msgstr "" -#: gnu/packages/pdf.scm:459 +#: gnu/packages/pdf.scm:448 msgid "PDF support for zathura (mupdf backend)" msgstr "" -#: gnu/packages/pdf.scm:460 +#: gnu/packages/pdf.scm:449 msgid "" "The zathura-pdf-mupdf plugin adds PDF support to zathura\n" "by using the @code{mupdf} rendering library." msgstr "" -#: gnu/packages/pdf.scm:489 +#: gnu/packages/pdf.scm:484 msgid "PDF support for zathura (poppler backend)" msgstr "" -#: gnu/packages/pdf.scm:490 +#: gnu/packages/pdf.scm:485 msgid "" "The zathura-pdf-poppler plugin adds PDF support to zathura\n" "by using the poppler rendering engine." msgstr "" -#: gnu/packages/pdf.scm:548 +#: gnu/packages/pdf.scm:540 msgid "Lightweight keyboard-driven PDF viewer" msgstr "Visionneuse de PDF légère gérée au clavier" -#: gnu/packages/pdf.scm:549 +#: gnu/packages/pdf.scm:541 msgid "" "Zathura is a customizable document viewer. It provides a\n" "minimalistic interface and an interface that mainly focuses on keyboard\n" "interaction." msgstr "" -#: gnu/packages/pdf.scm:588 +#: gnu/packages/pdf.scm:583 msgid "Tools to work with the PDF file format" msgstr "Outils de manipulation de fichiers PDF" -#: gnu/packages/pdf.scm:590 +#: gnu/packages/pdf.scm:585 msgid "" "PoDoFo is a C++ library and set of command-line tools to work with the\n" "PDF file format. It can parse PDF files and load them into memory, and makes\n" @@ -11230,11 +11789,11 @@ msgid "" "extracting content or merging files." msgstr "" -#: gnu/packages/pdf.scm:635 +#: gnu/packages/pdf.scm:640 msgid "Lightweight PDF viewer and toolkit" msgstr "Boite à outils légère pour la visualisation de documents PDF" -#: gnu/packages/pdf.scm:637 +#: gnu/packages/pdf.scm:642 msgid "" "MuPDF is a C library that implements a PDF and XPS parsing and\n" "rendering engine. It is used primarily to render pages into bitmaps,\n" @@ -11254,11 +11813,11 @@ msgstr "" "d'outils en ligne de commande pour le rendu par lots (@command{pdfdraw}),\n" "la réécriture de fichiers (pdfclean) et l'analyse de structure (@command{pdfshow})." -#: gnu/packages/pdf.scm:692 +#: gnu/packages/pdf.scm:701 msgid "Command-line tools and library for transforming PDF files" msgstr "" -#: gnu/packages/pdf.scm:694 +#: gnu/packages/pdf.scm:703 msgid "" "QPDF is a command-line program that does structural, content-preserving\n" "transformations on PDF files. It could have been called something like\n" @@ -11267,32 +11826,32 @@ msgid "" "program capable of converting PDF into other formats." msgstr "" -#: gnu/packages/pdf.scm:724 +#: gnu/packages/pdf.scm:735 msgid "Notetaking using a stylus" msgstr "" -#: gnu/packages/pdf.scm:726 +#: gnu/packages/pdf.scm:737 msgid "" "Xournal is an application for notetaking, sketching, keeping a journal\n" "using a stylus." msgstr "" -#: gnu/packages/pdf.scm:748 +#: gnu/packages/pdf.scm:759 msgid "Python library for generating PDFs and graphics" msgstr "" -#: gnu/packages/pdf.scm:749 +#: gnu/packages/pdf.scm:760 msgid "" "This is the ReportLab PDF Toolkit. It allows rapid creation\n" "of rich PDF documents, and also creation of charts in a variety of bitmap and\n" "vector formats." msgstr "" -#: gnu/packages/pdf.scm:802 +#: gnu/packages/pdf.scm:813 msgid "PDF presentation tool with visual effects" msgstr "" -#: gnu/packages/pdf.scm:804 +#: gnu/packages/pdf.scm:815 msgid "" "Impressive is a tool to display PDF files that provides visual effects\n" "such as smooth alpha-blended slide transitions. It provides additional tools\n" @@ -11300,31 +11859,31 @@ msgid "" "the PDF pages." msgstr "" -#: gnu/packages/pdf.scm:852 +#: gnu/packages/pdf.scm:863 msgid "Framebuffer and drm-based image viewer" msgstr "" -#: gnu/packages/pdf.scm:854 +#: gnu/packages/pdf.scm:865 msgid "" "fbida contains a few applications for viewing and editing images on\n" "the framebuffer." msgstr "" -#: gnu/packages/pdf.scm:879 +#: gnu/packages/pdf.scm:890 msgid "PDF to SVG converter" msgstr "" -#: gnu/packages/pdf.scm:880 +#: gnu/packages/pdf.scm:891 msgid "" "@command{pdf2svg} is a simple command-line PDF to SVG\n" "converter using the Poppler and Cairo libraries." msgstr "" -#: gnu/packages/pdf.scm:911 gnu/packages/pdf.scm:948 +#: gnu/packages/pdf.scm:922 gnu/packages/pdf.scm:959 msgid "Pure Python PDF toolkit" msgstr "" -#: gnu/packages/pdf.scm:912 +#: gnu/packages/pdf.scm:923 msgid "" "PyPDF2 is a pure Python PDF library capable of:\n" "\n" @@ -11344,7 +11903,7 @@ msgid "" "manage or manipulate PDFs." msgstr "" -#: gnu/packages/pdf.scm:949 +#: gnu/packages/pdf.scm:960 msgid "" "PyPDF2 is a pure Python PDF toolkit.\n" "\n" @@ -11352,11 +11911,11 @@ msgid "" "python-pypdf2 instead." msgstr "" -#: gnu/packages/pdf.scm:973 +#: gnu/packages/pdf.scm:984 msgid "Scale and tile PDF images/pages to print on multiple pages" msgstr "" -#: gnu/packages/pdf.scm:974 +#: gnu/packages/pdf.scm:985 msgid "" "@command{pdfposter} can be used to create a large poster by\n" "building it from multple pages and/or printing it on large media. It expects\n" @@ -11369,11 +11928,11 @@ msgid "" "PDF. Indeed @command{pdfposter} was inspired by @command{poster}." msgstr "" -#: gnu/packages/pdf.scm:1005 +#: gnu/packages/pdf.scm:1016 msgid "Command-line utility to search text in PDF files" msgstr "" -#: gnu/packages/pdf.scm:1007 +#: gnu/packages/pdf.scm:1018 msgid "" "Pdfgrep searches in pdf files for strings matching a regular expression.\n" "Support some GNU grep options as file name output, page number output,\n" @@ -11381,6 +11940,20 @@ msgid "" "multiple files." msgstr "" +#: gnu/packages/pdf.scm:1052 +msgid "Presenter console with multi-monitor support for PDF files" +msgstr "" + +#: gnu/packages/pdf.scm:1054 +msgid "" +"pdfpc is a presentation viewer application which uses multi-monitor\n" +"output to provide meta information to the speaker during the presentation. It\n" +"is able to show a normal presentation window on one screen, while showing a\n" +"more sophisticated overview on the other one providing information like a\n" +"picture of the next slide, as well as the left over time till the end of the\n" +"presentation. The input files processed by pdfpc are PDF documents." +msgstr "" + #: gnu/packages/pem.scm:41 msgid "Personal expenses manager" msgstr "" @@ -11400,25 +11973,27 @@ msgstr "Implémentation du langage de programmation Perl" #: gnu/packages/perl.scm:159 msgid "" -"Perl 5 is a highly capable, feature-rich programming language with over\n" -"24 years of development." +"Perl is a general-purpose programming language originally developed for\n" +"text manipulation and now used for a wide range of tasks including system\n" +"administration, web development, network programming, GUI development, and\n" +"more." msgstr "" -#: gnu/packages/perl.scm:213 +#: gnu/packages/perl.scm:215 msgid "Module for merging hierarchies using the C3 algorithm" msgstr "" -#: gnu/packages/perl.scm:214 +#: gnu/packages/perl.scm:216 msgid "" "This module implements the C3 algorithm, which aims to\n" "provide a sane method resolution order under multiple inheritance." msgstr "" -#: gnu/packages/perl.scm:232 +#: gnu/packages/perl.scm:234 msgid "Compute differences between two files or lists" msgstr "" -#: gnu/packages/perl.scm:233 +#: gnu/packages/perl.scm:235 msgid "" "This is a module for computing the difference between two\n" "files, two strings, or any other two lists of things. It uses an intelligent\n" @@ -11427,11 +12002,11 @@ msgid "" "differences." msgstr "" -#: gnu/packages/perl.scm:255 +#: gnu/packages/perl.scm:257 msgid "Use shorter versions of class names" msgstr "" -#: gnu/packages/perl.scm:256 +#: gnu/packages/perl.scm:258 msgid "" "The alias module loads the class you specify and exports\n" "into your namespace a subroutine that returns the class name. You can\n" @@ -11439,11 +12014,11 @@ msgid "" "implicitly." msgstr "" -#: gnu/packages/perl.scm:278 +#: gnu/packages/perl.scm:280 msgid "Transparently use Moose or Mouse modules" msgstr "" -#: gnu/packages/perl.scm:280 +#: gnu/packages/perl.scm:282 msgid "" "This module facilitates using @code{Moose} or @code{Mouse} modules\n" "without changing the code. By default, Mouse will be provided to libraries,\n" @@ -11452,31 +12027,31 @@ msgid "" "variable ANY_MOOSE to be Moose or Mouse." msgstr "" -#: gnu/packages/perl.scm:303 +#: gnu/packages/perl.scm:305 msgid "Configuration files and command line parsing" msgstr "" -#: gnu/packages/perl.scm:304 +#: gnu/packages/perl.scm:306 msgid "" "AppConfig is a bundle of Perl5 modules for reading\n" "configuration files and parsing command line arguments." msgstr "" -#: gnu/packages/perl.scm:324 +#: gnu/packages/perl.scm:326 msgid "Small utils for array manipulation" msgstr "" -#: gnu/packages/perl.scm:325 +#: gnu/packages/perl.scm:327 msgid "" "@code{Array::Utils} is a small pure-perl module containing\n" "list manipulation routines." msgstr "" -#: gnu/packages/perl.scm:344 +#: gnu/packages/perl.scm:346 msgid "Allow C/XS libraries to interrupt perl asynchronously" msgstr "" -#: gnu/packages/perl.scm:346 +#: gnu/packages/perl.scm:348 msgid "" "@code{Async::Interrupt} implements a single feature only of interest\n" "to advanced perl modules, namely asynchronous interruptions (think \"UNIX\n" @@ -11494,11 +12069,11 @@ msgid "" "sometimes even without using a single syscall." msgstr "" -#: gnu/packages/perl.scm:376 +#: gnu/packages/perl.scm:378 msgid "Lexically disable autovivification" msgstr "" -#: gnu/packages/perl.scm:377 +#: gnu/packages/perl.scm:379 msgid "" "When an undefined variable is dereferenced, it gets silently\n" "upgraded to an array or hash reference (depending of the type of the\n" @@ -11512,19 +12087,19 @@ msgid "" "error when it would have happened." msgstr "" -#: gnu/packages/perl.scm:410 +#: gnu/packages/perl.scm:412 msgid "Disables bareword filehandles" msgstr "" -#: gnu/packages/perl.scm:411 +#: gnu/packages/perl.scm:413 msgid "This module disables bareword filehandles." msgstr "" -#: gnu/packages/perl.scm:428 gnu/packages/perl.scm:6862 +#: gnu/packages/perl.scm:430 gnu/packages/perl.scm:6861 msgid "Establish an ISA relationship with base classes at compile time" msgstr "" -#: gnu/packages/perl.scm:429 +#: gnu/packages/perl.scm:431 msgid "" "Allows you to both load one or more modules, while setting\n" "up inheritance from those modules at the same time. Unless you are using the\n" @@ -11532,11 +12107,11 @@ msgid "" "parent." msgstr "" -#: gnu/packages/perl.scm:449 +#: gnu/packages/perl.scm:451 msgid "Open a browser in a given URL" msgstr "" -#: gnu/packages/perl.scm:450 +#: gnu/packages/perl.scm:452 msgid "" "The functions exported by this module allow you to open URLs\n" "in the user's browser. A set of known commands per OS-name is tested for\n" @@ -11544,29 +12119,29 @@ msgid "" "all known commands are checked." msgstr "" -#: gnu/packages/perl.scm:475 +#: gnu/packages/perl.scm:477 msgid "Execute code after a scope finished compilation" msgstr "" -#: gnu/packages/perl.scm:476 +#: gnu/packages/perl.scm:478 msgid "" "This module allows you to execute code when perl finished\n" "compiling the surrounding scope." msgstr "" -#: gnu/packages/perl.scm:497 +#: gnu/packages/perl.scm:499 msgid "Wrap OP check callbacks" msgstr "" -#: gnu/packages/perl.scm:498 +#: gnu/packages/perl.scm:500 msgid "This module allows you to wrap OP check callbacks." msgstr "" -#: gnu/packages/perl.scm:515 +#: gnu/packages/perl.scm:517 msgid "Lists of reserved barewords and symbol names" msgstr "" -#: gnu/packages/perl.scm:516 +#: gnu/packages/perl.scm:518 msgid "" "@code{B::Keywords} supplies several arrays of exportable\n" "keywords: @code{@@Scalars, @@Arrays, @@Hashes, @@Filehandles, @@Symbols,\n" @@ -11574,11 +12149,11 @@ msgid "" "@@ExporterSymbols}." msgstr "" -#: gnu/packages/perl.scm:539 +#: gnu/packages/perl.scm:541 msgid "Benchmarking with statistical confidence" msgstr "" -#: gnu/packages/perl.scm:541 +#: gnu/packages/perl.scm:543 msgid "" "The Benchmark::Timer class allows you to time portions of code\n" "conveniently, as well as benchmark code by allowing timings of repeated\n" @@ -11587,11 +12162,11 @@ msgid "" "but don't want to go all out and profile your code." msgstr "" -#: gnu/packages/perl.scm:566 +#: gnu/packages/perl.scm:567 msgid "Bit vector library" msgstr "" -#: gnu/packages/perl.scm:567 +#: gnu/packages/perl.scm:568 msgid "" "Bit::Vector is an efficient C library which allows you to\n" "handle bit vectors, sets (of integers), \"big integer arithmetic\" and boolean\n" @@ -11601,62 +12176,62 @@ msgid "" "library can nevertheless be used stand-alone, without Perl." msgstr "" -#: gnu/packages/perl.scm:589 +#: gnu/packages/perl.scm:590 msgid "Boolean support for Perl" msgstr "" -#: gnu/packages/perl.scm:590 +#: gnu/packages/perl.scm:591 msgid "" "This module provides basic Boolean support, by defining two\n" "special objects: true and false." msgstr "" -#: gnu/packages/perl.scm:608 +#: gnu/packages/perl.scm:609 msgid "Data files for Business::ISBN" msgstr "" -#: gnu/packages/perl.scm:609 +#: gnu/packages/perl.scm:610 msgid "" "This package provides a data pack for @code{Business::ISBN}.\n" "These data are generated from the RangeMessage.xml file provided by the ISBN\n" "Agency." msgstr "" -#: gnu/packages/perl.scm:631 +#: gnu/packages/perl.scm:632 msgid "Work with International Standard Book Numbers" msgstr "" -#: gnu/packages/perl.scm:632 +#: gnu/packages/perl.scm:633 msgid "" "This modules provides tools to deal with International\n" "Standard Book Numbers, including ISBN-10 and ISBN-13." msgstr "" -#: gnu/packages/perl.scm:650 +#: gnu/packages/perl.scm:651 msgid "Work with International Standard Serial Numbers" msgstr "" -#: gnu/packages/perl.scm:651 +#: gnu/packages/perl.scm:652 msgid "" "This modules provides tools to deal with International\n" "Standard Serial Numbers." msgstr "" -#: gnu/packages/perl.scm:671 +#: gnu/packages/perl.scm:672 msgid "Work with International Standard Music Numbers" msgstr "" -#: gnu/packages/perl.scm:672 +#: gnu/packages/perl.scm:673 msgid "" "This modules provides tools to deal with International\n" "Standard Music Numbers." msgstr "" -#: gnu/packages/perl.scm:693 +#: gnu/packages/perl.scm:694 msgid "Cache interface for Perl" msgstr "Interface de cache pour Perl" -#: gnu/packages/perl.scm:694 +#: gnu/packages/perl.scm:695 msgid "" "The Cache modules are designed to assist a developer in\n" "persisting data for a specified period of time. Often these modules are used\n" @@ -11667,11 +12242,11 @@ msgid "" "easy to use abstraction of the file system or shared memory." msgstr "" -#: gnu/packages/perl.scm:717 +#: gnu/packages/perl.scm:718 msgid "Shared memory interprocess cache via mmap" msgstr "" -#: gnu/packages/perl.scm:718 +#: gnu/packages/perl.scm:719 msgid "" "A shared memory cache through an mmap'ed file. It's core is\n" "written in C for performance. It uses fcntl locking to ensure multiple\n" @@ -11679,11 +12254,11 @@ msgid "" "algorithm to keep the most used entries in the cache." msgstr "" -#: gnu/packages/perl.scm:739 +#: gnu/packages/perl.scm:740 msgid "Capture STDOUT and STDERR from Perl, XS or external programs" msgstr "" -#: gnu/packages/perl.scm:741 +#: gnu/packages/perl.scm:742 msgid "" "Capture::Tiny provides a simple, portable way to capture almost anything\n" "sent to STDOUT or STDERR, regardless of whether it comes from Perl, from XS\n" @@ -11691,21 +12266,21 @@ msgid "" "is captured while being passed through to the original file handles." msgstr "" -#: gnu/packages/perl.scm:760 +#: gnu/packages/perl.scm:761 msgid "Check compatibility with the installed perl version" msgstr "" -#: gnu/packages/perl.scm:762 +#: gnu/packages/perl.scm:763 msgid "" "This module is used by Schmorp's modules during configuration stage\n" "to test the installed perl for compatibility with his modules." msgstr "" -#: gnu/packages/perl.scm:780 +#: gnu/packages/perl.scm:781 msgid "Alternative warn and die for modules" msgstr "" -#: gnu/packages/perl.scm:781 +#: gnu/packages/perl.scm:782 msgid "" "The @code{Carp} routines are useful in your own modules\n" "because they act like @code{die()} or @code{warn()}, but with a message\n" @@ -11717,42 +12292,42 @@ msgid "" "but it is a good educated guess." msgstr "" -#: gnu/packages/perl.scm:807 +#: gnu/packages/perl.scm:808 msgid "Warns and dies noisily with stack backtraces/" msgstr "" -#: gnu/packages/perl.scm:808 +#: gnu/packages/perl.scm:809 msgid "" "This module is meant as a debugging aid. It can be used to\n" "make a script complain loudly with stack backtraces when @code{warn()}-ing or\n" "@code{die()}ing." msgstr "" -#: gnu/packages/perl.scm:827 +#: gnu/packages/perl.scm:828 msgid "Executable comments for Perl" msgstr "" -#: gnu/packages/perl.scm:828 +#: gnu/packages/perl.scm:829 msgid "" "Carp::Assert is intended for a purpose like the ANSI C\n" "library assert.h." msgstr "" -#: gnu/packages/perl.scm:850 +#: gnu/packages/perl.scm:851 msgid "Convenience wrappers around Carp::Assert" msgstr "" -#: gnu/packages/perl.scm:851 +#: gnu/packages/perl.scm:852 msgid "" "Carp::Assert::More is a set of handy assertion functions for\n" "Perl." msgstr "" -#: gnu/packages/perl.scm:871 +#: gnu/packages/perl.scm:872 msgid "Report errors from a \"clan\" of modules" msgstr "" -#: gnu/packages/perl.scm:872 +#: gnu/packages/perl.scm:873 msgid "" "This module allows errors from a clan (or family) of modules\n" "to appear to originate from the caller of the clan. This is necessary in\n" @@ -11760,29 +12335,29 @@ msgid "" "the Carp.pm module doesn't help." msgstr "" -#: gnu/packages/perl.scm:892 +#: gnu/packages/perl.scm:893 msgid "Read the CDDB entry for an audio CD in your drive" msgstr "" -#: gnu/packages/perl.scm:893 +#: gnu/packages/perl.scm:894 msgid "This module can retrieve information from the CDDB." msgstr "" -#: gnu/packages/perl.scm:915 +#: gnu/packages/perl.scm:916 msgid "Automated accessor generation" msgstr "" -#: gnu/packages/perl.scm:916 +#: gnu/packages/perl.scm:917 msgid "" "This module automagically generates accessors/mutators for\n" "your class." msgstr "" -#: gnu/packages/perl.scm:938 +#: gnu/packages/perl.scm:939 msgid "Faster, but less expandable, chained accessors" msgstr "" -#: gnu/packages/perl.scm:939 +#: gnu/packages/perl.scm:940 msgid "" "A chained accessor is one that always returns the object\n" "when called with parameters (to set), and the value of the field when called\n" @@ -11790,52 +12365,52 @@ msgid "" "the same mk_accessors interface." msgstr "" -#: gnu/packages/perl.scm:966 +#: gnu/packages/perl.scm:967 msgid "Build groups of accessors" msgstr "" -#: gnu/packages/perl.scm:967 +#: gnu/packages/perl.scm:968 msgid "" "This class lets you build groups of accessors that will call\n" "different getters and setters." msgstr "" -#: gnu/packages/perl.scm:987 +#: gnu/packages/perl.scm:988 msgid "Pragma to use the C3 method resolution order algorithm" msgstr "" -#: gnu/packages/perl.scm:988 +#: gnu/packages/perl.scm:989 msgid "" "This is pragma to change Perl 5's standard method resolution\n" "order from depth-first left-to-right (a.k.a - pre-order) to the more\n" "sophisticated C3 method resolution order." msgstr "" -#: gnu/packages/perl.scm:1012 +#: gnu/packages/perl.scm:1013 msgid "Drop-in replacement for NEXT" msgstr "" -#: gnu/packages/perl.scm:1013 +#: gnu/packages/perl.scm:1014 msgid "" "This module is intended as a drop-in replacement for NEXT,\n" "supporting the same interface, but using Class::C3 to do the hard work." msgstr "" -#: gnu/packages/perl.scm:1038 +#: gnu/packages/perl.scm:1039 msgid "Load mix-ins or components to your C3-based class" msgstr "" -#: gnu/packages/perl.scm:1039 +#: gnu/packages/perl.scm:1040 msgid "" "This module will inject base classes to your module using\n" "the Class::C3 method resolution order." msgstr "" -#: gnu/packages/perl.scm:1057 +#: gnu/packages/perl.scm:1058 msgid "Inheritable, overridable class data" msgstr "" -#: gnu/packages/perl.scm:1058 +#: gnu/packages/perl.scm:1059 msgid "" "Class::Data::Inheritable is for creating accessor/mutators\n" "to class data. That is, if you want to store something about your class as a\n" @@ -11843,21 +12418,21 @@ msgid "" "subclasses and can be overridden." msgstr "" -#: gnu/packages/perl.scm:1079 +#: gnu/packages/perl.scm:1080 msgid "Class for easy date and time manipulation" msgstr "" -#: gnu/packages/perl.scm:1080 +#: gnu/packages/perl.scm:1081 msgid "" "This module provides a general-purpose date and datetime\n" "type for perl." msgstr "" -#: gnu/packages/perl.scm:1097 +#: gnu/packages/perl.scm:1098 msgid "Base class for error handling" msgstr "" -#: gnu/packages/perl.scm:1099 +#: gnu/packages/perl.scm:1100 msgid "" "@code{Class::ErrorHandler} provides an error-handling mechanism that is generic\n" "enough to be used as the base class for a variety of OO classes. Subclasses inherit\n" @@ -11865,60 +12440,60 @@ msgid "" "to the calling program." msgstr "" -#: gnu/packages/perl.scm:1120 +#: gnu/packages/perl.scm:1121 msgid "Utility methods for factory classes" msgstr "" -#: gnu/packages/perl.scm:1121 +#: gnu/packages/perl.scm:1122 msgid "This module exports methods useful for factory classes." msgstr "" -#: gnu/packages/perl.scm:1138 +#: gnu/packages/perl.scm:1139 msgid "Get information about a class and its structure" msgstr "" -#: gnu/packages/perl.scm:1139 +#: gnu/packages/perl.scm:1140 msgid "" "Class::Inspector allows you to get information about a\n" "loaded class." msgstr "" -#: gnu/packages/perl.scm:1168 +#: gnu/packages/perl.scm:1169 msgid "Working (require \"Class::Name\") and more" msgstr "" -#: gnu/packages/perl.scm:1169 +#: gnu/packages/perl.scm:1170 msgid "" "\"require EXPR\" only accepts Class/Name.pm style module\n" "names, not Class::Name. For that, this module provides \"load_class\n" "'Class::Name'\"." msgstr "" -#: gnu/packages/perl.scm:1193 +#: gnu/packages/perl.scm:1194 msgid "XS implementation of parts of Class::Load" msgstr "" -#: gnu/packages/perl.scm:1194 +#: gnu/packages/perl.scm:1195 msgid "" "This module provides an XS implementation for portions of\n" "Class::Load." msgstr "" -#: gnu/packages/perl.scm:1213 +#: gnu/packages/perl.scm:1214 msgid "Create generic methods for OO Perl" msgstr "" -#: gnu/packages/perl.scm:1214 +#: gnu/packages/perl.scm:1215 msgid "" "This module solves the problem of having to continually\n" "write accessor methods for your objects that perform standard tasks." msgstr "" -#: gnu/packages/perl.scm:1235 +#: gnu/packages/perl.scm:1236 msgid "Moose-like method modifiers" msgstr "" -#: gnu/packages/perl.scm:1236 +#: gnu/packages/perl.scm:1237 msgid "" "Class::Method::Modifiers provides three modifiers: 'before',\n" "'around', and 'after'. 'before' and 'after' are run just before and after the\n" @@ -11927,42 +12502,42 @@ msgid "" "original method." msgstr "" -#: gnu/packages/perl.scm:1257 +#: gnu/packages/perl.scm:1258 msgid "Implementation of a singleton class for Perl" msgstr "" -#: gnu/packages/perl.scm:1258 +#: gnu/packages/perl.scm:1259 msgid "" "This module implements a Singleton class from which other\n" "classes can be derived. By itself, the Class::Singleton module does very\n" "little other than manage the instantiation of a single object." msgstr "" -#: gnu/packages/perl.scm:1277 +#: gnu/packages/perl.scm:1278 msgid "Minimalist class construction" msgstr "" -#: gnu/packages/perl.scm:1278 +#: gnu/packages/perl.scm:1279 msgid "" "This module offers a minimalist class construction kit. It\n" "uses no non-core modules for any recent Perl." msgstr "" -#: gnu/packages/perl.scm:1298 +#: gnu/packages/perl.scm:1299 msgid "Unload a class" msgstr "" -#: gnu/packages/perl.scm:1299 +#: gnu/packages/perl.scm:1300 msgid "" "Class:Unload unloads a given class by clearing out its\n" "symbol table and removing it from %INC." msgstr "" -#: gnu/packages/perl.scm:1317 +#: gnu/packages/perl.scm:1318 msgid "Generate fast XS accessors without runtime compilation" msgstr "" -#: gnu/packages/perl.scm:1318 +#: gnu/packages/perl.scm:1319 msgid "" "Class::XSAccessor implements fast read, write, and\n" "read/write accessors in XS. Additionally, it can provide predicates such as\n" @@ -11972,11 +12547,11 @@ msgid "" "arrays for their internal representation." msgstr "" -#: gnu/packages/perl.scm:1338 gnu/packages/perl.scm:1361 +#: gnu/packages/perl.scm:1339 gnu/packages/perl.scm:1361 msgid "Recursively copy Perl datatypes" msgstr "" -#: gnu/packages/perl.scm:1340 +#: gnu/packages/perl.scm:1341 msgid "" "This module provides a clone() method which makes recursive copies of\n" "nested hash, array, scalar and reference types, including tied variables and\n" @@ -12094,7 +12669,7 @@ msgstr "" msgid "JSON::XS for Cpanel" msgstr "" -#: gnu/packages/perl.scm:1587 gnu/packages/perl.scm:4490 +#: gnu/packages/perl.scm:1587 gnu/packages/perl.scm:4486 msgid "" "This module converts Perl data structures to JSON and vice\n" "versa." @@ -12565,11 +13140,23 @@ msgstr "" "Devel::CheckBin est un module perl qui vérifie si une commande\n" "particulière est disponible." -#: gnu/packages/perl.scm:2644 +#: gnu/packages/perl.scm:2645 +msgid "Check that a library is available" +msgstr "Vérifie qu'une bibliothèque est disponible" + +#: gnu/packages/perl.scm:2647 +msgid "" +"@code{Devel::CheckLib} is a Perl module that checks whether a particular\n" +"C library and its headers are available. You can also check for the presence of\n" +"particular functions in a library, or even that those functions return\n" +"particular results." +msgstr "" + +#: gnu/packages/perl.scm:2668 msgid "Check compiler availability" msgstr "Vérifie la disponibilité d'un compilateur" -#: gnu/packages/perl.scm:2645 +#: gnu/packages/perl.scm:2669 msgid "" "@code{Devel::CheckCompiler} is a tiny module to check\n" "whether a compiler is available. It can test for a C99 compiler, or\n" @@ -12580,22 +13167,22 @@ msgstr "" "C99 ou vous pouvez lui dire de compiler un fichier source C avec des\n" "drapeaux de l'éditeur de liens particuliers." -#: gnu/packages/perl.scm:2667 +#: gnu/packages/perl.scm:2691 msgid "Find memory cycles in objects" msgstr "" -#: gnu/packages/perl.scm:2669 +#: gnu/packages/perl.scm:2693 msgid "" "@code{Devel::Cycle} This is a tool for finding circular references in\n" "objects and other types of references. Because of Perl's reference-count\n" "based memory management, circular references will cause memory leaks." msgstr "" -#: gnu/packages/perl.scm:2690 +#: gnu/packages/perl.scm:2714 msgid "Provides equivalent of ${^GLOBAL_PHASE} eq 'DESTRUCT' for older perls" msgstr "Fournit un équivalent de ${^GLOBAL_PHASE} eq 'DESTRUCT' pour les perls plus vieux" -#: gnu/packages/perl.scm:2691 +#: gnu/packages/perl.scm:2715 msgid "" "Devel::GlobalDestruction provides a function returning the\n" "equivalent of \"$@{^GLOBAL_PHASE@} eq 'DESTRUCT'\" for older perls." @@ -12603,53 +13190,53 @@ msgstr "" "Devel::GlobalDestruction fournit une fonction qui renvoie l'équivalent\n" "de « $@{^GLOBAL_PHASE@} eq 'DESTRUCT' » pour les vieux perls." -#: gnu/packages/perl.scm:2712 +#: gnu/packages/perl.scm:2736 msgid "Forces the unavailability of specified Perl modules (for testing)" msgstr "" -#: gnu/packages/perl.scm:2713 +#: gnu/packages/perl.scm:2737 msgid "" "Given a list of Perl modules/filenames, this module makes\n" "@code{require} and @code{use} statements fail (no matter whether the specified\n" "files/modules are installed or not)." msgstr "" -#: gnu/packages/perl.scm:2734 +#: gnu/packages/perl.scm:2758 msgid "Alias lexical variables" msgstr "" -#: gnu/packages/perl.scm:2735 +#: gnu/packages/perl.scm:2759 msgid "" "Devel::LexAlias provides the ability to alias a lexical\n" "variable in a subroutines scope to one of your choosing." msgstr "" -#: gnu/packages/perl.scm:2759 +#: gnu/packages/perl.scm:2783 msgid "Introspect overloaded operators" msgstr "" -#: gnu/packages/perl.scm:2760 +#: gnu/packages/perl.scm:2784 msgid "" "Devel::OverloadInfo returns information about overloaded\n" "operators for a given class (or object), including where in the inheritance\n" "hierarchy the overloads are declared and where the code implementing it is." msgstr "" -#: gnu/packages/perl.scm:2787 +#: gnu/packages/perl.scm:2811 msgid "Partial dumping of data structures" msgstr "" -#: gnu/packages/perl.scm:2788 +#: gnu/packages/perl.scm:2812 msgid "" "This module is a data dumper optimized for logging of\n" "arbitrary parameters." msgstr "" -#: gnu/packages/perl.scm:2806 +#: gnu/packages/perl.scm:2830 msgid "Object representing a stack trace" msgstr "" -#: gnu/packages/perl.scm:2807 +#: gnu/packages/perl.scm:2831 msgid "" "The Devel::StackTrace module contains two classes,\n" "Devel::StackTrace and Devel::StackTrace::Frame. These objects encapsulate the\n" @@ -12657,11 +13244,11 @@ msgid "" "providing a simple interface to this data." msgstr "" -#: gnu/packages/perl.scm:2829 +#: gnu/packages/perl.scm:2853 msgid "Displays stack trace in HTML" msgstr "" -#: gnu/packages/perl.scm:2830 +#: gnu/packages/perl.scm:2854 msgid "" "Devel::StackTrace::AsHTML adds as_html method to\n" "Devel::StackTrace which displays the stack trace in beautiful HTML, with code\n" @@ -12670,29 +13257,29 @@ msgid "" "each stack frame." msgstr "" -#: gnu/packages/perl.scm:2851 +#: gnu/packages/perl.scm:2875 msgid "Dump symbol names or the symbol table" msgstr "" -#: gnu/packages/perl.scm:2852 +#: gnu/packages/perl.scm:2876 msgid "Devel::Symdump provides access to the perl symbol table." msgstr "" -#: gnu/packages/perl.scm:2869 +#: gnu/packages/perl.scm:2893 msgid "Keyed-Hashing for Message Authentication" msgstr "" -#: gnu/packages/perl.scm:2870 +#: gnu/packages/perl.scm:2894 msgid "" "The Digest::HMAC module follows the common Digest::\n" "interface for the RFC 2104 HMAC mechanism." msgstr "" -#: gnu/packages/perl.scm:2895 +#: gnu/packages/perl.scm:2919 msgid "Perl interface to the MD-5 algorithm" msgstr "" -#: gnu/packages/perl.scm:2897 +#: gnu/packages/perl.scm:2921 msgid "" "The @code{Digest::MD5} module allows you to use the MD5 Message Digest\n" "algorithm from within Perl programs. The algorithm takes as\n" @@ -12700,41 +13287,41 @@ msgid "" "128-bit \"fingerprint\" or \"message digest\" of the input." msgstr "" -#: gnu/packages/perl.scm:2915 +#: gnu/packages/perl.scm:2939 msgid "Perl implementation of the SHA-1 message digest algorithm" msgstr "" -#: gnu/packages/perl.scm:2917 +#: gnu/packages/perl.scm:2941 msgid "" "This package provides 'Digest::SHA1', an implementation of the NIST\n" "SHA-1 message digest algorithm for use by Perl programs." msgstr "" -#: gnu/packages/perl.scm:2939 +#: gnu/packages/perl.scm:2962 msgid "Declare version conflicts for your dist" msgstr "" -#: gnu/packages/perl.scm:2940 +#: gnu/packages/perl.scm:2963 msgid "" "This module allows you to specify conflicting versions of\n" "modules separately and deal with them after the module is done installing." msgstr "" -#: gnu/packages/perl.scm:2960 +#: gnu/packages/perl.scm:2983 msgid "Detect the encoding of data" msgstr "" -#: gnu/packages/perl.scm:2961 +#: gnu/packages/perl.scm:2984 msgid "" "This package provides a class @code{Encode::Detect} to detect\n" "the encoding of data." msgstr "" -#: gnu/packages/perl.scm:2979 +#: gnu/packages/perl.scm:3002 msgid "ASCII mapping for eucJP encoding" msgstr "" -#: gnu/packages/perl.scm:2980 +#: gnu/packages/perl.scm:3003 msgid "" "This package provides an ASCII mapping for the eucJP\n" "encoding." @@ -12742,21 +13329,21 @@ msgstr "" "Ce paquet fournit une correspondance entre ASCII et l'encodage\n" "eucJP." -#: gnu/packages/perl.scm:2998 +#: gnu/packages/perl.scm:3021 msgid "JIS X 0212 (aka JIS 2000) encodings" msgstr "" -#: gnu/packages/perl.scm:2999 +#: gnu/packages/perl.scm:3022 msgid "" "This package provides encodings for JIS X 0212, which is\n" "also known as JIS 2000." msgstr "" -#: gnu/packages/perl.scm:3022 +#: gnu/packages/perl.scm:3045 msgid "Additional Chinese encodings" msgstr "" -#: gnu/packages/perl.scm:3023 +#: gnu/packages/perl.scm:3046 msgid "" "This Perl module provides Chinese encodings that are not\n" "part of Perl by default, including \"BIG5-1984\", \"BIG5-2003\", \"BIG5PLUS\",\n" @@ -12764,11 +13351,11 @@ msgid "" "\"UNISYS\"." msgstr "" -#: gnu/packages/perl.scm:3045 +#: gnu/packages/perl.scm:3068 msgid "Advanced operations on path variables" msgstr "" -#: gnu/packages/perl.scm:3046 +#: gnu/packages/perl.scm:3069 msgid "" "@code{Env::Path} presents an object-oriented interface to\n" "path variables, defined as that subclass of environment variables which name\n" @@ -12776,11 +13363,11 @@ msgid "" "separator." msgstr "" -#: gnu/packages/perl.scm:3066 +#: gnu/packages/perl.scm:3089 msgid "OO-ish Error/Exception handling for Perl" msgstr "" -#: gnu/packages/perl.scm:3067 +#: gnu/packages/perl.scm:3090 msgid "" "The Error package provides two interfaces. Firstly Error\n" "provides a procedural interface to exception handling. Secondly Error is a\n" @@ -12788,11 +13375,11 @@ msgid "" "catch, or can simply be recorded." msgstr "" -#: gnu/packages/perl.scm:3092 +#: gnu/packages/perl.scm:3115 msgid "Safely and cleanly create closures via string eval" msgstr "" -#: gnu/packages/perl.scm:3093 +#: gnu/packages/perl.scm:3116 msgid "" "String eval is often used for dynamic code generation. For\n" "instance, Moose uses it heavily, to generate inlined versions of accessors and\n" @@ -12806,32 +13393,32 @@ msgid "" "errors are rethrown automatically." msgstr "" -#: gnu/packages/perl.scm:3122 +#: gnu/packages/perl.scm:3145 msgid "Allows you to declare real exception classes in Perl" msgstr "" -#: gnu/packages/perl.scm:3123 +#: gnu/packages/perl.scm:3146 msgid "" "Exception::Class allows you to declare exception hierarchies\n" "in your modules in a \"Java-esque\" manner." msgstr "" -#: gnu/packages/perl.scm:3139 +#: gnu/packages/perl.scm:3162 msgid "Lightweight exporting of functions and variables" msgstr "" -#: gnu/packages/perl.scm:3141 +#: gnu/packages/perl.scm:3164 msgid "" "Exporter::Lite is an alternative to Exporter, intended to provide a\n" "lightweight subset of the most commonly-used functionality. It supports\n" "import(), @@EXPORT and @@EXPORT_OK and not a whole lot else." msgstr "" -#: gnu/packages/perl.scm:3161 +#: gnu/packages/perl.scm:3184 msgid "Exporter with the features of Sub::Exporter but only core dependencies" msgstr "" -#: gnu/packages/perl.scm:3162 +#: gnu/packages/perl.scm:3185 msgid "" "Exporter::Tiny supports many of Sub::Exporter's\n" "external-facing features including renaming imported functions with the `-as`,\n" @@ -12840,38 +13427,32 @@ msgid "" "only about 40% as many lines of code and with zero non-core dependencies." msgstr "" -#: gnu/packages/perl.scm:3188 gnu/packages/perl.scm:3249 -msgid "Easily build XS extensions that depend on XS extensions" -msgstr "" - -#: gnu/packages/perl.scm:3189 -msgid "" -"ExtUtils::Depends builds XS extensions that depend on XS\n" -"extensions" -msgstr "" - -#: gnu/packages/perl.scm:3209 +#: gnu/packages/perl.scm:3208 msgid "Build.PL install path logic made easy" msgstr "" -#: gnu/packages/perl.scm:3210 +#: gnu/packages/perl.scm:3209 msgid "" "This module tries to make install path resolution as easy as\n" "possible." msgstr "" -#: gnu/packages/perl.scm:3228 +#: gnu/packages/perl.scm:3227 msgid "Wrapper for perl's configuration" msgstr "" -#: gnu/packages/perl.scm:3229 +#: gnu/packages/perl.scm:3228 msgid "" "ExtUtils::Config is an abstraction around the %Config hash.\n" "By itself it is not a particularly interesting module by any measure, however\n" "it ties together a family of modern toolchain modules." msgstr "" -#: gnu/packages/perl.scm:3251 +#: gnu/packages/perl.scm:3248 +msgid "Easily build XS extensions that depend on XS extensions" +msgstr "" + +#: gnu/packages/perl.scm:3250 msgid "" "This module tries to make it easy to build Perl extensions that use\n" "functions and typemaps provided by other perl extensions. This means that a\n" @@ -12879,21 +13460,21 @@ msgid "" "XS interface besides the perl one." msgstr "" -#: gnu/packages/perl.scm:3271 +#: gnu/packages/perl.scm:3270 msgid "Various portability utilities for module builders" msgstr "" -#: gnu/packages/perl.scm:3272 +#: gnu/packages/perl.scm:3271 msgid "" "This module provides various portable helper functions for\n" "module building modules." msgstr "" -#: gnu/packages/perl.scm:3292 +#: gnu/packages/perl.scm:3291 msgid "Tool to build C libraries" msgstr "" -#: gnu/packages/perl.scm:3293 +#: gnu/packages/perl.scm:3292 msgid "" "Some Perl modules need to ship C libraries together with\n" "their Perl code. Although there are mechanisms to compile and link (or glue)\n" @@ -12901,11 +13482,11 @@ msgid "" "self-contained C libraries. This module main goal is to help in that task." msgstr "" -#: gnu/packages/perl.scm:3314 +#: gnu/packages/perl.scm:3313 msgid "Simplistic interface to pkg-config" msgstr "" -#: gnu/packages/perl.scm:3316 +#: gnu/packages/perl.scm:3315 msgid "" "@code{ExtUtils::PkgConfig} is a very simplistic interface to the\n" "@command{pkg-config} utility, intended for use in the @file{Makefile.PL}\n" @@ -12913,21 +13494,21 @@ msgid "" "It is really just boilerplate code that you would have written yourself." msgstr "" -#: gnu/packages/perl.scm:3348 +#: gnu/packages/perl.scm:3347 msgid "Watch for changes to files" msgstr "" -#: gnu/packages/perl.scm:3349 +#: gnu/packages/perl.scm:3348 msgid "" "This module provides a class to monitor a directory for\n" "changes made to any file." msgstr "" -#: gnu/packages/perl.scm:3370 +#: gnu/packages/perl.scm:3369 msgid "Get directories of configuration files" msgstr "" -#: gnu/packages/perl.scm:3371 +#: gnu/packages/perl.scm:3370 msgid "" "This module is a helper for installing, reading and finding\n" "configuration file locations. @code{File::ConfigDir} is a module to help out\n" @@ -12935,44 +13516,44 @@ msgid "" "configuration files from more than one location." msgstr "" -#: gnu/packages/perl.scm:3391 +#: gnu/packages/perl.scm:3390 msgid "Recursively copy files and directories" msgstr "" -#: gnu/packages/perl.scm:3392 +#: gnu/packages/perl.scm:3391 msgid "" "This module has 3 functions: one to copy files only, one to\n" "copy directories only, and one to do either depending on the argument's\n" "type." msgstr "" -#: gnu/packages/perl.scm:3414 +#: gnu/packages/perl.scm:3413 msgid "Alternative interface to File::Find" msgstr "" -#: gnu/packages/perl.scm:3415 +#: gnu/packages/perl.scm:3414 msgid "" "File::Find::Rule is a friendlier interface to File::Find.\n" "It allows you to build rules which specify the desired files and\n" "directories." msgstr "" -#: gnu/packages/perl.scm:3438 +#: gnu/packages/perl.scm:3437 msgid "Common rules for searching for Perl things" msgstr "" -#: gnu/packages/perl.scm:3439 +#: gnu/packages/perl.scm:3438 msgid "" "File::Find::Rule::Perl provides methods for finding various\n" "types Perl-related files, or replicating search queries run on a distribution\n" "in various parts of the CPAN ecosystem." msgstr "" -#: gnu/packages/perl.scm:3460 +#: gnu/packages/perl.scm:3459 msgid "Matches patterns in a series of files" msgstr "" -#: gnu/packages/perl.scm:3461 +#: gnu/packages/perl.scm:3460 msgid "" "@code{File::Grep} provides similar functionality as perl's\n" "builtin @code{grep}, @code{map}, and @code{foreach} commands, but iterating\n" @@ -12980,11 +13561,11 @@ msgid "" "provide a quick dropin when such functionality is needed." msgstr "" -#: gnu/packages/perl.scm:3484 +#: gnu/packages/perl.scm:3483 msgid "Find your home and other directories on any platform" msgstr "" -#: gnu/packages/perl.scm:3485 +#: gnu/packages/perl.scm:3484 msgid "" "File::HomeDir is a module for locating the directories that\n" "are \"owned\" by a user (typically your user) and to solve the various issues\n" @@ -12992,22 +13573,22 @@ msgid "" "platforms." msgstr "" -#: gnu/packages/perl.scm:3507 +#: gnu/packages/perl.scm:3506 msgid "Create or remove directory trees" msgstr "" -#: gnu/packages/perl.scm:3508 +#: gnu/packages/perl.scm:3507 msgid "" "This module provide a convenient way to create directories\n" "of arbitrary depth and to delete an entire directory subtree from the\n" "file system." msgstr "" -#: gnu/packages/perl.scm:3531 +#: gnu/packages/perl.scm:3530 msgid "Change directory temporarily for a limited scope" msgstr "" -#: gnu/packages/perl.scm:3532 +#: gnu/packages/perl.scm:3531 msgid "" "@code{File::pushd} does a temporary @code{chdir} that is\n" "easily and automatically reverted, similar to @code{pushd} in some Unix\n" @@ -13018,24 +13599,24 @@ msgid "" "at the end of the scope." msgstr "" -#: gnu/packages/perl.scm:3560 +#: gnu/packages/perl.scm:3559 msgid "" "Perl extension for crawling directory trees and compiling\n" "lists of files" msgstr "" -#: gnu/packages/perl.scm:3563 +#: gnu/packages/perl.scm:3562 msgid "" "The File::List module crawls the directory tree starting at the\n" "provided base directory and can return files (and/or directories if desired)\n" "matching a regular expression." msgstr "" -#: gnu/packages/perl.scm:3584 +#: gnu/packages/perl.scm:3583 msgid "Read a file backwards by lines" msgstr "" -#: gnu/packages/perl.scm:3585 +#: gnu/packages/perl.scm:3584 msgid "" "This module reads a file backwards line by line. It is\n" "simple to use, memory efficient and fast. It supports both an object and a\n" @@ -13047,11 +13628,11 @@ msgid "" "the input record separator string on a per file basis." msgstr "" -#: gnu/packages/perl.scm:3609 +#: gnu/packages/perl.scm:3608 msgid "Remove files and directories in Perl" msgstr "" -#: gnu/packages/perl.scm:3610 +#: gnu/packages/perl.scm:3609 msgid "" "File::Remove::remove removes files and directories. It acts\n" "like /bin/rm, for the most part. Although \"unlink\" can be given a list of\n" @@ -13059,11 +13640,11 @@ msgid "" "accepts wildcards, * and ?, as arguments for file names." msgstr "" -#: gnu/packages/perl.scm:3634 +#: gnu/packages/perl.scm:3633 msgid "Locate per-dist and per-module shared files" msgstr "" -#: gnu/packages/perl.scm:3635 +#: gnu/packages/perl.scm:3634 msgid "" "The intent of File::ShareDir is to provide a companion to\n" "Class::Inspector and File::HomeDir. Quite often you want or need your Perl\n" @@ -13073,93 +13654,93 @@ msgid "" "the installation." msgstr "" -#: gnu/packages/perl.scm:3657 +#: gnu/packages/perl.scm:3656 msgid "Locate per-dist shared files" msgstr "" -#: gnu/packages/perl.scm:3658 +#: gnu/packages/perl.scm:3657 msgid "" "File::ShareDir::Dist finds share directories for\n" "distributions. It is a companion module to File::ShareDir." msgstr "" -#: gnu/packages/perl.scm:3678 +#: gnu/packages/perl.scm:3677 msgid "Install shared files" msgstr "" -#: gnu/packages/perl.scm:3679 +#: gnu/packages/perl.scm:3678 msgid "" "File::ShareDir::Install allows you to install read-only data\n" "files from a distribution. It is a companion module to File::ShareDir, which\n" "allows you to locate these files after installation." msgstr "" -#: gnu/packages/perl.scm:3698 +#: gnu/packages/perl.scm:3697 msgid "Reading/Writing/Modifying of complete files" msgstr "" -#: gnu/packages/perl.scm:3699 +#: gnu/packages/perl.scm:3698 msgid "" "File::Slurp provides subroutines to read or write entire\n" "files with a simple call. It also has a subroutine for reading the list of\n" "file names in a directory." msgstr "" -#: gnu/packages/perl.scm:3722 +#: gnu/packages/perl.scm:3721 msgid "Simple, sane and efficient module to slurp a file" msgstr "" -#: gnu/packages/perl.scm:3723 +#: gnu/packages/perl.scm:3722 msgid "" "This module provides functions for fast and correct file\n" "slurping and spewing. All functions are optionally exported." msgstr "" -#: gnu/packages/perl.scm:3740 +#: gnu/packages/perl.scm:3739 msgid "Simple file reader and writer" msgstr "" -#: gnu/packages/perl.scm:3742 +#: gnu/packages/perl.scm:3741 msgid "This module provides functions for fast reading and writing of files." msgstr "" -#: gnu/packages/perl.scm:3761 +#: gnu/packages/perl.scm:3760 msgid "Return name and handle of a temporary file safely" msgstr "" -#: gnu/packages/perl.scm:3762 +#: gnu/packages/perl.scm:3761 msgid "" "File::Temp can be used to create and open temporary files in\n" "a safe way." msgstr "" -#: gnu/packages/perl.scm:3779 +#: gnu/packages/perl.scm:3778 msgid "Portable implementation of the `which' utility" msgstr "" -#: gnu/packages/perl.scm:3781 +#: gnu/packages/perl.scm:3780 msgid "" "File::Which was created to be able to get the paths to executable\n" "programs on systems under which the `which' program wasn't implemented in the\n" "shell." msgstr "" -#: gnu/packages/perl.scm:3804 +#: gnu/packages/perl.scm:3802 msgid "Extended Unix style glob functionality" msgstr "" -#: gnu/packages/perl.scm:3805 +#: gnu/packages/perl.scm:3803 msgid "" "@code{File::Zglob} provides a traditional Unix @code{glob}\n" "functionality; it returns a list of file names that match the given pattern.\n" "For instance, it supports the @code{**/*.pm} form." msgstr "" -#: gnu/packages/perl.scm:3824 +#: gnu/packages/perl.scm:3822 msgid "Module to handle parsing command line options" msgstr "" -#: gnu/packages/perl.scm:3825 +#: gnu/packages/perl.scm:3823 msgid "" "The @code{Getopt::Long} module implements an extended getopt\n" "function called @code{GetOptions()}. It parses the command line from\n" @@ -13173,11 +13754,11 @@ msgid "" "single-letter approach, is provided but not enabled by default." msgstr "" -#: gnu/packages/perl.scm:3859 +#: gnu/packages/perl.scm:3857 msgid "Getopt::Long, but simpler and more powerful" msgstr "" -#: gnu/packages/perl.scm:3860 +#: gnu/packages/perl.scm:3858 msgid "" "Getopt::Long::Descriptive is yet another Getopt library.\n" "It's built atop Getopt::Long, and gets a lot of its features, but tries to\n" @@ -13185,31 +13766,31 @@ msgid "" "usage (help) messages, data validation, and a few other useful features." msgstr "" -#: gnu/packages/perl.scm:3878 +#: gnu/packages/perl.scm:3876 msgid "Table-driven argument parsing for Perl" msgstr "" -#: gnu/packages/perl.scm:3880 +#: gnu/packages/perl.scm:3878 msgid "" "Getopt::Tabular is a Perl 5 module for table-driven argument parsing,\n" "vaguely inspired by John Ousterhout's Tk_ParseArgv." msgstr "" -#: gnu/packages/perl.scm:3902 +#: gnu/packages/perl.scm:3899 msgid "Graph data structures and algorithms" msgstr "" -#: gnu/packages/perl.scm:3903 +#: gnu/packages/perl.scm:3900 msgid "" "This is @code{Graph}, a Perl module for dealing with graphs,\n" "the abstract data structures." msgstr "" -#: gnu/packages/perl.scm:3920 +#: gnu/packages/perl.scm:3917 msgid "Safe cleanup blocks implemented as guards" msgstr "" -#: gnu/packages/perl.scm:3921 +#: gnu/packages/perl.scm:3918 msgid "" "@code{Guard} implements so-called @dfn{guards}. A guard is\n" "something (usually an object) that \"guards\" a resource, ensuring that it is\n" @@ -13220,11 +13801,11 @@ msgid "" "which are tied to the scope exit." msgstr "" -#: gnu/packages/perl.scm:3957 +#: gnu/packages/perl.scm:3954 msgid "Lightweight field hash for inside-out objects" msgstr "" -#: gnu/packages/perl.scm:3958 +#: gnu/packages/perl.scm:3955 msgid "" "@code{Hash::FieldHash} provides the field hash mechanism\n" "which supports the inside-out technique. It is an alternative to\n" @@ -13232,11 +13813,11 @@ msgid "" "relic support." msgstr "" -#: gnu/packages/perl.scm:3978 +#: gnu/packages/perl.scm:3975 msgid "Merge arbitrarily deep hashes into a single hash" msgstr "" -#: gnu/packages/perl.scm:3979 +#: gnu/packages/perl.scm:3976 msgid "" "Hash::Merge merges two arbitrarily deep hashes into a single\n" "hash. That is, at any level, it will add non-conflicting key-value pairs from\n" @@ -13246,21 +13827,21 @@ msgid "" "merged." msgstr "" -#: gnu/packages/perl.scm:4001 +#: gnu/packages/perl.scm:3998 msgid "Store multiple values per key" msgstr "" -#: gnu/packages/perl.scm:4002 +#: gnu/packages/perl.scm:3999 msgid "" "Hash::MultiValue is an object (and a plain hash reference)\n" "that may contain multiple values per key, inspired by MultiDict of WebOb." msgstr "" -#: gnu/packages/perl.scm:4020 +#: gnu/packages/perl.scm:4017 msgid "Alternative but compatible interface to modules that export symbols" msgstr "" -#: gnu/packages/perl.scm:4021 +#: gnu/packages/perl.scm:4018 msgid "" "This module acts as a layer between Exporter and modules which\n" "consume exports. It is feature-compatible with Exporter, plus some much needed\n" @@ -13270,11 +13851,11 @@ msgid "" "variables." msgstr "" -#: gnu/packages/perl.scm:4045 +#: gnu/packages/perl.scm:4042 msgid "Import packages into other packages" msgstr "" -#: gnu/packages/perl.scm:4046 +#: gnu/packages/perl.scm:4043 msgid "" "Writing exporters is a pain. Some use Exporter, some use\n" "Sub::Exporter, some use Moose::Exporter, some use Exporter::Declare ... and\n" @@ -13284,30 +13865,30 @@ msgid "" "compilation. Import::Into provides global methods to make this painless." msgstr "" -#: gnu/packages/perl.scm:4068 +#: gnu/packages/perl.scm:4065 msgid "Use modules in inc/ if newer than installed" msgstr "" -#: gnu/packages/perl.scm:4069 +#: gnu/packages/perl.scm:4066 msgid "" "The inc::latest module helps bootstrap configure-time\n" "dependencies for CPAN distributions. These dependencies get bundled into the\n" "inc directory within a distribution and are used by Makefile.PL or Build.PL." msgstr "" -#: gnu/packages/perl.scm:4089 +#: gnu/packages/perl.scm:4086 msgid "Lexically warn about using the indirect method call syntax" msgstr "" -#: gnu/packages/perl.scm:4091 +#: gnu/packages/perl.scm:4088 msgid "Indirect warns about using the indirect method call syntax." msgstr "" -#: gnu/packages/perl.scm:4111 +#: gnu/packages/perl.scm:4108 msgid "Write Perl subroutines in other programming languages" msgstr "Écrire des sous-routines Perl dans d'autres langages de programmation" -#: gnu/packages/perl.scm:4112 +#: gnu/packages/perl.scm:4109 msgid "" "The @code{Inline} module allows you to put source code\n" "from other programming languages directly (inline) in a Perl script or\n" @@ -13315,11 +13896,11 @@ msgid "" "for immediate access from Perl." msgstr "" -#: gnu/packages/perl.scm:4142 +#: gnu/packages/perl.scm:4139 msgid "C Language Support for Inline" msgstr "" -#: gnu/packages/perl.scm:4143 +#: gnu/packages/perl.scm:4140 msgid "" "The @code{Inline::C} module allows you to write Perl\n" "subroutines in C. Since version 0.30 the @code{Inline} module supports\n" @@ -13328,11 +13909,11 @@ msgid "" "It also goes a bit into Perl C internals." msgstr "" -#: gnu/packages/perl.scm:4169 +#: gnu/packages/perl.scm:4166 msgid "@code{IO::All} to Larry Wall!" msgstr "" -#: gnu/packages/perl.scm:4170 +#: gnu/packages/perl.scm:4167 msgid "" "@code{IO::All} combines all of the best Perl IO modules into\n" "a single nifty object oriented interface to greatly simplify your everyday\n" @@ -13340,11 +13921,11 @@ msgid "" "@code{IO::All} object. And that object can do it all!" msgstr "" -#: gnu/packages/perl.scm:4192 +#: gnu/packages/perl.scm:4189 msgid "Capture STDOUT and STDERR from Perl code, subprocesses or XS" msgstr "" -#: gnu/packages/perl.scm:4193 +#: gnu/packages/perl.scm:4190 msgid "" "@code{IO::CaptureOutput} provides routines for capturing\n" "@code{STDOUT} and @code{STDERR} from perl subroutines, forked system\n" @@ -13354,43 +13935,43 @@ msgid "" "try @code{Capture::Tiny} instead." msgstr "" -#: gnu/packages/perl.scm:4215 +#: gnu/packages/perl.scm:4212 msgid "Utilities for interactive I/O" msgstr "" -#: gnu/packages/perl.scm:4216 +#: gnu/packages/perl.scm:4213 msgid "" "This module provides three utility subroutines that make it\n" "easier to develop interactive applications: is_interactive(), interactive(),\n" "and busy()." msgstr "" -#: gnu/packages/perl.scm:4235 +#: gnu/packages/perl.scm:4232 msgid "Emulate file interface for in-core strings" msgstr "" -#: gnu/packages/perl.scm:4236 +#: gnu/packages/perl.scm:4233 msgid "" "IO::String is an IO::File (and IO::Handle) compatible class\n" "that reads or writes data from in-core strings." msgstr "" -#: gnu/packages/perl.scm:4254 +#: gnu/packages/perl.scm:4251 msgid "IO:: interface for reading/writing an array of lines" msgstr "" -#: gnu/packages/perl.scm:4255 +#: gnu/packages/perl.scm:4252 msgid "" "This toolkit primarily provides modules for performing both\n" "traditional and object-oriented i/o) on things *other* than normal\n" "filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines." msgstr "" -#: gnu/packages/perl.scm:4273 +#: gnu/packages/perl.scm:4270 msgid "Perl interface to pseudo ttys" msgstr "" -#: gnu/packages/perl.scm:4275 +#: gnu/packages/perl.scm:4272 msgid "" "This package provides the 'IO::Pty' and 'IO::Tty' Perl interfaces to\n" "pseudo ttys." @@ -13398,22 +13979,22 @@ msgstr "" "Ce paquet fournit les interfaces Perl « IO::Pty » et « IO::Tty » avec\n" "les pseudo tty." -#: gnu/packages/perl.scm:4293 +#: gnu/packages/perl.scm:4290 msgid "Run interactive command-line programs" msgstr "" -#: gnu/packages/perl.scm:4294 +#: gnu/packages/perl.scm:4291 msgid "" "@code{IPC::Cmd} allows for the searching and execution of\n" "any binary on your system. It adheres to verbosity settings and is able to\n" "run interactively. It also has an option to capture output/error buffers." msgstr "" -#: gnu/packages/perl.scm:4323 +#: gnu/packages/perl.scm:4320 msgid "Run system() and background procs w/ piping, redirs, ptys" msgstr "" -#: gnu/packages/perl.scm:4324 +#: gnu/packages/perl.scm:4321 msgid "" "IPC::Run allows you run and interact with child processes\n" "using files, pipes, and pseudo-ttys. Both system()-style and scripted usages\n" @@ -13421,11 +14002,11 @@ msgid "" "both supported and may be mixed." msgstr "" -#: gnu/packages/perl.scm:4342 +#: gnu/packages/perl.scm:4339 msgid "Run a subprocess with input/output redirection" msgstr "" -#: gnu/packages/perl.scm:4344 +#: gnu/packages/perl.scm:4341 msgid "" "The IPC::Run3 module allows you to run a subprocess and redirect stdin,\n" "stdout, and/or stderr to files and perl data structures. It aims to satisfy\n" @@ -13433,21 +14014,21 @@ msgid "" "Perlish API and none of the bloat and rarely used features of IPC::Run." msgstr "" -#: gnu/packages/perl.scm:4368 +#: gnu/packages/perl.scm:4364 msgid "Lightweight interface to shared memory" msgstr "Interface légère pour la mémoire partagée" -#: gnu/packages/perl.scm:4369 +#: gnu/packages/perl.scm:4365 msgid "" "IPC::ShareLite provides a simple interface to shared memory,\n" "allowing data to be efficiently communicated between processes." msgstr "" -#: gnu/packages/perl.scm:4387 +#: gnu/packages/perl.scm:4383 msgid "Run commands simply, with detailed diagnostics" msgstr "" -#: gnu/packages/perl.scm:4388 +#: gnu/packages/perl.scm:4384 msgid "" "Calling Perl's in-built @code{system} function is easy,\n" "determining if it was successful is hard. Let's face it, @code{$?} isn't the\n" @@ -13458,21 +14039,21 @@ msgid "" "commands." msgstr "" -#: gnu/packages/perl.scm:4413 +#: gnu/packages/perl.scm:4409 msgid "JSON encoder/decoder for Perl" msgstr "" -#: gnu/packages/perl.scm:4414 +#: gnu/packages/perl.scm:4410 msgid "" "This module converts Perl data structures to JSON and vice\n" "versa using either JSON::XS or JSON::PP." msgstr "" -#: gnu/packages/perl.scm:4439 +#: gnu/packages/perl.scm:4435 msgid "Wrapper for Perl JSON classes" msgstr "" -#: gnu/packages/perl.scm:4441 +#: gnu/packages/perl.scm:4437 msgid "" "This module tries to provide a coherent API to bring together the\n" "various JSON modules currently on CPAN. This module will allow you to code to\n" @@ -13480,11 +14061,11 @@ msgid "" "installed." msgstr "" -#: gnu/packages/perl.scm:4465 +#: gnu/packages/perl.scm:4461 msgid "Cpanel::JSON::XS with fallback" msgstr "" -#: gnu/packages/perl.scm:4466 +#: gnu/packages/perl.scm:4462 msgid "" "This module first checks to see if either Cpanel::JSON::XS\n" "or JSON::XS is already loaded, in which case it uses that module. Otherwise\n" @@ -13492,23 +14073,23 @@ msgid "" "either uses the first module it finds or throws an error." msgstr "" -#: gnu/packages/perl.scm:4489 +#: gnu/packages/perl.scm:4485 msgid "JSON serialising/deserialising for Perl" msgstr "" -#: gnu/packages/perl.scm:4512 +#: gnu/packages/perl.scm:4508 msgid "Prevent leakage of lexical hints" msgstr "" -#: gnu/packages/perl.scm:4514 +#: gnu/packages/perl.scm:4510 msgid "Lexical::SealRequireHints prevents leakage of lexical hints" msgstr "" -#: gnu/packages/perl.scm:4531 +#: gnu/packages/perl.scm:4527 msgid "Bringing loggers and listeners together" msgstr "" -#: gnu/packages/perl.scm:4532 +#: gnu/packages/perl.scm:4528 msgid "" "@code{Log::Any} provides a standard log production API for\n" "modules. @code{Log::Any::Adapter} allows applications to choose the mechanism\n" @@ -13526,32 +14107,32 @@ msgid "" "logging mechanism." msgstr "" -#: gnu/packages/perl.scm:4568 +#: gnu/packages/perl.scm:4564 msgid "Log::Any adapter for Log::Log4perl" msgstr "" -#: gnu/packages/perl.scm:4569 +#: gnu/packages/perl.scm:4565 msgid "" "@code{Log::Any::Adapter::Log4perl} provides a\n" "@code{Log::Any} adapter using @code{Log::Log4perl} for logging." msgstr "" -#: gnu/packages/perl.scm:4590 +#: gnu/packages/perl.scm:4586 msgid "Log4j implementation for Perl" msgstr "" -#: gnu/packages/perl.scm:4591 +#: gnu/packages/perl.scm:4587 msgid "" "@code{Log::Log4perl} lets you remote-control and fine-tune\n" "the logging behaviour of your system from the outside. It implements the\n" "widely popular (Java-based) Log4j logging package in pure Perl." msgstr "" -#: gnu/packages/perl.scm:4611 +#: gnu/packages/perl.scm:4607 msgid "Log::Report in the lightest form" msgstr "" -#: gnu/packages/perl.scm:4613 +#: gnu/packages/perl.scm:4609 msgid "" "This module allows libraries to have a dependency to a small module\n" "instead of the full Log-Report distribution. The full power of\n" @@ -13561,81 +14142,81 @@ msgid "" "version." msgstr "" -#: gnu/packages/perl.scm:4638 +#: gnu/packages/perl.scm:4634 msgid "Get messages to users and logs" msgstr "" -#: gnu/packages/perl.scm:4640 +#: gnu/packages/perl.scm:4636 msgid "" "@code{Log::Report} combines three tasks which are closely related in\n" "one: logging, exceptions, and translations." msgstr "" -#: gnu/packages/perl.scm:4669 +#: gnu/packages/perl.scm:4665 msgid "High-level interface to Uniforum message translation" msgstr "" -#: gnu/packages/perl.scm:4670 +#: gnu/packages/perl.scm:4666 msgid "" "This package is an internationalization library for Perl\n" "that aims to be compatible with the Uniforum message translations system as\n" "implemented for example in GNU gettext." msgstr "" -#: gnu/packages/perl.scm:4689 +#: gnu/packages/perl.scm:4685 msgid "Transliterate text between writing systems" msgstr "" -#: gnu/packages/perl.scm:4690 +#: gnu/packages/perl.scm:4686 msgid "" "@code{Lingua::Translit} can be used to convert text from one\n" "writing system to another, based on national or international transliteration\n" "tables. Where possible a reverse transliteration is supported." msgstr "" -#: gnu/packages/perl.scm:4714 +#: gnu/packages/perl.scm:4710 msgid "Combination of List::Util and List::MoreUtils" msgstr "" -#: gnu/packages/perl.scm:4715 +#: gnu/packages/perl.scm:4711 msgid "" "This module exports all of the functions that either\n" "List::Util or List::MoreUtils defines, with preference to List::Util." msgstr "" -#: gnu/packages/perl.scm:4737 +#: gnu/packages/perl.scm:4733 msgid "Compare elements of two or more lists" msgstr "" -#: gnu/packages/perl.scm:4738 +#: gnu/packages/perl.scm:4734 msgid "" "@code{List::Compare} provides a module to perform\n" "comparative operations on two or more lists. Provided operations include\n" "intersections, unions, unique elements, complements and many more." msgstr "" -#: gnu/packages/perl.scm:4773 gnu/packages/perl.scm:4824 +#: gnu/packages/perl.scm:4769 gnu/packages/perl.scm:4820 msgid "Provide the stuff missing in List::Util" msgstr "" -#: gnu/packages/perl.scm:4774 +#: gnu/packages/perl.scm:4770 msgid "" "List::MoreUtils provides some trivial but commonly needed\n" "functionality on lists which is not going to go into List::Util." msgstr "" -#: gnu/packages/perl.scm:4796 +#: gnu/packages/perl.scm:4792 msgid "Provide the stuff missing in List::Util in XS" msgstr "" -#: gnu/packages/perl.scm:4797 +#: gnu/packages/perl.scm:4793 msgid "" "@code{List::MoreUtils::XS} provides some trivial but\n" "commonly needed functionality on lists which is not going to go into\n" "@code{List::Util}." msgstr "" -#: gnu/packages/perl.scm:4825 +#: gnu/packages/perl.scm:4821 msgid "" "@code{List::SomeUtils} provides some trivial but commonly\n" "needed functionality on lists which is not going to go into @code{List::Util}.\n" @@ -13647,11 +14228,11 @@ msgid "" "portions of this module couldn't be compiled on this machine." msgstr "" -#: gnu/packages/perl.scm:4854 +#: gnu/packages/perl.scm:4850 msgid "Bundle of ancient email modules" msgstr "" -#: gnu/packages/perl.scm:4855 +#: gnu/packages/perl.scm:4851 msgid "" "MailTools contains the following modules:\n" "@table @asis\n" @@ -13678,85 +14259,85 @@ msgid "" "@end table" msgstr "" -#: gnu/packages/perl.scm:4894 +#: gnu/packages/perl.scm:4890 msgid "Solution of bezier curves" msgstr "" -#: gnu/packages/perl.scm:4895 +#: gnu/packages/perl.scm:4891 msgid "" "This module implements the algorithm for the solution of Bezier\n" "curves as presented by Robert D Miller in Graphics Gems V, \"Quick and Simple\n" "Bezier Curve Drawing\"." msgstr "" -#: gnu/packages/perl.scm:4914 +#: gnu/packages/perl.scm:4910 msgid "Perl extension for rounding numbers" msgstr "Extension Perl pour arrondir des nombres" -#: gnu/packages/perl.scm:4915 +#: gnu/packages/perl.scm:4911 msgid "" "@code{Math::Round} provides functions to round numbers,\n" "both positive and negative, in various ways." msgstr "" -#: gnu/packages/perl.scm:4933 +#: gnu/packages/perl.scm:4929 msgid "Make functions faster by trading space for time" msgstr "" -#: gnu/packages/perl.scm:4934 +#: gnu/packages/perl.scm:4930 msgid "" "This package transparently speeds up functions by caching\n" "return values, trading space for time." msgstr "" -#: gnu/packages/perl.scm:4952 +#: gnu/packages/perl.scm:4948 msgid "Expiry plug-in for Memoize that adds LRU cache expiration" msgstr "" -#: gnu/packages/perl.scm:4953 +#: gnu/packages/perl.scm:4949 msgid "" "This module implements an expiry policy for Memoize that\n" "follows LRU semantics, that is, the last n results, where n is specified as\n" "the argument to the CACHESIZE parameter, will be cached." msgstr "" -#: gnu/packages/perl.scm:4971 +#: gnu/packages/perl.scm:4967 msgid "Charset information for MIME messages" msgstr "" -#: gnu/packages/perl.scm:4973 +#: gnu/packages/perl.scm:4969 msgid "" "@code{MIME::Charset} provides information about character sets used for\n" "MIME messages on Internet." msgstr "" -#: gnu/packages/perl.scm:5000 +#: gnu/packages/perl.scm:4996 msgid "Tools to manipulate MIME messages" msgstr "Outils de manipulation des messages MIME" -#: gnu/packages/perl.scm:5002 +#: gnu/packages/perl.scm:4998 msgid "" "MIME-tools is a collection of Perl5 MIME:: modules for parsing,\n" "decoding, and generating single- or multipart (even nested multipart) MIME\n" "messages." msgstr "" -#: gnu/packages/perl.scm:5021 +#: gnu/packages/perl.scm:5017 msgid "Definition of MIME types" msgstr "" -#: gnu/packages/perl.scm:5022 +#: gnu/packages/perl.scm:5018 msgid "" "This module provides a list of known mime-types, combined\n" "from various sources. For instance, it contains all IANA types and the\n" "knowledge of Apache." msgstr "" -#: gnu/packages/perl.scm:5044 +#: gnu/packages/perl.scm:5040 msgid "Write your linewise code for handles; this does the rest" msgstr "" -#: gnu/packages/perl.scm:5045 +#: gnu/packages/perl.scm:5041 msgid "" "It's boring to deal with opening files for IO, converting\n" "strings to handle-like objects, and all that. With\n" @@ -13765,21 +14346,21 @@ msgid "" "file names are added for you." msgstr "" -#: gnu/packages/perl.scm:5071 +#: gnu/packages/perl.scm:5067 msgid "Enable all of the features of Modern Perl with one import" msgstr "" -#: gnu/packages/perl.scm:5072 +#: gnu/packages/perl.scm:5068 msgid "" "@code{Modern::Perl} provides a simple way to enable\n" "multiple, by now, standard libraries in a Perl program." msgstr "" -#: gnu/packages/perl.scm:5100 +#: gnu/packages/perl.scm:5096 msgid "Tiny replacement for Module::Build" msgstr "" -#: gnu/packages/perl.scm:5101 +#: gnu/packages/perl.scm:5097 msgid "" "Many Perl distributions use a Build.PL file instead of a\n" "Makefile.PL file to drive distribution configuration, build, test and\n" @@ -13789,11 +14370,11 @@ msgid "" "has less than 120, yet supports the features needed by most distributions." msgstr "" -#: gnu/packages/perl.scm:5129 +#: gnu/packages/perl.scm:5125 msgid "Module::Build class for building XS modules" msgstr "" -#: gnu/packages/perl.scm:5131 +#: gnu/packages/perl.scm:5127 msgid "" "@code{Module::Build::XSUtil} is subclass of @code{Module::Build}\n" "for support building XS modules.\n" @@ -13817,11 +14398,11 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/perl.scm:5167 +#: gnu/packages/perl.scm:5163 msgid "Find and use installed modules in a (sub)category" msgstr "" -#: gnu/packages/perl.scm:5168 +#: gnu/packages/perl.scm:5164 msgid "" "Module::Find lets you find and use modules in categories.\n" "This can be useful for auto-detecting driver or plugin modules. You can\n" @@ -13829,11 +14410,11 @@ msgid "" "subcategories." msgstr "" -#: gnu/packages/perl.scm:5194 +#: gnu/packages/perl.scm:5190 msgid "Loads alternate underlying implementations for a module" msgstr "" -#: gnu/packages/perl.scm:5195 +#: gnu/packages/perl.scm:5191 msgid "" "This module abstracts out the process of choosing one of\n" "several underlying implementations for a module. This can be used to provide\n" @@ -13842,11 +14423,11 @@ msgid "" "implementations." msgstr "" -#: gnu/packages/perl.scm:5233 +#: gnu/packages/perl.scm:5229 msgid "Standalone, extensible Perl module installer" msgstr "" -#: gnu/packages/perl.scm:5234 +#: gnu/packages/perl.scm:5230 msgid "" "Module::Install is a package for writing installers for\n" "CPAN (or CPAN-like) distributions that are clean, simple, minimalist, act in a\n" @@ -13854,11 +14435,11 @@ msgid "" "installation version 5.005 or newer." msgstr "" -#: gnu/packages/perl.scm:5260 +#: gnu/packages/perl.scm:5256 msgid "Parse and examine a Perl distribution @file{MANIFEST} file" msgstr "" -#: gnu/packages/perl.scm:5262 +#: gnu/packages/perl.scm:5258 msgid "" "@code{Module::Manifest} is a simple utility module created originally for\n" "use in @code{Module::Inspector}.\n" @@ -13868,52 +14449,52 @@ msgid "" "@file{MANIFEST.SKIP} file and check that." msgstr "" -#: gnu/packages/perl.scm:5285 +#: gnu/packages/perl.scm:5281 msgid "Give your Perl module the ability to have plugins" msgstr "" -#: gnu/packages/perl.scm:5286 +#: gnu/packages/perl.scm:5282 msgid "" "This module provides a simple but extensible way of having\n" "'plugins' for your Perl module." msgstr "" -#: gnu/packages/perl.scm:5305 +#: gnu/packages/perl.scm:5301 msgid "Perl runtime module handling" msgstr "" -#: gnu/packages/perl.scm:5306 +#: gnu/packages/perl.scm:5302 msgid "" "The functions exported by this module deal with runtime\n" "handling of Perl modules, which are normally handled at compile time." msgstr "" -#: gnu/packages/perl.scm:5329 +#: gnu/packages/perl.scm:5325 msgid "Provide information on conflicts for Module::Runtime" msgstr "" -#: gnu/packages/perl.scm:5330 +#: gnu/packages/perl.scm:5326 msgid "" "This module provides conflicts checking for Module::Runtime,\n" "which had a recent release that broke some versions of Moose. It is called\n" "from Moose::Conflicts and moose-outdated." msgstr "" -#: gnu/packages/perl.scm:5351 +#: gnu/packages/perl.scm:5347 msgid "Recursively scan Perl code for dependencies" msgstr "" -#: gnu/packages/perl.scm:5352 +#: gnu/packages/perl.scm:5348 msgid "" "Module::ScanDeps is a module to recursively scan Perl\n" "programs for dependencies." msgstr "" -#: gnu/packages/perl.scm:5372 +#: gnu/packages/perl.scm:5368 msgid "Module name tools and transformations" msgstr "" -#: gnu/packages/perl.scm:5373 +#: gnu/packages/perl.scm:5369 msgid "" "This module provides a few useful functions for manipulating\n" "module names. Its main aim is to centralise some of the functions commonly\n" @@ -13921,11 +14502,11 @@ msgid "" "module names to relative paths." msgstr "" -#: gnu/packages/perl.scm:5403 +#: gnu/packages/perl.scm:5399 msgid "Minimalist Object Orientation (with Moose compatibility)" msgstr "" -#: gnu/packages/perl.scm:5404 +#: gnu/packages/perl.scm:5400 msgid "" "Moo is an extremely light-weight Object Orientation system.\n" "It allows one to concisely define objects and roles with a convenient syntax\n" @@ -13933,11 +14514,11 @@ msgid "" "Moose and is optimised for rapid startup." msgstr "" -#: gnu/packages/perl.scm:5511 +#: gnu/packages/perl.scm:5507 msgid "Postmodern object system for Perl 5" msgstr "" -#: gnu/packages/perl.scm:5513 +#: gnu/packages/perl.scm:5509 msgid "" "Moose is a complete object system for Perl 5. It provides keywords for\n" "attribute declaration, object construction, inheritance, and maybe more. With\n" @@ -13948,11 +14529,11 @@ msgid "" "sentences." msgstr "" -#: gnu/packages/perl.scm:5542 +#: gnu/packages/perl.scm:5538 msgid "Emulate Class::Accessor::Fast behavior using Moose attributes" msgstr "" -#: gnu/packages/perl.scm:5543 +#: gnu/packages/perl.scm:5539 msgid "" "This module attempts to emulate the behavior of\n" "Class::Accessor::Fast as accurately as possible using the Moose attribute\n" @@ -13960,21 +14541,21 @@ msgid "" "private methods are not." msgstr "" -#: gnu/packages/perl.scm:5575 +#: gnu/packages/perl.scm:5574 msgid "Moose role for processing command line options" msgstr "" -#: gnu/packages/perl.scm:5576 +#: gnu/packages/perl.scm:5575 msgid "" "This is a Moose role which provides an alternate constructor\n" "for creating objects using parameters passed in from the command line." msgstr "" -#: gnu/packages/perl.scm:5597 +#: gnu/packages/perl.scm:5596 msgid "Mark overload code symbols as methods" msgstr "" -#: gnu/packages/perl.scm:5598 +#: gnu/packages/perl.scm:5597 msgid "" "MooseX::MarkAsMethods allows one to easily mark certain\n" "functions as Moose methods. This will allow other packages such as\n" @@ -13984,21 +14565,21 @@ msgid "" "overloads will \"just work\"." msgstr "" -#: gnu/packages/perl.scm:5628 +#: gnu/packages/perl.scm:5627 msgid "Code attribute introspection" msgstr "" -#: gnu/packages/perl.scm:5629 +#: gnu/packages/perl.scm:5628 msgid "" "This module allows code attributes of methods to be\n" "introspected using Moose meta method objects." msgstr "" -#: gnu/packages/perl.scm:5655 +#: gnu/packages/perl.scm:5654 msgid "Subclassing of non-Moose classes" msgstr "" -#: gnu/packages/perl.scm:5656 +#: gnu/packages/perl.scm:5655 msgid "" "MooseX::NonMoose allows for easily subclassing non-Moose\n" "classes with Moose, taking care of the details connected with doing this, such\n" @@ -14007,31 +14588,31 @@ msgid "" "BUILD methods are called. It tries to be as non-intrusive as possible." msgstr "" -#: gnu/packages/perl.scm:5685 +#: gnu/packages/perl.scm:5684 msgid "Extension of Params::Validate using Moose's types" msgstr "" -#: gnu/packages/perl.scm:5686 +#: gnu/packages/perl.scm:5685 msgid "" "This module fills a gap in Moose by adding method parameter\n" "validation to Moose." msgstr "" -#: gnu/packages/perl.scm:5707 +#: gnu/packages/perl.scm:5706 msgid "Apply roles to a related Perl class" msgstr "" -#: gnu/packages/perl.scm:5708 +#: gnu/packages/perl.scm:5707 msgid "" "This module applies roles to make a subclass instead of\n" "manually setting up a subclass." msgstr "" -#: gnu/packages/perl.scm:5735 +#: gnu/packages/perl.scm:5734 msgid "Moose roles with composition parameters" msgstr "" -#: gnu/packages/perl.scm:5736 +#: gnu/packages/perl.scm:5735 msgid "" "Because Moose roles serve many different masters, they\n" "usually provide only the least common denominator of functionality. To\n" @@ -14041,11 +14622,11 @@ msgid "" "Parameterized roles offer a solution to these (and other) kinds of problems." msgstr "" -#: gnu/packages/perl.scm:5762 +#: gnu/packages/perl.scm:5761 msgid "Roles which support overloading" msgstr "" -#: gnu/packages/perl.scm:5763 +#: gnu/packages/perl.scm:5762 msgid "" "MooseX::Role::WithOverloading allows you to write a\n" "Moose::Role which defines overloaded operators and allows those overload\n" @@ -14053,11 +14634,11 @@ msgid "" "where plain Moose::Roles would lose the overloading." msgstr "" -#: gnu/packages/perl.scm:5785 +#: gnu/packages/perl.scm:5784 msgid "Name your accessors foo() and set_foo()" msgstr "" -#: gnu/packages/perl.scm:5786 +#: gnu/packages/perl.scm:5785 msgid "" "This module does not provide any methods. Simply loading it\n" "changes the default naming policy for the loading class so that accessors are\n" @@ -14065,82 +14646,82 @@ msgid "" "accessor, while set methods are prefixed with \"_set_\"." msgstr "" -#: gnu/packages/perl.scm:5812 +#: gnu/packages/perl.scm:5811 msgid "Strict object constructors for Moose" msgstr "" -#: gnu/packages/perl.scm:5813 +#: gnu/packages/perl.scm:5812 msgid "" "Simply loading this module makes your constructors\n" "\"strict\". If your constructor is called with an attribute init argument\n" "that your class does not declare, then it calls Moose->throw_error()." msgstr "" -#: gnu/packages/perl.scm:5841 +#: gnu/packages/perl.scm:5840 msgid "Trait loading and resolution for Moose" msgstr "" -#: gnu/packages/perl.scm:5842 +#: gnu/packages/perl.scm:5841 msgid "" "Adds support on top of MooseX::Traits for class precedence\n" "search for traits and some extra attributes." msgstr "" -#: gnu/packages/perl.scm:5868 +#: gnu/packages/perl.scm:5867 msgid "Organise your Moose types in libraries" msgstr "" -#: gnu/packages/perl.scm:5869 +#: gnu/packages/perl.scm:5868 msgid "" "This package lets you declare types using short names, but\n" "behind the scenes it namespaces all your type declarations, effectively\n" "prevent name clashes between packages." msgstr "" -#: gnu/packages/perl.scm:5900 +#: gnu/packages/perl.scm:5899 msgid "DateTime related constraints and coercions for Moose" msgstr "" -#: gnu/packages/perl.scm:5901 +#: gnu/packages/perl.scm:5900 msgid "" "This module packages several Moose::Util::TypeConstraints\n" "with coercions, designed to work with the DateTime suite of objects." msgstr "" -#: gnu/packages/perl.scm:5933 +#: gnu/packages/perl.scm:5932 msgid "Extensions to MooseX::Types::DateTime" msgstr "" -#: gnu/packages/perl.scm:5934 +#: gnu/packages/perl.scm:5933 msgid "" "This module builds on MooseX::Types::DateTime to add\n" "additional custom types and coercions. Since it builds on an existing type,\n" "all coercions and constraints are inherited." msgstr "" -#: gnu/packages/perl.scm:5963 +#: gnu/packages/perl.scm:5962 msgid "ClassName type constraints for Moose" msgstr "" -#: gnu/packages/perl.scm:5964 +#: gnu/packages/perl.scm:5963 msgid "" "MooseX::Types::LoadableClass provides a ClassName type\n" "constraint with coercion to load the class." msgstr "" -#: gnu/packages/perl.scm:5990 +#: gnu/packages/perl.scm:5989 msgid "Using Moo and MooX:: packages the most lazy way" msgstr "" -#: gnu/packages/perl.scm:5991 +#: gnu/packages/perl.scm:5990 msgid "Contains the MooX and MooX::Role packages." msgstr "" -#: gnu/packages/perl.scm:6018 +#: gnu/packages/perl.scm:6017 msgid "Giving an easy Moo style way to make command organized CLI apps" msgstr "" -#: gnu/packages/perl.scm:6019 +#: gnu/packages/perl.scm:6018 msgid "" "This package eases the writing of command line utilities,\n" "accepting commands and subcommands and so on. These commands can form a tree,\n" @@ -14149,11 +14730,11 @@ msgid "" "most specific one) is instantiated." msgstr "" -#: gnu/packages/perl.scm:6052 +#: gnu/packages/perl.scm:6051 msgid "Moo eXtension for initializing objects from config file" msgstr "" -#: gnu/packages/perl.scm:6053 +#: gnu/packages/perl.scm:6052 msgid "" "This module is intended to easily load initialization values\n" "for attributes on object construction from an appropriate config file. The\n" @@ -14161,33 +14742,33 @@ msgid "" "@code{MooX::ConfigFromFile} ensures that the role is applied." msgstr "" -#: gnu/packages/perl.scm:6077 +#: gnu/packages/perl.scm:6076 msgid "Moo eXtension for @code{File::ConfigDir}" msgstr "" -#: gnu/packages/perl.scm:6078 +#: gnu/packages/perl.scm:6077 msgid "" "This module is a helper for easily finding configuration\n" "file locations. This information can be used to find a suitable place for\n" "installing configuration files or for finding any piece of settings." msgstr "" -#: gnu/packages/perl.scm:6113 +#: gnu/packages/perl.scm:6112 msgid "NativeTrait-like behavior for Moo" msgstr "" -#: gnu/packages/perl.scm:6115 +#: gnu/packages/perl.scm:6114 msgid "" "@code{MooX::HandlesVia} is an extension of Moo's @code{handles}\n" "attribute functionality. It provides a means of proxying functionality from\n" "an external class to the given atttribute." msgstr "" -#: gnu/packages/perl.scm:6146 +#: gnu/packages/perl.scm:6145 msgid "Easily translate Moose code to Moo" msgstr "" -#: gnu/packages/perl.scm:6148 +#: gnu/packages/perl.scm:6147 msgid "" "MooX::late does the following:\n" "@enumerate\n" @@ -14201,11 +14782,11 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/perl.scm:6203 +#: gnu/packages/perl.scm:6202 msgid "Explicit Options eXtension for Object Class" msgstr "" -#: gnu/packages/perl.scm:6204 +#: gnu/packages/perl.scm:6203 msgid "" "Create a command line tool with your Mo, Moo, Moose objects.\n" "You have an @code{option} keyword to replace the usual @code{has} to\n" @@ -14214,32 +14795,32 @@ msgid "" "generate a command line tool." msgstr "" -#: gnu/packages/perl.scm:6231 +#: gnu/packages/perl.scm:6230 msgid "Moosish types and type builder" msgstr "" -#: gnu/packages/perl.scm:6232 +#: gnu/packages/perl.scm:6231 msgid "" "MooX::Types::MooseLike provides a possibility to build your\n" "own set of Moose-like types. These custom types can then be used to describe\n" "fields in Moo-based classes." msgstr "" -#: gnu/packages/perl.scm:6261 +#: gnu/packages/perl.scm:6260 msgid "Fast Moose-compatible object system for perl5" msgstr "" -#: gnu/packages/perl.scm:6263 +#: gnu/packages/perl.scm:6262 msgid "" "Mouse is a @code{Moose} compatible object system that implements a\n" "subset of the functionality for reduced startup time." msgstr "" -#: gnu/packages/perl.scm:6286 +#: gnu/packages/perl.scm:6285 msgid "Extend attribute interfaces for Mouse" msgstr "Interfaces d'attribut étendu pour Mouse" -#: gnu/packages/perl.scm:6288 +#: gnu/packages/perl.scm:6287 msgid "" "While @code{Mouse} attributes provide a way to name your accessors,\n" "readers, writers, clearers and predicates, @code{MouseX::NativeTraits}\n" @@ -14247,30 +14828,30 @@ msgid "" "of data." msgstr "" -#: gnu/packages/perl.scm:6308 +#: gnu/packages/perl.scm:6307 msgid "Mozilla's CA cert bundle in PEM format" msgstr "" -#: gnu/packages/perl.scm:6309 +#: gnu/packages/perl.scm:6308 msgid "" "@code{Mozilla::CA} provides a copy of Mozilla's bundle of\n" "Certificate Authority certificates in a form that can be consumed by modules\n" "and libraries based on OpenSSL." msgstr "" -#: gnu/packages/perl.scm:6335 +#: gnu/packages/perl.scm:6334 msgid "Disable multidimensional array emulation" msgstr "" -#: gnu/packages/perl.scm:6337 +#: gnu/packages/perl.scm:6336 msgid "Multidimensional disables multidimensional array emulation." msgstr "" -#: gnu/packages/perl.scm:6354 +#: gnu/packages/perl.scm:6353 msgid "MRO interface compatibility for Perls < 5.9.5" msgstr "" -#: gnu/packages/perl.scm:6355 +#: gnu/packages/perl.scm:6354 msgid "" "The \"mro\" namespace provides several utilities for dealing\n" "with method resolution order and method caching in general in Perl 5.9.5 and\n" @@ -14278,11 +14859,11 @@ msgid "" "Perl (back to 5.6.0)." msgstr "" -#: gnu/packages/perl.scm:6382 +#: gnu/packages/perl.scm:6381 msgid "Keep imports out of your namespace" msgstr "" -#: gnu/packages/perl.scm:6383 +#: gnu/packages/perl.scm:6382 msgid "" "The namespace::autoclean pragma will remove all imported\n" "symbols at the end of the current package's compile cycle. Functions called\n" @@ -14293,11 +14874,11 @@ msgid "" "anything that looks like a method." msgstr "" -#: gnu/packages/perl.scm:6409 +#: gnu/packages/perl.scm:6408 msgid "Keep imports and functions out of your namespace" msgstr "" -#: gnu/packages/perl.scm:6410 +#: gnu/packages/perl.scm:6409 msgid "" "The namespace::clean pragma will remove all previously\n" "declared or imported symbols at the end of the current package's compile\n" @@ -14305,11 +14886,11 @@ msgid "" "name, but they won't show up as methods on your class or instances." msgstr "" -#: gnu/packages/perl.scm:6430 +#: gnu/packages/perl.scm:6429 msgid "Non-blocking system DNS resolver" msgstr "" -#: gnu/packages/perl.scm:6432 +#: gnu/packages/perl.scm:6431 msgid "" "This class provides several methods for host name resolution. It is\n" "designed to be used with event loops. Names are resolved by your system's\n" @@ -14318,11 +14899,11 @@ msgid "" "system threads instead of Perl threads." msgstr "" -#: gnu/packages/perl.scm:6460 +#: gnu/packages/perl.scm:6459 msgid "Internationalizing Domain Names in Applications (IDNA)" msgstr "" -#: gnu/packages/perl.scm:6462 +#: gnu/packages/perl.scm:6461 msgid "" "Internationalized Domain Names (IDNs) use characters drawn from a large\n" "repertoire (Unicode), but IDNA allows the non-ASCII characters to be\n" @@ -14333,31 +14914,31 @@ msgid "" "using whatever IDNA standard is the best choice at the moment." msgstr "" -#: gnu/packages/perl.scm:6488 +#: gnu/packages/perl.scm:6487 msgid "Perl client for Etsy's statsd daemon" msgstr "" -#: gnu/packages/perl.scm:6489 +#: gnu/packages/perl.scm:6488 msgid "" "This module implement a UDP client for the statsd statistics\n" "collector daemon in use at Etsy.com." msgstr "" -#: gnu/packages/perl.scm:6507 +#: gnu/packages/perl.scm:6506 msgid "Numeric comparisons" msgstr "" -#: gnu/packages/perl.scm:6508 +#: gnu/packages/perl.scm:6507 msgid "" "Number::Compare compiles a simple comparison to an anonymous\n" "subroutine, which you can call with a value to be tested against." msgstr "" -#: gnu/packages/perl.scm:6526 +#: gnu/packages/perl.scm:6525 msgid "Convert numbers to strings with pretty formatting" msgstr "" -#: gnu/packages/perl.scm:6527 +#: gnu/packages/perl.scm:6526 msgid "" "@code{Number::Format} is a library for formatting numbers.\n" "Functions are provided for converting numbers to strings in a variety of ways,\n" @@ -14368,32 +14949,32 @@ msgid "" "the locale information or can be specified by the user." msgstr "" -#: gnu/packages/perl.scm:6551 +#: gnu/packages/perl.scm:6550 msgid "Perl extension defining ranges of numbers" msgstr "Extension Perl pour définir des intervalles de nombres" -#: gnu/packages/perl.scm:6552 +#: gnu/packages/perl.scm:6551 msgid "" "Number::Range is an object-oriented interface to test if a\n" "number exists in a given range, and to be able to manipulate the range." msgstr "" -#: gnu/packages/perl.scm:6572 +#: gnu/packages/perl.scm:6571 msgid "Generate cryptographic signatures for objects" msgstr "" -#: gnu/packages/perl.scm:6573 +#: gnu/packages/perl.scm:6572 msgid "" "Object::Signature is an abstract base class that you can\n" "inherit from in order to allow your objects to generate unique cryptographic\n" "signatures." msgstr "" -#: gnu/packages/perl.scm:6594 +#: gnu/packages/perl.scm:6593 msgid "Read and write OLE storage files" msgstr "" -#: gnu/packages/perl.scm:6595 +#: gnu/packages/perl.scm:6594 msgid "" "This module allows you to read and write\n" "an OLE-Structured file. @dfn{OLE} (Object Linking and Embedding) is a\n" @@ -14401,43 +14982,43 @@ msgid "" "documents within a single file." msgstr "" -#: gnu/packages/perl.scm:6618 +#: gnu/packages/perl.scm:6617 msgid "Anonymous packages" msgstr "" -#: gnu/packages/perl.scm:6619 +#: gnu/packages/perl.scm:6618 msgid "" "This module allows for anonymous packages that are\n" "independent of the main namespace and only available through an object\n" "instance, not by name." msgstr "" -#: gnu/packages/perl.scm:6647 +#: gnu/packages/perl.scm:6646 msgid "Manage deprecation warnings for your distribution" msgstr "" -#: gnu/packages/perl.scm:6648 +#: gnu/packages/perl.scm:6647 msgid "" "This module allows you to manage a set of deprecations for\n" "one or more modules." msgstr "" -#: gnu/packages/perl.scm:6675 +#: gnu/packages/perl.scm:6674 msgid "Routines for manipulating stashes" msgstr "" -#: gnu/packages/perl.scm:6676 +#: gnu/packages/perl.scm:6675 msgid "" "Manipulating stashes (Perl's symbol tables) is occasionally\n" "necessary, but incredibly messy, and easy to get wrong. This module hides all\n" "of that behind a simple API." msgstr "" -#: gnu/packages/perl.scm:6699 +#: gnu/packages/perl.scm:6698 msgid "Faster implementation of the Package::Stash API" msgstr "" -#: gnu/packages/perl.scm:6700 +#: gnu/packages/perl.scm:6699 msgid "" "This is a backend for Package::Stash, which provides the\n" "functionality in a way that's less buggy and much faster. It will be used by\n" @@ -14445,11 +15026,11 @@ msgid "" "compiler." msgstr "" -#: gnu/packages/perl.scm:6720 +#: gnu/packages/perl.scm:6719 msgid "Play with other peoples' lexical variables" msgstr "" -#: gnu/packages/perl.scm:6721 +#: gnu/packages/perl.scm:6720 msgid "" "PadWalker is a module which allows you to inspect (and even\n" "change) lexical variables in any subroutine which called you. It will only\n" @@ -14457,42 +15038,42 @@ msgid "" "is particularly useful for debugging." msgstr "" -#: gnu/packages/perl.scm:6745 +#: gnu/packages/perl.scm:6744 msgid "Simple parallel processing fork manager" msgstr "" -#: gnu/packages/perl.scm:6746 +#: gnu/packages/perl.scm:6745 msgid "" "@code{Parallel::ForkManager} is intended for use in\n" "operations that can be done in parallel where the number of\n" "processes to be forked off should be limited." msgstr "" -#: gnu/packages/perl.scm:6766 +#: gnu/packages/perl.scm:6765 msgid "Simple, compact and correct param-checking functions" msgstr "" -#: gnu/packages/perl.scm:6768 +#: gnu/packages/perl.scm:6767 msgid "" "Params::Util provides a basic set of importable functions that makes\n" "checking parameters easier." msgstr "" -#: gnu/packages/perl.scm:6792 +#: gnu/packages/perl.scm:6791 msgid "Validate method/function parameters" msgstr "" -#: gnu/packages/perl.scm:6793 +#: gnu/packages/perl.scm:6792 msgid "" "The Params::Validate module allows you to validate method or\n" "function call parameters to an arbitrary level of specificity." msgstr "" -#: gnu/packages/perl.scm:6821 +#: gnu/packages/perl.scm:6820 msgid "Build an optimized subroutine parameter validator" msgstr "" -#: gnu/packages/perl.scm:6822 +#: gnu/packages/perl.scm:6821 msgid "" "This module creates a customized, highly efficient\n" "parameter checking subroutine. It can handle named or positional\n" @@ -14501,37 +15082,37 @@ msgid "" "defaults, optional parameters, and extra \"slurpy\" parameters." msgstr "" -#: gnu/packages/perl.scm:6843 +#: gnu/packages/perl.scm:6842 msgid "Create and manipulate PAR distributions" msgstr "" -#: gnu/packages/perl.scm:6844 +#: gnu/packages/perl.scm:6843 msgid "" "PAR::Dist is a toolkit to create and manipulate PAR\n" "distributions." msgstr "" -#: gnu/packages/perl.scm:6863 +#: gnu/packages/perl.scm:6862 msgid "" "Allows you to both load one or more modules, while setting\n" "up inheritance from those modules at the same time." msgstr "" -#: gnu/packages/perl.scm:6882 +#: gnu/packages/perl.scm:6881 msgid "Path specification manipulation" msgstr "" -#: gnu/packages/perl.scm:6883 +#: gnu/packages/perl.scm:6882 msgid "" "Path::Class is a module for manipulation of file and\n" "directory specifications in a cross-platform manner." msgstr "" -#: gnu/packages/perl.scm:6912 +#: gnu/packages/perl.scm:6911 msgid "Tools for working with directory and file names" msgstr "Outils pour travailler avec des noms de répertoires et de fichiers" -#: gnu/packages/perl.scm:6913 +#: gnu/packages/perl.scm:6912 msgid "" "This package provides functions to work with directory and\n" "file names." @@ -14539,32 +15120,32 @@ msgstr "" "Ce paquet fournit des fonctions pour travailler avec des noms\n" "de répertoires et de fichiers." -#: gnu/packages/perl.scm:6937 +#: gnu/packages/perl.scm:6936 msgid "File path utility" msgstr "" -#: gnu/packages/perl.scm:6938 +#: gnu/packages/perl.scm:6937 msgid "" "This module provides a small, fast utility for working\n" "with file paths." msgstr "" -#: gnu/packages/perl.scm:6959 +#: gnu/packages/perl.scm:6958 msgid "Fast and correct UTF-8 IO" msgstr "" -#: gnu/packages/perl.scm:6960 +#: gnu/packages/perl.scm:6959 msgid "" "@code{PerlIO::utf8_strict} provides a fast and correct UTF-8\n" "PerlIO layer. Unlike Perl's default @code{:utf8} layer it checks the input\n" "for correctness." msgstr "" -#: gnu/packages/perl.scm:6983 +#: gnu/packages/perl.scm:6982 msgid "Acmeist PEG Parser Framework" msgstr "" -#: gnu/packages/perl.scm:6984 +#: gnu/packages/perl.scm:6983 msgid "" "Pegex is an Acmeist parser framework. It allows you to easily\n" "create parsers that will work equivalently in lots of programming languages.\n" @@ -14574,32 +15155,32 @@ msgid "" "available." msgstr "" -#: gnu/packages/perl.scm:7008 +#: gnu/packages/perl.scm:7007 msgid "Check for comprehensive documentation of a module" msgstr "" -#: gnu/packages/perl.scm:7009 +#: gnu/packages/perl.scm:7008 msgid "" "This module provides a mechanism for determining if the pod\n" "for a given module is comprehensive." msgstr "" -#: gnu/packages/perl.scm:7026 +#: gnu/packages/perl.scm:7025 msgid "Parsing library for text in Pod format" msgstr "" -#: gnu/packages/perl.scm:7027 +#: gnu/packages/perl.scm:7026 msgid "" "@code{Pod::Simple} is a Perl library for parsing text in\n" "the @dfn{Pod} (plain old documentation) markup language that is typically\n" "used for writing documentation for Perl and for Perl modules." msgstr "" -#: gnu/packages/perl.scm:7048 +#: gnu/packages/perl.scm:7047 msgid "GNU C library compatible strftime for loggers and servers" msgstr "" -#: gnu/packages/perl.scm:7049 +#: gnu/packages/perl.scm:7048 msgid "" "POSIX::strftime::Compiler provides GNU C library compatible\n" "strftime(3). But this module is not affected by the system locale. This\n" @@ -14607,32 +15188,32 @@ msgid "" "applications." msgstr "" -#: gnu/packages/perl.scm:7067 +#: gnu/packages/perl.scm:7066 msgid "Information about the currently running perl" msgstr "" -#: gnu/packages/perl.scm:7069 +#: gnu/packages/perl.scm:7068 msgid "" "Probe::Perl provides methods for obtaining information about the\n" "currently running perl interpreter. It originally began life as code in the\n" "Module::Build project, but has been externalized here for general use." msgstr "" -#: gnu/packages/perl.scm:7097 +#: gnu/packages/perl.scm:7095 msgid "Interface to external editor from Perl" msgstr "" -#: gnu/packages/perl.scm:7098 +#: gnu/packages/perl.scm:7096 msgid "" "This module provides the ability to supply some text to an\n" "external text editor, have it edited by the user, and retrieve the results." msgstr "" -#: gnu/packages/perl.scm:7117 +#: gnu/packages/perl.scm:7115 msgid "Create read-only scalars, arrays, hashes" msgstr "" -#: gnu/packages/perl.scm:7118 +#: gnu/packages/perl.scm:7116 msgid "" "This module provides a facility for creating non-modifiable\n" "variables in Perl. This is useful for configuration files, headers, etc. It\n" @@ -14640,11 +15221,11 @@ msgid "" "variables that should not be changed." msgstr "" -#: gnu/packages/perl.scm:7138 +#: gnu/packages/perl.scm:7136 msgid "XS implementation for Ref::Util" msgstr "" -#: gnu/packages/perl.scm:7139 +#: gnu/packages/perl.scm:7137 msgid "" "@code{Ref::Util::XS} is the XS implementation of\n" "@code{Ref::Util}, which provides several functions to help identify references\n" @@ -14652,11 +15233,11 @@ msgid "" "of @code{ref}." msgstr "" -#: gnu/packages/perl.scm:7157 +#: gnu/packages/perl.scm:7155 msgid "Provide commonly requested regular expressions" msgstr "" -#: gnu/packages/perl.scm:7159 +#: gnu/packages/perl.scm:7157 msgid "" "This module exports a single hash (`%RE') that stores or generates\n" "commonly needed regular expressions. Patterns currently provided include:\n" @@ -14666,11 +15247,11 @@ msgid "" "codes." msgstr "" -#: gnu/packages/perl.scm:7184 +#: gnu/packages/perl.scm:7181 msgid "Selection of general-utility regexp subroutines" msgstr "" -#: gnu/packages/perl.scm:7185 +#: gnu/packages/perl.scm:7182 msgid "" "This package provides a selection of regular expression\n" "subroutines including @code{is_regexp}, @code{regexp_seen_evals},\n" @@ -14678,29 +15259,29 @@ msgid "" "and @code{deserialize_regexp}." msgstr "" -#: gnu/packages/perl.scm:7210 +#: gnu/packages/perl.scm:7207 msgid "Roles, as a slice of Moose" msgstr "" -#: gnu/packages/perl.scm:7211 +#: gnu/packages/perl.scm:7208 msgid "Role::Tiny is a minimalist role composition tool." msgstr "" -#: gnu/packages/perl.scm:7242 +#: gnu/packages/perl.scm:7239 msgid "Call isa, can, does, and DOES safely" msgstr "" -#: gnu/packages/perl.scm:7243 +#: gnu/packages/perl.scm:7240 msgid "" "This module allows you to call isa, can, does, and DOES\n" "safely on things that may not be objects." msgstr "" -#: gnu/packages/perl.scm:7261 +#: gnu/packages/perl.scm:7258 msgid "Lexically-scoped resource management" msgstr "Gestion de ressources à portée lexicale" -#: gnu/packages/perl.scm:7262 +#: gnu/packages/perl.scm:7259 msgid "" "This module provides a convenient way to perform cleanup or\n" "other forms of resource management at the end of a scope. It is particularly\n" @@ -14711,39 +15292,39 @@ msgid "" "collector." msgstr "" -#: gnu/packages/perl.scm:7285 +#: gnu/packages/perl.scm:7282 msgid "Infinite sets" msgstr "" -#: gnu/packages/perl.scm:7286 +#: gnu/packages/perl.scm:7283 msgid "Set::Infinite is a set theory module for infinite sets." msgstr "" -#: gnu/packages/perl.scm:7303 +#: gnu/packages/perl.scm:7300 msgid "Manage sets of integers" msgstr "" -#: gnu/packages/perl.scm:7304 +#: gnu/packages/perl.scm:7301 msgid "" "@code{Set::IntSpan} manages sets of integers. It is\n" "optimized for sets that have long runs of consecutive integers." msgstr "" -#: gnu/packages/perl.scm:7325 +#: gnu/packages/perl.scm:7322 msgid "Unordered collections of Perl Objects" msgstr "" -#: gnu/packages/perl.scm:7326 +#: gnu/packages/perl.scm:7323 msgid "" "Set::Object provides efficient sets, unordered collections\n" "of Perl objects without duplicates for scalars and references." msgstr "" -#: gnu/packages/perl.scm:7344 +#: gnu/packages/perl.scm:7341 msgid "Set operations for Perl" msgstr "Opération ensemblistes pour Perl" -#: gnu/packages/perl.scm:7345 +#: gnu/packages/perl.scm:7342 msgid "" "The first priority of Set::Scalar is to be a convenient\n" "interface to sets (as in: unordered collections of Perl scalars). While not\n" @@ -14751,21 +15332,21 @@ msgid "" "compact." msgstr "" -#: gnu/packages/perl.scm:7365 +#: gnu/packages/perl.scm:7362 msgid "Sort arrays by one or multiple calculated keys" msgstr "" -#: gnu/packages/perl.scm:7366 +#: gnu/packages/perl.scm:7363 msgid "" "This Perl module provides various functions to quickly sort\n" "arrays by one or multiple calculated keys." msgstr "" -#: gnu/packages/perl.scm:7384 +#: gnu/packages/perl.scm:7381 msgid "Sort lexically, but sort numeral parts numerically" msgstr "" -#: gnu/packages/perl.scm:7385 +#: gnu/packages/perl.scm:7382 msgid "" "This module exports two functions, @code{nsort} and\n" "@code{ncmp}; they are used in implementing a \"natural sorting\" algorithm.\n" @@ -14773,11 +15354,11 @@ msgid "" "word-characters are compared lexically." msgstr "" -#: gnu/packages/perl.scm:7413 +#: gnu/packages/perl.scm:7410 msgid "Classes for representing type constraints and coercion" msgstr "" -#: gnu/packages/perl.scm:7414 +#: gnu/packages/perl.scm:7411 msgid "" "The Specio distribution provides classes for representing type\n" "constraints and coercion, along with syntax sugar for declaring them. Note that\n" @@ -14788,11 +15369,11 @@ msgid "" "coerce values to that type." msgstr "" -#: gnu/packages/perl.scm:7437 +#: gnu/packages/perl.scm:7434 msgid "Spiffy Perl Interface Framework For You" msgstr "" -#: gnu/packages/perl.scm:7438 +#: gnu/packages/perl.scm:7435 msgid "" "Spiffy is a framework and methodology for doing object\n" "oriented (OO) programming in Perl. Spiffy combines the best parts of\n" @@ -14802,21 +15383,21 @@ msgid "" "other OO languages like Python, Ruby, Java and Perl 6." msgstr "" -#: gnu/packages/perl.scm:7462 +#: gnu/packages/perl.scm:7459 msgid "Collection of very basic statistics modules" msgstr "Collection de modules de statistiques très basiques" -#: gnu/packages/perl.scm:7463 +#: gnu/packages/perl.scm:7460 msgid "" "This package provides basic statistics functions like\n" "@code{median()}, @code{mean()}, @code{variance()} and @code{stddev()}." msgstr "" -#: gnu/packages/perl.scm:7481 +#: gnu/packages/perl.scm:7478 msgid "Temporary buffer to save bytes" msgstr "" -#: gnu/packages/perl.scm:7482 +#: gnu/packages/perl.scm:7479 msgid "" "Stream::Buffered is a buffer class to store arbitrary length\n" "of byte strings and then get a seekable filehandle once everything is\n" @@ -14824,31 +15405,31 @@ msgid "" "on the length of the size." msgstr "" -#: gnu/packages/perl.scm:7502 +#: gnu/packages/perl.scm:7499 msgid "Turn on strict and make all warnings fatal" msgstr "" -#: gnu/packages/perl.scm:7503 +#: gnu/packages/perl.scm:7500 msgid "" "Strictures turns on strict and make all warnings fatal when\n" "run from within a source-controlled directory." msgstr "" -#: gnu/packages/perl.scm:7545 +#: gnu/packages/perl.scm:7542 msgid "Camelcase and de-camelcase" msgstr "" -#: gnu/packages/perl.scm:7546 +#: gnu/packages/perl.scm:7543 msgid "" "This module may be used to convert from under_score text to\n" "CamelCase and back again." msgstr "" -#: gnu/packages/perl.scm:7565 +#: gnu/packages/perl.scm:7562 msgid "Backslash escapes, quoted phrase, word elision, etc." msgstr "" -#: gnu/packages/perl.scm:7566 +#: gnu/packages/perl.scm:7563 msgid "" "This module provides a flexible calling interface to some\n" "frequently-performed string conversion functions, including applying and\n" @@ -14857,42 +15438,42 @@ msgid "" "removing double-quotes, and truncating to fit within a desired length." msgstr "" -#: gnu/packages/perl.scm:7588 +#: gnu/packages/perl.scm:7585 msgid "Rewrite strings based on a set of known prefixes" msgstr "" -#: gnu/packages/perl.scm:7589 +#: gnu/packages/perl.scm:7586 msgid "" "This module allows you to rewrite strings based on a set of\n" "known prefixes." msgstr "" -#: gnu/packages/perl.scm:7608 +#: gnu/packages/perl.scm:7605 msgid "String printing alternatives to printf" msgstr "" -#: gnu/packages/perl.scm:7610 +#: gnu/packages/perl.scm:7607 msgid "" "This module inserts values into (translated) strings. It provides\n" "@code{printf} and @code{sprintf} alternatives via both an object-oriented and\n" "a functional interface." msgstr "" -#: gnu/packages/perl.scm:7633 +#: gnu/packages/perl.scm:7630 msgid "Sophisticated exporter for custom-built routines" msgstr "" -#: gnu/packages/perl.scm:7635 +#: gnu/packages/perl.scm:7632 msgid "" "Sub::Exporter provides a sophisticated alternative to Exporter.pm for\n" "custom-built routines." msgstr "" -#: gnu/packages/perl.scm:7654 +#: gnu/packages/perl.scm:7651 msgid "Only use Sub::Exporter if you need it" msgstr "" -#: gnu/packages/perl.scm:7655 +#: gnu/packages/perl.scm:7652 msgid "" "Sub::Exporter is an incredibly powerful module, but with\n" "that power comes great responsibility, as well as some runtime penalties.\n" @@ -14902,21 +15483,21 @@ msgid "" "renaming exports, if they try to use them." msgstr "" -#: gnu/packages/perl.scm:7677 +#: gnu/packages/perl.scm:7674 msgid "Retrieve names of code references" msgstr "" -#: gnu/packages/perl.scm:7678 +#: gnu/packages/perl.scm:7675 msgid "" "Sub::Identify allows you to retrieve the real name of code\n" "references." msgstr "" -#: gnu/packages/perl.scm:7698 +#: gnu/packages/perl.scm:7695 msgid "Tool to inspect subroutines" msgstr "" -#: gnu/packages/perl.scm:7699 +#: gnu/packages/perl.scm:7696 msgid "" "This package provides tools for inspecting subroutines\n" "in Perl." @@ -14924,54 +15505,54 @@ msgstr "" "Ce paquet fournit des outils pour inspecter les sous-routines\n" "en Perl." -#: gnu/packages/perl.scm:7718 +#: gnu/packages/perl.scm:7715 msgid "Install subroutines into packages easily" msgstr "" -#: gnu/packages/perl.scm:7720 +#: gnu/packages/perl.scm:7717 msgid "" "Sub::Install makes it easy to install subroutines into packages without\n" "the unsightly mess of C or typeglobs lying about where just anyone\n" "can see them." msgstr "" -#: gnu/packages/perl.scm:7741 +#: gnu/packages/perl.scm:7738 msgid "(Re)name a sub" msgstr "" -#: gnu/packages/perl.scm:7742 +#: gnu/packages/perl.scm:7739 msgid "" "Assigns a new name to referenced sub. If package\n" "specification is omitted in the name, then the current package is used. The\n" "return value is the sub." msgstr "" -#: gnu/packages/perl.scm:7766 +#: gnu/packages/perl.scm:7763 msgid "Efficient generation of subroutines via string eval" msgstr "" -#: gnu/packages/perl.scm:7767 +#: gnu/packages/perl.scm:7764 msgid "" "Sub::Quote provides an efficient generation of subroutines\n" "via string eval." msgstr "" -#: gnu/packages/perl.scm:7785 +#: gnu/packages/perl.scm:7782 msgid "Apparently run a function in a higher stack frame" msgstr "" -#: gnu/packages/perl.scm:7786 +#: gnu/packages/perl.scm:7783 msgid "" "Like Tcl's uplevel() function, but not quite so dangerous.\n" "The idea is just to fool caller(). All the really naughty bits of Tcl's\n" "uplevel() are avoided." msgstr "" -#: gnu/packages/perl.scm:7808 +#: gnu/packages/perl.scm:7805 msgid "Control superclass method dispatching" msgstr "" -#: gnu/packages/perl.scm:7810 +#: gnu/packages/perl.scm:7807 msgid "" "When subclassing a class, you may occasionally want to dispatch control to\n" "the superclass---at least conditionally and temporarily. This module provides\n" @@ -14980,11 +15561,11 @@ msgid "" "support for run-time mix-ins and roles." msgstr "" -#: gnu/packages/perl.scm:7831 +#: gnu/packages/perl.scm:7828 msgid "Perl extension for generating SVG documents" msgstr "" -#: gnu/packages/perl.scm:7832 +#: gnu/packages/perl.scm:7829 msgid "" "SVG is a Perl module which generates a nested data structure\n" "containing the DOM representation of an SVG (Scalable Vector Graphics) image.\n" @@ -14993,42 +15574,42 @@ msgid "" "animation content." msgstr "" -#: gnu/packages/perl.scm:7853 +#: gnu/packages/perl.scm:7850 msgid "Switch statement for Perl" msgstr "Commande switch pour Perl" -#: gnu/packages/perl.scm:7854 +#: gnu/packages/perl.scm:7851 msgid "" "Switch is a Perl module which implements a generalized case\n" "mechanism. The module augments the standard Perl syntax with two new\n" "statements: @code{switch} and @code{case}." msgstr "" -#: gnu/packages/perl.scm:7901 +#: gnu/packages/perl.scm:7898 msgid "Perl extension for getting CPU information" msgstr "" -#: gnu/packages/perl.scm:7903 +#: gnu/packages/perl.scm:7900 msgid "" "Sys::CPU is a module for counting the number of CPUs on a system, and\n" "determining their type and clock speed." msgstr "" -#: gnu/packages/perl.scm:7924 +#: gnu/packages/perl.scm:7920 msgid "Get full hostname in Perl" msgstr "" -#: gnu/packages/perl.scm:7925 +#: gnu/packages/perl.scm:7921 msgid "" "Sys::Hostname::Long tries very hard to get the full hostname\n" "of a system." msgstr "" -#: gnu/packages/perl.scm:7952 +#: gnu/packages/perl.scm:7948 msgid "Ensure that a platform has weaken support" msgstr "" -#: gnu/packages/perl.scm:7953 +#: gnu/packages/perl.scm:7949 msgid "" "One recurring problem in modules that use Scalar::Util's\n" "weaken function is that it is not present in the pure-perl variant. If\n" @@ -15038,11 +15619,11 @@ msgid "" "error encouraging the user to seek support." msgstr "" -#: gnu/packages/perl.scm:7978 +#: gnu/packages/perl.scm:7974 msgid "Template processing system for Perl" msgstr "" -#: gnu/packages/perl.scm:7979 +#: gnu/packages/perl.scm:7975 msgid "" "The Template Toolkit is a collection of modules which\n" "implement an extensible template processing system. It was originally\n" @@ -15051,42 +15632,42 @@ msgid "" "documents: HTML, XML, POD, PostScript, LaTeX, and so on." msgstr "" -#: gnu/packages/perl.scm:8002 +#: gnu/packages/perl.scm:7998 msgid "Profiling for Template Toolkit" msgstr "" -#: gnu/packages/perl.scm:8003 +#: gnu/packages/perl.scm:7999 msgid "" "Template::Timer provides inline profiling of the template\n" "processing in Perl code." msgstr "" -#: gnu/packages/perl.scm:8023 +#: gnu/packages/perl.scm:8019 msgid "Detect encoding of the current terminal" msgstr "" -#: gnu/packages/perl.scm:8024 +#: gnu/packages/perl.scm:8020 msgid "" "Term::Encoding is a simple module to detect the encoding of\n" "the current terminal expects in various ways." msgstr "" -#: gnu/packages/perl.scm:8048 +#: gnu/packages/perl.scm:8044 msgid "Progress meter on a standard terminal" msgstr "" -#: gnu/packages/perl.scm:8049 +#: gnu/packages/perl.scm:8045 msgid "" "Term::ProgressBar provides a simple progress bar on the\n" "terminal, to let the user know that something is happening, roughly how much\n" "stuff has been done, and maybe an estimate at how long remains." msgstr "" -#: gnu/packages/perl.scm:8072 +#: gnu/packages/perl.scm:8068 msgid "Progress meter if run interactively" msgstr "" -#: gnu/packages/perl.scm:8073 +#: gnu/packages/perl.scm:8069 msgid "" "Term::ProgressBar is a wonderful module for showing progress\n" "bars on the terminal. This module acts very much like that module when it is\n" @@ -15094,21 +15675,21 @@ msgid "" "a cron job) then it does not show the progress bar." msgstr "" -#: gnu/packages/perl.scm:8095 +#: gnu/packages/perl.scm:8091 msgid "Simple progress bars" msgstr "" -#: gnu/packages/perl.scm:8096 +#: gnu/packages/perl.scm:8092 msgid "" "Term::ProgressBar::Simple tells you how much work has been\n" "done, how much is left to do, and estimate how long it will take." msgstr "" -#: gnu/packages/perl.scm:8114 +#: gnu/packages/perl.scm:8110 msgid "Simple terminal control" msgstr "Contrôle de terminal simple" -#: gnu/packages/perl.scm:8115 +#: gnu/packages/perl.scm:8111 msgid "" "This module, ReadKey, provides ioctl control for terminals\n" "so the input modes can be changed (thus allowing reads of a single character\n" @@ -15117,11 +15698,11 @@ msgid "" "screen size, and retrieval/modification of the control characters." msgstr "" -#: gnu/packages/perl.scm:8140 +#: gnu/packages/perl.scm:8136 msgid "Retrieve terminal size" msgstr "" -#: gnu/packages/perl.scm:8141 +#: gnu/packages/perl.scm:8137 msgid "" "This is a unified interface to retrieve terminal size. It\n" "loads one module of a list of known alternatives, each implementing some way\n" @@ -15129,62 +15710,62 @@ msgid "" "the job on behalf of @code{Term::Size::Any}." msgstr "" -#: gnu/packages/perl.scm:8161 +#: gnu/packages/perl.scm:8157 msgid "Perl extension for retrieving terminal size (Perl version)" msgstr "" -#: gnu/packages/perl.scm:8162 +#: gnu/packages/perl.scm:8158 msgid "" "This is yet another implementation of @code{Term::Size}.\n" "Now in pure Perl, with the exception of a C probe run at build time." msgstr "" -#: gnu/packages/perl.scm:8182 +#: gnu/packages/perl.scm:8178 msgid "Format a header and rows into a table" msgstr "" -#: gnu/packages/perl.scm:8183 +#: gnu/packages/perl.scm:8179 msgid "" "This module is able to generically format rows of data\n" "into tables." msgstr "" -#: gnu/packages/perl.scm:8202 +#: gnu/packages/perl.scm:8198 msgid "Align text" msgstr "" -#: gnu/packages/perl.scm:8203 +#: gnu/packages/perl.scm:8199 msgid "" "Text::Aligner exports a single function, align(), which is\n" "used to justify strings to various alignment styles." msgstr "" -#: gnu/packages/perl.scm:8221 +#: gnu/packages/perl.scm:8217 msgid "Extract delimited text sequences from strings" msgstr "" -#: gnu/packages/perl.scm:8222 +#: gnu/packages/perl.scm:8218 msgid "" "The Text::Balanced module can be used to extract delimited\n" "text sequences from strings." msgstr "" -#: gnu/packages/perl.scm:8240 +#: gnu/packages/perl.scm:8236 msgid "Manipulate comma-separated values" msgstr "" -#: gnu/packages/perl.scm:8241 +#: gnu/packages/perl.scm:8237 msgid "" "Text::CSV provides facilities for the composition and\n" "decomposition of comma-separated values. An instance of the Text::CSV class\n" "can combine fields into a CSV string and parse a CSV string into fields." msgstr "" -#: gnu/packages/perl.scm:8260 +#: gnu/packages/perl.scm:8256 msgid "Rountines for manipulating CSV files" msgstr "" -#: gnu/packages/perl.scm:8261 +#: gnu/packages/perl.scm:8257 msgid "" "@code{Text::CSV_XS} provides facilities for the composition\n" "and decomposition of comma-separated values. An instance of the\n" @@ -15194,11 +15775,11 @@ msgid "" "and escapes." msgstr "" -#: gnu/packages/perl.scm:8285 +#: gnu/packages/perl.scm:8281 msgid "Perform diffs on files and record sets" msgstr "" -#: gnu/packages/perl.scm:8286 +#: gnu/packages/perl.scm:8282 msgid "" "Text::Diff provides a basic set of services akin to the GNU\n" "diff utility. It is not anywhere near as feature complete as GNU diff, but it\n" @@ -15207,44 +15788,44 @@ msgid "" "generally slower on larger files." msgstr "" -#: gnu/packages/perl.scm:8311 +#: gnu/packages/perl.scm:8307 msgid "Various subroutines to format text" msgstr "" -#: gnu/packages/perl.scm:8312 +#: gnu/packages/perl.scm:8308 msgid "" "This package provides functions to format text in various\n" "ways like centering, paragraphing, and converting tabs to spaces and spaces\n" "to tabs." msgstr "" -#: gnu/packages/perl.scm:8332 +#: gnu/packages/perl.scm:8328 msgid "Match globbing patterns against text" msgstr "" -#: gnu/packages/perl.scm:8333 +#: gnu/packages/perl.scm:8329 msgid "" "Text::Glob implements glob(3) style matching that can be\n" "used to match against text, rather than fetching names from a file system. If\n" "you want to do full file globbing use the File::Glob module instead." msgstr "" -#: gnu/packages/perl.scm:8356 +#: gnu/packages/perl.scm:8352 msgid "Fast, middleweight template engine" msgstr "" -#: gnu/packages/perl.scm:8358 +#: gnu/packages/perl.scm:8354 msgid "" "Text::NeatTemplate provides a simple, middleweight but fast\n" "template engine, for when you need speed rather than complex features,\n" "yet need more features than simple variable substitution." msgstr "" -#: gnu/packages/perl.scm:8377 +#: gnu/packages/perl.scm:8373 msgid "Convert between Roman and Arabic algorisms" msgstr "" -#: gnu/packages/perl.scm:8378 +#: gnu/packages/perl.scm:8374 msgid "" "This package provides functions to convert between Roman and\n" "Arabic algorisms. It supports both conventional Roman algorisms (which range\n" @@ -15252,27 +15833,27 @@ msgid "" "algorism to indicate multiplication by 1000." msgstr "" -#: gnu/packages/perl.scm:8398 +#: gnu/packages/perl.scm:8394 msgid "Simple ASCII tables" msgstr "" -#: gnu/packages/perl.scm:8399 +#: gnu/packages/perl.scm:8395 msgid "Text::SimpleTable draws simple ASCII tables." msgstr "" -#: gnu/packages/perl.scm:8420 +#: gnu/packages/perl.scm:8416 msgid "Organize Data in Tables" msgstr "" -#: gnu/packages/perl.scm:8421 +#: gnu/packages/perl.scm:8417 msgid "Text::Table renders plaintext tables." msgstr "" -#: gnu/packages/perl.scm:8442 +#: gnu/packages/perl.scm:8438 msgid "Expand template text with embedded Perl" msgstr "" -#: gnu/packages/perl.scm:8444 +#: gnu/packages/perl.scm:8440 msgid "" "This is a library for generating letters, building HTML pages, or\n" "filling in templates generally. A template is a piece of text that has little\n" @@ -15280,11 +15861,11 @@ msgid "" "evaluate the little programs and replace them with their values." msgstr "" -#: gnu/packages/perl.scm:8464 +#: gnu/packages/perl.scm:8460 msgid "Provide plain ASCII transliterations of Unicode text" msgstr "" -#: gnu/packages/perl.scm:8465 +#: gnu/packages/perl.scm:8461 msgid "" "Text::Unidecode provides a function, unidecode(...) that\n" "takes Unicode data and tries to represent it in US-ASCII characters (i.e., the\n" @@ -15294,29 +15875,29 @@ msgid "" "system." msgstr "" -#: gnu/packages/perl.scm:8486 +#: gnu/packages/perl.scm:8482 msgid "Perl interpreter-based threads" msgstr "" -#: gnu/packages/perl.scm:8487 +#: gnu/packages/perl.scm:8483 msgid "This module exposes interpreter threads to the Perl level." msgstr "" -#: gnu/packages/perl.scm:8510 +#: gnu/packages/perl.scm:8506 msgid "Role for classes that can be thrown" msgstr "" -#: gnu/packages/perl.scm:8511 +#: gnu/packages/perl.scm:8507 msgid "" "Throwable is a role for classes that are meant to be thrown\n" "as exceptions to standard program flow." msgstr "" -#: gnu/packages/perl.scm:8528 +#: gnu/packages/perl.scm:8524 msgid "Perl script tidier" msgstr "" -#: gnu/packages/perl.scm:8529 +#: gnu/packages/perl.scm:8525 msgid "" "This package contains a Perl script which indents and\n" "reformats Perl scripts to make them easier to read. The formatting can be\n" @@ -15324,21 +15905,21 @@ msgid "" "approximately follow the suggestions in the Perl Style Guide." msgstr "" -#: gnu/packages/perl.scm:8549 +#: gnu/packages/perl.scm:8545 msgid "Cycle through a list of values" msgstr "" -#: gnu/packages/perl.scm:8550 +#: gnu/packages/perl.scm:8546 msgid "" "You use @code{Tie::Cycle} to go through a list over and over\n" "again. Once you get to the end of the list, you go back to the beginning." msgstr "" -#: gnu/packages/perl.scm:8569 +#: gnu/packages/perl.scm:8565 msgid "Ordered associative arrays for Perl" msgstr "" -#: gnu/packages/perl.scm:8570 +#: gnu/packages/perl.scm:8566 msgid "" "This Perl module implements Perl hashes that preserve the\n" "order in which the hash elements were added. The order is not affected when\n" @@ -15347,53 +15928,53 @@ msgid "" "operations can also be performed on the IxHash." msgstr "" -#: gnu/packages/perl.scm:8593 +#: gnu/packages/perl.scm:8589 msgid "Tie to an existing Perl object" msgstr "" -#: gnu/packages/perl.scm:8594 +#: gnu/packages/perl.scm:8590 msgid "" "This class provides a tie constructor that returns the\n" "object it was given as it's first argument. This way side effects of calling\n" "$object->TIEHASH are avoided." msgstr "" -#: gnu/packages/perl.scm:8617 +#: gnu/packages/perl.scm:8613 msgid "English expression of durations" msgstr "" -#: gnu/packages/perl.scm:8618 +#: gnu/packages/perl.scm:8614 msgid "" "This module provides functions for expressing durations in\n" "rounded or exact terms." msgstr "" -#: gnu/packages/perl.scm:8640 +#: gnu/packages/perl.scm:8636 msgid "Parse time duration strings" msgstr "" -#: gnu/packages/perl.scm:8641 +#: gnu/packages/perl.scm:8637 msgid "" "Time::Duration::Parse is a module to parse human readable\n" "duration strings like \"2 minutes\" and \"3 seconds\" to seconds." msgstr "" -#: gnu/packages/perl.scm:8659 +#: gnu/packages/perl.scm:8655 msgid "High resolution alarm, sleep, gettimeofday, interval timers" msgstr "" -#: gnu/packages/perl.scm:8660 +#: gnu/packages/perl.scm:8656 msgid "" "This package implements @code{usleep}, @code{ualarm}, and\n" "@code{gettimeofday} for Perl, as well as wrappers to implement @code{time},\n" "@code{sleep}, and @code{alarm} that know about non-integral seconds." msgstr "" -#: gnu/packages/perl.scm:8679 +#: gnu/packages/perl.scm:8675 msgid "Efficiently compute time from local and GMT time" msgstr "" -#: gnu/packages/perl.scm:8680 +#: gnu/packages/perl.scm:8676 msgid "" "This module provides functions that are the inverse of\n" "built-in perl functions localtime() and gmtime(). They accept a date as a\n" @@ -15401,11 +15982,11 @@ msgid "" "the system epoch." msgstr "" -#: gnu/packages/perl.scm:8700 +#: gnu/packages/perl.scm:8696 msgid "Object-Oriented time objects" msgstr "" -#: gnu/packages/perl.scm:8702 +#: gnu/packages/perl.scm:8698 msgid "" "This module replaces the standard @code{localtime} and @code{gmtime}\n" "functions with implementations that return objects. It does so in a\n" @@ -15413,62 +15994,62 @@ msgid "" "still work as expected." msgstr "" -#: gnu/packages/perl.scm:8722 +#: gnu/packages/perl.scm:8718 msgid "Date parsing/formatting subroutines" msgstr "" -#: gnu/packages/perl.scm:8723 +#: gnu/packages/perl.scm:8719 msgid "" "This module provides routines for parsing date string into\n" "time values and formatting dates into ASCII strings." msgstr "" -#: gnu/packages/perl.scm:8745 +#: gnu/packages/perl.scm:8741 msgid "Shift and scale time" msgstr "" -#: gnu/packages/perl.scm:8746 +#: gnu/packages/perl.scm:8742 msgid "" "This module allows you to speed up your sleep(), alarm(),\n" "and time() calls." msgstr "" -#: gnu/packages/perl.scm:8769 +#: gnu/packages/perl.scm:8765 msgid "Simple tree object" msgstr "" -#: gnu/packages/perl.scm:8770 +#: gnu/packages/perl.scm:8766 msgid "" "This module in a fully object-oriented implementation of a\n" "simple n-ary tree." msgstr "" -#: gnu/packages/perl.scm:8794 +#: gnu/packages/perl.scm:8790 msgid "Factory object for dispensing Visitor objects" msgstr "" -#: gnu/packages/perl.scm:8795 +#: gnu/packages/perl.scm:8791 msgid "" "This module is a factory for dispensing\n" "Tree::Simple::Visitor::* objects." msgstr "" -#: gnu/packages/perl.scm:8813 +#: gnu/packages/perl.scm:8809 msgid "Minimal try/catch with proper preservation of $@@" msgstr "" -#: gnu/packages/perl.scm:8814 +#: gnu/packages/perl.scm:8810 msgid "" "This module provides bare bones try/catch/finally statements\n" "that are designed to minimize common mistakes with eval blocks, and nothing\n" "else." msgstr "" -#: gnu/packages/perl.scm:8839 +#: gnu/packages/perl.scm:8835 msgid "Tie a variable to a type constraint" msgstr "" -#: gnu/packages/perl.scm:8840 +#: gnu/packages/perl.scm:8836 msgid "" "This module exports a single function: @code{ttie}. It ties\n" "a variable to a type constraint, ensuring that whatever values stored in the\n" @@ -15477,11 +16058,11 @@ msgid "" "variable conform." msgstr "" -#: gnu/packages/perl.scm:8873 +#: gnu/packages/perl.scm:8869 msgid "Tiny, yet Moo(se)-compatible type constraint" msgstr "" -#: gnu/packages/perl.scm:8874 +#: gnu/packages/perl.scm:8870 msgid "" "@code{Type::Tiny} is a small class for writing type\n" "constraints, inspired by Moose's type constraint API. It has only one\n" @@ -15490,11 +16071,11 @@ msgid "" "be used with Moose, Mouse and Moo (or none of the above)." msgstr "" -#: gnu/packages/perl.scm:8895 +#: gnu/packages/perl.scm:8891 msgid "Provides an XS boost for some of Type::Tiny's built-in type constraints" msgstr "" -#: gnu/packages/perl.scm:8896 +#: gnu/packages/perl.scm:8892 msgid "" "This module is optionally used by @code{Type::Tiny} to\n" "provide faster, C-based implementations of some type constraints. This\n" @@ -15502,11 +16083,11 @@ msgid "" "so other data validation frameworks might also consider using it." msgstr "" -#: gnu/packages/perl.scm:8921 +#: gnu/packages/perl.scm:8917 msgid "Types and coercions for Moose and Moo" msgstr "" -#: gnu/packages/perl.scm:8922 +#: gnu/packages/perl.scm:8918 msgid "" "This module provides @code{Path::Tiny} types for Moose, Moo,\n" "etc. It handles two important types of coercion: coercing objects with\n" @@ -15514,29 +16095,29 @@ msgid "" "to ensure that files or directories exist." msgstr "" -#: gnu/packages/perl.scm:8944 +#: gnu/packages/perl.scm:8940 msgid "Data types for common serialisation formats" msgstr "" -#: gnu/packages/perl.scm:8945 +#: gnu/packages/perl.scm:8941 msgid "" "This module provides some extra datatypes that are used by\n" "common serialisation formats such as JSON or CBOR." msgstr "" -#: gnu/packages/perl.scm:8972 +#: gnu/packages/perl.scm:8968 msgid "Unicode normalization forms" msgstr "" -#: gnu/packages/perl.scm:8973 +#: gnu/packages/perl.scm:8969 msgid "This Perl module provides Unicode normalization forms." msgstr "" -#: gnu/packages/perl.scm:9002 +#: gnu/packages/perl.scm:8998 msgid "Unicode collation algorithm" msgstr "" -#: gnu/packages/perl.scm:9003 +#: gnu/packages/perl.scm:8999 msgid "" "This package provides tools for sorting and comparing\n" "Unicode data." @@ -15544,63 +16125,63 @@ msgstr "" "Ce paquet fournit des outils pour trier et comparer des\n" "données Unicode." -#: gnu/packages/perl.scm:9024 +#: gnu/packages/perl.scm:9020 msgid "Unicode line breaking algorithm" msgstr "" -#: gnu/packages/perl.scm:9026 +#: gnu/packages/perl.scm:9022 msgid "" "@code{Unicode::LineBreak} implements the line breaking algorithm\n" "described in Unicode Standard Annex #14. The @code{East_Asian_Width} property\n" "defined by Annex #11 is used to determine breaking positions." msgstr "" -#: gnu/packages/perl.scm:9049 +#: gnu/packages/perl.scm:9045 msgid "Encoding and decoding of UTF-8 encoding form" msgstr "" -#: gnu/packages/perl.scm:9051 +#: gnu/packages/perl.scm:9047 msgid "" "This module provides functions to encode and decode UTF-8 encoding form\n" "as specified by Unicode and ISO/IEC 10646:2011." msgstr "" -#: gnu/packages/perl.scm:9069 +#: gnu/packages/perl.scm:9065 msgid "UNIVERSAL::can() reimplementation" msgstr "" -#: gnu/packages/perl.scm:9070 +#: gnu/packages/perl.scm:9066 msgid "" "This module attempts to work around people calling\n" "UNIVERSAL::can() as a function, which it is not." msgstr "" -#: gnu/packages/perl.scm:9090 +#: gnu/packages/perl.scm:9086 msgid "UNIVERSAL::isa() reimplementation" msgstr "" -#: gnu/packages/perl.scm:9091 +#: gnu/packages/perl.scm:9087 msgid "" "This module attempts to recover from people calling\n" "UNIVERSAL::isa as a function." msgstr "" -#: gnu/packages/perl.scm:9110 +#: gnu/packages/perl.scm:9106 msgid "Require modules from a variable" msgstr "" -#: gnu/packages/perl.scm:9111 +#: gnu/packages/perl.scm:9107 msgid "" "This module lets you require other modules where the module\n" "name is in a variable, something you can't do with the @code{require}\n" "built-in." msgstr "" -#: gnu/packages/perl.scm:9130 +#: gnu/packages/perl.scm:9126 msgid "Associate user-defined magic to variables from Perl" msgstr "" -#: gnu/packages/perl.scm:9131 +#: gnu/packages/perl.scm:9127 msgid "" "Magic is Perl's way of enhancing variables. This mechanism\n" "lets the user add extra data to any variable and hook syntactical\n" @@ -15609,11 +16190,11 @@ msgid "" "having to write a single line of XS." msgstr "" -#: gnu/packages/perl.scm:9154 +#: gnu/packages/perl.scm:9150 msgid "Easily generate well-formed, namespace-aware XML" msgstr "" -#: gnu/packages/perl.scm:9155 +#: gnu/packages/perl.scm:9151 msgid "" "@code{XML::Writer} is a simple Perl module for writing XML\n" "documents: it takes care of constructing markup and escaping data correctly.\n" @@ -15623,11 +16204,11 @@ msgid "" "attribute names." msgstr "" -#: gnu/packages/perl.scm:9182 +#: gnu/packages/perl.scm:9178 msgid "Opaque, extensible XS pointer backed objects using sv_magic" msgstr "" -#: gnu/packages/perl.scm:9184 +#: gnu/packages/perl.scm:9180 msgid "" "This way of associating structs with Perl space objects is designed to\n" "supersede Perl's builtin @code{T_PTROBJ} with something that is extensible\n" @@ -15635,62 +16216,62 @@ msgid "" "neither visible nor modifiable from Perl space)." msgstr "" -#: gnu/packages/perl.scm:9206 +#: gnu/packages/perl.scm:9202 msgid "YAML for Perl" msgstr "" -#: gnu/packages/perl.scm:9207 +#: gnu/packages/perl.scm:9203 msgid "" "The YAML.pm module implements a YAML Loader and Dumper based\n" "on the YAML 1.0 specification." msgstr "" -#: gnu/packages/perl.scm:9229 +#: gnu/packages/perl.scm:9225 msgid "Perl YAML Serialization using XS and libyaml" msgstr "" -#: gnu/packages/perl.scm:9231 +#: gnu/packages/perl.scm:9227 msgid "" "@code{YAML::XS} is a Perl XS binding to libyaml which offers Perl the\n" "best YAML support to date." msgstr "" -#: gnu/packages/perl.scm:9254 +#: gnu/packages/perl.scm:9250 msgid "Read/Write YAML files" msgstr "" -#: gnu/packages/perl.scm:9255 +#: gnu/packages/perl.scm:9251 msgid "" "YAML::Tiny is a perl class for reading and writing\n" "YAML-style files, written with as little code as possible, reducing load time\n" "and memory overhead." msgstr "" -#: gnu/packages/perl.scm:9279 +#: gnu/packages/perl.scm:9275 msgid "Generate recursive-descent parsers" msgstr "" -#: gnu/packages/perl.scm:9281 +#: gnu/packages/perl.scm:9277 msgid "" "@code{Parse::RecDescent} can incrementally generate top-down\n" "recursive-descent text parsers from simple yacc-like grammar specifications." msgstr "" -#: gnu/packages/perl.scm:9301 +#: gnu/packages/perl.scm:9297 msgid "Generate and use LALR parsers" msgstr "" -#: gnu/packages/perl.scm:9302 +#: gnu/packages/perl.scm:9298 msgid "" "This package compiles yacc-like @dfn{Look Ahead LR} (LALR)\n" "grammars to generate Perl object oriented parser modules." msgstr "" -#: gnu/packages/perl.scm:9328 +#: gnu/packages/perl.scm:9324 msgid "Distribution metadata for a CPAN dist" msgstr "" -#: gnu/packages/perl.scm:9329 +#: gnu/packages/perl.scm:9325 msgid "" "Software distributions released to the CPAN include a\n" "META.json or, for older distributions, META.yml, which describes the\n" @@ -15701,11 +16282,11 @@ msgid "" "methods for interrogating that data." msgstr "" -#: gnu/packages/perl.scm:9352 +#: gnu/packages/perl.scm:9348 msgid "Set of version requirements for a CPAN dist" msgstr "" -#: gnu/packages/perl.scm:9353 +#: gnu/packages/perl.scm:9349 msgid "" "A CPAN::Meta::Requirements object models a set of version\n" "constraints like those specified in the META.yml or META.json files in CPAN\n" @@ -15714,22 +16295,22 @@ msgid "" "representation." msgstr "" -#: gnu/packages/perl.scm:9376 +#: gnu/packages/perl.scm:9372 msgid "Read and write a subset of YAML for CPAN Meta files" msgstr "" -#: gnu/packages/perl.scm:9377 +#: gnu/packages/perl.scm:9373 msgid "" "This module implements a subset of the YAML specification\n" "for use in reading and writing CPAN metadata files like META.yml and\n" "MYMETA.yml." msgstr "" -#: gnu/packages/perl.scm:9398 +#: gnu/packages/perl.scm:9394 msgid "Build and install Perl modules" msgstr "" -#: gnu/packages/perl.scm:9399 +#: gnu/packages/perl.scm:9395 msgid "" "@code{Module::Build} is a system for building, testing, and\n" "installing Perl modules; it used to be part of Perl itself until version 5.22,\n" @@ -15740,21 +16321,21 @@ msgid "" "system---most of the @code{Module::Build} code is pure-Perl." msgstr "" -#: gnu/packages/perl.scm:9425 +#: gnu/packages/perl.scm:9421 msgid "Parse META.yml and META.json CPAN metadata files" msgstr "" -#: gnu/packages/perl.scm:9426 +#: gnu/packages/perl.scm:9422 msgid "" "Parse::CPAN::Meta is a parser for META.json and META.yml\n" "files, using JSON::PP and/or CPAN::Meta::YAML." msgstr "" -#: gnu/packages/perl.scm:9444 +#: gnu/packages/perl.scm:9440 msgid "Common Scalar and List utility subroutines" msgstr "" -#: gnu/packages/perl.scm:9445 +#: gnu/packages/perl.scm:9441 msgid "" "This package contains a selection of subroutines that people\n" "have expressed would be nice to have in the perl core, but the usage would not\n" @@ -15762,39 +16343,39 @@ msgid "" "such that being individual extensions would be wasteful." msgstr "" -#: gnu/packages/perl.scm:9469 +#: gnu/packages/perl.scm:9465 msgid "Cross-platform functions emulating common shell commands" msgstr "" -#: gnu/packages/perl.scm:9471 +#: gnu/packages/perl.scm:9467 msgid "Shell::Command is a thin wrapper around ExtUtils::Command." msgstr "" -#: gnu/packages/perl.scm:9498 +#: gnu/packages/perl.scm:9494 msgid "Object-oriented File::Find replacement in Perl" msgstr "" -#: gnu/packages/perl.scm:9499 +#: gnu/packages/perl.scm:9495 msgid "" "File::Find::Object is an object-oriented\n" "File::Find replacement in Perl." msgstr "" -#: gnu/packages/perl.scm:9528 +#: gnu/packages/perl.scm:9524 msgid "Alternative interface to File::Find::Object" msgstr "" -#: gnu/packages/perl.scm:9529 +#: gnu/packages/perl.scm:9525 msgid "" "File::Find::Object::Rule is an alternative Perl\n" "interface to File::Find::Object." msgstr "" -#: gnu/packages/perl.scm:9550 +#: gnu/packages/perl.scm:9546 msgid "Wrapper for @code{File::Find} ala @code{find(1)}" msgstr "" -#: gnu/packages/perl.scm:9552 +#: gnu/packages/perl.scm:9548 msgid "" "@code{File::Find} is great, but constructing the wanted routine can\n" "sometimes be a pain. @code{File::Finder} provides a wanted-writer, using\n" @@ -15809,11 +16390,11 @@ msgid "" "used as the head of many different sequences." msgstr "" -#: gnu/packages/perl.scm:9581 +#: gnu/packages/perl.scm:9577 msgid "TTF font support for Perl" msgstr "Support des polices TTF pour Perl" -#: gnu/packages/perl.scm:9582 +#: gnu/packages/perl.scm:9578 msgid "" "This package provides a Perl module for TrueType/OpenType\n" "font hacking. It supports reading, processing and writing of the following\n" @@ -15822,22 +16403,22 @@ msgid "" "prop, vhea, vmtx and the reading and writing of all other table types." msgstr "" -#: gnu/packages/perl.scm:9620 +#: gnu/packages/perl.scm:9616 msgid "Collection of Perl modules for time/date manipulation" msgstr "" -#: gnu/packages/perl.scm:9621 +#: gnu/packages/perl.scm:9617 msgid "" "Provides several perl modules for date/time manipulation:\n" "@code{Time::CTime.pm}, @code{Time::JulianDay.pm}, @code{Time::ParseDate.pm},\n" "@code{Time::Timezone.pm}, and @code{Time::DaysInMonth.pm}." msgstr "" -#: gnu/packages/perl.scm:9650 +#: gnu/packages/perl.scm:9646 msgid "Perl library for testing if a time() is in a specific period" msgstr "" -#: gnu/packages/perl.scm:9651 +#: gnu/packages/perl.scm:9647 msgid "" "This Perl library provides a function which tells whether a\n" "specific time falls within a specified time period. Its syntax for specifying\n" @@ -15847,11 +16428,11 @@ msgid "" "1998\"." msgstr "" -#: gnu/packages/perl.scm:9683 +#: gnu/packages/perl.scm:9679 msgid "Iterative, recursive file finder" msgstr "" -#: gnu/packages/perl.scm:9684 +#: gnu/packages/perl.scm:9680 msgid "" "Path::Iterator::Rule iterates over files and directories to\n" "identify ones matching a user-defined set of rules. The API is based heavily\n" @@ -15878,11 +16459,11 @@ msgid "" "arduous to type for one-liners." msgstr "" -#: gnu/packages/perl.scm:9724 +#: gnu/packages/perl.scm:9720 msgid "Include constants from POD" msgstr "" -#: gnu/packages/perl.scm:9725 +#: gnu/packages/perl.scm:9721 msgid "" "This module allows you to specify those constants that\n" "should be documented in your POD, and pull them out a run time in a fairly\n" @@ -15894,96 +16475,96 @@ msgid "" "(or it can't find %INC{caller()})." msgstr "" -#: gnu/packages/perl.scm:9752 +#: gnu/packages/perl.scm:9748 msgid "Collection of regexp patterns" msgstr "" -#: gnu/packages/perl.scm:9753 +#: gnu/packages/perl.scm:9749 msgid "" "Regexp::Pattern is a convention for organizing reusable\n" "regexp patterns in modules." msgstr "" -#: gnu/packages/photo.scm:82 +#: gnu/packages/photo.scm:88 msgid "Raw image decoder" msgstr "" -#: gnu/packages/photo.scm:84 +#: gnu/packages/photo.scm:90 msgid "" "LibRaw is a library for reading RAW files obtained from digital photo\n" "cameras (CRW/CR2, NEF, RAF, DNG, and others)." msgstr "" -#: gnu/packages/photo.scm:103 +#: gnu/packages/photo.scm:125 msgid "Read and manipulate EXIF data in digital photographs" msgstr "" -#: gnu/packages/photo.scm:105 +#: gnu/packages/photo.scm:127 msgid "" "The libexif C library allows applications to read, edit, and save EXIF\n" "data as produced by digital cameras." msgstr "" -#: gnu/packages/photo.scm:131 +#: gnu/packages/photo.scm:153 msgid "Accessing digital cameras" msgstr "" -#: gnu/packages/photo.scm:133 +#: gnu/packages/photo.scm:155 msgid "" "This is the library backend for gphoto2. It contains the code for PTP,\n" "MTP, and other vendor specific protocols for controlling and transferring data\n" "from digital cameras." msgstr "" -#: gnu/packages/photo.scm:175 +#: gnu/packages/photo.scm:197 msgid "Command-line tools to access digital cameras" msgstr "" -#: gnu/packages/photo.scm:177 +#: gnu/packages/photo.scm:199 msgid "" "Gphoto2 is a set of command line utilities for manipulating a large\n" "number of different digital cameras. Through libgphoto2, it supports PTP,\n" "MTP, and much more." msgstr "" -#: gnu/packages/photo.scm:210 +#: gnu/packages/photo.scm:232 msgid "Program and Perl library to manipulate EXIF and other metadata" msgstr "" -#: gnu/packages/photo.scm:211 +#: gnu/packages/photo.scm:233 msgid "" "This package provides the @code{exiftool} command and the\n" "@code{Image::ExifTool} Perl library to manipulate EXIF tags of digital images\n" "and a wide variety of other metadata." msgstr "" -#: gnu/packages/photo.scm:235 +#: gnu/packages/photo.scm:257 msgid "Library for panoramic images" msgstr "Bibliothèque de d'images panoramiques" -#: gnu/packages/photo.scm:237 +#: gnu/packages/photo.scm:259 msgid "" "The libpano13 package contains the backend library written by the\n" "Panorama Tools project for building panoramic images from a set of\n" "overlapping images, as well as some command line tools." msgstr "" -#: gnu/packages/photo.scm:281 +#: gnu/packages/photo.scm:303 msgid "Tools for combining and blending images" msgstr "Outils de combinaison et mélange d'images" -#: gnu/packages/photo.scm:283 +#: gnu/packages/photo.scm:305 msgid "" "Enblend blends away the seams in a panoramic image mosaic using a\n" "multi-resolution spline. Enfuse merges different exposures of the same\n" "scene to produce an image that looks much like a tone-mapped image." msgstr "" -#: gnu/packages/photo.scm:314 +#: gnu/packages/photo.scm:336 msgid "Library to correct optical lens defects with a lens database" msgstr "" -#: gnu/packages/photo.scm:315 +#: gnu/packages/photo.scm:337 msgid "" "Digital photographs are not ideal. Of course, the better is\n" "your camera, the better the results will be, but in any case if you look\n" @@ -15997,11 +16578,11 @@ msgid "" "photographic equipment." msgstr "" -#: gnu/packages/photo.scm:391 +#: gnu/packages/photo.scm:413 msgid "Virtual lighttable and darkroom for photographers" msgstr "" -#: gnu/packages/photo.scm:392 +#: gnu/packages/photo.scm:414 msgid "" "Darktable is a photography workflow application and RAW\n" "developer. It manages your digital negatives in a database, lets you view\n" @@ -16009,22 +16590,22 @@ msgid "" "and enhance them." msgstr "" -#: gnu/packages/photo.scm:463 +#: gnu/packages/photo.scm:485 msgid "Panorama photo stitcher" msgstr "" -#: gnu/packages/photo.scm:465 +#: gnu/packages/photo.scm:487 msgid "" "Hugin is an easy to use panoramic imaging toolchain with a graphical\n" "user interface. It can be used to assemble a mosaic of photographs into\n" "a complete panorama and stitch any series of overlapping pictures." msgstr "" -#: gnu/packages/photo.scm:516 +#: gnu/packages/photo.scm:538 msgid "Raw image developing and processing" msgstr "" -#: gnu/packages/photo.scm:517 +#: gnu/packages/photo.scm:539 msgid "" "RawTherapee is a raw image processing suite. It comprises a\n" "subset of image editing operations specifically aimed at non-destructive raw\n" @@ -16080,11 +16661,11 @@ msgid "" "'special effects' using the filter mechanism." msgstr "" -#: gnu/packages/scanner.scm:90 +#: gnu/packages/scanner.scm:91 msgid "Raster image scanner library and drivers, without scanner support" msgstr "" -#: gnu/packages/scanner.scm:91 +#: gnu/packages/scanner.scm:92 msgid "" "SANE stands for \"Scanner Access Now Easy\" and is an API\n" "proving access to any raster image scanner hardware (flatbed scanner,\n" @@ -16092,11 +16673,11 @@ msgid "" "package contains the library, but no drivers." msgstr "" -#: gnu/packages/scanner.scm:129 +#: gnu/packages/scanner.scm:130 msgid "Raster image scanner library and drivers, with scanner support" msgstr "" -#: gnu/packages/scanner.scm:130 +#: gnu/packages/scanner.scm:131 msgid "" "SANE stands for \"Scanner Access Now Easy\" and is an API\n" "proving access to any raster image scanner hardware (flatbed scanner,\n" @@ -16104,11 +16685,11 @@ msgid "" "package contains the library and drivers." msgstr "" -#: gnu/packages/scheme.scm:193 +#: gnu/packages/scheme.scm:200 msgid "A Scheme implementation with integrated editor and debugger" msgstr "Une implantation de Scheme avec éditeur et débogueur intégrés" -#: gnu/packages/scheme.scm:195 +#: gnu/packages/scheme.scm:202 msgid "" "GNU/MIT Scheme is an implementation of the Scheme programming\n" "language. It provides an interpreter, a compiler and a debugger. It also\n" @@ -16118,11 +16699,11 @@ msgstr "" "Il fournit un interpréteur, un compilateur et un débogueur. Il intègre\n" "également un éditeur sur le modèle d'Emacs et une librairie d'exécution complète." -#: gnu/packages/scheme.scm:283 +#: gnu/packages/scheme.scm:290 msgid "Efficient Scheme compiler" msgstr "Compilateur Scheme efficace" -#: gnu/packages/scheme.scm:285 +#: gnu/packages/scheme.scm:292 msgid "" "Bigloo is a Scheme implementation devoted to one goal: enabling\n" "Scheme based programming style where C(++) is usually\n" @@ -16143,11 +16724,11 @@ msgstr "" "Bigloo permet de connecter complètement des programmes Scheme et C\n" "et des programmes Scheme et Java." -#: gnu/packages/scheme.scm:334 +#: gnu/packages/scheme.scm:340 msgid "Multi-tier programming language for the Web 2.0" msgstr "" -#: gnu/packages/scheme.scm:336 +#: gnu/packages/scheme.scm:342 msgid "" "HOP is a multi-tier programming language for the Web 2.0 and the\n" "so-called diffuse Web. It is designed for programming interactive web\n" @@ -16156,11 +16737,11 @@ msgid "" "mashups, office (web agendas, mail clients, ...), etc." msgstr "" -#: gnu/packages/scheme.scm:377 +#: gnu/packages/scheme.scm:383 msgid "R5RS Scheme implementation that compiles native code via C" msgstr "" -#: gnu/packages/scheme.scm:379 +#: gnu/packages/scheme.scm:385 msgid "" "CHICKEN is a compiler for the Scheme programming language. CHICKEN\n" "produces portable and efficient C, supports almost all of the R5RS Scheme\n" @@ -16170,11 +16751,11 @@ msgstr "" "produit du C portable et efficace, supporte l'essentiel du standard R5RS et\n" "incult de nombreuses améliorations et extensions." -#: gnu/packages/scheme.scm:398 +#: gnu/packages/scheme.scm:404 msgid "Scheme implementation using a bytecode interpreter" msgstr "Implantation de Scheme utilisanat un interpréteur pour bytecode" -#: gnu/packages/scheme.scm:400 +#: gnu/packages/scheme.scm:406 msgid "" "Scheme 48 is an implementation of Scheme based on a byte-code\n" "interpreter and is designed to be used as a testbed for experiments in\n" @@ -16184,11 +16765,11 @@ msgstr "" "destinée à être utilisée comme un banc d'essai pour des expérimentations\n" "portant sur des techniques d'implantation et comme un outil d'exposition." -#: gnu/packages/scheme.scm:517 +#: gnu/packages/scheme.scm:525 msgid "Implementation of Scheme and related languages" msgstr "Implantation de Scheme et d'autres langages associés" -#: gnu/packages/scheme.scm:519 +#: gnu/packages/scheme.scm:527 msgid "" "Racket is an implementation of the Scheme programming language (R5RS and\n" "R6RS) and related languages, such as Typed Racket. It features a compiler and\n" @@ -16200,11 +16781,11 @@ msgstr "" "une machine virtuelle avec compilation à la volée ainsi qu'un ensemble de\n" "bibliothèques." -#: gnu/packages/scheme.scm:557 +#: gnu/packages/scheme.scm:554 msgid "Efficient Scheme interpreter and compiler" msgstr "Compilateur et interpréteur Scheme efficace" -#: gnu/packages/scheme.scm:559 +#: gnu/packages/scheme.scm:556 msgid "" "Gambit consists of two main programs: gsi, the Gambit Scheme\n" "interpreter, and gsc, the Gambit Scheme compiler. The interpreter contains\n" @@ -16215,11 +16796,11 @@ msgid "" "mixed." msgstr "" -#: gnu/packages/scheme.scm:593 +#: gnu/packages/scheme.scm:590 msgid "Small embeddable Scheme implementation" msgstr "" -#: gnu/packages/scheme.scm:595 +#: gnu/packages/scheme.scm:592 msgid "" "Chibi-Scheme is a very small library with no external dependencies\n" "intended for use as an extension and scripting language in C programs. In\n" @@ -16228,11 +16809,11 @@ msgid "" "threads." msgstr "" -#: gnu/packages/scheme.scm:766 +#: gnu/packages/scheme.scm:764 msgid "Scmutils library for MIT Scheme" msgstr "" -#: gnu/packages/scheme.scm:767 +#: gnu/packages/scheme.scm:765 msgid "" "The Scmutils system is an integrated library of\n" "procedures, embedded in the programming language Scheme, and intended to\n" @@ -16240,11 +16821,11 @@ msgid "" "engineering." msgstr "" -#: gnu/packages/scheme.scm:816 +#: gnu/packages/scheme.scm:814 msgid "Structure and Interpretation of Computer Programs" msgstr "" -#: gnu/packages/scheme.scm:817 +#: gnu/packages/scheme.scm:815 msgid "" "Structure and Interpretation of Computer Programs (SICP) is\n" "a textbook aiming to teach the principles of computer programming.\n" @@ -16254,31 +16835,31 @@ msgid "" "metalinguistic abstraction, recursion, interpreters, and modular programming." msgstr "" -#: gnu/packages/scheme.scm:859 +#: gnu/packages/scheme.scm:857 msgid "SRE String pattern-matching library for scheme48" msgstr "" -#: gnu/packages/scheme.scm:861 +#: gnu/packages/scheme.scm:859 msgid "" "String pattern-matching library for scheme48 based on the SRE\n" "regular-expression notation." msgstr "" -#: gnu/packages/scheme.scm:893 +#: gnu/packages/scheme.scm:892 msgid "Compatibility and utility library for Scheme" msgstr "" -#: gnu/packages/scheme.scm:894 +#: gnu/packages/scheme.scm:893 msgid "" "SLIB is a portable Scheme library providing compatibility and\n" "utility functions for all standard Scheme implementations." msgstr "" -#: gnu/packages/scheme.scm:955 +#: gnu/packages/scheme.scm:949 msgid "Scheme implementation conforming to R5RS and IEEE P1178" msgstr "" -#: gnu/packages/scheme.scm:956 +#: gnu/packages/scheme.scm:950 msgid "" "GNU SCM is an implementation of Scheme. This\n" "implementation includes Hobbit, a Scheme-to-C compiler, which can\n" @@ -16286,11 +16867,11 @@ msgid "" "linked with a SCM executable." msgstr "" -#: gnu/packages/scheme.scm:1013 +#: gnu/packages/scheme.scm:1007 msgid "Light-weight interpreter for the Scheme programming language" msgstr "Interpréteur léger pour le langage de programmation Scheme" -#: gnu/packages/scheme.scm:1015 +#: gnu/packages/scheme.scm:1009 msgid "" "TinyScheme is a light-weight Scheme interpreter that implements as large a\n" "subset of R5RS as was possible without getting very large and complicated.\n" @@ -16306,6 +16887,33 @@ msgid "" "small program, it is easy to comprehend, get to grips with, and use." msgstr "" +#: gnu/packages/scheme.scm:1088 +msgid "Brutally efficient Scheme compiler" +msgstr "Compilateur Scheme extrêmement efficace" + +#: gnu/packages/scheme.scm:1090 +msgid "" +"Stalin is an aggressively optimizing whole-program compiler\n" +"for Scheme that does polyvariant interprocedural flow analysis,\n" +"flow-directed interprocedural escape analysis, flow-directed\n" +"lightweight CPS conversion, flow-directed lightweight closure\n" +"conversion, flow-directed interprocedural lifetime analysis, automatic\n" +"in-lining, unboxing, and flow-directed program-specific and\n" +"program-point-specific low-level representation selection and code\n" +"generation." +msgstr "" + +#: gnu/packages/scheme.scm:1142 +msgid "Scheme-like lisp implementation" +msgstr "Implémentation lisp proche de Scheme" + +#: gnu/packages/scheme.scm:1144 +msgid "" +"@code{femtolisp} is a scheme-like lisp implementation with a\n" +"simple, elegant Scheme dialect. It is a lisp-1 with lexical scope.\n" +"The core is 12 builtin special forms and 33 builtin functions." +msgstr "" + #: gnu/packages/search.scm:75 msgid "Search Engine Library" msgstr "" @@ -16451,21 +17059,21 @@ msgid "" "and syntax highlighting." msgstr "" -#: gnu/packages/shells.scm:188 +#: gnu/packages/shells.scm:183 msgid "Alternative implementation of the rc shell by Byron Rakitzis" msgstr "" -#: gnu/packages/shells.scm:190 +#: gnu/packages/shells.scm:185 msgid "" "This is a reimplementation by Byron Rakitzis of the Plan 9 shell. It\n" "has a small feature set similar to a traditional Bourne shell." msgstr "" -#: gnu/packages/shells.scm:221 +#: gnu/packages/shells.scm:216 msgid "Extensible shell with higher-order functions" msgstr "" -#: gnu/packages/shells.scm:223 +#: gnu/packages/shells.scm:218 msgid "" "Es is an extensible shell. The language was derived from the Plan 9\n" "shell, rc, and was influenced by functional programming languages, such as\n" @@ -16474,11 +17082,11 @@ msgid "" "written by Paul Haahr and Byron Rakitzis." msgstr "" -#: gnu/packages/shells.scm:283 +#: gnu/packages/shells.scm:278 msgid "Unix shell based on csh" msgstr "" -#: gnu/packages/shells.scm:285 +#: gnu/packages/shells.scm:280 msgid "" "Tcsh is an enhanced, but completely compatible version of the Berkeley\n" "UNIX C shell (csh). It is a command language interpreter usable both as an\n" @@ -16487,11 +17095,11 @@ msgid "" "history mechanism, job control and a C-like syntax." msgstr "" -#: gnu/packages/shells.scm:344 +#: gnu/packages/shells.scm:339 msgid "Powerful shell for interactive use and scripting" msgstr "Shell puissant pour un usage interactif et l'écriture de scripts" -#: gnu/packages/shells.scm:345 +#: gnu/packages/shells.scm:340 msgid "" "The Z shell (zsh) is a Unix shell that can be used\n" "as an interactive login shell and as a powerful command interpreter\n" @@ -16504,11 +17112,11 @@ msgstr "" "shell. Zsh peut être vu comme un Bourn shell étendu doté de nombreuses améliorations\n" "et incluant certaines fonctionnalités de bash, ksh et tcsh." -#: gnu/packages/shells.scm:384 +#: gnu/packages/shells.scm:379 msgid "Python-ish shell" msgstr "" -#: gnu/packages/shells.scm:386 +#: gnu/packages/shells.scm:381 msgid "" "Xonsh is a Python-ish, BASHwards-looking shell language and command\n" "prompt. The language is a superset of Python 3.4+ with additional shell\n" @@ -16517,11 +17125,11 @@ msgid "" "use of experts and novices alike." msgstr "" -#: gnu/packages/shells.scm:433 +#: gnu/packages/shells.scm:425 msgid "Unix shell embedded in Scheme" msgstr "" -#: gnu/packages/shells.scm:435 +#: gnu/packages/shells.scm:427 msgid "" "Scsh is a Unix shell embedded in Scheme. Scsh has two main\n" "components: a process notation for running programs and setting up pipelines\n" @@ -16529,11 +17137,11 @@ msgid "" "operating system." msgstr "" -#: gnu/packages/shells.scm:474 +#: gnu/packages/shells.scm:466 msgid "Minimal zero-config readline replacement" msgstr "" -#: gnu/packages/shells.scm:476 +#: gnu/packages/shells.scm:468 msgid "" "Linenoise is a minimal, zero-config, readline replacement.\n" "Its features include:\n" @@ -16547,11 +17155,11 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/shells.scm:538 +#: gnu/packages/shells.scm:530 msgid "Extremely minimal shell with the simplest syntax possible" msgstr "" -#: gnu/packages/shells.scm:540 +#: gnu/packages/shells.scm:532 msgid "" "S is a new shell that aims to be extremely simple.\n" "S does not implemnt the POSIX shell standard.\n" @@ -16564,42 +17172,42 @@ msgid "" "A @code{andglob} program is also provided along with s." msgstr "" -#: gnu/packages/shells.scm:568 +#: gnu/packages/shells.scm:560 msgid "Port of OpenBSD Korn Shell" msgstr "" -#: gnu/packages/shells.scm:570 +#: gnu/packages/shells.scm:562 msgid "" "Oksh is a port of the OpenBSD Korn Shell.\n" "The OpenBSD Korn Shell is a cleaned up and enhanced ksh." msgstr "" -#: gnu/packages/shells.scm:602 +#: gnu/packages/shells.scm:594 msgid "Korn Shell from OpenBSD" msgstr "" -#: gnu/packages/shells.scm:604 +#: gnu/packages/shells.scm:596 msgid "" "loksh is a Linux port of OpenBSD's @command{ksh}. It is a small,\n" "interactive POSIX shell targeted at resource-constrained systems." msgstr "" -#: gnu/packages/shells.scm:642 +#: gnu/packages/shells.scm:635 msgid "Korn Shell from MirBSD" msgstr "" -#: gnu/packages/shells.scm:643 +#: gnu/packages/shells.scm:636 msgid "" "mksh is an actively developed free implementation of the\n" "Korn Shell programming language and a successor to the Public Domain Korn\n" "Shell (pdksh)." msgstr "" -#: gnu/packages/shells.scm:685 +#: gnu/packages/shells.scm:678 msgid "Bash-compatible Unix shell" msgstr "Shell Unix compatible avec Bash" -#: gnu/packages/shells.scm:686 +#: gnu/packages/shells.scm:679 msgid "" "Oil is a Unix / POSIX shell, compatible with Bash. It\n" "implements the Oil language, which is a new shell language to which Bash can be\n" @@ -16684,52 +17292,52 @@ msgid "" "internet." msgstr "" -#: gnu/packages/telephony.scm:254 +#: gnu/packages/telephony.scm:236 msgid "Secure RTP (SRTP) Reference Implementation" msgstr "" -#: gnu/packages/telephony.scm:256 +#: gnu/packages/telephony.scm:238 msgid "" "This package provides an implementation of the Secure Real-time Transport\n" "Protocol (@dfn{SRTP}), the Universal Security Transform (@dfn{UST}), and a\n" "supporting cryptographic kernel." msgstr "" -#: gnu/packages/telephony.scm:280 +#: gnu/packages/telephony.scm:262 msgid "Utilities library for linphone software" msgstr "" -#: gnu/packages/telephony.scm:281 +#: gnu/packages/telephony.scm:263 msgid "" "BCtoolbox is a utilities library used by Belledonne\n" "Communications softwares like linphone." msgstr "" -#: gnu/packages/telephony.scm:303 +#: gnu/packages/telephony.scm:285 msgid "Implementation of the Real-time transport protocol" msgstr "Implémentation du protocole de transport en temps réel (RTTP)" -#: gnu/packages/telephony.scm:304 +#: gnu/packages/telephony.scm:286 msgid "" "oRTP is a library implementing the Real-time transport\n" "protocol (RFC 3550)." msgstr "" -#: gnu/packages/telephony.scm:337 +#: gnu/packages/telephony.scm:312 msgid "Inter-Asterisk-Protocol library" msgstr "Bibliothèque pour le protocole Inter-Asterisk" -#: gnu/packages/telephony.scm:338 +#: gnu/packages/telephony.scm:313 msgid "" "LibIAX2 implements the Inter-Asterisk-Protocol for relaying\n" "Voice-over-IP (VoIP) communications." msgstr "" -#: gnu/packages/telephony.scm:369 +#: gnu/packages/telephony.scm:344 msgid "Simple VoIP program to create conferences from the terminal" msgstr "" -#: gnu/packages/telephony.scm:371 +#: gnu/packages/telephony.scm:346 msgid "" "Seren is a simple VoIP program based on the Opus codec that allows you\n" "to create a voice conference from the terminal, with up to 10 participants,\n" @@ -16738,11 +17346,11 @@ msgid "" "address of one of the participants." msgstr "" -#: gnu/packages/telephony.scm:484 +#: gnu/packages/telephony.scm:459 msgid "Low-latency, high quality voice chat software" msgstr "" -#: gnu/packages/telephony.scm:486 +#: gnu/packages/telephony.scm:461 msgid "" "Mumble is an low-latency, high quality voice chat\n" "software primarily intended for use while gaming.\n" @@ -16750,11 +17358,11 @@ msgid "" "@code{mumble} for the client, and @code{murmur} for the server." msgstr "" -#: gnu/packages/telephony.scm:549 +#: gnu/packages/telephony.scm:526 msgid "Softphone for voice over IP and instant messaging" msgstr "" -#: gnu/packages/telephony.scm:550 +#: gnu/packages/telephony.scm:527 msgid "" "Twinkle is a softphone for your voice over IP and instant\n" "messaging communcations using the SIP protocol. You can use it for direct IP\n" @@ -16762,8 +17370,8 @@ msgid "" "calls and messages" msgstr "" -#: gnu/packages/tex.scm:219 gnu/packages/tex.scm:3990 -#: gnu/packages/tex.scm:4053 +#: gnu/packages/tex.scm:219 gnu/packages/tex.scm:4056 +#: gnu/packages/tex.scm:4119 msgid "TeX Live, a package of the TeX typesetting system" msgstr "" @@ -16941,11 +17549,11 @@ msgid "" "book)." msgstr "" -#: gnu/packages/tex.scm:1052 +#: gnu/packages/tex.scm:1073 msgid "Base sources of LaTeX" msgstr "" -#: gnu/packages/tex.scm:1054 +#: gnu/packages/tex.scm:1075 msgid "" "This bundle comprises the source of LaTeX itself, together with several\n" "packages which are considered \"part of the kernel\". This bundle, together\n" @@ -16953,11 +17561,11 @@ msgid "" "contain." msgstr "" -#: gnu/packages/tex.scm:1074 +#: gnu/packages/tex.scm:1095 msgid "Extended filecontents and filecontents* environments" msgstr "" -#: gnu/packages/tex.scm:1076 +#: gnu/packages/tex.scm:1097 msgid "" "LaTeX2e's @code{filecontents} and @code{filecontents*} environments\n" "enable a LaTeX source file to generate external files as it runs through\n" @@ -16968,22 +17576,22 @@ msgid "" "@code{filecontents*} anywhere." msgstr "" -#: gnu/packages/tex.scm:1103 +#: gnu/packages/tex.scm:1124 msgid "Am I running under XeTeX?" msgstr "" -#: gnu/packages/tex.scm:1105 +#: gnu/packages/tex.scm:1126 msgid "" "This is a simple package which provides an @code{\\ifxetex} conditional,\n" "so that other code can determine that it is running under XeTeX. The package\n" "requires the e-TeX extensions to the TeX primitive set." msgstr "" -#: gnu/packages/tex.scm:1137 +#: gnu/packages/tex.scm:1158 msgid "Simple macros for EPS inclusion" msgstr "" -#: gnu/packages/tex.scm:1139 +#: gnu/packages/tex.scm:1160 msgid "" "This package provides the original (and now obsolescent) graphics\n" "inclusion macros for use with dvips, still widely used by Plain TeX users (in\n" @@ -16993,11 +17601,11 @@ msgid "" "users, via its Plain TeX version.)" msgstr "" -#: gnu/packages/tex.scm:1165 +#: gnu/packages/tex.scm:1186 msgid "Sophisticated verbatim text" msgstr "" -#: gnu/packages/tex.scm:1167 +#: gnu/packages/tex.scm:1188 msgid "" "This package provides tools for the flexible handling of verbatim text\n" "including: verbatim commands in footnotes; a variety of verbatim environments\n" @@ -17007,11 +17615,11 @@ msgid "" "verbatim source)." msgstr "" -#: gnu/packages/tex.scm:1236 +#: gnu/packages/tex.scm:1257 msgid "LaTeX standard graphics bundle" msgstr "" -#: gnu/packages/tex.scm:1238 +#: gnu/packages/tex.scm:1259 msgid "" "This is a collection of LaTeX packages for producing color, including\n" "graphics (e.g. PostScript) files, and rotation and scaling of text in LaTeX\n" @@ -17019,11 +17627,11 @@ msgid "" "keyval, and lscape." msgstr "" -#: gnu/packages/tex.scm:1260 +#: gnu/packages/tex.scm:1281 msgid "Driver-independent color extensions for LaTeX and pdfLaTeX" msgstr "" -#: gnu/packages/tex.scm:1262 +#: gnu/packages/tex.scm:1283 msgid "" "The package starts from the basic facilities of the colorcolor package,\n" "and provides easy driver-independent access to several kinds of color tints,\n" @@ -17034,11 +17642,11 @@ msgid "" "tables." msgstr "" -#: gnu/packages/tex.scm:1288 +#: gnu/packages/tex.scm:1309 msgid "Extensive support for hypertext in LaTeX" msgstr "" -#: gnu/packages/tex.scm:1290 +#: gnu/packages/tex.scm:1311 msgid "" "The @code{hyperref} package is used to handle cross-referencing commands\n" "in LaTeX to produce hypertext links in the document. The package provides\n" @@ -17050,22 +17658,22 @@ msgid "" "@code{nameref} packages, which make use of the facilities of @code{hyperref}." msgstr "" -#: gnu/packages/tex.scm:1324 +#: gnu/packages/tex.scm:1345 msgid "Bundle of packages submitted by Heiko Oberdiek" msgstr "" -#: gnu/packages/tex.scm:1326 +#: gnu/packages/tex.scm:1347 msgid "" "The bundle comprises various LaTeX packages, providing among others:\n" "better accessibility support for PDF files; extensible chemists reaction\n" "arrows; record information about document class(es) used; and many more." msgstr "" -#: gnu/packages/tex.scm:1347 +#: gnu/packages/tex.scm:1368 msgid "LaTeX standard tools bundle" msgstr "" -#: gnu/packages/tex.scm:1349 +#: gnu/packages/tex.scm:1370 msgid "" "This package is a collection of (variously) simple tools provided as\n" "part of the LaTeX required tools distribution, comprising the following\n" @@ -17075,11 +17683,11 @@ msgid "" "xr, and xspace." msgstr "" -#: gnu/packages/tex.scm:1384 +#: gnu/packages/tex.scm:1405 msgid "Verbatim with URL-sensitive line breaks" msgstr "" -#: gnu/packages/tex.scm:1385 +#: gnu/packages/tex.scm:1406 msgid "" "The command @code{\\url} is a form of verbatim command that\n" "allows linebreaks at certain characters or combinations of characters, accepts\n" @@ -17091,11 +17699,11 @@ msgid "" "of file names." msgstr "" -#: gnu/packages/tex.scm:1412 +#: gnu/packages/tex.scm:1433 msgid "LaTeX3 programmers’ interface" msgstr "" -#: gnu/packages/tex.scm:1414 +#: gnu/packages/tex.scm:1435 msgid "" "The l3kernel bundle provides an implementation of the LaTeX3\n" "programmers’ interface, as a set of packages that run under LaTeX 2e. The\n" @@ -17104,11 +17712,11 @@ msgid "" "that the LaTeX3 conventions can be used with regular LaTeX 2e packages." msgstr "" -#: gnu/packages/tex.scm:1452 +#: gnu/packages/tex.scm:1480 msgid "High-level LaTeX3 concepts" msgstr "" -#: gnu/packages/tex.scm:1454 +#: gnu/packages/tex.scm:1482 msgid "" "This bundle holds prototype implementations of concepts for a LaTeX\n" "designer interface, to be used with the experimental LaTeX kernel as\n" @@ -17125,11 +17733,11 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/tex.scm:1487 +#: gnu/packages/tex.scm:1515 msgid "Advanced font selection in XeLaTeX and LuaLaTeX" msgstr "" -#: gnu/packages/tex.scm:1489 +#: gnu/packages/tex.scm:1517 msgid "" "Fontspec is a package for XeLaTeX and LuaLaTeX. It provides an\n" "automatic and unified interface to feature-rich AAT and OpenType fonts through\n" @@ -17137,22 +17745,22 @@ msgid "" "the l3kernel and xparse bundles from the LaTeX 3 development team." msgstr "" -#: gnu/packages/tex.scm:1525 +#: gnu/packages/tex.scm:1553 msgid "Lua modules for general programming (in the (La)TeX world)" msgstr "" -#: gnu/packages/tex.scm:1527 +#: gnu/packages/tex.scm:1555 msgid "" "Lualibs is a collection of Lua modules useful for general programming.\n" "The bundle is based on Lua modules shipped with ConTeXt, and made available in\n" "this bundle for use independent of ConTeXt." msgstr "" -#: gnu/packages/tex.scm:1547 +#: gnu/packages/tex.scm:1575 msgid "AMS mathematical facilities for LaTeX" msgstr "" -#: gnu/packages/tex.scm:1549 +#: gnu/packages/tex.scm:1577 msgid "" "This is the principal package in the AMS-LaTeX distribution. It adapts\n" "for use in LaTeX most of the mathematical features found in AMS-TeX; it is\n" @@ -17167,11 +17775,11 @@ msgid "" "definitions." msgstr "" -#: gnu/packages/tex.scm:1577 +#: gnu/packages/tex.scm:1605 msgid "AMS document classes for LaTeX" msgstr "" -#: gnu/packages/tex.scm:1579 +#: gnu/packages/tex.scm:1607 msgid "" "This bundle contains three AMS classes: @code{amsartamsart} (for writing\n" "articles for the AMS), @code{amsbookamsbook} (for books) and\n" @@ -17180,11 +17788,11 @@ msgid "" "distribution." msgstr "" -#: gnu/packages/tex.scm:1610 +#: gnu/packages/tex.scm:1638 msgid "Multilingual support for Plain TeX or LaTeX" msgstr "" -#: gnu/packages/tex.scm:1612 +#: gnu/packages/tex.scm:1640 msgid "" "The package manages culturally-determined typographical (and other)\n" "rules, and hyphenation patterns for a wide range of languages. A document may\n" @@ -17195,11 +17803,11 @@ msgid "" "polyglossia package rather than Babel." msgstr "" -#: gnu/packages/tex.scm:1635 +#: gnu/packages/tex.scm:1663 msgid "Babel support for English" msgstr "" -#: gnu/packages/tex.scm:1637 +#: gnu/packages/tex.scm:1665 msgid "" "This package provides the language definition file for support of\n" "English in @code{babel}. Care is taken to select British hyphenation patterns\n" @@ -17207,11 +17815,11 @@ msgid "" "for Canadian and USA text." msgstr "" -#: gnu/packages/tex.scm:1658 +#: gnu/packages/tex.scm:1686 msgid "Support for Cyrillic fonts in LaTeX" msgstr "" -#: gnu/packages/tex.scm:1660 +#: gnu/packages/tex.scm:1688 msgid "" "This bundle of macros files provides macro support (including font\n" "encoding macros) for the use of Cyrillic characters in fonts encoded under the\n" @@ -17219,11 +17827,11 @@ msgid "" "language that is written in a Cyrillic alphabet." msgstr "" -#: gnu/packages/tex.scm:1680 +#: gnu/packages/tex.scm:1708 msgid "Font support for common PostScript fonts" msgstr "" -#: gnu/packages/tex.scm:1682 +#: gnu/packages/tex.scm:1710 msgid "" "The PSNFSS collection includes a set of files that provide a complete\n" "working setup of the LaTeX font selection scheme (NFSS2) for use with common\n" @@ -17234,27 +17842,27 @@ msgid "" "packages." msgstr "" -#: gnu/packages/tex.scm:1767 +#: gnu/packages/tex.scm:1795 msgid "Union of TeX Live packages" msgstr "" -#: gnu/packages/tex.scm:1768 +#: gnu/packages/tex.scm:1796 msgid "" "This package provides a subset of the TeX Live\n" "distribution." msgstr "Ce paquet fournit un sous-ensemble de la distribution TeX Live." -#: gnu/packages/tex.scm:1783 +#: gnu/packages/tex.scm:1811 msgid "" "This is a very limited subset of the TeX Live distribution.\n" "It includes little more than the required set of LaTeX packages." msgstr "" -#: gnu/packages/tex.scm:1800 +#: gnu/packages/tex.scm:1828 msgid "LaTeX-based replacement for BibTeX" msgstr "" -#: gnu/packages/tex.scm:1802 +#: gnu/packages/tex.scm:1830 msgid "" "Amsrefs is a LaTeX package for bibliographies that provides an archival\n" "data format similar to the format of BibTeX database files, but adapted to\n" @@ -17262,11 +17870,11 @@ msgid "" "conjunction with BibTeX or as a replacement for BibTeX." msgstr "" -#: gnu/packages/tex.scm:1829 +#: gnu/packages/tex.scm:1857 msgid "Footnotes for critical editions" msgstr "" -#: gnu/packages/tex.scm:1831 +#: gnu/packages/tex.scm:1859 msgid "" "This package aims to provide a one-stop solution to requirements for\n" "footnotes. It offers: Multiple footnote apparatus superior to that of\n" @@ -17280,11 +17888,11 @@ msgid "" "@code{suffix} packages." msgstr "" -#: gnu/packages/tex.scm:1857 +#: gnu/packages/tex.scm:1885 msgid "Producing 'blind' text for testing" msgstr "" -#: gnu/packages/tex.scm:1859 +#: gnu/packages/tex.scm:1887 msgid "" "The package provides the commands @code{\\blindtext} and\n" "@code{\\Blindtext} for creating \"blind\" text useful in testing new classes\n" @@ -17295,11 +17903,11 @@ msgid "" "ipsum\" text, see the @code{lipsum} package)." msgstr "" -#: gnu/packages/tex.scm:1889 +#: gnu/packages/tex.scm:1917 msgid "German letter DIN style" msgstr "" -#: gnu/packages/tex.scm:1891 +#: gnu/packages/tex.scm:1919 msgid "" "This package implements a document layout for writing letters according\n" "to the rules of DIN (Deutsches Institut für Normung, German standardisation\n" @@ -17311,11 +17919,11 @@ msgid "" "package." msgstr "" -#: gnu/packages/tex.scm:1915 +#: gnu/packages/tex.scm:1943 msgid "Put a grey textual watermark on document pages" msgstr "" -#: gnu/packages/tex.scm:1917 +#: gnu/packages/tex.scm:1945 msgid "" "This package provides a means to add a textual, light grey watermark on\n" "every page or on the first page of a document. Typical usage may consist in\n" @@ -17325,11 +17933,11 @@ msgid "" "on everypage." msgstr "" -#: gnu/packages/tex.scm:1939 +#: gnu/packages/tex.scm:1967 msgid "New interface for environments in LaTeX" msgstr "" -#: gnu/packages/tex.scm:1941 +#: gnu/packages/tex.scm:1969 msgid "" "This package provides the @code{\\collect@@body} command (as in\n" "@code{amsmath}), as well as a @code{\\long} version @code{\\Collect@@Body},\n" @@ -17337,11 +17945,11 @@ msgid "" "define a new author interface to creating new environments." msgstr "" -#: gnu/packages/tex.scm:1961 +#: gnu/packages/tex.scm:1989 msgid "Create equal-widthed parboxes" msgstr "" -#: gnu/packages/tex.scm:1963 +#: gnu/packages/tex.scm:1991 msgid "" "LaTeX users sometimes need to ensure that two or more blocks of text\n" "occupy the same amount of horizontal space on the page. To that end, the\n" @@ -17355,11 +17963,11 @@ msgid "" "also provided." msgstr "" -#: gnu/packages/tex.scm:1997 +#: gnu/packages/tex.scm:2025 msgid "Expanded description environments" msgstr "" -#: gnu/packages/tex.scm:1999 +#: gnu/packages/tex.scm:2027 msgid "" "The package provides additional features for the LaTeX\n" "@code{description} environment, including adjustable left margin. The package\n" @@ -17368,11 +17976,11 @@ msgid "" "@code{enumerate} lists, and numbered lists remain in sequence)." msgstr "" -#: gnu/packages/tex.scm:2033 +#: gnu/packages/tex.scm:2061 msgid "Provide file modification times, and compare them" msgstr "" -#: gnu/packages/tex.scm:2035 +#: gnu/packages/tex.scm:2063 msgid "" "This package provides macros to read and compare the modification dates\n" "of files. The files may be @code{.tex} files, images or other files (as long\n" @@ -17384,11 +17992,11 @@ msgid "" "but non-expandable ones." msgstr "" -#: gnu/packages/tex.scm:2059 +#: gnu/packages/tex.scm:2087 msgid "Conditionals to test which platform is being used" msgstr "" -#: gnu/packages/tex.scm:2061 +#: gnu/packages/tex.scm:2089 msgid "" "This package uses the (La)TeX extension @code{-shell-escape} to\n" "establish whether the document is being processed on a Windows or on a\n" @@ -17399,11 +18007,11 @@ msgid "" "classes of systems." msgstr "" -#: gnu/packages/tex.scm:2084 +#: gnu/packages/tex.scm:2112 msgid "Flexible bibliography support" msgstr "" -#: gnu/packages/tex.scm:2086 +#: gnu/packages/tex.scm:2114 msgid "" "This bundle provides a package that implements both author-year and\n" "numbered references, as well as much detailed of support for other\n" @@ -17413,11 +18021,11 @@ msgid "" "designed from the start to be compatible with @code{natbib}." msgstr "" -#: gnu/packages/tex.scm:2108 +#: gnu/packages/tex.scm:2136 msgid "Replace strings in encapsulated PostScript figures" msgstr "" -#: gnu/packages/tex.scm:2110 +#: gnu/packages/tex.scm:2138 msgid "" "This package allows LaTeX constructions (equations, picture\n" "environments, etc.) to be precisely superimposed over Encapsulated PostScript\n" @@ -17428,11 +18036,11 @@ msgid "" "rotated." msgstr "" -#: gnu/packages/tex.scm:2146 +#: gnu/packages/tex.scm:2174 msgid "Process PostScript graphisc within pdfLaTeX documents" msgstr "" -#: gnu/packages/tex.scm:2148 +#: gnu/packages/tex.scm:2176 msgid "" "This is a package for processing PostScript graphics with @code{psfrag}\n" "labels within pdfLaTeX documents. Every graphic is compiled individually,\n" @@ -17440,11 +18048,11 @@ msgid "" "re-processing." msgstr "" -#: gnu/packages/tex.scm:2172 +#: gnu/packages/tex.scm:2200 msgid "Make overhead slides" msgstr "" -#: gnu/packages/tex.scm:2175 +#: gnu/packages/tex.scm:2203 msgid "" "This package provides a class that produces overhead\n" "slides (transparencies), with many facilities. Seminar is not nowadays\n" @@ -17453,11 +18061,11 @@ msgid "" "21st-century presentation styles." msgstr "" -#: gnu/packages/tex.scm:2208 +#: gnu/packages/tex.scm:2236 msgid "Trim spaces around an argument or within a macro" msgstr "" -#: gnu/packages/tex.scm:2210 +#: gnu/packages/tex.scm:2238 msgid "" "This very short package allows you to expandably remove spaces around a\n" "token list (commands are provided to remove spaces before, spaces after, or\n" @@ -17465,21 +18073,35 @@ msgid "" "space-stripped macros." msgstr "" -#: gnu/packages/tex.scm:2243 +#: gnu/packages/tex.scm:2271 msgid "Captions on more than floats" msgstr "" -#: gnu/packages/tex.scm:2245 +#: gnu/packages/tex.scm:2273 msgid "" "This package defines a command @code{\\captionof} for putting a caption\n" "to something that's not a float." msgstr "" -#: gnu/packages/tex.scm:2276 +#: gnu/packages/tex.scm:2304 +msgid "Create correct hyperlinks for DOI numbers" +msgstr "" + +#: gnu/packages/tex.scm:2306 +msgid "" +"You can hyperlink DOI numbers to doi.org. However, some publishers have\n" +"elected to use nasty characters in their DOI numbering scheme (@code{<},\n" +"@code{>}, @code{_} and @code{;} have all been spotted). This will either\n" +"upset LaTeX, or your PDF reader. This package contains a single user-level\n" +"command @code{\\doi{}}, which takes a DOI number, and creates a correct\n" +"hyperlink to the target of the DOI." +msgstr "" + +#: gnu/packages/tex.scm:2342 msgid "e-TeX tools for LaTeX" msgstr "" -#: gnu/packages/tex.scm:2278 +#: gnu/packages/tex.scm:2344 msgid "" "This package is a toolbox of programming facilities geared primarily\n" "towards LaTeX class and package authors. It provides LaTeX frontends to some\n" @@ -17490,11 +18112,11 @@ msgid "" "of the LaTeX kernel." msgstr "" -#: gnu/packages/tex.scm:2314 +#: gnu/packages/tex.scm:2380 msgid "Seven predefined chapter heading styles" msgstr "" -#: gnu/packages/tex.scm:2316 +#: gnu/packages/tex.scm:2382 msgid "" "This package provides seven predefined chapter heading styles. Each\n" "style can be modified using a set of simple commands. Optionally one can\n" @@ -17502,11 +18124,11 @@ msgid "" "headings." msgstr "" -#: gnu/packages/tex.scm:2349 +#: gnu/packages/tex.scm:2415 msgid "Framed or shaded regions that can break across pages" msgstr "" -#: gnu/packages/tex.scm:2351 +#: gnu/packages/tex.scm:2417 msgid "" "The package creates three environments: @code{framed}, which puts an\n" "ordinary frame box around the region, @code{shaded}, which shades the region,\n" @@ -17517,11 +18139,11 @@ msgid "" "@code{\\MakeFramed} to make your own framed-style environments." msgstr "" -#: gnu/packages/tex.scm:2383 +#: gnu/packages/tex.scm:2449 msgid "Letter document class" msgstr "" -#: gnu/packages/tex.scm:2385 +#: gnu/packages/tex.scm:2451 msgid "" "This package is designed for formatting formless letters in German; it\n" "can also be used for English (by those who can read the documentation). There\n" @@ -17529,21 +18151,21 @@ msgid "" "\"old\" and a \"new\" version of g-brief." msgstr "" -#: gnu/packages/tex.scm:2405 +#: gnu/packages/tex.scm:2471 msgid "Typeset Galois connections" msgstr "" -#: gnu/packages/tex.scm:2407 +#: gnu/packages/tex.scm:2473 msgid "" "The package deals with connections in two-dimensional style, optionally\n" "in colour." msgstr "" -#: gnu/packages/tex.scm:2425 +#: gnu/packages/tex.scm:2491 msgid "Citations in a reader-friendly style" msgstr "" -#: gnu/packages/tex.scm:2427 +#: gnu/packages/tex.scm:2493 msgid "" "The package allows citations in the German style, which is considered by\n" "many to be particularly reader-friendly. The citation provides a small amount\n" @@ -17553,11 +18175,11 @@ msgid "" "BibLaTeX, and is considered experimental." msgstr "" -#: gnu/packages/tex.scm:2449 +#: gnu/packages/tex.scm:2515 msgid "Flexible and complete interface to document dimensions" msgstr "" -#: gnu/packages/tex.scm:2451 +#: gnu/packages/tex.scm:2517 msgid "" "This package provides an easy and flexible user interface to customize\n" "page layout, implementing auto-centering and auto-balancing mechanisms so that\n" @@ -17568,11 +18190,11 @@ msgid "" "ability to communicate the paper size it's set up to the output." msgstr "" -#: gnu/packages/tex.scm:2474 +#: gnu/packages/tex.scm:2540 msgid "Miscellaneous tools by Mark Wooding" msgstr "" -#: gnu/packages/tex.scm:2476 +#: gnu/packages/tex.scm:2542 msgid "" "This collection of tools includes: @code{atsupport} for short commands\n" "starting with @code{@@}, macros to sanitize the OT1 encoding of the\n" @@ -17582,21 +18204,21 @@ msgid "" "array environments; verbatim handling; and syntax diagrams." msgstr "" -#: gnu/packages/tex.scm:2498 +#: gnu/packages/tex.scm:2564 msgid "Alternative to babel for XeLaTeX and LuaLaTeX" msgstr "" -#: gnu/packages/tex.scm:2500 +#: gnu/packages/tex.scm:2566 msgid "" "This package provides a complete Babel replacement for users of LuaLaTeX\n" "and XeLaTeX; it relies on the @code{fontspec} package, version 2.0 at least." msgstr "" -#: gnu/packages/tex.scm:2518 +#: gnu/packages/tex.scm:2584 msgid "Multi-page tables package" msgstr "" -#: gnu/packages/tex.scm:2520 +#: gnu/packages/tex.scm:2586 msgid "" "This package was a predecessor of @code{longtable}; the newer\n" "package (designed on quite different principles) is easier to use and more\n" @@ -17604,11 +18226,11 @@ msgid "" "situations where longtable has problems." msgstr "" -#: gnu/packages/tex.scm:2553 +#: gnu/packages/tex.scm:2619 msgid "TeX macros to handle Texinfo files" msgstr "" -#: gnu/packages/tex.scm:2555 +#: gnu/packages/tex.scm:2621 msgid "" "Texinfo is the preferred format for documentation in the GNU project;\n" "the format may be used to produce online or printed output from a single\n" @@ -17617,11 +18239,11 @@ msgid "" "hypertext linkages in some cases)." msgstr "" -#: gnu/packages/tex.scm:2576 +#: gnu/packages/tex.scm:2642 msgid "Show \"realistic\" quotes in verbatim" msgstr "" -#: gnu/packages/tex.scm:2578 +#: gnu/packages/tex.scm:2644 msgid "" "Typewriter-style fonts are best for program listings, but Computer\n" "Modern Typewriter prints @code{`} and @code{'} as bent opening and closing\n" @@ -17635,22 +18257,22 @@ msgid "" "does not affect @code{\\tt}, @code{\\texttt}, etc." msgstr "" -#: gnu/packages/tex.scm:2617 +#: gnu/packages/tex.scm:2683 msgid "Simple package to set up document margins" msgstr "" -#: gnu/packages/tex.scm:2619 +#: gnu/packages/tex.scm:2685 msgid "" "This is a simple package to set up document margins. This package is\n" "considered obsolete; alternatives are the @code{typearea} package from the\n" "@code{koma-script} bundle, or the @code{geometry} package." msgstr "" -#: gnu/packages/tex.scm:2638 +#: gnu/packages/tex.scm:2704 msgid "Extra control of appendices" msgstr "" -#: gnu/packages/tex.scm:2640 +#: gnu/packages/tex.scm:2706 msgid "" "The appendix package provides various ways of formatting the titles of\n" "appendices. Also (sub)appendices environments are provided that can be used,\n" @@ -17659,11 +18281,11 @@ msgid "" "command." msgstr "" -#: gnu/packages/tex.scm:2661 +#: gnu/packages/tex.scm:2727 msgid "Generate changebars in LaTeX documents" msgstr "" -#: gnu/packages/tex.scm:2663 +#: gnu/packages/tex.scm:2729 msgid "" "Identify areas of text to be marked with changebars with the\n" "@code{\\cbstart} and @code{\\cbend} commands; the bars may be coloured. The\n" @@ -17672,31 +18294,31 @@ msgid "" "drivers, and VTeX and pdfTeX." msgstr "" -#: gnu/packages/tex.scm:2698 +#: gnu/packages/tex.scm:2764 msgid "CMap support for PDF files" msgstr "" -#: gnu/packages/tex.scm:2700 +#: gnu/packages/tex.scm:2766 msgid "" "This package embeds CMap tables into PDF files to make search and\n" "copy-and-paste functions work properly." msgstr "" -#: gnu/packages/tex.scm:2718 +#: gnu/packages/tex.scm:2784 msgid "Add colour to LaTeX tables" msgstr "" -#: gnu/packages/tex.scm:2720 +#: gnu/packages/tex.scm:2786 msgid "" "This package allows rows, columns, and even individual cells in LaTeX\n" "tables to be coloured." msgstr "" -#: gnu/packages/tex.scm:2751 +#: gnu/packages/tex.scm:2817 msgid "Variants of \\fbox and other games with boxes" msgstr "" -#: gnu/packages/tex.scm:2753 +#: gnu/packages/tex.scm:2819 msgid "" "This package provides variants of @code{\\fbox}: @code{\\shadowbox},\n" "@code{\\doublebox}, @code{\\ovalbox}, @code{\\Ovalbox}, with helpful tools for\n" @@ -17704,22 +18326,22 @@ msgid "" "floats, center, flushleft, and flushright, lists, and pages." msgstr "" -#: gnu/packages/tex.scm:2786 +#: gnu/packages/tex.scm:2852 msgid "Extensive control of page headers and footers in LaTeX2e" msgstr "" -#: gnu/packages/tex.scm:2788 +#: gnu/packages/tex.scm:2854 msgid "" "The package provides extensive facilities, both for constructing headers\n" "and footers, and for controlling their use (for example, at times when LaTeX\n" "would automatically change the heading style in use)." msgstr "" -#: gnu/packages/tex.scm:2807 +#: gnu/packages/tex.scm:2873 msgid "Improved interface for floating objects" msgstr "" -#: gnu/packages/tex.scm:2809 +#: gnu/packages/tex.scm:2875 msgid "" "This package improves the interface for defining floating objects such\n" "as figures and tables. It introduces the boxed float, the ruled float and the\n" @@ -17729,11 +18351,11 @@ msgid "" "with @code{\\floatplacement{figure}{H}}." msgstr "" -#: gnu/packages/tex.scm:2831 +#: gnu/packages/tex.scm:2897 msgid "Range of footnote options" msgstr "" -#: gnu/packages/tex.scm:2833 +#: gnu/packages/tex.scm:2899 msgid "" "This is a collection of ways to change the typesetting of footnotes.\n" "The package provides means of changing the layout of the footnotes themselves,\n" @@ -17743,11 +18365,11 @@ msgid "" "footnotes with symbols rather than numbers." msgstr "" -#: gnu/packages/tex.scm:2857 +#: gnu/packages/tex.scm:2923 msgid "Typeset source code listings using LaTeX" msgstr "" -#: gnu/packages/tex.scm:2859 +#: gnu/packages/tex.scm:2925 msgid "" "The package enables the user to typeset programs (programming code)\n" "within LaTeX; the source code is read directly by TeX---no front-end processor\n" @@ -17755,11 +18377,11 @@ msgid "" "styles. Support for @code{hyperref} is provided." msgstr "" -#: gnu/packages/tex.scm:2892 +#: gnu/packages/tex.scm:2958 msgid "Miscellaneous packages by Joerg Knappen" msgstr "" -#: gnu/packages/tex.scm:2894 +#: gnu/packages/tex.scm:2960 msgid "" "This package provides miscellaneous macros by Joerg Knappen, including:\n" "represent counters in greek; Maxwell's non-commutative division;\n" @@ -17771,11 +18393,11 @@ msgid "" "in SGML; use maths minus in text as appropriate; simple Young tableaux." msgstr "" -#: gnu/packages/tex.scm:2969 +#: gnu/packages/tex.scm:3035 msgid "Computer modern fonts in T1 and TS1 encodings" msgstr "" -#: gnu/packages/tex.scm:2971 +#: gnu/packages/tex.scm:3037 msgid "" "The EC fonts are European Computer Modern Fonts, supporting the complete\n" "LaTeX T1 encoding defined at the 1990 TUG conference hold at Cork/Ireland.\n" @@ -17792,11 +18414,11 @@ msgid "" "differs from the EC in a number of particulars." msgstr "" -#: gnu/packages/tex.scm:3052 +#: gnu/packages/tex.scm:3118 msgid "Ralph Smith's Formal Script font" msgstr "" -#: gnu/packages/tex.scm:3054 +#: gnu/packages/tex.scm:3120 msgid "" "The fonts provide uppercase formal script letters for use as symbols in\n" "scientific and mathematical typesetting (in contrast to the informal script\n" @@ -17806,22 +18428,22 @@ msgid "" "one of the packages @code{calrsfs} and @code{mathrsfs}." msgstr "" -#: gnu/packages/tex.scm:3076 +#: gnu/packages/tex.scm:3142 msgid "Add picture commands (or backgrounds) to every page" msgstr "" -#: gnu/packages/tex.scm:3078 +#: gnu/packages/tex.scm:3144 msgid "" "The package adds one or more user commands to LaTeX's @code{shipout}\n" "routine, which may be used to place the output at fixed positions. The\n" "@code{grid} option may be used to find the correct places." msgstr "" -#: gnu/packages/tex.scm:3110 +#: gnu/packages/tex.scm:3176 msgid "Extensions to epic and the LaTeX drawing tools" msgstr "" -#: gnu/packages/tex.scm:3112 +#: gnu/packages/tex.scm:3178 msgid "" "Extensions to @code{epic} and the LaTeX picture drawing environment,\n" "include the drawing of lines at any slope, the drawing of circles in any\n" @@ -17831,11 +18453,11 @@ msgid "" "@code{\\special} commands." msgstr "" -#: gnu/packages/tex.scm:3147 +#: gnu/packages/tex.scm:3213 msgid "Customize basic list environments" msgstr "" -#: gnu/packages/tex.scm:3149 +#: gnu/packages/tex.scm:3215 msgid "" "This package is intended to ease customizing the three basic list\n" "environments: @code{enumerate}, @code{itemize} and @code{description}. It\n" @@ -17844,22 +18466,22 @@ msgid "" "@code{\\begin{itemize}[itemsep=1ex,leftmargin=1cm]}." msgstr "" -#: gnu/packages/tex.scm:3170 +#: gnu/packages/tex.scm:3236 msgid "Create tabular cells spanning multiple rows" msgstr "" -#: gnu/packages/tex.scm:3172 +#: gnu/packages/tex.scm:3238 msgid "" "The package provides tools for creating tabular cells spanning multiple\n" "rows. It has a lot of flexibility, including an option for specifying an\n" "entry at the \"natural\" width of its text." msgstr "" -#: gnu/packages/tex.scm:3204 +#: gnu/packages/tex.scm:3270 msgid "Combine LaTeX commands over included graphics" msgstr "" -#: gnu/packages/tex.scm:3206 +#: gnu/packages/tex.scm:3272 msgid "" "The @code{overpic} environment is a cross between the LaTeX\n" "@code{picture} environment and the @code{\\includegraphics} command of\n" @@ -17868,22 +18490,22 @@ msgid "" "positions; a grid for orientation is available." msgstr "" -#: gnu/packages/tex.scm:3240 +#: gnu/packages/tex.scm:3306 msgid "Layout with zero \\parindent, non-zero \\parskip" msgstr "" -#: gnu/packages/tex.scm:3242 +#: gnu/packages/tex.scm:3308 msgid "" "Simply changing @code{\\parskip} and @code{\\parindent} leaves a layout\n" "that is untidy; this package (though it is no substitute for a properly\n" "designed class) helps alleviate this untidiness." msgstr "" -#: gnu/packages/tex.scm:3261 +#: gnu/packages/tex.scm:3327 msgid "Include PDF documents in LaTeX" msgstr "" -#: gnu/packages/tex.scm:3263 +#: gnu/packages/tex.scm:3329 msgid "" "This package simplifies the inclusion of external multi-page PDF\n" "documents in LaTeX documents. Pages may be freely selected and it is possible\n" @@ -17893,11 +18515,11 @@ msgid "" "use this package to insert PostScript files, in addition to PDF files." msgstr "" -#: gnu/packages/tex.scm:3295 +#: gnu/packages/tex.scm:3361 msgid "St Mary Road symbols for theoretical computer science" msgstr "" -#: gnu/packages/tex.scm:3297 +#: gnu/packages/tex.scm:3363 msgid "" "The fonts were originally distributed as Metafont sources only, but\n" "Adobe Type 1 versions are also now available. Macro support is provided for\n" @@ -17906,11 +18528,11 @@ msgid "" "the whole font." msgstr "" -#: gnu/packages/tex.scm:3318 +#: gnu/packages/tex.scm:3384 msgid "Figures divided into subfigures" msgstr "" -#: gnu/packages/tex.scm:3320 +#: gnu/packages/tex.scm:3386 msgid "" "This (deprecated) package provides support for the manipulation and\n" "reference of small or \"sub\" figures and tables within a single figure or\n" @@ -17923,11 +18545,11 @@ msgid "" "the more recent @code{subcaption} package more satisfactory." msgstr "" -#: gnu/packages/tex.scm:3345 +#: gnu/packages/tex.scm:3411 msgid "Tabular with variable width columns balanced" msgstr "" -#: gnu/packages/tex.scm:3347 +#: gnu/packages/tex.scm:3413 msgid "" "The package defines a @code{tabular*}-like environment, @code{tabulary},\n" "taking a \"total width\" argument as well as the column specifications. The\n" @@ -17938,11 +18560,11 @@ msgid "" "according to the natural width of the widest cell in the column." msgstr "" -#: gnu/packages/tex.scm:3383 +#: gnu/packages/tex.scm:3449 msgid "Tables with captions and notes all the same width" msgstr "" -#: gnu/packages/tex.scm:3385 +#: gnu/packages/tex.scm:3451 msgid "" "This package facilitates tables with titles (captions) and notes. The\n" "title and notes are given a width equal to the body of the table (a\n" @@ -17951,11 +18573,11 @@ msgid "" "environment." msgstr "" -#: gnu/packages/tex.scm:3506 +#: gnu/packages/tex.scm:3572 msgid "Times-like fonts in support of mathematics" msgstr "" -#: gnu/packages/tex.scm:3508 +#: gnu/packages/tex.scm:3574 msgid "" "Txfonts supplies virtual text roman fonts using Adobe Times (or URW\n" "NimbusRomNo9L) with some modified and additional text symbols in the OT1, T1,\n" @@ -17971,11 +18593,11 @@ msgid "" "TeX metrics (VF and TFM files) and macros for use with LaTeX." msgstr "" -#: gnu/packages/tex.scm:3555 +#: gnu/packages/tex.scm:3621 msgid "Sans-serif typeface for TeX" msgstr "" -#: gnu/packages/tex.scm:3556 +#: gnu/packages/tex.scm:3622 msgid "" "Iwona is a two-element sans-serif typeface. It was created\n" "as an alternative version of the Kurier typeface, which was designed in 1975\n" @@ -17986,11 +18608,11 @@ msgid "" "of ink traps which typify the Kurier font." msgstr "" -#: gnu/packages/tex.scm:3592 +#: gnu/packages/tex.scm:3658 msgid "Select alternative section titles" msgstr "" -#: gnu/packages/tex.scm:3594 +#: gnu/packages/tex.scm:3660 msgid "" "This package provides an interface to sectioning commands for selection\n" "from various title styles, e.g. for marginal titles and to change the font of\n" @@ -17999,11 +18621,11 @@ msgid "" "floats in a page. You may assign headers/footers to individual floats, too." msgstr "" -#: gnu/packages/tex.scm:3615 +#: gnu/packages/tex.scm:3681 msgid "Arbitrary size font selection in LaTeX" msgstr "" -#: gnu/packages/tex.scm:3617 +#: gnu/packages/tex.scm:3683 msgid "" "LaTeX, by default, restricts the sizes at which you can use its default\n" "computer modern fonts, to a fixed set of discrete sizes (effectively, a set\n" @@ -18018,11 +18640,11 @@ msgid "" "@code{ec} fonts." msgstr "" -#: gnu/packages/tex.scm:3644 +#: gnu/packages/tex.scm:3710 msgid "Cyrillic fonts that support LaTeX standard encodings" msgstr "" -#: gnu/packages/tex.scm:3646 +#: gnu/packages/tex.scm:3712 msgid "" "The LH fonts address the problem of the wide variety of alphabets that\n" "are written with Cyrillic-style characters. The fonts are the original basis\n" @@ -18035,43 +18657,43 @@ msgid "" "OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts." msgstr "" -#: gnu/packages/tex.scm:3684 +#: gnu/packages/tex.scm:3750 msgid "Create scalable illustrations" msgstr "" -#: gnu/packages/tex.scm:3686 +#: gnu/packages/tex.scm:3752 msgid "" "MetaPost uses a language based on that of Metafont to produce precise\n" "technical illustrations. Its output is scalable PostScript or SVG, rather\n" "than the bitmaps Metafont creates." msgstr "" -#: gnu/packages/tex.scm:3705 +#: gnu/packages/tex.scm:3771 msgid "Class for typesetting publications of ACM" msgstr "" -#: gnu/packages/tex.scm:3707 +#: gnu/packages/tex.scm:3773 msgid "" "This package provides a class for typesetting publications of the\n" "Association for Computing Machinery (ACM)." msgstr "" -#: gnu/packages/tex.scm:3738 +#: gnu/packages/tex.scm:3804 msgid "Variable-width minipage" msgstr "" -#: gnu/packages/tex.scm:3740 +#: gnu/packages/tex.scm:3806 msgid "" "The @code{varwidth} environment is superficially similar to\n" "@code{minipage}, but the specified width is just a maximum value — the box may\n" "get a narrower “natural” width." msgstr "" -#: gnu/packages/tex.scm:3759 +#: gnu/packages/tex.scm:3825 msgid "LaTeX support file to use the WASY2 fonts" msgstr "" -#: gnu/packages/tex.scm:3761 +#: gnu/packages/tex.scm:3827 msgid "" "The wasy2WASY2 (Waldi Symbol) font by Roland Waldi provides many glyphs\n" "like male and female symbols and astronomical symbols, as well as the complete\n" @@ -18079,22 +18701,22 @@ msgid "" "to use interface for these symbols." msgstr "" -#: gnu/packages/tex.scm:3794 +#: gnu/packages/tex.scm:3860 msgid "Produces figures which text can flow around" msgstr "" -#: gnu/packages/tex.scm:3796 +#: gnu/packages/tex.scm:3862 msgid "" "This package allows figures or tables to have text wrapped around them.\n" "It does not work in combination with list environments, but can be used in a\n" "@code{parbox} or @code{minipage}, and in two-column format." msgstr "" -#: gnu/packages/tex.scm:3828 +#: gnu/packages/tex.scm:3894 msgid "Extended UTF-8 input encoding support for LaTeX" msgstr "" -#: gnu/packages/tex.scm:3830 +#: gnu/packages/tex.scm:3896 msgid "" "The bundle provides the @code{ucs} package, and @code{utf8x.def},\n" "together with a large number of support files. The @code{utf8x.def}\n" @@ -18107,11 +18729,11 @@ msgid "" "package of that name now exists." msgstr "" -#: gnu/packages/tex.scm:3862 +#: gnu/packages/tex.scm:3928 msgid "Extract bits of a LaTeX source for output" msgstr "" -#: gnu/packages/tex.scm:3864 +#: gnu/packages/tex.scm:3930 msgid "" "The main purpose of the preview package is the extraction of selected\n" "elements from a LaTeX source, like formulas or graphics, into separate\n" @@ -18122,11 +18744,11 @@ msgid "" "files." msgstr "" -#: gnu/packages/tex.scm:3887 +#: gnu/packages/tex.scm:3953 msgid "Expand acronyms at least once" msgstr "" -#: gnu/packages/tex.scm:3889 +#: gnu/packages/tex.scm:3955 msgid "" "This package ensures that all acronyms used in the text are spelled out\n" "in full at least once. It also provides an environment to build a list of\n" @@ -18135,17 +18757,17 @@ msgid "" "e-TeX." msgstr "" -#: gnu/packages/tex.scm:3923 +#: gnu/packages/tex.scm:3989 msgid "TeX extension for direct creation of PDF" msgstr "" -#: gnu/packages/tex.scm:3925 +#: gnu/packages/tex.scm:3991 msgid "" "This package provides an extension of TeX which can be configured to\n" "directly generate PDF documents instead of DVI." msgstr "" -#: gnu/packages/tex.scm:3992 +#: gnu/packages/tex.scm:4058 msgid "" "TeX Live provides a comprehensive TeX document production system.\n" "It includes all the major TeX-related programs, macro packages, and fonts\n" @@ -18155,7 +18777,7 @@ msgid "" "This package contains the complete tree of texmf-dist data." msgstr "" -#: gnu/packages/tex.scm:4055 +#: gnu/packages/tex.scm:4121 msgid "" "TeX Live provides a comprehensive TeX document production system.\n" "It includes all the major TeX-related programs, macro packages, and fonts\n" @@ -18165,11 +18787,11 @@ msgid "" "This package contains the complete TeX Live distribution." msgstr "" -#: gnu/packages/tex.scm:4098 +#: gnu/packages/tex.scm:4164 msgid "Interface to read and parse BibTeX files" msgstr "" -#: gnu/packages/tex.scm:4099 +#: gnu/packages/tex.scm:4165 msgid "" "@code{Text::BibTeX} is a Perl library for reading, parsing,\n" "and processing BibTeX files. @code{Text::BibTeX} gives you access to the data\n" @@ -18178,21 +18800,21 @@ msgid "" "values (strings, macros, or numbers) pasted together." msgstr "" -#: gnu/packages/tex.scm:4181 +#: gnu/packages/tex.scm:4247 msgid "Backend for the BibLaTeX citation management tool" msgstr "" -#: gnu/packages/tex.scm:4182 +#: gnu/packages/tex.scm:4248 msgid "" "Biber is a BibTeX replacement for users of biblatex. Among\n" "other things it comes with full Unicode support." msgstr "" -#: gnu/packages/tex.scm:4206 +#: gnu/packages/tex.scm:4272 msgid "Wrapper for LaTeX and friends" msgstr "" -#: gnu/packages/tex.scm:4208 +#: gnu/packages/tex.scm:4274 msgid "" "Rubber is a program whose purpose is to handle all tasks related to the\n" "compilation of LaTeX documents. This includes compiling the document itself,\n" @@ -18202,32 +18824,32 @@ msgid "" "PDF documents." msgstr "" -#: gnu/packages/tex.scm:4250 +#: gnu/packages/tex.scm:4316 msgid "LaTeX editor" msgstr "Éditeur de LaTeX" -#: gnu/packages/tex.scm:4251 +#: gnu/packages/tex.scm:4317 msgid "" "Texmaker is a program that integrates many tools needed to\n" "develop documents with LaTeX, in a single application." msgstr "" -#: gnu/packages/tex.scm:4290 +#: gnu/packages/tex.scm:4356 msgid "Book on TeX, plain TeX and Eplain" msgstr "" -#: gnu/packages/tex.scm:4291 +#: gnu/packages/tex.scm:4357 msgid "" "@i{TeX for the Impatient} is a ~350 page book on TeX,\n" "plain TeX, and Eplain, originally written by Paul Abrahams, Kathryn Hargreaves,\n" "and Karl Berry." msgstr "" -#: gnu/packages/tex.scm:4375 +#: gnu/packages/tex.scm:4441 msgid "Document preparation system with GUI" msgstr "" -#: gnu/packages/tex.scm:4376 +#: gnu/packages/tex.scm:4442 msgid "" "LyX is a document preparation system. It excels at letting\n" "you create complex technical and scientific articles with mathematics,\n" @@ -18236,6 +18858,198 @@ msgid "" "required: automatic sectioning and pagination, spell checking and so forth." msgstr "" +#: gnu/packages/tex.scm:4476 +msgid "Multimedia inclusion package with Adobe Reader-9/X compatibility" +msgstr "" + +#: gnu/packages/tex.scm:4478 +msgid "" +"The package provides an interface to embed interactive Flash (SWF) and 3D\n" +"objects (Adobe U3D & PRC), as well as video and sound files or streams in the\n" +"popular MP4, FLV and MP3 formats into PDF documents with Acrobat-9/X\n" +"compatibility. Playback of multimedia files uses the built-in Flash Player of\n" +"Adobe Reader and does, therefore, not depend on external plug-ins. Flash Player\n" +"supports the efficient H.264 codec for video compression.\n" +"\n" +"The package is based on the RichMedia Annotation, an Adobe addition to the PDF\n" +"specification. It replaces the now obsolete @code{movie15} package." +msgstr "" + +#: gnu/packages/tex.scm:4516 +msgid "Provide OCG (Optional Content Groups) support within a PDF document" +msgstr "" + +#: gnu/packages/tex.scm:4518 +msgid "" +"This package provides OCG (Optional Content Groups) support within a PDF\n" +"document.\n" +"\n" +"It re-implements the functionality of the @code{ocg}, @code{ocgx}, and\n" +"@code{ocg-p} packages and adds support for all known engines and back-ends\n" +"including:\n" +"\n" +"@itemize\n" +"@item LaTeX → dvips → @code{ps2pdf}/Distiller\n" +"@item (Xe)LaTeX(x) → @code{dvipdfmx}\n" +"@item pdfLaTeX and LuaLaTeX .\n" +"@end itemize\n" +"\n" +"It also ensures compatibility with the @code{media9} and @code{animate} packages." +msgstr "" + +#: gnu/packages/tex.scm:4550 +msgid "Various LATEX packages by Martin Schröder" +msgstr "" + +#: gnu/packages/tex.scm:4552 +msgid "" +"A bundle of LATEX packages by Martin Schröder; the collection comprises:\n" +"\n" +"@itemize\n" +"@item @command{count1to}, make use of fixed TEX counters;\n" +"@item @command{everysel}, set commands to execute every time a font is selected;\n" +"@item @command{everyshi}, set commands to execute whenever a page is shipped out;\n" +"@item @command{multitoc}, typeset the table of contents in multiple columns;\n" +"@item @command{prelim2e}, mark typeset pages as preliminary; and\n" +"@item @command{ragged2e}, typeset ragged text and allow hyphenation.\n" +"@end itemize\n" +msgstr "" + +#: gnu/packages/tex.scm:4582 +msgid "Insert pagebreak if not enough space" +msgstr "" + +#: gnu/packages/tex.scm:4584 +msgid "" +"Provides commands to disable pagebreaking within a given vertical\n" +"space. If there is not enough space between the command and the bottom of the\n" +"page, a new page will be started." +msgstr "" + +#: gnu/packages/tex.scm:4617 +msgid "UK format dates, with weekday" +msgstr "" + +#: gnu/packages/tex.scm:4619 +msgid "" +"The package is used to change the format of @code{\\today}’s date,\n" +"including the weekday, e.g., \"Saturday, 26 June 2008\", the 'UK format', which\n" +"is preferred in many parts of the world, as distinct from that which is used in\n" +"@code{\\maketitle} of the article class, \"June 26, 2008\", the 'US format'." +msgstr "" + +#: gnu/packages/tex.scm:4653 +msgid "Underline text in TeX" +msgstr "" + +#: gnu/packages/tex.scm:4655 +msgid "" +"The package provides an @code{\\ul} (underline) command which will break\n" +"over line ends; this technique may be used to replace @code{\\em} (both in that\n" +"form and as the @code{\\emph} command), so as to make output look as if it comes\n" +"from a typewriter. The package also offers double and wavy underlining, and\n" +"striking out (line through words) and crossing out (/// over words)." +msgstr "" + +#: gnu/packages/tex.scm:4707 +msgid "Create PostScript and PDF graphics in TeX" +msgstr "" + +#: gnu/packages/tex.scm:4709 +msgid "" +"PGF is a macro package for creating graphics. It is platform- and\n" +"format-independent and works together with the most important TeX backend\n" +"drivers, including pdfTeX and dvips. It comes with a user-friendly syntax layer\n" +"called TikZ.\n" +"\n" +"Its usage is similar to pstricks and the standard picture environment. PGF\n" +"works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt. Unlike pstricks, it can\n" +"produce either PostScript or PDF output." +msgstr "" + +#: gnu/packages/tex.scm:4754 +msgid "Bundle of versatile classes and packages" +msgstr "" + +#: gnu/packages/tex.scm:4756 +msgid "" +"The KOMA-Script bundle provides replacements for the article, report, and\n" +"book classes with emphasis on typography and versatility. There is also a\n" +"letter class.\n" +"\n" +"The bundle also offers:\n" +"\n" +"@itemize\n" +"@item a package for calculating type areas in the way laid down by the\n" +"typographer Jan Tschichold,\n" +"@item packages for easily changing and defining page styles,\n" +"@item a package scrdate for getting not only the current date but also the name\n" +"of the day, and\n" +"@item a package scrtime for getting the current time.\n" +"@end itemize\n" +"\n" +"All these packages may be used not only with KOMA-Script classes but also with\n" +"the standard classes.\n" +"\n" +"Since every package has its own version number, the version number quoted only\n" +"refers to the version of scrbook, scrreprt, scrartcl, scrlttr2 and\n" +"typearea (which are the main parts of the bundle)." +msgstr "" + +#: gnu/packages/tex.scm:4806 +msgid "Grab items in lists using user-specified seperation character" +msgstr "" + +#: gnu/packages/tex.scm:4808 +msgid "" +"This package allows one to capture all the items of a list, for which\n" +"the parsing character has been selected by the user, and to access any of\n" +"these items with a simple syntax." +msgstr "" + +#: gnu/packages/tex.scm:4842 +msgid "Read, store and recall array-formatted data" +msgstr "" + +#: gnu/packages/tex.scm:4844 +msgid "" +"This package allows the user to input formatted data into elements of a\n" +"2-D or 3-D array and to recall that data at will by individual cell number.\n" +"The data can be but need not be numerical in nature. It can be, for example,\n" +"formatted text." +msgstr "" + +#: gnu/packages/tex.scm:4879 +msgid "Deposit verbatim text in a box" +msgstr "" + +#: gnu/packages/tex.scm:4881 +msgid "" +"The package provides a @code{verbbox} environment to place its contents\n" +"into a globally available box, or into a box specified by the user. The\n" +"global box may then be used in a variety of situations (for example, providing\n" +"a replica of the @code{boxedverbatim} environment itself). A valuable use is\n" +"in places where the standard @code{verbatim} environment (which is based on a\n" +"@code{trivlist}) may not appear." +msgstr "" + +#: gnu/packages/tex.scm:4916 +msgid "Verbatim phrases and listings in LaTeX" +msgstr "" + +#: gnu/packages/tex.scm:4918 +msgid "" +"Examplep provides sophisticated features for typesetting verbatim source\n" +"code listings, including the display of the source code and its compiled LaTeX\n" +"or METAPOST output side-by-side, with automatic width detection and enabled\n" +"page breaks (in the source), without the need for specifying the source twice.\n" +"Special care is taken that section, page and footnote numbers do not interfere\n" +"with the main document. For typesetting short verbatim phrases, a replacement\n" +"for the @code{\\verb} command is also provided in the package, which can be\n" +"used inside tables and moving arguments such as footnotes and section\n" +"titles." +msgstr "" + #: gnu/packages/texinfo.scm:54 msgid "The GNU documentation format" msgstr "Le format de documentation de GNU" @@ -18273,21 +19087,21 @@ msgid "" "Texi2HTML." msgstr "" -#: gnu/packages/textutils.scm:77 +#: gnu/packages/textutils.scm:79 msgid "DOS/Mac to Unix and vice versa text file format converter" msgstr "" -#: gnu/packages/textutils.scm:79 +#: gnu/packages/textutils.scm:81 msgid "" "dos2unix is a tool to convert line breaks in a text file from Unix format\n" "to DOS format and vice versa." msgstr "" -#: gnu/packages/textutils.scm:104 +#: gnu/packages/textutils.scm:106 msgid "Text encoding converter" msgstr "" -#: gnu/packages/textutils.scm:105 +#: gnu/packages/textutils.scm:107 msgid "" "The Recode library converts files between character sets and\n" "usages. It recognises or produces over 200 different character sets (or about\n" @@ -18297,61 +19111,61 @@ msgid "" "handy front-end to the library." msgstr "" -#: gnu/packages/textutils.scm:129 +#: gnu/packages/textutils.scm:131 msgid "Text encoding detection tool" msgstr "" -#: gnu/packages/textutils.scm:130 +#: gnu/packages/textutils.scm:132 msgid "" "Enca (Extremely Naive Charset Analyser) consists of libenca,\n" "an encoding detection library, and enca, a command line frontend, integrating\n" "libenca and several charset conversion libraries and tools." msgstr "" -#: gnu/packages/textutils.scm:180 +#: gnu/packages/textutils.scm:182 msgid "C library for processing UTF-8 Unicode data" msgstr "" -#: gnu/packages/textutils.scm:181 +#: gnu/packages/textutils.scm:183 msgid "" "utf8proc is a small C library that provides Unicode\n" "normalization, case-folding, and other operations for data in the UTF-8\n" "encoding, supporting Unicode version 9.0.0." msgstr "" -#: gnu/packages/textutils.scm:209 +#: gnu/packages/textutils.scm:206 msgid "Gordon's text utils library" msgstr "" -#: gnu/packages/textutils.scm:211 +#: gnu/packages/textutils.scm:208 msgid "" "libgtextutils is a text utilities library used by the fastx toolkit from\n" "the Hannon Lab." msgstr "" -#: gnu/packages/textutils.scm:243 +#: gnu/packages/textutils.scm:240 msgid "C++ hash functions for strings" msgstr "" -#: gnu/packages/textutils.scm:245 +#: gnu/packages/textutils.scm:242 msgid "" "CityHash provides hash functions for strings. The functions mix the\n" "input bits thoroughly but are not suitable for cryptography." msgstr "" -#: gnu/packages/textutils.scm:283 +#: gnu/packages/textutils.scm:280 msgid "String library with very low memory overhead" msgstr "" -#: gnu/packages/textutils.scm:285 +#: gnu/packages/textutils.scm:282 msgid "Ustr is a string library for C with very low memory overhead." msgstr "" -#: gnu/packages/textutils.scm:306 +#: gnu/packages/textutils.scm:303 msgid "C/C++ configuration file library" msgstr "" -#: gnu/packages/textutils.scm:308 +#: gnu/packages/textutils.scm:305 msgid "" "Libconfig is a simple library for manipulating structured configuration\n" "files. This file format is more compact and more readable than XML. And\n" @@ -18359,11 +19173,11 @@ msgid "" "application code." msgstr "" -#: gnu/packages/textutils.scm:328 +#: gnu/packages/textutils.scm:325 msgid "Probabilistic fast file fingerprinting tool" msgstr "" -#: gnu/packages/textutils.scm:330 +#: gnu/packages/textutils.scm:327 msgid "" "pfff is a tool for calculating a compact digital fingerprint of a file\n" "by sampling randomly from the file instead of reading it in full.\n" @@ -18372,22 +19186,22 @@ msgid "" "as existing hashing techniques, with provably negligible risk of collisions." msgstr "" -#: gnu/packages/textutils.scm:351 +#: gnu/packages/textutils.scm:348 msgid "Regular expression library" msgstr "Bibliothèque d'expressions régulières" -#: gnu/packages/textutils.scm:352 +#: gnu/packages/textutils.scm:349 msgid "" "Oniguruma is a regular expressions library. The special\n" "characteristic of this library is that different character encoding for every\n" "regular expression object can be specified." msgstr "" -#: gnu/packages/textutils.scm:392 +#: gnu/packages/textutils.scm:403 msgid "Microsoft Word document reader" msgstr "" -#: gnu/packages/textutils.scm:393 +#: gnu/packages/textutils.scm:404 msgid "" "Antiword is an application for displaying Microsoft Word\n" "documents. It can also convert the document to PostScript or XML. Only\n" @@ -18397,11 +19211,11 @@ msgid "" "runs Word\"." msgstr "" -#: gnu/packages/textutils.scm:426 +#: gnu/packages/textutils.scm:437 msgid "MS-Word to TeX or plain text converter" msgstr "" -#: gnu/packages/textutils.scm:427 +#: gnu/packages/textutils.scm:438 msgid "" "@command{catdoc} extracts text from MS-Word files, trying to\n" "preserve as many special printable characters as possible. It supports\n" @@ -18417,21 +19231,21 @@ msgid "" "@command{catppt}, which extracts data from PowerPoint presentations." msgstr "" -#: gnu/packages/textutils.scm:468 +#: gnu/packages/textutils.scm:479 msgid "Portable C++ library for handling UTF-8" msgstr "" -#: gnu/packages/textutils.scm:469 +#: gnu/packages/textutils.scm:480 msgid "" "UTF8-CPP is a C++ library for handling UTF-8 encoded text\n" "in a portable way." msgstr "" -#: gnu/packages/textutils.scm:537 +#: gnu/packages/textutils.scm:548 msgid "Bayesian text and email classifier" msgstr "" -#: gnu/packages/textutils.scm:539 +#: gnu/packages/textutils.scm:550 msgid "" "dbacl is a fast Bayesian text and email classifier. It builds a variety\n" "of language models using maximum entropy (minimum divergence) principles, and\n" @@ -18439,19 +19253,19 @@ msgid "" "categories." msgstr "" -#: gnu/packages/textutils.scm:581 +#: gnu/packages/textutils.scm:586 msgid "Configuration file parser library" msgstr "" -#: gnu/packages/textutils.scm:583 +#: gnu/packages/textutils.scm:588 msgid "C library for creating and parsing configuration files." msgstr "" -#: gnu/packages/textutils.scm:611 +#: gnu/packages/textutils.scm:616 msgid "Syntax highlighting text component for Java Swing" msgstr "" -#: gnu/packages/textutils.scm:612 +#: gnu/packages/textutils.scm:617 msgid "" "RSyntaxTextArea is a syntax highlighting, code folding text\n" "component for Java Swing. It extends @code{JTextComponent} so it integrates\n" @@ -18460,63 +19274,98 @@ msgid "" "source code." msgstr "" -#: gnu/packages/textutils.scm:650 +#: gnu/packages/textutils.scm:655 msgid "Fast implementation of the edit distance (Levenshtein distance)" msgstr "" -#: gnu/packages/textutils.scm:652 +#: gnu/packages/textutils.scm:657 msgid "" "This library simply implements Levenshtein distance algorithm with C++\n" "and Cython." msgstr "" -#: gnu/packages/textutils.scm:672 +#: gnu/packages/textutils.scm:677 msgid "@code{runewidth} provides Go functions to work with string widths" msgstr "" -#: gnu/packages/textutils.scm:674 +#: gnu/packages/textutils.scm:679 msgid "" "The @code{runewidth} library provides Go functions for padding,\n" "measuring and checking the width of strings, with support east asian text." msgstr "" -#: gnu/packages/version-control.scm:135 -msgid "Version control system supporting both distributed and centralized workflows" +#: gnu/packages/textutils.scm:730 +msgid "Recover text from @file{.docx} files, with good formatting" +msgstr "" + +#: gnu/packages/textutils.scm:732 +msgid "" +"@command{docx2txt} is a Perl based command line utility to convert\n" +"Microsoft Office @file{.docx} documents to equivalent text documents. Latest\n" +"version supports following features during text extraction.\n" +"\n" +"@itemize\n" +"@item Character conversions; currency characters are converted to respective\n" +"names like Euro.\n" +"@item Capitalisation of text blocks.\n" +"@item Center and right justification of text fitting in a line of\n" +"(configurable) 80 columns.\n" +"@item Horizontal ruler, line breaks, paragraphs separation, tabs.\n" +"@item Indicating hyperlinked text along with the hyperlink (configurable).\n" +"@item Handling (bullet, decimal, letter, roman) lists along with (attempt at)\n" +"indentation.\n" +"@end itemize\n" +msgstr "" + +#: gnu/packages/textutils.scm:766 +msgid "Convert between Traditional Chinese and Simplified Chinese" +msgstr "" + +#: gnu/packages/textutils.scm:767 +msgid "" +"Open Chinese Convert (OpenCC) converts between Traditional\n" +"Chinese and Simplified Chinese, supporting character-level conversion,\n" +"phrase-level conversion, variant conversion, and regional idioms among\n" +"Mainland China, Taiwan, and Hong-Kong." msgstr "" #: gnu/packages/version-control.scm:137 +msgid "Version control system supporting both distributed and centralized workflows" +msgstr "" + +#: gnu/packages/version-control.scm:139 msgid "" "GNU Bazaar is a version control system that allows you to record\n" "changes to project files over time. It supports both a distributed workflow\n" "as well as the classic centralized workflow." msgstr "" -#: gnu/packages/version-control.scm:384 +#: gnu/packages/version-control.scm:453 msgid "Distributed version control system" msgstr "" -#: gnu/packages/version-control.scm:386 +#: gnu/packages/version-control.scm:455 msgid "" "Git is a free distributed version control system designed to handle\n" "everything from small to very large projects with speed and efficiency." msgstr "" -#: gnu/packages/version-control.scm:438 +#: gnu/packages/version-control.scm:572 msgid "Library providing Git core methods" msgstr "" -#: gnu/packages/version-control.scm:440 +#: gnu/packages/version-control.scm:574 msgid "" "Libgit2 is a portable, pure C implementation of the Git core methods\n" "provided as a re-entrant linkable library with a solid API, allowing you to\n" "write native speed custom Git applications in any language with bindings." msgstr "" -#: gnu/packages/version-control.scm:476 +#: gnu/packages/version-control.scm:610 msgid "Transparent encryption of files in a git repository" msgstr "" -#: gnu/packages/version-control.scm:477 +#: gnu/packages/version-control.scm:611 msgid "" "git-crypt enables transparent encryption and decryption of\n" "files in a git repository. Files which you choose to protect are encrypted when\n" @@ -18528,11 +19377,11 @@ msgid "" "to lock down your entire repository." msgstr "" -#: gnu/packages/version-control.scm:512 +#: gnu/packages/version-control.scm:646 msgid "Whole remote repository encryption" msgstr "" -#: gnu/packages/version-control.scm:513 +#: gnu/packages/version-control.scm:647 msgid "" "git-remote-gcrypt is a Git remote helper to push and pull from\n" "repositories encrypted with GnuPG. It works with the standard Git transports,\n" @@ -18551,31 +19400,31 @@ msgid "" "collaboration using typical untrusted file hosts or services." msgstr "" -#: gnu/packages/version-control.scm:637 +#: gnu/packages/version-control.scm:766 msgid "Web frontend for git repositories" msgstr "" -#: gnu/packages/version-control.scm:639 +#: gnu/packages/version-control.scm:768 msgid "" "CGit is an attempt to create a fast web interface for the Git SCM, using\n" "a built-in cache to decrease server I/O pressure." msgstr "" -#: gnu/packages/version-control.scm:668 +#: gnu/packages/version-control.scm:797 msgid "Copy directory to the gh-pages branch" msgstr "" -#: gnu/packages/version-control.scm:669 +#: gnu/packages/version-control.scm:798 msgid "" "Script that copies a directory to the gh-pages branch (by\n" "default) of the repository." msgstr "" -#: gnu/packages/version-control.scm:727 +#: gnu/packages/version-control.scm:856 msgid "Python implementation of the Git object database" msgstr "Implémentation Python de la base de données d'objets Git" -#: gnu/packages/version-control.scm:729 +#: gnu/packages/version-control.scm:858 msgid "" "GitDB allows you to access @dfn{bare} Git repositories for reading and\n" "writing. It aims at allowing full access to loose objects as well as packs\n" @@ -18583,11 +19432,11 @@ msgid "" "allowing to handle large objects with a small memory footprint." msgstr "" -#: gnu/packages/version-control.scm:768 +#: gnu/packages/version-control.scm:897 msgid "Python library for interacting with Git repositories" msgstr "Bibliothèque Python pour interagir avec des dépôts Git" -#: gnu/packages/version-control.scm:770 +#: gnu/packages/version-control.scm:899 msgid "" "GitPython is a python library used to interact with Git repositories,\n" "high-level like git-porcelain, or low-level like git-plumbing.\n" @@ -18598,11 +19447,11 @@ msgid "" "@command{git} command implementation." msgstr "" -#: gnu/packages/version-control.scm:810 +#: gnu/packages/version-control.scm:939 msgid "Command-line flags library for shell scripts" msgstr "" -#: gnu/packages/version-control.scm:812 +#: gnu/packages/version-control.scm:941 msgid "" "Shell Flags (shFlags) is a library written to greatly simplify the\n" "handling of command-line flags in Bourne based Unix shell scripts (bash, dash,\n" @@ -18613,11 +19462,11 @@ msgid "" "will work." msgstr "" -#: gnu/packages/version-control.scm:856 +#: gnu/packages/version-control.scm:985 msgid "Git extensions for Vincent Driessen's branching model" msgstr "" -#: gnu/packages/version-control.scm:858 +#: gnu/packages/version-control.scm:987 msgid "" "Vincent Driessen's branching model is a git branching and release\n" "management strategy that helps developers keep track of features, hotfixes,\n" @@ -18626,11 +19475,11 @@ msgid "" "lot easier." msgstr "" -#: gnu/packages/version-control.scm:891 +#: gnu/packages/version-control.scm:1020 msgid "Stacked Git" msgstr "" -#: gnu/packages/version-control.scm:893 +#: gnu/packages/version-control.scm:1022 msgid "" "StGit is a command-line application that provides functionality similar\n" "to Quilt (i.e., pushing/popping patches to/from a stack), but using Git\n" @@ -18639,11 +19488,11 @@ msgid "" "manipulate them in various ways." msgstr "" -#: gnu/packages/version-control.scm:929 +#: gnu/packages/version-control.scm:1058 msgid "Version control system for @code{$HOME}" msgstr "" -#: gnu/packages/version-control.scm:931 +#: gnu/packages/version-control.scm:1060 msgid "" "vcsh version-controls configuration files in several Git repositories,\n" "all in one single directory. They all maintain their working trees without\n" @@ -18652,43 +19501,43 @@ msgid "" "though this can be overridden." msgstr "" -#: gnu/packages/version-control.scm:967 +#: gnu/packages/version-control.scm:1096 msgid "Run a command over a sequence of commits" msgstr "" -#: gnu/packages/version-control.scm:969 +#: gnu/packages/version-control.scm:1098 msgid "" "git-test-sequence is similar to an automated git bisect except it’s\n" "linear. It will test every change between two points in the DAG. It will\n" "also walk each side of a merge and test those changes individually." msgstr "" -#: gnu/packages/version-control.scm:1031 +#: gnu/packages/version-control.scm:1211 msgid "Git access control layer" msgstr "" -#: gnu/packages/version-control.scm:1033 +#: gnu/packages/version-control.scm:1213 msgid "" "Gitolite is an access control layer on top of Git, providing fine access\n" "control to Git repositories." msgstr "" -#: gnu/packages/version-control.scm:1057 +#: gnu/packages/version-control.scm:1237 msgid "Decentralized version control system" msgstr "" -#: gnu/packages/version-control.scm:1059 +#: gnu/packages/version-control.scm:1239 msgid "" "Mercurial is a free, distributed source control management tool.\n" "It efficiently handles projects of any size\n" "and offers an easy and intuitive interface." msgstr "" -#: gnu/packages/version-control.scm:1093 +#: gnu/packages/version-control.scm:1273 msgid "HTTP and WebDAV client library" msgstr "" -#: gnu/packages/version-control.scm:1095 +#: gnu/packages/version-control.scm:1275 msgid "" "Neon is an HTTP and WebDAV client library, with a C interface and the\n" "following features:\n" @@ -18710,11 +19559,11 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/version-control.scm:1184 +#: gnu/packages/version-control.scm:1364 msgid "Revision control system" msgstr "" -#: gnu/packages/version-control.scm:1186 +#: gnu/packages/version-control.scm:1366 msgid "" "Subversion exists to be universally recognized and adopted as a\n" "centralized version control system characterized by its\n" @@ -18723,11 +19572,11 @@ msgid "" "projects, from individuals to large-scale enterprise operations." msgstr "" -#: gnu/packages/version-control.scm:1208 +#: gnu/packages/version-control.scm:1388 msgid "Per-file local revision control system" msgstr "" -#: gnu/packages/version-control.scm:1210 +#: gnu/packages/version-control.scm:1390 msgid "" "RCS is the original Revision Control System. It works on a\n" "file-by-file basis, in contrast to subsequent version control systems such as\n" @@ -18736,11 +19585,11 @@ msgid "" "machine." msgstr "" -#: gnu/packages/version-control.scm:1238 +#: gnu/packages/version-control.scm:1418 msgid "Historical centralized version control system" msgstr "" -#: gnu/packages/version-control.scm:1240 +#: gnu/packages/version-control.scm:1420 msgid "" "CVS is a version control system, an important component of Source\n" "Configuration Management (SCM). Using it, you can record the history of\n" @@ -18748,11 +19597,11 @@ msgid "" "RCS, PRCS, and Aegis packages." msgstr "" -#: gnu/packages/version-control.scm:1281 +#: gnu/packages/version-control.scm:1466 msgid "Export an RCS or CVS history as a fast-import stream" msgstr "" -#: gnu/packages/version-control.scm:1282 +#: gnu/packages/version-control.scm:1467 msgid "" "This program analyzes a collection of RCS files in a CVS\n" "repository (or outside of one) and, when possible, emits an equivalent history\n" @@ -18765,11 +19614,11 @@ msgid "" "masters from remote CVS hosts." msgstr "" -#: gnu/packages/version-control.scm:1309 +#: gnu/packages/version-control.scm:1494 msgid "Version-control-agnostic ChangeLog diff and commit tool" msgstr "" -#: gnu/packages/version-control.scm:1311 +#: gnu/packages/version-control.scm:1496 msgid "" "The vc-dwim package contains two tools, \"vc-dwim\" and \"vc-chlog\".\n" "vc-dwim is a tool that simplifies the task of maintaining a ChangeLog and\n" @@ -18779,33 +19628,33 @@ msgid "" "standards-compliant ChangeLog entries based on the changes that it detects." msgstr "" -#: gnu/packages/version-control.scm:1336 +#: gnu/packages/version-control.scm:1521 msgid "Make histograms from the output of @command{diff}" msgstr "" -#: gnu/packages/version-control.scm:1338 +#: gnu/packages/version-control.scm:1523 msgid "" "Diffstat reads the output of @command{diff} and displays a histogram of\n" "the insertions, deletions, and modifications per file. It is useful for\n" "reviewing large, complex patch files." msgstr "" -#: gnu/packages/version-control.scm:1377 +#: gnu/packages/version-control.scm:1562 msgid "File-based version control like SCCS" msgstr "" -#: gnu/packages/version-control.scm:1378 +#: gnu/packages/version-control.scm:1563 msgid "" "GNU CSSC provides a replacement for the legacy Unix source\n" "code control system SCCS. This allows old code still under that system to be\n" "accessed and migrated on modern systems." msgstr "" -#: gnu/packages/version-control.scm:1457 +#: gnu/packages/version-control.scm:1651 msgid "Project change supervisor" msgstr "" -#: gnu/packages/version-control.scm:1458 +#: gnu/packages/version-control.scm:1652 msgid "" "Aegis is a project change supervisor, and performs some of\n" "the Software Configuration Management needed in a CASE environment. Aegis\n" @@ -18816,11 +19665,11 @@ msgid "" "any project with more than one developer, is one of Aegis's major functions." msgstr "" -#: gnu/packages/version-control.scm:1532 +#: gnu/packages/version-control.scm:1726 msgid "Edit version-control repository history" msgstr "" -#: gnu/packages/version-control.scm:1533 +#: gnu/packages/version-control.scm:1727 msgid "" "Reposurgeon enables risky operations that version-control\n" "systems don't want to let you do, such as editing past comments and metadata\n" @@ -18831,32 +19680,32 @@ msgid "" "from Subversion to any supported Distributed Version Control System (DVCS)." msgstr "" -#: gnu/packages/version-control.scm:1572 +#: gnu/packages/version-control.scm:1766 msgid "Ncurses-based text user interface for Git" msgstr "" -#: gnu/packages/version-control.scm:1574 +#: gnu/packages/version-control.scm:1768 msgid "" "Tig is an ncurses text user interface for Git, primarily intended as\n" "a history browser. It can also stage hunks for commit, or colorize the\n" -"output of the 'git' command." +"output of the @code{git} command." msgstr "" -#: gnu/packages/version-control.scm:1595 +#: gnu/packages/version-control.scm:1789 msgid "Print the modification time of the latest file" msgstr "" -#: gnu/packages/version-control.scm:1597 +#: gnu/packages/version-control.scm:1791 msgid "" "Recursively find the newest file in a file tree and print its\n" "modification time." msgstr "" -#: gnu/packages/version-control.scm:1623 +#: gnu/packages/version-control.scm:1836 msgid "Multiple repository management tool" msgstr "" -#: gnu/packages/version-control.scm:1625 +#: gnu/packages/version-control.scm:1838 msgid "" "Myrepos provides the @code{mr} command, which maps an operation (e.g.,\n" "fetching updates) over a collection of version control repositories. It\n" @@ -18864,42 +19713,42 @@ msgid "" "Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity." msgstr "" -#: gnu/packages/version-control.scm:1655 +#: gnu/packages/version-control.scm:1868 msgid "Use hubic as a git-annex remote" msgstr "" -#: gnu/packages/version-control.scm:1657 +#: gnu/packages/version-control.scm:1870 msgid "" "This package allows you to use your hubic account as a \"special\n" "repository\" with git-annex." msgstr "" -#: gnu/packages/version-control.scm:1710 +#: gnu/packages/version-control.scm:1923 msgid "Software configuration management system" msgstr "Système de gestion de configuration logicielle" -#: gnu/packages/version-control.scm:1712 +#: gnu/packages/version-control.scm:1925 msgid "" "Fossil is a distributed source control management system which supports\n" "access and administration over HTTP CGI or via a built-in HTTP server. It has\n" "a built-in wiki, built-in file browsing, built-in tickets system, etc." msgstr "" -#: gnu/packages/version-control.scm:1740 +#: gnu/packages/version-control.scm:1953 msgid "Static git page generator" msgstr "" -#: gnu/packages/version-control.scm:1741 +#: gnu/packages/version-control.scm:1954 msgid "" "Stagit creates static pages for git repositories, the results can\n" "be served with a HTTP file server of your choice." msgstr "" -#: gnu/packages/version-control.scm:1827 +#: gnu/packages/version-control.scm:2040 msgid "Distributed Revision Control System" msgstr "" -#: gnu/packages/version-control.scm:1829 +#: gnu/packages/version-control.scm:2042 msgid "" "Darcs is a revision control system. It is:\n" "\n" @@ -18916,22 +19765,22 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/version-control.scm:1881 +#: gnu/packages/version-control.scm:2095 msgid "Java library implementing the Git version control system" msgstr "" -#: gnu/packages/version-control.scm:1882 +#: gnu/packages/version-control.scm:2096 msgid "" "JGit is a lightweight, pure Java library implementing the\n" "Git version control system, providing repository access routines, support for\n" "network protocols, and core version control algorithms." msgstr "" -#: gnu/packages/version-control.scm:1949 +#: gnu/packages/version-control.scm:2163 msgid "3D visualisation tool for source control repositories" msgstr "" -#: gnu/packages/version-control.scm:1950 +#: gnu/packages/version-control.scm:2164 msgid "" "@code{gource} provides a software version control\n" "visualization. The repository is displayed as a tree where the root of the\n" @@ -18940,11 +19789,11 @@ msgid "" "specific files and directories." msgstr "" -#: gnu/packages/version-control.scm:1996 +#: gnu/packages/version-control.scm:2210 msgid "Simple revision control" msgstr "Contrôle de version simple" -#: gnu/packages/version-control.scm:1999 +#: gnu/packages/version-control.scm:2213 #, scheme-format msgid "" "SRC (or src) is simple revision control, a version-control system for\n" @@ -18954,11 +19803,11 @@ msgid "" "directory full of HOWTOs." msgstr "" -#: gnu/packages/version-control.scm:2125 +#: gnu/packages/version-control.scm:2338 msgid "Manage files with Git, without checking in their contents" msgstr "" -#: gnu/packages/version-control.scm:2126 +#: gnu/packages/version-control.scm:2339 msgid "" "This package allows managing files with Git, without\n" "checking the file contents into Git. It can store files in many places,\n" @@ -18966,6 +19815,18 @@ msgid "" "used to keep a folder in sync between computers." msgstr "" +#: gnu/packages/version-control.scm:2392 +msgid "Determine when a commit was merged into a Git branch" +msgstr "" + +#: gnu/packages/version-control.scm:2393 +msgid "" +"This Git extension defines a subcommand,\n" +"@code{when-merged}, whose core operation is to find the merge that brought a\n" +"given commit into the specified ref(s). It has various options that control\n" +"how information about the merge is displayed." +msgstr "" + #: gnu/packages/virtualization.scm:214 msgid "Machine emulator and virtualizer" msgstr "" @@ -19003,22 +19864,22 @@ msgid "" "all common programming languages. Vala bindings are also provided." msgstr "" -#: gnu/packages/virtualization.scm:379 +#: gnu/packages/virtualization.scm:378 msgid "Linux container tools" msgstr "" -#: gnu/packages/virtualization.scm:382 +#: gnu/packages/virtualization.scm:381 msgid "" "LXC is a userspace interface for the Linux kernel containment features.\n" "Through a powerful API and simple tools, it lets Linux users easily create and\n" "manage system or application containers." msgstr "" -#: gnu/packages/virtualization.scm:465 +#: gnu/packages/virtualization.scm:464 msgid "Simple API for virtualization" msgstr "" -#: gnu/packages/virtualization.scm:466 +#: gnu/packages/virtualization.scm:465 msgid "" "Libvirt is a C toolkit to interact with the virtualization\n" "capabilities of recent versions of Linux. The library aims at providing long\n" @@ -19026,11 +19887,11 @@ msgid "" "to integrate other virtualization mechanisms if needed." msgstr "" -#: gnu/packages/virtualization.scm:507 +#: gnu/packages/virtualization.scm:506 msgid "GLib wrapper around libvirt" msgstr "" -#: gnu/packages/virtualization.scm:508 +#: gnu/packages/virtualization.scm:507 msgid "" "libvirt-glib wraps the libvirt library to provide a\n" "high-level object-oriented API better suited for glib-based applications, via\n" @@ -19043,21 +19904,21 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/virtualization.scm:550 +#: gnu/packages/virtualization.scm:549 msgid "Python bindings to libvirt" msgstr "" -#: gnu/packages/virtualization.scm:551 +#: gnu/packages/virtualization.scm:550 msgid "" "This package provides Python bindings to the libvirt\n" "virtualization library." msgstr "" -#: gnu/packages/virtualization.scm:646 +#: gnu/packages/virtualization.scm:645 msgid "Manage virtual machines" msgstr "Gestion de machines virtuelles" -#: gnu/packages/virtualization.scm:648 +#: gnu/packages/virtualization.scm:647 msgid "" "The virt-manager application is a desktop user interface for managing\n" "virtual machines through libvirt. It primarily targets KVM VMs, but also\n" @@ -19065,11 +19926,11 @@ msgid "" "domains, their live performance and resource utilization statistics." msgstr "" -#: gnu/packages/virtualization.scm:738 +#: gnu/packages/virtualization.scm:737 msgid "Checkpoint and restore in user space" msgstr "" -#: gnu/packages/virtualization.scm:739 +#: gnu/packages/virtualization.scm:738 msgid "" "Using this tool, you can freeze a running application (or\n" "part of it) and checkpoint it to a hard drive as a collection of files. You\n" @@ -19078,22 +19939,22 @@ msgid "" "mainly implemented in user space." msgstr "" -#: gnu/packages/virtualization.scm:764 +#: gnu/packages/virtualization.scm:763 msgid "Backup and restore QEMU machines" msgstr "" -#: gnu/packages/virtualization.scm:765 +#: gnu/packages/virtualization.scm:764 msgid "" "qmpbackup is designed to create and restore full and\n" "incremental backups of running QEMU virtual machines via QMP, the QEMU\n" "Machine Protocol." msgstr "" -#: gnu/packages/virtualization.scm:806 +#: gnu/packages/virtualization.scm:808 msgid "KVM Frame Relay (KVMFR) implementation" msgstr "" -#: gnu/packages/virtualization.scm:807 +#: gnu/packages/virtualization.scm:809 msgid "" "Looking Glass allows the use of a KVM (Kernel-based Virtual\n" "Machine) configured for VGA PCI Pass-through without an attached physical\n" @@ -19101,11 +19962,11 @@ msgid "" "monitor/GPU." msgstr "" -#: gnu/packages/virtualization.scm:862 +#: gnu/packages/virtualization.scm:864 msgid "Open container initiative runtime" msgstr "" -#: gnu/packages/virtualization.scm:865 +#: gnu/packages/virtualization.scm:867 msgid "" "@command{runc} is a command line client for running applications\n" "packaged according to the\n" @@ -19114,21 +19975,21 @@ msgid "" "Open Container Initiative specification." msgstr "" -#: gnu/packages/virtualization.scm:911 +#: gnu/packages/virtualization.scm:913 msgid "Tool for modifying Open Container images" msgstr "Outil de modification d'image Open Container" -#: gnu/packages/virtualization.scm:913 +#: gnu/packages/virtualization.scm:915 msgid "" "@command{umoci} is a tool that allows for high-level modification of an\n" "Open Container Initiative (OCI) image layout and its tagged images." msgstr "" -#: gnu/packages/virtualization.scm:958 +#: gnu/packages/virtualization.scm:960 msgid "Interact with container images and container image registries" msgstr "" -#: gnu/packages/virtualization.scm:960 +#: gnu/packages/virtualization.scm:962 msgid "" "@command{skopeo} is a command line utility providing various operations\n" "with container images and container image registries. It can:\n" @@ -19149,22 +20010,47 @@ msgid "" "@end enumerate" msgstr "" -#: gnu/packages/webkit.scm:141 +#: gnu/packages/virtualization.scm:996 +msgid "Python bindings for Vagrant" +msgstr "Liaisons python pour Vagrant" + +#: gnu/packages/virtualization.scm:998 +msgid "" +"Python-vagrant is a Python module that provides a thin wrapper around the\n" +"@code{vagrant} command line executable, allowing programmatic control of Vagrant\n" +"virtual machines." +msgstr "" + +#: gnu/packages/virtualization.scm:1049 +msgid "Unprivileged sandboxing tool" +msgstr "" + +#: gnu/packages/virtualization.scm:1050 +msgid "" +"Bubblewrap is aimed at running applications in a sandbox,\n" +"where it has restricted access to parts of the operating system or user data\n" +"such as the home directory. Bubblewrap always creates a new mount namespace,\n" +"and the user can specify exactly what parts of the filesystem should be visible\n" +"in the sandbox. Any such directories specified is mounted nodev by default,\n" +"and can be made readonly." +msgstr "" + +#: gnu/packages/webkit.scm:152 msgid "Web content engine for GTK+" msgstr "" -#: gnu/packages/webkit.scm:143 +#: gnu/packages/webkit.scm:154 msgid "" "WebKitGTK+ is a full-featured port of the WebKit rendering engine,\n" "suitable for projects requiring any kind of web integration, from hybrid\n" "HTML/CSS applications to full-fledged web browsers." msgstr "" -#: gnu/packages/web.scm:146 +#: gnu/packages/web.scm:152 msgid "Featureful HTTP server" msgstr "" -#: gnu/packages/web.scm:148 +#: gnu/packages/web.scm:154 msgid "" "The Apache HTTP Server Project is a collaborative software development\n" "effort aimed at creating a robust, commercial-grade, featureful, and\n" @@ -19174,106 +20060,106 @@ msgid "" "and its related documentation." msgstr "" -#: gnu/packages/web.scm:180 +#: gnu/packages/web.scm:186 msgid "Apache HTTPD module for Python WSGI applications" msgstr "" -#: gnu/packages/web.scm:182 +#: gnu/packages/web.scm:188 msgid "" "The mod_wsgi module for the Apache HTTPD Server adds support for running\n" "applications that support the Python @acronym{WSGI, Web Server Gateway\n" "Interface} specification." msgstr "" -#: gnu/packages/web.scm:269 +#: gnu/packages/web.scm:275 msgid "HTTP and reverse proxy server" msgstr "" -#: gnu/packages/web.scm:271 +#: gnu/packages/web.scm:277 msgid "" "Nginx (\"engine X\") is a high-performance web and reverse proxy server\n" "created by Igor Sysoev. It can be used both as a stand-alone web server\n" "and as a proxy to reduce the load on back-end HTTP or mail servers." msgstr "" -#: gnu/packages/web.scm:316 +#: gnu/packages/web.scm:322 msgid "XSLScript with NGinx specific modifications" msgstr "" -#: gnu/packages/web.scm:318 +#: gnu/packages/web.scm:324 msgid "" "XSLScript is a terse notation for writing complex XSLT stylesheets.\n" "This is modified version, specifically intended for use with the NGinx\n" "documentation." msgstr "" -#: gnu/packages/web.scm:372 +#: gnu/packages/web.scm:378 msgid "Documentation for the nginx web server" msgstr "Documentation du serveur web nginx" -#: gnu/packages/web.scm:374 +#: gnu/packages/web.scm:380 msgid "This package provides HTML documentation for the nginx web server." msgstr "Ce paquet fournit la documentation HTML du serveur web nginx." -#: gnu/packages/web.scm:397 +#: gnu/packages/web.scm:403 msgid "Language-independent, high-performant extension to CGI" msgstr "" -#: gnu/packages/web.scm:398 +#: gnu/packages/web.scm:404 msgid "" "FastCGI is a language-independent, scalable extension to CGI\n" "that provides high performance without the limitations of server specific\n" "APIs." msgstr "" -#: gnu/packages/web.scm:429 +#: gnu/packages/web.scm:435 msgid "Simple server for running CGI applications over FastCGI" msgstr "" -#: gnu/packages/web.scm:430 +#: gnu/packages/web.scm:436 msgid "" "Fcgiwrap is a simple server for running CGI applications\n" "over FastCGI. It hopes to provide clean CGI support to Nginx (and other web\n" "servers that may need it)." msgstr "" -#: gnu/packages/web.scm:461 +#: gnu/packages/web.scm:467 msgid "PSGI/Plack web server" msgstr "" -#: gnu/packages/web.scm:462 +#: gnu/packages/web.scm:468 msgid "" "Starman is a PSGI perl web server that has unique features\n" "such as high performance, preforking, signal support, superdaemon awareness,\n" "and UNIX socket support." msgstr "" -#: gnu/packages/web.scm:494 +#: gnu/packages/web.scm:500 msgid "Java Web Start" msgstr "" -#: gnu/packages/web.scm:496 +#: gnu/packages/web.scm:502 msgid "" "IcedTea-Web is an implementation of the @dfn{Java Network Launching\n" "Protocol}, also known as Java Web Start. This package provides tools and\n" "libraries for working with JNLP applets." msgstr "" -#: gnu/packages/web.scm:517 +#: gnu/packages/web.scm:523 msgid "JSON C library" msgstr "La bibliothèque C JSON" -#: gnu/packages/web.scm:519 +#: gnu/packages/web.scm:525 msgid "" "Jansson is a C library for encoding, decoding and manipulating JSON\n" "data." msgstr "" -#: gnu/packages/web.scm:546 +#: gnu/packages/web.scm:552 msgid "JSON implementation in C" msgstr "" -#: gnu/packages/web.scm:548 +#: gnu/packages/web.scm:554 msgid "" "JSON-C implements a reference counting object model that allows you to\n" "easily construct JSON objects in C, output them as JSON-formatted strings and\n" @@ -19281,22 +20167,39 @@ msgid "" "It aims to conform to RFC 7159." msgstr "" -#: gnu/packages/web.scm:613 +#: gnu/packages/web.scm:605 +msgid "JSON parser written in ANSI C" +msgstr "" + +#: gnu/packages/web.scm:606 +msgid "" +"This package provides a very low footprint JSON parser\n" +"written in portable ANSI C.\n" +"\n" +"@itemize\n" +"@item BSD licensed with no dependencies (i.e. just drop the C file into your\n" +"project)\n" +"@item Never recurses or allocates more memory than it needs\n" +"@item Very simple API with operator sugar for C++\n" +"@end itemize" +msgstr "" + +#: gnu/packages/web.scm:650 msgid "Library that maps JSON data to QVariant objects" msgstr "" -#: gnu/packages/web.scm:614 +#: gnu/packages/web.scm:651 msgid "" "QJson is a Qt-based library that maps JSON data to\n" "@code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}\n" "instances, while JSON's objects will be mapped to @code{QVariantMap}." msgstr "" -#: gnu/packages/web.scm:698 +#: gnu/packages/web.scm:735 msgid "Hierarchical data exploration with zoomable HTML5 pie charts" msgstr "" -#: gnu/packages/web.scm:700 +#: gnu/packages/web.scm:737 msgid "" "Krona is a flexible tool for exploring the relative proportions of\n" "hierarchical data, such as metagenomic classifications, using a radial,\n" @@ -19305,42 +20208,42 @@ msgid "" "current version of any major web browser." msgstr "" -#: gnu/packages/web.scm:733 +#: gnu/packages/web.scm:777 msgid "JSON parser/generator for C++ with both SAX/DOM style API" msgstr "" -#: gnu/packages/web.scm:735 +#: gnu/packages/web.scm:779 msgid "" "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM\n" "style API." msgstr "" -#: gnu/packages/web.scm:753 +#: gnu/packages/web.scm:805 msgid "C library for parsing JSON" msgstr "" -#: gnu/packages/web.scm:755 +#: gnu/packages/web.scm:807 msgid "" "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON\n" "parser written in ANSI C and a small validating JSON generator." msgstr "" -#: gnu/packages/web.scm:785 +#: gnu/packages/web.scm:837 msgid "WebSockets library written in C" msgstr "" -#: gnu/packages/web.scm:787 +#: gnu/packages/web.scm:839 msgid "" "Libwebsockets is a library that allows C programs to establish client\n" "and server WebSockets connections---a protocol layered above HTTP that allows\n" "for efficient socket-like bidirectional reliable communication channels." msgstr "" -#: gnu/packages/web.scm:815 +#: gnu/packages/web.scm:867 msgid "C library for the Publix Suffix List" msgstr "" -#: gnu/packages/web.scm:817 +#: gnu/packages/web.scm:869 msgid "" "A \"public suffix\" is a domain name under which Internet users can\n" "directly register own names.\n" @@ -19358,21 +20261,21 @@ msgid "" "UTS#46." msgstr "" -#: gnu/packages/web.scm:863 +#: gnu/packages/web.scm:915 msgid "HTML validator and tidier" msgstr "" -#: gnu/packages/web.scm:864 +#: gnu/packages/web.scm:916 msgid "" "HTML Tidy is a command-line tool and C library that can be\n" "used to validate and fix HTML data." msgstr "" -#: gnu/packages/web.scm:899 +#: gnu/packages/web.scm:948 msgid "Light-weight HTTP/HTTPS proxy daemon" msgstr "" -#: gnu/packages/web.scm:900 +#: gnu/packages/web.scm:949 msgid "" "Tinyproxy is a light-weight HTTP/HTTPS proxy\n" "daemon. Designed from the ground up to be fast and yet small, it is an ideal\n" @@ -19381,22 +20284,22 @@ msgid "" "unavailable." msgstr "" -#: gnu/packages/web.scm:933 +#: gnu/packages/web.scm:982 msgid "Small caching web proxy" msgstr "" -#: gnu/packages/web.scm:935 +#: gnu/packages/web.scm:984 msgid "" "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy\n" "server). It was primarily designed to be used by one person or a small group\n" "of people." msgstr "" -#: gnu/packages/web.scm:962 +#: gnu/packages/web.scm:1011 msgid "WebSockets support for any application/server" msgstr "" -#: gnu/packages/web.scm:963 +#: gnu/packages/web.scm:1012 msgid "" "Websockify translates WebSockets traffic to normal socket\n" "traffic. Websockify accepts the WebSockets handshake, parses it, and then\n" @@ -19404,11 +20307,11 @@ msgid "" "directions." msgstr "" -#: gnu/packages/web.scm:989 +#: gnu/packages/web.scm:1038 msgid "Caching web proxy optimized for intermittent internet links" msgstr "" -#: gnu/packages/web.scm:990 +#: gnu/packages/web.scm:1039 msgid "" "WWWOFFLE is a proxy web server that is especially good for\n" "intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger\n" @@ -19417,11 +20320,11 @@ msgid "" "changes, and much more." msgstr "" -#: gnu/packages/web.scm:1015 +#: gnu/packages/web.scm:1064 msgid "C library implementing the OAuth API" msgstr "Bibliothèque C implémentant l'API OAuth" -#: gnu/packages/web.scm:1017 +#: gnu/packages/web.scm:1066 msgid "" "liboauth is a collection of C functions implementing the OAuth API.\n" "liboauth provides functions to escape and encode strings according to OAuth\n" @@ -19430,42 +20333,42 @@ msgid "" "hash/signatures." msgstr "" -#: gnu/packages/web.scm:1040 +#: gnu/packages/web.scm:1089 msgid "YAML 1.1 parser and emitter written in C" msgstr "" -#: gnu/packages/web.scm:1042 +#: gnu/packages/web.scm:1091 msgid "LibYAML is a YAML 1.1 parser and emitter written in C." msgstr "" -#: gnu/packages/web.scm:1059 gnu/packages/web.scm:1093 -#: gnu/packages/web.scm:1116 +#: gnu/packages/web.scm:1108 gnu/packages/web.scm:1142 +#: gnu/packages/web.scm:1165 msgid "Media stream URL parser" msgstr "" -#: gnu/packages/web.scm:1060 +#: gnu/packages/web.scm:1109 msgid "" "This package contains support scripts called by libquvi to\n" "parse media stream properties." msgstr "" -#: gnu/packages/web.scm:1094 +#: gnu/packages/web.scm:1143 msgid "" "libquvi is a library with a C API for parsing media stream\n" "URLs and extracting their actual media files." msgstr "" -#: gnu/packages/web.scm:1117 +#: gnu/packages/web.scm:1166 msgid "" "quvi is a command-line-tool suite to extract media files\n" "from streaming URLs. It is a command-line wrapper for the libquvi library." msgstr "" -#: gnu/packages/web.scm:1189 +#: gnu/packages/web.scm:1238 msgid "High-performance asynchronous HTTP client library" msgstr "" -#: gnu/packages/web.scm:1191 +#: gnu/packages/web.scm:1240 msgid "" "serf is a C-based HTTP client library built upon the Apache Portable\n" "Runtime (APR) library. It multiplexes connections, running the read/write\n" @@ -19473,49 +20376,49 @@ msgid "" "minimum to provide high performance operation." msgstr "" -#: gnu/packages/web.scm:1243 +#: gnu/packages/web.scm:1292 msgid "CSS pre-processor" msgstr "" -#: gnu/packages/web.scm:1244 +#: gnu/packages/web.scm:1293 msgid "" "SassC is a compiler written in C for the CSS pre-processor\n" "language known as SASS." msgstr "" -#: gnu/packages/web.scm:1273 +#: gnu/packages/web.scm:1322 msgid "Compile a log format string to perl-code" msgstr "" -#: gnu/packages/web.scm:1274 +#: gnu/packages/web.scm:1323 msgid "" "This module provides methods to compile a log format string\n" "to perl-code, for faster generation of access_log lines." msgstr "" -#: gnu/packages/web.scm:1302 +#: gnu/packages/web.scm:1351 msgid "SASL authentication framework" msgstr "" -#: gnu/packages/web.scm:1303 +#: gnu/packages/web.scm:1352 msgid "Authen::SASL provides an SASL authentication framework." msgstr "" -#: gnu/packages/web.scm:1328 +#: gnu/packages/web.scm:1377 msgid "Sensible default Catalyst action" msgstr "" -#: gnu/packages/web.scm:1329 +#: gnu/packages/web.scm:1378 msgid "" "This Catalyst action implements a sensible default end\n" "action, which will forward to the first available view." msgstr "" -#: gnu/packages/web.scm:1361 +#: gnu/packages/web.scm:1410 msgid "Automated REST Method Dispatching" msgstr "" -#: gnu/packages/web.scm:1362 +#: gnu/packages/web.scm:1411 msgid "" "This Action handles doing automatic method dispatching for\n" "REST requests. It takes a normal Catalyst action, and changes the dispatch to\n" @@ -19524,32 +20427,32 @@ msgid "" "regular method." msgstr "" -#: gnu/packages/web.scm:1399 +#: gnu/packages/web.scm:1448 msgid "Storage class for Catalyst authentication using DBIx::Class" msgstr "" -#: gnu/packages/web.scm:1400 +#: gnu/packages/web.scm:1449 msgid "" "The Catalyst::Authentication::Store::DBIx::Class class\n" "provides access to authentication information stored in a database via\n" "DBIx::Class." msgstr "" -#: gnu/packages/web.scm:1426 +#: gnu/packages/web.scm:1475 msgid "Create only one instance of Moose component per context" msgstr "" -#: gnu/packages/web.scm:1427 +#: gnu/packages/web.scm:1476 msgid "" "Catalyst::Component::InstancePerContext returns a new\n" "instance of a component on each request." msgstr "" -#: gnu/packages/web.scm:1464 +#: gnu/packages/web.scm:1513 msgid "Catalyst Development Tools" msgstr "" -#: gnu/packages/web.scm:1465 +#: gnu/packages/web.scm:1514 msgid "" "The Catalyst-Devel distribution includes a variety of\n" "modules useful for the development of Catalyst applications, but not required\n" @@ -19559,11 +20462,11 @@ msgid "" "modules." msgstr "" -#: gnu/packages/web.scm:1494 +#: gnu/packages/web.scm:1543 msgid "Regex DispatchType for Catalyst" msgstr "" -#: gnu/packages/web.scm:1495 +#: gnu/packages/web.scm:1544 msgid "" "Dispatch type managing path-matching behaviour using\n" "regexes. Regex dispatch types have been deprecated and removed from Catalyst\n" @@ -19573,32 +20476,32 @@ msgid "" "when the dispatch type is first seen in your application." msgstr "" -#: gnu/packages/web.scm:1544 +#: gnu/packages/web.scm:1593 msgid "DBIx::Class::Schema Model Class" msgstr "" -#: gnu/packages/web.scm:1545 +#: gnu/packages/web.scm:1594 msgid "" "This is a Catalyst Model for DBIx::Class::Schema-based\n" "Models." msgstr "" -#: gnu/packages/web.scm:1568 +#: gnu/packages/web.scm:1617 msgid "Request logging from within Catalyst" msgstr "" -#: gnu/packages/web.scm:1569 +#: gnu/packages/web.scm:1618 msgid "" "This Catalyst plugin enables you to create \"access logs\"\n" "from within a Catalyst application instead of requiring a webserver to do it\n" "for you. It will work even with Catalyst debug logging turned off." msgstr "" -#: gnu/packages/web.scm:1603 +#: gnu/packages/web.scm:1652 msgid "Infrastructure plugin for the Catalyst authentication framework" msgstr "" -#: gnu/packages/web.scm:1604 +#: gnu/packages/web.scm:1653 msgid "" "The authentication plugin provides generic user support for\n" "Catalyst apps. It is the basis for both authentication (checking the user is\n" @@ -19606,52 +20509,52 @@ msgid "" "system authorises them to do)." msgstr "" -#: gnu/packages/web.scm:1635 +#: gnu/packages/web.scm:1684 msgid "Role-based authorization for Catalyst" msgstr "" -#: gnu/packages/web.scm:1636 +#: gnu/packages/web.scm:1685 msgid "" "Catalyst::Plugin::Authorization::Roles provides role-based\n" "authorization for Catalyst based on Catalyst::Plugin::Authentication." msgstr "" -#: gnu/packages/web.scm:1659 +#: gnu/packages/web.scm:1708 msgid "Captchas for Catalyst" msgstr "" -#: gnu/packages/web.scm:1660 +#: gnu/packages/web.scm:1709 msgid "" "This plugin creates and validates Captcha images for\n" "Catalyst." msgstr "" -#: gnu/packages/web.scm:1687 +#: gnu/packages/web.scm:1736 msgid "Load config files of various types" msgstr "" -#: gnu/packages/web.scm:1688 +#: gnu/packages/web.scm:1737 msgid "" "This module will attempt to load find and load configuration\n" "files of various types. Currently it supports YAML, JSON, XML, INI and Perl\n" "formats." msgstr "" -#: gnu/packages/web.scm:1720 +#: gnu/packages/web.scm:1769 msgid "Catalyst generic session plugin" msgstr "" -#: gnu/packages/web.scm:1721 +#: gnu/packages/web.scm:1770 msgid "" "This plugin links the two pieces required for session\n" "management in web applications together: the state, and the store." msgstr "" -#: gnu/packages/web.scm:1749 +#: gnu/packages/web.scm:1798 msgid "Maintain session IDs using cookies" msgstr "" -#: gnu/packages/web.scm:1750 +#: gnu/packages/web.scm:1799 msgid "" "In order for Catalyst::Plugin::Session to work, the session\n" "ID needs to be stored on the client, and the session data needs to be stored\n" @@ -19659,22 +20562,22 @@ msgid "" "cookie mechanism." msgstr "" -#: gnu/packages/web.scm:1780 +#: gnu/packages/web.scm:1829 msgid "FastMmap session storage backend" msgstr "" -#: gnu/packages/web.scm:1781 +#: gnu/packages/web.scm:1830 msgid "" "Catalyst::Plugin::Session::Store::FastMmap is a fast session\n" "storage plugin for Catalyst that uses an mmap'ed file to act as a shared\n" "memory interprocess cache. It is based on Cache::FastMmap." msgstr "" -#: gnu/packages/web.scm:1806 +#: gnu/packages/web.scm:1855 msgid "Stack trace on the Catalyst debug screen" msgstr "" -#: gnu/packages/web.scm:1807 +#: gnu/packages/web.scm:1856 msgid "" "This plugin enhances the standard Catalyst debug screen by\n" "including a stack trace of your application up to the point where the error\n" @@ -19682,11 +20585,11 @@ msgid "" "number, file name, and code context surrounding the line number." msgstr "" -#: gnu/packages/web.scm:1835 +#: gnu/packages/web.scm:1884 msgid "Simple serving of static pages" msgstr "" -#: gnu/packages/web.scm:1836 +#: gnu/packages/web.scm:1885 msgid "" "The Static::Simple plugin is designed to make serving static\n" "content in your application during development quick and easy, without\n" @@ -19697,11 +20600,11 @@ msgid "" "MIME type directly to the browser, without being processed through Catalyst." msgstr "" -#: gnu/packages/web.scm:1899 +#: gnu/packages/web.scm:1947 msgid "The Catalyst Framework Runtime" msgstr "" -#: gnu/packages/web.scm:1900 +#: gnu/packages/web.scm:1948 msgid "" "Catalyst is a modern framework for making web applications.\n" "It is designed to make it easy to manage the various tasks you need to do to\n" @@ -19709,11 +20612,11 @@ msgid "" "\"plug in\" existing Perl modules that do what you need." msgstr "" -#: gnu/packages/web.scm:1931 +#: gnu/packages/web.scm:1979 msgid "Replace request base with value passed by HTTP proxy" msgstr "" -#: gnu/packages/web.scm:1932 +#: gnu/packages/web.scm:1980 msgid "" "This module is a Moose::Role which allows you more\n" "flexibility in your application's deployment configurations when deployed\n" @@ -19721,42 +20624,42 @@ msgid "" "replaced with the contents of the X-Request-Base header." msgstr "" -#: gnu/packages/web.scm:1959 +#: gnu/packages/web.scm:2007 msgid "Download data in many formats" msgstr "" -#: gnu/packages/web.scm:1960 +#: gnu/packages/web.scm:2008 msgid "" "The purpose of this module is to provide a method for\n" "downloading data into many supportable formats. For example, downloading a\n" "table based report in a variety of formats (CSV, HTML, etc.)." msgstr "" -#: gnu/packages/web.scm:1986 +#: gnu/packages/web.scm:2034 msgid "Catalyst JSON view" msgstr "" -#: gnu/packages/web.scm:1987 +#: gnu/packages/web.scm:2035 msgid "" "Catalyst::View::JSON is a Catalyst View handler that returns\n" "stash data in JSON format." msgstr "" -#: gnu/packages/web.scm:2013 +#: gnu/packages/web.scm:2061 msgid "Template View Class" msgstr "" -#: gnu/packages/web.scm:2014 +#: gnu/packages/web.scm:2062 msgid "" "This module is a Catalyst view class for the Template\n" "Toolkit." msgstr "" -#: gnu/packages/web.scm:2043 +#: gnu/packages/web.scm:2091 msgid "Trait Loading and Resolution for Catalyst Components" msgstr "" -#: gnu/packages/web.scm:2044 +#: gnu/packages/web.scm:2092 msgid "" "Adds a \"COMPONENT\" in Catalyst::Component method to your\n" "Catalyst component base class that reads the optional \"traits\" parameter\n" @@ -19765,31 +20668,31 @@ msgid "" "MooseX::Traits::Pluggable." msgstr "" -#: gnu/packages/web.scm:2069 +#: gnu/packages/web.scm:2117 msgid "Apply roles to Catalyst classes" msgstr "" -#: gnu/packages/web.scm:2070 +#: gnu/packages/web.scm:2118 msgid "" "CatalystX::RoleApplicator applies roles to Catalyst\n" "application classes." msgstr "" -#: gnu/packages/web.scm:2097 +#: gnu/packages/web.scm:2145 msgid "Catalyst development server with Starman" msgstr "" -#: gnu/packages/web.scm:2098 +#: gnu/packages/web.scm:2146 msgid "" "This module provides a Catalyst extension to replace the\n" "development server with Starman." msgstr "" -#: gnu/packages/web.scm:2122 +#: gnu/packages/web.scm:2170 msgid "Handle Common Gateway Interface requests and responses" msgstr "" -#: gnu/packages/web.scm:2123 +#: gnu/packages/web.scm:2171 msgid "" "CGI.pm is a stable, complete and mature solution for\n" "processing and preparing HTTP requests and responses. Major features include\n" @@ -19798,72 +20701,72 @@ msgid "" "headers." msgstr "" -#: gnu/packages/web.scm:2148 +#: gnu/packages/web.scm:2196 msgid "Generate and process stateful forms" msgstr "" -#: gnu/packages/web.scm:2150 +#: gnu/packages/web.scm:2198 msgid "" "@code{CGI::FormBuilder} provides an easy way to generate and process CGI\n" "form-based applications." msgstr "" -#: gnu/packages/web.scm:2175 +#: gnu/packages/web.scm:2223 msgid "Persistent session data in CGI applications" msgstr "" -#: gnu/packages/web.scm:2177 +#: gnu/packages/web.scm:2225 msgid "" "@code{CGI::Session} provides modular session management system across\n" "HTTP requests." msgstr "" -#: gnu/packages/web.scm:2198 +#: gnu/packages/web.scm:2248 msgid "CGI interface that is CGI.pm compliant" msgstr "" -#: gnu/packages/web.scm:2199 +#: gnu/packages/web.scm:2249 msgid "" "CGI::Simple provides a relatively lightweight drop in\n" "replacement for CGI.pm. It shares an identical OO interface to CGI.pm for\n" "parameter parsing, file upload, cookie handling and header generation." msgstr "" -#: gnu/packages/web.scm:2220 +#: gnu/packages/web.scm:2270 msgid "Build structures from CGI data" msgstr "" -#: gnu/packages/web.scm:2221 +#: gnu/packages/web.scm:2271 msgid "" "This is a module for building structured data from CGI\n" "inputs, in a manner reminiscent of how PHP does." msgstr "" -#: gnu/packages/web.scm:2244 +#: gnu/packages/web.scm:2294 msgid "Date conversion routines" msgstr "" -#: gnu/packages/web.scm:2245 +#: gnu/packages/web.scm:2295 msgid "" "This module provides functions that deal with the date\n" "formats used by the HTTP protocol." msgstr "" -#: gnu/packages/web.scm:2265 +#: gnu/packages/web.scm:2315 msgid "MD5 sums for files and urls" msgstr "" -#: gnu/packages/web.scm:2266 +#: gnu/packages/web.scm:2316 msgid "" "Digest::MD5::File is a Perl extension for getting MD5 sums\n" "for files and urls." msgstr "" -#: gnu/packages/web.scm:2284 +#: gnu/packages/web.scm:2334 msgid "Perl locale encoding determination" msgstr "" -#: gnu/packages/web.scm:2286 +#: gnu/packages/web.scm:2336 msgid "" "The POSIX locale system is used to specify both the language\n" "conventions requested by the user and the preferred character set to\n" @@ -19875,110 +20778,110 @@ msgid "" "with Encode::decode(locale => $string)." msgstr "" -#: gnu/packages/web.scm:2321 +#: gnu/packages/web.scm:2371 msgid "Syndication feed auto-discovery" msgstr "" -#: gnu/packages/web.scm:2322 +#: gnu/packages/web.scm:2372 msgid "" "@code{Feed::Find} implements feed auto-discovery for finding\n" "syndication feeds, given a URI. It will discover the following feed formats:\n" "RSS 0.91, RSS 1.0, RSS 2.0, Atom." msgstr "" -#: gnu/packages/web.scm:2343 +#: gnu/packages/web.scm:2393 msgid "Perl directory listing parser" msgstr "" -#: gnu/packages/web.scm:2345 +#: gnu/packages/web.scm:2395 msgid "" "The File::Listing module exports a single function called parse_dir(),\n" "which can be used to parse directory listings." msgstr "" -#: gnu/packages/web.scm:2377 +#: gnu/packages/web.scm:2427 msgid "Stock and mutual fund quotes" msgstr "" -#: gnu/packages/web.scm:2379 +#: gnu/packages/web.scm:2429 msgid "" "Finance::Quote gets stock quotes from various internet sources, including\n" "Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange." msgstr "" -#: gnu/packages/web.scm:2401 +#: gnu/packages/web.scm:2451 msgid "Perl extension providing access to the GSSAPIv2 library" msgstr "" -#: gnu/packages/web.scm:2402 +#: gnu/packages/web.scm:2452 msgid "" "This is a Perl extension for using GSSAPI C bindings as\n" "described in RFC 2744." msgstr "" -#: gnu/packages/web.scm:2422 +#: gnu/packages/web.scm:2472 msgid "Manipulate tables of HTML::Element" msgstr "" -#: gnu/packages/web.scm:2424 +#: gnu/packages/web.scm:2474 msgid "" "HTML::Element::Extended is a Perl extension for manipulating a table\n" "composed of HTML::Element style components." msgstr "" -#: gnu/packages/web.scm:2448 +#: gnu/packages/web.scm:2498 msgid "Perl class representing an HTML form element" msgstr "" -#: gnu/packages/web.scm:2449 +#: gnu/packages/web.scm:2499 msgid "" "Objects of the HTML::Form class represents a single HTML\n" "
...
instance." msgstr "" -#: gnu/packages/web.scm:2480 +#: gnu/packages/web.scm:2530 msgid "Perl extension for scrubbing/sanitizing html" msgstr "" -#: gnu/packages/web.scm:2482 +#: gnu/packages/web.scm:2532 msgid "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML." msgstr "" -#: gnu/packages/web.scm:2503 +#: gnu/packages/web.scm:2553 msgid "Check for HTML errors in a string or file" msgstr "" -#: gnu/packages/web.scm:2504 +#: gnu/packages/web.scm:2554 msgid "" "HTML::Lint is a pure-Perl HTML parser and checker for\n" "syntactic legitmacy." msgstr "" -#: gnu/packages/web.scm:2525 +#: gnu/packages/web.scm:2575 msgid "Extract contents from HTML tables" msgstr "" -#: gnu/packages/web.scm:2527 +#: gnu/packages/web.scm:2577 msgid "" "HTML::TableExtract is a Perl module for extracting the content contained\n" "in tables within an HTML document, either as text or encoded element trees." msgstr "" -#: gnu/packages/web.scm:2552 +#: gnu/packages/web.scm:2602 msgid "Work with HTML in a DOM-like tree structure" msgstr "" -#: gnu/packages/web.scm:2553 +#: gnu/packages/web.scm:2603 msgid "" "This distribution contains a suite of modules for\n" "representing, creating, and extracting information from HTML syntax trees." msgstr "" -#: gnu/packages/web.scm:2574 +#: gnu/packages/web.scm:2624 msgid "Perl HTML parser class" msgstr "" -#: gnu/packages/web.scm:2576 +#: gnu/packages/web.scm:2626 msgid "" "Objects of the HTML::Parser class will recognize markup and separate\n" "it from plain text (alias data content) in HTML documents. As different\n" @@ -19986,21 +20889,21 @@ msgid "" "are invoked." msgstr "" -#: gnu/packages/web.scm:2596 +#: gnu/packages/web.scm:2646 msgid "Perl data tables useful in parsing HTML" msgstr "" -#: gnu/packages/web.scm:2598 +#: gnu/packages/web.scm:2648 msgid "" "The HTML::Tagset module contains several data tables useful in various\n" "kinds of HTML parsing operations." msgstr "" -#: gnu/packages/web.scm:2617 +#: gnu/packages/web.scm:2667 msgid "HTML-like templates" msgstr "" -#: gnu/packages/web.scm:2619 +#: gnu/packages/web.scm:2669 msgid "" "This module attempts to make using HTML templates simple and natural.\n" "It extends standard HTML with a few new HTML-esque tags: @code{},\n" @@ -20011,72 +20914,72 @@ msgid "" "you to separate design from the data." msgstr "" -#: gnu/packages/web.scm:2647 +#: gnu/packages/web.scm:2697 msgid "HTTP Body Parser" msgstr "" -#: gnu/packages/web.scm:2648 +#: gnu/packages/web.scm:2698 msgid "" "HTTP::Body parses chunks of HTTP POST data and supports\n" "application/octet-stream, application/json, application/x-www-form-urlencoded,\n" "and multipart/form-data." msgstr "" -#: gnu/packages/web.scm:2675 +#: gnu/packages/web.scm:2725 msgid "Minimalist HTTP user agent cookie jar" msgstr "" -#: gnu/packages/web.scm:2676 +#: gnu/packages/web.scm:2726 msgid "" "This module implements a minimalist HTTP user agent cookie\n" "jar in conformance with RFC 6265 ." msgstr "" -#: gnu/packages/web.scm:2696 +#: gnu/packages/web.scm:2746 msgid "Perl HTTP cookie jars" msgstr "" -#: gnu/packages/web.scm:2698 +#: gnu/packages/web.scm:2748 msgid "" "The HTTP::Cookies class is for objects that represent a cookie jar,\n" "that is, a database of all the HTTP cookies that a given LWP::UserAgent\n" "object knows about." msgstr "" -#: gnu/packages/web.scm:2720 +#: gnu/packages/web.scm:2770 msgid "Perl simple http server class" msgstr "" -#: gnu/packages/web.scm:2722 +#: gnu/packages/web.scm:2772 msgid "" "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen\n" "on a socket for incoming requests. The HTTP::Daemon is a subclass of\n" "IO::Socket::INET, so you can perform socket operations directly on it too." msgstr "" -#: gnu/packages/web.scm:2741 +#: gnu/packages/web.scm:2791 msgid "Perl date conversion routines" msgstr "" -#: gnu/packages/web.scm:2743 +#: gnu/packages/web.scm:2793 msgid "" "The HTTP::Date module provides functions that deal with date formats\n" "used by the HTTP protocol (and then some more)." msgstr "" -#: gnu/packages/web.scm:2769 +#: gnu/packages/web.scm:2819 msgid "Perl HTTP style message" msgstr "" -#: gnu/packages/web.scm:2771 +#: gnu/packages/web.scm:2821 msgid "An HTTP::Message object contains some headers and a content body." msgstr "" -#: gnu/packages/web.scm:2790 +#: gnu/packages/web.scm:2840 msgid "Perl http content negotiation" msgstr "" -#: gnu/packages/web.scm:2792 +#: gnu/packages/web.scm:2842 msgid "" "The HTTP::Negotiate module provides a complete implementation of the\n" "HTTP content negotiation algorithm specified in\n" @@ -20086,11 +20989,11 @@ msgid "" "fields in the request." msgstr "" -#: gnu/packages/web.scm:2817 +#: gnu/packages/web.scm:2867 msgid "Parse HTTP/1.1 requests" msgstr "" -#: gnu/packages/web.scm:2818 +#: gnu/packages/web.scm:2868 msgid "" "This is an HTTP request parser. It takes chunks of text as\n" "received and returns a 'hint' as to what is required, or returns the\n" @@ -20098,74 +21001,74 @@ msgid "" "supported." msgstr "" -#: gnu/packages/web.scm:2840 +#: gnu/packages/web.scm:2890 msgid "Fast HTTP request parser" msgstr "" -#: gnu/packages/web.scm:2841 +#: gnu/packages/web.scm:2891 msgid "" "HTTP::Parser::XS is a fast, primitive HTTP request/response\n" "parser." msgstr "" -#: gnu/packages/web.scm:2862 +#: gnu/packages/web.scm:2912 msgid "Set up a CGI environment from an HTTP::Request" msgstr "" -#: gnu/packages/web.scm:2863 +#: gnu/packages/web.scm:2913 msgid "" "This module provides a convenient way to set up a CGI\n" "environment from an HTTP::Request." msgstr "" -#: gnu/packages/web.scm:2896 +#: gnu/packages/web.scm:2946 msgid "Lightweight HTTP server" msgstr "" -#: gnu/packages/web.scm:2897 +#: gnu/packages/web.scm:2947 msgid "" "HTTP::Server::Simple is a simple standalone HTTP daemon with\n" "no non-core module dependencies. It can be used for building a standalone\n" "http-based UI to your existing tools." msgstr "" -#: gnu/packages/web.scm:2922 +#: gnu/packages/web.scm:2972 msgid "HTTP/1.1 client" msgstr "" -#: gnu/packages/web.scm:2923 +#: gnu/packages/web.scm:2973 msgid "" "This is a very simple HTTP/1.1 client, designed for doing\n" "simple requests without the overhead of a large framework like LWP::UserAgent.\n" "It supports proxies and redirection. It also correctly resumes after EINTR." msgstr "" -#: gnu/packages/web.scm:2942 +#: gnu/packages/web.scm:2992 msgid "Perl module to open an HTML file with automatic charset detection" msgstr "" -#: gnu/packages/web.scm:2944 +#: gnu/packages/web.scm:2994 msgid "" "IO::HTML provides an easy way to open a file containing HTML while\n" "automatically determining its encoding. It uses the HTML5 encoding sniffing\n" "algorithm specified in section 8.2.2.1 of the draft standard." msgstr "" -#: gnu/packages/web.scm:2964 +#: gnu/packages/web.scm:3014 msgid "Family-neutral IP socket supporting both IPv4 and IPv6" msgstr "" -#: gnu/packages/web.scm:2965 +#: gnu/packages/web.scm:3015 msgid "" "This module provides a protocol-independent way to use IPv4\n" "and IPv6 sockets, intended as a replacement for IO::Socket::INET." msgstr "" -#: gnu/packages/web.scm:2987 +#: gnu/packages/web.scm:3037 msgid "Nearly transparent SSL encapsulation for IO::Socket::INET" msgstr "" -#: gnu/packages/web.scm:2989 +#: gnu/packages/web.scm:3039 msgid "" "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the\n" "necessary functionality into the familiar IO::Socket interface and providing\n" @@ -20174,11 +21077,11 @@ msgid "" "select or poll." msgstr "" -#: gnu/packages/web.scm:3023 +#: gnu/packages/web.scm:3078 msgid "Perl modules for the WWW" msgstr "" -#: gnu/packages/web.scm:3025 +#: gnu/packages/web.scm:3080 msgid "" "The libwww-perl collection is a set of Perl modules which provides a\n" "simple and consistent application programming interface to the\n" @@ -20188,11 +21091,11 @@ msgid "" "help you implement simple HTTP servers." msgstr "" -#: gnu/packages/web.scm:3053 +#: gnu/packages/web.scm:3108 msgid "Checks whether your process has access to the web" msgstr "" -#: gnu/packages/web.scm:3054 +#: gnu/packages/web.scm:3109 msgid "" "This module attempts to answer, as accurately as it can, one\n" "of the nastiest technical questions there is: am I on the internet?\n" @@ -20202,11 +21105,11 @@ msgid "" "not have DNS. We might not have a network card at all!" msgstr "" -#: gnu/packages/web.scm:3076 +#: gnu/packages/web.scm:3131 msgid "Perl module to guess the media type for a file or a URL" msgstr "" -#: gnu/packages/web.scm:3078 +#: gnu/packages/web.scm:3133 #, scheme-format msgid "" "The LWP::MediaTypes module provides functions for handling media (also\n" @@ -20215,21 +21118,21 @@ msgid "" "exists it is used instead." msgstr "" -#: gnu/packages/web.scm:3107 +#: gnu/packages/web.scm:3162 msgid "HTTPS support for LWP::UserAgent" msgstr "" -#: gnu/packages/web.scm:3108 +#: gnu/packages/web.scm:3163 msgid "" "The LWP::Protocol::https module provides support for using\n" "https schemed URLs with LWP." msgstr "" -#: gnu/packages/web.scm:3128 +#: gnu/packages/web.scm:3183 msgid "Virtual browser that retries errors" msgstr "" -#: gnu/packages/web.scm:3129 +#: gnu/packages/web.scm:3184 msgid "" "LWP::UserAgent::Determined works just like LWP::UserAgent,\n" "except that when you use it to get a web page but run into a\n" @@ -20237,19 +21140,19 @@ msgid "" "and retry a few times." msgstr "" -#: gnu/packages/web.scm:3174 +#: gnu/packages/web.scm:3229 msgid "Perl interface to Amazon S3" msgstr "" -#: gnu/packages/web.scm:3175 +#: gnu/packages/web.scm:3230 msgid "This module provides a Perlish interface to Amazon S3." msgstr "Ce paquet fournit une interface de type Perl pour Amazon S3." -#: gnu/packages/web.scm:3195 +#: gnu/packages/web.scm:3250 msgid "Perl low-level HTTP connection (client)" msgstr "" -#: gnu/packages/web.scm:3197 +#: gnu/packages/web.scm:3252 msgid "" "The Net::HTTP class is a low-level HTTP client. An instance of the\n" "Net::HTTP class represents a connection to an HTTP server. The HTTP protocol\n" @@ -20257,11 +21160,11 @@ msgid "" "HTTP/1.1." msgstr "" -#: gnu/packages/web.scm:3217 +#: gnu/packages/web.scm:3272 msgid "Extensible Perl server engine" msgstr "" -#: gnu/packages/web.scm:3218 +#: gnu/packages/web.scm:3273 msgid "" "Net::Server is an extensible, generic Perl server engine.\n" "It attempts to be a generic server as in Net::Daemon and NetServer::Generic.\n" @@ -20275,19 +21178,19 @@ msgid "" "or to multiple server ports." msgstr "" -#: gnu/packages/web.scm:3246 +#: gnu/packages/web.scm:3301 msgid "SSL support for Net::SMTP" msgstr "" -#: gnu/packages/web.scm:3247 +#: gnu/packages/web.scm:3302 msgid "SSL support for Net::SMTP." msgstr "" -#: gnu/packages/web.scm:3281 +#: gnu/packages/web.scm:3336 msgid "Perl Superglue for Web frameworks and servers (PSGI toolkit)" msgstr "" -#: gnu/packages/web.scm:3282 +#: gnu/packages/web.scm:3337 msgid "" "Plack is a set of tools for using the PSGI stack. It\n" "contains middleware components, a reference server, and utilities for Web\n" @@ -20295,21 +21198,21 @@ msgid "" "WSGI." msgstr "" -#: gnu/packages/web.scm:3308 +#: gnu/packages/web.scm:3363 msgid "Plack::Middleware which sets body for redirect response" msgstr "" -#: gnu/packages/web.scm:3309 +#: gnu/packages/web.scm:3364 msgid "" "This module sets the body in redirect response, if it's not\n" "already set." msgstr "" -#: gnu/packages/web.scm:3332 +#: gnu/packages/web.scm:3387 msgid "Override REST methods to Plack apps via POST" msgstr "" -#: gnu/packages/web.scm:3333 +#: gnu/packages/web.scm:3388 msgid "" "This middleware allows for POST requests that pretend to be\n" "something else: by adding either a header named X-HTTP-Method-Override to the\n" @@ -20317,72 +21220,72 @@ msgid "" "can say what method it actually meant." msgstr "" -#: gnu/packages/web.scm:3357 +#: gnu/packages/web.scm:3412 msgid "Plack::Middleware which removes body for HTTP response" msgstr "" -#: gnu/packages/web.scm:3358 +#: gnu/packages/web.scm:3413 msgid "" "This module removes the body in an HTTP response if it's not\n" "required." msgstr "" -#: gnu/packages/web.scm:3381 +#: gnu/packages/web.scm:3436 msgid "Supports app to run as a reverse proxy backend" msgstr "" -#: gnu/packages/web.scm:3382 +#: gnu/packages/web.scm:3437 msgid "" "Plack::Middleware::ReverseProxy resets some HTTP headers,\n" "which are changed by reverse-proxy. You can specify the reverse proxy address\n" "and stop fake requests using 'enable_if' directive in your app.psgi." msgstr "" -#: gnu/packages/web.scm:3403 +#: gnu/packages/web.scm:3458 msgid "Run HTTP tests on external live servers" msgstr "" -#: gnu/packages/web.scm:3404 +#: gnu/packages/web.scm:3459 msgid "" "This module allows your to run your Plack::Test tests\n" "against an external server instead of just against a local application through\n" "either mocked HTTP or a locally spawned server." msgstr "" -#: gnu/packages/web.scm:3426 +#: gnu/packages/web.scm:3481 msgid "Testing TCP programs" msgstr "" -#: gnu/packages/web.scm:3427 +#: gnu/packages/web.scm:3482 msgid "Test::TCP is test utilities for TCP/IP programs." msgstr "" -#: gnu/packages/web.scm:3452 +#: gnu/packages/web.scm:3507 msgid "Testing-specific WWW::Mechanize subclass" msgstr "" -#: gnu/packages/web.scm:3453 +#: gnu/packages/web.scm:3508 msgid "" "Test::WWW::Mechanize is a subclass of the Perl module\n" "WWW::Mechanize that incorporates features for web application testing." msgstr "" -#: gnu/packages/web.scm:3487 +#: gnu/packages/web.scm:3542 msgid "Test::WWW::Mechanize for Catalyst" msgstr "" -#: gnu/packages/web.scm:3488 +#: gnu/packages/web.scm:3543 msgid "" "The Test::WWW::Mechanize::Catalyst module meshes the\n" "Test::WWW:Mechanize module and the Catalyst web application framework to allow\n" "testing of Catalyst applications without needing to start up a web server." msgstr "" -#: gnu/packages/web.scm:3512 +#: gnu/packages/web.scm:3567 msgid "Test PSGI programs using WWW::Mechanize" msgstr "" -#: gnu/packages/web.scm:3513 +#: gnu/packages/web.scm:3568 msgid "" "PSGI is a specification to decouple web server environments\n" "from web application framework code. Test::WWW::Mechanize is a subclass of\n" @@ -20391,33 +21294,33 @@ msgid "" "applications." msgstr "" -#: gnu/packages/web.scm:3536 +#: gnu/packages/web.scm:3591 msgid "Perl Uniform Resource Identifiers (absolute and relative)" msgstr "" -#: gnu/packages/web.scm:3538 +#: gnu/packages/web.scm:3593 msgid "" "The URI module implements the URI class. Objects of this class\n" "represent \"Uniform Resource Identifier references\" as specified in RFC 2396\n" "and updated by RFC 2732." msgstr "" -#: gnu/packages/web.scm:3562 +#: gnu/packages/web.scm:3617 msgid "Smart URI fetching/caching" msgstr "" -#: gnu/packages/web.scm:3563 +#: gnu/packages/web.scm:3618 msgid "" "@code{URI::Fetch} is a smart client for fetching HTTP pages,\n" "notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-\n" "and time-saving way." msgstr "" -#: gnu/packages/web.scm:3586 +#: gnu/packages/web.scm:3641 msgid "Find URIs in arbitrary text" msgstr "" -#: gnu/packages/web.scm:3587 +#: gnu/packages/web.scm:3642 msgid "" "This module finds URIs and URLs (according to what URI.pm\n" "considers a URI) in plain text. It only finds URIs which include a\n" @@ -20425,61 +21328,61 @@ msgid "" "URI::Find::Schemeless. For a command-line interface, urifind is provided." msgstr "" -#: gnu/packages/web.scm:3609 +#: gnu/packages/web.scm:3664 msgid "WebSocket support for URI package" msgstr "" -#: gnu/packages/web.scm:3610 +#: gnu/packages/web.scm:3665 msgid "" "With this module, the URI package provides the same set of\n" "methods for WebSocket URIs as it does for HTTP URIs." msgstr "" -#: gnu/packages/web.scm:3634 +#: gnu/packages/web.scm:3689 msgid "Object for handling URI templates" msgstr "" -#: gnu/packages/web.scm:3635 +#: gnu/packages/web.scm:3690 msgid "" "This perl module provides a wrapper around URI templates as described in\n" "RFC 6570." msgstr "" -#: gnu/packages/web.scm:3667 +#: gnu/packages/web.scm:3722 msgid "Perl extension interface for libcurl" msgstr "Interface d'extension Perl pour libcurl" -#: gnu/packages/web.scm:3669 +#: gnu/packages/web.scm:3724 msgid "" "This is a Perl extension interface for the libcurl file downloading\n" "library." msgstr "" -#: gnu/packages/web.scm:3703 +#: gnu/packages/web.scm:3758 msgid "Web browsing in a Perl object" msgstr "" -#: gnu/packages/web.scm:3704 +#: gnu/packages/web.scm:3759 msgid "" "WWW::Mechanize is a Perl module for stateful programmatic\n" "web browsing, used for automating interaction with websites." msgstr "" -#: gnu/packages/web.scm:3740 +#: gnu/packages/web.scm:3795 msgid "Search A9 OpenSearch compatible engines" msgstr "" -#: gnu/packages/web.scm:3742 +#: gnu/packages/web.scm:3797 msgid "" "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,\n" "http://opensearch.a9.com} compatible search engines." msgstr "" -#: gnu/packages/web.scm:3762 +#: gnu/packages/web.scm:3817 msgid "Perl database of robots.txt-derived permissions" msgstr "" -#: gnu/packages/web.scm:3764 +#: gnu/packages/web.scm:3819 msgid "" "The WWW::RobotRules module parses /robots.txt files as specified in\n" "\"A Standard for Robot Exclusion\", at\n" @@ -20488,21 +21391,21 @@ msgid "" "their web site." msgstr "" -#: gnu/packages/web.scm:3787 +#: gnu/packages/web.scm:3842 msgid "Parse feeds in Python" msgstr "" -#: gnu/packages/web.scm:3789 +#: gnu/packages/web.scm:3844 msgid "" "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,\n" "CDF, Atom 0.3, and Atom 1.0 feeds." msgstr "" -#: gnu/packages/web.scm:3814 +#: gnu/packages/web.scm:3871 msgid "HTTP and WebSocket server library for R" msgstr "" -#: gnu/packages/web.scm:3816 +#: gnu/packages/web.scm:3873 msgid "" "The httpuv package provides low-level socket and protocol support for\n" "handling HTTP and WebSocket requests directly from within R. It is primarily\n" @@ -20510,11 +21413,11 @@ msgid "" "particularly easy to create complete web applications using httpuv alone." msgstr "" -#: gnu/packages/web.scm:3837 +#: gnu/packages/web.scm:3894 msgid "Robust, high performance JSON parser and generator for R" msgstr "" -#: gnu/packages/web.scm:3839 +#: gnu/packages/web.scm:3896 msgid "" "The jsonlite package provides a fast JSON parser and generator optimized\n" "for statistical data and the web. It offers flexible, robust, high\n" @@ -20526,41 +21429,41 @@ msgid "" "in systems and applications." msgstr "" -#: gnu/packages/web.scm:3866 +#: gnu/packages/web.scm:3923 msgid "Simple HTTP server to serve static files or dynamic documents" msgstr "" -#: gnu/packages/web.scm:3868 +#: gnu/packages/web.scm:3925 msgid "" "Servr provides an HTTP server in R to serve static files, or dynamic\n" "documents that can be converted to HTML files (e.g., R Markdown) under a given\n" "directory." msgstr "" -#: gnu/packages/web.scm:3902 +#: gnu/packages/web.scm:3959 msgid "R tools for HTML" msgstr "" -#: gnu/packages/web.scm:3904 +#: gnu/packages/web.scm:3961 msgid "This package provides tools for HTML generation and output in R." msgstr "Ce paquet fournit des outils pour générer du HTML en R." -#: gnu/packages/web.scm:3923 +#: gnu/packages/web.scm:3980 msgid "HTML Widgets for R" msgstr "" -#: gnu/packages/web.scm:3925 +#: gnu/packages/web.scm:3982 msgid "" "HTML widgets is a framework for creating HTML widgets that render in\n" "various contexts including the R console, R Markdown documents, and Shiny web\n" "applications." msgstr "" -#: gnu/packages/web.scm:3952 +#: gnu/packages/web.scm:4009 msgid "Advanced tables for Markdown/HTML" msgstr "" -#: gnu/packages/web.scm:3954 +#: gnu/packages/web.scm:4011 msgid "" "This package provides functions to build tables with advanced layout\n" "elements such as row spanners, column spanners, table spanners, zebra\n" @@ -20571,11 +21474,11 @@ msgid "" "LaTeX." msgstr "" -#: gnu/packages/web.scm:3991 +#: gnu/packages/web.scm:4048 msgid "HTTP client for R" msgstr "" -#: gnu/packages/web.scm:3993 +#: gnu/packages/web.scm:4050 msgid "" "The @code{curl()} and @code{curl_download()} functions provide highly\n" "configurable drop-in replacements for base @code{url()} and\n" @@ -20586,52 +21489,52 @@ msgid "" "callback or connection interfaces." msgstr "" -#: gnu/packages/web.scm:4015 +#: gnu/packages/web.scm:4072 msgid "Output R objects in HTML format" msgstr "" -#: gnu/packages/web.scm:4017 +#: gnu/packages/web.scm:4074 msgid "" "This package provides easy-to-use and versatile functions to output R\n" "objects in HTML format." msgstr "" -#: gnu/packages/web.scm:4034 +#: gnu/packages/web.scm:4091 msgid "JSON library for R" msgstr "" -#: gnu/packages/web.scm:4036 +#: gnu/packages/web.scm:4093 msgid "" "This package provides functions to convert R objects into JSON objects\n" "and vice-versa." msgstr "" -#: gnu/packages/web.scm:4061 +#: gnu/packages/web.scm:4118 msgid "HTML5 parsing library" msgstr "Bibliothèque d'analyse d'HTML5" -#: gnu/packages/web.scm:4063 +#: gnu/packages/web.scm:4120 msgid "" "Gumbo is an implementation of the HTML5 parsing algorithm implemented as\n" "a pure C99 library." msgstr "" -#: gnu/packages/web.scm:4134 +#: gnu/packages/web.scm:4191 msgid "Application container server" msgstr "" -#: gnu/packages/web.scm:4136 +#: gnu/packages/web.scm:4193 msgid "" "uWSGI presents a complete stack for networked/clustered web applications,\n" "implementing message/object passing, caching, RPC and process management.\n" "It uses the uwsgi protocol for all the networking/interprocess communications." msgstr "" -#: gnu/packages/web.scm:4166 +#: gnu/packages/web.scm:4219 msgid "Command-line JSON processor" msgstr "" -#: gnu/packages/web.scm:4167 +#: gnu/packages/web.scm:4220 msgid "" "jq is like sed for JSON data – you can use it to slice and\n" "filter and map and transform structured data with the same ease that sed, awk,\n" @@ -20641,106 +21544,106 @@ msgid "" "you'd expect." msgstr "" -#: gnu/packages/web.scm:4206 +#: gnu/packages/web.scm:4259 msgid "Library for mocking web service APIs which use HTTP or HTTPS" msgstr "" -#: gnu/packages/web.scm:4208 +#: gnu/packages/web.scm:4261 msgid "" "Uhttpmock is a project for mocking web service APIs which use HTTP or\n" "HTTPS. It provides a library, libuhttpmock, which implements recording and\n" "playback of HTTP request/response traces." msgstr "" -#: gnu/packages/web.scm:4243 +#: gnu/packages/web.scm:4296 msgid "Single file web server" msgstr "" -#: gnu/packages/web.scm:4244 +#: gnu/packages/web.scm:4297 msgid "" "Woof (Web Offer One File) is a small simple web server that\n" "can easily be invoked on a single file. Your partner can access the file with\n" "tools they trust (e.g. wget)." msgstr "" -#: gnu/packages/web.scm:4270 +#: gnu/packages/web.scm:4323 msgid "Build system for the Netsurf project" msgstr "" -#: gnu/packages/web.scm:4272 +#: gnu/packages/web.scm:4325 msgid "" "This package provides the shared build system for Netsurf project\n" "libraries." msgstr "" -#: gnu/packages/web.scm:4307 +#: gnu/packages/web.scm:4360 msgid "Parser building library" msgstr "Bibliothèque de construction d'analyseur" -#: gnu/packages/web.scm:4309 +#: gnu/packages/web.scm:4362 msgid "" "LibParserUtils is a library for building efficient parsers, written in\n" "C. It is developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4337 +#: gnu/packages/web.scm:4390 msgid "HTML5 compliant parsing library" msgstr "" -#: gnu/packages/web.scm:4339 +#: gnu/packages/web.scm:4392 msgid "" "Hubbub is an HTML5 compliant parsing library, written in C, which can\n" "parse both valid and invalid web content. It is developed as part of the\n" "NetSurf project." msgstr "" -#: gnu/packages/web.scm:4415 +#: gnu/packages/web.scm:4473 msgid "Wiki compiler, capable of generating HTML" msgstr "" -#: gnu/packages/web.scm:4417 +#: gnu/packages/web.scm:4475 msgid "" "Ikiwiki is a wiki compiler, capable of generating a static set of web\n" "pages, but also incorporating dynamic features like a web based editor and\n" "commenting." msgstr "" -#: gnu/packages/web.scm:4441 +#: gnu/packages/web.scm:4499 msgid "String internment library" msgstr "" -#: gnu/packages/web.scm:4443 +#: gnu/packages/web.scm:4501 msgid "" "LibWapcaplet provides a reference counted string internment system\n" "designed to store small strings and allow rapid comparison of them. It is\n" "developed as part of the Netsurf project." msgstr "" -#: gnu/packages/web.scm:4470 +#: gnu/packages/web.scm:4528 msgid "CSS parser and selection library" msgstr "Bibliothèque d'analyse et de sélection de CSS" -#: gnu/packages/web.scm:4472 +#: gnu/packages/web.scm:4530 msgid "" "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,\n" "written in C. It is developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4506 +#: gnu/packages/web.scm:4564 msgid "Implementation of the W3C DOM" msgstr "" -#: gnu/packages/web.scm:4508 +#: gnu/packages/web.scm:4566 msgid "" "LibDOM is an implementation of the W3C DOM, written in C. It is\n" "developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4535 +#: gnu/packages/web.scm:4593 msgid "Library for parsing SVG files" msgstr "Bibliothèque pour analyser des fichiers SVG" -#: gnu/packages/web.scm:4537 +#: gnu/packages/web.scm:4595 msgid "" "Libsvgtiny takes some SVG as input and returns a list of paths and texts\n" "which can be rendered easily, as defined in\n" @@ -20748,94 +21651,94 @@ msgid "" "project." msgstr "" -#: gnu/packages/web.scm:4560 +#: gnu/packages/web.scm:4618 msgid "Decoding library for BMP and ICO files" msgstr "" -#: gnu/packages/web.scm:4562 +#: gnu/packages/web.scm:4620 msgid "" "Libnsbmp is a decoding library for BMP and ICO image file formats,\n" "written in C. It is developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4583 +#: gnu/packages/web.scm:4641 msgid "Decoding library for GIF files" msgstr "" -#: gnu/packages/web.scm:4585 +#: gnu/packages/web.scm:4643 msgid "" "Libnsgif is a decoding library for the GIF image file format, written in\n" "C. It is developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4606 +#: gnu/packages/web.scm:4664 msgid "Utility library for NetSurf" msgstr "" -#: gnu/packages/web.scm:4608 +#: gnu/packages/web.scm:4666 msgid "" "Libnsutils provides a small number of useful utility routines. It is\n" "developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4629 +#: gnu/packages/web.scm:4687 msgid "Library to generate a static Public Suffix List" msgstr "" -#: gnu/packages/web.scm:4631 +#: gnu/packages/web.scm:4689 msgid "" "Libnspsl is a library to generate a static code representation of the\n" "Public Suffix List. It is developed as part of the NetSurf project." msgstr "" -#: gnu/packages/web.scm:4657 +#: gnu/packages/web.scm:4715 msgid "Generate JavaScript to DOM bindings" msgstr "" -#: gnu/packages/web.scm:4659 +#: gnu/packages/web.scm:4717 msgid "" "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from\n" "w3c webidl files and a binding configuration file." msgstr "" -#: gnu/packages/web.scm:4770 +#: gnu/packages/web.scm:4829 msgid "Web browser" msgstr "" -#: gnu/packages/web.scm:4772 +#: gnu/packages/web.scm:4831 msgid "" "NetSurf is a lightweight web browser that has its own layout and\n" "rendering engine entirely written from scratch. It is small and capable of\n" "handling many of the web standards in use today." msgstr "" -#: gnu/packages/web.scm:4812 +#: gnu/packages/web.scm:4871 msgid "Unix command line interface to the www" msgstr "" -#: gnu/packages/web.scm:4813 +#: gnu/packages/web.scm:4872 msgid "" "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)\n" "provides a unix command line interface to a variety of popular www search engines\n" "and similar services." msgstr "" -#: gnu/packages/web.scm:4844 +#: gnu/packages/web.scm:4903 msgid "Simple static web server" msgstr "" -#: gnu/packages/web.scm:4845 +#: gnu/packages/web.scm:4904 msgid "" "darkhttpd is a simple static web server. It is\n" "standalone and does not need inetd or ucspi-tcp. It does not need any\n" "config files---you only have to specify the www root." msgstr "" -#: gnu/packages/web.scm:4876 +#: gnu/packages/web.scm:4935 msgid "Analyze Web server logs in real time" msgstr "" -#: gnu/packages/web.scm:4878 +#: gnu/packages/web.scm:4937 msgid "" "GoAccess is a real-time web log analyzer and interactive viewer that\n" "runs in a terminal or through your browser. It provides fast and valuable\n" @@ -20843,11 +21746,11 @@ msgid "" "on the fly." msgstr "" -#: gnu/packages/web.scm:4914 +#: gnu/packages/web.scm:4973 msgid "Tunnel data connections through HTTP requests" msgstr "" -#: gnu/packages/web.scm:4915 +#: gnu/packages/web.scm:4974 msgid "" "httptunnel creates a bidirectional virtual data connection\n" "tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be\n" @@ -20856,11 +21759,11 @@ msgid "" "tools like SSH (Secure Shell) to reach the outside world." msgstr "" -#: gnu/packages/web.scm:4940 +#: gnu/packages/web.scm:5021 msgid "TLS proxy for clients or servers" msgstr "" -#: gnu/packages/web.scm:4941 +#: gnu/packages/web.scm:5022 msgid "" "Stunnel is a proxy designed to add TLS encryption\n" "functionality to existing clients and servers without any changes in the\n" @@ -20869,11 +21772,34 @@ msgid "" "deployments." msgstr "" -#: gnu/packages/web.scm:4968 +#: gnu/packages/web.scm:5088 +msgid "Web application accelerator" +msgstr "" + +#: gnu/packages/web.scm:5090 +msgid "" +"Varnish is a high-performance HTTP accelerator. It acts as a caching\n" +"reverse proxy and load balancer. You install it in front of any server that\n" +"speaks HTTP and configure it to cache the contents through an extensive\n" +"configuration language." +msgstr "" + +#: gnu/packages/web.scm:5118 +msgid "Collection of Varnish modules" +msgstr "Collection de modules Varnish" + +#: gnu/packages/web.scm:5120 +msgid "" +"This package provides a collection of modules (@dfn{vmods}) for the Varnish\n" +"cache server, extending the @dfn{Varnish Configuration Language} (VCL) with\n" +"additional capabilities." +msgstr "" + +#: gnu/packages/web.scm:5145 msgid "Internet services daemon" msgstr "" -#: gnu/packages/web.scm:4969 +#: gnu/packages/web.scm:5146 msgid "" "@code{xinetd}, a more secure replacement for @code{inetd},\n" "listens for incoming requests over a network and launches the appropriate\n" @@ -20882,11 +21808,11 @@ msgid "" "used to start services with both privileged and non-privileged port numbers." msgstr "" -#: gnu/packages/web.scm:5013 +#: gnu/packages/web.scm:5190 msgid "HTML Tidy with HTML5 support" msgstr "" -#: gnu/packages/web.scm:5015 +#: gnu/packages/web.scm:5192 msgid "" "Tidy is a console application which corrects and cleans up\n" "HTML and XML documents by fixing markup errors and upgrading\n" @@ -20897,22 +21823,22 @@ msgid "" "functions of Tidy." msgstr "" -#: gnu/packages/web.scm:5072 +#: gnu/packages/web.scm:5256 msgid "Webserver with focus on security" msgstr "" -#: gnu/packages/web.scm:5074 +#: gnu/packages/web.scm:5258 msgid "" "Hiawatha has been written with security in mind.\n" "Features include the ability to stop SQL injections, XSS and CSRF attacks and\n" "exploit attempts." msgstr "" -#: gnu/packages/web.scm:5098 +#: gnu/packages/web.scm:5282 msgid "HTTP request and response service" msgstr "" -#: gnu/packages/web.scm:5099 +#: gnu/packages/web.scm:5283 msgid "" "Testing an HTTP Library can become difficult sometimes.\n" "@code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the\n" @@ -20920,22 +21846,22 @@ msgid "" "JSON-encoded." msgstr "" -#: gnu/packages/web.scm:5127 +#: gnu/packages/web.scm:5311 msgid "Test your HTTP library against a local copy of httpbin" msgstr "" -#: gnu/packages/web.scm:5129 +#: gnu/packages/web.scm:5313 msgid "" "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected\n" "into your tests. It automatically starts up a HTTP server in a separate thread running\n" "@code{httpbin} and provides your test with the URL in the fixture." msgstr "" -#: gnu/packages/web.scm:5160 +#: gnu/packages/web.scm:5344 msgid "HTTP request/response parser for C" msgstr "" -#: gnu/packages/web.scm:5161 +#: gnu/packages/web.scm:5345 msgid "" "This is a parser for HTTP messages written in C. It parses\n" "both requests and responses. The parser is designed to be used in\n" @@ -20945,53 +21871,53 @@ msgid "" "message stream (in a web server that is per connection)." msgstr "" -#: gnu/packages/web.scm:5213 +#: gnu/packages/web.scm:5397 msgid "HTTP client mock for Python" msgstr "" -#: gnu/packages/web.scm:5214 +#: gnu/packages/web.scm:5398 msgid "" "@code{httpretty} is a helper for faking web requests,\n" "inspired by Ruby's @code{fakeweb}." msgstr "" -#: gnu/packages/web.scm:5232 +#: gnu/packages/web.scm:5416 msgid "Output JSON from a shell" msgstr "" -#: gnu/packages/web.scm:5233 +#: gnu/packages/web.scm:5417 msgid "" "jo is a command-line utility to create JSON objects or\n" "arrays. It creates a JSON string on stdout from words provided as\n" "command-line arguments or read from stdin." msgstr "" -#: gnu/packages/web.scm:5281 +#: gnu/packages/web.scm:5465 msgid "Command-line interface to archive.org" msgstr "Interface en ligne de commande pour archive.org" -#: gnu/packages/web.scm:5282 +#: gnu/packages/web.scm:5466 msgid "" "@code{ia} is a command-line tool for using\n" "@url{archive.org} from the command-line. It also emplements the\n" "internetarchive python module for programatic access to archive.org." msgstr "" -#: gnu/packages/web.scm:5338 +#: gnu/packages/web.scm:5522 msgid "Search code snippets on @url{https://commandlinefu.com}" msgstr "" -#: gnu/packages/web.scm:5339 +#: gnu/packages/web.scm:5523 msgid "" "@code{clf} is a command line tool for searching code\n" "snippets on @url{https://commandlinefu.com}." msgstr "" -#: gnu/packages/web.scm:5443 +#: gnu/packages/web.scm:5627 msgid "Easy interactive web applications with R" msgstr "" -#: gnu/packages/web.scm:5445 +#: gnu/packages/web.scm:5629 msgid "" "Makes it incredibly easy to build interactive web applications\n" "with R. Automatic \"reactive\" binding between inputs and outputs and\n" @@ -20999,32 +21925,45 @@ msgid "" "responsive, and powerful applications with minimal effort." msgstr "" -#: gnu/packages/web.scm:5484 +#: gnu/packages/web.scm:5669 msgid "Create dashboards with shiny" msgstr "" -#: gnu/packages/web.scm:5485 +#: gnu/packages/web.scm:5670 msgid "" "This package provides an extension to the Shiny web\n" "application framework for R, making it easy to create attractive dashboards." msgstr "" -#: gnu/packages/web.scm:5512 +#: gnu/packages/web.scm:5697 +msgid "Server-side file system viewer for Shiny" +msgstr "" + +#: gnu/packages/web.scm:5699 +msgid "" +"This package provides functionality for client-side navigation of the\n" +"server side file system in shiny apps. In case the app is running locally\n" +"this gives the user direct access to the file system without the need to\n" +"\"download\" files to a temporary location. Both file and folder selection as\n" +"well as file saving is available." +msgstr "" + +#: gnu/packages/web.scm:5726 msgid "Inter-widget interactivity for HTML widgets" msgstr "" -#: gnu/packages/web.scm:5514 +#: gnu/packages/web.scm:5728 msgid "" "This package provides building blocks for allowing HTML widgets to\n" "communicate with each other, with Shiny or without (i.e. static @code{.html}\n" "files). It currently supports linked brushing and filtering." msgstr "" -#: gnu/packages/web.scm:5534 +#: gnu/packages/web.scm:5748 msgid "Web server interface for R" msgstr "Serveur web d'interface pour R" -#: gnu/packages/web.scm:5536 +#: gnu/packages/web.scm:5750 msgid "" "This package contains the Rook specification and convenience software\n" "for building and running Rook applications. A Rook application is an R\n" @@ -21033,22 +21972,22 @@ msgid "" "named elements: the @code{status}, the @code{headers}, and the @code{body}." msgstr "" -#: gnu/packages/web.scm:5575 +#: gnu/packages/web.scm:5789 msgid "Generate Atom feeds for social networking websites" msgstr "" -#: gnu/packages/web.scm:5576 +#: gnu/packages/web.scm:5790 msgid "" "rss-bridge generates Atom feeds for social networking\n" "websites lacking feeds. Supported websites include Facebook, Twitter,\n" "Instagram and YouTube." msgstr "" -#: gnu/packages/web.scm:5603 +#: gnu/packages/web.scm:5817 msgid "Check websites for broken links" msgstr "" -#: gnu/packages/web.scm:5604 +#: gnu/packages/web.scm:5818 msgid "" "LinkChecker is a website validator. It checks for broken\n" "links in websites. It is recursive and multithreaded providing output in\n" @@ -21057,99 +21996,99 @@ msgid "" "file links." msgstr "" -#: gnu/packages/web.scm:5640 +#: gnu/packages/web.scm:5854 msgid "Command-line WebDAV client" msgstr "" -#: gnu/packages/web.scm:5642 +#: gnu/packages/web.scm:5856 msgid "" "Cadaver is a command-line WebDAV client for Unix. It supports\n" "file upload, download, on-screen display, namespace operations (move/copy),\n" "collection creation and deletion, and locking operations." msgstr "" -#: gnu/packages/web.scm:5660 +#: gnu/packages/web.scm:5874 msgid "Universal Binary JSON encoder/decoder" msgstr "" -#: gnu/packages/web.scm:5662 +#: gnu/packages/web.scm:5876 msgid "" "Py-ubjson is a Python module providing an Universal Binary JSON\n" "encoder/decoder based on the draft-12 specification for UBJSON." msgstr "" -#: gnu/packages/web.scm:5710 +#: gnu/packages/web.scm:5938 msgid "" "Java Servlet, JavaServer Pages, Java Expression Language and Java\n" "WebSocket" msgstr "" -#: gnu/packages/web.scm:5712 +#: gnu/packages/web.scm:5940 msgid "" "Apache Tomcat is a free implementation of the Java\n" "Servlet, JavaServer Pages, Java Expression Language and Java WebSocket\n" "technologies." msgstr "" -#: gnu/packages/web.scm:5762 +#: gnu/packages/web.scm:5990 msgid "Helper classes for jetty tests" msgstr "" -#: gnu/packages/web.scm:5763 +#: gnu/packages/web.scm:5991 msgid "" "This packages contains helper classes for testing the Jetty\n" "Web Server." msgstr "" -#: gnu/packages/web.scm:5825 +#: gnu/packages/web.scm:6053 msgid "Utility classes for Jetty" msgstr "" -#: gnu/packages/web.scm:5826 +#: gnu/packages/web.scm:6054 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" "or embedded instantiation. This package provides utility classes." msgstr "" -#: gnu/packages/web.scm:5897 +#: gnu/packages/web.scm:6125 msgid "Jetty :: IO Utility" msgstr "" -#: gnu/packages/web.scm:5898 +#: gnu/packages/web.scm:6126 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" "or embedded instantiation. This package provides IO-related utility classes." msgstr "" -#: gnu/packages/web.scm:5941 +#: gnu/packages/web.scm:6169 msgid "Jetty :: Http Utility" msgstr "" -#: gnu/packages/web.scm:5942 +#: gnu/packages/web.scm:6170 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" "or embedded instantiation. This package provides HTTP-related utility classes." msgstr "" -#: gnu/packages/web.scm:5975 +#: gnu/packages/web.scm:6203 msgid "Jetty :: JMX Management" msgstr "" -#: gnu/packages/web.scm:5976 +#: gnu/packages/web.scm:6204 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" "or embedded instantiation. This package provides the JMX management." msgstr "" -#: gnu/packages/web.scm:6062 +#: gnu/packages/web.scm:6290 msgid "Core jetty server artifact" msgstr "" -#: gnu/packages/web.scm:6063 +#: gnu/packages/web.scm:6291 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" @@ -21157,11 +22096,11 @@ msgid "" "artifact." msgstr "" -#: gnu/packages/web.scm:6106 +#: gnu/packages/web.scm:6335 msgid "Jetty security infrastructure" msgstr "" -#: gnu/packages/web.scm:6107 +#: gnu/packages/web.scm:6336 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" @@ -21169,11 +22108,11 @@ msgid "" "infrastructure" msgstr "" -#: gnu/packages/web.scm:6155 +#: gnu/packages/web.scm:6379 msgid "Jetty Servlet Container" msgstr "" -#: gnu/packages/web.scm:6156 +#: gnu/packages/web.scm:6380 msgid "" "The Jetty Web Server provides an HTTP server and Servlet\n" "container capable of serving static and dynamic content either from a standalone\n" @@ -21181,22 +22120,22 @@ msgid "" "container." msgstr "" -#: gnu/packages/web.scm:6320 +#: gnu/packages/web.scm:6544 msgid "HTML parser" msgstr "Analyse d'HTML" -#: gnu/packages/web.scm:6321 +#: gnu/packages/web.scm:6545 msgid "" "Jsoup is a Java library for working with real-world HTML. It\n" "provides a very convenient API for extracting and manipulating data, using the\n" "best of DOM, CSS, and jQuery-like methods." msgstr "" -#: gnu/packages/web.scm:6342 +#: gnu/packages/web.scm:6566 msgid "Validate HTML" msgstr "" -#: gnu/packages/web.scm:6343 +#: gnu/packages/web.scm:6567 msgid "" "Tidyp is a program that can validate your HTML, as well as\n" "modify it to be more clean and standard. tidyp does not validate HTML 5.\n" @@ -21206,22 +22145,22 @@ msgid "" "based on this library, allowing Perl programmers to easily validate HTML." msgstr "" -#: gnu/packages/web.scm:6384 +#: gnu/packages/web.scm:6608 msgid "(X)HTML validation in a Perl object" msgstr "" -#: gnu/packages/web.scm:6385 +#: gnu/packages/web.scm:6609 msgid "" "@code{HTML::Tidy} is an HTML checker in a handy dandy\n" "object. It's meant as a replacement for @code{HTML::Lint}, which is written\n" "in Perl but is not nearly as capable as @code{HTML::Tidy}." msgstr "" -#: gnu/packages/web.scm:6411 +#: gnu/packages/web.scm:6635 msgid "Small Gopher server" msgstr "" -#: gnu/packages/web.scm:6413 +#: gnu/packages/web.scm:6637 msgid "" "Geomyidae is a server for distributed hypertext protocol Gopher. Its\n" "features include:\n" @@ -21235,22 +22174,22 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/web.scm:6461 +#: gnu/packages/web.scm:6685 msgid "Random avatar generator" msgstr "" -#: gnu/packages/web.scm:6462 +#: gnu/packages/web.scm:6686 msgid "" "Cat avatar generator is a generator of cat pictures optimised\n" "to generate random avatars, or defined avatar from a \"seed\". This is a\n" "derivation by David Revoy from the original MonsterID by Andreas Gohr." msgstr "" -#: gnu/packages/web.scm:6524 +#: gnu/packages/web.scm:6748 msgid "HTTP/2 protocol client, proxy, server, and library" msgstr "" -#: gnu/packages/web.scm:6526 +#: gnu/packages/web.scm:6750 msgid "" "nghttp2 implements the Hypertext Transfer Protocol, version\n" "2 (@dfn{HTTP/2}).\n" @@ -21276,17 +22215,27 @@ msgid "" "@end itemize\n" msgstr "" -#: gnu/packages/web.scm:6622 +#: gnu/packages/web.scm:6850 msgid "Web interface for cluster deployments of Guix" msgstr "" -#: gnu/packages/web.scm:6623 +#: gnu/packages/web.scm:6851 msgid "" "Hpcguix-web provides a web interface to the list of packages\n" "provided by Guix. The list of packages is searchable and provides\n" "instructions on how to use Guix in a shared HPC environment." msgstr "" +#: gnu/packages/web.scm:6873 +msgid "Shiny UI widgets for small screens" +msgstr "" + +#: gnu/packages/web.scm:6875 +msgid "" +"This package provides UI widget and layout functions for writing Shiny apps that\n" +"work well on small screens." +msgstr "" + #: gnu/packages/wordnet.scm:92 msgid "Lexical database for the English language" msgstr "Base de données lexicale pour la langue anglaise" @@ -21311,11 +22260,11 @@ msgstr "" "La structure de WordNet en fait un outil utile pour la linguistique informatique et\n" "le traitement de la langue naturelle." -#: gnu/packages/xiph.scm:69 +#: gnu/packages/xiph.scm:70 msgid "Library for manipulating the ogg multimedia format" msgstr "" -#: gnu/packages/xiph.scm:71 +#: gnu/packages/xiph.scm:72 msgid "" "The libogg library allows to manipulate the ogg multimedia container\n" "format, which encapsulates raw compressed data and allows the interleaving of\n" @@ -21324,11 +22273,11 @@ msgid "" "periodic timestamps for seeking." msgstr "" -#: gnu/packages/xiph.scm:95 +#: gnu/packages/xiph.scm:96 msgid "Library implementing the vorbis audio format" msgstr "" -#: gnu/packages/xiph.scm:97 +#: gnu/packages/xiph.scm:98 msgid "" "The libvorbis library implements the ogg vorbis audio format,\n" "a fully open, non-proprietary, patent-and-royalty-free, general-purpose\n" @@ -21337,22 +22286,22 @@ msgid "" "128 kbps/channel." msgstr "" -#: gnu/packages/xiph.scm:122 +#: gnu/packages/xiph.scm:123 msgid "Library implementing the Theora video format" msgstr "" -#: gnu/packages/xiph.scm:124 +#: gnu/packages/xiph.scm:125 msgid "" "The libtheora library implements the ogg theora video format,\n" "a fully open, non-proprietary, patent-and-royalty-free, general-purpose\n" "compressed video format." msgstr "" -#: gnu/packages/xiph.scm:149 +#: gnu/packages/xiph.scm:150 msgid "Library for patent-free audio compression format" msgstr "" -#: gnu/packages/xiph.scm:151 +#: gnu/packages/xiph.scm:152 msgid "" "GNU Speex is a patent-free audio compression codec specially designed\n" "for speech. It is well-adapted to internet applications, such as VoIP. It\n" @@ -21360,21 +22309,21 @@ msgid "" "stereo encoding, and voice activity detection." msgstr "" -#: gnu/packages/xiph.scm:177 +#: gnu/packages/xiph.scm:178 msgid "Speex processing library" msgstr "Bibliothèque de traitement de Speex" -#: gnu/packages/xiph.scm:179 +#: gnu/packages/xiph.scm:180 msgid "" "SpeexDSP is a @dfn{DSP} (Digital Signal Processing) library based on\n" "work from the @code{speex} codec." msgstr "" -#: gnu/packages/xiph.scm:206 +#: gnu/packages/xiph.scm:207 msgid "Cross platform audio library" msgstr "" -#: gnu/packages/xiph.scm:208 +#: gnu/packages/xiph.scm:209 msgid "" "Libao is a cross-platform audio library that allows programs to\n" "output audio using a simple API on a wide variety of platforms.\n" @@ -21400,21 +22349,21 @@ msgid "" "@end enumerate\n" msgstr "" -#: gnu/packages/xiph.scm:250 +#: gnu/packages/xiph.scm:251 msgid "Free lossless audio codec" msgstr "" -#: gnu/packages/xiph.scm:252 +#: gnu/packages/xiph.scm:253 msgid "" "FLAC stands for Free Lossless Audio Codec, an audio format that is lossless,\n" "meaning that audio is compressed in FLAC without any loss in quality." msgstr "" -#: gnu/packages/xiph.scm:278 +#: gnu/packages/xiph.scm:279 msgid "Karaoke and text codec for embedding in ogg" msgstr "" -#: gnu/packages/xiph.scm:280 +#: gnu/packages/xiph.scm:281 msgid "" "Kate is an overlay codec, originally designed for karaoke and text,\n" "that can be multiplixed in Ogg. Text and images can be carried by a Kate\n" @@ -21429,11 +22378,11 @@ msgid "" "Kate stream." msgstr "" -#: gnu/packages/xiph.scm:318 +#: gnu/packages/xiph.scm:319 msgid "Ogg vorbis tools" msgstr "Outils pour Ogg vorbis" -#: gnu/packages/xiph.scm:320 +#: gnu/packages/xiph.scm:321 msgid "" "Ogg vorbis is a non-proprietary, patent-and-royalty-free,\n" "general-purpose compressed audio format.\n" @@ -21455,11 +22404,11 @@ msgstr "" "ogginfo, pour obtenir des informations (tags, débit, longueur, etc) à propos\n" " d'un fichier ogg vorbis." -#: gnu/packages/xiph.scm:344 gnu/packages/xiph.scm:407 +#: gnu/packages/xiph.scm:345 gnu/packages/xiph.scm:411 msgid "Versatile audio codec" msgstr "Codec audio polyvalent" -#: gnu/packages/xiph.scm:346 +#: gnu/packages/xiph.scm:347 msgid "" "Opus is a totally open, royalty-free, highly versatile audio codec. Opus\n" "is unmatched for interactive speech and music transmission over the Internet,\n" @@ -21474,11 +22423,11 @@ msgstr "" "qui contient les technologies du codec SILK de Skype et du code CELT de\n" "Xiph.Org." -#: gnu/packages/xiph.scm:380 +#: gnu/packages/xiph.scm:384 msgid "Command line utilities to encode, inspect, and decode .opus files" msgstr "Utilitaires en ligne de commande pour encoder, inspecter et décoder des fichiers .opus" -#: gnu/packages/xiph.scm:381 +#: gnu/packages/xiph.scm:385 msgid "" "Opus is a royalty-free, highly versatile audio codec.\n" "Opus-tools provide command line utilities for creating, inspecting and\n" @@ -21488,7 +22437,7 @@ msgstr "" "Opus-tools fournit des utilitaires en ligne de commande pour créer, inspecter\n" "et décoder des fichiers .opus." -#: gnu/packages/xiph.scm:409 +#: gnu/packages/xiph.scm:413 msgid "" "The opusfile library provides seeking, decode, and playback of Opus\n" "streams in the Ogg container (.opus files) including over http(s) on posix and\n" @@ -21498,11 +22447,21 @@ msgstr "" "flux Opus dans le conteneur Ogg (fichiers .opus) notamment par http(s) sur les\n" "systèmes posix et windows." -#: gnu/packages/xiph.scm:439 +#: gnu/packages/xiph.scm:435 +msgid "Library for encoding Opus audio files and streams " +msgstr "Bibliothèque pour encoder des des fichiers audios et des flux Opus" + +#: gnu/packages/xiph.scm:436 +msgid "" +"The libopusenc libraries provide a high-level API for\n" +"encoding Opus files and streams." +msgstr "" + +#: gnu/packages/xiph.scm:465 msgid "Streaming media server" msgstr "Serveur de flux multimédia" -#: gnu/packages/xiph.scm:440 +#: gnu/packages/xiph.scm:466 msgid "" "Icecast is a streaming media server which currently supports\n" "Ogg (Vorbis and Theora), Opus, WebM and MP3 audio streams. It can be used to\n" @@ -21514,11 +22473,11 @@ msgstr "" "utilisé pour créer une station radio internet ou un jukebox privé et bien\n" "d'autres choses." -#: gnu/packages/xiph.scm:468 +#: gnu/packages/xiph.scm:494 msgid "Audio streaming library for icecast encoders" msgstr "Bibliothèque de streaming audio pour les encodeurs icecast" -#: gnu/packages/xiph.scm:470 +#: gnu/packages/xiph.scm:496 msgid "" "Libshout is a library for communicating with and sending data to an\n" "icecast server. It handles the socket connection, the timing of the data,\n" @@ -21528,7 +22487,7 @@ msgstr "" "un serveur icecast. Il prend en charge la connexion, la synchronisation des\n" "données et évite que de mauvaises données n'atteignent le serveur icecast." -#: gnu/services/base.scm:293 +#: gnu/services/base.scm:294 msgid "" "The @code{user-processes} service is responsible for\n" "terminating all the processes so that the root file system can be re-mounted\n" @@ -21542,7 +22501,7 @@ msgstr "" "tournent toujours quelques secondes après qu'un @code{SIGTERM} leur ait été\n" "envoyé sont terminés avec @code{SIGKILL}." -#: gnu/services/base.scm:345 +#: gnu/services/base.scm:346 msgid "" "Populate the @file{/etc/fstab} based on the given file\n" "system objects." @@ -21550,7 +22509,7 @@ msgstr "" "Rempli @file{/etc/fstab} en fonction des objets de systèmes de\n" "fichiers donnés." -#: gnu/services/base.scm:522 +#: gnu/services/base.scm:523 msgid "" "Provide Shepherd services to mount and unmount the given\n" "file systems, as well as corresponding @file{/etc/fstab} entries." @@ -21558,7 +22517,7 @@ msgstr "" "Fournit des services Shepherd pour monter et démonter les systèmes\n" "de fichiers donnés, ainsi que les entrées @file{/etc/fstab} correspondantes." -#: gnu/services/base.scm:612 +#: gnu/services/base.scm:613 msgid "" "Seed the @file{/dev/urandom} pseudo-random number\n" "generator (RNG) with the value recorded when the system was last shut\n" @@ -21567,7 +22526,7 @@ msgstr "" "Initialise le générateur de nombres pseudo-aléatoires (PRNG) @file{/dev/urandom}\n" "avec la valeur enregistrée lors de la dernière extinction du système." -#: gnu/services/base.scm:773 +#: gnu/services/base.scm:777 msgid "" "Install the given fonts on the specified ttys (fonts are per\n" "virtual console on GNU/Linux). The value of this service is a list of\n" @@ -21585,7 +22544,7 @@ msgstr "" "'((\"tty1\" . \"LatGrkCyr-8x16\"))\n" "@end example\n" -#: gnu/services/base.scm:816 +#: gnu/services/base.scm:820 msgid "" "Provide a console log-in service as specified by its\n" "configuration value, a @code{login-configuration} object." @@ -21593,19 +22552,19 @@ msgstr "" "Fournit un service de connexion en console tel que spécifié par sa\n" "valeur de configuration, un objet @code{login-configuration}." -#: gnu/services/base.scm:1079 +#: gnu/services/base.scm:1083 msgid "" "Provide console login using the @command{agetty}\n" "program." msgstr "Fournit la connexion en console avec le programme @command{agetty}." -#: gnu/services/base.scm:1133 +#: gnu/services/base.scm:1144 msgid "" "Provide console login using the @command{mingetty}\n" "program." msgstr "Fournit la connexion en console avec le programme @command{mingetty}." -#: gnu/services/base.scm:1305 +#: gnu/services/base.scm:1360 msgid "" "Runs libc's @dfn{name service cache daemon} (nscd) with the\n" "given configuration---an @code{} object. @xref{Name\n" @@ -21615,7 +22574,7 @@ msgstr "" "configuration donnée — un objet @code{}. @xref{Name\n" "Service Switch}, pour un exemple." -#: gnu/services/base.scm:1405 +#: gnu/services/base.scm:1460 msgid "" "Install the specified resource usage limits by populating\n" "@file{/etc/security/limits.conf} and using the @code{pam_limits}\n" @@ -21625,11 +22584,11 @@ msgstr "" "en remplissant @file{/etc/security/limits.conf} et en utilisant le module\n" "d'authentification @code{pam_limits}." -#: gnu/services/base.scm:1624 +#: gnu/services/base.scm:1679 msgid "Run the build daemon of GNU@tie{}Guix, aka. @command{guix-daemon}." msgstr "Lance le démon de construction de GNU@tie{}Guix, c'est à dire @command{guix-daemon}." -#: gnu/services/base.scm:1724 +#: gnu/services/base.scm:1779 msgid "" "Add a Shepherd service running @command{guix publish}, a\n" "command that allows you to share pre-built binaries with others over HTTP." @@ -21637,7 +22596,7 @@ msgstr "" "Ajout un service Shepher qui lance @command{guix publish}, une\n" "commande qui vous permet de partager les binaires préconstruits sur HTTP." -#: gnu/services/base.scm:1929 +#: gnu/services/base.scm:1978 msgid "" "Run @command{udev}, which populates the @file{/dev}\n" "directory dynamically. Get extra rules from the packages listed in the\n" @@ -21647,7 +22606,7 @@ msgstr "" "dynamiquement. Il prend des règles supplémentaires des paquets listés\n" "dans le champ @code{rules} de sa valeur, un objet @code{udev-configuration}." -#: gnu/services/base.scm:2011 +#: gnu/services/base.scm:2060 msgid "" "Run GPM, the general-purpose mouse daemon, with the given\n" "command-line options. GPM allows users to use the mouse in the console,\n" @@ -21660,7 +22619,7 @@ msgstr "" "par défaut utilisent le protocole @code{ps2} qui fonctionne aussi bien pour les\n" "souris USB que PS/2." -#: gnu/services/base.scm:2186 +#: gnu/services/base.scm:2243 msgid "" "Turn up the specified network interfaces upon startup,\n" "with the given IP address, gateway, netmask, and so on. The value for\n" @@ -21682,7 +22641,7 @@ msgstr "" "Encrypt} en ajustant la configuration du serveur web nginx et en invoquant\n" "périodiquement @command{certbot}." -#: gnu/services/networking.scm:362 +#: gnu/services/networking.scm:372 msgid "" "Run the @command{ntpd}, the Network Time Protocol (NTP)\n" "daemon of the @uref{http://www.ntp.org, Network Time Foundation}. The daemon\n" @@ -21692,7 +22651,7 @@ msgstr "" "(NTP) de la @uref{http://www.ntp.org, Network Time Foundation}. Le démon gardera\n" "l'horloge du système synchronisée avec celle du serveur donné." -#: gnu/services/networking.scm:474 +#: gnu/services/networking.scm:485 msgid "" "Run the @command{ntpd}, the Network Time Protocol (NTP)\n" "daemon, as implemented by @uref{http://www.openntpd.org, OpenNTPD}. The\n" @@ -21702,7 +22661,7 @@ msgstr "" "(NTP) implémenté par @uref{http://www.openntpd.org, OpenNTPD}. Le démon gardera\n" "l'horloge du système synchronisée avec celle du serveur donné." -#: gnu/services/networking.scm:562 +#: gnu/services/networking.scm:573 msgid "" "Start @command{inetd}, the @dfn{Internet superserver}. It is responsible\n" "for listening on Internet sockets and spawning the corresponding services on\n" @@ -21712,7 +22671,7 @@ msgstr "" "de l'écoute sur des sockets Internet et du démarrage des services correspondants\n" "à la demande." -#: gnu/services/networking.scm:720 +#: gnu/services/networking.scm:752 msgid "" "Run the @uref{https://torproject.org, Tor} anonymous\n" "networking daemon." @@ -21720,11 +22679,11 @@ msgstr "" "Lance le démon de navigation anonyme\n" "@uref{https://torproject.org, Tor}." -#: gnu/services/networking.scm:743 +#: gnu/services/networking.scm:775 msgid "Define a new Tor @dfn{hidden service}." msgstr "Définie un nouveau @dfn{service caché} Tor." -#: gnu/services/networking.scm:811 +#: gnu/services/networking.scm:843 msgid "" "Run @url{https://launchpad.net/wicd,Wicd}, a network\n" "management daemon that aims to simplify wired and wireless networking." @@ -21732,7 +22691,7 @@ msgstr "" "Lance @url{https://launchpad.net/wicd,Wicd}, un démon de gestion\n" "de réseau qui veut simplifier les connexions filaires et sans-fil." -#: gnu/services/networking.scm:911 +#: gnu/services/networking.scm:943 msgid "" "Run @uref{https://wiki.gnome.org/Projects/NetworkManager,\n" "NetworkManager}, a network management daemon that aims to simplify wired and\n" @@ -21742,7 +22701,7 @@ msgstr "" "NetworkManager}, une démon de gestion de réseau qui veut simplifier\n" "les connexions filaires et sans-fil." -#: gnu/services/networking.scm:972 +#: gnu/services/networking.scm:1004 msgid "" "Run @url{https://01.org/connman,Connman},\n" "a network connection manager." @@ -21750,7 +22709,7 @@ msgstr "" "Lance @url{https://01.org/connman,Connman}, un\n" "gestionnaire de connexion réseau." -#: gnu/services/networking.scm:995 +#: gnu/services/networking.scm:1027 msgid "" "Run @uref{https://wiki.gnome.org/Projects/ModemManager,\n" "ModemManager}, a modem management daemon that aims to simplify dialup\n" @@ -21760,7 +22719,13 @@ msgstr "" "ModemManager}, un démon de gestion de modem qui veut simplifier les\n" "connexions par ligne téléphonique." -#: gnu/services/networking.scm:1085 +#: gnu/services/networking.scm:1089 +msgid "" +"Run the WPA Supplicant daemon, a service that\n" +"implements authentication, key negotiation and more for wireless networks." +msgstr "" + +#: gnu/services/networking.scm:1151 msgid "" "Run @uref{http://www.openvswitch.org, Open vSwitch}, a multilayer virtual\n" "switch designed to enable massive network automation through programmatic\n" @@ -21770,12 +22735,42 @@ msgstr "" "multi-niveau conçu pour permettre une automatisation massive du réseau via des\n" "extensions programmables." -#: gnu/services/version-control.scm:142 +#: gnu/services/networking.scm:1196 +msgid "Run @command{iptables-restore}, setting up the specified rules." +msgstr "" + +#: gnu/services/version-control.scm:160 msgid "" "Expose Git respositories over the insecure @code{git://} TCP-based\n" "protocol." msgstr "Expose des répertoires Git sur le protocole TCP @code{git://} non sécurisé." +#: gnu/services/version-control.scm:374 +msgid "" +"Setup @command{gitolite}, a Git hosting tool providing access over SSH..\n" +"By default, the @code{git} user is used, but this is configurable.\n" +"Additionally, Gitolite can integrate with with tools like gitweb or cgit to\n" +"provide a web interface to view selected repositories." +msgstr "" + +#~ msgid "Easy and secure backup program" +#~ msgstr "Programme de sauvegarde sécurisées et faciles" + +#~ msgid "" +#~ "This package provides Guile bindings to the WiredTiger ``NoSQL''\n" +#~ "database. Various higher level database abstractions." +#~ msgstr "" +#~ "Ce paquet fournit les liaisons Guile pour le système de base de données\n" +#~ "``NoSQL`` WiredTiger. Diverses abstractions de bases de données plus haut\n" +#~ "niveau." + +#~ msgid "" +#~ "This package provides Python bindings for the Qt4 interface of the\n" +#~ "Poppler PDF rendering library." +#~ msgstr "" +#~ "Ce paquet fournit les liaisons Python pour l'interface Qt4 de la\n" +#~ "bibliothèque de rendu de PDF Poppler." + #~ msgid "Reference frontend for the libretro API" #~ msgstr "Interface de référence pour l'API libretro" diff --git a/tests/challenge.scm b/tests/challenge.scm index 4b13ec278e..c962800f3f 100644 --- a/tests/challenge.scm +++ b/tests/challenge.scm @@ -31,17 +31,9 @@ #:use-module (rnrs bytevectors) #:use-module (ice-9 match)) -(define %store - (open-connection-for-tests)) - (define query-path-hash* (store-lift query-path-hash)) -(define-syntax-rule (test-assertm name exp) - (test-assert name - (run-with-store %store exp - #:guile-for-build (%guile-for-build)))) - (define* (call-with-derivation-narinfo* drv thunk hash) (lambda (store) (with-derivation-narinfo drv (sha256 => hash) diff --git a/tests/channels.scm b/tests/channels.scm new file mode 100644 index 0000000000..f3fc383ac3 --- /dev/null +++ b/tests/channels.scm @@ -0,0 +1,139 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Ricardo Wurmus +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (test-channels) + #:use-module (guix channels) + #:use-module ((guix build syscalls) #:select (mkdtemp!)) + #:use-module (guix tests) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-64) + #:use-module (ice-9 match)) + +(test-begin "channels") + +(define* (make-instance #:key + (name 'fake) + (commit "cafebabe") + (spec #f)) + (define instance-dir (mkdtemp! "/tmp/checkout.XXXXXX")) + (and spec + (with-output-to-file (string-append instance-dir "/.guix-channel") + (lambda _ (format #t "~a" spec)))) + ((@@ (guix channels) channel-instance) + name commit instance-dir)) + +(define instance--boring (make-instance)) +(define instance--no-deps + (make-instance #:spec + '(channel + (version 0) + (dependencies + (channel + (name test-channel) + (url "https://example.com/test-channel")))))) +(define instance--simple + (make-instance #:spec + '(channel + (version 0) + (dependencies + (channel + (name test-channel) + (url "https://example.com/test-channel")))))) +(define instance--with-dupes + (make-instance #:spec + '(channel + (version 0) + (dependencies + (channel + (name test-channel) + (url "https://example.com/test-channel")) + (channel + (name test-channel) + (url "https://example.com/test-channel") + (commit "abc1234")) + (channel + (name test-channel) + (url "https://example.com/test-channel-elsewhere")))))) + +(define read-channel-metadata + (@@ (guix channels) read-channel-metadata)) + + +(test-equal "read-channel-metadata returns #f if .guix-channel does not exist" + #f + (read-channel-metadata instance--boring)) + +(test-assert "read-channel-metadata returns " + (every (@@ (guix channels) channel-metadata?) + (map read-channel-metadata + (list instance--no-deps + instance--simple + instance--with-dupes)))) + +(test-assert "read-channel-metadata dependencies are channels" + (let ((deps ((@@ (guix channels) channel-metadata-dependencies) + (read-channel-metadata instance--simple)))) + (match deps + (((? channel? dep)) #t) + (_ #f)))) + +(test-assert "latest-channel-instances includes channel dependencies" + (let* ((channel (channel + (name 'test) + (url "test"))) + (test-dir (channel-instance-checkout instance--simple))) + (mock ((guix git) latest-repository-commit + (lambda* (store url #:key ref) + (match url + ("test" (values test-dir 'whatever)) + (_ (values "/not-important" 'not-important))))) + (let ((instances (latest-channel-instances #f (list channel)))) + (and (eq? 2 (length instances)) + (lset= eq? + '(test test-channel) + (map (compose channel-name channel-instance-channel) + instances))))))) + +(test-assert "latest-channel-instances excludes duplicate channel dependencies" + (let* ((channel (channel + (name 'test) + (url "test"))) + (test-dir (channel-instance-checkout instance--with-dupes))) + (mock ((guix git) latest-repository-commit + (lambda* (store url #:key ref) + (match url + ("test" (values test-dir 'whatever)) + (_ (values "/not-important" 'not-important))))) + (let ((instances (latest-channel-instances #f (list channel)))) + (and (eq? 2 (length instances)) + (lset= eq? + '(test test-channel) + (map (compose channel-name channel-instance-channel) + instances)) + ;; only the most specific channel dependency should remain, + ;; i.e. the one with a specified commit. + (find (lambda (instance) + (and (eq? (channel-name + (channel-instance-channel instance)) + 'test-channel) + (eq? (channel-commit + (channel-instance-channel instance)) + 'abc1234))) + instances)))))) + +(test-end "channels") diff --git a/tests/debug-link.scm b/tests/debug-link.scm index 2dde3cb460..a1ae4f141c 100644 --- a/tests/debug-link.scm +++ b/tests/debug-link.scm @@ -43,14 +43,6 @@ (define read-elf (compose parse-elf get-bytevector-all)) -(define %store - (open-connection-for-tests)) - -(define-syntax-rule (test-assertm name exp) - (test-assert name - (run-with-store %store exp - #:guile-for-build (%guile-for-build)))) - (test-begin "debug-link") diff --git a/tests/derivations.scm b/tests/derivations.scm index 159a6971b3..5f294c1827 100644 --- a/tests/derivations.scm +++ b/tests/derivations.scm @@ -1132,6 +1132,16 @@ ((p2 . _) (stringderivation %store "bar" + '(mkdir %output))) + (drv2 (build-expression->derivation %store "foo" + '(mkdir %output) + #:properties '((type . test))))) + (list (derivation-properties drv1) + (derivation-properties drv2)))) + (test-equal "map-derivation" "hello" (let* ((joke (package-derivation %store guile-1.8)) diff --git a/tests/gexp.scm b/tests/gexp.scm index bc83a8de8c..35a76a496e 100644 --- a/tests/gexp.scm +++ b/tests/gexp.scm @@ -62,11 +62,6 @@ #:target target) #:guile-for-build (%guile-for-build))) -(define-syntax-rule (test-assertm name exp) - (test-assert name - (run-with-store %store exp - #:guile-for-build (%guile-for-build)))) - (define %extension-package ;; Example of a package to use when testing 'with-extensions'. (dummy-package "extension" @@ -481,7 +476,15 @@ (return (and (string=? (readlink (string-append out "/foo")) guile) (string=? (readlink out2) file) (equal? refs (list (dirname (dirname guile)))) - (equal? refs2 (list file)))))) + (equal? refs2 (list file)) + (null? (derivation-properties drv)))))) + +(test-assertm "gexp->derivation properties" + (mlet %store-monad ((drv (gexp->derivation "foo" + #~(mkdir #$output) + #:properties '((type . test))))) + (return (equal? '((type . test)) + (derivation-properties drv))))) (test-assertm "gexp->derivation vs. grafts" (mlet* %store-monad ((graft? (set-grafting #f)) @@ -680,6 +683,22 @@ #~(foo #$@(list (with-imported-modules '((foo)) #~+) (with-imported-modules '((bar)) #~-))))) +(test-assert "gexp-modules deletes duplicates" ; + (let ((make-file (lambda () + ;; Use 'eval' to make sure we get an object that's not + ;; 'eq?' nor 'equal?' due to the closures it embeds. + (eval '(scheme-file "bar.scm" #~(define-module (bar))) + (current-module))))) + (define result + ((@@ (guix gexp) gexp-modules) + (with-imported-modules `(((bar) => ,(make-file)) + ((bar) => ,(make-file)) + (foo) (foo)) + #~+))) + + (match result + (((('bar) '=> (? scheme-file?)) ('foo)) #t)))) + (test-equal "gexp-modules and literal Scheme object" '() (gexp-modules #t)) diff --git a/tests/grafts.scm b/tests/grafts.scm index abb074d628..f85f3c6913 100644 --- a/tests/grafts.scm +++ b/tests/grafts.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -51,7 +51,8 @@ (test-begin "grafts") -(test-assert "graft-derivation, grafted item is a direct dependency" +(test-equal "graft-derivation, grafted item is a direct dependency" + '((type . graft) (graft (count . 2))) (let* ((build `(begin (mkdir %output) (chdir %output) @@ -76,14 +77,16 @@ (origin %mkdir) (replacement two)))))) (and (build-derivations %store (list grafted)) - (let ((two (derivation->output-path two)) - (grafted (derivation->output-path grafted))) + (let ((properties (derivation-properties grafted)) + (two (derivation->output-path two)) + (grafted (derivation->output-path grafted))) (and (string=? (format #f "foo/~a/bar" two) (call-with-input-file (string-append grafted "/text") get-string-all)) (string=? (readlink (string-append grafted "/sh")) one) (string=? (readlink (string-append grafted "/self")) - grafted)))))) + grafted) + properties))))) (test-assert "graft-derivation, grafted item uses a different name" (let* ((build `(begin diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh new file mode 100644 index 0000000000..e64782c831 --- /dev/null +++ b/tests/guix-build-branch.sh @@ -0,0 +1,56 @@ +# GNU Guix --- Functional package management for GNU +# Copyright © 2018 Ludovic Courtès +# +# This file is part of GNU Guix. +# +# GNU Guix is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or (at +# your option) any later version. +# +# GNU Guix is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Guix. If not, see . + +# +# Test 'guix build --with-branch'. +# + +guix build --version + +# 'guix build --with-branch' requires access to the network to clone the +# Git repository below. + +if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null +then + # Skipping. + exit 77 +fi + +orig_drv="`guix build guile-gcrypt -d`" +latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -d`" +test -n "$latest_drv" +test "$orig_drv" != "$latest_drv" + +# FIXME: '-S' currently doesn't work with non-derivation source. +# checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -S`" +checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`" +test -d "$checkout" +test -f "$checkout/COPYING" + +orig_drv="`guix build guix -d`" +latest_drv="`guix build guix --with-branch=guile-gcrypt=master -d`" +guix gc -R "$latest_drv" | grep guile-gcrypt-git.master +test "$orig_drv" != "$latest_drv" + +v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`" +guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-git.9e3eacd +test "$v0_1_0_drv" != "$latest_drv" +test "$v0_1_0_drv" != "$orig_drv" + +if guix build guix --with-commit=guile-gcrypt=000 -d +then false; else true; fi diff --git a/tests/guix-pack-localstatedir.sh b/tests/guix-pack-localstatedir.sh new file mode 100644 index 0000000000..b734b0f7e3 --- /dev/null +++ b/tests/guix-pack-localstatedir.sh @@ -0,0 +1,69 @@ +# GNU Guix --- Functional package management for GNU +# Copyright © 2018 Ludovic Courtès +# +# This file is part of GNU Guix. +# +# GNU Guix is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or (at +# your option) any later version. +# +# GNU Guix is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Guix. If not, see . + +# +# Test the 'guix pack --localstatedir' command-line utility. +# + +guix pack --version + +# 'guix pack --localstatedir' produces derivations that depend on +# guile-sqlite3 and guile-gcrypt. To make that relatively inexpensive, run +# the test in the user's global store if possible, on the grounds that +# binaries may already be there or can be built or downloaded inexpensively. + +NIX_STORE_DIR="`guile -c '(use-modules (guix config))(display %storedir)'`" +localstatedir="`guile -c '(use-modules (guix config))(display %localstatedir)'`" +GUIX_DAEMON_SOCKET="$localstatedir/guix/daemon-socket/socket" +export NIX_STORE_DIR GUIX_DAEMON_SOCKET + +if ! guile -c '(use-modules (guix)) (exit (false-if-exception (open-connection)))' +then + exit 77 +fi + +# Build a tarball with '--localstatedir' +the_pack="`guix pack -C none --localstatedir --profile-name=current-guix \ + guile-bootstrap`" +test_directory="`mktemp -d`" +trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT + +cd "$test_directory" +tar -xf "$the_pack" + +profile="`find -name current-guix`" +test "`readlink $profile`" = "current-guix-1-link" +test -s "`dirname $profile`/../../../db/db.sqlite" +test -x ".`guix build guile-bootstrap`/bin/guile" +cd - + +# Make sure the store database is not completely bogus. +guile -c "(use-modules (sqlite3) (guix config) (ice-9 match)) + + (define db + (sqlite-open (string-append \"$test_directory\" + %localstatedir + \"/guix/db/db.sqlite\") + SQLITE_OPEN_READONLY)) + + (define stmt + (sqlite-prepare db \"SELECT * FROM ValidPaths;\")) + + (match (sqlite-fold cons '() stmt) + ((#(ids paths hashes times derivers sizes) ...) + (exit (member \"`guix build guile-bootstrap`\" paths))))" diff --git a/tests/guix-pack-relocatable.sh b/tests/guix-pack-relocatable.sh new file mode 100644 index 0000000000..554416627b --- /dev/null +++ b/tests/guix-pack-relocatable.sh @@ -0,0 +1,61 @@ +# GNU Guix --- Functional package management for GNU +# Copyright © 2018 Ludovic Courtès +# +# This file is part of GNU Guix. +# +# GNU Guix is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or (at +# your option) any later version. +# +# GNU Guix is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Guix. If not, see . + +# +# Test the 'guix pack --relocatable' using the external store, if any. +# + +guix pack --version + +# 'guix pack --relocatable' requires a C compiler and libc.a, which our +# bootstrap binaries don't provide. To make the test relatively inexpensive, +# run it on the user's global store if possible, on the grounds that binaries +# may already be there or can be built or downloaded inexpensively. + +NIX_STORE_DIR="`guile -c '(use-modules (guix config))(display %storedir)'`" +localstatedir="`guile -c '(use-modules (guix config))(display %localstatedir)'`" +GUIX_DAEMON_SOCKET="$localstatedir/guix/daemon-socket/socket" +export NIX_STORE_DIR GUIX_DAEMON_SOCKET + +if ! guile -c '(use-modules (guix)) (exit (false-if-exception (open-connection)))' +then + exit 77 +fi + +STORE_PARENT="`dirname $NIX_STORE_DIR`" +export STORE_PARENT +if test "$STORE_PARENT" = "/"; then exit 77; fi + +# This test requires user namespaces and associated command-line tools. +if ! unshare -mrf sh -c 'mount -t tmpfs none "$STORE_PARENT"' +then + exit 77 +fi + +test_directory="`mktemp -d`" +export test_directory +trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT + +tarball="`guix pack -R -S /Bin=bin sed`" +(cd "$test_directory"; tar xvf "$tarball") + +# Run that relocatable 'sed' in a user namespace where we "erase" the store by +# mounting an empty file system on top of it. That way, we exercise the +# wrapper code that creates the user namespace and bind-mounts the store. +unshare -mrf sh -c 'mount -t tmpfs none "$STORE_PARENT"; echo "$STORE_PARENT"/*; "$test_directory/Bin/sed" --version > "$test_directory/output"' +grep 'GNU sed' "$test_directory/output" diff --git a/tests/guix-pack.sh b/tests/guix-pack.sh index cd721a60e9..a43f4d128f 100644 --- a/tests/guix-pack.sh +++ b/tests/guix-pack.sh @@ -29,39 +29,27 @@ fi guix pack --version -# Starting from commit 66e9944e078cbb9e0d618377dd6df6e639640efa, 'guix pack' -# produces derivations that refer to guile-sqlite3 and libgcrypt. To make -# that relatively inexpensive, run the test in the user's global store if -# possible, on the grounds that binaries may already be there or can be built -# or downloaded inexpensively. - -NIX_STORE_DIR="`guile -c '(use-modules (guix config))(display %storedir)'`" -localstatedir="`guile -c '(use-modules (guix config))(display %localstatedir)'`" -GUIX_DAEMON_SOCKET="$localstatedir/guix/daemon-socket/socket" -export NIX_STORE_DIR GUIX_DAEMON_SOCKET - -if ! guile -c '(use-modules (guix)) (exit (false-if-exception (open-connection)))' -then - exit 77 -fi +# Use --no-substitutes because we need to verify we can do this ourselves. +GUIX_BUILD_OPTIONS="--no-substitutes" +export GUIX_BUILD_OPTIONS # Build a tarball with no compression. -guix pack --compression=none guile-bootstrap +guix pack --compression=none --bootstrap guile-bootstrap # Build a tarball (with compression). Check that '-e' works as well. -out1="`guix pack guile-bootstrap`" -out2="`guix pack -e '(@ (gnu packages bootstrap) %bootstrap-guile)'`" +out1="`guix pack --bootstrap guile-bootstrap`" +out2="`guix pack --bootstrap -e '(@ (gnu packages bootstrap) %bootstrap-guile)'`" test -n "$out1" test "$out1" = "$out2" # Build a tarball with a symlink. -the_pack="`guix pack -S /opt/gnu/bin=bin guile-bootstrap`" +the_pack="`guix pack --bootstrap -S /opt/gnu/bin=bin guile-bootstrap`" # Try to extract it. Note: we cannot test whether /opt/gnu/bin/guile itself # exists because /opt/gnu/bin may be an absolute symlink to a store item that # has been GC'd. test_directory="`mktemp -d`" -trap 'rm -rf "$test_directory"' EXIT +trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT cd "$test_directory" tar -xf "$the_pack" test -L opt/gnu/bin diff --git a/tests/guix-package.sh b/tests/guix-package.sh index f7dfbfad00..7eeb4304d1 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -106,6 +106,10 @@ guix package --show=guile | grep "^name: guile" # Ensure `--show' doesn't fail for packages with non-package inputs. guix package --show=texlive +# Fail for non-existent packages or package/version pairs. +if guix package --show=does-not-exist; then false; else true; fi +if guix package --show=emacs@42; then false; else true; fi + # Search. LC_MESSAGES=C export LC_MESSAGES diff --git a/tests/inferior.scm b/tests/inferior.scm index d1d5c00a77..d5a894ca8f 100644 --- a/tests/inferior.scm +++ b/tests/inferior.scm @@ -157,6 +157,15 @@ (close-inferior inferior) result)) +(test-equal "inferior-eval-with-store" + (add-text-to-store %store "foo" "Hello, world!") + (let* ((inferior (open-inferior %top-builddir + #:command "scripts/guix"))) + (inferior-eval-with-store inferior %store + '(lambda (store) + (add-text-to-store store "foo" + "Hello, world!"))))) + (test-equal "inferior-package-derivation" (map derivation-file-name (list (package-derivation %store %bootstrap-guile "x86_64-linux") diff --git a/tests/lint.scm b/tests/lint.scm index ab0e8b9a8c..300153e24e 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013 Cyril Roelandt ;;; Copyright © 2014, 2015, 2016 Eric Bavier -;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès ;;; Copyright © 2015, 2016 Mathieu Lirzin ;;; Copyright © 2016 Hartmut Goebel ;;; Copyright © 2017 Alex Kost @@ -365,7 +365,7 @@ (arguments '(#:imported-modules (invalid-module)))))) (check-derivation pkg))) - "failed to create derivation"))) + "failed to create"))) (test-assert "license: invalid license" (string-contains diff --git a/tests/nar.scm b/tests/nar.scm index d610ea53f7..5ffe68c9e2 100644 --- a/tests/nar.scm +++ b/tests/nar.scm @@ -25,6 +25,8 @@ #:select (open-sha256-port open-sha256-input-port)) #:use-module ((guix packages) #:select (base32)) + #:use-module ((guix build utils) + #:select (find-files)) #:use-module (rnrs bytevectors) #:use-module (rnrs io ports) #:use-module (srfi srfi-1) @@ -332,13 +334,6 @@ (lambda () (rmdir input))))) -;; 'restore-file-set' depends on 'open-sha256-input-port', which in turn -;; relies on a Guile 2.0.10+ feature. -(test-skip (if (false-if-exception - (open-sha256-input-port (%make-void-port "r"))) - 0 - 3)) - (test-assert "restore-file-set (signed, valid)" (with-store store (let* ((texts (unfold (cut >= <> 10) @@ -361,7 +356,43 @@ (map (lambda (file) (call-with-input-file file get-string-all)) - files)))))))) + files)) + (every canonical-file? files))))))) + +(test-assert "restore-file-set with directories (signed, valid)" + ;; describes a bug whereby directories + ;; containing files subject to deduplication were not canonicalized--i.e., + ;; their mtime and permissions were not reset. Ensure that this bug is + ;; gone. + (with-store store + (let* ((text1 (random-text)) + (text2 (random-text)) + (tree `("tree" directory + ("a" regular (data ,text1)) + ("b" directory + ("c" regular (data ,text2)) + ("d" regular (data ,text1))))) ;duplicate + (file (add-file-tree-to-store store tree)) + (dump (call-with-bytevector-output-port + (cute export-paths store (list file) <>)))) + (delete-paths store (list file)) + (and (not (file-exists? file)) + (let* ((source (open-bytevector-input-port dump)) + (imported (restore-file-set source))) + (and (equal? imported (list file)) + (file-exists? file) + (valid-path? store file) + (string=? text1 + (call-with-input-file (string-append file "/a") + get-string-all)) + (string=? text2 + (call-with-input-file + (string-append file "/b/c") + get-string-all)) + (= (stat:ino (stat (string-append file "/a"))) ;deduplication + (stat:ino (stat (string-append file "/b/d")))) + (every canonical-file? + (find-files file #:directories? #t)))))))) (test-assert "restore-file-set (missing signature)" (let/ec return diff --git a/tests/pack.scm b/tests/pack.scm index 7f867894c2..40473a9fe9 100644 --- a/tests/pack.scm +++ b/tests/pack.scm @@ -22,20 +22,26 @@ #:use-module (guix store) #:use-module (guix derivations) #:use-module (guix profiles) + #:use-module (guix packages) #:use-module (guix monads) #:use-module (guix grafts) #:use-module (guix tests) #:use-module (guix gexp) #:use-module (gnu packages bootstrap) + #:use-module ((gnu packages compression) #:select (squashfs-tools-next)) #:use-module (srfi srfi-64)) +(define %store + (open-connection-for-tests)) + ;; Globally disable grafts because they can trigger early builds. (%graft? #f) (define-syntax-rule (test-assertm name store exp) (test-assert name - (run-with-store store exp - #:guile-for-build (%guile-for-build)))) + (let ((guile (package-derivation store %bootstrap-guile))) + (run-with-store store exp + #:guile-for-build guile)))) (define %gzip-compressor ;; Compressor that uses the bootstrap 'gzip'. @@ -48,6 +54,58 @@ (test-begin "pack") +(unless (network-reachable?) (test-skip 1)) +(test-assertm "self-contained-tarball" %store + (mlet* %store-monad + ((profile (profile-derivation (packages->manifest + (list %bootstrap-guile)) + #:hooks '() + #:locales? #f)) + (tarball (self-contained-tarball "pack" profile + #:symlinks '(("/bin/Guile" + -> "bin/guile")) + #:compressor %gzip-compressor + #:archiver %tar-bootstrap)) + (check (gexp->derivation + "check-tarball" + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils) + (srfi srfi-1)) + + (define store + ;; The unpacked store. + (string-append "." (%store-directory) "/")) + + (define (canonical? file) + ;; Return #t if FILE is read-only and its mtime is 1. + (let ((st (lstat file))) + (or (not (string-prefix? store file)) + (eq? 'symlink (stat:type st)) + (and (= 1 (stat:mtime st)) + (zero? (logand #o222 + (stat:mode st))))))) + + (define bin + (string-append "." #$profile "/bin")) + + (setenv "PATH" + (string-append #$%tar-bootstrap "/bin")) + (system* "tar" "xvf" #$tarball) + (mkdir #$output) + (exit + (and (file-exists? (string-append bin "/guile")) + (file-exists? store) + (every canonical? + (find-files "." (const #t) + #:directories? #t)) + (string=? (string-append #$%bootstrap-guile "/bin") + (readlink bin)) + (string=? (string-append ".." #$profile + "/bin/guile") + (readlink "bin/Guile"))))))))) + (built-derivations (list check)))) + ;; The following test needs guile-sqlite3, libgcrypt, etc. as a consequence of ;; commit c45477d2a1a651485feede20fe0f3d15aec48b39 and related changes. Thus, ;; run it on the user's store, if it's available, on the grounds that these @@ -55,18 +113,16 @@ ;; quite inexpensively; see . (with-external-store store - (unless store (tests-skip 1)) - (test-assertm "self-contained-tarball" store + (unless store (test-skip 1)) + (test-assertm "self-contained-tarball + localstatedir" store (mlet* %store-monad - ((profile (profile-derivation (packages->manifest + ((guile (set-guile-for-build (default-guile))) + (profile (profile-derivation (packages->manifest (list %bootstrap-guile)) #:hooks '() #:locales? #f)) - (tarball (self-contained-tarball "pack" profile - #:symlinks '(("/bin/Guile" - -> "bin/guile")) - #:compressor %gzip-compressor - #:archiver %tar-bootstrap)) + (tarball (self-contained-tarball "tar-pack" profile + #:localstatedir? #t)) (check (gexp->derivation "check-tarball" #~(let ((bin (string-append "." #$profile "/bin"))) @@ -75,12 +131,84 @@ (system* "tar" "xvf" #$tarball) (mkdir #$output) (exit - (and (file-exists? (string-append bin "/guile")) + (and (file-exists? "var/guix/db/db.sqlite") (string=? (string-append #$%bootstrap-guile "/bin") - (readlink bin)) - (string=? (string-append ".." #$profile - "/bin/guile") - (readlink "bin/Guile")))))))) + (readlink bin)))))))) + (built-derivations (list check)))) + + (unless store (test-skip 1)) + (test-assertm "docker-image + localstatedir" store + (mlet* %store-monad + ((guile (set-guile-for-build (default-guile))) + (profile (profile-derivation (packages->manifest + (list %bootstrap-guile)) + #:hooks '() + #:locales? #f)) + (tarball (docker-image "docker-pack" profile + #:symlinks '(("/bin/Guile" -> "bin/guile")) + #:localstatedir? #t)) + (check (gexp->derivation + "check-tarball" + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils) + (ice-9 match)) + + (define bin + (string-append "." #$profile "/bin")) + + (setenv "PATH" (string-append #$%tar-bootstrap "/bin")) + (mkdir "base") + (with-directory-excursion "base" + (invoke "tar" "xvf" #$tarball)) + + (match (find-files "base" "layer.tar") + ((layer) + (invoke "tar" "xvf" layer))) + + (when + (and (file-exists? (string-append bin "/guile")) + (file-exists? "var/guix/db/db.sqlite") + (string=? (string-append #$%bootstrap-guile "/bin") + (pk 'binlink (readlink bin))) + (string=? (string-append #$profile "/bin/guile") + (pk 'guilelink (readlink "bin/Guile")))) + (mkdir #$output))))))) + (built-derivations (list check)))) + + (unless store (test-skip 1)) + (test-assertm "squashfs-image + localstatedir" store + (mlet* %store-monad + ((guile (set-guile-for-build (default-guile))) + (profile (profile-derivation (packages->manifest + (list %bootstrap-guile)) + #:hooks '() + #:locales? #f)) + (image (squashfs-image "squashfs-pack" profile + #:symlinks '(("/bin" -> "bin")) + #:localstatedir? #t)) + (check (gexp->derivation + "check-tarball" + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils) + (ice-9 match)) + + (define bin + (string-append "." #$profile "/bin")) + + (setenv "PATH" + (string-append #$squashfs-tools-next "/bin")) + (invoke "unsquashfs" #$image) + (with-directory-excursion "squashfs-root" + (when (and (file-exists? (string-append bin + "/guile")) + (file-exists? "var/guix/db/db.sqlite") + (string=? (string-append #$%bootstrap-guile "/bin") + (pk 'binlink (readlink bin))) + (string=? (string-append #$profile "/bin") + (pk 'guilelink (readlink "bin")))) + (mkdir #$output)))))))) (built-derivations (list check))))) (test-end) diff --git a/tests/processes.scm b/tests/processes.scm new file mode 100644 index 0000000000..40454bcbc7 --- /dev/null +++ b/tests/processes.scm @@ -0,0 +1,86 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Ludovic Courtès +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (test-processes) + #:use-module (guix scripts processes) + #:use-module (guix store) + #:use-module (guix derivations) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module ((guix utils) #:select (call-with-temporary-directory)) + #:use-module (gnu packages bootstrap) + #:use-module (guix tests) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-64) + #:use-module (rnrs bytevectors) + #:use-module (rnrs io ports) + #:use-module (ice-9 match) + #:use-module (ice-9 threads)) + +(test-begin "processes") + +(test-assert "not a client" + (not (find (lambda (session) + (= (getpid) + (process-id (daemon-session-client session)))) + (daemon-sessions)))) + +(test-assert "client" + (with-store store + (let* ((session (find (lambda (session) + (= (getpid) + (process-id (daemon-session-client session)))) + (daemon-sessions))) + (daemon (daemon-session-process session))) + (and (kill (process-id daemon) 0) + (string-suffix? "guix-daemon" (first (process-command daemon))))))) + +(test-assert "client + lock" + (with-store store + (call-with-temporary-directory + (lambda (directory) + (let* ((token1 (string-append directory "/token1")) + (token2 (string-append directory "/token2")) + (exp #~(begin #$(random-text) + (mkdir #$token1) + (let loop () + (unless (file-exists? #$token2) + (sleep 1) + (loop))) + (mkdir #$output))) + (guile (package-derivation store %bootstrap-guile)) + (drv (run-with-store store + (gexp->derivation "foo" exp + #:guile-for-build guile))) + (thread (call-with-new-thread + (lambda () + (build-derivations store (list drv))))) + (_ (let loop () + (unless (file-exists? token1) + (usleep 200) + (loop)))) + (session (find (lambda (session) + (= (getpid) + (process-id (daemon-session-client session)))) + (daemon-sessions))) + (locks (daemon-session-locks-held (pk 'session session)))) + (call-with-output-file token2 (const #t)) + (equal? (list (string-append (derivation->output-path drv) ".lock")) + locks)))))) + +(test-end "processes") diff --git a/tests/profiles.scm b/tests/profiles.scm index 9f366a04ef..1f9bbd099d 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -47,17 +47,6 @@ ;; Globally disable grafts because they can trigger early builds. (%graft? #f) -(define-syntax-rule (test-assertm name exp) - (test-assert name - (run-with-store %store exp - #:guile-for-build (%guile-for-build)))) - -(define-syntax-rule (test-equalm name value exp) - (test-equal name - value - (run-with-store %store exp - #:guile-for-build (%guile-for-build)))) - ;; Example manifest entries. (define guile-1.8.8 diff --git a/tests/size.scm b/tests/size.scm index 575b1abfdd..0aaa8fbc29 100644 --- a/tests/size.scm +++ b/tests/size.scm @@ -30,14 +30,6 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-64)) -(define %store - (open-connection-for-tests)) - -(define-syntax-rule (test-assertm name exp) - (test-assert name - (run-with-store %store exp - #:guile-for-build (%guile-for-build)))) - (test-begin "size")