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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 # Full list of required run-time libraries | 168 # Full list of required run-time libraries |
169 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 | 169 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 |
170 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 | 170 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 |
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 # Include libsqlite3-0-dbg since libsoftokn3.so uses it. http://crbug.com/82894 | |
Timur Iskhodzhanov
2011/05/18 09:12:36
why do we need this comment if there are no commen
Lei Zhang
2011/05/18 09:27:47
Most of the other dbg packages correspond to a lib
wtc
2011/05/18 18:58:26
But that's not true. The lib_list above also has
Lei Zhang
2011/05/18 20:01:13
Whoops, don't know how I missed that. Removed.
| |
178 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg | 179 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg |
179 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg | 180 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 | 181 libnss3-1d-dbg libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg |
182 libsqlite3-0-dbg | |
181 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg | 183 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg |
182 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg | 184 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg |
183 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg | 185 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg |
184 libxrender1-dbg libxtst6-dbg zlib1g-dbg" | 186 libxrender1-dbg libxtst6-dbg zlib1g-dbg" |
wtc
2011/05/18 18:56:07
NSS also depends on zlib1g. It's good that we alr
| |
185 | 187 |
186 # CUPS package changed its name from hardy to the next version. Include | 188 # CUPS package changed its name from hardy to the next version. Include |
187 # proper package here depending on the system. | 189 # proper package here depending on the system. |
188 if egrep -q 'Ubuntu (8\.04|8\.10)' /etc/issue; then | 190 if egrep -q 'Ubuntu (8\.04|8\.10)' /etc/issue; then |
189 dev_list="${dev_list} libcupsys2-dev" | 191 dev_list="${dev_list} libcupsys2-dev" |
190 else | 192 else |
191 dev_list="${dev_list} libcups2-dev" | 193 dev_list="${dev_list} libcups2-dev" |
192 fi | 194 fi |
193 | 195 |
194 # apache2.2-bin package was introduced in karmic. | 196 # apache2.2-bin package was introduced in karmic. |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
507 sed -e 's/[.]so[.][0-9].*/.so/' | | 509 sed -e 's/[.]so[.][0-9].*/.so/' | |
508 sort -u); do | 510 sort -u); do |
509 [ "x${i##*/}" = "xld-linux.so" ] && continue | 511 [ "x${i##*/}" = "xld-linux.so" ] && continue |
510 [ -r "$i" ] && continue | 512 [ -r "$i" ] && continue |
511 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 513 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
512 sort -n | tail -n 1)" | 514 sort -n | tail -n 1)" |
513 [ -r "$i.$j" ] || continue | 515 [ -r "$i.$j" ] || continue |
514 sudo ln -s "${i##*/}.$j" "$i" | 516 sudo ln -s "${i##*/}.$j" "$i" |
515 done | 517 done |
516 fi | 518 fi |
OLD | NEW |