Giter Site home page Giter Site logo

zl-00 / toggldesktop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toggl-open-source/toggldesktop

0.0 2.0 0.0 212.96 MB

Toggl Desktop app for Windows, Mac and Linux

Home Page: https://toggl.github.io/toggldesktop/

License: BSD 3-Clause "New" or "Revised" License

Makefile 1.06% C++ 51.42% C 1.83% QMake 0.52% HTML 1.81% Go 0.63% Shell 0.23% Lua 0.48% Objective-C 15.70% C# 26.32%

toggldesktop's Introduction

Table of Contents

Build instructions

Please check OS specific requirements below.

By default the app builds for testing server. To use the compiled app with live server see this guide https://github.com/toggl/toggldesktop/wiki/Building-Toggl-Desktop-from-source-for-usage-with-live-servers

Build using Makefile

First, build dependencies:

make deps

then the app itself:

make

To build, then run the app:

make run

Run unit tests with

make test

and UI tests with

make uitest

Linux

You'll need QT to be at least version 5.5

If qmake is not on your PATH, set this first, before running make:

export QMAKE=/usr/bin/qmake-qt5

Below are some distribution specific package requirements:

Debian

  • libreadline-dev
  • qt5-default
  • libxss-dev
  • libqt5x11extras5-dev
  • libqt5webkit5-dev

Ubuntu

  • libreadline-dev
  • xorg-dev
  • qtcreator
  • libxss-dev
  • libqt5webkit5-dev
  • libqt5x11extras5-dev
  • qtbase5-private-dev

Fedora

  • readline-devel
  • qt5-qtwebkit-devel
  • libXScrnSaver-devel
  • qt5-qtsvg

Windows

Install dev tools

We're building the Windows app using Visual Studio Community - it's a free download

You'll need to install ActivePerl to build OpenSSL from source.

If you plan to run tests then you might want to install Cygwin.

Build OpenSSL

Use pre-built OpenSSL binaries (recommended)

Clone OpenSSL distribution provided by Poco project under the poco directory

cd %POCO_BASE%
git clone https://github.com/pocoproject/openssl

Or

build OpenSSL, from Visual Studio Tools, open up a Developer Command Prompt.

cd to the project folder, then

cd third_party\openssl
perl Configure VC-WIN32
ms\do_nasm
nmake -f ms\ntdll.mak clean
nmake -f ms\ntdll.mak 

Instead of do_nasm (use NASM) you can also use do_ms (no asm at all), or do_masm (use MASM). NASM can be downloaded here: http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D

Build the app

Now, select Release_VS from the Solution Configurations combobox in the Visual Studio toolbar, and build the solution.

If you have Cygwin installed, you can also build the app from from Cygwin terminal, using make. (See macOS and Linux build instructions on above regarding make).

Downloads

macOS

Toggl built and signed app for macOS is available for download. Officially MacOs 10.11 and newer stable MacOS versions are supported.

Windows

Toggl built and signed app for Windows is available for download. App has been tested on Windows 7, 8, 8.1 and 10.

Toggl Desktop Windows app has not been tested on Surface type touchscreen environments.

Linux (64 bit only)

Change log

Change log can be viewed at http://toggl.github.io/toggldesktop/

Documentation

The documentation of the code base is currently work in progress and can be found at /docs/.

Contribute

Before sending us a pull request, please format the source code:

make fmt

Also, please check for any cpplint issues:

make lint

Check if unit tests continue to pass:

make test

toggldesktop's People

Contributors

tanel avatar indrekv avatar paulcscharf avatar unmultimedio avatar samford avatar martinbriza avatar javimudi avatar eatskolnikov avatar jayvdb avatar buma avatar brunodlz avatar codeman38 avatar reederz avatar leland avatar refiito avatar tripox avatar dev-zero avatar cori avatar partyka1 avatar sainaen avatar

Watchers

James Cloos avatar ้œ– 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.