Missing build dependency on ImageMagick (spotted by landry@). Add x11/gnome/mime-data to run depends as well. Fix DATADIRNAME the same way the rest of the tree does.