ffmpeg/x264/gpc circular dep loop
Sérgio Basto
sergio at serjux.com
Sat Mar 15 17:25:04 CET 2014
On Sáb, 2014-03-15 at 01:25 -0400, Emilio M Recio wrote:
> Thanks a lot! This worked for me, but I had to do some more digging as I
> am a newbie with this depth/amount of RPM manipulation. I found the x264
> spec file, and after updating that line, I did a "-ba" recompile of that
> file. Did the ffmpeg, gpac, and then commented out that line, and
> another -ba recompile of x264 and everything seems to have lived nicely.
Hi,
to build packages, I stop using rpmbuild and use mock [1]
Now I do commands like this :
rpmbuild -bs dvdstyler.spec --define "_sourcedir ." --define
'_srcrpmdir .' && mock -r fedora-rawhide-x86_64-rpmfusion_free
--rebuild ./dvdstyler-2.7.1-1.fc20.src.rpm --no-clean
Looking for mock configurations in /etc/mock/
we got many ppc and ppc64 configurations
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-20&arch=ppc
http://mirror.proserve.nl/fedora-secondary/releases/17/Fedora/
seems last one
for rpmfusion we still use cvs you can download rpms spec and patch
with
export CVSROOT=:ext:username at cvs.rpmfusion.org:/cvs/free
export CVS_RSH=ssh
export PLAGUE_CLIENT_CONFIG=~/.plague-client-rpmfusion.cfg
cvs co ffmpeg
you need install plague-client (yum install plague-client)
for fedora packages you may use fedpkg (yum install fedpkg)
cd fedora-scm/
fedpkg clone xorg-x11-drv-synaptics (-a for anonymous)
cd xorg-x11-drv-synaptics/
fedpkg mockbuild --root fedora-18-x86_64
or
fedpkg srpm ; mock -r fedora-20-x86_64 --rebuild azureus-5.3.0.0-2.fc21.src.rpm
[1]
http://www.serjux.com/alps/how_to_use_mock.txt
> I don't know if this is the right list or anything, but the last PPC
> repo was for F12. Should we bring it back? Like I said, I don't want to
> send this machine packing just yet... even if Apple has. If anyone is
> interested, please email back; otherwise I'll just post the ppc64
> packages on my server for download.
>
> My specs are:
> processor : 0
> cpu : PPC970, altivec supported
> clock : 1800.000000MHz
> revision : 2.2 (pvr 0039 0202)
>
> processor : 1
> cpu : PPC970, altivec supported
> clock : 1800.000000MHz
> revision : 2.2 (pvr 0039 0202)
>
> timebase : 33333333
> platform : PowerMac
> model : PowerMac7,3
> machine : PowerMac7,3
> motherboard : PowerMac7,3 MacRISC4 Power Macintosh
> detected as : 336 (PowerMac G5)
> pmac flags : 00000000
> L2 cache : 512K unified
> pmac-generation : NewWorld
>
> -e
>
> Sérgio Basto wrote:
> > On Sex, 2014-03-14 at 21:03 -0400, Emilio M Recio wrote:
> >> Folks,
> >>
> >> I am running F20 PPC64 on a Mac G5. I have been able to download the
> >> source RPM's from RPM Fusion and do an rpmbuild --rebuild on most of my
> >> needed packages. However, I am running into an issue with these three
> >> packages. I download the ffmpeg srpm, and it says that I need gpac, and
> >> x264. However, when I download the x264 or gpac srpm and try to compile
> >> it, it says that I need ffmpeg. This is worse than dll hell!
> >>
> >> Is there a manual/instructions on getting around this circular logic. I
> >> am stuck in a catch-22.
> >
> > you need bootstrap x264 [1]
> >
> >
> > x264.spec enable global bootstrap (%global _with_bootstrap 1) and
> > build x264
> > build ffmpeg
> > build gpac
> > disable x264 bootstrap (#global _with_bootstrap 1) , and build x264,
> > this is just need for /usr/bin/x264
> >
> >
> > [1] http://rpmfusion.org/ImportantDependencyLists
> >
> > Best regards,
--
Sérgio M. B.
More information about the rpmfusion-users
mailing list