Hi, my Debian vendor (Lehmann, Germany) has packaged version 1.0.0-pre1.0.1rc3 of package openoffice.org with its woody distribution. I'm using a sef-compiled wxWindows 2.3.3 which reads /etc/mailcap and constantly whines about incomplete lines in this file. Upon trying to resolve this I found that the openoffice related lines don't comply to what is described in mailcap(5). At least the fact that a single entry spreads over multiple lines seems to be wrong. I have edited /usr/lib/mime/packages/openoffice.org and at least the wxWindows warnings have now disappeared. I've just compared with other files in /usr/lib/mime/packages, so no warranties I did the right thing (for example with the nametemplate field). I attached the edited version.
cheers, andreas ames Ps: I'm not subscribed, so please CC me if needed.
application/vnd.stardivision.calc; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarCalc 5.0; nametemplate=%s.sdc application/vnd.stardivision.chart; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarChart 5.0; nametemplate=%s.sds application/vnd.stardivision.draw; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarDraw 5.0; nametemplate=%s.sda application/vnd.stardivision.impress; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarImpress 5.0; nametemplate=%s.sdd application/vnd.stardivision.math; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarMath 5.0; nametemplate=%s.sdf application/vnd.stardivision.writer-global; openoffice %s; edit=openoffice %s ; test=test -n "$DISPLAY"; description=StarWriter 5.0 Master Document; nametemplate=%s.sgl application/vnd.stardivision.writer; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarWriter 5.0; nametemplate=%s.sdw application/vnd.sun.xml.calc; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org 1.0 Spreadsheet; nametemplate=%s.sxc application/vnd.sun.xml.calc.template; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org Spreadsheet Template; nametemplate=%s.stc application/vnd.sun.xml.draw; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org 1.0 Drawing ; nametemplate=%s.sxd application/vnd.sun.xml.draw.template; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org Drawing Template; nametemplate=%s.std application/vnd.sun.xml.impress; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org 1.0 Presentation; nametemplate=%s.sxi application/vnd.sun.xml.impress.template; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org Presentation Template ; nametemplate=%s.sti application/vnd.sun.xml.writer; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org 1.0 Text Document; nametemplate=%s.sxw application/vnd.sun.xml.writer.global; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org 1.0 Master Document; nametemplate=%s.sxg application/vnd.sun.xml.writer.math; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org 1.0 Maths Document application/vnd.sun.xml.writer.template; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=OpenOffice.org Text Document Template; nametemplate=%s.stw application/x-staroffice; openoffice %s; edit=openoffice %s; test=test -n "$DISPLAY"; description=StarOffice 5.0

