From: Lutz <lu...@us...> - 2005-04-15 18:32:51
|
On Fri, 2005-04-15 at 19:28 +0200, Hongli Lai wrote: > Hi. I'm building an autopackage[1] for Gimp, and I came across a problem > with libexif: the library major has changed compared to the one shipped > with slightly older distributions, such as Fedora Core 1. This means > that libexif broke compatibility. or that no-one has educated libexif developers (specifically me) sufficiently on how to correctly set up and maintain libexif/configure.in. My goal up to now was to make sure that we don't release different incompatible versions of libexif with the same major version. It seems that I've fully reached that goal :-) If I remember correctly, the last change breaking binary compatibility happened in July 2002. After that, we only added interfaces and fixed the code behind the existing API. There is some logic and documentation in libexif/configure.in that is probably incorrect or (at least) not clear enough. Up to now, if I added an interface, I just increased 'CURRENT'. See code snippet below. Could you send us a patch? Thanks a lot! Regards Lutz dnl --------------------------------------------------------------------------- dnl Versioning: dnl - AGE (Micro): Increment if any interfaces have been added; set to 0 dnl if any interfaces have been removed. Removal has dnl precedence over adding, so set to 0 if both happened. dnl - REVISION (Minor): Increment any time the source changes; set to dnl 0 if you incremented CURRENT. dnl - CURRENT (Major): Increment if the interface has additions, changes, dnl removals. dnl --------------------------------------------------------------------------- LIBEXIF_AGE=0 LIBEXIF_REVISION=0 LIBEXIF_CURRENT=12 AC_SUBST([LIBEXIF_AGE]) AC_SUBST([LIBEXIF_REVISION]) AC_SUBST([LIBEXIF_CURRENT]) LIBEXIF_VERSION_INFO=`expr $LIBEXIF_CURRENT + $LIBEXIF_REVISION`: $LIBEXIF_AGE:$LIBEXIF_REVISION AC_SUBST([LIBEXIF_VERSION_INFO]) |