I worked out how to compile WebKit and make it to work - or almost, in Linux. Tested in Ubuntu Intrepid. Just...copy-paste the following code, save it as "compiler.sh" in your directory (in a good one. It will create tons of cache files, etc in it.) and run it in terminal. You might need to Right Click -> Options -> Permissions -> Allow running as a program. First.
Now, keep in mind that:
Okay, if you readed that, cool. Next List:
BUG LIST
Okay, now, Run this in terminal. Save it before you do.
Be prepared that it may take 3-4 hours to compile.
Now, keep in mind that:
- This WILL download a NIGHTLY RELEASE from WebKit's SubRepositories. Means, its either an Alpha, or Beta. Its not stable. Use it ON YOUR OWN RISK.
- It requires GTK, and tons of Libraries to work. The script installs them, and it might take like 100MBs.
- The script will get the nightly build, right? It takes 300MBs. So, keep that in mind.
- This has lots of bugs. See below
Okay, if you readed that, cool. Next List:
BUG LIST
- The page won't load if you didn't type http:// in the address bar, before the URL.
- The Web Inspector is still not implemented.
- Lack of features. Not a bug, but...
Okay, now, Run this in terminal. Save it before you do.
Be prepared that it may take 3-4 hours to compile.
Code:
#!/bin/bash
####################################
# WebKit Compiler script for GNU/Linux
# Made in Ubuntu Intrepid 8.10
# By Jimmie Lin
####################################
## Added in Revision 21
echo WebKit Compiler for GNU Linux - By Jimmie32
echo Use CTRL+C to abort - you wont be able to later. So if you want to do it, do it now. Do it, while we are in the installation of packages.
echo -----------------------------------------------------------------------------
echo Still dont want to abort? Proceeding
echo Installing needed packages, starting apt-get trigger
# Get all the needed packages. Ugh.
sudo apt-get install libqt4-dev libxslt-dev gperf bison libsqlite3-dev flex build-essential subversion bison libsqlite3-dev flex build-essential subversion libcurl4-openssl-dev libgtk2.0-dev libicu38 libpango1.0-dev libicu-dev
echo Package installation finished - 2 seconds to abort or wait to continue
# First we must get an fresh copy of the Repos.
svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit
echo Repositories refresh and download finished - 2 seconds to abort or wait to continue
#### DEVELOPER INFO: This saves the files in ~/WebKit.
# Now that we're done,
./WebKit/autogen.sh # Runs the install script
echo Install script running - Installation finished
./WebKit/Programs/GtkLauncher # Runs the GTK Launcher for the Browser
echo GTK Launcher Starting, happy developing!
#Send an happy msg
echo Congratulations, WebKit is now compiled.
echo To run safari, please consult the documentation
echo Be happy! Jimmie
# END
# Todo List:
##################################
# ~ Web Inspector GTK
# ~ Fix http:// bug
# ~ Make settings area
##################################
#Version 1.0.0, Revision 21, end.
Jimmie Lin - Community Manager & THT.Next Developer