[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Early adopters of symbol based dependencies needed

On Tue, 20 Nov 2007, Joey Hess wrote:
> Raphael Hertzog wrote:
> > With debhelper 5.0.61, dh_makeshlibs will also call dpkg-gensymbols if it
> > finds debian/<package>.symbols (or debian/<package>.symbols.<arch>). So
> > for packages using debhelper, the only thing to do is to drop the right
> > symbol file(s) at the right place and add build-depends on dpkg-dev (>= 1.14.9)
> > and debhelper (>= 5.0.61).
> I suppose you'd also want to stop passing -V to dh_makeshlibs,
> since the symbol versioning should take care of setting the version.
> -V without any parameters is evil anyway.
> Although, what happens if a package is built against the library on
> a buildd that doesn't have the new dpkg-dev yet? It would generate a
> wrong unversioned dependency in this case.

Given that shlibs are still used as fallback, I don't see a reason to
remove -V, in particular given that unofficial archs might not have
symbols files when they are arch-specific and when something specific
needs to be done to add support for a new arch.

Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :

Reply to: