Category Archives: KDE

Kate on Windows

It took some time but here is now an installer for Kate on Windows.

First the proof 🙂

kate-installer
The installer
An example of what it can look like
An example of what it can look like

There are still some things that needs fixing. The current installer is built from git master and not from released packages so the translation stuff hat you usually get with the release packages are missing. So only partially translated. Another feature that I’m still missing is the spell-check. I need to still add a/hspell and language dictionaries to get that to work.

But for now you can try it out here: http://download.kde.org/unstable/kate/ (updated link)

And if you are eager to help here is my scratch repo for the build recipes:
git://anongit.kde.org/scratch/sars/kate-windows.git

And if you happen to want to have only one kate window for all the documents that you open, you might want to install DBus. This is the installer that I have tested with:
https://dbus-windows-installer.googlecode.com/files/DBus-Windows-Installer-1.4.1-2.exe
Happy Hacking!

Note: This would not have been possible without the big effort that the KDE on Windows people have made to get stuff to compile on Windows and keeping sure that it continues to compile. Thank you!

Kate/KWrite on Mac – More Icons & More Plugins

After a bit more work, toolbars (and other places ;=) have icons, too. More Kate plugins do work, like the nice project plugin I use the whole day, see:Kate with Project Plugin on Mac

Updated .dmg files can be found at (alpha quality, only tested on Mac OS 10.10):

ftp://kate-editor.org/cullmann/kate-20151024.dmg

ftp://kate-editor.org/cullmann/kwrite-20151024.dmg

Help to get more stuff working and fix the remaining crashs is highly appreciated. A script how to build that all can be found at:

https://quickgit.kde.org/?p=kate.git&a=blob&f=mac.txt

You can use a plain Qt and current KDE Frameworks & Kate master to get that running. Guess the next goal would be to get KIO working without patching Qt, lets see how much work that is.

P.S. With the guide in mac.txt you should be able to try out how to port other KDE based applications, too, and get a application bundle, as most stuff should be available now, for the average application. How to use some bundled Breeze icon set can be found here, just call code like that after QApplication is constructed:

https://quickgit.kde.org/?p=kate.git&a=blob&f=icons.h

Where to put the Breeze resource see mac.txt (its actually toplevel in the <app>.app folder, not in Resources like told by Qt docs).

Alpha Kate & KWrite Application Bundles

Hi,

with my latest changes in kate.git, icons work, too, on windows and mac, without any qt patch, if you put some qt resource file containing breeze inside your share or Resources folder (one up from the application binary).

mac.txt contains the rcc calls needed to create such a package and all others things you need to run to get .dmg files. (you need Qt 5.5.0 + a recent CMake + XCode with command line stuff enabled)

Kate plugins should work, too, if you have a qt.conf that points to the local plugins (like macdeployqt will create for you in the mac.txt run).

Things not working ATM without patched Qt or more work: KIO slaves and all dbus related stuff.

With that in place, I consider Kate/KWrite on Mac at least of alpha quality. Still some plugins are missing, optimizations for the .dmg generation could be done like removing stuff we don’t use like QtWebKit from the bundle, but besides, the programs do something and don’t crash immediately, at least not on my Mac OS 10.10 installation.

Mandatory Screenshot :=)

Kate on Mac with some plugins

Links to Kate & KWrite .dmg files: (ALPHA quality still, only tested on Mac OS 10.10, now just with icons and some plugins and too many Qt libraries and plugins to make the .dmg large 🙂

kwrite-alpha-20151021.dmg

kate-alpha-20151021.dmg

P.S. Testers are welcome, but help of any other kind even more 😉 Given Kate/KWrite are trivial to build on a Mac with just XCode around and the stuff described in mac.txt it would be really GREAT if somebody could step up to help to fine tune this to have some more usable beta or even “real” release for Mac in the future. I will continue to work on this, but my Mac isn’t my main working machine nor what I use for my daily company work, therefore, this is not my highest priority.

KWrite on Mac – Application Bundle

Hi,

after one week of patching frameworks (and KWrite/Kate), the first success can be seen: a kind of working application bundle for KWrite.

Still no icons, need to set icon theme + search paths right and bundle that, too, but need to investigate more how the icon lookup works.

KWrite on Mac

You can build the stuff on your own just following kate.git/mac.txt and calling once the macdeployqt tool afterwards on the /Applications/KDE/kwrite.app bundle (with -dmg to get the disk image file).

For Kate, the macdeployqt still misses an additional switch to deploy own plugins in addition, will add that in the next days, I hope. Have already some local hack, but want to have some patch I can hand in to Qt Company.

Here a link to the version you see above in the screenshot (not tested below Mac OS 10.10):

http://kate-editor.org/download/kwrite-alpha-no-icons.dmg

A colleague tested it for me on a Mac without any dbus/macports/homebrew/co. stuff installed and it seems to work and not eat all his data ;=) But this is ALPHA quality,  this means all things can happen, I didn’t test it that much beside using it for my last kate.git commit and starting it up for that screenshot above, not more ;=)

The good things: This stuff needs no patched Qt nor any patches to any KF5 stuff, this uses plain Qt 5.5.0 from the Qt Company installer and all modifications for frameworks are inside our master branch of framworks already.

The bad things: e.g. KIO doesn’t work atm (even if the io slaves would be in the bundle), therefore only local file support.