Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41870

Summary: sun-jdk package installs .desktop link file into /usr/kde/3.1/share instead of /usr/share
Product: Gentoo Linux Reporter: Hans Meine <hans_meine>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hans Meine 2004-02-17 02:06:07 UTC
After updating from KDE 3.1 to 3.2, I was looking for rests in /usr/kde/3.1:
qpkg -i -l -fp "/usr/kde/3.1/*" gives

dev-java/sun-jdk-1.4.2.03 *
        Sun's J2SE Development Kit, version 1.4.2_03 [ http://java.sun.com/j2se/1.4.2/download.html
        einfo ${HOMEPAGE} ]
CONTENTS:
/usr/kde/3.1
/usr/kde/3.1/share
/usr/kde/3.1/share/applnk
/usr/kde/3.1/share/applnk/Internet
/usr/kde/3.1/share/applnk/Internet/sun_java.desktop

Other packages install their applnk files to /usr/share/applnk which allows to share them among different versions.
Maybe check this with kde@gentoo.org

Reproducible: Always
Steps to Reproduce:
1. emerge kdelibs
2. emerge sun-jdk
3. find /usr{/kde/3.?,}/share/applnk -name sun_java.desktop

Actual Results:  
I got the output 
/usr/kde/3.1/share/applnk/Internet/sun_java.desktop 

Expected Results:  
Install sun_java.desktop into /usr/share/applnk/Internet
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-10 17:30:14 UTC
This should be fixed in 1.4.2.04 which just got tossed in portage :)