jackhill/guix/guix.git
9 years agoprofiles: Adjust to unintended manifest format change.
Ludovic Courtès [Tue, 12 Aug 2014 20:09:42 +0000 (22:09 +0200)]
profiles: Adjust to unintended manifest format change.

Reported by Andreas Enge.

* guix/profiles.scm (sexp->manifest): Adjust to handle unintended format
  change introduced in 4ca0b41.

9 years agoguix package: Remove leftover internal procedure.
Ludovic Courtès [Tue, 12 Aug 2014 19:41:45 +0000 (21:41 +0200)]
guix package: Remove leftover internal procedure.

Reported by Alex Kost <alezost@gmail.com>.

* guix/scripts/package.scm (guix-package)[process-actions]: Remove
  'same-package?'.

9 years agognu: Add detox.
Eric Bavier [Tue, 12 Aug 2014 18:36:35 +0000 (13:36 -0500)]
gnu: Add detox.

* gnu/packages/admin.scm (detox): New variable.

9 years agoguix package: Use 'manifest-add'.
Ludovic Courtès [Tue, 12 Aug 2014 14:10:32 +0000 (16:10 +0200)]
guix package: Use 'manifest-add'.

* guix/scripts/package.scm (guix-package)[process-actions]: Use
  'manifest-add' instead of the equivalent code.

9 years agoprofiles: Add 'manifest-add'.
Alex Kost [Tue, 12 Aug 2014 08:32:16 +0000 (12:32 +0400)]
profiles: Add 'manifest-add'.

* guix/profiles.scm (manifest-add): New procedure.
* tests/profiles.scm (guile-1.8.8): New variable.
  ("manifest-add"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoRevert "nls: Use xgettext and msgmerge with --no-wrap."
Ludovic Courtès [Tue, 12 Aug 2014 13:45:55 +0000 (15:45 +0200)]
Revert "nls: Use xgettext and msgmerge with --no-wrap."

This reverts commit 648453e8d6005a7a2caec688cc035db86fe73c02.

See <http://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>
for the rationale.

9 years agognu: texi2html: Remove dependency on Gettext.
Ludovic Courtès [Tue, 12 Aug 2014 13:44:40 +0000 (15:44 +0200)]
gnu: texi2html: Remove dependency on Gettext.

Partly fixes <http://bugs.gnu.org/18247>.

* gnu/packages/texinfo.scm (texi2html)[source]: Add 'snippet' field.

9 years agognu: Add orpheus.
Eric Bavier [Fri, 25 Jul 2014 04:40:44 +0000 (23:40 -0500)]
gnu: Add orpheus.

* gnu/packages/orpheus.scm: New file.
* gnu/packages/patches/orpheus-cast-errors-and-includes.patch: New patch.
* gnu-system.am (GNU_SYSTEM_MODULES): Add file.
  (dist_patch_DATA): Add patch.

9 years agognu: Add emacs-no-x-toolkit.
Taylan Ulrich Bayirli/Kammer [Tue, 29 Jul 2014 08:00:56 +0000 (10:00 +0200)]
gnu: Add emacs-no-x-toolkit.

* gnu/packages/emacs.scm (emacs-no-x-toolkit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agosystem: Use (guix profiles) to build the system profile.
Ludovic Courtès [Mon, 11 Aug 2014 20:18:33 +0000 (22:18 +0200)]
system: Use (guix profiles) to build the system profile.

* gnu/system.scm (union): Remove.
  (operating-system-profile): Use 'profile-derivation' and related
  procedures instead of 'union'.

9 years agognu: Add texi2html.
Eric Bavier [Fri, 25 Jul 2014 21:37:44 +0000 (16:37 -0500)]
gnu: Add texi2html.

* gnu/packages/texinfo.scm (texi2html): New variable.
* gnu/packages/patches/texi2html-document-encoding.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agoguix package: Remove dead code and unused variables.
Ludovic Courtès [Mon, 11 Aug 2014 16:58:17 +0000 (18:58 +0200)]
guix package: Remove dead code and unused variables.

Suggested by Alex Kost <alezost@gmail.com>.

* guix/scripts/package.scm (options->installable)[deduplicate]: Remove.
  [packages-to-upgrade]: Remove unused variable 'newest'.
  (roll-back): Remove unused variable 'manifest'.
  (guix-package): Remove unused variables 'guile-missing?', 'verbose?',
  and 'packages'.

9 years agonls: Add Czech translation.
Ludovic Courtès [Mon, 11 Aug 2014 16:45:54 +0000 (18:45 +0200)]
nls: Add Czech translation.

9 years agognu: Add AVRDUDE
Manolis Ragkousis [Thu, 24 Jul 2014 11:05:43 +0000 (11:05 +0000)]
gnu: Add AVRDUDE

* gnu/packages/avrdude.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add avrdude.scm
* gnu/packages/patches/avrdude-fix-libusb.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoui: Fix handling of periods by fill-paragraph.
Cyrill Schenkel [Sat, 26 Jul 2014 22:53:16 +0000 (00:53 +0200)]
ui: Fix handling of periods by fill-paragraph.

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

* guix/ui.scm (fill-paragraph): Two spaces after period and no spaces before newline.
* tests/ui.scm: New test case.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agobuild: 'make clean' doesn't delete os-config.tmpl.
Ludovic Courtès [Mon, 11 Aug 2014 15:15:27 +0000 (17:15 +0200)]
build: 'make clean' doesn't delete os-config.tmpl.

Fixes <http://bugs.gnu.org/18243>.
Reported by Andreas Enge and Mark H. Weaver.

* Makefile.am (EXAMPLES): New variable.
  (nobase_dist_guilemodule_DATA): Add it.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove gnu/system/os-config.tmpl.

9 years agognu: geiser: Update to 0.6.
Mark H Weaver [Sun, 10 Aug 2014 01:04:59 +0000 (21:04 -0400)]
gnu: geiser: Update to 0.6.

* gnu/packages/emacs.scm (geiser): Update to 0.6.

9 years agognu: linux-libre: Update to 3.16.
Jason Self [Sat, 9 Aug 2014 16:33:28 +0000 (09:33 -0700)]
gnu: linux-libre: Update to 3.16.

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

9 years agognu: openssl: Update to 1.0.1i.
Mark H Weaver [Sat, 9 Aug 2014 15:26:50 +0000 (11:26 -0400)]
gnu: openssl: Update to 1.0.1i.

* gnu/packages/openssl.scm (openssl): Update to 1.0.1i.

9 years agognu: linux-libre: Update to 3.15.9.
Mark H Weaver [Sat, 9 Aug 2014 06:49:03 +0000 (02:49 -0400)]
gnu: linux-libre: Update to 3.15.9.

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

9 years agognu: xorg: Add presentproto.
Andreas Enge [Fri, 8 Aug 2014 20:37:32 +0000 (22:37 +0200)]
gnu: xorg: Add presentproto.

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

9 years agognu: xorg: Add dri3proto.
Andreas Enge [Fri, 8 Aug 2014 20:30:07 +0000 (22:30 +0200)]
gnu: xorg: Add dri3proto.

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

9 years agognu: xf86-input-evdev: Add required input udev.
Andreas Enge [Fri, 8 Aug 2014 19:37:54 +0000 (21:37 +0200)]
gnu: xf86-input-evdev: Add required input udev.

* gnu/packages/xorg.scm (xf86-input-evdev): Add input udev.

9 years agognu: setxkbmap: Use xkeyboard-config as default config root.
Mark H Weaver [Fri, 8 Aug 2014 06:28:44 +0000 (02:28 -0400)]
gnu: setxkbmap: Use xkeyboard-config as default config root.

* gnu/packages/xorg.scm (setxkbmap): Add 'xkeyboard-config' as an input.
  Pass --with-xkb-config-root to configure.

9 years agoservices: lsh: Fix activation script.
Mark H Weaver [Fri, 8 Aug 2014 01:00:57 +0000 (21:00 -0400)]
services: lsh: Fix activation script.

* gnu/services/ssh.scm (lsh-service)[activate]: Import (guix build utils)
  for 'mkdir-p'.

9 years agognu: Add xsensors.
Mark H Weaver [Fri, 8 Aug 2014 00:35:10 +0000 (20:35 -0400)]
gnu: Add xsensors.

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

9 years agognu: Add lm-sensors.
Mark H Weaver [Fri, 8 Aug 2014 00:29:32 +0000 (20:29 -0400)]
gnu: Add lm-sensors.

* gnu/packages/patches/lm-sensors-hwmon-attrs.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (lm-sensors): New variable.

9 years agognu: Add rrdtool.
Mark H Weaver [Thu, 7 Aug 2014 21:53:02 +0000 (17:53 -0400)]
gnu: Add rrdtool.

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

9 years agognu: Add stress.
Mark H Weaver [Thu, 7 Aug 2014 18:48:45 +0000 (14:48 -0400)]
gnu: Add stress.

* gnu/packages/admin.scm (stress): New variable.

9 years agognu: curl: Update to 7.37.1.
Andreas Enge [Thu, 7 Aug 2014 20:53:21 +0000 (22:53 +0200)]
gnu: curl: Update to 7.37.1.

* gnu/packages/curl.scm (curl): Update to 7.37.1. Remove patch.
* gnu/packages/patches/curl-fix-test172.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove patch.

9 years agognu: gnurl: Update to 7.37.0.
Andreas Enge [Thu, 7 Aug 2014 20:29:33 +0000 (22:29 +0200)]
gnu: gnurl: Update to 7.37.0.

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

9 years agognu: notmuch: Update to 0.18.1.
Mark H Weaver [Wed, 6 Aug 2014 16:42:36 +0000 (12:42 -0400)]
gnu: notmuch: Update to 0.18.1.

* gnu/packages/mail.scm (notmuch): Update to 0.18.1.

9 years agognu: xapian: Update to 1.2.18.
Mark H Weaver [Wed, 6 Aug 2014 16:41:54 +0000 (12:41 -0400)]
gnu: xapian: Update to 1.2.18.

* gnu/packages/search.scm (xapian): Update to 1.2.18.

9 years agognu: transmission: Update to 2.84.
Mark H Weaver [Wed, 6 Aug 2014 04:26:28 +0000 (00:26 -0400)]
gnu: transmission: Update to 2.84.

* gnu/packages/bittorrent.scm (transmission): Update to 2.84.

9 years agognu: Add acpica.
Mark H Weaver [Tue, 5 Aug 2014 18:23:22 +0000 (14:23 -0400)]
gnu: Add acpica.

* gnu/packages/admin.scm (acpica): New variable.

9 years agognu: Add flashrom.
Mark H Weaver [Tue, 5 Aug 2014 04:15:08 +0000 (00:15 -0400)]
gnu: Add flashrom.

* gnu/packages/patches/flashrom-use-libftdi1.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (flashrom): New variable.

9 years agognu: libftdi: Fix mistakes in package description.
Mark H Weaver [Tue, 5 Aug 2014 07:28:12 +0000 (03:28 -0400)]
gnu: libftdi: Fix mistakes in package description.

* gnu/packages/libftdi.scm (libftdi): Change 'libusb' from a
  'native-input' to a normal 'input'.  Fix the 'home-page' and
  'license' fields.

9 years agognu: ffmpeg: Update to 2.3.1.
Mark H Weaver [Tue, 5 Aug 2014 23:57:20 +0000 (19:57 -0400)]
gnu: ffmpeg: Update to 2.3.1.

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

9 years agognu: tor: Update to 0.2.4.23.
Mark H Weaver [Tue, 5 Aug 2014 02:43:42 +0000 (22:43 -0400)]
gnu: tor: Update to 0.2.4.23.

* gnu/packages/tor.scm (tor): Update to 0.2.4.23.

9 years agognu: ffmpeg and vlc: Rely on runtime cpu detection.
Mark H Weaver [Mon, 4 Aug 2014 20:11:38 +0000 (16:11 -0400)]
gnu: ffmpeg and vlc: Rely on runtime cpu detection.

* gnu/packages/video.scm (ffmpeg): Pass "--enable-runtime-cpudetect"
  to configure.  Do not disable use of processor features that can be
  detected at runtime.
  (vlc): Rely on runtime cpu detection.  Do not disable use of
  processor features that can be detected at runtime.

9 years agognu: mplayer: Enable runtime cpu detection.
Mark H Weaver [Mon, 4 Aug 2014 03:27:24 +0000 (23:27 -0400)]
gnu: mplayer: Enable runtime cpu detection.

* gnu/packages/video.scm (mplayer): Pass --enable-runtime-cpudetection
  to configure on supported platforms, as well as a suitable --target.

9 years agognu: gdb: Update to 7.8.
Mark H Weaver [Sun, 3 Aug 2014 16:34:40 +0000 (12:34 -0400)]
gnu: gdb: Update to 7.8.

* gnu/packages/gdb.scm (gdb): Update to 7.8.  Add 'guile' and 'python'
  as inputs.  Add 'pkg-config' as a native-input.

9 years agognu: linux-libre: Update to 3.15.8.
Jason Self [Fri, 1 Aug 2014 22:35:16 +0000 (15:35 -0700)]
gnu: linux-libre: Update to 3.15.8.

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

9 years agognu: gccgo: Suppress the separate "lib" output.
Mark H Weaver [Thu, 31 Jul 2014 22:19:22 +0000 (18:19 -0400)]
gnu: gccgo: Suppress the separate "lib" output.

Fixes <http://debbugs.gnu.org/18101>.

* gnu/packages/gcc.scm (custom-gcc): Add 'separate-lib-output?'
  keyword argument.
  (gccgo-4.8): Pass #:separate-lib-output? #f to 'custom-gcc'.

9 years agognu: linux-libre: Update to 3.15.7.
Jason Self [Wed, 30 Jul 2014 14:55:53 +0000 (07:55 -0700)]
gnu: linux-libre: Update to 3.15.7.

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

9 years agognu: gnumeric: Adapt to glib "bin" split.
Mark H Weaver [Sat, 26 Jul 2014 21:08:56 +0000 (17:08 -0400)]
gnu: gnumeric: Adapt to glib "bin" split.

* gnu/packages/gnome.scm (gnumeric): Add glib:bin to 'native-inputs'.

9 years agoprofiles: Add 'package->manifest-entry'.
Ludovic Courtès [Sat, 26 Jul 2014 20:54:40 +0000 (22:54 +0200)]
profiles: Add 'package->manifest-entry'.

Suggested by Alex Kost <alezost@gmail.com>.

* guix/scripts/package.scm (options->installable)[package->manifest-entry]:
  Move to (guix profiles).
  [package->manifest-entry*]: New procedure.
  Use it.
* guix/profiles.scm (package->manifest-entry): New procedure.
* tests/profiles.scm (guile-for-build): New variable.
  Call '%guile-for-build'.
  ("profile-derivation"): New test.

9 years agoprofiles: Get rid of the 'inputs' field of 'manifest-entry'.
Ludovic Courtès [Sat, 26 Jul 2014 20:21:43 +0000 (22:21 +0200)]
profiles: Get rid of the 'inputs' field of 'manifest-entry'.

* guix/profiles.scm (<manifest-entry>)[inputs]: Remove.
  (profile-derivation): Rely on 'item' and 'deps' instead of 'inputs'.
  Adjust 'builder' accordingly.
* guix/scripts/package.scm (options->installable)[package->manifest-entry]:
  Remove 'inputs' field.  Change 'dependencies' field to contain
  packages.

9 years agoprofiles: Switch to gexps.
Ludovic Courtès [Sat, 26 Jul 2014 20:08:10 +0000 (22:08 +0200)]
profiles: Switch to gexps.

* guix/profiles.scm (<manifest-entry>)[path]: Rename to...
  [item]: ... this.  Update users.
  (manifest->sexp): Rename to...
  (manifest->gexp): ... this.  Return a gexp.
  (lower-input): Remove.
  (profile-derivation): Remove 'store' parameter, and turn into a
  monadic procedure.
  [inputs]: New variable.
  [builder]: Turn into a gexp.
  Replace call to 'build-expression->derivation' with call to
  'gexp->derivation'.
* guix/scripts/package.scm (link-to-empty-profile): Adjust call to
  'profile-derivation', and wrap it in 'run-with-store'.
  (show-what-to-remove/install): Rename 'path' to 'item'.  Check whether
  ITEM is a package, and return its output path if it is.
  (input->name+path): Remove.
  (options->installable): Set 'item' to P.
  (guix-package): Adjust call to 'profile-derivation'.
* tests/profiles.scm (guile-2.0.9): Change 'path' to 'item'.

9 years agoprofiles: Do away with 'manifest=?'.
Ludovic Courtès [Sat, 26 Jul 2014 19:43:43 +0000 (21:43 +0200)]
profiles: Do away with 'manifest=?'.

* guix/profiles.scm (manifest=?): Remove.
* guix/scripts/package.scm (readlink*): New procedure.
  (guix-package)[process-actions]: Use 'readlink*' and compare the
  profile to be built, PROF, with PROFILE to determine whether there's
  nothing to be done.

9 years agognu: goffice: Adapt to glib "bin" split.
Mark H Weaver [Sat, 26 Jul 2014 20:44:26 +0000 (16:44 -0400)]
gnu: goffice: Adapt to glib "bin" split.

* gnu/packages/gnome.scm (goffice): Add glib:bin to 'native-inputs'.

9 years agognu: sudo: Apply workaround to build system for MIPS.
Mark H Weaver [Sat, 26 Jul 2014 20:08:35 +0000 (16:08 -0400)]
gnu: sudo: Apply workaround to build system for MIPS.

* gnu/packages/admin.scm (sudo): Work around the fact that configure fails on
  MIPS without 'file'.

9 years agoprofiles: Remove dead code.
Ludovic Courtès [Fri, 25 Jul 2014 21:19:23 +0000 (23:19 +0200)]
profiles: Remove dead code.

* guix/profiles.scm (write-manifest): Remove.
  (read-manifest): Keep private.

9 years agodoc: Replace incorrect uses of @ref by @pxref.
Ludovic Courtès [Fri, 25 Jul 2014 20:05:17 +0000 (22:05 +0200)]
doc: Replace incorrect uses of @ref by @pxref.

* doc/guix.texi: Use @pxref at the end of sentences, not @ref.

9 years agognu: libpeas: Adjust to glib "bin" split.
Mark H Weaver [Fri, 25 Jul 2014 19:48:25 +0000 (15:48 -0400)]
gnu: libpeas: Adjust to glib "bin" split.

* gnu/packages/gnome.scm (libpeas): Add glib:bin to 'native-inputs'.

9 years agotests: Make sure --search="" works.
Ludovic Courtès [Fri, 25 Jul 2014 15:56:14 +0000 (17:56 +0200)]
tests: Make sure --search="" works.

* tests/guix-package.sh: Move '-s' tests outside of the network-only
  section.  Make sure --search="" works.

9 years agognu: Add dmidecode.
Ludovic Courtès [Fri, 25 Jul 2014 15:47:53 +0000 (17:47 +0200)]
gnu: Add dmidecode.

* gnu/packages/admin.scm (dmidecode): New variable.

9 years agoguix: package: Fix recutils output for non-package inputs.
Eric Bavier [Fri, 25 Jul 2014 12:38:20 +0000 (07:38 -0500)]
guix: package: Fix recutils output for non-package inputs.

* guix/ui.scm (package->recutils)[dependencies]: Ignore non-package inputs.
* tests/guix-package.sh: New test.

9 years agognu: guix: Update to 0.7.
Ludovic Courtès [Fri, 25 Jul 2014 11:46:30 +0000 (13:46 +0200)]
gnu: guix: Update to 0.7.

* gnu/packages/package-management.scm (guix-0.6): Rename to...
  (guix-0.7): ... this.  Upgrade to 0.7.
  (guix): Alias for GUIX-0.7.
  (guix-devel): Change 'guix-0.6' to 'guix-0.7'.

9 years agobuild: Bump to version 0.8.
Ludovic Courtès [Fri, 25 Jul 2014 11:38:16 +0000 (13:38 +0200)]
build: Bump to version 0.8.

* configure.ac: Switch to 0.8.

9 years agodoc: Fix typo in USB image file name.
Ludovic Courtès [Fri, 25 Jul 2014 11:35:12 +0000 (13:35 +0200)]
doc: Fix typo in USB image file name.

* doc/guix.texi (System Installation): Change image file name.

9 years agognu: texlive: Disable tests on mips64el.
Mark H Weaver [Fri, 25 Jul 2014 03:32:13 +0000 (23:32 -0400)]
gnu: texlive: Disable tests on mips64el.

* gnu/packages/texlive.scm (texlive): Disable tests on mips64el.

9 years agognu: boost: Omit context and coroutines libraries on mips64el.
Mark H Weaver [Fri, 25 Jul 2014 03:06:49 +0000 (23:06 -0400)]
gnu: boost: Omit context and coroutines libraries on mips64el.

* gnu/packages/boost.scm (boost): Omit context and coroutines libraries on
  mips64el.

9 years agoUpdate NEWS.
Ludovic Courtès [Thu, 24 Jul 2014 23:01:51 +0000 (01:01 +0200)]
Update NEWS.

9 years agobuild: Update PO files as per 'make dist'.
Ludovic Courtès [Thu, 24 Jul 2014 22:56:35 +0000 (00:56 +0200)]
build: Update PO files as per 'make dist'.

9 years agoUpdate NEWS.
Ludovic Courtès [Thu, 24 Jul 2014 22:44:43 +0000 (00:44 +0200)]
Update NEWS.

9 years agoui: Improve formatting of package dependencies in recutils.
Ludovic Courtès [Thu, 24 Jul 2014 22:29:47 +0000 (00:29 +0200)]
ui: Improve formatting of package dependencies in recutils.

* guix/ui.scm (package->recutils)[dependencies->recutils]: New
  procedure. Use it.

9 years agobuild: Fix typo in 'guix package --show' test.
Ludovic Courtès [Thu, 24 Jul 2014 22:26:55 +0000 (00:26 +0200)]
build: Fix typo in 'guix package --show' test.

* tests/guix-package.sh: Change "^Package:" to "^name:".

9 years agobuild: Better reject systems where the shebang would be too long.
Ludovic Courtès [Thu, 24 Jul 2014 22:26:29 +0000 (00:26 +0200)]
build: Better reject systems where the shebang would be too long.

* tests/gexp.scm (shebang): Add "#!".

9 years agoservices: Use system groups where applicable.
Ludovic Courtès [Thu, 24 Jul 2014 22:15:46 +0000 (00:15 +0200)]
services: Use system groups where applicable.

* gnu/services/avahi.scm (avahi-service): Add 'system?' field to
  'user-group' form.
* gnu/services/base.scm (guix-service): Likewise.
* gnu/services/dbus.scm (dbus-service): Likewise.
* gnu/services/networking.scm (tor-service): Likewise.

9 years agosystem: Add the 'system?' field for user groups.
Ludovic Courtès [Thu, 24 Jul 2014 22:12:35 +0000 (00:12 +0200)]
system: Add the 'system?' field for user groups.

Suggested by Mark H. Weaver.

* gnu/system/shadow.scm (<user-group>)[system?]: New field.
  (%base-groups): Introduce 'system-group' macro, and use it.
* gnu/system.scm (user-group->gexp): Pass the 'system?' field.
* guix/build/activation.scm (add-group): Add #:system? and honor it.
  (activate-users+groups): Handle the 'system?' field.
* gnu/system/file-systems.scm (%tty-gid): Choose an ID below 1000.
* doc/guix.texi (User Accounts): Document the 'system?' field.

9 years agodoc: Make sure out-of-source-tree builds find os-config.tmpl.
Ludovic Courtès [Thu, 24 Jul 2014 21:38:39 +0000 (23:38 +0200)]
doc: Make sure out-of-source-tree builds find os-config.tmpl.

* Makefile.am (BUILT_SOURCES): New variable.
* daemon.am (BUILT_SOURCES): Use +=.
* doc.am (BUILT_SOURCES, MAINTAINERCLEANFILES, EXTRA_DIST): Add
  doc/os-config.texi.
  (doc/os-config.texi): New target.
* doc/guix.texi (System Installation): Include os-config.texi.

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.