ó ¿×:Uc@sÁddlZddlZddlZddlZddlZddlmZddlmZddl m Z dZ de fd„ƒYZ d e fd „ƒYZd efd „ƒYZd „ZdS(iÿÿÿÿNi(tIntrospectionBinary(tutils(t CCompilers/* This file is generated, do not edit */ #include #include #include %(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 CompilerErrorcBseZRS((t__name__t __module__(((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyRGst LinkerErrorcBseZRS((RR(((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyRKst DumpCompilercBsAeZd„Zd„Zdd„Zd„Zd„Zd„ZRS(cCsÚ||_||_||_tjjddƒ|_tjjd|jƒ|_tjjddƒ|_d|_ |jj ƒ}d|ks–d|kr¢d|_ ntjjd ƒ|_ d g|_ |j j |jƒdS( NtCCtcct PKG_CONFIGs pkg-configtscl.exetcls --msvc-syntaxt UNINSTALLED_INTROSPECTION_SRCDIRsgio-2.0 gmodule-2.0(t_optionst_get_type_functionst_error_quark_functionstostenvirontgett _compiler_cmdt _linker_cmdt_pkgconfig_cmdt_pkgconfig_msvc_flagstsplitt_uninst_srcdirt _packagestextendtpackages(tselftoptionstget_type_functionsterror_quark_functionstargs((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt__init__Qs        cCs¬tjdddtjƒƒ}tjtjj|dƒƒi}|jdk rmtjj|jddƒ}n$tjjtjjt ƒddƒ}tjj |ƒs¹t d|fƒ‚nt |ƒ}|j ƒ}|jƒ||d |jD]3}| r t} n |jdƒ|jd|ƒq‹W|jdƒnt|jƒdkrtx&|jD]}|jd|dƒqñW|jdƒt} x>|jD]3}| rBt} n |jdƒ|jd|ƒq-W|jdƒn|jƒ|jrœ|j|dƒ} n|j|dƒ} tjdkrÆd} nd} |j|| ƒ} y|j| |ƒWnHtk r<} tjdƒs#tj |ƒnt dt!| ƒƒ‚nXy|j"| | ƒWnHt#k r›} tjdƒs‚tj |ƒnt dt!| ƒƒ‚nXt$| g|ƒS(NR stmp-introspecttdirs.libst girepositorysgdump.csgobject-introspection-1.0sCouldn't find %rt gdump_includes t init_sectionss.ctwis extern GType s(void); s(GType (*GI_GET_TYPE_FUNCS_[])(void) = { s, s s }; sextern GQuark s,GQuark (*GI_ERROR_QUARK_FUNCS_[])(void) = { s.objs.otnts.exes save-tempss'compilation of temporary binary failed:s$linking of temporary binary failed: (%ttempfiletmkdtempRtgetcwdtmkdirtpathtjoinRtNonetDATADIRtisfilet SystemExittopentreadtcloseRR&t_generate_tempfiletwritet_PROGRAM_TEMPLATEtlenRtTruetFalseRRtnamet_compileRRthave_debug_flagtshutiltrmtreetstrt_linkRR(Rttmpdirttpl_argst gdump_patht gdump_filetgdump_contentstc_pathtftfunctfirstto_pathtexttbin_pathte((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pytrungsx              R cCs2d|jj|jj|f}tjj||ƒS(Ns%s-%s%s(Rtnamespace_nametnamespace_versionRR-R.(RRCtsuffixttmpl((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR6¼s cCsc|jr!|j|j|g}n|j|g}tj||jdtjƒ}|jƒdjƒS(Ntstdouti(RRt subprocesstPopenRtPIPEt communicateR(Rtflagtcmdtproc((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyt_run_pkgconfigÁs   c Gs*|jjƒ}|jdkr;|jj r;|jdƒn|jrT|jdƒn |jdƒ|jdƒ}|jg|D]}tj |ƒ^q}ƒt j j ddƒ}x!|jƒD]}|j|ƒq»Wt j j ddƒ}x!|jƒD]} |j| ƒqôWx%|jj D]} |jd | ƒqW|jr]|jd d |d |gƒn|jd d |gƒx6|D].} t jj| ƒsztd| fƒ‚qzqzW|jt|ƒƒ|jjsðdtj|ƒfGHtjjƒnytj|ƒWn"tjk r%} t| ƒ‚nXdS(Ntgccs-Walls-wd4996s-Wno-deprecated-declarationss--cflagstCPPFLAGSR tCFLAGSs-Is-cs-Fes-Fos-os Could not find c source file: %ssg-ir-scanner: compile: %s(RRRR&tappendRR]RRtcflag_real_include_pathRRRt cpp_includesR-texistsRtlisttquietRVt list2cmdlinetsysRUtflusht check_calltCalledProcessError( RtoutputtsourcesR!tpkgconfig_flagsRItcppflagstcppflagtcflagstcflagtincludetsourceRO((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyR=Ís@  ) !  cGsÎg}tj|jƒ}|rd|j|ƒ|jdƒ|jdƒ|jjrd|jdƒqdn|j|jjƒƒ|jrš|jd|gƒn|jd|gƒ|rât j dkrÒ|jdƒqâ|jdƒnt j j d d ƒ}x!|jƒD]}|j|ƒqWt j j d d ƒ}x!|jƒD]}|j|ƒq=Wt j j d d ƒ} x!| jƒD]} |j| ƒqvWx6|D].} t j j| ƒs”td | fƒ‚q”q”W|jt|ƒƒtƒ} |jjsA| j|||jj|jj|j|jj|jjƒ|j|jdƒƒn2|j|jdƒƒ| j||jj|jƒ|jjs¤dtj|ƒfGHtjjƒnt j j ddƒ} | rvt j j ddƒ}t j!ƒ\}}t j"|dƒ}dj#g|D]}|j$ddƒ^qƒ}dj%|ƒ}|j&|ƒ|j'ƒtj(|ƒ}||j$ddƒg}nz:ytj)|ƒWn"tj*k r®}t+|ƒ‚nXWd| rÉt j,|ƒnXdS(Ns --mode=links--tag=CCs--silents-Fes-oR(s-Wl,--export-all-symbolss-export-dynamicR_R R`tLDFLAGSsCould not find object file: %ss--libssg-ir-scanner: link: %stMSYSTEMtSHELLssh.exetwbt s\t/s#!/bin/sh unset PWD {} (-Rtget_libtool_commandRRRaRfRRRRR<RRR-RdRReRtexternal_librarytget_internal_link_flagst librariest library_pathsRQRRR]tget_external_link_flagsRVRgRhRURiR/R)tmkstemptfdopenR.treplacetformatR7R5twhichRjRkRtremove(RRlRmR!tlibtoolRoRpRqRrtldflagstldflagRtR tmsystshellttfttf_nameRItxt shellcontentst fcontentsRO((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyRBøs„                 .  (RRR"RPR6R]R=RB(((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyROs   U  +cCst|||ƒ}|jƒS(N(RRP(RRR tdc((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pytcompile_introspection_binaryOs(RRhRVR?R)t gdumpparserRR Rt ccompilerRR8t ExceptionRRtobjectRR’(((sp/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/dumper.pyts     &ÿ