Git Product home page Git Product logo

asteroidsyncservice's Introduction

asteroidsyncservice

A synchronization daemon for AsteroidOS watches. Forked from Rockpool.

asteroidsyncserviced is a daemon relying on libasteroid to synchronize data from a given platform to a watch. It comes with a QML module named asteroidsyncservice. It is used by starship, a SailfishOS synchronization app and Telescope, an Ubuntu Touch synchronization app.

Building

Install the prerequisites

This software uses CMake and Qt, including Bluetooth support. Installing these varies by system, but for example on many Linux distributions, one can install the latter with this command:

  • sudo apt-get install qtconnectivity5-dev

If you intend to build the optional project documentation, you will also need Doxygen, dot, and plantuml.

Get the code

To build asteroidsyncservice, all submodules must be loaded.

  • git submodule update --init

Prepare the build

The software is built using CMake. Exactly one platform must be specified to build the project. Currently the supported platforms are:

  • SAILFISHOS_PLATFORM
  • UBUNTU_TOUCH_PLATFORM
  • DESKTOP_PLATFORM

To prepare to build the software, if you are in the top level directory, one can use this command to prepare the build.

cmake -DCMAKE_BUILD_TYPE=Release -DDESKTOP_PLATFORM=ON -S . -B build

This will set up the software to create a Release version of the software (as contrasted with a Debug version) and put this in a newly created build subdirectory.

Build the software

Again from the top level directory, one can use cmake to build the software.

cmake --build build -j

This will build the software in the build directory. The -j suffix asks the build to be performed in parallel, which can make the build go much faster on a multicore build machine.

Install the software (optional)

Installing the software generally required root access and is presently supported only for the DESKTOP_PLATFORM option.

sudo cmake --build build -j -t install

The -t option tells CMake the build target that we want. In this case the target is named install.

Building developer documentation (optional)

This project provides developer documentation in the HTML or PDF format. This is disabled by default. One can enable the generation of the documentation by adding an option during the "Prepare the build" steps listed above like this:

cmake -DCMAKE_BUILD_TYPE=Release -DWITH_DOC=ON -DDESKTOP_PLATFORM=ON -S . -B build

After the build is prepared, one can build the documentation from the top level directory:

cmake --build build -j -t doc

This builds the software documentation in HTML format. The main page for that documentation is build/doc/html/index.html

One can also create a pdf file with the same content. This is done using this command:

cmake --build build -j -t pdf

The PDF file is then created as build/doc/latex/refman.pdf.

asteroidsyncservice's People

Contributors

beroset avatar stefwe avatar florentrevest avatar geofftearle avatar direc85 avatar jrtberlin 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.