Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639616 - x11-misc/synergy-2.0.2 version bump
Summary: x11-misc/synergy-2.0.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL: https://github.com/symless/synergy-co...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2017-12-03 12:05 UTC by Justin
Modified: 2018-02-11 17:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
synergy 2.0.0 ebuild (synergy-2.0.0.ebuild,1.55 KB, text/plain)
2018-02-11 17:40 UTC, Emanuele A. Bagnaschi (Zephyrus)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin 2017-12-03 12:05:58 UTC
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.
Comment 1 Emanuele A. Bagnaschi (Zephyrus) 2018-02-11 17:40:15 UTC
Created attachment 519110 [details]
synergy 2.0.0 ebuild
Comment 2 Emanuele A. Bagnaschi (Zephyrus) 2018-02-11 17:42:24 UTC
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
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-11 17:55:12 UTC
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