always build "tupi.desktop" (not just on linux)

 to prevent FTBFS (due to missing .desktop file) on Hurd and kFreeBSD.
update ruby scripts for compatibility with ruby1.9

 to prevent FTBFS (ruby1.8 is gone), see corresponding bug:

    http://bugs.debian.org/676121
Merge pull request #1 from onlyjob/master

two FTBFS bugfixes from Debian