Re: Building kate as documented on the web page

Kåre Särs <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <2093672.irdbgypaU6@sars-xps-13-9370>
On onsdag 2 februari 2022 12:11:40 EET Christoph Cullmann (cullmann.io) wrote:
> On 2022-02-02 08:50, slbtty wrote:
> > I think rolling-distro users like us are actually the minority.
> > 
> > Stable-distro users don't have new libraries. If they ever want to
> > build from source, they are highly going to manipulate the code. If
> > so, letting them get sources from the master branch can avoid dealing
> > with already fixed bugs in dependencies.
> 
> Hi,
> 
> I think if you have a distro that up-to-date that you can do that, you
> don't need any howto.
> 
> Without kdesrc-build you can't build it on any normal distro that is not
> rolling release
> that is not bleeding edge.
> 
> Beside, if you want to work on other parts, a kdesrc-build setup is nice
> to have
> and it will properly setup the stuff for clangd if used like described.
> 
> If you want to add to the howto the cmake variant, feel free to submit
> some merge request
> with some extension to this page, I would have no issues with proposing
> that there, too,
> for people like you ;=)
> 

That is actually also how I have built Kate and KTextEditor on KDE Neon for years :) 

The downside is that if I temporarily need a newer version of some KF5 library than what 
Neon provides (no release yet) I might have to keep building newer versions until I do a 
proper cleanup of installed cmake files for that library...

Cheers,
  Kåre

> Greetings
> Christoph
> 
> > Just guessing.
> > 
> > On Tue, Feb 1, 2022 at 5:23 PM Alexander Neundorf <[email protected]>
> > 
> > wrote:
> >> Hi,
> >> 
> >> 
> >> on kate-editor.org, the documentation how to build kate basically only
> >> talks about how to build it using kdesrc-build:
> >> https://kate-editor.org/build-it/
> >> 
> >> 
> >> To me, this seems quite complicated.
> >> 
> >> I just installed the KDE development packages from my distro (OpenSUSE
> >> Tumbleweed), ran cmake on the kate source tree, and then I can build
> >> it successfully, and to me it appears much simpler and more
> >> straightforward.
> >> 
> >> 
> >> Why isn't this recommended ?
> >> 
> >> 
> >> Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.