This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita On Mac

Tags: None
(comma "," separated)
mesquka
Registered Member
Posts
44
Karma
0
OS

Krita On Mac

Wed Oct 24, 2012 9:13 am
Hi,
I've noticed a lack of binaries for OSX willing to try and compile Krita on my mac. I have a Mac Pro 10.8 with macports running. Can anyone give me a list of dependancies for Krita?
Thanks

I will post my progress on this thread for all who are interested.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Krita On Mac

Thu Oct 25, 2012 9:04 am
First step would be Qt and kdelibs I imagine, then you can look at kde-runtime and Calligra.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Thu Oct 25, 2012 9:18 am
Thanks bcooksley,

Got Qt4-mac with macports.

Kinda reminds me of Gentoo compile times :D
stark
Registered Member
Posts
2
Karma
0

Re: Krita On Mac

Fri Oct 26, 2012 1:17 am
I'm interested in this process as well, and have a MacBook Pro, which I'm not afraid to (ab)use to try to get things compiling and going.

mesquka, can you document your exact moves, and I will too, and we can see if we can help each other out as we go?

I've got macports installed, and am just getting started, but wanted to send a quick note of support for your efforts, and encourage you to over-document, so that we can establish a well trodden path on how to do this for ourselves and others...

So, for me...
Installed macports (long ago)
port selfupdate
port upgrade outdated
port install cmake
port install qt4-mac-devel
port install kde4-runtime

... and ... the kde4-runtime build is broken...
so that's what I'm off to fix first, I guess...
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:06 am
Ok try this:
sudo port install koffice2-devel

This installs most of the dep's for Krita.
I am getting problems with an 'obsolete port' however that should be easy enough to fix by modifying the portfile.

And Stark, seeing as your interested in compiling Krita add me on skype: mesquka
This should be an easier way for collaboration. If anyone else is interested, feel free to add me on skype too. I might even start a section on my site dedicated to Krita on Mac if we get enough people.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:23 am
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:25 am
I have sucsessfully installed Krita on OSX 10.8
Follow this:

TERMINAL:
sudo port install koffice2-devel
cd /Dir/You/Want/To/Install/Krita
wget http://krita.org/builder/calligra-creat ... .sh.tar.gz && tar -xzvf calligra-creative_build-script.sh.tar.gz && rm ./calligra-creative_build-script.sh.tar.gz

Navigate to the directory you ran the script in and open compiler.sh with textedit.
change _autodependancies=true to false

TERMINAL:
./calligra-creative_build-script.sh

Bug fixes are badly needed! :P
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:27 am
Dont worry boudwijn I'll try to get packages up.
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:31 am
EDIT:

I have sucsessfully installed Krita on OSX 10.8
You will need macports, Xquartz (on 10.8 or legacy versions without X11) and homebrew.

Follow this:

TERMINAL:
brew install wget
sudo port install koffice2-devel
cd /Dir/You/Want/To/Install/Krita
wget http://krita.org/builder/calligra-creat ... .sh.tar.gz && tar -xzvf calligra-creative_build-script.sh.tar.gz && rm ./calligra-creative_build-script.sh.tar.gz

Navigate to the directory you ran the script in and open compiler.sh with textedit.
change _autodependancies=true to false

TERMINAL:
./calligra-creative_build-script.sh

Bug fixes are badly needed!
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:36 am
That's strange though -- you shouldn't need X11 on OSX, since Qt is native there.
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:37 am
If you run into an error with 'obsolete port' try installing kde4-baseapps using macports, modify the koffice2-devel portfile and change the dependacies accordingly.

Last edited by mesquka on Fri Oct 26, 2012 9:44 am, edited 1 time in total.
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:38 am
Oh, my bad.
X11 is not needed.
mesquka
Registered Member
Posts
44
Karma
0
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:45 am
Ahh, I needed X11 because I was using qt4-x11 instead of qt4-mac.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:54 am
Ah, that explains the issue. Good to have that fixed :-). Especially because the Mac version of Qt shows some widgets different, so it's the right version for reporting bugs in krita against.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Krita On Mac

Fri Oct 26, 2012 9:55 am
Oh -- and could you post the output of the cmake command? It has a section that shows which optional dependencies weren't found.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]