services: guix: Remove dependency on 'lsof'.
This is a followup to b8f59cdc20e9d83ce63523ef917e95fcee07f134:
'list-runtime-roots' no longer depends on 'lsof'.
* gnu/services/base.scm (<guix-configuration>)[lsof]: Remove.
(guix-shepherd-service): Adjust accordingly.
* doc/guix.texi (Base Services): Adjust accordingly.
* gnu/system.scm (%base-packages): Remove LSOF.
gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix): Update to ff23b47.
tests: 'guix-gc.sh' passes even when 'out' or 'drv' are defined as env vars.
This fixes a test failure exhibited by
fb17a89912c2a3738dae716e30481c11e1c6f0ac whereby assignments to 'out' in
guix-gc.sh would go to the 'out' environment variable, when it exists,
which in turn prevents garbage collection of $out.
* tests/guix-gc.sh: Add 'unset' invocations.
gnu: ibus: Update to 1.5.17.
* gnu/packages/ibus.scm (ibus): Update to 1.5.17.
gnu: ibus: Enable wayland support.
* gnu/packages/ibus.scm (ibus)[arguments]: Add configure flag to enable
wayland support.
[inputs]: Add wayland.
gnu: libsoup: Update to 2.60.2.
* gnu/packages/gnome.scm (libsoup): Update to 2.60.2.
list-runtime-roots: Ignore PIDs we cannot access.
This allows running as non-root.
Fixes a regression introduced in b8f59cdc20e9d83ce63523ef917e95fcee07f134.
* nix/scripts/list-runtime-roots.in (referenced-files): Handle EACCES in
addition to ENOENT.
download: Use HTTPS for the first ImageMagick mirror.
* guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>.
download: Try FTP servers last.
* guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]:
Re-arrange so that FTP is last.
gnu: imagemagick: Update to 6.9.9-23.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.9-23.
list-runtime-roots: Canonicalize store items.
Looking at 'addAdditionalRoots' in libstore/gc.cc, it looks like it
should always have been this way. In practice it probably doesn't make
much of a difference.
* nix/scripts/list-runtime-roots.in (canonicalize-store-item): New
procedure.
<top level>: Use it.
list-runtime-roots: Do not use 'lsof'.
This makes things a bit faster (0.8s instead of 1.4s on my laptop).
* nix/scripts/list-runtime-roots.in (lsof-roots): Remove.
(proc-fd-roots): Return the empty list when 'scandir' returns #f.
(referenced-files): New procedure.
Use it at the top level.
doc: Better explain GC roots.
Fixes <https://bugs.gnu.org/24194>.
Reported by J. Eppler <j.eppler@openmailbox.org>.
* doc/guix.texi (Invoking guix-daemon): Add index entries for GC roots.
Add xref to "Invoking guix gc".
(Invoking guix gc): Add the string "GC roots"; mention /var/guix/gcroots.
(Additional Build Options): Add index entries. Better explain --root.
(Invoking guix environment): Add xref to "Invoking guix gc".
gnu: linux-libre: Change URL to HTTPS.
* gnu/packages/linux.scm (linux-libre): Change URL to HTTPS.
Signed-off-by: Leo Famulari <leo@famulari.name>
gnu: mupdf: Unbundle mujs.
* gnu/packages/pdf.scm (mupdf)[source]: Remove bundled mujs.
[inputs]: Add mujs.
gnu: Add mujs.
* gnu/packages/javascript.scm (mujs): New variable.
gnu: mupdf: Use https.
* gnu/packages/pdf.scm (mupdf)[source]: Use https.
[home-page]: Same.
gnu: pdf.scm: Arrange modules alphabetically.
* gnu/packages/pdf.scm: Arrange modules alphabetically.