jackhill/guix/guix.git
10 years agodaemon: Fix 'HashSink::currentHash()'.
Ludovic Courtès [Wed, 18 Dec 2013 20:48:57 +0000 (21:48 +0100)]
daemon: Fix 'HashSink::currentHash()'.

Before that, calls to 'HashSink::currentHash()' would eventually lead to
a segfault because the underlying gcrypt handle has been closed.  (Note
that this method is only used via 'importPaths' and 'exportPath', though.)

* nix/libutil/gcrypt-hash.hh (struct guix_hash_context): Add a
  constructor and a copy constructor; move out of 'extern "C"'.
* nix/libutil/gcrypt-hash.cc (guix_hash_final): Clear 'md_handle' upon
  exit.
* nix/sync-with-upstream (top_srcdir): Change hash.{cc,hh} to read
  'struct Ctx' instead of 'union Ctx'.

10 years agodaemon: Add libgcrypt call to state that the initialization is over.
Ludovic Courtès [Wed, 18 Dec 2013 20:29:00 +0000 (21:29 +0100)]
daemon: Add libgcrypt call to state that the initialization is over.

* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.

10 years agognu: xf86-video-vmware: Add input xorg-server.
Andreas Enge [Wed, 18 Dec 2013 18:58:40 +0000 (19:58 +0100)]
gnu: xf86-video-vmware: Add input xorg-server.

* gnu/packages/xorg.scm (xf86-video-vmware): Add input xorg-server.

10 years agognu: iso-codes: Update to 3.49.
Andreas Enge [Wed, 18 Dec 2013 14:49:57 +0000 (15:49 +0100)]
gnu: iso-codes: Update to 3.49.

* gnu/packages/iso-codes.scm (iso-codes): Update to 3.49.

10 years agognu: shishi: Use libgcrypt-1.5.
Andreas Enge [Wed, 18 Dec 2013 13:24:34 +0000 (14:24 +0100)]
gnu: shishi: Use libgcrypt-1.5.

* gnu/packages/shishi.scm (shishi): Use input libgcrypt-1.5 instead of 1.6.

10 years agognu: libgcrypt: Make old version 1.5.3 public.
Andreas Enge [Wed, 18 Dec 2013 13:11:01 +0000 (14:11 +0100)]
gnu: libgcrypt: Make old version 1.5.3 public.

* gnu/packages/gnupg.scm (libgcrypt-1.5): New variable.
* gnu/packages/ssh.scm (libssh): Use libgcrypt-1.5 instead of defining it
    ad-hoc.

10 years agognu: libssh: Upgrade to 0.5.5.
Ludovic Courtès [Tue, 17 Dec 2013 21:02:07 +0000 (22:02 +0100)]
gnu: libssh: Upgrade to 0.5.5.

* gnu/packages/ssh.scm (libssh): Upgrade to 0.5.5.

10 years agognu: libssh: Build against an older libgcrypt.
Ludovic Courtès [Tue, 17 Dec 2013 21:01:42 +0000 (22:01 +0100)]
gnu: libssh: Build against an older libgcrypt.

* gnu/packages/ssh.scm (libssh): Use libgcrypt 1.5.3 as an input.

10 years agognu: ffmpeg: Modify runpath of binaries to include output library path.
Andreas Enge [Tue, 17 Dec 2013 20:19:41 +0000 (21:19 +0100)]
gnu: ffmpeg: Modify runpath of binaries to include output library path.

* gnu/packages/video.scm (ffmpeg): Patch binaries to add output library path
    to runpath.

10 years agognu: tor: Upgrade to 0.2.4.19.
Ludovic Courtès [Mon, 16 Dec 2013 22:57:24 +0000 (23:57 +0100)]
gnu: tor: Upgrade to 0.2.4.19.

* gnu/packages/tor.scm (tor): Upgrade to 0.2.4.19.

10 years agognu: freeipmi: Upgrade to 1.3.4.
Ludovic Courtès [Mon, 16 Dec 2013 22:45:21 +0000 (23:45 +0100)]
gnu: freeipmi: Upgrade to 1.3.4.

* gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.3.4.

10 years agognu: libgcrypt: Upgrade to 1.6.0.
Ludovic Courtès [Mon, 16 Dec 2013 22:44:58 +0000 (23:44 +0100)]
gnu: libgcrypt: Upgrade to 1.6.0.

* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.6.0.

10 years agopull: Move build code to (guix build pull).
Ludovic Courtès [Mon, 16 Dec 2013 22:07:17 +0000 (23:07 +0100)]
pull: Move build code to (guix build pull).

