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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev | 60 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev |
61 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev | 61 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev |
62 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev | 62 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev |
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 libc6-i386 lib32gcc1 |
70 $chromeos_dev_list" | 71 $chromeos_dev_list" |
71 | 72 |
72 # Run-time libraries required by chromeos only | 73 # Run-time libraries required by chromeos only |
73 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" | 74 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
74 | 75 |
75 # Full list of required run-time libraries | 76 # Full list of required run-time libraries |
76 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 | 77 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 |
77 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 | 78 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 |
78 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 | 79 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
79 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 | 80 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 sed -e 's/[.]so[.][0-9].*/.so/' | | 399 sed -e 's/[.]so[.][0-9].*/.so/' | |
399 sort -u); do | 400 sort -u); do |
400 [ "x${i##*/}" = "xld-linux.so" ] && continue | 401 [ "x${i##*/}" = "xld-linux.so" ] && continue |
401 [ -r "$i" ] && continue | 402 [ -r "$i" ] && continue |
402 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 403 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
403 sort -n | tail -n 1)" | 404 sort -n | tail -n 1)" |
404 [ -r "$i.$j" ] || continue | 405 [ -r "$i.$j" ] || continue |
405 sudo ln -s "${i##*/}.$j" "$i" | 406 sudo ln -s "${i##*/}.$j" "$i" |
406 done | 407 done |
407 fi | 408 fi |
OLD | NEW |