Eric Bavier [Wed, 25 Jun 2014 07:01:34 +0000 (02:01 -0500)]
gnu: moe: Upgrade to 1.6.
* gnu/packages/moe.scm (moe)[source]: Upgrade to 1.6.
Add 'native-inputs' field.
Ludovic Courtès [Tue, 24 Jun 2014 20:11:12 +0000 (22:11 +0200)]
guix system: Gracefully handle 'install-grub' errors.
* guix/scripts/system.scm (install): Wrap 'install-grub' call in
'false-if-exception'. This is a followup to
641f9a2a.
Ludovic Courtès [Tue, 24 Jun 2014 12:53:51 +0000 (14:53 +0200)]
gnu: Move JSON-C to (gnu packages web).
* gnu/packages/pulseaudio.scm (json-c): Move to...
* gnu/packages/web.scm (json-c): ... here. New variable.
Ludovic Courtès [Tue, 24 Jun 2014 12:43:51 +0000 (14:43 +0200)]
gnu: json-c: Upgrade to 0.12.
* gnu/packages/pulseaudio.scm (json-c)[source]: Upgrade to 0.12. Add
'modules' and 'snippet' fields.
Ludovic Courtès [Mon, 23 Jun 2014 13:37:19 +0000 (15:37 +0200)]
install: Use udev.
* gnu/system/install.scm (installation-services): Call 'udev-service'.
Ludovic Courtès [Mon, 23 Jun 2014 13:35:03 +0000 (15:35 +0200)]
services: Add udev service, and add it to '%base-services'.
* gnu/services/base.scm (udev-service): New procedure.
(%base-services): Use it.
* gnu/system.scm (%base-packages): Add UDEV.
David Thompson [Sun, 15 Jun 2014 00:52:09 +0000 (20:52 -0400)]
gnu: Add notmuch.
* gnu/packages/mail.scm (notmuch): New variable.
David Thompson [Sun, 6 Apr 2014 18:36:31 +0000 (14:36 -0400)]
gnu: Add dtach.
gnu/packages/screen.scm (dtach): New variable.
David Thompson [Sun, 6 Apr 2014 16:25:57 +0000 (12:25 -0400)]
gnu: Add talloc.
* gnu/packages/samba.scm (talloc): New variable.
Ludovic Courtès [Sun, 22 Jun 2014 20:28:24 +0000 (22:28 +0200)]
system: Use the default 'groups' field.
* gnu/system/install.scm (installation-os): Remove 'groups' field.
* build-aux/hydra/demo-os.scm: Likewise.
Ludovic Courtès [Sun, 22 Jun 2014 20:16:14 +0000 (22:16 +0200)]
system: Augment the default set of groups.
* gnu/system/shadow.scm (%base-groups): New variable.
* gnu/system.scm (<operating-system>)[groups]: Use it as the default.
Ludovic Courtès [Sun, 22 Jun 2014 19:48:35 +0000 (21:48 +0200)]
system: Remove useless 'members' field of 'user-group'.
* gnu/system/shadow.scm (<user-group>)[members]: Remove field.
* gnu/system/install.scm (installation-os)[users]: Remove 'members'
fields. Use 'supplementary-groups' for 'guest'.
* build-aux/hydra/demo-os.scm (users): Likewise.
* gnu/services/base.scm (guix-service): Remove 'members' field.
Ludovic Courtès [Sun, 22 Jun 2014 19:14:23 +0000 (21:14 +0200)]
gnu: kmod: Honor $LINUX_MODULE_DIRECTORY.
* gnu/packages/patches/kmod-module-directory.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (kmod)[origin]: Use it.
Andreas Enge [Sat, 7 Jun 2014 19:27:30 +0000 (21:27 +0200)]
gnu: Add udev.
* gnu/packages/linux.scm (udev): New variable.
* gnu/packages/patches/udev-gir-libtool.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Andreas Enge [Sat, 7 Jun 2014 19:16:37 +0000 (21:16 +0200)]
gnu: Add kmod.
* gnu/packages/linux.scm (kmod): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Ludovic Courtès [Sat, 21 Jun 2014 15:35:56 +0000 (17:35 +0200)]
linux-initrd: Allow unionfs to have a large number of open files.
Fixes <http://bugs.gnu.org/17827>.
* guix/build/linux-initrd.scm (mount-root-file-system) [volatile-root?]:
Pass unionfs '-o max_file=65536'.
Ludovic Courtès [Sat, 21 Jun 2014 13:21:04 +0000 (15:21 +0200)]
nls: Update 'sr' translation.
Ludovic Courtès [Sat, 21 Jun 2014 10:52:34 +0000 (12:52 +0200)]
gnu: man-pages: Upgrade to 3.69.
* gnu/packages/man.scm (man-pages): Upgrade to 3.69.
Ludovic Courtès [Fri, 20 Jun 2014 22:26:31 +0000 (00:26 +0200)]
gnu: gnupg: Upgrade to 2.0.23.
* gnu/packages/gnupg.scm (gnupg): Upgrade to 2.0.23.
Ludovic Courtès [Fri, 20 Jun 2014 22:22:34 +0000 (00:22 +0200)]
gnu: global: Upgrade to 6.3.
* gnu/packages/global.scm (global): Upgrade to 6.3.
Ludovic Courtès [Fri, 20 Jun 2014 21:44:42 +0000 (23:44 +0200)]
Merge branch 'core-updates'
Ludovic Courtès [Thu, 19 Jun 2014 21:35:21 +0000 (23:35 +0200)]
substitute-binary: Warn about uninitialized ACL.
* guix/scripts/substitute-binary.scm (guix-substitute-binary): Call
'check-acl-initialized'.
(check-acl-initialized): Don't rely on 'equal?' to compare keys.
Instead, convert keys to strings.
Ludovic Courtès [Thu, 19 Jun 2014 21:29:05 +0000 (23:29 +0200)]
doc: Mention KVM support for 'guix system'.
* doc/guix.texi (Invoking guix system): Add note about KVM support.
Ludovic Courtès [Wed, 18 Jun 2014 21:28:54 +0000 (23:28 +0200)]
system: Prefer packages from %FINAL-INPUTS.
* gnu/packages/base.scm (canonical-package): New procedure.
* gnu/system.scm (%base-packages): Pass BASH, COREUTILS, FINDUTILS,
GREP, and SED through 'canonical-package'.
Ludovic Courtès [Wed, 18 Jun 2014 21:19:01 +0000 (23:19 +0200)]
guix system: 'init' makes sure the target store directory exists.
* guix/scripts/system.scm (install): Before calling 'copy-closure', make
sure directory (%store-prefix) under TARGET exists.
Ludovic Courtès [Wed, 18 Jun 2014 21:07:14 +0000 (23:07 +0200)]
gnu: isc-dhcp: In native builds, refer to the final Coreutils and sed.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add Coreutils and sed only
when (%current-target-system) is true.
Ludovic Courtès [Wed, 18 Jun 2014 15:22:29 +0000 (17:22 +0200)]
gnu: privoxy: Use etc/privoxy as the sysconfdir.
Reported by "d00000" on #guix.
* gnu/packages/tor.scm (privoxy)[arguments]: Add #:configure-flags.
Mark H Weaver [Wed, 18 Jun 2014 22:04:41 +0000 (18:04 -0400)]
gnu: gawk: Apply work around to build system for MIPS.
* gnu/packages/gawk.scm (gawk): Work around a build problem on MIPS.
Ludovic Courtès [Wed, 18 Jun 2014 14:23:06 +0000 (16:23 +0200)]
gnu: linux-libre: Upgrade to 3.15.
* gnu/packages/linux.scm (linux-libre): Upgrade to 3.15.
Ludovic Courtès [Wed, 18 Jun 2014 13:32:17 +0000 (15:32 +0200)]
gnu: kbd: Patch buggy makefile.
* gnu/packages/linux.scm (kbd)[source]: Add 'modules' and 'snippet'
fields.
Ludovic Courtès [Wed, 18 Jun 2014 13:03:13 +0000 (15:03 +0200)]
build: Add 'assert-final-inputs-self-contained' rule.
* build-aux/check-final-inputs-self-contained.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(assert-final-inputs-self-contained): New target.
(distcheck-hook): Depend on it.
Ludovic Courtès [Mon, 16 Jun 2014 22:30:16 +0000 (00:30 +0200)]
substitute-binary: Avoid the term "narinfo" in user messages.
* guix/scripts/substitute-binary.scm (assert-valid-narinfo): Change
message to avoid the term "narinfo".
Ludovic Courtès [Mon, 16 Jun 2014 22:27:15 +0000 (00:27 +0200)]
Thank Benno.
Ludovic Courtès [Mon, 16 Jun 2014 22:26:32 +0000 (00:26 +0200)]
nls: Use xgettext and msgmerge with --no-wrap.
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* po/guix/Makevars (XGETTEXT_OPTIONS): Add --no-wrap.
(MSGMERGE_OPTIONS): New variable.
* po/packages/Makevars (XGETTEXT_OPTIONS): Add --no-wrap.
(MSGMERGE_OPTIONS): New variable.
Ludovic Courtès [Mon, 16 Jun 2014 22:23:35 +0000 (00:23 +0200)]
nls: Remove obsolete messages from PO files.
Suggested by Benno Schulenberg <coordinator@translationproject.org>.
* po/guix/eo.po, po/guix/pt_BR.po, po/guix/sr.po, po/guix/vi.po,
po/packages/eo.po, po/packages/pt_BR.po, po/packages/sr.po,
po/packages/vi.po: Remove obsolete messages.
Ludovic Courtès [Sun, 15 Jun 2014 08:32:21 +0000 (10:32 +0200)]
tests: Use the C locale for 'guix package -s'.
* tests/guix-package.sh: Set LC_MESSAGES=C before the 'guix package -s'
test.
Ludovic Courtès [Mon, 16 Jun 2014 19:46:27 +0000 (21:46 +0200)]
gnu: guile-ncurses: Work around missing test files.
* gnu/packages/patches/guile-ncurses-tests.patch: New file.
* gnu/packages/guile.scm (guile-ncurses)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
Ludovic Courtès [Mon, 16 Jun 2014 15:19:34 +0000 (17:19 +0200)]
gnu: icu4c: Upgrade to 53.1.
* gnu/packages/icu4c.scm (icu4c): Upgrade to 53.1.
Ludovic Courtès [Mon, 16 Jun 2014 15:17:57 +0000 (17:17 +0200)]
gnu: icu4c: Fix failing test.
* gnu/packages/patches/icu4c-test-date-format.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c)[source]: Use it.
Ludovic Courtès [Mon, 16 Jun 2014 08:47:36 +0000 (10:47 +0200)]
gnu: qemu: Remove dependency on Samba.
* gnu/packages/qemu.scm (qemu-headless)[inputs]: Remove SAMBA.
[arguments]: Remove --smbd configure flag.
Ludovic Courtès [Sun, 15 Jun 2014 20:18:10 +0000 (22:18 +0200)]
Reverting "gnu: ncurses: Build libtinfo."
This reverts commit
953c9fcf8c1a2e0cbebadd9c07591caed7d26f8a. It turns
out that most packages (guile-ncurses, cursynth, aumix, util-linux,
etc.) expect libncurses to provide everything. So they had to be
patched to add -ltinfow to their LDFLAGS, which is counterproductive.
Other recent distros take that approach---e.g.,
<https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/259139>.
Ludovic Courtès [Sun, 15 Jun 2014 19:10:58 +0000 (21:10 +0200)]
gnu: apr: Build sequentially.
* gnu/packages/apr.scm (apr)[arguments]: New field.
Ludovic Courtès [Sun, 15 Jun 2014 09:53:02 +0000 (11:53 +0200)]
gnu: Remove dependency from gzip to the bootstrap binaries.
* gnu/packages/base.scm (grep-final): New variable.
(%boot5-inputs): Add it.
(%final-inputs): Use it.
John Darrington [Thu, 30 Jan 2014 14:27:07 +0000 (15:27 +0100)]
gnu: Add cook.
* gnu/packages/cook.scm: New file.
* gnu-system.am: New file cook.scm.
Ludovic Courtès [Sat, 14 Jun 2014 21:28:28 +0000 (23:28 +0200)]
gnu: gcc: Really avoid 'install-strip' when cross-compiling.
This is a followup to
6b9229c.
* gnu/packages/gcc.scm (gcc-4.7): Turn 'install-target' into a thunk,
so (%current-target-system) is current.
Ludovic Courtès [Sat, 14 Jun 2014 21:25:59 +0000 (23:25 +0200)]
Merge branch 'master' into core-updates
Ludovic Courtès [Sat, 14 Jun 2014 21:23:56 +0000 (23:23 +0200)]
ui: Avoid circularity with (guix gexp).
Fixes a regression introduced in
56b8210 ("guix build: Allow gexps to be
passed to '-e'.")
* guix/ui.scm (%guix-user-module): Wrap in 'delay'.
(read/eval): Adjust accordingly.
Ludovic Courtès [Sat, 14 Jun 2014 20:49:29 +0000 (22:49 +0200)]
i18n: Move package descriptions from 'guix' to 'guix-packages'.
* po/guix: Merge with po/packages as per
<https://lists.gnu.org/archive/html/guix-devel/2014-06/msg00058.html>.
* po/packages/LINGUAS: Add eo, pt_BR, sr, and vi.
Ludovic Courtès [Sat, 14 Jun 2014 20:46:30 +0000 (22:46 +0200)]
guix: Look for "guix-packages" messages in $localedir.
* scripts/guix.in (run-guix-main): Add 'bindtextdomain' call.
Ludovic Courtès [Sat, 14 Jun 2014 20:37:24 +0000 (22:37 +0200)]
guix build: Allow gexps to be passed to '-e'.
* guix/ui.scm (%guix-user-module): New variable.
(read/eval): Pass it as the second argument to 'eval'.
* guix/scripts/build.scm (options/resolve-packages): Add case for
'gexp?'.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Invoking guix build): Document '-e gexp'.
guxi build: Allow gexps to be passed to '-e'.
* guix/ui.scm (%guix-user-module): New variable.
(read/eval): Pass it as the second argument to 'eval'.
* guix/scripts/build.scm (options/resolve-packages): Add case for
'gexp?'.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Invoking guix build): Document '-e gexp'.
Ludovic Courtès [Sat, 14 Jun 2014 20:21:29 +0000 (22:21 +0200)]
gnu: gcc-4.7: Upgrade to 4.7.4.
* gnu/packages/gcc.scm (gcc-4.7): Upgrade to 4.7.4.
Ludovic Courtès [Sat, 14 Jun 2014 20:16:03 +0000 (22:16 +0200)]
gnu: gcc: Don't use the 'install-strip' target when cross-compiling.
* gnu/packages/gcc.scm (gcc-4.7): Add 'install-target' variable. Use
it in the 'install' phase.
Ludovic Courtès [Sat, 14 Jun 2014 14:04:30 +0000 (16:04 +0200)]
gnu: gcc: Fix cross-compilation of gcc (Canadian cross).
* gnu/packages/gcc.scm (gcc-4.7)[arguments] <#:make-flags>:
When (%current-target-system) is true, pass the empty list or
'("CFLAGS=-g0 -O2").
Ludovic Courtès [Sat, 14 Jun 2014 13:58:23 +0000 (15:58 +0200)]
gnu: make-bootstrap: Make sure %gcc-stripped binaries are usable.
* gnu/packages/make-bootstrap.scm (%gcc-stripped):
When (%current-target-system) is false, run gcc, g++, and cpp with
--version.
Ludovic Courtès [Sat, 14 Jun 2014 13:34:56 +0000 (15:34 +0200)]
gnu: make-bootstrap: Build %gcc-static with --disable-lto.
* gnu/packages/make-bootstrap.scm (%gcc-static): Pass --disable-lto.
Eric Bavier [Fri, 13 Jun 2014 04:54:44 +0000 (23:54 -0500)]
gnu: Add pingus.
* gnu/packages/games.scm (pingus): New variable.
* gnu/packages/patches/pingus-sdl-libs-config.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
John Darrington [Tue, 27 May 2014 06:53:30 +0000 (08:53 +0200)]
gnu: Add busybox.
* gnu/packages/busybox.scm: New file.
* gnu-system.am: Add gnu/packages/busybox.scm.
Ludovic Courtès [Fri, 13 Jun 2014 15:57:41 +0000 (17:57 +0200)]
gnu: make-bootstrap: Build libstdc++ in '%gcc-static'.
* gnu/packages/make-bootstrap.scm (%gcc-static): Re-enable C++.
Ludovic Courtès [Fri, 13 Jun 2014 15:30:40 +0000 (17:30 +0200)]
Separate package description translations from string translations.
* po/packages/LINGUAS, po/packages/Makevars, po/packages/POTFILES.in:
New files.
* po/guix/Makevars (DOMAIN): Change to "guix".
(XGETTEXT_OPTIONS): Remove "--keyword=synopsis --keyword=description".
* po/guix/POTFILES.in: Remove gnu/packages/*.scm.
* configure.ac: Change to gettext 0.18.3. Produce
po/packages/Makefile.in.
* Makefile.am (SUBDIRS): Add po/packages.
* guix/ui.scm (%package-text-domain): New variable.
(P_): New procedure.
(package->recutils): Use 'P_' instead of '_'.
* guix/scripts/package.scm (find-packages-by-description): Use 'P_'
instead of 'gettext'.
Ludovic Courtès [Fri, 13 Jun 2014 14:15:18 +0000 (16:15 +0200)]
Move gettext files to 'po/guix'.
* po: Rename to...
* po/guix: ... this.
* po/guix/Makevars (subdir, top_builddir): Adjust accordingly.
* configure.ac: Change 'po/Makefile.in' to 'po/guix/Makefile.in'.
* Makefile.am (SUBDIRS): Change 'po' to 'po/guix'.
Ludovic Courtès [Fri, 13 Jun 2014 13:57:23 +0000 (15:57 +0200)]
gnu: make-bootstrap: Use single-output GCCs.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[native-inputs]:
Add 'outputs' field for the rewritten GCC.
(%gcc-stripped): Add 'outputs' field.
Ludovic Courtès [Fri, 13 Jun 2014 09:42:33 +0000 (11:42 +0200)]
pull: Copy and compile gnu.scm.
* guix/build/pull.scm (build-guix): Copy gnu.scm to OUT.
Ludovic Courtès [Thu, 12 Jun 2014 21:35:02 +0000 (23:35 +0200)]
gnu: grep: Upgrade to 2.20.
* gnu/packages/base.scm (grep): Upgrade to 2.20.
Ludovic Courtès [Thu, 12 Jun 2014 21:33:15 +0000 (23:33 +0200)]
gnu: gettext: Upgrade to 0.19.1.
* gnu/packages/gettext.scm (gnu-gettext): Upgrade to 0.19.1.
Ludovic Courtès [Thu, 12 Jun 2014 21:27:25 +0000 (23:27 +0200)]
gnu: make-bootstrap: Fix compilation of %gcc-static.
* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]
<#:configure-flags>: Add --disable-bootstrap
--with-stage1-ldflags=-static.
Remove #:make-flags.
John Darrington [Thu, 12 Jun 2014 11:03:53 +0000 (13:03 +0200)]
gnu: Add tinyproxy.
* gnu/packages/web.scm (tinyproxy): New variable.
* gnu/packages/docbook.scm: Remove #:select (tar)
John Darrington [Thu, 12 Jun 2014 12:46:39 +0000 (14:46 +0200)]
gnu: Add dropbear.
* gnu/packages/ssh.scm (dropbear): New variable.
Ludovic Courtès [Mon, 9 Jun 2014 20:45:01 +0000 (22:45 +0200)]
gnu: cross-gcc: Use a single output.
* gnu/packages/cross-base.scm (cross-gcc): Add 'outputs' field.
Ludovic Courtès [Mon, 9 Jun 2014 16:54:52 +0000 (18:54 +0200)]
guix build: Only 'guix build' sets #:print-build-trace.
This makes 'guix package' et al. slightly less verbose, by not emitting
"@ substituter-started" lines and similar.
* guix/scripts/build.scm (set-build-options-from-command-line): Pass
#:print-build-trace.
(%default-options): Add 'print-build-trace?'.
Ludovic Courtès [Mon, 9 Jun 2014 16:51:44 +0000 (18:51 +0200)]
doc: Add a few words on the term "derivation".
* doc/guix.texi (Programming Interface): Add a sentence on "derivation".
Ludovic Courtès [Mon, 9 Jun 2014 16:51:11 +0000 (18:51 +0200)]
Thank Carlos.
Ludovic Courtès [Mon, 9 Jun 2014 16:50:16 +0000 (18:50 +0200)]
gnu: skribilo: Propagate Guile dependencies.
Reported by Carlos Carleos <carleos@uniovi.es>.
* gnu/packages/skribilo.scm (skribilo)[inputs]: Move
GUILE-READER/GUILE-2.0 and GUILE-LIB to...
[propagated-inputs]: ... here. New field.
Ludovic Courtès [Mon, 9 Jun 2014 10:22:05 +0000 (12:22 +0200)]
gnu: coreutils: Remove run-time dependency on Bash.
* gnu/packages/base.scm (coreutils)[arguments] <patch-shell-references>:
Leave src/split.c unpatched. Set $SHELL. Use .../bin/sh and not
.../bin/bash in tests.
Ludovic Courtès [Mon, 9 Jun 2014 09:58:43 +0000 (11:58 +0200)]
gnu: gcc: Add a "lib" output.
* gnu/packages/gcc.scm (gcc-4.7)[configure-flags]: Add
--with-gxx-include-dir.
[outputs]: New field.
[arguments] <phases>: Adjust to use the "lib" output. Add
'substitute*' calls for "libstdc++-v3/python/Makefile.in" and
"gcc/config.in".
* gnu/packages/base.scm (gcc-boot0) <symlink-libgcc_eh>: Use the "lib"
output.
(cross-gcc-wrapper): Add 'outputs' field.
(glibc-final)[arguments]: Adjust #:allowed-references to list
'(GCC-BOOT0 "lib").
(libstdc++): Add 'outputs' field.
(gcc-final)[arguments]: Add "lib" to #:allowed-references.
* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'outputs' field.
Ludovic Courtès [Sun, 8 Jun 2014 21:24:04 +0000 (23:24 +0200)]
gnu: glibc-final: Remove top-level circular dependency.
This fixes a top-level circular dependency between linux.scm and
base.scm introduced in
2e92375.
* gnu/packages/base.scm (glibc-final): Remove call to
'package-with-restricted-references', and use an 'arguments' field
instead.
Ludovic Courtès [Sun, 8 Jun 2014 08:54:44 +0000 (10:54 +0200)]
gnu: libunistring: Work around parallel build issue.
* gnu/packages/libunistring.scm (libunistring)[arguments]: New field.
Eric Bavier [Thu, 5 Jun 2014 04:45:31 +0000 (23:45 -0500)]
gnu: rdup: Fix tests.
* gnu/packages/backup.scm (rdup) [arguments]: Add pre-check phase.
[origin]: Add snippet.
Ludovic Courtès [Sat, 7 Jun 2014 20:42:57 +0000 (22:42 +0200)]
gnu: gettext: Remove debugging leftover.
* gnu/packages/gettext.scm (gnu-gettext)[source](patches): Remove.
Ludovic Courtès [Sat, 7 Jun 2014 18:20:09 +0000 (20:20 +0200)]
gnu: gcc-final: Make sure the output refers only to libc.
* gnu/packages/base.scm (gcc-final)[arguments]: Add
#:allowed-references.
Ludovic Courtès [Sat, 7 Jun 2014 17:39:23 +0000 (19:39 +0200)]
gnu: binutils-final: Make sure the output refers only to libc.
* gnu/packages/base.scm (binutils-final)[arguments]: Add
#:allowed-references.
Ludovic Courtès [Sat, 7 Jun 2014 17:36:50 +0000 (19:36 +0200)]
gnu: glibc-final: Make sure we hold just the right set of references.
* gnu/packages/base.scm (glibc-final): Wrap in
'package-with-restricted-references'.
Ludovic Courtès [Sat, 7 Jun 2014 17:35:20 +0000 (19:35 +0200)]
build-system/gnu: Add 'package-with-restricted-references'.
* guix/build-system/gnu.scm (package-with-restricted-references): New
procedure.
Ludovic Courtès [Sat, 7 Jun 2014 15:23:53 +0000 (17:23 +0200)]
gnu: glibc: Make sure the bootstrap libc is not in $CPATH.
This fixes a bug whereby the bootstrap-glibc headers could be picked up
when building libc.so, which could be noticed by the fact that the
.debug files contained references to bootstrap-glibc.
* gnu/packages/base.scm (glibc-final-with-bootstrap-bash)[arguments]:
Add 'pre-configure' phase.
[inputs]: Remove 'alist-delete' call.
Ludovic Courtès [Fri, 6 Jun 2014 22:38:17 +0000 (00:38 +0200)]
gnu: Build the final Coreutils before Findutils.
This fixes a bug whereby Findutils' 'updatedb' script would retain a
reference to the bootstrap binaries ('sort', etc.)
* gnu/packages/base.scm (coreutils-final, %boot5-inputs): New variables.
(%final-inputs): Use them.
Ludovic Courtès [Fri, 6 Jun 2014 22:35:34 +0000 (00:35 +0200)]
gnu: gettext: Upgrade to 0.19.
* gnu/packages/gettext.scm (gnu-gettext): Upgrade to 0.19.
[arguments] <phases>: Remove now unneeded 'link-expat' phase. Patch
lang-sh and msgfilter test scripts; patch msginit.c and project-id.
Add #:make-flags.
Ludovic Courtès [Fri, 6 Jun 2014 15:23:14 +0000 (17:23 +0200)]
Merge branch 'master' into core-updates
Ludovic Courtès [Fri, 6 Jun 2014 15:18:17 +0000 (17:18 +0200)]
build-system/gnu: Add #:allowed-references.
* guix/build-system/gnu.scm (gnu-build): Add #:allowed-references.
[canonicalize-reference]: New procedure.
Pass #:allowed-references to 'build-expression->derivation'.
(gnu-cross-build): Likewise.
Ludovic Courtès [Fri, 6 Jun 2014 15:07:26 +0000 (17:07 +0200)]
derivations: 'build-expression->derivation' supports #:allowed-references.
* guix/derivations.scm (build-expression->derivation): Add
#:allowed-references and pass it to 'derivation.
* doc/guix.texi (Derivations): Adjust accordingly.
Ludovic Courtès [Thu, 5 Jun 2014 22:09:12 +0000 (00:09 +0200)]
services: Use a fixed GID for the build group and use that for the store.
This partly reverts commit
185f669 ("services: Make sure the store's
group is the build group.")
* gnu/services/base.scm (guix-service)[activate]: Remove 'chown' call.
Add 'id' field to 'user-group' form.
* guix/build/install.scm (directives): Set the store's GID to 30000.
Ludovic Courtès [Thu, 5 Jun 2014 11:38:57 +0000 (13:38 +0200)]
gnu: Add WakeLan.
* gnu/packages/admin.scm (wakelan): New variable.
Mark H Weaver [Thu, 5 Jun 2014 20:36:25 +0000 (16:36 -0400)]
gnu: openssl: Upgrade to 1.0.1h.
* gnu/packages/openssl.scm (openssl): Upgrade to 1.0.1h. Remove
patches, which are now upstream.
* gnu/packages/patches/openssl-extension-checking-fixes.patch: Remove.
* gnu/packages/patches/openssl-CVE-2010-5298.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove them.
Ludovic Courtès [Wed, 4 Jun 2014 21:55:12 +0000 (23:55 +0200)]
gnu: bdb: Move documentation to "doc" output.
* gnu/packages/bdb.scm (bdb): Add 'outputs' field. Adjust 'configure'
phase to move documentation to the "doc" output.
Ludovic Courtès [Wed, 4 Jun 2014 21:32:46 +0000 (23:32 +0200)]
gnu: Set proper source location for 'gcc-final'.
* gnu/packages/base.scm (gcc-final)[location]: New field.
Reported by Andreas Enge <andreas@enge.fr>.
Ludovic Courtès [Wed, 4 Jun 2014 21:08:59 +0000 (23:08 +0200)]
install: Add missing argv[0] in Info invocation.
* gnu/system/install.scm (log-to-info): Add "info" as second argument to
'execl'.
Ludovic Courtès [Wed, 4 Jun 2014 21:08:09 +0000 (23:08 +0200)]
activation: Only create groups that do not exist yet.
Before that the effect would be to re-create groups at each boot, and
thus remove any members of the groups.
* guix/build/activation.scm (activate-users+groups): Call 'add-group'
only when (getgrname name) fails.
Ludovic Courtès [Wed, 4 Jun 2014 20:19:30 +0000 (22:19 +0200)]
services: Make sure the store's group is the build group.
* gnu/services/base.scm (guix-service)[activate]: New variable. Add
'chown' call for (%store-prefix). Set the 'activate' field to
ACTIVATE.
* guix/build/install.scm (directives): Add comment about STORE's group.
Ludovic Courtès [Wed, 4 Jun 2014 20:17:20 +0000 (22:17 +0200)]
services: Add the build group to the supplementary groups of build users.
* gnu/services/base.scm (guix-build-accounts): Add
'supplementary-groups' field.
Ludovic Courtès [Wed, 4 Jun 2014 15:26:54 +0000 (17:26 +0200)]
tests: Skip tests that would hit the shebang length limitation.
* tests/gexp.scm (shebang): New variable.
Skip "gexp->script" when SHEBANG is longer than 127 chars.
* guix/gexp.scm (gexp->script): Add comment on the issue.
Ludovic Courtès [Wed, 4 Jun 2014 14:22:48 +0000 (16:22 +0200)]
system: Tell module-init-tools where to look for modules.
* gnu/packages/linux.scm (module-init-tools)[source](patches): New
field.
* gnu/packages/patches/module-init-tools-moduledir.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/system.scm (etc-directory): Add #:kernel parameter. Set
'LINUX_MODULE_DIRECTORY' in bashrc.
(operating-system-etc-directory): Pass #:kernel to 'etc-directory'.
Ludovic Courtès [Wed, 4 Jun 2014 14:08:26 +0000 (16:08 +0200)]
system: Rename activation script.
* gnu/system.scm (operating-system-activation-script): Change file name
to "activate".