* guix/build/pull.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/pull.scm (unpack): Use it.

10 years agognu: Add gnome-desktop.
Cyril Roelandt [Tue, 15 Oct 2013 01:29:13 +0000 (03:29 +0200)]
gnu: Add gnome-desktop.

* gnu/packages/gnome.scm (gnome-desktop): New variable.

10 years agognu: Add iso-codes.
Cyril Roelandt [Tue, 15 Oct 2013 01:28:59 +0000 (03:28 +0200)]
gnu: Add iso-codes.

* gnu/packages/iso-codes.scm: New file.
* gnu-system.am: Add it.

10 years agognu: Add libpeas.
Cyril Roelandt [Mon, 14 Oct 2013 22:34:35 +0000 (00:34 +0200)]
gnu: Add libpeas.

* gnu/packages/gnome.scm (libpeas): New variable.

10 years agognu: gtk+: enable introspection.
Cyril Roelandt [Mon, 14 Oct 2013 22:14:34 +0000 (00:14 +0200)]
gnu: gtk+: enable introspection.

* gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection
* guix/build/gnome.scm: New file.

10 years agognu: gobject-introspection: look for 'gcc' when no compiler seems available.
Cyril Roelandt [Wed, 16 Oct 2013 01:47:56 +0000 (03:47 +0200)]
gnu: gobject-introspection: look for 'gcc' when no compiler seems available.

* gnu/packages/patches/gobject-introspection.patch: New file.

10 years agognu: Move libelf and patchelf to (gnu packages elf).
Ludovic Courtès [Sun, 15 Dec 2013 22:27:56 +0000 (23:27 +0100)]
gnu: Move libelf and patchelf to (gnu packages elf).

* gnu/packages/patchelf.scm (patchelf): Move to...
* gnu/packages/elf.scm (patchelf): ... here.
* gnu/packages/patchelf.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/gcc.scm (libelf): Move to...
* gnu/packages/elf.scm (libelf): ... here.
* gnu/packages/cdrom.scm, gnu/packages/icu4c.scm,
  gnu/packages/samba.scm, gnu/packages/scheme.scm, gnu/packages/ssh.scm:
  Adjust references to (gnu packages patchelf).

10 years agognu: Add elfutils.
Ludovic Courtès [Sun, 15 Dec 2013 22:19:44 +0000 (23:19 +0100)]
gnu: Add elfutils.

* gnu/packages/elf.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agognu: Move numerous "inputs" which should be "native-inputs".
John Darrington [Sun, 15 Dec 2013 11:01:56 +0000 (12:01 +0100)]
gnu: Move numerous "inputs" which should be "native-inputs".

* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
  gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
  gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
  gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
  gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
  gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
  gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
  gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
  gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
  gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
  gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
  gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
  gnu/packages/texlive.scm, gnu/packages/version-control.scm,
  gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
  gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
  gnu/packages/zip.scm:  Move some build-time dependencies from `inputs' to
  `native-inputs'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gnupg: Fix cross-compile issues.
John Darrington [Sun, 15 Dec 2013 08:39:05 +0000 (09:39 +0100)]
gnu: gnupg: Fix cross-compile issues.

* gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input,
  and set the CC_FOR_BUILD variable.

* gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and
  set the --with-gpg-error-prefix configure option.

* gnu/packages/gnupg.scm (libksba): Add libgpg-error as a native input and
  set the --with-gpg-error-prefix configure option.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: openssl: Fix cross-compile issues.
John Darrington [Sun, 15 Dec 2013 08:03:37 +0000 (09:03 +0100)]
gnu: openssl: Fix cross-compile issues.

* gnu/packages/openssl.scm (openssl): Move perl from inputs to
  native-inputs.
  Replace reference to target bash with the native bash or target bash as
  appropriate.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: imagemagick: Add inputs.
Andreas Enge [Sun, 15 Dec 2013 00:15:49 +0000 (01:15 +0100)]
gnu: imagemagick: Add inputs.

* gnu/packages/imagemagick.scm (imagemagick): Add inputs fftw and lcms.

10 years agognu: imagemagick: Update to 6.8.7-9.
Andreas Enge [Sat, 14 Dec 2013 23:19:09 +0000 (00:19 +0100)]
gnu: imagemagick: Update to 6.8.7-9.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.8.7-9.

10 years agognu: qt: Update to 5.2.0.
Andreas Enge [Sat, 14 Dec 2013 22:16:46 +0000 (23:16 +0100)]
gnu: qt: Update to 5.2.0.

* gnu/packages/qt.scm (qt): Update to 5.2.0.

10 years agoguix package: allow multiple arguments after -i, -r, and -u.
Mark H Weaver [Fri, 13 Dec 2013 20:37:57 +0000 (15:37 -0500)]
guix package: allow multiple arguments after -i, -r, and -u.

* guix/scripts/package.scm (%options): Adapt option processors to accept and
  return a second seed value: 'arg-handler', which handles bare arguments (if
  not false).  The install, remove, and upgrade option processors return an
  arg-handler that repeat the same operation.  All other option processors
  return #f as the arg-handler.  Make the arguments to install and remove
  optional.  The upgrade option processor deletes (upgrade . #f) from the
  alist before adding a new entry.
  (guix-package): Procedures passed to 'args-fold*' accept the new seed value
  'arg-handler'.  The 'operand-proc' uses 'arg-handler' (if not false).

* doc/guix.texi (Invoking guix package): Update docs.

* tests/guix-package.sh: Add test.

10 years agognu: libxml2: Fixed cross-compilation.
John Darrington [Sat, 14 Dec 2013 18:05:17 +0000 (19:05 +0100)]
gnu: libxml2: Fixed cross-compilation.

* gnu/packages/xml.scm (libxml2): assign "cross-libc"
  to the variable glibc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: tzdata: Fix cross-compilation.
Ludovic Courtès [Sat, 14 Dec 2013 18:23:29 +0000 (19:23 +0100)]
gnu: tzdata: Fix cross-compilation.

Reported by John Darrington <john@darrington.wattle.id.au>.

* gnu/packages/base.scm (tzdata): Use the 'source' keyword argument in
  phases rather than the "source" input.  This fixes cross-compilation.

10 years agopull: Compile guix/ files before gnu/ files.
Ludovic Courtès [Sat, 14 Dec 2013 15:48:38 +0000 (16:48 +0100)]
pull: Compile guix/ files before gnu/ files.

* guix/scripts/pull.scm (unpack)[builder]: Build files under guix/
  before files under gnu/.

10 years agopull: Compile files in parallel.
Ludovic Courtès [Sat, 14 Dec 2013 15:31:01 +0000 (16:31 +0100)]
pull: Compile files in parallel.

* guix/scripts/pull.scm (unpack)[builder](compile-file*): Remove.
  (call-with-process, p-for-each): New procedures.  Use them to compile
  files in parallel.

10 years agopull: Limit memory usage when compiling.
Ludovic Courtès [Fri, 13 Dec 2013 23:40:15 +0000 (00:40 +0100)]
pull: Limit memory usage when compiling.

Reported by Arne Babenhauserheide <arne.babenhauserheide@kit.edu>.

* guix/scripts/pull.scm (unpack)[builder](compile-file*): Change to run
  'compile-file' in a child process.  This limits memory usage; before
  that memory usage was proportional to the number of files to compile.

10 years agognu: icecat: Further analyse the failure of using system libpng and libjpeg.
Andreas Enge [Sat, 14 Dec 2013 12:50:37 +0000 (13:50 +0100)]
gnu: icecat: Further analyse the failure of using system libpng and libjpeg.

* gnu/packages/gnuzilla.scm (icecat): Add comments.

10 years agognu: file: Fixed cross-compilation.
John Darrington [Fri, 13 Dec 2013 09:52:12 +0000 (10:52 +0100)]
gnu: file: Fixed cross-compilation.

* gnu/packages/file.scm (file): [(eq? (%current-target-system) #f)] Add native-inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: icecat: Build without debugging symbols; use some of the system libs.
Ludovic Courtès [Fri, 13 Dec 2013 17:08:18 +0000 (18:08 +0100)]
gnu: icecat: Build without debugging symbols; use some of the system libs.

* gnu/packages/gnuzilla.scm (icecat): Add 'native-inputs'.  Add bzip2,
  libevent, libffi, and zlib as inputs.  Add #:configure-flags.  Change
  'configure' phase to honor it.

10 years agognu: idutils: Add Emacs as an input so idutils.el gets compiled and installed.
Ludovic Courtès [Fri, 13 Dec 2013 17:01:40 +0000 (18:01 +0100)]
gnu: idutils: Add Emacs as an input so idutils.el gets compiled and installed.

* gnu/packages/idutils.scm (idutils): Add Emacs to 'native-inputs'.

10 years agognu: global: Install the elisp file under $out/share/emacs/site-lisp.
Ludovic Courtès [Fri, 13 Dec 2013 17:01:04 +0000 (18:01 +0100)]
gnu: global: Install the elisp file under $out/share/emacs/site-lisp.

* gnu/packages/global.scm (global)[arguments]: Add #:phases.

10 years agognu: ffmpeg: Check via "make fate".
Andreas Enge [Fri, 13 Dec 2013 10:32:25 +0000 (11:32 +0100)]
gnu: ffmpeg: Check via "make fate".

* gnu/packages/patches/ffmpeg-check.patch: Drop patch.
* gnu-system.am (dist_patch_DATA): Unregister patch.
* gnu/packages/video.scm (ffmpeg): Drop patch and use "fate" as test target
    as recommended at http://trac.ffmpeg.org/ticket/3177#comment:11 .
* gnu/packages/video.scm

10 years agognu: libtasn1: Upgrade to 3.4.
Ludovic Courtès [Wed, 11 Dec 2013 22:05:12 +0000 (23:05 +0100)]
gnu: libtasn1: Upgrade to 3.4.

* gnu/packages/gnutls.scm (libtasn1): Upgrade to 3.4.  Add
  'native-inputs' field.

10 years agobuild: Skip one 'package-source-derivation' test when networking is missing.
Ludovic Courtès [Wed, 11 Dec 2013 12:55:49 +0000 (13:55 +0100)]
build: Skip one 'package-source-derivation' test when networking is missing.

* tests/packages.scm ("package-source-derivation, snippet"): Skip when
  networking is missing.

10 years agognu: guix: Upgrade to 0.5.
Ludovic Courtès [Wed, 11 Dec 2013 12:55:17 +0000 (13:55 +0100)]
gnu: guix: Upgrade to 0.5.

* gnu/packages/package-management.scm (guix): Upgrade to 0.5.  Update
  the bootstrap binaries; add mips64el; add
  'guix-test-networking.patch'.

10 years agobuild: Bump to version 0.6.
Ludovic Courtès [Wed, 11 Dec 2013 12:53:03 +0000 (13:53 +0100)]
build: Bump to version 0.6.

* configure.ac: Switch to 0.6.

10 years agoUpdate 'NEWS'.
Ludovic Courtès [Wed, 11 Dec 2013 12:06:19 +0000 (13:06 +0100)]
Update 'NEWS'.

10 years agobuild: Remove '..' from srcdir/builddir in 'pre-inst-env'.
Ludovic Courtès [Wed, 11 Dec 2013 10:58:54 +0000 (11:58 +0100)]
build: Remove '..' from srcdir/builddir in 'pre-inst-env'.

* pre-inst-env.in (abs_top_srcdir, abs_top_builddir): New variables.
  Use them instead of @abs_top_srcdir@ and @abs_top_builddir@.
  This fixes the "package-field-location, relative file name" test in
  'make distcheck'.

10 years agodoc: Slightly improve the "System Configuration" node.
Ludovic Courtès [Wed, 11 Dec 2013 09:47:55 +0000 (10:47 +0100)]
doc: Slightly improve the "System Configuration" node.

* doc/guix.texi (System Configuration): Add paragraph on upgrades and
  rollback, moved from "Using the Configuration System".
  (Using the Configuration System): Change variable name to
  'komputilo'.  Add xref to "Package Modules".

10 years agognu: gdb: Upgrade to 7.6.2.
Ludovic Courtès [Wed, 11 Dec 2013 00:25:39 +0000 (01:25 +0100)]
gnu: gdb: Upgrade to 7.6.2.

* gnu/packages/gdb.scm (gdb): Update to 7.6.2.

10 years agognu: vm: Increase size of VM image.
Ludovic Courtès [Wed, 11 Dec 2013 00:10:41 +0000 (01:10 +0100)]
gnu: vm: Increase size of VM image.

* gnu/system/vm.scm (system-qemu-image): Add 'disk-image-size'
  parameter; increase it.

10 years agostore: Optimize 'store-path-package-name' and 'store-path-hash-part'.
Ludovic Courtès [Tue, 10 Dec 2013 23:19:27 +0000 (00:19 +0100)]
store: Optimize 'store-path-package-name' and 'store-path-hash-part'.

* guix/store.scm (store-regexp*): New procedure.
  (store-path-package-name, store-path-hash-part): Use it.

10 years agostore: Add tests for 'store-path-package-name'.
Ludovic Courtès [Tue, 10 Dec 2013 23:18:07 +0000 (00:18 +0100)]
store: Add tests for 'store-path-package-name'.

* tests/store.scm ("store-path-package-name", "store-path-package-name
  #f"): New tests.

10 years agoUpdate '.po' files.
Ludovic Courtès [Tue, 10 Dec 2013 21:56:26 +0000 (22:56 +0100)]
Update '.po' files.

10 years agoNEWS: Small changes.
Andreas Enge [Tue, 10 Dec 2013 21:14:23 +0000 (22:14 +0100)]
NEWS: Small changes.

NEWS: Typos and very minor changes.

10 years agoUpdate 'NEWS'.
Ludovic Courtès [Tue, 10 Dec 2013 20:53:59 +0000 (21:53 +0100)]
Update 'NEWS'.

10 years agognu: Honor the operating system's locale and timezone.
Ludovic Courtès [Tue, 10 Dec 2013 20:46:59 +0000 (21:46 +0100)]
gnu: Honor the operating system's locale and timezone.

* gnu/system.scm (etc-directory): Add 'locale' and 'timezone'
  parameters.  Set 'LC_ALL', 'TZ', and 'TZDIR' in /etc/profile.
  (operating-system-derivation): Adjust call accordingly.
* gnu/system/vm.scm (%demo-operating-system): Change locale to
  'en_US.UTF-8'.  Add TZDATA to 'packages'.

10 years agohydra: Add zlib, gzip, and xz to the core package set.
Ludovic Courtès [Tue, 10 Dec 2013 12:56:26 +0000 (13:56 +0100)]
hydra: Add zlib, gzip, and xz to the core package set.

* build-aux/hydra/gnu-system.scm (%core-packages): Add zlib, gzip, and xz.

10 years agognu: compression: Fix cross-compilation of zlib.
John Darrington [Mon, 9 Dec 2013 21:57:15 +0000 (22:57 +0100)]
gnu: compression: Fix cross-compilation of zlib.

* gnu/packages/compression.scm : Zlib uses a non-standard
  way of configuring for cross-compilation.  Thanks to Ludovic
  for showing me the correct way to fix this.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agodoc: First stab at documenting whole-system configuration.
Ludovic Courtès [Mon, 9 Dec 2013 23:23:33 +0000 (00:23 +0100)]
doc: First stab at documenting whole-system configuration.

* doc/guix.texi (Features): Add xref to "Using the Configuration
  System".
  (System Configuration, Using the Configuration System, Defining
  Services): New nodes.

10 years agognu: Allow a plain list of packages in 'operating-system'.
Ludovic Courtès [Mon, 9 Dec 2013 22:45:27 +0000 (23:45 +0100)]
gnu: Allow a plain list of packages in 'operating-system'.

* gnu/system.scm (union): Allow (PACKAGE OUTPUT), (PACKAGE), and
  PACKAGE.
  (<operating-system>)[packages]: Make the default a list of package?
  objects.
* gnu/system/vm.scm (%demo-operating-system): Likewise.  Add a few
  packages.

10 years agognu: Add 'inputs' field to <user-account>; make 'shell' a monadic value.
Ludovic Courtès [Mon, 9 Dec 2013 21:29:01 +0000 (22:29 +0100)]
gnu: Add 'inputs' field to <user-account>; make 'shell' a monadic value.

* gnu/system/shadow.scm (<user-account>)[inputs]: New field.
  (passwd-file): Bind the 'shell' field of each account.
* gnu/system/vm.scm (%demo-operating-system): Remove 'shell' field.
* gnu/system/dmd.scm (guix-build-accounts): Store a monadic value in
  'shell'.  Add 'inputs' field.
* gnu/system.scm (operating-system-derivation): Remove 'shell' field for
  'root' account.  Add all the 'user-account-inputs' to EXTRAS.

10 years agognu: dmd: Avoid "already exists" error on startup.
Ludovic Courtès [Mon, 9 Dec 2013 21:02:16 +0000 (22:02 +0100)]
gnu: dmd: Avoid "already exists" error on startup.

* gnu/system/dmd.scm (dmd-configuration-file)[config]: Remove
  "/var/nix/gcroots/etc-directory" before trying to recreate it.

10 years agognu: Add (gnu system).
Ludovic Courtès [Mon, 9 Dec 2013 20:32:36 +0000 (21:32 +0100)]
gnu: Add (gnu system).

* gnu/system/vm.scm (lower-inputs): Move to monads.scm.
  (qemu-image): Don't add GRUB-CONFIGURATION to the INPUTS-TO-COPY.
  (union, file-union, etc-directory): Move to gnu/system.scm.
  (%demo-operating-system): New variable.
  (system-qemu-image): Add 'os' parameter.  Rewrite in terms of
  'operating-system-derivation'.
* guix/monads.scm (lower-inputs): New procedure.
* gnu/system/grub.scm (grub-configuration-file): Change 'entries' to be
  a plain list instead of a list of monadic values.
* gnu/system.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agomonads: Fix 'anym'.
Ludovic Courtès [Mon, 9 Dec 2013 20:10:28 +0000 (21:10 +0100)]
monads: Fix 'anym'.

* guix/monads.scm (anym): Fix successful case.
* tests/monads.scm ("anym"): New test.

10 years agognu: perl-xml-dom: Propagate inputs.
Andreas Enge [Mon, 9 Dec 2013 23:17:04 +0000 (00:17 +0100)]
gnu: perl-xml-dom: Propagate inputs.

* gnu/packages/xml.scm (perl-xml-dom): Drop inputs that are obtained through
    propagation, propagate the other inputs.

10 years agognu: perl-libxml: Propagate input.
Andreas Enge [Mon, 9 Dec 2013 23:13:08 +0000 (00:13 +0100)]
gnu: perl-libxml: Propagate input.

* gnu/packages/xml.scm (perl-libxml): Propagate input perl-xml-parser.

10 years agognu: perl-http-message: Propagate input perl-http-date.
Andreas Enge [Mon, 9 Dec 2013 23:03:38 +0000 (00:03 +0100)]
gnu: perl-http-message: Propagate input perl-http-date.

* gnu/packages/web.scm (perl-http-message): Propagate input perl-http-date.
* gnu/packages/web.scm (perl-http-cookies, perl-http-daemon): Drop input perl-http-date.

10 years agognu: perl-libwww: Propagate all inputs.
Andreas Enge [Mon, 9 Dec 2013 22:59:11 +0000 (23:59 +0100)]
gnu: perl-libwww: Propagate all inputs.

* gnu/packages/web.scm (perl-libwww): Drop inputs that appear through
    propagation, and propagate all others.

10 years agognu: perl-file-listing: Propagate input.
Andreas Enge [Mon, 9 Dec 2013 22:49:22 +0000 (23:49 +0100)]
gnu: perl-file-listing: Propagate input.

* gnu/packages/web.scm (perl-file-listing): Propagate input perl-http-date.

10 years agognu: perl-www-robotrules: Propagate input.
Andreas Enge [Mon, 9 Dec 2013 22:47:00 +0000 (23:47 +0100)]
gnu: perl-www-robotrules: Propagate input.

* gnu/packages/web.scm (perl-www-robotrules): Propagate input perl-uri.

10 years agognu: perl-http-negotiate: Propagate input.
Andreas Enge [Mon, 9 Dec 2013 22:45:02 +0000 (23:45 +0100)]
gnu: perl-http-negotiate: Propagate input.

* gnu/packages/web.scm (perl-http-negotiate): Propagate input
    perl-http-message, drop input perl-uri (propagated by perl-http-message).

10 years agognu: perl-http-daemon: Propagate inputs.
Andreas Enge [Mon, 9 Dec 2013 22:42:25 +0000 (23:42 +0100)]
gnu: perl-http-daemon: Propagate inputs.

* gnu/packages/web.scm (perl-http-daemon): Propagate inputs perl-http-date,
    perl-http-message and perl-lwp-mediatypes; drop input perl-uri
    (propagated by perl-http-message).

10 years agognu: perl-http-cookies: Propagate inputs.
Andreas Enge [Mon, 9 Dec 2013 22:38:10 +0000 (23:38 +0100)]
gnu: perl-http-cookies: Propagate inputs.

* gnu/packages/web.scm (perl-http-cookies): Propagate inputs perl-http-date
    and perl-http-message; drop input perl-uri (itself propagated from
    perl-http-message).

10 years agognu: perl-http-message: Propagate input perl-uri.
Andreas Enge [Mon, 9 Dec 2013 22:34:18 +0000 (23:34 +0100)]
gnu: perl-http-message: Propagate input perl-uri.

* gnu/packages/web.scm (perl-http-message): Propagate input perl-uri,
    since "perl -MHTTP::Message" complains that it is missing.

10 years agognu: Add perl-xml-dom.
Andreas Enge [Mon, 9 Dec 2013 21:37:28 +0000 (22:37 +0100)]
gnu: Add perl-xml-dom.

* gnu/packages/xml.scm (perl-xml-dom): New variable.

10 years agognu: Add perl-libwww.
Andreas Enge [Mon, 9 Dec 2013 21:23:47 +0000 (22:23 +0100)]
gnu: Add perl-libwww.

* gnu/packages/web.scm (perl-libwww): New variable.

10 years agognu: Add perl-encode-locale.
Andreas Enge [Mon, 9 Dec 2013 21:20:42 +0000 (22:20 +0100)]
gnu: Add perl-encode-locale.

* gnu/packages/web.scm (perl-encode-locale): New variable.

10 years agognu: Add perl-file-listing.
Andreas Enge [Mon, 9 Dec 2013 21:16:30 +0000 (22:16 +0100)]
gnu: Add perl-file-listing.

* gnu/packages/web.scm (perl-file-listing): New variable.

10 years agognu: Add perl-file-list.
Andreas Enge [Mon, 9 Dec 2013 14:45:25 +0000 (15:45 +0100)]
gnu: Add perl-file-list.

* gnu/packages/perl.scm (perl-file-list): New variable.

10 years agobuild-system/perl: Honour phases argument in perl build system.
Andreas Enge [Mon, 9 Dec 2013 12:50:58 +0000 (13:50 +0100)]
build-system/perl: Honour phases argument in perl build system.

* guix/build-system/perl.scm (perl-build): Propagate phases argument to
    builder.

10 years agognu: rcs: Update to 5.9.2.
Andreas Enge [Sun, 8 Dec 2013 22:04:42 +0000 (23:04 +0100)]
gnu: rcs: Update to 5.9.2.

* gnu/packages/version-control.scm (rcs): Update to 5.9.2.

10 years agognu: parallel: Update to 20131122.
Andreas Enge [Sun, 8 Dec 2013 21:58:25 +0000 (22:58 +0100)]
gnu: parallel: Update to 20131122.

* gnu/packages/parallel.scm (parallel): Update to 20131122.

10 years agognu: Populate /etc upon startup.
Ludovic Courtès [Sun, 8 Dec 2013 20:22:22 +0000 (21:22 +0100)]
gnu: Populate /etc upon startup.

* gnu/packages/patches/dmd-getpw.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/system.scm (dmd): Use it.
* gnu/system/vm.scm (system-qemu-image): Don't explicitly populate /etc;
  don't add ETC to the GC roots.
* gnu/system/dmd.scm (dmd-configuration-file): Add 'etc' parameter.
  [config]: Populate /etc from there.

10 years agognu: Add perl-net-http.
Andreas Enge [Sun, 8 Dec 2013 21:24:21 +0000 (22:24 +0100)]
gnu: Add perl-net-http.

* gnu/packages/web.scm (perl-net-http): New variable.

10 years agognu: Add perl-www-robotrules.
Andreas Enge [Sun, 8 Dec 2013 21:18:58 +0000 (22:18 +0100)]
gnu: Add perl-www-robotrules.

* gnu/packages/web.scm (perl-www-robotrules): New variable.

10 years agognu: Add perl-http-negotiate.
Andreas Enge [Sun, 8 Dec 2013 21:02:48 +0000 (22:02 +0100)]
gnu: Add perl-http-negotiate.

* gnu/packages/web.scm (perl-http-negotiate): New variable.

10 years agognu: bison: Update to 3.0.2.
Andreas Enge [Sun, 8 Dec 2013 20:41:39 +0000 (21:41 +0100)]
gnu: bison: Update to 3.0.2.

* gnu/packages/bison.scm (bison): Update to 3.0.2.

10 years agognu: Add perl-http-daemon.
Andreas Enge [Sun, 8 Dec 2013 20:53:12 +0000 (21:53 +0100)]
gnu: Add perl-http-daemon.

* gnu/packages/web.scm (perl-http-daemon): New variable.

10 years agognu: Add perl-http-cookies.
Andreas Enge [Sat, 7 Dec 2013 21:52:29 +0000 (22:52 +0100)]
gnu: Add perl-http-cookies.

* gnu/packages/web.scm (perl-http-cookies): New variable.

10 years agognu: Add perl-http-message.
Andreas Enge [Sat, 7 Dec 2013 21:49:07 +0000 (22:49 +0100)]
gnu: Add perl-http-message.

* gnu/packages/web.scm (perl-http-message): New variable.

10 years agognu: Add perl-io-html.
Andreas Enge [Sat, 7 Dec 2013 21:47:40 +0000 (22:47 +0100)]
gnu: Add perl-io-html.

* gnu/packages/web.scm (perl-io-html): New variable.

10 years agognu: Add perl-lwp-mediatypes.
Andreas Enge [Sat, 7 Dec 2013 21:42:18 +0000 (22:42 +0100)]
gnu: Add perl-lwp-mediatypes.

* gnu/packages/web.scm (perl-lwp-mediatypes): New variable.

10 years agognu: Add perl-uri.
Andreas Enge [Sat, 7 Dec 2013 21:36:02 +0000 (22:36 +0100)]
gnu: Add perl-uri.

* gnu/packages/web.scm (perl-uri): New variable.

10 years agognu: Add perl-http-date.
Andreas Enge [Sat, 7 Dec 2013 21:24:53 +0000 (22:24 +0100)]
gnu: Add perl-http-date.

* gnu/packages/web.scm (perl-http-date): New variable.

10 years agognu: Add perl-html-parser.
Andreas Enge [Sat, 7 Dec 2013 21:05:59 +0000 (22:05 +0100)]
gnu: Add perl-html-parser.

* gnu/packages/web.scm (perl-html-parser): New variable.

10 years agognu: Add perl-html-tagset.
Andreas Enge [Sat, 7 Dec 2013 20:56:01 +0000 (21:56 +0100)]
gnu: Add perl-html-tagset.

* gnu/packages/web.scm (perl-html-tagset): New variable.

10 years agognu: Rename perl-xml-parser-perlsax to perl-libxml.
Andreas Enge [Sat, 7 Dec 2013 20:28:54 +0000 (21:28 +0100)]
gnu: Rename perl-xml-parser-perlsax to perl-libxml.

* gnu/packages/xml.scm (perl-libxml): Rename from perl-xml-parser-perlsax.

10 years agognu: dmd: Add 'pam-services' field to <service>.
Ludovic Courtès [Sat, 7 Dec 2013 15:18:51 +0000 (16:18 +0100)]
gnu: dmd: Add 'pam-services' field to <service>.

* gnu/system/dmd.scm (<service>)[pam-services]: New field.
  (mingetty-service): Add #:motd and #:allow-empty-passwords?
  parameters.  Add MOTD to 'inputs' field; add 'pam-services' field.
* gnu/system/vm.scm (system-qemu-image): Aggregate PAM entries from
  SERVICES.

10 years agognu: vm: Fix inputs in 'file-union'.
Ludovic Courtès [Sat, 7 Dec 2013 15:16:01 +0000 (16:16 +0100)]
gnu: vm: Fix inputs in 'file-union'.

* gnu/system/vm.scm (file-union): Filter out members of FILES that are
  outputs of INPUTS.

10 years agognu: dmd: Add 'user-accounts' and 'user-groups' fields to <service>.
Ludovic Courtès [Sat, 7 Dec 2013 14:01:40 +0000 (15:01 +0100)]
gnu: dmd: Add 'user-accounts' and 'user-groups' fields to <service>.

* gnu/system/shadow.scm (guix-build-accounts): Move to...
* gnu/system/dmd.scm (guix-build-accounts): ... here.
  (<service>)[user-accounts, user-groups]: New fields.
  (guix-service): New #:build-user-id and #:build-accounts parameters.
  Use 'guix-build-accounts' and set the 'user-accounts' and
  'user-groups' fields accordingly.
* gnu/system/vm.scm (system-qemu-image): Remove use of
  'guix-build-accounts'.  Augment ACCOUNTS and GROUPS from what SERVICES
  demand.

10 years agodoc: Adjust "Building from Git" instructions.
Ludovic Courtès [Sat, 7 Dec 2013 11:12:41 +0000 (12:12 +0100)]
doc: Adjust "Building from Git" instructions.

* HACKING (Building from Git): As a follow-up to ff1cbb9, update the
  error reported when pkg.m4 is missing.  Suggested by
  John Darrington <john@darrington.wattle.id.au>.

10 years agognu: Move /etc/resolv.conf handling to the networking service.
Ludovic Courtès [Fri, 6 Dec 2013 22:58:46 +0000 (23:58 +0100)]
gnu: Move /etc/resolv.conf handling to the networking service.

* gnu/system/vm.scm (etc-directory): Remove 'resolv.conf'.
  (system-qemu-image): Use 'static-networking-service' with
  #:name-servers.  Don't populate the image with /etc/resolv.conf.
* gnu/system/dmd.scm (static-networking-service): Add #:name-servers
  parameter.  Use it to populate /etc/resolv.conf.

10 years agognu: vm: Factorize /etc creation.
Ludovic Courtès [Fri, 6 Dec 2013 22:26:51 +0000 (23:26 +0100)]
gnu: vm: Factorize /etc creation.

* gnu/system/vm.scm (expression->derivation-in-linux-vm)[lower-inputs]:
  Move to top-level...
  (lower-inputs): ... here.  New variable.
  (file-union, etc-directory): New procedures.
  (system-qemu-image): Use 'etc-directory'; remove redundant code, and
  register the result of 'etc-directory' as a GC root.