After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 48040 - please add these file types (graphic files that SunOffice can read) to the list that are recognized by default
please add these file types (graphic files that SunOffice can read) to the li...
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: MIME data
cvs (head)
Other Linux
: High minor
: ---
Assigned To: Seth Nickell
Luis Villa
Depends on:
Blocks: 80453
 
 
Reported: 2001-04-10 12:46 UTC by robert.kinsella
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
adds new image mimetypes supported by staroffice, adds an OpenOffice.org application entry (17.35 KB, patch)
2002-05-24 11:38 UTC, Alex Graveley
none Details | Review

Description robert.kinsella 2001-09-10 01:18:26 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 -------
Comment 1 Maciej Stachowiak 2001-10-07 10:14:32 UTC
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?

Comment 2 Luis Villa 2002-05-22 19:57:39 UTC
Alex: if/when Sun replies with the necessary information, please take
care of this. Thanks.
Comment 3 robert.kinsella 2002-05-23 12:08:13 UTC
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.
	
Comment 4 robert.kinsella 2002-05-23 12:33:32 UTC
smf - mime type - application/vnd.stardivision.math
Comment 5 Luis Villa 2002-05-23 14:51:55 UTC
Alex: is this enough to work with?
Comment 6 Luis Villa 2002-05-23 18:41:46 UTC
Taking the liberty of assigning to alex ATM.
Comment 7 Seth Nickell 2002-05-24 00:41:50 UTC
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.
Comment 8 Seth Nickell 2002-05-24 00:42:30 UTC
Louie, you realize this will break string freeze, right?
Comment 9 Seth Nickell 2002-05-24 02:19:17 UTC
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.
Comment 10 robert.kinsella 2002-05-24 10:30:19 UTC
If this is any help ?

.met OS/2 metafile
.svm StarView MetaFile
.sgv StarDraw 2.0
.sgf Starwriter SGF
Comment 11 Alex Graveley 2002-05-24 11:38:47 UTC
Created attachment 8706 [details] [review]
adds new image mimetypes supported by staroffice, adds an OpenOffice.org application entry
Comment 12 Alex Graveley 2002-05-24 11:42:55 UTC
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.
Comment 13 Seth Nickell 2002-05-24 23:44:18 UTC
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.
Comment 14 Luis Villa 2002-05-28 17:35:23 UTC
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).
Comment 15 Luis Villa 2002-05-28 17:39:38 UTC
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.
Comment 16 Luis Villa 2002-05-30 13:47:35 UTC
Reopening; Jeff says the standard is permission from Kjartan or
Christian and we have that.
Comment 17 Alex Graveley 2002-05-31 18:44:02 UTC
Patch applied in CVS.
Comment 18 Christian Rose 2002-05-31 19:13:49 UTC
Alex, will you please drop a note to gnome-i18n@gnome.org?