guix:guix.git
4 years agognu: Move helper code to (gnu system …) modules.
Ludovic Courtès [Wed, 11 Sep 2013 20:36:50 +0000 (22:36 +0200)]
gnu: Move helper code to (gnu system …) modules.

* gnu/packages/grub.scm (<menu-entry>, grub-configuration-file): Move
  to...
* gnu/system/grub.scm: ... here.  New file.
* gnu/packages/linux.scm (<pam-service>, <pam-entry>,
  pam-service->configuration, pam-service->directory,
  %pam-other-services, unix-pam-service): Move to...
* gnu/system/linux.scm: ... here.  New file.
* gnu/system/vm.scm (passwd-file): Move to...
* gnu/system/shadow.scm: ... here.  New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add
  gnu/system/{grub,linux,shadow}.scm.

4 years agognu: vm: Remove potluck hacks.
Ludovic Courtès [Wed, 11 Sep 2013 18:08:53 +0000 (20:08 +0200)]
gnu: vm: Remove potluck hacks.

* gnu/system/vm.scm (example1): Remove.
  (example2): Rename to...
  (system-qemu-image): ... this.  Add 'store' parameter, and remove call
  to 'open-connection'.

4 years agognu: vm: Setup PAM.
Ludovic Courtès [Tue, 10 Sep 2013 23:07:07 +0000 (01:07 +0200)]
gnu: vm: Setup PAM.

* gnu/system/vm.scm (example2): Use 'pam-services->directory'.  Change
  POPULATE to create /etc/pam.d, /etc/login.defs, and /var/run.  Change
  BOOT to spawn syslogd; boot to Bash.  Add inputs.

4 years agognu: vm: Create shadow files with the right format.
Ludovic Courtès [Tue, 10 Sep 2013 22:54:20 +0000 (00:54 +0200)]
gnu: vm: Create shadow files with the right format.

* gnu/system/vm.scm (passwd-file): When SHADOW? is true, use the right
  shadow(5) format.  Always add a trailing newline.

4 years agolinux-initrd: Create /dev/klog and /dev/kmsg.
Ludovic Courtès [Tue, 10 Sep 2013 22:52:36 +0000 (00:52 +0200)]
linux-initrd: Create /dev/klog and /dev/kmsg.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  /dev/klog and /dev/kmsg.

4 years agognu: linux-initrd: Fix typo.
Ludovic Courtès [Tue, 10 Sep 2013 22:51:31 +0000 (00:51 +0200)]
gnu: linux-initrd: Fix typo.

* gnu/packages/linux-initrd.scm (gnu-system-initrd): Add missing
  argument to 'format' call.

4 years agognu: linux-pam: Add declarative PAM service interface.
Ludovic Courtès [Tue, 10 Sep 2013 22:22:45 +0000 (00:22 +0200)]
gnu: linux-pam: Add declarative PAM service interface.

* gnu/packages/linux.scm (<pam-service>, <pam-entry>): New record
  types.
  (pam-service->configuration, pam-services->directory,
  unix-pam-service): New procedures.
  (%pam-other-services): New variable.

4 years agostore: The 'references' parameter of 'add-text-to-store' is now optional.
Ludovic Courtès [Tue, 10 Sep 2013 20:36:41 +0000 (22:36 +0200)]
store: The 'references' parameter of 'add-text-to-store' is now optional.

* guix/store.scm (add-text-to-store): Make 'references' optional.
* tests/store.scm ("dead-paths", "references"): Use 'add-text-to-store'
  with no optional argument.
* doc/guix.texi (The Store): Adjust accordingly.

4 years agognu: isl: Update urls.
Andreas Enge [Tue, 10 Sep 2013 17:05:43 +0000 (19:05 +0200)]
gnu: isl: Update urls.

* gnu/packages/gcc.scm (isl): Update source and home page url.

4 years agognu: vm: Copy /etc/shadow to the guest.
Ludovic Courtès [Mon, 9 Sep 2013 19:52:14 +0000 (21:52 +0200)]
gnu: vm: Copy /etc/shadow to the guest.

* gnu/system/vm.scm (example2): Add SHADOW to #:inputs-to-copy.

4 years agognu: vm: Create valid /etc/shadow and /etc/passwd.
Ludovic Courtès [Sun, 8 Sep 2013 21:52:03 +0000 (23:52 +0200)]
gnu: vm: Create valid /etc/shadow and /etc/passwd.

