jackhill/guix/guix.git
8 years agosystem: Rename (gnu system linux) to (gnu system pam).
Ludovic Courtès [Tue, 3 Nov 2015 17:08:47 +0000 (18:08 +0100)]
system: Rename (gnu system linux) to (gnu system pam).

* gnu/system/linux.scm: Rename to...
* gnu/system/pam.scm: ... this.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu.scm, gnu/services/base.scm, gnu/services/desktop.scm,
  gnu/services/networking.scm, gnu/services/ssh.scm,
  gnu/services/xorg.scm, gnu/system.scm, gnu/system/vm.scm: Likewise.

8 years agoservices: Add 'guix-publish-service'.
Ludovic Courtès [Tue, 3 Nov 2015 16:23:10 +0000 (17:23 +0100)]
services: Add 'guix-publish-service'.

* gnu/services/base.scm (<guix-publish-configuration>): New record
  type.
  (guix-publish-dmd-service): New procedure.
  (%guix-publish-accounts, guix-publish-service-type): New variables.
  (guix-publish-service): New procedure.
* doc/guix.texi (Invoking guix publish): Add xref to
  'guix-publish-service' anchor.
  (Base Services): Document 'guix-publish-service'.

8 years agoscripts: environment: Display friendly container error messages.
David Thompson [Tue, 3 Nov 2015 14:02:10 +0000 (09:02 -0500)]
scripts: environment: Display friendly container error messages.

* guix/scripts/environment.scm (assert-container-features): New
  procedure.
  (guix-environment): Use it.

8 years agobuild: container: Add feature test predicates.
David Thompson [Tue, 3 Nov 2015 13:32:53 +0000 (08:32 -0500)]
build: container: Add feature test predicates.

* gnu/build/linux-container.scm (user-namespace-supported?,
  unprivileged-user-namespace-supported?, setgroups-supported?): New
  procedures.
* tests/container.scm: Use predicates.
* tests/syscalls.scm: Likewise.

8 years agognu: nestopia-ue: Use system zlib.
Taylan Ulrich Bayırlı/Kammer [Tue, 3 Nov 2015 15:22:56 +0000 (16:22 +0100)]
gnu: nestopia-ue: Use system zlib.

* gnu/packages/games.scm (nestopia-ue): Remove bundled zlib, patch files
  to include system zlib.h, and add zlib as input.

8 years agognu: gst-libav: Update to 1.6.1.
宋文武 [Tue, 3 Nov 2015 14:02:32 +0000 (22:02 +0800)]
gnu: gst-libav: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-libav): Update to 1.6.1.

8 years agognu: gst-plugins-ugly: Update to 1.6.1.
宋文武 [Tue, 3 Nov 2015 14:01:54 +0000 (22:01 +0800)]
gnu: gst-plugins-ugly: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.6.1.

8 years agognu: gst-plugins-good: Update to 1.6.1.
宋文武 [Tue, 3 Nov 2015 14:01:15 +0000 (22:01 +0800)]
gnu: gst-plugins-good: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.6.1.

8 years agognu: gst-plugins-base: Update to 1.6.1.
宋文武 [Tue, 3 Nov 2015 14:00:04 +0000 (22:00 +0800)]
gnu: gst-plugins-base: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.6.1.
  [arguments]: Disable parallel tests.

8 years agognu: gstreamer: Update to 1.6.1.
宋文武 [Tue, 3 Nov 2015 13:58:28 +0000 (21:58 +0800)]
gnu: gstreamer: Update to 1.6.1.

* gnu/packages/gstreamer.scm (gstreamer): Update to 1.6.1.
  [arguments]: Remove #:make-flags.

8 years agognu: guix: Do not retain dependency on Graphviz.
Ludovic Courtès [Tue, 3 Nov 2015 13:43:42 +0000 (14:43 +0100)]
gnu: guix: Do not retain dependency on Graphviz.

* gnu/packages/package-management.scm (guix-devel)[arguments]: Add
  ac_cv_path_DOT_USER_PROGRAM=dot to #:configure-flags.

8 years agodoc: Linux-libre 3.19 is needed for using containers.
David Thompson [Tue, 3 Nov 2015 13:14:57 +0000 (08:14 -0500)]
doc: Linux-libre 3.19 is needed for using containers.

* doc/guix.texi ("invoking guix environment", "invoking guix system"):
  3.10 is actually too old without backported patches, so change to 3.19.

8 years agognu: Add nestopia-ue.
Taylan Ulrich Bayırlı/Kammer [Sun, 1 Nov 2015 18:38:53 +0000 (19:38 +0100)]
gnu: Add nestopia-ue.

* gnu/packages/games.scm (nestopia-ue): New variable.

8 years agodoc: './pre-inst-env guix pull' won't upgrade local source tree.
Alex Vong [Mon, 2 Nov 2015 15:34:16 +0000 (23:34 +0800)]
doc: './pre-inst-env guix pull' won't upgrade local source tree.

