From aeb4c8be722a78286fa69e7ce3f6215189f2bff7 Mon Sep 17 00:00:00 2001 From: Bob Friesenhahn Date: Thu, 27 Aug 2009 17:40:49 +0000 Subject: [PATCH] * libtiff 4.0.0alpha4 released. * HOWTO-RELEASE: Improved release instructions. --- ChangeLog | 6 +++ HOWTO-RELEASE | 113 ++++++++++++++++++++++++++++++++++----------- RELEASE-DATE | 2 +- VERSION | 2 +- autogen.sh | 2 +- configure | 24 +++++----- configure.ac | 47 +++++++++++-------- html/index.html | 4 +- html/v4.0.0.html | 68 ++++++++++++++++++--------- libtiff/tiffvers.h | 4 +- 10 files changed, 185 insertions(+), 87 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf899f58..dd4f976f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-27 Bob Friesenhahn + + * libtiff 4.0.0alpha4 released. + + * HOWTO-RELEASE: Improved release instructions. + 2009-08-24 Bob Friesenhahn * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied diff --git a/HOWTO-RELEASE b/HOWTO-RELEASE index 23aae5a5..942f5fe1 100644 --- a/HOWTO-RELEASE +++ b/HOWTO-RELEASE @@ -1,54 +1,113 @@ HOWTO-RELEASE: -Notes on releasing. You will need appropriate autoconf, automake and libtool -utilities to release a package. +Notes on releasing. + +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 + + 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. 1. Commit any unsaved changes. -2. "make clean" - -3. Create html/vX.X.html. Take ChangeLog entries and html-ify in there. +2. Create html/vX.X.html. Take ChangeLog entries and html-ify in there. 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. -3.5. Update html/index.html to refer to this new page as the current release. +3. Update html/index.html to refer to this new page as the current release. -4. Increment version in configure.ac. Put 'alpha' or 'beta' after - the version, if applicable. +4. Increment the release version in configure.ac. Put 'alpha' or + 'beta' after the version, if applicable. For example: - eg. - 3.5.7 - or - 3.5.8beta + 4.0.0 + or + 4.0.0beta Version should be updated in two places: in the second argument of the AC_INIT macro and in LIBTIFF_xxx_VERSION variables. -5. ./autogen.sh +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. -6. sh configure + 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. -7. make release -- this will update "RELEASE-DATE" and "VERSION" in the top - level dir, and libtiff/tiffvers.h. +6. Add an entry to Changelog similar to: -8. Please verify that the version info in RELEASE-DATE, VERSION and - libtiff/tiffvers.h is right. + * libtiff 4.0.0alpha released. -9. make; make distcheck (to test). +7. In the source tree do -10. make distclean + ./autogen.sh -11. cvs commit + 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. -12. cvs tag Release-v3-5-7 (or the appropriate name for the release) +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: + + mkdir libtiff-build + cd libtiff-build + /path/to/libtiff/configure --enable-maintainer-mode + + otherwise do + + ./configure --enable-maintainer-mode + +9. In the build tree do + + make release + + 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. -13. configure; make dist Two files with names tiff-version.tar.gz and tiff-version.zip will - be created in the top level package directory. + be created in the top level build directory. -14. Copy to ftp.remotesensing.org ftp site. - scp tiff-*.tar.gz tiff-*.zip \ - frankw@upload.osgeo.org:/osgeo/download/libtiff +12. In the source tree do + + 'cvs commit'. + +13. In the source tree do + + 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. + + scp tiff-*.tar.gz tiff-*.zip \ + frankw@upload.osgeo.org:/osgeo/download/libtiff 15. Announce to list, tiff@lists.maptools.org diff --git a/RELEASE-DATE b/RELEASE-DATE index 0676215d..c15e48f5 100644 --- a/RELEASE-DATE +++ b/RELEASE-DATE @@ -1 +1 @@ -20080518 +20090827 diff --git a/VERSION b/VERSION index e3a41561..a0e916f0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.0beta3 +4.0.0beta4 diff --git a/autogen.sh b/autogen.sh index 1849c4a4..56338850 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,6 @@ #!/bin/sh set -x -#libtoolize --force --copy +libtoolize --force --copy aclocal -I ./m4 autoheader automake --foreign --add-missing --copy diff --git a/configure b/configure index a40e51bf..64c55fe3 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64 for LibTIFF Software 4.0.0beta3. +# Generated by GNU Autoconf 2.64 for LibTIFF Software 4.0.0beta4. # # Report bugs to . # @@ -698,8 +698,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='LibTIFF Software' PACKAGE_TARNAME='tiff' -PACKAGE_VERSION='4.0.0beta3' -PACKAGE_STRING='LibTIFF Software 4.0.0beta3' +PACKAGE_VERSION='4.0.0beta4' +PACKAGE_STRING='LibTIFF Software 4.0.0beta4' PACKAGE_BUGREPORT='tiff@lists.maptools.org' PACKAGE_URL='' @@ -1495,7 +1495,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures LibTIFF Software 4.0.0beta3 to adapt to many kinds of systems. +\`configure' configures LibTIFF Software 4.0.0beta4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1570,7 +1570,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of LibTIFF Software 4.0.0beta3:";; + short | recursive ) echo "Configuration of LibTIFF Software 4.0.0beta4:";; esac cat <<\_ACEOF @@ -1733,7 +1733,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -LibTIFF Software configure 4.0.0beta3 +LibTIFF Software configure 4.0.0beta4 generated by GNU Autoconf 2.64 Copyright (C) 2009 Free Software Foundation, Inc. @@ -2457,7 +2457,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by LibTIFF Software $as_me 4.0.0beta3, which was +It was created by LibTIFF Software $as_me 4.0.0beta4, which was generated by GNU Autoconf 2.64. Invocation command line was $ $0 $@ @@ -3384,7 +3384,7 @@ fi # Define the identity of the package. PACKAGE='tiff' - VERSION='4.0.0beta3' + VERSION='4.0.0beta4' cat >>confdefs.h <<_ACEOF @@ -3451,12 +3451,12 @@ fi LIBTIFF_MAJOR_VERSION=4 LIBTIFF_MINOR_VERSION=0 LIBTIFF_MICRO_VERSION=0 -LIBTIFF_ALPHA_VERSION=beta3 +LIBTIFF_ALPHA_VERSION=beta4 LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION LIBTIFF_RELEASE_DATE=`date +"%Y%m%d"` LIBTIFF_CURRENT=5 -LIBTIFF_REVISION=0 +LIBTIFF_REVISION=1 LIBTIFF_AGE=0 LIBTIFF_VERSION_INFO=$LIBTIFF_CURRENT:$LIBTIFF_REVISION:$LIBTIFF_AGE @@ -18918,7 +18918,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by LibTIFF Software $as_me 4.0.0beta3, which was +This file was extended by LibTIFF Software $as_me 4.0.0beta4, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18982,7 +18982,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -LibTIFF Software config.status 4.0.0beta3 +LibTIFF Software config.status 4.0.0beta4 configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/configure.ac b/configure.ac index e68c466f..6bc3a8d0 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,7 @@ dnl OF THIS SOFTWARE. dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.64) -AC_INIT([LibTIFF Software],[4.0.0beta3],[tiff@lists.maptools.org],[tiff]) +AC_INIT([LibTIFF Software],[4.0.0beta4],[tiff@lists.maptools.org],[tiff]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(m4) AC_LANG(C) @@ -42,31 +42,42 @@ dnl Don't fill the ALPHA_VERSION field, if not applicable. LIBTIFF_MAJOR_VERSION=4 LIBTIFF_MINOR_VERSION=0 LIBTIFF_MICRO_VERSION=0 -LIBTIFF_ALPHA_VERSION=beta3 +LIBTIFF_ALPHA_VERSION=beta4 LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION dnl This will be used with the 'make release' target LIBTIFF_RELEASE_DATE=`date +"%Y%m%d"` -dnl Following version updating rules are quoted from the libtool manual. +dnl Libtool library revision control info +dnl See the libtool documentation under the heading "Libtool's versioning +dnl system" in order to understand the meaning of these fields dnl -dnl - Update the version information only immediately before a public -dnl release of your software. More frequent updates are unnecessary, -dnl and only guarantee that the current interface number gets larger -dnl faster. +dnl current +dnl The most recent interface number that this library implements. +dnl revision +dnl The implementation number of the current interface. +dnl age +dnl The difference between the newest and oldest interfaces that +dnl this library implements. In other words, the library implements +dnl all the interface numbers in the range from number current - +dnl age to current. dnl -dnl - If the library source code has not changed at all since the last -dnl update, then increment REVISION (`C:R:A' becomes `C:r+1:A'). +dnl Here are a set of rules to help you update your library version +dnl information: dnl -dnl - If any interfaces have been added, removed, or changed since the -dnl last update, increment CURRENT, and set REVISION to 0. -dnl -dnl - If any interfaces have been added since the last public release, -dnl then increment AGE. -dnl -dnl - If any interfaces have been removed since the last public release, -dnl then set AGE to 0. +dnl 1. Start with version information of `0:0:0' for each libtool library. +dnl 2. Update the version information only immediately before a public +dnl release of your software. More frequent updates are unnecessary, and +dnl only guarantee that the current interface number gets larger faster. +dnl 3. If the library source code has changed at all since the last update, +dnl then increment revision (`c:r:a' becomes `c:r+1:a'). +dnl 4. If any interfaces have been added, removed, or changed since the last +dnl update, increment current, and set revision to 0. +dnl 5. If any interfaces have been added since the last public release, then +dnl increment age. +dnl 6. If any interfaces have been removed since the last public release, +dnl then set age to 0. LIBTIFF_CURRENT=5 -LIBTIFF_REVISION=0 +LIBTIFF_REVISION=1 LIBTIFF_AGE=0 LIBTIFF_VERSION_INFO=$LIBTIFF_CURRENT:$LIBTIFF_REVISION:$LIBTIFF_AGE diff --git a/html/index.html b/html/index.html index 90d2b54d..d1bcd255 100644 --- a/html/index.html +++ b/html/index.html @@ -28,7 +28,7 @@ Latest Development Release - v4.0.0alpha + v4.0.0beta4 Master Download Site @@ -128,7 +128,7 @@ Joris Van Damme and Lee Howard.

- Last updated $Date: 2009-08-20 22:57:39 $. + Last updated $Date: 2009-08-27 17:40:50 $.

diff --git a/html/v4.0.0.html b/html/v4.0.0.html index b75bbe22..7f7c1207 100644 --- a/html/v4.0.0.html +++ b/html/v4.0.0.html @@ -16,7 +16,7 @@