[Pkg-pascal-devel] unit dependencies in fpc
Abou Al Montacir
abou.almontacir at sfr.fr
Wed Sep 25 17:53:43 UTC 2013
On Tue, 2013-09-24 at 22:15 +0200, Paul Gevers wrote:
> Hi,
>
> While looking into the current state of fpc, and using it to build
> caste-game-engine, I noticed that the units build from the fpc source
> don't recommend any libraries (except libsvga, which is actually
> obsolete). If I understand how this should work, I think that several
> libraries should recommend, or at least suggest, the libXX-dev packages
> that they provide the wrappers for. E.g. I think fp-units-gfx-<ver>
> should recommend or suggest at least:
> libxxf86dga-dev, libxxf86vm-dev, libpng-dev, libgd-dev, libcairo2-dev,
> libforms-dev, libggi2-dev, libgraphviz-dev, libgl1-mesa-dev
>
> What do you think?
Hi Paul,
There is currently no dependency calculation for units. Only binaries
relies on dh_shlibdeps but the units do not have any mechanism.
What could be done is to check for {$LINKLIB} and {$LINK}, but I've
rather preferred for now to wait for bugs and add on request.
I'm not in favor of strict dependency because in most case one do not
need all the libs to link his program. However a recommends should be
fine, so that by default newbe users get fully working installation on
the cost of GiB/TiB!!
If you have a precise idea about how we can do that automatically,
please share it even at a very early stage, we can improve it together
before implementation.
Cheers,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <https://lists.alioth.debian.org/mailman/private/pkg-pascal-devel/attachments/20130925/02aeff80/attachment.sig>
More information about the Pkg-pascal-devel
mailing list