


You can greatly speed up the compilation by taking advantage of this. Tip: Most modern desktops and laptops have several cores.

autogen.sh -disable-examples -disable-gputests -disable-tests -prefix="$PREFIX" You will probably need to grab the latest version of Nux to get Unity trunk to compile: bzr branch lp:nux In this example I put both in my home directory: export SOURCE=$HOME/source/unityĮxport PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"Įxport LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"Įxport LD_RUN_PATH="$PREFIX/lib:$LD_RUN_PATH"Įxport XDG_DATA_DIRS="$PREFIX/share:$XDG_DATA_DIRS" Replace SOURCE and PREFIX with the directories you'd like the source and build files to go. If you have source code repositories (aka deb-src) enabled, you can instead use: sudo apt-get build-dep unity Libunity-misc-dev libutouch-geis-dev libxxf86vm-dev libzeitgeist-dev xsltproc Libnotify-dev libnux-2.0-dev libpci-dev libsigc++-2.0-dev libunity-dev \ Libgnome-desktop-3-dev libibus-1.0-dev libindicator3-dev libjson-glib-dev \ Libboost-serialization-dev libgconf2-dev libgdu-dev libglewmx1.6-dev \ You'll need to run this once to install all necessary build dependencies: sudo apt-get install bzr cmake compiz-dev gnome-common libbamf3-dev libboost-dev \ In this guide you will build a separated version of Unity trunk (locally installed to your home directory), so you don't need to worry about corrupting the version from the Ubuntu repositories and you also won't need to get root permissions throughout the whole process (except for installing the build dependencies).
