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

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

Issue 2500063003: Replace kochi-*.ttf with IPA Fonts. (Reland)
Patch Set: Rebase Created 4 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
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 else 326 else
327 dev_list="${dev_list} php5-cgi libapache2-mod-php5" 327 dev_list="${dev_list} php5-cgi libapache2-mod-php5"
328 fi 328 fi
329 # ttf-mscorefonts-installer is in the Debian contrib repo, which has 329 # ttf-mscorefonts-installer is in the Debian contrib repo, which has
330 # dependencies on non-free software. Install it only if the user has already 330 # dependencies on non-free software. Install it only if the user has already
331 # enabled contrib. 331 # enabled contrib.
332 if package_exists ttf-mscorefonts-installer; then 332 if package_exists ttf-mscorefonts-installer; then
333 dev_list="${dev_list} ttf-mscorefonts-installer" 333 dev_list="${dev_list} ttf-mscorefonts-installer"
334 elif package_exists msttcorefonts; then 334 elif package_exists msttcorefonts; then
335 dev_list="${dev_list} msttcorefonts" 335 dev_list="${dev_list} msttcorefonts"
336 fi 336 fi
Tom (Use chromium acct) 2017/04/14 18:55:42 Please add "fonts-ipafont" somewhere in this file.
337 # Ubuntu 16.04 has this package deleted.
338 if package_exists ttf-kochi-gothic; then
339 dev_list="${dev_list} ttf-kochi-gothic"
340 fi
341 # Ubuntu 16.04 has this package deleted.
342 if package_exists ttf-kochi-mincho; then
343 dev_list="${dev_list} ttf-kochi-mincho"
344 fi
345 337
346 # Some packages are only needed if the distribution actually supports 338 # Some packages are only needed if the distribution actually supports
347 # installing them. 339 # installing them.
348 if package_exists appmenu-gtk; then 340 if package_exists appmenu-gtk; then
349 lib_list="$lib_list appmenu-gtk" 341 lib_list="$lib_list appmenu-gtk"
350 fi 342 fi
351 343
352 # When cross building for arm/Android on 64-bit systems the host binaries 344 # When cross building for arm/Android on 64-bit systems the host binaries
353 # that are part of v8 need to be compiled with -m32 which means 345 # that are part of v8 need to be compiled with -m32 which means
354 # that basic multilib support is needed. 346 # that basic multilib support is needed.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then 544 if (echo "${OLD_LOCALE_GEN}" | cmp -s ${LOCALE_GEN}); then
553 echo "Locales already up-to-date." 545 echo "Locales already up-to-date."
554 else 546 else
555 sudo locale-gen 547 sudo locale-gen
556 fi 548 fi
557 else 549 else
558 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do 550 for CHROMIUM_LOCALE in ${CHROMIUM_LOCALES}; do
559 sudo locale-gen ${CHROMIUM_LOCALE} 551 sudo locale-gen ${CHROMIUM_LOCALE}
560 done 552 done
561 fi 553 fi
OLDNEW
« no previous file with comments | « build/experimental/install-build-deps.py ('k') | components/test_runner/resources/fonts/fonts.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698