jackhill/guix/guix.git
10 years agognu: Introduce the (gnu services ...) modules.
Ludovic Courtès [Wed, 19 Feb 2014 19:58:24 +0000 (20:58 +0100)]
gnu: Introduce the (gnu services ...) modules.

* gnu/system/dmd.scm: Remove file.  Move contents to...
* gnu/services.scm, gnu/services/base.scm, gnu/services/dmd.scm,
  gnu/services/networking.scm, gnu/services/xorg.scm: ... here.  New
  files.
* gnu/system.scm, gnu/system/vm.scm: Adjust accordingly.
* guix/scripts/system.scm (%user-module): Likewise.
* doc/guix.texi (Using the Configuration System): Likewise.
  (Defining Services): Likewise.

10 years agognu: bigloo: Upgrade to 4.1a.
Ludovic Courtès [Wed, 19 Feb 2014 15:43:25 +0000 (16:43 +0100)]
gnu: bigloo: Upgrade to 4.1a.

* gnu/packages/scheme.scm (bigloo): Upgrade to 4.1a.

10 years agognu: qemu: Disable debug info.
Ludovic Courtès [Tue, 18 Feb 2014 22:47:09 +0000 (23:47 +0100)]
gnu: qemu: Disable debug info.

* gnu/packages/qemu.scm (qemu-headless): Add '--disable-debug-info' as a
  'configure' flag.

10 years agoAdd 'guix system'.
Ludovic Courtès [Tue, 18 Feb 2014 22:45:58 +0000 (23:45 +0100)]
Add 'guix system'.

* guix/scripts/system.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Likewise.
* doc/guix.texi (Using the Configuration System): Link to "Invoking guix
  system".
  (Invoking guix system): New node.

10 years agognu: curl: Fix tests.
Sree Harsha Totakura [Tue, 18 Feb 2014 20:45:58 +0000 (21:45 +0100)]
gnu: curl: Fix tests.

* gnu/packages/curl.scm (curl): Add a new phase and python-2 to native-inputs.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: curl: Update to 7.35.0.
Sree Harsha Totakura [Tue, 18 Feb 2014 20:45:57 +0000 (21:45 +0100)]
gnu: curl: Update to 7.35.0.

* gnu/packages/curl.scm (curl): Update to 7.35.0.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: gnurl: Do not disable testcase 1022.
Sree Harsha Totakura [Tue, 18 Feb 2014 20:57:43 +0000 (21:57 +0100)]
gnu: gnurl: Do not disable testcase 1022.

* gnu/packages/gnunet.scm (gnurl): Do not disable testcase 1022.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: ncdc: Update to 1.19.
Sree Harsha Totakura [Tue, 18 Feb 2014 20:05:17 +0000 (21:05 +0100)]
gnu: ncdc: Update to 1.19.

* gnu/packages/dc (ncdc): Update to 1.19.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: gnutls: Upgrade to 3.2.11.
Mark H Weaver [Tue, 18 Feb 2014 08:46:09 +0000 (03:46 -0500)]
gnu: gnutls: Upgrade to 3.2.11.

* gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.11.  Improve URI
  computation.

10 years agognu: icu4c: Upgrade to 52.1.
Mark H Weaver [Sun, 16 Feb 2014 21:38:00 +0000 (16:38 -0500)]
gnu: icu4c: Upgrade to 52.1.

* gnu/packages/icu4c.scm (icu4c): Upgrade to 52.1.

10 years agognu: patchelf: Fix platform page size determination.
Mark H Weaver [Mon, 17 Feb 2014 01:20:10 +0000 (20:20 -0500)]
gnu: patchelf: Fix platform page size determination.

* gnu/packages/patches/patchelf-page-size.patch: New file.
* gnu/packages/elf.scm (patchelf): Add the patch.
* gnu-system.am (dist_patch_DATA): Add the patch.

10 years agoguix build: Factorize common options.
Ludovic Courtès [Mon, 17 Feb 2014 23:13:06 +0000 (00:13 +0100)]
guix build: Factorize common options.

* guix/scripts/build.scm (show-build-options-help,
  set-build-options-from-command-line): New procedures.
  (show-help): Remove description of --dry-run,
  --fallback, --no-substitutes, --max-silent-time, and --cores.  Call
  'show-build-options-help'.
  (%standard-build-options): New variable.
  (%options): Remove --dry-run, --fallback, --no-substitutes,
  --verbosity, --max-silent-time, and --cores.  Add
  %STANDARD-BUILD-OPTIONS.
  (guix-build): Use 'set-build-options-from-command-line' instead of
  'set-build-options'.
