OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 | 2 |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Script to install everything needed to build chromium (well, ideally, anyway) | 7 # Script to install everything needed to build chromium (well, ideally, anyway) |
8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md | 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md |
9 | 9 |
10 usage() { | 10 usage() { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 118 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
119 fi | 119 fi |
120 | 120 |
121 # Run-time libraries required by chromeos only | 121 # Run-time libraries required by chromeos only |
122 chromeos_lib_list="libpulse0 libbz2-1.0" | 122 chromeos_lib_list="libpulse0 libbz2-1.0" |
123 | 123 |
124 # Full list of required run-time libraries | 124 # Full list of required run-time libraries |
125 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1 | 125 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1 |
126 libffi6 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 | 126 libffi6 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 |
127 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 libpixman-1-0 | 127 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 libpixman-1-0 |
128 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 libxau6 | 128 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 libx11-xcb1 |
129 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 | 129 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 |
130 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 | 130 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 |
131 zlib1g $chromeos_lib_list" | 131 libxtst6 zlib1g $chromeos_lib_list" |
132 | 132 |
133 # Debugging symbols for all of the run-time libraries | 133 # Debugging symbols for all of the run-time libraries |
134 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libffi6-dbg libfontconfig1-dbg | 134 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libffi6-dbg libfontconfig1-dbg |
135 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg | 135 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg |
136 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg | 136 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libx11-xcb1-dbg |
137 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg | 137 libxau6-dbg libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg |
138 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg | 138 libxdamage1-dbg libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg |
139 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg" | 139 libxinerama1-dbg libxrandr2-dbg libxrender1-dbg libxtst6-dbg |
| 140 zlib1g-dbg" |
140 | 141 |
141 # Find the proper version of libstdc++6-4.x-dbg. | 142 # Find the proper version of libstdc++6-4.x-dbg. |
142 if [ "x$lsb_release" = "xprecise" ]; then | 143 if [ "x$lsb_release" = "xprecise" ]; then |
143 dbg_list="${dbg_list} libstdc++6-4.6-dbg" | 144 dbg_list="${dbg_list} libstdc++6-4.6-dbg" |
144 elif [ "x$lsb_release" = "xtrusty" ]; then | 145 elif [ "x$lsb_release" = "xtrusty" ]; then |
145 dbg_list="${dbg_list} libstdc++6-4.8-dbg" | 146 dbg_list="${dbg_list} libstdc++6-4.8-dbg" |
146 else | 147 else |
147 dbg_list="${dbg_list} libstdc++6-4.9-dbg" | 148 dbg_list="${dbg_list} libstdc++6-4.9-dbg" |
148 fi | 149 fi |
149 | 150 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 498 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
498 # linking (libcrypto.so). | 499 # linking (libcrypto.so). |
499 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 500 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
500 /usr/lib/i386-linux-gnu/libcrypto.so | 501 /usr/lib/i386-linux-gnu/libcrypto.so |
501 | 502 |
502 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 503 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
503 /usr/lib/i386-linux-gnu/libssl.so | 504 /usr/lib/i386-linux-gnu/libssl.so |
504 else | 505 else |
505 echo "Skipping symbolic links for NaCl." | 506 echo "Skipping symbolic links for NaCl." |
506 fi | 507 fi |
OLD | NEW |