* gnu/system/vm.scm (/etc/passwd): Rename to...
  (passwd-file): ... this. Add 'shadow?' keyword parameter.  Change
  format of ACCOUNTS, and fix CONTENTS.
  (example2): Adjust accordingly.  Create both /etc/shadow and
  /etc/passwd, the latter being used by getpwnam(3) & co. when nscd is
  not running.

4 years agognu: vm: Clear timestamps on the imported files, like in the store.
Ludovic Courtès [Sun, 8 Sep 2013 20:45:30 +0000 (22:45 +0200)]
gnu: vm: Clear timestamps on the imported files, like in the store.

* gnu/system/vm.scm (qemu-image): Clear timestamps on the copied files.

4 years agohydra: Support a 'subset' argument.
Ludovic Courtès [Sun, 8 Sep 2013 10:10:25 +0000 (12:10 +0200)]
hydra: Support a 'subset' argument.

* build-aux/hydra/gnu-system.scm (%core-packages): New variable.
  (%packages-to-cross-build): Make an alias for %CORE-PACKAGES.
  (hydra-jobs): Check for the 'subset' argument, and honor it for values
  "all" and "core".

4 years agognu: linux-libre: Upgrade to 3.11.
Ludovic Courtès [Sat, 7 Sep 2013 23:30:54 +0000 (01:30 +0200)]
gnu: linux-libre: Upgrade to 3.11.

* gnu/packages/linux.scm (linux-libre): Upgrade to 3.11.  Add bc as an
  input.

4 years agognu: grub: Add support for building configuration files.
Ludovic Courtès [Sat, 7 Sep 2013 15:23:23 +0000 (17:23 +0200)]
gnu: grub: Add support for building configuration files.

* gnu/packages/grub.scm (<menu-entry>): New record type.
  (grub-configuration-file): New procedure.
* gnu/system/vm.scm (qemu-image): Remove parameters 'linux',
  'linux-arguments', and 'initrd'.  Add 'grub-configuration' parameter.
  Honor them, and remove grub.cfg generation code accordingly.
  (example2): Use `grub-configuration-file', and adjust accordingly.

4 years agodoc: Add "Data Types and Pattern Matching" to the Coding Style.
Ludovic Courtès [Sat, 7 Sep 2013 13:51:29 +0000 (15:51 +0200)]
doc: Add "Data Types and Pattern Matching" to the Coding Style.

* HACKING (Data Types and Pattern Matching): New section.

4 years agognu: Add the 'license:' prefix.
Nikita Karetnikov [Sat, 7 Sep 2013 07:44:57 +0000 (07:44 +0000)]
gnu: Add the 'license:' prefix.

* gnu/packages/glib.scm (itstool): Change 'gpl3+' to 'license:gpl3+'.

4 years agognu: Add itstool.
Cyril Roelandt [Wed, 4 Sep 2013 17:21:38 +0000 (19:21 +0200)]
gnu: Add itstool.

* gnu/packages/glib.scm (itstool): New variable.

4 years agognu: vm: Add /etc/shadow in the QEMU image.
Ludovic Courtès [Thu, 5 Sep 2013 21:57:40 +0000 (23:57 +0200)]
gnu: vm: Add /etc/shadow in the QEMU image.

* gnu/system/vm.scm (qemu-image): Add 'populate' keyword parameter and
  honor it; make it an input.
  (/etc/shadow): New procedure.
  (example2): Call it; build 'populate' script, and pass it to
  'qemu-image'.

4 years agognu: vm: Remove unused 'qemu-image' argument.
Ludovic Courtès [Thu, 5 Sep 2013 20:14:21 +0000 (22:14 +0200)]
gnu: vm: Remove unused 'qemu-image' argument.

* gnu/system/vm.scm (qemu-image): Remove 'boot-expression' parameter,
  superseded by 'linux-arguments'.

4 years agognu: vm: First stab at building a populated QEMU image.
Ludovic Courtès [Wed, 4 Sep 2013 22:45:53 +0000 (00:45 +0200)]
gnu: vm: First stab at building a populated QEMU image.

* gnu/packages/linux-initrd.scm (gnu-system-initrd): New variable.
* gnu/system/vm.scm (qemu-image): Add #:linux-arguments parameter.
  [input->name+derivation]: Add case for 'store-path?' items.
  Remove LOADER from `inputs'.

4 years agognu: linux-initrd: Fix creation of /dev/tty nodes.
Ludovic Courtès [Wed, 4 Sep 2013 21:22:34 +0000 (23:22 +0200)]
gnu: linux-initrd: Fix creation of /dev/tty nodes.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  /dev/tty.  Change from 'block-special' to 'char-special' for /dev/tty*
  nodes.

4 years agognu: vm: 'qemu-image' populates /dev on the target root file system.
Ludovic Courtès [Wed, 4 Sep 2013 21:21:37 +0000 (23:21 +0200)]
gnu: vm: 'qemu-image' populates /dev on the target root file system.

* gnu/system/vm.scm (qemu-image): Use (guix build linux-initrd).  Remove
  'mknod' calls; use 'make-essential-device-nodes' to populate /dev on
  the target image.
* gnu/packages/linux-initrd.scm (qemu-initrd): When /root/dev exists,
  don't call 'make-essential-device-nodes'.

4 years agognu: xorg: Update comment for mesa.
Andreas Enge [Wed, 4 Sep 2013 16:02:58 +0000 (18:02 +0200)]
gnu: xorg: Update comment for mesa.

* gnu/packages/xorg.scm (mesa): New compilation trial with 9.2.

4 years agognu: libdrm: Update to 2.4.46.
Andreas Enge [Wed, 4 Sep 2013 09:16:22 +0000 (11:16 +0200)]
gnu: libdrm: Update to 2.4.46.

* gnu/packages/xorg.scm (libdrm): Update to 2.4.46.

4 years agohydra: Add Graphviz as an input to the "tarball" job.
Ludovic Courtès [Tue, 3 Sep 2013 20:21:48 +0000 (22:21 +0200)]
hydra: Add Graphviz as an input to the "tarball" job.

* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ to
  `native-inputs'.

4 years agohydra: Add Git as an input to the "tarball" job.
Ludovic Courtès [Tue, 3 Sep 2013 20:07:21 +0000 (22:07 +0200)]
hydra: Add Git as an input to the "tarball" job.

* build-aux/hydra/guix.scm (tarball-package): Add `native-inputs' field.

4 years agopull: Compile files in the lexicographic order.
Ludovic Courtès [Tue, 3 Sep 2013 08:48:52 +0000 (10:48 +0200)]
pull: Compile files in the lexicographic order.

* guix/scripts/pull.scm (unpack): Print the name of the file being
  compiled.  Sort the names of files to compile.

4 years agobuild-system/cmake: Fix typo.
Ludovic Courtès [Tue, 3 Sep 2013 08:20:59 +0000 (10:20 +0200)]
build-system/cmake: Fix typo.

* guix/build-system/cmake.scm (default-cmake): Add missing quote.

4 years agobuild-system/gnu: Delay resolution of (@ (gnu packages cmake) cmake).
Ludovic Courtès [Tue, 3 Sep 2013 08:18:38 +0000 (10:18 +0200)]
build-system/gnu: Delay resolution of (@ (gnu packages cmake) cmake).

* guix/build-system/cmake.scm (default-cmake): New procedure.
  (cmake-build): Use it.

4 years agosubstitute-binary: Show the Nar size, when available.
Ludovic Courtès [Mon, 2 Sep 2013 21:30:07 +0000 (23:30 +0200)]
substitute-binary: Show the Nar size, when available.

* guix/scripts/substitute-binary.scm (guix-substitute-binary)["--substitute"]:
  Show the Nar size, when available.
* guix/ui.scm (show-what-to-build): Add 'TODO'.

4 years agounion: Don't traverse sub-directories only found in one element of the union.
Ludovic Courtès [Mon, 2 Sep 2013 21:03:03 +0000 (23:03 +0200)]
union: Don't traverse sub-directories only found in one element of the union.

This significantly reduces I/O when building profiles, especially with
lots of package-specific sub-directories (such as 'share/emacs/24.3',
'texmf', etc.)

* guix/build/union.scm (union-build)[file-tree](others-have-it?): New
  procedure.  Use it in the 'enter?' parameter of 'file-system-fold';
  change 'skip' parameter accordingly.
* tests/union.scm ("union-build"): Ensure that 'include' is a symlink
  and 'bin' is a directory.

4 years agognu: lzo: Build the shared library.
Ludovic Courtès [Mon, 2 Sep 2013 20:27:23 +0000 (22:27 +0200)]
gnu: lzo: Build the shared library.

