Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-27 17:21:29



Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Snapshot Floater: HUD's 
Author Message

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
g0rd0ngrfr33mailgr wrote:
I think I failed to patch the source. It did not write the applied_patches.txt file during compilation and does not recognise the @non_blindfold command. All I had to do was put the patch in ~/.secondlife/patches/cool_vl_viewer and then run the script, yes?
Did you invoke the build command with the "--patch" (or "-p") option ?

g0rd0ngrfr33mailgr wrote:
Should I had removed the ".txt" extension before?
No, the build script automatically handles gzip (*.gz), bzip2 (*.bz2), xz (*.xz) compressed patch files, and considers all others as plain text patches.


2024-01-06 16:25:46
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
Henri Beauchamp wrote:
Did you invoke the build command with the "--patch" (or "-p") option ?

I did! I don't understand what I'm doing wrong. I'll try again tomorrow.


2024-01-06 18:08:12
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
g0rd0ngrfr33mailgr wrote:
I don't understand what I'm doing wrong.

The build script will print any patch it applies. E.g.
Code:
Applying patches from ~/.secondlife/patches/cool_vl_viewer:
 - Patch: ~/.secondlife/patches/cool_vl_viewer/rlv_non_blindfold-patch.txt

If it can't find the patch it won't print anything... Of course, you also must have the 'patch' command installed on your system (type which patch to check).

You can also apply it manually:
Code:
cd linden
patch -p1 -s <~/.secondlife/patches/cool_vl_viewer/rlv_non_blindfold-patch.txt

Then build the viewer with ./linux-build.sh


2024-01-06 18:16:22
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 176
Reply with quote
Manually applying the patch did it. I don't know why it didn't take it automatically. But thank you, this works perfectly.
Image

For reference, the script I put in my Whim HUD is
Code:
default
{
    on_rez(integer start_param)
    {
        llOwnerSay("@non_blindfold");
    }
}


2024-01-07 14:53:51
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 21 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:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.