Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 590612

Summary: x11-misc/shared-mime-info-1.4 can't play swf files in
Product: Gentoo Linux Reporter: piotr5
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description piotr5 2016-08-06 00:02:27 UTC
there's no actual player for .swf files in gentoo. they're supposed to be played by the flash-player, so install a browser and adobe-flash, then start these files from the browser.

this bug-report is about http://askubuntu.com/questions/7240/how-do-i-play-swf-files since that problem also affects gentoo. in version 1.4 of x11-misc/shared-mime-info that I have installed there is also the line an answer to above question on askubuntu suggested to change. i.e. to avoid browser telling you it can't play those files,

in /usr/share/mime/packages/freedesktop.org.xml change
<mime-type type="application/vnd.adobe.flash.movie">
into
<mime-type type="application/x-shockwave-flash">
before running
update-mime-database /usr/share/mime
during installation.

didn't check if that's fixed in newer versions. if it is, consider this report as request to switch the stable version to that or to backport the fix.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-08-10 05:16:33 UTC
This is something to be done upstream. Also, note that the current XML marks x-shockwave-flash as an alias.
Comment 2 Pacho Ramos gentoo-dev 2016-08-10 19:00:22 UTC
Please report this to upstream -> https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info

And then paste here the link to let us track the issue

Thanks
Comment 3 piotr5 2016-08-13 05:26:05 UTC
browsing the bugs on freedesktop it seems to be a common bug on some applications to ignore the aliases (and therefore not the fault of freedesktop). so I filed a bug on mozilla instead:
https://bugzilla.mozilla.org/show_bug.cgi?id=1294930
if other browsers show the same bug, please report there too...
Comment 4 Pacho Ramos gentoo-dev 2017-12-16 12:56:54 UTC

*** This bug has been marked as a duplicate of bug 624076 ***