Commit graph

44 commits

Author SHA1 Message Date
Ludovic Courtès 5545472461 gnupdate: Update the list of ignored packages.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Update.

svn path=/nixpkgs/trunk/; revision=28756
2011-08-22 17:38:57 +00:00
Ludovic Courtès 2943c2eb78 GNU GRUB 1.99.
svn path=/nixpkgs/trunk/; revision=27440
2011-06-13 20:52:32 +00:00
Ludovic Courtès 87a9719a36 gnupdate: Ignore GCC-related attributes.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes): Add
  GCC 4.6 and gfortran/gcj attributes.

svn path=/nixpkgs/trunk/; revision=26796
2011-04-12 08:05:41 +00:00
Ludovic Courtès 91e63f9cae gnupdate: Handle `repeated' nodes referring to a drv not encountered yet.
* maintainers/scripts/gnu/gnupdate (xml-element->snix): Return an
  `unresolved' node when the repeated derivation hasn't been encountered
  yet.
  (resolve): New procedure.
  (xml->snix): Use it.

svn path=/nixpkgs/trunk/; revision=26790
2011-04-12 08:05:20 +00:00
Ludovic Courtès cea90f43e4 gnupdate: Use (ice-9 format).
* maintainers/scripts/gnu/gnupdate: Use (ice-9 format).

svn path=/nixpkgs/trunk/; revision=26789
2011-04-12 08:05:16 +00:00
Ludovic Courtès e0fa94d81f Remove obsolete version of `gnupdate'.
svn path=/nixpkgs/trunk/; revision=26483
2011-03-23 21:56:12 +00:00
Ludovic Courtès f8b9855727 gnupdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes): Add
  `gcc45_real' and `gcc45_realCross'.
  (ftp-server/directory)[quirks]: Add `ucommon'.

svn path=/nixpkgs/trunk/; revision=26261
2011-03-10 16:27:43 +00:00
Ludovic Courtès cc02933305 gnupdate: Improve error handling for pipes.
* maintainers/scripts/gnu/gnupdate (pipe-failed?): New procedure.
  (nix-prefetch-url): Use it.
  (gnupdate)[nixpkgs->snix]: New procedure.
  Use it.

svn path=/nixpkgs/trunk/; revision=26160
2011-03-04 13:18:56 +00:00
Ludovic Courtès 918a142f2a gnupdate: Update the list of ignored attributes.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Update.

svn path=/nixpkgs/trunk/; revision=26077
2011-02-23 17:36:24 +00:00
Ludovic Courtès b70494961b gnupdate: Display FTP exceptions more nicely.
* maintainers/scripts/gnu/gnupdate (releases): Display MESSAGE and ARGS
  with ~S.

svn path=/nixpkgs/trunk/; revision=26076
2011-02-23 17:36:21 +00:00
Ludovic Courtès 7a99d54ca7 gnupdate: Handle recursive FTP directory structures; handle funky file names.
This patch allows projects with per-version sub-directories to be
handled (e.g., MIT Scheme, MyServer, IceCat, etc.)  It also makes sure
alpha releases are discarded (e.g., "gnupg-2.1.0beta3") as well as
unrelated files (e.g., "TeXmacs-600dpi-fonts.tar.gz").

* maintainers/scripts/gnu/gnupdate (ftp-list): Return a list of entries
  where each entry indicates the file type in addition to the file name.
  (releases): Adjust accordingly.  Recurse into sub-directories and
  return a list of name/directory pairs.  Catch `ftp-error' instead
  of everything.
  [release-rx]: Adjust to work with TeXmacs.
  [alpha-rx]: New variable.
  [sans-extension]: New procedure.
  (latest-release): Adjust accordingly.
  (%package-name-rx): New variable.
  (package/version): Use it.
  (packages-to-update): Adjust accordingly.  Use the directory returned
  by `latest-release'.
  [unpack]: New procedure.
  (fetch-gnu): Add a `directory' parameter; use it.

svn path=/nixpkgs/trunk/; revision=26075
2011-02-23 17:36:15 +00:00
Ludovic Courtès ad32df1795 gnupdate: Add a quirk for Source-Highlight.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  "source-highlight".

svn path=/nixpkgs/trunk/; revision=26074
2011-02-23 17:36:11 +00:00
Ludovic Courtès e86ac7fc39 gnupdate: Fix the MIT Scheme quirk.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Fix
  the mit-scheme quirk.

svn path=/nixpkgs/trunk/; revision=26073
2011-02-23 17:36:07 +00:00
Ludovic Courtès 542d7424f0 gnupdate: Remove compatibility hack.
svn path=/nixpkgs/trunk/; revision=26000
2011-02-16 22:49:57 +00:00
Ludovic Courtès e201d01ed0 GNUpdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  "libzrtpcpp" and "libosip2".

svn path=/nixpkgs/trunk/; revision=25685
2011-01-24 22:29:29 +00:00
Lluís Batlle i Rossell cd4b54748a Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=24038
2010-10-03 09:25:34 +00:00
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
Lluís Batlle i Rossell 2c5de61327 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23840
2010-09-17 19:10:21 +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 8f5831d26c gnupdate: Add quirk for GNU Make.
* maintainers/scripts/gnu/gnupdate (nixpkgs->gnu-name)[quirks]: Add
  `gnumake'.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23276
2010-08-20 15:26:16 +00:00
Lluís Batlle i Rossell f16353b6f2 Updated from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23275
2010-08-20 13:41:12 +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
Lluís Batlle i Rossell 5417c720fd Merging from trunk.
I tried to fix some trivial conflicts.
I don't know if I merged well some more difficult conflicts on openssl/darwin_patch
or haskell-platform.


svn path=/nixpkgs/branches/stdenv-updates/; revision=22878
2010-08-02 15:48:19 +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