lv2dynparam1
Felipe Sateler
fsateler at gmail.com
Fri Sep 11 04:28:01 UTC 2009
On Thu, 2009-09-10 at 23:43 +0200, Jaromír Mikeš wrote:
> > Od: Felipe Sateler <fsateler at gmail.com>
>
> Hi,
>
> JM > I am just preparing package of library lv2dynparam1. (library needed for
> JM > building zynjacku)
> JM > http://download.gna.org/lv2dynparam/
>
> JM > My problem is that source actually building two libraries:
> JM > liblv2dynparamhost1-1
> JM > liblv2dynparamplugin1-0
>
> JM > If I make just two packages liblv2dynparam1 and liblv2dynparam1-dev then
> JM > I have this warning from lintian:
>
> JM > W: liblv2dynparam1: package-name-doesnt-match-sonames
> JM >liblv2dynparamhost1-1 liblv2dynparamplugin1-0
>
> JM > What is the solution?
>
> JM > Make four packages?
> JM > Something like:
> JM > liblv2dynparamhost1-1
> JM > liblv2dynparamhost1-dev
> JM > liblv2dynparamplugin1-0
> JM > liblv2dynparamplugin1-dev
>
> JM > Or make three?
> JM > liblv2dynparamhost1-1
> JM > liblv2dynparamplugin1-0
> JM > liblv2dynparam1-dev
>
> JM > How to solve dependencies in right way then?
> JM > I think liblv2dynparamhost1-1 and liblv2dynparamplugin1-0 should be
>
> JM >always installed both or none.
>
> FS> Unless the host and plugin libraries are guaranteed to change ABI
> FS> simoultaneously, you cannot put them in the same package.
> FS> How do applications use these libraries?
>
> JM > lv2dynparam is a LV2 plugin interface extension that enables plugin
> JM > parameters to appear and disappear... (copy/paste from README file)
> JM > complete README file is in attachment ...
>
> JM > As far as I know zynjacku is only application which is using these libraries.
>
> JM > As regards packaging I was also thinking about metapackage lv2dynparam1 which
> JM > will install two packages:
> JM > liblv2dynparamhost1-1
> JM > liblv2dynparamplugin1-0
>
> FS > I think it is better to just provide 2 separate source packages. As far
> FS > as I can see, the libraries are just regular libraries, so the
> FS > applications linking to them will pull them via the shlibs system. I
> FS > think a metapackage is not needed (libraries are not supposed to be
> FS > installed directly by users).
>
> 2 separate packages .... ok
> And what about -dev packages should be also 2 or just one for both libraries.
>
> If there should be 2 -dev packages how should I divide headers file between them.
> There are 5 headers files:
> audiolock.h
> host.h
> lv2dynparam.h
> lv2_rtmempool.h
> plugin.h
>
> Destination for some of them is clear:
>
> host.h -> liblv2dynparamhost1-dev
> plugin.h -> liblv2dynparamplugin1-dev
>
> I am not sure about others ... should be included in both -dev packages?
>
> All headers files are in attachment if needed.
It depends. I would suggest just one, since it is a small package, and
so far the only user uses both libraries. I would put them all in one
until it is necessary to break them.
--
Saludos,
Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090911/7f128860/attachment.pgp>
More information about the pkg-multimedia-maintainers
mailing list