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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev | 63 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev |
64 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev | 64 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev |
65 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev | 65 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev |
66 libxss-dev libxt-dev libxtst-dev mesa-common-dev patch | 66 libxss-dev libxt-dev libxtst-dev mesa-common-dev patch |
67 perl php5-cgi pkg-config python python-cherrypy3 python-dev | 67 perl php5-cgi pkg-config python python-cherrypy3 python-dev |
68 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts | 68 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts |
69 ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg wdiff git-core | 69 ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg wdiff git-core |
70 $chromeos_dev_list" | 70 $chromeos_dev_list" |
71 | 71 |
72 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built | 72 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built |
73 # NaCL binaries. These are always needed, regardless of whether or not we want | 73 # NaCl binaries. These are always needed, regardless of whether or not we want |
74 # the full 32-bit "cross-compile" support (--lib32). | 74 # the full 32-bit "cross-compile" support (--lib32). |
75 if [ "$(uname -m)" = "x86_64" ]; then | 75 if [ "$(uname -m)" = "x86_64" ]; then |
76 dev_list="${dev_list} libc6-i386 lib32gcc1" | 76 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" |
77 fi | 77 fi |
78 | 78 |
79 # Run-time libraries required by chromeos only | 79 # Run-time libraries required by chromeos only |
80 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" | 80 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
81 | 81 |
82 # Full list of required run-time libraries | 82 # Full list of required run-time libraries |
83 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 | 83 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 |
84 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 | 84 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 |
85 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 | 85 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
86 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 | 86 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 sed -e 's/[.]so[.][0-9].*/.so/' | | 405 sed -e 's/[.]so[.][0-9].*/.so/' | |
406 sort -u); do | 406 sort -u); do |
407 [ "x${i##*/}" = "xld-linux.so" ] && continue | 407 [ "x${i##*/}" = "xld-linux.so" ] && continue |
408 [ -r "$i" ] && continue | 408 [ -r "$i" ] && continue |
409 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 409 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
410 sort -n | tail -n 1)" | 410 sort -n | tail -n 1)" |
411 [ -r "$i.$j" ] || continue | 411 [ -r "$i.$j" ] || continue |
412 sudo ln -s "${i##*/}.$j" "$i" | 412 sudo ln -s "${i##*/}.$j" "$i" |
413 done | 413 done |
414 fi | 414 fi |
OLD | NEW |