<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[166286] trunk/Tools</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/166286">166286</a></dd>
<dt>Author</dt> <dd>philn@webkit.org</dd>
<dt>Date</dt> <dd>2014-03-26 00:33:08 -0700 (Wed, 26 Mar 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>[GTK] The gnumake package is no longer needed in jhbuild
https://bugs.webkit.org/show_bug.cgi?id=130121

Reviewed by Martin Robinson.

For GTK build-webkit now relies on cmake and ninja/gnumake. Even
for a debug build cmake/system-gnumake worked just fine for me.

* gtk/jhbuild.modules: Removed gnumake.
* gtk/patches/make-3.82-arg-list-length.patch: Removed.
* gtk/patches/make-3.82-parallel-build.patch: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsgtkjhbuildmodules">trunk/Tools/gtk/jhbuild.modules</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkToolsgtkpatchesmake382arglistlengthpatch">trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch</a></li>
<li><a href="#trunkToolsgtkpatchesmake382parallelbuildpatch">trunk/Tools/gtk/patches/make-3.82-parallel-build.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (166285 => 166286)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2014-03-26 07:03:20 UTC (rev 166285)
+++ trunk/Tools/ChangeLog        2014-03-26 07:33:08 UTC (rev 166286)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2014-03-12  Philippe Normand  &lt;pnormand@igalia.com&gt;
+
+        [GTK] The gnumake package is no longer needed in jhbuild
+        https://bugs.webkit.org/show_bug.cgi?id=130121
+
+        Reviewed by Martin Robinson.
+
+        For GTK build-webkit now relies on cmake and ninja/gnumake. Even
+        for a debug build cmake/system-gnumake worked just fine for me.
+
+        * gtk/jhbuild.modules: Removed gnumake.
+        * gtk/patches/make-3.82-arg-list-length.patch: Removed.
+        * gtk/patches/make-3.82-parallel-build.patch: Removed.
+
</ins><span class="cx"> 2014-03-25  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix a failing API test on Mountain Lion and remove temporary debug logging.
</span></span></pre></div>
<a id="trunkToolsgtkjhbuildmodules"></a>
<div class="modfile"><h4>Modified: trunk/Tools/gtk/jhbuild.modules (166285 => 166286)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/gtk/jhbuild.modules        2014-03-26 07:03:20 UTC (rev 166285)
+++ trunk/Tools/gtk/jhbuild.modules        2014-03-26 07:33:08 UTC (rev 166286)
</span><span class="lines">@@ -5,7 +5,6 @@
</span><span class="cx"> 
</span><span class="cx">   &lt;metamodule id=&quot;webkitgtk-testing-dependencies&quot;&gt;
</span><span class="cx">     &lt;dependencies&gt;
</span><del>-      &lt;dep package=&quot;make&quot;/&gt;
</del><span class="cx">       &lt;dep package=&quot;cairo&quot;/&gt;
</span><span class="cx">       &lt;dep package=&quot;fonts&quot;/&gt;
</span><span class="cx">       &lt;dep package=&quot;fontconfig&quot;/&gt;
</span><span class="lines">@@ -35,8 +34,6 @@
</span><span class="cx"> 
</span><span class="cx">   &lt;include href=&quot;jhbuild-optional.modules&quot;/&gt;
</span><span class="cx"> 
</span><del>-  &lt;repository type=&quot;tarball&quot; name=&quot;ftp.gnu.org&quot;
-      href=&quot;ftp://ftp.gnu.org/gnu/&quot;/&gt;
</del><span class="cx">   &lt;repository type=&quot;git&quot; name=&quot;github.com&quot;
</span><span class="cx">       href=&quot;git://github.com&quot;/&gt;
</span><span class="cx">   &lt;repository type=&quot;tarball&quot; name=&quot;sourceware.org-mirror&quot;
</span><span class="lines">@@ -58,14 +55,6 @@
</span><span class="cx">   &lt;repository type=&quot;tarball&quot; name=&quot;savannah.gnu.org&quot;
</span><span class="cx">       href=&quot;http://download.savannah.gnu.org/releases/&quot;/&gt;
</span><span class="cx"> 
</span><del>-  &lt;autotools id=&quot;make&quot; autogen-sh=&quot;configure&quot;&gt;
-    &lt;branch repo=&quot;ftp.gnu.org&quot;
-            module=&quot;make/make-3.82.tar.bz2&quot; version=&quot;3.82&quot;
-            size=&quot;1242186&quot; md5sum=&quot;1a11100f3c63fcf5753818e59d63088f&quot;&gt;
-      &lt;patch file=&quot;make-3.82-arg-list-length.patch&quot; strip=&quot;1&quot;/&gt;
-      &lt;patch file=&quot;make-3.82-parallel-build.patch&quot; strip=&quot;1&quot;/&gt;
-    &lt;/branch&gt;
-  &lt;/autotools&gt;
</del><span class="cx"> 
</span><span class="cx">   &lt;autotools id=&quot;cairo&quot; autogen-sh=&quot;configure&quot;
</span><span class="cx">              autogenargs=&quot;--enable-gl=yes --enable-egl=yes --enable-glx=yes&quot;
</span></span></pre></div>
<a id="trunkToolsgtkpatchesmake382arglistlengthpatch"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch (166285 => 166286)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch        2014-03-26 07:03:20 UTC (rev 166285)
+++ trunk/Tools/gtk/patches/make-3.82-arg-list-length.patch        2014-03-26 07:33:08 UTC (rev 166286)
</span><span class="lines">@@ -1,107 +0,0 @@
</span><del>-diff -u make-3.82-orig/configure.in make-3.82/configure.in
---- make-3.82-orig/configure.in        2010-07-28 07:39:50.000000000 +0200
-+++ make-3.82/configure.in        2012-03-21 12:34:20.000000000 +0100
-@@ -64,7 +64,8 @@
- AC_HEADER_STAT
- AC_HEADER_TIME
- AC_CHECK_HEADERS(stdlib.h locale.h unistd.h limits.h fcntl.h string.h \
--                 memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h)
-+                 memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h \
-+                 sys/user.h linux/binfmts.h)

