OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 | 2 |
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2011 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 echo "You might have to enter your password one or more times for 'sudo'." | 96 echo "You might have to enter your password one or more times for 'sudo'." |
97 echo | 97 echo |
98 fi | 98 fi |
99 | 99 |
100 # Packages needed for chromeos only | 100 # Packages needed for chromeos only |
101 chromeos_dev_list="libpulse-dev" | 101 chromeos_dev_list="libpulse-dev" |
102 | 102 |
103 # Packages need for development | 103 # Packages need for development |
104 dev_list="apache2.2-bin bison fakeroot flex g++ gperf language-pack-fr | 104 dev_list="apache2.2-bin bison fakeroot flex g++ gperf language-pack-fr |
105 libapache2-mod-php5 libasound2-dev libbz2-dev libcairo2-dev | 105 libapache2-mod-php5 libasound2-dev libbz2-dev libcairo2-dev |
106 libcups2-dev libdbus-glib-1-dev libgconf2-dev | 106 libcups2-dev libdbus-glib-1-dev libelf-dev libgconf2-dev |
107 libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgnome-keyring-dev | 107 libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgnome-keyring-dev |
108 libgtk2.0-dev libjpeg62-dev libkrb5-dev libnspr4-dev libnss3-dev | 108 libgtk2.0-dev libjpeg62-dev libkrb5-dev libnspr4-dev libnss3-dev |
109 libpam0g-dev libsctp-dev libsqlite3-dev libxslt1-dev libxss-dev | 109 libpam0g-dev libsctp-dev libsqlite3-dev libxslt1-dev libxss-dev |
110 libxtst-dev mesa-common-dev msttcorefonts patch perl libwww-perl | 110 libxtst-dev mesa-common-dev msttcorefonts patch perl libwww-perl |
111 php5-cgi pkg-config python python-dev rpm subversion ttf-dejavu-core | 111 php5-cgi pkg-config python python-dev rpm subversion ttf-dejavu-core |
112 ttf-kochi-gothic ttf-kochi-mincho wdiff libcurl4-gnutls-dev | 112 ttf-kochi-gothic ttf-kochi-mincho wdiff libcurl4-gnutls-dev |
113 ttf-indic-fonts ttf-thai-tlwg | 113 ttf-indic-fonts ttf-thai-tlwg |
114 $chromeos_dev_list" | 114 $chromeos_dev_list" |
115 | 115 |
116 # Run-time libraries required by chromeos only | 116 # Run-time libraries required by chromeos only |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 sed -e 's/[.]so[.][0-9].*/.so/' | | 456 sed -e 's/[.]so[.][0-9].*/.so/' | |
457 sort -u); do | 457 sort -u); do |
458 [ "x${i##*/}" = "xld-linux.so" ] && continue | 458 [ "x${i##*/}" = "xld-linux.so" ] && continue |
459 [ -r "$i" ] && continue | 459 [ -r "$i" ] && continue |
460 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 460 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
461 sort -n | tail -n 1)" | 461 sort -n | tail -n 1)" |
462 [ -r "$i.$j" ] || continue | 462 [ -r "$i.$j" ] || continue |
463 sudo ln -s "${i##*/}.$j" "$i" | 463 sudo ln -s "${i##*/}.$j" "$i" |
464 done | 464 done |
465 fi | 465 fi |
OLD | NEW |