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

8 years agosubstitute: Honor all the specified server URLs.
Ludovic Courtès [Wed, 28 Oct 2015 09:11:43 +0000 (10:11 +0100)]
substitute: Honor all the specified server URLs.

* guix/scripts/substitute.scm (lookup-narinfos/diverse): New procedure.
  (lookup-narinfo): Use it.
  (process-query): Change #:cache-url to #:cache-urls.
  [valid?]: Remove 'narinfo?' check, which is no longer necessary.
  Use 'lookup-narinfos/diverse' instead of 'lookup-narinfos'.
  (process-substitution): Change #:cache-url to #:cache-urls.
  (%cache-url): Rename to...
  (%cache-urls): ... this.  Turn into a list.
  (guix-substitute): Remove 'getaddrinfo' test with early exit.  Adjust
  calls to 'process-query' and 'process-substitution'.
* tests/substitute.scm: Change '%cache-url' to '%cache-urls'.

8 years agosubstitute: 'lookup-narinfos' returns exactly a list of narinfos.
Ludovic Courtès [Wed, 28 Oct 2015 10:48:27 +0000 (11:48 +0100)]
substitute: 'lookup-narinfos' returns exactly a list of narinfos.

* guix/scripts/substitute.scm (lookup-narinfos): Filter out #f values
  from CACHED, such that the end result is exactly a list of narinfos,
  not interspersed with #f.
* guix/scripts/challenge.scm (discrepancies): Assume REMOTE is a list of
  narinfos.

8 years agosubstitute: 'http-multiple-get' follows 'fold' style.
Ludovic Courtès [Wed, 28 Oct 2015 10:45:27 +0000 (11:45 +0100)]
substitute: 'http-multiple-get' follows 'fold' style.

* guix/scripts/substitute.scm (http-multiple-get): Add 'seed'
  parameter.  Call PROC in 'fold' style.
  (fetch-narinfos)[handle-narinfo-response]: Adjust accordingly.
  Update 'http-multiple-get' call accordingly.

8 years agognu: grub: Install documentation.
Mark H Weaver [Wed, 19 Aug 2015 17:57:30 +0000 (13:57 -0400)]
gnu: grub: Install documentation.

* gnu/packages/grub.scm (grub)[native-inputs]: Add help2man and texinfo.

8 years agognu: grub: Use modify-phases and other minor cleanups.
Mark H Weaver [Sat, 15 Aug 2015 05:22:06 +0000 (01:22 -0400)]
gnu: grub: Use modify-phases and other minor cleanups.

* gnu/packages/grub.scm (grub)[arguments]: Use modify-phases.  Return #t from
  'patch-stuff' phase.  Add 'patch-stuff' phase after 'unpack' instead of
  before 'patch-source-shebangs'.
  [inputs]: Add comment noting that 'fuse' would be a desirable input.

8 years agodoc: Add texinfo to the requirements when building from git.
Mark H Weaver [Sun, 13 Sep 2015 15:00:53 +0000 (11:00 -0400)]
doc: Add texinfo to the requirements when building from git.

* doc/contributing.texi (Building from Git): Add GNU Texinfo to the list of
  additional requirements.

8 years agognu: linux-libre: On MIPS, the linux image name is vmlinuz, not bzImage.
Mark H Weaver [Mon, 24 Aug 2015 02:54:59 +0000 (22:54 -0400)]
gnu: linux-libre: On MIPS, the linux image name is vmlinuz, not bzImage.

* gnu/packages/linux.scm (linux-libre)[install-phase]: Add vmlinuz to the list
  of file names to be copied.

8 years agognu: linux-libre: Add case for ARCH=mips.
Mark H Weaver [Thu, 6 Aug 2015 22:15:51 +0000 (18:15 -0400)]
gnu: linux-libre: Add case for ARCH=mips.

* gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add a
  case for MIPS.

8 years agognu: linux-libre: Add 'supported-systems' field: Intel only for now.
Mark H Weaver [Sun, 23 Aug 2015 17:47:13 +0000 (13:47 -0400)]
gnu: linux-libre: Add 'supported-systems' field: Intel only for now.

* gnu/packages/linux.scm (linux-libre)[supported-systems]: New field.

