It seems that the Arch repository now provides Enigma only, with no LateralGM. Due to this, I've been unable to update the package for some time, as Pacman reported a missing dependency. But today I decided to try and update. To do it, I had to:
1) Uninstall enigma-dev-svn.
2) Install
this.
3) Reinstall enigma-dev-svn.
4) cp /usr/share/java/lateralgm/lateralgm.jar to /opt/enigma.
5) And finally, chmod +x /usr/bin/lateralgm.
Now the thing seems to work, though I haven't tested much.
This process could, and I think it should, be a little more automatic.
And by the way, both lateralgm-svn (the AUR package) and enigma-dev-svn provide a different /usr/bin/lateralgm. The one that works best is the one provided by enigma-dev-svn, but I think it could use a small optimization. The file currently looks like this:
#!/bin/bash
# NOTE: forces Java into English locale because it breaks ENIGMA otherwise
PREVIOUS_DIR=`pwd`
cd /opt/enigma
LC_ALL=en_US.UTF-8 java -jar lateralgm.jar $@
cd $PREVIOUS_DIR
If I'm not mistaken, all scripts run on their own subshell, so the last line and the PREVIOUS_DIR variable aren't necessary.
And even if I'm mistaken, I think PREVIOUS_DIR is still not necessary, as you can use OLDPWD.
That's all, thanks.