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

List:       kde-release-team
Subject:    Re: Python bindings (Re: KDE Frameworks 5.60.0)
From:       Shaheed Haque <shaheedhaque () gmail ! com>
Date:       2019-07-08 20:59:09
Message-ID: CAHAc2jcK9qtRxx1f_Uo_SyD=_0Xf+HXQWd9o1X18SWDQr_bQYg () mail ! gmail ! com
[Download RAW message or body]

On Sun, 7 Jul 2019 at 22:11, Luca Beltrame <lbeltrame@kde.org> wrote:

> In data domenica 7 luglio 2019 23:09:04 CEST, David Faure ha scritto:
>
> Hello David,
>
> > Who knows more about this? (CC'ing some people found in git log)
>
> Unfortunately the system was poorly documented. Perhaps Shaheed knows a
> bit
> more about this: I only know that the bindings are somehow autogenerated.
>

My original design concept was that the the SIP files that are used to
generate the bindings could themselves be generated from the KDE (or other)
project's header files by applying certain common patterns *and then
overriding those patterns* using custom code as needed. I'm attaching the
README from the pyqt5 repo on the KDE git farm that describes this.


https://cgit.kde.org/pykde5.git/tree/sip_generation/README?h=srhaque-new-sip-generator

However, Steve took that original design and adapted it in ways I'm no
longer able to describe. I'm not sure if he is able to comment, but IIRC,
he did not like some of the high  layers that the README references, and I
was not able to convince him otherwise. I *think* he did a lot of work at
the CMake level, but I cannot now recall exactly what that was about.

Sorry not to be more help,

Shaheed


> --
> Luca Beltrame - KDE Forums team
> GPG key ID: A29D259B

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr">On Sun, 7 Jul 2019 at 22:11, Luca Beltrame &lt;<a \
href="mailto:lbeltrame@kde.org">lbeltrame@kde.org</a>&gt; wrote:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In data domenica 7 \
luglio 2019 23:09:04 CEST, David Faure ha scritto:<br> <br>
Hello David,<br>
<br>
&gt; Who knows more about this? (CC&#39;ing some people found in git log)<br>
<br>
Unfortunately the system was poorly documented. Perhaps Shaheed knows a bit <br>
more about this: I only know that the bindings are somehow \
autogenerated.<br></blockquote><div><br></div><div>My original design concept was \
that the the SIP files that are used to generate the bindings could themselves be \
generated from the KDE (or other) project&#39;s header files by applying certain \
common patterns *and then overriding those patterns* using custom code as needed. \
I&#39;m attaching the README from the pyqt5 repo on the KDE git farm that describes \
this.</div></div><div class="gmail_quote"><br></div><div class="gmail_quote">         \
<a href="https://cgit.kde.org/pykde5.git/tree/sip_generation/README?h=srhaque-new-sip- \
generator">https://cgit.kde.org/pykde5.git/tree/sip_generation/README?h=srhaque-new-sip-generator</a></div><div \
class="gmail_quote"><br></div><div class="gmail_quote">However, Steve took that \
original design and adapted it in ways I&#39;m no longer able to describe. I&#39;m \
not sure if he is able to comment, but IIRC, he did not like some of the high   \
layers that the README references, and I was not able to convince him otherwise. I \
*think* he did a lot of work at the CMake level, but I cannot now recall exactly what \
that was about.<br></div><div class="gmail_quote"><div><br></div><div>Sorry not to be \
more help,</div><div><br></div><div>Shaheed<br></div><div>  </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
                rgb(204,204,204);padding-left:1ex">
-- <br>
Luca Beltrame - KDE Forums team<br>
GPG key ID: A29D259B</blockquote></div></div>



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

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