* guix/scripts/archive.scm (show-help): Remove description of --dry-run,
  --fallback, --no-substitutes, --max-silent-time, and --cores.  Call
  'show-build-options-help'.
  (%options): Remove --dry-run, --fallback, --no-substitutes,
  --verbosity, --max-silent-time, and --cores.  Add
  %STANDARD-BUILD-OPTIONS.
  (export-from-store): Call 'set-build-options-from-command-line'
  instead of 'set-build-options.

10 years agognu: Add xapian.
Mark H Weaver [Mon, 17 Feb 2014 04:09:18 +0000 (23:09 -0500)]
gnu: Add xapian.

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

10 years agognu: gnurl: Update to 7.35.0.
Sree Harsha Totakura [Sun, 16 Feb 2014 19:00:02 +0000 (20:00 +0100)]
gnu: gnurl: Update to 7.35.0.

* gnu/packages/gnunet.scm (gnurl): Update to 7.35.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add hdf5.
John Darrington [Sun, 16 Feb 2014 22:01:56 +0000 (23:01 +0100)]
gnu: Add hdf5.

* gnu/packages/maths.scm (hdf5): New variable.
* gnu/packages/maths.scm (octave): New input hdf5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: dmd: Sleep longer in tests, for slower machines.
Mark H Weaver [Sun, 16 Feb 2014 07:23:18 +0000 (02:23 -0500)]
gnu: dmd: Sleep longer in tests, for slower machines.

* gnu/packages/patches/dmd-tests-longer-sleeps.patch: New file.
* gnu/packages/admin.scm (dmd): Add the patch.
* gnu-system.am (dist_patch_DATA): Add it.

10 years agognu: Add ttf-dejavu.
Mark H Weaver [Sun, 16 Feb 2014 01:32:57 +0000 (20:32 -0500)]
gnu: Add ttf-dejavu.

* gnu/packages/fonts.scm (ttf-dejavu): New variable.

10 years agoUpdate .gitignore for Guile 2.0.9 bootstrap binaries.
Mark H Weaver [Fri, 14 Feb 2014 07:38:07 +0000 (02:38 -0500)]
Update .gitignore for Guile 2.0.9 bootstrap binaries.

* .gitignore: Change version number in ignored Guile bootstrap
  binaries from 2.0.7 to 2.0.9.

10 years agognu: ratpoison: Patch to use $SHELL instead of /bin/sh.
Mark H Weaver [Thu, 13 Feb 2014 05:42:41 +0000 (00:42 -0500)]
gnu: ratpoison: Patch to use $SHELL instead of /bin/sh.

* gnu/packages/patches/ratpoison-shell.patch: New file.
* gnu/packages/ratpoison.scm (ratpoison): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agoAdd Manolis to 'AUTHORS'.
Ludovic Courtès [Sun, 16 Feb 2014 18:53:39 +0000 (19:53 +0100)]
Add Manolis to 'AUTHORS'.

10 years agognu: Add GNU Mach headers.
Manolis Ragkousis [Sun, 16 Feb 2014 10:17:52 +0000 (10:17 +0000)]
gnu: Add GNU Mach headers.

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

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gnunet: Fix failing testcases.
Sree Harsha Totakura [Wed, 12 Feb 2014 15:15:32 +0000 (16:15 +0100)]
gnu: gnunet: Fix failing testcases.

* gnu/packages/gnunet.scm (gnurl): Add pkg-config.
* gnu/packages/patches/gnunet-fix-tests.patch: Append fix for integration testcases.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agoguix build: Move 'set-build-options' call earlier.
Ludovic Courtès [Tue, 11 Feb 2014 22:18:41 +0000 (23:18 +0100)]
guix build: Move 'set-build-options' call earlier.

* guix/scripts/build.scm (guix-build): Move 'set-build-options' call
  before 'show-what-to-build'.

10 years agostore: Add comments for the stracer.
Ludovic Courtès [Tue, 11 Feb 2014 22:16:28 +0000 (23:16 +0100)]
store: Add comments for the stracer.

* guix/store.scm (%worker-magic-1, %worker-magic-2): Add comments.

10 years agognu: isc-dhcp: Upgrade to 4.3.0.
Mark H Weaver [Tue, 11 Feb 2014 19:24:39 +0000 (14:24 -0500)]
gnu: isc-dhcp: Upgrade to 4.3.0.

* gnu/packages/admin.scm (isc-dhcp): Upgrade to 4.3.0.

