Reply to topic

Script to Compile Krita & Karbon for You v1.1.2 -Oneiric Edn

User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
OK, a mere day or two after releasing the 1.0, here's the 1.1 ;)

What's new?
* Chakra is now a supported distro
* Cleans up a number of junk files that previously cluttered the folder where you run the script
* Fixes issues with KDE git changing the source code tar file name every other day >.< (no more renaming the tar.gz like in al-dy's last post)
* The self updater now updates the updater also (say that three times fast...)
* Code cleanup & some bug fixes (mainly for openSUSE)
* Warns users of Ubuntu 11.04 and derivitive distros about Ubuntu 11.04's current wacom issues.

How to upgrade:
Just run ./calligra-creative-builder.sh like normal. All is taken care of for you. :)


[b]How to run it:[b]
run ./calligra-creative-builder.sh from the Konsole / Terminal


@Al-dy (and other Chakra users), you should now just be able to run calligra-creative-builder.sh without modifying anything.

@aftas - Can you run ./calligra-creative-builder.sh again and re-post the log. That previous log file looked a bit strange. I've changed some things now that may help.


Krita - All the cool kids are painting with it!
aftas
Registered Member
Posts
5
Karma
0
@ Kubuntiac, it seems to be the same here. here it is the new log(i deleted some blank spaces for posting purposes):

Builder version 1.0.1


Jacking into the Matrix...
calligra-creative_build-script.sh
Red pill taken...


Updating 3a1fb97..ff1477d
Fast-forward
filters/libmso/ODrawToOdf.cpp | 1 +
filters/libmso/pole.cpp | 2 +-
filters/tables/excel/sidewinder/excel.cpp | 2 +-
kexi/core/kexi.cpp | 2 +-
kexi/doc/dev/CHANGELOG-Kexi-js | 5 +
kexi/kexidb/connection.cpp | 36 +++---
kexi/kexidb/connection.h | 2 +-
kexi/kexidb/cursor.cpp | 2 +-
kexi/kexidb/cursor.h | 8 +-
kexi/kexidb/driver_p.h | 6 +-
kexi/kexidb/queryschema.cpp | 2 +-
kexi/kexidb/utils.h | 2 +-
kexi/main/KexiMainWindow.cpp | 30 ++--
kexi/migration/AlterSchemaTableModel.cpp | 2 +-
kexi/migration/mdb/src/keximdb/mdbmigrate.cpp | 2 +-
kexi/migration/mysql/mysqlmigrate.cpp | 2 +-
kexi/plugins/forms/kexidataprovider.h | 2 +-
kexi/plugins/forms/kexiformscrollview.cpp | 10 +-
kexi/plugins/forms/kexiformscrollview.h | 10 +-
kexi/plugins/forms/widgets/kexidbform.cpp | 2 +-
.../plugins/queries/kexiquerydesignerguieditor.cpp | 4 +-
kexi/plugins/reports/kexidbreportdata.cpp | 6 +-
kexi/plugins/tables/kexilookupcolumnpage.cpp | 8 +-
kexi/plugins/tables/kexilookupcolumnpage.h | 2 +-
kexi/plugins/tables/kexitabledesignerview.cpp | 10 +-
kexi/plugins/tables/kexitabledesignerview_p.cpp | 2 +-
kexi/webforms/view/default/Delete.cpp | 4 +-
kexi/widget/tableview/kexicomboboxbase.cpp | 52 +++---
kexi/widget/tableview/kexicomboboxbase.h | 2 +-
kexi/widget/tableview/kexicomboboxpopup.cpp | 12 +-
kexi/widget/tableview/kexidataawareobjectiface.cpp | 28 ++--
kexi/widget/tableview/kexidataawareobjectiface.h | 8 +-
kexi/widget/tableview/kexidataawarepropertyset.cpp | 4 +-
kexi/widget/tableview/kexidataawarepropertyset.h | 2 +-
kexi/widget/tableview/kexitableedit.cpp | 6 +-
kexi/widget/tableview/kexitableedit.h | 2 +-
kexi/widget/tableview/kexitableview.cpp | 162 ++++++++++----------
kexi/widget/tableview/kexitableview.h | 74 +++++-----
kexi/widget/tableview/kexitableview_p.cpp | 2 +-
kexi/widget/tableview/kexitableview_p.h | 4 +-
kexi/widget/tableview/kexitableviewdata.cpp | 6 +-
kexi/widget/utils/kexirecordmarker.cpp | 32 ++--
kexi/widget/utils/kexirecordmarker.h | 10 +-
kexi/widget/utils/kexirecordnavigator.cpp | 30 ++--
kexi/widget/utils/kexirecordnavigator.h | 2 +-
krita/plugins/formats/jpeg/kis_jpeg_converter.cc | 3 +
krita/ui/kis_factory2.cc | 4 +
krita/ui/kisexiv2/kis_exif_io.cpp | 4 +
krita/ui/kisexiv2/kis_exiv2.cpp | 5 +
krita/ui/kisexiv2/kis_iptc_io.cpp | 5 +
krita/ui/kisexiv2/kis_xmp_io.cpp | 4 +
libs/kotext/styles/tests/TestStyles.cpp | 2 +-
libs/textlayout/KoTextLayoutArea_paint.cpp | 2 +-
libs/widgets/KoColorPopupAction.cpp | 8 +-
.../enhancedpath/EnhancedPathCommand.cpp | 2 +-
55 files changed, 338 insertions(+), 305 deletions(-)
Setting up environment

