Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2017 22:03:13 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        ports-committers@freebsd.org, Tijl Coosemans <tijl@FreeBSD.org>,  Mathieu Arnold <mat@FreeBSD.org>
Cc:        svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r424123 - in head/deskutils: py-spice-gtk spice-gtk spice-gtk/files
Message-ID:  <alpine.LSU.2.20.1703042046210.2487@anthias.pfeifer.com>
In-Reply-To: <20161017223946.6b18be6e@kalimero.tijl.coosemans.org>
References:  <201610171515.u9HFF8pG092481@repo.freebsd.org> <1efd0c19-83cb-f7e9-f13a-61fac1b2c8e1@FreeBSD.org> <d8557129-7ede-8ba7-7b8e-8745563930a2@marino.st> <b09dc39e-1656-5f35-cf72-bb4469d350b6@FreeBSD.org> <53c293a4-cc69-53dc-5311-54393b2f9249@marino.st> <704f4b45-1b73-4bcf-9ca2-cf25eaf605b7@FreeBSD.org> <74f966d4-3bdf-0e15-9c9f-a8a4fdaac6ec@marino.st> <5a37eec4-7703-d0d9-f82e-393e1dd6543a@FreeBSD.org> <8cca7750-291e-c7c9-72aa-f91d17373046@marino.st> <20161017193939.033c999c@kalimero.tijl.coosemans.org> <80ac5d38-8993-2ad7-c7ea-3bb8e1b8f589@FreeBSD.org> <20161017223946.6b18be6e@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.20.1703042046210.2487>