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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Randall Wood-3
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, [hidden email] <[hidden email]> wrote:
Revision
<a href="http://trac.macosforge.org/projects/macports/changeset/31739" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">31739
Author
[hidden email]
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

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
[hidden email]
<a href="http://lists.macosforge.org/mailman/listinfo/macports-changes" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.macosforge.org/mailman/listinfo/macports-changes




--
Randall Wood
[hidden email]

"The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."

_______________________________________________
macports-users mailing list
[hidden email]
http://lists.macosforge.org/mailman/listinfo/macports-users