Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - synergy-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: synergy-git 20161212.r2821.ade4b7f8-1

Git Clone URL: https://aur-dev.archlinux.org/synergy-git.git (read-only)
Package Base: synergy-git
Description: Share a single mouse and keyboard between multiple computers
Upstream URL: http://synergy-foss.org
Licenses: GPL2
Conflicts: synergy
Provides: synergy
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 14
Popularity: 2.057545
First Submitted: 2015-07-07 19:22
Last Updated: 2016-12-30 05:01

Latest Comments

prurigro commented on 2016-08-09 20:33

@Flat: Looks like they fixed that issue upstream- thanks for pointing out!

Flat commented on 2016-08-09 16:48

Doesn't compile for me unless I remove the patch line in prepare()

sirgreiser commented on 2015-10-15 10:15


Maybe this information is outdated.
I had a problem installing this package in Manjaro distro.
Problem also was with manual installation.

After discussing this problem with Synergy team found that the issue is Qt version.
As I see in dependencies we have Qt5 and it have to be Qt4 (qmake <= 2.01a)

Anyway, I was able to manually compile synergy with the following:

# pacman -Ql | grep qmake | grep bin
qt4 /usr/bin/qmake-qt4
qt4 /usr/lib/qt4/bin/qmake
qt5-base /usr/bin/qmake-qt5
qt5-base /usr/lib/qt/bin/qmake
qtchooser /usr/bin/qmake

/root/synergy-v1.7.4-rc8-c734bab-Source:# QT_SELECT=4 python2.7 hm.py conf -g1
Mapping command: conf -> configure
Running setup...
Setup complete.
cmake version 3.3.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Creating dir: build/release
Entering dir: build/release
CMake command: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../..
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Build files have been written to: /root/synergy-v1.7.4-rc8-c734bab-Source/build/release
Going back to: /root/synergy-v1.7.4-rc8-c734bab-Source
QMake command: qmake gui.pro -r
Entering dir: src/gui
Going back to: /root/synergy-v1.7.4-rc8-c734bab-Source

# QT_SELECT=4 python2.7 hm.py build
Entering dir: build/release
Scanning dependencies of target arch
[ 0%] Building CXX object src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o
[100%] Building CXX object src/test/unittests/CMakeFiles/unittests.dir/__/global/TestEventQueue.cpp.o
[100%] Linking CXX executable ../../../../../bin/unittests
[100%] Built target unittests
Going back to: /root/synergy-v1.7.4-rc8-c734bab-Source
Make GUI command: make -w
Entering dir: src/gui
make: Entering directory '/root/synergy-v1.7.4-rc8-c734bab-Source/src/gui'
/usr/lib/qt4/bin/uic res/MainWindowBase.ui -o ui_MainWindowBase.h
make: Leaving directory '/root/synergy-v1.7.4-rc8-c734bab-Source/src/gui'
Going back to: /root/synergy-v1.7.4-rc8-c734bab-Source

#synergyc --version
synergyc 1.7.4, protocol version 1.6
Copyright (C) 2012-2014 Synergy Si Ltd.
Copyright (C) 2008-2014 Nick Bolton
Copyright (C) 2002-2014 Chris Schoeneman
synergyc: a server address or name is required
Try `synergyc --help' for more information.


Nefelim4ag commented on 2015-09-07 14:31

i think this is can be usefull
# synergys_at.service
- After=network.target
+ After=network.target user@%i.service

prurigro commented on 2015-07-27 20:52

I just updated the package to include the patch from this pull request: https://github.com/synergy/synergy/pull/4881 (thanks mfrischknecht!)

Talion commented on 2015-07-24 17:11

Package fails to build with following errors:

In file included from src/CommandProcess.cpp:18:0:
src/CommandProcess.h:24:1: error: expected class-name before ‘{’ token
src/CommandProcess.h:25:2: error: ‘Q_OBJECT’ does not name a type
src/CommandProcess.h:30:1: error: ‘signals’ does not name a type
src/CommandProcess.h:33:8: error: expected ‘:’ before ‘slots’
public slots:
src/CommandProcess.h:33:8: error: ‘slots’ does not name a type
src/CommandProcess.cpp:22:1: error: prototype for ‘CommandProcess::CommandProcess(QString, QStringList)’ does not match any in class ‘CommandProcess’
CommandProcess::CommandProcess(QString cmd, QStringList arguments) :
In file included from src/CommandProcess.cpp:18:0:
src/CommandProcess.h:23:7: error: candidates are: CommandProcess::CommandProcess(const CommandProcess&)
class CommandProcess : public QObject
src/CommandProcess.h:23:7: error: CommandProcess::CommandProcess()
src/CommandProcess.cpp:28:26: error: no ‘void CommandProcess::run()’ member function declared in class ‘CommandProcess’
void CommandProcess::run()
Makefile:1367: recipe for target 'tmp/release/CommandProcess.o' failed
make: *** [tmp/release/CommandProcess.o] Error 1