kate: possible to drop dependency on kactivities?
Given all horror with a defunct nepomuk, is it possible not to use kactivities at all? It will be great to have an open-source code editor that does not use X11, but has GUI. I think kate is the only one available.
kdelibs4 should be functional, perhaps, since a number of KDE4 ports were working fine.
On Wednesday January 15 2025 08:20:44 Sergey Fedorov wrote:
Given all horror with a defunct
nepomuk, is it possible not to usekactivitiesat all?
Well, I don't use it ;)
But I have no idea whether it's possible to disable the feature at build time. I know however that you can check that as well as I can.
I'm pretty certain that I don't run the kactivities daemon, and that I only have nepomuk on my systems to satisfy dependencies.
It will be great to have an open-source code editor that does not use X11, but has GUI. I think
kateis the only one available.kdelibs4should be functional, perhaps, since a number of KDE4 ports were working fine.
TextWrangler and BBEdit are maybe not open source but they're at least as good as Kate 4.x I'd say. And then there's the editor component of QtCreator, which isn't half-bad either.
@RJVB In fact just deleting kactivities from portfile worked (I used my earlier portfile, since git fetch which macstrop one uses fails), no not an issue.
Kate builds fine then, but crashes on launch (like it did before too).
Error is “index out of range”, pointing to qlist.h line 477.
On Friday January 17 2025 17:08:23 Sergey Fedorov wrote:
@RJVB In fact just deleting
kactivitiesfrom portfile worked
That doesn't change anything of course unless you don't have kactivities installed.
(I used my earlier portfile, since git fetch which macstrop one uses fails), no not an issue.
Pushing a fix for that in a bit.
Error is “index out of range”, pointing to
qlist.hline 477.
That's somewhere deep in Qt and undoubtedly because of a bug in kate.
@RJVB Well, if the build itself does not require kactivities, it is not a hard dependency. I did not modify the code for that, I simply removed it from depends_lib.
Does Kate work for you in Qt4 version btw? Wonder if this issue can be tracked to what’s causing it.
On Saturday January 18 2025 08:37:22 Sergey Fedorov wrote:
@RJVB Well, if the build itself does not require kactivities, it is not a hard dependency. I did not modify the code for that, I simply removed it from depends_lib.
Again, that's only true if you don't have kactivities already installed!
Does Kate work for you in Qt4 version btw? Wonder if this issue can be tracked to what’s causing it.
Last time I checked it sure did. Tracing the cause will start by looking at the backtrace (and hoping it's not in some async. callback).