| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 chromeos_dev_list="libbluetooth-dev libpulse-dev" | 68 chromeos_dev_list="libbluetooth-dev libpulse-dev" |
| 69 | 69 |
| 70 # Packages need for development | 70 # Packages need for development |
| 71 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf | 71 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf |
| 72 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev | 72 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev |
| 73 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libelf-dev | 73 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libelf-dev |
| 74 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev | 74 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev |
| 75 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev | 75 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev |
| 76 libnss3-dev libpam0g-dev libpci-dev libsctp-dev libspeechd-dev | 76 libnss3-dev libpam0g-dev libpci-dev libsctp-dev libspeechd-dev |
| 77 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev | 77 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev |
| 78 libxss-dev libxt-dev libxtst-dev mesa-common-dev patch perl php5-cgi | 78 libxss-dev libxt-dev libxtst-dev mesa-common-dev metacity patch perl |
| 79 pkg-config python python-cherrypy3 python-dev python-psutil rpm ruby | 79 php5-cgi pkg-config python python-cherrypy3 python-dev python-psutil |
| 80 subversion ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic | 80 rpm ruby subversion ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic |
| 81 ttf-kochi-mincho ttf-thai-tlwg wdiff git-core | 81 ttf-kochi-mincho ttf-thai-tlwg wdiff git-core |
| 82 $chromeos_dev_list" | 82 $chromeos_dev_list" |
| 83 | 83 |
| 84 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built | 84 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built |
| 85 # NaCl binaries. These are always needed, regardless of whether or not we want | 85 # NaCl binaries. These are always needed, regardless of whether or not we want |
| 86 # the full 32-bit "cross-compile" support (--lib32). | 86 # the full 32-bit "cross-compile" support (--lib32). |
| 87 if [ "$(uname -m)" = "x86_64" ]; then | 87 if [ "$(uname -m)" = "x86_64" ]; then |
| 88 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 88 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
| 89 fi | 89 fi |
| 90 | 90 |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 sed -e 's/[.]so[.][0-9].*/.so/' | | 450 sed -e 's/[.]so[.][0-9].*/.so/' | |
| 451 sort -u); do | 451 sort -u); do |
| 452 [ "x${i##*/}" = "xld-linux.so" ] && continue | 452 [ "x${i##*/}" = "xld-linux.so" ] && continue |
| 453 [ -r "$i" ] && continue | 453 [ -r "$i" ] && continue |
| 454 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 454 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
| 455 sort -n | tail -n 1)" | 455 sort -n | tail -n 1)" |
| 456 [ -r "$i.$j" ] || continue | 456 [ -r "$i.$j" ] || continue |
| 457 sudo ln -s "${i##*/}.$j" "$i" | 457 sudo ln -s "${i##*/}.$j" "$i" |
| 458 done | 458 done |
| 459 fi | 459 fi |
| OLD | NEW |