28 Commits

Author SHA1 Message Date
Jon Leighton 8c372d6500 Make linux build script use the Qt 4.8.0 tarball.
Also make it always put the files in deploy/, regardless of where the
script is run from. (So use can run deploy/build-linux.sh from the root
directory.)
2011-12-30 08:24:34 -08:00
Jon Leighton 4e98c09488 Fix file upload on Qt 4.8.
Code was added to WebKit to detect whether the click event on the file
input element is triggered by user action or by a script. If it's by a
script, the event is ignored. This prevented us from simulating a click
on the element.

This fix just patches WebKit to remove the detection.

The relevant WebKit commit is:

  https://github.com/WebKit/webkit/commit/931870c11b2a4d0b714eea241db5654d9d8cf6a7

The associated WebKit bug is:

  https://bugs.webkit.org/show_bug.cgi?id=47593

Our bug is:

  http://code.google.com/p/phantomjs/issues/detail?id=307&q=upload

Conflicts:

	deploy/build-mac.sh
2011-12-30 08:24:22 -08:00
Ariya Hidayat ea95d57af2 Workaround to prevent WebCoreMovieObserver confusion.
The solution is for the static build script to disable QuickTime video.
In many cases, video support for a headless engine is not so useful.

http://code.google.com/p/phantomjs/issues/detail?id=321
2011-12-30 07:29:14 -08:00
Ariya Hidayat 1ee0a4ce44 Mac build script: x86 only for better compatibility.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-12-22 21:20:52 -08:00
Ariya Hidayat fa4309e381 Mac build script: Make sure it's executable.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-12-22 17:33:58 -08:00
Ariya Hidayat 724d28863b Static build: Don't merge Mac and Linux script.
Apparently with Qt 4.8, static build on Linux does not work out of the
box so there is no need to merge the static build scripts.

Also, tweak some configure options.

http://code.google.com/p/phantomjs/issues/detail?id=142
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 17:30:33 -08:00
Ariya Hidayat bfc16995b4 Linux build script: Keep to 4 parallel jobs at most.
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 17:28:27 -08:00
Ariya Hidayat 3c13b9dca1 Static build script: Fix the build.
MIT SHM is needed on X11.
Local path is better passed directly to configure.

http://code.google.com/p/phantomjs/issues/detail?id=142
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 09:32:35 -08:00
Ariya Hidayat c32d78747c Static build script: attempt to unify both Mac and Linux version.
http://code.google.com/p/phantomjs/issues/detail?id=142
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 08:31:03 -08:00
Ariya Hidayat cd590f2524 Mac build script: update to get Qt 4.8.0.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-12-20 22:49:34 -08:00
Leo Franchi d5b2d110fb Add patches 2011-11-15 22:29:59 -05:00
Leo Franchi f22877d625 Add Qt 4.8 support to deploy script, along with some patches to qt 2011-11-15 19:36:14 -05:00
Ariya Hidayat 04e281e365 Static Linux build script: disable some more configs.
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-11-04 19:54:24 -07:00
Ariya Hidayat ada7611cda Initial version of build script for static Linux.
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-11-04 08:39:01 -07:00
Ariya Hidayat d90d11b551 Mac build script: check curl status to detect failed download.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-10 17:23:36 -07:00
Ariya Hidayat b20aa4345e Mac build script: detect UPX properly.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-10 11:02:49 -07:00
Ariya Hidayat 293c7a4498 Mac build script: compress the executable.
Using both strip and upx, this makes the executable 3.5x smaller.

http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-09 22:43:05 -07:00
Ariya Hidayat 53b70172a1 Mac build script: workaround for qt_menu.nib problem.
http://code.google.com/p/phantomjs/issues/detail?id=142

See also the Qt bug:
https://bugreports.qt.nokia.com/browse/QTBUG-5952
2011-09-09 22:01:09 -07:00
Ariya Hidayat b68e06a11c Mac build script: ensure it can link to jscore library.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-09 21:58:00 -07:00
Ariya Hidayat 7a2fd4e93c Mac build script: clean any remaining of the previous build.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-09-09 09:13:28 -07:00
Ariya Hidayat f5c2b7f69b Build script: use the correct QMake.
Now the remaining problem is jscore linking.

http://code.google.com/p/phantomjs/issues/detail?id=141
2011-09-09 08:00:22 -07:00
Ariya Hidayat a0b97e8c6f Mac OS X build script: use 4.7.4, static build QtWebKit and PhantomJS. 2011-09-01 17:37:50 -07:00
Ariya Hidayat 47929b4507 Mac build script: patch to allow static build, install as final step. 2011-08-22 09:03:11 -07:00
Ariya Hidayat 149c951262 Mac build script: for some reasons, need to invoke make twice. 2011-08-20 16:09:15 -07:00
Ariya Hidayat 75c925a932 Mac build script: use raster, skip QtScript and few other features. 2011-08-20 14:59:08 -07:00