Go to file
Jeff Jirsa 7d21813968 Merge pull request #718 from codethulu/fix_tinyxml
close 716 -- don't use system tinyxml2 if below v2.0.1
2014-11-20 16:07:06 -08:00
build_out FIXED Preorder date is incorrect #649 (additional fix for missing meta-string) 2013-10-30 16:40:19 -07:00
cmake Merge pull request #699 from callumlinden/bugfix_649 2013-10-28 16:46:10 -07:00
src Merge pull request #693 from lodle/bugfix689 2013-12-08 16:10:10 -08:00
third_party Removed old projects and build settings 2013-10-18 15:31:33 -07:00
tools/windows Added tools for uploading windows builds + symbols to desura.com 2013-10-19 15:32:04 -07:00
.gitignore gitignore: tidy up and add bin/ 2013-10-16 20:58:37 +02:00
.travis.yml Fixed up command line parsing for unit tests in linux that caused crash on startup 2013-10-24 09:28:56 -07:00
CHANGELOG version: note #376 fix in changelog 2013-10-17 19:38:01 +02:00
CMakeLists.txt close 716 -- don't use system tinyxml2 if below v2.0.1 2014-11-20 15:50:41 -08:00
LICENSE Fixed license formating 2011-11-18 11:16:08 +11:00
README.md Updated README 2014-11-06 14:37:22 -08:00
build_desura.bat build_desura: fix win32 build script 2013-08-17 14:39:34 +02:00
build_desura.sh build_script/package: don't delete build folder after completing 2013-08-30 16:39:24 +02:00
build_desura_vis.bat Removed old projects and build settings 2013-10-18 15:31:33 -07:00
build_make_clean.bat rename build_cmake to build_desura 2012-04-09 10:41:25 +10:00
install_deps.sh travis/readme/install_deps: travis2 changes 2013-09-04 06:11:46 +02:00

README.md

Update

Desurium had been forked and relicensed under LGPL v2.1 and thus the Desirum repository was currently not being actively developed by Desura or Lindenlab.

This repository has been left under the GPL v3 license and is still free to be used by all under the terms of the license.

On November 1, 2014, Bad Juju Games acquired Desura from LindenLab, and is investigating options for the client, including (but not limited to) returning to a full GPL v3 license.

If you would like the most up-to-date LGPL codebase, please visit https://github.com/desura/desura-app

We hope to update the community on the officially supported client in the near future.

Content

  • Desura
  • Build Desura on Linux
  • Build Desura on Windows
  • Special notes for advanced users
  • Closing Remarks

Desura

Desura is a gaming client that allows users to one click download and install games and game modification. For more information, visit http://www.moddb.com/groups/desura/forum/thread/open-sourcing-desura

Build Desura on Linux

Dependencies

You can install dependencies by package manager or install_deps.sh

Required dependencies:

  • GCC (4.6 or later, multilib support for 32 bit compatibility on 64 bit systems)
  • cmake (2.8.5 or later)
  • PkgConfig (for building DEB and RPM packages)
  • Boost (date_time, filesystem, thread system, test_exec_monitor, unit_test_framework)
  • Freetype
  • GTK2
  • libX11 (with libXt)
  • libEvent
  • libNotify (0.7 or later)
  • GLib2
  • OpenSSL (only for building Curl)
  • BZip2
  • Sqlite3
  • tinyxml2
  • V8
  • Python
  • C-ares

Optional dependencies (will be built by cmake if not existing):

  • Curl (if there is no ares support)
  • wxWidgets (2.9.3 or later)
  • Breakpad
  • CEF (Chromium Embedded)

Installation

Open Terminal in Desurium source directory and run:

./build_desura.sh

or you can speed up things by running:

./build_desura.sh rebuild_all -j `getconf _NPROCESSORS_ONLN`

or you can build DEB package:

./build_desura.sh pack_deb

or you can build RPM package:

./build_desura.sh pack_rpm

Finally run Desurium using:

./install/desura

or install created DEB or RPM package

For informations on advanced arguments of the build script, run:

./build_desura.sh help

Build Desura on Windows

Download and install:

Note: Make sure you add svn and python to your environment PATH

Command line build:

Open a 32bit cmd.exe with env vars set up by vc or other scripts (so we have a full build environment) and run:

./build_desura.bat

wait

Visual studio build:

Open a 32bit cmd.exe with env vars set up by vc or other scripts (so we have a full build environment) and run:

./build_desura_vis.bat
  • Set BUILD_ALL as startup project
  • In properties for BUILD_ALL set debugging options:
  • Command to source code dir + "\build_vis\Debug_Out\desura.exe"
  • Working Directory to source code dir + "\build_vis\Debug_Out"
  • Build ThirdParty folder first (race condition some times if you dont)
  • Build BUILD_ALL

Should be able to run and debug Desura now.

Special notes for advanced users

Desura is using the cmake build system for configuration on prject files for several build systems (make, VS, nmake, ...). At the top of CMakeFile.txt is a documented list of options

a "normal" way to configure cmake would be something like this:

  • UNIX-based systems:

    1. mkdir build
    2. cd build
    3. cmake ..
    4. make
    5. sudo make install (optionally)
  • win32 based systems:

    1. md build
    2. cd build
    3. cmake ..
    4. open project files and compile them

Closing Remarks

If you need help, want to give some suggestions or just want to talk, feel free to join our IRC channel #desura on irc.freenode.net.