Skip to content

[WebkitGtk+]Making webkitgtk build work behind a proxy.

I have been trying to build WebkitGtk in my company PC and was stuck with dependencies update and the subsequent build. I had to work behind a proxy which complicated things a bit. The general build is supposed to work on PC’s with open network. But once you get behind a proxy with just the http port only open, things usually taken for granted like git and ftp access go for a toss. Hence I was stuck a bit. With some help from the webkigtk-dev mailing list, following changes were suggested to make the build and dependencies to work:

Index: Tools/jhbuild/jhbuild-wrapper
--- Tools/jhbuild/jhbuild-wrapper (revision 164856)
+++ Tools/jhbuild/jhbuild-wrapper (working copy)
@@ -69,7 +69,7 @@
if not os.path.exists(installation_prefix):

- process = subprocess.Popen(['git', 'clone', 'git://'], cwd=source_path)
+ process = subprocess.Popen(['git', 'clone', ''], cwd=source_path)
if process.returncode != 0:
raise Exception('jhbuild git clone failed with return code: %i' % process.returncode)
Index: Tools/gtk/jhbuild.modules
--- Tools/gtk/jhbuild.modules (revision 164856)
+++ Tools/gtk/jhbuild.modules (working copy)
@@ -37,13 +37,13 @@

+ href=""/>

+ href=""/>

But apart from this the best way would be to add a --proxy command line argument to update and build webkit commands so that the switch happens automatically.