* doc/contributing.texi (Running Guix Before It Is Installed): Clarify
  './pre-inst-env guix pull' won't upgrade local source tree.
* doc/guix.texi (Invoking guix pull): Mention ~/.config/guix/latest.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: guix: Update development snapshot.
Ludovic Courtès [Tue, 3 Nov 2015 08:37:52 +0000 (09:37 +0100)]
gnu: guix: Update development snapshot.

* gnu/packages/package-management.scm (guix-0.8.3)[arguments]: In
  'disable-container-tests' phase, modify
  "tests/guix-environment-container.sh".  Add 'set-SHELL' phase.
* gnu/packages/package-management.scm (guix-devel): Update to b485f75.

8 years agognu: tcpdump: Update to 4.7.4.
宋文武 [Tue, 3 Nov 2015 02:08:19 +0000 (10:08 +0800)]
gnu: tcpdump: Update to 4.7.4.

* gnu/packages/admin.scm (tcpdump): Update to 4.7.4.

8 years agognu: libpcap: Update to 1.7.4.
宋文武 [Tue, 3 Nov 2015 02:07:30 +0000 (10:07 +0800)]
gnu: libpcap: Update to 1.7.4.

* gnu/packages/admin.scm (libpcap): Update to 1.7.4.

8 years agoimport: gnu: Update to the (guix upstream) API.
Ludovic Courtès [Mon, 2 Nov 2015 23:59:28 +0000 (00:59 +0100)]
import: gnu: Update to the (guix upstream) API.

This is a followup to 0a7c5a0.

* guix/import/gnu.scm (preferred-archive-type): Use
  'upstream-source-archive-types' instead of 'gnu-release-archive-types'.
  (gnu-package->sexp): Use 'upstream-source-urls' et al.  Update call to
  'download-tarball'.
  (gnu->guix-package): Use <upstream-source> instead of <gnu-release>.
* guix/upstream.scm (upstream-source-archive-types): Export.

8 years agotests: Set 'SHELL' for 'guix environment'.
Ludovic Courtès [Mon, 2 Nov 2015 22:42:31 +0000 (23:42 +0100)]
tests: Set 'SHELL' for 'guix environment'.

* tests/guix-environment.sh: Export 'SHELL'.

8 years agoguix system: Always build grub.cfg for 'init' and 'reconfigure'.
Ludovic Courtès [Mon, 2 Nov 2015 21:44:17 +0000 (22:44 +0100)]
guix system: Always build grub.cfg for 'init' and 'reconfigure'.

Fixes <http://bugs.gnu.org/21068>.
Reported by Germano Gabbianelli <tyrion.mx@gmail.com>
and Mark H Weaver <mhw@netris.org>.

* guix/scripts/system.scm (perform-action): Always add GRUB.CFG to DRVS
  for 'init' and 'reconfigure'.

Co-authored-by: Mark H Weaver <mhw@netris.org>
8 years agoservices: udisks: Add UDisks to the system profile.
Ludovic Courtès [Mon, 2 Nov 2015 21:22:36 +0000 (22:22 +0100)]
services: udisks: Add UDisks to the system profile.

* gnu/services/desktop.scm (udisks-service-type): Extend
  PROFILE-SERVICE-TYPE.

8 years agoservices: avahi: Add Avahi to the system profile.
Ludovic Courtès [Mon, 2 Nov 2015 21:13:01 +0000 (22:13 +0100)]
services: avahi: Add Avahi to the system profile.

* gnu/services/avahi.scm (avahi-service-type): Extend
  PROFILE-SERVICE-TYPE.
  (avahi-service): Adjust docstring.
* doc/guix.texi (Networking Services): Adjust accordingly.
* gnu/system/examples/desktop.tmpl (packages): Remove AVAHI.

8 years agoservices: slim: Add xterm to the system profile.
Ludovic Courtès [Mon, 2 Nov 2015 21:04:17 +0000 (22:04 +0100)]
services: slim: Add xterm to the system profile.

* gnu/services/xorg.scm (slim-service-type): Extend
  PROFILE-SERVICE-TYPE.
* gnu/system/examples/desktop.tmpl (packages): Remove XTERM.

8 years agoservices: wicd: Add Wicd to the system profile.
Ludovic Courtès [Mon, 2 Nov 2015 21:03:15 +0000 (22:03 +0100)]
services: wicd: Add Wicd to the system profile.

* gnu/services/networking.scm (wicd-service-type): Extend
  PROFILE-SERVICE-TYPE.
  (wicd-service): Mention it in docstring.
* doc/guix.texi (Networking Services): Update documentation
  accordingly.
* gnu/system/examples/desktop.tmpl (packages): Remove WICD.

