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 https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md | 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i
nstructions.md |
9 | 9 |
10 usage() { | 10 usage() { |
(...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 libasound2-dev libbrlapi-dev libav-tools | 103 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 libffi-dev libgconf2-dev libglib2.0-dev | 105 libdrm-dev libelf-dev libffi-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 pkg-config python python-cherrypy3 python-crypto | 110 patch perl 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 python-yaml rpm ruby subversion ttf-dejavu-core wdiff zip | 112 python-yaml rpm ruby subversion ttf-dejavu-core wdiff xcompmgr zip |
113 $chromeos_dev_list" | 113 $chromeos_dev_list" |
114 | 114 |
115 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built | 115 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built |
116 # NaCl binaries. | 116 # NaCl binaries. |
117 if file -L /sbin/init | grep -q 'ELF 64-bit'; then | 117 if file -L /sbin/init | grep -q 'ELF 64-bit'; then |
118 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 118 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
119 fi | 119 fi |
120 | 120 |
121 # Run-time libraries required by chromeos only | 121 # Run-time libraries required by chromeos only |
122 chromeos_lib_list="libpulse0 libbz2-1.0" | 122 chromeos_lib_list="libpulse0 libbz2-1.0" |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 # only contains libcrypto.so.1.0.0 and not the symlink needed for | 497 # only contains libcrypto.so.1.0.0 and not the symlink needed for |
498 # linking (libcrypto.so). | 498 # linking (libcrypto.so). |
499 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ | 499 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ |
500 /usr/lib/i386-linux-gnu/libcrypto.so | 500 /usr/lib/i386-linux-gnu/libcrypto.so |
501 | 501 |
502 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ | 502 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ |
503 /usr/lib/i386-linux-gnu/libssl.so | 503 /usr/lib/i386-linux-gnu/libssl.so |
504 else | 504 else |
505 echo "Skipping symbolic links for NaCl." | 505 echo "Skipping symbolic links for NaCl." |
506 fi | 506 fi |
OLD | NEW |