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

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

Issue 115275: Add alsa into the dependencies. (Closed)
Patch Set: Created 11 years, 7 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
« 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 if ! egrep -q "Ubuntu 8.04|Ubuntu 8.10|Ubuntu 9.04" /etc/issue; then 7 if ! egrep -q "Ubuntu 8.04|Ubuntu 8.10|Ubuntu 9.04" /etc/issue; then
8 echo "Only Ubuntu 8.04, 8.10, and 9.04 are currently supported" >&2 8 echo "Only Ubuntu 8.04, 8.10, and 9.04 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="bison fakeroot flex g++ g++-multilib gperf libcairo2-dev libgconf2-dev 24 dev_list="bison fakeroot flex g++ g++-multilib gperf libasound2-dev
25 libglib2.0-dev libgtk2.0-dev libnspr4-dev libnss3-dev 25 libcairo2-dev libgconf2-dev libglib2.0-dev libgtk2.0-dev libnspr4-dev
26 libsqlite3-dev lighttpd msttcorefonts perl php5-cgi 26 libnss3-dev libsqlite3-dev lighttpd msttcorefonts perl php5-cgi
27 pkg-config python subversion sun-java6-fonts wdiff" 27 pkg-config python subversion sun-java6-fonts wdiff"
28 28
29 # Full list of required run-time libraries 29 # Full list of required run-time libraries
30 lib_list="libatk1.0-0 libc6 libcairo2 libexpat1 libfontconfig1 libfreetype6 30 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libexpat1 libfontconfig1
31 libglib2.0-0 libgtk2.0-0 libnspr4-0d libnss3-1d libpango1.0-0 31 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d libnss3-1d
32 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 32 libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6
33 libxau6 libxcb-xlib0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 33 libsqlite3-0 libx11-6 libxau6 libxcb-xlib0 libxcb1 libxcomposite1
34 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 34 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6
35 libxrender1 zlib1g" 35 libxinerama1 libxrandr2 libxrender1 zlib1g"
36 36
37 # Debugging symbols for all of the run-time libraries 37 # Debugging symbols for all of the run-time libraries
38 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg 38 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libfontconfig1-dbg
39 libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg libnss3-1d-dbg 39 libglib2.0-0-dbg libgtk2.0-0-dbg libnspr4-0d-dbg libnss3-1d-dbg
40 libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg libx11-6-dbg 40 libpango1.0-0-dbg libpcre3-dbg libpixman-1-0-dbg libx11-6-dbg
41 libxau6-dbg libxcb-xlib0-dbg libxcb1-dbg libxcomposite1-dbg 41 libxau6-dbg libxcb-xlib0-dbg libxcb1-dbg libxcomposite1-dbg
42 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg 42 libxcursor1-dbg libxdamage1-dbg libxdmcp6-dbg libxext6-dbg
43 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg 43 libxfixes3-dbg libxi6-dbg libxinerama1-dbg libxrandr2-dbg
44 libxrender1-dbg zlib1g-dbg" 44 libxrender1-dbg zlib1g-dbg"
45 45
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 sed -e 's/[.]so[.][0-9].*/.so/' | 239 sed -e 's/[.]so[.][0-9].*/.so/' |
240 sort -u); do 240 sort -u); do
241 [ "x${i##*/}" = "xld-linux.so" ] && continue 241 [ "x${i##*/}" = "xld-linux.so" ] && continue
242 [ -r "$i" ] && continue 242 [ -r "$i" ] && continue
243 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 243 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
244 sort -n | tail -n 1)" 244 sort -n | tail -n 1)"
245 [ -r "$i.$j" ] || continue 245 [ -r "$i.$j" ] || continue
246 sudo ln -s "${i##*/}.$j" "$i" 246 sudo ln -s "${i##*/}.$j" "$i"
247 done 247 done
248 fi 248 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