Example #1
0
    def __init__(self):
        UnixProfile.__init__(self)
        BansheePackages.__init__(self)
        self.build_root = os.path.join(os.getcwd(), 'build-root-mingw')

        self.name = 'mingw-cross'

        self.host = 'i686-linux'
        self.target = 'i686-pc-mingw32'
        self.sysroot = '/usr/%{target}/sys-root/%{target}'

        self.global_configure_flags.extend(
            ["--host=%s" % self.host,
             "--target=%s" % self.target])

        self.gcc_flags.extend(
            ['-I%{sysroot}/include', '-m32', '-march=i586', '-mms-bitfields'])

        self.env.set('PATH', ':', '%{prefix}/bin', '%{sysroot}/bin',
                     '/usr/bin', '/bin')

        self.ld_flags.extend(['-L%{sysroot}/lib', '-m32'])

        self.env.set('CC', '%{target}-gcc')
        self.env.set('CXX', '%{target}-g++')
Example #2
0
	def __init__ (self):
		DarwinProfile.__init__ (self)
		BansheePackages.__init__ (self)

		self_dir = os.path.realpath (os.path.dirname (sys.argv[0]))
		self.bundle_skeleton_dir = os.path.join (self_dir, 'skeleton.darwin')
		self.bundle_output_dir = os.path.join (self_dir, 'bundle.darwin')

		self.bundle_from_build = [
			'bin/mono',
			'lib/mono/2.0/gmcs.exe',
			'lib/mono/gac/Mono.Addins.CecilReflector',
			'bin/banshee',
			'lib/banshee',
			'lib/pango',
			'lib/gtk-2.0/2.10.0/loaders',
			'lib/gtk-2.0/2.10.0/engines',
			'lib/gtk-2.0/2.10.0/immodules',
			'lib/gdk-pixbuf-2.0/2.10.0/loaders',
			'lib/gstreamer-0.10',
			'share/banshee',
			'share/locale',
			'etc/mono/config',
			'etc/mono/1.0/machine.config',
			'etc/mono/2.0/machine.config',
			'etc/mono/2.0/settings.map',
			'share/icons/hicolor/index.theme',
			'share/icons/Tango/index.theme'
		]

		self.bundle_from_build.extend ([
			'share/icons/%s/%sx%s' % (theme, size, size)
				for size in [16, 22, 32, 48]
				for theme in ['hicolor', 'Tango']
		])
Example #3
0
    def __init__(self):
        GlickProfile.__init__(self)
        BansheePackages.__init__(self)

        import os
        if not os.path.isdir('/usr/include/alsa'):
            raise IOError(
                'You must have the ALSA headers installed. (/usr/include/alsa)'
            )

        self_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
        self.bundle_skeleton_dir = os.path.join(self_dir, 'skeleton.glick')
        self.bundle_output_dir = os.path.join(self_dir, 'bundle.glick')

        self.bundle_from_build = [
            'bin/mono', 'lib/mono/2.0/gmcs.exe',
            'lib/mono/gac/Mono.Addins.CecilReflector', 'lib/banshee-1',
            'lib/pango', 'lib/gtk-2.0/2.10.0/loaders',
            'lib/gtk-2.0/2.10.0/engines', 'lib/gtk-2.0/2.10.0/immodules',
            'lib/gdk-pixbuf-2.0/2.10.0/loaders',
            'lib/gdk-pixbuf-2.0/2.10.0/loaders.cache', 'lib/gstreamer-0.10',
            'share/banshee-1', 'share/locale', 'etc/gtk-2.0',
            'etc/mono/config', 'etc/mono/2.0/machine.config',
            'etc/mono/2.0/settings.map', 'etc/pango/pango.modules',
            'share/icons/hicolor/index.theme', 'share/icons/Tango/index.theme'
        ]

        self.bundle_from_build.extend([
            'share/icons/%s/%sx%s' % (theme, size, size)
            for size in [16, 22, 32, 48] for theme in ['hicolor', 'Tango']
        ])
