<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/26 Mark Howell <span dir="ltr"><<a href="mailto:mark-sub1@hypgnosys.org" target="_blank">mark-sub1@hypgnosys.org</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Greetings...<br>
<br>
I'd like to be able to use GStreamer and related packages built with cerbero from Python. I'm thinking other folks out there would like to use the gobject bindings for Python and other languages. Currently introspection is disabled in the cerbero build recipes.<br>


<br>
In my 1.2 sandbox I have a recipe now for gobject-introspection and have modified some gst* recipes to enable introspection and generate typelib files. I have modified some packages to find and incorporate typelib files for distribution. It is working for me in that I can build and run pipelines and gst-rtsp-server (with some other minor mods) in Python, on Linux (Precise).<br>


<br>
It doesn't work on Windows yet; apparently there are some pieces or config missing in the Windows bootstrap configuration to enable building Python extensions. Introspection could be applicable to OS/X but I don't have a Mac to work with. I don't know whether introspection is of use on Android or iOS.<br>


<br>
To offer patches (starting with just Linux, I expect), shall I open a GStreamer bug at <a href="http://bugzilla.gnome.org" target="_blank">bugzilla.gnome.org</a>, or is there a better forum for cerbero mods?<br></blockquote>

<br><div><br></div><div>Hi Mark,<br><br></div>Open a new bug in 
bugzilla in cerbero's component for that.<br><br>Since building 
gobject-introspection will most likely never work in a cross-compilation
 environment, you should make it a variant in cerbero. Like the 
'nodebug' variant, there should be a 'gobject-instrospection' variant so
 that it can be easily enabled/disabled in the config. This can also help when listing the files installed by a recipe, simpler than checking whether we are cross-compiling and if the target platform supports it.<br><br>

</div><div class="gmail_quote">In the prepare() blocks you should en up doing something like:<br></div><div class="gmail_quote">  if <a href="http://self.config.variants.gi">self.config.variants.gi</a>:<br></div><div class="gmail_quote">

      self.config_sh += ' --enable-instrospection'<br></div><div class="gmail_quote"><br>In Windows, the bootstrap set up everything to build python modules, we already build gst-python and others so it more likely an issue in the configure scripts detecting the installed python.<br>

<br></div><div class="gmail_quote">Last time I checked in OS X, GI was completely broken. I hope this situation is now fixed but you don't have to worry for now because being  a variant, it can be disabled for this platform :)<br>

</div><div class="gmail_quote"><br></div><div class="gmail_quote"></div><div class="gmail_quote">Cheers,<br></div><div class="gmail_quote">Andoni<br></div><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
Cheers,<br>
<br>
Mark.<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>