[PATCH] libfdt: include version number in soname

David Gibson david at gibson.dropbear.id.au
Thu May 12 01:06:28 EST 2011


On Wed, May 11, 2011 at 04:29:53PM +0200, Domenico Andreoli wrote:
> Hi Jon,
> 
> On Fri, Apr 29, 2011 at 08:48:46AM -0500, Jon Loeliger wrote:
> > > On Tue, Apr 26, 2011 at 01:16:27PM +0200, Paolo Bonzini wrote:
> > > > On 04/26/2011 12:45 PM, David Gibson wrote:
> > > > > 
> > > > > The libfdt shared library is only installed by its unversioned name.
> > > > > Including it properly in a distribution requires installation of both
> > > > > the versioned name (used in the binary-only package) and the unversioned
> > > > > name (used in the development package).  The latter is just a symbolic
> > > > > link, so you need to change the soname in turn to include the version.
> > 
> > Applied with last-minute mod and pushed out.
> > 
> > Consider this the candidate for a 1.3.0 release!
> 
> I'm considering to package dtc for Debian, do you plan to release
> tarballs or is git the only way you release dtc? I'm seeing the v1.3.0
> tag, is it already the final release?

dtc is already packaged in Debian, under the package name
'device-tree-compiler'.  However the package is missing some stuff,
and doesn't include libfdt at all.

> What libfdt is used for?

libfdt is used for manipulating device trees at run time.  It can be
used by bootloaders or kernels as well as userspace programs.

> Why dtc does not depend on it?

Partly history, partly because dtc does not do much runtime
manipulation of trees in flattened form, partly because having
separate implementations allows them to be tested against each other.

> Is there any
> other user-space tool that may use libfdt?

qemu can use libfdt in some configurations.

> I need to understand if it's
> appropriate to have the following packages: dtc, libfdt and
> libfdt-dev.

Yes, that would be appropriate, except it would be libfdt1, so that
debian's automatic shared library dependency stuff would work.  This
is exactly what I did in a quick and dirty .deb I made for internal
use.  lib32fdt1 and lib64fdt1 packages would also be useful.

> Are you available to host debian specific subdir containing all the
> packaging details (few files)? Has dtc an homepage or only the gitweb?
> 
> This is not an intent statement yet, I'm an almost retired debian
> developer but since the packaging effort is rather low I could think
> to take it anyway. If anybody else is available I will happily leave
> it to him.
> 
> thanks,
> Domenico
> 
> -----[ Domenico Andreoli, aka cavok
>  --[ http://cavokz.wordpress.com/gpgkey/
>    ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson


More information about the devicetree-discuss mailing list