Ludovic Courtès
9be8d7c8cb
gnu: Define `native-search-paths' for Automake, Guile, and Python.
...
* gnu/packages/autotools.scm (automake)[native-search-paths]: New field.
* gnu/packages/guile.scm (guile-1.8)[native-search-paths]: New field.
(guile-2.0)[native-search-paths]: New field.
* gnu/packages/python.scm (python)[native-search-paths]: New field.
2013-03-30 22:57:05 +01:00
Ludovic Courtès
a18eda2747
packages: Add `native-search-paths' field and honor it.
...
* guix/packages.scm (<search-path-specification>): New record type.
(search-path-specification->sexp): New procedure.
(<package>)[native-search-paths]: New field.
(package-derivation): Accumulate the search paths, and pass them
as #:search-paths toe BUILDER.
* guix/build-system/gnu.scm (gnu-build): Add #:search-paths. Compute
`implicit-search-paths'. Pass #:search-paths in BUILDER.
* guix/build-system/perl.scm (perl-build): Add #:search-paths, pass it
to BUILDER with the search paths of PERL.
* guix/build-system/cmake.scm (cmake-build): Add #:search-paths, pass it
to BUILDER.
* guix/build-system/trivial.scm (trivial-build): Add #:search-paths,
ignore it.
* guix/build/gnu-build-system.scm (set-paths): Add #:search-paths.
Remove explicit settings of CPATH, LIBRARY_PATH, and PKG_CONFIG_PATH.
Instead, walk SEARCH-PATHS and call `set-path-environment-variable'
for them.
* guix/build/perl-build-system.scm (perl-build): Remove PERL5LIB setting.
* tests/packages.scm ("search paths"): New test.
* gnu/packages/bootstrap.scm (%bootstrap-guile)[raw]: Add
#:search-paths.
(%bootstrap-gcc): Add `native-search-paths' field.
* gnu/packages/perl.scm (perl): Likewise.
* gnu/packages/pkg-config.scm (pkg-config): Likewise.
* gnu/packages/glib.scm (intltool): Remove `arguments'.
* gnu/packages/avahi.scm (avahi): Remove #:phases.
2013-03-30 22:57:03 +01:00
Ludovic Courtès
5cfdb4bcac
build: Pass the appropriate flags when building `libstore.a'.
...
* daemon.am (libstore_a_CFLAGS): Rename to...
(libstore_a_CXXFLAGS): ... this.
2013-03-30 21:49:17 +01:00
Ludovic Courtès
a96748bb46
build-system/gnu: Remove #:path-exclusions parameter.
...
* guix/build/gnu-build-system.scm (set-paths): Remove `path-exclusions'
parameter. Replace `relevant-input-directories' by
`input-directories'.
* guix/build-system/gnu.scm (gnu-build): Remove `path-exclusions'
parameter; don't pass it in BUILDER.
* guix/build-system/cmake.scm (cmake-build): Likewise.
2013-03-30 21:46:59 +01:00
Ludovic Courtès
4928e50033
Merge branch 'master' into core-updates
...
Conflicts:
Makefile.am
gnu/packages/base.scm
2013-03-29 21:44:31 +01:00
Ludovic Courtès
3f5a932eea
snix: Adjust import to current Nixpkgs input attribute names.
...
* guix/snix.scm (snix-derivation->guix-package): Use the new names
`nativeBuildInputs' and `propagatedNativeBuildInputs'.
2013-03-29 00:16:58 +01:00
Nikita Karetnikov
f9bbf2a819
gnu-maintenance: Improve 'official-gnu-packages'; add related procedures.
...
* guix/gnu-maintenance.scm (http-fetch): Return an input port.
(<gnu-package-descriptor>): Add it.
(official-gnu-packages): Use <gnu-package-descriptor>.
(find-packages): Add it.
(gnu-package?): Adjust accordingly.
2013-03-28 22:00:10 +00:00
Cyril Roelandt
c6bded8a29
Add (guix build-system cmake).
...
* guix/build/cmake-build-system.scm, guix/build-system/cmake.scm: New files.
* Makefile.am (MODULES): Add them.
2013-03-28 21:04:54 +01:00
Ludovic Courtès
bb90ad83b1
build: Set %fresh-auto-compile' in
hydra.scm'.
...
* hydra.scm: Set `%fresh-auto-compile' to #t.
2013-03-28 00:14:38 +01:00
Ludovic Courtès
c415f14538
gnu: make-bootstrap: Import (gnu packages gcc).
...
* gnu/packages/make-bootstrap.scm: Import (gnu packages gcc).
2013-03-27 23:47:54 +01:00
Ludovic Courtès
c9f94132ca
download: Remove unreliable GNU mirror.
...
* guix/download.scm (%mirrors)[gnu]: Remove ftp.chg.ru.
2013-03-27 15:50:18 +01:00
Ludovic Courtès
5c126b645e
gnu: Add libelf.
...
* gnu/packages/gcc.scm (libelf): New variable.
2013-03-27 15:47:48 +01:00
Ludovic Courtès
832abc7687
gnu: Add ISL and CLooG.
...
* gnu/packages/gcc.scm (%gcc-infrastructure, isl, cloog): New variables.
2013-03-27 15:37:27 +01:00
Ludovic Courtès
e9c0b9446b
gnu: Move GCC to its own module.
...
* gnu/packages/base.scm (gcc-4.7): Move to...
* gnu/packages/gcc.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
2013-03-27 15:13:25 +01:00
Ludovic Courtès
785db4d877
glib: Patch around prlimit(2) failure.
...
* gnu/packages/glib.scm (glib)[source]: Switch to mirror://gnome.
[inputs]: Add `patch/tests-prlimit'.
[arguments]: Add it.
* gnu/packages/patches/glib-tests-prlimit.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
2013-03-27 15:01:30 +01:00
Ludovic Courtès
0b5aa854a0
build: `hydra.scm' changes %load-path to refer to itself.
...
* hydra.scm: Add `eval-when' clause.
2013-03-27 00:24:54 +01:00
Ludovic Courtès
da0a26d2a7
Update `TODO'.
2013-03-27 00:11:57 +01:00
Ludovic Courtès
7bf569186c
gnu: Add GNU cflow.
...
* gnu/packages/cflow.scm: New file.
* Makefile.am (MODULES): Add it.
2013-03-26 22:43:41 +01:00
Ludovic Courtès
47a9cb950a
gnu: Add GNU cppi.
...
* gnu/packages/cppi.scm: New file.
* Makefile.am (MODULES): Add it.
2013-03-26 22:32:18 +01:00
Ludovic Courtès
128663e4c8
store: Really disable file name canonicalization for derivation inputs.
...
* guix/store.scm (write-contents)[call-with-binary-input-file]: Set
%FILE-PORT-NAME-CANONICALIZATION to #f.
* gnu/packages.scm (search-patch, search-bootstrap-binary): Leave
%FILE-PORT-NAME-CANONICALIZATION unchanged. This reverts 9776ebb
.
2013-03-22 23:15:34 +01:00
Ludovic Courtès
238f739777
store: Use `sendfile' when available.
...
* guix/store.scm (write-contents)[call-with-binary-input-file]: New
procedure.
Use `sendfile' instead of `dump' when available. Add `size'
parameter.
(write-file): Update caller.
2013-03-22 23:15:34 +01:00
Andreas Enge
14a3a67364
gnu: Update mpfr to 3.1.2.
...
* gnu/packages/multiprecision.scm (mpfr): Update to 3.1.2.
2013-03-22 13:04:41 +01:00
Cyril Roelandt
b6a64843c6
gnu: Add cmake.
...
* gnu/packages/cmake.scm: New file.
* gnu/packages/patches/cmake-fix-tests.patch: New file.
* Makefile.am: Add them.
2013-03-21 19:53:29 +01:00
Ludovic Courtès
9776ebb2a5
gnu: Disable file name canonicalization in `search-*'.
...
* gnu/packages.scm (search-patch, search-bootstrap-binary): Make sure no
canonicalization occurs. This reduces the number of 'stat' system
calls.
2013-03-21 00:32:26 +01:00
Cyril Roelandt
712e6e684c
gnu: Add lua.
...
* gnu/packages/lua.scm: New file.
* Makefile.am: add it.
2013-03-19 23:27:04 +01:00
Ludovic Courtès
84a3e3b776
gnu: libgcrypt: Upgrade to 1.5.1.
...
* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.5.1.
2013-03-19 17:54:00 +01:00
Ludovic Courtès
881a4cf13a
Work around < http://bugs.gnu.org/13095 > in build-aux/download.scm.
...
* build-aux/download.scm: Annihilate `shutdown' in (web client).
Reported by Aljosha Papsch.
2013-03-19 16:57:46 +01:00
Ludovic Courtès
ce41a4629c
release.nix: Hack to unchroot more stuff.
...
* release.nix (unchrootedNixpkgs): New function.
(jobs)[tarball, build, build_disable_daemon, distro): Use it.
Should fix <http://hydra.gnu.org:3000/build/7279 >.
2013-03-18 23:17:28 +01:00
Ludovic Courtès
9c3ac1b641
release.nix: Adjust to current Nixpkgs.
...
* release.nix: s/buildNativeInputs/nativeBuildInputs/.
2013-03-18 23:09:35 +01:00
Ludovic Courtès
a4f08f9258
guix package: Report packages to be removed/installed.
...
* guix/scripts/package.scm (guix-package)[process-actions](show-what-to-remove/install):
New procedure.
Call it before `show-what-to-build'.
2013-03-18 23:04:07 +01:00
Andreas Enge
71f4b81aa5
gnu: Add openconnect.
...
* gnu/packages/vpn.scm (openconnect): New variable.
2013-03-16 22:36:13 +01:00
Ludovic Courtès
0bb1aa9e05
derivations: Optimize `build-expression->derivation'.
...
This reduces the execution time of
"guix build -e '(@ (gnu packages emacs) emacs)' -d" by 6%, from
1.15s to 1.08s.
* guix/derivations.scm (build-expression->derivation): Write the builder
as UTF-8.
2013-03-16 17:23:17 +01:00
Ludovic Courtès
d80855999a
derivations: Optimize `write-derivation'.
...
This reduces the execution time of
"guix build -e '(@ (gnu packages emacs) emacs)' -d" by 25%, from
1.54 s. to 1.15s.
* guix/derivations.scm (write-sequence, write-list, write-tuple): New
procedures.
(write-derivation)[list->string, write-list]: Remove.
[write-string-list, write-output, write-input, write-env-var]: New helpers.
Rewrite in terms of these new helpers.
2013-03-16 16:48:22 +01:00
Ludovic Courtès
993fb66dd2
guix package: Gracefully handle `official-gnu-packages' failure.
...
* guix/gnu-maintenance.scm (http-fetch): Error out when DATA is #f.
* guix/scripts/package.scm (check-package-freshness): Wrap
`gnu-package?' call in `false-if-exception'.
Reported by Cyril Roelandt <tipecaml@gmail.com>.
2013-03-16 00:59:19 +01:00
Ludovic Courtès
847e7725e9
gnu: coreutils, sed: Update.
...
* gnu/packages/base.scm (sed): Update to 4.2.2.
(coreutils): Update to 8.21.
2013-03-15 18:38:47 +01:00
Ludovic Courtès
444c64b04e
gnu: binutils: Update to 2.23.1.
...
* gnu/packages/base.scm (binutils): Update to 2.23.1. Add
`--disable-werror'.
(binutils-boot0): Augment BINUTILS's configure flags.
2013-03-15 18:38:34 +01:00
Ludovic Courtès
3be9f724f5
gnu: emacs: Update to 24.3.
...
* gnu/packages/emacs.scm (emacs): Update to 24.3. Use the .xz tarball.
* gnu/packages/patches/emacs-configure-sh.patch: Adjust.
2013-03-14 17:47:26 +01:00
Ludovic Courtès
b5c56e628f
gnu: texinfo: Update to 5.1.
...
* gnu/packages/texinfo.scm (texinfo): Update to 5.1.
2013-03-14 17:32:25 +01:00
Ludovic Courtès
ef86c39f27
ui: Gracefully report failures to connect to the daemon.
...
* guix/store.scm (&nix-connection-error): New condition type.
(open-connection): Translate `system-error' during the `connect' call
into `&nix-connection-error'.
* guix/ui.scm (call-with-error-handling): Add case for `nix-connection-error?'.
* guix/scripts/package.scm (guix-package): Move `open-connection' call
within `with-error-handling'.
* guix/scripts/pull.scm (guix-pull): Likewise.
* guix/scripts/download.scm (guix-download): Move body within
`with-error-handling'.
2013-03-07 19:44:14 +01:00
Nikita Karetnikov
30db6af1de
utils: Add 'wrap-program'.
...
* guix/build/utils.scm (wrap-program): New procedure.
2013-03-07 00:46:23 +01:00
Ludovic Courtès
1fb78cb2c3
packages: Remove the default value for `license'.
...
* guix/packages.scm (<package>): Remove the default value for `license'.
* gnu/packages/bootstrap.scm (package-from-tarball,
%bootstrap-glibc, %bootstrap-gcc): Initialize `license'.
* tests/packages.scm (dummy-package): Likewise.
2013-03-07 00:42:18 +01:00
Ludovic Courtès
6ba9dd813d
Revert "utils: Add 'wrap-program'."
...
This reverts commit 02065130de
.
2013-03-07 00:36:14 +01:00
Nikita Karetnikov
02065130de
utils: Add 'wrap-program'.
...
* guix/build/utils.scm (wrap-program): New procedure.
2013-03-06 21:03:26 +00:00
Nikita Karetnikov
563e8b3920
gnu: Add GNU Fdisk.
...
* gnu/packages/fdisk.scm: New file.
* Makefile.am (MODULES): Add it.
2013-03-06 20:58:48 +00:00
Nikita Karetnikov
bd5ecea637
gnu: Add w3m.
...
* gnu/packages/w3m.scm,
gnu/packages/patches/w3m-fix-compile.patch: New files.
* Makefile.am (MODULES): Add 'w3m.scm'.
(dist_patch_DATA): Add 'w3m-fix-compile.patch'.
2013-03-06 20:52:04 +00:00
Nikita Karetnikov
bbd60260dd
licenses: Add 'x11-style'.
...
* guix/licenses.scm (x11-style): New variable.
2013-03-06 20:40:11 +00:00
Ludovic Courtès
6a917ef7e6
gnu-maintenance: Clarify `releases'.
...
* guix/gnu-maintenance.scm (releases): Change to use `match' and
`match-lambda'. Add `release-file' auxiliary function.
2013-03-05 22:31:19 +01:00
Ludovic Courtès
296540a6db
gnu-maintenance: Fix gnu-package?' for packages lacking a
source'.
...
* guix/gnu-maintenance.scm (gnu-package?): Support PACKAGE when its
source is #f.
2013-03-05 22:25:40 +01:00
Ludovic Courtès
19777ae6ea
guix package: Recover from freshness check transient errors.
...
* guix/scripts/package.scm (check-package-freshness): Ignore
`getaddrinfo-error' and `ftp-error' exceptions.
2013-03-05 22:24:19 +01:00
Ludovic Courtès
ef010c0f3d
guix package: Inform about new upstream versions of GNU packages.
...
* guix/gnu-maintenance.scm (gnu-package?): New procedure.
* guix/scripts/package.scm (waiting): New macro.
(check-package-freshness): New procedure.
(guix-package)[process-actions]: Use it.
* doc/guix.texi (Invoking guix package): Mention the feature.
2013-03-05 20:35:47 +01:00