Commit Graph

6687 Commits

Author SHA1 Message Date
Ludovic Courtès 88aab8e349 profiles: Use a &message error condition instead of 'error'.
* guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 441cfb420a search-paths: 'evaluate-search-paths' now returns spec/value pairs.
* guix/search-paths.scm (evaluate-search-paths): Return
  specification/value pairs instead of variable/value pairs.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  accordingly.  Pass #:separator to 'environment-variable-definition'.
2015-05-04 23:30:52 +02:00
Ludovic Courtès b07901c0cc search-paths: Add 'environment-variable-definition'.
* guix/search-paths.scm (environment-variable-definition): New variable.
* guix/scripts/package.scm (search-path-environment-variables): Use it.
2015-05-04 23:30:52 +02:00
Ludovic Courtès 6568d2bd6e search-paths: Add 'evaluate-search-paths', from (guix scripts package).
* guix/scripts/package.scm (with-null-error-port,
  evaluate-search-paths): Move to...
* guix/search-paths.scm: ... here.
* guix/utils.scm (string-tokenize*): Move to...
* guix/search-paths.scm: ... here.
* tests/utils.scm ("string-tokenize*"): Adjust accordingly.
2015-05-04 23:30:51 +02:00
Ludovic Courtès e89431bf01 Move search path specifications to (guix search-paths).
* guix/packages.scm (<search-path-specification>,
  search-path-specification->sexp, sexp->search-path-specification):
  Move to...
* guix/search-paths.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
  guix/build-system/gnu.scm, guix/build-system/haskell.scm,
  guix/build-system/perl.scm, guix/build-system/python.scm,
  guix/build-system/ruby.scm, guix/build-system/waf.scm,
  guix/profiles.scm, guix/scripts/package.scm: Use it.
2015-05-04 23:30:51 +02:00
Mathieu Lirzin 934d370694 gnu: Add markdown.
* gnu/packages/textutils.scm (markdown): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-04 23:30:51 +02:00
Ludovic Courtès 5e6039a48b substitute: Increase TTL from 24h to 36h.
* guix/scripts/substitute.scm (%narinfo-ttl): Increase to 36h.
2015-05-04 23:30:51 +02:00
Andreas Enge 2534fc0478 gnu: Add libwpg.
* gnu/packages/libreoffice.scm (libwpg): New variable.
2015-05-04 22:27:32 +02:00
Eric Bavier 2087023dd4 guix: build: Fix indentation for --sources in help output.
* guix/scripts/build.scm (show-help)[--sources]: Make indentation
  consistent with other long options.
2015-05-04 14:16:39 -05:00
Mark H Weaver 80e2072a75 gnu: curl: Update to 7.42.1.
* gnu/packages/patches/curl-support-capath-on-gnutls-conf.patch,
  gnu/packages/patches/curl-support-capath-on-gnutls.patch: Remove files.
* gnu-system.am (dist_patch_DATA): Remove them.
* gnu/packages/curl.scm (curl): Update to 7.42.1.  Remove patches.
2015-05-04 12:37:30 -04:00
Ricardo Wurmus 90fc547fa0 gnu: Add python-sympy.
* gnu/packages/python.scm (python-sympy, python2-sympy): New variables.
2015-05-04 15:21:47 +02:00
Ludovic Courtès c6f30b8185 doc: Fix dangling references in the 'sh-symlink' monad example.
Reported by Christopher A. Webber <cwebber@dustycloud.org>.

* doc/guix.texi (The Store Monad): Reintroduce 'mlet' in 'sh-symlink'
  example.  Move the simplified version below.  Explain that the 'store'
  parameter is threaded.
2015-05-04 15:08:20 +02:00
Ludovic Courtès eabebb8143 doc: Suggest 'groupadd --system'.
* doc/guix.texi (Build Environment Setup): Use 'groupadd --system'.
2015-05-04 15:08:20 +02:00
Ludovic Courtès 39f8ed1437 doc: Clarify installation from the binary tarball.
* doc/guix.texi (Binary Installation): Specifically refer to
  group/account creation, and add an item for substitutes.  Mention
  verifiability.
2015-05-04 15:08:20 +02:00
Ricardo Wurmus 4702cec246 gnu: bamtools: Set rpath via LDFLAGS.
* gnu/packages/bioinformatics.scm (bamtools): Add a pre-configure phase
  setting $LDFLAGS to set the rpath to $out/lib/bamtools.
