OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 | 2 |
3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 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 build dependencies of packages which we instrument. | 7 # Script to install build dependencies of packages which we instrument. |
8 | 8 |
9 # Enable source repositories in Goobuntu. | 9 # Enable source repositories in Goobuntu. |
10 if hash goobuntu-config 2> /dev/null | 10 if hash goobuntu-config 2> /dev/null |
11 then | 11 then |
12 sudo goobuntu-config set include_deb_src true | 12 sudo goobuntu-config set include_deb_src true |
13 fi | 13 fi |
14 | 14 |
15 # TODO(eugenis): find a way to pull the list from the build config. | 15 # TODO(eugenis): find a way to pull the list from the build config. |
16 common_packages="\ | 16 common_packages="\ |
17 atk1.0 \ | 17 atk1.0 \ |
18 dee \ | 18 dee \ |
19 freetype \ | 19 freetype \ |
20 libappindicator1 \ | 20 libappindicator1 \ |
21 libasound2 \ | 21 libasound2 \ |
| 22 libatk-bridge2.0-0 \ |
| 23 libatspi2.0-0 \ |
22 libcairo2 \ | 24 libcairo2 \ |
23 libcap2 \ | 25 libcap2 \ |
24 libcups2 \ | 26 libcups2 \ |
25 libdbus-1-3 \ | 27 libdbus-1-3 \ |
26 libdbus-glib-1-2 \ | 28 libdbus-glib-1-2 \ |
27 libdbusmenu \ | 29 libdbusmenu \ |
28 libdbusmenu-glib4 \ | 30 libdbusmenu-glib4 \ |
29 libexpat1 \ | 31 libexpat1 \ |
30 libffi6 \ | 32 libffi6 \ |
31 libfontconfig1 \ | 33 libfontconfig1 \ |
32 libgconf-2-4 \ | 34 libgconf-2-4 \ |
33 libgcrypt11 \ | 35 libgcrypt11 \ |
34 libgdk-pixbuf2.0-0 \ | 36 libgdk-pixbuf2.0-0 \ |
35 libglib2.0-0 \ | 37 libglib2.0-0 \ |
36 libgnome-keyring0 \ | 38 libgnome-keyring0 \ |
37 libgpg-error0 \ | 39 libgpg-error0 \ |
| 40 libgtk-3-0 \ |
38 libgtk2.0-0 \ | 41 libgtk2.0-0 \ |
39 libnspr4 \ | 42 libnspr4 \ |
40 libp11-kit0 \ | 43 libp11-kit0 \ |
41 libpci3 \ | 44 libpci3 \ |
42 libpcre3 \ | 45 libpcre3 \ |
43 libpixman-1-0 \ | 46 libpixman-1-0 \ |
44 libpng12-0 \ | 47 libpng12-0 \ |
45 libunity9 \ | 48 libunity9 \ |
46 libx11-6 \ | 49 libx11-6 \ |
47 libxau6 \ | 50 libxau6 \ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 92 |
90 if test "$ubuntu_release" = "trusty" ; then | 93 if test "$ubuntu_release" = "trusty" ; then |
91 # On Trusty, build deps for some of the instrumented packages above conflict | 94 # On Trusty, build deps for some of the instrumented packages above conflict |
92 # with Chromium's build deps. In particular: | 95 # with Chromium's build deps. In particular: |
93 # zlib1g and libffi remove gcc-4.8 in favor of gcc-multilib, | 96 # zlib1g and libffi remove gcc-4.8 in favor of gcc-multilib, |
94 # libglib2.0-0 removes libelf in favor of libelfg0. | 97 # libglib2.0-0 removes libelf in favor of libelfg0. |
95 # We let Chromium's build deps take priority. So, run Chromium's | 98 # We let Chromium's build deps take priority. So, run Chromium's |
96 # install-build-deps.sh to reinstall those that have been removed. | 99 # install-build-deps.sh to reinstall those that have been removed. |
97 $(dirname ${BASH_SOURCE[0]})/../../../build/install-build-deps.sh --no-prompt | 100 $(dirname ${BASH_SOURCE[0]})/../../../build/install-build-deps.sh --no-prompt |
98 fi | 101 fi |
OLD | NEW |