Skip to content

trueinteractions/tint2

Repository files navigation

Tint

Create Desktop Javascript Applications.

https://www.trueinteractions.com/tint2/docs/

This documentation is for contributors to Tint.

Getting Started

Status

Codacy Badge OSX Windows Linux iOS Android
Build Build Status Build status N/A Yes N/A
Unit Tests Build Status Build status N/A No (48% Pass) N/A

Compiling Tint

MacOS X

Ensure you have Xcode, OSX Mountain Lion, git and Python 2.6 (or 2.7).
mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
./tools.sh config
./tools.sh build
./tools.sh test

Windows

Ensure you have Visual Studio 2010 SP1 and WinSDK 7.0 (note problems occur with different WinSDK's and Visual Studio Systems), Windows 7, git and Python 2.6 (or 2.7). Building does not require (nor support) cygwin or other shell systems.

64-bit build (default)

mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
tools.bat config
tools.bat build
tools.bat test

32-bit build

mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
tools.bat config x86
tools.bat build x86
tools.bat test

Linux (In-Progress)

Ensure you have ninja-build, build-essential, libgirepository1.0-dev, systemtap-sdt-dev, libgtk-3-dev and clang installed (e.g., using apt-get.)

GTK (Ubuntu) 64-bit build (default)

mkdir tint
cd tint
git clone https://github.com/trueinteractions/tint2.git .
./tools.sh config
./tools.sh build
./tools.sh test

You can also use tools.sh clean to clean the build, or tools.sh build debug for a debug build (these commands also work on tools.bat)

Post-Build

After building you'll find the binary in ``build/xcode/Release/tint`` or ``build\msvs\Release\tint.exe``. You can also use the Xcode project files or MSVS 2010 files in ``build\xcode`` and ``build\msvs``. Optionally you can use ninja build files that are generated in ``build/ninja/out/Release`` and ``build/ninja/out/Debug`` on posix (OSX only at the moment).

Troubleshooting Builds

If you have issues compiling ensure you're using Python 2.7 or 2.6 (``./tools.sh config`` (``tools.bat config`` on Windows) will print out the python version it plans to use). In addition ensure your CC environment variable is set to Xcode's built in clang and not an alternate GCC version. Use ``echo $PYTHON`` (``echo %PYTHON%`` on Windows) and ``echo $CC`` (``echo %CC%`` on Windows) to check to see if any of these are set to alternate versions.

On OSX some third-party utility systems such as brew may overwrite these to values that are not compatible with OSX Xcode/clang builds. If you're still having issues you can build using the Xcode project files in ./build/xcode/ directory.

Credits

Tint relies on these amazing open source projects. Check them out.

License

Tint is licensed under the MIT license.

For the latest updates/news http://www.twitter.com/trevorlinton

Commercial support available at http://www.trueinteractions.com/

Copyright © 2016 True Interactions

Bitdeli Badge