8 years agoservices: Add 'profile-service-type'.
Ludovic Courtès [Mon, 2 Nov 2015 20:52:28 +0000 (21:52 +0100)]
services: Add 'profile-service-type'.

* gnu/services.scm (packages->profile-entry): New procedure.
  (profile-service-type): New variable.
* gnu/system.scm (operating-system-directory-base-entries): Remove
  the "profile" entry.
  (essential-services): Add a PROFILE-SERVICE-TYPE instance.
  (operating-system-profile): Rewrite in terms of 'fold-services'.
* doc/guix.texi (Service Reference): Add 'profile-service-type'.
* doc/images/service-graph.dot: Likewise.

8 years agoservices: Add 'system-service-type'.
Ludovic Courtès [Mon, 2 Nov 2015 17:44:17 +0000 (18:44 +0100)]
services: Add 'system-service-type'.

* gnu/services.scm (system-derivation): New procedure.
  (system-service-type): New variable.
  (boot-script-entry): New procedure.
  (boot-service-type): Extend SYSTEM-SERVICE-TYPE.
  (etc-entry): New procedure.
  (etc-service-type): Extend SYSTEM-SERVICE-TYPE.
  (fold-services): Change default #:target-type to SYSTEM-SERVICE-TYPE.
* gnu/system.scm (operating-system-directory-base-entries): New procedure.
  (essential-services): Use it.  Add an instance of
  SYSTEM-SERVICE-TYPE.
  (operating-system-boot-script): Pass #:target-type to 'fold-services'.
  (operating-system-derivation): Rewrite in terms of 'fold-services'.
* gnu/system/linux-container.scm (system-container): Remove.
  (container-script): Use 'operating-system-derivation'.
* guix/scripts/system.scm (export-extension-graph): Replace
  BOOT-SERVICE-TYPE by SYSTEM-SERVICE-TYPE.
* doc/images/service-graph.dot: Add 'system' node and edges.
* doc/guix.texi (Service Composition): Mention SYSTEM-SERVICE-TYPE.
  (Service Reference): Document it.  Update 'fold-services'
  documentation.

8 years agoservices: Clarify extend/compose of BOOT-SERVICE-TYPE.
Ludovic Courtès [Mon, 2 Nov 2015 16:01:32 +0000 (17:01 +0100)]
services: Clarify extend/compose of BOOT-SERVICE-TYPE.

* gnu/services.scm (compute-boot-script): Add first placeholder
  parameter.
  (boot-service-type): Change 'compose' to APPEND, and 'extend' to
  COMPUTE-BOOT-SCRIPT.

8 years agognu: gsl: Enable tests.
Efraim Flashner [Sun, 1 Nov 2015 07:42:23 +0000 (09:42 +0200)]
gnu: gsl: Enable tests.

* gnu/packages/maths.scm (gsl)[arguments]: Enable tests for i686-linux.

8 years agognu: gsl: Update to 2.0.
Efraim Flashner [Sun, 1 Nov 2015 07:39:13 +0000 (09:39 +0200)]
gnu: gsl: Update to 2.0.

* gnu/packages/maths.scm (gsl): Update to 2.0.
  [source]: Remove patches.
* gnu/packages/patches/gsl-poly-test-fix-pt1.patch,
  gnu/packages/patches/gsl-poly-test-fix-pt2.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove patches.

8 years agodoc: Fix typos.
Alex Kost [Mon, 2 Nov 2015 18:37:33 +0000 (21:37 +0300)]
doc: Fix typos.

* doc/guix.texi (Invoking guix environment): Fix typos.

8 years agognu: Add ruby-permutation.
Ricardo Wurmus [Fri, 30 Oct 2015 16:17:21 +0000 (17:17 +0100)]
gnu: Add ruby-permutation.

* gnu/packages/ruby.scm (ruby-permutation): New variable.

8 years agognu: Add ruby-listen.
Ricardo Wurmus [Fri, 30 Oct 2015 15:44:12 +0000 (16:44 +0100)]
gnu: Add ruby-listen.

* gnu/packages/ruby.scm (ruby-listen): New variable.

8 years agognu: Add ruby-rb-inotify.
Ricardo Wurmus [Fri, 30 Oct 2015 15:43:51 +0000 (16:43 +0100)]
gnu: Add ruby-rb-inotify.

* gnu/packages/ruby.scm (ruby-rb-inotify): New variable.

8 years agognu: Add ruby-simplecov-html.
Ricardo Wurmus [Wed, 16 Sep 2015 09:06:25 +0000 (11:06 +0200)]
gnu: Add ruby-simplecov-html.

* gnu/packages/ruby.scm (ruby-simplecov-html): New variable.

8 years agognu: Add ruby-ffi.
Ricardo Wurmus [Wed, 16 Sep 2015 09:05:50 +0000 (11:05 +0200)]
gnu: Add ruby-ffi.

