Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 3 | # You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | import os |
michael@0 | 6 | |
michael@0 | 7 | from mozboot.base import BaseBootstrapper |
michael@0 | 8 | |
michael@0 | 9 | class FedoraBootstrapper(BaseBootstrapper): |
michael@0 | 10 | def __init__(self, version, dist_id): |
michael@0 | 11 | BaseBootstrapper.__init__(self) |
michael@0 | 12 | |
michael@0 | 13 | self.version = version |
michael@0 | 14 | self.dist_id = dist_id |
michael@0 | 15 | |
michael@0 | 16 | self.group_packages = [ |
michael@0 | 17 | 'Development Tools', |
michael@0 | 18 | 'Development Libraries', |
michael@0 | 19 | 'GNOME Software Development', |
michael@0 | 20 | ] |
michael@0 | 21 | |
michael@0 | 22 | self.packages = [ |
michael@0 | 23 | 'alsa-lib-devel', |
michael@0 | 24 | 'autoconf213', |
michael@0 | 25 | 'gcc-c++', |
michael@0 | 26 | 'glibc-static', |
michael@0 | 27 | 'gstreamer-devel', |
michael@0 | 28 | 'gstreamer-plugins-base-devel', |
michael@0 | 29 | 'libstdc++-static', |
michael@0 | 30 | 'libXt-devel', |
michael@0 | 31 | 'mercurial', |
michael@0 | 32 | 'mesa-libGL-devel', |
michael@0 | 33 | 'pulseaudio-libs-devel', |
michael@0 | 34 | 'wireless-tools-devel', |
michael@0 | 35 | 'yasm', |
michael@0 | 36 | ] |
michael@0 | 37 | |
michael@0 | 38 | def install_system_packages(self): |
michael@0 | 39 | self.yum_groupinstall(*self.group_packages) |
michael@0 | 40 | self.yum_install(*self.packages) |
michael@0 | 41 | |
michael@0 | 42 | def upgrade_mercurial(self, current): |
michael@0 | 43 | self.yum_update('mercurial') |