use of the Requires.private field
Vincent Torri
vincent.torri at gmail.com
Sat Jun 19 09:58:02 PDT 2010
On Sat, Jun 19, 2010 at 6:02 PM, Andreas Metzler <
ametzler at downhill.at.eu.org> wrote:
> On 2010-06-19 Dan Nicholson <dbn.lists at gmail.com> wrote:
> > Sorry, the wording there isn't entirely accurate. In this case,
> > "exposed to applications" refers to symbols. As in, Evas does not use
> > Eina in such a way that it would require me to explicitly link my app
> > to Eina. In fact, there's probably no reason to use Requires for a C
> > library unless you just want to force people to link to your required
> > libraries.
>
> Hello,
> Unless the author makes it a documented feature that includes <Eina.h>
> makes Evas.h headers and functions available and useable.
>
>
we only use pointers to hidden structure of eina
> > Please read the next section of the guide. It explains this pretty
> explicitly.
>
> > http://people.freedesktop.org/~dbn/pkg-config-guide.html#writing<http://people.freedesktop.org/%7Edbn/pkg-config-guide.html#writing>
>
> A thing to keep in mind is that if the Eina ABI is incompatibly
> change and gets a soname bump (e.g. size of a public struct is
> changed), Evas needs to get a soname bump too, since it also exported
> the struct. But that is not a pkg-config thing.
> See e.g.
>
> http://news.gmane.org/find-root.php?message_id=%3c20071226041243.GA11727%40dario.dodds.net%3eand friends
>
Well, we take a lot of care about API and ABI. API or ABI break will only
occur after a change of the major version.
So, I think that eina-0 will be in Requires.private. It seems the correct
place.
thank you both for your answers
Vincent Torri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20100619/9eb5386c/attachment.html>
More information about the pkg-config
mailing list