@krazedkrish & macario:
Platform must be `arch=('i686' 'x86_64')` in the PKGBUILD because we must build the x2x binary on each system. `arch=('any')` only works when you have scripts (e.g. Python, Perl) that are platform independent. Hope that clarifies the purpose of the `arch` variable.
As for your problem, it seems to be an upstream problem. See, this <https://github.com/dottedmag/x2x/issues/9>. I'm not sure if there is a fix, but if you find one, please do let us know.
The problem with x2x is it's getting old and updates are far and few in between. With the upcoming switch to wayland, I fear the problems are only going to increase. I'm thinking about starting a new project that does much of the same thing as x2x, but using GDK as a higher level abstraction to interact with the display server.
Search Criteria
Package Details: x2x-git git-1
Package Actions
| Package Base: | x2x-git |
|---|---|
| Description: | Allows the keyboard, mouse on one X display to be used to control another X display. |
| Upstream URL: | https://github.com/dottedmag/x2x |
| Category: | x11 |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | Jashandeep-Sohi |
| Maintainer: | Jashandeep-Sohi |
| Last Packager: | Jashandeep-Sohi |
| Votes: | 11 |
| First Submitted: | 2012-12-31 08:41 |
| Last Updated: | 2015-01-15 02:03 |
Latest Comments
Comment by Jashandeep-Sohi
Comment by krazedkrish
I am using x64 arch, mouse is working but keyboard is not. May be the problem is same as that of @macario's.
Comment by olivervbk
Should add autoconf and automake packages to makedepends.
Comment by bkuri
extra/libxtst should be added as a dependency IMHO.
Comment by Freso
https://github.com/barak/x2x seems to currently be the most recent repository: https://github.com/dottedmag/x2x/network
Comment by macario
I could build package in Raspberry Pi, mouse is working but keyboard is not. Maybe platform should be any.
Comment by Jashandeep-Sohi
Sorry for the silly mistake. Forgot to remove comment :0
Should be working now.
Comment by pedromj
This package does not build properly, just LICENSE is found inside the package.
Comment by Jashandeep-Sohi
Updated. Using a forked repository from https://github.com/barak/x2x which fixes some install bugs.
I will change the repo back, as soon as the fixes are merged. Until then, this repo shall be used.
Comment by chneukirchen
==> Starting build...
Cloning into '/tmp/packerbuild-1000/x2x-git/x2x-git/src/x2x-build'...
done.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
configure.ac:12: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:12: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
==> ERROR: A failure occurred in build().