Chromium Web Browser on FreeBSD

The Chromium web browser is being ported to FreeBSD on an ongoing basis. Most basic functionality has been ported but further Linux-specific code remains. These instructions show you how to build the browser yourself from the main source repositories and are mainly aimed at developers who might want to contribute patches. For normal usage, you can use the www/chromium port.

People in chromium@

Committers

Contributors

Development repository

We have a Subversion repository for development. It can also be used for bug tracking by means of trac.

Do it yourself

Install and configure gclient

gclient will make sure that all third-party subversion repositories are in sync with the main Chromium source repository.

svn co http://src.chromium.org/svn/trunk/tools/depot_tools
cd depot_tools && ./gclient config http://src.chromium.org/svn/trunk/src

Check out the Chromium source code

You can use subversion to check out the main Chromium repository. To download the main Chromium repository, it is both faster and more reliable to start from a subversion source tarball.

fetch http://chromium-browser-source.commondatastorage.googleapis.com/chromium.r80131.tgz
tar --strip-components=4 -xzvf chromium.r80131.tgz

To update to trunk:

cd chromium/src
../../depot_tools/gclient sync --force

Build

You can use multiple cores to speed up the build. The following assumes you have 4 cores, change the -j5 flag to (# of cores) + 1.

python build/gyp_chromium -D'use_system_libxml=1' build/all.gyp
gmake -j5 BUILDTYPE=Release chrome

Run

./out/Release/chrome

Submitted patches

Links with patches which have been submitted upstream:

Ben Laurie's instructions on building Chrome: http://www.links.org/?p=724

These instructions originally based on: http://www.zlonet.ru/page/chromium-freebsd-8

Chromium (last edited 2011-09-28 06:37:33 by BaptisteDaroussin)