OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 | 2 |
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2009 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 fi | 148 fi |
149 | 149 |
150 # Packages needed for chromeos only | 150 # Packages needed for chromeos only |
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="apache2 bison fakeroot flex g++ gperf libapache2-mod-php5 | 154 dev_list="apache2 bison fakeroot flex g++ gperf libapache2-mod-php5 |
155 libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev | 155 libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev |
156 libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev | 156 libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev |
157 libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev libnspr4-dev | 157 libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev libnspr4-dev |
158 libnss3-dev libpam0g-dev libsqlite3-dev libxslt1-dev libxss-dev | 158 libnss3-dev libpam0g-dev libsctp-dev libsqlite3-dev libxslt1-dev |
159 libxtst-dev lighttpd mesa-common-dev msttcorefonts patch perl | 159 libxss-dev libxtst-dev lighttpd mesa-common-dev msttcorefonts patch |
160 php5-cgi pkg-config python python-dev rpm subversion ttf-dejavu-core | 160 perl php5-cgi pkg-config python python-dev rpm subversion |
161 ttf-kochi-gothic ttf-kochi-mincho wdiff libcurl4-gnutls-dev | 161 ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho wdiff |
| 162 libcurl4-gnutls-dev |
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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 sed -e 's/[.]so[.][0-9].*/.so/' | | 500 sed -e 's/[.]so[.][0-9].*/.so/' | |
500 sort -u); do | 501 sort -u); do |
501 [ "x${i##*/}" = "xld-linux.so" ] && continue | 502 [ "x${i##*/}" = "xld-linux.so" ] && continue |
502 [ -r "$i" ] && continue | 503 [ -r "$i" ] && continue |
503 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 504 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
504 sort -n | tail -n 1)" | 505 sort -n | tail -n 1)" |
505 [ -r "$i.$j" ] || continue | 506 [ -r "$i.$j" ] || continue |
506 sudo ln -s "${i##*/}.$j" "$i" | 507 sudo ln -s "${i##*/}.$j" "$i" |
507 done | 508 done |
508 fi | 509 fi |
OLD | NEW |