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

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

Issue 1803883002: Reland: Media Galleries Partial Deprecation: Remove image metadata & libexif. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a remnant on MacOSX official build Created 4 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
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 https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md 8 # See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_i nstructions.md
9 9
10 usage() { 10 usage() {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 # Packages needed for chromeos only 96 # Packages needed for chromeos only
97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath" 97 chromeos_dev_list="libbluetooth-dev libxkbcommon-dev realpath"
98 98
99 # Packages needed for development 99 # Packages needed for development
100 dev_list="bison cdbs curl dpkg-dev elfutils devscripts fakeroot 100 dev_list="bison cdbs curl dpkg-dev elfutils devscripts fakeroot
101 flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da 101 flex fonts-thai-tlwg g++ git-core git-svn gperf language-pack-da
102 language-pack-fr language-pack-he language-pack-zh-hant 102 language-pack-fr language-pack-he language-pack-zh-hant
103 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools 103 libapache2-mod-php5 libasound2-dev libbrlapi-dev libav-tools
104 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev 104 libbz2-dev libcairo2-dev libcap-dev libcups2-dev libcurl4-gnutls-dev
105 libdrm-dev libelf-dev libexif-dev libffi-dev libgconf2-dev 105 libdrm-dev libelf-dev libffi-dev libgconf2-dev libglib2.0-dev
106 libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev 106 libglu1-mesa-dev libgnome-keyring-dev libgtk2.0-dev libkrb5-dev
107 libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libpci-dev 107 libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev
108 libpulse-dev libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev 108 libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev
109 libudev-dev libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev 109 libwww-perl libxslt1-dev libxss-dev libxt-dev libxtst-dev openbox
110 openbox patch perl php5-cgi pkg-config python python-cherrypy3 110 patch perl php5-cgi pkg-config python python-cherrypy3 python-crypto
111 python-crypto python-dev python-numpy python-opencv python-openssl 111 python-dev python-numpy python-opencv python-openssl python-psutil
112 python-psutil python-yaml rpm ruby subversion ttf-dejavu-core 112 python-yaml rpm ruby subversion ttf-dejavu-core ttf-indic-fonts
113 ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho wdiff 113 ttf-kochi-gothic ttf-kochi-mincho wdiff zip $chromeos_dev_list"
114 zip $chromeos_dev_list"
115 114
116 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built 115 # 64-bit systems need a minimum set of 32-bit compat packages for the pre-built
117 # NaCl binaries. 116 # NaCl binaries.
118 if file -L /sbin/init | grep -q 'ELF 64-bit'; then 117 if file -L /sbin/init | grep -q 'ELF 64-bit'; then
119 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6" 118 dev_list="${dev_list} libc6-i386 lib32gcc1 lib32stdc++6"
120 fi 119 fi
121 120
122 # Run-time libraries required by chromeos only 121 # Run-time libraries required by chromeos only
123 chromeos_lib_list="libpulse0 libbz2-1.0" 122 chromeos_lib_list="libpulse0 libbz2-1.0"
124 123
125 # Full list of required run-time libraries 124 # Full list of required run-time libraries
126 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1 125 lib_list="libatk1.0-0 libc6 libasound2 libcairo2 libcap2 libcups2 libexpat1
127 libexif12 libffi6 libfontconfig1 libfreetype6 libglib2.0-0 126 libffi6 libfontconfig1 libfreetype6 libglib2.0-0 libgnome-keyring0
128 libgnome-keyring0 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 127 libgtk2.0-0 libpam0g libpango1.0-0 libpci3 libpcre3 libpixman-1-0
129 libpixman-1-0 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 128 libpng12-0 libspeechd2 libstdc++6 libsqlite3-0 libx11-6 libxau6
130 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 129 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6
131 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 130 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6
132 libxtst6 zlib1g $chromeos_lib_list" 131 zlib1g $chromeos_lib_list"
133 132
134 # Debugging symbols for all of the run-time libraries 133 # Debugging symbols for all of the run-time libraries
135 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libffi6-dbg libfontconfig1-dbg 134 dbg_list="libatk1.0-dbg libc6-dbg libcairo2-dbg libffi6-dbg libfontconfig1-dbg
136 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg 135 libglib2.0-0-dbg libgtk2.0-0-dbg libpango1.0-0-dbg libpcre3-dbg
137 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg 136 libpixman-1-0-dbg libsqlite3-0-dbg libx11-6-dbg libxau6-dbg
138 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg 137 libxcb1-dbg libxcomposite1-dbg libxcursor1-dbg libxdamage1-dbg
139 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg 138 libxdmcp6-dbg libxext6-dbg libxfixes3-dbg libxi6-dbg libxinerama1-dbg
140 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg" 139 libxrandr2-dbg libxrender1-dbg libxtst6-dbg zlib1g-dbg"
141 140
142 # Find the proper version of libstdc++6-4.x-dbg. 141 # Find the proper version of libstdc++6-4.x-dbg.
(...skipping 15 matching lines...) Expand all
158 157
159 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056 158 # Work around for dependency issue Ubuntu/Trusty: http://crbug.com/435056
160 if [ "x$lsb_release" = "xtrusty" ]; then 159 if [ "x$lsb_release" = "xtrusty" ]; then
161 arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf 160 arm_list+=" g++-4.8-multilib-arm-linux-gnueabihf
162 gcc-4.8-multilib-arm-linux-gnueabihf" 161 gcc-4.8-multilib-arm-linux-gnueabihf"
163 fi 162 fi
164 163
165 # Packages to build NaCl, its toolchains, and its ports. 164 # Packages to build NaCl, its toolchains, and its ports.
166 naclports_list="ant autoconf bison cmake gawk intltool xutils-dev xsltproc" 165 naclports_list="ant autoconf bison cmake gawk intltool xutils-dev xsltproc"
167 nacl_list="g++-mingw-w64-i686 lib32z1-dev 166 nacl_list="g++-mingw-w64-i686 lib32z1-dev
168 libasound2:i386 libcap2:i386 libelf-dev:i386 libexif12:i386 167 libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386
169 libfontconfig1:i386 libgconf-2-4:i386 libglib2.0-0:i386 libgpm2:i386 168 libgconf-2-4:i386 libglib2.0-0:i386 libgpm2:i386 libgtk2.0-0:i386
170 libgtk2.0-0:i386 libncurses5:i386 lib32ncurses5-dev 169 libncurses5:i386 lib32ncurses5-dev libnss3:i386 libpango1.0-0:i386
171 libnss3:i386 libpango1.0-0:i386
172 libssl1.0.0:i386 libtinfo-dev libtinfo-dev:i386 libtool 170 libssl1.0.0:i386 libtinfo-dev libtinfo-dev:i386 libtool
173 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 171 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386
174 libxrandr2:i386 libxss1:i386 libxtst6:i386 texinfo xvfb 172 libxrandr2:i386 libxss1:i386 libxtst6:i386 texinfo xvfb
175 ${naclports_list}" 173 ${naclports_list}"
176 174
177 # Find the proper version of packages that depend on mesa. Only one -lts variant 175 # Find the proper version of packages that depend on mesa. Only one -lts variant
178 # of mesa can be installed and everything that depends on it must match. 176 # of mesa can be installed and everything that depends on it must match.
179 177
180 # Query for the name and status of all mesa LTS variants, filter for only 178 # Query for the name and status of all mesa LTS variants, filter for only
181 # installed packages, extract just the name, and eliminate duplicates (there can 179 # installed packages, extract just the name, and eliminate duplicates (there can
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 # only contains libcrypto.so.1.0.0 and not the symlink needed for 469 # only contains libcrypto.so.1.0.0 and not the symlink needed for
472 # linking (libcrypto.so). 470 # linking (libcrypto.so).
473 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \ 471 create_library_symlink /lib/i386-linux-gnu/libcrypto.so.1.0.0 \
474 /usr/lib/i386-linux-gnu/libcrypto.so 472 /usr/lib/i386-linux-gnu/libcrypto.so
475 473
476 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \ 474 create_library_symlink /lib/i386-linux-gnu/libssl.so.1.0.0 \
477 /usr/lib/i386-linux-gnu/libssl.so 475 /usr/lib/i386-linux-gnu/libssl.so
478 else 476 else
479 echo "Skipping symbolic links for NaCl." 477 echo "Skipping symbolic links for NaCl."
480 fi 478 fi
OLDNEW
« no previous file with comments | « build/experimental/install-build-deps.py ('k') | build/linux/sysroot_scripts/packagelist.jessie.amd64 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698