GNOME-MouseTrap/mousetrap — pull request #51 by kevin-brown (2014-09-12 19:06:48+00:00)
Title: Windows

Copied from the original pull request at https://github.com/GNOME-MouseTrap/mousetrap/pull/44.

> Asking interested students or faculty to natively install Fedora or Ubuntu
is a tall order. Plus it would be nice to reach a wider audience.

> I got this working under Windows 8 on a Lenova Yoga laptop. Prerequisites
and instructions are in README.windows.md.

> To make it work, I had to make the following changes:

> * Disabled gettext. For whatever reason, it could not find the
.mo file. It was generated correctly, and it existed (programmatically
checked in i18n.py) but gettext still claimed it couldn't find it.

> * Downgraded version numbers for automake and autoconf. We might want to
downgrade these in the mainline too.

> * Removed USE_COMMON_DOC_BUILD flag in autogen.sh which is checked in
gnome-autogen.sh. This was triggering gnome-autogen.sh to check for a
full gnome-common enviornment, which I don't have under Windows.
Turns out that USE_COMMON_DOC_BUILD is obsolete anyway
(https://bugzilla.gnome.org/show_bug.cgi?id=729931). It should be
removed in the mainline too.

> * Added gnome-autogen.sh. This ships with the gnome-common package. I
couldn't find an easy way to install gnome-common under windows. So, I
decided to distribute it. Other ideas?

> * Changed default camera index from -1 to 0. For some reason -1 crashes
mousetrap on Windows. Unless we have a known, verified usecase for -1,
we should probably change this to 0 in the mainline too (assuming it
works Linux too).

Closes #43