Bug 592 - Add mime-type for sgf-files
Summary: Add mime-type for sgf-files
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 20:33 UTC by Bastien Nocera
Modified: 2005-10-28 20:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Adds a mimetype for sgf file (769 bytes, patch)
2004-08-29 11:46 UTC, Peter Lundqvist
Details | Splinter Review

Description Bastien Nocera 2004-05-03 20:33:10 UTC
From http://bugzilla.gnome.org/show_bug.cgi?id=138336

---8<---
There is no entry for application/x-go-sgf, hence, due to glob-patterns
sgf-files are assigned mimetype application/x-tex-gf

  mime/packages/freedesktop.org.xml
  2174    <mime-type type="application/x-tex-gf">
  2175      <comment>generic font file</comment>
  2176      <comment xml:lang="no">vanlig skriftfil</comment>
  2177      <glob pattern="*.*gf" />
  2178    </mime-type>

application/x-go-sgf refers to 'Smart Game Format'
(http://www.red-bean.com/sgf/)  and should probably be described as

    <mime-type type="application/x-go-sgf">
      <comment>Smart Game Format</comment>
      <glob pattern="*.sgf" />
    </mime-type>

There actually seem to be quite a few other formats named sgf, but I do think
that 'Smart Game Format' is the most common. I'm not sure, but other mime-types
for the same format may be available (since other viewers most probably is
desireable for different game-types), such as
  application/x-hex-sgf
  application/x-backgammon-sgf
however, google turns up with zero hits and so far the only applications using
sgf to store data are go-applications.
---8<---
Comment 1 Peter Lundqvist 2004-08-29 11:46:22 UTC
Created attachment 763 [details] [review]
Adds a mimetype for sgf file

Found out that the length of the glob determins which mime-type to use.
Comment 2 Christian - Manny Calavera - Neumair 2005-10-29 13:20:35 UTC
Thanks, fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.