Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-29 10:59:34



Reply to topic  [ 8 posts ] 
Source repository 
Author Message

Joined: 2012-06-29 08:54:25
Posts: 9
Reply with quote
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.


2012-06-29 08:59:50
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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.


2012-06-29 17:31:03
Profile WWW

Joined: 2012-06-29 08:54:25
Posts: 9
Reply with quote
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.


2012-06-29 20:52:24
Profile

Joined: 2012-06-29 08:54:25
Posts: 9
Reply with quote
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.


Last edited by Doctor_who on 2012-07-11 08:27:49, edited 1 time in total.



2012-07-11 08:16:41
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Code:
cd linden  (or wherever the sources reside)
bzcat /path_to_patch/CoolVLViewer-v1264XX-to-v1264YY.diff.bz2 | patch -p1 -s


2012-07-11 08:19:36
Profile WWW

Joined: 2012-06-29 08:54:25
Posts: 9
Reply with quote
thank you, it works like a charm.


2012-07-11 08:29:41
Profile

Joined: 2012-06-29 08:54:25
Posts: 9
Reply with quote
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 165 times
2012-07-11 08:48:48
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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.


2012-07-11 09:00:12
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.