Commit Graph

5900 Commits

Author SHA1 Message Date
Eric Bavier 17287d7d47 packages: Add zip archive support to 'patch-and-repack'.
Fixes <http://bugs.gnu.org/19830>.

* guix/packages.scm (%standard-patch-inputs): Add "unzip".
  (patch-and-repack)[decompression-type]: Detect zip archive.
  [build]: Invoke "unzip" when appropriate.
2015-03-24 15:59:30 -05:00
Ludovic Courtès a158484db4 packages: Make sure the patch inputs are not #f.
Fixes build issues whereby #:inputs would be #f.  See
<http://hydra.gnu.org/build/320333/nixlog/4/tail-reload>.

* guix/packages.scm (patch-and-repack): #:input defaults to #f.
  [lookup-input]: When INPUTS is #f, use (%standard-patch-inputs).
2015-03-21 22:07:16 +01:00
Ludovic Courtès ec3b1c575d gnu: Use 'glibc-utf8-locales-final' in the default patching inputs.
* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public.
* guix/packages.scm (%standard-patch-inputs): Use
  GLIBC-UTF8-LOCALES-FINAL instead of GLIBC-UTF8-LOCALES.
2015-03-21 21:58:04 +01:00
Ludovic Courtès cf87cc894d packages: Rewrite 'patch-and-repack' using gexps.
* guix/packages.scm (patch-and-repack): Remove 'store' parameter and
  change default value of #:inputs to (%standard-patch-inputs).
  [lookup-input, instantiate-patch]: New procedures.
  [patch-inputs]: Remove.
  [builder]: Rename to...
  [build]: ... this.  Use gexps instead of sexps.
  (patch-and-repack*): Remove.
  (origin->derivation): Use 'patch-and-repack' instead of
  'patch-and-repack*'.
* tests/packages.scm ("package-source-derivation,
  snippet")[source](snippet): Remove references to '%build-inputs' and
  '%outputs'.
2015-03-18 19:07:36 +01:00
Ludovic Courtès 381c540b93 Merge branch 'master' into core-updates 2015-03-18 18:11:02 +01:00
Ludovic Courtès f401b1e993 store: Remove debugging leftover.
* guix/store.scm (set-build-options): Remove leftover 'pk' call from
  41c45e7.
2015-03-18 18:10:16 +01:00
Ludovic Courtès 41c45e7863 store: Add preliminary support for client-supplied substitute URLs.
* guix/store.scm (set-build-options): Rename #:binary-caches to
  #:substitute-urls.  Actually pass it in 'pairs' under the
  "substitute-urls" key.
* guix/scripts/substitute-binary.scm (%cache-url): Add comment for
  "untrusted-substitute-urls".
2015-03-18 14:43:03 +01:00
Ludovic Courtès fc1ee09578 pk-crypto: Improve documentation of 'key-type'.
* guix/pk-crypto.scm (key-type): Improve docstring.
2015-03-18 14:43:03 +01:00
Tomáš Čech 87bafa07ae gnu: Add agg.
* gnu/packages/graphics.scm (agg): New variable.
* gnu/packages/patches/agg-am_c_prototype.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-18 11:53:05 +01:00
Alexander I.Grafov (Axel) ca0d2a637b gnu: Add xcape.
* gnu/packages/xdisorg.scm (xcape): New variable.
2015-03-17 20:31:19 -04:00
David Thompson 7578f6e32a build: ruby: Set $GEM_HOME that matches Ruby's $GEM_PATH.
* guix/build/ruby-build-system.scm (install): Ignore the Ruby patch version
  when creating $GEM_HOME.
2015-03-17 19:23:17 -04:00
Ludovic Courtès 5250a4f215 services: guix-service: Remove extraneous monadism.
* gnu/services/base.scm (guix-build-accounts): Remove unneeded
  'with-monad'.
  (guix-service): Adjust accordingly.
2015-03-17 22:25:55 +01:00
Ludovic Courtès ff40e9b7e5 gexp: Move the package and origin compilers to (guix packages).
From now own, (guix packages) depends on (guix gexps); it was the other
way around now.  This means that (guix packages) code can use gexps.

* guix/gexp.scm (origin-compiler, package-compiler): Remove.
  (default-guile-derivation): New procedure.
  (gexp->derivation): Use it instead of 'default-guile' +
  'package->derivation'.
* guix/packages.scm (default-guile-derivation): New procedure.
  (package-compiler, origin-compiler): New variables.
* doc/guix.texi (G-Expressions): Mention extensibility.
2015-03-17 22:25:55 +01:00
Ludovic Courtès 9d8100f4c7 packages: Move grafting parameter to (guix derivations).
* guix/packages.scm (%graft?, set-grafting): Move to...
* guix/derivations.scm: ... here.
2015-03-17 22:25:55 +01:00
Ludovic Courtès bcb1328763 gexp: Separate "compilers" for origins and packages from the core.
* guix/gexp.scm (<gexp-compiler>): New record type.
  (%gexp-compilers): New variable.
  (register-compiler!, lookup-compiler): New procedures.
  (define-gexp-compiler): New macro.
  (origin-compiler, package-compiler): New compilers.
  (lower-inputs): Remove clauses for 'origin?' and 'package?'.  Add
  clause with 'lookup-compiler' instead.
  (lower-references): Likewise.
  (gexp-inputs)[add-reference-inputs]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
2015-03-17 22:25:54 +01:00
Ludovic Courtès a482cfdcae gexp: Remove special meaning of forms (PACKAGE OUTPUT) in ungexp.
* guix/gexp.scm (gexp-inputs)[add-reference-inputs]: Remove clause for
  inputs of the form (PACKAGE OUTPUT).
  (gexp->sexp)[reference->sexp]: Likewise.
* tests/gexp.scm ("input list splicing"): Change 'list' to 'gexp-input'
  for glibc:debug.
  ("text-file*"): Likewise for %bootstrap-guile:out.
  ("input list splicing + gexp-input + ungexp-native-splicing"): Remove,
  now redundant.
2015-03-17 22:25:54 +01:00
Ludovic Courtès b4a4bec01a profiles: Use 'gexp-input' instead of two-element lists.
* guix/profiles.scm (package->manifest-entry): Use 'gexp-input' instead
  of two-element lists to denote specific package outputs.
  (manifest-inputs): Likewise.
  (profile-derivation)[info-dir]: Likewise.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 0dbea56bbf gexp: Export 'gexp-input' constructor.
* guix/gexp.scm (<gexp-input>)[gexp-input]: Rename to...
  [%gexp-input]: ... this.  Adjust callers accordingly.
  (gexp-input): New procedure.
  (gexp-inputs)[add-reference-inputs]: When the input is a list, check
  whether each item is already 'gexp-input?' and to not rewrap those.
  (gexp-outputs)[add-reference-output]: Likewise.
  (gexp->sexp): Likewise.
* tests/gexp.scm ("input list splicing + gexp-input +
  ungexp-native-splicing"): New test.
2015-03-17 22:25:54 +01:00
Ludovic Courtès e39d146107 gexp: Add <gexp-input>.
* guix/gexp.scm (<gexp-input>): New record type.
  (gexp-inputs)[add-reference-inputs]: Adjust clauses to expect
  <gexp-input> objects.
  (gexp-outputs)[add-reference-output]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
  (canonicalize-reference): Remove.
  (gexp)[escape->ref]: Use 'gexp-input' for all the references.
  Remove use of 'canonicalize-reference'.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 1e87da58a1 gexp: Rename <output-ref> to <gexp-output>.
* guix/gexp.scm (<output-ref>): Rename to...
  (<gexp-output>): ... this.  Adjust constructor/accessor names and
  users accordingly.
2015-03-17 22:25:54 +01:00
Ludovic Courtès 1f9760339e tests: Add an indirection for white-box testing.
* tests/gexp.scm (gexp-inputs, gexp-native-inputs, gexp-outputs,
  gexp->sexp): Make an indirection, to facilitate live testing with
  Geiser.
2015-03-17 22:25:54 +01:00
Eric Bavier 708155dfcb gnu: Add DBIx-Class-Schema-Loader.
* gnu/packages/databases.scm (perl-dbix-class-schema-loader): New variable.
2015-03-17 13:03:51 -05:00
Eric Bavier f3bbbb7361 gnu: Add String-ToIdentifier-EN.
* gnu/packages/language.scm (perl-string-toidentifier-en): New variable.
2015-03-17 13:03:51 -05:00
Eric Bavier ad0a50e3ad gnu: Add Text-Unidecode.
* gnu/packages/perl.scm (perl-text-unidecode): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 06f5001a5a gnu: Add String-CamelCase.
* gnu/packages/perl.scm (perl-string-camelcase): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier cfed969c73 gnu: Add Lingua-EN-Inflect-Phrase.
* gnu/packages/language.scm (perl-lingua-en-inflect-phrase): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier d7de088395 gnu: Add Lingua-EN-Tagger.
* gnu/packages/language.scm (perl-lingua-en-tagger): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 9766e4fef1 gnu: Add Lingua-Stem.
* gnu/packages/language.scm (perl-lingua-stem): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 2b83abae53 gnu: Add Text-German.
* gnu/packages/language.scm (perl-text-german): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 1f4b1129dc gnu: Add Snowball-Swedish.
* gnu/packages/language.scm (perl-snowball-swedish): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 1064abdc42 gnu: Add Snowball-Norwegian.
* gnu/packages/language.scm (perl-snowball-norwegian): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 30c400446c gnu: Add Lingua-Stem-Snowball-Da.
* gnu/packages/language.scm (perl-lingua-stem-snowball-da): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 95d2eec1a8 gnu: Add Lingua-Stem-Ru.
* gnu/packages/language.scm (perl-lingua-stem-ru): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 6afe59593b gnu: Add Lingua-Stem-It.
* gnu/packages/language.scm (perl-lingua-stem-it): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier df11e05241 gnu: Add Lingua-Stem-Fr.
* gnu/packages/language.scm (perl-lingua-stem-fr): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 9b446711e7 gnu: Add Lingua-PT-Stemmer.
* gnu/packages/language.scm (perl-lingua-pt-stemmer): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier f8f744a8d1 gnu: Add Memoize-ExpireLRU.
* gnu/packages/perl.scm (perl-memoize-expirelru): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 930768b3e4 gnu: Add Lingua-EN-Number-IsOrdinal.
* gnu/packages/language.scm (perl-lingua-en-number-isordinal): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 4812a813a2 gnu: Add Lingua-EN-Inflect-Number.
* gnu/packages/language.scm (perl-lingua-en-inflect-number): New
  variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 57ff0e04f1 gnu: Add Lingua-EN-Inflect.
* gnu/packages/language.scm (perl-lingua-en-inflect): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier 0c32bf0117 gnu: Add Lingua-EN-FindNumber.
* gnu/packages/language.scm (perl-lingua-en-findnumber): New variable.
2015-03-17 13:03:50 -05:00
Eric Bavier fc436dbaea gnu: Add Lingua-EN-Words2Nums.
* gnu/packages/language.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-17 13:03:49 -05:00
Eric Bavier 8ac8f1e0c9 gnu: Add Class-Unload.
* gnu/packages/perl.scm (perl-class-unload): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 88884196f5 gnu: Add Test-Pod.
* gnu/packages/perl.scm (perl-test-pod): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 26d427a5c1 gnu: Add MooseX-NonMoose.
* gnu/packages/perl.scm (perl-moosex-nonmoose): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier c7a47f5e32 gnu: Add MooseX-MarkAsMethods.
* gnu/packages/perl.scm (perl-moosex-markasmethods): New variable.
2015-03-17 13:03:13 -05:00
Eric Bavier e61fd0f048 gnu: Add DBIx-Class-IntrospectableM2M.
* gnu/packages/databases.scm (perl-dbix-class-introspectablem2m): New
  variable.
2015-03-17 13:03:13 -05:00
Eric Bavier 1846b423e2 gnu: Add Config-General.
* gnu/packages/perl.scm (perl-config-general): New variable.
2015-03-17 13:03:13 -05:00
Ludovic Courtès a29bfc28f0 gnu: Add BRDF Explorer.
* gnu/packages/graphics.scm (brdf-explorer): New variable.
2015-03-17 18:15:51 +01:00
Ludovic Courtès fdbb9ded00 licenses: Add the Ms-PL.
* guix/licenses.scm (ms-pl): New variable.
2015-03-17 18:15:51 +01:00