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

Howto build Krita on Fedora?

Tags: None
(comma "," separated)
Przemas
Registered Member
Posts
47
Karma
0
OS

Howto build Krita on Fedora?

Mon Oct 12, 2015 6:16 pm
I'm trying building from source for a first time (I use "for cats" guide) and I'm stuck - mostly because I have no idea what I'm doing.

It seems a couple of things are missing:
1. Vc - can't find it in the repos (yum install vc gives no result) and I don't know howto build from here :
https://github.com/VcDevel/Vc
Downloaded the tarball extracted it... and that's it... Don't know what to do with it... no idea how cmake works. When I try to use guide from github I get
Code: Select all
CMake Error at CMakeLists.txt:4 (message):
  You don't want to configure in the source directory!


2.libgit2
- but when I try to install it I get:
Pakiet libgit2-0.21.5-1.fc21.x86_64 jest już zainstalowany, pomijanie.

- which means libgit2-0.21.5-1.fc21.x86_64 is already installed... Any ideas what's wrong?

3. libqgit2

Can anyone help me out?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Howto build Krita on Fedora?

Mon Oct 12, 2015 8:58 pm
Vc is optional, but speeds up painting. However, I'd first try to get past the other set of issues before tackling that.

Your cmake error is because you're running cmake in the source directory; that is not allowed. Run it from a build directory.

Libgit is not needed, it's for another part of calligra.
Przemas
Registered Member
Posts
47
Karma
0
OS

Re: Howto build Krita on Fedora?

Mon Oct 12, 2015 9:08 pm
THx Boudewijn.
ok , after a bit of juggling with arguments I got it and have Vc installed. First I need to create a folder where I create the install (separate folder from the folder with source - of course ;) ), then go to it and run

cmake -DCMAKE_INSTALL_PREFIX=/folder_where_in_the_end_app_will_be_installed -DBUILD_TESTING=OFF /folder_containing_source_files

Then:
$ make -j9
$ make install

Ok, so now libgit2 and libqgit2 - sorry for double checking but I don't need those right?

Code: Select all
I have also a bunch of notifications like:
CMake Warning (dev) in krita/ui/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "kritaui" has an INTERFACE_LINK_LIBRARIES property which differs
  from its LINK_INTERFACE_LIBRARIES properties.
This warning is for project developers.  Use -Wno-dev to suppress it


Should I worry about those?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Howto build Krita on Fedora?

Mon Oct 12, 2015 9:13 pm
No -- the git libs aren't needed. And those cmake warnings are just because the cmake people continually come up with ways to "improve" build systems that means everyone has to change stuff for no good reason. Ignore it, it's what I do, too.
Przemas
Registered Member
Posts
47
Karma
0
OS

Re: Howto build Krita on Fedora?

Mon Oct 12, 2015 9:28 pm
:D . Is there anything I should look for during the "make" process? Lots of differently colored notes there ;) ...
Przemas
Registered Member
Posts
47
Karma
0
OS

Re: Howto build Krita on Fedora?

Tue Oct 13, 2015 9:46 am
first build done - and it seems to work :) . YAY!
Seems a tad less responsive than a build installed from Fedora repos , but that might be only an impression. Will need to play a tad more with it. Is there a way to have it alongside install from repo, so I could have direct comparison?


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]