No description
Find a file
2017-06-06 22:39:50 +02:00
build Created icon, restructured directory tree 2016-10-03 06:42:32 +02:00
docs Added manpage, cleaned up deb package 2016-10-04 02:58:14 +02:00
icons Msi installer: removed stock images 2017-06-04 10:20:34 +02:00
packaging Tweaks for XP 2017-06-04 23:41:54 +02:00
src Cleanup to remove warning 2017-06-06 22:39:50 +02:00
.gitignore Cleaning up memory management 2017-05-30 00:37:45 +02:00
.travis.yml Still fiddling with .travis.yml 2017-05-27 20:21:32 +02:00
.valgrind.supp Cleaning up memory management 2017-05-30 00:37:45 +02:00
LICENSE Added LICENSE and README 2015-10-04 11:56:54 +02:00
Makefile Cleaning up memory management 2017-05-30 00:37:45 +02:00
README.md Merge branch 'master' into test 2017-06-05 00:51:36 +02:00
version Fixed bug with make test, version 0.4.1-test 2017-05-26 01:11:41 +02:00

A program for timing mechanical watches Build Status

The program tg is copyright (C) 2015 by Marcello Mamino, and it is distributed under the GNU GPL license version 2. The full source code of tg is available at https://github.com/vacaboja/tg

Tg is in development, and there is still no manual. Some info can be found in this thread at WUS, in particular the calibration procedure is described at this post.

Install instructions

Tg is known to work under Microsoft Windows, OS X, and Linux. Moreover it should be possible to compile the source code under most modern UNIX-like systems. See the sub-sections below for the details.

Windows

Binaries can be found at https://tg.ciovil.li

Macintosh

A formula for the Homebrew package manager has been prepared by GitHub user dmnc. To use it, you need to install Homebrew first (instructions on http://brew.sh).

Then run the following command to check everything is set up correctly and follow any instructions it gives you.

brew doctor

To install tg, run

brew install dmnc/horology/tg

You can now launch tg by typing

tg-timer &

Debian or Debian-based (e.g. Mint, Ubuntu)

Binary .deb packages can be downloaded from https://tg.ciovil.li

Compiling from sources

The source code of tg can probably be built by any C99 compiler, however only gcc and clang have been tested. You need the following libraries: gtk+3, portaudio2, fftw3 (all available as open-source).

Compiling on Debian

To compile tg on Debian

sudo apt-get install libgtk-3-dev libjack-jackd2-dev portaudio19-dev libfftw3-dev git
git clone https://github.com/vacaboja/tg.git
cd tg
make

The package libjack-jackd2-dev is not necessary, it only works around a known bug (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718221).

Compiling on Fedora

To compile tg on Fedora (accurate as of Fedora 25)

sudo dnf install fftw-devel portaudio-devel gtk2-devel
git clone https://github.com/vacaboja/tg.git
cd tg
make