OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 | 2 |
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2011 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 # Packages needed for chromeos only | 101 # Packages needed for chromeos only |
102 chromeos_dev_list="libpulse-dev" | 102 chromeos_dev_list="libpulse-dev" |
103 | 103 |
104 # Packages need for development | 104 # Packages need for development |
105 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf | 105 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf |
106 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev | 106 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev |
107 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev | 107 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev |
108 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev | 108 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev |
109 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev | 109 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev |
110 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev | 110 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev |
111 libsqlite3-dev libssl-dev libwww-perl libxslt1-dev libxss-dev | 111 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev |
112 libxt-dev libxtst-dev mesa-common-dev msttcorefonts patch perl | 112 libxss-dev libxt-dev libxtst-dev mesa-common-dev msttcorefonts patch |
113 php5-cgi pkg-config python python-cherrypy3 python-dev python-psutil | 113 perl php5-cgi pkg-config python python-cherrypy3 python-dev |
114 rpm ruby subversion ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic | 114 python-psutil rpm ruby subversion ttf-dejavu-core ttf-indic-fonts |
115 ttf-kochi-mincho ttf-thai-tlwg wdiff | 115 ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg wdiff |
116 $chromeos_dev_list" | 116 $chromeos_dev_list" |
117 | 117 |
118 # Run-time libraries required by chromeos only | 118 # Run-time libraries required by chromeos only |
119 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" | 119 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
120 | 120 |
121 # Full list of required run-time libraries | 121 # Full list of required run-time libraries |
122 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 | 122 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 |
123 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 | 123 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 |
124 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 | 124 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
125 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 | 125 libpng12-0 libstdc++6 libsqlite3-0 libudev0 libx11-6 libxau6 libxcb1 |
126 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 | 126 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 |
127 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g | 127 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g |
128 $chromeos_lib_list" | 128 $chromeos_lib_list" |
129 | 129 |
130 # Debugging symbols for all of the run-time libraries | 130 # Debugging symbols for all of the run-time libraries |
131 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libdbus-glib-1-2-dbg | 131 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libdbus-glib-1-2-dbg |
132 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg | 132 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg |
133 libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg | 133 libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg |
134 libsqlite3-0-dbg | 134 libsqlite3-0-dbg |
135 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg | 135 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 sed -e 's/[.]so[.][0-9].*/.so/' | | 504 sed -e 's/[.]so[.][0-9].*/.so/' | |
505 sort -u); do | 505 sort -u); do |
506 [ "x${i##*/}" = "xld-linux.so" ] && continue | 506 [ "x${i##*/}" = "xld-linux.so" ] && continue |
507 [ -r "$i" ] && continue | 507 [ -r "$i" ] && continue |
508 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 508 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
509 sort -n | tail -n 1)" | 509 sort -n | tail -n 1)" |
510 [ -r "$i.$j" ] || continue | 510 [ -r "$i.$j" ] || continue |
511 sudo ln -s "${i##*/}.$j" "$i" | 511 sudo ln -s "${i##*/}.$j" "$i" |
512 done | 512 done |
513 fi | 513 fi |
OLD | NEW |