<commit_before>profile = {
	'name':         'linux',
	'build_root':   os.path.join (os.getcwd (), 'build-root'),
	'prefix':       '%{build_root}/_install'
}

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

# gcc_arch_flags = [ '-m32', '-arch i386' ]
gcc_arch_flags = []
gcc_flags = [
	'-I%{prefix}/include'
]
gcc_flags.extend (gcc_arch_flags)

profile['environ'] = {
	'BUILD_PREFIX':    '%{prefix}',
	'PATH':            '%{prefix}/bin:/usr/bin:/bin',

	'CFLAGS':          ' '.join (gcc_flags),
	'CXXFLAGS':        '%{CFLAGS}',
	'CPPFLAGS':        '%{CFLAGS}',
	'C_INCLUDE_PATH':  '%{prefix}/include',

	'LD_LIBRARY_PATH': '%{prefix}/lib',
	'LDFLAGS':         '-L%{prefix}/lib ' + ' '.join (gcc_arch_flags),

	'ACLOCAL_FLAGS':   '-I%{prefix}/share/aclocal',

	'PKG_CONFIG_PATH': '%{prefix}/lib/pkgconfig:%{prefix}/share/pkgconfig'
}

profile['packages'] = [
	# Base dependencies
	'packages/autoconf.py',
	'packages/automake.py',
	'packages/libtool.py',
	'packages/gettext.py',
	'packages/pkg-config.py',
	'packages/libpng.py',
	'packages/libjpeg.py',
	'packages/libxml2.py',
	'packages/freetype.py',
	'packages/fontconfig.py',
	'packages/pixman.py',
	'packages/cairo.py',
	'packages/glib.py',
	'packages/pango.py',
	'packages/atk.py',
	'packages/intltool.py',
	'packages/gtk+.py',
	'packages/gconf-dummy.py',
	'packages/libglade.py',
	'packages/libproxy.py',
	'packages/libsoup.py',
	'packages/sqlite.py',
	'packages/mono.py',

	# Icons
	'packages/librsvg.py',
	'packages/icon-naming-utils.py',
	'packages/hicolor-icon-theme.py',
	'packages/tango-icon-theme.py',

	# Xiph codecs/formats
	'packages/libogg.py',
	'packages/libvorbis.py',
	'packages/flac.py',
	'packages/libtheora.py',
	'packages/speex.py',

	# Various formats
	'packages/wavpack.py',
	'packages/taglib.py',

	# GStreamer
	'packages/liboil.py',
	'packages/gstreamer.py',
	'packages/gst-plugins-base.py',
	'packages/gst-plugins-good.py',

	# Managed Deps
	'packages/gtk-sharp.py',
	'packages/mono-addins.py',
	'packages/ndesk-dbus.py',
	'packages/ndesk-dbus-glib.py',
	'packages/taglib-sharp.py',

	'packages/banshee.py'
]<commit_msg>[build] don't build banshee as a dep in the bundle<commit_after>profile = {
	'name':         'linux',
	'build_root':   os.path.join (os.getcwd (), 'build-root'),
	'prefix':       '%{build_root}/_install'
}

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

# gcc_arch_flags = [ '-m32', '-arch i386' ]
gcc_arch_flags = []
gcc_flags = [
	'-I%{prefix}/include'
]
gcc_flags.extend (gcc_arch_flags)

profile['environ'] = {
	'BUILD_PREFIX':    '%{prefix}',
	'PATH':            '%{prefix}/bin:/usr/bin:/bin',

	'CFLAGS':          ' '.join (gcc_flags),
	'CXXFLAGS':        '%{CFLAGS}',
	'CPPFLAGS':        '%{CFLAGS}',
	'C_INCLUDE_PATH':  '%{prefix}/include',

	'LD_LIBRARY_PATH': '%{prefix}/lib',
	'LDFLAGS':         '-L%{prefix}/lib ' + ' '.join (gcc_arch_flags),

	'ACLOCAL_FLAGS':   '-I%{prefix}/share/aclocal',

	'PKG_CONFIG_PATH': '%{prefix}/lib/pkgconfig:%{prefix}/share/pkgconfig'
}

profile['packages'] = [
	# Base dependencies
	'packages/autoconf.py',
	'packages/automake.py',
	'packages/libtool.py',
	'packages/gettext.py',
	'packages/pkg-config.py',
	'packages/libpng.py',
	'packages/libjpeg.py',
	'packages/libxml2.py',
	'packages/freetype.py',
	'packages/fontconfig.py',
	'packages/pixman.py',
	'packages/cairo.py',
	'packages/glib.py',
	'packages/pango.py',
	'packages/atk.py',
	'packages/intltool.py',
	'packages/gtk+.py',
	'packages/gconf-dummy.py',
	'packages/libglade.py',
	'packages/libproxy.py',
	'packages/libsoup.py',
	'packages/sqlite.py',
	'packages/mono.py',

	# Icons
	'packages/librsvg.py',
	'packages/icon-naming-utils.py',
	'packages/hicolor-icon-theme.py',
	'packages/tango-icon-theme.py',

	# Xiph codecs/formats
	'packages/libogg.py',
	'packages/libvorbis.py',
	'packages/flac.py',
	'packages/libtheora.py',
	'packages/speex.py',

	# Various formats
	'packages/wavpack.py',
	'packages/taglib.py',

	# GStreamer
	'packages/liboil.py',
	'packages/gstreamer.py',
	'packages/gst-plugins-base.py',
	'packages/gst-plugins-good.py',

	# Managed Deps
	'packages/gtk-sharp.py',
	'packages/mono-addins.py',
	'packages/ndesk-dbus.py',
	'packages/ndesk-dbus-glib.py',
	'packages/taglib-sharp.py',

	# 'packages/banshee.py'
]
{'fraction_non_alphanumeric': 0.21064656157185288, 'fraction_numerical': 0.0027416038382453737, 'mean_word_length': 4.084785133565622, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4178753', 'n_tokens_mistral': 1865, 'n_tokens_neox': 1798, 'n_words': 229}