OLD | NEW |
1 # Checking out and building Chromium on Linux | 1 # Checking out and building Chromium on Linux |
2 | 2 |
3 There are instructions for other platforms linked from the | 3 There are instructions for other platforms linked from the |
4 [get the code](get_the_code.md) page. | 4 [get the code](get_the_code.md) page. |
5 | 5 |
6 ## Instructions for Google Employees | 6 ## Instructions for Google Employees |
7 | 7 |
8 Are you a Google employee? See | 8 Are you a Google employee? See |
9 [go/building-chrome](https://goto.google.com/building-chrome) instead. | 9 [go/building-chrome](https://goto.google.com/building-chrome) instead. |
10 | 10 |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 | 330 |
331 For the optional packages on Arch Linux: | 331 For the optional packages on Arch Linux: |
332 | 332 |
333 * `php-cgi` is provided with `pacman` | 333 * `php-cgi` is provided with `pacman` |
334 * `wdiff` is not in the main repository but `dwdiff` is. You can get `wdiff` | 334 * `wdiff` is not in the main repository but `dwdiff` is. You can get `wdiff` |
335 in AUR/`yaourt` | 335 in AUR/`yaourt` |
336 * `sun-java6-fonts` do not seem to be in main repository or AUR. | 336 * `sun-java6-fonts` do not seem to be in main repository or AUR. |
337 | 337 |
338 ### Debian | 338 ### Debian |
339 | 339 |
340 `build/install-build-deps.sh` doesn't currently run on Debian, but you can | 340 Some tests require the `ttf-mscorefonts-installer` package from the `contrib` |
341 probably hack it to get it to work. You will probably need to update the | 341 component. `contrib` packages may have dependencies on non-free software. |
342 following package names: | |
343 | 342 |
344 * `libexpat-dev` → `libexpat1-dev` | 343 If you need to run tests requiring MS TTF fonts, you can edit your apt |
345 * `freetype-dev` → `libfreetype6-dev` | 344 `sources.list` by adding `contrib` to the end of each line beginning with `deb`. |
346 * `libbzip2-dev` → `libbz2-dev` | 345 You might end up with something like this: |
347 * `libcupsys2-dev` → `libcups2-dev` | 346 |
| 347 ``` |
| 348 deb http://ftp.us.debian.org/debian/ jessie main contrib |
| 349 deb-src http://ftp.us.debian.org/debian/ jessie main contrib |
| 350 |
| 351 deb http://security.debian.org/ jessie/updates main contrib |
| 352 deb-src http://security.debian.org/ jessie/updates main contrib |
| 353 |
| 354 # jessie-updates, previously known as 'volatile' |
| 355 deb http://ftp.us.debian.org/debian/ jessie-updates main contrib |
| 356 deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib |
| 357 ``` |
| 358 |
| 359 Next, run: |
| 360 |
| 361 ``` shell |
| 362 $ sudo apt-get update |
| 363 $ sudo apt-get install ttf-mscorefonts-installer |
| 364 ``` |
| 365 |
| 366 If you already have the `contrib` component enabled, `install-build-deps.sh` |
| 367 will install `ttf-mscorefonts-installer` for you. |
348 | 368 |
349 ### Fedora | 369 ### Fedora |
350 | 370 |
351 Instead of running `build/install-build-deps.sh`, run: | 371 Instead of running `build/install-build-deps.sh`, run: |
352 | 372 |
353 ```shell | 373 ```shell |
354 su -c 'yum install git python bzip2 tar pkgconfig atk-devel alsa-lib-devel \ | 374 su -c 'yum install git python bzip2 tar pkgconfig atk-devel alsa-lib-devel \ |
355 bison binutils brlapi-devel bluez-libs-devel bzip2-devel cairo-devel \ | 375 bison binutils brlapi-devel bluez-libs-devel bzip2-devel cairo-devel \ |
356 cups-devel dbus-devel dbus-glib-devel expat-devel fontconfig-devel \ | 376 cups-devel dbus-devel dbus-glib-devel expat-devel fontconfig-devel \ |
357 freetype-devel gcc-c++ GConf2-devel glib2-devel glibc.i686 gperf \ | 377 freetype-devel gcc-c++ GConf2-devel glib2-devel glibc.i686 gperf \ |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 sudo ln -s /usr/share/fonts/truetype/verdanaz.ttf /usr/share/fonts/truetype/mstt
corefonts/Verdana_Bold_Italic.ttf | 517 sudo ln -s /usr/share/fonts/truetype/verdanaz.ttf /usr/share/fonts/truetype/mstt
corefonts/Verdana_Bold_Italic.ttf |
498 ``` | 518 ``` |
499 | 519 |
500 And then for the Java fonts: | 520 And then for the Java fonts: |
501 | 521 |
502 ```shell | 522 ```shell |
503 sudo mkdir -p /usr/share/fonts/truetype/ttf-lucida | 523 sudo mkdir -p /usr/share/fonts/truetype/ttf-lucida |
504 sudo find /usr/lib*/jvm/java-1.6.*-sun-*/jre/lib -iname '*.ttf' -print \ | 524 sudo find /usr/lib*/jvm/java-1.6.*-sun-*/jre/lib -iname '*.ttf' -print \ |
505 -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \; | 525 -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \; |
506 ``` | 526 ``` |
OLD | NEW |