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

Side by Side Diff: build/experimental/install-build-deps.py

Issue 1998443002: Always install xfonts-mathml package if it is available. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't install fonts-stix Created 4 years, 7 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 | build/install-build-deps.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import operator 7 import operator
8 import os 8 import os
9 import platform 9 import platform
10 import re 10 import re
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 if package_exists('libbrlapi0.6'): 354 if package_exists('libbrlapi0.6'):
355 _packages_dev += ('libbrlapi0.6',) 355 _packages_dev += ('libbrlapi0.6',)
356 else: 356 else:
357 _packages_dev += ('libbrlapi0.5',) 357 _packages_dev += ('libbrlapi0.5',)
358 358
359 if package_exists('apache2-bin'): 359 if package_exists('apache2-bin'):
360 _packages_dev += ('apache2-bin',) 360 _packages_dev += ('apache2-bin',)
361 else: 361 else:
362 _packages_dev += ('apache2.2-bin',) 362 _packages_dev += ('apache2.2-bin',)
363 363
364 if package_exists('fonts-stix'): 364 if package_exists('xfonts-mathml'):
365 _packages_dev += ('fonts-stix',)
366 else:
367 _packages_dev += ('xfonts-mathml',) 365 _packages_dev += ('xfonts-mathml',)
368 366
369 # Some packages are only needed if the distribution actually supports 367 # Some packages are only needed if the distribution actually supports
370 # installing them. 368 # installing them.
371 if package_exists('appmenu-gtk'): 369 if package_exists('appmenu-gtk'):
372 _packages_lib += ('appmenu-gtk',) 370 _packages_lib += ('appmenu-gtk',)
373 371
374 _packages_dev += _packages_chromeos_dev 372 _packages_dev += _packages_chromeos_dev
375 _packages_lib += _packages_chromeos_lib 373 _packages_lib += _packages_chromeos_lib
376 _packages_nacl += _packages_naclports 374 _packages_nacl += _packages_naclports
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 packages = sorted(set(packages), key=packages_key) 425 packages = sorted(set(packages), key=packages_key)
428 426
429 if args.quick_check: 427 if args.quick_check:
430 return quick_check(packages) 428 return quick_check(packages)
431 429
432 return 0 430 return 0
433 431
434 432
435 if __name__ == '__main__': 433 if __name__ == '__main__':
436 sys.exit(main(sys.argv[1:])) 434 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | build/install-build-deps.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698