OLD | NEW |
1 Linux | 1 Linux |
2 ===== | 2 ===== |
3 | 3 |
4 Prerequisites | 4 Prerequisites |
5 ------------- | 5 ------------- |
6 | 6 |
7 On a Ubuntu 12.04 (Precise) or Ubuntu 14.04 (Trusty) system, you can run | 7 On a Ubuntu 12.04 (Precise) or Ubuntu 14.04 (Trusty) system, you can run |
8 `tools/install_dependencies.sh`, which will install the needed packages. On | 8 `tools/install_dependencies.sh`, which will install the needed packages. On |
9 Ubuntu 12.04, you will need to install the`ninja` build tool separately, which | 9 Ubuntu 12.04, you will need to install the`ninja` build tool separately, which |
10 comes with Chromium's `depot_tools`. | 10 comes with Chromium's `depot_tools`. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * libpng | 26 * libpng |
27 * suggested Ubuntu packages: libpng12-0, libpng12-dev e.g., `sudo apt-get in
stall libpng12-0 libpng12-dev` | 27 * suggested Ubuntu packages: libpng12-0, libpng12-dev e.g., `sudo apt-get in
stall libpng12-0 libpng12-dev` |
28 * libgif | 28 * libgif |
29 * suggested Ubuntu package: libgif-dev e.g., `sudo apt-get install libgif-de
v` | 29 * suggested Ubuntu package: libgif-dev e.g., `sudo apt-get install libgif-de
v` |
30 * `$ sudo apt-get install libgif4:i386` | 30 * `$ sudo apt-get install libgif4:i386` |
31 * `$ sudo ln -s /usr/lib/i386-linux-gnu/libgif.so.4 /usr/lib/i386-linux-gnu/
libgif.so` | 31 * `$ sudo ln -s /usr/lib/i386-linux-gnu/libgif.so.4 /usr/lib/i386-linux-gnu/
libgif.so` |
32 * libglu1-mesa-dev | 32 * libglu1-mesa-dev |
33 * mesa-common-dev | 33 * mesa-common-dev |
34 * GL | 34 * GL |
35 * such as freeglut3-dev | 35 * such as freeglut3-dev |
36 * Poppler PDF rendering library C++ development files | |
37 * suggested Ubuntu package: libpoppler-cpp-dev | |
38 | 36 |
39 Check out the source code | 37 Check out the source code |
40 ------------------------- | 38 ------------------------- |
41 | 39 |
42 Follow the instructions [here](../download) for downloading the Skia source. | 40 Follow the instructions [here](../download) for downloading the Skia source. |
43 | 41 |
44 | 42 |
45 Generate build files | 43 Generate build files |
46 -------------------- | 44 -------------------- |
47 | 45 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 Build tools | 126 Build tools |
129 ----------- | 127 ----------- |
130 | 128 |
131 make -j tools | 129 make -j tools |
132 out/Debug/skdiff | 130 out/Debug/skdiff |
133 | 131 |
134 Clean up all generated files | 132 Clean up all generated files |
135 ---------------------------- | 133 ---------------------------- |
136 | 134 |
137 make clean | 135 make clean |
OLD | NEW |