jackhill/guix/guix.git
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.

8 years agoservices: Add screen-locker service.
Ludovic Courtès [Thu, 29 Oct 2015 18:00:14 +0000 (19:00 +0100)]
services: Add screen-locker service.

* gnu/system/linux.scm (base-pam-services): Remove "xlock" and
  "xscreensaver".
* gnu/services/xorg.scm (<screen-locker>): New record type.
  (screen-locker-pam-services, screen-locker-setuid-programs,
  screen-locker-service): New procedures.
  (screen-locker-service-type): New variable.
* gnu/services/desktop.scm (%desktop-services): Use them.
* doc/guix.texi (X Window): Document 'screen-locker-service'.
  (Desktop Services): Mention it.

8 years agosystem: File systems depend on their corresponding device mappings.
Ludovic Courtès [Thu, 29 Oct 2015 17:22:19 +0000 (18:22 +0100)]
system: File systems depend on their corresponding device mappings.

Fixes a regression introduced in commit 0adfe95.

* gnu/system.scm (other-file-system-services)[requirements]: Remove.
  [add-dependencies]: New procedure.
  Use it.
* gnu/system/file-systems.scm (<file-system>)[dependencies]: Update
  comment.
* gnu/services/base.scm (mapped-device->dmd-service-name,
  dependency->dmd-service-name): New procedures.
  (file-system-service-type): Use it.

8 years agognu: Add libchop.
Ludovic Courtès [Thu, 29 Oct 2015 16:07:08 +0000 (17:07 +0100)]
gnu: Add libchop.

* gnu/packages/backup.scm (libchop): New variable.

8 years agognu: Move gdbm to (gnu packages databases).
Ludovic Courtès [Thu, 29 Oct 2015 15:48:32 +0000 (16:48 +0100)]
gnu: Move gdbm to (gnu packages databases).

* gnu/packages/gdbm.scm: Remove.
* gnu/packages/databases.scm (gdbm): New variable, from gdbm.scm.
* gnu/packages/avahi.scm, gnu/packages/cyrus-sasl.scm,
  gnu/packages/guile.scm, gnu/packages/mail.scm,
  gnu/packages/man.scm, gnu/packages/pulseaudio.scm,
  gnu/packages/python.scm, gnu/packages/ruby.scm,
  gnu/packages/sawfish.scm: Adjust accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove gdbm.scm.

8 years agodoc: Mention Nix in the intro.
Ludovic Courtès [Thu, 29 Oct 2015 10:18:51 +0000 (11:18 +0100)]
doc: Mention Nix in the intro.

* doc/guix.texi (Introduction): Mention Nix with a xref to
  "Acknowledgments".
  (Acknowledgments): Add link to nixos.org.

8 years agosystem: grub: Let GRUB choose the best graphics mode.
Ludovic Courtès [Thu, 29 Oct 2015 08:58:17 +0000 (09:58 +0100)]
system: grub: Let GRUB choose the best graphics mode.

On PCs, it means that it will typically choose resolutions higher
than 640x480, which is nicer.

* gnu/system/grub.scm (eye-candy)[setup-gfxterm-body]: Leave 'gfxmode'
  unset.

8 years agognu: openblas: Update to 0.2.15.
Ricardo Wurmus [Thu, 29 Oct 2015 14:41:31 +0000 (15:41 +0100)]
gnu: openblas: Update to 0.2.15.

* gnu/packages/maths.scm (openblas): Update to 0.2.15.

8 years agognu: leptonica: Disable parallel tests.
宋文武 [Thu, 29 Oct 2015 14:01:11 +0000 (22:01 +0800)]
gnu: leptonica: Disable parallel tests.

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

8 years agognu: icedtea7: Update to 2.6.2.
Ricardo Wurmus [Thu, 29 Oct 2015 13:51:23 +0000 (14:51 +0100)]
gnu: icedtea7: Update to 2.6.2.

* gnu/packages/java.scm (icedtea7): Update to 2.6.2.

8 years agognu: ghc-glut: Propagate freeglut input.
Paul van der Walt [Thu, 29 Oct 2015 10:08:05 +0000 (11:08 +0100)]
gnu: ghc-glut: Propagate freeglut input.

* gnu/packages/haskell.scm (ghc-glut): Move freeglut to
  propagated-inputs.

8 years agognu: bluez: Update to 5.35.
Efraim Flashner [Wed, 28 Oct 2015 21:55:27 +0000 (23:55 +0200)]
gnu: bluez: Update to 5.35.

* gnu/packages/linux.scm (bluez): Update to 5.35.

8 years agognu: magit-svn: Update to 2.1.1.
Alex Kost [Wed, 28 Oct 2015 21:08:03 +0000 (00:08 +0300)]
gnu: magit-svn: Update to 2.1.1.

* gnu/packages/emacs.scm (magit-svn): Update to 2.1.1.

8 years agognu: magit: Update to 2.3.0.
Alex Kost [Wed, 28 Oct 2015 21:07:20 +0000 (00:07 +0300)]
gnu: magit: Update to 2.3.0.

* gnu/packages/emacs.scm (magit): Update to 2.3.0.

8 years agoservices: Add 'modify-services'.
Ludovic Courtès [Wed, 28 Oct 2015 20:36:07 +0000 (21:36 +0100)]
services: Add 'modify-services'.

