�
/��Zc�����������@`�s��d��d�l��m�Z�d��d�l��m�Z�d��d�l��m�Z�d��d�l��m�Z�d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l	�Z	�d��d�l
�Z
�d��d�l�m�Z�d�d�l
�m�Z�d�d	�l�m�Z�d�d
�l�m�Z�d�Z�d�e�f�d
�������YZ�d�e�f�d�������YZ�d�e�f�d�������YZ�d����Z�d�S(���i����(���t���absolute_import(���t���division(���t���print_function(���t���unicode_literalsN(���t	���LinkErrori���(���t���IntrospectionBinary(���t���utils(���t	���CCompileru���/* This file is generated, do not edit */
#include <glib.h>
#include <string.h>
#include <stdlib.h>

%(gdump_include)s

int
main(int argc, char **argv)
{
  GError *error = NULL;
  const char *introspect_dump_prefix = "--introspect-dump=";

#if !GLIB_CHECK_VERSION(2,35,0)
  g_type_init ();
#endif

  %(init_sections)s

  if (argc != 2 || !g_str_has_prefix (argv[1], introspect_dump_prefix))
    {
      g_printerr ("Usage: %%s --introspect-dump=input,output", argv[0]);
      exit (1);
    }

  if (!dump_irepository (argv[1] + strlen(introspect_dump_prefix), &error))
    {
      g_printerr ("%%s\n", error->message);
      exit (1);
    }
  exit (0);
}
t
���CompilerErrorc�����������B`�s���e��Z�RS(����(���t���__name__t
���__module__(����(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR���N���s���t���LinkerErrorc�����������B`�s���e��Z�RS(����(���R	���R
���(����(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR���R���s���t���DumpCompilerc�����������B`�sG���e��Z�d�Z�d�����Z�d����Z�d�d���Z�d����Z�d����Z�d����Z	�RS(���c���������C`�s����|�|��_��|�|��_�|�|��_�t����|��_�t�j�j�d�d���|��_�t�j�j�d���|��_	�d�g�|��_
�|��j
�j�|�j���|��j�j
����r��d�g�|��_�n!�t�j�t�j�j�d�d�����|��_�d��S(���Nu
���PKG_CONFIGu
���pkg-configu ���UNINSTALLED_INTROSPECTION_SRCDIRu���gio-2.0 gmodule-2.0u���link.exeu���CCu���cc(���t���_optionst���_get_type_functionst���_error_quark_functionsR���t	���_compilert���ost���environt���gett���_pkgconfig_cmdt���_uninst_srcdirt	���_packagest���extendt���packagest
���check_is_msvct���_linker_cmdt���shlext���split(���t���selft���optionst���get_type_functionst���error_quark_functions(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���__init__Z���s����			c������	���C`�s���t��j�d�d�d�t�j�����}�t�j�t�j�j�|�d�����i��}�|��j�d��k	�rm�t�j�j�|��j�d�d���}�n$�t�j�j�t�j�j�t	���d�d���}�t�j�j
�|���s��t�d�|�f�����n��t�|�����}�|�j
����}�Wd��QX|�|�d	�<d
�j�|��j�j���|�d�<|��j�|�d���}�t�|�d
����\}�|�j�t�|���t�|��j���d�k�r�x&�|��j�D]�}�|�j�d�|�d���qQW|�j�d���t�}	�x>�|��j�D]3�}�|	�r�t�}	�n
�|�j�d���|�j�d�|���q�W|�j�d���n��t�|��j���d�k�rvx&�|��j�D]�}�|�j�d�|�d���q�W|�j�d���t�}	�x>�|��j�D]3�}�|	�rDt�}	�n
�|�j�d���|�j�d�|���q/W|�j�d���n��Wd��QX|��j�j�j�r�|��j�j�j�}
�n�d�}
�|��j�|�|
���}�y�|��j�|���}�WnH�t�k
�r}
�t�j�d���s�t�j �|���n��t�d�t!�|
�������n�Xy�|��j"�|�|���WnH�t#�k
�rq}
�t�j�d���sXt�j �|���n��t�d�t!�|
�������n�Xt$�|�g�|���S(���Nu����u���tmp-introspectt���diru���.libsu���girepositoryu���gdump.cu���gobject-introspection-1.0u���Couldn't find %ru
���gdump_includeu���
u
���init_sectionsu���.cu���wi����u
���extern GType u���(void);
u(���GType (*GI_GET_TYPE_FUNCS_[])(void) = {
u���,
u���  u���
};
u���extern GQuark u,���GQuark (*GI_ERROR_QUARK_FUNCS_[])(void) = {
u
���save-tempsu'���compilation of temporary binary failed:u$���linking of temporary binary failed: (%���t���tempfilet���mkdtempR���t���getcwdt���mkdirt���patht���joinR���t���Nonet���DATADIRt���isfilet
���SystemExitt���opent���readR
���t
���init_sectionst���_generate_tempfilet���writet���_PROGRAM_TEMPLATEt���lenR���t���Truet���FalseR���R���t���compilert
���exe_extensiont���_compileR���R���t���have_debug_flagt���shutilt���rmtreet���strt���_linkR���R���(���R���t���tmpdirt���tpl_argst
���gdump_patht
���gdump_filet���gdump_contentst���c_patht���ft���funct���firstt���extt���bin_patht���introspection_objt���e(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���runm���sn����	

	

	
u����c���������C`�s2���d�|��j��j�|��j��j�|�f�}�t�j�j�|�|���S(���Nu���%s-%s%s(���R
���t���namespace_namet���namespace_versionR���R'���R(���(���R���R>���t���suffixt���tmpl(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR0�������s����c���������C`�sw���|��j��j����r$�|��j�d�|�g�}�n�|��j�|�g�}�t�j�|�|��j�d�t�j��}�|�j����\�}�}�|�j�d���j	����S(���Nu
���--msvc-syntaxt���stdoutu���ascii(
���R���R���R���t
���subprocesst���PopenR���t���PIPEt���communicatet���decodeR���(���R���t���flagt���cmdt���proct���outt���err(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���_run_pkgconfig����s����
c���������G`�s4���|��j��d���}�|��j�j�|�|��j�j�|�|��j�j���S(���Nu���--cflags(���R[���R���t���compileR
���t���cpp_includesR/���(���R���t���sourcest���pkgconfig_flags(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR8�������s
����	c������
���C`�s���g��}�t��j�|��j���}�|�rd�|�j�|���|�j�d���|�j�d���|��j�j�rd�|�j�d���qd�n��|�j�|��j���|��j�j����r��|�j�d�|�g���nK�|�j�d�|�g���|�r��t��j	����d�k�r��|�j�d���q��|�j�d���n��|��j�j����scx3�t
�j�t�j
�j�d	�d
�����D]�}�|�j�|���qWx6�t
�j�t�j
�j�d�d
�����D]�}�|�j�|���qIWn��x6�|�D].�}�t�j�j�|���sjt�d�|�f�����qjqjW|�j�|���|��j�d
���}�|��j�j�s|��j�j�|�|�|��j�j�|��j�j�|��j�j���|�j�|���n&�|�j�|���|��j�j�|�|��j�j���|��j�j����spx6�t
�j�t�j
�j�d�d
�����D]�}	�|�j�|	���qVWn��|��j�j�s�t�d�t�j�|���f���t�j�j����n��t�j
�j�d�d����}
�|
�rwt�j
�j�d�d���}�t �j!����\�}�}
�t�j"�|�d����Q�}�d�j#�g��|�D]�}�|�j$�d�d���^�q
��}�d�j%�|���}�|�j&�|���Wd��QXt��j'�|���}�|�|
�j$�d�d���g�}�n��z:�y�t�j(�|���Wn"�t�j)�k
�r�}�t*�|�����n�XWd��|
�r�t�j+�|
���n��Xd��S(���Nu���--mode=linku���--tag=CCu���--silentu���-out:u���-ou���ntu���-Wl,--export-all-symbolsu���-export-dynamicu���CPPFLAGSu����u���CFLAGSu���Could not find object file: %su���--libsu���LDFLAGSu���g-ir-scanner: link: %su���MSYSTEMu���SHELLu���sh.exeu���wbu��� u���\u���/u���#!/bin/sh
unset PWD
{}
(,���R���t���get_libtool_commandR
���R���t���appendt���quietR���R���R���t���host_osR���R���R���R���R���R'���t���existsR���R[���t���external_libraryt���get_internal_link_flagst	���librariest���extra_librariest
���library_pathst���get_external_link_flagst���printRQ���t���list2cmdlinet���sysRP���t���flushR)���R#���t���mkstempt���fdopenR(���t���replacet���formatR1���t���whicht
���check_callt���CalledProcessErrorR���t���remove(���R���t���outputR^���t���argst���libtoolt���cppflagt���cflagt���sourcet���pkg_config_libst���ldflagt���msyst���shellt���tft���tf_nameRD���t���xt
���shellcontentst	���fcontentsRJ���(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR=�������sx����


%%

		

%.�N(
���R	���R
���R)���R���R!���RK���R0���R[���R8���R=���(����(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR���V���s���		L	
	c���������C`�s���t��|��|�|���}�|�j����S(���N(���R���RK���(���R���R���R ���t���dc(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���compile_introspection_binary+��s����(���t
���__future__R����R���R���R���R���Rm���R���RQ���R:���R#���t���distutils.errorsR���t���gdumpparserR���t����R���t	���ccompilerR���R2���t	���ExceptionR���R���t���objectR���R����(����(����(����sj���/home/vagrant/ruby-gnome2/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���<module>���s$���&