| 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 fi | 87 fi |
| 88 fi | 88 fi |
| 89 | 89 |
| 90 if [ "x$(id -u)" != x0 ] && [ 0 -eq "${do_quick_check-0}" ]; then | 90 if [ "x$(id -u)" != x0 ] && [ 0 -eq "${do_quick_check-0}" ]; then |
| 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" | 97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath" |
| 98 | 98 |
| 99 # Packages needed for development | 99 # Packages needed for development |
| 100 dev_list="apache2.2-bin bison cdbs curl dpkg-dev elfutils devscripts fakeroot | 100 dev_list="apache2.2-bin 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-thai-tlwg g++ git-core git-svn gperf language-pack-da |
| 102 language-pack-fr language-pack-he language-pack-zh-hant | 102 language-pack-fr language-pack-he language-pack-zh-hant |
| 103 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools | 103 libapache2-mod-php5 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 libexif-dev libgconf2-dev libglib2.0-dev | 105 libdrm-dev libelf-dev libexif-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 |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 452 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
| 453 # linking (libcrypto.so). | 453 # linking (libcrypto.so). |
| 454 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 454 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
| 455 /usr/lib/i386-linux-gnu/libcrypto.so | 455 /usr/lib/i386-linux-gnu/libcrypto.so |
| 456 | 456 |
| 457 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 457 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
| 458 /usr/lib/i386-linux-gnu/libssl.so | 458 /usr/lib/i386-linux-gnu/libssl.so |
| 459 else | 459 else |
| 460 echo "Skipping symbolic links for NaCl." | 460 echo "Skipping symbolic links for NaCl." |
| 461 fi | 461 fi |
| OLD | NEW |