[31844] trunk/dports/x11/gtk2/Portfile

Weissmann Markus mww at macports.org
Mon Dec 10 06:43:09 PST 2007


On 10.12.2007, at 15:23, Ryan Schmidt wrote:

> I didn't think they were mutually exclusive?
>

"\n\nThe gtk2 port can be built and installed with support for either  
Quartz\n(Aqua) rendering or X11 rendering, but not both.\n\n" [1]


[1] https://trac.macosforge.org/projects/macports/browser/trunk/ 
dports/x11/gtk2/Portfile?rev=31844

>
> On Dec 10, 2007, at 08:16, Weissmann Markus wrote:
>
>> Hmmm... wouldn't it be much cleaner and easier to only have one  
>> variant "quartz" as "quartz" and "x11" are mutually exclusive anyway?
>> This way it wouldn't be necessary to explain to a user why the  
>> selection "x11 and quartz" he just made is illegal.
>>
>>
>> Regards,
>>
>> -Markus
>>
>> On 10.12.2007, at 01:54, ryandesign at macports.org wrote:
>>
>>> Revision 31844 Author ryandesign at macports.org Date 2007-12-09  
>>> 16:54:17 -0800 (Sun, 09 Dec 2007) Log Messagegtk2: make +x11 the  
>>> default only if +quartz has not been selected. If you want both,  
>>> you can still request +x11 +quartzModified Paths
>>> trunk/dports/x11/gtk2/Portfile
>>> Diff
>>> Modified: trunk/dports/x11/gtk2/Portfile (31843 => 31844)---  
>>> trunk/dports/x11/gtk2/Portfile	2007-12-10 00:53:23 UTC (rev  
>>> 31843) +++ trunk/dports/x11/gtk2/Portfile	2007-12-10 00:54:17 UTC  
>>> (rev 31844) @@ -49,7 +49,9 @@ port:render \ port:zlib - 
>>> default_variants +x11 +if { ![variant_isset quartz] } { +  
>>> default_variants +x11 +} pre-fetch { if { ![variant_isset quartz]  
>>> && ![variant_isset x11] } { @@ -88,7 +90,7 @@ configure.args- 
>>> append --with-gdktarget=quartz } -variant x11 description {Enable  
>>> rendering in X11} { +variant x11 description {Enable rendering in  
>>> X11 (default, if Quartz is not enabled)} {      depends_lib- 
>>> append \ port:xrender \ lib:libX11.6:xorg

---
Dipl. Inf. (FH) Markus W. Weissmann
http://www.mweissmann.de/





More information about the macports-dev mailing list