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

interactive mirror mode

Tags: None
(comma "," separated)
Gotblade
Registered Member
Posts
20
Karma
0
OS

Re: interactive mirror mode

Mon Apr 16, 2012 5:58 pm
I wonder if I could do checkinstall on just the krita portion of the build? Or would I need all of calligra installed for dependencies?
Gotblade
Registered Member
Posts
20
Karma
0
OS

Re: interactive mirror mode

Mon Apr 16, 2012 6:46 pm
Dang! I got as far as the application starting & then a message saying "The Calligra LittleCMS color management plugin is not installed. Krita will quit now."
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: interactive mirror mode

Tue Apr 17, 2012 5:52 am
Okay, then you did not properly install some of the dependencies. You need to install the development packages for version 2 of lcms.
Gotblade
Registered Member
Posts
20
Karma
0
OS

Re: interactive mirror mode

Tue Apr 17, 2012 5:38 pm
I had liblcms2-dev installed but I didn't have liblcms-utils. Not sure if that fixed it or the fact that I didn't have Okular before I rebuilt but it's working !!! Thanks again for your help!!!!!
Gotblade
Registered Member
Posts
20
Karma
0
OS

Re: interactive mirror mode

Wed Apr 18, 2012 3:23 pm
I'm getting a new error "The service '/home/doug/.local/share/applications/Krita.desktop' provides no library or the Library key is missing in "
But if I run kbuildsycoca4 it runs fine. How can I keep it from becoming disassociated from it's libs in a more permanent way?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: interactive mirror mode

Wed Apr 18, 2012 3:28 pm
Hm, I'm not sure. On OpenSUSE this works the right way automatically, but I'm not sure about other distributions. Anyone else?
slangkamp
KDE Developer
Posts
607
Karma
4

Re: interactive mirror mode

Wed Apr 18, 2012 3:45 pm
Maybe this and following helps
viewtopic.php?f=139&t=92880&start=15#p187522
Gotblade
Registered Member
Posts
20
Karma
0
OS

Re: interactive mirror mode

Wed Apr 18, 2012 4:12 pm
I did apt-get purge koffice koffice-data krita which removed some stuff & then apt-get build-dep krita which said I had all of what I needed. I can consistently reenact the problem just by updateing the kmenu (right click on aplications launcher, choose edit applications & click on save) After that the error comes back. So can I edit the krita.desktop so it sees the libs it needs?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: interactive mirror mode

Fri Apr 20, 2012 12:10 am
Could you please provide the content of "/home/doug/.local/share/applications/Krita.desktop"? It is probable it is missing essential keys (this file can only have been created by the menu editor)


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

Re: interactive mirror mode

Sat Apr 28, 2012 10:55 pm
[Desktop Entry]
Comment=
Exec=/home/doug/kde4/inst/bin/krita
Icon=krita
Name=Krita
NoDisplay=false
Path[$e]=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: interactive mirror mode

Sat Apr 28, 2012 11:10 pm
This is due to the way Krita is built I think - the environment variables aren't declared in a way that the KDE Workspace sees them. You will need to launch it from the shell I think.


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

Re: interactive mirror mode

Sat Apr 28, 2012 11:30 pm
I get this message when I install updated builds & it looks helpful but I'm not sure where to find files to add this to the search path.

Note that '/home/doug/kde4/inst/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /home/doug/.local/share
- /usr/share
- /usr/share
- /usr/local/share
Gotblade
Registered Member
Posts
20
Karma
0
OS

Re: interactive mirror mode

Sun Apr 29, 2012 12:44 am
based on what I found in /etc/xdg/user-dirs.conf I created a ~/.config/user-dirs.conf with this in it
/home/doug/kde4/inst/share
/home/doug/.local/share
/usr/share
/usr/share
/usr/local/share

but I can still get the same error by saving the kmenu as before.
I can get it working again by running a shell script I made with this in it
export KDEDIRS=$HOME/kde4/inst:$KDEDIRS && export PATH=$HOME/kde4/inst/bin:$PATH && export KDEHOME=$HOME/kde4/.kde4 && kbuildsycoca4
I hope this is helpful
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS

Re: interactive mirror mode

Sun Apr 29, 2012 1:50 am
I don't know if it can helps, but on Kubuntu I have to do this to get Krita ok on the system :

Edit your profile file for a useful redirection ( I use kate here, gedit can be used on Gnome, or leafpad...etc.... )
Code: Select all
kate ~/.profile 


Paste this two lines at the end , customised to your install folder (mine is in ~/sources/krita/ ) :
Code: Select all
export KDEDIRS=$KDEDIRS:$HOME/sources/krita/calligra/calligra-inst
export PATH=$PATH:$HOME/sources/krita/calligra/calligra-inst/bin 


reboot




Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]