Nikita Karetnikov
84dbbc7651
doc: Add "Building from Git" to 'HACKING'.
2013-07-13 21:35:14 +00:00
Ludovic Courtès
2096b516e0
guix package: Fix handling of `-e'.
...
This fixes a bug whereby a command like
guix package -e '(@@ (gnu packages base) gnu-make-boot0)'
would only succeed when the outputs of that package are available, and
otherwise fail with "/nix/store/... is not valid".
* guix/scripts/package.scm (guix-package)[process-action](package->tuple):
Leave P as is in the result. Move `package->tuple' call from INSTALL*
to INSTALL.
2013-07-12 23:27:35 +02:00
Ludovic Courtès
e14c39291b
ui: Ignore SIGPIPE and catch `system-error' exceptions.
...
* guix/ui.scm (initialize-guix): Call `sigaction'.
(call-with-error-handling): Wrap `thunk' in a (catch 'system-error ...).
2013-07-12 23:01:18 +02:00
Ludovic Courtès
e3ccdf9e96
guix package: Reuse FTP connections for subsequent `latest-release' calls.
...
* guix/gnu-maintenance.scm (latest-release): Add `ftp-close' and
`ftp-open' keyword parameters.
* guix/scripts/package.scm (ftp-open*): New variable.
(check-package-freshness): Call `latest-release' with `ftp-open*' and
a no-op procedure.
2013-07-12 22:59:33 +02:00
Ludovic Courtès
1f495e04c1
gnu-maintenance: `latest-release' closes its connection.
...
* guix/gnu-maintenance.scm (latest-release): Close CONN before
returning.
2013-07-12 22:26:24 +02:00
Ludovic Courtès
8e5e7299d1
gnu: plotutils: Allow compilation with newer libpng.
...
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/patches/plotutils-libpng-jmpbuf.patch: New file.
* gnu/packages/plotutils.scm (plotutils): Add
`plotutils-libpng-jmpbuf.patch' as an input, and apply it.
2013-07-12 22:25:30 +02:00
Ludovic Courtès
f50ad3e777
gnu: freeipmi: Upgrade to 1.2.8.
...
* gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.2.8.
2013-07-12 01:05:27 +02:00
Ludovic Courtès
d4781e8c23
gnu: libidn: Upgrade to 1.28.
...
* gnu/packages/libidn.scm (libidn): Upgrade to 1.28.
2013-07-12 01:05:06 +02:00
Ludovic Courtès
e0bb2e6be1
gnu: gnupg: Upgrade support libraries.
...
* gnu/packages/gnupg.scm (libgpg-error): Upgrade to 1.12.
(libassuan): Upgrade to 2.1.1.
2013-07-12 01:04:32 +02:00
Ludovic Courtès
ce689ccf18
substitute-binary: Directly replace the global `regexp-exec'.
...
* guix/scripts/substitute-binary.scm (%regexp-exec-mutex, string->uri):
Remove.
(regexp-exec): Replace this global binding by a thread-safety wrapper.
(fields->alist): Remove `with-mutex', and directly alias `recutils->alist'.
2013-07-11 22:42:41 +02:00
Ludovic Courtès
6a012c5f51
gnu: help2man: Upgrade to 1.43.3.
...
* gnu/packages/help2man.scm (help2man): Upgrade to 1.43.3.
2013-07-11 22:30:46 +02:00
Ludovic Courtès
d934fd65af
gnu: xorriso: Upgrade to 1.3.0.
...
* gnu/packages/cdrom.scm (xorriso): Upgrade to 1.3.0.
2013-07-11 22:30:13 +02:00
Ludovic Courtès
8b79e2e641
substitute-binary: Increase the default timeout.
...
* guix/scripts/substitute-binary.scm (%fetch-timeout): Set to 5 seconds.
2013-07-11 22:22:22 +02:00
Ludovic Courtès
35935b8a1d
gnu: automake: Upgrade to 1.14.
...
* gnu/packages/autotools.scm (automake): Upgrade to 1.14.
2013-07-11 22:21:47 +02:00
Ludovic Courtès
560d4787f4
guix refresh: Keep only the newest versions of packages as upgrade candidates.
...
* guix/scripts/refresh.scm (guix-refresh)[keep-newest]: New procedure.
Use it to keep only once copy of each package.
2013-07-11 19:56:30 +02:00
Ludovic Courtès
d04434c067
list-packages: Show the package logo, when available.
...
* build-aux/list-packages.scm (lookup-gnu-package): New procedure.
(package->sxml): Add the package logo, when available, next to the
description.
2013-07-10 23:16:07 +02:00
Ludovic Courtès
6a3380dfbf
Update eo.po.
2013-07-10 22:34:05 +02:00
Ludovic Courtès
c4ca9411f9
gnu-maintenance: Add `doc-description' field to <gnu-package-descriptor>.
...
* guix/gnu-maintenance.scm (%gsrc-package-list-url): New variable.
(<gnu-package-descriptor>): Add `doc-description' field.
(official-gnu-packages)[group-package-fields]: Rename to...
[read-records]: ... this. Reverse the result.
[gsrc-description]: New procedure.
Add the "description" field to the alist passed to `alist->record'.
2013-07-10 22:34:03 +02:00
Ludovic Courtès
836d10f154
records: recutils->alist' recognizes lines starting with a
+'.
...
* guix/records.scm (%recutils-plus-rx): New variable.
(recutils->alist): Use it to read + lines.
* tests/records.scm ("recutils->alist with + lines"): New test.
2013-07-10 21:53:29 +02:00
Ludovic Courtès
b0efe83a8f
gnu-maintenance: Use `recutils->alist'.
...
* guix/gnu-maintenance.scm (official-gnu-packages)[group-package-fields]:
Rewrite in terms of `recutils->alist'. Remove `state' parameter.
Specify "doc-url" and "language" as multiple-value keys in the
`alist->record' call.
2013-07-10 21:52:55 +02:00
Ludovic Courtès
c8772a7a21
records: `alist->record' supports multiple-field occurrences.
...
* guix/records.scm (alist->record): Add `multiple-value-keys'
parameter. Update docstring, and honor it.
* tests/records.scm ("alist->record"): New record.
2013-07-10 21:52:51 +02:00
Ludovic Courtès
b7b8828801
records: `recutils->alist' recognizes comments.
...
* guix/records.scm (%recutils-comment-rx): New variable.
(recutils->alist): Match comments.
* tests/records.scm ("recutils->alist"): Add comments.
2013-07-10 18:01:12 +02:00
Ludovic Courtès
fdc1bf659d
records: Add `recutils->alist' for public consumption.
...
* guix/records.scm (%recutils-field-rx): New variable.
(recutils->alist): New procedure, formerly known as `fields->alist'.
* guix/scripts/substitute-binary.scm (fields->alist): Use it.
* tests/records.scm ("recutils->alist"): New test.
2013-07-10 17:01:08 +02:00
Ludovic Courtès
c0edcc3c19
gnu: libpng: Upgrade to 1.5.17.
...
* gnu/packages/libpng.scm (libpng): Upgrade to 1.5.17.
2013-07-10 15:55:39 +02:00
Ludovic Courtès
edd258fd6b
list-packages: Write out the HTML page as UTF-8.
...
* build-aux/list-packages.scm (list-packages): Install the "C" locale.
Write out as UTF-8.
2013-07-10 11:52:35 +02:00
Ludovic Courtès
03aedf8d7a
tests: Fix guix-package.sh in the presence of multiple-output `make'.
...
* tests/guix-package.sh: For $boot_make_drv, take only the "out" output.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
2013-07-10 01:00:19 +02:00
Ludovic Courtès
b592f7113e
Add `build-aux/list-packages.scm'.
...
* build-aux/list-packages.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2013-07-10 00:27:53 +02:00
Ludovic Courtès
c769406010
Merge branch 'core-updates'
2013-07-09 22:17:18 +02:00
Ludovic Courtès
91ef73d464
doc: Add "Installing Debugging Files".
...
* doc/guix.texi (Installing Debugging Files): New node.
(Packages with Multiple Outputs): Add cross-reference.
2013-07-09 00:24:54 +02:00
Ludovic Courtès
6e721c4d02
doc: Add "Packages with Multiple Outputs" section.
...
* doc/guix.texi (Packages with Multiple Outputs): New node.
(Invoking guix package): Refer to it.
2013-07-08 23:49:43 +02:00
Ludovic Courtès
ee48b283fa
tests: Adjust `package-field-location' test for Guile <= 2.0.6.
...
* tests/packages.scm ("package-field-location"): Check the result of
`read-at' against both VALUE and (FIELD VALUE).
Reported by Matthew Lien - 練喆明" <bluet@bluet.org>.
2013-07-08 22:53:31 +02:00
Ludovic Courtès
caddc24fa4
build: Set the umask to 0022 before running the daemon for tests.
...
* test-env.in: Run "umask 0022" before running the daemon.
Reported by Matthew Lien - 練喆明 <bluet@bluet.org>
2013-07-08 22:43:53 +02:00
Ludovic Courtès
4ca0cefd1b
build: Set the umask to 0022 before running the daemon for tests.
...
* test-env.in: Run "umask 0022" before running the daemon.
Reported by Matthew Lien - 練喆明 <bluet@bluet.org>
2013-07-08 22:37:02 +02:00
Ludovic Courtès
2c9143a1f3
gnu: gettext: Upgrade to 0.18.3.
...
* gnu/packages/gettext.scm (gettext): Upgrade to 0.18.3.
Remove patch. Change `patch-tests' phase to use (which "sh'); keep it
regardless of whether we're cross compiling.
2013-07-08 00:13:15 +02:00
Ludovic Courtès
acf428dd0b
gnu: tzdata: Upgrade to 2013d.
...
* gnu/packages/base.scm (tzdata): Upgrade to 2013d.
2013-07-07 23:40:36 +02:00
Ludovic Courtès
b208a00501
doc: Move the packaging guidelines to the manual.
...
* HACKING (Packaging Guidelines): Remove.
* doc/guix.texi (Packaging Guidelines): New node.
2013-07-07 23:26:31 +02:00
Ludovic Courtès
8b315a6dd5
doc: Add a "Porting" section.
...
* HACKING (Porting the Guix distro on a new platform): Remove.
* doc/guix.texi (Porting): New node. Describe cross-compilation as the
only approach.
2013-07-07 01:03:03 +02:00
Ludovic Courtès
401c53c469
doc: Add a "Boostrapping" section.
...
* doc/guix.texi (Package Modules): New node, with material formerly
under "GNU Distribution".
(Bootstrapping): New node.
* Makefile.am (EXTRA_DIST): Add doc/images/bootstrap-graph.dot and
doc/images/bootstrap-graph.eps.
(infoimagedir, dist_infoimage_DATA, DOT_OPTIONS): New variable.
(.dot.png, .dot.eps, doc/guix.pdf, doc/guix.info, doc/guix.ps): New
targets.
* doc/images/bootstrap-graph.dot: New file.
2013-07-07 00:29:50 +02:00
Ludovic Courtès
c8ebc82187
gnu: gcc: Add Texinfo to the native inputs.
...
* gnu/packages/gcc.scm (gcc-4.7): Add `native-inputs' field.
(gcc-4.8): Remove outdated comment.
* gnu/packages/base.scm (gcc-boot0): Add `native-inputs' field.
2013-07-06 18:08:29 +02:00
Ludovic Courtès
b97556d75c
build: Bail out on unsupported platforms; add `--with-courage'.
...
* m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): New macro.
* configure.ac: Use it.
2013-07-05 21:54:52 +02:00
Ludovic Courtès
3a4ebc1124
gnu: make-bootstrap: guile-static-stripped has no "debug" output.
...
* gnu/packages/make-bootstrap.scm (%guile-static-stripped): Add
`outputs' field.
2013-07-05 14:39:47 +02:00
Ludovic Courtès
eb25a30a42
build: Correctly determine the system type for non-Linux systems.
...
* m4/guix.m4 (GUIX_SYSTEM_TYPE): Find `sed'. Fix sed pattern in the
non-Linux case.
2013-07-05 14:14:21 +02:00
Ludovic Courtès
8c95b27ce6
store: Deal with unsupported `setsockopt' operation on GNU/Hurd.
...
* guix/store.scm (open-connection): Silently ignore ENOPROTOOPT on
`setsockopt' calls, for the sake of GNU/Hurd.
Reported by Matthew Lien <bluet@bluet.org> at
<http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00020.html >.
2013-07-04 22:49:00 +02:00
Ludovic Courtès
5363abb776
daemon: Make argp usage compatible with libc on GNU/Hurd.
...
* nix/nix-daemon/guix-daemon.cc (parse_opt): Cast return value to
`error_t' for the sake of GNU/Hurd.
Reported by Matthew Lien <bluet@bluet.org> at
<http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00002.html >.
2013-07-04 22:46:26 +02:00
Ludovic Courtès
a1c39ede7d
Import (guix hash) in build-aux/download.scm.
...
* build-aux/download.scm: Import (guix hash).
Reported by Matthew Lien <bluet@bluet.org>.
2013-07-04 13:44:24 +02:00
Ludovic Courtès
82f9b17687
build-system/gnu: Remove the "debug" output when `strip-binaries?' is #f.
...
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Delete "debug"
from OUTPUTS when STRIP-BINARIES? is false.
* gnu/packages/cross-base.scm (cross-libc): Leave `outputs' unchanged.
This reverts commit a4627d4
.
2013-07-04 13:26:35 +02:00
Ludovic Courtès
a4627d498a
gnu: cross-libc: Remove the "debug" output.
...
* gnu/packages/cross-base.scm (cross-libc): Remove "debug" from the
`outputs' field.
2013-07-04 11:08:28 +02:00
Ludovic Courtès
9bf62d9b1d
gnu: Add a "debug" output for some packages.
...
* gnu/packages/base.scm (coreutils, gnu-make, glibc): Add a "debug" output.
* gnu/packages/bdw-gc.scm (libgc): Likewise.
* gnu/packages/guile.scm (guile-2.0): Likewise.
* gnu/packages/libffi.scm (libffi): Likewise.
* gnu/packages/multiprecision.scm (gmp, mpfr, mpc): Likewise.
2013-07-03 23:55:04 +02:00
Ludovic Courtès
be58d01a7e
build-system/gnu: Write debug files to the "debug" sub-derivation, if any.
...
* guix/build/gnu-build-system.scm (strip): Add `objcopy-command' keyword
parameter.
[debug-output, debug-file-extension]: New variables.
[debug-file, make-debug-file, add-debug-link]: New procedures.
[strip-dir]: Use them.
2013-07-03 23:53:31 +02:00
Ludovic Courtès
d475b25953
utils: Re-export alist-cons' and
alist-delete'.
...
* guix/build/utils.scm: Re-export `alist-cons' and `alist-delete'.
2013-07-03 23:08:41 +02:00