Commit Graph

6750 Commits

Author SHA1 Message Date
Ludovic Courtès 8e3a3bc290 environment: Move iteration outside of 'for-each-search-path'.
* guix/search-paths.scm (search-path-definition): New procedure.
* guix/scripts/environment.scm (for-each-search-path): Rename to...
  (evaluate-input-search-paths): ... this.  Remove 'proc' and 'pure?'
  parameters, and return directly the list of search-path/value pairs.
  (create-environment): Use 'for-each' and 'evaluate-input-search-paths'
  instead of 'for-each-search-path'.
  (show-search-paths): Use 'for-each', 'search-path-definition', and
  'evaluate-search-paths' instead of 'for-each-search-path'.
2015-05-05 15:13:59 +02:00
Ludovic Courtès b9ea6c6bf4 environment: Use 'evaluate-search-paths'.
This allows 'guix environment' to correctly handle non-directory
and/or pattern search-path specifications, such as that for
'XML_CATALOG_FILES'.

* guix/scripts/environment.scm (for-each-search-path): Use
  'evaluate-search-paths' instead of 'search-path-as-list' & co.
2015-05-05 15:13:59 +02:00
Ludovic Courtès fdfa753c69 search-paths: Define the 'PATH' environment variable.
* guix/search-paths.scm ($PATH): New variable.
* guix/scripts/environment.scm (for-each-search-path): Use it.
2015-05-05 15:13:58 +02:00
Ludovic Courtès 369149995c search-paths: 'evaluate-search-paths' can be passed a list of directories.
* guix/search-paths.scm (evaluate-search-paths): Change 'directory' to
  'directories', and adjust 'search-path-as-list' accordingly.
* guix/scripts/package.scm (search-path-environment-variables): Adjust
  call accordingly.
2015-05-05 15:13:58 +02:00
Ludovic Courtès c4e8d513f2 gnu-maintenance: 'gnu-package?' returns #t for R and for GNOME packages.
Reported by John Darrington.

* guix/gnu-maintenance.scm (gnu-package?)[mirror-type]: Add "gnome" to
  the list of GNU mirrors.  Return #f for "cran".
2015-05-05 15:13:57 +02:00
Ludovic Courtès 099a2c7055 environment: Use (guix search-paths).
* guix/scripts/environment.scm: Use (guix search-paths).  Fixes a
  regression introduced in e89431b.
2015-05-05 11:01:08 +02:00
Ricardo Wurmus 7c3958e15a gnu: vcftools: Remove "-m64" from CFLAGS.
* gnu/packages/bioinformatics.scm (vcftools): Explicitly set CFLAGS to
  remove "-m64" flag.
2015-05-05 10:20:21 +02:00
Eric Bavier 401f9a8b15 gnu: fltk: Fix undefined symbol errors for shared libraries.
* gnu/packages/patches/fltk-shared-lib-defines.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/fltk.scm (source)[patches]: New field.
2015-05-05 00:52:53 -05:00
Ricardo Wurmus 21481a284a gnu: ardour: Add library dirs to RUNPATH.
* gnu/packages/audio.scm (ardour)[arguments]: Add a build phase to add all
  library output directories to the rpath using linker flags.
2015-05-05 06:28:37 +02:00
David Thompson eb7c43c387 gnu: Add bluez.
* gnu/packages/linux.scm (bluez): New variable.
2015-05-04 22:15:58 -04:00
David Thompson e5326da4f4 gnu: Add libical.
* gnu/packages/calendar.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-05-04 22:15:50 -04:00
David Thompson 2b226af1bc gnu: Add soil.
* gnu/packages/gl.scm (soil): New variable.
2015-05-04 22:15:41 -04:00
Ludovic Courtès 954cea3ae6 records: Make 'make-syntactic-constructor' available at load/eval/expand.
* guix/records.scm (make-syntactic-constructor): Wrap in 'eval-when'.
2015-05-04 23:30:52 +02:00
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