Ludovic Courtès [Sun, 10 Feb 2013 16:01:47 +0000 (17:01 +0100)]
gnu: Add description and license for QEMU-KVM.
* gnu/packages/qemu.scm (qemu-kvm): Add description and license.
Ludovic Courtès [Sun, 10 Feb 2013 15:51:46 +0000 (16:51 +0100)]
gnu: Add libcddb, GNU libcdio, and GNU xorriso.
* gnu/packages/cdrom.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Sat, 9 Feb 2013 18:09:35 +0000 (19:09 +0100)]
gnu: Add QEMU-KVM.
* gnu/packages/qemu.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Fri, 8 Feb 2013 23:05:24 +0000 (00:05 +0100)]
build: Run `guild compile' under the C locale.
* Makefile.am (.scm.go): Set LC_ALL=C.
Nikita Karetnikov [Thu, 7 Feb 2013 09:07:27 +0000 (09:07 +0000)]
gnu: Add GNU Smalltalk.
* gnu/packages/smalltalk.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Fri, 8 Feb 2013 17:03:36 +0000 (18:03 +0100)]
build-system/gnu: Clarify docstring of `package-with-extra-configure-variable'.
* guix/build-system/gnu.scm (package-with-extra-configure-variable): Add
"recursively" in the docstring.
Ludovic Courtès [Fri, 8 Feb 2013 16:38:57 +0000 (17:38 +0100)]
gnu: hop: Add `patch-rpath' phase.
* gnu/packages/scheme.scm (hop): Add `patch-rpath' phase.
Ludovic Courtès [Fri, 8 Feb 2013 14:44:24 +0000 (15:44 +0100)]
gnu: Add PatchELF.
* gnu/packages/patchelf.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Fri, 8 Feb 2013 13:39:58 +0000 (14:39 +0100)]
gnu: Add Hop.
* gnu/packages/scheme.scm (hop): New variable.
Ludovic Courtès [Fri, 8 Feb 2013 13:39:28 +0000 (14:39 +0100)]
gnu: bigloo: Propagate GMP.
* gnu/packages/scheme.scm (bigloo): Propagate GMP.
Ludovic Courtès [Thu, 7 Feb 2013 23:15:48 +0000 (00:15 +0100)]
gnu: Add GNU mcron.
* gnu/packages/guile.scm (mcron): New variable.
Ludovic Courtès [Thu, 7 Feb 2013 23:15:26 +0000 (00:15 +0100)]
gnu: guile-1.8: Patch `ice-9/popen.scm'.
* gnu/packages/guile.scm (guile-1.8): Rename `patch-loader-search-path'
to `patch-stuff'; patch `ice-9/popen.scm'.
Ludovic Courtès [Thu, 7 Feb 2013 22:55:16 +0000 (23:55 +0100)]
doc: Document installation of propagated inputs.
* doc/guix.texi (Invoking guix-package): Document installation behavior
with propagated inputs.
Ludovic Courtès [Thu, 7 Feb 2013 22:47:32 +0000 (23:47 +0100)]
gnu: ed: Update to 1.6.
* gnu/packages/ed.scm (ed): Update to 1.6.
Ludovic Courtès [Thu, 7 Feb 2013 22:46:23 +0000 (23:46 +0100)]
gnu: ed: Patch /bin/sh in the test suite.
* gnu/packages/ed.scm (ed): Add `patch-test-suite' phase.
Ludovic Courtès [Wed, 6 Feb 2013 22:01:04 +0000 (23:01 +0100)]
guix-package: Install propagated inputs.
* guix-package.in (profile-manifest): Return "version 1" manifests.
(manifest-packages): Likewise. When MANIFEST is "version 0", add
'() as the list of "propagated inputs" of each package.
(profile-derivation): Produce "version 1" manifests. Pass each
PACKAGES item's propagated inputs as an input for BUILDER.
(input->name+path): New procedure.
(guix-package)[find-package]: Add the transitive propagated inputs of
each selected package as the last item of the tuple.
[canonicalize-deps]: New procedure.
[process-actions]: Adjust to support propagated inputs as the last item.
[process-query]: Likewise.
Ludovic Courtès [Wed, 6 Feb 2013 21:52:50 +0000 (22:52 +0100)]
union: Don't warn when colliding leaves point to the same file.
* guix/build/union.scm (union-build)[resolve-collision]: Pass LEAVES
through `delete-duplicates'; warn iff the result contains more than
one item.
Ludovic Courtès [Wed, 6 Feb 2013 21:51:24 +0000 (22:51 +0100)]
union: Delete duplicates when passed the same input several times.
* guix/build/union.scm (union-build): Prepend "." to the result of
`union-tree', to match the expectations of `delete-duplicate-leaves'.
Don't do mkdir when SUBDIR is ".".
* tests/union.scm ("union-build"): Keep duplicates in %BOOTSTRAP-INPUTS.
Ludovic Courtès [Wed, 6 Feb 2013 15:31:39 +0000 (16:31 +0100)]
guix-package: Test installation of packages by name.
* tests/guix-package.sh: Remove `boot_guile'. Replace occurrences of
$boot_guile by the `guile-bootstrap' package name.
Ludovic Courtès [Wed, 6 Feb 2013 15:30:15 +0000 (16:30 +0100)]
build: `chmod +x' scripts as they are generated.
* configure.ac: Add the `chmod +x' as a second argument to
`AC_CONFIG_FILES'. Remove `AC_CONFIG_COMMANDS' invocation.
Andreas Enge [Wed, 6 Feb 2013 21:47:58 +0000 (22:47 +0100)]
gnu: Add libmp3splt and mp3splt.
* gnu/packages/mp3.scm (libmp3split, mp3splt): New variables.
Ludovic Courtès [Wed, 6 Feb 2013 14:25:08 +0000 (15:25 +0100)]
gnu: make-bootstrap: Fix `%binutils-static-stripped'.
* gnu/packages/make-bootstrap.scm (%binutils-static-stripped): Add
distinguishing `name' field. Add `output' field to have a single
"out" output (followup to
4873f8e). Reported by Nikita.
Andreas Enge [Tue, 5 Feb 2013 23:01:44 +0000 (00:01 +0100)]
gnu: Add TeXLive.
* gnu/packages/texlive.scm: New file.
* Makefile.am (MODULES): Add it.
Andreas Enge [Tue, 5 Feb 2013 22:01:14 +0000 (23:01 +0100)]
licenses: Add new meta-license fsf-free.
* guix/licenses.scm (fsf-free): New record with constructor.
Ludovic Courtès [Tue, 5 Feb 2013 21:36:48 +0000 (22:36 +0100)]
gnu: Have MPFR and MPC propagate their input.
* gnu/packages/multiprecision.scm (mpfr): Change GMP to a propagated input.
(mpc): Likewise for GMP and MPFR.
Reported by Andreas Enge <andreas@enge.fr>.
Andreas Enge [Tue, 5 Feb 2013 22:41:38 +0000 (23:41 +0100)]
gnu: Add PCRE (Perl Compatible Regular Expression).
* gnu/packages/pcre.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Mon, 4 Feb 2013 22:10:48 +0000 (23:10 +0100)]
Thank Lluís and Daniel.
Ludovic Courtès [Mon, 4 Feb 2013 13:00:46 +0000 (14:00 +0100)]
gnu: Add GNU Guile-Ncurses.
* gnu/packages/guile.scm (guile-ncurses): New variable.
Andreas Enge [Fri, 1 Feb 2013 23:13:08 +0000 (00:13 +0100)]
gnu: Add libid3tag.
* gnu/packages/mp3 (libid3tag): New variable.
Andreas Enge [Fri, 1 Feb 2013 23:03:37 +0000 (00:03 +0100)]
gnu: Add libmad.
* gnu/packages/mp3.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Sun, 3 Feb 2013 22:24:25 +0000 (23:24 +0100)]
store: Add substitute-related procedures.
* guix/store.scm (has-substitutes?, substitutable-paths,
read-substitutable-path-list, substitutable-path-info): New
procedures.
(<substitutable>): New record type.
(read-arg): Add `substitutable-path-info'. Change `hash' pattern
variable to `base16' literal.
* tests/store.scm ("no substitutes"): New test.
Ludovic Courtès [Sun, 3 Feb 2013 22:02:14 +0000 (23:02 +0100)]
store: Update to protocol 1.12.
* guix/store.scm (%protocol-version): Bump.
(operation-id): Comment out `query-substitutable-path-info'.
Rename `query-valid-paths' to `query-all-valid-paths'. Add
`query-path-from-hash-part', `query-substitutable-path-infos',
`query-valid-paths', and `query-substitutable-paths'.
(set-build-options): Add `binary-caches' keyword parameter. When
using a server >= 1.12, send the list of binary caches.
(query-path-hash): Use the `store-path' type, for clarity.
Ludovic Courtès [Sun, 3 Feb 2013 22:25:01 +0000 (23:25 +0100)]
SRFI-64: Make the log file's port line-buffered.
* srfi/srfi-64.upstream.scm (test-on-group-begin-simple): Make LOG-FILE
line-buffered.
Ludovic Courtès [Sun, 3 Feb 2013 22:23:29 +0000 (23:23 +0100)]
tests: Fix thinko in `derivation' test.
* tests/derivations.scm ("derivation with local file as input"): Return
a Boolean instead of a bytevector. Don't attempt to compare the
content of the result with that of the input.
Ludovic Courtès [Sun, 3 Feb 2013 21:57:58 +0000 (22:57 +0100)]
store: Write string length as a 32-bit integer.
* guix/store.scm (write-string): Write L as a 32-bit integer. Bug
introduced in
82c38fe64c84fc3febcc5c5aa7fe86454ccaf456 ("store:
Micro-optimize `write-string'.")
Nikita Karetnikov [Fri, 1 Feb 2013 16:11:29 +0000 (16:11 +0000)]
gnu: Add GNU Prolog.
* gnu/packages/gprolog.scm: New file.
* Makefile.am (MODULES): Add it.
Andreas Enge [Fri, 1 Feb 2013 22:23:08 +0000 (23:23 +0100)]
gnu: Add libxslt.
* gnu/packages/xml.scm (libxslt): New variable.
Ludovic Courtès [Fri, 1 Feb 2013 11:57:06 +0000 (12:57 +0100)]
gnu: Fix invalid `license' fields.
* gnu/packages/acl.scm (acl): Change `license' field to refer to the
`license' objects.
* gnu/packages/attr.scm (attr): Likewise.
* gnu/packages/compression.scm (xz): Likewise.
* gnu/packages/global.scm (global): Likewise.
* gnu/packages/linux.scm (linux-libre-headers): Likewise.
Ludovic Courtès [Fri, 1 Feb 2013 11:52:35 +0000 (12:52 +0100)]
guix-package: Make `--search' queries case-insensitive.
* guix-package.in (guix-package)[process-query]: Use `regexp/icase' for
the `search' regexp.
Ludovic Courtès [Fri, 1 Feb 2013 11:48:02 +0000 (12:48 +0100)]
Augment `.dir-locals.el'.
* .dir-locals.el: Add more Scheme settings.
* guix-build.in, tests/base32.scm, tests/build-utils.scm,
tests/builders.scm, tests/derivations.scm, tests/packages.scm,
tests/snix.scm, tests/store.scm, tests/union.scm, tests/utils.scm:
Remove redundant Emacs local variable settings.
Ludovic Courtès [Fri, 1 Feb 2013 12:16:27 +0000 (13:16 +0100)]
guix-package: Report `--search' matches in recutils format.
* guix/ui.scm (fill-paragraph, string->recutils, package->recutils): New
procedures.
* guix-package.in (guix-package)[process-query]: Use `package->recutils'
to display package meta-data.
* tests/guix-package.sh: Adjust test.
* tests/ui.scm: New file.
* Makefile.am (TESTS): Add it.
* doc/guix.texi (Invoking guix-package): Adjust `--search'
documentation, and give an example.
Ludovic Courtès [Fri, 1 Feb 2013 08:17:35 +0000 (09:17 +0100)]
guix-package: Gracefully report non-existing outputs.
* guix-package.in (guix-package)[find-package](ensure-output): New
procedure. Use it to validate SUB-DRV.
Ludovic Courtès [Thu, 31 Jan 2013 22:24:10 +0000 (23:24 +0100)]
guix-package: Reduce start-up time for queries.
* guix-package.in (guix-package): Call `open-connection' and
`package-derivation' only after `process-query' has returned.
Andreas Enge [Thu, 31 Jan 2013 21:47:25 +0000 (22:47 +0100)]
gnu: Add libkate.
* gnu/packages/oggvorbis.scm (libkate): New variable.
* gnu/packages/oggvorbis.scm (vorbis-tools): Add input libkate.
Andreas Enge [Thu, 31 Jan 2013 21:18:47 +0000 (22:18 +0100)]
gnu: Add flac.
* gnu/packages/oggvorbis.scm (flac): New variable.
* gnu/packages/oggvorbis.scm (vorbis-tools): Add flac input.
* gnu/packages/patches/flac-fix-memcmp-not-declared.patch: New file.
Ludovic Courtès [Thu, 31 Jan 2013 16:49:44 +0000 (17:49 +0100)]
gnu: bigloo: Update tarball's hash.
* gnu/packages/scheme.scm (bigloo): Change hash. The tarball was
recently modified in-place (!).
Ludovic Courtès [Thu, 31 Jan 2013 13:05:10 +0000 (14:05 +0100)]
store: Don't expect build logs to be UTF-8-encoded.
* guix/store.scm (read-latin1-string): New procedure.
(process-stderr): Use it instead of `read-string'.
Reported by Andreas Enge <andreas@enge.fr>.
Andreas Enge [Wed, 30 Jan 2013 22:46:39 +0000 (23:46 +0100)]
gnu: vorbis-tools: Enable ogg123.
* gnu/packages/oggvorbis.scm (vorbis-tools): Add inputs ao and curl.
Andreas Enge [Wed, 30 Jan 2013 22:32:13 +0000 (23:32 +0100)]
gnu: Add libao.
* gnu/packages/oggvorbis.scm (ao): New variable.
Andreas Enge [Wed, 30 Jan 2013 20:48:57 +0000 (21:48 +0100)]
gnu: Add curl.
* gnu/packages/curl.scm: New file.
* Makefile.am (MODULES): Add it.
Andreas Enge [Wed, 30 Jan 2013 20:31:50 +0000 (21:31 +0100)]
gnu: Add openssh.
* gnu/packages/ssh.cm (openssh): New variable.
Ludovic Courtès [Wed, 30 Jan 2013 17:59:12 +0000 (18:59 +0100)]
.dir-locals.el: Fill at 78 columns.
Ludovic Courtès [Wed, 30 Jan 2013 17:56:20 +0000 (18:56 +0100)]
derivations: Memoize `read-derivation'.
* guix/derivations.scm (read-derivation): Rename to...
(%read-derivation): ... this.
(read-derivation): New procedure.
This reduces the execution of "guix-build gdb" from 2.5s to 1.7s.
Ludovic Courtès [Wed, 30 Jan 2013 16:05:54 +0000 (17:05 +0100)]
store: Slightly improve memoization hashing.
* guix/store.scm (open-connection): Call `make-hash-table' with 100.
(add-text-to-store): Move TEXT first in ARGS, for better `hash'
results.
(add-to-store): Likewise, move ST first.
Ludovic Courtès [Wed, 30 Jan 2013 15:30:49 +0000 (16:30 +0100)]
store: Remove the `fixed?' parameter from `add-to-store'.
* guix/store.scm (add-to-store): Remove the `fixed?' parameter from the
public interface.
* gnu/packages/bootstrap.scm, guix-download.in, guix/derivations.scm,
guix/packages.scm, tests/derivations.scm: Update all callers
accordingly.
Ludovic Courtès [Wed, 30 Jan 2013 15:22:33 +0000 (16:22 +0100)]
store: Avoid use of `set!'.
* guix/store.scm (operation): New macro.
(define-operation): Define in terms of `operation'.
(add-text-to-store): Define using `operation', and remove now
unnecessary `set!'.
(add-to-store): Likewise.
(add-text-to-store/cached, add-to-store/cached): Remove.
Ludovic Courtès [Tue, 29 Jan 2013 23:37:26 +0000 (00:37 +0100)]
store: Micro-optimize `write-string'.
* guix/store.scm (write-string): Optimize to write the length, contents,
and padding all at once. This yields a 2% improvement on the
execution time of "guix-build gdb".
Ludovic Courtès [Tue, 29 Jan 2013 22:59:27 +0000 (23:59 +0100)]
Gracefully handle failure to install the current locale.
* guix/ui.scm (install-locale): New procedure.
* guix-build.in, guix-download.in, guix-gc.in, guix-import.in,
guix-package.in: Use it instead of (setlocale LC_ALL "").
Ludovic Courtès [Tue, 29 Jan 2013 22:53:09 +0000 (23:53 +0100)]
store: Cache `add-text-to-store' results.
* guix/store.scm (<nix-server>)[atts-cache]: New field.
(add-text-to-store/cached): New procedure. Use it as a wrapper around
`add-text-to-store'.
When running "guix-build gdb", this reduces the number of RPCs from
3048 to 289, and execution time from 4.7s to 2.6s.
Ludovic Courtès [Tue, 29 Jan 2013 22:34:50 +0000 (23:34 +0100)]
store: Make the `add-to-store' cache per-connection.
* guix/store.scm (<nix-server>)[ats-cache]: New field.
(open-connection): Update accordingly.
(add-to-store/cached): Use (nix-server-add-to-store-cache SERVER)
instead of a weak hash table.
Andreas Enge [Tue, 29 Jan 2013 22:02:22 +0000 (23:02 +0100)]
gnu: Add libssh2.
* gnu/packages/ssh.scm: New file.
* Makefile.am (MODULES): Add it.
Andreas Enge [Sat, 26 Jan 2013 19:31:37 +0000 (20:31 +0100)]
gnu: Add openldap.
* gnu/packages/openldap.scm: New file.
* Makefile.am (MODULE): Add it.
Ludovic Courtès [Mon, 28 Jan 2013 23:16:18 +0000 (00:16 +0100)]
store: Make `add-to-store' memoizing.
* guix/store.scm (add-to-store/cached): New variable.
Use it as the new `add-to-store'.
This reduces the number of RPCs when doing "guix-build gdb" from 5009
to 3053, and the execution time from 7s to 3.9s.
Ludovic Courtès [Mon, 28 Jan 2013 21:48:15 +0000 (22:48 +0100)]
gnu: gdb: Update to 7.5.1.
* gnu/packages/gdb.scm (gdb): Update to 7.5.1.
Ludovic Courtès [Mon, 28 Jan 2013 20:26:00 +0000 (21:26 +0100)]
build: Require Automake 1.12 or later.
* configure.ac: Require Automake 1.12 or later.
Nikita Karetnikov [Mon, 28 Jan 2013 07:13:19 +0000 (07:13 +0000)]
Update 'TODO'.
Nikita Karetnikov [Mon, 28 Jan 2013 06:29:10 +0000 (06:29 +0000)]
guix-package: Add '--search'.
* guix-package.in (find-packages-by-description): New procedure.
(show-help, %options): Add '--search'.
(guix-package)[process-query]: Add support for '--search'.
* doc/guix.texi (Invoking guix-package): Document it.
* tests/guix-package.sh: Add tests.
Ludovic Courtès [Sun, 27 Jan 2013 21:52:21 +0000 (22:52 +0100)]
gnu: automake: Update to 1.13.1.
* gnu/packages/autotools.scm (automake): Update to 1.13.1.
Ludovic Courtès [Sun, 27 Jan 2013 21:35:33 +0000 (22:35 +0100)]
gnu: autoconf-wrapper: Fix "guile" input.
* gnu/packages/autotools.scm (autoconf-wrapper): Remove `lambda' for
"guile" input..
Ludovic Courtès [Sun, 27 Jan 2013 16:58:46 +0000 (17:58 +0100)]
guix-package: Always use the next number for new generations.
Suggested by Andreas Enge <andreas@enge.fr> at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00325.html>.
* guix-package.in (latest-profile-number): Remove.
(switch-symlinks): New procedure.
(roll-back)[switch-link]: Use it.
(guix-package)[process-actions]: Always choose NUMBER + 1 for the new
profile. Use `switch-symlinks' instead of `symlink'. Remove code to
delete PROFILE when it exists since `switch-symlinks' has the same
effect.
* tests/guix-package.sh: Adjust existing `--roll-back' tests.
* doc/guix.texi (Invoking guix-package): Document this `--roll-back'
behavior.
Ludovic Courtès [Sun, 27 Jan 2013 16:18:55 +0000 (17:18 +0100)]
guix-package: When rolling back to nothingness, point to the empty profile.
Suggested by Andreas Enge <andreas@enge.fr> at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00316.html>.
* guix-package.in (roll-back): Check whether PROFILE is valid using
`file-exists?'. When NUMBER is zero, just emit a notice. When
PREVIOUS-NUMBER is zero and PREVIOUS-PROFILE does not exist, build the
empty profile, and link to it.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix-package): Document the new behavior.
Ludovic Courtès [Sat, 26 Jan 2013 23:59:04 +0000 (00:59 +0100)]
Update `TODO'.
Ludovic Courtès [Sat, 26 Jan 2013 23:55:51 +0000 (00:55 +0100)]
Update `AUTHORS' and `THANKS'.
Ludovic Courtès [Sat, 26 Jan 2013 23:55:37 +0000 (00:55 +0100)]
gnu: python: Remove unnecessary module import.
* gnu/packages/python.scm: Remove use of (gnu packages base).
Cyril Roelandt [Sat, 26 Jan 2013 20:06:05 +0000 (21:06 +0100)]
gnu: Add irssi.
* gnu/packages/irssi.scm: New file.
* Makefile.am (MODULES): Add it.
Andreas Enge [Sat, 26 Jan 2013 13:24:06 +0000 (14:24 +0100)]
gnu: Add zip, unzip and zziplib.
* gnu/packages/zip.scm: New file.
* Makefile.am (MODULES): Add it.
Andreas Enge [Fri, 25 Jan 2013 23:43:03 +0000 (00:43 +0100)]
gnu: Add TECkit.
* gnu/packages/freetype.scm (teckit): New variable.
* gnu/packages/patches/teckit-cstdio.patch: New file.
* Makefile.am (dist_patch_DATA): Add patch.
Ludovic Courtès [Fri, 25 Jan 2013 20:50:32 +0000 (21:50 +0100)]
gnu: Use `mirror://apache' where applicable.
* gnu/packages/libapr.scm (libapr, libaprutil): Use `mirror://apache'.
* gnu/packages/subversion.scm (subversion): Likewise.
Ludovic Courtès [Fri, 25 Jan 2013 20:49:49 +0000 (21:49 +0100)]
download: Add Apache mirrors.
* guix/download.scm (%mirrors): Add `apache'.
Cyril Roelandt [Fri, 25 Jan 2013 19:42:52 +0000 (20:42 +0100)]
gnu: Add Subversion.
* gnu/packages/subversion.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Fri, 25 Jan 2013 20:36:56 +0000 (21:36 +0100)]
gnu: Add SQLite.
* gnu/packages/sqlite.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Fri, 25 Jan 2013 20:36:26 +0000 (21:36 +0100)]
download: Follow HTTP redirection upon 301 "moved permanently".
* guix/build/download.scm (http-fetch): Follow redirections upon 301.
This is what `downloads.sourceforge.net' returns, for instance.
Cyril Roelandt [Fri, 25 Jan 2013 19:42:50 +0000 (20:42 +0100)]
gnu: Add libaprutil.
* gnu/packages/libapr: new variable.
Cyril Roelandt [Fri, 25 Jan 2013 19:42:49 +0000 (20:42 +0100)]
gnu: Add libapr.
* gnu/packages/libapr.scm: New file.
* gnu/packages/patches/libapr-skip-getservbyname-test.patch: New file
* Makefile.am: Add them
Andreas Enge [Fri, 25 Jan 2013 09:50:30 +0000 (10:50 +0100)]
gnu: fplll: Update to version 4.0.2.
* gnu/packages/algebra.scm (fplll): Update to version 4.0.2.
Andreas Enge [Thu, 24 Jan 2013 22:02:38 +0000 (23:02 +0100)]
gnu: Add poppler.
* gnu/packages/pdf.scm: New file.
* Makefile.am (MODULES): Add it.
Ludovic Courtès [Thu, 24 Jan 2013 22:33:30 +0000 (23:33 +0100)]
packages: Mark the `inputs' field of <package> as thunked.
* guix/packages.scm (<package>)[inputs]: Mark as thunked.
(package-derivation)[expand-input]: Remove case where the input is a
procedure.
* tests/packages.scm ("trivial with system-dependent input"): Remove
`lambda', and use (%current-system).
* gnu/packages/bootstrap.scm (package-from-tarball): Likewise for `inputs'.
(%bootstrap-glibc, %bootstrap-gcc): Likewise.
* gnu/packages/scheme.scm (mit-scheme): Likewise.
Ludovic Courtès [Thu, 24 Jan 2013 21:00:54 +0000 (22:00 +0100)]
guix-package: Error out when passed a non-option argument.
* guix-package.in (guix-package)[parse-options]: Call `leave' when
passed a non-option argument.
Reported by Andreas Enge <andreas@enge.fr>.
* tests/guix-package.sh: Add test.
Andreas Enge [Wed, 23 Jan 2013 21:56:04 +0000 (22:56 +0100)]
gnu: Add t1lib.
* gnu/packages/freetype.scm (t1lib): New variable.
Cyril Roelandt [Wed, 23 Jan 2013 20:16:22 +0000 (21:16 +0100)]
gnu: Add OCaml. licenses: Add QPL.
* gnu/packages/ocaml.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/licenses.scm: New variable.
Ludovic Courtès [Wed, 23 Jan 2013 22:21:59 +0000 (23:21 +0100)]
packages: Mark the `arguments' field of <package> as thunked.
* guix/packages.scm (<package>): Mark `arguments' as thunked.
(package-derivation): Adjust accordingly. Parameterize
%CURRENT-SYSTEM to SYSTEM, so that arguments can refer to it.
* guix/build-system/gnu.scm (package-with-explicit-inputs): Expect
`package-arguments' to always return a list, and return a list.
(package-with-extra-configure-variable): Likewise.
(static-package): Likewise.
* gnu/packages/base.scm (patch, findutils, gcc-4.7, binutils-boot0,
gcc-boot0, glibc-final-with-bootstrap-bash, cross-gcc-wrapper,
static-bash-for-glibc, binutils-final, gcc-final): Change `arguments'
from a lambda to a list, and use (%current-system) as needed.
(nix-system->gnu-triplet, boot-triplet): Have the first argument
default to (%current-system).
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Have `system'
default to (%current-system).
(%bootstrap-gcc): Change `arguments' to a list.
* gnu/packages/gawk.scm (gawk): Likewise.
* gnu/packages/m4.scm (m4): Likewise.
* gnu/packages/make-bootstrap.scm (%glibc-for-bootstrap): Likewise, and
expect `package-arguments' to return a list.
(%static-inputs, %gcc-static, tarball-package): Likewise.
* gnu/packages/ncurses.scm (ncurses): Likewise.
Ludovic Courtès [Wed, 23 Jan 2013 22:08:29 +0000 (23:08 +0100)]
guix-build: Fix typo.
* guix-build.in (guix-build)[find-package]: Use `x', not `_', to avoid
confusion with `gettext'.
Ludovic Courtès [Wed, 23 Jan 2013 21:47:39 +0000 (22:47 +0100)]
gnu: Remove unnecessary closures around `arguments' value.
* gnu/packages/algebra.scm (pari-gp): Remove closure around the value of
`arguments'.
* gnu/packages/bdb.scm (bdb): Likewise.
* gnu/packages/mit-krb5.scm (mit-krb5): Likewise.
* gnu/packages/openssl.scm (openssl): Likewise.
* gnu/packages/perl.scm (perl): Likewise.
Ludovic Courtès [Wed, 23 Jan 2013 21:24:47 +0000 (22:24 +0100)]
define-record-type*: Add the `thunked' field definition keyword.
* guix/utils.scm (define-record-type*)[make-syntactic-constructor]: Add
a `thunked' parameter.
(thunked-field?, field-bindings): New procedures. Use the latter when
generating `letrec*' bindings.
[thunked-field?, thunked-field-accessor-name, field-spec->srfi-9,
thunked-field-accessor-name]: New procedures.
Use them when generating the `define-record-type' form, and to
generated thunk field accessors, along call to
`make-syntactic-constructor' with the new argument.
* tests/utils.scm ("define-record-type* & thunked",
"define-record-type* & thunked & default",
"define-record-type* & thunked & inherited"): New tests.
Ludovic Courtès [Wed, 23 Jan 2013 15:45:36 +0000 (16:45 +0100)]
doc: Clarify that `guix-build' really is for developers.
* doc/guix.texi (Invoking guix-build): Make it clear that `guix-build'
doesn't access the user's profile, and add cross-ref to `guix-package'.
Suggested by Nikita Karetnikov <nikita@karetnikov.org>.
Andreas Enge [Wed, 23 Jan 2013 20:10:26 +0000 (21:10 +0100)]
gnu: Add fontconfig.
* gnu/packages/freetype.scm (fontconfig): New variable.
Andreas Enge [Mon, 21 Jan 2013 21:27:34 +0000 (22:27 +0100)]
gnu: libjpeg: Correct name of libjpeg-8 package to allow installation.
* gnu/packages/libjpeg (libjpeg-8): Switch name field to "libjpeg".
Ludovic Courtès [Wed, 23 Jan 2013 14:36:11 +0000 (15:36 +0100)]
Update `THANKS'.
Ludovic Courtès [Wed, 23 Jan 2013 14:35:36 +0000 (15:35 +0100)]
doc: Improve wording and fix typos in "Features".
* doc/guix.texi (Features): Fix typos, and rephrase according to the
suggestions of Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.
Andreas Enge [Tue, 22 Jan 2013 22:48:08 +0000 (23:48 +0100)]
gnu: ghostscript: Build and install shared library and header files.
* gnu/packages/ghostscript (ghostscript): Extend build and install phases.