Commit Graph

43625 Commits

Author SHA1 Message Date
Ludovic Courtès aea1a42e00
system: Add boot file systems to /etc/fstab.
* gnu/system.scm (essential-services): Pass FSTAB-SERVICE-TYPE the list
of file systems that match 'file-system-needed-for-boot?'.
2019-04-27 00:11:52 +02:00
Ludovic Courtès 74685a4369
services: file-system: Filter what goes to /etc/fstab.
Fixes a longstanding issue whereby, due to our long fstab that included
pseudo file systems like cgroup mounts, graphical file managers would
display all of these.  Initially reported at
<https://lists.gnu.org/archive/html/help-guix/2017-11/msg00084.html>.

* gnu/services/base.scm (file-system-fstab-entries): New procedure.
(file-system-service-type): Use it to extend FSTAB-SERVICE-TYPE.
2019-04-27 00:11:52 +02:00
Julien Lepiller cdb57a831c
nls: Update 'zh_CN' translation.
Refer to the right version.*.texi to prevent errors in Makefile.am.
2019-04-27 00:02:15 +02:00
Julien Lepiller b05290380f
gnu: ocaml-ppxlib: Update to 0.6.0.
* gnu/packages/ocaml.scm (ocaml-ppxlib): Update to 0.6.0.
(dune): Update to 1.9.1.
2019-04-26 23:57:00 +02:00
Julien Lepiller cf338cc305
gnu: ocaml-migrate-parsetree: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree)[properties]: New
field.
2019-04-26 23:35:24 +02:00
Julien Lepiller b7ebcb043c
gnu: ocaml-ppx-expect: Update to 0.12.0.
* gnu/packages/ocaml.scm (ocaml-ppx-inline-test): Update to 0.12.0.
(ocaml-ppx-expect): Update to 0.12.0.
2019-04-26 23:35:19 +02:00
Julien Lepiller ee33e415e7
gnu: ocaml-frontc: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-frontc)[properties]: New field.
2019-04-26 23:35:17 +02:00
Julien Lepiller d4857001a1
gnu: ocaml-ppx-tools: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-ppx-tools)[properties]: New field.
2019-04-26 23:35:15 +02:00
Julien Lepiller f08b235dab
gnu: ocaml-lwt-log: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-lwt-log)[properties]: New field.
2019-04-26 23:35:13 +02:00
Julien Lepiller c949a4eb1f
gnu: ocaml-ppx-tools-versioned: Add upstream-name.
* gnu/packages/ocaml.scm (ocaml-ppx-tools-versioned)[properties]: New
field.
2019-04-26 23:35:11 +02:00
Julien Lepiller d9faae6254
gnu: ocaml-compiler-libs: Add upstream name.
* gnu/packages/ocaml.scm (ocaml-compiler-libs)[properties]: New field.
2019-04-26 23:35:08 +02:00
Julien Lepiller 1e5937c8c0
gnu: ocaml-ppx-derivers: Update to 1.2.1.
* gnu/packages/ocaml.scm (ocaml-ppx-derivers): Update to 1.2.1.
2019-04-26 23:35:03 +02:00
Julien Lepiller 1e8439de27
gnu: ocaml-pcre: Update to 7.4.1.
* gnu/packages/ocaml.scm (ocaml-pcre): Update to 7.4.1.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
2019-04-26 23:34:59 +02:00
Julien Lepiller acb98ad956
gnu: ocaml-stringext: Update to 1.5.0.
* gnu/packages/ocaml.scm (ocaml-stringext): Update to 1.5.0.
[source]: Use git-fetch.
[build-system]: Use dune-build-system.
2019-04-26 23:34:54 +02:00
Julien Lepiller 09cd92a983
gnu: ocaml-zarith: Update to 1.7.
* gnu/packages/ocaml.scm (ocaml-zarith): Update to 1.7.
[source]: Use git-fetch.
2019-04-26 23:34:41 +02:00
Julien Lepiller eddfd11d70
gnu: ocaml-topkg: Update to 1.0.0.
* gnu/packages/ocaml.scm (ocaml-topkg): Update to 1.0.0.
2019-04-26 23:34:31 +02:00
Julien Lepiller 853af25ecd
gnu: ocaml-mtime: Update to 1.1.0.
* gnu/packages/ocaml.scm (ocaml-mtime): Update to 1.1.0.
2019-04-26 23:34:26 +02:00
Julien Lepiller 3f59ecfcb5
gnu: ocaml-qcheck: Update to 0.9.
* gnu/packages/ocaml.scm (ocaml-qcheck): Update to 0.9.
2019-04-26 23:34:10 +02:00
Ricardo Wurmus 152cbc3ca5
gnu: r-with-tests: Update to 3.6.0.
* gnu/packages/statistics.scm (r-with-tests): Update to 3.6.0.
[arguments]: Adjust "build-reproducibly" phase.
[native-inputs]: Add a texlive-union consisting of texlive-fonts-amsfonts,
texlive-fonts-ec, texlive-latex-amsfonts, texlive-latex-base,
texlive-latex-fancyvrb, texlive-latex-graphics, texlive-latex-hyperref,
texlive-latex-oberdiek, texlive-latex-tools, texlive-latex-upquote, and
texlive-latex-url.
2019-04-26 21:00:41 +02:00
Ricardo Wurmus 7f55904558
gnu: Add umi-tools.
* gnu/packages/bioinformatics.scm (umi-tools): New variable.
2019-04-26 21:00:37 +02:00
Timothy Sample 8caa458953
gnu: gdm: Install a placeholder desktop entry.
This fixes <https://bugs.gnu.org/35068>.

