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 http://code.google.com/p/chromium/wiki/LinuxBuildInstructions | 8 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions |
9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit | 9 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 if [ "x$(id -u)" != x0 ] && [ 0 -eq "${do_quick_check-0}" ]; then | 87 if [ "x$(id -u)" != x0 ] && [ 0 -eq "${do_quick_check-0}" ]; then |
88 echo "Running as non-root user." | 88 echo "Running as non-root user." |
89 echo "You might have to enter your password one or more times for 'sudo'." | 89 echo "You might have to enter your password one or more times for 'sudo'." |
90 echo | 90 echo |
91 fi | 91 fi |
92 | 92 |
93 # Packages needed for chromeos only | 93 # Packages needed for chromeos only |
94 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev" | 94 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev" |
95 | 95 |
96 # Packages needed for development | 96 # Packages needed for development |
97 dev_list="apache2.2-bin bison curl dpkg-dev elfutils devscripts fakeroot flex | 97 dev_list="apache2.2-bin bison cdbs curl dpkg-dev elfutils devscripts fakeroot |
98 fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da | 98 flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da |
99 language-pack-fr language-pack-he language-pack-zh-hant | 99 language-pack-fr language-pack-he language-pack-zh-hant |
100 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools | 100 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools |
101 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev | 101 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev |
102 libdrm-dev libelf-dev libexif-dev libgconf2-dev libgl1-mesa-dev | 102 libdrm-dev libelf-dev libexif-dev libgconf2-dev libgl1-mesa-dev |
103 libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev | 103 libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev |
104 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libpci-dev | 104 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libpci-dev |
105 libpulse-dev libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev | 105 libpulse-dev libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev |
106 libudev-dev libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev | 106 libudev-dev libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev |
107 mesa-common-dev openbox patch perl php5-cgi pkg-config python | 107 mesa-common-dev openbox patch perl php5-cgi pkg-config python |
108 python-cherrypy3 python-dev python-psutil rpm ruby subversion | 108 python-cherrypy3 python-dev python-psutil rpm ruby subversion |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 echo "Installing symbolic links for NaCl." | 399 echo "Installing symbolic links for NaCl." |
400 if [ ! -r /usr/lib/i386-linux-gnu/libcrypto.so ]; then | 400 if [ ! -r /usr/lib/i386-linux-gnu/libcrypto.so ]; then |
401 sudo ln -fs libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so | 401 sudo ln -fs libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so |
402 fi | 402 fi |
403 if [ ! -r /usr/lib/i386-linux-gnu/libssl.so ]; then | 403 if [ ! -r /usr/lib/i386-linux-gnu/libssl.so ]; then |
404 sudo ln -fs libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so | 404 sudo ln -fs libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so |
405 fi | 405 fi |
406 else | 406 else |
407 echo "Skipping symbolic links for NaCl." | 407 echo "Skipping symbolic links for NaCl." |
408 fi | 408 fi |
OLD | NEW |