Now witness the magic of open source cranked up to 1 as you build your very own copy of Calligra...
Quick! To the Batmobile!
Atomic batteries to power...
Turbines to speed...

set-calligra-paths.sh exists already. Skipping creating it.
setting environment variables for current session.
Set those paths, Jeeves!
What ho!
Let's go!!!!

You have succesessfully built (either now or in the past) the following apps:

Version:
v2.3.73-401-gff1477d
(Format is: Version number - revisions since the version number - git hash)
You can update these apps to the latest (unstable) code any time by just running this script again.

Krita and karbon need to be run from the menu (under Graphics) or directly from the /calligra-inst/bin folder.
Wed love to see what you create over at the Krita forums! ( krita )
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
@aftas - Thanks, but I think you keep deleting the bits I want to see! If you don't mind it would really help to see the whole log. (At some file sharing site, or paste.kde.org which lets you have things expire) is fine.


Krita - All the cool kids are painting with it!
aftas
Registered Member
Posts
5
Karma
0
@Kubuntiac - sorry man! here is a new unedited log. (just re-run the script moments ago)

http://www.filedropper.com/calligra-builder_2
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
Ok. This is really weird. This log is still missing huge chunks. Either they're not being logged, or most of the code isn't being run...

Are you seeing stuff like this onscreen (with percentage numbers on the left):
Code: Select all
[ 46%] Built target koconverter
[ 46%] [ 46%] Built target okularGenerator_odp
[ 46%] [ 46%] Built target generickofilter
Built target calligrathumbnail
Built target wpgimport
[ 46%] Built target karbonepsimport
[ 46%] Built target msooxml
[ 46%] [ 46%] Built target karbonpdfimport
[ 46%] Built target xsltexport
[ 46%] Built target xsltimport
[ 46%] Built target karbon_roundcornersplugin


I ask because it's in my log, but not in yours.

I think I'm going to have to install Mint 11 myself to see what's going on. Can you tell me exactly which version of Mint 11 you're on (32 bit? 64 Bit? Gnome / KDE / XFCE Desktop?)


Krita - All the cool kids are painting with it!
aftas
Registered Member
Posts
5
Karma
0
@Kubuntiac - No,i don't see it on the screen!

i'm using the latest main release of mint: 11 Katya 64 bit (gnome)


thanks for the help. ;)
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
The rearrangement of the output like that is due to it performing multiple jobs at once. The more cores your system has, the more likely you will see output such as that. This is controlled by the -j argument to "make".


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar al-dy
Registered Member
Posts
58
Karma
0
OS
Kubuntiac wrote:@Al-dy (and other Chakra users), you should now just be able to run calligra-creative-builder.sh without modifying anything.

I Tried the new script, but I still need to use compiler.sh with _autodepencencies=false.
The source package don't need to be renamed anymore.
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
al-dy Did you try running calligra-creative-builder.sh? If you just ran compiler.sh you wouldn't have gotten the automatic update that brings in the new Chakra code...


Krita - All the cool kids are painting with it!
User avatar al-dy
Registered Member
Posts
58
Karma
0
OS
Yes, but it doesn't work.

