OLD | NEW |
1 Linux | 1 Linux |
2 ===== | 2 ===== |
3 | 3 |
4 Quickstart | 4 Quickstart |
5 ---------- | 5 ---------- |
6 | 6 |
7 <!--?prettify lang=sh?--> | 7 <!--?prettify lang=sh?--> |
8 | 8 |
9 | 9 |
10 # Install depot_tools (this provides ninja and git-cl). | 10 # Install depot_tools (this provides ninja and git-cl). |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 * The FreeType and Fontconfig font engines: **libfreetype6-dev** and | 59 * The FreeType and Fontconfig font engines: **libfreetype6-dev** and |
60 **libfontconfig1-dev** | 60 **libfontconfig1-dev** |
61 | 61 |
62 * Mesa OpenGL utility library headers: **libglu1-mesa-dev** | 62 * Mesa OpenGL utility library headers: **libglu1-mesa-dev** |
63 | 63 |
64 * Mesa headers: **mesa-common-dev** | 64 * Mesa headers: **mesa-common-dev** |
65 | 65 |
66 * GL, such as **freeglut3-dev** | 66 * GL, such as **freeglut3-dev** |
67 | 67 |
68 * QT4, used by the [Skia Debugger](/dev/tools/debugger): **libqt4-dev** | |
69 | |
70 Check out the source code | 68 Check out the source code |
71 ------------------------- | 69 ------------------------- |
72 | 70 |
73 Follow the instructions [here](../download) for downloading the Skia source. | 71 Follow the instructions [here](../download) for downloading the Skia source. |
74 | 72 |
75 Notes | 73 Notes |
76 ----- | 74 ----- |
77 | 75 |
78 1. On 32-bit Linux (when `uname -m` is *not* `x86_64`), you will have to | 76 1. On 32-bit Linux (when `uname -m` is *not* `x86_64`), you will have to |
79 explicitly specify the architecture: | 77 explicitly specify the architecture: |
80 | 78 |
81 <!--?prettify lang=sh?--> | 79 <!--?prettify lang=sh?--> |
82 | 80 |
83 GYP_DEFINES='skia_arch_type=x86' python bin/sync-and-gyp | 81 GYP_DEFINES='skia_arch_type=x86' python bin/sync-and-gyp |
84 2. By default, many Linux systems use gcc by default. To use clang you will | 82 2. By default, many Linux systems use gcc by default. To use clang you will |
85 need to [set the CC and CXX environment variables](/user/tips#gypdefines). | 83 need to [set the CC and CXX environment variables](/user/tips#gypdefines). |
86 | 84 |
87 Generate build files | 85 Generate build files |
88 -------------------- | 86 -------------------- |
89 | 87 |
90 See [this page for generating build files and run tests](desktop). | 88 See [this page for generating build files and run tests](desktop). |
OLD | NEW |