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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 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 | 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" |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 sed -e 's/[.]so[.][0-9].*/.so/' | | 499 sed -e 's/[.]so[.][0-9].*/.so/' | |
500 sort -u); do | 500 sort -u); do |
501 [ "x${i##*/}" = "xld-linux.so" ] && continue | 501 [ "x${i##*/}" = "xld-linux.so" ] && continue |
502 [ -r "$i" ] && continue | 502 [ -r "$i" ] && continue |
503 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 503 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
504 sort -n | tail -n 1)" | 504 sort -n | tail -n 1)" |
505 [ -r "$i.$j" ] || continue | 505 [ -r "$i.$j" ] || continue |
506 sudo ln -s "${i##*/}.$j" "$i" | 506 sudo ln -s "${i##*/}.$j" "$i" |
507 done | 507 done |
508 fi | 508 fi |
OLD | NEW |