Giter Site home page Giter Site logo

tox-builder's Introduction

tox-builder

tox-builder is a bash script for installing, updating and running toxcore and UI clients from their git repositories. By default, tox-builder only creates files inside your $HOME, so you don’t have to mess with your system and don’t need root access. The default locations for the git repository clones and the installation tree are $HOME/tox-builder/checkout/ and $HOME/tox-builder/install/.

The repos used by default are:

Additinally used when requested:

Using tox-builder

Installing Toxic

By default, tox-builder installs libsodium, toxcore and toxic. If you have all system dependencies installed (most likely you have not yet) all you need to do to install libsodium, toxcore and toxic from their git repositories on github.com is running:

tox-builder update

Note: Should you hit an error because of missing dependencies you can install them from your distro’s repos now and then run this command again.

After successfully running the above command, you can run toxic with:

tox-builder run toxic

This will launch toxic with the LD_LIBRARY_PATH and PATH env variables set to include the installation path.

Installing Venom and Neuland

If you also want to build and install the gtk+ clients Venom and/or Neuland, you can create the config file $HOME/.config/tox-builder and overwrite the DEFAULT_MODULES variable accordingly. For example, to build both you could use:

DEFAULT_MODULES="libsodium toxcore toxic venom neuland"

and run

tox-builder update

to build and install both clients. As you might have guessed, you can then launch them with:

tox-builder run (venom|neuland)

Updating your installation

If you later want to update your local installation to include the latest upstream changes run:

tox-builder update

again. This will run git pull –rebase for each of the github repositories and rebuild and reinstall all modules whose configured branch (see CONFIG section below) has new (remote or local) commits compared to their installed versions or whose installed versions had been tainted (contained uncommited changes).

Forced rebuilding

You can use the build command instead of the update command to force an unconditional uninstall/rebuild/install of the given modules from the local source directories without running any git commands beforehand, so the code of the specified modules will be compiled and installed as it is. This is useful if you are hacking any of the components yourself without making local git commits (Though not making git commits yourself is a bad idea ;-)).

  • Install system dependencies depending on the OS
  • Support uninstalling

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.