* gnu/packages/ruby.scm (ruby-ffi): New variable.

8 years agognu: Add ruby-rubygems-tasks.
Ricardo Wurmus [Thu, 15 Oct 2015 10:29:07 +0000 (12:29 +0200)]
gnu: Add ruby-rubygems-tasks.

* gnu/packages/ruby.scm (ruby-rubygems-tasks): New variable.

8 years agognu: hisat: Disable build on non-x86_64.
Ricardo Wurmus [Mon, 2 Nov 2015 13:36:36 +0000 (14:36 +0100)]
gnu: hisat: Disable build on non-x86_64.

* gnu/packages/bioinformatics.scm (hisat)[supported-systems]: Add field.

8 years agoscripts: environment: Ignore user shell when spawning container.
David Thompson [Sun, 1 Nov 2015 23:34:53 +0000 (18:34 -0500)]
scripts: environment: Ignore user shell when spawning container.

* guix/scripts/environment.scm (%default-options): Remove 'exec'
  association.
  (guix-environment): If the user didn't specify a command, use the
  default shell, or use /bin/sh when a container is requested.

8 years agognu: python-simplegeneric: Add setuptools to native inputs.
Ricardo Wurmus [Mon, 2 Nov 2015 13:26:05 +0000 (14:26 +0100)]
gnu: python-simplegeneric: Add setuptools to native inputs.

* gnu/packages/python.scm (python-simplegeneric)[native-inputs]: Add
  python-setuptools.

8 years agognu: shogun: Disable build on non-x86_64.
Ricardo Wurmus [Mon, 2 Nov 2015 13:08:45 +0000 (14:08 +0100)]
gnu: shogun: Disable build on non-x86_64.

* gnu/packages/machine-learning.scm (shogun)[supported-systems]: Add
  field.

8 years agodoc: Fix typo.
Alex Kost [Mon, 2 Nov 2015 12:53:48 +0000 (15:53 +0300)]
doc: Fix typo.

* doc/guix.texi (Invoking guix container): Fix typo.

8 years agoemacs: Enable 'guix-build-log-minor-mode' in shell buffers.
Alex Kost [Sat, 31 Oct 2015 19:01:45 +0000 (22:01 +0300)]
emacs: Enable 'guix-build-log-minor-mode' in shell buffers.

* emacs/guix-build-log.el (guix-build-log-minor-mode-activate): New variable.
  (guix-build-log-minor-mode-activate-maybe): New function.
* emacs/guix-init.el: Add it to 'shell-mode-hook'.
* doc/emacs.texi (Emacs Build Log): Mention it.

8 years agoemacs: Enable 'guix-build-log-mode' for build log files.
Alex Kost [Thu, 29 Oct 2015 17:48:53 +0000 (20:48 +0300)]
emacs: Enable 'guix-build-log-mode' for build log files.

* emacs/guix-build-log.el (auto-mode-alist): Add 'guix-build-log-mode'
  to 'auto-mode-alist'.

8 years agoemacs: Add completions for '--type' option of 'refresh' popup.
Alex Kost [Wed, 28 Oct 2015 18:11:36 +0000 (21:11 +0300)]
emacs: Add completions for '--type' option of 'refresh' popup.

* guix/scripts/refresh.scm: Export '%updaters'.
* emacs/guix-main.scm (refresh-updater-names): New procedure.
* emacs/guix-base.el (guix-refresh-updater-names): New function.
* emacs/guix-read.el (guix-read-refresh-updater-names,
  guix-read-refresh-updater-names-string): New functions.
* emacs/guix-command.el (guix-command-improve-refresh-argument): Use
  'guix-read-refresh-updater-names-string'.

8 years agognu: claws-mail: Update to 3.13.0.
Efraim Flashner [Mon, 2 Nov 2015 11:29:51 +0000 (13:29 +0200)]
gnu: claws-mail: Update to 3.13.0.

* gnu/packages/mail.scm (claws-mail): Update to 3.13.0.
  [url]: Update to new location.

8 years agognu: Add express-beta-diversity.
Ben Woodcroft [Thu, 15 Oct 2015 12:53:31 +0000 (22:53 +1000)]
gnu: Add express-beta-diversity.

* gnu/packages/bioinformatics.scm (express-beta-diversity): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agosystem: grub: Use a bigger background image.
Ludovic Courtès [Sun, 1 Nov 2015 21:29:53 +0000 (22:29 +0100)]
system: grub: Use a bigger background image.

* gnu/system/grub.scm (grub-background-image): Increase the default
  values of WIDTH and HEIGHT.  After all, it's 2015 already!

8 years agognu: links: Build with libevent.
Efraim Flashner [Mon, 2 Nov 2015 08:50:08 +0000 (10:50 +0200)]
gnu: links: Build with libevent.

