MacPorts and the joy of dependencies

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Mon May 27 05:29:51 PDT 2013


The default avahi has dependencies to x11, gtk and python, with a total of
117 dependencies:

$ port rdeps avahi |wc -l
     117

But if you choose to build avahi without those, things get somewhat better.

$ port rdeps avahi -gtk -python27 -x11  |wc -l
      40

Cheers,
Henrik



On Mon, May 27, 2013 at 2:24 PM, Tomaz Canabrava <tcanabrava at kde.org> wrote:

> Oh, joy....
> that's something that I didn't tougth that it will happen, but why the
> hell avahi depends on gtk2 if it's something that doesn't use interface at
> all?
>
>
> On Mon, May 27, 2013 at 4:51 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
>>
>> <rant>
>> So trying to get rid of the dependencies in Subsurface I replaced all of
>> the glib functions with either handwritten functions, Qt functions or
>> simply stopped using them.
>> Of course with gettext we depend on libintl which is part of glib - but
>> that's a topic for a different rant :-(
>> Then I tried to remove my gtk2 port.
>> Can't do that, it is needed by other packages.
>> Ok, remove those. Among them avahi.
>> Guess what depends on avahi? kdelibs4.
>> And of course marble depends on that.
>> So marble requires kdelibs requires avahi requires gtk2.
>> </rant>
>>
>> Next task: building my own libmarble.
>>
>> /D
>> _______________________________________________
>> subsurface mailing list
>> subsurface at hohndel.org
>> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>>
>
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130527/397802bf/attachment-0001.html>


More information about the subsurface mailing list