+2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix, ignore Qt-specific (for now?) source in platform/graphics.
+
+ * wscript:
+
2010-09-28 Andras Becsi <abecsi@webkit.org>
Reviewed by Csaba Osztrogonác.
+2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix, don't try to get the svn revision from the git repo when packaging,
+ it causes the process to hang on the gitorious repo.
+
+ * wx/packaging/build-mac-installer.py:
+ * wx/packaging/build-win-installer.py:
+
2010-09-28 Adam Roben <aroben@apple.com>
Test that a plugin's HWND is sized/positioned before NPP_SetWindow is
# Script for building Mac .pkg installer
import commands
+import datetime
import distutils.sysconfig
import glob
import optparse
wx_version = wx.__version__[:5]
py_version = sys.version[:3]
-wxwk_version = svn_revision()
+date = str(datetime.date.today())
platform = "osx"
-pkgname = "wxWebKit-%s-wx%s-py%s" % (platform, wx_version[:3], py_version)
+pkgname = "wxWebKit-%s-wx%s-py%s-%s" % (platform, wx_version[:3], py_version, date)
tempdir = "/tmp/%s" % (pkgname)
pkg_args = ['--title ' + pkgname,
'--out %s.pkg' % pkgname,
- '--version ' + wxwk_version.strip(),
+ '--version ' + date.strip(),
'--id org.wxwebkit.wxwebkit',
'--domain system',
'--root-volume-only',
innoSetup = getInnoSetupPath()
os.chdir(sys.path[0])
- svnrevision = svn_revision()
+ date = str(datetime.date.today())
if not os.path.exists(innoSetup):
print "ERROR: Cannot find InnoSetup."
installerTemplate = open("wxWebKitInstaller.iss.in", "r").read()
- installerTemplate = installerTemplate.replace("<<VERSION>>", svnrevision)
+ installerTemplate = installerTemplate.replace("<<VERSION>>", date)
installerTemplate = installerTemplate.replace("<<ROOTDIR>>", wxwebkit_dir )
installerTemplate = installerTemplate.replace("<<PYTHONVER>>", sys.version[0:3] )
installerTemplate = installerTemplate.replace("<<FILES>>", fileList )
excludes.append('HTMLEntityNames.cpp')
excludes.append('tokenizer.cpp')
+ # Qt specific file in common sources
+ excludes.append('ContextShadow.cpp')
+
# FIXME: these three require headers that I can't seem to find in trunk.
# Investigate how to resolve these issues.
excludes.append('JSAbstractView.cpp')
webcore.includes += ' WebKit/mac/WebCoreSupport WebCore/platform/mac'
webcore.source += " WebKit/mac/WebCoreSupport/WebSystemInterface.mm"
+ if building_on_win32:
+ for wxlib in bld.env['LIB_WX']:
+ wxlibname = os.path.join(bld.env['LIBPATH_WX'][0], wxlib + '_vc.dll')
+ if os.path.exists(wxlibname):
+ bld.install_files(obj.install_path, [wxlibname])
+
+ for dep in windows_deps:
+ bld.install_files(obj.install_path, [os.path.join(msvclibs_dir, dep)])
+
webcore.find_sources_in_dirs(full_dirs, excludes = excludes, exts=['.c', '.cpp'])
bld.add_group()
- if build_port == "wx":
+ if build_port == "wx":
bld.add_subdirs(['WebKitTools/DumpRenderTree', 'WebKitTools/wx/browser', 'WebKit/wx/bindings/python'])