Made client screen name editable in Synergy GUI

Just forked Synergy to make Screen Name editable in client mode:
https://github.com/mvmn/synergy

Updated Synergy GUI

I’m using Synergy a lot at work to connect work PCs with my laptop, and when I migrate from one work PC to another I want to start Synergy on that another PC with same screen name I’ve been using on previous machine (easier for me than editing my config every time).

This wasn’t possible with Synergy GUI as it was – it always defaulted to use computer’s network name as screen name. No longer!

I’ve also made a mac specific branch with the OS X 10.10 related patch and OS X 10.10 specific build script (build.sh):
https://github.com/mvmn/synergy/tree/mac

P.S. Perhaps I should do the same (i.e. make scree name editable) later for server mode, but I have no personal need for that right now.

Synergy patch for Mac

Git generated patch for Synergy mac build, changes made by instruction from https://github.com/synergy/synergy/wiki/Compiling

Posting here so I won’t have to make it by hand next time I need it.

diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py
index eff8b90..7909146 100644
--- a/ext/toolchain/commands1.py
+++ b/ext/toolchain/commands1.py
@@ -430,7 +430,7 @@ class InternalCommands:
 		if generator.cmakeName.find('Unix Makefiles') != -1:
 			cmake_args += ' -DCMAKE_BUILD_TYPE=' + target.capitalize()

-		elif sys.platform == "darwin":
+		if sys.platform == "darwin":
 			macSdkMatch = re.match("(\d+)\.(\d+)", self.macSdk)
 			if not macSdkMatch:
 				raise Exception("unknown osx version: " + self.macSdk)
@@ -767,7 +767,7 @@ class InternalCommands:

 			(qMajor, qMinor, qRev) = self.getQmakeVersion()
 			if qMajor <= 4:
-				frameworkRootDir = "/Library/Frameworks"
+				frameworkRootDir = "/usr/local/Cellar/qt/4.8.6/Frameworks"
 			else:
 				# TODO: auto-detect, qt can now be installed anywhere.
 				frameworkRootDir = "/Developer/Qt5.2.1/5.2.1/clang_64/lib"