* gnu/packages/links.scm (links)[inputs]: Add libevent.

8 years agognu: links: Update to 2.12.
Efraim Flashner [Mon, 2 Nov 2015 08:46:56 +0000 (10:46 +0200)]
gnu: links: Update to 2.12.

* gnu/packages/links.scm (links): Update to 2.12.
  Various whitespace and line length fixes.

8 years agoscripts: Add 'container' subcommand.
David Thompson [Thu, 2 Jul 2015 00:32:07 +0000 (20:32 -0400)]
scripts: Add 'container' subcommand.

* guix/scripts/container.scm: New file.
* guix/scripts/container/exec.scm: New file.
* po/guix/POTFILES.in: Add them.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Invoking guix container): New section.

8 years agognu: synergy: Upgrade to 1.7.4.
Eric Bavier [Sun, 1 Nov 2015 18:00:15 +0000 (12:00 -0600)]
gnu: synergy: Upgrade to 1.7.4.

* gnu/packages/synergy.scm (synergy): Upgrade to 1.7.4.

8 years agodoc: Mention minimum Linux-libre version for containers.
David Thompson [Sun, 1 Nov 2015 21:32:55 +0000 (16:32 -0500)]
doc: Mention minimum Linux-libre version for containers.

* doc/guix.texi ("invoking guix environment", "invoking guix system"):
  Mention Linux-libre requirements for container features.

8 years agodoc: Give an example with an encrypted root partition.
Ludovic Courtès [Sun, 1 Nov 2015 21:14:47 +0000 (22:14 +0100)]
doc: Give an example with an encrypted root partition.

* gnu/system/examples/desktop.tmpl: Add 'mapped-devices' field.
  Use it in 'file-systems'.
* doc/guix.texi (System Installation): Suggest encrypted partitions.
  Give an example of a command sequence.

8 years agonls: Add Danish translation for packages.
Ludovic Courtès [Sun, 1 Nov 2015 20:51:39 +0000 (21:51 +0100)]
nls: Add Danish translation for packages.

8 years agonls: Update 'da' translation.
Ludovic Courtès [Sun, 1 Nov 2015 20:51:16 +0000 (21:51 +0100)]
nls: Update 'da' translation.

8 years agognu: xz: Add alternate URL.
Ludovic Courtès [Sun, 1 Nov 2015 20:49:51 +0000 (21:49 +0100)]
gnu: xz: Add alternate URL.

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

* gnu/packages/compression.scm (xz)[source]: Add alternate URL.

8 years agoRevert "services: polkit: Use the right executable name for PAM."
Ludovic Courtès [Sun, 1 Nov 2015 20:27:36 +0000 (21:27 +0100)]
Revert "services: polkit: Use the right executable name for PAM."

This reverts commit 7f39e181dfb34db8f245f3ffafe34eec9cee910d.

Polkit actually uses the name "polkit-1" in calls to 'pam_start'.

8 years agognu: youtube-dl: Minor fixes.
Efraim Flashner [Sun, 1 Nov 2015 17:56:33 +0000 (19:56 +0200)]
gnu: youtube-dl: Minor fixes.

* gnu/packages/video.scm (youtube-dl)[url]: Change to http.
  [description]: Fix capitalization.

8 years agognu: youtube-dl: Update to 2015.11.01.
Efraim Flashner [Sun, 1 Nov 2015 17:44:31 +0000 (19:44 +0200)]
gnu: youtube-dl: Update to 2015.11.01.

* gnu/packages/video.scm (youtube-dl): Update to 2015.11.01.

8 years agoservices: Add 'udisks-service'.
Ludovic Courtès [Sun, 1 Nov 2015 16:55:26 +0000 (17:55 +0100)]
services: Add 'udisks-service'.

* gnu/services/desktop.scm (<udisks-configuration>): New record type.
  (udisks-service-type): New variable.
  (udisks-service): New procedure.
  (%desktop-services): Use it.
* doc/guix.texi (Desktop Services): Document it.

8 years agognu: udisks: Separate HTML documentation.
Ludovic Courtès [Sun, 1 Nov 2015 16:49:51 +0000 (17:49 +0100)]
gnu: udisks: Separate HTML documentation.

* gnu/packages/freedesktop.scm (udisks)[outputs]: New field.
  [arguments]: Pass the --with-html-dir configure flag.

8 years agognu: udisks: Mount things under /media.
Ludovic Courtès [Sun, 1 Nov 2015 16:44:56 +0000 (17:44 +0100)]
gnu: udisks: Mount things under /media.

* gnu/packages/freedesktop.scm (udisks)[arguments]: Add
  --enable-fhs-media.

8 years agognu: udisks: Find the 'mount' command.
Ludovic Courtès [Sun, 1 Nov 2015 16:43:50 +0000 (17:43 +0100)]
gnu: udisks: Find the 'mount' command.