Code: Select all
$ ./calligra-creative_build-script.sh
rm: no se puede borrar «./compiler.sh»: No existe el fichero o el directorio
rm: no se puede borrar «compiler.sh.tar.gz*»: No existe el fichero o el directorio
--2011-08-07 03:42:46--  http://krita.org/builder/compiler.sh.tar.gz
Resolviendo krita.org... 173.236.131.182
Connecting to krita.org|173.236.131.182|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 3795 (3,7K) [application/x-tar]
Saving to: `compiler.sh.tar.gz'

100%[=================================================================>] 3.795       --.-K/s   in 0,02s   

2011-08-07 03:42:47 (155 KB/s) - `compiler.sh.tar.gz' saved [3795/3795]

compiler.sh
              _
           ,d88P'              ,8     op   ,o.
        ,o8P                  d8'   ,8P     Y8
      ,d8P'                  d8'   ,8F        =
     d8P'           _u,     ,8'    dP    _,      ___ _   __           ._.
    88           ,o8P  P   ,8[    dP     88    d88 888  ]8L,ooo._  od8P8Y
   88          ,d8 ,,oop   d8    ,8[    d8P  ,8P _o88[  88P      d8P _ooo.
   88         d88odP Y8b  ,8[   ,8P   ,=8P  ,88o8P dP  d8F     _88boP  88
   Y8b.._._,o=PPP      P=P78boP  8bopP YP    PP^^ d8  ,8P       PP^^    YPY
     ^^^^^^^                ^^    ^^             d88
                                                d8P
                                           /   d8
                                          b _o8P
                                          ^^^
              Builder version 1.0.1

Checking if this is a distro I can automatically get the dependencies for you...
You'll be asked for your root password to update needed software and
>>> UNINSTALL ANY CURRENT KRITA / CALLIGRA INSTALL YOU HAVE <<<
from elsewhere (they conflict with the compiled versions).
IF YOU DON'T WANT TO CONTINUE WITH THIS PUSH Ctrl+C TO CANCEL NOW.


Looks like you're not using a distro supported by this script (ie *Ubuntu, OpenSuse, Fedora). That's fine, but you need to make sure the necessary dependencies are installed yourself (usually whatever is needed to build koffice plus git). Once you have done that, please change the first line of this script to _autodepencencies=false and run this script again.
User avatar Kubuntiac
Registered Member
Posts
786
Karma
2
OS
My apologies Al-Dy, it seems that the same version of the script was uploaded to the updater, rather than the new version that has all the Chakra specific stuff.

I'll get this fixed and post again here.


Krita - All the cool kids are painting with it!
User avatar Deevad
Registered Member
Posts
424
Karma
1
OS
Linux Mint 11 equivalent to Ubuntu 11.04 Natty Classic report and experience


General issue with the install of the system :

Yesterday I spent most of the day to do a clean install of Linux Mint 11 ( after tested Fedora 15 KDE , Linux Mint 9 LTS again and Linux Mint Debian Edition , and wasted an install of Linux Mint 11 to try the 'Nouveau' 3D driver ).
One of my goal was to use my multi-screen + Cintiq and have calibrated devices. Unfortunately ; this is still not suppported as long as I have to use the Nvidia binary driver. That's explain my test with the kernel 2.6.39 and Nouveau driver but the result was way to unstable (freeze around every 5 min ) and I still don't know if it was because this choppy integration of Compiz coming along with the Natty Narval Ubuntu decision , or because of the Nouveau driver.

So, I decided to keep a LM11 install because I'm too noob yet to really can handle a distribution with something else than Gnome and a Debian base. My only linux base are related to this technologies and I have to stick to it to keep have ability to fix myself more of my issues. Main issue solved was done with a downgrading for Compiz . Now I'm satisfied with the result , looks like my system before with better updated libraries.

Major happiness : x86-xinput-wacom driver compiled manually (easy) who provide now a compatibility with tablet and Nvidia easy 'Twinview'.
Code: Select all
xsetwacom --set "Wacom Cintiq 21UX stylus" MapToOutput "HEAD-0"
xsetwacom --set "Wacom Cintiq 21UX stylus" Area 327 374 86436 65171

Simple way to apply the tablet to only one screen. For calibration , I keep the Cintiq calibrated and profiled ; and other screen is forced to be profiled with the same than Cintiq... too bad but no other choice ; anyway this screen will be for emails and Xchat and other notification / disturbing stuff , so no need of accurate colors for the moment.

Installing Krita with the script

Dependencies
As Al-dy experienced above, I got the same message as launching of the script ; so my system didn't support the install of dependencies automagically. I tried to open Synaptic ; active Backports+Source then Reload. And I tested without any success
Code: Select all
sudo apt-get build-dep calligra
sudo apt-get build-dep koffice
sudo apt-get build-dep koffice2
sudo apt-get build-dep koffice-kde4

So, I turned on internet during a long time and test various broken or outdated advices, links :
http://helderc.wordpress.com/2011/05/02 ... -compiled/
https://wiki.kubuntu.org/CompilingKoffice2
http://community.kde.org/Calligra/Build ... g_Calligra

On IRC Animtim got the right answer for me ; there is a bug in Synaptic or the repositery system that make the GUI way to activate source repositery non-working... So, with a little
Code: Select all
sudo gedit /etc/apt/sources.list

and adding manually :
Code: Select all
deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb-src http://archive.canonical.com/ubuntu/ natty partner

I was finally able to perform a succesfull:
Code: Select all
sudo apt-get build-dep koffice


Compilation :

For compilation, the script did magic ; and that was very cool :
I just had to change the line 2 of Compiler.sh this way
Code: Select all
_autodepencencies=false

And re-run compiler.sh to make the script compile and prepare folders and all. That's a great step for user like me ;)


Installation :

In my gnome menu , the icons 'Krita' appeared inside Graphics. Unfortunately pressing this one doesn't have effect... To make it working, I had to edit the Gnome menu to see the path I removed the %U after krita.

But now, I'm with a problem who block me , here is the message error at launching I have ; and who close the app. So , I only see the splash screen. Any idea ?
Image


User avatar Animtim
Registered Member
Posts
254
Karma
0
OS
hmmm.. This looks like the KDEDIRS and PATH aren't correctly loaded.. I guess you already restarted the session to load the export lines added by the script to .profile or .bashrc (I'm not sure where this script actually writes it.. the script I use, that is a different old one, write those export lines in .profile, which works fine in Ubuntu..)


User avatar Deevad
Registered Member
Posts
424
Karma
1
OS
Thanks Animtim , Now I got it to run now.
Here is what I did :

I created the .profile file in my home with inside this ( custom link to the path of my Krita install ) :
Code: Select all
export KDEDIRS=$KDEDIRS:$HOME/source-to-compile/krita/calligra/calligra-inst
export PATH=$PATH:$HOME/source-to-compile/krita/calligra/calligra-inst/bin


I installed the following package and their dependencies via synaptic :
Code: Select all
qt4-qtconfig
qtcurves


then I downgraded the xorg :
Code: Select all
sudo apt-get install xserver-xorg-core=2:1.10.1-1ubuntu1


reboot , and krita works as expected.


User avatar artsymptom
Registered Member
Posts
70
Karma
0
OS
Hey David, I see that is some kinda hard to install it, in this latest months I install different distros around ubuntu, kubuntu, linuxmint 11, linuxmint 10 kde and now linuxmint 10 (wich seems the more stable out there right now, maybe linuxmint 9 wich is LTS might be more stable). Anyway, the thing is that following all this kind of stuff, even the kubuntiac script to compile Krita, don´t work for me, I also change the name in the script from Ubuntu to Mint, wich make it work but in the end, after downloading everything I get a batch error, I try it like 5 times, deleting all the files and creating a new folder for installing the calligra stuff but all fail to me :(. I´m gonna give a last try in my desktop that have linuxmint 10, this is going to be my last try, if I can´t succes, then I will wait until a .deb, because this is to hard and give so much stress. I wish I could help with bug reports but in this way I can´t help. PLease, when you guys have something to run more flexible in gnome, please let me know, here my website and email.

Also having a windows .exe in the future might help, because of softwares like after effects I can´t still switch to linux fulltime. I wish I could, linux is more stable, fast and pure pretty for custom users.

http://artsymptom.com
giovannyarce@gmail.com



 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], boudewijn, davide445, Google [Bot], hiteshshah, madkhoram, Mamarok, millaan, philippea, raphaelra