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

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: 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') | build/install-build-deps.sh » ('J')
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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
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('fonts-stix'):
365 _packages_dev += ('fonts-stix',) 365 _packages_dev += ('fonts-stix',)
Daniel Erat 2016/05/18 22:46:30 do you mind also removing these fonts-stix referen
Vadim Sh. 2016/05/18 22:49:31 Done.
366 else: 366
367 if package_exists('xfonts-mathml'):
367 _packages_dev += ('xfonts-mathml',) 368 _packages_dev += ('xfonts-mathml',)
368 369
369 # Some packages are only needed if the distribution actually supports 370 # Some packages are only needed if the distribution actually supports
370 # installing them. 371 # installing them.
371 if package_exists('appmenu-gtk'): 372 if package_exists('appmenu-gtk'):
372 _packages_lib += ('appmenu-gtk',) 373 _packages_lib += ('appmenu-gtk',)
373 374
374 _packages_dev += _packages_chromeos_dev 375 _packages_dev += _packages_chromeos_dev
375 _packages_lib += _packages_chromeos_lib 376 _packages_lib += _packages_chromeos_lib
376 _packages_nacl += _packages_naclports 377 _packages_nacl += _packages_naclports
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 packages = sorted(set(packages), key=packages_key) 428 packages = sorted(set(packages), key=packages_key)
428 429
429 if args.quick_check: 430 if args.quick_check:
430 return quick_check(packages) 431 return quick_check(packages)
431 432
432 return 0 433 return 0
433 434
434 435
435 if __name__ == '__main__': 436 if __name__ == '__main__':
436 sys.exit(main(sys.argv[1:])) 437 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | build/install-build-deps.sh » ('j') | build/install-build-deps.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698