[webkit-dev] Unifying the build systems
Lucas De Marchi
lucas.demarchi at profusion.mobi
Wed May 11 21:31:58 PDT 2011
Hi!!
After the talk on webkit-meeting about unifying the build systems, I
decided to modify the CMake build system to compile the GTK port. I'm
attaching to this email some patches to make it work. It's still very
rough and must be polished, but I'd like some feedback from you
regarding this.
I'm happy to say that now I'm successfully running GtkLauncher built with CMake.
Besides the patches attached, there are some that were already sent to
bugzilla, since they could be applied even without the GTK part:
https://bugs.webkit.org/show_bug.cgi?id=60642 -- [CMAKE] Move
EFL-specific file to CMakeListsEfl.txt
https://bugs.webkit.org/show_bug.cgi?id=60643 -- [CMAKE] Add option to
unconditionally enable/disable a feature
This implementation still lacks some parts (these are the biggest ones
I remember from top of my head, there might be others):
- There's no option to enable WebKit2, webgl and webaudio;
- It always uses GTK2
- GIR files are not generated
- Unit test files are not compiled
As far as I could see, they are not difficult to be implemented, but
I'd need some help from folks of the GTK port.
There are some differences on the default options Autotools is
currently using and the options that I used in CMake. This is because
I based this implementation mainly on the EFL port, which uses
different flags. It's not difficult to add/remove/change these flags
though.
Another port that I used as a basis to this implementation is the
clutter port (not in webkit.org's tree) -- thanks Kov.
AFAIK inside webkit.org's tree there are 2 ports using CMake (EFL and
WinCE) and outside another 2: clutter and RIM (the latter I'm not
sure). If GTK joins this effort, it'd be really great.
Regards,
Lucas De Marchi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CMAKE-Add-missing-include-directories.patch
Type: text/x-patch
Size: 1639 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-CMAKE-Create-directory-for-webkit-derived-sources.patch
Type: text/x-patch
Size: 2239 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-CMAKE-Add-missing-include-directories.patch
Type: text/x-patch
Size: 2025 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-CMAKE-Add-missing-source-files-to-build-system.patch
Type: text/x-patch
Size: 1335 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Define-macros-only-if-they-are-not-already-defined.patch
Type: text/x-patch
Size: 1582 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-CMAKE-Add-files-to-find-needed-dependencies.patch
Type: text/x-patch
Size: 5957 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-CMAKE-Add-Gtk-to-build-system.patch
Type: text/x-patch
Size: 38287 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110512/309de95d/attachment-0006.bin>
More information about the webkit-dev
mailing list