system_x11 variant - where to draw the line

Jeremy Huddleston jeremyhu at macports.org
Tue Jan 6 22:46:43 PST 2009


On Jan 6, 2009, at 22:42, Joshua Root wrote:

> Jeremy Huddleston wrote:
>> So right now the system_x11 variant exists in all the xorg library
>> ports.  This covers everything that could be installed in
>> ${x11prefix}/lib with the exception of freetype, cairo, fontconfig,  
>> and
>> png.  I did that since that's more or less where the boundary is  
>> between
>> "what we use from x11prefix" and "what we use from prefix" is now by
>> default (enforced by the lib:...:... style dependencies for xorg libs
>> and port: style dependencies for the others mentioned above).  I'd  
>> like
>> to expand that by adding a system_x11 variant to freetype, cairo, and
>> fontconfig to allow users to use the version of these packages in
>> x11prefix if they're available.  Does anyone have compelling  
>> reasons why
>> not to do that which I might be missing?
>
> It seems odd to call the variant 'system_x11' in those cases, since
> they're not necessarily used as part of X11 at all. Would it be more
> appropriate to change the dependents that use them with X11?

True, hence why I'm bringing it up.

> BTW, does all this mean that we should be mass-changing  
> lib:libX11:blah
> deps to port:xorg-libX11? (Or a different port?)

Yes... see my email from a couple days ago... it will need to be all  
at once and revbump the affected ports... I'll post a patch to  
macports-dev and let it sit a few days before I push.


More information about the macports-dev mailing list