Commit graph

442132 commits

Author SHA1 Message Date
Eelco Visser
bad05cd2b6 A first attempt at generic release management. The goal
is to fully automate the building of distributions and
their release for distribution through a web-site, ftp
directory, etc. Inspired by nix-dist, but more generic
in order to deal with StrategoXT and related packages. 

The assumptions are the following:

  - package source is a subversion repository
  - the package is under autotool configuration
    (at least it has a configure.in with an AC_INIT)
  - standard autotools build interface:
    - bootstrap; configure; make install; 
      make check; make dist
  - optionally the release status can be indicated by
    a status="..." definition in configure.in

Creation of distributions is a two-step process:

  urls-to-nix.sh  # nix expressions for most recent commits
  build+upload.sh # instantiate the expressions

svn-to-nix.sh 

   Generates nix expression for head revision of the
   package; revision number, package name, and version
   are obtained from the source and do not have to
   be declared.

urls-to-nix.sh

   Contains a list of URLs to which svn-to-nix.sh is applied.

build+upload.sh

   Builds the packages and creates distributions in a www
   directory. Including the log of the build process (buildfarm)
   and files such as NEWS and README (for release management).
   (upload part of the script is currently turned off)

do-it.nix

   Top nix expression; collects pointers to required packages
   (e.g., stdenv, autotools, aterms, ...) and binds them
   to the parameters of the source-dist.nix packages.

package-source-dist.nix

   Generic Nix expression for a package parameterized with
   version info from svn and dependency info from do-it.nix.

package-dist.nix

   Generated; just imports 

package-version-rev.nix

   Generated; instantiates package-source-dist.nix with version,
   name, packagename, rev.

build-from-svn.sh

   Generic build script; obtains configuration flags from
   with... and enable... attributes of the Nix expression.
   Creates logs of the various parts of the build process.
   Creates distribution

Generalizations:

- Currently some information about a package resides in
  this directory, e.g., the generic Nix expression for
  a package, and the composition of the overall do-it.nix
  This information should also be obtained from the source
  tree.

- Upload facility lacking.
 



svn path=/nixpkgs/trunk/; revision=605
2003-12-30 21:14:48 +00:00
Eelco Visser
68361ac199 clone nix-dist to create strategoxt-dist
svn path=/nixpkgs/trunk/; revision=603
2003-12-29 17:01:32 +00:00
Eelco Visser
5fb4265643 clone trunk.nix for building distribution
svn path=/nixpkgs/trunk/; revision=602
2003-12-25 12:21:41 +00:00
Eelco Visser
e2570fd7b7 built StrategoXT from subversion; not sure whether there are problems
with shared libraries.

svn path=/nixpkgs/trunk/; revision=601
2003-12-24 15:58:48 +00:00
Eelco Visser
02a743eb7a junk
svn path=/nixpkgs/trunk/; revision=598
2003-12-23 21:32:25 +00:00
Eelco Visser
d5ec705667 Apparently libtool cannot be installed separately from autoconf
and automake. Copying the files in $libtool/share/aclocal to 
$autoconf/share/aclocal does not work (and causes collisions when
installing the tools in the user environment). The solution seems to
be to install the three distributions in one single $out directory,
i.e., consider them as one package.
 

svn path=/nixpkgs/trunk/; revision=597
2003-12-23 21:31:06 +00:00
Eelco Visser
b4ce40af2b added packages: which, libtool
aggregation in all-packages-generic: autotools
building strategoxt from svn

not complete yet since autconf cannot find libtool


svn path=/nixpkgs/trunk/; revision=596
2003-12-23 20:51:58 +00:00
Eelco Dolstra
5e7f5b2ada * Upgrade to Subversion 0.35.1, Berkeley DB 4.2.52.
svn path=/nixpkgs/trunk/; revision=595
2003-12-22 18:30:38 +00:00
Eelco Dolstra
fe1c5cb1e1 * Regression fix.
svn path=/nixpkgs/trunk/; revision=587
2003-12-21 21:25:38 +00:00
Eelco Dolstra
480d68ece3 * Added some missing semicolons.
* Some packages needed for the Subversion server.

svn path=/nixpkgs/trunk/; revision=586
2003-12-21 20:52:13 +00:00
Eelco Dolstra
38bc744a0b * Use md5sum instead of nix-hash.
svn path=/nixpkgs/trunk/; revision=584
2003-12-21 16:00:17 +00:00
Eelco Dolstra
4b283d3de7 * Added par2cmdline.
svn path=/nixpkgs/trunk/; revision=583
2003-12-14 20:36:43 +00:00
Eelco Dolstra
f1279496e5 * Upgrade to 1.0pre3.
svn path=/nixpkgs/trunk/; revision=582
2003-12-14 20:36:29 +00:00
Eelco Visser
e995558293 Nix expressions for sdf, strategoxt, and tiger.
svn path=/nixpkgs/trunk/; revision=581
2003-12-12 14:46:30 +00:00
Eelco Dolstra
716904fe0c * Added Graphviz.
svn path=/nixpkgs/trunk/; revision=580
2003-12-10 09:51:32 +00:00
Eelco Dolstra
233c7bd0f6 * Upload stylesheet.
svn path=/nixpkgs/trunk/; revision=579
2003-12-10 09:51:17 +00:00
Eelco Dolstra
a7055cbe52 * nxml package.
svn path=/nixpkgs/trunk/; revision=578
2003-12-08 11:56:50 +00:00
Eelco Dolstra
57fd5644d2 * vlc and required packages. Finally a good DVD player :-)
svn path=/nixpkgs/trunk/; revision=574
2003-12-03 21:58:16 +00:00
Eelco Dolstra
1fde9ff92d * Mail notification of build failures.
svn path=/nixpkgs/trunk/; revision=570
2003-12-02 14:07:20 +00:00
Eelco Dolstra
be3479234b * Build the source distribution before uploading it.
svn path=/nixpkgs/trunk/; revision=569
2003-12-02 13:04:21 +00:00
Eelco Dolstra
cd0ad9e00a * Added getopt (because sdf2table needs it).
svn path=/nixpkgs/trunk/; revision=568
2003-12-02 12:54:21 +00:00
Eelco Dolstra
aa3443651a * Added the server side CGI scripts used for uploading to losser.
svn path=/nixpkgs/trunk/; revision=566
2003-12-02 10:53:39 +00:00
Eelco Dolstra
506a336bca * Fix system name.
svn path=/nixpkgs/trunk/; revision=564
2003-12-02 10:16:40 +00:00
Eelco Dolstra
4e38179977 * Upgrade to Pan 0.14.2.90.
svn path=/nixpkgs/trunk/; revision=562
2003-12-01 16:34:13 +00:00
Eelco Dolstra
2dc967e656 * Change system name to i686-linux.
* A helper Nix expression used to populate the cache on losser.

