Commit Graph

7109 Commits

Author SHA1 Message Date
Mark H Weaver ed8a724b33 gnu: gnu-pw-mgr: Update to 1.4.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.4.  Use .xz tarball.
  Move 'which' to native-inputs.  Add 'autogen' to native-inputs.
2015-06-02 15:43:34 -04:00
Mark H Weaver 9a59ce2455 gnu: sharutils: Update to 4.15.2.
* gnu/packages/compression.scm (sharutils): Update to 4.15.2.
2015-06-02 15:43:34 -04:00
Ricardo Wurmus e7c097306d gnu: Add HTSlib.
* gnu/packages/bioinformatics.scm (htslib): New variable.
2015-06-02 14:30:14 +02:00
Ricardo Wurmus 132b4c8c23 gnu: ncbi-vdb: Use "i386" instead of "i686" in directory name.
* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Copy libraries from
  "linux/gcc/i386" directory instead of "linux/gcc/i686" when building on
  i686.
2015-06-02 14:26:14 +02:00
Ludovic Courtès 52eca736f6 build: Build and install manual pages.
* configure.ac: Use 'AM_MISSING_PROG' for 'help2man'.
* doc.am (subcommand-manual-target, SUBCOMMANDS, dist_man1_MANS): New
  variables.
  (doc/guix-$(1).1, doc/guix.1): New targets.
2015-06-01 22:37:54 +02:00
Christopher Allan Webber 93e7199b35 gnu: Add guile-gdbm-ffi.
* gnu/packages/guile.scm (guile-gdbm-ffi): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-05-31 23:44:09 +02:00
Andreas Enge c687f73110 gnu: avidemux: Add output lib dir to rpath.
* gnu/packages/video.scm (avidemux): Set -DCMAKE_SHARED_LINKER_FLAGS
    in the call to cmake.
2015-05-31 23:31:50 +02:00
Ludovic Courtès 2b5115f8ba lint: source: Warn only when all the URIs are unreachable.
* guix/scripts/lint.scm (call-with-accumulated-warnings): New procedure.
  (with-accumulated-warnings): New macro.
  (check-source): Add 'try-uris' and use it.  Emit warnings only upon
  failure.
2015-05-31 23:25:46 +02:00
Ludovic Courtès 91a0b9cc0b lint: 'validate-uri' really returns #f on failure.
* guix/scripts/lint.scm (validate-uri): Always return #f on failure.
2015-05-31 23:13:09 +02:00
Ludovic Courtès 1a706ff5cf base32: Use a custom error condition instead of 'misc-error'.
Suggested by Christopher Allan Webber <cwebber@dustycloud.org>.

* guix/base32.scm (&invalid-base32-character): New error condition.
  (make-base32-string->bytevector): Use it instead of 'error'.
* tests/base32.scm ("&invalid-base32-character"): New test.
2015-05-31 22:39:48 +02:00
Ludovic Courtès 23185ceadc ui: Do not call 'display-error' for SRFI-34 exceptions.
* guix/ui.scm (report-load-error, warn-about-load-error, read/eval): Add
  clause for SRFI-34 exceptions.
2015-05-31 22:39:48 +02:00
Ludovic Courtès 97c15a297d gnu: tcsh: Add alternate URL for old tarballs.
Reported by Alexander Vorobiev <alexander.vorobiev@gmail.com>.

* gnu/packages/tcsh.scm (tcsh)[source]: Add alternate URL.
2015-05-31 22:39:48 +02:00
David Thompson 98b87b82be gnu: Add ruby-useragent.
* gnu/packages/ruby.scm (ruby-useragent): New variable.
2015-05-29 20:05:57 -04:00
David Thompson 2cbc105bb3 gnu: Add bundler.
* gnu/packages/ruby.scm (bundler): New variable.
2015-05-29 20:05:57 -04:00
David Thompson d4fde1f239 gnu: Add ruby-rspec.
* gnu/packages/ruby.scm (ruby-rspec): New variable.
2015-05-29 20:05:57 -04:00
David Thompson 4f2a0cac7f gnu: Add ruby-rspec-mocks.
* gnu/packages/ruby.scm (ruby-rspec-mocks): New variable.
2015-05-29 20:05:57 -04:00
David Thompson e69620098b gnu: Add ruby-rspec-expectations.
* gnu/packages/ruby.scm (ruby-diff-lcs-for-rspec, ruby-rspec-expectations):
  New variables.
2015-05-29 20:05:57 -04:00
David Thompson eb0c2dd62f gnu: Add ruby-rspec-core.
* gnu/packages/ruby.scm (ruby-rspec-support, ruby-rspec-core): New variables.
2015-05-29 20:05:57 -04:00
Ludovic Courtès 969ee403c8 gnu: openldap: Update list of source URLs.
* gnu/packages/openldap.scm (openldap)[source]: Remove former URI (domain name
  vanished) and add an up-to-date list of URLs.  Reported by Alexander
  Vorobiev <alexander.vorobiev@gmail.com>.
