Bug 97161

Summary: Add a Game Boy Color MIME type
Product: shared-mime-info Reporter: Adrien Plazas <kekun.plazas>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bugzilla, fitojb, kekun.plazas
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Add a Game Boy Color MIME type

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.