Commit Graph

6187 Commits

Author SHA1 Message Date
Ludovic Courtès 1123759b45 gexp: Fix handling of nativeness in nested gexps.
* guix/gexp.scm (gexp-inputs): Remove 'references' parameter; add
  #:native? and honor it.
  [add-reference-inputs]: Distinguish between native gexp inputs, and
  non-native gexp inputs.  Honor 'native?' field of list inputs.
* tests/gexp.scm ("ungexp + ungexp-native, nested"): New test.
2015-03-22 23:18:33 +01:00
Ludovic Courtès 607e1b51f4 gexp: Ignore nested gexps in macro expansion.
Before that, the 'references' and 'natives' or the outer gexp in an
expression like #~#+#~#$coreutils would include those of the inner
gexp.

* guix/gexp.scm (gexp)[collect-escapes]: Ignore everything below
  'ungexp-native' or 'ungexp-native-splicing'.
  [collect-native-escapes]: Ignore everything below 'ungexp' or
  'ungexp-splicing'.
2015-03-22 23:18:31 +01:00
Ludovic Courtès accb682c50 gexp: Allow <gexp-input> objects in #:allowed-references.
* guix/gexp.scm (lower-references): Add <gexp-input> case.
* tests/gexp.scm ("gexp->derivation #:allowed-references, specific
  output"): New test.
2015-03-22 23:18:30 +01:00
Ludovic Courtès 2924f0d6ce gexp: Add identity compiler for derivations.
* guix/gexp.scm (derivation-compiler): New procedure.
  (lower-inputs): Remove 'derivation?' case.
  (gexp-inputs)[add-reference-inputs]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
2015-03-22 23:18:28 +01:00
Tomáš Čech a9a8f0637d Revert "gnu: Add sdcv."
This reverts commit 004eb31859.
2015-03-22 22:08:50 +01:00
Tomáš Čech d13586bfe4 gnu: Add the-silver-searcher.
* gnu/packages/code.scm (the-silver-searcher): New variable.
2015-03-22 22:04:31 +01:00
Taylan Ulrich Bayırlı/Kammer 38829eac4b gnu: Add mplayer2.
* gnu/packages/video.scm (mplayer2): New variable.
* gnu/packages/patches/mplayer2-theora-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-22 21:59:37 +01:00
Ricardo Wurmus 9d297fae5f gnu: gtk+-2: build gobject introspection typelib file.
* gnu/packages/gtk.scm (gtk+-2): add `gobject-introspection' to the
  native-inputs to install typelib file.
2015-03-21 20:24:31 -04:00
Mark H Weaver 3c76a81b94 gnu: openssl: Update to 1.0.2a.
* gnu/packages/openssl.scm (openssl): Update to 1.0.2a.
2015-03-21 16:32:17 -04:00
Andreas Enge e5ffe52cc7 gnu: calibre: Update to 2.22.0.
* gnu/packages/ebook.scm (calibre): Update to 2.22.0.
2015-03-21 20:33:22 +01:00
Ricardo Wurmus 0f49d7ba70 gnu: Add python2-pygobject.
* gnu/packages/glib.scm (python2-pygobject): New variable.
2015-03-20 22:51:33 +01:00
Ricardo Wurmus 594a362b04 gnu: python-pygobject: use home page of 3.x series.
* gnu/packages/glib.scm (python-pygobject)[home-page]: Use home page of the
  3.x series of the pygobject bindings instead of the home page for the 2.x
  bindings.
2015-03-20 22:51:25 +01:00
Ricardo Wurmus f6f499b37e gnu: lv2-mda-piano: change source URL.
* gnu/packages/audio.scm (lv2-mda-piano)[source]: Change URL of git
  repository to new upstream.
2015-03-20 22:48:42 +01:00
Ludovic Courtès 051edc95f1 guix package: '-s' sorts packages by name, then by version.
Before that it would sort them by name only, so the order in which two
packages with the same name but a different version would appear was
non-deterministic.

Reported by Tomáš Čech <sleep_walker@gnu.org>.

* guix/scripts/package.scm (find-packages-by-description)[version<?]:
  New variable.
  Change the 2nd argument to 'sort' to use 'string-compare' and resort
  to 'version<?' when P1 and P2 have the same name.
2015-03-20 22:07:28 +01:00
Ludovic Courtès 9eeb3d8c28 guix package: '-s' displays different packages that have the same location.
Before that, 'guix package -s foobarbaz' would display only one package
when several match but they have the same location (which is common when
using 'inherit'.)

The original rationale was given at
<http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00280.html> but
it was arguably misguided because it led to "real" packages being
hidden.

Reported by Tomáš Čech <sleep_walker@gnu.org>.

* guix/scripts/package.scm (find-packages-by-description)[same-location?]:
  Remove.
  Remove call to 'delete-duplicates'.
2015-03-20 22:07:28 +01:00
Andreas Enge ac85b51521 gnu: arb: Update to 2.3.0.
* gnu/packages/algebra.scm (arb): Update to 2.3.0.
2015-03-20 20:39:03 +01:00
Eric Bavier bdec322363 gnu: Add Catalyst-Devel.
* gnu/packages/web.scm (perl-catalyst-devel): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier fda45480ab gnu: Add Module-Install.
* gnu/packages/perl.scm (perl-module-install): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier ff31136eda gnu: Add YAML-Tiny.
* gnu/packages/perl.scm (perl-yaml-tiny): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 31831e565d gnu: perl-cpanel-json-xs: Move to (gnu packages perl).
* gnu/packages/web.scm (perl-cpanel-json-xs): Move this...
* gnu/packages/perl.scm: To here.
2015-03-20 14:22:37 -05:00
Eric Bavier 869ff43afd gnu: perl-json-maybexs: Move to (gnu packages perl).
* gnu/packages/web.scm (perl-json-maybexs): Move this...
* gnu/packages/perl.scm: To here.
2015-03-20 14:22:37 -05:00
Eric Bavier 09e02106f2 gnu: Add PAR-Dist.
* gnu/packages/perl.scm (perl-par-dist): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 2cae038d15 gnu: Add Module-ScanDeps.
* gnu/packages/perl.scm (perl-module-scandeps): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 686805ca2b gnu: Add Perl JSON.
* gnu/packages/perl.scm (perl-json): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 1699b2d969 gnu: Add JSON-XS.
* gnu/packages/perl.scm (perl-json-xs): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 2362b3e0d9 gnu: Add Types-Serialiser.
* gnu/packages/perl.scm (perl-types-serialiser): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 4a402425e4 gnu: Add File-Remove.
* gnu/packages/perl.scm (perl-file-remove): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier d4b5a5fcfc gnu: Add Template-Toolkit.
* gnu/packages/perl.scm (perl-template-toolkit): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier c601fa16d3 gnu: Add Test-LeakTrace.
* gnu/packages/perl.scm (perl-test-leaktrace): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier b3d9779cc8 gnu: Add AppConfig.
* gnu/packages/perl.scm (perl-appconfig): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier a3fe280687 gnu: Add File-Copy-Recursive.
* gnu/packages/perl.scm (perl-file-copy-recursive): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier a833ab564a gnu: Add File-ChangeNotify.
* gnu/packages/perl.scm (perl-file-changenotify): New variable.
2015-03-20 14:22:37 -05:00
Eric Bavier 9f82ae8920 gnu: Add MooseX-Params-Validate.
* gnu/packages/perl.scm (perl-moosex-params-validate): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier b6fb9f2c27 gnu: Add MooseX-SemiAffordanceAccessor.
* gnu/packages/perl.scm (perl-moosex-semiaffordanceaccessor): New
  variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 4cb5426ccf gnu: Add Catalyst-Plugin-Static-Simple.
* gnu/packages/web.scm (perl-catalyst-plugin-static-simple): New
  variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 3044f7249c gnu: Add MIME-Types.
* gnu/packages/web.scm (perl-mime-types): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 7c4eaa562d gnu: Add Catalyst-Plugin-ConfigLoader.
* gnu/packages/web.scm (perl-catalyst-plugin-configloader): New
  variable.
2015-03-20 14:22:36 -05:00
Eric Bavier cd39d814b1 gnu: Add Catalyst-Action-RenderView.
* gnu/packages/web.scm (perl-catalyst-action-renderview): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier c666dc3934 gnu: Add Data-Visitor.
* gnu/packages/perl.scm (perl-data-visitor): New variable.
2015-03-20 14:22:36 -05:00
Eric Bavier 2775b61b75 gnu: Add Tie-ToObject.
* gnu/packages/perl.scm (perl-tie-toobject): New variable.
2015-03-20 14:22:36 -05:00
Andreas Enge b42c8753d2 gnu: flint: Update to 2.4.5.
* gnu/packages/algebra.scm (flint): Update to 2.4.5.
2015-03-20 17:32:08 +01:00
Andreas Enge 480d19e6e0 gnu: arb: Propagate input flint.
* gnu/packages/algebra.scm (arb): Propagate input flint.
2015-03-20 16:49:30 +01:00
Andreas Enge df15d17d8d gnu: flint: Propagate inputs gmp and mpfr.
* gnu/packages/algebra.scm (flint): Propagate inputs gmp and mpfr.
2015-03-20 16:45:02 +01:00
Ludovic Courtès 2d1d2dd804 services: guix-service: Add 'lsof' and 'lsh' to guix-daemon's $PATH.
* gnu/services/base.scm (guix-service): Add #:lsof and #:lsh parameters.
  [start]: Pass #:environment-variables to 'make-forkexec-constructor'.
2015-03-19 23:15:50 +01:00
Ludovic Courtès 2d32d153a7 gnu: Use emacs-no-x when we just want to byte-compile code.
* gnu/packages/code.scm (cflow)[native-inputs]: Change EMACS to
  EMACS-NO-X.
* gnu/packages/databases.scm (recutils): Likewise.
* gnu/packages/emacs.scm (geiser, paredit, magit, emacs-w3m, emacs-wget,
  emms, bbdb): Likewise.
* gnu/packages/idutils.scm (idutils): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/package-management.scm (guix-0.8.1): Likewise.
* gnu/packages/scheme.scm (bigloo): Likewise.
* gnu/packages/version-control.scm (vc-dwim): Likewise.
2015-03-19 23:15:50 +01:00
Ludovic Courtès 4fd540b7f0 gnu: Add emacs-no-x.
* gnu/packages/emacs.scm (emacs-no-x): New variable.
2015-03-19 23:15:50 +01:00
Ludovic Courtès fa275717d8 gnu: emacs: Change a couple of input labels.
* gnu/packages/emacs.scm (emacs)[inputs]: Change labels for LIBX11,
  LIBXFT, and LIBXPM, for consistency.
2015-03-19 23:15:50 +01:00
Ludovic Courtès ec0339cd42 doc: Add section about the test suite.
* doc/guix.texi (Running the Test Suite): New section.
2015-03-19 23:15:50 +01:00
Ludovic Courtès a5f6065910 gnu: emms: Fix incorrect substitution in emms-tag-editor.el.
* gnu/packages/emacs.scm (emms)[arguments] <configure>: Add missing
  quotes in mp3info substitution in emms-tag-editor.el.
2015-03-19 23:15:50 +01:00
Ludovic Courtès 0e991c25d6 build: Detect lack of guile.m4 at autoconf time.
* configure.ac: Add 'm4_pattern_forbid' invocation.
2015-03-19 23:15:50 +01:00