Commit Graph

3372 Commits

Author SHA1 Message Date
Ludovic Courtès ade5ce7abc vm: 'expression->derivation-in-linux-vm' can import modules in the VM.
* gnu/system/vm.scm (%imported-modules): New procedure.
  (expression->derivation-in-linux-vm): Add #:imported-modules
  parameter; remove #:modules.  Add LOADER, and change BUILDER to load
  it.
  (qemu-image): Remove useless #:modules argument.
2014-04-11 19:08:25 +02:00
Ludovic Courtès 7bd9604cde vm: Strip import list.
* gnu/system/vm.scm: Strip #:select for (gnu packages base).
2014-04-11 19:08:25 +02:00
Ludovic Courtès ef09fdfb67 vm: Factorize input conversion.
* gnu/system/vm.scm (input->name+output): New procedure.
  (expression->derivation-in-linux-vm): Use it for 'input-alist'.
  (qemu-image)[input->name+derivation]: Remove.  Use
  'input->name+output' instead.
2014-04-11 19:08:25 +02:00
Ludovic Courtès e1a87b904a vm: Add (guix build vm) module.
* guix/build/vm.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Use it.
2014-04-11 19:08:24 +02:00
Andreas Enge 772d63658e gnu: ffmpeg: Upgrade to 2.2.1.
* gnu/packages/video.scm (ffmpeg): Upgrade to 2.2.1.
2014-04-11 12:50:24 +02:00
Ludovic Courtès a87f6bd7d0 gnu: qemu: Remove 'qemu-with-multiple-smb-shares' package.
* gnu/packages/qemu.scm (qemu/smb-shares): Remove.
* gnu/packages/patches/qemu-multiple-smb-shares.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2014-04-10 21:44:59 +02:00
Ludovic Courtès 1f3838ac5d vm: Use QEMU's para-virtualized file system support for all VMs.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Change
  #:qemu to default to QEMU.  Change INITRD to use a 9p mount for the
  store.  Change command-line to use -virtfs.
2014-04-10 21:41:58 +02:00
Ludovic Courtès 47d347b725 doc: Mention 'gcc-toolchain' in README.
* README (Installing Guix from Guix): Use "gcc-toolchain" instead of
  "gcc,binutils,ld-wrapper,glibc".
2014-04-10 21:41:58 +02:00
Alírio Eyng 8b8476b859 gnu: util-linux: Enable ddate.
* gnu/packages/linux.scm (util-linux): Add --enable-ddate configure flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-04-10 21:41:58 +02:00
Andreas Enge cc8ba868fa gnu: qt: Upgrade to 5.2.1.
* gnu/packages/qt.scm (qt): Upgrade to 5.2.1.
2014-04-10 10:07:22 +02:00
Ludovic Courtès 18d9a4466c daemon: Don't abort when $PATH is undefined.
* nix/nix-daemon/guix-daemon.cc (main): Check whether getenv ("PATH")
  returns NULL before blindly initializing 'search_path'.  Before that
  'guix-daemon' would abort when run in an environment where 'PATH' is
  undefined.
2014-04-09 23:05:42 +02:00
Ludovic Courtès 9132b9bd72 nar: 'restore-file-set' registers the temporary result as a GC root.
* guix/nar.scm (temporary-store-directory): Use 'add-indirect-root', not
  'add-temp-root'.  Reported by Andreas Enge <andreas@enge.fr> at
  <https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00161.html>.
2014-04-09 23:01:02 +02:00
Alírio Eyng 9bf404e9e6 doc: Expect to fix typo.
* doc/guix.texi (Build Systems): "except" it is.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-04-09 22:22:19 +02:00
Alírio Eyng be0d8af822 gnu: linux-libre: Add SIS hardware compatibility.
* gnu/packages/linux.scm (linux-libre): Add CONFIG_SATA_SIS=y,
  CONFIG_SIS190=y and CONFIG_DEVPTS_MULTIPLE_INSTANCES=y.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-04-09 22:21:27 +02:00
Ludovic Courtès 901de55fbb build: Bump to version 0.7.
* configure.ac: Switch to 0.7.
2014-04-09 22:20:36 +02:00
Ludovic Courtès bd69ce5c0e Update '.po' files. 2014-04-09 20:54:35 +02:00
Ludovic Courtès e5c88dd739 hydra: Make demo OS smaller.
* build-aux/hydra/demo-os.scm: Replace Emacs with Zile.  Enable
  auto-login as "guest".  This is the configuration used for the Guix
  0.6 VM image.
2014-04-09 20:54:10 +02:00
Ludovic Courtès c865a878a0 gnu: linux-initrd: Mount /dev/pts at boot time.
* guix/build/linux-initrd.scm (make-essential-device-nodes): Remove
  'mount' call for /dev/pts.
  (boot-system): Add it here, after 'chroot' call.