2015-05-04 11:29:41 +02:00
Tomáš Čech a73956baf4 gnu: Add taskwarrior.
* gnu/packages/task-management.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-05-04 10:30:10 +02:00
Ricardo Wurmus 0b84a0aaca gnu: Add samtools-0.1.19.
* gnu/packages/bioinformatics.scm (samtools-0.1): New variable.
2015-05-04 10:28:27 +02:00
Ricardo Wurmus 41dd712657 gnu: samtools: Install libbam.a library.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: Add phase
  "install-library" to install the libbam.a library.
2015-05-04 10:28:26 +02:00
Ricardo Wurmus 0a75450c14 gnu: samtools: Remove patch-makefile-curses phase.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: Remove
  patch-makefile-curses phase, use make-flags instead.
2015-05-04 10:28:26 +02:00
Ludovic Courtès 167a05aabc gnu: gcc-5.1: Add specific libvtv patch.
* gnu/packages/patches/gcc-5.0-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5.1)[source]: Use it.
2015-05-04 00:24:21 +02:00
Ludovic Courtès 4e9f592058 guix package: Introduce 'evaluate-search-paths'.
* guix/scripts/package.scm (evaluate-search-paths): New procedure, with
  most of the code formerly in 'search-path-environment-variables'.
  (search-path-environment-variables): Use it.
2015-05-04 00:24:21 +02:00
Ludovic Courtès 3badccaa73 guix package: Move profile cleaning out of 'search-path-environment-variables'.
* guix/scripts/package.scm (user-friendly-profile): New procedure.
  (search-path-environment-variables): Remove 'profile' local variable.
  (display-search-paths): Explicitly call 'user-friendly-profile' for
  the argument to 'search-path-environment-variables'.
  (guix-package)[process-query]: Likewise.
2015-05-04 00:24:21 +02:00
David Hashe 1e7464a9d2 gnu: Add totem-pl-parser.
* gnu/packages/gnome.scm (totem-pl-parser): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-04 00:24:21 +02:00
Christopher Allan Webber 8e9aa37f69 doc: Replace reference to profile.sh with sh-symlink
* doc/guix.texi (The Store Monad): Replace reference to "profile.sh",
  which is not defined until the next node, with "sh-symlink", which
  is defined immediately above

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-05-04 00:24:21 +02:00
Andreas Enge b4e5d8e7da gnu: Add libe-book.
* gnu/packages/libreoffice.scm (libe-book): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
2015-05-03 22:45:27 +02:00
Ricardo Wurmus 603090d8fe gnu: Add zeromq.
* gnu/packages/networking.scm (zeromq): New variable.
2015-05-03 21:49:15 +02:00
Ricardo Wurmus 8a413bcaf5 gnu: rename (gnu packages socat) to (gnu packages networking).
* gnu/packages/socat.scm: Rename this ...
* gnu/packages/networking.scm: ... to this.
* gnu-system.am (GNU_SYSTEM_MODULES): Change socat.scm to networking.scm.
2015-05-03 21:48:02 +02:00
Mark H Weaver d5e9f3809d gnu: subversion: Update to 1.8.13.
* gnu/packages/version-control.scm (subversion): Update to 1.8.13.
2015-05-03 14:12:21 -04:00
Mark H Weaver a4d5224d74 gnu: gnupg: Update to 2.1.3.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.3.
2015-05-03 13:22:35 -04:00
Mark H Weaver 7d2b784b66 gnu: Add dovecot.
* gnu/packages/mail.scm (dovecot): New variable.
2015-05-03 11:07:45 -04:00
Mark H Weaver 2036a6484e gnu: acpica: Update to 20150410.
* gnu/packages/admin.scm (acpica): Update to 20150410.
2015-05-03 11:07:02 -04:00
Mark H Weaver 10d9824092 gnu: wpa-supplicant: Update to 2.4.
* gnu/packages/admin.scm (wpa-supplicant): Update to 2.4.
2015-05-03 11:06:52 -04:00
Ludovic Courtès 9b0912b4ba gnu: parallel: Update to 20150422.
* gnu/packages/parallel.scm (parallel): Update to 20150422.
2015-05-03 16:01:42 +02:00
Ludovic Courtès dda9c45ec6 gnu: help2man: Update to 1.46.6.
* gnu/packages/man.scm (help2man): Update to 1.46.6.
2015-05-03 16:01:42 +02:00
Ludovic Courtès 5ac8a1d4bb gnu: dejagnu: Update to 1.5.3.
* gnu/packages/dejagnu.scm (dejagnu): Update to 1.5.3.
2015-05-03 16:01:42 +02:00
Andreas Enge fc15db2f7d gnu: Add libwpd.
* gnu/packages/libreoffice.scm (libwpd): New variable.
2015-05-03 14:28:09 +02:00
Andreas Enge 10ca4a1d4b gnu: Add librevenge.
* gnu/packages/libreoffice.scm (librevenge): New variable.

Co-authored-by: John Darrington <jmd@gnu.org>
2015-05-03 13:05:58 +02:00
Andreas Enge 28edab7a1e gnu: cppunit: Explicitly link with libdl.
* gnu/packages/check.scm (cppunit)[arguments]: Add #:make-flags.
2015-05-03 12:57:40 +02:00
Eric Bavier 2cdfe13dea guix: build: Add transitive source building.
* guix/scripts/build.scm (%options, options->derivations): Add --sources
  option.
* doc/guix.texi (Invoking guix build): Document --sources option.
* tests/guix-build.sh: Add tests.
2015-05-02 23:15:40 -05:00
Eric Bavier f77bcbc374 guix: packages: Add package-direct-sources and package-transitive-sources.
* guix/tests.scm (dummy-origin): New syntax.
* guix/packages.scm (package-direct-sources)
  (package-transitive-sources): New procedures.
* tests/packages.scm ("package-direct-sources, no source")
  ("package-direct-sources, #f source")
  ("package-direct-sources, not input source", "package-direct-sources")
  ("package-transitive-sources"): Test them.
2015-05-02 23:15:40 -05:00
Ludovic Courtès f4bdfe7381 install: Add bash-completion to the packages.
* gnu/system/install.scm (installation-os)[packages]: Add
  BASH-COMPLETION.
2015-05-03 00:08:37 +02:00
Ludovic Courtès dedb17ad01 profiles: Store search paths in manifests.
Discussed in <http://bugs.gnu.org/20255>.

* guix/packages.scm (sexp->search-path-specification): New variable.
* guix/profiles.scm (<manifest-entry>)[search-paths]: New field.
  (package->manifest-entry): Initialize it.
  (manifest->gexp): Match it.  Wrap #$deps in (propagated-inputs ...).
  Emit (search-paths ...).  Increment version.
  (find-package): New procedure.
  (sexp->manifest)[infer-search-paths]: New procedure.
  Use it to initialize the 'search-paths' field for versions 0 and 1.
  Add case for version 2.
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
  Remove.
  Use 'manifest-entry-search-paths' instead of 'manifest-entry->package'
  plus 'package-native-search-paths'.
* tests/profiles.scm ("profile-manifest, search-paths"): New test.
2015-05-02 23:57:11 +02:00
Ludovic Courtès b9212a5455 Merge branch 'core-updates' 2015-05-02 22:42:53 +02:00
Ludovic Courtès a413bc8bd3 hydra: Update Guix job set.
* build-aux/hydra/guix.scm (tarball-package): Remove 'nix-checkout'
  parameter.  Remove 'arguments', 'native-inputs', and 'location'
  fields.  Adjust caller accordingly.
  (hydra-jobs): Remove 'nix-checkout'.
2015-05-02 22:16:06 +02:00
Ludovic Courtès 2d51666bd0 build-system/gnu: 'dist-package' preserves the package's native inputs.
* guix/build-system/gnu.scm (dist-package)[native-inputs]: Preserve P's
  native-inputs.
2015-05-02 22:16:06 +02:00
Ludovic Courtès 16142b3c14 build-system/gnu: Adjust to removal of a "bin" output for Libtool.
* guix/build-system/gnu.scm (dist-package): Change libtool:bin input to
  just libtool.
2015-05-02 22:16:06 +02:00
Ricardo Wurmus 5f6887e839 gnu: gcj: Remove broken symlink and conflicting files.
* gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a broken
  symlink and generic stump binaries.
2015-05-02 21:06:52 +02:00
Taylan Ulrich Bayırlı/Kammer 0272ee499d gnu: mesa: Update to 10.5.4.
* gnu/packages/gl.scm (mesa): Update version to 10.5.4.  Add libxvmc to
  inputs.  Remove python, gettext, flex, and bison from native-inputs.  Remove
  hack that was necessary to prevent rebuilding parts of the build system.
2015-05-02 10:47:55 +02:00
Taylan Ulrich Bayırlı/Kammer 7e31978b72 gnu: mesa: Add libva input.
There is a circular dependency between Mesa and libVA, so we use a
libva-no-mesa package that builds libVA without GLX and EGL support, and use
that for building Mesa.

* gnu/packages/gl.scm (libva-for-mesa): New variable.
(mesa): Add as input.
2015-05-02 10:47:55 +02:00
Mark H Weaver 2d2abb04f8 gnu: linux-libre: Update to 4.0.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.0.1.
2015-05-01 17:41:07 -04:00