10 years agognu: curl, gnurl: Fix failing testcase 172.
Sree Harsha Totakura [Tue, 11 Feb 2014 18:17:33 +0000 (19:17 +0100)]
gnu: curl, gnurl: Fix failing testcase 172.

* gnu/packages/patches/curl-fix-test172.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the patch file.
* gnu/packages/gnunet.scm (gnurl): Apply the patch file.
* gnu/packages/curl.scm (curl): Apply the patch file.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: gnunet: Correct typo.
Andreas Enge [Tue, 11 Feb 2014 09:20:53 +0000 (10:20 +0100)]
gnu: gnunet: Correct typo.

* gnu/packages/gnunet.scm (gnunet): Correct typo.

10 years agognu: texinfo: Make version 4.13a available.
Mark H Weaver [Mon, 10 Feb 2014 07:04:38 +0000 (02:04 -0500)]
gnu: texinfo: Make version 4.13a available.

* gnu/packages/texinfo.scm (texinfo-4): New variable.

10 years agognu: gnunet: Add input libmicrohttpd.
Andreas Enge [Mon, 10 Feb 2014 22:44:57 +0000 (23:44 +0100)]
gnu: gnunet: Add input libmicrohttpd.

* gnu/packages/gnunet.scm (gnunet): Add input libmicrohttpd and improve
    formatting.

10 years agostore: Change 'export-paths' to always export in topological order.
Ludovic Courtès [Mon, 10 Feb 2014 22:30:09 +0000 (23:30 +0100)]
store: Change 'export-paths' to always export in topological order.

* guix/store.scm (export-paths): Pass PATHS through
  'topologically-sorted' before iterating.
* tests/store.scm ("export/import paths, ensure topological order"): New
  test.

10 years agognu: lout: Change docdir from "doc" to "share/doc"
John Darrington [Mon, 10 Feb 2014 20:35:31 +0000 (21:35 +0100)]
gnu: lout: Change docdir from "doc" to "share/doc"

* gnu/packages/lout.scm (lout):
  Change docdir from "doc" to "share/doc".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add GNUnet.
Sree Harsha Totakura [Thu, 30 Jan 2014 23:33:36 +0000 (00:33 +0100)]
gnu: Add GNUnet.

* gnunet/packages/gnunet.scm (gnunet): New variable.
* gnu/package/patches/gnunet-fix-scheduler.patch: New file.
* gnu/package/patches/gnunet-fix-tests.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the above two patch files.

Co-authored-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gstreamer 1.0.10: Temporarily disable tests.
Ludovic Courtès [Mon, 10 Feb 2014 22:00:37 +0000 (23:00 +0100)]
gnu: gstreamer 1.0.10: Temporarily disable tests.

* gnu/packages/gstreamer.scm (gstreamer): Add 'arguments' field.

10 years agognu: openssh: Upgrade to 6.5p1.
Mark H Weaver [Sun, 9 Feb 2014 09:57:51 +0000 (04:57 -0500)]
gnu: openssh: Upgrade to 6.5p1.

* gnu/packages/ssh.scm (openssh): Upgrade to 6.5p1.

10 years agognu: openssl: Upgrade to 1.0.1f.
Mark H Weaver [Sun, 9 Feb 2014 09:56:51 +0000 (04:56 -0500)]
gnu: openssl: Upgrade to 1.0.1f.

* gnu/packages/openssl.scm (openssl): Upgrade to 1.0.1f.

10 years agounion: Do not compare directories upon collision.
Ludovic Courtès [Sun, 9 Feb 2014 23:05:39 +0000 (00:05 +0100)]
union: Do not compare directories upon collision.

* guix/build/union.scm (file=?): Return #f if FILE1 and FILE2 are not
  regular files.  Fixes a bug whereby collisions among directories would
  lead to the invocation of 'file=?' and thus 'call-with-input-file' on
  directories.  Reported by Mark H. Weaver <mhw@netris.org>.

10 years agodownload: Provide a 'User-Agent' field in HTTP requests.
Ludovic Courtès [Sun, 9 Feb 2014 23:03:34 +0000 (00:03 +0100)]
download: Provide a 'User-Agent' field in HTTP requests.

Fixes <http://bugs.gnu.org/16703>.
Reported by Raimon Grau <raimonster@gmail.com>.

* guix/build/download.scm (http-fetch)[headers]: New variable.
  Pass it as #:headers or #:extra-headers to 'http-get' and
  'http-get*'.

10 years agognu: dmd: Add SLiM service.
Ludovic Courtès [Sun, 9 Feb 2014 22:46:28 +0000 (23:46 +0100)]
gnu: dmd: Add SLiM service.

* gnu/system/dmd.scm (xorg-service): Remove.
  (xorg-start-command, slim-service): New procedure.

10 years agognu: dmd: Fix X font directory name in X service.
Ludovic Courtès [Sun, 9 Feb 2014 22:30:49 +0000 (23:30 +0100)]
gnu: dmd: Fix X font directory name in X service.

* gnu/system/dmd.scm (xorg-service)[xserver.conf]: Fix directory name in
  'FontPath' entry for FONT-ADOBE75DPI.

10 years agognu: linux-initrd: When booting, chdir to the new root before calling 'chroot'.
Ludovic Courtès [Sun, 9 Feb 2014 22:28:18 +0000 (23:28 +0100)]
gnu: linux-initrd: When booting, chdir to the new root before calling 'chroot'.

* guix/build/linux-initrd.scm (boot-system): Add 'chdir' call right
  before 'chroot'.

10 years agognu: slim: Work around flaky synchronization with the X server.
Ludovic Courtès [Sun, 9 Feb 2014 22:20:42 +0000 (23:20 +0100)]
gnu: slim: Work around flaky synchronization with the X server.

* gnu/packages/patches/slim-sigusr1.patch: New file.
* gnu/packages/slim.scm (slim): Use it.
* gnu-system.am (dist_patch_DATA): Add it.

10 years agognu: Add stalonetray
Raimon Grau [Sun, 9 Feb 2014 15:28:39 +0000 (16:28 +0100)]
gnu: Add stalonetray

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: moe: New module
Eric Bavier [Fri, 7 Feb 2014 23:04:58 +0000 (17:04 -0600)]
gnu: moe: New module

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add FUSE.
Ludovic Courtès [Sat, 8 Feb 2014 15:07:02 +0000 (16:07 +0100)]
gnu: Add FUSE.

* gnu/packages/linux.scm (fuse): New variable.

10 years agognu: Move root's home directory to /root.
Ludovic Courtès [Fri, 7 Feb 2014 23:18:25 +0000 (00:18 +0100)]
gnu: Move root's home directory to /root.

* gnu/system.scm (operating-system-derivation): Change root's
  'home-directory' to "/root".
* gnu/system/vm.scm (operating-system-default-contents): Add /root.

10 years agognu: python-pysqlite: Point to the latest release tarball.
Ludovic Courtès [Fri, 7 Feb 2014 22:44:26 +0000 (23:44 +0100)]
gnu: python-pysqlite: Point to the latest release tarball.

* gnu/packages/python.scm (python2-pysqlite): Change 'version' to
  "2.6.3a".  Change 'uri' to point to pypi.python.org.
  Reported by Mark H Weaver <mhw@netris.org> and others.
  Update 'home-page' and 'synopsis'.

10 years agognu: Add paperkey.
Eric Bavier [Fri, 7 Feb 2014 16:55:42 +0000 (10:55 -0600)]
gnu: Add paperkey.

* gnu/packages/gnupg.scm (paperkey): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gdb: Upgrade to 7.7.
Ludovic Courtès [Thu, 6 Feb 2014 21:09:52 +0000 (22:09 +0100)]
gnu: gdb: Upgrade to 7.7.

* gnu/packages/gdb.scm (gdb): Upgrade to 7.7.  Remove
  'gdb-loongson-madd-fix.patch', no longer needed.
* gnu/packages/patches/gdb-loongson-madd-fix.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.

10 years agodaemon: Add '--gc-keep-outputs' and '--gc-keep-derivations'.
Ludovic Courtès [Thu, 6 Feb 2014 20:49:47 +0000 (21:49 +0100)]
daemon: Add '--gc-keep-outputs' and '--gc-keep-derivations'.

* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_GC_KEEP_OUTPUTS,
  GUIX_OPT_GC_KEEP_DERIVATIONS): New macros.
  (options): Add 'gc-keep-outputs' and 'gc-keep-derivations'.
  (string_to_bool): New function.
  (parse_opt): Honor GUIX_OPT_GC_KEEP_DERIVATIONS and
  GUIX_OPT_GC_KEEP_OUTPUTS.
* doc/guix.texi (Invoking guix-daemon): Document --gc-keep-outputs and
  --gc-keep-derivations.

10 years agoAdd Raimon to 'AUTHORS'.
Ludovic Courtès [Thu, 6 Feb 2014 18:07:10 +0000 (19:07 +0100)]
Add Raimon to 'AUTHORS'.

