| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 fi | 84 fi |
| 85 fi | 85 fi |
| 86 | 86 |
| 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" | 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 curl dpkg-dev elfutils devscripts fakeroot flex |
| 98 fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da | 98 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 |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 echo "Installing symbolic links for NaCl." | 397 echo "Installing symbolic links for NaCl." |
| 398 if [ ! -r /usr/lib/i386-linux-gnu/libcrypto.so ]; then | 398 if [ ! -r /usr/lib/i386-linux-gnu/libcrypto.so ]; then |
| 399 sudo ln -fs libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so | 399 sudo ln -fs libcrypto.so.0.9.8 /usr/lib/i386-linux-gnu/libcrypto.so |
| 400 fi | 400 fi |
| 401 if [ ! -r /usr/lib/i386-linux-gnu/libssl.so ]; then | 401 if [ ! -r /usr/lib/i386-linux-gnu/libssl.so ]; then |
| 402 sudo ln -fs libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so | 402 sudo ln -fs libssl.so.0.9.8 /usr/lib/i386-linux-gnu/libssl.so |
| 403 fi | 403 fi |
| 404 else | 404 else |
| 405 echo "Skipping symbolic links for NaCl." | 405 echo "Skipping symbolic links for NaCl." |
| 406 fi | 406 fi |
| OLD | NEW |