8 years agognu: linux-libre: Update to 4.2.5.
Mark H Weaver [Wed, 28 Oct 2015 00:19:01 +0000 (20:19 -0400)]
gnu: linux-libre: Update to 4.2.5.

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

8 years agolinux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.
Mark H Weaver [Thu, 27 Aug 2015 22:37:30 +0000 (18:37 -0400)]
linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Include
  "pata_acpi", "pata_atiixp", and "isci" on Intel systems only.

8 years agosystem: grub: Adjust eye-candy to work on non-Intel systems.
Mark H Weaver [Sun, 9 Aug 2015 22:45:49 +0000 (18:45 -0400)]
system: grub: Adjust eye-candy to work on non-Intel systems.

* gnu/system/grub.scm (eye-candy): Accept additional 'system' argument.  Add
  local 'setup-gfxterm-body' variable.  Replace the 'load_video' grub function
  with 'setup_gfxterm', which includes everything in the 'if loadfont' form on
  Intel systems, but is empty on non-Intel.
  (grub-configuration-file): Pass 'system' to 'eye-candy.

8 years agosystem: grub: On MIPS, the linux image name is vmlinuz, not bzImage.
Mark H Weaver [Wed, 19 Aug 2015 20:30:02 +0000 (16:30 -0400)]
system: grub: On MIPS, the linux image name is vmlinuz, not bzImage.

* gnu/system/grub.scm (grub-configuration-file): Add 'linux-image-name'
  internal procedure.  Use it from 'entry->gexp'.

8 years agognu: Add Diffoscope.
Ludovic Courtès [Tue, 27 Oct 2015 20:01:55 +0000 (21:01 +0100)]
gnu: Add Diffoscope.

* gnu/packages/package-management.scm (diffoscope): New variable.

8 years agognu: Add python-chardet.
Ludovic Courtès [Tue, 27 Oct 2015 19:53:48 +0000 (20:53 +0100)]
gnu: Add python-chardet.

* gnu/packages/python.scm (python-chardet, python2-chardet): New
  variables.

8 years agognu: Add python-debian.
Ludovic Courtès [Tue, 27 Oct 2015 19:43:11 +0000 (20:43 +0100)]
gnu: Add python-debian.

* gnu/packages/python.scm (python-debian, python2-debian): New
  variables.

8 years agognu: qt: Update to 5.5.1.
Andreas Enge [Tue, 27 Oct 2015 10:06:37 +0000 (11:06 +0100)]
gnu: qt: Update to 5.5.1.

* gnu/packages/qt.scm (qt): Update to 5.5.1.

8 years agorefresh: Add '--list-updaters' option.
Alex Kost [Thu, 22 Oct 2015 07:51:17 +0000 (10:51 +0300)]
refresh: Add '--list-updaters' option.

* guix/scripts/refresh.scm (list-updaters-and-exit): New procedure.
  (%options, show-help): Add '--list-updaters' option.
* doc/guix.texi (Invoking guix refresh): Document it.

8 years agoupstream: Add 'description' field to 'upstream-updater'.
Alex Kost [Mon, 26 Oct 2015 18:24:53 +0000 (21:24 +0300)]
upstream: Add 'description' field to 'upstream-updater'.

Suggested by Ludovic Courtès <ludo@gnu.org>.

* guix/upstream.scm (<upstream-updater>): Use 'define-record-type*'.
  [description]: New field.
  (lookup-updater): Adjust accordingly.
* guix/gnu-maintenance.scm (%gnu-updater): Likewise.
* guix/import/cran.scm (%cran-updater): Likewise.
* guix/import/elpa.scm (%elpa-updater): Likewise.
* po/guix/POTFILES.in: Add guix/scripts/import/cran.scm and
  guix/gnu-maintenance.scm.

8 years agoemacs: Use 'switch-to-generation*'.
Alex Kost [Tue, 27 Oct 2015 14:51:03 +0000 (17:51 +0300)]
emacs: Use 'switch-to-generation*'.

This is a followup to commit 06d45f4566469364b4c1fe6d3c71ecf58f5d4838.

* emacs/guix-base.el (guix-switch-to-generation): Replace
  'switch-to-generation' with 'switch-to-generation*'.

