Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42574 - kbudget can't find kbudgetui.rc
Summary: kbudget can't find kbudgetui.rc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 04:37 UTC by tony den haan
Modified: 2004-05-18 16:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tony den haan 2004-02-23 04:37:05 UTC
starting kbudget-0.[56] gives:

kbudget: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kbudgetui.rc


logs show kbudgetui.rc etc get installed to
/usr/share/apps/kbudget, which isn't too bad, except for the fact
kbudget doesn't look there, only in:
stat64("/home/tony/.kde3.2/share/apps/kbudgetui.rc", 0xbfffec3c) = -1 ENOENT (No such file or directory)
stat64("/usr/kde/3.2/share/apps/kbudgetui.rc", 0xbfffec3c) = -1 ENOENT (No such file or directory)
stat64("/home/tony/.kde3.2/share/apps/kbudget/kbudgetui.rc", 0xbfffeacc) = -1 ENOENT (No such file or directory)
stat64("/usr/kde/3.2/share/apps/kbudget/kbudgetui.rc", 0xbfffeacc) = -1 ENOENT (No such file or directory)

i'm not sure if this is to be fixed by using some magic in src_compile() to
./configure --datadir=${KDEVERSION}/share/apps/kbudget 
or otherwise, but it needs fixing.

Reproducible: Always
Steps to Reproduce:
1.	
2.
3.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-23 05:39:08 UTC
I think this and Bug #42496 are both problems in kbudget itself.  We should probably notify the author
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-02-23 13:01:23 UTC
I looked into the code a bit, and this should work properly as long as your KDEDIRS environment variable contains /usr

Does it?

Comment 3 tony den haan 2004-02-23 14:06:36 UTC
having /usr in KDEDIR doesn't change things, i checked Makefile, config.log
etc, it all shows it's installing where it does: /usr/share/apps/kbudget,
but kbudget itself doesn't look there at all.
a bunch of kde* variables do get set to /usr/kde/3.2/*, so i reckon it's
one of those, although that would be wrong, it should be respecting
--datadir

Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-02-23 14:12:10 UTC
You want it in KDEDIRS, not KDEDIR.  KDEDIR is deprecated.
Comment 5 Dominik Stadler (RETIRED) gentoo-dev 2004-05-01 08:35:27 UTC
I just retested this, this works for me. I don't see this error. Can you post your "emerge --info" and "env".
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-05-18 16:46:16 UTC
i agree, seems to work fine here too