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

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

Issue 522007: linux: add gl headers/libs for gpu plugin (Closed)
Patch Set: Created 11 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 | 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) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 fi 103 fi
104 104
105 if [ "x$(id -u)" != x0 ]; then 105 if [ "x$(id -u)" != x0 ]; then
106 echo "Running as non-root user." 106 echo "Running as non-root user."
107 echo "You might have to enter your password one or more times for 'sudo'." 107 echo "You might have to enter your password one or more times for 'sudo'."
108 echo 108 echo
109 fi 109 fi
110 110
111 # Packages need for development 111 # Packages need for development
112 dev_list="apache2 bison fakeroot flex g++ g++-multilib gperf libapache2-mod-php5 112 dev_list="apache2 bison fakeroot flex g++ g++-multilib gperf libapache2-mod-php5
113 libasound2-dev libbz2-dev libcairo2-dev libgconf2-dev libglib2.0-dev 113 libasound2-dev libbz2-dev libcairo2-dev libgconf2-dev libgl1-mesa-dev
114 libgtk2.0-dev libjpeg62-dev libnspr4-dev libnss3-dev libpam0g-dev 114 libglu1-mesa-dev libglib2.0-dev libgtk2.0-dev libjpeg62-dev
115 libsqlite3-dev libxslt1-dev lighttpd msttcorefonts patch perl 115 libnspr4-dev libnss3-dev libpam0g-dev libsqlite3-dev libxslt1-dev
116 php5-cgi pkg-config python rpm subversion wdiff" 116 lighttpd mesa-common-dev msttcorefonts patch perl php5-cgi pkg-config
117 python rpm subversion wdiff"
117 118
118 # Full list of required run-time libraries 119 # Full list of required run-time libraries
119 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libexpat1 120 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libexpat1
120 libfontconfig1 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d 121 libfontconfig1 libfreetype6 libglib2.0-0 libgtk2.0-0 libnspr4-0d
121 libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6 122 libnss3-1d libpango1.0-0 libpcre3 libpixman-1-0 libpng12-0 libstdc++6
122 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1 123 libsqlite3-0 libx11-6 libxau6 libxcb1 libxcomposite1
123 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 124 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6
124 libxinerama1 libxrandr2 libxrender1 zlib1g" 125 libxinerama1 libxrandr2 libxrender1 zlib1g"
125 126
126 # Debugging symbols for all of the run-time libraries 127 # Debugging symbols for all of the run-time libraries
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 sed -e 's/[.]so[.][0-9].*/.so/' | 387 sed -e 's/[.]so[.][0-9].*/.so/' |
387 sort -u); do 388 sort -u); do
388 [ "x${i##*/}" = "xld-linux.so" ] && continue 389 [ "x${i##*/}" = "xld-linux.so" ] && continue
389 [ -r "$i" ] && continue 390 [ -r "$i" ] && continue
390 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 391 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
391 sort -n | tail -n 1)" 392 sort -n | tail -n 1)"
392 [ -r "$i.$j" ] || continue 393 [ -r "$i.$j" ] || continue
393 sudo ln -s "${i##*/}.$j" "$i" 394 sudo ln -s "${i##*/}.$j" "$i"
394 done 395 done
395 fi 396 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