Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-e.b-one.net (mx-e.one.com [91.198.169.52])
	by mail9.b-one.net (Postfix) with ESMTP id A8FDD40011B
	for <info@awaresystems.be>; Thu, 18 Dec 2008 06:37:00 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-e.b-one.net (Postfix) with ESMTP id D2A1EC2E033
	for <info@awaresystems.be>; Thu, 18 Dec 2008 06:36:59 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 5C1621D4489BC;
	Thu, 18 Dec 2008 05:31:26 +0000 (UTC)
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by lists.maptools.org (Postfix) with ESMTP id A87FA1CEDFBF2
	for <tiff@lists.maptools.org>; Thu, 18 Dec 2008 05:31:24 +0000 (UTC)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	mBI5VKJE027650; Wed, 17 Dec 2008 23:31:20 -0600 (CST)
Date: Wed, 17 Dec 2008 23:31:20 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Frank Warmerdam <warmerdam@pobox.com>
In-Reply-To: <4949D804.5010103@pobox.com>
Message-ID: <Pine.SOC.4.64.0812172323350.4741@freddy.simplesystems.org>
References: <4949D804.5010103@pobox.com>
MIME-Version: 1.0
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] tiffvers.h - TIFFLIB_RELEASE macro addition
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Wed, 17 Dec 2008, Frank Warmerdam wrote:
> Does the addition of TIFFLIB_RELEASE seem ok to folks?  Any suggestions
> or caveats?  Hmm, I just discovered that tiffvers.h is autogenerated
> by "make release" in the main libtiff makefile.  Does anyone know why
> such a mechanism is used?  It seems like it might be rather involved to
> cause it to generate the TIFFLIB_VERSION macro.  I'm inclined to revert
> this to a manual process described in HOWTO-RELEASE unless someone
> sees a reason for it to be as complicated as it is now.

In GraphicsMagick I used the versioning information also passed to 
libtool.  This is useful information since it indicates the available 
API/API properties of the library.

The available values are CURRENT, REVISION, and AGE in order of 
decreasing significance.  For example, CURRENT might be 4.

The approach you describe still only works if the major release update 
always offers additional features over the previous major release.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
