Initial build of GNOME Shell
1. Download gnome-shell-build-setup.sh (wget http://svn.gnome.org/svn/gnome-shell/trunk/tools/build/gnome-shell-build-setup.sh) and run it (bash gnome-shell-build-setup.sh). This will download jhbuild into ~/Source and build it (the executables will end up in ~/bin).
2. Install the necessary build dependencies for gnome-shell (and its bundled dependencies): sudo apt-get install build-essential automake gnome-common flex bison curl git-core subversion gtk-doc-tools mesa-common-dev xulrunner-1.9-dev libdbus-glib-1-dev libffi-dev libgconf2-dev libgtk2.0-dev libgl1-mesa-dev libgstreamer-plugins-base0.10-dev python2.5-dev.
3. Download and build gnome-shell (and its bundled dependencies) by running ~/bin/jhbuild build. All files are placed into ~/gnome-shell.
1. Run ~/bin/jhbuild shell to enter a subshell, and then follow the remaining steps inside it.
2. Go into the appropriate directory, with: cd ~/gnome-shell/source/gnome-shell/scripts.
3. Start gnome-shell, either inside a window by using Xephyr: ./start-in-Xephyr (you’ll need to have xserver-xephyr installed for this to work, or replacing gnome-panel and metacity in your “real” desktop: ./start-replace.
Execute ~/bin/jhbuild build –force –clean. The two arguments, “–force” and “–clean”, are used to rebuild everything, even if it didn’t change. You can usually omit them, but in some cases not doing this may lead to GNOME Shell failing to start.
You can also rebuild only a certain element (with this I mean either gnome-shell or one of its bundled dependencies, namely clutter, gjs, gobject-introspection, gir-repository or metacity-clutter) by using ~/bin/jhbuild buildone
Problem: My computer hangs if I run it
Like the new Compiz version in Intrepid, gnome-shell uses GL_EXT_texture_to_pixmap, which is broken for some old Intel cards and causes the computer to hang if start-replace is used. You can easily disable this, though, by setting the GNOME_SHELL_DISABLE_TFP environment variable (the name of this variable may change in the future).
So, just run echo “GNOME_SHELL_DISABLE_TFP=1″ | tee -a ~/.bashrc, restart your terminal and follow the steps described in section “Running it”. Wih this, gnome-shell should be able to run so that you can try it out, but don’t expect its performance to be perfect (here I have serious issues with redrawing).