Commit graph

24 commits

Author SHA1 Message Date
Ludovic Courtès bfbe1fadbd gnupdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  `freefont-ttf' and `gnu-ghostscript'.

svn path=/nixpkgs/trunk/; revision=23876
2010-09-20 20:46:37 +00:00
Ludovic Courtès 7ff37213b7 gnupdate: Update to new FFI.
* maintainers/scripts/gnu/gnupdate (pointer->procedure): New procedure.

svn path=/nixpkgs/trunk/; revision=23712
2010-09-10 11:50:06 +00:00
Ludovic Courtès a69596b951 gnupdate: Use the latest FFI.
* maintainers/scripts/gnu/gnupdate (version-string>?): Use the new
  `string->pointer', available in 1.9.12.

svn path=/nixpkgs/trunk/; revision=23253
2010-08-19 16:52:18 +00:00
Ludovic Courtès 227c0d768e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=22468
2010-07-04 21:11:31 +00:00
Ludovic Courtès 5808f1a0ca gnupdate: Remove obsolete workaround.
* maintainers/scripts/gnu/gnupdate: Remove `(sxml ssax) workaround for
  macro-generating macros.

svn path=/nixpkgs/trunk/; revision=22467
2010-07-04 21:11:27 +00:00
Ludovic Courtès c83cb10f2b gnupdate: Turn into a module.
* maintainers/scripts/gnu/gnupdate.scm: Rename to...
* maintainers/scripts/gnu/gnupdate: ... this.  Use `define-module' and
  the orthodox way of doing things.
  (main): Rename to...
  (gnupdate): ... this.

svn path=/nixpkgs/trunk/; revision=22466
2010-07-04 21:11:19 +00:00
Ludovic Courtès c05efc563c gnupdate: Add quirk for GRUB 2.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory): Add quirk
  for GRUB 2.

svn path=/nixpkgs/trunk/; revision=22455
2010-07-04 21:10:22 +00:00
Ludovic Courtès f740342ade gnupdate: Remove unused variables.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Don't bind unused fields
  in `match'.
  (ftp-server/directory): Ditto.

svn path=/nixpkgs/trunk/; revision=22454
2010-07-04 21:10:17 +00:00
Ludovic Courtès 073c01503a gnupdate: Add --select', to select packages stdenv' depends on (or not).
* maintainers/scripts/gnu/gnupdate.scm (attribute-value,
  derivation-source, derivation-output-path, source-output-path,
  derivation-source-output-path, find-attribute-by-name,
  find-package-by-attribute-name, stdenv-package, package-requisites):
  New procedures.
  (%options): Add `--select'.
  (main): Compute the source output paths of `stdenv'.  Filter out
  packages that are/aren't in `stdenv', depending on the `--select'
  option.

svn path=/nixpkgs/trunk/; revision=22453
2010-07-04 21:10:13 +00:00
Ludovic Courtès 65b175a2f1 gnupdate: Ignore the "gcc44" and "gcc45" attributes.
* maintainers/scripts/gnu/gnupdate.scm (%ignored-package-attributes):
  Add "gcc44" and "gcc45".

svn path=/nixpkgs/trunk/; revision=22452
2010-07-04 21:10:08 +00:00
Ludovic Courtès 0b33aa7abb GNUpdate: Update to the new module name.
svn path=/nixpkgs/trunk/; revision=22214
2010-06-10 21:52:23 +00:00
Ludovic Courtès 5f7d5aa2bf gnupdate: Remove unneeded file.
* maintainers/scripts/gnu/sxml-match.scm: Remove.

svn path=/nixpkgs/trunk/; revision=22075
2010-06-01 10:13:17 +00:00
Ludovic Courtès 3b9cee4638 gnupdate: Fix unbound-variable in `%ftp-login'.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): Bind `command' to
  the command.

svn path=/nixpkgs/trunk/; revision=21742
2010-05-12 12:22:40 +00:00
Ludovic Courtès b43b098513 gnupdate: Re-fix thinko.
svn path=/nixpkgs/trunk/; revision=21717
2010-05-10 21:26:57 +00:00
Ludovic Courtès 5583d516d2 gnupdate: Add `--dry-run' option.
* maintainers/scripts/gnu/gnupdate.scm (%options): Add `dry-run'.
  (main): Handle `--dry-run'.

svn path=/nixpkgs/trunk/; revision=21716
2010-05-10 21:26:53 +00:00
Ludovic Courtès 5dd1036a04 gnupdate: Add optional directory argument to `ftp-list'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-list): Add optional
  DIRECTORY argument.
  (releases): Pass DIRECTORY to `ftp-list'.

svn path=/nixpkgs/trunk/; revision=21715
2010-05-10 21:26:48 +00:00
Ludovic Courtès d8c33c1820 gnupdate: Handle FTP logins with password.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): New procedure.
  (ftp-open): Use it.

svn path=/nixpkgs/trunk/; revision=21714
2010-05-10 21:26:43 +00:00
Ludovic Courtès fd9d4a5747 gnupdate: Add quirk for MIT/GNU Scheme.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `mit-scheme'.
  (nixpkgs->gnu-name)[quirks]: Ditto.

svn path=/nixpkgs/trunk/; revision=21711
2010-05-10 14:30:55 +00:00
Ludovic Courtès fbb4886d49 gnupdate: Fix typo in the GNU predicate.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Fix typo analyzing
  `meta.homepage'.

svn path=/nixpkgs/trunk/; revision=21706
2010-05-10 14:30:35 +00:00
Ludovic Courtès e4fecd6b8e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21703
2010-05-10 12:33:58 +00:00
Ludovic Courtès 7e4f5567d4 gnupdate: Add quirk for `commoncpp2'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `commoncpp2'.

svn path=/nixpkgs/trunk/; revision=21700
2010-05-09 23:14:55 +00:00
Ludovic Courtès 11d4a76c27 gnupdate: Use SSAX instead of SXML to reduce the memory & CPU overhead.
* maintainers/scripts/gnu/gnupdate.scm (xml-element->snix): New
  procedure.
  (xml->snix): Rewrite to use a parser generated by `ssax:make-parser'.
  (%options)[sxml]: Remove.
  (main): Update accordingly.

svn path=/nixpkgs/trunk/; revision=21695
2010-05-09 23:14:29 +00:00
Ludovic Courtès f226c85249 gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21049
2010-04-13 08:56:00 +00:00
Ludovic Courtès d41df5eb06 Add GNU package update script.
svn path=/nixpkgs/trunk/; revision=21040
2010-04-12 23:02:36 +00:00