2015-05-29 22:54:04 +02:00
Andreas Enge df00e14892 gnu: calibre: Update to 2.29.0.
* gnu/packages/ebook.scm (calibre): Update to 2.29.0. Add input openssl.
2015-05-29 21:52:20 +02:00
Mark H Weaver 86e3e370e3 gnu: nss: Update to 3.19.1.
* gnu/packages/gnuzilla.scm (nss): Update to 3.19.1.
  [properties]: Set the timeout to 40 hours.
2015-05-29 14:33:32 -04:00
Mark H Weaver ae0bcc1e9d hydra: Support per-package absolute build timeouts.
* build-aux/hydra/gnu-system.scm (package->alist): Use the 'timeout' value in
  the package 'properties' alist, if present.
2015-05-29 14:33:32 -04:00
Alex Kost 307153c1ef emacs: Report about "search paths" after operation.
* guix/scripts/package.scm: Export 'display-search-paths'.
* emacs/guix-main.scm (process-package-actions): Use it.
2015-05-29 20:54:54 +03:00
Alex Kost 5a727cdfa9 emacs: Add 'guix-apply-manifest'.
* emacs/guix-base.el (guix-apply-manifest): New command.
  Bind it to "M" key.
* doc/emacs.texi (Emacs General info): Document it.
2015-05-29 20:54:54 +03:00
Alex Kost 578b98da43 emacs: Remove "M" key binding for marking all lines.
* emacs/guix-list.el: Split 'guix-list-mark' into internal and
  interactive functions.  Remove "M" key binding, use "C-u m" instead.
  (guix-list--mark): New function.  Use it in other marking functions.
  (guix-list-mark): Mark all lines with a prefix argument.
* doc/emacs.texi (Emacs List buffer): Document changes in the key
  bindings.
2015-05-29 20:54:54 +03:00
宋文武 5ff408d998 python-pillow: Update to 2.8.1, remove duplicated ones.
* gnu/packages/python.scm (python-pillow): Update to 2.8.1.
  [inputs]: Add freetype and libwebp.
  (python-pillow, python2-pillow): Remove duplicated variables.
2015-05-29 21:01:42 +08:00
宋文武 0b4eb42e8a gnu: webkitgtk: Update to 2.8.3.
The version (2.8.9) mentioned in the previous commit (e7e8ea0) message
was wrong.  Should be '2.4.9'.

* gnu/packages/webkit.scm (webkitgtk): Update to 2.8.3.
2015-05-29 18:06:08 +08:00
宋文武 e7e8ea069e gnu: webkitgtk-2.4: Update to 2.8.9, build with gtk3.
* gnu/packages/webkit.scm (webkitgtk-2.4): Update to 2.8.9, build with gtk3.
  Move flex and which to 'native-inputs'.  Remove #:configure-flags.
  (webkitgtk/gtk+-2): New variable.
* gnu/packages/gnucash.scm (gnucash): Use webkitgtk/gtk+-2.
* gnu/packages/patches/webkitgtk-2.4.8-gmutexlocker.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.

Co-authored-by: Feng Shu <tumashu@163.com>
2015-05-29 16:05:49 +08:00
David Thompson a54bd6d72d guix environment: Add --ad-hoc option.
* guix/scripts/environment.scm (%options): Add "ad-hoc" option.
  (show-help): Display help for "--ad-hoc".
  (packages+propagated-inputs): New procedure.
  (guix-environment): Create ad hoc environment when asked.
* doc/guix.texi ("invoking guix environment"): Document it.
2015-05-28 20:52:52 -04:00
Ludovic Courtès 1ba4796d13 profiles: Deal with non-directory items in share/icons.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/profiles.scm (gtk-icon-themes)[build]: Check whether DIR is a directory
  before calling 'ensure-writable-directory'.
2015-05-28 14:41:15 +02:00
Ludovic Courtès 6a669bda51 profiles: Export 'ensure-writable-directory' and use it.
* guix/build/profiles.scm (ensure-writable-directory): Export.
* guix/profiles.scm (gtk-icon-themes)[build]: Remove '@@' form and use (guix
  build profiles).
2015-05-27 22:36:52 +02:00
Ludovic Courtès 102f7101b9 profiles: Don't assume all the inputs are of a package are packages.
Reported by Ricardo Wurmus.

* guix/profiles.scm (gtk-icon-themes)[entry-lookup-gtk+](find-among-packages):
  Rename to...
  (find-among-inputs): ... this.  Check whether INPUT is a package before
  calling 'package-name'.  Fixes a regression introduced in b04af0e.
2015-05-27 22:31:56 +02:00
Ludovic Courtès 1e2644bb25 doc: Clarify that --disable-chroot is needed for non-root users.
* doc/guix.texi (Build Environment Setup, Invoking guix-daemon): Mention
  --disable-chroot as needed for non-root users.
