Git Product home page Git Product logo

tor-messenger-build's Introduction

Tor Messenger Build

Installing build dependencies

To build Tor Messenger, you need a Linux distribution that has support for runc (such as Debian jessie, Ubuntu 16.04, Fedora 20, etc ...).

On Debian jessie, the runc package is available in backports. On Debian stretch, the runc package is available in the main repository. Version 0.1.1 of runc is required (which is the version available in Debian stretch and jessie-backports). It is not yet working with runc version 1.0.0: https://trac.torproject.org/projects/tor/ticket/23039

Your user account should have access sudo access, which is required to be able to extract container file systems, start containers and copy files to and from containers.

The sources are downloaded using git and mercurial which need to be installed.

If you are running Debian or Ubuntu, you can install the build dependencies with the following command:

# apt-get install libyaml-libyaml-perl libtemplate-perl \
                  libio-handle-util-perl libio-all-perl \
                  libio-captureoutput-perl libfile-slurp-perl \
                  libstring-shellquote-perl libsort-versions-perl \
                  libdigest-sha-perl libdata-uuid-perl libdata-dump-perl \
                  libfile-copy-recursive-perl git libgtk2.0-dev curl runc \
                  mercurial

Starting a build

To start a build, simply run make all in the directory to build all currently supported architectures.

If you want to build only one architecture, you can run something like make tor-messenger-linux-x86_64.

The resulting builds are stored in the out/tor-messenger directory.

You can also run make tor-messenger-release to build it for all architectures, rename files to their final name and generate an sha256sums.txt file in the directory release/$version.

Updating git and hg sources

You can run make fetch to fetch the latest sources from git and mercurial for all components included in Tor Messenger.

Cleaning obsolete files and containers images

To clean obsolete files and containers images, you can run make clean-old.

This command will remove any intermediate build files and containers that are no longer used in the current builds. Because it needs to compute the filename of all current files, this command takes a lot of time to run.

tor-messenger-build's People

Contributors

azadi avatar boklm avatar arlolra avatar vqhuy avatar

Watchers

James Cloos avatar

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.