Reply to topic

Compile Krita/trunk (Ubuntu / Debian /OpenSuse / ArchLinux)

User avatar cyrille
Moderator
Posts
110
Karma
1
Hi,

Thank you for the testing !

Deevad wrote:Ok, some news from my tests <BR><BR>* My "crispy" brush stroke went away after installing the proprietary driver for my Nvidia card + activate OpenGl in the settings of Krita. Good !


Hum from a developer perspective not so good :/ It means it can happen to someone else...

Deevad wrote: <BR><BR>* The brush size sometime happen with strokes sometime not ; idem for the "shift" key. I don't know how to reproduce when it doesn't work. Sorry.

For 2.2, the shift key does not work for scaling bitmap brushes.

Deevad wrote: <BR><BR>* Triangle selection and all color selector are still slow to "drag/paint the color" ; I usually keep stylus pressed on the cursor and drag to the wanted position.

Yes the bug is tracked as https://bugs.kde.org/233558.

Deevad wrote:<BR><BR>* I tryed to import some settings of my Gimp brush kit (http://www.davidrevoy.com/?article29/fr ... evolutions) but it seems krita don't resize diameter of bitmap painting stroke.

I could only reproduced for the "animated" brush, aka gih. Reported as https://bugs.kde.org/show_bug.cgi?id=233695

I think that once we have fixed Krita it would be a good idea to ship those brushes with Krita. It is so difficult to find a good brush set with a clear license !

Deevad wrote:<BR><BR>* "Quick palette" don't save the opacity / the blending mode ; would be better for speedpainter if it could do it.

You mean, as part of paintop presets?

Deevad wrote:<BR><BR>* The blending mode list need to be scrolled to find a blending mode / really long to switch from "multiply" to "normal".

Fixed !

Deevad wrote:<BR><BR>If this little list can give some dev. idea, I would be happy :)

Some of those are bugs that need to be fixed :)


Cyrille Berger
Krita developer and Calligra release coordinator
blog
User avatar Deevad
Registered Member
Posts
438
Karma
1
OS
Hi Cyrille ;)

I hope your move from Toulouse to the north with a big "n" was good.
The version of Krita I test since you were at home is really different. And I like it a lot. Not stable enough yet to be my main tool for now. But surely in the next months.
For answer your post :

- For the Brush Kit of Chaos & Evolutions, it was clearly adressed to the Krita's developpers with the sentences on the license : "If you are a developer of an open source software, you can use them for the default preset in your code for your software without attributing.". That's why I did it from the scratch , and I hope user of my DVD "Chaos&Evolutions" will feel confortable with Krita. In the DVD , a little text on the menu is writted for the Krita project too :D When *.gih and bitmap brushes will be fixed , I will work on a solid preset list for Krita, it will be my way to Kontribute as well as making artworK.

- Thanks for the list of Blending modes, I have to update :)

- For the "Presets recording" opacity as well blending mode ; I don't know if the best is on the "Quick Palette (circle right-click) " or on the Paint-top menu. I really like the Paint-top menu . The ability to paint a preview for the brush is Reaaaaly good. Using the Rainbow background for the blending mode preview could be good.
The Quick Palette (circle right-click), allow to reach only a selected painting mode ; not a preset as I understand it.
My issue, is I like the preset list of the paint-top menu, and the easy access of the "Quick Palette (circle right-click) ". But I understand the both are different, too bad.

The ideal preset system would ask a user before saving a brush if he want to save with the global preset :
-Blending mode
-Color
-Opacity
( with checkbox, to decide witch one to keep or exclude)

With this I can decide to record a "Fire Brush" (with as example : a flame bitmap / with the opacity / the orange color / The blending mode "Dodge" ) as well as create a preset for a normal brush without color/blending/opacity ( without mean , take the previous brushes color/blending/opacity as Krita work for the moment ) or create a Ball pen ( color -without .. user active color - / opacity 80% / blending mode "multiply" ) etc....


Thanks :)


enkithan
Registered Member
Posts
18
Karma
0
OS
Ok, I updated my first post with a tutorial to make ArchLinux packages.

Deevad wrote: When *.gih and bitmap brushes will be fixed , I will work on a solid preset list for Krita, it will be my way to Kontribute as well as making artworK.

That would be great, a good default brush set would make a big difference. I think a lot of people underestimate the power and flexibility of bitmap brushes because the current brush set is not very useful.

Deevad wrote:The Quick Palette (circle right-click), allow to reach only a selected painting mode ; not a preset as I understand it.

It is planned to replace the "links to paintop" by real presets :)
User avatar boudewijn
KDE Developer
Posts
4889
Karma
20
OS
Deevad wrote:- For the Brush Kit of Chaos & Evolutions, it was clearly adressed to the Krita's developpers with the sentences on the license : "If you are a developer of an open source software, you can use them for the default preset in your code for your software without attributing.". That's why I did it from the scratch , and I hope user of my DVD "Chaos&Evolutions" will feel confortable with Krita. In the DVD , a little text on the menu is writted for the Krita project too :D When *.gih and bitmap brushes will be fixed , I will work on a solid preset list for Krita, it will be my way to Kontribute as well as making artworK.


I've made the Chaos and Evolution brush set the one we ship with Krita 2.2 :-). You're in the About Box now...

I think that all problems with the .gbr and .gih brushes are fixed now: animated, plain and image brushes can be rotated and scaled, are pressure sensitive.

The only thing that doesn't work yet are .vbr brushes -- we could add support for those, but only in 2.3. It's not much work, but then, it probably be better to use Krita presets instead of vbr brushes.
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
boudewijn wrote:I think that all problems with the .gbr and .gih brushes are fixed now: animated, plain and image brushes can be rotated and scaled, are pressure sensitive.


Shiny! Thanks Boud!

Hmmm... just tried it and I seem to just get an outline version of the image that doesn't scale at all when I try comma/dot or shift+LMB...

This is using the A-3 Dirty Spot brush image with Pixel Brush:
Image


Krita - All the cool kids are painting with it!
User avatar Deevad
Registered Member
Posts
438
Karma
1
OS
boudewijn wrote:I think that all problems with the .gbr and .gih brushes are fixed now: animated, plain and image brushes can be rotated and scaled, are pressure sensitive.

Many Thanks for the preset ! I tested and it's looks amazing for speedpainting and effortless to have a already done solid brush kit to paint with from the scratch. My big wish would to build a good default preset list with it to make easy first start for new users.

Kubuntiac wrote:just tried it and I seem to just get an outline version of the image that doesn't scale at all when I try comma/dot or shift+LMB...

Yep , I got the same problem with scaling. I hope it can be fix ( oh, and a slider for "scale" ((and "spacing" why not if there is custom brush )) in the same dock as "opacity" and blending mode would be super great !


User avatar Deevad
Registered Member
Posts
438
Karma
1
OS
I tryed the method to install the last SVN cleanly on my Linux Mint 8 production ready system and it worked like a charm; and broske nothing ( I think =) ) .
I have a clean install now of the last dev. version.
So, it will be easier and faster for me to do some test; than testing on my mini renderfarm .


User avatar boudewijn
KDE Developer
Posts
4889
Karma
20
OS
Yay! (Also yay, I got the Chaos & Evolutions dvd, so I might be a little less around in the forums for some days -- it's great stuff)
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
Hey enkithan

In your instructions on making an ArchLinux package of Krita, could I suggest changing makepkg to makepkg -s as the instructions above still don't pull in all the dependencies it needs. Makepkg -s though works out of the box for me.


Krita - All the cool kids are painting with it!
enkithan
Registered Member
Posts
18
Karma
0
OS
Kubuntiac: D'oh! I had totaly forgot about it ! Errmh.. yeah it's a good idea to use the dependency checking of the package system, especially after having updated the list of dependencies for years :P.
I updated the PKGBUILD, thanks ! :)
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
Hmmmm... Been trying to compile using this guide on Kubuntu Lucid since getting back from overseas. Funny thing is that it finishes compiling, but on running I just always get a crash with the following bt:

Code: Select all
Application: Krita (krita), signal: Segmentation fault
[KCrash Handler]
#6  0x01c8e883 in QList<QPair<QString, QStringList> >::detach_helper() () from /home/user/Apps/koffice/koffice-inst/lib/libflake.so.7
#7  0x01c8db6b in QList (this=0x85574e0) at /usr/include/qt4/QtCore/qlist.h:114
#8  KoShapeFactoryBase::odfElements (this=0x85574e0) at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeFactoryBase.cpp:97
#9  0x01c89f79 in KoShapeRegistry::Private::insertFactory (this=0x84fa370, factory=0x85574e0) at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeRegistry.cpp:113
#10 0x01c8af66 in KoShapeRegistry::Private::init (this=0x84fa370, q=0x85433a8) at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeRegistry.cpp:92
#11 0x01c8b2ef in KoShapeRegistry::instance () at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeRegistry.cpp:100
#12 0x00c92a34 in KisFactory2::componentData () at /home/user/Apps/koffice/koffice-src/krita/ui/kis_factory2.cc:111
#13 0x00c9333e in KisFactory2 (this=0x84ff878, parent=0x0) at /home/user/Apps/koffice/koffice-src/krita/ui/kis_factory2.cc:62
#14 0x00559585 in init_libkritapart () from /usr/lib/kde4/libkritapart.so
#15 0x06e6e5b3 in KLibrary::factory(char const*) () from /usr/lib/libkdecore.so.5
#16 0x06e6db31 in KLibLoader::factory(QString const&, QFlags<QLibrary::LoadHint>) () from /usr/lib/libkdecore.so.5
#17 0x007aaaff in KoDocumentEntry::createDoc (this=0xbf810914, errorMsg=0xbf8108d0, parent=0x8501b88) at /home/user/Apps/koffice/koffice-src/libs/main/KoDocumentEntry.cpp:59
#18 0x007917ca in KoApplication::start (this=0xbf810960) at /home/user/Apps/koffice/koffice-src/libs/main/KoApplication.cpp:134
#19 0x004e835a in kdemain (argc=1, argv=0xbf810a74) at /home/user/Apps/koffice/koffice-src/krita/main.cc:46
#20 0x080487bb in main (argc=1, argv=0xbf810a74) at /home/user/Apps/koffice/koffice-build/krita/krita_dummy.cpp:3


I'm using KDE 4.4.5. The only thing I've changed from the instructions above is that the koffice folder is in ~/Apps/ instead of ~/ as the script seems to assume. I modified the dcmake paths to (hopefully) suit.

The instructions in post#1 also installed an old (v 2.1.2) version of Krita, but I'm not game to remove it as for some bizzare reason it also wants to then remove koffice-dev* which I suspect might be needed for compiling...

Anyone have any ideas?


Krita - All the cool kids are painting with it!
User avatar boudewijn
KDE Developer
Posts
4889
Karma
20
OS
You really have to removed all installed versions of Krita and KOffice before you can build your own. Otherwise, your homegrown Krita will try to load the plugins from the installed version and crash.
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
Thanks Boud!

Ok, I purged krita and koffice-dev and ran kbuildsycoca4 then recompiled. Still getting a segfault. Konsole gives me:

