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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 |
136 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg | 136 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg |
137 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg | 137 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg |
138 libxrender1-dbg libxtst6-dbg zlib1g-dbg" | 138 libxrender1-dbg libxtst6-dbg zlib1g-dbg" |
139 | 139 |
140 # Plugin lists needed for tests. | 140 # Plugin lists needed for tests. |
141 plugin_list="flashplugin-installer" | 141 plugin_list="flashplugin-installer python-psutil" |
Nico
2011/12/13 00:05:31
plugin_list seems wrong…does adding it to dev_list
DaleCurtis
2011/12/13 00:06:56
They all funnel into a apt-get install call below.
Nico
2011/12/13 00:10:35
It's also titled "Plugin list", and python modules
DaleCurtis
2011/12/13 00:12:42
Fair enough :) Done.
On 2011/12/13 00:10:35, Nico
| |
142 | 142 |
143 # Some NSS packages were renamed in Natty. | 143 # Some NSS packages were renamed in Natty. |
144 if egrep -q 'Ubuntu (10\.04|10\.10)' /etc/issue; then | 144 if egrep -q 'Ubuntu (10\.04|10\.10)' /etc/issue; then |
145 dbg_list="${dbg_list} libnspr4-0d-dbg libnss3-1d-dbg" | 145 dbg_list="${dbg_list} libnspr4-0d-dbg libnss3-1d-dbg" |
146 lib_list="${lib_list} libnspr4-0d libnss3-1d" | 146 lib_list="${lib_list} libnspr4-0d libnss3-1d" |
147 else | 147 else |
148 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" | 148 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" |
149 lib_list="${lib_list} libnspr4 libnss3" | 149 lib_list="${lib_list} libnspr4 libnss3" |
150 fi | 150 fi |
151 | 151 |
(...skipping 352 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 |