8 years agoemacs: Add "Packages" option for 'guix challenge' popup.
Alex Kost [Tue, 20 Oct 2015 13:43:49 +0000 (16:43 +0300)]
emacs: Add "Packages" option for 'guix challenge' popup.

* emacs/guix-command.el (guix-command-rest-argument): Add "challenge".

8 years agoemacs: Add shell completions for 'guix challenge'.
Alex Kost [Tue, 20 Oct 2015 13:42:01 +0000 (16:42 +0300)]
emacs: Add shell completions for 'guix challenge'.

* emacs/guix-pcomplete.el (guix-pcomplete-complete-command-arg): Add
  "challenge" to complete package names for it.

8 years agognu: gcj: Run libjava tests.
Ricardo Wurmus [Thu, 22 Oct 2015 11:02:37 +0000 (13:02 +0200)]
gnu: gcj: Run libjava tests.

* gnu/packages/gcc.scm (gcj)[native-inputs]: Add dejagnu.
  [arguments]: Enable tests and set test target to
  "check-target-libjava".

8 years agognu: guile-next: Update to 20151025.e5bccb6
Christopher Allan Webber [Mon, 26 Oct 2015 19:04:56 +0000 (14:04 -0500)]
gnu: guile-next: Update to 20151025.e5bccb6

* gnu/packages/guile.scm (guile-next): Update to 20151025.e5bccb6.

8 years agognu: leptonica: Update to 1.72.
宋文武 [Tue, 27 Oct 2015 13:47:37 +0000 (21:47 +0800)]
gnu: leptonica: Update to 1.72.

* gnu/packages/image.scm (leptonica): Update to 1.72.

8 years agognu: ganv, pavucontrol, jalv: Fix build by compile with C++11.
宋文武 [Tue, 27 Oct 2015 12:01:35 +0000 (20:01 +0800)]
gnu: ganv, pavucontrol, jalv: Fix build by compile with C++11.

* gnu/packages/audio.scm (jalv)[arguments],
  gnu/packages/gtk.scm (ganv)[arguments],
  gnu/packages/music.scm (non-sequencer)[arguments],
  gnu/packages/pulseaudio.scm (pavucontrol)[arguments]: Set
  'CXXFLAGS' to '-std=c++11'.

8 years agognu: subread: Use SSE optimizations on x86_64 only.
Ricardo Wurmus [Fri, 23 Oct 2015 12:16:27 +0000 (14:16 +0200)]
gnu: subread: Use SSE optimizations on x86_64 only.

* gnu/packages/bioinformatics.scm (subread)[arguments]: Override CC and
  CCFLAGS conditionally dependent on target system.

8 years agognu: crossmap: Update to 0.2.1.
Ricardo Wurmus [Tue, 27 Oct 2015 10:12:32 +0000 (11:12 +0100)]
gnu: crossmap: Update to 0.2.1.

* gnu/packages/bioinformatics.scm (crossmap): Update to 0.2.1.

8 years agognu: mu: Adjust to new GLib version.
Ludovic Courtès [Tue, 27 Oct 2015 09:19:46 +0000 (10:19 +0100)]
gnu: mu: Adjust to new GLib version.

* gnu/packages/mail.scm (%mu-gtester-patch): New variable.
  (mu)[source]: Use it.

8 years agognu: gtkmm: Add dependency on glib:bin.
Ludovic Courtès [Tue, 27 Oct 2015 09:08:02 +0000 (10:08 +0100)]
gnu: gtkmm: Add dependency on glib:bin.

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add glib:bin.
  (gtkmm-2)[native-inputs]: New field.

8 years agognu: libwacom: Add dependency on libgudev.
Ludovic Courtès [Tue, 27 Oct 2015 09:05:36 +0000 (10:05 +0100)]
gnu: libwacom: Add dependency on libgudev.

* gnu/packages/xdisorg.scm (libwacom)[inputs]: Add LIBGUDEV.

8 years agognu: Add yapet.
Aljosha Papsch [Mon, 26 Oct 2015 21:27:05 +0000 (22:27 +0100)]
gnu: Add yapet.

