mass rebuild for x264/ffmpeg/mplayer on F19

Sérgio Basto sergio at serjux.com
Sat Jun 1 22:24:40 CEST 2013


On Ter, 2013-05-28 at 19:57 +0200, Julian Sikorski wrote: 
> W dniu 25.05.2013 14:00, Sérgio Basto pisze:
> > On Sáb, 2013-05-25 at 10:27 +0200, Andrea Musuruane wrote: 
> >> On Sat, May 25, 2013 at 1:43 AM, Sérgio Basto <sergio-iCFKjj3otdHQT0dZR+AlfA at public.gmane.org>
> >> wrote:
> >>         [...]
> >>         9 - build what requires ffmpeg.
> >>         repoquery --releasever=19 --whatrequires ffmpeg\*1.1\*
> >>         --source
> >>         --alldeps | grep -vP "x264|ffmpeg-1.1|gpac|^mplayer|vlc|
> >>         mythtv|
> >>         libquicktime|mjpegtools" | sort -u
> >>         
> >>         [...]
> >>         
> >>         list 9 -
> >>         acoustid-fingerprinter-0.6-2.fc19.src.rpm
> >>         alsa-plugins-freeworld-1.0.26-3.fc19.src.rpm
> >>         audacious-plugins-freeworld-3.3.4-1.fc19.src.rpm
> >>         bino-1.4.1-2.fc19.src.rpm
> >>         bombono-dvd-1.2.2-1.fc19.src.rpm
> >>         chromaprint-tools-0.7-4.fc19.src.rpm
> >>         cmus-2.5.0-1.fc19.src.rpm
> >>         devede-3.23.0-1.fc19.src.rpm
> >>         dvbcut-0.6.1-10.svn179.fc19.src.rpm
> >>         dvd95-1.6p0-5.fc19.src.rpm
> >>         dvd-slideshow-0.8.0-6.fc19.src.rpm
> >>         dvdstyler-2.4.3-1.fc19.src.rpm
> >>         ffmpeg2theora-0.29-3.fc19.src.rpm
> >>         ffmpegthumbnailer-2.0.8-3.fc19.src.rpm
> >>         ffmpegthumbs-4.10.1-1.fc19.src.rpm
> >>         get_iplayer-2.80-6.fc19.src.rpm
> >>         guvcview-1.6.1-3.fc19.src.rpm
> >>         imagination-3.0-9.fc19.src.rpm
> >>         k3b-extras-freeworld-2.0.2-10.fc19.src.rpm
> >>         kdenlive-0.9.6-1.fc19.src.rpm
> >>         kmediafactory-0.8.1-7.fc19.src.rpm
> >>         lightspark-0.7.2-1.fc19.src.rpm
> >>         minidlna-1.0.26-1.fc19.src.rpm
> >>         miro-5.0.4-3.fc19.src.rpm
> >>         mjpegtools-2.0.0-6.fc19.src.rpm
> >>         mlt-0.8.8-3.fc19.src.rpm
> >>         mpd-0.17.3-2.fc19.src.rpm
> >>         picard-freeworld-1.1-2.fc19.src.rpm
> >>         qmmp-plugins-freeworld-0.7.0-1.fc19.src.rpm
> >>         vdrsync-0.1.3-16.PRE1.050322.fc19.src.rpm
> >>         wxsvg-1.1.15-1.fc19.src.rpm
> >>         xbmc-12.2-1.fc19.src.rpm
> >>         xine-lib-extras-freeworld-1.1.21-5.fc19.src.rpm
> >>         xmms2-freeworld-0.8-7.fc19.src.rpm
> >>         
> >>
> >> These queries seems wrong to me because you are extracting both BR and
> >> Requires. For example devede does not BR ffmpeg, it just requires it
> >> at runtime. Rebuilding it is unneeded.
> > Hi,
> > by points 
> > 1 - Is not a problem, rebuild one package more. The opposite would be,
> > miss packages builds.
> > 2 - not Buildrequires, but requires of binaries rpms , yeah query
> > builrequires is a good idea.
> > 3 - devede requires ffmpeg by spec and you are right devede does need
> > rebuild by ffmpeg update, because does change anything. But when we
> > query the rpm, we don't have a way to know it, as it is possible put in
> > a .spec a buildrequires that doesn't change build results ... , other
> > point of view devede use ffmpeg in runtime changing ffmpeg may be not
> > compatible, we only know testing it . 
> > 4 - thanks for point out this question.
> > 
> > Best regards,
> > 
> It's probably too late now, but here are my 2 cents:
> - packages having mplayer in dependencies (like gmtk) do not need to be
> rebuilt at all - they don't link to mplayer, they just use the executable
> - this is what I use to get the deps whenever I am testing a new ffmpeg
> build:
> 
> repoquery --disablerepo=* --enablerepo=rpmfusion-{non,}free-rawhide
> --whatrequires --source `repoquery --provides --disablerepo=*
> --enablerepo=rpmfusion-free-rawhide ffmpeg-libs` | sort | uniq | sed
> 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//'

Hi, 
thanks for all the answers.
Just query what requires ffmpeg-libs , exclude all that just requires
ffmpeg [1], and yes this ones doesn't need to be rebuild, but need to be
checked if it still works. In my opinion is not a problem rebuild it, we
just have more work, thoughts like packages are rebuild and is compiled
with same version of gcc , seems to me, that package in some
circumstance may be more accurate, but same happens with x264 and
x264-libs and with mplayer .
while I'm writing, yeah none of mplayer deps needs to be rebuild , so we
just need to rebuild --whatrequires ffmpeg-libs and x264-libs 
about Julian formula, I don't see different results of --whatrequires
`repoquery --provides --disablerepo=*
--enablerepo=rpmfusion-free-rawhide ffmpeg-libs` 
against --whatrequires ffmpeg-libs 

so only two dependents list :  
repoquery --releasever=19 --whatrequires x264-libs --source --alldeps |
grep -vP "x264|ffmpeg-1" | perl -pe 's/-\d.*?-\d+(\..*)?\.fc\d
+(\..*)?.src.rpm//' | sort -u 
[2]

repoquery --releasever=19 --whatrequires ffmpeg-libs --source --alldeps
| grep -vP "x264|ffmpeg-1" | perl -pe 's/-\d.*?-\d+(\..*)?\.fc\d
+(\..*)?.src.rpm//' | sort -u 
[3]

I will update http://rpmfusion.org/ImportantDependencyLists and if we
reduce the number of rebuilds, maybe we can include this on F18. From
what I test in F19 none problem and many quality .  

[1]
+devede
+dvd95
+dvd-slideshow
+get_iplayer
+imagination
+kdenlive
+mjpegtools
+mythtv
+vdrsync

[2]
avidemux
ffmpeg-compat
gstreamer1-plugins-ugly
gstreamer-plugins-ugly
libquicktime
mplayer
mythtv
vlc


[3]
acoustid-fingerprinter
alsa-plugins-freeworld
audacious-plugins-freeworld
bino
bombono-dvd
chromaprint-tools
cmus
dvbcut
dvdstyler
ffmpeg2theora
ffmpegthumbnailer
ffmpegthumbs
gpac
guvcview
k3b-extras-freeworld
kmediafactory
libquicktime
lightspark
minidlna
miro
mlt
mpd
mplayer
picard-freeworld
qmmp-plugins-freeworld
vlc
wxsvg
xbmc

-- 
Sérgio M. B.


More information about the rpmfusion-developers mailing list