Subject: pkg/33827: OpenOffice dot.desktop files broken
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 06/26/2006 12:15:00
>Number:         33827
>Category:       pkg
>Synopsis:       OpenOffice 2 dot.desktop files broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 26 12:15:00 +0000 2006
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 3.0_STABLE
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:
	
	
System: NetBSD Gallin.nt.e-technik.tu-darmstadt.de 3.0_STABLE NetBSD 3.0_STABLE (SPG_PIII) #0: Wed May 31 13:18:31 CEST 2006 hf@Gstoder.nt.e-technik.tu-darmstadt.de:/var/obj/netbsd-builds/3_0/i386/sys/arch/i386/compile/SPG_PIII i386
Architecture: i386
Machine: i386
>Description:

	The OpenOffice packages come with dot.desktop files for
	integration with desktop environments like KDE, Gnome, XFCE
	v4.2. Unfortunately, they are not useful as shipped, because

	- both OO versions do not install the files to the canonical
	location {PREFIX}/share/applications.

	- the OO v2 files in {PREFIX}/openoffice.org2.0/share/xdg/
	want to call an "openoffice.org-2.0", which is nowhere in
	sight.

	Banana packages?

>How-To-Repeat:

	Install OpenOffice pkg, have your users complain about OO not
	being listed in {K, Gnome} menus and other well-known places.

>Fix:
	Install dot.desktop files to {PREFIX}/share/applications/.
	Patch v2 dot.desktop files to exec 'soffice' instead.
	Test package.
	Pull up fix to pkgsrc-2006Q1.

>Unformatted: