Ludovic Courtès [Sun, 22 Sep 2013 22:35:17 +0000 (00:35 +0200)]
Merge branch 'master' into core-updates
Ludovic Courtès [Sun, 22 Sep 2013 20:14:46 +0000 (22:14 +0200)]
build: check-available-binaries: Adjust to derivation API change.
* build-aux/check-available-binaries.scm: Use 'derivation->output-path'
instead of 'derivation-path->output-path'.
Ludovic Courtès [Sun, 22 Sep 2013 20:13:51 +0000 (22:13 +0200)]
nar: Fix file descriptor leak when writing a Nar.
* guix/nar.scm (write-contents)[call-with-binary-input-file]: Always
close PORT.
Ludovic Courtès [Sun, 22 Sep 2013 20:03:15 +0000 (22:03 +0200)]
doc: Document '--list-generations' among the query options.
* doc/guix.texi (Invoking guix package): Move '--list-generations' below
"In addition to these actions".
Ludovic Courtès [Sun, 22 Sep 2013 19:50:11 +0000 (21:50 +0200)]
guix package: Show most recently installed packages last.
Suggested by Andreas Enge <andreas@enge.fr>.
* guix/scripts/package.scm (guix-package)[list-generations,
list-installed]: Reverse the result of 'manifest-packages'.
* doc/guix.texi (Invoking guix package): Document the order of packages
for '--list-generations' and '--list-installed'.
Ludovic Courtès [Sun, 22 Sep 2013 21:23:38 +0000 (23:23 +0200)]
Add 'guix-register'.
* nix/guix-register/guix-register.cc, tests/guix-register.sh: New
files.
* Makefile.am (SH_TESTS)[BUILD_DAEMON]: Add tests/guix-register.sh.
* daemon.am (sbin_PROGRAMS, guix_register_SOURCES,
guix_register_CPPFLAGS, guix_register_LDADD): New variables.
* test-env.in: Export 'storedir', 'prefix', 'datarootdir', 'datadir',
and 'localstatedir'.
Ludovic Courtès [Sun, 22 Sep 2013 14:40:18 +0000 (16:40 +0200)]
build: Build the daemon with -Wall.
* daemon.am (AM_CXXFLAGS): New variable.
Andreas Enge [Sun, 22 Sep 2013 20:30:18 +0000 (22:30 +0200)]
gnu: Add mutt.
* gnu/packages/mail.scm (mutt): New variable.
Andreas Enge [Sun, 22 Sep 2013 19:56:36 +0000 (21:56 +0200)]
gnu: Add fetchmail.
* gnu/packages/mail.scm (fetchmail): New variable.
Andreas Enge [Sun, 22 Sep 2013 19:01:40 +0000 (21:01 +0200)]
gnu: Rename module mailutils to mail.
* gnu/packages/mail.scm: Rename from gnu/packages/mailutils.scm.
* gnu-system.am: Rename the module.
Andreas Enge [Sun, 22 Sep 2013 15:53:01 +0000 (17:53 +0200)]
gnu: Add gnome-doc-utils.
* gnu/packages/gnome.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.
Andreas Enge [Sun, 22 Sep 2013 15:25:12 +0000 (17:25 +0200)]
gnu: Add gst-plugins-base.
* gnu/packages/gstreamer.scm (gst-plugins-base): New variable.
Andreas Enge [Sun, 22 Sep 2013 14:41:29 +0000 (16:41 +0200)]
gnu: gstreamer: Depend on python-wrapper.
* gnu/packages/gstreamer.scm (gstreamer): Replace input python by
python-wrapper.
Andreas Enge [Sun, 22 Sep 2013 14:22:00 +0000 (16:22 +0200)]
gnu: Add gstreamer.
* gnu/packages/gstreamer.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add module.
Andreas Enge [Sun, 22 Sep 2013 09:16:08 +0000 (11:16 +0200)]
gnu: xcursor-themes: Install data into package output directory.
* gnu/packages/xorg.scm (xcursor-themes): Install icons into output directory
instead of libxcursor.
Andreas Enge [Sun, 22 Sep 2013 07:44:49 +0000 (09:44 +0200)]
gnu: Add python2-pyicu.
* gnu/packages/python.scm (python2-pyicu): New variable.
Ludovic Courtès [Sat, 21 Sep 2013 20:35:14 +0000 (22:35 +0200)]
guix package: Sort the list of generation numbers in '--list-generations'.
* guix/scripts/package.scm (generation-numbers): Sort the result.
Ludovic Courtès [Sat, 21 Sep 2013 20:32:20 +0000 (22:32 +0200)]
guix package: Internationalize "Generation" string.
* guix/scripts/package.scm (guix-package): Internationalize generation
listing.
Ludovic Courtès [Sat, 21 Sep 2013 20:12:49 +0000 (22:12 +0200)]
Thank Cyrill.
Ludovic Courtès [Sat, 21 Sep 2013 20:12:20 +0000 (22:12 +0200)]
pull: Adjust to 'derivation' API change.
Fixes <http://bugs.gnu.org/15428>.
Reported by Cyrill Schenkel <cyrill.schenkel@gmail.com>.
* guix/scripts/pull.scm (guix-pull): 'unpack' returns a single value.
Andreas Enge [Sat, 21 Sep 2013 19:14:19 +0000 (21:14 +0200)]
gnu: Add python-simplejson, python2-simplejson.
* gnu/packages/python.scm (python-simplejson, python2-simplejson):
New variables.
Ludovic Courtès [Fri, 20 Sep 2013 23:59:46 +0000 (01:59 +0200)]
gnu: python2-pysqlite: Fix 'license'.
* gnu/packages/python.scm (python2-pysqlite): Refer to (@ (guix
licenses) zlib), not to the same-named package.
Ludovic Courtès [Fri, 20 Sep 2013 23:08:42 +0000 (01:08 +0200)]
gnu: QEMU images boots into dmd.
* gnu/system/dmd.scm: New file.
* gnu/system/vm.scm (system-qemu-image): Define dmd services.
[populate]: Make var/log and etc/group.
[boot]: Execute dmd directly.
Add dmd and etc-group as inputs; add the inputs of dmd services.
* gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/system/dmd.scm.
Ludovic Courtès [Fri, 20 Sep 2013 22:09:56 +0000 (00:09 +0200)]
gnu: Add GNU dmd.
* gnu/packages/system.scm (dmd): New variable.
Nikita Karetnikov [Thu, 19 Sep 2013 11:07:39 +0000 (11:07 +0000)]
guix package: Add '--list-generations'.
* guix/scripts/package.scm: Import (srfi srfi-19).
(generation-time, matching-generations): New functions.
(show-help): Add '--list-generations'.
(%options): Likewise.
(guix-package)[process-query]: Add support for '--list-generations'.
* guix/ui.scm: Import (srfi srfi-19) and (ice-9 regex).
(string->generations, string->duration): New functions.
* tests/guix-package.sh: Test '--list-generations'.
* tests/ui.scm: Import (srfi srfi-19).
Test 'string->generations' and 'string->duration'.
* doc/guix.texi (Invoking guix-package): Document '--list-generations'.
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.
Ludovic Courtès [Wed, 18 Sep 2013 21:07:45 +0000 (23:07 +0200)]
hydra: Pass the directory name of the Nix checkout.
* build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item
from NIX-CHECKOUT, and pass that to 'tarball-package'.
Ludovic Courtès [Wed, 18 Sep 2013 18:58:49 +0000 (20:58 +0200)]
hydra: Fix typo.
* build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'.
Ludovic Courtès [Wed, 18 Sep 2013 18:49:47 +0000 (20:49 +0200)]
hydra: Add missing import.
* build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix
derivations).
Ludovic Courtès [Wed, 18 Sep 2013 17:37:50 +0000 (19:37 +0200)]
hydra: Return the .drv file names, not the <derivation> objects.
* build-aux/hydra/gnu-system.scm (package->alist): Call
'derivation-file-name' on the result of 'package-derivation'.
* build-aux/hydra/guix.scm (package->alist): Likewise.
Ludovic Courtès [Wed, 18 Sep 2013 17:00:03 +0000 (19:00 +0200)]
hydra: Point the Git submodule to our local copy.
* build-aux/hydra/guix.scm (tarball-package): Add 'nix-checkout'
parameter. Replace 'patch-bootstrap-script' phase by
'set-nix-module'.
(hydra-jobs): Get the 'nix' value from ARGUMENTS, and pass it to
'tarball-package'.
Ludovic Courtès [Wed, 18 Sep 2013 15:01:40 +0000 (17:01 +0200)]
derivations: 'derivation' and related procedures return a single value.
* guix/derivations.scm (derivation->output-path,
derivation->output-paths): New procedures.
(derivation-path->output-path): Use 'derivation->output-path'.
(derivation-path->output-paths): Use 'derivation->output-paths'.
(derivation): Accept 'derivation?' objects as inputs. Return a single
value.
(build-derivations): New procedure.
(compiled-modules): Use 'derivation->output-paths'.
(build-expression->derivation)[source-path]: Add case for when the
input matches 'derivation?'.
[prologue]: Accept 'derivation?' objects in INPUTS.
[mod-dir, go-dir]: Use 'derivation->output-path'.
* guix/download.scm (url-fetch): Adjust to the single-value return.
* guix/packages.scm (package-output): Use 'derivation->output-path'.
* guix/scripts/build.scm (guix-build): When the argument is
'derivation-path?', pass it through 'read-derivation'.
Use 'derivation-file-name' to print out the .drv file names, and to
register them. Use 'derivation->output-path' instead of
'derivation-path->output-path'.
* guix/scripts/package.scm (roll-back): Adjust to the single-value
return.
(guix-package): Use 'derivation->output-path'.
* guix/ui.scm (show-what-to-build): Adjust to deal with 'derivation?'
objects instead of .drv file names.
* gnu/system/grub.scm (grub-configuration-file): Use
'derivation->output-path' instead of 'derivation-path->output-path'.
* gnu/system/vm.scm (qemu-image, system-qemu-image): Likewise.
* tests/builders.scm, tests/derivations.scm, tests/packages.scm,
tests/store.scm, tests/union.scm: Adjust to the new calling
convention.
* doc/guix.texi (Defining Packages, The Store, Derivations): Adjust
accordingly.
Ludovic Courtès [Wed, 18 Sep 2013 14:42:51 +0000 (16:42 +0200)]
tests: Clarify filtering of the "debug" output.
* tests/guix-package.sh: Clearly filter out the "debug" output of
'gnu-make-boot0'.
Ludovic Courtès [Wed, 18 Sep 2013 09:10:02 +0000 (11:10 +0200)]
derivations: Add a nicer printer.
* guix/derivations.scm (<derivation>): Add a printer.
Ludovic Courtès [Tue, 17 Sep 2013 21:00:55 +0000 (23:00 +0200)]
derivations: Keep the .drv file name in <derivation> objects.
* guix/derivations.scm (<derivation>): Add 'file-name' field.
(%read-derivation): Use (port-filename DRV-PORT) as the file name for
the result.
(derivation): Set the 'file-name' field in the result.
* tests/derivations.scm ("build derivation with 1 source"): Assert that
'derivation-file-name' returns the right thing.
Ludovic Courtès [Mon, 16 Sep 2013 17:00:47 +0000 (19:00 +0200)]
gnu: dbus: Add dependency on libX11.
* gnu/packages/glib.scm: Use #:export instead of 'define-public'.
(dbus): Add LIBX11 as an input.
Ludovic Courtès [Sun, 15 Sep 2013 21:37:32 +0000 (23:37 +0200)]
gnu: glibc: Fix 'ldd' on x86_64.
Reported by Cyril Roelandt at
<https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00136.html>.
* gnu/packages/patches/glibc-ldd-x86_64.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc): Use it.
Ludovic Courtès [Sun, 15 Sep 2013 21:20:16 +0000 (23:20 +0200)]
utils: 'find-files' returns a sorted list.
* guix/build/utils.scm (find-files): Sort the result lexicographically.
* guix/scripts/pull.scm (unpack): Don't sort the result of 'find-files'.
Andreas Enge [Sat, 14 Sep 2013 08:45:01 +0000 (10:45 +0200)]
Merge branch 'python'
Ludovic Courtès [Fri, 13 Sep 2013 21:42:36 +0000 (23:42 +0200)]
substitute-binary: Add '--help'.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
* guix/scripts/substitute-binary.scm (show-help): New procedure.
(guix-substitute-binary): Add '--help'.
Ludovic Courtès [Fri, 13 Sep 2013 09:12:35 +0000 (11:12 +0200)]
gnu: gnutls: Upgrade to 3.2.4.
* gnu/packages/gnutls.scm (gnutls): Update to 3.2.4; remove 'arguments'
field, remove "patch/fix-tests" from the inputs.
* gnu/packages/patches/gnutls-fix-tests-on-32-bits-system.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
Andreas Enge [Fri, 13 Sep 2013 12:25:53 +0000 (14:25 +0200)]
gnu: Add python2-mechanize.
* gnu/packages/python.scm (python2-mechanize): New variable.
Nikita Karetnikov [Thu, 12 Sep 2013 17:31:53 +0000 (17:31 +0000)]
guix package: Rename generation-related procedures.
* guix/scripts/package.scm (profile-numbers): Rename to 'generation-numbers'.
(previous-profile-number): Rename to 'previous-generation-number'.
(profile-number): Rename to 'generation-number'.
(roll-back): Rename 'previous-profile' to 'previous-generation'.
Andreas Enge [Thu, 12 Sep 2013 13:31:45 +0000 (15:31 +0200)]
gnu: Add python2-sqlite.
* gnu/packages/python.scm (python2-sqlite): New variable.
Ludovic Courtès [Thu, 12 Sep 2013 12:11:15 +0000 (14:11 +0200)]
Thank Matthias and Yutaka.
Ludovic Courtès [Thu, 12 Sep 2013 12:09:29 +0000 (14:09 +0200)]
daemon: Use 'int' instead of the internal 'gcry_md_algo_t' type.
Fixes compilation with the forthcoming libgcrypt 1.6.x.
Reported by Matthias Wachs <wachs@net.in.tum.de>
and NIIBE Yutaka <gniibe@fsij.org>.
* nix/libutil/gcrypt-hash.cc (guix_hash_init, guix_hash_final): Use
'int' as the type of the 'algo' parameter.
* nix/libutil/gcrypt-hash.hh: Update declarations accordingly.
Ludovic Courtès [Wed, 11 Sep 2013 21:37:57 +0000 (23:37 +0200)]
gnu: avahi, dbus: Use /var as $localstatedir.
* gnu/packages/avahi.scm (avahi): Pass '--localstatedir'; add
'patch/localstatedir'.
* gnu/packages/glib.scm (dbus): Pass '--localstatedir' and
'--with-session-socket-dir'; add 'patch/localstatedir'.
* gnu/packages/patches/avahi-localstatedir.patch,
gnu/packages/patches/dbus-localstatedir.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
Andreas Enge [Wed, 11 Sep 2013 20:56:52 +0000 (22:56 +0200)]
gnu: Update python-babel, python2-babel to 1.3.
* gnu/packages/python.scm (python-babel, python2-babel): Update to 1.3.
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.
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'.
Andreas Enge [Wed, 11 Sep 2013 13:51:13 +0000 (15:51 +0200)]
gnu: Add python-dateutil, python2-dateutil.
* gnu/packages/python.scm (python-dateutil, python2-dateutil): New variables.
Andreas Enge [Wed, 11 Sep 2013 13:47:34 +0000 (15:47 +0200)]
guix: python: Create module installation path and add it to PYTHONPATH during
the installation phase.
* guix/build/python-build-system.scm (get-python-version): New procedure.
* guix/build/python-build-system.scm (install): Create and add path.
* gnu/packages/python.scm (python-setuptools): Drop path creation code.
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.
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.
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.
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.
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.
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.
Andreas Enge [Tue, 10 Sep 2013 19:08:12 +0000 (21:08 +0200)]
gnu: Add python-setuptools, python2-setuptools.
* gnu/packages/python.scm (python-setuptools, python2-setuptools):
New variables.
Andreas Enge [Tue, 10 Sep 2013 18:32:50 +0000 (20:32 +0200)]
guix: python: Do not import %standard-phases from gnu-build-system.
* guix/build-system/python.scm (python-build): Drop module gnu-build-system.
Thanks to Ludovic Courtès <ludo@gnu.org>.
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.
Andreas Enge [Tue, 10 Sep 2013 09:42:07 +0000 (11:42 +0200)]
guix: python: Add parameter #:phases to build system.
* guix/build-system/python.scm (python-build): Use parameter #:phases.
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.
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.
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.
Andreas Enge [Sun, 8 Sep 2013 14:57:37 +0000 (16:57 +0200)]
guix: python: Add package-with-python2, a procedure rewriting a package
to compile with Python 2 instead of the default Python 3.
* guix/build-system/python.scm (default-python2, package-with-explicit-python,
package-with-python2): New procedures.
* guix/build-system/python.scm (python2-pytz, python2-babel): Use
package-with-python2.
Ludovic Courtès [Sun, 8 Sep 2013 10:11:32 +0000 (12:11 +0200)]
Merge branch 'master' into core-updates
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".
Ludovic Courtès [Sun, 8 Sep 2013 10:01:33 +0000 (12:01 +0200)]
gnu: glibc: Upgrade to 2.18.
* gnu/packages/base.scm (glibc): Upgrade to 2.18.
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.
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.
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.
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+'.
Cyril Roelandt [Wed, 4 Sep 2013 17:21:38 +0000 (19:21 +0200)]
gnu: Add itstool.
* gnu/packages/glib.scm (itstool): New variable.
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'.
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'.
Andreas Enge [Thu, 5 Sep 2013 18:25:08 +0000 (20:25 +0200)]
guix: python: Add build phase and factor out calls to setup.py.
* guix/build/python-build-system.scm (call-setuppy): New procedure.
* guix/build/python-build-system.scm (build): New procedure.
* guix/build/python-build-system.scm (check, install): Use call-setuppy.
* guix/build/python-build-system.scm (%standard-phases): Add call to build.
Andreas Enge [Thu, 5 Sep 2013 17:07:28 +0000 (19:07 +0200)]
gnu: python: Disable tests in python2-pytz and python2-babel.
* gnu/packages/python.scm (python2-pytz, python2-babel): Disable tests.
Andreas Enge [Thu, 5 Sep 2013 16:55:27 +0000 (18:55 +0200)]
gnu: python: Disable tests in pytz and babel.
* gnu/packages/python.scm (python-pytz, python-babel): Disable tests.
Andreas Enge [Thu, 5 Sep 2013 16:43:18 +0000 (18:43 +0200)]
gnu: python: Honour #:tests? and #:test-target in build system.
* guix/build/python-build-system.scm (check): Use named parameters tests?
and test-target (default now: "test" instead of "check").
Andreas Enge [Thu, 5 Sep 2013 16:13:23 +0000 (18:13 +0200)]
gnu: git: Switch back to Python 2.
* gnu/packages/version-control.scm (git): Switch back to Python 2.
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'.
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.
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'.
Andreas Enge [Wed, 4 Sep 2013 20:12:33 +0000 (22:12 +0200)]
gnu: python: Implement the python naming scheme for pytz and babel.
* gnu/packages/python.scm (pytz): Rename this ...
* gnu/packages/python.scm (python-pytz): ... to this
* gnu/packages/python.scm (python2-pytz): New variable, input python-2.
* gnu/packages/python.scm (babel): Rename this ...
* gnu/packages/python.scm (python-babel): ... to this
* gnu/packages/python.scm (python2-babel): New variable, input python-2.
Andreas Enge [Wed, 4 Sep 2013 17:17:19 +0000 (19:17 +0200)]
gnu: subversion: Switch back to Python 2.
* gnu/packages/version-control.scm (subversion): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 17:13:41 +0000 (19:13 +0200)]
gnu: qemu: Switch back to Python 2.
* gnu/packages/qemu.scm (qemu): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 17:09:39 +0000 (19:09 +0200)]
gnu: texlive: Switch back to Python 2.
* gnu/packages/texlive.scm (texlive): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 17:06:51 +0000 (19:06 +0200)]
gnu: rubber: Switch back to Python 2.
* gnu/packages/texlive.scm (rubber): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 17:03:14 +0000 (19:03 +0200)]
gnu: mesa: Switch back to Python 2.
* gnu/packages/xorg.scm (mesa): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 16:54:53 +0000 (18:54 +0200)]
gnu: libxml2: Switch back to Python 2.
* gnu/packages/xml.scm (libxml2): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 16:40:54 +0000 (18:40 +0200)]
gnu: zziplib: Switch back to Python 2.
* gnu/packages/zip.scm (zziplib): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 16:35:49 +0000 (18:35 +0200)]
gnu: bazaar: Switch back to Python 2.
* gnu/packages/version-control.scm (bazaar): Switch back to Python 2.
Andreas Enge [Wed, 4 Sep 2013 16:04:15 +0000 (18:04 +0200)]
guix: python: Switch to python-wrapper as the default version for the python
build system (switches to Python 3) and compute python-version instead of
passing it as a parameter.
* guix/build-system/python.scm (default-python): Switch to python-wrapper.
* guix/build-system/python.scm (python-build): Drop parameter #:python-version.
* guix/build/python-build-system.scm (wrap): Compute python version from input.
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.
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.
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'.
Andreas Enge [Tue, 3 Sep 2013 20:18:39 +0000 (22:18 +0200)]
gnu: python: Replace input python by python-wrapper.
* gnu/packages/{gdb.scm (gdb), cryptsetup.scm (cryptsetup),
ghostscript.scm (ghostscript), glib.scm (glib), gnupg.scm (pius),
gtk.scm (cairo, harfbuzz), libevent.scm (libevent), netpbm.scm (netpbm),
oggvorbis.scm (libkate), qemu.scm (qemu), samba.scm (samba),
texlive.scm (rubber, texlive), version-control.scm (subversion),
xml.scm (libxml2, libxslt), xorg.scm (libxcb, mesa, xcb-proto, xorg-server),
yasm.scm (yasm), zip.scm (zziplib)}:
Replace input python by python-wrapper.
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.
Andreas Enge [Tue, 3 Sep 2013 19:27:40 +0000 (21:27 +0200)]
gnu: python: Add package python-wrapper.
* gnu/packages/python.scm (python-wrapper): New variable.