�
��Qc�����������@���s����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�Z	�d�e
�f�d�������YZ�d�e
�f�d	�������YZ�d
�e
�f�d�������YZ�d����Z�d�S(
���i����Ni���(���t���IntrospectionBinary(���t���utilss���/* 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__(����(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR���F���s���t���LinkerErrorc�����������B���s���e��Z�RS(����(���R���R���(����(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR���J���s���t���DumpCompilerc�����������B���sS���e��Z�d�����Z�d����Z�d�d���Z�d����Z�d����Z�d����Z�d����Z�d����Z	�RS(	���c���������C���s����|�|��_��|�|��_�|�|��_�t�j�j�d�d���|��_�t�j�j�d�|��j���|��_�t�j�j�d�d���|��_�d�|��_	�d�|��j�k�r��d�|��_	�n��t�j�j�d���|��_
�d	�g�|��_�|��j�j�|�j
���d��S(
���Nt���CCt���gcct
���PKG_CONFIGs
���pkg-configt����t���cls
���--msvc-syntaxt ���UNINSTALLED_INTROSPECTION_SRCDIRs���gio-2.0 gmodule-2.0(���t���_optionst���_get_type_functionst���_error_quark_functionst���ost���environt���gett
���_compiler_cmdt���_linker_cmdt���_pkgconfig_cmdt���_pkgconfig_msvc_flagst���_uninst_srcdirt	���_packagest���extendt���packages(���t���selft���optionst���get_type_functionst���error_quark_functions(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���__init__P���s����					c���������C���s���t��j�d�d�d�t�j�����}�i��}�|��j�d��k	�rQ�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����}�|�j
����|�|�d�<d	�j�|��j�j���|�d
�<|��j�|�d���}�t�|�d���}�|�j�t�|���t�|��j���d
�k�r�x&�|��j�D]�}�|�j�d�|�d���q3W|�j�d���t�}	�x>�|��j�D]3�}�|	�r�t�}	�n
�|�j�d���|�j�d�|���qoW|�j�d���n��t�|��j���d
�k�rXx&�|��j�D]�}�|�j�d�|�d���q�W|�j�d���t�}	�x>�|��j�D]3�}�|	�r&t�}	�n
�|�j�d���|�j�d�|���qW|�j�d���n��|�j
����|��j�r�|��j�|�d���}
�n�|��j�|�d���}
�t�j�d�k�r�d�}�n�d�}�|��j�|�|���}�y�|��j�|
�|���WnH�t�k
�r }
�t�j�d���st�j�|���n��t
�d�t �|
�������n�Xy�|��j!�|�|
���WnH�t"�k
�r}
�t�j�d���sft�j�|���n��t
�d�t �|
�������n�Xt#�|�g�|���S(���NR
���s���tmp-introspectt���dirt���girepositorys���gdump.cs���gobject-introspection-1.0s���Couldn't find %rt
���gdump_includes���
t
���init_sectionss���.ct���wi����s
���extern GType s���(void);
s(���GType (*GI_GET_TYPE_FUNCS_[])(void) = {
s���,
s���  s���
};
s���extern GQuark s,���GQuark (*GI_ERROR_QUARK_FUNCS_[])(void) = {
s���.objs���.ot���ntt���exes
���save-tempss'���compilation of temporary binary failed:s$���linking of temporary binary failed: ($���t���tempfilet���mkdtempR���t���getcwdR���t���Nonet���patht���joint���DATADIRt���isfilet
���SystemExitt���opent���readt���closeR
���R#���t���_generate_tempfilet���writet���_PROGRAM_TEMPLATEt���lenR���t���Truet���FalseR���R���t���namet���_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���o_patht���extt���bin_patht���e(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���rune���sv����	


	

	

		R
���c���������C���s2���d�|��j��j�|��j��j�|�f�}�t�j�j�|�|���S(���Ns���%s-%s%s(���R
���t���namespace_namet���namespace_versionR���R+���R,���(���R���R@���t���suffixt���tmpl(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR3�������s����c���������C���sc���|��j��r!�|��j�|��j��|�g�}�n�|��j�|�g�}�t�j�|�|��j�d�t�j��}�|�j����d�j����S(���Nt���stdouti����(���R���R���t
���subprocesst���PopenR���t���PIPEt���communicatet���split(���R���t���flagt���cmdt���proc(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���_run_pkgconfig����s����	
c���
������G���s���|��j��j����}�|��j��d�k�r;�|��j�j�r;�|�j�d���n��|��j�rT�|�j�d���n
�|�j�d���|��j�d���}�|�j�|���t�j	�j
�d�d���}�x!�|�j����D]�}�|�j�|���q��Wx%�|��j�j�D]�}�|�j�d�|���q��W|��j�r|�j�d	�d
�|�d�|�g���n�|�j�d	�d�|�g���x6�|�D].�}�t�j�j
�|���s%t�d
�|�f�����q%q%W|�j�t�|�����|��j�j�s�d�t�j�|���f�GHt�j�j����n��y�t�j�|���Wn"�t�j�k
�r�}	�t�|	�����n�Xd��S(���NR���s���-Walls���-wd4996s���-Wno-deprecated-declarationss���--cflagst���CFLAGSR
���s���-Is���-cs���-Fes���-Fos���-os ���Could not find c source file: %ss���g-ir-scanner: compile: %s(���R���RW���R
���R#���t���appendR���R[���R���R���R���R���t���cpp_includesR+���t���existsR���t���listt���quietRS���t���list2cmdlinet���sysRR���t���flusht
���check_callt���CalledProcessError(
���R���t���outputt���sourcest���argst���pkgconfig_flagst���cflagst���cflagt���includet���sourceRL���(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR:�������s:����	

	!
c���������G���s7��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���n�|�j�d�|�g���|�r��t	�j
�d�k�r��|�j�d���q��|�j�d���n��t	�j�j�d	�d
���}�x!�|�j����D]�}�|�j�|���qWt	�j�j�d�d
���}�x!�|�j����D]�}�|�j�|���q=Wx6�|�D].�}	�t	�j
�j�|	���s[t�d�|	�f�����q[q[W|�j�t�|�����|��j�j�s�|��j�|�|���n
�|��j�|���|��j�j�s�d
�t�j�|���f�GHt�j�j����n��y�t�j�|���Wn"�t�j�k
�r2}
�t�|
�����n�Xd��S(���Ns���--mode=links���--tag=CCs���--silents���-Fes���-oR%���s���-export-all-symbolss���-export-dynamicR\���R
���t���LDFLAGSs���Could not find object file: %ss���g-ir-scanner: link: %s(���R���t���get_libtool_commandR
���R���R]���Ra���R���RW���R���R���R9���R���R���R+���R_���R���R`���t���external_libraryt���_add_link_internal_argst���_add_link_external_argsRS���Rb���Rc���RR���Rd���Re���Rf���R���(���R���Rg���Rh���Ri���t���libtoolRk���Rl���t���ldflagst���ldflagRn���RL���(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR?�������sL����


	

c���������C���s���|��j��d�k�r�|�j�d���n��|�s��|��j��r��|��j�j�rk�|�j�t�j�|��j�j���d�|��j�j�d���q��|�j�t�j�|��j�j���d���q��|�j�d���n��xV�|��j�j�D]H�}�|��j��d�k�r��|�j�d���r��|�j�|���q��|�j�d�|���q��q��Wx��|��j�j	�D]r�}�|��j��d�k�r|�j�d�|���t
�j�j�|���rv|�r_|�j�d	���|�j�|���qs|�j�d
�|���qvqqW|�j
�|��j�d�����d��S(���NR
���s���-L.t���-s���.libs���-Wl,-rpath=.s���.las���-ls���-Ls���-rpaths���-Wl,-rpath=s���--libs(���R���R]���R
���RO���R>���t���lowerRN���t	���librariest���endswitht
���library_pathsR���R+���t���isabsR���R[���(���R���Ri���Rt���t���libraryt���library_path(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyRr���(��s.����	+#
c���������C���ss���|�j��|��j�d�����xV�|��j�j�D]H�}�|��j�d�k�r#�|�j�d���rW�|�j�|���qk�|�j�d�|���q#�q#�Wd��S(���Ns���--libsR
���s���.las���-l(���R���R[���R
���Ry���R���Rz���R]���(���R���Ri���R}���(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyRs���Y��s����(
���R���R���R���RM���R3���R[���R:���R?���Rr���Rs���(����(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR���N���s���		T		(	6	1c���������C���s���t��|��|�|���}�|�j����S(���N(���R���RM���(���R���R���R���t���dc(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���compile_introspection_binaryh��s����(���R���Rc���RS���R<���R'���t���gdumpparserR����R
���R���R5���t	���ExceptionR���R���t���objectR���R����(����(����(����sv���/home/kou/work/ruby/ruby-gnome2.win32/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt���<module>���s���&��