svn path=/nixpkgs/trunk/; revision=558
2003-12-01 14:37:42 +00:00
Eelco Dolstra
256aec2e56 * Added GNU hello.
svn path=/nixpkgs/trunk/; revision=555
2003-11-27 12:09:22 +00:00
Eelco Dolstra
880d223252 * Use the new configure flags.
* Write more log output.

svn path=/nixpkgs/trunk/; revision=550
2003-11-26 10:52:16 +00:00
Eelco Dolstra
1bc488563d * Automatic generation and uploading of Nix source distributions
and manuals.

svn path=/nixpkgs/trunk/; revision=546
2003-11-25 18:04:28 +00:00
Eelco Dolstra
306522dd90 * Use all those new packages.
svn path=/nixpkgs/trunk/; revision=545
2003-11-25 18:02:05 +00:00
Eelco Dolstra
003ce6c40d * A function to fetch sources from a Subversion repository.
svn path=/nixpkgs/trunk/; revision=544
2003-11-25 17:38:48 +00:00
Eelco Dolstra
f16b58e236 * DocBook DTD / XSLT stylesheets.
svn path=/nixpkgs/trunk/; revision=543
2003-11-25 16:59:07 +00:00
Eelco Dolstra
7953d11e3a * Added unzip.
svn path=/nixpkgs/trunk/; revision=541
2003-11-25 14:40:02 +00:00
Eelco Dolstra
58c20ef428 * Added autoconf/automake.
svn path=/nixpkgs/trunk/; revision=540
2003-11-25 13:46:24 +00:00
Eelco Dolstra
ef2f51e930 * Added libxslt.
svn path=/nixpkgs/trunk/; revision=539
2003-11-25 13:45:51 +00:00
Eelco Dolstra
cf9df60603 * Propagate libz.
svn path=/nixpkgs/trunk/; revision=538
2003-11-25 13:45:35 +00:00
Eelco Dolstra
2f3d764edb * user-environment.nix is no longer needed, since it is now generated
by nix-env.

svn path=/nixpkgs/trunk/; revision=518
2003-11-20 13:58:49 +00:00
Eelco Dolstra
026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra
48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00
Eelco Dolstra
6b2bb22474 * Delete the old Fix packages.
svn path=/nixpkgs/trunk/; revision=501
2003-11-14 09:57:25 +00:00
Eelco Dolstra
e6db9b1caa * Browser plugin for MPlayer.
svn path=/nixpkgs/trunk/; revision=498
2003-11-13 13:11:38 +00:00
Eelco Dolstra
5ce30ac868 * Added gqview.
svn path=/nixpkgs/trunk/; revision=497
2003-11-11 16:13:13 +00:00
Eelco Dolstra
ee09ff00ff * Added the ALSA library.
* Optional ALSA support in MPlayer.

svn path=/nixpkgs/trunk/; revision=496
2003-11-11 15:57:15 +00:00
Eelco Dolstra
e9ce152222 * MPlayer.
svn path=/nixpkgs/trunk/; revision=495
2003-11-11 15:01:07 +00:00
Eelco Dolstra
b1741cb2b1 * Converted Mozilla Firebird.
svn path=/nixpkgs/trunk/; revision=491
2003-11-07 11:18:47 +00:00
Eelco Dolstra
bd9a07f99c * Converted GTK 1 / Sylpheed, with optional support for gdk-pixbuf.
svn path=/nixpkgs/trunk/; revision=490
2003-11-06 16:28:57 +00:00
Eelco Dolstra
cc87e86386 * Converted more packages.
svn path=/nixpkgs/trunk/; revision=488
2003-11-06 15:24:19 +00:00
Eelco Dolstra
deec2fbb21 * Converted Xft.
svn path=/nixpkgs/trunk/; revision=485
2003-11-06 13:16:41 +00:00
Eelco Dolstra
f0f5b6297e * Converted more packages.
svn path=/nixpkgs/trunk/; revision=484
2003-11-06 12:43:25 +00:00
Eelco Dolstra
1c2cebf738 * Bug fix.
svn path=/nixpkgs/trunk/; revision=483
2003-11-06 12:43:11 +00:00
Eelco Dolstra
4d037af2de * Added assertions and defaults to the Subversion package.
* Some cleanups.

svn path=/nixpkgs/trunk/; revision=482
2003-11-05 16:28:26 +00:00