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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
91 echo "Running as non-root user." | 91 echo "Running as non-root user." |
92 echo "You might have to enter your password one or more times for 'sudo'." | 92 echo "You might have to enter your password one or more times for 'sudo'." |
93 echo | 93 echo |
94 fi | 94 fi |
95 | 95 |
96 # Packages needed for chromeos only | 96 # Packages needed for chromeos only |
97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath" | 97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath" |
98 | 98 |
99 # Packages needed for development | 99 # Packages needed for development |
100 dev_list="bison cdbs curl dpkg-dev elfutils devscripts fakeroot | 100 dev_list="bison cdbs curl dpkg-dev elfutils devscripts fakeroot |
101 flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da | 101 flex fonts-ipafont fonts-thai-tlwg g++ git-core git-svn gperf language -pack-da |
Daniel Erat
2016/11/15 20:06:53
nit: please reformat this to fit within 80 columns
Jack Bates
2016/11/15 20:14:37
Done.
| |
102 language-pack-fr language-pack-he language-pack-zh-hant | 102 language-pack-fr language-pack-he language-pack-zh-hant |
103 libasound2-dev libbrlapi-dev libav-tools | 103 libasound2-dev libbrlapi-dev libav-tools |
104 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev | 104 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev |
105 libdrm-dev libelf-dev libffi-dev libgconf2-dev libglib2.0-dev | 105 libdrm-dev libelf-dev libffi-dev libgconf2-dev libglib2.0-dev |
106 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev | 106 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev |
107 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev | 107 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev |
108 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev | 108 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev |
109 libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev openbox | 109 libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev openbox |
110 patch perl pkg-config python python-cherrypy3 python-crypto | 110 patch perl pkg-config python python-cherrypy3 python-crypto |
111 python-dev python-numpy python-opencv python-openssl python-psutil | 111 python-dev python-numpy python-opencv python-openssl python-psutil |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
250 if package_exists fonts-indic; then | 250 if package_exists fonts-indic; then |
251 dev_list="${dev_list} fonts-indic" | 251 dev_list="${dev_list} fonts-indic" |
252 else | 252 else |
253 dev_list="${dev_list} ttf-indic-fonts" | 253 dev_list="${dev_list} ttf-indic-fonts" |
254 fi | 254 fi |
255 if package_exists php7.0-cgi; then | 255 if package_exists php7.0-cgi; then |
256 dev_list="${dev_list} php7.0-cgi libapache2-mod-php7.0" | 256 dev_list="${dev_list} php7.0-cgi libapache2-mod-php7.0" |
257 else | 257 else |
258 dev_list="${dev_list} php5-cgi libapache2-mod-php5" | 258 dev_list="${dev_list} php5-cgi libapache2-mod-php5" |
259 fi | 259 fi |
260 # Ubuntu 16.04 has this package deleted. | |
261 if package_exists ttf-kochi-gothic; then | |
262 dev_list="${dev_list} ttf-kochi-gothic" | |
263 fi | |
264 # Ubuntu 16.04 has this package deleted. | |
265 if package_exists ttf-kochi-mincho; then | |
266 dev_list="${dev_list} ttf-kochi-mincho" | |
267 fi | |
268 | 260 |
269 # Some packages are only needed if the distribution actually supports | 261 # Some packages are only needed if the distribution actually supports |
270 # installing them. | 262 # installing them. |
271 if package_exists appmenu-gtk; then | 263 if package_exists appmenu-gtk; then |
272 lib_list="$lib_list appmenu-gtk" | 264 lib_list="$lib_list appmenu-gtk" |
273 fi | 265 fi |
274 | 266 |
275 # When cross building for arm/Android on 64-bit systems the host binaries | 267 # When cross building for arm/Android on 64-bit systems the host binaries |
276 # that are part of v8 need to be compiled with -m32 which means | 268 # that are part of v8 need to be compiled with -m32 which means |
277 # that basic multilib support is needed. | 269 # that basic multilib support is needed. |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
498 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 490 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
499 # linking (libcrypto.so). | 491 # linking (libcrypto.so). |
500 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 492 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
501 /usr/lib/i386-linux-gnu/libcrypto.so | 493 /usr/lib/i386-linux-gnu/libcrypto.so |
502 | 494 |
503 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 495 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
504 /usr/lib/i386-linux-gnu/libssl.so | 496 /usr/lib/i386-linux-gnu/libssl.so |
505 else | 497 else |
506 echo "Skipping symbolic links for NaCl." | 498 echo "Skipping symbolic links for NaCl." |
507 fi | 499 fi |
OLD | NEW |