jackhill/guix/guix.git
9 years agonar: Read archive signatures as Latin-1 strings.
Ludovic Courtès [Sun, 18 Jan 2015 21:19:04 +0000 (22:19 +0100)]
nar: Read archive signatures as Latin-1 strings.

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

* guix/nar.scm (restore-one-item): Use 'read-latin1-string' to read the
  signature.

9 years agoserialization: Read Latin-1 strings with 'get-bytevector-n'.
Ludovic Courtès [Sun, 18 Jan 2015 21:17:09 +0000 (22:17 +0100)]
serialization: Read Latin-1 strings with 'get-bytevector-n'.

* guix/serialization.scm (read-latin1-string): Use 'get-bytevector-n'
  instead of 'get-string-n'.  Use 'list->string' etc. to convert the
  bytevector to a string.

9 years agostore: Change 'store-lower' to preserve the original procedure's documentation.
Ludovic Courtès [Sun, 18 Jan 2015 16:38:15 +0000 (17:38 +0100)]
store: Change 'store-lower' to preserve the original procedure's documentation.

* guix/store.scm (preserve-documentation): New procedure.
  (store-lift, store-lower): Use it.

9 years agodoc: Document '%state-monad' and update '%store-monad' description.
Ludovic Courtès [Sat, 17 Jan 2015 22:43:41 +0000 (23:43 +0100)]
doc: Document '%state-monad' and update '%store-monad' description.

* doc/guix.texi (The Store Monad): Document '%state-monad' and related
  procedures.  Describe '%store-monad' as an alias for '%state-monad'.
* guix/monads.scm: Update commentary.

9 years agostore: Make '%store-monad' an alias for '%state-monad'.
Ludovic Courtès [Sat, 17 Jan 2015 22:19:13 +0000 (23:19 +0100)]
store: Make '%store-monad' an alias for '%state-monad'.

* guix/store.scm (define-alias): New macro.
  (%store-monad, store-return, store-bind): Define as aliases of the
  corresponding %STATE-MONAD part.
  (store-lift, text-file, interned-file): Return STORE as a second
  value.
  (run-with-store): Use 'run-with-state'.
* guix/packages.scm (set-guile-for-build, package-file): Return STORE as
  a second value.
* guix/monads.scm: Remove part of the module commentary.

9 years agomonads: Add the state monad.
Ludovic Courtès [Sat, 17 Jan 2015 17:46:41 +0000 (18:46 +0100)]
monads: Add the state monad.

* guix/monads.scm (state-return, state-bind, run-with-state,
  current-state, set-current-state, state-push, state-pop): New
  procedures.
  (%state-monad): New variable.
* tests/monads.scm (%monads): Add %STATE-MONAD.
  (%monad-run): Add 'run-with-state'.
  (values->list): New macro.
  ("set-current-state", "state-push etc."): New tests.

9 years agognu: linux-libre: Update to 3.18.3
Jason Self [Sat, 17 Jan 2015 18:32:57 +0000 (10:32 -0800)]
gnu: linux-libre: Update to 3.18.3

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

9 years agognu: rasqal: Update to 0.9.33.
Andreas Enge [Sat, 17 Jan 2015 17:47:03 +0000 (18:47 +0100)]
gnu: rasqal: Update to 0.9.33.

* gnu/packages/rdf.scm (rasqal): Update to 0.9.33.

9 years agognu: raptor2: Update to 2.0.15.
Andreas Enge [Sat, 17 Jan 2015 17:13:58 +0000 (18:13 +0100)]
gnu: raptor2: Update to 2.0.15.

* gnu/packages/rdf.scm (raptor2): Update to 2.0.15.

9 years agoguix archive: Add -r/--recursive.
Ludovic Courtès [Sat, 17 Jan 2015 16:05:54 +0000 (17:05 +0100)]
guix archive: Add -r/--recursive.

* guix/scripts/archive.scm (show-help, %options): Add -r/--recursive.
  (export-from-store): Pass #:recursive? to 'export-paths'.
* doc/guix.texi (Invoking guix archive): Add -r in Emacs example.  Add
  example with ~/.guix-profile.  Document -r/--recursive.

9 years agoguix archive: Remove unused -r/--root option.
Ludovic Courtès [Sat, 17 Jan 2015 15:52:49 +0000 (16:52 +0100)]
guix archive: Remove unused -r/--root option.

* guix/scripts/archive.scm (%options): Remove -r/--root.

9 years agostore: Remove unused variable.
Ludovic Courtès [Sat, 17 Jan 2015 15:03:35 +0000 (16:03 +0100)]
store: Remove unused variable.

* guix/store.scm (export-paths): Remove unused variable 's'.