* gnu/packages/compression.scm (lzo): Build the shared library.

4 years agognu: Add dfc.
Cyril Roelandt [Sun, 1 Sep 2013 17:42:00 +0000 (19:42 +0200)]
gnu: Add dfc.

* gnu/packages/system.scm (dfc): New variable.

4 years agognu: Add htop.
Cyril Roelandt [Fri, 30 Aug 2013 19:19:56 +0000 (21:19 +0200)]
gnu: Add htop.

* gnu/packages/system.scm (htop): New variable.

4 years agognu: Add mingetty.
Ludovic Courtès [Sun, 1 Sep 2013 21:13:00 +0000 (23:13 +0200)]
gnu: Add mingetty.

* gnu/packages/system.scm (mingetty): New variable.

4 years agostore: Add a printer for <nix-server>.
Ludovic Courtès [Sun, 1 Sep 2013 17:24:21 +0000 (19:24 +0200)]
store: Add a printer for <nix-server>.

* guix/store.scm (<nix-server>): Set a printer.

4 years agognu: linux-initrd: Factorize device node creation.
Ludovic Courtès [Sun, 1 Sep 2013 21:13:56 +0000 (23:13 +0200)]
gnu: linux-initrd: Factorize device node creation.

* guix/build/linux-initrd.scm (make-essential-device-nodes): New
  procedure.
* gnu/packages/linux-initrd.scm (qemu-initrd): Use it.

4 years agognu: Add git.
Andreas Enge [Sun, 1 Sep 2013 19:56:57 +0000 (21:56 +0200)]
gnu: Add git.

* gnu/packages/version-control.scm (git): New variable.

4 years agognu: cairo: Update to 1.12.16.
Andreas Enge [Sun, 1 Sep 2013 16:21:08 +0000 (18:21 +0200)]
gnu: cairo: Update to 1.12.16.

* gnu/packages/gtk.scm (cairo): Update to 1.12.16.

4 years agognu: Update harfbuzz to 0.9.20.
Andreas Enge [Sun, 1 Sep 2013 16:13:48 +0000 (18:13 +0200)]
gnu: Update harfbuzz to 0.9.20.

* gnu/packages/gtk.scm (harfbuzz): Update to 0.9.20.

4 years agognu: python: Temporarily make python 2 the default.
Andreas Enge [Sun, 1 Sep 2013 15:46:49 +0000 (17:46 +0200)]
gnu: python: Temporarily make python 2 the default.

* gnu/packages/python.scm (python-2): Rename this to...
* gnu/packages/python.scm (python): ...this, rename this to...
* gnu/packages/python.scm (python-3): ...this. Reverts to version 2 as the
  default input for packages requiring Python.

4 years agognu: vm: `qemu-image' can copy store closures into the target image.
Ludovic Courtès [Sat, 31 Aug 2013 21:01:56 +0000 (23:01 +0200)]
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.

4 years agognu: `expression->derivation-in-linux-vm' accepts files as inputs.
Ludovic Courtès [Sat, 31 Aug 2013 20:56:16 +0000 (22:56 +0200)]
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.