* gnu/packages/freedesktop.scm (udisks)[inputs]: Add UTIL-LINUX.
  [arguments]: Add 'set-mount-file-name' phase.

8 years agoservices: 'polkit-service-type' can now be extended.
Ludovic Courtès [Sun, 1 Nov 2015 16:19:33 +0000 (17:19 +0100)]
services: 'polkit-service-type' can now be extended.

* gnu/packages/polkit.scm (polkit)[source]: Adjust snippet so that rules
  and actions are looked for under /etc/polkit-1.
* gnu/services/desktop.scm (<polkit-configuration>): New record type.
  (polkit-directory, polkit-etc-files, polkit-setuid-programs): New
  procedures.
  (polkit-service-type)[compose, extend]: New fields.
  (polkit-service): Refine docstring.
  (colord-service-type): Extend POLKIT-SERVICE-TYPE.
  (elogind-configuration-file): Extend POLKIT-SERVICE-TYPE.
* doc/guix.texi (Desktop Services): Update 'polkit-service'
  documentation.

8 years agognu: hurd-headers: Update to 0.7
Manolis Ragkousis [Sun, 1 Nov 2015 13:46:27 +0000 (15:46 +0200)]
gnu: hurd-headers: Update to 0.7

* gnu/packages/hurd.scm (hurd-headers): Update to version 0.7.

8 years agognu: mig: Update to 1.6
Manolis Ragkousis [Sun, 1 Nov 2015 12:40:01 +0000 (14:40 +0200)]
gnu: mig: Update to 1.6

* gnu/packages/hurd.scm (mig): Update to version 1.6.

8 years agognu: gnumach-headers: Update to 1.6
Manolis Ragkousis [Sun, 1 Nov 2015 12:03:16 +0000 (14:03 +0200)]
gnu: gnumach-headers: Update to 1.6

* gnu/packages/hurd.scm (gnumach-headers): Update to version 1.6.

8 years agotests: Make sure the daemon dumps directory entries deterministically.
Ludovic Courtès [Sat, 31 Oct 2015 21:37:23 +0000 (22:37 +0100)]
tests: Make sure the daemon dumps directory entries deterministically.

* tests/store.scm ("write-file & export-path yield the same result"):
  New test.

8 years agodoc: Suggest diffing things with --no-dereference.
Ludovic Courtès [Sat, 31 Oct 2015 21:29:08 +0000 (22:29 +0100)]
doc: Suggest diffing things with --no-dereference.

* doc/guix.texi (Invoking guix challenge): Add --no-dereference in
  'diff' example.

8 years agoRemove unneeded HAVE_UNSHARE.
Manolis Ragkousis [Wed, 19 Aug 2015 11:11:15 +0000 (14:11 +0300)]
Remove unneeded HAVE_UNSHARE.

* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.

8 years agognu: Remove aarddict.
Andreas Enge [Sun, 1 Nov 2015 12:23:08 +0000 (13:23 +0100)]
gnu: Remove aarddict.

* gnu/packages/aarddict.scm: Remove file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister file.

8 years agoemacs: Disable minor modes in 'guix-build-log-mode'.
Alex Kost [Thu, 29 Oct 2015 18:05:17 +0000 (21:05 +0300)]
emacs: Disable minor modes in 'guix-build-log-mode'.

* emacs/guix-build-log.el (guix-build-log-mode-hook): Remove
  'compilation-shell-minor-mode' as it is slow on big buffers, and
  'view-mode' as it rebinds too many keys.
  (guix-build-log-mode-map): Add "c" and "v" key bindings for the
  removed minor modes.

8 years agoemacs: Add key bindings for 'guix-build-log-minor-mode'.
Alex Kost [Thu, 29 Oct 2015 18:27:56 +0000 (21:27 +0300)]
emacs: Add key bindings for 'guix-build-log-minor-mode'.

* emacs/guix-build-log.el (guix-build-log-mode-map): Move keys to ...
  (guix-build-log-common-map): ...here.  New variable.
  (guix-build-log-minor-mode-map): New variable.
  (guix-build-log-minor-mode): Use it.
* doc/emacs.texi (Emacs Build Log): Document it.

8 years agoguix system: Fix typo in --help message.
Alex Kost [Sat, 31 Oct 2015 19:59:45 +0000 (22:59 +0300)]
guix system: Fix typo in --help message.

* guix/scripts/system.scm (show-help): Align 'container' the same way as
  other actions.

8 years agoemacs: Add shell completions for 'guix refresh --type'.
Alex Kost [Wed, 28 Oct 2015 17:48:45 +0000 (20:48 +0300)]
emacs: Add shell completions for 'guix refresh --type'.

* emacs/guix-pcomplete.el (guix-pcomplete-refresh-updaters): New function.
  (guix-pcomplete-complete-option-arg): Complete '-t/--type' option for
  'guix refresh' command.

