Kate5 on Mac

Given that the KF5 based Kate works OK on Windows, I would like to get the Mac version up and running, too.

As virtualization of MacOS X is kind of “forbidden” and not that nicely usable anyway, as no nice accelerating drivers are available for the standard vm solutions, I just went out into the world and bought some Retina MacBook.

I followed the nice guide on https://github.com/haraldF/homebrew-kf5 (thanks Harald :=) and got some installed Kate/KWrite (after patching kio to skip X11 detection).

But ok, not that usable, at least without any investigation which env vars are missing per default you get a Kate that crashs or just shows the main window central content without any actions/menus/toolbars/sidebars/…

In addition, the application is scaled, as the manifest that tells we are able to handle retina bla stuff is missing.

Guess lots of work ahead, but given I have now some Mac, I will work on that in the following months ;)

P.S. I never had a Mac before and got often told by “Mac Fans” that I should switch to some “real” operating system from my stupid borked unusable cluttered hacky … Linux. Given that the new shiny MacBook directly stalled for ever during the guided “create your user and give us all your data” installation wizard on first boot, I am not that impressed ;=) My mother would have been stuck and after some googling that seems to be a “known issue”, at least for me, after a hard reboot, the thingy worked and I had a login, more luck than others :P

20 thoughts on “Kate5 on Mac

  1. Some people have actually managed to build from homebrew-kf5 ? I’ve been trying every weeks or so for nearly half a year.

    There is one impressive thing about Mac: it makes you wonder how Kwin became so good despite the fact that it has no concurrence whatsoever, even at Apple’s.

    Anyhow. Keep up the good work ! If Kate and Konsole end up working on Mac, I’ll be the happiest mac user ever.

    1. Give up your OS X – a walled UNIX garden where you can’t select what colour borders you’d like – and install a full linux distro say Arch or Gentoo and obviously run KDE on top; experience freedom once again and don’t look back!

    1. I don’t think so. Inbetween there are a lot of former Linux users on OS X or some that use both OS, but missing a lot of the excellent KDE software there (like me).

      Wasn’t it you who once said, that porting KDE applications to many different platforms improves the software, helps to find errors and make it generally better?

      Thumbs up for your efforts Christoph! ;)

    2. I don’t think so. It is not the sole reason I bought a Mac, thought, I wanted to toy around with something different than Linux & Windows since long, just to get some new ideas (and yeah, for sure I will take a look at how Mac text editors do their job). But yeah, I will waste some time toying around on the Mac, as I will have to learn a lot more about how the stuff like dynamic libs, deployment, etc. work. But if that is really wasted time or learning new stuff, who knows ;=)

  2. I think this is pretty important. As the Linux desktop for media is basictly dead. No good retina support, bad support for mp4, dvds, blue ray and other normally consumed media. Linux Workstation and Server were Linux actually is used. But whoever enjoys media and also does development ends on OS X.

    1. As Kate is clearly a tool for developers and Co., I doubt the Linux desktop is dead for that. At work, I use solely a Linux desktop for development (thanks to CMake, Qt, …. we can compile our stuff nicely on Windows, too, without touching Windows machines in person too often ;=). But yes, I think there are a lot of people using the notebooks of Apple, as they look nice and shiny, and yeah, if it is not years of effort, why not get Kate working there, as a nice showcase that Qt can deliver software for all three major desktop platforms.

  3. Christoph, please join us on the kde-mac ML. The reason Kate doesn’t work properly is probably because of the QStandardPath issue a few of us are currently trying to address.
    The effort is mostly focussed around MacPorts, not HomeBrew, but I suppose you haven’t yet had the time to develop an allergy against either or the other :)

  4. I really enjoyed my old macbook and Kate was one of the things I always missed the most. Really, I caved in and dual-booted so I could get development work done. However for pro media tools, nothing beats it.

  5. I really miss Kate on OSX. I’m super excited to hear that there is work being done on this. Thank you very much :)

  6. I used kate (on linux) and bbedit extensively, daily. Kate is a very nice editor and would be welcome on OSX I think. If you get it to build try to make an OSX package out of it. I wish I had the time to help. I tried to build it (kate) with Qt and minimal KDE bits but ran out of time…..

    1. No ;=) KWrite/Kate itself should work fine, but there is still enough unsolved in the frameworks department. I think after that stuff is sorted out, a nice and more native variant via Homebrew or MacPorts is no problem. But yeah, I got not much worked out given my lack of spare time. The only nice side-effect is that Kate is no much more hi-dpi aware, not only for MacOS (thanks to the side installation of an Arch Linux on the MacBook ;=)

  7. Kate4 *is* available on OS X. The only thing that keeps me from using it is the fact that keyboard shortcut modifications (to OS X-compliant ones) don’t “stick”, sometimes even getting reset soon after redefining them. Same issue doesn’t occur with the Kate kpart in KDevelop, so this has me stymied (and KDevelop has quickly become my go-to IDE).

    1. I don’t think so, last I heard it builds but crashes. I’m working towards getting to work on KF5/Mac myself, but keep getting side-tracked.

      Funny, the email alert copied a quote from the OP about running OS X in a VM. That is actually perfectly legal these days, conditioned only by the EULA about running OS X “on” Apple hardware. Reading it like that there are multiple ways of doing that ;)
      And not only is it perfectly legal, it works well enough even under VirtualBox that some run a KDE/CI set-up like that. I’ve connected to one of those via VNC, and except for the side-effects of being about 9 timezones away it worked well enough. I myself ran OS X 10.9 in a Parallels Desktop VM when not yet ready to make it my primary OS.
      Parallels and VMWare both offer “guest additions” for OS X; I am not sure though if they ship them (and allow installing or even booting an existing OS X VM) on other operating systems. I guess they should: AFAIK it’s perfectly legal to run OS X in a VM on a host that’s a Mac running something other than OS X.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top