| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 echo | 149 echo |
| 150 fi | 150 fi |
| 151 | 151 |
| 152 # Packages need for development | 152 # Packages need for development |
| 153 dev_list="bison fakeroot flex g++ g++-multilib gperf libasound2-dev | 153 dev_list="bison fakeroot flex g++ g++-multilib gperf libasound2-dev |
| 154 libcairo2-dev libgconf2-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev | 154 libcairo2-dev libgconf2-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev |
| 155 libnss3-dev libsqlite3-dev lighttpd msttcorefonts patch perl php5-cgi | 155 libnss3-dev libsqlite3-dev lighttpd msttcorefonts patch perl php5-cgi |
| 156 pkg-config python rpm subversion wdiff" | 156 pkg-config python rpm subversion wdiff" |
| 157 | 157 |
| 158 # Full list of required run-time libraries | 158 # Full list of required run-time libraries |
| 159 lib_list="libatk1.0-0 libbz2-1.0 libc6 libasound2 libcairo2 libexpat1 | 159 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libexpat1 |
| 160 libfontconfig1 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d | 160 libfontconfig1 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d |
| 161 libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 | 161 libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 |
| 162 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 | 162 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 |
| 163 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 | 163 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 |
| 164 libxinerama1 libxrandr2 libxrender1 zlib1g" | 164 libxinerama1 libxrandr2 libxrender1 zlib1g" |
| 165 | 165 |
| 166 # Debugging symbols for all of the run-time libraries | 166 # Debugging symbols for all of the run-time libraries |
| 167 dbg_list="libatk1.0-dbg libbz2-dev libc6-dbg libcairo2-dbg libfontconfig1-dbg | 167 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg |
| 168 libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg libnss3-1d-dbg | 168 libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg libnss3-1d-dbg |
| 169 libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg libx11-6-dbg | 169 libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg libx11-6-dbg |
| 170 libxau6-dbg libxcb1-dbg libxcomposite1-dbg | 170 libxau6-dbg libxcb1-dbg libxcomposite1-dbg |
| 171 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg | 171 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg |
| 172 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg | 172 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg |
| 173 libxrender1-dbg zlib1g-dbg" | 173 libxrender1-dbg zlib1g-dbg" |
| 174 | 174 |
| 175 # Standard 32bit compatibility libraries | 175 # Standard 32bit compatibility libraries |
| 176 cmp_list="ia32-libs lib32asound2-dev lib32readline-dev lib32stdc++6 lib32z1 | 176 cmp_list="ia32-libs lib32asound2-dev lib32readline-dev lib32stdc++6 lib32z1 |
| 177 lib32z1-dev libc6-dev-i386 libc6-i386" | 177 lib32z1-dev libc6-dev-i386 libc6-i386" |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 sed -e 's/[.]so[.][0-9].*/.so/' | | 420 sed -e 's/[.]so[.][0-9].*/.so/' | |
| 421 sort -u); do | 421 sort -u); do |
| 422 [ "x${i##*/}" = "xld-linux.so" ] && continue | 422 [ "x${i##*/}" = "xld-linux.so" ] && continue |
| 423 [ -r "$i" ] && continue | 423 [ -r "$i" ] && continue |
| 424 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 424 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
| 425 sort -n | tail -n 1)" | 425 sort -n | tail -n 1)" |
| 426 [ -r "$i.$j" ] || continue | 426 [ -r "$i.$j" ] || continue |
| 427 sudo ln -s "${i##*/}.$j" "$i" | 427 sudo ln -s "${i##*/}.$j" "$i" |
| 428 done | 428 done |
| 429 fi | 429 fi |
| OLD | NEW |