Partly fixes <http://bugs.gnu.org/20720>
Reported by Alex Kost <alezost@gmail.com>.
* gnu/system.scm (etc-directory): Change default #:sudoers value to a
'plain-file'. Don't bind it. Remove #~#$.
(maybe-string->file): New procedure.
(operating-system-etc-directory): Use it.
(%sudoers-specification): Use 'plain-file'.
* doc/guix.texi (operating-system Reference): Adjust accordingly.
* gnu/packages/ocaml.scm (ocaml)[version]: Update to 4.02.1.
[source]: Use 'version-major+minor'. Use .xz tarball.
[home-page]: Update URI.
[license]: gpl2 -> lgpl2.0.
[inputs]: Add libx11, gcc:lib, and zlib. Remove perl.
[native-inputs]: New field, with perl and pkg-config.
[arguments]: In #:modules, remove (srfi srfi-1), add (web server). Use
'modify-phases'. Enable parallel build. Add 'patch-/bin/sh-references' and
'prepare-socket-test' phases. Rename 'check-after-install' phase to
'check'. Use 'with-directory-excursion' in 'check' phase. Remove unused
keyword arguments from custom phases.
* gnu/packages/gl.scm (guile-opengl)[inputs]: Add glu.
[arguments]: Patch dynamic-link call for 'libGLU' to glu instead of
mesa in the 'patch-dynamic-link' phase.
* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Copy libraries from
"linux/gcc/i386" directory instead of "linux/gcc/i686" when building on
i686.
* gnu/packages/openldap.scm (openldap)[source]: Remove former URI (domain name
vanished) and add an up-to-date list of URLs. Reported by Alexander
Vorobiev <alexander.vorobiev@gmail.com>.
The version (2.8.9) mentioned in the previous commit (e7e8ea0) message
was wrong. Should be '2.4.9'.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.8.3.
* gnu/packages/webkit.scm (webkitgtk-2.4): Update to 2.8.9, build with gtk3.
Move flex and which to 'native-inputs'. Remove #:configure-flags.
(webkitgtk/gtk+-2): New variable.
* gnu/packages/gnucash.scm (gnucash): Use webkitgtk/gtk+-2.
* gnu/packages/patches/webkitgtk-2.4.8-gmutexlocker.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
Co-authored-by: Feng Shu <tumashu@163.com>
* gnu/system/shadow.scm (%base-user-accounts): New variable.
* gnu/system.scm (<operating-system>)[users]: Use it as the default value.
* gnu/system/examples/bare-bones.tmpl (users): Use it.
* gnu/system/examples/desktop.tmpl (users): Likewise.
* doc/guix.texi (operating-system Reference, User Accounts): Adjust
accordingly.
Fixes <http://bugs.gnu.org/20646>.
Reported by David Thompson <davet@gnu.org>.
* gnu/system/shadow.scm (assert-valid-users/groups): New procedure
* gnu/system.scm (operating-system-activation-script): Use it.
* tests/guix-system.sh (make_user_config): New function.
Add 3 tests using it.
* po/guix/POTFILES.in: Add gnu/system/shadow.scm.