Barrier
Версия от 11:29, 26 сентября 2020; Avp (обсуждение | вклад)
Barrier -- open-source форк Synergy, программного KVM.
Репозиторий: https://github.com/debauchee/barrier
ALT Education 9.1
$ sudo apt-get install cmake libavahi-devel libXtst-devel libqt5-core qt5-base-common libssl-devel $ git clone https://github.com/debauchee/barrier.git $ cd barrier $ git checkout v2.0.0 $ git submodule init $ git submodule update $ sudo ln -s /usr/include/avahi-compat-libdns_sd/dns_sd.h /usr/include/ $ ./clean_build.sh $ cd build $ sudo make install
Патч для исходников:
diff --git a/src/gui/src/ActionDialog.cpp b/src/gui/src/ActionDialog.cpp index e824ea3c..0ae52988 100644 --- a/src/gui/src/ActionDialog.cpp +++ b/src/gui/src/ActionDialog.cpp @@ -23,6 +23,7 @@ #include "ServerConfig.h" #include "KeySequence.h" +#include <QButtonGroup> #include <QtCore> #include <QtGui> diff --git a/src/gui/src/ScreenSetupView.cpp b/src/gui/src/ScreenSetupView.cpp index e42ae17e..8e082099 100644 --- a/src/gui/src/ScreenSetupView.cpp +++ b/src/gui/src/ScreenSetupView.cpp @@ -20,6 +20,7 @@ #include "ScreenSetupModel.h" #include "ScreenSettingsDialog.h" +#include <QHeaderView> #include <QtCore> #include <QtGui>
Патч для Qt:
--- /root/Qt5CoreConfigExtras.cmake 2020-09-26 09:41:49.846442283 +0300 +++ /usr/lib64/cmake/Qt5Core/Qt5CoreConfigExtras.cmake 2020-09-26 10:01:28.606705751 +0300 @@ -47,7 +47,11 @@ include("${CMAKE_CURRENT_LIST_DIR}/Qt5CoreConfigExtrasMkspecDir.cmake") foreach(_dir ${_qt5_corelib_extra_includes}) - _qt5_Core_check_file_exists(${_dir}) + get_filename_component(absolute_path ${_dir} ABSOLUTE) + _qt5_Core_check_file_exists(${absolute_path}) + list(REMOVE_ITEM _qt5_corelib_extra_includes ${_dir}) + list(APPEND _qt5_corelib_extra_includes_absolute_paths + ${absolute_path}) endforeach() list(APPEND Qt5Core_INCLUDE_DIRS ${_qt5_corelib_extra_includes})