| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf | 55 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf |
| 56 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev | 56 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev |
| 57 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev | 57 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev |
| 58 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev | 58 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev |
| 59 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev | 59 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev |
| 60 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev | 60 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev |
| 61 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev | 61 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev |
| 62 libxss-dev libxt-dev libxtst-dev mesa-common-dev msttcorefonts patch | 62 libxss-dev libxt-dev libxtst-dev mesa-common-dev msttcorefonts patch |
| 63 perl php5-cgi pkg-config python python-cherrypy3 python-dev | 63 perl php5-cgi pkg-config python python-cherrypy3 python-dev |
| 64 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts | 64 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts |
| 65 ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg wdiff | 65 ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg wdiff git-core |
| 66 $chromeos_dev_list" | 66 $chromeos_dev_list" |
| 67 | 67 |
| 68 # Run-time libraries required by chromeos only | 68 # Run-time libraries required by chromeos only |
| 69 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" | 69 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
| 70 | 70 |
| 71 # Full list of required run-time libraries | 71 # Full list of required run-time libraries |
| 72 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 | 72 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 |
| 73 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 | 73 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 |
| 74 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 | 74 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
| 75 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 | 75 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 sed -e 's/[.]so[.][0-9].*/.so/' | | 378 sed -e 's/[.]so[.][0-9].*/.so/' | |
| 379 sort -u); do | 379 sort -u); do |
| 380 [ "x${i##*/}" = "xld-linux.so" ] && continue | 380 [ "x${i##*/}" = "xld-linux.so" ] && continue |
| 381 [ -r "$i" ] && continue | 381 [ -r "$i" ] && continue |
| 382 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 382 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
| 383 sort -n | tail -n 1)" | 383 sort -n | tail -n 1)" |
| 384 [ -r "$i.$j" ] || continue | 384 [ -r "$i.$j" ] || continue |
| 385 sudo ln -s "${i##*/}.$j" "$i" | 385 sudo ln -s "${i##*/}.$j" "$i" |
| 386 done | 386 done |
| 387 fi | 387 fi |
| OLD | NEW |