Jason Self [Thu, 18 Sep 2014 23:18:14 +0000 (16:18 -0700)]
gnu: linux-libre: Update to 3.16.3.
* gnu/packages/linux.scm (linux-libre): Update to version 3.16.3.
Ludovic Courtès [Thu, 18 Sep 2014 21:23:46 +0000 (23:23 +0200)]
system: Add udev rule for /dev/kvm.
* gnu/services/base.scm (kvm-udev-rule): New procedure.
(udev-service): Use it, and add it to RULES.
(guix-build-accounts): Add "kvm" to the 'supplementary-groups' field.
* gnu/system/shadow.scm (%base-groups): Add "kvm".
Ludovic Courtès [Thu, 18 Sep 2014 21:05:22 +0000 (23:05 +0200)]
linux-initrd: Remove now obsolete #:guile-modules-in-chroot? parameter.
* gnu/build/linux-boot.scm (boot-system): Remove
#:guile-modules-in-chroot? and related code.
* gnu/system/linux-initrd.scm (base-initrd): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Remove
#:guile-modules-in-chroot? argument in 'base-initrd' call.
Ludovic Courtès [Thu, 18 Sep 2014 18:37:10 +0000 (20:37 +0200)]
doc: Remove a couple of limitations.
* doc/guix.texi (System Installation): Remove encrypted disks and swap
from the limitations.
Ludovic Courtès [Thu, 18 Sep 2014 20:51:48 +0000 (22:51 +0200)]
system: Add support for swap devices.
* gnu/services/base.scm (swap-service): New procedure.
* gnu/system.scm (<operating-system>)[swap-devices]: New field.
(swap-services): New procedure.
(essential-services): Use it.
Ludovic Courtès [Thu, 18 Sep 2014 18:19:56 +0000 (20:19 +0200)]
syscalls: Add 'swapon' and 'swapoff'.
* guix/build/syscalls.scm (swapon, swapoff): New procedures.
* tests/syscalls.scm ("swapon, ENOENT/EPERM", "swapoff, EINVAL/EPERM"):
New tests.
Ludovic Courtès [Thu, 18 Sep 2014 17:50:00 +0000 (19:50 +0200)]
doc: Document mapped devices.
* doc/guix.texi (Mapped Devices): New subsection.
Ludovic Courtès [Thu, 18 Sep 2014 17:18:39 +0000 (19:18 +0200)]
system: Define 'device-mapping-kind', and add a 'close' procedure.
* gnu/system/file-systems.scm (<mapped-device-type>): New record type.
(<mapped-device>)[command]: Remove field.
[type]: New field.
* gnu/services/base.scm (device-mapping-service): Rename 'command'
parameter to 'open'. Add 'close' parameter and honor it.
* gnu/system.scm (luks-device-mapping): Rename to...
(open-luks-device): ... this.
(close-luks-device): New procedure.
(luks-device-mapping): New variable.
(device-mapping-services): Get the type of MD, and pass its 'open' and
'close' fields to 'device-mapping-service'.
Ludovic Courtès [Thu, 18 Sep 2014 16:42:39 +0000 (18:42 +0200)]
pull: Rewrite using gexps.
* guix/scripts/pull.scm (unpack): Remove 'store' parameter. Rewrite
using 'gexp->derivation'.
(what-to-build, indirect-root-added, build-and-install): New
procedures.
(guix-pull): Use it.
Ludovic Courtès [Thu, 18 Sep 2014 09:22:01 +0000 (11:22 +0200)]
gnu: skribilo: Make sure Guile-Reader is in the search path.
Reported by Luis Souto Graña <luissoutobueu@gmail.com>.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Add #:phases.
Ludovic Courtès [Wed, 17 Sep 2014 15:17:43 +0000 (17:17 +0200)]
gnu: gcc-4.8.3: Add patch for PR61801.
* gnu/packages/patches/gcc-fix-pr61801.patch: New file.
* gnu/packages/gcc.scm (gcc-4.8): Use it.
* gnu-system.am (dist_patch_DATA): Add it.
Ludovic Courtès [Wed, 17 Sep 2014 09:09:22 +0000 (11:09 +0200)]
gnu: libcanberra: Update URL.
Reported by Federico Beffa <beffa@ieee.org>.
* gnu/packages/libcanberra.scm (libcanberra)[source]: Update URI.
Ludovic Courtès [Wed, 17 Sep 2014 07:27:07 +0000 (09:27 +0200)]
services: dhcp-client: Start 'dhclient' in "no wait" mode.
* gnu/services/networking.scm (dhcp-client-service): Pass '-nw' to
'dhclient'.
Ludovic Courtès [Wed, 17 Sep 2014 07:20:38 +0000 (09:20 +0200)]
services: file-system: Change directory to root before unmounting.
* gnu/services/base.scm (file-system-service)[stop]: Add 'chdir' call.
Ludovic Courtès [Wed, 17 Sep 2014 07:13:51 +0000 (09:13 +0200)]
services: user-processes: Wait for complete process termination.
* gnu/services/base.scm (user-processes-service): Add 'wait' loop.
Ludovic Courtès [Wed, 17 Sep 2014 06:59:13 +0000 (08:59 +0200)]
services: udev: Make non-respawnable.
* gnu/services/base.scm (udev-service): Add 'respawn?' field.
Ludovic Courtès [Wed, 17 Sep 2014 05:50:11 +0000 (07:50 +0200)]
services: Change default 'stop' value to #~(const #f).
* gnu/services.scm (<service>)[stop]: Change default value.
Ludovic Courtès [Wed, 17 Sep 2014 05:44:00 +0000 (07:44 +0200)]
build: Ignore the user's language settings when running tests.
* test-env.in: Unset 'LANGUAGE', set 'LC_MESSAGE'.
Ludovic Courtès [Wed, 17 Sep 2014 05:18:46 +0000 (07:18 +0200)]
utils: Create temporary files in $TMPDIR or /tmp.
Reported by Federico Beffa <beffa@ieee.org>.
* guix/utils.scm (call-with-temporary-output-file): Prepend $TMPDIR or
/tmp to TEMPLATE.
Ludovic Courtès [Tue, 16 Sep 2014 20:43:55 +0000 (22:43 +0200)]
system: Add "input" to '%base-groups'.
* gnu/system/shadow.scm (%base-groups): Add "input" group.
Ludovic Courtès [Tue, 16 Sep 2014 19:11:03 +0000 (21:11 +0200)]
Remove outdated items from 'TODO'.
Ludovic Courtès [Tue, 16 Sep 2014 15:49:57 +0000 (17:49 +0200)]
gnu: guile-charting: Modules correctly installed, guile-cairo propagated.
* gnu/packages/guile.scm (guile-charting): Patch Makefile.in files to
install to guile/site/2.0. Move GUILE-CAIRO to 'propagated-inputs'.
Ludovic Courtès [Mon, 15 Sep 2014 21:58:30 +0000 (23:58 +0200)]
gnu: pulseaudio: Disable Console-Kit support by default.
This prevented PulseAudio from starting on systems without Console-Kit.
* gnu/packages/pulseaudio.scm (pulseaudio)[source]: Add snippet.
Ludovic Courtès [Mon, 15 Sep 2014 13:05:52 +0000 (15:05 +0200)]
gnu: Add OPAM.
* gnu/packages/ocaml.scm (opam): New variable.
Andreas Enge [Mon, 15 Sep 2014 14:26:30 +0000 (16:26 +0200)]
gnu: Add arb.
* gnu/packages/algebra.scm (arb): New variable.
Ludovic Courtès [Mon, 15 Sep 2014 07:06:42 +0000 (09:06 +0200)]
gnu: mupdf: Adjust synopsis.
* gnu/packages/pdf.scm (mupdf): Remove article from synopsis.
Marek Benc [Mon, 15 Sep 2014 06:03:03 +0000 (08:03 +0200)]
gnu: Add mupdf.
* gnu/packages/pdf.scm (mupdf): New variable.
* gnu/packages/patches/mupdf-buildsystem-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Added the above patch.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Mon, 15 Sep 2014 05:56:22 +0000 (07:56 +0200)]
gnu: Add openjpeg.
* gnu/packages/image.scm (openjpeg): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Mon, 15 Sep 2014 05:51:01 +0000 (07:51 +0200)]
gnu: Add jbig2dec
* gnu/packages/image.scm (jbig2dec): New variable.
* gnu/packages/patches/jbig2dec-ignore-testtest.patch: New file.
* gnu-system.am (dist_patch_DATA): Added the above patch.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Ludovic Courtès [Sun, 14 Sep 2014 21:01:23 +0000 (23:01 +0200)]
services: Add 'dhcp-client-service'.
* gnu/services/networking.scm (dhcp-client-service): New procedure.
* doc/guix.texi (Networking Services): Document it.
Ludovic Courtès [Sun, 14 Sep 2014 20:56:12 +0000 (22:56 +0200)]
syscalls: Add 'all-network-interfaces'.
* guix/build/syscalls.scm (network-interfaces): Update docstring.
(%interface-line): New variable.
(all-network-interfaces): New procedure.
* tests/syscalls.scm ("all-network-interfaces"): New test.
("network-interfaces"): Change to make sure the result is a subset
of (all-network-interfaces).
Ludovic Courtès [Sun, 14 Sep 2014 20:12:35 +0000 (22:12 +0200)]
syscalls: Add 'network-interface-flags'.
* guix/build/syscalls.scm (SIOCGIFFLAGS, IFF_UP, IFF_BROADCAST,
IFF_LOOPBACK, IF_NAMESIZE): New variables.
(network-interface-flags, loopback-network-interface?): New
procedures.
* tests/syscalls.scm ("network-interface-flags",
"loopback-network-interface?"): New tests.
Ludovic Courtès [Sun, 14 Sep 2014 19:39:51 +0000 (21:39 +0200)]
syscalls: Add 'network-interfaces'.
* guix/build/syscalls.scm (SIOCGIFCONF, ifconf-struct,
ifreq-struct-size): New variables.
(%ioctl, bytevector->string-list, network-interfaces): New
procedures.
* tests/syscalls.scm ("network-interfaces"): New test.
Ludovic Courtès [Sun, 14 Sep 2014 15:28:43 +0000 (17:28 +0200)]
services: static-networking-service: Wait for udev, except for loopback.
Reported by DusXMT on #guix.
* gnu/services/networking.scm (static-networking-service): Add
'requirement' field. Change 'documentation' to be a string literal.
Ludovic Courtès [Sun, 14 Sep 2014 13:33:38 +0000 (15:33 +0200)]
pull: Create ~/.config/guix if needed instead of bailing out gracelessly.
Previously 'guix pull' would just fail with "No such file or directory"
if ~/.config didn't already exist.
* guix/ui.scm (config-directory): Use 'mkdir-p' instead of 'mkdir'.
Change the 'catch' handler to expect errors different from EEXIST.
Ludovic Courtès [Sun, 14 Sep 2014 13:26:12 +0000 (15:26 +0200)]
doc: Mention audio, video, and cdrom groups more prominently.
* doc/guix.texi (User Accounts): Add the "audio", "video", and "cdrom"
groups in the example.
Mark H Weaver [Sun, 14 Sep 2014 15:54:25 +0000 (11:54 -0400)]
utils: Import (ice-9 format).
* guix/build/utils.scm: Import (ice-9 format).
Eric Bavier [Sat, 13 Sep 2014 06:05:03 +0000 (01:05 -0500)]
utils: Allow wrap-program to be called multiple times.
* guix/build/utils.scm (wrap-program): Multiple invocations of
wrap-program for the same file create successive wrappers. Adjust
docstring.
* tests/build-utils.scm: Test new wrap-program behavior.
(%store): New variable.
Mark H Weaver [Sat, 13 Sep 2014 23:48:47 +0000 (19:48 -0400)]
Merge branch 'master' into core-updates
Conflicts:
gnu-system.am
Andreas Enge [Fri, 12 Sep 2014 12:20:28 +0000 (14:20 +0200)]
gnu: Add flint.
* gnu/packages/algebra.scm (flint): New variable.
Ludovic Courtès [Sat, 13 Sep 2014 13:50:30 +0000 (15:50 +0200)]
gnu: Adjust synopses as recommended by 'guix lint'.
Remove leading articles and trailing periods in package synopses.
Ludovic Courtès [Sat, 13 Sep 2014 13:31:31 +0000 (15:31 +0200)]
gnu: Synchronize GNU package descriptions with upstream.
These are mostly two-space-after-end-of-sentence-period changes
resulting from commit
3a09e1d2.
Ludovic Courtès [Sat, 13 Sep 2014 13:26:37 +0000 (15:26 +0200)]
sync-descriptions: Improve output of proposed descriptions.
* build-aux/sync-descriptions.scm (escape-quotes): New procedure.
Use it. Add quotes around the proposed description.
Ludovic Courtès [Sat, 13 Sep 2014 12:22:37 +0000 (14:22 +0200)]
nls: Update 'sr' translation.
Ludovic Courtès [Sat, 13 Sep 2014 08:54:47 +0000 (10:54 +0200)]
system: Use eudev instead of udev by default.
* gnu/system.scm (%base-packages): Change 'udev' to 'eudev'.
* gnu/services/base.scm (udev-service): Change #:udev to default to
'eudev'.
Ludovic Courtès [Sat, 13 Sep 2014 08:53:47 +0000 (10:53 +0200)]
services: udev: Allow the use of eudev.
* gnu/services/base.scm (udev-service): Adjust 'start' method to support
eudev in addition to udev.
Ludovic Courtès [Sat, 13 Sep 2014 08:52:21 +0000 (10:52 +0200)]
system: Add Diffutils to '%base-packages'.
* gnu/system.scm (%base-packages): Add DIFFUTILS.
Ludovic Courtès [Sat, 13 Sep 2014 08:50:26 +0000 (10:50 +0200)]
system: Add FUSE and ALSA udev rules by default.
* gnu/services/base.scm (%base-services): Pass FUSE and ALSA-UTILS to
'udev-service'.
Ludovic Courtès [Sat, 13 Sep 2014 08:47:58 +0000 (10:47 +0200)]
gnu: eudev: Honor $EUDEV_RULES_DIRECTORY.
* gnu/packages/patches/eudev-rules-directory.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (eudev): Use it.
Ludovic Courtès [Sat, 13 Sep 2014 08:46:10 +0000 (10:46 +0200)]
gnu: eudev: Build with libkmod support.
* gnu/packages/linux.scm (eudev)[arguments]: New field.
Ludovic Courtès [Sat, 13 Sep 2014 08:32:47 +0000 (10:32 +0200)]
gnu: fuse: Install udev rules in lib/udev/rules.d.
* gnu/packages/linux.scm (fuse): Change UDEV_RULES_PATH suffix to
/lib/udev/rules.d.
Ludovic Courtès [Fri, 12 Sep 2014 20:19:33 +0000 (22:19 +0200)]
Revert "gnu: util-linux: Don't install 'logger'."
This reverts commit
c9a8ad847712dfa4811608efae2d48cb8500f72f.
Ludovic Courtès [Fri, 12 Sep 2014 20:05:50 +0000 (22:05 +0200)]
gnu: util-linux: Don't install 'logger'.
* gnu/packages/linux.scm (util-linux)[source]: Add 'snippet'.
Ludovic Courtès [Fri, 12 Sep 2014 20:12:33 +0000 (22:12 +0200)]
gnu: Add eudev.
* gnu/packages/linux.scm (eudev): New variable.
Ludovic Courtès [Fri, 12 Sep 2014 20:05:50 +0000 (22:05 +0200)]
gnu: util-linux: Don't install 'logger'.
* gnu/packages/linux.scm (util-linux)[source]: Add 'snippet'.
Ludovic Courtès [Fri, 12 Sep 2014 15:41:06 +0000 (17:41 +0200)]
activation: Honor $GUIX_NEW_SYSTEM for use by 'guix system reconfigure'.
* gnu/build/activation.scm (activate-current-system): Honor
$GUIX_NEW_SYSTEM by default.
* guix/scripts/system.scm (switch-to-system): Set $GUIX_NEW_SYSTEM
before loading SCRIPT.
Ludovic Courtès [Fri, 12 Sep 2014 15:25:39 +0000 (17:25 +0200)]
gnu: e2fsprogs: Build with --disable-blkid.
* gnu/packages/linux.scm (e2fsprogs)[arguments]: Pass --disable-blkid.
Ludovic Courtès [Fri, 12 Sep 2014 20:13:23 +0000 (22:13 +0200)]
system: Add more common tools to '%base-packages'.
* gnu/system.scm (%base-packages): Add gawk, tar, gzip, bzip2, xz, lzip,
and wireless-tools.
Ludovic Courtès [Fri, 12 Sep 2014 07:55:25 +0000 (09:55 +0200)]
system: Produce a basic /etc/nsswitch.conf to honor /etc/hosts.
* gnu/system.scm (etc-directory): Produce nsswitch.conf.
Ludovic Courtès [Fri, 12 Sep 2014 07:52:05 +0000 (09:52 +0200)]
system: Fix the default /etc/hosts.
* gnu/system.scm (default-/etc/hosts): Fix the alias/address order.
Add ::1.
Mark H Weaver [Thu, 11 Sep 2014 22:26:28 +0000 (18:26 -0400)]
Merge branch 'master' into core-updates
Conflicts:
gnu/packages/image.scm
Ludovic Courtès [Thu, 11 Sep 2014 21:39:15 +0000 (23:39 +0200)]
system: Add support for Linux-style mapped devices.
* gnu/system/file-systems.scm (<mapped-device>): New record type.
* gnu/system.scm (<operating-system>)[mapped-devices]: New field.
(luks-device-mapping): New procedure.
(other-file-system-services)[device-mappings, requirements]: New
procedures. Pass #:requirements to 'file-system-service'.
(device-mapping-services): New procedure.
(essential-services): Use it. Append its result to the return value.
(operating-system-initrd-file): Add comment.
* gnu/services/base.scm (file-system-service): Add #:requirements
parameter and honor it.
(device-mapping-service): New procedure.
* gnu/system/linux-initrd.scm (base-initrd): Add comment.
Ludovic Courtès [Thu, 11 Sep 2014 21:23:07 +0000 (23:23 +0200)]
activation: Set the permissions of /etc/sudoers to 440.
* gnu/build/activation.scm (activate-etc): Move 'rm-f' to a local
'define'. When TARGET is "sudoers", make it 440.
Ludovic Courtès [Thu, 11 Sep 2014 21:21:42 +0000 (23:21 +0200)]
system: Add '\w' to the default PS1.
* gnu/system.scm (etc-directory)[bashrc]: Add '\w' to PS1.
Ludovic Courtès [Thu, 11 Sep 2014 20:18:52 +0000 (22:18 +0200)]
activation: Make the /bin/sh symlink at activation time.
* gnu/build/install.scm (directives): Remove "/bin/sh".
* gnu/build/activation.scm (activate-/bin/sh): New procedure.
* gnu/system.scm (operating-system-activation-script): Use it.
Ludovic Courtès [Thu, 11 Sep 2014 20:13:37 +0000 (22:13 +0200)]
services: udev: Allow for additional udev rules.
* gnu/services/base.scm (udev-rules-union): New procedure.
(udev-service): Add #:rules parameter. Call 'udev-rules-union' and
create udev.conf. Set $UDEV_CONFIG_FILE before spawning udevd.
Ludovic Courtès [Thu, 11 Sep 2014 20:03:24 +0000 (22:03 +0200)]
system: Add 'hosts-file' field.
* gnu/system.scm (<operating-system>)[hosts-file]: New field.
(default-/etc/hosts): New procedure.
(etc-directory): Add #:hosts-file parameter and honor it.
(operating-system-etc-directory): Build /etc/hosts, and pass
it as #:hosts-file to 'etc-directory'.
Ludovic Courtès [Thu, 11 Sep 2014 19:53:20 +0000 (21:53 +0200)]
system: Add default PAM entries for xlock and xscreensaver.
* gnu/system/linux.scm (base-pam-services): Add "xlock" and
"xscreensaver".
Ludovic Courtès [Thu, 11 Sep 2014 19:34:30 +0000 (21:34 +0200)]
activation: Make sure /etc/sudoers & co. are regular files.
Before that, 'sudo' would exit with:
sudo: /etc/sudoers is not a regular file
sudo: no valid sudoers sources found, quitting
* gnu/build/activation.scm (activate-etc): Check if SOURCE matches
'file-is-directory?'. If not, use 'copy-file' instead of 'symlink'.
Ludovic Courtès [Thu, 11 Sep 2014 19:27:19 +0000 (21:27 +0200)]
activation: Remove outdated comment.
* gnu/build/activation.scm (activate-etc): Remove outdated comment.
Ludovic Courtès [Thu, 11 Sep 2014 19:25:58 +0000 (21:25 +0200)]
activation: Factorize the link-or-copy trick.
* gnu/build/activation.scm (link-or-copy): New procedure.
(activate-setuid-programs): Use it.
Kevin Lemonnier [Thu, 11 Sep 2014 23:49:22 +0000 (01:49 +0200)]
gnu: Add weechat
* gnu/packages/weechat.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
Signed-off-by: Eric Bavier <bavier@member.fsf.org>
Andreas Enge [Thu, 11 Sep 2014 14:43:08 +0000 (16:43 +0200)]
gnu: glpk: Update to 4.55.
* gnu/packages/maths.scm (glpk): Update to 4.55.
Andreas Enge [Thu, 11 Sep 2014 13:32:09 +0000 (15:32 +0200)]
gnu: global: Update to 6.3.2.
* gnu/packages/global.scm (global): Update to 6.3.2.
Andreas Enge [Thu, 11 Sep 2014 13:25:46 +0000 (15:25 +0200)]
gnu: freeipmi: Update to 1.4.5.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.5.
Kevin Lemonnier [Thu, 11 Sep 2014 01:12:39 +0000 (03:12 +0200)]
gnu: Have lua-5.1 compile a .so
* gnu/packages/patches/lua51-liblua-so.patch: New file
* gnu/packages/lua.scm: Use of lua51-liblua-so.patch in lua-5.1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Ludovic Courtès [Thu, 11 Sep 2014 07:52:14 +0000 (09:52 +0200)]
nls: Adjust reference to stale file.
* po/packages/POTFILES.in: Replace recutils.scm with databases.scm.
Ludovic Courtès [Thu, 11 Sep 2014 07:51:39 +0000 (09:51 +0200)]
gnu: lzip: Update to 1.16.
* gnu/packages/compression.scm (lzip): Update to 1.16.
Ludovic Courtès [Wed, 10 Sep 2014 21:33:30 +0000 (23:33 +0200)]
profiles: Adjust for compatibility with Guile 2.0.5.
Reported by Andreas Enge <andreas@enge.fr>.
* guix/profiles.scm (right-arrow): Use 'set-port-conversion-strategy!'
instead of '%default-port-conversion-strategy'. The latter is only
available in Guile 2.0.5.
Ludovic Courtès [Wed, 10 Sep 2014 20:59:27 +0000 (22:59 +0200)]
gnu: lvm2: Programs such as 'dmsetup' now have a correct RUNPATH.
* gnu/packages/linux.scm (alsa-utils): Add comment.
(lvm2): Add LDFLAGS as a configure flag.
Ludovic Courtès [Wed, 10 Sep 2014 19:39:47 +0000 (21:39 +0200)]
install: Gracefully handle corner cases with 'guix system init foo /'.
* gnu/build/install.scm (evaluate-populate-directive): Wrap body in
"catch 'system-error", and report clear errors. In the symlink case,
retry up EEXIST.
(populate-root-file-system): Remove /var/guix/profiles/system-1-link
before attempting to create it.
Ludovic Courtès [Wed, 10 Sep 2014 13:44:51 +0000 (15:44 +0200)]
Add Marek to 'AUTHORS'.
Ludovic Courtès [Tue, 9 Sep 2014 15:17:46 +0000 (17:17 +0200)]
gnu: wv: Fix URL.
Reported by Marek Benc.
* gnu/packages/wv.scm (wv): Change URL to mirror://. Also replace one
NAME occurrence in the URL with 'wvware'.
Ludovic Courtès [Tue, 9 Sep 2014 15:13:43 +0000 (17:13 +0200)]
Have (gnu) re-export (guix gexp).
* gnu.scm (%public-modules): Add '(guix gexp)'.
Ludovic Courtès [Tue, 9 Sep 2014 15:12:33 +0000 (17:12 +0200)]
system: Export '%setuid-programs'.
* gnu/system.scm: Export '%setuid-programs', as documented in the
manual.
Ludovic Courtès [Tue, 9 Sep 2014 13:35:00 +0000 (15:35 +0200)]
gnu: libwmf: Use a mirror:// URL.
* gnu/packages/image.scm (libwmf): Use a mirror://sourceforge URL.
Ludovic Courtès [Tue, 9 Sep 2014 13:33:57 +0000 (15:33 +0200)]
gnu: abiword: Use 'wv', not 'wvware'.
* gnu/packages/abiword.scm: Change 'wvware' to 'wv'.
Marek Benc [Tue, 9 Sep 2014 11:54:38 +0000 (13:54 +0200)]
gnu: Add AbiWord.
* gnu/packages/patches/abiword-explictly-cast-bools.patch New file.
* gnu/packages/patches/abiword-link-plugins-against-backend.patch: New file.
* gnu/packages/patches/abiword-no-include-glib-internal-headers.patch: New file.
* gnu/packages/patches/abiword-pass-no-undefined-to-linker.patch
* gnu/packages/patches/abiword-use-proper-png-api.patch: New file.
* gnu/packages/patches/abiword-wmf-version-lookup-fix.patch: New file.
* gnu/packages/abiword.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add abiword.scm.
(dist_patch_DATA): Add the 6 patches for abiword.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Tue, 9 Sep 2014 11:39:55 +0000 (13:39 +0200)]
gnu: Add ots.
* gnu/packages/patches/ots-no-include-missing-file.patch: New file.
* gnu/packages/ots.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add ots.scm.
(dist_patch_DATA): Add ots-no-include-missing-file.patch.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Tue, 9 Sep 2014 11:34:22 +0000 (13:34 +0200)]
gnu: Add Enchant.
* gnu/packages/enchant.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Tue, 9 Sep 2014 09:54:18 +0000 (11:54 +0200)]
gnu: Add wv.
* gnu/packages/wv.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Tue, 9 Sep 2014 09:48:44 +0000 (11:48 +0200)]
gnu: Add libwmf.
* gnu/packages/image.scm (libwmf): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Marek Benc [Tue, 9 Sep 2014 09:39:12 +0000 (11:39 +0200)]
gnu: Add GNU FriBidi.
* gnu/packages/fribidi.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Kevin Lemonnier [Mon, 8 Sep 2014 19:06:31 +0000 (21:06 +0200)]
gnu: Add zsh.
* gnu/packages/zsh.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Ludovic Courtès [Mon, 8 Sep 2014 21:46:48 +0000 (23:46 +0200)]
linux-initrd: Store Linux modules in a normal store directory.
* gnu/system/linux-initrd.scm (expression->initrd): Remove #:linux and
#:linux-modules parameters. Remove call to
'float-linux-module-directory'.
(base-initrd): Add call to 'float-linux-module-directory'. Use it in
#:linux-modules argument in the gexp. Remove #:linux and
#:linux-modules arguments to 'expression->initrd'.
* gnu/build/linux-initrd.scm (build-initrd): Remove
#:linux-module-directory parameter. Don't create 'modules'
sub-directory.
* gnu/build/linux-boot.scm (boot-system): Mentin that LINUX-MODULES is a
list of absolute file names. Don't prepend "/modules/" to
LINUX-MODULES.
* doc/guix.texi (Initial RAM Disk): Adjust accordingly.
Ludovic Courtès [Mon, 8 Sep 2014 21:27:40 +0000 (23:27 +0200)]
linux-initrd: Remove #:to-copy argument of 'expression->initrd'.
* gnu/system/linux-initrd.scm (expression->initrd): Remove #:to-copy
parameter. Remove 'graph-files', and adjust #:references-graphs
arguments to just list INIT.
(base-initrd): Remove #:to-copy argument.
* doc/guix.texi (Initial RAM Disk): Adjust accordingly.
Ludovic Courtès [Mon, 8 Sep 2014 21:20:34 +0000 (23:20 +0200)]
linux-initrd: Move initrd creation code to (guix build linux-initrd).
* gnu/build/linux-initrd.scm (cache-compiled-file-name,
compile-to-cache, build-initrd): New procedures.
* gnu/system/linux-initrd.scm (expression->initrd)[builder]: Remove code
now moved above. Use 'build-initrd'.
Ludovic Courtès [Mon, 8 Sep 2014 20:26:05 +0000 (22:26 +0200)]
linux-initrd: Copy all the script's closure to the initrd.
* gnu/system/linux-initrd.scm (expression->initrd): Remove calls to
'imported-modules' and 'compiled-modules'. Use 'gexp->script' with
EXP. Add the result to TO-COPY. Make /init a symlink to that script,
and copy its closure into the "contents" directory. Add fake
/proc/self/exe symlink.
* gnu/build/linux-boot.scm (load-linux-module*): Add comment about mmap.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add "-m
256". This turns out to be needed for initrds containing things like
e2fsck and several modules; with the default of 128 MiB, loading
libahci.ko may fail with -1.
Ludovic Courtès [Mon, 8 Sep 2014 19:48:54 +0000 (21:48 +0200)]
gnu: Add GNU direvent.
* gnu/packages/admin.scm (direvent): New variable.
Ludovic Courtès [Mon, 8 Sep 2014 19:20:55 +0000 (21:20 +0200)]
gnu: Add testdisk.
* gnu/packages/admin.scm (testdisk): New variable.