Bug 97161 - Add a Game Boy Color MIME type
Summary: Add a Game Boy Color MIME type
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-01 08:13 UTC by Adrien Plazas
Modified: 2016-08-02 13:27 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Add a Game Boy Color MIME type (2.32 KB, patch)
2016-08-01 08:14 UTC, Adrien Plazas
Details | Splinter Review

Description Adrien Plazas 2016-08-01 08:13:56 UTC
We should have a Game Boy Color MIME type to discriminate Game Boy Color ROMs from Game Boy ones.
Comment 1 Adrien Plazas 2016-08-01 08:14:23 UTC
Created attachment 125455 [details] [review]
Add a Game Boy Color MIME type

Allow to disambiguate Game Boy Color ROMs from Game Boy ones.
Comment 2 Bastien Nocera 2016-08-02 11:19:08 UTC
Comment on attachment 125455 [details] [review]
Add a Game Boy Color MIME type

Review of attachment 125455 [details] [review]:
-----------------------------------------------------------------

Rest looks fine.

::: freedesktop.org.xml.in
@@ +2110,3 @@
>      </magic>
>      <glob pattern="*.gb"/>
> +    <glob pattern="*.sgb"/>

Please add that glob separately.
Comment 3 Bastien Nocera 2016-08-02 11:19:52 UTC
Comment on attachment 125455 [details] [review]
Add a Game Boy Color MIME type

Review of attachment 125455 [details] [review]:
-----------------------------------------------------------------

::: freedesktop.org.xml.in
@@ +2111,5 @@
>      <glob pattern="*.gb"/>
> +    <glob pattern="*.sgb"/>
> +  </mime-type>
> +  <mime-type type="application/x-gameboy-color-rom">
> +  

We don't need that linefeed, and it adds trailing whitespace anyway.
Comment 4 Adrien Plazas 2016-08-02 12:44:28 UTC
Comment on attachment 125455 [details] [review]
Add a Game Boy Color MIME type

Review of attachment 125455 [details] [review]:
-----------------------------------------------------------------

::: freedesktop.org.xml.in
@@ +2110,3 @@
>      </magic>
>      <glob pattern="*.gb"/>
> +    <glob pattern="*.sgb"/>

I didn't add it, it was lower in the list of original Game Boy globs, after the Game Boy Color ones.
Comment 5 Bastien Nocera 2016-08-02 13:23:58 UTC
(In reply to Adrien Plazas from comment #4)
> Comment on attachment 125455 [details] [review] [review]
> Add a Game Boy Color MIME type
> 
> Review of attachment 125455 [details] [review] [review]:
> -----------------------------------------------------------------
> 
> ::: freedesktop.org.xml.in
> @@ +2110,3 @@
> >      </magic>
> >      <glob pattern="*.gb"/>
> > +    <glob pattern="*.sgb"/>
> 
> I didn't add it, it was lower in the list of original Game Boy globs, after
> the Game Boy Color ones.

The *linefeed*, not the glob. You're commenting on the line above the linefeed that you most definitely added in the patch.
Comment 6 Bastien Nocera 2016-08-02 13:27:44 UTC
Attachment 125455 [details] pushed as eeb5c33 - Add a Game Boy Color MIME type

Pushed after removing the linefeed


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.