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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
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 php5-cgi pkg-config python python-cherrypy3 python-crypto | 110 patch perl php5-cgi 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 |
112 rpm ruby subversion ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic | 112 python-yaml rpm ruby subversion ttf-dejavu-core ttf-indic-fonts |
113 ttf-kochi-mincho wdiff xfonts-mathml zip $chromeos_dev_list" | 113 ttf-kochi-gothic ttf-kochi-mincho wdiff xfonts-mathml zip |
| 114 $chromeos_dev_list" |
114 | 115 |
115 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built | 116 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built |
116 # NaCl binaries. | 117 # NaCl binaries. |
117 if file /sbin/init | grep -q 'ELF 64-bit'; then | 118 if file /sbin/init | grep -q 'ELF 64-bit'; then |
118 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 119 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
119 fi | 120 fi |
120 | 121 |
121 # Run-time libraries required by chromeos only | 122 # Run-time libraries required by chromeos only |
122 chromeos_lib_list="libpulse0 libbz2-1.0" | 123 chromeos_lib_list="libpulse0 libbz2-1.0" |
123 | 124 |
(...skipping 328 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 | 453 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
453 # linking (libcrypto.so). | 454 # linking (libcrypto.so). |
454 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 455 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
455 /usr/lib/i386-linux-gnu/libcrypto.so | 456 /usr/lib/i386-linux-gnu/libcrypto.so |
456 | 457 |
457 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 458 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
458 /usr/lib/i386-linux-gnu/libssl.so | 459 /usr/lib/i386-linux-gnu/libssl.so |
459 else | 460 else |
460 echo "Skipping symbolic links for NaCl." | 461 echo "Skipping symbolic links for NaCl." |
461 fi | 462 fi |
OLD | NEW |