|
| 1 | +Starting from the 0.5.2 release, we have an automatic build system for |
| 2 | +creating the binary distribution. It is based on some of the scripts |
| 3 | +in this directory (buildall, buildcheck, buildone, licensecheck, |
| 4 | +makeexcludes, purge-nonbase.sh). Before beginning, the environment |
| 5 | +variable LOGDIR must be set to a directory to record activity logs. At the |
| 6 | +moment, these scripts must be launched from the directory which contains |
| 7 | +them. (This should be fixed in the future.) |
| 8 | + |
| 9 | +The "makeexcludes" script analyzes the licenses of all of the packages, and |
| 10 | +records the ones which should not be in the bindist in the file |
| 11 | +"excludes". It also writes a file "excludes.log" which keeps track of why |
| 12 | +the package is being excluded. It's a good idea to run this script first, |
| 13 | +analyze the output, and possibly modify some packages until all of the |
| 14 | +licensing is as expected. |
| 15 | + |
| 16 | +The "buildall" script builds all of the packages. (Consult the other HOWTO |
| 17 | +file in this directory for instructions about what to do once they are |
| 18 | +built.) The "buildall" script runs many iterates of the "buildone" |
| 19 | +script. Each invocation of "buildone" clears out all non-essential |
| 20 | +packages from the Fink installation, and then builds the requested |
| 21 | +package. All of the default responses are given, so its important not to |
| 22 | +have system-xfree86 or system-tetex in the Fink installation (except at the |
| 23 | +very last step); otherwise, the dependencies will choose those packages but |
| 24 | +they won't be able to be installed. A transcript of the build session for |
| 25 | +package foo is recorded in the file $LOGDIR/foo.log, and if the build |
| 26 | +fails, the name of the package is recorded in $LOGDIR/NotBuilt. |
| 27 | + |
| 28 | +The suggested method is to remove the "system" packages, and set the Trees |
| 29 | +line to include only stable/main. Run "buildall" (until all are |
| 30 | +successful). Then reset the Trees line to include both stable/main and |
| 31 | +stable/cryto, and run "buildall" again. Finally, restore the "system" |
| 32 | +packages and build the corresponding binaries. |
0 commit comments