jackhill/guix/guix.git
10 years agognu: moe: Upgrade to 1.6.
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.

10 years agoguix system: Gracefully handle 'install-grub' errors.
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.

10 years agognu: Move JSON-C to (gnu packages web).
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.

10 years agognu: json-c: Upgrade to 0.12.
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.

10 years agoinstall: Use udev.
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'.

10 years agoservices: Add udev service, and add it to '%base-services'.
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.

10 years agognu: Add notmuch.
David Thompson [Sun, 15 Jun 2014 00:52:09 +0000 (20:52 -0400)]
gnu: Add notmuch.

* gnu/packages/mail.scm (notmuch): New variable.

10 years agognu: Add dtach.
David Thompson [Sun, 6 Apr 2014 18:36:31 +0000 (14:36 -0400)]
gnu: Add dtach.

gnu/packages/screen.scm (dtach): New variable.

10 years agognu: Add talloc.
David Thompson [Sun, 6 Apr 2014 16:25:57 +0000 (12:25 -0400)]
gnu: Add talloc.

* gnu/packages/samba.scm (talloc): New variable.

10 years agosystem: Use the default 'groups' field.
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.

10 years agosystem: Augment the default set of groups.
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.

10 years agosystem: Remove useless 'members' field of 'user-group'.
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.

10 years agognu: kmod: Honor $LINUX_MODULE_DIRECTORY.
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.

10 years agognu: Add udev.
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>
10 years agognu: Add kmod.
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>
10 years agolinux-initrd: Allow unionfs to have a large number of open files.
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'.

10 years agonls: Update 'sr' translation.
Ludovic Courtès [Sat, 21 Jun 2014 13:21:04 +0000 (15:21 +0200)]
nls: Update 'sr' translation.

10 years agognu: man-pages: Upgrade to 3.69.
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.

10 years agognu: gnupg: Upgrade to 2.0.23.
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.

10 years agognu: global: Upgrade to 6.3.
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.

10 years agoMerge branch 'core-updates'
Ludovic Courtès [Fri, 20 Jun 2014 21:44:42 +0000 (23:44 +0200)]
Merge branch 'core-updates'

10 years agosubstitute-binary: Warn about uninitialized ACL.
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.

10 years agodoc: Mention KVM support for 'guix system'.
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.

10 years agosystem: Prefer packages from %FINAL-INPUTS.
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'.

10 years agoguix system: 'init' makes sure the target store directory exists.
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.

10 years agognu: isc-dhcp: In native builds, refer to the final Coreutils and sed.
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.

10 years agognu: privoxy: Use etc/privoxy as the sysconfdir.
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.

10 years agognu: gawk: Apply work around to build system for MIPS.
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.

10 years agognu: linux-libre: Upgrade to 3.15.
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.

10 years agognu: kbd: Patch buggy makefile.
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.

10 years agobuild: Add 'assert-final-inputs-self-contained' rule.
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.

10 years agosubstitute-binary: Avoid the term "narinfo" in user messages.
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".

10 years agoThank Benno.
Ludovic Courtès [Mon, 16 Jun 2014 22:27:15 +0000 (00:27 +0200)]
Thank Benno.

10 years agonls: Use xgettext and msgmerge with --no-wrap.
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.

10 years agonls: Remove obsolete messages from PO files.
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.

10 years agotests: Use the C locale for 'guix package -s'.
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.

10 years agognu: guile-ncurses: Work around missing test files.
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.

10 years agognu: icu4c: Upgrade to 53.1.
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.

10 years agognu: icu4c: Fix failing test.
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.

10 years agognu: qemu: Remove dependency on Samba.
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.

10 years agoReverting "gnu: ncurses: Build libtinfo."
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>.

10 years agognu: apr: Build sequentially.
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.

10 years agognu: Remove dependency from gzip to the bootstrap binaries.
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.

10 years agognu: Add cook.
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.

10 years agognu: gcc: Really avoid 'install-strip' when cross-compiling.
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.

10 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Sat, 14 Jun 2014 21:25:59 +0000 (23:25 +0200)]
Merge branch 'master' into core-updates

10 years agoui: Avoid circularity with (guix gexp).
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.

10 years agoi18n: Move package descriptions from 'guix' to 'guix-packages'.
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.

