Difference between revisions of "Third Party Libraries"

From Second Life Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
The following table lists libraries and other third party dependencies used in constructing the Second Life Viewer.
The following table lists libraries and other third party (3p) dependencies used in constructing the Second Life Viewer.


Most of these (all the open source ones) should be available as prebuilds packaged by and for use with [[Autobuild]].
Most of these (all the open source ones) should be available as prebuilds packaged by and for use with [[Autobuild]].


Anywhere that the following disagrees with the autobuild.xml file in the viewer source, that file is correct.
==== Generic Layout (Single-branch, 2024 Style) ====


:''The license information here is incomplete... I am still verifying and updating the license information.''
3p packages should vendor upstream contents using [https://git-scm.com/book/en/v2/Git-Tools-Submodules git submodules] unless a source git repository for the source dependency is not available.
''--- [[User:Oz Linden|Oz Linden]]''
A typical 3p package layout looks like this:
 
<pre>
.
├── [vendor submodule]/ - Git submodule containing upstream source
├── .github/            - CI/CD and repository configuration
├── autobuild.xml      - Autobuild manifest
├── build-cmd.sh        - Script used to build the repository
├── LICENSE            - Repository licensing
└── README.md          - Repository readme
</pre>
 
===== Contributor Instructions =====
 
The general workflow for contributing changes to a 3p library looks like this:
 
# Fork the repository and make changes. Be sure to test your work locally.
# Create a PR (Be sure to follow [https://gist.github.com/mikepea/863f63d6e37281e329f8 PR Etiquette] and our [https://github.com/secondlife/.github/blob/main/CODE_OF_CONDUCT.md Code of Conduct])
# Have this PR reviewed and merged
# Done! The maintainer should cut a new version as appropriate using the workflow described below.
 
===== Maintainer Instructions =====
 
[[File:Screenshot 2024-08-10 at 11-48-23 Releases · secondlife 3p-zlib-ng.png|thumb|top|right|A properly versioned and promoted release of 3p-zlib-ng]]
 
If you are a 3p package maintainer you will want to follow these instructions to review and release new versions:
 
# Review PRs quickly, and merge them directly into the default branch once approved
# Cut a new release by using Github's Releases feature:
## Navigate to '''Repository -> Releases''' and click '''"Draft new Release"'''
## Click '''Choose a tag''' and create a new tag using the <code>vUPSTREAM-rRELEASE</code> format described below
## Click '''Generate release notes''' and edit them as appropriate. Keep the title of the release equal to the version being used.
## Click ''Publish release''
 
After the release is published, CI/CD should be triggered by the addition of the new tag, and provide a nice set of packages and instructions for consumers to use.
 
===== Version format =====
 
3p packages should be released using the following version schema:
 
<pre>
Format
 
  vUPSTREAM-rRELEASE
 
  Example: v1.0.0-r2 (Second vendored release of v1.0.0 of this library)
 
  UPSTREAM - Upstream package version. ex. 1.0.0 or 6.7
  RELEASE - Vendored release number, ex. 1, 2
</pre>
 
===== Patches =====
 
By convention, patches should be kept in a <code>patches/*</code> directory and applied to the upstream source during build. You can use the following utility function, declared in your '''build-cmd.sh''' script to help:
 
<syntaxhighlight lang="bash">
apply_patch()
{
    local patch="$1"
    local path="$2"
    echo "Applying $patch..."
    git apply --check --reverse --directory="$path" "$patch" || git apply --directory="$path" "$patch"
}
</syntaxhighlight>
''Patch helper from [https://github.com/secondlife/3p-boost 3p-boost]''
 
===== Differences from old style (vendor branch) =====
 
Originally, 3p libraries were maintained using a separate '''vendor''' and default branch. Repositories using this style should be migrated to new single-branch format. Benefits of using a single-branch are:
 
* Simpler PR process (Make PR against default, merge it. Done.)
* Faster release process, which means quicker integration for package consumers
* Easier integration with GitHub functionality such as Automatic Release Notes
* More explicit maintenance of patches makes delta from upstreams clearer and simpler to understand
 
=== List of third party libraries ===


{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
Line 19: Line 94:
|-
|-
|apr_suite
|apr_suite
|[https://bitbucket.org/lindenlab/3p-apr 3p-apr]
|[https://github.com/secondlife/3p-apr_suite/ 3p-apr]
|[https://bitbucket.org/lindenlab/3p-apr/src/tip/apr/LICENSE Apache License]
|[https://github.com/secondlife/3p-apr_suite/blob/main/apr/LICENSE Apache License]
|http://apr.apache.org/
|http://apr.apache.org/
|"A set of C functions which provide a portable and consistent interface into operating system - or simply widely useful - functionality. We primarily use it for threading and socket i/o. This is actually three packages, apr, apr-util and apr-iconv."
|"A set of C functions which provide a portable and consistent interface into operating system - or simply widely useful - functionality. We primarily use it for threading and socket i/o. This is actually three packages, apr, apr-util and apr-iconv."
|-
|ares
|[https://bitbucket.org/lindenlab/3p-ares 3p-ares]
|[https://bitbucket.org/lindenlab/3p-ares/src/tip/c-ares-license.txt MIT License]
| http://daniel.haxx.se/projects/c-ares/
|Performs DNS requests and name resolves asynchronously. Used with libcurl to keep all HTTP operations async.
|-
|-
|boost
|boost
|[https://bitbucket.org/lindenlab/3p-boost 3p-boost]
|[https://github.com/secondlife/3p-boost 3p-boost]
|[https://bitbucket.org/lindenlab/3p-boost/src/tip/boost_1_45_0/LICENSE_1_0.txt Boost License]
|[https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt Boost License]
|http://www.boost.org/
|http://www.boost.org/
|A set of portable C++ libraries which provide a wide set of functionality. Used primarily for tokenization.
|A set of portable C++ libraries which provide a wide set of functionality. Used primarily for tokenization.
|-
|db
|[https://bitbucket.org/lindenlab/3p-dbus-glib 3p-dbus-glib]
|[https://bitbucket.org/lindenlab/3p-dbus-glib/src/tip/dbus-glib-0.76/COPYING Academic Free License version 2.1]<sup>[[#MultiLicense|M]]</sup>
|http://www.oracle.com/technetwork/database/berkeleydb/overview/index.html
|Berkeley DB library linked to linux viewer.
|-
|-
|curl
|curl
|[https://bitbucket.org/lindenlab/3p-curl 3p-curl]
|[https://github.com/secondlife/3p-curl 3p-curl]
|''[https://bitbucket.org/lindenlab/3p-curl/src/tip/curl-7.21.1/COPYING BSD-style]''<sup>[[#BSDstyle|B]]</sup>
|''[https://github.com/secondlife/3p-curl/blob/master/curl/COPYING BSD-style]''<sup>[[#BSDstyle|B]]</sup>
| http://curl.haxx.se/libcurl/
| http://curl.haxx.se/libcurl/
|Handles moving data across the net in many different protocols. Used to GET/POST/PUT/DELETE web resources.
|Handles moving data across the net in many different protocols. Used to GET/POST/PUT/DELETE web resources.
|-
|dbusglib
|[https://bitbucket.org/lindenlab/3p-dbus-glib 3p-dbus-glib]
|
|
|linux only dbus-glib headers
|-
|elfio (cruft)
|[https://bitbucket.org/lindenlab/3p-elfio 3p-elfio]
|Open
|http://sourceforge.net/projects/elfio/
|Enhanced stacktrace information on the Linux client.
|-
|-
|expat
|expat
|[https://bitbucket.org/lindenlab/3p-expat 3p-expat]
|[https://github.com/secondlife/3p-expat 3p-expat]
|Open
|[https://github.com/libexpat/libexpat/blob/master/COPYING MIT License]
|http://expat.sourceforge.net/
|https://github.com/libexpat/libexpat
|XML parser.
|XML parser.
|-
|fmod
|[https://hg.lindenlab.com/lindenlab/3p-fmod-private 3p-fmod-private]<sup>[[#PrivateRepo|LL]]</sup>
|Commercial
|http://www.fmod.org
|Audio engine and mp3 stream decoder
|-
|fontconfig
|[https://bitbucket.org/lindenlab/3p-fontconfig 3p-fontconfig]
|Open
|
|
|-
|freeglut
|[https://bitbucket.org/lindenlab/3p-freeglut 3p-freeglut]
|Open
|
|
|-
|-
|freetype
|freetype
|[https://bitbucket.org/lindenlab/3p-freetype 3p-freetype]
|[https://github.com/secondlife/3p-freetype 3p-freetype]
|Open
|[https://github.com/freetype/freetype/blob/master/LICENSE.TXT Freetype License and Others]
|http://www.freetype.org/
|http://www.freetype.org/
|Font engine.
|Font engine.
|-
|gl
|[https://bitbucket.org/lindenlab/3p-gl 3p-gl]
|
|
|
|-
|-
|glh_linear
|glh_linear
|[https://bitbucket.org/lindenlab/3p-glh_linear 3p-glh_linear]
|[https://github.com/secondlife/3p-glh_linear 3p-glh_linear]
|
|
|
|
|nVidia NVParse SDK: platform-independent C++ Apple OpenGL helper library
|nVidia NVParse SDK: platform-independent C++ Apple OpenGL helper library
|-
|glib
|[https://bitbucket.org/lindenlab/3p-glib 3p-glib]
|Open
|http://www.gtk.org/
|
|-
|glui
|[https://bitbucket.org/lindenlab/3p-glui 3p-glui]
|
|
|
|-
|google_breakpad
|[https://bitbucket.org/lindenlab/3p-google-breakpad 3p-google-breakpad]
|Open
|
|
|-
|google_mock
|[https://bitbucket.org/lindenlab/3p-google-mock 3p-google-mock]
|Open
|
|Google C++ Mocking Framework (or Google Mock for short) is a library for writing and using C++ mock classes.
|-
|google_perftools
|[https://bitbucket.org/lindenlab/3p-google-perftools 3p-google-perftools]
|Open
|
|"Heap performance and validity checking tools from google. Includes TCMalloc, heap-checker, heap-profiler and cpu-profiler."
|-
|-
|gstreamer
|gstreamer
Line 137: Line 134:
|http://gstreamer.freedesktop.org
|http://gstreamer.freedesktop.org
|
|
|-
|gtk_atk_pango_glib
|[https://bitbucket.org/lindenlab/3p-gtk-atk-pango-glib 3p-gtk-atk-pango-glib]
|Open
|
|Libraries associated with GTK for gui features. atk: interfaces for accessibility; glib: low-level core functionality for using GTK+ and GNOME; pango: layout/rendering of text w/ emphasis on internationalization.
|-
|-
|havok
|havok
Line 155: Line 146:
|http://www.ijg.org/
|http://www.ijg.org/
|JPEG decoder library.
|JPEG decoder library.
|-
|jsoncpp
|[https://bitbucket.org/lindenlab/3p-jsoncpp 3p-jsoncpp]
|Open
|
|an implementation of a JSON (http://json.org) reader and writer in C++.
|-
|-
|kdu
|kdu
Line 167: Line 152:
|http://www.kakadusoftware.com
|http://www.kakadusoftware.com
|Kakadu (KDU) JPEG-2000 decoder library.
|Kakadu (KDU) JPEG-2000 decoder library.
|-
|libmono
|[https://bitbucket.org/lindenlab/3p-libmono 3p-libmono]
|Open
|talk to kelly
|An open source implementation of the ECMA/ISO ECMA-334 Common Language Infrstructure (CLI) international standard
|-
|-
|libpng
|libpng
Line 180: Line 159:
|PNG image library.
|PNG image library.
|-
|-
|libuuid
|libxml2
|[https://bitbucket.org/lindenlab/3p-libuuid 3p-libuuid]
|[https://github.com/secondlife/3p-libxml2 3p-libxml2]
|Open
|[https://gitlab.gnome.org/GNOME/libxml2/-/blob/master/Copyright?ref_type=heads MIT License]
|http://e2fsprogs.sourceforge.net/
|Generates UUIDs under Linux. Originally a part of the ext2fs filesystem. Also see lluuid.cpp for all platforms.
|-
|libxml
|[https://bitbucket.org/lindenlab/3p-libxml 3p-libxml]
|
|
|
|-
|llmozlib
|n/a
|Open
|http://ubrowser.com/llmozlib.php
|llMozLib handles rendering HTML in the viewer via an embedded Gecko (http://www.mozilla.org/developer/ Mozilla) engine.
|-
|llqtwebkit
|[https://bitbucket.org/lindenlab/3p-qt (llqtwebkit named branch) 3p-qt (llqtwebkit named branch)]
|Open
|
|
|-
|mesa
|[https://bitbucket.org/lindenlab/3p-mesa 3p-mesa]
|?
|http://www.mesa3d.org/
|Provides the required OpenGL headers under Linux.
|-
|mysql
|[https://bitbucket.org/lindenlab/3p-mysql 3p-mysql]
|Open
|
|
|-
|mysqlclient
|[https://bitbucket.org/lindenlab/3p-mysqlclient 3p-mysqlclient]
|Open
|
|
|
|
|-
|-
|ndofdev
|ndofdev
|[https://bitbucket.org/lindenlab/3p-libndofdev 3p-libndofdev]
|[https://github.com/secondlife/3p-libndofdev 3p-libndofdev]
|Open
|''[https://github.com/secondlife/3p-libndofdev/blob/master/libndofdev/COPYING BSD-style]''<sup>[[#BSDstyle|B]]</sup>
|
|
|Provides joystick driver support (mac and win) for the 3DConnexion SpaceNavigator.
|Provides joystick driver support (mac and win) for the 3DConnexion SpaceNavigator.
This is not http://3dconnexion.com/service/software-developer.html , but probably should be.
|-
|-
|ogg_vorbis
|ogg_vorbis
|[https://bitbucket.org/lindenlab/3p-ogvorbis 3p-ogvorbis]
|[https://github.com/secondlife/3p-ogg_vorbis 3p-ogvorbis]
|Open
|''[https://github.com/xiph/ogg/blob/master/COPYING BSD-style]''<sup>[[#BSDstyle|B]]</sup>
|http://xiph.org/ogg/
|http://xiph.org/ogg/
|Audio control.
|Audio codec and playback.
|-
|-
|openal
|openal
|[https://bitbucket.org/lindenlab/3p-openal 3p-openal]
|[https://github.com/secondlife/3p-openal-soft 3p-openal-soft]
|Open
|[https://github.com/secondlife/3p-openal-soft/blob/main/openal-soft/COPYING GPL]
|http://connect.creativelabs.com/openal/default.aspx
|http://connect.creativelabs.com/openal/default.aspx
|
|3D Spatial audio
|-
|-
|openjpeg
|openjpeg
|[https://bitbucket.org/lindenlab/3p-openjpeg 3p-openjpeg]
|[https://github.com/secondlife/3p-openjpeg 3p-openjpeg]
|Open
|''[https://github.com/uclouvain/openjpeg/blob/master/LICENSE BSD-style]''<sup>[[#BSDstyle|B]]</sup>
|http://www.openjpeg.org/
|http://www.openjpeg.org/
|An open-source JPEG-2000 library; a slower alternative to Kadaku. Used in the open source release
|An open-source JPEG-2000 library; a slower alternative to Kadaku. Used in the open source release
|-
|-
|openssl
|openssl
|[https://bitbucket.org/lindenlab/3p-openssl 3p-openssl]
|[https://github.com/secondlife/3p-openssl 3p-openssl]
|Open
|[https://github.com/openssl/openssl/blob/master/LICENSE.txt Apache License]
|http://www.openssl.org/
|http://www.openssl.org/
|Provides encryption for sensitive actions such as user login
|Provides encryption for sensitive actions such as user login
|-
|pth
|[https://bitbucket.org/lindenlab/3p-pth 3p-pth]
|
|http://www.gnu.org/software/pth/
|Provides 10.4 support for the boost::coroutine library
|-
|quicktime
|[https://bitbucket.org/lindenlab/3p-quicktime 3p-quicktime]
|
|http://developer.apple.com/quicktime/
|Used to play in-world video clips on a prim.  See Movie_System
|-
|-
|sdl
|sdl
|https://bitbucket.ort/lindenlab/3p-sdl
|[https://github.com/secondlife/3p-sdl2 3p-sdl2]
|
|[https://github.com/libsdl-org/SDL/blob/main/LICENSE.txt zlib License]
|http://www.libsdl.org/index.php
|http://www.libsdl.org/index.php
|The Simple DirectMedia Layer libraries are used for handling input and basic window/GL setup on the Linux client.
|The Simple DirectMedia Layer libraries are used for handling input and basic window/GL setup on the Linux client.
Line 279: Line 208:
|-
|-
|tut
|tut
|[https://bitbucket.org/lindenlab/3p-tut 3p-tut]
|[https://github.com/secondlife/3p-tut 3p-tut]
|Open
|''[https://github.com/secondlife/3p-tut/blob/master/LICENSE.txt BSD-style]''<sup>[[#BSDstyle|B]]</sup>
|http://tut-framework.sourceforge.net/
|http://tut-framework.sourceforge.net/
|Unit test framework based on the use of c++ meta template programming. Used to test LL libraries.
|Unit test framework based on the use of c++ meta template programming. Used to test LL libraries.
|-
|unistd
|[https://bitbucket.org/lindenlab/3p-unistd 3p-unistd]
|
|
|
|-
|-
|xmlrpc_epi
|xmlrpc_epi
|[https://bitbucket.org/lindenlab/3p-xmlrpc-epi 3p-xmlrpc-epi]
|[https://github.com/secondlife/3p-xmlrpc-epi 3p-xmlrpc-epi]
|Open
|[https://github.com/secondlife/3p-xmlrpc-epi/blob/master/xmlrpc-epi/COPYING Epinions, Inc License]
|http://xmlrpc-epi.sourceforge.net/
|http://xmlrpc-epi.sourceforge.net/
|Controls the XML-RPC protocol.
|XML-RPC protocol utility
|-
|-
|zlib
|zlib-ng
|[https://bitbucket.org/lindenlab/3p-zlib 3p-zlib]
|[https://github.com/secondlife/3p-zlib-ng 3p-zlib-ng]
|Open
|[https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md zlib License]
|http://www.zlib.net/
|http://www.zlib.net/
|zlib is a lossless data-compression library which is used for a variety of network i/o and file compression.
|zlib is a lossless data-compression library which is used for a variety of network i/o and file compression.
|}
|}
;<span id="PrivateRepo">LL</span>
:This repository is internal to Linden Lab.
;<span id="MultiLicense">M</span>
:This library is available under multiple licenses; the license shown is the one under which the Second Life Viewer Project is using it. See sources for details of alternatives.
;<span id="BSDstyle">B</span>
:This library is available under a license substantially similar to the traditional BSD license.  See sources for details.


= Redistribution =
= Redistribution =
Line 342: Line 257:


NOTE:  These files must be replaced for an true opensource build
NOTE:  These files must be replaced for an true opensource build
=== FMOD ===
FMOD sound library. Free for non-commercial projects. A commercial license will be needed for a commercial viewer.
From the README in the package:
The fmod.dll file may be redistributed without the authors prior permission,
and must remain unmodified.  The use of dll 'static linking' tools that aim
to hide the fmod library are forbidden.
* fmod.dll: [http://www.fmod.org/fmodlicense.html Redistributable, free for non-commercial projects]
=== Mozilla ===
The Gecko engine is MPL/GPL/LGPL licensed, which makes it redistributable.
* app_settings/mozilla
* freebl3.dll
* gksvggdiplus.dll
* js3250.dll
* nspr4.dll
* nss3.dll
* nssckbi.dll
* plc4.dll,
* plds4.dll
* smime3.dll
* softokn3.dll
* ssl3.dll
* xpcom.dll
* xul.dll


=== Kakadu ===
=== Kakadu ===
Line 402: Line 289:


[[Category:Compiling viewer]]
[[Category:Compiling viewer]]
[[Category:Articles in need of updating]]

Latest revision as of 22:40, 10 August 2024

The following table lists libraries and other third party (3p) dependencies used in constructing the Second Life Viewer.

Most of these (all the open source ones) should be available as prebuilds packaged by and for use with Autobuild.

Generic Layout (Single-branch, 2024 Style)

3p packages should vendor upstream contents using git submodules unless a source git repository for the source dependency is not available. A typical 3p package layout looks like this:

.
├── [vendor submodule]/ - Git submodule containing upstream source
├── .github/            - CI/CD and repository configuration
├── autobuild.xml       - Autobuild manifest
├── build-cmd.sh        - Script used to build the repository
├── LICENSE             - Repository licensing
└── README.md           - Repository readme
Contributor Instructions

The general workflow for contributing changes to a 3p library looks like this:

  1. Fork the repository and make changes. Be sure to test your work locally.
  2. Create a PR (Be sure to follow PR Etiquette and our Code of Conduct)
  3. Have this PR reviewed and merged
  4. Done! The maintainer should cut a new version as appropriate using the workflow described below.
Maintainer Instructions
A properly versioned and promoted release of 3p-zlib-ng

If you are a 3p package maintainer you will want to follow these instructions to review and release new versions:

  1. Review PRs quickly, and merge them directly into the default branch once approved
  2. Cut a new release by using Github's Releases feature:
    1. Navigate to Repository -> Releases and click "Draft new Release"
    2. Click Choose a tag and create a new tag using the vUPSTREAM-rRELEASE format described below
    3. Click Generate release notes and edit them as appropriate. Keep the title of the release equal to the version being used.
    4. Click Publish release

After the release is published, CI/CD should be triggered by the addition of the new tag, and provide a nice set of packages and instructions for consumers to use.

Version format

3p packages should be released using the following version schema:

Format

  vUPSTREAM-rRELEASE

  Example: v1.0.0-r2 (Second vendored release of v1.0.0 of this library)

  UPSTREAM - Upstream package version. ex. 1.0.0 or 6.7
  RELEASE - Vendored release number, ex. 1, 2
Patches

By convention, patches should be kept in a patches/* directory and applied to the upstream source during build. You can use the following utility function, declared in your build-cmd.sh script to help:

apply_patch()
{
    local patch="$1"
    local path="$2"
    echo "Applying $patch..."
    git apply --check --reverse --directory="$path" "$patch" || git apply --directory="$path" "$patch"
}

Patch helper from 3p-boost

Differences from old style (vendor branch)

Originally, 3p libraries were maintained using a separate vendor and default branch. Repositories using this style should be migrated to new single-branch format. Benefits of using a single-branch are:

  • Simpler PR process (Make PR against default, merge it. Done.)
  • Faster release process, which means quicker integration for package consumers
  • Easier integration with GitHub functionality such as Automatic Release Notes
  • More explicit maintenance of patches makes delta from upstreams clearer and simpler to understand

List of third party libraries

Library Repository License Upstream Home Description
apr_suite 3p-apr Apache License http://apr.apache.org/ "A set of C functions which provide a portable and consistent interface into operating system - or simply widely useful - functionality. We primarily use it for threading and socket i/o. This is actually three packages, apr, apr-util and apr-iconv."
boost 3p-boost Boost License http://www.boost.org/ A set of portable C++ libraries which provide a wide set of functionality. Used primarily for tokenization.
curl 3p-curl BSD-styleB http://curl.haxx.se/libcurl/ Handles moving data across the net in many different protocols. Used to GET/POST/PUT/DELETE web resources.
expat 3p-expat MIT License https://github.com/libexpat/libexpat XML parser.
freetype 3p-freetype Freetype License and Others http://www.freetype.org/ Font engine.
glh_linear 3p-glh_linear nVidia NVParse SDK: platform-independent C++ Apple OpenGL helper library
gstreamer 3p-gstreamer Open http://gstreamer.freedesktop.org
havok Commercial
jpeglib 3p-jpeglib Open http://www.ijg.org/ JPEG decoder library.
kdu 3p-kdu-privateLL Commercial http://www.kakadusoftware.com Kakadu (KDU) JPEG-2000 decoder library.
libpng 3p-libpng Open http://www.libpng.org/pub/png/libpng.html PNG image library.
libxml2 3p-libxml2 MIT License
ndofdev 3p-libndofdev BSD-styleB Provides joystick driver support (mac and win) for the 3DConnexion SpaceNavigator.
ogg_vorbis 3p-ogvorbis BSD-styleB http://xiph.org/ogg/ Audio codec and playback.
openal 3p-openal-soft GPL http://connect.creativelabs.com/openal/default.aspx 3D Spatial audio
openjpeg 3p-openjpeg BSD-styleB http://www.openjpeg.org/ An open-source JPEG-2000 library; a slower alternative to Kadaku. Used in the open source release
openssl 3p-openssl Apache License http://www.openssl.org/ Provides encryption for sensitive actions such as user login
sdl 3p-sdl2 zlib License http://www.libsdl.org/index.php The Simple DirectMedia Layer libraries are used for handling input and basic window/GL setup on the Linux client.
slvoice Commercial This is the Vivox provided executable (renamed SLVoice)
tut 3p-tut BSD-styleB http://tut-framework.sourceforge.net/ Unit test framework based on the use of c++ meta template programming. Used to test LL libraries.
xmlrpc_epi 3p-xmlrpc-epi Epinions, Inc License http://xmlrpc-epi.sourceforge.net/ XML-RPC protocol utility
zlib-ng 3p-zlib-ng zlib License http://www.zlib.net/ zlib is a lossless data-compression library which is used for a variety of network i/o and file compression.

Redistribution

Some files in the SL installation can't be freely redistributed. This means it's not possible to simply package and offer for download a modified viewer: some files must not be redistributed.

This page documents the licenses and redistribution requirements of various files used by the viewer.

Windows

These are the files that need to be shipped with the Windows version

Runtime

Microsoft components. It's not yet known whether they're redistributable.

  • dbghelp.dll: Redistributable
  • msvcp71.dll: C++ Runtime Library, redistributable -viewer now using msvcp80.dll when compiled with VC2005
  • msvcr71.dll: C Runtime Library, Redistributable -viewer now using msvcr80.dll when compiled with VC2005

FONTS

Meta font software files

From the Readme.txt

The Meta font software files contained in this folder are the
copyrighted property of FSI FontShop International ("FSI") and are
licensed by FSI solely for use by Linden Research, Inc. and by
residents or users of Second Life in the Second Life environment,
subject to the Second Life Terms of Service.  These Meta font software
files may not be copied by residents or developers of Second Life or
used by them for any other purpose whatsoever.
  • MtBkLfRg.ttf
  • MtBdLfRg.ttf

NOTE: These files must be replaced for an true opensource build

Kakadu

JPEG2000 library. Not redistributable. OpenJPEG is an alternative library that is redistributable

  • llkdu.dll

Starting with Viewer 2.5, llkdu.dll has been phased out. The libkdu.a and kdu.lib are still not redistributable but can be built from the toolkit provided by Kakadu under a license. How to build a viewer with such a library is documented in KDU Implementation.

OpenSSL

SSL library. Redistributable.

  • libeay32.dll
  • ssleay32.dll

Vivox

Vivox is the component that provides the voice functionality.

  • SLVoice.exe: Voice daemon. Not redistributable
  • SLVoiceAgent: Exact purpose unknown. Not redistributable
  • alut.dll: OpenAL, by Creative Labs. Redistributable.
  • ortp.dll: oRTP project, LGPL. Redistributable.
  • srtp.dll: Secure RTP?
  • vivoxsdk.dll: Vivox Communications API. Not redistributable
  • wrap_oal.dll: OpenAL32 by Creative Labs. Redistributable.

Unknown Libraries

The purpose and licensing of these files is not known:

  • tntk.dll: Probably Vivox related -see Voice/Technical for other info on ViVox files