Commit Graph

5231 Commits

Author SHA1 Message Date
Ludovic Courtès 81a97734e0 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.
2015-01-17 23:45:48 +01:00
Jason Self 5db3719153 gnu: linux-libre: Update to 3.18.3
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.3.
2015-01-17 10:32:57 -08:00
Andreas Enge ca1071e1c3 gnu: rasqal: Update to 0.9.33.
* gnu/packages/rdf.scm (rasqal): Update to 0.9.33.
2015-01-17 18:47:03 +01:00
Andreas Enge f4ee08d85e gnu: raptor2: Update to 2.0.15.
* gnu/packages/rdf.scm (raptor2): Update to 2.0.15.
2015-01-17 18:14:48 +01:00
Ludovic Courtès 5660708895 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.
2015-01-17 17:05:54 +01:00
Ludovic Courtès 9decb18c0b guix archive: Remove unused -r/--root option.
* guix/scripts/archive.scm (%options): Remove -r/--root.
2015-01-17 16:52:49 +01:00
Ludovic Courtès 1d50699354 store: Remove unused variable.
* guix/store.scm (export-paths): Remove unused variable 's'.
2015-01-17 16:03:35 +01:00
Ludovic Courtès 5b3d863f00 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.
2015-01-17 15:59:00 +01:00
Ludovic Courtès 867d847305 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.
2015-01-17 14:53:54 +01:00
宋文武 c1b0c7d976 gnu: Add fvwm.
* gnu/packages/fvwm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-17 17:11:55 +08:00
Mark H Weaver 80650d7719 gnu: fontconfig: Propagate expat and freetype.
* gnu/packages/fontutils.scm (fontconfig)[inputs]: Move expat and freetype ...
  [propagated-inputs]: ... to here.
2015-01-17 00:53:24 -05:00
宋文武 622c8f0af2 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.
2015-01-17 12:24:20 +08:00
Andreas Enge f159735885 gnu: fontconfig: Update to 2.11.92.
* gnu/packages/fontutils.scm (fontconfig): Update to 2.11.92.
2015-01-16 23:55:42 +01:00
Ludovic Courtès 4ad2e76a14 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.
2015-01-16 21:24:52 +01:00
Ludovic Courtès e48977e755 gnu: e2fsck-static: Use really statically-linked executables.
* gnu/packages/linux.scm (e2fsprogs/static): New variable.
  (e2fsck/static): Use it in 'inputs'.
2015-01-16 21:11:55 +01:00
Ludovic Courtès f327b36edb gnu: Add CGAL.
* gnu/packages/graphics.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-16 21:11:55 +01:00
Ludovic Courtès 24004073f0 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".
2015-01-16 21:11:55 +01:00
Ludovic Courtès 8f4b1dfb77 gnu: Add Eigen.
* gnu/packages/algebra.scm (eigen): New variable.
2015-01-16 21:11:55 +01:00
Federico Beffa ae1ab9fe82 gnu: Add IPython.
* gnu/packages/python.scm (python-ipython, python2-ipython): New variable.
2015-01-16 17:51:47 +01:00
Mark H Weaver 2a666e9cfd 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.
2015-01-16 09:14:08 -05:00
Ludovic Courtès 57b7e1a62d Merge branch 'core-updates'
Conflicts:
	gnu/packages/bootstrap.scm
2015-01-16 13:27:03 +01:00
宋文武 72b703cdca gnu: add RetroArch.
* gnu/packages/games.scm (retroarch): New variable.
2015-01-16 19:58:56 +08:00
Mark H Weaver b01a0ba86e 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.
2015-01-15 20:27:57 -05:00
Ludovic Courtès aeb1a1d966 gnu: gdb: Update to 7.8.2.
* gnu/packages/gdb.scm (gdb): Update to 7.8.2.
2015-01-15 23:10:05 +01:00
Ludovic Courtès 63c5462236 gnu: nix: Update to 1.8.
* gnu/packages/package-management.scm (nix): Update to 1.8.
2015-01-15 23:10:05 +01:00
Ludovic Courtès ceae3fef44 gnu: plotutils: Do not propagate libXaw.
* gnu/packages/plotutils.scm (plotutils): Move LIBXAW from
  'propagated-inputs' to 'inputs'.  Add 'snippet'.
