{"id":20961258,"url":"https://github.com/almindor/harbour-jtox","last_synced_at":"2025-08-27T13:12:02.658Z","repository":{"id":149541234,"uuid":"76221965","full_name":"almindor/harbour-jTox","owner":"almindor","description":"Sailfish OS native tox implementation for Jolla","archived":false,"fork":false,"pushed_at":"2022-06-01T16:37:56.000Z","size":683,"stargazers_count":12,"open_issues_count":11,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T14:49:05.601Z","etag":null,"topics":["decentralized","encrypted","messaging","tox"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/almindor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/build.sh","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-12T04:29:40.000Z","updated_at":"2022-06-20T06:01:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc636897-995f-4364-ad47-f727ade68ca8","html_url":"https://github.com/almindor/harbour-jTox","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almindor%2Fharbour-jTox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almindor%2Fharbour-jTox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almindor%2Fharbour-jTox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almindor%2Fharbour-jTox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/almindor","download_url":"https://codeload.github.com/almindor/harbour-jTox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254094769,"owners_count":22013639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decentralized","encrypted","messaging","tox"],"created_at":"2024-11-19T02:02:14.461Z","updated_at":"2025-05-14T07:30:44.493Z","avatar_url":"https://github.com/almindor.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jTox Jolla Tox Client\n\njTox is a Jolla/SailfishOS [https://tox.chat](Tox) client.\n\n### ![Danger: Experimental](https://github.com/TokTok/c-toxcore/raw/master/other/tox-warning.png)\n\njTox uses an **experimental** cryptographic network [library](https://github.com/TokTok/c-toxcore). It has not been formally audited by an independent third party that specializes in cryptography or cryptanalysis. The protocol is not optimized for mobile yet and causes significant data traffic. **Use at your own risk.**\n\n## Community\n\n[![Gitter](https://badges.gitter.im/almindor/jtox.svg)](https://gitter.im/almindor/jtox?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n## Building toxcore for Jolla\n\nIncreasing the VM RAM and CPU count inside VirtualBox for the build engine is highly recommended.\n\n### Requirements\n\nThese steps will install all the required packages on mersdk build engine.\nSee [the sailfish SDK FAQ](https://sailfishos.org/develop/sdk-overview/develop-faq/) for instructions on how to connect to the build engine.\nBe sure to log into the engine as **mersdk** user not as root.\n\nChange this to the SailfishOS version required, also in **support/build.sh**\n\n`export SFVER='4.4.0.58'`\n\n`sb2 -t SailfishOS-$SFVER-aarch64 -m sdk-install -R zypper install gcc gcc-c++ autoconf automake make libtool nasm`\n\n`sb2 -t SailfishOS-$SFVER-armv7hl -m sdk-install -R zypper install gcc gcc-c++ autoconf automake make libtool nasm`\n\n`sb2 -t \"SailfishOS-$SFVER-i486\" -m sdk-install -R zypper install gcc gcc-c++ autoconf automake make libtool yasm`\n\n### Building the required libraries\n\nMake sure the build VM is running (the one from SailfishOS IDE).\n\nTo improve performance enable multiple cores for the build VM in VirtualBox.\n\n#### Using the populate script\n\n**only for linux**\n\nThe populate script should just work(tm) if you're running it on Linux from the `support` directory and your SailfishOS SDK install path is standard.\n\nNOTE: you can edit `build.sh` and change the `SFVER`, `SODIUMVER`, `TOXCOREVER` and `THREADS` as needed.\n\nJust run it with `./populate.sh` and everything should work. Change SailfishOS version in the env var as required. If not see next section\n\n#### Manually using the build script\n\nProvided build script in `support/build.sh` needs to be copied to a subdirectory on the build engine. Use the `mersdk` user, do not use root.\n\nOnce in a new directory, say run the script `./build.sh` with target architecture as parameter. Valid architectures are `i486` and `armv7hl`. You can also edit the `build.sh` script and change the required variables (see above).\n\n    `./build.sh i486`\n    `./build.sh armv7hl`\n    `./build.sh aarch64`\n\nIt will download latest versions of `libsodium` and `c-toxcore` libraries from github and build them. Once done the resulting libraries are in the `libs` folder while the include files are in the `include` folder of the fake root directory for given architecture e.g. `i486/usr/lib`.\n\nYou then need to copy over the required files to `extra` so your resulting structure in the project should be `extra/i486/...` and `extra/armv7hl/...`\n\nBin subdirectory is not required and neither are any non `.a` files in the lib directory.\n\n### Configuring SailfishSDK\n\nIn order to select the right library architecture you need to define `JTOX_ARCH` env var inside the project kit settings in SailfishSDK. Add the values `i486`, `armv7hl` and `aarch64` to each of the env var tables for each project and configuration (debug, profile, release).\n\nYou need to also whitelist `JTOX_ARCH` inside the SailfishOS/general section of settings to make sure it reaches the build engine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmindor%2Fharbour-jtox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmindor%2Fharbour-jtox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmindor%2Fharbour-jtox/lists"}