Synergy 2 was released in November. The current version is 2.0.2 and is not backwards compatible with Synergy 1. It's also according to Nick Bolton of the Synergy Team "partially closed source" because the GUI code is not open source. So in theory making a Gentoo ebuild for Synergy 2 that is CLI only (Which is now called Synergy Core) should be similar to how the Synergy 1 ebuilds work now. To have an ebuild that supports the binary version of Synergy 2 with a GUI would be more tricky as currently the only way to get the binary is to login to symless.com after buying Synergy 2 and downloading a version for Debian, Red Hat/Fedora or Ubuntu.
Created attachment 519110 [details] synergy 2.0.0 ebuild
Well, I was in dire need of testing the most recent version, since 1.8.8 is continuously crashing/freezing with my two-screen setup and I cooked up an ebuild for synergy-core 2.0.0 -- I still can not say if the situation has improved -- I post it here if anyone is interested. The ebuild is still called 'synergy' to allow for a direct upgrade path, however I imagine that in the future one might want both synergy-core and synergy-gui ebuilds. The ebuild itself is based on the one for 1.8.8, from which I removed all the qt4 part (since the GUI is not there any more), I added one argument to cmake to specify the short hash of the git commit (otherwise it would not complete the cmake configure-step) and finally I had to modify the dobin since the binaries seems not be copied any more to the bin/ directory in the source tree. Moreover I had to remove the README from the docs since it is not shipped in the source. I have not had the time to port the patches, since on the one side I see no issue with the linking to pthread (the patch was for a fairly ancient version) and on the other hand I left the RESTRICT'ed test setup, which was in the 1.8.8 ebuild. Note that now there is a third executable, synergy-core, which is the one suppose to be used (either by calling it with --server or with --client). Cheers
Thanks for the ebuild. It went in with some small changes. commit 7efeea22dd018e78a0e3df6a3787d46491cf82db (HEAD -> master) Author: Jeroen Roovers <jer@gentoo.org> Date: Sun Feb 11 18:54:16 2018 +0100 x11-misc/synergy: Version 2.0.0 (bug #639616). Package-Manager: Portage-2.3.24, Repoman-2.3.6