<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8469</bug_id>
          
          <creation_ts>2015-10-09 10:00:55 +0000</creation_ts>
          <short_desc>Add gobject-introspection support directly to oe-core</short_desc>
          <delta_ts>2016-03-16 13:04:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          <blocked>8640</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Kanavin">alex.kanavin</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55100</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-10-09 10:00:55 +0000</bug_when>
    <thetext>The work would be based on meta-gir, but with the mandatory goal of producing patches of sufficient quality that can be sent upstream.

The upstream tarball is a mess that mashes together several different things and was never designed for cross-compiling; and meta-gir is also difficult to understand: autotools-based build files are patched using undocumented patchfiles, then again patched from the recipe using sed, with sparse or absent comments - all that needs to be sorted. I&apos;m looking into this now, but don&apos;t yet have anything to show.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55398</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-10-16 15:14:23 +0000</bug_when>
    <thetext>Please check with upstream before putting much work into meta-gir.
There seems to be an effort in place to fix gobject-introspection for cross-compile environment using the mesonbuild tool:
   https://blogs.gnome.org/ignatenko/2015/07/24/guadec-presentation-preview-compiling-gnome-apps-with-the-meson-build-system/

Someone needs to determine if this is actually going to happen and if it solves our x-compile problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55410</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-10-17 05:11:18 +0000</bug_when>
    <thetext>This is the upstream discussion:
https://bugzilla.gnome.org/show_bug.cgi?id=743280

What I take from it, it&apos;s not happening soon, and they&apos;re not replacing autotools with it in existing projects.

In any case, I don&apos;t see how mesonbuild would fix g-o in cross-compile environments. The link you provide says nothing about that specifically. The issue with g-o isn&apos;t the build system, it&apos;s the g-o tools themselves that need to be compiled both for native and target architectures, and then require a delicate combination of both to produce correct output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55412</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-10-17 15:04:54 +0000</bug_when>
    <thetext>Oh well, the impression I had was that the next version of gnome might switch to mesonbuild and that mesonbuild would help with x-compile of the poorly designed g-object-introspection code. If that&apos;s not the case then I agree with proceed with your plan. Thanks for taking the time to investigate and reply.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55413</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-10-17 16:29:40 +0000</bug_when>
    <thetext>No problem. I&apos;m in the middle of making it all work, and hope to produce an initial patchset for testing and review in 5-10 working days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56326</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2015-11-09 15:15:26 +0000</bug_when>
    <thetext>Posted the initial patchset here http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112455.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60009</commentid>
    <comment_count>6</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-03-16 13:04:34 +0000</bug_when>
    <thetext>Patches are in master!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>