On Tue, 6 Dec 2011, Jan Holesovsky wrote:

On 2011-12-02 at 23:32 +0100, Dag Wieers wrote:

The installation of Libreoffice 3.4.4 still does not set the necessary
file type associations to make flat ODF files work with LibreOffice out
of the box (in e.g. Gnome on RHEL6 using the official RPM packages).

There is a bug report about this since November 2010.

     https://bugs.freedesktop.org/show_bug.cgi?id=31624

What is required to make this part of the 3.5 release ?

First - I'd try a daily build:

http://dev-builds.libreoffice.org/daily/

to see if it works in master.  If no, probably you have to dig around
the mimetype registration:

http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/mimetypes

and other desktop files:

http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/menus

Interestingly I see the .fod* file types there, see eg.:

http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/mimetypes/oasis-text-flat-xml.desktop
http://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/menus/writer.desktop

Can you check if they are installed, used, etc.?

On 3.5RC2 the former is not installed, the later is installed fine. But I am not sure wether I added the relations myself, or not.

So I just tested on a clean RHEL6:

        3.4.4 -> Does not work
        3.4.5 -> Does not work
        3.5RC2 -> Does not work

The default relation is firefox (I guess because it is deemed an XML file), other associations are: gedit, Google Chrome en gvim :-/

On LibO 3.4 I installed the desktop-integration RPM for redhat, for LibO 3.5 this was merged with the freedesktop RPM, but still does not make a difference :-( The RPM does execute update-desktop-database and update-mime-database, but the associations are not there.

It's obvious that the mimetypes are missing, the RPM does install /usr/share/mime/packages/libreoffice3.5.xml, but it does not include the flat-xml or .fod? mimetypes :-(

--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to