Commit graph

43729 commits

Author SHA1 Message Date
Christopher Baines
0534427551
vm: Pass -smp to QEMU to allow use of multiple cores.
* gnu/build/vm.scm (load-in-linux-vm): Pass (parallel-job-count) to QEMU with
-smp to allow using multiple cores.
2019-04-29 21:11:38 +01:00
Ludovic Courtès
09a9f10974
tests: Adjust wildcard when testing OS examples.
* tests/guix-system.sh: Use *.tmpl instead of *, to avoid catching
backup files, etc.
2019-04-29 21:57:52 +02:00
Ludovic Courtès
c20d4cac1f
processes: Gracefully handle daemons without clients.
Fixes <https://bugs.gnu.org/34716>.
Reported by Mark H Weaver <mhw@netris.org>.

The problem could be reproduced by running, on one hand:

  sh -c 'exec -a guix-daemon sleep 777'

and on the other hand:

  guix processes

If there is no process with PID 777, 'guix processes' would barf as it
stumbles upon a <daemon-session> record whose client is #f.

* guix/scripts/processes.scm (daemon-sessions)[child-process->session]:
New procedure, with lambda formerly passed to 'map'.  Handle #f returns
from 'lookup-process'.
Call 'child-process->session' within 'filter-map', not just 'map'.
2019-04-29 21:54:10 +02:00
Ludovic Courtès
c21d912a02
processes: 'process-open-files' ignores disappeared /proc/PID/fd entries.
Previously, 'process-open-files' would throw ENOENT if an entry had
vanished after the 'scandir' call and before the 'readlink' call.

* guix/scripts/processes.scm (process-open-files): Catch ENOENT errors
from 'readlink'.
2019-04-29 21:39:38 +02:00
Marius Bakke
b6afc35051
gnu: Add i3lock.
* gnu/packages/wm.scm (i3lock): New public variable.
2019-04-29 20:10:43 +02:00
Marius Bakke
05e1534ee8
gnu: kodi: Update to 18.2.
* gnu/packages/kodi.scm (kodi): Update to 18.2.
* gnu/packages/patches/kodi-set-libcurl-ssl-parameters.patch: Adjust for
upstream changes.
2019-04-29 20:10:43 +02:00
Marius Bakke
06c86f166d
gnu: msmtp: Update to 1.8.4.
* gnu/packages/mail.scm (msmtp): Update to 1.8.4.
2019-04-29 20:10:43 +02:00
Marius Bakke
b339f14cb2
gnu: elogind: Update to 241.3.
* gnu/packages/freedesktop.scm (elogind): Update to 241.3.
2019-04-29 20:10:42 +02:00
Marius Bakke
2e652add1f
gnu: ftgl: Don't build libftgl.a.
* gnu/packages/gl.scm (ftgl)[arguments]: Add "--disable-static" to #:configure-flags.
2019-04-29 20:10:42 +02:00
Marius Bakke
a1570c89fe
gnu: qemu: Build verbosely.
* gnu/packages/virtualization.scm (qemu)[arguments]: Remove phase
'make-gtester-verbose' in favor of #:make-flags.
2019-04-29 20:10:42 +02:00
Ricardo Wurmus
4267481a4e
gnu: Remove scmutils.
Fixes <https://bugs.gnu.org/34203>.

* gnu/packages/scheme.scm (scmutils): Remove variable.
2019-04-29 17:20:44 +02:00
Julien Lepiller
373a2a0797
gnu: ocaml-yojson: Update to 1.7.0.
* gnu/packages/ocaml.scm (ocaml-yojson): Update to 1.7.0.
(ocaml-merlin): Use jbuild to prevent a build failure due to a
deprecation warning.
2019-04-29 15:44:14 +02:00
Nicolas Goaziou
fdd9ab3721
gnu: Add missing module in games.scm. 2019-04-29 15:08:59 +02:00
Nicolas Goaziou
1abe2e2a29
gnu: Add missing modules in games.scm. 2019-04-29 14:56:32 +02:00
Nicolas Goaziou
a3d4a631fe
gnu: Add hedgewars.
* gnu/packages/games.scm (hedgewars): New variable.
2019-04-29 14:37:58 +02:00
Nicolas Goaziou
e8a0696d56
gnu: Add jumpnbump.
* gnu/packages/games.scm (jumpnbump): New variable.
2019-04-29 14:37:01 +02:00
Nicolas Goaziou
1a8984536f
gnu: Add sdl2-net.
* gnu/packages/sdl.scm (sdl2-net): New variable.
2019-04-29 14:37:01 +02:00
Vagrant Cascadian
6b99afeef8
gnu: u-boot: Update to 2019.04.
* gnu/packages/bootloaders.scm (u-boot): Update to 2019.04.
[source]: Add patch.
(u-boot-novena): Update dynamic patch to handle config key rename.
(u-boot-am335x-evm): New variable.
(u-boot-am335x-boneblack): Build with modified am335x-evm config.
(u-boot-novena): Fix typo in description.
* gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Use
u-boot-am335x-boneblack.
* gnu/packages/patches/u-boot-fix-mkimage-header-verification.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-29 12:35:04 +02:00
Ludovic Courtès
da56f10971
guix package: Add 'guix search' alias.
* guix/scripts/search.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a
couple of examples.
2019-04-29 12:19:24 +02:00
rendaw
9d3053819d
file-systems: Support the 'no-atime' flag.
* guix/build/syscalls.scm (MS_NOATIME): New variable.
* gnu/build/file-systems.scm (mount-flags->bit-mask): Support it.
* doc/guix.texi (File Systems): Document it and add cross-references to
the relevant documentation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 12:19:03 +02:00
Ludovic Courtès
2f8198dfed
Update NEWS. 2019-04-29 11:31:23 +02:00
Ludovic Courtès
e432ce1b85
doc: Remove traces of "Guix System Distribution".
* doc/guix.texi (Invoking guix package)
(Official Substitute Server, System Configuration): Replace "the Guix
System Distribution" by "Guix System".
2019-04-29 11:17:39 +02:00
Ludovic Courtès
20dbd858ad
doc: Add 'SUBSTITUTE-URL' variable.
* doc/guix.texi (SUBSTITUTE-SERVER): New variable.
(Invoking guix weather): Use it.
2019-04-29 10:54:43 +02:00
Ludovic Courtès
d824cfbabe
guix package: Add 'install', 'remove', and 'upgrade' aliases.
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this.  New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
2019-04-29 10:13:44 +02:00
Ludovic Courtès
4c89dc354e
gnu: font-public-sans: Adjust synopsis and description.
* gnu/packages/fonts.scm (font-public-sans)[synopsis, description]:
Adjust.
2019-04-29 09:53:06 +02:00
Jens M
245aa0e344
gnu: Add font-public-sans.
* gnu/packages/fonts.scm (font-public-sans): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:51:41 +02:00
Meiyo Peng
772bcb1cf0
installer: Fix typo in docstring.
* gnu/installer/newt/wifi.scm (draw-scanning-page): Fix typo in docstring.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:48:40 +02:00
Vagrant Cascadian
c31bec88a8
gnu: diffoscope: Update to 114.
* gnu/packages/package-management (diffoscope): Update to 114.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:33:55 +02:00
Diego Nicola Barbato
b901b72545
services: slim: Honor the value of slim from slim-configuration.
Previously setting the slim field in slim-configuration would have no effect.

* gnu/services/xorg.scm (slim-shepherd-service): Remove unused let binding for
  slim.  Use (slim-configuration-slim config) instead of the default slim.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-04-29 09:33:55 +02:00
Christopher Baines
fdb513a704
gnu: Fix missing bison package in (gnu packages algebra).
This fixes a regression introduced in
6d3896b9fc.

* gnu/packages/algebra.scm: Use the (gnu packages bison) module.
2019-04-28 23:58:13 +01:00
Christopher Baines
81aa6c721b
gnu: direnv: Change to the go-build-system.
The go-build-system is slightly more appropriate, and switching resolves an
issue with combining the 'unpack phase from the gnu-build-system, and the
'setup-go-environment from the go-build-system. With both of those phases
creating a directory, the first-subdirectory call at the end of the 'unpack
phase can return different values depending on the filesystem ordering.

* gnu/packages/shellutils.scm (direnv)[source]: Use the git repository, as
this works better with the go-build-system.
[build-system]: Change to the go-build-system.
[arguments]: Adjust for the go-build-system.
[native-inputs]: Remove go.
2019-04-28 23:13:31 +01:00
Ludovic Courtès
d779de1817
installer: Tell the user where the config file is.
* gnu/installer/newt/final.scm (strip-prefix): New procedure.
(run-config-display-page): Add a sentence showing where the config file
is stored.
2019-04-28 22:57:08 +02:00
Ludovic Courtès
ada4aeb068
installer: Fix handling of user password mismatches.
Previously, if we had a password mismatch, the 'password' field would
end up containing a <user> record instead of the actual password.

