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

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

Issue 12613005: Adding libpulse-dev to build on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 fi 62 fi
63 fi 63 fi
64 64
65 if [ "x$(id -u)" != x0 ]; then 65 if [ "x$(id -u)" != x0 ]; then
66 echo "Running as non-root user." 66 echo "Running as non-root user."
67 echo "You might have to enter your password one or more times for 'sudo'." 67 echo "You might have to enter your password one or more times for 'sudo'."
68 echo 68 echo
69 fi 69 fi
70 70
71 # Packages needed for chromeos only 71 # Packages needed for chromeos only
72 chromeos_dev_list="libbluetooth-dev libpulse-dev" 72 chromeos_dev_list="libbluetooth-dev"
73 73
74 # Packages need for development 74 # Packages need for development
75 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf 75 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf
76 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev 76 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev
77 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libelf-dev 77 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libelf-dev
78 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev 78 libgconf2-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev
79 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev 79 libgnome-keyring-dev libgtk2.0-dev libkrb5-dev libnspr4-dev
80 libnss3-dev libpam0g-dev libpci-dev libsctp-dev libspeechd-dev 80 libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev
81 libsqlite3-dev libssl-dev libudev-dev libwww-perl libxslt1-dev 81 libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libwww-perl
82 libxss-dev libxt-dev libxtst-dev mesa-common-dev metacity patch perl 82 libxslt1-dev libxss-dev libxt-dev libxtst-dev mesa-common-dev
83 php5-cgi pkg-config python python-cherrypy3 python-dev python-psutil 83 metacity patch perl php5-cgi pkg-config python python-cherrypy3
84 rpm ruby subversion ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic 84 python-dev python-psutil rpm ruby subversion ttf-dejavu-core
85 ttf-kochi-mincho ttf-thai-tlwg wdiff git-core 85 ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho ttf-thai-tlwg
86 wdiff git-core
86 $chromeos_dev_list" 87 $chromeos_dev_list"
87 88
88 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built 89 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built
89 # NaCl binaries. These are always needed, regardless of whether or not we want 90 # NaCl binaries. These are always needed, regardless of whether or not we want
90 # the full 32-bit "cross-compile" support (--lib32). 91 # the full 32-bit "cross-compile" support (--lib32).
91 if [ "$(uname -m)" = "x86_64" ]; then 92 if [ "$(uname -m)" = "x86_64" ]; then
92 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" 93 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6"
93 fi 94 fi
94 95
95 # Run-time libraries required by chromeos only 96 # Run-time libraries required by chromeos only
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 sed -e 's/[.]so[.][0-9].*/.so/' | 462 sed -e 's/[.]so[.][0-9].*/.so/' |
462 sort -u); do 463 sort -u); do
463 [ "x${i##*/}" = "xld-linux.so" ] && continue 464 [ "x${i##*/}" = "xld-linux.so" ] && continue
464 [ -r "$i" ] && continue 465 [ -r "$i" ] && continue
465 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 466 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
466 sort -n | tail -n 1)" 467 sort -n | tail -n 1)"
467 [ -r "$i.$j" ] || continue 468 [ -r "$i.$j" ] || continue
468 sudo ln -s "${i##*/}.$j" "$i" 469 sudo ln -s "${i##*/}.$j" "$i"
469 done 470 done
470 fi 471 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