Bug 4068

Summary: smplayer spec file requires mplayer... but mpv can be used instead
Product: Fedora Reporter: Gerald Cox <gbcox>
Component: smplayerAssignee: Sérgio Basto <sergio>
Status: RESOLVED FIXED    
Severity: normal CC: fedora
Priority: P5    
Version: 23   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Gerald Cox 2016-06-11 14:29:06 CEST
The spec file for smplayer requires that mplayer be installed; however
this is no longer necessary because mpv can be used.

I discovered this while building smplayer for F24 since smplayer for F24 is not yet available.  Also, for grins I tried to build mplayer, but it wouldn't build for F24.  mpv had no issues. 

I removed the requires for mplayer for the spec file and built.  I also installed mpv... and smplayer works perfectly.

I understand at one time mplayer was a dependency, but mpv can be used instead and we really shouldn't force people to install mplayer if it isn't needed.  If they are smart enough to know about smplayer to install it, chances are they already know that in order to use they need either mpv or mplayer.  If not, they'll figure that out quickly.
Comment 1 Sérgio Basto 2016-06-20 02:42:07 CEST
(In reply to comment #0) 
> I discovered this while building smplayer for F24 since smplayer for F24 is not
> yet available.  Also, for grins I tried to build mplayer, but it wouldn't build
> for F24.  mpv had no issues. 

not a point here 

> I removed the requires for mplayer for the spec file and built.  I also
> installed mpv... and smplayer works perfectly.

> I understand at one time mplayer was a dependency, but mpv can be used instead
> and we really shouldn't force people to install mplayer if it isn't needed.
> they are smart enough to know about smplayer to install it, chances are they
> already know that in order to use they need either mpv or mplayer.  If not,
> they'll figure that out quickly.

as you said should be a recommendation and not a require but I prefer use require , on not use nothing , when  recomends begin to work I'll switch to that , this is not a priority  .
Comment 2 Gerald Cox 2016-06-20 02:59:39 CEST
(In reply to comment #1)
Also, for grins I tried to build mplayer, but it wouldn't build
> > for F24.  mpv had no issues. 
> 
> not a point here 
> 
The point being that if there is a delay getting mplayer working, that shouldn't prevent people from installing smplayer until whatever issues with mplayer are resolved.
Comment 3 Gerald Cox 2016-06-21 03:18:28 CEST
Another option is to just use UnitedRPMS for those who don't want mplayer as a requisite.  Didn't realize that existed as an option.
Comment 4 Sérgio Basto 2016-06-23 04:15:15 CEST
(In reply to comment #3)
> Another option is to just use UnitedRPMS for those who don't want mplayer as a
> requisite.  Didn't realize that existed as an option.

unitedrpms change the requires to mpv ... , I could revert back but 
I don't understand why you like mpv what mpv does that mplayer don't ?
Comment 5 Gerald Cox 2016-06-23 14:44:55 CEST
(In reply to comment #4)
> (In reply to comment #3)
> > Another option is to just use UnitedRPMS for those who don't want mplayer as a
> > requisite.  Didn't realize that existed as an option.
> 
> unitedrpms change the requires to mpv ... , I could revert back but 
> I don't understand why you like mpv what mpv does that mplayer don't ?

mpv is a newer fork with very active development.  From http://goo.gl/sjEKNB

"...the developer explains, "MPlayer wants to maintain old code, even if it is very bad code. It seems mplayer2 was forked because MPlayer developers refused to get rid of all the cruft. The mplayer2 and MPlayer codebases also deviated enough to make a reunification unlikely. mplayer2 development is slow, and it is hard to get in changes. Details withheld as to not turn this into a rant. MPlayer rarely merged from mplayer2, and mplayer2 practically stopped merging from MPlayer (not even code cleanups or new features are merged) mpv intends to continuously merge from mplayer-svn and mplayer2, while speeding up development. There is willingness for significant changes, even if this means breaking compatibility."
Comment 6 Sérgio Basto 2016-08-10 04:08:06 CEST
Fixed in smplayer-16.8.0-2

changed spec from requires to recommends mplayer