Skip Menu |

This queue is for tickets about the X11-Protocol CPAN distribution.

Report information
The Basics
Id: 123736
Status: new
Priority: 0/
Queue: X11-Protocol

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.56
Fixed in: (no value)



Subject: Automatic installation should be possible
It should be possible to install the module automatically, without human intervention using CPAN.pm and similar installers. Problem is that CPAN.pm executes the test suite by default, and test.pl waits until somebody clicked on the test window. My first try to fix this was to create a CPAN distroprefs rule for automatically finding the test window and clicking on it, using xdotool. Unfortunately this does not work within vnc servers (see https://github.com/jordansissel/xdotool/issues/75 ).
On 2017-11-25 03:56:33, SREZIC wrote: Show quoted text
> It should be possible to install the module automatically, without > human intervention using CPAN.pm and similar installers. Problem is > that CPAN.pm executes the test suite by default, and test.pl waits > until somebody clicked on the test window. > > My first try to fix this was to create a CPAN distroprefs rule for > automatically finding the test window and clicking on it, using > xdotool. Unfortunately this does not work within vnc servers (see > https://github.com/jordansissel/xdotool/issues/75 ).
Here's a possible patch (using alarm() to wait max. 30s): http://cpan.metacpan.org/authors/id/S/SR/SREZIC/patches/X11-Protocol-0.56-RT123736.patch