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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 if package_exists libbrlapi0.6; then | 236 if package_exists libbrlapi0.6; then |
237 dev_list="${dev_list} libbrlapi0.6" | 237 dev_list="${dev_list} libbrlapi0.6" |
238 else | 238 else |
239 dev_list="${dev_list} libbrlapi0.5" | 239 dev_list="${dev_list} libbrlapi0.5" |
240 fi | 240 fi |
241 if package_exists apache2-bin; then | 241 if package_exists apache2-bin; then |
242 dev_list="${dev_list} apache2-bin" | 242 dev_list="${dev_list} apache2-bin" |
243 else | 243 else |
244 dev_list="${dev_list} apache2.2-bin" | 244 dev_list="${dev_list} apache2.2-bin" |
245 fi | 245 fi |
246 if package_exists fonts-stix; then | 246 if package_exists xfonts-mathml; then |
247 dev_list="${dev_list} fonts-stix" | |
248 else | |
249 dev_list="${dev_list} xfonts-mathml" | 247 dev_list="${dev_list} xfonts-mathml" |
250 fi | 248 fi |
251 if package_exists fonts-indic; then | 249 if package_exists fonts-indic; then |
252 dev_list="${dev_list} fonts-indic" | 250 dev_list="${dev_list} fonts-indic" |
253 else | 251 else |
254 dev_list="${dev_list} ttf-indic-fonts" | 252 dev_list="${dev_list} ttf-indic-fonts" |
255 fi | 253 fi |
256 if package_exists php7.0-cgi; then | 254 if package_exists php7.0-cgi; then |
257 dev_list="${dev_list} php7.0-cgi libapache2-mod-php7.0" | 255 dev_list="${dev_list} php7.0-cgi libapache2-mod-php7.0" |
258 else | 256 else |
259 dev_list="${dev_list} php5-cgi libapache2-mod-php5" | 257 dev_list="${dev_list} php5-cgi libapache2-mod-php5" |
260 fi | 258 fi |
261 # Ubuntu 16.04 has this package deleted. | 259 # Ubuntu 16.04 has this package deleted. |
262 if package_exists ttf-kochi-gothic; then | 260 if package_exists ttf-kochi-gothic; then |
263 dev_list="${dev_list} ttf-kochi-gothic" | 261 dev_list="${dev_list} ttf-kochi-gothic" |
264 fi | 262 fi |
265 # Ubuntu 16.04 has this package deleted. | 263 # Ubuntu 16.04 has this package deleted. |
266 if package_exists ttf-kochi-mincho; then | 264 if package_exists ttf-kochi-mincho; then |
267 dev_list="${dev_list} ttf-kochi-mincho" | 265 dev_list="${dev_list} ttf-kochi-mincho" |
268 fi | 266 fi |
269 | 267 |
270 # Some packages are only needed if the distribution actually supports | 268 # Some packages are only needed if the distribution actually supports |
271 # installing them. | 269 # installing them. |
272 if package_exists appmenu-gtk; then | 270 if package_exists appmenu-gtk; then |
273 lib_list="$lib_list appmenu-gtk" | 271 lib_list="$lib_list appmenu-gtk" |
274 fi | 272 fi |
275 | 273 |
276 # When cross building for arm/Android on 64-bit systems the host binaries | 274 # When cross building for arm/Android on 64-bit systems the host binaries |
277 # that are part of v8 need to be compiled with -m32 which means | 275 # that are part of v8 need to be compiled with -m32 which means |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 497 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
500 # linking (libcrypto.so). | 498 # linking (libcrypto.so). |
501 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 499 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
502 /usr/lib/i386-linux-gnu/libcrypto.so | 500 /usr/lib/i386-linux-gnu/libcrypto.so |
503 | 501 |
504 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 502 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
505 /usr/lib/i386-linux-gnu/libssl.so | 503 /usr/lib/i386-linux-gnu/libssl.so |
506 else | 504 else |
507 echo "Skipping symbolic links for NaCl." | 505 echo "Skipping symbolic links for NaCl." |
508 fi | 506 fi |
OLD | NEW |