<p dir="ltr">At this point, now that Steve's integration with cmake is emerging into the sunlight, my branches in kdebindings and github should be considered as of academic interest only.</p>
<p dir="ltr">As time permits, I plan to focus on wherever the integration work lands.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 7 Nov 2016 10:33 a.m., "Boudewijn Rempt" <<a href="mailto:boud@valdyas.org">boud@valdyas.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 1 Nov 2016, Stephen Kelly wrote:<br>
<br>
> [I wrote this yesterday but just realized it didn't get delivered]<br>
><br>
> Boudewijn Rempt wrote:<br>
><br>
> > I'm wondering what the status is of this project...<br>
><br>
> Hi Boud,<br>
><br>
> I've been busy moving from Berlin back to Dublin, which I just did last<br>
> weekend. Things were blocked on me for some months.<br>
><br>
> I've just now pushed the first iteration of the bindings to ECM and a use<br>
> of<br>
> the generator to KItemModels.<br>
<br>
Oh, cool! I will check out both. What I'm not clear on, though is, the last<br>
part -- is the generator that uses python-clang still in shaheed's branch<br>
in PyKDE5? Or somewhere else?<br>
<br>
><br>
> Next steps are<br>
><br>
> 1) Figure out any issues with those regarding CI, packaging etc.<br>
> 2) Add bindings for other simple libraries<br>
> 3) Extend the features of the binding generator<br>
> 4) Add bindings for other libraries which need advanced features<br>
> 5) GOTO step 3<br>
><br>
> There are already features which we worked on some months ago which I held<br>
> back from the generator for now, so that there is something easy to debug<br>
> for step 1.<br>
><br>
> > I've spend the past<br>
> > week defining Krita's bindings wrapper library, and then spent some time<br>
> > exposing it to Python. I've first used Python to wrap and expose<br>
> > properties and slots dynamically<br>
> > (<a href="https://phabricator.kde.org/diffusion/KRITA/browse/rempt%252FT1625-python-scripting/plugins/extensions/pykrita/plugin/krita/mikro.py" rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>diffusion/KRITA/browse/rempt%<wbr>252FT1625-python-scripting/<wbr>plugins/extensions/pykrita/<wbr>plugin/krita/mikro.py</a>),<br>
> > but I'm also considering doing full sip-based bindings.<br>
> ><br>
> > Writing those by hand is going to be a chore, so it would be nice if the<br>
> > autogeneration tool works. This is the bindings library:<br>
> ><br>
> > <a href="https://phabricator.kde.org/diffusion/KRITA/browse/rempt%252FT1625-python-scripting/plugins/extensions/pykrita/libkis/" rel="noreferrer" target="_blank">https://phabricator.kde.org/<wbr>diffusion/KRITA/browse/rempt%<wbr>252FT1625-python-scripting/<wbr>plugins/extensions/pykrita/<wbr>libkis/</a><br>
> ><br>
> > (Very rough, most things aren't implemented yet, and I generated it from a<br>
> > dumb definition file.)<br>
><br>
> I haven't had a look yet. Hopefully the generator will be usable for those<br>
> kinds of things.<br>
><br>
> Thanks,<br>
><br>
> Steve.<br>
><br>
<br>
--<br>
Boudewijn Rempt | <a href="http://www.krita.org" rel="noreferrer" target="_blank">http://www.krita.org</a>, <a href="http://www.valdyas.org" rel="noreferrer" target="_blank">http://www.valdyas.org</a><br>
</blockquote></div></div>