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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 language-pack-he language-pack-zh-hant libapache2-mod-php5 | 99 language-pack-he language-pack-zh-hant libapache2-mod-php5 |
100 libasound2-dev libbrlapi-dev libbz2-dev libcairo2-dev libcap-dev | 100 libasound2-dev libbrlapi-dev libbz2-dev libcairo2-dev libcap-dev |
101 libcups2-dev libcurl4-gnutls-dev libdrm-dev libelf-dev libexif-dev | 101 libcups2-dev libcurl4-gnutls-dev libdrm-dev libelf-dev libexif-dev |
102 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev | 102 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev |
103 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev | 103 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev |
104 libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev | 104 libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev |
105 libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libwww-perl | 105 libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libwww-perl |
106 libxslt1-dev libxss-dev libxt-dev libxtst-dev mesa-common-dev openbox | 106 libxslt1-dev libxss-dev libxt-dev libxtst-dev mesa-common-dev openbox |
107 patch perl php5-cgi pkg-config python python-cherrypy3 python-dev | 107 patch perl php5-cgi pkg-config python python-cherrypy3 python-dev |
108 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts | 108 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts |
109 ttf-kochi-gothic ttf-kochi-mincho wdiff xfonts-mathml | 109 ttf-kochi-gothic ttf-kochi-mincho wdiff x11proto-dri2-dev |
110 $chromeos_dev_list" | 110 xfonts-mathml $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. These are always needed, regardless of whether or not we want | 113 # NaCl binaries. These are always needed, regardless of whether or not we want |
114 # the full 32-bit "cross-compile" support (--lib32). | 114 # the full 32-bit "cross-compile" support (--lib32). |
115 if file /sbin/init | grep -q 'ELF 64-bit'; then | 115 if file /sbin/init | grep -q 'ELF 64-bit'; then |
116 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 116 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
117 fi | 117 fi |
118 | 118 |
119 # Run-time libraries required by chromeos only | 119 # Run-time libraries required by chromeos only |
120 chromeos_lib_list="libpulse0 libbz2-1.0" | 120 chromeos_lib_list="libpulse0 libbz2-1.0" |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 sed -e 's/[.]so[.][0-9].*/.so/' | | 584 sed -e 's/[.]so[.][0-9].*/.so/' | |
585 sort -u); do | 585 sort -u); do |
586 [ "x${i##*/}" = "xld-linux.so" ] && continue | 586 [ "x${i##*/}" = "xld-linux.so" ] && continue |
587 [ -r "$i" ] && continue | 587 [ -r "$i" ] && continue |
588 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 588 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
589 sort -n | tail -n 1)" | 589 sort -n | tail -n 1)" |
590 [ -r "$i.$j" ] || continue | 590 [ -r "$i.$j" ] || continue |
591 sudo ln -s "${i##*/}.$j" "$i" | 591 sudo ln -s "${i##*/}.$j" "$i" |
592 done | 592 done |
593 fi | 593 fi |
OLD | NEW |