It seems that the OpenOffice.org desktop files have wrong icon identifiers. I corrected them now. Maybe I'll win the most wasted builtime award now
svn path=/nixpkgs/trunk/; revision=17835
This commit is contained in:
parent
2ea3e03077
commit
9dced99013
|
@ -77,6 +77,14 @@ installPhase() {
|
|||
ensureDir $out/share
|
||||
ln -s $out/lib/openoffice/openoffice.org3/share/xdg $out/share/applications
|
||||
|
||||
# Apply a minor correction to the *.desktop files in order to correctly address the icons
|
||||
# The openoffice- prefix should be removed from the icon identifiers
|
||||
for appl in *.desktop
|
||||
do
|
||||
sed -i '/Icon/d' $appl
|
||||
echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
|
||||
done
|
||||
|
||||
# Copy icons so that the menu items in KDE and GNOME will look much nicer
|
||||
(cd $SRC_ROOT/sysui/desktop/icons
|
||||
install -v -d $out/share/icons/{hicolor,locolor} -m 755
|
||||
|
|
Loading…
Reference in a new issue