OpenOffice.org now includes icons so that the menu items will look much nicer in KDE
svn path=/nixpkgs/trunk/; revision=17817
This commit is contained in:
parent
43b456e692
commit
2d6d11772f
@ -77,6 +77,13 @@ installPhase() {
|
|||||||
ensureDir $out/share
|
ensureDir $out/share
|
||||||
ln -s $out/lib/openoffice/openoffice.org3/share/xdg $out/share/applications
|
ln -s $out/lib/openoffice/openoffice.org3/share/xdg $out/share/applications
|
||||||
|
|
||||||
|
# Copy icons so that the menu items in KDE and GNOME will look much nicer
|
||||||
|
(cd $SRC_ROOT/sysui/desktops/icons
|
||||||
|
install -v -d $out/share/icons/{hicolor,locolor} -m 755
|
||||||
|
cp -rv hicolor/*x* $out/share/icons/hicolor
|
||||||
|
cp -rv locolor/*x* $out/share/icons/locolor
|
||||||
|
)
|
||||||
|
|
||||||
# The desktop files expect a openoffice.org3 executable in the PATH, which is a symlink to soffice
|
# The desktop files expect a openoffice.org3 executable in the PATH, which is a symlink to soffice
|
||||||
ln -s $out/bin/soffice $out/bin/openoffice.org3
|
ln -s $out/bin/soffice $out/bin/openoffice.org3
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user