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

Randall Wood randall.h.wood at alexandriasoftware.com
Sat Dec 8 03:10:24 PST 2007


ALCON:

For GTK2, I have restored the default behavior of installing for X11.


At some point it would be nice to be able to provide a nice transition from
using X11 as the default for GTK to using Aqua as the GTK default, but we
are not at that point yet (I thought we were closer than I now think we are
to that point).


There are three possible installation states for GTK2:

   1. gtk2+x11
   2. gtk2+quartz with X11 on the Mac
   3. gtk2+quartz without X11 on the Mac

State 1 is the state that almost all upstream developers expect, State 3
works if no X11 APIs is used in upstream development other than gtk+, and
State 2 just simply breakslots of stuff horribly. Unfortunately, since OS X
10.5 ships with X11 installed by default, State 3 is not easily reached on
10.5, leaving State 1 as the only reliably working state.


Hence the decision to make that the default state.


On 12/5/07, rhwood at macports.org < rhwood at macports.org> wrote:
>
>   Revision 31739<http://trac.macosforge.org/projects/macports/changeset/31739>
> Author rhwood at macports.org Date 2007-12-05 02:13:18 -0800 (Wed, 05 Dec
> 2007) Log Message
>
> Upgrade to 2.12.3
> Clarify variant failure message
> Make the +x11 variant default
>
> Modified Paths
>
>    - trunk/dports/x11/gtk2/Portfile<#116aeed633ea0c92_116a9cd0b6c2e8b4_trunkdportsx11gtk2Portfile>
>
>  Diff Modified: trunk/dports/x11/gtk2/Portfile (31738 => 31739)
>
> --- trunk/dports/x11/gtk2/Portfile	2007-12-05 09:34:22 UTC (rev 31738)
> +++ trunk/dports/x11/gtk2/Portfile	2007-12-05 10:13:18 UTC (rev 31739)@@ -4,7 +4,7 @@ PortSystem 1.0  name		gtk2-version		2.12.2+version		2.12.3 set branch  [join [lrange [split ${version} .] 0 1] .] categories	x11 maintainers	rhwood openmaintainer@@ -25,9 +25,9 @@ distname	gtk+-${version}  checksums	\-    md5 a789a8a333d418f47cda1dba106d9aac \
> -    sha1 495ff3ef09de44cc23718239967203bd7871b4aa \
> -	rmd160 b5cd6b7ec6abf557a6f82c707e0eafb67c813f8d	+    md5 dc8455144f27945f2fcbe91e75acd118 \
> +    sha1 5af5ab069c49189abf223b25736c254da047c712 \
> +    rmd160 5da22ae4ac257bd2fcefbe2f374e92b6b0dbcc85  use_bzip2	yes @@ -48,10 +48,11 @@     port:render \     port:zlib +default_variants    +x11  pre-fetch {     if { ![variant_isset quartz] && ![variant_isset x11] } {-        return -code 1 "\n\nThe gtk2 port can be built and installed with support for either Quartz\n(Aqua) rendering or X11 rendering, but not both.\n\nPlease install the gtk2 port by running either:\n\t\"port install gtk2 +quartz\" or\n\"port install gtk2 +x11\"\n\n" +        return -code 1 "\n\nThe gtk2 port can be built and installed with support for either Quartz\n(Aqua) rendering or X11 rendering, but not both.\n\nPlease install the gtk2 port by running either:\n\t\"port install gtk2 +quartz\" or\n\t\"port install gtk2 +x11\"\n\nIf you are upgrading a port and see this message, use the X11 variant.\n\n"     }     if {[variant_isset quartz]} {         if { ![file exists ${prefix}/include/cairo/cairo-quartz.h] } {
>
>
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes
>
>


-- 
Randall Wood
randall.h.wood at alexandriasoftware.com

"The rules are simple: The ball is round. The game lasts 90 minutes. All the
rest is just philosophy."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20071208/dd1ab984/attachment.html


More information about the macports-dev mailing list