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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 echo | 133 echo |
134 fi | 134 fi |
135 | 135 |
136 # Packages need for development | 136 # Packages need for development |
137 dev_list="apache2 bison fakeroot flex g++ gperf libapache2-mod-php5 | 137 dev_list="apache2 bison fakeroot flex g++ gperf libapache2-mod-php5 |
138 libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev | 138 libasound2-dev libbz2-dev libcairo2-dev libdbus-glib-1-dev |
139 libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev | 139 libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev |
140 libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev | 140 libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev |
141 libsqlite3-dev libxslt1-dev libxss-dev lighttpd mesa-common-dev | 141 libsqlite3-dev libxslt1-dev libxss-dev lighttpd mesa-common-dev |
142 msttcorefonts patch perl php5-cgi pkg-config python python-dev rpm | 142 msttcorefonts patch perl php5-cgi pkg-config python python-dev rpm |
143 subversion ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho wdiff" | 143 subversion ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho wdiff |
| 144 libcurl4-gnutls-dev" |
144 | 145 |
145 # Full list of required run-time libraries | 146 # Full list of required run-time libraries |
146 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 | 147 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libdbus-glib-1-2 libexpat1 |
147 libfontconfig1 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d | 148 libfontconfig1 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d |
148 libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 | 149 libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 |
149 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 | 150 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 |
150 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 | 151 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 |
151 libxinerama1 libxrandr2 libxrender1 zlib1g" | 152 libxinerama1 libxrandr2 libxrender1 zlib1g" |
152 | 153 |
153 # Debugging symbols for all of the run-time libraries | 154 # Debugging symbols for all of the run-time libraries |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 sed -e 's/[.]so[.][0-9].*/.so/' | | 442 sed -e 's/[.]so[.][0-9].*/.so/' | |
442 sort -u); do | 443 sort -u); do |
443 [ "x${i##*/}" = "xld-linux.so" ] && continue | 444 [ "x${i##*/}" = "xld-linux.so" ] && continue |
444 [ -r "$i" ] && continue | 445 [ -r "$i" ] && continue |
445 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | | 446 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | |
446 sort -n | tail -n 1)" | 447 sort -n | tail -n 1)" |
447 [ -r "$i.$j" ] || continue | 448 [ -r "$i.$j" ] || continue |
448 sudo ln -s "${i##*/}.$j" "$i" | 449 sudo ln -s "${i##*/}.$j" "$i" |
449 done | 450 done |
450 fi | 451 fi |
OLD | NEW |