[MPlayer-users] how to upadate cvs
The Wanderer
inverseparadox at comcast.net
Fri Nov 11 02:56:25 CET 2005
Stephen Stocker wrote:
> The Wanderer wrote:
>
>> Mustafa Abbasi wrote:
>>
>>> i am sorry if this is a noob question but please tell me the
>>> mplayer website says that
>>>
>>> In order to include libavcodec and libavutil in CVS updates, add
>>> the following lines to main/CVS/Entries:
>>>
>>> D/libavcodec////
>>> D/libavformat////
>>> D/libavutil////
>>>
>>> does this mean that i can update the libavcodec, libavformat, and
>>> libavutlis at the same time as updating mplayer cvs using tis
>>> command .
>>>
>>> cvs -z3 update -dPA
>>
>> Yes, that's what it means.
>>
>>> if so then how can i do this. it says something about adding
>>> these lines to main/CVS/Entries. i can't understand ths.
>>>
>>> please tell me what to do.
>>
>> I'm not sure what it is you don't understand here. Do you not
>> understand how to edit the file? Do you not understand how to
>> *find* the file? Do you not even realize that "main/CVS/Entries"
>> *is* a file? Or is it something else?
>>
>> I really thought that the explanation given (in fact, even the
>> explanation you've given in your own question) was foolproof
>> enough...
>
> I'm glad someone brought this up. I understand it, but I've never
> been able to make it work! After main/vidix/drivers, CVS just sits
> there forever, unless I abort it.
>
> I'm including the above lines, using CVS v1.12.9, with the CVSROOT
> variable set to :pserver:anonymous at mplayerhq.hu:/cvsroot/mplayer, and
> default options of "cvs -z3" and "update -dPA" in .cvsrc.
The only thing I can think of offhand is, in order for this to work the
directories must (I believe) already exist and must contain the relevant
Repository and Root files. The simplest way to do that is to follow
directions which are given elsewhere and grab the FFmpeg CVS tree, then
copy those directories from the FFmpeg tree to the MPlayer tree.
The only time I've had problems such as you describe is when I had
invalid password/etc. settings in those two files, which shouldn't apply
to you since you're almost certainly using anonymous CVS. It still does
hang for a considerable period of time after the rest of the update
before reporting results from those directories, but it does get there
eventually.
> I'm reasonably sure I'm overlooking something simple. I never got
> around to asking here, because it seems rather trivial. Still, it'd
> save some effort to get the whole thing at once, instead of getting
> ffmpeg updates separately and then copying those three directories
> into main.
I used to do that every time, but unless my memory's being more fickle
than usual, as soon as I edited the Entries file to add those lines, it
began to work correctly... since from what you say you *do* in fact
already have those directories with appropriate contents, I don't know
what could be the problem.
...unless the fact that the CVSROOT variable is set is overriding the
contents of libav*/CVS/Root... which wouldn't be a very sensible
behaviour IMO, but have you tried it with that variable empty?
--
The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
Secrecy is the beginning of tyranny.
More information about the MPlayer-users
mailing list