From 2d6d11772fdb3a12fe3873ffd6246211d78a9510 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 15 Oct 2009 09:56:40 +0000 Subject: [PATCH] OpenOffice.org now includes icons so that the menu items will look much nicer in KDE svn path=/nixpkgs/trunk/; revision=17817 --- pkgs/applications/office/openoffice/builder.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index f4431a34f34..6b946acd863 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -77,6 +77,13 @@ installPhase() { ensureDir $out/share 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 ln -s $out/bin/soffice $out/bin/openoffice.org3 }