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(a)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/-[^-]*-[^-]*\.[^.]*\.[^.]*$//'
which currently yields the following:
acoustid-fingerprinter
alsa-plugins-freeworld
audacious-plugins-freeworld
bino
bombono-dvd
chromaprint-tools
cmus
dvbcut
dvdstyler
ffmpeg
ffmpeg2theora
ffmpegthumbnailer
ffmpegthumbs
gpac
guvcview
k3b-extras-freeworld
kmediafactory
libquicktime
lightspark
minidlna
miro
mlt
mpd
mplayer
picard-freeworld
qmmp-plugins-freeworld
vlc
wxsvg
x264
xbmc
xine-lib-extras-freeworld
xmms2-freeworld
Best regards,
Julian