10 years agognu: Add luajit
Raimon Grau [Thu, 6 Feb 2014 00:43:31 +0000 (01:43 +0100)]
gnu: Add luajit

* gnu/packages/lua.scm (luajit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add Glade.
John Darrington [Wed, 5 Feb 2014 20:27:20 +0000 (21:27 +0100)]
gnu: Add Glade.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: imagemagick: Upgrade to 6.8.8-4.
Andreas Enge [Thu, 6 Feb 2014 08:32:12 +0000 (09:32 +0100)]
gnu: imagemagick: Upgrade to 6.8.8-4.

* gnu/packages/imagemagick.scm (imagemagick): Upgrade to 6.8.8-4.

10 years agognu: gnu-pw-mgr: Upgrade to 1.1.
Eric Bavier [Wed, 5 Feb 2014 21:48:19 +0000 (15:48 -0600)]
gnu: gnu-pw-mgr: Upgrade to 1.1.

* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Upgrade to 1.1.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: guile-wm: Upgrade to 1.0.
Ludovic Courtès [Wed, 5 Feb 2014 22:21:24 +0000 (23:21 +0100)]
gnu: guile-wm: Upgrade to 1.0.

* gnu/packages/guile-wm.scm (guile-wm): Upgrade to 1.0.

10 years agognu: system: Build /etc/localtime.
Ludovic Courtès [Wed, 5 Feb 2014 21:22:51 +0000 (22:22 +0100)]
gnu: system: Build /etc/localtime.

* gnu/system.scm (etc-directory)[bashrc]: Use 'text-file*' instead of
  'text-file'.  Adjust users accordingly.
  [files]: Add the /etc/localtime file for TIMEZONE.
  Add TZDATA to the 'file-union' inputs.
  (operating-system-derivation): Pass 'etc-directory' PROFILE-DRV
  instead of PROFILE.

10 years agognu: slim: Upgrade to 1.3.6; allow the choice of a config file at run time.
Ludovic Courtès [Wed, 5 Feb 2014 21:18:14 +0000 (22:18 +0100)]
gnu: slim: Upgrade to 1.3.6; allow the choice of a config file at run time.

* gnu/packages/slim.scm (slim): Upgrade to 1.3.6.  Add patches.  Comment
  out systemd-related stuff from CMakeLists.txt.  Add
  "-DBUILD_SHARED_LIBS=OFF" and "-DCMAKE_SKIP_BUILD_RPATH=ON" to
  #:configure-flags.  Adjust 'home-page' field.
* gnu/packages/patches/slim-config.patch,
  gnu/packages/patches/slim-session.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.

10 years agognu: inkscape: New module
John Darrington [Tue, 4 Feb 2014 15:12:39 +0000 (16:12 +0100)]
gnu: inkscape: New module

* gnu/packages/inkscape.scm,
  gnu/packages/patches/inkscape-stray-comma.patch: New files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add inkscape.scm.
  (dist_patch_DATA): Add inkscape-stray-comma.patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add Boost.
John Darrington [Tue, 4 Feb 2014 15:12:38 +0000 (16:12 +0100)]
gnu: Add Boost.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gxmessage: New module
John Darrington [Tue, 4 Feb 2014 12:48:18 +0000 (13:48 +0100)]
gnu: gxmessage: New module

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: dmd: Use 'text-file*' when building Xorg's config file.
Ludovic Courtès [Mon, 3 Feb 2014 22:37:09 +0000 (23:37 +0100)]
gnu: dmd: Use 'text-file*' when building Xorg's config file.

* gnu/system/dmd.scm (xorg-service)[xserver.conf]: Change to use
  'text-file*' instead of 'text-file'.
  Adjust body accordingly.  Remove now extraneous packages from the
  service's 'inputs' field.

10 years agomonads: Add 'text-file*'.
Ludovic Courtès [Mon, 3 Feb 2014 22:12:54 +0000 (23:12 +0100)]
monads: Add 'text-file*'.

* guix/monads.scm (text-file*): New procedure.
* tests/monads.scm ("text-file*"): New test.
* doc/guix.texi (The Store Monad): Change example since the previous one
  would erroneously fail to retain a reference to Coreutils.  Document
  'text-file*'.

10 years agognu: file: Upgrade to 5.16.
John Darrington [Sun, 2 Feb 2014 10:26:04 +0000 (11:26 +0100)]
gnu: file: Upgrade to 5.16.

* gnu/packages/file.scm (file): Upgrade to 5.16.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gtkmm-2 New variable
John Darrington [Sun, 2 Feb 2014 10:27:36 +0000 (11:27 +0100)]
gnu: gtkmm-2 New variable

* gnu/packages/gtk.scm (gtkmm-2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: vm: Create all the user directories.
Ludovic Courtès [Sun, 2 Feb 2014 19:41:53 +0000 (20:41 +0100)]
gnu: vm: Create all the user directories.

* gnu/system/vm.scm (operating-system-default-contents)[user-directories]:
  New procedure.  Use it to create each user's home and GC root
  directories.

10 years agognu: Add xterm.
Ludovic Courtès [Sun, 2 Feb 2014 19:38:03 +0000 (20:38 +0100)]
gnu: Add xterm.

* gnu/packages/xorg.scm (xterm): New variable.

10 years agognu: vm: Add /run/current-system and /bin/sh.
Ludovic Courtès [Sun, 2 Feb 2014 00:34:33 +0000 (01:34 +0100)]
gnu: vm: Add /run/current-system and /bin/sh.

* gnu/system/vm.scm (operating-system-default-contents): Populate
  /run/current-system and create /bin/sh.
* gnu/system.scm (operating-system-profile-derivation,
  operating-system-profile-directory): New procedures.
  (operating-system-derivation): Use it.

10 years agooffload: Have 'build-machines' honor its argument.
Ludovic Courtès [Sun, 2 Feb 2014 00:32:50 +0000 (01:32 +0100)]
offload: Have 'build-machines' honor its argument.

* guix/scripts/offload.scm (build-machines): Honor FILE.

10 years agognu: linux-initrd: Build /dev/input devices.
Ludovic Courtès [Sat, 1 Feb 2014 01:22:23 +0000 (02:22 +0100)]
gnu: linux-initrd: Build /dev/input devices.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  dev/input devices.

10 years agognu: Add preliminary Xorg service.
Ludovic Courtès [Sat, 1 Feb 2014 00:58:37 +0000 (01:58 +0100)]
gnu: Add preliminary Xorg service.

* gnu/system/dmd.scm (xorg-service): New procedure.

10 years agognu: linux-initrd: Make /dev/{mem,kmem}.
Ludovic Courtès [Sat, 1 Feb 2014 00:07:14 +0000 (01:07 +0100)]
gnu: linux-initrd: Make /dev/{mem,kmem}.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  dev/{mem,kmem}.

10 years agognu: xorg-server: Use /var as $localstatedir.
Ludovic Courtès [Fri, 31 Jan 2014 17:22:04 +0000 (18:22 +0100)]
gnu: xorg-server: Use /var as $localstatedir.

* gnu/packages/xorg.scm (xorg-server): Pass --localstatedir=/var.  In
  'configure' phase, patch 'hw/xfree86/Makefile.in'.

10 years agognu: vm: Add support for running a VM that shares its store with the host.
Ludovic Courtès [Fri, 31 Jan 2014 13:36:48 +0000 (14:36 +0100)]
gnu: vm: Add support for running a VM that shares its store with the host.

* gnu/system/vm.scm (qemu-image): Check whether GUIX is #f.
  (operating-system-build-gid, operating-system-default-contents): New
  procedures.
  (system-qemu-image): Use 'operating-system-build-gid'.
  (system-qemu-image/shared-store,
  system-qemu-image/shared-store-script): New procedures.
* gnu/system.scm: Add missing exports.

10 years agognu: linux-initrd: Allow the root file system to be volatile.
Ludovic Courtès [Fri, 31 Jan 2014 13:26:30 +0000 (14:26 +0100)]
gnu: linux-initrd: Allow the root file system to be volatile.

* gnu/system/linux-initrd.scm (qemu-initrd): Add 'volatile-root?'
  parameter.
* guix/build/linux-initrd.scm (boot-system): Likewise.  Honor it.

10 years agognu: linux: Really build 9p/virtio modules.
Ludovic Courtès [Fri, 31 Jan 2014 13:23:54 +0000 (14:23 +0100)]
gnu: linux: Really build 9p/virtio modules.

* gnu/packages/linux.scm (linux-libre): Add CONFIG_NET_9P and
  CONFIG_9P_FS.

10 years agognu: linux-initrd: Recognize 9p file systems.
Ludovic Courtès [Fri, 31 Jan 2014 11:21:10 +0000 (12:21 +0100)]
gnu: linux-initrd: Recognize 9p file systems.

* gnu/system/linux-initrd.scm (qemu-initrd)[virtio-9p-modules]: New
  variable.
  [linux-modules]: Append VIRTIO-9P-MODULES when a 9p file system is in
  MOUNTS.
* guix/build/linux-initrd.scm (mount-qemu-9p): New procedure.
  (boot-system): Recognize '9p' in MOUNTS, and use 'mount-qemu-9p'.

10 years agognu: linux-initrd: Match kernel module file names exactly.
Ludovic Courtès [Fri, 31 Jan 2014 11:01:23 +0000 (12:01 +0100)]
gnu: linux-initrd: Match kernel module file names exactly.

* gnu/system/linux-initrd.scm (expression->initrd)[string->regexp]: New
  procedure.  Use it in the call to 'find-files'.

10 years agognu: linux-initrd: Properly distinguish between /dev/sda* and /dev/vda*.
Ludovic Courtès [Fri, 31 Jan 2014 00:43:16 +0000 (01:43 +0100)]
gnu: linux-initrd: Properly distinguish between /dev/sda* and /dev/vda*.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Rename
  devices with major = 8 to /dev/sda*.  Make /dev/vda* devices.
* gnu/system/vm.scm (qemu-image): Change '/dev/vda' to '/dev/sda'.
* gnu/system.scm (operating-system-derivation): Likewise.

10 years agognu: linux-initrd: Start a REPL when the root could not be mounted.
Ludovic Courtès [Fri, 31 Jan 2014 00:40:02 +0000 (01:40 +0100)]
gnu: linux-initrd: Start a REPL when the root could not be mounted.

* guix/build/linux-initrd.scm (boot-system): Catch errors when mounting
  ROOT and call 'start-repl' upon error.

10 years agognu: linux-libre: Build more virtio modules.
Ludovic Courtès [Thu, 30 Jan 2014 23:24:26 +0000 (00:24 +0100)]
gnu: linux-libre: Build more virtio modules.

* gnu/packages/linux.scm (linux-libre): Append CONFIG_NET_9P_VIRTIO and
  CONFIG_VIRTIO_{NET,BLK,BALLOON} to '.config'.

10 years agognu: vm: Run QEMU with '-enable-kvm'.
Ludovic Courtès [Thu, 30 Jan 2014 22:32:22 +0000 (23:32 +0100)]
gnu: vm: Run QEMU with '-enable-kvm'.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass QEMU
  '-enable-kvm'.

10 years agognu: Add GNU Octave.
John Darrington [Thu, 30 Jan 2014 13:22:49 +0000 (14:22 +0100)]
gnu: Add GNU Octave.

* gnu/packages/maths.scm (octave): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: linux-libre: Build virtio modules.
Ludovic Courtès [Wed, 29 Jan 2014 22:42:36 +0000 (23:42 +0100)]
gnu: linux-libre: Build virtio modules.

* gnu/packages/linux.scm (linux-libre): Build modules matching
  CONFIG.*VIRTIO.

10 years agognu: linux-libre: Upgrade to 3.13.
Ludovic Courtès [Wed, 29 Jan 2014 22:34:47 +0000 (23:34 +0100)]
gnu: linux-libre: Upgrade to 3.13.

* gnu/packages/linux.scm (linux-libre): Upgrade to 3.13.

10 years agognu: gnunet: Add gnurl 7.34.0.
Sree Harsha Totakura [Wed, 29 Jan 2014 12:59:11 +0000 (13:59 +0100)]
gnu: gnunet: Add gnurl 7.34.0.

* gnu/packages/gnunet.scm (gnurl): New variable. Thanks to Zerwas for
  the initial recipe.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: libgcrypt: Upgrade to 1.6.1.
Ludovic Courtès [Wed, 29 Jan 2014 21:37:53 +0000 (22:37 +0100)]
gnu: libgcrypt: Upgrade to 1.6.1.

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

10 years agognu: linux-initrd: Factorize boot code.
Ludovic Courtès [Wed, 29 Jan 2014 20:57:56 +0000 (21:57 +0100)]
gnu: linux-initrd: Factorize boot code.

* guix/build/linux-initrd.scm (boot-system): New procedure.
* gnu/system/linux-initrd.scm (qemu-initrd): Add keyword parameters
  'guile-modules-in-chroot?' and 'mounts'.  Change builder to simply
  call 'boot-system'.
  (gnu-system-initrd): Change to a simple call to 'qemu-initrd'.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Call
  'qemu-initrd' with #:guile-modules-in-chroot?.

10 years agognu: Lower initrd makers from packages to monadic procedures.
Ludovic Courtès [Wed, 29 Jan 2014 12:04:00 +0000 (13:04 +0100)]
gnu: Lower initrd makers from packages to monadic procedures.

* gnu/packages/linux-initrd.scm: Remove.
* gnu/system/linux-initrd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/system.scm (<operating-system>): Change default 'initrd' value
  to (gnu-system-initrd).
  (operating-system-derivation): Bind 'operating-system-initrd'.  Pass
  'menu-entry' an initrd file name instead of a package.
* gnu/system/grub.scm (grub-configuration-file): Expect 'initrd' to be
  file name.

10 years agomonads: Add 'imported-modules' and 'compiled-modules'.
Ludovic Courtès [Wed, 29 Jan 2014 12:04:48 +0000 (13:04 +0100)]
monads: Add 'imported-modules' and 'compiled-modules'.

* guix/monads.scm (package-file): Fix typo.
  (imported-modules, compiled-modules): New procedures.

10 years agognu: qemu-initrd: Adjust to allow booting with a non-empty /root.
Ludovic Courtès [Tue, 28 Jan 2014 22:38:19 +0000 (23:38 +0100)]
gnu: qemu-initrd: Adjust to allow booting with a non-empty /root.

* gnu/packages/linux-initrd.scm (qemu-initrd): Use 'mkdir-p' instead of
  'mkdir' for /root/xchg and /root/{share,lib}.  When TO-LOAD is a
  symlink, resolve it.
  (gnu-system-initrd): Fix typo in message.

10 years agodownload: Add archive.apache.org to the Apache mirrors.
Ludovic Courtès [Mon, 27 Jan 2014 22:31:28 +0000 (23:31 +0100)]
download: Add archive.apache.org to the Apache mirrors.

* guix/download.scm (%mirrors)[apache]: Add archive.apache.org as a last
  resort.

10 years agooffload: Do not try to retrieve anything upon build failure.
Ludovic Courtès [Mon, 27 Jan 2014 20:32:59 +0000 (21:32 +0100)]
offload: Do not try to retrieve anything upon build failure.

* guix/scripts/offload.scm (offload): Add 'log-port' keyword parameter.
  Handle log display here.  Return the result of (close-pipe pipe).
  (process-request): Adjust 'offload' call site accordingly.  Call
  'retrieve-files' only when 'offload' returns zero; exit when 'offload'
  returns non-zero.

10 years agognu: iotop: Fix typos.
Ludovic Courtès [Mon, 27 Jan 2014 18:02:51 +0000 (19:02 +0100)]
gnu: iotop: Fix typos.

* gnu/packages/linux.scm (iotop): Fix typos introduced by myself.

10 years agognu: linux: Add iotop-0.6.
Sree Harsha Totakura [Mon, 27 Jan 2014 16:45:21 +0000 (17:45 +0100)]
gnu: linux: Add iotop-0.6.

* gnu/packages/linux.scm (iotop): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add asciidoc.
Ludovic Courtès [Sun, 26 Jan 2014 22:52:59 +0000 (23:52 +0100)]
gnu: Add asciidoc.

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

10 years agognu: qemu: Add note about 9p.
Ludovic Courtès [Sun, 26 Jan 2014 22:25:55 +0000 (23:25 +0100)]
gnu: qemu: Add note about 9p.

* gnu/packages/qemu.scm (qemu/smb-shares): Add comment.

10 years agognu: Add gnuplot
John Darrington [Sun, 26 Jan 2014 09:09:21 +0000 (10:09 +0100)]
gnu: Add gnuplot

* gnu/packages/maths.scm (gnuplot): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agobuild: Set 'NIX_LIBEXEC_DIR' in 'pre-inst-env'.
Ludovic Courtès [Sun, 26 Jan 2014 14:53:34 +0000 (15:53 +0100)]
build: Set 'NIX_LIBEXEC_DIR' in 'pre-inst-env'.

Reported by Nikita Karetnikov <nikita@karetnikov.org>.

* test-env.in: Move 'NIX_LIBEXEC_DIR' setting to...
* pre-inst-env.in: ... here.

10 years agognu: lapack: Update to 3.5.0.
Andreas Enge [Sun, 26 Jan 2014 12:03:20 +0000 (13:03 +0100)]
gnu: lapack: Update to 3.5.0.

* gnu/packages/maths.scm (lapack): Update to 3.5.0.

10 years agognu: sdl: Explicitly link against libXext.
Ludovic Courtès [Sat, 25 Jan 2014 21:16:52 +0000 (22:16 +0100)]
gnu: sdl: Explicitly link against libXext.

* gnu/packages/sdl.scm (sdl): Add #:configure-flags to 'arguments'.
  Move PKG-CONFIG to 'native-inputs'.