Title: [156208] trunk
Revision
156208
Author
[email protected]
Date
2013-09-20 16:01:37 -0700 (Fri, 20 Sep 2013)

Log Message

<https://webkit.org/b/90090> build-webkit should verify that your tools are up-to-date

Tools:

Enforce a minimum OS version of 10.7.5 and Xcode version of 4.6.

Reviewed by David Kilzer.

* Scripts/webkitdirs.pm:
(checkRequiredSystemConfig):

Websites/webkit.org:

Update references on webkit.org to mention Xcode 4.6 as the minimum version.

Reviewed by David Kilzer.

* building/debug-mac-uiprocess.html:
* building/tools.html:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (156207 => 156208)


--- trunk/Tools/ChangeLog	2013-09-20 22:52:23 UTC (rev 156207)
+++ trunk/Tools/ChangeLog	2013-09-20 23:01:37 UTC (rev 156208)
@@ -1,3 +1,14 @@
+2013-09-20  Mark Rowe  <[email protected]>
+
+        <https://webkit.org/b/90090> build-webkit should verify that your tools are up-to-date
+
+        Enforce a minimum OS version of 10.7.5 and Xcode version of 4.6.
+
+        Reviewed by David Kilzer.
+
+        * Scripts/webkitdirs.pm:
+        (checkRequiredSystemConfig):
+
 2013-09-20  Mario Sanchez Prada  <[email protected]>
 
         [ATK] Do not expose aria-help in ATK based platforms

Modified: trunk/Tools/Scripts/webkitdirs.pm (156207 => 156208)


--- trunk/Tools/Scripts/webkitdirs.pm	2013-09-20 22:52:23 UTC (rev 156207)
+++ trunk/Tools/Scripts/webkitdirs.pm	2013-09-20 23:01:37 UTC (rev 156208)
@@ -1505,23 +1505,19 @@
 {
     if (isDarwin()) {
         chomp(my $productVersion = `sw_vers -productVersion`);
-        if (eval "v$productVersion" lt v10.4) {
+        if (eval "v$productVersion" lt v10.7.5) {
             print "*************************************************************\n";
-            print "Mac OS X Version 10.4.0 or later is required to build WebKit.\n";
+            print "Mac OS X Version 10.7.5 or later is required to build WebKit.\n";
             print "You have " . $productVersion . ", thus the build will most likely fail.\n";
             print "*************************************************************\n";
         }
         my $xcodebuildVersionOutput = `xcodebuild -version`;
-        my $devToolsCoreVersion = ($xcodebuildVersionOutput =~ /DevToolsCore-(\d+)/) ? $1 : undef;
         my $xcodeVersion = ($xcodebuildVersionOutput =~ /Xcode ([0-9](\.[0-9]+)*)/) ? $1 : undef;
-        if (!$devToolsCoreVersion && !$xcodeVersion
-            || $devToolsCoreVersion && $devToolsCoreVersion < 747
-            || $xcodeVersion && eval "v$xcodeVersion" lt v2.3) {
+        if (!$xcodeVersion || $xcodeVersion && eval "v$xcodeVersion" lt v4.6) {
             print "*************************************************************\n";
-            print "Xcode Version 2.3 or later is required to build WebKit.\n";
+            print "Xcode Version 4.6 or later is required to build WebKit.\n";
             print "You have an earlier version of Xcode, thus the build will\n";
-            print "most likely fail.  The latest Xcode is available from the web:\n";
-            print "http://developer.apple.com/tools/xcode\n";
+            print "most likely fail. The latest Xcode is available from the App Store.\n";
             print "*************************************************************\n";
         }
     } elsif (isGtk() or isQt() or isEfl()) {

Modified: trunk/Websites/webkit.org/ChangeLog (156207 => 156208)


--- trunk/Websites/webkit.org/ChangeLog	2013-09-20 22:52:23 UTC (rev 156207)
+++ trunk/Websites/webkit.org/ChangeLog	2013-09-20 23:01:37 UTC (rev 156208)
@@ -1,3 +1,14 @@
+2013-09-20  Mark Rowe  <[email protected]>
+
+        <https://webkit.org/b/90090> build-webkit should verify that your tools are up-to-date
+
+        Update references on webkit.org to mention Xcode 4.6 as the minimum version.
+
+        Reviewed by David Kilzer.
+
+        * building/debug-mac-uiprocess.html:
+        * building/tools.html:
+
 2013-09-19  Dan Bernstein  <[email protected]>
 
         Add a style guideline regarding spacing in range-based for loops

Modified: trunk/Websites/webkit.org/building/debug-mac-uiprocess.html (156207 => 156208)


--- trunk/Websites/webkit.org/building/debug-mac-uiprocess.html	2013-09-20 22:52:23 UTC (rev 156207)
+++ trunk/Websites/webkit.org/building/debug-mac-uiprocess.html	2013-09-20 23:01:37 UTC (rev 156208)
@@ -8,7 +8,7 @@
 <ol>
 <li><p>Open the WebKit2 Xcode project</p></li>
 </ol>
-<p>Note, the Xcode project file depends on the build location specified in the project itself. In Xcode 4.3.2, choose Xcode > Preferences > Locations, click Locations, click the Advanced button, and ensure that the build location is Legacy.</p>
+<p>Note, the Xcode project file depends on the build location specified in the project itself. Choose Xcode > Preferences > Locations, click Locations, click the Advanced button, and ensure that the build location is Legacy.</p>
 <ol start="2">
 <li><p>Set the project's build products location</p>
 <p>To find the WebKit you built, Xcode needs to know the build products location that <code>build-webkit</code> used. You can set the build products location in the project's build settings editor.</p>

Modified: trunk/Websites/webkit.org/building/tools.html (156207 => 156208)


--- trunk/Websites/webkit.org/building/tools.html	2013-09-20 22:52:23 UTC (rev 156207)
+++ trunk/Websites/webkit.org/building/tools.html	2013-09-20 23:01:37 UTC (rev 156208)
@@ -7,11 +7,10 @@
 <h4>Mac OS X</h4>
 <ol>
 <li><p>Install Xcode</p>
-<p>Get Xcode from <a target="installtools" href=""  Xcode 3.1.4 or later is required to build.</p>
+<p>Get Xcode from <a target="installtools" href="" Xcode 4.6 or later is required to build.</p>
 <li><p>Install the Xcode Command Line Tools (located under Xcode Preferences > Downloads)</p>
-  <p><b>Note:</b> Before you can use the Xcode 4.3.2 tools, you must either run <code>sudo xcode-select -switch /Applications/Xcode.app</code> or
+  <p><b>Note:</b> Before you can use the command line tools, you must either run <code>sudo xcode-select -switch /Applications/Xcode.app</code> or
 set the environment variable DEVELOPER_DIR to <code>/Applications/Xcode.app/Contents/Developer</code>. See <a href="" <code>xcode-select</code> man page</a> for more details.</p>
-  <p><b>Note:</b> This step is not required for versions of Xcode earlier than 4.3.</p>
 <li><p>Install Java for Mac OS X Developer Package</p>
 <p>Download and install the latest OS-appropriate &ldquo;Java for Mac OS X Developer Package&rdquo; from <a target="installtools" href=""
 </ol>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to