[MPlayer-users] how to upadate cvs (SOLVED)

Stephen Stocker lpar at par1.net
Sun Nov 13 03:17:10 CET 2005


 The Wanderer wrote:

>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

 Hi,

 After the better part of a year, wondering why I couldn't update the ffmpeg
 directories, after copying them into main and adding the appropriate lines
 to main/CVS/Entries, I decided to work on it.

 After building an updated version of the CVS system and still no luck, and
 not finding anything relevant in the CVS docs, I found out it was one tiny
 detail. When copying the 3 ffmpeg directories into main, (cp -vR
 ffmpeg/libav* main/) it occurred to me that copying them always set the
 timestamps on those files to the current time, *not* the time of last
 revision.

 cp -vRp ffmpeg/libav* main/ solved it, since the "p" switch preserves time
 attributes. I still have no idea why it would just hang, rather than
 listing the directories along with the regular MPlayer stuff, and going
 ahead with the update, but that took care of it. Maybe a conflict in the
 times listed in the libav* CVS/Entries?

 Anyway, I hope somebody may find this useful. It's been driving me crazy!
 :)

 Take care,
 Steve




More information about the MPlayer-users mailing list