[KDE/Mac] How can I change one piece of code in a MacPorts installation?

Ian Wadham iandw.au at gmail.com
Mon Jul 21 08:28:05 UTC 2014


Hi Marko,

On 21/07/2014, at 3:50 PM, Marko Käning wrote:
> On 21 Jul 2014, at 05:43 , Ian Wadham <iandw.au at gmail.com> wrote:
>> What I am wondering is whether there is some way I could edit
>> the KCrash source-code, rebuild kdeui library or the whole of
>> kdelibs4 and then install it down in MacPorts (/opt/local)?
> 
> well, I had promised to keep the MacPorts/KDE repository up to date
> with your KCrash patches, but I was swamped with KF5 work, which is
> why I hadn’t done that yet.
> 
> Now I see that you indeed have a real need for those patches in
> MacPorts. So, I’ll do this right away. Give me half an hour to test
> this.
> 
> Apart from that I suggest you check out MacPorts’ Guide regarding
> setting up local portfile repositories [1] or my comments in [2].
> 
> In any case, please clone the MacPorts/KDE repo [3] where I’ll
> push your patches to in a few minutes.
> 
> Greets,
> Marko
> 
> P.S.: If you were present on IRC we could discuss more directly. ;)
> 
> 
> [1] https://guide.macports.org/#development.local-repositories
> [2] https://projects.kde.org/projects/playground/sdk/macports-kde/repository/revisions/master/entry/README.txt
> [3] https://projects.kde.org/projects/playground/sdk/macports-kde

Thanks very much for all this info and the patches and the macports-kde
repository.  I have now managed to do sudo port upgrade on kdelibs4
and got it to build with the amended KCrash code.

At first sight, it looks as though KCrash has never been able to start
Dr Konqi by sending a message on a socket to kdeinit4.  I still get the
same "connect" error and it starts Dr K by forking it.  But I need to get
some more log messages into the code to prove exactly what is going
on down there…

Thanks again, Marko.  And now that I can understand the technique
for inserting local test patches into MacPorts, I can investigate other
mysteries, such as why kdeinit4 does not start kded4 automatically
on Apple OS X.  It is supposed to.

Cheers, Ian W.



More information about the kde-mac mailing list