8 years agoMerge branch 'dbus-update'
Ludovic Courtès [Sat, 31 Oct 2015 14:11:58 +0000 (15:11 +0100)]
Merge branch 'dbus-update'

8 years agoservices: 'tor-service' takes a 'config-file' parameter.
Ludovic Courtès [Sat, 31 Oct 2015 10:17:08 +0000 (11:17 +0100)]
services: 'tor-service' takes a 'config-file' parameter.

* gnu/services/networking.scm (tor-dmd-service): Take a 'config'
  parameter and honor it.
  (tor-service): Take a 'config-file' parameter.  Pass it in the
  service's value.
* doc/guix.texi (Networking Services): Adjust accordingly.

8 years agognu: guitarix: Compile in C++11 mode.
Ludovic Courtès [Sat, 31 Oct 2015 12:17:23 +0000 (13:17 +0100)]
gnu: guitarix: Compile in C++11 mode.

* gnu/packages/patches/guitarix-c++11.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/audio.scm (guitarix)[source]: Use it.
  [arguments]: Add --cxxflags to #:configure-flags.

8 years agognu: lablgtk: Build sequentially.
Ludovic Courtès [Sat, 31 Oct 2015 11:26:43 +0000 (12:26 +0100)]
gnu: lablgtk: Build sequentially.

* gnu/packages/ocaml.scm (lablgtk)[arguments]: Add #:parallel-build? #f.

8 years agoscripts: environment: Allow lists of packages in expressions.
David Thompson [Sat, 31 Oct 2015 01:02:51 +0000 (21:02 -0400)]
scripts: environment: Allow lists of packages in expressions.

* guix/scripts/environment.scm (options/resolve-packages): Match against
  lists of packages when evaluating expressions.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Add docs.

8 years agobuild: Move 'guild compile' flags to a variable.
Ludovic Courtès [Fri, 30 Oct 2015 22:10:01 +0000 (23:10 +0100)]
build: Move 'guild compile' flags to a variable.

* Makefile.am (GUILD_COMPILE_FLAGS): New variable.
  (.scm.go): Use it.

8 years agosystem: Add 'locale-libcs' field.
Ludovic Courtès [Fri, 30 Oct 2015 22:05:52 +0000 (23:05 +0100)]
system: Add 'locale-libcs' field.

* gnu/system/locale.scm (localedef-command)[maybe-version-directory]:
  New procedure.
  Use it.
  (locale-directory): Rename to...
  (single-locale-directory): ... this.  Check the version of LIBC to
  determine whether to create a "X.Y" sub-directory or to make it a
  symlink to ".".  Add the version number in the derivation name.
  (locale-directory): New procedure.
  (%default-locale-libcs): New variable.
* gnu/system.scm (<operating-system>)[locale-libcs]: New field.
  (operating-system-locale-directory): Pass it to 'locale-directory'.
* doc/guix.texi (operating-system Reference): Document 'locale-libcs'.
  (Locales)[Locale Data Compatibility Considerations]: New section.

8 years agognu: glibc: Add version 2.21.
Ludovic Courtès [Thu, 24 Sep 2015 14:21:45 +0000 (16:21 +0200)]
gnu: glibc: Add version 2.21.

* gnu/packages/base.scm (glibc-2.21): New variable.

8 years agognu: ffmpeg: Enable gnutls support.
Andy Patterson [Thu, 29 Oct 2015 22:59:18 +0000 (18:59 -0400)]
gnu: ffmpeg: Enable gnutls support.

* gnu/package/video.scm (ffmpeg)[inputs]: Add gnutls.
  [arguments]: Enable it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agoscripts: system: Add 'container' action.
David Thompson [Mon, 8 Jun 2015 13:04:38 +0000 (09:04 -0400)]
scripts: system: Add 'container' action.

* guix/scripts/system.scm (show-help): Display 'container' action.
  (system-derivation-for-action, guix-system): Add 'container' case.
  (perform-action): Skip GRUB config generation when building a container.
* doc/guix.texi (Invoking guix system): Document it.

8 years agosystem: container: Adjust to changes in gexps.
David Thompson [Thu, 29 Oct 2015 04:15:36 +0000 (00:15 -0400)]
system: container: Adjust to changes in gexps.

* gnu/system/linux-container.scm (system-container): 'etc' is no longer
  a monadic value, and the result of 'file-union' must be lowered.

8 years agognu: openblas: Make substitutable on MIPS.
Ricardo Wurmus [Thu, 29 Oct 2015 14:43:21 +0000 (15:43 +0100)]
gnu: openblas: Make substitutable on MIPS.

* gnu/packages/maths.scm (openblas)[arguments]: Make package
  substitutable when the system is MIPS.

