GNOME Bugzilla – Bug 719512
Adapt to libosinfo 0.2.9 & make use of variant API
Last modified: 2013-11-29 12:35:27 UTC
Tracker has been using a very old libosinfo. The media detection function used from old libosinfo has been deprecated for a while now so we better update to a new version now and use the new API. The attached patches do that. Moreover by bumping to the unreleased version, we can already start to make use of the new OS variant API. This way we will show more exact names to users, e.g 'Microsoft Windows 7 Professional' instead of 'Microsoft Windows 7'.
Created attachment 263068 [details] [review] Require libosinfo >= 0.2.9
Created attachment 263069 [details] [review] extract-iso: Use osinfo_db_identify_media osinfo_db_guess_os_from_media is deprecated in newer libosinfo and is replaced by osinfo_db_identify_media.
Created attachment 263070 [details] [review] extract-iso: Make use of OS variants Take the name of first variant as 'nie:title', if any.
I think it's all fine for master. IMO this is too much of a side feature to care about ifdefs, so please go ahead
Attachment 263068 [details] pushed as 209d489 - Require libosinfo >= 0.2.9 Attachment 263069 [details] pushed as 6c5ba40 - extract-iso: Use osinfo_db_identify_media Attachment 263070 [details] pushed as 76df381 - extract-iso: Make use of OS variants