libtiff/HOWTO-RELEASE

117 lines
3.6 KiB
Plaintext
Raw Normal View History

2000-12-19 15:12:53 -05:00
HOWTO-RELEASE:
2004-05-20 06:39:25 -04:00
Notes on releasing.
2000-12-19 15:12:53 -05:00
0. Make sure that you have current FSF releases of autoconf, automake,
and libtool packages installed under a common installation prefix
and that these tools are in your executable search path prior to
any other installed versions. Versions delivered with Linux may be
altered so it is best to install official FSF releases. GNU 'm4'
1.4.6 or later is needed in order to avoid bugs in m4. These
packages may be downloaded from the following ftp locations:
autoconf - ftp://ftp.gnu.org/pub/gnu/autoconf
automake - ftp://ftp.gnu.org/pub/gnu/automake
libtool - ftp://ftp.gnu.org/pub/gnu/libtool
2000-12-19 15:12:53 -05:00
Release builds should only be done on a system with a functioning
and correctly set system clock and on a filesystem which accurately
records file update times. Use of GNU make is recommended.
2000-12-19 15:12:53 -05:00
1. Commit any unsaved changes.
2. Create html/vX.X.html. Take ChangeLog entries and html-ify in there.
2004-05-20 06:39:25 -04:00
Easist thing to do is take html/vX.(X-1).html and use it as a template.
Add that file to the list of EXTRA_DIST files in the html/Makefile.am.
2000-12-19 15:12:53 -05:00
3. Update html/index.html to refer to this new page as the current release.
2001-11-23 11:05:53 -05:00
4. Increment the release version in configure.ac. Put 'alpha' or
'beta' after the version, if applicable. For example:
2000-12-19 15:12:53 -05:00
4.0.0
or
2011-04-09 17:01:00 -04:00
4.0.0beta7
2004-05-20 06:39:25 -04:00
Version should be updated in two places: in the second argument of the
AC_INIT macro and in LIBTIFF_xxx_VERSION variables.
5. Update library ELF versioning in configure.ac (LIBTIFF_CURRENT,
LIBTIFF_REVISION, and LIBTIFF_AGE). These numbers have nothing to
do with the libtiff release version numbers.
Note that as of libtiff 4.X, proper ELF versioning is used so
please follow the rules listed in configure.ac. At a bare minimum,
you should increment LIBTIFF_REVISION for each release so that
installed library files don't overwrite existing files. If APIs
have been added, removed, or interface structures have changed,
then more care is required.
6. Add an entry to Changelog similar to:
2011-12-21 19:29:28 -05:00
* libtiff 4.0.0 released.
7. In the source tree do
./autogen.sh
This step may be skipped if you have already been using a
maintainer build with current autoconf, automake, and libtool
packages. It is only needed when updating tool versions.
2004-10-16 05:17:48 -04:00
8. It is recommended (but not required) to build outside of the source
tree so that the source tree is kept in a pristine state. This
also allows sharing the source directory on several networked
systems. For example:
2005-07-04 08:51:12 -04:00
mkdir libtiff-build
cd libtiff-build
/path/to/libtiff/configure --enable-maintainer-mode
2000-12-19 15:12:53 -05:00
otherwise do
2000-12-19 15:12:53 -05:00
./configure --enable-maintainer-mode
9. In the build tree do
2000-12-19 15:12:53 -05:00
make release
2000-12-19 15:12:53 -05:00
This will update "RELEASE-DATE", "VERSION", and libtiff/tiffvers.h
in the source tree.
10. In the source tree, verify that the version info in RELEASE-DATE,
VERSION and libtiff/tiffvers.h is right.
11. In the build tree do
make
make distcheck
If 'make distcheck' fails, then correct any issues until it
succeeds.
2000-12-19 15:12:53 -05:00
2004-05-20 06:39:25 -04:00
Two files with names tiff-version.tar.gz and tiff-version.zip will
be created in the top level build directory.
12. In the source tree do
'cvs commit'.
13. In the source tree do
2011-12-21 19:29:28 -05:00
cvs tag Release-v4-0-0
(or the appropriate name for the release)
14. Copy release packages from the build tree to the
ftp.remotesensing.org ftp site.
2000-12-19 15:12:53 -05:00
scp tiff-*.tar.gz tiff-*.zip \
2012-06-15 20:19:35 -04:00
warmerdam@upload.osgeo.org:/osgeo/download/libtiff
2000-12-19 15:12:53 -05:00
2005-09-12 10:54:58 -04:00
15. Announce to list, tiff@lists.maptools.org
2000-12-21 09:38:01 -05:00
2005-07-04 08:51:12 -04:00
16. Update libtiff page on freshmeat with new version announcement.
2000-12-19 15:12:53 -05:00