| Index: docs/linux_open_suse_build_instructions.md
|
| diff --git a/docs/linux_open_suse_build_instructions.md b/docs/linux_open_suse_build_instructions.md
|
| index c94d3884763047129dc8badce624d036ac996fad..5b471d18f1f311ef4aa6621e1e62b76203f65b5c 100644
|
| --- a/docs/linux_open_suse_build_instructions.md
|
| +++ b/docs/linux_open_suse_build_instructions.md
|
| @@ -1,45 +1,46 @@
|
| -This page includes some instruction to build Chromium on openSUSE 11.1 and 11.0.
|
| -Before reading this page you need to learn the [Linux Build Instructions](LinuxBuildInstructions.md).
|
| +# Linux Open SUSE Build Instructions
|
|
|
| -If you are on 64-bit openSUSE, you will also want to read [Linux Build 64-bit on openSUSE](http://code.google.com/p/chromium/wiki/LinuxBuild64Bit#Manual_Setup_on_openSUSE).
|
| +This page includes some instruction to build Chromium on openSUSE 11.1 and 11.0.
|
| +Before reading this page you need to learn the
|
| +[Linux Build Instructions](linux_build_instructions.md).
|
|
|
| ## How to Install Dependencies:
|
|
|
| Use zypper command to install dependencies:
|
|
|
| (openSUSE 11.1 and higher)
|
| -```
|
| -sudo zypper in subversion pkg-config python perl \
|
| - bison flex gperf mozilla-nss-devel glib2-devel gtk-devel \
|
| - wdiff lighttpd gcc gcc-c++ gconf2-devel mozilla-nspr \
|
| - mozilla-nspr-devel php5-fastcgi alsa-devel libexpat-devel \
|
| - libjpeg-devel libbz2-devel
|
| -```
|
|
|
| + sudo zypper in subversion pkg-config python perl \
|
| + bison flex gperf mozilla-nss-devel glib2-devel gtk-devel \
|
| + wdiff lighttpd gcc gcc-c++ gconf2-devel mozilla-nspr \
|
| + mozilla-nspr-devel php5-fastcgi alsa-devel libexpat-devel \
|
| + libjpeg-devel libbz2-devel
|
|
|
| -For 11.0, use libnspr4-0d and libnspr4-dev instead of mozilla-nspr and mozilla-nspr-devel, and use php5-cgi instead of php5-fastcgi. And need gtk2-devel.
|
| +For 11.0, use `libnspr4-0d` and `libnspr4-dev` instead of `mozilla-nspr` and
|
| +`mozilla-nspr-devel`, and use `php5-cgi` instead of `php5-fastcgi`. And need
|
| +`gtk2-devel`.
|
|
|
| (openSUSE 11.0)
|
| -```
|
| -sudo zypper in subversion pkg-config python perl \
|
| - bison flex gperf mozilla-nss-devel glib2-devel gtk-devel \
|
| - libnspr4-0d libnspr4-dev wdiff lighttpd gcc gcc-c++ libexpat-devel php5-cgi gconf2-devel \
|
| - alsa-devel gtk2-devel jpeg-devel
|
| -```
|
|
|
| + sudo zypper in subversion pkg-config python perl \
|
| + bison flex gperf mozilla-nss-devel glib2-devel gtk-devel \
|
| + libnspr4-0d libnspr4-dev wdiff lighttpd gcc gcc-c++ libexpat-devel \
|
| + php5-cgi gconf2-devel alsa-devel gtk2-devel jpeg-devel
|
|
|
| -The Ubuntu package sun-java6-fonts contains a subset of Java of the fonts used. Since this package requires Java as a prerequisite anyway, we can do the same thing by just installing the equivalent OpenSUSE Sun Java package:
|
| -```
|
| -sudo zypper in java-1_6_0-sun
|
| -```
|
| +The Ubuntu package sun-java6-fonts contains a subset of Java of the fonts used.
|
| +Since this package requires Java as a prerequisite anyway, we can do the same
|
| +thing by just installing the equivalent OpenSUSE Sun Java package:
|
| +
|
| + sudo zypper in java-1_6_0-sun
|
|
|
| Webkit is currently hard-linked to the Microsoft fonts. To install these using zypper
|
| -```
|
| -sudo zypper in fetchmsttfonts pullin-msttf-fonts
|
| -```
|
|
|
| -To make the fonts installed above work, as the paths are hardcoded for Ubuntu, create symlinks to the appropriate locations:
|
| -```
|
| + sudo zypper in fetchmsttfonts pullin-msttf-fonts
|
| +
|
| +To make the fonts installed above work, as the paths are hardcoded for Ubuntu,
|
| +create symlinks to the appropriate locations:
|
| +
|
| +```shell
|
| sudo mkdir -p /usr/share/fonts/truetype/msttcorefonts
|
| sudo ln -s /usr/share/fonts/truetype/arial.ttf /usr/share/fonts/truetype/msttcorefonts/Arial.ttf
|
| sudo ln -s /usr/share/fonts/truetype/arialbd.ttf /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
|
| @@ -61,17 +62,17 @@ sudo ln -s /usr/share/fonts/truetype/verdanab.ttf /usr/share/fonts/truetype/mstt
|
| sudo ln -s /usr/share/fonts/truetype/verdanai.ttf /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf
|
| sudo ln -s /usr/share/fonts/truetype/verdanaz.ttf /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold_Italic.ttf
|
| ```
|
| +
|
| And then for the Java fonts:
|
| -```
|
| +
|
| +```shell
|
| sudo mkdir -p /usr/share/fonts/truetype/ttf-lucida
|
| -sudo find /usr/lib*/jvm/java-1.6.*-sun-*/jre/lib -iname '*.ttf' -print -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \;
|
| +sudo find /usr/lib*/jvm/java-1.6.*-sun-*/jre/lib -iname '*.ttf' -print \
|
| + -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \;
|
| ```
|
|
|
| ## Building the software
|
| -Please refer to the [Linux Build Instructions](LinuxBuildInstructions.md).
|
| -
|
| -
|
| ----
|
|
|
| +Please refer to the [Linux Build Instructions](linux_build_instructions.md).
|
|
|
| -Please, give comments and update this page if you use different steps.
|
| +Please update this page if you use different steps.
|
|
|