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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 libnspr4-0d libnss3-1d libpam0g libpango1.0-0 libpcre3 libpixman-1-0 | 171 libnspr4-0d libnss3-1d libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
172 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 | 172 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 |
173 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 | 173 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 |
174 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g | 174 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g |
175 $chromeos_lib_list" | 175 $chromeos_lib_list" |
176 | 176 |
177 # Debugging symbols for all of the run-time libraries | 177 # Debugging symbols for all of the run-time libraries |
178 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg | 178 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg |
179 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg | 179 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg |
180 libnss3-1d-dbg libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg | 180 libnss3-1d-dbg libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg |
| 181 libsqlite3-0-dbg |
181 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg | 182 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg |
182 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg | 183 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg |
183 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg | 184 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg |
184 libxrender1-dbg libxtst6-dbg zlib1g-dbg" | 185 libxrender1-dbg libxtst6-dbg zlib1g-dbg" |
185 | 186 |
186 # CUPS package changed its name from hardy to the next version. Include | 187 # CUPS package changed its name from hardy to the next version. Include |
187 # proper package here depending on the system. | 188 # proper package here depending on the system. |
188 if egrep -q 'Ubuntu (8\.04|8\.10)' /etc/issue; then | 189 if egrep -q 'Ubuntu (8\.04|8\.10)' /etc/issue; then |
189 dev_list="${dev_list} libcupsys2-dev" | 190 dev_list="${dev_list} libcupsys2-dev" |
190 else | 191 else |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 sed -e 's/[.]so[.][0-9].*/.so/' | | 508 sed -e 's/[.]so[.][0-9].*/.so/' | |
508 sort -u); do | 509 sort -u); do |
509 [ "x${i##*/}" = "xld-linux.so" ] && continue | 510 [ "x${i##*/}" = "xld-linux.so" ] && continue |
510 [ -r "$i" ] && continue | 511 [ -r "$i" ] && continue |
511 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 512 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
512 sort -n | tail -n 1)" | 513 sort -n | tail -n 1)" |
513 [ -r "$i.$j" ] || continue | 514 [ -r "$i.$j" ] || continue |
514 sudo ln -s "${i##*/}.$j" "$i" | 515 sudo ln -s "${i##*/}.$j" "$i" |
515 done | 516 done |
516 fi | 517 fi |
OLD | NEW |