- # Set a flag if we have an ANSI C compiler
- if test &quot;$ac_cv_prog_cc_stdc&quot; != no; then
-Subdirectorios comunes: make-3.82-orig/doc y make-3.82/doc
-Subdirectorios comunes: make-3.82-orig/glob y make-3.82/glob
-diff -u make-3.82-orig/job.c make-3.82/job.c
---- make-3.82-orig/job.c        2010-07-24 10:27:50.000000000 +0200
-+++ make-3.82/job.c        2012-03-21 12:34:20.000000000 +0100
-@@ -29,6 +29,11 @@

- #include &lt;string.h&gt;

-+#if defined (HAVE_LINUX_BINFMTS_H) &amp;&amp; defined (HAVE_SYS_USER_H)
-+#include &lt;sys/user.h&gt;
-+#include &lt;linux/binfmts.h&gt;
-+#endif
-+
- /* Default shell to use.  */
- #ifdef WINDOWS32
- #include &lt;windows.h&gt;
-@@ -2795,6 +2800,7 @@
-     unsigned int sflags_len = strlen (shellflags);
-     char *command_ptr = NULL; /* used for batch_mode_shell mode */
-     char *new_line;
-+    char *args_ptr;

- # ifdef __EMX__ /* is this necessary? */
-     if (!unixy_shell)
-@@ -2865,8 +2871,20 @@
-         return new_argv;
-       }

-+#ifdef MAX_ARG_STRLEN
-+#ifndef PAGE_SIZE
-+#define PAGE_SIZE sysconf(_SC_PAGESIZE)
-+#endif
-+    static char eval_line[] = &quot;eval\\ \\\&quot;set\\ x\\;\\ shift\\;\\ &quot;;
-+#define ARG_NUMBER_DIGITS 5
-+#define EVAL_LEN (sizeof(eval_line)-1 + shell_len + 4                   \
-+                  + (7 + ARG_NUMBER_DIGITS) * 2 * line_len / (MAX_ARG_STRLEN - 2))
-+#else
-+#define EVAL_LEN 0
-+#endif
-+
-     new_line = alloca (shell_len + 1 + sflags_len + 1
--                             + (line_len*2) + 1);
-+                       + (line_len*2) + 1 + EVAL_LEN);
-     ap = new_line;
-     memcpy (ap, shell, shell_len);
-     ap += shell_len;
-@@ -2875,6 +2890,30 @@
-     ap += sflags_len;
-     *(ap++) = ' ';
-     command_ptr = ap;
-+
-+#if !defined (WINDOWS32) &amp;&amp; defined (MAX_ARG_STRLEN)
-+    if (unixy_shell &amp;&amp; line_len &gt; MAX_ARG_STRLEN)
-+      {
-+        unsigned j;
-+        memcpy (ap, eval_line, sizeof (eval_line) - 1);
-+        ap += sizeof (eval_line) - 1;
-+        for (j = 1; j &lt;= 2 * line_len / (MAX_ARG_STRLEN - 2); j++)
-+          ap += sprintf (ap, &quot;\\$\\{%u\\}&quot;, j);
-+        *ap++ = '\\';
-+        *ap++ = '&quot;';
-+        *ap++ = ' ';
-+        /* Copy only the first word of SHELL to $0.  */
-+        for (p = shell; *p != '\0'; ++p)
-+          {
-+            if (isspace ((unsigned char)*p))
-+              break;
-+            *ap++ = *p;
-+          }
-+        *ap++ = ' ';
-+      }
-+#endif
-+    args_ptr = ap;
-+
-     for (p = line; *p != '\0'; ++p)
-       {
-         if (restp != NULL &amp;&amp; *p == '\n')
-@@ -2922,6 +2961,14 @@
-           }
- #endif
-         *ap++ = *p;
-+
-+#if !defined (WINDOWS32) &amp;&amp; defined (MAX_ARG_STRLEN)
-+        if (unixy_shell &amp;&amp; line_len &gt; MAX_ARG_STRLEN &amp;&amp; (ap - args_ptr &gt; MAX_ARG_STRLEN - 2))
-+          {
-+            *ap++ = ' ';
-+            args_ptr = ap;
-+          }
-+#endif
-       }
-     if (ap == new_line + shell_len + sflags_len + 2)
-       /* Line was empty.  */
-
</del></span></pre></div>
<a id="trunkToolsgtkpatchesmake382parallelbuildpatch"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/gtk/patches/make-3.82-parallel-build.patch (166285 => 166286)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/gtk/patches/make-3.82-parallel-build.patch        2014-03-26 07:03:20 UTC (rev 166285)
+++ trunk/Tools/gtk/patches/make-3.82-parallel-build.patch        2014-03-26 07:33:08 UTC (rev 166286)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-diff -u make-3.82-orig/remake.c make-3.82/remake.c
---- make-3.82-orig/remake.c        2010-07-13 03:20:42.000000000 +0200
-+++ make-3.82/remake.c        2012-03-21 12:47:52.000000000 +0100
-@@ -301,7 +301,7 @@
-       /* Check for the case where a target has been tried and failed but
-          the diagnostics hasn't been issued. If we need the diagnostics
-          then we will have to continue. */
--      if (!(f-&gt;updated &amp;&amp; f-&gt;update_status &gt; 0 &amp;&amp; !f-&gt;dontcare &amp;&amp; f-&gt;no_diag))
-+      if (!(f-&gt;updated &amp;&amp; f-&gt;update_status &gt; 0 &amp;&amp; !f-&gt;dontcare &amp;&amp; f-&gt;no_diag) &amp;&amp; f-&gt;command_state!=cs_not_started )
-         {
-           DBF (DB_VERBOSE, _(&quot;Pruning file `%s'.\n&quot;));
-           return f-&gt;command_state == cs_finished ? f-&gt;update_status : 0;
-@@ -614,6 +614,12 @@
-                 d-&gt;file-&gt;dontcare = file-&gt;dontcare;
-               }

-+            /* We may have already encountered this file earlier in the same
-+             * pass before we knew we'd be updating this target. In that 
-+             * case calling update_file now would result in the file being 
-+             * inappropriately pruned so we toggle the considered bit back 
-+             * off first. */
-+            d-&gt;file-&gt;considered = !considered;

-             dep_status |= update_file (d-&gt;file, depth);

-
</del></span></pre>
</div>
</div>

</body>
</html>