[MPlayer-cvslog] r32830 - in trunk: . configure
Clément Bœsch
ubitux at gmail.com
Thu Feb 3 01:13:25 CET 2011
On Wed, Feb 02, 2011 at 11:38:08PM +0100, Diego Biurrun wrote:
> On Sun, Jan 30, 2011 at 11:27:32AM +0100, reimar wrote:
> >
> > Log:
> > Remove outdated FFmpeg svn external, make configure optionally
> > get and update a git checkout.
>
> I'm not terribly fond of this, but I currently have nothing better,
> so I won't complain.
>
Sounds good to me, a bit painful when you want to script the procedure
(|yes or manual checkout) but it's KISS so ok with me.
> > --- trunk/configure Sat Jan 29 17:43:54 2011 (r32829)
> > +++ trunk/configure Sun Jan 30 11:27:31 2011 (r32830)
> > @@ -35,6 +35,29 @@
> >
> > +if test -e ffmpeg/mp_auto_pull ; then
> > + if ! (cd ffmpeg && git pull --rebase --ff-only) ; then
>
> I have a hunch you need a new enough git version for this to work:
>
> diego at slaughter:/var/tmp/diego/mplayer/trunk/ffmpeg $ git pull --rebase --ff-only
> error: unknown option `ff-only'
> usage: git-fetch [options] [<repository> <refspec>...]
>
> [...]
>
> diego at slaughter:/var/tmp/diego/mplayer/trunk/ffmpeg $ git --version
> git version 1.5.6.5
>
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.6.6.txt
* "git merge" (and "git pull") learned --ff-only option to make it fail
if the merge does not result in a fast-forward.
> > +if ! test -e ffmpeg ; then
> > + echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort"
> > + read tmp
> > + if ! git clone git://git.videolan.org/ffmpeg.git ffmpeg ; then
>
> wrong repo ;-p
>
> No, I won't fight about this, but the irony in seeing MPlayer with two
> libmpcodecs directories amuses me. ;-)
>
We kept libswscale in both repository a long time too :)
--
Clément B.
More information about the MPlayer-cvslog
mailing list