* gnu/packages/gnome.scm (gdm)[arguments]: Add a phase that installs a
placeholder desktop entry file.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-26 13:57:39 -04:00
Leo Famulari 8597aecb84
gnu: MPD: Update to 0.21.8.
* gnu/packages/mpd.scm (mpd): Update to 0.21.8.
2019-04-26 13:36:59 -04:00
Nicolas Goaziou 936a4f4371
gnu: mame: Update to 0.209.
* gnu/packages/emulators.scm (mame): Update to 0.209.
2019-04-26 18:54:16 +02:00
Julien Lepiller e379d1b5ef
gnu: dns: Fix configuration formating.
* gnu/services/dns.scm (format-string-list): Fix formating of lists with
only one symbol.
2019-04-26 18:37:48 +02:00
Julien Lepiller 273ba2552b
gnu: ocaml-integers: Update to 0.3.0.
* gnu/packages/ocaml.scm (ocaml-integers): Update to 0.3.0.
2019-04-26 18:29:02 +02:00
Julien Lepiller 12c3f62ab2
gnu: ocaml-easy-format: Update to 1.3.1.
* gnu/packages/ocaml.scm (ocaml-easy-format): Update to 1.3.1.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
2019-04-26 18:28:58 +02:00
Julien Lepiller 7e49538483
gnu: ocaml-fpath: Update to 0.7.2.
* gnu/packages/ocaml.scm (ocaml-fpath): Update to 0.7.2.
2019-04-26 18:28:54 +02:00
Julien Lepiller b858c5ac39
gnu: ocaml-ssl: Update to 0.5.7.
* gnu/packages/ocaml.scm (ocaml-ssl): Update to 0.5.7.
2019-04-26 18:28:49 +02:00
Julien Lepiller 44b8507d5e
gnu: ocaml-octavius: Update to 1.2.1.
* gnu/packages/ocaml.scm (ocaml-octavius): Update to 1.2.1.
2019-04-26 18:28:46 +02:00
Julien Lepiller 22cd6a1d4f
gnu: ocaml-result: Update to 1.3.
* gnu/packages/ocaml.scm (ocaml-result): Update to 1.3.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
2019-04-26 18:28:42 +02:00
Julien Lepiller 5cb40adaa2
gnu: ocaml-utop: Update to 2.3.0.
* gnu/packages/ocaml.scm (ocaml-utop): Update to 2.3.0.
2019-04-26 18:28:25 +02:00
Ludovic Courtès d7b05620a9
vm-image: Remove NetworkManager & co. and add the DHCP client.
* gnu/system/examples/vm-image.tmpl (services): Remove wpa-supplicant,
cups-pk-helper, and NetworkManager.  Add DHCP-CLIENT-SERVICE-TYPE.
2019-04-26 18:24:55 +02:00
Ludovic Courtès a9a0790376
gnu: xfdesktop: Stick a Guix logo in the background image.
* gnu/packages/xfce.scm (xfdesktop)[source](modules, snippet): New
fields.
[arguments]: New field.
[native-inputs]: Add INKSCAPE and IMAGEMAGICK.
2019-04-26 18:23:56 +02:00
Ludovic Courtès 94e1439800
services: cups-pk-helper: Export.
* gnu/services/desktop.scm (cups-pk-helper-service-type): Export.
2019-04-26 18:07:46 +02:00
Ludovic Courtès 1ac6c33cae
vm-image: Use the actual file name of the current file.
* gnu/system/examples/vm-image.tmpl (this-file): Use 'basename' and
'current-source-location'.
2019-04-26 16:47:11 +02:00
Ludovic Courtès 272db5bcf5
doc: Use ftp.gnu.org for downloads.
From now on, everything will be uploaded to ftp.gnu.org instead of
alpha.gnu.org.

* doc/guix.texi (BASE-URL): Switch to ftp.gnu.org.
2019-04-26 14:19:37 +02:00
Ludovic Courtès b57dd2006b
doc: Add 'BASE-URL' variable.
* doc/guix.texi (BASE-URL): New variable.
(Binary Installation, USB Stick and DVD Installation)
(Running Guix in a VM): Use it instead of hard-coded URL.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 98f035482f
installer: Actually reboot when the user presses "Reboot."
* gnu/installer/newt/final.scm (run-install-success-page): Return
'success.
* gnu/installer.scm (installer-program): Check the result of the 'final
step and reboot upon success.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 9529f7850e
installer: Take 'guix system init' exit code into account.
This allows the installer to distinguish success from failure, and also
ensures the shell that runs 'guix system init' exits upon completion.

* gnu/installer/utils.scm (run-shell-command)[pause]: New procedure.
Add "exec" before COMMAND in the script.  Guard 'invoke' call and handle
'invoke-error?'.  Add call to 'pause' on completion.
* gnu/installer/final.scm (install-system): Remove 'false-if-exception'.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 6c849cdb98
installer: Run wrapped program with 'execl', not 'system'.
'system' invokes /bin/sh, which is certainly not needed here.

* gnu/installer.scm (installer-program): Use 'execl', not 'system'.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 538b99f31f
system: Provide a new VM image configuration.
* gnu/system/examples/vm-image.tmpl: Rewrite.
* doc/guix.texi (Running Guix in a VM): Adjust accordingly.
2019-04-26 14:19:36 +02:00
Ludovic Courtès 504a0fc636
accounts: Always honor the configured user account shell.
Starting from commit 0ae735bcc8, Guix
System would preserve the user shell across reconfigure and reboot.
This was done so as to allow for the use of 'chsh'.

This proved to be a misguided decision.  This commit goes back to
considering user shells as config and not "state."

* gnu/build/accounts.scm (allocate-passwd): Do not use shell from
PREVIOUS.
2019-04-26 14:19:36 +02:00
Miguel Ángel Arruga Vivas 9ca5ff882e
bootstrap: Break automake dependency on generated files.
* bootstrap: Generate stub files for the manual translations whose
generated files are not included in the VCS.
* doc/contributing.de.texi: Remove file.
* doc/contributing.es.texi: Remove file.
* doc/contributing.fr.texi: Remove file.
* doc/contributing.zh_CN.texi: Remove file.
* doc/guix.de.texi: Remove file.
* doc/guix.es.texi: Remove file.
* doc/guix.fr.texi: Remove file.
* doc/guix.zh_CN.texi: Remove file.
* .gitignore: Add them.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-04-26 11:21:32 +02:00
Tobias Geerinckx-Rice 7342923d98
gnu: wgetpaste: Add and use wget input.
This package has but one purpose; late binding's overkill.

* gnu/packages/wget.scm (wgetpaste)[arguments]: Add ‘use-inputs’ phase.
[inputs]: Add wget.
2019-04-26 04:36:02 +02:00
Tobias Geerinckx-Rice 4f7db08571
gnu: hcxdumptool: Update to 5.1.4.
* gnu/packages/networking.scm (hcxdumptool): Update to 5.1.4.
2019-04-26 00:58:16 +02:00
Tobias Geerinckx-Rice 03c443ce8f
gnu: hcxtools: Update to 5.1.4.
* gnu/packages/networking.scm (hcxtools): Update to 5.1.4.
2019-04-26 00:58:06 +02:00
Tobias Geerinckx-Rice 55036ddc9a
gnu: soundtouch: Update to 2.1.1.
* gnu/packages/audio.scm (soundtouch): Update to 2.1.1.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
Remove patches.
* gnu/packages/patches/soundtouch-CVE-2018-1000223.patch,
gnu/packages/patches/soundtouch-CVE-2018-14044-14045.patch:
Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2019-04-26 00:56:32 +02:00
Tobias Geerinckx-Rice 88507036f6
gnu: tmux-xpanes: Update to 4.1.0.
* gnu/packages/tmux.scm (tmux-xpanes): Update to 4.1.0.
2019-04-26 00:54:00 +02:00
Arun Isaac 9be92490b5
gnu: librepcb: Update to 0.1.1.
* gnu/packages/engineering.scm (librepcb): Update to 0.1.1.
2019-04-26 01:58:30 +05:30
Julien Lepiller 92eb600f8a
gnu: knot-service: Add includes field in configuration.
* gnu/services/dns.scm (knot-configuration): Add includes field.
(verify-knot-configuration): Check includes content.
(knot-config-file): Serialize includes.
* doc/guix.texi (DNS Services): Document it.
2019-04-25 21:44:55 +02:00