2015-01-15 23:10:05 +01:00
Ludovic Courtès 52958f0dfd gnu: mercurial: Update to 3.2.4.
* gnu/packages/version-control.scm (mercurial): Update to 3.2.4.
2015-01-15 23:10:05 +01:00
Mark H Weaver e478a9ecc2 gnu: teckit: Add alternate source URL.
Fixes <http://bugs.gnu.org/19600>.

* gnu/packages/fontutils.scm (teckit)[source]: Add Fedora mirror.
2015-01-15 13:47:02 -05:00
宋文武 2b2f91ad87 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.
2015-01-15 11:05:18 +08:00
Ludovic Courtès 9fdd80e8f2 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".
2015-01-14 21:14:14 +01:00
Ludovic Courtès 6ee01481c3 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'.
2015-01-14 19:40:58 +01:00
Ludovic Courtès df5188ddfa check-available-binaries: Use 'substitution-oracle'.
* build-aux/check-available-binaries.scm: Use 'substitution-oracle'.
  Changer caller and 'warn' accordingly.
2015-01-14 18:28:46 +01:00
Ludovic Courtès 619c9522b2 check-available-binaries: Use 'with-store'.
* build-aux/check-available-binaries.scm: Use 'with-store' instead of an
  explicit 'open-connection'.
2015-01-14 18:20:01 +01:00
Ludovic Courtès 58caebf032 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.
2015-01-14 17:05:10 +01:00
Ludovic Courtès f220a83848 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.
2015-01-14 14:42:10 +01:00
Mark H Weaver 54e612818b gnu: tre: Build a locale for the tests.
* gnu/packages/tre.scm (tre)[arguments]: Add 'install-locales' phase.
2015-01-14 08:41:47 -05:00
Ludovic Courtès 023d9892c0 store: Add 'store-lower'.
* guix/store.scm (store-lower): New procedure.
* tests/store.scm ("store-lower"): New test.
2015-01-14 14:25:58 +01:00
Ludovic Courtès e87f0591f3 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.
2015-01-14 13:34:52 +01:00
Ludovic Courtès 1ed194646b 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.
2015-01-14 11:22:51 +01:00
Mark H Weaver a0ba3fc520 gnu: guile-ncurses: Build a UTF-8 locale for the tests.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'install-locales'
  phase.
2015-01-13 20:37:57 -05:00
Ludovic Courtès 1c975f60b1 gnu: Add zerofree.
* gnu/packages/linux.scm (zerofree): New variable.
2015-01-13 22:20:12 +01:00
Ludovic Courtès 7c594a2c2f gnu: e2fsprogs: Install libext2fs.
* gnu/packages/linux.scm (e2fsprogs)[source]: Add 'snippet'.
  [arguments]: Add --enable-elf-shlibs to #:configure-flags.
  Add #:make-flags.
2015-01-13 22:14:30 +01:00
Mark H Weaver d585f244ce gnu: gnutls: Update to 3.2.21.
* gnu/packages/gnutls.scm (gnutls): Update to 3.2.21.
2015-01-13 15:14:23 -05:00
Mark H Weaver fe3711bcce gnu: openssl: Update to 1.0.1k.
* gnu/packages/openssl.scm (openssl): Update to 1.0.1k.
2015-01-13 14:58:07 -05:00
Ludovic Courtès 524f4becff gnu: Add GLEW.
* gnu/packages/gl.scm (glew): New variable.
2015-01-13 18:16:35 +01:00
Ludovic Courtès 7bed4df49a 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.
2015-01-13 18:16:35 +01:00
Ludovic Courtès be68177368 system: Add iw to '%base-packages'.
* gnu/system.scm (%base-packages): Add IW.
2015-01-13 18:16:35 +01:00
Ludovic Courtès fb9b7ce258 gnu: wireless-tools: Describe it as deprecated.
* gnu/packages/linux.scm (wireless-tools)[description]: Explain that it
  is deprecated in favor of 'iw'.
2015-01-13 18:16:35 +01:00
Ludovic Courtès 2e69dd8c1d gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update snapshot.
  Remove now-unneeded sub-module stuff in the 'bootstrap' phase.
2015-01-13 18:16:35 +01:00
Mark H Weaver a813710a5f Merge branch 'master' into core-updates 2015-01-13 12:14:08 -05:00