Merge branch 'v1.9' into v1.9-bidir
This commit is contained in:
commit
7b19ac89a1
|
@ -17,9 +17,9 @@
|
||||||
cmake_minimum_required (VERSION 3.4)
|
cmake_minimum_required (VERSION 3.4)
|
||||||
project (synergy C CXX)
|
project (synergy C CXX)
|
||||||
|
|
||||||
option (SYNERGY_BUILD_LEGACY_GUI "Build the legacy GUI (synergy)" ON)
|
option (SYNERGY_BUILD_LEGACY_GUI "Build the legacy GUI" ON)
|
||||||
option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON)
|
option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON)
|
||||||
option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the installer" ON)
|
option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the legacy installer" ON)
|
||||||
|
|
||||||
set (CMAKE_CXX_STANDARD 14)
|
set (CMAKE_CXX_STANDARD 14)
|
||||||
set (CMAKE_CXX_EXTENSIONS OFF)
|
set (CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
@ -34,13 +34,12 @@ endif()
|
||||||
#
|
#
|
||||||
# Version
|
# Version
|
||||||
#
|
#
|
||||||
# NOTE: We follow 'Semantic Versioning' now: http://semver.org/
|
|
||||||
|
|
||||||
if (NOT DEFINED SYNERGY_VERSION_MAJOR)
|
if (NOT DEFINED SYNERGY_VERSION_MAJOR)
|
||||||
if (DEFINED ENV{SYNERGY_VERSION_MAJOR})
|
if (DEFINED ENV{SYNERGY_VERSION_MAJOR})
|
||||||
set (SYNERGY_VERSION_MAJOR $ENV{SYNERGY_VERSION_MAJOR})
|
set (SYNERGY_VERSION_MAJOR $ENV{SYNERGY_VERSION_MAJOR})
|
||||||
else()
|
else()
|
||||||
set (SYNERGY_VERSION_MAJOR 1)
|
set (SYNERGY_VERSION_MAJOR 1)
|
||||||
|
set (SYNERGY_VERSION_WARNED 1)
|
||||||
message (WARNING "SYNERGY_VERSION_MAJOR not set. Defaulted to ${SYNERGY_VERSION_MAJOR}")
|
message (WARNING "SYNERGY_VERSION_MAJOR not set. Defaulted to ${SYNERGY_VERSION_MAJOR}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -50,7 +49,10 @@ if (NOT DEFINED SYNERGY_VERSION_MINOR)
|
||||||
set (SYNERGY_VERSION_MINOR $ENV{SYNERGY_VERSION_MINOR})
|
set (SYNERGY_VERSION_MINOR $ENV{SYNERGY_VERSION_MINOR})
|
||||||
else()
|
else()
|
||||||
set (SYNERGY_VERSION_MINOR 9)
|
set (SYNERGY_VERSION_MINOR 9)
|
||||||
message (WARNING "(SYNERGY_VERSION_MINOR not set. Defaulted to ${SYNERGY_VERSION_MINOR}")
|
if (NOT ${SYNERGY_VERSION_WARNED})
|
||||||
|
set (SYNERGY_VERSION_WARNED 1)
|
||||||
|
message (WARNING "(SYNERGY_VERSION_MINOR not set. Defaulted to ${SYNERGY_VERSION_MINOR}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -59,7 +61,10 @@ if (NOT DEFINED SYNERGY_VERSION_PATCH)
|
||||||
set (SYNERGY_VERSION_PATCH $ENV{SYNERGY_VERSION_PATCH})
|
set (SYNERGY_VERSION_PATCH $ENV{SYNERGY_VERSION_PATCH})
|
||||||
else()
|
else()
|
||||||
set (SYNERGY_VERSION_PATCH 0)
|
set (SYNERGY_VERSION_PATCH 0)
|
||||||
message (WARNING "SYNERGY_VERSION_PATCH not set. Defaulted to ${SYNERGY_VERSION_PATCH}")
|
if (NOT ${SYNERGY_VERSION_WARNED})
|
||||||
|
set (SYNERGY_VERSION_WARNED 1)
|
||||||
|
message (WARNING "SYNERGY_VERSION_PATCH not set. Defaulted to ${SYNERGY_VERSION_PATCH}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -68,15 +73,54 @@ if (NOT DEFINED SYNERGY_VERSION_STAGE)
|
||||||
set (SYNERGY_VERSION_STAGE $ENV{SYNERGY_VERSION_STAGE})
|
set (SYNERGY_VERSION_STAGE $ENV{SYNERGY_VERSION_STAGE})
|
||||||
else()
|
else()
|
||||||
set (SYNERGY_VERSION_STAGE "git")
|
set (SYNERGY_VERSION_STAGE "git")
|
||||||
message (WARNING "SYNERGY_VERSION_STAGE not set. Defaulted to ${SYNERGY_VERSION_STAGE}")
|
if (NOT ${SYNERGY_VERSION_WARNED})
|
||||||
|
set (SYNERGY_VERSION_WARNED 1)
|
||||||
|
message (WARNING "SYNERGY_VERSION_STAGE not set. Defaulted to '${SYNERGY_VERSION_STAGE}'")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if ((NOT DEFINED SYNERGY_REVISION) AND (DEFINED ENV{SYNERGY_REVISION}))
|
if (NOT DEFINED SYNERGY_REVISION)
|
||||||
set (SYNERGY_REVISION $ENV{SYNERGY_REVISION})
|
if (DEFINED ENV{GIT_COMMIT})
|
||||||
|
string (SUBSTRING $ENV{GIT_COMMIT} 0 8 SYNERGY_REVISION)
|
||||||
|
elseif (SYNERGY_VERSION_STAGE STREQUAL "git")
|
||||||
|
execute_process (
|
||||||
|
COMMAND git rev-parse --short=8 HEAD
|
||||||
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
|
OUTPUT_VARIABLE SYNERGY_REVISION
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (DEFINED SYNERGY_REVISION)
|
||||||
|
string(LENGTH ${SYNERGY_REVISION} SYNERGY_REVISION_LENGTH)
|
||||||
|
if (NOT ((SYNERGY_REVISION MATCHES "^[a-f0-9]+") AND (SYNERGY_REVISION_LENGTH EQUAL "8")))
|
||||||
|
message (FATAL_ERROR "SYNERGY_REVISION='${SYNERGY_REVISION}' should be a short git commit hash")
|
||||||
|
endif()
|
||||||
|
unset (SYNERGY_REVISION_LENGTH)
|
||||||
|
else()
|
||||||
|
|
||||||
|
endif()
|
||||||
|
if (DEFINED ENV{BUILD_NUMBER})
|
||||||
|
set (SYNERGY_BUILD_NUMBER $ENV{BUILD_NUMBER})
|
||||||
|
else()
|
||||||
|
set (SYNERGY_BUILD_NUMBER 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
|
||||||
|
|
||||||
|
if (SYNERGY_VERSION_STAGE STREQUAL "git")
|
||||||
|
set (SYNERGY_SNAPSHOT_INFO "${SYNERGY_BUILD_DATE}.${SYNERGY_REVISION}")
|
||||||
|
set (SYNERGY_VERSION_TAG "b${SYNERGY_BUILD_DATE}-${SYNERGY_REVISION}")
|
||||||
|
else()
|
||||||
|
set (SYNERGY_SNAPSHOT_INFO "")
|
||||||
|
set (SYNERGY_VERSION_TAG "${SYNERGY_VERSION_STAGE}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set (SYNERGY_VERSION "${SYNERGY_VERSION_MAJOR}.${SYNERGY_VERSION_MINOR}.${SYNERGY_VERSION_PATCH}")
|
set (SYNERGY_VERSION "${SYNERGY_VERSION_MAJOR}.${SYNERGY_VERSION_MINOR}.${SYNERGY_VERSION_PATCH}")
|
||||||
|
set (SYNERGY_VERSION_STRING "${SYNERGY_VERSION}-${SYNERGY_VERSION_TAG}")
|
||||||
|
message (STATUS "Full Synergy version string is " ${SYNERGY_VERSION_STRING})
|
||||||
|
|
||||||
# TODO: Find out why we need these, and remove them
|
# TODO: Find out why we need these, and remove them
|
||||||
if (COMMAND cmake_policy)
|
if (COMMAND cmake_policy)
|
||||||
|
@ -415,6 +459,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
message (STATUS "NOT configuring the v1 installer")
|
message (STATUS "NOT configuring the v1 installer")
|
||||||
endif()
|
endif()
|
||||||
add_subdirectory (src)
|
add_subdirectory (src)
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
v1.9.0-beta2
|
v1.9.0-rc3
|
||||||
|
============
|
||||||
|
Bug #4132 - Laggy mouse cursor on macOS clients
|
||||||
|
|
||||||
|
v1.9.0-rc2
|
||||||
===========
|
===========
|
||||||
Bug #5901 - Stored serial key corrupted on macOS
|
Bug #5901 - Stored serial key corrupted on macOS
|
||||||
Bug #5757 - Failure to build against OpenSSL v1.1.0
|
Bug #5757 - Failure to build against OpenSSL v1.1.0
|
||||||
|
|
||||||
v1.9.0-beta1
|
v1.9.0-rc1
|
||||||
==========
|
==========
|
||||||
Bug #5467 - Failing to automatically download and install Bonjour
|
Bug #5467 - Failing to automatically download and install Bonjour
|
||||||
Enhancement #5389 - Ported GUI to Qt 5
|
Enhancement #5389 - Ported GUI to Qt 5
|
||||||
|
|
|
@ -10,11 +10,7 @@ Architecture: amd64
|
||||||
Section: utils
|
Section: utils
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Depends: ${shlibs:Depends},
|
Depends: ${shlibs:Depends},
|
||||||
${misc:Depends},
|
${misc:Depends}
|
||||||
qml-module-qtquick-controls (>= 5.0.2),
|
|
||||||
qml-module-qtquick-layouts (>= 5.0.2),
|
|
||||||
qml-module-qtquick-dialogs (>= 5.0.2),
|
|
||||||
qml-module-qtquick2 (>= 5.0.2)
|
|
||||||
Description: Keyboard and mouse sharing solution
|
Description: Keyboard and mouse sharing solution
|
||||||
Synergy allows you to share one mouse and keyboard between multiple computers.
|
Synergy allows you to share one mouse and keyboard between multiple computers.
|
||||||
Work seamlessly across Windows, macOS and Linux.
|
Work seamlessly across Windows, macOS and Linux.
|
||||||
|
|
|
@ -7,7 +7,7 @@ Source: https://symless.com/synergy/downloads
|
||||||
Vendor: Symless
|
Vendor: Symless
|
||||||
Packager: Symless <engineering@symless.com>
|
Packager: Symless <engineering@symless.com>
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Release: 1
|
Release: @SYNERGY_BUILD_NUMBER@.@SYNERGY_SNAPSHOT_INFO@%{?dist}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Synergy allows you to share one mouse and keyboard between multiple computers.
|
Synergy allows you to share one mouse and keyboard between multiple computers.
|
||||||
|
|
|
@ -32,7 +32,10 @@
|
||||||
|
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
#include <cstdlib>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class QThreadImpl : public QThread
|
class QThreadImpl : public QThread
|
||||||
|
@ -52,6 +55,10 @@ bool checkMacAssistiveDevices();
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
/* Workaround for QTBUG-40332 - "High ping when QNetworkAccessManager is instantiated" */
|
||||||
|
::setenv ("QT_BEARER_POLL_TIMEOUT", "-1", 1);
|
||||||
|
#endif
|
||||||
QCoreApplication::setOrganizationName("Synergy");
|
QCoreApplication::setOrganizationName("Synergy");
|
||||||
QCoreApplication::setOrganizationDomain("http://symless.com/");
|
QCoreApplication::setOrganizationDomain("http://symless.com/");
|
||||||
QCoreApplication::setApplicationName("Synergy");
|
QCoreApplication::setApplicationName("Synergy");
|
||||||
|
|
Loading…
Reference in New Issue