Andreas Enge
1d1f939798
guix: python: Add parameter #:phases to build system.
...
* guix/build-system/python.scm (python-build): Use parameter #:phases.
2013-09-10 11:58:02 +02:00
Ludovic Courtès
d34c0ac6e9
gnu: vm: Copy /etc/shadow to the guest.
...
* gnu/system/vm.scm (example2): Add SHADOW to #:inputs-to-copy.
2013-09-09 21:52:14 +02:00
Ludovic Courtès
98aeb06b41
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.
2013-09-08 23:52:03 +02:00
Ludovic Courtès
8ab73e91d6
gnu: vm: Clear timestamps on the imported files, like in the store.
...
* gnu/system/vm.scm (qemu-image): Clear timestamps on the copied files.
2013-09-08 23:30:12 +02:00
Andreas Enge
11bb85a10d
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.
2013-09-08 16:57:37 +02:00
Ludovic Courtès
8ce3104e0e
Merge branch 'master' into core-updates
2013-09-08 12:11:32 +02:00
Ludovic Courtès
6bf25b7b05
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".
2013-09-08 12:10:25 +02:00
Ludovic Courtès
3409bc0188
gnu: glibc: Upgrade to 2.18.
...
* gnu/packages/base.scm (glibc): Upgrade to 2.18.
2013-09-08 12:01:33 +02:00
Ludovic Courtès
e7b385008c
gnu: linux-libre: Upgrade to 3.11.
...
* gnu/packages/linux.scm (linux-libre): Upgrade to 3.11. Add bc as an
input.
2013-09-08 01:30:54 +02:00
Ludovic Courtès
0e2ddecd8e
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.
2013-09-07 17:23:23 +02:00
Ludovic Courtès
2df74ac117
doc: Add "Data Types and Pattern Matching" to the Coding Style.
...
* HACKING (Data Types and Pattern Matching): New section.
2013-09-07 15:51:29 +02:00
Nikita Karetnikov
a129e0d877
gnu: Add the 'license:' prefix.
...
* gnu/packages/glib.scm (itstool): Change 'gpl3+' to 'license:gpl3+'.
2013-09-07 07:47:24 +00:00
Cyril Roelandt
20a26ff546
gnu: Add itstool.
...
* gnu/packages/glib.scm (itstool): New variable.
2013-09-06 20:59:55 +02:00
Ludovic Courtès
785859d306
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'.
2013-09-05 23:57:40 +02:00
Ludovic Courtès
002e5ba887
gnu: vm: Remove unused 'qemu-image' argument.
...
* gnu/system/vm.scm (qemu-image): Remove 'boot-expression' parameter,
superseded by 'linux-arguments'.
2013-09-05 22:14:21 +02:00
Andreas Enge
b191f88ee3
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.
2013-09-05 20:25:08 +02:00
Andreas Enge
49b90a7539
gnu: python: Disable tests in python2-pytz and python2-babel.
...
* gnu/packages/python.scm (python2-pytz, python2-babel): Disable tests.
2013-09-05 19:07:28 +02:00
Andreas Enge
8498b8cfac
gnu: python: Disable tests in pytz and babel.
...
* gnu/packages/python.scm (python-pytz, python-babel): Disable tests.
2013-09-05 18:55:27 +02:00
Andreas Enge
7b96bf82da
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").
2013-09-05 18:43:18 +02:00
Andreas Enge
d1f30e9943
gnu: git: Switch back to Python 2.
...
* gnu/packages/version-control.scm (git): Switch back to Python 2.
2013-09-05 18:13:23 +02:00
Ludovic Courtès
1b89a66e1b
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'.
2013-09-05 00:46:09 +02:00
Ludovic Courtès
29804e6eb2
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.
2013-09-05 00:46:09 +02:00
Ludovic Courtès
7c1d8146a7
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'.
2013-09-05 00:46:09 +02:00
Andreas Enge
89114f39e4
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.
2013-09-04 22:12:33 +02:00
Andreas Enge
aa9e22efa3
gnu: subversion: Switch back to Python 2.
...
* gnu/packages/version-control.scm (subversion): Switch back to Python 2.
2013-09-04 19:17:19 +02:00
Andreas Enge
66ed0c3146
gnu: qemu: Switch back to Python 2.
...
* gnu/packages/qemu.scm (qemu): Switch back to Python 2.
2013-09-04 19:13:41 +02:00
Andreas Enge
78fed0648f
gnu: texlive: Switch back to Python 2.
...
* gnu/packages/texlive.scm (texlive): Switch back to Python 2.
2013-09-04 19:09:39 +02:00
Andreas Enge
9bee5d6c18
gnu: rubber: Switch back to Python 2.
...
* gnu/packages/texlive.scm (rubber): Switch back to Python 2.
2013-09-04 19:06:51 +02:00
Andreas Enge
98e4829c4b
gnu: mesa: Switch back to Python 2.
...
* gnu/packages/xorg.scm (mesa): Switch back to Python 2.
2013-09-04 19:03:14 +02:00
Andreas Enge
f82cfaac71
gnu: libxml2: Switch back to Python 2.
...
* gnu/packages/xml.scm (libxml2): Switch back to Python 2.
2013-09-04 18:54:53 +02:00
Andreas Enge
91da9ab009
gnu: zziplib: Switch back to Python 2.
...
* gnu/packages/zip.scm (zziplib): Switch back to Python 2.
2013-09-04 18:40:54 +02:00
Andreas Enge
1611eccd10
gnu: bazaar: Switch back to Python 2.
...
* gnu/packages/version-control.scm (bazaar): Switch back to Python 2.
2013-09-04 18:35:49 +02:00
Andreas Enge
3df47231e6
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.
2013-09-04 18:07:55 +02:00
Andreas Enge
e911470857
gnu: xorg: Update comment for mesa.
...
* gnu/packages/xorg.scm (mesa): New compilation trial with 9.2.
2013-09-04 18:02:58 +02:00
Andreas Enge
6c76c45145
gnu: libdrm: Update to 2.4.46.
...
* gnu/packages/xorg.scm (libdrm): Update to 2.4.46.
2013-09-04 11:16:22 +02:00
Ludovic Courtès
0280ef2203
hydra: Add Graphviz as an input to the "tarball" job.
...
* build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ to
`native-inputs'.
2013-09-03 22:21:48 +02:00
Andreas Enge
ee3e314bb7
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.
2013-09-03 22:18:39 +02:00
Ludovic Courtès
7eed1d0438
hydra: Add Git as an input to the "tarball" job.
...
* build-aux/hydra/guix.scm (tarball-package): Add `native-inputs' field.
2013-09-03 22:07:21 +02:00
Andreas Enge
898238b9f5
gnu: python: Add package python-wrapper.
...
* gnu/packages/python.scm (python-wrapper): New variable.
2013-09-03 21:27:40 +02:00
Ludovic Courtès
bda44eed93
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.
2013-09-03 10:48:52 +02:00
Ludovic Courtès
8badfc5558
build-system/cmake: Fix typo.
...
* guix/build-system/cmake.scm (default-cmake): Add missing quote.
2013-09-03 10:20:59 +02:00
Ludovic Courtès
0a2873e515
build-system/gnu: Delay resolution of (@ (gnu packages cmake) cmake).
...
* guix/build-system/cmake.scm (default-cmake): New procedure.
(cmake-build): Use it.
2013-09-03 10:18:38 +02:00
Ludovic Courtès
00554b2a0f
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'.
2013-09-02 23:33:13 +02:00
Ludovic Courtès
43dd92024a
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.
2013-09-02 23:04:25 +02:00
Ludovic Courtès
165fd9d5e6
gnu: lzo: Build the shared library.
...
* gnu/packages/compression.scm (lzo): Build the shared library.
2013-09-02 23:04:25 +02:00
Andreas Enge
b24d1cfc85
gnu: python: Revert 77c7f8f4
and make Python 3 the default.
...
* gnu/packages/python.scm (python-3): Rename this to...
* gnu/packages/python.scm (python): ...this, rename this to...
* gnu/packages/python.scm (python-2): ...this.
2013-09-02 21:48:50 +02:00
Cyril Roelandt
fbc1a58f40
gnu: Add dfc.
...
* gnu/packages/system.scm (dfc): New variable.
2013-09-02 19:47:36 +02:00
Cyril Roelandt
340c7033a8
gnu: Add htop.
...
* gnu/packages/system.scm (htop): New variable.
2013-09-02 19:47:36 +02:00
Ludovic Courtès
1e151896d4
gnu: Add mingetty.
...
* gnu/packages/system.scm (mingetty): New variable.
2013-09-02 00:20:14 +02:00
Ludovic Courtès
bf8e7fc502
store: Add a printer for <nix-server>.
...
* guix/store.scm (<nix-server>): Set a printer.
2013-09-02 00:20:14 +02:00