Code: Select all
[email protected]:~/Apps/koffice/koffice-inst/bin$ ./krita
krita(29330)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkritapart.so"
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/home/user/Apps/koffice/koffice-inst/lib/kde4/libkritapart.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/defaulttools.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kpresentertoolanimation.so" does not offer a qt_plugin_instance function.
krita(29330)/koffice (lib komain) KoPluginLoader::load: Loading plugin "Comment Tool" failed,  "Library "commenttool" not found" ( 1 )
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kopabackgroundtool.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/paragraphtool.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/divineproportionshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/home/user/Apps/koffice/koffice-inst/lib/kde4/vectorshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/textshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/artistictextshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/chartshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/home/user/Apps/koffice/koffice-inst/lib/kde4/commentshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/home/user/Apps/koffice/koffice-inst/lib/kde4/treeshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/pathshapes.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/pictureshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/home/user/Apps/koffice/koffice-inst/lib/kde4/pluginshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/spreadsheetshape.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/home/user/Apps/koffice/koffice-inst/lib/kde4/videoshape.so" does not offer a qt_plugin_instance function.
KCrash: Application 'krita' crashing...
sock_file=/home/user/.kde/socket-neo/kdeinit4__0


bt gives:
Code: Select all
Application: Krita (krita), signal: Segmentation fault
[KCrash Handler]
#6  0x06011887 in QList<QPair<QString, QStringList> >::detach_helper() () from /home/user/Apps/koffice/koffice-inst/lib/libflake.so.7
#7  0x06010b6b in QList (this=0x947bed0) at /usr/include/qt4/QtCore/qlist.h:114
#8  KoShapeFactoryBase::odfElements (this=0x947bed0) at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeFactoryBase.cpp:97
#9  0x0600cf79 in KoShapeRegistry::Private::insertFactory (this=0x94278f0, factory=0x947bed0) at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeRegistry.cpp:113
#10 0x0600df66 in KoShapeRegistry::Private::init (this=0x94278f0, q=0x93e1418) at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeRegistry.cpp:92
#11 0x0600e2ef in KoShapeRegistry::instance () at /home/user/Apps/koffice/koffice-src/libs/flake/KoShapeRegistry.cpp:100
#12 0x00488a34 in KisFactory2::componentData () at /home/user/Apps/koffice/koffice-src/krita/ui/kis_factory2.cc:111
#13 0x0048933e in KisFactory2 (this=0x9435210, parent=0x0) at /home/user/Apps/koffice/koffice-src/krita/ui/kis_factory2.cc:62
#14 0x00d13725 in init_libkritapart () at /home/user/Apps/koffice/koffice-src/krita/krita_part_init.cc:24
#15 0x01f755b3 in KLibrary::factory(char const*) () from /usr/lib/libkdecore.so.5
#16 0x01f74b31 in KLibLoader::factory(QString const&, QFlags<QLibrary::LoadHint>) () from /usr/lib/libkdecore.so.5
#17 0x00c40aff in KoDocumentEntry::createDoc (this=0xbf86e7c4, errorMsg=0xbf86e780, parent=0x94153d8) at /home/user/Apps/koffice/koffice-src/libs/main/KoDocumentEntry.cpp:59
#18 0x00c277ca in KoApplication::start (this=0xbf86e810) at /home/user/Apps/koffice/koffice-src/libs/main/KoApplication.cpp:134
#19 0x0067135a in kdemain (argc=1, argv=0xbf86e924) at /home/user/Apps/koffice/koffice-src/krita/main.cc:46
#20 0x080487bb in main (argc=1, argv=0xbf86e924) at /home/user/Apps/koffice/koffice-build/krita/krita_dummy.cpp:3


Krita - All the cool kids are painting with it!
User avatar bcooksley
Administrator
Posts
19765
Karma
87
OS
It appears to still be finding your system wide Krita components...

Code: Select all
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kopabackgroundtool.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/paragraphtool.so" does not offer a qt_plugin_instance function.
krita(29330)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/divineproportionshape.so" does not offer a qt_plugin_instance function.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
bcooksley wrote:It appears to still be finding your system wide Krita components


Uh... Ok.

I've already done apt-get purge krita and kbuildsycoca4, which is about the limit of my knowledge....

So any idea if I should be looking for other koffice components to uninstall or something else?


Krita - All the cool kids are painting with it!

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], bartoloni, Bing [Bot], bobbywibowo, claydoh, farid, Google [Bot], mcarpino, nockvolley, Sogou [Bot], The Tahaan, Yahoo [Bot]