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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 chromeos_dev_list="libpulse-dev" | 151 chromeos_dev_list="libpulse-dev" |
152 | 152 |
153 # Packages need for development | 153 # Packages need for development |
154 dev_list="bison fakeroot flex g++ gperf libapache2-mod-php5 libasound2-dev | 154 dev_list="bison fakeroot flex g++ gperf libapache2-mod-php5 libasound2-dev |
155 libbz2-dev libcairo2-dev libdbus-glib-1-dev libgconf2-dev | 155 libbz2-dev libcairo2-dev libdbus-glib-1-dev libgconf2-dev |
156 libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgnome-keyring-dev | 156 libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgnome-keyring-dev |
157 libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev | 157 libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev |
158 libsctp-dev libsqlite3-dev libxslt1-dev libxss-dev libxtst-dev | 158 libsctp-dev libsqlite3-dev libxslt1-dev libxss-dev libxtst-dev |
159 mesa-common-dev msttcorefonts patch perl php5-cgi pkg-config python | 159 mesa-common-dev msttcorefonts patch perl php5-cgi pkg-config python |
160 python-dev rpm subversion ttf-dejavu-core ttf-kochi-gothic | 160 python-dev rpm subversion ttf-dejavu-core ttf-kochi-gothic |
161 ttf-kochi-mincho wdiff libcurl4-gnutls-dev | 161 ttf-kochi-mincho wdiff libcurl4-gnutls-dev ttf-indic-fonts |
| 162 ttf-thai-tlwg |
162 $chromeos_dev_list" | 163 $chromeos_dev_list" |
163 | 164 |
164 # Run-time libraries required by chromeos only | 165 # Run-time libraries required by chromeos only |
165 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" | 166 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
166 | 167 |
167 # Full list of required run-time libraries | 168 # Full list of required run-time libraries |
168 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 | 169 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 |
169 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 | 170 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 |
170 libnspr4-0d libnss3-1d libpam0g libpango1.0-0 libpcre3 libpixman-1-0 | 171 libnspr4-0d libnss3-1d libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
171 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 | 172 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 sed -e 's/[.]so[.][0-9].*/.so/' | | 507 sed -e 's/[.]so[.][0-9].*/.so/' | |
507 sort -u); do | 508 sort -u); do |
508 [ "x${i##*/}" = "xld-linux.so" ] && continue | 509 [ "x${i##*/}" = "xld-linux.so" ] && continue |
509 [ -r "$i" ] && continue | 510 [ -r "$i" ] && continue |
510 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 511 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
511 sort -n | tail -n 1)" | 512 sort -n | tail -n 1)" |
512 [ -r "$i.$j" ] || continue | 513 [ -r "$i.$j" ] || continue |
513 sudo ln -s "${i##*/}.$j" "$i" | 514 sudo ln -s "${i##*/}.$j" "$i" |
514 done | 515 done |
515 fi | 516 fi |
OLD | NEW |