OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 | 2 |
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2009 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 php5-cgi pkg-config python python-dev rpm subversion ttf-dejavu-core | 110 php5-cgi pkg-config python python-dev rpm subversion ttf-dejavu-core |
111 ttf-kochi-gothic ttf-kochi-mincho wdiff libcurl4-gnutls-dev | 111 ttf-kochi-gothic ttf-kochi-mincho wdiff libcurl4-gnutls-dev |
112 $chromeos_dev_list" | 112 $chromeos_dev_list" |
113 | 113 |
114 # Run-time libraries required by chromeos only | 114 # Run-time libraries required by chromeos only |
115 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" | 115 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" |
116 | 116 |
117 # Full list of required run-time libraries | 117 # Full list of required run-time libraries |
118 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 | 118 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 |
119 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 | 119 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 libgtk2.0-0 |
120 libnspr4-0d libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 | 120 libnspr4-0d libnss3-1d libpam0g libpango1.0-0 libpcre3 libpixman-1-0 |
| 121 libpng12-0 |
121 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 | 122 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 |
122 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 | 123 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 |
123 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g | 124 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g |
124 $chromeos_lib_list" | 125 $chromeos_lib_list" |
125 | 126 |
126 # Debugging symbols for all of the run-time libraries | 127 # Debugging symbols for all of the run-time libraries |
127 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg | 128 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg |
128 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg | 129 libfontconfig1-dbg libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg |
129 libnss3-1d-dbg libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg | 130 libnss3-1d-dbg libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg |
130 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg | 131 libx11-6-dbg libxau6-dbg libxcb1-dbg libxcomposite1-dbg |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 sed -e 's/[.]so[.][0-9].*/.so/' | | 450 sed -e 's/[.]so[.][0-9].*/.so/' | |
450 sort -u); do | 451 sort -u); do |
451 [ "x${i##*/}" = "xld-linux.so" ] && continue | 452 [ "x${i##*/}" = "xld-linux.so" ] && continue |
452 [ -r "$i" ] && continue | 453 [ -r "$i" ] && continue |
453 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 454 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
454 sort -n | tail -n 1)" | 455 sort -n | tail -n 1)" |
455 [ -r "$i.$j" ] || continue | 456 [ -r "$i.$j" ] || continue |
456 sudo ln -s "${i##*/}.$j" "$i" | 457 sudo ln -s "${i##*/}.$j" "$i" |
457 done | 458 done |
458 fi | 459 fi |
OLD | NEW |