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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 # Packages need for development | 80 # Packages need for development |
81 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf | 81 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf |
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 metacity 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 |
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" |
(...skipping 412 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 |