Dominik Deák
a8f2806515
|
4 years ago | |
---|---|---|
.github/ISSUE_TEMPLATE | 4 years ago | |
Binaries | 4 years ago | |
Documentation | 4 years ago | |
Synergy-Core@2316663352 | 4 years ago | |
Tools | 4 years ago | |
.gitignore | 4 years ago | |
.gitmodules | 4 years ago | |
buildLinux.sh | 4 years ago | |
buildWindows.cmd | 4 years ago | |
license.md | 4 years ago | |
readme.md | 4 years ago |
readme.md
Synergy Binaries
Synergy is a keyboard and mouse sharing tool for devices connected over a network. Up until version 1.8.8, binaries were freely available to download from the official project website. Since then, Synergy maintainers have decided to publish binaries behind a pay wall. However, Synergy is an open source project, and therefore anyone can build the application on their system.
This repository provides some convenience tools and documentation for building Synergy. Alternatively, one can also download the pre-compiled binaries.
Information presented here is based on the official wiki pages. Anyone attempting to build Synergy should consult the official wiki pages first.
Download Binaries
The following binaries available in the Releases section:
- Linux
AppImage
,deb
packages - Windows
MSI
installer - macOS
dmg
packages
If you can't locate a binary package for your particular distribution, try building the project yourself.
Project Structure
The following files or directories should be of interest:
File / Directory | Description |
---|---|
Binaries |
Output location for the build binaries. |
Synergy-Core |
The official Synergy Core submodule. |
Tools |
Temporary location for build tools. |
buildLinux.sh |
Shell script for building binaries in Linux Mint or Ubuntu. |
Cloning the Repository
Before you begin building Synergy, you need to recursively clone this project and its submodules:
-
Clone the repository:
git clone https://github.com/DEAKSoftware/Synergy-Binaries.git
-
Update all submodules:
cd Synergy-Binaries git submodule update --init --remote --recursive
Linux Mint / Ubuntu
Prerequisites
Install the following tools and dependencies:
sudo apt-get install \
cmake g++ libavahi-compat-libdnssd-dev \
libcurl4-openssl-dev libegl1-mesa \
libgl1-mesa-glx libqt5svg5-dev libsodium-dev \
libssl-dev libsystemd-dev libx11-dev \
make qtbase5-dev qtcreator qtdeclarative5-dev \
qttools5-dev xorg-dev
For building Debian packages:
sudo apt-get install build-essential devscripts dh-make lintian
Alternatively, consult the official wiki for installing dependencies.
Building
Run the shell script buildLinux.sh --all
to build all packages. For other options, run with the --help
switch.
Alternatively, you can opt to build the binaries only, as detailed below. We're assuming the current path is in the Synergy-Binaries
project root.
-
Create a
build
subdirectory in theSynergy-Core
submodule:cd Synergy-Core mkdir build cd build
-
Configure the project:
cmake .. -D CMAKE_BUILD_TYPE=MINSIZEREL -D SYNERGY_ENTERPRISE=ON
-
Build the project:
cmake --build . --parallel 8
-
Optional, install the application:
sudo cmake --install .
Launching Automatically
In Linux Mint we can launch synergy
client automatically via System Settings → Startup Applications, then add an entry with the command:
/usr/bin/synergyc --name ClientName --daemon #.#.#.#
Substitute the ClientName
with the local machine name, and the Synergy server IP #.#.#.#
with whatever appropriate for your set-up.
Windows
Prerequisites
-
Install the following tools and dependencies:
- Git for Windows
- CMake
- Visual Studio 2019, select the following components:
- VS 2019 C++ x64/x86 build tools
- Windows 10 SDK
- WiX Toolset, install the following components:
- WiX Toolset Build Tools
- WiX Toolset Visual Studio 2019 Extension
- Qt 5, select the following components:
- Qt 5.12.9, MSVC 2017 64-bit
Building
Run the command script buildWindows.cmd --all
to build all packages. For other options, run with the --help
switch.
Alternatively, you can opt to build the binaries only, as detailed below. We're assuming the current path is in the Synergy-Binaries
project root.
Disclaimers and Legal
DEAK Software is not the maintainer of Synergy, nor is affiliated with Symless in anyway way. Bugs or issues related to the application should be reported directly on the official Synergy GitHub page.
This project is released under the MIT License.