Difference between revisions of "User:Dzonatas Sol/Communicator"
Dzonatas Sol (talk | contribs) m (→Gnome#) |
Dzonatas Sol (talk | contribs) m (→Step-by-Step Guide: 0.9.9) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Image:MonoVida-20090701a.png| | [[Image:MonoVida-20090701a.png|400px|right]] | ||
Please feel free to update this page as needed. | Please feel free to update this page as needed. | ||
Line 6: | Line 6: | ||
== Step-by-Step Guide == | == Step-by-Step Guide == | ||
=== Compile Against Snowglobe Trunk Sources === | |||
<blockquote> | |||
<code>$ svn co http://svn.secondlife.com/svn/linden/projects/2009/snowglobe/trunk</code><br/> | |||
</blockquote> | |||
=== Get Current Libraries and Artwork === | |||
<blockquote> | |||
<code>$ wget http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/slviewer-linux-libs-oss-viewer-1.23.4.139024.tar.gz http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/slviewer-artwork-oss-viewer-1.23.4.139024.zip</code><br/> | |||
<code>$ ln -s trunk/ linden</code><br/> | |||
<code>$ unzip slviewer-artwork-oss-viewer-1.23.4.139024.zip</code><br/> | |||
<code>$ tar xzf slviewer-linux-libs-oss-viewer-1.23.4.139024.tar.gz</code><br/> | |||
</blockquote> | |||
=== Prepare === | |||
<blockquote> | |||
<code>$ cd linden/indra/</code><br/> | |||
<code>$ ./develop.py configure</code><br/> | |||
</blockquote> | |||
=== Apply Patch === | |||
Do it inside <code>linden/</code> <br/> | |||
<blockquote> | |||
<code>$ cd ../</code><br/> | |||
<code>$ cp (...)/snow-375.0.9.9.patch.txt .</code><br/> | |||
<code>$ patch -p1 < snow-375.0.9.9.patch.txt</code><br/> | |||
</blockquote> | |||
=== Compile === | |||
<blockquote> | |||
<code>$ cd indra/viewer-linux-i686-relwithdebinfo</code><br/> | |||
<code>$ make</code><br/> | |||
=== Gnome# === | </blockquote> | ||
=== Install Gnome# Desktop === | |||
Communicator depends on Gnome# Desktop runtime, install if you haven't already: | |||
* Debian/Unbuntu: | * Debian/Unbuntu: | ||
** apt-get install gnome-desktop-sharp2 | ** <code>apt-get install gnome-desktop-sharp2</code> | ||
* Gentoo/Funtoo/:<!-- (Probably works on Sabayon, too. Didn't test.) --> | |||
** <code>emerge dev-dotnet/glade-sharp dev-dotnet/gnome-desktop-sharp</code><!-- gnome-desktop-sharp doesn't seem to drag in glade-sharp as dependency. --> | |||
* Windows: | * Windows: | ||
** [http://ftp.novell.com/pub/mono/gtk-sharp/gtk-sharp-2.12.9-2.win32.msi Gtk# 2.12 for Windows] | ** [http://ftp.novell.com/pub/mono/gtk-sharp/gtk-sharp-2.12.9-2.win32.msi Gtk# 2.12 for Windows] | ||
** Or, see here for latest: http://www.go-mono.com/mono-downloads/download.html | ** Or, see here for latest: http://www.go-mono.com/mono-downloads/download.html | ||
=== Run Communicator and Snowglobe === | |||
* after compilation you get <code>(...)/linden/indra/viewer-linux-i686-relwithdebinfo/newview/Snowglobe-i686-1.3.0.0.tar.bz2</code> - copy it somewhere and extract it | |||
* run Snowglobe | |||
* get and extract Dzonatas Sol's Communicator (separate build) - currently http://mono.dzonux.net/file/communicator.0.9.9.zip | |||
* run <code>communicator.exe</code> | |||
* login in Snowglobe | |||
* use the toolbar '''Communicate''' button to show the detached windows | |||
Also see original notes provided by [https://jira.secondlife.com/browse/SNOW-375?focusedCommentId=151296&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_151296 Opensource Obscure]. | |||
== Options == | == Options == | ||
Line 56: | Line 68: | ||
These preferences can be found in the debug menu of the viewer: | These preferences can be found in the debug menu of the viewer: | ||
* InterfaceAllowConnections : To allow connections or deny all connections | * InterfaceAllowConnections : To allow connections or deny all connections (default: allow) | ||
* InterfaceAllowRemoteConnections : To allow/deny remote connections | * InterfaceAllowRemoteConnections : To allow/deny remote connections (default: deny) | ||
* InterfaceServerPort : The port number of the API | * InterfaceServerPort : The port number of the API (default: 50140) | ||
== Repository == | == Repository == |
Latest revision as of 13:37, 18 December 2009
Please feel free to update this page as needed.
Notes related to SNOW-375 on how to download, compile, install, and run the viewer with detached windows.
Step-by-Step Guide
Compile Against Snowglobe Trunk Sources
$ svn co http://svn.secondlife.com/svn/linden/projects/2009/snowglobe/trunk
Get Current Libraries and Artwork
$ wget http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/slviewer-linux-libs-oss-viewer-1.23.4.139024.tar.gz http://automated-builds-secondlife-com.s3.amazonaws.com/oss-viewer/slviewer-artwork-oss-viewer-1.23.4.139024.zip
$ ln -s trunk/ linden
$ unzip slviewer-artwork-oss-viewer-1.23.4.139024.zip
$ tar xzf slviewer-linux-libs-oss-viewer-1.23.4.139024.tar.gz
Prepare
$ cd linden/indra/
$ ./develop.py configure
Apply Patch
Do it inside linden/
$ cd ../
$ cp (...)/snow-375.0.9.9.patch.txt .
$ patch -p1 < snow-375.0.9.9.patch.txt
Compile
$ cd indra/viewer-linux-i686-relwithdebinfo
$ make
Install Gnome# Desktop
Communicator depends on Gnome# Desktop runtime, install if you haven't already:
- Debian/Unbuntu:
apt-get install gnome-desktop-sharp2
- Gentoo/Funtoo/:
emerge dev-dotnet/glade-sharp dev-dotnet/gnome-desktop-sharp
- Windows:
- Gtk# 2.12 for Windows
- Or, see here for latest: http://www.go-mono.com/mono-downloads/download.html
Run Communicator and Snowglobe
- after compilation you get
(...)/linden/indra/viewer-linux-i686-relwithdebinfo/newview/Snowglobe-i686-1.3.0.0.tar.bz2
- copy it somewhere and extract it - run Snowglobe
- get and extract Dzonatas Sol's Communicator (separate build) - currently http://mono.dzonux.net/file/communicator.0.9.9.zip
- run
communicator.exe
- login in Snowglobe
- use the toolbar Communicate button to show the detached windows
Also see original notes provided by Opensource Obscure.
Options
Communicator Command Line
As of 0.9.6, these options are available:
$ communicator.exe --uri=http://host.tld:port --port=number
- --uri : overrides default outgoing URI connection to the viewer
- --port : overrides default incoming port connection to communicator
Snowglobe Preferences
These preferences can be found in the debug menu of the viewer:
- InterfaceAllowConnections : To allow connections or deny all connections (default: allow)
- InterfaceAllowRemoteConnections : To allow/deny remote connections (default: deny)
- InterfaceServerPort : The port number of the API (default: 50140)
Repository
Use git to clone the repository:
$ git clone http://gitweb.dzonux.net/project/communicator.git
There are a few branches:
master - source branch of current version communicator - latest development branch (merges into master, tagged into X.X.X) communicator.X.X.X - tagged branches of specific version X snowglobe - latest development branch with changes for communicator Upstream-X.X.X - snapshot of oss-viewer branch in LL's repository
You can also browse the repository.
Issues
- Need to automatically spawn Communicator when Snowglobe starts. Currently have to spawn separately.
- Need a preference panel option to set address of Web/REST server port. (Used to connect from communicator to viewer asynchronously.)
- Need a preference panel option to set address of default TCP dial-out port. (Used to connect from viewer to communicator synchronously.)
- Update cmake build-package to include communicator and extra libs if specified on cmake config or make command, but not to include by default.
- Need a debug option to Hide/Show built-in communicator windows when detached windows are shown.
Also see the issue tracker for MonoVida Communicator.