Ludovic Courtès
2a7050abf8
gnu: Add Autoconf 2.64.
...
* gnu/packages/autotools.scm (autoconf-2.64): New variable.
2014-05-27 22:28:34 +02:00
Eric Bavier
33dcd2a804
gnu: librsync: Fix source uri
...
* gnu/packages/rsync.scm (librsync) [source]: Fix sourceforge uri.
2014-05-27 10:38:57 -05:00
Eric Bavier
d1a5439bcb
gnu: Add duplicity.
...
* gnu/packages/backup.scm: New file.
* gnu-system.am: Add it.
2014-05-27 10:05:33 -05:00
Eric Bavier
5a1a4bf6b2
gnu: Add python-mock.
...
* gnu/packages/python.scm (python-mock): New variable.
2014-05-27 10:05:33 -05:00
Eric Bavier
c1448c6974
gnu: Add python-lockfile.
...
* gnu/packages/python.scm (python-lockfile): New variable.
2014-05-27 10:05:32 -05:00
Ludovic Courtès
f4561be2d1
services: Add D-Bus and Avahi.
...
* gnu/services/dbus.scm: New file.
* gnu/services/avahi.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add them.
2014-05-26 23:38:06 +02:00
Ludovic Courtès
3963a7292a
gnu: Add Transmission.
...
* gnu/packages/bittorrent.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-26 23:38:06 +02:00
John Darrington
5698b8b82c
gnu: Add gsegrafix and dependent libraries.
...
* gnu/packages/math.scm (gsegrafix): New variable.
* gnu/packages/gtk.scm (pangox-compat): New variable.
* gnu/packages/gnome.scm (libidl, orbit2, libbonobo, gconf, gnome-mime-data,
gnome-vfs, libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui): New variables.
2014-05-26 18:19:55 +02:00
Eric Bavier
ff78435fa0
gnu: Add mcrypt, libmcrypt, and libmhash.
...
* gnu/packages/mcrypt.scm: New file.
* gnu/packages/patches/mhash-keygen-test-segfault.patch: New patch.
* gnu-system.am (GNU_SYSTEM_MODULES): Add file.
(dist_patch_DATA): Add patch.
2014-05-26 01:15:53 -05:00
Eric Bavier
7f0635f684
gnu: Add librsync.
...
* gnu/packages/rsync.scm (librsync): New variable.
2014-05-25 23:33:58 -05:00
Ludovic Courtès
de0b620e88
gnu: Add inotify-tools.
...
* gnu/packages/linux.scm (inotify-tools): New variable.
2014-05-26 00:08:50 +02:00
Ludovic Courtès
25083588b9
doc: Augment "Package Naming".
...
* doc/guix.texi (Package Naming): Mention underscores, and give SDL_net
as an example.
2014-05-25 17:00:01 +02:00
Ludovic Courtès
884af1b4ec
store: Remove misleading 'setsockopt' call.
...
* guix/store.scm (open-connection): Remove misleading 'setsockopt' call,
erroneously introduced in df1fab58
. This would actually shrink the
receive buffer from 124 KiB to 12 KiB, though it had little impact on
performance.
2014-05-25 01:31:15 +02:00
Ludovic Courtès
4b2615e1ca
services: nscd: Provide an 'activate' script to make /var/run/nscd.
...
* gnu/services/base.scm (nscd-service): Add 'activate' field.
* guix/build/install.scm (directives): Remove /var/run/nscd; add
/var/run.
* doc/guix.texi (Defining Services): Add 'activate' field in example.
Document it.
2014-05-24 18:10:05 +02:00
Ludovic Courtès
55ccc388b7
services: Support per-service activation scripts.
...
* gnu/services.scm (<service>)[activate]: New field.
* gnu/system.scm (operating-system-activation-script)[service-activations]:
New procedure. Use it, and primitive-load each activation.
2014-05-24 18:10:05 +02:00
Ludovic Courtès
517830cc01
system: Always create /var/empty.
...
* guix/build/install.scm (directives): Add /var/empty.
2014-05-24 18:10:05 +02:00
Ludovic Courtès
484a2b3a5a
system: Separate the activation script from the boot script.
...
* gnu/system.scm (operating-system-activation-script): New procedure,
containing most of the former 'operating-system-boot-script'.
(operating-system-boot-script): Call it, and 'primitive-load' its
result.
* guix/build/activation.scm (%booted-system): Remove.
(activate-current-system): Remove #:boot? parameter and related code.
2014-05-24 18:10:05 +02:00
Eric Bavier
a9f48ff076
gnu: Add lzop.
...
* gnu/packages/compression.scm (lzop): New variable.
2014-05-24 01:03:02 -05:00
Ludovic Courtès
112440a7b8
vm: Disable QEMU networking in the disk image initrd.
...
* gnu/system/linux-initrd.scm (qemu-initrd): Add #:qemu-networking?
parameter and honor it.
* gnu/system/vm.scm (system-disk-image): Pass #:qemu-networking #f.
2014-05-23 22:37:24 +02:00
Ludovic Courtès
a68d976b66
download: Enlarge your receive buffer.
...
* guix/build/download.scm (open-connection-for-uri): Remove call to
'setsockopt'.
* guix/http-client.scm (open-socket-for-uri)[rmem-max, buffer-size]: New
variables. Add call to 'setsockopt'.
2014-05-23 22:19:37 +02:00
Ludovic Courtès
fb729425dc
guix system: Add 'disk-image' action.
...
* guix/scripts/system.scm (show-help): Add 'disk-image'.
(guix-system)[parse-options]: Support 'disk-image' action.
[option-arguments]: Likewise.
Handle the 'disk-image' action.
* doc/guix.texi (Invoking guix system): Document 'disk-image'.
2014-05-22 23:24:13 +02:00
Ludovic Courtès
1e77fedb46
vm: Add 'system-disk-image'.
...
* gnu/system/vm.scm (system-disk-image): New procedure.
2014-05-22 23:24:13 +02:00
Ludovic Courtès
c938494598
Add (gnu) module.
...
* gnu.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* build-aux/hydra/demo-os.scm: Use (gnu) and strip import list
accordingly.
* doc/guix.texi (Using the Configuration System): Adjust example
accordingly.
2014-05-22 23:24:13 +02:00
Ludovic Courtès
f19c6e5fe7
vm: Use a para-virtualized disk when creating an image.
...
* guix/build/vm.scm (load-in-linux-vm): When MAKE-DISK-IMAGE?, use
'-drive ...,if=virtio' for better performance.
* gnu/system/vm.scm (qemu-image): Use /dev/vda instead of /dev/sda.
2014-05-22 23:24:13 +02:00
Ludovic Courtès
c4a74364b9
vm: Make the image format a parameter.
...
* guix/build/vm.scm (load-in-linux-vm): Add #:disk-image-format
parameter; add 'image-file' variable. Honor DISK-IMAGE-FORMAT.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
#:disk-image-format parameter, and honor it.
(qemu-image): Likewise.
2014-05-22 23:24:13 +02:00
Ludovic Courtès
3035b50f28
linux-initrd: Build /dev/loop* nodes.
...
* guix/build/linux-initrd.scm (make-essential-device-nodes): Build
/dev/loop[0-7].
2014-05-22 23:24:13 +02:00
Andreas Enge
ca143f1379
gnu: imagemagick: Upgrade to 6.8.9-0.
...
* gnu/packages/imagemagick.scm (imagemagick): Upgrade to 6.8.9-0.
2014-05-22 22:28:12 +02:00
Andreas Enge
39aa11e090
gnu: perl-io-tty: Upgrade to 1.11.
...
* gnu/packages/perl.scm (perl-io-tty): Upgrade to 1.11.
2014-05-22 22:13:42 +02:00
Andreas Enge
6d763bdddb
guix: download: Update imagemagick mirrors.
...
* guix/download.scm (%mirrors)[imagemagick]: Update and add the legacy
subdirectory of the main site as a last resort.
2014-05-22 22:07:07 +02:00
Ludovic Courtès
a3977466db
build: Fix builds without --with-libgcrypt-prefix nor --with-libgcrypt-libdir.
...
Reported by Manolis Ragkousis <manolis837@gmail.com>.
Fixes a regression introduced in 14af289
.
Before this commit, ./configure would leave LIBGCRYPT_PREFIX and
LIBGCRYPT_LIBDIR undefined, leading to LIBGCRYPT_LIBS="-L -lgcrypt" and
thus to a link failure.
* configure.ac: Make sure $LIBGCRYPT_PREFIX and $LIBGCRYPT_LIBDIR are
never empty.
2014-05-22 10:38:41 +02:00
Ludovic Courtès
641f9a2a1f
vm: Modularize build-side code.
...
* guix/build/install.scm (install-grub): Call 'error' if 'system*'
returns non-zero.
* guix/build/vm.scm (initialize-partition-table): Make 'partition-size'
a positional parameter. Call 'error' when 'system*' returns
non-zero'.
(format-partition, initialize-root-partition): New procedures.
(initialize-hard-disk): Use them.
2014-05-21 23:31:46 +02:00
Ludovic Courtès
d1f477199d
vm: Remove misleading comment.
...
* guix/build/vm.scm (load-in-linux-vm): Remove misleading comment.
2014-05-21 23:19:13 +02:00
Ludovic Courtès
952298d709
gnu: Add wpa_supplicant.
...
* gnu/packages/admin.scm (wpa-supplicant): New variable.
2014-05-21 17:12:03 +02:00
Ludovic Courtès
d28869afad
store: Flush the output when the build process emits '\r'.
...
This allows progress reports emitted by 'substitute-binary' to be
correctly displayed.
* guix/store.scm (%newlines): New variable.
(process-stderr) <%stderr-next>: Flush (current-build-output-port)
when S contains one of %NEWLINES.
2014-05-21 15:29:23 +02:00
Ludovic Courtès
29decd1f36
Augment (guix).
...
* guix.scm (%public-modules): Add 'monads' and 'gexp'.
2014-05-20 23:37:11 +02:00
Ludovic Courtès
c5df183956
Add (gnu system file-systems).
...
This fixes a circular dependency between (gnu system) and (gnu system
linux-initrd), where the latter could end up being compiled before
'file-system-type' was defined as a macro.
* gnu/system.scm (<file-system>, %fuse-control-file-system,
%binary-format-file-system): Move to...
* gnu/system/file-systems.scm: ... here. New file.
* build-aux/hydra/demo-os.scm, gnu/system/linux-initrd.scm,
gnu/system/vm.scm: Use it.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-20 23:37:11 +02:00
Ludovic Courtès
eb7ccb1afa
linux-initrd: Display a backtrace when the initial program fails.
...
* guix/build/linux-initrd.scm (boot-system): Add pre-unwind handler in
'catch' form around 'primitive-load', and call 'format' and
'display-backtrace' from there.
2014-05-20 23:37:11 +02:00
Ludovic Courtès
9bea3b42b4
vm: Fix typo.
...
Regression introduced in e38e18f
.
* guix/build/vm.scm (initialize-hard-disk)[partition]: Use a string.
2014-05-20 23:37:11 +02:00
Eric Bavier
5bbd6bf181
gnu: Add ccache.
...
* gnu/packages/ccache.scm: New file.
* gnu/packages/patches/ccache-stdc-predef-test.patch: New patch.
* gnu-system.am (GNU_SYSTEM_MODULES): Add ccache.scm.
(dist_patch_DATA): Add patch.
2014-05-20 16:21:43 -05:00
Eric Bavier
16ecf3ff4a
gnu: Edit synopses of petsc packages.
...
* gnu/packages/maths.scm (petsc) [synopsis]: Shorten.
(petsc-complex,petsc-openmpi,petsc-complex-openmpi) [synopsis]:
Repeat synopsis from petsc package with extensions. [description]: Remove.
2014-05-20 09:53:19 -05:00
Eric Bavier
7886e23b03
gnu: offlineimap: fix license.
...
* gnu/packages/mail.scm (offlineimap) [license]: Change to gpl2+.
2014-05-20 09:50:58 -05:00
Eric Bavier
d2938d59aa
gnu: Add mu.
...
* gnu/packages/mail.scm (mu): New variable.
2014-05-20 09:02:39 -05:00
Eric Bavier
3919a31a75
gnu: Add offlineimap
...
* gnu/packages/mail.scm (offlineimap): New variable.
2014-05-20 09:02:39 -05:00
Ludovic Courtès
d84a7be667
utils: 'delete-file-recursively' doesn't follow mount points by default.
...
* guix/build/utils.scm (delete-file-recursively): Add #:follow-mounts?
parameter and honor it.
2014-05-20 14:45:58 +02:00
Ludovic Courtès
953c9fcf8c
gnu: ncurses: Build libtinfo.
...
* gnu/packages/ncurses.scm (ncurses)[arguments]: Add --with-termlib to
#:configure-flags.
2014-05-20 14:30:19 +02:00
Ludovic Courtès
6d69a7ed10
gnu: ncurses: Set a RUNPATH on the executables and libraries.
...
* gnu/packages/ncurses.scm (ncurses)[arguments]: Add LDFLAGS to
#:configure-flags.
2014-05-20 14:29:46 +02:00
Ludovic Courtès
b10e9ff6da
gnu: Add Linux kbd.
...
* gnu/packages/linux.scm (kbd): New variable.
2014-05-19 23:52:40 +02:00
Ludovic Courtès
52ddf2ae6f
ui: Gracefully deal with zero-output derivations.
...
* guix/ui.scm (show-what-to-build)[built-or-substitutable?]: New
procedure. Check whether OUT is #f.
Use it.
* tests/ui.scm ("show-what-to-build, zero outputs"): New test.
2014-05-19 23:52:40 +02:00
Ludovic Courtès
79b0d4e104
guix system: Check whether we are installing to /.
...
* guix/scripts/system.scm (install): Check whether TARGET is / and warn.
2014-05-19 23:52:40 +02:00
Ludovic Courtès
c56d19fb11
guix system: Factorize out closure copy.
...
* guix/scripts/system.scm (copy-closure): New procedure.
(install): Use it.
2014-05-19 23:52:40 +02:00