The attached patch contains some improvements and fixes made for the Debian package of ChessX.
unix/chess-x-chess-pgn.xml can be deleted. It isn't needed for Debian anymore. I also asked on the mailing list a while ago. It is currently not correctly referenced in chessx.pro anyway.
Remove the reference to chessx-x-chess-pgn.xml from chessx.pro, together with all the other xdg-mime stuff.
Some minor improvements were made to unix/chessx.desktop.
Let chessx.pro correctly reference chessx.desktop that is in the unix subfolder and not the root directory.
Ticket moved from /p/chessx/bugs/188/
Added in svn#1639
Removed all stuff from chessx.pro which contained non-portable paths