[Kde-bindings] Progress report on Py*5 binding generation

Shaheed Haque srhaque at theiet.org
Sun May 1 10:54:30 UTC 2016


Never mind, I was being an idiot...

On 1 May 2016 at 11:52, Shaheed Haque <srhaque at 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 at 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 at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-bindings
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20160501/c96f3ba4/attachment.html>


More information about the Kde-bindings mailing list