<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[23921] branches/wx-port-alpha/trunk</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/23921">23921</a></dd>
<dt>Author</dt> <dd>kevino</dd>
<dt>Date</dt> <dd>2007-07-01 17:51:22 -0700 (Sun, 01 Jul 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>Restore the Windows build after libpng/libjpeg and Python extension changes.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#brancheswxportalphatrunkWebCoreProjectswxwebcorewxbkl">branches/wx-port-alpha/trunk/WebCore/Projects/wx/webcore-wx.bkl</a></li>
<li><a href="#brancheswxportalphatrunkWebCorewebcorebasebkl">branches/wx-port-alpha/trunk/WebCore/webcore-base.bkl</a></li>
<li><a href="#brancheswxportalphatrunkWebKitwxWebFrameh">branches/wx-port-alpha/trunk/WebKit/wx/WebFrame.h</a></li>
<li><a href="#brancheswxportalphatrunkWebKitwxWebViewh">branches/wx-port-alpha/trunk/WebKit/wx/WebView.h</a></li>
<li><a href="#brancheswxportalphatrunkWebKitwxbindingspythonwxwebkitpybkl">branches/wx-port-alpha/trunk/WebKit/wx/bindings/python/wxwebkit-py.bkl</a></li>
<li><a href="#brancheswxportalphatrunkWebKitwxwxwebkitbkl">branches/wx-port-alpha/trunk/WebKit/wx/wxwebkit.bkl</a></li>
<li><a href="#brancheswxportalphatrunkWebKitToolsScriptsbuildwxwebkit">branches/wx-port-alpha/trunk/WebKitTools/Scripts/build-wxwebkit</a></li>
<li><a href="#brancheswxportalphatrunkWebKitToolsScriptsinstallwinextras">branches/wx-port-alpha/trunk/WebKitTools/Scripts/install-win-extras</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="brancheswxportalphatrunkWebCoreProjectswxwebcorewxbkl"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebCore/Projects/wx/webcore-wx.bkl (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebCore/Projects/wx/webcore-wx.bkl        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebCore/Projects/wx/webcore-wx.bkl        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-&lt;?xml version=&quot;1.0&quot; ?&gt;
</del><ins>+&lt;?xml version=&quot;1.0&quot; ?&gt;
</ins><span class="cx"> &lt;!-- 
</span><span class="cx"> Copyright (C) 2007 Kevin Ollivier &lt;kevino@theolliviers.com&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -71,6 +71,7 @@
</span><span class="cx"> 
</span><span class="cx">         &lt;define&gt;BUILDING_WX__=1&lt;/define&gt;
</span><span class="cx">                 &lt;define&gt;WTF_USE_ICU_UNICODE=1&lt;/define&gt;
</span><ins>+        &lt;define&gt;UNICODE=1&lt;/define&gt;
</ins><span class="cx">         
</span><span class="cx">         &lt;if cond=&quot;PLATFORM_WIN32=='0'&quot;&gt;
</span><span class="cx">             &lt;ldlibs&gt;`$(WX_CONFIG) --libs`&lt;/ldlibs&gt;
</span><span class="lines">@@ -81,6 +82,8 @@
</span><span class="cx">         &lt;include&gt;$(SRCDIR)/platform/wx/wxcode&lt;/include&gt;
</span><span class="cx">         &lt;include&gt;$(SRCDIR)/bridge/wx&lt;/include&gt;
</span><span class="cx">         &lt;include&gt;$(SRCDIR)/page/wx&lt;/include&gt;
</span><ins>+        &lt;include&gt;$(WK_ROOT)/libpng&lt;/include&gt;
+        &lt;include&gt;$(WK_ROOT)/libjpeg&lt;/include&gt;
</ins><span class="cx">         
</span><span class="cx">             &lt;sources&gt;
</span><span class="cx">                    editing/wx/EditorWx.cpp
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebCorewebcorebasebkl"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebCore/webcore-base.bkl (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebCore/webcore-base.bkl        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebCore/webcore-base.bkl        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-&lt;?xml version=&quot;1.0&quot; ?&gt;
</del><ins>+&lt;?xml version=&quot;1.0&quot; ?&gt;
</ins><span class="cx"> &lt;!--
</span><span class="cx"> Copyright (C) 2005, 2006 Apple Computer, Inc.  All rights reserved.
</span><span class="cx"> 
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebKitwxWebFrameh"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebKit/wx/WebFrame.h (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebKit/wx/WebFrame.h        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebKit/wx/WebFrame.h        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-class wxPageSourceViewFrame : public wxFrame
</del><ins>+class WXDLLIMPEXP_WEBKIT wxPageSourceViewFrame : public wxFrame
</ins><span class="cx"> {
</span><span class="cx"> public:
</span><span class="cx">     wxPageSourceViewFrame(const wxString&amp; source);
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebKitwxWebViewh"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebKit/wx/WebView.h (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebKit/wx/WebView.h        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebKit/wx/WebView.h        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -37,16 +37,17 @@
</span><span class="cx"> class WebViewFrameData;
</span><span class="cx"> 
</span><span class="cx"> #ifndef SWIG
</span><del>-#if WXMAKINGDLL
</del><ins>+
+#if WXMAKINGDLL_WEBKIT
</ins><span class="cx"> #define WXDLLIMPEXP_WEBKIT WXEXPORT
</span><del>-#endif
-
-#if WXUSINGDLL
</del><ins>+#elif defined(WXUSINGDLL_WEBKIT)
</ins><span class="cx"> #define WXDLLIMPEXP_WEBKIT WXIMPORT
</span><ins>+#else
+#define WXDLLIMPEXP_WEBKIT
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #else 
</span><del>-#define WXDLLIMPEXP_WEBKIT 
</del><ins>+#define WXDLLIMPEXP_WEBKIT
</ins><span class="cx"> #endif // SWIG
</span><span class="cx"> 
</span><span class="cx"> class WXDLLIMPEXP_WEBKIT wxWebView : public wxScrolledWindow
</span><span class="lines">@@ -142,7 +143,7 @@
</span><span class="cx"> 
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-class wxWebViewDOMElementInfo
</del><ins>+class WXDLLIMPEXP_WEBKIT wxWebViewDOMElementInfo
</ins><span class="cx"> {
</span><span class="cx"> public: 
</span><span class="cx">     wxWebViewDOMElementInfo();
</span><span class="lines">@@ -173,7 +174,7 @@
</span><span class="cx">     wxString m_link;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-class wxWebViewBeforeLoadEvent : public wxCommandEvent
</del><ins>+class WXDLLIMPEXP_WEBKIT wxWebViewBeforeLoadEvent : public wxCommandEvent
</ins><span class="cx"> {
</span><span class="cx"> #ifndef SWIG
</span><span class="cx">     DECLARE_DYNAMIC_CLASS( wxWebViewBeforeLoadEvent )
</span><span class="lines">@@ -196,7 +197,7 @@
</span><span class="cx">     int m_navType;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-class wxWebViewStateChangedEvent : public wxCommandEvent
</del><ins>+class WXDLLIMPEXP_WEBKIT wxWebViewStateChangedEvent : public wxCommandEvent
</ins><span class="cx"> {
</span><span class="cx"> #ifndef SWIG
</span><span class="cx">     DECLARE_DYNAMIC_CLASS( wxWebViewStateChangedEvent )
</span><span class="lines">@@ -216,7 +217,7 @@
</span><span class="cx">     wxString m_url;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-class wxWebViewNewWindowEvent : public wxCommandEvent
</del><ins>+class WXDLLIMPEXP_WEBKIT wxWebViewNewWindowEvent : public wxCommandEvent
</ins><span class="cx"> {
</span><span class="cx"> #ifndef SWIG
</span><span class="cx">     DECLARE_DYNAMIC_CLASS( wxWebViewNewWindowEvent )
</span><span class="lines">@@ -233,7 +234,7 @@
</span><span class="cx">     wxString m_url;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-class wxWebViewRightClickEvent : public wxCommandEvent
</del><ins>+class WXDLLIMPEXP_WEBKIT wxWebViewRightClickEvent : public wxCommandEvent
</ins><span class="cx"> {
</span><span class="cx"> #ifndef SWIG
</span><span class="cx">     DECLARE_DYNAMIC_CLASS( wxWebViewRightClickEvent )
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebKitwxbindingspythonwxwebkitpybkl"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebKit/wx/bindings/python/wxwebkit-py.bkl (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebKit/wx/bindings/python/wxwebkit-py.bkl        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebKit/wx/bindings/python/wxwebkit-py.bkl        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -13,11 +13,20 @@
</span><span class="cx">         &lt;set var=&quot;WX_PYTHON&quot;&gt;1&lt;/set&gt;
</span><span class="cx">     &lt;/if&gt;
</span><span class="cx">     
</span><ins>+    &lt;if cond=&quot;not isdefined('PYTHON_VERSION')&quot;&gt;
+        &lt;option name=&quot;PYTHON_VERSION&quot; category=&quot;path&quot;&gt;
+            &lt;default-value&gt;25&lt;/default-value&gt;
+            &lt;description&gt;
+                Python version we're building against. 
+            &lt;/description&gt;
+        &lt;/option&gt;
+    &lt;/if&gt;
+    
</ins><span class="cx">     &lt;if cond=&quot;not isdefined('PYTHON_LIBDIR')&quot;&gt;
</span><span class="cx">         &lt;option name=&quot;PYTHON_LIBDIR&quot; category=&quot;path&quot;&gt;
</span><del>-            &lt;default-value&gt;`python -c &quot;import distutils.sysconfig; print distutils.sysconfig.get_python_lib()&quot;`&lt;/default-value&gt;
</del><ins>+            &lt;default-value&gt;C:/Python25/Libs&lt;/default-value&gt;
</ins><span class="cx">             &lt;description&gt;
</span><del>-                The root directory for Python extensions.
</del><ins>+                The directory containing the Python library to link against.
</ins><span class="cx">             &lt;/description&gt;
</span><span class="cx">         &lt;/option&gt;
</span><span class="cx">     &lt;/if&gt;
</span><span class="lines">@@ -57,15 +66,20 @@
</span><span class="cx">         &lt;include&gt;$(WK_ROOT)/WebKit/wx&lt;/include&gt;
</span><span class="cx">         &lt;include&gt;$(WK_ROOT)/WebKit/wx/WebKitSupport&lt;/include&gt;
</span><span class="cx">         
</span><del>-        &lt;sys-lib&gt;png&lt;/sys-lib&gt;
-        
</del><span class="cx">         &lt;if cond=&quot;FORMAT=='gnu'&quot;&gt;
</span><ins>+            &lt;sys-lib&gt;png&lt;/sys-lib&gt;
</ins><span class="cx">             &lt;set var=&quot;MAC_FLAGS&quot;&gt;
</span><span class="cx">                 &lt;if cond=&quot;PLATFORM_OS=='mac'&quot;&gt;-bundle&lt;/if&gt;
</span><span class="cx">             &lt;/set&gt;
</span><span class="cx">             
</span><span class="cx">             &lt;ldflags&gt;$(MAC_FLAGS) -undefined dynamic_lookup&lt;/ldflags&gt;
</span><span class="cx">         &lt;/if&gt;
</span><ins>+        &lt;if cond=&quot;FORMAT in ['msvc','msvs2005prj']&quot;&gt;
+            &lt;sys-lib&gt;libpng&lt;/sys-lib&gt;
+            &lt;sys-lib&gt;python$(PYTHON_VERSION)&lt;/sys-lib&gt;
+            &lt;lib-path&gt;$(WK_ROOT)/libpng&lt;/lib-path&gt;
+            &lt;lib-path&gt;$(PYTHON_LIBDIR)&lt;/lib-path&gt;
+        &lt;/if&gt;
</ins><span class="cx">         
</span><span class="cx">         &lt;sys-lib&gt;wxwebkit&lt;/sys-lib&gt;
</span><span class="cx">         &lt;lib-path&gt;$(WKOUTPUTDIR)&lt;/lib-path&gt;
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebKitwxwxwebkitbkl"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebKit/wx/wxwebkit.bkl (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebKit/wx/wxwebkit.bkl        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebKit/wx/wxwebkit.bkl        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -64,14 +64,15 @@
</span><span class="cx">         &lt;include&gt;$(WK_ROOT)/WebKit/wx&lt;/include&gt;
</span><span class="cx">         &lt;include&gt;$(WK_ROOT)/WebKit/wx/WebKitSupport&lt;/include&gt;
</span><span class="cx">         
</span><del>-        &lt;sys-lib&gt;png&lt;/sys-lib&gt;
-        
</del><span class="cx">         &lt;if cond=&quot;FORMAT=='gnu'&quot;&gt;
</span><ins>+            &lt;sys-lib&gt;png&lt;/sys-lib&gt;
</ins><span class="cx">             &lt;ldflags&gt;$(WKOUTPUTDIR)/libwebcore-wx.a&lt;/ldflags&gt;
</span><span class="cx">         &lt;/if&gt;
</span><span class="cx">         &lt;if cond=&quot;FORMAT in ['msvc','msvs2005prj']&quot;&gt;
</span><span class="cx">             &lt;sys-lib&gt;webcore-wx&lt;/sys-lib&gt;
</span><ins>+            &lt;sys-lib&gt;libpng&lt;/sys-lib&gt;
</ins><span class="cx">             &lt;lib-path&gt;$(WKOUTPUTDIR)&lt;/lib-path&gt;
</span><ins>+            &lt;lib-path&gt;$(WK_ROOT)/libpng&lt;/lib-path&gt;
</ins><span class="cx">         &lt;/if&gt;
</span><span class="cx">         
</span><span class="cx">         &lt;define&gt;BUILDING_WX__=1&lt;/define&gt;
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebKitToolsScriptsbuildwxwebkit"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebKitTools/Scripts/build-wxwebkit (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebKitTools/Scripts/build-wxwebkit        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebKitTools/Scripts/build-wxwebkit        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -98,18 +98,6 @@
</span><span class="cx"> done
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-SWIG=`which swig`
-
-if [ $wxpython == 1 ]; then
-    # Run swig so that we can spit out an error if it doesn't exist.
-
-    if [ ! -f &quot;$SWIG&quot; ]; then
-        echo &quot;ERROR: Cannot find SWIG. Make sure that SWIG 1.3.29 is located on your path.&quot;;
-        exit 1;
-    fi
-fi 
-
-
</del><span class="cx"> #----------------------------------------------------------------------
</span><span class="cx"> 
</span><span class="cx"> # if no arguments were passed, do a full build.
</span><span class="lines">@@ -236,21 +224,39 @@
</span><span class="cx">     
</span><span class="cx">     do_make $WK_ROOT/JavaScriptCore      &quot;-DBUILDING_WX__=1 $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args 
</span><span class="cx">     do_make $WK_ROOT/WebCore/Projects/wx &quot;-DBUILDING_WX__=1 $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args
</span><del>-    do_make $WK_ROOT/WebKit/wx &quot;-DBUILDING_WX__=1 -DWXMAKINGDLL=1 $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args 
-    do_make $WK_ROOT/WebKitTools/wxBrowser  &quot;-DBUILDING_WX__=1 -DWXUSINGDLL=1 $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args 
-
</del><ins>+    do_make $WK_ROOT/WebKit/wx &quot;-DBUILDING_WX__=1 -DWXMAKINGDLL_WEBKIT=1 $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args 
+    do_make $WK_ROOT/WebKitTools/wxBrowser  &quot;-DBUILDING_WX__=1 -DWXUSINGDLL_WEBKIT=1 $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args 
</ins><span class="cx">     
</span><span class="cx">     if [ $do_build == 1 ]; then 
</span><span class="cx">         if [ $wxpython == 1 ]; then
</span><ins>+            SWIG=`which swig`
+
+            if [ ! -f &quot;$SWIG&quot; ]; then
+                echo &quot;ERROR: Cannot find SWIG. Make sure that SWIG 1.3.29 is located on your path.&quot;;
+                exit 1;
+            fi
+    
</ins><span class="cx">             cd $WK_ROOT/WebKit/wx/bindings/python
</span><span class="cx">             
</span><del>-            WX_VERSION=`wx-config --version`
-            WX_VERSION=&quot;${WX_VERSION:0:3}&quot;
</del><span class="cx">             SWIG_FLAGS=`python -c &quot;import wx.build.config; import string; print string.join(wx.build.config.swig_args, ' ')&quot;`
</span><del>-            $SWIG $SWIG_FLAGS -I$WK_ROOT/WebKit/wx -o webview.cpp webview.i
</del><ins>+            WEBKIT_INCLUDE=&quot;-I$WK_ROOT/WebKit/wx&quot;
+            if [ &quot;${OSTYPE:0:6}&quot; == &quot;cygwin&quot; ]; then
+                WEBKIT_INCLUDE=&quot;-I`cygpath -d $WK_ROOT/WebKit/wx`&quot;
+            fi
+            $SWIG $SWIG_FLAGS -I$WXWIN/include/wx/wxPython/i_files $WEBKIT_INCLUDE -o webview.cpp webview.i
</ins><span class="cx">             
</span><span class="cx">             PY_INCLUDE=`python -c &quot;import distutils.sysconfig; print distutils.sysconfig.get_python_inc()&quot;`
</span><del>-            do_make $WK_ROOT/WebKit/wx/bindings/python  &quot;-DBUILDING_WX__=1 -DWXUSINGDLL=1 -I$PY_INCLUDE $WXGC_DEFINE&quot; WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS $other_args
</del><ins>+            PY_VERSION=`python -c &quot;import sys;  print str(sys.version_info[0]) + str(sys.version_info[1])&quot;`
+            PY_LIBDIR=`python -c &quot;import distutils.sysconfig; print distutils.sysconfig.PREFIX&quot;`
+            
+            if [ &quot;${OSTYPE:0:6}&quot; == &quot;cygwin&quot; ]; then
+                PY_LIBDIR=&quot;$PY_LIBDIR\\Libs&quot;
+            else
+                PY_LIBDIR=&quot;$PY_LIBDIR/lib&quot;
+            fi
+            
+            do_make $WK_ROOT/WebKit/wx/bindings/python  &quot;-DBUILDING_WX__=1 -DWXUSINGDLL=1 -DWXUSINGDLL_WEBKIT=1 -I$PY_INCLUDE $WXGC_DEFINE&quot; \
+                    WX_DEBUG=$wxdebug WEBKIT_ROOT=$WK_ROOTDIR PLATFORM_OS=$PLATFORM_OS PYTHON_VERSION=$PY_VERSION PYTHON_LIBDIR=$PY_LIBDIR $other_args
</ins><span class="cx">         fi
</span><span class="cx">         
</span><span class="cx">     
</span></span></pre></div>
<a id="brancheswxportalphatrunkWebKitToolsScriptsinstallwinextras"></a>
<div class="modfile"><h4>Modified: branches/wx-port-alpha/trunk/WebKitTools/Scripts/install-win-extras (23920 => 23921)</h4>
<pre class="diff"><span>
<span class="info">--- branches/wx-port-alpha/trunk/WebKitTools/Scripts/install-win-extras        2007-07-02 00:44:15 UTC (rev 23920)
+++ branches/wx-port-alpha/trunk/WebKitTools/Scripts/install-win-extras        2007-07-02 00:51:22 UTC (rev 23921)
</span><span class="lines">@@ -151,7 +151,23 @@
</span><span class="cx"> }
</span><span class="cx"> `chmod 755 ../pthreads/lib/*.dll`;
</span><span class="cx"> 
</span><ins>+my $LIBPNG_ZIP=&quot;lpng1218.zip&quot;;
+my $LIBPNG_URL=&quot;ftp://ftp.simplesystems.org/pub/libpng/png/src/&quot; . $LIBPNG_ZIP;
</ins><span class="cx"> 
</span><ins>+if (! -e $LIBPNG_ZIP) {
+    print &quot;Downloading &quot; . $LIBPNG_ZIP . &quot;...\n\n&quot;;
+    `rm -rf lpng*`;
+    `curl -O $LIBPNG_URL`;
+    print &quot;\nInstalling &quot; . $LIBPNG_ZIP . &quot;...\n&quot;;
+    `unzip $LIBPNG_ZIP`;
+    `ls -la .`;
+    chdir &quot;lpng1218&quot;;
+    `nmake -f scripts/makefile.vcwin32 CFLAGS=&quot;-I..\\zlib-1.2.3.win32\\include&quot;`;
+    chdir &quot;..&quot;;
+    `rm -rf ../libpng`;
+    `cp -rp lpng1218 ../libpng`;
+}
+
</ins><span class="cx"> my $PROGRAMFILES = $ENV{&quot;PROGRAMFILES&quot;};
</span><span class="cx"> my $unixProgramFiles = `cygpath -u &quot;$PROGRAMFILES&quot;`;
</span><span class="cx"> chomp $unixProgramFiles;
</span></span></pre>
</div>
</div>

</body>
</html>