[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#923494: Please Recommend and dlopen libsdl2 rather than depending on it





On Sun, Mar 10, 2019 at 9:36 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
> What might work is disabling the avdevice outdev AND
> moving 'ffplay' to its own binary package.

Before suggesting this, I would prefer the OP to test. I
still do not entirely believe that this fixes his issue.


There is a good chance that the OP did not get this message, because debbugs does not automatically subscribe the original submitter. One has to exlicitly use the NNNNNN-submitter@bugs.debian.org alias or include his email address explicitly.

I've went ahead and implemented the change (passing in --disable-outdev=sdl2 as you suggested, and moving ffplay into its own binary package)

With this patch, the ffmpeg binary package has a depends line like this:                                                                                                                                           
                                                                                                                                                                                                                   
 Package: ffmpeg                                                                                                                                                             Version: 7:4.1.1-2                                                                                                                                                           Architecture: amd64                                                                                                                                                         Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>                                                                                               Installed-Size: 1808                                                                                                                                                         Depends: libavcodec58 (= 7:4.1.1-2), libavdevice58 (= 7:4.1.1-2), libavfilter7 (= 7:4.1.1-2), libavformat58 (= 7:4.1.1-2), libavresample4 (= 7:4.1.1-2), libavutil56 (= 7:4.1.1-2), libc6 (>= 2.14), libpostproc55 (= 7:4.1.1-2), libswresample3 (= 7:4.1.1-2), libswscale5 (= 7:4.1.1-2)
 Suggests: ffmpeg-doc                                                                                                                                                         Breaks: libav-tools (<< 6:12~~), qt-faststart (<< 7:2.7.1-3~), winff (<< 1.5.5-5~)                                                                                           Replaces: libav-tools (<< 6:12~~), qt-faststart (<< 7:2.7.1-3~)                                                                                                             Section: video                                                                                                                                                                                                    
                                                                                                                                                                                                                   
Note that there is a dependency on libavdevice58, but not on SDL.                                                                                                                                                  
                                                                                                                                                                                                                   
The 'ffplay' binary package has a depends line that looks like this:                                                                                                                                               
                                                                                                                                                                                                                   
 Package: ffplay                       
 Source: ffmpeg                       
 Version: 7:4.1.1-2                   
 Architecture: amd64
 Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
 Installed-Size: 226                                                                                                                                                       Depends: libavcodec58 (= 7:4.1.1-2), libavdevice58 (= 7:4.1.1-2), libavfilter7 (= 7:4.1.1-2), libavformat58 (= 7:4.1.1-2), libavresample4 (= 7:4.1.1-2), libavutil56 (= 7:4.1.1-2), libc6 (>= 2.14), libpostproc55 (= 7:4.1.1-2), libsdl2-2.0-0 (>= 2.0.9), libswresample3 (= 7:4.1.1-2), libswscale5 (= 7:4.1.1-2), ffmpeg
 Suggests: ffmpeg-doc                                                                                                                                                       Breaks: ffmpeg (<< 7:4.1.1-2~), libav-tools (<< 6:12~~), qt-faststart (<< 7:2.7.1-3~), winff (<< 1.5.5-5~)                                                                   Replaces: ffmpeg (<< 7:4.1.1-2~), libav-tools (<< 6:12~~), qt-faststart (<< 7:2.7.1-3~)                                                                                     Section: video                                                                                                                                                                                                    
                                                                                                                                                                                                                   
Note that this includes both libavdevice58 as well as libsdl2-2.                                                                                                                                                   
                                                                                                                                                                                                                   

I think this should address the issue. Any objections to this approach?


--
regards,
    Reinhard

Reply to: