jackhill/guix/guix.git
9 years agodoc: Add "guix system" to 'dir'.
Ludovic Courtès [Thu, 24 Jul 2014 21:07:53 +0000 (23:07 +0200)]
doc: Add "guix system" to 'dir'.

* doc/guix.texi: Add "guix system" to the dir entry.

9 years agoservices: xorg: Honor ~/.xsession.
Ludovic Courtès [Thu, 24 Jul 2014 21:01:55 +0000 (23:01 +0200)]
services: xorg: Honor ~/.xsession.

* gnu/services/xorg.scm (xinitrc): Attempt to execute ~/.xsession.

9 years agoinstall: Add a configuration template to the image.
Ludovic Courtès [Thu, 24 Jul 2014 20:45:24 +0000 (22:45 +0200)]
install: Add a configuration template to the image.

* gnu/system/os-config.tmpl: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it
* gnu/system/install.scm (configuration-template-service): New
  procedure.
  (installation-services): Call it.
* doc/guix.texi (System Installation): Mention
  configuration-template.scm, and @include gnu/system/os-config.tmpl.

9 years agomonads: Add 'interned-file'.
Ludovic Courtès [Thu, 24 Jul 2014 20:27:35 +0000 (22:27 +0200)]
monads: Add 'interned-file'.

* guix/monads.scm (interned-file): New procedure.
* tests/monads.scm ("interned-file"): New test.
* doc/guix.texi (The Store Monad): Document it.

9 years agodoc: Recommend partition labels.
Ludovic Courtès [Thu, 24 Jul 2014 17:47:48 +0000 (19:47 +0200)]
doc: Recommend partition labels.

* doc/guix.texi (System Installation): Recommend partition labels.

9 years agoservices: xorg: Remove /var/run/slim.lock when starting.
Ludovic Courtès [Thu, 24 Jul 2014 17:38:50 +0000 (19:38 +0200)]
services: xorg: Remove /var/run/slim.lock when starting.

Reported by Mark H. Weaver.

* gnu/services/xorg.scm (slim-service)[start]: Remove /var/run/slim.lock
  before starting 'slim'.

9 years agognu: gcc: Update to 4.9.1.
Mark H Weaver [Thu, 24 Jul 2014 01:56:45 +0000 (21:56 -0400)]
gnu: gcc: Update to 4.9.1.

* gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.1.

9 years agognu: Add libftdi.
Manolis Ragkousis [Wed, 23 Jul 2014 23:59:04 +0000 (23:59 +0000)]
gnu: Add libftdi.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: Adjust more packages to GLib "bin" split.
Mark H Weaver [Wed, 23 Jul 2014 22:26:03 +0000 (18:26 -0400)]
gnu: Adjust more packages to GLib "bin" split.

* gnu/packages/gimp.scm (gegl): Add glib:bin to 'native-inputs'.
* gnu/packages/mail.scm (mu): Ditto.

9 years agognu: parallel: Upgrade to 20140722.
Andreas Enge [Wed, 23 Jul 2014 21:09:36 +0000 (23:09 +0200)]
gnu: parallel: Upgrade to 20140722.

* gnu/packages/parallel.scm (parallel): Upgrade to 20140722.

9 years agognu: xorriso: Upgrade to 3.1.8.
Andreas Enge [Wed, 23 Jul 2014 21:07:18 +0000 (23:07 +0200)]
gnu: xorriso: Upgrade to 3.1.8.

* gnu/packages/cdrom.scm (xorriso): Upgrade to 3.1.8.

9 years agognu: nano: Upgrade to 2.3.6.
Andreas Enge [Wed, 23 Jul 2014 21:03:00 +0000 (23:03 +0200)]
gnu: nano: Upgrade to 2.3.6.

* gnu/packages/nano.scm (nano): Upgrade to 2.3.6.

9 years agognu: htop: Update source URI.
Mark H Weaver [Wed, 23 Jul 2014 20:43:53 +0000 (16:43 -0400)]
gnu: htop: Update source URI.

* gnu/packages/admin.scm (htop): Update source URI.

9 years agognu: module-init-tools: Fix $LINUX_MODULE_DIRECTORY handling in 'depmod'.
Ludovic Courtès [Wed, 23 Jul 2014 20:27:17 +0000 (22:27 +0200)]
gnu: module-init-tools: Fix $LINUX_MODULE_DIRECTORY handling in 'depmod'.

* gnu/packages/patches/module-init-tools-moduledir.patch: Adjust the
  'depmod' part to handle $LINUX_MODULE_DIRECTORY without a trailing
  slash.

9 years agognu: kmod: Install symlinks for 'insmod', 'modprobe', etc.
Ludovic Courtès [Wed, 23 Jul 2014 17:09:27 +0000 (19:09 +0200)]
gnu: kmod: Install symlinks for 'insmod', 'modprobe', etc.

* gnu/packages/linux.scm (kmod)[arguments]: Add 'install-modprobe&co'
  phase.

9 years agognu: module-init-tools: Handle $LINUX_MODULE_DIRECTORY without trailing slash.
Ludovic Courtès [Wed, 23 Jul 2014 16:51:07 +0000 (18:51 +0200)]
gnu: module-init-tools: Handle $LINUX_MODULE_DIRECTORY without trailing slash.

Fixes <http://bugs.gnu.org/18068>.

* gnu/packages/patches/module-init-tools-moduledir.patch: Adjust to deal
  with the lack of a trailing slash.

9 years agoguix system: Protect against changes to $PATH when activating the system.
Ludovic Courtès [Wed, 23 Jul 2014 16:17:06 +0000 (18:17 +0200)]
guix system: Protect against changes to $PATH when activating the system.

Partly fixes <http://bugs.gnu.org/18082>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (save-environment-excursion): New macro.
  (switch-to-system): Wrap 'primitive-load' call in it.

9 years agoguix system: Fix type error in 'reconfigure'.
Ludovic Courtès [Wed, 23 Jul 2014 16:11:24 +0000 (18:11 +0200)]
guix system: Fix type error in 'reconfigure'.

Partly fixes <http://bugs.gnu.org/18082>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (perform-action) <reconfigure>: Pass the
  output file name of GRUB.CFG to 'install-grub'.

9 years agognu: dvdisaster: Upgrade to 0.72.6.
Andreas Enge [Wed, 23 Jul 2014 15:58:34 +0000 (17:58 +0200)]
gnu: dvdisaster: Upgrade to 0.72.6.

* gnu/packages/cdrom.scm (dvdisaster): Upgrade to 0.72.6.

9 years agoinstall: Add a service to back the store with the target disk.
Ludovic Courtès [Tue, 22 Jul 2014 20:12:05 +0000 (22:12 +0200)]
install: Add a service to back the store with the target disk.

Fixes <http://bugs.gnu.org/18061>.
Reported by Adam Pribyl <pribyl@lowlevel.cz>.

* gnu/services/dmd.scm (dmd-configuration-file)[config]: Import (guix
  build utils).
* gnu/system/install.scm (make-cow-store, cow-store-service): New
  procedures.
  (installation-services): Use it.
  (%backing-directory): New variable.
* doc/guix.texi (System Installation): Add the 'deco start cow-store
  /mnt' phase.

9 years agognu: pari-gp: Upgrade to 2.7.1.
Andreas Enge [Wed, 23 Jul 2014 14:46:05 +0000 (16:46 +0200)]
gnu: pari-gp: Upgrade to 2.7.1.

* gnu/packages/algebra.scm (pari-gp): Upgrade to 2.7.1.

9 years agosystem: Add missing exports to (gnu system file-systems).
Mark H Weaver [Wed, 23 Jul 2014 06:13:34 +0000 (02:13 -0400)]
system: Add missing exports to (gnu system file-systems).

* gnu/system/file-systems.scm (%pseudo-terminal-file-system)
  (%shared-memory-file-system): Add to export list.

9 years agosystem: Add /dev/shm.
Ludovic Courtès [Tue, 22 Jul 2014 23:25:01 +0000 (01:25 +0200)]
system: Add /dev/shm.

* gnu/system/file-systems.scm (%shared-memory-file-system): New
  variable.
  (%base-file-systems): Add it.
* doc/guix.texi (File Systems): Document it.

9 years agosystem: Recognize more file system flags.
Ludovic Courtès [Tue, 22 Jul 2014 22:44:27 +0000 (00:44 +0200)]
system: Recognize more file system flags.

* guix/build/linux-initrd.scm (MS_NOSUID, MS_NODEV, MS_NOEXEC): New
  variables.
  (mount-flags->bit-mask): New procedure.
  (mount-file-system)[flags->bit-mask]: Remove.
  Use 'mount-flags->bit-mask' instead.
  In /etc/mtab, use the empty string when OPTIONS is false.
* gnu/services/base.scm (file-system-service): Add #:flags parameter and
  honor it.
* gnu/system.scm (other-file-system-services): Pass FLAGS to
  'file-system-service'.

9 years agodoc: Merge the type, variable, and function indices.
Ludovic Courtès [Tue, 22 Jul 2014 21:28:53 +0000 (23:28 +0200)]
doc: Merge the type, variable, and function indices.

* doc/guix.texi (Function Index): Rename to...
  (Programming Index): ... this.  Merge the type, variable, and function
  indices.

9 years agosystem: Add 'file-system' decl. for /dev/pts, and use the right options.
Ludovic Courtès [Tue, 22 Jul 2014 21:13:53 +0000 (23:13 +0200)]
system: Add 'file-system' decl. for /dev/pts, and use the right options.

Fixes <http://bugs.gnu.org/18081>.

* gnu/system/file-systems.scm (%devtmpfs-file-system): Add
  'needed-for-boot?' field.
  (%tty-gid, %pseudo-terminal-file-system): New variables.
  (%base-file-systems): Add %PSEUDO-TERMINAL-FILE-SYSTEM.
* gnu/services/base.scm (udev-service): Remove dependency on
  'file-system-/dev'.
* gnu/system/shadow.scm (%base-groups): Add 'id' field for group 'tty'.
* guix/build/linux-initrd.scm (boot-system): Remove 'mount' call for
  /dev/pts.
* doc/guix.texi (File Systems): Add %pseudo-terminal-file-system.

9 years agosystem: Add 'create-mount-point?' file system option.
Ludovic Courtès [Tue, 22 Jul 2014 20:53:36 +0000 (22:53 +0200)]
system: Add 'create-mount-point?' file system option.

* gnu/system/file-systems.scm (<file-system>)[create-mount-point?]: New
  field.
* gnu/services/base.scm (file-system-service): Add #:create-mount-point?
  parameter and honor it.
* gnu/system.scm (other-file-system-services): Update
  'file-system-service' call accordingly.
* doc/guix.texi (File Systems): Document it.

9 years agoRequire only lower gettext version.
Andreas Enge [Tue, 22 Jul 2014 19:35:07 +0000 (21:35 +0200)]
Require only lower gettext version.

* configure.ac: Change back to requiring gettext at least 0.18.1, partially
    reverting commit ee76417.

9 years agoThank Adam.
Ludovic Courtès [Tue, 22 Jul 2014 14:09:16 +0000 (16:09 +0200)]
Thank Adam.

9 years agosystem: Add '%devtmpfs-file-system' for udev, and '%base-file-systems'.
Ludovic Courtès [Tue, 22 Jul 2014 14:57:57 +0000 (16:57 +0200)]
system: Add '%devtmpfs-file-system' for udev, and '%base-file-systems'.

Suggested by Adam Pribyl <pribyl@lowlevel.cz>.

* gnu/services/base.scm (udev-service)[requirement]: Add
  'file-system-/dev'.
* gnu/system/file-systems.scm (%devtmpfs-file-system,
  %base-file-systems): New variables.
* gnu/system/install.scm (installation-services)[file-systems]: Use
  %base-file-systems.
* build-aux/hydra/demo-os.scm (file-systems): Likewise.
* doc/guix.texi (System Installation): Show %BASE-FILE-SYSTEMS in the
  example.
  (Using the Configuration System): Likewise.
  (File Systems): Document %base-file-systems, %devtmpfs-file-system,
  %binary-format-file-system, and %fuse-control-file-system.

9 years agodoc: Fix typo.
Ludovic Courtès [Tue, 22 Jul 2014 13:23:14 +0000 (15:23 +0200)]
doc: Fix typo.

* doc/guix.texi (System Installation): s/are/is/.

9 years agoAdd comments about global memoization.
Ludovic Courtès [Mon, 21 Jul 2014 20:06:36 +0000 (22:06 +0200)]
Add comments about global memoization.

* guix/build-system/gnu.scm (standard-inputs): Add comment about
  misplaced memoization.
* guix/packages.scm (cache): Likewise.

9 years agoservices: Allow 'check-file-system' to work for non-boot-time file systems.
Ludovic Courtès [Mon, 21 Jul 2014 19:07:00 +0000 (21:07 +0200)]
services: Allow 'check-file-system' to work for non-boot-time file systems.

* gnu/services/base.scm (file-system-service)[start]: Set $PATH so that
  fsck.* can be found.  Reported by "DusXMT".

9 years agoUpdate 'NEWS'.
Ludovic Courtès [Mon, 21 Jul 2014 14:01:51 +0000 (16:01 +0200)]
Update 'NEWS'.

9 years agoguix package: add a "show" option.
Cyril Roelandt [Thu, 17 Jul 2014 00:36:09 +0000 (02:36 +0200)]
guix package: add a "show" option.

* doc/guix.texi: Update the documentation.
* guix/scripts/package.scm: Add a "show" option.
* tests/guix-package.sh: Add a test for the "show" option.

9 years agoui: add the "dependencies" field to package->recutils:
Cyril Roelandt [Wed, 16 Jul 2014 13:38:34 +0000 (15:38 +0200)]
ui: add the "dependencies" field to package->recutils:

* guix/ui.scm (package->recutils): Print the dependencies of the package.

9 years agonls: Add Hungarian translation.
Ludovic Courtès [Sun, 20 Jul 2014 20:38:07 +0000 (22:38 +0200)]
nls: Add Hungarian translation.

9 years agobuild: Fix typo that would lead to hitting the socket name length limit.
Ludovic Courtès [Sun, 20 Jul 2014 20:32:34 +0000 (22:32 +0200)]
build: Fix typo that would lead to hitting the socket name length limit.

* tests/guix-register.sh: Remove redundant $new_store in $NIX_STATE_DIR,
  introduced in 689142cd ("guix-register: Add '--state-directory'
  parameter.")  Reported by Eric Bavier <ericbavier@gmail.com> and
  Alen Skondro <askondro@gmail.com>.

9 years agodoc: Show output of 'guix refresh --list-dependent' example.
Ludovic Courtès [Sun, 20 Jul 2014 20:03:03 +0000 (22:03 +0200)]
doc: Show output of 'guix refresh --list-dependent' example.

* doc/guix.texi (Invoking guix refresh): Show example output of the
  command.

9 years agoguix refresh: Use (ice-9 format).
Ludovic Courtès [Sun, 20 Jul 2014 20:02:20 +0000 (22:02 +0200)]
guix refresh: Use (ice-9 format).

* guix/scripts/refresh.scm: Use (ice-9 format).

9 years agoguix system: Factorize 'copy-closure'.
Ludovic Courtès [Sun, 20 Jul 2014 12:25:08 +0000 (14:25 +0200)]
guix system: Factorize 'copy-closure'.

* guix/scripts/system.scm (copy-closure): Rename to...
  (copy-item): ... this.
  (copy-closure): New procedure.
  (install): Use it, and remove redundant code.

9 years agognu: ffmpeg: Remove --disable-vis.
Jason Self [Sun, 20 Jul 2014 20:37:02 +0000 (13:37 -0700)]
gnu: ffmpeg: Remove --disable-vis.

* gnu/packages/video.scm (ffmpeg): Remove --disable-vis.

9 years agognu: wpa-supplicant: Update to 2.2.
Jason Self [Sun, 20 Jul 2014 18:59:09 +0000 (11:59 -0700)]
gnu: wpa-supplicant: Update to 2.2.

* gnu/packages/admin.scm (wpa-supplicant): Update to version 2.2.

9 years agognu: sudo: Update to 1.8.10p3.
Jason Self [Sun, 20 Jul 2014 18:56:59 +0000 (11:56 -0700)]
gnu: sudo: Update to 1.8.10p3.

* gnu/packages/admin.scm (sudo): Update to version 1.8.10p3.

9 years agoguix: refresh: Add --list-dependent option.
Eric Bavier [Sun, 20 Jul 2014 16:29:48 +0000 (11:29 -0500)]
guix: refresh: Add --list-dependent option.

* guix/packages.scm (package-direct-inputs): New procedure.
* gnu/packages.scm (vhash-refq, package-direct-dependents)
  (package-transitive-dependents, package-covering-dependents): New procedures.
* guix/scripts/refresh.scm (%options, show-help, guix-refresh): Add
  --list-dependent option.
* doc/guix.texi (Invoking guix refresh): Document '--list-dependent' option.

9 years agoguix: utils: Add fold-tree and fold-tree-leaves.
Eric Bavier [Sun, 20 Jul 2014 16:22:46 +0000 (11:22 -0500)]
guix: utils: Add fold-tree and fold-tree-leaves.

* guix/utils.scm (fold-tree, fold-tree-leaves): New functions.
* tests/utils.scm: Add tests for them.

9 years agognu: htop: Update to 1.0.3.
Jason Self [Sun, 20 Jul 2014 13:48:58 +0000 (06:48 -0700)]
gnu: htop: Update to 1.0.3.

* gnu/packages/admin.scm (htop): Update to version 1.0.3.

9 years agognu: dfc: Update to 3.0.4.
Jason Self [Sun, 20 Jul 2014 13:47:14 +0000 (06:47 -0700)]
gnu: dfc: Update to 3.0.4.

* gnu/packages/admin.scm (dfc): Update to version 3.0.4.

9 years agognu: Enable swig tests.
John Darrington [Fri, 18 Jul 2014 08:06:13 +0000 (10:06 +0200)]
gnu: Enable swig tests.

* gnu/packages/swig.scm (swig): Add boost as input and enable tests.

9 years agognu: linux-libre: Update to 3.15.6.
Jason Self [Sat, 19 Jul 2014 14:14:09 +0000 (07:14 -0700)]
gnu: linux-libre: Update to 3.15.6.

* gnu/packages/linux.scm (linux-libre): Update to version 3.15.6.

9 years agoinstall: Add wireless-tools package.
David Thompson [Sat, 19 Jul 2014 13:42:43 +0000 (09:42 -0400)]
install: Add wireless-tools package.

* gnu/system/install.scm (installation-os): Add wireless-tools to packages.

9 years agolinux-initrd: Add AHCI modules.
David Thompson [Fri, 18 Jul 2014 15:03:02 +0000 (11:03 -0400)]
linux-initrd: Add AHCI modules.

* gnu/system/linux-initrd (linux-modules): Add them.

9 years agognu: Add wireless-tools.
David Thompson [Sat, 19 Jul 2014 01:23:58 +0000 (21:23 -0400)]
gnu: Add wireless-tools.

* gnu/packages/linux.scm (wireless-tools): New variable.

9 years agoinstall: Set the store's permission to #o1775.
Ludovic Courtès [Sat, 19 Jul 2014 12:25:39 +0000 (14:25 +0200)]
install: Set the store's permission to #o1775.

Fixes <http://bugs.gnu.org/18053>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build/install.scm (directives): Add mode #o1775 for STORE.

9 years agognu: Add datamash.
Eric Bavier [Fri, 18 Jul 2014 19:36:09 +0000 (14:36 -0500)]
gnu: Add datamash.

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

9 years agoThank Marek.
Ludovic Courtès [Fri, 18 Jul 2014 09:08:04 +0000 (11:08 +0200)]
Thank Marek.

9 years agoguix system: init: Always use /var/guix as the target state directory.
Ludovic Courtès [Fri, 18 Jul 2014 09:07:33 +0000 (11:07 +0200)]
guix system: init: Always use /var/guix as the target state directory.

Fixes <http://bugs.gnu.org/18049>.
Reported by Marek Benc <merkur32@gmail.com>.

* guix/scripts/system.scm (copy-closure): Pass #:state-directory to
  'register-path'.

9 years agoguix-register: Add '--state-directory' parameter.
Ludovic Courtès [Fri, 18 Jul 2014 09:03:50 +0000 (11:03 +0200)]
guix-register: Add '--state-directory' parameter.

* nix/guix-register/guix-register.cc (GUIX_OPT_STATE_DIRECTORY): New
  macro.
  (parse_opt): Honor it.
* tests/guix-register.sh: Add test with '--state-directory'.
* guix/store.scm (register-path): Add #:state-directory parameter.

9 years agoFix typos in manual.
Mark H Weaver [Fri, 18 Jul 2014 14:41:47 +0000 (10:41 -0400)]
Fix typos in manual.

* doc/guix.texi (Using the Configuration System): 'gid' -> 'group'
  in user-account example.
  (Initial RAM Disk): 'base-init' -> 'base-initrd'.

9 years agognu: Add Aegis.
John Darrington [Fri, 24 Jan 2014 14:01:00 +0000 (15:01 +0100)]
gnu: Add Aegis.

* gnu/packages/version-control.scm (aegis): New variable.
* gnu/packages/patches/aegis-constness-error.patch: New file.
* gnu/packages/patches/aegis-perl-tempdir1.patch: New file.
* gnu/packages/patches/aegis-perl-tempdir2.patch: New file.
* gnu/packages/patches/aegis-test-fixup-1.patch: New file.
* gnu/packages/patches/aegis-test-fixup-2.patch: New file.

9 years agognu: whitespace change only
John Darrington [Wed, 16 Jul 2014 07:42:31 +0000 (09:42 +0200)]
gnu: whitespace change only

* gnu/packages/version-control.scm: Remove blank line

9 years agoUpdate 'AUTHORS'.
John Darrington [Fri, 18 Jul 2014 04:43:21 +0000 (06:43 +0200)]
Update 'AUTHORS'.

* AUTHORS: Correct the email address I use for Guix work.

9 years agognu: apr-util: Run 'make check' sequentially.
Ludovic Courtès [Thu, 17 Jul 2014 22:52:45 +0000 (00:52 +0200)]
gnu: apr-util: Run 'make check' sequentially.

* gnu/packages/apr.scm (apr-util)[arguments]: Add #:parallel-tests?.

9 years agoMerge branch 'gettext-upgrade'
Ludovic Courtès [Thu, 17 Jul 2014 16:42:28 +0000 (18:42 +0200)]
Merge branch 'gettext-upgrade'

9 years agognu: ffmpeg: Update to 2.3.
Jason Self [Wed, 16 Jul 2014 18:07:11 +0000 (11:07 -0700)]
gnu: ffmpeg: Update to 2.3.

* gnu/packages/video.scm (ffmpeg): Update to version 2.3.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: libogg: Update to 1.3.2.
Jason Self [Wed, 16 Jul 2014 15:13:26 +0000 (08:13 -0700)]
gnu: libogg: Update to 1.3.2.

* gnu/packages/xiph.scm (libogg): Update to version 1.3.2.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoinstall: Show the "System Installation" node.
Ludovic Courtès [Thu, 17 Jul 2014 16:37:53 +0000 (18:37 +0200)]
install: Show the "System Installation" node.

* gnu/system/install.scm (log-to-info): Go to the new 'System
  Installation' node.

9 years agognu: guix: Upgrade development snapshot.
Ludovic Courtès [Thu, 17 Jul 2014 16:30:11 +0000 (18:30 +0200)]
gnu: guix: Upgrade development snapshot.

* gnu/packages/package-management.scm (guix): Upgrade to commit
  0ae8c15.

9 years agodoc: Add "Setuid Programs" node.
Ludovic Courtès [Thu, 17 Jul 2014 16:10:16 +0000 (18:10 +0200)]
doc: Add "Setuid Programs" node.

* doc/guix.texi (Setuid Programs): New node.

9 years agodoc: Add "Initial RAM Disk" section.
Ludovic Courtès [Thu, 17 Jul 2014 15:49:34 +0000 (17:49 +0200)]
doc: Add "Initial RAM Disk" section.

* doc/guix.texi (Initial RAM Disk): New node.
* gnu/system/linux-initrd.scm (expression->initrd): Adjust docstring.

9 years agorecords: Report unknown field names in inheriting forms.
Ludovic Courtès [Thu, 17 Jul 2014 14:45:45 +0000 (16:45 +0200)]
records: Report unknown field names in inheriting forms.

* guix/records.scm (define-record-type*)[record-inheritance]: Check for
  unexpected field names.
* tests/records.scm ("define-record-type* with let* behavior"): Return
  #t, not *unspecified*.
  ("define-record-type* & inherit & extra initializers"): New test.

9 years agorecords: Factorize error-reporting macro.
Ludovic Courtès [Thu, 17 Jul 2014 14:42:19 +0000 (16:42 +0200)]
records: Factorize error-reporting macro.

* guix/records.scm (record-error): New macro.
  (define-record-type*)[error*]: Remove.
  Use 'record-error' instead.

9 years agorecords: Add tests for error cases.
Ludovic Courtès [Thu, 17 Jul 2014 14:06:36 +0000 (16:06 +0200)]
records: Add tests for error cases.

* tests/records.scm (test-module): New procedure.
  ("define-record-type* & missing initializers",
  "define-record-type* & extra initializers"): New tests.

9 years agoservices: Add 'console-font-service'.
Ludovic Courtès [Thu, 17 Jul 2014 13:53:01 +0000 (15:53 +0200)]
services: Add 'console-font-service'.

* gnu/services/base.scm (unicode-start, console-font-service): New
  procedures.
  (%base-services): Call 'console-font-service' for TTY1 to TTY6.
* gnu/system/install.scm (installation-services): Add comment about the
  console font.  Call 'console-font-service' for TTY1 to TTY6.

9 years agogexp: Gracefully handle printing of gexps with spliced references.
Ludovic Courtès [Thu, 17 Jul 2014 13:40:06 +0000 (15:40 +0200)]
gexp: Gracefully handle printing of gexps with spliced references.

* guix/gexp.scm (write-gexp): Wrap 'write' call in
  'false-if-exception'.
* tests/gexp.scm ("printer", "printer vs. ungexp-splicing"): New tests.

9 years agodoc: List noteworthy limitations.
Ludovic Courtès [Thu, 17 Jul 2014 12:36:36 +0000 (14:36 +0200)]
doc: List noteworthy limitations.

* doc/guix.texi (Limitations): New subsection.

9 years agoservices: syslog: Don't write trivial error messages to /dev/console.
Ludovic Courtès [Wed, 16 Jul 2014 20:40:14 +0000 (22:40 +0200)]
services: syslog: Don't write trivial error messages to /dev/console.

* gnu/services/base.scm (syslog-service): Change "*.err" to "*.alert".

9 years agosystem: Add e2fsprogs to the base packages.
Ludovic Courtès [Wed, 16 Jul 2014 13:54:15 +0000 (15:54 +0200)]
system: Add e2fsprogs to the base packages.

* gnu/system.scm (%base-packages): Add E2FSPROGS.

9 years agosystem: Use kmod instead of module-init-tools.
Ludovic Courtès [Wed, 16 Jul 2014 13:50:13 +0000 (15:50 +0200)]
system: Use kmod instead of module-init-tools.

* gnu/system.scm (%base-packages): Use kmod instead of
  module-init-tools.

9 years agogexp: Build 'gexp->file' derivations locally.
Ludovic Courtès [Wed, 16 Jul 2014 13:48:28 +0000 (15:48 +0200)]
gexp: Build 'gexp->file' derivations locally.

* guix/gexp.scm (gexp->file): Add #:local-build? argument.

9 years agognu: kbd: Make sure unicode_{start,stop} work as expected.
Ludovic Courtès [Wed, 16 Jul 2014 13:46:57 +0000 (15:46 +0200)]
gnu: kbd: Make sure unicode_{start,stop} work as expected.

* gnu/packages/linux.scm (kbd): Patch 'src/unicode_{start,stop}' to use
  'tty'.
  <phases>: Add 'post-install' phase.

9 years agodoc: Move "System Configuration" higher.
Ludovic Courtès [Wed, 16 Jul 2014 09:35:45 +0000 (11:35 +0200)]
doc: Move "System Configuration" higher.

* doc/guix.texi (GNU Distribution): Move "System Configuration" right
  after "System Installation".

9 years agoUpdate 'THANKS'.
John Darrington [Tue, 15 Jul 2014 18:56:41 +0000 (20:56 +0200)]
Update 'THANKS'.

* THANKS: Correct the email address I use for Guix work.

9 years agognu: Tinyproxy: Cleanup xml dependencies
John Darrington [Sun, 13 Jul 2014 14:37:52 +0000 (16:37 +0200)]
gnu: Tinyproxy: Cleanup xml dependencies

* gnu/packages/web.scm (tinyproxy): Use the XML catalog from docbook instead of
  generating a temporary one.

9 years agognu: Enable gnome-doc-utils tests
John Darrington [Sun, 13 Jul 2014 14:38:26 +0000 (16:38 +0200)]
gnu: Enable gnome-doc-utils tests

* gnu/packages/gnome (gnome-doc-utils): Set the XML_CATALOG_FILES variable and
  enable the tests.

9 years agognu: docbook-xsl write absolute file:// uris in catalogs instead of ./ relative ones
John Darrington [Sun, 13 Jul 2014 15:15:47 +0000 (17:15 +0200)]
gnu: docbook-xsl write absolute file:// uris in catalogs instead of ./ relative ones

* gnu/packages/docbook.scm (docbook-xsl):  Replace ./ paths with file:// uris

9 years agognu: docbook-xml: Substitute remote xml_catalog uris with local ones.
John Darrington [Sun, 13 Jul 2014 15:08:55 +0000 (17:08 +0200)]
gnu: docbook-xml: Substitute remote xml_catalog uris with local ones.

* gnu/packages/docbook.scm: substitute remote uri with local ones.

9 years agognu: Add docbook-xml version 4.3 and 4.4
John Darrington [Sun, 13 Jul 2014 15:02:09 +0000 (17:02 +0200)]
gnu: Add docbook-xml version 4.3 and 4.4

* gnu/packages/docbook.scm (docbook-xml-4.3, docbook-xml-4.4): New variables.

9 years agognu: docbook-xsl update to 1.78.1
John Darrington [Sun, 13 Jul 2014 14:59:44 +0000 (16:59 +0200)]
gnu: docbook-xsl update to 1.78.1

* gnu/packages/docbook.scm (docbook-xsl): Upgrade to version 1.78.1

9 years agonls: Update 'eo' and 'vi' translations.
Ludovic Courtès [Tue, 15 Jul 2014 21:43:41 +0000 (23:43 +0200)]
nls: Update 'eo' and 'vi' translations.

9 years agoAdd Jason to 'AUTHORS'.
Ludovic Courtès [Tue, 15 Jul 2014 20:48:48 +0000 (22:48 +0200)]
Add Jason to 'AUTHORS'.

9 years agognu: libvorbis: Update to 1.3.4.
Jason Self [Tue, 15 Jul 2014 17:03:10 +0000 (10:03 -0700)]
gnu: libvorbis: Update to 1.3.4.

* gnu/packages/xiph.scm (libvorbis): Update to version 1.3.4.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: flac: Upgrade to 1.3.0.
Jason Self [Tue, 15 Jul 2014 03:22:28 +0000 (20:22 -0700)]
gnu: flac: Upgrade to 1.3.0.

* gnu/packages/xiph.scm (flac): Update to version 1.3.0.
  Remove 'patches' field.
* gnu/packages/patches/flac-fix-memcmp-not-declared.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: gettext: Update to 0.19.2.
Ludovic Courtès [Tue, 15 Jul 2014 07:55:40 +0000 (09:55 +0200)]
gnu: gettext: Update to 0.19.2.

* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.2.

9 years agoguix: refresh: Correctly identify invalid package names.
Eric Bavier [Tue, 15 Jul 2014 05:10:10 +0000 (00:10 -0500)]
guix: refresh: Correctly identify invalid package names.

* guix/scripts/refresh.scm (guix-refresh): Check for null list
  returned by find-packages-by-name rather than #f.

9 years agodoc: Add a "System Installation" node.
Ludovic Courtès [Mon, 14 Jul 2014 22:43:04 +0000 (00:43 +0200)]
doc: Add a "System Installation" node.

* doc/guix.texi (Installation): Add cross-ref to "System Installation".
  (System Installation): New section.
  (System Configuration): Remove disclaimer.

9 years agoinstall: Remove GNU fdisk from the image.
Ludovic Courtès [Mon, 14 Jul 2014 16:06:35 +0000 (18:06 +0200)]
install: Remove GNU fdisk from the image.

* gnu/system/install.scm (installation-os): Remove FDISK.

9 years agovm: Make sure disk image initrds load 'usb-storage.ko'.
Ludovic Courtès [Mon, 14 Jul 2014 16:05:10 +0000 (18:05 +0200)]
vm: Make sure disk image initrds load 'usb-storage.ko'.

Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/system/vm.scm (system-disk-image): Add usb-storage.ko to the
  initrd.

9 years agodoc: Remove redundant listing of services.
Ludovic Courtès [Mon, 14 Jul 2014 14:34:24 +0000 (16:34 +0200)]
doc: Remove redundant listing of services.

* doc/guix.texi (Defining Services): Remove listing of service
  procedures; add xref to "Services".

9 years agoguix system: reconfigure: Always use "/" as GRUB's target file system.
Ludovic Courtès [Mon, 14 Jul 2014 14:14:15 +0000 (16:14 +0200)]
guix system: reconfigure: Always use "/" as GRUB's target file system.

* guix/scripts/system.scm (perform-action) <reconfigure>: Wrap
  'install-grub' call in 'false-if-exception'.  Always use "/" as the
  target.