Size: 3866
Comment: updating to latest revision number in the archives... sorry for generating so many emails everyong :(
|
← Revision 22 as of 2009-05-04 00:35:39 ⇥
Size: 51
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<BR>><<TableOfContents(2)>>|| = Special Note = This page aims to provide the best available instructions to Ubuntu users who want to be involved in the Chromium project. Best instructions can be found at http://dev.chromium.org/developers/how-tos/get-the-code = Introduction = Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. This site contains design documents, architecture overviews, testing information, and more to help you learn to build and work with the Chromium source code. = Prerequisites = You should be familiar with the terminal. Visit [[https://help.ubuntu.com/community/UsingTheTerminal|UsingTheTerminal]] to learn more about the terminal. = Get dependencies = Chromium requires libraries to successfully compile. You can get libraries by issuing the following command in your terminal: {{{ sudo apt-get install subversion pkg-config g++ g++-multilib bison flex gperf libnss3-dev libgconf2-dev libglib2.0-dev libgtk2.0-dev libnspr4-0d libnspr4-dev msttcorefonts libfreetype6-dev libcairo2-dev }}} Optionally you can also install the following packages for layout tests by issuing the following command in your terminal: {{{ sudo apt-get install wdiff lighttpd php5-cgi sun-java6-fonts }}} = Install the depot tools = Checkout the depot tools from the chromium repository and save them to the local directory ~/bin/depot_tools {{{ svn co http://src.chromium.org/svn/trunk/depot_tools/linux ~/bin/depot_tools }}} Now you need to add the depot tools to your $PATH with the following command: {{{ echo "export PATH=~/bin/depot_tools:$PATH" >> ~/.bashrc }}} Close your terminal and open a new one to test the depot tools. Issue the following command: {{{ gclient }}} = Bootstrap using the tarball = The Chromium codebase consists of hundreds of thousands of files, which means that a checkout straight from the Subversion (SVN) repository can take a long time. To speed up the process, get a tarball that you can use to bootstrap the download. This can be accomplished by entering the following command in your terminal: {{{ wget http://build.chromium.org/buildbot/archives/chromium.r15144.tgz }}} Next extract the tarball to a directory of your choice (in this example your home directory). The chromium tarball has a strange directory structure. After you unpack the tarball you will want to move a subfolder and delete the folders that contained it. You can accomplish this by issuing the following command in your terminal: {{{ tar -xvf ~/chromium.r15144.tgz; mv ~/home/chrome-svn/tarball/chromium ~/src/chromium; rm -rf ~/home }}} = Update Chromium to the latest revision = {{{ cd ~/src/chromium }}} {{{ gclient sync }}} = Build the source = {{{ cd ~/src/chromium/src/build }}} To build the chrome application you should issue the following command in your terminal: {{{ hammer app }}} = Running Chrome = Build products can now be found in ~/src/chromium/src/sconsbuild/Debug. To run the chrome application, issue the following command in your terminal: {{{ ~/src/chromium/src/sconsbuild/Debug/chrome }}} = External Links = For more information about Chromium see the following links * < http://dev.chromium.org/Home > - Chromium Developer Documentation. * < http://dev.chromium.org/developers/how-tos/get-the-code > - Chromium documentation for acquiring the Chromium source code. * < http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites > - Linux Build Prerequisites * < http://code.google.com/p/chromium/wiki/LinuxBuildInstructions > - Build instructions for Linux |
#REFRESH 1 https://wiki.ubuntu.com/Chromium/Build |