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
宋文武
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