GNOME Bugzilla – Bug 48040
please add these file types (graphic files that SunOffice can read) to the list that are recognized by default
Last modified: 2004-12-22 21:47:04 UTC
Solaris and RedHat 6.2 Nautilus fails to recognise the following graphical file types .emf .met .pcd .pct .pcx .sda .sgf .sgv .smf .svm Suggest to reference StarOffice application as it is capable of opening all of these file types correctly. ------- Additional Comments From darin@bentspoon.com 2001-04-10 13:18:45 ---- You can add additional file types using the file types and programs panel in the control panel. But we can add some more to the default set. For types that we add, we need the following information: 1) extension 2) file format documentation so we can recognize files even when they have the wrong extensions 3) MIME type (or we have to invent one if there's no pre-existing one) 4) human-readable name for the type 5) applications which are known to be able to read the type For these ten types we have #1 and #5, but we also need to gather the rest. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:18 -------
Hi Robert, can you please provide the info Darin requested for these file types so we can add them? Or can you tell me where to find this info?
Alex: if/when Sun replies with the necessary information, please take care of this. Thanks.
I don't have the answers to all of the above questions. Question 1. is self explanatory, the file extensions are as listed. Question 2. I do not have file format documentation, I've searched the web but have found nothing useful, if anyone wants example files please email me directly and I will forward them to you. Qestion 3. The only MIME type I can find is for type .sda - MIME type application/vnd.stardivision.draw ( as defined in Netscape) Question 4. emf - extended metafile met - metafile pcd - photo cd pct - pict file format pcx - pc paintbrush sda - staroffice draw sgf - starwriter SGF sgv - graphics sgv smf - staroffice formula svm - graphics svm Question 5. StarOffice and OpenOffice.org are both capable of being able to read all of these file types.
smf - mime type - application/vnd.stardivision.math
Alex: is this enough to work with?
Taking the liberty of assigning to alex ATM.
We really should have a form for submitting these requests rather than handling them through bug reports. To some extent we could even make it semi-automated so it would generate patches that would be trivial to apply. It just seems like we're going to be doing a lot of file type stuff and it would be good to let authors submit new types so we don't have to handle every case manually.
Louie, you realize this will break string freeze, right?
OK, did a web search and found general consensus for mime types for these items as follows: (FWIW, when I add types I just do simple web searches to find the appropriate mime types, its a good technique because they're basically just a consensus issue anyway) .emf - image/x-emf .pcd - image/x-photo-cd .pct - image/x-pict .pcx - image/x-pcx I'll add entries for them as soon assuming people don't mind if I break string freeze. .sgf,.sgv,.svm... I'd really like better descriptions of these before I add them. They say graphics, what sort of graphics? What makes them different from each other? How are they intended to be used? I couldn't find a use of .met. I'd like a better description of it (what is it used for, for example?) before I register it. Bad descriptions are likely just to confuse people. "Metafile" means almost nothing to me. I registered .sda, .smf a few months ago when I added all the StarOffice and OpenOffice file types listed on the web site.
If this is any help ? .met OS/2 metafile .svm StarView MetaFile .sgv StarDraw 2.0 .sgf Starwriter SGF
Created attachment 8706 [details] [review] adds new image mimetypes supported by staroffice, adds an OpenOffice.org application entry
Attached a patch to add image/x-emf, image/x-photo-cd, image/x-pict, image/x-pcx mimetypes. Also adds an OpenOffice.org application entry, and adds it as an entry wherever staroffice is used. This is a partial patch as I can't find mimetypes for .met, .svm, .sgv, or .sgf files. Marking as NEEDINFO until these are figured out. Seth, can you take a look at this path? I'm not really sure about it.
This looks good, except I'm still waiting for clearance to break the string freeze to make these additions. Make sure you've run check-mime.pl (in gnome-mime-data), it does some basic sanity checks on the MIME database. Also, you should probably add all the staroffice and openoffice types as supported mime types to the new openoffice application in addition to the non-native types it supports.
Seth: I'd been under the impression that Kjartan gave permission on behalf of the translators; I'll check on that. Alex: if you could add the SO/OO entries, that would be great, since I'm sure Sun will want that at some point :) You can ask Peter; he already has a patch to gnome-vfs that does that (IIRC).
Seth: Menthos gave his personal permission; do we need something more formal than that? Alex: can you please go ahead and add the SO/OO stuff? I believe Peter already has a patch for this if you ask him about it. Thanks.
Reopening; Jeff says the standard is permission from Kjartan or Christian and we have that.
Patch applied in CVS.
Alex, will you please drop a note to gnome-i18n@gnome.org?