Skip to content

Prefer "application/vnd.efi.iso" to "application/x-cd-image" mime for ISO images

Sid requested to merge sid/brasero:prefer_vnd_efi_mime_for_iso into master

This is due to recent ISO mime change in shared-mime-info v2.3, which replaced application/x-cd-image with application/vnd.efi.iso mime for ISO images. So, GIO returns application/vnd.efi.iso as mime for ISO images, and brasero doesn't know application/vnd.efi.iso mime.

$ gio info NetBSD-9.4-amd64.iso | grep vnd                                                                                                                                                                         
  standard::icon: application-vnd.efi.iso, media-optical, application-vnd.efi.iso-symbolic, media-optical-symbolic                                                                                                 
  standard::content-type: application/vnd.efi.iso                                                                                                                                                                  
  standard::fast-content-type: application/vnd.efi.iso                                                                                                                                                             
  standard::symbolic-icon: application-vnd.efi.iso-symbolic, media-optical-symbolic, application-vnd.efi.iso, media-optical                                                                                        

application/x-cd-image still is an alias for application/vnd.efi.iso in shared-mime-info. So the old mime still works fine in GtkRecent code which handles this correctly.

Refer: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/220

Fixes: #375

Edited by Sid

Merge request reports