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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
145 # Packages to build NaCl, its toolchains, and its ports. | 145 # Packages to build NaCl, its toolchains, and its ports. |
146 nacl_list="bison cmake xvfb gawk texinfo autoconf libtool | 146 nacl_list="bison cmake xvfb gawk texinfo autoconf libtool |
147 libssl0.9.8:i386 lib32z1-dev | 147 libssl0.9.8:i386 lib32z1-dev |
148 libgpm2:i386 libncurses5:i386 | 148 libgpm2:i386 libncurses5:i386 |
149 g++-mingw-w64-i686 libtinfo-dev libtinfo-dev:i386 | 149 g++-mingw-w64-i686 libtinfo-dev libtinfo-dev:i386 |
150 libglib2.0-0:i386 libnss3:i386 | 150 libglib2.0-0:i386 libnss3:i386 |
151 libgconf-2-4:i386 libfontconfig1:i386 | 151 libgconf-2-4:i386 libfontconfig1:i386 |
152 libpango1.0-0:i386 libxi6:i386 libxcursor1:i386 libxcomposite1:i386 | 152 libpango1.0-0:i386 libxi6:i386 libxcursor1:i386 libxcomposite1:i386 |
153 libasound2:i386 libxdamage1:i386 libxtst6:i386 libxrandr2:i386 | 153 libasound2:i386 libxdamage1:i386 libxtst6:i386 libxrandr2:i386 |
154 libcap2:i386 libgtk2.0-0:i386 libxss1:i386 | 154 libcap2:i386 libgtk2.0-0:i386 libxss1:i386 |
155 libexif12:i386 libgl1-mesa-glx:i386" | 155 libexif12:i386 libgl1-mesa-glx:i386 libelf-dev:i386" |
Lei Zhang
2014/06/18 21:23:45
if you can sort this list, that would be extra nic
Nico
2014/06/18 21:29:28
I'll land this and then do a follow-up that does n
| |
156 | 156 |
157 # Some package names have changed over time | 157 # Some package names have changed over time |
158 if package_exists ttf-mscorefonts-installer; then | 158 if package_exists ttf-mscorefonts-installer; then |
159 dev_list="${dev_list} ttf-mscorefonts-installer" | 159 dev_list="${dev_list} ttf-mscorefonts-installer" |
160 else | 160 else |
161 dev_list="${dev_list} msttcorefonts" | 161 dev_list="${dev_list} msttcorefonts" |
162 fi | 162 fi |
163 if package_exists libnspr4-dbg; then | 163 if package_exists libnspr4-dbg; then |
164 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" | 164 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" |
165 lib_list="${lib_list} libnspr4 libnss3" | 165 lib_list="${lib_list} libnspr4 libnss3" |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
599 sed -e 's/[.]so[.][0-9].*/.so/' | | 599 sed -e 's/[.]so[.][0-9].*/.so/' | |
600 sort -u); do | 600 sort -u); do |
601 [ "x${i##*/}" = "xld-linux.so" ] && continue | 601 [ "x${i##*/}" = "xld-linux.so" ] && continue |
602 [ -r "$i" ] && continue | 602 [ -r "$i" ] && continue |
603 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 603 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
604 sort -n | tail -n 1)" | 604 sort -n | tail -n 1)" |
605 [ -r "$i.$j" ] || continue | 605 [ -r "$i.$j" ] || continue |
606 sudo ln -s "${i##*/}.$j" "$i" | 606 sudo ln -s "${i##*/}.$j" "$i" |
607 done | 607 done |
608 fi | 608 fi |
OLD | NEW |