Commit Graph

5364 Commits

Author SHA1 Message Date
Ludovic Courtès c492be654b records: Factorize value wrapping in the record constructor.
* guix/records.scm (make-syntactic-constructor)[wrap-field-value]: New
  procedure.
  [field-bindings, field-value]: Use it.
2015-01-19 23:30:42 +01:00
Ludovic Courtès cf4efb394f records: Move 'make-syntactic-constructor' to the top level.
* guix/records.scm (make-syntactic-constructor): New procedure, formerly
  nested in 'define-record-type*'.
2015-01-19 23:30:42 +01:00
Ludovic Courtès 9b543456d7 records: Use keyword parameters for 'make-syntactic-constructor'.
* guix/records.scm (define-record-type*)[make-syntactic-constructor]:
  Turn THUNKED and DEFAULTS into keyword arguments.
  Adjust caller accordingly.  Declare 'thunked' and 'defaults' local
  variables.
2015-01-19 23:30:42 +01:00
Ludovic Courtès eb497b6616 gnu: Make libgnomeprint{,ui} as deprecated.
* gnu/packages/gnome.scm (libgnomeprint): Add comment and update
  'description' to mark it as deprecated.
  (libgnomeprintui): Ditto.
2015-01-19 23:30:42 +01:00
Ludovic Courtès 56b7a33873 gnu: Remove unneeded #:select.
* gnu/packages/fonts.scm: Remove #:select to work around
  <http://bugs.gnu.org/15540>.
2015-01-19 23:30:11 +01:00
Ludovic Courtès 00ebe4740a gnu: Move guile-charting to (gnu packages plotutils).
This removes the dependency from (gnu packages guile)
to (gnu packages gtk), which potentially reduces the memory/IO/CPU
footprint given that 'guile' is used during bootstrap.

* gnu/packages/guile.scm (guile-charting): Move to...
* gnu/packages/plotutils.scm (guile-charting): ... here.
2015-01-19 23:30:11 +01:00
Andreas Enge 109da1c082 gnu: Add json-glib.
* gnu/packages/gnome.scm (json-glib): New variable.
2015-01-19 23:05:58 +01:00
David Thompson 7d24363f09 gnu: tiled: Update to 0.11.0.
* gnu/packages/game-development.scm (tiled): Update.
2015-01-19 15:13:30 -05:00
David Thompson b0910aad2f gnu: tiled: Move to game-development module.
* gnu/packages/games.scm (tiled): Move from here...
* gnu/packages/game-development (tiled): ...to here.
2015-01-19 15:12:52 -05:00
Federico Beffa 7ed6ee1e34 gnu: vte: Add 'pre-build phase.
* gnu/packages/gnome.scm (vte): Add 'pre-build phase.
2015-01-19 18:04:12 +01:00
Ludovic Courtès c72aed6d8c gnu: emms: Let the build system install emms-print-metadata.1.
Reported by effa`` on #guix.

* gnu/packages/emacs.scm (emms)[arguments] <pre-install>: Remove
  'copy-file' invocation.
2015-01-19 16:37:05 +01:00
Ludovic Courtès d35c5e29b6 tests: Adjust syscall tests for 2.6ish Linux.
* tests/syscalls.scm ("set-network-interface-flags",
  "set-network-interface-address"): Accept EACCES as a valid result.
2015-01-19 15:44:12 +01:00
Ricardo Wurmus 510023184a gnu: Add CUPS.
* gnu/packages/cups.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-19 12:38:43 +01:00
Ricardo Wurmus 01aae5fcce gnu: Add IJS
* gnu/packages/ghostscript.scm (ijs): New variable.
2015-01-19 12:38:42 +01:00
Andreas Enge 7873318d30 gnu: Add telepathy-glib.
* gnu/packages/glib.scm (telepathy-glib): New variable.
2015-01-18 22:37:57 +01:00
Ludovic Courtès 71c1d5280c 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.
2015-01-18 22:19:04 +01:00
Ludovic Courtès aa27b56083 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.
2015-01-18 22:17:09 +01:00
Federico Beffa 0404c34cb7 gnu: gtkmm: Update to 3.14.0.
* gnu/packages/gtk.scm (gtkmm): Update to 3.14.0.
2015-01-18 20:07:59 +01:00
Federico Beffa 13c9acbfbd gnu: xorg-server: Disable parallel execution of tests.
* gnu/packages/xorg.scm (xorg-server): Set '#:parallel-tests?' to '#f'.
2015-01-18 19:48:35 +01:00
Federico Beffa dc67ebd226 gnu: librsvg: Update to 2.40.6 and add 'pre-build phase.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.6 and add 'pre-build phase.
2015-01-18 19:30:52 +01:00
Federico Beffa da6ce3f1b8 gnu: python-scipy: Update to 0.15.0.
* gnu/packages/python.scm (python-scipy): Update to 0.15.0.
2015-01-18 18:05:53 +01:00
Federico Beffa 3e6ccb5355 gnu: python-matplotlib: Update comments.
* gnu/packages/python.scm (python-matplotlib): Update comments as, with the
  patched 'gobject-introspection', setting LD_LIBRARY_PATH at run time is not
  anymore necessary.  It's still necessary at build time.
2015-01-18 18:05:53 +01:00
Federico Beffa a6035fc19a gnu: gtk+: Update to 3.14.7.
* gnu/packages/gtk.scm (gtk+): Update to 3.14.7.
2015-01-18 18:05:53 +01:00
Federico Beffa dfbc33dceb gnu: python-matplotlib: Remove python-pillow input.
* gnu/packages/python.scm (python-matplotlib): Remove python-pillow input as
  it currently is broken.
2015-01-18 18:05:53 +01:00
Federico Beffa 8597ab7d22 gnu: atk: Update to 2.15.3.
* gnu/packages/gtk.scm (atk): Update to 2.15.3.
2015-01-18 18:05:53 +01:00
Federico Beffa 31aa437987 gnu: eudev: Add pre-build phase.
* gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation with
  'gobject-introspection' 1.42.0.
2015-01-18 18:05:52 +01:00
Federico Beffa b6e5e1b738 gnu: eudev: Update to 2.1.1.
* gnu/packages/linux.scm (eudev): Update to 2.1.1.
2015-01-18 17:44:29 +01:00
Federico Beffa 5c88063614 gnu: gdk-pixbuf: Update to 2.31.1.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.31.1.
2015-01-18 17:44:29 +01:00
Federico Beffa dca1b58df1 gnu: pango: Update to 1.36.8.
* gnu/packages/gtk.scm (pango): Update to 1.36.8.
2015-01-18 17:44:29 +01:00
Federico Beffa 2474b81d96 gnu: gobject-introspection: Update to 1.42.0 and add new patch.
* gnu/packages/glib.scm (gobject-introspection): Update to version 1.42.0.
  Add patch 'gobject-introspection-absolute-shlib-path.patch' provided by Luca
  Bruno <lucabru@src.gnome.org> for Nix.
2015-01-18 17:44:29 +01:00
Ludovic Courtès 5808dcc27c store: Change 'store-lower' to preserve the original procedure's documentation.
* guix/store.scm (preserve-documentation): New procedure.
  (store-lift, store-lower): Use it.
2015-01-18 17:38:15 +01:00
Ludovic Courtès 561fb6c31f 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.
2015-01-17 23:45:48 +01:00
Ludovic Courtès 4e190c2803 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.
2015-01-17 23:45:48 +01:00
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