* gnu/installer/newt/user.scm (confirm-password): Make TRY-AGAIN
optional and adjust docstring.
(run-user-add-page): Move 'confirm-password' call one level higher.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
0e8e963d73
installer: User accounts can now have a "real name."
* gnu/installer/newt/user.scm (run-user-add-page): Add #:real-name.  Add
a label and entry for the real name and initialize the 'real-name' field
of the <user> record.
* gnu/installer/final.scm (create-user-database): Set the 'comment'
field of the <user-account> record.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
43c1c44a11
installer: User can have a "real name".
* gnu/installer/user.scm (<user>)[real-name]: New field.
(users->configuration)[use->sexp]: Turn it into a 'comment' field.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
ed5a5d38cf
installer: Improve layout of the partitioning page.
Previously the "listbox" would be unnecessarily high, leaving too little
space for the German translation of the text above.

* gnu/installer/newt/partition.scm (run-disk-page): Increase
 #:info-textbox-width and pass #:listbox-height.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
113bc08172
installer: Add 'nss-certs' to the networking services.
Fixes <https://bugs.gnu.org/35469>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/installer/services.scm (%system-services): Add service for
'nss-certs', with 'recommended?' set to #t.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
1d9fcdacf9
installer: Recommended services are pre-selected.
* gnu/installer/services.scm (<system-service>)[recommended?]: New
field.
* gnu/installer/newt/services.scm (run-desktop-environments-cbt-page):
Pass #:selection to 'run-checkbox-tree-page', computed from the
'recommended?' field of each service.
(run-networking-cbt-page): Likewise.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
7253c2b629
installer: Add #:selection parameter to 'run-checkbox-tree-page'.
* gnu/installer/newt/page.scm (%none-selected): New variable.
(run-checkbox-tree-page): Add #:selection.
[fill-checkbox-tree]: Honor it.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
0fe1692200
doc: Duplicate recommendation about 'guix-install.sh'.
Since our web site points to "Binary Installation", it's best to have
that note there.

* doc/guix.texi (Binary Installation): Add note about guix-install.sh.
2019-04-28 22:57:07 +02:00
Ludovic Courtès
7dac61143d
Update NEWS. 2019-04-28 22:57:07 +02:00
Ludovic Courtès
a4ae05fb8b
vm-image: Add 'nss-certs' to the global package set.
* gnu/system/examples/vm-image.tmpl (packages): Add NSS-CERTS.
2019-04-28 22:57:06 +02:00
Ludovic Courtès
0663302618
describe: Provide a hint when origin detection fails.
* guix/scripts/describe.scm (display-checkout-info): Add call to
'display-hint' in the error case.
2019-04-28 22:57:06 +02:00
Nicolas Goaziou
e0f3a4feb5
gnu: Fix typo.
* gnu/packages/algebra.scm (giac-xcas): Fix typo.
2019-04-28 22:16:03 +02:00
Nicolas Goaziou
7fc0e3dbbb
gnu: giac-xcas: Rename to "giac" to match upstream name.
* gnu/packages/algebra.scm (giac): New variable.
(giac-xcas): Deprecate.
2019-04-28 21:41:57 +02:00
Nicolas Goaziou
6d3896b9fc
gnu: giac-xcas: Add inputs.
* gnu/packages/algebra.scm (giac-xcas)[inputs]: Add glpk, libsamplerate, bison
  and flex.
2019-04-28 21:35:39 +02:00
Nicolas Goaziou
9f73ac242c
gnu: giac-xcas: Fix documentation.
* gnu/packages/algebra.scm (giac-xcas): Use a single output.  Fix licensing
  issues in documentation.

Xcas expects documentation to be located at a fixed location, not compatible
with a "doc" output.
2019-04-28 21:35:37 +02:00
Mark H Weaver
0e09c099cb
gnu: linux-libre: Update to 5.0.10.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.0.10.
(%linux-libre-hash): Update hash.
2019-04-28 13:35:43 -04:00
Mark H Weaver
e9ef345508
gnu: linux-libre@4.19: Update to 4.19.37.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.37.
(%linux-libre-4.19-hash): Update hash.
2019-04-28 13:34:57 -04:00
Mark H Weaver
4943ddf878
gnu: linux-libre@4.14: Update to 4.14.114.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.114.
(%linux-libre-4.14-hash): Update hash.
2019-04-28 13:34:06 -04:00