Ludovic Courtès
81f61c17c5
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.
2014-06-18 15:03:13 +02:00
Ludovic Courtès
2eea253f4d
substitute-binary: Avoid the term "narinfo" in user messages.
...
* guix/scripts/substitute-binary.scm (assert-valid-narinfo): Change
message to avoid the term "narinfo".
2014-06-17 00:30:16 +02:00
Ludovic Courtès
26fd908fcf
Thank Benno.
2014-06-17 00:27:15 +02:00
Ludovic Courtès
648453e8d6
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.
2014-06-17 00:26:32 +02:00
Ludovic Courtès
7f52946adf
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.
2014-06-17 00:24:25 +02:00
Ludovic Courtès
278b64283a
tests: Use the C locale for 'guix package -s'.
...
* tests/guix-package.sh: Set LC_MESSAGES=C before the 'guix package -s'
test.
2014-06-16 23:49:05 +02:00
Ludovic Courtès
c4e52354c6
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.
2014-06-16 21:46:27 +02:00
Ludovic Courtès
1319cfe946
gnu: icu4c: Upgrade to 53.1.
...
* gnu/packages/icu4c.scm (icu4c): Upgrade to 53.1.
2014-06-16 17:19:34 +02:00
Ludovic Courtès
eb705bb3f7
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.
2014-06-16 17:18:47 +02:00
Ludovic Courtès
b344c505f4
gnu: qemu: Remove dependency on Samba.
...
* gnu/packages/qemu.scm (qemu-headless)[inputs]: Remove SAMBA.
[arguments]: Remove --smbd configure flag.
2014-06-16 10:47:36 +02:00
Ludovic Courtès
7190ae7743
Reverting "gnu: ncurses: Build libtinfo."
...
This reverts commit 953c9fcf8c
. 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 >.
2014-06-15 22:18:10 +02:00
Ludovic Courtès
c3428a08be
gnu: apr: Build sequentially.
...
* gnu/packages/apr.scm (apr)[arguments]: New field.
2014-06-15 21:10:58 +02:00
Ludovic Courtès
09ba396c02
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.
2014-06-15 11:53:02 +02:00
John Darrington
feadf100a2
gnu: Add cook.
...
* gnu/packages/cook.scm: New file.
* gnu-system.am: New file cook.scm.
2014-06-15 06:52:06 +02:00
Ludovic Courtès
5c860cec83
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.
2014-06-14 23:28:28 +02:00
Ludovic Courtès
7470df5ddf
Merge branch 'master' into core-updates
2014-06-14 23:25:59 +02:00
Ludovic Courtès
07254feb24
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.
2014-06-14 23:23:56 +02:00
Ludovic Courtès
240a2775de
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.
2014-06-14 22:55:59 +02:00
Ludovic Courtès
243cea2461
guix: Look for "guix-packages" messages in $localedir.
...
* scripts/guix.in (run-guix-main): Add 'bindtextdomain' call.
2014-06-14 22:55:59 +02:00
Ludovic Courtès
56b8210697
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'.
2014-06-14 22:55:59 +02:00
Ludovic Courtès
d2e2f14226
gnu: gcc-4.7: Upgrade to 4.7.4.
...
* gnu/packages/gcc.scm (gcc-4.7): Upgrade to 4.7.4.
2014-06-14 22:21:29 +02:00
Ludovic Courtès
6b9229ca51
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.
2014-06-14 22:16:03 +02:00
Ludovic Courtès
fd0b276624
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").
2014-06-14 16:04:38 +02:00
Ludovic Courtès
6e3ecad6ca
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.
2014-06-14 15:58:23 +02:00
Ludovic Courtès
c4873bc4f5
gnu: make-bootstrap: Build %gcc-static with --disable-lto.
...
* gnu/packages/make-bootstrap.scm (%gcc-static): Pass --disable-lto.
2014-06-14 15:34:56 +02:00
Eric Bavier
a83c6a6471
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.
2014-06-13 14:11:14 -05:00
John Darrington
95faa10714
gnu: Add busybox.
...
* gnu/packages/busybox.scm: New file.
* gnu-system.am: Add gnu/packages/busybox.scm.
2014-06-13 20:21:26 +02:00
Ludovic Courtès
97b465feb1
gnu: make-bootstrap: Build libstdc++ in '%gcc-static'.
...
* gnu/packages/make-bootstrap.scm (%gcc-static): Re-enable C++.
2014-06-13 17:57:41 +02:00
Ludovic Courtès
ee76417972
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'.
2014-06-13 17:30:40 +02:00
Ludovic Courtès
ef1a9bb7d6
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'.
2014-06-13 16:31:18 +02:00
Ludovic Courtès
37550e67b9
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.
2014-06-13 15:57:23 +02:00
Ludovic Courtès
9d0b8fbd78
pull: Copy and compile gnu.scm.
...
* guix/build/pull.scm (build-guix): Copy gnu.scm to OUT.
2014-06-13 11:42:33 +02:00
Ludovic Courtès
df142dd40e
gnu: grep: Upgrade to 2.20.
...
* gnu/packages/base.scm (grep): Upgrade to 2.20.
2014-06-12 23:35:02 +02:00
Ludovic Courtès
cf02d3a5d7
gnu: gettext: Upgrade to 0.19.1.
...
* gnu/packages/gettext.scm (gnu-gettext): Upgrade to 0.19.1.
2014-06-12 23:33:15 +02:00
Ludovic Courtès
288a09ca91
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.
2014-06-12 23:27:25 +02:00
John Darrington
b777d784a0
gnu: Add tinyproxy.
...
* gnu/packages/web.scm (tinyproxy): New variable.
* gnu/packages/docbook.scm: Remove #:select (tar)
2014-06-12 16:08:14 +02:00
John Darrington
8c6cfd553e
gnu: Add dropbear.
...
* gnu/packages/ssh.scm (dropbear): New variable.
2014-06-12 16:01:56 +02:00
Ludovic Courtès
a49c57a793
gnu: cross-gcc: Use a single output.
...
* gnu/packages/cross-base.scm (cross-gcc): Add 'outputs' field.
2014-06-09 22:45:01 +02:00
Ludovic Courtès
b6b097ac81
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?'.
2014-06-09 18:55:48 +02:00
Ludovic Courtès
49ad317ae1
doc: Add a few words on the term "derivation".
...
* doc/guix.texi (Programming Interface): Add a sentence on "derivation".
2014-06-09 18:55:48 +02:00
Ludovic Courtès
f9057dba6a
Thank Carlos.
2014-06-09 18:55:47 +02:00
Ludovic Courtès
6ec2e6b0c9
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.
2014-06-09 18:55:47 +02:00
Ludovic Courtès
b47b2b5275
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.
2014-06-09 12:22:59 +02:00
Ludovic Courtès
84e6756c57
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.
2014-06-09 11:58:43 +02:00
Ludovic Courtès
e0a0c84b4f
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.
2014-06-08 23:24:04 +02:00
Ludovic Courtès
3916023228
gnu: libunistring: Work around parallel build issue.
...
* gnu/packages/libunistring.scm (libunistring)[arguments]: New field.
2014-06-08 10:54:44 +02:00
Eric Bavier
e531172d11
gnu: rdup: Fix tests.
...
* gnu/packages/backup.scm (rdup) [arguments]: Add pre-check phase.
[origin]: Add snippet.
2014-06-07 21:49:54 -05:00
Ludovic Courtès
a744719d70
gnu: gettext: Remove debugging leftover.
...
* gnu/packages/gettext.scm (gnu-gettext)[source](patches): Remove.
2014-06-07 22:42:57 +02:00
Ludovic Courtès
2e6a134515
gnu: gcc-final: Make sure the output refers only to libc.
...
* gnu/packages/base.scm (gcc-final)[arguments]: Add
#:allowed-references.
2014-06-07 20:20:09 +02:00
Ludovic Courtès
592e8660a1
gnu: binutils-final: Make sure the output refers only to libc.
...
* gnu/packages/base.scm (binutils-final)[arguments]: Add
#:allowed-references.
2014-06-07 19:39:23 +02:00