Example #4
0
    def __init__(self):
        DarwinProfile.__init__(self, min_version=9)
        BansheePackages.__init__(self)

        self_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
        self.bundle_skeleton_dir = os.path.join(self_dir, 'skeleton.darwin')
        self.bundle_output_dir = os.path.join(self_dir, 'bundle.darwin')

        self.bundle_from_build = [
            'bin/mono', 'lib/mono/2.0/gmcs.exe',
            'lib/mono/gac/Mono.Addins.CecilReflector', 'bin/banshee',
            'lib/banshee', 'lib/pango', 'lib/gtk-3.0/3.0.0/immodules',
            'lib/gdk-pixbuf-2.0/2.10.0/loaders', 'lib/gstreamer-1.0',
            'share/banshee', 'share/locale', 'etc/mono/config',
            'etc/mono/1.0/machine.config', 'etc/mono/2.0/machine.config',
            'etc/mono/2.0/settings.map', 'share/icons/hicolor/index.theme',
            'share/icons/Tango/index.theme', 'share/glib-2.0/schemas'
        ]

        self.bundle_from_build.extend([
            'share/icons/%s/%sx%s' % (theme, size, size)
            for size in [16, 22, 32, 48]
            for theme in ['hicolor', 'Tango', 'adwaita']
        ])

        self.env.set('MONO_GAC_PREFIX', self.prefix)
        self.env.set('MONO_INSTALL_PREFIX', self.prefix)
        self.env.set('MONO_ADDINS_REGISTRY', self.prefix + '/addinreg')
        self.env.set('DYLD_FALLBACK_LIBRARY_PATH',
                     self.prefix + '/lib:/lib:/usr/lib')
Example #5
0
	def __init__ (self):
		GnomeProfile.__init__ (self)
		BansheePackages.__init__ (self)
		self.name = 'linux'

		import os
		if not os.path.isdir ('/usr/include/alsa'):
			raise IOError ('You must have the ALSA headers installed. (/usr/include/alsa)')
Example #6
0
    def __init__(self):
        GnomeProfile.__init__(self)
        BansheePackages.__init__(self)
        self.name = 'linux'

        import os
        if not os.path.isdir('/usr/include/alsa'):
            raise IOError(
                'You must have the ALSA headers installed. (/usr/include/alsa)'
            )
Example #7
0
	def __init__ (self):
		DarwinProfile.__init__ (self, min_version = 9)
		BansheePackages.__init__ (self)

		self_dir = os.path.realpath (os.path.dirname (sys.argv[0]))
		self.bundle_skeleton_dir = os.path.join (self_dir, 'skeleton.darwin')
		self.bundle_output_dir = os.path.join (self_dir, 'bundle.darwin')

		self.bundle_from_build = [
			'bin/mono',
			'lib/mono/2.0/gmcs.exe',
			'lib/mono/gac/Mono.Addins.CecilReflector',
			'bin/banshee',
			'lib/banshee',
			'lib/pango',
			'lib/gtk-2.0/2.10.0/loaders',
			'lib/gtk-2.0/2.10.0/engines',
			'lib/gtk-2.0/2.10.0/immodules',
			'lib/gdk-pixbuf-2.0/2.10.0/loaders',
			'lib/gstreamer-0.10',
			'share/banshee',
			'share/locale',
			'etc/mono/config',
			'etc/mono/1.0/machine.config',
			'etc/mono/2.0/machine.config',
			'etc/mono/2.0/settings.map',
			'share/icons/hicolor/index.theme',
			'share/icons/Tango/index.theme'
		]

		self.bundle_from_build.extend ([
			'share/icons/%s/%sx%s' % (theme, size, size)
				for size in [16, 22, 32, 48]
				for theme in ['hicolor', 'Tango']
		])

		self.env.set('MONO_GAC_PREFIX', self.prefix)
		self.env.set('MONO_INSTALL_PREFIX', self.prefix)
		self.env.set('MONO_ADDINS_REGISTRY', self.prefix + '/addinreg')
		self.env.set('DYLD_FALLBACK_LIBRARY_PATH', self.prefix + '/lib:/lib:/usr/lib')
	def __init__ (self):
		GlickProfile.__init__ (self)
		BansheePackages.__init__ (self)
		
		import os
		if not os.path.isdir ('/usr/include/alsa'):
			raise IOError ('You must have the ALSA headers installed. (/usr/include/alsa)')

		self_dir = os.path.realpath (os.path.dirname (sys.argv[0]))
		self.bundle_skeleton_dir = os.path.join (self_dir, 'skeleton.glick')
		self.bundle_output_dir = os.path.join (self_dir, 'bundle.glick')

		self.bundle_from_build = [
			'bin/mono',
			'lib/mono/2.0/gmcs.exe',
			'lib/mono/gac/Mono.Addins.CecilReflector',
			'lib/banshee-1',
			'lib/pango',
			'lib/gtk-2.0/2.10.0/loaders',
			'lib/gtk-2.0/2.10.0/engines',
			'lib/gtk-2.0/2.10.0/immodules',
			'lib/gdk-pixbuf-2.0/2.10.0/loaders',
			'lib/gdk-pixbuf-2.0/2.10.0/loaders.cache',
			'lib/gstreamer-0.10',
			'share/banshee-1',
			'share/locale',
			'etc/gtk-2.0',
			'etc/mono/config',
			'etc/mono/2.0/machine.config',
			'etc/mono/2.0/settings.map',
			'etc/pango/pango.modules',
			'share/icons/hicolor/index.theme',
			'share/icons/Tango/index.theme'
		]

		self.bundle_from_build.extend ([
			'share/icons/%s/%sx%s' % (theme, size, size)
				for size in [16, 22, 32, 48]
				for theme in ['hicolor', 'Tango']
		])
