[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] Progress report on Py*5 binding generation
From:       Shaheed Haque <srhaque () theiet ! org>
Date:       2016-05-01 10:58:17
Message-ID: CAHAc2jfMo1ZgB0A6BJLzhYeubu0pQ+riG08hG0ix=mWcC41Yjg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Steve, do you know what point in the upstream code you forked? Knowing that
would help me work out what you did/need (I might have committed the
original code before the forked copies, but c'est la vie).

On 1 May 2016 at 11:54, Shaheed Haque <srhaque@theiet.org> wrote:

> Never mind, I was being an idiot...
>
> On 1 May 2016 at 11:52, Shaheed Haque <srhaque@theiet.org> wrote:
>
>> BTW, I just went looking for
>> https://github.com/steveire/extra-cmake-modules/commits/generate-python-bindings,
>> but I guess I should be looking here at
>> https://github.com/steveire/frameworks-bindings instead, right?
>>
>> On 1 May 2016 at 11:47, Stephen Kelly <steveire@gmail.com> wrote:
>>
>>> Shaheed Haque wrote:
>>>
>>> > Steve,
>>> >
>>> > I've still not yet had a chance to catch up with all your good works,
>>> but
>>> > I have just pushed what I consider usable %MethodCode injection [1].
>>> This
>>> > includes a naive forward port of the PyKDE4 %MethodCode fragments. The
>>> > documentation is updated too. With luck this should provide a good
>>> > template for other forms of code injection. %TypeCode is the obvious
>>> next
>>> > target, and with that in place, I think we'll have all the logic in
>>> place
>>> > to support most anything PyKDE4 could do but in a sustainable manner.
>>>
>>> Sounds great!
>>>
>>> >
>>> > I'm still in a bit of a crunch time here for the next few weeks, but
>>> will
>>> > try to make time to look at your fork and maybe %TypeCode.
>>>
>>> Cool. I don't think there's generally urgency - there has not been KF5
>>> bindings for years (and it surprised me to learn that actually). However,
>>> collaborating in one repo and one way forward would be better than two.
>>>
>>> > FWIW, the naive forward port of the PyKDE4 fragments is more or less a
>>> > simple import of the original code, and this clearly does not apply in
>>> > many cases. What is there is intended more as a demonstration of the
>>> > techniques of using either fixed strings, or functions to generate the
>>> > custom code needed.
>>>
>>> Cool. I saw things related to KConfigSkeleton and KLocalizedString which
>>> are
>>> presumably useful to make real bindings. So far, I've just discarded
>>> those
>>> in the bindings I've made.
>>>
>>> I also filed
>>>
>>>  https://phabricator.kde.org/T2389
>>>
>>> for tracking by the CI team.
>>>
>>> Thanks,
>>>
>>> Steve.
>>> _______________________________________________
>>> Kde-bindings mailing list
>>> Kde-bindings@kde.org
>>> https://mail.kde.org/mailman/listinfo/kde-bindings
>>>
>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">Steve, do you know what point in the upstream code you forked? Knowing \
that would help me work out what you did/need (I might have committed the original \
code before the forked copies, but c&#39;est la vie).<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On 1 May 2016 at 11:54, Shaheed \
Haque <span dir="ltr">&lt;<a href="mailto:srhaque@theiet.org" \
target="_blank">srhaque@theiet.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Never mind, I was being an \
idiot...<br></div><div class="HOEnZb"><div class="h5"><div \
class="gmail_extra"><br><div class="gmail_quote">On 1 May 2016 at 11:52, Shaheed \
Haque <span dir="ltr">&lt;<a href="mailto:srhaque@theiet.org" \
target="_blank">srhaque@theiet.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">BTW, I just went looking for <a \
href="https://github.com/steveire/extra-cmake-modules/commits/generate-python-bindings" \
target="_blank">https://github.com/steveire/extra-cmake-modules/commits/generate-python-bindings</a>, \
but I guess I should be looking here at <a \
href="https://github.com/steveire/frameworks-bindings" \
target="_blank">https://github.com/steveire/frameworks-bindings</a> instead, \
right?<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 1 \
May 2016 at 11:47, Stephen Kelly <span dir="ltr">&lt;<a \
href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><span>Shaheed Haque wrote:<br> <br>
&gt; Steve,<br>
&gt;<br>
&gt; I&#39;ve still not yet had a chance to catch up with all your good works, \
but<br> &gt; I have just pushed what I consider usable %MethodCode injection [1]. \
This<br> &gt; includes a naive forward port of the PyKDE4 %MethodCode fragments. \
The<br> &gt; documentation is updated too. With luck this should provide a good<br>
&gt; template for other forms of code injection. %TypeCode is the obvious next<br>
&gt; target, and with that in place, I think we&#39;ll have all the logic in \
place<br> &gt; to support most anything PyKDE4 could do but in a sustainable \
manner.<br> <br>
</span>Sounds great!<br>
<span><br>
&gt;<br>
&gt; I&#39;m still in a bit of a crunch time here for the next few weeks, but \
will<br> &gt; try to make time to look at your fork and maybe %TypeCode.<br>
<br>
</span>Cool. I don&#39;t think there&#39;s generally urgency - there has not been \
KF5<br> bindings for years (and it surprised me to learn that actually). However,<br>
collaborating in one repo and one way forward would be better than two.<br>
<span><br>
&gt; FWIW, the naive forward port of the PyKDE4 fragments is more or less a<br>
&gt; simple import of the original code, and this clearly does not apply in<br>
&gt; many cases. What is there is intended more as a demonstration of the<br>
&gt; techniques of using either fixed strings, or functions to generate the<br>
&gt; custom code needed.<br>
<br>
</span>Cool. I saw things related to KConfigSkeleton and KLocalizedString which \
are<br> presumably useful to make real bindings. So far, I&#39;ve just discarded \
those<br> in the bindings I&#39;ve made.<br>
<br>
I also filed<br>
<br>
  <a href="https://phabricator.kde.org/T2389" rel="noreferrer" \
target="_blank">https://phabricator.kde.org/T2389</a><br> <br>
for tracking by the CI team.<br>
<div><div><br>
Thanks,<br>
<br>
Steve.<br>
_______________________________________________<br>
Kde-bindings mailing list<br>
<a href="mailto:Kde-bindings@kde.org" target="_blank">Kde-bindings@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-bindings" rel="noreferrer" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br> \
</div></div></blockquote></div><br></div> </div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>


[Attachment #6 (text/plain)]

_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic