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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" |
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 gperf language-pack-da language-pack-fr | 98 fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da |
99 language-pack-he language-pack-zh-hant libapache2-mod-php5 | 99 language-pack-fr language-pack-he language-pack-zh-hant |
100 libasound2-dev libbrlapi-dev libav-tools libbz2-dev libcairo2-dev | 100 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools |
101 libcap-dev libcups2-dev libcurl4-gnutls-dev libdrm-dev libelf-dev | 101 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev |
102 libexif-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev | 102 libdrm-dev libelf-dev libexif-dev libgconf2-dev libgl1-mesa-dev |
103 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev | 103 libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev |
104 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev | 104 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libpci-dev |
105 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev | 105 libpulse-dev libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev |
106 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 |
109 ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho | 109 ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho |
110 wdiff xfonts-mathml zip $chromeos_dev_list" | 110 wdiff xfonts-mathml zip $chromeos_dev_list" |
111 | 111 |
112 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built | 112 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built |
113 # NaCl binaries. | 113 # NaCl binaries. |
114 if file /sbin/init | grep -q 'ELF 64-bit'; then | 114 if file /sbin/init | grep -q 'ELF 64-bit'; then |
115 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 115 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
116 fi | 116 fi |
(...skipping 280 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 |