4 years agognu: `expression->derivation-in-linux-vm' export references graphs.
Ludovic Courtès [Sat, 31 Aug 2013 20:55:04 +0000 (22:55 +0200)]
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.

4 years agognu: linux-initrd: Make device nodes for QEMU's hard disk.
Ludovic Courtès [Sat, 31 Aug 2013 20:46:52 +0000 (22:46 +0200)]
gnu: linux-initrd: Make device nodes for QEMU's hard disk.

* gnu/packages/linux-initrd.scm (qemu-initrd): Make /dev/vda*.

4 years agognu: linux-initrd: Make Guile modules accessible in the chroot.
Ludovic Courtès [Sat, 31 Aug 2013 12:52:12 +0000 (14:52 +0200)]
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.

4 years agognu: python: Adapt native-search-paths for Python 3.3.
Andreas Enge [Sat, 31 Aug 2013 16:43:17 +0000 (18:43 +0200)]
gnu: python: Adapt native-search-paths for Python 3.3.

* gnu/packages/python.scm (python): Modify native-search-paths.

4 years agognu: Add Python 3.
Andreas Enge [Sat, 31 Aug 2013 12:52:24 +0000 (14:52 +0200)]
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.

4 years agognu: Add yasm.
Andreas Enge [Sat, 31 Aug 2013 12:12:24 +0000 (14:12 +0200)]
gnu: Add yasm.

* gnu/packages/yasm.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.

4 years agognu: Add xmlto.
Andreas Enge [Sat, 31 Aug 2013 11:47:46 +0000 (13:47 +0200)]
gnu: Add xmlto.

* gnu/packages/xml.scm (xmlto): New variable.

4 years agognu: Add dbus-glib.
Andreas Enge [Sat, 31 Aug 2013 10:46:08 +0000 (12:46 +0200)]
gnu: Add dbus-glib.

* gnu/packages/glib.scm (dbus-glib): New variable.

4 years agognu: pari-gp: Update to 2.5.4.
Andreas Enge [Sat, 31 Aug 2013 10:20:55 +0000 (12:20 +0200)]
gnu: pari-gp: Update to 2.5.4.

* gnu/packages/algebra.scm (pari-gp): Update to 2.5.4.

4 years agognu: gsl: Disable numerically unstable test on i686.
Andreas Enge [Sat, 31 Aug 2013 10:18:53 +0000 (12:18 +0200)]
gnu: gsl: Disable numerically unstable test on i686.

* gnu/packages/maths.scm (gsl): Disable test.

4 years agodoc: Stylistic changes to "Packaging Guidelines"
Andreas Enge [Fri, 30 Aug 2013 22:02:00 +0000 (00:02 +0200)]
doc: Stylistic changes to "Packaging Guidelines"

4 years agodoc: Add note about .dir-locals.el.
Ludovic Courtès [Fri, 30 Aug 2013 21:53:13 +0000 (23:53 +0200)]
doc: Add note about .dir-locals.el.

* HACKING (Coding Style): Mention special indentation rules and
  .dir-locals.el.

4 years agodoc: Add a "Coding Style" section in 'HACKING'.
Ludovic Courtès [Fri, 30 Aug 2013 21:46:58 +0000 (23:46 +0200)]
doc: Add a "Coding Style" section in 'HACKING'.

* HACKING (Coding Style): New section.

4 years agodoc: Remove "Adding new packages" from `HACKING'.
Ludovic Courtès [Fri, 30 Aug 2013 21:30:31 +0000 (23:30 +0200)]
doc: Remove "Adding new packages" from `HACKING'.

* HACKING (Adding new packages): Remove since it's now in the manual.

4 years agodoc: Remove an extra space after @ref.
Nikita Karetnikov [Fri, 30 Aug 2013 16:31:20 +0000 (16:31 +0000)]
doc: Remove an extra space after @ref.

4 years agognu: hop: Allow compilation with Bigloo 4.0b.
Ludovic Courtès [Fri, 30 Aug 2013 12:18:34 +0000 (14:18 +0200)]
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.

4 years agodoc: Add duplicate copyright notice again.
Andreas Enge [Thu, 29 Aug 2013 20:36:23 +0000 (22:36 +0200)]
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.

4 years agodoc: Fix the image size in PDF/PS/DVI output.
Ludovic Courtès [Thu, 29 Aug 2013 19:58:15 +0000 (21:58 +0200)]
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.

4 years agobuild: Have `pdf' depend on the PDF image.
Ludovic Courtès [Thu, 29 Aug 2013 19:57:09 +0000 (21:57 +0200)]
build: Have `pdf' depend on the PDF image.

* doc.am (DOT_OPTIONS): Remove `-Tpng'.
  (.dot.pdf): New rule.
  (pdf-local): Depend on the .pdf.

4 years agobuild: Use `missing' for `dot'.
Ludovic Courtès [Thu, 29 Aug 2013 19:50:13 +0000 (21:50 +0200)]
build: Use `missing' for `dot'.

* configure.ac: Substitute `DOT'.
* doc.am (.dot.png, .dot.eps): Use $(DOT).

4 years agobuild: Build docs from the top-level Makefile.
Ludovic Courtès [Thu, 29 Aug 2013 19:20:51 +0000 (21:20 +0200)]
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.

4 years agognu: gsl: Move from module algebra to maths.
Andreas Enge [Thu, 29 Aug 2013 13:42:52 +0000 (15:42 +0200)]
gnu: gsl: Move from module algebra to maths.

* gnu/packages/algebra.scm (gsl): Move variable from here...
* gnu/packages/maths.scm (gsl): ...to here.

4 years agognu: linux-initrd: Add (guix build linux-initrd) and use it.
Ludovic Courtès [Wed, 28 Aug 2013 22:04:04 +0000 (00:04 +0200)]
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.

4 years agognu: make-bootstrap: Remove the `debug' output from the static Coreutils.
Ludovic Courtès [Wed, 28 Aug 2013 20:43:01 +0000 (22:43 +0200)]
gnu: make-bootstrap: Remove the `debug' output from the static Coreutils.

* gnu/packages/make-bootstrap.scm (%static-inputs)[coreutils]: Add
  `outputs' field.

4 years agognu: linux-initrd: Allow Guile modules to be embedded in the initrd.
Ludovic Courtès [Wed, 28 Aug 2013 21:59:14 +0000 (23:59 +0200)]
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.

4 years agognu: imagemagick: Update to 6.8.6-9.
Andreas Enge [Wed, 28 Aug 2013 21:33:24 +0000 (23:33 +0200)]
gnu: imagemagick: Update to 6.8.6-9.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.8.6-9.

4 years agodoc: Add package guidelines for names and numbers.
Andreas Enge [Wed, 28 Aug 2013 20:51:20 +0000 (22:51 +0200)]
doc: Add package guidelines for names and numbers.

* doc/guix.texi: Three new subsections.

4 years agodoc: Shuffle some text around.
Andreas Enge [Wed, 28 Aug 2013 20:04:52 +0000 (22:04 +0200)]
doc: Shuffle some text around.

* doc/guix.texi: Drop duplicate copyright notice, start section
    "Packaging Guidelines" with existant text.

4 years agodoc: Create own Makefile.am in subdirectory.
Andreas Enge [Wed, 28 Aug 2013 19:44:14 +0000 (21:44 +0200)]
doc: Create own Makefile.am in subdirectory.

* doc/Makefile.am: New file.
* Makefile.am: Reference subdirectory doc.

4 years agolist-packages: Tidy CSS in preparation for split into external file.
Alex Sassmannshausen [Mon, 26 Aug 2013 13:53:38 +0000 (15:53 +0200)]
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>
4 years agovm: Use more keyword parameters for `expression->derivation-in-linux-vm'.
Ludovic Courtès [Tue, 27 Aug 2013 17:04:14 +0000 (19:04 +0200)]
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.

4 years agoderivations: Rename #:dependency-graphs to #:references-graphs.
Ludovic Courtès [Tue, 27 Aug 2013 16:34:49 +0000 (18:34 +0200)]
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.

4 years agognu: Update python to 2.7.5.
Andreas Enge [Tue, 27 Aug 2013 08:49:43 +0000 (10:49 +0200)]
gnu: Update python to 2.7.5.

* gnu/packages/python.scm (python): Update to 2.7.5.

4 years agodoc: Change `HACKING' to refer to guix-devel@gnu.org.
Ludovic Courtès [Mon, 26 Aug 2013 20:23:53 +0000 (22:23 +0200)]
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".

4 years agoderivations: Add #:dependency-graphs to `build-expression->derivation'.
Ludovic Courtès [Mon, 26 Aug 2013 20:19:21 +0000 (22:19 +0200)]
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.

4 years agoderivations: Add #:dependency-graphs `derivation' parameter.
Ludovic Courtès [Mon, 26 Aug 2013 20:12:46 +0000 (22:12 +0200)]
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.

4 years agoderivations: Move 3 positional parameters into keyword parameters.
Ludovic Courtès [Mon, 26 Aug 2013 20:11:04 +0000 (22:11 +0200)]
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.

4 years agognu: Add Guile-Lib.
Ludovic Courtès [Mon, 26 Aug 2013 14:04:15 +0000 (16:04 +0200)]
gnu: Add Guile-Lib.

* gnu/packages/guile.scm (guile-lib): New variable.

4 years agodownload: Add kernel.org mirrors.
Ludovic Courtès [Sun, 25 Aug 2013 18:49:03 +0000 (20:49 +0200)]
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.

4 years agohydra: Comment out all Git invocations in `bootstrap'.
Ludovic Courtès [Sun, 25 Aug 2013 18:37:59 +0000 (20:37 +0200)]
hydra: Comment out all Git invocations in `bootstrap'.

* build-aux/hydra/guix.scm (tarball-package): Comment out all `git'
  invocations.

4 years agohydra: Add missing import.
Ludovic Courtès [Sun, 25 Aug 2013 15:53:49 +0000 (17:53 +0200)]
hydra: Add missing import.

* build-aux/hydra/guix.scm: Use (srfi srfi-26).

4 years agohydra: Return a symbol/thunk pair.
Ludovic Courtès [Sun, 25 Aug 2013 14:48:10 +0000 (16:48 +0200)]
hydra: Return a symbol/thunk pair.

* build-aux/hydra/guix.scm (hydra-jobs): Return a symbol/thunk pair.

4 years agognu: pius: Use the right `gpg' binary.
Ludovic Courtès [Sun, 25 Aug 2013 14:47:20 +0000 (16:47 +0200)]
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.

4 years agohydra: Extract the actual file name from the Guix checkout.
Ludovic Courtès [Sat, 24 Aug 2013 16:24:17 +0000 (18:24 +0200)]
hydra: Extract the actual file name from the Guix checkout.

* build-aux/hydra/guix.scm (hydra-jobs): Extract the `file-name' part of
  CHECKOUT.

4 years agohydra: Add job to run "make distcheck" on Guix.
Ludovic Courtès [Sat, 24 Aug 2013 15:29:55 +0000 (17:29 +0200)]
hydra: Add job to run "make distcheck" on Guix.

* build-aux/hydra/guix.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.

4 years agognu: Add Guix.
Ludovic Courtès [Sat, 24 Aug 2013 15:23:17 +0000 (17:23 +0200)]
gnu: Add Guix.

* gnu/packages/package-management.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

4 years agobuild-system/gnu: Add `dist-package'.
Ludovic Courtès [Sat, 24 Aug 2013 15:17:06 +0000 (17:17 +0200)]
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.

4 years agopackages: Allow file names as package sources.
Ludovic Courtès [Sat, 24 Aug 2013 14:58:44 +0000 (16:58 +0200)]
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.

4 years agodoc: Mention what's in the chroot, and add a caveat about /dev/shm.
Ludovic Courtès [Sat, 24 Aug 2013 09:08:01 +0000 (11:08 +0200)]
doc: Mention what's in the chroot, and add a caveat about /dev/shm.

* doc/guix.texi (Setting Up the Daemon): Document the default content of
  the chroot, and the /dev/shm caveat.

4 years agognu: Add pspp.
Andreas Enge [Sat, 24 Aug 2013 09:04:12 +0000 (11:04 +0200)]
gnu: Add pspp.

* gnu/packages/maths.scm (pspp): New variable.
* THANKS: Thank John Darrington for help with debugging.

4 years agognu: Add libmicrohttpd.
Andreas Enge [Sat, 24 Aug 2013 09:40:57 +0000 (11:40 +0200)]
gnu: Add libmicrohttpd.

* gnu/packages/gnunet.scm (libmicrohttpd): New variable.

4 years agognu: Add units.
Andreas Enge [Sat, 24 Aug 2013 08:51:56 +0000 (10:51 +0200)]
gnu: Add units.

* gnu/packages/maths.scm: New module.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.

4 years agognu: Add libextractor.
Andreas Enge [Sat, 24 Aug 2013 08:41:07 +0000 (10:41 +0200)]
gnu: Add libextractor.

* gnu/packages/gnunet.scm: New module.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.
* THANKS: Thank Christian Grothoff for help with debugging.

4 years agognu: Add gkrellm.
Andreas Enge [Sat, 24 Aug 2013 08:23:11 +0000 (10:23 +0200)]
gnu: Add gkrellm.

* gnu/packages/gkrellm.scm: New module.
* gnu/packages/gnu-system.am (GNU_SYSTEM_MODULES): Add module.

4 years agognu: Add Valgrind.
Ludovic Courtès [Sat, 24 Aug 2013 08:21:14 +0000 (10:21 +0200)]
gnu: Add Valgrind.

* gnu/packages/valgrind.scm, gnu/packages/patches/valgrind-glibc.patch:
  New files.
* gnu-system.am (GNU_SYSTEM_MODULES): Add valgrind.scm.
  (dist_patch_DATA): Add valgrind-glibc.patch.

4 years agognu: Add GNU lightning.
Ludovic Courtès [Sat, 24 Aug 2013 08:04:43 +0000 (10:04 +0200)]
gnu: Add GNU lightning.

* gnu/packages/lightning.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.