2015-05-27 22:18:21 +02:00
Ludovic Courtès 781d0a2ce1 install: Use the actual store name when building the tarball.
* gnu/system/install.scm (self-contained-tarball): Use (%store-directory)
  instead of "/gnu".
2015-05-27 22:18:21 +02:00
Taylan Ulrich Bayırlı/Kammer 51960939a4 gnu: chibi-scheme: Update to 0.7.3.
* gnu/packages/scheme.scm (chibi-scheme): Update to 0.7.3.  Change URL.
2015-05-27 21:13:15 +02:00
Ricardo Wurmus 365c815389 gnu: Add edirect.
* gnu/packages/bioinformatics.scm (edirect): New variable.
2015-05-27 17:42:40 +02:00
宋文武 eeae0b3c6c profiles: Use 'derivation?' to filter hooks.
Fixes a regression introduced in 07eaecfa.

* guix/profiles.scm (profile-derivation): Use 'derivation?' instead of
  'gexp?' to filter hooks.
2015-05-27 21:03:21 +08:00
宋文武 b04af0ec67 profiles: Add gtk-icon-themes hook.
* guix/profiles.scm (gtk-icon-themes): New function.
  (%default-profile-hooks): Add it.
2015-05-27 20:58:27 +08:00
Ricardo Wurmus 628bd9b8a7 gnu: shogun: Remove non-free source files.
* gnu/packages/bioinformatics.scm (shogun)[source]: Add snippet to remove
  non-free sources.
2015-05-27 10:56:27 +02:00
Ludovic Courtès b734996f9c monads: 'foldm', 'mapm', and 'anym' now take a list of regular values.
* guix/monads.scm (foldm, mapm, anym): Change to take a list of regular
  values as is customary.
* tests/monads.scm ("mapm", "anym"): Adjust accordingly.
2015-05-27 09:44:43 +02:00
Ludovic Courtès 49c0a8d6b6 tests: Make sure %BOOTSTRAP-GUILE is available when we need it.
* tests/derivations.scm ("derivation-prerequisites and
  valid-derivation-input?"): Renamed from "derivation-prerequisites and
  derivation-input-is-valid?".  Build %BOOTSTRAP-GUILE.  This fixes a
  regression introduced in cdb5b07 when running the whole test suite.
2015-05-27 09:36:43 +02:00
Ludovic Courtès 07eaecfae1 profiles: Hooks always return a monadic value.
Suggested by 宋文武 <iyzsong@gmail.com>.

* guix/profiles.scm (ghc-package-cache-file): Return a monadic #f, not just
  #f, when MANIFEST contains no GHC package.
  (profile-derivation): Do not filter based on the return value of HOOK;
  instead filter based on the value of items in EXTRAS.
2015-05-26 23:38:27 +02:00
Ludovic Courtès 41766807d0 ui: Improve error reporting for 'read/eval'.
The effect is visible on commands like:

  guix build -e '(+ 2 "foo")'
  guix build -e '()'

* guix/ui.scm (read/eval): Change handler to properly report syntax errors and
  use 'display-error' for other errors.
2015-05-26 22:38:17 +02:00
Cyrill Schenkel cdb5b075d5 gc: ignore trailing slash or subdirectories for `guix gc -d'
Fixes <http://bugs.gnu.org/19757>.

* guix/scripts/gc.scm (guix-gc): Convert paths to direct store paths.
* guix/store.scm (direct-store-path): Get rid of subdirectories in store path.
* tests/guix-gc.sh: New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-05-26 22:26:01 +02:00
Mark H Weaver 9aafbc0c13 gnu: Add wxmaxima.
* gnu/packages/maths.scm (wxmaxima): New variable.
2015-05-26 10:24:11 -04:00
Mark H Weaver 77af7b2407 gnu: maxima: Update to 5.36.1.
* gnu/packages/patches/maxima-defsystem-mkdir.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (maxima): Update to 5.36.1.  Add patch.
2015-05-26 10:23:38 -04:00
Mark H Weaver d4e17f841c gnu: imagemagick: Update to 6.9.1-3.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.1-3.
2015-05-26 10:23:28 -04:00
宋文武 6344feb318 Merge branch 'gtk-rebuild' 2015-05-26 17:44:18 +08:00
Ludovic Courtès 6dc67c02f7 Augment '.gitignore'. 2015-05-25 22:56:57 +02:00
Ludovic Courtès db030303b8 guix system: Add '--on-error'.
* guix/ui.scm (load*): Add #:on-error parameter.
  [tag, error-string]: New variables.
  Wrap 'load' call in 'call-with-prompt'.  Pass TAG to 'make-stack'.  Honor
  ON-ERROR after 'report-load-error' call.
  (report-load-error): Change to not exit on error.  Make private.
* guix/scripts/system.scm (show-help, %options): Add --on-error.
  (guix-system): Use 'load*' and pass it #:on-error.
2015-05-25 22:52:41 +02:00