* gnu/services.scm (%modify-service, modify-services): New macros.
* gnu/services/base.scm (mingetty-service-type, guix-service-type):
  Export.
* emacs/guix-devel.el (guix-devel-keywords): Add 'modify-services'.
  Ditto in 'guix-devel-scheme-indent' call.
* doc/guix.texi (Using the Configuration System): Give an example of
  'modify-services'.
  (Service Reference): Document it.

8 years agoservices: 'guix-configuration' has a 'substitute-urls' field.
Ludovic Courtès [Wed, 28 Oct 2015 17:15:49 +0000 (18:15 +0100)]
services: 'guix-configuration' has a 'substitute-urls' field.

* gnu/services/base.scm (<guix-configuration>)[substitute-urls]: New
  field.
  (guix-dmd-service): Honor it.
* doc/guix.texi (Base Services): Document it.

8 years agorefresh: Support comma-separated updater types.
Alex Kost [Tue, 27 Oct 2015 18:13:05 +0000 (21:13 +0300)]
refresh: Support comma-separated updater types.

* guix/scripts/refresh.scm (%options): Handle comma-separated types for
  '--type' option.
  (guix-refresh): Adjust accordingly.
  (show-help): Likewise.
* doc/guix.texi (Invoking guix refresh): Document it.

8 years agognu: pbtranscript-tofu: Update to 2.2.3.
Ricardo Wurmus [Wed, 28 Oct 2015 13:39:13 +0000 (14:39 +0100)]
gnu: pbtranscript-tofu: Update to 2.2.3.

* gnu/packages/bioinformatics.scm (pbtranscript-tofu): Update to 2.2.3.
  [source]: Remove bundled Cython sources in a snippet.  Replace
  ".tar.gz" extension in file-name field with "-checkout".
  [arguments]: Replace "enter-directory-and-clean-up" phase with
  "enter-directory" phase, and add "patch-setuppy" phase.
  [inputs]: Add python2-h5py.  Move python2-cython ...
  [native-inputs]: ... to this field.

8 years agognu: pari-gp: Add X11 input.
Andreas Enge [Wed, 28 Oct 2015 14:56:22 +0000 (15:56 +0100)]
gnu: pari-gp: Add X11 input.

* gnu/packages/algebra.scm (pari-gp)[inputs]: Add libx11, which enables
  plotting functions.

8 years agotests: Print the mounts visible in the container.
Ludovic Courtès [Wed, 28 Oct 2015 14:55:10 +0000 (15:55 +0100)]
tests: Print the mounts visible in the container.

* tests/guix-environment-container.sh: Print the content of
  $tmpdir/mounts.

8 years agoui: Add 'make-regexp*'.
Ludovic Courtès [Wed, 28 Oct 2015 14:53:17 +0000 (15:53 +0100)]
ui: Add 'make-regexp*'.

Fixes <http://bugs.gnu.org/21773>.
Reported by Jan Synáček <jan.synacek@gmail.com>.

* guix/ui.scm (make-regexp*): New procedure.
* guix/scripts/package.scm (options->installable, guix-package): Use it
  when processing user-provided regexps.

8 years agocontainer: Remove unnecessary CLONE_CHILD_* flags.
Ludovic Courtès [Wed, 28 Oct 2015 14:30:31 +0000 (15:30 +0100)]
container: Remove unnecessary CLONE_CHILD_* flags.

* gnu/build/linux-container.scm (namespaces->bit-mask): Remove
  CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID, which are unneeded.
  Discussed at <http://bugs.gnu.org/21694>.

8 years agostore: Use the daemon's substitute URLs by default.
Ludovic Courtès [Wed, 28 Oct 2015 14:20:06 +0000 (15:20 +0100)]
store: Use the daemon's substitute URLs by default.

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

* guix/store.scm (set-build-options): Change #:substitute-urls to
  default to #f.  Send the 'substitute-urls' pair only if
  SUBSTITUTE-URLS is true.
* guix/scripts/build.scm (set-build-options-from-command-line): Do not
  default to %DEFAULT-SUBSTITUTE-URLS for #:substitute-urls.
* guix/scripts/size.scm (%default-options): Remove 'substitute-urls'.

8 years agognu: leptonica: Disable failing tests.
宋文武 [Wed, 28 Oct 2015 12:48:45 +0000 (20:48 +0800)]
gnu: leptonica: Disable failing tests.

* gnu/packages/image.scm (leptonica)[arguments]: Add 'disable-failing-tests' phase.

8 years agoscripts: build: Add --file option.
David Thompson [Mon, 26 Oct 2015 22:09:28 +0000 (18:09 -0400)]
scripts: build: Add --file option.

* guix/scripts/build.scm (show-help): Add help text for --file option.
  (%options): Add --file option.
  (options/resolve-packages): Handle 'file' options.
* tests/guix-build.sh: Add tests.
* doc/guix.texi ("invoking guix build"): Add doc.

8 years agognu: python-debian: Avoid @itemize in description.
Ludovic Courtès [Wed, 28 Oct 2015 10:59:42 +0000 (11:59 +0100)]
gnu: python-debian: Avoid @itemize in description.

* gnu/packages/python.scm (python-debian): Use @enumerate instead of
  @itemize.