9 years agostore: Add #:recursive? parameter to 'export-paths'.
Ludovic Courtès [Sat, 17 Jan 2015 14:59:00 +0000 (15:59 +0100)]
store: Add #:recursive? parameter to 'export-paths'.

* guix/store.scm (export-paths): Add #:recursive? parameter and honor
  it.
* tests/store.scm ("export/import incomplete", "export/import
  recursive"): New tests.

9 years agodoc: Mention generation of ECDSA/Ed25519 keys when supported.
Ludovic Courtès [Sat, 17 Jan 2015 13:53:27 +0000 (14:53 +0100)]
doc: Mention generation of ECDSA/Ed25519 keys when supported.

* doc/guix.texi (Invoking guix archive): Mention ECDSA/Ed25519 as the
  default type of keys for libgcrypt >= 1.6.0.

9 years agognu: Add fvwm.
宋文武 [Sat, 17 Jan 2015 09:10:17 +0000 (17:10 +0800)]
gnu: Add fvwm.

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

9 years agognu: fontconfig: Propagate expat and freetype.
Mark H Weaver [Sat, 17 Jan 2015 05:51:25 +0000 (00:51 -0500)]
gnu: fontconfig: Propagate expat and freetype.

* gnu/packages/fontutils.scm (fontconfig)[inputs]: Move expat and freetype ...
  [propagated-inputs]: ... to here.

9 years agognu: ffmpeg: Augment rpath of libraries.
宋文武 [Fri, 16 Jan 2015 14:10:26 +0000 (22:10 +0800)]
gnu: ffmpeg: Augment rpath of libraries.

* gnu/packages/video.scm (ffmpeg)[arguments]<phases>[add-lib-to-run-path]:
  Add $out/lib to the RUNPATH of libraries.

9 years agognu: fontconfig: Update to 2.11.92.
Andreas Enge [Fri, 16 Jan 2015 22:55:42 +0000 (23:55 +0100)]
gnu: fontconfig: Update to 2.11.92.

* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.92.

9 years agoemacs: In 'run-with-store' call, specify the guile-for-build.
Ludovic Courtès [Fri, 16 Jan 2015 20:24:52 +0000 (21:24 +0100)]
emacs: In 'run-with-store' call, specify the guile-for-build.

This fixes a regression introduced in commit e87f059.

* emacs/guix-main.scm (process-package-actions): Add call to
  'set-guile-for-build' in monadic expression.

9 years agognu: e2fsck-static: Use really statically-linked executables.
Ludovic Courtès [Fri, 16 Jan 2015 20:07:31 +0000 (21:07 +0100)]
gnu: e2fsck-static: Use really statically-linked executables.

* gnu/packages/linux.scm (e2fsprogs/static): New variable.
  (e2fsck/static): Use it in 'inputs'.

9 years agognu: Add CGAL.
Ludovic Courtès [Fri, 16 Jan 2015 14:47:03 +0000 (15:47 +0100)]
gnu: Add CGAL.

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

9 years agosystem: Add "en_US.UTF-8" to the default locales, for backward compatibility.
Ludovic Courtès [Fri, 16 Jan 2015 14:40:10 +0000 (15:40 +0100)]
system: Add "en_US.UTF-8" to the default locales, for backward compatibility.

* gnu/system/locale.scm (%default-locale-definitions): Add
  "en_US.UTF-8".

9 years agognu: Add Eigen.
Ludovic Courtès [Fri, 16 Jan 2015 12:42:24 +0000 (13:42 +0100)]
gnu: Add Eigen.

* gnu/packages/algebra.scm (eigen): New variable.

9 years agognu: Add IPython.
Federico Beffa [Fri, 19 Dec 2014 16:29:39 +0000 (17:29 +0100)]
gnu: Add IPython.

* gnu/packages/python.scm (python-ipython, python2-ipython): New variable.

9 years agognu: icecat: Add fixes for CVE-2014-{8634,8638,8639,8641}.
Mark H Weaver [Fri, 16 Jan 2015 08:52:05 +0000 (03:52 -0500)]
gnu: icecat: Add fixes for CVE-2014-{8634,8638,8639,8641}.

* gnu/packages/patches/icecat-CVE-2014-8634-pt1.patch,
  gnu/packages/patches/icecat-CVE-2014-8634-pt2.patch,
  gnu/packages/patches/icecat-CVE-2014-8638-pt1.patch,
  gnu/packages/patches/icecat-CVE-2014-8638-pt2.patch,
  gnu/packages/patches/icecat-CVE-2014-8639.patch,
  gnu/packages/patches/icecat-CVE-2014-8641.patch,
  gnu/packages/patches/icecat-armhf-xpcom.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.

9 years agoMerge branch 'core-updates'
Ludovic Courtès [Fri, 16 Jan 2015 12:27:03 +0000 (13:27 +0100)]
Merge branch 'core-updates'

Conflicts:
gnu/packages/bootstrap.scm

9 years agognu: add RetroArch.
宋文武 [Fri, 16 Jan 2015 11:53:00 +0000 (19:53 +0800)]
gnu: add RetroArch.

* gnu/packages/games.scm (retroarch): New variable.

9 years agognu: gd: Update to 2.1.1.
Mark H Weaver [Thu, 15 Jan 2015 23:46:23 +0000 (18:46 -0500)]
gnu: gd: Update to 2.1.1.

* gnu/packages/patches/gd-mips64-deplibs-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/gd.scm (gd): Update to 2.1.1.  Update source URI.  Remove
  patch.  Remove 'chdir' phase.  Add pkg-config to native-inputs.

9 years agognu: gdb: Update to 7.8.2.
Ludovic Courtès [Thu, 15 Jan 2015 22:09:48 +0000 (23:09 +0100)]
gnu: gdb: Update to 7.8.2.

* gnu/packages/gdb.scm (gdb): Update to 7.8.2.

9 years agognu: nix: Update to 1.8.
Ludovic Courtès [Thu, 15 Jan 2015 14:27:27 +0000 (15:27 +0100)]
gnu: nix: Update to 1.8.

* gnu/packages/package-management.scm (nix): Update to 1.8.

9 years agognu: plotutils: Do not propagate libXaw.
Ludovic Courtès [Thu, 15 Jan 2015 14:04:45 +0000 (15:04 +0100)]
gnu: plotutils: Do not propagate libXaw.

* gnu/packages/plotutils.scm (plotutils): Move LIBXAW from
  'propagated-inputs' to 'inputs'.  Add 'snippet'.

9 years agognu: mercurial: Update to 3.2.4.
Ludovic Courtès [Thu, 15 Jan 2015 13:47:22 +0000 (14:47 +0100)]
gnu: mercurial: Update to 3.2.4.

* gnu/packages/version-control.scm (mercurial): Update to 3.2.4.

9 years agognu: teckit: Add alternate source URL.
Mark H Weaver [Thu, 15 Jan 2015 18:45:11 +0000 (13:45 -0500)]
gnu: teckit: Add alternate source URL.

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

* gnu/packages/fontutils.scm (teckit)[source]: Add Fedora mirror.

9 years agognu: ninja: Disable testcase SubprocessTest.InterruptChild.
宋文武 [Thu, 15 Jan 2015 03:02:43 +0000 (11:02 +0800)]
gnu: ninja: Disable testcase SubprocessTest.InterruptChild.

* gnu/packages/patches/ninja-tests.patch: New file.
* gnu/packages/ninja.scm (ninja): Add the patch.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: cross-base: Don't build the cross-compilers with target = host.
Ludovic Courtès [Wed, 14 Jan 2015 20:14:14 +0000 (21:14 +0100)]
gnu: cross-base: Don't build the cross-compilers with target = host.

* gnu/packages/cross-base.scm (xgcc-mips64el)[supported-systems]: Delete
  "mips64el-linux".
  (xgcc-armhf)[supported-systems]: Delete "armhf-linux".

9 years agognu: Don't build the mips64el-linux-gnuabi64 cross-compiler on i686.
Ludovic Courtès [Wed, 14 Jan 2015 18:40:58 +0000 (19:40 +0100)]
gnu: Don't build the mips64el-linux-gnuabi64 cross-compiler on i686.

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

* gnu/packages/cross-base.scm (xgcc-mips64el): Remove "i686-linux" from
  'supported-systems'.

9 years agocheck-available-binaries: Use 'substitution-oracle'.
Ludovic Courtès [Wed, 14 Jan 2015 17:28:46 +0000 (18:28 +0100)]
check-available-binaries: Use 'substitution-oracle'.

* build-aux/check-available-binaries.scm: Use 'substitution-oracle'.
  Changer caller and 'warn' accordingly.

9 years agocheck-available-binaries: Use 'with-store'.
Ludovic Courtès [Wed, 14 Jan 2015 17:20:01 +0000 (18:20 +0100)]
check-available-binaries: Use 'with-store'.

* build-aux/check-available-binaries.scm: Use 'with-store' instead of an
  explicit 'open-connection'.

9 years agobuild: Use the canonical list of supported systems in 'assert-*'.
Ludovic Courtès [Wed, 14 Jan 2015 16:05:10 +0000 (17:05 +0100)]
build: Use the canonical list of supported systems in 'assert-*'.

* build-aux/check-available-binaries.scm (%supported-systems): Remove.
* build-aux/check-final-inputs-self-contained.scm (%supported-systems):
  Remove.

9 years agopackages: Convert source derivations to monadic style.
Ludovic Courtès [Wed, 14 Jan 2015 13:42:10 +0000 (14:42 +0100)]
packages: Convert source derivations to monadic style.

* guix/packages.scm (origin->derivation): Take body from
  'package-source-derivation', and change it to monadic style.  Expect
  METHOD to a monadic procedure.
  (package-source-derivation): Define in terms of 'origin->derivation'.
* guix/download.scm (url-fetch): Remove 'store' argument.  Remove
  'guile-for-build' variable.  Turn into a monadic procedure.
* guix/git-download.scm (git-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
* tests/builders.scm (url-fetch*): New procedure.
  Change tests to call 'url-fetch*' instead of 'url-fetch'.
* tests/packages.scm ("package-source-derivation, snippet"): Remove
  'store' parameter of 'fetch' and change it to use 'interned-file'
  instead of 'add-to-store'.
* gnu/packages/bootstrap.scm (bootstrap-origin)[boot]: Remove 'store'
  parameter.

9 years agognu: tre: Build a locale for the tests.
Mark H Weaver [Wed, 14 Jan 2015 13:40:22 +0000 (08:40 -0500)]
gnu: tre: Build a locale for the tests.

* gnu/packages/tre.scm (tre)[arguments]: Add 'install-locales' phase.

9 years agostore: Add 'store-lower'.
Ludovic Courtès [Wed, 14 Jan 2015 13:25:58 +0000 (14:25 +0100)]
store: Add 'store-lower'.

* guix/store.scm (store-lower): New procedure.
* tests/store.scm ("store-lower"): New test.

9 years agomonads: Move '%store-monad' and related procedures where they belong.
Ludovic Courtès [Wed, 14 Jan 2015 12:34:52 +0000 (13:34 +0100)]
monads: Move '%store-monad' and related procedures where they belong.

This turns (guix monads) into a generic module for monads, and moves the
store monad and related monadic procedures in their corresponding
module.

* guix/monads.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file, package-file, package->derivation,
  package->cross-derivation, origin->derivation, imported-modules,
  compiled, modules, built-derivations, run-with-store): Move to...
* guix/store.scm (store-return, store-bind, %store-monad, store-lift,
  text-file, interned-file): ... here.
  (%guile-for-build): New variable.
  (run-with-store): Moved from monads.scm.  Remove default value for
  #:guile-for-build.
* guix/packages.scm (default-guile): Export.
  (set-guile-for-build): New procedure.
  (package-file, package->derivation, package->cross-derivation,
  origin->derivation): Moved from monads.scm.
* guix/derivations.scm (%guile-for-build): Remove.
  (imported-modules): Rename to...
  (%imported-modules): ... this.
  (compiled-modules): Rename to...
  (%compiled-modules): ... this.
  (built-derivations, imported-modules, compiled-modules): New
  procedures.
* gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm,
  gnu/services/dmd.scm, gnu/services/networking.scm,
  gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm,
  gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm,
  guix/gexp.scm, guix/git-download.scm, guix/profiles.scm,
  guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly.
* guix/monad-repl.scm (default-guile-derivation): New procedure.
  (store-monad-language, run-in-store): Use it.
* build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit
  'set-guile-for-build' call.
* guix/scripts/archive.scm (derivation-from-expression): Likewise.
* guix/scripts/build.scm (options/resolve-packages): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* doc/guix.texi (The Store Monad): Adjust module names accordingly.

9 years agodoc: Move 'text-file*' to the gexp section.
Ludovic Courtès [Wed, 14 Jan 2015 10:22:51 +0000 (11:22 +0100)]
doc: Move 'text-file*' to the gexp section.

This is a follow-up to commit 462a3fa.

* doc/guix.texi (The Store Monad): Move 'text-file*'...
  (G-Expressions): ... to here.

9 years agognu: guile-ncurses: Build a UTF-8 locale for the tests.
Mark H Weaver [Wed, 14 Jan 2015 01:37:57 +0000 (20:37 -0500)]
gnu: guile-ncurses: Build a UTF-8 locale for the tests.

* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'install-locales'
  phase.

9 years agognu: Add zerofree.
Ludovic Courtès [Tue, 13 Jan 2015 21:14:43 +0000 (22:14 +0100)]
gnu: Add zerofree.

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

9 years agognu: e2fsprogs: Install libext2fs.
Ludovic Courtès [Tue, 13 Jan 2015 21:13:00 +0000 (22:13 +0100)]
gnu: e2fsprogs: Install libext2fs.

* gnu/packages/linux.scm (e2fsprogs)[source]: Add 'snippet'.
  [arguments]: Add --enable-elf-shlibs to #:configure-flags.
  Add #:make-flags.

9 years agognu: gnutls: Update to 3.2.21.
Mark H Weaver [Tue, 13 Jan 2015 20:05:52 +0000 (15:05 -0500)]
gnu: gnutls: Update to 3.2.21.

* gnu/packages/gnutls.scm (gnutls): Update to 3.2.21.

9 years agognu: openssl: Update to 1.0.1k.
Mark H Weaver [Tue, 13 Jan 2015 19:54:31 +0000 (14:54 -0500)]
gnu: openssl: Update to 1.0.1k.

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

9 years agognu: Add GLEW.
Ludovic Courtès [Tue, 13 Jan 2015 17:02:32 +0000 (18:02 +0100)]
gnu: Add GLEW.

* gnu/packages/gl.scm (glew): New variable.

9 years agoservices: user-processes: Really honor the grace delay.
Ludovic Courtès [Tue, 13 Jan 2015 16:22:39 +0000 (17:22 +0100)]
services: user-processes: Really honor the grace delay.

* gnu/services/base.scm (user-processes-service): Change #:grace-delay
  default value to 4.  Define 'sleep*' and use it.

9 years agosystem: Add iw to '%base-packages'.
Ludovic Courtès [Tue, 13 Jan 2015 10:42:52 +0000 (11:42 +0100)]
system: Add iw to '%base-packages'.

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

9 years agognu: wireless-tools: Describe it as deprecated.
Ludovic Courtès [Tue, 13 Jan 2015 10:42:24 +0000 (11:42 +0100)]
gnu: wireless-tools: Describe it as deprecated.

* gnu/packages/linux.scm (wireless-tools)[description]: Explain that it
  is deprecated in favor of 'iw'.

9 years agognu: guix: Update snapshot.
Ludovic Courtès [Tue, 13 Jan 2015 10:41:51 +0000 (11:41 +0100)]
gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update snapshot.
  Remove now-unneeded sub-module stuff in the 'bootstrap' phase.

9 years agoMerge branch 'master' into core-updates
Mark H Weaver [Tue, 13 Jan 2015 17:14:08 +0000 (12:14 -0500)]
Merge branch 'master' into core-updates

9 years agognu: xorg-server: Update to 1.16.3.
Mark H Weaver [Tue, 13 Jan 2015 16:49:22 +0000 (11:49 -0500)]
gnu: xorg-server: Update to 1.16.3.

* gnu/packages/xorg.scm (xorg-server): Update to 1.16.3.

9 years agognu: Add QPDF.
Ricardo Wurmus [Wed, 7 Jan 2015 16:49:00 +0000 (17:49 +0100)]
gnu: Add QPDF.

* gnu/packages/pdf.scm (qpdf): New variable.

9 years agotests: Properly synchronize threads in the 'home-page' lint tests.
Ludovic Courtès [Tue, 13 Jan 2015 10:08:23 +0000 (11:08 +0100)]
tests: Properly synchronize threads in the 'home-page' lint tests.

* tests/lint.scm (%http-server-lock, %http-server-ready): New
  variables.
  (http-open): New procedure.
  (stub-http-server): Use it.
  (call-with-http-server): Wrap body in 'with-mutex'.  Call
  'wait-condition-variable' after 'make-thread'.

9 years agodoc: Change some occurrences of "the GNU system" to "Guixotic".
Ludovic Courtès [Tue, 13 Jan 2015 10:06:12 +0000 (11:06 +0100)]
doc: Change some occurrences of "the GNU system" to "Guixotic".

* doc/guix.texi (GNU Distribution): Explain what "Guixotic" is.
  (System Installation): Replace "the GNU system" by "Guixotic".
  (System Configuration): Likewise.
  (Invoking guix system): Likewise.

9 years agobuild/glib-or-gtk-build-system: Fix 'generate-icon-cache'.
Federico Beffa [Tue, 13 Jan 2015 08:11:51 +0000 (09:11 +0100)]
build/glib-or-gtk-build-system: Fix 'generate-icon-cache'.

Reported by Mark H Weaver <mhw@netris.org>

* guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Add check for
  existence of icons directory.

9 years agognu: Add iw.
Mark H Weaver [Mon, 12 Jan 2015 23:12:16 +0000 (18:12 -0500)]
gnu: Add iw.

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

9 years agognu: libnl: Update to 3.2.25.
Mark H Weaver [Mon, 12 Jan 2015 22:53:09 +0000 (17:53 -0500)]
gnu: libnl: Update to 3.2.25.

* gnu/packages/linux.scm (libnl): Update to 3.2.25.

9 years agognu: libpng: Update to 1.5.21.
Mark H Weaver [Mon, 12 Jan 2015 23:34:11 +0000 (18:34 -0500)]
gnu: libpng: Update to 1.5.21.

* gnu/packages/image.scm (libpng): Update to 1.5.21.

9 years agomonads: Remove 'derivation-expression'.
Ludovic Courtès [Mon, 12 Jan 2015 22:32:34 +0000 (23:32 +0100)]
monads: Remove 'derivation-expression'.

* guix/monads.scm (lower-inputs, derivation-expression): Remove.
* tests/monads.scm (derivation-expression, "mlet* +
  derivation-expression"): Remove.

9 years agomonads: Rewrite 'text-file*' using gexps.
Ludovic Courtès [Mon, 12 Jan 2015 22:26:52 +0000 (23:26 +0100)]
monads: Rewrite 'text-file*' using gexps.

* guix/monads.scm (text-file*): Move to...
* guix/gexp.scm (text-file*): ... here.  Rewrite using gexps.
* tests/monads.scm ("text-file*"): Move to...
* tests/gexp.scm ("text-file*"): ... here.

9 years agoservices: user-processes: Write debugging messages to the output port.
Ludovic Courtès [Mon, 12 Jan 2015 21:41:05 +0000 (22:41 +0100)]
services: user-processes: Write debugging messages to the output port.

* gnu/services/base.scm (user-processes-service): Write "sending all
  processes..." message to the current output port, not to /dev/console.

9 years agognu: Move xlockmore to (gnu packages xdisorg).
Ludovic Courtès [Mon, 12 Jan 2015 20:15:15 +0000 (21:15 +0100)]
gnu: Move xlockmore to (gnu packages xdisorg).

* gnu/packages/xlockmore.scm: Remove.
* gnu/packages/xdisorg.scm (xlockmore): New variable, from
  xlockmore.scm.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove xlockmore.scm.

9 years agognu: xlockmore: Update to 5.45.
Ludovic Courtès [Mon, 12 Jan 2015 20:12:28 +0000 (21:12 +0100)]
gnu: xlockmore: Update to 5.45.

* gnu/packages/xlockmore.scm (xlockmore): Update to 5.45.
  [arguments]: Add #:configure-flags.

9 years agognu: evince: Add inputs.
Federico Beffa [Thu, 18 Dec 2014 20:48:43 +0000 (21:48 +0100)]
gnu: evince: Add inputs.

* gnu/packages/gnome.scm (evince): Add 'dconf' and 'libcanberra' inputs.
  Remove custom phase 'set-mime-search-path which is now handled by
  glib-or-gtk-build-system.

9 years agognu: libcanberra: Add default sounds support.
Federico Beffa [Thu, 18 Dec 2014 20:32:34 +0000 (21:32 +0100)]
gnu: libcanberra: Add default sounds support.

* gnu/packages/libcanberra.scm (libcanberra): Add input
  'sound-theme-freedesktop'.  Add "libcanberra-sound-theme-freedesktop.patch"
  and related phase 'patch-default-sounds-directory to patch the default
  sounds directory.

9 years agognu: dconf: Add dconf.
Federico Beffa [Thu, 18 Dec 2014 20:23:52 +0000 (21:23 +0100)]
gnu: dconf: Add dconf.

* gnu/packages/gnome.scm (dconf): New variable.

9 years agoguix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming.
Federico Beffa [Thu, 18 Dec 2014 19:58:18 +0000 (20:58 +0100)]
guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming.

* guix/build/glib-or-gtk-build-system.scm (data-directories): Rename
  'schemas-directories' to 'data-directories' and add support for XDG theming
  data.

* guix/build/glib-or-gtk-build-system.scm (gio-module-directories): New
  function.

* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Update names to
  reflect that we are dealing with more types of data and not only with
  schemas.  Add handling of GIO modules.

* guix/build-system/glib-or-gtk.scm (lower): Import the 'bin' output of GLib
  instead of 'out'.  This was an error since we need the program
  'glib-compile-schemas'.  Update the description.

9 years agognu: ffmpeg: Update to 2.5.3
Jason Self [Mon, 12 Jan 2015 16:00:21 +0000 (08:00 -0800)]
gnu: ffmpeg: Update to 2.5.3

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

9 years agognu: ffmpeg-2.2: Update to 2.2.11
Jason Self [Mon, 12 Jan 2015 15:59:17 +0000 (07:59 -0800)]
gnu: ffmpeg-2.2: Update to 2.2.11

* gnu/packages/video.scm (ffmpeg-2.2): Update to version 2.2.11.

9 years agognu: gp2c: Update to 0.0.9pl2.
Andreas Enge [Mon, 12 Jan 2015 12:31:35 +0000 (13:31 +0100)]
gnu: gp2c: Update to 0.0.9pl2.

* gnu/packages/algebra.scm (gp2c): Update to 0.0.9pl2.

9 years agognu: pari-gp: Update to 2.7.2.
Andreas Enge [Mon, 12 Jan 2015 12:27:59 +0000 (13:27 +0100)]
gnu: pari-gp: Update to 2.7.2.

* gnu/packages/algebra.scm (pari-gp): Update to 2.7.2.

9 years agoderivations: Use a set for 'substitution-oracle'.
Ludovic Courtès [Sun, 11 Jan 2015 22:20:57 +0000 (23:20 +0100)]
derivations: Use a set for 'substitution-oracle'.

* guix/derivations.scm (substitution-oracle): Use sets instead of lists.

9 years agoderivations: Use sets for 'derivations-prerequisites'.
Ludovic Courtès [Sun, 11 Jan 2015 22:04:07 +0000 (23:04 +0100)]
derivations: Use sets for 'derivations-prerequisites'.

This yields a 46% improvement in 'derivation-prerequisites' invocations
on the Emacs derivation.

* guix/derivations.scm (derivation-prerequisites): Add 'input-set'
  variable, and use it in iterations.

9 years agoAdd (guix sets).
Ludovic Courtès [Sun, 11 Jan 2015 22:43:30 +0000 (23:43 +0100)]
Add (guix sets).

* guix/sets.scm, tests/sets.scm: New files.sets
* Makefile.am (MODULES, SCM_TESTS): Add them.

9 years agognu: sqlite: Update to 3.8.7.4.
Mark H Weaver [Sun, 11 Jan 2015 20:21:19 +0000 (15:21 -0500)]
gnu: sqlite: Update to 3.8.7.4.

* gnu/packages/patches/sqlite-large-page-size-fix.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/databases.scm (sqlite): Update to 3.8.7.4.  Remove patch.

9 years agognu: curl: Update to 7.40.0.
Mark H Weaver [Sun, 11 Jan 2015 14:43:22 +0000 (09:43 -0500)]
gnu: curl: Update to 7.40.0.

* gnu/packages/patches/curl-gss-api-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/curl.scm (curl): Update to 7.40.0.  Add patch.

9 years agoMerge branch 'master' into core-updates
Mark H Weaver [Sun, 11 Jan 2015 14:38:49 +0000 (09:38 -0500)]
Merge branch 'master' into core-updates

9 years agognu: qt: Add more inputs.
宋文武 [Sun, 11 Jan 2015 11:51:51 +0000 (19:51 +0800)]
gnu: qt: Add more inputs.

* gnu/packages/qt.scm (qt): Add expat, pciutils, libxcomposite, libxcursor,
  libxfixes, libxinerama, libxml2, libxrandr, libxslt, libxtst, mtdev, nss,
  pcre, sqlite, eudev to 'inputs'.
  Add bison, flex, gperf, ninja, python-2, ruby, which to 'native-inputs'.

9 years agognu: qt: Update to 5.4.0.
宋文武 [Sat, 3 Jan 2015 06:12:01 +0000 (14:12 +0800)]
gnu: qt: Update to 5.4.0.

* gnu/packages/qt.scm (qt): Update to 5.4.0.
  [origin]: Add snippet.

9 years agognu: Add ninja.
宋文武 [Fri, 9 Jan 2015 13:37:30 +0000 (21:37 +0800)]
gnu: Add ninja.

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

9 years agognu: Add nss.
宋文武 [Tue, 6 Jan 2015 15:57:31 +0000 (23:57 +0800)]
gnu: Add nss.

* gnu/packages/patches/nss-pkgconfig.patch: New file.
* gnu-system.scm (dist_patch_DATA): Add it.
* gnu/packages/gnuzilla.scm (nss): New variable.

9 years agognu: Move mozjs and nspr to (gnu packages gnuzilla).
宋文武 [Sun, 11 Jan 2015 01:29:10 +0000 (09:29 +0800)]
gnu: Move mozjs and nspr to (gnu packages gnuzilla).

* gnu/packages/polkit.scm (mozjs, nspr): Move to...
* gnu/packages/gnuzilla.scm (mozjs, nspr): ... here. New variables.

9 years agognu: libtool: Add m4 to propagated-inputs.
Mark H Weaver [Sun, 11 Jan 2015 00:14:29 +0000 (19:14 -0500)]
gnu: libtool: Add m4 to propagated-inputs.

* gnu/packages/autotools.scm (libtool)[propagated-inputs]: Add m4.

9 years agognu: file: Update to 5.22.
Mark H Weaver [Sat, 10 Jan 2015 05:04:02 +0000 (00:04 -0500)]
gnu: file: Update to 5.22.

* gnu/packages/file.scm (file): Update to 5.22.

9 years agognu: linux-libre: Update to 3.18.2
Jason Self [Sat, 10 Jan 2015 05:19:43 +0000 (21:19 -0800)]
gnu: linux-libre: Update to 3.18.2

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

9 years agoderivations: Add 'substitution-oracle' and use it.
Ludovic Courtès [Fri, 9 Jan 2015 23:39:59 +0000 (00:39 +0100)]
derivations: Add 'substitution-oracle' and use it.

This makes 'guix environment PACKAGE' significantly faster when
substitutes are enabled.  Before that, it would lead to many invocations
of 'guix substitute-binary', one per 'derivation-prerequisites-to-build'
call.  Now, all these are replaced by a single invocation.

* guix/derivations.scm (derivation-output-paths, substitution-oracle):
  New procedures.
  (derivation-prerequisites-to-build): Replace #:use-substitutes? with
  #:substitutable?.  Remove the local 'derivation-output-paths' and
  'substitutable?'.
* guix/ui.scm (show-what-to-build): Add 'substitutable?'.  Pass it to
  'derivation-prerequisites-to-build'.
  [built-or-substitutable?]: Use it instead of 'has-substitutes?'.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use #:substitutable? instead of #:use-substitutes?.

9 years agoderivations: Add 'derivation-output-names'.
Ludovic Courtès [Fri, 9 Jan 2015 22:33:42 +0000 (23:33 +0100)]
derivations: Add 'derivation-output-names'.

* guix/derivations.scm (derivation-output-names): New procedure.
  (derivation-prerequisites-to-build): Use it for #:outputs.
  (map-derivation): Likewise.
* tests/derivations.scm ("derivation-output-names"): New test.

9 years agonls: Update 'eo' translation.
Ludovic Courtès [Fri, 9 Jan 2015 22:33:05 +0000 (23:33 +0100)]
nls: Update 'eo' translation.

9 years agobuild-system/gnu: Patch /usr/bin/file in all 'configure' files.
Ludovic Courtès [Fri, 9 Jan 2015 21:35:33 +0000 (22:35 +0100)]
build-system/gnu: Patch /usr/bin/file in all 'configure' files.

* guix/build/utils.scm (patch-/usr/bin/file): New procedure.
* guix/build/gnu-build-system.scm (patch-usr-bin-file): Rewrite using
  it.  Patch all the files returned by 'find-files' that are executable.
* gnu/packages/gawk.scm (gawk)[arguments]: Remove use of 'substitute*'
  for 'extension/configure'.

9 years agoimport: Add CPAN importer.
Eric Bavier [Thu, 8 Jan 2015 20:51:13 +0000 (14:51 -0600)]
import: Add CPAN importer.

* guix/import/cpan.scm, guix/scripts/import/cpan.scm, tests/cpan.scm:
  New files.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add them.
* guix/scripts/import.scm (importers): Add cpan.
* doc/guix.texi (Requirements): Mention `guix import cpan` as a user
  of guile-json.
  (Invoking guix import): Document new `guix import cpan` command.

9 years agotests: import: Factorize utility function.
Eric Bavier [Thu, 8 Jan 2015 20:41:15 +0000 (14:41 -0600)]
tests: import: Factorize utility function.

* tests/pypi.scm (mock): Move this...
* guix/tests.scm: to here.

9 years agoimport: Factorize utility functions.
Eric Bavier [Thu, 8 Jan 2015 20:38:54 +0000 (14:38 -0600)]
import: Factorize utility functions.

* guix/import/pypi.scm (hash-table->alist, flatten, assoc-ref*,
  url-fetch, json-fetch): Pull procedures from here into...
* guix/import/utils.scm: Here and...
* guix/import/json.scm: Here.  New file.
* Makefile.am (MODULE)[HAVE_GUILE_JSON]: Add it.
* guix/import/gnu.scm (file-sha256): Move from here to...
* guix/hash.scm: Here.
* tests/pypi.scm (pypi->guix-package): Update mock module reference.

9 years agoimport: gnu: Propagate the key-download argument.
Eric Bavier [Wed, 7 Jan 2015 23:01:17 +0000 (17:01 -0600)]
import: gnu: Propagate the key-download argument.

* guix/import/gnu.scm (gnu->guix-package): Pass the key-download
  argument on to gnu-package->sexp.

9 years agognu: poppler: build with openjpeg and lcms
Ricardo Wurmus [Wed, 7 Jan 2015 16:43:18 +0000 (17:43 +0100)]
gnu: poppler: build with openjpeg and lcms

* gnu/packages/pdf.scm (poppler): build poppler with openjpeg 1.5 and lcms.

9 years agognu: openjpeg: Update to 2.0.1.
Ricardo Wurmus [Wed, 7 Jan 2015 16:47:37 +0000 (17:47 +0100)]
gnu: openjpeg: Update to 2.0.1.

* gnu/packages/image.scm (openjpeg): Update to 2.0.1.