Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: build/install-build-deps.sh

Issue 60009: ProxyConfigService for Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Script to install everything needed to build chromium (well, ideally, anyway) 3 # Script to install everything needed to build chromium (well, ideally, anyway)
4 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions 4 # See http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
5 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit 5 # and http://code.google.com/p/chromium/wiki/LinuxBuild64Bit
6 6
7 if ! egrep -q "Ubuntu 8.04|Ubuntu 8.10" /etc/issue; then 7 if ! egrep -q "Ubuntu 8.04|Ubuntu 8.10" /etc/issue; then
8 echo "Only Ubuntu 8.04 and 8.10 are currently supported" >&2 8 echo "Only Ubuntu 8.04 and 8.10 are currently supported" >&2
9 exit 1 9 exit 1
10 fi 10 fi
11 11
12 if ! uname -m | egrep -q "i686|x86_64"; then 12 if ! uname -m | egrep -q "i686|x86_64"; then
13 echo "Only x86 architectures are currently supported" >&2 13 echo "Only x86 architectures are currently supported" >&2
14 exit 14 exit
15 fi 15 fi
16 16
17 if [ "x$(id -u)" != x0 ]; then 17 if [ "x$(id -u)" != x0 ]; then
18 echo "Running as non-root user." 18 echo "Running as non-root user."
19 echo "You might have to enter your password one or more times for 'sudo'." 19 echo "You might have to enter your password one or more times for 'sudo'."
20 echo 20 echo
21 fi 21 fi
22 22
23 # Packages need for development 23 # Packages need for development
24 dev_list="subversion pkg-config python perl g++ g++-multilib bison flex gperf 24 dev_list="subversion pkg-config python perl g++ g++-multilib bison flex gperf
25 libnss3-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev libsqlite3-dev 25 libnss3-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev libsqlite3-dev
26 wdiff lighttpd php5-cgi msttcorefonts sun-java6-fonts" 26 wdiff lighttpd php5-cgi msttcorefonts sun-java6-fonts libgconf2-dev"
27 27
28 # Full list of required run-time libraries 28 # Full list of required run-time libraries
29 lib_list="libatk1.0-0 libc6 libcairo2 libexpat1 libfontconfig1 libfreetype6 29 lib_list="libatk1.0-0 libc6 libcairo2 libexpat1 libfontconfig1 libfreetype6
30 libglib2.0-0 libgtk2.0-0 libnspr4-0d libnss3-1d libpango1.0-0 30 libglib2.0-0 libgtk2.0-0 libnspr4-0d libnss3-1d libpango1.0-0
31 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 31 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 libsqlite3-0 libx11-6
32 libxau6 libxcb-xlib0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 32 libxau6 libxcb-xlib0 libxcb1 libxcomposite1 libxcursor1 libxdamage1
33 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 33 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2
34 libxrender1 zlib1g" 34 libxrender1 zlib1g"
35 35
36 # Debugging symbols for all of the run-time libraries 36 # Debugging symbols for all of the run-time libraries
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 sed -e 's/[.]so[.][0-9].*/.so/' | 238 sed -e 's/[.]so[.][0-9].*/.so/' |
239 sort -u); do 239 sort -u); do
240 [ "x${i##*/}" = "xld-linux.so" ] && continue 240 [ "x${i##*/}" = "xld-linux.so" ] && continue
241 [ -r "$i" ] && continue 241 [ -r "$i" ] && continue
242 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 242 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
243 sort -n | tail -n 1)" 243 sort -n | tail -n 1)"
244 [ -r "$i.$j" ] || continue 244 [ -r "$i.$j" ] || continue
245 sudo ln -s "${i##*/}.$j" "$i" 245 sudo ln -s "${i##*/}.$j" "$i"
246 done 246 done
247 fi 247 fi
OLDNEW
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698