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

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

Issue 8919026: Remove psutil from tree, install via install-build-deps.sh (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sort package list. Created 9 years 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 | third_party/psutil/CREDITS » ('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 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 if [ "x$(id -u)" != x0 ]; then 95 if [ "x$(id -u)" != x0 ]; then
96 echo "Running as non-root user." 96 echo "Running as non-root user."
97 echo "You might have to enter your password one or more times for 'sudo'." 97 echo "You might have to enter your password one or more times for 'sudo'."
98 echo 98 echo
99 fi 99 fi
100 100
101 # Packages needed for chromeos only 101 # Packages needed for chromeos only
102 chromeos_dev_list="libpulse-dev" 102 chromeos_dev_list="libpulse-dev"
103 103
104 # Packages need for development 104 # Packages need for development
105 dev_list="apache2.2-bin bison curl elfutils 105 dev_list="apache2.2-bin bison curl elfutils fakeroot flex g++ gperf
106 fakeroot flex g++ gperf language-pack-fr 106 language-pack-fr libapache2-mod-php5 libasound2-dev libbz2-dev
107 libapache2-mod-php5 libasound2-dev libbz2-dev libcairo2-dev 107 libcairo2-dev libcups2-dev libcurl4-gnutls-dev libdbus-glib-1-dev
108 libcups2-dev libdbus-glib-1-dev libelf-dev libgconf2-dev 108 libelf-dev libgconf2-dev libgl1-mesa-dev libglib2.0-dev
109 libgl1-mesa-dev libglu1-mesa-dev libglib2.0-dev libgnome-keyring-dev 109 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libjpeg62-dev
110 libgtk2.0-dev libjpeg62-dev libkrb5-dev libnspr4-dev libnss3-dev 110 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libsctp-dev
111 libpam0g-dev libsctp-dev libsqlite3-dev libssl-dev libxslt1-dev 111 libsqlite3-dev libssl-dev libwww-perl libxslt1-dev libxss-dev
112 libxss-dev libxt-dev libxtst-dev mesa-common-dev msttcorefonts patch 112 libxt-dev libxtst-dev mesa-common-dev msttcorefonts patch perl
113 perl libwww-perl php5-cgi pkg-config python python-dev rpm subversion 113 php5-cgi pkg-config python python-dev python-psutil rpm ruby
114 ttf-dejavu-core ttf-kochi-gothic ttf-kochi-mincho wdiff ruby 114 subversion ttf-dejavu-core ttf-indic-fonts ttf-kochi-gothic
115 libcurl4-gnutls-dev ttf-indic-fonts ttf-thai-tlwg 115 ttf-kochi-mincho ttf-thai-tlwg wdiff
116 $chromeos_dev_list" 116 $chromeos_dev_list"
117 117
118 # Run-time libraries required by chromeos only 118 # Run-time libraries required by chromeos only
119 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev" 119 chromeos_lib_list="libpulse0 libbz2-1.0 libcurl4-gnutls-dev"
120 120
121 # Full list of required run-time libraries 121 # Full list of required run-time libraries
122 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2 122 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcups2 libdbus-glib-1-2
123 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0 123 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0
124 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0 124 libgtk2.0-0 libpam0g libpango1.0-0 libpcre3 libpixman-1-0
125 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1 125 libpng12-0 libstdc++6 libsqlite3-0 libx11-6 libxau6 libxcb1
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 sed -e 's/[.]so[.][0-9].*/.so/' | 504 sed -e 's/[.]so[.][0-9].*/.so/' |
505 sort -u); do 505 sort -u); do
506 [ "x${i##*/}" = "xld-linux.so" ] && continue 506 [ "x${i##*/}" = "xld-linux.so" ] && continue
507 [ -r "$i" ] && continue 507 [ -r "$i" ] && continue
508 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 508 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
509 sort -n | tail -n 1)" 509 sort -n | tail -n 1)"
510 [ -r "$i.$j" ] || continue 510 [ -r "$i.$j" ] || continue
511 sudo ln -s "${i##*/}.$j" "$i" 511 sudo ln -s "${i##*/}.$j" "$i"
512 done 512 done
513 fi 513 fi
OLDNEW
« no previous file with comments | « no previous file | third_party/psutil/CREDITS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698