8 years agognu: openblas: Set TARGET to SICORTEX on MIPS.
Ricardo Wurmus [Mon, 20 Jul 2015 13:05:55 +0000 (15:05 +0200)]
gnu: openblas: Set TARGET to SICORTEX on MIPS.

* gnu/packages/maths.scm (openblas)[arguments]: Add "TARGET=SICORTEX" to
  make-flags when building for MIPS.

8 years agoMerge branch 'master' into dbus-update
宋文武 [Fri, 30 Oct 2015 12:50:26 +0000 (20:50 +0800)]
Merge branch 'master' into dbus-update

8 years agognu: mesa-utils: Fix build.
宋文武 [Fri, 30 Oct 2015 12:46:28 +0000 (20:46 +0800)]
gnu: mesa-utils: Fix build.

* gnu/packages/gl.scm (mesa-utils)[arguments]: Pass "--disable-egl"
  as #:configure-flags.

8 years agognu: xfce4-session: Fix xflock4.
David Thompson [Fri, 30 Oct 2015 12:40:58 +0000 (08:40 -0400)]
gnu: xfce4-session: Fix xflock4.

* gnu/packages/patches/xfce4-session-fix-xflock4.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xfce.scm (xfce4-session)[source]: Add patch.

8 years agognu: Add pcre2.
Ricardo Wurmus [Thu, 29 Oct 2015 16:12:17 +0000 (17:12 +0100)]
gnu: Add pcre2.

* gnu/packages/pcre.scm (pcre2): New variable.

8 years agognu: telepathy-glib: Fix tests.
宋文武 [Fri, 30 Oct 2015 12:31:27 +0000 (20:31 +0800)]
gnu: telepathy-glib: Fix tests.

* gnu/packages/glib.scm (telepathy-glib)[source]: Add a patch to
  unique test names.

8 years agognu: freeipmi: Update to 1.4.11.
Efraim Flashner [Fri, 30 Oct 2015 11:12:44 +0000 (13:12 +0200)]
gnu: freeipmi: Update to 1.4.11.

* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.11.

8 years agognu: Remove ardour-3.
Andreas Enge [Thu, 29 Oct 2015 22:34:09 +0000 (23:34 +0100)]
gnu: Remove ardour-3.

* gnu/packages/audio.scm (ardour-3): Remove variable.
  (ardour): Copy fields from the removed ardour-3 instead of inheriting
  from it.

8 years agognu: fish: Add python input.
Eric Bavier [Thu, 29 Oct 2015 22:26:30 +0000 (17:26 -0500)]
gnu: fish: Add python input.

* gnu/packages/fish.scm (inputs): Add python.

8 years agodoc: Fix outdated description of the bare-bones example.
Ludovic Courtès [Thu, 29 Oct 2015 22:10:37 +0000 (23:10 +0100)]
doc: Fix outdated description of the bare-bones example.

Reported by fps on #guix.

* doc/guix.texi (Using the Configuration System): Replace mention of
  Emacs with tcpdump.

8 years agoservices: Add 'linux-bare-metal-service-type'.
Ludovic Courtès [Thu, 29 Oct 2015 21:20:57 +0000 (22:20 +0100)]
services: Add 'linux-bare-metal-service-type'.

* gnu/services.scm (modprobe-wrapper): Remove.
  (activation-script): Do not use it.  Remove calls to
  'activate-modprobe' and 'activate-ptrace-attach' in gexp.
  (%modprobe-wrapper, %linux-kernel-activation,
  linux-bare-metal-service-type, %linux-bare-metal-service): New
  variables.
* gnu/system.scm (essential-services): Add %LINUX-BARE-METAL-SERVICE to
  the list, unless CONTAINER? is true.

8 years agognu: ffmpeg: Move flags into their own argument.
Andy Patterson [Thu, 29 Oct 2015 02:42:42 +0000 (22:42 -0400)]
gnu: ffmpeg: Move flags into their own argument.

* gnu/packages/video.scm (ffmpeg)[arguments]: Move the configurable
  configure flag literals into the configure-flags argument. Call
  configure with these flags from the configure phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agoscripts: environment: Allow mixing regular and ad-hoc packages.
David Thompson [Mon, 26 Oct 2015 02:33:33 +0000 (22:33 -0400)]
scripts: environment: Allow mixing regular and ad-hoc packages.

This patch changes the --ad-hoc flag to be positional.  That is, the
packages that appear before --ad-hoc are interpreted as packages whose
inputs should be in the environment; the packages that appear after are
interpreted as packages to be directly added to the environment.

* guix/scripts/environment.scm (tag-package-arg, compact): New
  procedures.
  (%options): Tweak the handlers for --load and --expression options.
  (options/resolve-packages): Preserve package mode tag.
  (parse-args): Tweak argument handler to use package tagging procedure.
  (guix-environment): Apply ad-hoc behavior on a per package basis.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Document new behavior of
  --ad-hoc.