From: Alexander Leidinger on
Quoting Alex Dupre <ale(a)FreeBSD.org> (from Mon, 07 Jun 2010 16:35:13 +0200):

> Alexander Leidinger ha scritto:
>> The best solution would be to fix the ports to not link explicitely to
>> indirect deps (by improving libtool and by improving the .pc files
>> for pkg-config). Then we could even switch from recording indirect
>> dependencies in /var/db/pkg/<port>-<version>/+{CONTENTS,REQUIRED_BY} to
>> only record direct deps.
>
> How hard is it? What prevents us in doing it? Later we modify libtool
> upstream, later we could switch to record only direct dependencies.

You should talk with the libtool maintainer about libtool.

Regarding the pkg-config stuff: you just have to determine which libs
are direct and which are indirect deps for a specific port, move the
indirect one into Libs.private, and then convince the upstream
maintainers to pick up this change.

Bye,
Alexander.

--
This is supposed to be a happy occasion.
Let's not BICKER and ARGUE over who killed who!

http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Alex Dupre on
Alexander Leidinger ha scritto:
>> How hard is it? What prevents us in doing it? Later we modify libtool
>> upstream, later we could switch to record only direct dependencies.
>
> You should talk with the libtool maintainer about libtool.

Ah, you were all waiting for me to talk to libtool maintainer, you could
tell me before :-)

> Regarding the pkg-config stuff: you just have to determine which libs
> are direct and which are indirect deps for a specific port, move the
> indirect one into Libs.private, and then convince the upstream
> maintainers to pick up this change.

These are all "simple" steps. You haven't answered to "What prevents us
in doing it?" If we haven't already done it, I bet there is a reason.

--
Alex Dupre
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Alexander Leidinger on
Quoting Alex Dupre <ale(a)FreeBSD.org> (from Tue, 08 Jun 2010 09:33:04 +0200):

> Alexander Leidinger ha scritto:
>>> How hard is it? What prevents us in doing it? Later we modify libtool
>>> upstream, later we could switch to record only direct dependencies.
>>
>> You should talk with the libtool maintainer about libtool.
>
> Ah, you were all waiting for me to talk to libtool maintainer, you could
> tell me before :-)

Correct, sorry about not tellung you before. :)

I can tell you that he will not accept local modifications, which more
or less comes down to testing it yourself and let others test it too,
and then to convince the libtool authors to include it (maybe there is
something we are not aware about, which prevents this).

>> Regarding the pkg-config stuff: you just have to determine which libs
>> are direct and which are indirect deps for a specific port, move the
>> indirect one into Libs.private, and then convince the upstream
>> maintainers to pick up this change.
>
> These are all "simple" steps. You haven't answered to "What prevents us
> in doing it?" If we haven't already done it, I bet there is a reason.

The subset of people which knew about the problem before was very
small (me and IIRC pav@, maybe others too I do not know about). The
subset of people which have time and interest to do something about
this was the empty subset...

Now the number of people which know about it is bigger. Time will tell
if the subset of people which do something about it is non-empty now...

Bye,
Alexander.

--
You will reach the highest possible point in your business or profession.

http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Alex Dupre on
Alexander Leidinger ha scritto:
> Now the number of people which know about it is bigger. Time will tell
> if the subset of people which do something about it is non-empty now...

I think the first step could be to run a tinderbox build with a patched
libtool and see if anything break. Then, if the patch is simple, we
could add a target to patch ports using bundled libtool and see again if
anything break on tinderbox. What do you think?

--
Alex Dupre
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Alexander Leidinger on
Quoting Alex Dupre <ale(a)FreeBSD.org> (from Tue, 08 Jun 2010 12:06:51 +0200):

> Alexander Leidinger ha scritto:
>> Now the number of people which know about it is bigger. Time will tell
>> if the subset of people which do something about it is non-empty now...
>
> I think the first step could be to run a tinderbox build with a patched
> libtool and see if anything break. Then, if the patch is simple, we
> could add a target to patch ports using bundled libtool and see again if
> anything break on tinderbox. What do you think?

I found some message I exchanged on the libtool list regarding this in
2007. I do not know the current state (libtool 2.2.6b) of this, but
someone with a little bit of time can check via the testcase which is
described in the mail at:
http://thread.gmane.org/gmane.comp.gnu.libtool.general/8500/focus=8501

When this testcase does not rise a problem, your approach sounds good.

Bye,
Alexander.

--
By the time they had diminished from 50 to 8, the other dwarves began
to suspect "Hungry" ...
-- Gary Larson, "The Far Side"

http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"