Ludovic Courtès
93d44bd8de
gnu: vm: `qemu-image' can copy store closures into the target image.
...
* gnu/system/vm.scm (qemu-image): Add #:inputs-to-copy and
#:boot-expression parameters. Honor them. Append INPUTS-TO-COPY to
the #:inputs argument for `expression->derivation-in-linux-vm'.
(example2): Add #:boot-expression and #:inputs-to-copy arguments.
2013-08-31 23:02:18 +02:00
Ludovic Courtès
4c0f0673b2
gnu: `expression->derivation-in-linux-vm' accepts files as inputs.
...
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Accept items
in INPUTS that refer to a file instead of a package.
2013-08-31 23:02:18 +02:00
Ludovic Courtès
ca85d7bcc6
gnu: `expression->derivation-in-linux-vm' export references graphs.
...
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
#:reference-graphs parameter. Honor it. Delete duplicates in
#:modules argument.
2013-08-31 23:02:18 +02:00
Ludovic Courtès
b48d21b246
gnu: linux-initrd: Make device nodes for QEMU's hard disk.
...
* gnu/packages/linux-initrd.scm (qemu-initrd): Make /dev/vda*.
2013-08-31 23:02:18 +02:00
Ludovic Courtès
89bf140b10
gnu: linux-initrd: Make Guile modules accessible in the chroot.
...
* gnu/packages/linux-initrd.scm (qemu-initrd): Add (guix build utils) to
#:modules, and use it. Copy .scm and .go files to /root.
* guix/build/linux-initrd.scm (bind-mount): New procedure.
2013-08-31 23:02:18 +02:00
Andreas Enge
1aebc0cb2c
gnu: python: Adapt native-search-paths for Python 3.3.
...
* gnu/packages/python.scm (python): Modify native-search-paths.
2013-08-31 18:43:17 +02:00
Andreas Enge
f26a77ffbc
gnu: Add Python 3.
...
* gnu/packages/python.scm (python-2): Rename from python for version 2.
* gnu/packages/python.scm (python): New variable for version 3.
2013-08-31 14:52:24 +02:00
Andreas Enge
91dcbafab9
gnu: Add yasm.
...
* gnu/packages/yasm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.
2013-08-31 14:12:24 +02:00
Andreas Enge
37f9ff639e
gnu: Add xmlto.
...
* gnu/packages/xml.scm (xmlto): New variable.
2013-08-31 13:47:46 +02:00
Andreas Enge
24b5c463f3
gnu: Add dbus-glib.
...
* gnu/packages/glib.scm (dbus-glib): New variable.
2013-08-31 12:46:08 +02:00
Andreas Enge
d9c4b6e944
gnu: pari-gp: Update to 2.5.4.
...
* gnu/packages/algebra.scm (pari-gp): Update to 2.5.4.
2013-08-31 12:20:55 +02:00
Andreas Enge
71e0f28856
gnu: gsl: Disable numerically unstable test on i686.
...
* gnu/packages/maths.scm (gsl): Disable test.
2013-08-31 12:18:53 +02:00
Andreas Enge
c8c871d184
doc: Stylistic changes to "Packaging Guidelines"
2013-08-31 00:02:00 +02:00
Ludovic Courtès
1a2e649561
doc: Add note about .dir-locals.el.
...
* HACKING (Coding Style): Mention special indentation rules and
.dir-locals.el.
2013-08-30 23:53:13 +02:00
Ludovic Courtès
e1c5a8357a
doc: Add a "Coding Style" section in 'HACKING'.
...
* HACKING (Coding Style): New section.
2013-08-30 23:47:23 +02:00
Ludovic Courtès
67b1dd8dea
doc: Remove "Adding new packages" from `HACKING'.
...
* HACKING (Adding new packages): Remove since it's now in the manual.
2013-08-30 23:47:22 +02:00
Nikita Karetnikov
a827c623ca
doc: Remove an extra space after @ref.
2013-08-30 16:35:32 +00:00
Ludovic Courtès
ffc1074f86
gnu: hop: Allow compilation with Bigloo 4.0b.
...
Fixes <http://bugs.gnu.org/15194 >.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/patches/hop-bigloo-4.0b.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (hop): Use it.
2013-08-30 14:18:51 +02:00
Andreas Enge
46cb9da285
doc: Add duplicate copyright notice again.
...
* doc/guix.texi: Add second copyright notice again inside @ifinfo, needed
since the first one does not appear in the info output.
Partially undoes commit da7cabd
.
2013-08-29 22:36:23 +02:00
Ludovic Courtès
29f66ddd7b
doc: Fix the image size in PDF/PS/DVI output.
...
* doc/guix.texi (Bootstrapping): Specify an image width for the TeX
output. Before that, the image would be much wider than the US Letter
page width.
2013-08-29 21:58:53 +02:00
Ludovic Courtès
54461ce7eb
build: Have `pdf' depend on the PDF image.
...
* doc.am (DOT_OPTIONS): Remove `-Tpng'.
(.dot.pdf): New rule.
(pdf-local): Depend on the .pdf.
2013-08-29 21:58:53 +02:00
Ludovic Courtès
cb9e50f618
build: Use `missing' for `dot'.
...
* configure.ac: Substitute `DOT'.
* doc.am (.dot.png, .dot.eps): Use $(DOT).
2013-08-29 21:58:53 +02:00
Ludovic Courtès
a9424c0887
build: Build docs from the top-level Makefile.
...
This undoes commit 575ed8d
("doc: Create own Makefile.am in subdirectory."),
and fixes a bug whereby "make pdf" or "make ps" wouldn't do anything.
* doc/Makefile.am: Remove.
* doc.am: New file. Use `-local' rules to build the image.
* Makefile.am: Include it.
* configure.ac: Use `-Woverride' to avoid undesired overridding of
Automake rules.
2013-08-29 21:58:52 +02:00
Andreas Enge
88bd1804a2
gnu: gsl: Move from module algebra to maths.
...
* gnu/packages/algebra.scm (gsl): Move variable from here...
* gnu/packages/maths.scm (gsl): ...to here.
2013-08-29 15:42:52 +02:00
Ludovic Courtès
88840f0246
gnu: linux-initrd: Add (guix build linux-initrd) and use it.
...
* gnu/packages/linux-initrd.scm (qemu-initrd): Add #:modules argument.
Factorize and move some of the code to...
* guix/build/linux-initrd.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
2013-08-29 00:05:03 +02:00
Ludovic Courtès
e47185a4a7
gnu: make-bootstrap: Remove the `debug' output from the static Coreutils.
...
* gnu/packages/make-bootstrap.scm (%static-inputs)[coreutils]: Add
`outputs' field.
2013-08-29 00:05:03 +02:00
Ludovic Courtès
f989fa392f
gnu: linux-initrd: Allow Guile modules to be embedded in the initrd.
...
* gnu/packages/linux-initrd.scm (raw-build-system): New macro.
(module-package, compiled-module-package): New procedures.
(expression->initrd): Add `modules' keyword parameter.
Add "modules" and "modules/compiled" inputs; copy them onto the
initrd.
* guix/derivations.scm (imported-modules, compiled-modules): Publicize.
2013-08-29 00:05:03 +02:00
Andreas Enge
f02b5474f1
gnu: imagemagick: Update to 6.8.6-9.
...
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.8.6-9.
2013-08-28 23:33:24 +02:00
Andreas Enge
ee85f3dbe9
doc: Add package guidelines for names and numbers.
...
* doc/guix.texi: Three new subsections.
2013-08-28 22:51:20 +02:00
Andreas Enge
da7cabd46b
doc: Shuffle some text around.
...
* doc/guix.texi: Drop duplicate copyright notice, start section
"Packaging Guidelines" with existant text.
2013-08-28 22:04:52 +02:00
Andreas Enge
575ed8d5b3
doc: Create own Makefile.am in subdirectory.
...
* doc/Makefile.am: New file.
* Makefile.am: Reference subdirectory doc.
2013-08-28 21:44:14 +02:00
Alex Sassmannshausen
3d1b29a5c5
list-packages: Tidy CSS in preparation for split into external file.
...
* build-aux/list-packages.scm (insert-css): Tidy CSS alignment etc.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-08-28 14:18:29 +02:00
Ludovic Courtès
2455085a1e
vm: Use more keyword parameters for `expression->derivation-in-linux-vm'.
...
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Turn `system'
and `inputs' into keyword parameters.
(qemu-image, example1): Adjust accordingly.
2013-08-28 00:55:40 +02:00
Ludovic Courtès
858e92823f
derivations: Rename #:dependency-graphs to #:references-graphs.
...
* guix/derivations.scm (derivation, build-expression->derivation):
Rename #:dependency-graphs to #:references-graphs, for consistency in
the terminology.
* tests/derivations.scm: Adjust accordingly.
2013-08-28 00:55:40 +02:00
Andreas Enge
af807dea7f
gnu: Update python to 2.7.5.
...
* gnu/packages/python.scm (python): Update to 2.7.5.
2013-08-27 10:49:43 +02:00
Ludovic Courtès
2d2ad98910
doc: Change `HACKING' to refer to guix-devel@gnu.org.
...
Reported by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.
* HACKING: Replace "bug-guix" by "guix-devel".
2013-08-26 22:23:53 +02:00
Ludovic Courtès
9c629a27a4
derivations: Add #:dependency-graphs to `build-expression->derivation'.
...
* guix/derivations.scm (build-expression->derivation): Add
#:dependency-graphs keyword argument. Pass it to `derivation'.
* tests/derivations.scm ("build-expression->derivation with
#:dependency-graphs"): New test.
* doc/guix.texi (Derivations): Update `build-expression->derivation'
description.
2013-08-26 22:20:58 +02:00
Ludovic Courtès
5b0c9d1635
derivations: Add #:dependency-graphs `derivation' parameter.
...
* guix/derivations.scm (derivation): Add `dependency-graphs' keyword
parameter; honor it.
* tests/derivations.scm (bootstrap-binary): New procedure.
(%bash): Use it.
(%mkdir): New variable.
(directory-contents): Add `slurp' optional parameter.
("derivation with #:dependency-graphs"): New test.
* doc/guix.texi (Derivations): Update accordingly.
2013-08-26 22:20:53 +02:00
Ludovic Courtès
a987d2c025
derivations: Move 3 positional parameters into keyword parameters.
...
* guix/derivations.scm (derivation): Turn `system', `env-vars', and
`inputs' into keyword parameters.
(build-expression->derivation): Adjust accordingly.
* gnu/packages/bootstrap.scm (%bootstrap-guile): Likewise.
* tests/derivations.scm, tests/store.scm: Likewise.
* doc/guix.texi (Derivations): Likewise.
2013-08-26 22:20:27 +02:00
Ludovic Courtès
3e9066fcfc
gnu: Add Guile-Lib.
...
* gnu/packages/guile.scm (guile-lib): New variable.
2013-08-26 16:04:15 +02:00
Ludovic Courtès
5d9cd70721
download: Add kernel.org mirrors.
...
Fixes <http://bugs.gnu.org/15182 >.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/download.scm (%mirrors)[kernel.org]: Add ftp.be.debian.org and
mirror.linux.org.au.
2013-08-25 20:49:03 +02:00
Ludovic Courtès
ef4eca529b
hydra: Comment out all Git invocations in `bootstrap'.
...
* build-aux/hydra/guix.scm (tarball-package): Comment out all `git'
invocations.
2013-08-25 20:37:59 +02:00
Ludovic Courtès
d29aa3b5a3
hydra: Add missing import.
...
* build-aux/hydra/guix.scm: Use (srfi srfi-26).
2013-08-25 18:58:15 +02:00
Ludovic Courtès
6ad507ae54
hydra: Return a symbol/thunk pair.
...
* build-aux/hydra/guix.scm (hydra-jobs): Return a symbol/thunk pair.
2013-08-25 16:48:10 +02:00
Ludovic Courtès
9eed6f9b88
gnu: pius: Use the right `gpg' binary.
...
* gnu/packages/gnupg.scm (pius): Add GnuPG as an input. Patch the
installed binaries to refer to the right GnuPG executable. Fix
synopsis.
2013-08-25 16:47:20 +02:00
Ludovic Courtès
f29f066439
hydra: Extract the actual file name from the Guix checkout.
...
* build-aux/hydra/guix.scm (hydra-jobs): Extract the `file-name' part of
CHECKOUT.
2013-08-24 18:24:17 +02:00
Ludovic Courtès
59e6ae6cf1
hydra: Add job to run "make distcheck" on Guix.
...
* build-aux/hydra/guix.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2013-08-24 17:30:32 +02:00
Ludovic Courtès
bbe8d8f028
gnu: Add Guix.
...
* gnu/packages/package-management.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2013-08-24 17:30:31 +02:00
Ludovic Courtès
fe12c3458c
build-system/gnu: Add `dist-package'.
...
* guix/build/gnu-dist.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/gnu.scm (%default-modules): New variable.
(gnu-build): Use it.
(dist-package): New procedure.
2013-08-24 17:30:31 +02:00
Ludovic Courtès
7357138bba
packages: Allow file names as package sources.
...
* guix/packages.scm (package-source-derivation): Add cases for SOURCE as
a store path or user file.
* tests/packages.scm ("package-source-derivation, file",
"package-source-derivation, store path"): New tests.
2013-08-24 17:30:31 +02:00