This repository has been archived by the owner. It is now read-only.
Permalink
...
Comparing changes
Open a pull request
10
contributors
This comparison is big! We’re only showing the most recent
250
commits
Unified
Split
Showing
with
2,654 additions
and 3,958 deletions.
- +1 −2 .github/ISSUE_TEMPLATE.md
- +3 −0 .gitignore
- +42 −4 CMakeLists.txt
- +20 −0 ChangeLog
- BIN ext/bonjour/x64/dnssd.dll
- BIN ext/bonjour/x64/libdnssd.a
- +34 −56 ext/toolchain/commands1.py
- BIN res/banner.bmp
- BIN res/dialog.bmp
- +0 −3 res/synergy.spec.in
- +1 −1 src/CMakeLists.txt
- +4 −1 src/cmd/CMakeLists.txt
- +1 −1 src/cmd/synergyc/CMakeLists.txt
- +4 −4 src/cmd/synergyc/MSWindowsClientTaskBarReceiver.cpp
- +3 −3 src/cmd/synergyd/CMakeLists.txt
- +1 −1 src/cmd/synergyp/CMakeLists.txt
- +6 −6 src/cmd/synergyp/MSWindowsPortableTaskBarReceiver.cpp
- +1 −1 src/cmd/synergys/CMakeLists.txt
- +6 −6 src/cmd/synergys/MSWindowsServerTaskBarReceiver.cpp
- +1 −1 src/cmd/syntool/CMakeLists.txt
- +34 −18 src/gui/gui.pro
- +163 −0 src/gui/res/ActivationDialog.ui
- +89 −0 src/gui/res/CancelActivationDialog.ui
- +108 −0 src/gui/res/FailedLoginDialog.ui
- +58 −7 src/gui/res/MainWindowBase.ui
- +0 −137 src/gui/res/PluginWizardPageBase.ui
- +1 −1 src/gui/res/ServerConfigDialogBase.ui
- +4 −1 src/gui/res/SettingsDialogBase.ui
- +0 −208 src/gui/res/SetupWizardBase.ui
- +3 −1 src/gui/src/AboutDialog.cpp
- +122 −0 src/gui/src/ActivationDialog.cpp
- +35 −0 src/gui/src/ActivationDialog.h
- +20 −1 src/gui/src/ActivationNotifier.cpp
- +7 −1 src/gui/src/ActivationNotifier.h
- +118 −8 src/gui/src/AppConfig.cpp
- +60 −45 src/gui/src/AppConfig.h
- +14 −0 src/gui/src/CancelActivationDialog.cpp
- +22 −0 src/gui/src/CancelActivationDialog.h
- +18 −21 src/gui/src/CoreInterface.cpp
- +4 −4 src/gui/src/CoreInterface.h
- +15 −0 src/gui/src/FailedLoginDialog.cpp
- +23 −0 src/gui/src/FailedLoginDialog.h
- +163 −0 src/gui/src/LicenseManager.cpp
- +52 −0 src/gui/src/LicenseManager.h
- +203 −55 src/gui/src/MainWindow.cpp
- +30 −8 src/gui/src/MainWindow.h
- +0 −73 src/gui/src/Plugin.cpp
- +0 −53 src/gui/src/Plugin.h
- +0 −186 src/gui/src/PluginManager.cpp
- +0 −75 src/gui/src/PluginManager.h
- +0 −206 src/gui/src/PluginWizardPage.cpp
- +0 −66 src/gui/src/PluginWizardPage.h
- +12 −9 src/gui/src/QUtility.cpp
- +16 −12 src/gui/src/SettingsDialog.cpp
- +2 −2 src/gui/src/SettingsDialog.h
- +3 −148 src/gui/src/SetupWizard.cpp
- +0 −8 src/gui/src/SetupWizard.h
- +39 −36 src/gui/src/SslCertificate.cpp
- +0 −167 src/gui/src/SubscriptionManager.cpp
- +0 −47 src/gui/src/SubscriptionManager.h
- +4 −2 src/gui/src/VersionChecker.cpp
- +38 −54 src/gui/src/WebClient.cpp
- +5 −11 src/gui/src/WebClient.h
- +8 −5 src/gui/src/main.cpp
- +1 −2 src/lib/CMakeLists.txt
- +0 −4 src/lib/arch/Arch.h
- +0 −80 src/lib/arch/IArchPlugin.h
- +0 −1 src/lib/arch/unix/ArchInternetUnix.cpp
- +1 −1 src/lib/arch/unix/ArchMultithreadPosix.cpp
- +3 −4 src/lib/arch/unix/ArchNetworkBSD.cpp
- +0 −239 src/lib/arch/unix/ArchPluginUnix.cpp
- +0 −53 src/lib/arch/unix/ArchPluginUnix.h
- +1 −1 src/lib/arch/win32/ArchMultithreadWindows.cpp
- +1 −1 src/lib/arch/win32/ArchNetworkWinsock.cpp
- +0 −250 src/lib/arch/win32/ArchPluginWindows.cpp
- +0 −57 src/lib/arch/win32/ArchPluginWindows.h
- +19 −49 src/lib/arch/win32/ArchSystemWindows.cpp
- +12 −12 src/lib/arch/win32/ArchTaskBarWindows.cpp
- +1 −1 src/lib/arch/win32/ArchTimeWindows.cpp
- +1 −1 src/lib/base/EventQueue.cpp
- +8 −24 src/lib/client/Client.cpp
- +0 −2 src/lib/common/MacOSXPrecomp.h
- +0 −36 src/lib/common/PluginVersion.cpp
- +0 −31 src/lib/common/PluginVersion.h
- +2 −2 src/lib/io/StreamBuffer.cpp
- +1 −1 src/lib/io/StreamFilter.cpp
- +1 −1 src/lib/mt/Thread.cpp
- +19 −1 src/lib/net/CMakeLists.txt
- +1 −8 src/lib/net/IListenSocket.h
- +0 −11 src/lib/{plugin/ns → net}/SecureListenSocket.cpp
- +0 −1 src/lib/{plugin/ns → net}/SecureListenSocket.h
- 0 src/lib/{plugin/ns → net}/SecureSocket.cpp
- 0 src/lib/{plugin/ns → net}/SecureSocket.h
- +1 −0 src/lib/net/SocketMultiplexer.cpp
- +1 −1 src/lib/net/TCPListenSocket.cpp
- +0 −1 src/lib/net/TCPListenSocket.h
- +1 −1 src/lib/net/TCPSocket.cpp
- +7 −18 src/lib/net/TCPSocketFactory.cpp
- +1 −1 src/lib/platform/CMakeLists.txt
- +3 −3 src/lib/platform/MSWindowsClipboardBitmapConverter.cpp
- +1 −1 src/lib/platform/MSWindowsDesks.cpp
- +27 −7 src/lib/platform/MSWindowsScreen.cpp
- +8 −1 src/lib/platform/MSWindowsScreen.h
- +1 −1 src/lib/platform/OSXClipboard.cpp
- +1 −0 src/lib/platform/OSXKeyState.cpp
- +14 −14 src/lib/{synergy/SubscriptionKey.h → platform/OSXMediaKeySimulator.h}
- +92 −0 src/lib/platform/OSXMediaKeySimulator.m
- +2 −0 src/lib/platform/OSXScreen.h
- +4 −16 src/lib/platform/{OSXScreen.cpp → OSXScreen.mm}
- +4 −4 src/lib/platform/OSXUchrKeyResource.cpp
- +38 −35 src/lib/platform/XWindowsClipboard.cpp
- +1 −1 src/lib/platform/XWindowsKeyState.cpp
- +3 −1 src/lib/platform/XWindowsScreen.cpp
- +2 −2 src/lib/platform/XWindowsUtil.cpp
- +0 −28 src/lib/plugin/CMakeLists.txt
- +0 −128 src/lib/plugin/ns/CMakeLists.txt
- +0 −127 src/lib/plugin/ns/ns.cpp
- +0 −41 src/lib/plugin/ns/ns.h
- +0 −106 src/lib/plugin/winmmjoy/winmmjoy.cpp
- +0 −72 src/lib/plugin/winmmjoy/winmmjoy.h
- +2 −0 src/lib/server/CMakeLists.txt
- +5 −33 src/lib/server/ClientListener.cpp
- +0 −2 src/lib/server/ClientListener.h
- +4 −4 src/lib/server/InputFilter.cpp
- +53 −49 src/lib/server/Server.cpp
- +3 −2 src/lib/server/Server.h
- +9 −9 src/lib/{plugin/winmmjoy → shared}/CMakeLists.txt
- +7 −5 src/{gui/src → lib/shared}/EditionType.h
- +264 −0 src/lib/shared/SerialKey.cpp
- +84 −0 src/lib/shared/SerialKey.h
- +23 −41 src/lib/synergy/ArgParser.cpp
- +2 −13 src/lib/synergy/ClientApp.cpp
- +7 −9 src/lib/synergy/ClipboardChunk.cpp
- +1 −1 src/lib/synergy/KeyState.cpp
- +14 −14 src/lib/synergy/ProtocolUtil.cpp
- +2 −13 src/lib/synergy/ServerApp.cpp
- +1 −0 src/lib/synergy/ServerArgs.cpp
- +4 −2 src/lib/synergy/ServerArgs.h
- +1 −1 src/lib/synergy/StreamChunker.cpp
- +0 −199 src/lib/synergy/SubscriptionManager.cpp
- +0 −55 src/lib/synergy/SubscriptionManager.h
- +21 −50 src/lib/synergy/ToolApp.cpp
- +1 −1 src/lib/synergy/ToolApp.h
- +1 −5 src/lib/synergy/ToolArgs.cpp
- +1 −5 src/lib/synergy/ToolArgs.h
- +4 −8 src/lib/synergy/win32/AppUtilWindows.cpp
- +4 −0 src/lib/synwinhk/CMakeLists.txt
- +11 −11 src/lib/synwinhk/synwinhk.cpp
- +6 −3 src/setup/win32/Include.wxi
- +16 −18 src/setup/win32/Product.wxs
- +6 −5 src/setup/win32/synergy.sln
- +2 −2 src/setup/win32/synergy.wixproj
- +1 −1 src/test/integtests/CMakeLists.txt
- +39 −30 src/test/integtests/net/NetworkTests.cpp
- +1 −1 src/test/unittests/CMakeLists.txt
- +147 −0 src/test/unittests/shared/SerialKeyTests.cpp
- +2 −2 src/test/unittests/synergy/ServerArgsParsingTests.cpp
- +0 −114 src/test/unittests/synergy/SubscriptionTests.cpp
View
3
.github/ISSUE_TEMPLATE.md
| @@ -1,8 +1,7 @@ | ||
| ### Operating Systems ### | ||
| -Client: Applesoft Windy OS 10 | ||
| - | ||
| Server: microOS Tiara | ||
| +Client: Applesoft Windy OS 10 | ||
| **READ ME, DELETE ME**: On Windows, hold the Windows key and press 'r', type 'winver' and hit return to get your OS version. On Mac, hit the Apple menu (top left of the screen) and check 'About this Mac'. Linux users... you know what you're using ;) | ||
View
3
.gitignore
| @@ -1,7 +1,10 @@ | ||
| config.h | ||
| +.DS_Store | ||
| *.pyc | ||
| +*.o | ||
| *~ | ||
| \.*.swp | ||
| +*build-gui-Desktop_Qt* | ||
| /bin | ||
| /lib | ||
| /build | ||
View
46
CMakeLists.txt
| @@ -16,9 +16,9 @@ | ||
| # Version number for Synergy | ||
| set(VERSION_MAJOR 1) | ||
| -set(VERSION_MINOR 8) | ||
| -set(VERSION_REV 3) | ||
| -set(VERSION_STAGE stable) | ||
| +set(VERSION_MINOR 9) | ||
| +set(VERSION_REV 0) | ||
| +set(VERSION_STAGE beta) | ||
| set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}") | ||
| cmake_minimum_required(VERSION 2.6) | ||
| @@ -205,7 +205,10 @@ if (UNIX) | ||
| set(CMAKE_INCLUDE_PATH "${CMAKE_INCLUDE_PATH}:/usr/local/include") | ||
| set(XKBlib "X11/Xlib.h;X11/XKBlib.h") | ||
| - check_symbol_exists("XRRNotifyEvent" "${XKBlib};X11/extensions/Xrandr.h" HAVE_X11_EXTENSIONS_XRANDR_H) | ||
| + set(CMAKE_EXTRA_INCLUDE_FILES "${XKBlib};X11/extensions/Xrandr.h") | ||
| + check_type_size("XRRNotifyEvent" X11_EXTENSIONS_XRANDR_H) | ||
| + set(HAVE_X11_EXTENSIONS_XRANDR_H "${X11_EXTENSIONS_XRANDR_H}") | ||
| + set(CMAKE_EXTRA_INCLUDE_FILES) | ||
| check_include_files("${XKBlib};X11/extensions/dpms.h" HAVE_X11_EXTENSIONS_DPMS_H) | ||
| check_include_files("X11/extensions/Xinerama.h" HAVE_X11_EXTENSIONS_XINERAMA_H) | ||
| @@ -312,6 +315,7 @@ else() # not-unix | ||
| /D_WINDOWS | ||
| /D_CRT_SECURE_NO_WARNINGS | ||
| /DVERSION=\"${VERSION}\" | ||
| + /D_XKEYCHECK_H | ||
| ) | ||
| if (MSVC_VERSION EQUAL 1600) | ||
| @@ -323,6 +327,38 @@ else() # not-unix | ||
| endif() | ||
| +if (WIN32) | ||
| + if(CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
| + set(OPENSSL_PLAT_DIR openssl-win64) | ||
| + else() | ||
| + set(OPENSSL_PLAT_DIR openssl-win32) | ||
| + endif() | ||
| + set(OPENSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/inc32) | ||
| +endif() | ||
| + | ||
| +if (APPLE) | ||
| + set(OPENSSL_PLAT_DIR openssl-osx) | ||
| + set(OPENSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/include) | ||
| +endif() | ||
| + | ||
| +if (WIN32) | ||
| + set(OPENSSL_LIBS | ||
| + ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/libeay32.lib | ||
| + ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/out32dll/ssleay32.lib | ||
| + ) | ||
| +endif() | ||
| + | ||
| +if (UNIX) | ||
| + if (APPLE) | ||
| + set(OPENSSL_LIBS | ||
| + ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libssl.a | ||
| + ${CMAKE_CURRENT_SOURCE_DIR}/ext/${OPENSSL_PLAT_DIR}/libcrypto.a | ||
| + ) | ||
| + else() | ||
| + set(OPENSSL_LIBS ssl crypto) | ||
| + endif() | ||
| +endif() | ||
| + | ||
| add_subdirectory(src) | ||
| if (WIN32) | ||
| @@ -360,3 +396,5 @@ if (CONF_DOXYGEN) | ||
| configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg) | ||
| endif() | ||
| + | ||
| +option(BUILD_SERVICE "Build synergyd" ON) | ||
View
20
ChangeLog
| @@ -1,3 +1,23 @@ | ||
| +v1.8.5-stable | ||
| +============= | ||
| +Bug #5680 - Server crashes when disconnecting SSL clients | ||
| +Bug #5626 - Build fails using Xcode 8 and macOS SDK 10.12 | ||
| +Feature #5657 - Trial version support | ||
| +Feature #5707 - User upgrade statistics | ||
| + | ||
| +v1.8.4-stable | ||
| +============= | ||
| +Bug #5183 - Slowly moving the cursor has no effect on high DPI clients | ||
| +Bug #4041 - UHD/4K DPI scaling broken on Windows servers | ||
| +Bug #4420 - When XRandR adds a screen, it is inaccessible | ||
| +Bug #5603 - Activation notification depends on existence of /etc/os-release | ||
| +Bug #5624 - Update notification sometimes requests a downgrade | ||
| +Bug #5329 - Current date is shown for build date in the about dialog | ||
| +Enhancement #5617 - Remove redundant plugin infrastructure | ||
| +Enhancement #5627 - Move SSL certificate generation to main window | ||
| +Enhancement #5628 - Move SSL implementation into core binary | ||
| +Enhancement #5629 - Move activation from wizard into new dialog window | ||
| + | ||
| v1.8.3-stable | ||
| ============= | ||
| Bug #2765 - A letter appears on macOS clients when the spacebar is pressed | ||
View
BIN
ext/bonjour/x64/dnssd.dll
Binary file not shown.
View
BIN
ext/bonjour/x64/libdnssd.a
Binary file not shown.
View
90
ext/toolchain/commands1.py
| @@ -34,7 +34,7 @@ class Toolchain: | ||
| # options used by all commands | ||
| globalOptions = 'v' | ||
| - globalOptionsLong = ['no-prompts', 'verbose', 'skip-gui', 'skip-core'] | ||
| + globalOptionsLong = ['no-prompts', 'verbose', 'skip-gui', 'skip-core', 'skip-tests'] | ||
| # list of valid commands as keys. the values are optarg strings, but most | ||
| # are None for now (this is mainly for extensibility) | ||
| @@ -208,8 +208,8 @@ class InternalCommands: | ||
| qmake_cmd = 'qmake' | ||
| make_cmd = 'make' | ||
| xcodebuild_cmd = 'xcodebuild' | ||
| - w32_make_cmd = 'mingw32-make' | ||
| - w32_qt_version = '4.6.2' | ||
| + w32_make_cmd = 'nmake' | ||
| + w32_qt_version = '5.6.1' | ||
| defaultTarget = 'release' | ||
| cmake_dir = 'res' | ||
| @@ -240,6 +240,9 @@ class InternalCommands: | ||
| # by default, compile the gui | ||
| enableMakeGui = True | ||
| + | ||
| + # by default, compile the tests | ||
| + enableMakeTests = True | ||
| # by default, unknown | ||
| macSdk = None | ||
| @@ -254,13 +257,15 @@ class InternalCommands: | ||
| gmockDir = 'gmock-1.6.0' | ||
| win32_generators = { | ||
| - 1 : VisualStudioGenerator('10'), | ||
| - 2 : VisualStudioGenerator('10 Win64'), | ||
| - 3 : VisualStudioGenerator('9 2008'), | ||
| - 4 : VisualStudioGenerator('9 2008 Win64'), | ||
| - 5 : VisualStudioGenerator('8 2005'), | ||
| - 6 : VisualStudioGenerator('8 2005 Win64') | ||
| - } | ||
| + 1 : VisualStudioGenerator('14'), | ||
| + 2 : VisualStudioGenerator('14 Win64'), | ||
| + 3 : VisualStudioGenerator('10'), | ||
| + 4 : VisualStudioGenerator('10 Win64'), | ||
| + 5 : VisualStudioGenerator('9 2008'), | ||
| + 6 : VisualStudioGenerator('9 2008 Win64'), | ||
| + 7 : VisualStudioGenerator('8 2005'), | ||
| + 8 : VisualStudioGenerator('8 2005 Win64'), | ||
| + } | ||
| unix_generators = { | ||
| 1 : MakefilesGenerator(), | ||
| @@ -430,16 +435,20 @@ def configureCore(self, target="", extraArgs=""): | ||
| 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) | ||
| - sdkDir = self.getMacSdkDir() | ||
| - cmake_args += " -DCMAKE_OSX_SYSROOT=" + sdkDir | ||
| - cmake_args += " -DCMAKE_OSX_DEPLOYMENT_TARGET=" + self.macSdk | ||
| + if generator.cmakeName.find('Unix Makefiles') == -1: | ||
| + sdkDir = self.getMacSdkDir() | ||
| + cmake_args += " -DCMAKE_OSX_SYSROOT=" + sdkDir | ||
| + cmake_args += " -DCMAKE_OSX_DEPLOYMENT_TARGET=" + self.macSdk | ||
| + | ||
| cmake_args += " -DOSX_TARGET_MAJOR=" + macSdkMatch.group(1) | ||
| cmake_args += " -DOSX_TARGET_MINOR=" + macSdkMatch.group(2) | ||
| + | ||
| + cmake_args += " -DDISABLE_TESTS=" + str(int(not self.enableMakeTests)) | ||
| # if not visual studio, use parent dir | ||
| sourceDir = generator.getSourceDir() | ||
| @@ -551,6 +560,7 @@ def getMacSdkDir(self): | ||
| if os.path.exists(sdkPath): | ||
| return sdkPath | ||
| + # return os.popen('xcodebuild -version -sdk macosx' + self.macSdk + ' Path').read().strip() | ||
| return "/Developer/SDKs/" + sdkDirName + ".sdk" | ||
| # http://tinyurl.com/cs2rxxb | ||
| @@ -600,13 +610,12 @@ def persist_qmake(self): | ||
| print ( | ||
| 'Suggestions:\n' | ||
| '1. Ensure that qmake.exe exists in your system path.\n' | ||
| - '2. Try to download Qt (check our dev FAQ for links):\n' | ||
| - ' qt-sdk-win-opensource-2010.02.exe') | ||
| + '2. Try to download Qt 5.6\n') | ||
| raise Exception('Cannot continue without qmake.') | ||
| stdout, stderr = p.communicate() | ||
| if p.returncode != 0: | ||
| - raise Exception('Could not test for cmake: %s' % stderr) | ||
| + raise Exception('Could not test for qmake: %s' % stderr) | ||
| else: | ||
| m = re.search('.*Using Qt version (\d+\.\d+\.\d+).*', stdout) | ||
| if m: | ||
| @@ -741,16 +750,6 @@ def macPostGuiMake(self, target): | ||
| shutil.copy(targetDir + "/synergys", bundleBinDir) | ||
| shutil.copy(targetDir + "/syntool", bundleBinDir) | ||
| - # Copy all generated plugins to the package | ||
| - bundlePluginDir = bundleBinDir + "plugins" | ||
| - pluginDir = targetDir + "/plugins" | ||
| - print "Copying plugins dirtree: " + pluginDir | ||
| - if os.path.isdir(pluginDir): | ||
| - print "Copying to: " + bundlePluginDir | ||
| - shutil.copytree(pluginDir, bundlePluginDir) | ||
| - else: | ||
| - print "pluginDir doesn't exist, skipping" | ||
| - | ||
| self.loadConfig() | ||
| if not self.macIdentity: | ||
| raise Exception("run config with --mac-identity") | ||
| @@ -767,12 +766,7 @@ def macPostGuiMake(self, target): | ||
| if err != 0: | ||
| raise Exception(bin + " failed with error: " + str(err)) | ||
| - (qMajor, qMinor, qRev) = self.getQmakeVersion() | ||
| - if qMajor <= 4: | ||
| - frameworkRootDir = "/Library/Frameworks" | ||
| - else: | ||
| - # TODO: auto-detect, qt can now be installed anywhere. | ||
| - frameworkRootDir = "/Developer/Qt5.2.1/5.2.1/clang_64/lib" | ||
| + frameworkRootDir = commands.getoutput("qmake -query QT_INSTALL_LIBS") | ||
| target = bundleTargetDir + "/Contents/Frameworks" | ||
| @@ -899,8 +893,8 @@ def cleanCore(self, targets): | ||
| generator = self.getGeneratorFromConfig().cmakeName | ||
| if generator.startswith('Visual Studio'): | ||
| - # special case for version 10, use new /target:clean | ||
| - if generator.startswith('Visual Studio 10'): | ||
| + # special case for version 10 and above, use new /target:clean | ||
| + if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 14'): | ||
| for target in targets: | ||
| self.run_vcbuild(generator, target, self.sln_filepath(), '/target:clean') | ||
| @@ -1151,14 +1145,12 @@ def distDeb(self): | ||
| controlFile.close() | ||
| targetBin = '%s/%s/usr/bin' % (debDir, package) | ||
| - targetPlugin = '%s/%s/usr/lib/synergy/plugins' % (debDir, package) | ||
| targetShare = '%s/%s/usr/share' % (debDir, package) | ||
| targetApplications = "%s/applications" % targetShare | ||
| targetIcons = "%s/icons" % targetShare | ||
| targetDocs = "%s/doc/%s" % (targetShare, self.project) | ||
| os.makedirs(targetBin) | ||
| - os.makedirs(targetPlugin) | ||
| os.makedirs(targetApplications) | ||
| os.makedirs(targetIcons) | ||
| os.makedirs(targetDocs) | ||
| @@ -1176,17 +1168,6 @@ def distDeb(self): | ||
| if err != 0: | ||
| raise Exception('strip failed: ' + str(err)) | ||
| - pluginDir = "%s/plugins" % binDir | ||
| - | ||
| - pluginFiles = [ 'libns.so'] | ||
| - for f in pluginFiles: | ||
| - shutil.copy("%s/%s" % (pluginDir, f), targetPlugin) | ||
| - target = "%s/%s" % (targetPlugin, f) | ||
| - os.chmod(target, 0o0644) | ||
| - err = os.system("strip " + target) | ||
| - if err != 0: | ||
| - raise Exception('strip failed: ' + str(err)) | ||
| - | ||
| shutil.copy("%s/synergy.desktop" % resDir, targetApplications) | ||
| shutil.copy("%s/synergy.ico" % resDir, targetIcons) | ||
| @@ -1402,13 +1383,6 @@ def distftp(self, type, ftp): | ||
| packageTarget = filename | ||
| ftp.upload(packageSource, packageTarget) | ||
| - if type != 'src': | ||
| - pluginsDir = binDir + '/plugins' | ||
| - nsPluginSource = self.findLibraryFile(type, pluginsDir, 'ns') | ||
| - if nsPluginSource: | ||
| - nsPluginTarget = self.getLibraryDistFilename(type, pluginsDir, 'ns') | ||
| - ftp.upload(nsPluginSource, nsPluginTarget, "plugins") | ||
| - | ||
| def getLibraryDistFilename(self, type, dir, name): | ||
| (platform, packageExt, libraryExt) = self.getDistributePlatformInfo(type) | ||
| firstPart = '%s-%s-%s' % (name, self.getVersionForFilename(), platform) | ||
| @@ -1750,6 +1724,8 @@ def get_vcvarsall(self, generator): | ||
| value,type = _winreg.QueryValueEx(key, '9.0') | ||
| elif generator.startswith('Visual Studio 10'): | ||
| value,type = _winreg.QueryValueEx(key, '10.0') | ||
| + elif generator.startswith('Visual Studio 14'): | ||
| + value,type = _winreg.QueryValueEx(key, '14.0') | ||
| else: | ||
| raise Exception('Cannot determine vcvarsall.bat location for: ' + generator) | ||
| @@ -1792,7 +1768,7 @@ def run_vcbuild(self, generator, mode, solution, args='', dir='', config32='Win3 | ||
| else: | ||
| config = 'Debug' | ||
| - if generator.startswith('Visual Studio 10'): | ||
| + if generator.startswith('Visual Studio 10') or generator.startswith('Visual Studio 14'): | ||
| cmd = ('@echo off\n' | ||
| 'call "%s" %s \n' | ||
| 'cd "%s"\n' | ||
| @@ -1915,6 +1891,8 @@ def __init__(self, argv, opts, args, verbose): | ||
| self.ic.enableMakeGui = False | ||
| elif o == '--skip-core': | ||
| self.ic.enableMakeCore = False | ||
| + elif o == '--skip-tests': | ||
| + self.ic.enableMakeTests = False | ||
| elif o in ('-d', '--debug'): | ||
| self.build_targets += ['debug',] | ||
| elif o in ('-r', '--release'): | ||
View
BIN
res/banner.bmp
Binary file not shown.
View
BIN
res/dialog.bmp
Binary file not shown.
View
3
res/synergy.spec.in
| @@ -20,7 +20,6 @@ source=%{_topdir}/../.. | ||
| mkdir -p %{buildroot}/%{_datarootdir}/applications | ||
| mkdir -p %{buildroot}/%{_datarootdir}/icons | ||
| mkdir -p %{buildroot}/%{_bindir} | ||
| -mkdir -p %{buildroot}/%{_bindir}/../lib/synergy/plugins | ||
| cp $source/bin/synergy %{buildroot}%{_bindir} | ||
| cp $source/bin/synergyc %{buildroot}%{_bindir} | ||
| @@ -29,7 +28,6 @@ cp $source/bin/synergyd %{buildroot}%{_bindir} | ||
| cp $source/bin/syntool %{buildroot}%{_bindir} | ||
| cp $source/res/synergy.desktop %{buildroot}%{_datarootdir}/applications | ||
| cp $source/res/synergy.ico %{buildroot}%{_datarootdir}/icons | ||
| -cp $source/bin/plugins/* %{buildroot}%{_bindir}/../lib/synergy/plugins | ||
| %files | ||
| %defattr(755,root,root,-) | ||
| @@ -40,7 +38,6 @@ cp $source/bin/plugins/* %{buildroot}%{_bindir}/../lib/synergy/plugins | ||
| %{_bindir}/syntool | ||
| %attr(644,-,-) %{_datarootdir}/applications/synergy.desktop | ||
| %attr(644,-,-) %{_datarootdir}/icons/synergy.ico | ||
| -%attr(644,-,-) %{_bindir}/../lib/synergy/plugins/* | ||
| %changelog | ||
| * Thu Mar 20 2014 Nick Bolton <nick@symless.com> | ||
View
2
src/CMakeLists.txt
| @@ -18,6 +18,6 @@ add_subdirectory(lib) | ||
| add_subdirectory(cmd) | ||
| add_subdirectory(micro) | ||
| -if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX") | ||
| +if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX") AND (NOT ${DISABLE_TESTS})) | ||
| add_subdirectory(test) | ||
| endif() | ||
View
5
src/cmd/CMakeLists.txt
| @@ -16,10 +16,13 @@ | ||
| add_subdirectory(synergyc) | ||
| add_subdirectory(synergys) | ||
| -add_subdirectory(synergyd) | ||
| add_subdirectory(usynergy) | ||
| add_subdirectory(syntool) | ||
| +if (BUILD_SERVICE) | ||
| + add_subdirectory(synergyd) | ||
| +endif (BUILD_SERVICE) | ||
| + | ||
| if (WIN32) | ||
| add_subdirectory(synergyp) | ||
| endif() | ||
View
2
src/cmd/synergyc/CMakeLists.txt
| @@ -58,7 +58,7 @@ endif() | ||
| add_executable(synergyc ${sources}) | ||
| target_link_libraries(synergyc | ||
| - arch base client common io mt net ipc platform server synergy ${libs}) | ||
| + arch base client common io mt net ipc platform server synergy ${libs} ${OPENSSL_LIBS}) | ||
| if (CONF_CPACK) | ||
| install(TARGETS | ||
Oops, something went wrong.