Example #9
0
    def __init__(self):
        DarwinProfile.__init__(self)
        BansheePackages.__init__(self)

        self_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
        self.bundle_skeleton_dir = os.path.join(self_dir, 'skeleton.darwin')
        self.bundle_output_dir = os.path.join(self_dir, 'bundle.darwin')

        self.bundle_from_build = [
            'bin/mono', 'lib/mono/2.0/gmcs.exe',
            'lib/mono/gac/Mono.Addins.CecilReflector', 'bin/banshee',
            'lib/banshee', 'lib/pango', 'lib/gtk-2.0/2.10.0/loaders',
            'lib/gtk-2.0/2.10.0/engines', 'lib/gtk-2.0/2.10.0/immodules',
            'lib/gdk-pixbuf-2.0/2.10.0/loaders', 'lib/gstreamer-0.10',
            'share/banshee', 'share/locale', 'etc/mono/config',
            'etc/mono/1.0/machine.config', 'etc/mono/2.0/machine.config',
            'etc/mono/2.0/settings.map', 'share/icons/hicolor/index.theme',
            'share/icons/Tango/index.theme'
        ]

        self.bundle_from_build.extend([
            'share/icons/%s/%sx%s' % (theme, size, size)
            for size in [16, 22, 32, 48] for theme in ['hicolor', 'Tango']
        ])
Example #10
0
	def __init__ (self):
		UnixProfile.__init__ (self)
		BansheePackages.__init__ (self)
		self.build_root = os.path.join (os.getcwd (), 'build-root-mingw')
		
		self.name = 'mingw-cross'

		self.host = 'i686-linux'
		self.target = 'i686-pc-mingw32'
		self.sysroot = '/usr/%{target}/sys-root/%{target}'
		
		self.global_configure_flags.extend ([
			"--host=%s" % self.host,
			"--target=%s" % self.target
		])

		self.gcc_flags.extend ([
			'-I%{sysroot}/include',
			'-m32',
			'-march=i586',
			'-mms-bitfields'
		])

		self.env.set ('PATH', ':',
			'%{prefix}/bin',
			'%{sysroot}/bin',
			'/usr/bin',
			'/bin')

		self.ld_flags.extend ([
			'-L%{sysroot}/lib',
			'-m32'
		])

		self.env.set ('CC', '%{target}-gcc')
		self.env.set ('CXX', '%{target}-g++')