* gnu/packages/password-utils.scm (yapet): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agognu: Add xcompmgr.
Cyrill Schenkel [Fri, 23 Oct 2015 14:38:16 +0000 (16:38 +0200)]
gnu: Add xcompmgr.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8 years agoprofiles: Add generation manipulation procedures.
Ludovic Courtès [Mon, 26 Oct 2015 22:01:06 +0000 (23:01 +0100)]
profiles: Add generation manipulation procedures.

* guix/scripts/package.scm (delete-generations): Use
  'delete-generation*' instead of 'delete-generation'.
  (guix-package)[process-actions]: Use 'roll-back*' instead of
  'roll-back' and 'switch-to-generation*' instead of
  'switch-to-generation'.
  (link-to-empty-profile, switch-to-generation,
  switch-to-previous-generation, roll-back, delete-generation): Move
  to...
* guix/profiles.scm: ... here.  Adjust to not print messages and to
  return values that can be used by user interfaces.
* guix/ui.scm (display-generation-change, roll-back*,
  switch-to-generation*, delete-generation*): New procedures.

8 years agoutils: Add 'switch-symlinks', moved from (guix ui).
Ludovic Courtès [Mon, 26 Oct 2015 21:17:25 +0000 (22:17 +0100)]
utils: Add 'switch-symlinks', moved from (guix ui).

* guix/ui.scm (switch-symlinks): Move to...
* guix/utils.scm: ... here.  New procedure.
* guix/scripts/pull.scm: Use it.

8 years agoguix system: Add the 'list-generations' command.
Ludovic Courtès [Mon, 26 Oct 2015 20:24:26 +0000 (21:24 +0100)]
guix system: Add the 'list-generations' command.

* guix/scripts/system.scm (display-system-generation, list-generations):
  New procedures.
  (process-action): Clarify docstring.
  (process-command): New procedure.
  (guix-system)[parse-sub-command]: Add 'list-generations'
  Call 'process-command' instead of 'process-action'.
* doc/guix.texi (Using the Configuration System): Mention generations,
  rollback, and 'list-generations'.
  (Invoking guix system): Document 'list-generations'.

8 years agoguix system: Factorize boot parameter parsing.
Ludovic Courtès [Mon, 26 Oct 2015 20:19:42 +0000 (21:19 +0100)]
guix system: Factorize boot parameter parsing.

* guix/scripts/system.scm (<boot-parameters>): New record type.
  (read-boot-parameters): New procedure.
  (previous-grub-entries)[system->grub-entry]: Use it.

8 years agoui: Add procedures to display a profile generation.
Ludovic Courtès [Mon, 26 Oct 2015 20:16:20 +0000 (21:16 +0100)]
ui: Add procedures to display a profile generation.

* guix/scripts/package.scm (guix-package)[process-query](list-generations):
  Move part of the body to 'delete-generation' and
  'display-profile-content'.
* guix/ui.scm (display-generation, display-profile-content): New
  procedures.

8 years agoutils: Add 'readlink*'.
Ludovic Courtès [Mon, 26 Oct 2015 19:01:45 +0000 (20:01 +0100)]
utils: Add 'readlink*'.

* guix/scripts/package.scm (readlink*): Move to...
* guix/utils.scm (readlink*): ... here.  New procedure.

8 years agoguix system: Extract action processing.
Ludovic Courtès [Mon, 26 Oct 2015 18:50:56 +0000 (19:50 +0100)]
guix system: Extract action processing.

* guix/scripts/system.scm (process-action): New procedure.  Extracted
  from...
  (guix-system): ... here.  Use it.

8 years agoui: Add 'matching-generations'.
Ludovic Courtès [Mon, 26 Oct 2015 18:03:56 +0000 (19:03 +0100)]
ui: Add 'matching-generations'.

* guix/scripts/package.scm (matching-generations): Move to...
* guix/ui.scm (matching-generations): ... here.

8 years agodoc: Add a REPL example.
Ludovic Courtès [Mon, 26 Oct 2015 17:44:18 +0000 (18:44 +0100)]
doc: Add a REPL example.

* doc/contributing.texi (Running Guix Before It Is Installed): Add REPL
  example.
* doc/emacs.texi (Emacs General info): Add @cindex.