<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-06-21 23:11 GMT+02:00 Jack Jansen <span dir="ltr"><<a href="mailto:Jack.Jansen@cwi.nl" target="_blank">Jack.Jansen@cwi.nl</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"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On  21-Jun-2015, at 18:33 , Andoni Morales <<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>> wrote:</div><br><div><p dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>El 19/6/2015 11:22 p. m., "Jack Jansen" <<a href="mailto:Jack.Jansen@cwi.nl" target="_blank">Jack.Jansen@cwi.nl</a>> escribió:<br>><br>> Andoni,<br>> thanks for your note. I had indeed in the mean time found out that gobject-introspection is available nowadays, only that it is disabled if you do a universal build.</p><p dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">The universal build is a bit tricky to handle due to the design of gobject introspection. Anyway the universal builds are no longer maintained, the last version of Mac with a 32 bits kernel is Lion and the last Mac with a 32 bits arch is from 2006.<br></p></div></blockquote><div><br></div></span>Hmm, you’re right. But I’m still building all software that I distribute universal 32/64, specifically to be able to target 10.7, as there are still quite a few pretty capable machines from that era around (Mac Pro, last white MacBook, Mac Mini). And actually I have a few sitting here and there as semi-turnkey systems:-)</div><div><br></div><div>I seem to read in your email that any mods to universal builds to enable gobject introspection won’t be accepted into the mainstream. Is that correct?</div></div></blockquote><div><br></div><div>You can find my attemp at supporting universal builds of gi here:<br><a href="https://github.com/ylatuya/cerbero/commit/1802e841bfba84fae63a45dc3a1d97e8ccac49de">https://github.com/ylatuya/cerbero/commit/1802e841bfba84fae63a45dc3a1d97e8ccac49de</a><br><br></div><div>My approach consisted in adding a new configuratoin option to gobject-introspection for configuring where typelibs and gir files are installed:<br>  * <span class=""><span class="">--with-typelib-<span class="">suffix=girepository-1.0/$ARCH<br></span></span></span><span class=""><span class=""><span class=""><span class=""><span class="">  * --with-gir-<span class="">suffix=</span>gir-1.0/$ARCH<br><br>This way each architecture installs on its own subdirectory and at runtime the same subdirectory is used depending on which arch is loaded.<br><br></span></span></span></span></span></div><div><span class=""><span class=""><span class=""><span class=""><span class="">I don't think there is much intereset in supporting 32bits, compared to the burden of maintaining it, the OS X system plugins are now using new API's like the VideoToolBox that wouldn't be available in those macs. You should ask slomo or _tim in #gstreamer for that.<br><br></span></span></span></span></span></div><div><span class=""><span class=""><span class=""><span class=""><span class="">Andoni<br></span></span></span></span></span></div><div><span class=""><span class=""><span class=""><span class=""><span class=""><br></span></span></span></span> <br></span></div><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"><div style="word-wrap:break-word"><div><div><div class="h5"><br><blockquote type="cite"><div><p dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">><br>> I’m looking at that, and if I have anything to contribute I’ll do it through the bug tracker.<br>><br>> Regards,<br>> Jack<br>><br>>> On  19-Jun-2015, at 17:49 , Andoni Morales <<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>> wrote:<br>>><br>>> Hi Jack,<br>>><br>>> Support for gobject-introspection was merged some time ago in cerbero, so you already have everything you need to use GStreamer with python in OS X. An example of project using it is pitivi, for which there is a recipe too.<br>>><br>>> If there is anything missing or something you want to fix/change, file bugs in bugzilla for the component "cerbero":<br>>><br>>><a href="https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer;component=cerbero" target="_blank"><span> </span>https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer;component=cerbero</a><br>>><br>>><br>>> Andoni<br>>><br>>> 2015-06-18 23:42 GMT+02:00 Jack Jansen <<a href="mailto:Jack.Jansen@cwi.nl" target="_blank">Jack.Jansen@cwi.nl</a>>:<br>>>><br>>>> First, a question: is anyone else interested in using GStreamer from Python on the Mac?<br>>>><br>>>> If not, we can stop here, and I’ll just continue hacking for my own benefit:-)<br>>>><br>>>> But if other people are interested I have an offer, and a few more questions.<br>>>><br>>>> What I have is a full OSX framework with gstreamer 1.0, gtk, gobject-introspection and everything else you need to use gstreamer from Python. I’ve been using this for over two years in various projects, along with a couple of friends, and it works just fine. The bad news is that I started this 2 years ago based on the<a href="http://gstreamer.com/" target="_blank"><span> </span>gstreamer.com</a><span> </span>fork, and my attempts to feed back these fixes into the mainstream went nowhere. This may well be because I wasn’t aware of the differences between the<a href="http://gstreamer.com/" target="_blank"><span> </span>gstreamer.com</a><span> </span>community and the<a href="http://gstreamer.freedsktop.org/" target="_blank"><span> </span>gstreamer.freedsktop.org</a><span> </span>community and contacted the wrong people, I don’t know. But anyway: so far my mods haven’t seen wide adoption.<br>>>><br>>>> So my offer is that I revive the 2 year old stuff and contribute it for integration into the current<a href="http://freedesktop.org/" target="_blank"><span> </span>freedesktop.org</a><span> </span>repository for everybody’s enjoyment.<br>>>><br>>>> And this is where the questions come.<br>>>><br>>>> - Would this have any chance of being integrated into the main repository? Assuming the core team reviews it favourably, etc etc etc…<br>>>><br>>>> - Anything I need to be aware of wrt licensing/legal issues? GPL, of course, and I can arrange for copyright transfer if that’s wanted, but it’d be good to know this in advance (as I am doing this in work time).<br>>>><br>>>> - What is the best procedure to start developing? Fork the git, then branch, then develop? Something else?<br>>>><br>>>> - How do I offer this for review/reintegration when it is done? Through the bugzilla? How?<br>>>><br>>>> - How should I handle changes to upstream packages? For example, I have a mod to the gtk build process that is needed to expose NSViews from widgets so they can be used for GStreamer rendering from Python. The cerbero recipe for gtk builds from a tarball, should I add a patch, or should I build gtk from a forked git repository? Any help on how I feed this back to the Btk developers?<br>>>><br>>>> - And, actually, same question for changes to gstreamer packages. Fork the relevant repository and add a branch?<br>>>><br>>>> - Finally, is anyone from the core team willing to enlighten me/hold my hand/mentor me, when needed?<br>>>><br>>>> Regards,<br>>>> --<br>>>> Jack Jansen, <<a href="mailto:Jack.Jansen@cwi.nl" target="_blank">Jack.Jansen@cwi.nl</a>>,<a href="http://www.cwi.nl/~jack" target="_blank"><span> </span>http://www.cwi.nl/~jack</a><br>>>> If I can't dance I don't want to be part of your revolution -- Emma Goldman<br>>>><br>>>><br>>>><br>>>> _______________________________________________<br>>>> gstreamer-devel mailing list<br>>>><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank"><span> </span>gstreamer-devel@lists.freedesktop.org</a><br>>>><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank"><span> </span>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>>><br>>><br>>><br>>><br>>> --<span> </span><br>>> Andoni Morales Alastruey<br>>><br>>> LongoMatch:The Digital Coach<br>>><a href="http://www.longomatch.ylatuya.es/" target="_blank"><span> </span>http://www.longomatch.ylatuya.es</a><br>>> _______________________________________________<br>>> gstreamer-devel mailing list<br>>><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank"><span> </span>gstreamer-devel@lists.freedesktop.org</a><br>>><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank"><span> </span>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>><br>><br>> --Jack Jansen, <<a href="mailto:Jack.Jansen@cwi.nl" target="_blank">Jack.Jansen@cwi.nl</a>>,<a href="http://www.cwi.nl/~jackIf" target="_blank"><span> </span>http://www.cwi.nl/~jackIf</a><span> </span>I can't dance I don't want to be part of your revolution -- Emma Goldman<br>><br>><br>><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank"><span> </span>gstreamer-devel@lists.freedesktop.org</a><br>><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank"><span> </span>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>><br></p><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">gstreamer-devel mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:gstreamer-devel@lists.freedesktop.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div></div></div><div><div class="h5"><br><div>
<span style="border-collapse:separate;border-spacing:0px">--Jack Jansen, <<a href="mailto:Jack.Jansen@cwi.nl" target="_blank">Jack.Jansen@cwi.nl</a>>, <a href="http://www.cwi.nl/~jack" target="_blank">http://www.cwi.nl/~jack</a>If I can't dance I don't want to be part of your revolution -- Emma Goldman<br></span><br>
</div>
<br></div></div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a></div>
</div></div>