wokking-copy.png

Getting back to a working copy of WebKit:

$ svn up
svn: REPORT request failed on '/repository/webkit/!svn/vcc/default'
svn: REPORT of '/repository/webkit/!svn/vcc/default':…
…413 Request Entity Too Large (http://svn.webkit.org)

Combine svn and http transport… And the approximate size of a working copy is around 800MB…

Oh. Now. http://git.debian.org/ has pkg-webkit/upstream.git and pkg-webkit/webkit.git (Debian packaging).

Considering the first one, the history from June 2007 until takes 120MB (du -sh .git). There are two branches: filtered (180MB, .git included), and svn (460MB, .git included).

Also, checking ccache is installed and ready to be used (e.g. by prepending $PATH by /usr/lib/ccache) is always a good idea. Using colormake might also be interesting (once installed, set $MAKE to colormake, done).

So: Can I has a wokking copy?

Sure:

# Fetch
$ git-clone git://git.debian.org/git/pkg-webkit/upstream.git
$ cd upstream

# Check local branches
$ git-branch
* filtered

# Check all branches
$ git-branch -a
* filtered
  origin/HEAD
  origin/filtered
  origin/svn

# Work on the full sources, and make sure
$ git-checkout -b svn origin/svn
$ git-branch
  filtered
* svn

# Set the build environment, and build
$ ./WebKitTools/Scripts/set-webkit-configuration --release
$ ./WebKitTools/Scripts/build-webkit --gtk

# In case the build is interrupted, “make” from there
$ cd WebKitBuild/Release
$ sudo make install