Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2019-07-15 20:17:52



Reply to topic  [ 7 posts ] 
Mac Overlay installer - help the Coyote test 
Author Message

Joined: 2011-09-11 19:24:44
Posts: 33
Reply with quote
As discussed elsewhere, distributing a full .app for the Cool VL Viewer on OSX is a bad idea - so the GC is building a way to do what Henri does in Linus: an overlay (diff) distribution that only contains what is different from official LL Snowglobe. The idea is that the end-user has the official LL Snowglobe viewer (or downloads it) and then the overlay installer creates a full Cool VL Viewer from the diff package and the Snowglobe files.
This allows the Cool VL viewer to use certain libraries that an independent TPV developer can't legally distribute (mainly the KDU lib)

As we are doing this for Mac OS X, a simple bash script t be run in a terminal wouldn*t catch the Roadrunner, the coyote created a double-clickable little app the will create a full Cool VL Viewer. Plus, it will also download the Snowglobe DMG from LL for you if you don*t already have it.

So here we go:
Please download this ZIP
http://dl.dropbox.com/u/417929/CreateCo ... 21.app.zip
Unpack it, and find in it the actual 'installer* called
CreateCoolVLViewer126021(.app)
If you double-click this app it should pop open a console window where you can see what it's doing. Once it's done, it will open a Finder window with the resulting complete Cool VL Viewer app highlighted. Move this one anywhere you usually would (e.g. Applications folder) - Done!
Note: if you have the Snowglobe Installer DMG you can put it in the same folder as the CreateCoolVLViewer126021.app and it wil use it (no need to download this twice)

That's more explanation than is really needed, it should all be very simple. Download, unpack, run, done.

What I need you to do is to simply try it and report here if it works as intended.

Tell Tall Tails,
GC


2011-10-06 19:19:58
Profile

Joined: 2011-10-07 10:39:20
Posts: 79
Reply with quote
Hello Coyote,

the Installer worked fine on a MBP (late 2008) running Snow Leopard (10.6.8).

It showed a few 'warning/error' like messages, something like command not found or so, but the resulting app works fine so far.

A graphical installer could be nice, but guess its not worth it really (well, whipping up some small GUI with Tk wouldn't be hard and would probably be workable on Linux/Windows too).

Kath


2011-10-07 16:06:33
Profile

Joined: 2011-09-11 19:24:44
Posts: 33
Reply with quote
kathrine wrote:
It showed a few 'warning/error' like messages, something like command not found or so, but the resulting app works fine so far.

ok! if you like, could you re-run it (in a fresh dir) and copy/paste me the resulting output? That would be very helpful to see what might be causing the warnings... esp 'command not found' type errors would be important to know about and fix :)

kathrine wrote:
A graphical installer could be nice, but guess its not worth it really (well, whipping up some small GUI with Tk wouldn't be hard and would probably be workable on Linux/Windows too).

Yup, once the basic script is done, making it nicer is a possibility, sure ;)

Thanks for the feedback!
-GC


2011-10-07 16:51:23
Profile

Joined: 2011-10-07 10:39:20
Posts: 79
Reply with quote
Sure.
Code:
/Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/CreateCoolVLViewer126021.command ; exit;
/Users/kath $ /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/CreateCoolVLViewer126021.command ; exit;
Welcome to the CreateCoolVLViewer126021.command installer
/Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/CreateCoolVLViewer126021.command: line 8: seq: command not found


working in /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS
Top dir is: /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/../../..\nResource dir is: /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/../Resources
checking for deployment archive
checking in /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/../Resources

finding name of Application to create
archive name is: CoolVLViewer126021.deploy.zip
Application name is: CoolVLViewer126021

get the Snowglobe DMG (if we don't already have it)
/Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/CreateCoolVLViewer126021.command: line 8: seq: command not found

need to download it feom LL servers (only need to do this once)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 46.8M  100 46.8M    0     0   583k      0  0:01:22  0:01:22 --:--:--  690k

mounting the Snowglobe DMG
Prüfsumme für Driver Descriptor Map (DDM : 0) berechnen …
     Driver Descriptor Map (DDM : 0): Die überprüfte CRC32-Prüfsumme ist $AC712854
Prüfsumme für Apple (Apple_partition_map : 1) berechnen …
     Apple (Apple_partition_map : 1): Die überprüfte CRC32-Prüfsumme ist $5AA9F6DE
Prüfsumme für disk image (Apple_HFS : 2) berechnen …
.......................................................................................................................
          disk image (Apple_HFS : 2): Die überprüfte CRC32-Prüfsumme ist $6AA7BE1A
Die überprüfte CRC32-Prüfsumme ist $A6E285DA
/dev/disk1             Apple_partition_scheme            
/dev/disk1s1           Apple_partition_map               
/dev/disk1s2           Apple_HFS                         /Volumes/Snowglobe Installer

Snowglobe DMG was mounted as /Volumes/Snowglobe Installer
createing a copy of Snowglobe in /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/../../../CoolVLViewer126021.app
Copying /Volumes/Snowglobe Installer/Snowglobe.app
done.
unmounting the DMG again
"disk1" unmounted.
"disk1" ejected.


creating full Cool VL Viewer app
Copying /Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/../Resources/CoolVLViewer126021.deploy.zip

/Users/kath/devel/cool/CreateCoolVLViewer126021.app/Contents/MacOS/CreateCoolVLViewer126021.command: line 8: seq: command not found

DONE, you can now copy CoolVLViewer126021.app anywhere you want (/Applications/ is a good choice)
You can now safely close this Terminal window
logout



Seems the 'seq' stuff is missing from the used bash.
Code:
/Users/kath/devel/secondlife/build/cool $ bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc.


Would be cool to have the Mesh version around for this too (should be trivial to do.)

Kath


2011-10-07 19:01:11
Profile

Joined: 2011-09-11 19:24:44
Posts: 33
Reply with quote
Cool, thanks for the output.
Code:
Infinity:~$ bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
Copyright (C) 2007 Free Software Foundation, Inc.
Infinity:~$ which seq
/usr/bin/seq

seems I have seq, and you don't... maybe it came with Lion, who knows... I'll make sure to re-write (or omit) that little bash function so it doesn't need it, it only eye-candy here anyway.

I'll package the Mesh version asap, it's really no big deal now that I have scripts in place to create these deployment archives :)

-GC


2011-10-07 19:18:49
Profile

Joined: 2009-03-17 18:42:51
Posts: 4004
Reply with quote
Wait till tomorrow: new releases to come.


2011-10-07 22:56:39
Profile WWW

Joined: 2011-09-11 19:24:44
Posts: 33
Reply with quote
Here's the Mesh 1.26.1.9 (uploading it took longest ^^)
http://dl.dropbox.com/u/417929/CreateCo ... 19.app.zip
(Note: this is not yet the new release Henri mentioned... not sure if I'll be able to build that one in a timely manner in the coming days)

the installer script no longer uses seq, so it should also look nice now for you ;)
-GC


2011-10-08 10:42:26
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.