svn commit: r424123 - in head/deskutils: py-spice-gtk spice-gtk spice-gtk/files
Gerald Pfeifer
gerald at pfeifer.com
Sat Mar 4 21:03:17 UTC 2017
[ Old mail alert, but still relevant. ]
On Mon, 17 Oct 2016, Tijl Coosemans wrote:
>>> Can't we just use lib/pkgconfig already? Having to patch every port
>>> to move it to libdata/pkgconfig is pointless extra work with zero benefit.
>>> Nobody cares that these files are in libdata.
>>
>> Well, we do care. hier(7) says:
>>
>> lib/ shared and archive ar(1)-type libraries
>>
>> libdata/ miscellaneous utility data files
> Yeah I know what hier says, but libdata is just not worth fighting for.
> There are more important things to do in the ports tree than worrying
> about where pkgconfig files should go. Nobody cares where they are.
> Not really. Just look at all the other non-library files in lib:
>
> find /usr/local/lib -type f -not -name '*.so*' -not -name '*.a' -not -name '*.la' -not -path '*python*' -not -path '*perl*'
>
> Thousands of files you never cared about or even knew were there.
>
> lib/pkgconfig is fine and allows us to remove hacks and patches from
> thousands of ports. The cost of all the work needed to move the files
> and the time spent on threads like this are not worth the benefit
> because there is no benefit (that I can think of, maybe you can name
> one?).
Amen.
The majority of my ports carry hacks for libdata, and a quick check
of the entire tree quite confirms Tijl's assessment of how expensive
this really is (even if only a rough estimate):
% grep -ri libdata $PORTSDIR | egrep -v "pkg-plist|\.mk|\.svn" | wc -l
942
Any chance to see this changed per Tijl's proposal?
Gerald
More information about the svn-ports-all
mailing list