2014-04-09 19:10:07 +02:00
Ludovic Courtès 289773c1d8 gnu: linux-initrd: Better populate /dev.
* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  /dev/{ptmx,tty} world-writable.  Build additional character devices.
2014-04-09 17:50:37 +02:00
Ludovic Courtès d69b35ee70 system: Initialize $PATH before starting dmd services.
* gnu/services/dmd.scm (dmd-configuration-file): Call 'setenv' before
  starting services.
2014-04-09 17:16:02 +02:00
Ludovic Courtès 2e4e01eebf gnu: guix: Upgrade to 0.6.
* gnu/packages/package-management.scm (guix): Upgrade to 0.6.
* gnu/services/dmd.scm (dmd-configuration-file): Change /var/nix to
  /var/guix.
* gnu/system/vm.scm (operating-system-default-contents): Likewise.
2014-04-09 16:43:13 +02:00
Ludovic Courtès 4ec91959f2 Update 'NEWS'. 2014-04-09 14:37:01 +02:00
Ludovic Courtès defa1b9bee vm: Add #:memory-size parameter for 'expression->derivation-in-linux-vm'.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
  #:memory-size parameter, defaulting to 256 (QEMU defaults to 128.)
2014-04-09 14:01:31 +02:00
Ludovic Courtès 4d9a80ba75 gnu: linux-initrd: Default initrd has no network mounts.
* gnu/system/linux-initrd.scm (gnu-system-initrd): Add #:mounts
  argument.
2014-04-09 14:01:31 +02:00
Ludovic Courtès f200b03e06 vm: 'expression->derivation-in-linux-vm' uses QEMU virtfs/9p.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Change #:qemu
  to default to QEMU-HEADLESS.  Use "-net nic,model=virtio".  Remove
  "-net user,smb=..." and add "-virtfs" options.  Change default initrd
  to include two 9p mounts.
2014-04-09 14:01:31 +02:00
Ludovic Courtès e1f88ff0ab gnu: qemu: Upgrade to 1.7.1; add virtfs support.
* gnu/packages/qemu.scm (qemu-headless): Upgrade to 1.7.1.
  [source]: Remove 'patches' field.
  [arguments]: Add --enable-virtfs configure flag.
  [inputs]: Add libcap and attr.
* gnu/packages/patches/qemu-make-4.0.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2014-04-09 14:01:31 +02:00
Eric Bavier 57e544e8f7 gnu: lapack: Augment library rpath
* gnu/packages/maths.scm (lapack) [arguments]: New post-installation
  phase to augment the rpath of installed libraries.
2014-04-08 23:10:42 -05:00
David Thompson cb3da2339a gnu: Move help2man package to (gnu packages man) module.
* gnu/packages/man.scm (help2man): New variable.
* gnu/packages/help2man.scm: Delete it.
* gnu/packages/cdrom.scm: Import (gnu packages man).
* gnu/packages/zile.scm: Import (gnu packages man).
* gnu-system.am (GNU_SYSTEM_MODULES): Delete 'gnu/packages/help2man.scm'.
2014-04-08 20:42:08 -04:00
David Thompson 67ca0a01bb gnu: Add man-db.
* gnu/packages.man.scm (man-db): New variable.
2014-04-09 00:40:09 +00:00
David Thompson cd2e0b64f2 gnu: Add libpipeline.
* gnu/packages/man.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-04-09 00:40:09 +00:00
Ludovic Courtès 2e7b5cea8c guix system: Add 'vm-image' action and '--image-size' option.
* guix/scripts/system.scm (%options): Add --image-size.
  (%default-options): Add 'image-size'.
  (guix-system)[parse-options]: Handle the 'vm-image' action.
  Honor them.
  (show-help): Update accordingly.
* doc/guix.texi (Invoking guix system): Add 'vm-image'.
2014-04-09 01:20:19 +02:00
Ludovic Courtès 1d6243cf70 ui: Add 'size->number'.
* guix/scripts/gc.scm (size->number): Remove.
* guix/ui.scm (size->number): New procedure.
* tests/ui.scm ("size->number, bytes",
  "size->number, MiB", "size->number, GiB", "size->number, 1.2GiB",
  "size->number, invalid unit"): New tests.
2014-04-08 22:01:44 +02:00
Ludovic Courtès c397e502ca gnu: dvdisaster: Build sequentially.
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add #:parallel-build? #f.
2014-04-08 14:07:53 +02:00
Ludovic Courtès c950141495 offload: Remove all the GC roots in case of multiple-output derivations.
* guix/scripts/offload.scm (remove-gc-root): Rename to...
  (remove-gc-roots): ... this.
  [builder]: Use 'scandir' and remove all the files starting with
  %GC-ROOT-FILE.
  (transfer-and-offload): Adjust to renaming; remove
  'false-if-exception' wraps.
2014-04-08 13:48:30 +02:00
Ludovic Courtès 5d2933aecc gnu: openssl: Upgrade to 1.0.1g (CVE-2014-0160).
* gnu/packages/openssl.scm (openssl): Upgrade to 1.0.1g (for
  CVE-2014-0160, <http://www.openssl.org/news/secadv_20140407.txt>.)
2014-04-08 10:09:27 +02:00
Ludovic Courtès a4b42825a1 offload: Bail out when failing to register a GC root on the build machine.
* guix/scripts/offload.scm (register-gc-root): Call 'leave' when
  'close-pipe' returns non-zero.
2014-04-08 10:09:27 +02:00
Eric Bavier 8a9d928f57 gnu: Add patchutils and quilt
* gnu/packages/patchutils.scm: New file
* gnu/packages/patches/patchutils-xfail-gendiff-tests.patch: New patch
* gnu-system.am (GNU_SYSTEM_MODULES): Add patchutils.
  (dist_patch_DATA): Add patch.
2014-04-07 20:41:25 -05:00
Cyril Roelandt ce0849cc25 gnu: Python: disable failing tests on MIPS64.
* gnu/packages/patches/python-fix-tests.patch: disable two failing tests on
  MIPS64.
2014-04-07 20:05:32 -04:00
Mark H Weaver 32d5c72952 gnu: python: Apply mips n32 fix to bundled libffi.
* gnu/packages/patches/python-libffi-mips-n32-fix.patch: New file.
* gnu/packages/python.scm (python-2, python): Add it.
* gnu-system.am (dist_patch_DATA): Add it.
2014-04-07 17:41:48 -04:00
Ludovic Courtès d013fe50ba gnu: linux-libre: Upgrade to 3.13.7.
* gnu/packages/linux.scm (linux-libre): Update to 3.13.7.
2014-04-07 23:39:31 +02:00
Ludovic Courtès 717003e3ee gnu: python: Upgrade to 3.3.5.
* gnu/packages/python.scm (python): Upgrade to 3.3.5.
2014-04-07 23:39:30 +02:00
Cyril Roelandt c9fccced4e gnu: Python: disable test_wait_result() as it fails on some setups
* gnu/packages/patches/python-fix-tests.patch: disable a failing test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-04-07 23:39:30 +02:00
Ludovic Courtès b0f981f06e Update 'NEWS' for 0.6. 2014-04-07 23:39:30 +02:00
Eric Bavier 8de3a57821 gnu: lapack: Build shared libraries
* gnu/packages/maths.scm (lapack) [arguments]: Add -DBUILD_SHARED_LIBS to
  #:configure-flags
2014-04-07 14:44:57 -05:00
Eric Bavier 2068f65cc4 gnu: fltk: Build shared libraries
* gnu/packages/fltk.scm (fltk) [arguments]: Add to --enable-shared to
  #:configure-flags
2014-04-07 14:44:57 -05:00
Ludovic Courtès af4535c58c utils: Make 'errno' procedure more robust.
Partially fixes <http://bugs.gnu.org/17212>.

* guix/utils.scm (errno): Move definition of 'bv' outside of the
  procedure.  Use 'bytevector-s32-native-ref' or
  'bytevector-s64-native-ref' instead of 'bytevector-sint-ref'.
2014-04-07 18:16:59 +02:00
Ludovic Courtès 68ec0450d1 tests: Avoid buffering in 'fcntl-flock' tests.
Partially fixes <http://bugs.gnu.org/17212>.

* tests/utils.scm ("fcntl-flock wait", "fcntl-flock non-blocking"): Open
  files in binary mode, with no buffering.
2014-04-07 18:16:58 +02:00
Ludovic Courtès 1d000ae73b gnu: shadow: Make source file timestamps deterministic.
* gnu/packages/admin.scm (shadow)[arguments]: Add 'reset-timestamps'
  phase.
2014-04-07 18:16:58 +02:00
Ludovic Courtès 6c1108330d build: Add 'hydra.gnu.org.pub' to the distribution.
* Makefile.am (pkgdata_DATA): Rename to...
  (dist_pkgdata_DATA): ... this.
2014-04-07 18:16:58 +02:00
Cyprien Nicolas 14e72a181e scheme/bigloo: Fix package description to reflect actual situation
* gnu/packages/scheme.scm (bigloo): Description: Remove the part about the C#
  connection which has been removed since release 3.8a.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-04-07 18:16:58 +02:00