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

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

Issue 311233006: install-build-deps: Install libudev1:i386 for Ubuntu 14.04 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 # 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 # Packages to build NaCl, its toolchains, and its ports. 145 # Packages to build NaCl, its toolchains, and its ports.
146 nacl_list="bison cmake xvfb gawk texinfo autoconf libtool 146 nacl_list="bison cmake xvfb gawk texinfo autoconf libtool
147 libssl0.9.8:i386 lib32z1-dev 147 libssl0.9.8:i386 lib32z1-dev
148 libgpm2:i386 libncurses5:i386 148 libgpm2:i386 libncurses5:i386
149 g++-mingw-w64-i686 libtinfo-dev libtinfo-dev:i386 149 g++-mingw-w64-i686 libtinfo-dev libtinfo-dev:i386
150 libglib2.0-0:i386 libnss3:i386 150 libglib2.0-0:i386 libnss3:i386
151 libgconf-2-4:i386 libfontconfig:i386 151 libgconf-2-4:i386 libfontconfig:i386
152 libpango1.0-0:i386 libxi6:i386 libxcursor1:i386 libxcomposite1:i386 152 libpango1.0-0:i386 libxi6:i386 libxcursor1:i386 libxcomposite1:i386
153 libasound2:i386 libxdamage1:i386 libxtst6:i386 libxrandr2:i386 153 libasound2:i386 libxdamage1:i386 libxtst6:i386 libxrandr2:i386
154 libcap2:i386 libudev0:i386 libgtk2.0-0:i386 libxss1:i386 154 libcap2:i386 libgtk2.0-0:i386 libxss1:i386
155 libexif12:i386 libgl1-mesa-glx:i386" 155 libexif12:i386 libgl1-mesa-glx:i386"
156 156
157 # Some package names have changed over time 157 # Some package names have changed over time
158 if package_exists ttf-mscorefonts-installer; then 158 if package_exists ttf-mscorefonts-installer; then
159 dev_list="${dev_list} ttf-mscorefonts-installer" 159 dev_list="${dev_list} ttf-mscorefonts-installer"
160 else 160 else
161 dev_list="${dev_list} msttcorefonts" 161 dev_list="${dev_list} msttcorefonts"
162 fi 162 fi
163 if package_exists libnspr4-dbg; then 163 if package_exists libnspr4-dbg; then
164 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg" 164 dbg_list="${dbg_list} libnspr4-dbg libnss3-dbg"
165 lib_list="${lib_list} libnspr4 libnss3" 165 lib_list="${lib_list} libnspr4 libnss3"
166 else 166 else
167 dbg_list="${dbg_list} libnspr4-0d-dbg libnss3-1d-dbg" 167 dbg_list="${dbg_list} libnspr4-0d-dbg libnss3-1d-dbg"
168 lib_list="${lib_list} libnspr4-0d libnss3-1d" 168 lib_list="${lib_list} libnspr4-0d libnss3-1d"
169 fi 169 fi
170 if package_exists libjpeg-dev; then 170 if package_exists libjpeg-dev; then
171 dev_list="${dev_list} libjpeg-dev" 171 dev_list="${dev_list} libjpeg-dev"
172 else 172 else
173 dev_list="${dev_list} libjpeg62-dev" 173 dev_list="${dev_list} libjpeg62-dev"
174 fi 174 fi
175 if package_exists libudev1; then 175 if package_exists libudev1; then
176 dev_list="${dev_list} libudev1" 176 dev_list="${dev_list} libudev1"
177 nacl_list="${nacl_list} libudev1:i386"
177 else 178 else
178 dev_list="${dev_list} libudev0" 179 dev_list="${dev_list} libudev0"
180 nacl_list="${nacl_list} libudev0:i386"
179 fi 181 fi
180 if package_exists libbrlapi0.6; then 182 if package_exists libbrlapi0.6; then
181 dev_list="${dev_list} libbrlapi0.6" 183 dev_list="${dev_list} libbrlapi0.6"
182 else 184 else
183 dev_list="${dev_list} libbrlapi0.5" 185 dev_list="${dev_list} libbrlapi0.5"
184 fi 186 fi
185 187
186 188
187 # Some packages are only needed if the distribution actually supports 189 # Some packages are only needed if the distribution actually supports
188 # installing them. 190 # installing them.
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 sed -e 's/[.]so[.][0-9].*/.so/' | 599 sed -e 's/[.]so[.][0-9].*/.so/' |
598 sort -u); do 600 sort -u); do
599 [ "x${i##*/}" = "xld-linux.so" ] && continue 601 [ "x${i##*/}" = "xld-linux.so" ] && continue
600 [ -r "$i" ] && continue 602 [ -r "$i" ] && continue
601 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' | 603 j="$(ls "$i."* | sed -e 's/.*[.]so[.]\([^.]*\)$/\1/;t;d' |
602 sort -n | tail -n 1)" 604 sort -n | tail -n 1)"
603 [ -r "$i.$j" ] || continue 605 [ -r "$i.$j" ] || continue
604 sudo ln -s "${i##*/}.$j" "$i" 606 sudo ln -s "${i##*/}.$j" "$i"
605 done 607 done
606 fi 608 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