breakage in kdiff3

Ryan Rix ry at n.rix.si
Wed Mar 24 01:45:49 UTC 2010


On Tue 23 March 2010 11:55:48 am Neal Becker wrote:
> It's installed as 
> locate kdiff3_part.rc
> /usr/share/kde4/apps/kdiff3/kdiff3_part.rc
> 
> This seems to be where it's looking:

Uh, no it's not :)

> stat("/home/nbecker/.kde/share/apps/kdiff3_part.rc", 0x7fffd2d697f0) = -1 
/home/nbecker/.kde/share/apps/kdiff3_part.rc

> stat("/usr/share/kde-settings/kde-
> profile/default/share/apps/kdiff3_part.rc", 0x7fffd2d697f0) = -1 ENOENT
/usr/share/kde-settings/kde-profile/default/share/apps/kdiff3_part.rc

> stat("/usr/share/kde4/apps/kdiff3_part.rc", 0x7fffd2d697f0) = -1 ENOENT
/usr/share/kde4/apps/kdiff3_part.rc
If this is the one you saw, note that it's missing kdiff3/ after apps.

> stat("/home/nbecker/.kde/share/apps/kdiff3part/kdiff3_part.rc", 
/home/nbecker/.kde/shaer/apps/kdiff3part/kdiff3_part.rc

> stat("/usr/share/kde-settings/kde-
> profile/default/share/apps/kdiff3part/kdiff3_part.rc", 0x7fffd2d694b0) =
/usr/share/kde-settings/kde-
profile/default/share/apps/kdiff3part/kdiff3_part.rc

> stat("/usr/share/kde4/apps/kdiff3part/kdiff3_part.rc", 0x7fffd2d694b0) =
/usr/share/kde4/apps/kdiff3part/kdiff3_part.rc
If this is the one you saw, note that it's searching in kdiff3part/ not 
kdiff3/

So I guess the most optimal option for you would be to either move that file 
in %install, or alternately, patch cmake:
install( FILES  kdiff3_part.rc DESTINATION ${DATA_INSTALL_DIR}/kdiff3 )
to
install( FILES  kdiff3_part.rc DESTINATION ${DATA_INSTALL_DIR} )
OR
install( FILES  kdiff3_part.rc DESTINATION ${DATA_INSTALL_DIR}/kdiff3part )

Push that patch upstream if you decide to go the latter route, which is the 
route i'd recommend.

-- 
Ryan Rix
== http://hackersramblings.wordpress.com | http://rix.si/ ==
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/kde/attachments/20100323/b3981a19/attachment.bin 


More information about the kde mailing list