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