Cool VL Viewer forum
http://sldev.free.fr/forum/

Source repository
http://sldev.free.fr/forum/viewtopic.php?f=5&t=836
Page 1 of 1

Author:  Doctor_who [ 2012-06-29 08:59:50 ]
Post subject:  Source repository

Hello.

Is there a repository for the sources?

If there is, I have not found it.
If there is not, why ? It would be great.

thanks by advance.

Author:  Henri Beauchamp [ 2012-06-29 17:31:03 ]
Post subject:  Re: Source repository

I don't use a repository to code; I'm an old fart (repositories didn't exist in the prehistoric days of computing, when I started coding) and, for example, I'm still using a simple text editor (nedit) and the command line to code, nothing else (no "IDE"). Mind you, I can code faster and better this way than the vast majority of younger coders could do with the best IDE and repository, so why would I change a method that plain works ?...

The sources are available from the download page, as well as the patch (diff) files from one release to the next.

Author:  Doctor_who [ 2012-06-29 20:52:24 ]
Post subject:  Re: Source repository

Hello Henri.

thank you for your answer. Actually, I knew you do not need any sources repository for being efficient in your coding.
My suggestion was for others (among me :oops: ) who would enjoy to compile by themself and, maybe, do some code contribution in your project. You would decide what would be merged in the official branch. Coding can be funny and Cool VL Viewer is a very exciting project.

In addition, repo is a good way for keeping track of all the changes you made (for others). It made it so much easier to read through the different versions. Anyway, you already know all this ;)

I would enjoy to contribute in your project with my modest skill. :)
It is why I asked and I still hope to see such a repo for this project.

btw, do you plan to make Cool VL viewer be a contributive project ?

Again, thank you for bringing us Cool VL Viewer.

Author:  Doctor_who [ 2012-07-11 08:16:41 ]
Post subject:  Re: Source repository

btw, how I do apply your patch in my working directory ?
I tried :

cd my_working_copy/linden
patch -p9 < ../../CoolVLViewer-v126418-to-v126419.diff

but it returns

missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN cv126418/indra/llaudio/llaudioengine.cpp cv126419/indra/llaudio/llaudioengine.cpp
|--- cv126418/indra/llaudio/llaudioengine.cpp 2011-12-20 00:22:53.000000000 +0100
|+++ cv126419/indra/llaudio/llaudioengine.cpp 2012-06-17 21:51:32.000000000 +0200

thank you by advance.

Author:  Henri Beauchamp [ 2012-07-11 08:19:36 ]
Post subject:  Re: Source repository

Code:
cd linden  (or wherever the sources reside)
bzcat /path_to_patch/CoolVLViewer-v1264XX-to-v1264YY.diff.bz2 | patch -p1 -s

Author:  Doctor_who [ 2012-07-11 08:29:41 ]
Post subject:  Re: Source repository

thank you, it works like a charm.

Author:  Doctor_who [ 2012-07-11 08:48:48 ]
Post subject:  Re: Source repository

Al works fine but......

$ bzcat ../../../CoolVLViewer-v126420-to-v126421.diff.bz2 | patch -p1 -s
6 out of 9 hunks FAILED -- saving rejects to file indra/newview/llpanelface.cpp.rej
1 out of 3 hunks FAILED -- saving rejects to file indra/newview/llviewercontrol.cpp.rej

:?

Attachments:
llpanelface.cpp_rej.txt [12.56 KiB]
Downloaded 271 times

Author:  Henri Beauchamp [ 2012-07-11 09:00:12 ]
Post subject:  Re: Source repository

Doctor_who wrote:
Al works fine but......

$ bzcat ../../../CoolVLViewer-v126420-to-v126421.diff.bz2 | patch -p1 -s
6 out of 9 hunks FAILED -- saving rejects to file indra/newview/llpanelface.cpp.rej
1 out of 3 hunks FAILED -- saving rejects to file indra/newview/llviewercontrol.cpp.rej
This is what happens when you changed something (sometimes only spacing) to the files that I also changed in the new release. Rejects are simply the way for the 'patch' command to say "I don't know how to handle this, I give up and let you decide", and you then have to apply the rejected parts (listed on the *.rej files) manually.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/