[DebianGIS-dev] Bug#537414: Bug#537414: Bug#537414: please default to 1.8 interface for hdf5-1.8.x
On Tue, Jun 22, 2010 at 02:53:27PM +0800, Chun-Chung Chen wrote: There probably should be libhdf5-*-1.6-dev packages for the people wanting the old API. Or, if it is really desired to have libhdf5-*-dev meant for 1.6, there should at least be libhdf5-*-1.8-dev packages that provide a way to use the 1.8 API by default. This approach is unviable. They would required different sonames and libnames to allow the different libraries and API to cohexist. Something that definitively breaks compatibility against upstream and causes serious headaches to developers. The right apporach is adding new functions for the new API and retaining the old API for backcompatibility. Exactly the result of the approach adopted. -- Francesco P. Lovergine ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#537414: Bug#537414: Bug#537414: please default to 1.8 interface for hdf5-1.8.x
On 06/22/2010 05:06 PM, Francesco P. Lovergine wrote: This approach is unviable. They would required different sonames and libnames to allow the different libraries and API to cohexist. Something that definitively breaks compatibility against upstream and causes serious headaches to developers. The right apporach is adding new functions for the new API and retaining the old API for backcompatibility. Exactly the result of the approach adopted. Different sonames and libraries where needed when changing from hdf5-1.6.* to hdf5-1.8.* . There is no need for different sonames or libraries for the same ABI. And, the API do not even need to coexist. Just make the libhdf5-*-1.8-dev conflict with the libhdf5-*-dev packages. This permits the migration work to start now instead of when the old API is deprecated or the ABI for old functions are no longer available. Chun-Chung Chen ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel