Commit Graph

6176 Commits

Author SHA1 Message Date
Ludovic Courtès 6c030d1037 gnu: perf: Add dependency on Python.
* gnu/packages/linux.scm (perf)[inputs]: Add PYTHON-2.
2015-01-21 15:16:10 +01:00
Federico Beffa 58d32305b6 gnu: libpeas: Update to 1.12.1, add 'pre-build phase.
* gnu/packages/gnome.scm (libpeas): Update to version 1.12.1 and add
  'pre-build phase.
2015-01-21 13:44:47 +01:00
Andreas Enge 2dfed643aa gnu: Register patches for installation.
* gnu-system.am (dist_patch_DATA): Add patches for aegis, clucene,
    libcanberra and lua-5.1.
2015-01-20 23:25:12 +01:00
Andreas Enge 4bb49be2c2 gnu: Add python-rdflib.
* gnu/packages/rdf.scm (python-rdflib): New variable.
2015-01-20 22:44:44 +01:00
Andreas Enge 673ab897a3 gnu: Add python-html5lib.
* gnu/packages/python.scm (python-html5lib, python2-html5lib): New variables.
2015-01-20 22:42:28 +01:00
Ludovic Courtès 1a0965045b guix package: Avoid spurious warnings from 'find-files'.
Reported by Andreas Enge <andreas@enge.fr>.

* guix/scripts/package.scm (with-null-error-port): New macro.
  (search-path-environment-variables): Wrap 'search-path-as-list' call
  in 'with-null-error-port'.
2015-01-20 22:29:17 +01:00
Andreas Enge 03411993a8 gnu: Add python-isodate.
* gnu/packages/python.scm (python-isodate, python2-isodate): New variables.
2015-01-20 22:16:58 +01:00
Ludovic Courtès 28561d85da build: Make sure only the local .go files are loaded during compilation.
Reported by Andreas Enge <andreas@enge.fr>
at <http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00272.html>.

* Makefile.am (.scm.go): Add "unset GUILE_LOAD_COMPILED_PATH".
2015-01-20 14:55:06 +01:00
Ludovic Courtès dbab5150f8 gnu: 'search-patch' raises an error when a patch is not found.
* gnu/packages.scm (search-patch): Raise an error condition when
  'search-path' returns #f.
* tests/packages.scm ("patch not found yields a run-time error"): New
  test.
2015-01-20 10:17:24 +01:00
Ludovic Courtès 6b1f9721a8 packages: Mark the 'patches' field as delayed.
* guix/packages.scm (<origin>)[patches]: Mark as 'delayed'.
  (print-origin, origin->derivation): Add call to 'force' when accessing
  'patches'.
2015-01-20 09:59:56 +01:00
Ludovic Courtès 310b32a2a6 records: Add support for delayed fields.
* guix/records.scm (make-syntactic-constructor): Add #:delayed
  parameter.
  [delayed-field?]: New procedure.
  [wrap-field-value]: Use it.
  (define-record-type*)[delayed-field?, wrapped-field?]: New procedures.
  [thunked-field-accessor-name]: Rename to...
  [wrapped-field-accessor-name]: ... this.
  [field-spec->srfi-9]: Change 'thunked' to 'wrapped'.
  [delayed-field-accessor-definition]: New procedure.
  Compute delayed-field accessors and emit them.  Pass #:delayed to
  'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & delayed",
  "define-record-type* & delayed & default",
  "define-record-type* & delayed & inherited"): New tests.
2015-01-19 23:30:42 +01:00
Ludovic Courtès 0db40ed289 make-syntactic-constructor kwarg default 2015-01-19 23:30:42 +01:00
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