Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2581)

Unified Diff: docs/linux_build_instructions.md

Issue 2556133003: Add jessie support to install-build-deps.sh (Closed)
Patch Set: Rename, update error message Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/install-build-deps.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/linux_build_instructions.md
diff --git a/docs/linux_build_instructions.md b/docs/linux_build_instructions.md
index 53ac6c9bedc4b1ccf29bd76e7e0081ef393da26d..7e82ed725650e00c01afdf2ff98bcda6a30befd4 100644
--- a/docs/linux_build_instructions.md
+++ b/docs/linux_build_instructions.md
@@ -337,14 +337,34 @@ For the optional packages on Arch Linux:
### Debian
-`build/install-build-deps.sh` doesn't currently run on Debian, but you can
-probably hack it to get it to work. You will probably need to update the
-following package names:
-
-* `libexpat-dev` → `libexpat1-dev`
-* `freetype-dev` → `libfreetype6-dev`
-* `libbzip2-dev` → `libbz2-dev`
-* `libcupsys2-dev` → `libcups2-dev`
+Some tests require the `ttf-mscorefonts-installer` package from the `contrib`
+component. `contrib` packages may have dependencies on non-free software.
+
+If you need to run tests requiring MS TTF fonts, you can edit your apt
+`sources.list` by adding `contrib` to the end of each line beginning with `deb`.
+You might end up with something like this:
+
+```
+deb http://ftp.us.debian.org/debian/ jessie main contrib
+deb-src http://ftp.us.debian.org/debian/ jessie main contrib
+
+deb http://security.debian.org/ jessie/updates main contrib
+deb-src http://security.debian.org/ jessie/updates main contrib
+
+# jessie-updates, previously known as 'volatile'
+deb http://ftp.us.debian.org/debian/ jessie-updates main contrib
+deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib
+```
+
+Next, run:
+
+``` shell
+$ sudo apt-get update
+$ sudo apt-get install ttf-mscorefonts-installer
+```
+
+If you already have the `contrib` component enabled, `install-build-deps.sh`
+will install `ttf-mscorefonts-installer` for you.
### Fedora
« no previous file with comments | « build/install-build-deps.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698