Registered Member
|
How do I install Krita on Mac OS X?
I haven't found any installation downloads on disk image to install this program. |
KDE Developer
|
It's a long time since I last built Krita on OSX. I don't have an apple computer anymore so it became impossible to check whether Krita still compiles on OSX. There are no binaries or installation packages: what we need is someone with a mac who is willing to build krita, fix problems and package it. Until we've got a volunteer, there will be no packages, I'm afraid.
|
Registered Member
|
How different is compiling on a mac, to compiling on Linux? I have no experience with Macs (at least not for 10 years or so), but I wonder if the compile script could be modified to work.
If someone has access to a mac, I'd be curious to see what the output was of the command "cat /etc/issue"... |
KDE Developer
|
Compiling was quite similar, but getting the dependencies installed was very difficult, a couple of years ago. Some things, like the KDE file dialog never worked correctly even. And the KDE OSX mailing list is awfully quiet nowadays...
|
Registered Member
|
As much as I loathe Apple with a passion, I'm still sad to hear this. Ah well. I'm still thrilled that we have a Windows version on the horizon (not for me, although I'll probably dig out my old XP disk to test it), but to be able to promote Krita to the wider art world. |
Registered Member
|
You don't need a Mac to write code for OS X.
Adobe AIR combines Flash and a Web browser to let programmers build standalone software that runs on any system with the underlying AIR "runtime" that executes the software. It's cross-platform technology, meaning for example that separate versions of Krita don't need to be rewritten for OS X and Windows. Read more: http://news.cnet.com/8301-30685_3-20071 ... z1PtRfWw5N Unfortunately, Adobe no longer develops AIR for Linux but the Linux community may be able to come up with an alternative. Cross platform apps are the future. You no longer have to develop applications for each individual platform. |
KDE Developer
|
We already use a cross platform framework to develop Krita: Qt + KDE. However, in order to create the binaries for OSX we need a mac. And I wouldn't want to send out Krita to OSX users without having tested Krita on that platform. I know that when I had a mac two years ago, I needed to do quite a bit of tweaking to make Krita look native enough.
|
KDE Developer
|
There are several reasons why we can use air: Krita is already write for Qt/KDE so that would mean a complete rewrite, air isn't available for Linux, it's closed source, it would lead to back performance ...
|
Registered Member
|
Hey! Maybe "we" (ok, I can't code a line) should rewrite Krita from scratch in Java! That's open source *and* available on Linux!!!
(ok, maybe I'm not really being *entirely* serious...)
Last edited by Kubuntiac on Wed Jun 22, 2011 1:25 am, edited 1 time in total.
|
Registered Member
|
Hi -
I am attempting to set up a KDE/Krita development environment on my Mac. I am familiar with Qt and have successfully rebuilt qt-kde on Lion. Following the docs closely, kdesupport and kdeplatform builds are completing successfully. Oooof what a chore! I have a Lion GM preview and macports kde4 breaks in many places. But I've gotten as far as successfully building kdesupport, debase, kderuntime, kdelibs etc... I'm new to KDE on Mac and have the following (noob) questions: 1 - all Qt applications run fine for me on Lion. However the KDE application bundles in /Applications/KDE4 all fail. Were they meant to run native on the desktop or is X11 a requirement? Am I missing something here? Do I need a full KDE desktop and workspace to run Calligra "creative" applications (Krita and Karbon)? I thought native/Quartz/Aqua compatibility was a new Krita feature? 2 - The Calligra requirements state that only qt 4.6+,kdelibs,kdebase/kderuntime,lc's,eigen etc...are needed for Krita. Is that still the case? 3- I built qt-kde with full webkit support. This considerably lengthens my builds even though I am on an 8 core MacPro. I guess I shouldn't complain too much since it builds in less than 15 minutes (I know I'm lucky...), but I'd like to target all of this towards the minimal requirement to build Karbon and Krita only. Not too interested in the rest of the office apps for the moment. 3- how does one invoke the Calligra apps installed in /Applications/kde4? I've adjusted the DYLD_LIB paths accordingly (for some reason they we'rent set up correctly in the bundle) in the .shell contents, but the apps still hang or crash... 4- my kbuilsycoca4 complains about missing mime types even though I've installed shared-mimo and updated my system. It chokes on the .desktop files. I have XDG... variables unset and KDEHOME set correctly to my $HOME/kde/.kde NOTES: - dbus is launchtl'ed fine and is set up to launch on restart I know that Mac OSX compatibility is not a top priority for you guys now. So I would like to contribute by developing a dependable and reproducible toolchain on OS X that others can follow. Along the way, I am also building and testing on Lion which should be of value to some. I offer my services to document all of this along the way... I already have a lot of build tips to pass on this platform... I have crash reports and other related material available if you can lend a hand. Thanks in advance, Patrice |
Registered Member
|
Wow. It really looks like Krita 2.4 is going to be spreading platforms... with the Windows version being worked on, a nightly PPA for *buntu users, the compile script maturing for other Linuxes and now work on the Mac version! While not a Mac user myself, this is a very welcome development. Thankyou for spearheading it!
|
KDE Developer
|
Hi Patrice!
I managed to run Krita on OSX some years ago -- it never worked perfectly, the file dialog never really worked. Anyway, let's see what I can remember about it. 1: kde apps are supposed to run native, without X11, using the native version of Qt. Note that there are two options: Qt with cocoa or Qt with carbon. Cocoa is supposed to be the best, but two years ago at least, it had some problems with font rendering. You don't need the workspace. 2: yes, the requirements list is still correct. you could expand it with opengtl (which needs llvm) but that's not necessary. 3: webkit isn't needed 3: ah... that's the tricky one. I don't really remember, there was some trickery needed some time ago. Best ask on https://mail.kde.org/mailman/listinfo/kde-mac 4: that's probably not a problem -- kbuildsycoca always spits out reams of warnings All your effort is very much appreciated! It's exactly what the project needs. |
Registered Member
|
Wow! Such a quick reply! Ok I am definitely up for "contributing" to this community in any way shape or form. Especially with such attention from the master himself!
Right after I posted (just registered on this forum) I headed over to the mac section and learned some more... so I kinda answered my own question 1 and 4. - glad to see Qt Webkit is not necessary - I hate "bloat" - how about sql plugins(either lite or my...) - my qt is built for quartz - I think the font rendering has been fixed by now - then again I don't have a working app yet (sigh!) - Apple has a new llvm 3.0 compiler that sports super fast compiles, a clang front end, and new libc++ '0x compliance - very neat - it ships with the new Xcode 4.2 for IOS 5 - will test builds with it once I get over this hump! (Geez) The Objective-C features (especially automatic reference counting are a revolution also!) trying to be methodical and disciplined about this - I'm a Mac geek so eventually would like to try using Xcode 4.2 as my primary IDE. Will see what the latest CMake -G spits out soon. Interesting challenge. - I wish the macports kde4 and qt for mac didn't currently break on Lion (at least for me). Would save some time. I could try and fix that, but I like doing things the pig-headed hard way, I find I learn more anyway. Also tried Fink for a quick and dirty kde office environment, but it's not yet Lion ready. I think tuning and improving the Mac install is definitely warranted. I do some "pro bono" work on other great C++ open source projects like Cinder and have dabbled with Gimp (yuck) and a variety of OSX/ iOS applications. My interests lie squarely in mathematics and image processing so I'd like to explore integrating the Mac CoreImage library functions and more GPU math "smarts" in Krita and Karbon. I want performance! . Any tips and recommended areas where you feel I can contribute the most are appreciated. I have fast machines and like to test and hack also, when my day job permits ... this keeps me sane... By the way, go Orange! Merci beaucoup Patrice Kouame (Software Engineer/Software Architect and Consultant/ Virginia, Washington D.C - where we got rid of Bush!...he he) |
KDE Developer
|
Most of our development discussions happen on irc (#krita on irc.freenode.org). Quite a few developers are in Europe, so there's a bit of a timezone challenge. But we're spreading out and chances are someone will be awake. Deeper discussions happen on the mailing list: https://mail.kde.org/mailman/listinfo/kimageshop (krita used to be called krayon used to be called kimageshop...).
If you manage to build, run and package Krita on OSX you'll notice that you might need quite a few platform specific tweaks to make it look good. Last time I looked, our statusbar looked very weird, and there are other bigger and smaller issues. Qt makes it relatively easy though. As for using mac-specific functions, that's quite possible if you create new plugins, for instance for image filters. Matus Talcik currently is experimenting with OpenCL -- that could be a good branch to check. There's also the OpenGTL/OpenShiva part of Krita. Something we've been thinking for a long time about is how to compile the shiva filters so it runs on the GPU instead of CPU. Really hard-core optimization things are investigating why we're using so much memory, perhaps implementing in-memory compression of image data. |
Registered Member
|
Ok -
getting kinda stuck so posted some on kimageshop. In short, have dbus up:
kbuildsycoca4 reports:
Krita just hangs, here is a sample from /Applications/KDE4/krita.app/Contents/MacOS/krita
All libraries are loaded... Also have kdeinit4 up and running. klauncher seems to be up to. But so far no ticks..just asleep. Patrice |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]