10 years agoguix: Look for "guix-packages" messages in $localedir.
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.

10 years agoguix build: Allow gexps to be passed to '-e'.
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'.

10 years agognu: gcc-4.7: Upgrade to 4.7.4.
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.

10 years agognu: gcc: Don't use the 'install-strip' target when cross-compiling.
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.

10 years agognu: gcc: Fix cross-compilation of gcc (Canadian cross).
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").

10 years agognu: make-bootstrap: Make sure %gcc-stripped binaries are usable.
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.

10 years agognu: make-bootstrap: Build %gcc-static with --disable-lto.
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.

10 years agognu: Add pingus.
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.

10 years agognu: Add busybox.
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.

10 years agognu: make-bootstrap: Build libstdc++ in '%gcc-static'.
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++.

10 years agoSeparate package description translations from string translations.
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'.

10 years agoMove gettext files to 'po/guix'.
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'.

10 years agognu: make-bootstrap: Use single-output GCCs.
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.

10 years agopull: Copy and compile gnu.scm.
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.

10 years agognu: grep: Upgrade to 2.20.
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.

10 years agognu: gettext: Upgrade to 0.19.1.
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.

10 years agognu: make-bootstrap: Fix compilation of %gcc-static.
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.

10 years agognu: Add tinyproxy.
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)

10 years agognu: Add dropbear.
John Darrington [Thu, 12 Jun 2014 12:46:39 +0000 (14:46 +0200)]
gnu: Add dropbear.

* gnu/packages/ssh.scm (dropbear): New variable.

10 years agognu: cross-gcc: Use a single output.
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.

10 years agoguix build: Only 'guix build' sets #:print-build-trace.
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?'.

10 years agodoc: Add a few words on the term "derivation".
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".

10 years agoThank Carlos.
Ludovic Courtès [Mon, 9 Jun 2014 16:51:11 +0000 (18:51 +0200)]
Thank Carlos.

10 years agognu: skribilo: Propagate Guile dependencies.
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.

10 years agognu: coreutils: Remove run-time dependency on Bash.
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.

10 years agognu: gcc: Add a "lib" output.
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.

10 years agognu: glibc-final: Remove top-level circular dependency.
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.

10 years agognu: libunistring: Work around parallel build issue.
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.

10 years agognu: rdup: Fix tests.
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.

10 years agognu: gettext: Remove debugging leftover.
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.

10 years agognu: gcc-final: Make sure the output refers only to libc.
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.

10 years agognu: binutils-final: Make sure the output refers only to libc.
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.

10 years agognu: glibc-final: Make sure we hold just the right set of 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'.

10 years agobuild-system/gnu: Add '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.

10 years agognu: glibc: Make sure the bootstrap libc is not in $CPATH.
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.

10 years agognu: Build the final Coreutils before Findutils.
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.

10 years agognu: gettext: Upgrade to 0.19.
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.

10 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Fri, 6 Jun 2014 15:23:14 +0000 (17:23 +0200)]
Merge branch 'master' into core-updates

10 years agobuild-system/gnu: Add #:allowed-references.
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.

10 years agoderivations: 'build-expression->derivation' supports #:allowed-references.
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.

10 years agoservices: Use a fixed GID for the build group and use that for the store.
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.

10 years agognu: Add WakeLan.
Ludovic Courtès [Thu, 5 Jun 2014 11:38:57 +0000 (13:38 +0200)]
gnu: Add WakeLan.

* gnu/packages/admin.scm (wakelan): New variable.

10 years agognu: openssl: Upgrade to 1.0.1h.
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.

10 years agognu: bdb: Move documentation to "doc" output.
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.

10 years agognu: Set proper source location for 'gcc-final'.
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>.

10 years agoinstall: Add missing argv[0] in Info invocation.
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'.

10 years agoactivation: Only create groups that do not exist yet.
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.

10 years agoservices: Make sure the store's group is the build group.
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.

10 years agoservices: Add the build group to the supplementary groups of build users.
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.

10 years agotests: Skip tests that would hit the shebang length limitation.
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.

10 years agosystem: Tell module-init-tools where to look for modules.
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'.

10 years agosystem: Rename activation script.
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".