From f6a4c64f0fa7a39f7e5db0be287cbdf4c79d8323 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Tue, 12 May 2009 19:08:02 +0000 Subject: [PATCH] Added desktop file support for openoffice.org svn path=/nixpkgs/trunk/; revision=15579 --- pkgs/applications/office/openoffice/builder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index dbfbbb47496..18c9f7cb4cb 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -74,6 +74,11 @@ installPhase() { # Create some wrappers to start individual OpenOffice components. for i in writer calc draw impress base math web; do wrapSOffice oo$i -$i; done + + # Create symlinks to desktop files, so that openoffice.org apps can be picked from + # the application menu in KDE and GNOME + ensureDir $out/share + ln -s $out/lib/openoffice/openoffice.org3/share/xdg $out/share/applications } genericBuild