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

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

Issue 160622: Add patch to the Linux build deps script. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 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 | no next file » | 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 install_gold() { 7 install_gold() {
8 # Gold is optional; it's a faster replacement for ld, 8 # Gold is optional; it's a faster replacement for ld,
9 # and makes life on 2GB machines much more pleasant. 9 # and makes life on 2GB machines much more pleasant.
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 if [ "x$(id -u)" != x0 ]; then 83 if [ "x$(id -u)" != x0 ]; then
84 echo "Running as non-root user." 84 echo "Running as non-root user."
85 echo "You might have to enter your password one or more times for 'sudo'." 85 echo "You might have to enter your password one or more times for 'sudo'."
86 echo 86 echo
87 fi 87 fi
88 88
89 # Packages need for development 89 # Packages need for development
90 dev_list="bison fakeroot flex g++ g++-multilib gperf libasound2-dev 90 dev_list="bison fakeroot flex g++ g++-multilib gperf libasound2-dev
91 libcairo2-dev libgconf2-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev 91 libcairo2-dev libgconf2-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev
92 libnss3-dev libsqlite3-dev lighttpd msttcorefonts perl php5-cgi 92 libnss3-dev libsqlite3-dev lighttpd msttcorefonts patch perl php5-cgi
93 pkg-config python subversion wdiff" 93 pkg-config python subversion wdiff"
94 94
95 # Full list of required run-time libraries 95 # Full list of required run-time libraries
96 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libexpat1 libfontconfig1 96 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libexpat1 libfontconfig1
97 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d libnss3-1d 97 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d libnss3-1d
98 libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 98 libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6
99 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 99 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1
100 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 100 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6
101 libxinerama1 libxrandr2 libxrender1 zlib1g" 101 libxinerama1 libxrandr2 libxrender1 zlib1g"
102 102
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 sed -e 's/[.]so[.][0-9].*/.so/' | 326 sed -e 's/[.]so[.][0-9].*/.so/' |
327 sort -u); do 327 sort -u); do
328 [ "x${i##*/}" = "xld-linux.so" ] && continue 328 [ "x${i##*/}" = "xld-linux.so" ] && continue
329 [ -r "$i" ] && continue 329 [ -r "$i" ] && continue
330 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 330 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
331 sort -n | tail -n 1)" 331 sort -n | tail -n 1)"
332 [ -r "$i.$j" ] || continue 332 [ -r "$i.$j" ] || continue
333 sudo ln -s "${i##*/}.$j" "$i" 333 sudo ln -s "${i##*/}.$j" "$i"
334 done 334 done
335 fi 335 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698