Commit Graph

4970 Commits (fbb020451ea25896936a5fba966612b59c0bcdf3)

Author SHA1 Message Date
Joshua S. Grant fbb020451e gnu: Add convenience macros to make module imports more concise.
* gnu.scm (use-package-modules, use-service-modules,
  use-system-modules): New macros.
2015-01-22 17:01:01 +01:00
Ludovic Courtès 3698f524d5 store: Change 'run-with-store' to return a single value.
* guix/store.scm (run-with-store): Wrap 'run-with-state' in
  'call-with-values'.  Return only the first value.
2015-01-21 23:18:57 +01:00
Ludovic Courtès a101c891e1 gnu: libtool: Update to 2.4.5.
* gnu/packages/autotools.scm (libtool): Update to 2.4.5.
  (libltdl): Adjust 'version' and 'source' to remain at 2.4.4.
2015-01-21 23:18:57 +01:00
Andreas Enge ca8343b5ac gnu: phonon: Shuffle inputs.
* gnu/packages/kde.scm (phonon): Move automoc to native-inputs and qt to
    propagated inputs.
2015-01-21 23:12:34 +01:00
Andreas Enge 898da0cc4c gnu: phonon: Update to 4.8.3.
* gnu/packages/kde.scm (phonon): Update to 4.8.3.
2015-01-21 22:55:27 +01:00
Ludovic Courtès 2af29d239b gnu: perf: Install libraries to lib/ instead of lib64/.
* gnu/packages/linux.scm (perf)[arguments]: Add "lib=lib" to
  #:make-flags.
2015-01-21 15:16:11 +01:00
Ludovic Courtès b1fb4b2371 gnu: perf: Build the interactive TUI.
* gnu/packages/linux.scm (perf)[inputs]: Add SLANG.
2015-01-21 15:16:10 +01:00
Ludovic Courtès e9257d377a gnu: Add S-Lang.
* gnu/packages/slang.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-01-21 15:16:10 +01:00
Ludovic Courtès d7ece67af0 gnu: perf: Build the documentation.
* gnu/packages/linux.scm (perf)[inputs]: Uncomment documentation inputs.
2015-01-21 15:16:10 +01:00
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
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
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
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