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

Compiling 4.3 - no icons visible

Tags: None
(comma "," separated)
hartwigj
Registered Member
Posts
12
Karma
0
OS

Compiling 4.3 - no icons visible

Wed Aug 05, 2009 8:04 pm
Hey everyone.

I hope this is the right place to post this...

Last night I compiled KDE 4.3 on my Mandriva 2009.1 Desktop machine.
Everything worked fine so far.
I installed KDE 4.3 to /usr/kde.

Today I removed the old KDE 4.2 packages and BOOOM all my icons were gone.
But they are all in /usr/kde/share/icons.
I set $KDEDIR to /usr/kde. All applications are running fine and are starting up.
But simply those damns icons won't show up.
I also tried to make a symbolic link from /usr/share/icons/oxygen and hicolor but that doesn't help (this was just to test if anything is wrong with the variables).

I compiled kdebase completely (workspace, runtime and apps) using cmakekde.

Has anyone a small hint for me?

Thank you!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try running "kbuildsycoca4 --noincremental" as well as setting the following environmental variables. You do not need to set TRUNKINSTALLPATH or KDE_ENV_SET, and need to change KDEDIR and QTDIR as appropriate.

Code: Select all
if [ -z "${KDE_ENV_SET}" ]; then
    export TRUNKINSTALLPATH="/opt/trunk-kde"
    # Change this to your kdedir setting in ~/.kdesvn-buildrc
    export KDEDIR="${TRUNKINSTALLPATH}/kde"
    export KDEDIRS="${KDEDIR}"

    # Change this to your qtdir setting in ~/.kdesvn-buildrc
    export QTDIR="${TRUNKINSTALLPATH}/qt"

    export PATH="${KDEDIR}/bin:${QTDIR}/bin:${PATH}"
    export LD_LIBRARY_PATH="${KDEDIR}/lib:${QTDIR}/lib"
    export CMAKE_PREFIX_PATH="${KDEDIR}:${QTDIR}"

    export KDEHOME="${HOME}/.kde4-trunk/"

    # Set the XDG data path, helps finding plugins, etc
    export XDG_DATA_DIRS="${KDEDIR}/share:${XDG_DATA_DIRS}"

    # Don't accidentally get sourced again.
    export KDE_ENV_SET=1
fi


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
hartwigj
Registered Member
Posts
12
Karma
0
OS
Thank you for your answer.

I'm building KDE not from trunk, it's 4.3 from branches. But that doesn't matter here I think.

I checked everything like you said, but all these things are correct, definetely.

Do you need some logs or my export-list?


Edit: Just installed kdeartwork. When using the icon theme from this package I have at least a few icons ;).
TeaAge
Alumni
Posts
55
Karma
0
OS
Just a small hint.
Why do you compile 4.3 your self, if Helio (the Mandriva KDE Maintainer) provide packages for 2009.0 and 2009.1?

For example here:
i586
urpmi.addmedia kde43 ftp://ftp.tu-chemnitz.de/pub/X11/kde/st ... edia/kde43
urpmi.addmedia kde43-noarch ftp://ftp.tu-chemnitz.de/pub/X11/kde/st ... edia/kde43

x86-64
urpmi.addmedia kde43 ftp://ftp.tu-chemnitz.de/pub/X11/kde/st ... edia/kde43
urpmi.addmedia kde43-noarch ftp://ftp.tu-chemnitz.de/pub/X11/kde/st ... edia/kde43

Regards,
TeaAfe


TeaAge, very proud KDE 4 User and to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Also, are you building the appropriate oxygen-icons KDESupport component?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
hartwigj
Registered Member
Posts
12
Karma
0
OS
Where do I find them??
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Compiling 4.3 - no icons visible

Fri Aug 07, 2009 10:02 pm
You should be building this repository as part of your build. It needs to be after Qt but before anything KDE.

http://websvn.kde.org/tags/kdesupport-f ... desupport/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
hartwigj
Registered Member
Posts
12
Karma
0
OS
Thank you man.
I'll try that.
bolenti
Registered Member
Posts
18
Karma
0
OS
Have you managed to solve the problem?

I have the same problem and even though i have followed the compilation steps, i still don't have any icons too.

When i issue the "startx" command, i get errors of this type printed:

Could not find mime type "application/octet-stream"

I also get it when i launch Dolphin. Any information that can help me to solve this issue is welcomed.

Thanking you in advance,
David

My system information:
1) svn co from branches/4.3
2) I have KDE 4.3.2
3) distribution: Slackware
bolenti
Registered Member
Posts
18
Karma
0
OS
I found the solution:
1) Removed my .local directory in my home folder
2) Run update-mime-database
bolenti
Registered Member
Posts
18
Karma
0
OS
I'm still encountering this problem when i change my init level to boot directly on X using KDM login. I have no clue what can and should be done now :((
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Compiling 4.3 - no icons visible

Fri Oct 09, 2009 10:50 am
There is no change from KDE's point of view whether startx or KDM is used to commence the session, so please contact your distributor.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
vbatts
Registered Member
Posts
102
Karma
0
OS
@bolenti if it makes it any easier for the time being, you can find the packages and source tree at http://cardinal.lizella.net/~vbatts/kde ... ges/4.3.2/ or rsync://cardinal.lizella.net/vbatts/kde ... ges/4.3.2/

take care,

vb


vbatts, proud to be a member of KDE forums since 2008-Sep.

http://hashbangbash.com/
bolenti
Registered Member
Posts
18
Karma
0
OS
Hello, I have managed to fix the problem. My environment variables wasn't right. Thank you for your responses.

Now I have a problem with KDE Menu Editor viewtopic.php?f=17&t=82832
User avatar
vbatts
Registered Member
Posts
102
Karma
0
OS
@bolenti if you don't mind, can you post on what it was that fixed your problem? that way others can reference it.

Thanks and Take care,


vbatts, proud to be a member of KDE forums since 2008-Sep.

http://hashbangbash.com/


Bookmarks



Who is online

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