| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 language-pack-fr libapache2-mod-php5 libasound2-dev libbrlapi-dev | 82 language-pack-fr libapache2-mod-php5 libasound2-dev libbrlapi-dev |
| 83 libbz2-dev libcairo2-dev libcups2-dev libcurl4-gnutls-dev libelf-dev | 83 libbz2-dev libcairo2-dev libcups2-dev libcurl4-gnutls-dev libelf-dev |
| 84 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev | 84 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev |
| 85 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev | 85 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev |
| 86 libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev | 86 libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev |
| 87 libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libwww-perl | 87 libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libwww-perl |
| 88 libxslt1-dev libxss-dev libxt-dev libxtst-dev mesa-common-dev | 88 libxslt1-dev libxss-dev libxt-dev libxtst-dev mesa-common-dev |
| 89 openbox patch perl php5-cgi pkg-config python python-cherrypy3 | 89 openbox patch perl php5-cgi pkg-config python python-cherrypy3 |
| 90 python-dev python-psutil rpm ruby subversion ttf-dejavu-core | 90 python-dev python-psutil rpm ruby subversion ttf-dejavu-core |
| 91 ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg | 91 ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg |
| 92 wdiff git-core | 92 wdiff git-core libdrm-dev |
| 93 $chromeos_dev_list" | 93 $chromeos_dev_list" |
| 94 | 94 |
| 95 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built | 95 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built |
| 96 # NaCl binaries. These are always needed, regardless of whether or not we want | 96 # NaCl binaries. These are always needed, regardless of whether or not we want |
| 97 # the full 32-bit "cross-compile" support (--lib32). | 97 # the full 32-bit "cross-compile" support (--lib32). |
| 98 if [ "$(uname -m)" = "x86_64" ]; then | 98 if [ "$(uname -m)" = "x86_64" ]; then |
| 99 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" | 99 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
| 100 fi | 100 fi |
| 101 | 101 |
| 102 # Run-time libraries required by chromeos only | 102 # Run-time libraries required by chromeos only |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 sed -e 's/[.]so[.][0-9].*/.so/' | | 512 sed -e 's/[.]so[.][0-9].*/.so/' | |
| 513 sort -u); do | 513 sort -u); do |
| 514 [ "x${i##*/}" = "xld-linux.so" ] && continue | 514 [ "x${i##*/}" = "xld-linux.so" ] && continue |
| 515 [ -r "$i" ] && continue | 515 [ -r "$i" ] && continue |
| 516 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 516 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
| 517 sort -n | tail -n 1)" | 517 sort -n | tail -n 1)" |
| 518 [ -r "$i.$j" ] || continue | 518 [ -r "$i.$j" ] || continue |
| 519 sudo ln -s "${i##*/}.$j" "$i" | 519 sudo ln -s "${i##*/}.$j" "$i" |
| 520 done | 520 done |
| 521 fi | 521 fi |
| OLD | NEW |