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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 echo "Running as non-root user." | 77 echo "Running as non-root user." |
78 echo "You might have to enter your password one or more times for 'sudo'." | 78 echo "You might have to enter your password one or more times for 'sudo'." |
79 echo | 79 echo |
80 fi | 80 fi |
81 | 81 |
82 # Packages needed for chromeos only | 82 # Packages needed for chromeos only |
83 chromeos_dev_list="libbluetooth-dev" | 83 chromeos_dev_list="libbluetooth-dev" |
84 | 84 |
85 # Packages needed for development | 85 # Packages needed for development |
86 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ git-core gperf | 86 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ git-core gperf |
87 language-pack-fr libapache2-mod-php5 libasound2-dev libbrlapi-dev | 87 language-pack-da language-pack-fr language-pack-he |
| 88 language-pack-zh-hant libapache2-mod-php5 libasound2-dev libbrlapi-dev |
88 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev | 89 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev |
89 libdrm-dev libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev | 90 libdrm-dev libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev |
90 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev | 91 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev |
91 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev | 92 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev |
92 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev | 93 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev |
93 libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev | 94 libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev |
94 mesa-common-dev openbox patch perl php5-cgi pkg-config python | 95 mesa-common-dev openbox patch perl php5-cgi pkg-config python |
95 python-cherrypy3 python-dev python-psutil rpm ruby subversion | 96 python-cherrypy3 python-dev python-psutil rpm ruby subversion |
96 ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho | 97 ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho |
97 ttf-thai-tlwg wdiff xfonts-mathml $chromeos_dev_list" | 98 ttf-thai-tlwg wdiff xfonts-mathml $chromeos_dev_list" |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 sed -e 's/[.]so[.][0-9].*/.so/' | | 567 sed -e 's/[.]so[.][0-9].*/.so/' | |
567 sort -u); do | 568 sort -u); do |
568 [ "x${i##*/}" = "xld-linux.so" ] && continue | 569 [ "x${i##*/}" = "xld-linux.so" ] && continue |
569 [ -r "$i" ] && continue | 570 [ -r "$i" ] && continue |
570 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 571 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
571 sort -n | tail -n 1)" | 572 sort -n | tail -n 1)" |
572 [ -r "$i.$j" ] || continue | 573 [ -r "$i.$j" ] || continue |
573 sudo ln -s "${i##*/}.$j" "$i" | 574 sudo ln -s "${i##*/}.$j" "$i" |
574 done | 575 done |
575 fi | 576 fi |
OLD | NEW |